public static final class Emoji.Builder extends GeneratedMessageV3.Builder<Emoji.Builder> implements EmojiOrBuilder
An emoji that is used as a reaction to a message.
Protobuf type google.chat.v1.Emoji
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Emoji.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
Returns |
---|
Type | Description |
Emoji | |
buildPartial()
public Emoji buildPartial()
Returns |
---|
Type | Description |
Emoji | |
clear()
public Emoji.Builder clear()
Overrides
clearContent()
public Emoji.Builder clearContent()
clearCustomEmoji()
public Emoji.Builder clearCustomEmoji()
Output only. A custom emoji.
.google.chat.v1.CustomEmoji custom_emoji = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
clearField(Descriptors.FieldDescriptor field)
public Emoji.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public Emoji.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearUnicode()
public Emoji.Builder clearUnicode()
A basic emoji represented by a unicode string.
string unicode = 1;
clone()
public Emoji.Builder clone()
Overrides
getContentCase()
public Emoji.ContentCase getContentCase()
getCustomEmoji()
public CustomEmoji getCustomEmoji()
Output only. A custom emoji.
.google.chat.v1.CustomEmoji custom_emoji = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
getCustomEmojiBuilder()
public CustomEmoji.Builder getCustomEmojiBuilder()
Output only. A custom emoji.
.google.chat.v1.CustomEmoji custom_emoji = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
getCustomEmojiOrBuilder()
public CustomEmojiOrBuilder getCustomEmojiOrBuilder()
Output only. A custom emoji.
.google.chat.v1.CustomEmoji custom_emoji = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
getDefaultInstanceForType()
public Emoji getDefaultInstanceForType()
Returns |
---|
Type | Description |
Emoji | |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getUnicode()
public String getUnicode()
A basic emoji represented by a unicode string.
string unicode = 1;
Returns |
---|
Type | Description |
String | The unicode.
|
getUnicodeBytes()
public ByteString getUnicodeBytes()
A basic emoji represented by a unicode string.
string unicode = 1;
Returns |
---|
Type | Description |
ByteString | The bytes for unicode.
|
hasCustomEmoji()
public boolean hasCustomEmoji()
Output only. A custom emoji.
.google.chat.v1.CustomEmoji custom_emoji = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
---|
Type | Description |
boolean | Whether the customEmoji field is set.
|
hasUnicode()
public boolean hasUnicode()
A basic emoji represented by a unicode string.
string unicode = 1;
Returns |
---|
Type | Description |
boolean | Whether the unicode field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeCustomEmoji(CustomEmoji value)
public Emoji.Builder mergeCustomEmoji(CustomEmoji value)
Output only. A custom emoji.
.google.chat.v1.CustomEmoji custom_emoji = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
mergeFrom(Emoji other)
public Emoji.Builder mergeFrom(Emoji other)
Parameter |
---|
Name | Description |
other | Emoji
|
public Emoji.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public Emoji.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Emoji.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setCustomEmoji(CustomEmoji value)
public Emoji.Builder setCustomEmoji(CustomEmoji value)
Output only. A custom emoji.
.google.chat.v1.CustomEmoji custom_emoji = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
setCustomEmoji(CustomEmoji.Builder builderForValue)
public Emoji.Builder setCustomEmoji(CustomEmoji.Builder builderForValue)
Output only. A custom emoji.
.google.chat.v1.CustomEmoji custom_emoji = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
setField(Descriptors.FieldDescriptor field, Object value)
public Emoji.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Emoji.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnicode(String value)
public Emoji.Builder setUnicode(String value)
A basic emoji represented by a unicode string.
string unicode = 1;
Parameter |
---|
Name | Description |
value | String
The unicode to set.
|
setUnicodeBytes(ByteString value)
public Emoji.Builder setUnicodeBytes(ByteString value)
A basic emoji represented by a unicode string.
string unicode = 1;
Parameter |
---|
Name | Description |
value | ByteString
The bytes for unicode to set.
|
setUnknownFields(UnknownFieldSet unknownFields)
public final Emoji.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides