Class ListNetworkUsageResponse (0.5.0)

public final class ListNetworkUsageResponse extends GeneratedMessageV3 implements ListNetworkUsageResponseOrBuilder

Response with Networks with IPs

Protobuf type google.cloud.baremetalsolution.v2.ListNetworkUsageResponse

Static Fields

NETWORKS_FIELD_NUMBER

public static final int NETWORKS_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static ListNetworkUsageResponse getDefaultInstance()
Returns
TypeDescription
ListNetworkUsageResponse

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static ListNetworkUsageResponse.Builder newBuilder()
Returns
TypeDescription
ListNetworkUsageResponse.Builder

newBuilder(ListNetworkUsageResponse prototype)

public static ListNetworkUsageResponse.Builder newBuilder(ListNetworkUsageResponse prototype)
Parameter
NameDescription
prototypeListNetworkUsageResponse
Returns
TypeDescription
ListNetworkUsageResponse.Builder

parseDelimitedFrom(InputStream input)

public static ListNetworkUsageResponse parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ListNetworkUsageResponse
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ListNetworkUsageResponse parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListNetworkUsageResponse
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static ListNetworkUsageResponse parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
ListNetworkUsageResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static ListNetworkUsageResponse parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListNetworkUsageResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static ListNetworkUsageResponse parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
ListNetworkUsageResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static ListNetworkUsageResponse parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListNetworkUsageResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static ListNetworkUsageResponse parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
ListNetworkUsageResponse
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static ListNetworkUsageResponse parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListNetworkUsageResponse
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static ListNetworkUsageResponse parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ListNetworkUsageResponse
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ListNetworkUsageResponse parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListNetworkUsageResponse
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static ListNetworkUsageResponse parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
ListNetworkUsageResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static ListNetworkUsageResponse parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListNetworkUsageResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<ListNetworkUsageResponse> parser()
Returns
TypeDescription
Parser<ListNetworkUsageResponse>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public ListNetworkUsageResponse getDefaultInstanceForType()
Returns
TypeDescription
ListNetworkUsageResponse

getNetworks(int index)

public NetworkUsage getNetworks(int index)

Networks with IPs.

repeated .google.cloud.baremetalsolution.v2.NetworkUsage networks = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
NetworkUsage

getNetworksCount()

public int getNetworksCount()

Networks with IPs.

repeated .google.cloud.baremetalsolution.v2.NetworkUsage networks = 1;

Returns
TypeDescription
int

getNetworksList()

public List<NetworkUsage> getNetworksList()

Networks with IPs.

repeated .google.cloud.baremetalsolution.v2.NetworkUsage networks = 1;

Returns
TypeDescription
List<NetworkUsage>

getNetworksOrBuilder(int index)

public NetworkUsageOrBuilder getNetworksOrBuilder(int index)

Networks with IPs.

repeated .google.cloud.baremetalsolution.v2.NetworkUsage networks = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
NetworkUsageOrBuilder

getNetworksOrBuilderList()

public List<? extends NetworkUsageOrBuilder> getNetworksOrBuilderList()

Networks with IPs.

repeated .google.cloud.baremetalsolution.v2.NetworkUsage networks = 1;

Returns
TypeDescription
List<? extends com.google.cloud.baremetalsolution.v2.NetworkUsageOrBuilder>

getParserForType()

public Parser<ListNetworkUsageResponse> getParserForType()
Returns
TypeDescription
Parser<ListNetworkUsageResponse>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public ListNetworkUsageResponse.Builder newBuilderForType()
Returns
TypeDescription
ListNetworkUsageResponse.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected ListNetworkUsageResponse.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
ListNetworkUsageResponse.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public ListNetworkUsageResponse.Builder toBuilder()
Returns
TypeDescription
ListNetworkUsageResponse.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides Exceptions
TypeDescription
IOException