Package edu.stanford.nlp.pipeline
Class CoreNLPProtos.MapStringString
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- edu.stanford.nlp.pipeline.CoreNLPProtos.MapStringString
-
- All Implemented Interfaces:
com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,CoreNLPProtos.MapStringStringOrBuilder,Serializable
- Enclosing class:
- CoreNLPProtos
public static final class CoreNLPProtos.MapStringString extends com.google.protobuf.GeneratedMessageV3 implements CoreNLPProtos.MapStringStringOrBuilder
A map from strings to strings. Used, minimally, in the CoNLLU featurizer
Protobuf typeedu.stanford.nlp.pipeline.MapStringString- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classCoreNLPProtos.MapStringString.BuilderA map from strings to strings.-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
-
-
Field Summary
Fields Modifier and Type Field Description static intKEY_FIELD_NUMBERstatic com.google.protobuf.Parser<CoreNLPProtos.MapStringString>PARSERDeprecated.static intVALUE_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)static CoreNLPProtos.MapStringStringgetDefaultInstance()CoreNLPProtos.MapStringStringgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()StringgetKey(int index)repeated string key = 1;com.google.protobuf.ByteStringgetKeyBytes(int index)repeated string key = 1;intgetKeyCount()repeated string key = 1;com.google.protobuf.ProtocolStringListgetKeyList()repeated string key = 1;com.google.protobuf.Parser<CoreNLPProtos.MapStringString>getParserForType()intgetSerializedSize()StringgetValue(int index)repeated string value = 2;com.google.protobuf.ByteStringgetValueBytes(int index)repeated string value = 2;intgetValueCount()repeated string value = 2;com.google.protobuf.ProtocolStringListgetValueList()repeated string value = 2;inthashCode()protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static CoreNLPProtos.MapStringString.BuildernewBuilder()static CoreNLPProtos.MapStringString.BuildernewBuilder(CoreNLPProtos.MapStringString prototype)CoreNLPProtos.MapStringString.BuildernewBuilderForType()protected CoreNLPProtos.MapStringString.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static CoreNLPProtos.MapStringStringparseDelimitedFrom(InputStream input)static CoreNLPProtos.MapStringStringparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static CoreNLPProtos.MapStringStringparseFrom(byte[] data)static CoreNLPProtos.MapStringStringparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static CoreNLPProtos.MapStringStringparseFrom(com.google.protobuf.ByteString data)static CoreNLPProtos.MapStringStringparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static CoreNLPProtos.MapStringStringparseFrom(com.google.protobuf.CodedInputStream input)static CoreNLPProtos.MapStringStringparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static CoreNLPProtos.MapStringStringparseFrom(InputStream input)static CoreNLPProtos.MapStringStringparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static CoreNLPProtos.MapStringStringparseFrom(ByteBuffer data)static CoreNLPProtos.MapStringStringparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<CoreNLPProtos.MapStringString>parser()CoreNLPProtos.MapStringString.BuildertoBuilder()voidwriteTo(com.google.protobuf.CodedOutputStream output)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
KEY_FIELD_NUMBER
public static final int KEY_FIELD_NUMBER
- See Also:
- Constant Field Values
-
VALUE_FIELD_NUMBER
public static final int VALUE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PARSER
@Deprecated public static final com.google.protobuf.Parser<CoreNLPProtos.MapStringString> PARSER
Deprecated.
-
-
Method Detail
-
newInstance
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3
-
getKeyList
public com.google.protobuf.ProtocolStringList getKeyList()
repeated string key = 1;- Specified by:
getKeyListin interfaceCoreNLPProtos.MapStringStringOrBuilder- Returns:
- A list containing the key.
-
getKeyCount
public int getKeyCount()
repeated string key = 1;- Specified by:
getKeyCountin interfaceCoreNLPProtos.MapStringStringOrBuilder- Returns:
- The count of key.
-
getKey
public String getKey(int index)
repeated string key = 1;- Specified by:
getKeyin interfaceCoreNLPProtos.MapStringStringOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The key at the given index.
-
getKeyBytes
public com.google.protobuf.ByteString getKeyBytes(int index)
repeated string key = 1;- Specified by:
getKeyBytesin interfaceCoreNLPProtos.MapStringStringOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the key at the given index.
-
getValueList
public com.google.protobuf.ProtocolStringList getValueList()
repeated string value = 2;- Specified by:
getValueListin interfaceCoreNLPProtos.MapStringStringOrBuilder- Returns:
- A list containing the value.
-
getValueCount
public int getValueCount()
repeated string value = 2;- Specified by:
getValueCountin interfaceCoreNLPProtos.MapStringStringOrBuilder- Returns:
- The count of value.
-
getValue
public String getValue(int index)
repeated string value = 2;- Specified by:
getValuein interfaceCoreNLPProtos.MapStringStringOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The value at the given index.
-
getValueBytes
public com.google.protobuf.ByteString getValueBytes(int index)
repeated string value = 2;- Specified by:
getValueBytesin interfaceCoreNLPProtos.MapStringStringOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the value at the given index.
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static CoreNLPProtos.MapStringString parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static CoreNLPProtos.MapStringString parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static CoreNLPProtos.MapStringString parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static CoreNLPProtos.MapStringString parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static CoreNLPProtos.MapStringString parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static CoreNLPProtos.MapStringString parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static CoreNLPProtos.MapStringString parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static CoreNLPProtos.MapStringString parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static CoreNLPProtos.MapStringString parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static CoreNLPProtos.MapStringString parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static CoreNLPProtos.MapStringString parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static CoreNLPProtos.MapStringString parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public CoreNLPProtos.MapStringString.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static CoreNLPProtos.MapStringString.Builder newBuilder()
-
newBuilder
public static CoreNLPProtos.MapStringString.Builder newBuilder(CoreNLPProtos.MapStringString prototype)
-
toBuilder
public CoreNLPProtos.MapStringString.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected CoreNLPProtos.MapStringString.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static CoreNLPProtos.MapStringString getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<CoreNLPProtos.MapStringString> parser()
-
getParserForType
public com.google.protobuf.Parser<CoreNLPProtos.MapStringString> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public CoreNLPProtos.MapStringString getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-