Enum Membership.MembershipState (0.7.0)

public enum Membership.MembershipState extends Enum<Membership.MembershipState> implements ProtocolMessageEnum

Specifies the member's relationship with a space. Other membership states might be supported in the future.

Protobuf enum google.chat.v1.Membership.MembershipState

Implements

ProtocolMessageEnum

Static Fields

Name Description
INVITED

The user is invited to join the space, but hasn't joined it.

INVITED = 2;

INVITED_VALUE

The user is invited to join the space, but hasn't joined it.

INVITED = 2;

JOINED

The user is added to the space, and can participate in the space.

JOINED = 1;

JOINED_VALUE

The user is added to the space, and can participate in the space.

JOINED = 1;

MEMBERSHIP_STATE_UNSPECIFIED

Default value. Don't use.

MEMBERSHIP_STATE_UNSPECIFIED = 0;

MEMBERSHIP_STATE_UNSPECIFIED_VALUE

Default value. Don't use.

MEMBERSHIP_STATE_UNSPECIFIED = 0;

NOT_A_MEMBER

The user doesn't belong to the space and doesn't have a pending invitation to join the space.

NOT_A_MEMBER = 3;

NOT_A_MEMBER_VALUE

The user doesn't belong to the space and doesn't have a pending invitation to join the space.

NOT_A_MEMBER = 3;

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