Class ListNetworkUsageResponse.Builder (0.48.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
Type Description
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
Name Description
values Iterable<? extends com.google.cloud.baremetalsolution.v2.NetworkUsage>
Returns
Type Description
ListNetworkUsageResponse.Builder

addNetworks(NetworkUsage value)

public ListNetworkUsageResponse.Builder addNetworks(NetworkUsage value)

Networks with IPs.

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

Parameter
Name Description
value NetworkUsage
Returns
Type Description
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
Name Description
builderForValue NetworkUsage.Builder
Returns
Type Description
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
Name Description
index int
value NetworkUsage
Returns
Type Description
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
Name Description
index int
builderForValue NetworkUsage.Builder
Returns
Type Description
ListNetworkUsageResponse.Builder

addNetworksBuilder()

public NetworkUsage.Builder addNetworksBuilder()

Networks with IPs.

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

Returns
Type Description
NetworkUsage.Builder

addNetworksBuilder(int index)

public NetworkUsage.Builder addNetworksBuilder(int index)

Networks with IPs.

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

Parameter
Name Description
index int
Returns
Type Description
NetworkUsage.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ListNetworkUsageResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ListNetworkUsageResponse.Builder
Overrides

build()

public ListNetworkUsageResponse build()
Returns
Type Description
ListNetworkUsageResponse

buildPartial()

public ListNetworkUsageResponse buildPartial()
Returns
Type Description
ListNetworkUsageResponse

clear()

public ListNetworkUsageResponse.Builder clear()
Returns
Type Description
ListNetworkUsageResponse.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public ListNetworkUsageResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
ListNetworkUsageResponse.Builder
Overrides

clearNetworks()

public ListNetworkUsageResponse.Builder clearNetworks()

Networks with IPs.

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

Returns
Type Description
ListNetworkUsageResponse.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public ListNetworkUsageResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
ListNetworkUsageResponse.Builder
Overrides

clone()

public ListNetworkUsageResponse.Builder clone()
Returns
Type Description
ListNetworkUsageResponse.Builder
Overrides

getDefaultInstanceForType()

public ListNetworkUsageResponse getDefaultInstanceForType()
Returns
Type Description
ListNetworkUsageResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getNetworks(int index)

public NetworkUsage getNetworks(int index)

Networks with IPs.

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

Parameter
Name Description
index int
Returns
Type Description
NetworkUsage

getNetworksBuilder(int index)

public NetworkUsage.Builder getNetworksBuilder(int index)

Networks with IPs.

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

Parameter
Name Description
index int
Returns
Type Description
NetworkUsage.Builder

getNetworksBuilderList()

public List<NetworkUsage.Builder> getNetworksBuilderList()

Networks with IPs.

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

Returns
Type Description
List<Builder>

getNetworksCount()

public int getNetworksCount()

Networks with IPs.

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

Returns
Type Description
int

getNetworksList()

public List<NetworkUsage> getNetworksList()

Networks with IPs.

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

Returns
Type Description
List<NetworkUsage>

getNetworksOrBuilder(int index)

public NetworkUsageOrBuilder getNetworksOrBuilder(int index)

Networks with IPs.

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

Parameter
Name Description
index int
Returns
Type Description
NetworkUsageOrBuilder

getNetworksOrBuilderList()

public List<? extends NetworkUsageOrBuilder> getNetworksOrBuilderList()

Networks with IPs.

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

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

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ListNetworkUsageResponse other)

public ListNetworkUsageResponse.Builder mergeFrom(ListNetworkUsageResponse other)
Parameter
Name Description
other ListNetworkUsageResponse
Returns
Type Description
ListNetworkUsageResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ListNetworkUsageResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ListNetworkUsageResponse.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public ListNetworkUsageResponse.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
ListNetworkUsageResponse.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ListNetworkUsageResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ListNetworkUsageResponse.Builder
Overrides

removeNetworks(int index)

public ListNetworkUsageResponse.Builder removeNetworks(int index)

Networks with IPs.

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

Parameter
Name Description
index int
Returns
Type Description
ListNetworkUsageResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public ListNetworkUsageResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
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
Name Description
index int
value NetworkUsage
Returns
Type Description
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
Name Description
index int
builderForValue NetworkUsage.Builder
Returns
Type Description
ListNetworkUsageResponse.Builder

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

public ListNetworkUsageResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
ListNetworkUsageResponse.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final ListNetworkUsageResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ListNetworkUsageResponse.Builder
Overrides