Class ListNetworkUsageResponse.Builder (0.30.0)

public static final class ListNetworkUsageResponse.Builder extends GeneratedMessageV3.Builder<ListNetworkUsageResponse.Builder> implements ListNetworkUsageResponseOrBuilder

Response with Networks with IPs

Protobuf type google.cloud.baremetalsolution.v2.ListNetworkUsageResponse

Static Methods

getDescriptor()

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

Methods

addAllNetworks(Iterable<? extends NetworkUsage> values)

public ListNetworkUsageResponse.Builder addAllNetworks(Iterable<? extends NetworkUsage> values)

Networks with IPs.

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

Parameter
NameDescription
valuesIterable<? extends com.google.cloud.baremetalsolution.v2.NetworkUsage>
Returns
TypeDescription
ListNetworkUsageResponse.Builder

addNetworks(NetworkUsage value)

public ListNetworkUsageResponse.Builder addNetworks(NetworkUsage value)

Networks with IPs.

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

Parameter
NameDescription
valueNetworkUsage
Returns
TypeDescription
ListNetworkUsageResponse.Builder

addNetworks(NetworkUsage.Builder builderForValue)

public ListNetworkUsageResponse.Builder addNetworks(NetworkUsage.Builder builderForValue)

Networks with IPs.

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

Parameter
NameDescription
builderForValueNetworkUsage.Builder
Returns
TypeDescription
ListNetworkUsageResponse.Builder

addNetworks(int index, NetworkUsage value)

public ListNetworkUsageResponse.Builder addNetworks(int index, NetworkUsage value)

Networks with IPs.

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

Parameters
NameDescription
indexint
valueNetworkUsage
Returns
TypeDescription
ListNetworkUsageResponse.Builder

addNetworks(int index, NetworkUsage.Builder builderForValue)

public ListNetworkUsageResponse.Builder addNetworks(int index, NetworkUsage.Builder builderForValue)

Networks with IPs.

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

Parameters
NameDescription
indexint
builderForValueNetworkUsage.Builder
Returns
TypeDescription
ListNetworkUsageResponse.Builder

addNetworksBuilder()

public NetworkUsage.Builder addNetworksBuilder()

Networks with IPs.

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

Returns
TypeDescription
NetworkUsage.Builder

addNetworksBuilder(int index)

public NetworkUsage.Builder addNetworksBuilder(int index)

Networks with IPs.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
NetworkUsage.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ListNetworkUsageResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
ListNetworkUsageResponse.Builder
Overrides

build()

public ListNetworkUsageResponse build()
Returns
TypeDescription
ListNetworkUsageResponse

buildPartial()

public ListNetworkUsageResponse buildPartial()
Returns
TypeDescription
ListNetworkUsageResponse

clear()

public ListNetworkUsageResponse.Builder clear()
Returns
TypeDescription
ListNetworkUsageResponse.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public ListNetworkUsageResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
ListNetworkUsageResponse.Builder
Overrides

clearNetworks()

public ListNetworkUsageResponse.Builder clearNetworks()

Networks with IPs.

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

Returns
TypeDescription
ListNetworkUsageResponse.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public ListNetworkUsageResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
ListNetworkUsageResponse.Builder
Overrides

clone()

public ListNetworkUsageResponse.Builder clone()
Returns
TypeDescription
ListNetworkUsageResponse.Builder
Overrides

getDefaultInstanceForType()

public ListNetworkUsageResponse getDefaultInstanceForType()
Returns
TypeDescription
ListNetworkUsageResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

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

getNetworksBuilder(int index)

public NetworkUsage.Builder getNetworksBuilder(int index)

Networks with IPs.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
NetworkUsage.Builder

getNetworksBuilderList()

public List<NetworkUsage.Builder> getNetworksBuilderList()

Networks with IPs.

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

Returns
TypeDescription
List<Builder>

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>

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ListNetworkUsageResponse other)

public ListNetworkUsageResponse.Builder mergeFrom(ListNetworkUsageResponse other)
Parameter
NameDescription
otherListNetworkUsageResponse
Returns
TypeDescription
ListNetworkUsageResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ListNetworkUsageResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListNetworkUsageResponse.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public ListNetworkUsageResponse.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
ListNetworkUsageResponse.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ListNetworkUsageResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ListNetworkUsageResponse.Builder
Overrides

removeNetworks(int index)

public ListNetworkUsageResponse.Builder removeNetworks(int index)

Networks with IPs.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
ListNetworkUsageResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public ListNetworkUsageResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
ListNetworkUsageResponse.Builder
Overrides

setNetworks(int index, NetworkUsage value)

public ListNetworkUsageResponse.Builder setNetworks(int index, NetworkUsage value)

Networks with IPs.

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

Parameters
NameDescription
indexint
valueNetworkUsage
Returns
TypeDescription
ListNetworkUsageResponse.Builder

setNetworks(int index, NetworkUsage.Builder builderForValue)

public ListNetworkUsageResponse.Builder setNetworks(int index, NetworkUsage.Builder builderForValue)

Networks with IPs.

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

Parameters
NameDescription
indexint
builderForValueNetworkUsage.Builder
Returns
TypeDescription
ListNetworkUsageResponse.Builder

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public ListNetworkUsageResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
ListNetworkUsageResponse.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final ListNetworkUsageResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ListNetworkUsageResponse.Builder
Overrides