Interface NetworkUsageOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
NetworkUsage
,NetworkUsage.Builder
public interface NetworkUsageOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Network
getNetwork()
Network.NetworkOrBuilder
getNetworkOrBuilder()
Network.String
getUsedIps(int index)
All used IP addresses in this network.com.google.protobuf.ByteString
getUsedIpsBytes(int index)
All used IP addresses in this network.int
getUsedIpsCount()
All used IP addresses in this network.List<String>
getUsedIpsList()
All used IP addresses in this network.boolean
hasNetwork()
Network.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
hasNetwork
boolean hasNetwork()
Network.
.google.cloud.baremetalsolution.v2.Network network = 1;
- Returns:
- Whether the network field is set.
-
getNetwork
Network getNetwork()
Network.
.google.cloud.baremetalsolution.v2.Network network = 1;
- Returns:
- The network.
-
getNetworkOrBuilder
NetworkOrBuilder getNetworkOrBuilder()
Network.
.google.cloud.baremetalsolution.v2.Network network = 1;
-
getUsedIpsList
List<String> getUsedIpsList()
All used IP addresses in this network.
repeated string used_ips = 2;
- Returns:
- A list containing the usedIps.
-
getUsedIpsCount
int getUsedIpsCount()
All used IP addresses in this network.
repeated string used_ips = 2;
- Returns:
- The count of usedIps.
-
getUsedIps
String getUsedIps(int index)
All used IP addresses in this network.
repeated string used_ips = 2;
- Parameters:
index
- The index of the element to return.- Returns:
- The usedIps at the given index.
-
getUsedIpsBytes
com.google.protobuf.ByteString getUsedIpsBytes(int index)
All used IP addresses in this network.
repeated string used_ips = 2;
- Parameters:
index
- The index of the value to return.- Returns:
- The bytes of the usedIps at the given index.
-
-