Enum CreateMessageRequest.MessageReplyOption (0.18.0)

publicenumCreateMessageRequest.MessageReplyOptionextendsEnum<CreateMessageRequest.MessageReplyOption>implementsProtocolMessageEnum

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()

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年10月30日 UTC.