Enum PartOfSpeech.Voice (2.12.0)

publicenumPartOfSpeech.VoiceextendsEnum<PartOfSpeech.Voice>implementsProtocolMessageEnum

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

Name Description
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

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

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年10月30日 UTC.