Class CreateCustomEmojiRequest.Builder (0.49.0)

public static final class CreateCustomEmojiRequest.Builder extends GeneratedMessage.Builder<CreateCustomEmojiRequest.Builder> implements CreateCustomEmojiRequestOrBuilder

A request to create a custom emoji.

Protobuf type google.chat.v1.CreateCustomEmojiRequest

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

build()

public CreateCustomEmojiRequest build()
Returns
Type Description
CreateCustomEmojiRequest

buildPartial()

public CreateCustomEmojiRequest buildPartial()
Returns
Type Description
CreateCustomEmojiRequest

clear()

public CreateCustomEmojiRequest.Builder clear()
Returns
Type Description
CreateCustomEmojiRequest.Builder
Overrides

clearCustomEmoji()

public CreateCustomEmojiRequest.Builder clearCustomEmoji()

Required. The custom emoji to create.

.google.chat.v1.CustomEmoji custom_emoji = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
CreateCustomEmojiRequest.Builder

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.

getCustomEmojiBuilder()

public CustomEmoji.Builder getCustomEmojiBuilder()

Required. The custom emoji to create.

.google.chat.v1.CustomEmoji custom_emoji = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
CustomEmoji.Builder

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

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

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.

internalGetFieldAccessorTable()

protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeCustomEmoji(CustomEmoji value)

public CreateCustomEmojiRequest.Builder mergeCustomEmoji(CustomEmoji value)

Required. The custom emoji to create.

.google.chat.v1.CustomEmoji custom_emoji = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value CustomEmoji
Returns
Type Description
CreateCustomEmojiRequest.Builder

mergeFrom(CreateCustomEmojiRequest other)

public CreateCustomEmojiRequest.Builder mergeFrom(CreateCustomEmojiRequest other)
Parameter
Name Description
other CreateCustomEmojiRequest
Returns
Type Description
CreateCustomEmojiRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public CreateCustomEmojiRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CreateCustomEmojiRequest.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public CreateCustomEmojiRequest.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
CreateCustomEmojiRequest.Builder
Overrides

setCustomEmoji(CustomEmoji value)

public CreateCustomEmojiRequest.Builder setCustomEmoji(CustomEmoji value)

Required. The custom emoji to create.

.google.chat.v1.CustomEmoji custom_emoji = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value CustomEmoji
Returns
Type Description
CreateCustomEmojiRequest.Builder

setCustomEmoji(CustomEmoji.Builder builderForValue)

public CreateCustomEmojiRequest.Builder setCustomEmoji(CustomEmoji.Builder builderForValue)

Required. The custom emoji to create.

.google.chat.v1.CustomEmoji custom_emoji = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
builderForValue CustomEmoji.Builder
Returns
Type Description
CreateCustomEmojiRequest.Builder