public static final class ListTopicSubscriptionsResponse.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<ListTopicSubscriptionsResponse.Builder> implements ListTopicSubscriptionsResponseOrBuilder
Response for ListTopicSubscriptions.Protobuf type
google.cloud.pubsublite.v1.ListTopicSubscriptionsResponse| Modifier and Type | Method and Description |
|---|---|
ListTopicSubscriptionsResponse.Builder |
addAllSubscriptions(Iterable<String> values)
The names of subscriptions attached to the topic.
|
ListTopicSubscriptionsResponse.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
ListTopicSubscriptionsResponse.Builder |
addSubscriptions(String value)
The names of subscriptions attached to the topic.
|
ListTopicSubscriptionsResponse.Builder |
addSubscriptionsBytes(com.google.protobuf.ByteString value)
The names of subscriptions attached to the topic.
|
ListTopicSubscriptionsResponse |
build() |
ListTopicSubscriptionsResponse |
buildPartial() |
ListTopicSubscriptionsResponse.Builder |
clear() |
ListTopicSubscriptionsResponse.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
ListTopicSubscriptionsResponse.Builder |
clearNextPageToken()
A token that can be sent as `page_token` to retrieve the next page of
results.
|
ListTopicSubscriptionsResponse.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
ListTopicSubscriptionsResponse.Builder |
clearSubscriptions()
The names of subscriptions attached to the topic.
|
ListTopicSubscriptionsResponse.Builder |
clone() |
ListTopicSubscriptionsResponse |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
String |
getNextPageToken()
A token that can be sent as `page_token` to retrieve the next page of
results.
|
com.google.protobuf.ByteString |
getNextPageTokenBytes()
A token that can be sent as `page_token` to retrieve the next page of
results.
|
String |
getSubscriptions(int index)
The names of subscriptions attached to the topic.
|
com.google.protobuf.ByteString |
getSubscriptionsBytes(int index)
The names of subscriptions attached to the topic.
|
int |
getSubscriptionsCount()
The names of subscriptions attached to the topic.
|
com.google.protobuf.ProtocolStringList |
getSubscriptionsList()
The names of subscriptions attached to the topic.
|
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)
A token that can be sent as `page_token` to retrieve the next page of
results.
|
ListTopicSubscriptionsResponse.Builder |
setNextPageTokenBytes(com.google.protobuf.ByteString value)
A token that can be sent as `page_token` to retrieve the next page of
results.
|
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.
|
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, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitfindInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofpublic 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, 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, 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, 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 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>IOExceptionpublic com.google.protobuf.ProtocolStringList getSubscriptionsList()
The names of subscriptions attached to the topic. The order of the subscriptions is unspecified.
repeated string subscriptions = 1;getSubscriptionsList in interface ListTopicSubscriptionsResponseOrBuilderpublic int getSubscriptionsCount()
The names of subscriptions attached to the topic. The order of the subscriptions is unspecified.
repeated string subscriptions = 1;getSubscriptionsCount in interface ListTopicSubscriptionsResponseOrBuilderpublic String getSubscriptions(int index)
The names of subscriptions attached to the topic. The order of the subscriptions is unspecified.
repeated string subscriptions = 1;getSubscriptions in interface ListTopicSubscriptionsResponseOrBuilderindex - The index of the element to return.public com.google.protobuf.ByteString getSubscriptionsBytes(int index)
The names of subscriptions attached to the topic. The order of the subscriptions is unspecified.
repeated string subscriptions = 1;getSubscriptionsBytes in interface ListTopicSubscriptionsResponseOrBuilderindex - The index of the value to return.public ListTopicSubscriptionsResponse.Builder setSubscriptions(int index, String value)
The names of subscriptions attached to the topic. The order of the subscriptions is unspecified.
repeated string subscriptions = 1;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. The order of the subscriptions is unspecified.
repeated string subscriptions = 1;value - The subscriptions to add.public ListTopicSubscriptionsResponse.Builder addAllSubscriptions(Iterable<String> values)
The names of subscriptions attached to the topic. The order of the subscriptions is unspecified.
repeated string subscriptions = 1;values - The subscriptions to add.public ListTopicSubscriptionsResponse.Builder clearSubscriptions()
The names of subscriptions attached to the topic. The order of the subscriptions is unspecified.
repeated string subscriptions = 1;public ListTopicSubscriptionsResponse.Builder addSubscriptionsBytes(com.google.protobuf.ByteString value)
The names of subscriptions attached to the topic. The order of the subscriptions is unspecified.
repeated string subscriptions = 1;value - The bytes of the subscriptions to add.public String getNextPageToken()
A token that can be sent as `page_token` to retrieve the next page of results. If this field is omitted, there are no more results.
string next_page_token = 2;getNextPageToken in interface ListTopicSubscriptionsResponseOrBuilderpublic com.google.protobuf.ByteString getNextPageTokenBytes()
A token that can be sent as `page_token` to retrieve the next page of results. If this field is omitted, there are no more results.
string next_page_token = 2;getNextPageTokenBytes in interface ListTopicSubscriptionsResponseOrBuilderpublic ListTopicSubscriptionsResponse.Builder setNextPageToken(String value)
A token that can be sent as `page_token` to retrieve the next page of results. If this field is omitted, there are no more results.
string next_page_token = 2;value - The nextPageToken to set.public ListTopicSubscriptionsResponse.Builder clearNextPageToken()
A token that can be sent as `page_token` to retrieve the next page of results. If this field is omitted, there are no more results.
string next_page_token = 2;public ListTopicSubscriptionsResponse.Builder setNextPageTokenBytes(com.google.protobuf.ByteString value)
A token that can be sent as `page_token` to retrieve the next page of results. If this field is omitted, there are no more results.
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.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>Copyright © 2023 Google LLC. All rights reserved.