public static final class BertLmProto.BertLmResponse.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<BertLmProto.BertLmResponse.Builder> implements BertLmProto.BertLmResponseOrBuilder
bert.BertLmResponse
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<BertLmProto.BertLmResponse.Builder>
public BertLmProto.BertLmResponse.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<BertLmProto.BertLmResponse.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<BertLmProto.BertLmResponse.Builder>
public BertLmProto.BertLmResponse getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public BertLmProto.BertLmResponse build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public BertLmProto.BertLmResponse buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public BertLmProto.BertLmResponse.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<BertLmProto.BertLmResponse.Builder>
public BertLmProto.BertLmResponse.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<BertLmProto.BertLmResponse.Builder>
public BertLmProto.BertLmResponse.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField
in interface com.google.protobuf.Message.Builder
clearField
in class com.google.protobuf.GeneratedMessageV3.Builder<BertLmProto.BertLmResponse.Builder>
public BertLmProto.BertLmResponse.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof
in interface com.google.protobuf.Message.Builder
clearOneof
in class com.google.protobuf.GeneratedMessageV3.Builder<BertLmProto.BertLmResponse.Builder>
public BertLmProto.BertLmResponse.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<BertLmProto.BertLmResponse.Builder>
public BertLmProto.BertLmResponse.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<BertLmProto.BertLmResponse.Builder>
public BertLmProto.BertLmResponse.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<BertLmProto.BertLmResponse.Builder>
public BertLmProto.BertLmResponse.Builder mergeFrom(BertLmProto.BertLmResponse other)
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessageV3.Builder<BertLmProto.BertLmResponse.Builder>
public BertLmProto.BertLmResponse.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<BertLmProto.BertLmResponse.Builder>
IOException
public List<BertLmProto.Prediction> getScoresList()
repeated .bert.Prediction scores = 1;
getScoresList
in interface BertLmProto.BertLmResponseOrBuilder
public int getScoresCount()
repeated .bert.Prediction scores = 1;
getScoresCount
in interface BertLmProto.BertLmResponseOrBuilder
public BertLmProto.Prediction getScores(int index)
repeated .bert.Prediction scores = 1;
getScores
in interface BertLmProto.BertLmResponseOrBuilder
public BertLmProto.BertLmResponse.Builder setScores(int index, BertLmProto.Prediction value)
repeated .bert.Prediction scores = 1;
public BertLmProto.BertLmResponse.Builder setScores(int index, BertLmProto.Prediction.Builder builderForValue)
repeated .bert.Prediction scores = 1;
public BertLmProto.BertLmResponse.Builder addScores(BertLmProto.Prediction value)
repeated .bert.Prediction scores = 1;
public BertLmProto.BertLmResponse.Builder addScores(int index, BertLmProto.Prediction value)
repeated .bert.Prediction scores = 1;
public BertLmProto.BertLmResponse.Builder addScores(BertLmProto.Prediction.Builder builderForValue)
repeated .bert.Prediction scores = 1;
public BertLmProto.BertLmResponse.Builder addScores(int index, BertLmProto.Prediction.Builder builderForValue)
repeated .bert.Prediction scores = 1;
public BertLmProto.BertLmResponse.Builder addAllScores(Iterable<? extends BertLmProto.Prediction> values)
repeated .bert.Prediction scores = 1;
public BertLmProto.BertLmResponse.Builder clearScores()
repeated .bert.Prediction scores = 1;
public BertLmProto.BertLmResponse.Builder removeScores(int index)
repeated .bert.Prediction scores = 1;
public BertLmProto.Prediction.Builder getScoresBuilder(int index)
repeated .bert.Prediction scores = 1;
public BertLmProto.PredictionOrBuilder getScoresOrBuilder(int index)
repeated .bert.Prediction scores = 1;
getScoresOrBuilder
in interface BertLmProto.BertLmResponseOrBuilder
public List<? extends BertLmProto.PredictionOrBuilder> getScoresOrBuilderList()
repeated .bert.Prediction scores = 1;
getScoresOrBuilderList
in interface BertLmProto.BertLmResponseOrBuilder
public BertLmProto.Prediction.Builder addScoresBuilder()
repeated .bert.Prediction scores = 1;
public BertLmProto.Prediction.Builder addScoresBuilder(int index)
repeated .bert.Prediction scores = 1;
public List<BertLmProto.Prediction.Builder> getScoresBuilderList()
repeated .bert.Prediction scores = 1;
public final BertLmProto.BertLmResponse.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields
in interface com.google.protobuf.Message.Builder
setUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<BertLmProto.BertLmResponse.Builder>
public final BertLmProto.BertLmResponse.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields
in interface com.google.protobuf.Message.Builder
mergeUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<BertLmProto.BertLmResponse.Builder>