Class ListConsumerQuotaMetricsRequest.Builder (2.43.0)

public static final class ListConsumerQuotaMetricsRequest.Builder extends GeneratedMessageV3.Builder<ListConsumerQuotaMetricsRequest.Builder> implements ListConsumerQuotaMetricsRequestOrBuilder

Request message for ListConsumerQuotaMetrics

Protobuf type google.api.serviceusage.v1beta1.ListConsumerQuotaMetricsRequest

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ListConsumerQuotaMetricsRequest build()
Returns
Type Description
ListConsumerQuotaMetricsRequest

buildPartial()

public ListConsumerQuotaMetricsRequest buildPartial()
Returns
Type Description
ListConsumerQuotaMetricsRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearPageSize()

public ListConsumerQuotaMetricsRequest.Builder clearPageSize()

Requested size of the next page of data.

int32 page_size = 2;

Returns
Type Description
ListConsumerQuotaMetricsRequest.Builder

This builder for chaining.

clearPageToken()

public ListConsumerQuotaMetricsRequest.Builder clearPageToken()

Token identifying which result to start with; returned by a previous list call.

string page_token = 3;

Returns
Type Description
ListConsumerQuotaMetricsRequest.Builder

This builder for chaining.

clearParent()

public ListConsumerQuotaMetricsRequest.Builder clearParent()

Parent of the quotas resource.

Some example names would be: projects/123/services/serviceconsumermanagement.googleapis.com folders/345/services/serviceconsumermanagement.googleapis.com organizations/456/services/serviceconsumermanagement.googleapis.com

string parent = 1;

Returns
Type Description
ListConsumerQuotaMetricsRequest.Builder

This builder for chaining.

clearView()

public ListConsumerQuotaMetricsRequest.Builder clearView()

Specifies the level of detail for quota information in the response.

.google.api.serviceusage.v1beta1.QuotaView view = 4;

Returns
Type Description
ListConsumerQuotaMetricsRequest.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public ListConsumerQuotaMetricsRequest getDefaultInstanceForType()
Returns
Type Description
ListConsumerQuotaMetricsRequest

getDescriptorForType()

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

getPageSize()

public int getPageSize()

Requested size of the next page of data.

int32 page_size = 2;

Returns
Type Description
int

The pageSize.

getPageToken()

public String getPageToken()

Token identifying which result to start with; returned by a previous list call.

string page_token = 3;

Returns
Type Description
String

The pageToken.

getPageTokenBytes()

public ByteString getPageTokenBytes()

Token identifying which result to start with; returned by a previous list call.

string page_token = 3;

Returns
Type Description
ByteString

The bytes for pageToken.

getParent()

public String getParent()

Parent of the quotas resource.

Some example names would be: projects/123/services/serviceconsumermanagement.googleapis.com folders/345/services/serviceconsumermanagement.googleapis.com organizations/456/services/serviceconsumermanagement.googleapis.com

string parent = 1;

Returns
Type Description
String

The parent.

getParentBytes()

public ByteString getParentBytes()

Parent of the quotas resource.

Some example names would be: projects/123/services/serviceconsumermanagement.googleapis.com folders/345/services/serviceconsumermanagement.googleapis.com organizations/456/services/serviceconsumermanagement.googleapis.com

string parent = 1;

Returns
Type Description
ByteString

The bytes for parent.

getView()

public QuotaView getView()

Specifies the level of detail for quota information in the response.

.google.api.serviceusage.v1beta1.QuotaView view = 4;

Returns
Type Description
QuotaView

The view.

getViewValue()

public int getViewValue()

Specifies the level of detail for quota information in the response.

.google.api.serviceusage.v1beta1.QuotaView view = 4;

Returns
Type Description
int

The enum numeric value on the wire for view.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ListConsumerQuotaMetricsRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setPageSize(int value)

public ListConsumerQuotaMetricsRequest.Builder setPageSize(int value)

Requested size of the next page of data.

int32 page_size = 2;

Parameter
Name Description
value int

The pageSize to set.

Returns
Type Description
ListConsumerQuotaMetricsRequest.Builder

This builder for chaining.

setPageToken(String value)

public ListConsumerQuotaMetricsRequest.Builder setPageToken(String value)

Token identifying which result to start with; returned by a previous list call.

string page_token = 3;

Parameter
Name Description
value String

The pageToken to set.

Returns
Type Description
ListConsumerQuotaMetricsRequest.Builder

This builder for chaining.

setPageTokenBytes(ByteString value)

public ListConsumerQuotaMetricsRequest.Builder setPageTokenBytes(ByteString value)

Token identifying which result to start with; returned by a previous list call.

string page_token = 3;

Parameter
Name Description
value ByteString

The bytes for pageToken to set.

Returns
Type Description
ListConsumerQuotaMetricsRequest.Builder

This builder for chaining.

setParent(String value)

public ListConsumerQuotaMetricsRequest.Builder setParent(String value)

Parent of the quotas resource.

Some example names would be: projects/123/services/serviceconsumermanagement.googleapis.com folders/345/services/serviceconsumermanagement.googleapis.com organizations/456/services/serviceconsumermanagement.googleapis.com

string parent = 1;

Parameter
Name Description
value String

The parent to set.

Returns
Type Description
ListConsumerQuotaMetricsRequest.Builder

This builder for chaining.

setParentBytes(ByteString value)

public ListConsumerQuotaMetricsRequest.Builder setParentBytes(ByteString value)

Parent of the quotas resource.

Some example names would be: projects/123/services/serviceconsumermanagement.googleapis.com folders/345/services/serviceconsumermanagement.googleapis.com organizations/456/services/serviceconsumermanagement.googleapis.com

string parent = 1;

Parameter
Name Description
value ByteString

The bytes for parent to set.

Returns
Type Description
ListConsumerQuotaMetricsRequest.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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

setView(QuotaView value)

public ListConsumerQuotaMetricsRequest.Builder setView(QuotaView value)

Specifies the level of detail for quota information in the response.

.google.api.serviceusage.v1beta1.QuotaView view = 4;

Parameter
Name Description
value QuotaView

The view to set.

Returns
Type Description
ListConsumerQuotaMetricsRequest.Builder

This builder for chaining.

setViewValue(int value)

public ListConsumerQuotaMetricsRequest.Builder setViewValue(int value)

Specifies the level of detail for quota information in the response.

.google.api.serviceusage.v1beta1.QuotaView view = 4;

Parameter
Name Description
value int

The enum numeric value on the wire for view to set.

Returns
Type Description
ListConsumerQuotaMetricsRequest.Builder

This builder for chaining.