Interface PartOfSpeechOrBuilder (2.17.0)

publicinterface PartOfSpeechOrBuilderextendsMessageOrBuilder

Implements

MessageOrBuilder

Methods

getAspect()

publicabstractPartOfSpeech.AspectgetAspect()

The grammatical aspect.

.google.cloud.language.v1.PartOfSpeech.Aspect aspect = 2;

Returns
Type Description
PartOfSpeech.Aspect

The aspect.

getAspectValue()

publicabstractintgetAspectValue()

The grammatical aspect.

.google.cloud.language.v1.PartOfSpeech.Aspect aspect = 2;

Returns
Type Description
int

The enum numeric value on the wire for aspect.

getCase()

publicabstractPartOfSpeech.CasegetCase()

The grammatical case.

.google.cloud.language.v1.PartOfSpeech.Case case = 3;

Returns
Type Description
PartOfSpeech.Case

The case.

getCaseValue()

publicabstractintgetCaseValue()

The grammatical case.

.google.cloud.language.v1.PartOfSpeech.Case case = 3;

Returns
Type Description
int

The enum numeric value on the wire for case.

getForm()

publicabstractPartOfSpeech.FormgetForm()

The grammatical form.

.google.cloud.language.v1.PartOfSpeech.Form form = 4;

Returns
Type Description
PartOfSpeech.Form

The form.

getFormValue()

publicabstractintgetFormValue()

The grammatical form.

.google.cloud.language.v1.PartOfSpeech.Form form = 4;

Returns
Type Description
int

The enum numeric value on the wire for form.

getGender()

publicabstractPartOfSpeech.GendergetGender()

The grammatical gender.

.google.cloud.language.v1.PartOfSpeech.Gender gender = 5;

Returns
Type Description
PartOfSpeech.Gender

The gender.

getGenderValue()

publicabstractintgetGenderValue()

The grammatical gender.

.google.cloud.language.v1.PartOfSpeech.Gender gender = 5;

Returns
Type Description
int

The enum numeric value on the wire for gender.

getMood()

publicabstractPartOfSpeech.MoodgetMood()

The grammatical mood.

.google.cloud.language.v1.PartOfSpeech.Mood mood = 6;

Returns
Type Description
PartOfSpeech.Mood

The mood.

getMoodValue()

publicabstractintgetMoodValue()

The grammatical mood.

.google.cloud.language.v1.PartOfSpeech.Mood mood = 6;

Returns
Type Description
int

The enum numeric value on the wire for mood.

getNumber()

publicabstractPartOfSpeech.NumbergetNumber()

The grammatical number.

.google.cloud.language.v1.PartOfSpeech.Number number = 7;

Returns
Type Description
PartOfSpeech.Number

The number.

getNumberValue()

publicabstractintgetNumberValue()

The grammatical number.

.google.cloud.language.v1.PartOfSpeech.Number number = 7;

Returns
Type Description
int

The enum numeric value on the wire for number.

getPerson()

publicabstractPartOfSpeech.PersongetPerson()

The grammatical person.

.google.cloud.language.v1.PartOfSpeech.Person person = 8;

Returns
Type Description
PartOfSpeech.Person

The person.

getPersonValue()

publicabstractintgetPersonValue()

The grammatical person.

.google.cloud.language.v1.PartOfSpeech.Person person = 8;

Returns
Type Description
int

The enum numeric value on the wire for person.

getProper()

publicabstractPartOfSpeech.PropergetProper()

The grammatical properness.

.google.cloud.language.v1.PartOfSpeech.Proper proper = 9;

Returns
Type Description
PartOfSpeech.Proper

The proper.

getProperValue()

publicabstractintgetProperValue()

The grammatical properness.

.google.cloud.language.v1.PartOfSpeech.Proper proper = 9;

Returns
Type Description
int

The enum numeric value on the wire for proper.

getReciprocity()

publicabstractPartOfSpeech.ReciprocitygetReciprocity()

The grammatical reciprocity.

.google.cloud.language.v1.PartOfSpeech.Reciprocity reciprocity = 10;

Returns
Type Description
PartOfSpeech.Reciprocity

The reciprocity.

getReciprocityValue()

publicabstractintgetReciprocityValue()

The grammatical reciprocity.

.google.cloud.language.v1.PartOfSpeech.Reciprocity reciprocity = 10;

Returns
Type Description
int

The enum numeric value on the wire for reciprocity.

getTag()

publicabstractPartOfSpeech.TaggetTag()

The part of speech tag.

.google.cloud.language.v1.PartOfSpeech.Tag tag = 1;

Returns
Type Description
PartOfSpeech.Tag

The tag.

getTagValue()

publicabstractintgetTagValue()

The part of speech tag.

.google.cloud.language.v1.PartOfSpeech.Tag tag = 1;

Returns
Type Description
int

The enum numeric value on the wire for tag.

getTense()

publicabstractPartOfSpeech.TensegetTense()

The grammatical tense.

.google.cloud.language.v1.PartOfSpeech.Tense tense = 11;

Returns
Type Description
PartOfSpeech.Tense

The tense.

getTenseValue()

publicabstractintgetTenseValue()

The grammatical tense.

.google.cloud.language.v1.PartOfSpeech.Tense tense = 11;

Returns
Type Description
int

The enum numeric value on the wire for tense.

getVoice()

publicabstractPartOfSpeech.VoicegetVoice()

The grammatical voice.

.google.cloud.language.v1.PartOfSpeech.Voice voice = 12;

Returns
Type Description
PartOfSpeech.Voice

The voice.

getVoiceValue()

publicabstractintgetVoiceValue()

The grammatical voice.

.google.cloud.language.v1.PartOfSpeech.Voice voice = 12;

Returns
Type Description
int

The enum numeric value on the wire for voice.

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.