public static final class CoreNLPProtos.Operator.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<CoreNLPProtos.Operator.Builder> implements CoreNLPProtos.OperatorOrBuilder
A Natural Logic operatorProtobuf type
edu.stanford.nlp.pipeline.Operator
Modifier and Type | Method and Description |
---|---|
CoreNLPProtos.Operator.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) |
CoreNLPProtos.Operator |
build() |
CoreNLPProtos.Operator |
buildPartial() |
CoreNLPProtos.Operator.Builder |
clear() |
CoreNLPProtos.Operator.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
CoreNLPProtos.Operator.Builder |
clearName()
required string name = 1; |
CoreNLPProtos.Operator.Builder |
clearObjectSpanBegin()
required int32 objectSpanBegin = 6; |
CoreNLPProtos.Operator.Builder |
clearObjectSpanEnd()
required int32 objectSpanEnd = 7; |
CoreNLPProtos.Operator.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
CoreNLPProtos.Operator.Builder |
clearQuantifierSpanBegin()
required int32 quantifierSpanBegin = 2; |
CoreNLPProtos.Operator.Builder |
clearQuantifierSpanEnd()
required int32 quantifierSpanEnd = 3; |
CoreNLPProtos.Operator.Builder |
clearSubjectSpanBegin()
required int32 subjectSpanBegin = 4; |
CoreNLPProtos.Operator.Builder |
clearSubjectSpanEnd()
required int32 subjectSpanEnd = 5; |
CoreNLPProtos.Operator.Builder |
clone() |
CoreNLPProtos.Operator |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
java.lang.String |
getName()
required string name = 1; |
com.google.protobuf.ByteString |
getNameBytes()
required string name = 1; |
int |
getObjectSpanBegin()
required int32 objectSpanBegin = 6; |
int |
getObjectSpanEnd()
required int32 objectSpanEnd = 7; |
int |
getQuantifierSpanBegin()
required int32 quantifierSpanBegin = 2; |
int |
getQuantifierSpanEnd()
required int32 quantifierSpanEnd = 3; |
int |
getSubjectSpanBegin()
required int32 subjectSpanBegin = 4; |
int |
getSubjectSpanEnd()
required int32 subjectSpanEnd = 5; |
boolean |
hasName()
required string name = 1; |
boolean |
hasObjectSpanBegin()
required int32 objectSpanBegin = 6; |
boolean |
hasObjectSpanEnd()
required int32 objectSpanEnd = 7; |
boolean |
hasQuantifierSpanBegin()
required int32 quantifierSpanBegin = 2; |
boolean |
hasQuantifierSpanEnd()
required int32 quantifierSpanEnd = 3; |
boolean |
hasSubjectSpanBegin()
required int32 subjectSpanBegin = 4; |
boolean |
hasSubjectSpanEnd()
required int32 subjectSpanEnd = 5; |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
CoreNLPProtos.Operator.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
CoreNLPProtos.Operator.Builder |
mergeFrom(CoreNLPProtos.Operator other) |
CoreNLPProtos.Operator.Builder |
mergeFrom(com.google.protobuf.Message other) |
CoreNLPProtos.Operator.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
CoreNLPProtos.Operator.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) |
CoreNLPProtos.Operator.Builder |
setName(java.lang.String value)
required string name = 1; |
CoreNLPProtos.Operator.Builder |
setNameBytes(com.google.protobuf.ByteString value)
required string name = 1; |
CoreNLPProtos.Operator.Builder |
setObjectSpanBegin(int value)
required int32 objectSpanBegin = 6; |
CoreNLPProtos.Operator.Builder |
setObjectSpanEnd(int value)
required int32 objectSpanEnd = 7; |
CoreNLPProtos.Operator.Builder |
setQuantifierSpanBegin(int value)
required int32 quantifierSpanBegin = 2; |
CoreNLPProtos.Operator.Builder |
setQuantifierSpanEnd(int value)
required int32 quantifierSpanEnd = 3; |
CoreNLPProtos.Operator.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
java.lang.Object value) |
CoreNLPProtos.Operator.Builder |
setSubjectSpanBegin(int value)
required int32 subjectSpanBegin = 4; |
CoreNLPProtos.Operator.Builder |
setSubjectSpanEnd(int value)
required int32 subjectSpanEnd = 5; |
CoreNLPProtos.Operator.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, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class com.google.protobuf.GeneratedMessageV3.Builder<CoreNLPProtos.Operator.Builder>
public CoreNLPProtos.Operator.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<CoreNLPProtos.Operator.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<CoreNLPProtos.Operator.Builder>
public CoreNLPProtos.Operator getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public CoreNLPProtos.Operator build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public CoreNLPProtos.Operator buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public CoreNLPProtos.Operator.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<CoreNLPProtos.Operator.Builder>
public CoreNLPProtos.Operator.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
setField
in interface com.google.protobuf.Message.Builder
setField
in class com.google.protobuf.GeneratedMessageV3.Builder<CoreNLPProtos.Operator.Builder>
public CoreNLPProtos.Operator.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField
in interface com.google.protobuf.Message.Builder
clearField
in class com.google.protobuf.GeneratedMessageV3.Builder<CoreNLPProtos.Operator.Builder>
public CoreNLPProtos.Operator.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof
in interface com.google.protobuf.Message.Builder
clearOneof
in class com.google.protobuf.GeneratedMessageV3.Builder<CoreNLPProtos.Operator.Builder>
public CoreNLPProtos.Operator.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
setRepeatedField
in interface com.google.protobuf.Message.Builder
setRepeatedField
in class com.google.protobuf.GeneratedMessageV3.Builder<CoreNLPProtos.Operator.Builder>
public CoreNLPProtos.Operator.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
addRepeatedField
in interface com.google.protobuf.Message.Builder
addRepeatedField
in class com.google.protobuf.GeneratedMessageV3.Builder<CoreNLPProtos.Operator.Builder>
public CoreNLPProtos.Operator.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<CoreNLPProtos.Operator.Builder>
public CoreNLPProtos.Operator.Builder mergeFrom(CoreNLPProtos.Operator other)
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessageV3.Builder<CoreNLPProtos.Operator.Builder>
public CoreNLPProtos.Operator.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.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<CoreNLPProtos.Operator.Builder>
java.io.IOException
public boolean hasName()
required string name = 1;
hasName
in interface CoreNLPProtos.OperatorOrBuilder
public java.lang.String getName()
required string name = 1;
getName
in interface CoreNLPProtos.OperatorOrBuilder
public com.google.protobuf.ByteString getNameBytes()
required string name = 1;
getNameBytes
in interface CoreNLPProtos.OperatorOrBuilder
public CoreNLPProtos.Operator.Builder setName(java.lang.String value)
required string name = 1;
value
- The name to set.public CoreNLPProtos.Operator.Builder clearName()
required string name = 1;
public CoreNLPProtos.Operator.Builder setNameBytes(com.google.protobuf.ByteString value)
required string name = 1;
value
- The bytes for name to set.public boolean hasQuantifierSpanBegin()
required int32 quantifierSpanBegin = 2;
hasQuantifierSpanBegin
in interface CoreNLPProtos.OperatorOrBuilder
public int getQuantifierSpanBegin()
required int32 quantifierSpanBegin = 2;
getQuantifierSpanBegin
in interface CoreNLPProtos.OperatorOrBuilder
public CoreNLPProtos.Operator.Builder setQuantifierSpanBegin(int value)
required int32 quantifierSpanBegin = 2;
value
- The quantifierSpanBegin to set.public CoreNLPProtos.Operator.Builder clearQuantifierSpanBegin()
required int32 quantifierSpanBegin = 2;
public boolean hasQuantifierSpanEnd()
required int32 quantifierSpanEnd = 3;
hasQuantifierSpanEnd
in interface CoreNLPProtos.OperatorOrBuilder
public int getQuantifierSpanEnd()
required int32 quantifierSpanEnd = 3;
getQuantifierSpanEnd
in interface CoreNLPProtos.OperatorOrBuilder
public CoreNLPProtos.Operator.Builder setQuantifierSpanEnd(int value)
required int32 quantifierSpanEnd = 3;
value
- The quantifierSpanEnd to set.public CoreNLPProtos.Operator.Builder clearQuantifierSpanEnd()
required int32 quantifierSpanEnd = 3;
public boolean hasSubjectSpanBegin()
required int32 subjectSpanBegin = 4;
hasSubjectSpanBegin
in interface CoreNLPProtos.OperatorOrBuilder
public int getSubjectSpanBegin()
required int32 subjectSpanBegin = 4;
getSubjectSpanBegin
in interface CoreNLPProtos.OperatorOrBuilder
public CoreNLPProtos.Operator.Builder setSubjectSpanBegin(int value)
required int32 subjectSpanBegin = 4;
value
- The subjectSpanBegin to set.public CoreNLPProtos.Operator.Builder clearSubjectSpanBegin()
required int32 subjectSpanBegin = 4;
public boolean hasSubjectSpanEnd()
required int32 subjectSpanEnd = 5;
hasSubjectSpanEnd
in interface CoreNLPProtos.OperatorOrBuilder
public int getSubjectSpanEnd()
required int32 subjectSpanEnd = 5;
getSubjectSpanEnd
in interface CoreNLPProtos.OperatorOrBuilder
public CoreNLPProtos.Operator.Builder setSubjectSpanEnd(int value)
required int32 subjectSpanEnd = 5;
value
- The subjectSpanEnd to set.public CoreNLPProtos.Operator.Builder clearSubjectSpanEnd()
required int32 subjectSpanEnd = 5;
public boolean hasObjectSpanBegin()
required int32 objectSpanBegin = 6;
hasObjectSpanBegin
in interface CoreNLPProtos.OperatorOrBuilder
public int getObjectSpanBegin()
required int32 objectSpanBegin = 6;
getObjectSpanBegin
in interface CoreNLPProtos.OperatorOrBuilder
public CoreNLPProtos.Operator.Builder setObjectSpanBegin(int value)
required int32 objectSpanBegin = 6;
value
- The objectSpanBegin to set.public CoreNLPProtos.Operator.Builder clearObjectSpanBegin()
required int32 objectSpanBegin = 6;
public boolean hasObjectSpanEnd()
required int32 objectSpanEnd = 7;
hasObjectSpanEnd
in interface CoreNLPProtos.OperatorOrBuilder
public int getObjectSpanEnd()
required int32 objectSpanEnd = 7;
getObjectSpanEnd
in interface CoreNLPProtos.OperatorOrBuilder
public CoreNLPProtos.Operator.Builder setObjectSpanEnd(int value)
required int32 objectSpanEnd = 7;
value
- The objectSpanEnd to set.public CoreNLPProtos.Operator.Builder clearObjectSpanEnd()
required int32 objectSpanEnd = 7;
public final CoreNLPProtos.Operator.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields
in interface com.google.protobuf.Message.Builder
setUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<CoreNLPProtos.Operator.Builder>
public final CoreNLPProtos.Operator.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields
in interface com.google.protobuf.Message.Builder
mergeUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<CoreNLPProtos.Operator.Builder>