Interface NetworkOrBuilder (0.2.1)

public interface NetworkOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getCidr()

public abstract String getCidr()

The cidr of the Network.

string cidr = 8;

Returns
TypeDescription
String

The cidr.

getCidrBytes()

public abstract ByteString getCidrBytes()

The cidr of the Network.

string cidr = 8;

Returns
TypeDescription
ByteString

The bytes for cidr.

getIpAddress()

public abstract String getIpAddress()

IP address configured.

string ip_address = 3;

Returns
TypeDescription
String

The ipAddress.

getIpAddressBytes()

public abstract ByteString getIpAddressBytes()

IP address configured.

string ip_address = 3;

Returns
TypeDescription
ByteString

The bytes for ipAddress.

getMacAddress(int index)

public abstract String getMacAddress(int index)

List of physical interfaces.

repeated string mac_address = 4;

Parameter
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
String

The macAddress at the given index.

getMacAddressBytes(int index)

public abstract ByteString getMacAddressBytes(int index)

List of physical interfaces.

repeated string mac_address = 4;

Parameter
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
ByteString

The bytes of the macAddress at the given index.

getMacAddressCount()

public abstract int getMacAddressCount()

List of physical interfaces.

repeated string mac_address = 4;

Returns
TypeDescription
int

The count of macAddress.

getMacAddressList()

public abstract List<String> getMacAddressList()

List of physical interfaces.

repeated string mac_address = 4;

Returns
TypeDescription
List<String>

A list containing the macAddress.

getName()

public abstract String getName()

Output only. The resource name of this Network. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. Format: projects/{project}/locations/{location}/networks/{network} This field will contain the same value as field "network", which will soon be deprecated. Please use this field to reference the name of the network resource.

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

Returns
TypeDescription
String

The name.

getNameBytes()

public abstract ByteString getNameBytes()

Output only. The resource name of this Network. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. Format: projects/{project}/locations/{location}/networks/{network} This field will contain the same value as field "network", which will soon be deprecated. Please use this field to reference the name of the network resource.

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

Returns
TypeDescription
ByteString

The bytes for name.

getNetwork()

public abstract String getNetwork()

Name of the network.

string network = 1;

Returns
TypeDescription
String

The network.

getNetworkBytes()

public abstract ByteString getNetworkBytes()

Name of the network.

string network = 1;

Returns
TypeDescription
ByteString

The bytes for network.

getState()

public abstract Network.State getState()

The Network state.

.google.cloud.baremetalsolution.v2.Network.State state = 6;

Returns
TypeDescription
Network.State

The state.

getStateValue()

public abstract int getStateValue()

The Network state.

.google.cloud.baremetalsolution.v2.Network.State state = 6;

Returns
TypeDescription
int

The enum numeric value on the wire for state.

getType()

public abstract Network.Type getType()

The type of this network.

.google.cloud.baremetalsolution.v2.Network.Type type = 2;

Returns
TypeDescription
Network.Type

The type.

getTypeValue()

public abstract int getTypeValue()

The type of this network.

.google.cloud.baremetalsolution.v2.Network.Type type = 2;

Returns
TypeDescription
int

The enum numeric value on the wire for type.

getVlanId()

public abstract String getVlanId()

The vlan id of the Network.

string vlan_id = 7;

Returns
TypeDescription
String

The vlanId.

getVlanIdBytes()

public abstract ByteString getVlanIdBytes()

The vlan id of the Network.

string vlan_id = 7;

Returns
TypeDescription
ByteString

The bytes for vlanId.

getVrf()

public abstract VRF getVrf()

The vrf for the Network.

.google.cloud.baremetalsolution.v2.VRF vrf = 9;

Returns
TypeDescription
VRF

The vrf.

getVrfOrBuilder()

public abstract VRFOrBuilder getVrfOrBuilder()

The vrf for the Network.

.google.cloud.baremetalsolution.v2.VRF vrf = 9;

Returns
TypeDescription
VRFOrBuilder

hasVrf()

public abstract boolean hasVrf()

The vrf for the Network.

.google.cloud.baremetalsolution.v2.VRF vrf = 9;

Returns
TypeDescription
boolean

Whether the vrf field is set.