
com.google.cloud.compute.v1.InstanceOrBuilder 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 InstanceOrBuilder
extends
// @@protoc_insertion_point(interface_extends:google.cloud.compute.v1.Instance)
com.google.protobuf.MessageOrBuilder {
/**
*
*
*
* Controls for advanced machine-related behavior features.
*
*
*
* optional .google.cloud.compute.v1.AdvancedMachineFeatures advanced_machine_features = 409646002;
*
*
* @return Whether the advancedMachineFeatures field is set.
*/
boolean hasAdvancedMachineFeatures();
/**
*
*
*
* Controls for advanced machine-related behavior features.
*
*
*
* optional .google.cloud.compute.v1.AdvancedMachineFeatures advanced_machine_features = 409646002;
*
*
* @return The advancedMachineFeatures.
*/
com.google.cloud.compute.v1.AdvancedMachineFeatures getAdvancedMachineFeatures();
/**
*
*
*
* Controls for advanced machine-related behavior features.
*
*
*
* optional .google.cloud.compute.v1.AdvancedMachineFeatures advanced_machine_features = 409646002;
*
*/
com.google.cloud.compute.v1.AdvancedMachineFeaturesOrBuilder
getAdvancedMachineFeaturesOrBuilder();
/**
*
*
*
* Allows this instance to send and receive packets with non-matching destination or source IPs. This is required if you plan to use this instance to forward routes. For more information, see Enabling IP Forwarding .
*
*
* optional bool can_ip_forward = 467731324;
*
* @return Whether the canIpForward field is set.
*/
boolean hasCanIpForward();
/**
*
*
*
* Allows this instance to send and receive packets with non-matching destination or source IPs. This is required if you plan to use this instance to forward routes. For more information, see Enabling IP Forwarding .
*
*
* optional bool can_ip_forward = 467731324;
*
* @return The canIpForward.
*/
boolean getCanIpForward();
/**
*
* optional .google.cloud.compute.v1.ConfidentialInstanceConfig confidential_instance_config = 490637685;
*
*
* @return Whether the confidentialInstanceConfig field is set.
*/
boolean hasConfidentialInstanceConfig();
/**
*
* optional .google.cloud.compute.v1.ConfidentialInstanceConfig confidential_instance_config = 490637685;
*
*
* @return The confidentialInstanceConfig.
*/
com.google.cloud.compute.v1.ConfidentialInstanceConfig getConfidentialInstanceConfig();
/**
*
* optional .google.cloud.compute.v1.ConfidentialInstanceConfig confidential_instance_config = 490637685;
*
*/
com.google.cloud.compute.v1.ConfidentialInstanceConfigOrBuilder
getConfidentialInstanceConfigOrBuilder();
/**
*
*
*
* [Output Only] The CPU platform used by this instance.
*
*
* optional string cpu_platform = 410285354;
*
* @return Whether the cpuPlatform field is set.
*/
boolean hasCpuPlatform();
/**
*
*
*
* [Output Only] The CPU platform used by this instance.
*
*
* optional string cpu_platform = 410285354;
*
* @return The cpuPlatform.
*/
java.lang.String getCpuPlatform();
/**
*
*
*
* [Output Only] The CPU platform used by this instance.
*
*
* optional string cpu_platform = 410285354;
*
* @return The bytes for cpuPlatform.
*/
com.google.protobuf.ByteString getCpuPlatformBytes();
/**
*
*
*
* [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();
/**
*
*
*
* Whether the resource should be protected against deletion.
*
*
* optional bool deletion_protection = 458014698;
*
* @return Whether the deletionProtection field is set.
*/
boolean hasDeletionProtection();
/**
*
*
*
* Whether the resource should be protected against deletion.
*
*
* optional bool deletion_protection = 458014698;
*
* @return The deletionProtection.
*/
boolean getDeletionProtection();
/**
*
*
*
* 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();
/**
*
*
*
* Array of disks associated with this instance. Persistent disks must be created before you can assign them.
*
*
* repeated .google.cloud.compute.v1.AttachedDisk disks = 95594102;
*/
java.util.List getDisksList();
/**
*
*
*
* Array of disks associated with this instance. Persistent disks must be created before you can assign them.
*
*
* repeated .google.cloud.compute.v1.AttachedDisk disks = 95594102;
*/
com.google.cloud.compute.v1.AttachedDisk getDisks(int index);
/**
*
*
*
* Array of disks associated with this instance. Persistent disks must be created before you can assign them.
*
*
* repeated .google.cloud.compute.v1.AttachedDisk disks = 95594102;
*/
int getDisksCount();
/**
*
*
*
* Array of disks associated with this instance. Persistent disks must be created before you can assign them.
*
*
* repeated .google.cloud.compute.v1.AttachedDisk disks = 95594102;
*/
java.util.List extends com.google.cloud.compute.v1.AttachedDiskOrBuilder>
getDisksOrBuilderList();
/**
*
*
*
* Array of disks associated with this instance. Persistent disks must be created before you can assign them.
*
*
* repeated .google.cloud.compute.v1.AttachedDisk disks = 95594102;
*/
com.google.cloud.compute.v1.AttachedDiskOrBuilder getDisksOrBuilder(int index);
/**
*
*
*
* Enables display device for the instance.
*
*
* optional .google.cloud.compute.v1.DisplayDevice display_device = 258933875;
*
* @return Whether the displayDevice field is set.
*/
boolean hasDisplayDevice();
/**
*
*
*
* Enables display device for the instance.
*
*
* optional .google.cloud.compute.v1.DisplayDevice display_device = 258933875;
*
* @return The displayDevice.
*/
com.google.cloud.compute.v1.DisplayDevice getDisplayDevice();
/**
*
*
*
* Enables display device for the instance.
*
*
* optional .google.cloud.compute.v1.DisplayDevice display_device = 258933875;
*/
com.google.cloud.compute.v1.DisplayDeviceOrBuilder getDisplayDeviceOrBuilder();
/**
*
*
*
* Specifies a fingerprint for this resource, which is essentially a hash of the instance's contents and used for optimistic locking. The fingerprint is initially generated by Compute Engine and changes after every request to modify or update the instance. You must always provide an up-to-date fingerprint hash in order to update the instance. To see the latest fingerprint, make get() request to the instance.
*
*
* optional string fingerprint = 234678500;
*
* @return Whether the fingerprint field is set.
*/
boolean hasFingerprint();
/**
*
*
*
* Specifies a fingerprint for this resource, which is essentially a hash of the instance's contents and used for optimistic locking. The fingerprint is initially generated by Compute Engine and changes after every request to modify or update the instance. You must always provide an up-to-date fingerprint hash in order to update the instance. To see the latest fingerprint, make get() request to the instance.
*
*
* optional string fingerprint = 234678500;
*
* @return The fingerprint.
*/
java.lang.String getFingerprint();
/**
*
*
*
* Specifies a fingerprint for this resource, which is essentially a hash of the instance's contents and used for optimistic locking. The fingerprint is initially generated by Compute Engine and changes after every request to modify or update the instance. You must always provide an up-to-date fingerprint hash in order to update the instance. To see the latest fingerprint, make get() request to the instance.
*
*
* optional string fingerprint = 234678500;
*
* @return The bytes for fingerprint.
*/
com.google.protobuf.ByteString getFingerprintBytes();
/**
*
*
*
* A list of the type and count of accelerator cards attached to the instance.
*
*
* repeated .google.cloud.compute.v1.AcceleratorConfig guest_accelerators = 463595119;
*
*/
java.util.List getGuestAcceleratorsList();
/**
*
*
*
* A list of the type and count of accelerator cards attached to the instance.
*
*
* repeated .google.cloud.compute.v1.AcceleratorConfig guest_accelerators = 463595119;
*
*/
com.google.cloud.compute.v1.AcceleratorConfig getGuestAccelerators(int index);
/**
*
*
*
* A list of the type and count of accelerator cards attached to the instance.
*
*
* repeated .google.cloud.compute.v1.AcceleratorConfig guest_accelerators = 463595119;
*
*/
int getGuestAcceleratorsCount();
/**
*
*
*
* A list of the type and count of accelerator cards attached to the instance.
*
*
* repeated .google.cloud.compute.v1.AcceleratorConfig guest_accelerators = 463595119;
*
*/
java.util.List extends com.google.cloud.compute.v1.AcceleratorConfigOrBuilder>
getGuestAcceleratorsOrBuilderList();
/**
*
*
*
* A list of the type and count of accelerator cards attached to the instance.
*
*
* repeated .google.cloud.compute.v1.AcceleratorConfig guest_accelerators = 463595119;
*
*/
com.google.cloud.compute.v1.AcceleratorConfigOrBuilder getGuestAcceleratorsOrBuilder(int index);
/**
*
*
*
* Specifies the hostname of the instance. The specified hostname must be RFC1035 compliant. If hostname is not specified, the default hostname is [INSTANCE_NAME].c.[PROJECT_ID].internal when using the global DNS, and [INSTANCE_NAME].[ZONE].c.[PROJECT_ID].internal when using zonal DNS.
*
*
* optional string hostname = 237067315;
*
* @return Whether the hostname field is set.
*/
boolean hasHostname();
/**
*
*
*
* Specifies the hostname of the instance. The specified hostname must be RFC1035 compliant. If hostname is not specified, the default hostname is [INSTANCE_NAME].c.[PROJECT_ID].internal when using the global DNS, and [INSTANCE_NAME].[ZONE].c.[PROJECT_ID].internal when using zonal DNS.
*
*
* optional string hostname = 237067315;
*
* @return The hostname.
*/
java.lang.String getHostname();
/**
*
*
*
* Specifies the hostname of the instance. The specified hostname must be RFC1035 compliant. If hostname is not specified, the default hostname is [INSTANCE_NAME].c.[PROJECT_ID].internal when using the global DNS, and [INSTANCE_NAME].[ZONE].c.[PROJECT_ID].internal when using zonal DNS.
*
*
* optional string hostname = 237067315;
*
* @return The bytes for hostname.
*/
com.google.protobuf.ByteString getHostnameBytes();
/**
*
*
*
* [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();
/**
*
*
*
* Encrypts suspended data for an instance with a customer-managed encryption key. If you are creating a new instance, this field will encrypt the local SSD and in-memory contents of the instance during the suspend operation. If you do not provide an encryption key when creating the instance, then the local SSD and in-memory contents will be encrypted using an automatically generated key during the suspend operation.
*
*
*
* optional .google.cloud.compute.v1.CustomerEncryptionKey instance_encryption_key = 64741517;
*
*
* @return Whether the instanceEncryptionKey field is set.
*/
boolean hasInstanceEncryptionKey();
/**
*
*
*
* Encrypts suspended data for an instance with a customer-managed encryption key. If you are creating a new instance, this field will encrypt the local SSD and in-memory contents of the instance during the suspend operation. If you do not provide an encryption key when creating the instance, then the local SSD and in-memory contents will be encrypted using an automatically generated key during the suspend operation.
*
*
*
* optional .google.cloud.compute.v1.CustomerEncryptionKey instance_encryption_key = 64741517;
*
*
* @return The instanceEncryptionKey.
*/
com.google.cloud.compute.v1.CustomerEncryptionKey getInstanceEncryptionKey();
/**
*
*
*
* Encrypts suspended data for an instance with a customer-managed encryption key. If you are creating a new instance, this field will encrypt the local SSD and in-memory contents of the instance during the suspend operation. If you do not provide an encryption key when creating the instance, then the local SSD and in-memory contents will be encrypted using an automatically generated key during the suspend operation.
*
*
*
* optional .google.cloud.compute.v1.CustomerEncryptionKey instance_encryption_key = 64741517;
*
*/
com.google.cloud.compute.v1.CustomerEncryptionKeyOrBuilder getInstanceEncryptionKeyOrBuilder();
/**
*
*
*
* KeyRevocationActionType of the instance. Supported options are "STOP" and "NONE". The default value is "NONE" if it is not specified.
* Check the KeyRevocationActionType enum for the list of possible values.
*
*
* optional string key_revocation_action_type = 235941474;
*
* @return Whether the keyRevocationActionType field is set.
*/
boolean hasKeyRevocationActionType();
/**
*
*
*
* KeyRevocationActionType of the instance. Supported options are "STOP" and "NONE". The default value is "NONE" if it is not specified.
* Check the KeyRevocationActionType enum for the list of possible values.
*
*
* optional string key_revocation_action_type = 235941474;
*
* @return The keyRevocationActionType.
*/
java.lang.String getKeyRevocationActionType();
/**
*
*
*
* KeyRevocationActionType of the instance. Supported options are "STOP" and "NONE". The default value is "NONE" if it is not specified.
* Check the KeyRevocationActionType enum for the list of possible values.
*
*
* optional string key_revocation_action_type = 235941474;
*
* @return The bytes for keyRevocationActionType.
*/
com.google.protobuf.ByteString getKeyRevocationActionTypeBytes();
/**
*
*
*
* [Output Only] Type of the resource. Always compute#instance for instances.
*
*
* optional string kind = 3292052;
*
* @return Whether the kind field is set.
*/
boolean hasKind();
/**
*
*
*
* [Output Only] Type of the resource. Always compute#instance for instances.
*
*
* optional string kind = 3292052;
*
* @return The kind.
*/
java.lang.String getKind();
/**
*
*
*
* [Output Only] Type of the resource. Always compute#instance for instances.
*
*
* optional string kind = 3292052;
*
* @return The bytes for kind.
*/
com.google.protobuf.ByteString getKindBytes();
/**
*
*
*
* A fingerprint for this request, which is essentially a hash of the label's contents and 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. To see the latest fingerprint, make get() request to the instance.
*
*
* optional string label_fingerprint = 178124825;
*
* @return Whether the labelFingerprint field is set.
*/
boolean hasLabelFingerprint();
/**
*
*
*
* A fingerprint for this request, which is essentially a hash of the label's contents and 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. To see the latest fingerprint, make get() request to the instance.
*
*
* optional string label_fingerprint = 178124825;
*
* @return The labelFingerprint.
*/
java.lang.String getLabelFingerprint();
/**
*
*
*
* A fingerprint for this request, which is essentially a hash of the label's contents and 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. To see the latest fingerprint, make get() request to the instance.
*
*
* optional string label_fingerprint = 178124825;
*
* @return The bytes for labelFingerprint.
*/
com.google.protobuf.ByteString getLabelFingerprintBytes();
/**
*
*
*
* Labels to apply to this instance. These can be later modified by the setLabels method.
*
*
* map<string, string> labels = 500195327;
*/
int getLabelsCount();
/**
*
*
*
* Labels to apply to this instance. These can be later modified by the setLabels method.
*
*
* 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 instance. These can be later modified by the setLabels method.
*
*
* map<string, string> labels = 500195327;
*/
java.util.Map getLabelsMap();
/**
*
*
*
* Labels to apply to this instance. These can be later modified by the setLabels method.
*
*
* map<string, string> labels = 500195327;
*/
/* nullable */
java.lang.String getLabelsOrDefault(
java.lang.String key,
/* nullable */
java.lang.String defaultValue);
/**
*
*
*
* Labels to apply to this instance. These can be later modified by the setLabels method.
*
*
* map<string, string> labels = 500195327;
*/
java.lang.String getLabelsOrThrow(java.lang.String key);
/**
*
*
*
* [Output Only] Last start timestamp in RFC3339 text format.
*
*
* optional string last_start_timestamp = 443830736;
*
* @return Whether the lastStartTimestamp field is set.
*/
boolean hasLastStartTimestamp();
/**
*
*
*
* [Output Only] Last start timestamp in RFC3339 text format.
*
*
* optional string last_start_timestamp = 443830736;
*
* @return The lastStartTimestamp.
*/
java.lang.String getLastStartTimestamp();
/**
*
*
*
* [Output Only] Last start timestamp in RFC3339 text format.
*
*
* optional string last_start_timestamp = 443830736;
*
* @return The bytes for lastStartTimestamp.
*/
com.google.protobuf.ByteString getLastStartTimestampBytes();
/**
*
*
*
* [Output Only] Last stop timestamp in RFC3339 text format.
*
*
* optional string last_stop_timestamp = 412823010;
*
* @return Whether the lastStopTimestamp field is set.
*/
boolean hasLastStopTimestamp();
/**
*
*
*
* [Output Only] Last stop timestamp in RFC3339 text format.
*
*
* optional string last_stop_timestamp = 412823010;
*
* @return The lastStopTimestamp.
*/
java.lang.String getLastStopTimestamp();
/**
*
*
*
* [Output Only] Last stop timestamp in RFC3339 text format.
*
*
* optional string last_stop_timestamp = 412823010;
*
* @return The bytes for lastStopTimestamp.
*/
com.google.protobuf.ByteString getLastStopTimestampBytes();
/**
*
*
*
* [Output Only] Last suspended timestamp in RFC3339 text format.
*
*
* optional string last_suspended_timestamp = 356275337;
*
* @return Whether the lastSuspendedTimestamp field is set.
*/
boolean hasLastSuspendedTimestamp();
/**
*
*
*
* [Output Only] Last suspended timestamp in RFC3339 text format.
*
*
* optional string last_suspended_timestamp = 356275337;
*
* @return The lastSuspendedTimestamp.
*/
java.lang.String getLastSuspendedTimestamp();
/**
*
*
*
* [Output Only] Last suspended timestamp in RFC3339 text format.
*
*
* optional string last_suspended_timestamp = 356275337;
*
* @return The bytes for lastSuspendedTimestamp.
*/
com.google.protobuf.ByteString getLastSuspendedTimestampBytes();
/**
*
*
*
* Full or partial URL of the machine type resource to use for this instance, in the format: zones/zone/machineTypes/machine-type. This is provided by the client when the instance is created. For example, the following is a valid partial url to a predefined machine type: zones/us-central1-f/machineTypes/n1-standard-1 To create a custom machine type, provide a URL to a machine type in the following format, where CPUS is 1 or an even number up to 32 (2, 4, 6, ... 24, etc), and MEMORY is the total memory for this instance. Memory must be a multiple of 256 MB and must be supplied in MB (e.g. 5 GB of memory is 5120 MB): zones/zone/machineTypes/custom-CPUS-MEMORY For example: zones/us-central1-f/machineTypes/custom-4-5120 For a full list of restrictions, read the Specifications for custom machine types.
*
*
* optional string machine_type = 227711026;
*
* @return Whether the machineType field is set.
*/
boolean hasMachineType();
/**
*
*
*
* Full or partial URL of the machine type resource to use for this instance, in the format: zones/zone/machineTypes/machine-type. This is provided by the client when the instance is created. For example, the following is a valid partial url to a predefined machine type: zones/us-central1-f/machineTypes/n1-standard-1 To create a custom machine type, provide a URL to a machine type in the following format, where CPUS is 1 or an even number up to 32 (2, 4, 6, ... 24, etc), and MEMORY is the total memory for this instance. Memory must be a multiple of 256 MB and must be supplied in MB (e.g. 5 GB of memory is 5120 MB): zones/zone/machineTypes/custom-CPUS-MEMORY For example: zones/us-central1-f/machineTypes/custom-4-5120 For a full list of restrictions, read the Specifications for custom machine types.
*
*
* optional string machine_type = 227711026;
*
* @return The machineType.
*/
java.lang.String getMachineType();
/**
*
*
*
* Full or partial URL of the machine type resource to use for this instance, in the format: zones/zone/machineTypes/machine-type. This is provided by the client when the instance is created. For example, the following is a valid partial url to a predefined machine type: zones/us-central1-f/machineTypes/n1-standard-1 To create a custom machine type, provide a URL to a machine type in the following format, where CPUS is 1 or an even number up to 32 (2, 4, 6, ... 24, etc), and MEMORY is the total memory for this instance. Memory must be a multiple of 256 MB and must be supplied in MB (e.g. 5 GB of memory is 5120 MB): zones/zone/machineTypes/custom-CPUS-MEMORY For example: zones/us-central1-f/machineTypes/custom-4-5120 For a full list of restrictions, read the Specifications for custom machine types.
*
*
* optional string machine_type = 227711026;
*
* @return The bytes for machineType.
*/
com.google.protobuf.ByteString getMachineTypeBytes();
/**
*
*
*
* The metadata key/value pairs assigned to this instance. This includes custom metadata and predefined keys.
*
*
* optional .google.cloud.compute.v1.Metadata metadata = 86866735;
*
* @return Whether the metadata field is set.
*/
boolean hasMetadata();
/**
*
*
*
* The metadata key/value pairs assigned to this instance. This includes custom metadata and predefined keys.
*
*
* optional .google.cloud.compute.v1.Metadata metadata = 86866735;
*
* @return The metadata.
*/
com.google.cloud.compute.v1.Metadata getMetadata();
/**
*
*
*
* The metadata key/value pairs assigned to this instance. This includes custom metadata and predefined keys.
*
*
* optional .google.cloud.compute.v1.Metadata metadata = 86866735;
*/
com.google.cloud.compute.v1.MetadataOrBuilder getMetadataOrBuilder();
/**
*
*
*
* Specifies a minimum CPU platform for the VM instance. Applicable values are the friendly names of CPU platforms, such as minCpuPlatform: "Intel Haswell" or minCpuPlatform: "Intel Sandy Bridge".
*
*
* optional string min_cpu_platform = 242912759;
*
* @return Whether the minCpuPlatform field is set.
*/
boolean hasMinCpuPlatform();
/**
*
*
*
* Specifies a minimum CPU platform for the VM instance. Applicable values are the friendly names of CPU platforms, such as minCpuPlatform: "Intel Haswell" or minCpuPlatform: "Intel Sandy Bridge".
*
*
* optional string min_cpu_platform = 242912759;
*
* @return The minCpuPlatform.
*/
java.lang.String getMinCpuPlatform();
/**
*
*
*
* Specifies a minimum CPU platform for the VM instance. Applicable values are the friendly names of CPU platforms, such as minCpuPlatform: "Intel Haswell" or minCpuPlatform: "Intel Sandy Bridge".
*
*
* optional string min_cpu_platform = 242912759;
*
* @return The bytes for minCpuPlatform.
*/
com.google.protobuf.ByteString getMinCpuPlatformBytes();
/**
*
*
*
* The name of the resource, provided by the client when initially creating the resource. The resource 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();
/**
*
*
*
* The name of the resource, provided by the client when initially creating the resource. The resource 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();
/**
*
*
*
* The name of the resource, provided by the client when initially creating the resource. The resource 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();
/**
*
*
*
* An array of network configurations for this instance. These specify how interfaces are configured to interact with other network services, such as connecting to the internet. Multiple interfaces are supported per instance.
*
*
* repeated .google.cloud.compute.v1.NetworkInterface network_interfaces = 52735243;
*/
java.util.List getNetworkInterfacesList();
/**
*
*
*
* An array of network configurations for this instance. These specify how interfaces are configured to interact with other network services, such as connecting to the internet. Multiple interfaces are supported per instance.
*
*
* repeated .google.cloud.compute.v1.NetworkInterface network_interfaces = 52735243;
*/
com.google.cloud.compute.v1.NetworkInterface getNetworkInterfaces(int index);
/**
*
*
*
* An array of network configurations for this instance. These specify how interfaces are configured to interact with other network services, such as connecting to the internet. Multiple interfaces are supported per instance.
*
*
* repeated .google.cloud.compute.v1.NetworkInterface network_interfaces = 52735243;
*/
int getNetworkInterfacesCount();
/**
*
*
*
* An array of network configurations for this instance. These specify how interfaces are configured to interact with other network services, such as connecting to the internet. Multiple interfaces are supported per instance.
*
*
* repeated .google.cloud.compute.v1.NetworkInterface network_interfaces = 52735243;
*/
java.util.List extends com.google.cloud.compute.v1.NetworkInterfaceOrBuilder>
getNetworkInterfacesOrBuilderList();
/**
*
*
*
* An array of network configurations for this instance. These specify how interfaces are configured to interact with other network services, such as connecting to the internet. Multiple interfaces are supported per instance.
*
*
* repeated .google.cloud.compute.v1.NetworkInterface network_interfaces = 52735243;
*/
com.google.cloud.compute.v1.NetworkInterfaceOrBuilder getNetworkInterfacesOrBuilder(int index);
/**
*
* optional .google.cloud.compute.v1.NetworkPerformanceConfig network_performance_config = 398330850;
*
*
* @return Whether the networkPerformanceConfig field is set.
*/
boolean hasNetworkPerformanceConfig();
/**
*
* optional .google.cloud.compute.v1.NetworkPerformanceConfig network_performance_config = 398330850;
*
*
* @return The networkPerformanceConfig.
*/
com.google.cloud.compute.v1.NetworkPerformanceConfig getNetworkPerformanceConfig();
/**
*
* optional .google.cloud.compute.v1.NetworkPerformanceConfig network_performance_config = 398330850;
*
*/
com.google.cloud.compute.v1.NetworkPerformanceConfigOrBuilder
getNetworkPerformanceConfigOrBuilder();
/**
*
*
*
* Input only. [Input Only] Additional params passed with the request, but not persisted as part of resource payload.
*
*
* optional .google.cloud.compute.v1.InstanceParams params = 78313862;
*
* @return Whether the params field is set.
*/
boolean hasParams();
/**
*
*
*
* Input only. [Input Only] Additional params passed with the request, but not persisted as part of resource payload.
*
*
* optional .google.cloud.compute.v1.InstanceParams params = 78313862;
*
* @return The params.
*/
com.google.cloud.compute.v1.InstanceParams getParams();
/**
*
*
*
* Input only. [Input Only] Additional params passed with the request, but not persisted as part of resource payload.
*
*
* optional .google.cloud.compute.v1.InstanceParams params = 78313862;
*/
com.google.cloud.compute.v1.InstanceParamsOrBuilder getParamsOrBuilder();
/**
*
*
*
* The private IPv6 google access type for the VM. If not specified, use INHERIT_FROM_SUBNETWORK as default.
* Check the PrivateIpv6GoogleAccess enum for the list of possible values.
*
*
* optional string private_ipv6_google_access = 48277006;
*
* @return Whether the privateIpv6GoogleAccess field is set.
*/
boolean hasPrivateIpv6GoogleAccess();
/**
*
*
*
* The private IPv6 google access type for the VM. If not specified, use INHERIT_FROM_SUBNETWORK as default.
* Check the PrivateIpv6GoogleAccess enum for the list of possible values.
*
*
* optional string private_ipv6_google_access = 48277006;
*
* @return The privateIpv6GoogleAccess.
*/
java.lang.String getPrivateIpv6GoogleAccess();
/**
*
*
*
* The private IPv6 google access type for the VM. If not specified, use INHERIT_FROM_SUBNETWORK as default.
* Check the PrivateIpv6GoogleAccess enum for the list of possible values.
*
*
* optional string private_ipv6_google_access = 48277006;
*
* @return The bytes for privateIpv6GoogleAccess.
*/
com.google.protobuf.ByteString getPrivateIpv6GoogleAccessBytes();
/**
*
*
*
* Specifies the reservations that this instance can consume from.
*
*
* optional .google.cloud.compute.v1.ReservationAffinity reservation_affinity = 157850683;
*
*
* @return Whether the reservationAffinity field is set.
*/
boolean hasReservationAffinity();
/**
*
*
*
* Specifies the reservations that this instance can consume from.
*
*
* optional .google.cloud.compute.v1.ReservationAffinity reservation_affinity = 157850683;
*
*
* @return The reservationAffinity.
*/
com.google.cloud.compute.v1.ReservationAffinity getReservationAffinity();
/**
*
*
*
* Specifies the reservations that this instance can consume from.
*
*
* optional .google.cloud.compute.v1.ReservationAffinity reservation_affinity = 157850683;
*
*/
com.google.cloud.compute.v1.ReservationAffinityOrBuilder getReservationAffinityOrBuilder();
/**
*
*
*
* Resource policies applied to this instance.
*
*
* repeated string resource_policies = 22220385;
*
* @return A list containing the resourcePolicies.
*/
java.util.List getResourcePoliciesList();
/**
*
*
*
* Resource policies applied to this instance.
*
*
* repeated string resource_policies = 22220385;
*
* @return The count of resourcePolicies.
*/
int getResourcePoliciesCount();
/**
*
*
*
* Resource policies applied to this instance.
*
*
* repeated string resource_policies = 22220385;
*
* @param index The index of the element to return.
* @return The resourcePolicies at the given index.
*/
java.lang.String getResourcePolicies(int index);
/**
*
*
*
* Resource policies applied to this instance.
*
*
* repeated string resource_policies = 22220385;
*
* @param index The index of the value to return.
* @return The bytes of the resourcePolicies at the given index.
*/
com.google.protobuf.ByteString getResourcePoliciesBytes(int index);
/**
*
*
*
* [Output Only] Specifies values set for instance attributes as compared to the values requested by user in the corresponding input only field.
*
*
* optional .google.cloud.compute.v1.ResourceStatus resource_status = 249429315;
*
* @return Whether the resourceStatus field is set.
*/
boolean hasResourceStatus();
/**
*
*
*
* [Output Only] Specifies values set for instance attributes as compared to the values requested by user in the corresponding input only field.
*
*
* optional .google.cloud.compute.v1.ResourceStatus resource_status = 249429315;
*
* @return The resourceStatus.
*/
com.google.cloud.compute.v1.ResourceStatus getResourceStatus();
/**
*
*
*
* [Output Only] Specifies values set for instance attributes as compared to the values requested by user in the corresponding input only field.
*
*
* optional .google.cloud.compute.v1.ResourceStatus resource_status = 249429315;
*/
com.google.cloud.compute.v1.ResourceStatusOrBuilder 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();
/**
*
*
*
* Sets the scheduling options for this instance.
*
*
* optional .google.cloud.compute.v1.Scheduling scheduling = 386688404;
*
* @return Whether the scheduling field is set.
*/
boolean hasScheduling();
/**
*
*
*
* Sets the scheduling options for this instance.
*
*
* optional .google.cloud.compute.v1.Scheduling scheduling = 386688404;
*
* @return The scheduling.
*/
com.google.cloud.compute.v1.Scheduling getScheduling();
/**
*
*
*
* Sets the scheduling options for this instance.
*
*
* optional .google.cloud.compute.v1.Scheduling scheduling = 386688404;
*/
com.google.cloud.compute.v1.SchedulingOrBuilder getSchedulingOrBuilder();
/**
*
*
*
* [Output Only] Server-defined URL for this resource.
*
*
* optional string self_link = 456214797;
*
* @return Whether the selfLink field is set.
*/
boolean hasSelfLink();
/**
*
*
*
* [Output Only] Server-defined URL for this resource.
*
*
* optional string self_link = 456214797;
*
* @return The selfLink.
*/
java.lang.String getSelfLink();
/**
*
*
*
* [Output Only] Server-defined URL for this resource.
*
*
* optional string self_link = 456214797;
*
* @return The bytes for selfLink.
*/
com.google.protobuf.ByteString getSelfLinkBytes();
/**
*
*
*
* A list of service accounts, with their specified scopes, authorized for this instance. Only one service account per VM instance is supported. Service accounts generate access tokens that can be accessed through the metadata server and used to authenticate applications on the instance. See Service Accounts for more information.
*
*
* repeated .google.cloud.compute.v1.ServiceAccount service_accounts = 277537328;
*/
java.util.List getServiceAccountsList();
/**
*
*
*
* A list of service accounts, with their specified scopes, authorized for this instance. Only one service account per VM instance is supported. Service accounts generate access tokens that can be accessed through the metadata server and used to authenticate applications on the instance. See Service Accounts for more information.
*
*
* repeated .google.cloud.compute.v1.ServiceAccount service_accounts = 277537328;
*/
com.google.cloud.compute.v1.ServiceAccount getServiceAccounts(int index);
/**
*
*
*
* A list of service accounts, with their specified scopes, authorized for this instance. Only one service account per VM instance is supported. Service accounts generate access tokens that can be accessed through the metadata server and used to authenticate applications on the instance. See Service Accounts for more information.
*
*
* repeated .google.cloud.compute.v1.ServiceAccount service_accounts = 277537328;
*/
int getServiceAccountsCount();
/**
*
*
*
* A list of service accounts, with their specified scopes, authorized for this instance. Only one service account per VM instance is supported. Service accounts generate access tokens that can be accessed through the metadata server and used to authenticate applications on the instance. See Service Accounts for more information.
*
*
* repeated .google.cloud.compute.v1.ServiceAccount service_accounts = 277537328;
*/
java.util.List extends com.google.cloud.compute.v1.ServiceAccountOrBuilder>
getServiceAccountsOrBuilderList();
/**
*
*
*
* A list of service accounts, with their specified scopes, authorized for this instance. Only one service account per VM instance is supported. Service accounts generate access tokens that can be accessed through the metadata server and used to authenticate applications on the instance. See Service Accounts for more information.
*
*
* repeated .google.cloud.compute.v1.ServiceAccount service_accounts = 277537328;
*/
com.google.cloud.compute.v1.ServiceAccountOrBuilder getServiceAccountsOrBuilder(int index);
/**
*
* optional .google.cloud.compute.v1.ShieldedInstanceConfig shielded_instance_config = 12862901;
*
*
* @return Whether the shieldedInstanceConfig field is set.
*/
boolean hasShieldedInstanceConfig();
/**
*
* optional .google.cloud.compute.v1.ShieldedInstanceConfig shielded_instance_config = 12862901;
*
*
* @return The shieldedInstanceConfig.
*/
com.google.cloud.compute.v1.ShieldedInstanceConfig getShieldedInstanceConfig();
/**
*
* optional .google.cloud.compute.v1.ShieldedInstanceConfig shielded_instance_config = 12862901;
*
*/
com.google.cloud.compute.v1.ShieldedInstanceConfigOrBuilder getShieldedInstanceConfigOrBuilder();
/**
*
* optional .google.cloud.compute.v1.ShieldedInstanceIntegrityPolicy shielded_instance_integrity_policy = 163696919;
*
*
* @return Whether the shieldedInstanceIntegrityPolicy field is set.
*/
boolean hasShieldedInstanceIntegrityPolicy();
/**
*
* optional .google.cloud.compute.v1.ShieldedInstanceIntegrityPolicy shielded_instance_integrity_policy = 163696919;
*
*
* @return The shieldedInstanceIntegrityPolicy.
*/
com.google.cloud.compute.v1.ShieldedInstanceIntegrityPolicy getShieldedInstanceIntegrityPolicy();
/**
*
* optional .google.cloud.compute.v1.ShieldedInstanceIntegrityPolicy shielded_instance_integrity_policy = 163696919;
*
*/
com.google.cloud.compute.v1.ShieldedInstanceIntegrityPolicyOrBuilder
getShieldedInstanceIntegrityPolicyOrBuilder();
/**
*
*
*
* Source machine image
*
*
* optional string source_machine_image = 21769791;
*
* @return Whether the sourceMachineImage field is set.
*/
boolean hasSourceMachineImage();
/**
*
*
*
* Source machine image
*
*
* optional string source_machine_image = 21769791;
*
* @return The sourceMachineImage.
*/
java.lang.String getSourceMachineImage();
/**
*
*
*
* Source machine image
*
*
* optional string source_machine_image = 21769791;
*
* @return The bytes for sourceMachineImage.
*/
com.google.protobuf.ByteString getSourceMachineImageBytes();
/**
*
*
*
* Source machine image encryption key when creating an instance from a machine image.
*
*
*
* optional .google.cloud.compute.v1.CustomerEncryptionKey source_machine_image_encryption_key = 192839075;
*
*
* @return Whether the sourceMachineImageEncryptionKey field is set.
*/
boolean hasSourceMachineImageEncryptionKey();
/**
*
*
*
* Source machine image encryption key when creating an instance from a machine image.
*
*
*
* optional .google.cloud.compute.v1.CustomerEncryptionKey source_machine_image_encryption_key = 192839075;
*
*
* @return The sourceMachineImageEncryptionKey.
*/
com.google.cloud.compute.v1.CustomerEncryptionKey getSourceMachineImageEncryptionKey();
/**
*
*
*
* Source machine image encryption key when creating an instance from a machine image.
*
*
*
* optional .google.cloud.compute.v1.CustomerEncryptionKey source_machine_image_encryption_key = 192839075;
*
*/
com.google.cloud.compute.v1.CustomerEncryptionKeyOrBuilder
getSourceMachineImageEncryptionKeyOrBuilder();
/**
*
*
*
* [Output Only] Whether a VM has been restricted for start because Compute Engine has detected suspicious activity.
*
*
* optional bool start_restricted = 123693144;
*
* @return Whether the startRestricted field is set.
*/
boolean hasStartRestricted();
/**
*
*
*
* [Output Only] Whether a VM has been restricted for start because Compute Engine has detected suspicious activity.
*
*
* optional bool start_restricted = 123693144;
*
* @return The startRestricted.
*/
boolean getStartRestricted();
/**
*
*
*
* [Output Only] The status of the instance. One of the following values: PROVISIONING, STAGING, RUNNING, STOPPING, SUSPENDING, SUSPENDED, REPAIRING, and TERMINATED. For more information about the status of the instance, see Instance life cycle.
* 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 instance. One of the following values: PROVISIONING, STAGING, RUNNING, STOPPING, SUSPENDING, SUSPENDED, REPAIRING, and TERMINATED. For more information about the status of the instance, see Instance life cycle.
* 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 instance. One of the following values: PROVISIONING, STAGING, RUNNING, STOPPING, SUSPENDING, SUSPENDED, REPAIRING, and TERMINATED. For more information about the status of the instance, see Instance life cycle.
* 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] An optional, human-readable explanation of the status.
*
*
* optional string status_message = 297428154;
*
* @return Whether the statusMessage field is set.
*/
boolean hasStatusMessage();
/**
*
*
*
* [Output Only] An optional, human-readable explanation of the status.
*
*
* optional string status_message = 297428154;
*
* @return The statusMessage.
*/
java.lang.String getStatusMessage();
/**
*
*
*
* [Output Only] An optional, human-readable explanation of the status.
*
*
* optional string status_message = 297428154;
*
* @return The bytes for statusMessage.
*/
com.google.protobuf.ByteString getStatusMessageBytes();
/**
*
*
*
* Tags to apply to this instance. Tags are used to identify valid sources or targets for network firewalls and are specified by the client during instance creation. The tags can be later modified by the setTags method. Each tag within the list must comply with RFC1035. Multiple tags can be specified via the 'tags.items' field.
*
*
* optional .google.cloud.compute.v1.Tags tags = 3552281;
*
* @return Whether the tags field is set.
*/
boolean hasTags();
/**
*
*
*
* Tags to apply to this instance. Tags are used to identify valid sources or targets for network firewalls and are specified by the client during instance creation. The tags can be later modified by the setTags method. Each tag within the list must comply with RFC1035. Multiple tags can be specified via the 'tags.items' field.
*
*
* optional .google.cloud.compute.v1.Tags tags = 3552281;
*
* @return The tags.
*/
com.google.cloud.compute.v1.Tags getTags();
/**
*
*
*
* Tags to apply to this instance. Tags are used to identify valid sources or targets for network firewalls and are specified by the client during instance creation. The tags can be later modified by the setTags method. Each tag within the list must comply with RFC1035. Multiple tags can be specified via the 'tags.items' field.
*
*
* optional .google.cloud.compute.v1.Tags tags = 3552281;
*/
com.google.cloud.compute.v1.TagsOrBuilder getTagsOrBuilder();
/**
*
*
*
* [Output Only] URL of the zone where the instance 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 instance 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 instance 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