Class PartOfSpeech.Builder (2.8.0)
Stay organized with collections
Save and categorize content based on your preferences.
- 2.79.0 (latest)
- 2.77.0
- 2.76.0
- 2.75.0
- 2.74.0
- 2.73.0
- 2.71.0
- 2.69.0
- 2.68.0
- 2.65.0
- 2.64.0
- 2.63.0
- 2.61.0
- 2.60.0
- 2.59.0
- 2.58.0
- 2.57.0
- 2.56.0
- 2.55.0
- 2.54.0
- 2.53.0
- 2.52.0
- 2.50.0
- 2.49.0
- 2.48.0
- 2.47.0
- 2.46.0
- 2.45.0
- 2.44.0
- 2.43.0
- 2.42.0
- 2.41.0
- 2.40.0
- 2.38.0
- 2.37.0
- 2.36.0
- 2.35.0
- 2.34.0
- 2.33.0
- 2.32.0
- 2.31.0
- 2.30.0
- 2.29.0
- 2.28.0
- 2.25.0
- 2.24.0
- 2.23.0
- 2.22.0
- 2.21.0
- 2.20.0
- 2.19.0
- 2.18.0
- 2.17.0
- 2.16.0
- 2.15.0
- 2.14.0
- 2.13.0
- 2.12.0
- 2.10.0
- 2.9.0
- 2.8.0
- 2.7.0
- 2.6.0
- 2.5.0
- 2.4.1
- 2.3.4
- 2.2.0
- 2.1.10
publicstaticfinalclass PartOfSpeech.BuilderextendsGeneratedMessageV3.Builder<PartOfSpeech.Builder>implementsPartOfSpeechOrBuilderRepresents part of speech information for a token. Parts of speech are as defined in http://www.lrec-conf.org/proceedings/lrec2012/pdf/274_Paper.pdf
Protobuf type google.cloud.language.v1.PartOfSpeech
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > PartOfSpeech.BuilderImplements
PartOfSpeechOrBuilderInherited Members
Static Methods
getDescriptor()
publicstaticfinalDescriptors.DescriptorgetDescriptor()Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
publicPartOfSpeech.BuilderaddRepeatedField(Descriptors.FieldDescriptorfield,Objectvalue)build()
publicPartOfSpeechbuild()buildPartial()
publicPartOfSpeechbuildPartial()clear()
publicPartOfSpeech.Builderclear()clearAspect()
publicPartOfSpeech.BuilderclearAspect()The grammatical aspect.
.google.cloud.language.v1.PartOfSpeech.Aspect aspect = 2;
This builder for chaining.
clearCase()
publicPartOfSpeech.BuilderclearCase()The grammatical case.
.google.cloud.language.v1.PartOfSpeech.Case case = 3;
This builder for chaining.
clearField(Descriptors.FieldDescriptor field)
publicPartOfSpeech.BuilderclearField(Descriptors.FieldDescriptorfield)clearForm()
publicPartOfSpeech.BuilderclearForm()The grammatical form.
.google.cloud.language.v1.PartOfSpeech.Form form = 4;
This builder for chaining.
clearGender()
publicPartOfSpeech.BuilderclearGender()The grammatical gender.
.google.cloud.language.v1.PartOfSpeech.Gender gender = 5;
This builder for chaining.
clearMood()
publicPartOfSpeech.BuilderclearMood()The grammatical mood.
.google.cloud.language.v1.PartOfSpeech.Mood mood = 6;
This builder for chaining.
clearNumber()
publicPartOfSpeech.BuilderclearNumber()The grammatical number.
.google.cloud.language.v1.PartOfSpeech.Number number = 7;
This builder for chaining.
clearOneof(Descriptors.OneofDescriptor oneof)
publicPartOfSpeech.BuilderclearOneof(Descriptors.OneofDescriptoroneof)clearPerson()
publicPartOfSpeech.BuilderclearPerson()The grammatical person.
.google.cloud.language.v1.PartOfSpeech.Person person = 8;
This builder for chaining.
clearProper()
publicPartOfSpeech.BuilderclearProper()The grammatical properness.
.google.cloud.language.v1.PartOfSpeech.Proper proper = 9;
This builder for chaining.
clearReciprocity()
publicPartOfSpeech.BuilderclearReciprocity()The grammatical reciprocity.
.google.cloud.language.v1.PartOfSpeech.Reciprocity reciprocity = 10;
This builder for chaining.
clearTag()
publicPartOfSpeech.BuilderclearTag()The part of speech tag.
.google.cloud.language.v1.PartOfSpeech.Tag tag = 1;
This builder for chaining.
clearTense()
publicPartOfSpeech.BuilderclearTense()The grammatical tense.
.google.cloud.language.v1.PartOfSpeech.Tense tense = 11;
This builder for chaining.
clearVoice()
publicPartOfSpeech.BuilderclearVoice()The grammatical voice.
.google.cloud.language.v1.PartOfSpeech.Voice voice = 12;
This builder for chaining.
clone()
publicPartOfSpeech.Builderclone()getAspect()
publicPartOfSpeech.AspectgetAspect()The grammatical aspect.
.google.cloud.language.v1.PartOfSpeech.Aspect aspect = 2;
The aspect.
getAspectValue()
publicintgetAspectValue()The grammatical aspect.
.google.cloud.language.v1.PartOfSpeech.Aspect aspect = 2;
The enum numeric value on the wire for aspect.
getCase()
publicPartOfSpeech.CasegetCase()The grammatical case.
.google.cloud.language.v1.PartOfSpeech.Case case = 3;
The case.
getCaseValue()
publicintgetCaseValue()The grammatical case.
.google.cloud.language.v1.PartOfSpeech.Case case = 3;
The enum numeric value on the wire for case.
getDefaultInstanceForType()
publicPartOfSpeechgetDefaultInstanceForType()getDescriptorForType()
publicDescriptors.DescriptorgetDescriptorForType()getForm()
publicPartOfSpeech.FormgetForm()The grammatical form.
.google.cloud.language.v1.PartOfSpeech.Form form = 4;
The form.
getFormValue()
publicintgetFormValue()The grammatical form.
.google.cloud.language.v1.PartOfSpeech.Form form = 4;
The enum numeric value on the wire for form.
getGender()
publicPartOfSpeech.GendergetGender()The grammatical gender.
.google.cloud.language.v1.PartOfSpeech.Gender gender = 5;
The gender.
getGenderValue()
publicintgetGenderValue()The grammatical gender.
.google.cloud.language.v1.PartOfSpeech.Gender gender = 5;
The enum numeric value on the wire for gender.
getMood()
publicPartOfSpeech.MoodgetMood()The grammatical mood.
.google.cloud.language.v1.PartOfSpeech.Mood mood = 6;
The mood.
getMoodValue()
publicintgetMoodValue()The grammatical mood.
.google.cloud.language.v1.PartOfSpeech.Mood mood = 6;
The enum numeric value on the wire for mood.
getNumber()
publicPartOfSpeech.NumbergetNumber()The grammatical number.
.google.cloud.language.v1.PartOfSpeech.Number number = 7;
The number.
getNumberValue()
publicintgetNumberValue()The grammatical number.
.google.cloud.language.v1.PartOfSpeech.Number number = 7;
The enum numeric value on the wire for number.
getPerson()
publicPartOfSpeech.PersongetPerson()The grammatical person.
.google.cloud.language.v1.PartOfSpeech.Person person = 8;
The person.
getPersonValue()
publicintgetPersonValue()The grammatical person.
.google.cloud.language.v1.PartOfSpeech.Person person = 8;
The enum numeric value on the wire for person.
getProper()
publicPartOfSpeech.PropergetProper()The grammatical properness.
.google.cloud.language.v1.PartOfSpeech.Proper proper = 9;
The proper.
getProperValue()
publicintgetProperValue()The grammatical properness.
.google.cloud.language.v1.PartOfSpeech.Proper proper = 9;
The enum numeric value on the wire for proper.
getReciprocity()
publicPartOfSpeech.ReciprocitygetReciprocity()The grammatical reciprocity.
.google.cloud.language.v1.PartOfSpeech.Reciprocity reciprocity = 10;
The reciprocity.
getReciprocityValue()
publicintgetReciprocityValue()The grammatical reciprocity.
.google.cloud.language.v1.PartOfSpeech.Reciprocity reciprocity = 10;
The enum numeric value on the wire for reciprocity.
getTag()
publicPartOfSpeech.TaggetTag()The part of speech tag.
.google.cloud.language.v1.PartOfSpeech.Tag tag = 1;
The tag.
getTagValue()
publicintgetTagValue()The part of speech tag.
.google.cloud.language.v1.PartOfSpeech.Tag tag = 1;
The enum numeric value on the wire for tag.
getTense()
publicPartOfSpeech.TensegetTense()The grammatical tense.
.google.cloud.language.v1.PartOfSpeech.Tense tense = 11;
The tense.
getTenseValue()
publicintgetTenseValue()The grammatical tense.
.google.cloud.language.v1.PartOfSpeech.Tense tense = 11;
The enum numeric value on the wire for tense.
getVoice()
publicPartOfSpeech.VoicegetVoice()The grammatical voice.
.google.cloud.language.v1.PartOfSpeech.Voice voice = 12;
The voice.
getVoiceValue()
publicintgetVoiceValue()The grammatical voice.
.google.cloud.language.v1.PartOfSpeech.Voice voice = 12;
The enum numeric value on the wire for voice.
internalGetFieldAccessorTable()
protectedGeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()isInitialized()
publicfinalbooleanisInitialized()mergeFrom(PartOfSpeech other)
publicPartOfSpeech.BuildermergeFrom(PartOfSpeechother)mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
publicPartOfSpeech.BuildermergeFrom(CodedInputStreaminput,ExtensionRegistryLiteextensionRegistry)mergeFrom(Message other)
publicPartOfSpeech.BuildermergeFrom(Messageother)mergeUnknownFields(UnknownFieldSet unknownFields)
publicfinalPartOfSpeech.BuildermergeUnknownFields(UnknownFieldSetunknownFields)setAspect(PartOfSpeech.Aspect value)
publicPartOfSpeech.BuildersetAspect(PartOfSpeech.Aspectvalue)The grammatical aspect.
.google.cloud.language.v1.PartOfSpeech.Aspect aspect = 2;
This builder for chaining.
setAspectValue(int value)
publicPartOfSpeech.BuildersetAspectValue(intvalue)The grammatical aspect.
.google.cloud.language.v1.PartOfSpeech.Aspect aspect = 2;
This builder for chaining.
setCase(PartOfSpeech.Case value)
publicPartOfSpeech.BuildersetCase(PartOfSpeech.Casevalue)The grammatical case.
.google.cloud.language.v1.PartOfSpeech.Case case = 3;
This builder for chaining.
setCaseValue(int value)
publicPartOfSpeech.BuildersetCaseValue(intvalue)The grammatical case.
.google.cloud.language.v1.PartOfSpeech.Case case = 3;
This builder for chaining.
setField(Descriptors.FieldDescriptor field, Object value)
publicPartOfSpeech.BuildersetField(Descriptors.FieldDescriptorfield,Objectvalue)setForm(PartOfSpeech.Form value)
publicPartOfSpeech.BuildersetForm(PartOfSpeech.Formvalue)The grammatical form.
.google.cloud.language.v1.PartOfSpeech.Form form = 4;
This builder for chaining.
setFormValue(int value)
publicPartOfSpeech.BuildersetFormValue(intvalue)The grammatical form.
.google.cloud.language.v1.PartOfSpeech.Form form = 4;
This builder for chaining.
setGender(PartOfSpeech.Gender value)
publicPartOfSpeech.BuildersetGender(PartOfSpeech.Gendervalue)The grammatical gender.
.google.cloud.language.v1.PartOfSpeech.Gender gender = 5;
This builder for chaining.
setGenderValue(int value)
publicPartOfSpeech.BuildersetGenderValue(intvalue)The grammatical gender.
.google.cloud.language.v1.PartOfSpeech.Gender gender = 5;
This builder for chaining.
setMood(PartOfSpeech.Mood value)
publicPartOfSpeech.BuildersetMood(PartOfSpeech.Moodvalue)The grammatical mood.
.google.cloud.language.v1.PartOfSpeech.Mood mood = 6;
This builder for chaining.
setMoodValue(int value)
publicPartOfSpeech.BuildersetMoodValue(intvalue)The grammatical mood.
.google.cloud.language.v1.PartOfSpeech.Mood mood = 6;
This builder for chaining.
setNumber(PartOfSpeech.Number value)
publicPartOfSpeech.BuildersetNumber(PartOfSpeech.Numbervalue)The grammatical number.
.google.cloud.language.v1.PartOfSpeech.Number number = 7;
This builder for chaining.
setNumberValue(int value)
publicPartOfSpeech.BuildersetNumberValue(intvalue)The grammatical number.
.google.cloud.language.v1.PartOfSpeech.Number number = 7;
This builder for chaining.
setPerson(PartOfSpeech.Person value)
publicPartOfSpeech.BuildersetPerson(PartOfSpeech.Personvalue)The grammatical person.
.google.cloud.language.v1.PartOfSpeech.Person person = 8;
This builder for chaining.
setPersonValue(int value)
publicPartOfSpeech.BuildersetPersonValue(intvalue)The grammatical person.
.google.cloud.language.v1.PartOfSpeech.Person person = 8;
This builder for chaining.
setProper(PartOfSpeech.Proper value)
publicPartOfSpeech.BuildersetProper(PartOfSpeech.Propervalue)The grammatical properness.
.google.cloud.language.v1.PartOfSpeech.Proper proper = 9;
This builder for chaining.
setProperValue(int value)
publicPartOfSpeech.BuildersetProperValue(intvalue)The grammatical properness.
.google.cloud.language.v1.PartOfSpeech.Proper proper = 9;
This builder for chaining.
setReciprocity(PartOfSpeech.Reciprocity value)
publicPartOfSpeech.BuildersetReciprocity(PartOfSpeech.Reciprocityvalue)The grammatical reciprocity.
.google.cloud.language.v1.PartOfSpeech.Reciprocity reciprocity = 10;
This builder for chaining.
setReciprocityValue(int value)
publicPartOfSpeech.BuildersetReciprocityValue(intvalue)The grammatical reciprocity.
.google.cloud.language.v1.PartOfSpeech.Reciprocity reciprocity = 10;
This builder for chaining.
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
publicPartOfSpeech.BuildersetRepeatedField(Descriptors.FieldDescriptorfield,intindex,Objectvalue)setTag(PartOfSpeech.Tag value)
publicPartOfSpeech.BuildersetTag(PartOfSpeech.Tagvalue)The part of speech tag.
.google.cloud.language.v1.PartOfSpeech.Tag tag = 1;
This builder for chaining.
setTagValue(int value)
publicPartOfSpeech.BuildersetTagValue(intvalue)The part of speech tag.
.google.cloud.language.v1.PartOfSpeech.Tag tag = 1;
This builder for chaining.
setTense(PartOfSpeech.Tense value)
publicPartOfSpeech.BuildersetTense(PartOfSpeech.Tensevalue)The grammatical tense.
.google.cloud.language.v1.PartOfSpeech.Tense tense = 11;
This builder for chaining.
setTenseValue(int value)
publicPartOfSpeech.BuildersetTenseValue(intvalue)The grammatical tense.
.google.cloud.language.v1.PartOfSpeech.Tense tense = 11;
This builder for chaining.
setUnknownFields(UnknownFieldSet unknownFields)
publicfinalPartOfSpeech.BuildersetUnknownFields(UnknownFieldSetunknownFields)setVoice(PartOfSpeech.Voice value)
publicPartOfSpeech.BuildersetVoice(PartOfSpeech.Voicevalue)The grammatical voice.
.google.cloud.language.v1.PartOfSpeech.Voice voice = 12;
This builder for chaining.
setVoiceValue(int value)
publicPartOfSpeech.BuildersetVoiceValue(intvalue)The grammatical voice.
.google.cloud.language.v1.PartOfSpeech.Voice voice = 12;
This builder for chaining.