public static final class PartOfSpeech.Builder extends GeneratedMessageV3.Builder<PartOfSpeech.Builder> implements PartOfSpeechOrBuilder
Represents part of speech information for a token.Protobuf type
google.cloud.language.v1beta2.PartOfSpeech
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
mergeFrom
public static final Descriptors.Descriptor getDescriptor()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class GeneratedMessageV3.Builder<PartOfSpeech.Builder>
public PartOfSpeech.Builder clear()
clear
in interface Message.Builder
clear
in interface MessageLite.Builder
clear
in class GeneratedMessageV3.Builder<PartOfSpeech.Builder>
public Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface Message.Builder
getDescriptorForType
in interface MessageOrBuilder
getDescriptorForType
in class GeneratedMessageV3.Builder<PartOfSpeech.Builder>
public PartOfSpeech getDefaultInstanceForType()
getDefaultInstanceForType
in interface MessageLiteOrBuilder
getDefaultInstanceForType
in interface MessageOrBuilder
public PartOfSpeech build()
build
in interface Message.Builder
build
in interface MessageLite.Builder
public PartOfSpeech buildPartial()
buildPartial
in interface Message.Builder
buildPartial
in interface MessageLite.Builder
public PartOfSpeech.Builder clone()
clone
in interface Message.Builder
clone
in interface MessageLite.Builder
clone
in class GeneratedMessageV3.Builder<PartOfSpeech.Builder>
public PartOfSpeech.Builder setField(Descriptors.FieldDescriptor field, java.lang.Object value)
setField
in interface Message.Builder
setField
in class GeneratedMessageV3.Builder<PartOfSpeech.Builder>
public PartOfSpeech.Builder clearField(Descriptors.FieldDescriptor field)
clearField
in interface Message.Builder
clearField
in class GeneratedMessageV3.Builder<PartOfSpeech.Builder>
public PartOfSpeech.Builder clearOneof(Descriptors.OneofDescriptor oneof)
clearOneof
in interface Message.Builder
clearOneof
in class GeneratedMessageV3.Builder<PartOfSpeech.Builder>
public PartOfSpeech.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, java.lang.Object value)
setRepeatedField
in interface Message.Builder
setRepeatedField
in class GeneratedMessageV3.Builder<PartOfSpeech.Builder>
public PartOfSpeech.Builder addRepeatedField(Descriptors.FieldDescriptor field, java.lang.Object value)
addRepeatedField
in interface Message.Builder
addRepeatedField
in class GeneratedMessageV3.Builder<PartOfSpeech.Builder>
public PartOfSpeech.Builder mergeFrom(Message other)
mergeFrom
in interface Message.Builder
mergeFrom
in class AbstractMessage.Builder<PartOfSpeech.Builder>
public PartOfSpeech.Builder mergeFrom(PartOfSpeech other)
public final boolean isInitialized()
isInitialized
in interface MessageLiteOrBuilder
isInitialized
in class GeneratedMessageV3.Builder<PartOfSpeech.Builder>
public PartOfSpeech.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
mergeFrom
in interface Message.Builder
mergeFrom
in interface MessageLite.Builder
mergeFrom
in class AbstractMessage.Builder<PartOfSpeech.Builder>
java.io.IOException
public int getTagValue()
The part of speech tag.
.google.cloud.language.v1beta2.PartOfSpeech.Tag tag = 1;
getTagValue
in interface PartOfSpeechOrBuilder
public PartOfSpeech.Builder setTagValue(int value)
The part of speech tag.
.google.cloud.language.v1beta2.PartOfSpeech.Tag tag = 1;
public PartOfSpeech.Tag getTag()
The part of speech tag.
.google.cloud.language.v1beta2.PartOfSpeech.Tag tag = 1;
getTag
in interface PartOfSpeechOrBuilder
public PartOfSpeech.Builder setTag(PartOfSpeech.Tag value)
The part of speech tag.
.google.cloud.language.v1beta2.PartOfSpeech.Tag tag = 1;
public PartOfSpeech.Builder clearTag()
The part of speech tag.
.google.cloud.language.v1beta2.PartOfSpeech.Tag tag = 1;
public int getAspectValue()
The grammatical aspect.
.google.cloud.language.v1beta2.PartOfSpeech.Aspect aspect = 2;
getAspectValue
in interface PartOfSpeechOrBuilder
public PartOfSpeech.Builder setAspectValue(int value)
The grammatical aspect.
.google.cloud.language.v1beta2.PartOfSpeech.Aspect aspect = 2;
public PartOfSpeech.Aspect getAspect()
The grammatical aspect.
.google.cloud.language.v1beta2.PartOfSpeech.Aspect aspect = 2;
getAspect
in interface PartOfSpeechOrBuilder
public PartOfSpeech.Builder setAspect(PartOfSpeech.Aspect value)
The grammatical aspect.
.google.cloud.language.v1beta2.PartOfSpeech.Aspect aspect = 2;
public PartOfSpeech.Builder clearAspect()
The grammatical aspect.
.google.cloud.language.v1beta2.PartOfSpeech.Aspect aspect = 2;
public int getCaseValue()
The grammatical case.
.google.cloud.language.v1beta2.PartOfSpeech.Case case = 3;
getCaseValue
in interface PartOfSpeechOrBuilder
public PartOfSpeech.Builder setCaseValue(int value)
The grammatical case.
.google.cloud.language.v1beta2.PartOfSpeech.Case case = 3;
public PartOfSpeech.Case getCase()
The grammatical case.
.google.cloud.language.v1beta2.PartOfSpeech.Case case = 3;
getCase
in interface PartOfSpeechOrBuilder
public PartOfSpeech.Builder setCase(PartOfSpeech.Case value)
The grammatical case.
.google.cloud.language.v1beta2.PartOfSpeech.Case case = 3;
public PartOfSpeech.Builder clearCase()
The grammatical case.
.google.cloud.language.v1beta2.PartOfSpeech.Case case = 3;
public int getFormValue()
The grammatical form.
.google.cloud.language.v1beta2.PartOfSpeech.Form form = 4;
getFormValue
in interface PartOfSpeechOrBuilder
public PartOfSpeech.Builder setFormValue(int value)
The grammatical form.
.google.cloud.language.v1beta2.PartOfSpeech.Form form = 4;
public PartOfSpeech.Form getForm()
The grammatical form.
.google.cloud.language.v1beta2.PartOfSpeech.Form form = 4;
getForm
in interface PartOfSpeechOrBuilder
public PartOfSpeech.Builder setForm(PartOfSpeech.Form value)
The grammatical form.
.google.cloud.language.v1beta2.PartOfSpeech.Form form = 4;
public PartOfSpeech.Builder clearForm()
The grammatical form.
.google.cloud.language.v1beta2.PartOfSpeech.Form form = 4;
public int getGenderValue()
The grammatical gender.
.google.cloud.language.v1beta2.PartOfSpeech.Gender gender = 5;
getGenderValue
in interface PartOfSpeechOrBuilder
public PartOfSpeech.Builder setGenderValue(int value)
The grammatical gender.
.google.cloud.language.v1beta2.PartOfSpeech.Gender gender = 5;
public PartOfSpeech.Gender getGender()
The grammatical gender.
.google.cloud.language.v1beta2.PartOfSpeech.Gender gender = 5;
getGender
in interface PartOfSpeechOrBuilder
public PartOfSpeech.Builder setGender(PartOfSpeech.Gender value)
The grammatical gender.
.google.cloud.language.v1beta2.PartOfSpeech.Gender gender = 5;
public PartOfSpeech.Builder clearGender()
The grammatical gender.
.google.cloud.language.v1beta2.PartOfSpeech.Gender gender = 5;
public int getMoodValue()
The grammatical mood.
.google.cloud.language.v1beta2.PartOfSpeech.Mood mood = 6;
getMoodValue
in interface PartOfSpeechOrBuilder
public PartOfSpeech.Builder setMoodValue(int value)
The grammatical mood.
.google.cloud.language.v1beta2.PartOfSpeech.Mood mood = 6;
public PartOfSpeech.Mood getMood()
The grammatical mood.
.google.cloud.language.v1beta2.PartOfSpeech.Mood mood = 6;
getMood
in interface PartOfSpeechOrBuilder
public PartOfSpeech.Builder setMood(PartOfSpeech.Mood value)
The grammatical mood.
.google.cloud.language.v1beta2.PartOfSpeech.Mood mood = 6;
public PartOfSpeech.Builder clearMood()
The grammatical mood.
.google.cloud.language.v1beta2.PartOfSpeech.Mood mood = 6;
public int getNumberValue()
The grammatical number.
.google.cloud.language.v1beta2.PartOfSpeech.Number number = 7;
getNumberValue
in interface PartOfSpeechOrBuilder
public PartOfSpeech.Builder setNumberValue(int value)
The grammatical number.
.google.cloud.language.v1beta2.PartOfSpeech.Number number = 7;
public PartOfSpeech.Number getNumber()
The grammatical number.
.google.cloud.language.v1beta2.PartOfSpeech.Number number = 7;
getNumber
in interface PartOfSpeechOrBuilder
public PartOfSpeech.Builder setNumber(PartOfSpeech.Number value)
The grammatical number.
.google.cloud.language.v1beta2.PartOfSpeech.Number number = 7;
public PartOfSpeech.Builder clearNumber()
The grammatical number.
.google.cloud.language.v1beta2.PartOfSpeech.Number number = 7;
public int getPersonValue()
The grammatical person.
.google.cloud.language.v1beta2.PartOfSpeech.Person person = 8;
getPersonValue
in interface PartOfSpeechOrBuilder
public PartOfSpeech.Builder setPersonValue(int value)
The grammatical person.
.google.cloud.language.v1beta2.PartOfSpeech.Person person = 8;
public PartOfSpeech.Person getPerson()
The grammatical person.
.google.cloud.language.v1beta2.PartOfSpeech.Person person = 8;
getPerson
in interface PartOfSpeechOrBuilder
public PartOfSpeech.Builder setPerson(PartOfSpeech.Person value)
The grammatical person.
.google.cloud.language.v1beta2.PartOfSpeech.Person person = 8;
public PartOfSpeech.Builder clearPerson()
The grammatical person.
.google.cloud.language.v1beta2.PartOfSpeech.Person person = 8;
public int getProperValue()
The grammatical properness.
.google.cloud.language.v1beta2.PartOfSpeech.Proper proper = 9;
getProperValue
in interface PartOfSpeechOrBuilder
public PartOfSpeech.Builder setProperValue(int value)
The grammatical properness.
.google.cloud.language.v1beta2.PartOfSpeech.Proper proper = 9;
public PartOfSpeech.Proper getProper()
The grammatical properness.
.google.cloud.language.v1beta2.PartOfSpeech.Proper proper = 9;
getProper
in interface PartOfSpeechOrBuilder
public PartOfSpeech.Builder setProper(PartOfSpeech.Proper value)
The grammatical properness.
.google.cloud.language.v1beta2.PartOfSpeech.Proper proper = 9;
public PartOfSpeech.Builder clearProper()
The grammatical properness.
.google.cloud.language.v1beta2.PartOfSpeech.Proper proper = 9;
public int getReciprocityValue()
The grammatical reciprocity.
.google.cloud.language.v1beta2.PartOfSpeech.Reciprocity reciprocity = 10;
getReciprocityValue
in interface PartOfSpeechOrBuilder
public PartOfSpeech.Builder setReciprocityValue(int value)
The grammatical reciprocity.
.google.cloud.language.v1beta2.PartOfSpeech.Reciprocity reciprocity = 10;
public PartOfSpeech.Reciprocity getReciprocity()
The grammatical reciprocity.
.google.cloud.language.v1beta2.PartOfSpeech.Reciprocity reciprocity = 10;
getReciprocity
in interface PartOfSpeechOrBuilder
public PartOfSpeech.Builder setReciprocity(PartOfSpeech.Reciprocity value)
The grammatical reciprocity.
.google.cloud.language.v1beta2.PartOfSpeech.Reciprocity reciprocity = 10;
public PartOfSpeech.Builder clearReciprocity()
The grammatical reciprocity.
.google.cloud.language.v1beta2.PartOfSpeech.Reciprocity reciprocity = 10;
public int getTenseValue()
The grammatical tense.
.google.cloud.language.v1beta2.PartOfSpeech.Tense tense = 11;
getTenseValue
in interface PartOfSpeechOrBuilder
public PartOfSpeech.Builder setTenseValue(int value)
The grammatical tense.
.google.cloud.language.v1beta2.PartOfSpeech.Tense tense = 11;
public PartOfSpeech.Tense getTense()
The grammatical tense.
.google.cloud.language.v1beta2.PartOfSpeech.Tense tense = 11;
getTense
in interface PartOfSpeechOrBuilder
public PartOfSpeech.Builder setTense(PartOfSpeech.Tense value)
The grammatical tense.
.google.cloud.language.v1beta2.PartOfSpeech.Tense tense = 11;
public PartOfSpeech.Builder clearTense()
The grammatical tense.
.google.cloud.language.v1beta2.PartOfSpeech.Tense tense = 11;
public int getVoiceValue()
The grammatical voice.
.google.cloud.language.v1beta2.PartOfSpeech.Voice voice = 12;
getVoiceValue
in interface PartOfSpeechOrBuilder
public PartOfSpeech.Builder setVoiceValue(int value)
The grammatical voice.
.google.cloud.language.v1beta2.PartOfSpeech.Voice voice = 12;
public PartOfSpeech.Voice getVoice()
The grammatical voice.
.google.cloud.language.v1beta2.PartOfSpeech.Voice voice = 12;
getVoice
in interface PartOfSpeechOrBuilder
public PartOfSpeech.Builder setVoice(PartOfSpeech.Voice value)
The grammatical voice.
.google.cloud.language.v1beta2.PartOfSpeech.Voice voice = 12;
public PartOfSpeech.Builder clearVoice()
The grammatical voice.
.google.cloud.language.v1beta2.PartOfSpeech.Voice voice = 12;
public final PartOfSpeech.Builder setUnknownFields(UnknownFieldSet unknownFields)
setUnknownFields
in interface Message.Builder
setUnknownFields
in class GeneratedMessageV3.Builder<PartOfSpeech.Builder>
public final PartOfSpeech.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
mergeUnknownFields
in interface Message.Builder
mergeUnknownFields
in class GeneratedMessageV3.Builder<PartOfSpeech.Builder>