Package com.google.cloud.compute.v1
Class SourceInstanceProperties.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<SourceInstanceProperties.Builder>
com.google.cloud.compute.v1.SourceInstanceProperties.Builder
- All Implemented Interfaces:
SourceInstancePropertiesOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- SourceInstanceProperties
public static final class SourceInstanceProperties.Builder
extends com.google.protobuf.GeneratedMessage.Builder<SourceInstanceProperties.Builder>
implements SourceInstancePropertiesOrBuilder
DEPRECATED: Please use compute#instanceProperties instead. New properties will not be added to this field.Protobuf type
google.cloud.compute.v1.SourceInstanceProperties-
Method Summary
Modifier and TypeMethodDescriptionaddAllDisks(Iterable<? extends SavedAttachedDisk> values) An array of disks that are associated with the instances that are created from this machine image.addAllGuestAccelerators(Iterable<? extends AcceleratorConfig> values) A list of guest accelerator cards' type and count to use for instances created from this machine image.addAllNetworkInterfaces(Iterable<? extends NetworkInterface> values) An array of network access configurations for this interface.addAllServiceAccounts(Iterable<? extends ServiceAccount> values) A list of service accounts with specified scopes.addDisks(int index, SavedAttachedDisk value) An array of disks that are associated with the instances that are created from this machine image.addDisks(int index, SavedAttachedDisk.Builder builderForValue) An array of disks that are associated with the instances that are created from this machine image.addDisks(SavedAttachedDisk value) An array of disks that are associated with the instances that are created from this machine image.addDisks(SavedAttachedDisk.Builder builderForValue) An array of disks that are associated with the instances that are created from this machine image.An array of disks that are associated with the instances that are created from this machine image.addDisksBuilder(int index) An array of disks that are associated with the instances that are created from this machine image.addGuestAccelerators(int index, AcceleratorConfig value) A list of guest accelerator cards' type and count to use for instances created from this machine image.addGuestAccelerators(int index, AcceleratorConfig.Builder builderForValue) A list of guest accelerator cards' type and count to use for instances created from this machine image.A list of guest accelerator cards' type and count to use for instances created from this machine image.addGuestAccelerators(AcceleratorConfig.Builder builderForValue) A list of guest accelerator cards' type and count to use for instances created from this machine image.A list of guest accelerator cards' type and count to use for instances created from this machine image.addGuestAcceleratorsBuilder(int index) A list of guest accelerator cards' type and count to use for instances created from this machine image.addNetworkInterfaces(int index, NetworkInterface value) An array of network access configurations for this interface.addNetworkInterfaces(int index, NetworkInterface.Builder builderForValue) An array of network access configurations for this interface.An array of network access configurations for this interface.addNetworkInterfaces(NetworkInterface.Builder builderForValue) An array of network access configurations for this interface.An array of network access configurations for this interface.addNetworkInterfacesBuilder(int index) An array of network access configurations for this interface.addServiceAccounts(int index, ServiceAccount value) A list of service accounts with specified scopes.addServiceAccounts(int index, ServiceAccount.Builder builderForValue) A list of service accounts with specified scopes.addServiceAccounts(ServiceAccount value) A list of service accounts with specified scopes.addServiceAccounts(ServiceAccount.Builder builderForValue) A list of service accounts with specified scopes.A list of service accounts with specified scopes.addServiceAccountsBuilder(int index) A list of service accounts with specified scopes.build()clear()Enables instances created based on this machine image to send packets with source IP addresses other than their own and receive packets with destination IP addresses other than their own.Whether the instance created from this machine image should be protected against deletion.An optional text description for the instances that are created from this machine image.An array of disks that are associated with the instances that are created from this machine image.A list of guest accelerator cards' type and count to use for instances created from this machine image.KeyRevocationActionType of the instance.The machine type to use for instances that are created from this machine image.The metadata key/value pairs to assign to instances that are created from this machine image.Minimum cpu/platform to be used by instances created from this machine image.An array of network access configurations for this interface.PostKeyRevocationActionType of the instance.Specifies the scheduling options for the instances that are created from this machine image.A list of service accounts with specified scopes.A list of tags to apply to the instances that are created from this machine image.booleancontainsLabels(String key) Labels to apply to instances that are created from this machine image.booleanEnables instances created based on this machine image to send packets with source IP addresses other than their own and receive packets with destination IP addresses other than their own.booleanWhether the instance created from this machine image should be protected against deletion.An optional text description for the instances that are created from this machine image.com.google.protobuf.ByteStringAn optional text description for the instances that are created from this machine image.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorgetDisks(int index) An array of disks that are associated with the instances that are created from this machine image.getDisksBuilder(int index) An array of disks that are associated with the instances that are created from this machine image.An array of disks that are associated with the instances that are created from this machine image.intAn array of disks that are associated with the instances that are created from this machine image.An array of disks that are associated with the instances that are created from this machine image.getDisksOrBuilder(int index) An array of disks that are associated with the instances that are created from this machine image.List<? extends SavedAttachedDiskOrBuilder>An array of disks that are associated with the instances that are created from this machine image.getGuestAccelerators(int index) A list of guest accelerator cards' type and count to use for instances created from this machine image.getGuestAcceleratorsBuilder(int index) A list of guest accelerator cards' type and count to use for instances created from this machine image.A list of guest accelerator cards' type and count to use for instances created from this machine image.intA list of guest accelerator cards' type and count to use for instances created from this machine image.A list of guest accelerator cards' type and count to use for instances created from this machine image.getGuestAcceleratorsOrBuilder(int index) A list of guest accelerator cards' type and count to use for instances created from this machine image.List<? extends AcceleratorConfigOrBuilder>A list of guest accelerator cards' type and count to use for instances created from this machine image.KeyRevocationActionType of the instance.com.google.protobuf.ByteStringKeyRevocationActionType of the instance.Deprecated.intLabels to apply to instances that are created from this machine image.Labels to apply to instances that are created from this machine image.getLabelsOrDefault(String key, String defaultValue) Labels to apply to instances that are created from this machine image.getLabelsOrThrow(String key) Labels to apply to instances that are created from this machine image.The machine type to use for instances that are created from this machine image.com.google.protobuf.ByteStringThe machine type to use for instances that are created from this machine image.The metadata key/value pairs to assign to instances that are created from this machine image.The metadata key/value pairs to assign to instances that are created from this machine image.The metadata key/value pairs to assign to instances that are created from this machine image.Minimum cpu/platform to be used by instances created from this machine image.com.google.protobuf.ByteStringMinimum cpu/platform to be used by instances created from this machine image.Deprecated.getNetworkInterfaces(int index) An array of network access configurations for this interface.getNetworkInterfacesBuilder(int index) An array of network access configurations for this interface.An array of network access configurations for this interface.intAn array of network access configurations for this interface.An array of network access configurations for this interface.getNetworkInterfacesOrBuilder(int index) An array of network access configurations for this interface.List<? extends NetworkInterfaceOrBuilder>An array of network access configurations for this interface.PostKeyRevocationActionType of the instance.com.google.protobuf.ByteStringPostKeyRevocationActionType of the instance.Specifies the scheduling options for the instances that are created from this machine image.Specifies the scheduling options for the instances that are created from this machine image.Specifies the scheduling options for the instances that are created from this machine image.getServiceAccounts(int index) A list of service accounts with specified scopes.getServiceAccountsBuilder(int index) A list of service accounts with specified scopes.A list of service accounts with specified scopes.intA list of service accounts with specified scopes.A list of service accounts with specified scopes.getServiceAccountsOrBuilder(int index) A list of service accounts with specified scopes.List<? extends ServiceAccountOrBuilder>A list of service accounts with specified scopes.getTags()A list of tags to apply to the instances that are created from this machine image.A list of tags to apply to the instances that are created from this machine image.A list of tags to apply to the instances that are created from this machine image.booleanEnables instances created based on this machine image to send packets with source IP addresses other than their own and receive packets with destination IP addresses other than their own.booleanWhether the instance created from this machine image should be protected against deletion.booleanAn optional text description for the instances that are created from this machine image.booleanKeyRevocationActionType of the instance.booleanThe machine type to use for instances that are created from this machine image.booleanThe metadata key/value pairs to assign to instances that are created from this machine image.booleanMinimum cpu/platform to be used by instances created from this machine image.booleanPostKeyRevocationActionType of the instance.booleanSpecifies the scheduling options for the instances that are created from this machine image.booleanhasTags()A list of tags to apply to the instances that are created from this machine image.protected com.google.protobuf.GeneratedMessage.FieldAccessorTableprotected com.google.protobuf.MapFieldReflectionAccessorinternalGetMapFieldReflection(int number) protected com.google.protobuf.MapFieldReflectionAccessorinternalGetMutableMapFieldReflection(int number) final booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeMetadata(Metadata value) The metadata key/value pairs to assign to instances that are created from this machine image.mergeScheduling(Scheduling value) Specifies the scheduling options for the instances that are created from this machine image.A list of tags to apply to the instances that are created from this machine image.putAllLabels(Map<String, String> values) Labels to apply to instances that are created from this machine image.Labels to apply to instances that are created from this machine image.removeDisks(int index) An array of disks that are associated with the instances that are created from this machine image.removeGuestAccelerators(int index) A list of guest accelerator cards' type and count to use for instances created from this machine image.removeLabels(String key) Labels to apply to instances that are created from this machine image.removeNetworkInterfaces(int index) An array of network access configurations for this interface.removeServiceAccounts(int index) A list of service accounts with specified scopes.setCanIpForward(boolean value) Enables instances created based on this machine image to send packets with source IP addresses other than their own and receive packets with destination IP addresses other than their own.setDeletionProtection(boolean value) Whether the instance created from this machine image should be protected against deletion.setDescription(String value) An optional text description for the instances that are created from this machine image.setDescriptionBytes(com.google.protobuf.ByteString value) An optional text description for the instances that are created from this machine image.setDisks(int index, SavedAttachedDisk value) An array of disks that are associated with the instances that are created from this machine image.setDisks(int index, SavedAttachedDisk.Builder builderForValue) An array of disks that are associated with the instances that are created from this machine image.setGuestAccelerators(int index, AcceleratorConfig value) A list of guest accelerator cards' type and count to use for instances created from this machine image.setGuestAccelerators(int index, AcceleratorConfig.Builder builderForValue) A list of guest accelerator cards' type and count to use for instances created from this machine image.setKeyRevocationActionType(String value) KeyRevocationActionType of the instance.setKeyRevocationActionTypeBytes(com.google.protobuf.ByteString value) KeyRevocationActionType of the instance.setMachineType(String value) The machine type to use for instances that are created from this machine image.setMachineTypeBytes(com.google.protobuf.ByteString value) The machine type to use for instances that are created from this machine image.setMetadata(Metadata value) The metadata key/value pairs to assign to instances that are created from this machine image.setMetadata(Metadata.Builder builderForValue) The metadata key/value pairs to assign to instances that are created from this machine image.setMinCpuPlatform(String value) Minimum cpu/platform to be used by instances created from this machine image.setMinCpuPlatformBytes(com.google.protobuf.ByteString value) Minimum cpu/platform to be used by instances created from this machine image.setNetworkInterfaces(int index, NetworkInterface value) An array of network access configurations for this interface.setNetworkInterfaces(int index, NetworkInterface.Builder builderForValue) An array of network access configurations for this interface.PostKeyRevocationActionType of the instance.setPostKeyRevocationActionTypeBytes(com.google.protobuf.ByteString value) PostKeyRevocationActionType of the instance.setScheduling(Scheduling value) Specifies the scheduling options for the instances that are created from this machine image.setScheduling(Scheduling.Builder builderForValue) Specifies the scheduling options for the instances that are created from this machine image.setServiceAccounts(int index, ServiceAccount value) A list of service accounts with specified scopes.setServiceAccounts(int index, ServiceAccount.Builder builderForValue) A list of service accounts with specified scopes.A list of tags to apply to the instances that are created from this machine image.setTags(Tags.Builder builderForValue) A list of tags to apply to the instances that are created from this machine image.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number) - Overrides:
internalGetMapFieldReflectionin classcom.google.protobuf.GeneratedMessage.Builder<SourceInstanceProperties.Builder>
-
internalGetMutableMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number) - Overrides:
internalGetMutableMapFieldReflectionin classcom.google.protobuf.GeneratedMessage.Builder<SourceInstanceProperties.Builder>
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<SourceInstanceProperties.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<SourceInstanceProperties.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<SourceInstanceProperties.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<SourceInstanceProperties.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<SourceInstanceProperties.Builder>
-
mergeFrom
public SourceInstanceProperties.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<SourceInstanceProperties.Builder>- Throws:
IOException
-
hasCanIpForward
public boolean hasCanIpForward()Enables instances created based on this machine image to send packets with source IP addresses other than their own and receive packets with destination IP addresses other than their own. If these instances will be used as an IP gateway or it will be set as the next-hop in a Route resource, specify true. If unsure, leave this set tofalse. See theEnable IP forwarding documentation for more information.
optional bool can_ip_forward = 467731324;- Specified by:
hasCanIpForwardin interfaceSourceInstancePropertiesOrBuilder- Returns:
- Whether the canIpForward field is set.
-
getCanIpForward
public boolean getCanIpForward()Enables instances created based on this machine image to send packets with source IP addresses other than their own and receive packets with destination IP addresses other than their own. If these instances will be used as an IP gateway or it will be set as the next-hop in a Route resource, specify true. If unsure, leave this set tofalse. See theEnable IP forwarding documentation for more information.
optional bool can_ip_forward = 467731324;- Specified by:
getCanIpForwardin interfaceSourceInstancePropertiesOrBuilder- Returns:
- The canIpForward.
-
setCanIpForward
Enables instances created based on this machine image to send packets with source IP addresses other than their own and receive packets with destination IP addresses other than their own. If these instances will be used as an IP gateway or it will be set as the next-hop in a Route resource, specify true. If unsure, leave this set tofalse. See theEnable IP forwarding documentation for more information.
optional bool can_ip_forward = 467731324;- Parameters:
value- The canIpForward to set.- Returns:
- This builder for chaining.
-
clearCanIpForward
Enables instances created based on this machine image to send packets with source IP addresses other than their own and receive packets with destination IP addresses other than their own. If these instances will be used as an IP gateway or it will be set as the next-hop in a Route resource, specify true. If unsure, leave this set tofalse. See theEnable IP forwarding documentation for more information.
optional bool can_ip_forward = 467731324;- Returns:
- This builder for chaining.
-
hasDeletionProtection
public boolean hasDeletionProtection()Whether the instance created from this machine image should be protected against deletion.
optional bool deletion_protection = 458014698;- Specified by:
hasDeletionProtectionin interfaceSourceInstancePropertiesOrBuilder- Returns:
- Whether the deletionProtection field is set.
-
getDeletionProtection
public boolean getDeletionProtection()Whether the instance created from this machine image should be protected against deletion.
optional bool deletion_protection = 458014698;- Specified by:
getDeletionProtectionin interfaceSourceInstancePropertiesOrBuilder- Returns:
- The deletionProtection.
-
setDeletionProtection
Whether the instance created from this machine image should be protected against deletion.
optional bool deletion_protection = 458014698;- Parameters:
value- The deletionProtection to set.- Returns:
- This builder for chaining.
-
clearDeletionProtection
Whether the instance created from this machine image should be protected against deletion.
optional bool deletion_protection = 458014698;- Returns:
- This builder for chaining.
-
hasDescription
public boolean hasDescription()An optional text description for the instances that are created from this machine image.
optional string description = 422937596;- Specified by:
hasDescriptionin interfaceSourceInstancePropertiesOrBuilder- Returns:
- Whether the description field is set.
-
getDescription
An optional text description for the instances that are created from this machine image.
optional string description = 422937596;- Specified by:
getDescriptionin interfaceSourceInstancePropertiesOrBuilder- Returns:
- The description.
-
getDescriptionBytes
public com.google.protobuf.ByteString getDescriptionBytes()An optional text description for the instances that are created from this machine image.
optional string description = 422937596;- Specified by:
getDescriptionBytesin interfaceSourceInstancePropertiesOrBuilder- Returns:
- The bytes for description.
-
setDescription
An optional text description for the instances that are created from this machine image.
optional string description = 422937596;- Parameters:
value- The description to set.- Returns:
- This builder for chaining.
-
clearDescription
An optional text description for the instances that are created from this machine image.
optional string description = 422937596;- Returns:
- This builder for chaining.
-
setDescriptionBytes
An optional text description for the instances that are created from this machine image.
optional string description = 422937596;- Parameters:
value- The bytes for description to set.- Returns:
- This builder for chaining.
-
getDisksList
An array of disks that are associated with the instances that are created from this machine image.
repeated .google.cloud.compute.v1.SavedAttachedDisk disks = 95594102;- Specified by:
getDisksListin interfaceSourceInstancePropertiesOrBuilder
-
getDisksCount
public int getDisksCount()An array of disks that are associated with the instances that are created from this machine image.
repeated .google.cloud.compute.v1.SavedAttachedDisk disks = 95594102;- Specified by:
getDisksCountin interfaceSourceInstancePropertiesOrBuilder
-
getDisks
An array of disks that are associated with the instances that are created from this machine image.
repeated .google.cloud.compute.v1.SavedAttachedDisk disks = 95594102;- Specified by:
getDisksin interfaceSourceInstancePropertiesOrBuilder
-
setDisks
An array of disks that are associated with the instances that are created from this machine image.
repeated .google.cloud.compute.v1.SavedAttachedDisk disks = 95594102; -
setDisks
public SourceInstanceProperties.Builder setDisks(int index, SavedAttachedDisk.Builder builderForValue) An array of disks that are associated with the instances that are created from this machine image.
repeated .google.cloud.compute.v1.SavedAttachedDisk disks = 95594102; -
addDisks
An array of disks that are associated with the instances that are created from this machine image.
repeated .google.cloud.compute.v1.SavedAttachedDisk disks = 95594102; -
addDisks
An array of disks that are associated with the instances that are created from this machine image.
repeated .google.cloud.compute.v1.SavedAttachedDisk disks = 95594102; -
addDisks
An array of disks that are associated with the instances that are created from this machine image.
repeated .google.cloud.compute.v1.SavedAttachedDisk disks = 95594102; -
addDisks
public SourceInstanceProperties.Builder addDisks(int index, SavedAttachedDisk.Builder builderForValue) An array of disks that are associated with the instances that are created from this machine image.
repeated .google.cloud.compute.v1.SavedAttachedDisk disks = 95594102; -
addAllDisks
An array of disks that are associated with the instances that are created from this machine image.
repeated .google.cloud.compute.v1.SavedAttachedDisk disks = 95594102; -
clearDisks
An array of disks that are associated with the instances that are created from this machine image.
repeated .google.cloud.compute.v1.SavedAttachedDisk disks = 95594102; -
removeDisks
An array of disks that are associated with the instances that are created from this machine image.
repeated .google.cloud.compute.v1.SavedAttachedDisk disks = 95594102; -
getDisksBuilder
An array of disks that are associated with the instances that are created from this machine image.
repeated .google.cloud.compute.v1.SavedAttachedDisk disks = 95594102; -
getDisksOrBuilder
An array of disks that are associated with the instances that are created from this machine image.
repeated .google.cloud.compute.v1.SavedAttachedDisk disks = 95594102;- Specified by:
getDisksOrBuilderin interfaceSourceInstancePropertiesOrBuilder
-
getDisksOrBuilderList
An array of disks that are associated with the instances that are created from this machine image.
repeated .google.cloud.compute.v1.SavedAttachedDisk disks = 95594102;- Specified by:
getDisksOrBuilderListin interfaceSourceInstancePropertiesOrBuilder
-
addDisksBuilder
An array of disks that are associated with the instances that are created from this machine image.
repeated .google.cloud.compute.v1.SavedAttachedDisk disks = 95594102; -
addDisksBuilder
An array of disks that are associated with the instances that are created from this machine image.
repeated .google.cloud.compute.v1.SavedAttachedDisk disks = 95594102; -
getDisksBuilderList
An array of disks that are associated with the instances that are created from this machine image.
repeated .google.cloud.compute.v1.SavedAttachedDisk disks = 95594102; -
getGuestAcceleratorsList
A list of guest accelerator cards' type and count to use for instances created from this machine image.
repeated .google.cloud.compute.v1.AcceleratorConfig guest_accelerators = 463595119;- Specified by:
getGuestAcceleratorsListin interfaceSourceInstancePropertiesOrBuilder
-
getGuestAcceleratorsCount
public int getGuestAcceleratorsCount()A list of guest accelerator cards' type and count to use for instances created from this machine image.
repeated .google.cloud.compute.v1.AcceleratorConfig guest_accelerators = 463595119;- Specified by:
getGuestAcceleratorsCountin interfaceSourceInstancePropertiesOrBuilder
-
getGuestAccelerators
A list of guest accelerator cards' type and count to use for instances created from this machine image.
repeated .google.cloud.compute.v1.AcceleratorConfig guest_accelerators = 463595119;- Specified by:
getGuestAcceleratorsin interfaceSourceInstancePropertiesOrBuilder
-
setGuestAccelerators
A list of guest accelerator cards' type and count to use for instances created from this machine image.
repeated .google.cloud.compute.v1.AcceleratorConfig guest_accelerators = 463595119; -
setGuestAccelerators
public SourceInstanceProperties.Builder setGuestAccelerators(int index, AcceleratorConfig.Builder builderForValue) A list of guest accelerator cards' type and count to use for instances created from this machine image.
repeated .google.cloud.compute.v1.AcceleratorConfig guest_accelerators = 463595119; -
addGuestAccelerators
A list of guest accelerator cards' type and count to use for instances created from this machine image.
repeated .google.cloud.compute.v1.AcceleratorConfig guest_accelerators = 463595119; -
addGuestAccelerators
A list of guest accelerator cards' type and count to use for instances created from this machine image.
repeated .google.cloud.compute.v1.AcceleratorConfig guest_accelerators = 463595119; -
addGuestAccelerators
public SourceInstanceProperties.Builder addGuestAccelerators(AcceleratorConfig.Builder builderForValue) A list of guest accelerator cards' type and count to use for instances created from this machine image.
repeated .google.cloud.compute.v1.AcceleratorConfig guest_accelerators = 463595119; -
addGuestAccelerators
public SourceInstanceProperties.Builder addGuestAccelerators(int index, AcceleratorConfig.Builder builderForValue) A list of guest accelerator cards' type and count to use for instances created from this machine image.
repeated .google.cloud.compute.v1.AcceleratorConfig guest_accelerators = 463595119; -
addAllGuestAccelerators
public SourceInstanceProperties.Builder addAllGuestAccelerators(Iterable<? extends AcceleratorConfig> values) A list of guest accelerator cards' type and count to use for instances created from this machine image.
repeated .google.cloud.compute.v1.AcceleratorConfig guest_accelerators = 463595119; -
clearGuestAccelerators
A list of guest accelerator cards' type and count to use for instances created from this machine image.
repeated .google.cloud.compute.v1.AcceleratorConfig guest_accelerators = 463595119; -
removeGuestAccelerators
A list of guest accelerator cards' type and count to use for instances created from this machine image.
repeated .google.cloud.compute.v1.AcceleratorConfig guest_accelerators = 463595119; -
getGuestAcceleratorsBuilder
A list of guest accelerator cards' type and count to use for instances created from this machine image.
repeated .google.cloud.compute.v1.AcceleratorConfig guest_accelerators = 463595119; -
getGuestAcceleratorsOrBuilder
A list of guest accelerator cards' type and count to use for instances created from this machine image.
repeated .google.cloud.compute.v1.AcceleratorConfig guest_accelerators = 463595119;- Specified by:
getGuestAcceleratorsOrBuilderin interfaceSourceInstancePropertiesOrBuilder
-
getGuestAcceleratorsOrBuilderList
A list of guest accelerator cards' type and count to use for instances created from this machine image.
repeated .google.cloud.compute.v1.AcceleratorConfig guest_accelerators = 463595119;- Specified by:
getGuestAcceleratorsOrBuilderListin interfaceSourceInstancePropertiesOrBuilder
-
addGuestAcceleratorsBuilder
A list of guest accelerator cards' type and count to use for instances created from this machine image.
repeated .google.cloud.compute.v1.AcceleratorConfig guest_accelerators = 463595119; -
addGuestAcceleratorsBuilder
A list of guest accelerator cards' type and count to use for instances created from this machine image.
repeated .google.cloud.compute.v1.AcceleratorConfig guest_accelerators = 463595119; -
getGuestAcceleratorsBuilderList
A list of guest accelerator cards' type and count to use for instances created from this machine image.
repeated .google.cloud.compute.v1.AcceleratorConfig guest_accelerators = 463595119; -
hasKeyRevocationActionType
public boolean hasKeyRevocationActionType()KeyRevocationActionType of the instance. Supported options are "STOP" and "NONE". The default value is "NONE" if it is not specified. Check the KeyRevocationActionType enum for the list of possible values.
optional string key_revocation_action_type = 235941474;- Specified by:
hasKeyRevocationActionTypein interfaceSourceInstancePropertiesOrBuilder- Returns:
- Whether the keyRevocationActionType field is set.
-
getKeyRevocationActionType
KeyRevocationActionType of the instance. Supported options are "STOP" and "NONE". The default value is "NONE" if it is not specified. Check the KeyRevocationActionType enum for the list of possible values.
optional string key_revocation_action_type = 235941474;- Specified by:
getKeyRevocationActionTypein interfaceSourceInstancePropertiesOrBuilder- Returns:
- The keyRevocationActionType.
-
getKeyRevocationActionTypeBytes
public com.google.protobuf.ByteString getKeyRevocationActionTypeBytes()KeyRevocationActionType of the instance. Supported options are "STOP" and "NONE". The default value is "NONE" if it is not specified. Check the KeyRevocationActionType enum for the list of possible values.
optional string key_revocation_action_type = 235941474;- Specified by:
getKeyRevocationActionTypeBytesin interfaceSourceInstancePropertiesOrBuilder- Returns:
- The bytes for keyRevocationActionType.
-
setKeyRevocationActionType
KeyRevocationActionType of the instance. Supported options are "STOP" and "NONE". The default value is "NONE" if it is not specified. Check the KeyRevocationActionType enum for the list of possible values.
optional string key_revocation_action_type = 235941474;- Parameters:
value- The keyRevocationActionType to set.- Returns:
- This builder for chaining.
-
clearKeyRevocationActionType
KeyRevocationActionType of the instance. Supported options are "STOP" and "NONE". The default value is "NONE" if it is not specified. Check the KeyRevocationActionType enum for the list of possible values.
optional string key_revocation_action_type = 235941474;- Returns:
- This builder for chaining.
-
setKeyRevocationActionTypeBytes
public SourceInstanceProperties.Builder setKeyRevocationActionTypeBytes(com.google.protobuf.ByteString value) KeyRevocationActionType of the instance. Supported options are "STOP" and "NONE". The default value is "NONE" if it is not specified. Check the KeyRevocationActionType enum for the list of possible values.
optional string key_revocation_action_type = 235941474;- Parameters:
value- The bytes for keyRevocationActionType to set.- Returns:
- This builder for chaining.
-
getLabelsCount
public int getLabelsCount()Description copied from interface:SourceInstancePropertiesOrBuilderLabels to apply to instances that are created from this machine image.
map<string, string> labels = 500195327;- Specified by:
getLabelsCountin interfaceSourceInstancePropertiesOrBuilder
-
containsLabels
Labels to apply to instances that are created from this machine image.
map<string, string> labels = 500195327;- Specified by:
containsLabelsin interfaceSourceInstancePropertiesOrBuilder
-
getLabels
Deprecated.UsegetLabelsMap()instead.- Specified by:
getLabelsin interfaceSourceInstancePropertiesOrBuilder
-
getLabelsMap
Labels to apply to instances that are created from this machine image.
map<string, string> labels = 500195327;- Specified by:
getLabelsMapin interfaceSourceInstancePropertiesOrBuilder
-
getLabelsOrDefault
Labels to apply to instances that are created from this machine image.
map<string, string> labels = 500195327;- Specified by:
getLabelsOrDefaultin interfaceSourceInstancePropertiesOrBuilder
-
getLabelsOrThrow
Labels to apply to instances that are created from this machine image.
map<string, string> labels = 500195327;- Specified by:
getLabelsOrThrowin interfaceSourceInstancePropertiesOrBuilder
-
clearLabels
-
removeLabels
Labels to apply to instances that are created from this machine image.
map<string, string> labels = 500195327; -
getMutableLabels
Deprecated.Use alternate mutation accessors instead. -
putLabels
Labels to apply to instances that are created from this machine image.
map<string, string> labels = 500195327; -
putAllLabels
Labels to apply to instances that are created from this machine image.
map<string, string> labels = 500195327; -
hasMachineType
public boolean hasMachineType()The machine type to use for instances that are created from this machine image.
optional string machine_type = 227711026;- Specified by:
hasMachineTypein interfaceSourceInstancePropertiesOrBuilder- Returns:
- Whether the machineType field is set.
-
getMachineType
The machine type to use for instances that are created from this machine image.
optional string machine_type = 227711026;- Specified by:
getMachineTypein interfaceSourceInstancePropertiesOrBuilder- Returns:
- The machineType.
-
getMachineTypeBytes
public com.google.protobuf.ByteString getMachineTypeBytes()The machine type to use for instances that are created from this machine image.
optional string machine_type = 227711026;- Specified by:
getMachineTypeBytesin interfaceSourceInstancePropertiesOrBuilder- Returns:
- The bytes for machineType.
-
setMachineType
The machine type to use for instances that are created from this machine image.
optional string machine_type = 227711026;- Parameters:
value- The machineType to set.- Returns:
- This builder for chaining.
-
clearMachineType
The machine type to use for instances that are created from this machine image.
optional string machine_type = 227711026;- Returns:
- This builder for chaining.
-
setMachineTypeBytes
The machine type to use for instances that are created from this machine image.
optional string machine_type = 227711026;- Parameters:
value- The bytes for machineType to set.- Returns:
- This builder for chaining.
-
hasMetadata
public boolean hasMetadata()The metadata key/value pairs to assign to instances that are created from this machine image. These pairs can consist of custom metadata or predefined keys. SeeProject and instance metadata for more information.
optional .google.cloud.compute.v1.Metadata metadata = 86866735;- Specified by:
hasMetadatain interfaceSourceInstancePropertiesOrBuilder- Returns:
- Whether the metadata field is set.
-
getMetadata
The metadata key/value pairs to assign to instances that are created from this machine image. These pairs can consist of custom metadata or predefined keys. SeeProject and instance metadata for more information.
optional .google.cloud.compute.v1.Metadata metadata = 86866735;- Specified by:
getMetadatain interfaceSourceInstancePropertiesOrBuilder- Returns:
- The metadata.
-
setMetadata
The metadata key/value pairs to assign to instances that are created from this machine image. These pairs can consist of custom metadata or predefined keys. SeeProject and instance metadata for more information.
optional .google.cloud.compute.v1.Metadata metadata = 86866735; -
setMetadata
The metadata key/value pairs to assign to instances that are created from this machine image. These pairs can consist of custom metadata or predefined keys. SeeProject and instance metadata for more information.
optional .google.cloud.compute.v1.Metadata metadata = 86866735; -
mergeMetadata
The metadata key/value pairs to assign to instances that are created from this machine image. These pairs can consist of custom metadata or predefined keys. SeeProject and instance metadata for more information.
optional .google.cloud.compute.v1.Metadata metadata = 86866735; -
clearMetadata
The metadata key/value pairs to assign to instances that are created from this machine image. These pairs can consist of custom metadata or predefined keys. SeeProject and instance metadata for more information.
optional .google.cloud.compute.v1.Metadata metadata = 86866735; -
getMetadataBuilder
The metadata key/value pairs to assign to instances that are created from this machine image. These pairs can consist of custom metadata or predefined keys. SeeProject and instance metadata for more information.
optional .google.cloud.compute.v1.Metadata metadata = 86866735; -
getMetadataOrBuilder
The metadata key/value pairs to assign to instances that are created from this machine image. These pairs can consist of custom metadata or predefined keys. SeeProject and instance metadata for more information.
optional .google.cloud.compute.v1.Metadata metadata = 86866735;- Specified by:
getMetadataOrBuilderin interfaceSourceInstancePropertiesOrBuilder
-
hasMinCpuPlatform
public boolean hasMinCpuPlatform()Minimum cpu/platform to be used by instances created from this machine image. 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" orminCpuPlatform: "Intel Sandy Bridge". For more information, read Specifying a Minimum CPU Platform.
optional string min_cpu_platform = 242912759;- Specified by:
hasMinCpuPlatformin interfaceSourceInstancePropertiesOrBuilder- Returns:
- Whether the minCpuPlatform field is set.
-
getMinCpuPlatform
Minimum cpu/platform to be used by instances created from this machine image. 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" orminCpuPlatform: "Intel Sandy Bridge". For more information, read Specifying a Minimum CPU Platform.
optional string min_cpu_platform = 242912759;- Specified by:
getMinCpuPlatformin interfaceSourceInstancePropertiesOrBuilder- Returns:
- The minCpuPlatform.
-
getMinCpuPlatformBytes
public com.google.protobuf.ByteString getMinCpuPlatformBytes()Minimum cpu/platform to be used by instances created from this machine image. 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" orminCpuPlatform: "Intel Sandy Bridge". For more information, read Specifying a Minimum CPU Platform.
optional string min_cpu_platform = 242912759;- Specified by:
getMinCpuPlatformBytesin interfaceSourceInstancePropertiesOrBuilder- Returns:
- The bytes for minCpuPlatform.
-
setMinCpuPlatform
Minimum cpu/platform to be used by instances created from this machine image. 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" orminCpuPlatform: "Intel Sandy Bridge". For more information, read Specifying a Minimum CPU Platform.
optional string min_cpu_platform = 242912759;- Parameters:
value- The minCpuPlatform to set.- Returns:
- This builder for chaining.
-
clearMinCpuPlatform
Minimum cpu/platform to be used by instances created from this machine image. 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" orminCpuPlatform: "Intel Sandy Bridge". For more information, read Specifying a Minimum CPU Platform.
optional string min_cpu_platform = 242912759;- Returns:
- This builder for chaining.
-
setMinCpuPlatformBytes
public SourceInstanceProperties.Builder setMinCpuPlatformBytes(com.google.protobuf.ByteString value) Minimum cpu/platform to be used by instances created from this machine image. 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" orminCpuPlatform: "Intel Sandy Bridge". For more information, read Specifying a Minimum CPU Platform.
optional string min_cpu_platform = 242912759;- Parameters:
value- The bytes for minCpuPlatform to set.- Returns:
- This builder for chaining.
-
getNetworkInterfacesList
An array of network access configurations for this interface.
repeated .google.cloud.compute.v1.NetworkInterface network_interfaces = 52735243;- Specified by:
getNetworkInterfacesListin interfaceSourceInstancePropertiesOrBuilder
-
getNetworkInterfacesCount
public int getNetworkInterfacesCount()An array of network access configurations for this interface.
repeated .google.cloud.compute.v1.NetworkInterface network_interfaces = 52735243;- Specified by:
getNetworkInterfacesCountin interfaceSourceInstancePropertiesOrBuilder
-
getNetworkInterfaces
An array of network access configurations for this interface.
repeated .google.cloud.compute.v1.NetworkInterface network_interfaces = 52735243;- Specified by:
getNetworkInterfacesin interfaceSourceInstancePropertiesOrBuilder
-
setNetworkInterfaces
An array of network access configurations for this interface.
repeated .google.cloud.compute.v1.NetworkInterface network_interfaces = 52735243; -
setNetworkInterfaces
public SourceInstanceProperties.Builder setNetworkInterfaces(int index, NetworkInterface.Builder builderForValue) An array of network access configurations for this interface.
repeated .google.cloud.compute.v1.NetworkInterface network_interfaces = 52735243; -
addNetworkInterfaces
An array of network access configurations for this interface.
repeated .google.cloud.compute.v1.NetworkInterface network_interfaces = 52735243; -
addNetworkInterfaces
An array of network access configurations for this interface.
repeated .google.cloud.compute.v1.NetworkInterface network_interfaces = 52735243; -
addNetworkInterfaces
public SourceInstanceProperties.Builder addNetworkInterfaces(NetworkInterface.Builder builderForValue) An array of network access configurations for this interface.
repeated .google.cloud.compute.v1.NetworkInterface network_interfaces = 52735243; -
addNetworkInterfaces
public SourceInstanceProperties.Builder addNetworkInterfaces(int index, NetworkInterface.Builder builderForValue) An array of network access configurations for this interface.
repeated .google.cloud.compute.v1.NetworkInterface network_interfaces = 52735243; -
addAllNetworkInterfaces
public SourceInstanceProperties.Builder addAllNetworkInterfaces(Iterable<? extends NetworkInterface> values) An array of network access configurations for this interface.
repeated .google.cloud.compute.v1.NetworkInterface network_interfaces = 52735243; -
clearNetworkInterfaces
An array of network access configurations for this interface.
repeated .google.cloud.compute.v1.NetworkInterface network_interfaces = 52735243; -
removeNetworkInterfaces
An array of network access configurations for this interface.
repeated .google.cloud.compute.v1.NetworkInterface network_interfaces = 52735243; -
getNetworkInterfacesBuilder
An array of network access configurations for this interface.
repeated .google.cloud.compute.v1.NetworkInterface network_interfaces = 52735243; -
getNetworkInterfacesOrBuilder
An array of network access configurations for this interface.
repeated .google.cloud.compute.v1.NetworkInterface network_interfaces = 52735243;- Specified by:
getNetworkInterfacesOrBuilderin interfaceSourceInstancePropertiesOrBuilder
-
getNetworkInterfacesOrBuilderList
An array of network access configurations for this interface.
repeated .google.cloud.compute.v1.NetworkInterface network_interfaces = 52735243;- Specified by:
getNetworkInterfacesOrBuilderListin interfaceSourceInstancePropertiesOrBuilder
-
addNetworkInterfacesBuilder
An array of network access configurations for this interface.
repeated .google.cloud.compute.v1.NetworkInterface network_interfaces = 52735243; -
addNetworkInterfacesBuilder
An array of network access configurations for this interface.
repeated .google.cloud.compute.v1.NetworkInterface network_interfaces = 52735243; -
getNetworkInterfacesBuilderList
An array of network access configurations for this interface.
repeated .google.cloud.compute.v1.NetworkInterface network_interfaces = 52735243; -
hasPostKeyRevocationActionType
public boolean hasPostKeyRevocationActionType()PostKeyRevocationActionType of the instance. Check the PostKeyRevocationActionType enum for the list of possible values.
optional string post_key_revocation_action_type = 292972897;- Specified by:
hasPostKeyRevocationActionTypein interfaceSourceInstancePropertiesOrBuilder- Returns:
- Whether the postKeyRevocationActionType field is set.
-
getPostKeyRevocationActionType
PostKeyRevocationActionType of the instance. Check the PostKeyRevocationActionType enum for the list of possible values.
optional string post_key_revocation_action_type = 292972897;- Specified by:
getPostKeyRevocationActionTypein interfaceSourceInstancePropertiesOrBuilder- Returns:
- The postKeyRevocationActionType.
-
getPostKeyRevocationActionTypeBytes
public com.google.protobuf.ByteString getPostKeyRevocationActionTypeBytes()PostKeyRevocationActionType of the instance. Check the PostKeyRevocationActionType enum for the list of possible values.
optional string post_key_revocation_action_type = 292972897;- Specified by:
getPostKeyRevocationActionTypeBytesin interfaceSourceInstancePropertiesOrBuilder- Returns:
- The bytes for postKeyRevocationActionType.
-
setPostKeyRevocationActionType
PostKeyRevocationActionType of the instance. Check the PostKeyRevocationActionType enum for the list of possible values.
optional string post_key_revocation_action_type = 292972897;- Parameters:
value- The postKeyRevocationActionType to set.- Returns:
- This builder for chaining.
-
clearPostKeyRevocationActionType
PostKeyRevocationActionType of the instance. Check the PostKeyRevocationActionType enum for the list of possible values.
optional string post_key_revocation_action_type = 292972897;- Returns:
- This builder for chaining.
-
setPostKeyRevocationActionTypeBytes
public SourceInstanceProperties.Builder setPostKeyRevocationActionTypeBytes(com.google.protobuf.ByteString value) PostKeyRevocationActionType of the instance. Check the PostKeyRevocationActionType enum for the list of possible values.
optional string post_key_revocation_action_type = 292972897;- Parameters:
value- The bytes for postKeyRevocationActionType to set.- Returns:
- This builder for chaining.
-
hasScheduling
public boolean hasScheduling()Specifies the scheduling options for the instances that are created from this machine image.
optional .google.cloud.compute.v1.Scheduling scheduling = 386688404;- Specified by:
hasSchedulingin interfaceSourceInstancePropertiesOrBuilder- Returns:
- Whether the scheduling field is set.
-
getScheduling
Specifies the scheduling options for the instances that are created from this machine image.
optional .google.cloud.compute.v1.Scheduling scheduling = 386688404;- Specified by:
getSchedulingin interfaceSourceInstancePropertiesOrBuilder- Returns:
- The scheduling.
-
setScheduling
Specifies the scheduling options for the instances that are created from this machine image.
optional .google.cloud.compute.v1.Scheduling scheduling = 386688404; -
setScheduling
Specifies the scheduling options for the instances that are created from this machine image.
optional .google.cloud.compute.v1.Scheduling scheduling = 386688404; -
mergeScheduling
Specifies the scheduling options for the instances that are created from this machine image.
optional .google.cloud.compute.v1.Scheduling scheduling = 386688404; -
clearScheduling
Specifies the scheduling options for the instances that are created from this machine image.
optional .google.cloud.compute.v1.Scheduling scheduling = 386688404; -
getSchedulingBuilder
Specifies the scheduling options for the instances that are created from this machine image.
optional .google.cloud.compute.v1.Scheduling scheduling = 386688404; -
getSchedulingOrBuilder
Specifies the scheduling options for the instances that are created from this machine image.
optional .google.cloud.compute.v1.Scheduling scheduling = 386688404;- Specified by:
getSchedulingOrBuilderin interfaceSourceInstancePropertiesOrBuilder
-
getServiceAccountsList
A list of service accounts with specified scopes. Access tokens for these service accounts are available to the instances that are created from this machine image. Use metadata queries to obtain the access tokens for these instances.
repeated .google.cloud.compute.v1.ServiceAccount service_accounts = 277537328;- Specified by:
getServiceAccountsListin interfaceSourceInstancePropertiesOrBuilder
-
getServiceAccountsCount
public int getServiceAccountsCount()A list of service accounts with specified scopes. Access tokens for these service accounts are available to the instances that are created from this machine image. Use metadata queries to obtain the access tokens for these instances.
repeated .google.cloud.compute.v1.ServiceAccount service_accounts = 277537328;- Specified by:
getServiceAccountsCountin interfaceSourceInstancePropertiesOrBuilder
-
getServiceAccounts
A list of service accounts with specified scopes. Access tokens for these service accounts are available to the instances that are created from this machine image. Use metadata queries to obtain the access tokens for these instances.
repeated .google.cloud.compute.v1.ServiceAccount service_accounts = 277537328;- Specified by:
getServiceAccountsin interfaceSourceInstancePropertiesOrBuilder
-
setServiceAccounts
A list of service accounts with specified scopes. Access tokens for these service accounts are available to the instances that are created from this machine image. Use metadata queries to obtain the access tokens for these instances.
repeated .google.cloud.compute.v1.ServiceAccount service_accounts = 277537328; -
setServiceAccounts
public SourceInstanceProperties.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 this machine image. Use metadata queries to obtain the access tokens for these instances.
repeated .google.cloud.compute.v1.ServiceAccount service_accounts = 277537328; -
addServiceAccounts
A list of service accounts with specified scopes. Access tokens for these service accounts are available to the instances that are created from this machine image. Use metadata queries to obtain the access tokens for these instances.
repeated .google.cloud.compute.v1.ServiceAccount service_accounts = 277537328; -
addServiceAccounts
A list of service accounts with specified scopes. Access tokens for these service accounts are available to the instances that are created from this machine image. Use metadata queries to obtain the access tokens for these instances.
repeated .google.cloud.compute.v1.ServiceAccount service_accounts = 277537328; -
addServiceAccounts
A list of service accounts with specified scopes. Access tokens for these service accounts are available to the instances that are created from this machine image. Use metadata queries to obtain the access tokens for these instances.
repeated .google.cloud.compute.v1.ServiceAccount service_accounts = 277537328; -
addServiceAccounts
public SourceInstanceProperties.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 this machine image. Use metadata queries to obtain the access tokens for these instances.
repeated .google.cloud.compute.v1.ServiceAccount service_accounts = 277537328; -
addAllServiceAccounts
public SourceInstanceProperties.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 this machine image. Use metadata queries to obtain the access tokens for these instances.
repeated .google.cloud.compute.v1.ServiceAccount service_accounts = 277537328; -
clearServiceAccounts
A list of service accounts with specified scopes. Access tokens for these service accounts are available to the instances that are created from this machine image. Use metadata queries to obtain the access tokens for these instances.
repeated .google.cloud.compute.v1.ServiceAccount service_accounts = 277537328; -
removeServiceAccounts
A list of service accounts with specified scopes. Access tokens for these service accounts are available to the instances that are created from this machine image. Use metadata queries to obtain the access tokens for these instances.
repeated .google.cloud.compute.v1.ServiceAccount service_accounts = 277537328; -
getServiceAccountsBuilder
A list of service accounts with specified scopes. Access tokens for these service accounts are available to the instances that are created from this machine image. Use metadata queries to obtain the access tokens for these instances.
repeated .google.cloud.compute.v1.ServiceAccount service_accounts = 277537328; -
getServiceAccountsOrBuilder
A list of service accounts with specified scopes. Access tokens for these service accounts are available to the instances that are created from this machine image. Use metadata queries to obtain the access tokens for these instances.
repeated .google.cloud.compute.v1.ServiceAccount service_accounts = 277537328;- Specified by:
getServiceAccountsOrBuilderin interfaceSourceInstancePropertiesOrBuilder
-
getServiceAccountsOrBuilderList
A list of service accounts with specified scopes. Access tokens for these service accounts are available to the instances that are created from this machine image. Use metadata queries to obtain the access tokens for these instances.
repeated .google.cloud.compute.v1.ServiceAccount service_accounts = 277537328;- Specified by:
getServiceAccountsOrBuilderListin interfaceSourceInstancePropertiesOrBuilder
-
addServiceAccountsBuilder
A list of service accounts with specified scopes. Access tokens for these service accounts are available to the instances that are created from this machine image. Use metadata queries to obtain the access tokens for these instances.
repeated .google.cloud.compute.v1.ServiceAccount service_accounts = 277537328; -
addServiceAccountsBuilder
A list of service accounts with specified scopes. Access tokens for these service accounts are available to the instances that are created from this machine image. Use metadata queries to obtain the access tokens for these instances.
repeated .google.cloud.compute.v1.ServiceAccount service_accounts = 277537328; -
getServiceAccountsBuilderList
A list of service accounts with specified scopes. Access tokens for these service accounts are available to the instances that are created from this machine image. Use metadata queries to obtain the access tokens for these instances.
repeated .google.cloud.compute.v1.ServiceAccount service_accounts = 277537328; -
hasTags
public boolean hasTags()A list of tags to apply to the instances that are created from this machine image. 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 withRFC1035.
optional .google.cloud.compute.v1.Tags tags = 3552281;- Specified by:
hasTagsin interfaceSourceInstancePropertiesOrBuilder- Returns:
- Whether the tags field is set.
-
getTags
A list of tags to apply to the instances that are created from this machine image. 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 withRFC1035.
optional .google.cloud.compute.v1.Tags tags = 3552281;- Specified by:
getTagsin interfaceSourceInstancePropertiesOrBuilder- Returns:
- The tags.
-
setTags
A list of tags to apply to the instances that are created from this machine image. 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 withRFC1035.
optional .google.cloud.compute.v1.Tags tags = 3552281; -
setTags
A list of tags to apply to the instances that are created from this machine image. 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 withRFC1035.
optional .google.cloud.compute.v1.Tags tags = 3552281; -
mergeTags
A list of tags to apply to the instances that are created from this machine image. 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 withRFC1035.
optional .google.cloud.compute.v1.Tags tags = 3552281; -
clearTags
A list of tags to apply to the instances that are created from this machine image. 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 withRFC1035.
optional .google.cloud.compute.v1.Tags tags = 3552281; -
getTagsBuilder
A list of tags to apply to the instances that are created from this machine image. 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 withRFC1035.
optional .google.cloud.compute.v1.Tags tags = 3552281; -
getTagsOrBuilder
A list of tags to apply to the instances that are created from this machine image. 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 withRFC1035.
optional .google.cloud.compute.v1.Tags tags = 3552281;- Specified by:
getTagsOrBuilderin interfaceSourceInstancePropertiesOrBuilder
-