Class SourceGcsBucket.Builder (0.9.0)

public static final class SourceGcsBucket.Builder extends GeneratedMessageV3.Builder<SourceGcsBucket.Builder> implements SourceGcsBucketOrBuilder

Google Cloud Storage as a source.

Protobuf type google.cloud.parallelstore.v1beta.SourceGcsBucket

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public SourceGcsBucket.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
SourceGcsBucket.Builder
Overrides

build()

public SourceGcsBucket build()
Returns
Type Description
SourceGcsBucket

buildPartial()

public SourceGcsBucket buildPartial()
Returns
Type Description
SourceGcsBucket

clear()

public SourceGcsBucket.Builder clear()
Returns
Type Description
SourceGcsBucket.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public SourceGcsBucket.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
SourceGcsBucket.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public SourceGcsBucket.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
SourceGcsBucket.Builder
Overrides

clearUri()

public SourceGcsBucket.Builder clearUri()

Required. URI to a Cloud Storage object in format: 'gs://<bucket_name>/<path_inside_bucket>'.

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

Returns
Type Description
SourceGcsBucket.Builder

This builder for chaining.

clone()

public SourceGcsBucket.Builder clone()
Returns
Type Description
SourceGcsBucket.Builder
Overrides

getDefaultInstanceForType()

public SourceGcsBucket getDefaultInstanceForType()
Returns
Type Description
SourceGcsBucket

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getUri()

public String getUri()

Required. URI to a Cloud Storage object in format: 'gs://<bucket_name>/<path_inside_bucket>'.

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

Returns
Type Description
String

The uri.

getUriBytes()

public ByteString getUriBytes()

Required. URI to a Cloud Storage object in format: 'gs://<bucket_name>/<path_inside_bucket>'.

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

Returns
Type Description
ByteString

The bytes for uri.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(SourceGcsBucket other)

public SourceGcsBucket.Builder mergeFrom(SourceGcsBucket other)
Parameter
Name Description
other SourceGcsBucket
Returns
Type Description
SourceGcsBucket.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public SourceGcsBucket.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SourceGcsBucket.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public SourceGcsBucket.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
SourceGcsBucket.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final SourceGcsBucket.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
SourceGcsBucket.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public SourceGcsBucket.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
SourceGcsBucket.Builder
Overrides

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

public SourceGcsBucket.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
SourceGcsBucket.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final SourceGcsBucket.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
SourceGcsBucket.Builder
Overrides

setUri(String value)

public SourceGcsBucket.Builder setUri(String value)

Required. URI to a Cloud Storage object in format: 'gs://<bucket_name>/<path_inside_bucket>'.

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)

public SourceGcsBucket.Builder setUriBytes(ByteString value)

Required. URI to a Cloud Storage object in format: 'gs://<bucket_name>/<path_inside_bucket>'.

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.