Class ListTopicsResponse.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.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.GeneratedMessageV3.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.addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) 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()clearField(com.google.protobuf.Descriptors.FieldDescriptor field) A token that can be sent as `page_token` to retrieve the next page of results.clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) The list of topic in the requested parent.clone()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.GeneratedMessageV3.FieldAccessorTablefinal booleanmergeFrom(ListTopicsResponse other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) 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.setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) The list of topic in the requested parent.setTopics(int index, Topic.Builder builderForValue) The list of topic in the requested parent.setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, 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.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.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.GeneratedMessageV3.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.GeneratedMessageV3.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
-
clone
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<ListTopicsResponse.Builder>
-
setField
public ListTopicsResponse.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ListTopicsResponse.Builder>
-
clearField
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ListTopicsResponse.Builder>
-
clearOneof
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<ListTopicsResponse.Builder>
-
setRepeatedField
public ListTopicsResponse.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) - Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ListTopicsResponse.Builder>
-
addRepeatedField
public ListTopicsResponse.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ListTopicsResponse.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.GeneratedMessageV3.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.
-
setUnknownFields
public final ListTopicsResponse.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<ListTopicsResponse.Builder>
-
mergeUnknownFields
public final ListTopicsResponse.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<ListTopicsResponse.Builder>
-