Class ListReactionsResponse (0.1.0)

public final class ListReactionsResponse extends GeneratedMessageV3 implements ListReactionsResponseOrBuilder

Protobuf type google.chat.v1.ListReactionsResponse

Static Fields

NEXT_PAGE_TOKEN_FIELD_NUMBER

public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER
Field Value
TypeDescription
int

REACTIONS_FIELD_NUMBER

public static final int REACTIONS_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static ListReactionsResponse getDefaultInstance()
Returns
TypeDescription
ListReactionsResponse

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static ListReactionsResponse.Builder newBuilder()
Returns
TypeDescription
ListReactionsResponse.Builder

newBuilder(ListReactionsResponse prototype)

public static ListReactionsResponse.Builder newBuilder(ListReactionsResponse prototype)
Parameter
NameDescription
prototypeListReactionsResponse
Returns
TypeDescription
ListReactionsResponse.Builder

parseDelimitedFrom(InputStream input)

public static ListReactionsResponse parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ListReactionsResponse
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ListReactionsResponse parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListReactionsResponse
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static ListReactionsResponse parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
ListReactionsResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static ListReactionsResponse parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListReactionsResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static ListReactionsResponse parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
ListReactionsResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static ListReactionsResponse parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListReactionsResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static ListReactionsResponse parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
ListReactionsResponse
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static ListReactionsResponse parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListReactionsResponse
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static ListReactionsResponse parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ListReactionsResponse
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ListReactionsResponse parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListReactionsResponse
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static ListReactionsResponse parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
ListReactionsResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static ListReactionsResponse parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListReactionsResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<ListReactionsResponse> parser()
Returns
TypeDescription
Parser<ListReactionsResponse>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public ListReactionsResponse getDefaultInstanceForType()
Returns
TypeDescription
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
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.

getParserForType()

public Parser<ListReactionsResponse> getParserForType()
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
Reaction

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>

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public ListReactionsResponse.Builder newBuilderForType()
Returns
TypeDescription
ListReactionsResponse.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected ListReactionsResponse.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
ListReactionsResponse.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public ListReactionsResponse.Builder toBuilder()
Returns
TypeDescription
ListReactionsResponse.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException