Class DeleteCustomEmojiRequest.Builder (0.49.0)

public static final class DeleteCustomEmojiRequest.Builder extends GeneratedMessage.Builder<DeleteCustomEmojiRequest.Builder> implements DeleteCustomEmojiRequestOrBuilder

Request for deleting a custom emoji.

Protobuf type google.chat.v1.DeleteCustomEmojiRequest

Static Methods

getDescriptor()

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

Methods

build()

public DeleteCustomEmojiRequest build()
Returns
Type Description
DeleteCustomEmojiRequest

buildPartial()

public DeleteCustomEmojiRequest buildPartial()
Returns
Type Description
DeleteCustomEmojiRequest

clear()

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

clearName()

public DeleteCustomEmojiRequest.Builder clearName()

Required. Resource name of the custom emoji to delete.

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
DeleteCustomEmojiRequest.Builder

This builder for chaining.

getDefaultInstanceForType()

public DeleteCustomEmojiRequest getDefaultInstanceForType()
Returns
Type Description
DeleteCustomEmojiRequest

getDescriptorForType()

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

getName()

public String getName()

Required. Resource name of the custom emoji to delete.

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 to delete.

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
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(DeleteCustomEmojiRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

setName(String value)

public DeleteCustomEmojiRequest.Builder setName(String value)

Required. Resource name of the custom emoji to delete.

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 String

The name to set.

Returns
Type Description
DeleteCustomEmojiRequest.Builder

This builder for chaining.

setNameBytes(ByteString value)

public DeleteCustomEmojiRequest.Builder setNameBytes(ByteString value)

Required. Resource name of the custom emoji to delete.

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 ByteString

The bytes for name to set.

Returns
Type Description
DeleteCustomEmojiRequest.Builder

This builder for chaining.