public static final class ListReactionsResponse.Builder extends GeneratedMessageV3.Builder<ListReactionsResponse.Builder> implements ListReactionsResponseOrBuilder
Response to a list reactions request.
Protobuf type google.chat.v1.ListReactionsResponse
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
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>
|
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
|
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;
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;
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;
addReactionsBuilder()
public Reaction.Builder addReactionsBuilder()
List of reactions in the requested (or first) page.
repeated .google.chat.v1.Reaction reactions = 1;
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
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ListReactionsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public ListReactionsResponse build()
buildPartial()
public ListReactionsResponse buildPartial()
clear()
public ListReactionsResponse.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public ListReactionsResponse.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
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;
clearOneof(Descriptors.OneofDescriptor oneof)
public ListReactionsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearReactions()
public ListReactionsResponse.Builder clearReactions()
List of reactions in the requested (or first) page.
repeated .google.chat.v1.Reaction reactions = 1;
clone()
public ListReactionsResponse.Builder clone()
Overrides
getDefaultInstanceForType()
public ListReactionsResponse getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
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
|
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
|
getReactionsBuilderList()
public List<Reaction.Builder> getReactionsBuilderList()
List of reactions in the requested (or first) page.
repeated .google.chat.v1.Reaction reactions = 1;
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;
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
|
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 GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(ListReactionsResponse other)
public ListReactionsResponse.Builder mergeFrom(ListReactionsResponse other)
public ListReactionsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public ListReactionsResponse.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ListReactionsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
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
|
setField(Descriptors.FieldDescriptor field, Object value)
public ListReactionsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
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 |
String
The nextPageToken to set.
|
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 |
ByteString
The bytes for nextPageToken to set.
|
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;
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;
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ListReactionsResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final ListReactionsResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides