Package com.google.cloud.compute.v1
Class InstantSnapshot
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloud.compute.v1.InstantSnapshot
- All Implemented Interfaces:
InstantSnapshotOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
@Generated
public final class InstantSnapshot
extends com.google.protobuf.GeneratedMessage
implements InstantSnapshotOrBuilder
Represents a InstantSnapshot resource. You can use instant snapshots to create disk rollback points quickly..Protobuf type
google.cloud.compute.v1.InstantSnapshot- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumOutput only.static final classRepresents a InstantSnapshot resource.static enumOutput only.Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage
com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT extends com.google.protobuf.Message, T extends Object>, com.google.protobuf.GeneratedMessage.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessage
com.google.protobuf.AbstractMessage.BuilderParentNested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessage
alwaysUseFieldBuilders, loggedPre22TypeNames, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleancontainsLabels(String key) Labels to apply to this InstantSnapshot.booleanOutput only.com.google.protobuf.ByteStringOutput only.Output only.com.google.protobuf.ByteStringOutput only.static InstantSnapshotAn optional description of this resource.com.google.protobuf.ByteStringAn optional description of this resource.static final com.google.protobuf.Descriptors.DescriptorlongOutput 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.com.google.protobuf.Parser<InstantSnapshot>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.intURL 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.inthashCode()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.protected com.google.protobuf.GeneratedMessage.FieldAccessorTableprotected com.google.protobuf.MapFieldReflectionAccessorinternalGetMapFieldReflection(int number) final booleanstatic InstantSnapshot.Builderstatic InstantSnapshot.BuildernewBuilder(InstantSnapshot prototype) protected InstantSnapshot.BuildernewBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) static InstantSnapshotparseDelimitedFrom(InputStream input) static InstantSnapshotparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static InstantSnapshotparseFrom(byte[] data) static InstantSnapshotparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static InstantSnapshotparseFrom(com.google.protobuf.ByteString data) static InstantSnapshotparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static InstantSnapshotparseFrom(com.google.protobuf.CodedInputStream input) static InstantSnapshotparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static InstantSnapshotparseFrom(InputStream input) static InstantSnapshotparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static InstantSnapshotparseFrom(ByteBuffer data) static InstantSnapshotparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<InstantSnapshot>parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessage
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashFields, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
ARCHITECTURE_FIELD_NUMBER
public static final int ARCHITECTURE_FIELD_NUMBER- See Also:
-
CREATION_TIMESTAMP_FIELD_NUMBER
public static final int CREATION_TIMESTAMP_FIELD_NUMBER- See Also:
-
DESCRIPTION_FIELD_NUMBER
public static final int DESCRIPTION_FIELD_NUMBER- See Also:
-
DISK_SIZE_GB_FIELD_NUMBER
public static final int DISK_SIZE_GB_FIELD_NUMBER- See Also:
-
ID_FIELD_NUMBER
public static final int ID_FIELD_NUMBER- See Also:
-
KIND_FIELD_NUMBER
public static final int KIND_FIELD_NUMBER- See Also:
-
LABEL_FINGERPRINT_FIELD_NUMBER
public static final int LABEL_FINGERPRINT_FIELD_NUMBER- See Also:
-
LABELS_FIELD_NUMBER
public static final int LABELS_FIELD_NUMBER- See Also:
-
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER- See Also:
-
PARAMS_FIELD_NUMBER
public static final int PARAMS_FIELD_NUMBER- See Also:
-
REGION_FIELD_NUMBER
public static final int REGION_FIELD_NUMBER- See Also:
-
RESOURCE_STATUS_FIELD_NUMBER
public static final int RESOURCE_STATUS_FIELD_NUMBER- See Also:
-
SATISFIES_PZI_FIELD_NUMBER
public static final int SATISFIES_PZI_FIELD_NUMBER- See Also:
-
SATISFIES_PZS_FIELD_NUMBER
public static final int SATISFIES_PZS_FIELD_NUMBER- See Also:
-
SELF_LINK_FIELD_NUMBER
public static final int SELF_LINK_FIELD_NUMBER- See Also:
-
SELF_LINK_WITH_ID_FIELD_NUMBER
public static final int SELF_LINK_WITH_ID_FIELD_NUMBER- See Also:
-
SOURCE_DISK_FIELD_NUMBER
public static final int SOURCE_DISK_FIELD_NUMBER- See Also:
-
SOURCE_DISK_ID_FIELD_NUMBER
public static final int SOURCE_DISK_ID_FIELD_NUMBER- See Also:
-
SOURCE_INSTANT_SNAPSHOT_GROUP_FIELD_NUMBER
public static final int SOURCE_INSTANT_SNAPSHOT_GROUP_FIELD_NUMBER- See Also:
-
SOURCE_INSTANT_SNAPSHOT_GROUP_ID_FIELD_NUMBER
public static final int SOURCE_INSTANT_SNAPSHOT_GROUP_ID_FIELD_NUMBER- See Also:
-
STATUS_FIELD_NUMBER
public static final int STATUS_FIELD_NUMBER- See Also:
-
ZONE_FIELD_NUMBER
public static final int ZONE_FIELD_NUMBER- See Also:
-
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number) - Overrides:
internalGetMapFieldReflectionin classcom.google.protobuf.GeneratedMessage
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage
-
hasArchitecture
public 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;- Specified by:
hasArchitecturein interfaceInstantSnapshotOrBuilder- Returns:
- Whether the architecture field is set.
-
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;- Specified by:
getArchitecturein interfaceInstantSnapshotOrBuilder- Returns:
- The architecture.
-
getArchitectureBytes
public 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;- Specified by:
getArchitectureBytesin interfaceInstantSnapshotOrBuilder- Returns:
- The bytes for architecture.
-
hasCreationTimestamp
public boolean hasCreationTimestamp()Output only. [Output Only] Creation timestamp inRFC3339 text format.
optional string creation_timestamp = 30525366;- Specified by:
hasCreationTimestampin interfaceInstantSnapshotOrBuilder- Returns:
- Whether the creationTimestamp field is set.
-
getCreationTimestamp
Output only. [Output Only] Creation timestamp inRFC3339 text format.
optional string creation_timestamp = 30525366;- Specified by:
getCreationTimestampin interfaceInstantSnapshotOrBuilder- Returns:
- The creationTimestamp.
-
getCreationTimestampBytes
public com.google.protobuf.ByteString getCreationTimestampBytes()Output only. [Output Only] Creation timestamp inRFC3339 text format.
optional string creation_timestamp = 30525366;- Specified by:
getCreationTimestampBytesin interfaceInstantSnapshotOrBuilder- Returns:
- The bytes for creationTimestamp.
-
hasDescription
public boolean hasDescription()An optional description of this resource. Provide this property when you create the resource.
optional string description = 422937596;- Specified by:
hasDescriptionin interfaceInstantSnapshotOrBuilder- Returns:
- Whether the description field is set.
-
getDescription
An optional description of this resource. Provide this property when you create the resource.
optional string description = 422937596;- Specified by:
getDescriptionin interfaceInstantSnapshotOrBuilder- Returns:
- The description.
-
getDescriptionBytes
public com.google.protobuf.ByteString getDescriptionBytes()An optional description of this resource. Provide this property when you create the resource.
optional string description = 422937596;- Specified by:
getDescriptionBytesin interfaceInstantSnapshotOrBuilder- Returns:
- The bytes for description.
-
hasDiskSizeGb
public boolean hasDiskSizeGb()Output only. [Output Only] Size of the source disk, specified in GB.
optional int64 disk_size_gb = 316263735;- Specified by:
hasDiskSizeGbin interfaceInstantSnapshotOrBuilder- Returns:
- Whether the diskSizeGb field is set.
-
getDiskSizeGb
public long getDiskSizeGb()Output only. [Output Only] Size of the source disk, specified in GB.
optional int64 disk_size_gb = 316263735;- Specified by:
getDiskSizeGbin interfaceInstantSnapshotOrBuilder- Returns:
- The diskSizeGb.
-
hasId
public boolean hasId()Output only. [Output Only] The unique identifier for the resource. This identifier is defined by the server.
optional uint64 id = 3355;- Specified by:
hasIdin interfaceInstantSnapshotOrBuilder- Returns:
- Whether the id field is set.
-
getId
public long getId()Output only. [Output Only] The unique identifier for the resource. This identifier is defined by the server.
optional uint64 id = 3355;- Specified by:
getIdin interfaceInstantSnapshotOrBuilder- Returns:
- The id.
-
hasKind
public boolean hasKind()Output only. [Output Only] Type of the resource. Alwayscompute#instantSnapshot for InstantSnapshot resources.
optional string kind = 3292052;- Specified by:
hasKindin interfaceInstantSnapshotOrBuilder- Returns:
- Whether the kind field is set.
-
getKind
Output only. [Output Only] Type of the resource. Alwayscompute#instantSnapshot for InstantSnapshot resources.
optional string kind = 3292052;- Specified by:
getKindin interfaceInstantSnapshotOrBuilder- Returns:
- The kind.
-
getKindBytes
public com.google.protobuf.ByteString getKindBytes()Output only. [Output Only] Type of the resource. Alwayscompute#instantSnapshot for InstantSnapshot resources.
optional string kind = 3292052;- Specified by:
getKindBytesin interfaceInstantSnapshotOrBuilder- Returns:
- The bytes for kind.
-
hasLabelFingerprint
public 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;- Specified by:
hasLabelFingerprintin interfaceInstantSnapshotOrBuilder- Returns:
- Whether the labelFingerprint field is set.
-
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;- Specified by:
getLabelFingerprintin interfaceInstantSnapshotOrBuilder- Returns:
- The labelFingerprint.
-
getLabelFingerprintBytes
public 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;- Specified by:
getLabelFingerprintBytesin interfaceInstantSnapshotOrBuilder- Returns:
- The bytes for labelFingerprint.
-
getLabelsCount
public int getLabelsCount()Description copied from interface: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;- Specified by:
getLabelsCountin interfaceInstantSnapshotOrBuilder
-
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;- Specified by:
containsLabelsin interfaceInstantSnapshotOrBuilder
-
getLabels
Deprecated.UsegetLabelsMap()instead.- Specified by:
getLabelsin interfaceInstantSnapshotOrBuilder
-
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;- Specified by:
getLabelsMapin interfaceInstantSnapshotOrBuilder
-
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;- Specified by:
getLabelsOrDefaultin interfaceInstantSnapshotOrBuilder
-
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;- Specified by:
getLabelsOrThrowin interfaceInstantSnapshotOrBuilder
-
hasName
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 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;- Specified by:
hasNamein interfaceInstantSnapshotOrBuilder- Returns:
- Whether the name field is set.
-
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;- Specified by:
getNamein interfaceInstantSnapshotOrBuilder- Returns:
- The name.
-
getNameBytes
public 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;- Specified by:
getNameBytesin interfaceInstantSnapshotOrBuilder- Returns:
- The bytes for name.
-
hasParams
public 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;- Specified by:
hasParamsin interfaceInstantSnapshotOrBuilder- Returns:
- Whether the params field is set.
-
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;- Specified by:
getParamsin interfaceInstantSnapshotOrBuilder- Returns:
- The params.
-
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;- Specified by:
getParamsOrBuilderin interfaceInstantSnapshotOrBuilder
-
hasRegion
public 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;- Specified by:
hasRegionin interfaceInstantSnapshotOrBuilder- Returns:
- Whether the region field is set.
-
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;- Specified by:
getRegionin interfaceInstantSnapshotOrBuilder- Returns:
- The region.
-
getRegionBytes
public 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;- Specified by:
getRegionBytesin interfaceInstantSnapshotOrBuilder- Returns:
- The bytes for region.
-
hasResourceStatus
public boolean hasResourceStatus()Output only. [Output Only] Status information for the instant snapshot resource.
optional .google.cloud.compute.v1.InstantSnapshotResourceStatus resource_status = 249429315;- Specified by:
hasResourceStatusin interfaceInstantSnapshotOrBuilder- Returns:
- Whether the resourceStatus field is set.
-
getResourceStatus
Output only. [Output Only] Status information for the instant snapshot resource.
optional .google.cloud.compute.v1.InstantSnapshotResourceStatus resource_status = 249429315;- Specified by:
getResourceStatusin interfaceInstantSnapshotOrBuilder- Returns:
- The resourceStatus.
-
getResourceStatusOrBuilder
Output only. [Output Only] Status information for the instant snapshot resource.
optional .google.cloud.compute.v1.InstantSnapshotResourceStatus resource_status = 249429315;- Specified by:
getResourceStatusOrBuilderin interfaceInstantSnapshotOrBuilder
-
hasSatisfiesPzi
public boolean hasSatisfiesPzi()Output only. Reserved for future use.
optional bool satisfies_pzi = 480964257;- Specified by:
hasSatisfiesPziin interfaceInstantSnapshotOrBuilder- Returns:
- Whether the satisfiesPzi field is set.
-
getSatisfiesPzi
public boolean getSatisfiesPzi()Output only. Reserved for future use.
optional bool satisfies_pzi = 480964257;- Specified by:
getSatisfiesPziin interfaceInstantSnapshotOrBuilder- Returns:
- The satisfiesPzi.
-
hasSatisfiesPzs
public boolean hasSatisfiesPzs()Output only. [Output Only] Reserved for future use.
optional bool satisfies_pzs = 480964267;- Specified by:
hasSatisfiesPzsin interfaceInstantSnapshotOrBuilder- Returns:
- Whether the satisfiesPzs field is set.
-
getSatisfiesPzs
public boolean getSatisfiesPzs()Output only. [Output Only] Reserved for future use.
optional bool satisfies_pzs = 480964267;- Specified by:
getSatisfiesPzsin interfaceInstantSnapshotOrBuilder- Returns:
- The satisfiesPzs.
-
hasSelfLink
public boolean hasSelfLink()Output only. [Output Only] Server-defined URL for the resource.
optional string self_link = 456214797;- Specified by:
hasSelfLinkin interfaceInstantSnapshotOrBuilder- Returns:
- Whether the selfLink field is set.
-
getSelfLink
Output only. [Output Only] Server-defined URL for the resource.
optional string self_link = 456214797;- Specified by:
getSelfLinkin interfaceInstantSnapshotOrBuilder- Returns:
- The selfLink.
-
getSelfLinkBytes
public com.google.protobuf.ByteString getSelfLinkBytes()Output only. [Output Only] Server-defined URL for the resource.
optional string self_link = 456214797;- Specified by:
getSelfLinkBytesin interfaceInstantSnapshotOrBuilder- Returns:
- The bytes for selfLink.
-
hasSelfLinkWithId
public boolean hasSelfLinkWithId()Output only. [Output Only] Server-defined URL for this resource's resource id.
optional string self_link_with_id = 44520962;- Specified by:
hasSelfLinkWithIdin interfaceInstantSnapshotOrBuilder- Returns:
- Whether the selfLinkWithId field is set.
-
getSelfLinkWithId
Output only. [Output Only] Server-defined URL for this resource's resource id.
optional string self_link_with_id = 44520962;- Specified by:
getSelfLinkWithIdin interfaceInstantSnapshotOrBuilder- Returns:
- The selfLinkWithId.
-
getSelfLinkWithIdBytes
public 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;- Specified by:
getSelfLinkWithIdBytesin interfaceInstantSnapshotOrBuilder- Returns:
- The bytes for selfLinkWithId.
-
hasSourceDisk
public 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;- Specified by:
hasSourceDiskin interfaceInstantSnapshotOrBuilder- Returns:
- Whether the sourceDisk field is set.
-
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;- Specified by:
getSourceDiskin interfaceInstantSnapshotOrBuilder- Returns:
- The sourceDisk.
-
getSourceDiskBytes
public 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;- Specified by:
getSourceDiskBytesin interfaceInstantSnapshotOrBuilder- Returns:
- The bytes for sourceDisk.
-
hasSourceDiskId
public 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;- Specified by:
hasSourceDiskIdin interfaceInstantSnapshotOrBuilder- Returns:
- Whether the sourceDiskId field is set.
-
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;- Specified by:
getSourceDiskIdin interfaceInstantSnapshotOrBuilder- Returns:
- The sourceDiskId.
-
getSourceDiskIdBytes
public 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;- Specified by:
getSourceDiskIdBytesin interfaceInstantSnapshotOrBuilder- Returns:
- The bytes for sourceDiskId.
-
hasSourceInstantSnapshotGroup
public 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;- Specified by:
hasSourceInstantSnapshotGroupin interfaceInstantSnapshotOrBuilder- Returns:
- Whether the sourceInstantSnapshotGroup field is set.
-
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;- Specified by:
getSourceInstantSnapshotGroupin interfaceInstantSnapshotOrBuilder- Returns:
- The sourceInstantSnapshotGroup.
-
getSourceInstantSnapshotGroupBytes
public 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;- Specified by:
getSourceInstantSnapshotGroupBytesin interfaceInstantSnapshotOrBuilder- Returns:
- The bytes for sourceInstantSnapshotGroup.
-
hasSourceInstantSnapshotGroupId
public 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;- Specified by:
hasSourceInstantSnapshotGroupIdin interfaceInstantSnapshotOrBuilder- Returns:
- Whether the sourceInstantSnapshotGroupId field is set.
-
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;- Specified by:
getSourceInstantSnapshotGroupIdin interfaceInstantSnapshotOrBuilder- Returns:
- The sourceInstantSnapshotGroupId.
-
getSourceInstantSnapshotGroupIdBytes
public 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;- Specified by:
getSourceInstantSnapshotGroupIdBytesin interfaceInstantSnapshotOrBuilder- Returns:
- The bytes for sourceInstantSnapshotGroupId.
-
hasStatus
public 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;- Specified by:
hasStatusin interfaceInstantSnapshotOrBuilder- Returns:
- Whether the status field is set.
-
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;- Specified by:
getStatusin interfaceInstantSnapshotOrBuilder- Returns:
- The status.
-
getStatusBytes
public 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;- Specified by:
getStatusBytesin interfaceInstantSnapshotOrBuilder- Returns:
- The bytes for status.
-
hasZone
public 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;- Specified by:
hasZonein interfaceInstantSnapshotOrBuilder- Returns:
- Whether the zone field is set.
-
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;- Specified by:
getZonein interfaceInstantSnapshotOrBuilder- Returns:
- The zone.
-
getZoneBytes
public 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;- Specified by:
getZoneBytesin interfaceInstantSnapshotOrBuilder- Returns:
- The bytes for zone.
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessage- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessage
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static InstantSnapshot parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static InstantSnapshot parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static InstantSnapshot parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static InstantSnapshot parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static InstantSnapshot parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static InstantSnapshot parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static InstantSnapshot parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static InstantSnapshot parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static InstantSnapshot parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static InstantSnapshot parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected InstantSnapshot.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) - Overrides:
newBuilderForTypein classcom.google.protobuf.AbstractMessage
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessage
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-