Class ListNetworkUsageRequest.Builder (0.49.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
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ListNetworkUsageRequest build()
Returns
Type Description
ListNetworkUsageRequest

buildPartial()

public ListNetworkUsageRequest buildPartial()
Returns
Type Description
ListNetworkUsageRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

public ListNetworkUsageRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
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
Type Description
ListNetworkUsageRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public ListNetworkUsageRequest getDefaultInstanceForType()
Returns
Type Description
ListNetworkUsageRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
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
Type Description
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
Type Description
ByteString

The bytes for location.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ListNetworkUsageRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

public ListNetworkUsageRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
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
Name Description
value String

The location to set.

Returns
Type Description
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
Name Description
value ByteString

The bytes for location to set.

Returns
Type Description
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
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
ListNetworkUsageRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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