Class GCS.Builder (0.48.0)

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

Represents a Google Cloud Storage volume.

Protobuf type google.cloud.batch.v1alpha.GCS

Implements

GCSOrBuilder

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

public GCS.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
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.

clone()

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

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 GeneratedMessageV3.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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

public GCS.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
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.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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