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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
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
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ListReservationsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
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
Returns
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
Returns
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
Returns
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
Returns
addReservationsBuilder()
public Reservation.Builder addReservationsBuilder()
List of reservations visible to the user.
repeated .google.cloud.bigquery.reservation.v1.Reservation reservations = 1;
Returns
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
Returns
build()
public ListReservationsResponse build()
Returns
buildPartial()
public ListReservationsResponse buildPartial()
Returns
clear()
public ListReservationsResponse.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public ListReservationsResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
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
clearOneof(Descriptors.OneofDescriptor oneof)
public ListReservationsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clearReservations()
public ListReservationsResponse.Builder clearReservations()
List of reservations visible to the user.
repeated .google.cloud.bigquery.reservation.v1.Reservation reservations = 1;
Returns
clone()
public ListReservationsResponse.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public ListReservationsResponse getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
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
Returns
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
Returns
getReservationsBuilderList()
public List<Reservation.Builder> getReservationsBuilderList()
List of reservations visible to the user.
repeated .google.cloud.bigquery.reservation.v1.Reservation reservations = 1;
Returns
getReservationsCount()
public int getReservationsCount()
List of reservations visible to the user.
repeated .google.cloud.bigquery.reservation.v1.Reservation reservations = 1;
Returns
getReservationsList()
public List<Reservation> getReservationsList()
List of reservations visible to the user.
repeated .google.cloud.bigquery.reservation.v1.Reservation reservations = 1;
Returns
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
Returns
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
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(ListReservationsResponse other)
public ListReservationsResponse.Builder mergeFrom(ListReservationsResponse other)
Parameter
Returns
public ListReservationsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public ListReservationsResponse.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ListReservationsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
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
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public ListReservationsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
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
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
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ListReservationsResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
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
Returns
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
Returns
setUnknownFields(UnknownFieldSet unknownFields)
public final ListReservationsResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides