public interface InstantSnapshotOrBuilder
extends com.google.protobuf.MessageOrBuilder
| Modifier and Type | Method and Description |
|---|---|
boolean |
containsLabels(String key)
Labels to apply to this InstantSnapshot.
|
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.
|
String |
getDescription()
An optional description of this resource.
|
com.google.protobuf.ByteString |
getDescriptionBytes()
An optional description of this resource.
|
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.
|
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.
|
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.
|
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.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofboolean 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;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;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;boolean hasCreationTimestamp()
[Output Only] Creation timestamp in RFC3339 text format.
optional string creation_timestamp = 30525366;String getCreationTimestamp()
[Output Only] Creation timestamp in RFC3339 text format.
optional string creation_timestamp = 30525366;com.google.protobuf.ByteString getCreationTimestampBytes()
[Output Only] Creation timestamp in RFC3339 text format.
optional string creation_timestamp = 30525366;boolean hasDescription()
An optional description of this resource. Provide this property when you create the resource.
optional string description = 422937596;String getDescription()
An optional description of this resource. Provide this property when you create the resource.
optional string description = 422937596;com.google.protobuf.ByteString getDescriptionBytes()
An optional description of this resource. Provide this property when you create the resource.
optional string description = 422937596;boolean hasDiskSizeGb()
[Output Only] Size of the source disk, specified in GB.
optional int64 disk_size_gb = 316263735;long getDiskSizeGb()
[Output Only] Size of the source disk, specified in GB.
optional int64 disk_size_gb = 316263735;boolean hasId()
[Output Only] The unique identifier for the resource. This identifier is defined by the server.
optional uint64 id = 3355;long getId()
[Output Only] The unique identifier for the resource. This identifier is defined by the server.
optional uint64 id = 3355;boolean hasKind()
[Output Only] Type of the resource. Always compute#instantSnapshot for InstantSnapshot resources.
optional string kind = 3292052;String getKind()
[Output Only] Type of the resource. Always compute#instantSnapshot for InstantSnapshot resources.
optional string kind = 3292052;com.google.protobuf.ByteString getKindBytes()
[Output Only] Type of the resource. Always compute#instantSnapshot for InstantSnapshot resources.
optional string kind = 3292052;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;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;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;int getLabelsCount()
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;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;@Deprecated Map<String,String> getLabels()
getLabelsMap() instead.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;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;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;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;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;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;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;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;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;boolean hasResourceStatus()
[Output Only] Status information for the instant snapshot resource.
optional .google.cloud.compute.v1.InstantSnapshotResourceStatus resource_status = 249429315;
InstantSnapshotResourceStatus getResourceStatus()
[Output Only] Status information for the instant snapshot resource.
optional .google.cloud.compute.v1.InstantSnapshotResourceStatus resource_status = 249429315;
InstantSnapshotResourceStatusOrBuilder getResourceStatusOrBuilder()
[Output Only] Status information for the instant snapshot resource.
optional .google.cloud.compute.v1.InstantSnapshotResourceStatus resource_status = 249429315;
boolean hasSatisfiesPzi()
Output only. Reserved for future use.
optional bool satisfies_pzi = 480964257;boolean getSatisfiesPzi()
Output only. Reserved for future use.
optional bool satisfies_pzi = 480964257;boolean hasSatisfiesPzs()
[Output Only] Reserved for future use.
optional bool satisfies_pzs = 480964267;boolean getSatisfiesPzs()
[Output Only] Reserved for future use.
optional bool satisfies_pzs = 480964267;boolean hasSelfLink()
[Output Only] Server-defined URL for the resource.
optional string self_link = 456214797;String getSelfLink()
[Output Only] Server-defined URL for the resource.
optional string self_link = 456214797;com.google.protobuf.ByteString getSelfLinkBytes()
[Output Only] Server-defined URL for the resource.
optional string self_link = 456214797;boolean hasSelfLinkWithId()
[Output Only] Server-defined URL for this resource's resource id.
optional string self_link_with_id = 44520962;String getSelfLinkWithId()
[Output Only] Server-defined URL for this resource's resource id.
optional string self_link_with_id = 44520962;com.google.protobuf.ByteString getSelfLinkWithIdBytes()
[Output Only] Server-defined URL for this resource's resource id.
optional string self_link_with_id = 44520962;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;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;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;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;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;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;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;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;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;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;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;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;Copyright © 2025 Google LLC. All rights reserved.