Class GCSVolumeSource (0.39.0)

public final class GCSVolumeSource extends GeneratedMessageV3 implements GCSVolumeSourceOrBuilder

Represents a GCS Bucket mounted as a volume.

Protobuf type google.cloud.run.v2.GCSVolumeSource

Static Fields

BUCKET_FIELD_NUMBER

public static final int BUCKET_FIELD_NUMBER
Field Value
TypeDescription
int

READ_ONLY_FIELD_NUMBER

public static final int READ_ONLY_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static GCSVolumeSource getDefaultInstance()
Returns
TypeDescription
GCSVolumeSource

getDescriptor()

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

newBuilder()

public static GCSVolumeSource.Builder newBuilder()
Returns
TypeDescription
GCSVolumeSource.Builder

newBuilder(GCSVolumeSource prototype)

public static GCSVolumeSource.Builder newBuilder(GCSVolumeSource prototype)
Parameter
NameDescription
prototypeGCSVolumeSource
Returns
TypeDescription
GCSVolumeSource.Builder

parseDelimitedFrom(InputStream input)

public static GCSVolumeSource parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
GCSVolumeSource
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static GCSVolumeSource parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
GCSVolumeSource
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static GCSVolumeSource parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
GCSVolumeSource
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static GCSVolumeSource parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
GCSVolumeSource
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static GCSVolumeSource parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
GCSVolumeSource
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static GCSVolumeSource parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
GCSVolumeSource
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static GCSVolumeSource parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
GCSVolumeSource
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static GCSVolumeSource parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
GCSVolumeSource
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static GCSVolumeSource parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
GCSVolumeSource
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static GCSVolumeSource parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
GCSVolumeSource
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static GCSVolumeSource parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
GCSVolumeSource
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static GCSVolumeSource parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
GCSVolumeSource
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<GCSVolumeSource> parser()
Returns
TypeDescription
Parser<GCSVolumeSource>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getBucket()

public String getBucket()

GCS Bucket name

string bucket = 1;

Returns
TypeDescription
String

The bucket.

getBucketBytes()

public ByteString getBucketBytes()

GCS Bucket name

string bucket = 1;

Returns
TypeDescription
ByteString

The bytes for bucket.

getDefaultInstanceForType()

public GCSVolumeSource getDefaultInstanceForType()
Returns
TypeDescription
GCSVolumeSource

getParserForType()

public Parser<GCSVolumeSource> getParserForType()
Returns
TypeDescription
Parser<GCSVolumeSource>
Overrides

getReadOnly()

public boolean getReadOnly()

If true, mount the GCS bucket as read-only

bool read_only = 2;

Returns
TypeDescription
boolean

The readOnly.

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public GCSVolumeSource.Builder newBuilderForType()
Returns
TypeDescription
GCSVolumeSource.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected GCSVolumeSource.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
GCSVolumeSource.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public GCSVolumeSource.Builder toBuilder()
Returns
TypeDescription
GCSVolumeSource.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException