Enum Availability.State (0.59.0)

public enum Availability.State extends Enum<Availability.State> implements ProtocolMessageEnum

Represents the current availability state of the user.

Protobuf enum google.chat.v1.Availability.State

Implements

ProtocolMessageEnum

Static Fields

Name Description
ACTIVE

The user is currently active, based on recent activity.

ACTIVE = 1;

ACTIVE_VALUE

The user is currently active, based on recent activity.

ACTIVE = 1;

AWAY

The user is currently away. This can be either automatically set after a period of inactivity in ACTIVE or IDLE state, or it can be manually set by the user. When manually set via MarkAsAway, this state persists regardless of user activity.

AWAY = 3;

AWAY_VALUE

The user is currently away. This can be either automatically set after a period of inactivity in ACTIVE or IDLE state, or it can be manually set by the user. When manually set via MarkAsAway, this state persists regardless of user activity.

AWAY = 3;

DO_NOT_DISTURB

The user is in Do Not Disturb state, which is manually set.

DO_NOT_DISTURB = 4;

DO_NOT_DISTURB_VALUE

The user is in Do Not Disturb state, which is manually set.

DO_NOT_DISTURB = 4;

IDLE

The user is currently idle. This state indicates a period of inactivity after being ACTIVE, before potentially transitioning to AWAY.

IDLE = 2;

IDLE_VALUE

The user is currently idle. This state indicates a period of inactivity after being ACTIVE, before potentially transitioning to AWAY.

IDLE = 2;

STATE_UNSPECIFIED

Default value. The state is unspecified.

STATE_UNSPECIFIED = 0;

STATE_UNSPECIFIED_VALUE

Default value. The state is unspecified.

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