Class DestinationGcsBucket.Builder (0.46.0)

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

Cloud Storage as the destination of a data transfer.

Protobuf type google.cloud.parallelstore.v1beta.DestinationGcsBucket

Static Methods

getDescriptor()

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

Methods

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

clearUri()

public DestinationGcsBucket.Builder clearUri()

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

This builder for chaining.

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

public ByteString getUriBytes()

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

protected GeneratedMessage.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

setUri(String value)

public DestinationGcsBucket.Builder setUri(String value)

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

This builder for chaining.

setUriBytes(ByteString value)

public DestinationGcsBucket.Builder setUriBytes(ByteString value)

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

This builder for chaining.