Interface NetworkUsageOrBuilder (0.34.0)

public interface NetworkUsageOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getNetwork()

public abstract Network getNetwork()

Network.

.google.cloud.baremetalsolution.v2.Network network = 1;

Returns
TypeDescription
Network

The network.

getNetworkOrBuilder()

public abstract NetworkOrBuilder getNetworkOrBuilder()

Network.

.google.cloud.baremetalsolution.v2.Network network = 1;

Returns
TypeDescription
NetworkOrBuilder

getUsedIps(int index)

public abstract String getUsedIps(int index)

All used IP addresses in this network.

repeated string used_ips = 2;

Parameter
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
String

The usedIps at the given index.

getUsedIpsBytes(int index)

public abstract ByteString getUsedIpsBytes(int index)

All used IP addresses in this network.

repeated string used_ips = 2;

Parameter
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
ByteString

The bytes of the usedIps at the given index.

getUsedIpsCount()

public abstract int getUsedIpsCount()

All used IP addresses in this network.

repeated string used_ips = 2;

Returns
TypeDescription
int

The count of usedIps.

getUsedIpsList()

public abstract List<String> getUsedIpsList()

All used IP addresses in this network.

repeated string used_ips = 2;

Returns
TypeDescription
List<String>

A list containing the usedIps.

hasNetwork()

public abstract boolean hasNetwork()

Network.

.google.cloud.baremetalsolution.v2.Network network = 1;

Returns
TypeDescription
boolean

Whether the network field is set.