Class SearchAllAssignmentsResponse.Builder (2.49.0)

public static final class SearchAllAssignmentsResponse.Builder extends GeneratedMessageV3.Builder<SearchAllAssignmentsResponse.Builder> implements SearchAllAssignmentsResponseOrBuilder

The response for ReservationService.SearchAllAssignments.

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

Static Methods

getDescriptor()

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

Methods

addAllAssignments(Iterable<? extends Assignment> values)

public SearchAllAssignmentsResponse.Builder addAllAssignments(Iterable<? extends Assignment> values)

List of assignments visible to the user.

repeated .google.cloud.bigquery.reservation.v1.Assignment assignments = 1;

Parameter
Name Description
values Iterable<? extends com.google.cloud.bigquery.reservation.v1.Assignment>
Returns
Type Description
SearchAllAssignmentsResponse.Builder

addAssignments(Assignment value)

public SearchAllAssignmentsResponse.Builder addAssignments(Assignment value)

List of assignments visible to the user.

repeated .google.cloud.bigquery.reservation.v1.Assignment assignments = 1;

Parameter
Name Description
value Assignment
Returns
Type Description
SearchAllAssignmentsResponse.Builder

addAssignments(Assignment.Builder builderForValue)

public SearchAllAssignmentsResponse.Builder addAssignments(Assignment.Builder builderForValue)

List of assignments visible to the user.

repeated .google.cloud.bigquery.reservation.v1.Assignment assignments = 1;

Parameter
Name Description
builderForValue Assignment.Builder
Returns
Type Description
SearchAllAssignmentsResponse.Builder

addAssignments(int index, Assignment value)

public SearchAllAssignmentsResponse.Builder addAssignments(int index, Assignment value)

List of assignments visible to the user.

repeated .google.cloud.bigquery.reservation.v1.Assignment assignments = 1;

Parameters
Name Description
index int
value Assignment
Returns
Type Description
SearchAllAssignmentsResponse.Builder

addAssignments(int index, Assignment.Builder builderForValue)

public SearchAllAssignmentsResponse.Builder addAssignments(int index, Assignment.Builder builderForValue)

List of assignments visible to the user.

repeated .google.cloud.bigquery.reservation.v1.Assignment assignments = 1;

Parameters
Name Description
index int
builderForValue Assignment.Builder
Returns
Type Description
SearchAllAssignmentsResponse.Builder

addAssignmentsBuilder()

public Assignment.Builder addAssignmentsBuilder()

List of assignments visible to the user.

repeated .google.cloud.bigquery.reservation.v1.Assignment assignments = 1;

Returns
Type Description
Assignment.Builder

addAssignmentsBuilder(int index)

public Assignment.Builder addAssignmentsBuilder(int index)

List of assignments visible to the user.

repeated .google.cloud.bigquery.reservation.v1.Assignment assignments = 1;

Parameter
Name Description
index int
Returns
Type Description
Assignment.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public SearchAllAssignmentsResponse build()
Returns
Type Description
SearchAllAssignmentsResponse

buildPartial()

public SearchAllAssignmentsResponse buildPartial()
Returns
Type Description
SearchAllAssignmentsResponse

clear()

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

clearAssignments()

public SearchAllAssignmentsResponse.Builder clearAssignments()

List of assignments visible to the user.

repeated .google.cloud.bigquery.reservation.v1.Assignment assignments = 1;

Returns
Type Description
SearchAllAssignmentsResponse.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearNextPageToken()

public SearchAllAssignmentsResponse.Builder clearNextPageToken()

Token to retrieve the next page of results, or empty if there are no more results in the list.

string next_page_token = 2;

Returns
Type Description
SearchAllAssignmentsResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getAssignments(int index)

public Assignment getAssignments(int index)

List of assignments visible to the user.

repeated .google.cloud.bigquery.reservation.v1.Assignment assignments = 1;

Parameter
Name Description
index int
Returns
Type Description
Assignment

getAssignmentsBuilder(int index)

public Assignment.Builder getAssignmentsBuilder(int index)

List of assignments visible to the user.

repeated .google.cloud.bigquery.reservation.v1.Assignment assignments = 1;

Parameter
Name Description
index int
Returns
Type Description
Assignment.Builder

getAssignmentsBuilderList()

public List<Assignment.Builder> getAssignmentsBuilderList()

List of assignments visible to the user.

repeated .google.cloud.bigquery.reservation.v1.Assignment assignments = 1;

Returns
Type Description
List<Builder>

getAssignmentsCount()

public int getAssignmentsCount()

List of assignments visible to the user.

repeated .google.cloud.bigquery.reservation.v1.Assignment assignments = 1;

Returns
Type Description
int

getAssignmentsList()

public List<Assignment> getAssignmentsList()

List of assignments visible to the user.

repeated .google.cloud.bigquery.reservation.v1.Assignment assignments = 1;

Returns
Type Description
List<Assignment>

getAssignmentsOrBuilder(int index)

public AssignmentOrBuilder getAssignmentsOrBuilder(int index)

List of assignments visible to the user.

repeated .google.cloud.bigquery.reservation.v1.Assignment assignments = 1;

Parameter
Name Description
index int
Returns
Type Description
AssignmentOrBuilder

getAssignmentsOrBuilderList()

public List<? extends AssignmentOrBuilder> getAssignmentsOrBuilderList()

List of assignments visible to the user.

repeated .google.cloud.bigquery.reservation.v1.Assignment assignments = 1;

Returns
Type Description
List<? extends com.google.cloud.bigquery.reservation.v1.AssignmentOrBuilder>

getDefaultInstanceForType()

public SearchAllAssignmentsResponse getDefaultInstanceForType()
Returns
Type Description
SearchAllAssignmentsResponse

getDescriptorForType()

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

getNextPageToken()

public String getNextPageToken()

Token to retrieve the next page of results, or empty if there are no more results in the list.

string next_page_token = 2;

Returns
Type Description
String

The nextPageToken.

getNextPageTokenBytes()

public ByteString getNextPageTokenBytes()

Token to retrieve the next page of results, or empty if there are no more results in the list.

string next_page_token = 2;

Returns
Type Description
ByteString

The bytes for nextPageToken.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(SearchAllAssignmentsResponse other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeAssignments(int index)

public SearchAllAssignmentsResponse.Builder removeAssignments(int index)

List of assignments visible to the user.

repeated .google.cloud.bigquery.reservation.v1.Assignment assignments = 1;

Parameter
Name Description
index int
Returns
Type Description
SearchAllAssignmentsResponse.Builder

setAssignments(int index, Assignment value)

public SearchAllAssignmentsResponse.Builder setAssignments(int index, Assignment value)

List of assignments visible to the user.

repeated .google.cloud.bigquery.reservation.v1.Assignment assignments = 1;

Parameters
Name Description
index int
value Assignment
Returns
Type Description
SearchAllAssignmentsResponse.Builder

setAssignments(int index, Assignment.Builder builderForValue)

public SearchAllAssignmentsResponse.Builder setAssignments(int index, Assignment.Builder builderForValue)

List of assignments visible to the user.

repeated .google.cloud.bigquery.reservation.v1.Assignment assignments = 1;

Parameters
Name Description
index int
builderForValue Assignment.Builder
Returns
Type Description
SearchAllAssignmentsResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setNextPageToken(String value)

public SearchAllAssignmentsResponse.Builder setNextPageToken(String value)

Token to retrieve the next page of results, or empty if there are no more results in the list.

string next_page_token = 2;

Parameter
Name Description
value String

The nextPageToken to set.

Returns
Type Description
SearchAllAssignmentsResponse.Builder

This builder for chaining.

setNextPageTokenBytes(ByteString value)

public SearchAllAssignmentsResponse.Builder setNextPageTokenBytes(ByteString value)

Token to retrieve the next page of results, or empty if there are no more results in the list.

string next_page_token = 2;

Parameter
Name Description
value ByteString

The bytes for nextPageToken to set.

Returns
Type Description
SearchAllAssignmentsResponse.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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