Package com.google.cloud.compute.v1
Class Instance.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<Instance.Builder>
com.google.cloud.compute.v1.Instance.Builder
- All Implemented Interfaces:
InstanceOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- Instance
public static final class Instance.Builder
extends com.google.protobuf.GeneratedMessage.Builder<Instance.Builder>
implements InstanceOrBuilder
Represents an Instance resource. An instance is a virtual machine that is hosted on Google Cloud Platform. For more information, readVirtual Machine Instances.Protobuf type
google.cloud.compute.v1.Instance-
Method Summary
Modifier and TypeMethodDescriptionaddAllDisks(Iterable<? extends AttachedDisk> values) Array of disks associated with this instance.addAllGuestAccelerators(Iterable<? extends AcceleratorConfig> values) A list of the type and count of accelerator cards attached to the instance.addAllNetworkInterfaces(Iterable<? extends NetworkInterface> values) An array of network configurations for this instance.addAllResourcePolicies(Iterable<String> values) Resource policies applied to this instance.addAllServiceAccounts(Iterable<? extends ServiceAccount> values) A list of service accounts, with their specified scopes, authorized for this instance.addDisks(int index, AttachedDisk value) Array of disks associated with this instance.addDisks(int index, AttachedDisk.Builder builderForValue) Array of disks associated with this instance.addDisks(AttachedDisk value) Array of disks associated with this instance.addDisks(AttachedDisk.Builder builderForValue) Array of disks associated with this instance.Array of disks associated with this instance.addDisksBuilder(int index) Array of disks associated with this instance.addGuestAccelerators(int index, AcceleratorConfig value) A list of the type and count of accelerator cards attached to the instance.addGuestAccelerators(int index, AcceleratorConfig.Builder builderForValue) A list of the type and count of accelerator cards attached to the instance.A list of the type and count of accelerator cards attached to the instance.addGuestAccelerators(AcceleratorConfig.Builder builderForValue) A list of the type and count of accelerator cards attached to the instance.A list of the type and count of accelerator cards attached to the instance.addGuestAcceleratorsBuilder(int index) A list of the type and count of accelerator cards attached to the instance.addNetworkInterfaces(int index, NetworkInterface value) An array of network configurations for this instance.addNetworkInterfaces(int index, NetworkInterface.Builder builderForValue) An array of network configurations for this instance.An array of network configurations for this instance.addNetworkInterfaces(NetworkInterface.Builder builderForValue) An array of network configurations for this instance.An array of network configurations for this instance.addNetworkInterfacesBuilder(int index) An array of network configurations for this instance.addResourcePolicies(String value) Resource policies applied to this instance.addResourcePoliciesBytes(com.google.protobuf.ByteString value) Resource policies applied to this instance.addServiceAccounts(int index, ServiceAccount value) A list of service accounts, with their specified scopes, authorized for this instance.addServiceAccounts(int index, ServiceAccount.Builder builderForValue) A list of service accounts, with their specified scopes, authorized for this instance.addServiceAccounts(ServiceAccount value) A list of service accounts, with their specified scopes, authorized for this instance.addServiceAccounts(ServiceAccount.Builder builderForValue) A list of service accounts, with their specified scopes, authorized for this instance.A list of service accounts, with their specified scopes, authorized for this instance.addServiceAccountsBuilder(int index) A list of service accounts, with their specified scopes, authorized for this instance.build()clear()Controls for advanced machine-related behavior features.Allows this instance to send and receive packets with non-matching destination or source IPs.optional .google.cloud.compute.v1.ConfidentialInstanceConfig confidential_instance_config = 490637685;Output only.Output only.Whether the resource should be protected against deletion.An optional description of this resource.Array of disks associated with this instance.Enables display device for the instance.Specifies a fingerprint for this resource, which is essentially a hash of the instance's contents and used for optimistic locking.A list of the type and count of accelerator cards attached to the instance.Specifies the hostname of the instance.clearId()Output only.Encrypts suspended data for an instance with acustomer-managed encryption key.KeyRevocationActionType of the instance.Output only.A fingerprint for this request, which is essentially a hash of the label's contents and used for optimistic locking.Output only.Output only.Output only.Full or partial URL of the machine type resource to use for this instance, in the format:zones/zone/machineTypes/machine-type.The metadata key/value pairs assigned to this instance.Specifies aminimum CPU platform for the VM instance.The name of the resource, provided by the client when initially creating the resource.An array of network configurations for this instance.optional .google.cloud.compute.v1.NetworkPerformanceConfig network_performance_config = 398330850;Input only.The private IPv6 google access type for the VM.Specifies the reservations that this instance can consume from.Resource policies applied to this instance.Output only.Output only.Output only.Sets the scheduling options for this instance.Output only.A list of service accounts, with their specified scopes, authorized for this instance.optional .google.cloud.compute.v1.ShieldedInstanceConfig shielded_instance_config = 12862901;optional .google.cloud.compute.v1.ShieldedInstanceIntegrityPolicy shielded_instance_integrity_policy = 163696919;Source machine imageSource machine image encryption key when creating an instance from a machine image.Output only.Output only.Output only.Tags to apply to this instance.optional .google.cloud.compute.v1.WorkloadIdentityConfig workload_identity_config = 338198811;Output only.booleancontainsLabels(String key) Labels to apply to this instance.Controls for advanced machine-related behavior features.Controls for advanced machine-related behavior features.Controls for advanced machine-related behavior features.booleanAllows this instance to send and receive packets with non-matching destination or source IPs.optional .google.cloud.compute.v1.ConfidentialInstanceConfig confidential_instance_config = 490637685;optional .google.cloud.compute.v1.ConfidentialInstanceConfig confidential_instance_config = 490637685;optional .google.cloud.compute.v1.ConfidentialInstanceConfig confidential_instance_config = 490637685;Output only.com.google.protobuf.ByteStringOutput only.Output only.com.google.protobuf.ByteStringOutput only.booleanWhether the resource should be protected against deletion.An optional description of this resource.com.google.protobuf.ByteStringAn optional description of this resource.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorgetDisks(int index) Array of disks associated with this instance.getDisksBuilder(int index) Array of disks associated with this instance.Array of disks associated with this instance.intArray of disks associated with this instance.Array of disks associated with this instance.getDisksOrBuilder(int index) Array of disks associated with this instance.List<? extends AttachedDiskOrBuilder>Array of disks associated with this instance.Enables display device for the instance.Enables display device for the instance.Enables display device for the instance.Specifies a fingerprint for this resource, which is essentially a hash of the instance's contents and used for optimistic locking.com.google.protobuf.ByteStringSpecifies a fingerprint for this resource, which is essentially a hash of the instance's contents and used for optimistic locking.getGuestAccelerators(int index) A list of the type and count of accelerator cards attached to the instance.getGuestAcceleratorsBuilder(int index) A list of the type and count of accelerator cards attached to the instance.A list of the type and count of accelerator cards attached to the instance.intA list of the type and count of accelerator cards attached to the instance.A list of the type and count of accelerator cards attached to the instance.getGuestAcceleratorsOrBuilder(int index) A list of the type and count of accelerator cards attached to the instance.List<? extends AcceleratorConfigOrBuilder>A list of the type and count of accelerator cards attached to the instance.Specifies the hostname of the instance.com.google.protobuf.ByteStringSpecifies the hostname of the instance.longgetId()Output only.Encrypts suspended data for an instance with acustomer-managed encryption key.Encrypts suspended data for an instance with acustomer-managed encryption key.Encrypts suspended data for an instance with acustomer-managed encryption key.KeyRevocationActionType of the instance.com.google.protobuf.ByteStringKeyRevocationActionType of the instance.getKind()Output only.com.google.protobuf.ByteStringOutput only.A fingerprint for this request, which is essentially a hash of the label's contents and used for optimistic locking.com.google.protobuf.ByteStringA fingerprint for this request, which is essentially a hash of the label's contents and used for optimistic locking.Deprecated.intLabels to apply to this instance.Labels to apply to this instance.getLabelsOrDefault(String key, String defaultValue) Labels to apply to this instance.getLabelsOrThrow(String key) Labels to apply to this instance.Output only.com.google.protobuf.ByteStringOutput only.Output only.com.google.protobuf.ByteStringOutput only.Output only.com.google.protobuf.ByteStringOutput only.Full or partial URL of the machine type resource to use for this instance, in the format:zones/zone/machineTypes/machine-type.com.google.protobuf.ByteStringFull or partial URL of the machine type resource to use for this instance, in the format:zones/zone/machineTypes/machine-type.The metadata key/value pairs assigned to this instance.The metadata key/value pairs assigned to this instance.The metadata key/value pairs assigned to this instance.Specifies aminimum CPU platform for the VM instance.com.google.protobuf.ByteStringSpecifies aminimum CPU platform for the VM instance.Deprecated.getName()The name of the resource, provided by the client when initially creating the resource.com.google.protobuf.ByteStringThe name of the resource, provided by the client when initially creating the resource.getNetworkInterfaces(int index) An array of network configurations for this instance.getNetworkInterfacesBuilder(int index) An array of network configurations for this instance.An array of network configurations for this instance.intAn array of network configurations for this instance.An array of network configurations for this instance.getNetworkInterfacesOrBuilder(int index) An array of network configurations for this instance.List<? extends NetworkInterfaceOrBuilder>An array of network configurations for this instance.optional .google.cloud.compute.v1.NetworkPerformanceConfig network_performance_config = 398330850;optional .google.cloud.compute.v1.NetworkPerformanceConfig network_performance_config = 398330850;optional .google.cloud.compute.v1.NetworkPerformanceConfig network_performance_config = 398330850;Input only.Input only.Input only.The private IPv6 google access type for the VM.com.google.protobuf.ByteStringThe private IPv6 google access type for the VM.Specifies the reservations that this instance can consume from.Specifies the reservations that this instance can consume from.Specifies the reservations that this instance can consume from.getResourcePolicies(int index) Resource policies applied to this instance.com.google.protobuf.ByteStringgetResourcePoliciesBytes(int index) Resource policies applied to this instance.intResource policies applied to this instance.com.google.protobuf.ProtocolStringListResource policies applied to this instance.Output only.Output only.Output only.booleanOutput only.booleanOutput only.Sets the scheduling options for this instance.Sets the scheduling options for this instance.Sets the scheduling options for this instance.Output only.com.google.protobuf.ByteStringOutput only.getServiceAccounts(int index) A list of service accounts, with their specified scopes, authorized for this instance.getServiceAccountsBuilder(int index) A list of service accounts, with their specified scopes, authorized for this instance.A list of service accounts, with their specified scopes, authorized for this instance.intA list of service accounts, with their specified scopes, authorized for this instance.A list of service accounts, with their specified scopes, authorized for this instance.getServiceAccountsOrBuilder(int index) A list of service accounts, with their specified scopes, authorized for this instance.List<? extends ServiceAccountOrBuilder>A list of service accounts, with their specified scopes, authorized for this instance.optional .google.cloud.compute.v1.ShieldedInstanceConfig shielded_instance_config = 12862901;optional .google.cloud.compute.v1.ShieldedInstanceConfig shielded_instance_config = 12862901;optional .google.cloud.compute.v1.ShieldedInstanceConfig shielded_instance_config = 12862901;optional .google.cloud.compute.v1.ShieldedInstanceIntegrityPolicy shielded_instance_integrity_policy = 163696919;optional .google.cloud.compute.v1.ShieldedInstanceIntegrityPolicy shielded_instance_integrity_policy = 163696919;optional .google.cloud.compute.v1.ShieldedInstanceIntegrityPolicy shielded_instance_integrity_policy = 163696919;Source machine imagecom.google.protobuf.ByteStringSource machine imageSource machine image encryption key when creating an instance from a machine image.Source machine image encryption key when creating an instance from a machine image.Source machine image encryption key when creating an instance from a machine image.booleanOutput only.Output only.com.google.protobuf.ByteStringOutput only.Output only.com.google.protobuf.ByteStringOutput only.getTags()Tags to apply to this instance.Tags to apply to this instance.Tags to apply to this instance.optional .google.cloud.compute.v1.WorkloadIdentityConfig workload_identity_config = 338198811;optional .google.cloud.compute.v1.WorkloadIdentityConfig workload_identity_config = 338198811;optional .google.cloud.compute.v1.WorkloadIdentityConfig workload_identity_config = 338198811;getZone()Output only.com.google.protobuf.ByteStringOutput only.booleanControls for advanced machine-related behavior features.booleanAllows this instance to send and receive packets with non-matching destination or source IPs.booleanoptional .google.cloud.compute.v1.ConfidentialInstanceConfig confidential_instance_config = 490637685;booleanOutput only.booleanOutput only.booleanWhether the resource should be protected against deletion.booleanAn optional description of this resource.booleanEnables display device for the instance.booleanSpecifies a fingerprint for this resource, which is essentially a hash of the instance's contents and used for optimistic locking.booleanSpecifies the hostname of the instance.booleanhasId()Output only.booleanEncrypts suspended data for an instance with acustomer-managed encryption key.booleanKeyRevocationActionType of the instance.booleanhasKind()Output only.booleanA fingerprint for this request, which is essentially a hash of the label's contents and used for optimistic locking.booleanOutput only.booleanOutput only.booleanOutput only.booleanFull or partial URL of the machine type resource to use for this instance, in the format:zones/zone/machineTypes/machine-type.booleanThe metadata key/value pairs assigned to this instance.booleanSpecifies aminimum CPU platform for the VM instance.booleanhasName()The name of the resource, provided by the client when initially creating the resource.booleanoptional .google.cloud.compute.v1.NetworkPerformanceConfig network_performance_config = 398330850;booleanInput only.booleanThe private IPv6 google access type for the VM.booleanSpecifies the reservations that this instance can consume from.booleanOutput only.booleanOutput only.booleanOutput only.booleanSets the scheduling options for this instance.booleanOutput only.booleanoptional .google.cloud.compute.v1.ShieldedInstanceConfig shielded_instance_config = 12862901;booleanoptional .google.cloud.compute.v1.ShieldedInstanceIntegrityPolicy shielded_instance_integrity_policy = 163696919;booleanSource machine imagebooleanSource machine image encryption key when creating an instance from a machine image.booleanOutput only.booleanOutput only.booleanOutput only.booleanhasTags()Tags to apply to this instance.booleanoptional .google.cloud.compute.v1.WorkloadIdentityConfig workload_identity_config = 338198811;booleanhasZone()Output only.protected com.google.protobuf.GeneratedMessage.FieldAccessorTableprotected com.google.protobuf.MapFieldReflectionAccessorinternalGetMapFieldReflection(int number) protected com.google.protobuf.MapFieldReflectionAccessorinternalGetMutableMapFieldReflection(int number) final booleanControls for advanced machine-related behavior features.optional .google.cloud.compute.v1.ConfidentialInstanceConfig confidential_instance_config = 490637685;mergeDisplayDevice(DisplayDevice value) Enables display device for the instance.mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) Encrypts suspended data for an instance with acustomer-managed encryption key.mergeMetadata(Metadata value) The metadata key/value pairs assigned to this instance.optional .google.cloud.compute.v1.NetworkPerformanceConfig network_performance_config = 398330850;mergeParams(InstanceParams value) Input only.Specifies the reservations that this instance can consume from.Output only.mergeScheduling(Scheduling value) Sets the scheduling options for this instance.optional .google.cloud.compute.v1.ShieldedInstanceConfig shielded_instance_config = 12862901;optional .google.cloud.compute.v1.ShieldedInstanceIntegrityPolicy shielded_instance_integrity_policy = 163696919;Source machine image encryption key when creating an instance from a machine image.Tags to apply to this instance.optional .google.cloud.compute.v1.WorkloadIdentityConfig workload_identity_config = 338198811;putAllLabels(Map<String, String> values) Labels to apply to this instance.Labels to apply to this instance.removeDisks(int index) Array of disks associated with this instance.removeGuestAccelerators(int index) A list of the type and count of accelerator cards attached to the instance.removeLabels(String key) Labels to apply to this instance.removeNetworkInterfaces(int index) An array of network configurations for this instance.removeServiceAccounts(int index) A list of service accounts, with their specified scopes, authorized for this instance.Controls for advanced machine-related behavior features.setAdvancedMachineFeatures(AdvancedMachineFeatures.Builder builderForValue) Controls for advanced machine-related behavior features.setCanIpForward(boolean value) Allows this instance to send and receive packets with non-matching destination or source IPs.optional .google.cloud.compute.v1.ConfidentialInstanceConfig confidential_instance_config = 490637685;setConfidentialInstanceConfig(ConfidentialInstanceConfig.Builder builderForValue) optional .google.cloud.compute.v1.ConfidentialInstanceConfig confidential_instance_config = 490637685;setCpuPlatform(String value) Output only.setCpuPlatformBytes(com.google.protobuf.ByteString value) Output only.setCreationTimestamp(String value) Output only.setCreationTimestampBytes(com.google.protobuf.ByteString value) Output only.setDeletionProtection(boolean value) Whether the resource should be protected against deletion.setDescription(String value) An optional description of this resource.setDescriptionBytes(com.google.protobuf.ByteString value) An optional description of this resource.setDisks(int index, AttachedDisk value) Array of disks associated with this instance.setDisks(int index, AttachedDisk.Builder builderForValue) Array of disks associated with this instance.setDisplayDevice(DisplayDevice value) Enables display device for the instance.setDisplayDevice(DisplayDevice.Builder builderForValue) Enables display device for the instance.setFingerprint(String value) Specifies a fingerprint for this resource, which is essentially a hash of the instance's contents and used for optimistic locking.setFingerprintBytes(com.google.protobuf.ByteString value) Specifies a fingerprint for this resource, which is essentially a hash of the instance's contents and used for optimistic locking.setGuestAccelerators(int index, AcceleratorConfig value) A list of the type and count of accelerator cards attached to the instance.setGuestAccelerators(int index, AcceleratorConfig.Builder builderForValue) A list of the type and count of accelerator cards attached to the instance.setHostname(String value) Specifies the hostname of the instance.setHostnameBytes(com.google.protobuf.ByteString value) Specifies the hostname of the instance.setId(long value) Output only.Encrypts suspended data for an instance with acustomer-managed encryption key.setInstanceEncryptionKey(CustomerEncryptionKey.Builder builderForValue) Encrypts suspended data for an instance with acustomer-managed encryption key.setKeyRevocationActionType(String value) KeyRevocationActionType of the instance.setKeyRevocationActionTypeBytes(com.google.protobuf.ByteString value) KeyRevocationActionType of the instance.Output only.setKindBytes(com.google.protobuf.ByteString value) Output only.setLabelFingerprint(String value) A fingerprint for this request, which is essentially a hash of the label's contents and used for optimistic locking.setLabelFingerprintBytes(com.google.protobuf.ByteString value) A fingerprint for this request, which is essentially a hash of the label's contents and used for optimistic locking.setLastStartTimestamp(String value) Output only.setLastStartTimestampBytes(com.google.protobuf.ByteString value) Output only.setLastStopTimestamp(String value) Output only.setLastStopTimestampBytes(com.google.protobuf.ByteString value) Output only.setLastSuspendedTimestamp(String value) Output only.setLastSuspendedTimestampBytes(com.google.protobuf.ByteString value) Output only.setMachineType(String value) Full or partial URL of the machine type resource to use for this instance, in the format:zones/zone/machineTypes/machine-type.setMachineTypeBytes(com.google.protobuf.ByteString value) Full or partial URL of the machine type resource to use for this instance, in the format:zones/zone/machineTypes/machine-type.setMetadata(Metadata value) The metadata key/value pairs assigned to this instance.setMetadata(Metadata.Builder builderForValue) The metadata key/value pairs assigned to this instance.setMinCpuPlatform(String value) Specifies aminimum CPU platform for the VM instance.setMinCpuPlatformBytes(com.google.protobuf.ByteString value) Specifies aminimum CPU platform for the VM instance.The name of the resource, provided by the client when initially creating the resource.setNameBytes(com.google.protobuf.ByteString value) The name of the resource, provided by the client when initially creating the resource.setNetworkInterfaces(int index, NetworkInterface value) An array of network configurations for this instance.setNetworkInterfaces(int index, NetworkInterface.Builder builderForValue) An array of network configurations for this instance.optional .google.cloud.compute.v1.NetworkPerformanceConfig network_performance_config = 398330850;setNetworkPerformanceConfig(NetworkPerformanceConfig.Builder builderForValue) optional .google.cloud.compute.v1.NetworkPerformanceConfig network_performance_config = 398330850;setParams(InstanceParams value) Input only.setParams(InstanceParams.Builder builderForValue) Input only.setPrivateIpv6GoogleAccess(String value) The private IPv6 google access type for the VM.setPrivateIpv6GoogleAccessBytes(com.google.protobuf.ByteString value) The private IPv6 google access type for the VM.Specifies the reservations that this instance can consume from.setReservationAffinity(ReservationAffinity.Builder builderForValue) Specifies the reservations that this instance can consume from.setResourcePolicies(int index, String value) Resource policies applied to this instance.setResourceStatus(ResourceStatus value) Output only.setResourceStatus(ResourceStatus.Builder builderForValue) Output only.setSatisfiesPzi(boolean value) Output only.setSatisfiesPzs(boolean value) Output only.setScheduling(Scheduling value) Sets the scheduling options for this instance.setScheduling(Scheduling.Builder builderForValue) Sets the scheduling options for this instance.setSelfLink(String value) Output only.setSelfLinkBytes(com.google.protobuf.ByteString value) Output only.setServiceAccounts(int index, ServiceAccount value) A list of service accounts, with their specified scopes, authorized for this instance.setServiceAccounts(int index, ServiceAccount.Builder builderForValue) A list of service accounts, with their specified scopes, authorized for this instance.optional .google.cloud.compute.v1.ShieldedInstanceConfig shielded_instance_config = 12862901;setShieldedInstanceConfig(ShieldedInstanceConfig.Builder builderForValue) optional .google.cloud.compute.v1.ShieldedInstanceConfig shielded_instance_config = 12862901;optional .google.cloud.compute.v1.ShieldedInstanceIntegrityPolicy shielded_instance_integrity_policy = 163696919;optional .google.cloud.compute.v1.ShieldedInstanceIntegrityPolicy shielded_instance_integrity_policy = 163696919;setSourceMachineImage(String value) Source machine imagesetSourceMachineImageBytes(com.google.protobuf.ByteString value) Source machine imageSource machine image encryption key when creating an instance from a machine image.setSourceMachineImageEncryptionKey(CustomerEncryptionKey.Builder builderForValue) Source machine image encryption key when creating an instance from a machine image.setStartRestricted(boolean value) Output only.Output only.setStatusBytes(com.google.protobuf.ByteString value) Output only.setStatusMessage(String value) Output only.setStatusMessageBytes(com.google.protobuf.ByteString value) Output only.Tags to apply to this instance.setTags(Tags.Builder builderForValue) Tags to apply to this instance.optional .google.cloud.compute.v1.WorkloadIdentityConfig workload_identity_config = 338198811;setWorkloadIdentityConfig(WorkloadIdentityConfig.Builder builderForValue) optional .google.cloud.compute.v1.WorkloadIdentityConfig workload_identity_config = 338198811;Output only.setZoneBytes(com.google.protobuf.ByteString value) Output only.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
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.Builder<Instance.Builder>
-
internalGetMutableMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number) - Overrides:
internalGetMutableMapFieldReflectionin classcom.google.protobuf.GeneratedMessage.Builder<Instance.Builder>
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<Instance.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<Instance.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<Instance.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Instance.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<Instance.Builder>
-
mergeFrom
public Instance.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Instance.Builder>- Throws:
IOException
-
hasAdvancedMachineFeatures
public boolean hasAdvancedMachineFeatures()Controls for advanced machine-related behavior features.
optional .google.cloud.compute.v1.AdvancedMachineFeatures advanced_machine_features = 409646002;- Specified by:
hasAdvancedMachineFeaturesin interfaceInstanceOrBuilder- Returns:
- Whether the advancedMachineFeatures field is set.
-
getAdvancedMachineFeatures
Controls for advanced machine-related behavior features.
optional .google.cloud.compute.v1.AdvancedMachineFeatures advanced_machine_features = 409646002;- Specified by:
getAdvancedMachineFeaturesin interfaceInstanceOrBuilder- Returns:
- The advancedMachineFeatures.
-
setAdvancedMachineFeatures
Controls for advanced machine-related behavior features.
optional .google.cloud.compute.v1.AdvancedMachineFeatures advanced_machine_features = 409646002; -
setAdvancedMachineFeatures
Controls for advanced machine-related behavior features.
optional .google.cloud.compute.v1.AdvancedMachineFeatures advanced_machine_features = 409646002; -
mergeAdvancedMachineFeatures
Controls for advanced machine-related behavior features.
optional .google.cloud.compute.v1.AdvancedMachineFeatures advanced_machine_features = 409646002; -
clearAdvancedMachineFeatures
Controls for advanced machine-related behavior features.
optional .google.cloud.compute.v1.AdvancedMachineFeatures advanced_machine_features = 409646002; -
getAdvancedMachineFeaturesBuilder
Controls for advanced machine-related behavior features.
optional .google.cloud.compute.v1.AdvancedMachineFeatures advanced_machine_features = 409646002; -
getAdvancedMachineFeaturesOrBuilder
Controls for advanced machine-related behavior features.
optional .google.cloud.compute.v1.AdvancedMachineFeatures advanced_machine_features = 409646002;- Specified by:
getAdvancedMachineFeaturesOrBuilderin interfaceInstanceOrBuilder
-
hasCanIpForward
public 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, seeEnabling IP Forwarding.
optional bool can_ip_forward = 467731324;- Specified by:
hasCanIpForwardin interfaceInstanceOrBuilder- Returns:
- Whether the canIpForward field is set.
-
getCanIpForward
public boolean getCanIpForward()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, seeEnabling IP Forwarding.
optional bool can_ip_forward = 467731324;- Specified by:
getCanIpForwardin interfaceInstanceOrBuilder- Returns:
- The canIpForward.
-
setCanIpForward
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, seeEnabling IP Forwarding.
optional bool can_ip_forward = 467731324;- Parameters:
value- The canIpForward to set.- Returns:
- This builder for chaining.
-
clearCanIpForward
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, seeEnabling IP Forwarding.
optional bool can_ip_forward = 467731324;- Returns:
- This builder for chaining.
-
hasConfidentialInstanceConfig
public boolean hasConfidentialInstanceConfig()optional .google.cloud.compute.v1.ConfidentialInstanceConfig confidential_instance_config = 490637685;- Specified by:
hasConfidentialInstanceConfigin interfaceInstanceOrBuilder- Returns:
- Whether the confidentialInstanceConfig field is set.
-
getConfidentialInstanceConfig
optional .google.cloud.compute.v1.ConfidentialInstanceConfig confidential_instance_config = 490637685;- Specified by:
getConfidentialInstanceConfigin interfaceInstanceOrBuilder- Returns:
- The confidentialInstanceConfig.
-
setConfidentialInstanceConfig
optional .google.cloud.compute.v1.ConfidentialInstanceConfig confidential_instance_config = 490637685; -
setConfidentialInstanceConfig
public Instance.Builder setConfidentialInstanceConfig(ConfidentialInstanceConfig.Builder builderForValue) optional .google.cloud.compute.v1.ConfidentialInstanceConfig confidential_instance_config = 490637685; -
mergeConfidentialInstanceConfig
optional .google.cloud.compute.v1.ConfidentialInstanceConfig confidential_instance_config = 490637685; -
clearConfidentialInstanceConfig
optional .google.cloud.compute.v1.ConfidentialInstanceConfig confidential_instance_config = 490637685; -
getConfidentialInstanceConfigBuilder
optional .google.cloud.compute.v1.ConfidentialInstanceConfig confidential_instance_config = 490637685; -
getConfidentialInstanceConfigOrBuilder
optional .google.cloud.compute.v1.ConfidentialInstanceConfig confidential_instance_config = 490637685;- Specified by:
getConfidentialInstanceConfigOrBuilderin interfaceInstanceOrBuilder
-
hasCpuPlatform
public boolean hasCpuPlatform()Output only. [Output Only] The CPU platform used by this instance.
optional string cpu_platform = 410285354;- Specified by:
hasCpuPlatformin interfaceInstanceOrBuilder- Returns:
- Whether the cpuPlatform field is set.
-
getCpuPlatform
Output only. [Output Only] The CPU platform used by this instance.
optional string cpu_platform = 410285354;- Specified by:
getCpuPlatformin interfaceInstanceOrBuilder- Returns:
- The cpuPlatform.
-
getCpuPlatformBytes
public com.google.protobuf.ByteString getCpuPlatformBytes()Output only. [Output Only] The CPU platform used by this instance.
optional string cpu_platform = 410285354;- Specified by:
getCpuPlatformBytesin interfaceInstanceOrBuilder- Returns:
- The bytes for cpuPlatform.
-
setCpuPlatform
Output only. [Output Only] The CPU platform used by this instance.
optional string cpu_platform = 410285354;- Parameters:
value- The cpuPlatform to set.- Returns:
- This builder for chaining.
-
clearCpuPlatform
Output only. [Output Only] The CPU platform used by this instance.
optional string cpu_platform = 410285354;- Returns:
- This builder for chaining.
-
setCpuPlatformBytes
Output only. [Output Only] The CPU platform used by this instance.
optional string cpu_platform = 410285354;- Parameters:
value- The bytes for cpuPlatform to set.- Returns:
- This builder for chaining.
-
hasCreationTimestamp
public boolean hasCreationTimestamp()Output only. [Output Only] Creation timestamp inRFC3339 text format.
optional string creation_timestamp = 30525366;- Specified by:
hasCreationTimestampin interfaceInstanceOrBuilder- 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 interfaceInstanceOrBuilder- 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 interfaceInstanceOrBuilder- Returns:
- The bytes for creationTimestamp.
-
setCreationTimestamp
Output only. [Output Only] Creation timestamp inRFC3339 text format.
optional string creation_timestamp = 30525366;- Parameters:
value- The creationTimestamp to set.- Returns:
- This builder for chaining.
-
clearCreationTimestamp
Output only. [Output Only] Creation timestamp inRFC3339 text format.
optional string creation_timestamp = 30525366;- Returns:
- This builder for chaining.
-
setCreationTimestampBytes
Output only. [Output Only] Creation timestamp inRFC3339 text format.
optional string creation_timestamp = 30525366;- Parameters:
value- The bytes for creationTimestamp to set.- Returns:
- This builder for chaining.
-
hasDeletionProtection
public boolean hasDeletionProtection()Whether the resource should be protected against deletion.
optional bool deletion_protection = 458014698;- Specified by:
hasDeletionProtectionin interfaceInstanceOrBuilder- Returns:
- Whether the deletionProtection field is set.
-
getDeletionProtection
public boolean getDeletionProtection()Whether the resource should be protected against deletion.
optional bool deletion_protection = 458014698;- Specified by:
getDeletionProtectionin interfaceInstanceOrBuilder- Returns:
- The deletionProtection.
-
setDeletionProtection
Whether the resource should be protected against deletion.
optional bool deletion_protection = 458014698;- Parameters:
value- The deletionProtection to set.- Returns:
- This builder for chaining.
-
clearDeletionProtection
Whether the resource should be protected against deletion.
optional bool deletion_protection = 458014698;- Returns:
- This builder for chaining.
-
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 interfaceInstanceOrBuilder- 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 interfaceInstanceOrBuilder- 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 interfaceInstanceOrBuilder- Returns:
- The bytes for description.
-
setDescription
An optional description of this resource. Provide this property when you create the resource.
optional string description = 422937596;- Parameters:
value- The description to set.- Returns:
- This builder for chaining.
-
clearDescription
An optional description of this resource. Provide this property when you create the resource.
optional string description = 422937596;- Returns:
- This builder for chaining.
-
setDescriptionBytes
An optional description of this resource. Provide this property when you create the resource.
optional string description = 422937596;- Parameters:
value- The bytes for description to set.- Returns:
- This builder for chaining.
-
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;- Specified by:
getDisksListin interfaceInstanceOrBuilder
-
getDisksCount
public 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;- Specified by:
getDisksCountin interfaceInstanceOrBuilder
-
getDisks
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;- Specified by:
getDisksin interfaceInstanceOrBuilder
-
setDisks
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; -
setDisks
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; -
addDisks
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; -
addDisks
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; -
addDisks
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; -
addDisks
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; -
addAllDisks
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; -
clearDisks
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; -
removeDisks
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; -
getDisksBuilder
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; -
getDisksOrBuilder
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;- Specified by:
getDisksOrBuilderin interfaceInstanceOrBuilder
-
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;- Specified by:
getDisksOrBuilderListin interfaceInstanceOrBuilder
-
addDisksBuilder
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; -
addDisksBuilder
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; -
getDisksBuilderList
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; -
hasDisplayDevice
public boolean hasDisplayDevice()Enables display device for the instance.
optional .google.cloud.compute.v1.DisplayDevice display_device = 258933875;- Specified by:
hasDisplayDevicein interfaceInstanceOrBuilder- Returns:
- Whether the displayDevice field is set.
-
getDisplayDevice
Enables display device for the instance.
optional .google.cloud.compute.v1.DisplayDevice display_device = 258933875;- Specified by:
getDisplayDevicein interfaceInstanceOrBuilder- Returns:
- The displayDevice.
-
setDisplayDevice
Enables display device for the instance.
optional .google.cloud.compute.v1.DisplayDevice display_device = 258933875; -
setDisplayDevice
Enables display device for the instance.
optional .google.cloud.compute.v1.DisplayDevice display_device = 258933875; -
mergeDisplayDevice
Enables display device for the instance.
optional .google.cloud.compute.v1.DisplayDevice display_device = 258933875; -
clearDisplayDevice
Enables display device for the instance.
optional .google.cloud.compute.v1.DisplayDevice display_device = 258933875; -
getDisplayDeviceBuilder
Enables display device for the instance.
optional .google.cloud.compute.v1.DisplayDevice display_device = 258933875; -
getDisplayDeviceOrBuilder
Enables display device for the instance.
optional .google.cloud.compute.v1.DisplayDevice display_device = 258933875;- Specified by:
getDisplayDeviceOrBuilderin interfaceInstanceOrBuilder
-
hasFingerprint
public 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;- Specified by:
hasFingerprintin interfaceInstanceOrBuilder- Returns:
- Whether the fingerprint field is set.
-
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;- Specified by:
getFingerprintin interfaceInstanceOrBuilder- Returns:
- The fingerprint.
-
getFingerprintBytes
public com.google.protobuf.ByteString getFingerprintBytes()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;- Specified by:
getFingerprintBytesin interfaceInstanceOrBuilder- Returns:
- The bytes for fingerprint.
-
setFingerprint
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;- Parameters:
value- The fingerprint to set.- Returns:
- This builder for chaining.
-
clearFingerprint
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;- Returns:
- This builder for chaining.
-
setFingerprintBytes
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;- Parameters:
value- The bytes for fingerprint to set.- Returns:
- This builder for chaining.
-
getGuestAcceleratorsList
A list of the type and count of accelerator cards attached to the instance.
repeated .google.cloud.compute.v1.AcceleratorConfig guest_accelerators = 463595119;- Specified by:
getGuestAcceleratorsListin interfaceInstanceOrBuilder
-
getGuestAcceleratorsCount
public 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;- Specified by:
getGuestAcceleratorsCountin interfaceInstanceOrBuilder
-
getGuestAccelerators
A list of the type and count of accelerator cards attached to the instance.
repeated .google.cloud.compute.v1.AcceleratorConfig guest_accelerators = 463595119;- Specified by:
getGuestAcceleratorsin interfaceInstanceOrBuilder
-
setGuestAccelerators
A list of the type and count of accelerator cards attached to the instance.
repeated .google.cloud.compute.v1.AcceleratorConfig guest_accelerators = 463595119; -
setGuestAccelerators
A list of the type and count of accelerator cards attached to the instance.
repeated .google.cloud.compute.v1.AcceleratorConfig guest_accelerators = 463595119; -
addGuestAccelerators
A list of the type and count of accelerator cards attached to the instance.
repeated .google.cloud.compute.v1.AcceleratorConfig guest_accelerators = 463595119; -
addGuestAccelerators
A list of the type and count of accelerator cards attached to the instance.
repeated .google.cloud.compute.v1.AcceleratorConfig guest_accelerators = 463595119; -
addGuestAccelerators
A list of the type and count of accelerator cards attached to the instance.
repeated .google.cloud.compute.v1.AcceleratorConfig guest_accelerators = 463595119; -
addGuestAccelerators
A list of the type and count of accelerator cards attached to the instance.
repeated .google.cloud.compute.v1.AcceleratorConfig guest_accelerators = 463595119; -
addAllGuestAccelerators
A list of the type and count of accelerator cards attached to the instance.
repeated .google.cloud.compute.v1.AcceleratorConfig guest_accelerators = 463595119; -
clearGuestAccelerators
A list of the type and count of accelerator cards attached to the instance.
repeated .google.cloud.compute.v1.AcceleratorConfig guest_accelerators = 463595119; -
removeGuestAccelerators
A list of the type and count of accelerator cards attached to the instance.
repeated .google.cloud.compute.v1.AcceleratorConfig guest_accelerators = 463595119; -
getGuestAcceleratorsBuilder
A list of the type and count of accelerator cards attached to the instance.
repeated .google.cloud.compute.v1.AcceleratorConfig guest_accelerators = 463595119; -
getGuestAcceleratorsOrBuilder
A list of the type and count of accelerator cards attached to the instance.
repeated .google.cloud.compute.v1.AcceleratorConfig guest_accelerators = 463595119;- Specified by:
getGuestAcceleratorsOrBuilderin interfaceInstanceOrBuilder
-
getGuestAcceleratorsOrBuilderList
A list of the type and count of accelerator cards attached to the instance.
repeated .google.cloud.compute.v1.AcceleratorConfig guest_accelerators = 463595119;- Specified by:
getGuestAcceleratorsOrBuilderListin interfaceInstanceOrBuilder
-
addGuestAcceleratorsBuilder
A list of the type and count of accelerator cards attached to the instance.
repeated .google.cloud.compute.v1.AcceleratorConfig guest_accelerators = 463595119; -
addGuestAcceleratorsBuilder
A list of the type and count of accelerator cards attached to the instance.
repeated .google.cloud.compute.v1.AcceleratorConfig guest_accelerators = 463595119; -
getGuestAcceleratorsBuilderList
A list of the type and count of accelerator cards attached to the instance.
repeated .google.cloud.compute.v1.AcceleratorConfig guest_accelerators = 463595119; -
hasHostname
public 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;- Specified by:
hasHostnamein interfaceInstanceOrBuilder- Returns:
- Whether the hostname field is set.
-
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;- Specified by:
getHostnamein interfaceInstanceOrBuilder- Returns:
- The hostname.
-
getHostnameBytes
public com.google.protobuf.ByteString getHostnameBytes()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;- Specified by:
getHostnameBytesin interfaceInstanceOrBuilder- Returns:
- The bytes for hostname.
-
setHostname
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;- Parameters:
value- The hostname to set.- Returns:
- This builder for chaining.
-
clearHostname
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;- Returns:
- This builder for chaining.
-
setHostnameBytes
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;- Parameters:
value- The bytes for hostname to set.- Returns:
- This builder for chaining.
-
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 interfaceInstanceOrBuilder- 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 interfaceInstanceOrBuilder- Returns:
- The id.
-
setId
Output only. [Output Only] The unique identifier for the resource. This identifier is defined by the server.
optional uint64 id = 3355;- Parameters:
value- The id to set.- Returns:
- This builder for chaining.
-
clearId
Output only. [Output Only] The unique identifier for the resource. This identifier is defined by the server.
optional uint64 id = 3355;- Returns:
- This builder for chaining.
-
hasInstanceEncryptionKey
public boolean hasInstanceEncryptionKey()Encrypts suspended data for an instance with acustomer-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;- Specified by:
hasInstanceEncryptionKeyin interfaceInstanceOrBuilder- Returns:
- Whether the instanceEncryptionKey field is set.
-
getInstanceEncryptionKey
Encrypts suspended data for an instance with acustomer-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;- Specified by:
getInstanceEncryptionKeyin interfaceInstanceOrBuilder- Returns:
- The instanceEncryptionKey.
-
setInstanceEncryptionKey
Encrypts suspended data for an instance with acustomer-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; -
setInstanceEncryptionKey
Encrypts suspended data for an instance with acustomer-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; -
mergeInstanceEncryptionKey
Encrypts suspended data for an instance with acustomer-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; -
clearInstanceEncryptionKey
Encrypts suspended data for an instance with acustomer-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; -
getInstanceEncryptionKeyBuilder
Encrypts suspended data for an instance with acustomer-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; -
getInstanceEncryptionKeyOrBuilder
Encrypts suspended data for an instance with acustomer-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;- Specified by:
getInstanceEncryptionKeyOrBuilderin interfaceInstanceOrBuilder
-
hasKeyRevocationActionType
public 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;- Specified by:
hasKeyRevocationActionTypein interfaceInstanceOrBuilder- Returns:
- Whether the keyRevocationActionType field is set.
-
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;- Specified by:
getKeyRevocationActionTypein interfaceInstanceOrBuilder- Returns:
- The keyRevocationActionType.
-
getKeyRevocationActionTypeBytes
public com.google.protobuf.ByteString getKeyRevocationActionTypeBytes()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;- Specified by:
getKeyRevocationActionTypeBytesin interfaceInstanceOrBuilder- Returns:
- The bytes for keyRevocationActionType.
-
setKeyRevocationActionType
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;- Parameters:
value- The keyRevocationActionType to set.- Returns:
- This builder for chaining.
-
clearKeyRevocationActionType
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;- Returns:
- This builder for chaining.
-
setKeyRevocationActionTypeBytes
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;- Parameters:
value- The bytes for keyRevocationActionType to set.- Returns:
- This builder for chaining.
-
hasKind
public boolean hasKind()Output only. [Output Only] Type of the resource. Always compute#instance for instances.
optional string kind = 3292052;- Specified by:
hasKindin interfaceInstanceOrBuilder- Returns:
- Whether the kind field is set.
-
getKind
Output only. [Output Only] Type of the resource. Always compute#instance for instances.
optional string kind = 3292052;- Specified by:
getKindin interfaceInstanceOrBuilder- Returns:
- The kind.
-
getKindBytes
public com.google.protobuf.ByteString getKindBytes()Output only. [Output Only] Type of the resource. Always compute#instance for instances.
optional string kind = 3292052;- Specified by:
getKindBytesin interfaceInstanceOrBuilder- Returns:
- The bytes for kind.
-
setKind
Output only. [Output Only] Type of the resource. Always compute#instance for instances.
optional string kind = 3292052;- Parameters:
value- The kind to set.- Returns:
- This builder for chaining.
-
clearKind
Output only. [Output Only] Type of the resource. Always compute#instance for instances.
optional string kind = 3292052;- Returns:
- This builder for chaining.
-
setKindBytes
Output only. [Output Only] Type of the resource. Always compute#instance for instances.
optional string kind = 3292052;- Parameters:
value- The bytes for kind to set.- Returns:
- This builder for chaining.
-
hasLabelFingerprint
public 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;- Specified by:
hasLabelFingerprintin interfaceInstanceOrBuilder- Returns:
- Whether the labelFingerprint field is set.
-
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;- Specified by:
getLabelFingerprintin interfaceInstanceOrBuilder- Returns:
- The labelFingerprint.
-
getLabelFingerprintBytes
public com.google.protobuf.ByteString getLabelFingerprintBytes()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;- Specified by:
getLabelFingerprintBytesin interfaceInstanceOrBuilder- Returns:
- The bytes for labelFingerprint.
-
setLabelFingerprint
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;- Parameters:
value- The labelFingerprint to set.- Returns:
- This builder for chaining.
-
clearLabelFingerprint
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;- Returns:
- This builder for chaining.
-
setLabelFingerprintBytes
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;- Parameters:
value- The bytes for labelFingerprint to set.- Returns:
- This builder for chaining.
-
getLabelsCount
public int getLabelsCount()Description copied from interface:InstanceOrBuilderLabels to apply to this instance. These can be later modified by the setLabels method.
map<string, string> labels = 500195327;- Specified by:
getLabelsCountin interfaceInstanceOrBuilder
-
containsLabels
Labels to apply to this instance. These can be later modified by the setLabels method.
map<string, string> labels = 500195327;- Specified by:
containsLabelsin interfaceInstanceOrBuilder
-
getLabels
Deprecated.UsegetLabelsMap()instead.- Specified by:
getLabelsin interfaceInstanceOrBuilder
-
getLabelsMap
Labels to apply to this instance. These can be later modified by the setLabels method.
map<string, string> labels = 500195327;- Specified by:
getLabelsMapin interfaceInstanceOrBuilder
-
getLabelsOrDefault
Labels to apply to this instance. These can be later modified by the setLabels method.
map<string, string> labels = 500195327;- Specified by:
getLabelsOrDefaultin interfaceInstanceOrBuilder
-
getLabelsOrThrow
Labels to apply to this instance. These can be later modified by the setLabels method.
map<string, string> labels = 500195327;- Specified by:
getLabelsOrThrowin interfaceInstanceOrBuilder
-
clearLabels
-
removeLabels
Labels to apply to this instance. These can be later modified by the setLabels method.
map<string, string> labels = 500195327; -
getMutableLabels
Deprecated.Use alternate mutation accessors instead. -
putLabels
Labels to apply to this instance. These can be later modified by the setLabels method.
map<string, string> labels = 500195327; -
putAllLabels
Labels to apply to this instance. These can be later modified by the setLabels method.
map<string, string> labels = 500195327; -
hasLastStartTimestamp
public boolean hasLastStartTimestamp()Output only. [Output Only] Last start timestamp inRFC3339 text format.
optional string last_start_timestamp = 443830736;- Specified by:
hasLastStartTimestampin interfaceInstanceOrBuilder- Returns:
- Whether the lastStartTimestamp field is set.
-
getLastStartTimestamp
Output only. [Output Only] Last start timestamp inRFC3339 text format.
optional string last_start_timestamp = 443830736;- Specified by:
getLastStartTimestampin interfaceInstanceOrBuilder- Returns:
- The lastStartTimestamp.
-
getLastStartTimestampBytes
public com.google.protobuf.ByteString getLastStartTimestampBytes()Output only. [Output Only] Last start timestamp inRFC3339 text format.
optional string last_start_timestamp = 443830736;- Specified by:
getLastStartTimestampBytesin interfaceInstanceOrBuilder- Returns:
- The bytes for lastStartTimestamp.
-
setLastStartTimestamp
Output only. [Output Only] Last start timestamp inRFC3339 text format.
optional string last_start_timestamp = 443830736;- Parameters:
value- The lastStartTimestamp to set.- Returns:
- This builder for chaining.
-
clearLastStartTimestamp
Output only. [Output Only] Last start timestamp inRFC3339 text format.
optional string last_start_timestamp = 443830736;- Returns:
- This builder for chaining.
-
setLastStartTimestampBytes
Output only. [Output Only] Last start timestamp inRFC3339 text format.
optional string last_start_timestamp = 443830736;- Parameters:
value- The bytes for lastStartTimestamp to set.- Returns:
- This builder for chaining.
-
hasLastStopTimestamp
public boolean hasLastStopTimestamp()Output only. [Output Only] Last stop timestamp inRFC3339 text format.
optional string last_stop_timestamp = 412823010;- Specified by:
hasLastStopTimestampin interfaceInstanceOrBuilder- Returns:
- Whether the lastStopTimestamp field is set.
-
getLastStopTimestamp
Output only. [Output Only] Last stop timestamp inRFC3339 text format.
optional string last_stop_timestamp = 412823010;- Specified by:
getLastStopTimestampin interfaceInstanceOrBuilder- Returns:
- The lastStopTimestamp.
-
getLastStopTimestampBytes
public com.google.protobuf.ByteString getLastStopTimestampBytes()Output only. [Output Only] Last stop timestamp inRFC3339 text format.
optional string last_stop_timestamp = 412823010;- Specified by:
getLastStopTimestampBytesin interfaceInstanceOrBuilder- Returns:
- The bytes for lastStopTimestamp.
-
setLastStopTimestamp
Output only. [Output Only] Last stop timestamp inRFC3339 text format.
optional string last_stop_timestamp = 412823010;- Parameters:
value- The lastStopTimestamp to set.- Returns:
- This builder for chaining.
-
clearLastStopTimestamp
Output only. [Output Only] Last stop timestamp inRFC3339 text format.
optional string last_stop_timestamp = 412823010;- Returns:
- This builder for chaining.
-
setLastStopTimestampBytes
Output only. [Output Only] Last stop timestamp inRFC3339 text format.
optional string last_stop_timestamp = 412823010;- Parameters:
value- The bytes for lastStopTimestamp to set.- Returns:
- This builder for chaining.
-
hasLastSuspendedTimestamp
public boolean hasLastSuspendedTimestamp()Output only. [Output Only] Last suspended timestamp inRFC3339 text format.
optional string last_suspended_timestamp = 356275337;- Specified by:
hasLastSuspendedTimestampin interfaceInstanceOrBuilder- Returns:
- Whether the lastSuspendedTimestamp field is set.
-
getLastSuspendedTimestamp
Output only. [Output Only] Last suspended timestamp inRFC3339 text format.
optional string last_suspended_timestamp = 356275337;- Specified by:
getLastSuspendedTimestampin interfaceInstanceOrBuilder- Returns:
- The lastSuspendedTimestamp.
-
getLastSuspendedTimestampBytes
public com.google.protobuf.ByteString getLastSuspendedTimestampBytes()Output only. [Output Only] Last suspended timestamp inRFC3339 text format.
optional string last_suspended_timestamp = 356275337;- Specified by:
getLastSuspendedTimestampBytesin interfaceInstanceOrBuilder- Returns:
- The bytes for lastSuspendedTimestamp.
-
setLastSuspendedTimestamp
Output only. [Output Only] Last suspended timestamp inRFC3339 text format.
optional string last_suspended_timestamp = 356275337;- Parameters:
value- The lastSuspendedTimestamp to set.- Returns:
- This builder for chaining.
-
clearLastSuspendedTimestamp
Output only. [Output Only] Last suspended timestamp inRFC3339 text format.
optional string last_suspended_timestamp = 356275337;- Returns:
- This builder for chaining.
-
setLastSuspendedTimestampBytes
Output only. [Output Only] Last suspended timestamp inRFC3339 text format.
optional string last_suspended_timestamp = 356275337;- Parameters:
value- The bytes for lastSuspendedTimestamp to set.- Returns:
- This builder for chaining.
-
hasMachineType
public 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 acustom 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 theSpecifications for custom machine types.
optional string machine_type = 227711026;- Specified by:
hasMachineTypein interfaceInstanceOrBuilder- Returns:
- Whether the machineType field is set.
-
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 acustom 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 theSpecifications for custom machine types.
optional string machine_type = 227711026;- Specified by:
getMachineTypein interfaceInstanceOrBuilder- Returns:
- The machineType.
-
getMachineTypeBytes
public com.google.protobuf.ByteString getMachineTypeBytes()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 acustom 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 theSpecifications for custom machine types.
optional string machine_type = 227711026;- Specified by:
getMachineTypeBytesin interfaceInstanceOrBuilder- Returns:
- The bytes for machineType.
-
setMachineType
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 acustom 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 theSpecifications for custom machine types.
optional string machine_type = 227711026;- Parameters:
value- The machineType to set.- Returns:
- This builder for chaining.
-
clearMachineType
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 acustom 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 theSpecifications for custom machine types.
optional string machine_type = 227711026;- Returns:
- This builder for chaining.
-
setMachineTypeBytes
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 acustom 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 theSpecifications for custom machine types.
optional string machine_type = 227711026;- Parameters:
value- The bytes for machineType to set.- Returns:
- This builder for chaining.
-
hasMetadata
public boolean hasMetadata()The metadata key/value pairs assigned to this instance. This includes metadata keys that were explicitly defined for the instance.
optional .google.cloud.compute.v1.Metadata metadata = 86866735;- Specified by:
hasMetadatain interfaceInstanceOrBuilder- Returns:
- Whether the metadata field is set.
-
getMetadata
The metadata key/value pairs assigned to this instance. This includes metadata keys that were explicitly defined for the instance.
optional .google.cloud.compute.v1.Metadata metadata = 86866735;- Specified by:
getMetadatain interfaceInstanceOrBuilder- Returns:
- The metadata.
-
setMetadata
The metadata key/value pairs assigned to this instance. This includes metadata keys that were explicitly defined for the instance.
optional .google.cloud.compute.v1.Metadata metadata = 86866735; -
setMetadata
The metadata key/value pairs assigned to this instance. This includes metadata keys that were explicitly defined for the instance.
optional .google.cloud.compute.v1.Metadata metadata = 86866735; -
mergeMetadata
The metadata key/value pairs assigned to this instance. This includes metadata keys that were explicitly defined for the instance.
optional .google.cloud.compute.v1.Metadata metadata = 86866735; -
clearMetadata
The metadata key/value pairs assigned to this instance. This includes metadata keys that were explicitly defined for the instance.
optional .google.cloud.compute.v1.Metadata metadata = 86866735; -
getMetadataBuilder
The metadata key/value pairs assigned to this instance. This includes metadata keys that were explicitly defined for the instance.
optional .google.cloud.compute.v1.Metadata metadata = 86866735; -
getMetadataOrBuilder
The metadata key/value pairs assigned to this instance. This includes metadata keys that were explicitly defined for the instance.
optional .google.cloud.compute.v1.Metadata metadata = 86866735;- Specified by:
getMetadataOrBuilderin interfaceInstanceOrBuilder
-
hasMinCpuPlatform
public boolean hasMinCpuPlatform()Specifies aminimum 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;- Specified by:
hasMinCpuPlatformin interfaceInstanceOrBuilder- Returns:
- Whether the minCpuPlatform field is set.
-
getMinCpuPlatform
Specifies aminimum 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;- Specified by:
getMinCpuPlatformin interfaceInstanceOrBuilder- Returns:
- The minCpuPlatform.
-
getMinCpuPlatformBytes
public com.google.protobuf.ByteString getMinCpuPlatformBytes()Specifies aminimum 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;- Specified by:
getMinCpuPlatformBytesin interfaceInstanceOrBuilder- Returns:
- The bytes for minCpuPlatform.
-
setMinCpuPlatform
Specifies aminimum 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;- Parameters:
value- The minCpuPlatform to set.- Returns:
- This builder for chaining.
-
clearMinCpuPlatform
Specifies aminimum 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;- Returns:
- This builder for chaining.
-
setMinCpuPlatformBytes
Specifies aminimum 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;- Parameters:
value- The bytes for minCpuPlatform to set.- Returns:
- This builder for chaining.
-
hasName
public 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 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 interfaceInstanceOrBuilder- Returns:
- Whether the name field is set.
-
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 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 interfaceInstanceOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()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 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 interfaceInstanceOrBuilder- Returns:
- The bytes for name.
-
setName
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 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;- Parameters:
value- The name to set.- Returns:
- This builder for chaining.
-
clearName
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 withRFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.
optional string name = 3373707;- Returns:
- This builder for chaining.
-
setNameBytes
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 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;- Parameters:
value- The bytes for name to set.- Returns:
- This builder for chaining.
-
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;- Specified by:
getNetworkInterfacesListin interfaceInstanceOrBuilder
-
getNetworkInterfacesCount
public 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;- Specified by:
getNetworkInterfacesCountin interfaceInstanceOrBuilder
-
getNetworkInterfaces
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;- Specified by:
getNetworkInterfacesin interfaceInstanceOrBuilder
-
setNetworkInterfaces
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; -
setNetworkInterfaces
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; -
addNetworkInterfaces
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; -
addNetworkInterfaces
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; -
addNetworkInterfaces
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; -
addNetworkInterfaces
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; -
addAllNetworkInterfaces
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; -
clearNetworkInterfaces
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; -
removeNetworkInterfaces
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; -
getNetworkInterfacesBuilder
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; -
getNetworkInterfacesOrBuilder
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;- Specified by:
getNetworkInterfacesOrBuilderin interfaceInstanceOrBuilder
-
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;- Specified by:
getNetworkInterfacesOrBuilderListin interfaceInstanceOrBuilder
-
addNetworkInterfacesBuilder
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; -
addNetworkInterfacesBuilder
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; -
getNetworkInterfacesBuilderList
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; -
hasNetworkPerformanceConfig
public boolean hasNetworkPerformanceConfig()optional .google.cloud.compute.v1.NetworkPerformanceConfig network_performance_config = 398330850;- Specified by:
hasNetworkPerformanceConfigin interfaceInstanceOrBuilder- Returns:
- Whether the networkPerformanceConfig field is set.
-
getNetworkPerformanceConfig
optional .google.cloud.compute.v1.NetworkPerformanceConfig network_performance_config = 398330850;- Specified by:
getNetworkPerformanceConfigin interfaceInstanceOrBuilder- Returns:
- The networkPerformanceConfig.
-
setNetworkPerformanceConfig
optional .google.cloud.compute.v1.NetworkPerformanceConfig network_performance_config = 398330850; -
setNetworkPerformanceConfig
public Instance.Builder setNetworkPerformanceConfig(NetworkPerformanceConfig.Builder builderForValue) optional .google.cloud.compute.v1.NetworkPerformanceConfig network_performance_config = 398330850; -
mergeNetworkPerformanceConfig
optional .google.cloud.compute.v1.NetworkPerformanceConfig network_performance_config = 398330850; -
clearNetworkPerformanceConfig
optional .google.cloud.compute.v1.NetworkPerformanceConfig network_performance_config = 398330850; -
getNetworkPerformanceConfigBuilder
optional .google.cloud.compute.v1.NetworkPerformanceConfig network_performance_config = 398330850; -
getNetworkPerformanceConfigOrBuilder
optional .google.cloud.compute.v1.NetworkPerformanceConfig network_performance_config = 398330850;- Specified by:
getNetworkPerformanceConfigOrBuilderin interfaceInstanceOrBuilder
-
hasParams
public 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;- Specified by:
hasParamsin interfaceInstanceOrBuilder- Returns:
- Whether the params field is set.
-
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;- Specified by:
getParamsin interfaceInstanceOrBuilder- Returns:
- The params.
-
setParams
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; -
setParams
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; -
mergeParams
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; -
clearParams
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; -
getParamsBuilder
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; -
getParamsOrBuilder
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;- Specified by:
getParamsOrBuilderin interfaceInstanceOrBuilder
-
hasPrivateIpv6GoogleAccess
public 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;- Specified by:
hasPrivateIpv6GoogleAccessin interfaceInstanceOrBuilder- Returns:
- Whether the privateIpv6GoogleAccess field is set.
-
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;- Specified by:
getPrivateIpv6GoogleAccessin interfaceInstanceOrBuilder- Returns:
- The privateIpv6GoogleAccess.
-
getPrivateIpv6GoogleAccessBytes
public com.google.protobuf.ByteString getPrivateIpv6GoogleAccessBytes()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;- Specified by:
getPrivateIpv6GoogleAccessBytesin interfaceInstanceOrBuilder- Returns:
- The bytes for privateIpv6GoogleAccess.
-
setPrivateIpv6GoogleAccess
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;- Parameters:
value- The privateIpv6GoogleAccess to set.- Returns:
- This builder for chaining.
-
clearPrivateIpv6GoogleAccess
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;- Returns:
- This builder for chaining.
-
setPrivateIpv6GoogleAccessBytes
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;- Parameters:
value- The bytes for privateIpv6GoogleAccess to set.- Returns:
- This builder for chaining.
-
hasReservationAffinity
public boolean hasReservationAffinity()Specifies the reservations that this instance can consume from.
optional .google.cloud.compute.v1.ReservationAffinity reservation_affinity = 157850683;- Specified by:
hasReservationAffinityin interfaceInstanceOrBuilder- Returns:
- Whether the reservationAffinity field is set.
-
getReservationAffinity
Specifies the reservations that this instance can consume from.
optional .google.cloud.compute.v1.ReservationAffinity reservation_affinity = 157850683;- Specified by:
getReservationAffinityin interfaceInstanceOrBuilder- Returns:
- The reservationAffinity.
-
setReservationAffinity
Specifies the reservations that this instance can consume from.
optional .google.cloud.compute.v1.ReservationAffinity reservation_affinity = 157850683; -
setReservationAffinity
Specifies the reservations that this instance can consume from.
optional .google.cloud.compute.v1.ReservationAffinity reservation_affinity = 157850683; -
mergeReservationAffinity
Specifies the reservations that this instance can consume from.
optional .google.cloud.compute.v1.ReservationAffinity reservation_affinity = 157850683; -
clearReservationAffinity
Specifies the reservations that this instance can consume from.
optional .google.cloud.compute.v1.ReservationAffinity reservation_affinity = 157850683; -
getReservationAffinityBuilder
Specifies the reservations that this instance can consume from.
optional .google.cloud.compute.v1.ReservationAffinity reservation_affinity = 157850683; -
getReservationAffinityOrBuilder
Specifies the reservations that this instance can consume from.
optional .google.cloud.compute.v1.ReservationAffinity reservation_affinity = 157850683;- Specified by:
getReservationAffinityOrBuilderin interfaceInstanceOrBuilder
-
getResourcePoliciesList
public com.google.protobuf.ProtocolStringList getResourcePoliciesList()Resource policies applied to this instance.
repeated string resource_policies = 22220385;- Specified by:
getResourcePoliciesListin interfaceInstanceOrBuilder- Returns:
- A list containing the resourcePolicies.
-
getResourcePoliciesCount
public int getResourcePoliciesCount()Resource policies applied to this instance.
repeated string resource_policies = 22220385;- Specified by:
getResourcePoliciesCountin interfaceInstanceOrBuilder- Returns:
- The count of resourcePolicies.
-
getResourcePolicies
Resource policies applied to this instance.
repeated string resource_policies = 22220385;- Specified by:
getResourcePoliciesin interfaceInstanceOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The resourcePolicies at the given index.
-
getResourcePoliciesBytes
public com.google.protobuf.ByteString getResourcePoliciesBytes(int index) Resource policies applied to this instance.
repeated string resource_policies = 22220385;- Specified by:
getResourcePoliciesBytesin interfaceInstanceOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the resourcePolicies at the given index.
-
setResourcePolicies
Resource policies applied to this instance.
repeated string resource_policies = 22220385;- Parameters:
index- The index to set the value at.value- The resourcePolicies to set.- Returns:
- This builder for chaining.
-
addResourcePolicies
Resource policies applied to this instance.
repeated string resource_policies = 22220385;- Parameters:
value- The resourcePolicies to add.- Returns:
- This builder for chaining.
-
addAllResourcePolicies
Resource policies applied to this instance.
repeated string resource_policies = 22220385;- Parameters:
values- The resourcePolicies to add.- Returns:
- This builder for chaining.
-
clearResourcePolicies
Resource policies applied to this instance.
repeated string resource_policies = 22220385;- Returns:
- This builder for chaining.
-
addResourcePoliciesBytes
Resource policies applied to this instance.
repeated string resource_policies = 22220385;- Parameters:
value- The bytes of the resourcePolicies to add.- Returns:
- This builder for chaining.
-
hasResourceStatus
public boolean hasResourceStatus()Output only. [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;- Specified by:
hasResourceStatusin interfaceInstanceOrBuilder- Returns:
- Whether the resourceStatus field is set.
-
getResourceStatus
Output only. [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;- Specified by:
getResourceStatusin interfaceInstanceOrBuilder- Returns:
- The resourceStatus.
-
setResourceStatus
Output only. [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; -
setResourceStatus
Output only. [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; -
mergeResourceStatus
Output only. [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; -
clearResourceStatus
Output only. [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; -
getResourceStatusBuilder
Output only. [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; -
getResourceStatusOrBuilder
Output only. [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;- Specified by:
getResourceStatusOrBuilderin interfaceInstanceOrBuilder
-
hasSatisfiesPzi
public boolean hasSatisfiesPzi()Output only. [Output Only] Reserved for future use.
optional bool satisfies_pzi = 480964257;- Specified by:
hasSatisfiesPziin interfaceInstanceOrBuilder- Returns:
- Whether the satisfiesPzi field is set.
-
getSatisfiesPzi
public boolean getSatisfiesPzi()Output only. [Output Only] Reserved for future use.
optional bool satisfies_pzi = 480964257;- Specified by:
getSatisfiesPziin interfaceInstanceOrBuilder- Returns:
- The satisfiesPzi.
-
setSatisfiesPzi
Output only. [Output Only] Reserved for future use.
optional bool satisfies_pzi = 480964257;- Parameters:
value- The satisfiesPzi to set.- Returns:
- This builder for chaining.
-
clearSatisfiesPzi
Output only. [Output Only] Reserved for future use.
optional bool satisfies_pzi = 480964257;- Returns:
- This builder for chaining.
-
hasSatisfiesPzs
public boolean hasSatisfiesPzs()Output only. [Output Only] Reserved for future use.
optional bool satisfies_pzs = 480964267;- Specified by:
hasSatisfiesPzsin interfaceInstanceOrBuilder- 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 interfaceInstanceOrBuilder- Returns:
- The satisfiesPzs.
-
setSatisfiesPzs
Output only. [Output Only] Reserved for future use.
optional bool satisfies_pzs = 480964267;- Parameters:
value- The satisfiesPzs to set.- Returns:
- This builder for chaining.
-
clearSatisfiesPzs
Output only. [Output Only] Reserved for future use.
optional bool satisfies_pzs = 480964267;- Returns:
- This builder for chaining.
-
hasScheduling
public boolean hasScheduling()Sets the scheduling options for this instance.
optional .google.cloud.compute.v1.Scheduling scheduling = 386688404;- Specified by:
hasSchedulingin interfaceInstanceOrBuilder- Returns:
- Whether the scheduling field is set.
-
getScheduling
Sets the scheduling options for this instance.
optional .google.cloud.compute.v1.Scheduling scheduling = 386688404;- Specified by:
getSchedulingin interfaceInstanceOrBuilder- Returns:
- The scheduling.
-
setScheduling
Sets the scheduling options for this instance.
optional .google.cloud.compute.v1.Scheduling scheduling = 386688404; -
setScheduling
Sets the scheduling options for this instance.
optional .google.cloud.compute.v1.Scheduling scheduling = 386688404; -
mergeScheduling
Sets the scheduling options for this instance.
optional .google.cloud.compute.v1.Scheduling scheduling = 386688404; -
clearScheduling
Sets the scheduling options for this instance.
optional .google.cloud.compute.v1.Scheduling scheduling = 386688404; -
getSchedulingBuilder
Sets the scheduling options for this instance.
optional .google.cloud.compute.v1.Scheduling scheduling = 386688404; -
getSchedulingOrBuilder
Sets the scheduling options for this instance.
optional .google.cloud.compute.v1.Scheduling scheduling = 386688404;- Specified by:
getSchedulingOrBuilderin interfaceInstanceOrBuilder
-
hasSelfLink
public boolean hasSelfLink()Output only. [Output Only] Server-defined URL for this resource.
optional string self_link = 456214797;- Specified by:
hasSelfLinkin interfaceInstanceOrBuilder- Returns:
- Whether the selfLink field is set.
-
getSelfLink
Output only. [Output Only] Server-defined URL for this resource.
optional string self_link = 456214797;- Specified by:
getSelfLinkin interfaceInstanceOrBuilder- Returns:
- The selfLink.
-
getSelfLinkBytes
public com.google.protobuf.ByteString getSelfLinkBytes()Output only. [Output Only] Server-defined URL for this resource.
optional string self_link = 456214797;- Specified by:
getSelfLinkBytesin interfaceInstanceOrBuilder- Returns:
- The bytes for selfLink.
-
setSelfLink
Output only. [Output Only] Server-defined URL for this resource.
optional string self_link = 456214797;- Parameters:
value- The selfLink to set.- Returns:
- This builder for chaining.
-
clearSelfLink
Output only. [Output Only] Server-defined URL for this resource.
optional string self_link = 456214797;- Returns:
- This builder for chaining.
-
setSelfLinkBytes
Output only. [Output Only] Server-defined URL for this resource.
optional string self_link = 456214797;- Parameters:
value- The bytes for selfLink to set.- Returns:
- This builder for chaining.
-
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. SeeService Accounts for more information.
repeated .google.cloud.compute.v1.ServiceAccount service_accounts = 277537328;- Specified by:
getServiceAccountsListin interfaceInstanceOrBuilder
-
getServiceAccountsCount
public 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. SeeService Accounts for more information.
repeated .google.cloud.compute.v1.ServiceAccount service_accounts = 277537328;- Specified by:
getServiceAccountsCountin interfaceInstanceOrBuilder
-
getServiceAccounts
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. SeeService Accounts for more information.
repeated .google.cloud.compute.v1.ServiceAccount service_accounts = 277537328;- Specified by:
getServiceAccountsin interfaceInstanceOrBuilder
-
setServiceAccounts
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. SeeService Accounts for more information.
repeated .google.cloud.compute.v1.ServiceAccount service_accounts = 277537328; -
setServiceAccounts
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. SeeService Accounts for more information.
repeated .google.cloud.compute.v1.ServiceAccount service_accounts = 277537328; -
addServiceAccounts
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. SeeService Accounts for more information.
repeated .google.cloud.compute.v1.ServiceAccount service_accounts = 277537328; -
addServiceAccounts
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. SeeService Accounts for more information.
repeated .google.cloud.compute.v1.ServiceAccount service_accounts = 277537328; -
addServiceAccounts
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. SeeService Accounts for more information.
repeated .google.cloud.compute.v1.ServiceAccount service_accounts = 277537328; -
addServiceAccounts
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. SeeService Accounts for more information.
repeated .google.cloud.compute.v1.ServiceAccount service_accounts = 277537328; -
addAllServiceAccounts
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. SeeService Accounts for more information.
repeated .google.cloud.compute.v1.ServiceAccount service_accounts = 277537328; -
clearServiceAccounts
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. SeeService Accounts for more information.
repeated .google.cloud.compute.v1.ServiceAccount service_accounts = 277537328; -
removeServiceAccounts
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. SeeService Accounts for more information.
repeated .google.cloud.compute.v1.ServiceAccount service_accounts = 277537328; -
getServiceAccountsBuilder
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. SeeService Accounts for more information.
repeated .google.cloud.compute.v1.ServiceAccount service_accounts = 277537328; -
getServiceAccountsOrBuilder
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. SeeService Accounts for more information.
repeated .google.cloud.compute.v1.ServiceAccount service_accounts = 277537328;- Specified by:
getServiceAccountsOrBuilderin interfaceInstanceOrBuilder
-
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. SeeService Accounts for more information.
repeated .google.cloud.compute.v1.ServiceAccount service_accounts = 277537328;- Specified by:
getServiceAccountsOrBuilderListin interfaceInstanceOrBuilder
-
addServiceAccountsBuilder
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. SeeService Accounts for more information.
repeated .google.cloud.compute.v1.ServiceAccount service_accounts = 277537328; -
addServiceAccountsBuilder
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. SeeService Accounts for more information.
repeated .google.cloud.compute.v1.ServiceAccount service_accounts = 277537328; -
getServiceAccountsBuilderList
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. SeeService Accounts for more information.
repeated .google.cloud.compute.v1.ServiceAccount service_accounts = 277537328; -
hasShieldedInstanceConfig
public boolean hasShieldedInstanceConfig()optional .google.cloud.compute.v1.ShieldedInstanceConfig shielded_instance_config = 12862901;- Specified by:
hasShieldedInstanceConfigin interfaceInstanceOrBuilder- Returns:
- Whether the shieldedInstanceConfig field is set.
-
getShieldedInstanceConfig
optional .google.cloud.compute.v1.ShieldedInstanceConfig shielded_instance_config = 12862901;- Specified by:
getShieldedInstanceConfigin interfaceInstanceOrBuilder- Returns:
- The shieldedInstanceConfig.
-
setShieldedInstanceConfig
optional .google.cloud.compute.v1.ShieldedInstanceConfig shielded_instance_config = 12862901; -
setShieldedInstanceConfig
optional .google.cloud.compute.v1.ShieldedInstanceConfig shielded_instance_config = 12862901; -
mergeShieldedInstanceConfig
optional .google.cloud.compute.v1.ShieldedInstanceConfig shielded_instance_config = 12862901; -
clearShieldedInstanceConfig
optional .google.cloud.compute.v1.ShieldedInstanceConfig shielded_instance_config = 12862901; -
getShieldedInstanceConfigBuilder
optional .google.cloud.compute.v1.ShieldedInstanceConfig shielded_instance_config = 12862901; -
getShieldedInstanceConfigOrBuilder
optional .google.cloud.compute.v1.ShieldedInstanceConfig shielded_instance_config = 12862901;- Specified by:
getShieldedInstanceConfigOrBuilderin interfaceInstanceOrBuilder
-
hasShieldedInstanceIntegrityPolicy
public boolean hasShieldedInstanceIntegrityPolicy()optional .google.cloud.compute.v1.ShieldedInstanceIntegrityPolicy shielded_instance_integrity_policy = 163696919;- Specified by:
hasShieldedInstanceIntegrityPolicyin interfaceInstanceOrBuilder- Returns:
- Whether the shieldedInstanceIntegrityPolicy field is set.
-
getShieldedInstanceIntegrityPolicy
optional .google.cloud.compute.v1.ShieldedInstanceIntegrityPolicy shielded_instance_integrity_policy = 163696919;- Specified by:
getShieldedInstanceIntegrityPolicyin interfaceInstanceOrBuilder- Returns:
- The shieldedInstanceIntegrityPolicy.
-
setShieldedInstanceIntegrityPolicy
optional .google.cloud.compute.v1.ShieldedInstanceIntegrityPolicy shielded_instance_integrity_policy = 163696919; -
setShieldedInstanceIntegrityPolicy
public Instance.Builder setShieldedInstanceIntegrityPolicy(ShieldedInstanceIntegrityPolicy.Builder builderForValue) optional .google.cloud.compute.v1.ShieldedInstanceIntegrityPolicy shielded_instance_integrity_policy = 163696919; -
mergeShieldedInstanceIntegrityPolicy
optional .google.cloud.compute.v1.ShieldedInstanceIntegrityPolicy shielded_instance_integrity_policy = 163696919; -
clearShieldedInstanceIntegrityPolicy
optional .google.cloud.compute.v1.ShieldedInstanceIntegrityPolicy shielded_instance_integrity_policy = 163696919; -
getShieldedInstanceIntegrityPolicyBuilder
optional .google.cloud.compute.v1.ShieldedInstanceIntegrityPolicy shielded_instance_integrity_policy = 163696919; -
getShieldedInstanceIntegrityPolicyOrBuilder
optional .google.cloud.compute.v1.ShieldedInstanceIntegrityPolicy shielded_instance_integrity_policy = 163696919;- Specified by:
getShieldedInstanceIntegrityPolicyOrBuilderin interfaceInstanceOrBuilder
-
hasSourceMachineImage
public boolean hasSourceMachineImage()Source machine image
optional string source_machine_image = 21769791;- Specified by:
hasSourceMachineImagein interfaceInstanceOrBuilder- Returns:
- Whether the sourceMachineImage field is set.
-
getSourceMachineImage
Source machine image
optional string source_machine_image = 21769791;- Specified by:
getSourceMachineImagein interfaceInstanceOrBuilder- Returns:
- The sourceMachineImage.
-
getSourceMachineImageBytes
public com.google.protobuf.ByteString getSourceMachineImageBytes()Source machine image
optional string source_machine_image = 21769791;- Specified by:
getSourceMachineImageBytesin interfaceInstanceOrBuilder- Returns:
- The bytes for sourceMachineImage.
-
setSourceMachineImage
Source machine image
optional string source_machine_image = 21769791;- Parameters:
value- The sourceMachineImage to set.- Returns:
- This builder for chaining.
-
clearSourceMachineImage
Source machine image
optional string source_machine_image = 21769791;- Returns:
- This builder for chaining.
-
setSourceMachineImageBytes
Source machine image
optional string source_machine_image = 21769791;- Parameters:
value- The bytes for sourceMachineImage to set.- Returns:
- This builder for chaining.
-
hasSourceMachineImageEncryptionKey
public 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;- Specified by:
hasSourceMachineImageEncryptionKeyin interfaceInstanceOrBuilder- Returns:
- Whether the sourceMachineImageEncryptionKey field is set.
-
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;- Specified by:
getSourceMachineImageEncryptionKeyin interfaceInstanceOrBuilder- Returns:
- The sourceMachineImageEncryptionKey.
-
setSourceMachineImageEncryptionKey
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; -
setSourceMachineImageEncryptionKey
public Instance.Builder setSourceMachineImageEncryptionKey(CustomerEncryptionKey.Builder builderForValue) 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; -
mergeSourceMachineImageEncryptionKey
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; -
clearSourceMachineImageEncryptionKey
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; -
getSourceMachineImageEncryptionKeyBuilder
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; -
getSourceMachineImageEncryptionKeyOrBuilder
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;- Specified by:
getSourceMachineImageEncryptionKeyOrBuilderin interfaceInstanceOrBuilder
-
hasStartRestricted
public boolean hasStartRestricted()Output only. [Output Only] Whether a VM has been restricted for start because Compute Engine has detected suspicious activity.
optional bool start_restricted = 123693144;- Specified by:
hasStartRestrictedin interfaceInstanceOrBuilder- Returns:
- Whether the startRestricted field is set.
-
getStartRestricted
public boolean getStartRestricted()Output only. [Output Only] Whether a VM has been restricted for start because Compute Engine has detected suspicious activity.
optional bool start_restricted = 123693144;- Specified by:
getStartRestrictedin interfaceInstanceOrBuilder- Returns:
- The startRestricted.
-
setStartRestricted
Output only. [Output Only] Whether a VM has been restricted for start because Compute Engine has detected suspicious activity.
optional bool start_restricted = 123693144;- Parameters:
value- The startRestricted to set.- Returns:
- This builder for chaining.
-
clearStartRestricted
Output only. [Output Only] Whether a VM has been restricted for start because Compute Engine has detected suspicious activity.
optional bool start_restricted = 123693144;- Returns:
- This builder for chaining.
-
hasStatus
public boolean hasStatus()Output only. [Output Only] The status of the instance. One of the following values: PROVISIONING, STAGING,RUNNING, STOPPING, SUSPENDING,SUSPENDED, REPAIRING, andTERMINATED. 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;- Specified by:
hasStatusin interfaceInstanceOrBuilder- Returns:
- Whether the status field is set.
-
getStatus
Output only. [Output Only] The status of the instance. One of the following values: PROVISIONING, STAGING,RUNNING, STOPPING, SUSPENDING,SUSPENDED, REPAIRING, andTERMINATED. 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;- Specified by:
getStatusin interfaceInstanceOrBuilder- Returns:
- The status.
-
getStatusBytes
public com.google.protobuf.ByteString getStatusBytes()Output only. [Output Only] The status of the instance. One of the following values: PROVISIONING, STAGING,RUNNING, STOPPING, SUSPENDING,SUSPENDED, REPAIRING, andTERMINATED. 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;- Specified by:
getStatusBytesin interfaceInstanceOrBuilder- Returns:
- The bytes for status.
-
setStatus
Output only. [Output Only] The status of the instance. One of the following values: PROVISIONING, STAGING,RUNNING, STOPPING, SUSPENDING,SUSPENDED, REPAIRING, andTERMINATED. 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;- Parameters:
value- The status to set.- Returns:
- This builder for chaining.
-
clearStatus
Output only. [Output Only] The status of the instance. One of the following values: PROVISIONING, STAGING,RUNNING, STOPPING, SUSPENDING,SUSPENDED, REPAIRING, andTERMINATED. 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;- Returns:
- This builder for chaining.
-
setStatusBytes
Output only. [Output Only] The status of the instance. One of the following values: PROVISIONING, STAGING,RUNNING, STOPPING, SUSPENDING,SUSPENDED, REPAIRING, andTERMINATED. 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;- Parameters:
value- The bytes for status to set.- Returns:
- This builder for chaining.
-
hasStatusMessage
public boolean hasStatusMessage()Output only. [Output Only] An optional, human-readable explanation of the status.
optional string status_message = 297428154;- Specified by:
hasStatusMessagein interfaceInstanceOrBuilder- Returns:
- Whether the statusMessage field is set.
-
getStatusMessage
Output only. [Output Only] An optional, human-readable explanation of the status.
optional string status_message = 297428154;- Specified by:
getStatusMessagein interfaceInstanceOrBuilder- Returns:
- The statusMessage.
-
getStatusMessageBytes
public com.google.protobuf.ByteString getStatusMessageBytes()Output only. [Output Only] An optional, human-readable explanation of the status.
optional string status_message = 297428154;- Specified by:
getStatusMessageBytesin interfaceInstanceOrBuilder- Returns:
- The bytes for statusMessage.
-
setStatusMessage
Output only. [Output Only] An optional, human-readable explanation of the status.
optional string status_message = 297428154;- Parameters:
value- The statusMessage to set.- Returns:
- This builder for chaining.
-
clearStatusMessage
Output only. [Output Only] An optional, human-readable explanation of the status.
optional string status_message = 297428154;- Returns:
- This builder for chaining.
-
setStatusMessageBytes
Output only. [Output Only] An optional, human-readable explanation of the status.
optional string status_message = 297428154;- Parameters:
value- The bytes for statusMessage to set.- Returns:
- This builder for chaining.
-
hasTags
public 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 withRFC1035. Multiple tags can be specified via the 'tags.items' field.
optional .google.cloud.compute.v1.Tags tags = 3552281;- Specified by:
hasTagsin interfaceInstanceOrBuilder- Returns:
- Whether the tags field is set.
-
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 withRFC1035. Multiple tags can be specified via the 'tags.items' field.
optional .google.cloud.compute.v1.Tags tags = 3552281;- Specified by:
getTagsin interfaceInstanceOrBuilder- Returns:
- The tags.
-
setTags
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 withRFC1035. Multiple tags can be specified via the 'tags.items' field.
optional .google.cloud.compute.v1.Tags tags = 3552281; -
setTags
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 withRFC1035. Multiple tags can be specified via the 'tags.items' field.
optional .google.cloud.compute.v1.Tags tags = 3552281; -
mergeTags
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 withRFC1035. Multiple tags can be specified via the 'tags.items' field.
optional .google.cloud.compute.v1.Tags tags = 3552281; -
clearTags
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 withRFC1035. Multiple tags can be specified via the 'tags.items' field.
optional .google.cloud.compute.v1.Tags tags = 3552281; -
getTagsBuilder
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 withRFC1035. Multiple tags can be specified via the 'tags.items' field.
optional .google.cloud.compute.v1.Tags tags = 3552281; -
getTagsOrBuilder
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 withRFC1035. Multiple tags can be specified via the 'tags.items' field.
optional .google.cloud.compute.v1.Tags tags = 3552281;- Specified by:
getTagsOrBuilderin interfaceInstanceOrBuilder
-
hasWorkloadIdentityConfig
public boolean hasWorkloadIdentityConfig()optional .google.cloud.compute.v1.WorkloadIdentityConfig workload_identity_config = 338198811;- Specified by:
hasWorkloadIdentityConfigin interfaceInstanceOrBuilder- Returns:
- Whether the workloadIdentityConfig field is set.
-
getWorkloadIdentityConfig
optional .google.cloud.compute.v1.WorkloadIdentityConfig workload_identity_config = 338198811;- Specified by:
getWorkloadIdentityConfigin interfaceInstanceOrBuilder- Returns:
- The workloadIdentityConfig.
-
setWorkloadIdentityConfig
optional .google.cloud.compute.v1.WorkloadIdentityConfig workload_identity_config = 338198811; -
setWorkloadIdentityConfig
optional .google.cloud.compute.v1.WorkloadIdentityConfig workload_identity_config = 338198811; -
mergeWorkloadIdentityConfig
optional .google.cloud.compute.v1.WorkloadIdentityConfig workload_identity_config = 338198811; -
clearWorkloadIdentityConfig
optional .google.cloud.compute.v1.WorkloadIdentityConfig workload_identity_config = 338198811; -
getWorkloadIdentityConfigBuilder
optional .google.cloud.compute.v1.WorkloadIdentityConfig workload_identity_config = 338198811; -
getWorkloadIdentityConfigOrBuilder
optional .google.cloud.compute.v1.WorkloadIdentityConfig workload_identity_config = 338198811;- Specified by:
getWorkloadIdentityConfigOrBuilderin interfaceInstanceOrBuilder
-
hasZone
public boolean hasZone()Output only. [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;- Specified by:
hasZonein interfaceInstanceOrBuilder- Returns:
- Whether the zone field is set.
-
getZone
Output only. [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;- Specified by:
getZonein interfaceInstanceOrBuilder- Returns:
- The zone.
-
getZoneBytes
public com.google.protobuf.ByteString getZoneBytes()Output only. [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;- Specified by:
getZoneBytesin interfaceInstanceOrBuilder- Returns:
- The bytes for zone.
-
setZone
Output only. [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;- Parameters:
value- The zone to set.- Returns:
- This builder for chaining.
-
clearZone
Output only. [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;- Returns:
- This builder for chaining.
-
setZoneBytes
Output only. [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;- Parameters:
value- The bytes for zone to set.- Returns:
- This builder for chaining.
-