public static final class CoreNLPProtos.DependencyGraph.Edge.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<CoreNLPProtos.DependencyGraph.Edge.Builder> implements CoreNLPProtos.DependencyGraph.EdgeOrBuilder
edu.stanford.nlp.pipeline.DependencyGraph.Edge
Modifier and Type | Method and Description |
---|---|
CoreNLPProtos.DependencyGraph.Edge.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) |
CoreNLPProtos.DependencyGraph.Edge |
build() |
CoreNLPProtos.DependencyGraph.Edge |
buildPartial() |
CoreNLPProtos.DependencyGraph.Edge.Builder |
clear() |
CoreNLPProtos.DependencyGraph.Edge.Builder |
clearDep()
optional string dep = 3; |
CoreNLPProtos.DependencyGraph.Edge.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
CoreNLPProtos.DependencyGraph.Edge.Builder |
clearIsExtra()
optional bool isExtra = 4; |
CoreNLPProtos.DependencyGraph.Edge.Builder |
clearLanguage()
optional .edu.stanford.nlp.pipeline.Language language = 7 [default = Unknown]; |
CoreNLPProtos.DependencyGraph.Edge.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
CoreNLPProtos.DependencyGraph.Edge.Builder |
clearSource()
required uint32 source = 1; |
CoreNLPProtos.DependencyGraph.Edge.Builder |
clearSourceCopy()
optional uint32 sourceCopy = 5; |
CoreNLPProtos.DependencyGraph.Edge.Builder |
clearTarget()
required uint32 target = 2; |
CoreNLPProtos.DependencyGraph.Edge.Builder |
clearTargetCopy()
optional uint32 targetCopy = 6; |
CoreNLPProtos.DependencyGraph.Edge.Builder |
clone() |
CoreNLPProtos.DependencyGraph.Edge |
getDefaultInstanceForType() |
java.lang.String |
getDep()
optional string dep = 3; |
com.google.protobuf.ByteString |
getDepBytes()
optional string dep = 3; |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
boolean |
getIsExtra()
optional bool isExtra = 4; |
CoreNLPProtos.Language |
getLanguage()
optional .edu.stanford.nlp.pipeline.Language language = 7 [default = Unknown]; |
int |
getSource()
required uint32 source = 1; |
int |
getSourceCopy()
optional uint32 sourceCopy = 5; |
int |
getTarget()
required uint32 target = 2; |
int |
getTargetCopy()
optional uint32 targetCopy = 6; |
boolean |
hasDep()
optional string dep = 3; |
boolean |
hasIsExtra()
optional bool isExtra = 4; |
boolean |
hasLanguage()
optional .edu.stanford.nlp.pipeline.Language language = 7 [default = Unknown]; |
boolean |
hasSource()
required uint32 source = 1; |
boolean |
hasSourceCopy()
optional uint32 sourceCopy = 5; |
boolean |
hasTarget()
required uint32 target = 2; |
boolean |
hasTargetCopy()
optional uint32 targetCopy = 6; |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
CoreNLPProtos.DependencyGraph.Edge.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
CoreNLPProtos.DependencyGraph.Edge.Builder |
mergeFrom(CoreNLPProtos.DependencyGraph.Edge other) |
CoreNLPProtos.DependencyGraph.Edge.Builder |
mergeFrom(com.google.protobuf.Message other) |
CoreNLPProtos.DependencyGraph.Edge.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
CoreNLPProtos.DependencyGraph.Edge.Builder |
setDep(java.lang.String value)
optional string dep = 3; |
CoreNLPProtos.DependencyGraph.Edge.Builder |
setDepBytes(com.google.protobuf.ByteString value)
optional string dep = 3; |
CoreNLPProtos.DependencyGraph.Edge.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) |
CoreNLPProtos.DependencyGraph.Edge.Builder |
setIsExtra(boolean value)
optional bool isExtra = 4; |
CoreNLPProtos.DependencyGraph.Edge.Builder |
setLanguage(CoreNLPProtos.Language value)
optional .edu.stanford.nlp.pipeline.Language language = 7 [default = Unknown]; |
CoreNLPProtos.DependencyGraph.Edge.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
java.lang.Object value) |
CoreNLPProtos.DependencyGraph.Edge.Builder |
setSource(int value)
required uint32 source = 1; |
CoreNLPProtos.DependencyGraph.Edge.Builder |
setSourceCopy(int value)
optional uint32 sourceCopy = 5; |
CoreNLPProtos.DependencyGraph.Edge.Builder |
setTarget(int value)
required uint32 target = 2; |
CoreNLPProtos.DependencyGraph.Edge.Builder |
setTargetCopy(int value)
optional uint32 targetCopy = 6; |
CoreNLPProtos.DependencyGraph.Edge.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.DependencyGraph.Edge.Builder>
public CoreNLPProtos.DependencyGraph.Edge.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.DependencyGraph.Edge.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.DependencyGraph.Edge.Builder>
public CoreNLPProtos.DependencyGraph.Edge getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public CoreNLPProtos.DependencyGraph.Edge build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public CoreNLPProtos.DependencyGraph.Edge buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public CoreNLPProtos.DependencyGraph.Edge.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.DependencyGraph.Edge.Builder>
public CoreNLPProtos.DependencyGraph.Edge.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.DependencyGraph.Edge.Builder>
public CoreNLPProtos.DependencyGraph.Edge.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.DependencyGraph.Edge.Builder>
public CoreNLPProtos.DependencyGraph.Edge.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.DependencyGraph.Edge.Builder>
public CoreNLPProtos.DependencyGraph.Edge.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.DependencyGraph.Edge.Builder>
public CoreNLPProtos.DependencyGraph.Edge.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.DependencyGraph.Edge.Builder>
public CoreNLPProtos.DependencyGraph.Edge.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<CoreNLPProtos.DependencyGraph.Edge.Builder>
public CoreNLPProtos.DependencyGraph.Edge.Builder mergeFrom(CoreNLPProtos.DependencyGraph.Edge other)
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessageV3.Builder<CoreNLPProtos.DependencyGraph.Edge.Builder>
public CoreNLPProtos.DependencyGraph.Edge.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.DependencyGraph.Edge.Builder>
java.io.IOException
public boolean hasSource()
required uint32 source = 1;
hasSource
in interface CoreNLPProtos.DependencyGraph.EdgeOrBuilder
public int getSource()
required uint32 source = 1;
getSource
in interface CoreNLPProtos.DependencyGraph.EdgeOrBuilder
public CoreNLPProtos.DependencyGraph.Edge.Builder setSource(int value)
required uint32 source = 1;
value
- The source to set.public CoreNLPProtos.DependencyGraph.Edge.Builder clearSource()
required uint32 source = 1;
public boolean hasTarget()
required uint32 target = 2;
hasTarget
in interface CoreNLPProtos.DependencyGraph.EdgeOrBuilder
public int getTarget()
required uint32 target = 2;
getTarget
in interface CoreNLPProtos.DependencyGraph.EdgeOrBuilder
public CoreNLPProtos.DependencyGraph.Edge.Builder setTarget(int value)
required uint32 target = 2;
value
- The target to set.public CoreNLPProtos.DependencyGraph.Edge.Builder clearTarget()
required uint32 target = 2;
public boolean hasDep()
optional string dep = 3;
hasDep
in interface CoreNLPProtos.DependencyGraph.EdgeOrBuilder
public java.lang.String getDep()
optional string dep = 3;
getDep
in interface CoreNLPProtos.DependencyGraph.EdgeOrBuilder
public com.google.protobuf.ByteString getDepBytes()
optional string dep = 3;
getDepBytes
in interface CoreNLPProtos.DependencyGraph.EdgeOrBuilder
public CoreNLPProtos.DependencyGraph.Edge.Builder setDep(java.lang.String value)
optional string dep = 3;
value
- The dep to set.public CoreNLPProtos.DependencyGraph.Edge.Builder clearDep()
optional string dep = 3;
public CoreNLPProtos.DependencyGraph.Edge.Builder setDepBytes(com.google.protobuf.ByteString value)
optional string dep = 3;
value
- The bytes for dep to set.public boolean hasIsExtra()
optional bool isExtra = 4;
hasIsExtra
in interface CoreNLPProtos.DependencyGraph.EdgeOrBuilder
public boolean getIsExtra()
optional bool isExtra = 4;
getIsExtra
in interface CoreNLPProtos.DependencyGraph.EdgeOrBuilder
public CoreNLPProtos.DependencyGraph.Edge.Builder setIsExtra(boolean value)
optional bool isExtra = 4;
value
- The isExtra to set.public CoreNLPProtos.DependencyGraph.Edge.Builder clearIsExtra()
optional bool isExtra = 4;
public boolean hasSourceCopy()
optional uint32 sourceCopy = 5;
hasSourceCopy
in interface CoreNLPProtos.DependencyGraph.EdgeOrBuilder
public int getSourceCopy()
optional uint32 sourceCopy = 5;
getSourceCopy
in interface CoreNLPProtos.DependencyGraph.EdgeOrBuilder
public CoreNLPProtos.DependencyGraph.Edge.Builder setSourceCopy(int value)
optional uint32 sourceCopy = 5;
value
- The sourceCopy to set.public CoreNLPProtos.DependencyGraph.Edge.Builder clearSourceCopy()
optional uint32 sourceCopy = 5;
public boolean hasTargetCopy()
optional uint32 targetCopy = 6;
hasTargetCopy
in interface CoreNLPProtos.DependencyGraph.EdgeOrBuilder
public int getTargetCopy()
optional uint32 targetCopy = 6;
getTargetCopy
in interface CoreNLPProtos.DependencyGraph.EdgeOrBuilder
public CoreNLPProtos.DependencyGraph.Edge.Builder setTargetCopy(int value)
optional uint32 targetCopy = 6;
value
- The targetCopy to set.public CoreNLPProtos.DependencyGraph.Edge.Builder clearTargetCopy()
optional uint32 targetCopy = 6;
public boolean hasLanguage()
optional .edu.stanford.nlp.pipeline.Language language = 7 [default = Unknown];
hasLanguage
in interface CoreNLPProtos.DependencyGraph.EdgeOrBuilder
public CoreNLPProtos.Language getLanguage()
optional .edu.stanford.nlp.pipeline.Language language = 7 [default = Unknown];
getLanguage
in interface CoreNLPProtos.DependencyGraph.EdgeOrBuilder
public CoreNLPProtos.DependencyGraph.Edge.Builder setLanguage(CoreNLPProtos.Language value)
optional .edu.stanford.nlp.pipeline.Language language = 7 [default = Unknown];
value
- The language to set.public CoreNLPProtos.DependencyGraph.Edge.Builder clearLanguage()
optional .edu.stanford.nlp.pipeline.Language language = 7 [default = Unknown];
public final CoreNLPProtos.DependencyGraph.Edge.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields
in interface com.google.protobuf.Message.Builder
setUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<CoreNLPProtos.DependencyGraph.Edge.Builder>
public final CoreNLPProtos.DependencyGraph.Edge.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields
in interface com.google.protobuf.Message.Builder
mergeUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<CoreNLPProtos.DependencyGraph.Edge.Builder>