public static final class ListReservationGroupsResponse.Builder extends GeneratedMessageV3.Builder<ListReservationGroupsResponse.Builder> implements ListReservationGroupsResponseOrBuilder
The response for
ReservationService.ListReservationGroups.
Protobuf type google.cloud.bigquery.reservation.v1.ListReservationGroupsResponse
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
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()
Methods
addAllReservationGroups(Iterable<? extends ReservationGroup> values)
public ListReservationGroupsResponse.Builder addAllReservationGroups(Iterable<? extends ReservationGroup> values)
List of reservations visible to the user.
repeated .google.cloud.bigquery.reservation.v1.ReservationGroup reservation_groups = 1;
Parameter |
Name |
Description |
values |
Iterable<? extends com.google.cloud.bigquery.reservation.v1.ReservationGroup>
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ListReservationGroupsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
addReservationGroups(ReservationGroup value)
public ListReservationGroupsResponse.Builder addReservationGroups(ReservationGroup value)
List of reservations visible to the user.
repeated .google.cloud.bigquery.reservation.v1.ReservationGroup reservation_groups = 1;
addReservationGroups(ReservationGroup.Builder builderForValue)
public ListReservationGroupsResponse.Builder addReservationGroups(ReservationGroup.Builder builderForValue)
List of reservations visible to the user.
repeated .google.cloud.bigquery.reservation.v1.ReservationGroup reservation_groups = 1;
addReservationGroups(int index, ReservationGroup value)
public ListReservationGroupsResponse.Builder addReservationGroups(int index, ReservationGroup value)
List of reservations visible to the user.
repeated .google.cloud.bigquery.reservation.v1.ReservationGroup reservation_groups = 1;
addReservationGroups(int index, ReservationGroup.Builder builderForValue)
public ListReservationGroupsResponse.Builder addReservationGroups(int index, ReservationGroup.Builder builderForValue)
List of reservations visible to the user.
repeated .google.cloud.bigquery.reservation.v1.ReservationGroup reservation_groups = 1;
addReservationGroupsBuilder()
public ReservationGroup.Builder addReservationGroupsBuilder()
List of reservations visible to the user.
repeated .google.cloud.bigquery.reservation.v1.ReservationGroup reservation_groups = 1;
addReservationGroupsBuilder(int index)
public ReservationGroup.Builder addReservationGroupsBuilder(int index)
List of reservations visible to the user.
repeated .google.cloud.bigquery.reservation.v1.ReservationGroup reservation_groups = 1;
Parameter |
Name |
Description |
index |
int
|
build()
public ListReservationGroupsResponse build()
buildPartial()
public ListReservationGroupsResponse buildPartial()
clear()
public ListReservationGroupsResponse.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public ListReservationGroupsResponse.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearNextPageToken()
public ListReservationGroupsResponse.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;
clearOneof(Descriptors.OneofDescriptor oneof)
public ListReservationGroupsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearReservationGroups()
public ListReservationGroupsResponse.Builder clearReservationGroups()
List of reservations visible to the user.
repeated .google.cloud.bigquery.reservation.v1.ReservationGroup reservation_groups = 1;
clone()
public ListReservationGroupsResponse.Builder clone()
Overrides
getDefaultInstanceForType()
public ListReservationGroupsResponse getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
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.
|
getReservationGroups(int index)
public ReservationGroup getReservationGroups(int index)
List of reservations visible to the user.
repeated .google.cloud.bigquery.reservation.v1.ReservationGroup reservation_groups = 1;
Parameter |
Name |
Description |
index |
int
|
getReservationGroupsBuilder(int index)
public ReservationGroup.Builder getReservationGroupsBuilder(int index)
List of reservations visible to the user.
repeated .google.cloud.bigquery.reservation.v1.ReservationGroup reservation_groups = 1;
Parameter |
Name |
Description |
index |
int
|
getReservationGroupsBuilderList()
public List<ReservationGroup.Builder> getReservationGroupsBuilderList()
List of reservations visible to the user.
repeated .google.cloud.bigquery.reservation.v1.ReservationGroup reservation_groups = 1;
getReservationGroupsCount()
public int getReservationGroupsCount()
List of reservations visible to the user.
repeated .google.cloud.bigquery.reservation.v1.ReservationGroup reservation_groups = 1;
Returns |
Type |
Description |
int |
|
getReservationGroupsList()
public List<ReservationGroup> getReservationGroupsList()
List of reservations visible to the user.
repeated .google.cloud.bigquery.reservation.v1.ReservationGroup reservation_groups = 1;
getReservationGroupsOrBuilder(int index)
public ReservationGroupOrBuilder getReservationGroupsOrBuilder(int index)
List of reservations visible to the user.
repeated .google.cloud.bigquery.reservation.v1.ReservationGroup reservation_groups = 1;
Parameter |
Name |
Description |
index |
int
|
getReservationGroupsOrBuilderList()
public List<? extends ReservationGroupOrBuilder> getReservationGroupsOrBuilderList()
List of reservations visible to the user.
repeated .google.cloud.bigquery.reservation.v1.ReservationGroup reservation_groups = 1;
Returns |
Type |
Description |
List<? extends com.google.cloud.bigquery.reservation.v1.ReservationGroupOrBuilder> |
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(ListReservationGroupsResponse other)
public ListReservationGroupsResponse.Builder mergeFrom(ListReservationGroupsResponse other)
public ListReservationGroupsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public ListReservationGroupsResponse.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ListReservationGroupsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
removeReservationGroups(int index)
public ListReservationGroupsResponse.Builder removeReservationGroups(int index)
List of reservations visible to the user.
repeated .google.cloud.bigquery.reservation.v1.ReservationGroup reservation_groups = 1;
Parameter |
Name |
Description |
index |
int
|
setField(Descriptors.FieldDescriptor field, Object value)
public ListReservationGroupsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setNextPageToken(String value)
public ListReservationGroupsResponse.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.
|
setNextPageTokenBytes(ByteString value)
public ListReservationGroupsResponse.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.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ListReservationGroupsResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setReservationGroups(int index, ReservationGroup value)
public ListReservationGroupsResponse.Builder setReservationGroups(int index, ReservationGroup value)
List of reservations visible to the user.
repeated .google.cloud.bigquery.reservation.v1.ReservationGroup reservation_groups = 1;
setReservationGroups(int index, ReservationGroup.Builder builderForValue)
public ListReservationGroupsResponse.Builder setReservationGroups(int index, ReservationGroup.Builder builderForValue)
List of reservations visible to the user.
repeated .google.cloud.bigquery.reservation.v1.ReservationGroup reservation_groups = 1;
setUnknownFields(UnknownFieldSet unknownFields)
public final ListReservationGroupsResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides