Class SourceGcsBucket.Builder (0.18.0)

publicstaticfinalclass SourceGcsBucket.BuilderextendsGeneratedMessageV3.Builder<SourceGcsBucket.Builder>implementsSourceGcsBucketOrBuilder

Cloud Storage as the source of a data transfer.

Protobuf type google.cloud.parallelstore.v1.SourceGcsBucket

Inherited Members

com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)

Static Methods

getDescriptor()

publicstaticfinalDescriptors.DescriptorgetDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

publicSourceGcsBucket.BuilderaddRepeatedField(Descriptors.FieldDescriptorfield,Objectvalue)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
SourceGcsBucket.Builder
Overrides

build()

publicSourceGcsBucketbuild()
Returns
Type Description
SourceGcsBucket

buildPartial()

publicSourceGcsBucketbuildPartial()
Returns
Type Description
SourceGcsBucket

clear()

publicSourceGcsBucket.Builderclear()
Returns
Type Description
SourceGcsBucket.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

publicSourceGcsBucket.BuilderclearField(Descriptors.FieldDescriptorfield)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
SourceGcsBucket.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

publicSourceGcsBucket.BuilderclearOneof(Descriptors.OneofDescriptoroneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
SourceGcsBucket.Builder
Overrides

clearUri()

publicSourceGcsBucket.BuilderclearUri()

Required. URI to a Cloud Storage bucket in the format: gs://<bucket_name>/<path_inside_bucket>. The path inside the bucket is optional.

string uri = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
SourceGcsBucket.Builder

This builder for chaining.

clone()

publicSourceGcsBucket.Builderclone()
Returns
Type Description
SourceGcsBucket.Builder
Overrides

getDefaultInstanceForType()

publicSourceGcsBucketgetDefaultInstanceForType()
Returns
Type Description
SourceGcsBucket

getDescriptorForType()

publicDescriptors.DescriptorgetDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getUri()

publicStringgetUri()

Required. URI to a Cloud Storage bucket in the format: gs://<bucket_name>/<path_inside_bucket>. The path inside the bucket is optional.

string uri = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The uri.

getUriBytes()

publicByteStringgetUriBytes()

Required. URI to a Cloud Storage bucket in the format: gs://<bucket_name>/<path_inside_bucket>. The path inside the bucket is optional.

string uri = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for uri.

internalGetFieldAccessorTable()

protectedGeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

publicfinalbooleanisInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(SourceGcsBucket other)

publicSourceGcsBucket.BuildermergeFrom(SourceGcsBucketother)
Parameter
Name Description
other SourceGcsBucket
Returns
Type Description
SourceGcsBucket.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

publicSourceGcsBucket.BuildermergeFrom(CodedInputStreaminput,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SourceGcsBucket.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

publicSourceGcsBucket.BuildermergeFrom(Messageother)
Parameter
Name Description
other Message
Returns
Type Description
SourceGcsBucket.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

publicfinalSourceGcsBucket.BuildermergeUnknownFields(UnknownFieldSetunknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
SourceGcsBucket.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

publicSourceGcsBucket.BuildersetField(Descriptors.FieldDescriptorfield,Objectvalue)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
SourceGcsBucket.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

publicSourceGcsBucket.BuildersetRepeatedField(Descriptors.FieldDescriptorfield,intindex,Objectvalue)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
SourceGcsBucket.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

publicfinalSourceGcsBucket.BuildersetUnknownFields(UnknownFieldSetunknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
SourceGcsBucket.Builder
Overrides

setUri(String value)

publicSourceGcsBucket.BuildersetUri(Stringvalue)

Required. URI to a Cloud Storage bucket in the format: gs://<bucket_name>/<path_inside_bucket>. The path inside the bucket is optional.

string uri = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value String

The uri to set.

Returns
Type Description
SourceGcsBucket.Builder

This builder for chaining.

setUriBytes(ByteString value)

publicSourceGcsBucket.BuildersetUriBytes(ByteStringvalue)

Required. URI to a Cloud Storage bucket in the format: gs://<bucket_name>/<path_inside_bucket>. The path inside the bucket is optional.

string uri = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value ByteString

The bytes for uri to set.

Returns
Type Description
SourceGcsBucket.Builder

This builder for chaining.

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年10月30日 UTC.