public static final class ListReservationTopicsResponse.Builder extends GeneratedMessageV3.Builder<ListReservationTopicsResponse.Builder> implements ListReservationTopicsResponseOrBuilderResponse 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()| Returns | |
|---|---|
| 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;
| Parameter | |
|---|---|
| Name | Description | 
values | 
        Iterable<String>The topics to add.  | 
      
| Returns | |
|---|---|
| Type | Description | 
ListReservationTopicsResponse.Builder | 
        This builder for chaining.  | 
      
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ListReservationTopicsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description | 
field | 
        FieldDescriptor | 
      
value | 
        Object | 
      
| Returns | |
|---|---|
| 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;
| Parameter | |
|---|---|
| Name | Description | 
value | 
        StringThe topics to add.  | 
      
| Returns | |
|---|---|
| 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;
| Parameter | |
|---|---|
| Name | Description | 
value | 
        ByteStringThe bytes of the topics to add.  | 
      
| Returns | |
|---|---|
| Type | Description | 
ListReservationTopicsResponse.Builder | 
        This builder for chaining.  | 
      
build()
public ListReservationTopicsResponse build()| Returns | |
|---|---|
| Type | Description | 
ListReservationTopicsResponse | 
        |
buildPartial()
public ListReservationTopicsResponse buildPartial()| Returns | |
|---|---|
| Type | Description | 
ListReservationTopicsResponse | 
        |
clear()
public ListReservationTopicsResponse.Builder clear()| Returns | |
|---|---|
| Type | Description | 
ListReservationTopicsResponse.Builder | 
        |
clearField(Descriptors.FieldDescriptor field)
public ListReservationTopicsResponse.Builder clearField(Descriptors.FieldDescriptor field)| Parameter | |
|---|---|
| Name | Description | 
field | 
        FieldDescriptor | 
      
| Returns | |
|---|---|
| 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;
| Returns | |
|---|---|
| Type | Description | 
ListReservationTopicsResponse.Builder | 
        This builder for chaining.  | 
      
clearOneof(Descriptors.OneofDescriptor oneof)
public ListReservationTopicsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)| Parameter | |
|---|---|
| Name | Description | 
oneof | 
        OneofDescriptor | 
      
| Returns | |
|---|---|
| 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;
| Returns | |
|---|---|
| Type | Description | 
ListReservationTopicsResponse.Builder | 
        This builder for chaining.  | 
      
clone()
public ListReservationTopicsResponse.Builder clone()| Returns | |
|---|---|
| Type | Description | 
ListReservationTopicsResponse.Builder | 
        |
getDefaultInstanceForType()
public ListReservationTopicsResponse getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description | 
ListReservationTopicsResponse | 
        |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| 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;
| Returns | |
|---|---|
| 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;
| Returns | |
|---|---|
| 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;
| Parameter | |
|---|---|
| Name | Description | 
index | 
        intThe index of the element to return.  | 
      
| Returns | |
|---|---|
| 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;
| Parameter | |
|---|---|
| Name | Description | 
index | 
        intThe index of the value to return.  | 
      
| Returns | |
|---|---|
| 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;
| Returns | |
|---|---|
| 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;
| Returns | |
|---|---|
| Type | Description | 
ProtocolStringList | 
        A list containing the topics.  | 
      
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description | 
FieldAccessorTable | 
        |
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description | 
boolean | 
        |
mergeFrom(ListReservationTopicsResponse other)
public ListReservationTopicsResponse.Builder mergeFrom(ListReservationTopicsResponse other)| Parameter | |
|---|---|
| Name | Description | 
other | 
        ListReservationTopicsResponse | 
      
| Returns | |
|---|---|
| Type | Description | 
ListReservationTopicsResponse.Builder | 
        |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ListReservationTopicsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description | 
input | 
        CodedInputStream | 
      
extensionRegistry | 
        ExtensionRegistryLite | 
      
| Returns | |
|---|---|
| Type | Description | 
ListReservationTopicsResponse.Builder | 
        |
| Exceptions | |
|---|---|
| Type | Description | 
IOException | 
        |
mergeFrom(Message other)
public ListReservationTopicsResponse.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description | 
other | 
        Message | 
      
| Returns | |
|---|---|
| Type | Description | 
ListReservationTopicsResponse.Builder | 
        |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ListReservationTopicsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description | 
unknownFields | 
        UnknownFieldSet | 
      
| Returns | |
|---|---|
| Type | Description | 
ListReservationTopicsResponse.Builder | 
        |
setField(Descriptors.FieldDescriptor field, Object value)
public ListReservationTopicsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description | 
field | 
        FieldDescriptor | 
      
value | 
        Object | 
      
| Returns | |
|---|---|
| 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;
| Parameter | |
|---|---|
| Name | Description | 
value | 
        StringThe nextPageToken to set.  | 
      
| Returns | |
|---|---|
| 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;
| Parameter | |
|---|---|
| Name | Description | 
value | 
        ByteStringThe bytes for nextPageToken to set.  | 
      
| Returns | |
|---|---|
| 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)| Parameters | |
|---|---|
| Name | Description | 
field | 
        FieldDescriptor | 
      
index | 
        int | 
      
value | 
        Object | 
      
| Returns | |
|---|---|
| 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;
| Parameters | |
|---|---|
| Name | Description | 
index | 
        intThe index to set the value at.  | 
      
value | 
        StringThe topics to set.  | 
      
| Returns | |
|---|---|
| Type | Description | 
ListReservationTopicsResponse.Builder | 
        This builder for chaining.  | 
      
setUnknownFields(UnknownFieldSet unknownFields)
public final ListReservationTopicsResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description | 
unknownFields | 
        UnknownFieldSet | 
      
| Returns | |
|---|---|
| Type | Description | 
ListReservationTopicsResponse.Builder | 
        |