public static final class GCSVolumeSource.Builder extends GeneratedMessageV3.Builder<GCSVolumeSource.Builder> implements GCSVolumeSourceOrBuilder
Represents a volume backed by a Cloud Storage bucket using Cloud Storage
FUSE.
Protobuf type google.cloud.run.v2.GCSVolumeSource
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public GCSVolumeSource.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public GCSVolumeSource build()
buildPartial()
public GCSVolumeSource buildPartial()
clear()
public GCSVolumeSource.Builder clear()
Overrides
clearBucket()
public GCSVolumeSource.Builder clearBucket()
Cloud Storage Bucket name.
string bucket = 1;
clearField(Descriptors.FieldDescriptor field)
public GCSVolumeSource.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public GCSVolumeSource.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearReadOnly()
public GCSVolumeSource.Builder clearReadOnly()
If true, the volume will be mounted as read only for all mounts.
bool read_only = 2;
clone()
public GCSVolumeSource.Builder clone()
Overrides
getBucket()
public String getBucket()
Cloud Storage Bucket name.
string bucket = 1;
Returns |
Type |
Description |
String |
The bucket.
|
getBucketBytes()
public ByteString getBucketBytes()
Cloud Storage Bucket name.
string bucket = 1;
Returns |
Type |
Description |
ByteString |
The bytes for bucket.
|
getDefaultInstanceForType()
public GCSVolumeSource getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getReadOnly()
public boolean getReadOnly()
If true, the volume will be mounted as read only for all mounts.
bool read_only = 2;
Returns |
Type |
Description |
boolean |
The readOnly.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(GCSVolumeSource other)
public GCSVolumeSource.Builder mergeFrom(GCSVolumeSource other)
public GCSVolumeSource.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public GCSVolumeSource.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final GCSVolumeSource.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setBucket(String value)
public GCSVolumeSource.Builder setBucket(String value)
Cloud Storage Bucket name.
string bucket = 1;
Parameter |
Name |
Description |
value |
String
The bucket to set.
|
setBucketBytes(ByteString value)
public GCSVolumeSource.Builder setBucketBytes(ByteString value)
Cloud Storage Bucket name.
string bucket = 1;
Parameter |
Name |
Description |
value |
ByteString
The bytes for bucket to set.
|
setField(Descriptors.FieldDescriptor field, Object value)
public GCSVolumeSource.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setReadOnly(boolean value)
public GCSVolumeSource.Builder setReadOnly(boolean value)
If true, the volume will be mounted as read only for all mounts.
bool read_only = 2;
Parameter |
Name |
Description |
value |
boolean
The readOnly to set.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public GCSVolumeSource.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final GCSVolumeSource.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides