Class CustomEmoji (0.5.0)

public final class CustomEmoji extends GeneratedMessageV3 implements CustomEmojiOrBuilder

Represents a custom emoji.

Protobuf type google.chat.v1.CustomEmoji

Static Fields

UID_FIELD_NUMBER

public static final int UID_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static CustomEmoji getDefaultInstance()
Returns
TypeDescription
CustomEmoji

getDescriptor()

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

newBuilder()

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

newBuilder(CustomEmoji prototype)

public static CustomEmoji.Builder newBuilder(CustomEmoji prototype)
Parameter
NameDescription
prototypeCustomEmoji
Returns
TypeDescription
CustomEmoji.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public CustomEmoji getDefaultInstanceForType()
Returns
TypeDescription
CustomEmoji

getParserForType()

public Parser<CustomEmoji> getParserForType()
Returns
TypeDescription
Parser<CustomEmoji>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUid()

public String getUid()

Unique key for the custom emoji resource.

string uid = 1;

Returns
TypeDescription
String

The uid.

getUidBytes()

public ByteString getUidBytes()

Unique key for the custom emoji resource.

string uid = 1;

Returns
TypeDescription
ByteString

The bytes for uid.

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 CustomEmoji.Builder newBuilderForType()
Returns
TypeDescription
CustomEmoji.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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