Class ListAssignmentsResponse.Builder (2.7.0)

public static final class ListAssignmentsResponse.Builder extends GeneratedMessageV3.Builder<ListAssignmentsResponse.Builder> implements ListAssignmentsResponseOrBuilder

The response for ReservationService.ListAssignments.

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

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addAllAssignments(Iterable<? extends Assignment> values)

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

List of assignments visible to the user.

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

Parameter
NameDescription
valuesIterable<? extends com.google.cloud.bigquery.reservation.v1.Assignment>
Returns
TypeDescription
ListAssignmentsResponse.Builder

addAssignments(Assignment value)

public ListAssignmentsResponse.Builder addAssignments(Assignment value)

List of assignments visible to the user.

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

Parameter
NameDescription
valueAssignment
Returns
TypeDescription
ListAssignmentsResponse.Builder

addAssignments(Assignment.Builder builderForValue)

public ListAssignmentsResponse.Builder addAssignments(Assignment.Builder builderForValue)

List of assignments visible to the user.

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

Parameter
NameDescription
builderForValueAssignment.Builder
Returns
TypeDescription
ListAssignmentsResponse.Builder

addAssignments(int index, Assignment value)

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

List of assignments visible to the user.

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

Parameters
NameDescription
indexint
valueAssignment
Returns
TypeDescription
ListAssignmentsResponse.Builder

addAssignments(int index, Assignment.Builder builderForValue)

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

List of assignments visible to the user.

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

Parameters
NameDescription
indexint
builderForValueAssignment.Builder
Returns
TypeDescription
ListAssignmentsResponse.Builder

addAssignmentsBuilder()

public Assignment.Builder addAssignmentsBuilder()

List of assignments visible to the user.

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

Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
Assignment.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ListAssignmentsResponse build()
Returns
TypeDescription
ListAssignmentsResponse

buildPartial()

public ListAssignmentsResponse buildPartial()
Returns
TypeDescription
ListAssignmentsResponse

clear()

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

clearAssignments()

public ListAssignmentsResponse.Builder clearAssignments()

List of assignments visible to the user.

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

Returns
TypeDescription
ListAssignmentsResponse.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearNextPageToken()

public ListAssignmentsResponse.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
TypeDescription
ListAssignmentsResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

public ListAssignmentsResponse.Builder clone()
Returns
TypeDescription
ListAssignmentsResponse.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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
List<Builder>

getAssignmentsCount()

public int getAssignmentsCount()

List of assignments visible to the user.

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

Returns
TypeDescription
int

getAssignmentsList()

public List<Assignment> getAssignmentsList()

List of assignments visible to the user.

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

Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
AssignmentOrBuilder

getAssignmentsOrBuilderList()

public List<? extends AssignmentOrBuilder> getAssignmentsOrBuilderList()

List of assignments visible to the user.

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

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

getDefaultInstanceForType()

public ListAssignmentsResponse getDefaultInstanceForType()
Returns
TypeDescription
ListAssignmentsResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for nextPageToken.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ListAssignmentsResponse other)

public ListAssignmentsResponse.Builder mergeFrom(ListAssignmentsResponse other)
Parameter
NameDescription
otherListAssignmentsResponse
Returns
TypeDescription
ListAssignmentsResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeAssignments(int index)

public ListAssignmentsResponse.Builder removeAssignments(int index)

List of assignments visible to the user.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
ListAssignmentsResponse.Builder

setAssignments(int index, Assignment value)

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

List of assignments visible to the user.

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

Parameters
NameDescription
indexint
valueAssignment
Returns
TypeDescription
ListAssignmentsResponse.Builder

setAssignments(int index, Assignment.Builder builderForValue)

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

List of assignments visible to the user.

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

Parameters
NameDescription
indexint
builderForValueAssignment.Builder
Returns
TypeDescription
ListAssignmentsResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setNextPageToken(String value)

public ListAssignmentsResponse.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
NameDescription
valueString

The nextPageToken to set.

Returns
TypeDescription
ListAssignmentsResponse.Builder

This builder for chaining.

setNextPageTokenBytes(ByteString value)

public ListAssignmentsResponse.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
NameDescription
valueByteString

The bytes for nextPageToken to set.

Returns
TypeDescription
ListAssignmentsResponse.Builder

This builder for chaining.

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

public ListAssignmentsResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
ListAssignmentsResponse.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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