public static final class GCSVolumeSource.Builder extends com.google.protobuf.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| Modifier and Type | Method and Description |
|---|---|
GCSVolumeSource.Builder |
addAllMountOptions(Iterable<String> values)
A list of additional flags to pass to the gcsfuse CLI.
|
GCSVolumeSource.Builder |
addMountOptions(String value)
A list of additional flags to pass to the gcsfuse CLI.
|
GCSVolumeSource.Builder |
addMountOptionsBytes(com.google.protobuf.ByteString value)
A list of additional flags to pass to the gcsfuse CLI.
|
GCSVolumeSource.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
GCSVolumeSource |
build() |
GCSVolumeSource |
buildPartial() |
GCSVolumeSource.Builder |
clear() |
GCSVolumeSource.Builder |
clearBucket()
Cloud Storage Bucket name.
|
GCSVolumeSource.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
GCSVolumeSource.Builder |
clearMountOptions()
A list of additional flags to pass to the gcsfuse CLI.
|
GCSVolumeSource.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
GCSVolumeSource.Builder |
clearReadOnly()
If true, the volume will be mounted as read only for all mounts.
|
GCSVolumeSource.Builder |
clone() |
String |
getBucket()
Cloud Storage Bucket name.
|
com.google.protobuf.ByteString |
getBucketBytes()
Cloud Storage Bucket name.
|
GCSVolumeSource |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
String |
getMountOptions(int index)
A list of additional flags to pass to the gcsfuse CLI.
|
com.google.protobuf.ByteString |
getMountOptionsBytes(int index)
A list of additional flags to pass to the gcsfuse CLI.
|
int |
getMountOptionsCount()
A list of additional flags to pass to the gcsfuse CLI.
|
com.google.protobuf.ProtocolStringList |
getMountOptionsList()
A list of additional flags to pass to the gcsfuse CLI.
|
boolean |
getReadOnly()
If true, the volume will be mounted as read only for all mounts.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
GCSVolumeSource.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
GCSVolumeSource.Builder |
mergeFrom(GCSVolumeSource other) |
GCSVolumeSource.Builder |
mergeFrom(com.google.protobuf.Message other) |
GCSVolumeSource.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
GCSVolumeSource.Builder |
setBucket(String value)
Cloud Storage Bucket name.
|
GCSVolumeSource.Builder |
setBucketBytes(com.google.protobuf.ByteString value)
Cloud Storage Bucket name.
|
GCSVolumeSource.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
GCSVolumeSource.Builder |
setMountOptions(int index,
String value)
A list of additional flags to pass to the gcsfuse CLI.
|
GCSVolumeSource.Builder |
setReadOnly(boolean value)
If true, the volume will be mounted as read only for all mounts.
|
GCSVolumeSource.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
GCSVolumeSource.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<GCSVolumeSource.Builder>public GCSVolumeSource.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<GCSVolumeSource.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<GCSVolumeSource.Builder>public GCSVolumeSource getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic GCSVolumeSource build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic GCSVolumeSource buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic GCSVolumeSource.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<GCSVolumeSource.Builder>public GCSVolumeSource.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<GCSVolumeSource.Builder>public GCSVolumeSource.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<GCSVolumeSource.Builder>public GCSVolumeSource.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<GCSVolumeSource.Builder>public GCSVolumeSource.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<GCSVolumeSource.Builder>public GCSVolumeSource.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<GCSVolumeSource.Builder>public GCSVolumeSource.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<GCSVolumeSource.Builder>public GCSVolumeSource.Builder mergeFrom(GCSVolumeSource other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<GCSVolumeSource.Builder>public GCSVolumeSource.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<GCSVolumeSource.Builder>IOExceptionpublic String getBucket()
Cloud Storage Bucket name.
string bucket = 1;getBucket in interface GCSVolumeSourceOrBuilderpublic com.google.protobuf.ByteString getBucketBytes()
Cloud Storage Bucket name.
string bucket = 1;getBucketBytes in interface GCSVolumeSourceOrBuilderpublic GCSVolumeSource.Builder setBucket(String value)
Cloud Storage Bucket name.
string bucket = 1;value - The bucket to set.public GCSVolumeSource.Builder clearBucket()
Cloud Storage Bucket name.
string bucket = 1;public GCSVolumeSource.Builder setBucketBytes(com.google.protobuf.ByteString value)
Cloud Storage Bucket name.
string bucket = 1;value - The bytes for bucket to set.public boolean getReadOnly()
If true, the volume will be mounted as read only for all mounts.
bool read_only = 2;getReadOnly in interface GCSVolumeSourceOrBuilderpublic GCSVolumeSource.Builder setReadOnly(boolean value)
If true, the volume will be mounted as read only for all mounts.
bool read_only = 2;value - The readOnly to set.public GCSVolumeSource.Builder clearReadOnly()
If true, the volume will be mounted as read only for all mounts.
bool read_only = 2;public com.google.protobuf.ProtocolStringList getMountOptionsList()
A list of additional flags to pass to the gcsfuse CLI. Options should be specified without the leading "--".
repeated string mount_options = 3;getMountOptionsList in interface GCSVolumeSourceOrBuilderpublic int getMountOptionsCount()
A list of additional flags to pass to the gcsfuse CLI. Options should be specified without the leading "--".
repeated string mount_options = 3;getMountOptionsCount in interface GCSVolumeSourceOrBuilderpublic String getMountOptions(int index)
A list of additional flags to pass to the gcsfuse CLI. Options should be specified without the leading "--".
repeated string mount_options = 3;getMountOptions in interface GCSVolumeSourceOrBuilderindex - The index of the element to return.public com.google.protobuf.ByteString getMountOptionsBytes(int index)
A list of additional flags to pass to the gcsfuse CLI. Options should be specified without the leading "--".
repeated string mount_options = 3;getMountOptionsBytes in interface GCSVolumeSourceOrBuilderindex - The index of the value to return.public GCSVolumeSource.Builder setMountOptions(int index, String value)
A list of additional flags to pass to the gcsfuse CLI. Options should be specified without the leading "--".
repeated string mount_options = 3;index - The index to set the value at.value - The mountOptions to set.public GCSVolumeSource.Builder addMountOptions(String value)
A list of additional flags to pass to the gcsfuse CLI. Options should be specified without the leading "--".
repeated string mount_options = 3;value - The mountOptions to add.public GCSVolumeSource.Builder addAllMountOptions(Iterable<String> values)
A list of additional flags to pass to the gcsfuse CLI. Options should be specified without the leading "--".
repeated string mount_options = 3;values - The mountOptions to add.public GCSVolumeSource.Builder clearMountOptions()
A list of additional flags to pass to the gcsfuse CLI. Options should be specified without the leading "--".
repeated string mount_options = 3;public GCSVolumeSource.Builder addMountOptionsBytes(com.google.protobuf.ByteString value)
A list of additional flags to pass to the gcsfuse CLI. Options should be specified without the leading "--".
repeated string mount_options = 3;value - The bytes of the mountOptions to add.public final GCSVolumeSource.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<GCSVolumeSource.Builder>public final GCSVolumeSource.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<GCSVolumeSource.Builder>Copyright © 2025 Google LLC. All rights reserved.