public static final class Instance.Builder extends com.google.protobuf.GeneratedMessageV3.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, read Virtual Machine Instances.Protobuf type
google.cloud.compute.v1.Instance| Modifier and Type | Method and Description |
|---|---|
Instance.Builder |
addAllDisks(Iterable<? extends AttachedDisk> values)
Array of disks associated with this instance.
|
Instance.Builder |
addAllGuestAccelerators(Iterable<? extends AcceleratorConfig> values)
A list of the type and count of accelerator cards attached to the instance.
|
Instance.Builder |
addAllNetworkInterfaces(Iterable<? extends NetworkInterface> values)
An array of network configurations for this instance.
|
Instance.Builder |
addAllResourcePolicies(Iterable<String> values)
Resource policies applied to this instance.
|
Instance.Builder |
addAllServiceAccounts(Iterable<? extends ServiceAccount> values)
A list of service accounts, with their specified scopes, authorized for this instance.
|
Instance.Builder |
addDisks(AttachedDisk.Builder builderForValue)
Array of disks associated with this instance.
|
Instance.Builder |
addDisks(AttachedDisk value)
Array of disks associated with this instance.
|
Instance.Builder |
addDisks(int index,
AttachedDisk.Builder builderForValue)
Array of disks associated with this instance.
|
Instance.Builder |
addDisks(int index,
AttachedDisk value)
Array of disks associated with this instance.
|
AttachedDisk.Builder |
addDisksBuilder()
Array of disks associated with this instance.
|
AttachedDisk.Builder |
addDisksBuilder(int index)
Array of disks associated with this instance.
|
Instance.Builder |
addGuestAccelerators(AcceleratorConfig.Builder builderForValue)
A list of the type and count of accelerator cards attached to the instance.
|
Instance.Builder |
addGuestAccelerators(AcceleratorConfig value)
A list of the type and count of accelerator cards attached to the instance.
|
Instance.Builder |
addGuestAccelerators(int index,
AcceleratorConfig.Builder builderForValue)
A list of the type and count of accelerator cards attached to the instance.
|
Instance.Builder |
addGuestAccelerators(int index,
AcceleratorConfig value)
A list of the type and count of accelerator cards attached to the instance.
|
AcceleratorConfig.Builder |
addGuestAcceleratorsBuilder()
A list of the type and count of accelerator cards attached to the instance.
|
AcceleratorConfig.Builder |
addGuestAcceleratorsBuilder(int index)
A list of the type and count of accelerator cards attached to the instance.
|
Instance.Builder |
addNetworkInterfaces(int index,
NetworkInterface.Builder builderForValue)
An array of network configurations for this instance.
|
Instance.Builder |
addNetworkInterfaces(int index,
NetworkInterface value)
An array of network configurations for this instance.
|
Instance.Builder |
addNetworkInterfaces(NetworkInterface.Builder builderForValue)
An array of network configurations for this instance.
|
Instance.Builder |
addNetworkInterfaces(NetworkInterface value)
An array of network configurations for this instance.
|
NetworkInterface.Builder |
addNetworkInterfacesBuilder()
An array of network configurations for this instance.
|
NetworkInterface.Builder |
addNetworkInterfacesBuilder(int index)
An array of network configurations for this instance.
|
Instance.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Instance.Builder |
addResourcePolicies(String value)
Resource policies applied to this instance.
|
Instance.Builder |
addResourcePoliciesBytes(com.google.protobuf.ByteString value)
Resource policies applied to this instance.
|
Instance.Builder |
addServiceAccounts(int index,
ServiceAccount.Builder builderForValue)
A list of service accounts, with their specified scopes, authorized for this instance.
|
Instance.Builder |
addServiceAccounts(int index,
ServiceAccount value)
A list of service accounts, with their specified scopes, authorized for this instance.
|
Instance.Builder |
addServiceAccounts(ServiceAccount.Builder builderForValue)
A list of service accounts, with their specified scopes, authorized for this instance.
|
Instance.Builder |
addServiceAccounts(ServiceAccount value)
A list of service accounts, with their specified scopes, authorized for this instance.
|
ServiceAccount.Builder |
addServiceAccountsBuilder()
A list of service accounts, with their specified scopes, authorized for this instance.
|
ServiceAccount.Builder |
addServiceAccountsBuilder(int index)
A list of service accounts, with their specified scopes, authorized for this instance.
|
Instance |
build() |
Instance |
buildPartial() |
Instance.Builder |
clear() |
Instance.Builder |
clearAdvancedMachineFeatures()
Controls for advanced machine-related behavior features.
|
Instance.Builder |
clearCanIpForward()
Allows this instance to send and receive packets with non-matching destination or source IPs.
|
Instance.Builder |
clearConfidentialInstanceConfig()
optional .google.cloud.compute.v1.ConfidentialInstanceConfig confidential_instance_config = 490637685;
|
Instance.Builder |
clearCpuPlatform()
[Output Only] The CPU platform used by this instance.
|
Instance.Builder |
clearCreationTimestamp()
[Output Only] Creation timestamp in RFC3339 text format.
|
Instance.Builder |
clearDeletionProtection()
Whether the resource should be protected against deletion.
|
Instance.Builder |
clearDescription()
An optional description of this resource.
|
Instance.Builder |
clearDisks()
Array of disks associated with this instance.
|
Instance.Builder |
clearDisplayDevice()
Enables display device for the instance.
|
Instance.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
Instance.Builder |
clearFingerprint()
Specifies a fingerprint for this resource, which is essentially a hash of the instance's contents and used for optimistic locking.
|
Instance.Builder |
clearGuestAccelerators()
A list of the type and count of accelerator cards attached to the instance.
|
Instance.Builder |
clearHostname()
Specifies the hostname of the instance.
|
Instance.Builder |
clearId()
[Output Only] The unique identifier for the resource.
|
Instance.Builder |
clearKeyRevocationActionType()
KeyRevocationActionType of the instance.
|
Instance.Builder |
clearKind()
[Output Only] Type of the resource.
|
Instance.Builder |
clearLabelFingerprint()
A fingerprint for this request, which is essentially a hash of the label's contents and used for optimistic locking.
|
Instance.Builder |
clearLabels() |
Instance.Builder |
clearLastStartTimestamp()
[Output Only] Last start timestamp in RFC3339 text format.
|
Instance.Builder |
clearLastStopTimestamp()
[Output Only] Last stop timestamp in RFC3339 text format.
|
Instance.Builder |
clearLastSuspendedTimestamp()
[Output Only] Last suspended timestamp in RFC3339 text format.
|
Instance.Builder |
clearMachineType()
Full or partial URL of the machine type resource to use for this instance, in the format: zones/zone/machineTypes/machine-type.
|
Instance.Builder |
clearMetadata()
The metadata key/value pairs assigned to this instance.
|
Instance.Builder |
clearMinCpuPlatform()
Specifies a minimum CPU platform for the VM instance.
|
Instance.Builder |
clearName()
The name of the resource, provided by the client when initially creating the resource.
|
Instance.Builder |
clearNetworkInterfaces()
An array of network configurations for this instance.
|
Instance.Builder |
clearNetworkPerformanceConfig()
optional .google.cloud.compute.v1.NetworkPerformanceConfig network_performance_config = 398330850;
|
Instance.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
Instance.Builder |
clearParams()
Input only.
|
Instance.Builder |
clearPrivateIpv6GoogleAccess()
The private IPv6 google access type for the VM.
|
Instance.Builder |
clearReservationAffinity()
Specifies the reservations that this instance can consume from.
|
Instance.Builder |
clearResourcePolicies()
Resource policies applied to this instance.
|
Instance.Builder |
clearResourceStatus()
[Output Only] Specifies values set for instance attributes as compared to the values requested by user in the corresponding input only field.
|
Instance.Builder |
clearSatisfiesPzs()
[Output Only] Reserved for future use.
|
Instance.Builder |
clearScheduling()
Sets the scheduling options for this instance.
|
Instance.Builder |
clearSelfLink()
[Output Only] Server-defined URL for this resource.
|
Instance.Builder |
clearServiceAccounts()
A list of service accounts, with their specified scopes, authorized for this instance.
|
Instance.Builder |
clearShieldedInstanceConfig()
optional .google.cloud.compute.v1.ShieldedInstanceConfig shielded_instance_config = 12862901;
|
Instance.Builder |
clearShieldedInstanceIntegrityPolicy()
optional .google.cloud.compute.v1.ShieldedInstanceIntegrityPolicy shielded_instance_integrity_policy = 163696919;
|
Instance.Builder |
clearSourceMachineImage()
Source machine image
|
Instance.Builder |
clearSourceMachineImageEncryptionKey()
Source machine image encryption key when creating an instance from a machine image.
|
Instance.Builder |
clearStartRestricted()
[Output Only] Whether a VM has been restricted for start because Compute Engine has detected suspicious activity.
|
Instance.Builder |
clearStatus()
[Output Only] The status of the instance.
|
Instance.Builder |
clearStatusMessage()
[Output Only] An optional, human-readable explanation of the status.
|
Instance.Builder |
clearTags()
Tags to apply to this instance.
|
Instance.Builder |
clearZone()
[Output Only] URL of the zone where the instance resides.
|
Instance.Builder |
clone() |
boolean |
containsLabels(String key)
Labels to apply to this instance.
|
AdvancedMachineFeatures |
getAdvancedMachineFeatures()
Controls for advanced machine-related behavior features.
|
AdvancedMachineFeatures.Builder |
getAdvancedMachineFeaturesBuilder()
Controls for advanced machine-related behavior features.
|
AdvancedMachineFeaturesOrBuilder |
getAdvancedMachineFeaturesOrBuilder()
Controls for advanced machine-related behavior features.
|
boolean |
getCanIpForward()
Allows this instance to send and receive packets with non-matching destination or source IPs.
|
ConfidentialInstanceConfig |
getConfidentialInstanceConfig()
optional .google.cloud.compute.v1.ConfidentialInstanceConfig confidential_instance_config = 490637685;
|
ConfidentialInstanceConfig.Builder |
getConfidentialInstanceConfigBuilder()
optional .google.cloud.compute.v1.ConfidentialInstanceConfig confidential_instance_config = 490637685;
|
ConfidentialInstanceConfigOrBuilder |
getConfidentialInstanceConfigOrBuilder()
optional .google.cloud.compute.v1.ConfidentialInstanceConfig confidential_instance_config = 490637685;
|
String |
getCpuPlatform()
[Output Only] The CPU platform used by this instance.
|
com.google.protobuf.ByteString |
getCpuPlatformBytes()
[Output Only] The CPU platform used by this instance.
|
String |
getCreationTimestamp()
[Output Only] Creation timestamp in RFC3339 text format.
|
com.google.protobuf.ByteString |
getCreationTimestampBytes()
[Output Only] Creation timestamp in RFC3339 text format.
|
Instance |
getDefaultInstanceForType() |
boolean |
getDeletionProtection()
Whether the resource should be protected against deletion.
|
String |
getDescription()
An optional description of this resource.
|
com.google.protobuf.ByteString |
getDescriptionBytes()
An optional description of this resource.
|
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
AttachedDisk |
getDisks(int index)
Array of disks associated with this instance.
|
AttachedDisk.Builder |
getDisksBuilder(int index)
Array of disks associated with this instance.
|
List<AttachedDisk.Builder> |
getDisksBuilderList()
Array of disks associated with this instance.
|
int |
getDisksCount()
Array of disks associated with this instance.
|
List<AttachedDisk> |
getDisksList()
Array of disks associated with this instance.
|
AttachedDiskOrBuilder |
getDisksOrBuilder(int index)
Array of disks associated with this instance.
|
List<? extends AttachedDiskOrBuilder> |
getDisksOrBuilderList()
Array of disks associated with this instance.
|
DisplayDevice |
getDisplayDevice()
Enables display device for the instance.
|
DisplayDevice.Builder |
getDisplayDeviceBuilder()
Enables display device for the instance.
|
DisplayDeviceOrBuilder |
getDisplayDeviceOrBuilder()
Enables display device for the instance.
|
String |
getFingerprint()
Specifies a fingerprint for this resource, which is essentially a hash of the instance's contents and used for optimistic locking.
|
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.
|
AcceleratorConfig |
getGuestAccelerators(int index)
A list of the type and count of accelerator cards attached to the instance.
|
AcceleratorConfig.Builder |
getGuestAcceleratorsBuilder(int index)
A list of the type and count of accelerator cards attached to the instance.
|
List<AcceleratorConfig.Builder> |
getGuestAcceleratorsBuilderList()
A list of the type and count of accelerator cards attached to the instance.
|
int |
getGuestAcceleratorsCount()
A list of the type and count of accelerator cards attached to the instance.
|
List<AcceleratorConfig> |
getGuestAcceleratorsList()
A list of the type and count of accelerator cards attached to the instance.
|
AcceleratorConfigOrBuilder |
getGuestAcceleratorsOrBuilder(int index)
A list of the type and count of accelerator cards attached to the instance.
|
List<? extends AcceleratorConfigOrBuilder> |
getGuestAcceleratorsOrBuilderList()
A list of the type and count of accelerator cards attached to the instance.
|
String |
getHostname()
Specifies the hostname of the instance.
|
com.google.protobuf.ByteString |
getHostnameBytes()
Specifies the hostname of the instance.
|
long |
getId()
[Output Only] The unique identifier for the resource.
|
String |
getKeyRevocationActionType()
KeyRevocationActionType of the instance.
|
com.google.protobuf.ByteString |
getKeyRevocationActionTypeBytes()
KeyRevocationActionType of the instance.
|
String |
getKind()
[Output Only] Type of the resource.
|
com.google.protobuf.ByteString |
getKindBytes()
[Output Only] Type of the resource.
|
String |
getLabelFingerprint()
A fingerprint for this request, which is essentially a hash of the label's contents and used for optimistic locking.
|
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.
|
Map<String,String> |
getLabels()
Deprecated.
|
int |
getLabelsCount()
Labels to apply to this instance.
|
Map<String,String> |
getLabelsMap()
Labels to apply to this instance.
|
String |
getLabelsOrDefault(String key,
String defaultValue)
Labels to apply to this instance.
|
String |
getLabelsOrThrow(String key)
Labels to apply to this instance.
|
String |
getLastStartTimestamp()
[Output Only] Last start timestamp in RFC3339 text format.
|
com.google.protobuf.ByteString |
getLastStartTimestampBytes()
[Output Only] Last start timestamp in RFC3339 text format.
|
String |
getLastStopTimestamp()
[Output Only] Last stop timestamp in RFC3339 text format.
|
com.google.protobuf.ByteString |
getLastStopTimestampBytes()
[Output Only] Last stop timestamp in RFC3339 text format.
|
String |
getLastSuspendedTimestamp()
[Output Only] Last suspended timestamp in RFC3339 text format.
|
com.google.protobuf.ByteString |
getLastSuspendedTimestampBytes()
[Output Only] Last suspended timestamp in RFC3339 text format.
|
String |
getMachineType()
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.ByteString |
getMachineTypeBytes()
Full or partial URL of the machine type resource to use for this instance, in the format: zones/zone/machineTypes/machine-type.
|
Metadata |
getMetadata()
The metadata key/value pairs assigned to this instance.
|
Metadata.Builder |
getMetadataBuilder()
The metadata key/value pairs assigned to this instance.
|
MetadataOrBuilder |
getMetadataOrBuilder()
The metadata key/value pairs assigned to this instance.
|
String |
getMinCpuPlatform()
Specifies a minimum CPU platform for the VM instance.
|
com.google.protobuf.ByteString |
getMinCpuPlatformBytes()
Specifies a minimum CPU platform for the VM instance.
|
Map<String,String> |
getMutableLabels()
Deprecated.
|
String |
getName()
The name of the resource, provided by the client when initially creating the resource.
|
com.google.protobuf.ByteString |
getNameBytes()
The name of the resource, provided by the client when initially creating the resource.
|
NetworkInterface |
getNetworkInterfaces(int index)
An array of network configurations for this instance.
|
NetworkInterface.Builder |
getNetworkInterfacesBuilder(int index)
An array of network configurations for this instance.
|
List<NetworkInterface.Builder> |
getNetworkInterfacesBuilderList()
An array of network configurations for this instance.
|
int |
getNetworkInterfacesCount()
An array of network configurations for this instance.
|
List<NetworkInterface> |
getNetworkInterfacesList()
An array of network configurations for this instance.
|
NetworkInterfaceOrBuilder |
getNetworkInterfacesOrBuilder(int index)
An array of network configurations for this instance.
|
List<? extends NetworkInterfaceOrBuilder> |
getNetworkInterfacesOrBuilderList()
An array of network configurations for this instance.
|
NetworkPerformanceConfig |
getNetworkPerformanceConfig()
optional .google.cloud.compute.v1.NetworkPerformanceConfig network_performance_config = 398330850;
|
NetworkPerformanceConfig.Builder |
getNetworkPerformanceConfigBuilder()
optional .google.cloud.compute.v1.NetworkPerformanceConfig network_performance_config = 398330850;
|
NetworkPerformanceConfigOrBuilder |
getNetworkPerformanceConfigOrBuilder()
optional .google.cloud.compute.v1.NetworkPerformanceConfig network_performance_config = 398330850;
|
InstanceParams |
getParams()
Input only.
|
InstanceParams.Builder |
getParamsBuilder()
Input only.
|
InstanceParamsOrBuilder |
getParamsOrBuilder()
Input only.
|
String |
getPrivateIpv6GoogleAccess()
The private IPv6 google access type for the VM.
|
com.google.protobuf.ByteString |
getPrivateIpv6GoogleAccessBytes()
The private IPv6 google access type for the VM.
|
ReservationAffinity |
getReservationAffinity()
Specifies the reservations that this instance can consume from.
|
ReservationAffinity.Builder |
getReservationAffinityBuilder()
Specifies the reservations that this instance can consume from.
|
ReservationAffinityOrBuilder |
getReservationAffinityOrBuilder()
Specifies the reservations that this instance can consume from.
|
String |
getResourcePolicies(int index)
Resource policies applied to this instance.
|
com.google.protobuf.ByteString |
getResourcePoliciesBytes(int index)
Resource policies applied to this instance.
|
int |
getResourcePoliciesCount()
Resource policies applied to this instance.
|
com.google.protobuf.ProtocolStringList |
getResourcePoliciesList()
Resource policies applied to this instance.
|
ResourceStatus |
getResourceStatus()
[Output Only] Specifies values set for instance attributes as compared to the values requested by user in the corresponding input only field.
|
ResourceStatus.Builder |
getResourceStatusBuilder()
[Output Only] Specifies values set for instance attributes as compared to the values requested by user in the corresponding input only field.
|
ResourceStatusOrBuilder |
getResourceStatusOrBuilder()
[Output Only] Specifies values set for instance attributes as compared to the values requested by user in the corresponding input only field.
|
boolean |
getSatisfiesPzs()
[Output Only] Reserved for future use.
|
Scheduling |
getScheduling()
Sets the scheduling options for this instance.
|
Scheduling.Builder |
getSchedulingBuilder()
Sets the scheduling options for this instance.
|
SchedulingOrBuilder |
getSchedulingOrBuilder()
Sets the scheduling options for this instance.
|
String |
getSelfLink()
[Output Only] Server-defined URL for this resource.
|
com.google.protobuf.ByteString |
getSelfLinkBytes()
[Output Only] Server-defined URL for this resource.
|
ServiceAccount |
getServiceAccounts(int index)
A list of service accounts, with their specified scopes, authorized for this instance.
|
ServiceAccount.Builder |
getServiceAccountsBuilder(int index)
A list of service accounts, with their specified scopes, authorized for this instance.
|
List<ServiceAccount.Builder> |
getServiceAccountsBuilderList()
A list of service accounts, with their specified scopes, authorized for this instance.
|
int |
getServiceAccountsCount()
A list of service accounts, with their specified scopes, authorized for this instance.
|
List<ServiceAccount> |
getServiceAccountsList()
A list of service accounts, with their specified scopes, authorized for this instance.
|
ServiceAccountOrBuilder |
getServiceAccountsOrBuilder(int index)
A list of service accounts, with their specified scopes, authorized for this instance.
|
List<? extends ServiceAccountOrBuilder> |
getServiceAccountsOrBuilderList()
A list of service accounts, with their specified scopes, authorized for this instance.
|
ShieldedInstanceConfig |
getShieldedInstanceConfig()
optional .google.cloud.compute.v1.ShieldedInstanceConfig shielded_instance_config = 12862901;
|
ShieldedInstanceConfig.Builder |
getShieldedInstanceConfigBuilder()
optional .google.cloud.compute.v1.ShieldedInstanceConfig shielded_instance_config = 12862901;
|
ShieldedInstanceConfigOrBuilder |
getShieldedInstanceConfigOrBuilder()
optional .google.cloud.compute.v1.ShieldedInstanceConfig shielded_instance_config = 12862901;
|
ShieldedInstanceIntegrityPolicy |
getShieldedInstanceIntegrityPolicy()
optional .google.cloud.compute.v1.ShieldedInstanceIntegrityPolicy shielded_instance_integrity_policy = 163696919;
|
ShieldedInstanceIntegrityPolicy.Builder |
getShieldedInstanceIntegrityPolicyBuilder()
optional .google.cloud.compute.v1.ShieldedInstanceIntegrityPolicy shielded_instance_integrity_policy = 163696919;
|
ShieldedInstanceIntegrityPolicyOrBuilder |
getShieldedInstanceIntegrityPolicyOrBuilder()
optional .google.cloud.compute.v1.ShieldedInstanceIntegrityPolicy shielded_instance_integrity_policy = 163696919;
|
String |
getSourceMachineImage()
Source machine image
|
com.google.protobuf.ByteString |
getSourceMachineImageBytes()
Source machine image
|
CustomerEncryptionKey |
getSourceMachineImageEncryptionKey()
Source machine image encryption key when creating an instance from a machine image.
|
CustomerEncryptionKey.Builder |
getSourceMachineImageEncryptionKeyBuilder()
Source machine image encryption key when creating an instance from a machine image.
|
CustomerEncryptionKeyOrBuilder |
getSourceMachineImageEncryptionKeyOrBuilder()
Source machine image encryption key when creating an instance from a machine image.
|
boolean |
getStartRestricted()
[Output Only] Whether a VM has been restricted for start because Compute Engine has detected suspicious activity.
|
String |
getStatus()
[Output Only] The status of the instance.
|
com.google.protobuf.ByteString |
getStatusBytes()
[Output Only] The status of the instance.
|
String |
getStatusMessage()
[Output Only] An optional, human-readable explanation of the status.
|
com.google.protobuf.ByteString |
getStatusMessageBytes()
[Output Only] An optional, human-readable explanation of the status.
|
Tags |
getTags()
Tags to apply to this instance.
|
Tags.Builder |
getTagsBuilder()
Tags to apply to this instance.
|
TagsOrBuilder |
getTagsOrBuilder()
Tags to apply to this instance.
|
String |
getZone()
[Output Only] URL of the zone where the instance resides.
|
com.google.protobuf.ByteString |
getZoneBytes()
[Output Only] URL of the zone where the instance resides.
|
boolean |
hasAdvancedMachineFeatures()
Controls for advanced machine-related behavior features.
|
boolean |
hasCanIpForward()
Allows this instance to send and receive packets with non-matching destination or source IPs.
|
boolean |
hasConfidentialInstanceConfig()
optional .google.cloud.compute.v1.ConfidentialInstanceConfig confidential_instance_config = 490637685;
|
boolean |
hasCpuPlatform()
[Output Only] The CPU platform used by this instance.
|
boolean |
hasCreationTimestamp()
[Output Only] Creation timestamp in RFC3339 text format.
|
boolean |
hasDeletionProtection()
Whether the resource should be protected against deletion.
|
boolean |
hasDescription()
An optional description of this resource.
|
boolean |
hasDisplayDevice()
Enables display device for the instance.
|
boolean |
hasFingerprint()
Specifies a fingerprint for this resource, which is essentially a hash of the instance's contents and used for optimistic locking.
|
boolean |
hasHostname()
Specifies the hostname of the instance.
|
boolean |
hasId()
[Output Only] The unique identifier for the resource.
|
boolean |
hasKeyRevocationActionType()
KeyRevocationActionType of the instance.
|
boolean |
hasKind()
[Output Only] Type of the resource.
|
boolean |
hasLabelFingerprint()
A fingerprint for this request, which is essentially a hash of the label's contents and used for optimistic locking.
|
boolean |
hasLastStartTimestamp()
[Output Only] Last start timestamp in RFC3339 text format.
|
boolean |
hasLastStopTimestamp()
[Output Only] Last stop timestamp in RFC3339 text format.
|
boolean |
hasLastSuspendedTimestamp()
[Output Only] Last suspended timestamp in RFC3339 text format.
|
boolean |
hasMachineType()
Full or partial URL of the machine type resource to use for this instance, in the format: zones/zone/machineTypes/machine-type.
|
boolean |
hasMetadata()
The metadata key/value pairs assigned to this instance.
|
boolean |
hasMinCpuPlatform()
Specifies a minimum CPU platform for the VM instance.
|
boolean |
hasName()
The name of the resource, provided by the client when initially creating the resource.
|
boolean |
hasNetworkPerformanceConfig()
optional .google.cloud.compute.v1.NetworkPerformanceConfig network_performance_config = 398330850;
|
boolean |
hasParams()
Input only.
|
boolean |
hasPrivateIpv6GoogleAccess()
The private IPv6 google access type for the VM.
|
boolean |
hasReservationAffinity()
Specifies the reservations that this instance can consume from.
|
boolean |
hasResourceStatus()
[Output Only] Specifies values set for instance attributes as compared to the values requested by user in the corresponding input only field.
|
boolean |
hasSatisfiesPzs()
[Output Only] Reserved for future use.
|
boolean |
hasScheduling()
Sets the scheduling options for this instance.
|
boolean |
hasSelfLink()
[Output Only] Server-defined URL for this resource.
|
boolean |
hasShieldedInstanceConfig()
optional .google.cloud.compute.v1.ShieldedInstanceConfig shielded_instance_config = 12862901;
|
boolean |
hasShieldedInstanceIntegrityPolicy()
optional .google.cloud.compute.v1.ShieldedInstanceIntegrityPolicy shielded_instance_integrity_policy = 163696919;
|
boolean |
hasSourceMachineImage()
Source machine image
|
boolean |
hasSourceMachineImageEncryptionKey()
Source machine image encryption key when creating an instance from a machine image.
|
boolean |
hasStartRestricted()
[Output Only] Whether a VM has been restricted for start because Compute Engine has detected suspicious activity.
|
boolean |
hasStatus()
[Output Only] The status of the instance.
|
boolean |
hasStatusMessage()
[Output Only] An optional, human-readable explanation of the status.
|
boolean |
hasTags()
Tags to apply to this instance.
|
boolean |
hasZone()
[Output Only] URL of the zone where the instance resides.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
protected com.google.protobuf.MapField |
internalGetMapField(int number) |
protected com.google.protobuf.MapField |
internalGetMutableMapField(int number) |
boolean |
isInitialized() |
Instance.Builder |
mergeAdvancedMachineFeatures(AdvancedMachineFeatures value)
Controls for advanced machine-related behavior features.
|
Instance.Builder |
mergeConfidentialInstanceConfig(ConfidentialInstanceConfig value)
optional .google.cloud.compute.v1.ConfidentialInstanceConfig confidential_instance_config = 490637685;
|
Instance.Builder |
mergeDisplayDevice(DisplayDevice value)
Enables display device for the instance.
|
Instance.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Instance.Builder |
mergeFrom(Instance other) |
Instance.Builder |
mergeFrom(com.google.protobuf.Message other) |
Instance.Builder |
mergeMetadata(Metadata value)
The metadata key/value pairs assigned to this instance.
|
Instance.Builder |
mergeNetworkPerformanceConfig(NetworkPerformanceConfig value)
optional .google.cloud.compute.v1.NetworkPerformanceConfig network_performance_config = 398330850;
|
Instance.Builder |
mergeParams(InstanceParams value)
Input only.
|
Instance.Builder |
mergeReservationAffinity(ReservationAffinity value)
Specifies the reservations that this instance can consume from.
|
Instance.Builder |
mergeResourceStatus(ResourceStatus value)
[Output Only] Specifies values set for instance attributes as compared to the values requested by user in the corresponding input only field.
|
Instance.Builder |
mergeScheduling(Scheduling value)
Sets the scheduling options for this instance.
|
Instance.Builder |
mergeShieldedInstanceConfig(ShieldedInstanceConfig value)
optional .google.cloud.compute.v1.ShieldedInstanceConfig shielded_instance_config = 12862901;
|
Instance.Builder |
mergeShieldedInstanceIntegrityPolicy(ShieldedInstanceIntegrityPolicy value)
optional .google.cloud.compute.v1.ShieldedInstanceIntegrityPolicy shielded_instance_integrity_policy = 163696919;
|
Instance.Builder |
mergeSourceMachineImageEncryptionKey(CustomerEncryptionKey value)
Source machine image encryption key when creating an instance from a machine image.
|
Instance.Builder |
mergeTags(Tags value)
Tags to apply to this instance.
|
Instance.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Instance.Builder |
putAllLabels(Map<String,String> values)
Labels to apply to this instance.
|
Instance.Builder |
putLabels(String key,
String value)
Labels to apply to this instance.
|
Instance.Builder |
removeDisks(int index)
Array of disks associated with this instance.
|
Instance.Builder |
removeGuestAccelerators(int index)
A list of the type and count of accelerator cards attached to the instance.
|
Instance.Builder |
removeLabels(String key)
Labels to apply to this instance.
|
Instance.Builder |
removeNetworkInterfaces(int index)
An array of network configurations for this instance.
|
Instance.Builder |
removeServiceAccounts(int index)
A list of service accounts, with their specified scopes, authorized for this instance.
|
Instance.Builder |
setAdvancedMachineFeatures(AdvancedMachineFeatures.Builder builderForValue)
Controls for advanced machine-related behavior features.
|
Instance.Builder |
setAdvancedMachineFeatures(AdvancedMachineFeatures value)
Controls for advanced machine-related behavior features.
|
Instance.Builder |
setCanIpForward(boolean value)
Allows this instance to send and receive packets with non-matching destination or source IPs.
|
Instance.Builder |
setConfidentialInstanceConfig(ConfidentialInstanceConfig.Builder builderForValue)
optional .google.cloud.compute.v1.ConfidentialInstanceConfig confidential_instance_config = 490637685;
|
Instance.Builder |
setConfidentialInstanceConfig(ConfidentialInstanceConfig value)
optional .google.cloud.compute.v1.ConfidentialInstanceConfig confidential_instance_config = 490637685;
|
Instance.Builder |
setCpuPlatform(String value)
[Output Only] The CPU platform used by this instance.
|
Instance.Builder |
setCpuPlatformBytes(com.google.protobuf.ByteString value)
[Output Only] The CPU platform used by this instance.
|
Instance.Builder |
setCreationTimestamp(String value)
[Output Only] Creation timestamp in RFC3339 text format.
|
Instance.Builder |
setCreationTimestampBytes(com.google.protobuf.ByteString value)
[Output Only] Creation timestamp in RFC3339 text format.
|
Instance.Builder |
setDeletionProtection(boolean value)
Whether the resource should be protected against deletion.
|
Instance.Builder |
setDescription(String value)
An optional description of this resource.
|
Instance.Builder |
setDescriptionBytes(com.google.protobuf.ByteString value)
An optional description of this resource.
|
Instance.Builder |
setDisks(int index,
AttachedDisk.Builder builderForValue)
Array of disks associated with this instance.
|
Instance.Builder |
setDisks(int index,
AttachedDisk value)
Array of disks associated with this instance.
|
Instance.Builder |
setDisplayDevice(DisplayDevice.Builder builderForValue)
Enables display device for the instance.
|
Instance.Builder |
setDisplayDevice(DisplayDevice value)
Enables display device for the instance.
|
Instance.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Instance.Builder |
setFingerprint(String value)
Specifies a fingerprint for this resource, which is essentially a hash of the instance's contents and used for optimistic locking.
|
Instance.Builder |
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.
|
Instance.Builder |
setGuestAccelerators(int index,
AcceleratorConfig.Builder builderForValue)
A list of the type and count of accelerator cards attached to the instance.
|
Instance.Builder |
setGuestAccelerators(int index,
AcceleratorConfig value)
A list of the type and count of accelerator cards attached to the instance.
|
Instance.Builder |
setHostname(String value)
Specifies the hostname of the instance.
|
Instance.Builder |
setHostnameBytes(com.google.protobuf.ByteString value)
Specifies the hostname of the instance.
|
Instance.Builder |
setId(long value)
[Output Only] The unique identifier for the resource.
|
Instance.Builder |
setKeyRevocationActionType(String value)
KeyRevocationActionType of the instance.
|
Instance.Builder |
setKeyRevocationActionTypeBytes(com.google.protobuf.ByteString value)
KeyRevocationActionType of the instance.
|
Instance.Builder |
setKind(String value)
[Output Only] Type of the resource.
|
Instance.Builder |
setKindBytes(com.google.protobuf.ByteString value)
[Output Only] Type of the resource.
|
Instance.Builder |
setLabelFingerprint(String value)
A fingerprint for this request, which is essentially a hash of the label's contents and used for optimistic locking.
|
Instance.Builder |
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.
|
Instance.Builder |
setLastStartTimestamp(String value)
[Output Only] Last start timestamp in RFC3339 text format.
|
Instance.Builder |
setLastStartTimestampBytes(com.google.protobuf.ByteString value)
[Output Only] Last start timestamp in RFC3339 text format.
|
Instance.Builder |
setLastStopTimestamp(String value)
[Output Only] Last stop timestamp in RFC3339 text format.
|
Instance.Builder |
setLastStopTimestampBytes(com.google.protobuf.ByteString value)
[Output Only] Last stop timestamp in RFC3339 text format.
|
Instance.Builder |
setLastSuspendedTimestamp(String value)
[Output Only] Last suspended timestamp in RFC3339 text format.
|
Instance.Builder |
setLastSuspendedTimestampBytes(com.google.protobuf.ByteString value)
[Output Only] Last suspended timestamp in RFC3339 text format.
|
Instance.Builder |
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.
|
Instance.Builder |
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.
|
Instance.Builder |
setMetadata(Metadata.Builder builderForValue)
The metadata key/value pairs assigned to this instance.
|
Instance.Builder |
setMetadata(Metadata value)
The metadata key/value pairs assigned to this instance.
|
Instance.Builder |
setMinCpuPlatform(String value)
Specifies a minimum CPU platform for the VM instance.
|
Instance.Builder |
setMinCpuPlatformBytes(com.google.protobuf.ByteString value)
Specifies a minimum CPU platform for the VM instance.
|
Instance.Builder |
setName(String value)
The name of the resource, provided by the client when initially creating the resource.
|
Instance.Builder |
setNameBytes(com.google.protobuf.ByteString value)
The name of the resource, provided by the client when initially creating the resource.
|
Instance.Builder |
setNetworkInterfaces(int index,
NetworkInterface.Builder builderForValue)
An array of network configurations for this instance.
|
Instance.Builder |
setNetworkInterfaces(int index,
NetworkInterface value)
An array of network configurations for this instance.
|
Instance.Builder |
setNetworkPerformanceConfig(NetworkPerformanceConfig.Builder builderForValue)
optional .google.cloud.compute.v1.NetworkPerformanceConfig network_performance_config = 398330850;
|
Instance.Builder |
setNetworkPerformanceConfig(NetworkPerformanceConfig value)
optional .google.cloud.compute.v1.NetworkPerformanceConfig network_performance_config = 398330850;
|
Instance.Builder |
setParams(InstanceParams.Builder builderForValue)
Input only.
|
Instance.Builder |
setParams(InstanceParams value)
Input only.
|
Instance.Builder |
setPrivateIpv6GoogleAccess(String value)
The private IPv6 google access type for the VM.
|
Instance.Builder |
setPrivateIpv6GoogleAccessBytes(com.google.protobuf.ByteString value)
The private IPv6 google access type for the VM.
|
Instance.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
Instance.Builder |
setReservationAffinity(ReservationAffinity.Builder builderForValue)
Specifies the reservations that this instance can consume from.
|
Instance.Builder |
setReservationAffinity(ReservationAffinity value)
Specifies the reservations that this instance can consume from.
|
Instance.Builder |
setResourcePolicies(int index,
String value)
Resource policies applied to this instance.
|
Instance.Builder |
setResourceStatus(ResourceStatus.Builder builderForValue)
[Output Only] Specifies values set for instance attributes as compared to the values requested by user in the corresponding input only field.
|
Instance.Builder |
setResourceStatus(ResourceStatus value)
[Output Only] Specifies values set for instance attributes as compared to the values requested by user in the corresponding input only field.
|
Instance.Builder |
setSatisfiesPzs(boolean value)
[Output Only] Reserved for future use.
|
Instance.Builder |
setScheduling(Scheduling.Builder builderForValue)
Sets the scheduling options for this instance.
|
Instance.Builder |
setScheduling(Scheduling value)
Sets the scheduling options for this instance.
|
Instance.Builder |
setSelfLink(String value)
[Output Only] Server-defined URL for this resource.
|
Instance.Builder |
setSelfLinkBytes(com.google.protobuf.ByteString value)
[Output Only] Server-defined URL for this resource.
|
Instance.Builder |
setServiceAccounts(int index,
ServiceAccount.Builder builderForValue)
A list of service accounts, with their specified scopes, authorized for this instance.
|
Instance.Builder |
setServiceAccounts(int index,
ServiceAccount value)
A list of service accounts, with their specified scopes, authorized for this instance.
|
Instance.Builder |
setShieldedInstanceConfig(ShieldedInstanceConfig.Builder builderForValue)
optional .google.cloud.compute.v1.ShieldedInstanceConfig shielded_instance_config = 12862901;
|
Instance.Builder |
setShieldedInstanceConfig(ShieldedInstanceConfig value)
optional .google.cloud.compute.v1.ShieldedInstanceConfig shielded_instance_config = 12862901;
|
Instance.Builder |
setShieldedInstanceIntegrityPolicy(ShieldedInstanceIntegrityPolicy.Builder builderForValue)
optional .google.cloud.compute.v1.ShieldedInstanceIntegrityPolicy shielded_instance_integrity_policy = 163696919;
|
Instance.Builder |
setShieldedInstanceIntegrityPolicy(ShieldedInstanceIntegrityPolicy value)
optional .google.cloud.compute.v1.ShieldedInstanceIntegrityPolicy shielded_instance_integrity_policy = 163696919;
|
Instance.Builder |
setSourceMachineImage(String value)
Source machine image
|
Instance.Builder |
setSourceMachineImageBytes(com.google.protobuf.ByteString value)
Source machine image
|
Instance.Builder |
setSourceMachineImageEncryptionKey(CustomerEncryptionKey.Builder builderForValue)
Source machine image encryption key when creating an instance from a machine image.
|
Instance.Builder |
setSourceMachineImageEncryptionKey(CustomerEncryptionKey value)
Source machine image encryption key when creating an instance from a machine image.
|
Instance.Builder |
setStartRestricted(boolean value)
[Output Only] Whether a VM has been restricted for start because Compute Engine has detected suspicious activity.
|
Instance.Builder |
setStatus(String value)
[Output Only] The status of the instance.
|
Instance.Builder |
setStatusBytes(com.google.protobuf.ByteString value)
[Output Only] The status of the instance.
|
Instance.Builder |
setStatusMessage(String value)
[Output Only] An optional, human-readable explanation of the status.
|
Instance.Builder |
setStatusMessageBytes(com.google.protobuf.ByteString value)
[Output Only] An optional, human-readable explanation of the status.
|
Instance.Builder |
setTags(Tags.Builder builderForValue)
Tags to apply to this instance.
|
Instance.Builder |
setTags(Tags value)
Tags to apply to this instance.
|
Instance.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Instance.Builder |
setZone(String value)
[Output Only] URL of the zone where the instance resides.
|
Instance.Builder |
setZoneBytes(com.google.protobuf.ByteString value)
[Output Only] URL of the zone where the instance resides.
|
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitfindInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.MapField internalGetMapField(int number)
internalGetMapField in class com.google.protobuf.GeneratedMessageV3.Builder<Instance.Builder>protected com.google.protobuf.MapField internalGetMutableMapField(int number)
internalGetMutableMapField in class com.google.protobuf.GeneratedMessageV3.Builder<Instance.Builder>protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<Instance.Builder>public Instance.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<Instance.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<Instance.Builder>public Instance getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic Instance build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic Instance buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic Instance.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<Instance.Builder>public Instance.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<Instance.Builder>public Instance.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<Instance.Builder>public Instance.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<Instance.Builder>public Instance.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Instance.Builder>public Instance.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Instance.Builder>public Instance.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<Instance.Builder>public Instance.Builder mergeFrom(Instance other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<Instance.Builder>public Instance.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<Instance.Builder>IOExceptionpublic boolean hasAdvancedMachineFeatures()
Controls for advanced machine-related behavior features.
optional .google.cloud.compute.v1.AdvancedMachineFeatures advanced_machine_features = 409646002;
hasAdvancedMachineFeatures in interface InstanceOrBuilderpublic AdvancedMachineFeatures getAdvancedMachineFeatures()
Controls for advanced machine-related behavior features.
optional .google.cloud.compute.v1.AdvancedMachineFeatures advanced_machine_features = 409646002;
getAdvancedMachineFeatures in interface InstanceOrBuilderpublic Instance.Builder setAdvancedMachineFeatures(AdvancedMachineFeatures value)
Controls for advanced machine-related behavior features.
optional .google.cloud.compute.v1.AdvancedMachineFeatures advanced_machine_features = 409646002;
public Instance.Builder setAdvancedMachineFeatures(AdvancedMachineFeatures.Builder builderForValue)
Controls for advanced machine-related behavior features.
optional .google.cloud.compute.v1.AdvancedMachineFeatures advanced_machine_features = 409646002;
public Instance.Builder mergeAdvancedMachineFeatures(AdvancedMachineFeatures value)
Controls for advanced machine-related behavior features.
optional .google.cloud.compute.v1.AdvancedMachineFeatures advanced_machine_features = 409646002;
public Instance.Builder clearAdvancedMachineFeatures()
Controls for advanced machine-related behavior features.
optional .google.cloud.compute.v1.AdvancedMachineFeatures advanced_machine_features = 409646002;
public AdvancedMachineFeatures.Builder getAdvancedMachineFeaturesBuilder()
Controls for advanced machine-related behavior features.
optional .google.cloud.compute.v1.AdvancedMachineFeatures advanced_machine_features = 409646002;
public AdvancedMachineFeaturesOrBuilder getAdvancedMachineFeaturesOrBuilder()
Controls for advanced machine-related behavior features.
optional .google.cloud.compute.v1.AdvancedMachineFeatures advanced_machine_features = 409646002;
getAdvancedMachineFeaturesOrBuilder in interface InstanceOrBuilderpublic boolean hasCanIpForward()
Allows this instance to send and receive packets with non-matching destination or source IPs. This is required if you plan to use this instance to forward routes. For more information, see Enabling IP Forwarding .
optional bool can_ip_forward = 467731324;hasCanIpForward in interface InstanceOrBuilderpublic 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, see Enabling IP Forwarding .
optional bool can_ip_forward = 467731324;getCanIpForward in interface InstanceOrBuilderpublic Instance.Builder setCanIpForward(boolean value)
Allows this instance to send and receive packets with non-matching destination or source IPs. This is required if you plan to use this instance to forward routes. For more information, see Enabling IP Forwarding .
optional bool can_ip_forward = 467731324;value - The canIpForward to set.public Instance.Builder 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, see Enabling IP Forwarding .
optional bool can_ip_forward = 467731324;public boolean hasConfidentialInstanceConfig()
optional .google.cloud.compute.v1.ConfidentialInstanceConfig confidential_instance_config = 490637685;
hasConfidentialInstanceConfig in interface InstanceOrBuilderpublic ConfidentialInstanceConfig getConfidentialInstanceConfig()
optional .google.cloud.compute.v1.ConfidentialInstanceConfig confidential_instance_config = 490637685;
getConfidentialInstanceConfig in interface InstanceOrBuilderpublic Instance.Builder setConfidentialInstanceConfig(ConfidentialInstanceConfig value)
optional .google.cloud.compute.v1.ConfidentialInstanceConfig confidential_instance_config = 490637685;
public Instance.Builder setConfidentialInstanceConfig(ConfidentialInstanceConfig.Builder builderForValue)
optional .google.cloud.compute.v1.ConfidentialInstanceConfig confidential_instance_config = 490637685;
public Instance.Builder mergeConfidentialInstanceConfig(ConfidentialInstanceConfig value)
optional .google.cloud.compute.v1.ConfidentialInstanceConfig confidential_instance_config = 490637685;
public Instance.Builder clearConfidentialInstanceConfig()
optional .google.cloud.compute.v1.ConfidentialInstanceConfig confidential_instance_config = 490637685;
public ConfidentialInstanceConfig.Builder getConfidentialInstanceConfigBuilder()
optional .google.cloud.compute.v1.ConfidentialInstanceConfig confidential_instance_config = 490637685;
public ConfidentialInstanceConfigOrBuilder getConfidentialInstanceConfigOrBuilder()
optional .google.cloud.compute.v1.ConfidentialInstanceConfig confidential_instance_config = 490637685;
getConfidentialInstanceConfigOrBuilder in interface InstanceOrBuilderpublic boolean hasCpuPlatform()
[Output Only] The CPU platform used by this instance.
optional string cpu_platform = 410285354;hasCpuPlatform in interface InstanceOrBuilderpublic String getCpuPlatform()
[Output Only] The CPU platform used by this instance.
optional string cpu_platform = 410285354;getCpuPlatform in interface InstanceOrBuilderpublic com.google.protobuf.ByteString getCpuPlatformBytes()
[Output Only] The CPU platform used by this instance.
optional string cpu_platform = 410285354;getCpuPlatformBytes in interface InstanceOrBuilderpublic Instance.Builder setCpuPlatform(String value)
[Output Only] The CPU platform used by this instance.
optional string cpu_platform = 410285354;value - The cpuPlatform to set.public Instance.Builder clearCpuPlatform()
[Output Only] The CPU platform used by this instance.
optional string cpu_platform = 410285354;public Instance.Builder setCpuPlatformBytes(com.google.protobuf.ByteString value)
[Output Only] The CPU platform used by this instance.
optional string cpu_platform = 410285354;value - The bytes for cpuPlatform to set.public boolean hasCreationTimestamp()
[Output Only] Creation timestamp in RFC3339 text format.
optional string creation_timestamp = 30525366;hasCreationTimestamp in interface InstanceOrBuilderpublic String getCreationTimestamp()
[Output Only] Creation timestamp in RFC3339 text format.
optional string creation_timestamp = 30525366;getCreationTimestamp in interface InstanceOrBuilderpublic com.google.protobuf.ByteString getCreationTimestampBytes()
[Output Only] Creation timestamp in RFC3339 text format.
optional string creation_timestamp = 30525366;getCreationTimestampBytes in interface InstanceOrBuilderpublic Instance.Builder setCreationTimestamp(String value)
[Output Only] Creation timestamp in RFC3339 text format.
optional string creation_timestamp = 30525366;value - The creationTimestamp to set.public Instance.Builder clearCreationTimestamp()
[Output Only] Creation timestamp in RFC3339 text format.
optional string creation_timestamp = 30525366;public Instance.Builder setCreationTimestampBytes(com.google.protobuf.ByteString value)
[Output Only] Creation timestamp in RFC3339 text format.
optional string creation_timestamp = 30525366;value - The bytes for creationTimestamp to set.public boolean hasDeletionProtection()
Whether the resource should be protected against deletion.
optional bool deletion_protection = 458014698;hasDeletionProtection in interface InstanceOrBuilderpublic boolean getDeletionProtection()
Whether the resource should be protected against deletion.
optional bool deletion_protection = 458014698;getDeletionProtection in interface InstanceOrBuilderpublic Instance.Builder setDeletionProtection(boolean value)
Whether the resource should be protected against deletion.
optional bool deletion_protection = 458014698;value - The deletionProtection to set.public Instance.Builder clearDeletionProtection()
Whether the resource should be protected against deletion.
optional bool deletion_protection = 458014698;public boolean hasDescription()
An optional description of this resource. Provide this property when you create the resource.
optional string description = 422937596;hasDescription in interface InstanceOrBuilderpublic String getDescription()
An optional description of this resource. Provide this property when you create the resource.
optional string description = 422937596;getDescription in interface InstanceOrBuilderpublic com.google.protobuf.ByteString getDescriptionBytes()
An optional description of this resource. Provide this property when you create the resource.
optional string description = 422937596;getDescriptionBytes in interface InstanceOrBuilderpublic Instance.Builder setDescription(String value)
An optional description of this resource. Provide this property when you create the resource.
optional string description = 422937596;value - The description to set.public Instance.Builder clearDescription()
An optional description of this resource. Provide this property when you create the resource.
optional string description = 422937596;public Instance.Builder setDescriptionBytes(com.google.protobuf.ByteString value)
An optional description of this resource. Provide this property when you create the resource.
optional string description = 422937596;value - The bytes for description to set.public List<AttachedDisk> 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;getDisksList in interface InstanceOrBuilderpublic 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;getDisksCount in interface InstanceOrBuilderpublic AttachedDisk getDisks(int index)
Array of disks associated with this instance. Persistent disks must be created before you can assign them.
repeated .google.cloud.compute.v1.AttachedDisk disks = 95594102;getDisks in interface InstanceOrBuilderpublic Instance.Builder setDisks(int index, AttachedDisk value)
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;public Instance.Builder setDisks(int index, AttachedDisk.Builder builderForValue)
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;public Instance.Builder addDisks(AttachedDisk value)
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;public Instance.Builder addDisks(int index, AttachedDisk value)
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;public Instance.Builder addDisks(AttachedDisk.Builder builderForValue)
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;public Instance.Builder addDisks(int index, AttachedDisk.Builder builderForValue)
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;public Instance.Builder addAllDisks(Iterable<? extends AttachedDisk> values)
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;public Instance.Builder 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;public Instance.Builder removeDisks(int index)
Array of disks associated with this instance. Persistent disks must be created before you can assign them.
repeated .google.cloud.compute.v1.AttachedDisk disks = 95594102;public AttachedDisk.Builder getDisksBuilder(int index)
Array of disks associated with this instance. Persistent disks must be created before you can assign them.
repeated .google.cloud.compute.v1.AttachedDisk disks = 95594102;public AttachedDiskOrBuilder getDisksOrBuilder(int index)
Array of disks associated with this instance. Persistent disks must be created before you can assign them.
repeated .google.cloud.compute.v1.AttachedDisk disks = 95594102;getDisksOrBuilder in interface InstanceOrBuilderpublic List<? extends AttachedDiskOrBuilder> getDisksOrBuilderList()
Array of disks associated with this instance. Persistent disks must be created before you can assign them.
repeated .google.cloud.compute.v1.AttachedDisk disks = 95594102;getDisksOrBuilderList in interface InstanceOrBuilderpublic AttachedDisk.Builder 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;public AttachedDisk.Builder addDisksBuilder(int index)
Array of disks associated with this instance. Persistent disks must be created before you can assign them.
repeated .google.cloud.compute.v1.AttachedDisk disks = 95594102;public List<AttachedDisk.Builder> 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;public boolean hasDisplayDevice()
Enables display device for the instance.
optional .google.cloud.compute.v1.DisplayDevice display_device = 258933875;hasDisplayDevice in interface InstanceOrBuilderpublic DisplayDevice getDisplayDevice()
Enables display device for the instance.
optional .google.cloud.compute.v1.DisplayDevice display_device = 258933875;getDisplayDevice in interface InstanceOrBuilderpublic Instance.Builder setDisplayDevice(DisplayDevice value)
Enables display device for the instance.
optional .google.cloud.compute.v1.DisplayDevice display_device = 258933875;public Instance.Builder setDisplayDevice(DisplayDevice.Builder builderForValue)
Enables display device for the instance.
optional .google.cloud.compute.v1.DisplayDevice display_device = 258933875;public Instance.Builder mergeDisplayDevice(DisplayDevice value)
Enables display device for the instance.
optional .google.cloud.compute.v1.DisplayDevice display_device = 258933875;public Instance.Builder clearDisplayDevice()
Enables display device for the instance.
optional .google.cloud.compute.v1.DisplayDevice display_device = 258933875;public DisplayDevice.Builder getDisplayDeviceBuilder()
Enables display device for the instance.
optional .google.cloud.compute.v1.DisplayDevice display_device = 258933875;public DisplayDeviceOrBuilder getDisplayDeviceOrBuilder()
Enables display device for the instance.
optional .google.cloud.compute.v1.DisplayDevice display_device = 258933875;getDisplayDeviceOrBuilder in interface InstanceOrBuilderpublic 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;hasFingerprint in interface InstanceOrBuilderpublic String getFingerprint()
Specifies a fingerprint for this resource, which is essentially a hash of the instance's contents and used for optimistic locking. The fingerprint is initially generated by Compute Engine and changes after every request to modify or update the instance. You must always provide an up-to-date fingerprint hash in order to update the instance. To see the latest fingerprint, make get() request to the instance.
optional string fingerprint = 234678500;getFingerprint in interface InstanceOrBuilderpublic 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;getFingerprintBytes in interface InstanceOrBuilderpublic Instance.Builder setFingerprint(String value)
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;value - The fingerprint to set.public Instance.Builder 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;public Instance.Builder 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. 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;value - The bytes for fingerprint to set.public List<AcceleratorConfig> getGuestAcceleratorsList()
A list of the type and count of accelerator cards attached to the instance.
repeated .google.cloud.compute.v1.AcceleratorConfig guest_accelerators = 463595119;
getGuestAcceleratorsList in interface InstanceOrBuilderpublic 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;
getGuestAcceleratorsCount in interface InstanceOrBuilderpublic AcceleratorConfig getGuestAccelerators(int index)
A list of the type and count of accelerator cards attached to the instance.
repeated .google.cloud.compute.v1.AcceleratorConfig guest_accelerators = 463595119;
getGuestAccelerators in interface InstanceOrBuilderpublic Instance.Builder setGuestAccelerators(int index, AcceleratorConfig value)
A list of the type and count of accelerator cards attached to the instance.
repeated .google.cloud.compute.v1.AcceleratorConfig guest_accelerators = 463595119;
public Instance.Builder setGuestAccelerators(int index, AcceleratorConfig.Builder builderForValue)
A list of the type and count of accelerator cards attached to the instance.
repeated .google.cloud.compute.v1.AcceleratorConfig guest_accelerators = 463595119;
public Instance.Builder addGuestAccelerators(AcceleratorConfig value)
A list of the type and count of accelerator cards attached to the instance.
repeated .google.cloud.compute.v1.AcceleratorConfig guest_accelerators = 463595119;
public Instance.Builder addGuestAccelerators(int index, AcceleratorConfig value)
A list of the type and count of accelerator cards attached to the instance.
repeated .google.cloud.compute.v1.AcceleratorConfig guest_accelerators = 463595119;
public Instance.Builder addGuestAccelerators(AcceleratorConfig.Builder builderForValue)
A list of the type and count of accelerator cards attached to the instance.
repeated .google.cloud.compute.v1.AcceleratorConfig guest_accelerators = 463595119;
public Instance.Builder addGuestAccelerators(int index, AcceleratorConfig.Builder builderForValue)
A list of the type and count of accelerator cards attached to the instance.
repeated .google.cloud.compute.v1.AcceleratorConfig guest_accelerators = 463595119;
public Instance.Builder addAllGuestAccelerators(Iterable<? extends AcceleratorConfig> values)
A list of the type and count of accelerator cards attached to the instance.
repeated .google.cloud.compute.v1.AcceleratorConfig guest_accelerators = 463595119;
public Instance.Builder clearGuestAccelerators()
A list of the type and count of accelerator cards attached to the instance.
repeated .google.cloud.compute.v1.AcceleratorConfig guest_accelerators = 463595119;
public Instance.Builder removeGuestAccelerators(int index)
A list of the type and count of accelerator cards attached to the instance.
repeated .google.cloud.compute.v1.AcceleratorConfig guest_accelerators = 463595119;
public AcceleratorConfig.Builder getGuestAcceleratorsBuilder(int index)
A list of the type and count of accelerator cards attached to the instance.
repeated .google.cloud.compute.v1.AcceleratorConfig guest_accelerators = 463595119;
public AcceleratorConfigOrBuilder getGuestAcceleratorsOrBuilder(int index)
A list of the type and count of accelerator cards attached to the instance.
repeated .google.cloud.compute.v1.AcceleratorConfig guest_accelerators = 463595119;
getGuestAcceleratorsOrBuilder in interface InstanceOrBuilderpublic List<? extends AcceleratorConfigOrBuilder> getGuestAcceleratorsOrBuilderList()
A list of the type and count of accelerator cards attached to the instance.
repeated .google.cloud.compute.v1.AcceleratorConfig guest_accelerators = 463595119;
getGuestAcceleratorsOrBuilderList in interface InstanceOrBuilderpublic AcceleratorConfig.Builder addGuestAcceleratorsBuilder()
A list of the type and count of accelerator cards attached to the instance.
repeated .google.cloud.compute.v1.AcceleratorConfig guest_accelerators = 463595119;
public AcceleratorConfig.Builder addGuestAcceleratorsBuilder(int index)
A list of the type and count of accelerator cards attached to the instance.
repeated .google.cloud.compute.v1.AcceleratorConfig guest_accelerators = 463595119;
public List<AcceleratorConfig.Builder> getGuestAcceleratorsBuilderList()
A list of the type and count of accelerator cards attached to the instance.
repeated .google.cloud.compute.v1.AcceleratorConfig guest_accelerators = 463595119;
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;hasHostname in interface InstanceOrBuilderpublic String getHostname()
Specifies the hostname of the instance. The specified hostname must be RFC1035 compliant. If hostname is not specified, the default hostname is [INSTANCE_NAME].c.[PROJECT_ID].internal when using the global DNS, and [INSTANCE_NAME].[ZONE].c.[PROJECT_ID].internal when using zonal DNS.
optional string hostname = 237067315;getHostname in interface InstanceOrBuilderpublic 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;getHostnameBytes in interface InstanceOrBuilderpublic Instance.Builder setHostname(String value)
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;value - The hostname to set.public Instance.Builder 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;public Instance.Builder setHostnameBytes(com.google.protobuf.ByteString value)
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;value - The bytes for hostname to set.public boolean hasId()
[Output Only] The unique identifier for the resource. This identifier is defined by the server.
optional uint64 id = 3355;hasId in interface InstanceOrBuilderpublic long getId()
[Output Only] The unique identifier for the resource. This identifier is defined by the server.
optional uint64 id = 3355;getId in interface InstanceOrBuilderpublic Instance.Builder setId(long value)
[Output Only] The unique identifier for the resource. This identifier is defined by the server.
optional uint64 id = 3355;value - The id to set.public Instance.Builder clearId()
[Output Only] The unique identifier for the resource. This identifier is defined by the server.
optional uint64 id = 3355;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;hasKeyRevocationActionType in interface InstanceOrBuilderpublic String getKeyRevocationActionType()
KeyRevocationActionType of the instance. Supported options are "STOP" and "NONE". The default value is "NONE" if it is not specified. Check the KeyRevocationActionType enum for the list of possible values.
optional string key_revocation_action_type = 235941474;getKeyRevocationActionType in interface InstanceOrBuilderpublic 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;getKeyRevocationActionTypeBytes in interface InstanceOrBuilderpublic Instance.Builder setKeyRevocationActionType(String value)
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;value - The keyRevocationActionType to set.public Instance.Builder 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;public Instance.Builder setKeyRevocationActionTypeBytes(com.google.protobuf.ByteString value)
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;value - The bytes for keyRevocationActionType to set.public boolean hasKind()
[Output Only] Type of the resource. Always compute#instance for instances.
optional string kind = 3292052;hasKind in interface InstanceOrBuilderpublic String getKind()
[Output Only] Type of the resource. Always compute#instance for instances.
optional string kind = 3292052;getKind in interface InstanceOrBuilderpublic com.google.protobuf.ByteString getKindBytes()
[Output Only] Type of the resource. Always compute#instance for instances.
optional string kind = 3292052;getKindBytes in interface InstanceOrBuilderpublic Instance.Builder setKind(String value)
[Output Only] Type of the resource. Always compute#instance for instances.
optional string kind = 3292052;value - The kind to set.public Instance.Builder clearKind()
[Output Only] Type of the resource. Always compute#instance for instances.
optional string kind = 3292052;public Instance.Builder setKindBytes(com.google.protobuf.ByteString value)
[Output Only] Type of the resource. Always compute#instance for instances.
optional string kind = 3292052;value - The bytes for kind to set.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;hasLabelFingerprint in interface InstanceOrBuilderpublic String getLabelFingerprint()
A fingerprint for this request, which is essentially a hash of the label's contents and used for optimistic locking. The fingerprint is initially generated by Compute Engine and changes after every request to modify or update labels. You must always provide an up-to-date fingerprint hash in order to update or change labels. To see the latest fingerprint, make get() request to the instance.
optional string label_fingerprint = 178124825;getLabelFingerprint in interface InstanceOrBuilderpublic 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;getLabelFingerprintBytes in interface InstanceOrBuilderpublic Instance.Builder setLabelFingerprint(String value)
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;value - The labelFingerprint to set.public Instance.Builder 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;public Instance.Builder 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. 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;value - The bytes for labelFingerprint to set.public int getLabelsCount()
InstanceOrBuilderLabels to apply to this instance. These can be later modified by the setLabels method.
map<string, string> labels = 500195327;getLabelsCount in interface InstanceOrBuilderpublic boolean containsLabels(String key)
Labels to apply to this instance. These can be later modified by the setLabels method.
map<string, string> labels = 500195327;containsLabels in interface InstanceOrBuilder@Deprecated public Map<String,String> getLabels()
getLabelsMap() instead.getLabels in interface InstanceOrBuilderpublic Map<String,String> getLabelsMap()
Labels to apply to this instance. These can be later modified by the setLabels method.
map<string, string> labels = 500195327;getLabelsMap in interface InstanceOrBuilderpublic String getLabelsOrDefault(String key, String defaultValue)
Labels to apply to this instance. These can be later modified by the setLabels method.
map<string, string> labels = 500195327;getLabelsOrDefault in interface InstanceOrBuilderpublic String getLabelsOrThrow(String key)
Labels to apply to this instance. These can be later modified by the setLabels method.
map<string, string> labels = 500195327;getLabelsOrThrow in interface InstanceOrBuilderpublic Instance.Builder clearLabels()
public Instance.Builder removeLabels(String key)
Labels to apply to this instance. These can be later modified by the setLabels method.
map<string, string> labels = 500195327;@Deprecated public Map<String,String> getMutableLabels()
public Instance.Builder putLabels(String key, String value)
Labels to apply to this instance. These can be later modified by the setLabels method.
map<string, string> labels = 500195327;public Instance.Builder putAllLabels(Map<String,String> values)
Labels to apply to this instance. These can be later modified by the setLabels method.
map<string, string> labels = 500195327;public boolean hasLastStartTimestamp()
[Output Only] Last start timestamp in RFC3339 text format.
optional string last_start_timestamp = 443830736;hasLastStartTimestamp in interface InstanceOrBuilderpublic String getLastStartTimestamp()
[Output Only] Last start timestamp in RFC3339 text format.
optional string last_start_timestamp = 443830736;getLastStartTimestamp in interface InstanceOrBuilderpublic com.google.protobuf.ByteString getLastStartTimestampBytes()
[Output Only] Last start timestamp in RFC3339 text format.
optional string last_start_timestamp = 443830736;getLastStartTimestampBytes in interface InstanceOrBuilderpublic Instance.Builder setLastStartTimestamp(String value)
[Output Only] Last start timestamp in RFC3339 text format.
optional string last_start_timestamp = 443830736;value - The lastStartTimestamp to set.public Instance.Builder clearLastStartTimestamp()
[Output Only] Last start timestamp in RFC3339 text format.
optional string last_start_timestamp = 443830736;public Instance.Builder setLastStartTimestampBytes(com.google.protobuf.ByteString value)
[Output Only] Last start timestamp in RFC3339 text format.
optional string last_start_timestamp = 443830736;value - The bytes for lastStartTimestamp to set.public boolean hasLastStopTimestamp()
[Output Only] Last stop timestamp in RFC3339 text format.
optional string last_stop_timestamp = 412823010;hasLastStopTimestamp in interface InstanceOrBuilderpublic String getLastStopTimestamp()
[Output Only] Last stop timestamp in RFC3339 text format.
optional string last_stop_timestamp = 412823010;getLastStopTimestamp in interface InstanceOrBuilderpublic com.google.protobuf.ByteString getLastStopTimestampBytes()
[Output Only] Last stop timestamp in RFC3339 text format.
optional string last_stop_timestamp = 412823010;getLastStopTimestampBytes in interface InstanceOrBuilderpublic Instance.Builder setLastStopTimestamp(String value)
[Output Only] Last stop timestamp in RFC3339 text format.
optional string last_stop_timestamp = 412823010;value - The lastStopTimestamp to set.public Instance.Builder clearLastStopTimestamp()
[Output Only] Last stop timestamp in RFC3339 text format.
optional string last_stop_timestamp = 412823010;public Instance.Builder setLastStopTimestampBytes(com.google.protobuf.ByteString value)
[Output Only] Last stop timestamp in RFC3339 text format.
optional string last_stop_timestamp = 412823010;value - The bytes for lastStopTimestamp to set.public boolean hasLastSuspendedTimestamp()
[Output Only] Last suspended timestamp in RFC3339 text format.
optional string last_suspended_timestamp = 356275337;hasLastSuspendedTimestamp in interface InstanceOrBuilderpublic String getLastSuspendedTimestamp()
[Output Only] Last suspended timestamp in RFC3339 text format.
optional string last_suspended_timestamp = 356275337;getLastSuspendedTimestamp in interface InstanceOrBuilderpublic com.google.protobuf.ByteString getLastSuspendedTimestampBytes()
[Output Only] Last suspended timestamp in RFC3339 text format.
optional string last_suspended_timestamp = 356275337;getLastSuspendedTimestampBytes in interface InstanceOrBuilderpublic Instance.Builder setLastSuspendedTimestamp(String value)
[Output Only] Last suspended timestamp in RFC3339 text format.
optional string last_suspended_timestamp = 356275337;value - The lastSuspendedTimestamp to set.public Instance.Builder clearLastSuspendedTimestamp()
[Output Only] Last suspended timestamp in RFC3339 text format.
optional string last_suspended_timestamp = 356275337;public Instance.Builder setLastSuspendedTimestampBytes(com.google.protobuf.ByteString value)
[Output Only] Last suspended timestamp in RFC3339 text format.
optional string last_suspended_timestamp = 356275337;value - The bytes for lastSuspendedTimestamp to set.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 a custom machine type, provide a URL to a machine type in the following format, where CPUS is 1 or an even number up to 32 (2, 4, 6, ... 24, etc), and MEMORY is the total memory for this instance. Memory must be a multiple of 256 MB and must be supplied in MB (e.g. 5 GB of memory is 5120 MB): zones/zone/machineTypes/custom-CPUS-MEMORY For example: zones/us-central1-f/machineTypes/custom-4-5120 For a full list of restrictions, read the Specifications for custom machine types.
optional string machine_type = 227711026;hasMachineType in interface InstanceOrBuilderpublic String getMachineType()
Full or partial URL of the machine type resource to use for this instance, in the format: zones/zone/machineTypes/machine-type. This is provided by the client when the instance is created. For example, the following is a valid partial url to a predefined machine type: zones/us-central1-f/machineTypes/n1-standard-1 To create a custom machine type, provide a URL to a machine type in the following format, where CPUS is 1 or an even number up to 32 (2, 4, 6, ... 24, etc), and MEMORY is the total memory for this instance. Memory must be a multiple of 256 MB and must be supplied in MB (e.g. 5 GB of memory is 5120 MB): zones/zone/machineTypes/custom-CPUS-MEMORY For example: zones/us-central1-f/machineTypes/custom-4-5120 For a full list of restrictions, read the Specifications for custom machine types.
optional string machine_type = 227711026;getMachineType in interface InstanceOrBuilderpublic 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 a custom machine type, provide a URL to a machine type in the following format, where CPUS is 1 or an even number up to 32 (2, 4, 6, ... 24, etc), and MEMORY is the total memory for this instance. Memory must be a multiple of 256 MB and must be supplied in MB (e.g. 5 GB of memory is 5120 MB): zones/zone/machineTypes/custom-CPUS-MEMORY For example: zones/us-central1-f/machineTypes/custom-4-5120 For a full list of restrictions, read the Specifications for custom machine types.
optional string machine_type = 227711026;getMachineTypeBytes in interface InstanceOrBuilderpublic Instance.Builder 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. This is provided by the client when the instance is created. For example, the following is a valid partial url to a predefined machine type: zones/us-central1-f/machineTypes/n1-standard-1 To create a custom machine type, provide a URL to a machine type in the following format, where CPUS is 1 or an even number up to 32 (2, 4, 6, ... 24, etc), and MEMORY is the total memory for this instance. Memory must be a multiple of 256 MB and must be supplied in MB (e.g. 5 GB of memory is 5120 MB): zones/zone/machineTypes/custom-CPUS-MEMORY For example: zones/us-central1-f/machineTypes/custom-4-5120 For a full list of restrictions, read the Specifications for custom machine types.
optional string machine_type = 227711026;value - The machineType to set.public Instance.Builder 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 a custom machine type, provide a URL to a machine type in the following format, where CPUS is 1 or an even number up to 32 (2, 4, 6, ... 24, etc), and MEMORY is the total memory for this instance. Memory must be a multiple of 256 MB and must be supplied in MB (e.g. 5 GB of memory is 5120 MB): zones/zone/machineTypes/custom-CPUS-MEMORY For example: zones/us-central1-f/machineTypes/custom-4-5120 For a full list of restrictions, read the Specifications for custom machine types.
optional string machine_type = 227711026;public Instance.Builder 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. This is provided by the client when the instance is created. For example, the following is a valid partial url to a predefined machine type: zones/us-central1-f/machineTypes/n1-standard-1 To create a custom machine type, provide a URL to a machine type in the following format, where CPUS is 1 or an even number up to 32 (2, 4, 6, ... 24, etc), and MEMORY is the total memory for this instance. Memory must be a multiple of 256 MB and must be supplied in MB (e.g. 5 GB of memory is 5120 MB): zones/zone/machineTypes/custom-CPUS-MEMORY For example: zones/us-central1-f/machineTypes/custom-4-5120 For a full list of restrictions, read the Specifications for custom machine types.
optional string machine_type = 227711026;value - The bytes for machineType to set.public boolean hasMetadata()
The metadata key/value pairs assigned to this instance. This includes custom metadata and predefined keys.
optional .google.cloud.compute.v1.Metadata metadata = 86866735;hasMetadata in interface InstanceOrBuilderpublic Metadata getMetadata()
The metadata key/value pairs assigned to this instance. This includes custom metadata and predefined keys.
optional .google.cloud.compute.v1.Metadata metadata = 86866735;getMetadata in interface InstanceOrBuilderpublic Instance.Builder setMetadata(Metadata value)
The metadata key/value pairs assigned to this instance. This includes custom metadata and predefined keys.
optional .google.cloud.compute.v1.Metadata metadata = 86866735;public Instance.Builder setMetadata(Metadata.Builder builderForValue)
The metadata key/value pairs assigned to this instance. This includes custom metadata and predefined keys.
optional .google.cloud.compute.v1.Metadata metadata = 86866735;public Instance.Builder mergeMetadata(Metadata value)
The metadata key/value pairs assigned to this instance. This includes custom metadata and predefined keys.
optional .google.cloud.compute.v1.Metadata metadata = 86866735;public Instance.Builder clearMetadata()
The metadata key/value pairs assigned to this instance. This includes custom metadata and predefined keys.
optional .google.cloud.compute.v1.Metadata metadata = 86866735;public Metadata.Builder getMetadataBuilder()
The metadata key/value pairs assigned to this instance. This includes custom metadata and predefined keys.
optional .google.cloud.compute.v1.Metadata metadata = 86866735;public MetadataOrBuilder getMetadataOrBuilder()
The metadata key/value pairs assigned to this instance. This includes custom metadata and predefined keys.
optional .google.cloud.compute.v1.Metadata metadata = 86866735;getMetadataOrBuilder in interface InstanceOrBuilderpublic boolean hasMinCpuPlatform()
Specifies a minimum CPU platform for the VM instance. Applicable values are the friendly names of CPU platforms, such as minCpuPlatform: "Intel Haswell" or minCpuPlatform: "Intel Sandy Bridge".
optional string min_cpu_platform = 242912759;hasMinCpuPlatform in interface InstanceOrBuilderpublic String getMinCpuPlatform()
Specifies a minimum CPU platform for the VM instance. Applicable values are the friendly names of CPU platforms, such as minCpuPlatform: "Intel Haswell" or minCpuPlatform: "Intel Sandy Bridge".
optional string min_cpu_platform = 242912759;getMinCpuPlatform in interface InstanceOrBuilderpublic com.google.protobuf.ByteString getMinCpuPlatformBytes()
Specifies a minimum CPU platform for the VM instance. Applicable values are the friendly names of CPU platforms, such as minCpuPlatform: "Intel Haswell" or minCpuPlatform: "Intel Sandy Bridge".
optional string min_cpu_platform = 242912759;getMinCpuPlatformBytes in interface InstanceOrBuilderpublic Instance.Builder setMinCpuPlatform(String value)
Specifies a minimum CPU platform for the VM instance. Applicable values are the friendly names of CPU platforms, such as minCpuPlatform: "Intel Haswell" or minCpuPlatform: "Intel Sandy Bridge".
optional string min_cpu_platform = 242912759;value - The minCpuPlatform to set.public Instance.Builder clearMinCpuPlatform()
Specifies a minimum CPU platform for the VM instance. Applicable values are the friendly names of CPU platforms, such as minCpuPlatform: "Intel Haswell" or minCpuPlatform: "Intel Sandy Bridge".
optional string min_cpu_platform = 242912759;public Instance.Builder setMinCpuPlatformBytes(com.google.protobuf.ByteString value)
Specifies a minimum CPU platform for the VM instance. Applicable values are the friendly names of CPU platforms, such as minCpuPlatform: "Intel Haswell" or minCpuPlatform: "Intel Sandy Bridge".
optional string min_cpu_platform = 242912759;value - The bytes for minCpuPlatform to set.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 with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.
optional string name = 3373707;hasName in interface InstanceOrBuilderpublic String getName()
The name of the resource, provided by the client when initially creating the resource. The resource name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.
optional string name = 3373707;getName in interface InstanceOrBuilderpublic 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 with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.
optional string name = 3373707;getNameBytes in interface InstanceOrBuilderpublic Instance.Builder setName(String value)
The name of the resource, provided by the client when initially creating the resource. The resource name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.
optional string name = 3373707;value - The name to set.public Instance.Builder 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 with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.
optional string name = 3373707;public Instance.Builder setNameBytes(com.google.protobuf.ByteString value)
The name of the resource, provided by the client when initially creating the resource. The resource name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.
optional string name = 3373707;value - The bytes for name to set.public List<NetworkInterface> 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;
getNetworkInterfacesList in interface InstanceOrBuilderpublic 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;
getNetworkInterfacesCount in interface InstanceOrBuilderpublic NetworkInterface getNetworkInterfaces(int index)
An array of network configurations for this instance. These specify how interfaces are configured to interact with other network services, such as connecting to the internet. Multiple interfaces are supported per instance.
repeated .google.cloud.compute.v1.NetworkInterface network_interfaces = 52735243;
getNetworkInterfaces in interface InstanceOrBuilderpublic Instance.Builder setNetworkInterfaces(int index, NetworkInterface value)
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;
public Instance.Builder setNetworkInterfaces(int index, NetworkInterface.Builder builderForValue)
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;
public Instance.Builder addNetworkInterfaces(NetworkInterface value)
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;
public Instance.Builder addNetworkInterfaces(int index, NetworkInterface value)
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;
public Instance.Builder addNetworkInterfaces(NetworkInterface.Builder builderForValue)
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;
public Instance.Builder addNetworkInterfaces(int index, NetworkInterface.Builder builderForValue)
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;
public Instance.Builder addAllNetworkInterfaces(Iterable<? extends NetworkInterface> values)
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;
public Instance.Builder 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;
public Instance.Builder removeNetworkInterfaces(int index)
An array of network configurations for this instance. These specify how interfaces are configured to interact with other network services, such as connecting to the internet. Multiple interfaces are supported per instance.
repeated .google.cloud.compute.v1.NetworkInterface network_interfaces = 52735243;
public NetworkInterface.Builder getNetworkInterfacesBuilder(int index)
An array of network configurations for this instance. These specify how interfaces are configured to interact with other network services, such as connecting to the internet. Multiple interfaces are supported per instance.
repeated .google.cloud.compute.v1.NetworkInterface network_interfaces = 52735243;
public NetworkInterfaceOrBuilder getNetworkInterfacesOrBuilder(int index)
An array of network configurations for this instance. These specify how interfaces are configured to interact with other network services, such as connecting to the internet. Multiple interfaces are supported per instance.
repeated .google.cloud.compute.v1.NetworkInterface network_interfaces = 52735243;
getNetworkInterfacesOrBuilder in interface InstanceOrBuilderpublic List<? extends NetworkInterfaceOrBuilder> getNetworkInterfacesOrBuilderList()
An array of network configurations for this instance. These specify how interfaces are configured to interact with other network services, such as connecting to the internet. Multiple interfaces are supported per instance.
repeated .google.cloud.compute.v1.NetworkInterface network_interfaces = 52735243;
getNetworkInterfacesOrBuilderList in interface InstanceOrBuilderpublic NetworkInterface.Builder 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;
public NetworkInterface.Builder addNetworkInterfacesBuilder(int index)
An array of network configurations for this instance. These specify how interfaces are configured to interact with other network services, such as connecting to the internet. Multiple interfaces are supported per instance.
repeated .google.cloud.compute.v1.NetworkInterface network_interfaces = 52735243;
public List<NetworkInterface.Builder> 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;
public boolean hasNetworkPerformanceConfig()
optional .google.cloud.compute.v1.NetworkPerformanceConfig network_performance_config = 398330850;
hasNetworkPerformanceConfig in interface InstanceOrBuilderpublic NetworkPerformanceConfig getNetworkPerformanceConfig()
optional .google.cloud.compute.v1.NetworkPerformanceConfig network_performance_config = 398330850;
getNetworkPerformanceConfig in interface InstanceOrBuilderpublic Instance.Builder setNetworkPerformanceConfig(NetworkPerformanceConfig value)
optional .google.cloud.compute.v1.NetworkPerformanceConfig network_performance_config = 398330850;
public Instance.Builder setNetworkPerformanceConfig(NetworkPerformanceConfig.Builder builderForValue)
optional .google.cloud.compute.v1.NetworkPerformanceConfig network_performance_config = 398330850;
public Instance.Builder mergeNetworkPerformanceConfig(NetworkPerformanceConfig value)
optional .google.cloud.compute.v1.NetworkPerformanceConfig network_performance_config = 398330850;
public Instance.Builder clearNetworkPerformanceConfig()
optional .google.cloud.compute.v1.NetworkPerformanceConfig network_performance_config = 398330850;
public NetworkPerformanceConfig.Builder getNetworkPerformanceConfigBuilder()
optional .google.cloud.compute.v1.NetworkPerformanceConfig network_performance_config = 398330850;
public NetworkPerformanceConfigOrBuilder getNetworkPerformanceConfigOrBuilder()
optional .google.cloud.compute.v1.NetworkPerformanceConfig network_performance_config = 398330850;
getNetworkPerformanceConfigOrBuilder in interface InstanceOrBuilderpublic 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;hasParams in interface InstanceOrBuilderpublic InstanceParams getParams()
Input only. [Input Only] Additional params passed with the request, but not persisted as part of resource payload.
optional .google.cloud.compute.v1.InstanceParams params = 78313862;getParams in interface InstanceOrBuilderpublic Instance.Builder setParams(InstanceParams value)
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;public Instance.Builder setParams(InstanceParams.Builder builderForValue)
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;public Instance.Builder mergeParams(InstanceParams value)
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;public Instance.Builder 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;public InstanceParams.Builder 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;public InstanceParamsOrBuilder 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;getParamsOrBuilder in interface InstanceOrBuilderpublic 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;hasPrivateIpv6GoogleAccess in interface InstanceOrBuilderpublic String getPrivateIpv6GoogleAccess()
The private IPv6 google access type for the VM. If not specified, use INHERIT_FROM_SUBNETWORK as default. Check the PrivateIpv6GoogleAccess enum for the list of possible values.
optional string private_ipv6_google_access = 48277006;getPrivateIpv6GoogleAccess in interface InstanceOrBuilderpublic 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;getPrivateIpv6GoogleAccessBytes in interface InstanceOrBuilderpublic Instance.Builder setPrivateIpv6GoogleAccess(String value)
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;value - The privateIpv6GoogleAccess to set.public Instance.Builder 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;public Instance.Builder setPrivateIpv6GoogleAccessBytes(com.google.protobuf.ByteString value)
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;value - The bytes for privateIpv6GoogleAccess to set.public boolean hasReservationAffinity()
Specifies the reservations that this instance can consume from.
optional .google.cloud.compute.v1.ReservationAffinity reservation_affinity = 157850683;
hasReservationAffinity in interface InstanceOrBuilderpublic ReservationAffinity getReservationAffinity()
Specifies the reservations that this instance can consume from.
optional .google.cloud.compute.v1.ReservationAffinity reservation_affinity = 157850683;
getReservationAffinity in interface InstanceOrBuilderpublic Instance.Builder setReservationAffinity(ReservationAffinity value)
Specifies the reservations that this instance can consume from.
optional .google.cloud.compute.v1.ReservationAffinity reservation_affinity = 157850683;
public Instance.Builder setReservationAffinity(ReservationAffinity.Builder builderForValue)
Specifies the reservations that this instance can consume from.
optional .google.cloud.compute.v1.ReservationAffinity reservation_affinity = 157850683;
public Instance.Builder mergeReservationAffinity(ReservationAffinity value)
Specifies the reservations that this instance can consume from.
optional .google.cloud.compute.v1.ReservationAffinity reservation_affinity = 157850683;
public Instance.Builder clearReservationAffinity()
Specifies the reservations that this instance can consume from.
optional .google.cloud.compute.v1.ReservationAffinity reservation_affinity = 157850683;
public ReservationAffinity.Builder getReservationAffinityBuilder()
Specifies the reservations that this instance can consume from.
optional .google.cloud.compute.v1.ReservationAffinity reservation_affinity = 157850683;
public ReservationAffinityOrBuilder getReservationAffinityOrBuilder()
Specifies the reservations that this instance can consume from.
optional .google.cloud.compute.v1.ReservationAffinity reservation_affinity = 157850683;
getReservationAffinityOrBuilder in interface InstanceOrBuilderpublic com.google.protobuf.ProtocolStringList getResourcePoliciesList()
Resource policies applied to this instance.
repeated string resource_policies = 22220385;getResourcePoliciesList in interface InstanceOrBuilderpublic int getResourcePoliciesCount()
Resource policies applied to this instance.
repeated string resource_policies = 22220385;getResourcePoliciesCount in interface InstanceOrBuilderpublic String getResourcePolicies(int index)
Resource policies applied to this instance.
repeated string resource_policies = 22220385;getResourcePolicies in interface InstanceOrBuilderindex - The index of the element to return.public com.google.protobuf.ByteString getResourcePoliciesBytes(int index)
Resource policies applied to this instance.
repeated string resource_policies = 22220385;getResourcePoliciesBytes in interface InstanceOrBuilderindex - The index of the value to return.public Instance.Builder setResourcePolicies(int index, String value)
Resource policies applied to this instance.
repeated string resource_policies = 22220385;index - The index to set the value at.value - The resourcePolicies to set.public Instance.Builder addResourcePolicies(String value)
Resource policies applied to this instance.
repeated string resource_policies = 22220385;value - The resourcePolicies to add.public Instance.Builder addAllResourcePolicies(Iterable<String> values)
Resource policies applied to this instance.
repeated string resource_policies = 22220385;values - The resourcePolicies to add.public Instance.Builder clearResourcePolicies()
Resource policies applied to this instance.
repeated string resource_policies = 22220385;public Instance.Builder addResourcePoliciesBytes(com.google.protobuf.ByteString value)
Resource policies applied to this instance.
repeated string resource_policies = 22220385;value - The bytes of the resourcePolicies to add.public boolean hasResourceStatus()
[Output Only] Specifies values set for instance attributes as compared to the values requested by user in the corresponding input only field.
optional .google.cloud.compute.v1.ResourceStatus resource_status = 249429315;hasResourceStatus in interface InstanceOrBuilderpublic ResourceStatus getResourceStatus()
[Output Only] Specifies values set for instance attributes as compared to the values requested by user in the corresponding input only field.
optional .google.cloud.compute.v1.ResourceStatus resource_status = 249429315;getResourceStatus in interface InstanceOrBuilderpublic Instance.Builder setResourceStatus(ResourceStatus value)
[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;public Instance.Builder setResourceStatus(ResourceStatus.Builder builderForValue)
[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;public Instance.Builder mergeResourceStatus(ResourceStatus value)
[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;public Instance.Builder clearResourceStatus()
[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;public ResourceStatus.Builder getResourceStatusBuilder()
[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;public ResourceStatusOrBuilder getResourceStatusOrBuilder()
[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 in interface InstanceOrBuilderpublic boolean hasSatisfiesPzs()
[Output Only] Reserved for future use.
optional bool satisfies_pzs = 480964267;hasSatisfiesPzs in interface InstanceOrBuilderpublic boolean getSatisfiesPzs()
[Output Only] Reserved for future use.
optional bool satisfies_pzs = 480964267;getSatisfiesPzs in interface InstanceOrBuilderpublic Instance.Builder setSatisfiesPzs(boolean value)
[Output Only] Reserved for future use.
optional bool satisfies_pzs = 480964267;value - The satisfiesPzs to set.public Instance.Builder clearSatisfiesPzs()
[Output Only] Reserved for future use.
optional bool satisfies_pzs = 480964267;public boolean hasScheduling()
Sets the scheduling options for this instance.
optional .google.cloud.compute.v1.Scheduling scheduling = 386688404;hasScheduling in interface InstanceOrBuilderpublic Scheduling getScheduling()
Sets the scheduling options for this instance.
optional .google.cloud.compute.v1.Scheduling scheduling = 386688404;getScheduling in interface InstanceOrBuilderpublic Instance.Builder setScheduling(Scheduling value)
Sets the scheduling options for this instance.
optional .google.cloud.compute.v1.Scheduling scheduling = 386688404;public Instance.Builder setScheduling(Scheduling.Builder builderForValue)
Sets the scheduling options for this instance.
optional .google.cloud.compute.v1.Scheduling scheduling = 386688404;public Instance.Builder mergeScheduling(Scheduling value)
Sets the scheduling options for this instance.
optional .google.cloud.compute.v1.Scheduling scheduling = 386688404;public Instance.Builder clearScheduling()
Sets the scheduling options for this instance.
optional .google.cloud.compute.v1.Scheduling scheduling = 386688404;public Scheduling.Builder getSchedulingBuilder()
Sets the scheduling options for this instance.
optional .google.cloud.compute.v1.Scheduling scheduling = 386688404;public SchedulingOrBuilder getSchedulingOrBuilder()
Sets the scheduling options for this instance.
optional .google.cloud.compute.v1.Scheduling scheduling = 386688404;getSchedulingOrBuilder in interface InstanceOrBuilderpublic boolean hasSelfLink()
[Output Only] Server-defined URL for this resource.
optional string self_link = 456214797;hasSelfLink in interface InstanceOrBuilderpublic String getSelfLink()
[Output Only] Server-defined URL for this resource.
optional string self_link = 456214797;getSelfLink in interface InstanceOrBuilderpublic com.google.protobuf.ByteString getSelfLinkBytes()
[Output Only] Server-defined URL for this resource.
optional string self_link = 456214797;getSelfLinkBytes in interface InstanceOrBuilderpublic Instance.Builder setSelfLink(String value)
[Output Only] Server-defined URL for this resource.
optional string self_link = 456214797;value - The selfLink to set.public Instance.Builder clearSelfLink()
[Output Only] Server-defined URL for this resource.
optional string self_link = 456214797;public Instance.Builder setSelfLinkBytes(com.google.protobuf.ByteString value)
[Output Only] Server-defined URL for this resource.
optional string self_link = 456214797;value - The bytes for selfLink to set.public List<ServiceAccount> getServiceAccountsList()
A list of service accounts, with their specified scopes, authorized for this instance. Only one service account per VM instance is supported. Service accounts generate access tokens that can be accessed through the metadata server and used to authenticate applications on the instance. See Service Accounts for more information.
repeated .google.cloud.compute.v1.ServiceAccount service_accounts = 277537328;getServiceAccountsList in interface InstanceOrBuilderpublic int getServiceAccountsCount()
A list of service accounts, with their specified scopes, authorized for this instance. Only one service account per VM instance is supported. Service accounts generate access tokens that can be accessed through the metadata server and used to authenticate applications on the instance. See Service Accounts for more information.
repeated .google.cloud.compute.v1.ServiceAccount service_accounts = 277537328;getServiceAccountsCount in interface InstanceOrBuilderpublic ServiceAccount getServiceAccounts(int index)
A list of service accounts, with their specified scopes, authorized for this instance. Only one service account per VM instance is supported. Service accounts generate access tokens that can be accessed through the metadata server and used to authenticate applications on the instance. See Service Accounts for more information.
repeated .google.cloud.compute.v1.ServiceAccount service_accounts = 277537328;getServiceAccounts in interface InstanceOrBuilderpublic Instance.Builder setServiceAccounts(int index, ServiceAccount value)
A list of service accounts, with their specified scopes, authorized for this instance. Only one service account per VM instance is supported. Service accounts generate access tokens that can be accessed through the metadata server and used to authenticate applications on the instance. See Service Accounts for more information.
repeated .google.cloud.compute.v1.ServiceAccount service_accounts = 277537328;public Instance.Builder setServiceAccounts(int index, ServiceAccount.Builder builderForValue)
A list of service accounts, with their specified scopes, authorized for this instance. Only one service account per VM instance is supported. Service accounts generate access tokens that can be accessed through the metadata server and used to authenticate applications on the instance. See Service Accounts for more information.
repeated .google.cloud.compute.v1.ServiceAccount service_accounts = 277537328;public Instance.Builder addServiceAccounts(ServiceAccount value)
A list of service accounts, with their specified scopes, authorized for this instance. Only one service account per VM instance is supported. Service accounts generate access tokens that can be accessed through the metadata server and used to authenticate applications on the instance. See Service Accounts for more information.
repeated .google.cloud.compute.v1.ServiceAccount service_accounts = 277537328;public Instance.Builder addServiceAccounts(int index, ServiceAccount value)
A list of service accounts, with their specified scopes, authorized for this instance. Only one service account per VM instance is supported. Service accounts generate access tokens that can be accessed through the metadata server and used to authenticate applications on the instance. See Service Accounts for more information.
repeated .google.cloud.compute.v1.ServiceAccount service_accounts = 277537328;public Instance.Builder addServiceAccounts(ServiceAccount.Builder builderForValue)
A list of service accounts, with their specified scopes, authorized for this instance. Only one service account per VM instance is supported. Service accounts generate access tokens that can be accessed through the metadata server and used to authenticate applications on the instance. See Service Accounts for more information.
repeated .google.cloud.compute.v1.ServiceAccount service_accounts = 277537328;public Instance.Builder addServiceAccounts(int index, ServiceAccount.Builder builderForValue)
A list of service accounts, with their specified scopes, authorized for this instance. Only one service account per VM instance is supported. Service accounts generate access tokens that can be accessed through the metadata server and used to authenticate applications on the instance. See Service Accounts for more information.
repeated .google.cloud.compute.v1.ServiceAccount service_accounts = 277537328;public Instance.Builder addAllServiceAccounts(Iterable<? extends ServiceAccount> values)
A list of service accounts, with their specified scopes, authorized for this instance. Only one service account per VM instance is supported. Service accounts generate access tokens that can be accessed through the metadata server and used to authenticate applications on the instance. See Service Accounts for more information.
repeated .google.cloud.compute.v1.ServiceAccount service_accounts = 277537328;public Instance.Builder 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. See Service Accounts for more information.
repeated .google.cloud.compute.v1.ServiceAccount service_accounts = 277537328;public Instance.Builder removeServiceAccounts(int index)
A list of service accounts, with their specified scopes, authorized for this instance. Only one service account per VM instance is supported. Service accounts generate access tokens that can be accessed through the metadata server and used to authenticate applications on the instance. See Service Accounts for more information.
repeated .google.cloud.compute.v1.ServiceAccount service_accounts = 277537328;public ServiceAccount.Builder getServiceAccountsBuilder(int index)
A list of service accounts, with their specified scopes, authorized for this instance. Only one service account per VM instance is supported. Service accounts generate access tokens that can be accessed through the metadata server and used to authenticate applications on the instance. See Service Accounts for more information.
repeated .google.cloud.compute.v1.ServiceAccount service_accounts = 277537328;public ServiceAccountOrBuilder getServiceAccountsOrBuilder(int index)
A list of service accounts, with their specified scopes, authorized for this instance. Only one service account per VM instance is supported. Service accounts generate access tokens that can be accessed through the metadata server and used to authenticate applications on the instance. See Service Accounts for more information.
repeated .google.cloud.compute.v1.ServiceAccount service_accounts = 277537328;getServiceAccountsOrBuilder in interface InstanceOrBuilderpublic List<? extends ServiceAccountOrBuilder> getServiceAccountsOrBuilderList()
A list of service accounts, with their specified scopes, authorized for this instance. Only one service account per VM instance is supported. Service accounts generate access tokens that can be accessed through the metadata server and used to authenticate applications on the instance. See Service Accounts for more information.
repeated .google.cloud.compute.v1.ServiceAccount service_accounts = 277537328;getServiceAccountsOrBuilderList in interface InstanceOrBuilderpublic ServiceAccount.Builder 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. See Service Accounts for more information.
repeated .google.cloud.compute.v1.ServiceAccount service_accounts = 277537328;public ServiceAccount.Builder addServiceAccountsBuilder(int index)
A list of service accounts, with their specified scopes, authorized for this instance. Only one service account per VM instance is supported. Service accounts generate access tokens that can be accessed through the metadata server and used to authenticate applications on the instance. See Service Accounts for more information.
repeated .google.cloud.compute.v1.ServiceAccount service_accounts = 277537328;public List<ServiceAccount.Builder> 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. See Service Accounts for more information.
repeated .google.cloud.compute.v1.ServiceAccount service_accounts = 277537328;public boolean hasShieldedInstanceConfig()
optional .google.cloud.compute.v1.ShieldedInstanceConfig shielded_instance_config = 12862901;
hasShieldedInstanceConfig in interface InstanceOrBuilderpublic ShieldedInstanceConfig getShieldedInstanceConfig()
optional .google.cloud.compute.v1.ShieldedInstanceConfig shielded_instance_config = 12862901;
getShieldedInstanceConfig in interface InstanceOrBuilderpublic Instance.Builder setShieldedInstanceConfig(ShieldedInstanceConfig value)
optional .google.cloud.compute.v1.ShieldedInstanceConfig shielded_instance_config = 12862901;
public Instance.Builder setShieldedInstanceConfig(ShieldedInstanceConfig.Builder builderForValue)
optional .google.cloud.compute.v1.ShieldedInstanceConfig shielded_instance_config = 12862901;
public Instance.Builder mergeShieldedInstanceConfig(ShieldedInstanceConfig value)
optional .google.cloud.compute.v1.ShieldedInstanceConfig shielded_instance_config = 12862901;
public Instance.Builder clearShieldedInstanceConfig()
optional .google.cloud.compute.v1.ShieldedInstanceConfig shielded_instance_config = 12862901;
public ShieldedInstanceConfig.Builder getShieldedInstanceConfigBuilder()
optional .google.cloud.compute.v1.ShieldedInstanceConfig shielded_instance_config = 12862901;
public ShieldedInstanceConfigOrBuilder getShieldedInstanceConfigOrBuilder()
optional .google.cloud.compute.v1.ShieldedInstanceConfig shielded_instance_config = 12862901;
getShieldedInstanceConfigOrBuilder in interface InstanceOrBuilderpublic boolean hasShieldedInstanceIntegrityPolicy()
optional .google.cloud.compute.v1.ShieldedInstanceIntegrityPolicy shielded_instance_integrity_policy = 163696919;
hasShieldedInstanceIntegrityPolicy in interface InstanceOrBuilderpublic ShieldedInstanceIntegrityPolicy getShieldedInstanceIntegrityPolicy()
optional .google.cloud.compute.v1.ShieldedInstanceIntegrityPolicy shielded_instance_integrity_policy = 163696919;
getShieldedInstanceIntegrityPolicy in interface InstanceOrBuilderpublic Instance.Builder setShieldedInstanceIntegrityPolicy(ShieldedInstanceIntegrityPolicy value)
optional .google.cloud.compute.v1.ShieldedInstanceIntegrityPolicy shielded_instance_integrity_policy = 163696919;
public Instance.Builder setShieldedInstanceIntegrityPolicy(ShieldedInstanceIntegrityPolicy.Builder builderForValue)
optional .google.cloud.compute.v1.ShieldedInstanceIntegrityPolicy shielded_instance_integrity_policy = 163696919;
public Instance.Builder mergeShieldedInstanceIntegrityPolicy(ShieldedInstanceIntegrityPolicy value)
optional .google.cloud.compute.v1.ShieldedInstanceIntegrityPolicy shielded_instance_integrity_policy = 163696919;
public Instance.Builder clearShieldedInstanceIntegrityPolicy()
optional .google.cloud.compute.v1.ShieldedInstanceIntegrityPolicy shielded_instance_integrity_policy = 163696919;
public ShieldedInstanceIntegrityPolicy.Builder getShieldedInstanceIntegrityPolicyBuilder()
optional .google.cloud.compute.v1.ShieldedInstanceIntegrityPolicy shielded_instance_integrity_policy = 163696919;
public ShieldedInstanceIntegrityPolicyOrBuilder getShieldedInstanceIntegrityPolicyOrBuilder()
optional .google.cloud.compute.v1.ShieldedInstanceIntegrityPolicy shielded_instance_integrity_policy = 163696919;
getShieldedInstanceIntegrityPolicyOrBuilder in interface InstanceOrBuilderpublic boolean hasSourceMachineImage()
Source machine image
optional string source_machine_image = 21769791;hasSourceMachineImage in interface InstanceOrBuilderpublic String getSourceMachineImage()
Source machine image
optional string source_machine_image = 21769791;getSourceMachineImage in interface InstanceOrBuilderpublic com.google.protobuf.ByteString getSourceMachineImageBytes()
Source machine image
optional string source_machine_image = 21769791;getSourceMachineImageBytes in interface InstanceOrBuilderpublic Instance.Builder setSourceMachineImage(String value)
Source machine image
optional string source_machine_image = 21769791;value - The sourceMachineImage to set.public Instance.Builder clearSourceMachineImage()
Source machine image
optional string source_machine_image = 21769791;public Instance.Builder setSourceMachineImageBytes(com.google.protobuf.ByteString value)
Source machine image
optional string source_machine_image = 21769791;value - The bytes for sourceMachineImage to set.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;
hasSourceMachineImageEncryptionKey in interface InstanceOrBuilderpublic CustomerEncryptionKey getSourceMachineImageEncryptionKey()
Source machine image encryption key when creating an instance from a machine image.
optional .google.cloud.compute.v1.CustomerEncryptionKey source_machine_image_encryption_key = 192839075;
getSourceMachineImageEncryptionKey in interface InstanceOrBuilderpublic Instance.Builder setSourceMachineImageEncryptionKey(CustomerEncryptionKey value)
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;
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;
public Instance.Builder mergeSourceMachineImageEncryptionKey(CustomerEncryptionKey value)
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;
public Instance.Builder 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;
public CustomerEncryptionKey.Builder 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;
public CustomerEncryptionKeyOrBuilder 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;
getSourceMachineImageEncryptionKeyOrBuilder in interface InstanceOrBuilderpublic boolean hasStartRestricted()
[Output Only] Whether a VM has been restricted for start because Compute Engine has detected suspicious activity.
optional bool start_restricted = 123693144;hasStartRestricted in interface InstanceOrBuilderpublic boolean getStartRestricted()
[Output Only] Whether a VM has been restricted for start because Compute Engine has detected suspicious activity.
optional bool start_restricted = 123693144;getStartRestricted in interface InstanceOrBuilderpublic Instance.Builder setStartRestricted(boolean value)
[Output Only] Whether a VM has been restricted for start because Compute Engine has detected suspicious activity.
optional bool start_restricted = 123693144;value - The startRestricted to set.public Instance.Builder clearStartRestricted()
[Output Only] Whether a VM has been restricted for start because Compute Engine has detected suspicious activity.
optional bool start_restricted = 123693144;public boolean hasStatus()
[Output Only] The status of the instance. One of the following values: PROVISIONING, STAGING, RUNNING, STOPPING, SUSPENDING, SUSPENDED, REPAIRING, and TERMINATED. For more information about the status of the instance, see Instance life cycle. Check the Status enum for the list of possible values.
optional string status = 181260274;hasStatus in interface InstanceOrBuilderpublic String getStatus()
[Output Only] The status of the instance. One of the following values: PROVISIONING, STAGING, RUNNING, STOPPING, SUSPENDING, SUSPENDED, REPAIRING, and TERMINATED. For more information about the status of the instance, see Instance life cycle. Check the Status enum for the list of possible values.
optional string status = 181260274;getStatus in interface InstanceOrBuilderpublic com.google.protobuf.ByteString getStatusBytes()
[Output Only] The status of the instance. One of the following values: PROVISIONING, STAGING, RUNNING, STOPPING, SUSPENDING, SUSPENDED, REPAIRING, and TERMINATED. For more information about the status of the instance, see Instance life cycle. Check the Status enum for the list of possible values.
optional string status = 181260274;getStatusBytes in interface InstanceOrBuilderpublic Instance.Builder setStatus(String value)
[Output Only] The status of the instance. One of the following values: PROVISIONING, STAGING, RUNNING, STOPPING, SUSPENDING, SUSPENDED, REPAIRING, and TERMINATED. For more information about the status of the instance, see Instance life cycle. Check the Status enum for the list of possible values.
optional string status = 181260274;value - The status to set.public Instance.Builder clearStatus()
[Output Only] The status of the instance. One of the following values: PROVISIONING, STAGING, RUNNING, STOPPING, SUSPENDING, SUSPENDED, REPAIRING, and TERMINATED. For more information about the status of the instance, see Instance life cycle. Check the Status enum for the list of possible values.
optional string status = 181260274;public Instance.Builder setStatusBytes(com.google.protobuf.ByteString value)
[Output Only] The status of the instance. One of the following values: PROVISIONING, STAGING, RUNNING, STOPPING, SUSPENDING, SUSPENDED, REPAIRING, and TERMINATED. For more information about the status of the instance, see Instance life cycle. Check the Status enum for the list of possible values.
optional string status = 181260274;value - The bytes for status to set.public boolean hasStatusMessage()
[Output Only] An optional, human-readable explanation of the status.
optional string status_message = 297428154;hasStatusMessage in interface InstanceOrBuilderpublic String getStatusMessage()
[Output Only] An optional, human-readable explanation of the status.
optional string status_message = 297428154;getStatusMessage in interface InstanceOrBuilderpublic com.google.protobuf.ByteString getStatusMessageBytes()
[Output Only] An optional, human-readable explanation of the status.
optional string status_message = 297428154;getStatusMessageBytes in interface InstanceOrBuilderpublic Instance.Builder setStatusMessage(String value)
[Output Only] An optional, human-readable explanation of the status.
optional string status_message = 297428154;value - The statusMessage to set.public Instance.Builder clearStatusMessage()
[Output Only] An optional, human-readable explanation of the status.
optional string status_message = 297428154;public Instance.Builder setStatusMessageBytes(com.google.protobuf.ByteString value)
[Output Only] An optional, human-readable explanation of the status.
optional string status_message = 297428154;value - The bytes for statusMessage to set.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 with RFC1035. Multiple tags can be specified via the 'tags.items' field.
optional .google.cloud.compute.v1.Tags tags = 3552281;hasTags in interface InstanceOrBuilderpublic Tags getTags()
Tags to apply to this instance. Tags are used to identify valid sources or targets for network firewalls and are specified by the client during instance creation. The tags can be later modified by the setTags method. Each tag within the list must comply with RFC1035. Multiple tags can be specified via the 'tags.items' field.
optional .google.cloud.compute.v1.Tags tags = 3552281;getTags in interface InstanceOrBuilderpublic Instance.Builder setTags(Tags value)
Tags to apply to this instance. Tags are used to identify valid sources or targets for network firewalls and are specified by the client during instance creation. The tags can be later modified by the setTags method. Each tag within the list must comply with RFC1035. Multiple tags can be specified via the 'tags.items' field.
optional .google.cloud.compute.v1.Tags tags = 3552281;public Instance.Builder setTags(Tags.Builder builderForValue)
Tags to apply to this instance. Tags are used to identify valid sources or targets for network firewalls and are specified by the client during instance creation. The tags can be later modified by the setTags method. Each tag within the list must comply with RFC1035. Multiple tags can be specified via the 'tags.items' field.
optional .google.cloud.compute.v1.Tags tags = 3552281;public Instance.Builder mergeTags(Tags value)
Tags to apply to this instance. Tags are used to identify valid sources or targets for network firewalls and are specified by the client during instance creation. The tags can be later modified by the setTags method. Each tag within the list must comply with RFC1035. Multiple tags can be specified via the 'tags.items' field.
optional .google.cloud.compute.v1.Tags tags = 3552281;public Instance.Builder 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 with RFC1035. Multiple tags can be specified via the 'tags.items' field.
optional .google.cloud.compute.v1.Tags tags = 3552281;public Tags.Builder 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 with RFC1035. Multiple tags can be specified via the 'tags.items' field.
optional .google.cloud.compute.v1.Tags tags = 3552281;public TagsOrBuilder 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 with RFC1035. Multiple tags can be specified via the 'tags.items' field.
optional .google.cloud.compute.v1.Tags tags = 3552281;getTagsOrBuilder in interface InstanceOrBuilderpublic boolean hasZone()
[Output Only] URL of the zone where the instance resides. You must specify this field as part of the HTTP request URL. It is not settable as a field in the request body.
optional string zone = 3744684;hasZone in interface InstanceOrBuilderpublic String getZone()
[Output Only] URL of the zone where the instance resides. You must specify this field as part of the HTTP request URL. It is not settable as a field in the request body.
optional string zone = 3744684;getZone in interface InstanceOrBuilderpublic com.google.protobuf.ByteString getZoneBytes()
[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;getZoneBytes in interface InstanceOrBuilderpublic Instance.Builder setZone(String value)
[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;value - The zone to set.public Instance.Builder clearZone()
[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;public Instance.Builder setZoneBytes(com.google.protobuf.ByteString value)
[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;value - The bytes for zone to set.public final Instance.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Instance.Builder>public final Instance.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Instance.Builder>Copyright © 2023 Google LLC. All rights reserved.