public static final class SourceInstanceProperties.Builder extends com.google.protobuf.GeneratedMessageV3.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| Modifier and Type | Method and Description |
|---|---|
SourceInstanceProperties.Builder |
addAllDisks(Iterable<? extends SavedAttachedDisk> values)
An array of disks that are associated with the instances that are created from this machine image.
|
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.
|
SourceInstanceProperties.Builder |
addAllNetworkInterfaces(Iterable<? extends NetworkInterface> values)
An array of network access configurations for this interface.
|
SourceInstanceProperties.Builder |
addAllServiceAccounts(Iterable<? extends ServiceAccount> values)
A list of service accounts with specified scopes.
|
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.
|
SourceInstanceProperties.Builder |
addDisks(int index,
SavedAttachedDisk value)
An array of disks that are associated with the instances that are created from this machine image.
|
SourceInstanceProperties.Builder |
addDisks(SavedAttachedDisk.Builder builderForValue)
An array of disks that are associated with the instances that are created from this machine image.
|
SourceInstanceProperties.Builder |
addDisks(SavedAttachedDisk value)
An array of disks that are associated with the instances that are created from this machine image.
|
SavedAttachedDisk.Builder |
addDisksBuilder()
An array of disks that are associated with the instances that are created from this machine image.
|
SavedAttachedDisk.Builder |
addDisksBuilder(int index)
An array of disks that are associated with the instances that are created from this machine image.
|
SourceInstanceProperties.Builder |
addGuestAccelerators(AcceleratorConfig.Builder builderForValue)
A list of guest accelerator cards' type and count to use for instances created from this machine image.
|
SourceInstanceProperties.Builder |
addGuestAccelerators(AcceleratorConfig value)
A list of guest accelerator cards' type and count to use for instances created from this machine image.
|
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.
|
SourceInstanceProperties.Builder |
addGuestAccelerators(int index,
AcceleratorConfig value)
A list of guest accelerator cards' type and count to use for instances created from this machine image.
|
AcceleratorConfig.Builder |
addGuestAcceleratorsBuilder()
A list of guest accelerator cards' type and count to use for instances created from this machine image.
|
AcceleratorConfig.Builder |
addGuestAcceleratorsBuilder(int index)
A list of guest accelerator cards' type and count to use for instances created from this machine image.
|
SourceInstanceProperties.Builder |
addNetworkInterfaces(int index,
NetworkInterface.Builder builderForValue)
An array of network access configurations for this interface.
|
SourceInstanceProperties.Builder |
addNetworkInterfaces(int index,
NetworkInterface value)
An array of network access configurations for this interface.
|
SourceInstanceProperties.Builder |
addNetworkInterfaces(NetworkInterface.Builder builderForValue)
An array of network access configurations for this interface.
|
SourceInstanceProperties.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.
|
SourceInstanceProperties.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
SourceInstanceProperties.Builder |
addServiceAccounts(int index,
ServiceAccount.Builder builderForValue)
A list of service accounts with specified scopes.
|
SourceInstanceProperties.Builder |
addServiceAccounts(int index,
ServiceAccount value)
A list of service accounts with specified scopes.
|
SourceInstanceProperties.Builder |
addServiceAccounts(ServiceAccount.Builder builderForValue)
A list of service accounts with specified scopes.
|
SourceInstanceProperties.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.
|
SourceInstanceProperties |
build() |
SourceInstanceProperties |
buildPartial() |
SourceInstanceProperties.Builder |
clear() |
SourceInstanceProperties.Builder |
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.
|
SourceInstanceProperties.Builder |
clearDeletionProtection()
Whether the instance created from this machine image should be protected against deletion.
|
SourceInstanceProperties.Builder |
clearDescription()
An optional text description for the instances that are created from this machine image.
|
SourceInstanceProperties.Builder |
clearDisks()
An array of disks that are associated with the instances that are created from this machine image.
|
SourceInstanceProperties.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
SourceInstanceProperties.Builder |
clearGuestAccelerators()
A list of guest accelerator cards' type and count to use for instances created from this machine image.
|
SourceInstanceProperties.Builder |
clearKeyRevocationActionType()
KeyRevocationActionType of the instance.
|
SourceInstanceProperties.Builder |
clearLabels() |
SourceInstanceProperties.Builder |
clearMachineType()
The machine type to use for instances that are created from this machine image.
|
SourceInstanceProperties.Builder |
clearMetadata()
The metadata key/value pairs to assign to instances that are created from this machine image.
|
SourceInstanceProperties.Builder |
clearMinCpuPlatform()
Minimum cpu/platform to be used by instances created from this machine image.
|
SourceInstanceProperties.Builder |
clearNetworkInterfaces()
An array of network access configurations for this interface.
|
SourceInstanceProperties.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
SourceInstanceProperties.Builder |
clearScheduling()
Specifies the scheduling options for the instances that are created from this machine image.
|
SourceInstanceProperties.Builder |
clearServiceAccounts()
A list of service accounts with specified scopes.
|
SourceInstanceProperties.Builder |
clearTags()
A list of tags to apply to the instances that are created from this machine image.
|
SourceInstanceProperties.Builder |
clone() |
boolean |
containsLabels(String key)
Labels to apply to instances that are created from this machine image.
|
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.
|
SourceInstanceProperties |
getDefaultInstanceForType() |
boolean |
getDeletionProtection()
Whether the instance created from this machine image should be protected against deletion.
|
String |
getDescription()
An optional text description for the instances that are created from this machine image.
|
com.google.protobuf.ByteString |
getDescriptionBytes()
An optional text description for the instances that are created from this machine image.
|
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
SavedAttachedDisk |
getDisks(int index)
An array of disks that are associated with the instances that are created from this machine image.
|
SavedAttachedDisk.Builder |
getDisksBuilder(int index)
An array of disks that are associated with the instances that are created from this machine image.
|
List<SavedAttachedDisk.Builder> |
getDisksBuilderList()
An array of disks that are associated with the instances that are created from this machine image.
|
int |
getDisksCount()
An array of disks that are associated with the instances that are created from this machine image.
|
List<SavedAttachedDisk> |
getDisksList()
An array of disks that are associated with the instances that are created from this machine image.
|
SavedAttachedDiskOrBuilder |
getDisksOrBuilder(int index)
An array of disks that are associated with the instances that are created from this machine image.
|
List<? extends SavedAttachedDiskOrBuilder> |
getDisksOrBuilderList()
An array of disks that are associated with the instances that are created from this machine image.
|
AcceleratorConfig |
getGuestAccelerators(int index)
A list of guest accelerator cards' type and count to use for instances created from this machine image.
|
AcceleratorConfig.Builder |
getGuestAcceleratorsBuilder(int index)
A list of guest accelerator cards' type and count to use for instances created from this machine image.
|
List<AcceleratorConfig.Builder> |
getGuestAcceleratorsBuilderList()
A list of guest accelerator cards' type and count to use for instances created from this machine image.
|
int |
getGuestAcceleratorsCount()
A list of guest accelerator cards' type and count to use for instances created from this machine image.
|
List<AcceleratorConfig> |
getGuestAcceleratorsList()
A list of guest accelerator cards' type and count to use for instances created from this machine image.
|
AcceleratorConfigOrBuilder |
getGuestAcceleratorsOrBuilder(int index)
A list of guest accelerator cards' type and count to use for instances created from this machine image.
|
List<? extends AcceleratorConfigOrBuilder> |
getGuestAcceleratorsOrBuilderList()
A list of guest accelerator cards' type and count to use for instances created from this machine image.
|
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 this machine image.
|
Map<String,String> |
getLabelsMap()
Labels to apply to instances that are created from this machine image.
|
String |
getLabelsOrDefault(String key,
String defaultValue)
Labels to apply to instances that are created from this machine image.
|
String |
getLabelsOrThrow(String key)
Labels to apply to instances that are created from this machine image.
|
String |
getMachineType()
The machine type to use for instances that are created from this machine image.
|
com.google.protobuf.ByteString |
getMachineTypeBytes()
The machine type to use for instances that are created from this machine image.
|
Metadata |
getMetadata()
The metadata key/value pairs to assign to instances that are created from this machine image.
|
Metadata.Builder |
getMetadataBuilder()
The metadata key/value pairs to assign to instances that are created from this machine image.
|
MetadataOrBuilder |
getMetadataOrBuilder()
The metadata key/value pairs to assign to instances that are created from this machine image.
|
String |
getMinCpuPlatform()
Minimum cpu/platform to be used by instances created from this machine image.
|
com.google.protobuf.ByteString |
getMinCpuPlatformBytes()
Minimum cpu/platform to be used by instances created from this machine image.
|
Map<String,String> |
getMutableLabels()
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.
|
Scheduling |
getScheduling()
Specifies the scheduling options for the instances that are created from this machine image.
|
Scheduling.Builder |
getSchedulingBuilder()
Specifies the scheduling options for the instances that are created from this machine image.
|
SchedulingOrBuilder |
getSchedulingOrBuilder()
Specifies the scheduling options for the instances that are created from this machine image.
|
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.
|
Tags |
getTags()
A list of tags to apply to the instances that are created from this machine image.
|
Tags.Builder |
getTagsBuilder()
A list of tags to apply to the instances that are created from this machine image.
|
TagsOrBuilder |
getTagsOrBuilder()
A list of tags to apply to the instances that are created from this machine image.
|
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.
|
boolean |
hasDeletionProtection()
Whether the instance created from this machine image should be protected against deletion.
|
boolean |
hasDescription()
An optional text description for the instances that are created from this machine image.
|
boolean |
hasKeyRevocationActionType()
KeyRevocationActionType of the instance.
|
boolean |
hasMachineType()
The machine type to use for instances that are created from this machine image.
|
boolean |
hasMetadata()
The metadata key/value pairs to assign to instances that are created from this machine image.
|
boolean |
hasMinCpuPlatform()
Minimum cpu/platform to be used by instances created from this machine image.
|
boolean |
hasScheduling()
Specifies the scheduling options for the instances that are created from this machine image.
|
boolean |
hasTags()
A list of tags to apply to the instances that are created from this machine image.
|
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() |
SourceInstanceProperties.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
SourceInstanceProperties.Builder |
mergeFrom(com.google.protobuf.Message other) |
SourceInstanceProperties.Builder |
mergeFrom(SourceInstanceProperties other) |
SourceInstanceProperties.Builder |
mergeMetadata(Metadata value)
The metadata key/value pairs to assign to instances that are created from this machine image.
|
SourceInstanceProperties.Builder |
mergeScheduling(Scheduling value)
Specifies the scheduling options for the instances that are created from this machine image.
|
SourceInstanceProperties.Builder |
mergeTags(Tags value)
A list of tags to apply to the instances that are created from this machine image.
|
SourceInstanceProperties.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
SourceInstanceProperties.Builder |
putAllLabels(Map<String,String> values)
Labels to apply to instances that are created from this machine image.
|
SourceInstanceProperties.Builder |
putLabels(String key,
String value)
Labels to apply to instances that are created from this machine image.
|
SourceInstanceProperties.Builder |
removeDisks(int index)
An array of disks that are associated with the instances that are created from this machine image.
|
SourceInstanceProperties.Builder |
removeGuestAccelerators(int index)
A list of guest accelerator cards' type and count to use for instances created from this machine image.
|
SourceInstanceProperties.Builder |
removeLabels(String key)
Labels to apply to instances that are created from this machine image.
|
SourceInstanceProperties.Builder |
removeNetworkInterfaces(int index)
An array of network access configurations for this interface.
|
SourceInstanceProperties.Builder |
removeServiceAccounts(int index)
A list of service accounts with specified scopes.
|
SourceInstanceProperties.Builder |
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.
|
SourceInstanceProperties.Builder |
setDeletionProtection(boolean value)
Whether the instance created from this machine image should be protected against deletion.
|
SourceInstanceProperties.Builder |
setDescription(String value)
An optional text description for the instances that are created from this machine image.
|
SourceInstanceProperties.Builder |
setDescriptionBytes(com.google.protobuf.ByteString value)
An optional text description for the instances that are created from this machine image.
|
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.
|
SourceInstanceProperties.Builder |
setDisks(int index,
SavedAttachedDisk value)
An array of disks that are associated with the instances that are created from this machine image.
|
SourceInstanceProperties.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
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.
|
SourceInstanceProperties.Builder |
setGuestAccelerators(int index,
AcceleratorConfig value)
A list of guest accelerator cards' type and count to use for instances created from this machine image.
|
SourceInstanceProperties.Builder |
setKeyRevocationActionType(String value)
KeyRevocationActionType of the instance.
|
SourceInstanceProperties.Builder |
setKeyRevocationActionTypeBytes(com.google.protobuf.ByteString value)
KeyRevocationActionType of the instance.
|
SourceInstanceProperties.Builder |
setMachineType(String value)
The machine type to use for instances that are created from this machine image.
|
SourceInstanceProperties.Builder |
setMachineTypeBytes(com.google.protobuf.ByteString value)
The machine type to use for instances that are created from this machine image.
|
SourceInstanceProperties.Builder |
setMetadata(Metadata.Builder builderForValue)
The metadata key/value pairs to assign to instances that are created from this machine image.
|
SourceInstanceProperties.Builder |
setMetadata(Metadata value)
The metadata key/value pairs to assign to instances that are created from this machine image.
|
SourceInstanceProperties.Builder |
setMinCpuPlatform(String value)
Minimum cpu/platform to be used by instances created from this machine image.
|
SourceInstanceProperties.Builder |
setMinCpuPlatformBytes(com.google.protobuf.ByteString value)
Minimum cpu/platform to be used by instances created from this machine image.
|
SourceInstanceProperties.Builder |
setNetworkInterfaces(int index,
NetworkInterface.Builder builderForValue)
An array of network access configurations for this interface.
|
SourceInstanceProperties.Builder |
setNetworkInterfaces(int index,
NetworkInterface value)
An array of network access configurations for this interface.
|
SourceInstanceProperties.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
SourceInstanceProperties.Builder |
setScheduling(Scheduling.Builder builderForValue)
Specifies the scheduling options for the instances that are created from this machine image.
|
SourceInstanceProperties.Builder |
setScheduling(Scheduling value)
Specifies the scheduling options for the instances that are created from this machine image.
|
SourceInstanceProperties.Builder |
setServiceAccounts(int index,
ServiceAccount.Builder builderForValue)
A list of service accounts with specified scopes.
|
SourceInstanceProperties.Builder |
setServiceAccounts(int index,
ServiceAccount value)
A list of service accounts with specified scopes.
|
SourceInstanceProperties.Builder |
setTags(Tags.Builder builderForValue)
A list of tags to apply to the instances that are created from this machine image.
|
SourceInstanceProperties.Builder |
setTags(Tags value)
A list of tags to apply to the instances that are created from this machine image.
|
SourceInstanceProperties.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<SourceInstanceProperties.Builder>protected com.google.protobuf.MapField internalGetMutableMapField(int number)
internalGetMutableMapField in class com.google.protobuf.GeneratedMessageV3.Builder<SourceInstanceProperties.Builder>protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<SourceInstanceProperties.Builder>public SourceInstanceProperties.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<SourceInstanceProperties.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<SourceInstanceProperties.Builder>public SourceInstanceProperties getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic SourceInstanceProperties build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic SourceInstanceProperties buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic SourceInstanceProperties.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<SourceInstanceProperties.Builder>public SourceInstanceProperties.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<SourceInstanceProperties.Builder>public SourceInstanceProperties.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<SourceInstanceProperties.Builder>public SourceInstanceProperties.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<SourceInstanceProperties.Builder>public SourceInstanceProperties.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<SourceInstanceProperties.Builder>public SourceInstanceProperties.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<SourceInstanceProperties.Builder>public SourceInstanceProperties.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<SourceInstanceProperties.Builder>public SourceInstanceProperties.Builder mergeFrom(SourceInstanceProperties other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<SourceInstanceProperties.Builder>public SourceInstanceProperties.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<SourceInstanceProperties.Builder>IOExceptionpublic 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 to false. See the Enable IP forwarding documentation for more information.
optional bool can_ip_forward = 467731324;hasCanIpForward in interface SourceInstancePropertiesOrBuilderpublic 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 to false. See the Enable IP forwarding documentation for more information.
optional bool can_ip_forward = 467731324;getCanIpForward in interface SourceInstancePropertiesOrBuilderpublic SourceInstanceProperties.Builder 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. 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 SourceInstanceProperties.Builder 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 to false. See the Enable IP forwarding documentation for more information.
optional bool can_ip_forward = 467731324;public boolean hasDeletionProtection()
Whether the instance created from this machine image should be protected against deletion.
optional bool deletion_protection = 458014698;hasDeletionProtection in interface SourceInstancePropertiesOrBuilderpublic boolean getDeletionProtection()
Whether the instance created from this machine image should be protected against deletion.
optional bool deletion_protection = 458014698;getDeletionProtection in interface SourceInstancePropertiesOrBuilderpublic SourceInstanceProperties.Builder setDeletionProtection(boolean value)
Whether the instance created from this machine image should be protected against deletion.
optional bool deletion_protection = 458014698;value - The deletionProtection to set.public SourceInstanceProperties.Builder clearDeletionProtection()
Whether the instance created from this machine image should be protected against deletion.
optional bool deletion_protection = 458014698;public boolean hasDescription()
An optional text description for the instances that are created from this machine image.
optional string description = 422937596;hasDescription in interface SourceInstancePropertiesOrBuilderpublic String getDescription()
An optional text description for the instances that are created from this machine image.
optional string description = 422937596;getDescription in interface SourceInstancePropertiesOrBuilderpublic com.google.protobuf.ByteString getDescriptionBytes()
An optional text description for the instances that are created from this machine image.
optional string description = 422937596;getDescriptionBytes in interface SourceInstancePropertiesOrBuilderpublic SourceInstanceProperties.Builder setDescription(String value)
An optional text description for the instances that are created from this machine image.
optional string description = 422937596;value - The description to set.public SourceInstanceProperties.Builder clearDescription()
An optional text description for the instances that are created from this machine image.
optional string description = 422937596;public SourceInstanceProperties.Builder setDescriptionBytes(com.google.protobuf.ByteString value)
An optional text description for the instances that are created from this machine image.
optional string description = 422937596;value - The bytes for description to set.public List<SavedAttachedDisk> 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;getDisksList in interface SourceInstancePropertiesOrBuilderpublic 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;getDisksCount in interface SourceInstancePropertiesOrBuilderpublic SavedAttachedDisk getDisks(int index)
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;getDisks in interface SourceInstancePropertiesOrBuilderpublic SourceInstanceProperties.Builder setDisks(int index, SavedAttachedDisk value)
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;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;public SourceInstanceProperties.Builder addDisks(SavedAttachedDisk value)
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;public SourceInstanceProperties.Builder addDisks(int index, SavedAttachedDisk value)
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;public SourceInstanceProperties.Builder addDisks(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;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;public SourceInstanceProperties.Builder addAllDisks(Iterable<? extends SavedAttachedDisk> values)
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;public SourceInstanceProperties.Builder 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;public SourceInstanceProperties.Builder removeDisks(int index)
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;public SavedAttachedDisk.Builder getDisksBuilder(int index)
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;public SavedAttachedDiskOrBuilder getDisksOrBuilder(int index)
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 in interface SourceInstancePropertiesOrBuilderpublic List<? extends SavedAttachedDiskOrBuilder> 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;getDisksOrBuilderList in interface SourceInstancePropertiesOrBuilderpublic SavedAttachedDisk.Builder 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;public SavedAttachedDisk.Builder addDisksBuilder(int index)
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;public List<SavedAttachedDisk.Builder> 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;public List<AcceleratorConfig> 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;
getGuestAcceleratorsList in interface SourceInstancePropertiesOrBuilderpublic 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;
getGuestAcceleratorsCount in interface SourceInstancePropertiesOrBuilderpublic AcceleratorConfig getGuestAccelerators(int index)
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;
getGuestAccelerators in interface SourceInstancePropertiesOrBuilderpublic SourceInstanceProperties.Builder setGuestAccelerators(int index, AcceleratorConfig value)
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;
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;
public SourceInstanceProperties.Builder addGuestAccelerators(AcceleratorConfig value)
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;
public SourceInstanceProperties.Builder addGuestAccelerators(int index, AcceleratorConfig value)
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;
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;
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;
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;
public SourceInstanceProperties.Builder 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;
public SourceInstanceProperties.Builder removeGuestAccelerators(int index)
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;
public AcceleratorConfig.Builder getGuestAcceleratorsBuilder(int index)
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;
public AcceleratorConfigOrBuilder getGuestAcceleratorsOrBuilder(int index)
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 in interface SourceInstancePropertiesOrBuilderpublic List<? extends AcceleratorConfigOrBuilder> 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;
getGuestAcceleratorsOrBuilderList in interface SourceInstancePropertiesOrBuilderpublic AcceleratorConfig.Builder 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;
public AcceleratorConfig.Builder addGuestAcceleratorsBuilder(int index)
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;
public List<AcceleratorConfig.Builder> 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;
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 SourceInstancePropertiesOrBuilderpublic 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 SourceInstancePropertiesOrBuilderpublic 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 SourceInstancePropertiesOrBuilderpublic SourceInstanceProperties.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 SourceInstanceProperties.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 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;value - The bytes for keyRevocationActionType to set.public int getLabelsCount()
SourceInstancePropertiesOrBuilderLabels to apply to instances that are created from this machine image.
map<string, string> labels = 500195327;getLabelsCount in interface SourceInstancePropertiesOrBuilderpublic boolean containsLabels(String key)
Labels to apply to instances that are created from this machine image.
map<string, string> labels = 500195327;containsLabels in interface SourceInstancePropertiesOrBuilder@Deprecated public Map<String,String> getLabels()
getLabelsMap() instead.getLabels in interface SourceInstancePropertiesOrBuilderpublic Map<String,String> getLabelsMap()
Labels to apply to instances that are created from this machine image.
map<string, string> labels = 500195327;getLabelsMap in interface SourceInstancePropertiesOrBuilderpublic String getLabelsOrDefault(String key, String defaultValue)
Labels to apply to instances that are created from this machine image.
map<string, string> labels = 500195327;getLabelsOrDefault in interface SourceInstancePropertiesOrBuilderpublic String getLabelsOrThrow(String key)
Labels to apply to instances that are created from this machine image.
map<string, string> labels = 500195327;getLabelsOrThrow in interface SourceInstancePropertiesOrBuilderpublic SourceInstanceProperties.Builder clearLabels()
public SourceInstanceProperties.Builder removeLabels(String key)
Labels to apply to instances that are created from this machine image.
map<string, string> labels = 500195327;@Deprecated public Map<String,String> getMutableLabels()
public SourceInstanceProperties.Builder putLabels(String key, String value)
Labels to apply to instances that are created from this machine image.
map<string, string> labels = 500195327;public SourceInstanceProperties.Builder putAllLabels(Map<String,String> values)
Labels to apply to instances that are created from this machine image.
map<string, string> labels = 500195327;public boolean hasMachineType()
The machine type to use for instances that are created from this machine image.
optional string machine_type = 227711026;hasMachineType in interface SourceInstancePropertiesOrBuilderpublic String getMachineType()
The machine type to use for instances that are created from this machine image.
optional string machine_type = 227711026;getMachineType in interface SourceInstancePropertiesOrBuilderpublic com.google.protobuf.ByteString getMachineTypeBytes()
The machine type to use for instances that are created from this machine image.
optional string machine_type = 227711026;getMachineTypeBytes in interface SourceInstancePropertiesOrBuilderpublic SourceInstanceProperties.Builder setMachineType(String value)
The machine type to use for instances that are created from this machine image.
optional string machine_type = 227711026;value - The machineType to set.public SourceInstanceProperties.Builder clearMachineType()
The machine type to use for instances that are created from this machine image.
optional string machine_type = 227711026;public SourceInstanceProperties.Builder setMachineTypeBytes(com.google.protobuf.ByteString value)
The machine type to use for instances that are created from this machine image.
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 this machine image. 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 SourceInstancePropertiesOrBuilderpublic Metadata 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. See Project and instance metadata for more information.
optional .google.cloud.compute.v1.Metadata metadata = 86866735;getMetadata in interface SourceInstancePropertiesOrBuilderpublic SourceInstanceProperties.Builder setMetadata(Metadata value)
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. See Project and instance metadata for more information.
optional .google.cloud.compute.v1.Metadata metadata = 86866735;public SourceInstanceProperties.Builder setMetadata(Metadata.Builder builderForValue)
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. See Project and instance metadata for more information.
optional .google.cloud.compute.v1.Metadata metadata = 86866735;public SourceInstanceProperties.Builder mergeMetadata(Metadata value)
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. See Project and instance metadata for more information.
optional .google.cloud.compute.v1.Metadata metadata = 86866735;public SourceInstanceProperties.Builder 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. 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 this machine image. 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 this machine image. 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 SourceInstancePropertiesOrBuilderpublic 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" or minCpuPlatform: "Intel Sandy Bridge". For more information, read Specifying a Minimum CPU Platform.
optional string min_cpu_platform = 242912759;hasMinCpuPlatform in interface SourceInstancePropertiesOrBuilderpublic String 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" or minCpuPlatform: "Intel Sandy Bridge". For more information, read Specifying a Minimum CPU Platform.
optional string min_cpu_platform = 242912759;getMinCpuPlatform in interface SourceInstancePropertiesOrBuilderpublic 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" or minCpuPlatform: "Intel Sandy Bridge". For more information, read Specifying a Minimum CPU Platform.
optional string min_cpu_platform = 242912759;getMinCpuPlatformBytes in interface SourceInstancePropertiesOrBuilderpublic SourceInstanceProperties.Builder setMinCpuPlatform(String 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" 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 SourceInstanceProperties.Builder 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" or minCpuPlatform: "Intel Sandy Bridge". For more information, read Specifying a Minimum CPU Platform.
optional string min_cpu_platform = 242912759;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" 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 SourceInstancePropertiesOrBuilderpublic int getNetworkInterfacesCount()
An array of network access configurations for this interface.
repeated .google.cloud.compute.v1.NetworkInterface network_interfaces = 52735243;
getNetworkInterfacesCount in interface SourceInstancePropertiesOrBuilderpublic 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 SourceInstancePropertiesOrBuilderpublic SourceInstanceProperties.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 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;
public SourceInstanceProperties.Builder addNetworkInterfaces(NetworkInterface value)
An array of network access configurations for this interface.
repeated .google.cloud.compute.v1.NetworkInterface network_interfaces = 52735243;
public SourceInstanceProperties.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 SourceInstanceProperties.Builder addNetworkInterfaces(NetworkInterface.Builder builderForValue)
An array of network access configurations for this interface.
repeated .google.cloud.compute.v1.NetworkInterface network_interfaces = 52735243;
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;
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;
public SourceInstanceProperties.Builder clearNetworkInterfaces()
An array of network access configurations for this interface.
repeated .google.cloud.compute.v1.NetworkInterface network_interfaces = 52735243;
public SourceInstanceProperties.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 SourceInstancePropertiesOrBuilderpublic 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 SourceInstancePropertiesOrBuilderpublic 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 hasScheduling()
Specifies the scheduling options for the instances that are created from this machine image.
optional .google.cloud.compute.v1.Scheduling scheduling = 386688404;hasScheduling in interface SourceInstancePropertiesOrBuilderpublic Scheduling getScheduling()
Specifies the scheduling options for the instances that are created from this machine image.
optional .google.cloud.compute.v1.Scheduling scheduling = 386688404;getScheduling in interface SourceInstancePropertiesOrBuilderpublic SourceInstanceProperties.Builder setScheduling(Scheduling value)
Specifies the scheduling options for the instances that are created from this machine image.
optional .google.cloud.compute.v1.Scheduling scheduling = 386688404;public SourceInstanceProperties.Builder setScheduling(Scheduling.Builder builderForValue)
Specifies the scheduling options for the instances that are created from this machine image.
optional .google.cloud.compute.v1.Scheduling scheduling = 386688404;public SourceInstanceProperties.Builder mergeScheduling(Scheduling value)
Specifies the scheduling options for the instances that are created from this machine image.
optional .google.cloud.compute.v1.Scheduling scheduling = 386688404;public SourceInstanceProperties.Builder clearScheduling()
Specifies the scheduling options for the instances that are created from this machine image.
optional .google.cloud.compute.v1.Scheduling scheduling = 386688404;public Scheduling.Builder getSchedulingBuilder()
Specifies the scheduling options for the instances that are created from this machine image.
optional .google.cloud.compute.v1.Scheduling scheduling = 386688404;public SchedulingOrBuilder getSchedulingOrBuilder()
Specifies the scheduling options for the instances that are created from this machine image.
optional .google.cloud.compute.v1.Scheduling scheduling = 386688404;getSchedulingOrBuilder in interface SourceInstancePropertiesOrBuilderpublic 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 this machine image. Use metadata queries to obtain the access tokens for these instances.
repeated .google.cloud.compute.v1.ServiceAccount service_accounts = 277537328;getServiceAccountsList in interface SourceInstancePropertiesOrBuilderpublic 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;getServiceAccountsCount in interface SourceInstancePropertiesOrBuilderpublic 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 this machine image. Use metadata queries to obtain the access tokens for these instances.
repeated .google.cloud.compute.v1.ServiceAccount service_accounts = 277537328;getServiceAccounts in interface SourceInstancePropertiesOrBuilderpublic SourceInstanceProperties.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 this machine image. Use metadata queries to obtain the access tokens for these instances.
repeated .google.cloud.compute.v1.ServiceAccount service_accounts = 277537328;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;public SourceInstanceProperties.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 this machine image. Use metadata queries to obtain the access tokens for these instances.
repeated .google.cloud.compute.v1.ServiceAccount service_accounts = 277537328;public SourceInstanceProperties.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 this machine image. Use metadata queries to obtain the access tokens for these instances.
repeated .google.cloud.compute.v1.ServiceAccount service_accounts = 277537328;public SourceInstanceProperties.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 this machine image. Use metadata queries to obtain the access tokens for these instances.
repeated .google.cloud.compute.v1.ServiceAccount service_accounts = 277537328;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;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;public SourceInstanceProperties.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 this machine image. Use metadata queries to obtain the access tokens for these instances.
repeated .google.cloud.compute.v1.ServiceAccount service_accounts = 277537328;public SourceInstanceProperties.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 this machine image. 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 this machine image. 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 this machine image. Use metadata queries to obtain the access tokens for these instances.
repeated .google.cloud.compute.v1.ServiceAccount service_accounts = 277537328;getServiceAccountsOrBuilder in interface SourceInstancePropertiesOrBuilderpublic 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 this machine image. Use metadata queries to obtain the access tokens for these instances.
repeated .google.cloud.compute.v1.ServiceAccount service_accounts = 277537328;getServiceAccountsOrBuilderList in interface SourceInstancePropertiesOrBuilderpublic 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 this machine image. 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 this machine image. 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 this machine image. Use metadata queries to obtain the access tokens for these instances.
repeated .google.cloud.compute.v1.ServiceAccount service_accounts = 277537328;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 with RFC1035.
optional .google.cloud.compute.v1.Tags tags = 3552281;hasTags in interface SourceInstancePropertiesOrBuilderpublic Tags 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 with RFC1035.
optional .google.cloud.compute.v1.Tags tags = 3552281;getTags in interface SourceInstancePropertiesOrBuilderpublic SourceInstanceProperties.Builder setTags(Tags value)
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 with RFC1035.
optional .google.cloud.compute.v1.Tags tags = 3552281;public SourceInstanceProperties.Builder setTags(Tags.Builder builderForValue)
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 with RFC1035.
optional .google.cloud.compute.v1.Tags tags = 3552281;public SourceInstanceProperties.Builder mergeTags(Tags value)
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 with RFC1035.
optional .google.cloud.compute.v1.Tags tags = 3552281;public SourceInstanceProperties.Builder 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 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 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 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 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 with RFC1035.
optional .google.cloud.compute.v1.Tags tags = 3552281;getTagsOrBuilder in interface SourceInstancePropertiesOrBuilderpublic final SourceInstanceProperties.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<SourceInstanceProperties.Builder>public final SourceInstanceProperties.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<SourceInstanceProperties.Builder>Copyright © 2023 Google LLC. All rights reserved.