public static final class ListTopicsResponse.Builder extends GeneratedMessageV3.Builder<ListTopicsResponse.Builder> implements ListTopicsResponseOrBuilder
Response for the ListTopics
method.
Protobuf type google.pubsub.v1.ListTopicsResponse
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addAllTopics(Iterable<? extends Topic> values)
public ListTopicsResponse.Builder addAllTopics(Iterable<? extends Topic> values)
The resulting topics.
repeated .google.pubsub.v1.Topic topics = 1;
Parameter |
---|
Name | Description |
values | Iterable<? extends com.google.pubsub.v1.Topic>
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ListTopicsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
addTopics(Topic value)
public ListTopicsResponse.Builder addTopics(Topic value)
The resulting topics.
repeated .google.pubsub.v1.Topic topics = 1;
Parameter |
---|
Name | Description |
value | Topic
|
addTopics(Topic.Builder builderForValue)
public ListTopicsResponse.Builder addTopics(Topic.Builder builderForValue)
The resulting topics.
repeated .google.pubsub.v1.Topic topics = 1;
addTopics(int index, Topic value)
public ListTopicsResponse.Builder addTopics(int index, Topic value)
The resulting topics.
repeated .google.pubsub.v1.Topic topics = 1;
Parameters |
---|
Name | Description |
index | int
|
value | Topic
|
addTopics(int index, Topic.Builder builderForValue)
public ListTopicsResponse.Builder addTopics(int index, Topic.Builder builderForValue)
The resulting topics.
repeated .google.pubsub.v1.Topic topics = 1;
addTopicsBuilder()
public Topic.Builder addTopicsBuilder()
The resulting topics.
repeated .google.pubsub.v1.Topic topics = 1;
addTopicsBuilder(int index)
public Topic.Builder addTopicsBuilder(int index)
The resulting topics.
repeated .google.pubsub.v1.Topic topics = 1;
Parameter |
---|
Name | Description |
index | int
|
build()
public ListTopicsResponse build()
buildPartial()
public ListTopicsResponse buildPartial()
clear()
public ListTopicsResponse.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public ListTopicsResponse.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearNextPageToken()
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;
clearOneof(Descriptors.OneofDescriptor oneof)
public ListTopicsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearTopics()
public ListTopicsResponse.Builder clearTopics()
The resulting topics.
repeated .google.pubsub.v1.Topic topics = 1;
clone()
public ListTopicsResponse.Builder clone()
Overrides
getDefaultInstanceForType()
public ListTopicsResponse getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getNextPageToken()
public 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;
Returns |
---|
Type | Description |
String | The nextPageToken.
|
getNextPageTokenBytes()
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;
Returns |
---|
Type | Description |
ByteString | The bytes for nextPageToken.
|
getTopics(int index)
public Topic getTopics(int index)
The resulting topics.
repeated .google.pubsub.v1.Topic topics = 1;
Parameter |
---|
Name | Description |
index | int
|
Returns |
---|
Type | Description |
Topic | |
getTopicsBuilder(int index)
public Topic.Builder getTopicsBuilder(int index)
The resulting topics.
repeated .google.pubsub.v1.Topic topics = 1;
Parameter |
---|
Name | Description |
index | int
|
getTopicsBuilderList()
public List<Topic.Builder> getTopicsBuilderList()
The resulting topics.
repeated .google.pubsub.v1.Topic topics = 1;
getTopicsCount()
public int getTopicsCount()
The resulting topics.
repeated .google.pubsub.v1.Topic topics = 1;
Returns |
---|
Type | Description |
int | |
getTopicsList()
public List<Topic> getTopicsList()
The resulting topics.
repeated .google.pubsub.v1.Topic topics = 1;
getTopicsOrBuilder(int index)
public TopicOrBuilder getTopicsOrBuilder(int index)
The resulting topics.
repeated .google.pubsub.v1.Topic topics = 1;
Parameter |
---|
Name | Description |
index | int
|
getTopicsOrBuilderList()
public List<? extends TopicOrBuilder> getTopicsOrBuilderList()
The resulting topics.
repeated .google.pubsub.v1.Topic topics = 1;
Returns |
---|
Type | Description |
List<? extends com.google.pubsub.v1.TopicOrBuilder> | |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
public ListTopicsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public ListTopicsResponse.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeFrom(ListTopicsResponse other)
public ListTopicsResponse.Builder mergeFrom(ListTopicsResponse other)
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ListTopicsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
removeTopics(int index)
public ListTopicsResponse.Builder removeTopics(int index)
The resulting topics.
repeated .google.pubsub.v1.Topic topics = 1;
Parameter |
---|
Name | Description |
index | int
|
setField(Descriptors.FieldDescriptor field, Object value)
public ListTopicsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setNextPageToken(String value)
public ListTopicsResponse.Builder setNextPageToken(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;
Parameter |
---|
Name | Description |
value | String
The nextPageToken to set.
|
setNextPageTokenBytes(ByteString value)
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;
Parameter |
---|
Name | Description |
value | ByteString
The bytes for nextPageToken to set.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ListTopicsResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setTopics(int index, Topic value)
public ListTopicsResponse.Builder setTopics(int index, Topic value)
The resulting topics.
repeated .google.pubsub.v1.Topic topics = 1;
Parameters |
---|
Name | Description |
index | int
|
value | Topic
|
setTopics(int index, Topic.Builder builderForValue)
public ListTopicsResponse.Builder setTopics(int index, Topic.Builder builderForValue)
The resulting topics.
repeated .google.pubsub.v1.Topic topics = 1;
setUnknownFields(UnknownFieldSet unknownFields)
public final ListTopicsResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides