public static final class GcsRepositorySnapshotMetadata.Builder extends GeneratedMessage.Builder<GcsRepositorySnapshotMetadata.Builder> implements GcsRepositorySnapshotMetadataOrBuilderMetadata about a repository snapshot stored in Google Cloud Storage.
Protobuf type google.cloud.dataform.v1beta1.GcsRepositorySnapshotMetadata
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > GcsRepositorySnapshotMetadata.BuilderImplements
GcsRepositorySnapshotMetadataOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public GcsRepositorySnapshotMetadata build()| Returns | |
|---|---|
| Type | Description |
GcsRepositorySnapshotMetadata |
|
buildPartial()
public GcsRepositorySnapshotMetadata buildPartial()| Returns | |
|---|---|
| Type | Description |
GcsRepositorySnapshotMetadata |
|
clear()
public GcsRepositorySnapshotMetadata.Builder clear()| Returns | |
|---|---|
| Type | Description |
GcsRepositorySnapshotMetadata.Builder |
|
clearCrc32CChecksum()
public GcsRepositorySnapshotMetadata.Builder clearCrc32CChecksum()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 |
GcsRepositorySnapshotMetadata.Builder |
This builder for chaining. |
clearGeneration()
public GcsRepositorySnapshotMetadata.Builder clearGeneration()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 |
GcsRepositorySnapshotMetadata.Builder |
This builder for chaining. |
clearRepositorySnapshotUri()
public GcsRepositorySnapshotMetadata.Builder clearRepositorySnapshotUri()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 |
GcsRepositorySnapshotMetadata.Builder |
This builder for chaining. |
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 |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
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. |
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. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(GcsRepositorySnapshotMetadata other)
public GcsRepositorySnapshotMetadata.Builder mergeFrom(GcsRepositorySnapshotMetadata other)| Parameter | |
|---|---|
| Name | Description |
other |
GcsRepositorySnapshotMetadata |
| Returns | |
|---|---|
| Type | Description |
GcsRepositorySnapshotMetadata.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public GcsRepositorySnapshotMetadata.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
GcsRepositorySnapshotMetadata.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public GcsRepositorySnapshotMetadata.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
GcsRepositorySnapshotMetadata.Builder |
|
setCrc32CChecksum(String value)
public GcsRepositorySnapshotMetadata.Builder setCrc32CChecksum(String value)Output only. The crc32c checksum of the repository snapshot, big-endian base64 encoded.
string crc32c_checksum = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe crc32cChecksum to set. |
| Returns | |
|---|---|
| Type | Description |
GcsRepositorySnapshotMetadata.Builder |
This builder for chaining. |
setCrc32CChecksumBytes(ByteString value)
public GcsRepositorySnapshotMetadata.Builder setCrc32CChecksumBytes(ByteString value)Output only. The crc32c checksum of the repository snapshot, big-endian base64 encoded.
string crc32c_checksum = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for crc32cChecksum to set. |
| Returns | |
|---|---|
| Type | Description |
GcsRepositorySnapshotMetadata.Builder |
This builder for chaining. |
setGeneration(long value)
public GcsRepositorySnapshotMetadata.Builder setGeneration(long value)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];
| Parameter | |
|---|---|
| Name | Description |
value |
longThe generation to set. |
| Returns | |
|---|---|
| Type | Description |
GcsRepositorySnapshotMetadata.Builder |
This builder for chaining. |
setRepositorySnapshotUri(String value)
public GcsRepositorySnapshotMetadata.Builder setRepositorySnapshotUri(String value)Output only. The Google Cloud Storage URI of the repository snapshot.
string repository_snapshot_uri = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe repositorySnapshotUri to set. |
| Returns | |
|---|---|
| Type | Description |
GcsRepositorySnapshotMetadata.Builder |
This builder for chaining. |
setRepositorySnapshotUriBytes(ByteString value)
public GcsRepositorySnapshotMetadata.Builder setRepositorySnapshotUriBytes(ByteString value)Output only. The Google Cloud Storage URI of the repository snapshot.
string repository_snapshot_uri = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for repositorySnapshotUri to set. |
| Returns | |
|---|---|
| Type | Description |
GcsRepositorySnapshotMetadata.Builder |
This builder for chaining. |