Class InstanceConfig.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<InstanceConfig.Builder>
-
- com.google.cloud.baremetalsolution.v2.InstanceConfig.Builder
-
- All Implemented Interfaces:
InstanceConfigOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- InstanceConfig
public static final class InstanceConfig.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<InstanceConfig.Builder> implements InstanceConfigOrBuilder
Configuration parameters for a new instance.
Protobuf typegoogle.cloud.baremetalsolution.v2.InstanceConfig
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description InstanceConfig.BuilderaddAllLogicalInterfaces(Iterable<? extends LogicalInterface> values)List of logical interfaces for the instance.InstanceConfig.BuilderaddAllSshKeyNames(Iterable<String> values)List of names of ssh keys used to provision the instance.InstanceConfig.BuilderaddLogicalInterfaces(int index, LogicalInterface value)List of logical interfaces for the instance.InstanceConfig.BuilderaddLogicalInterfaces(int index, LogicalInterface.Builder builderForValue)List of logical interfaces for the instance.InstanceConfig.BuilderaddLogicalInterfaces(LogicalInterface value)List of logical interfaces for the instance.InstanceConfig.BuilderaddLogicalInterfaces(LogicalInterface.Builder builderForValue)List of logical interfaces for the instance.LogicalInterface.BuilderaddLogicalInterfacesBuilder()List of logical interfaces for the instance.LogicalInterface.BuilderaddLogicalInterfacesBuilder(int index)List of logical interfaces for the instance.InstanceConfig.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)InstanceConfig.BuilderaddSshKeyNames(String value)List of names of ssh keys used to provision the instance.InstanceConfig.BuilderaddSshKeyNamesBytes(com.google.protobuf.ByteString value)List of names of ssh keys used to provision the instance.InstanceConfigbuild()InstanceConfigbuildPartial()InstanceConfig.Builderclear()InstanceConfig.BuilderclearAccountNetworksEnabled()If true networks can be from different projects of the same vendor account.InstanceConfig.BuilderclearClientNetwork()Deprecated.InstanceConfig.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)InstanceConfig.BuilderclearHyperthreading()Whether the instance should be provisioned with Hyperthreading enabled.InstanceConfig.BuilderclearId()A transient unique identifier to idenfity an instance within an ProvisioningConfig request.InstanceConfig.BuilderclearInstanceType()Instance type.InstanceConfig.BuilderclearLogicalInterfaces()List of logical interfaces for the instance.InstanceConfig.BuilderclearName()Output only.InstanceConfig.BuilderclearNetworkConfig()The type of network configuration on the instance.InstanceConfig.BuilderclearNetworkTemplate()Server network template name.InstanceConfig.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)InstanceConfig.BuilderclearOsImage()OS image to initialize the instance.InstanceConfig.BuilderclearPrivateNetwork()Deprecated.InstanceConfig.BuilderclearSshKeyNames()List of names of ssh keys used to provision the instance.InstanceConfig.BuilderclearUserNote()User note field, it can be used by customers to add additional information for the BMS Ops team .InstanceConfig.Builderclone()booleangetAccountNetworksEnabled()If true networks can be from different projects of the same vendor account.InstanceConfig.NetworkAddressgetClientNetwork()Deprecated.google.cloud.baremetalsolution.v2.InstanceConfig.client_network is deprecated.InstanceConfig.NetworkAddress.BuildergetClientNetworkBuilder()Deprecated.InstanceConfig.NetworkAddressOrBuildergetClientNetworkOrBuilder()Deprecated.InstanceConfiggetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()booleangetHyperthreading()Whether the instance should be provisioned with Hyperthreading enabled.StringgetId()A transient unique identifier to idenfity an instance within an ProvisioningConfig request.com.google.protobuf.ByteStringgetIdBytes()A transient unique identifier to idenfity an instance within an ProvisioningConfig request.StringgetInstanceType()Instance type.com.google.protobuf.ByteStringgetInstanceTypeBytes()Instance type.LogicalInterfacegetLogicalInterfaces(int index)List of logical interfaces for the instance.LogicalInterface.BuildergetLogicalInterfacesBuilder(int index)List of logical interfaces for the instance.List<LogicalInterface.Builder>getLogicalInterfacesBuilderList()List of logical interfaces for the instance.intgetLogicalInterfacesCount()List of logical interfaces for the instance.List<LogicalInterface>getLogicalInterfacesList()List of logical interfaces for the instance.LogicalInterfaceOrBuildergetLogicalInterfacesOrBuilder(int index)List of logical interfaces for the instance.List<? extends LogicalInterfaceOrBuilder>getLogicalInterfacesOrBuilderList()List of logical interfaces for the instance.StringgetName()Output only.com.google.protobuf.ByteStringgetNameBytes()Output only.InstanceConfig.NetworkConfiggetNetworkConfig()The type of network configuration on the instance.intgetNetworkConfigValue()The type of network configuration on the instance.StringgetNetworkTemplate()Server network template name.com.google.protobuf.ByteStringgetNetworkTemplateBytes()Server network template name.StringgetOsImage()OS image to initialize the instance.com.google.protobuf.ByteStringgetOsImageBytes()OS image to initialize the instance.InstanceConfig.NetworkAddressgetPrivateNetwork()Deprecated.google.cloud.baremetalsolution.v2.InstanceConfig.private_network is deprecated.InstanceConfig.NetworkAddress.BuildergetPrivateNetworkBuilder()Deprecated.InstanceConfig.NetworkAddressOrBuildergetPrivateNetworkOrBuilder()Deprecated.StringgetSshKeyNames(int index)List of names of ssh keys used to provision the instance.com.google.protobuf.ByteStringgetSshKeyNamesBytes(int index)List of names of ssh keys used to provision the instance.intgetSshKeyNamesCount()List of names of ssh keys used to provision the instance.com.google.protobuf.ProtocolStringListgetSshKeyNamesList()List of names of ssh keys used to provision the instance.StringgetUserNote()User note field, it can be used by customers to add additional information for the BMS Ops team .com.google.protobuf.ByteStringgetUserNoteBytes()User note field, it can be used by customers to add additional information for the BMS Ops team .booleanhasClientNetwork()Deprecated.google.cloud.baremetalsolution.v2.InstanceConfig.client_network is deprecated.booleanhasPrivateNetwork()Deprecated.google.cloud.baremetalsolution.v2.InstanceConfig.private_network is deprecated.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()InstanceConfig.BuildermergeClientNetwork(InstanceConfig.NetworkAddress value)Deprecated.InstanceConfig.BuildermergeFrom(InstanceConfig other)InstanceConfig.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)InstanceConfig.BuildermergeFrom(com.google.protobuf.Message other)InstanceConfig.BuildermergePrivateNetwork(InstanceConfig.NetworkAddress value)Deprecated.InstanceConfig.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)InstanceConfig.BuilderremoveLogicalInterfaces(int index)List of logical interfaces for the instance.InstanceConfig.BuildersetAccountNetworksEnabled(boolean value)If true networks can be from different projects of the same vendor account.InstanceConfig.BuildersetClientNetwork(InstanceConfig.NetworkAddress value)Deprecated.InstanceConfig.BuildersetClientNetwork(InstanceConfig.NetworkAddress.Builder builderForValue)Deprecated.InstanceConfig.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)InstanceConfig.BuildersetHyperthreading(boolean value)Whether the instance should be provisioned with Hyperthreading enabled.InstanceConfig.BuildersetId(String value)A transient unique identifier to idenfity an instance within an ProvisioningConfig request.InstanceConfig.BuildersetIdBytes(com.google.protobuf.ByteString value)A transient unique identifier to idenfity an instance within an ProvisioningConfig request.InstanceConfig.BuildersetInstanceType(String value)Instance type.InstanceConfig.BuildersetInstanceTypeBytes(com.google.protobuf.ByteString value)Instance type.InstanceConfig.BuildersetLogicalInterfaces(int index, LogicalInterface value)List of logical interfaces for the instance.InstanceConfig.BuildersetLogicalInterfaces(int index, LogicalInterface.Builder builderForValue)List of logical interfaces for the instance.InstanceConfig.BuildersetName(String value)Output only.InstanceConfig.BuildersetNameBytes(com.google.protobuf.ByteString value)Output only.InstanceConfig.BuildersetNetworkConfig(InstanceConfig.NetworkConfig value)The type of network configuration on the instance.InstanceConfig.BuildersetNetworkConfigValue(int value)The type of network configuration on the instance.InstanceConfig.BuildersetNetworkTemplate(String value)Server network template name.InstanceConfig.BuildersetNetworkTemplateBytes(com.google.protobuf.ByteString value)Server network template name.InstanceConfig.BuildersetOsImage(String value)OS image to initialize the instance.InstanceConfig.BuildersetOsImageBytes(com.google.protobuf.ByteString value)OS image to initialize the instance.InstanceConfig.BuildersetPrivateNetwork(InstanceConfig.NetworkAddress value)Deprecated.InstanceConfig.BuildersetPrivateNetwork(InstanceConfig.NetworkAddress.Builder builderForValue)Deprecated.InstanceConfig.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)InstanceConfig.BuildersetSshKeyNames(int index, String value)List of names of ssh keys used to provision the instance.InstanceConfig.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)InstanceConfig.BuildersetUserNote(String value)User note field, it can be used by customers to add additional information for the BMS Ops team .InstanceConfig.BuildersetUserNoteBytes(com.google.protobuf.ByteString value)User note field, it can be used by customers to add additional information for the BMS Ops team .-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, 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()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<InstanceConfig.Builder>
-
clear
public InstanceConfig.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<InstanceConfig.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<InstanceConfig.Builder>
-
getDefaultInstanceForType
public InstanceConfig getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public InstanceConfig build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public InstanceConfig buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public InstanceConfig.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<InstanceConfig.Builder>
-
setField
public InstanceConfig.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<InstanceConfig.Builder>
-
clearField
public InstanceConfig.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<InstanceConfig.Builder>
-
clearOneof
public InstanceConfig.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<InstanceConfig.Builder>
-
setRepeatedField
public InstanceConfig.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<InstanceConfig.Builder>
-
addRepeatedField
public InstanceConfig.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<InstanceConfig.Builder>
-
mergeFrom
public InstanceConfig.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<InstanceConfig.Builder>
-
mergeFrom
public InstanceConfig.Builder mergeFrom(InstanceConfig other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<InstanceConfig.Builder>
-
mergeFrom
public InstanceConfig.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<InstanceConfig.Builder>- Throws:
IOException
-
getName
public String getName()
Output only. The name of the instance config.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getNamein interfaceInstanceConfigOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()
Output only. The name of the instance config.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getNameBytesin interfaceInstanceConfigOrBuilder- Returns:
- The bytes for name.
-
setName
public InstanceConfig.Builder setName(String value)
Output only. The name of the instance config.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The name to set.- Returns:
- This builder for chaining.
-
clearName
public InstanceConfig.Builder clearName()
Output only. The name of the instance config.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
setNameBytes
public InstanceConfig.Builder setNameBytes(com.google.protobuf.ByteString value)
Output only. The name of the instance config.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The bytes for name to set.- Returns:
- This builder for chaining.
-
getId
public String getId()
A transient unique identifier to idenfity an instance within an ProvisioningConfig request.
string id = 2;- Specified by:
getIdin interfaceInstanceConfigOrBuilder- Returns:
- The id.
-
getIdBytes
public com.google.protobuf.ByteString getIdBytes()
A transient unique identifier to idenfity an instance within an ProvisioningConfig request.
string id = 2;- Specified by:
getIdBytesin interfaceInstanceConfigOrBuilder- Returns:
- The bytes for id.
-
setId
public InstanceConfig.Builder setId(String value)
A transient unique identifier to idenfity an instance within an ProvisioningConfig request.
string id = 2;- Parameters:
value- The id to set.- Returns:
- This builder for chaining.
-
clearId
public InstanceConfig.Builder clearId()
A transient unique identifier to idenfity an instance within an ProvisioningConfig request.
string id = 2;- Returns:
- This builder for chaining.
-
setIdBytes
public InstanceConfig.Builder setIdBytes(com.google.protobuf.ByteString value)
A transient unique identifier to idenfity an instance within an ProvisioningConfig request.
string id = 2;- Parameters:
value- The bytes for id to set.- Returns:
- This builder for chaining.
-
getInstanceType
public String getInstanceType()
Instance type. [Available types](https://cloud.google.com/bare-metal/docs/bms-planning#server_configurations)
string instance_type = 3;- Specified by:
getInstanceTypein interfaceInstanceConfigOrBuilder- Returns:
- The instanceType.
-
getInstanceTypeBytes
public com.google.protobuf.ByteString getInstanceTypeBytes()
Instance type. [Available types](https://cloud.google.com/bare-metal/docs/bms-planning#server_configurations)
string instance_type = 3;- Specified by:
getInstanceTypeBytesin interfaceInstanceConfigOrBuilder- Returns:
- The bytes for instanceType.
-
setInstanceType
public InstanceConfig.Builder setInstanceType(String value)
Instance type. [Available types](https://cloud.google.com/bare-metal/docs/bms-planning#server_configurations)
string instance_type = 3;- Parameters:
value- The instanceType to set.- Returns:
- This builder for chaining.
-
clearInstanceType
public InstanceConfig.Builder clearInstanceType()
Instance type. [Available types](https://cloud.google.com/bare-metal/docs/bms-planning#server_configurations)
string instance_type = 3;- Returns:
- This builder for chaining.
-
setInstanceTypeBytes
public InstanceConfig.Builder setInstanceTypeBytes(com.google.protobuf.ByteString value)
Instance type. [Available types](https://cloud.google.com/bare-metal/docs/bms-planning#server_configurations)
string instance_type = 3;- Parameters:
value- The bytes for instanceType to set.- Returns:
- This builder for chaining.
-
getHyperthreading
public boolean getHyperthreading()
Whether the instance should be provisioned with Hyperthreading enabled.
bool hyperthreading = 4;- Specified by:
getHyperthreadingin interfaceInstanceConfigOrBuilder- Returns:
- The hyperthreading.
-
setHyperthreading
public InstanceConfig.Builder setHyperthreading(boolean value)
Whether the instance should be provisioned with Hyperthreading enabled.
bool hyperthreading = 4;- Parameters:
value- The hyperthreading to set.- Returns:
- This builder for chaining.
-
clearHyperthreading
public InstanceConfig.Builder clearHyperthreading()
Whether the instance should be provisioned with Hyperthreading enabled.
bool hyperthreading = 4;- Returns:
- This builder for chaining.
-
getOsImage
public String getOsImage()
OS image to initialize the instance. [Available images](https://cloud.google.com/bare-metal/docs/bms-planning#server_configurations)
string os_image = 5;- Specified by:
getOsImagein interfaceInstanceConfigOrBuilder- Returns:
- The osImage.
-
getOsImageBytes
public com.google.protobuf.ByteString getOsImageBytes()
OS image to initialize the instance. [Available images](https://cloud.google.com/bare-metal/docs/bms-planning#server_configurations)
string os_image = 5;- Specified by:
getOsImageBytesin interfaceInstanceConfigOrBuilder- Returns:
- The bytes for osImage.
-
setOsImage
public InstanceConfig.Builder setOsImage(String value)
OS image to initialize the instance. [Available images](https://cloud.google.com/bare-metal/docs/bms-planning#server_configurations)
string os_image = 5;- Parameters:
value- The osImage to set.- Returns:
- This builder for chaining.
-
clearOsImage
public InstanceConfig.Builder clearOsImage()
OS image to initialize the instance. [Available images](https://cloud.google.com/bare-metal/docs/bms-planning#server_configurations)
string os_image = 5;- Returns:
- This builder for chaining.
-
setOsImageBytes
public InstanceConfig.Builder setOsImageBytes(com.google.protobuf.ByteString value)
OS image to initialize the instance. [Available images](https://cloud.google.com/bare-metal/docs/bms-planning#server_configurations)
string os_image = 5;- Parameters:
value- The bytes for osImage to set.- Returns:
- This builder for chaining.
-
hasClientNetwork
@Deprecated public boolean hasClientNetwork()
Deprecated.google.cloud.baremetalsolution.v2.InstanceConfig.client_network is deprecated. See google/cloud/baremetalsolution/v2/provisioning.proto;l=283Client network address. Filled if InstanceConfig.multivlan_config is false.
.google.cloud.baremetalsolution.v2.InstanceConfig.NetworkAddress client_network = 6 [deprecated = true];- Specified by:
hasClientNetworkin interfaceInstanceConfigOrBuilder- Returns:
- Whether the clientNetwork field is set.
-
getClientNetwork
@Deprecated public InstanceConfig.NetworkAddress getClientNetwork()
Deprecated.google.cloud.baremetalsolution.v2.InstanceConfig.client_network is deprecated. See google/cloud/baremetalsolution/v2/provisioning.proto;l=283Client network address. Filled if InstanceConfig.multivlan_config is false.
.google.cloud.baremetalsolution.v2.InstanceConfig.NetworkAddress client_network = 6 [deprecated = true];- Specified by:
getClientNetworkin interfaceInstanceConfigOrBuilder- Returns:
- The clientNetwork.
-
setClientNetwork
@Deprecated public InstanceConfig.Builder setClientNetwork(InstanceConfig.NetworkAddress value)
Deprecated.Client network address. Filled if InstanceConfig.multivlan_config is false.
.google.cloud.baremetalsolution.v2.InstanceConfig.NetworkAddress client_network = 6 [deprecated = true];
-
setClientNetwork
@Deprecated public InstanceConfig.Builder setClientNetwork(InstanceConfig.NetworkAddress.Builder builderForValue)
Deprecated.Client network address. Filled if InstanceConfig.multivlan_config is false.
.google.cloud.baremetalsolution.v2.InstanceConfig.NetworkAddress client_network = 6 [deprecated = true];
-
mergeClientNetwork
@Deprecated public InstanceConfig.Builder mergeClientNetwork(InstanceConfig.NetworkAddress value)
Deprecated.Client network address. Filled if InstanceConfig.multivlan_config is false.
.google.cloud.baremetalsolution.v2.InstanceConfig.NetworkAddress client_network = 6 [deprecated = true];
-
clearClientNetwork
@Deprecated public InstanceConfig.Builder clearClientNetwork()
Deprecated.Client network address. Filled if InstanceConfig.multivlan_config is false.
.google.cloud.baremetalsolution.v2.InstanceConfig.NetworkAddress client_network = 6 [deprecated = true];
-
getClientNetworkBuilder
@Deprecated public InstanceConfig.NetworkAddress.Builder getClientNetworkBuilder()
Deprecated.Client network address. Filled if InstanceConfig.multivlan_config is false.
.google.cloud.baremetalsolution.v2.InstanceConfig.NetworkAddress client_network = 6 [deprecated = true];
-
getClientNetworkOrBuilder
@Deprecated public InstanceConfig.NetworkAddressOrBuilder getClientNetworkOrBuilder()
Deprecated.Client network address. Filled if InstanceConfig.multivlan_config is false.
.google.cloud.baremetalsolution.v2.InstanceConfig.NetworkAddress client_network = 6 [deprecated = true];- Specified by:
getClientNetworkOrBuilderin interfaceInstanceConfigOrBuilder
-
hasPrivateNetwork
@Deprecated public boolean hasPrivateNetwork()
Deprecated.google.cloud.baremetalsolution.v2.InstanceConfig.private_network is deprecated. See google/cloud/baremetalsolution/v2/provisioning.proto;l=287Private network address, if any. Filled if InstanceConfig.multivlan_config is false.
.google.cloud.baremetalsolution.v2.InstanceConfig.NetworkAddress private_network = 7 [deprecated = true];- Specified by:
hasPrivateNetworkin interfaceInstanceConfigOrBuilder- Returns:
- Whether the privateNetwork field is set.
-
getPrivateNetwork
@Deprecated public InstanceConfig.NetworkAddress getPrivateNetwork()
Deprecated.google.cloud.baremetalsolution.v2.InstanceConfig.private_network is deprecated. See google/cloud/baremetalsolution/v2/provisioning.proto;l=287Private network address, if any. Filled if InstanceConfig.multivlan_config is false.
.google.cloud.baremetalsolution.v2.InstanceConfig.NetworkAddress private_network = 7 [deprecated = true];- Specified by:
getPrivateNetworkin interfaceInstanceConfigOrBuilder- Returns:
- The privateNetwork.
-
setPrivateNetwork
@Deprecated public InstanceConfig.Builder setPrivateNetwork(InstanceConfig.NetworkAddress value)
Deprecated.Private network address, if any. Filled if InstanceConfig.multivlan_config is false.
.google.cloud.baremetalsolution.v2.InstanceConfig.NetworkAddress private_network = 7 [deprecated = true];
-
setPrivateNetwork
@Deprecated public InstanceConfig.Builder setPrivateNetwork(InstanceConfig.NetworkAddress.Builder builderForValue)
Deprecated.Private network address, if any. Filled if InstanceConfig.multivlan_config is false.
.google.cloud.baremetalsolution.v2.InstanceConfig.NetworkAddress private_network = 7 [deprecated = true];
-
mergePrivateNetwork
@Deprecated public InstanceConfig.Builder mergePrivateNetwork(InstanceConfig.NetworkAddress value)
Deprecated.Private network address, if any. Filled if InstanceConfig.multivlan_config is false.
.google.cloud.baremetalsolution.v2.InstanceConfig.NetworkAddress private_network = 7 [deprecated = true];
-
clearPrivateNetwork
@Deprecated public InstanceConfig.Builder clearPrivateNetwork()
Deprecated.Private network address, if any. Filled if InstanceConfig.multivlan_config is false.
.google.cloud.baremetalsolution.v2.InstanceConfig.NetworkAddress private_network = 7 [deprecated = true];
-
getPrivateNetworkBuilder
@Deprecated public InstanceConfig.NetworkAddress.Builder getPrivateNetworkBuilder()
Deprecated.Private network address, if any. Filled if InstanceConfig.multivlan_config is false.
.google.cloud.baremetalsolution.v2.InstanceConfig.NetworkAddress private_network = 7 [deprecated = true];
-
getPrivateNetworkOrBuilder
@Deprecated public InstanceConfig.NetworkAddressOrBuilder getPrivateNetworkOrBuilder()
Deprecated.Private network address, if any. Filled if InstanceConfig.multivlan_config is false.
.google.cloud.baremetalsolution.v2.InstanceConfig.NetworkAddress private_network = 7 [deprecated = true];- Specified by:
getPrivateNetworkOrBuilderin interfaceInstanceConfigOrBuilder
-
getUserNote
public String getUserNote()
User note field, it can be used by customers to add additional information for the BMS Ops team .
string user_note = 8;- Specified by:
getUserNotein interfaceInstanceConfigOrBuilder- Returns:
- The userNote.
-
getUserNoteBytes
public com.google.protobuf.ByteString getUserNoteBytes()
User note field, it can be used by customers to add additional information for the BMS Ops team .
string user_note = 8;- Specified by:
getUserNoteBytesin interfaceInstanceConfigOrBuilder- Returns:
- The bytes for userNote.
-
setUserNote
public InstanceConfig.Builder setUserNote(String value)
User note field, it can be used by customers to add additional information for the BMS Ops team .
string user_note = 8;- Parameters:
value- The userNote to set.- Returns:
- This builder for chaining.
-
clearUserNote
public InstanceConfig.Builder clearUserNote()
User note field, it can be used by customers to add additional information for the BMS Ops team .
string user_note = 8;- Returns:
- This builder for chaining.
-
setUserNoteBytes
public InstanceConfig.Builder setUserNoteBytes(com.google.protobuf.ByteString value)
User note field, it can be used by customers to add additional information for the BMS Ops team .
string user_note = 8;- Parameters:
value- The bytes for userNote to set.- Returns:
- This builder for chaining.
-
getAccountNetworksEnabled
public boolean getAccountNetworksEnabled()
If true networks can be from different projects of the same vendor account.
bool account_networks_enabled = 9;- Specified by:
getAccountNetworksEnabledin interfaceInstanceConfigOrBuilder- Returns:
- The accountNetworksEnabled.
-
setAccountNetworksEnabled
public InstanceConfig.Builder setAccountNetworksEnabled(boolean value)
If true networks can be from different projects of the same vendor account.
bool account_networks_enabled = 9;- Parameters:
value- The accountNetworksEnabled to set.- Returns:
- This builder for chaining.
-
clearAccountNetworksEnabled
public InstanceConfig.Builder clearAccountNetworksEnabled()
If true networks can be from different projects of the same vendor account.
bool account_networks_enabled = 9;- Returns:
- This builder for chaining.
-
getNetworkConfigValue
public int getNetworkConfigValue()
The type of network configuration on the instance.
.google.cloud.baremetalsolution.v2.InstanceConfig.NetworkConfig network_config = 10;- Specified by:
getNetworkConfigValuein interfaceInstanceConfigOrBuilder- Returns:
- The enum numeric value on the wire for networkConfig.
-
setNetworkConfigValue
public InstanceConfig.Builder setNetworkConfigValue(int value)
The type of network configuration on the instance.
.google.cloud.baremetalsolution.v2.InstanceConfig.NetworkConfig network_config = 10;- Parameters:
value- The enum numeric value on the wire for networkConfig to set.- Returns:
- This builder for chaining.
-
getNetworkConfig
public InstanceConfig.NetworkConfig getNetworkConfig()
The type of network configuration on the instance.
.google.cloud.baremetalsolution.v2.InstanceConfig.NetworkConfig network_config = 10;- Specified by:
getNetworkConfigin interfaceInstanceConfigOrBuilder- Returns:
- The networkConfig.
-
setNetworkConfig
public InstanceConfig.Builder setNetworkConfig(InstanceConfig.NetworkConfig value)
The type of network configuration on the instance.
.google.cloud.baremetalsolution.v2.InstanceConfig.NetworkConfig network_config = 10;- Parameters:
value- The networkConfig to set.- Returns:
- This builder for chaining.
-
clearNetworkConfig
public InstanceConfig.Builder clearNetworkConfig()
The type of network configuration on the instance.
.google.cloud.baremetalsolution.v2.InstanceConfig.NetworkConfig network_config = 10;- Returns:
- This builder for chaining.
-
getNetworkTemplate
public String getNetworkTemplate()
Server network template name. Filled if InstanceConfig.multivlan_config is true.
string network_template = 11;- Specified by:
getNetworkTemplatein interfaceInstanceConfigOrBuilder- Returns:
- The networkTemplate.
-
getNetworkTemplateBytes
public com.google.protobuf.ByteString getNetworkTemplateBytes()
Server network template name. Filled if InstanceConfig.multivlan_config is true.
string network_template = 11;- Specified by:
getNetworkTemplateBytesin interfaceInstanceConfigOrBuilder- Returns:
- The bytes for networkTemplate.
-
setNetworkTemplate
public InstanceConfig.Builder setNetworkTemplate(String value)
Server network template name. Filled if InstanceConfig.multivlan_config is true.
string network_template = 11;- Parameters:
value- The networkTemplate to set.- Returns:
- This builder for chaining.
-
clearNetworkTemplate
public InstanceConfig.Builder clearNetworkTemplate()
Server network template name. Filled if InstanceConfig.multivlan_config is true.
string network_template = 11;- Returns:
- This builder for chaining.
-
setNetworkTemplateBytes
public InstanceConfig.Builder setNetworkTemplateBytes(com.google.protobuf.ByteString value)
Server network template name. Filled if InstanceConfig.multivlan_config is true.
string network_template = 11;- Parameters:
value- The bytes for networkTemplate to set.- Returns:
- This builder for chaining.
-
getLogicalInterfacesList
public List<LogicalInterface> getLogicalInterfacesList()
List of logical interfaces for the instance. The number of logical interfaces will be the same as number of hardware bond/nic on the chosen network template. Filled if InstanceConfig.multivlan_config is true.
repeated .google.cloud.baremetalsolution.v2.LogicalInterface logical_interfaces = 12;- Specified by:
getLogicalInterfacesListin interfaceInstanceConfigOrBuilder
-
getLogicalInterfacesCount
public int getLogicalInterfacesCount()
List of logical interfaces for the instance. The number of logical interfaces will be the same as number of hardware bond/nic on the chosen network template. Filled if InstanceConfig.multivlan_config is true.
repeated .google.cloud.baremetalsolution.v2.LogicalInterface logical_interfaces = 12;- Specified by:
getLogicalInterfacesCountin interfaceInstanceConfigOrBuilder
-
getLogicalInterfaces
public LogicalInterface getLogicalInterfaces(int index)
List of logical interfaces for the instance. The number of logical interfaces will be the same as number of hardware bond/nic on the chosen network template. Filled if InstanceConfig.multivlan_config is true.
repeated .google.cloud.baremetalsolution.v2.LogicalInterface logical_interfaces = 12;- Specified by:
getLogicalInterfacesin interfaceInstanceConfigOrBuilder
-
setLogicalInterfaces
public InstanceConfig.Builder setLogicalInterfaces(int index, LogicalInterface value)
List of logical interfaces for the instance. The number of logical interfaces will be the same as number of hardware bond/nic on the chosen network template. Filled if InstanceConfig.multivlan_config is true.
repeated .google.cloud.baremetalsolution.v2.LogicalInterface logical_interfaces = 12;
-
setLogicalInterfaces
public InstanceConfig.Builder setLogicalInterfaces(int index, LogicalInterface.Builder builderForValue)
List of logical interfaces for the instance. The number of logical interfaces will be the same as number of hardware bond/nic on the chosen network template. Filled if InstanceConfig.multivlan_config is true.
repeated .google.cloud.baremetalsolution.v2.LogicalInterface logical_interfaces = 12;
-
addLogicalInterfaces
public InstanceConfig.Builder addLogicalInterfaces(LogicalInterface value)
List of logical interfaces for the instance. The number of logical interfaces will be the same as number of hardware bond/nic on the chosen network template. Filled if InstanceConfig.multivlan_config is true.
repeated .google.cloud.baremetalsolution.v2.LogicalInterface logical_interfaces = 12;
-
addLogicalInterfaces
public InstanceConfig.Builder addLogicalInterfaces(int index, LogicalInterface value)
List of logical interfaces for the instance. The number of logical interfaces will be the same as number of hardware bond/nic on the chosen network template. Filled if InstanceConfig.multivlan_config is true.
repeated .google.cloud.baremetalsolution.v2.LogicalInterface logical_interfaces = 12;
-
addLogicalInterfaces
public InstanceConfig.Builder addLogicalInterfaces(LogicalInterface.Builder builderForValue)
List of logical interfaces for the instance. The number of logical interfaces will be the same as number of hardware bond/nic on the chosen network template. Filled if InstanceConfig.multivlan_config is true.
repeated .google.cloud.baremetalsolution.v2.LogicalInterface logical_interfaces = 12;
-
addLogicalInterfaces
public InstanceConfig.Builder addLogicalInterfaces(int index, LogicalInterface.Builder builderForValue)
List of logical interfaces for the instance. The number of logical interfaces will be the same as number of hardware bond/nic on the chosen network template. Filled if InstanceConfig.multivlan_config is true.
repeated .google.cloud.baremetalsolution.v2.LogicalInterface logical_interfaces = 12;
-
addAllLogicalInterfaces
public InstanceConfig.Builder addAllLogicalInterfaces(Iterable<? extends LogicalInterface> values)
List of logical interfaces for the instance. The number of logical interfaces will be the same as number of hardware bond/nic on the chosen network template. Filled if InstanceConfig.multivlan_config is true.
repeated .google.cloud.baremetalsolution.v2.LogicalInterface logical_interfaces = 12;
-
clearLogicalInterfaces
public InstanceConfig.Builder clearLogicalInterfaces()
List of logical interfaces for the instance. The number of logical interfaces will be the same as number of hardware bond/nic on the chosen network template. Filled if InstanceConfig.multivlan_config is true.
repeated .google.cloud.baremetalsolution.v2.LogicalInterface logical_interfaces = 12;
-
removeLogicalInterfaces
public InstanceConfig.Builder removeLogicalInterfaces(int index)
List of logical interfaces for the instance. The number of logical interfaces will be the same as number of hardware bond/nic on the chosen network template. Filled if InstanceConfig.multivlan_config is true.
repeated .google.cloud.baremetalsolution.v2.LogicalInterface logical_interfaces = 12;
-
getLogicalInterfacesBuilder
public LogicalInterface.Builder getLogicalInterfacesBuilder(int index)
List of logical interfaces for the instance. The number of logical interfaces will be the same as number of hardware bond/nic on the chosen network template. Filled if InstanceConfig.multivlan_config is true.
repeated .google.cloud.baremetalsolution.v2.LogicalInterface logical_interfaces = 12;
-
getLogicalInterfacesOrBuilder
public LogicalInterfaceOrBuilder getLogicalInterfacesOrBuilder(int index)
List of logical interfaces for the instance. The number of logical interfaces will be the same as number of hardware bond/nic on the chosen network template. Filled if InstanceConfig.multivlan_config is true.
repeated .google.cloud.baremetalsolution.v2.LogicalInterface logical_interfaces = 12;- Specified by:
getLogicalInterfacesOrBuilderin interfaceInstanceConfigOrBuilder
-
getLogicalInterfacesOrBuilderList
public List<? extends LogicalInterfaceOrBuilder> getLogicalInterfacesOrBuilderList()
List of logical interfaces for the instance. The number of logical interfaces will be the same as number of hardware bond/nic on the chosen network template. Filled if InstanceConfig.multivlan_config is true.
repeated .google.cloud.baremetalsolution.v2.LogicalInterface logical_interfaces = 12;- Specified by:
getLogicalInterfacesOrBuilderListin interfaceInstanceConfigOrBuilder
-
addLogicalInterfacesBuilder
public LogicalInterface.Builder addLogicalInterfacesBuilder()
List of logical interfaces for the instance. The number of logical interfaces will be the same as number of hardware bond/nic on the chosen network template. Filled if InstanceConfig.multivlan_config is true.
repeated .google.cloud.baremetalsolution.v2.LogicalInterface logical_interfaces = 12;
-
addLogicalInterfacesBuilder
public LogicalInterface.Builder addLogicalInterfacesBuilder(int index)
List of logical interfaces for the instance. The number of logical interfaces will be the same as number of hardware bond/nic on the chosen network template. Filled if InstanceConfig.multivlan_config is true.
repeated .google.cloud.baremetalsolution.v2.LogicalInterface logical_interfaces = 12;
-
getLogicalInterfacesBuilderList
public List<LogicalInterface.Builder> getLogicalInterfacesBuilderList()
List of logical interfaces for the instance. The number of logical interfaces will be the same as number of hardware bond/nic on the chosen network template. Filled if InstanceConfig.multivlan_config is true.
repeated .google.cloud.baremetalsolution.v2.LogicalInterface logical_interfaces = 12;
-
getSshKeyNamesList
public com.google.protobuf.ProtocolStringList getSshKeyNamesList()
List of names of ssh keys used to provision the instance.
repeated string ssh_key_names = 13;- Specified by:
getSshKeyNamesListin interfaceInstanceConfigOrBuilder- Returns:
- A list containing the sshKeyNames.
-
getSshKeyNamesCount
public int getSshKeyNamesCount()
List of names of ssh keys used to provision the instance.
repeated string ssh_key_names = 13;- Specified by:
getSshKeyNamesCountin interfaceInstanceConfigOrBuilder- Returns:
- The count of sshKeyNames.
-
getSshKeyNames
public String getSshKeyNames(int index)
List of names of ssh keys used to provision the instance.
repeated string ssh_key_names = 13;- Specified by:
getSshKeyNamesin interfaceInstanceConfigOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The sshKeyNames at the given index.
-
getSshKeyNamesBytes
public com.google.protobuf.ByteString getSshKeyNamesBytes(int index)
List of names of ssh keys used to provision the instance.
repeated string ssh_key_names = 13;- Specified by:
getSshKeyNamesBytesin interfaceInstanceConfigOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the sshKeyNames at the given index.
-
setSshKeyNames
public InstanceConfig.Builder setSshKeyNames(int index, String value)
List of names of ssh keys used to provision the instance.
repeated string ssh_key_names = 13;- Parameters:
index- The index to set the value at.value- The sshKeyNames to set.- Returns:
- This builder for chaining.
-
addSshKeyNames
public InstanceConfig.Builder addSshKeyNames(String value)
List of names of ssh keys used to provision the instance.
repeated string ssh_key_names = 13;- Parameters:
value- The sshKeyNames to add.- Returns:
- This builder for chaining.
-
addAllSshKeyNames
public InstanceConfig.Builder addAllSshKeyNames(Iterable<String> values)
List of names of ssh keys used to provision the instance.
repeated string ssh_key_names = 13;- Parameters:
values- The sshKeyNames to add.- Returns:
- This builder for chaining.
-
clearSshKeyNames
public InstanceConfig.Builder clearSshKeyNames()
List of names of ssh keys used to provision the instance.
repeated string ssh_key_names = 13;- Returns:
- This builder for chaining.
-
addSshKeyNamesBytes
public InstanceConfig.Builder addSshKeyNamesBytes(com.google.protobuf.ByteString value)
List of names of ssh keys used to provision the instance.
repeated string ssh_key_names = 13;- Parameters:
value- The bytes of the sshKeyNames to add.- Returns:
- This builder for chaining.
-
setUnknownFields
public final InstanceConfig.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<InstanceConfig.Builder>
-
mergeUnknownFields
public final InstanceConfig.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<InstanceConfig.Builder>
-
-