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.v1.GCS
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public GCS.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
Returns
buildPartial()
public GCS buildPartial()
Returns
clear()
public GCS.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public GCS.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public GCS.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
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
Overrides
getDefaultInstanceForType()
public GCS getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
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
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(GCS other)
public GCS.Builder mergeFrom(GCS other)
Parameter
Name |
Description |
other |
GCS
|
Returns
public GCS.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public GCS.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final GCS.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public GCS.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
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
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final GCS.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides