Interface InstanceConfigOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
InstanceConfig,InstanceConfig.Builder
public interface InstanceConfigOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description 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.NetworkAddressOrBuildergetClientNetworkOrBuilder()Deprecated.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.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.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.List<String>getSshKeyNamesList()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.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getName
String getName()
Output only. The name of the instance config.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The name.
-
getNameBytes
com.google.protobuf.ByteString getNameBytes()
Output only. The name of the instance config.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The bytes for name.
-
getId
String getId()
A transient unique identifier to idenfity an instance within an ProvisioningConfig request.
string id = 2;- Returns:
- The id.
-
getIdBytes
com.google.protobuf.ByteString getIdBytes()
A transient unique identifier to idenfity an instance within an ProvisioningConfig request.
string id = 2;- Returns:
- The bytes for id.
-
getInstanceType
String getInstanceType()
Instance type. [Available types](https://cloud.google.com/bare-metal/docs/bms-planning#server_configurations)
string instance_type = 3;- Returns:
- The instanceType.
-
getInstanceTypeBytes
com.google.protobuf.ByteString getInstanceTypeBytes()
Instance type. [Available types](https://cloud.google.com/bare-metal/docs/bms-planning#server_configurations)
string instance_type = 3;- Returns:
- The bytes for instanceType.
-
getHyperthreading
boolean getHyperthreading()
Whether the instance should be provisioned with Hyperthreading enabled.
bool hyperthreading = 4;- Returns:
- The hyperthreading.
-
getOsImage
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;- Returns:
- The osImage.
-
getOsImageBytes
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;- Returns:
- The bytes for osImage.
-
hasClientNetwork
@Deprecated 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];- Returns:
- Whether the clientNetwork field is set.
-
getClientNetwork
@Deprecated 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];- Returns:
- The clientNetwork.
-
getClientNetworkOrBuilder
@Deprecated 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];
-
hasPrivateNetwork
@Deprecated 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];- Returns:
- Whether the privateNetwork field is set.
-
getPrivateNetwork
@Deprecated 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];- Returns:
- The privateNetwork.
-
getPrivateNetworkOrBuilder
@Deprecated 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];
-
getUserNote
String getUserNote()
User note field, it can be used by customers to add additional information for the BMS Ops team .
string user_note = 8;- Returns:
- The userNote.
-
getUserNoteBytes
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;- Returns:
- The bytes for userNote.
-
getAccountNetworksEnabled
boolean getAccountNetworksEnabled()
If true networks can be from different projects of the same vendor account.
bool account_networks_enabled = 9;- Returns:
- The accountNetworksEnabled.
-
getNetworkConfigValue
int getNetworkConfigValue()
The type of network configuration on the instance.
.google.cloud.baremetalsolution.v2.InstanceConfig.NetworkConfig network_config = 10;- Returns:
- The enum numeric value on the wire for networkConfig.
-
getNetworkConfig
InstanceConfig.NetworkConfig getNetworkConfig()
The type of network configuration on the instance.
.google.cloud.baremetalsolution.v2.InstanceConfig.NetworkConfig network_config = 10;- Returns:
- The networkConfig.
-
getNetworkTemplate
String getNetworkTemplate()
Server network template name. Filled if InstanceConfig.multivlan_config is true.
string network_template = 11;- Returns:
- The networkTemplate.
-
getNetworkTemplateBytes
com.google.protobuf.ByteString getNetworkTemplateBytes()
Server network template name. Filled if InstanceConfig.multivlan_config is true.
string network_template = 11;- Returns:
- The bytes for networkTemplate.
-
getLogicalInterfacesList
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;
-
getLogicalInterfaces
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;
-
getLogicalInterfacesCount
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;
-
getLogicalInterfacesOrBuilderList
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;
-
getLogicalInterfacesOrBuilder
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;
-
getSshKeyNamesList
List<String> getSshKeyNamesList()
List of names of ssh keys used to provision the instance.
repeated string ssh_key_names = 13;- Returns:
- A list containing the sshKeyNames.
-
getSshKeyNamesCount
int getSshKeyNamesCount()
List of names of ssh keys used to provision the instance.
repeated string ssh_key_names = 13;- Returns:
- The count of sshKeyNames.
-
getSshKeyNames
String getSshKeyNames(int index)
List of names of ssh keys used to provision the instance.
repeated string ssh_key_names = 13;- Parameters:
index- The index of the element to return.- Returns:
- The sshKeyNames at the given index.
-
getSshKeyNamesBytes
com.google.protobuf.ByteString getSshKeyNamesBytes(int index)
List of names of ssh keys used to provision the instance.
repeated string ssh_key_names = 13;- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the sshKeyNames at the given index.
-
-