public final class InstantSnapshot extends com.google.protobuf.GeneratedMessageV3 implements InstantSnapshotOrBuilder
Represents a InstantSnapshot resource. You can use instant snapshots to create disk rollback points quickly..Protobuf type
google.cloud.compute.v1.InstantSnapshot| Modifier and Type | Class and Description |
|---|---|
static class |
InstantSnapshot.Architecture
[Output Only] The architecture of the instant snapshot.
|
static class |
InstantSnapshot.Builder
Represents a InstantSnapshot resource.
|
static class |
InstantSnapshot.Status
[Output Only] The status of the instantSnapshot.
|
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter| Modifier and Type | Field and Description |
|---|---|
static int |
ARCHITECTURE_FIELD_NUMBER |
static int |
CREATION_TIMESTAMP_FIELD_NUMBER |
static int |
DESCRIPTION_FIELD_NUMBER |
static int |
DISK_SIZE_GB_FIELD_NUMBER |
static int |
ID_FIELD_NUMBER |
static int |
KIND_FIELD_NUMBER |
static int |
LABEL_FINGERPRINT_FIELD_NUMBER |
static int |
LABELS_FIELD_NUMBER |
static int |
NAME_FIELD_NUMBER |
static int |
REGION_FIELD_NUMBER |
static int |
RESOURCE_STATUS_FIELD_NUMBER |
static int |
SATISFIES_PZI_FIELD_NUMBER |
static int |
SATISFIES_PZS_FIELD_NUMBER |
static int |
SELF_LINK_FIELD_NUMBER |
static int |
SELF_LINK_WITH_ID_FIELD_NUMBER |
static int |
SOURCE_DISK_FIELD_NUMBER |
static int |
SOURCE_DISK_ID_FIELD_NUMBER |
static int |
STATUS_FIELD_NUMBER |
static int |
ZONE_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
containsLabels(String key)
Labels to apply to this InstantSnapshot.
|
boolean |
equals(Object obj) |
String |
getArchitecture()
[Output Only] The architecture of the instant snapshot.
|
com.google.protobuf.ByteString |
getArchitectureBytes()
[Output Only] The architecture of the instant snapshot.
|
String |
getCreationTimestamp()
[Output Only] Creation timestamp in RFC3339 text format.
|
com.google.protobuf.ByteString |
getCreationTimestampBytes()
[Output Only] Creation timestamp in RFC3339 text format.
|
static InstantSnapshot |
getDefaultInstance() |
InstantSnapshot |
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() |
long |
getDiskSizeGb()
[Output Only] Size of the source disk, specified in GB.
|
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 InstantSnapshot, 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 InstantSnapshot, 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 InstantSnapshot.
|
Map<String,String> |
getLabelsMap()
Labels to apply to this InstantSnapshot.
|
String |
getLabelsOrDefault(String key,
String defaultValue)
Labels to apply to this InstantSnapshot.
|
String |
getLabelsOrThrow(String key)
Labels to apply to this InstantSnapshot.
|
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.
|
com.google.protobuf.Parser<InstantSnapshot> |
getParserForType() |
String |
getRegion()
[Output Only] URL of the region where the instant snapshot resides.
|
com.google.protobuf.ByteString |
getRegionBytes()
[Output Only] URL of the region where the instant snapshot resides.
|
InstantSnapshotResourceStatus |
getResourceStatus()
[Output Only] Status information for the instant snapshot resource.
|
InstantSnapshotResourceStatusOrBuilder |
getResourceStatusOrBuilder()
[Output Only] Status information for the instant snapshot resource.
|
boolean |
getSatisfiesPzi()
Output only.
|
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.
|
String |
getSelfLinkWithId()
[Output Only] Server-defined URL for this resource's resource id.
|
com.google.protobuf.ByteString |
getSelfLinkWithIdBytes()
[Output Only] Server-defined URL for this resource's resource id.
|
int |
getSerializedSize() |
String |
getSourceDisk()
URL of the source disk used to create this instant snapshot.
|
com.google.protobuf.ByteString |
getSourceDiskBytes()
URL of the source disk used to create this instant snapshot.
|
String |
getSourceDiskId()
[Output Only] The ID value of the disk used to create this InstantSnapshot.
|
com.google.protobuf.ByteString |
getSourceDiskIdBytes()
[Output Only] The ID value of the disk used to create this InstantSnapshot.
|
String |
getStatus()
[Output Only] The status of the instantSnapshot.
|
com.google.protobuf.ByteString |
getStatusBytes()
[Output Only] The status of the instantSnapshot.
|
String |
getZone()
[Output Only] URL of the zone where the instant snapshot resides.
|
com.google.protobuf.ByteString |
getZoneBytes()
[Output Only] URL of the zone where the instant snapshot resides.
|
boolean |
hasArchitecture()
[Output Only] The architecture of the instant snapshot.
|
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.
|
int |
hashCode() |
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 InstantSnapshot, which is essentially a hash of the labels set used for optimistic locking.
|
boolean |
hasName()
Name of the resource; provided by the client when the resource is created.
|
boolean |
hasRegion()
[Output Only] URL of the region where the instant snapshot resides.
|
boolean |
hasResourceStatus()
[Output Only] Status information for the instant snapshot resource.
|
boolean |
hasSatisfiesPzi()
Output only.
|
boolean |
hasSatisfiesPzs()
[Output Only] Reserved for future use.
|
boolean |
hasSelfLink()
[Output Only] Server-defined URL for the resource.
|
boolean |
hasSelfLinkWithId()
[Output Only] Server-defined URL for this resource's resource id.
|
boolean |
hasSourceDisk()
URL of the source disk used to create this instant snapshot.
|
boolean |
hasSourceDiskId()
[Output Only] The ID value of the disk used to create this InstantSnapshot.
|
boolean |
hasStatus()
[Output Only] The status of the instantSnapshot.
|
boolean |
hasZone()
[Output Only] URL of the zone where the instant snapshot resides.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
protected com.google.protobuf.MapFieldReflectionAccessor |
internalGetMapFieldReflection(int number) |
boolean |
isInitialized() |
static InstantSnapshot.Builder |
newBuilder() |
static InstantSnapshot.Builder |
newBuilder(InstantSnapshot prototype) |
InstantSnapshot.Builder |
newBuilderForType() |
protected InstantSnapshot.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static InstantSnapshot |
parseDelimitedFrom(InputStream input) |
static InstantSnapshot |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static InstantSnapshot |
parseFrom(byte[] data) |
static InstantSnapshot |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static InstantSnapshot |
parseFrom(ByteBuffer data) |
static InstantSnapshot |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static InstantSnapshot |
parseFrom(com.google.protobuf.ByteString data) |
static InstantSnapshot |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static InstantSnapshot |
parseFrom(com.google.protobuf.CodedInputStream input) |
static InstantSnapshot |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static InstantSnapshot |
parseFrom(InputStream input) |
static InstantSnapshot |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<InstantSnapshot> |
parser() |
InstantSnapshot.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int ARCHITECTURE_FIELD_NUMBER
public static final int CREATION_TIMESTAMP_FIELD_NUMBER
public static final int DESCRIPTION_FIELD_NUMBER
public static final int DISK_SIZE_GB_FIELD_NUMBER
public static final int ID_FIELD_NUMBER
public static final int KIND_FIELD_NUMBER
public static final int LABEL_FINGERPRINT_FIELD_NUMBER
public static final int LABELS_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER
public static final int REGION_FIELD_NUMBER
public static final int RESOURCE_STATUS_FIELD_NUMBER
public static final int SATISFIES_PZI_FIELD_NUMBER
public static final int SATISFIES_PZS_FIELD_NUMBER
public static final int SELF_LINK_FIELD_NUMBER
public static final int SELF_LINK_WITH_ID_FIELD_NUMBER
public static final int SOURCE_DISK_FIELD_NUMBER
public static final int SOURCE_DISK_ID_FIELD_NUMBER
public static final int STATUS_FIELD_NUMBER
public static final int ZONE_FIELD_NUMBER
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
internalGetMapFieldReflection in class com.google.protobuf.GeneratedMessageV3protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public boolean hasArchitecture()
[Output Only] The architecture of the instant 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 InstantSnapshotOrBuilderpublic String getArchitecture()
[Output Only] The architecture of the instant 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 InstantSnapshotOrBuilderpublic com.google.protobuf.ByteString getArchitectureBytes()
[Output Only] The architecture of the instant 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 InstantSnapshotOrBuilderpublic boolean hasCreationTimestamp()
[Output Only] Creation timestamp in RFC3339 text format.
optional string creation_timestamp = 30525366;hasCreationTimestamp in interface InstantSnapshotOrBuilderpublic String getCreationTimestamp()
[Output Only] Creation timestamp in RFC3339 text format.
optional string creation_timestamp = 30525366;getCreationTimestamp in interface InstantSnapshotOrBuilderpublic com.google.protobuf.ByteString getCreationTimestampBytes()
[Output Only] Creation timestamp in RFC3339 text format.
optional string creation_timestamp = 30525366;getCreationTimestampBytes in interface InstantSnapshotOrBuilderpublic boolean hasDescription()
An optional description of this resource. Provide this property when you create the resource.
optional string description = 422937596;hasDescription in interface InstantSnapshotOrBuilderpublic String getDescription()
An optional description of this resource. Provide this property when you create the resource.
optional string description = 422937596;getDescription in interface InstantSnapshotOrBuilderpublic 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 InstantSnapshotOrBuilderpublic boolean hasDiskSizeGb()
[Output Only] Size of the source disk, specified in GB.
optional int64 disk_size_gb = 316263735;hasDiskSizeGb in interface InstantSnapshotOrBuilderpublic long getDiskSizeGb()
[Output Only] Size of the source disk, specified in GB.
optional int64 disk_size_gb = 316263735;getDiskSizeGb in interface InstantSnapshotOrBuilderpublic boolean hasId()
[Output Only] The unique identifier for the resource. This identifier is defined by the server.
optional uint64 id = 3355;hasId in interface InstantSnapshotOrBuilderpublic long getId()
[Output Only] The unique identifier for the resource. This identifier is defined by the server.
optional uint64 id = 3355;getId in interface InstantSnapshotOrBuilderpublic boolean hasKind()
[Output Only] Type of the resource. Always compute#instantSnapshot for InstantSnapshot resources.
optional string kind = 3292052;hasKind in interface InstantSnapshotOrBuilderpublic String getKind()
[Output Only] Type of the resource. Always compute#instantSnapshot for InstantSnapshot resources.
optional string kind = 3292052;getKind in interface InstantSnapshotOrBuilderpublic com.google.protobuf.ByteString getKindBytes()
[Output Only] Type of the resource. Always compute#instantSnapshot for InstantSnapshot resources.
optional string kind = 3292052;getKindBytes in interface InstantSnapshotOrBuilderpublic boolean hasLabelFingerprint()
A fingerprint for the labels being applied to this InstantSnapshot, 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 InstantSnapshot.
optional string label_fingerprint = 178124825;hasLabelFingerprint in interface InstantSnapshotOrBuilderpublic String getLabelFingerprint()
A fingerprint for the labels being applied to this InstantSnapshot, 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 InstantSnapshot.
optional string label_fingerprint = 178124825;getLabelFingerprint in interface InstantSnapshotOrBuilderpublic com.google.protobuf.ByteString getLabelFingerprintBytes()
A fingerprint for the labels being applied to this InstantSnapshot, 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 InstantSnapshot.
optional string label_fingerprint = 178124825;getLabelFingerprintBytes in interface InstantSnapshotOrBuilderpublic int getLabelsCount()
InstantSnapshotOrBuilderLabels to apply to this InstantSnapshot. These can be later modified by the setLabels method. Label values may be empty.
map<string, string> labels = 500195327;getLabelsCount in interface InstantSnapshotOrBuilderpublic boolean containsLabels(String key)
Labels to apply to this InstantSnapshot. These can be later modified by the setLabels method. Label values may be empty.
map<string, string> labels = 500195327;containsLabels in interface InstantSnapshotOrBuilder@Deprecated public Map<String,String> getLabels()
getLabelsMap() instead.getLabels in interface InstantSnapshotOrBuilderpublic Map<String,String> getLabelsMap()
Labels to apply to this InstantSnapshot. These can be later modified by the setLabels method. Label values may be empty.
map<string, string> labels = 500195327;getLabelsMap in interface InstantSnapshotOrBuilderpublic String getLabelsOrDefault(String key, String defaultValue)
Labels to apply to this InstantSnapshot. These can be later modified by the setLabels method. Label values may be empty.
map<string, string> labels = 500195327;getLabelsOrDefault in interface InstantSnapshotOrBuilderpublic String getLabelsOrThrow(String key)
Labels to apply to this InstantSnapshot. These can be later modified by the setLabels method. Label values may be empty.
map<string, string> labels = 500195327;getLabelsOrThrow in interface InstantSnapshotOrBuilderpublic 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 InstantSnapshotOrBuilderpublic 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 InstantSnapshotOrBuilderpublic 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 InstantSnapshotOrBuilderpublic boolean hasRegion()
[Output Only] URL of the region where the instant snapshot resides. You must specify this field as part of the HTTP request URL. It is not settable as a field in the request body.
optional string region = 138946292;hasRegion in interface InstantSnapshotOrBuilderpublic String getRegion()
[Output Only] URL of the region where the instant snapshot resides. You must specify this field as part of the HTTP request URL. It is not settable as a field in the request body.
optional string region = 138946292;getRegion in interface InstantSnapshotOrBuilderpublic com.google.protobuf.ByteString getRegionBytes()
[Output Only] URL of the region where the instant snapshot resides. You must specify this field as part of the HTTP request URL. It is not settable as a field in the request body.
optional string region = 138946292;getRegionBytes in interface InstantSnapshotOrBuilderpublic boolean hasResourceStatus()
[Output Only] Status information for the instant snapshot resource.
optional .google.cloud.compute.v1.InstantSnapshotResourceStatus resource_status = 249429315;
hasResourceStatus in interface InstantSnapshotOrBuilderpublic InstantSnapshotResourceStatus getResourceStatus()
[Output Only] Status information for the instant snapshot resource.
optional .google.cloud.compute.v1.InstantSnapshotResourceStatus resource_status = 249429315;
getResourceStatus in interface InstantSnapshotOrBuilderpublic InstantSnapshotResourceStatusOrBuilder getResourceStatusOrBuilder()
[Output Only] Status information for the instant snapshot resource.
optional .google.cloud.compute.v1.InstantSnapshotResourceStatus resource_status = 249429315;
getResourceStatusOrBuilder in interface InstantSnapshotOrBuilderpublic boolean hasSatisfiesPzi()
Output only. Reserved for future use.
optional bool satisfies_pzi = 480964257;hasSatisfiesPzi in interface InstantSnapshotOrBuilderpublic boolean getSatisfiesPzi()
Output only. Reserved for future use.
optional bool satisfies_pzi = 480964257;getSatisfiesPzi in interface InstantSnapshotOrBuilderpublic boolean hasSatisfiesPzs()
[Output Only] Reserved for future use.
optional bool satisfies_pzs = 480964267;hasSatisfiesPzs in interface InstantSnapshotOrBuilderpublic boolean getSatisfiesPzs()
[Output Only] Reserved for future use.
optional bool satisfies_pzs = 480964267;getSatisfiesPzs in interface InstantSnapshotOrBuilderpublic boolean hasSelfLink()
[Output Only] Server-defined URL for the resource.
optional string self_link = 456214797;hasSelfLink in interface InstantSnapshotOrBuilderpublic String getSelfLink()
[Output Only] Server-defined URL for the resource.
optional string self_link = 456214797;getSelfLink in interface InstantSnapshotOrBuilderpublic com.google.protobuf.ByteString getSelfLinkBytes()
[Output Only] Server-defined URL for the resource.
optional string self_link = 456214797;getSelfLinkBytes in interface InstantSnapshotOrBuilderpublic boolean hasSelfLinkWithId()
[Output Only] Server-defined URL for this resource's resource id.
optional string self_link_with_id = 44520962;hasSelfLinkWithId in interface InstantSnapshotOrBuilderpublic String getSelfLinkWithId()
[Output Only] Server-defined URL for this resource's resource id.
optional string self_link_with_id = 44520962;getSelfLinkWithId in interface InstantSnapshotOrBuilderpublic com.google.protobuf.ByteString getSelfLinkWithIdBytes()
[Output Only] Server-defined URL for this resource's resource id.
optional string self_link_with_id = 44520962;getSelfLinkWithIdBytes in interface InstantSnapshotOrBuilderpublic boolean hasSourceDisk()
URL of the source disk used to create this instant snapshot. Note that the source disk must be in the same zone/region as the instant snapshot to be created. This can be a full or valid partial URL. For example, the following are valid values: - https://www.googleapis.com/compute/v1/projects/project/zones/zone /disks/disk - https://www.googleapis.com/compute/v1/projects/project/regions/region /disks/disk - projects/project/zones/zone/disks/disk - projects/project/regions/region/disks/disk - zones/zone/disks/disk - regions/region/disks/disk
optional string source_disk = 451753793;hasSourceDisk in interface InstantSnapshotOrBuilderpublic String getSourceDisk()
URL of the source disk used to create this instant snapshot. Note that the source disk must be in the same zone/region as the instant snapshot to be created. This can be a full or valid partial URL. For example, the following are valid values: - https://www.googleapis.com/compute/v1/projects/project/zones/zone /disks/disk - https://www.googleapis.com/compute/v1/projects/project/regions/region /disks/disk - projects/project/zones/zone/disks/disk - projects/project/regions/region/disks/disk - zones/zone/disks/disk - regions/region/disks/disk
optional string source_disk = 451753793;getSourceDisk in interface InstantSnapshotOrBuilderpublic com.google.protobuf.ByteString getSourceDiskBytes()
URL of the source disk used to create this instant snapshot. Note that the source disk must be in the same zone/region as the instant snapshot to be created. This can be a full or valid partial URL. For example, the following are valid values: - https://www.googleapis.com/compute/v1/projects/project/zones/zone /disks/disk - https://www.googleapis.com/compute/v1/projects/project/regions/region /disks/disk - projects/project/zones/zone/disks/disk - projects/project/regions/region/disks/disk - zones/zone/disks/disk - regions/region/disks/disk
optional string source_disk = 451753793;getSourceDiskBytes in interface InstantSnapshotOrBuilderpublic boolean hasSourceDiskId()
[Output Only] The ID value of the disk used to create this InstantSnapshot. This value may be used to determine whether the InstantSnapshot was taken from the current or a previous instance of a given disk name.
optional string source_disk_id = 454190809;hasSourceDiskId in interface InstantSnapshotOrBuilderpublic String getSourceDiskId()
[Output Only] The ID value of the disk used to create this InstantSnapshot. This value may be used to determine whether the InstantSnapshot was taken from the current or a previous instance of a given disk name.
optional string source_disk_id = 454190809;getSourceDiskId in interface InstantSnapshotOrBuilderpublic com.google.protobuf.ByteString getSourceDiskIdBytes()
[Output Only] The ID value of the disk used to create this InstantSnapshot. This value may be used to determine whether the InstantSnapshot was taken from the current or a previous instance of a given disk name.
optional string source_disk_id = 454190809;getSourceDiskIdBytes in interface InstantSnapshotOrBuilderpublic boolean hasStatus()
[Output Only] The status of the instantSnapshot. This can be CREATING, DELETING, FAILED, or READY. Check the Status enum for the list of possible values.
optional string status = 181260274;hasStatus in interface InstantSnapshotOrBuilderpublic String getStatus()
[Output Only] The status of the instantSnapshot. This can be CREATING, DELETING, FAILED, or READY. Check the Status enum for the list of possible values.
optional string status = 181260274;getStatus in interface InstantSnapshotOrBuilderpublic com.google.protobuf.ByteString getStatusBytes()
[Output Only] The status of the instantSnapshot. This can be CREATING, DELETING, FAILED, or READY. Check the Status enum for the list of possible values.
optional string status = 181260274;getStatusBytes in interface InstantSnapshotOrBuilderpublic boolean hasZone()
[Output Only] URL of the zone where the instant snapshot resides. You must specify this field as part of the HTTP request URL. It is not settable as a field in the request body.
optional string zone = 3744684;hasZone in interface InstantSnapshotOrBuilderpublic String getZone()
[Output Only] URL of the zone where the instant snapshot resides. You must specify this field as part of the HTTP request URL. It is not settable as a field in the request body.
optional string zone = 3744684;getZone in interface InstantSnapshotOrBuilderpublic com.google.protobuf.ByteString getZoneBytes()
[Output Only] URL of the zone where the instant snapshot resides. You must specify this field as part of the HTTP request URL. It is not settable as a field in the request body.
optional string zone = 3744684;getZoneBytes in interface InstantSnapshotOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static InstantSnapshot parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static InstantSnapshot parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static InstantSnapshot parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static InstantSnapshot parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static InstantSnapshot parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static InstantSnapshot parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static InstantSnapshot parseFrom(InputStream input) throws IOException
IOExceptionpublic static InstantSnapshot parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static InstantSnapshot parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static InstantSnapshot parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static InstantSnapshot parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static InstantSnapshot parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic InstantSnapshot.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static InstantSnapshot.Builder newBuilder()
public static InstantSnapshot.Builder newBuilder(InstantSnapshot prototype)
public InstantSnapshot.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected InstantSnapshot.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static InstantSnapshot getDefaultInstance()
public static com.google.protobuf.Parser<InstantSnapshot> parser()
public com.google.protobuf.Parser<InstantSnapshot> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public InstantSnapshot getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2025 Google LLC. All rights reserved.