public static final class ListReactionsResponse.Builder extends GeneratedMessage.Builder<ListReactionsResponse.Builder> implements ListReactionsResponseOrBuilderResponse to a list reactions request.
Protobuf type google.chat.v1.ListReactionsResponse
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > ListReactionsResponse.BuilderImplements
ListReactionsResponseOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
addAllReactions(Iterable<? extends Reaction> values)
public ListReactionsResponse.Builder addAllReactions(Iterable<? extends Reaction> values)List of reactions in the requested (or first) page.
repeated .google.chat.v1.Reaction reactions = 1;
| Parameter | |
|---|---|
| Name | Description |
values |
Iterable<? extends com.google.chat.v1.Reaction> |
| Returns | |
|---|---|
| Type | Description |
ListReactionsResponse.Builder |
|
addReactions(Reaction value)
public ListReactionsResponse.Builder addReactions(Reaction value)List of reactions in the requested (or first) page.
repeated .google.chat.v1.Reaction reactions = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
Reaction |
| Returns | |
|---|---|
| Type | Description |
ListReactionsResponse.Builder |
|
addReactions(Reaction.Builder builderForValue)
public ListReactionsResponse.Builder addReactions(Reaction.Builder builderForValue)List of reactions in the requested (or first) page.
repeated .google.chat.v1.Reaction reactions = 1;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Reaction.Builder |
| Returns | |
|---|---|
| Type | Description |
ListReactionsResponse.Builder |
|
addReactions(int index, Reaction value)
public ListReactionsResponse.Builder addReactions(int index, Reaction value)List of reactions in the requested (or first) page.
repeated .google.chat.v1.Reaction reactions = 1;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
Reaction |
| Returns | |
|---|---|
| Type | Description |
ListReactionsResponse.Builder |
|
addReactions(int index, Reaction.Builder builderForValue)
public ListReactionsResponse.Builder addReactions(int index, Reaction.Builder builderForValue)List of reactions in the requested (or first) page.
repeated .google.chat.v1.Reaction reactions = 1;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
Reaction.Builder |
| Returns | |
|---|---|
| Type | Description |
ListReactionsResponse.Builder |
|
addReactionsBuilder()
public Reaction.Builder addReactionsBuilder()List of reactions in the requested (or first) page.
repeated .google.chat.v1.Reaction reactions = 1;
| Returns | |
|---|---|
| Type | Description |
Reaction.Builder |
|
addReactionsBuilder(int index)
public Reaction.Builder addReactionsBuilder(int index)List of reactions in the requested (or first) page.
repeated .google.chat.v1.Reaction reactions = 1;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
Reaction.Builder |
|
build()
public ListReactionsResponse build()| Returns | |
|---|---|
| Type | Description |
ListReactionsResponse |
|
buildPartial()
public ListReactionsResponse buildPartial()| Returns | |
|---|---|
| Type | Description |
ListReactionsResponse |
|
clear()
public ListReactionsResponse.Builder clear()| Returns | |
|---|---|
| Type | Description |
ListReactionsResponse.Builder |
|
clearNextPageToken()
public ListReactionsResponse.Builder clearNextPageToken()Continuation token to retrieve the next page of results. It's empty for the last page of results.
string next_page_token = 2;
| Returns | |
|---|---|
| Type | Description |
ListReactionsResponse.Builder |
This builder for chaining. |
clearReactions()
public ListReactionsResponse.Builder clearReactions()List of reactions in the requested (or first) page.
repeated .google.chat.v1.Reaction reactions = 1;
| Returns | |
|---|---|
| Type | Description |
ListReactionsResponse.Builder |
|
getDefaultInstanceForType()
public ListReactionsResponse getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
ListReactionsResponse |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getNextPageToken()
public String getNextPageToken()Continuation token to retrieve the next page of results. It's empty for the last page of results.
string next_page_token = 2;
| Returns | |
|---|---|
| Type | Description |
String |
The nextPageToken. |
getNextPageTokenBytes()
public ByteString getNextPageTokenBytes()Continuation token to retrieve the next page of results. It's empty for the last page of results.
string next_page_token = 2;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for nextPageToken. |
getReactions(int index)
public Reaction getReactions(int index)List of reactions in the requested (or first) page.
repeated .google.chat.v1.Reaction reactions = 1;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
Reaction |
|
getReactionsBuilder(int index)
public Reaction.Builder getReactionsBuilder(int index)List of reactions in the requested (or first) page.
repeated .google.chat.v1.Reaction reactions = 1;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
Reaction.Builder |
|
getReactionsBuilderList()
public List<Reaction.Builder> getReactionsBuilderList()List of reactions in the requested (or first) page.
repeated .google.chat.v1.Reaction reactions = 1;
| Returns | |
|---|---|
| Type | Description |
List<Builder> |
|
getReactionsCount()
public int getReactionsCount()List of reactions in the requested (or first) page.
repeated .google.chat.v1.Reaction reactions = 1;
| Returns | |
|---|---|
| Type | Description |
int |
|
getReactionsList()
public List<Reaction> getReactionsList()List of reactions in the requested (or first) page.
repeated .google.chat.v1.Reaction reactions = 1;
| Returns | |
|---|---|
| Type | Description |
List<Reaction> |
|
getReactionsOrBuilder(int index)
public ReactionOrBuilder getReactionsOrBuilder(int index)List of reactions in the requested (or first) page.
repeated .google.chat.v1.Reaction reactions = 1;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
ReactionOrBuilder |
|
getReactionsOrBuilderList()
public List<? extends ReactionOrBuilder> getReactionsOrBuilderList()List of reactions in the requested (or first) page.
repeated .google.chat.v1.Reaction reactions = 1;
| Returns | |
|---|---|
| Type | Description |
List<? extends com.google.chat.v1.ReactionOrBuilder> |
|
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(ListReactionsResponse other)
public ListReactionsResponse.Builder mergeFrom(ListReactionsResponse other)| Parameter | |
|---|---|
| Name | Description |
other |
ListReactionsResponse |
| Returns | |
|---|---|
| Type | Description |
ListReactionsResponse.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ListReactionsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
ListReactionsResponse.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public ListReactionsResponse.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
ListReactionsResponse.Builder |
|
removeReactions(int index)
public ListReactionsResponse.Builder removeReactions(int index)List of reactions in the requested (or first) page.
repeated .google.chat.v1.Reaction reactions = 1;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
ListReactionsResponse.Builder |
|
setNextPageToken(String value)
public ListReactionsResponse.Builder setNextPageToken(String value)Continuation token to retrieve the next page of results. It's empty for the last page of results.
string next_page_token = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe nextPageToken to set. |
| Returns | |
|---|---|
| Type | Description |
ListReactionsResponse.Builder |
This builder for chaining. |
setNextPageTokenBytes(ByteString value)
public ListReactionsResponse.Builder setNextPageTokenBytes(ByteString value)Continuation token to retrieve the next page of results. It's empty for the last page of results.
string next_page_token = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for nextPageToken to set. |
| Returns | |
|---|---|
| Type | Description |
ListReactionsResponse.Builder |
This builder for chaining. |
setReactions(int index, Reaction value)
public ListReactionsResponse.Builder setReactions(int index, Reaction value)List of reactions in the requested (or first) page.
repeated .google.chat.v1.Reaction reactions = 1;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
Reaction |
| Returns | |
|---|---|
| Type | Description |
ListReactionsResponse.Builder |
|
setReactions(int index, Reaction.Builder builderForValue)
public ListReactionsResponse.Builder setReactions(int index, Reaction.Builder builderForValue)List of reactions in the requested (or first) page.
repeated .google.chat.v1.Reaction reactions = 1;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
Reaction.Builder |
| Returns | |
|---|---|
| Type | Description |
ListReactionsResponse.Builder |
|