Class ListReactionsResponse.Builder (0.4.0)

public static final class ListReactionsResponse.Builder extends GeneratedMessageV3.Builder<ListReactionsResponse.Builder> implements ListReactionsResponseOrBuilder

Protobuf type google.chat.v1.ListReactionsResponse

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
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
NameDescription
valuesIterable<? extends com.google.chat.v1.Reaction>
Returns
TypeDescription
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
NameDescription
valueReaction
Returns
TypeDescription
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
NameDescription
builderForValueReaction.Builder
Returns
TypeDescription
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
NameDescription
indexint
valueReaction
Returns
TypeDescription
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
NameDescription
indexint
builderForValueReaction.Builder
Returns
TypeDescription
ListReactionsResponse.Builder

addReactionsBuilder()

public Reaction.Builder addReactionsBuilder()

List of reactions in the requested (or first) page.

repeated .google.chat.v1.Reaction reactions = 1;

Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
Reaction.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ListReactionsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
ListReactionsResponse.Builder
Overrides

build()

public ListReactionsResponse build()
Returns
TypeDescription
ListReactionsResponse

buildPartial()

public ListReactionsResponse buildPartial()
Returns
TypeDescription
ListReactionsResponse

clear()

public ListReactionsResponse.Builder clear()
Returns
TypeDescription
ListReactionsResponse.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public ListReactionsResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
ListReactionsResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public ListReactionsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
ListReactionsResponse.Builder

clone()

public ListReactionsResponse.Builder clone()
Returns
TypeDescription
ListReactionsResponse.Builder
Overrides

getDefaultInstanceForType()

public ListReactionsResponse getDefaultInstanceForType()
Returns
TypeDescription
ListReactionsResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
List<Builder>

getReactionsCount()

public int getReactionsCount()

List of reactions in the requested (or first) page.

repeated .google.chat.v1.Reaction reactions = 1;

Returns
TypeDescription
int

getReactionsList()

public List<Reaction> getReactionsList()

List of reactions in the requested (or first) page.

repeated .google.chat.v1.Reaction reactions = 1;

Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
ReactionOrBuilder

getReactionsOrBuilderList()

public List<? extends ReactionOrBuilder> getReactionsOrBuilderList()

List of reactions in the requested (or first) page.

repeated .google.chat.v1.Reaction reactions = 1;

Returns
TypeDescription
List<? extends com.google.chat.v1.ReactionOrBuilder>

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ListReactionsResponse other)

public ListReactionsResponse.Builder mergeFrom(ListReactionsResponse other)
Parameter
NameDescription
otherListReactionsResponse
Returns
TypeDescription
ListReactionsResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ListReactionsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListReactionsResponse.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public ListReactionsResponse.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
ListReactionsResponse.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ListReactionsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
ListReactionsResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public ListReactionsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The nextPageToken to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for nextPageToken to set.

Returns
TypeDescription
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
NameDescription
indexint
valueReaction
Returns
TypeDescription
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
NameDescription
indexint
builderForValueReaction.Builder
Returns
TypeDescription
ListReactionsResponse.Builder

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

public ListReactionsResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
ListReactionsResponse.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final ListReactionsResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ListReactionsResponse.Builder
Overrides