Class SearchAllAssignmentsRequest.Builder (2.38.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public SearchAllAssignmentsRequest build()
Returns
TypeDescription
SearchAllAssignmentsRequest

buildPartial()

public SearchAllAssignmentsRequest buildPartial()
Returns
TypeDescription
SearchAllAssignmentsRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearPageSize()

public SearchAllAssignmentsRequest.Builder clearPageSize()

The maximum number of items to return per page.

int32 page_size = 3;

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

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public SearchAllAssignmentsRequest getDefaultInstanceForType()
Returns
TypeDescription
SearchAllAssignmentsRequest

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 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
TypeDescription
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
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(SearchAllAssignmentsRequest other)

public SearchAllAssignmentsRequest.Builder mergeFrom(SearchAllAssignmentsRequest other)
Parameter
NameDescription
otherSearchAllAssignmentsRequest
Returns
TypeDescription
SearchAllAssignmentsRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

The pageSize to set.

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

The pageToken to set.

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

The bytes for pageToken to set.

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

The parent to set.

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

The bytes for parent to set.

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

The query to set.

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

The bytes for query to set.

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

setUnknownFields(UnknownFieldSet unknownFields)

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