public static final class ListReservationTopicsResponse.Builder extends GeneratedMessageV3.Builder<ListReservationTopicsResponse.Builder> implements ListReservationTopicsResponseOrBuilder
Response for ListReservationTopics.
Protobuf type google.cloud.pubsublite.v1.ListReservationTopicsResponse
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > ListReservationTopicsResponse.BuilderImplements
ListReservationTopicsResponseOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addAllTopics(Iterable<String> values)
public ListReservationTopicsResponse.Builder addAllTopics(Iterable<String> values)
The names of topics attached to the reservation. The order of the topics is unspecified.
repeated string topics = 1;
Name | Description |
values | Iterable<String> The topics to add. |
Type | Description |
ListReservationTopicsResponse.Builder | This builder for chaining. |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ListReservationTopicsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
ListReservationTopicsResponse.Builder |
addTopics(String value)
public ListReservationTopicsResponse.Builder addTopics(String value)
The names of topics attached to the reservation. The order of the topics is unspecified.
repeated string topics = 1;
Name | Description |
value | String The topics to add. |
Type | Description |
ListReservationTopicsResponse.Builder | This builder for chaining. |
addTopicsBytes(ByteString value)
public ListReservationTopicsResponse.Builder addTopicsBytes(ByteString value)
The names of topics attached to the reservation. The order of the topics is unspecified.
repeated string topics = 1;
Name | Description |
value | ByteString The bytes of the topics to add. |
Type | Description |
ListReservationTopicsResponse.Builder | This builder for chaining. |
build()
public ListReservationTopicsResponse build()
Type | Description |
ListReservationTopicsResponse |
buildPartial()
public ListReservationTopicsResponse buildPartial()
Type | Description |
ListReservationTopicsResponse |
clear()
public ListReservationTopicsResponse.Builder clear()
Type | Description |
ListReservationTopicsResponse.Builder |
clearField(Descriptors.FieldDescriptor field)
public ListReservationTopicsResponse.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
ListReservationTopicsResponse.Builder |
clearNextPageToken()
public ListReservationTopicsResponse.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;
Type | Description |
ListReservationTopicsResponse.Builder | This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public ListReservationTopicsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
ListReservationTopicsResponse.Builder |
clearTopics()
public ListReservationTopicsResponse.Builder clearTopics()
The names of topics attached to the reservation. The order of the topics is unspecified.
repeated string topics = 1;
Type | Description |
ListReservationTopicsResponse.Builder | This builder for chaining. |
clone()
public ListReservationTopicsResponse.Builder clone()
Type | Description |
ListReservationTopicsResponse.Builder |
getDefaultInstanceForType()
public ListReservationTopicsResponse getDefaultInstanceForType()
Type | Description |
ListReservationTopicsResponse |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
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;
Type | Description |
String | The nextPageToken. |
getNextPageTokenBytes()
public 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;
Type | Description |
ByteString | The bytes for nextPageToken. |
getTopics(int index)
public String getTopics(int index)
The names of topics attached to the reservation. The order of the topics is unspecified.
repeated string topics = 1;
Name | Description |
index | int The index of the element to return. |
Type | Description |
String | The topics at the given index. |
getTopicsBytes(int index)
public ByteString getTopicsBytes(int index)
The names of topics attached to the reservation. The order of the topics is unspecified.
repeated string topics = 1;
Name | Description |
index | int The index of the value to return. |
Type | Description |
ByteString | The bytes of the topics at the given index. |
getTopicsCount()
public int getTopicsCount()
The names of topics attached to the reservation. The order of the topics is unspecified.
repeated string topics = 1;
Type | Description |
int | The count of topics. |
getTopicsList()
public ProtocolStringList getTopicsList()
The names of topics attached to the reservation. The order of the topics is unspecified.
repeated string topics = 1;
Type | Description |
ProtocolStringList | A list containing the topics. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeFrom(ListReservationTopicsResponse other)
public ListReservationTopicsResponse.Builder mergeFrom(ListReservationTopicsResponse other)
Name | Description |
other | ListReservationTopicsResponse |
Type | Description |
ListReservationTopicsResponse.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ListReservationTopicsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
ListReservationTopicsResponse.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public ListReservationTopicsResponse.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
ListReservationTopicsResponse.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ListReservationTopicsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
ListReservationTopicsResponse.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public ListReservationTopicsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
ListReservationTopicsResponse.Builder |
setNextPageToken(String value)
public ListReservationTopicsResponse.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;
Name | Description |
value | String The nextPageToken to set. |
Type | Description |
ListReservationTopicsResponse.Builder | This builder for chaining. |
setNextPageTokenBytes(ByteString value)
public ListReservationTopicsResponse.Builder setNextPageTokenBytes(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;
Name | Description |
value | ByteString The bytes for nextPageToken to set. |
Type | Description |
ListReservationTopicsResponse.Builder | This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ListReservationTopicsResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
ListReservationTopicsResponse.Builder |
setTopics(int index, String value)
public ListReservationTopicsResponse.Builder setTopics(int index, String value)
The names of topics attached to the reservation. The order of the topics is unspecified.
repeated string topics = 1;
Name | Description |
index | int The index to set the value at. |
value | String The topics to set. |
Type | Description |
ListReservationTopicsResponse.Builder | This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final ListReservationTopicsResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
ListReservationTopicsResponse.Builder |