Class GCS.Builder (0.2.0)

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

Represents a Google Cloud Storage volume source config.

Protobuf type google.cloud.batch.v1alpha.GCS

Implements

GCSOrBuilder

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public GCS.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
GCS.Builder
Overrides

build()

public GCS build()
Returns
TypeDescription
GCS

buildPartial()

public GCS buildPartial()
Returns
TypeDescription
GCS

clear()

public GCS.Builder clear()
Returns
TypeDescription
GCS.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public GCS.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
GCS.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public GCS.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
GCS.Builder

This builder for chaining.

clone()

public GCS.Builder clone()
Returns
TypeDescription
GCS.Builder
Overrides

getDefaultInstanceForType()

public GCS getDefaultInstanceForType()
Returns
TypeDescription
GCS

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for remotePath.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(GCS other)

public GCS.Builder mergeFrom(GCS other)
Parameter
NameDescription
otherGCS
Returns
TypeDescription
GCS.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public GCS.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
GCS.Builder
Overrides Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public GCS.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
GCS.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final GCS.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
GCS.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public GCS.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The remotePath to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for remotePath to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
GCS.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final GCS.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
GCS.Builder
Overrides