public static final class CoreNLPProtos.SsurgeonRequest.Ssurgeon.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<CoreNLPProtos.SsurgeonRequest.Ssurgeon.Builder> implements CoreNLPProtos.SsurgeonRequest.SsurgeonOrBuilder
edu.stanford.nlp.pipeline.SsurgeonRequest.Ssurgeon
Modifier and Type | Method and Description |
---|---|
CoreNLPProtos.SsurgeonRequest.Ssurgeon.Builder |
addAllOperation(java.lang.Iterable<java.lang.String> values)
repeated string operation = 2; |
CoreNLPProtos.SsurgeonRequest.Ssurgeon.Builder |
addOperation(java.lang.String value)
repeated string operation = 2; |
CoreNLPProtos.SsurgeonRequest.Ssurgeon.Builder |
addOperationBytes(com.google.protobuf.ByteString value)
repeated string operation = 2; |
CoreNLPProtos.SsurgeonRequest.Ssurgeon.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) |
CoreNLPProtos.SsurgeonRequest.Ssurgeon |
build() |
CoreNLPProtos.SsurgeonRequest.Ssurgeon |
buildPartial() |
CoreNLPProtos.SsurgeonRequest.Ssurgeon.Builder |
clear() |
CoreNLPProtos.SsurgeonRequest.Ssurgeon.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
CoreNLPProtos.SsurgeonRequest.Ssurgeon.Builder |
clearId()
optional string id = 3; |
CoreNLPProtos.SsurgeonRequest.Ssurgeon.Builder |
clearLanguage()
optional string language = 5; |
CoreNLPProtos.SsurgeonRequest.Ssurgeon.Builder |
clearNotes()
optional string notes = 4; |
CoreNLPProtos.SsurgeonRequest.Ssurgeon.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
CoreNLPProtos.SsurgeonRequest.Ssurgeon.Builder |
clearOperation()
repeated string operation = 2; |
CoreNLPProtos.SsurgeonRequest.Ssurgeon.Builder |
clearSemgrex()
optional string semgrex = 1; |
CoreNLPProtos.SsurgeonRequest.Ssurgeon.Builder |
clone() |
CoreNLPProtos.SsurgeonRequest.Ssurgeon |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
java.lang.String |
getId()
optional string id = 3; |
com.google.protobuf.ByteString |
getIdBytes()
optional string id = 3; |
java.lang.String |
getLanguage()
optional string language = 5; |
com.google.protobuf.ByteString |
getLanguageBytes()
optional string language = 5; |
java.lang.String |
getNotes()
optional string notes = 4; |
com.google.protobuf.ByteString |
getNotesBytes()
optional string notes = 4; |
java.lang.String |
getOperation(int index)
repeated string operation = 2; |
com.google.protobuf.ByteString |
getOperationBytes(int index)
repeated string operation = 2; |
int |
getOperationCount()
repeated string operation = 2; |
com.google.protobuf.ProtocolStringList |
getOperationList()
repeated string operation = 2; |
java.lang.String |
getSemgrex()
optional string semgrex = 1; |
com.google.protobuf.ByteString |
getSemgrexBytes()
optional string semgrex = 1; |
boolean |
hasId()
optional string id = 3; |
boolean |
hasLanguage()
optional string language = 5; |
boolean |
hasNotes()
optional string notes = 4; |
boolean |
hasSemgrex()
optional string semgrex = 1; |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
CoreNLPProtos.SsurgeonRequest.Ssurgeon.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
CoreNLPProtos.SsurgeonRequest.Ssurgeon.Builder |
mergeFrom(CoreNLPProtos.SsurgeonRequest.Ssurgeon other) |
CoreNLPProtos.SsurgeonRequest.Ssurgeon.Builder |
mergeFrom(com.google.protobuf.Message other) |
CoreNLPProtos.SsurgeonRequest.Ssurgeon.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
CoreNLPProtos.SsurgeonRequest.Ssurgeon.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) |
CoreNLPProtos.SsurgeonRequest.Ssurgeon.Builder |
setId(java.lang.String value)
optional string id = 3; |
CoreNLPProtos.SsurgeonRequest.Ssurgeon.Builder |
setIdBytes(com.google.protobuf.ByteString value)
optional string id = 3; |
CoreNLPProtos.SsurgeonRequest.Ssurgeon.Builder |
setLanguage(java.lang.String value)
optional string language = 5; |
CoreNLPProtos.SsurgeonRequest.Ssurgeon.Builder |
setLanguageBytes(com.google.protobuf.ByteString value)
optional string language = 5; |
CoreNLPProtos.SsurgeonRequest.Ssurgeon.Builder |
setNotes(java.lang.String value)
optional string notes = 4; |
CoreNLPProtos.SsurgeonRequest.Ssurgeon.Builder |
setNotesBytes(com.google.protobuf.ByteString value)
optional string notes = 4; |
CoreNLPProtos.SsurgeonRequest.Ssurgeon.Builder |
setOperation(int index,
java.lang.String value)
repeated string operation = 2; |
CoreNLPProtos.SsurgeonRequest.Ssurgeon.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
java.lang.Object value) |
CoreNLPProtos.SsurgeonRequest.Ssurgeon.Builder |
setSemgrex(java.lang.String value)
optional string semgrex = 1; |
CoreNLPProtos.SsurgeonRequest.Ssurgeon.Builder |
setSemgrexBytes(com.google.protobuf.ByteString value)
optional string semgrex = 1; |
CoreNLPProtos.SsurgeonRequest.Ssurgeon.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.SsurgeonRequest.Ssurgeon.Builder>
public CoreNLPProtos.SsurgeonRequest.Ssurgeon.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.SsurgeonRequest.Ssurgeon.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.SsurgeonRequest.Ssurgeon.Builder>
public CoreNLPProtos.SsurgeonRequest.Ssurgeon getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public CoreNLPProtos.SsurgeonRequest.Ssurgeon build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public CoreNLPProtos.SsurgeonRequest.Ssurgeon buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public CoreNLPProtos.SsurgeonRequest.Ssurgeon.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.SsurgeonRequest.Ssurgeon.Builder>
public CoreNLPProtos.SsurgeonRequest.Ssurgeon.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.SsurgeonRequest.Ssurgeon.Builder>
public CoreNLPProtos.SsurgeonRequest.Ssurgeon.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.SsurgeonRequest.Ssurgeon.Builder>
public CoreNLPProtos.SsurgeonRequest.Ssurgeon.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.SsurgeonRequest.Ssurgeon.Builder>
public CoreNLPProtos.SsurgeonRequest.Ssurgeon.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.SsurgeonRequest.Ssurgeon.Builder>
public CoreNLPProtos.SsurgeonRequest.Ssurgeon.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.SsurgeonRequest.Ssurgeon.Builder>
public CoreNLPProtos.SsurgeonRequest.Ssurgeon.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<CoreNLPProtos.SsurgeonRequest.Ssurgeon.Builder>
public CoreNLPProtos.SsurgeonRequest.Ssurgeon.Builder mergeFrom(CoreNLPProtos.SsurgeonRequest.Ssurgeon other)
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessageV3.Builder<CoreNLPProtos.SsurgeonRequest.Ssurgeon.Builder>
public CoreNLPProtos.SsurgeonRequest.Ssurgeon.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.SsurgeonRequest.Ssurgeon.Builder>
java.io.IOException
public boolean hasSemgrex()
optional string semgrex = 1;
hasSemgrex
in interface CoreNLPProtos.SsurgeonRequest.SsurgeonOrBuilder
public java.lang.String getSemgrex()
optional string semgrex = 1;
getSemgrex
in interface CoreNLPProtos.SsurgeonRequest.SsurgeonOrBuilder
public com.google.protobuf.ByteString getSemgrexBytes()
optional string semgrex = 1;
getSemgrexBytes
in interface CoreNLPProtos.SsurgeonRequest.SsurgeonOrBuilder
public CoreNLPProtos.SsurgeonRequest.Ssurgeon.Builder setSemgrex(java.lang.String value)
optional string semgrex = 1;
value
- The semgrex to set.public CoreNLPProtos.SsurgeonRequest.Ssurgeon.Builder clearSemgrex()
optional string semgrex = 1;
public CoreNLPProtos.SsurgeonRequest.Ssurgeon.Builder setSemgrexBytes(com.google.protobuf.ByteString value)
optional string semgrex = 1;
value
- The bytes for semgrex to set.public com.google.protobuf.ProtocolStringList getOperationList()
repeated string operation = 2;
getOperationList
in interface CoreNLPProtos.SsurgeonRequest.SsurgeonOrBuilder
public int getOperationCount()
repeated string operation = 2;
getOperationCount
in interface CoreNLPProtos.SsurgeonRequest.SsurgeonOrBuilder
public java.lang.String getOperation(int index)
repeated string operation = 2;
getOperation
in interface CoreNLPProtos.SsurgeonRequest.SsurgeonOrBuilder
index
- The index of the element to return.public com.google.protobuf.ByteString getOperationBytes(int index)
repeated string operation = 2;
getOperationBytes
in interface CoreNLPProtos.SsurgeonRequest.SsurgeonOrBuilder
index
- The index of the value to return.public CoreNLPProtos.SsurgeonRequest.Ssurgeon.Builder setOperation(int index, java.lang.String value)
repeated string operation = 2;
index
- The index to set the value at.value
- The operation to set.public CoreNLPProtos.SsurgeonRequest.Ssurgeon.Builder addOperation(java.lang.String value)
repeated string operation = 2;
value
- The operation to add.public CoreNLPProtos.SsurgeonRequest.Ssurgeon.Builder addAllOperation(java.lang.Iterable<java.lang.String> values)
repeated string operation = 2;
values
- The operation to add.public CoreNLPProtos.SsurgeonRequest.Ssurgeon.Builder clearOperation()
repeated string operation = 2;
public CoreNLPProtos.SsurgeonRequest.Ssurgeon.Builder addOperationBytes(com.google.protobuf.ByteString value)
repeated string operation = 2;
value
- The bytes of the operation to add.public boolean hasId()
optional string id = 3;
hasId
in interface CoreNLPProtos.SsurgeonRequest.SsurgeonOrBuilder
public java.lang.String getId()
optional string id = 3;
getId
in interface CoreNLPProtos.SsurgeonRequest.SsurgeonOrBuilder
public com.google.protobuf.ByteString getIdBytes()
optional string id = 3;
getIdBytes
in interface CoreNLPProtos.SsurgeonRequest.SsurgeonOrBuilder
public CoreNLPProtos.SsurgeonRequest.Ssurgeon.Builder setId(java.lang.String value)
optional string id = 3;
value
- The id to set.public CoreNLPProtos.SsurgeonRequest.Ssurgeon.Builder clearId()
optional string id = 3;
public CoreNLPProtos.SsurgeonRequest.Ssurgeon.Builder setIdBytes(com.google.protobuf.ByteString value)
optional string id = 3;
value
- The bytes for id to set.public boolean hasNotes()
optional string notes = 4;
hasNotes
in interface CoreNLPProtos.SsurgeonRequest.SsurgeonOrBuilder
public java.lang.String getNotes()
optional string notes = 4;
getNotes
in interface CoreNLPProtos.SsurgeonRequest.SsurgeonOrBuilder
public com.google.protobuf.ByteString getNotesBytes()
optional string notes = 4;
getNotesBytes
in interface CoreNLPProtos.SsurgeonRequest.SsurgeonOrBuilder
public CoreNLPProtos.SsurgeonRequest.Ssurgeon.Builder setNotes(java.lang.String value)
optional string notes = 4;
value
- The notes to set.public CoreNLPProtos.SsurgeonRequest.Ssurgeon.Builder clearNotes()
optional string notes = 4;
public CoreNLPProtos.SsurgeonRequest.Ssurgeon.Builder setNotesBytes(com.google.protobuf.ByteString value)
optional string notes = 4;
value
- The bytes for notes to set.public boolean hasLanguage()
optional string language = 5;
hasLanguage
in interface CoreNLPProtos.SsurgeonRequest.SsurgeonOrBuilder
public java.lang.String getLanguage()
optional string language = 5;
getLanguage
in interface CoreNLPProtos.SsurgeonRequest.SsurgeonOrBuilder
public com.google.protobuf.ByteString getLanguageBytes()
optional string language = 5;
getLanguageBytes
in interface CoreNLPProtos.SsurgeonRequest.SsurgeonOrBuilder
public CoreNLPProtos.SsurgeonRequest.Ssurgeon.Builder setLanguage(java.lang.String value)
optional string language = 5;
value
- The language to set.public CoreNLPProtos.SsurgeonRequest.Ssurgeon.Builder clearLanguage()
optional string language = 5;
public CoreNLPProtos.SsurgeonRequest.Ssurgeon.Builder setLanguageBytes(com.google.protobuf.ByteString value)
optional string language = 5;
value
- The bytes for language to set.public final CoreNLPProtos.SsurgeonRequest.Ssurgeon.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields
in interface com.google.protobuf.Message.Builder
setUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<CoreNLPProtos.SsurgeonRequest.Ssurgeon.Builder>
public final CoreNLPProtos.SsurgeonRequest.Ssurgeon.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields
in interface com.google.protobuf.Message.Builder
mergeUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<CoreNLPProtos.SsurgeonRequest.Ssurgeon.Builder>