Enum Role (0.27.0)

public enum Role extends Enum<Role> implements ProtocolMessageEnum

Role indicates the sender of a message.

Protobuf enum google.cloud.geminidataanalytics.v1beta.Role

Implements

ProtocolMessageEnum

Static Fields

Name Description
ROLE_AGENT

AGENT role refers to communication from the server to the client.

ROLE_AGENT = 2;

ROLE_AGENT_VALUE

AGENT role refers to communication from the server to the client.

ROLE_AGENT = 2;

ROLE_UNSPECIFIED

Default unspecified role.

ROLE_UNSPECIFIED = 0;

ROLE_UNSPECIFIED_VALUE

Default unspecified role.

ROLE_UNSPECIFIED = 0;

ROLE_USER

USER role refers to communication from the client to the server.

ROLE_USER = 1;

ROLE_USER_VALUE

USER role refers to communication from the client to the server.

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