public static final class ListTopicsResponse.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<ListTopicsResponse.Builder> implements ListTopicsResponseOrBuilder
Response for ListTopics.Protobuf type
google.cloud.pubsublite.v1.ListTopicsResponse| Modifier and Type | Method and Description |
|---|---|
ListTopicsResponse.Builder |
addAllTopics(Iterable<? extends Topic> values)
The list of topic in the requested parent.
|
ListTopicsResponse.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
ListTopicsResponse.Builder |
addTopics(int index,
Topic.Builder builderForValue)
The list of topic in the requested parent.
|
ListTopicsResponse.Builder |
addTopics(int index,
Topic value)
The list of topic in the requested parent.
|
ListTopicsResponse.Builder |
addTopics(Topic.Builder builderForValue)
The list of topic in the requested parent.
|
ListTopicsResponse.Builder |
addTopics(Topic value)
The list of topic in the requested parent.
|
Topic.Builder |
addTopicsBuilder()
The list of topic in the requested parent.
|
Topic.Builder |
addTopicsBuilder(int index)
The list of topic in the requested parent.
|
ListTopicsResponse |
build() |
ListTopicsResponse |
buildPartial() |
ListTopicsResponse.Builder |
clear() |
ListTopicsResponse.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
ListTopicsResponse.Builder |
clearNextPageToken()
A token that can be sent as `page_token` to retrieve the next page of
results.
|
ListTopicsResponse.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
ListTopicsResponse.Builder |
clearTopics()
The list of topic in the requested parent.
|
ListTopicsResponse.Builder |
clone() |
ListTopicsResponse |
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.
|
Topic |
getTopics(int index)
The list of topic in the requested parent.
|
Topic.Builder |
getTopicsBuilder(int index)
The list of topic in the requested parent.
|
List<Topic.Builder> |
getTopicsBuilderList()
The list of topic in the requested parent.
|
int |
getTopicsCount()
The list of topic in the requested parent.
|
List<Topic> |
getTopicsList()
The list of topic in the requested parent.
|
TopicOrBuilder |
getTopicsOrBuilder(int index)
The list of topic in the requested parent.
|
List<? extends TopicOrBuilder> |
getTopicsOrBuilderList()
The list of topic in the requested parent.
|
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 list of topic in the requested parent.
|
ListTopicsResponse.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
ListTopicsResponse.Builder |
setNextPageToken(String value)
A token that can be sent as `page_token` to retrieve the next page of
results.
|
ListTopicsResponse.Builder |
setNextPageTokenBytes(com.google.protobuf.ByteString value)
A token that can be sent as `page_token` to retrieve the next page of
results.
|
ListTopicsResponse.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
ListTopicsResponse.Builder |
setTopics(int index,
Topic.Builder builderForValue)
The list of topic in the requested parent.
|
ListTopicsResponse.Builder |
setTopics(int index,
Topic value)
The list of topic in the requested parent.
|
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, 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<ListTopicsResponse.Builder>public ListTopicsResponse.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<ListTopicsResponse.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<ListTopicsResponse.Builder>public ListTopicsResponse getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic ListTopicsResponse build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic ListTopicsResponse buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic ListTopicsResponse.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone 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.BuildersetField 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.BuilderclearField 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.BuilderclearOneof 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.BuildersetRepeatedField 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.BuilderaddRepeatedField 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.BuildermergeFrom 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.MessageLiteOrBuilderisInitialized 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.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<ListTopicsResponse.Builder>IOExceptionpublic List<Topic> getTopicsList()
The list of topic in the requested parent. The order of the topics is unspecified.
repeated .google.cloud.pubsublite.v1.Topic topics = 1;getTopicsList in interface ListTopicsResponseOrBuilderpublic int getTopicsCount()
The list of topic in the requested parent. The order of the topics is unspecified.
repeated .google.cloud.pubsublite.v1.Topic topics = 1;getTopicsCount in interface ListTopicsResponseOrBuilderpublic Topic getTopics(int index)
The list of topic in the requested parent. The order of the topics is unspecified.
repeated .google.cloud.pubsublite.v1.Topic topics = 1;getTopics in interface ListTopicsResponseOrBuilderpublic ListTopicsResponse.Builder setTopics(int index, Topic value)
The list of topic in the requested parent. The order of the topics is unspecified.
repeated .google.cloud.pubsublite.v1.Topic topics = 1;public ListTopicsResponse.Builder setTopics(int index, Topic.Builder builderForValue)
The list of topic in the requested parent. The order of the topics is unspecified.
repeated .google.cloud.pubsublite.v1.Topic topics = 1;public ListTopicsResponse.Builder addTopics(Topic value)
The list of topic in the requested parent. The order of the topics is unspecified.
repeated .google.cloud.pubsublite.v1.Topic topics = 1;public ListTopicsResponse.Builder addTopics(int index, Topic value)
The list of topic in the requested parent. The order of the topics is unspecified.
repeated .google.cloud.pubsublite.v1.Topic topics = 1;public ListTopicsResponse.Builder addTopics(Topic.Builder builderForValue)
The list of topic in the requested parent. The order of the topics is unspecified.
repeated .google.cloud.pubsublite.v1.Topic topics = 1;public ListTopicsResponse.Builder addTopics(int index, Topic.Builder builderForValue)
The list of topic in the requested parent. The order of the topics is unspecified.
repeated .google.cloud.pubsublite.v1.Topic topics = 1;public ListTopicsResponse.Builder addAllTopics(Iterable<? extends Topic> values)
The list of topic in the requested parent. The order of the topics is unspecified.
repeated .google.cloud.pubsublite.v1.Topic topics = 1;public ListTopicsResponse.Builder clearTopics()
The list of topic in the requested parent. The order of the topics is unspecified.
repeated .google.cloud.pubsublite.v1.Topic topics = 1;public ListTopicsResponse.Builder removeTopics(int index)
The list of topic in the requested parent. The order of the topics is unspecified.
repeated .google.cloud.pubsublite.v1.Topic topics = 1;public Topic.Builder getTopicsBuilder(int index)
The list of topic in the requested parent. The order of the topics is unspecified.
repeated .google.cloud.pubsublite.v1.Topic topics = 1;public TopicOrBuilder getTopicsOrBuilder(int index)
The list of topic in the requested parent. The order of the topics is unspecified.
repeated .google.cloud.pubsublite.v1.Topic topics = 1;getTopicsOrBuilder in interface ListTopicsResponseOrBuilderpublic List<? extends TopicOrBuilder> getTopicsOrBuilderList()
The list of topic in the requested parent. The order of the topics is unspecified.
repeated .google.cloud.pubsublite.v1.Topic topics = 1;getTopicsOrBuilderList in interface ListTopicsResponseOrBuilderpublic Topic.Builder addTopicsBuilder()
The list of topic in the requested parent. The order of the topics is unspecified.
repeated .google.cloud.pubsublite.v1.Topic topics = 1;public Topic.Builder addTopicsBuilder(int index)
The list of topic in the requested parent. The order of the topics is unspecified.
repeated .google.cloud.pubsublite.v1.Topic topics = 1;public List<Topic.Builder> getTopicsBuilderList()
The list of topic in the requested parent. The order of the topics is unspecified.
repeated .google.cloud.pubsublite.v1.Topic topics = 1;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 ListTopicsResponseOrBuilderpublic 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 ListTopicsResponseOrBuilderpublic ListTopicsResponse.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 ListTopicsResponse.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 ListTopicsResponse.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 ListTopicsResponse.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields 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.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ListTopicsResponse.Builder>Copyright © 2023 Google LLC. All rights reserved.