Interface ServerNetworkTemplateOrBuilder (0.43.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
Name Description
index int

The index of the element to return.

Returns
Type Description
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
Name Description
index int

The index of the value to return.

Returns
Type Description
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
Type Description
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
Type Description
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
Name Description
index int
Returns
Type Description
ServerNetworkTemplate.LogicalInterface

getLogicalInterfacesCount()

public abstract int getLogicalInterfacesCount()

Logical interfaces.

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

Returns
Type Description
int

getLogicalInterfacesList()

public abstract List<ServerNetworkTemplate.LogicalInterface> getLogicalInterfacesList()

Logical interfaces.

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

Returns
Type Description
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
Name Description
index int
Returns
Type Description
ServerNetworkTemplate.LogicalInterfaceOrBuilder

getLogicalInterfacesOrBuilderList()

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

Logical interfaces.

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

Returns
Type Description
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
Type Description
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
Type Description
ByteString

The bytes for name.