public static interface CustomEmoji.CustomEmojiPayloadOrBuilder extends MessageOrBuilder
Implements
MessageOrBuilderMethods
getFileContent()
public abstract ByteString getFileContent()
Required. Input only. The image used for the custom emoji.
The payload must be under 256 KB and the dimension of the image must be square and between 64 and 500 pixels. The restrictions are subject to change.
bytes file_content = 1 [(.google.api.field_behavior) = INPUT_ONLY, (.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
ByteString |
The fileContent. |
getFilename()
public abstract String getFilename()
Required. Input only. The image file name.
Supported file extensions: .png
, .jpg
, .gif
.
string filename = 2 [(.google.api.field_behavior) = INPUT_ONLY, (.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
String |
The filename. |
getFilenameBytes()
public abstract ByteString getFilenameBytes()
Required. Input only. The image file name.
Supported file extensions: .png
, .jpg
, .gif
.
string filename = 2 [(.google.api.field_behavior) = INPUT_ONLY, (.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for filename. |