Class SearchAssignmentsRequest.Builder (2.33.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public SearchAssignmentsRequest build()
Returns
TypeDescription
SearchAssignmentsRequest

buildPartial()

public SearchAssignmentsRequest buildPartial()
Returns
TypeDescription
SearchAssignmentsRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

public SearchAssignmentsRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
SearchAssignmentsRequest.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public SearchAssignmentsRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
SearchAssignmentsRequest.Builder
Overrides

clearPageSize()

public SearchAssignmentsRequest.Builder clearPageSize()

The maximum number of items to return per page.

int32 page_size = 3;

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
SearchAssignmentsRequest.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public SearchAssignmentsRequest getDefaultInstanceForType()
Returns
TypeDescription
SearchAssignmentsRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getPageSize()

public int getPageSize()

The maximum number of items to return per page.

int32 page_size = 3;

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for query.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(SearchAssignmentsRequest other)

public SearchAssignmentsRequest.Builder mergeFrom(SearchAssignmentsRequest other)
Parameter
NameDescription
otherSearchAssignmentsRequest
Returns
TypeDescription
SearchAssignmentsRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

The pageSize to set.

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

The pageToken to set.

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

The bytes for pageToken to set.

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

The parent to set.

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

The bytes for parent to set.

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

The query to set.

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

The bytes for query to set.

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

setUnknownFields(UnknownFieldSet unknownFields)

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