Class ListReactionsResponse (0.12.0)

public final class ListReactionsResponse extends GeneratedMessageV3 implements ListReactionsResponseOrBuilder

Response to a list reactions request.

Protobuf type google.chat.v1.ListReactionsResponse

Static Fields

NEXT_PAGE_TOKEN_FIELD_NUMBER

public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER
Field Value
Type Description
int

REACTIONS_FIELD_NUMBER

public static final int REACTIONS_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static ListReactionsResponse getDefaultInstance()
Returns
Type Description
ListReactionsResponse

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static ListReactionsResponse.Builder newBuilder()
Returns
Type Description
ListReactionsResponse.Builder

newBuilder(ListReactionsResponse prototype)

public static ListReactionsResponse.Builder newBuilder(ListReactionsResponse prototype)
Parameter
Name Description
prototype ListReactionsResponse
Returns
Type Description
ListReactionsResponse.Builder

parseDelimitedFrom(InputStream input)

public static ListReactionsResponse parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ListReactionsResponse
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ListReactionsResponse parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ListReactionsResponse
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static ListReactionsResponse parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
ListReactionsResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static ListReactionsResponse parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ListReactionsResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static ListReactionsResponse parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
ListReactionsResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static ListReactionsResponse parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ListReactionsResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static ListReactionsResponse parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
ListReactionsResponse
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static ListReactionsResponse parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ListReactionsResponse
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static ListReactionsResponse parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ListReactionsResponse
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ListReactionsResponse parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ListReactionsResponse
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static ListReactionsResponse parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
ListReactionsResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static ListReactionsResponse parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ListReactionsResponse
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<ListReactionsResponse> parser()
Returns
Type Description
Parser<ListReactionsResponse>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public ListReactionsResponse getDefaultInstanceForType()
Returns
Type Description
ListReactionsResponse

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.

getParserForType()

public Parser<ListReactionsResponse> getParserForType()
Returns
Type Description
Parser<ListReactionsResponse>
Overrides

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

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>

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public ListReactionsResponse.Builder newBuilderForType()
Returns
Type Description
ListReactionsResponse.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected ListReactionsResponse.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
ListReactionsResponse.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public ListReactionsResponse.Builder toBuilder()
Returns
Type Description
ListReactionsResponse.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException