Interface NetworkUsageOrBuilder (0.46.0)

public interface NetworkUsageOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getNetwork()

public abstract Network getNetwork()

Network.

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

Returns
Type Description
Network

The network.

getNetworkOrBuilder()

public abstract NetworkOrBuilder getNetworkOrBuilder()

Network.

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

Returns
Type Description
NetworkOrBuilder

getUsedIps(int index)

public abstract String getUsedIps(int index)

All used IP addresses in this network.

repeated string used_ips = 2;

Parameter
Name Description
index int

The index of the element to return.

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

The index of the value to return.

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

The count of usedIps.

getUsedIpsList()

public abstract List<String> getUsedIpsList()

All used IP addresses in this network.

repeated string used_ips = 2;

Returns
Type Description
List<String>

A list containing the usedIps.

hasNetwork()

public abstract boolean hasNetwork()

Network.

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

Returns
Type Description
boolean

Whether the network field is set.