Class ListReactionsResponse.Builder (0.15.0)

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

Static 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

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ListReactionsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ListReactionsResponse.Builder
Overrides

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
Overrides

clearField(Descriptors.FieldDescriptor field)

public ListReactionsResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
ListReactionsResponse.Builder
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;

Returns
Type Description
ListReactionsResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public ListReactionsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
ListReactionsResponse.Builder
Overrides

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

clone()

public ListReactionsResponse.Builder clone()
Returns
Type Description
ListReactionsResponse.Builder
Overrides

getDefaultInstanceForType()

public ListReactionsResponse getDefaultInstanceForType()
Returns
Type Description
ListReactionsResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
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
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 GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

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
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public ListReactionsResponse.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
ListReactionsResponse.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ListReactionsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ListReactionsResponse.Builder
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
Returns
Type Description
ListReactionsResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public ListReactionsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ListReactionsResponse.Builder
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.

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 ByteString

The 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

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public ListReactionsResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
ListReactionsResponse.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final ListReactionsResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ListReactionsResponse.Builder
Overrides