All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.google.cloud.compute.v1.InstantSnapshotOrBuilder Maven / Gradle / Ivy

/*
 * Copyright 2024 Google LLC
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     https://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: google/cloud/compute/v1/compute.proto

// Protobuf Java Version: 3.25.5
package com.google.cloud.compute.v1;

public interface InstantSnapshotOrBuilder
    extends
    // @@protoc_insertion_point(interface_extends:google.cloud.compute.v1.InstantSnapshot)
    com.google.protobuf.MessageOrBuilder {

  /**
   *
   *
   * 
   * [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; * * @return Whether the architecture field is set. */ 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; * * @return The architecture. */ java.lang.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; * * @return The bytes for architecture. */ com.google.protobuf.ByteString getArchitectureBytes(); /** * * *
   * [Output Only] Creation timestamp in RFC3339 text format.
   * 
* * optional string creation_timestamp = 30525366; * * @return Whether the creationTimestamp field is set. */ boolean hasCreationTimestamp(); /** * * *
   * [Output Only] Creation timestamp in RFC3339 text format.
   * 
* * optional string creation_timestamp = 30525366; * * @return The creationTimestamp. */ java.lang.String getCreationTimestamp(); /** * * *
   * [Output Only] Creation timestamp in RFC3339 text format.
   * 
* * optional string creation_timestamp = 30525366; * * @return The bytes for creationTimestamp. */ com.google.protobuf.ByteString getCreationTimestampBytes(); /** * * *
   * An optional description of this resource. Provide this property when you create the resource.
   * 
* * optional string description = 422937596; * * @return Whether the description field is set. */ boolean hasDescription(); /** * * *
   * An optional description of this resource. Provide this property when you create the resource.
   * 
* * optional string description = 422937596; * * @return The description. */ java.lang.String getDescription(); /** * * *
   * An optional description of this resource. Provide this property when you create the resource.
   * 
* * optional string description = 422937596; * * @return The bytes for description. */ com.google.protobuf.ByteString getDescriptionBytes(); /** * * *
   * [Output Only] Size of the source disk, specified in GB.
   * 
* * optional int64 disk_size_gb = 316263735; * * @return Whether the diskSizeGb field is set. */ boolean hasDiskSizeGb(); /** * * *
   * [Output Only] Size of the source disk, specified in GB.
   * 
* * optional int64 disk_size_gb = 316263735; * * @return The diskSizeGb. */ long getDiskSizeGb(); /** * * *
   * [Output Only] The unique identifier for the resource. This identifier is defined by the server.
   * 
* * optional uint64 id = 3355; * * @return Whether the id field is set. */ boolean hasId(); /** * * *
   * [Output Only] The unique identifier for the resource. This identifier is defined by the server.
   * 
* * optional uint64 id = 3355; * * @return The id. */ long getId(); /** * * *
   * [Output Only] Type of the resource. Always compute#instantSnapshot for InstantSnapshot resources.
   * 
* * optional string kind = 3292052; * * @return Whether the kind field is set. */ boolean hasKind(); /** * * *
   * [Output Only] Type of the resource. Always compute#instantSnapshot for InstantSnapshot resources.
   * 
* * optional string kind = 3292052; * * @return The kind. */ java.lang.String getKind(); /** * * *
   * [Output Only] Type of the resource. Always compute#instantSnapshot for InstantSnapshot resources.
   * 
* * optional string kind = 3292052; * * @return The bytes for kind. */ com.google.protobuf.ByteString getKindBytes(); /** * * *
   * 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; * * @return Whether the labelFingerprint field is set. */ 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; * * @return The labelFingerprint. */ java.lang.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; * * @return The bytes for labelFingerprint. */ com.google.protobuf.ByteString getLabelFingerprintBytes(); /** * * *
   * 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; */ 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(java.lang.String key); /** Use {@link #getLabelsMap()} instead. */ @java.lang.Deprecated java.util.Map getLabels(); /** * * *
   * 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; */ java.util.Map 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; */ /* nullable */ java.lang.String getLabelsOrDefault( java.lang.String key, /* nullable */ java.lang.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; */ java.lang.String getLabelsOrThrow(java.lang.String key); /** * * *
   * 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; * * @return Whether the name field is set. */ 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; * * @return The name. */ java.lang.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; * * @return The bytes for name. */ com.google.protobuf.ByteString getNameBytes(); /** * * *
   * [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; * * @return Whether the region field is set. */ 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; * * @return The region. */ java.lang.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; * * @return The bytes for region. */ com.google.protobuf.ByteString getRegionBytes(); /** * * *
   * [Output Only] Status information for the instant snapshot resource.
   * 
* * * optional .google.cloud.compute.v1.InstantSnapshotResourceStatus resource_status = 249429315; * * * @return Whether the resourceStatus field is set. */ boolean hasResourceStatus(); /** * * *
   * [Output Only] Status information for the instant snapshot resource.
   * 
* * * optional .google.cloud.compute.v1.InstantSnapshotResourceStatus resource_status = 249429315; * * * @return The resourceStatus. */ com.google.cloud.compute.v1.InstantSnapshotResourceStatus getResourceStatus(); /** * * *
   * [Output Only] Status information for the instant snapshot resource.
   * 
* * * optional .google.cloud.compute.v1.InstantSnapshotResourceStatus resource_status = 249429315; * */ com.google.cloud.compute.v1.InstantSnapshotResourceStatusOrBuilder getResourceStatusOrBuilder(); /** * * *
   * Output only. Reserved for future use.
   * 
* * optional bool satisfies_pzi = 480964257; * * @return Whether the satisfiesPzi field is set. */ boolean hasSatisfiesPzi(); /** * * *
   * Output only. Reserved for future use.
   * 
* * optional bool satisfies_pzi = 480964257; * * @return The satisfiesPzi. */ boolean getSatisfiesPzi(); /** * * *
   * [Output Only] Reserved for future use.
   * 
* * optional bool satisfies_pzs = 480964267; * * @return Whether the satisfiesPzs field is set. */ boolean hasSatisfiesPzs(); /** * * *
   * [Output Only] Reserved for future use.
   * 
* * optional bool satisfies_pzs = 480964267; * * @return The satisfiesPzs. */ boolean getSatisfiesPzs(); /** * * *
   * [Output Only] Server-defined URL for the resource.
   * 
* * optional string self_link = 456214797; * * @return Whether the selfLink field is set. */ boolean hasSelfLink(); /** * * *
   * [Output Only] Server-defined URL for the resource.
   * 
* * optional string self_link = 456214797; * * @return The selfLink. */ java.lang.String getSelfLink(); /** * * *
   * [Output Only] Server-defined URL for the resource.
   * 
* * optional string self_link = 456214797; * * @return The bytes for selfLink. */ com.google.protobuf.ByteString getSelfLinkBytes(); /** * * *
   * [Output Only] Server-defined URL for this resource's resource id.
   * 
* * optional string self_link_with_id = 44520962; * * @return Whether the selfLinkWithId field is set. */ boolean hasSelfLinkWithId(); /** * * *
   * [Output Only] Server-defined URL for this resource's resource id.
   * 
* * optional string self_link_with_id = 44520962; * * @return The selfLinkWithId. */ java.lang.String getSelfLinkWithId(); /** * * *
   * [Output Only] Server-defined URL for this resource's resource id.
   * 
* * optional string self_link_with_id = 44520962; * * @return The bytes for selfLinkWithId. */ com.google.protobuf.ByteString getSelfLinkWithIdBytes(); /** * * *
   * 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; * * @return Whether the sourceDisk field is set. */ 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; * * @return The sourceDisk. */ java.lang.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; * * @return The bytes for sourceDisk. */ com.google.protobuf.ByteString getSourceDiskBytes(); /** * * *
   * [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; * * @return Whether the sourceDiskId field is set. */ 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; * * @return The sourceDiskId. */ java.lang.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; * * @return The bytes for sourceDiskId. */ com.google.protobuf.ByteString getSourceDiskIdBytes(); /** * * *
   * [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; * * @return Whether the status field is set. */ 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; * * @return The status. */ java.lang.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; * * @return The bytes for status. */ com.google.protobuf.ByteString getStatusBytes(); /** * * *
   * [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; * * @return Whether the zone field is set. */ 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; * * @return The zone. */ java.lang.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; * * @return The bytes for zone. */ com.google.protobuf.ByteString getZoneBytes(); }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy