Enum HistoryState (0.10.0)

public enum HistoryState extends Enum<HistoryState> implements ProtocolMessageEnum

The history state for messages and spaces. Specifies how long messages and conversation threads are kept after creation.

Protobuf enum google.chat.v1.HistoryState

Implements

ProtocolMessageEnum

Static Fields

Name Description
HISTORY_OFF

History off. Messages and threads are kept for 24 hours.

HISTORY_OFF = 1;

HISTORY_OFF_VALUE

History off. Messages and threads are kept for 24 hours.

HISTORY_OFF = 1;

HISTORY_ON

History on. The organization's Vault retention rules specify for how long messages and threads are kept.

HISTORY_ON = 2;

HISTORY_ON_VALUE

History on. The organization's Vault retention rules specify for how long messages and threads are kept.

HISTORY_ON = 2;

HISTORY_STATE_UNSPECIFIED

Default value. Do not use.

HISTORY_STATE_UNSPECIFIED = 0;

HISTORY_STATE_UNSPECIFIED_VALUE

Default value. Do not use.

HISTORY_STATE_UNSPECIFIED = 0;

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