- 0.73.0 (latest)
- 0.72.0
- 0.70.0
- 0.68.0
- 0.67.0
- 0.64.0
- 0.63.0
- 0.62.0
- 0.60.0
- 0.59.0
- 0.58.0
- 0.57.0
- 0.56.0
- 0.55.0
- 0.54.0
- 0.53.0
- 0.52.0
- 0.51.0
- 0.49.0
- 0.48.0
- 0.47.0
- 0.46.0
- 0.45.0
- 0.44.0
- 0.43.0
- 0.42.0
- 0.41.0
- 0.40.0
- 0.39.0
- 0.37.0
- 0.36.0
- 0.35.0
- 0.34.0
- 0.33.0
- 0.32.0
- 0.31.0
- 0.30.0
- 0.29.0
- 0.28.0
- 0.27.0
- 0.24.0
- 0.23.0
- 0.22.0
- 0.21.0
- 0.20.0
- 0.19.0
- 0.18.0
- 0.17.0
- 0.16.0
- 0.15.0
- 0.14.0
- 0.13.0
- 0.12.0
- 0.11.0
- 0.9.0
- 0.8.0
- 0.7.0
- 0.6.0
- 0.5.0
- 0.4.0
- 0.3.5
- 0.2.1
- 0.1.2
public
final
class
Volume
extends
GeneratedMessageV3
implements
VolumeOrBuilder
Volume represents a named volume in a container.
Protobuf type google.cloud.run.v2.Volume
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > VolumeImplements
VolumeOrBuilderStatic Fields
CLOUD_SQL_INSTANCE_FIELD_NUMBER
public
static
final
int
CLOUD_SQL_INSTANCE_FIELD_NUMBER
EMPTY_DIR_FIELD_NUMBER
public
static
final
int
EMPTY_DIR_FIELD_NUMBER
GCS_FIELD_NUMBER
public
static
final
int
GCS_FIELD_NUMBER
NAME_FIELD_NUMBER
public
static
final
int
NAME_FIELD_NUMBER
NFS_FIELD_NUMBER
public
static
final
int
NFS_FIELD_NUMBER
SECRET_FIELD_NUMBER
public
static
final
int
SECRET_FIELD_NUMBER
Static Methods
getDefaultInstance()
public
static
Volume
getDefaultInstance
()
getDescriptor()
public
static
final
Descriptors
.
Descriptor
getDescriptor
()
newBuilder()
public
static
Volume
.
Builder
newBuilder
()
newBuilder(Volume prototype)
public
static
Volume
.
Builder
newBuilder
(
Volume
prototype
)
parseDelimitedFrom(InputStream input)
public
static
Volume
parseDelimitedFrom
(
InputStream
input
)
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public
static
Volume
parseDelimitedFrom
(
InputStream
input
,
ExtensionRegistryLite
extensionRegistry
)
parseFrom(byte[] data)
public
static
Volume
parseFrom
(
byte
[]
data
)
data
byte
[]
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public
static
Volume
parseFrom
(
byte
[]
data
,
ExtensionRegistryLite
extensionRegistry
)
parseFrom(ByteString data)
public
static
Volume
parseFrom
(
ByteString
data
)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public
static
Volume
parseFrom
(
ByteString
data
,
ExtensionRegistryLite
extensionRegistry
)
parseFrom(CodedInputStream input)
public
static
Volume
parseFrom
(
CodedInputStream
input
)
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public
static
Volume
parseFrom
(
CodedInputStream
input
,
ExtensionRegistryLite
extensionRegistry
)
parseFrom(InputStream input)
public
static
Volume
parseFrom
(
InputStream
input
)
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public
static
Volume
parseFrom
(
InputStream
input
,
ExtensionRegistryLite
extensionRegistry
)
parseFrom(ByteBuffer data)
public
static
Volume
parseFrom
(
ByteBuffer
data
)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public
static
Volume
parseFrom
(
ByteBuffer
data
,
ExtensionRegistryLite
extensionRegistry
)
parser()
public
static
Parser<Volume>
parser
()
Methods
equals(Object obj)
public
boolean
equals
(
Object
obj
)
getCloudSqlInstance()
public
CloudSqlInstance
getCloudSqlInstance
()
For Cloud SQL volumes, contains the specific instances that should be mounted. Visit https://cloud.google.com/sql/docs/mysql/connect-run for more information on how to connect Cloud SQL and Cloud Run.
.google.cloud.run.v2.CloudSqlInstance cloud_sql_instance = 3;
getCloudSqlInstanceOrBuilder()
public
CloudSqlInstanceOrBuilder
getCloudSqlInstanceOrBuilder
()
For Cloud SQL volumes, contains the specific instances that should be mounted. Visit https://cloud.google.com/sql/docs/mysql/connect-run for more information on how to connect Cloud SQL and Cloud Run.
.google.cloud.run.v2.CloudSqlInstance cloud_sql_instance = 3;
getDefaultInstanceForType()
public
Volume
getDefaultInstanceForType
()
getEmptyDir()
public
EmptyDirVolumeSource
getEmptyDir
()
Ephemeral storage used as a shared volume.
.google.cloud.run.v2.EmptyDirVolumeSource empty_dir = 4;
getEmptyDirOrBuilder()
public
EmptyDirVolumeSourceOrBuilder
getEmptyDirOrBuilder
()
Ephemeral storage used as a shared volume.
.google.cloud.run.v2.EmptyDirVolumeSource empty_dir = 4;
getGcs()
public
GCSVolumeSource
getGcs
()
Persistent storage backed by a Google Cloud Storage bucket.
.google.cloud.run.v2.GCSVolumeSource gcs = 6;
getGcsOrBuilder()
public
GCSVolumeSourceOrBuilder
getGcsOrBuilder
()
Persistent storage backed by a Google Cloud Storage bucket.
.google.cloud.run.v2.GCSVolumeSource gcs = 6;
getName()
public
String
getName
()
Required. Volume's name.
string name = 1 [(.google.api.field_behavior) = REQUIRED];
getNameBytes()
public
ByteString
getNameBytes
()
Required. Volume's name.
string name = 1 [(.google.api.field_behavior) = REQUIRED];
getNfs()
public
NFSVolumeSource
getNfs
()
For NFS Voumes, contains the path to the nfs Volume
.google.cloud.run.v2.NFSVolumeSource nfs = 5;
getNfsOrBuilder()
public
NFSVolumeSourceOrBuilder
getNfsOrBuilder
()
For NFS Voumes, contains the path to the nfs Volume
.google.cloud.run.v2.NFSVolumeSource nfs = 5;
getParserForType()
public
Parser<Volume>
getParserForType
()
getSecret()
public
SecretVolumeSource
getSecret
()
Secret represents a secret that should populate this volume.
.google.cloud.run.v2.SecretVolumeSource secret = 2;
getSecretOrBuilder()
public
SecretVolumeSourceOrBuilder
getSecretOrBuilder
()
Secret represents a secret that should populate this volume.
.google.cloud.run.v2.SecretVolumeSource secret = 2;
getSerializedSize()
public
int
getSerializedSize
()
getVolumeTypeCase()
public
Volume
.
VolumeTypeCase
getVolumeTypeCase
()
hasCloudSqlInstance()
public
boolean
hasCloudSqlInstance
()
For Cloud SQL volumes, contains the specific instances that should be mounted. Visit https://cloud.google.com/sql/docs/mysql/connect-run for more information on how to connect Cloud SQL and Cloud Run.
.google.cloud.run.v2.CloudSqlInstance cloud_sql_instance = 3;
hasEmptyDir()
public
boolean
hasEmptyDir
()
Ephemeral storage used as a shared volume.
.google.cloud.run.v2.EmptyDirVolumeSource empty_dir = 4;
hasGcs()
public
boolean
hasGcs
()
Persistent storage backed by a Google Cloud Storage bucket.
.google.cloud.run.v2.GCSVolumeSource gcs = 6;
hasNfs()
public
boolean
hasNfs
()
For NFS Voumes, contains the path to the nfs Volume
.google.cloud.run.v2.NFSVolumeSource nfs = 5;
hasSecret()
public
boolean
hasSecret
()
Secret represents a secret that should populate this volume.
.google.cloud.run.v2.SecretVolumeSource secret = 2;
hashCode()
public
int
hashCode
()
internalGetFieldAccessorTable()
protected
GeneratedMessageV3
.
FieldAccessorTable
internalGetFieldAccessorTable
()
isInitialized()
public
final
boolean
isInitialized
()
newBuilderForType()
public
Volume
.
Builder
newBuilderForType
()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected
Volume
.
Builder
newBuilderForType
(
GeneratedMessageV3
.
BuilderParent
parent
)
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected
Object
newInstance
(
GeneratedMessageV3
.
UnusedPrivateParameter
unused
)
toBuilder()
public
Volume
.
Builder
toBuilder
()
writeTo(CodedOutputStream output)
public
void
writeTo
(
CodedOutputStream
output
)