Class GCS.Builder (0.83.0)

public static final class GCS.Builder extends GeneratedMessage.Builder<GCS.Builder> implements GCSOrBuilder

Represents a Google Cloud Storage volume.

Protobuf type google.cloud.batch.v1.GCS

Implements

GCSOrBuilder

Static Methods

getDescriptor()

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

Methods

build()

public GCS build()
Returns
Type Description
GCS

buildPartial()

public GCS buildPartial()
Returns
Type Description
GCS

clear()

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

clearRemotePath()

public GCS.Builder clearRemotePath()

Remote path, either a bucket name or a subdirectory of a bucket, e.g.: bucket_name, bucket_name/subdirectory/

string remote_path = 1;

Returns
Type Description
GCS.Builder

This builder for chaining.

getDefaultInstanceForType()

public GCS getDefaultInstanceForType()
Returns
Type Description
GCS

getDescriptorForType()

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

getRemotePath()

public String getRemotePath()

Remote path, either a bucket name or a subdirectory of a bucket, e.g.: bucket_name, bucket_name/subdirectory/

string remote_path = 1;

Returns
Type Description
String

The remotePath.

getRemotePathBytes()

public ByteString getRemotePathBytes()

Remote path, either a bucket name or a subdirectory of a bucket, e.g.: bucket_name, bucket_name/subdirectory/

string remote_path = 1;

Returns
Type Description
ByteString

The bytes for remotePath.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(GCS other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

setRemotePath(String value)

public GCS.Builder setRemotePath(String value)

Remote path, either a bucket name or a subdirectory of a bucket, e.g.: bucket_name, bucket_name/subdirectory/

string remote_path = 1;

Parameter
Name Description
value String

The remotePath to set.

Returns
Type Description
GCS.Builder

This builder for chaining.

setRemotePathBytes(ByteString value)

public GCS.Builder setRemotePathBytes(ByteString value)

Remote path, either a bucket name or a subdirectory of a bucket, e.g.: bucket_name, bucket_name/subdirectory/

string remote_path = 1;

Parameter
Name Description
value ByteString

The bytes for remotePath to set.

Returns
Type Description
GCS.Builder

This builder for chaining.