Package com.google.cloud.compute.v1
Interface InstantSnapshotOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
InstantSnapshot,InstantSnapshot.Builder
@Generated
public interface InstantSnapshotOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionbooleancontainsLabels(String key) Labels to apply to this InstantSnapshot.Output only.com.google.protobuf.ByteStringOutput only.Output only.com.google.protobuf.ByteStringOutput only.An optional description of this resource.com.google.protobuf.ByteStringAn optional description of this resource.longOutput only.longgetId()Output only.getKind()Output only.com.google.protobuf.ByteStringOutput only.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.ByteStringA fingerprint for the labels being applied to this InstantSnapshot, which is essentially a hash of the labels set used for optimistic locking.Deprecated.intLabels to apply to this InstantSnapshot.Labels to apply to this InstantSnapshot.getLabelsOrDefault(String key, String defaultValue) Labels to apply to this InstantSnapshot.getLabelsOrThrow(String key) Labels to apply to this InstantSnapshot.getName()Name of the resource; provided by the client when the resource is created.com.google.protobuf.ByteStringName of the resource; provided by the client when the resource is created.Input only.Input only.Output only.com.google.protobuf.ByteStringOutput only.Output only.Output only.booleanOutput only.booleanOutput only.Output only.com.google.protobuf.ByteStringOutput only.Output only.com.google.protobuf.ByteStringOutput only.URL of the source disk used to create this instant snapshot.com.google.protobuf.ByteStringURL of the source disk used to create this instant snapshot.Output only.com.google.protobuf.ByteStringOutput only.Output only.com.google.protobuf.ByteStringOutput only.Output only.com.google.protobuf.ByteStringOutput only.Output only.com.google.protobuf.ByteStringOutput only.getZone()Output only.com.google.protobuf.ByteStringOutput only.booleanOutput only.booleanOutput only.booleanAn optional description of this resource.booleanOutput only.booleanhasId()Output only.booleanhasKind()Output only.booleanA fingerprint for the labels being applied to this InstantSnapshot, which is essentially a hash of the labels set used for optimistic locking.booleanhasName()Name of the resource; provided by the client when the resource is created.booleanInput only.booleanOutput only.booleanOutput only.booleanOutput only.booleanOutput only.booleanOutput only.booleanOutput only.booleanURL of the source disk used to create this instant snapshot.booleanOutput only.booleanOutput only.booleanOutput only.booleanOutput only.booleanhasZone()Output only.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
hasArchitecture
boolean hasArchitecture()Output only. [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;- Returns:
- Whether the architecture field is set.
-
getArchitecture
String getArchitecture()Output only. [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;- Returns:
- The architecture.
-
getArchitectureBytes
com.google.protobuf.ByteString getArchitectureBytes()Output only. [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;- Returns:
- The bytes for architecture.
-
hasCreationTimestamp
boolean hasCreationTimestamp()Output only. [Output Only] Creation timestamp inRFC3339 text format.
optional string creation_timestamp = 30525366;- Returns:
- Whether the creationTimestamp field is set.
-
getCreationTimestamp
String getCreationTimestamp()Output only. [Output Only] Creation timestamp inRFC3339 text format.
optional string creation_timestamp = 30525366;- Returns:
- The creationTimestamp.
-
getCreationTimestampBytes
com.google.protobuf.ByteString getCreationTimestampBytes()Output only. [Output Only] Creation timestamp inRFC3339 text format.
optional string creation_timestamp = 30525366;- Returns:
- The bytes for creationTimestamp.
-
hasDescription
boolean hasDescription()An optional description of this resource. Provide this property when you create the resource.
optional string description = 422937596;- Returns:
- Whether the description field is set.
-
getDescription
String getDescription()An optional description of this resource. Provide this property when you create the resource.
optional string description = 422937596;- Returns:
- The description.
-
getDescriptionBytes
com.google.protobuf.ByteString getDescriptionBytes()An optional description of this resource. Provide this property when you create the resource.
optional string description = 422937596;- Returns:
- The bytes for description.
-
hasDiskSizeGb
boolean hasDiskSizeGb()Output only. [Output Only] Size of the source disk, specified in GB.
optional int64 disk_size_gb = 316263735;- Returns:
- Whether the diskSizeGb field is set.
-
getDiskSizeGb
long getDiskSizeGb()Output only. [Output Only] Size of the source disk, specified in GB.
optional int64 disk_size_gb = 316263735;- Returns:
- The diskSizeGb.
-
hasId
boolean hasId()Output only. [Output Only] The unique identifier for the resource. This identifier is defined by the server.
optional uint64 id = 3355;- Returns:
- Whether the id field is set.
-
getId
long getId()Output only. [Output Only] The unique identifier for the resource. This identifier is defined by the server.
optional uint64 id = 3355;- Returns:
- The id.
-
hasKind
boolean hasKind()Output only. [Output Only] Type of the resource. Alwayscompute#instantSnapshot for InstantSnapshot resources.
optional string kind = 3292052;- Returns:
- Whether the kind field is set.
-
getKind
String getKind()Output only. [Output Only] Type of the resource. Alwayscompute#instantSnapshot for InstantSnapshot resources.
optional string kind = 3292052;- Returns:
- The kind.
-
getKindBytes
com.google.protobuf.ByteString getKindBytes()Output only. [Output Only] Type of the resource. Alwayscompute#instantSnapshot for InstantSnapshot resources.
optional string kind = 3292052;- Returns:
- The bytes for kind.
-
hasLabelFingerprint
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 error412 conditionNotMet. To see the latest fingerprint, make a get() request to retrieve a InstantSnapshot.
optional string label_fingerprint = 178124825;- Returns:
- Whether the labelFingerprint field is set.
-
getLabelFingerprint
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 error412 conditionNotMet. To see the latest fingerprint, make a get() request to retrieve a InstantSnapshot.
optional string label_fingerprint = 178124825;- Returns:
- The labelFingerprint.
-
getLabelFingerprintBytes
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 error412 conditionNotMet. To see the latest fingerprint, make a get() request to retrieve a InstantSnapshot.
optional string label_fingerprint = 178124825;- Returns:
- The bytes for labelFingerprint.
-
getLabelsCount
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; -
containsLabels
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; -
getLabels
Deprecated.UsegetLabelsMap()instead. -
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; -
getLabelsOrDefault
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
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; -
hasName
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 withRFC1035. 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;- Returns:
- Whether the name field is set.
-
getName
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 withRFC1035. 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;- Returns:
- The name.
-
getNameBytes
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 withRFC1035. 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;- Returns:
- The bytes for name.
-
hasParams
boolean hasParams()Input only. Additional params passed with the request, but not persisted as part of resource payload.
optional .google.cloud.compute.v1.InstantSnapshotParams params = 78313862;- Returns:
- Whether the params field is set.
-
getParams
InstantSnapshotParams getParams()Input only. Additional params passed with the request, but not persisted as part of resource payload.
optional .google.cloud.compute.v1.InstantSnapshotParams params = 78313862;- Returns:
- The params.
-
getParamsOrBuilder
InstantSnapshotParamsOrBuilder getParamsOrBuilder()Input only. Additional params passed with the request, but not persisted as part of resource payload.
optional .google.cloud.compute.v1.InstantSnapshotParams params = 78313862; -
hasRegion
boolean hasRegion()Output only. [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;- Returns:
- Whether the region field is set.
-
getRegion
String getRegion()Output only. [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;- Returns:
- The region.
-
getRegionBytes
com.google.protobuf.ByteString getRegionBytes()Output only. [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;- Returns:
- The bytes for region.
-
hasResourceStatus
boolean hasResourceStatus()Output only. [Output Only] Status information for the instant snapshot resource.
optional .google.cloud.compute.v1.InstantSnapshotResourceStatus resource_status = 249429315;- Returns:
- Whether the resourceStatus field is set.
-
getResourceStatus
InstantSnapshotResourceStatus getResourceStatus()Output only. [Output Only] Status information for the instant snapshot resource.
optional .google.cloud.compute.v1.InstantSnapshotResourceStatus resource_status = 249429315;- Returns:
- The resourceStatus.
-
getResourceStatusOrBuilder
InstantSnapshotResourceStatusOrBuilder getResourceStatusOrBuilder()Output only. [Output Only] Status information for the instant snapshot resource.
optional .google.cloud.compute.v1.InstantSnapshotResourceStatus resource_status = 249429315; -
hasSatisfiesPzi
boolean hasSatisfiesPzi()Output only. Reserved for future use.
optional bool satisfies_pzi = 480964257;- Returns:
- Whether the satisfiesPzi field is set.
-
getSatisfiesPzi
boolean getSatisfiesPzi()Output only. Reserved for future use.
optional bool satisfies_pzi = 480964257;- Returns:
- The satisfiesPzi.
-
hasSatisfiesPzs
boolean hasSatisfiesPzs()Output only. [Output Only] Reserved for future use.
optional bool satisfies_pzs = 480964267;- Returns:
- Whether the satisfiesPzs field is set.
-
getSatisfiesPzs
boolean getSatisfiesPzs()Output only. [Output Only] Reserved for future use.
optional bool satisfies_pzs = 480964267;- Returns:
- The satisfiesPzs.
-
hasSelfLink
boolean hasSelfLink()Output only. [Output Only] Server-defined URL for the resource.
optional string self_link = 456214797;- Returns:
- Whether the selfLink field is set.
-
getSelfLink
String getSelfLink()Output only. [Output Only] Server-defined URL for the resource.
optional string self_link = 456214797;- Returns:
- The selfLink.
-
getSelfLinkBytes
com.google.protobuf.ByteString getSelfLinkBytes()Output only. [Output Only] Server-defined URL for the resource.
optional string self_link = 456214797;- Returns:
- The bytes for selfLink.
-
hasSelfLinkWithId
boolean hasSelfLinkWithId()Output only. [Output Only] Server-defined URL for this resource's resource id.
optional string self_link_with_id = 44520962;- Returns:
- Whether the selfLinkWithId field is set.
-
getSelfLinkWithId
String getSelfLinkWithId()Output only. [Output Only] Server-defined URL for this resource's resource id.
optional string self_link_with_id = 44520962;- Returns:
- The selfLinkWithId.
-
getSelfLinkWithIdBytes
com.google.protobuf.ByteString getSelfLinkWithIdBytes()Output only. [Output Only] Server-defined URL for this resource's resource id.
optional string self_link_with_id = 44520962;- Returns:
- The bytes for selfLinkWithId.
-
hasSourceDisk
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;- Returns:
- Whether the sourceDisk field is set.
-
getSourceDisk
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;- Returns:
- The sourceDisk.
-
getSourceDiskBytes
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;- Returns:
- The bytes for sourceDisk.
-
hasSourceDiskId
boolean hasSourceDiskId()Output only. [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;- Returns:
- Whether the sourceDiskId field is set.
-
getSourceDiskId
String getSourceDiskId()Output only. [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;- Returns:
- The sourceDiskId.
-
getSourceDiskIdBytes
com.google.protobuf.ByteString getSourceDiskIdBytes()Output only. [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;- Returns:
- The bytes for sourceDiskId.
-
hasSourceInstantSnapshotGroup
boolean hasSourceInstantSnapshotGroup()Output only. [Output Only] URL of the source instant snapshot this instant snapshot is part of. Note that the source instant snapshot group must be in the same zone/region as the instant snapshot to be created. This can be a full or valid partial URL.
optional string source_instant_snapshot_group = 525991686;- Returns:
- Whether the sourceInstantSnapshotGroup field is set.
-
getSourceInstantSnapshotGroup
String getSourceInstantSnapshotGroup()Output only. [Output Only] URL of the source instant snapshot this instant snapshot is part of. Note that the source instant snapshot group must be in the same zone/region as the instant snapshot to be created. This can be a full or valid partial URL.
optional string source_instant_snapshot_group = 525991686;- Returns:
- The sourceInstantSnapshotGroup.
-
getSourceInstantSnapshotGroupBytes
com.google.protobuf.ByteString getSourceInstantSnapshotGroupBytes()Output only. [Output Only] URL of the source instant snapshot this instant snapshot is part of. Note that the source instant snapshot group must be in the same zone/region as the instant snapshot to be created. This can be a full or valid partial URL.
optional string source_instant_snapshot_group = 525991686;- Returns:
- The bytes for sourceInstantSnapshotGroup.
-
hasSourceInstantSnapshotGroupId
boolean hasSourceInstantSnapshotGroupId()Output only. [Output Only] The ID value of the source instant snapshot group this InstantSnapshot is part of. This value may be used to determine whether the InstantSnapshot was created as part of an InstantSnapshotGroup creation.
optional string source_instant_snapshot_group_id = 167103732;- Returns:
- Whether the sourceInstantSnapshotGroupId field is set.
-
getSourceInstantSnapshotGroupId
String getSourceInstantSnapshotGroupId()Output only. [Output Only] The ID value of the source instant snapshot group this InstantSnapshot is part of. This value may be used to determine whether the InstantSnapshot was created as part of an InstantSnapshotGroup creation.
optional string source_instant_snapshot_group_id = 167103732;- Returns:
- The sourceInstantSnapshotGroupId.
-
getSourceInstantSnapshotGroupIdBytes
com.google.protobuf.ByteString getSourceInstantSnapshotGroupIdBytes()Output only. [Output Only] The ID value of the source instant snapshot group this InstantSnapshot is part of. This value may be used to determine whether the InstantSnapshot was created as part of an InstantSnapshotGroup creation.
optional string source_instant_snapshot_group_id = 167103732;- Returns:
- The bytes for sourceInstantSnapshotGroupId.
-
hasStatus
boolean hasStatus()Output only. [Output Only] The status of the instantSnapshot. This can beCREATING, DELETING, FAILED, orREADY. Check the Status enum for the list of possible values.
optional string status = 181260274;- Returns:
- Whether the status field is set.
-
getStatus
String getStatus()Output only. [Output Only] The status of the instantSnapshot. This can beCREATING, DELETING, FAILED, orREADY. Check the Status enum for the list of possible values.
optional string status = 181260274;- Returns:
- The status.
-
getStatusBytes
com.google.protobuf.ByteString getStatusBytes()Output only. [Output Only] The status of the instantSnapshot. This can beCREATING, DELETING, FAILED, orREADY. Check the Status enum for the list of possible values.
optional string status = 181260274;- Returns:
- The bytes for status.
-
hasZone
boolean hasZone()Output only. [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;- Returns:
- Whether the zone field is set.
-
getZone
String getZone()Output only. [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;- Returns:
- The zone.
-
getZoneBytes
com.google.protobuf.ByteString getZoneBytes()Output only. [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;- Returns:
- The bytes for zone.
-