public static final class GetCustomEmojiRequest.Builder extends GeneratedMessage.Builder<GetCustomEmojiRequest.Builder> implements GetCustomEmojiRequestOrBuilderA request to return a single custom emoji.
Protobuf type google.chat.v1.GetCustomEmojiRequest
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > GetCustomEmojiRequest.BuilderImplements
GetCustomEmojiRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public GetCustomEmojiRequest build()| Returns | |
|---|---|
| Type | Description |
GetCustomEmojiRequest |
|
buildPartial()
public GetCustomEmojiRequest buildPartial()| Returns | |
|---|---|
| Type | Description |
GetCustomEmojiRequest |
|
clear()
public GetCustomEmojiRequest.Builder clear()| Returns | |
|---|---|
| Type | Description |
GetCustomEmojiRequest.Builder |
|
clearName()
public GetCustomEmojiRequest.Builder clearName()Required. Resource name of the custom emoji.
Format: customEmojis/{customEmoji}
You can use the emoji name as an alias for {customEmoji}. For example,
customEmojis/:example-emoji: where :example-emoji: is the emoji name
for a custom emoji.
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
GetCustomEmojiRequest.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public GetCustomEmojiRequest getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
GetCustomEmojiRequest |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getName()
public String getName()Required. Resource name of the custom emoji.
Format: customEmojis/{customEmoji}
You can use the emoji name as an alias for {customEmoji}. For example,
customEmojis/:example-emoji: where :example-emoji: is the emoji name
for a custom emoji.
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
String |
The name. |
getNameBytes()
public ByteString getNameBytes()Required. Resource name of the custom emoji.
Format: customEmojis/{customEmoji}
You can use the emoji name as an alias for {customEmoji}. For example,
customEmojis/:example-emoji: where :example-emoji: is the emoji name
for a custom emoji.
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for name. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(GetCustomEmojiRequest other)
public GetCustomEmojiRequest.Builder mergeFrom(GetCustomEmojiRequest other)| Parameter | |
|---|---|
| Name | Description |
other |
GetCustomEmojiRequest |
| Returns | |
|---|---|
| Type | Description |
GetCustomEmojiRequest.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public GetCustomEmojiRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
GetCustomEmojiRequest.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public GetCustomEmojiRequest.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
GetCustomEmojiRequest.Builder |
|
setName(String value)
public GetCustomEmojiRequest.Builder setName(String value)Required. Resource name of the custom emoji.
Format: customEmojis/{customEmoji}
You can use the emoji name as an alias for {customEmoji}. For example,
customEmojis/:example-emoji: where :example-emoji: is the emoji name
for a custom emoji.
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe name to set. |
| Returns | |
|---|---|
| Type | Description |
GetCustomEmojiRequest.Builder |
This builder for chaining. |
setNameBytes(ByteString value)
public GetCustomEmojiRequest.Builder setNameBytes(ByteString value)Required. Resource name of the custom emoji.
Format: customEmojis/{customEmoji}
You can use the emoji name as an alias for {customEmoji}. For example,
customEmojis/:example-emoji: where :example-emoji: is the emoji name
for a custom emoji.
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for name to set. |
| Returns | |
|---|---|
| Type | Description |
GetCustomEmojiRequest.Builder |
This builder for chaining. |