Class ListReservationsResponse.Builder (2.50.0)

public static final class ListReservationsResponse.Builder extends GeneratedMessageV3.Builder<ListReservationsResponse.Builder> implements ListReservationsResponseOrBuilder

The response for ReservationService.ListReservations.

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

Static Methods

getDescriptor()

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

Methods

addAllReservations(Iterable<? extends Reservation> values)

public ListReservationsResponse.Builder addAllReservations(Iterable<? extends Reservation> values)

List of reservations visible to the user.

repeated .google.cloud.bigquery.reservation.v1.Reservation reservations = 1;

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

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

addReservations(Reservation value)

public ListReservationsResponse.Builder addReservations(Reservation value)

List of reservations visible to the user.

repeated .google.cloud.bigquery.reservation.v1.Reservation reservations = 1;

Parameter
Name Description
value Reservation
Returns
Type Description
ListReservationsResponse.Builder

addReservations(Reservation.Builder builderForValue)

public ListReservationsResponse.Builder addReservations(Reservation.Builder builderForValue)

List of reservations visible to the user.

repeated .google.cloud.bigquery.reservation.v1.Reservation reservations = 1;

Parameter
Name Description
builderForValue Reservation.Builder
Returns
Type Description
ListReservationsResponse.Builder

addReservations(int index, Reservation value)

public ListReservationsResponse.Builder addReservations(int index, Reservation value)

List of reservations visible to the user.

repeated .google.cloud.bigquery.reservation.v1.Reservation reservations = 1;

Parameters
Name Description
index int
value Reservation
Returns
Type Description
ListReservationsResponse.Builder

addReservations(int index, Reservation.Builder builderForValue)

public ListReservationsResponse.Builder addReservations(int index, Reservation.Builder builderForValue)

List of reservations visible to the user.

repeated .google.cloud.bigquery.reservation.v1.Reservation reservations = 1;

Parameters
Name Description
index int
builderForValue Reservation.Builder
Returns
Type Description
ListReservationsResponse.Builder

addReservationsBuilder()

public Reservation.Builder addReservationsBuilder()

List of reservations visible to the user.

repeated .google.cloud.bigquery.reservation.v1.Reservation reservations = 1;

Returns
Type Description
Reservation.Builder

addReservationsBuilder(int index)

public Reservation.Builder addReservationsBuilder(int index)

List of reservations visible to the user.

repeated .google.cloud.bigquery.reservation.v1.Reservation reservations = 1;

Parameter
Name Description
index int
Returns
Type Description
Reservation.Builder

build()

public ListReservationsResponse build()
Returns
Type Description
ListReservationsResponse

buildPartial()

public ListReservationsResponse buildPartial()
Returns
Type Description
ListReservationsResponse

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearNextPageToken()

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

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearReservations()

public ListReservationsResponse.Builder clearReservations()

List of reservations visible to the user.

repeated .google.cloud.bigquery.reservation.v1.Reservation reservations = 1;

Returns
Type Description
ListReservationsResponse.Builder

clone()

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

getDefaultInstanceForType()

public ListReservationsResponse getDefaultInstanceForType()
Returns
Type Description
ListReservationsResponse

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.

getReservations(int index)

public Reservation getReservations(int index)

List of reservations visible to the user.

repeated .google.cloud.bigquery.reservation.v1.Reservation reservations = 1;

Parameter
Name Description
index int
Returns
Type Description
Reservation

getReservationsBuilder(int index)

public Reservation.Builder getReservationsBuilder(int index)

List of reservations visible to the user.

repeated .google.cloud.bigquery.reservation.v1.Reservation reservations = 1;

Parameter
Name Description
index int
Returns
Type Description
Reservation.Builder

getReservationsBuilderList()

public List<Reservation.Builder> getReservationsBuilderList()

List of reservations visible to the user.

repeated .google.cloud.bigquery.reservation.v1.Reservation reservations = 1;

Returns
Type Description
List<Builder>

getReservationsCount()

public int getReservationsCount()

List of reservations visible to the user.

repeated .google.cloud.bigquery.reservation.v1.Reservation reservations = 1;

Returns
Type Description
int

getReservationsList()

public List<Reservation> getReservationsList()

List of reservations visible to the user.

repeated .google.cloud.bigquery.reservation.v1.Reservation reservations = 1;

Returns
Type Description
List<Reservation>

getReservationsOrBuilder(int index)

public ReservationOrBuilder getReservationsOrBuilder(int index)

List of reservations visible to the user.

repeated .google.cloud.bigquery.reservation.v1.Reservation reservations = 1;

Parameter
Name Description
index int
Returns
Type Description
ReservationOrBuilder

getReservationsOrBuilderList()

public List<? extends ReservationOrBuilder> getReservationsOrBuilderList()

List of reservations visible to the user.

repeated .google.cloud.bigquery.reservation.v1.Reservation reservations = 1;

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

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ListReservationsResponse other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeReservations(int index)

public ListReservationsResponse.Builder removeReservations(int index)

List of reservations visible to the user.

repeated .google.cloud.bigquery.reservation.v1.Reservation reservations = 1;

Parameter
Name Description
index int
Returns
Type Description
ListReservationsResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setNextPageToken(String value)

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

This builder for chaining.

setNextPageTokenBytes(ByteString value)

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

This builder for chaining.

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

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

setReservations(int index, Reservation value)

public ListReservationsResponse.Builder setReservations(int index, Reservation value)

List of reservations visible to the user.

repeated .google.cloud.bigquery.reservation.v1.Reservation reservations = 1;

Parameters
Name Description
index int
value Reservation
Returns
Type Description
ListReservationsResponse.Builder

setReservations(int index, Reservation.Builder builderForValue)

public ListReservationsResponse.Builder setReservations(int index, Reservation.Builder builderForValue)

List of reservations visible to the user.

repeated .google.cloud.bigquery.reservation.v1.Reservation reservations = 1;

Parameters
Name Description
index int
builderForValue Reservation.Builder
Returns
Type Description
ListReservationsResponse.Builder

setUnknownFields(UnknownFieldSet unknownFields)

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