Class ListConsumerOverridesRequest.Builder (2.55.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
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ListConsumerOverridesRequest build()
Returns
Type Description
ListConsumerOverridesRequest

buildPartial()

public ListConsumerOverridesRequest buildPartial()
Returns
Type Description
ListConsumerOverridesRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearPageSize()

public ListConsumerOverridesRequest.Builder clearPageSize()

Requested size of the next page of data.

int32 page_size = 2;

Returns
Type Description
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
Type Description
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
Type Description
ListConsumerOverridesRequest.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public ListConsumerOverridesRequest getDefaultInstanceForType()
Returns
Type Description
ListConsumerOverridesRequest

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

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
Type Description
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
Type Description
ByteString

The bytes for parent.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ListConsumerOverridesRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

The pageSize to set.

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

The pageToken to set.

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

The bytes for pageToken to set.

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

The parent to set.

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

The bytes for parent to set.

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

setUnknownFields(UnknownFieldSet unknownFields)

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