public static final class ListTopicSubscriptionsResponse.Builder extends 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 |
addRepeatedField(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(ByteString value)
The names of the subscriptions that match the request.
|
ListTopicSubscriptionsResponse |
build() |
ListTopicSubscriptionsResponse |
buildPartial() |
ListTopicSubscriptionsResponse.Builder |
clear() |
ListTopicSubscriptionsResponse.Builder |
clearField(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(Descriptors.OneofDescriptor oneof) |
ListTopicSubscriptionsResponse.Builder |
clearSubscriptions()
The names of the subscriptions that match the request.
|
ListTopicSubscriptionsResponse.Builder |
clone() |
ListTopicSubscriptionsResponse |
getDefaultInstanceForType() |
static Descriptors.Descriptor |
getDescriptor() |
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.
|
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.
|
ByteString |
getSubscriptionsBytes(int index)
The names of the subscriptions that match the request.
|
int |
getSubscriptionsCount()
The names of the subscriptions that match the request.
|
ProtocolStringList |
getSubscriptionsList()
The names of the subscriptions that match the request.
|
protected GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
ListTopicSubscriptionsResponse.Builder |
mergeFrom(CodedInputStream input,
ExtensionRegistryLite extensionRegistry) |
ListTopicSubscriptionsResponse.Builder |
mergeFrom(ListTopicSubscriptionsResponse other) |
ListTopicSubscriptionsResponse.Builder |
mergeFrom(Message other) |
ListTopicSubscriptionsResponse.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields) |
ListTopicSubscriptionsResponse.Builder |
setField(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(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(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 |
setUnknownFields(UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
mergeFrom
public static final Descriptors.Descriptor getDescriptor()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class GeneratedMessageV3.Builder<ListTopicSubscriptionsResponse.Builder>
public ListTopicSubscriptionsResponse.Builder clear()
clear
in interface Message.Builder
clear
in interface MessageLite.Builder
clear
in class GeneratedMessageV3.Builder<ListTopicSubscriptionsResponse.Builder>
public Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface Message.Builder
getDescriptorForType
in interface MessageOrBuilder
getDescriptorForType
in class GeneratedMessageV3.Builder<ListTopicSubscriptionsResponse.Builder>
public ListTopicSubscriptionsResponse getDefaultInstanceForType()
getDefaultInstanceForType
in interface MessageLiteOrBuilder
getDefaultInstanceForType
in interface MessageOrBuilder
public ListTopicSubscriptionsResponse build()
build
in interface Message.Builder
build
in interface MessageLite.Builder
public ListTopicSubscriptionsResponse buildPartial()
buildPartial
in interface Message.Builder
buildPartial
in interface MessageLite.Builder
public ListTopicSubscriptionsResponse.Builder clone()
clone
in interface Message.Builder
clone
in interface MessageLite.Builder
clone
in class GeneratedMessageV3.Builder<ListTopicSubscriptionsResponse.Builder>
public ListTopicSubscriptionsResponse.Builder setField(Descriptors.FieldDescriptor field, java.lang.Object value)
setField
in interface Message.Builder
setField
in class GeneratedMessageV3.Builder<ListTopicSubscriptionsResponse.Builder>
public ListTopicSubscriptionsResponse.Builder clearField(Descriptors.FieldDescriptor field)
clearField
in interface Message.Builder
clearField
in class GeneratedMessageV3.Builder<ListTopicSubscriptionsResponse.Builder>
public ListTopicSubscriptionsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
clearOneof
in interface Message.Builder
clearOneof
in class GeneratedMessageV3.Builder<ListTopicSubscriptionsResponse.Builder>
public ListTopicSubscriptionsResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, java.lang.Object value)
setRepeatedField
in interface Message.Builder
setRepeatedField
in class GeneratedMessageV3.Builder<ListTopicSubscriptionsResponse.Builder>
public ListTopicSubscriptionsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, java.lang.Object value)
addRepeatedField
in interface Message.Builder
addRepeatedField
in class GeneratedMessageV3.Builder<ListTopicSubscriptionsResponse.Builder>
public ListTopicSubscriptionsResponse.Builder mergeFrom(Message other)
mergeFrom
in interface Message.Builder
mergeFrom
in class AbstractMessage.Builder<ListTopicSubscriptionsResponse.Builder>
public ListTopicSubscriptionsResponse.Builder mergeFrom(ListTopicSubscriptionsResponse other)
public final boolean isInitialized()
isInitialized
in interface MessageLiteOrBuilder
isInitialized
in class GeneratedMessageV3.Builder<ListTopicSubscriptionsResponse.Builder>
public ListTopicSubscriptionsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
mergeFrom
in interface Message.Builder
mergeFrom
in interface MessageLite.Builder
mergeFrom
in class AbstractMessage.Builder<ListTopicSubscriptionsResponse.Builder>
java.io.IOException
public ProtocolStringList getSubscriptionsList()
The names of the subscriptions that match the request.
repeated string subscriptions = 1;
getSubscriptionsList
in interface ListTopicSubscriptionsResponseOrBuilder
public int getSubscriptionsCount()
The names of the subscriptions that match the request.
repeated string subscriptions = 1;
getSubscriptionsCount
in interface ListTopicSubscriptionsResponseOrBuilder
public java.lang.String getSubscriptions(int index)
The names of the subscriptions that match the request.
repeated string subscriptions = 1;
getSubscriptions
in interface ListTopicSubscriptionsResponseOrBuilder
public ByteString getSubscriptionsBytes(int index)
The names of the subscriptions that match the request.
repeated string subscriptions = 1;
getSubscriptionsBytes
in interface ListTopicSubscriptionsResponseOrBuilder
public 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(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.
string next_page_token = 2;
getNextPageToken
in interface ListTopicSubscriptionsResponseOrBuilder
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;
getNextPageTokenBytes
in interface ListTopicSubscriptionsResponseOrBuilder
public 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.
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.
string next_page_token = 2;
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;
public final ListTopicSubscriptionsResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
setUnknownFields
in interface Message.Builder
setUnknownFields
in class GeneratedMessageV3.Builder<ListTopicSubscriptionsResponse.Builder>
public final ListTopicSubscriptionsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
mergeUnknownFields
in interface Message.Builder
mergeUnknownFields
in class GeneratedMessageV3.Builder<ListTopicSubscriptionsResponse.Builder>