public
final
class
Reaction
extends
GeneratedMessageV3
implements
ReactionOrBuilder
A reaction to a message.
Protobuf type google.chat.v1.Reaction
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > ReactionImplements
ReactionOrBuilderStatic Fields
EMOJI_FIELD_NUMBER
public
static
final
int
EMOJI_FIELD_NUMBER
NAME_FIELD_NUMBER
public
static
final
int
NAME_FIELD_NUMBER
USER_FIELD_NUMBER
public
static
final
int
USER_FIELD_NUMBER
Static Methods
getDefaultInstance()
public
static
Reaction
getDefaultInstance
()
getDescriptor()
public
static
final
Descriptors
.
Descriptor
getDescriptor
()
newBuilder()
public
static
Reaction
.
Builder
newBuilder
()
newBuilder(Reaction prototype)
public
static
Reaction
.
Builder
newBuilder
(
Reaction
prototype
)
parseDelimitedFrom(InputStream input)
public
static
Reaction
parseDelimitedFrom
(
InputStream
input
)
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public
static
Reaction
parseDelimitedFrom
(
InputStream
input
,
ExtensionRegistryLite
extensionRegistry
)
parseFrom(byte[] data)
public
static
Reaction
parseFrom
(
byte
[]
data
)
data
byte
[]
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public
static
Reaction
parseFrom
(
byte
[]
data
,
ExtensionRegistryLite
extensionRegistry
)
parseFrom(ByteString data)
public
static
Reaction
parseFrom
(
ByteString
data
)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public
static
Reaction
parseFrom
(
ByteString
data
,
ExtensionRegistryLite
extensionRegistry
)
parseFrom(CodedInputStream input)
public
static
Reaction
parseFrom
(
CodedInputStream
input
)
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public
static
Reaction
parseFrom
(
CodedInputStream
input
,
ExtensionRegistryLite
extensionRegistry
)
parseFrom(InputStream input)
public
static
Reaction
parseFrom
(
InputStream
input
)
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public
static
Reaction
parseFrom
(
InputStream
input
,
ExtensionRegistryLite
extensionRegistry
)
parseFrom(ByteBuffer data)
public
static
Reaction
parseFrom
(
ByteBuffer
data
)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public
static
Reaction
parseFrom
(
ByteBuffer
data
,
ExtensionRegistryLite
extensionRegistry
)
parser()
public
static
Parser<Reaction>
parser
()
Methods
equals(Object obj)
public
boolean
equals
(
Object
obj
)
getDefaultInstanceForType()
public
Reaction
getDefaultInstanceForType
()
getEmoji()
public
Emoji
getEmoji
()
Required. The emoji used in the reaction.
.google.chat.v1.Emoji emoji = 3 [(.google.api.field_behavior) = REQUIRED];
getEmojiOrBuilder()
public
EmojiOrBuilder
getEmojiOrBuilder
()
Required. The emoji used in the reaction.
.google.chat.v1.Emoji emoji = 3 [(.google.api.field_behavior) = REQUIRED];
getName()
public
String
getName
()
Identifier. The resource name of the reaction.
Format: spaces/{space}/messages/{message}/reactions/{reaction}
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
getNameBytes()
public
ByteString
getNameBytes
()
Identifier. The resource name of the reaction.
Format: spaces/{space}/messages/{message}/reactions/{reaction}
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
getParserForType()
public
Parser<Reaction>
getParserForType
()
getSerializedSize()
public
int
getSerializedSize
()
getUser()
public
User
getUser
()
Output only. The user who created the reaction.
.google.chat.v1.User user = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
getUserOrBuilder()
public
UserOrBuilder
getUserOrBuilder
()
Output only. The user who created the reaction.
.google.chat.v1.User user = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
hasEmoji()
public
boolean
hasEmoji
()
Required. The emoji used in the reaction.
.google.chat.v1.Emoji emoji = 3 [(.google.api.field_behavior) = REQUIRED];
hasUser()
public
boolean
hasUser
()
Output only. The user who created the reaction.
.google.chat.v1.User user = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
hashCode()
public
int
hashCode
()
internalGetFieldAccessorTable()
protected
GeneratedMessageV3
.
FieldAccessorTable
internalGetFieldAccessorTable
()
isInitialized()
public
final
boolean
isInitialized
()
newBuilderForType()
public
Reaction
.
Builder
newBuilderForType
()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected
Reaction
.
Builder
newBuilderForType
(
GeneratedMessageV3
.
BuilderParent
parent
)
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected
Object
newInstance
(
GeneratedMessageV3
.
UnusedPrivateParameter
unused
)
toBuilder()
public
Reaction
.
Builder
toBuilder
()
writeTo(CodedOutputStream output)
public
void
writeTo
(
CodedOutputStream
output
)