Class ListTopicsResponse.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<ListTopicsResponse.Builder>
com.google.cloud.pubsublite.proto.ListTopicsResponse.Builder
- All Implemented Interfaces:
ListTopicsResponseOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- ListTopicsResponse
public static final class ListTopicsResponse.Builder
extends com.google.protobuf.GeneratedMessage.Builder<ListTopicsResponse.Builder>
implements ListTopicsResponseOrBuilder
Response for ListTopics.Protobuf type
google.cloud.pubsublite.v1.ListTopicsResponse-
Method Summary
Modifier and TypeMethodDescriptionaddAllTopics(Iterable<? extends Topic> values) The list of topic in the requested parent.The list of topic in the requested parent.addTopics(int index, Topic.Builder builderForValue) The list of topic in the requested parent.The list of topic in the requested parent.addTopics(Topic.Builder builderForValue) The list of topic in the requested parent.The list of topic in the requested parent.addTopicsBuilder(int index) The list of topic in the requested parent.build()clear()A token that can be sent as `page_token` to retrieve the next page of results.The list of topic in the requested parent.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorA token that can be sent as `page_token` to retrieve the next page of results.com.google.protobuf.ByteStringA token that can be sent as `page_token` to retrieve the next page of results.getTopics(int index) The list of topic in the requested parent.getTopicsBuilder(int index) The list of topic in the requested parent.The list of topic in the requested parent.intThe list of topic in the requested parent.The list of topic in the requested parent.getTopicsOrBuilder(int index) The list of topic in the requested parent.List<? extends TopicOrBuilder>The list of topic in the requested parent.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(ListTopicsResponse other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) removeTopics(int index) The list of topic in the requested parent.setNextPageToken(String value) A token that can be sent as `page_token` to retrieve the next page of results.setNextPageTokenBytes(com.google.protobuf.ByteString value) A token that can be sent as `page_token` to retrieve the next page of results.The list of topic in the requested parent.setTopics(int index, Topic.Builder builderForValue) The list of topic in the requested parent.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<ListTopicsResponse.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<ListTopicsResponse.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<ListTopicsResponse.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ListTopicsResponse.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<ListTopicsResponse.Builder>
-
mergeFrom
public ListTopicsResponse.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ListTopicsResponse.Builder>- Throws:
IOException
-
getTopicsList
The list of topic in the requested parent. The order of the topics is unspecified.
repeated .google.cloud.pubsublite.v1.Topic topics = 1;- Specified by:
getTopicsListin interfaceListTopicsResponseOrBuilder
-
getTopicsCount
public 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;- Specified by:
getTopicsCountin interfaceListTopicsResponseOrBuilder
-
getTopics
The list of topic in the requested parent. The order of the topics is unspecified.
repeated .google.cloud.pubsublite.v1.Topic topics = 1;- Specified by:
getTopicsin interfaceListTopicsResponseOrBuilder
-
setTopics
The list of topic in the requested parent. The order of the topics is unspecified.
repeated .google.cloud.pubsublite.v1.Topic topics = 1; -
setTopics
The list of topic in the requested parent. The order of the topics is unspecified.
repeated .google.cloud.pubsublite.v1.Topic topics = 1; -
addTopics
The list of topic in the requested parent. The order of the topics is unspecified.
repeated .google.cloud.pubsublite.v1.Topic topics = 1; -
addTopics
The list of topic in the requested parent. The order of the topics is unspecified.
repeated .google.cloud.pubsublite.v1.Topic topics = 1; -
addTopics
The list of topic in the requested parent. The order of the topics is unspecified.
repeated .google.cloud.pubsublite.v1.Topic topics = 1; -
addTopics
The list of topic in the requested parent. The order of the topics is unspecified.
repeated .google.cloud.pubsublite.v1.Topic topics = 1; -
addAllTopics
The list of topic in the requested parent. The order of the topics is unspecified.
repeated .google.cloud.pubsublite.v1.Topic topics = 1; -
clearTopics
The list of topic in the requested parent. The order of the topics is unspecified.
repeated .google.cloud.pubsublite.v1.Topic topics = 1; -
removeTopics
The list of topic in the requested parent. The order of the topics is unspecified.
repeated .google.cloud.pubsublite.v1.Topic topics = 1; -
getTopicsBuilder
The list of topic in the requested parent. The order of the topics is unspecified.
repeated .google.cloud.pubsublite.v1.Topic topics = 1; -
getTopicsOrBuilder
The list of topic in the requested parent. The order of the topics is unspecified.
repeated .google.cloud.pubsublite.v1.Topic topics = 1;- Specified by:
getTopicsOrBuilderin interfaceListTopicsResponseOrBuilder
-
getTopicsOrBuilderList
The list of topic in the requested parent. The order of the topics is unspecified.
repeated .google.cloud.pubsublite.v1.Topic topics = 1;- Specified by:
getTopicsOrBuilderListin interfaceListTopicsResponseOrBuilder
-
addTopicsBuilder
The list of topic in the requested parent. The order of the topics is unspecified.
repeated .google.cloud.pubsublite.v1.Topic topics = 1; -
addTopicsBuilder
The list of topic in the requested parent. The order of the topics is unspecified.
repeated .google.cloud.pubsublite.v1.Topic topics = 1; -
getTopicsBuilderList
The list of topic in the requested parent. The order of the topics is unspecified.
repeated .google.cloud.pubsublite.v1.Topic topics = 1; -
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;- Specified by:
getNextPageTokenin interfaceListTopicsResponseOrBuilder- Returns:
- The nextPageToken.
-
getNextPageTokenBytes
public 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;- Specified by:
getNextPageTokenBytesin interfaceListTopicsResponseOrBuilder- Returns:
- The bytes for nextPageToken.
-
setNextPageToken
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;- Parameters:
value- The nextPageToken to set.- Returns:
- This builder for chaining.
-
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;- Returns:
- This builder for chaining.
-
setNextPageTokenBytes
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;- Parameters:
value- The bytes for nextPageToken to set.- Returns:
- This builder for chaining.
-