Class ListNetworkUsageRequest.Builder (0.30.0)

public static final class ListNetworkUsageRequest.Builder extends GeneratedMessageV3.Builder<ListNetworkUsageRequest.Builder> implements ListNetworkUsageRequestOrBuilder

Request to get networks with IPs.

Protobuf type google.cloud.baremetalsolution.v2.ListNetworkUsageRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ListNetworkUsageRequest build()
Returns
TypeDescription
ListNetworkUsageRequest

buildPartial()

public ListNetworkUsageRequest buildPartial()
Returns
TypeDescription
ListNetworkUsageRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearLocation()

public ListNetworkUsageRequest.Builder clearLocation()

Required. Parent value (project and location).

string location = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
ListNetworkUsageRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public ListNetworkUsageRequest getDefaultInstanceForType()
Returns
TypeDescription
ListNetworkUsageRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getLocation()

public String getLocation()

Required. Parent value (project and location).

string location = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
String

The location.

getLocationBytes()

public ByteString getLocationBytes()

Required. Parent value (project and location).

string location = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
ByteString

The bytes for location.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ListNetworkUsageRequest other)

public ListNetworkUsageRequest.Builder mergeFrom(ListNetworkUsageRequest other)
Parameter
NameDescription
otherListNetworkUsageRequest
Returns
TypeDescription
ListNetworkUsageRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setLocation(String value)

public ListNetworkUsageRequest.Builder setLocation(String value)

Required. Parent value (project and location).

string location = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
NameDescription
valueString

The location to set.

Returns
TypeDescription
ListNetworkUsageRequest.Builder

This builder for chaining.

setLocationBytes(ByteString value)

public ListNetworkUsageRequest.Builder setLocationBytes(ByteString value)

Required. Parent value (project and location).

string location = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
NameDescription
valueByteString

The bytes for location to set.

Returns
TypeDescription
ListNetworkUsageRequest.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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