Enum PartOfSpeech.Voice (2.30.0)

public enum PartOfSpeech.Voice extends Enum<PartOfSpeech.Voice> implements ProtocolMessageEnum

The relationship between the action that a verb expresses and the participants identified by its arguments.

Protobuf enum google.cloud.language.v1beta2.PartOfSpeech.Voice

Implements

ProtocolMessageEnum

Static Fields

NameDescription
ACTIVE

Active

ACTIVE = 1;

ACTIVE_VALUE

Active

ACTIVE = 1;

CAUSATIVE

Causative

CAUSATIVE = 2;

CAUSATIVE_VALUE

Causative

CAUSATIVE = 2;

PASSIVE

Passive

PASSIVE = 3;

PASSIVE_VALUE

Passive

PASSIVE = 3;

UNRECOGNIZED
VOICE_UNKNOWN

Voice is not applicable in the analyzed language or is not predicted.

VOICE_UNKNOWN = 0;

VOICE_UNKNOWN_VALUE

Voice is not applicable in the analyzed language or is not predicted.

VOICE_UNKNOWN = 0;

Static Methods

NameDescription
forNumber(int value)
getDescriptor()
internalGetValueMap()
valueOf(Descriptors.EnumValueDescriptor desc)
valueOf(int value)

Deprecated. Use #forNumber(int) instead.

valueOf(String name)
values()

Methods

NameDescription
getDescriptorForType()
getNumber()
getValueDescriptor()