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.Builder
addAllLogicalInterfaces(Iterable<? extends LogicalInterface> values)
List of logical interfaces for the instance.InstanceConfig.Builder
addAllSshKeyNames(Iterable<String> values)
List of names of ssh keys used to provision the instance.InstanceConfig.Builder
addLogicalInterfaces(int index, LogicalInterface value)
List of logical interfaces for the instance.InstanceConfig.Builder
addLogicalInterfaces(int index, LogicalInterface.Builder builderForValue)
List of logical interfaces for the instance.InstanceConfig.Builder
addLogicalInterfaces(LogicalInterface value)
List of logical interfaces for the instance.InstanceConfig.Builder
addLogicalInterfaces(LogicalInterface.Builder builderForValue)
List of logical interfaces for the instance.LogicalInterface.Builder
addLogicalInterfacesBuilder()
List of logical interfaces for the instance.LogicalInterface.Builder
addLogicalInterfacesBuilder(int index)
List of logical interfaces for the instance.InstanceConfig.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
InstanceConfig.Builder
addSshKeyNames(String value)
List of names of ssh keys used to provision the instance.InstanceConfig.Builder
addSshKeyNamesBytes(com.google.protobuf.ByteString value)
List of names of ssh keys used to provision the instance.InstanceConfig
build()
InstanceConfig
buildPartial()
InstanceConfig.Builder
clear()
InstanceConfig.Builder
clearAccountNetworksEnabled()
If true networks can be from different projects of the same vendor account.InstanceConfig.Builder
clearClientNetwork()
Deprecated.InstanceConfig.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
InstanceConfig.Builder
clearHyperthreading()
Whether the instance should be provisioned with Hyperthreading enabled.InstanceConfig.Builder
clearId()
A transient unique identifier to idenfity an instance within an ProvisioningConfig request.InstanceConfig.Builder
clearInstanceType()
Instance type.InstanceConfig.Builder
clearLogicalInterfaces()
List of logical interfaces for the instance.InstanceConfig.Builder
clearName()
Output only.InstanceConfig.Builder
clearNetworkConfig()
The type of network configuration on the instance.InstanceConfig.Builder
clearNetworkTemplate()
Server network template name.InstanceConfig.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
InstanceConfig.Builder
clearOsImage()
OS image to initialize the instance.InstanceConfig.Builder
clearPrivateNetwork()
Deprecated.InstanceConfig.Builder
clearSshKeyNames()
List of names of ssh keys used to provision the instance.InstanceConfig.Builder
clearUserNote()
User note field, it can be used by customers to add additional information for the BMS Ops team .InstanceConfig.Builder
clone()
boolean
getAccountNetworksEnabled()
If true networks can be from different projects of the same vendor account.InstanceConfig.NetworkAddress
getClientNetwork()
Deprecated.google.cloud.baremetalsolution.v2.InstanceConfig.client_network is deprecated.InstanceConfig.NetworkAddress.Builder
getClientNetworkBuilder()
Deprecated.InstanceConfig.NetworkAddressOrBuilder
getClientNetworkOrBuilder()
Deprecated.InstanceConfig
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
boolean
getHyperthreading()
Whether the instance should be provisioned with Hyperthreading enabled.String
getId()
A transient unique identifier to idenfity an instance within an ProvisioningConfig request.com.google.protobuf.ByteString
getIdBytes()
A transient unique identifier to idenfity an instance within an ProvisioningConfig request.String
getInstanceType()
Instance type.com.google.protobuf.ByteString
getInstanceTypeBytes()
Instance type.LogicalInterface
getLogicalInterfaces(int index)
List of logical interfaces for the instance.LogicalInterface.Builder
getLogicalInterfacesBuilder(int index)
List of logical interfaces for the instance.List<LogicalInterface.Builder>
getLogicalInterfacesBuilderList()
List of logical interfaces for the instance.int
getLogicalInterfacesCount()
List of logical interfaces for the instance.List<LogicalInterface>
getLogicalInterfacesList()
List of logical interfaces for the instance.LogicalInterfaceOrBuilder
getLogicalInterfacesOrBuilder(int index)
List of logical interfaces for the instance.List<? extends LogicalInterfaceOrBuilder>
getLogicalInterfacesOrBuilderList()
List of logical interfaces for the instance.String
getName()
Output only.com.google.protobuf.ByteString
getNameBytes()
Output only.InstanceConfig.NetworkConfig
getNetworkConfig()
The type of network configuration on the instance.int
getNetworkConfigValue()
The type of network configuration on the instance.String
getNetworkTemplate()
Server network template name.com.google.protobuf.ByteString
getNetworkTemplateBytes()
Server network template name.String
getOsImage()
OS image to initialize the instance.com.google.protobuf.ByteString
getOsImageBytes()
OS image to initialize the instance.InstanceConfig.NetworkAddress
getPrivateNetwork()
Deprecated.google.cloud.baremetalsolution.v2.InstanceConfig.private_network is deprecated.InstanceConfig.NetworkAddress.Builder
getPrivateNetworkBuilder()
Deprecated.InstanceConfig.NetworkAddressOrBuilder
getPrivateNetworkOrBuilder()
Deprecated.String
getSshKeyNames(int index)
List of names of ssh keys used to provision the instance.com.google.protobuf.ByteString
getSshKeyNamesBytes(int index)
List of names of ssh keys used to provision the instance.int
getSshKeyNamesCount()
List of names of ssh keys used to provision the instance.com.google.protobuf.ProtocolStringList
getSshKeyNamesList()
List of names of ssh keys used to provision the instance.String
getUserNote()
User note field, it can be used by customers to add additional information for the BMS Ops team .com.google.protobuf.ByteString
getUserNoteBytes()
User note field, it can be used by customers to add additional information for the BMS Ops team .boolean
hasClientNetwork()
Deprecated.google.cloud.baremetalsolution.v2.InstanceConfig.client_network is deprecated.boolean
hasPrivateNetwork()
Deprecated.google.cloud.baremetalsolution.v2.InstanceConfig.private_network is deprecated.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
InstanceConfig.Builder
mergeClientNetwork(InstanceConfig.NetworkAddress value)
Deprecated.InstanceConfig.Builder
mergeFrom(InstanceConfig other)
InstanceConfig.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
InstanceConfig.Builder
mergeFrom(com.google.protobuf.Message other)
InstanceConfig.Builder
mergePrivateNetwork(InstanceConfig.NetworkAddress value)
Deprecated.InstanceConfig.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
InstanceConfig.Builder
removeLogicalInterfaces(int index)
List of logical interfaces for the instance.InstanceConfig.Builder
setAccountNetworksEnabled(boolean value)
If true networks can be from different projects of the same vendor account.InstanceConfig.Builder
setClientNetwork(InstanceConfig.NetworkAddress value)
Deprecated.InstanceConfig.Builder
setClientNetwork(InstanceConfig.NetworkAddress.Builder builderForValue)
Deprecated.InstanceConfig.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
InstanceConfig.Builder
setHyperthreading(boolean value)
Whether the instance should be provisioned with Hyperthreading enabled.InstanceConfig.Builder
setId(String value)
A transient unique identifier to idenfity an instance within an ProvisioningConfig request.InstanceConfig.Builder
setIdBytes(com.google.protobuf.ByteString value)
A transient unique identifier to idenfity an instance within an ProvisioningConfig request.InstanceConfig.Builder
setInstanceType(String value)
Instance type.InstanceConfig.Builder
setInstanceTypeBytes(com.google.protobuf.ByteString value)
Instance type.InstanceConfig.Builder
setLogicalInterfaces(int index, LogicalInterface value)
List of logical interfaces for the instance.InstanceConfig.Builder
setLogicalInterfaces(int index, LogicalInterface.Builder builderForValue)
List of logical interfaces for the instance.InstanceConfig.Builder
setName(String value)
Output only.InstanceConfig.Builder
setNameBytes(com.google.protobuf.ByteString value)
Output only.InstanceConfig.Builder
setNetworkConfig(InstanceConfig.NetworkConfig value)
The type of network configuration on the instance.InstanceConfig.Builder
setNetworkConfigValue(int value)
The type of network configuration on the instance.InstanceConfig.Builder
setNetworkTemplate(String value)
Server network template name.InstanceConfig.Builder
setNetworkTemplateBytes(com.google.protobuf.ByteString value)
Server network template name.InstanceConfig.Builder
setOsImage(String value)
OS image to initialize the instance.InstanceConfig.Builder
setOsImageBytes(com.google.protobuf.ByteString value)
OS image to initialize the instance.InstanceConfig.Builder
setPrivateNetwork(InstanceConfig.NetworkAddress value)
Deprecated.InstanceConfig.Builder
setPrivateNetwork(InstanceConfig.NetworkAddress.Builder builderForValue)
Deprecated.InstanceConfig.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
InstanceConfig.Builder
setSshKeyNames(int index, String value)
List of names of ssh keys used to provision the instance.InstanceConfig.Builder
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
InstanceConfig.Builder
setUserNote(String value)
User note field, it can be used by customers to add additional information for the BMS Ops team .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 .-
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:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<InstanceConfig.Builder>
-
clear
public InstanceConfig.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<InstanceConfig.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<InstanceConfig.Builder>
-
getDefaultInstanceForType
public InstanceConfig getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public InstanceConfig build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public InstanceConfig buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public InstanceConfig.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<InstanceConfig.Builder>
-
setField
public InstanceConfig.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<InstanceConfig.Builder>
-
clearField
public InstanceConfig.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<InstanceConfig.Builder>
-
clearOneof
public InstanceConfig.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<InstanceConfig.Builder>
-
setRepeatedField
public InstanceConfig.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<InstanceConfig.Builder>
-
addRepeatedField
public InstanceConfig.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<InstanceConfig.Builder>
-
mergeFrom
public InstanceConfig.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<InstanceConfig.Builder>
-
mergeFrom
public InstanceConfig.Builder mergeFrom(InstanceConfig other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in 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:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in 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:
getName
in 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:
getNameBytes
in 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:
getId
in 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:
getIdBytes
in 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:
getInstanceType
in 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:
getInstanceTypeBytes
in 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:
getHyperthreading
in 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:
getOsImage
in 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:
getOsImageBytes
in 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:
hasClientNetwork
in 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:
getClientNetwork
in 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:
getClientNetworkOrBuilder
in 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:
hasPrivateNetwork
in 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:
getPrivateNetwork
in 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:
getPrivateNetworkOrBuilder
in 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:
getUserNote
in 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:
getUserNoteBytes
in 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:
getAccountNetworksEnabled
in 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:
getNetworkConfigValue
in 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:
getNetworkConfig
in 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:
getNetworkTemplate
in 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:
getNetworkTemplateBytes
in 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:
getLogicalInterfacesList
in 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:
getLogicalInterfacesCount
in 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:
getLogicalInterfaces
in 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:
getLogicalInterfacesOrBuilder
in 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:
getLogicalInterfacesOrBuilderList
in 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:
getSshKeyNamesList
in 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:
getSshKeyNamesCount
in 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:
getSshKeyNames
in 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:
getSshKeyNamesBytes
in 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:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<InstanceConfig.Builder>
-
mergeUnknownFields
public final InstanceConfig.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<InstanceConfig.Builder>
-
-