Enum Membership.MembershipRole (0.6.0)

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

Represents a user's permitted actions in a Chat space. More enum values might be added in the future.

Protobuf enum google.chat.v1.Membership.MembershipRole

Implements

ProtocolMessageEnum

Static Fields

Name Description
MEMBERSHIP_ROLE_UNSPECIFIED

Default value. For users: they aren't a member of the space, but can be invited. For Google Groups: they're always assigned this role (other enum values might be used in the future).

MEMBERSHIP_ROLE_UNSPECIFIED = 0;

MEMBERSHIP_ROLE_UNSPECIFIED_VALUE

Default value. For users: they aren't a member of the space, but can be invited. For Google Groups: they're always assigned this role (other enum values might be used in the future).

MEMBERSHIP_ROLE_UNSPECIFIED = 0;

ROLE_MANAGER

A space manager. The user has all basic permissions plus administrative permissions that let them manage the space, like adding or removing members. Only supported in SpaceType.SPACE.

ROLE_MANAGER = 2;

ROLE_MANAGER_VALUE

A space manager. The user has all basic permissions plus administrative permissions that let them manage the space, like adding or removing members. Only supported in SpaceType.SPACE.

ROLE_MANAGER = 2;

ROLE_MEMBER

A member of the space. The user has basic permissions, like sending messages to the space. In 1:1 and unnamed group conversations, everyone has this role.

ROLE_MEMBER = 1;

ROLE_MEMBER_VALUE

A member of the space. The user has basic permissions, like sending messages to the space. In 1:1 and unnamed group conversations, everyone has this role.

ROLE_MEMBER = 1;

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