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()
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>
|
public ListNetworkUsageResponse.Builder addNetworks(NetworkUsage value)
Networks with IPs.
repeated .google.cloud.baremetalsolution.v2.NetworkUsage networks = 1;
public ListNetworkUsageResponse.Builder addNetworks(NetworkUsage.Builder builderForValue)
Networks with IPs.
repeated .google.cloud.baremetalsolution.v2.NetworkUsage networks = 1;
public ListNetworkUsageResponse.Builder addNetworks(int index, NetworkUsage value)
Networks with IPs.
repeated .google.cloud.baremetalsolution.v2.NetworkUsage networks = 1;
public ListNetworkUsageResponse.Builder addNetworks(int index, NetworkUsage.Builder builderForValue)
Networks with IPs.
repeated .google.cloud.baremetalsolution.v2.NetworkUsage networks = 1;
public NetworkUsage.Builder addNetworksBuilder()
Networks with IPs.
repeated .google.cloud.baremetalsolution.v2.NetworkUsage networks = 1;
public NetworkUsage.Builder addNetworksBuilder(int index)
Networks with IPs.
repeated .google.cloud.baremetalsolution.v2.NetworkUsage networks = 1;
Parameter |
---|
Name | Description |
index | int
|
public ListNetworkUsageResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
public ListNetworkUsageResponse build()
public ListNetworkUsageResponse buildPartial()
public ListNetworkUsageResponse.Builder clear()
Overrides
public ListNetworkUsageResponse.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
public ListNetworkUsageResponse.Builder clearNetworks()
Networks with IPs.
repeated .google.cloud.baremetalsolution.v2.NetworkUsage networks = 1;
public ListNetworkUsageResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
public ListNetworkUsageResponse.Builder clone()
Overrides
public ListNetworkUsageResponse getDefaultInstanceForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
public NetworkUsage getNetworks(int index)
Networks with IPs.
repeated .google.cloud.baremetalsolution.v2.NetworkUsage networks = 1;
Parameter |
---|
Name | Description |
index | int
|
public NetworkUsage.Builder getNetworksBuilder(int index)
Networks with IPs.
repeated .google.cloud.baremetalsolution.v2.NetworkUsage networks = 1;
Parameter |
---|
Name | Description |
index | int
|
public List<NetworkUsage.Builder> getNetworksBuilderList()
Networks with IPs.
repeated .google.cloud.baremetalsolution.v2.NetworkUsage networks = 1;
public int getNetworksCount()
Networks with IPs.
repeated .google.cloud.baremetalsolution.v2.NetworkUsage networks = 1;
Returns |
---|
Type | Description |
int | |
public List<NetworkUsage> getNetworksList()
Networks with IPs.
repeated .google.cloud.baremetalsolution.v2.NetworkUsage networks = 1;
public NetworkUsageOrBuilder getNetworksOrBuilder(int index)
Networks with IPs.
repeated .google.cloud.baremetalsolution.v2.NetworkUsage networks = 1;
Parameter |
---|
Name | Description |
index | int
|
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()
Overrides
public final boolean isInitialized()
Overrides
public ListNetworkUsageResponse.Builder mergeFrom(ListNetworkUsageResponse other)
public ListNetworkUsageResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
public ListNetworkUsageResponse.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
public final ListNetworkUsageResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
public ListNetworkUsageResponse.Builder removeNetworks(int index)
Networks with IPs.
repeated .google.cloud.baremetalsolution.v2.NetworkUsage networks = 1;
Parameter |
---|
Name | Description |
index | int
|
public ListNetworkUsageResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
public ListNetworkUsageResponse.Builder setNetworks(int index, NetworkUsage value)
Networks with IPs.
repeated .google.cloud.baremetalsolution.v2.NetworkUsage networks = 1;
public ListNetworkUsageResponse.Builder setNetworks(int index, NetworkUsage.Builder builderForValue)
Networks with IPs.
repeated .google.cloud.baremetalsolution.v2.NetworkUsage networks = 1;
public ListNetworkUsageResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
public final ListNetworkUsageResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides