public static final class InstanceProperties.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<InstanceProperties.Builder> implements InstancePropertiesOrBuilder
Protobuf type
google.cloud.compute.v1.InstanceProperties| Modifier and Type | Method and Description |
|---|---|
InstanceProperties.Builder |
addAllDisks(Iterable<? extends AttachedDisk> values)
An array of disks that are associated with the instances that are created from these properties.
|
InstanceProperties.Builder |
addAllGuestAccelerators(Iterable<? extends AcceleratorConfig> values)
A list of guest accelerator cards' type and count to use for instances created from these properties.
|
InstanceProperties.Builder |
addAllNetworkInterfaces(Iterable<? extends NetworkInterface> values)
An array of network access configurations for this interface.
|
InstanceProperties.Builder |
addAllResourcePolicies(Iterable<String> values)
Resource policies (names, not URLs) applied to instances created from these properties.
|
InstanceProperties.Builder |
addAllServiceAccounts(Iterable<? extends ServiceAccount> values)
A list of service accounts with specified scopes.
|
InstanceProperties.Builder |
addDisks(AttachedDisk.Builder builderForValue)
An array of disks that are associated with the instances that are created from these properties.
|
InstanceProperties.Builder |
addDisks(AttachedDisk value)
An array of disks that are associated with the instances that are created from these properties.
|
InstanceProperties.Builder |
addDisks(int index,
AttachedDisk.Builder builderForValue)
An array of disks that are associated with the instances that are created from these properties.
|
InstanceProperties.Builder |
addDisks(int index,
AttachedDisk value)
An array of disks that are associated with the instances that are created from these properties.
|
AttachedDisk.Builder |
addDisksBuilder()
An array of disks that are associated with the instances that are created from these properties.
|
AttachedDisk.Builder |
addDisksBuilder(int index)
An array of disks that are associated with the instances that are created from these properties.
|
InstanceProperties.Builder |
addGuestAccelerators(AcceleratorConfig.Builder builderForValue)
A list of guest accelerator cards' type and count to use for instances created from these properties.
|
InstanceProperties.Builder |
addGuestAccelerators(AcceleratorConfig value)
A list of guest accelerator cards' type and count to use for instances created from these properties.
|
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.
|
InstanceProperties.Builder |
addGuestAccelerators(int index,
AcceleratorConfig value)
A list of guest accelerator cards' type and count to use for instances created from these properties.
|
AcceleratorConfig.Builder |
addGuestAcceleratorsBuilder()
A list of guest accelerator cards' type and count to use for instances created from these properties.
|
AcceleratorConfig.Builder |
addGuestAcceleratorsBuilder(int index)
A list of guest accelerator cards' type and count to use for instances created from these properties.
|
InstanceProperties.Builder |
addNetworkInterfaces(int index,
NetworkInterface.Builder builderForValue)
An array of network access configurations for this interface.
|
InstanceProperties.Builder |
addNetworkInterfaces(int index,
NetworkInterface value)
An array of network access configurations for this interface.
|
InstanceProperties.Builder |
addNetworkInterfaces(NetworkInterface.Builder builderForValue)
An array of network access configurations for this interface.
|
InstanceProperties.Builder |
addNetworkInterfaces(NetworkInterface value)
An array of network access configurations for this interface.
|
NetworkInterface.Builder |
addNetworkInterfacesBuilder()
An array of network access configurations for this interface.
|
NetworkInterface.Builder |
addNetworkInterfacesBuilder(int index)
An array of network access configurations for this interface.
|
InstanceProperties.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
InstanceProperties.Builder |
addResourcePolicies(String value)
Resource policies (names, not URLs) applied to instances created from these properties.
|
InstanceProperties.Builder |
addResourcePoliciesBytes(com.google.protobuf.ByteString value)
Resource policies (names, not URLs) applied to instances created from these properties.
|
InstanceProperties.Builder |
addServiceAccounts(int index,
ServiceAccount.Builder builderForValue)
A list of service accounts with specified scopes.
|
InstanceProperties.Builder |
addServiceAccounts(int index,
ServiceAccount value)
A list of service accounts with specified scopes.
|
InstanceProperties.Builder |
addServiceAccounts(ServiceAccount.Builder builderForValue)
A list of service accounts with specified scopes.
|
InstanceProperties.Builder |
addServiceAccounts(ServiceAccount value)
A list of service accounts with specified scopes.
|
ServiceAccount.Builder |
addServiceAccountsBuilder()
A list of service accounts with specified scopes.
|
ServiceAccount.Builder |
addServiceAccountsBuilder(int index)
A list of service accounts with specified scopes.
|
InstanceProperties |
build() |
InstanceProperties |
buildPartial() |
InstanceProperties.Builder |
clear() |
InstanceProperties.Builder |
clearAdvancedMachineFeatures()
Controls for advanced machine-related behavior features.
|
InstanceProperties.Builder |
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.
|
InstanceProperties.Builder |
clearConfidentialInstanceConfig()
Specifies the Confidential Instance options.
|
InstanceProperties.Builder |
clearDescription()
An optional text description for the instances that are created from these properties.
|
InstanceProperties.Builder |
clearDisks()
An array of disks that are associated with the instances that are created from these properties.
|
InstanceProperties.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
InstanceProperties.Builder |
clearGuestAccelerators()
A list of guest accelerator cards' type and count to use for instances created from these properties.
|
InstanceProperties.Builder |
clearKeyRevocationActionType()
KeyRevocationActionType of the instance.
|
InstanceProperties.Builder |
clearLabels() |
InstanceProperties.Builder |
clearMachineType()
The machine type to use for instances that are created from these properties.
|
InstanceProperties.Builder |
clearMetadata()
The metadata key/value pairs to assign to instances that are created from these properties.
|
InstanceProperties.Builder |
clearMinCpuPlatform()
Minimum cpu/platform to be used by instances.
|
InstanceProperties.Builder |
clearNetworkInterfaces()
An array of network access configurations for this interface.
|
InstanceProperties.Builder |
clearNetworkPerformanceConfig()
Note that for MachineImage, this is not supported yet.
|
InstanceProperties.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
InstanceProperties.Builder |
clearPrivateIpv6GoogleAccess()
The private IPv6 google access type for VMs.
|
InstanceProperties.Builder |
clearReservationAffinity()
Specifies the reservations that instances can consume from.
|
InstanceProperties.Builder |
clearResourceManagerTags() |
InstanceProperties.Builder |
clearResourcePolicies()
Resource policies (names, not URLs) applied to instances created from these properties.
|
InstanceProperties.Builder |
clearScheduling()
Specifies the scheduling options for the instances that are created from these properties.
|
InstanceProperties.Builder |
clearServiceAccounts()
A list of service accounts with specified scopes.
|
InstanceProperties.Builder |
clearShieldedInstanceConfig()
Note that for MachineImage, this is not supported yet.
|
InstanceProperties.Builder |
clearTags()
A list of tags to apply to the instances that are created from these properties.
|
InstanceProperties.Builder |
clone() |
boolean |
containsLabels(String key)
Labels to apply to instances that are created from these properties.
|
boolean |
containsResourceManagerTags(String key)
Resource manager tags to be bound to the 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()
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.
|
ConfidentialInstanceConfig |
getConfidentialInstanceConfig()
Specifies the Confidential Instance options.
|
ConfidentialInstanceConfig.Builder |
getConfidentialInstanceConfigBuilder()
Specifies the Confidential Instance options.
|
ConfidentialInstanceConfigOrBuilder |
getConfidentialInstanceConfigOrBuilder()
Specifies the Confidential Instance options.
|
InstanceProperties |
getDefaultInstanceForType() |
String |
getDescription()
An optional text description for the instances that are created from these properties.
|
com.google.protobuf.ByteString |
getDescriptionBytes()
An optional text description for the instances that are created from these properties.
|
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
AttachedDisk |
getDisks(int index)
An array of disks that are associated with the instances that are created from these properties.
|
AttachedDisk.Builder |
getDisksBuilder(int index)
An array of disks that are associated with the instances that are created from these properties.
|
List<AttachedDisk.Builder> |
getDisksBuilderList()
An array of disks that are associated with the instances that are created from these properties.
|
int |
getDisksCount()
An array of disks that are associated with the instances that are created from these properties.
|
List<AttachedDisk> |
getDisksList()
An array of disks that are associated with the instances that are created from these properties.
|
AttachedDiskOrBuilder |
getDisksOrBuilder(int index)
An array of disks that are associated with the instances that are created from these properties.
|
List<? extends AttachedDiskOrBuilder> |
getDisksOrBuilderList()
An array of disks that are associated with the instances that are created from these properties.
|
AcceleratorConfig |
getGuestAccelerators(int index)
A list of guest accelerator cards' type and count to use for instances created from these properties.
|
AcceleratorConfig.Builder |
getGuestAcceleratorsBuilder(int index)
A list of guest accelerator cards' type and count to use for instances created from these properties.
|
List<AcceleratorConfig.Builder> |
getGuestAcceleratorsBuilderList()
A list of guest accelerator cards' type and count to use for instances created from these properties.
|
int |
getGuestAcceleratorsCount()
A list of guest accelerator cards' type and count to use for instances created from these properties.
|
List<AcceleratorConfig> |
getGuestAcceleratorsList()
A list of guest accelerator cards' type and count to use for instances created from these properties.
|
AcceleratorConfigOrBuilder |
getGuestAcceleratorsOrBuilder(int index)
A list of guest accelerator cards' type and count to use for instances created from these properties.
|
List<? extends AcceleratorConfigOrBuilder> |
getGuestAcceleratorsOrBuilderList()
A list of guest accelerator cards' type and count to use for instances created from these properties.
|
String |
getKeyRevocationActionType()
KeyRevocationActionType of the instance.
|
com.google.protobuf.ByteString |
getKeyRevocationActionTypeBytes()
KeyRevocationActionType of the instance.
|
Map<String,String> |
getLabels()
Deprecated.
|
int |
getLabelsCount()
Labels to apply to instances that are created from these properties.
|
Map<String,String> |
getLabelsMap()
Labels to apply to instances that are created from these properties.
|
String |
getLabelsOrDefault(String key,
String defaultValue)
Labels to apply to instances that are created from these properties.
|
String |
getLabelsOrThrow(String key)
Labels to apply to instances that are created from these properties.
|
String |
getMachineType()
The machine type to use for instances that are created from these properties.
|
com.google.protobuf.ByteString |
getMachineTypeBytes()
The machine type to use for instances that are created from these properties.
|
Metadata |
getMetadata()
The metadata key/value pairs to assign to instances that are created from these properties.
|
Metadata.Builder |
getMetadataBuilder()
The metadata key/value pairs to assign to instances that are created from these properties.
|
MetadataOrBuilder |
getMetadataOrBuilder()
The metadata key/value pairs to assign to instances that are created from these properties.
|
String |
getMinCpuPlatform()
Minimum cpu/platform to be used by instances.
|
com.google.protobuf.ByteString |
getMinCpuPlatformBytes()
Minimum cpu/platform to be used by instances.
|
Map<String,String> |
getMutableLabels()
Deprecated.
|
Map<String,String> |
getMutableResourceManagerTags()
Deprecated.
|
NetworkInterface |
getNetworkInterfaces(int index)
An array of network access configurations for this interface.
|
NetworkInterface.Builder |
getNetworkInterfacesBuilder(int index)
An array of network access configurations for this interface.
|
List<NetworkInterface.Builder> |
getNetworkInterfacesBuilderList()
An array of network access configurations for this interface.
|
int |
getNetworkInterfacesCount()
An array of network access configurations for this interface.
|
List<NetworkInterface> |
getNetworkInterfacesList()
An array of network access configurations for this interface.
|
NetworkInterfaceOrBuilder |
getNetworkInterfacesOrBuilder(int index)
An array of network access configurations for this interface.
|
List<? extends NetworkInterfaceOrBuilder> |
getNetworkInterfacesOrBuilderList()
An array of network access configurations for this interface.
|
NetworkPerformanceConfig |
getNetworkPerformanceConfig()
Note that for MachineImage, this is not supported yet.
|
NetworkPerformanceConfig.Builder |
getNetworkPerformanceConfigBuilder()
Note that for MachineImage, this is not supported yet.
|
NetworkPerformanceConfigOrBuilder |
getNetworkPerformanceConfigOrBuilder()
Note that for MachineImage, this is not supported yet.
|
String |
getPrivateIpv6GoogleAccess()
The private IPv6 google access type for VMs.
|
com.google.protobuf.ByteString |
getPrivateIpv6GoogleAccessBytes()
The private IPv6 google access type for VMs.
|
ReservationAffinity |
getReservationAffinity()
Specifies the reservations that instances can consume from.
|
ReservationAffinity.Builder |
getReservationAffinityBuilder()
Specifies the reservations that instances can consume from.
|
ReservationAffinityOrBuilder |
getReservationAffinityOrBuilder()
Specifies the reservations that instances can consume from.
|
Map<String,String> |
getResourceManagerTags()
Deprecated.
|
int |
getResourceManagerTagsCount()
Resource manager tags to be bound to the instance.
|
Map<String,String> |
getResourceManagerTagsMap()
Resource manager tags to be bound to the instance.
|
String |
getResourceManagerTagsOrDefault(String key,
String defaultValue)
Resource manager tags to be bound to the instance.
|
String |
getResourceManagerTagsOrThrow(String key)
Resource manager tags to be bound to the instance.
|
String |
getResourcePolicies(int index)
Resource policies (names, not URLs) applied to instances created from these properties.
|
com.google.protobuf.ByteString |
getResourcePoliciesBytes(int index)
Resource policies (names, not URLs) applied to instances created from these properties.
|
int |
getResourcePoliciesCount()
Resource policies (names, not URLs) applied to instances created from these properties.
|
com.google.protobuf.ProtocolStringList |
getResourcePoliciesList()
Resource policies (names, not URLs) applied to instances created from these properties.
|
Scheduling |
getScheduling()
Specifies the scheduling options for the instances that are created from these properties.
|
Scheduling.Builder |
getSchedulingBuilder()
Specifies the scheduling options for the instances that are created from these properties.
|
SchedulingOrBuilder |
getSchedulingOrBuilder()
Specifies the scheduling options for the instances that are created from these properties.
|
ServiceAccount |
getServiceAccounts(int index)
A list of service accounts with specified scopes.
|
ServiceAccount.Builder |
getServiceAccountsBuilder(int index)
A list of service accounts with specified scopes.
|
List<ServiceAccount.Builder> |
getServiceAccountsBuilderList()
A list of service accounts with specified scopes.
|
int |
getServiceAccountsCount()
A list of service accounts with specified scopes.
|
List<ServiceAccount> |
getServiceAccountsList()
A list of service accounts with specified scopes.
|
ServiceAccountOrBuilder |
getServiceAccountsOrBuilder(int index)
A list of service accounts with specified scopes.
|
List<? extends ServiceAccountOrBuilder> |
getServiceAccountsOrBuilderList()
A list of service accounts with specified scopes.
|
ShieldedInstanceConfig |
getShieldedInstanceConfig()
Note that for MachineImage, this is not supported yet.
|
ShieldedInstanceConfig.Builder |
getShieldedInstanceConfigBuilder()
Note that for MachineImage, this is not supported yet.
|
ShieldedInstanceConfigOrBuilder |
getShieldedInstanceConfigOrBuilder()
Note that for MachineImage, this is not supported yet.
|
Tags |
getTags()
A list of tags to apply to the instances that are created from these properties.
|
Tags.Builder |
getTagsBuilder()
A list of tags to apply to the instances that are created from these properties.
|
TagsOrBuilder |
getTagsOrBuilder()
A list of tags to apply to the instances that are created from these properties.
|
boolean |
hasAdvancedMachineFeatures()
Controls for advanced machine-related behavior features.
|
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.
|
boolean |
hasConfidentialInstanceConfig()
Specifies the Confidential Instance options.
|
boolean |
hasDescription()
An optional text description for the instances that are created from these properties.
|
boolean |
hasKeyRevocationActionType()
KeyRevocationActionType of the instance.
|
boolean |
hasMachineType()
The machine type to use for instances that are created from these properties.
|
boolean |
hasMetadata()
The metadata key/value pairs to assign to instances that are created from these properties.
|
boolean |
hasMinCpuPlatform()
Minimum cpu/platform to be used by instances.
|
boolean |
hasNetworkPerformanceConfig()
Note that for MachineImage, this is not supported yet.
|
boolean |
hasPrivateIpv6GoogleAccess()
The private IPv6 google access type for VMs.
|
boolean |
hasReservationAffinity()
Specifies the reservations that instances can consume from.
|
boolean |
hasScheduling()
Specifies the scheduling options for the instances that are created from these properties.
|
boolean |
hasShieldedInstanceConfig()
Note that for MachineImage, this is not supported yet.
|
boolean |
hasTags()
A list of tags to apply to the instances that are created from these properties.
|
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() |
InstanceProperties.Builder |
mergeAdvancedMachineFeatures(AdvancedMachineFeatures value)
Controls for advanced machine-related behavior features.
|
InstanceProperties.Builder |
mergeConfidentialInstanceConfig(ConfidentialInstanceConfig value)
Specifies the Confidential Instance options.
|
InstanceProperties.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
InstanceProperties.Builder |
mergeFrom(InstanceProperties other) |
InstanceProperties.Builder |
mergeFrom(com.google.protobuf.Message other) |
InstanceProperties.Builder |
mergeMetadata(Metadata value)
The metadata key/value pairs to assign to instances that are created from these properties.
|
InstanceProperties.Builder |
mergeNetworkPerformanceConfig(NetworkPerformanceConfig value)
Note that for MachineImage, this is not supported yet.
|
InstanceProperties.Builder |
mergeReservationAffinity(ReservationAffinity value)
Specifies the reservations that instances can consume from.
|
InstanceProperties.Builder |
mergeScheduling(Scheduling value)
Specifies the scheduling options for the instances that are created from these properties.
|
InstanceProperties.Builder |
mergeShieldedInstanceConfig(ShieldedInstanceConfig value)
Note that for MachineImage, this is not supported yet.
|
InstanceProperties.Builder |
mergeTags(Tags value)
A list of tags to apply to the instances that are created from these properties.
|
InstanceProperties.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
InstanceProperties.Builder |
putAllLabels(Map<String,String> values)
Labels to apply to instances that are created from these properties.
|
InstanceProperties.Builder |
putAllResourceManagerTags(Map<String,String> values)
Resource manager tags to be bound to the instance.
|
InstanceProperties.Builder |
putLabels(String key,
String value)
Labels to apply to instances that are created from these properties.
|
InstanceProperties.Builder |
putResourceManagerTags(String key,
String value)
Resource manager tags to be bound to the instance.
|
InstanceProperties.Builder |
removeDisks(int index)
An array of disks that are associated with the instances that are created from these properties.
|
InstanceProperties.Builder |
removeGuestAccelerators(int index)
A list of guest accelerator cards' type and count to use for instances created from these properties.
|
InstanceProperties.Builder |
removeLabels(String key)
Labels to apply to instances that are created from these properties.
|
InstanceProperties.Builder |
removeNetworkInterfaces(int index)
An array of network access configurations for this interface.
|
InstanceProperties.Builder |
removeResourceManagerTags(String key)
Resource manager tags to be bound to the instance.
|
InstanceProperties.Builder |
removeServiceAccounts(int index)
A list of service accounts with specified scopes.
|
InstanceProperties.Builder |
setAdvancedMachineFeatures(AdvancedMachineFeatures.Builder builderForValue)
Controls for advanced machine-related behavior features.
|
InstanceProperties.Builder |
setAdvancedMachineFeatures(AdvancedMachineFeatures value)
Controls for advanced machine-related behavior features.
|
InstanceProperties.Builder |
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.
|
InstanceProperties.Builder |
setConfidentialInstanceConfig(ConfidentialInstanceConfig.Builder builderForValue)
Specifies the Confidential Instance options.
|
InstanceProperties.Builder |
setConfidentialInstanceConfig(ConfidentialInstanceConfig value)
Specifies the Confidential Instance options.
|
InstanceProperties.Builder |
setDescription(String value)
An optional text description for the instances that are created from these properties.
|
InstanceProperties.Builder |
setDescriptionBytes(com.google.protobuf.ByteString value)
An optional text description for the instances that are created from these properties.
|
InstanceProperties.Builder |
setDisks(int index,
AttachedDisk.Builder builderForValue)
An array of disks that are associated with the instances that are created from these properties.
|
InstanceProperties.Builder |
setDisks(int index,
AttachedDisk value)
An array of disks that are associated with the instances that are created from these properties.
|
InstanceProperties.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
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.
|
InstanceProperties.Builder |
setGuestAccelerators(int index,
AcceleratorConfig value)
A list of guest accelerator cards' type and count to use for instances created from these properties.
|
InstanceProperties.Builder |
setKeyRevocationActionType(String value)
KeyRevocationActionType of the instance.
|
InstanceProperties.Builder |
setKeyRevocationActionTypeBytes(com.google.protobuf.ByteString value)
KeyRevocationActionType of the instance.
|
InstanceProperties.Builder |
setMachineType(String value)
The machine type to use for instances that are created from these properties.
|
InstanceProperties.Builder |
setMachineTypeBytes(com.google.protobuf.ByteString value)
The machine type to use for instances that are created from these properties.
|
InstanceProperties.Builder |
setMetadata(Metadata.Builder builderForValue)
The metadata key/value pairs to assign to instances that are created from these properties.
|
InstanceProperties.Builder |
setMetadata(Metadata value)
The metadata key/value pairs to assign to instances that are created from these properties.
|
InstanceProperties.Builder |
setMinCpuPlatform(String value)
Minimum cpu/platform to be used by instances.
|
InstanceProperties.Builder |
setMinCpuPlatformBytes(com.google.protobuf.ByteString value)
Minimum cpu/platform to be used by instances.
|
InstanceProperties.Builder |
setNetworkInterfaces(int index,
NetworkInterface.Builder builderForValue)
An array of network access configurations for this interface.
|
InstanceProperties.Builder |
setNetworkInterfaces(int index,
NetworkInterface value)
An array of network access configurations for this interface.
|
InstanceProperties.Builder |
setNetworkPerformanceConfig(NetworkPerformanceConfig.Builder builderForValue)
Note that for MachineImage, this is not supported yet.
|
InstanceProperties.Builder |
setNetworkPerformanceConfig(NetworkPerformanceConfig value)
Note that for MachineImage, this is not supported yet.
|
InstanceProperties.Builder |
setPrivateIpv6GoogleAccess(String value)
The private IPv6 google access type for VMs.
|
InstanceProperties.Builder |
setPrivateIpv6GoogleAccessBytes(com.google.protobuf.ByteString value)
The private IPv6 google access type for VMs.
|
InstanceProperties.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
InstanceProperties.Builder |
setReservationAffinity(ReservationAffinity.Builder builderForValue)
Specifies the reservations that instances can consume from.
|
InstanceProperties.Builder |
setReservationAffinity(ReservationAffinity value)
Specifies the reservations that instances can consume from.
|
InstanceProperties.Builder |
setResourcePolicies(int index,
String value)
Resource policies (names, not URLs) applied to instances created from these properties.
|
InstanceProperties.Builder |
setScheduling(Scheduling.Builder builderForValue)
Specifies the scheduling options for the instances that are created from these properties.
|
InstanceProperties.Builder |
setScheduling(Scheduling value)
Specifies the scheduling options for the instances that are created from these properties.
|
InstanceProperties.Builder |
setServiceAccounts(int index,
ServiceAccount.Builder builderForValue)
A list of service accounts with specified scopes.
|
InstanceProperties.Builder |
setServiceAccounts(int index,
ServiceAccount value)
A list of service accounts with specified scopes.
|
InstanceProperties.Builder |
setShieldedInstanceConfig(ShieldedInstanceConfig.Builder builderForValue)
Note that for MachineImage, this is not supported yet.
|
InstanceProperties.Builder |
setShieldedInstanceConfig(ShieldedInstanceConfig value)
Note that for MachineImage, this is not supported yet.
|
InstanceProperties.Builder |
setTags(Tags.Builder builderForValue)
A list of tags to apply to the instances that are created from these properties.
|
InstanceProperties.Builder |
setTags(Tags value)
A list of tags to apply to the instances that are created from these properties.
|
InstanceProperties.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
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<InstanceProperties.Builder>protected com.google.protobuf.MapField internalGetMutableMapField(int number)
internalGetMutableMapField in class com.google.protobuf.GeneratedMessageV3.Builder<InstanceProperties.Builder>protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<InstanceProperties.Builder>public InstanceProperties.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<InstanceProperties.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<InstanceProperties.Builder>public InstanceProperties getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic InstanceProperties build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic InstanceProperties buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic InstanceProperties.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<InstanceProperties.Builder>public InstanceProperties.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<InstanceProperties.Builder>public InstanceProperties.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<InstanceProperties.Builder>public InstanceProperties.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<InstanceProperties.Builder>public InstanceProperties.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<InstanceProperties.Builder>public InstanceProperties.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<InstanceProperties.Builder>public InstanceProperties.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<InstanceProperties.Builder>public InstanceProperties.Builder mergeFrom(InstanceProperties other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<InstanceProperties.Builder>public InstanceProperties.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<InstanceProperties.Builder>IOExceptionpublic 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;
hasAdvancedMachineFeatures in interface InstancePropertiesOrBuilderpublic AdvancedMachineFeatures 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;
getAdvancedMachineFeatures in interface InstancePropertiesOrBuilderpublic InstanceProperties.Builder setAdvancedMachineFeatures(AdvancedMachineFeatures value)
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;
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;
public InstanceProperties.Builder mergeAdvancedMachineFeatures(AdvancedMachineFeatures value)
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;
public InstanceProperties.Builder 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;
public AdvancedMachineFeatures.Builder 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;
public AdvancedMachineFeaturesOrBuilder 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;
getAdvancedMachineFeaturesOrBuilder in interface InstancePropertiesOrBuilderpublic 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 to false. See the Enable IP forwarding documentation for more information.
optional bool can_ip_forward = 467731324;hasCanIpForward in interface InstancePropertiesOrBuilderpublic 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 to false. See the Enable IP forwarding documentation for more information.
optional bool can_ip_forward = 467731324;getCanIpForward in interface InstancePropertiesOrBuilderpublic InstanceProperties.Builder 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. 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 to false. See the Enable IP forwarding documentation for more information.
optional bool can_ip_forward = 467731324;value - The canIpForward to set.public InstanceProperties.Builder 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 to false. See the Enable IP forwarding documentation for more information.
optional bool can_ip_forward = 467731324;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;
hasConfidentialInstanceConfig in interface InstancePropertiesOrBuilderpublic ConfidentialInstanceConfig 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;
getConfidentialInstanceConfig in interface InstancePropertiesOrBuilderpublic InstanceProperties.Builder setConfidentialInstanceConfig(ConfidentialInstanceConfig value)
Specifies the Confidential Instance options. Note that for MachineImage, this is not supported yet.
optional .google.cloud.compute.v1.ConfidentialInstanceConfig confidential_instance_config = 490637685;
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;
public InstanceProperties.Builder mergeConfidentialInstanceConfig(ConfidentialInstanceConfig value)
Specifies the Confidential Instance options. Note that for MachineImage, this is not supported yet.
optional .google.cloud.compute.v1.ConfidentialInstanceConfig confidential_instance_config = 490637685;
public InstanceProperties.Builder 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;
public ConfidentialInstanceConfig.Builder 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;
public ConfidentialInstanceConfigOrBuilder 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;
getConfidentialInstanceConfigOrBuilder in interface InstancePropertiesOrBuilderpublic boolean hasDescription()
An optional text description for the instances that are created from these properties.
optional string description = 422937596;hasDescription in interface InstancePropertiesOrBuilderpublic String getDescription()
An optional text description for the instances that are created from these properties.
optional string description = 422937596;getDescription in interface InstancePropertiesOrBuilderpublic com.google.protobuf.ByteString getDescriptionBytes()
An optional text description for the instances that are created from these properties.
optional string description = 422937596;getDescriptionBytes in interface InstancePropertiesOrBuilderpublic InstanceProperties.Builder setDescription(String value)
An optional text description for the instances that are created from these properties.
optional string description = 422937596;value - The description to set.public InstanceProperties.Builder clearDescription()
An optional text description for the instances that are created from these properties.
optional string description = 422937596;public InstanceProperties.Builder setDescriptionBytes(com.google.protobuf.ByteString value)
An optional text description for the instances that are created from these properties.
optional string description = 422937596;value - The bytes for description to set.public List<AttachedDisk> 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;getDisksList in interface InstancePropertiesOrBuilderpublic 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;getDisksCount in interface InstancePropertiesOrBuilderpublic AttachedDisk getDisks(int index)
An array of disks that are associated with the instances that are created from these properties.
repeated .google.cloud.compute.v1.AttachedDisk disks = 95594102;getDisks in interface InstancePropertiesOrBuilderpublic InstanceProperties.Builder setDisks(int index, AttachedDisk value)
An array of disks that are associated with the instances that are created from these properties.
repeated .google.cloud.compute.v1.AttachedDisk disks = 95594102;public InstanceProperties.Builder setDisks(int index, AttachedDisk.Builder builderForValue)
An array of disks that are associated with the instances that are created from these properties.
repeated .google.cloud.compute.v1.AttachedDisk disks = 95594102;public InstanceProperties.Builder addDisks(AttachedDisk value)
An array of disks that are associated with the instances that are created from these properties.
repeated .google.cloud.compute.v1.AttachedDisk disks = 95594102;public InstanceProperties.Builder addDisks(int index, AttachedDisk value)
An array of disks that are associated with the instances that are created from these properties.
repeated .google.cloud.compute.v1.AttachedDisk disks = 95594102;public InstanceProperties.Builder addDisks(AttachedDisk.Builder builderForValue)
An array of disks that are associated with the instances that are created from these properties.
repeated .google.cloud.compute.v1.AttachedDisk disks = 95594102;public InstanceProperties.Builder addDisks(int index, AttachedDisk.Builder builderForValue)
An array of disks that are associated with the instances that are created from these properties.
repeated .google.cloud.compute.v1.AttachedDisk disks = 95594102;public InstanceProperties.Builder addAllDisks(Iterable<? extends AttachedDisk> values)
An array of disks that are associated with the instances that are created from these properties.
repeated .google.cloud.compute.v1.AttachedDisk disks = 95594102;public InstanceProperties.Builder 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;public InstanceProperties.Builder removeDisks(int index)
An array of disks that are associated with the instances that are created from these properties.
repeated .google.cloud.compute.v1.AttachedDisk disks = 95594102;public AttachedDisk.Builder getDisksBuilder(int index)
An array of disks that are associated with the instances that are created from these properties.
repeated .google.cloud.compute.v1.AttachedDisk disks = 95594102;public AttachedDiskOrBuilder getDisksOrBuilder(int index)
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 in interface InstancePropertiesOrBuilderpublic List<? extends AttachedDiskOrBuilder> 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;getDisksOrBuilderList in interface InstancePropertiesOrBuilderpublic AttachedDisk.Builder 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;public AttachedDisk.Builder addDisksBuilder(int index)
An array of disks that are associated with the instances that are created from these properties.
repeated .google.cloud.compute.v1.AttachedDisk disks = 95594102;public List<AttachedDisk.Builder> 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;public List<AcceleratorConfig> 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;
getGuestAcceleratorsList in interface InstancePropertiesOrBuilderpublic 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;
getGuestAcceleratorsCount in interface InstancePropertiesOrBuilderpublic AcceleratorConfig getGuestAccelerators(int index)
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;
getGuestAccelerators in interface InstancePropertiesOrBuilderpublic InstanceProperties.Builder setGuestAccelerators(int index, AcceleratorConfig value)
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;
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;
public InstanceProperties.Builder addGuestAccelerators(AcceleratorConfig value)
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;
public InstanceProperties.Builder addGuestAccelerators(int index, AcceleratorConfig value)
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;
public InstanceProperties.Builder addGuestAccelerators(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;
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;
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;
public InstanceProperties.Builder 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;
public InstanceProperties.Builder removeGuestAccelerators(int index)
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;
public AcceleratorConfig.Builder getGuestAcceleratorsBuilder(int index)
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;
public AcceleratorConfigOrBuilder getGuestAcceleratorsOrBuilder(int index)
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 in interface InstancePropertiesOrBuilderpublic List<? extends AcceleratorConfigOrBuilder> 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;
getGuestAcceleratorsOrBuilderList in interface InstancePropertiesOrBuilderpublic AcceleratorConfig.Builder 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;
public AcceleratorConfig.Builder addGuestAcceleratorsBuilder(int index)
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;
public List<AcceleratorConfig.Builder> 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;
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 InstancePropertiesOrBuilderpublic 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 InstancePropertiesOrBuilderpublic 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 InstancePropertiesOrBuilderpublic InstanceProperties.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 InstanceProperties.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 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;value - The bytes for keyRevocationActionType to set.public int getLabelsCount()
InstancePropertiesOrBuilderLabels to apply to instances that are created from these properties.
map<string, string> labels = 500195327;getLabelsCount in interface InstancePropertiesOrBuilderpublic boolean containsLabels(String key)
Labels to apply to instances that are created from these properties.
map<string, string> labels = 500195327;containsLabels in interface InstancePropertiesOrBuilder@Deprecated public Map<String,String> getLabels()
getLabelsMap() instead.getLabels in interface InstancePropertiesOrBuilderpublic Map<String,String> getLabelsMap()
Labels to apply to instances that are created from these properties.
map<string, string> labels = 500195327;getLabelsMap in interface InstancePropertiesOrBuilderpublic String getLabelsOrDefault(String key, String defaultValue)
Labels to apply to instances that are created from these properties.
map<string, string> labels = 500195327;getLabelsOrDefault in interface InstancePropertiesOrBuilderpublic String getLabelsOrThrow(String key)
Labels to apply to instances that are created from these properties.
map<string, string> labels = 500195327;getLabelsOrThrow in interface InstancePropertiesOrBuilderpublic InstanceProperties.Builder clearLabels()
public InstanceProperties.Builder removeLabels(String key)
Labels to apply to instances that are created from these properties.
map<string, string> labels = 500195327;@Deprecated public Map<String,String> getMutableLabels()
public InstanceProperties.Builder putLabels(String key, String value)
Labels to apply to instances that are created from these properties.
map<string, string> labels = 500195327;public InstanceProperties.Builder putAllLabels(Map<String,String> values)
Labels to apply to instances that are created from these properties.
map<string, string> labels = 500195327;public boolean hasMachineType()
The machine type to use for instances that are created from these properties.
optional string machine_type = 227711026;hasMachineType in interface InstancePropertiesOrBuilderpublic String getMachineType()
The machine type to use for instances that are created from these properties.
optional string machine_type = 227711026;getMachineType in interface InstancePropertiesOrBuilderpublic com.google.protobuf.ByteString getMachineTypeBytes()
The machine type to use for instances that are created from these properties.
optional string machine_type = 227711026;getMachineTypeBytes in interface InstancePropertiesOrBuilderpublic InstanceProperties.Builder setMachineType(String value)
The machine type to use for instances that are created from these properties.
optional string machine_type = 227711026;value - The machineType to set.public InstanceProperties.Builder clearMachineType()
The machine type to use for instances that are created from these properties.
optional string machine_type = 227711026;public InstanceProperties.Builder setMachineTypeBytes(com.google.protobuf.ByteString value)
The machine type to use for instances that are created from these properties.
optional string machine_type = 227711026;value - The bytes for machineType to set.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. See Project and instance metadata for more information.
optional .google.cloud.compute.v1.Metadata metadata = 86866735;hasMetadata in interface InstancePropertiesOrBuilderpublic Metadata 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. See Project and instance metadata for more information.
optional .google.cloud.compute.v1.Metadata metadata = 86866735;getMetadata in interface InstancePropertiesOrBuilderpublic InstanceProperties.Builder setMetadata(Metadata value)
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. See Project and instance metadata for more information.
optional .google.cloud.compute.v1.Metadata metadata = 86866735;public InstanceProperties.Builder setMetadata(Metadata.Builder builderForValue)
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. See Project and instance metadata for more information.
optional .google.cloud.compute.v1.Metadata metadata = 86866735;public InstanceProperties.Builder mergeMetadata(Metadata value)
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. See Project and instance metadata for more information.
optional .google.cloud.compute.v1.Metadata metadata = 86866735;public InstanceProperties.Builder 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. See Project and instance metadata for more information.
optional .google.cloud.compute.v1.Metadata metadata = 86866735;public Metadata.Builder 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. See Project and instance metadata for more information.
optional .google.cloud.compute.v1.Metadata metadata = 86866735;public MetadataOrBuilder 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. See Project and instance metadata for more information.
optional .google.cloud.compute.v1.Metadata metadata = 86866735;getMetadataOrBuilder in interface InstancePropertiesOrBuilderpublic 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 as minCpuPlatform: "Intel Haswell" or minCpuPlatform: "Intel Sandy Bridge". For more information, read Specifying a Minimum CPU Platform.
optional string min_cpu_platform = 242912759;hasMinCpuPlatform in interface InstancePropertiesOrBuilderpublic String 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 as minCpuPlatform: "Intel Haswell" or minCpuPlatform: "Intel Sandy Bridge". For more information, read Specifying a Minimum CPU Platform.
optional string min_cpu_platform = 242912759;getMinCpuPlatform in interface InstancePropertiesOrBuilderpublic 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 as minCpuPlatform: "Intel Haswell" or minCpuPlatform: "Intel Sandy Bridge". For more information, read Specifying a Minimum CPU Platform.
optional string min_cpu_platform = 242912759;getMinCpuPlatformBytes in interface InstancePropertiesOrBuilderpublic InstanceProperties.Builder setMinCpuPlatform(String value)
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 as minCpuPlatform: "Intel Haswell" or minCpuPlatform: "Intel Sandy Bridge". For more information, read Specifying a Minimum CPU Platform.
optional string min_cpu_platform = 242912759;value - The minCpuPlatform to set.public InstanceProperties.Builder 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 as minCpuPlatform: "Intel Haswell" or minCpuPlatform: "Intel Sandy Bridge". For more information, read Specifying a Minimum CPU Platform.
optional string min_cpu_platform = 242912759;public InstanceProperties.Builder setMinCpuPlatformBytes(com.google.protobuf.ByteString value)
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 as minCpuPlatform: "Intel Haswell" or minCpuPlatform: "Intel Sandy Bridge". For more information, read Specifying a Minimum CPU Platform.
optional string min_cpu_platform = 242912759;value - The bytes for minCpuPlatform to set.public List<NetworkInterface> getNetworkInterfacesList()
An array of network access configurations for this interface.
repeated .google.cloud.compute.v1.NetworkInterface network_interfaces = 52735243;
getNetworkInterfacesList in interface InstancePropertiesOrBuilderpublic int getNetworkInterfacesCount()
An array of network access configurations for this interface.
repeated .google.cloud.compute.v1.NetworkInterface network_interfaces = 52735243;
getNetworkInterfacesCount in interface InstancePropertiesOrBuilderpublic NetworkInterface getNetworkInterfaces(int index)
An array of network access configurations for this interface.
repeated .google.cloud.compute.v1.NetworkInterface network_interfaces = 52735243;
getNetworkInterfaces in interface InstancePropertiesOrBuilderpublic InstanceProperties.Builder setNetworkInterfaces(int index, NetworkInterface value)
An array of network access configurations for this interface.
repeated .google.cloud.compute.v1.NetworkInterface network_interfaces = 52735243;
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;
public InstanceProperties.Builder addNetworkInterfaces(NetworkInterface value)
An array of network access configurations for this interface.
repeated .google.cloud.compute.v1.NetworkInterface network_interfaces = 52735243;
public InstanceProperties.Builder addNetworkInterfaces(int index, NetworkInterface value)
An array of network access configurations for this interface.
repeated .google.cloud.compute.v1.NetworkInterface network_interfaces = 52735243;
public InstanceProperties.Builder addNetworkInterfaces(NetworkInterface.Builder builderForValue)
An array of network access configurations for this interface.
repeated .google.cloud.compute.v1.NetworkInterface network_interfaces = 52735243;
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;
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;
public InstanceProperties.Builder clearNetworkInterfaces()
An array of network access configurations for this interface.
repeated .google.cloud.compute.v1.NetworkInterface network_interfaces = 52735243;
public InstanceProperties.Builder removeNetworkInterfaces(int index)
An array of network access configurations for this interface.
repeated .google.cloud.compute.v1.NetworkInterface network_interfaces = 52735243;
public NetworkInterface.Builder getNetworkInterfacesBuilder(int index)
An array of network access configurations for this interface.
repeated .google.cloud.compute.v1.NetworkInterface network_interfaces = 52735243;
public NetworkInterfaceOrBuilder getNetworkInterfacesOrBuilder(int index)
An array of network access configurations for this interface.
repeated .google.cloud.compute.v1.NetworkInterface network_interfaces = 52735243;
getNetworkInterfacesOrBuilder in interface InstancePropertiesOrBuilderpublic List<? extends NetworkInterfaceOrBuilder> getNetworkInterfacesOrBuilderList()
An array of network access configurations for this interface.
repeated .google.cloud.compute.v1.NetworkInterface network_interfaces = 52735243;
getNetworkInterfacesOrBuilderList in interface InstancePropertiesOrBuilderpublic NetworkInterface.Builder addNetworkInterfacesBuilder()
An array of network access configurations for this interface.
repeated .google.cloud.compute.v1.NetworkInterface network_interfaces = 52735243;
public NetworkInterface.Builder addNetworkInterfacesBuilder(int index)
An array of network access configurations for this interface.
repeated .google.cloud.compute.v1.NetworkInterface network_interfaces = 52735243;
public List<NetworkInterface.Builder> getNetworkInterfacesBuilderList()
An array of network access configurations for this interface.
repeated .google.cloud.compute.v1.NetworkInterface network_interfaces = 52735243;
public boolean hasNetworkPerformanceConfig()
Note that for MachineImage, this is not supported yet.
optional .google.cloud.compute.v1.NetworkPerformanceConfig network_performance_config = 398330850;
hasNetworkPerformanceConfig in interface InstancePropertiesOrBuilderpublic NetworkPerformanceConfig getNetworkPerformanceConfig()
Note that for MachineImage, this is not supported yet.
optional .google.cloud.compute.v1.NetworkPerformanceConfig network_performance_config = 398330850;
getNetworkPerformanceConfig in interface InstancePropertiesOrBuilderpublic InstanceProperties.Builder setNetworkPerformanceConfig(NetworkPerformanceConfig value)
Note that for MachineImage, this is not supported yet.
optional .google.cloud.compute.v1.NetworkPerformanceConfig network_performance_config = 398330850;
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;
public InstanceProperties.Builder mergeNetworkPerformanceConfig(NetworkPerformanceConfig value)
Note that for MachineImage, this is not supported yet.
optional .google.cloud.compute.v1.NetworkPerformanceConfig network_performance_config = 398330850;
public InstanceProperties.Builder clearNetworkPerformanceConfig()
Note that for MachineImage, this is not supported yet.
optional .google.cloud.compute.v1.NetworkPerformanceConfig network_performance_config = 398330850;
public NetworkPerformanceConfig.Builder getNetworkPerformanceConfigBuilder()
Note that for MachineImage, this is not supported yet.
optional .google.cloud.compute.v1.NetworkPerformanceConfig network_performance_config = 398330850;
public NetworkPerformanceConfigOrBuilder getNetworkPerformanceConfigOrBuilder()
Note that for MachineImage, this is not supported yet.
optional .google.cloud.compute.v1.NetworkPerformanceConfig network_performance_config = 398330850;
getNetworkPerformanceConfigOrBuilder in interface InstancePropertiesOrBuilderpublic 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;hasPrivateIpv6GoogleAccess in interface InstancePropertiesOrBuilderpublic String 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;getPrivateIpv6GoogleAccess in interface InstancePropertiesOrBuilderpublic 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;getPrivateIpv6GoogleAccessBytes in interface InstancePropertiesOrBuilderpublic InstanceProperties.Builder setPrivateIpv6GoogleAccess(String 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;value - The privateIpv6GoogleAccess to set.public InstanceProperties.Builder 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;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;value - The bytes for privateIpv6GoogleAccess to set.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;
hasReservationAffinity in interface InstancePropertiesOrBuilderpublic ReservationAffinity 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;
getReservationAffinity in interface InstancePropertiesOrBuilderpublic InstanceProperties.Builder setReservationAffinity(ReservationAffinity value)
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;
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;
public InstanceProperties.Builder mergeReservationAffinity(ReservationAffinity value)
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;
public InstanceProperties.Builder 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;
public ReservationAffinity.Builder 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;
public ReservationAffinityOrBuilder 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;
getReservationAffinityOrBuilder in interface InstancePropertiesOrBuilderpublic int getResourceManagerTagsCount()
InstancePropertiesOrBuilder
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;getResourceManagerTagsCount in interface InstancePropertiesOrBuilderpublic boolean containsResourceManagerTags(String key)
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;containsResourceManagerTags in interface InstancePropertiesOrBuilder@Deprecated public Map<String,String> getResourceManagerTags()
getResourceManagerTagsMap() instead.getResourceManagerTags in interface InstancePropertiesOrBuilderpublic Map<String,String> getResourceManagerTagsMap()
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;getResourceManagerTagsMap in interface InstancePropertiesOrBuilderpublic String getResourceManagerTagsOrDefault(String key, String defaultValue)
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;getResourceManagerTagsOrDefault in interface InstancePropertiesOrBuilderpublic String getResourceManagerTagsOrThrow(String key)
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;getResourceManagerTagsOrThrow in interface InstancePropertiesOrBuilderpublic InstanceProperties.Builder clearResourceManagerTags()
public InstanceProperties.Builder removeResourceManagerTags(String key)
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;@Deprecated public Map<String,String> getMutableResourceManagerTags()
public InstanceProperties.Builder putResourceManagerTags(String key, String value)
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;public InstanceProperties.Builder putAllResourceManagerTags(Map<String,String> values)
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;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;getResourcePoliciesList in interface InstancePropertiesOrBuilderpublic 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;getResourcePoliciesCount in interface InstancePropertiesOrBuilderpublic String getResourcePolicies(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;getResourcePolicies in interface InstancePropertiesOrBuilderindex - The index of the element to return.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;getResourcePoliciesBytes in interface InstancePropertiesOrBuilderindex - The index of the value to return.public InstanceProperties.Builder setResourcePolicies(int index, String value)
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;index - The index to set the value at.value - The resourcePolicies to set.public InstanceProperties.Builder addResourcePolicies(String value)
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;value - The resourcePolicies to add.public InstanceProperties.Builder addAllResourcePolicies(Iterable<String> values)
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;values - The resourcePolicies to add.public InstanceProperties.Builder 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;public InstanceProperties.Builder addResourcePoliciesBytes(com.google.protobuf.ByteString value)
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;value - The bytes of the resourcePolicies to add.public boolean hasScheduling()
Specifies the scheduling options for the instances that are created from these properties.
optional .google.cloud.compute.v1.Scheduling scheduling = 386688404;hasScheduling in interface InstancePropertiesOrBuilderpublic Scheduling getScheduling()
Specifies the scheduling options for the instances that are created from these properties.
optional .google.cloud.compute.v1.Scheduling scheduling = 386688404;getScheduling in interface InstancePropertiesOrBuilderpublic InstanceProperties.Builder setScheduling(Scheduling value)
Specifies the scheduling options for the instances that are created from these properties.
optional .google.cloud.compute.v1.Scheduling scheduling = 386688404;public InstanceProperties.Builder setScheduling(Scheduling.Builder builderForValue)
Specifies the scheduling options for the instances that are created from these properties.
optional .google.cloud.compute.v1.Scheduling scheduling = 386688404;public InstanceProperties.Builder mergeScheduling(Scheduling value)
Specifies the scheduling options for the instances that are created from these properties.
optional .google.cloud.compute.v1.Scheduling scheduling = 386688404;public InstanceProperties.Builder clearScheduling()
Specifies the scheduling options for the instances that are created from these properties.
optional .google.cloud.compute.v1.Scheduling scheduling = 386688404;public Scheduling.Builder getSchedulingBuilder()
Specifies the scheduling options for the instances that are created from these properties.
optional .google.cloud.compute.v1.Scheduling scheduling = 386688404;public SchedulingOrBuilder getSchedulingOrBuilder()
Specifies the scheduling options for the instances that are created from these properties.
optional .google.cloud.compute.v1.Scheduling scheduling = 386688404;getSchedulingOrBuilder in interface InstancePropertiesOrBuilderpublic List<ServiceAccount> 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;getServiceAccountsList in interface InstancePropertiesOrBuilderpublic 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;getServiceAccountsCount in interface InstancePropertiesOrBuilderpublic ServiceAccount getServiceAccounts(int index)
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;getServiceAccounts in interface InstancePropertiesOrBuilderpublic InstanceProperties.Builder setServiceAccounts(int index, ServiceAccount value)
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;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;public InstanceProperties.Builder addServiceAccounts(ServiceAccount value)
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;public InstanceProperties.Builder addServiceAccounts(int index, ServiceAccount value)
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;public InstanceProperties.Builder addServiceAccounts(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;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;public InstanceProperties.Builder addAllServiceAccounts(Iterable<? extends ServiceAccount> values)
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;public InstanceProperties.Builder 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;public InstanceProperties.Builder removeServiceAccounts(int index)
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;public ServiceAccount.Builder getServiceAccountsBuilder(int index)
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;public ServiceAccountOrBuilder getServiceAccountsOrBuilder(int index)
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 in interface InstancePropertiesOrBuilderpublic List<? extends ServiceAccountOrBuilder> 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;getServiceAccountsOrBuilderList in interface InstancePropertiesOrBuilderpublic ServiceAccount.Builder 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;public ServiceAccount.Builder addServiceAccountsBuilder(int index)
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;public List<ServiceAccount.Builder> 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;public boolean hasShieldedInstanceConfig()
Note that for MachineImage, this is not supported yet.
optional .google.cloud.compute.v1.ShieldedInstanceConfig shielded_instance_config = 12862901;
hasShieldedInstanceConfig in interface InstancePropertiesOrBuilderpublic ShieldedInstanceConfig getShieldedInstanceConfig()
Note that for MachineImage, this is not supported yet.
optional .google.cloud.compute.v1.ShieldedInstanceConfig shielded_instance_config = 12862901;
getShieldedInstanceConfig in interface InstancePropertiesOrBuilderpublic InstanceProperties.Builder setShieldedInstanceConfig(ShieldedInstanceConfig value)
Note that for MachineImage, this is not supported yet.
optional .google.cloud.compute.v1.ShieldedInstanceConfig shielded_instance_config = 12862901;
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;
public InstanceProperties.Builder mergeShieldedInstanceConfig(ShieldedInstanceConfig value)
Note that for MachineImage, this is not supported yet.
optional .google.cloud.compute.v1.ShieldedInstanceConfig shielded_instance_config = 12862901;
public InstanceProperties.Builder clearShieldedInstanceConfig()
Note that for MachineImage, this is not supported yet.
optional .google.cloud.compute.v1.ShieldedInstanceConfig shielded_instance_config = 12862901;
public ShieldedInstanceConfig.Builder getShieldedInstanceConfigBuilder()
Note that for MachineImage, this is not supported yet.
optional .google.cloud.compute.v1.ShieldedInstanceConfig shielded_instance_config = 12862901;
public ShieldedInstanceConfigOrBuilder getShieldedInstanceConfigOrBuilder()
Note that for MachineImage, this is not supported yet.
optional .google.cloud.compute.v1.ShieldedInstanceConfig shielded_instance_config = 12862901;
getShieldedInstanceConfigOrBuilder in interface InstancePropertiesOrBuilderpublic 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;hasTags in interface InstancePropertiesOrBuilderpublic Tags 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;getTags in interface InstancePropertiesOrBuilderpublic InstanceProperties.Builder setTags(Tags value)
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;public InstanceProperties.Builder setTags(Tags.Builder builderForValue)
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;public InstanceProperties.Builder mergeTags(Tags value)
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;public InstanceProperties.Builder 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;public Tags.Builder 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;public TagsOrBuilder 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;getTagsOrBuilder in interface InstancePropertiesOrBuilderpublic final InstanceProperties.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<InstanceProperties.Builder>public final InstanceProperties.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<InstanceProperties.Builder>Copyright © 2023 Google LLC. All rights reserved.