public static final class MLServerProto.AnalyzedSentence.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<MLServerProto.AnalyzedSentence.Builder> implements MLServerProto.AnalyzedSentenceOrBuilder
lt_ml_server.AnalyzedSentence
Modifier and Type | Method and Description |
---|---|
MLServerProto.AnalyzedSentence.Builder |
addAllTokens(Iterable<? extends MLServerProto.AnalyzedTokenReadings> values)
repeated .lt_ml_server.AnalyzedTokenReadings tokens = 2; |
MLServerProto.AnalyzedSentence.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
MLServerProto.AnalyzedSentence.Builder |
addTokens(int index,
MLServerProto.AnalyzedTokenReadings.Builder builderForValue)
repeated .lt_ml_server.AnalyzedTokenReadings tokens = 2; |
MLServerProto.AnalyzedSentence.Builder |
addTokens(int index,
MLServerProto.AnalyzedTokenReadings value)
repeated .lt_ml_server.AnalyzedTokenReadings tokens = 2; |
MLServerProto.AnalyzedSentence.Builder |
addTokens(MLServerProto.AnalyzedTokenReadings.Builder builderForValue)
repeated .lt_ml_server.AnalyzedTokenReadings tokens = 2; |
MLServerProto.AnalyzedSentence.Builder |
addTokens(MLServerProto.AnalyzedTokenReadings value)
repeated .lt_ml_server.AnalyzedTokenReadings tokens = 2; |
MLServerProto.AnalyzedTokenReadings.Builder |
addTokensBuilder()
repeated .lt_ml_server.AnalyzedTokenReadings tokens = 2; |
MLServerProto.AnalyzedTokenReadings.Builder |
addTokensBuilder(int index)
repeated .lt_ml_server.AnalyzedTokenReadings tokens = 2; |
MLServerProto.AnalyzedSentence |
build() |
MLServerProto.AnalyzedSentence |
buildPartial() |
MLServerProto.AnalyzedSentence.Builder |
clear() |
MLServerProto.AnalyzedSentence.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
MLServerProto.AnalyzedSentence.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
MLServerProto.AnalyzedSentence.Builder |
clearText()
string text = 1; |
MLServerProto.AnalyzedSentence.Builder |
clearTokens()
repeated .lt_ml_server.AnalyzedTokenReadings tokens = 2; |
MLServerProto.AnalyzedSentence.Builder |
clone() |
MLServerProto.AnalyzedSentence |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
String |
getText()
string text = 1; |
com.google.protobuf.ByteString |
getTextBytes()
string text = 1; |
MLServerProto.AnalyzedTokenReadings |
getTokens(int index)
repeated .lt_ml_server.AnalyzedTokenReadings tokens = 2; |
MLServerProto.AnalyzedTokenReadings.Builder |
getTokensBuilder(int index)
repeated .lt_ml_server.AnalyzedTokenReadings tokens = 2; |
List<MLServerProto.AnalyzedTokenReadings.Builder> |
getTokensBuilderList()
repeated .lt_ml_server.AnalyzedTokenReadings tokens = 2; |
int |
getTokensCount()
repeated .lt_ml_server.AnalyzedTokenReadings tokens = 2; |
List<MLServerProto.AnalyzedTokenReadings> |
getTokensList()
repeated .lt_ml_server.AnalyzedTokenReadings tokens = 2; |
MLServerProto.AnalyzedTokenReadingsOrBuilder |
getTokensOrBuilder(int index)
repeated .lt_ml_server.AnalyzedTokenReadings tokens = 2; |
List<? extends MLServerProto.AnalyzedTokenReadingsOrBuilder> |
getTokensOrBuilderList()
repeated .lt_ml_server.AnalyzedTokenReadings tokens = 2; |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
MLServerProto.AnalyzedSentence.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
MLServerProto.AnalyzedSentence.Builder |
mergeFrom(com.google.protobuf.Message other) |
MLServerProto.AnalyzedSentence.Builder |
mergeFrom(MLServerProto.AnalyzedSentence other) |
MLServerProto.AnalyzedSentence.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
MLServerProto.AnalyzedSentence.Builder |
removeTokens(int index)
repeated .lt_ml_server.AnalyzedTokenReadings tokens = 2; |
MLServerProto.AnalyzedSentence.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
MLServerProto.AnalyzedSentence.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
MLServerProto.AnalyzedSentence.Builder |
setText(String value)
string text = 1; |
MLServerProto.AnalyzedSentence.Builder |
setTextBytes(com.google.protobuf.ByteString value)
string text = 1; |
MLServerProto.AnalyzedSentence.Builder |
setTokens(int index,
MLServerProto.AnalyzedTokenReadings.Builder builderForValue)
repeated .lt_ml_server.AnalyzedTokenReadings tokens = 2; |
MLServerProto.AnalyzedSentence.Builder |
setTokens(int index,
MLServerProto.AnalyzedTokenReadings value)
repeated .lt_ml_server.AnalyzedTokenReadings tokens = 2; |
MLServerProto.AnalyzedSentence.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class com.google.protobuf.GeneratedMessageV3.Builder<MLServerProto.AnalyzedSentence.Builder>
public MLServerProto.AnalyzedSentence.Builder clear()
clear
in interface com.google.protobuf.Message.Builder
clear
in interface com.google.protobuf.MessageLite.Builder
clear
in class com.google.protobuf.GeneratedMessageV3.Builder<MLServerProto.AnalyzedSentence.Builder>
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface com.google.protobuf.Message.Builder
getDescriptorForType
in interface com.google.protobuf.MessageOrBuilder
getDescriptorForType
in class com.google.protobuf.GeneratedMessageV3.Builder<MLServerProto.AnalyzedSentence.Builder>
public MLServerProto.AnalyzedSentence getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public MLServerProto.AnalyzedSentence build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public MLServerProto.AnalyzedSentence buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public MLServerProto.AnalyzedSentence.Builder clone()
clone
in interface com.google.protobuf.Message.Builder
clone
in interface com.google.protobuf.MessageLite.Builder
clone
in class com.google.protobuf.GeneratedMessageV3.Builder<MLServerProto.AnalyzedSentence.Builder>
public MLServerProto.AnalyzedSentence.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField
in interface com.google.protobuf.Message.Builder
setField
in class com.google.protobuf.GeneratedMessageV3.Builder<MLServerProto.AnalyzedSentence.Builder>
public MLServerProto.AnalyzedSentence.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField
in interface com.google.protobuf.Message.Builder
clearField
in class com.google.protobuf.GeneratedMessageV3.Builder<MLServerProto.AnalyzedSentence.Builder>
public MLServerProto.AnalyzedSentence.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof
in interface com.google.protobuf.Message.Builder
clearOneof
in class com.google.protobuf.GeneratedMessageV3.Builder<MLServerProto.AnalyzedSentence.Builder>
public MLServerProto.AnalyzedSentence.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField
in interface com.google.protobuf.Message.Builder
setRepeatedField
in class com.google.protobuf.GeneratedMessageV3.Builder<MLServerProto.AnalyzedSentence.Builder>
public MLServerProto.AnalyzedSentence.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField
in interface com.google.protobuf.Message.Builder
addRepeatedField
in class com.google.protobuf.GeneratedMessageV3.Builder<MLServerProto.AnalyzedSentence.Builder>
public MLServerProto.AnalyzedSentence.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<MLServerProto.AnalyzedSentence.Builder>
public MLServerProto.AnalyzedSentence.Builder mergeFrom(MLServerProto.AnalyzedSentence other)
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessageV3.Builder<MLServerProto.AnalyzedSentence.Builder>
public MLServerProto.AnalyzedSentence.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in interface com.google.protobuf.MessageLite.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<MLServerProto.AnalyzedSentence.Builder>
IOException
public String getText()
string text = 1;
getText
in interface MLServerProto.AnalyzedSentenceOrBuilder
public com.google.protobuf.ByteString getTextBytes()
string text = 1;
getTextBytes
in interface MLServerProto.AnalyzedSentenceOrBuilder
public MLServerProto.AnalyzedSentence.Builder setText(String value)
string text = 1;
value
- The text to set.public MLServerProto.AnalyzedSentence.Builder clearText()
string text = 1;
public MLServerProto.AnalyzedSentence.Builder setTextBytes(com.google.protobuf.ByteString value)
string text = 1;
value
- The bytes for text to set.public List<MLServerProto.AnalyzedTokenReadings> getTokensList()
repeated .lt_ml_server.AnalyzedTokenReadings tokens = 2;
getTokensList
in interface MLServerProto.AnalyzedSentenceOrBuilder
public int getTokensCount()
repeated .lt_ml_server.AnalyzedTokenReadings tokens = 2;
getTokensCount
in interface MLServerProto.AnalyzedSentenceOrBuilder
public MLServerProto.AnalyzedTokenReadings getTokens(int index)
repeated .lt_ml_server.AnalyzedTokenReadings tokens = 2;
getTokens
in interface MLServerProto.AnalyzedSentenceOrBuilder
public MLServerProto.AnalyzedSentence.Builder setTokens(int index, MLServerProto.AnalyzedTokenReadings value)
repeated .lt_ml_server.AnalyzedTokenReadings tokens = 2;
public MLServerProto.AnalyzedSentence.Builder setTokens(int index, MLServerProto.AnalyzedTokenReadings.Builder builderForValue)
repeated .lt_ml_server.AnalyzedTokenReadings tokens = 2;
public MLServerProto.AnalyzedSentence.Builder addTokens(MLServerProto.AnalyzedTokenReadings value)
repeated .lt_ml_server.AnalyzedTokenReadings tokens = 2;
public MLServerProto.AnalyzedSentence.Builder addTokens(int index, MLServerProto.AnalyzedTokenReadings value)
repeated .lt_ml_server.AnalyzedTokenReadings tokens = 2;
public MLServerProto.AnalyzedSentence.Builder addTokens(MLServerProto.AnalyzedTokenReadings.Builder builderForValue)
repeated .lt_ml_server.AnalyzedTokenReadings tokens = 2;
public MLServerProto.AnalyzedSentence.Builder addTokens(int index, MLServerProto.AnalyzedTokenReadings.Builder builderForValue)
repeated .lt_ml_server.AnalyzedTokenReadings tokens = 2;
public MLServerProto.AnalyzedSentence.Builder addAllTokens(Iterable<? extends MLServerProto.AnalyzedTokenReadings> values)
repeated .lt_ml_server.AnalyzedTokenReadings tokens = 2;
public MLServerProto.AnalyzedSentence.Builder clearTokens()
repeated .lt_ml_server.AnalyzedTokenReadings tokens = 2;
public MLServerProto.AnalyzedSentence.Builder removeTokens(int index)
repeated .lt_ml_server.AnalyzedTokenReadings tokens = 2;
public MLServerProto.AnalyzedTokenReadings.Builder getTokensBuilder(int index)
repeated .lt_ml_server.AnalyzedTokenReadings tokens = 2;
public MLServerProto.AnalyzedTokenReadingsOrBuilder getTokensOrBuilder(int index)
repeated .lt_ml_server.AnalyzedTokenReadings tokens = 2;
getTokensOrBuilder
in interface MLServerProto.AnalyzedSentenceOrBuilder
public List<? extends MLServerProto.AnalyzedTokenReadingsOrBuilder> getTokensOrBuilderList()
repeated .lt_ml_server.AnalyzedTokenReadings tokens = 2;
getTokensOrBuilderList
in interface MLServerProto.AnalyzedSentenceOrBuilder
public MLServerProto.AnalyzedTokenReadings.Builder addTokensBuilder()
repeated .lt_ml_server.AnalyzedTokenReadings tokens = 2;
public MLServerProto.AnalyzedTokenReadings.Builder addTokensBuilder(int index)
repeated .lt_ml_server.AnalyzedTokenReadings tokens = 2;
public List<MLServerProto.AnalyzedTokenReadings.Builder> getTokensBuilderList()
repeated .lt_ml_server.AnalyzedTokenReadings tokens = 2;
public final MLServerProto.AnalyzedSentence.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields
in interface com.google.protobuf.Message.Builder
setUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<MLServerProto.AnalyzedSentence.Builder>
public final MLServerProto.AnalyzedSentence.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields
in interface com.google.protobuf.Message.Builder
mergeUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<MLServerProto.AnalyzedSentence.Builder>