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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
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
public ListNetworkUsageResponse.Builder addNetworks(NetworkUsage value)
Networks with IPs.
repeated .google.cloud.baremetalsolution.v2.NetworkUsage networks = 1;
Parameter
Returns
public ListNetworkUsageResponse.Builder addNetworks(NetworkUsage.Builder builderForValue)
Networks with IPs.
repeated .google.cloud.baremetalsolution.v2.NetworkUsage networks = 1;
Parameter
Returns
public ListNetworkUsageResponse.Builder addNetworks(int index, NetworkUsage value)
Networks with IPs.
repeated .google.cloud.baremetalsolution.v2.NetworkUsage networks = 1;
Parameters
Returns
public ListNetworkUsageResponse.Builder addNetworks(int index, NetworkUsage.Builder builderForValue)
Networks with IPs.
repeated .google.cloud.baremetalsolution.v2.NetworkUsage networks = 1;
Parameters
Returns
public NetworkUsage.Builder addNetworksBuilder()
Networks with IPs.
repeated .google.cloud.baremetalsolution.v2.NetworkUsage networks = 1;
Returns
public NetworkUsage.Builder addNetworksBuilder(int index)
Networks with IPs.
repeated .google.cloud.baremetalsolution.v2.NetworkUsage networks = 1;
Parameter
Returns
public ListNetworkUsageResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
public ListNetworkUsageResponse build()
Returns
public ListNetworkUsageResponse buildPartial()
Returns
public ListNetworkUsageResponse.Builder clear()
Returns
Overrides
public ListNetworkUsageResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
public ListNetworkUsageResponse.Builder clearNetworks()
Networks with IPs.
repeated .google.cloud.baremetalsolution.v2.NetworkUsage networks = 1;
Returns
public ListNetworkUsageResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
public ListNetworkUsageResponse.Builder clone()
Returns
Overrides
public ListNetworkUsageResponse getDefaultInstanceForType()
Returns
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
public NetworkUsage getNetworks(int index)
Networks with IPs.
repeated .google.cloud.baremetalsolution.v2.NetworkUsage networks = 1;
Parameter
Returns
public NetworkUsage.Builder getNetworksBuilder(int index)
Networks with IPs.
repeated .google.cloud.baremetalsolution.v2.NetworkUsage networks = 1;
Parameter
Returns
public List<NetworkUsage.Builder> getNetworksBuilderList()
Networks with IPs.
repeated .google.cloud.baremetalsolution.v2.NetworkUsage networks = 1;
Returns
public int getNetworksCount()
Networks with IPs.
repeated .google.cloud.baremetalsolution.v2.NetworkUsage networks = 1;
Returns
public List<NetworkUsage> getNetworksList()
Networks with IPs.
repeated .google.cloud.baremetalsolution.v2.NetworkUsage networks = 1;
Returns
public NetworkUsageOrBuilder getNetworksOrBuilder(int index)
Networks with IPs.
repeated .google.cloud.baremetalsolution.v2.NetworkUsage networks = 1;
Parameter
Returns
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> | |
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
public final boolean isInitialized()
Returns
Overrides
public ListNetworkUsageResponse.Builder mergeFrom(ListNetworkUsageResponse other)
Parameter
Returns
public ListNetworkUsageResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
public ListNetworkUsageResponse.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
public final ListNetworkUsageResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
public ListNetworkUsageResponse.Builder removeNetworks(int index)
Networks with IPs.
repeated .google.cloud.baremetalsolution.v2.NetworkUsage networks = 1;
Parameter
Returns
public ListNetworkUsageResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
public ListNetworkUsageResponse.Builder setNetworks(int index, NetworkUsage value)
Networks with IPs.
repeated .google.cloud.baremetalsolution.v2.NetworkUsage networks = 1;
Parameters
Returns
public ListNetworkUsageResponse.Builder setNetworks(int index, NetworkUsage.Builder builderForValue)
Networks with IPs.
repeated .google.cloud.baremetalsolution.v2.NetworkUsage networks = 1;
Parameters
Returns
public ListNetworkUsageResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
public final ListNetworkUsageResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides