public static final class ListReservationsResponse.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<ListReservationsResponse.Builder> implements ListReservationsResponseOrBuilder
Response for ListReservations.Protobuf type
google.cloud.pubsublite.v1.ListReservationsResponse| Modifier and Type | Method and Description |
|---|---|
ListReservationsResponse.Builder |
addAllReservations(Iterable<? extends Reservation> values)
The list of reservation in the requested parent.
|
ListReservationsResponse.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
ListReservationsResponse.Builder |
addReservations(int index,
Reservation.Builder builderForValue)
The list of reservation in the requested parent.
|
ListReservationsResponse.Builder |
addReservations(int index,
Reservation value)
The list of reservation in the requested parent.
|
ListReservationsResponse.Builder |
addReservations(Reservation.Builder builderForValue)
The list of reservation in the requested parent.
|
ListReservationsResponse.Builder |
addReservations(Reservation value)
The list of reservation in the requested parent.
|
Reservation.Builder |
addReservationsBuilder()
The list of reservation in the requested parent.
|
Reservation.Builder |
addReservationsBuilder(int index)
The list of reservation in the requested parent.
|
ListReservationsResponse |
build() |
ListReservationsResponse |
buildPartial() |
ListReservationsResponse.Builder |
clear() |
ListReservationsResponse.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
ListReservationsResponse.Builder |
clearNextPageToken()
A token that can be sent as `page_token` to retrieve the next page of
results.
|
ListReservationsResponse.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
ListReservationsResponse.Builder |
clearReservations()
The list of reservation in the requested parent.
|
ListReservationsResponse.Builder |
clone() |
ListReservationsResponse |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
String |
getNextPageToken()
A token that can be sent as `page_token` to retrieve the next page of
results.
|
com.google.protobuf.ByteString |
getNextPageTokenBytes()
A token that can be sent as `page_token` to retrieve the next page of
results.
|
Reservation |
getReservations(int index)
The list of reservation in the requested parent.
|
Reservation.Builder |
getReservationsBuilder(int index)
The list of reservation in the requested parent.
|
List<Reservation.Builder> |
getReservationsBuilderList()
The list of reservation in the requested parent.
|
int |
getReservationsCount()
The list of reservation in the requested parent.
|
List<Reservation> |
getReservationsList()
The list of reservation in the requested parent.
|
ReservationOrBuilder |
getReservationsOrBuilder(int index)
The list of reservation in the requested parent.
|
List<? extends ReservationOrBuilder> |
getReservationsOrBuilderList()
The list of reservation in the requested parent.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
ListReservationsResponse.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
ListReservationsResponse.Builder |
mergeFrom(ListReservationsResponse other) |
ListReservationsResponse.Builder |
mergeFrom(com.google.protobuf.Message other) |
ListReservationsResponse.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
ListReservationsResponse.Builder |
removeReservations(int index)
The list of reservation in the requested parent.
|
ListReservationsResponse.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
ListReservationsResponse.Builder |
setNextPageToken(String value)
A token that can be sent as `page_token` to retrieve the next page of
results.
|
ListReservationsResponse.Builder |
setNextPageTokenBytes(com.google.protobuf.ByteString value)
A token that can be sent as `page_token` to retrieve the next page of
results.
|
ListReservationsResponse.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
ListReservationsResponse.Builder |
setReservations(int index,
Reservation.Builder builderForValue)
The list of reservation in the requested parent.
|
ListReservationsResponse.Builder |
setReservations(int index,
Reservation value)
The list of reservation in the requested parent.
|
ListReservationsResponse.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitfindInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<ListReservationsResponse.Builder>public ListReservationsResponse.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<ListReservationsResponse.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<ListReservationsResponse.Builder>public ListReservationsResponse getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic ListReservationsResponse build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic ListReservationsResponse buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic ListReservationsResponse.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<ListReservationsResponse.Builder>public ListReservationsResponse.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<ListReservationsResponse.Builder>public ListReservationsResponse.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<ListReservationsResponse.Builder>public ListReservationsResponse.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<ListReservationsResponse.Builder>public ListReservationsResponse.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<ListReservationsResponse.Builder>public ListReservationsResponse.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<ListReservationsResponse.Builder>public ListReservationsResponse.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<ListReservationsResponse.Builder>public ListReservationsResponse.Builder mergeFrom(ListReservationsResponse other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<ListReservationsResponse.Builder>public ListReservationsResponse.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<ListReservationsResponse.Builder>IOExceptionpublic List<Reservation> getReservationsList()
The list of reservation in the requested parent. The order of the reservations is unspecified.
repeated .google.cloud.pubsublite.v1.Reservation reservations = 1;getReservationsList in interface ListReservationsResponseOrBuilderpublic int getReservationsCount()
The list of reservation in the requested parent. The order of the reservations is unspecified.
repeated .google.cloud.pubsublite.v1.Reservation reservations = 1;getReservationsCount in interface ListReservationsResponseOrBuilderpublic Reservation getReservations(int index)
The list of reservation in the requested parent. The order of the reservations is unspecified.
repeated .google.cloud.pubsublite.v1.Reservation reservations = 1;getReservations in interface ListReservationsResponseOrBuilderpublic ListReservationsResponse.Builder setReservations(int index, Reservation value)
The list of reservation in the requested parent. The order of the reservations is unspecified.
repeated .google.cloud.pubsublite.v1.Reservation reservations = 1;public ListReservationsResponse.Builder setReservations(int index, Reservation.Builder builderForValue)
The list of reservation in the requested parent. The order of the reservations is unspecified.
repeated .google.cloud.pubsublite.v1.Reservation reservations = 1;public ListReservationsResponse.Builder addReservations(Reservation value)
The list of reservation in the requested parent. The order of the reservations is unspecified.
repeated .google.cloud.pubsublite.v1.Reservation reservations = 1;public ListReservationsResponse.Builder addReservations(int index, Reservation value)
The list of reservation in the requested parent. The order of the reservations is unspecified.
repeated .google.cloud.pubsublite.v1.Reservation reservations = 1;public ListReservationsResponse.Builder addReservations(Reservation.Builder builderForValue)
The list of reservation in the requested parent. The order of the reservations is unspecified.
repeated .google.cloud.pubsublite.v1.Reservation reservations = 1;public ListReservationsResponse.Builder addReservations(int index, Reservation.Builder builderForValue)
The list of reservation in the requested parent. The order of the reservations is unspecified.
repeated .google.cloud.pubsublite.v1.Reservation reservations = 1;public ListReservationsResponse.Builder addAllReservations(Iterable<? extends Reservation> values)
The list of reservation in the requested parent. The order of the reservations is unspecified.
repeated .google.cloud.pubsublite.v1.Reservation reservations = 1;public ListReservationsResponse.Builder clearReservations()
The list of reservation in the requested parent. The order of the reservations is unspecified.
repeated .google.cloud.pubsublite.v1.Reservation reservations = 1;public ListReservationsResponse.Builder removeReservations(int index)
The list of reservation in the requested parent. The order of the reservations is unspecified.
repeated .google.cloud.pubsublite.v1.Reservation reservations = 1;public Reservation.Builder getReservationsBuilder(int index)
The list of reservation in the requested parent. The order of the reservations is unspecified.
repeated .google.cloud.pubsublite.v1.Reservation reservations = 1;public ReservationOrBuilder getReservationsOrBuilder(int index)
The list of reservation in the requested parent. The order of the reservations is unspecified.
repeated .google.cloud.pubsublite.v1.Reservation reservations = 1;getReservationsOrBuilder in interface ListReservationsResponseOrBuilderpublic List<? extends ReservationOrBuilder> getReservationsOrBuilderList()
The list of reservation in the requested parent. The order of the reservations is unspecified.
repeated .google.cloud.pubsublite.v1.Reservation reservations = 1;getReservationsOrBuilderList in interface ListReservationsResponseOrBuilderpublic Reservation.Builder addReservationsBuilder()
The list of reservation in the requested parent. The order of the reservations is unspecified.
repeated .google.cloud.pubsublite.v1.Reservation reservations = 1;public Reservation.Builder addReservationsBuilder(int index)
The list of reservation in the requested parent. The order of the reservations is unspecified.
repeated .google.cloud.pubsublite.v1.Reservation reservations = 1;public List<Reservation.Builder> getReservationsBuilderList()
The list of reservation in the requested parent. The order of the reservations is unspecified.
repeated .google.cloud.pubsublite.v1.Reservation reservations = 1;public String getNextPageToken()
A token that can be sent as `page_token` to retrieve the next page of results. If this field is omitted, there are no more results.
string next_page_token = 2;getNextPageToken in interface ListReservationsResponseOrBuilderpublic com.google.protobuf.ByteString getNextPageTokenBytes()
A token that can be sent as `page_token` to retrieve the next page of results. If this field is omitted, there are no more results.
string next_page_token = 2;getNextPageTokenBytes in interface ListReservationsResponseOrBuilderpublic ListReservationsResponse.Builder setNextPageToken(String value)
A token that can be sent as `page_token` to retrieve the next page of results. If this field is omitted, there are no more results.
string next_page_token = 2;value - The nextPageToken to set.public ListReservationsResponse.Builder clearNextPageToken()
A token that can be sent as `page_token` to retrieve the next page of results. If this field is omitted, there are no more results.
string next_page_token = 2;public ListReservationsResponse.Builder setNextPageTokenBytes(com.google.protobuf.ByteString value)
A token that can be sent as `page_token` to retrieve the next page of results. If this field is omitted, there are no more results.
string next_page_token = 2;value - The bytes for nextPageToken to set.public final ListReservationsResponse.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ListReservationsResponse.Builder>public final ListReservationsResponse.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ListReservationsResponse.Builder>Copyright © 2023 Google LLC. All rights reserved.