Class ListConsumerQuotaMetricsRequest.Builder (2.15.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ListConsumerQuotaMetricsRequest build()
Returns
TypeDescription
ListConsumerQuotaMetricsRequest

buildPartial()

public ListConsumerQuotaMetricsRequest buildPartial()
Returns
TypeDescription
ListConsumerQuotaMetricsRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearPageSize()

public ListConsumerQuotaMetricsRequest.Builder clearPageSize()

Requested size of the next page of data.

int32 page_size = 2;

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
ListConsumerQuotaMetricsRequest.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public ListConsumerQuotaMetricsRequest getDefaultInstanceForType()
Returns
TypeDescription
ListConsumerQuotaMetricsRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getPageSize()

public int getPageSize()

Requested size of the next page of data.

int32 page_size = 2;

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
int

The enum numeric value on the wire for view.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ListConsumerQuotaMetricsRequest other)

public ListConsumerQuotaMetricsRequest.Builder mergeFrom(ListConsumerQuotaMetricsRequest other)
Parameter
NameDescription
otherListConsumerQuotaMetricsRequest
Returns
TypeDescription
ListConsumerQuotaMetricsRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

public ListConsumerQuotaMetricsRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueint

The pageSize to set.

Returns
TypeDescription
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
NameDescription
valueString

The pageToken to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for pageToken to set.

Returns
TypeDescription
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
NameDescription
valueString

The parent to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for parent to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
ListConsumerQuotaMetricsRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final ListConsumerQuotaMetricsRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueQuotaView

The view to set.

Returns
TypeDescription
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
NameDescription
valueint

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

Returns
TypeDescription
ListConsumerQuotaMetricsRequest.Builder

This builder for chaining.