public static final class Emoji.Builder extends GeneratedMessage.Builder<Emoji.Builder> implements EmojiOrBuilderAn emoji that is used as a reaction to a message.
Protobuf type google.chat.v1.Emoji
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > Emoji.BuilderImplements
EmojiOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public Emoji build()| Returns | |
|---|---|
| Type | Description |
Emoji |
|
buildPartial()
public Emoji buildPartial()| Returns | |
|---|---|
| Type | Description |
Emoji |
|
clear()
public Emoji.Builder clear()| Returns | |
|---|---|
| Type | Description |
Emoji.Builder |
|
clearContent()
public Emoji.Builder clearContent()| Returns | |
|---|---|
| Type | Description |
Emoji.Builder |
|
clearCustomEmoji()
public Emoji.Builder clearCustomEmoji()A custom emoji.
.google.chat.v1.CustomEmoji custom_emoji = 2;
| Returns | |
|---|---|
| Type | Description |
Emoji.Builder |
|
clearUnicode()
public Emoji.Builder clearUnicode()Optional. A basic emoji represented by a unicode string.
string unicode = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
Emoji.Builder |
This builder for chaining. |
getContentCase()
public Emoji.ContentCase getContentCase()| Returns | |
|---|---|
| Type | Description |
Emoji.ContentCase |
|
getCustomEmoji()
public CustomEmoji getCustomEmoji()A custom emoji.
.google.chat.v1.CustomEmoji custom_emoji = 2;
| Returns | |
|---|---|
| Type | Description |
CustomEmoji |
The customEmoji. |
getCustomEmojiBuilder()
public CustomEmoji.Builder getCustomEmojiBuilder()A custom emoji.
.google.chat.v1.CustomEmoji custom_emoji = 2;
| Returns | |
|---|---|
| Type | Description |
CustomEmoji.Builder |
|
getCustomEmojiOrBuilder()
public CustomEmojiOrBuilder getCustomEmojiOrBuilder()A custom emoji.
.google.chat.v1.CustomEmoji custom_emoji = 2;
| Returns | |
|---|---|
| Type | Description |
CustomEmojiOrBuilder |
|
getDefaultInstanceForType()
public Emoji getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
Emoji |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getUnicode()
public String getUnicode()Optional. A basic emoji represented by a unicode string.
string unicode = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
String |
The unicode. |
getUnicodeBytes()
public ByteString getUnicodeBytes()Optional. A basic emoji represented by a unicode string.
string unicode = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for unicode. |
hasCustomEmoji()
public boolean hasCustomEmoji()A custom emoji.
.google.chat.v1.CustomEmoji custom_emoji = 2;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the customEmoji field is set. |
hasUnicode()
public boolean hasUnicode()Optional. A basic emoji represented by a unicode string.
string unicode = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the unicode field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeCustomEmoji(CustomEmoji value)
public Emoji.Builder mergeCustomEmoji(CustomEmoji value)A custom emoji.
.google.chat.v1.CustomEmoji custom_emoji = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
CustomEmoji |
| Returns | |
|---|---|
| Type | Description |
Emoji.Builder |
|
mergeFrom(Emoji other)
public Emoji.Builder mergeFrom(Emoji other)| Parameter | |
|---|---|
| Name | Description |
other |
Emoji |
| Returns | |
|---|---|
| Type | Description |
Emoji.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Emoji.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
Emoji.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public Emoji.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
Emoji.Builder |
|
setCustomEmoji(CustomEmoji value)
public Emoji.Builder setCustomEmoji(CustomEmoji value)A custom emoji.
.google.chat.v1.CustomEmoji custom_emoji = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
CustomEmoji |
| Returns | |
|---|---|
| Type | Description |
Emoji.Builder |
|
setCustomEmoji(CustomEmoji.Builder builderForValue)
public Emoji.Builder setCustomEmoji(CustomEmoji.Builder builderForValue)A custom emoji.
.google.chat.v1.CustomEmoji custom_emoji = 2;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
CustomEmoji.Builder |
| Returns | |
|---|---|
| Type | Description |
Emoji.Builder |
|
setUnicode(String value)
public Emoji.Builder setUnicode(String value)Optional. A basic emoji represented by a unicode string.
string unicode = 1 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe unicode to set. |
| Returns | |
|---|---|
| Type | Description |
Emoji.Builder |
This builder for chaining. |
setUnicodeBytes(ByteString value)
public Emoji.Builder setUnicodeBytes(ByteString value)Optional. A basic emoji represented by a unicode string.
string unicode = 1 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for unicode to set. |
| Returns | |
|---|---|
| Type | Description |
Emoji.Builder |
This builder for chaining. |