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(Iterable<String> values)
The names of subscriptions attached to the topic specified in the request.
|
ListTopicSubscriptionsResponse.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
ListTopicSubscriptionsResponse.Builder |
addSubscriptions(String value)
The names of subscriptions attached to the topic specified in the request.
|
ListTopicSubscriptionsResponse.Builder |
addSubscriptionsBytes(com.google.protobuf.ByteString value)
The names of subscriptions attached to the topic specified in the request.
|
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 subscriptions attached to the topic specified in the request.
|
ListTopicSubscriptionsResponse.Builder |
clone() |
ListTopicSubscriptionsResponse |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
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.
|
String |
getSubscriptions(int index)
The names of subscriptions attached to the topic specified in the request.
|
com.google.protobuf.ByteString |
getSubscriptionsBytes(int index)
The names of subscriptions attached to the topic specified in the request.
|
int |
getSubscriptionsCount()
The names of subscriptions attached to the topic specified in the request.
|
com.google.protobuf.ProtocolStringList |
getSubscriptionsList()
The names of subscriptions attached to the topic specified in the request.
|
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,
Object value) |
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.
|
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,
Object value) |
ListTopicSubscriptionsResponse.Builder |
setSubscriptions(int index,
String value)
The names of subscriptions attached to the topic specified in the request.
|
ListTopicSubscriptionsResponse.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, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
public 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.Builder
clear
in interface com.google.protobuf.MessageLite.Builder
clear
in class com.google.protobuf.GeneratedMessageV3.Builder<ListTopicSubscriptionsResponse.Builder>
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface com.google.protobuf.Message.Builder
getDescriptorForType
in interface com.google.protobuf.MessageOrBuilder
getDescriptorForType
in class com.google.protobuf.GeneratedMessageV3.Builder<ListTopicSubscriptionsResponse.Builder>
public ListTopicSubscriptionsResponse getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public ListTopicSubscriptionsResponse build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public ListTopicSubscriptionsResponse buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public ListTopicSubscriptionsResponse.Builder clone()
clone
in interface com.google.protobuf.Message.Builder
clone
in interface com.google.protobuf.MessageLite.Builder
clone
in class com.google.protobuf.GeneratedMessageV3.Builder<ListTopicSubscriptionsResponse.Builder>
public ListTopicSubscriptionsResponse.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField
in interface com.google.protobuf.Message.Builder
setField
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.Builder
clearField
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.Builder
clearOneof
in class com.google.protobuf.GeneratedMessageV3.Builder<ListTopicSubscriptionsResponse.Builder>
public ListTopicSubscriptionsResponse.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField
in interface com.google.protobuf.Message.Builder
setRepeatedField
in class com.google.protobuf.GeneratedMessageV3.Builder<ListTopicSubscriptionsResponse.Builder>
public ListTopicSubscriptionsResponse.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField
in interface com.google.protobuf.Message.Builder
addRepeatedField
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.Builder
mergeFrom
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.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessageV3.Builder<ListTopicSubscriptionsResponse.Builder>
public ListTopicSubscriptionsResponse.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in interface com.google.protobuf.MessageLite.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<ListTopicSubscriptionsResponse.Builder>
IOException
public com.google.protobuf.ProtocolStringList getSubscriptionsList()
The names of subscriptions attached to the topic specified in the request.
repeated string subscriptions = 1 [(.google.api.resource_reference) = { ... }
getSubscriptionsList
in interface ListTopicSubscriptionsResponseOrBuilder
public int getSubscriptionsCount()
The names of subscriptions attached to the topic specified in the request.
repeated string subscriptions = 1 [(.google.api.resource_reference) = { ... }
getSubscriptionsCount
in interface ListTopicSubscriptionsResponseOrBuilder
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) = { ... }
getSubscriptions
in interface ListTopicSubscriptionsResponseOrBuilder
index
- The index of the element to return.public com.google.protobuf.ByteString getSubscriptionsBytes(int index)
The names of subscriptions attached to the topic specified in the request.
repeated string subscriptions = 1 [(.google.api.resource_reference) = { ... }
getSubscriptionsBytes
in interface ListTopicSubscriptionsResponseOrBuilder
index
- The index of the value to return.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) = { ... }
index
- The index to set the value at.value
- The subscriptions to set.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) = { ... }
value
- The subscriptions to add.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) = { ... }
values
- The subscriptions to add.public ListTopicSubscriptionsResponse.Builder clearSubscriptions()
The names of subscriptions attached to the topic specified in the request.
repeated string subscriptions = 1 [(.google.api.resource_reference) = { ... }
public ListTopicSubscriptionsResponse.Builder addSubscriptionsBytes(com.google.protobuf.ByteString value)
The names of subscriptions attached to the topic specified in the request.
repeated string subscriptions = 1 [(.google.api.resource_reference) = { ... }
value
- The bytes of the subscriptions to add.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;
getNextPageToken
in interface ListTopicSubscriptionsResponseOrBuilder
public 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.
string next_page_token = 2;
getNextPageTokenBytes
in interface ListTopicSubscriptionsResponseOrBuilder
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;
value
- The nextPageToken to set.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(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.
string next_page_token = 2;
value
- The bytes for nextPageToken to set.public final ListTopicSubscriptionsResponse.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields
in interface com.google.protobuf.Message.Builder
setUnknownFields
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.Builder
mergeUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<ListTopicSubscriptionsResponse.Builder>
Copyright © 2023 Google LLC. All rights reserved.