public final class CreateCustomEmojiRequest extends GeneratedMessage implements CreateCustomEmojiRequestOrBuilderA request to create a custom emoji.
Protobuf type google.chat.v1.CreateCustomEmojiRequest
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessage > CreateCustomEmojiRequestImplements
CreateCustomEmojiRequestOrBuilderStatic Fields
CUSTOM_EMOJI_FIELD_NUMBER
public static final int CUSTOM_EMOJI_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
Static Methods
getDefaultInstance()
public static CreateCustomEmojiRequest getDefaultInstance()| Returns | |
|---|---|
| Type | Description |
CreateCustomEmojiRequest |
|
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
newBuilder()
public static CreateCustomEmojiRequest.Builder newBuilder()| Returns | |
|---|---|
| Type | Description |
CreateCustomEmojiRequest.Builder |
|
newBuilder(CreateCustomEmojiRequest prototype)
public static CreateCustomEmojiRequest.Builder newBuilder(CreateCustomEmojiRequest prototype)| Parameter | |
|---|---|
| Name | Description |
prototype |
CreateCustomEmojiRequest |
| Returns | |
|---|---|
| Type | Description |
CreateCustomEmojiRequest.Builder |
|
parseDelimitedFrom(InputStream input)
public static CreateCustomEmojiRequest parseDelimitedFrom(InputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
InputStream |
| Returns | |
|---|---|
| Type | Description |
CreateCustomEmojiRequest |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static CreateCustomEmojiRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
CreateCustomEmojiRequest |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(byte[] data)
public static CreateCustomEmojiRequest parseFrom(byte[] data)| Parameter | |
|---|---|
| Name | Description |
data |
byte[] |
| Returns | |
|---|---|
| Type | Description |
CreateCustomEmojiRequest |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static CreateCustomEmojiRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
byte[] |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
CreateCustomEmojiRequest |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteString data)
public static CreateCustomEmojiRequest parseFrom(ByteString data)| Parameter | |
|---|---|
| Name | Description |
data |
ByteString |
| Returns | |
|---|---|
| Type | Description |
CreateCustomEmojiRequest |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static CreateCustomEmojiRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
ByteString |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
CreateCustomEmojiRequest |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(CodedInputStream input)
public static CreateCustomEmojiRequest parseFrom(CodedInputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
CodedInputStream |
| Returns | |
|---|---|
| Type | Description |
CreateCustomEmojiRequest |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static CreateCustomEmojiRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
CreateCustomEmojiRequest |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(InputStream input)
public static CreateCustomEmojiRequest parseFrom(InputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
InputStream |
| Returns | |
|---|---|
| Type | Description |
CreateCustomEmojiRequest |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static CreateCustomEmojiRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
CreateCustomEmojiRequest |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(ByteBuffer data)
public static CreateCustomEmojiRequest parseFrom(ByteBuffer data)| Parameter | |
|---|---|
| Name | Description |
data |
ByteBuffer |
| Returns | |
|---|---|
| Type | Description |
CreateCustomEmojiRequest |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static CreateCustomEmojiRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
ByteBuffer |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
CreateCustomEmojiRequest |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parser()
public static Parser<CreateCustomEmojiRequest> parser()| Returns | |
|---|---|
| Type | Description |
Parser<CreateCustomEmojiRequest> |
|
Methods
equals(Object obj)
public boolean equals(Object obj)| Parameter | |
|---|---|
| Name | Description |
obj |
Object |
| Returns | |
|---|---|
| Type | Description |
boolean |
|
getCustomEmoji()
public CustomEmoji getCustomEmoji()Required. The custom emoji to create.
.google.chat.v1.CustomEmoji custom_emoji = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
CustomEmoji |
The customEmoji. |
getCustomEmojiOrBuilder()
public CustomEmojiOrBuilder getCustomEmojiOrBuilder()Required. The custom emoji to create.
.google.chat.v1.CustomEmoji custom_emoji = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
CustomEmojiOrBuilder |
|
getDefaultInstanceForType()
public CreateCustomEmojiRequest getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
CreateCustomEmojiRequest |
|
getParserForType()
public Parser<CreateCustomEmojiRequest> getParserForType()| Returns | |
|---|---|
| Type | Description |
Parser<CreateCustomEmojiRequest> |
|
getSerializedSize()
public int getSerializedSize()| Returns | |
|---|---|
| Type | Description |
int |
|
hasCustomEmoji()
public boolean hasCustomEmoji()Required. The custom emoji to create.
.google.chat.v1.CustomEmoji custom_emoji = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the customEmoji field is set. |
hashCode()
public int hashCode()| Returns | |
|---|---|
| Type | Description |
int |
|
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
newBuilderForType()
public CreateCustomEmojiRequest.Builder newBuilderForType()| Returns | |
|---|---|
| Type | Description |
CreateCustomEmojiRequest.Builder |
|
newBuilderForType(AbstractMessage.BuilderParent parent)
protected CreateCustomEmojiRequest.Builder newBuilderForType(AbstractMessage.BuilderParent parent)| Parameter | |
|---|---|
| Name | Description |
parent |
BuilderParent |
| Returns | |
|---|---|
| Type | Description |
CreateCustomEmojiRequest.Builder |
|
toBuilder()
public CreateCustomEmojiRequest.Builder toBuilder()| Returns | |
|---|---|
| Type | Description |
CreateCustomEmojiRequest.Builder |
|
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)| Parameter | |
|---|---|
| Name | Description |
output |
CodedOutputStream |
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|