Class ListConsumerOverridesRequest.Builder (2.22.0)

public static final class ListConsumerOverridesRequest.Builder extends GeneratedMessageV3.Builder<ListConsumerOverridesRequest.Builder> implements ListConsumerOverridesRequestOrBuilder

Request message for ListConsumerOverrides

Protobuf type google.api.serviceusage.v1beta1.ListConsumerOverridesRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ListConsumerOverridesRequest build()
Returns
TypeDescription
ListConsumerOverridesRequest

buildPartial()

public ListConsumerOverridesRequest buildPartial()
Returns
TypeDescription
ListConsumerOverridesRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearPageSize()

public ListConsumerOverridesRequest.Builder clearPageSize()

Requested size of the next page of data.

int32 page_size = 2;

Returns
TypeDescription
ListConsumerOverridesRequest.Builder

This builder for chaining.

clearPageToken()

public ListConsumerOverridesRequest.Builder clearPageToken()

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

string page_token = 3;

Returns
TypeDescription
ListConsumerOverridesRequest.Builder

This builder for chaining.

clearParent()

public ListConsumerOverridesRequest.Builder clearParent()

The resource name of the parent quota limit, returned by a ListConsumerQuotaMetrics or GetConsumerQuotaMetric call.

An example name would be: projects/123/services/compute.googleapis.com/consumerQuotaMetrics/compute.googleapis.com%2Fcpus/limits/%2Fproject%2Fregion

string parent = 1;

Returns
TypeDescription
ListConsumerOverridesRequest.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public ListConsumerOverridesRequest getDefaultInstanceForType()
Returns
TypeDescription
ListConsumerOverridesRequest

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()

The resource name of the parent quota limit, returned by a ListConsumerQuotaMetrics or GetConsumerQuotaMetric call.

An example name would be: projects/123/services/compute.googleapis.com/consumerQuotaMetrics/compute.googleapis.com%2Fcpus/limits/%2Fproject%2Fregion

string parent = 1;

Returns
TypeDescription
String

The parent.

getParentBytes()

public ByteString getParentBytes()

The resource name of the parent quota limit, returned by a ListConsumerQuotaMetrics or GetConsumerQuotaMetric call.

An example name would be: projects/123/services/compute.googleapis.com/consumerQuotaMetrics/compute.googleapis.com%2Fcpus/limits/%2Fproject%2Fregion

string parent = 1;

Returns
TypeDescription
ByteString

The bytes for parent.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ListConsumerOverridesRequest other)

public ListConsumerOverridesRequest.Builder mergeFrom(ListConsumerOverridesRequest other)
Parameter
NameDescription
otherListConsumerOverridesRequest
Returns
TypeDescription
ListConsumerOverridesRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setPageSize(int value)

public ListConsumerOverridesRequest.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
ListConsumerOverridesRequest.Builder

This builder for chaining.

setPageToken(String value)

public ListConsumerOverridesRequest.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
ListConsumerOverridesRequest.Builder

This builder for chaining.

setPageTokenBytes(ByteString value)

public ListConsumerOverridesRequest.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
ListConsumerOverridesRequest.Builder

This builder for chaining.

setParent(String value)

public ListConsumerOverridesRequest.Builder setParent(String value)

The resource name of the parent quota limit, returned by a ListConsumerQuotaMetrics or GetConsumerQuotaMetric call.

An example name would be: projects/123/services/compute.googleapis.com/consumerQuotaMetrics/compute.googleapis.com%2Fcpus/limits/%2Fproject%2Fregion

string parent = 1;

Parameter
NameDescription
valueString

The parent to set.

Returns
TypeDescription
ListConsumerOverridesRequest.Builder

This builder for chaining.

setParentBytes(ByteString value)

public ListConsumerOverridesRequest.Builder setParentBytes(ByteString value)

The resource name of the parent quota limit, returned by a ListConsumerQuotaMetrics or GetConsumerQuotaMetric call.

An example name would be: projects/123/services/compute.googleapis.com/consumerQuotaMetrics/compute.googleapis.com%2Fcpus/limits/%2Fproject%2Fregion

string parent = 1;

Parameter
NameDescription
valueByteString

The bytes for parent to set.

Returns
TypeDescription
ListConsumerOverridesRequest.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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