Class ListAuthorizationsRequest.Builder (0.1.0)

public static final class ListAuthorizationsRequest.Builder extends GeneratedMessage.Builder<ListAuthorizationsRequest.Builder> implements ListAuthorizationsRequestOrBuilder

Message for requesting list of Authorizations

Protobuf type google.cloud.agentidentity.v1beta.ListAuthorizationsRequest

Static Methods

getDescriptor()

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

Methods

build()

public ListAuthorizationsRequest build()
Returns
Type Description
ListAuthorizationsRequest

buildPartial()

public ListAuthorizationsRequest buildPartial()
Returns
Type Description
ListAuthorizationsRequest

clear()

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

clearFilter()

public ListAuthorizationsRequest.Builder clearFilter()

Optional. Filter string to restrict the results. Currently supports filtering by client_user_id only. Format: client_user_id="<value>"

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

Returns
Type Description
ListAuthorizationsRequest.Builder

This builder for chaining.

clearOrderBy()

public ListAuthorizationsRequest.Builder clearOrderBy()

Optional. This field is currently ignored. Defaults to ordering by authorization_id in ascending order.

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

Returns
Type Description
ListAuthorizationsRequest.Builder

This builder for chaining.

clearPageSize()

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

This builder for chaining.

clearPageToken()

public ListAuthorizationsRequest.Builder clearPageToken()

Optional. A page token, received from a previous ListAuthorizations call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to ListAuthorizations must match the call that provided the page token.

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

Returns
Type Description
ListAuthorizationsRequest.Builder

This builder for chaining.

clearParent()

public ListAuthorizationsRequest.Builder clearParent()

Required. The parent resource where the search is performed. Format: projects/{project}/locations/{location}/authProviders/{auth_provider}

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

Returns
Type Description
ListAuthorizationsRequest.Builder

This builder for chaining.

getDefaultInstanceForType()

public ListAuthorizationsRequest getDefaultInstanceForType()
Returns
Type Description
ListAuthorizationsRequest

getDescriptorForType()

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

getFilter()

public String getFilter()

Optional. Filter string to restrict the results. Currently supports filtering by client_user_id only. Format: client_user_id="<value>"

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

Returns
Type Description
String

The filter.

getFilterBytes()

public ByteString getFilterBytes()

Optional. Filter string to restrict the results. Currently supports filtering by client_user_id only. Format: client_user_id="<value>"

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

Returns
Type Description
ByteString

The bytes for filter.

getOrderBy()

public String getOrderBy()

Optional. This field is currently ignored. Defaults to ordering by authorization_id in ascending order.

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

Returns
Type Description
String

The orderBy.

getOrderByBytes()

public ByteString getOrderByBytes()

Optional. This field is currently ignored. Defaults to ordering by authorization_id in ascending order.

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 page token, received from a previous ListAuthorizations call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to ListAuthorizations must match the call that provided the page token.

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

Returns
Type Description
String

The pageToken.

getPageTokenBytes()

public ByteString getPageTokenBytes()

Optional. A page token, received from a previous ListAuthorizations call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to ListAuthorizations must match the call that provided the page token.

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

Returns
Type Description
ByteString

The bytes for pageToken.

getParent()

public String getParent()

Required. The parent resource where the search is performed. Format: projects/{project}/locations/{location}/authProviders/{auth_provider}

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

Returns
Type Description
String

The parent.

getParentBytes()

public ByteString getParentBytes()

Required. The parent resource where the search is performed. Format: projects/{project}/locations/{location}/authProviders/{auth_provider}

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

Returns
Type Description
ByteString

The bytes for parent.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ListAuthorizationsRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

setFilter(String value)

public ListAuthorizationsRequest.Builder setFilter(String value)

Optional. Filter string to restrict the results. Currently supports filtering by client_user_id only. Format: client_user_id="<value>"

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

Parameter
Name Description
value String

The filter to set.

Returns
Type Description
ListAuthorizationsRequest.Builder

This builder for chaining.

setFilterBytes(ByteString value)

public ListAuthorizationsRequest.Builder setFilterBytes(ByteString value)

Optional. Filter string to restrict the results. Currently supports filtering by client_user_id only. Format: client_user_id="<value>"

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

Parameter
Name Description
value ByteString

The bytes for filter to set.

Returns
Type Description
ListAuthorizationsRequest.Builder

This builder for chaining.

setOrderBy(String value)

public ListAuthorizationsRequest.Builder setOrderBy(String value)

Optional. This field is currently ignored. Defaults to ordering by authorization_id in ascending order.

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

Parameter
Name Description
value String

The orderBy to set.

Returns
Type Description
ListAuthorizationsRequest.Builder

This builder for chaining.

setOrderByBytes(ByteString value)

public ListAuthorizationsRequest.Builder setOrderByBytes(ByteString value)

Optional. This field is currently ignored. Defaults to ordering by authorization_id in ascending order.

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

Parameter
Name Description
value ByteString

The bytes for orderBy to set.

Returns
Type Description
ListAuthorizationsRequest.Builder

This builder for chaining.

setPageSize(int value)

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

This builder for chaining.

setPageToken(String value)

public ListAuthorizationsRequest.Builder setPageToken(String value)

Optional. A page token, received from a previous ListAuthorizations call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to ListAuthorizations must match the call that provided the page token.

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

Parameter
Name Description
value String

The pageToken to set.

Returns
Type Description
ListAuthorizationsRequest.Builder

This builder for chaining.

setPageTokenBytes(ByteString value)

public ListAuthorizationsRequest.Builder setPageTokenBytes(ByteString value)

Optional. A page token, received from a previous ListAuthorizations call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to ListAuthorizations must match the call that provided the page token.

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

Parameter
Name Description
value ByteString

The bytes for pageToken to set.

Returns
Type Description
ListAuthorizationsRequest.Builder

This builder for chaining.

setParent(String value)

public ListAuthorizationsRequest.Builder setParent(String value)

Required. The parent resource where the search is performed. Format: projects/{project}/locations/{location}/authProviders/{auth_provider}

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

Parameter
Name Description
value String

The parent to set.

Returns
Type Description
ListAuthorizationsRequest.Builder

This builder for chaining.

setParentBytes(ByteString value)

public ListAuthorizationsRequest.Builder setParentBytes(ByteString value)

Required. The parent resource where the search is performed. Format: projects/{project}/locations/{location}/authProviders/{auth_provider}

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
ListAuthorizationsRequest.Builder

This builder for chaining.