public static final class ListTopicSubscriptionsResponse.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<ListTopicSubscriptionsResponse.Builder> implements ListTopicSubscriptionsResponseOrBuilder
Response for the `ListTopicSubscriptions` method.Protobuf type
google.pubsub.v1.ListTopicSubscriptionsResponse| Modifier and Type | Method and Description |
|---|---|
ListTopicSubscriptionsResponse.Builder |
addAllSubscriptions(java.lang.Iterable<java.lang.String> values)
The names of the subscriptions that match the request.
|
ListTopicSubscriptionsResponse.Builder |
addAllSubscriptionsWithSubscriptionNameList(java.lang.Iterable<SubscriptionName> values) |
ListTopicSubscriptionsResponse.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) |
ListTopicSubscriptionsResponse.Builder |
addSubscriptions(java.lang.String value)
The names of the subscriptions that match the request.
|
ListTopicSubscriptionsResponse.Builder |
addSubscriptionsBytes(com.google.protobuf.ByteString value)
The names of the subscriptions that match the request.
|
ListTopicSubscriptionsResponse.Builder |
addSubscriptionsWithSubscriptionName(SubscriptionName value) |
ListTopicSubscriptionsResponse |
build() |
ListTopicSubscriptionsResponse |
buildPartial() |
ListTopicSubscriptionsResponse.Builder |
clear() |
ListTopicSubscriptionsResponse.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
ListTopicSubscriptionsResponse.Builder |
clearNextPageToken()
If not empty, indicates that there may be more subscriptions that match
the request; this value should be passed in a new
`ListTopicSubscriptionsRequest` to get more subscriptions.
|
ListTopicSubscriptionsResponse.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
ListTopicSubscriptionsResponse.Builder |
clearSubscriptions()
The names of the subscriptions that match the request.
|
ListTopicSubscriptionsResponse.Builder |
clone() |
ListTopicSubscriptionsResponse |
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
`ListTopicSubscriptionsRequest` 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
`ListTopicSubscriptionsRequest` to get more subscriptions.
|
java.lang.String |
getSubscriptions(int index)
The names of the subscriptions that match the request.
|
SubscriptionName |
getSubscriptionsAsSubscriptionName(int index) |
com.google.protobuf.ByteString |
getSubscriptionsBytes(int index)
The names of the subscriptions that match the request.
|
int |
getSubscriptionsCount()
The names of the subscriptions that match the request.
|
com.google.protobuf.ProtocolStringList |
getSubscriptionsList()
The names of the subscriptions that match the request.
|
java.util.List<SubscriptionName> |
getSubscriptionsListAsSubscriptionNameList() |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
ListTopicSubscriptionsResponse.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
ListTopicSubscriptionsResponse.Builder |
mergeFrom(ListTopicSubscriptionsResponse other) |
ListTopicSubscriptionsResponse.Builder |
mergeFrom(com.google.protobuf.Message other) |
ListTopicSubscriptionsResponse.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
ListTopicSubscriptionsResponse.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) |
ListTopicSubscriptionsResponse.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
`ListTopicSubscriptionsRequest` to get more subscriptions.
|
ListTopicSubscriptionsResponse.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
`ListTopicSubscriptionsRequest` to get more subscriptions.
|
ListTopicSubscriptionsResponse.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
java.lang.Object value) |
ListTopicSubscriptionsResponse.Builder |
setSubscriptions(int index,
java.lang.String value)
The names of the subscriptions that match the request.
|
ListTopicSubscriptionsResponse.Builder |
setSubscriptionsWithSubscriptionName(int index,
SubscriptionName value) |
ListTopicSubscriptionsResponse.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<ListTopicSubscriptionsResponse.Builder>public ListTopicSubscriptionsResponse.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<ListTopicSubscriptionsResponse.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<ListTopicSubscriptionsResponse.Builder>public ListTopicSubscriptionsResponse getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic ListTopicSubscriptionsResponse build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic ListTopicSubscriptionsResponse buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic ListTopicSubscriptionsResponse.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<ListTopicSubscriptionsResponse.Builder>public ListTopicSubscriptionsResponse.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<ListTopicSubscriptionsResponse.Builder>public ListTopicSubscriptionsResponse.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<ListTopicSubscriptionsResponse.Builder>public ListTopicSubscriptionsResponse.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<ListTopicSubscriptionsResponse.Builder>public ListTopicSubscriptionsResponse.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<ListTopicSubscriptionsResponse.Builder>public ListTopicSubscriptionsResponse.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<ListTopicSubscriptionsResponse.Builder>public ListTopicSubscriptionsResponse.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<ListTopicSubscriptionsResponse.Builder>public ListTopicSubscriptionsResponse.Builder mergeFrom(ListTopicSubscriptionsResponse other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<ListTopicSubscriptionsResponse.Builder>public ListTopicSubscriptionsResponse.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<ListTopicSubscriptionsResponse.Builder>java.io.IOExceptionpublic com.google.protobuf.ProtocolStringList getSubscriptionsList()
The names of the subscriptions that match the request.
repeated string subscriptions = 1;getSubscriptionsList in interface ListTopicSubscriptionsResponseOrBuilderpublic int getSubscriptionsCount()
The names of the subscriptions that match the request.
repeated string subscriptions = 1;getSubscriptionsCount in interface ListTopicSubscriptionsResponseOrBuilderpublic java.lang.String getSubscriptions(int index)
The names of the subscriptions that match the request.
repeated string subscriptions = 1;getSubscriptions in interface ListTopicSubscriptionsResponseOrBuilderpublic com.google.protobuf.ByteString getSubscriptionsBytes(int index)
The names of the subscriptions that match the request.
repeated string subscriptions = 1;getSubscriptionsBytes in interface ListTopicSubscriptionsResponseOrBuilderpublic ListTopicSubscriptionsResponse.Builder setSubscriptions(int index, java.lang.String value)
The names of the subscriptions that match the request.
repeated string subscriptions = 1;public ListTopicSubscriptionsResponse.Builder addSubscriptions(java.lang.String value)
The names of the subscriptions that match the request.
repeated string subscriptions = 1;public ListTopicSubscriptionsResponse.Builder addAllSubscriptions(java.lang.Iterable<java.lang.String> values)
The names of the subscriptions that match the request.
repeated string subscriptions = 1;public ListTopicSubscriptionsResponse.Builder clearSubscriptions()
The names of the subscriptions that match the request.
repeated string subscriptions = 1;public ListTopicSubscriptionsResponse.Builder addSubscriptionsBytes(com.google.protobuf.ByteString value)
The names of the subscriptions that match the request.
repeated string 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 `ListTopicSubscriptionsRequest` to get more subscriptions.
optional string next_page_token = 2;getNextPageToken in interface ListTopicSubscriptionsResponseOrBuilderpublic 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 `ListTopicSubscriptionsRequest` to get more subscriptions.
optional string next_page_token = 2;getNextPageTokenBytes in interface ListTopicSubscriptionsResponseOrBuilderpublic ListTopicSubscriptionsResponse.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 `ListTopicSubscriptionsRequest` to get more subscriptions.
optional string next_page_token = 2;public ListTopicSubscriptionsResponse.Builder clearNextPageToken()
If not empty, indicates that there may be more subscriptions that match the request; this value should be passed in a new `ListTopicSubscriptionsRequest` to get more subscriptions.
optional string next_page_token = 2;public ListTopicSubscriptionsResponse.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 `ListTopicSubscriptionsRequest` to get more subscriptions.
optional string next_page_token = 2;public final ListTopicSubscriptionsResponse.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ListTopicSubscriptionsResponse.Builder>public final ListTopicSubscriptionsResponse.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ListTopicSubscriptionsResponse.Builder>public ListTopicSubscriptionsResponse.Builder setSubscriptionsWithSubscriptionName(int index, SubscriptionName value)
public ListTopicSubscriptionsResponse.Builder addSubscriptionsWithSubscriptionName(SubscriptionName value)
public ListTopicSubscriptionsResponse.Builder addAllSubscriptionsWithSubscriptionNameList(java.lang.Iterable<SubscriptionName> values)
public SubscriptionName getSubscriptionsAsSubscriptionName(int index)
public java.util.List<SubscriptionName> getSubscriptionsListAsSubscriptionNameList()