Class ListQuotaPreferencesRequest.Builder (0.7.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ListQuotaPreferencesRequest build()
Returns
TypeDescription
ListQuotaPreferencesRequest

buildPartial()

public ListQuotaPreferencesRequest buildPartial()
Returns
TypeDescription
ListQuotaPreferencesRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

public ListQuotaPreferencesRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
ListQuotaPreferencesRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public ListQuotaPreferencesRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
ListQuotaPreferencesRequest.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public ListQuotaPreferencesRequest getDefaultInstanceForType()
Returns
TypeDescription
ListQuotaPreferencesRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
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(ListQuotaPreferencesRequest other)

public ListQuotaPreferencesRequest.Builder mergeFrom(ListQuotaPreferencesRequest other)
Parameter
NameDescription
otherListQuotaPreferencesRequest
Returns
TypeDescription
ListQuotaPreferencesRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

The filter to set.

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

The bytes for filter to set.

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

The orderBy to set.

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

The bytes for orderBy to set.

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

The pageSize to set.

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

The pageToken to set.

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

The bytes for pageToken to set.

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

The parent to set.

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

The bytes for parent to set.

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

setUnknownFields(UnknownFieldSet unknownFields)

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