public static final class CoreNLPProtos.MapStringString.Builder extends <any> implements CoreNLPProtos.MapStringStringOrBuilder
A map from strings to strings. Used, minimally, in the CoNLLU featurizerProtobuf type
edu.stanford.nlp.pipeline.MapStringString| Modifier and Type | Method and Description |
|---|---|
CoreNLPProtos.MapStringString.Builder |
addAllKey(Iterable<String> values)
repeated string key = 1; |
CoreNLPProtos.MapStringString.Builder |
addAllValue(Iterable<String> values)
repeated string value = 2; |
CoreNLPProtos.MapStringString.Builder |
addKey(String value)
repeated string key = 1; |
CoreNLPProtos.MapStringString.Builder |
addKeyBytes(com.google.protobuf.ByteString value)
repeated string key = 1; |
CoreNLPProtos.MapStringString.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
CoreNLPProtos.MapStringString.Builder |
addValue(String value)
repeated string value = 2; |
CoreNLPProtos.MapStringString.Builder |
addValueBytes(com.google.protobuf.ByteString value)
repeated string value = 2; |
CoreNLPProtos.MapStringString |
build() |
CoreNLPProtos.MapStringString |
buildPartial() |
CoreNLPProtos.MapStringString.Builder |
clear() |
CoreNLPProtos.MapStringString.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
CoreNLPProtos.MapStringString.Builder |
clearKey()
repeated string key = 1; |
CoreNLPProtos.MapStringString.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
CoreNLPProtos.MapStringString.Builder |
clearValue()
repeated string value = 2; |
CoreNLPProtos.MapStringString.Builder |
clone() |
CoreNLPProtos.MapStringString |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
String |
getKey(int index)
repeated string key = 1; |
com.google.protobuf.ByteString |
getKeyBytes(int index)
repeated string key = 1; |
int |
getKeyCount()
repeated string key = 1; |
com.google.protobuf.ProtocolStringList |
getKeyList()
repeated string key = 1; |
String |
getValue(int index)
repeated string value = 2; |
com.google.protobuf.ByteString |
getValueBytes(int index)
repeated string value = 2; |
int |
getValueCount()
repeated string value = 2; |
com.google.protobuf.ProtocolStringList |
getValueList()
repeated string value = 2; |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
CoreNLPProtos.MapStringString.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
CoreNLPProtos.MapStringString.Builder |
mergeFrom(com.google.protobuf.Message other) |
CoreNLPProtos.MapStringString.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
CoreNLPProtos.MapStringString.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
CoreNLPProtos.MapStringString.Builder |
setKey(int index,
String value)
repeated string key = 1; |
CoreNLPProtos.MapStringString.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
CoreNLPProtos.MapStringString.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
CoreNLPProtos.MapStringString.Builder |
setValue(int index,
String value)
repeated string value = 2; |
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
public CoreNLPProtos.MapStringString.Builder clear()
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
public CoreNLPProtos.MapStringString getDefaultInstanceForType()
public CoreNLPProtos.MapStringString build()
public CoreNLPProtos.MapStringString buildPartial()
public CoreNLPProtos.MapStringString.Builder clone()
public CoreNLPProtos.MapStringString.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
public CoreNLPProtos.MapStringString.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
public CoreNLPProtos.MapStringString.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
public CoreNLPProtos.MapStringString.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
public CoreNLPProtos.MapStringString.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
public CoreNLPProtos.MapStringString.Builder mergeFrom(com.google.protobuf.Message other)
public final boolean isInitialized()
public CoreNLPProtos.MapStringString.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic com.google.protobuf.ProtocolStringList getKeyList()
repeated string key = 1;getKeyList in interface CoreNLPProtos.MapStringStringOrBuilderpublic int getKeyCount()
repeated string key = 1;getKeyCount in interface CoreNLPProtos.MapStringStringOrBuilderpublic String getKey(int index)
repeated string key = 1;getKey in interface CoreNLPProtos.MapStringStringOrBuilderpublic com.google.protobuf.ByteString getKeyBytes(int index)
repeated string key = 1;getKeyBytes in interface CoreNLPProtos.MapStringStringOrBuilderpublic CoreNLPProtos.MapStringString.Builder setKey(int index, String value)
repeated string key = 1;public CoreNLPProtos.MapStringString.Builder addKey(String value)
repeated string key = 1;public CoreNLPProtos.MapStringString.Builder addAllKey(Iterable<String> values)
repeated string key = 1;public CoreNLPProtos.MapStringString.Builder clearKey()
repeated string key = 1;public CoreNLPProtos.MapStringString.Builder addKeyBytes(com.google.protobuf.ByteString value)
repeated string key = 1;public com.google.protobuf.ProtocolStringList getValueList()
repeated string value = 2;getValueList in interface CoreNLPProtos.MapStringStringOrBuilderpublic int getValueCount()
repeated string value = 2;getValueCount in interface CoreNLPProtos.MapStringStringOrBuilderpublic String getValue(int index)
repeated string value = 2;getValue in interface CoreNLPProtos.MapStringStringOrBuilderpublic com.google.protobuf.ByteString getValueBytes(int index)
repeated string value = 2;getValueBytes in interface CoreNLPProtos.MapStringStringOrBuilderpublic CoreNLPProtos.MapStringString.Builder setValue(int index, String value)
repeated string value = 2;public CoreNLPProtos.MapStringString.Builder addValue(String value)
repeated string value = 2;public CoreNLPProtos.MapStringString.Builder addAllValue(Iterable<String> values)
repeated string value = 2;public CoreNLPProtos.MapStringString.Builder clearValue()
repeated string value = 2;public CoreNLPProtos.MapStringString.Builder addValueBytes(com.google.protobuf.ByteString value)
repeated string value = 2;public final CoreNLPProtos.MapStringString.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
public final CoreNLPProtos.MapStringString.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)