public static final class ListTopicSubscriptionsResponse.Builder extends GeneratedMessageV3.Builder<ListTopicSubscriptionsResponse.Builder> implements ListTopicSubscriptionsResponseOrBuilder Response for the ListTopicSubscriptions method.
 Protobuf type google.pubsub.v1.ListTopicSubscriptionsResponse
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > ListTopicSubscriptionsResponse.BuilderImplements
ListTopicSubscriptionsResponseOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Type | Description | 
| Descriptor | 
Methods
addAllSubscriptions(Iterable<String> values)
public ListTopicSubscriptionsResponse.Builder addAllSubscriptions(Iterable<String> values)The names of subscriptions attached to the topic specified in the request.
 repeated string subscriptions = 1 [(.google.api.resource_reference) = { ... }
| Name | Description | 
| values | Iterable<String>The subscriptions to add. | 
| Type | Description | 
| ListTopicSubscriptionsResponse.Builder | This builder for chaining. | 
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ListTopicSubscriptionsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)| Name | Description | 
| field | FieldDescriptor | 
| value | Object | 
| Type | Description | 
| ListTopicSubscriptionsResponse.Builder | 
addSubscriptions(String value)
public ListTopicSubscriptionsResponse.Builder addSubscriptions(String value)The names of subscriptions attached to the topic specified in the request.
 repeated string subscriptions = 1 [(.google.api.resource_reference) = { ... }
| Name | Description | 
| value | StringThe subscriptions to add. | 
| Type | Description | 
| ListTopicSubscriptionsResponse.Builder | This builder for chaining. | 
addSubscriptionsBytes(ByteString value)
public ListTopicSubscriptionsResponse.Builder addSubscriptionsBytes(ByteString value)The names of subscriptions attached to the topic specified in the request.
 repeated string subscriptions = 1 [(.google.api.resource_reference) = { ... }
| Name | Description | 
| value | ByteStringThe bytes of the subscriptions to add. | 
| Type | Description | 
| ListTopicSubscriptionsResponse.Builder | This builder for chaining. | 
build()
public ListTopicSubscriptionsResponse build()| Type | Description | 
| ListTopicSubscriptionsResponse | 
buildPartial()
public ListTopicSubscriptionsResponse buildPartial()| Type | Description | 
| ListTopicSubscriptionsResponse | 
clear()
public ListTopicSubscriptionsResponse.Builder clear()| Type | Description | 
| ListTopicSubscriptionsResponse.Builder | 
clearField(Descriptors.FieldDescriptor field)
public ListTopicSubscriptionsResponse.Builder clearField(Descriptors.FieldDescriptor field)| Name | Description | 
| field | FieldDescriptor | 
| Type | Description | 
| ListTopicSubscriptionsResponse.Builder | 
clearNextPageToken()
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.
 string next_page_token = 2;
| Type | Description | 
| ListTopicSubscriptionsResponse.Builder | This builder for chaining. | 
clearOneof(Descriptors.OneofDescriptor oneof)
public ListTopicSubscriptionsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)| Name | Description | 
| oneof | OneofDescriptor | 
| Type | Description | 
| ListTopicSubscriptionsResponse.Builder | 
clearSubscriptions()
public ListTopicSubscriptionsResponse.Builder clearSubscriptions()The names of subscriptions attached to the topic specified in the request.
 repeated string subscriptions = 1 [(.google.api.resource_reference) = { ... }
| Type | Description | 
| ListTopicSubscriptionsResponse.Builder | This builder for chaining. | 
clone()
public ListTopicSubscriptionsResponse.Builder clone()| Type | Description | 
| ListTopicSubscriptionsResponse.Builder | 
getDefaultInstanceForType()
public ListTopicSubscriptionsResponse getDefaultInstanceForType()| Type | Description | 
| ListTopicSubscriptionsResponse | 
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Type | Description | 
| Descriptor | 
getNextPageToken()
public 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.
 string next_page_token = 2;
| Type | Description | 
| String | The nextPageToken. | 
getNextPageTokenBytes()
public 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.
 string next_page_token = 2;
| Type | Description | 
| ByteString | The bytes for nextPageToken. | 
getSubscriptions(int index)
public String getSubscriptions(int index)The names of subscriptions attached to the topic specified in the request.
 repeated string subscriptions = 1 [(.google.api.resource_reference) = { ... }
| Name | Description | 
| index | intThe index of the element to return. | 
| Type | Description | 
| String | The subscriptions at the given index. | 
getSubscriptionsBytes(int index)
public ByteString getSubscriptionsBytes(int index)The names of subscriptions attached to the topic specified in the request.
 repeated string subscriptions = 1 [(.google.api.resource_reference) = { ... }
| Name | Description | 
| index | intThe index of the value to return. | 
| Type | Description | 
| ByteString | The bytes of the subscriptions at the given index. | 
getSubscriptionsCount()
public int getSubscriptionsCount()The names of subscriptions attached to the topic specified in the request.
 repeated string subscriptions = 1 [(.google.api.resource_reference) = { ... }
| Type | Description | 
| int | The count of subscriptions. | 
getSubscriptionsList()
public ProtocolStringList getSubscriptionsList()The names of subscriptions attached to the topic specified in the request.
 repeated string subscriptions = 1 [(.google.api.resource_reference) = { ... }
| Type | Description | 
| ProtocolStringList | A list containing the subscriptions. | 
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()| Type | Description | 
| FieldAccessorTable | 
isInitialized()
public final boolean isInitialized()| Type | Description | 
| boolean | 
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ListTopicSubscriptionsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Name | Description | 
| input | CodedInputStream | 
| extensionRegistry | ExtensionRegistryLite | 
| Type | Description | 
| ListTopicSubscriptionsResponse.Builder | 
| Type | Description | 
| IOException | 
mergeFrom(Message other)
public ListTopicSubscriptionsResponse.Builder mergeFrom(Message other)| Name | Description | 
| other | Message | 
| Type | Description | 
| ListTopicSubscriptionsResponse.Builder | 
mergeFrom(ListTopicSubscriptionsResponse other)
public ListTopicSubscriptionsResponse.Builder mergeFrom(ListTopicSubscriptionsResponse other)| Name | Description | 
| other | ListTopicSubscriptionsResponse | 
| Type | Description | 
| ListTopicSubscriptionsResponse.Builder | 
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ListTopicSubscriptionsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)| Name | Description | 
| unknownFields | UnknownFieldSet | 
| Type | Description | 
| ListTopicSubscriptionsResponse.Builder | 
setField(Descriptors.FieldDescriptor field, Object value)
public ListTopicSubscriptionsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)| Name | Description | 
| field | FieldDescriptor | 
| value | Object | 
| Type | Description | 
| ListTopicSubscriptionsResponse.Builder | 
setNextPageToken(String value)
public ListTopicSubscriptionsResponse.Builder setNextPageToken(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.
 string next_page_token = 2;
| Name | Description | 
| value | StringThe nextPageToken to set. | 
| Type | Description | 
| ListTopicSubscriptionsResponse.Builder | This builder for chaining. | 
setNextPageTokenBytes(ByteString value)
public ListTopicSubscriptionsResponse.Builder setNextPageTokenBytes(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.
 string next_page_token = 2;
| Name | Description | 
| value | ByteStringThe bytes for nextPageToken to set. | 
| Type | Description | 
| ListTopicSubscriptionsResponse.Builder | This builder for chaining. | 
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ListTopicSubscriptionsResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)| Name | Description | 
| field | FieldDescriptor | 
| index | int | 
| value | Object | 
| Type | Description | 
| ListTopicSubscriptionsResponse.Builder | 
setSubscriptions(int index, String value)
public ListTopicSubscriptionsResponse.Builder setSubscriptions(int index, String value)The names of subscriptions attached to the topic specified in the request.
 repeated string subscriptions = 1 [(.google.api.resource_reference) = { ... }
| Name | Description | 
| index | intThe index to set the value at. | 
| value | StringThe subscriptions to set. | 
| Type | Description | 
| ListTopicSubscriptionsResponse.Builder | This builder for chaining. | 
setUnknownFields(UnknownFieldSet unknownFields)
public final ListTopicSubscriptionsResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)| Name | Description | 
| unknownFields | UnknownFieldSet | 
| Type | Description | 
| ListTopicSubscriptionsResponse.Builder |