Package com.google.cloud.language.v1
Interface PartOfSpeechOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
PartOfSpeech,PartOfSpeech.Builder
public interface PartOfSpeechOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description PartOfSpeech.AspectgetAspect()The grammatical aspect.intgetAspectValue()The grammatical aspect.PartOfSpeech.CasegetCase()The grammatical case.intgetCaseValue()The grammatical case.PartOfSpeech.FormgetForm()The grammatical form.intgetFormValue()The grammatical form.PartOfSpeech.GendergetGender()The grammatical gender.intgetGenderValue()The grammatical gender.PartOfSpeech.MoodgetMood()The grammatical mood.intgetMoodValue()The grammatical mood.PartOfSpeech.NumbergetNumber()The grammatical number.intgetNumberValue()The grammatical number.PartOfSpeech.PersongetPerson()The grammatical person.intgetPersonValue()The grammatical person.PartOfSpeech.PropergetProper()The grammatical properness.intgetProperValue()The grammatical properness.PartOfSpeech.ReciprocitygetReciprocity()The grammatical reciprocity.intgetReciprocityValue()The grammatical reciprocity.PartOfSpeech.TaggetTag()The part of speech tag.intgetTagValue()The part of speech tag.PartOfSpeech.TensegetTense()The grammatical tense.intgetTenseValue()The grammatical tense.PartOfSpeech.VoicegetVoice()The grammatical voice.intgetVoiceValue()The grammatical voice.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getTagValue
int getTagValue()
The part of speech tag.
.google.cloud.language.v1.PartOfSpeech.Tag tag = 1;- Returns:
- The enum numeric value on the wire for tag.
-
getTag
PartOfSpeech.Tag getTag()
The part of speech tag.
.google.cloud.language.v1.PartOfSpeech.Tag tag = 1;- Returns:
- The tag.
-
getAspectValue
int getAspectValue()
The grammatical aspect.
.google.cloud.language.v1.PartOfSpeech.Aspect aspect = 2;- Returns:
- The enum numeric value on the wire for aspect.
-
getAspect
PartOfSpeech.Aspect getAspect()
The grammatical aspect.
.google.cloud.language.v1.PartOfSpeech.Aspect aspect = 2;- Returns:
- The aspect.
-
getCaseValue
int getCaseValue()
The grammatical case.
.google.cloud.language.v1.PartOfSpeech.Case case = 3;- Returns:
- The enum numeric value on the wire for case.
-
getCase
PartOfSpeech.Case getCase()
The grammatical case.
.google.cloud.language.v1.PartOfSpeech.Case case = 3;- Returns:
- The case.
-
getFormValue
int getFormValue()
The grammatical form.
.google.cloud.language.v1.PartOfSpeech.Form form = 4;- Returns:
- The enum numeric value on the wire for form.
-
getForm
PartOfSpeech.Form getForm()
The grammatical form.
.google.cloud.language.v1.PartOfSpeech.Form form = 4;- Returns:
- The form.
-
getGenderValue
int getGenderValue()
The grammatical gender.
.google.cloud.language.v1.PartOfSpeech.Gender gender = 5;- Returns:
- The enum numeric value on the wire for gender.
-
getGender
PartOfSpeech.Gender getGender()
The grammatical gender.
.google.cloud.language.v1.PartOfSpeech.Gender gender = 5;- Returns:
- The gender.
-
getMoodValue
int getMoodValue()
The grammatical mood.
.google.cloud.language.v1.PartOfSpeech.Mood mood = 6;- Returns:
- The enum numeric value on the wire for mood.
-
getMood
PartOfSpeech.Mood getMood()
The grammatical mood.
.google.cloud.language.v1.PartOfSpeech.Mood mood = 6;- Returns:
- The mood.
-
getNumberValue
int getNumberValue()
The grammatical number.
.google.cloud.language.v1.PartOfSpeech.Number number = 7;- Returns:
- The enum numeric value on the wire for number.
-
getNumber
PartOfSpeech.Number getNumber()
The grammatical number.
.google.cloud.language.v1.PartOfSpeech.Number number = 7;- Returns:
- The number.
-
getPersonValue
int getPersonValue()
The grammatical person.
.google.cloud.language.v1.PartOfSpeech.Person person = 8;- Returns:
- The enum numeric value on the wire for person.
-
getPerson
PartOfSpeech.Person getPerson()
The grammatical person.
.google.cloud.language.v1.PartOfSpeech.Person person = 8;- Returns:
- The person.
-
getProperValue
int getProperValue()
The grammatical properness.
.google.cloud.language.v1.PartOfSpeech.Proper proper = 9;- Returns:
- The enum numeric value on the wire for proper.
-
getProper
PartOfSpeech.Proper getProper()
The grammatical properness.
.google.cloud.language.v1.PartOfSpeech.Proper proper = 9;- Returns:
- The proper.
-
getReciprocityValue
int getReciprocityValue()
The grammatical reciprocity.
.google.cloud.language.v1.PartOfSpeech.Reciprocity reciprocity = 10;- Returns:
- The enum numeric value on the wire for reciprocity.
-
getReciprocity
PartOfSpeech.Reciprocity getReciprocity()
The grammatical reciprocity.
.google.cloud.language.v1.PartOfSpeech.Reciprocity reciprocity = 10;- Returns:
- The reciprocity.
-
getTenseValue
int getTenseValue()
The grammatical tense.
.google.cloud.language.v1.PartOfSpeech.Tense tense = 11;- Returns:
- The enum numeric value on the wire for tense.
-
getTense
PartOfSpeech.Tense getTense()
The grammatical tense.
.google.cloud.language.v1.PartOfSpeech.Tense tense = 11;- Returns:
- The tense.
-
getVoiceValue
int getVoiceValue()
The grammatical voice.
.google.cloud.language.v1.PartOfSpeech.Voice voice = 12;- Returns:
- The enum numeric value on the wire for voice.
-
getVoice
PartOfSpeech.Voice getVoice()
The grammatical voice.
.google.cloud.language.v1.PartOfSpeech.Voice voice = 12;- Returns:
- The voice.
-
-