Class SearchAllAssignmentsRequest.Builder (2.47.0)

public static final class SearchAllAssignmentsRequest.Builder extends GeneratedMessageV3.Builder<SearchAllAssignmentsRequest.Builder> implements SearchAllAssignmentsRequestOrBuilder

The request for ReservationService.SearchAllAssignments. Note: "bigquery.reservationAssignments.search" permission is required on the related assignee.

Protobuf type google.cloud.bigquery.reservation.v1.SearchAllAssignmentsRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public SearchAllAssignmentsRequest build()
Returns
Type Description
SearchAllAssignmentsRequest

buildPartial()

public SearchAllAssignmentsRequest buildPartial()
Returns
Type Description
SearchAllAssignmentsRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearPageSize()

public SearchAllAssignmentsRequest.Builder clearPageSize()

The maximum number of items to return per page.

int32 page_size = 3;

Returns
Type Description
SearchAllAssignmentsRequest.Builder

This builder for chaining.

clearPageToken()

public SearchAllAssignmentsRequest.Builder clearPageToken()

The next_page_token value returned from a previous List request, if any.

string page_token = 4;

Returns
Type Description
SearchAllAssignmentsRequest.Builder

This builder for chaining.

clearParent()

public SearchAllAssignmentsRequest.Builder clearParent()

Required. The resource name with location (project name could be the wildcard '-'), e.g.: projects/-/locations/US.

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

Returns
Type Description
SearchAllAssignmentsRequest.Builder

This builder for chaining.

clearQuery()

public SearchAllAssignmentsRequest.Builder clearQuery()

Please specify resource name as assignee in the query.

Examples:

  • assignee=projects/myproject
  • assignee=folders/123
  • assignee=organizations/456

string query = 2;

Returns
Type Description
SearchAllAssignmentsRequest.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public SearchAllAssignmentsRequest getDefaultInstanceForType()
Returns
Type Description
SearchAllAssignmentsRequest

getDescriptorForType()

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

getPageSize()

public int getPageSize()

The maximum number of items to return per page.

int32 page_size = 3;

Returns
Type Description
int

The pageSize.

getPageToken()

public String getPageToken()

The next_page_token value returned from a previous List request, if any.

string page_token = 4;

Returns
Type Description
String

The pageToken.

getPageTokenBytes()

public ByteString getPageTokenBytes()

The next_page_token value returned from a previous List request, if any.

string page_token = 4;

Returns
Type Description
ByteString

The bytes for pageToken.

getParent()

public String getParent()

Required. The resource name with location (project name could be the wildcard '-'), e.g.: projects/-/locations/US.

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

Returns
Type Description
String

The parent.

getParentBytes()

public ByteString getParentBytes()

Required. The resource name with location (project name could be the wildcard '-'), e.g.: projects/-/locations/US.

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

Returns
Type Description
ByteString

The bytes for parent.

getQuery()

public String getQuery()

Please specify resource name as assignee in the query.

Examples:

  • assignee=projects/myproject
  • assignee=folders/123
  • assignee=organizations/456

string query = 2;

Returns
Type Description
String

The query.

getQueryBytes()

public ByteString getQueryBytes()

Please specify resource name as assignee in the query.

Examples:

  • assignee=projects/myproject
  • assignee=folders/123
  • assignee=organizations/456

string query = 2;

Returns
Type Description
ByteString

The bytes for query.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(SearchAllAssignmentsRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setPageSize(int value)

public SearchAllAssignmentsRequest.Builder setPageSize(int value)

The maximum number of items to return per page.

int32 page_size = 3;

Parameter
Name Description
value int

The pageSize to set.

Returns
Type Description
SearchAllAssignmentsRequest.Builder

This builder for chaining.

setPageToken(String value)

public SearchAllAssignmentsRequest.Builder setPageToken(String value)

The next_page_token value returned from a previous List request, if any.

string page_token = 4;

Parameter
Name Description
value String

The pageToken to set.

Returns
Type Description
SearchAllAssignmentsRequest.Builder

This builder for chaining.

setPageTokenBytes(ByteString value)

public SearchAllAssignmentsRequest.Builder setPageTokenBytes(ByteString value)

The next_page_token value returned from a previous List request, if any.

string page_token = 4;

Parameter
Name Description
value ByteString

The bytes for pageToken to set.

Returns
Type Description
SearchAllAssignmentsRequest.Builder

This builder for chaining.

setParent(String value)

public SearchAllAssignmentsRequest.Builder setParent(String value)

Required. The resource name with location (project name could be the wildcard '-'), e.g.: projects/-/locations/US.

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

Parameter
Name Description
value String

The parent to set.

Returns
Type Description
SearchAllAssignmentsRequest.Builder

This builder for chaining.

setParentBytes(ByteString value)

public SearchAllAssignmentsRequest.Builder setParentBytes(ByteString value)

Required. The resource name with location (project name could be the wildcard '-'), e.g.: projects/-/locations/US.

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

This builder for chaining.

setQuery(String value)

public SearchAllAssignmentsRequest.Builder setQuery(String value)

Please specify resource name as assignee in the query.

Examples:

  • assignee=projects/myproject
  • assignee=folders/123
  • assignee=organizations/456

string query = 2;

Parameter
Name Description
value String

The query to set.

Returns
Type Description
SearchAllAssignmentsRequest.Builder

This builder for chaining.

setQueryBytes(ByteString value)

public SearchAllAssignmentsRequest.Builder setQueryBytes(ByteString value)

Please specify resource name as assignee in the query.

Examples:

  • assignee=projects/myproject
  • assignee=folders/123
  • assignee=organizations/456

string query = 2;

Parameter
Name Description
value ByteString

The bytes for query to set.

Returns
Type Description
SearchAllAssignmentsRequest.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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