public static final class BertLmProto.ScoreRequest.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<BertLmProto.ScoreRequest.Builder> implements BertLmProto.ScoreRequestOrBuilder
bert.ScoreRequest
Modifier and Type | Method and Description |
---|---|
BertLmProto.ScoreRequest.Builder |
addAllMask(Iterable<? extends BertLmProto.Mask> values)
repeated .bert.Mask mask = 2; |
BertLmProto.ScoreRequest.Builder |
addMask(BertLmProto.Mask.Builder builderForValue)
repeated .bert.Mask mask = 2; |
BertLmProto.ScoreRequest.Builder |
addMask(BertLmProto.Mask value)
repeated .bert.Mask mask = 2; |
BertLmProto.ScoreRequest.Builder |
addMask(int index,
BertLmProto.Mask.Builder builderForValue)
repeated .bert.Mask mask = 2; |
BertLmProto.ScoreRequest.Builder |
addMask(int index,
BertLmProto.Mask value)
repeated .bert.Mask mask = 2; |
BertLmProto.Mask.Builder |
addMaskBuilder()
repeated .bert.Mask mask = 2; |
BertLmProto.Mask.Builder |
addMaskBuilder(int index)
repeated .bert.Mask mask = 2; |
BertLmProto.ScoreRequest.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
BertLmProto.ScoreRequest |
build() |
BertLmProto.ScoreRequest |
buildPartial() |
BertLmProto.ScoreRequest.Builder |
clear() |
BertLmProto.ScoreRequest.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
BertLmProto.ScoreRequest.Builder |
clearMask()
repeated .bert.Mask mask = 2; |
BertLmProto.ScoreRequest.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
BertLmProto.ScoreRequest.Builder |
clearText()
string text = 1; |
BertLmProto.ScoreRequest.Builder |
clone() |
BertLmProto.ScoreRequest |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
BertLmProto.Mask |
getMask(int index)
repeated .bert.Mask mask = 2; |
BertLmProto.Mask.Builder |
getMaskBuilder(int index)
repeated .bert.Mask mask = 2; |
List<BertLmProto.Mask.Builder> |
getMaskBuilderList()
repeated .bert.Mask mask = 2; |
int |
getMaskCount()
repeated .bert.Mask mask = 2; |
List<BertLmProto.Mask> |
getMaskList()
repeated .bert.Mask mask = 2; |
BertLmProto.MaskOrBuilder |
getMaskOrBuilder(int index)
repeated .bert.Mask mask = 2; |
List<? extends BertLmProto.MaskOrBuilder> |
getMaskOrBuilderList()
repeated .bert.Mask mask = 2; |
String |
getText()
string text = 1; |
com.google.protobuf.ByteString |
getTextBytes()
string text = 1; |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
BertLmProto.ScoreRequest.Builder |
mergeFrom(BertLmProto.ScoreRequest other) |
BertLmProto.ScoreRequest.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
BertLmProto.ScoreRequest.Builder |
mergeFrom(com.google.protobuf.Message other) |
BertLmProto.ScoreRequest.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
BertLmProto.ScoreRequest.Builder |
removeMask(int index)
repeated .bert.Mask mask = 2; |
BertLmProto.ScoreRequest.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
BertLmProto.ScoreRequest.Builder |
setMask(int index,
BertLmProto.Mask.Builder builderForValue)
repeated .bert.Mask mask = 2; |
BertLmProto.ScoreRequest.Builder |
setMask(int index,
BertLmProto.Mask value)
repeated .bert.Mask mask = 2; |
BertLmProto.ScoreRequest.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
BertLmProto.ScoreRequest.Builder |
setText(String value)
string text = 1; |
BertLmProto.ScoreRequest.Builder |
setTextBytes(com.google.protobuf.ByteString value)
string text = 1; |
BertLmProto.ScoreRequest.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<BertLmProto.ScoreRequest.Builder>
public BertLmProto.ScoreRequest.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.ScoreRequest.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.ScoreRequest.Builder>
public BertLmProto.ScoreRequest getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public BertLmProto.ScoreRequest build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public BertLmProto.ScoreRequest buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public BertLmProto.ScoreRequest.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.ScoreRequest.Builder>
public BertLmProto.ScoreRequest.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.ScoreRequest.Builder>
public BertLmProto.ScoreRequest.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.ScoreRequest.Builder>
public BertLmProto.ScoreRequest.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.ScoreRequest.Builder>
public BertLmProto.ScoreRequest.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.ScoreRequest.Builder>
public BertLmProto.ScoreRequest.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.ScoreRequest.Builder>
public BertLmProto.ScoreRequest.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<BertLmProto.ScoreRequest.Builder>
public BertLmProto.ScoreRequest.Builder mergeFrom(BertLmProto.ScoreRequest other)
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessageV3.Builder<BertLmProto.ScoreRequest.Builder>
public BertLmProto.ScoreRequest.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.ScoreRequest.Builder>
IOException
public String getText()
string text = 1;
getText
in interface BertLmProto.ScoreRequestOrBuilder
public com.google.protobuf.ByteString getTextBytes()
string text = 1;
getTextBytes
in interface BertLmProto.ScoreRequestOrBuilder
public BertLmProto.ScoreRequest.Builder setText(String value)
string text = 1;
value
- The text to set.public BertLmProto.ScoreRequest.Builder clearText()
string text = 1;
public BertLmProto.ScoreRequest.Builder setTextBytes(com.google.protobuf.ByteString value)
string text = 1;
value
- The bytes for text to set.public List<BertLmProto.Mask> getMaskList()
repeated .bert.Mask mask = 2;
getMaskList
in interface BertLmProto.ScoreRequestOrBuilder
public int getMaskCount()
repeated .bert.Mask mask = 2;
getMaskCount
in interface BertLmProto.ScoreRequestOrBuilder
public BertLmProto.Mask getMask(int index)
repeated .bert.Mask mask = 2;
getMask
in interface BertLmProto.ScoreRequestOrBuilder
public BertLmProto.ScoreRequest.Builder setMask(int index, BertLmProto.Mask value)
repeated .bert.Mask mask = 2;
public BertLmProto.ScoreRequest.Builder setMask(int index, BertLmProto.Mask.Builder builderForValue)
repeated .bert.Mask mask = 2;
public BertLmProto.ScoreRequest.Builder addMask(BertLmProto.Mask value)
repeated .bert.Mask mask = 2;
public BertLmProto.ScoreRequest.Builder addMask(int index, BertLmProto.Mask value)
repeated .bert.Mask mask = 2;
public BertLmProto.ScoreRequest.Builder addMask(BertLmProto.Mask.Builder builderForValue)
repeated .bert.Mask mask = 2;
public BertLmProto.ScoreRequest.Builder addMask(int index, BertLmProto.Mask.Builder builderForValue)
repeated .bert.Mask mask = 2;
public BertLmProto.ScoreRequest.Builder addAllMask(Iterable<? extends BertLmProto.Mask> values)
repeated .bert.Mask mask = 2;
public BertLmProto.ScoreRequest.Builder clearMask()
repeated .bert.Mask mask = 2;
public BertLmProto.ScoreRequest.Builder removeMask(int index)
repeated .bert.Mask mask = 2;
public BertLmProto.Mask.Builder getMaskBuilder(int index)
repeated .bert.Mask mask = 2;
public BertLmProto.MaskOrBuilder getMaskOrBuilder(int index)
repeated .bert.Mask mask = 2;
getMaskOrBuilder
in interface BertLmProto.ScoreRequestOrBuilder
public List<? extends BertLmProto.MaskOrBuilder> getMaskOrBuilderList()
repeated .bert.Mask mask = 2;
getMaskOrBuilderList
in interface BertLmProto.ScoreRequestOrBuilder
public BertLmProto.Mask.Builder addMaskBuilder()
repeated .bert.Mask mask = 2;
public BertLmProto.Mask.Builder addMaskBuilder(int index)
repeated .bert.Mask mask = 2;
public List<BertLmProto.Mask.Builder> getMaskBuilderList()
repeated .bert.Mask mask = 2;
public final BertLmProto.ScoreRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields
in interface com.google.protobuf.Message.Builder
setUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<BertLmProto.ScoreRequest.Builder>
public final BertLmProto.ScoreRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields
in interface com.google.protobuf.Message.Builder
mergeUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<BertLmProto.ScoreRequest.Builder>