Enum CreateMessageRequest.MessageReplyOption (0.12.0)

public enum CreateMessageRequest.MessageReplyOption extends Enum<CreateMessageRequest.MessageReplyOption> implements ProtocolMessageEnum

Specifies how to reply to a message. More states might be added in the future.

Protobuf enum google.chat.v1.CreateMessageRequest.MessageReplyOption

Implements

ProtocolMessageEnum

Static Fields

Name Description
MESSAGE_REPLY_OPTION_UNSPECIFIED

Default. Starts a new thread. Using this option ignores any thread ID or thread_key that's included.

MESSAGE_REPLY_OPTION_UNSPECIFIED = 0;

MESSAGE_REPLY_OPTION_UNSPECIFIED_VALUE

Default. Starts a new thread. Using this option ignores any thread ID or thread_key that's included.

MESSAGE_REPLY_OPTION_UNSPECIFIED = 0;

REPLY_MESSAGE_FALLBACK_TO_NEW_THREAD

Creates the message as a reply to the thread specified by thread ID or thread_key. If it fails, the message starts a new thread instead.

REPLY_MESSAGE_FALLBACK_TO_NEW_THREAD = 1;

REPLY_MESSAGE_FALLBACK_TO_NEW_THREAD_VALUE

Creates the message as a reply to the thread specified by thread ID or thread_key. If it fails, the message starts a new thread instead.

REPLY_MESSAGE_FALLBACK_TO_NEW_THREAD = 1;

REPLY_MESSAGE_OR_FAIL

Creates the message as a reply to the thread specified by thread ID or thread_key. If a new thread_key is used, a new thread is created. If the message creation fails, a NOT_FOUND error is returned instead.

REPLY_MESSAGE_OR_FAIL = 2;

REPLY_MESSAGE_OR_FAIL_VALUE

Creates the message as a reply to the thread specified by thread ID or thread_key. If a new thread_key is used, a new thread is created. If the message creation fails, a NOT_FOUND error is returned instead.

REPLY_MESSAGE_OR_FAIL = 2;

UNRECOGNIZED

Static Methods

Name Description
forNumber(int value)
getDescriptor()
internalGetValueMap()
valueOf(Descriptors.EnumValueDescriptor desc)
valueOf(int value)

Deprecated. Use #forNumber(int) instead.

valueOf(String name)
values()

Methods

Name Description
getDescriptorForType()
getNumber()
getValueDescriptor()