public static final class ListTopicsResponse.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<ListTopicsResponse.Builder> implements ListTopicsResponseOrBuilder
Response for the `ListTopics` method.Protobuf type
google.pubsub.v1.ListTopicsResponse
Modifier and Type | Method and Description |
---|---|
ListTopicsResponse.Builder |
addAllTopics(Iterable<? extends Topic> values)
The resulting topics.
|
ListTopicsResponse.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
ListTopicsResponse.Builder |
addTopics(int index,
Topic.Builder builderForValue)
The resulting topics.
|
ListTopicsResponse.Builder |
addTopics(int index,
Topic value)
The resulting topics.
|
ListTopicsResponse.Builder |
addTopics(Topic.Builder builderForValue)
The resulting topics.
|
ListTopicsResponse.Builder |
addTopics(Topic value)
The resulting topics.
|
Topic.Builder |
addTopicsBuilder()
The resulting topics.
|
Topic.Builder |
addTopicsBuilder(int index)
The resulting topics.
|
ListTopicsResponse |
build() |
ListTopicsResponse |
buildPartial() |
ListTopicsResponse.Builder |
clear() |
ListTopicsResponse.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
ListTopicsResponse.Builder |
clearNextPageToken()
If not empty, indicates that there may be more topics that match the
request; this value should be passed in a new `ListTopicsRequest`.
|
ListTopicsResponse.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
ListTopicsResponse.Builder |
clearTopics()
The resulting topics.
|
ListTopicsResponse.Builder |
clone() |
ListTopicsResponse |
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 topics that match the
request; this value should be passed in a new `ListTopicsRequest`.
|
com.google.protobuf.ByteString |
getNextPageTokenBytes()
If not empty, indicates that there may be more topics that match the
request; this value should be passed in a new `ListTopicsRequest`.
|
Topic |
getTopics(int index)
The resulting topics.
|
Topic.Builder |
getTopicsBuilder(int index)
The resulting topics.
|
List<Topic.Builder> |
getTopicsBuilderList()
The resulting topics.
|
int |
getTopicsCount()
The resulting topics.
|
List<Topic> |
getTopicsList()
The resulting topics.
|
TopicOrBuilder |
getTopicsOrBuilder(int index)
The resulting topics.
|
List<? extends TopicOrBuilder> |
getTopicsOrBuilderList()
The resulting topics.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
ListTopicsResponse.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
ListTopicsResponse.Builder |
mergeFrom(ListTopicsResponse other) |
ListTopicsResponse.Builder |
mergeFrom(com.google.protobuf.Message other) |
ListTopicsResponse.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
ListTopicsResponse.Builder |
removeTopics(int index)
The resulting topics.
|
ListTopicsResponse.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
ListTopicsResponse.Builder |
setNextPageToken(String value)
If not empty, indicates that there may be more topics that match the
request; this value should be passed in a new `ListTopicsRequest`.
|
ListTopicsResponse.Builder |
setNextPageTokenBytes(com.google.protobuf.ByteString value)
If not empty, indicates that there may be more topics that match the
request; this value should be passed in a new `ListTopicsRequest`.
|
ListTopicsResponse.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
ListTopicsResponse.Builder |
setTopics(int index,
Topic.Builder builderForValue)
The resulting topics.
|
ListTopicsResponse.Builder |
setTopics(int index,
Topic value)
The resulting topics.
|
ListTopicsResponse.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<ListTopicsResponse.Builder>
public ListTopicsResponse.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<ListTopicsResponse.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<ListTopicsResponse.Builder>
public ListTopicsResponse getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public ListTopicsResponse build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public ListTopicsResponse buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public ListTopicsResponse.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<ListTopicsResponse.Builder>
public ListTopicsResponse.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<ListTopicsResponse.Builder>
public ListTopicsResponse.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField
in interface com.google.protobuf.Message.Builder
clearField
in class com.google.protobuf.GeneratedMessageV3.Builder<ListTopicsResponse.Builder>
public ListTopicsResponse.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof
in interface com.google.protobuf.Message.Builder
clearOneof
in class com.google.protobuf.GeneratedMessageV3.Builder<ListTopicsResponse.Builder>
public ListTopicsResponse.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<ListTopicsResponse.Builder>
public ListTopicsResponse.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<ListTopicsResponse.Builder>
public ListTopicsResponse.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<ListTopicsResponse.Builder>
public ListTopicsResponse.Builder mergeFrom(ListTopicsResponse other)
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessageV3.Builder<ListTopicsResponse.Builder>
public ListTopicsResponse.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<ListTopicsResponse.Builder>
IOException
public List<Topic> getTopicsList()
The resulting topics.
repeated .google.pubsub.v1.Topic topics = 1;
getTopicsList
in interface ListTopicsResponseOrBuilder
public int getTopicsCount()
The resulting topics.
repeated .google.pubsub.v1.Topic topics = 1;
getTopicsCount
in interface ListTopicsResponseOrBuilder
public Topic getTopics(int index)
The resulting topics.
repeated .google.pubsub.v1.Topic topics = 1;
getTopics
in interface ListTopicsResponseOrBuilder
public ListTopicsResponse.Builder setTopics(int index, Topic value)
The resulting topics.
repeated .google.pubsub.v1.Topic topics = 1;
public ListTopicsResponse.Builder setTopics(int index, Topic.Builder builderForValue)
The resulting topics.
repeated .google.pubsub.v1.Topic topics = 1;
public ListTopicsResponse.Builder addTopics(Topic value)
The resulting topics.
repeated .google.pubsub.v1.Topic topics = 1;
public ListTopicsResponse.Builder addTopics(int index, Topic value)
The resulting topics.
repeated .google.pubsub.v1.Topic topics = 1;
public ListTopicsResponse.Builder addTopics(Topic.Builder builderForValue)
The resulting topics.
repeated .google.pubsub.v1.Topic topics = 1;
public ListTopicsResponse.Builder addTopics(int index, Topic.Builder builderForValue)
The resulting topics.
repeated .google.pubsub.v1.Topic topics = 1;
public ListTopicsResponse.Builder addAllTopics(Iterable<? extends Topic> values)
The resulting topics.
repeated .google.pubsub.v1.Topic topics = 1;
public ListTopicsResponse.Builder clearTopics()
The resulting topics.
repeated .google.pubsub.v1.Topic topics = 1;
public ListTopicsResponse.Builder removeTopics(int index)
The resulting topics.
repeated .google.pubsub.v1.Topic topics = 1;
public Topic.Builder getTopicsBuilder(int index)
The resulting topics.
repeated .google.pubsub.v1.Topic topics = 1;
public TopicOrBuilder getTopicsOrBuilder(int index)
The resulting topics.
repeated .google.pubsub.v1.Topic topics = 1;
getTopicsOrBuilder
in interface ListTopicsResponseOrBuilder
public List<? extends TopicOrBuilder> getTopicsOrBuilderList()
The resulting topics.
repeated .google.pubsub.v1.Topic topics = 1;
getTopicsOrBuilderList
in interface ListTopicsResponseOrBuilder
public Topic.Builder addTopicsBuilder()
The resulting topics.
repeated .google.pubsub.v1.Topic topics = 1;
public Topic.Builder addTopicsBuilder(int index)
The resulting topics.
repeated .google.pubsub.v1.Topic topics = 1;
public List<Topic.Builder> getTopicsBuilderList()
The resulting topics.
repeated .google.pubsub.v1.Topic topics = 1;
public String getNextPageToken()
If not empty, indicates that there may be more topics that match the request; this value should be passed in a new `ListTopicsRequest`.
string next_page_token = 2;
getNextPageToken
in interface ListTopicsResponseOrBuilder
public com.google.protobuf.ByteString getNextPageTokenBytes()
If not empty, indicates that there may be more topics that match the request; this value should be passed in a new `ListTopicsRequest`.
string next_page_token = 2;
getNextPageTokenBytes
in interface ListTopicsResponseOrBuilder
public ListTopicsResponse.Builder setNextPageToken(String value)
If not empty, indicates that there may be more topics that match the request; this value should be passed in a new `ListTopicsRequest`.
string next_page_token = 2;
value
- The nextPageToken to set.public ListTopicsResponse.Builder clearNextPageToken()
If not empty, indicates that there may be more topics that match the request; this value should be passed in a new `ListTopicsRequest`.
string next_page_token = 2;
public ListTopicsResponse.Builder setNextPageTokenBytes(com.google.protobuf.ByteString value)
If not empty, indicates that there may be more topics that match the request; this value should be passed in a new `ListTopicsRequest`.
string next_page_token = 2;
value
- The bytes for nextPageToken to set.public final ListTopicsResponse.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields
in interface com.google.protobuf.Message.Builder
setUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<ListTopicsResponse.Builder>
public final ListTopicsResponse.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields
in interface com.google.protobuf.Message.Builder
mergeUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<ListTopicsResponse.Builder>
Copyright © 2023 Google LLC. All rights reserved.