Class SearchAssignmentsRequest.Builder (2.56.0)

public static final class SearchAssignmentsRequest.Builder extends GeneratedMessageV3.Builder<SearchAssignmentsRequest.Builder> implements SearchAssignmentsRequestOrBuilder

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

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

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public SearchAssignmentsRequest build()
Returns
Type Description
SearchAssignmentsRequest

buildPartial()

public SearchAssignmentsRequest buildPartial()
Returns
Type Description
SearchAssignmentsRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearPageSize()

public SearchAssignmentsRequest.Builder clearPageSize()

The maximum number of items to return per page.

int32 page_size = 3;

Returns
Type Description
SearchAssignmentsRequest.Builder

This builder for chaining.

clearPageToken()

public SearchAssignmentsRequest.Builder clearPageToken()

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

string page_token = 4;

Returns
Type Description
SearchAssignmentsRequest.Builder

This builder for chaining.

clearParent()

public SearchAssignmentsRequest.Builder clearParent()

Required. The resource name of the admin project(containing project and location), e.g.: projects/myproject/locations/US.

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

Returns
Type Description
SearchAssignmentsRequest.Builder

This builder for chaining.

clearQuery()

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

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public SearchAssignmentsRequest getDefaultInstanceForType()
Returns
Type Description
SearchAssignmentsRequest

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 of the admin project(containing project and location), e.g.: projects/myproject/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 of the admin project(containing project and location), e.g.: projects/myproject/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(SearchAssignmentsRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setPageSize(int value)

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

This builder for chaining.

setPageToken(String value)

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

This builder for chaining.

setPageTokenBytes(ByteString value)

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

This builder for chaining.

setParent(String value)

public SearchAssignmentsRequest.Builder setParent(String value)

Required. The resource name of the admin project(containing project and location), e.g.: projects/myproject/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
SearchAssignmentsRequest.Builder

This builder for chaining.

setParentBytes(ByteString value)

public SearchAssignmentsRequest.Builder setParentBytes(ByteString value)

Required. The resource name of the admin project(containing project and location), e.g.: projects/myproject/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
SearchAssignmentsRequest.Builder

This builder for chaining.

setQuery(String value)

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

This builder for chaining.

setQueryBytes(ByteString value)

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

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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