public static final class ListSubscriptionsResponse.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<ListSubscriptionsResponse.Builder> implements ListSubscriptionsResponseOrBuilder
Response for the `ListSubscriptions` method.Protobuf type
google.pubsub.v1.ListSubscriptionsResponse| Modifier and Type | Method and Description |
|---|---|
ListSubscriptionsResponse.Builder |
addAllSubscriptions(java.lang.Iterable<? extends Subscription> values)
The subscriptions that match the request.
|
ListSubscriptionsResponse.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) |
ListSubscriptionsResponse.Builder |
addSubscriptions(int index,
Subscription.Builder builderForValue)
The subscriptions that match the request.
|
ListSubscriptionsResponse.Builder |
addSubscriptions(int index,
Subscription value)
The subscriptions that match the request.
|
ListSubscriptionsResponse.Builder |
addSubscriptions(Subscription.Builder builderForValue)
The subscriptions that match the request.
|
ListSubscriptionsResponse.Builder |
addSubscriptions(Subscription value)
The subscriptions that match the request.
|
Subscription.Builder |
addSubscriptionsBuilder()
The subscriptions that match the request.
|
Subscription.Builder |
addSubscriptionsBuilder(int index)
The subscriptions that match the request.
|
ListSubscriptionsResponse |
build() |
ListSubscriptionsResponse |
buildPartial() |
ListSubscriptionsResponse.Builder |
clear() |
ListSubscriptionsResponse.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
ListSubscriptionsResponse.Builder |
clearNextPageToken()
If not empty, indicates that there may be more subscriptions that match
the request; this value should be passed in a new
`ListSubscriptionsRequest` to get more subscriptions.
|
ListSubscriptionsResponse.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
ListSubscriptionsResponse.Builder |
clearSubscriptions()
The subscriptions that match the request.
|
ListSubscriptionsResponse.Builder |
clone() |
ListSubscriptionsResponse |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
java.lang.String |
getNextPageToken()
If not empty, indicates that there may be more subscriptions that match
the request; this value should be passed in a new
`ListSubscriptionsRequest` to get more subscriptions.
|
com.google.protobuf.ByteString |
getNextPageTokenBytes()
If not empty, indicates that there may be more subscriptions that match
the request; this value should be passed in a new
`ListSubscriptionsRequest` to get more subscriptions.
|
Subscription |
getSubscriptions(int index)
The subscriptions that match the request.
|
Subscription.Builder |
getSubscriptionsBuilder(int index)
The subscriptions that match the request.
|
java.util.List<Subscription.Builder> |
getSubscriptionsBuilderList()
The subscriptions that match the request.
|
int |
getSubscriptionsCount()
The subscriptions that match the request.
|
java.util.List<Subscription> |
getSubscriptionsList()
The subscriptions that match the request.
|
SubscriptionOrBuilder |
getSubscriptionsOrBuilder(int index)
The subscriptions that match the request.
|
java.util.List<? extends SubscriptionOrBuilder> |
getSubscriptionsOrBuilderList()
The subscriptions that match the request.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
ListSubscriptionsResponse.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
ListSubscriptionsResponse.Builder |
mergeFrom(ListSubscriptionsResponse other) |
ListSubscriptionsResponse.Builder |
mergeFrom(com.google.protobuf.Message other) |
ListSubscriptionsResponse.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
ListSubscriptionsResponse.Builder |
removeSubscriptions(int index)
The subscriptions that match the request.
|
ListSubscriptionsResponse.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) |
ListSubscriptionsResponse.Builder |
setNextPageToken(java.lang.String value)
If not empty, indicates that there may be more subscriptions that match
the request; this value should be passed in a new
`ListSubscriptionsRequest` to get more subscriptions.
|
ListSubscriptionsResponse.Builder |
setNextPageTokenBytes(com.google.protobuf.ByteString value)
If not empty, indicates that there may be more subscriptions that match
the request; this value should be passed in a new
`ListSubscriptionsRequest` to get more subscriptions.
|
ListSubscriptionsResponse.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
java.lang.Object value) |
ListSubscriptionsResponse.Builder |
setSubscriptions(int index,
Subscription.Builder builderForValue)
The subscriptions that match the request.
|
ListSubscriptionsResponse.Builder |
setSubscriptions(int index,
Subscription value)
The subscriptions that match the request.
|
ListSubscriptionsResponse.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, parseUnknownFieldfindInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<ListSubscriptionsResponse.Builder>public ListSubscriptionsResponse.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<ListSubscriptionsResponse.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<ListSubscriptionsResponse.Builder>public ListSubscriptionsResponse getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic ListSubscriptionsResponse build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic ListSubscriptionsResponse buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic ListSubscriptionsResponse.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<ListSubscriptionsResponse.Builder>public ListSubscriptionsResponse.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<ListSubscriptionsResponse.Builder>public ListSubscriptionsResponse.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<ListSubscriptionsResponse.Builder>public ListSubscriptionsResponse.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<ListSubscriptionsResponse.Builder>public ListSubscriptionsResponse.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<ListSubscriptionsResponse.Builder>public ListSubscriptionsResponse.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<ListSubscriptionsResponse.Builder>public ListSubscriptionsResponse.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<ListSubscriptionsResponse.Builder>public ListSubscriptionsResponse.Builder mergeFrom(ListSubscriptionsResponse other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<ListSubscriptionsResponse.Builder>public ListSubscriptionsResponse.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<ListSubscriptionsResponse.Builder>java.io.IOExceptionpublic java.util.List<Subscription> getSubscriptionsList()
The subscriptions that match the request.
repeated .google.pubsub.v1.Subscription subscriptions = 1;getSubscriptionsList in interface ListSubscriptionsResponseOrBuilderpublic int getSubscriptionsCount()
The subscriptions that match the request.
repeated .google.pubsub.v1.Subscription subscriptions = 1;getSubscriptionsCount in interface ListSubscriptionsResponseOrBuilderpublic Subscription getSubscriptions(int index)
The subscriptions that match the request.
repeated .google.pubsub.v1.Subscription subscriptions = 1;getSubscriptions in interface ListSubscriptionsResponseOrBuilderpublic ListSubscriptionsResponse.Builder setSubscriptions(int index, Subscription value)
The subscriptions that match the request.
repeated .google.pubsub.v1.Subscription subscriptions = 1;public ListSubscriptionsResponse.Builder setSubscriptions(int index, Subscription.Builder builderForValue)
The subscriptions that match the request.
repeated .google.pubsub.v1.Subscription subscriptions = 1;public ListSubscriptionsResponse.Builder addSubscriptions(Subscription value)
The subscriptions that match the request.
repeated .google.pubsub.v1.Subscription subscriptions = 1;public ListSubscriptionsResponse.Builder addSubscriptions(int index, Subscription value)
The subscriptions that match the request.
repeated .google.pubsub.v1.Subscription subscriptions = 1;public ListSubscriptionsResponse.Builder addSubscriptions(Subscription.Builder builderForValue)
The subscriptions that match the request.
repeated .google.pubsub.v1.Subscription subscriptions = 1;public ListSubscriptionsResponse.Builder addSubscriptions(int index, Subscription.Builder builderForValue)
The subscriptions that match the request.
repeated .google.pubsub.v1.Subscription subscriptions = 1;public ListSubscriptionsResponse.Builder addAllSubscriptions(java.lang.Iterable<? extends Subscription> values)
The subscriptions that match the request.
repeated .google.pubsub.v1.Subscription subscriptions = 1;public ListSubscriptionsResponse.Builder clearSubscriptions()
The subscriptions that match the request.
repeated .google.pubsub.v1.Subscription subscriptions = 1;public ListSubscriptionsResponse.Builder removeSubscriptions(int index)
The subscriptions that match the request.
repeated .google.pubsub.v1.Subscription subscriptions = 1;public Subscription.Builder getSubscriptionsBuilder(int index)
The subscriptions that match the request.
repeated .google.pubsub.v1.Subscription subscriptions = 1;public SubscriptionOrBuilder getSubscriptionsOrBuilder(int index)
The subscriptions that match the request.
repeated .google.pubsub.v1.Subscription subscriptions = 1;getSubscriptionsOrBuilder in interface ListSubscriptionsResponseOrBuilderpublic java.util.List<? extends SubscriptionOrBuilder> getSubscriptionsOrBuilderList()
The subscriptions that match the request.
repeated .google.pubsub.v1.Subscription subscriptions = 1;getSubscriptionsOrBuilderList in interface ListSubscriptionsResponseOrBuilderpublic Subscription.Builder addSubscriptionsBuilder()
The subscriptions that match the request.
repeated .google.pubsub.v1.Subscription subscriptions = 1;public Subscription.Builder addSubscriptionsBuilder(int index)
The subscriptions that match the request.
repeated .google.pubsub.v1.Subscription subscriptions = 1;public java.util.List<Subscription.Builder> getSubscriptionsBuilderList()
The subscriptions that match the request.
repeated .google.pubsub.v1.Subscription subscriptions = 1;public java.lang.String getNextPageToken()
If not empty, indicates that there may be more subscriptions that match the request; this value should be passed in a new `ListSubscriptionsRequest` to get more subscriptions.
optional string next_page_token = 2;getNextPageToken in interface ListSubscriptionsResponseOrBuilderpublic com.google.protobuf.ByteString getNextPageTokenBytes()
If not empty, indicates that there may be more subscriptions that match the request; this value should be passed in a new `ListSubscriptionsRequest` to get more subscriptions.
optional string next_page_token = 2;getNextPageTokenBytes in interface ListSubscriptionsResponseOrBuilderpublic ListSubscriptionsResponse.Builder setNextPageToken(java.lang.String value)
If not empty, indicates that there may be more subscriptions that match the request; this value should be passed in a new `ListSubscriptionsRequest` to get more subscriptions.
optional string next_page_token = 2;public ListSubscriptionsResponse.Builder clearNextPageToken()
If not empty, indicates that there may be more subscriptions that match the request; this value should be passed in a new `ListSubscriptionsRequest` to get more subscriptions.
optional string next_page_token = 2;public ListSubscriptionsResponse.Builder setNextPageTokenBytes(com.google.protobuf.ByteString value)
If not empty, indicates that there may be more subscriptions that match the request; this value should be passed in a new `ListSubscriptionsRequest` to get more subscriptions.
optional string next_page_token = 2;public final ListSubscriptionsResponse.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ListSubscriptionsResponse.Builder>public final ListSubscriptionsResponse.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ListSubscriptionsResponse.Builder>