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 typegoogle.cloud.pubsublite.v1.ListTopicsResponse
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ListTopicsResponse.BuilderaddAllTopics(Iterable<? extends Topic> values)The list of topic in the requested parent.ListTopicsResponse.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)ListTopicsResponse.BuilderaddTopics(int index, Topic value)The list of topic in the requested parent.ListTopicsResponse.BuilderaddTopics(int index, Topic.Builder builderForValue)The list of topic in the requested parent.ListTopicsResponse.BuilderaddTopics(Topic value)The list of topic in the requested parent.ListTopicsResponse.BuilderaddTopics(Topic.Builder builderForValue)The list of topic in the requested parent.Topic.BuilderaddTopicsBuilder()The list of topic in the requested parent.Topic.BuilderaddTopicsBuilder(int index)The list of topic in the requested parent.ListTopicsResponsebuild()ListTopicsResponsebuildPartial()ListTopicsResponse.Builderclear()ListTopicsResponse.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)ListTopicsResponse.BuilderclearNextPageToken()A token that can be sent as `page_token` to retrieve the next page of results.ListTopicsResponse.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)ListTopicsResponse.BuilderclearTopics()The list of topic in the requested parent.ListTopicsResponse.Builderclone()ListTopicsResponsegetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()StringgetNextPageToken()A token that can be sent as `page_token` to retrieve the next page of results.com.google.protobuf.ByteStringgetNextPageTokenBytes()A token that can be sent as `page_token` to retrieve the next page of results.TopicgetTopics(int index)The list of topic in the requested parent.Topic.BuildergetTopicsBuilder(int index)The list of topic in the requested parent.List<Topic.Builder>getTopicsBuilderList()The list of topic in the requested parent.intgetTopicsCount()The list of topic in the requested parent.List<Topic>getTopicsList()The list of topic in the requested parent.TopicOrBuildergetTopicsOrBuilder(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.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()ListTopicsResponse.BuildermergeFrom(ListTopicsResponse other)ListTopicsResponse.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)ListTopicsResponse.BuildermergeFrom(com.google.protobuf.Message other)ListTopicsResponse.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)ListTopicsResponse.BuilderremoveTopics(int index)The list of topic in the requested parent.ListTopicsResponse.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)ListTopicsResponse.BuildersetNextPageToken(String value)A token that can be sent as `page_token` to retrieve the next page of results.ListTopicsResponse.BuildersetNextPageTokenBytes(com.google.protobuf.ByteString value)A token that can be sent as `page_token` to retrieve the next page of results.ListTopicsResponse.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)ListTopicsResponse.BuildersetTopics(int index, Topic value)The list of topic in the requested parent.ListTopicsResponse.BuildersetTopics(int index, Topic.Builder builderForValue)The list of topic in the requested parent.ListTopicsResponse.BuildersetUnknownFields(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, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
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
public 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
public ListTopicsResponse getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public ListTopicsResponse build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public ListTopicsResponse buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public ListTopicsResponse.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
public ListTopicsResponse.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ListTopicsResponse.Builder>
-
clearOneof
public ListTopicsResponse.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- 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
public ListTopicsResponse.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ListTopicsResponse.Builder>
-
mergeFrom
public ListTopicsResponse.Builder mergeFrom(ListTopicsResponse other)
-
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
public 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;- 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
public 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;- Specified by:
getTopicsin interfaceListTopicsResponseOrBuilder
-
setTopics
public 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;
-
setTopics
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;
-
addTopics
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;
-
addTopics
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;
-
addTopics
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;
-
addTopics
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;
-
addAllTopics
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;
-
clearTopics
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;
-
removeTopics
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;
-
getTopicsBuilder
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;
-
getTopicsOrBuilder
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;- Specified by:
getTopicsOrBuilderin interfaceListTopicsResponseOrBuilder
-
getTopicsOrBuilderList
public 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;- Specified by:
getTopicsOrBuilderListin interfaceListTopicsResponseOrBuilder
-
addTopicsBuilder
public 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;
-
addTopicsBuilder
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;
-
getTopicsBuilderList
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;
-
getNextPageToken
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;- 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
public 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;- Parameters:
value- The nextPageToken to set.- Returns:
- This builder for chaining.
-
clearNextPageToken
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;- Returns:
- This builder for chaining.
-
setNextPageTokenBytes
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;- 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>
-
-