Interface InstanceConfigOrBuilder (0.39.0)

public interface InstanceConfigOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getAccountNetworksEnabled()

public abstract boolean getAccountNetworksEnabled()

If true networks can be from different projects of the same vendor account.

bool account_networks_enabled = 9;

Returns
TypeDescription
boolean

The accountNetworksEnabled.

getClientNetwork() (deprecated)

public abstract InstanceConfig.NetworkAddress getClientNetwork()

Deprecated. google.cloud.baremetalsolution.v2.InstanceConfig.client_network is deprecated. See google/cloud/baremetalsolution/v2/provisioning.proto;l=283

Client network address. Filled if InstanceConfig.multivlan_config is false.

.google.cloud.baremetalsolution.v2.InstanceConfig.NetworkAddress client_network = 6 [deprecated = true];

Returns
TypeDescription
InstanceConfig.NetworkAddress

The clientNetwork.

getClientNetworkOrBuilder() (deprecated)

public abstract InstanceConfig.NetworkAddressOrBuilder getClientNetworkOrBuilder()

Client network address. Filled if InstanceConfig.multivlan_config is false.

.google.cloud.baremetalsolution.v2.InstanceConfig.NetworkAddress client_network = 6 [deprecated = true];

Returns
TypeDescription
InstanceConfig.NetworkAddressOrBuilder

getHyperthreading()

public abstract boolean getHyperthreading()

Whether the instance should be provisioned with Hyperthreading enabled.

bool hyperthreading = 4;

Returns
TypeDescription
boolean

The hyperthreading.

getId()

public abstract String getId()

A transient unique identifier to idenfity an instance within an ProvisioningConfig request.

string id = 2;

Returns
TypeDescription
String

The id.

getIdBytes()

public abstract ByteString getIdBytes()

A transient unique identifier to idenfity an instance within an ProvisioningConfig request.

string id = 2;

Returns
TypeDescription
ByteString

The bytes for id.

getInstanceType()

public abstract String getInstanceType()

Instance type. Available types

string instance_type = 3;

Returns
TypeDescription
String

The instanceType.

getInstanceTypeBytes()

public abstract ByteString getInstanceTypeBytes()

Instance type. Available types

string instance_type = 3;

Returns
TypeDescription
ByteString

The bytes for instanceType.

getLogicalInterfaces(int index)

public abstract 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;

Parameter
NameDescription
indexint
Returns
TypeDescription
LogicalInterface

getLogicalInterfacesCount()

public abstract 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;

Returns
TypeDescription
int

getLogicalInterfacesList()

public abstract 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;

Returns
TypeDescription
List<LogicalInterface>

getLogicalInterfacesOrBuilder(int index)

public abstract 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;

Parameter
NameDescription
indexint
Returns
TypeDescription
LogicalInterfaceOrBuilder

getLogicalInterfacesOrBuilderList()

public abstract 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;

Returns
TypeDescription
List<? extends com.google.cloud.baremetalsolution.v2.LogicalInterfaceOrBuilder>

getName()

public abstract String getName()

Output only. The name of the instance config.

string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
String

The name.

getNameBytes()

public abstract ByteString getNameBytes()

Output only. The name of the instance config.

string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
ByteString

The bytes for name.

getNetworkConfig()

public abstract InstanceConfig.NetworkConfig getNetworkConfig()

The type of network configuration on the instance.

.google.cloud.baremetalsolution.v2.InstanceConfig.NetworkConfig network_config = 10;

Returns
TypeDescription
InstanceConfig.NetworkConfig

The networkConfig.

getNetworkConfigValue()

public abstract int getNetworkConfigValue()

The type of network configuration on the instance.

.google.cloud.baremetalsolution.v2.InstanceConfig.NetworkConfig network_config = 10;

Returns
TypeDescription
int

The enum numeric value on the wire for networkConfig.

getNetworkTemplate()

public abstract String getNetworkTemplate()

Server network template name. Filled if InstanceConfig.multivlan_config is true.

string network_template = 11;

Returns
TypeDescription
String

The networkTemplate.

getNetworkTemplateBytes()

public abstract ByteString getNetworkTemplateBytes()

Server network template name. Filled if InstanceConfig.multivlan_config is true.

string network_template = 11;

Returns
TypeDescription
ByteString

The bytes for networkTemplate.

getOsImage()

public abstract String getOsImage()

OS image to initialize the instance. Available images

string os_image = 5;

Returns
TypeDescription
String

The osImage.

getOsImageBytes()

public abstract ByteString getOsImageBytes()

OS image to initialize the instance. Available images

string os_image = 5;

Returns
TypeDescription
ByteString

The bytes for osImage.

getPrivateNetwork() (deprecated)

public abstract InstanceConfig.NetworkAddress getPrivateNetwork()

Deprecated. google.cloud.baremetalsolution.v2.InstanceConfig.private_network is deprecated. See google/cloud/baremetalsolution/v2/provisioning.proto;l=287

Private network address, if any. Filled if InstanceConfig.multivlan_config is false.

.google.cloud.baremetalsolution.v2.InstanceConfig.NetworkAddress private_network = 7 [deprecated = true];

Returns
TypeDescription
InstanceConfig.NetworkAddress

The privateNetwork.

getPrivateNetworkOrBuilder() (deprecated)

public abstract InstanceConfig.NetworkAddressOrBuilder getPrivateNetworkOrBuilder()

Private network address, if any. Filled if InstanceConfig.multivlan_config is false.

.google.cloud.baremetalsolution.v2.InstanceConfig.NetworkAddress private_network = 7 [deprecated = true];

Returns
TypeDescription
InstanceConfig.NetworkAddressOrBuilder

getSshKeyNames(int index)

public abstract String getSshKeyNames(int index)

List of names of ssh keys used to provision the instance.

repeated string ssh_key_names = 13;

Parameter
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
String

The sshKeyNames at the given index.

getSshKeyNamesBytes(int index)

public abstract ByteString getSshKeyNamesBytes(int index)

List of names of ssh keys used to provision the instance.

repeated string ssh_key_names = 13;

Parameter
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
ByteString

The bytes of the sshKeyNames at the given index.

getSshKeyNamesCount()

public abstract int getSshKeyNamesCount()

List of names of ssh keys used to provision the instance.

repeated string ssh_key_names = 13;

Returns
TypeDescription
int

The count of sshKeyNames.

getSshKeyNamesList()

public abstract List<String> getSshKeyNamesList()

List of names of ssh keys used to provision the instance.

repeated string ssh_key_names = 13;

Returns
TypeDescription
List<String>

A list containing the sshKeyNames.

getUserNote()

public abstract 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
TypeDescription
String

The userNote.

getUserNoteBytes()

public abstract 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
TypeDescription
ByteString

The bytes for userNote.

hasClientNetwork() (deprecated)

public abstract boolean hasClientNetwork()

Deprecated. google.cloud.baremetalsolution.v2.InstanceConfig.client_network is deprecated. See google/cloud/baremetalsolution/v2/provisioning.proto;l=283

Client network address. Filled if InstanceConfig.multivlan_config is false.

.google.cloud.baremetalsolution.v2.InstanceConfig.NetworkAddress client_network = 6 [deprecated = true];

Returns
TypeDescription
boolean

Whether the clientNetwork field is set.

hasPrivateNetwork() (deprecated)

public abstract boolean hasPrivateNetwork()

Deprecated. google.cloud.baremetalsolution.v2.InstanceConfig.private_network is deprecated. See google/cloud/baremetalsolution/v2/provisioning.proto;l=287

Private network address, if any. Filled if InstanceConfig.multivlan_config is false.

.google.cloud.baremetalsolution.v2.InstanceConfig.NetworkAddress private_network = 7 [deprecated = true];

Returns
TypeDescription
boolean

Whether the privateNetwork field is set.