Class ListQuotaPreferencesRequest.Builder (0.10.0)

public static final class ListQuotaPreferencesRequest.Builder extends GeneratedMessageV3.Builder<ListQuotaPreferencesRequest.Builder> implements ListQuotaPreferencesRequestOrBuilder

Message for requesting list of QuotaPreferences

Protobuf type google.api.cloudquotas.v1.ListQuotaPreferencesRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ListQuotaPreferencesRequest build()
Returns
Type Description
ListQuotaPreferencesRequest

buildPartial()

public ListQuotaPreferencesRequest buildPartial()
Returns
Type Description
ListQuotaPreferencesRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearFilter()

public ListQuotaPreferencesRequest.Builder clearFilter()

Optional. Filter result QuotaPreferences by their state, type, create/update time range.

Example filters: reconciling=true AND request_type=CLOUD_CONSOLE, reconciling=true OR creation_time>2022-12-03T10:30:00

string filter = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ListQuotaPreferencesRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearOrderBy()

public ListQuotaPreferencesRequest.Builder clearOrderBy()

Optional. How to order of the results. By default, the results are ordered by create time.

Example orders: quota_id, service, create_time

string order_by = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ListQuotaPreferencesRequest.Builder

This builder for chaining.

clearPageSize()

public ListQuotaPreferencesRequest.Builder clearPageSize()

Optional. Requested page size. Server may return fewer items than requested. If unspecified, server will pick an appropriate default.

int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ListQuotaPreferencesRequest.Builder

This builder for chaining.

clearPageToken()

public ListQuotaPreferencesRequest.Builder clearPageToken()

Optional. A token identifying a page of results the server should return.

string page_token = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ListQuotaPreferencesRequest.Builder

This builder for chaining.

clearParent()

public ListQuotaPreferencesRequest.Builder clearParent()

Required. Parent value of QuotaPreference resources. Listing across different resource containers (such as 'projects/-') is not allowed.

When the value starts with 'folders' or 'organizations', it lists the QuotaPreferences for org quotas in the container. It does not list the QuotaPreferences in the descendant projects of the container.

Example parents: projects/123/locations/global

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
ListQuotaPreferencesRequest.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public ListQuotaPreferencesRequest getDefaultInstanceForType()
Returns
Type Description
ListQuotaPreferencesRequest

getDescriptorForType()

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

getFilter()

public String getFilter()

Optional. Filter result QuotaPreferences by their state, type, create/update time range.

Example filters: reconciling=true AND request_type=CLOUD_CONSOLE, reconciling=true OR creation_time>2022-12-03T10:30:00

string filter = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The filter.

getFilterBytes()

public ByteString getFilterBytes()

Optional. Filter result QuotaPreferences by their state, type, create/update time range.

Example filters: reconciling=true AND request_type=CLOUD_CONSOLE, reconciling=true OR creation_time>2022-12-03T10:30:00

string filter = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for filter.

getOrderBy()

public String getOrderBy()

Optional. How to order of the results. By default, the results are ordered by create time.

Example orders: quota_id, service, create_time

string order_by = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The orderBy.

getOrderByBytes()

public ByteString getOrderByBytes()

Optional. How to order of the results. By default, the results are ordered by create time.

Example orders: quota_id, service, create_time

string order_by = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for orderBy.

getPageSize()

public int getPageSize()

Optional. Requested page size. Server may return fewer items than requested. If unspecified, server will pick an appropriate default.

int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The pageSize.

getPageToken()

public String getPageToken()

Optional. A token identifying a page of results the server should return.

string page_token = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The pageToken.

getPageTokenBytes()

public ByteString getPageTokenBytes()

Optional. A token identifying a page of results the server should return.

string page_token = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for pageToken.

getParent()

public String getParent()

Required. Parent value of QuotaPreference resources. Listing across different resource containers (such as 'projects/-') is not allowed.

When the value starts with 'folders' or 'organizations', it lists the QuotaPreferences for org quotas in the container. It does not list the QuotaPreferences in the descendant projects of the container.

Example parents: projects/123/locations/global

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The parent.

getParentBytes()

public ByteString getParentBytes()

Required. Parent value of QuotaPreference resources. Listing across different resource containers (such as 'projects/-') is not allowed.

When the value starts with 'folders' or 'organizations', it lists the QuotaPreferences for org quotas in the container. It does not list the QuotaPreferences in the descendant projects of the container.

Example parents: projects/123/locations/global

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

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

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setFilter(String value)

public ListQuotaPreferencesRequest.Builder setFilter(String value)

Optional. Filter result QuotaPreferences by their state, type, create/update time range.

Example filters: reconciling=true AND request_type=CLOUD_CONSOLE, reconciling=true OR creation_time>2022-12-03T10:30:00

string filter = 4 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value String

The filter to set.

Returns
Type Description
ListQuotaPreferencesRequest.Builder

This builder for chaining.

setFilterBytes(ByteString value)

public ListQuotaPreferencesRequest.Builder setFilterBytes(ByteString value)

Optional. Filter result QuotaPreferences by their state, type, create/update time range.

Example filters: reconciling=true AND request_type=CLOUD_CONSOLE, reconciling=true OR creation_time>2022-12-03T10:30:00

string filter = 4 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value ByteString

The bytes for filter to set.

Returns
Type Description
ListQuotaPreferencesRequest.Builder

This builder for chaining.

setOrderBy(String value)

public ListQuotaPreferencesRequest.Builder setOrderBy(String value)

Optional. How to order of the results. By default, the results are ordered by create time.

Example orders: quota_id, service, create_time

string order_by = 5 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value String

The orderBy to set.

Returns
Type Description
ListQuotaPreferencesRequest.Builder

This builder for chaining.

setOrderByBytes(ByteString value)

public ListQuotaPreferencesRequest.Builder setOrderByBytes(ByteString value)

Optional. How to order of the results. By default, the results are ordered by create time.

Example orders: quota_id, service, create_time

string order_by = 5 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value ByteString

The bytes for orderBy to set.

Returns
Type Description
ListQuotaPreferencesRequest.Builder

This builder for chaining.

setPageSize(int value)

public ListQuotaPreferencesRequest.Builder setPageSize(int value)

Optional. Requested page size. Server may return fewer items than requested. If unspecified, server will pick an appropriate default.

int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value int

The pageSize to set.

Returns
Type Description
ListQuotaPreferencesRequest.Builder

This builder for chaining.

setPageToken(String value)

public ListQuotaPreferencesRequest.Builder setPageToken(String value)

Optional. A token identifying a page of results the server should return.

string page_token = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value String

The pageToken to set.

Returns
Type Description
ListQuotaPreferencesRequest.Builder

This builder for chaining.

setPageTokenBytes(ByteString value)

public ListQuotaPreferencesRequest.Builder setPageTokenBytes(ByteString value)

Optional. A token identifying a page of results the server should return.

string page_token = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value ByteString

The bytes for pageToken to set.

Returns
Type Description
ListQuotaPreferencesRequest.Builder

This builder for chaining.

setParent(String value)

public ListQuotaPreferencesRequest.Builder setParent(String value)

Required. Parent value of QuotaPreference resources. Listing across different resource containers (such as 'projects/-') is not allowed.

When the value starts with 'folders' or 'organizations', it lists the QuotaPreferences for org quotas in the container. It does not list the QuotaPreferences in the descendant projects of the container.

Example parents: projects/123/locations/global

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value String

The parent to set.

Returns
Type Description
ListQuotaPreferencesRequest.Builder

This builder for chaining.

setParentBytes(ByteString value)

public ListQuotaPreferencesRequest.Builder setParentBytes(ByteString value)

Required. Parent value of QuotaPreference resources. Listing across different resource containers (such as 'projects/-') is not allowed.

When the value starts with 'folders' or 'organizations', it lists the QuotaPreferences for org quotas in the container. It does not list the QuotaPreferences in the descendant projects of the container.

Example parents: projects/123/locations/global

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value ByteString

The bytes for parent to set.

Returns
Type Description
ListQuotaPreferencesRequest.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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