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
@Generated
public interface PartOfSpeechOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionThe grammatical aspect.intThe grammatical aspect.getCase()The grammatical case.intThe grammatical case.getForm()The grammatical form.intThe grammatical form.The grammatical gender.intThe grammatical gender.getMood()The grammatical mood.intThe grammatical mood.The grammatical number.intThe grammatical number.The grammatical person.intThe grammatical person.The grammatical properness.intThe grammatical properness.The grammatical reciprocity.intThe grammatical reciprocity.getTag()The part of speech tag.intThe part of speech tag.getTense()The grammatical tense.intThe grammatical tense.getVoice()The grammatical voice.intThe grammatical voice.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
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.
-