Package com.google.cloud.vmmigration.v1
Class ComputeEngineTargetDetails.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<ComputeEngineTargetDetails.Builder>
-
- com.google.cloud.vmmigration.v1.ComputeEngineTargetDetails.Builder
-
- All Implemented Interfaces:
ComputeEngineTargetDetailsOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- ComputeEngineTargetDetails
public static final class ComputeEngineTargetDetails.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<ComputeEngineTargetDetails.Builder> implements ComputeEngineTargetDetailsOrBuilder
ComputeEngineTargetDetails is a collection of details for creating a VM in a target Compute Engine project.
Protobuf typegoogle.cloud.vmmigration.v1.ComputeEngineTargetDetails
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description ComputeEngineTargetDetails.BuilderaddAdditionalLicenses(String value)Additional licenses to assign to the VM.ComputeEngineTargetDetails.BuilderaddAdditionalLicensesBytes(com.google.protobuf.ByteString value)Additional licenses to assign to the VM.ComputeEngineTargetDetails.BuilderaddAllAdditionalLicenses(Iterable<String> values)Additional licenses to assign to the VM.ComputeEngineTargetDetails.BuilderaddAllNetworkInterfaces(Iterable<? extends NetworkInterface> values)List of NICs connected to this VM.ComputeEngineTargetDetails.BuilderaddAllNetworkTags(Iterable<String> values)A map of network tags to associate with the VM.ComputeEngineTargetDetails.BuilderaddNetworkInterfaces(int index, NetworkInterface value)List of NICs connected to this VM.ComputeEngineTargetDetails.BuilderaddNetworkInterfaces(int index, NetworkInterface.Builder builderForValue)List of NICs connected to this VM.ComputeEngineTargetDetails.BuilderaddNetworkInterfaces(NetworkInterface value)List of NICs connected to this VM.ComputeEngineTargetDetails.BuilderaddNetworkInterfaces(NetworkInterface.Builder builderForValue)List of NICs connected to this VM.NetworkInterface.BuilderaddNetworkInterfacesBuilder()List of NICs connected to this VM.NetworkInterface.BuilderaddNetworkInterfacesBuilder(int index)List of NICs connected to this VM.ComputeEngineTargetDetails.BuilderaddNetworkTags(String value)A map of network tags to associate with the VM.ComputeEngineTargetDetails.BuilderaddNetworkTagsBytes(com.google.protobuf.ByteString value)A map of network tags to associate with the VM.ComputeEngineTargetDetails.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)ComputeEngineTargetDetailsbuild()ComputeEngineTargetDetailsbuildPartial()ComputeEngineTargetDetails.Builderclear()ComputeEngineTargetDetails.BuilderclearAdditionalLicenses()Additional licenses to assign to the VM.ComputeEngineTargetDetails.BuilderclearAppliedLicense()The OS license returned from the adaptation module report.ComputeEngineTargetDetails.BuilderclearBootOption()The VM Boot Option, as set in the source vm.ComputeEngineTargetDetails.BuilderclearComputeScheduling()Compute instance scheduling information (if empty default is used).ComputeEngineTargetDetails.BuilderclearDiskType()The disk type to use in the VM.ComputeEngineTargetDetails.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)ComputeEngineTargetDetails.BuilderclearHostname()The hostname to assign to the VM.ComputeEngineTargetDetails.BuilderclearLabels()ComputeEngineTargetDetails.BuilderclearLicenseType()The license type to use in OS adaptation.ComputeEngineTargetDetails.BuilderclearMachineType()The machine type to create the VM with.ComputeEngineTargetDetails.BuilderclearMachineTypeSeries()The machine type series to create the VM with.ComputeEngineTargetDetails.BuilderclearMetadata()ComputeEngineTargetDetails.BuilderclearNetworkInterfaces()List of NICs connected to this VM.ComputeEngineTargetDetails.BuilderclearNetworkTags()A map of network tags to associate with the VM.ComputeEngineTargetDetails.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)ComputeEngineTargetDetails.BuilderclearProject()The Google Cloud target project ID or project name.ComputeEngineTargetDetails.BuilderclearSecureBoot()Defines whether the instance has Secure Boot enabled.ComputeEngineTargetDetails.BuilderclearServiceAccount()The service account to associate the VM with.ComputeEngineTargetDetails.BuilderclearVmName()The name of the VM to create.ComputeEngineTargetDetails.BuilderclearZone()The zone in which to create the VM.ComputeEngineTargetDetails.Builderclone()booleancontainsLabels(String key)A map of labels to associate with the VM.booleancontainsMetadata(String key)The metadata key/value pairs to assign to the VM.StringgetAdditionalLicenses(int index)Additional licenses to assign to the VM.com.google.protobuf.ByteStringgetAdditionalLicensesBytes(int index)Additional licenses to assign to the VM.intgetAdditionalLicensesCount()Additional licenses to assign to the VM.com.google.protobuf.ProtocolStringListgetAdditionalLicensesList()Additional licenses to assign to the VM.AppliedLicensegetAppliedLicense()The OS license returned from the adaptation module report.AppliedLicense.BuildergetAppliedLicenseBuilder()The OS license returned from the adaptation module report.AppliedLicenseOrBuildergetAppliedLicenseOrBuilder()The OS license returned from the adaptation module report.ComputeEngineBootOptiongetBootOption()The VM Boot Option, as set in the source vm.intgetBootOptionValue()The VM Boot Option, as set in the source vm.ComputeSchedulinggetComputeScheduling()Compute instance scheduling information (if empty default is used).ComputeScheduling.BuildergetComputeSchedulingBuilder()Compute instance scheduling information (if empty default is used).ComputeSchedulingOrBuildergetComputeSchedulingOrBuilder()Compute instance scheduling information (if empty default is used).ComputeEngineTargetDetailsgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()ComputeEngineDiskTypegetDiskType()The disk type to use in the VM.intgetDiskTypeValue()The disk type to use in the VM.StringgetHostname()The hostname to assign to the VM.com.google.protobuf.ByteStringgetHostnameBytes()The hostname to assign to the VM.Map<String,String>getLabels()Deprecated.intgetLabelsCount()A map of labels to associate with the VM.Map<String,String>getLabelsMap()A map of labels to associate with the VM.StringgetLabelsOrDefault(String key, String defaultValue)A map of labels to associate with the VM.StringgetLabelsOrThrow(String key)A map of labels to associate with the VM.ComputeEngineLicenseTypegetLicenseType()The license type to use in OS adaptation.intgetLicenseTypeValue()The license type to use in OS adaptation.StringgetMachineType()The machine type to create the VM with.com.google.protobuf.ByteStringgetMachineTypeBytes()The machine type to create the VM with.StringgetMachineTypeSeries()The machine type series to create the VM with.com.google.protobuf.ByteStringgetMachineTypeSeriesBytes()The machine type series to create the VM with.Map<String,String>getMetadata()Deprecated.intgetMetadataCount()The metadata key/value pairs to assign to the VM.Map<String,String>getMetadataMap()The metadata key/value pairs to assign to the VM.StringgetMetadataOrDefault(String key, String defaultValue)The metadata key/value pairs to assign to the VM.StringgetMetadataOrThrow(String key)The metadata key/value pairs to assign to the VM.Map<String,String>getMutableLabels()Deprecated.Map<String,String>getMutableMetadata()Deprecated.NetworkInterfacegetNetworkInterfaces(int index)List of NICs connected to this VM.NetworkInterface.BuildergetNetworkInterfacesBuilder(int index)List of NICs connected to this VM.List<NetworkInterface.Builder>getNetworkInterfacesBuilderList()List of NICs connected to this VM.intgetNetworkInterfacesCount()List of NICs connected to this VM.List<NetworkInterface>getNetworkInterfacesList()List of NICs connected to this VM.NetworkInterfaceOrBuildergetNetworkInterfacesOrBuilder(int index)List of NICs connected to this VM.List<? extends NetworkInterfaceOrBuilder>getNetworkInterfacesOrBuilderList()List of NICs connected to this VM.StringgetNetworkTags(int index)A map of network tags to associate with the VM.com.google.protobuf.ByteStringgetNetworkTagsBytes(int index)A map of network tags to associate with the VM.intgetNetworkTagsCount()A map of network tags to associate with the VM.com.google.protobuf.ProtocolStringListgetNetworkTagsList()A map of network tags to associate with the VM.StringgetProject()The Google Cloud target project ID or project name.com.google.protobuf.ByteStringgetProjectBytes()The Google Cloud target project ID or project name.booleangetSecureBoot()Defines whether the instance has Secure Boot enabled.StringgetServiceAccount()The service account to associate the VM with.com.google.protobuf.ByteStringgetServiceAccountBytes()The service account to associate the VM with.StringgetVmName()The name of the VM to create.com.google.protobuf.ByteStringgetVmNameBytes()The name of the VM to create.StringgetZone()The zone in which to create the VM.com.google.protobuf.ByteStringgetZoneBytes()The zone in which to create the VM.booleanhasAppliedLicense()The OS license returned from the adaptation module report.booleanhasComputeScheduling()Compute instance scheduling information (if empty default is used).protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()protected com.google.protobuf.MapFieldinternalGetMapField(int number)protected com.google.protobuf.MapFieldinternalGetMutableMapField(int number)booleanisInitialized()ComputeEngineTargetDetails.BuildermergeAppliedLicense(AppliedLicense value)The OS license returned from the adaptation module report.ComputeEngineTargetDetails.BuildermergeComputeScheduling(ComputeScheduling value)Compute instance scheduling information (if empty default is used).ComputeEngineTargetDetails.BuildermergeFrom(ComputeEngineTargetDetails other)ComputeEngineTargetDetails.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)ComputeEngineTargetDetails.BuildermergeFrom(com.google.protobuf.Message other)ComputeEngineTargetDetails.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)ComputeEngineTargetDetails.BuilderputAllLabels(Map<String,String> values)A map of labels to associate with the VM.ComputeEngineTargetDetails.BuilderputAllMetadata(Map<String,String> values)The metadata key/value pairs to assign to the VM.ComputeEngineTargetDetails.BuilderputLabels(String key, String value)A map of labels to associate with the VM.ComputeEngineTargetDetails.BuilderputMetadata(String key, String value)The metadata key/value pairs to assign to the VM.ComputeEngineTargetDetails.BuilderremoveLabels(String key)A map of labels to associate with the VM.ComputeEngineTargetDetails.BuilderremoveMetadata(String key)The metadata key/value pairs to assign to the VM.ComputeEngineTargetDetails.BuilderremoveNetworkInterfaces(int index)List of NICs connected to this VM.ComputeEngineTargetDetails.BuildersetAdditionalLicenses(int index, String value)Additional licenses to assign to the VM.ComputeEngineTargetDetails.BuildersetAppliedLicense(AppliedLicense value)The OS license returned from the adaptation module report.ComputeEngineTargetDetails.BuildersetAppliedLicense(AppliedLicense.Builder builderForValue)The OS license returned from the adaptation module report.ComputeEngineTargetDetails.BuildersetBootOption(ComputeEngineBootOption value)The VM Boot Option, as set in the source vm.ComputeEngineTargetDetails.BuildersetBootOptionValue(int value)The VM Boot Option, as set in the source vm.ComputeEngineTargetDetails.BuildersetComputeScheduling(ComputeScheduling value)Compute instance scheduling information (if empty default is used).ComputeEngineTargetDetails.BuildersetComputeScheduling(ComputeScheduling.Builder builderForValue)Compute instance scheduling information (if empty default is used).ComputeEngineTargetDetails.BuildersetDiskType(ComputeEngineDiskType value)The disk type to use in the VM.ComputeEngineTargetDetails.BuildersetDiskTypeValue(int value)The disk type to use in the VM.ComputeEngineTargetDetails.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)ComputeEngineTargetDetails.BuildersetHostname(String value)The hostname to assign to the VM.ComputeEngineTargetDetails.BuildersetHostnameBytes(com.google.protobuf.ByteString value)The hostname to assign to the VM.ComputeEngineTargetDetails.BuildersetLicenseType(ComputeEngineLicenseType value)The license type to use in OS adaptation.ComputeEngineTargetDetails.BuildersetLicenseTypeValue(int value)The license type to use in OS adaptation.ComputeEngineTargetDetails.BuildersetMachineType(String value)The machine type to create the VM with.ComputeEngineTargetDetails.BuildersetMachineTypeBytes(com.google.protobuf.ByteString value)The machine type to create the VM with.ComputeEngineTargetDetails.BuildersetMachineTypeSeries(String value)The machine type series to create the VM with.ComputeEngineTargetDetails.BuildersetMachineTypeSeriesBytes(com.google.protobuf.ByteString value)The machine type series to create the VM with.ComputeEngineTargetDetails.BuildersetNetworkInterfaces(int index, NetworkInterface value)List of NICs connected to this VM.ComputeEngineTargetDetails.BuildersetNetworkInterfaces(int index, NetworkInterface.Builder builderForValue)List of NICs connected to this VM.ComputeEngineTargetDetails.BuildersetNetworkTags(int index, String value)A map of network tags to associate with the VM.ComputeEngineTargetDetails.BuildersetProject(String value)The Google Cloud target project ID or project name.ComputeEngineTargetDetails.BuildersetProjectBytes(com.google.protobuf.ByteString value)The Google Cloud target project ID or project name.ComputeEngineTargetDetails.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)ComputeEngineTargetDetails.BuildersetSecureBoot(boolean value)Defines whether the instance has Secure Boot enabled.ComputeEngineTargetDetails.BuildersetServiceAccount(String value)The service account to associate the VM with.ComputeEngineTargetDetails.BuildersetServiceAccountBytes(com.google.protobuf.ByteString value)The service account to associate the VM with.ComputeEngineTargetDetails.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)ComputeEngineTargetDetails.BuildersetVmName(String value)The name of the VM to create.ComputeEngineTargetDetails.BuildersetVmNameBytes(com.google.protobuf.ByteString value)The name of the VM to create.ComputeEngineTargetDetails.BuildersetZone(String value)The zone in which to create the VM.ComputeEngineTargetDetails.BuildersetZoneBytes(com.google.protobuf.ByteString value)The zone in which to create the VM.-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetMapField
protected com.google.protobuf.MapField internalGetMapField(int number)
- Overrides:
internalGetMapFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ComputeEngineTargetDetails.Builder>
-
internalGetMutableMapField
protected com.google.protobuf.MapField internalGetMutableMapField(int number)
- Overrides:
internalGetMutableMapFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ComputeEngineTargetDetails.Builder>
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<ComputeEngineTargetDetails.Builder>
-
clear
public ComputeEngineTargetDetails.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<ComputeEngineTargetDetails.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.GeneratedMessageV3.Builder<ComputeEngineTargetDetails.Builder>
-
getDefaultInstanceForType
public ComputeEngineTargetDetails getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public ComputeEngineTargetDetails build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public ComputeEngineTargetDetails buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public ComputeEngineTargetDetails.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<ComputeEngineTargetDetails.Builder>
-
setField
public ComputeEngineTargetDetails.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ComputeEngineTargetDetails.Builder>
-
clearField
public ComputeEngineTargetDetails.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ComputeEngineTargetDetails.Builder>
-
clearOneof
public ComputeEngineTargetDetails.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<ComputeEngineTargetDetails.Builder>
-
setRepeatedField
public ComputeEngineTargetDetails.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ComputeEngineTargetDetails.Builder>
-
addRepeatedField
public ComputeEngineTargetDetails.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ComputeEngineTargetDetails.Builder>
-
mergeFrom
public ComputeEngineTargetDetails.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ComputeEngineTargetDetails.Builder>
-
mergeFrom
public ComputeEngineTargetDetails.Builder mergeFrom(ComputeEngineTargetDetails other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<ComputeEngineTargetDetails.Builder>
-
mergeFrom
public ComputeEngineTargetDetails.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<ComputeEngineTargetDetails.Builder>- Throws:
IOException
-
getVmName
public String getVmName()
The name of the VM to create.
string vm_name = 1;- Specified by:
getVmNamein interfaceComputeEngineTargetDetailsOrBuilder- Returns:
- The vmName.
-
getVmNameBytes
public com.google.protobuf.ByteString getVmNameBytes()
The name of the VM to create.
string vm_name = 1;- Specified by:
getVmNameBytesin interfaceComputeEngineTargetDetailsOrBuilder- Returns:
- The bytes for vmName.
-
setVmName
public ComputeEngineTargetDetails.Builder setVmName(String value)
The name of the VM to create.
string vm_name = 1;- Parameters:
value- The vmName to set.- Returns:
- This builder for chaining.
-
clearVmName
public ComputeEngineTargetDetails.Builder clearVmName()
The name of the VM to create.
string vm_name = 1;- Returns:
- This builder for chaining.
-
setVmNameBytes
public ComputeEngineTargetDetails.Builder setVmNameBytes(com.google.protobuf.ByteString value)
The name of the VM to create.
string vm_name = 1;- Parameters:
value- The bytes for vmName to set.- Returns:
- This builder for chaining.
-
getProject
public String getProject()
The Google Cloud target project ID or project name.
string project = 2;- Specified by:
getProjectin interfaceComputeEngineTargetDetailsOrBuilder- Returns:
- The project.
-
getProjectBytes
public com.google.protobuf.ByteString getProjectBytes()
The Google Cloud target project ID or project name.
string project = 2;- Specified by:
getProjectBytesin interfaceComputeEngineTargetDetailsOrBuilder- Returns:
- The bytes for project.
-
setProject
public ComputeEngineTargetDetails.Builder setProject(String value)
The Google Cloud target project ID or project name.
string project = 2;- Parameters:
value- The project to set.- Returns:
- This builder for chaining.
-
clearProject
public ComputeEngineTargetDetails.Builder clearProject()
The Google Cloud target project ID or project name.
string project = 2;- Returns:
- This builder for chaining.
-
setProjectBytes
public ComputeEngineTargetDetails.Builder setProjectBytes(com.google.protobuf.ByteString value)
The Google Cloud target project ID or project name.
string project = 2;- Parameters:
value- The bytes for project to set.- Returns:
- This builder for chaining.
-
getZone
public String getZone()
The zone in which to create the VM.
string zone = 3;- Specified by:
getZonein interfaceComputeEngineTargetDetailsOrBuilder- Returns:
- The zone.
-
getZoneBytes
public com.google.protobuf.ByteString getZoneBytes()
The zone in which to create the VM.
string zone = 3;- Specified by:
getZoneBytesin interfaceComputeEngineTargetDetailsOrBuilder- Returns:
- The bytes for zone.
-
setZone
public ComputeEngineTargetDetails.Builder setZone(String value)
The zone in which to create the VM.
string zone = 3;- Parameters:
value- The zone to set.- Returns:
- This builder for chaining.
-
clearZone
public ComputeEngineTargetDetails.Builder clearZone()
The zone in which to create the VM.
string zone = 3;- Returns:
- This builder for chaining.
-
setZoneBytes
public ComputeEngineTargetDetails.Builder setZoneBytes(com.google.protobuf.ByteString value)
The zone in which to create the VM.
string zone = 3;- Parameters:
value- The bytes for zone to set.- Returns:
- This builder for chaining.
-
getMachineTypeSeries
public String getMachineTypeSeries()
The machine type series to create the VM with.
string machine_type_series = 4;- Specified by:
getMachineTypeSeriesin interfaceComputeEngineTargetDetailsOrBuilder- Returns:
- The machineTypeSeries.
-
getMachineTypeSeriesBytes
public com.google.protobuf.ByteString getMachineTypeSeriesBytes()
The machine type series to create the VM with.
string machine_type_series = 4;- Specified by:
getMachineTypeSeriesBytesin interfaceComputeEngineTargetDetailsOrBuilder- Returns:
- The bytes for machineTypeSeries.
-
setMachineTypeSeries
public ComputeEngineTargetDetails.Builder setMachineTypeSeries(String value)
The machine type series to create the VM with.
string machine_type_series = 4;- Parameters:
value- The machineTypeSeries to set.- Returns:
- This builder for chaining.
-
clearMachineTypeSeries
public ComputeEngineTargetDetails.Builder clearMachineTypeSeries()
The machine type series to create the VM with.
string machine_type_series = 4;- Returns:
- This builder for chaining.
-
setMachineTypeSeriesBytes
public ComputeEngineTargetDetails.Builder setMachineTypeSeriesBytes(com.google.protobuf.ByteString value)
The machine type series to create the VM with.
string machine_type_series = 4;- Parameters:
value- The bytes for machineTypeSeries to set.- Returns:
- This builder for chaining.
-
getMachineType
public String getMachineType()
The machine type to create the VM with.
string machine_type = 5;- Specified by:
getMachineTypein interfaceComputeEngineTargetDetailsOrBuilder- Returns:
- The machineType.
-
getMachineTypeBytes
public com.google.protobuf.ByteString getMachineTypeBytes()
The machine type to create the VM with.
string machine_type = 5;- Specified by:
getMachineTypeBytesin interfaceComputeEngineTargetDetailsOrBuilder- Returns:
- The bytes for machineType.
-
setMachineType
public ComputeEngineTargetDetails.Builder setMachineType(String value)
The machine type to create the VM with.
string machine_type = 5;- Parameters:
value- The machineType to set.- Returns:
- This builder for chaining.
-
clearMachineType
public ComputeEngineTargetDetails.Builder clearMachineType()
The machine type to create the VM with.
string machine_type = 5;- Returns:
- This builder for chaining.
-
setMachineTypeBytes
public ComputeEngineTargetDetails.Builder setMachineTypeBytes(com.google.protobuf.ByteString value)
The machine type to create the VM with.
string machine_type = 5;- Parameters:
value- The bytes for machineType to set.- Returns:
- This builder for chaining.
-
getNetworkTagsList
public com.google.protobuf.ProtocolStringList getNetworkTagsList()
A map of network tags to associate with the VM.
repeated string network_tags = 6;- Specified by:
getNetworkTagsListin interfaceComputeEngineTargetDetailsOrBuilder- Returns:
- A list containing the networkTags.
-
getNetworkTagsCount
public int getNetworkTagsCount()
A map of network tags to associate with the VM.
repeated string network_tags = 6;- Specified by:
getNetworkTagsCountin interfaceComputeEngineTargetDetailsOrBuilder- Returns:
- The count of networkTags.
-
getNetworkTags
public String getNetworkTags(int index)
A map of network tags to associate with the VM.
repeated string network_tags = 6;- Specified by:
getNetworkTagsin interfaceComputeEngineTargetDetailsOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The networkTags at the given index.
-
getNetworkTagsBytes
public com.google.protobuf.ByteString getNetworkTagsBytes(int index)
A map of network tags to associate with the VM.
repeated string network_tags = 6;- Specified by:
getNetworkTagsBytesin interfaceComputeEngineTargetDetailsOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the networkTags at the given index.
-
setNetworkTags
public ComputeEngineTargetDetails.Builder setNetworkTags(int index, String value)
A map of network tags to associate with the VM.
repeated string network_tags = 6;- Parameters:
index- The index to set the value at.value- The networkTags to set.- Returns:
- This builder for chaining.
-
addNetworkTags
public ComputeEngineTargetDetails.Builder addNetworkTags(String value)
A map of network tags to associate with the VM.
repeated string network_tags = 6;- Parameters:
value- The networkTags to add.- Returns:
- This builder for chaining.
-
addAllNetworkTags
public ComputeEngineTargetDetails.Builder addAllNetworkTags(Iterable<String> values)
A map of network tags to associate with the VM.
repeated string network_tags = 6;- Parameters:
values- The networkTags to add.- Returns:
- This builder for chaining.
-
clearNetworkTags
public ComputeEngineTargetDetails.Builder clearNetworkTags()
A map of network tags to associate with the VM.
repeated string network_tags = 6;- Returns:
- This builder for chaining.
-
addNetworkTagsBytes
public ComputeEngineTargetDetails.Builder addNetworkTagsBytes(com.google.protobuf.ByteString value)
A map of network tags to associate with the VM.
repeated string network_tags = 6;- Parameters:
value- The bytes of the networkTags to add.- Returns:
- This builder for chaining.
-
getNetworkInterfacesList
public List<NetworkInterface> getNetworkInterfacesList()
List of NICs connected to this VM.
repeated .google.cloud.vmmigration.v1.NetworkInterface network_interfaces = 7;- Specified by:
getNetworkInterfacesListin interfaceComputeEngineTargetDetailsOrBuilder
-
getNetworkInterfacesCount
public int getNetworkInterfacesCount()
List of NICs connected to this VM.
repeated .google.cloud.vmmigration.v1.NetworkInterface network_interfaces = 7;- Specified by:
getNetworkInterfacesCountin interfaceComputeEngineTargetDetailsOrBuilder
-
getNetworkInterfaces
public NetworkInterface getNetworkInterfaces(int index)
List of NICs connected to this VM.
repeated .google.cloud.vmmigration.v1.NetworkInterface network_interfaces = 7;- Specified by:
getNetworkInterfacesin interfaceComputeEngineTargetDetailsOrBuilder
-
setNetworkInterfaces
public ComputeEngineTargetDetails.Builder setNetworkInterfaces(int index, NetworkInterface value)
List of NICs connected to this VM.
repeated .google.cloud.vmmigration.v1.NetworkInterface network_interfaces = 7;
-
setNetworkInterfaces
public ComputeEngineTargetDetails.Builder setNetworkInterfaces(int index, NetworkInterface.Builder builderForValue)
List of NICs connected to this VM.
repeated .google.cloud.vmmigration.v1.NetworkInterface network_interfaces = 7;
-
addNetworkInterfaces
public ComputeEngineTargetDetails.Builder addNetworkInterfaces(NetworkInterface value)
List of NICs connected to this VM.
repeated .google.cloud.vmmigration.v1.NetworkInterface network_interfaces = 7;
-
addNetworkInterfaces
public ComputeEngineTargetDetails.Builder addNetworkInterfaces(int index, NetworkInterface value)
List of NICs connected to this VM.
repeated .google.cloud.vmmigration.v1.NetworkInterface network_interfaces = 7;
-
addNetworkInterfaces
public ComputeEngineTargetDetails.Builder addNetworkInterfaces(NetworkInterface.Builder builderForValue)
List of NICs connected to this VM.
repeated .google.cloud.vmmigration.v1.NetworkInterface network_interfaces = 7;
-
addNetworkInterfaces
public ComputeEngineTargetDetails.Builder addNetworkInterfaces(int index, NetworkInterface.Builder builderForValue)
List of NICs connected to this VM.
repeated .google.cloud.vmmigration.v1.NetworkInterface network_interfaces = 7;
-
addAllNetworkInterfaces
public ComputeEngineTargetDetails.Builder addAllNetworkInterfaces(Iterable<? extends NetworkInterface> values)
List of NICs connected to this VM.
repeated .google.cloud.vmmigration.v1.NetworkInterface network_interfaces = 7;
-
clearNetworkInterfaces
public ComputeEngineTargetDetails.Builder clearNetworkInterfaces()
List of NICs connected to this VM.
repeated .google.cloud.vmmigration.v1.NetworkInterface network_interfaces = 7;
-
removeNetworkInterfaces
public ComputeEngineTargetDetails.Builder removeNetworkInterfaces(int index)
List of NICs connected to this VM.
repeated .google.cloud.vmmigration.v1.NetworkInterface network_interfaces = 7;
-
getNetworkInterfacesBuilder
public NetworkInterface.Builder getNetworkInterfacesBuilder(int index)
List of NICs connected to this VM.
repeated .google.cloud.vmmigration.v1.NetworkInterface network_interfaces = 7;
-
getNetworkInterfacesOrBuilder
public NetworkInterfaceOrBuilder getNetworkInterfacesOrBuilder(int index)
List of NICs connected to this VM.
repeated .google.cloud.vmmigration.v1.NetworkInterface network_interfaces = 7;- Specified by:
getNetworkInterfacesOrBuilderin interfaceComputeEngineTargetDetailsOrBuilder
-
getNetworkInterfacesOrBuilderList
public List<? extends NetworkInterfaceOrBuilder> getNetworkInterfacesOrBuilderList()
List of NICs connected to this VM.
repeated .google.cloud.vmmigration.v1.NetworkInterface network_interfaces = 7;- Specified by:
getNetworkInterfacesOrBuilderListin interfaceComputeEngineTargetDetailsOrBuilder
-
addNetworkInterfacesBuilder
public NetworkInterface.Builder addNetworkInterfacesBuilder()
List of NICs connected to this VM.
repeated .google.cloud.vmmigration.v1.NetworkInterface network_interfaces = 7;
-
addNetworkInterfacesBuilder
public NetworkInterface.Builder addNetworkInterfacesBuilder(int index)
List of NICs connected to this VM.
repeated .google.cloud.vmmigration.v1.NetworkInterface network_interfaces = 7;
-
getNetworkInterfacesBuilderList
public List<NetworkInterface.Builder> getNetworkInterfacesBuilderList()
List of NICs connected to this VM.
repeated .google.cloud.vmmigration.v1.NetworkInterface network_interfaces = 7;
-
getServiceAccount
public String getServiceAccount()
The service account to associate the VM with.
string service_account = 8;- Specified by:
getServiceAccountin interfaceComputeEngineTargetDetailsOrBuilder- Returns:
- The serviceAccount.
-
getServiceAccountBytes
public com.google.protobuf.ByteString getServiceAccountBytes()
The service account to associate the VM with.
string service_account = 8;- Specified by:
getServiceAccountBytesin interfaceComputeEngineTargetDetailsOrBuilder- Returns:
- The bytes for serviceAccount.
-
setServiceAccount
public ComputeEngineTargetDetails.Builder setServiceAccount(String value)
The service account to associate the VM with.
string service_account = 8;- Parameters:
value- The serviceAccount to set.- Returns:
- This builder for chaining.
-
clearServiceAccount
public ComputeEngineTargetDetails.Builder clearServiceAccount()
The service account to associate the VM with.
string service_account = 8;- Returns:
- This builder for chaining.
-
setServiceAccountBytes
public ComputeEngineTargetDetails.Builder setServiceAccountBytes(com.google.protobuf.ByteString value)
The service account to associate the VM with.
string service_account = 8;- Parameters:
value- The bytes for serviceAccount to set.- Returns:
- This builder for chaining.
-
getDiskTypeValue
public int getDiskTypeValue()
The disk type to use in the VM.
.google.cloud.vmmigration.v1.ComputeEngineDiskType disk_type = 9;- Specified by:
getDiskTypeValuein interfaceComputeEngineTargetDetailsOrBuilder- Returns:
- The enum numeric value on the wire for diskType.
-
setDiskTypeValue
public ComputeEngineTargetDetails.Builder setDiskTypeValue(int value)
The disk type to use in the VM.
.google.cloud.vmmigration.v1.ComputeEngineDiskType disk_type = 9;- Parameters:
value- The enum numeric value on the wire for diskType to set.- Returns:
- This builder for chaining.
-
getDiskType
public ComputeEngineDiskType getDiskType()
The disk type to use in the VM.
.google.cloud.vmmigration.v1.ComputeEngineDiskType disk_type = 9;- Specified by:
getDiskTypein interfaceComputeEngineTargetDetailsOrBuilder- Returns:
- The diskType.
-
setDiskType
public ComputeEngineTargetDetails.Builder setDiskType(ComputeEngineDiskType value)
The disk type to use in the VM.
.google.cloud.vmmigration.v1.ComputeEngineDiskType disk_type = 9;- Parameters:
value- The diskType to set.- Returns:
- This builder for chaining.
-
clearDiskType
public ComputeEngineTargetDetails.Builder clearDiskType()
The disk type to use in the VM.
.google.cloud.vmmigration.v1.ComputeEngineDiskType disk_type = 9;- Returns:
- This builder for chaining.
-
getLabelsCount
public int getLabelsCount()
Description copied from interface:ComputeEngineTargetDetailsOrBuilderA map of labels to associate with the VM.
map<string, string> labels = 10;- Specified by:
getLabelsCountin interfaceComputeEngineTargetDetailsOrBuilder
-
containsLabels
public boolean containsLabels(String key)
A map of labels to associate with the VM.
map<string, string> labels = 10;- Specified by:
containsLabelsin interfaceComputeEngineTargetDetailsOrBuilder
-
getLabels
@Deprecated public Map<String,String> getLabels()
Deprecated.UsegetLabelsMap()instead.- Specified by:
getLabelsin interfaceComputeEngineTargetDetailsOrBuilder
-
getLabelsMap
public Map<String,String> getLabelsMap()
A map of labels to associate with the VM.
map<string, string> labels = 10;- Specified by:
getLabelsMapin interfaceComputeEngineTargetDetailsOrBuilder
-
getLabelsOrDefault
public String getLabelsOrDefault(String key, String defaultValue)
A map of labels to associate with the VM.
map<string, string> labels = 10;- Specified by:
getLabelsOrDefaultin interfaceComputeEngineTargetDetailsOrBuilder
-
getLabelsOrThrow
public String getLabelsOrThrow(String key)
A map of labels to associate with the VM.
map<string, string> labels = 10;- Specified by:
getLabelsOrThrowin interfaceComputeEngineTargetDetailsOrBuilder
-
clearLabels
public ComputeEngineTargetDetails.Builder clearLabels()
-
removeLabels
public ComputeEngineTargetDetails.Builder removeLabels(String key)
A map of labels to associate with the VM.
map<string, string> labels = 10;
-
getMutableLabels
@Deprecated public Map<String,String> getMutableLabels()
Deprecated.Use alternate mutation accessors instead.
-
putLabels
public ComputeEngineTargetDetails.Builder putLabels(String key, String value)
A map of labels to associate with the VM.
map<string, string> labels = 10;
-
putAllLabels
public ComputeEngineTargetDetails.Builder putAllLabels(Map<String,String> values)
A map of labels to associate with the VM.
map<string, string> labels = 10;
-
getLicenseTypeValue
public int getLicenseTypeValue()
The license type to use in OS adaptation.
.google.cloud.vmmigration.v1.ComputeEngineLicenseType license_type = 11;- Specified by:
getLicenseTypeValuein interfaceComputeEngineTargetDetailsOrBuilder- Returns:
- The enum numeric value on the wire for licenseType.
-
setLicenseTypeValue
public ComputeEngineTargetDetails.Builder setLicenseTypeValue(int value)
The license type to use in OS adaptation.
.google.cloud.vmmigration.v1.ComputeEngineLicenseType license_type = 11;- Parameters:
value- The enum numeric value on the wire for licenseType to set.- Returns:
- This builder for chaining.
-
getLicenseType
public ComputeEngineLicenseType getLicenseType()
The license type to use in OS adaptation.
.google.cloud.vmmigration.v1.ComputeEngineLicenseType license_type = 11;- Specified by:
getLicenseTypein interfaceComputeEngineTargetDetailsOrBuilder- Returns:
- The licenseType.
-
setLicenseType
public ComputeEngineTargetDetails.Builder setLicenseType(ComputeEngineLicenseType value)
The license type to use in OS adaptation.
.google.cloud.vmmigration.v1.ComputeEngineLicenseType license_type = 11;- Parameters:
value- The licenseType to set.- Returns:
- This builder for chaining.
-
clearLicenseType
public ComputeEngineTargetDetails.Builder clearLicenseType()
The license type to use in OS adaptation.
.google.cloud.vmmigration.v1.ComputeEngineLicenseType license_type = 11;- Returns:
- This builder for chaining.
-
hasAppliedLicense
public boolean hasAppliedLicense()
The OS license returned from the adaptation module report.
.google.cloud.vmmigration.v1.AppliedLicense applied_license = 12;- Specified by:
hasAppliedLicensein interfaceComputeEngineTargetDetailsOrBuilder- Returns:
- Whether the appliedLicense field is set.
-
getAppliedLicense
public AppliedLicense getAppliedLicense()
The OS license returned from the adaptation module report.
.google.cloud.vmmigration.v1.AppliedLicense applied_license = 12;- Specified by:
getAppliedLicensein interfaceComputeEngineTargetDetailsOrBuilder- Returns:
- The appliedLicense.
-
setAppliedLicense
public ComputeEngineTargetDetails.Builder setAppliedLicense(AppliedLicense value)
The OS license returned from the adaptation module report.
.google.cloud.vmmigration.v1.AppliedLicense applied_license = 12;
-
setAppliedLicense
public ComputeEngineTargetDetails.Builder setAppliedLicense(AppliedLicense.Builder builderForValue)
The OS license returned from the adaptation module report.
.google.cloud.vmmigration.v1.AppliedLicense applied_license = 12;
-
mergeAppliedLicense
public ComputeEngineTargetDetails.Builder mergeAppliedLicense(AppliedLicense value)
The OS license returned from the adaptation module report.
.google.cloud.vmmigration.v1.AppliedLicense applied_license = 12;
-
clearAppliedLicense
public ComputeEngineTargetDetails.Builder clearAppliedLicense()
The OS license returned from the adaptation module report.
.google.cloud.vmmigration.v1.AppliedLicense applied_license = 12;
-
getAppliedLicenseBuilder
public AppliedLicense.Builder getAppliedLicenseBuilder()
The OS license returned from the adaptation module report.
.google.cloud.vmmigration.v1.AppliedLicense applied_license = 12;
-
getAppliedLicenseOrBuilder
public AppliedLicenseOrBuilder getAppliedLicenseOrBuilder()
The OS license returned from the adaptation module report.
.google.cloud.vmmigration.v1.AppliedLicense applied_license = 12;- Specified by:
getAppliedLicenseOrBuilderin interfaceComputeEngineTargetDetailsOrBuilder
-
hasComputeScheduling
public boolean hasComputeScheduling()
Compute instance scheduling information (if empty default is used).
.google.cloud.vmmigration.v1.ComputeScheduling compute_scheduling = 13;- Specified by:
hasComputeSchedulingin interfaceComputeEngineTargetDetailsOrBuilder- Returns:
- Whether the computeScheduling field is set.
-
getComputeScheduling
public ComputeScheduling getComputeScheduling()
Compute instance scheduling information (if empty default is used).
.google.cloud.vmmigration.v1.ComputeScheduling compute_scheduling = 13;- Specified by:
getComputeSchedulingin interfaceComputeEngineTargetDetailsOrBuilder- Returns:
- The computeScheduling.
-
setComputeScheduling
public ComputeEngineTargetDetails.Builder setComputeScheduling(ComputeScheduling value)
Compute instance scheduling information (if empty default is used).
.google.cloud.vmmigration.v1.ComputeScheduling compute_scheduling = 13;
-
setComputeScheduling
public ComputeEngineTargetDetails.Builder setComputeScheduling(ComputeScheduling.Builder builderForValue)
Compute instance scheduling information (if empty default is used).
.google.cloud.vmmigration.v1.ComputeScheduling compute_scheduling = 13;
-
mergeComputeScheduling
public ComputeEngineTargetDetails.Builder mergeComputeScheduling(ComputeScheduling value)
Compute instance scheduling information (if empty default is used).
.google.cloud.vmmigration.v1.ComputeScheduling compute_scheduling = 13;
-
clearComputeScheduling
public ComputeEngineTargetDetails.Builder clearComputeScheduling()
Compute instance scheduling information (if empty default is used).
.google.cloud.vmmigration.v1.ComputeScheduling compute_scheduling = 13;
-
getComputeSchedulingBuilder
public ComputeScheduling.Builder getComputeSchedulingBuilder()
Compute instance scheduling information (if empty default is used).
.google.cloud.vmmigration.v1.ComputeScheduling compute_scheduling = 13;
-
getComputeSchedulingOrBuilder
public ComputeSchedulingOrBuilder getComputeSchedulingOrBuilder()
Compute instance scheduling information (if empty default is used).
.google.cloud.vmmigration.v1.ComputeScheduling compute_scheduling = 13;- Specified by:
getComputeSchedulingOrBuilderin interfaceComputeEngineTargetDetailsOrBuilder
-
getSecureBoot
public boolean getSecureBoot()
Defines whether the instance has Secure Boot enabled. This can be set to true only if the vm boot option is EFI.
bool secure_boot = 14;- Specified by:
getSecureBootin interfaceComputeEngineTargetDetailsOrBuilder- Returns:
- The secureBoot.
-
setSecureBoot
public ComputeEngineTargetDetails.Builder setSecureBoot(boolean value)
Defines whether the instance has Secure Boot enabled. This can be set to true only if the vm boot option is EFI.
bool secure_boot = 14;- Parameters:
value- The secureBoot to set.- Returns:
- This builder for chaining.
-
clearSecureBoot
public ComputeEngineTargetDetails.Builder clearSecureBoot()
Defines whether the instance has Secure Boot enabled. This can be set to true only if the vm boot option is EFI.
bool secure_boot = 14;- Returns:
- This builder for chaining.
-
getBootOptionValue
public int getBootOptionValue()
The VM Boot Option, as set in the source vm.
.google.cloud.vmmigration.v1.ComputeEngineBootOption boot_option = 15;- Specified by:
getBootOptionValuein interfaceComputeEngineTargetDetailsOrBuilder- Returns:
- The enum numeric value on the wire for bootOption.
-
setBootOptionValue
public ComputeEngineTargetDetails.Builder setBootOptionValue(int value)
The VM Boot Option, as set in the source vm.
.google.cloud.vmmigration.v1.ComputeEngineBootOption boot_option = 15;- Parameters:
value- The enum numeric value on the wire for bootOption to set.- Returns:
- This builder for chaining.
-
getBootOption
public ComputeEngineBootOption getBootOption()
The VM Boot Option, as set in the source vm.
.google.cloud.vmmigration.v1.ComputeEngineBootOption boot_option = 15;- Specified by:
getBootOptionin interfaceComputeEngineTargetDetailsOrBuilder- Returns:
- The bootOption.
-
setBootOption
public ComputeEngineTargetDetails.Builder setBootOption(ComputeEngineBootOption value)
The VM Boot Option, as set in the source vm.
.google.cloud.vmmigration.v1.ComputeEngineBootOption boot_option = 15;- Parameters:
value- The bootOption to set.- Returns:
- This builder for chaining.
-
clearBootOption
public ComputeEngineTargetDetails.Builder clearBootOption()
The VM Boot Option, as set in the source vm.
.google.cloud.vmmigration.v1.ComputeEngineBootOption boot_option = 15;- Returns:
- This builder for chaining.
-
getMetadataCount
public int getMetadataCount()
Description copied from interface:ComputeEngineTargetDetailsOrBuilderThe metadata key/value pairs to assign to the VM.
map<string, string> metadata = 16;- Specified by:
getMetadataCountin interfaceComputeEngineTargetDetailsOrBuilder
-
containsMetadata
public boolean containsMetadata(String key)
The metadata key/value pairs to assign to the VM.
map<string, string> metadata = 16;- Specified by:
containsMetadatain interfaceComputeEngineTargetDetailsOrBuilder
-
getMetadata
@Deprecated public Map<String,String> getMetadata()
Deprecated.UsegetMetadataMap()instead.- Specified by:
getMetadatain interfaceComputeEngineTargetDetailsOrBuilder
-
getMetadataMap
public Map<String,String> getMetadataMap()
The metadata key/value pairs to assign to the VM.
map<string, string> metadata = 16;- Specified by:
getMetadataMapin interfaceComputeEngineTargetDetailsOrBuilder
-
getMetadataOrDefault
public String getMetadataOrDefault(String key, String defaultValue)
The metadata key/value pairs to assign to the VM.
map<string, string> metadata = 16;- Specified by:
getMetadataOrDefaultin interfaceComputeEngineTargetDetailsOrBuilder
-
getMetadataOrThrow
public String getMetadataOrThrow(String key)
The metadata key/value pairs to assign to the VM.
map<string, string> metadata = 16;- Specified by:
getMetadataOrThrowin interfaceComputeEngineTargetDetailsOrBuilder
-
clearMetadata
public ComputeEngineTargetDetails.Builder clearMetadata()
-
removeMetadata
public ComputeEngineTargetDetails.Builder removeMetadata(String key)
The metadata key/value pairs to assign to the VM.
map<string, string> metadata = 16;
-
getMutableMetadata
@Deprecated public Map<String,String> getMutableMetadata()
Deprecated.Use alternate mutation accessors instead.
-
putMetadata
public ComputeEngineTargetDetails.Builder putMetadata(String key, String value)
The metadata key/value pairs to assign to the VM.
map<string, string> metadata = 16;
-
putAllMetadata
public ComputeEngineTargetDetails.Builder putAllMetadata(Map<String,String> values)
The metadata key/value pairs to assign to the VM.
map<string, string> metadata = 16;
-
getAdditionalLicensesList
public com.google.protobuf.ProtocolStringList getAdditionalLicensesList()
Additional licenses to assign to the VM.
repeated string additional_licenses = 17;- Specified by:
getAdditionalLicensesListin interfaceComputeEngineTargetDetailsOrBuilder- Returns:
- A list containing the additionalLicenses.
-
getAdditionalLicensesCount
public int getAdditionalLicensesCount()
Additional licenses to assign to the VM.
repeated string additional_licenses = 17;- Specified by:
getAdditionalLicensesCountin interfaceComputeEngineTargetDetailsOrBuilder- Returns:
- The count of additionalLicenses.
-
getAdditionalLicenses
public String getAdditionalLicenses(int index)
Additional licenses to assign to the VM.
repeated string additional_licenses = 17;- Specified by:
getAdditionalLicensesin interfaceComputeEngineTargetDetailsOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The additionalLicenses at the given index.
-
getAdditionalLicensesBytes
public com.google.protobuf.ByteString getAdditionalLicensesBytes(int index)
Additional licenses to assign to the VM.
repeated string additional_licenses = 17;- Specified by:
getAdditionalLicensesBytesin interfaceComputeEngineTargetDetailsOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the additionalLicenses at the given index.
-
setAdditionalLicenses
public ComputeEngineTargetDetails.Builder setAdditionalLicenses(int index, String value)
Additional licenses to assign to the VM.
repeated string additional_licenses = 17;- Parameters:
index- The index to set the value at.value- The additionalLicenses to set.- Returns:
- This builder for chaining.
-
addAdditionalLicenses
public ComputeEngineTargetDetails.Builder addAdditionalLicenses(String value)
Additional licenses to assign to the VM.
repeated string additional_licenses = 17;- Parameters:
value- The additionalLicenses to add.- Returns:
- This builder for chaining.
-
addAllAdditionalLicenses
public ComputeEngineTargetDetails.Builder addAllAdditionalLicenses(Iterable<String> values)
Additional licenses to assign to the VM.
repeated string additional_licenses = 17;- Parameters:
values- The additionalLicenses to add.- Returns:
- This builder for chaining.
-
clearAdditionalLicenses
public ComputeEngineTargetDetails.Builder clearAdditionalLicenses()
Additional licenses to assign to the VM.
repeated string additional_licenses = 17;- Returns:
- This builder for chaining.
-
addAdditionalLicensesBytes
public ComputeEngineTargetDetails.Builder addAdditionalLicensesBytes(com.google.protobuf.ByteString value)
Additional licenses to assign to the VM.
repeated string additional_licenses = 17;- Parameters:
value- The bytes of the additionalLicenses to add.- Returns:
- This builder for chaining.
-
getHostname
public String getHostname()
The hostname to assign to the VM.
string hostname = 18;- Specified by:
getHostnamein interfaceComputeEngineTargetDetailsOrBuilder- Returns:
- The hostname.
-
getHostnameBytes
public com.google.protobuf.ByteString getHostnameBytes()
The hostname to assign to the VM.
string hostname = 18;- Specified by:
getHostnameBytesin interfaceComputeEngineTargetDetailsOrBuilder- Returns:
- The bytes for hostname.
-
setHostname
public ComputeEngineTargetDetails.Builder setHostname(String value)
The hostname to assign to the VM.
string hostname = 18;- Parameters:
value- The hostname to set.- Returns:
- This builder for chaining.
-
clearHostname
public ComputeEngineTargetDetails.Builder clearHostname()
The hostname to assign to the VM.
string hostname = 18;- Returns:
- This builder for chaining.
-
setHostnameBytes
public ComputeEngineTargetDetails.Builder setHostnameBytes(com.google.protobuf.ByteString value)
The hostname to assign to the VM.
string hostname = 18;- Parameters:
value- The bytes for hostname to set.- Returns:
- This builder for chaining.
-
setUnknownFields
public final ComputeEngineTargetDetails.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<ComputeEngineTargetDetails.Builder>
-
mergeUnknownFields
public final ComputeEngineTargetDetails.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<ComputeEngineTargetDetails.Builder>
-
-