Interface ServerNetworkTemplateOrBuilder (0.34.0)

public interface ServerNetworkTemplateOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getApplicableInstanceTypes(int index)

public abstract String getApplicableInstanceTypes(int index)

Instance types this template is applicable to.

repeated string applicable_instance_types = 2;

Parameter
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
String

The applicableInstanceTypes at the given index.

getApplicableInstanceTypesBytes(int index)

public abstract ByteString getApplicableInstanceTypesBytes(int index)

Instance types this template is applicable to.

repeated string applicable_instance_types = 2;

Parameter
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
ByteString

The bytes of the applicableInstanceTypes at the given index.

getApplicableInstanceTypesCount()

public abstract int getApplicableInstanceTypesCount()

Instance types this template is applicable to.

repeated string applicable_instance_types = 2;

Returns
TypeDescription
int

The count of applicableInstanceTypes.

getApplicableInstanceTypesList()

public abstract List<String> getApplicableInstanceTypesList()

Instance types this template is applicable to.

repeated string applicable_instance_types = 2;

Returns
TypeDescription
List<String>

A list containing the applicableInstanceTypes.

getLogicalInterfaces(int index)

public abstract ServerNetworkTemplate.LogicalInterface getLogicalInterfaces(int index)

Logical interfaces.

repeated .google.cloud.baremetalsolution.v2.ServerNetworkTemplate.LogicalInterface logical_interfaces = 3;

Parameter
NameDescription
indexint
Returns
TypeDescription
ServerNetworkTemplate.LogicalInterface

getLogicalInterfacesCount()

public abstract int getLogicalInterfacesCount()

Logical interfaces.

repeated .google.cloud.baremetalsolution.v2.ServerNetworkTemplate.LogicalInterface logical_interfaces = 3;

Returns
TypeDescription
int

getLogicalInterfacesList()

public abstract List<ServerNetworkTemplate.LogicalInterface> getLogicalInterfacesList()

Logical interfaces.

repeated .google.cloud.baremetalsolution.v2.ServerNetworkTemplate.LogicalInterface logical_interfaces = 3;

Returns
TypeDescription
List<LogicalInterface>

getLogicalInterfacesOrBuilder(int index)

public abstract ServerNetworkTemplate.LogicalInterfaceOrBuilder getLogicalInterfacesOrBuilder(int index)

Logical interfaces.

repeated .google.cloud.baremetalsolution.v2.ServerNetworkTemplate.LogicalInterface logical_interfaces = 3;

Parameter
NameDescription
indexint
Returns
TypeDescription
ServerNetworkTemplate.LogicalInterfaceOrBuilder

getLogicalInterfacesOrBuilderList()

public abstract List<? extends ServerNetworkTemplate.LogicalInterfaceOrBuilder> getLogicalInterfacesOrBuilderList()

Logical interfaces.

repeated .google.cloud.baremetalsolution.v2.ServerNetworkTemplate.LogicalInterface logical_interfaces = 3;

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

getName()

public abstract String getName()

Output only. Template's unique name. The full resource name follows the pattern: projects/{project}/locations/{location}/serverNetworkTemplate/{server_network_template} Generally, the {server_network_template} follows the syntax of "bond<interface_type_index><bond_mode>" or "nic<interface_type_index>".

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

Returns
TypeDescription
String

The name.

getNameBytes()

public abstract ByteString getNameBytes()

Output only. Template's unique name. The full resource name follows the pattern: projects/{project}/locations/{location}/serverNetworkTemplate/{server_network_template} Generally, the {server_network_template} follows the syntax of "bond<interface_type_index><bond_mode>" or "nic<interface_type_index>".

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

Returns
TypeDescription
ByteString

The bytes for name.