public static final class Snapshot.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Snapshot.Builder> implements SnapshotOrBuilder
Represents a Persistent Disk Snapshot resource. You can use snapshots to back up data on a regular interval. For more information, read Creating persistent disk snapshots.Protobuf type
google.cloud.compute.v1.Snapshot| Modifier and Type | Method and Description |
|---|---|
Snapshot.Builder |
addAllLicenseCodes(Iterable<? extends Long> values)
[Output Only] Integer license codes indicating which licenses are attached to this snapshot.
|
Snapshot.Builder |
addAllLicenses(Iterable<String> values)
[Output Only] A list of public visible licenses that apply to this snapshot.
|
Snapshot.Builder |
addAllStorageLocations(Iterable<String> values)
Cloud Storage bucket storage location of the snapshot (regional or multi-regional).
|
Snapshot.Builder |
addLicenseCodes(long value)
[Output Only] Integer license codes indicating which licenses are attached to this snapshot.
|
Snapshot.Builder |
addLicenses(String value)
[Output Only] A list of public visible licenses that apply to this snapshot.
|
Snapshot.Builder |
addLicensesBytes(com.google.protobuf.ByteString value)
[Output Only] A list of public visible licenses that apply to this snapshot.
|
Snapshot.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Snapshot.Builder |
addStorageLocations(String value)
Cloud Storage bucket storage location of the snapshot (regional or multi-regional).
|
Snapshot.Builder |
addStorageLocationsBytes(com.google.protobuf.ByteString value)
Cloud Storage bucket storage location of the snapshot (regional or multi-regional).
|
Snapshot |
build() |
Snapshot |
buildPartial() |
Snapshot.Builder |
clear() |
Snapshot.Builder |
clearArchitecture()
[Output Only] The architecture of the snapshot.
|
Snapshot.Builder |
clearAutoCreated()
[Output Only] Set to true if snapshots are automatically created by applying resource policy on the target disk.
|
Snapshot.Builder |
clearChainName()
Creates the new snapshot in the snapshot chain labeled with the specified name.
|
Snapshot.Builder |
clearCreationSizeBytes()
[Output Only] Size in bytes of the snapshot at creation time.
|
Snapshot.Builder |
clearCreationTimestamp()
[Output Only] Creation timestamp in RFC3339 text format.
|
Snapshot.Builder |
clearDescription()
An optional description of this resource.
|
Snapshot.Builder |
clearDiskSizeGb()
[Output Only] Size of the source disk, specified in GB.
|
Snapshot.Builder |
clearDownloadBytes()
[Output Only] Number of bytes downloaded to restore a snapshot to a disk.
|
Snapshot.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
Snapshot.Builder |
clearId()
[Output Only] The unique identifier for the resource.
|
Snapshot.Builder |
clearKind()
[Output Only] Type of the resource.
|
Snapshot.Builder |
clearLabelFingerprint()
A fingerprint for the labels being applied to this snapshot, which is essentially a hash of the labels set used for optimistic locking.
|
Snapshot.Builder |
clearLabels() |
Snapshot.Builder |
clearLicenseCodes()
[Output Only] Integer license codes indicating which licenses are attached to this snapshot.
|
Snapshot.Builder |
clearLicenses()
[Output Only] A list of public visible licenses that apply to this snapshot.
|
Snapshot.Builder |
clearLocationHint()
An opaque location hint used to place the snapshot close to other resources.
|
Snapshot.Builder |
clearName()
Name of the resource; provided by the client when the resource is created.
|
Snapshot.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
Snapshot.Builder |
clearSatisfiesPzs()
[Output Only] Reserved for future use.
|
Snapshot.Builder |
clearSelfLink()
[Output Only] Server-defined URL for the resource.
|
Snapshot.Builder |
clearSnapshotEncryptionKey()
Encrypts the snapshot using a customer-supplied encryption key.
|
Snapshot.Builder |
clearSnapshotType()
Indicates the type of the snapshot.
|
Snapshot.Builder |
clearSourceDisk()
The source disk used to create this snapshot.
|
Snapshot.Builder |
clearSourceDiskEncryptionKey()
The customer-supplied encryption key of the source disk.
|
Snapshot.Builder |
clearSourceDiskId()
[Output Only] The ID value of the disk used to create this snapshot.
|
Snapshot.Builder |
clearSourceSnapshotSchedulePolicy()
[Output Only] URL of the resource policy which created this scheduled snapshot.
|
Snapshot.Builder |
clearSourceSnapshotSchedulePolicyId()
[Output Only] ID of the resource policy which created this scheduled snapshot.
|
Snapshot.Builder |
clearStatus()
[Output Only] The status of the snapshot.
|
Snapshot.Builder |
clearStorageBytes()
[Output Only] A size of the storage used by the snapshot.
|
Snapshot.Builder |
clearStorageBytesStatus()
[Output Only] An indicator whether storageBytes is in a stable state or it is being adjusted as a result of shared storage reallocation.
|
Snapshot.Builder |
clearStorageLocations()
Cloud Storage bucket storage location of the snapshot (regional or multi-regional).
|
Snapshot.Builder |
clone() |
boolean |
containsLabels(String key)
Labels to apply to this snapshot.
|
String |
getArchitecture()
[Output Only] The architecture of the snapshot.
|
com.google.protobuf.ByteString |
getArchitectureBytes()
[Output Only] The architecture of the snapshot.
|
boolean |
getAutoCreated()
[Output Only] Set to true if snapshots are automatically created by applying resource policy on the target disk.
|
String |
getChainName()
Creates the new snapshot in the snapshot chain labeled with the specified name.
|
com.google.protobuf.ByteString |
getChainNameBytes()
Creates the new snapshot in the snapshot chain labeled with the specified name.
|
long |
getCreationSizeBytes()
[Output Only] Size in bytes of the snapshot at creation time.
|
String |
getCreationTimestamp()
[Output Only] Creation timestamp in RFC3339 text format.
|
com.google.protobuf.ByteString |
getCreationTimestampBytes()
[Output Only] Creation timestamp in RFC3339 text format.
|
Snapshot |
getDefaultInstanceForType() |
String |
getDescription()
An optional description of this resource.
|
com.google.protobuf.ByteString |
getDescriptionBytes()
An optional description of this resource.
|
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
long |
getDiskSizeGb()
[Output Only] Size of the source disk, specified in GB.
|
long |
getDownloadBytes()
[Output Only] Number of bytes downloaded to restore a snapshot to a disk.
|
long |
getId()
[Output Only] The unique identifier for the resource.
|
String |
getKind()
[Output Only] Type of the resource.
|
com.google.protobuf.ByteString |
getKindBytes()
[Output Only] Type of the resource.
|
String |
getLabelFingerprint()
A fingerprint for the labels being applied to this snapshot, which is essentially a hash of the labels set used for optimistic locking.
|
com.google.protobuf.ByteString |
getLabelFingerprintBytes()
A fingerprint for the labels being applied to this snapshot, which is essentially a hash of the labels set used for optimistic locking.
|
Map<String,String> |
getLabels()
Deprecated.
|
int |
getLabelsCount()
Labels to apply to this snapshot.
|
Map<String,String> |
getLabelsMap()
Labels to apply to this snapshot.
|
String |
getLabelsOrDefault(String key,
String defaultValue)
Labels to apply to this snapshot.
|
String |
getLabelsOrThrow(String key)
Labels to apply to this snapshot.
|
long |
getLicenseCodes(int index)
[Output Only] Integer license codes indicating which licenses are attached to this snapshot.
|
int |
getLicenseCodesCount()
[Output Only] Integer license codes indicating which licenses are attached to this snapshot.
|
List<Long> |
getLicenseCodesList()
[Output Only] Integer license codes indicating which licenses are attached to this snapshot.
|
String |
getLicenses(int index)
[Output Only] A list of public visible licenses that apply to this snapshot.
|
com.google.protobuf.ByteString |
getLicensesBytes(int index)
[Output Only] A list of public visible licenses that apply to this snapshot.
|
int |
getLicensesCount()
[Output Only] A list of public visible licenses that apply to this snapshot.
|
com.google.protobuf.ProtocolStringList |
getLicensesList()
[Output Only] A list of public visible licenses that apply to this snapshot.
|
String |
getLocationHint()
An opaque location hint used to place the snapshot close to other resources.
|
com.google.protobuf.ByteString |
getLocationHintBytes()
An opaque location hint used to place the snapshot close to other resources.
|
Map<String,String> |
getMutableLabels()
Deprecated.
|
String |
getName()
Name of the resource; provided by the client when the resource is created.
|
com.google.protobuf.ByteString |
getNameBytes()
Name of the resource; provided by the client when the resource is created.
|
boolean |
getSatisfiesPzs()
[Output Only] Reserved for future use.
|
String |
getSelfLink()
[Output Only] Server-defined URL for the resource.
|
com.google.protobuf.ByteString |
getSelfLinkBytes()
[Output Only] Server-defined URL for the resource.
|
CustomerEncryptionKey |
getSnapshotEncryptionKey()
Encrypts the snapshot using a customer-supplied encryption key.
|
CustomerEncryptionKey.Builder |
getSnapshotEncryptionKeyBuilder()
Encrypts the snapshot using a customer-supplied encryption key.
|
CustomerEncryptionKeyOrBuilder |
getSnapshotEncryptionKeyOrBuilder()
Encrypts the snapshot using a customer-supplied encryption key.
|
String |
getSnapshotType()
Indicates the type of the snapshot.
|
com.google.protobuf.ByteString |
getSnapshotTypeBytes()
Indicates the type of the snapshot.
|
String |
getSourceDisk()
The source disk used to create this snapshot.
|
com.google.protobuf.ByteString |
getSourceDiskBytes()
The source disk used to create this snapshot.
|
CustomerEncryptionKey |
getSourceDiskEncryptionKey()
The customer-supplied encryption key of the source disk.
|
CustomerEncryptionKey.Builder |
getSourceDiskEncryptionKeyBuilder()
The customer-supplied encryption key of the source disk.
|
CustomerEncryptionKeyOrBuilder |
getSourceDiskEncryptionKeyOrBuilder()
The customer-supplied encryption key of the source disk.
|
String |
getSourceDiskId()
[Output Only] The ID value of the disk used to create this snapshot.
|
com.google.protobuf.ByteString |
getSourceDiskIdBytes()
[Output Only] The ID value of the disk used to create this snapshot.
|
String |
getSourceSnapshotSchedulePolicy()
[Output Only] URL of the resource policy which created this scheduled snapshot.
|
com.google.protobuf.ByteString |
getSourceSnapshotSchedulePolicyBytes()
[Output Only] URL of the resource policy which created this scheduled snapshot.
|
String |
getSourceSnapshotSchedulePolicyId()
[Output Only] ID of the resource policy which created this scheduled snapshot.
|
com.google.protobuf.ByteString |
getSourceSnapshotSchedulePolicyIdBytes()
[Output Only] ID of the resource policy which created this scheduled snapshot.
|
String |
getStatus()
[Output Only] The status of the snapshot.
|
com.google.protobuf.ByteString |
getStatusBytes()
[Output Only] The status of the snapshot.
|
long |
getStorageBytes()
[Output Only] A size of the storage used by the snapshot.
|
String |
getStorageBytesStatus()
[Output Only] An indicator whether storageBytes is in a stable state or it is being adjusted as a result of shared storage reallocation.
|
com.google.protobuf.ByteString |
getStorageBytesStatusBytes()
[Output Only] An indicator whether storageBytes is in a stable state or it is being adjusted as a result of shared storage reallocation.
|
String |
getStorageLocations(int index)
Cloud Storage bucket storage location of the snapshot (regional or multi-regional).
|
com.google.protobuf.ByteString |
getStorageLocationsBytes(int index)
Cloud Storage bucket storage location of the snapshot (regional or multi-regional).
|
int |
getStorageLocationsCount()
Cloud Storage bucket storage location of the snapshot (regional or multi-regional).
|
com.google.protobuf.ProtocolStringList |
getStorageLocationsList()
Cloud Storage bucket storage location of the snapshot (regional or multi-regional).
|
boolean |
hasArchitecture()
[Output Only] The architecture of the snapshot.
|
boolean |
hasAutoCreated()
[Output Only] Set to true if snapshots are automatically created by applying resource policy on the target disk.
|
boolean |
hasChainName()
Creates the new snapshot in the snapshot chain labeled with the specified name.
|
boolean |
hasCreationSizeBytes()
[Output Only] Size in bytes of the snapshot at creation time.
|
boolean |
hasCreationTimestamp()
[Output Only] Creation timestamp in RFC3339 text format.
|
boolean |
hasDescription()
An optional description of this resource.
|
boolean |
hasDiskSizeGb()
[Output Only] Size of the source disk, specified in GB.
|
boolean |
hasDownloadBytes()
[Output Only] Number of bytes downloaded to restore a snapshot to a disk.
|
boolean |
hasId()
[Output Only] The unique identifier for the resource.
|
boolean |
hasKind()
[Output Only] Type of the resource.
|
boolean |
hasLabelFingerprint()
A fingerprint for the labels being applied to this snapshot, which is essentially a hash of the labels set used for optimistic locking.
|
boolean |
hasLocationHint()
An opaque location hint used to place the snapshot close to other resources.
|
boolean |
hasName()
Name of the resource; provided by the client when the resource is created.
|
boolean |
hasSatisfiesPzs()
[Output Only] Reserved for future use.
|
boolean |
hasSelfLink()
[Output Only] Server-defined URL for the resource.
|
boolean |
hasSnapshotEncryptionKey()
Encrypts the snapshot using a customer-supplied encryption key.
|
boolean |
hasSnapshotType()
Indicates the type of the snapshot.
|
boolean |
hasSourceDisk()
The source disk used to create this snapshot.
|
boolean |
hasSourceDiskEncryptionKey()
The customer-supplied encryption key of the source disk.
|
boolean |
hasSourceDiskId()
[Output Only] The ID value of the disk used to create this snapshot.
|
boolean |
hasSourceSnapshotSchedulePolicy()
[Output Only] URL of the resource policy which created this scheduled snapshot.
|
boolean |
hasSourceSnapshotSchedulePolicyId()
[Output Only] ID of the resource policy which created this scheduled snapshot.
|
boolean |
hasStatus()
[Output Only] The status of the snapshot.
|
boolean |
hasStorageBytes()
[Output Only] A size of the storage used by the snapshot.
|
boolean |
hasStorageBytesStatus()
[Output Only] An indicator whether storageBytes is in a stable state or it is being adjusted as a result of shared storage reallocation.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
protected com.google.protobuf.MapField |
internalGetMapField(int number) |
protected com.google.protobuf.MapField |
internalGetMutableMapField(int number) |
boolean |
isInitialized() |
Snapshot.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Snapshot.Builder |
mergeFrom(com.google.protobuf.Message other) |
Snapshot.Builder |
mergeFrom(Snapshot other) |
Snapshot.Builder |
mergeSnapshotEncryptionKey(CustomerEncryptionKey value)
Encrypts the snapshot using a customer-supplied encryption key.
|
Snapshot.Builder |
mergeSourceDiskEncryptionKey(CustomerEncryptionKey value)
The customer-supplied encryption key of the source disk.
|
Snapshot.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Snapshot.Builder |
putAllLabels(Map<String,String> values)
Labels to apply to this snapshot.
|
Snapshot.Builder |
putLabels(String key,
String value)
Labels to apply to this snapshot.
|
Snapshot.Builder |
removeLabels(String key)
Labels to apply to this snapshot.
|
Snapshot.Builder |
setArchitecture(String value)
[Output Only] The architecture of the snapshot.
|
Snapshot.Builder |
setArchitectureBytes(com.google.protobuf.ByteString value)
[Output Only] The architecture of the snapshot.
|
Snapshot.Builder |
setAutoCreated(boolean value)
[Output Only] Set to true if snapshots are automatically created by applying resource policy on the target disk.
|
Snapshot.Builder |
setChainName(String value)
Creates the new snapshot in the snapshot chain labeled with the specified name.
|
Snapshot.Builder |
setChainNameBytes(com.google.protobuf.ByteString value)
Creates the new snapshot in the snapshot chain labeled with the specified name.
|
Snapshot.Builder |
setCreationSizeBytes(long value)
[Output Only] Size in bytes of the snapshot at creation time.
|
Snapshot.Builder |
setCreationTimestamp(String value)
[Output Only] Creation timestamp in RFC3339 text format.
|
Snapshot.Builder |
setCreationTimestampBytes(com.google.protobuf.ByteString value)
[Output Only] Creation timestamp in RFC3339 text format.
|
Snapshot.Builder |
setDescription(String value)
An optional description of this resource.
|
Snapshot.Builder |
setDescriptionBytes(com.google.protobuf.ByteString value)
An optional description of this resource.
|
Snapshot.Builder |
setDiskSizeGb(long value)
[Output Only] Size of the source disk, specified in GB.
|
Snapshot.Builder |
setDownloadBytes(long value)
[Output Only] Number of bytes downloaded to restore a snapshot to a disk.
|
Snapshot.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Snapshot.Builder |
setId(long value)
[Output Only] The unique identifier for the resource.
|
Snapshot.Builder |
setKind(String value)
[Output Only] Type of the resource.
|
Snapshot.Builder |
setKindBytes(com.google.protobuf.ByteString value)
[Output Only] Type of the resource.
|
Snapshot.Builder |
setLabelFingerprint(String value)
A fingerprint for the labels being applied to this snapshot, which is essentially a hash of the labels set used for optimistic locking.
|
Snapshot.Builder |
setLabelFingerprintBytes(com.google.protobuf.ByteString value)
A fingerprint for the labels being applied to this snapshot, which is essentially a hash of the labels set used for optimistic locking.
|
Snapshot.Builder |
setLicenseCodes(int index,
long value)
[Output Only] Integer license codes indicating which licenses are attached to this snapshot.
|
Snapshot.Builder |
setLicenses(int index,
String value)
[Output Only] A list of public visible licenses that apply to this snapshot.
|
Snapshot.Builder |
setLocationHint(String value)
An opaque location hint used to place the snapshot close to other resources.
|
Snapshot.Builder |
setLocationHintBytes(com.google.protobuf.ByteString value)
An opaque location hint used to place the snapshot close to other resources.
|
Snapshot.Builder |
setName(String value)
Name of the resource; provided by the client when the resource is created.
|
Snapshot.Builder |
setNameBytes(com.google.protobuf.ByteString value)
Name of the resource; provided by the client when the resource is created.
|
Snapshot.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
Snapshot.Builder |
setSatisfiesPzs(boolean value)
[Output Only] Reserved for future use.
|
Snapshot.Builder |
setSelfLink(String value)
[Output Only] Server-defined URL for the resource.
|
Snapshot.Builder |
setSelfLinkBytes(com.google.protobuf.ByteString value)
[Output Only] Server-defined URL for the resource.
|
Snapshot.Builder |
setSnapshotEncryptionKey(CustomerEncryptionKey.Builder builderForValue)
Encrypts the snapshot using a customer-supplied encryption key.
|
Snapshot.Builder |
setSnapshotEncryptionKey(CustomerEncryptionKey value)
Encrypts the snapshot using a customer-supplied encryption key.
|
Snapshot.Builder |
setSnapshotType(String value)
Indicates the type of the snapshot.
|
Snapshot.Builder |
setSnapshotTypeBytes(com.google.protobuf.ByteString value)
Indicates the type of the snapshot.
|
Snapshot.Builder |
setSourceDisk(String value)
The source disk used to create this snapshot.
|
Snapshot.Builder |
setSourceDiskBytes(com.google.protobuf.ByteString value)
The source disk used to create this snapshot.
|
Snapshot.Builder |
setSourceDiskEncryptionKey(CustomerEncryptionKey.Builder builderForValue)
The customer-supplied encryption key of the source disk.
|
Snapshot.Builder |
setSourceDiskEncryptionKey(CustomerEncryptionKey value)
The customer-supplied encryption key of the source disk.
|
Snapshot.Builder |
setSourceDiskId(String value)
[Output Only] The ID value of the disk used to create this snapshot.
|
Snapshot.Builder |
setSourceDiskIdBytes(com.google.protobuf.ByteString value)
[Output Only] The ID value of the disk used to create this snapshot.
|
Snapshot.Builder |
setSourceSnapshotSchedulePolicy(String value)
[Output Only] URL of the resource policy which created this scheduled snapshot.
|
Snapshot.Builder |
setSourceSnapshotSchedulePolicyBytes(com.google.protobuf.ByteString value)
[Output Only] URL of the resource policy which created this scheduled snapshot.
|
Snapshot.Builder |
setSourceSnapshotSchedulePolicyId(String value)
[Output Only] ID of the resource policy which created this scheduled snapshot.
|
Snapshot.Builder |
setSourceSnapshotSchedulePolicyIdBytes(com.google.protobuf.ByteString value)
[Output Only] ID of the resource policy which created this scheduled snapshot.
|
Snapshot.Builder |
setStatus(String value)
[Output Only] The status of the snapshot.
|
Snapshot.Builder |
setStatusBytes(com.google.protobuf.ByteString value)
[Output Only] The status of the snapshot.
|
Snapshot.Builder |
setStorageBytes(long value)
[Output Only] A size of the storage used by the snapshot.
|
Snapshot.Builder |
setStorageBytesStatus(String value)
[Output Only] An indicator whether storageBytes is in a stable state or it is being adjusted as a result of shared storage reallocation.
|
Snapshot.Builder |
setStorageBytesStatusBytes(com.google.protobuf.ByteString value)
[Output Only] An indicator whether storageBytes is in a stable state or it is being adjusted as a result of shared storage reallocation.
|
Snapshot.Builder |
setStorageLocations(int index,
String value)
Cloud Storage bucket storage location of the snapshot (regional or multi-regional).
|
Snapshot.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitfindInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.MapField internalGetMapField(int number)
internalGetMapField in class com.google.protobuf.GeneratedMessageV3.Builder<Snapshot.Builder>protected com.google.protobuf.MapField internalGetMutableMapField(int number)
internalGetMutableMapField in class com.google.protobuf.GeneratedMessageV3.Builder<Snapshot.Builder>protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<Snapshot.Builder>public Snapshot.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<Snapshot.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<Snapshot.Builder>public Snapshot getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic Snapshot build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic Snapshot buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic Snapshot.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<Snapshot.Builder>public Snapshot.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<Snapshot.Builder>public Snapshot.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<Snapshot.Builder>public Snapshot.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<Snapshot.Builder>public Snapshot.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Snapshot.Builder>public Snapshot.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Snapshot.Builder>public Snapshot.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<Snapshot.Builder>public Snapshot.Builder mergeFrom(Snapshot other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<Snapshot.Builder>public Snapshot.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<Snapshot.Builder>IOExceptionpublic boolean hasArchitecture()
[Output Only] The architecture of the snapshot. Valid values are ARM64 or X86_64. Check the Architecture enum for the list of possible values.
optional string architecture = 302803283;hasArchitecture in interface SnapshotOrBuilderpublic String getArchitecture()
[Output Only] The architecture of the snapshot. Valid values are ARM64 or X86_64. Check the Architecture enum for the list of possible values.
optional string architecture = 302803283;getArchitecture in interface SnapshotOrBuilderpublic com.google.protobuf.ByteString getArchitectureBytes()
[Output Only] The architecture of the snapshot. Valid values are ARM64 or X86_64. Check the Architecture enum for the list of possible values.
optional string architecture = 302803283;getArchitectureBytes in interface SnapshotOrBuilderpublic Snapshot.Builder setArchitecture(String value)
[Output Only] The architecture of the snapshot. Valid values are ARM64 or X86_64. Check the Architecture enum for the list of possible values.
optional string architecture = 302803283;value - The architecture to set.public Snapshot.Builder clearArchitecture()
[Output Only] The architecture of the snapshot. Valid values are ARM64 or X86_64. Check the Architecture enum for the list of possible values.
optional string architecture = 302803283;public Snapshot.Builder setArchitectureBytes(com.google.protobuf.ByteString value)
[Output Only] The architecture of the snapshot. Valid values are ARM64 or X86_64. Check the Architecture enum for the list of possible values.
optional string architecture = 302803283;value - The bytes for architecture to set.public boolean hasAutoCreated()
[Output Only] Set to true if snapshots are automatically created by applying resource policy on the target disk.
optional bool auto_created = 463922264;hasAutoCreated in interface SnapshotOrBuilderpublic boolean getAutoCreated()
[Output Only] Set to true if snapshots are automatically created by applying resource policy on the target disk.
optional bool auto_created = 463922264;getAutoCreated in interface SnapshotOrBuilderpublic Snapshot.Builder setAutoCreated(boolean value)
[Output Only] Set to true if snapshots are automatically created by applying resource policy on the target disk.
optional bool auto_created = 463922264;value - The autoCreated to set.public Snapshot.Builder clearAutoCreated()
[Output Only] Set to true if snapshots are automatically created by applying resource policy on the target disk.
optional bool auto_created = 463922264;public boolean hasChainName()
Creates the new snapshot in the snapshot chain labeled with the specified name. The chain name must be 1-63 characters long and comply with RFC1035. This is an uncommon option only for advanced service owners who needs to create separate snapshot chains, for example, for chargeback tracking. When you describe your snapshot resource, this field is visible only if it has a non-empty value.
optional string chain_name = 68644169;hasChainName in interface SnapshotOrBuilderpublic String getChainName()
Creates the new snapshot in the snapshot chain labeled with the specified name. The chain name must be 1-63 characters long and comply with RFC1035. This is an uncommon option only for advanced service owners who needs to create separate snapshot chains, for example, for chargeback tracking. When you describe your snapshot resource, this field is visible only if it has a non-empty value.
optional string chain_name = 68644169;getChainName in interface SnapshotOrBuilderpublic com.google.protobuf.ByteString getChainNameBytes()
Creates the new snapshot in the snapshot chain labeled with the specified name. The chain name must be 1-63 characters long and comply with RFC1035. This is an uncommon option only for advanced service owners who needs to create separate snapshot chains, for example, for chargeback tracking. When you describe your snapshot resource, this field is visible only if it has a non-empty value.
optional string chain_name = 68644169;getChainNameBytes in interface SnapshotOrBuilderpublic Snapshot.Builder setChainName(String value)
Creates the new snapshot in the snapshot chain labeled with the specified name. The chain name must be 1-63 characters long and comply with RFC1035. This is an uncommon option only for advanced service owners who needs to create separate snapshot chains, for example, for chargeback tracking. When you describe your snapshot resource, this field is visible only if it has a non-empty value.
optional string chain_name = 68644169;value - The chainName to set.public Snapshot.Builder clearChainName()
Creates the new snapshot in the snapshot chain labeled with the specified name. The chain name must be 1-63 characters long and comply with RFC1035. This is an uncommon option only for advanced service owners who needs to create separate snapshot chains, for example, for chargeback tracking. When you describe your snapshot resource, this field is visible only if it has a non-empty value.
optional string chain_name = 68644169;public Snapshot.Builder setChainNameBytes(com.google.protobuf.ByteString value)
Creates the new snapshot in the snapshot chain labeled with the specified name. The chain name must be 1-63 characters long and comply with RFC1035. This is an uncommon option only for advanced service owners who needs to create separate snapshot chains, for example, for chargeback tracking. When you describe your snapshot resource, this field is visible only if it has a non-empty value.
optional string chain_name = 68644169;value - The bytes for chainName to set.public boolean hasCreationSizeBytes()
[Output Only] Size in bytes of the snapshot at creation time.
optional int64 creation_size_bytes = 125400077;hasCreationSizeBytes in interface SnapshotOrBuilderpublic long getCreationSizeBytes()
[Output Only] Size in bytes of the snapshot at creation time.
optional int64 creation_size_bytes = 125400077;getCreationSizeBytes in interface SnapshotOrBuilderpublic Snapshot.Builder setCreationSizeBytes(long value)
[Output Only] Size in bytes of the snapshot at creation time.
optional int64 creation_size_bytes = 125400077;value - The creationSizeBytes to set.public Snapshot.Builder clearCreationSizeBytes()
[Output Only] Size in bytes of the snapshot at creation time.
optional int64 creation_size_bytes = 125400077;public boolean hasCreationTimestamp()
[Output Only] Creation timestamp in RFC3339 text format.
optional string creation_timestamp = 30525366;hasCreationTimestamp in interface SnapshotOrBuilderpublic String getCreationTimestamp()
[Output Only] Creation timestamp in RFC3339 text format.
optional string creation_timestamp = 30525366;getCreationTimestamp in interface SnapshotOrBuilderpublic com.google.protobuf.ByteString getCreationTimestampBytes()
[Output Only] Creation timestamp in RFC3339 text format.
optional string creation_timestamp = 30525366;getCreationTimestampBytes in interface SnapshotOrBuilderpublic Snapshot.Builder setCreationTimestamp(String value)
[Output Only] Creation timestamp in RFC3339 text format.
optional string creation_timestamp = 30525366;value - The creationTimestamp to set.public Snapshot.Builder clearCreationTimestamp()
[Output Only] Creation timestamp in RFC3339 text format.
optional string creation_timestamp = 30525366;public Snapshot.Builder setCreationTimestampBytes(com.google.protobuf.ByteString value)
[Output Only] Creation timestamp in RFC3339 text format.
optional string creation_timestamp = 30525366;value - The bytes for creationTimestamp to set.public boolean hasDescription()
An optional description of this resource. Provide this property when you create the resource.
optional string description = 422937596;hasDescription in interface SnapshotOrBuilderpublic String getDescription()
An optional description of this resource. Provide this property when you create the resource.
optional string description = 422937596;getDescription in interface SnapshotOrBuilderpublic com.google.protobuf.ByteString getDescriptionBytes()
An optional description of this resource. Provide this property when you create the resource.
optional string description = 422937596;getDescriptionBytes in interface SnapshotOrBuilderpublic Snapshot.Builder setDescription(String value)
An optional description of this resource. Provide this property when you create the resource.
optional string description = 422937596;value - The description to set.public Snapshot.Builder clearDescription()
An optional description of this resource. Provide this property when you create the resource.
optional string description = 422937596;public Snapshot.Builder setDescriptionBytes(com.google.protobuf.ByteString value)
An optional description of this resource. Provide this property when you create the resource.
optional string description = 422937596;value - The bytes for description to set.public boolean hasDiskSizeGb()
[Output Only] Size of the source disk, specified in GB.
optional int64 disk_size_gb = 316263735;hasDiskSizeGb in interface SnapshotOrBuilderpublic long getDiskSizeGb()
[Output Only] Size of the source disk, specified in GB.
optional int64 disk_size_gb = 316263735;getDiskSizeGb in interface SnapshotOrBuilderpublic Snapshot.Builder setDiskSizeGb(long value)
[Output Only] Size of the source disk, specified in GB.
optional int64 disk_size_gb = 316263735;value - The diskSizeGb to set.public Snapshot.Builder clearDiskSizeGb()
[Output Only] Size of the source disk, specified in GB.
optional int64 disk_size_gb = 316263735;public boolean hasDownloadBytes()
[Output Only] Number of bytes downloaded to restore a snapshot to a disk.
optional int64 download_bytes = 435054068;hasDownloadBytes in interface SnapshotOrBuilderpublic long getDownloadBytes()
[Output Only] Number of bytes downloaded to restore a snapshot to a disk.
optional int64 download_bytes = 435054068;getDownloadBytes in interface SnapshotOrBuilderpublic Snapshot.Builder setDownloadBytes(long value)
[Output Only] Number of bytes downloaded to restore a snapshot to a disk.
optional int64 download_bytes = 435054068;value - The downloadBytes to set.public Snapshot.Builder clearDownloadBytes()
[Output Only] Number of bytes downloaded to restore a snapshot to a disk.
optional int64 download_bytes = 435054068;public boolean hasId()
[Output Only] The unique identifier for the resource. This identifier is defined by the server.
optional uint64 id = 3355;hasId in interface SnapshotOrBuilderpublic long getId()
[Output Only] The unique identifier for the resource. This identifier is defined by the server.
optional uint64 id = 3355;getId in interface SnapshotOrBuilderpublic Snapshot.Builder setId(long value)
[Output Only] The unique identifier for the resource. This identifier is defined by the server.
optional uint64 id = 3355;value - The id to set.public Snapshot.Builder clearId()
[Output Only] The unique identifier for the resource. This identifier is defined by the server.
optional uint64 id = 3355;public boolean hasKind()
[Output Only] Type of the resource. Always compute#snapshot for Snapshot resources.
optional string kind = 3292052;hasKind in interface SnapshotOrBuilderpublic String getKind()
[Output Only] Type of the resource. Always compute#snapshot for Snapshot resources.
optional string kind = 3292052;getKind in interface SnapshotOrBuilderpublic com.google.protobuf.ByteString getKindBytes()
[Output Only] Type of the resource. Always compute#snapshot for Snapshot resources.
optional string kind = 3292052;getKindBytes in interface SnapshotOrBuilderpublic Snapshot.Builder setKind(String value)
[Output Only] Type of the resource. Always compute#snapshot for Snapshot resources.
optional string kind = 3292052;value - The kind to set.public Snapshot.Builder clearKind()
[Output Only] Type of the resource. Always compute#snapshot for Snapshot resources.
optional string kind = 3292052;public Snapshot.Builder setKindBytes(com.google.protobuf.ByteString value)
[Output Only] Type of the resource. Always compute#snapshot for Snapshot resources.
optional string kind = 3292052;value - The bytes for kind to set.public boolean hasLabelFingerprint()
A fingerprint for the labels being applied to this snapshot, which is essentially a hash of the labels set used for optimistic locking. The fingerprint is initially generated by Compute Engine and changes after every request to modify or update labels. You must always provide an up-to-date fingerprint hash in order to update or change labels, otherwise the request will fail with error 412 conditionNotMet. To see the latest fingerprint, make a get() request to retrieve a snapshot.
optional string label_fingerprint = 178124825;hasLabelFingerprint in interface SnapshotOrBuilderpublic String getLabelFingerprint()
A fingerprint for the labels being applied to this snapshot, which is essentially a hash of the labels set used for optimistic locking. The fingerprint is initially generated by Compute Engine and changes after every request to modify or update labels. You must always provide an up-to-date fingerprint hash in order to update or change labels, otherwise the request will fail with error 412 conditionNotMet. To see the latest fingerprint, make a get() request to retrieve a snapshot.
optional string label_fingerprint = 178124825;getLabelFingerprint in interface SnapshotOrBuilderpublic com.google.protobuf.ByteString getLabelFingerprintBytes()
A fingerprint for the labels being applied to this snapshot, which is essentially a hash of the labels set used for optimistic locking. The fingerprint is initially generated by Compute Engine and changes after every request to modify or update labels. You must always provide an up-to-date fingerprint hash in order to update or change labels, otherwise the request will fail with error 412 conditionNotMet. To see the latest fingerprint, make a get() request to retrieve a snapshot.
optional string label_fingerprint = 178124825;getLabelFingerprintBytes in interface SnapshotOrBuilderpublic Snapshot.Builder setLabelFingerprint(String value)
A fingerprint for the labels being applied to this snapshot, which is essentially a hash of the labels set used for optimistic locking. The fingerprint is initially generated by Compute Engine and changes after every request to modify or update labels. You must always provide an up-to-date fingerprint hash in order to update or change labels, otherwise the request will fail with error 412 conditionNotMet. To see the latest fingerprint, make a get() request to retrieve a snapshot.
optional string label_fingerprint = 178124825;value - The labelFingerprint to set.public Snapshot.Builder clearLabelFingerprint()
A fingerprint for the labels being applied to this snapshot, which is essentially a hash of the labels set used for optimistic locking. The fingerprint is initially generated by Compute Engine and changes after every request to modify or update labels. You must always provide an up-to-date fingerprint hash in order to update or change labels, otherwise the request will fail with error 412 conditionNotMet. To see the latest fingerprint, make a get() request to retrieve a snapshot.
optional string label_fingerprint = 178124825;public Snapshot.Builder setLabelFingerprintBytes(com.google.protobuf.ByteString value)
A fingerprint for the labels being applied to this snapshot, which is essentially a hash of the labels set used for optimistic locking. The fingerprint is initially generated by Compute Engine and changes after every request to modify or update labels. You must always provide an up-to-date fingerprint hash in order to update or change labels, otherwise the request will fail with error 412 conditionNotMet. To see the latest fingerprint, make a get() request to retrieve a snapshot.
optional string label_fingerprint = 178124825;value - The bytes for labelFingerprint to set.public int getLabelsCount()
SnapshotOrBuilderLabels to apply to this snapshot. These can be later modified by the setLabels method. Label values may be empty.
map<string, string> labels = 500195327;getLabelsCount in interface SnapshotOrBuilderpublic boolean containsLabels(String key)
Labels to apply to this snapshot. These can be later modified by the setLabels method. Label values may be empty.
map<string, string> labels = 500195327;containsLabels in interface SnapshotOrBuilder@Deprecated public Map<String,String> getLabels()
getLabelsMap() instead.getLabels in interface SnapshotOrBuilderpublic Map<String,String> getLabelsMap()
Labels to apply to this snapshot. These can be later modified by the setLabels method. Label values may be empty.
map<string, string> labels = 500195327;getLabelsMap in interface SnapshotOrBuilderpublic String getLabelsOrDefault(String key, String defaultValue)
Labels to apply to this snapshot. These can be later modified by the setLabels method. Label values may be empty.
map<string, string> labels = 500195327;getLabelsOrDefault in interface SnapshotOrBuilderpublic String getLabelsOrThrow(String key)
Labels to apply to this snapshot. These can be later modified by the setLabels method. Label values may be empty.
map<string, string> labels = 500195327;getLabelsOrThrow in interface SnapshotOrBuilderpublic Snapshot.Builder clearLabels()
public Snapshot.Builder removeLabels(String key)
Labels to apply to this snapshot. These can be later modified by the setLabels method. Label values may be empty.
map<string, string> labels = 500195327;@Deprecated public Map<String,String> getMutableLabels()
public Snapshot.Builder putLabels(String key, String value)
Labels to apply to this snapshot. These can be later modified by the setLabels method. Label values may be empty.
map<string, string> labels = 500195327;public Snapshot.Builder putAllLabels(Map<String,String> values)
Labels to apply to this snapshot. These can be later modified by the setLabels method. Label values may be empty.
map<string, string> labels = 500195327;public List<Long> getLicenseCodesList()
[Output Only] Integer license codes indicating which licenses are attached to this snapshot.
repeated int64 license_codes = 45482664;getLicenseCodesList in interface SnapshotOrBuilderpublic int getLicenseCodesCount()
[Output Only] Integer license codes indicating which licenses are attached to this snapshot.
repeated int64 license_codes = 45482664;getLicenseCodesCount in interface SnapshotOrBuilderpublic long getLicenseCodes(int index)
[Output Only] Integer license codes indicating which licenses are attached to this snapshot.
repeated int64 license_codes = 45482664;getLicenseCodes in interface SnapshotOrBuilderindex - The index of the element to return.public Snapshot.Builder setLicenseCodes(int index, long value)
[Output Only] Integer license codes indicating which licenses are attached to this snapshot.
repeated int64 license_codes = 45482664;index - The index to set the value at.value - The licenseCodes to set.public Snapshot.Builder addLicenseCodes(long value)
[Output Only] Integer license codes indicating which licenses are attached to this snapshot.
repeated int64 license_codes = 45482664;value - The licenseCodes to add.public Snapshot.Builder addAllLicenseCodes(Iterable<? extends Long> values)
[Output Only] Integer license codes indicating which licenses are attached to this snapshot.
repeated int64 license_codes = 45482664;values - The licenseCodes to add.public Snapshot.Builder clearLicenseCodes()
[Output Only] Integer license codes indicating which licenses are attached to this snapshot.
repeated int64 license_codes = 45482664;public com.google.protobuf.ProtocolStringList getLicensesList()
[Output Only] A list of public visible licenses that apply to this snapshot. This can be because the original image had licenses attached (such as a Windows image).
repeated string licenses = 337642578;getLicensesList in interface SnapshotOrBuilderpublic int getLicensesCount()
[Output Only] A list of public visible licenses that apply to this snapshot. This can be because the original image had licenses attached (such as a Windows image).
repeated string licenses = 337642578;getLicensesCount in interface SnapshotOrBuilderpublic String getLicenses(int index)
[Output Only] A list of public visible licenses that apply to this snapshot. This can be because the original image had licenses attached (such as a Windows image).
repeated string licenses = 337642578;getLicenses in interface SnapshotOrBuilderindex - The index of the element to return.public com.google.protobuf.ByteString getLicensesBytes(int index)
[Output Only] A list of public visible licenses that apply to this snapshot. This can be because the original image had licenses attached (such as a Windows image).
repeated string licenses = 337642578;getLicensesBytes in interface SnapshotOrBuilderindex - The index of the value to return.public Snapshot.Builder setLicenses(int index, String value)
[Output Only] A list of public visible licenses that apply to this snapshot. This can be because the original image had licenses attached (such as a Windows image).
repeated string licenses = 337642578;index - The index to set the value at.value - The licenses to set.public Snapshot.Builder addLicenses(String value)
[Output Only] A list of public visible licenses that apply to this snapshot. This can be because the original image had licenses attached (such as a Windows image).
repeated string licenses = 337642578;value - The licenses to add.public Snapshot.Builder addAllLicenses(Iterable<String> values)
[Output Only] A list of public visible licenses that apply to this snapshot. This can be because the original image had licenses attached (such as a Windows image).
repeated string licenses = 337642578;values - The licenses to add.public Snapshot.Builder clearLicenses()
[Output Only] A list of public visible licenses that apply to this snapshot. This can be because the original image had licenses attached (such as a Windows image).
repeated string licenses = 337642578;public Snapshot.Builder addLicensesBytes(com.google.protobuf.ByteString value)
[Output Only] A list of public visible licenses that apply to this snapshot. This can be because the original image had licenses attached (such as a Windows image).
repeated string licenses = 337642578;value - The bytes of the licenses to add.public boolean hasLocationHint()
An opaque location hint used to place the snapshot close to other resources. This field is for use by internal tools that use the public API.
optional string location_hint = 350519505;hasLocationHint in interface SnapshotOrBuilderpublic String getLocationHint()
An opaque location hint used to place the snapshot close to other resources. This field is for use by internal tools that use the public API.
optional string location_hint = 350519505;getLocationHint in interface SnapshotOrBuilderpublic com.google.protobuf.ByteString getLocationHintBytes()
An opaque location hint used to place the snapshot close to other resources. This field is for use by internal tools that use the public API.
optional string location_hint = 350519505;getLocationHintBytes in interface SnapshotOrBuilderpublic Snapshot.Builder setLocationHint(String value)
An opaque location hint used to place the snapshot close to other resources. This field is for use by internal tools that use the public API.
optional string location_hint = 350519505;value - The locationHint to set.public Snapshot.Builder clearLocationHint()
An opaque location hint used to place the snapshot close to other resources. This field is for use by internal tools that use the public API.
optional string location_hint = 350519505;public Snapshot.Builder setLocationHintBytes(com.google.protobuf.ByteString value)
An opaque location hint used to place the snapshot close to other resources. This field is for use by internal tools that use the public API.
optional string location_hint = 350519505;value - The bytes for locationHint to set.public boolean hasName()
Name of the resource; provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.
optional string name = 3373707;hasName in interface SnapshotOrBuilderpublic String getName()
Name of the resource; provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.
optional string name = 3373707;getName in interface SnapshotOrBuilderpublic com.google.protobuf.ByteString getNameBytes()
Name of the resource; provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.
optional string name = 3373707;getNameBytes in interface SnapshotOrBuilderpublic Snapshot.Builder setName(String value)
Name of the resource; provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.
optional string name = 3373707;value - The name to set.public Snapshot.Builder clearName()
Name of the resource; provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.
optional string name = 3373707;public Snapshot.Builder setNameBytes(com.google.protobuf.ByteString value)
Name of the resource; provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.
optional string name = 3373707;value - The bytes for name to set.public boolean hasSatisfiesPzs()
[Output Only] Reserved for future use.
optional bool satisfies_pzs = 480964267;hasSatisfiesPzs in interface SnapshotOrBuilderpublic boolean getSatisfiesPzs()
[Output Only] Reserved for future use.
optional bool satisfies_pzs = 480964267;getSatisfiesPzs in interface SnapshotOrBuilderpublic Snapshot.Builder setSatisfiesPzs(boolean value)
[Output Only] Reserved for future use.
optional bool satisfies_pzs = 480964267;value - The satisfiesPzs to set.public Snapshot.Builder clearSatisfiesPzs()
[Output Only] Reserved for future use.
optional bool satisfies_pzs = 480964267;public boolean hasSelfLink()
[Output Only] Server-defined URL for the resource.
optional string self_link = 456214797;hasSelfLink in interface SnapshotOrBuilderpublic String getSelfLink()
[Output Only] Server-defined URL for the resource.
optional string self_link = 456214797;getSelfLink in interface SnapshotOrBuilderpublic com.google.protobuf.ByteString getSelfLinkBytes()
[Output Only] Server-defined URL for the resource.
optional string self_link = 456214797;getSelfLinkBytes in interface SnapshotOrBuilderpublic Snapshot.Builder setSelfLink(String value)
[Output Only] Server-defined URL for the resource.
optional string self_link = 456214797;value - The selfLink to set.public Snapshot.Builder clearSelfLink()
[Output Only] Server-defined URL for the resource.
optional string self_link = 456214797;public Snapshot.Builder setSelfLinkBytes(com.google.protobuf.ByteString value)
[Output Only] Server-defined URL for the resource.
optional string self_link = 456214797;value - The bytes for selfLink to set.public boolean hasSnapshotEncryptionKey()
Encrypts the snapshot using a customer-supplied encryption key. After you encrypt a snapshot using a customer-supplied key, you must provide the same key if you use the snapshot later. For example, you must provide the encryption key when you create a disk from the encrypted snapshot in a future request. Customer-supplied encryption keys do not protect access to metadata of the snapshot. If you do not provide an encryption key when creating the snapshot, then the snapshot will be encrypted using an automatically generated key and you do not need to provide a key to use the snapshot later.
optional .google.cloud.compute.v1.CustomerEncryptionKey snapshot_encryption_key = 43334526;
hasSnapshotEncryptionKey in interface SnapshotOrBuilderpublic CustomerEncryptionKey getSnapshotEncryptionKey()
Encrypts the snapshot using a customer-supplied encryption key. After you encrypt a snapshot using a customer-supplied key, you must provide the same key if you use the snapshot later. For example, you must provide the encryption key when you create a disk from the encrypted snapshot in a future request. Customer-supplied encryption keys do not protect access to metadata of the snapshot. If you do not provide an encryption key when creating the snapshot, then the snapshot will be encrypted using an automatically generated key and you do not need to provide a key to use the snapshot later.
optional .google.cloud.compute.v1.CustomerEncryptionKey snapshot_encryption_key = 43334526;
getSnapshotEncryptionKey in interface SnapshotOrBuilderpublic Snapshot.Builder setSnapshotEncryptionKey(CustomerEncryptionKey value)
Encrypts the snapshot using a customer-supplied encryption key. After you encrypt a snapshot using a customer-supplied key, you must provide the same key if you use the snapshot later. For example, you must provide the encryption key when you create a disk from the encrypted snapshot in a future request. Customer-supplied encryption keys do not protect access to metadata of the snapshot. If you do not provide an encryption key when creating the snapshot, then the snapshot will be encrypted using an automatically generated key and you do not need to provide a key to use the snapshot later.
optional .google.cloud.compute.v1.CustomerEncryptionKey snapshot_encryption_key = 43334526;
public Snapshot.Builder setSnapshotEncryptionKey(CustomerEncryptionKey.Builder builderForValue)
Encrypts the snapshot using a customer-supplied encryption key. After you encrypt a snapshot using a customer-supplied key, you must provide the same key if you use the snapshot later. For example, you must provide the encryption key when you create a disk from the encrypted snapshot in a future request. Customer-supplied encryption keys do not protect access to metadata of the snapshot. If you do not provide an encryption key when creating the snapshot, then the snapshot will be encrypted using an automatically generated key and you do not need to provide a key to use the snapshot later.
optional .google.cloud.compute.v1.CustomerEncryptionKey snapshot_encryption_key = 43334526;
public Snapshot.Builder mergeSnapshotEncryptionKey(CustomerEncryptionKey value)
Encrypts the snapshot using a customer-supplied encryption key. After you encrypt a snapshot using a customer-supplied key, you must provide the same key if you use the snapshot later. For example, you must provide the encryption key when you create a disk from the encrypted snapshot in a future request. Customer-supplied encryption keys do not protect access to metadata of the snapshot. If you do not provide an encryption key when creating the snapshot, then the snapshot will be encrypted using an automatically generated key and you do not need to provide a key to use the snapshot later.
optional .google.cloud.compute.v1.CustomerEncryptionKey snapshot_encryption_key = 43334526;
public Snapshot.Builder clearSnapshotEncryptionKey()
Encrypts the snapshot using a customer-supplied encryption key. After you encrypt a snapshot using a customer-supplied key, you must provide the same key if you use the snapshot later. For example, you must provide the encryption key when you create a disk from the encrypted snapshot in a future request. Customer-supplied encryption keys do not protect access to metadata of the snapshot. If you do not provide an encryption key when creating the snapshot, then the snapshot will be encrypted using an automatically generated key and you do not need to provide a key to use the snapshot later.
optional .google.cloud.compute.v1.CustomerEncryptionKey snapshot_encryption_key = 43334526;
public CustomerEncryptionKey.Builder getSnapshotEncryptionKeyBuilder()
Encrypts the snapshot using a customer-supplied encryption key. After you encrypt a snapshot using a customer-supplied key, you must provide the same key if you use the snapshot later. For example, you must provide the encryption key when you create a disk from the encrypted snapshot in a future request. Customer-supplied encryption keys do not protect access to metadata of the snapshot. If you do not provide an encryption key when creating the snapshot, then the snapshot will be encrypted using an automatically generated key and you do not need to provide a key to use the snapshot later.
optional .google.cloud.compute.v1.CustomerEncryptionKey snapshot_encryption_key = 43334526;
public CustomerEncryptionKeyOrBuilder getSnapshotEncryptionKeyOrBuilder()
Encrypts the snapshot using a customer-supplied encryption key. After you encrypt a snapshot using a customer-supplied key, you must provide the same key if you use the snapshot later. For example, you must provide the encryption key when you create a disk from the encrypted snapshot in a future request. Customer-supplied encryption keys do not protect access to metadata of the snapshot. If you do not provide an encryption key when creating the snapshot, then the snapshot will be encrypted using an automatically generated key and you do not need to provide a key to use the snapshot later.
optional .google.cloud.compute.v1.CustomerEncryptionKey snapshot_encryption_key = 43334526;
getSnapshotEncryptionKeyOrBuilder in interface SnapshotOrBuilderpublic boolean hasSnapshotType()
Indicates the type of the snapshot. Check the SnapshotType enum for the list of possible values.
optional string snapshot_type = 124349653;hasSnapshotType in interface SnapshotOrBuilderpublic String getSnapshotType()
Indicates the type of the snapshot. Check the SnapshotType enum for the list of possible values.
optional string snapshot_type = 124349653;getSnapshotType in interface SnapshotOrBuilderpublic com.google.protobuf.ByteString getSnapshotTypeBytes()
Indicates the type of the snapshot. Check the SnapshotType enum for the list of possible values.
optional string snapshot_type = 124349653;getSnapshotTypeBytes in interface SnapshotOrBuilderpublic Snapshot.Builder setSnapshotType(String value)
Indicates the type of the snapshot. Check the SnapshotType enum for the list of possible values.
optional string snapshot_type = 124349653;value - The snapshotType to set.public Snapshot.Builder clearSnapshotType()
Indicates the type of the snapshot. Check the SnapshotType enum for the list of possible values.
optional string snapshot_type = 124349653;public Snapshot.Builder setSnapshotTypeBytes(com.google.protobuf.ByteString value)
Indicates the type of the snapshot. Check the SnapshotType enum for the list of possible values.
optional string snapshot_type = 124349653;value - The bytes for snapshotType to set.public boolean hasSourceDisk()
The source disk used to create this snapshot.
optional string source_disk = 451753793;hasSourceDisk in interface SnapshotOrBuilderpublic String getSourceDisk()
The source disk used to create this snapshot.
optional string source_disk = 451753793;getSourceDisk in interface SnapshotOrBuilderpublic com.google.protobuf.ByteString getSourceDiskBytes()
The source disk used to create this snapshot.
optional string source_disk = 451753793;getSourceDiskBytes in interface SnapshotOrBuilderpublic Snapshot.Builder setSourceDisk(String value)
The source disk used to create this snapshot.
optional string source_disk = 451753793;value - The sourceDisk to set.public Snapshot.Builder clearSourceDisk()
The source disk used to create this snapshot.
optional string source_disk = 451753793;public Snapshot.Builder setSourceDiskBytes(com.google.protobuf.ByteString value)
The source disk used to create this snapshot.
optional string source_disk = 451753793;value - The bytes for sourceDisk to set.public boolean hasSourceDiskEncryptionKey()
The customer-supplied encryption key of the source disk. Required if the source disk is protected by a customer-supplied encryption key.
optional .google.cloud.compute.v1.CustomerEncryptionKey source_disk_encryption_key = 531501153;
hasSourceDiskEncryptionKey in interface SnapshotOrBuilderpublic CustomerEncryptionKey getSourceDiskEncryptionKey()
The customer-supplied encryption key of the source disk. Required if the source disk is protected by a customer-supplied encryption key.
optional .google.cloud.compute.v1.CustomerEncryptionKey source_disk_encryption_key = 531501153;
getSourceDiskEncryptionKey in interface SnapshotOrBuilderpublic Snapshot.Builder setSourceDiskEncryptionKey(CustomerEncryptionKey value)
The customer-supplied encryption key of the source disk. Required if the source disk is protected by a customer-supplied encryption key.
optional .google.cloud.compute.v1.CustomerEncryptionKey source_disk_encryption_key = 531501153;
public Snapshot.Builder setSourceDiskEncryptionKey(CustomerEncryptionKey.Builder builderForValue)
The customer-supplied encryption key of the source disk. Required if the source disk is protected by a customer-supplied encryption key.
optional .google.cloud.compute.v1.CustomerEncryptionKey source_disk_encryption_key = 531501153;
public Snapshot.Builder mergeSourceDiskEncryptionKey(CustomerEncryptionKey value)
The customer-supplied encryption key of the source disk. Required if the source disk is protected by a customer-supplied encryption key.
optional .google.cloud.compute.v1.CustomerEncryptionKey source_disk_encryption_key = 531501153;
public Snapshot.Builder clearSourceDiskEncryptionKey()
The customer-supplied encryption key of the source disk. Required if the source disk is protected by a customer-supplied encryption key.
optional .google.cloud.compute.v1.CustomerEncryptionKey source_disk_encryption_key = 531501153;
public CustomerEncryptionKey.Builder getSourceDiskEncryptionKeyBuilder()
The customer-supplied encryption key of the source disk. Required if the source disk is protected by a customer-supplied encryption key.
optional .google.cloud.compute.v1.CustomerEncryptionKey source_disk_encryption_key = 531501153;
public CustomerEncryptionKeyOrBuilder getSourceDiskEncryptionKeyOrBuilder()
The customer-supplied encryption key of the source disk. Required if the source disk is protected by a customer-supplied encryption key.
optional .google.cloud.compute.v1.CustomerEncryptionKey source_disk_encryption_key = 531501153;
getSourceDiskEncryptionKeyOrBuilder in interface SnapshotOrBuilderpublic boolean hasSourceDiskId()
[Output Only] The ID value of the disk used to create this snapshot. This value may be used to determine whether the snapshot was taken from the current or a previous instance of a given disk name.
optional string source_disk_id = 454190809;hasSourceDiskId in interface SnapshotOrBuilderpublic String getSourceDiskId()
[Output Only] The ID value of the disk used to create this snapshot. This value may be used to determine whether the snapshot was taken from the current or a previous instance of a given disk name.
optional string source_disk_id = 454190809;getSourceDiskId in interface SnapshotOrBuilderpublic com.google.protobuf.ByteString getSourceDiskIdBytes()
[Output Only] The ID value of the disk used to create this snapshot. This value may be used to determine whether the snapshot was taken from the current or a previous instance of a given disk name.
optional string source_disk_id = 454190809;getSourceDiskIdBytes in interface SnapshotOrBuilderpublic Snapshot.Builder setSourceDiskId(String value)
[Output Only] The ID value of the disk used to create this snapshot. This value may be used to determine whether the snapshot was taken from the current or a previous instance of a given disk name.
optional string source_disk_id = 454190809;value - The sourceDiskId to set.public Snapshot.Builder clearSourceDiskId()
[Output Only] The ID value of the disk used to create this snapshot. This value may be used to determine whether the snapshot was taken from the current or a previous instance of a given disk name.
optional string source_disk_id = 454190809;public Snapshot.Builder setSourceDiskIdBytes(com.google.protobuf.ByteString value)
[Output Only] The ID value of the disk used to create this snapshot. This value may be used to determine whether the snapshot was taken from the current or a previous instance of a given disk name.
optional string source_disk_id = 454190809;value - The bytes for sourceDiskId to set.public boolean hasSourceSnapshotSchedulePolicy()
[Output Only] URL of the resource policy which created this scheduled snapshot.
optional string source_snapshot_schedule_policy = 235756291;hasSourceSnapshotSchedulePolicy in interface SnapshotOrBuilderpublic String getSourceSnapshotSchedulePolicy()
[Output Only] URL of the resource policy which created this scheduled snapshot.
optional string source_snapshot_schedule_policy = 235756291;getSourceSnapshotSchedulePolicy in interface SnapshotOrBuilderpublic com.google.protobuf.ByteString getSourceSnapshotSchedulePolicyBytes()
[Output Only] URL of the resource policy which created this scheduled snapshot.
optional string source_snapshot_schedule_policy = 235756291;getSourceSnapshotSchedulePolicyBytes in interface SnapshotOrBuilderpublic Snapshot.Builder setSourceSnapshotSchedulePolicy(String value)
[Output Only] URL of the resource policy which created this scheduled snapshot.
optional string source_snapshot_schedule_policy = 235756291;value - The sourceSnapshotSchedulePolicy to set.public Snapshot.Builder clearSourceSnapshotSchedulePolicy()
[Output Only] URL of the resource policy which created this scheduled snapshot.
optional string source_snapshot_schedule_policy = 235756291;public Snapshot.Builder setSourceSnapshotSchedulePolicyBytes(com.google.protobuf.ByteString value)
[Output Only] URL of the resource policy which created this scheduled snapshot.
optional string source_snapshot_schedule_policy = 235756291;value - The bytes for sourceSnapshotSchedulePolicy to set.public boolean hasSourceSnapshotSchedulePolicyId()
[Output Only] ID of the resource policy which created this scheduled snapshot.
optional string source_snapshot_schedule_policy_id = 70489047;hasSourceSnapshotSchedulePolicyId in interface SnapshotOrBuilderpublic String getSourceSnapshotSchedulePolicyId()
[Output Only] ID of the resource policy which created this scheduled snapshot.
optional string source_snapshot_schedule_policy_id = 70489047;getSourceSnapshotSchedulePolicyId in interface SnapshotOrBuilderpublic com.google.protobuf.ByteString getSourceSnapshotSchedulePolicyIdBytes()
[Output Only] ID of the resource policy which created this scheduled snapshot.
optional string source_snapshot_schedule_policy_id = 70489047;getSourceSnapshotSchedulePolicyIdBytes in interface SnapshotOrBuilderpublic Snapshot.Builder setSourceSnapshotSchedulePolicyId(String value)
[Output Only] ID of the resource policy which created this scheduled snapshot.
optional string source_snapshot_schedule_policy_id = 70489047;value - The sourceSnapshotSchedulePolicyId to set.public Snapshot.Builder clearSourceSnapshotSchedulePolicyId()
[Output Only] ID of the resource policy which created this scheduled snapshot.
optional string source_snapshot_schedule_policy_id = 70489047;public Snapshot.Builder setSourceSnapshotSchedulePolicyIdBytes(com.google.protobuf.ByteString value)
[Output Only] ID of the resource policy which created this scheduled snapshot.
optional string source_snapshot_schedule_policy_id = 70489047;value - The bytes for sourceSnapshotSchedulePolicyId to set.public boolean hasStatus()
[Output Only] The status of the snapshot. This can be CREATING, DELETING, FAILED, READY, or UPLOADING. Check the Status enum for the list of possible values.
optional string status = 181260274;hasStatus in interface SnapshotOrBuilderpublic String getStatus()
[Output Only] The status of the snapshot. This can be CREATING, DELETING, FAILED, READY, or UPLOADING. Check the Status enum for the list of possible values.
optional string status = 181260274;getStatus in interface SnapshotOrBuilderpublic com.google.protobuf.ByteString getStatusBytes()
[Output Only] The status of the snapshot. This can be CREATING, DELETING, FAILED, READY, or UPLOADING. Check the Status enum for the list of possible values.
optional string status = 181260274;getStatusBytes in interface SnapshotOrBuilderpublic Snapshot.Builder setStatus(String value)
[Output Only] The status of the snapshot. This can be CREATING, DELETING, FAILED, READY, or UPLOADING. Check the Status enum for the list of possible values.
optional string status = 181260274;value - The status to set.public Snapshot.Builder clearStatus()
[Output Only] The status of the snapshot. This can be CREATING, DELETING, FAILED, READY, or UPLOADING. Check the Status enum for the list of possible values.
optional string status = 181260274;public Snapshot.Builder setStatusBytes(com.google.protobuf.ByteString value)
[Output Only] The status of the snapshot. This can be CREATING, DELETING, FAILED, READY, or UPLOADING. Check the Status enum for the list of possible values.
optional string status = 181260274;value - The bytes for status to set.public boolean hasStorageBytes()
[Output Only] A size of the storage used by the snapshot. As snapshots share storage, this number is expected to change with snapshot creation/deletion.
optional int64 storage_bytes = 424631719;hasStorageBytes in interface SnapshotOrBuilderpublic long getStorageBytes()
[Output Only] A size of the storage used by the snapshot. As snapshots share storage, this number is expected to change with snapshot creation/deletion.
optional int64 storage_bytes = 424631719;getStorageBytes in interface SnapshotOrBuilderpublic Snapshot.Builder setStorageBytes(long value)
[Output Only] A size of the storage used by the snapshot. As snapshots share storage, this number is expected to change with snapshot creation/deletion.
optional int64 storage_bytes = 424631719;value - The storageBytes to set.public Snapshot.Builder clearStorageBytes()
[Output Only] A size of the storage used by the snapshot. As snapshots share storage, this number is expected to change with snapshot creation/deletion.
optional int64 storage_bytes = 424631719;public boolean hasStorageBytesStatus()
[Output Only] An indicator whether storageBytes is in a stable state or it is being adjusted as a result of shared storage reallocation. This status can either be UPDATING, meaning the size of the snapshot is being updated, or UP_TO_DATE, meaning the size of the snapshot is up-to-date. Check the StorageBytesStatus enum for the list of possible values.
optional string storage_bytes_status = 490739082;hasStorageBytesStatus in interface SnapshotOrBuilderpublic String getStorageBytesStatus()
[Output Only] An indicator whether storageBytes is in a stable state or it is being adjusted as a result of shared storage reallocation. This status can either be UPDATING, meaning the size of the snapshot is being updated, or UP_TO_DATE, meaning the size of the snapshot is up-to-date. Check the StorageBytesStatus enum for the list of possible values.
optional string storage_bytes_status = 490739082;getStorageBytesStatus in interface SnapshotOrBuilderpublic com.google.protobuf.ByteString getStorageBytesStatusBytes()
[Output Only] An indicator whether storageBytes is in a stable state or it is being adjusted as a result of shared storage reallocation. This status can either be UPDATING, meaning the size of the snapshot is being updated, or UP_TO_DATE, meaning the size of the snapshot is up-to-date. Check the StorageBytesStatus enum for the list of possible values.
optional string storage_bytes_status = 490739082;getStorageBytesStatusBytes in interface SnapshotOrBuilderpublic Snapshot.Builder setStorageBytesStatus(String value)
[Output Only] An indicator whether storageBytes is in a stable state or it is being adjusted as a result of shared storage reallocation. This status can either be UPDATING, meaning the size of the snapshot is being updated, or UP_TO_DATE, meaning the size of the snapshot is up-to-date. Check the StorageBytesStatus enum for the list of possible values.
optional string storage_bytes_status = 490739082;value - The storageBytesStatus to set.public Snapshot.Builder clearStorageBytesStatus()
[Output Only] An indicator whether storageBytes is in a stable state or it is being adjusted as a result of shared storage reallocation. This status can either be UPDATING, meaning the size of the snapshot is being updated, or UP_TO_DATE, meaning the size of the snapshot is up-to-date. Check the StorageBytesStatus enum for the list of possible values.
optional string storage_bytes_status = 490739082;public Snapshot.Builder setStorageBytesStatusBytes(com.google.protobuf.ByteString value)
[Output Only] An indicator whether storageBytes is in a stable state or it is being adjusted as a result of shared storage reallocation. This status can either be UPDATING, meaning the size of the snapshot is being updated, or UP_TO_DATE, meaning the size of the snapshot is up-to-date. Check the StorageBytesStatus enum for the list of possible values.
optional string storage_bytes_status = 490739082;value - The bytes for storageBytesStatus to set.public com.google.protobuf.ProtocolStringList getStorageLocationsList()
Cloud Storage bucket storage location of the snapshot (regional or multi-regional).
repeated string storage_locations = 328005274;getStorageLocationsList in interface SnapshotOrBuilderpublic int getStorageLocationsCount()
Cloud Storage bucket storage location of the snapshot (regional or multi-regional).
repeated string storage_locations = 328005274;getStorageLocationsCount in interface SnapshotOrBuilderpublic String getStorageLocations(int index)
Cloud Storage bucket storage location of the snapshot (regional or multi-regional).
repeated string storage_locations = 328005274;getStorageLocations in interface SnapshotOrBuilderindex - The index of the element to return.public com.google.protobuf.ByteString getStorageLocationsBytes(int index)
Cloud Storage bucket storage location of the snapshot (regional or multi-regional).
repeated string storage_locations = 328005274;getStorageLocationsBytes in interface SnapshotOrBuilderindex - The index of the value to return.public Snapshot.Builder setStorageLocations(int index, String value)
Cloud Storage bucket storage location of the snapshot (regional or multi-regional).
repeated string storage_locations = 328005274;index - The index to set the value at.value - The storageLocations to set.public Snapshot.Builder addStorageLocations(String value)
Cloud Storage bucket storage location of the snapshot (regional or multi-regional).
repeated string storage_locations = 328005274;value - The storageLocations to add.public Snapshot.Builder addAllStorageLocations(Iterable<String> values)
Cloud Storage bucket storage location of the snapshot (regional or multi-regional).
repeated string storage_locations = 328005274;values - The storageLocations to add.public Snapshot.Builder clearStorageLocations()
Cloud Storage bucket storage location of the snapshot (regional or multi-regional).
repeated string storage_locations = 328005274;public Snapshot.Builder addStorageLocationsBytes(com.google.protobuf.ByteString value)
Cloud Storage bucket storage location of the snapshot (regional or multi-regional).
repeated string storage_locations = 328005274;value - The bytes of the storageLocations to add.public final Snapshot.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Snapshot.Builder>public final Snapshot.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Snapshot.Builder>Copyright © 2023 Google LLC. All rights reserved.