Class DestinationGcsBucket.Builder (0.9.0)

public static final class DestinationGcsBucket.Builder extends GeneratedMessageV3.Builder<DestinationGcsBucket.Builder> implements DestinationGcsBucketOrBuilder

Google Cloud Storage as a destination.

Protobuf type google.cloud.parallelstore.v1beta.DestinationGcsBucket

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public DestinationGcsBucket build()
Returns
Type Description
DestinationGcsBucket

buildPartial()

public DestinationGcsBucket buildPartial()
Returns
Type Description
DestinationGcsBucket

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearUri()

public DestinationGcsBucket.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
DestinationGcsBucket.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public DestinationGcsBucket getDefaultInstanceForType()
Returns
Type Description
DestinationGcsBucket

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(DestinationGcsBucket other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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

setUri(String value)

public DestinationGcsBucket.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
DestinationGcsBucket.Builder

This builder for chaining.

setUriBytes(ByteString value)

public DestinationGcsBucket.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
DestinationGcsBucket.Builder

This builder for chaining.