public static final class ListTopicsResponse.Builder extends 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(java.lang.Iterable<? extends Topic> values)
The resulting topics.
|
ListTopicsResponse.Builder |
addRepeatedField(Descriptors.FieldDescriptor field,
java.lang.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(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(Descriptors.OneofDescriptor oneof) |
ListTopicsResponse.Builder |
clearTopics()
The resulting topics.
|
ListTopicsResponse.Builder |
clone() |
ListTopicsResponse |
getDefaultInstanceForType() |
static Descriptors.Descriptor |
getDescriptor() |
Descriptors.Descriptor |
getDescriptorForType() |
java.lang.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`.
|
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.
|
java.util.List<Topic.Builder> |
getTopicsBuilderList()
The resulting topics.
|
int |
getTopicsCount()
The resulting topics.
|
java.util.List<Topic> |
getTopicsList()
The resulting topics.
|
TopicOrBuilder |
getTopicsOrBuilder(int index)
The resulting topics.
|
java.util.List<? extends TopicOrBuilder> |
getTopicsOrBuilderList()
The resulting topics.
|
protected GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
ListTopicsResponse.Builder |
mergeFrom(CodedInputStream input,
ExtensionRegistryLite extensionRegistry) |
ListTopicsResponse.Builder |
mergeFrom(ListTopicsResponse other) |
ListTopicsResponse.Builder |
mergeFrom(Message other) |
ListTopicsResponse.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields) |
ListTopicsResponse.Builder |
removeTopics(int index)
The resulting topics.
|
ListTopicsResponse.Builder |
setField(Descriptors.FieldDescriptor field,
java.lang.Object value) |
ListTopicsResponse.Builder |
setNextPageToken(java.lang.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(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(Descriptors.FieldDescriptor field,
int index,
java.lang.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(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<ListTopicsResponse.Builder>
public ListTopicsResponse.Builder clear()
clear
in interface Message.Builder
clear
in interface MessageLite.Builder
clear
in class GeneratedMessageV3.Builder<ListTopicsResponse.Builder>
public Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface Message.Builder
getDescriptorForType
in interface MessageOrBuilder
getDescriptorForType
in class GeneratedMessageV3.Builder<ListTopicsResponse.Builder>
public ListTopicsResponse getDefaultInstanceForType()
getDefaultInstanceForType
in interface MessageLiteOrBuilder
getDefaultInstanceForType
in interface MessageOrBuilder
public ListTopicsResponse build()
build
in interface Message.Builder
build
in interface MessageLite.Builder
public ListTopicsResponse buildPartial()
buildPartial
in interface Message.Builder
buildPartial
in interface MessageLite.Builder
public ListTopicsResponse.Builder clone()
clone
in interface Message.Builder
clone
in interface MessageLite.Builder
clone
in class GeneratedMessageV3.Builder<ListTopicsResponse.Builder>
public ListTopicsResponse.Builder setField(Descriptors.FieldDescriptor field, java.lang.Object value)
setField
in interface Message.Builder
setField
in class GeneratedMessageV3.Builder<ListTopicsResponse.Builder>
public ListTopicsResponse.Builder clearField(Descriptors.FieldDescriptor field)
clearField
in interface Message.Builder
clearField
in class GeneratedMessageV3.Builder<ListTopicsResponse.Builder>
public ListTopicsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
clearOneof
in interface Message.Builder
clearOneof
in class GeneratedMessageV3.Builder<ListTopicsResponse.Builder>
public ListTopicsResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, java.lang.Object value)
setRepeatedField
in interface Message.Builder
setRepeatedField
in class GeneratedMessageV3.Builder<ListTopicsResponse.Builder>
public ListTopicsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, java.lang.Object value)
addRepeatedField
in interface Message.Builder
addRepeatedField
in class GeneratedMessageV3.Builder<ListTopicsResponse.Builder>
public ListTopicsResponse.Builder mergeFrom(Message other)
mergeFrom
in interface Message.Builder
mergeFrom
in class AbstractMessage.Builder<ListTopicsResponse.Builder>
public ListTopicsResponse.Builder mergeFrom(ListTopicsResponse other)
public final boolean isInitialized()
isInitialized
in interface MessageLiteOrBuilder
isInitialized
in class GeneratedMessageV3.Builder<ListTopicsResponse.Builder>
public ListTopicsResponse.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<ListTopicsResponse.Builder>
java.io.IOException
public java.util.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(java.lang.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 java.util.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 java.util.List<Topic.Builder> getTopicsBuilderList()
The resulting topics.
repeated .google.pubsub.v1.Topic topics = 1;
public java.lang.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 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(java.lang.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;
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(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;
public final ListTopicsResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
setUnknownFields
in interface Message.Builder
setUnknownFields
in class GeneratedMessageV3.Builder<ListTopicsResponse.Builder>
public final ListTopicsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
mergeUnknownFields
in interface Message.Builder
mergeUnknownFields
in class GeneratedMessageV3.Builder<ListTopicsResponse.Builder>