Package com.google.cloud.compute.v1
Class InstanceProperties.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<InstanceProperties.Builder>
com.google.cloud.compute.v1.InstanceProperties.Builder
- All Implemented Interfaces:
InstancePropertiesOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- InstanceProperties
public static final class InstanceProperties.Builder
extends com.google.protobuf.GeneratedMessage.Builder<InstanceProperties.Builder>
implements InstancePropertiesOrBuilder
Protobuf type
google.cloud.compute.v1.InstanceProperties-
Method Summary
Modifier and TypeMethodDescriptionaddAllDisks(Iterable<? extends AttachedDisk> values) An array of disks that are associated with the instances that are created from these properties.addAllGuestAccelerators(Iterable<? extends AcceleratorConfig> values) A list of guest accelerator cards' type and count to use for instances created from these properties.addAllNetworkInterfaces(Iterable<? extends NetworkInterface> values) An array of network access configurations for this interface.addAllResourcePolicies(Iterable<String> values) Resource policies (names, not URLs) applied to instances created from these properties.addAllServiceAccounts(Iterable<? extends ServiceAccount> values) A list of service accounts with specified scopes.addDisks(int index, AttachedDisk value) An array of disks that are associated with the instances that are created from these properties.addDisks(int index, AttachedDisk.Builder builderForValue) An array of disks that are associated with the instances that are created from these properties.addDisks(AttachedDisk value) An array of disks that are associated with the instances that are created from these properties.addDisks(AttachedDisk.Builder builderForValue) An array of disks that are associated with the instances that are created from these properties.An array of disks that are associated with the instances that are created from these properties.addDisksBuilder(int index) An array of disks that are associated with the instances that are created from these properties.addGuestAccelerators(int index, AcceleratorConfig value) A list of guest accelerator cards' type and count to use for instances created from these properties.addGuestAccelerators(int index, AcceleratorConfig.Builder builderForValue) A list of guest accelerator cards' type and count to use for instances created from these properties.A list of guest accelerator cards' type and count to use for instances created from these properties.addGuestAccelerators(AcceleratorConfig.Builder builderForValue) A list of guest accelerator cards' type and count to use for instances created from these properties.A list of guest accelerator cards' type and count to use for instances created from these properties.addGuestAcceleratorsBuilder(int index) A list of guest accelerator cards' type and count to use for instances created from these properties.addNetworkInterfaces(int index, NetworkInterface value) An array of network access configurations for this interface.addNetworkInterfaces(int index, NetworkInterface.Builder builderForValue) An array of network access configurations for this interface.An array of network access configurations for this interface.addNetworkInterfaces(NetworkInterface.Builder builderForValue) An array of network access configurations for this interface.An array of network access configurations for this interface.addNetworkInterfacesBuilder(int index) An array of network access configurations for this interface.addResourcePolicies(String value) Resource policies (names, not URLs) applied to instances created from these properties.addResourcePoliciesBytes(com.google.protobuf.ByteString value) Resource policies (names, not URLs) applied to instances created from these properties.addServiceAccounts(int index, ServiceAccount value) A list of service accounts with specified scopes.addServiceAccounts(int index, ServiceAccount.Builder builderForValue) A list of service accounts with specified scopes.addServiceAccounts(ServiceAccount value) A list of service accounts with specified scopes.addServiceAccounts(ServiceAccount.Builder builderForValue) A list of service accounts with specified scopes.A list of service accounts with specified scopes.addServiceAccountsBuilder(int index) A list of service accounts with specified scopes.build()clear()Controls for advanced machine-related behavior features.Enables instances created based on these properties to send packets with source IP addresses other than their own and receive packets with destination IP addresses other than their own.Specifies the Confidential Instance options.An optional text description for the instances that are created from these properties.An array of disks that are associated with the instances that are created from these properties.A list of guest accelerator cards' type and count to use for instances created from these properties.KeyRevocationActionType of the instance.The machine type to use for instances that are created from these properties.The metadata key/value pairs to assign to instances that are created from these properties.Minimum cpu/platform to be used by instances.An array of network access configurations for this interface.Note that for MachineImage, this is not supported yet.The private IPv6 google access type for VMs.Specifies the reservations that instances can consume from.Resource policies (names, not URLs) applied to instances created from these properties.Specifies the scheduling options for the instances that are created from these properties.A list of service accounts with specified scopes.Note that for MachineImage, this is not supported yet.A list of tags to apply to the instances that are created from these properties.optional .google.cloud.compute.v1.WorkloadIdentityConfig workload_identity_config = 338198811;booleancontainsLabels(String key) Labels to apply to instances that are created from these properties.booleanInput only.Controls for advanced machine-related behavior features.Controls for advanced machine-related behavior features.Controls for advanced machine-related behavior features.booleanEnables instances created based on these properties to send packets with source IP addresses other than their own and receive packets with destination IP addresses other than their own.Specifies the Confidential Instance options.Specifies the Confidential Instance options.Specifies the Confidential Instance options.An optional text description for the instances that are created from these properties.com.google.protobuf.ByteStringAn optional text description for the instances that are created from these properties.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorgetDisks(int index) An array of disks that are associated with the instances that are created from these properties.getDisksBuilder(int index) An array of disks that are associated with the instances that are created from these properties.An array of disks that are associated with the instances that are created from these properties.intAn array of disks that are associated with the instances that are created from these properties.An array of disks that are associated with the instances that are created from these properties.getDisksOrBuilder(int index) An array of disks that are associated with the instances that are created from these properties.List<? extends AttachedDiskOrBuilder>An array of disks that are associated with the instances that are created from these properties.getGuestAccelerators(int index) A list of guest accelerator cards' type and count to use for instances created from these properties.getGuestAcceleratorsBuilder(int index) A list of guest accelerator cards' type and count to use for instances created from these properties.A list of guest accelerator cards' type and count to use for instances created from these properties.intA list of guest accelerator cards' type and count to use for instances created from these properties.A list of guest accelerator cards' type and count to use for instances created from these properties.getGuestAcceleratorsOrBuilder(int index) A list of guest accelerator cards' type and count to use for instances created from these properties.List<? extends AcceleratorConfigOrBuilder>A list of guest accelerator cards' type and count to use for instances created from these properties.KeyRevocationActionType of the instance.com.google.protobuf.ByteStringKeyRevocationActionType of the instance.Deprecated.intLabels to apply to instances that are created from these properties.Labels to apply to instances that are created from these properties.getLabelsOrDefault(String key, String defaultValue) Labels to apply to instances that are created from these properties.getLabelsOrThrow(String key) Labels to apply to instances that are created from these properties.The machine type to use for instances that are created from these properties.com.google.protobuf.ByteStringThe machine type to use for instances that are created from these properties.The metadata key/value pairs to assign to instances that are created from these properties.The metadata key/value pairs to assign to instances that are created from these properties.The metadata key/value pairs to assign to instances that are created from these properties.Minimum cpu/platform to be used by instances.com.google.protobuf.ByteStringMinimum cpu/platform to be used by instances.Deprecated.Deprecated.getNetworkInterfaces(int index) An array of network access configurations for this interface.getNetworkInterfacesBuilder(int index) An array of network access configurations for this interface.An array of network access configurations for this interface.intAn array of network access configurations for this interface.An array of network access configurations for this interface.getNetworkInterfacesOrBuilder(int index) An array of network access configurations for this interface.List<? extends NetworkInterfaceOrBuilder>An array of network access configurations for this interface.Note that for MachineImage, this is not supported yet.Note that for MachineImage, this is not supported yet.Note that for MachineImage, this is not supported yet.The private IPv6 google access type for VMs.com.google.protobuf.ByteStringThe private IPv6 google access type for VMs.Specifies the reservations that instances can consume from.Specifies the reservations that instances can consume from.Specifies the reservations that instances can consume from.Deprecated.intInput only.Input only.getResourceManagerTagsOrDefault(String key, String defaultValue) Input only.Input only.getResourcePolicies(int index) Resource policies (names, not URLs) applied to instances created from these properties.com.google.protobuf.ByteStringgetResourcePoliciesBytes(int index) Resource policies (names, not URLs) applied to instances created from these properties.intResource policies (names, not URLs) applied to instances created from these properties.com.google.protobuf.ProtocolStringListResource policies (names, not URLs) applied to instances created from these properties.Specifies the scheduling options for the instances that are created from these properties.Specifies the scheduling options for the instances that are created from these properties.Specifies the scheduling options for the instances that are created from these properties.getServiceAccounts(int index) A list of service accounts with specified scopes.getServiceAccountsBuilder(int index) A list of service accounts with specified scopes.A list of service accounts with specified scopes.intA list of service accounts with specified scopes.A list of service accounts with specified scopes.getServiceAccountsOrBuilder(int index) A list of service accounts with specified scopes.List<? extends ServiceAccountOrBuilder>A list of service accounts with specified scopes.Note that for MachineImage, this is not supported yet.Note that for MachineImage, this is not supported yet.Note that for MachineImage, this is not supported yet.getTags()A list of tags to apply to the instances that are created from these properties.A list of tags to apply to the instances that are created from these properties.A list of tags to apply to the instances that are created from these properties.optional .google.cloud.compute.v1.WorkloadIdentityConfig workload_identity_config = 338198811;optional .google.cloud.compute.v1.WorkloadIdentityConfig workload_identity_config = 338198811;optional .google.cloud.compute.v1.WorkloadIdentityConfig workload_identity_config = 338198811;booleanControls for advanced machine-related behavior features.booleanEnables instances created based on these properties to send packets with source IP addresses other than their own and receive packets with destination IP addresses other than their own.booleanSpecifies the Confidential Instance options.booleanAn optional text description for the instances that are created from these properties.booleanKeyRevocationActionType of the instance.booleanThe machine type to use for instances that are created from these properties.booleanThe metadata key/value pairs to assign to instances that are created from these properties.booleanMinimum cpu/platform to be used by instances.booleanNote that for MachineImage, this is not supported yet.booleanThe private IPv6 google access type for VMs.booleanSpecifies the reservations that instances can consume from.booleanSpecifies the scheduling options for the instances that are created from these properties.booleanNote that for MachineImage, this is not supported yet.booleanhasTags()A list of tags to apply to the instances that are created from these properties.booleanoptional .google.cloud.compute.v1.WorkloadIdentityConfig workload_identity_config = 338198811;protected com.google.protobuf.GeneratedMessage.FieldAccessorTableprotected com.google.protobuf.MapFieldReflectionAccessorinternalGetMapFieldReflection(int number) protected com.google.protobuf.MapFieldReflectionAccessorinternalGetMutableMapFieldReflection(int number) final booleanControls for advanced machine-related behavior features.Specifies the Confidential Instance options.mergeFrom(InstanceProperties other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeMetadata(Metadata value) The metadata key/value pairs to assign to instances that are created from these properties.Note that for MachineImage, this is not supported yet.Specifies the reservations that instances can consume from.mergeScheduling(Scheduling value) Specifies the scheduling options for the instances that are created from these properties.Note that for MachineImage, this is not supported yet.A list of tags to apply to the instances that are created from these properties.optional .google.cloud.compute.v1.WorkloadIdentityConfig workload_identity_config = 338198811;putAllLabels(Map<String, String> values) Labels to apply to instances that are created from these properties.putAllResourceManagerTags(Map<String, String> values) Input only.Labels to apply to instances that are created from these properties.putResourceManagerTags(String key, String value) Input only.removeDisks(int index) An array of disks that are associated with the instances that are created from these properties.removeGuestAccelerators(int index) A list of guest accelerator cards' type and count to use for instances created from these properties.removeLabels(String key) Labels to apply to instances that are created from these properties.removeNetworkInterfaces(int index) An array of network access configurations for this interface.Input only.removeServiceAccounts(int index) A list of service accounts with specified scopes.Controls for advanced machine-related behavior features.setAdvancedMachineFeatures(AdvancedMachineFeatures.Builder builderForValue) Controls for advanced machine-related behavior features.setCanIpForward(boolean value) Enables instances created based on these properties to send packets with source IP addresses other than their own and receive packets with destination IP addresses other than their own.Specifies the Confidential Instance options.setConfidentialInstanceConfig(ConfidentialInstanceConfig.Builder builderForValue) Specifies the Confidential Instance options.setDescription(String value) An optional text description for the instances that are created from these properties.setDescriptionBytes(com.google.protobuf.ByteString value) An optional text description for the instances that are created from these properties.setDisks(int index, AttachedDisk value) An array of disks that are associated with the instances that are created from these properties.setDisks(int index, AttachedDisk.Builder builderForValue) An array of disks that are associated with the instances that are created from these properties.setGuestAccelerators(int index, AcceleratorConfig value) A list of guest accelerator cards' type and count to use for instances created from these properties.setGuestAccelerators(int index, AcceleratorConfig.Builder builderForValue) A list of guest accelerator cards' type and count to use for instances created from these properties.setKeyRevocationActionType(String value) KeyRevocationActionType of the instance.setKeyRevocationActionTypeBytes(com.google.protobuf.ByteString value) KeyRevocationActionType of the instance.setMachineType(String value) The machine type to use for instances that are created from these properties.setMachineTypeBytes(com.google.protobuf.ByteString value) The machine type to use for instances that are created from these properties.setMetadata(Metadata value) The metadata key/value pairs to assign to instances that are created from these properties.setMetadata(Metadata.Builder builderForValue) The metadata key/value pairs to assign to instances that are created from these properties.setMinCpuPlatform(String value) Minimum cpu/platform to be used by instances.setMinCpuPlatformBytes(com.google.protobuf.ByteString value) Minimum cpu/platform to be used by instances.setNetworkInterfaces(int index, NetworkInterface value) An array of network access configurations for this interface.setNetworkInterfaces(int index, NetworkInterface.Builder builderForValue) An array of network access configurations for this interface.Note that for MachineImage, this is not supported yet.setNetworkPerformanceConfig(NetworkPerformanceConfig.Builder builderForValue) Note that for MachineImage, this is not supported yet.setPrivateIpv6GoogleAccess(String value) The private IPv6 google access type for VMs.setPrivateIpv6GoogleAccessBytes(com.google.protobuf.ByteString value) The private IPv6 google access type for VMs.Specifies the reservations that instances can consume from.setReservationAffinity(ReservationAffinity.Builder builderForValue) Specifies the reservations that instances can consume from.setResourcePolicies(int index, String value) Resource policies (names, not URLs) applied to instances created from these properties.setScheduling(Scheduling value) Specifies the scheduling options for the instances that are created from these properties.setScheduling(Scheduling.Builder builderForValue) Specifies the scheduling options for the instances that are created from these properties.setServiceAccounts(int index, ServiceAccount value) A list of service accounts with specified scopes.setServiceAccounts(int index, ServiceAccount.Builder builderForValue) A list of service accounts with specified scopes.Note that for MachineImage, this is not supported yet.setShieldedInstanceConfig(ShieldedInstanceConfig.Builder builderForValue) Note that for MachineImage, this is not supported yet.A list of tags to apply to the instances that are created from these properties.setTags(Tags.Builder builderForValue) A list of tags to apply to the instances that are created from these properties.optional .google.cloud.compute.v1.WorkloadIdentityConfig workload_identity_config = 338198811;setWorkloadIdentityConfig(WorkloadIdentityConfig.Builder builderForValue) optional .google.cloud.compute.v1.WorkloadIdentityConfig workload_identity_config = 338198811;Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number) - Overrides:
internalGetMapFieldReflectionin classcom.google.protobuf.GeneratedMessage.Builder<InstanceProperties.Builder>
-
internalGetMutableMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number) - Overrides:
internalGetMutableMapFieldReflectionin classcom.google.protobuf.GeneratedMessage.Builder<InstanceProperties.Builder>
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<InstanceProperties.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<InstanceProperties.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<InstanceProperties.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<InstanceProperties.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<InstanceProperties.Builder>
-
mergeFrom
public InstanceProperties.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<InstanceProperties.Builder>- Throws:
IOException
-
hasAdvancedMachineFeatures
public boolean hasAdvancedMachineFeatures()Controls for advanced machine-related behavior features. Note that for MachineImage, this is not supported yet.
optional .google.cloud.compute.v1.AdvancedMachineFeatures advanced_machine_features = 409646002;- Specified by:
hasAdvancedMachineFeaturesin interfaceInstancePropertiesOrBuilder- Returns:
- Whether the advancedMachineFeatures field is set.
-
getAdvancedMachineFeatures
Controls for advanced machine-related behavior features. Note that for MachineImage, this is not supported yet.
optional .google.cloud.compute.v1.AdvancedMachineFeatures advanced_machine_features = 409646002;- Specified by:
getAdvancedMachineFeaturesin interfaceInstancePropertiesOrBuilder- Returns:
- The advancedMachineFeatures.
-
setAdvancedMachineFeatures
Controls for advanced machine-related behavior features. Note that for MachineImage, this is not supported yet.
optional .google.cloud.compute.v1.AdvancedMachineFeatures advanced_machine_features = 409646002; -
setAdvancedMachineFeatures
public InstanceProperties.Builder setAdvancedMachineFeatures(AdvancedMachineFeatures.Builder builderForValue) Controls for advanced machine-related behavior features. Note that for MachineImage, this is not supported yet.
optional .google.cloud.compute.v1.AdvancedMachineFeatures advanced_machine_features = 409646002; -
mergeAdvancedMachineFeatures
Controls for advanced machine-related behavior features. Note that for MachineImage, this is not supported yet.
optional .google.cloud.compute.v1.AdvancedMachineFeatures advanced_machine_features = 409646002; -
clearAdvancedMachineFeatures
Controls for advanced machine-related behavior features. Note that for MachineImage, this is not supported yet.
optional .google.cloud.compute.v1.AdvancedMachineFeatures advanced_machine_features = 409646002; -
getAdvancedMachineFeaturesBuilder
Controls for advanced machine-related behavior features. Note that for MachineImage, this is not supported yet.
optional .google.cloud.compute.v1.AdvancedMachineFeatures advanced_machine_features = 409646002; -
getAdvancedMachineFeaturesOrBuilder
Controls for advanced machine-related behavior features. Note that for MachineImage, this is not supported yet.
optional .google.cloud.compute.v1.AdvancedMachineFeatures advanced_machine_features = 409646002;- Specified by:
getAdvancedMachineFeaturesOrBuilderin interfaceInstancePropertiesOrBuilder
-
hasCanIpForward
public boolean hasCanIpForward()Enables instances created based on these properties to send packets with source IP addresses other than their own and receive packets with destination IP addresses other than their own. If these instances will be used as an IP gateway or it will be set as the next-hop in a Route resource, specify true. If unsure, leave this set tofalse. See theEnable IP forwarding documentation for more information.
optional bool can_ip_forward = 467731324;- Specified by:
hasCanIpForwardin interfaceInstancePropertiesOrBuilder- Returns:
- Whether the canIpForward field is set.
-
getCanIpForward
public boolean getCanIpForward()Enables instances created based on these properties to send packets with source IP addresses other than their own and receive packets with destination IP addresses other than their own. If these instances will be used as an IP gateway or it will be set as the next-hop in a Route resource, specify true. If unsure, leave this set tofalse. See theEnable IP forwarding documentation for more information.
optional bool can_ip_forward = 467731324;- Specified by:
getCanIpForwardin interfaceInstancePropertiesOrBuilder- Returns:
- The canIpForward.
-
setCanIpForward
Enables instances created based on these properties to send packets with source IP addresses other than their own and receive packets with destination IP addresses other than their own. If these instances will be used as an IP gateway or it will be set as the next-hop in a Route resource, specify true. If unsure, leave this set tofalse. See theEnable IP forwarding documentation for more information.
optional bool can_ip_forward = 467731324;- Parameters:
value- The canIpForward to set.- Returns:
- This builder for chaining.
-
clearCanIpForward
Enables instances created based on these properties to send packets with source IP addresses other than their own and receive packets with destination IP addresses other than their own. If these instances will be used as an IP gateway or it will be set as the next-hop in a Route resource, specify true. If unsure, leave this set tofalse. See theEnable IP forwarding documentation for more information.
optional bool can_ip_forward = 467731324;- Returns:
- This builder for chaining.
-
hasConfidentialInstanceConfig
public boolean hasConfidentialInstanceConfig()Specifies the Confidential Instance options. Note that for MachineImage, this is not supported yet.
optional .google.cloud.compute.v1.ConfidentialInstanceConfig confidential_instance_config = 490637685;- Specified by:
hasConfidentialInstanceConfigin interfaceInstancePropertiesOrBuilder- Returns:
- Whether the confidentialInstanceConfig field is set.
-
getConfidentialInstanceConfig
Specifies the Confidential Instance options. Note that for MachineImage, this is not supported yet.
optional .google.cloud.compute.v1.ConfidentialInstanceConfig confidential_instance_config = 490637685;- Specified by:
getConfidentialInstanceConfigin interfaceInstancePropertiesOrBuilder- Returns:
- The confidentialInstanceConfig.
-
setConfidentialInstanceConfig
Specifies the Confidential Instance options. Note that for MachineImage, this is not supported yet.
optional .google.cloud.compute.v1.ConfidentialInstanceConfig confidential_instance_config = 490637685; -
setConfidentialInstanceConfig
public InstanceProperties.Builder setConfidentialInstanceConfig(ConfidentialInstanceConfig.Builder builderForValue) Specifies the Confidential Instance options. Note that for MachineImage, this is not supported yet.
optional .google.cloud.compute.v1.ConfidentialInstanceConfig confidential_instance_config = 490637685; -
mergeConfidentialInstanceConfig
Specifies the Confidential Instance options. Note that for MachineImage, this is not supported yet.
optional .google.cloud.compute.v1.ConfidentialInstanceConfig confidential_instance_config = 490637685; -
clearConfidentialInstanceConfig
Specifies the Confidential Instance options. Note that for MachineImage, this is not supported yet.
optional .google.cloud.compute.v1.ConfidentialInstanceConfig confidential_instance_config = 490637685; -
getConfidentialInstanceConfigBuilder
Specifies the Confidential Instance options. Note that for MachineImage, this is not supported yet.
optional .google.cloud.compute.v1.ConfidentialInstanceConfig confidential_instance_config = 490637685; -
getConfidentialInstanceConfigOrBuilder
Specifies the Confidential Instance options. Note that for MachineImage, this is not supported yet.
optional .google.cloud.compute.v1.ConfidentialInstanceConfig confidential_instance_config = 490637685;- Specified by:
getConfidentialInstanceConfigOrBuilderin interfaceInstancePropertiesOrBuilder
-
hasDescription
public boolean hasDescription()An optional text description for the instances that are created from these properties.
optional string description = 422937596;- Specified by:
hasDescriptionin interfaceInstancePropertiesOrBuilder- Returns:
- Whether the description field is set.
-
getDescription
An optional text description for the instances that are created from these properties.
optional string description = 422937596;- Specified by:
getDescriptionin interfaceInstancePropertiesOrBuilder- Returns:
- The description.
-
getDescriptionBytes
public com.google.protobuf.ByteString getDescriptionBytes()An optional text description for the instances that are created from these properties.
optional string description = 422937596;- Specified by:
getDescriptionBytesin interfaceInstancePropertiesOrBuilder- Returns:
- The bytes for description.
-
setDescription
An optional text description for the instances that are created from these properties.
optional string description = 422937596;- Parameters:
value- The description to set.- Returns:
- This builder for chaining.
-
clearDescription
An optional text description for the instances that are created from these properties.
optional string description = 422937596;- Returns:
- This builder for chaining.
-
setDescriptionBytes
An optional text description for the instances that are created from these properties.
optional string description = 422937596;- Parameters:
value- The bytes for description to set.- Returns:
- This builder for chaining.
-
getDisksList
An array of disks that are associated with the instances that are created from these properties.
repeated .google.cloud.compute.v1.AttachedDisk disks = 95594102;- Specified by:
getDisksListin interfaceInstancePropertiesOrBuilder
-
getDisksCount
public int getDisksCount()An array of disks that are associated with the instances that are created from these properties.
repeated .google.cloud.compute.v1.AttachedDisk disks = 95594102;- Specified by:
getDisksCountin interfaceInstancePropertiesOrBuilder
-
getDisks
An array of disks that are associated with the instances that are created from these properties.
repeated .google.cloud.compute.v1.AttachedDisk disks = 95594102;- Specified by:
getDisksin interfaceInstancePropertiesOrBuilder
-
setDisks
An array of disks that are associated with the instances that are created from these properties.
repeated .google.cloud.compute.v1.AttachedDisk disks = 95594102; -
setDisks
An array of disks that are associated with the instances that are created from these properties.
repeated .google.cloud.compute.v1.AttachedDisk disks = 95594102; -
addDisks
An array of disks that are associated with the instances that are created from these properties.
repeated .google.cloud.compute.v1.AttachedDisk disks = 95594102; -
addDisks
An array of disks that are associated with the instances that are created from these properties.
repeated .google.cloud.compute.v1.AttachedDisk disks = 95594102; -
addDisks
An array of disks that are associated with the instances that are created from these properties.
repeated .google.cloud.compute.v1.AttachedDisk disks = 95594102; -
addDisks
An array of disks that are associated with the instances that are created from these properties.
repeated .google.cloud.compute.v1.AttachedDisk disks = 95594102; -
addAllDisks
An array of disks that are associated with the instances that are created from these properties.
repeated .google.cloud.compute.v1.AttachedDisk disks = 95594102; -
clearDisks
An array of disks that are associated with the instances that are created from these properties.
repeated .google.cloud.compute.v1.AttachedDisk disks = 95594102; -
removeDisks
An array of disks that are associated with the instances that are created from these properties.
repeated .google.cloud.compute.v1.AttachedDisk disks = 95594102; -
getDisksBuilder
An array of disks that are associated with the instances that are created from these properties.
repeated .google.cloud.compute.v1.AttachedDisk disks = 95594102; -
getDisksOrBuilder
An array of disks that are associated with the instances that are created from these properties.
repeated .google.cloud.compute.v1.AttachedDisk disks = 95594102;- Specified by:
getDisksOrBuilderin interfaceInstancePropertiesOrBuilder
-
getDisksOrBuilderList
An array of disks that are associated with the instances that are created from these properties.
repeated .google.cloud.compute.v1.AttachedDisk disks = 95594102;- Specified by:
getDisksOrBuilderListin interfaceInstancePropertiesOrBuilder
-
addDisksBuilder
An array of disks that are associated with the instances that are created from these properties.
repeated .google.cloud.compute.v1.AttachedDisk disks = 95594102; -
addDisksBuilder
An array of disks that are associated with the instances that are created from these properties.
repeated .google.cloud.compute.v1.AttachedDisk disks = 95594102; -
getDisksBuilderList
An array of disks that are associated with the instances that are created from these properties.
repeated .google.cloud.compute.v1.AttachedDisk disks = 95594102; -
getGuestAcceleratorsList
A list of guest accelerator cards' type and count to use for instances created from these properties.
repeated .google.cloud.compute.v1.AcceleratorConfig guest_accelerators = 463595119;- Specified by:
getGuestAcceleratorsListin interfaceInstancePropertiesOrBuilder
-
getGuestAcceleratorsCount
public int getGuestAcceleratorsCount()A list of guest accelerator cards' type and count to use for instances created from these properties.
repeated .google.cloud.compute.v1.AcceleratorConfig guest_accelerators = 463595119;- Specified by:
getGuestAcceleratorsCountin interfaceInstancePropertiesOrBuilder
-
getGuestAccelerators
A list of guest accelerator cards' type and count to use for instances created from these properties.
repeated .google.cloud.compute.v1.AcceleratorConfig guest_accelerators = 463595119;- Specified by:
getGuestAcceleratorsin interfaceInstancePropertiesOrBuilder
-
setGuestAccelerators
A list of guest accelerator cards' type and count to use for instances created from these properties.
repeated .google.cloud.compute.v1.AcceleratorConfig guest_accelerators = 463595119; -
setGuestAccelerators
public InstanceProperties.Builder setGuestAccelerators(int index, AcceleratorConfig.Builder builderForValue) A list of guest accelerator cards' type and count to use for instances created from these properties.
repeated .google.cloud.compute.v1.AcceleratorConfig guest_accelerators = 463595119; -
addGuestAccelerators
A list of guest accelerator cards' type and count to use for instances created from these properties.
repeated .google.cloud.compute.v1.AcceleratorConfig guest_accelerators = 463595119; -
addGuestAccelerators
A list of guest accelerator cards' type and count to use for instances created from these properties.
repeated .google.cloud.compute.v1.AcceleratorConfig guest_accelerators = 463595119; -
addGuestAccelerators
A list of guest accelerator cards' type and count to use for instances created from these properties.
repeated .google.cloud.compute.v1.AcceleratorConfig guest_accelerators = 463595119; -
addGuestAccelerators
public InstanceProperties.Builder addGuestAccelerators(int index, AcceleratorConfig.Builder builderForValue) A list of guest accelerator cards' type and count to use for instances created from these properties.
repeated .google.cloud.compute.v1.AcceleratorConfig guest_accelerators = 463595119; -
addAllGuestAccelerators
public InstanceProperties.Builder addAllGuestAccelerators(Iterable<? extends AcceleratorConfig> values) A list of guest accelerator cards' type and count to use for instances created from these properties.
repeated .google.cloud.compute.v1.AcceleratorConfig guest_accelerators = 463595119; -
clearGuestAccelerators
A list of guest accelerator cards' type and count to use for instances created from these properties.
repeated .google.cloud.compute.v1.AcceleratorConfig guest_accelerators = 463595119; -
removeGuestAccelerators
A list of guest accelerator cards' type and count to use for instances created from these properties.
repeated .google.cloud.compute.v1.AcceleratorConfig guest_accelerators = 463595119; -
getGuestAcceleratorsBuilder
A list of guest accelerator cards' type and count to use for instances created from these properties.
repeated .google.cloud.compute.v1.AcceleratorConfig guest_accelerators = 463595119; -
getGuestAcceleratorsOrBuilder
A list of guest accelerator cards' type and count to use for instances created from these properties.
repeated .google.cloud.compute.v1.AcceleratorConfig guest_accelerators = 463595119;- Specified by:
getGuestAcceleratorsOrBuilderin interfaceInstancePropertiesOrBuilder
-
getGuestAcceleratorsOrBuilderList
A list of guest accelerator cards' type and count to use for instances created from these properties.
repeated .google.cloud.compute.v1.AcceleratorConfig guest_accelerators = 463595119;- Specified by:
getGuestAcceleratorsOrBuilderListin interfaceInstancePropertiesOrBuilder
-
addGuestAcceleratorsBuilder
A list of guest accelerator cards' type and count to use for instances created from these properties.
repeated .google.cloud.compute.v1.AcceleratorConfig guest_accelerators = 463595119; -
addGuestAcceleratorsBuilder
A list of guest accelerator cards' type and count to use for instances created from these properties.
repeated .google.cloud.compute.v1.AcceleratorConfig guest_accelerators = 463595119; -
getGuestAcceleratorsBuilderList
A list of guest accelerator cards' type and count to use for instances created from these properties.
repeated .google.cloud.compute.v1.AcceleratorConfig guest_accelerators = 463595119; -
hasKeyRevocationActionType
public boolean hasKeyRevocationActionType()KeyRevocationActionType of the instance. Supported options are "STOP" and "NONE". The default value is "NONE" if it is not specified. Check the KeyRevocationActionType enum for the list of possible values.
optional string key_revocation_action_type = 235941474;- Specified by:
hasKeyRevocationActionTypein interfaceInstancePropertiesOrBuilder- Returns:
- Whether the keyRevocationActionType field is set.
-
getKeyRevocationActionType
KeyRevocationActionType of the instance. Supported options are "STOP" and "NONE". The default value is "NONE" if it is not specified. Check the KeyRevocationActionType enum for the list of possible values.
optional string key_revocation_action_type = 235941474;- Specified by:
getKeyRevocationActionTypein interfaceInstancePropertiesOrBuilder- Returns:
- The keyRevocationActionType.
-
getKeyRevocationActionTypeBytes
public com.google.protobuf.ByteString getKeyRevocationActionTypeBytes()KeyRevocationActionType of the instance. Supported options are "STOP" and "NONE". The default value is "NONE" if it is not specified. Check the KeyRevocationActionType enum for the list of possible values.
optional string key_revocation_action_type = 235941474;- Specified by:
getKeyRevocationActionTypeBytesin interfaceInstancePropertiesOrBuilder- Returns:
- The bytes for keyRevocationActionType.
-
setKeyRevocationActionType
KeyRevocationActionType of the instance. Supported options are "STOP" and "NONE". The default value is "NONE" if it is not specified. Check the KeyRevocationActionType enum for the list of possible values.
optional string key_revocation_action_type = 235941474;- Parameters:
value- The keyRevocationActionType to set.- Returns:
- This builder for chaining.
-
clearKeyRevocationActionType
KeyRevocationActionType of the instance. Supported options are "STOP" and "NONE". The default value is "NONE" if it is not specified. Check the KeyRevocationActionType enum for the list of possible values.
optional string key_revocation_action_type = 235941474;- Returns:
- This builder for chaining.
-
setKeyRevocationActionTypeBytes
public InstanceProperties.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;- Parameters:
value- The bytes for keyRevocationActionType to set.- Returns:
- This builder for chaining.
-
getLabelsCount
public int getLabelsCount()Description copied from interface:InstancePropertiesOrBuilderLabels to apply to instances that are created from these properties.
map<string, string> labels = 500195327;- Specified by:
getLabelsCountin interfaceInstancePropertiesOrBuilder
-
containsLabels
Labels to apply to instances that are created from these properties.
map<string, string> labels = 500195327;- Specified by:
containsLabelsin interfaceInstancePropertiesOrBuilder
-
getLabels
Deprecated.UsegetLabelsMap()instead.- Specified by:
getLabelsin interfaceInstancePropertiesOrBuilder
-
getLabelsMap
Labels to apply to instances that are created from these properties.
map<string, string> labels = 500195327;- Specified by:
getLabelsMapin interfaceInstancePropertiesOrBuilder
-
getLabelsOrDefault
Labels to apply to instances that are created from these properties.
map<string, string> labels = 500195327;- Specified by:
getLabelsOrDefaultin interfaceInstancePropertiesOrBuilder
-
getLabelsOrThrow
Labels to apply to instances that are created from these properties.
map<string, string> labels = 500195327;- Specified by:
getLabelsOrThrowin interfaceInstancePropertiesOrBuilder
-
clearLabels
-
removeLabels
Labels to apply to instances that are created from these properties.
map<string, string> labels = 500195327; -
getMutableLabels
Deprecated.Use alternate mutation accessors instead. -
putLabels
Labels to apply to instances that are created from these properties.
map<string, string> labels = 500195327; -
putAllLabels
Labels to apply to instances that are created from these properties.
map<string, string> labels = 500195327; -
hasMachineType
public boolean hasMachineType()The machine type to use for instances that are created from these properties. This field only accepts a machine type name, for example `n2-standard-4`. If you use the machine type full or partial URL, for example `projects/my-l7ilb-project/zones/us-central1-a/machineTypes/n2-standard-4`, the request will result in an `INTERNAL_ERROR`.
optional string machine_type = 227711026;- Specified by:
hasMachineTypein interfaceInstancePropertiesOrBuilder- Returns:
- Whether the machineType field is set.
-
getMachineType
The machine type to use for instances that are created from these properties. This field only accepts a machine type name, for example `n2-standard-4`. If you use the machine type full or partial URL, for example `projects/my-l7ilb-project/zones/us-central1-a/machineTypes/n2-standard-4`, the request will result in an `INTERNAL_ERROR`.
optional string machine_type = 227711026;- Specified by:
getMachineTypein interfaceInstancePropertiesOrBuilder- Returns:
- The machineType.
-
getMachineTypeBytes
public com.google.protobuf.ByteString getMachineTypeBytes()The machine type to use for instances that are created from these properties. This field only accepts a machine type name, for example `n2-standard-4`. If you use the machine type full or partial URL, for example `projects/my-l7ilb-project/zones/us-central1-a/machineTypes/n2-standard-4`, the request will result in an `INTERNAL_ERROR`.
optional string machine_type = 227711026;- Specified by:
getMachineTypeBytesin interfaceInstancePropertiesOrBuilder- Returns:
- The bytes for machineType.
-
setMachineType
The machine type to use for instances that are created from these properties. This field only accepts a machine type name, for example `n2-standard-4`. If you use the machine type full or partial URL, for example `projects/my-l7ilb-project/zones/us-central1-a/machineTypes/n2-standard-4`, the request will result in an `INTERNAL_ERROR`.
optional string machine_type = 227711026;- Parameters:
value- The machineType to set.- Returns:
- This builder for chaining.
-
clearMachineType
The machine type to use for instances that are created from these properties. This field only accepts a machine type name, for example `n2-standard-4`. If you use the machine type full or partial URL, for example `projects/my-l7ilb-project/zones/us-central1-a/machineTypes/n2-standard-4`, the request will result in an `INTERNAL_ERROR`.
optional string machine_type = 227711026;- Returns:
- This builder for chaining.
-
setMachineTypeBytes
The machine type to use for instances that are created from these properties. This field only accepts a machine type name, for example `n2-standard-4`. If you use the machine type full or partial URL, for example `projects/my-l7ilb-project/zones/us-central1-a/machineTypes/n2-standard-4`, the request will result in an `INTERNAL_ERROR`.
optional string machine_type = 227711026;- Parameters:
value- The bytes for machineType to set.- Returns:
- This builder for chaining.
-
hasMetadata
public boolean hasMetadata()The metadata key/value pairs to assign to instances that are created from these properties. These pairs can consist of custom metadata or predefined keys. SeeProject and instance metadata for more information.
optional .google.cloud.compute.v1.Metadata metadata = 86866735;- Specified by:
hasMetadatain interfaceInstancePropertiesOrBuilder- Returns:
- Whether the metadata field is set.
-
getMetadata
The metadata key/value pairs to assign to instances that are created from these properties. These pairs can consist of custom metadata or predefined keys. SeeProject and instance metadata for more information.
optional .google.cloud.compute.v1.Metadata metadata = 86866735;- Specified by:
getMetadatain interfaceInstancePropertiesOrBuilder- Returns:
- The metadata.
-
setMetadata
The metadata key/value pairs to assign to instances that are created from these properties. These pairs can consist of custom metadata or predefined keys. SeeProject and instance metadata for more information.
optional .google.cloud.compute.v1.Metadata metadata = 86866735; -
setMetadata
The metadata key/value pairs to assign to instances that are created from these properties. These pairs can consist of custom metadata or predefined keys. SeeProject and instance metadata for more information.
optional .google.cloud.compute.v1.Metadata metadata = 86866735; -
mergeMetadata
The metadata key/value pairs to assign to instances that are created from these properties. These pairs can consist of custom metadata or predefined keys. SeeProject and instance metadata for more information.
optional .google.cloud.compute.v1.Metadata metadata = 86866735; -
clearMetadata
The metadata key/value pairs to assign to instances that are created from these properties. These pairs can consist of custom metadata or predefined keys. SeeProject and instance metadata for more information.
optional .google.cloud.compute.v1.Metadata metadata = 86866735; -
getMetadataBuilder
The metadata key/value pairs to assign to instances that are created from these properties. These pairs can consist of custom metadata or predefined keys. SeeProject and instance metadata for more information.
optional .google.cloud.compute.v1.Metadata metadata = 86866735; -
getMetadataOrBuilder
The metadata key/value pairs to assign to instances that are created from these properties. These pairs can consist of custom metadata or predefined keys. SeeProject and instance metadata for more information.
optional .google.cloud.compute.v1.Metadata metadata = 86866735;- Specified by:
getMetadataOrBuilderin interfaceInstancePropertiesOrBuilder
-
hasMinCpuPlatform
public boolean hasMinCpuPlatform()Minimum cpu/platform to be used by instances. The instance may be scheduled on the specified or newer cpu/platform. Applicable values are the friendly names of CPU platforms, such asminCpuPlatform: "Intel Haswell" orminCpuPlatform: "Intel Sandy Bridge". For more information, read Specifying a Minimum CPU Platform.
optional string min_cpu_platform = 242912759;- Specified by:
hasMinCpuPlatformin interfaceInstancePropertiesOrBuilder- Returns:
- Whether the minCpuPlatform field is set.
-
getMinCpuPlatform
Minimum cpu/platform to be used by instances. The instance may be scheduled on the specified or newer cpu/platform. Applicable values are the friendly names of CPU platforms, such asminCpuPlatform: "Intel Haswell" orminCpuPlatform: "Intel Sandy Bridge". For more information, read Specifying a Minimum CPU Platform.
optional string min_cpu_platform = 242912759;- Specified by:
getMinCpuPlatformin interfaceInstancePropertiesOrBuilder- Returns:
- The minCpuPlatform.
-
getMinCpuPlatformBytes
public com.google.protobuf.ByteString getMinCpuPlatformBytes()Minimum cpu/platform to be used by instances. The instance may be scheduled on the specified or newer cpu/platform. Applicable values are the friendly names of CPU platforms, such asminCpuPlatform: "Intel Haswell" orminCpuPlatform: "Intel Sandy Bridge". For more information, read Specifying a Minimum CPU Platform.
optional string min_cpu_platform = 242912759;- Specified by:
getMinCpuPlatformBytesin interfaceInstancePropertiesOrBuilder- Returns:
- The bytes for minCpuPlatform.
-
setMinCpuPlatform
Minimum cpu/platform to be used by instances. The instance may be scheduled on the specified or newer cpu/platform. Applicable values are the friendly names of CPU platforms, such asminCpuPlatform: "Intel Haswell" orminCpuPlatform: "Intel Sandy Bridge". For more information, read Specifying a Minimum CPU Platform.
optional string min_cpu_platform = 242912759;- Parameters:
value- The minCpuPlatform to set.- Returns:
- This builder for chaining.
-
clearMinCpuPlatform
Minimum cpu/platform to be used by instances. The instance may be scheduled on the specified or newer cpu/platform. Applicable values are the friendly names of CPU platforms, such asminCpuPlatform: "Intel Haswell" orminCpuPlatform: "Intel Sandy Bridge". For more information, read Specifying a Minimum CPU Platform.
optional string min_cpu_platform = 242912759;- Returns:
- This builder for chaining.
-
setMinCpuPlatformBytes
Minimum cpu/platform to be used by instances. The instance may be scheduled on the specified or newer cpu/platform. Applicable values are the friendly names of CPU platforms, such asminCpuPlatform: "Intel Haswell" orminCpuPlatform: "Intel Sandy Bridge". For more information, read Specifying a Minimum CPU Platform.
optional string min_cpu_platform = 242912759;- Parameters:
value- The bytes for minCpuPlatform to set.- Returns:
- This builder for chaining.
-
getNetworkInterfacesList
An array of network access configurations for this interface.
repeated .google.cloud.compute.v1.NetworkInterface network_interfaces = 52735243;- Specified by:
getNetworkInterfacesListin interfaceInstancePropertiesOrBuilder
-
getNetworkInterfacesCount
public int getNetworkInterfacesCount()An array of network access configurations for this interface.
repeated .google.cloud.compute.v1.NetworkInterface network_interfaces = 52735243;- Specified by:
getNetworkInterfacesCountin interfaceInstancePropertiesOrBuilder
-
getNetworkInterfaces
An array of network access configurations for this interface.
repeated .google.cloud.compute.v1.NetworkInterface network_interfaces = 52735243;- Specified by:
getNetworkInterfacesin interfaceInstancePropertiesOrBuilder
-
setNetworkInterfaces
An array of network access configurations for this interface.
repeated .google.cloud.compute.v1.NetworkInterface network_interfaces = 52735243; -
setNetworkInterfaces
public InstanceProperties.Builder setNetworkInterfaces(int index, NetworkInterface.Builder builderForValue) An array of network access configurations for this interface.
repeated .google.cloud.compute.v1.NetworkInterface network_interfaces = 52735243; -
addNetworkInterfaces
An array of network access configurations for this interface.
repeated .google.cloud.compute.v1.NetworkInterface network_interfaces = 52735243; -
addNetworkInterfaces
An array of network access configurations for this interface.
repeated .google.cloud.compute.v1.NetworkInterface network_interfaces = 52735243; -
addNetworkInterfaces
An array of network access configurations for this interface.
repeated .google.cloud.compute.v1.NetworkInterface network_interfaces = 52735243; -
addNetworkInterfaces
public InstanceProperties.Builder addNetworkInterfaces(int index, NetworkInterface.Builder builderForValue) An array of network access configurations for this interface.
repeated .google.cloud.compute.v1.NetworkInterface network_interfaces = 52735243; -
addAllNetworkInterfaces
public InstanceProperties.Builder addAllNetworkInterfaces(Iterable<? extends NetworkInterface> values) An array of network access configurations for this interface.
repeated .google.cloud.compute.v1.NetworkInterface network_interfaces = 52735243; -
clearNetworkInterfaces
An array of network access configurations for this interface.
repeated .google.cloud.compute.v1.NetworkInterface network_interfaces = 52735243; -
removeNetworkInterfaces
An array of network access configurations for this interface.
repeated .google.cloud.compute.v1.NetworkInterface network_interfaces = 52735243; -
getNetworkInterfacesBuilder
An array of network access configurations for this interface.
repeated .google.cloud.compute.v1.NetworkInterface network_interfaces = 52735243; -
getNetworkInterfacesOrBuilder
An array of network access configurations for this interface.
repeated .google.cloud.compute.v1.NetworkInterface network_interfaces = 52735243;- Specified by:
getNetworkInterfacesOrBuilderin interfaceInstancePropertiesOrBuilder
-
getNetworkInterfacesOrBuilderList
An array of network access configurations for this interface.
repeated .google.cloud.compute.v1.NetworkInterface network_interfaces = 52735243;- Specified by:
getNetworkInterfacesOrBuilderListin interfaceInstancePropertiesOrBuilder
-
addNetworkInterfacesBuilder
An array of network access configurations for this interface.
repeated .google.cloud.compute.v1.NetworkInterface network_interfaces = 52735243; -
addNetworkInterfacesBuilder
An array of network access configurations for this interface.
repeated .google.cloud.compute.v1.NetworkInterface network_interfaces = 52735243; -
getNetworkInterfacesBuilderList
An array of network access configurations for this interface.
repeated .google.cloud.compute.v1.NetworkInterface network_interfaces = 52735243; -
hasNetworkPerformanceConfig
public boolean hasNetworkPerformanceConfig()Note that for MachineImage, this is not supported yet.
optional .google.cloud.compute.v1.NetworkPerformanceConfig network_performance_config = 398330850;- Specified by:
hasNetworkPerformanceConfigin interfaceInstancePropertiesOrBuilder- Returns:
- Whether the networkPerformanceConfig field is set.
-
getNetworkPerformanceConfig
Note that for MachineImage, this is not supported yet.
optional .google.cloud.compute.v1.NetworkPerformanceConfig network_performance_config = 398330850;- Specified by:
getNetworkPerformanceConfigin interfaceInstancePropertiesOrBuilder- Returns:
- The networkPerformanceConfig.
-
setNetworkPerformanceConfig
Note that for MachineImage, this is not supported yet.
optional .google.cloud.compute.v1.NetworkPerformanceConfig network_performance_config = 398330850; -
setNetworkPerformanceConfig
public InstanceProperties.Builder setNetworkPerformanceConfig(NetworkPerformanceConfig.Builder builderForValue) Note that for MachineImage, this is not supported yet.
optional .google.cloud.compute.v1.NetworkPerformanceConfig network_performance_config = 398330850; -
mergeNetworkPerformanceConfig
Note that for MachineImage, this is not supported yet.
optional .google.cloud.compute.v1.NetworkPerformanceConfig network_performance_config = 398330850; -
clearNetworkPerformanceConfig
Note that for MachineImage, this is not supported yet.
optional .google.cloud.compute.v1.NetworkPerformanceConfig network_performance_config = 398330850; -
getNetworkPerformanceConfigBuilder
Note that for MachineImage, this is not supported yet.
optional .google.cloud.compute.v1.NetworkPerformanceConfig network_performance_config = 398330850; -
getNetworkPerformanceConfigOrBuilder
Note that for MachineImage, this is not supported yet.
optional .google.cloud.compute.v1.NetworkPerformanceConfig network_performance_config = 398330850;- Specified by:
getNetworkPerformanceConfigOrBuilderin interfaceInstancePropertiesOrBuilder
-
hasPrivateIpv6GoogleAccess
public boolean hasPrivateIpv6GoogleAccess()The private IPv6 google access type for VMs. If not specified, use INHERIT_FROM_SUBNETWORK as default. Note that for MachineImage, this is not supported yet. Check the PrivateIpv6GoogleAccess enum for the list of possible values.
optional string private_ipv6_google_access = 48277006;- Specified by:
hasPrivateIpv6GoogleAccessin interfaceInstancePropertiesOrBuilder- Returns:
- Whether the privateIpv6GoogleAccess field is set.
-
getPrivateIpv6GoogleAccess
The private IPv6 google access type for VMs. If not specified, use INHERIT_FROM_SUBNETWORK as default. Note that for MachineImage, this is not supported yet. Check the PrivateIpv6GoogleAccess enum for the list of possible values.
optional string private_ipv6_google_access = 48277006;- Specified by:
getPrivateIpv6GoogleAccessin interfaceInstancePropertiesOrBuilder- Returns:
- The privateIpv6GoogleAccess.
-
getPrivateIpv6GoogleAccessBytes
public com.google.protobuf.ByteString getPrivateIpv6GoogleAccessBytes()The private IPv6 google access type for VMs. If not specified, use INHERIT_FROM_SUBNETWORK as default. Note that for MachineImage, this is not supported yet. Check the PrivateIpv6GoogleAccess enum for the list of possible values.
optional string private_ipv6_google_access = 48277006;- Specified by:
getPrivateIpv6GoogleAccessBytesin interfaceInstancePropertiesOrBuilder- Returns:
- The bytes for privateIpv6GoogleAccess.
-
setPrivateIpv6GoogleAccess
The private IPv6 google access type for VMs. If not specified, use INHERIT_FROM_SUBNETWORK as default. Note that for MachineImage, this is not supported yet. Check the PrivateIpv6GoogleAccess enum for the list of possible values.
optional string private_ipv6_google_access = 48277006;- Parameters:
value- The privateIpv6GoogleAccess to set.- Returns:
- This builder for chaining.
-
clearPrivateIpv6GoogleAccess
The private IPv6 google access type for VMs. If not specified, use INHERIT_FROM_SUBNETWORK as default. Note that for MachineImage, this is not supported yet. Check the PrivateIpv6GoogleAccess enum for the list of possible values.
optional string private_ipv6_google_access = 48277006;- Returns:
- This builder for chaining.
-
setPrivateIpv6GoogleAccessBytes
public InstanceProperties.Builder setPrivateIpv6GoogleAccessBytes(com.google.protobuf.ByteString value) The private IPv6 google access type for VMs. If not specified, use INHERIT_FROM_SUBNETWORK as default. Note that for MachineImage, this is not supported yet. Check the PrivateIpv6GoogleAccess enum for the list of possible values.
optional string private_ipv6_google_access = 48277006;- Parameters:
value- The bytes for privateIpv6GoogleAccess to set.- Returns:
- This builder for chaining.
-
hasReservationAffinity
public boolean hasReservationAffinity()Specifies the reservations that instances can consume from. Note that for MachineImage, this is not supported yet.
optional .google.cloud.compute.v1.ReservationAffinity reservation_affinity = 157850683;- Specified by:
hasReservationAffinityin interfaceInstancePropertiesOrBuilder- Returns:
- Whether the reservationAffinity field is set.
-
getReservationAffinity
Specifies the reservations that instances can consume from. Note that for MachineImage, this is not supported yet.
optional .google.cloud.compute.v1.ReservationAffinity reservation_affinity = 157850683;- Specified by:
getReservationAffinityin interfaceInstancePropertiesOrBuilder- Returns:
- The reservationAffinity.
-
setReservationAffinity
Specifies the reservations that instances can consume from. Note that for MachineImage, this is not supported yet.
optional .google.cloud.compute.v1.ReservationAffinity reservation_affinity = 157850683; -
setReservationAffinity
public InstanceProperties.Builder setReservationAffinity(ReservationAffinity.Builder builderForValue) Specifies the reservations that instances can consume from. Note that for MachineImage, this is not supported yet.
optional .google.cloud.compute.v1.ReservationAffinity reservation_affinity = 157850683; -
mergeReservationAffinity
Specifies the reservations that instances can consume from. Note that for MachineImage, this is not supported yet.
optional .google.cloud.compute.v1.ReservationAffinity reservation_affinity = 157850683; -
clearReservationAffinity
Specifies the reservations that instances can consume from. Note that for MachineImage, this is not supported yet.
optional .google.cloud.compute.v1.ReservationAffinity reservation_affinity = 157850683; -
getReservationAffinityBuilder
Specifies the reservations that instances can consume from. Note that for MachineImage, this is not supported yet.
optional .google.cloud.compute.v1.ReservationAffinity reservation_affinity = 157850683; -
getReservationAffinityOrBuilder
Specifies the reservations that instances can consume from. Note that for MachineImage, this is not supported yet.
optional .google.cloud.compute.v1.ReservationAffinity reservation_affinity = 157850683;- Specified by:
getReservationAffinityOrBuilderin interfaceInstancePropertiesOrBuilder
-
getResourceManagerTagsCount
public int getResourceManagerTagsCount()Description copied from interface:InstancePropertiesOrBuilderInput only. Resource manager tags to be bound to the instance. Tag keys and values have the same definition as resource manager tags. Keys must be in the format `tagKeys/{tag_key_id}`, and values are in the format `tagValues/456`. The field is ignored (both PUT & PATCH) when empty.map<string, string> resource_manager_tags = 377671164;- Specified by:
getResourceManagerTagsCountin interfaceInstancePropertiesOrBuilder
-
containsResourceManagerTags
Input only. Resource manager tags to be bound to the instance. Tag keys and values have the same definition as resource manager tags. Keys must be in the format `tagKeys/{tag_key_id}`, and values are in the format `tagValues/456`. The field is ignored (both PUT & PATCH) when empty.map<string, string> resource_manager_tags = 377671164;- Specified by:
containsResourceManagerTagsin interfaceInstancePropertiesOrBuilder
-
getResourceManagerTags
Deprecated.UsegetResourceManagerTagsMap()instead.- Specified by:
getResourceManagerTagsin interfaceInstancePropertiesOrBuilder
-
getResourceManagerTagsMap
Input only. Resource manager tags to be bound to the instance. Tag keys and values have the same definition as resource manager tags. Keys must be in the format `tagKeys/{tag_key_id}`, and values are in the format `tagValues/456`. The field is ignored (both PUT & PATCH) when empty.map<string, string> resource_manager_tags = 377671164;- Specified by:
getResourceManagerTagsMapin interfaceInstancePropertiesOrBuilder
-
getResourceManagerTagsOrDefault
Input only. Resource manager tags to be bound to the instance. Tag keys and values have the same definition as resource manager tags. Keys must be in the format `tagKeys/{tag_key_id}`, and values are in the format `tagValues/456`. The field is ignored (both PUT & PATCH) when empty.map<string, string> resource_manager_tags = 377671164;- Specified by:
getResourceManagerTagsOrDefaultin interfaceInstancePropertiesOrBuilder
-
getResourceManagerTagsOrThrow
Input only. Resource manager tags to be bound to the instance. Tag keys and values have the same definition as resource manager tags. Keys must be in the format `tagKeys/{tag_key_id}`, and values are in the format `tagValues/456`. The field is ignored (both PUT & PATCH) when empty.map<string, string> resource_manager_tags = 377671164;- Specified by:
getResourceManagerTagsOrThrowin interfaceInstancePropertiesOrBuilder
-
clearResourceManagerTags
-
removeResourceManagerTags
Input only. Resource manager tags to be bound to the instance. Tag keys and values have the same definition as resource manager tags. Keys must be in the format `tagKeys/{tag_key_id}`, and values are in the format `tagValues/456`. The field is ignored (both PUT & PATCH) when empty.map<string, string> resource_manager_tags = 377671164; -
getMutableResourceManagerTags
Deprecated.Use alternate mutation accessors instead. -
putResourceManagerTags
Input only. Resource manager tags to be bound to the instance. Tag keys and values have the same definition as resource manager tags. Keys must be in the format `tagKeys/{tag_key_id}`, and values are in the format `tagValues/456`. The field is ignored (both PUT & PATCH) when empty.map<string, string> resource_manager_tags = 377671164; -
putAllResourceManagerTags
Input only. Resource manager tags to be bound to the instance. Tag keys and values have the same definition as resource manager tags. Keys must be in the format `tagKeys/{tag_key_id}`, and values are in the format `tagValues/456`. The field is ignored (both PUT & PATCH) when empty.map<string, string> resource_manager_tags = 377671164; -
getResourcePoliciesList
public com.google.protobuf.ProtocolStringList getResourcePoliciesList()Resource policies (names, not URLs) applied to instances created from these properties. Note that for MachineImage, this is not supported yet.
repeated string resource_policies = 22220385;- Specified by:
getResourcePoliciesListin interfaceInstancePropertiesOrBuilder- Returns:
- A list containing the resourcePolicies.
-
getResourcePoliciesCount
public int getResourcePoliciesCount()Resource policies (names, not URLs) applied to instances created from these properties. Note that for MachineImage, this is not supported yet.
repeated string resource_policies = 22220385;- Specified by:
getResourcePoliciesCountin interfaceInstancePropertiesOrBuilder- Returns:
- The count of resourcePolicies.
-
getResourcePolicies
Resource policies (names, not URLs) applied to instances created from these properties. Note that for MachineImage, this is not supported yet.
repeated string resource_policies = 22220385;- Specified by:
getResourcePoliciesin interfaceInstancePropertiesOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The resourcePolicies at the given index.
-
getResourcePoliciesBytes
public com.google.protobuf.ByteString getResourcePoliciesBytes(int index) Resource policies (names, not URLs) applied to instances created from these properties. Note that for MachineImage, this is not supported yet.
repeated string resource_policies = 22220385;- Specified by:
getResourcePoliciesBytesin interfaceInstancePropertiesOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the resourcePolicies at the given index.
-
setResourcePolicies
Resource policies (names, not URLs) applied to instances created from these properties. Note that for MachineImage, this is not supported yet.
repeated string resource_policies = 22220385;- Parameters:
index- The index to set the value at.value- The resourcePolicies to set.- Returns:
- This builder for chaining.
-
addResourcePolicies
Resource policies (names, not URLs) applied to instances created from these properties. Note that for MachineImage, this is not supported yet.
repeated string resource_policies = 22220385;- Parameters:
value- The resourcePolicies to add.- Returns:
- This builder for chaining.
-
addAllResourcePolicies
Resource policies (names, not URLs) applied to instances created from these properties. Note that for MachineImage, this is not supported yet.
repeated string resource_policies = 22220385;- Parameters:
values- The resourcePolicies to add.- Returns:
- This builder for chaining.
-
clearResourcePolicies
Resource policies (names, not URLs) applied to instances created from these properties. Note that for MachineImage, this is not supported yet.
repeated string resource_policies = 22220385;- Returns:
- This builder for chaining.
-
addResourcePoliciesBytes
Resource policies (names, not URLs) applied to instances created from these properties. Note that for MachineImage, this is not supported yet.
repeated string resource_policies = 22220385;- Parameters:
value- The bytes of the resourcePolicies to add.- Returns:
- This builder for chaining.
-
hasScheduling
public boolean hasScheduling()Specifies the scheduling options for the instances that are created from these properties.
optional .google.cloud.compute.v1.Scheduling scheduling = 386688404;- Specified by:
hasSchedulingin interfaceInstancePropertiesOrBuilder- Returns:
- Whether the scheduling field is set.
-
getScheduling
Specifies the scheduling options for the instances that are created from these properties.
optional .google.cloud.compute.v1.Scheduling scheduling = 386688404;- Specified by:
getSchedulingin interfaceInstancePropertiesOrBuilder- Returns:
- The scheduling.
-
setScheduling
Specifies the scheduling options for the instances that are created from these properties.
optional .google.cloud.compute.v1.Scheduling scheduling = 386688404; -
setScheduling
Specifies the scheduling options for the instances that are created from these properties.
optional .google.cloud.compute.v1.Scheduling scheduling = 386688404; -
mergeScheduling
Specifies the scheduling options for the instances that are created from these properties.
optional .google.cloud.compute.v1.Scheduling scheduling = 386688404; -
clearScheduling
Specifies the scheduling options for the instances that are created from these properties.
optional .google.cloud.compute.v1.Scheduling scheduling = 386688404; -
getSchedulingBuilder
Specifies the scheduling options for the instances that are created from these properties.
optional .google.cloud.compute.v1.Scheduling scheduling = 386688404; -
getSchedulingOrBuilder
Specifies the scheduling options for the instances that are created from these properties.
optional .google.cloud.compute.v1.Scheduling scheduling = 386688404;- Specified by:
getSchedulingOrBuilderin interfaceInstancePropertiesOrBuilder
-
getServiceAccountsList
A list of service accounts with specified scopes. Access tokens for these service accounts are available to the instances that are created from these properties. Use metadata queries to obtain the access tokens for these instances.
repeated .google.cloud.compute.v1.ServiceAccount service_accounts = 277537328;- Specified by:
getServiceAccountsListin interfaceInstancePropertiesOrBuilder
-
getServiceAccountsCount
public int getServiceAccountsCount()A list of service accounts with specified scopes. Access tokens for these service accounts are available to the instances that are created from these properties. Use metadata queries to obtain the access tokens for these instances.
repeated .google.cloud.compute.v1.ServiceAccount service_accounts = 277537328;- Specified by:
getServiceAccountsCountin interfaceInstancePropertiesOrBuilder
-
getServiceAccounts
A list of service accounts with specified scopes. Access tokens for these service accounts are available to the instances that are created from these properties. Use metadata queries to obtain the access tokens for these instances.
repeated .google.cloud.compute.v1.ServiceAccount service_accounts = 277537328;- Specified by:
getServiceAccountsin interfaceInstancePropertiesOrBuilder
-
setServiceAccounts
A list of service accounts with specified scopes. Access tokens for these service accounts are available to the instances that are created from these properties. Use metadata queries to obtain the access tokens for these instances.
repeated .google.cloud.compute.v1.ServiceAccount service_accounts = 277537328; -
setServiceAccounts
public InstanceProperties.Builder setServiceAccounts(int index, ServiceAccount.Builder builderForValue) A list of service accounts with specified scopes. Access tokens for these service accounts are available to the instances that are created from these properties. Use metadata queries to obtain the access tokens for these instances.
repeated .google.cloud.compute.v1.ServiceAccount service_accounts = 277537328; -
addServiceAccounts
A list of service accounts with specified scopes. Access tokens for these service accounts are available to the instances that are created from these properties. Use metadata queries to obtain the access tokens for these instances.
repeated .google.cloud.compute.v1.ServiceAccount service_accounts = 277537328; -
addServiceAccounts
A list of service accounts with specified scopes. Access tokens for these service accounts are available to the instances that are created from these properties. Use metadata queries to obtain the access tokens for these instances.
repeated .google.cloud.compute.v1.ServiceAccount service_accounts = 277537328; -
addServiceAccounts
A list of service accounts with specified scopes. Access tokens for these service accounts are available to the instances that are created from these properties. Use metadata queries to obtain the access tokens for these instances.
repeated .google.cloud.compute.v1.ServiceAccount service_accounts = 277537328; -
addServiceAccounts
public InstanceProperties.Builder addServiceAccounts(int index, ServiceAccount.Builder builderForValue) A list of service accounts with specified scopes. Access tokens for these service accounts are available to the instances that are created from these properties. Use metadata queries to obtain the access tokens for these instances.
repeated .google.cloud.compute.v1.ServiceAccount service_accounts = 277537328; -
addAllServiceAccounts
A list of service accounts with specified scopes. Access tokens for these service accounts are available to the instances that are created from these properties. Use metadata queries to obtain the access tokens for these instances.
repeated .google.cloud.compute.v1.ServiceAccount service_accounts = 277537328; -
clearServiceAccounts
A list of service accounts with specified scopes. Access tokens for these service accounts are available to the instances that are created from these properties. Use metadata queries to obtain the access tokens for these instances.
repeated .google.cloud.compute.v1.ServiceAccount service_accounts = 277537328; -
removeServiceAccounts
A list of service accounts with specified scopes. Access tokens for these service accounts are available to the instances that are created from these properties. Use metadata queries to obtain the access tokens for these instances.
repeated .google.cloud.compute.v1.ServiceAccount service_accounts = 277537328; -
getServiceAccountsBuilder
A list of service accounts with specified scopes. Access tokens for these service accounts are available to the instances that are created from these properties. Use metadata queries to obtain the access tokens for these instances.
repeated .google.cloud.compute.v1.ServiceAccount service_accounts = 277537328; -
getServiceAccountsOrBuilder
A list of service accounts with specified scopes. Access tokens for these service accounts are available to the instances that are created from these properties. Use metadata queries to obtain the access tokens for these instances.
repeated .google.cloud.compute.v1.ServiceAccount service_accounts = 277537328;- Specified by:
getServiceAccountsOrBuilderin interfaceInstancePropertiesOrBuilder
-
getServiceAccountsOrBuilderList
A list of service accounts with specified scopes. Access tokens for these service accounts are available to the instances that are created from these properties. Use metadata queries to obtain the access tokens for these instances.
repeated .google.cloud.compute.v1.ServiceAccount service_accounts = 277537328;- Specified by:
getServiceAccountsOrBuilderListin interfaceInstancePropertiesOrBuilder
-
addServiceAccountsBuilder
A list of service accounts with specified scopes. Access tokens for these service accounts are available to the instances that are created from these properties. Use metadata queries to obtain the access tokens for these instances.
repeated .google.cloud.compute.v1.ServiceAccount service_accounts = 277537328; -
addServiceAccountsBuilder
A list of service accounts with specified scopes. Access tokens for these service accounts are available to the instances that are created from these properties. Use metadata queries to obtain the access tokens for these instances.
repeated .google.cloud.compute.v1.ServiceAccount service_accounts = 277537328; -
getServiceAccountsBuilderList
A list of service accounts with specified scopes. Access tokens for these service accounts are available to the instances that are created from these properties. Use metadata queries to obtain the access tokens for these instances.
repeated .google.cloud.compute.v1.ServiceAccount service_accounts = 277537328; -
hasShieldedInstanceConfig
public boolean hasShieldedInstanceConfig()Note that for MachineImage, this is not supported yet.
optional .google.cloud.compute.v1.ShieldedInstanceConfig shielded_instance_config = 12862901;- Specified by:
hasShieldedInstanceConfigin interfaceInstancePropertiesOrBuilder- Returns:
- Whether the shieldedInstanceConfig field is set.
-
getShieldedInstanceConfig
Note that for MachineImage, this is not supported yet.
optional .google.cloud.compute.v1.ShieldedInstanceConfig shielded_instance_config = 12862901;- Specified by:
getShieldedInstanceConfigin interfaceInstancePropertiesOrBuilder- Returns:
- The shieldedInstanceConfig.
-
setShieldedInstanceConfig
Note that for MachineImage, this is not supported yet.
optional .google.cloud.compute.v1.ShieldedInstanceConfig shielded_instance_config = 12862901; -
setShieldedInstanceConfig
public InstanceProperties.Builder setShieldedInstanceConfig(ShieldedInstanceConfig.Builder builderForValue) Note that for MachineImage, this is not supported yet.
optional .google.cloud.compute.v1.ShieldedInstanceConfig shielded_instance_config = 12862901; -
mergeShieldedInstanceConfig
Note that for MachineImage, this is not supported yet.
optional .google.cloud.compute.v1.ShieldedInstanceConfig shielded_instance_config = 12862901; -
clearShieldedInstanceConfig
Note that for MachineImage, this is not supported yet.
optional .google.cloud.compute.v1.ShieldedInstanceConfig shielded_instance_config = 12862901; -
getShieldedInstanceConfigBuilder
Note that for MachineImage, this is not supported yet.
optional .google.cloud.compute.v1.ShieldedInstanceConfig shielded_instance_config = 12862901; -
getShieldedInstanceConfigOrBuilder
Note that for MachineImage, this is not supported yet.
optional .google.cloud.compute.v1.ShieldedInstanceConfig shielded_instance_config = 12862901;- Specified by:
getShieldedInstanceConfigOrBuilderin interfaceInstancePropertiesOrBuilder
-
hasTags
public boolean hasTags()A list of tags to apply to the instances that are created from these properties. The tags identify valid sources or targets for network firewalls. The setTags method can modify this list of tags. Each tag within the list must comply with RFC1035.
optional .google.cloud.compute.v1.Tags tags = 3552281;- Specified by:
hasTagsin interfaceInstancePropertiesOrBuilder- Returns:
- Whether the tags field is set.
-
getTags
A list of tags to apply to the instances that are created from these properties. The tags identify valid sources or targets for network firewalls. The setTags method can modify this list of tags. Each tag within the list must comply with RFC1035.
optional .google.cloud.compute.v1.Tags tags = 3552281;- Specified by:
getTagsin interfaceInstancePropertiesOrBuilder- Returns:
- The tags.
-
setTags
A list of tags to apply to the instances that are created from these properties. The tags identify valid sources or targets for network firewalls. The setTags method can modify this list of tags. Each tag within the list must comply with RFC1035.
optional .google.cloud.compute.v1.Tags tags = 3552281; -
setTags
A list of tags to apply to the instances that are created from these properties. The tags identify valid sources or targets for network firewalls. The setTags method can modify this list of tags. Each tag within the list must comply with RFC1035.
optional .google.cloud.compute.v1.Tags tags = 3552281; -
mergeTags
A list of tags to apply to the instances that are created from these properties. The tags identify valid sources or targets for network firewalls. The setTags method can modify this list of tags. Each tag within the list must comply with RFC1035.
optional .google.cloud.compute.v1.Tags tags = 3552281; -
clearTags
A list of tags to apply to the instances that are created from these properties. The tags identify valid sources or targets for network firewalls. The setTags method can modify this list of tags. Each tag within the list must comply with RFC1035.
optional .google.cloud.compute.v1.Tags tags = 3552281; -
getTagsBuilder
A list of tags to apply to the instances that are created from these properties. The tags identify valid sources or targets for network firewalls. The setTags method can modify this list of tags. Each tag within the list must comply with RFC1035.
optional .google.cloud.compute.v1.Tags tags = 3552281; -
getTagsOrBuilder
A list of tags to apply to the instances that are created from these properties. The tags identify valid sources or targets for network firewalls. The setTags method can modify this list of tags. Each tag within the list must comply with RFC1035.
optional .google.cloud.compute.v1.Tags tags = 3552281;- Specified by:
getTagsOrBuilderin interfaceInstancePropertiesOrBuilder
-
hasWorkloadIdentityConfig
public boolean hasWorkloadIdentityConfig()optional .google.cloud.compute.v1.WorkloadIdentityConfig workload_identity_config = 338198811;- Specified by:
hasWorkloadIdentityConfigin interfaceInstancePropertiesOrBuilder- Returns:
- Whether the workloadIdentityConfig field is set.
-
getWorkloadIdentityConfig
optional .google.cloud.compute.v1.WorkloadIdentityConfig workload_identity_config = 338198811;- Specified by:
getWorkloadIdentityConfigin interfaceInstancePropertiesOrBuilder- Returns:
- The workloadIdentityConfig.
-
setWorkloadIdentityConfig
optional .google.cloud.compute.v1.WorkloadIdentityConfig workload_identity_config = 338198811; -
setWorkloadIdentityConfig
public InstanceProperties.Builder setWorkloadIdentityConfig(WorkloadIdentityConfig.Builder builderForValue) optional .google.cloud.compute.v1.WorkloadIdentityConfig workload_identity_config = 338198811; -
mergeWorkloadIdentityConfig
optional .google.cloud.compute.v1.WorkloadIdentityConfig workload_identity_config = 338198811; -
clearWorkloadIdentityConfig
optional .google.cloud.compute.v1.WorkloadIdentityConfig workload_identity_config = 338198811; -
getWorkloadIdentityConfigBuilder
optional .google.cloud.compute.v1.WorkloadIdentityConfig workload_identity_config = 338198811; -
getWorkloadIdentityConfigOrBuilder
optional .google.cloud.compute.v1.WorkloadIdentityConfig workload_identity_config = 338198811;- Specified by:
getWorkloadIdentityConfigOrBuilderin interfaceInstancePropertiesOrBuilder
-