Class GcsRepositorySnapshotMetadata (0.98.0)

public final class GcsRepositorySnapshotMetadata extends GeneratedMessage implements GcsRepositorySnapshotMetadataOrBuilder

Metadata about a repository snapshot stored in Google Cloud Storage.

Protobuf type google.cloud.dataform.v1.GcsRepositorySnapshotMetadata

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessage > GcsRepositorySnapshotMetadata

Static Fields

CRC32C_CHECKSUM_FIELD_NUMBER

public static final int CRC32C_CHECKSUM_FIELD_NUMBER
Field Value
Type Description
int

GENERATION_FIELD_NUMBER

public static final int GENERATION_FIELD_NUMBER
Field Value
Type Description
int

REPOSITORY_SNAPSHOT_URI_FIELD_NUMBER

public static final int REPOSITORY_SNAPSHOT_URI_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static GcsRepositorySnapshotMetadata getDefaultInstance()
Returns
Type Description
GcsRepositorySnapshotMetadata

getDescriptor()

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

newBuilder()

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

newBuilder(GcsRepositorySnapshotMetadata prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getCrc32CChecksum()

public String getCrc32CChecksum()

Output only. The crc32c checksum of the repository snapshot, big-endian base64 encoded.

string crc32c_checksum = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The crc32cChecksum.

getCrc32CChecksumBytes()

public ByteString getCrc32CChecksumBytes()

Output only. The crc32c checksum of the repository snapshot, big-endian base64 encoded.

string crc32c_checksum = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for crc32cChecksum.

getDefaultInstanceForType()

public GcsRepositorySnapshotMetadata getDefaultInstanceForType()
Returns
Type Description
GcsRepositorySnapshotMetadata

getGeneration()

public long getGeneration()

Output only. The generation number of the Cloud Storage object. See https://cloud.google.com/storage/docs/metadata#generation-number.

int64 generation = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
long

The generation.

getParserForType()

public Parser<GcsRepositorySnapshotMetadata> getParserForType()
Returns
Type Description
Parser<GcsRepositorySnapshotMetadata>
Overrides

getRepositorySnapshotUri()

public String getRepositorySnapshotUri()

Output only. The Google Cloud Storage URI of the repository snapshot.

string repository_snapshot_uri = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The repositorySnapshotUri.

getRepositorySnapshotUriBytes()

public ByteString getRepositorySnapshotUriBytes()

Output only. The Google Cloud Storage URI of the repository snapshot.

string repository_snapshot_uri = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for repositorySnapshotUri.

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

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

newBuilderForType(AbstractMessage.BuilderParent parent)

protected GcsRepositorySnapshotMetadata.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
GcsRepositorySnapshotMetadata.Builder
Overrides

toBuilder()

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

writeTo(CodedOutputStream output)

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