Class GCS (0.19.0)

public final class GCS extends GeneratedMessageV3 implements GCSOrBuilder

Represents a Google Cloud Storage volume.

Protobuf type google.cloud.batch.v1alpha.GCS

Implements

GCSOrBuilder

Static Fields

REMOTE_PATH_FIELD_NUMBER

public static final int REMOTE_PATH_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static GCS getDefaultInstance()
Returns
Type Description
GCS

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static GCS.Builder newBuilder()
Returns
Type Description
GCS.Builder

newBuilder(GCS prototype)

public static GCS.Builder newBuilder(GCS prototype)
Parameter
Name Description
prototype GCS
Returns
Type Description
GCS.Builder

parseDelimitedFrom(InputStream input)

public static GCS parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
GCS
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static GCS parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
GCS
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static GCS parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
GCS
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static GCS parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
GCS
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static GCS parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
GCS
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static GCS parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
GCS
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static GCS parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
GCS
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static GCS parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
GCS
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static GCS parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
GCS
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static GCS parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
GCS
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static GCS parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
GCS
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static GCS parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
GCS
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<GCS> parser()
Returns
Type Description
Parser<GCS>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public GCS getDefaultInstanceForType()
Returns
Type Description
GCS

getParserForType()

public Parser<GCS> getParserForType()
Returns
Type Description
Parser<GCS>
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.

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public GCS.Builder newBuilderForType()
Returns
Type Description
GCS.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected GCS.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
GCS.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public GCS.Builder toBuilder()
Returns
Type Description
GCS.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException