diff --git a/.classpath b/.classpath index 55cac1811f..8f07166ffa 100644 --- a/.classpath +++ b/.classpath @@ -20,7 +20,7 @@ - + diff --git a/build.xml b/build.xml index 004fa576c1..5ead839c39 100644 --- a/build.xml +++ b/build.xml @@ -653,7 +653,7 @@ - + diff --git a/doc/corenlp/pom-full.xml b/doc/corenlp/pom-full.xml index c9aadfebf9..b619768563 100644 --- a/doc/corenlp/pom-full.xml +++ b/doc/corenlp/pom-full.xml @@ -141,7 +141,7 @@ com.google.protobuf protobuf-java - 3.19.6 + 3.25.5 diff --git a/lib/README b/lib/README index 6aa036d789..2d8d0b1554 100644 --- a/lib/README +++ b/lib/README @@ -353,15 +353,15 @@ LAST UPDATE: 2023 LAST UPDATE BY: John Bauer ----------------------------------------------------------------- -protobuf.jar -ORIGINAL JAR NAME: -VERSION: 3.19.6 -RELEASE DATE: Sep 2022 +protobuf-java-3.25.5.jar +ORIGINAL JAR NAME: protobuf-java-3.25.5.jar +VERSION: 3.25.5 +RELEASE DATE: Sep 2024 SOURCE AVAILABLE: yes DESCRIPTION: Google's protocol buffer library URL: https://developers.google.com/protocol-buffers/ USED BY: CoreMapProtos (and associated serializers) -LAST UPDATE: 2022-11-03 +LAST UPDATE: 2024-09-24 LAST UPDATE BY: John Bauer ---------------------------------------------------------------- diff --git a/lib/protobuf-java-3.19.6.jar b/lib/protobuf-java-3.19.6.jar deleted file mode 100644 index 36bccce27e..0000000000 Binary files a/lib/protobuf-java-3.19.6.jar and /dev/null differ diff --git a/lib/protobuf-java-3.25.5.jar b/lib/protobuf-java-3.25.5.jar new file mode 100644 index 0000000000..d766488596 Binary files /dev/null and b/lib/protobuf-java-3.25.5.jar differ diff --git a/libsrc/protobuf-java-3.19.6-sources.jar b/libsrc/protobuf-java-3.19.6-sources.jar deleted file mode 100644 index 60e678d2da..0000000000 Binary files a/libsrc/protobuf-java-3.19.6-sources.jar and /dev/null differ diff --git a/libsrc/protobuf-java-3.25.5-sources.jar b/libsrc/protobuf-java-3.25.5-sources.jar new file mode 100644 index 0000000000..bd29e68c2e Binary files /dev/null and b/libsrc/protobuf-java-3.25.5-sources.jar differ diff --git a/pom-java-11.xml b/pom-java-11.xml index 1145ff5580..18e003a177 100644 --- a/pom-java-11.xml +++ b/pom-java-11.xml @@ -139,7 +139,7 @@ com.google.protobuf protobuf-java - 3.19.6 + 3.25.5 diff --git a/pom-java-17.xml b/pom-java-17.xml index 869915a7f9..80ae4e6360 100644 --- a/pom-java-17.xml +++ b/pom-java-17.xml @@ -139,7 +139,7 @@ com.google.protobuf protobuf-java - 3.19.6 + 3.25.5 diff --git a/pom.xml b/pom.xml index c9aadfebf9..b619768563 100644 --- a/pom.xml +++ b/pom.xml @@ -141,7 +141,7 @@ com.google.protobuf protobuf-java - 3.19.6 + 3.25.5 diff --git a/src/edu/stanford/nlp/pipeline/CoreNLPProtos.java b/src/edu/stanford/nlp/pipeline/CoreNLPProtos.java index 7b0aaac014..3805d0f890 100644 --- a/src/edu/stanford/nlp/pipeline/CoreNLPProtos.java +++ b/src/edu/stanford/nlp/pipeline/CoreNLPProtos.java @@ -1,6 +1,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: CoreNLP.proto +// Protobuf Java Version: 3.25.5 package edu.stanford.nlp.pipeline; public final class CoreNLPProtos { @@ -16,6 +17,7 @@ public static void registerAllExtensions( } /** *
+   *
    * An enumeration for the valid languages allowed in CoreNLP
    * 
* @@ -197,6 +199,7 @@ private Language(int value) { /** *
+   *
    * An enumeration of valid sentiment values for the sentiment classifier.
    * 
* @@ -324,6 +327,7 @@ private Sentiment(int value) { /** *
+   *
    * The seven informative Natural Logic relations
    * 
* @@ -899,6 +903,7 @@ edu.stanford.nlp.pipeline.CoreNLPProtos.MentionOrBuilder getMentionsForCorefOrBu } /** *
+   *
    * A document; that is, the equivalent of an Annotation.
    * 
* @@ -937,11 +942,6 @@ protected java.lang.Object newInstance( return new Document(); } - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return edu.stanford.nlp.pipeline.CoreNLPProtos.internal_static_edu_stanford_nlp_pipeline_Document_descriptor; @@ -957,7 +957,8 @@ protected java.lang.Object newInstance( private int bitField0_; public static final int TEXT_FIELD_NUMBER = 1; - private volatile java.lang.Object text_; + @SuppressWarnings("serial") + private volatile java.lang.Object text_ = ""; /** * required string text = 1; * @return Whether the text field is set. @@ -1005,6 +1006,7 @@ public java.lang.String getText() { } public static final int SENTENCE_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private java.util.List sentence_; /** * repeated .edu.stanford.nlp.pipeline.Sentence sentence = 2; @@ -1045,6 +1047,7 @@ public edu.stanford.nlp.pipeline.CoreNLPProtos.SentenceOrBuilder getSentenceOrBu } public static final int COREFCHAIN_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private java.util.List corefChain_; /** * repeated .edu.stanford.nlp.pipeline.CorefChain corefChain = 3; @@ -1085,7 +1088,8 @@ public edu.stanford.nlp.pipeline.CoreNLPProtos.CorefChainOrBuilder getCorefChain } public static final int DOCID_FIELD_NUMBER = 4; - private volatile java.lang.Object docID_; + @SuppressWarnings("serial") + private volatile java.lang.Object docID_ = ""; /** * optional string docID = 4; * @return Whether the docID field is set. @@ -1133,7 +1137,8 @@ public java.lang.String getDocID() { } public static final int DOCDATE_FIELD_NUMBER = 7; - private volatile java.lang.Object docDate_; + @SuppressWarnings("serial") + private volatile java.lang.Object docDate_ = ""; /** * optional string docDate = 7; * @return Whether the docDate field is set. @@ -1181,7 +1186,7 @@ public java.lang.String getDocDate() { } public static final int CALENDAR_FIELD_NUMBER = 8; - private long calendar_; + private long calendar_ = 0L; /** * optional uint64 calendar = 8; * @return Whether the calendar field is set. @@ -1200,6 +1205,7 @@ public long getCalendar() { } public static final int SENTENCELESSTOKEN_FIELD_NUMBER = 5; + @SuppressWarnings("serial") private java.util.List sentencelessToken_; /** *
@@ -1270,6 +1276,7 @@ public edu.stanford.nlp.pipeline.CoreNLPProtos.TokenOrBuilder getSentencelessTok
     }
 
     public static final int CHARACTER_FIELD_NUMBER = 10;
+    @SuppressWarnings("serial")
     private java.util.List character_;
     /**
      * repeated .edu.stanford.nlp.pipeline.Token character = 10;
@@ -1310,6 +1317,7 @@ public edu.stanford.nlp.pipeline.CoreNLPProtos.TokenOrBuilder getCharacterOrBuil
     }
 
     public static final int QUOTE_FIELD_NUMBER = 6;
+    @SuppressWarnings("serial")
     private java.util.List quote_;
     /**
      * repeated .edu.stanford.nlp.pipeline.Quote quote = 6;
@@ -1350,6 +1358,7 @@ public edu.stanford.nlp.pipeline.CoreNLPProtos.QuoteOrBuilder getQuoteOrBuilder(
     }
 
     public static final int MENTIONS_FIELD_NUMBER = 9;
+    @SuppressWarnings("serial")
     private java.util.List mentions_;
     /**
      * 
@@ -1415,7 +1424,7 @@ public edu.stanford.nlp.pipeline.CoreNLPProtos.NERMentionOrBuilder getMentionsOr
     }
 
     public static final int HASENTITYMENTIONSANNOTATION_FIELD_NUMBER = 13;
-    private boolean hasEntityMentionsAnnotation_;
+    private boolean hasEntityMentionsAnnotation_ = false;
     /**
      * 
      * used to differentiate between null and empty list
@@ -1442,7 +1451,7 @@ public boolean getHasEntityMentionsAnnotation() {
     }
 
     public static final int XMLDOC_FIELD_NUMBER = 11;
-    private boolean xmlDoc_;
+    private boolean xmlDoc_ = false;
     /**
      * 
      **
@@ -1471,6 +1480,7 @@ public boolean getXmlDoc() {
     }
 
     public static final int SECTIONS_FIELD_NUMBER = 12;
+    @SuppressWarnings("serial")
     private java.util.List sections_;
     /**
      * repeated .edu.stanford.nlp.pipeline.Section sections = 12;
@@ -1511,6 +1521,7 @@ public edu.stanford.nlp.pipeline.CoreNLPProtos.SectionOrBuilder getSectionsOrBui
     }
 
     public static final int MENTIONSFORCOREF_FIELD_NUMBER = 14;
+    @SuppressWarnings("serial")
     private java.util.List mentionsForCoref_;
     /**
      * 
@@ -1571,7 +1582,7 @@ public edu.stanford.nlp.pipeline.CoreNLPProtos.MentionOrBuilder getMentionsForCo
     }
 
     public static final int HASCOREFMENTIONANNOTATION_FIELD_NUMBER = 15;
-    private boolean hasCorefMentionAnnotation_;
+    private boolean hasCorefMentionAnnotation_ = false;
     /**
      * optional bool hasCorefMentionAnnotation = 15;
      * @return Whether the hasCorefMentionAnnotation field is set.
@@ -1590,7 +1601,7 @@ public boolean getHasCorefMentionAnnotation() {
     }
 
     public static final int HASCOREFANNOTATION_FIELD_NUMBER = 16;
-    private boolean hasCorefAnnotation_;
+    private boolean hasCorefAnnotation_ = false;
     /**
      * optional bool hasCorefAnnotation = 16;
      * @return Whether the hasCorefAnnotation field is set.
@@ -1609,7 +1620,9 @@ public boolean getHasCorefAnnotation() {
     }
 
     public static final int COREFMENTIONTOENTITYMENTIONMAPPINGS_FIELD_NUMBER = 17;
-    private com.google.protobuf.Internal.IntList corefMentionToEntityMentionMappings_;
+    @SuppressWarnings("serial")
+    private com.google.protobuf.Internal.IntList corefMentionToEntityMentionMappings_ =
+        emptyIntList();
     /**
      * repeated int32 corefMentionToEntityMentionMappings = 17;
      * @return A list containing the corefMentionToEntityMentionMappings.
@@ -1636,7 +1649,9 @@ public int getCorefMentionToEntityMentionMappings(int index) {
     }
 
     public static final int ENTITYMENTIONTOCOREFMENTIONMAPPINGS_FIELD_NUMBER = 18;
-    private com.google.protobuf.Internal.IntList entityMentionToCorefMentionMappings_;
+    @SuppressWarnings("serial")
+    private com.google.protobuf.Internal.IntList entityMentionToCorefMentionMappings_ =
+        emptyIntList();
     /**
      * repeated int32 entityMentionToCorefMentionMappings = 18;
      * @return A list containing the entityMentionToCorefMentionMappings.
@@ -2088,11 +2103,13 @@ public static edu.stanford.nlp.pipeline.CoreNLPProtos.Document parseFrom(
       return com.google.protobuf.GeneratedMessageV3
           .parseWithIOException(PARSER, input, extensionRegistry);
     }
+
     public static edu.stanford.nlp.pipeline.CoreNLPProtos.Document parseDelimitedFrom(java.io.InputStream input)
         throws java.io.IOException {
       return com.google.protobuf.GeneratedMessageV3
           .parseDelimitedWithIOException(PARSER, input);
     }
+
     public static edu.stanford.nlp.pipeline.CoreNLPProtos.Document parseDelimitedFrom(
         java.io.InputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -2136,6 +2153,7 @@ protected Builder newBuilderForType(
     }
     /**
      * 
+     *
      * A document; that is, the equivalent of an Annotation.
      * 
* @@ -2172,8 +2190,8 @@ private Builder( @java.lang.Override public Builder clear() { super.clear(); + bitField0_ = 0; text_ = ""; - bitField0_ = (bitField0_ & ~0x00000001); if (sentenceBuilder_ == null) { sentence_ = java.util.Collections.emptyList(); } else { @@ -2189,11 +2207,8 @@ public Builder clear() { } bitField0_ = (bitField0_ & ~0x00000004); docID_ = ""; - bitField0_ = (bitField0_ & ~0x00000008); docDate_ = ""; - bitField0_ = (bitField0_ & ~0x00000010); calendar_ = 0L; - bitField0_ = (bitField0_ & ~0x00000020); if (sentencelessTokenBuilder_ == null) { sentencelessToken_ = java.util.Collections.emptyList(); } else { @@ -2223,9 +2238,7 @@ public Builder clear() { } bitField0_ = (bitField0_ & ~0x00000200); hasEntityMentionsAnnotation_ = false; - bitField0_ = (bitField0_ & ~0x00000400); xmlDoc_ = false; - bitField0_ = (bitField0_ & ~0x00000800); if (sectionsBuilder_ == null) { sections_ = java.util.Collections.emptyList(); } else { @@ -2241,13 +2254,9 @@ public Builder clear() { } bitField0_ = (bitField0_ & ~0x00002000); hasCorefMentionAnnotation_ = false; - bitField0_ = (bitField0_ & ~0x00004000); hasCorefAnnotation_ = false; - bitField0_ = (bitField0_ & ~0x00008000); corefMentionToEntityMentionMappings_ = emptyIntList(); - bitField0_ = (bitField0_ & ~0x00010000); entityMentionToCorefMentionMappings_ = emptyIntList(); - bitField0_ = (bitField0_ & ~0x00020000); return this; } @@ -2274,12 +2283,13 @@ public edu.stanford.nlp.pipeline.CoreNLPProtos.Document build() { @java.lang.Override public edu.stanford.nlp.pipeline.CoreNLPProtos.Document buildPartial() { edu.stanford.nlp.pipeline.CoreNLPProtos.Document result = new edu.stanford.nlp.pipeline.CoreNLPProtos.Document(this); - int from_bitField0_ = bitField0_; - int to_bitField0_ = 0; - if (((from_bitField0_ & 0x00000001) != 0)) { - to_bitField0_ |= 0x00000001; - } - result.text_ = text_; + buildPartialRepeatedFields(result); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartialRepeatedFields(edu.stanford.nlp.pipeline.CoreNLPProtos.Document result) { if (sentenceBuilder_ == null) { if (((bitField0_ & 0x00000002) != 0)) { sentence_ = java.util.Collections.unmodifiableList(sentence_); @@ -2298,18 +2308,6 @@ public edu.stanford.nlp.pipeline.CoreNLPProtos.Document buildPartial() { } else { result.corefChain_ = corefChainBuilder_.build(); } - if (((from_bitField0_ & 0x00000008) != 0)) { - to_bitField0_ |= 0x00000002; - } - result.docID_ = docID_; - if (((from_bitField0_ & 0x00000010) != 0)) { - to_bitField0_ |= 0x00000004; - } - result.docDate_ = docDate_; - if (((from_bitField0_ & 0x00000020) != 0)) { - result.calendar_ = calendar_; - to_bitField0_ |= 0x00000008; - } if (sentencelessTokenBuilder_ == null) { if (((bitField0_ & 0x00000040) != 0)) { sentencelessToken_ = java.util.Collections.unmodifiableList(sentencelessToken_); @@ -2346,14 +2344,6 @@ public edu.stanford.nlp.pipeline.CoreNLPProtos.Document buildPartial() { } else { result.mentions_ = mentionsBuilder_.build(); } - if (((from_bitField0_ & 0x00000400) != 0)) { - result.hasEntityMentionsAnnotation_ = hasEntityMentionsAnnotation_; - to_bitField0_ |= 0x00000010; - } - if (((from_bitField0_ & 0x00000800) != 0)) { - result.xmlDoc_ = xmlDoc_; - to_bitField0_ |= 0x00000020; - } if (sectionsBuilder_ == null) { if (((bitField0_ & 0x00001000) != 0)) { sections_ = java.util.Collections.unmodifiableList(sections_); @@ -2372,6 +2362,35 @@ public edu.stanford.nlp.pipeline.CoreNLPProtos.Document buildPartial() { } else { result.mentionsForCoref_ = mentionsForCorefBuilder_.build(); } + } + + private void buildPartial0(edu.stanford.nlp.pipeline.CoreNLPProtos.Document result) { + int from_bitField0_ = bitField0_; + int to_bitField0_ = 0; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.text_ = text_; + to_bitField0_ |= 0x00000001; + } + if (((from_bitField0_ & 0x00000008) != 0)) { + result.docID_ = docID_; + to_bitField0_ |= 0x00000002; + } + if (((from_bitField0_ & 0x00000010) != 0)) { + result.docDate_ = docDate_; + to_bitField0_ |= 0x00000004; + } + if (((from_bitField0_ & 0x00000020) != 0)) { + result.calendar_ = calendar_; + to_bitField0_ |= 0x00000008; + } + if (((from_bitField0_ & 0x00000400) != 0)) { + result.hasEntityMentionsAnnotation_ = hasEntityMentionsAnnotation_; + to_bitField0_ |= 0x00000010; + } + if (((from_bitField0_ & 0x00000800) != 0)) { + result.xmlDoc_ = xmlDoc_; + to_bitField0_ |= 0x00000020; + } if (((from_bitField0_ & 0x00004000) != 0)) { result.hasCorefMentionAnnotation_ = hasCorefMentionAnnotation_; to_bitField0_ |= 0x00000040; @@ -2380,19 +2399,15 @@ public edu.stanford.nlp.pipeline.CoreNLPProtos.Document buildPartial() { result.hasCorefAnnotation_ = hasCorefAnnotation_; to_bitField0_ |= 0x00000080; } - if (((bitField0_ & 0x00010000) != 0)) { + if (((from_bitField0_ & 0x00010000) != 0)) { corefMentionToEntityMentionMappings_.makeImmutable(); - bitField0_ = (bitField0_ & ~0x00010000); + result.corefMentionToEntityMentionMappings_ = corefMentionToEntityMentionMappings_; } - result.corefMentionToEntityMentionMappings_ = corefMentionToEntityMentionMappings_; - if (((bitField0_ & 0x00020000) != 0)) { + if (((from_bitField0_ & 0x00020000) != 0)) { entityMentionToCorefMentionMappings_.makeImmutable(); - bitField0_ = (bitField0_ & ~0x00020000); + result.entityMentionToCorefMentionMappings_ = entityMentionToCorefMentionMappings_; } - result.entityMentionToCorefMentionMappings_ = entityMentionToCorefMentionMappings_; - result.bitField0_ = to_bitField0_; - onBuilt(); - return result; + result.bitField0_ |= to_bitField0_; } @java.lang.Override @@ -2449,9 +2464,9 @@ public Builder addExtension( return super.addExtension(extension, value); } @java.lang.Override - public Builder clearExtension( + public Builder clearExtension( com.google.protobuf.GeneratedMessage.GeneratedExtension< - edu.stanford.nlp.pipeline.CoreNLPProtos.Document, ?> extension) { + edu.stanford.nlp.pipeline.CoreNLPProtos.Document, T> extension) { return super.clearExtension(extension); } @java.lang.Override @@ -2467,8 +2482,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { public Builder mergeFrom(edu.stanford.nlp.pipeline.CoreNLPProtos.Document other) { if (other == edu.stanford.nlp.pipeline.CoreNLPProtos.Document.getDefaultInstance()) return this; if (other.hasText()) { - bitField0_ |= 0x00000001; text_ = other.text_; + bitField0_ |= 0x00000001; onChanged(); } if (sentenceBuilder_ == null) { @@ -2524,13 +2539,13 @@ public Builder mergeFrom(edu.stanford.nlp.pipeline.CoreNLPProtos.Document other) } } if (other.hasDocID()) { - bitField0_ |= 0x00000008; docID_ = other.docID_; + bitField0_ |= 0x00000008; onChanged(); } if (other.hasDocDate()) { - bitField0_ |= 0x00000010; docDate_ = other.docDate_; + bitField0_ |= 0x00000010; onChanged(); } if (other.hasCalendar()) { @@ -2707,7 +2722,8 @@ public Builder mergeFrom(edu.stanford.nlp.pipeline.CoreNLPProtos.Document other) if (!other.corefMentionToEntityMentionMappings_.isEmpty()) { if (corefMentionToEntityMentionMappings_.isEmpty()) { corefMentionToEntityMentionMappings_ = other.corefMentionToEntityMentionMappings_; - bitField0_ = (bitField0_ & ~0x00010000); + corefMentionToEntityMentionMappings_.makeImmutable(); + bitField0_ |= 0x00010000; } else { ensureCorefMentionToEntityMentionMappingsIsMutable(); corefMentionToEntityMentionMappings_.addAll(other.corefMentionToEntityMentionMappings_); @@ -2717,7 +2733,8 @@ public Builder mergeFrom(edu.stanford.nlp.pipeline.CoreNLPProtos.Document other) if (!other.entityMentionToCorefMentionMappings_.isEmpty()) { if (entityMentionToCorefMentionMappings_.isEmpty()) { entityMentionToCorefMentionMappings_ = other.entityMentionToCorefMentionMappings_; - bitField0_ = (bitField0_ & ~0x00020000); + entityMentionToCorefMentionMappings_.makeImmutable(); + bitField0_ |= 0x00020000; } else { ensureEntityMentionToCorefMentionMappingsIsMutable(); entityMentionToCorefMentionMappings_.addAll(other.entityMentionToCorefMentionMappings_); @@ -3035,11 +3052,9 @@ public java.lang.String getText() { */ public Builder setText( java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000001; + if (value == null) { throw new NullPointerException(); } text_ = value; + bitField0_ |= 0x00000001; onChanged(); return this; } @@ -3048,8 +3063,8 @@ public Builder setText( * @return This builder for chaining. */ public Builder clearText() { - bitField0_ = (bitField0_ & ~0x00000001); text_ = getDefaultInstance().getText(); + bitField0_ = (bitField0_ & ~0x00000001); onChanged(); return this; } @@ -3060,11 +3075,9 @@ public Builder clearText() { */ public Builder setTextBytes( com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000001; + if (value == null) { throw new NullPointerException(); } text_ = value; + bitField0_ |= 0x00000001; onChanged(); return this; } @@ -3599,11 +3612,9 @@ public java.lang.String getDocID() { */ public Builder setDocID( java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000008; + if (value == null) { throw new NullPointerException(); } docID_ = value; + bitField0_ |= 0x00000008; onChanged(); return this; } @@ -3612,8 +3623,8 @@ public Builder setDocID( * @return This builder for chaining. */ public Builder clearDocID() { - bitField0_ = (bitField0_ & ~0x00000008); docID_ = getDefaultInstance().getDocID(); + bitField0_ = (bitField0_ & ~0x00000008); onChanged(); return this; } @@ -3624,11 +3635,9 @@ public Builder clearDocID() { */ public Builder setDocIDBytes( com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000008; + if (value == null) { throw new NullPointerException(); } docID_ = value; + bitField0_ |= 0x00000008; onChanged(); return this; } @@ -3683,11 +3692,9 @@ public java.lang.String getDocDate() { */ public Builder setDocDate( java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000010; + if (value == null) { throw new NullPointerException(); } docDate_ = value; + bitField0_ |= 0x00000010; onChanged(); return this; } @@ -3696,8 +3703,8 @@ public Builder setDocDate( * @return This builder for chaining. */ public Builder clearDocDate() { - bitField0_ = (bitField0_ & ~0x00000010); docDate_ = getDefaultInstance().getDocDate(); + bitField0_ = (bitField0_ & ~0x00000010); onChanged(); return this; } @@ -3708,11 +3715,9 @@ public Builder clearDocDate() { */ public Builder setDocDateBytes( com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000010; + if (value == null) { throw new NullPointerException(); } docDate_ = value; + bitField0_ |= 0x00000010; onChanged(); return this; } @@ -3740,8 +3745,9 @@ public long getCalendar() { * @return This builder for chaining. */ public Builder setCalendar(long value) { - bitField0_ |= 0x00000020; + calendar_ = value; + bitField0_ |= 0x00000020; onChanged(); return this; } @@ -4949,8 +4955,9 @@ public boolean getHasEntityMentionsAnnotation() { * @return This builder for chaining. */ public Builder setHasEntityMentionsAnnotation(boolean value) { - bitField0_ |= 0x00000400; + hasEntityMentionsAnnotation_ = value; + bitField0_ |= 0x00000400; onChanged(); return this; } @@ -5007,8 +5014,9 @@ public boolean getXmlDoc() { * @return This builder for chaining. */ public Builder setXmlDoc(boolean value) { - bitField0_ |= 0x00000800; + xmlDoc_ = value; + bitField0_ |= 0x00000800; onChanged(); return this; } @@ -5603,8 +5611,9 @@ public boolean getHasCorefMentionAnnotation() { * @return This builder for chaining. */ public Builder setHasCorefMentionAnnotation(boolean value) { - bitField0_ |= 0x00004000; + hasCorefMentionAnnotation_ = value; + bitField0_ |= 0x00004000; onChanged(); return this; } @@ -5642,8 +5651,9 @@ public boolean getHasCorefAnnotation() { * @return This builder for chaining. */ public Builder setHasCorefAnnotation(boolean value) { - bitField0_ |= 0x00008000; + hasCorefAnnotation_ = value; + bitField0_ |= 0x00008000; onChanged(); return this; } @@ -5660,10 +5670,10 @@ public Builder clearHasCorefAnnotation() { private com.google.protobuf.Internal.IntList corefMentionToEntityMentionMappings_ = emptyIntList(); private void ensureCorefMentionToEntityMentionMappingsIsMutable() { - if (!((bitField0_ & 0x00010000) != 0)) { - corefMentionToEntityMentionMappings_ = mutableCopy(corefMentionToEntityMentionMappings_); - bitField0_ |= 0x00010000; - } + if (!corefMentionToEntityMentionMappings_.isModifiable()) { + corefMentionToEntityMentionMappings_ = makeMutableCopy(corefMentionToEntityMentionMappings_); + } + bitField0_ |= 0x00010000; } /** * repeated int32 corefMentionToEntityMentionMappings = 17; @@ -5671,8 +5681,8 @@ private void ensureCorefMentionToEntityMentionMappingsIsMutable() { */ public java.util.List getCorefMentionToEntityMentionMappingsList() { - return ((bitField0_ & 0x00010000) != 0) ? - java.util.Collections.unmodifiableList(corefMentionToEntityMentionMappings_) : corefMentionToEntityMentionMappings_; + corefMentionToEntityMentionMappings_.makeImmutable(); + return corefMentionToEntityMentionMappings_; } /** * repeated int32 corefMentionToEntityMentionMappings = 17; @@ -5697,8 +5707,10 @@ public int getCorefMentionToEntityMentionMappings(int index) { */ public Builder setCorefMentionToEntityMentionMappings( int index, int value) { + ensureCorefMentionToEntityMentionMappingsIsMutable(); corefMentionToEntityMentionMappings_.setInt(index, value); + bitField0_ |= 0x00010000; onChanged(); return this; } @@ -5708,8 +5720,10 @@ public Builder setCorefMentionToEntityMentionMappings( * @return This builder for chaining. */ public Builder addCorefMentionToEntityMentionMappings(int value) { + ensureCorefMentionToEntityMentionMappingsIsMutable(); corefMentionToEntityMentionMappings_.addInt(value); + bitField0_ |= 0x00010000; onChanged(); return this; } @@ -5723,6 +5737,7 @@ public Builder addAllCorefMentionToEntityMentionMappings( ensureCorefMentionToEntityMentionMappingsIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, corefMentionToEntityMentionMappings_); + bitField0_ |= 0x00010000; onChanged(); return this; } @@ -5739,10 +5754,10 @@ public Builder clearCorefMentionToEntityMentionMappings() { private com.google.protobuf.Internal.IntList entityMentionToCorefMentionMappings_ = emptyIntList(); private void ensureEntityMentionToCorefMentionMappingsIsMutable() { - if (!((bitField0_ & 0x00020000) != 0)) { - entityMentionToCorefMentionMappings_ = mutableCopy(entityMentionToCorefMentionMappings_); - bitField0_ |= 0x00020000; - } + if (!entityMentionToCorefMentionMappings_.isModifiable()) { + entityMentionToCorefMentionMappings_ = makeMutableCopy(entityMentionToCorefMentionMappings_); + } + bitField0_ |= 0x00020000; } /** * repeated int32 entityMentionToCorefMentionMappings = 18; @@ -5750,8 +5765,8 @@ private void ensureEntityMentionToCorefMentionMappingsIsMutable() { */ public java.util.List getEntityMentionToCorefMentionMappingsList() { - return ((bitField0_ & 0x00020000) != 0) ? - java.util.Collections.unmodifiableList(entityMentionToCorefMentionMappings_) : entityMentionToCorefMentionMappings_; + entityMentionToCorefMentionMappings_.makeImmutable(); + return entityMentionToCorefMentionMappings_; } /** * repeated int32 entityMentionToCorefMentionMappings = 18; @@ -5776,8 +5791,10 @@ public int getEntityMentionToCorefMentionMappings(int index) { */ public Builder setEntityMentionToCorefMentionMappings( int index, int value) { + ensureEntityMentionToCorefMentionMappingsIsMutable(); entityMentionToCorefMentionMappings_.setInt(index, value); + bitField0_ |= 0x00020000; onChanged(); return this; } @@ -5787,8 +5804,10 @@ public Builder setEntityMentionToCorefMentionMappings( * @return This builder for chaining. */ public Builder addEntityMentionToCorefMentionMappings(int value) { + ensureEntityMentionToCorefMentionMappingsIsMutable(); entityMentionToCorefMentionMappings_.addInt(value); + bitField0_ |= 0x00020000; onChanged(); return this; } @@ -5802,6 +5821,7 @@ public Builder addAllEntityMentionToCorefMentionMappings( ensureEntityMentionToCorefMentionMappingsIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, entityMentionToCorefMentionMappings_); + bitField0_ |= 0x00020000; onChanged(); return this; } @@ -6884,6 +6904,7 @@ edu.stanford.nlp.pipeline.CoreNLPProtos.MentionOrBuilder getMentionsForCorefOrBu } /** *
+   *
    * The serialized version of a CoreMap representing a sentence.
    * 
* @@ -6929,11 +6950,6 @@ protected java.lang.Object newInstance( return new Sentence(); } - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return edu.stanford.nlp.pipeline.CoreNLPProtos.internal_static_edu_stanford_nlp_pipeline_Sentence_descriptor; @@ -6950,6 +6966,7 @@ protected java.lang.Object newInstance( private int bitField0_; private int bitField1_; public static final int TOKEN_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private java.util.List token_; /** * repeated .edu.stanford.nlp.pipeline.Token token = 1; @@ -6990,7 +7007,7 @@ public edu.stanford.nlp.pipeline.CoreNLPProtos.TokenOrBuilder getTokenOrBuilder( } public static final int TOKENOFFSETBEGIN_FIELD_NUMBER = 2; - private int tokenOffsetBegin_; + private int tokenOffsetBegin_ = 0; /** * required uint32 tokenOffsetBegin = 2; * @return Whether the tokenOffsetBegin field is set. @@ -7009,7 +7026,7 @@ public int getTokenOffsetBegin() { } public static final int TOKENOFFSETEND_FIELD_NUMBER = 3; - private int tokenOffsetEnd_; + private int tokenOffsetEnd_ = 0; /** * required uint32 tokenOffsetEnd = 3; * @return Whether the tokenOffsetEnd field is set. @@ -7028,7 +7045,7 @@ public int getTokenOffsetEnd() { } public static final int SENTENCEINDEX_FIELD_NUMBER = 4; - private int sentenceIndex_; + private int sentenceIndex_ = 0; /** * optional uint32 sentenceIndex = 4; * @return Whether the sentenceIndex field is set. @@ -7047,7 +7064,7 @@ public int getSentenceIndex() { } public static final int CHARACTEROFFSETBEGIN_FIELD_NUMBER = 5; - private int characterOffsetBegin_; + private int characterOffsetBegin_ = 0; /** * optional uint32 characterOffsetBegin = 5; * @return Whether the characterOffsetBegin field is set. @@ -7066,7 +7083,7 @@ public int getCharacterOffsetBegin() { } public static final int CHARACTEROFFSETEND_FIELD_NUMBER = 6; - private int characterOffsetEnd_; + private int characterOffsetEnd_ = 0; /** * optional uint32 characterOffsetEnd = 6; * @return Whether the characterOffsetEnd field is set. @@ -7163,7 +7180,8 @@ public edu.stanford.nlp.pipeline.CoreNLPProtos.ParseTreeOrBuilder getAnnotatedPa } public static final int SENTIMENT_FIELD_NUMBER = 33; - private volatile java.lang.Object sentiment_; + @SuppressWarnings("serial") + private volatile java.lang.Object sentiment_ = ""; /** * optional string sentiment = 33; * @return Whether the sentiment field is set. @@ -7211,6 +7229,7 @@ public java.lang.String getSentiment() { } public static final int KBESTPARSETREES_FIELD_NUMBER = 34; + @SuppressWarnings("serial") private java.util.List kBestParseTrees_; /** * repeated .edu.stanford.nlp.pipeline.ParseTree kBestParseTrees = 34; @@ -7355,6 +7374,7 @@ public edu.stanford.nlp.pipeline.CoreNLPProtos.DependencyGraphOrBuilder getAlter } public static final int OPENIETRIPLE_FIELD_NUMBER = 14; + @SuppressWarnings("serial") private java.util.List openieTriple_; /** *
@@ -7415,6 +7435,7 @@ public edu.stanford.nlp.pipeline.CoreNLPProtos.RelationTripleOrBuilder getOpenie
     }
 
     public static final int KBPTRIPLE_FIELD_NUMBER = 16;
+    @SuppressWarnings("serial")
     private java.util.List kbpTriple_;
     /**
      * 
@@ -7475,6 +7496,7 @@ public edu.stanford.nlp.pipeline.CoreNLPProtos.RelationTripleOrBuilder getKbpTri
     }
 
     public static final int ENTAILEDSENTENCE_FIELD_NUMBER = 15;
+    @SuppressWarnings("serial")
     private java.util.List entailedSentence_;
     /**
      * 
@@ -7535,6 +7557,7 @@ public edu.stanford.nlp.pipeline.CoreNLPProtos.SentenceFragmentOrBuilder getEnta
     }
 
     public static final int ENTAILEDCLAUSE_FIELD_NUMBER = 35;
+    @SuppressWarnings("serial")
     private java.util.List entailedClause_;
     /**
      * 
@@ -7647,6 +7670,7 @@ public edu.stanford.nlp.pipeline.CoreNLPProtos.DependencyGraphOrBuilder getEnhan
     }
 
     public static final int CHARACTER_FIELD_NUMBER = 19;
+    @SuppressWarnings("serial")
     private java.util.List character_;
     /**
      * repeated .edu.stanford.nlp.pipeline.Token character = 19;
@@ -7687,7 +7711,7 @@ public edu.stanford.nlp.pipeline.CoreNLPProtos.TokenOrBuilder getCharacterOrBuil
     }
 
     public static final int PARAGRAPH_FIELD_NUMBER = 11;
-    private int paragraph_;
+    private int paragraph_ = 0;
     /**
      * optional uint32 paragraph = 11;
      * @return Whether the paragraph field is set.
@@ -7706,7 +7730,8 @@ public int getParagraph() {
     }
 
     public static final int TEXT_FIELD_NUMBER = 12;
-    private volatile java.lang.Object text_;
+    @SuppressWarnings("serial")
+    private volatile java.lang.Object text_ = "";
     /**
      * 
      * Only needed if we're only saving the sentence.
@@ -7766,7 +7791,7 @@ public java.lang.String getText() {
     }
 
     public static final int LINENUMBER_FIELD_NUMBER = 20;
-    private int lineNumber_;
+    private int lineNumber_ = 0;
     /**
      * optional uint32 lineNumber = 20;
      * @return Whether the lineNumber field is set.
@@ -7785,7 +7810,7 @@ public int getLineNumber() {
     }
 
     public static final int HASRELATIONANNOTATIONS_FIELD_NUMBER = 51;
-    private boolean hasRelationAnnotations_;
+    private boolean hasRelationAnnotations_ = false;
     /**
      * 
      * Fields set by other annotators in CoreNLP
@@ -7812,6 +7837,7 @@ public boolean getHasRelationAnnotations() {
     }
 
     public static final int ENTITY_FIELD_NUMBER = 52;
+    @SuppressWarnings("serial")
     private java.util.List entity_;
     /**
      * repeated .edu.stanford.nlp.pipeline.Entity entity = 52;
@@ -7852,6 +7878,7 @@ public edu.stanford.nlp.pipeline.CoreNLPProtos.EntityOrBuilder getEntityOrBuilde
     }
 
     public static final int RELATION_FIELD_NUMBER = 53;
+    @SuppressWarnings("serial")
     private java.util.List relation_;
     /**
      * repeated .edu.stanford.nlp.pipeline.Relation relation = 53;
@@ -7892,7 +7919,7 @@ public edu.stanford.nlp.pipeline.CoreNLPProtos.RelationOrBuilder getRelationOrBu
     }
 
     public static final int HASNUMERIZEDTOKENSANNOTATION_FIELD_NUMBER = 54;
-    private boolean hasNumerizedTokensAnnotation_;
+    private boolean hasNumerizedTokensAnnotation_ = false;
     /**
      * optional bool hasNumerizedTokensAnnotation = 54;
      * @return Whether the hasNumerizedTokensAnnotation field is set.
@@ -7911,6 +7938,7 @@ public boolean getHasNumerizedTokensAnnotation() {
     }
 
     public static final int MENTIONS_FIELD_NUMBER = 55;
+    @SuppressWarnings("serial")
     private java.util.List mentions_;
     /**
      * repeated .edu.stanford.nlp.pipeline.NERMention mentions = 55;
@@ -7951,6 +7979,7 @@ public edu.stanford.nlp.pipeline.CoreNLPProtos.NERMentionOrBuilder getMentionsOr
     }
 
     public static final int MENTIONSFORCOREF_FIELD_NUMBER = 56;
+    @SuppressWarnings("serial")
     private java.util.List mentionsForCoref_;
     /**
      * repeated .edu.stanford.nlp.pipeline.Mention mentionsForCoref = 56;
@@ -7991,7 +8020,7 @@ public edu.stanford.nlp.pipeline.CoreNLPProtos.MentionOrBuilder getMentionsForCo
     }
 
     public static final int HASCOREFMENTIONSANNOTATION_FIELD_NUMBER = 57;
-    private boolean hasCorefMentionsAnnotation_;
+    private boolean hasCorefMentionsAnnotation_ = false;
     /**
      * optional bool hasCorefMentionsAnnotation = 57;
      * @return Whether the hasCorefMentionsAnnotation field is set.
@@ -8010,7 +8039,8 @@ public boolean getHasCorefMentionsAnnotation() {
     }
 
     public static final int SENTENCEID_FIELD_NUMBER = 58;
-    private volatile java.lang.Object sentenceID_;
+    @SuppressWarnings("serial")
+    private volatile java.lang.Object sentenceID_ = "";
     /**
      * 
      * Useful when storing sentences (e.g. ForEach)
@@ -8070,7 +8100,8 @@ public java.lang.String getSentenceID() {
     }
 
     public static final int SECTIONDATE_FIELD_NUMBER = 59;
-    private volatile java.lang.Object sectionDate_;
+    @SuppressWarnings("serial")
+    private volatile java.lang.Object sectionDate_ = "";
     /**
      * 
      * date of section
@@ -8130,7 +8161,7 @@ public java.lang.String getSectionDate() {
     }
 
     public static final int SECTIONINDEX_FIELD_NUMBER = 60;
-    private int sectionIndex_;
+    private int sectionIndex_ = 0;
     /**
      * 
      * section index for this sentence's section
@@ -8157,7 +8188,8 @@ public int getSectionIndex() {
     }
 
     public static final int SECTIONNAME_FIELD_NUMBER = 61;
-    private volatile java.lang.Object sectionName_;
+    @SuppressWarnings("serial")
+    private volatile java.lang.Object sectionName_ = "";
     /**
      * 
      * name of section
@@ -8217,7 +8249,8 @@ public java.lang.String getSectionName() {
     }
 
     public static final int SECTIONAUTHOR_FIELD_NUMBER = 62;
-    private volatile java.lang.Object sectionAuthor_;
+    @SuppressWarnings("serial")
+    private volatile java.lang.Object sectionAuthor_ = "";
     /**
      * 
      * author of section
@@ -8277,7 +8310,8 @@ public java.lang.String getSectionAuthor() {
     }
 
     public static final int DOCID_FIELD_NUMBER = 63;
-    private volatile java.lang.Object docID_;
+    @SuppressWarnings("serial")
+    private volatile java.lang.Object docID_ = "";
     /**
      * 
      * doc id
@@ -8337,7 +8371,7 @@ public java.lang.String getDocID() {
     }
 
     public static final int SECTIONQUOTED_FIELD_NUMBER = 64;
-    private boolean sectionQuoted_;
+    private boolean sectionQuoted_ = false;
     /**
      * 
      * is this sentence in an xml quote in a post
@@ -8364,7 +8398,7 @@ public boolean getSectionQuoted() {
     }
 
     public static final int HASENTITYMENTIONSANNOTATION_FIELD_NUMBER = 65;
-    private boolean hasEntityMentionsAnnotation_;
+    private boolean hasEntityMentionsAnnotation_ = false;
     /**
      * 
      * check if there are entity mentions
@@ -8391,7 +8425,7 @@ public boolean getHasEntityMentionsAnnotation() {
     }
 
     public static final int HASKBPTRIPLESANNOTATION_FIELD_NUMBER = 68;
-    private boolean hasKBPTriplesAnnotation_;
+    private boolean hasKBPTriplesAnnotation_ = false;
     /**
      * 
      * check if there are KBP triples
@@ -8418,7 +8452,7 @@ public boolean getHasKBPTriplesAnnotation() {
     }
 
     public static final int HASOPENIETRIPLESANNOTATION_FIELD_NUMBER = 69;
-    private boolean hasOpenieTriplesAnnotation_;
+    private boolean hasOpenieTriplesAnnotation_ = false;
     /**
      * 
      * check if there are OpenIE triples
@@ -8445,7 +8479,7 @@ public boolean getHasOpenieTriplesAnnotation() {
     }
 
     public static final int CHAPTERINDEX_FIELD_NUMBER = 66;
-    private int chapterIndex_;
+    private int chapterIndex_ = 0;
     /**
      * 
      * quote stuff
@@ -8472,7 +8506,7 @@ public int getChapterIndex() {
     }
 
     public static final int PARAGRAPHINDEX_FIELD_NUMBER = 67;
-    private int paragraphIndex_;
+    private int paragraphIndex_ = 0;
     /**
      * optional uint32 paragraphIndex = 67;
      * @return Whether the paragraphIndex field is set.
@@ -8529,7 +8563,8 @@ public edu.stanford.nlp.pipeline.CoreNLPProtos.SentenceOrBuilder getEnhancedSent
     }
 
     public static final int SPEAKER_FIELD_NUMBER = 71;
-    private volatile java.lang.Object speaker_;
+    @SuppressWarnings("serial")
+    private volatile java.lang.Object speaker_ = "";
     /**
      * 
      * speaker stuff
@@ -8589,7 +8624,8 @@ public java.lang.String getSpeaker() {
     }
 
     public static final int SPEAKERTYPE_FIELD_NUMBER = 72;
-    private volatile java.lang.Object speakerType_;
+    @SuppressWarnings("serial")
+    private volatile java.lang.Object speakerType_ = "";
     /**
      * 
      * The type of speaker speaking this sentence
@@ -9555,11 +9591,13 @@ public static edu.stanford.nlp.pipeline.CoreNLPProtos.Sentence parseFrom(
       return com.google.protobuf.GeneratedMessageV3
           .parseWithIOException(PARSER, input, extensionRegistry);
     }
+
     public static edu.stanford.nlp.pipeline.CoreNLPProtos.Sentence parseDelimitedFrom(java.io.InputStream input)
         throws java.io.IOException {
       return com.google.protobuf.GeneratedMessageV3
           .parseDelimitedWithIOException(PARSER, input);
     }
+
     public static edu.stanford.nlp.pipeline.CoreNLPProtos.Sentence parseDelimitedFrom(
         java.io.InputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -9603,6 +9641,7 @@ protected Builder newBuilderForType(
     }
     /**
      * 
+     *
      * The serialized version of a CoreMap representing a sentence.
      * 
* @@ -9665,6 +9704,8 @@ private void maybeForceBuilderInitialization() { @java.lang.Override public Builder clear() { super.clear(); + bitField0_ = 0; + bitField1_ = 0; if (tokenBuilder_ == null) { token_ = java.util.Collections.emptyList(); } else { @@ -9673,35 +9714,26 @@ public Builder clear() { } bitField0_ = (bitField0_ & ~0x00000001); tokenOffsetBegin_ = 0; - bitField0_ = (bitField0_ & ~0x00000002); tokenOffsetEnd_ = 0; - bitField0_ = (bitField0_ & ~0x00000004); sentenceIndex_ = 0; - bitField0_ = (bitField0_ & ~0x00000008); characterOffsetBegin_ = 0; - bitField0_ = (bitField0_ & ~0x00000010); characterOffsetEnd_ = 0; - bitField0_ = (bitField0_ & ~0x00000020); - if (parseTreeBuilder_ == null) { - parseTree_ = null; - } else { - parseTreeBuilder_.clear(); + parseTree_ = null; + if (parseTreeBuilder_ != null) { + parseTreeBuilder_.dispose(); + parseTreeBuilder_ = null; } - bitField0_ = (bitField0_ & ~0x00000040); - if (binarizedParseTreeBuilder_ == null) { - binarizedParseTree_ = null; - } else { - binarizedParseTreeBuilder_.clear(); + binarizedParseTree_ = null; + if (binarizedParseTreeBuilder_ != null) { + binarizedParseTreeBuilder_.dispose(); + binarizedParseTreeBuilder_ = null; } - bitField0_ = (bitField0_ & ~0x00000080); - if (annotatedParseTreeBuilder_ == null) { - annotatedParseTree_ = null; - } else { - annotatedParseTreeBuilder_.clear(); + annotatedParseTree_ = null; + if (annotatedParseTreeBuilder_ != null) { + annotatedParseTreeBuilder_.dispose(); + annotatedParseTreeBuilder_ = null; } - bitField0_ = (bitField0_ & ~0x00000100); sentiment_ = ""; - bitField0_ = (bitField0_ & ~0x00000200); if (kBestParseTreesBuilder_ == null) { kBestParseTrees_ = java.util.Collections.emptyList(); } else { @@ -9709,30 +9741,26 @@ public Builder clear() { kBestParseTreesBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000400); - if (basicDependenciesBuilder_ == null) { - basicDependencies_ = null; - } else { - basicDependenciesBuilder_.clear(); + basicDependencies_ = null; + if (basicDependenciesBuilder_ != null) { + basicDependenciesBuilder_.dispose(); + basicDependenciesBuilder_ = null; } - bitField0_ = (bitField0_ & ~0x00000800); - if (collapsedDependenciesBuilder_ == null) { - collapsedDependencies_ = null; - } else { - collapsedDependenciesBuilder_.clear(); + collapsedDependencies_ = null; + if (collapsedDependenciesBuilder_ != null) { + collapsedDependenciesBuilder_.dispose(); + collapsedDependenciesBuilder_ = null; } - bitField0_ = (bitField0_ & ~0x00001000); - if (collapsedCCProcessedDependenciesBuilder_ == null) { - collapsedCCProcessedDependencies_ = null; - } else { - collapsedCCProcessedDependenciesBuilder_.clear(); + collapsedCCProcessedDependencies_ = null; + if (collapsedCCProcessedDependenciesBuilder_ != null) { + collapsedCCProcessedDependenciesBuilder_.dispose(); + collapsedCCProcessedDependenciesBuilder_ = null; } - bitField0_ = (bitField0_ & ~0x00002000); - if (alternativeDependenciesBuilder_ == null) { - alternativeDependencies_ = null; - } else { - alternativeDependenciesBuilder_.clear(); + alternativeDependencies_ = null; + if (alternativeDependenciesBuilder_ != null) { + alternativeDependenciesBuilder_.dispose(); + alternativeDependenciesBuilder_ = null; } - bitField0_ = (bitField0_ & ~0x00004000); if (openieTripleBuilder_ == null) { openieTriple_ = java.util.Collections.emptyList(); } else { @@ -9761,18 +9789,16 @@ public Builder clear() { entailedClauseBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00040000); - if (enhancedDependenciesBuilder_ == null) { - enhancedDependencies_ = null; - } else { - enhancedDependenciesBuilder_.clear(); + enhancedDependencies_ = null; + if (enhancedDependenciesBuilder_ != null) { + enhancedDependenciesBuilder_.dispose(); + enhancedDependenciesBuilder_ = null; } - bitField0_ = (bitField0_ & ~0x00080000); - if (enhancedPlusPlusDependenciesBuilder_ == null) { - enhancedPlusPlusDependencies_ = null; - } else { - enhancedPlusPlusDependenciesBuilder_.clear(); + enhancedPlusPlusDependencies_ = null; + if (enhancedPlusPlusDependenciesBuilder_ != null) { + enhancedPlusPlusDependenciesBuilder_.dispose(); + enhancedPlusPlusDependenciesBuilder_ = null; } - bitField0_ = (bitField0_ & ~0x00100000); if (characterBuilder_ == null) { character_ = java.util.Collections.emptyList(); } else { @@ -9781,13 +9807,9 @@ public Builder clear() { } bitField0_ = (bitField0_ & ~0x00200000); paragraph_ = 0; - bitField0_ = (bitField0_ & ~0x00400000); text_ = ""; - bitField0_ = (bitField0_ & ~0x00800000); lineNumber_ = 0; - bitField0_ = (bitField0_ & ~0x01000000); hasRelationAnnotations_ = false; - bitField0_ = (bitField0_ & ~0x02000000); if (entityBuilder_ == null) { entity_ = java.util.Collections.emptyList(); } else { @@ -9803,7 +9825,6 @@ public Builder clear() { } bitField0_ = (bitField0_ & ~0x08000000); hasNumerizedTokensAnnotation_ = false; - bitField0_ = (bitField0_ & ~0x10000000); if (mentionsBuilder_ == null) { mentions_ = java.util.Collections.emptyList(); } else { @@ -9819,41 +9840,25 @@ public Builder clear() { } bitField0_ = (bitField0_ & ~0x40000000); hasCorefMentionsAnnotation_ = false; - bitField0_ = (bitField0_ & ~0x80000000); sentenceID_ = ""; - bitField1_ = (bitField1_ & ~0x00000001); sectionDate_ = ""; - bitField1_ = (bitField1_ & ~0x00000002); sectionIndex_ = 0; - bitField1_ = (bitField1_ & ~0x00000004); sectionName_ = ""; - bitField1_ = (bitField1_ & ~0x00000008); sectionAuthor_ = ""; - bitField1_ = (bitField1_ & ~0x00000010); docID_ = ""; - bitField1_ = (bitField1_ & ~0x00000020); sectionQuoted_ = false; - bitField1_ = (bitField1_ & ~0x00000040); hasEntityMentionsAnnotation_ = false; - bitField1_ = (bitField1_ & ~0x00000080); hasKBPTriplesAnnotation_ = false; - bitField1_ = (bitField1_ & ~0x00000100); hasOpenieTriplesAnnotation_ = false; - bitField1_ = (bitField1_ & ~0x00000200); chapterIndex_ = 0; - bitField1_ = (bitField1_ & ~0x00000400); paragraphIndex_ = 0; - bitField1_ = (bitField1_ & ~0x00000800); - if (enhancedSentenceBuilder_ == null) { - enhancedSentence_ = null; - } else { - enhancedSentenceBuilder_.clear(); + enhancedSentence_ = null; + if (enhancedSentenceBuilder_ != null) { + enhancedSentenceBuilder_.dispose(); + enhancedSentenceBuilder_ = null; } - bitField1_ = (bitField1_ & ~0x00001000); speaker_ = ""; - bitField1_ = (bitField1_ & ~0x00002000); speakerType_ = ""; - bitField1_ = (bitField1_ & ~0x00004000); return this; } @@ -9880,10 +9885,14 @@ public edu.stanford.nlp.pipeline.CoreNLPProtos.Sentence build() { @java.lang.Override public edu.stanford.nlp.pipeline.CoreNLPProtos.Sentence buildPartial() { edu.stanford.nlp.pipeline.CoreNLPProtos.Sentence result = new edu.stanford.nlp.pipeline.CoreNLPProtos.Sentence(this); - int from_bitField0_ = bitField0_; - int from_bitField1_ = bitField1_; - int to_bitField0_ = 0; - int to_bitField1_ = 0; + buildPartialRepeatedFields(result); + if (bitField0_ != 0) { buildPartial0(result); } + if (bitField1_ != 0) { buildPartial1(result); } + onBuilt(); + return result; + } + + private void buildPartialRepeatedFields(edu.stanford.nlp.pipeline.CoreNLPProtos.Sentence result) { if (tokenBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { token_ = java.util.Collections.unmodifiableList(token_); @@ -9893,54 +9902,6 @@ public edu.stanford.nlp.pipeline.CoreNLPProtos.Sentence buildPartial() { } else { result.token_ = tokenBuilder_.build(); } - if (((from_bitField0_ & 0x00000002) != 0)) { - result.tokenOffsetBegin_ = tokenOffsetBegin_; - to_bitField0_ |= 0x00000001; - } - if (((from_bitField0_ & 0x00000004) != 0)) { - result.tokenOffsetEnd_ = tokenOffsetEnd_; - to_bitField0_ |= 0x00000002; - } - if (((from_bitField0_ & 0x00000008) != 0)) { - result.sentenceIndex_ = sentenceIndex_; - to_bitField0_ |= 0x00000004; - } - if (((from_bitField0_ & 0x00000010) != 0)) { - result.characterOffsetBegin_ = characterOffsetBegin_; - to_bitField0_ |= 0x00000008; - } - if (((from_bitField0_ & 0x00000020) != 0)) { - result.characterOffsetEnd_ = characterOffsetEnd_; - to_bitField0_ |= 0x00000010; - } - if (((from_bitField0_ & 0x00000040) != 0)) { - if (parseTreeBuilder_ == null) { - result.parseTree_ = parseTree_; - } else { - result.parseTree_ = parseTreeBuilder_.build(); - } - to_bitField0_ |= 0x00000020; - } - if (((from_bitField0_ & 0x00000080) != 0)) { - if (binarizedParseTreeBuilder_ == null) { - result.binarizedParseTree_ = binarizedParseTree_; - } else { - result.binarizedParseTree_ = binarizedParseTreeBuilder_.build(); - } - to_bitField0_ |= 0x00000040; - } - if (((from_bitField0_ & 0x00000100) != 0)) { - if (annotatedParseTreeBuilder_ == null) { - result.annotatedParseTree_ = annotatedParseTree_; - } else { - result.annotatedParseTree_ = annotatedParseTreeBuilder_.build(); - } - to_bitField0_ |= 0x00000080; - } - if (((from_bitField0_ & 0x00000200) != 0)) { - to_bitField0_ |= 0x00000100; - } - result.sentiment_ = sentiment_; if (kBestParseTreesBuilder_ == null) { if (((bitField0_ & 0x00000400) != 0)) { kBestParseTrees_ = java.util.Collections.unmodifiableList(kBestParseTrees_); @@ -9950,38 +9911,6 @@ public edu.stanford.nlp.pipeline.CoreNLPProtos.Sentence buildPartial() { } else { result.kBestParseTrees_ = kBestParseTreesBuilder_.build(); } - if (((from_bitField0_ & 0x00000800) != 0)) { - if (basicDependenciesBuilder_ == null) { - result.basicDependencies_ = basicDependencies_; - } else { - result.basicDependencies_ = basicDependenciesBuilder_.build(); - } - to_bitField0_ |= 0x00000200; - } - if (((from_bitField0_ & 0x00001000) != 0)) { - if (collapsedDependenciesBuilder_ == null) { - result.collapsedDependencies_ = collapsedDependencies_; - } else { - result.collapsedDependencies_ = collapsedDependenciesBuilder_.build(); - } - to_bitField0_ |= 0x00000400; - } - if (((from_bitField0_ & 0x00002000) != 0)) { - if (collapsedCCProcessedDependenciesBuilder_ == null) { - result.collapsedCCProcessedDependencies_ = collapsedCCProcessedDependencies_; - } else { - result.collapsedCCProcessedDependencies_ = collapsedCCProcessedDependenciesBuilder_.build(); - } - to_bitField0_ |= 0x00000800; - } - if (((from_bitField0_ & 0x00004000) != 0)) { - if (alternativeDependenciesBuilder_ == null) { - result.alternativeDependencies_ = alternativeDependencies_; - } else { - result.alternativeDependencies_ = alternativeDependenciesBuilder_.build(); - } - to_bitField0_ |= 0x00001000; - } if (openieTripleBuilder_ == null) { if (((bitField0_ & 0x00008000) != 0)) { openieTriple_ = java.util.Collections.unmodifiableList(openieTriple_); @@ -10018,22 +9947,6 @@ public edu.stanford.nlp.pipeline.CoreNLPProtos.Sentence buildPartial() { } else { result.entailedClause_ = entailedClauseBuilder_.build(); } - if (((from_bitField0_ & 0x00080000) != 0)) { - if (enhancedDependenciesBuilder_ == null) { - result.enhancedDependencies_ = enhancedDependencies_; - } else { - result.enhancedDependencies_ = enhancedDependenciesBuilder_.build(); - } - to_bitField0_ |= 0x00002000; - } - if (((from_bitField0_ & 0x00100000) != 0)) { - if (enhancedPlusPlusDependenciesBuilder_ == null) { - result.enhancedPlusPlusDependencies_ = enhancedPlusPlusDependencies_; - } else { - result.enhancedPlusPlusDependencies_ = enhancedPlusPlusDependenciesBuilder_.build(); - } - to_bitField0_ |= 0x00004000; - } if (characterBuilder_ == null) { if (((bitField0_ & 0x00200000) != 0)) { character_ = java.util.Collections.unmodifiableList(character_); @@ -10043,22 +9956,6 @@ public edu.stanford.nlp.pipeline.CoreNLPProtos.Sentence buildPartial() { } else { result.character_ = characterBuilder_.build(); } - if (((from_bitField0_ & 0x00400000) != 0)) { - result.paragraph_ = paragraph_; - to_bitField0_ |= 0x00008000; - } - if (((from_bitField0_ & 0x00800000) != 0)) { - to_bitField0_ |= 0x00010000; - } - result.text_ = text_; - if (((from_bitField0_ & 0x01000000) != 0)) { - result.lineNumber_ = lineNumber_; - to_bitField0_ |= 0x00020000; - } - if (((from_bitField0_ & 0x02000000) != 0)) { - result.hasRelationAnnotations_ = hasRelationAnnotations_; - to_bitField0_ |= 0x00040000; - } if (entityBuilder_ == null) { if (((bitField0_ & 0x04000000) != 0)) { entity_ = java.util.Collections.unmodifiableList(entity_); @@ -10077,10 +9974,6 @@ public edu.stanford.nlp.pipeline.CoreNLPProtos.Sentence buildPartial() { } else { result.relation_ = relationBuilder_.build(); } - if (((from_bitField0_ & 0x10000000) != 0)) { - result.hasNumerizedTokensAnnotation_ = hasNumerizedTokensAnnotation_; - to_bitField0_ |= 0x00080000; - } if (mentionsBuilder_ == null) { if (((bitField0_ & 0x20000000) != 0)) { mentions_ = java.util.Collections.unmodifiableList(mentions_); @@ -10099,34 +9992,143 @@ public edu.stanford.nlp.pipeline.CoreNLPProtos.Sentence buildPartial() { } else { result.mentionsForCoref_ = mentionsForCorefBuilder_.build(); } + } + + private void buildPartial0(edu.stanford.nlp.pipeline.CoreNLPProtos.Sentence result) { + int from_bitField0_ = bitField0_; + int to_bitField0_ = 0; + if (((from_bitField0_ & 0x00000002) != 0)) { + result.tokenOffsetBegin_ = tokenOffsetBegin_; + to_bitField0_ |= 0x00000001; + } + if (((from_bitField0_ & 0x00000004) != 0)) { + result.tokenOffsetEnd_ = tokenOffsetEnd_; + to_bitField0_ |= 0x00000002; + } + if (((from_bitField0_ & 0x00000008) != 0)) { + result.sentenceIndex_ = sentenceIndex_; + to_bitField0_ |= 0x00000004; + } + if (((from_bitField0_ & 0x00000010) != 0)) { + result.characterOffsetBegin_ = characterOffsetBegin_; + to_bitField0_ |= 0x00000008; + } + if (((from_bitField0_ & 0x00000020) != 0)) { + result.characterOffsetEnd_ = characterOffsetEnd_; + to_bitField0_ |= 0x00000010; + } + if (((from_bitField0_ & 0x00000040) != 0)) { + result.parseTree_ = parseTreeBuilder_ == null + ? parseTree_ + : parseTreeBuilder_.build(); + to_bitField0_ |= 0x00000020; + } + if (((from_bitField0_ & 0x00000080) != 0)) { + result.binarizedParseTree_ = binarizedParseTreeBuilder_ == null + ? binarizedParseTree_ + : binarizedParseTreeBuilder_.build(); + to_bitField0_ |= 0x00000040; + } + if (((from_bitField0_ & 0x00000100) != 0)) { + result.annotatedParseTree_ = annotatedParseTreeBuilder_ == null + ? annotatedParseTree_ + : annotatedParseTreeBuilder_.build(); + to_bitField0_ |= 0x00000080; + } + if (((from_bitField0_ & 0x00000200) != 0)) { + result.sentiment_ = sentiment_; + to_bitField0_ |= 0x00000100; + } + if (((from_bitField0_ & 0x00000800) != 0)) { + result.basicDependencies_ = basicDependenciesBuilder_ == null + ? basicDependencies_ + : basicDependenciesBuilder_.build(); + to_bitField0_ |= 0x00000200; + } + if (((from_bitField0_ & 0x00001000) != 0)) { + result.collapsedDependencies_ = collapsedDependenciesBuilder_ == null + ? collapsedDependencies_ + : collapsedDependenciesBuilder_.build(); + to_bitField0_ |= 0x00000400; + } + if (((from_bitField0_ & 0x00002000) != 0)) { + result.collapsedCCProcessedDependencies_ = collapsedCCProcessedDependenciesBuilder_ == null + ? collapsedCCProcessedDependencies_ + : collapsedCCProcessedDependenciesBuilder_.build(); + to_bitField0_ |= 0x00000800; + } + if (((from_bitField0_ & 0x00004000) != 0)) { + result.alternativeDependencies_ = alternativeDependenciesBuilder_ == null + ? alternativeDependencies_ + : alternativeDependenciesBuilder_.build(); + to_bitField0_ |= 0x00001000; + } + if (((from_bitField0_ & 0x00080000) != 0)) { + result.enhancedDependencies_ = enhancedDependenciesBuilder_ == null + ? enhancedDependencies_ + : enhancedDependenciesBuilder_.build(); + to_bitField0_ |= 0x00002000; + } + if (((from_bitField0_ & 0x00100000) != 0)) { + result.enhancedPlusPlusDependencies_ = enhancedPlusPlusDependenciesBuilder_ == null + ? enhancedPlusPlusDependencies_ + : enhancedPlusPlusDependenciesBuilder_.build(); + to_bitField0_ |= 0x00004000; + } + if (((from_bitField0_ & 0x00400000) != 0)) { + result.paragraph_ = paragraph_; + to_bitField0_ |= 0x00008000; + } + if (((from_bitField0_ & 0x00800000) != 0)) { + result.text_ = text_; + to_bitField0_ |= 0x00010000; + } + if (((from_bitField0_ & 0x01000000) != 0)) { + result.lineNumber_ = lineNumber_; + to_bitField0_ |= 0x00020000; + } + if (((from_bitField0_ & 0x02000000) != 0)) { + result.hasRelationAnnotations_ = hasRelationAnnotations_; + to_bitField0_ |= 0x00040000; + } + if (((from_bitField0_ & 0x10000000) != 0)) { + result.hasNumerizedTokensAnnotation_ = hasNumerizedTokensAnnotation_; + to_bitField0_ |= 0x00080000; + } if (((from_bitField0_ & 0x80000000) != 0)) { result.hasCorefMentionsAnnotation_ = hasCorefMentionsAnnotation_; to_bitField0_ |= 0x00100000; } + result.bitField0_ |= to_bitField0_; + } + + private void buildPartial1(edu.stanford.nlp.pipeline.CoreNLPProtos.Sentence result) { + int from_bitField1_ = bitField1_; + int to_bitField0_ = 0; if (((from_bitField1_ & 0x00000001) != 0)) { + result.sentenceID_ = sentenceID_; to_bitField0_ |= 0x00200000; } - result.sentenceID_ = sentenceID_; if (((from_bitField1_ & 0x00000002) != 0)) { + result.sectionDate_ = sectionDate_; to_bitField0_ |= 0x00400000; } - result.sectionDate_ = sectionDate_; if (((from_bitField1_ & 0x00000004) != 0)) { result.sectionIndex_ = sectionIndex_; to_bitField0_ |= 0x00800000; } if (((from_bitField1_ & 0x00000008) != 0)) { + result.sectionName_ = sectionName_; to_bitField0_ |= 0x01000000; } - result.sectionName_ = sectionName_; if (((from_bitField1_ & 0x00000010) != 0)) { + result.sectionAuthor_ = sectionAuthor_; to_bitField0_ |= 0x02000000; } - result.sectionAuthor_ = sectionAuthor_; if (((from_bitField1_ & 0x00000020) != 0)) { + result.docID_ = docID_; to_bitField0_ |= 0x04000000; } - result.docID_ = docID_; if (((from_bitField1_ & 0x00000040) != 0)) { result.sectionQuoted_ = sectionQuoted_; to_bitField0_ |= 0x08000000; @@ -10147,30 +10149,27 @@ public edu.stanford.nlp.pipeline.CoreNLPProtos.Sentence buildPartial() { result.chapterIndex_ = chapterIndex_; to_bitField0_ |= 0x80000000; } + int to_bitField1_ = 0; if (((from_bitField1_ & 0x00000800) != 0)) { result.paragraphIndex_ = paragraphIndex_; to_bitField1_ |= 0x00000001; } if (((from_bitField1_ & 0x00001000) != 0)) { - if (enhancedSentenceBuilder_ == null) { - result.enhancedSentence_ = enhancedSentence_; - } else { - result.enhancedSentence_ = enhancedSentenceBuilder_.build(); - } + result.enhancedSentence_ = enhancedSentenceBuilder_ == null + ? enhancedSentence_ + : enhancedSentenceBuilder_.build(); to_bitField1_ |= 0x00000002; } if (((from_bitField1_ & 0x00002000) != 0)) { + result.speaker_ = speaker_; to_bitField1_ |= 0x00000004; } - result.speaker_ = speaker_; if (((from_bitField1_ & 0x00004000) != 0)) { + result.speakerType_ = speakerType_; to_bitField1_ |= 0x00000008; } - result.speakerType_ = speakerType_; - result.bitField0_ = to_bitField0_; - result.bitField1_ = to_bitField1_; - onBuilt(); - return result; + result.bitField0_ |= to_bitField0_; + result.bitField1_ |= to_bitField1_; } @java.lang.Override @@ -10227,9 +10226,9 @@ public Builder addExtension( return super.addExtension(extension, value); } @java.lang.Override - public Builder clearExtension( + public Builder clearExtension( com.google.protobuf.GeneratedMessage.GeneratedExtension< - edu.stanford.nlp.pipeline.CoreNLPProtos.Sentence, ?> extension) { + edu.stanford.nlp.pipeline.CoreNLPProtos.Sentence, T> extension) { return super.clearExtension(extension); } @java.lang.Override @@ -10295,8 +10294,8 @@ public Builder mergeFrom(edu.stanford.nlp.pipeline.CoreNLPProtos.Sentence other) mergeAnnotatedParseTree(other.getAnnotatedParseTree()); } if (other.hasSentiment()) { - bitField0_ |= 0x00000200; sentiment_ = other.sentiment_; + bitField0_ |= 0x00000200; onChanged(); } if (kBestParseTreesBuilder_ == null) { @@ -10477,8 +10476,8 @@ public Builder mergeFrom(edu.stanford.nlp.pipeline.CoreNLPProtos.Sentence other) setParagraph(other.getParagraph()); } if (other.hasText()) { - bitField0_ |= 0x00800000; text_ = other.text_; + bitField0_ |= 0x00800000; onChanged(); } if (other.hasLineNumber()) { @@ -10598,31 +10597,31 @@ public Builder mergeFrom(edu.stanford.nlp.pipeline.CoreNLPProtos.Sentence other) setHasCorefMentionsAnnotation(other.getHasCorefMentionsAnnotation()); } if (other.hasSentenceID()) { - bitField1_ |= 0x00000001; sentenceID_ = other.sentenceID_; + bitField1_ |= 0x00000001; onChanged(); } if (other.hasSectionDate()) { - bitField1_ |= 0x00000002; sectionDate_ = other.sectionDate_; + bitField1_ |= 0x00000002; onChanged(); } if (other.hasSectionIndex()) { setSectionIndex(other.getSectionIndex()); } if (other.hasSectionName()) { - bitField1_ |= 0x00000008; sectionName_ = other.sectionName_; + bitField1_ |= 0x00000008; onChanged(); } if (other.hasSectionAuthor()) { - bitField1_ |= 0x00000010; sectionAuthor_ = other.sectionAuthor_; + bitField1_ |= 0x00000010; onChanged(); } if (other.hasDocID()) { - bitField1_ |= 0x00000020; docID_ = other.docID_; + bitField1_ |= 0x00000020; onChanged(); } if (other.hasSectionQuoted()) { @@ -10647,13 +10646,13 @@ public Builder mergeFrom(edu.stanford.nlp.pipeline.CoreNLPProtos.Sentence other) mergeEnhancedSentence(other.getEnhancedSentence()); } if (other.hasSpeaker()) { - bitField1_ |= 0x00002000; speaker_ = other.speaker_; + bitField1_ |= 0x00002000; onChanged(); } if (other.hasSpeakerType()) { - bitField1_ |= 0x00004000; speakerType_ = other.speakerType_; + bitField1_ |= 0x00004000; onChanged(); } this.mergeExtensionFields(other); @@ -11376,8 +11375,9 @@ public int getTokenOffsetBegin() { * @return This builder for chaining. */ public Builder setTokenOffsetBegin(int value) { - bitField0_ |= 0x00000002; + tokenOffsetBegin_ = value; + bitField0_ |= 0x00000002; onChanged(); return this; } @@ -11415,8 +11415,9 @@ public int getTokenOffsetEnd() { * @return This builder for chaining. */ public Builder setTokenOffsetEnd(int value) { - bitField0_ |= 0x00000004; + tokenOffsetEnd_ = value; + bitField0_ |= 0x00000004; onChanged(); return this; } @@ -11454,8 +11455,9 @@ public int getSentenceIndex() { * @return This builder for chaining. */ public Builder setSentenceIndex(int value) { - bitField0_ |= 0x00000008; + sentenceIndex_ = value; + bitField0_ |= 0x00000008; onChanged(); return this; } @@ -11493,8 +11495,9 @@ public int getCharacterOffsetBegin() { * @return This builder for chaining. */ public Builder setCharacterOffsetBegin(int value) { - bitField0_ |= 0x00000010; + characterOffsetBegin_ = value; + bitField0_ |= 0x00000010; onChanged(); return this; } @@ -11532,8 +11535,9 @@ public int getCharacterOffsetEnd() { * @return This builder for chaining. */ public Builder setCharacterOffsetEnd(int value) { - bitField0_ |= 0x00000020; + characterOffsetEnd_ = value; + bitField0_ |= 0x00000020; onChanged(); return this; } @@ -11578,11 +11582,11 @@ public Builder setParseTree(edu.stanford.nlp.pipeline.CoreNLPProtos.ParseTree va throw new NullPointerException(); } parseTree_ = value; - onChanged(); } else { parseTreeBuilder_.setMessage(value); } bitField0_ |= 0x00000040; + onChanged(); return this; } /** @@ -11592,11 +11596,11 @@ public Builder setParseTree( edu.stanford.nlp.pipeline.CoreNLPProtos.ParseTree.Builder builderForValue) { if (parseTreeBuilder_ == null) { parseTree_ = builderForValue.build(); - onChanged(); } else { parseTreeBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000040; + onChanged(); return this; } /** @@ -11605,31 +11609,32 @@ public Builder setParseTree( public Builder mergeParseTree(edu.stanford.nlp.pipeline.CoreNLPProtos.ParseTree value) { if (parseTreeBuilder_ == null) { if (((bitField0_ & 0x00000040) != 0) && - parseTree_ != null && - parseTree_ != edu.stanford.nlp.pipeline.CoreNLPProtos.ParseTree.getDefaultInstance()) { - parseTree_ = - edu.stanford.nlp.pipeline.CoreNLPProtos.ParseTree.newBuilder(parseTree_).mergeFrom(value).buildPartial(); + parseTree_ != null && + parseTree_ != edu.stanford.nlp.pipeline.CoreNLPProtos.ParseTree.getDefaultInstance()) { + getParseTreeBuilder().mergeFrom(value); } else { parseTree_ = value; } - onChanged(); } else { parseTreeBuilder_.mergeFrom(value); } - bitField0_ |= 0x00000040; + if (parseTree_ != null) { + bitField0_ |= 0x00000040; + onChanged(); + } return this; } /** * optional .edu.stanford.nlp.pipeline.ParseTree parseTree = 7; */ public Builder clearParseTree() { - if (parseTreeBuilder_ == null) { - parseTree_ = null; - onChanged(); - } else { - parseTreeBuilder_.clear(); - } bitField0_ = (bitField0_ & ~0x00000040); + parseTree_ = null; + if (parseTreeBuilder_ != null) { + parseTreeBuilder_.dispose(); + parseTreeBuilder_ = null; + } + onChanged(); return this; } /** @@ -11698,11 +11703,11 @@ public Builder setBinarizedParseTree(edu.stanford.nlp.pipeline.CoreNLPProtos.Par throw new NullPointerException(); } binarizedParseTree_ = value; - onChanged(); } else { binarizedParseTreeBuilder_.setMessage(value); } bitField0_ |= 0x00000080; + onChanged(); return this; } /** @@ -11712,11 +11717,11 @@ public Builder setBinarizedParseTree( edu.stanford.nlp.pipeline.CoreNLPProtos.ParseTree.Builder builderForValue) { if (binarizedParseTreeBuilder_ == null) { binarizedParseTree_ = builderForValue.build(); - onChanged(); } else { binarizedParseTreeBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000080; + onChanged(); return this; } /** @@ -11725,31 +11730,32 @@ public Builder setBinarizedParseTree( public Builder mergeBinarizedParseTree(edu.stanford.nlp.pipeline.CoreNLPProtos.ParseTree value) { if (binarizedParseTreeBuilder_ == null) { if (((bitField0_ & 0x00000080) != 0) && - binarizedParseTree_ != null && - binarizedParseTree_ != edu.stanford.nlp.pipeline.CoreNLPProtos.ParseTree.getDefaultInstance()) { - binarizedParseTree_ = - edu.stanford.nlp.pipeline.CoreNLPProtos.ParseTree.newBuilder(binarizedParseTree_).mergeFrom(value).buildPartial(); + binarizedParseTree_ != null && + binarizedParseTree_ != edu.stanford.nlp.pipeline.CoreNLPProtos.ParseTree.getDefaultInstance()) { + getBinarizedParseTreeBuilder().mergeFrom(value); } else { binarizedParseTree_ = value; } - onChanged(); } else { binarizedParseTreeBuilder_.mergeFrom(value); } - bitField0_ |= 0x00000080; + if (binarizedParseTree_ != null) { + bitField0_ |= 0x00000080; + onChanged(); + } return this; } /** * optional .edu.stanford.nlp.pipeline.ParseTree binarizedParseTree = 31; */ public Builder clearBinarizedParseTree() { - if (binarizedParseTreeBuilder_ == null) { - binarizedParseTree_ = null; - onChanged(); - } else { - binarizedParseTreeBuilder_.clear(); - } bitField0_ = (bitField0_ & ~0x00000080); + binarizedParseTree_ = null; + if (binarizedParseTreeBuilder_ != null) { + binarizedParseTreeBuilder_.dispose(); + binarizedParseTreeBuilder_ = null; + } + onChanged(); return this; } /** @@ -11818,11 +11824,11 @@ public Builder setAnnotatedParseTree(edu.stanford.nlp.pipeline.CoreNLPProtos.Par throw new NullPointerException(); } annotatedParseTree_ = value; - onChanged(); } else { annotatedParseTreeBuilder_.setMessage(value); } bitField0_ |= 0x00000100; + onChanged(); return this; } /** @@ -11832,11 +11838,11 @@ public Builder setAnnotatedParseTree( edu.stanford.nlp.pipeline.CoreNLPProtos.ParseTree.Builder builderForValue) { if (annotatedParseTreeBuilder_ == null) { annotatedParseTree_ = builderForValue.build(); - onChanged(); } else { annotatedParseTreeBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000100; + onChanged(); return this; } /** @@ -11845,31 +11851,32 @@ public Builder setAnnotatedParseTree( public Builder mergeAnnotatedParseTree(edu.stanford.nlp.pipeline.CoreNLPProtos.ParseTree value) { if (annotatedParseTreeBuilder_ == null) { if (((bitField0_ & 0x00000100) != 0) && - annotatedParseTree_ != null && - annotatedParseTree_ != edu.stanford.nlp.pipeline.CoreNLPProtos.ParseTree.getDefaultInstance()) { - annotatedParseTree_ = - edu.stanford.nlp.pipeline.CoreNLPProtos.ParseTree.newBuilder(annotatedParseTree_).mergeFrom(value).buildPartial(); + annotatedParseTree_ != null && + annotatedParseTree_ != edu.stanford.nlp.pipeline.CoreNLPProtos.ParseTree.getDefaultInstance()) { + getAnnotatedParseTreeBuilder().mergeFrom(value); } else { annotatedParseTree_ = value; } - onChanged(); } else { annotatedParseTreeBuilder_.mergeFrom(value); } - bitField0_ |= 0x00000100; + if (annotatedParseTree_ != null) { + bitField0_ |= 0x00000100; + onChanged(); + } return this; } /** * optional .edu.stanford.nlp.pipeline.ParseTree annotatedParseTree = 32; */ public Builder clearAnnotatedParseTree() { - if (annotatedParseTreeBuilder_ == null) { - annotatedParseTree_ = null; - onChanged(); - } else { - annotatedParseTreeBuilder_.clear(); - } bitField0_ = (bitField0_ & ~0x00000100); + annotatedParseTree_ = null; + if (annotatedParseTreeBuilder_ != null) { + annotatedParseTreeBuilder_.dispose(); + annotatedParseTreeBuilder_ = null; + } + onChanged(); return this; } /** @@ -11958,11 +11965,9 @@ public java.lang.String getSentiment() { */ public Builder setSentiment( java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000200; + if (value == null) { throw new NullPointerException(); } sentiment_ = value; + bitField0_ |= 0x00000200; onChanged(); return this; } @@ -11971,8 +11976,8 @@ public Builder setSentiment( * @return This builder for chaining. */ public Builder clearSentiment() { - bitField0_ = (bitField0_ & ~0x00000200); sentiment_ = getDefaultInstance().getSentiment(); + bitField0_ = (bitField0_ & ~0x00000200); onChanged(); return this; } @@ -11983,11 +11988,9 @@ public Builder clearSentiment() { */ public Builder setSentimentBytes( com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000200; + if (value == null) { throw new NullPointerException(); } sentiment_ = value; + bitField0_ |= 0x00000200; onChanged(); return this; } @@ -12262,11 +12265,11 @@ public Builder setBasicDependencies(edu.stanford.nlp.pipeline.CoreNLPProtos.Depe throw new NullPointerException(); } basicDependencies_ = value; - onChanged(); } else { basicDependenciesBuilder_.setMessage(value); } bitField0_ |= 0x00000800; + onChanged(); return this; } /** @@ -12276,11 +12279,11 @@ public Builder setBasicDependencies( edu.stanford.nlp.pipeline.CoreNLPProtos.DependencyGraph.Builder builderForValue) { if (basicDependenciesBuilder_ == null) { basicDependencies_ = builderForValue.build(); - onChanged(); } else { basicDependenciesBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000800; + onChanged(); return this; } /** @@ -12289,31 +12292,32 @@ public Builder setBasicDependencies( public Builder mergeBasicDependencies(edu.stanford.nlp.pipeline.CoreNLPProtos.DependencyGraph value) { if (basicDependenciesBuilder_ == null) { if (((bitField0_ & 0x00000800) != 0) && - basicDependencies_ != null && - basicDependencies_ != edu.stanford.nlp.pipeline.CoreNLPProtos.DependencyGraph.getDefaultInstance()) { - basicDependencies_ = - edu.stanford.nlp.pipeline.CoreNLPProtos.DependencyGraph.newBuilder(basicDependencies_).mergeFrom(value).buildPartial(); + basicDependencies_ != null && + basicDependencies_ != edu.stanford.nlp.pipeline.CoreNLPProtos.DependencyGraph.getDefaultInstance()) { + getBasicDependenciesBuilder().mergeFrom(value); } else { basicDependencies_ = value; } - onChanged(); } else { basicDependenciesBuilder_.mergeFrom(value); } - bitField0_ |= 0x00000800; + if (basicDependencies_ != null) { + bitField0_ |= 0x00000800; + onChanged(); + } return this; } /** * optional .edu.stanford.nlp.pipeline.DependencyGraph basicDependencies = 8; */ public Builder clearBasicDependencies() { - if (basicDependenciesBuilder_ == null) { - basicDependencies_ = null; - onChanged(); - } else { - basicDependenciesBuilder_.clear(); - } bitField0_ = (bitField0_ & ~0x00000800); + basicDependencies_ = null; + if (basicDependenciesBuilder_ != null) { + basicDependenciesBuilder_.dispose(); + basicDependenciesBuilder_ = null; + } + onChanged(); return this; } /** @@ -12382,11 +12386,11 @@ public Builder setCollapsedDependencies(edu.stanford.nlp.pipeline.CoreNLPProtos. throw new NullPointerException(); } collapsedDependencies_ = value; - onChanged(); } else { collapsedDependenciesBuilder_.setMessage(value); } bitField0_ |= 0x00001000; + onChanged(); return this; } /** @@ -12396,11 +12400,11 @@ public Builder setCollapsedDependencies( edu.stanford.nlp.pipeline.CoreNLPProtos.DependencyGraph.Builder builderForValue) { if (collapsedDependenciesBuilder_ == null) { collapsedDependencies_ = builderForValue.build(); - onChanged(); } else { collapsedDependenciesBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00001000; + onChanged(); return this; } /** @@ -12409,31 +12413,32 @@ public Builder setCollapsedDependencies( public Builder mergeCollapsedDependencies(edu.stanford.nlp.pipeline.CoreNLPProtos.DependencyGraph value) { if (collapsedDependenciesBuilder_ == null) { if (((bitField0_ & 0x00001000) != 0) && - collapsedDependencies_ != null && - collapsedDependencies_ != edu.stanford.nlp.pipeline.CoreNLPProtos.DependencyGraph.getDefaultInstance()) { - collapsedDependencies_ = - edu.stanford.nlp.pipeline.CoreNLPProtos.DependencyGraph.newBuilder(collapsedDependencies_).mergeFrom(value).buildPartial(); + collapsedDependencies_ != null && + collapsedDependencies_ != edu.stanford.nlp.pipeline.CoreNLPProtos.DependencyGraph.getDefaultInstance()) { + getCollapsedDependenciesBuilder().mergeFrom(value); } else { collapsedDependencies_ = value; } - onChanged(); } else { collapsedDependenciesBuilder_.mergeFrom(value); } - bitField0_ |= 0x00001000; + if (collapsedDependencies_ != null) { + bitField0_ |= 0x00001000; + onChanged(); + } return this; } /** * optional .edu.stanford.nlp.pipeline.DependencyGraph collapsedDependencies = 9; */ public Builder clearCollapsedDependencies() { - if (collapsedDependenciesBuilder_ == null) { - collapsedDependencies_ = null; - onChanged(); - } else { - collapsedDependenciesBuilder_.clear(); - } bitField0_ = (bitField0_ & ~0x00001000); + collapsedDependencies_ = null; + if (collapsedDependenciesBuilder_ != null) { + collapsedDependenciesBuilder_.dispose(); + collapsedDependenciesBuilder_ = null; + } + onChanged(); return this; } /** @@ -12502,11 +12507,11 @@ public Builder setCollapsedCCProcessedDependencies(edu.stanford.nlp.pipeline.Cor throw new NullPointerException(); } collapsedCCProcessedDependencies_ = value; - onChanged(); } else { collapsedCCProcessedDependenciesBuilder_.setMessage(value); } bitField0_ |= 0x00002000; + onChanged(); return this; } /** @@ -12516,11 +12521,11 @@ public Builder setCollapsedCCProcessedDependencies( edu.stanford.nlp.pipeline.CoreNLPProtos.DependencyGraph.Builder builderForValue) { if (collapsedCCProcessedDependenciesBuilder_ == null) { collapsedCCProcessedDependencies_ = builderForValue.build(); - onChanged(); } else { collapsedCCProcessedDependenciesBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00002000; + onChanged(); return this; } /** @@ -12529,31 +12534,32 @@ public Builder setCollapsedCCProcessedDependencies( public Builder mergeCollapsedCCProcessedDependencies(edu.stanford.nlp.pipeline.CoreNLPProtos.DependencyGraph value) { if (collapsedCCProcessedDependenciesBuilder_ == null) { if (((bitField0_ & 0x00002000) != 0) && - collapsedCCProcessedDependencies_ != null && - collapsedCCProcessedDependencies_ != edu.stanford.nlp.pipeline.CoreNLPProtos.DependencyGraph.getDefaultInstance()) { - collapsedCCProcessedDependencies_ = - edu.stanford.nlp.pipeline.CoreNLPProtos.DependencyGraph.newBuilder(collapsedCCProcessedDependencies_).mergeFrom(value).buildPartial(); + collapsedCCProcessedDependencies_ != null && + collapsedCCProcessedDependencies_ != edu.stanford.nlp.pipeline.CoreNLPProtos.DependencyGraph.getDefaultInstance()) { + getCollapsedCCProcessedDependenciesBuilder().mergeFrom(value); } else { collapsedCCProcessedDependencies_ = value; } - onChanged(); } else { collapsedCCProcessedDependenciesBuilder_.mergeFrom(value); } - bitField0_ |= 0x00002000; + if (collapsedCCProcessedDependencies_ != null) { + bitField0_ |= 0x00002000; + onChanged(); + } return this; } /** * optional .edu.stanford.nlp.pipeline.DependencyGraph collapsedCCProcessedDependencies = 10; */ public Builder clearCollapsedCCProcessedDependencies() { - if (collapsedCCProcessedDependenciesBuilder_ == null) { - collapsedCCProcessedDependencies_ = null; - onChanged(); - } else { - collapsedCCProcessedDependenciesBuilder_.clear(); - } bitField0_ = (bitField0_ & ~0x00002000); + collapsedCCProcessedDependencies_ = null; + if (collapsedCCProcessedDependenciesBuilder_ != null) { + collapsedCCProcessedDependenciesBuilder_.dispose(); + collapsedCCProcessedDependenciesBuilder_ = null; + } + onChanged(); return this; } /** @@ -12622,11 +12628,11 @@ public Builder setAlternativeDependencies(edu.stanford.nlp.pipeline.CoreNLPProto throw new NullPointerException(); } alternativeDependencies_ = value; - onChanged(); } else { alternativeDependenciesBuilder_.setMessage(value); } bitField0_ |= 0x00004000; + onChanged(); return this; } /** @@ -12636,11 +12642,11 @@ public Builder setAlternativeDependencies( edu.stanford.nlp.pipeline.CoreNLPProtos.DependencyGraph.Builder builderForValue) { if (alternativeDependenciesBuilder_ == null) { alternativeDependencies_ = builderForValue.build(); - onChanged(); } else { alternativeDependenciesBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00004000; + onChanged(); return this; } /** @@ -12649,31 +12655,32 @@ public Builder setAlternativeDependencies( public Builder mergeAlternativeDependencies(edu.stanford.nlp.pipeline.CoreNLPProtos.DependencyGraph value) { if (alternativeDependenciesBuilder_ == null) { if (((bitField0_ & 0x00004000) != 0) && - alternativeDependencies_ != null && - alternativeDependencies_ != edu.stanford.nlp.pipeline.CoreNLPProtos.DependencyGraph.getDefaultInstance()) { - alternativeDependencies_ = - edu.stanford.nlp.pipeline.CoreNLPProtos.DependencyGraph.newBuilder(alternativeDependencies_).mergeFrom(value).buildPartial(); + alternativeDependencies_ != null && + alternativeDependencies_ != edu.stanford.nlp.pipeline.CoreNLPProtos.DependencyGraph.getDefaultInstance()) { + getAlternativeDependenciesBuilder().mergeFrom(value); } else { alternativeDependencies_ = value; } - onChanged(); } else { alternativeDependenciesBuilder_.mergeFrom(value); } - bitField0_ |= 0x00004000; + if (alternativeDependencies_ != null) { + bitField0_ |= 0x00004000; + onChanged(); + } return this; } /** * optional .edu.stanford.nlp.pipeline.DependencyGraph alternativeDependencies = 13; */ public Builder clearAlternativeDependencies() { - if (alternativeDependenciesBuilder_ == null) { - alternativeDependencies_ = null; - onChanged(); - } else { - alternativeDependenciesBuilder_.clear(); - } bitField0_ = (bitField0_ & ~0x00004000); + alternativeDependencies_ = null; + if (alternativeDependenciesBuilder_ != null) { + alternativeDependenciesBuilder_.dispose(); + alternativeDependenciesBuilder_ = null; + } + onChanged(); return this; } /** @@ -13990,11 +13997,11 @@ public Builder setEnhancedDependencies(edu.stanford.nlp.pipeline.CoreNLPProtos.D throw new NullPointerException(); } enhancedDependencies_ = value; - onChanged(); } else { enhancedDependenciesBuilder_.setMessage(value); } bitField0_ |= 0x00080000; + onChanged(); return this; } /** @@ -14004,11 +14011,11 @@ public Builder setEnhancedDependencies( edu.stanford.nlp.pipeline.CoreNLPProtos.DependencyGraph.Builder builderForValue) { if (enhancedDependenciesBuilder_ == null) { enhancedDependencies_ = builderForValue.build(); - onChanged(); } else { enhancedDependenciesBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00080000; + onChanged(); return this; } /** @@ -14017,31 +14024,32 @@ public Builder setEnhancedDependencies( public Builder mergeEnhancedDependencies(edu.stanford.nlp.pipeline.CoreNLPProtos.DependencyGraph value) { if (enhancedDependenciesBuilder_ == null) { if (((bitField0_ & 0x00080000) != 0) && - enhancedDependencies_ != null && - enhancedDependencies_ != edu.stanford.nlp.pipeline.CoreNLPProtos.DependencyGraph.getDefaultInstance()) { - enhancedDependencies_ = - edu.stanford.nlp.pipeline.CoreNLPProtos.DependencyGraph.newBuilder(enhancedDependencies_).mergeFrom(value).buildPartial(); + enhancedDependencies_ != null && + enhancedDependencies_ != edu.stanford.nlp.pipeline.CoreNLPProtos.DependencyGraph.getDefaultInstance()) { + getEnhancedDependenciesBuilder().mergeFrom(value); } else { enhancedDependencies_ = value; } - onChanged(); } else { enhancedDependenciesBuilder_.mergeFrom(value); } - bitField0_ |= 0x00080000; + if (enhancedDependencies_ != null) { + bitField0_ |= 0x00080000; + onChanged(); + } return this; } /** * optional .edu.stanford.nlp.pipeline.DependencyGraph enhancedDependencies = 17; */ public Builder clearEnhancedDependencies() { - if (enhancedDependenciesBuilder_ == null) { - enhancedDependencies_ = null; - onChanged(); - } else { - enhancedDependenciesBuilder_.clear(); - } bitField0_ = (bitField0_ & ~0x00080000); + enhancedDependencies_ = null; + if (enhancedDependenciesBuilder_ != null) { + enhancedDependenciesBuilder_.dispose(); + enhancedDependenciesBuilder_ = null; + } + onChanged(); return this; } /** @@ -14110,11 +14118,11 @@ public Builder setEnhancedPlusPlusDependencies(edu.stanford.nlp.pipeline.CoreNLP throw new NullPointerException(); } enhancedPlusPlusDependencies_ = value; - onChanged(); } else { enhancedPlusPlusDependenciesBuilder_.setMessage(value); } bitField0_ |= 0x00100000; + onChanged(); return this; } /** @@ -14124,11 +14132,11 @@ public Builder setEnhancedPlusPlusDependencies( edu.stanford.nlp.pipeline.CoreNLPProtos.DependencyGraph.Builder builderForValue) { if (enhancedPlusPlusDependenciesBuilder_ == null) { enhancedPlusPlusDependencies_ = builderForValue.build(); - onChanged(); } else { enhancedPlusPlusDependenciesBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00100000; + onChanged(); return this; } /** @@ -14137,31 +14145,32 @@ public Builder setEnhancedPlusPlusDependencies( public Builder mergeEnhancedPlusPlusDependencies(edu.stanford.nlp.pipeline.CoreNLPProtos.DependencyGraph value) { if (enhancedPlusPlusDependenciesBuilder_ == null) { if (((bitField0_ & 0x00100000) != 0) && - enhancedPlusPlusDependencies_ != null && - enhancedPlusPlusDependencies_ != edu.stanford.nlp.pipeline.CoreNLPProtos.DependencyGraph.getDefaultInstance()) { - enhancedPlusPlusDependencies_ = - edu.stanford.nlp.pipeline.CoreNLPProtos.DependencyGraph.newBuilder(enhancedPlusPlusDependencies_).mergeFrom(value).buildPartial(); + enhancedPlusPlusDependencies_ != null && + enhancedPlusPlusDependencies_ != edu.stanford.nlp.pipeline.CoreNLPProtos.DependencyGraph.getDefaultInstance()) { + getEnhancedPlusPlusDependenciesBuilder().mergeFrom(value); } else { enhancedPlusPlusDependencies_ = value; } - onChanged(); } else { enhancedPlusPlusDependenciesBuilder_.mergeFrom(value); } - bitField0_ |= 0x00100000; + if (enhancedPlusPlusDependencies_ != null) { + bitField0_ |= 0x00100000; + onChanged(); + } return this; } /** * optional .edu.stanford.nlp.pipeline.DependencyGraph enhancedPlusPlusDependencies = 18; */ public Builder clearEnhancedPlusPlusDependencies() { - if (enhancedPlusPlusDependenciesBuilder_ == null) { - enhancedPlusPlusDependencies_ = null; - onChanged(); - } else { - enhancedPlusPlusDependenciesBuilder_.clear(); - } bitField0_ = (bitField0_ & ~0x00100000); + enhancedPlusPlusDependencies_ = null; + if (enhancedPlusPlusDependenciesBuilder_ != null) { + enhancedPlusPlusDependenciesBuilder_.dispose(); + enhancedPlusPlusDependenciesBuilder_ = null; + } + onChanged(); return this; } /** @@ -14463,8 +14472,9 @@ public int getParagraph() { * @return This builder for chaining. */ public Builder setParagraph(int value) { - bitField0_ |= 0x00400000; + paragraph_ = value; + bitField0_ |= 0x00400000; onChanged(); return this; } @@ -14545,11 +14555,9 @@ public java.lang.String getText() { */ public Builder setText( java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00800000; + if (value == null) { throw new NullPointerException(); } text_ = value; + bitField0_ |= 0x00800000; onChanged(); return this; } @@ -14562,8 +14570,8 @@ public Builder setText( * @return This builder for chaining. */ public Builder clearText() { - bitField0_ = (bitField0_ & ~0x00800000); text_ = getDefaultInstance().getText(); + bitField0_ = (bitField0_ & ~0x00800000); onChanged(); return this; } @@ -14578,11 +14586,9 @@ public Builder clearText() { */ public Builder setTextBytes( com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00800000; + if (value == null) { throw new NullPointerException(); } text_ = value; + bitField0_ |= 0x00800000; onChanged(); return this; } @@ -14610,8 +14616,9 @@ public int getLineNumber() { * @return This builder for chaining. */ public Builder setLineNumber(int value) { - bitField0_ |= 0x01000000; + lineNumber_ = value; + bitField0_ |= 0x01000000; onChanged(); return this; } @@ -14661,8 +14668,9 @@ public boolean getHasRelationAnnotations() { * @return This builder for chaining. */ public Builder setHasRelationAnnotations(boolean value) { - bitField0_ |= 0x02000000; + hasRelationAnnotations_ = value; + bitField0_ |= 0x02000000; onChanged(); return this; } @@ -15184,8 +15192,9 @@ public boolean getHasNumerizedTokensAnnotation() { * @return This builder for chaining. */ public Builder setHasNumerizedTokensAnnotation(boolean value) { - bitField0_ |= 0x10000000; + hasNumerizedTokensAnnotation_ = value; + bitField0_ |= 0x10000000; onChanged(); return this; } @@ -15703,8 +15712,9 @@ public boolean getHasCorefMentionsAnnotation() { * @return This builder for chaining. */ public Builder setHasCorefMentionsAnnotation(boolean value) { - bitField0_ |= 0x80000000; + hasCorefMentionsAnnotation_ = value; + bitField0_ |= 0x80000000; onChanged(); return this; } @@ -15785,11 +15795,9 @@ public java.lang.String getSentenceID() { */ public Builder setSentenceID( java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - bitField1_ |= 0x00000001; + if (value == null) { throw new NullPointerException(); } sentenceID_ = value; + bitField1_ |= 0x00000001; onChanged(); return this; } @@ -15802,8 +15810,8 @@ public Builder setSentenceID( * @return This builder for chaining. */ public Builder clearSentenceID() { - bitField1_ = (bitField1_ & ~0x00000001); sentenceID_ = getDefaultInstance().getSentenceID(); + bitField1_ = (bitField1_ & ~0x00000001); onChanged(); return this; } @@ -15818,11 +15826,9 @@ public Builder clearSentenceID() { */ public Builder setSentenceIDBytes( com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - bitField1_ |= 0x00000001; + if (value == null) { throw new NullPointerException(); } sentenceID_ = value; + bitField1_ |= 0x00000001; onChanged(); return this; } @@ -15893,11 +15899,9 @@ public java.lang.String getSectionDate() { */ public Builder setSectionDate( java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - bitField1_ |= 0x00000002; + if (value == null) { throw new NullPointerException(); } sectionDate_ = value; + bitField1_ |= 0x00000002; onChanged(); return this; } @@ -15910,8 +15914,8 @@ public Builder setSectionDate( * @return This builder for chaining. */ public Builder clearSectionDate() { - bitField1_ = (bitField1_ & ~0x00000002); sectionDate_ = getDefaultInstance().getSectionDate(); + bitField1_ = (bitField1_ & ~0x00000002); onChanged(); return this; } @@ -15926,11 +15930,9 @@ public Builder clearSectionDate() { */ public Builder setSectionDateBytes( com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - bitField1_ |= 0x00000002; + if (value == null) { throw new NullPointerException(); } sectionDate_ = value; + bitField1_ |= 0x00000002; onChanged(); return this; } @@ -15970,8 +15972,9 @@ public int getSectionIndex() { * @return This builder for chaining. */ public Builder setSectionIndex(int value) { - bitField1_ |= 0x00000004; + sectionIndex_ = value; + bitField1_ |= 0x00000004; onChanged(); return this; } @@ -16056,11 +16059,9 @@ public java.lang.String getSectionName() { */ public Builder setSectionName( java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - bitField1_ |= 0x00000008; + if (value == null) { throw new NullPointerException(); } sectionName_ = value; + bitField1_ |= 0x00000008; onChanged(); return this; } @@ -16073,8 +16074,8 @@ public Builder setSectionName( * @return This builder for chaining. */ public Builder clearSectionName() { - bitField1_ = (bitField1_ & ~0x00000008); sectionName_ = getDefaultInstance().getSectionName(); + bitField1_ = (bitField1_ & ~0x00000008); onChanged(); return this; } @@ -16089,11 +16090,9 @@ public Builder clearSectionName() { */ public Builder setSectionNameBytes( com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - bitField1_ |= 0x00000008; + if (value == null) { throw new NullPointerException(); } sectionName_ = value; + bitField1_ |= 0x00000008; onChanged(); return this; } @@ -16164,11 +16163,9 @@ public java.lang.String getSectionAuthor() { */ public Builder setSectionAuthor( java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - bitField1_ |= 0x00000010; + if (value == null) { throw new NullPointerException(); } sectionAuthor_ = value; + bitField1_ |= 0x00000010; onChanged(); return this; } @@ -16181,8 +16178,8 @@ public Builder setSectionAuthor( * @return This builder for chaining. */ public Builder clearSectionAuthor() { - bitField1_ = (bitField1_ & ~0x00000010); sectionAuthor_ = getDefaultInstance().getSectionAuthor(); + bitField1_ = (bitField1_ & ~0x00000010); onChanged(); return this; } @@ -16197,11 +16194,9 @@ public Builder clearSectionAuthor() { */ public Builder setSectionAuthorBytes( com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - bitField1_ |= 0x00000010; + if (value == null) { throw new NullPointerException(); } sectionAuthor_ = value; + bitField1_ |= 0x00000010; onChanged(); return this; } @@ -16272,11 +16267,9 @@ public java.lang.String getDocID() { */ public Builder setDocID( java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - bitField1_ |= 0x00000020; + if (value == null) { throw new NullPointerException(); } docID_ = value; + bitField1_ |= 0x00000020; onChanged(); return this; } @@ -16289,8 +16282,8 @@ public Builder setDocID( * @return This builder for chaining. */ public Builder clearDocID() { - bitField1_ = (bitField1_ & ~0x00000020); docID_ = getDefaultInstance().getDocID(); + bitField1_ = (bitField1_ & ~0x00000020); onChanged(); return this; } @@ -16305,11 +16298,9 @@ public Builder clearDocID() { */ public Builder setDocIDBytes( com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - bitField1_ |= 0x00000020; + if (value == null) { throw new NullPointerException(); } docID_ = value; + bitField1_ |= 0x00000020; onChanged(); return this; } @@ -16349,8 +16340,9 @@ public boolean getSectionQuoted() { * @return This builder for chaining. */ public Builder setSectionQuoted(boolean value) { - bitField1_ |= 0x00000040; + sectionQuoted_ = value; + bitField1_ |= 0x00000040; onChanged(); return this; } @@ -16404,8 +16396,9 @@ public boolean getHasEntityMentionsAnnotation() { * @return This builder for chaining. */ public Builder setHasEntityMentionsAnnotation(boolean value) { - bitField1_ |= 0x00000080; + hasEntityMentionsAnnotation_ = value; + bitField1_ |= 0x00000080; onChanged(); return this; } @@ -16459,8 +16452,9 @@ public boolean getHasKBPTriplesAnnotation() { * @return This builder for chaining. */ public Builder setHasKBPTriplesAnnotation(boolean value) { - bitField1_ |= 0x00000100; + hasKBPTriplesAnnotation_ = value; + bitField1_ |= 0x00000100; onChanged(); return this; } @@ -16514,8 +16508,9 @@ public boolean getHasOpenieTriplesAnnotation() { * @return This builder for chaining. */ public Builder setHasOpenieTriplesAnnotation(boolean value) { - bitField1_ |= 0x00000200; + hasOpenieTriplesAnnotation_ = value; + bitField1_ |= 0x00000200; onChanged(); return this; } @@ -16569,8 +16564,9 @@ public int getChapterIndex() { * @return This builder for chaining. */ public Builder setChapterIndex(int value) { - bitField1_ |= 0x00000400; + chapterIndex_ = value; + bitField1_ |= 0x00000400; onChanged(); return this; } @@ -16612,8 +16608,9 @@ public int getParagraphIndex() { * @return This builder for chaining. */ public Builder setParagraphIndex(int value) { - bitField1_ |= 0x00000800; + paragraphIndex_ = value; + bitField1_ |= 0x00000800; onChanged(); return this; } @@ -16670,11 +16667,11 @@ public Builder setEnhancedSentence(edu.stanford.nlp.pipeline.CoreNLPProtos.Sente throw new NullPointerException(); } enhancedSentence_ = value; - onChanged(); } else { enhancedSentenceBuilder_.setMessage(value); } bitField1_ |= 0x00001000; + onChanged(); return this; } /** @@ -16688,11 +16685,11 @@ public Builder setEnhancedSentence( edu.stanford.nlp.pipeline.CoreNLPProtos.Sentence.Builder builderForValue) { if (enhancedSentenceBuilder_ == null) { enhancedSentence_ = builderForValue.build(); - onChanged(); } else { enhancedSentenceBuilder_.setMessage(builderForValue.build()); } bitField1_ |= 0x00001000; + onChanged(); return this; } /** @@ -16705,18 +16702,19 @@ public Builder setEnhancedSentence( public Builder mergeEnhancedSentence(edu.stanford.nlp.pipeline.CoreNLPProtos.Sentence value) { if (enhancedSentenceBuilder_ == null) { if (((bitField1_ & 0x00001000) != 0) && - enhancedSentence_ != null && - enhancedSentence_ != edu.stanford.nlp.pipeline.CoreNLPProtos.Sentence.getDefaultInstance()) { - enhancedSentence_ = - edu.stanford.nlp.pipeline.CoreNLPProtos.Sentence.newBuilder(enhancedSentence_).mergeFrom(value).buildPartial(); + enhancedSentence_ != null && + enhancedSentence_ != edu.stanford.nlp.pipeline.CoreNLPProtos.Sentence.getDefaultInstance()) { + getEnhancedSentenceBuilder().mergeFrom(value); } else { enhancedSentence_ = value; } - onChanged(); } else { enhancedSentenceBuilder_.mergeFrom(value); } - bitField1_ |= 0x00001000; + if (enhancedSentence_ != null) { + bitField1_ |= 0x00001000; + onChanged(); + } return this; } /** @@ -16727,13 +16725,13 @@ public Builder mergeEnhancedSentence(edu.stanford.nlp.pipeline.CoreNLPProtos.Sen * optional .edu.stanford.nlp.pipeline.Sentence enhancedSentence = 70; */ public Builder clearEnhancedSentence() { - if (enhancedSentenceBuilder_ == null) { - enhancedSentence_ = null; - onChanged(); - } else { - enhancedSentenceBuilder_.clear(); - } bitField1_ = (bitField1_ & ~0x00001000); + enhancedSentence_ = null; + if (enhancedSentenceBuilder_ != null) { + enhancedSentenceBuilder_.dispose(); + enhancedSentenceBuilder_ = null; + } + onChanged(); return this; } /** @@ -16850,11 +16848,9 @@ public java.lang.String getSpeaker() { */ public Builder setSpeaker( java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - bitField1_ |= 0x00002000; + if (value == null) { throw new NullPointerException(); } speaker_ = value; + bitField1_ |= 0x00002000; onChanged(); return this; } @@ -16867,8 +16863,8 @@ public Builder setSpeaker( * @return This builder for chaining. */ public Builder clearSpeaker() { - bitField1_ = (bitField1_ & ~0x00002000); speaker_ = getDefaultInstance().getSpeaker(); + bitField1_ = (bitField1_ & ~0x00002000); onChanged(); return this; } @@ -16883,11 +16879,9 @@ public Builder clearSpeaker() { */ public Builder setSpeakerBytes( com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - bitField1_ |= 0x00002000; + if (value == null) { throw new NullPointerException(); } speaker_ = value; + bitField1_ |= 0x00002000; onChanged(); return this; } @@ -16958,11 +16952,9 @@ public java.lang.String getSpeakerType() { */ public Builder setSpeakerType( java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - bitField1_ |= 0x00004000; + if (value == null) { throw new NullPointerException(); } speakerType_ = value; + bitField1_ |= 0x00004000; onChanged(); return this; } @@ -16975,8 +16967,8 @@ public Builder setSpeakerType( * @return This builder for chaining. */ public Builder clearSpeakerType() { - bitField1_ = (bitField1_ & ~0x00004000); speakerType_ = getDefaultInstance().getSpeakerType(); + bitField1_ = (bitField1_ & ~0x00004000); onChanged(); return this; } @@ -16991,11 +16983,9 @@ public Builder clearSpeakerType() { */ public Builder setSpeakerTypeBytes( com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - bitField1_ |= 0x00004000; + if (value == null) { throw new NullPointerException(); } speakerType_ = value; + bitField1_ |= 0x00004000; onChanged(); return this; } @@ -18626,6 +18616,7 @@ public interface TokenOrBuilder extends } /** *
+   *
    * The serialized version of a Token (a CoreLabel).
    * 
* @@ -18652,12 +18643,14 @@ private Token() { ner_ = ""; coarseNER_ = ""; fineGrainedNER_ = ""; - nerLabelProbs_ = com.google.protobuf.LazyStringArrayList.EMPTY; + nerLabelProbs_ = + com.google.protobuf.LazyStringArrayList.emptyList(); normalizedNER_ = ""; lemma_ = ""; speaker_ = ""; speakerType_ = ""; - xmlContext_ = com.google.protobuf.LazyStringArrayList.EMPTY; + xmlContext_ = + com.google.protobuf.LazyStringArrayList.emptyList(); answer_ = ""; polarityDir_ = ""; sentiment_ = ""; @@ -18690,11 +18683,6 @@ protected java.lang.Object newInstance( return new Token(); } - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return edu.stanford.nlp.pipeline.CoreNLPProtos.internal_static_edu_stanford_nlp_pipeline_Token_descriptor; @@ -18711,7 +18699,8 @@ protected java.lang.Object newInstance( private int bitField0_; private int bitField1_; public static final int WORD_FIELD_NUMBER = 1; - private volatile java.lang.Object word_; + @SuppressWarnings("serial") + private volatile java.lang.Object word_ = ""; /** *
      * Fields set by the default annotators [new CoreNLP(new Properties())]
@@ -18771,7 +18760,8 @@ public java.lang.String getWord() {
     }
 
     public static final int POS_FIELD_NUMBER = 2;
-    private volatile java.lang.Object pos_;
+    @SuppressWarnings("serial")
+    private volatile java.lang.Object pos_ = "";
     /**
      * 
      * The word's part of speech tag
@@ -18831,7 +18821,8 @@ public java.lang.String getPos() {
     }
 
     public static final int VALUE_FIELD_NUMBER = 3;
-    private volatile java.lang.Object value_;
+    @SuppressWarnings("serial")
+    private volatile java.lang.Object value_ = "";
     /**
      * 
      * The word's 'value', (e.g., parse tree node)
@@ -18891,7 +18882,8 @@ public java.lang.String getValue() {
     }
 
     public static final int CATEGORY_FIELD_NUMBER = 4;
-    private volatile java.lang.Object category_;
+    @SuppressWarnings("serial")
+    private volatile java.lang.Object category_ = "";
     /**
      * 
      * The word's 'category' (e.g., parse tree node)
@@ -18951,7 +18943,8 @@ public java.lang.String getCategory() {
     }
 
     public static final int BEFORE_FIELD_NUMBER = 5;
-    private volatile java.lang.Object before_;
+    @SuppressWarnings("serial")
+    private volatile java.lang.Object before_ = "";
     /**
      * 
      * The whitespace/xml before the token
@@ -19011,7 +19004,8 @@ public java.lang.String getBefore() {
     }
 
     public static final int AFTER_FIELD_NUMBER = 6;
-    private volatile java.lang.Object after_;
+    @SuppressWarnings("serial")
+    private volatile java.lang.Object after_ = "";
     /**
      * 
      * The whitespace/xml after the token
@@ -19071,7 +19065,8 @@ public java.lang.String getAfter() {
     }
 
     public static final int ORIGINALTEXT_FIELD_NUMBER = 7;
-    private volatile java.lang.Object originalText_;
+    @SuppressWarnings("serial")
+    private volatile java.lang.Object originalText_ = "";
     /**
      * 
      * The original text for this token
@@ -19131,7 +19126,8 @@ public java.lang.String getOriginalText() {
     }
 
     public static final int NER_FIELD_NUMBER = 8;
-    private volatile java.lang.Object ner_;
+    @SuppressWarnings("serial")
+    private volatile java.lang.Object ner_ = "";
     /**
      * 
      * The word's NER tag
@@ -19191,7 +19187,8 @@ public java.lang.String getNer() {
     }
 
     public static final int COARSENER_FIELD_NUMBER = 62;
-    private volatile java.lang.Object coarseNER_;
+    @SuppressWarnings("serial")
+    private volatile java.lang.Object coarseNER_ = "";
     /**
      * 
      * The word's coarse NER tag
@@ -19251,7 +19248,8 @@ public java.lang.String getCoarseNER() {
     }
 
     public static final int FINEGRAINEDNER_FIELD_NUMBER = 63;
-    private volatile java.lang.Object fineGrainedNER_;
+    @SuppressWarnings("serial")
+    private volatile java.lang.Object fineGrainedNER_ = "";
     /**
      * 
      * The word's fine-grained NER tag
@@ -19311,7 +19309,9 @@ public java.lang.String getFineGrainedNER() {
     }
 
     public static final int NERLABELPROBS_FIELD_NUMBER = 66;
-    private com.google.protobuf.LazyStringList nerLabelProbs_;
+    @SuppressWarnings("serial")
+    private com.google.protobuf.LazyStringArrayList nerLabelProbs_ =
+        com.google.protobuf.LazyStringArrayList.emptyList();
     /**
      * 
      * listing of probs
@@ -19362,7 +19362,8 @@ public java.lang.String getNerLabelProbs(int index) {
     }
 
     public static final int NORMALIZEDNER_FIELD_NUMBER = 9;
-    private volatile java.lang.Object normalizedNER_;
+    @SuppressWarnings("serial")
+    private volatile java.lang.Object normalizedNER_ = "";
     /**
      * 
      * The word's normalized NER tag
@@ -19422,7 +19423,8 @@ public java.lang.String getNormalizedNER() {
     }
 
     public static final int LEMMA_FIELD_NUMBER = 10;
-    private volatile java.lang.Object lemma_;
+    @SuppressWarnings("serial")
+    private volatile java.lang.Object lemma_ = "";
     /**
      * 
      * The word's lemma
@@ -19482,7 +19484,7 @@ public java.lang.String getLemma() {
     }
 
     public static final int BEGINCHAR_FIELD_NUMBER = 11;
-    private int beginChar_;
+    private int beginChar_ = 0;
     /**
      * 
      * The character offset begin, in the document
@@ -19509,7 +19511,7 @@ public int getBeginChar() {
     }
 
     public static final int ENDCHAR_FIELD_NUMBER = 12;
-    private int endChar_;
+    private int endChar_ = 0;
     /**
      * 
      * The character offset end, in the document
@@ -19536,7 +19538,7 @@ public int getEndChar() {
     }
 
     public static final int UTTERANCE_FIELD_NUMBER = 13;
-    private int utterance_;
+    private int utterance_ = 0;
     /**
      * 
      * The utterance tag used in dcoref
@@ -19563,7 +19565,8 @@ public int getUtterance() {
     }
 
     public static final int SPEAKER_FIELD_NUMBER = 14;
-    private volatile java.lang.Object speaker_;
+    @SuppressWarnings("serial")
+    private volatile java.lang.Object speaker_ = "";
     /**
      * 
      * The speaker speaking this word
@@ -19623,7 +19626,8 @@ public java.lang.String getSpeaker() {
     }
 
     public static final int SPEAKERTYPE_FIELD_NUMBER = 77;
-    private volatile java.lang.Object speakerType_;
+    @SuppressWarnings("serial")
+    private volatile java.lang.Object speakerType_ = "";
     /**
      * 
      * The type of speaker speaking this word
@@ -19683,7 +19687,7 @@ public java.lang.String getSpeakerType() {
     }
 
     public static final int BEGININDEX_FIELD_NUMBER = 15;
-    private int beginIndex_;
+    private int beginIndex_ = 0;
     /**
      * 
      * The begin index of, e.g., a span
@@ -19710,7 +19714,7 @@ public int getBeginIndex() {
     }
 
     public static final int ENDINDEX_FIELD_NUMBER = 16;
-    private int endIndex_;
+    private int endIndex_ = 0;
     /**
      * 
      * The begin index of, e.g., a span
@@ -19737,7 +19741,7 @@ public int getEndIndex() {
     }
 
     public static final int TOKENBEGININDEX_FIELD_NUMBER = 17;
-    private int tokenBeginIndex_;
+    private int tokenBeginIndex_ = 0;
     /**
      * 
      * The begin index of the token
@@ -19764,7 +19768,7 @@ public int getTokenBeginIndex() {
     }
 
     public static final int TOKENENDINDEX_FIELD_NUMBER = 18;
-    private int tokenEndIndex_;
+    private int tokenEndIndex_ = 0;
     /**
      * 
      * The end index of the token
@@ -19829,7 +19833,7 @@ public edu.stanford.nlp.pipeline.CoreNLPProtos.TimexOrBuilder getTimexValueOrBui
     }
 
     public static final int HASXMLCONTEXT_FIELD_NUMBER = 21;
-    private boolean hasXmlContext_;
+    private boolean hasXmlContext_ = false;
     /**
      * 
      * Used by clean xml annotator
@@ -19856,7 +19860,9 @@ public boolean getHasXmlContext() {
     }
 
     public static final int XMLCONTEXT_FIELD_NUMBER = 22;
-    private com.google.protobuf.LazyStringList xmlContext_;
+    @SuppressWarnings("serial")
+    private com.google.protobuf.LazyStringArrayList xmlContext_ =
+        com.google.protobuf.LazyStringArrayList.emptyList();
     /**
      * 
      * Used by clean xml annotator
@@ -19907,7 +19913,7 @@ public java.lang.String getXmlContext(int index) {
     }
 
     public static final int COREFCLUSTERID_FIELD_NUMBER = 23;
-    private int corefClusterID_;
+    private int corefClusterID_ = 0;
     /**
      * 
      * The [primary] cluster id for this token
@@ -19934,7 +19940,8 @@ public int getCorefClusterID() {
     }
 
     public static final int ANSWER_FIELD_NUMBER = 24;
-    private volatile java.lang.Object answer_;
+    @SuppressWarnings("serial")
+    private volatile java.lang.Object answer_ = "";
     /**
      * 
      * A temporary annotation which is occasionally left in
@@ -19994,7 +20001,7 @@ public java.lang.String getAnswer() {
     }
 
     public static final int HEADWORDINDEX_FIELD_NUMBER = 26;
-    private int headWordIndex_;
+    private int headWordIndex_ = 0;
     /**
      * 
      *  optional string projectedCategory = 25;   // The syntactic category of the maximal constituent headed by the word. Not used anywhere, so deleted.
@@ -20097,7 +20104,8 @@ public edu.stanford.nlp.pipeline.CoreNLPProtos.PolarityOrBuilder getPolarityOrBu
     }
 
     public static final int POLARITY_DIR_FIELD_NUMBER = 39;
-    private volatile java.lang.Object polarityDir_;
+    @SuppressWarnings("serial")
+    private volatile java.lang.Object polarityDir_ = "";
     /**
      * 
      * The polarity of this word, either "up", "down", or "flat"
@@ -20195,7 +20203,8 @@ public edu.stanford.nlp.pipeline.CoreNLPProtos.SpanOrBuilder getSpanOrBuilder()
     }
 
     public static final int SENTIMENT_FIELD_NUMBER = 30;
-    private volatile java.lang.Object sentiment_;
+    @SuppressWarnings("serial")
+    private volatile java.lang.Object sentiment_ = "";
     /**
      * 
      * The final sentiment of the sentence
@@ -20255,7 +20264,7 @@ public java.lang.String getSentiment() {
     }
 
     public static final int QUOTATIONINDEX_FIELD_NUMBER = 31;
-    private int quotationIndex_;
+    private int quotationIndex_ = 0;
     /**
      * 
      * The index of the quotation this token refers to
@@ -20308,7 +20317,8 @@ public edu.stanford.nlp.pipeline.CoreNLPProtos.MapStringStringOrBuilder getConll
     }
 
     public static final int COARSETAG_FIELD_NUMBER = 33;
-    private volatile java.lang.Object coarseTag_;
+    @SuppressWarnings("serial")
+    private volatile java.lang.Object coarseTag_ = "";
     /**
      * 
      *  The coarse POS tag (used to store the UPOS tag)
@@ -20394,7 +20404,8 @@ public edu.stanford.nlp.pipeline.CoreNLPProtos.SpanOrBuilder getConllUTokenSpanO
     }
 
     public static final int CONLLUMISC_FIELD_NUMBER = 35;
-    private volatile java.lang.Object conllUMisc_;
+    @SuppressWarnings("serial")
+    private volatile java.lang.Object conllUMisc_ = "";
     /**
      * optional string conllUMisc = 35;
      * @return Whether the conllUMisc field is set.
@@ -20468,7 +20479,8 @@ public edu.stanford.nlp.pipeline.CoreNLPProtos.MapStringStringOrBuilder getConll
     }
 
     public static final int WIKIPEDIAENTITY_FIELD_NUMBER = 37;
-    private volatile java.lang.Object wikipediaEntity_;
+    @SuppressWarnings("serial")
+    private volatile java.lang.Object wikipediaEntity_ = "";
     /**
      * optional string wikipediaEntity = 37;
      * @return Whether the wikipediaEntity field is set.
@@ -20516,7 +20528,7 @@ public java.lang.String getWikipediaEntity() {
     }
 
     public static final int ISNEWLINE_FIELD_NUMBER = 38;
-    private boolean isNewline_;
+    private boolean isNewline_ = false;
     /**
      * optional bool isNewline = 38;
      * @return Whether the isNewline field is set.
@@ -20535,7 +20547,8 @@ public boolean getIsNewline() {
     }
 
     public static final int GENDER_FIELD_NUMBER = 51;
-    private volatile java.lang.Object gender_;
+    @SuppressWarnings("serial")
+    private volatile java.lang.Object gender_ = "";
     /**
      * 
      * Fields set by other annotators in CoreNLP
@@ -20595,7 +20608,8 @@ public java.lang.String getGender() {
     }
 
     public static final int TRUECASE_FIELD_NUMBER = 52;
-    private volatile java.lang.Object trueCase_;
+    @SuppressWarnings("serial")
+    private volatile java.lang.Object trueCase_ = "";
     /**
      * 
      * true case type of token
@@ -20655,7 +20669,8 @@ public java.lang.String getTrueCase() {
     }
 
     public static final int TRUECASETEXT_FIELD_NUMBER = 53;
-    private volatile java.lang.Object trueCaseText_;
+    @SuppressWarnings("serial")
+    private volatile java.lang.Object trueCaseText_ = "";
     /**
      * 
      * true case gloss of token
@@ -20715,7 +20730,8 @@ public java.lang.String getTrueCaseText() {
     }
 
     public static final int CHINESECHAR_FIELD_NUMBER = 54;
-    private volatile java.lang.Object chineseChar_;
+    @SuppressWarnings("serial")
+    private volatile java.lang.Object chineseChar_ = "";
     /**
      * 
      *  Chinese character info
@@ -20775,7 +20791,8 @@ public java.lang.String getChineseChar() {
     }
 
     public static final int CHINESESEG_FIELD_NUMBER = 55;
-    private volatile java.lang.Object chineseSeg_;
+    @SuppressWarnings("serial")
+    private volatile java.lang.Object chineseSeg_ = "";
     /**
      * optional string chineseSeg = 55;
      * @return Whether the chineseSeg field is set.
@@ -20823,7 +20840,8 @@ public java.lang.String getChineseSeg() {
     }
 
     public static final int CHINESEXMLCHAR_FIELD_NUMBER = 60;
-    private volatile java.lang.Object chineseXMLChar_;
+    @SuppressWarnings("serial")
+    private volatile java.lang.Object chineseXMLChar_ = "";
     /**
      * optional string chineseXMLChar = 60;
      * @return Whether the chineseXMLChar field is set.
@@ -20871,7 +20889,8 @@ public java.lang.String getChineseXMLChar() {
     }
 
     public static final int ARABICSEG_FIELD_NUMBER = 76;
-    private volatile java.lang.Object arabicSeg_;
+    @SuppressWarnings("serial")
+    private volatile java.lang.Object arabicSeg_ = "";
     /**
      * 
      *  Arabic character info
@@ -20931,7 +20950,8 @@ public java.lang.String getArabicSeg() {
     }
 
     public static final int SECTIONNAME_FIELD_NUMBER = 56;
-    private volatile java.lang.Object sectionName_;
+    @SuppressWarnings("serial")
+    private volatile java.lang.Object sectionName_ = "";
     /**
      * 
      * Section info
@@ -20991,7 +21011,8 @@ public java.lang.String getSectionName() {
     }
 
     public static final int SECTIONAUTHOR_FIELD_NUMBER = 57;
-    private volatile java.lang.Object sectionAuthor_;
+    @SuppressWarnings("serial")
+    private volatile java.lang.Object sectionAuthor_ = "";
     /**
      * optional string sectionAuthor = 57;
      * @return Whether the sectionAuthor field is set.
@@ -21039,7 +21060,8 @@ public java.lang.String getSectionAuthor() {
     }
 
     public static final int SECTIONDATE_FIELD_NUMBER = 58;
-    private volatile java.lang.Object sectionDate_;
+    @SuppressWarnings("serial")
+    private volatile java.lang.Object sectionDate_ = "";
     /**
      * optional string sectionDate = 58;
      * @return Whether the sectionDate field is set.
@@ -21087,7 +21109,8 @@ public java.lang.String getSectionDate() {
     }
 
     public static final int SECTIONENDLABEL_FIELD_NUMBER = 59;
-    private volatile java.lang.Object sectionEndLabel_;
+    @SuppressWarnings("serial")
+    private volatile java.lang.Object sectionEndLabel_ = "";
     /**
      * optional string sectionEndLabel = 59;
      * @return Whether the sectionEndLabel field is set.
@@ -21135,7 +21158,8 @@ public java.lang.String getSectionEndLabel() {
     }
 
     public static final int PARENT_FIELD_NUMBER = 61;
-    private volatile java.lang.Object parent_;
+    @SuppressWarnings("serial")
+    private volatile java.lang.Object parent_ = "";
     /**
      * 
      * French tokens have parents
@@ -21195,7 +21219,9 @@ public java.lang.String getParent() {
     }
 
     public static final int COREFMENTIONINDEX_FIELD_NUMBER = 64;
-    private com.google.protobuf.Internal.IntList corefMentionIndex_;
+    @SuppressWarnings("serial")
+    private com.google.protobuf.Internal.IntList corefMentionIndex_ =
+        emptyIntList();
     /**
      * 
      * mention index info
@@ -21234,7 +21260,7 @@ public int getCorefMentionIndex(int index) {
     }
 
     public static final int ENTITYMENTIONINDEX_FIELD_NUMBER = 65;
-    private int entityMentionIndex_;
+    private int entityMentionIndex_ = 0;
     /**
      * optional uint32 entityMentionIndex = 65;
      * @return Whether the entityMentionIndex field is set.
@@ -21253,7 +21279,7 @@ public int getEntityMentionIndex() {
     }
 
     public static final int ISMWT_FIELD_NUMBER = 67;
-    private boolean isMWT_;
+    private boolean isMWT_ = false;
     /**
      * 
      * mwt stuff
@@ -21280,7 +21306,7 @@ public boolean getIsMWT() {
     }
 
     public static final int ISFIRSTMWT_FIELD_NUMBER = 68;
-    private boolean isFirstMWT_;
+    private boolean isFirstMWT_ = false;
     /**
      * optional bool isFirstMWT = 68;
      * @return Whether the isFirstMWT field is set.
@@ -21299,7 +21325,8 @@ public boolean getIsFirstMWT() {
     }
 
     public static final int MWTTEXT_FIELD_NUMBER = 69;
-    private volatile java.lang.Object mwtText_;
+    @SuppressWarnings("serial")
+    private volatile java.lang.Object mwtText_ = "";
     /**
      * optional string mwtText = 69;
      * @return Whether the mwtText field is set.
@@ -21347,7 +21374,8 @@ public java.lang.String getMwtText() {
     }
 
     public static final int MWTMISC_FIELD_NUMBER = 78;
-    private volatile java.lang.Object mwtMisc_;
+    @SuppressWarnings("serial")
+    private volatile java.lang.Object mwtMisc_ = "";
     /**
      * 
      * setting this to a map might be nice, but there are a couple issues
@@ -21416,7 +21444,7 @@ public java.lang.String getMwtMisc() {
     }
 
     public static final int NUMERICVALUE_FIELD_NUMBER = 70;
-    private long numericValue_;
+    private long numericValue_ = 0L;
     /**
      * 
      * number info
@@ -21443,7 +21471,8 @@ public long getNumericValue() {
     }
 
     public static final int NUMERICTYPE_FIELD_NUMBER = 71;
-    private volatile java.lang.Object numericType_;
+    @SuppressWarnings("serial")
+    private volatile java.lang.Object numericType_ = "";
     /**
      * optional string numericType = 71;
      * @return Whether the numericType field is set.
@@ -21491,7 +21520,7 @@ public java.lang.String getNumericType() {
     }
 
     public static final int NUMERICCOMPOSITEVALUE_FIELD_NUMBER = 72;
-    private long numericCompositeValue_;
+    private long numericCompositeValue_ = 0L;
     /**
      * optional uint64 numericCompositeValue = 72;
      * @return Whether the numericCompositeValue field is set.
@@ -21510,7 +21539,8 @@ public long getNumericCompositeValue() {
     }
 
     public static final int NUMERICCOMPOSITETYPE_FIELD_NUMBER = 73;
-    private volatile java.lang.Object numericCompositeType_;
+    @SuppressWarnings("serial")
+    private volatile java.lang.Object numericCompositeType_ = "";
     /**
      * optional string numericCompositeType = 73;
      * @return Whether the numericCompositeType field is set.
@@ -21558,7 +21588,7 @@ public java.lang.String getNumericCompositeType() {
     }
 
     public static final int CODEPOINTOFFSETBEGIN_FIELD_NUMBER = 74;
-    private int codepointOffsetBegin_;
+    private int codepointOffsetBegin_ = 0;
     /**
      * optional uint32 codepointOffsetBegin = 74;
      * @return Whether the codepointOffsetBegin field is set.
@@ -21577,7 +21607,7 @@ public int getCodepointOffsetBegin() {
     }
 
     public static final int CODEPOINTOFFSETEND_FIELD_NUMBER = 75;
-    private int codepointOffsetEnd_;
+    private int codepointOffsetEnd_ = 0;
     /**
      * optional uint32 codepointOffsetEnd = 75;
      * @return Whether the codepointOffsetEnd field is set.
@@ -21596,7 +21626,7 @@ public int getCodepointOffsetEnd() {
     }
 
     public static final int INDEX_FIELD_NUMBER = 79;
-    private int index_;
+    private int index_ = 0;
     /**
      * 
      * Most serialized annotations will not have this
@@ -21639,7 +21669,7 @@ public int getIndex() {
     }
 
     public static final int EMPTYINDEX_FIELD_NUMBER = 80;
-    private int emptyIndex_;
+    private int emptyIndex_ = 0;
     /**
      * optional uint32 emptyIndex = 80;
      * @return Whether the emptyIndex field is set.
@@ -22837,11 +22867,13 @@ public static edu.stanford.nlp.pipeline.CoreNLPProtos.Token parseFrom(
       return com.google.protobuf.GeneratedMessageV3
           .parseWithIOException(PARSER, input, extensionRegistry);
     }
+
     public static edu.stanford.nlp.pipeline.CoreNLPProtos.Token parseDelimitedFrom(java.io.InputStream input)
         throws java.io.IOException {
       return com.google.protobuf.GeneratedMessageV3
           .parseDelimitedWithIOException(PARSER, input);
     }
+
     public static edu.stanford.nlp.pipeline.CoreNLPProtos.Token parseDelimitedFrom(
         java.io.InputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -22885,6 +22917,7 @@ protected Builder newBuilderForType(
     }
     /**
      * 
+     *
      * The serialized version of a Token (a CoreLabel).
      * 
* @@ -22933,168 +22966,106 @@ private void maybeForceBuilderInitialization() { @java.lang.Override public Builder clear() { super.clear(); + bitField0_ = 0; + bitField1_ = 0; + bitField2_ = 0; word_ = ""; - bitField0_ = (bitField0_ & ~0x00000001); pos_ = ""; - bitField0_ = (bitField0_ & ~0x00000002); value_ = ""; - bitField0_ = (bitField0_ & ~0x00000004); category_ = ""; - bitField0_ = (bitField0_ & ~0x00000008); before_ = ""; - bitField0_ = (bitField0_ & ~0x00000010); after_ = ""; - bitField0_ = (bitField0_ & ~0x00000020); originalText_ = ""; - bitField0_ = (bitField0_ & ~0x00000040); ner_ = ""; - bitField0_ = (bitField0_ & ~0x00000080); coarseNER_ = ""; - bitField0_ = (bitField0_ & ~0x00000100); fineGrainedNER_ = ""; - bitField0_ = (bitField0_ & ~0x00000200); - nerLabelProbs_ = com.google.protobuf.LazyStringArrayList.EMPTY; - bitField0_ = (bitField0_ & ~0x00000400); + nerLabelProbs_ = + com.google.protobuf.LazyStringArrayList.emptyList(); normalizedNER_ = ""; - bitField0_ = (bitField0_ & ~0x00000800); lemma_ = ""; - bitField0_ = (bitField0_ & ~0x00001000); beginChar_ = 0; - bitField0_ = (bitField0_ & ~0x00002000); endChar_ = 0; - bitField0_ = (bitField0_ & ~0x00004000); utterance_ = 0; - bitField0_ = (bitField0_ & ~0x00008000); speaker_ = ""; - bitField0_ = (bitField0_ & ~0x00010000); speakerType_ = ""; - bitField0_ = (bitField0_ & ~0x00020000); beginIndex_ = 0; - bitField0_ = (bitField0_ & ~0x00040000); endIndex_ = 0; - bitField0_ = (bitField0_ & ~0x00080000); tokenBeginIndex_ = 0; - bitField0_ = (bitField0_ & ~0x00100000); tokenEndIndex_ = 0; - bitField0_ = (bitField0_ & ~0x00200000); - if (timexValueBuilder_ == null) { - timexValue_ = null; - } else { - timexValueBuilder_.clear(); + timexValue_ = null; + if (timexValueBuilder_ != null) { + timexValueBuilder_.dispose(); + timexValueBuilder_ = null; } - bitField0_ = (bitField0_ & ~0x00400000); hasXmlContext_ = false; - bitField0_ = (bitField0_ & ~0x00800000); - xmlContext_ = com.google.protobuf.LazyStringArrayList.EMPTY; - bitField0_ = (bitField0_ & ~0x01000000); + xmlContext_ = + com.google.protobuf.LazyStringArrayList.emptyList(); corefClusterID_ = 0; - bitField0_ = (bitField0_ & ~0x02000000); answer_ = ""; - bitField0_ = (bitField0_ & ~0x04000000); headWordIndex_ = 0; - bitField0_ = (bitField0_ & ~0x08000000); - if (operatorBuilder_ == null) { - operator_ = null; - } else { - operatorBuilder_.clear(); + operator_ = null; + if (operatorBuilder_ != null) { + operatorBuilder_.dispose(); + operatorBuilder_ = null; } - bitField0_ = (bitField0_ & ~0x10000000); - if (polarityBuilder_ == null) { - polarity_ = null; - } else { - polarityBuilder_.clear(); + polarity_ = null; + if (polarityBuilder_ != null) { + polarityBuilder_.dispose(); + polarityBuilder_ = null; } - bitField0_ = (bitField0_ & ~0x20000000); polarityDir_ = ""; - bitField0_ = (bitField0_ & ~0x40000000); - if (spanBuilder_ == null) { - span_ = null; - } else { - spanBuilder_.clear(); + span_ = null; + if (spanBuilder_ != null) { + spanBuilder_.dispose(); + spanBuilder_ = null; } - bitField0_ = (bitField0_ & ~0x80000000); sentiment_ = ""; - bitField1_ = (bitField1_ & ~0x00000001); quotationIndex_ = 0; - bitField1_ = (bitField1_ & ~0x00000002); - if (conllUFeaturesBuilder_ == null) { - conllUFeatures_ = null; - } else { - conllUFeaturesBuilder_.clear(); + conllUFeatures_ = null; + if (conllUFeaturesBuilder_ != null) { + conllUFeaturesBuilder_.dispose(); + conllUFeaturesBuilder_ = null; } - bitField1_ = (bitField1_ & ~0x00000004); coarseTag_ = ""; - bitField1_ = (bitField1_ & ~0x00000008); - if (conllUTokenSpanBuilder_ == null) { - conllUTokenSpan_ = null; - } else { - conllUTokenSpanBuilder_.clear(); + conllUTokenSpan_ = null; + if (conllUTokenSpanBuilder_ != null) { + conllUTokenSpanBuilder_.dispose(); + conllUTokenSpanBuilder_ = null; } - bitField1_ = (bitField1_ & ~0x00000010); conllUMisc_ = ""; - bitField1_ = (bitField1_ & ~0x00000020); - if (conllUSecondaryDepsBuilder_ == null) { - conllUSecondaryDeps_ = null; - } else { - conllUSecondaryDepsBuilder_.clear(); + conllUSecondaryDeps_ = null; + if (conllUSecondaryDepsBuilder_ != null) { + conllUSecondaryDepsBuilder_.dispose(); + conllUSecondaryDepsBuilder_ = null; } - bitField1_ = (bitField1_ & ~0x00000040); wikipediaEntity_ = ""; - bitField1_ = (bitField1_ & ~0x00000080); isNewline_ = false; - bitField1_ = (bitField1_ & ~0x00000100); gender_ = ""; - bitField1_ = (bitField1_ & ~0x00000200); trueCase_ = ""; - bitField1_ = (bitField1_ & ~0x00000400); trueCaseText_ = ""; - bitField1_ = (bitField1_ & ~0x00000800); chineseChar_ = ""; - bitField1_ = (bitField1_ & ~0x00001000); chineseSeg_ = ""; - bitField1_ = (bitField1_ & ~0x00002000); chineseXMLChar_ = ""; - bitField1_ = (bitField1_ & ~0x00004000); arabicSeg_ = ""; - bitField1_ = (bitField1_ & ~0x00008000); sectionName_ = ""; - bitField1_ = (bitField1_ & ~0x00010000); sectionAuthor_ = ""; - bitField1_ = (bitField1_ & ~0x00020000); sectionDate_ = ""; - bitField1_ = (bitField1_ & ~0x00040000); sectionEndLabel_ = ""; - bitField1_ = (bitField1_ & ~0x00080000); parent_ = ""; - bitField1_ = (bitField1_ & ~0x00100000); corefMentionIndex_ = emptyIntList(); - bitField1_ = (bitField1_ & ~0x00200000); entityMentionIndex_ = 0; - bitField1_ = (bitField1_ & ~0x00400000); isMWT_ = false; - bitField1_ = (bitField1_ & ~0x00800000); isFirstMWT_ = false; - bitField1_ = (bitField1_ & ~0x01000000); mwtText_ = ""; - bitField1_ = (bitField1_ & ~0x02000000); mwtMisc_ = ""; - bitField1_ = (bitField1_ & ~0x04000000); numericValue_ = 0L; - bitField1_ = (bitField1_ & ~0x08000000); numericType_ = ""; - bitField1_ = (bitField1_ & ~0x10000000); numericCompositeValue_ = 0L; - bitField1_ = (bitField1_ & ~0x20000000); numericCompositeType_ = ""; - bitField1_ = (bitField1_ & ~0x40000000); codepointOffsetBegin_ = 0; - bitField1_ = (bitField1_ & ~0x80000000); codepointOffsetEnd_ = 0; - bitField2_ = (bitField2_ & ~0x00000001); index_ = 0; - bitField2_ = (bitField2_ & ~0x00000002); emptyIndex_ = 0; - bitField2_ = (bitField2_ & ~0x00000004); return this; } @@ -23121,64 +23092,68 @@ public edu.stanford.nlp.pipeline.CoreNLPProtos.Token build() { @java.lang.Override public edu.stanford.nlp.pipeline.CoreNLPProtos.Token buildPartial() { edu.stanford.nlp.pipeline.CoreNLPProtos.Token result = new edu.stanford.nlp.pipeline.CoreNLPProtos.Token(this); + if (bitField0_ != 0) { buildPartial0(result); } + if (bitField1_ != 0) { buildPartial1(result); } + if (bitField2_ != 0) { buildPartial2(result); } + onBuilt(); + return result; + } + + private void buildPartial0(edu.stanford.nlp.pipeline.CoreNLPProtos.Token result) { int from_bitField0_ = bitField0_; - int from_bitField1_ = bitField1_; - int from_bitField2_ = bitField2_; int to_bitField0_ = 0; - int to_bitField1_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { + result.word_ = word_; to_bitField0_ |= 0x00000001; } - result.word_ = word_; if (((from_bitField0_ & 0x00000002) != 0)) { + result.pos_ = pos_; to_bitField0_ |= 0x00000002; } - result.pos_ = pos_; if (((from_bitField0_ & 0x00000004) != 0)) { + result.value_ = value_; to_bitField0_ |= 0x00000004; } - result.value_ = value_; if (((from_bitField0_ & 0x00000008) != 0)) { + result.category_ = category_; to_bitField0_ |= 0x00000008; } - result.category_ = category_; if (((from_bitField0_ & 0x00000010) != 0)) { + result.before_ = before_; to_bitField0_ |= 0x00000010; } - result.before_ = before_; if (((from_bitField0_ & 0x00000020) != 0)) { + result.after_ = after_; to_bitField0_ |= 0x00000020; } - result.after_ = after_; if (((from_bitField0_ & 0x00000040) != 0)) { + result.originalText_ = originalText_; to_bitField0_ |= 0x00000040; } - result.originalText_ = originalText_; if (((from_bitField0_ & 0x00000080) != 0)) { + result.ner_ = ner_; to_bitField0_ |= 0x00000080; } - result.ner_ = ner_; if (((from_bitField0_ & 0x00000100) != 0)) { + result.coarseNER_ = coarseNER_; to_bitField0_ |= 0x00000100; } - result.coarseNER_ = coarseNER_; if (((from_bitField0_ & 0x00000200) != 0)) { + result.fineGrainedNER_ = fineGrainedNER_; to_bitField0_ |= 0x00000200; } - result.fineGrainedNER_ = fineGrainedNER_; - if (((bitField0_ & 0x00000400) != 0)) { - nerLabelProbs_ = nerLabelProbs_.getUnmodifiableView(); - bitField0_ = (bitField0_ & ~0x00000400); + if (((from_bitField0_ & 0x00000400) != 0)) { + nerLabelProbs_.makeImmutable(); + result.nerLabelProbs_ = nerLabelProbs_; } - result.nerLabelProbs_ = nerLabelProbs_; if (((from_bitField0_ & 0x00000800) != 0)) { + result.normalizedNER_ = normalizedNER_; to_bitField0_ |= 0x00000400; } - result.normalizedNER_ = normalizedNER_; if (((from_bitField0_ & 0x00001000) != 0)) { + result.lemma_ = lemma_; to_bitField0_ |= 0x00000800; } - result.lemma_ = lemma_; if (((from_bitField0_ & 0x00002000) != 0)) { result.beginChar_ = beginChar_; to_bitField0_ |= 0x00001000; @@ -23192,13 +23167,13 @@ public edu.stanford.nlp.pipeline.CoreNLPProtos.Token buildPartial() { to_bitField0_ |= 0x00004000; } if (((from_bitField0_ & 0x00010000) != 0)) { + result.speaker_ = speaker_; to_bitField0_ |= 0x00008000; } - result.speaker_ = speaker_; if (((from_bitField0_ & 0x00020000) != 0)) { + result.speakerType_ = speakerType_; to_bitField0_ |= 0x00010000; } - result.speakerType_ = speakerType_; if (((from_bitField0_ & 0x00040000) != 0)) { result.beginIndex_ = beginIndex_; to_bitField0_ |= 0x00020000; @@ -23216,163 +23191,154 @@ public edu.stanford.nlp.pipeline.CoreNLPProtos.Token buildPartial() { to_bitField0_ |= 0x00100000; } if (((from_bitField0_ & 0x00400000) != 0)) { - if (timexValueBuilder_ == null) { - result.timexValue_ = timexValue_; - } else { - result.timexValue_ = timexValueBuilder_.build(); - } + result.timexValue_ = timexValueBuilder_ == null + ? timexValue_ + : timexValueBuilder_.build(); to_bitField0_ |= 0x00200000; } if (((from_bitField0_ & 0x00800000) != 0)) { result.hasXmlContext_ = hasXmlContext_; to_bitField0_ |= 0x00400000; } - if (((bitField0_ & 0x01000000) != 0)) { - xmlContext_ = xmlContext_.getUnmodifiableView(); - bitField0_ = (bitField0_ & ~0x01000000); + if (((from_bitField0_ & 0x01000000) != 0)) { + xmlContext_.makeImmutable(); + result.xmlContext_ = xmlContext_; } - result.xmlContext_ = xmlContext_; if (((from_bitField0_ & 0x02000000) != 0)) { result.corefClusterID_ = corefClusterID_; to_bitField0_ |= 0x00800000; } if (((from_bitField0_ & 0x04000000) != 0)) { + result.answer_ = answer_; to_bitField0_ |= 0x01000000; } - result.answer_ = answer_; if (((from_bitField0_ & 0x08000000) != 0)) { result.headWordIndex_ = headWordIndex_; to_bitField0_ |= 0x02000000; } if (((from_bitField0_ & 0x10000000) != 0)) { - if (operatorBuilder_ == null) { - result.operator_ = operator_; - } else { - result.operator_ = operatorBuilder_.build(); - } + result.operator_ = operatorBuilder_ == null + ? operator_ + : operatorBuilder_.build(); to_bitField0_ |= 0x04000000; } if (((from_bitField0_ & 0x20000000) != 0)) { - if (polarityBuilder_ == null) { - result.polarity_ = polarity_; - } else { - result.polarity_ = polarityBuilder_.build(); - } + result.polarity_ = polarityBuilder_ == null + ? polarity_ + : polarityBuilder_.build(); to_bitField0_ |= 0x08000000; } if (((from_bitField0_ & 0x40000000) != 0)) { + result.polarityDir_ = polarityDir_; to_bitField0_ |= 0x10000000; } - result.polarityDir_ = polarityDir_; if (((from_bitField0_ & 0x80000000) != 0)) { - if (spanBuilder_ == null) { - result.span_ = span_; - } else { - result.span_ = spanBuilder_.build(); - } + result.span_ = spanBuilder_ == null + ? span_ + : spanBuilder_.build(); to_bitField0_ |= 0x20000000; } + result.bitField0_ |= to_bitField0_; + } + + private void buildPartial1(edu.stanford.nlp.pipeline.CoreNLPProtos.Token result) { + int from_bitField1_ = bitField1_; + int to_bitField0_ = 0; if (((from_bitField1_ & 0x00000001) != 0)) { + result.sentiment_ = sentiment_; to_bitField0_ |= 0x40000000; } - result.sentiment_ = sentiment_; if (((from_bitField1_ & 0x00000002) != 0)) { result.quotationIndex_ = quotationIndex_; to_bitField0_ |= 0x80000000; } + int to_bitField1_ = 0; if (((from_bitField1_ & 0x00000004) != 0)) { - if (conllUFeaturesBuilder_ == null) { - result.conllUFeatures_ = conllUFeatures_; - } else { - result.conllUFeatures_ = conllUFeaturesBuilder_.build(); - } + result.conllUFeatures_ = conllUFeaturesBuilder_ == null + ? conllUFeatures_ + : conllUFeaturesBuilder_.build(); to_bitField1_ |= 0x00000001; } if (((from_bitField1_ & 0x00000008) != 0)) { + result.coarseTag_ = coarseTag_; to_bitField1_ |= 0x00000002; } - result.coarseTag_ = coarseTag_; if (((from_bitField1_ & 0x00000010) != 0)) { - if (conllUTokenSpanBuilder_ == null) { - result.conllUTokenSpan_ = conllUTokenSpan_; - } else { - result.conllUTokenSpan_ = conllUTokenSpanBuilder_.build(); - } + result.conllUTokenSpan_ = conllUTokenSpanBuilder_ == null + ? conllUTokenSpan_ + : conllUTokenSpanBuilder_.build(); to_bitField1_ |= 0x00000004; } if (((from_bitField1_ & 0x00000020) != 0)) { + result.conllUMisc_ = conllUMisc_; to_bitField1_ |= 0x00000008; } - result.conllUMisc_ = conllUMisc_; if (((from_bitField1_ & 0x00000040) != 0)) { - if (conllUSecondaryDepsBuilder_ == null) { - result.conllUSecondaryDeps_ = conllUSecondaryDeps_; - } else { - result.conllUSecondaryDeps_ = conllUSecondaryDepsBuilder_.build(); - } + result.conllUSecondaryDeps_ = conllUSecondaryDepsBuilder_ == null + ? conllUSecondaryDeps_ + : conllUSecondaryDepsBuilder_.build(); to_bitField1_ |= 0x00000010; } if (((from_bitField1_ & 0x00000080) != 0)) { + result.wikipediaEntity_ = wikipediaEntity_; to_bitField1_ |= 0x00000020; } - result.wikipediaEntity_ = wikipediaEntity_; if (((from_bitField1_ & 0x00000100) != 0)) { result.isNewline_ = isNewline_; to_bitField1_ |= 0x00000040; } if (((from_bitField1_ & 0x00000200) != 0)) { + result.gender_ = gender_; to_bitField1_ |= 0x00000080; } - result.gender_ = gender_; if (((from_bitField1_ & 0x00000400) != 0)) { + result.trueCase_ = trueCase_; to_bitField1_ |= 0x00000100; } - result.trueCase_ = trueCase_; if (((from_bitField1_ & 0x00000800) != 0)) { + result.trueCaseText_ = trueCaseText_; to_bitField1_ |= 0x00000200; } - result.trueCaseText_ = trueCaseText_; if (((from_bitField1_ & 0x00001000) != 0)) { + result.chineseChar_ = chineseChar_; to_bitField1_ |= 0x00000400; } - result.chineseChar_ = chineseChar_; if (((from_bitField1_ & 0x00002000) != 0)) { + result.chineseSeg_ = chineseSeg_; to_bitField1_ |= 0x00000800; } - result.chineseSeg_ = chineseSeg_; if (((from_bitField1_ & 0x00004000) != 0)) { + result.chineseXMLChar_ = chineseXMLChar_; to_bitField1_ |= 0x00001000; } - result.chineseXMLChar_ = chineseXMLChar_; if (((from_bitField1_ & 0x00008000) != 0)) { + result.arabicSeg_ = arabicSeg_; to_bitField1_ |= 0x00002000; } - result.arabicSeg_ = arabicSeg_; if (((from_bitField1_ & 0x00010000) != 0)) { + result.sectionName_ = sectionName_; to_bitField1_ |= 0x00004000; } - result.sectionName_ = sectionName_; if (((from_bitField1_ & 0x00020000) != 0)) { + result.sectionAuthor_ = sectionAuthor_; to_bitField1_ |= 0x00008000; } - result.sectionAuthor_ = sectionAuthor_; if (((from_bitField1_ & 0x00040000) != 0)) { + result.sectionDate_ = sectionDate_; to_bitField1_ |= 0x00010000; } - result.sectionDate_ = sectionDate_; if (((from_bitField1_ & 0x00080000) != 0)) { + result.sectionEndLabel_ = sectionEndLabel_; to_bitField1_ |= 0x00020000; } - result.sectionEndLabel_ = sectionEndLabel_; if (((from_bitField1_ & 0x00100000) != 0)) { + result.parent_ = parent_; to_bitField1_ |= 0x00040000; } - result.parent_ = parent_; - if (((bitField1_ & 0x00200000) != 0)) { + if (((from_bitField1_ & 0x00200000) != 0)) { corefMentionIndex_.makeImmutable(); - bitField1_ = (bitField1_ & ~0x00200000); + result.corefMentionIndex_ = corefMentionIndex_; } - result.corefMentionIndex_ = corefMentionIndex_; if (((from_bitField1_ & 0x00400000) != 0)) { result.entityMentionIndex_ = entityMentionIndex_; to_bitField1_ |= 0x00080000; @@ -23386,33 +23352,40 @@ public edu.stanford.nlp.pipeline.CoreNLPProtos.Token buildPartial() { to_bitField1_ |= 0x00200000; } if (((from_bitField1_ & 0x02000000) != 0)) { + result.mwtText_ = mwtText_; to_bitField1_ |= 0x00400000; } - result.mwtText_ = mwtText_; if (((from_bitField1_ & 0x04000000) != 0)) { + result.mwtMisc_ = mwtMisc_; to_bitField1_ |= 0x00800000; } - result.mwtMisc_ = mwtMisc_; if (((from_bitField1_ & 0x08000000) != 0)) { result.numericValue_ = numericValue_; to_bitField1_ |= 0x01000000; } if (((from_bitField1_ & 0x10000000) != 0)) { + result.numericType_ = numericType_; to_bitField1_ |= 0x02000000; } - result.numericType_ = numericType_; if (((from_bitField1_ & 0x20000000) != 0)) { result.numericCompositeValue_ = numericCompositeValue_; to_bitField1_ |= 0x04000000; } if (((from_bitField1_ & 0x40000000) != 0)) { + result.numericCompositeType_ = numericCompositeType_; to_bitField1_ |= 0x08000000; } - result.numericCompositeType_ = numericCompositeType_; if (((from_bitField1_ & 0x80000000) != 0)) { result.codepointOffsetBegin_ = codepointOffsetBegin_; to_bitField1_ |= 0x10000000; } + result.bitField0_ |= to_bitField0_; + result.bitField1_ |= to_bitField1_; + } + + private void buildPartial2(edu.stanford.nlp.pipeline.CoreNLPProtos.Token result) { + int from_bitField2_ = bitField2_; + int to_bitField1_ = 0; if (((from_bitField2_ & 0x00000001) != 0)) { result.codepointOffsetEnd_ = codepointOffsetEnd_; to_bitField1_ |= 0x20000000; @@ -23425,10 +23398,7 @@ public edu.stanford.nlp.pipeline.CoreNLPProtos.Token buildPartial() { result.emptyIndex_ = emptyIndex_; to_bitField1_ |= 0x80000000; } - result.bitField0_ = to_bitField0_; - result.bitField1_ = to_bitField1_; - onBuilt(); - return result; + result.bitField1_ |= to_bitField1_; } @java.lang.Override @@ -23485,9 +23455,9 @@ public Builder addExtension( return super.addExtension(extension, value); } @java.lang.Override - public Builder clearExtension( + public Builder clearExtension( com.google.protobuf.GeneratedMessage.GeneratedExtension< - edu.stanford.nlp.pipeline.CoreNLPProtos.Token, ?> extension) { + edu.stanford.nlp.pipeline.CoreNLPProtos.Token, T> extension) { return super.clearExtension(extension); } @java.lang.Override @@ -23503,59 +23473,59 @@ public Builder mergeFrom(com.google.protobuf.Message other) { public Builder mergeFrom(edu.stanford.nlp.pipeline.CoreNLPProtos.Token other) { if (other == edu.stanford.nlp.pipeline.CoreNLPProtos.Token.getDefaultInstance()) return this; if (other.hasWord()) { - bitField0_ |= 0x00000001; word_ = other.word_; + bitField0_ |= 0x00000001; onChanged(); } if (other.hasPos()) { - bitField0_ |= 0x00000002; pos_ = other.pos_; + bitField0_ |= 0x00000002; onChanged(); } if (other.hasValue()) { - bitField0_ |= 0x00000004; value_ = other.value_; + bitField0_ |= 0x00000004; onChanged(); } if (other.hasCategory()) { - bitField0_ |= 0x00000008; category_ = other.category_; + bitField0_ |= 0x00000008; onChanged(); } if (other.hasBefore()) { - bitField0_ |= 0x00000010; before_ = other.before_; + bitField0_ |= 0x00000010; onChanged(); } if (other.hasAfter()) { - bitField0_ |= 0x00000020; after_ = other.after_; + bitField0_ |= 0x00000020; onChanged(); } if (other.hasOriginalText()) { - bitField0_ |= 0x00000040; originalText_ = other.originalText_; + bitField0_ |= 0x00000040; onChanged(); } if (other.hasNer()) { - bitField0_ |= 0x00000080; ner_ = other.ner_; + bitField0_ |= 0x00000080; onChanged(); } if (other.hasCoarseNER()) { - bitField0_ |= 0x00000100; coarseNER_ = other.coarseNER_; + bitField0_ |= 0x00000100; onChanged(); } if (other.hasFineGrainedNER()) { - bitField0_ |= 0x00000200; fineGrainedNER_ = other.fineGrainedNER_; + bitField0_ |= 0x00000200; onChanged(); } if (!other.nerLabelProbs_.isEmpty()) { if (nerLabelProbs_.isEmpty()) { nerLabelProbs_ = other.nerLabelProbs_; - bitField0_ = (bitField0_ & ~0x00000400); + bitField0_ |= 0x00000400; } else { ensureNerLabelProbsIsMutable(); nerLabelProbs_.addAll(other.nerLabelProbs_); @@ -23563,13 +23533,13 @@ public Builder mergeFrom(edu.stanford.nlp.pipeline.CoreNLPProtos.Token other) { onChanged(); } if (other.hasNormalizedNER()) { - bitField0_ |= 0x00000800; normalizedNER_ = other.normalizedNER_; + bitField0_ |= 0x00000800; onChanged(); } if (other.hasLemma()) { - bitField0_ |= 0x00001000; lemma_ = other.lemma_; + bitField0_ |= 0x00001000; onChanged(); } if (other.hasBeginChar()) { @@ -23582,13 +23552,13 @@ public Builder mergeFrom(edu.stanford.nlp.pipeline.CoreNLPProtos.Token other) { setUtterance(other.getUtterance()); } if (other.hasSpeaker()) { - bitField0_ |= 0x00010000; speaker_ = other.speaker_; + bitField0_ |= 0x00010000; onChanged(); } if (other.hasSpeakerType()) { - bitField0_ |= 0x00020000; speakerType_ = other.speakerType_; + bitField0_ |= 0x00020000; onChanged(); } if (other.hasBeginIndex()) { @@ -23612,7 +23582,7 @@ public Builder mergeFrom(edu.stanford.nlp.pipeline.CoreNLPProtos.Token other) { if (!other.xmlContext_.isEmpty()) { if (xmlContext_.isEmpty()) { xmlContext_ = other.xmlContext_; - bitField0_ = (bitField0_ & ~0x01000000); + bitField0_ |= 0x01000000; } else { ensureXmlContextIsMutable(); xmlContext_.addAll(other.xmlContext_); @@ -23623,8 +23593,8 @@ public Builder mergeFrom(edu.stanford.nlp.pipeline.CoreNLPProtos.Token other) { setCorefClusterID(other.getCorefClusterID()); } if (other.hasAnswer()) { - bitField0_ |= 0x04000000; answer_ = other.answer_; + bitField0_ |= 0x04000000; onChanged(); } if (other.hasHeadWordIndex()) { @@ -23637,16 +23607,16 @@ public Builder mergeFrom(edu.stanford.nlp.pipeline.CoreNLPProtos.Token other) { mergePolarity(other.getPolarity()); } if (other.hasPolarityDir()) { - bitField0_ |= 0x40000000; polarityDir_ = other.polarityDir_; + bitField0_ |= 0x40000000; onChanged(); } if (other.hasSpan()) { mergeSpan(other.getSpan()); } if (other.hasSentiment()) { - bitField1_ |= 0x00000001; sentiment_ = other.sentiment_; + bitField1_ |= 0x00000001; onChanged(); } if (other.hasQuotationIndex()) { @@ -23656,93 +23626,94 @@ public Builder mergeFrom(edu.stanford.nlp.pipeline.CoreNLPProtos.Token other) { mergeConllUFeatures(other.getConllUFeatures()); } if (other.hasCoarseTag()) { - bitField1_ |= 0x00000008; coarseTag_ = other.coarseTag_; + bitField1_ |= 0x00000008; onChanged(); } if (other.hasConllUTokenSpan()) { mergeConllUTokenSpan(other.getConllUTokenSpan()); } if (other.hasConllUMisc()) { - bitField1_ |= 0x00000020; conllUMisc_ = other.conllUMisc_; + bitField1_ |= 0x00000020; onChanged(); } if (other.hasConllUSecondaryDeps()) { mergeConllUSecondaryDeps(other.getConllUSecondaryDeps()); } if (other.hasWikipediaEntity()) { - bitField1_ |= 0x00000080; wikipediaEntity_ = other.wikipediaEntity_; + bitField1_ |= 0x00000080; onChanged(); } if (other.hasIsNewline()) { setIsNewline(other.getIsNewline()); } if (other.hasGender()) { - bitField1_ |= 0x00000200; gender_ = other.gender_; + bitField1_ |= 0x00000200; onChanged(); } if (other.hasTrueCase()) { - bitField1_ |= 0x00000400; trueCase_ = other.trueCase_; + bitField1_ |= 0x00000400; onChanged(); } if (other.hasTrueCaseText()) { - bitField1_ |= 0x00000800; trueCaseText_ = other.trueCaseText_; + bitField1_ |= 0x00000800; onChanged(); } if (other.hasChineseChar()) { - bitField1_ |= 0x00001000; chineseChar_ = other.chineseChar_; + bitField1_ |= 0x00001000; onChanged(); } if (other.hasChineseSeg()) { - bitField1_ |= 0x00002000; chineseSeg_ = other.chineseSeg_; + bitField1_ |= 0x00002000; onChanged(); } if (other.hasChineseXMLChar()) { - bitField1_ |= 0x00004000; chineseXMLChar_ = other.chineseXMLChar_; + bitField1_ |= 0x00004000; onChanged(); } if (other.hasArabicSeg()) { - bitField1_ |= 0x00008000; arabicSeg_ = other.arabicSeg_; + bitField1_ |= 0x00008000; onChanged(); } if (other.hasSectionName()) { - bitField1_ |= 0x00010000; sectionName_ = other.sectionName_; + bitField1_ |= 0x00010000; onChanged(); } if (other.hasSectionAuthor()) { - bitField1_ |= 0x00020000; sectionAuthor_ = other.sectionAuthor_; + bitField1_ |= 0x00020000; onChanged(); } if (other.hasSectionDate()) { - bitField1_ |= 0x00040000; sectionDate_ = other.sectionDate_; + bitField1_ |= 0x00040000; onChanged(); } if (other.hasSectionEndLabel()) { - bitField1_ |= 0x00080000; sectionEndLabel_ = other.sectionEndLabel_; + bitField1_ |= 0x00080000; onChanged(); } if (other.hasParent()) { - bitField1_ |= 0x00100000; parent_ = other.parent_; + bitField1_ |= 0x00100000; onChanged(); } if (!other.corefMentionIndex_.isEmpty()) { if (corefMentionIndex_.isEmpty()) { corefMentionIndex_ = other.corefMentionIndex_; - bitField1_ = (bitField1_ & ~0x00200000); + corefMentionIndex_.makeImmutable(); + bitField1_ |= 0x00200000; } else { ensureCorefMentionIndexIsMutable(); corefMentionIndex_.addAll(other.corefMentionIndex_); @@ -23759,29 +23730,29 @@ public Builder mergeFrom(edu.stanford.nlp.pipeline.CoreNLPProtos.Token other) { setIsFirstMWT(other.getIsFirstMWT()); } if (other.hasMwtText()) { - bitField1_ |= 0x02000000; mwtText_ = other.mwtText_; + bitField1_ |= 0x02000000; onChanged(); } if (other.hasMwtMisc()) { - bitField1_ |= 0x04000000; mwtMisc_ = other.mwtMisc_; + bitField1_ |= 0x04000000; onChanged(); } if (other.hasNumericValue()) { setNumericValue(other.getNumericValue()); } if (other.hasNumericType()) { - bitField1_ |= 0x10000000; numericType_ = other.numericType_; + bitField1_ |= 0x10000000; onChanged(); } if (other.hasNumericCompositeValue()) { setNumericCompositeValue(other.getNumericCompositeValue()); } if (other.hasNumericCompositeType()) { - bitField1_ |= 0x40000000; numericCompositeType_ = other.numericCompositeType_; + bitField1_ |= 0x40000000; onChanged(); } if (other.hasCodepointOffsetBegin()) { @@ -24293,11 +24264,9 @@ public java.lang.String getWord() { */ public Builder setWord( java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000001; + if (value == null) { throw new NullPointerException(); } word_ = value; + bitField0_ |= 0x00000001; onChanged(); return this; } @@ -24310,8 +24279,8 @@ public Builder setWord( * @return This builder for chaining. */ public Builder clearWord() { - bitField0_ = (bitField0_ & ~0x00000001); word_ = getDefaultInstance().getWord(); + bitField0_ = (bitField0_ & ~0x00000001); onChanged(); return this; } @@ -24326,11 +24295,9 @@ public Builder clearWord() { */ public Builder setWordBytes( com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000001; + if (value == null) { throw new NullPointerException(); } word_ = value; + bitField0_ |= 0x00000001; onChanged(); return this; } @@ -24401,11 +24368,9 @@ public java.lang.String getPos() { */ public Builder setPos( java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000002; + if (value == null) { throw new NullPointerException(); } pos_ = value; + bitField0_ |= 0x00000002; onChanged(); return this; } @@ -24418,8 +24383,8 @@ public Builder setPos( * @return This builder for chaining. */ public Builder clearPos() { - bitField0_ = (bitField0_ & ~0x00000002); pos_ = getDefaultInstance().getPos(); + bitField0_ = (bitField0_ & ~0x00000002); onChanged(); return this; } @@ -24434,11 +24399,9 @@ public Builder clearPos() { */ public Builder setPosBytes( com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000002; + if (value == null) { throw new NullPointerException(); } pos_ = value; + bitField0_ |= 0x00000002; onChanged(); return this; } @@ -24509,11 +24472,9 @@ public java.lang.String getValue() { */ public Builder setValue( java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000004; + if (value == null) { throw new NullPointerException(); } value_ = value; + bitField0_ |= 0x00000004; onChanged(); return this; } @@ -24526,8 +24487,8 @@ public Builder setValue( * @return This builder for chaining. */ public Builder clearValue() { - bitField0_ = (bitField0_ & ~0x00000004); value_ = getDefaultInstance().getValue(); + bitField0_ = (bitField0_ & ~0x00000004); onChanged(); return this; } @@ -24542,11 +24503,9 @@ public Builder clearValue() { */ public Builder setValueBytes( com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000004; + if (value == null) { throw new NullPointerException(); } value_ = value; + bitField0_ |= 0x00000004; onChanged(); return this; } @@ -24617,11 +24576,9 @@ public java.lang.String getCategory() { */ public Builder setCategory( java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000008; + if (value == null) { throw new NullPointerException(); } category_ = value; + bitField0_ |= 0x00000008; onChanged(); return this; } @@ -24634,8 +24591,8 @@ public Builder setCategory( * @return This builder for chaining. */ public Builder clearCategory() { - bitField0_ = (bitField0_ & ~0x00000008); category_ = getDefaultInstance().getCategory(); + bitField0_ = (bitField0_ & ~0x00000008); onChanged(); return this; } @@ -24650,11 +24607,9 @@ public Builder clearCategory() { */ public Builder setCategoryBytes( com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000008; + if (value == null) { throw new NullPointerException(); } category_ = value; + bitField0_ |= 0x00000008; onChanged(); return this; } @@ -24725,11 +24680,9 @@ public java.lang.String getBefore() { */ public Builder setBefore( java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000010; + if (value == null) { throw new NullPointerException(); } before_ = value; + bitField0_ |= 0x00000010; onChanged(); return this; } @@ -24742,8 +24695,8 @@ public Builder setBefore( * @return This builder for chaining. */ public Builder clearBefore() { - bitField0_ = (bitField0_ & ~0x00000010); before_ = getDefaultInstance().getBefore(); + bitField0_ = (bitField0_ & ~0x00000010); onChanged(); return this; } @@ -24758,11 +24711,9 @@ public Builder clearBefore() { */ public Builder setBeforeBytes( com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000010; + if (value == null) { throw new NullPointerException(); } before_ = value; + bitField0_ |= 0x00000010; onChanged(); return this; } @@ -24833,11 +24784,9 @@ public java.lang.String getAfter() { */ public Builder setAfter( java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000020; + if (value == null) { throw new NullPointerException(); } after_ = value; + bitField0_ |= 0x00000020; onChanged(); return this; } @@ -24850,8 +24799,8 @@ public Builder setAfter( * @return This builder for chaining. */ public Builder clearAfter() { - bitField0_ = (bitField0_ & ~0x00000020); after_ = getDefaultInstance().getAfter(); + bitField0_ = (bitField0_ & ~0x00000020); onChanged(); return this; } @@ -24866,11 +24815,9 @@ public Builder clearAfter() { */ public Builder setAfterBytes( com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000020; + if (value == null) { throw new NullPointerException(); } after_ = value; + bitField0_ |= 0x00000020; onChanged(); return this; } @@ -24941,11 +24888,9 @@ public java.lang.String getOriginalText() { */ public Builder setOriginalText( java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000040; + if (value == null) { throw new NullPointerException(); } originalText_ = value; + bitField0_ |= 0x00000040; onChanged(); return this; } @@ -24958,8 +24903,8 @@ public Builder setOriginalText( * @return This builder for chaining. */ public Builder clearOriginalText() { - bitField0_ = (bitField0_ & ~0x00000040); originalText_ = getDefaultInstance().getOriginalText(); + bitField0_ = (bitField0_ & ~0x00000040); onChanged(); return this; } @@ -24974,11 +24919,9 @@ public Builder clearOriginalText() { */ public Builder setOriginalTextBytes( com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000040; + if (value == null) { throw new NullPointerException(); } originalText_ = value; + bitField0_ |= 0x00000040; onChanged(); return this; } @@ -25049,11 +24992,9 @@ public java.lang.String getNer() { */ public Builder setNer( java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000080; + if (value == null) { throw new NullPointerException(); } ner_ = value; + bitField0_ |= 0x00000080; onChanged(); return this; } @@ -25066,8 +25007,8 @@ public Builder setNer( * @return This builder for chaining. */ public Builder clearNer() { - bitField0_ = (bitField0_ & ~0x00000080); ner_ = getDefaultInstance().getNer(); + bitField0_ = (bitField0_ & ~0x00000080); onChanged(); return this; } @@ -25082,11 +25023,9 @@ public Builder clearNer() { */ public Builder setNerBytes( com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000080; + if (value == null) { throw new NullPointerException(); } ner_ = value; + bitField0_ |= 0x00000080; onChanged(); return this; } @@ -25157,11 +25096,9 @@ public java.lang.String getCoarseNER() { */ public Builder setCoarseNER( java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000100; + if (value == null) { throw new NullPointerException(); } coarseNER_ = value; + bitField0_ |= 0x00000100; onChanged(); return this; } @@ -25174,8 +25111,8 @@ public Builder setCoarseNER( * @return This builder for chaining. */ public Builder clearCoarseNER() { - bitField0_ = (bitField0_ & ~0x00000100); coarseNER_ = getDefaultInstance().getCoarseNER(); + bitField0_ = (bitField0_ & ~0x00000100); onChanged(); return this; } @@ -25190,11 +25127,9 @@ public Builder clearCoarseNER() { */ public Builder setCoarseNERBytes( com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000100; + if (value == null) { throw new NullPointerException(); } coarseNER_ = value; + bitField0_ |= 0x00000100; onChanged(); return this; } @@ -25265,11 +25200,9 @@ public java.lang.String getFineGrainedNER() { */ public Builder setFineGrainedNER( java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000200; + if (value == null) { throw new NullPointerException(); } fineGrainedNER_ = value; + bitField0_ |= 0x00000200; onChanged(); return this; } @@ -25282,8 +25215,8 @@ public Builder setFineGrainedNER( * @return This builder for chaining. */ public Builder clearFineGrainedNER() { - bitField0_ = (bitField0_ & ~0x00000200); fineGrainedNER_ = getDefaultInstance().getFineGrainedNER(); + bitField0_ = (bitField0_ & ~0x00000200); onChanged(); return this; } @@ -25298,21 +25231,20 @@ public Builder clearFineGrainedNER() { */ public Builder setFineGrainedNERBytes( com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000200; + if (value == null) { throw new NullPointerException(); } fineGrainedNER_ = value; + bitField0_ |= 0x00000200; onChanged(); return this; } - private com.google.protobuf.LazyStringList nerLabelProbs_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private com.google.protobuf.LazyStringArrayList nerLabelProbs_ = + com.google.protobuf.LazyStringArrayList.emptyList(); private void ensureNerLabelProbsIsMutable() { - if (!((bitField0_ & 0x00000400) != 0)) { + if (!nerLabelProbs_.isModifiable()) { nerLabelProbs_ = new com.google.protobuf.LazyStringArrayList(nerLabelProbs_); - bitField0_ |= 0x00000400; - } + } + bitField0_ |= 0x00000400; } /** *
@@ -25324,7 +25256,8 @@ private void ensureNerLabelProbsIsMutable() {
        */
       public com.google.protobuf.ProtocolStringList
           getNerLabelProbsList() {
-        return nerLabelProbs_.getUnmodifiableView();
+        nerLabelProbs_.makeImmutable();
+        return nerLabelProbs_;
       }
       /**
        * 
@@ -25374,11 +25307,10 @@ public java.lang.String getNerLabelProbs(int index) {
        */
       public Builder setNerLabelProbs(
           int index, java.lang.String value) {
-        if (value == null) {
-    throw new NullPointerException();
-  }
-  ensureNerLabelProbsIsMutable();
+        if (value == null) { throw new NullPointerException(); }
+        ensureNerLabelProbsIsMutable();
         nerLabelProbs_.set(index, value);
+        bitField0_ |= 0x00000400;
         onChanged();
         return this;
       }
@@ -25393,11 +25325,10 @@ public Builder setNerLabelProbs(
        */
       public Builder addNerLabelProbs(
           java.lang.String value) {
-        if (value == null) {
-    throw new NullPointerException();
-  }
-  ensureNerLabelProbsIsMutable();
+        if (value == null) { throw new NullPointerException(); }
+        ensureNerLabelProbsIsMutable();
         nerLabelProbs_.add(value);
+        bitField0_ |= 0x00000400;
         onChanged();
         return this;
       }
@@ -25415,6 +25346,7 @@ public Builder addAllNerLabelProbs(
         ensureNerLabelProbsIsMutable();
         com.google.protobuf.AbstractMessageLite.Builder.addAll(
             values, nerLabelProbs_);
+        bitField0_ |= 0x00000400;
         onChanged();
         return this;
       }
@@ -25427,8 +25359,9 @@ public Builder addAllNerLabelProbs(
        * @return This builder for chaining.
        */
       public Builder clearNerLabelProbs() {
-        nerLabelProbs_ = com.google.protobuf.LazyStringArrayList.EMPTY;
-        bitField0_ = (bitField0_ & ~0x00000400);
+        nerLabelProbs_ =
+          com.google.protobuf.LazyStringArrayList.emptyList();
+        bitField0_ = (bitField0_ & ~0x00000400);;
         onChanged();
         return this;
       }
@@ -25443,11 +25376,10 @@ public Builder clearNerLabelProbs() {
        */
       public Builder addNerLabelProbsBytes(
           com.google.protobuf.ByteString value) {
-        if (value == null) {
-    throw new NullPointerException();
-  }
-  ensureNerLabelProbsIsMutable();
+        if (value == null) { throw new NullPointerException(); }
+        ensureNerLabelProbsIsMutable();
         nerLabelProbs_.add(value);
+        bitField0_ |= 0x00000400;
         onChanged();
         return this;
       }
@@ -25518,11 +25450,9 @@ public java.lang.String getNormalizedNER() {
        */
       public Builder setNormalizedNER(
           java.lang.String value) {
-        if (value == null) {
-    throw new NullPointerException();
-  }
-  bitField0_ |= 0x00000800;
+        if (value == null) { throw new NullPointerException(); }
         normalizedNER_ = value;
+        bitField0_ |= 0x00000800;
         onChanged();
         return this;
       }
@@ -25535,8 +25465,8 @@ public Builder setNormalizedNER(
        * @return This builder for chaining.
        */
       public Builder clearNormalizedNER() {
-        bitField0_ = (bitField0_ & ~0x00000800);
         normalizedNER_ = getDefaultInstance().getNormalizedNER();
+        bitField0_ = (bitField0_ & ~0x00000800);
         onChanged();
         return this;
       }
@@ -25551,11 +25481,9 @@ public Builder clearNormalizedNER() {
        */
       public Builder setNormalizedNERBytes(
           com.google.protobuf.ByteString value) {
-        if (value == null) {
-    throw new NullPointerException();
-  }
-  bitField0_ |= 0x00000800;
+        if (value == null) { throw new NullPointerException(); }
         normalizedNER_ = value;
+        bitField0_ |= 0x00000800;
         onChanged();
         return this;
       }
@@ -25626,11 +25554,9 @@ public java.lang.String getLemma() {
        */
       public Builder setLemma(
           java.lang.String value) {
-        if (value == null) {
-    throw new NullPointerException();
-  }
-  bitField0_ |= 0x00001000;
+        if (value == null) { throw new NullPointerException(); }
         lemma_ = value;
+        bitField0_ |= 0x00001000;
         onChanged();
         return this;
       }
@@ -25643,8 +25569,8 @@ public Builder setLemma(
        * @return This builder for chaining.
        */
       public Builder clearLemma() {
-        bitField0_ = (bitField0_ & ~0x00001000);
         lemma_ = getDefaultInstance().getLemma();
+        bitField0_ = (bitField0_ & ~0x00001000);
         onChanged();
         return this;
       }
@@ -25659,11 +25585,9 @@ public Builder clearLemma() {
        */
       public Builder setLemmaBytes(
           com.google.protobuf.ByteString value) {
-        if (value == null) {
-    throw new NullPointerException();
-  }
-  bitField0_ |= 0x00001000;
+        if (value == null) { throw new NullPointerException(); }
         lemma_ = value;
+        bitField0_ |= 0x00001000;
         onChanged();
         return this;
       }
@@ -25703,8 +25627,9 @@ public int getBeginChar() {
        * @return This builder for chaining.
        */
       public Builder setBeginChar(int value) {
-        bitField0_ |= 0x00002000;
+
         beginChar_ = value;
+        bitField0_ |= 0x00002000;
         onChanged();
         return this;
       }
@@ -25758,8 +25683,9 @@ public int getEndChar() {
        * @return This builder for chaining.
        */
       public Builder setEndChar(int value) {
-        bitField0_ |= 0x00004000;
+
         endChar_ = value;
+        bitField0_ |= 0x00004000;
         onChanged();
         return this;
       }
@@ -25813,8 +25739,9 @@ public int getUtterance() {
        * @return This builder for chaining.
        */
       public Builder setUtterance(int value) {
-        bitField0_ |= 0x00008000;
+
         utterance_ = value;
+        bitField0_ |= 0x00008000;
         onChanged();
         return this;
       }
@@ -25899,11 +25826,9 @@ public java.lang.String getSpeaker() {
        */
       public Builder setSpeaker(
           java.lang.String value) {
-        if (value == null) {
-    throw new NullPointerException();
-  }
-  bitField0_ |= 0x00010000;
+        if (value == null) { throw new NullPointerException(); }
         speaker_ = value;
+        bitField0_ |= 0x00010000;
         onChanged();
         return this;
       }
@@ -25916,8 +25841,8 @@ public Builder setSpeaker(
        * @return This builder for chaining.
        */
       public Builder clearSpeaker() {
-        bitField0_ = (bitField0_ & ~0x00010000);
         speaker_ = getDefaultInstance().getSpeaker();
+        bitField0_ = (bitField0_ & ~0x00010000);
         onChanged();
         return this;
       }
@@ -25932,11 +25857,9 @@ public Builder clearSpeaker() {
        */
       public Builder setSpeakerBytes(
           com.google.protobuf.ByteString value) {
-        if (value == null) {
-    throw new NullPointerException();
-  }
-  bitField0_ |= 0x00010000;
+        if (value == null) { throw new NullPointerException(); }
         speaker_ = value;
+        bitField0_ |= 0x00010000;
         onChanged();
         return this;
       }
@@ -26007,11 +25930,9 @@ public java.lang.String getSpeakerType() {
        */
       public Builder setSpeakerType(
           java.lang.String value) {
-        if (value == null) {
-    throw new NullPointerException();
-  }
-  bitField0_ |= 0x00020000;
+        if (value == null) { throw new NullPointerException(); }
         speakerType_ = value;
+        bitField0_ |= 0x00020000;
         onChanged();
         return this;
       }
@@ -26024,8 +25945,8 @@ public Builder setSpeakerType(
        * @return This builder for chaining.
        */
       public Builder clearSpeakerType() {
-        bitField0_ = (bitField0_ & ~0x00020000);
         speakerType_ = getDefaultInstance().getSpeakerType();
+        bitField0_ = (bitField0_ & ~0x00020000);
         onChanged();
         return this;
       }
@@ -26040,11 +25961,9 @@ public Builder clearSpeakerType() {
        */
       public Builder setSpeakerTypeBytes(
           com.google.protobuf.ByteString value) {
-        if (value == null) {
-    throw new NullPointerException();
-  }
-  bitField0_ |= 0x00020000;
+        if (value == null) { throw new NullPointerException(); }
         speakerType_ = value;
+        bitField0_ |= 0x00020000;
         onChanged();
         return this;
       }
@@ -26084,8 +26003,9 @@ public int getBeginIndex() {
        * @return This builder for chaining.
        */
       public Builder setBeginIndex(int value) {
-        bitField0_ |= 0x00040000;
+
         beginIndex_ = value;
+        bitField0_ |= 0x00040000;
         onChanged();
         return this;
       }
@@ -26139,8 +26059,9 @@ public int getEndIndex() {
        * @return This builder for chaining.
        */
       public Builder setEndIndex(int value) {
-        bitField0_ |= 0x00080000;
+
         endIndex_ = value;
+        bitField0_ |= 0x00080000;
         onChanged();
         return this;
       }
@@ -26194,8 +26115,9 @@ public int getTokenBeginIndex() {
        * @return This builder for chaining.
        */
       public Builder setTokenBeginIndex(int value) {
-        bitField0_ |= 0x00100000;
+
         tokenBeginIndex_ = value;
+        bitField0_ |= 0x00100000;
         onChanged();
         return this;
       }
@@ -26249,8 +26171,9 @@ public int getTokenEndIndex() {
        * @return This builder for chaining.
        */
       public Builder setTokenEndIndex(int value) {
-        bitField0_ |= 0x00200000;
+
         tokenEndIndex_ = value;
+        bitField0_ |= 0x00200000;
         onChanged();
         return this;
       }
@@ -26311,11 +26234,11 @@ public Builder setTimexValue(edu.stanford.nlp.pipeline.CoreNLPProtos.Timex value
             throw new NullPointerException();
           }
           timexValue_ = value;
-          onChanged();
         } else {
           timexValueBuilder_.setMessage(value);
         }
         bitField0_ |= 0x00400000;
+        onChanged();
         return this;
       }
       /**
@@ -26329,11 +26252,11 @@ public Builder setTimexValue(
           edu.stanford.nlp.pipeline.CoreNLPProtos.Timex.Builder builderForValue) {
         if (timexValueBuilder_ == null) {
           timexValue_ = builderForValue.build();
-          onChanged();
         } else {
           timexValueBuilder_.setMessage(builderForValue.build());
         }
         bitField0_ |= 0x00400000;
+        onChanged();
         return this;
       }
       /**
@@ -26346,18 +26269,19 @@ public Builder setTimexValue(
       public Builder mergeTimexValue(edu.stanford.nlp.pipeline.CoreNLPProtos.Timex value) {
         if (timexValueBuilder_ == null) {
           if (((bitField0_ & 0x00400000) != 0) &&
-              timexValue_ != null &&
-              timexValue_ != edu.stanford.nlp.pipeline.CoreNLPProtos.Timex.getDefaultInstance()) {
-            timexValue_ =
-              edu.stanford.nlp.pipeline.CoreNLPProtos.Timex.newBuilder(timexValue_).mergeFrom(value).buildPartial();
+            timexValue_ != null &&
+            timexValue_ != edu.stanford.nlp.pipeline.CoreNLPProtos.Timex.getDefaultInstance()) {
+            getTimexValueBuilder().mergeFrom(value);
           } else {
             timexValue_ = value;
           }
-          onChanged();
         } else {
           timexValueBuilder_.mergeFrom(value);
         }
-        bitField0_ |= 0x00400000;
+        if (timexValue_ != null) {
+          bitField0_ |= 0x00400000;
+          onChanged();
+        }
         return this;
       }
       /**
@@ -26368,13 +26292,13 @@ public Builder mergeTimexValue(edu.stanford.nlp.pipeline.CoreNLPProtos.Timex val
        * optional .edu.stanford.nlp.pipeline.Timex timexValue = 19;
        */
       public Builder clearTimexValue() {
-        if (timexValueBuilder_ == null) {
-          timexValue_ = null;
-          onChanged();
-        } else {
-          timexValueBuilder_.clear();
-        }
         bitField0_ = (bitField0_ & ~0x00400000);
+        timexValue_ = null;
+        if (timexValueBuilder_ != null) {
+          timexValueBuilder_.dispose();
+          timexValueBuilder_ = null;
+        }
+        onChanged();
         return this;
       }
       /**
@@ -26460,8 +26384,9 @@ public boolean getHasXmlContext() {
        * @return This builder for chaining.
        */
       public Builder setHasXmlContext(boolean value) {
-        bitField0_ |= 0x00800000;
+
         hasXmlContext_ = value;
+        bitField0_ |= 0x00800000;
         onChanged();
         return this;
       }
@@ -26480,12 +26405,13 @@ public Builder clearHasXmlContext() {
         return this;
       }
 
-      private com.google.protobuf.LazyStringList xmlContext_ = com.google.protobuf.LazyStringArrayList.EMPTY;
+      private com.google.protobuf.LazyStringArrayList xmlContext_ =
+          com.google.protobuf.LazyStringArrayList.emptyList();
       private void ensureXmlContextIsMutable() {
-        if (!((bitField0_ & 0x01000000) != 0)) {
+        if (!xmlContext_.isModifiable()) {
           xmlContext_ = new com.google.protobuf.LazyStringArrayList(xmlContext_);
-          bitField0_ |= 0x01000000;
-         }
+        }
+        bitField0_ |= 0x01000000;
       }
       /**
        * 
@@ -26497,7 +26423,8 @@ private void ensureXmlContextIsMutable() {
        */
       public com.google.protobuf.ProtocolStringList
           getXmlContextList() {
-        return xmlContext_.getUnmodifiableView();
+        xmlContext_.makeImmutable();
+        return xmlContext_;
       }
       /**
        * 
@@ -26547,11 +26474,10 @@ public java.lang.String getXmlContext(int index) {
        */
       public Builder setXmlContext(
           int index, java.lang.String value) {
-        if (value == null) {
-    throw new NullPointerException();
-  }
-  ensureXmlContextIsMutable();
+        if (value == null) { throw new NullPointerException(); }
+        ensureXmlContextIsMutable();
         xmlContext_.set(index, value);
+        bitField0_ |= 0x01000000;
         onChanged();
         return this;
       }
@@ -26566,11 +26492,10 @@ public Builder setXmlContext(
        */
       public Builder addXmlContext(
           java.lang.String value) {
-        if (value == null) {
-    throw new NullPointerException();
-  }
-  ensureXmlContextIsMutable();
+        if (value == null) { throw new NullPointerException(); }
+        ensureXmlContextIsMutable();
         xmlContext_.add(value);
+        bitField0_ |= 0x01000000;
         onChanged();
         return this;
       }
@@ -26588,6 +26513,7 @@ public Builder addAllXmlContext(
         ensureXmlContextIsMutable();
         com.google.protobuf.AbstractMessageLite.Builder.addAll(
             values, xmlContext_);
+        bitField0_ |= 0x01000000;
         onChanged();
         return this;
       }
@@ -26600,8 +26526,9 @@ public Builder addAllXmlContext(
        * @return This builder for chaining.
        */
       public Builder clearXmlContext() {
-        xmlContext_ = com.google.protobuf.LazyStringArrayList.EMPTY;
-        bitField0_ = (bitField0_ & ~0x01000000);
+        xmlContext_ =
+          com.google.protobuf.LazyStringArrayList.emptyList();
+        bitField0_ = (bitField0_ & ~0x01000000);;
         onChanged();
         return this;
       }
@@ -26616,11 +26543,10 @@ public Builder clearXmlContext() {
        */
       public Builder addXmlContextBytes(
           com.google.protobuf.ByteString value) {
-        if (value == null) {
-    throw new NullPointerException();
-  }
-  ensureXmlContextIsMutable();
+        if (value == null) { throw new NullPointerException(); }
+        ensureXmlContextIsMutable();
         xmlContext_.add(value);
+        bitField0_ |= 0x01000000;
         onChanged();
         return this;
       }
@@ -26660,8 +26586,9 @@ public int getCorefClusterID() {
        * @return This builder for chaining.
        */
       public Builder setCorefClusterID(int value) {
-        bitField0_ |= 0x02000000;
+
         corefClusterID_ = value;
+        bitField0_ |= 0x02000000;
         onChanged();
         return this;
       }
@@ -26746,11 +26673,9 @@ public java.lang.String getAnswer() {
        */
       public Builder setAnswer(
           java.lang.String value) {
-        if (value == null) {
-    throw new NullPointerException();
-  }
-  bitField0_ |= 0x04000000;
+        if (value == null) { throw new NullPointerException(); }
         answer_ = value;
+        bitField0_ |= 0x04000000;
         onChanged();
         return this;
       }
@@ -26763,8 +26688,8 @@ public Builder setAnswer(
        * @return This builder for chaining.
        */
       public Builder clearAnswer() {
-        bitField0_ = (bitField0_ & ~0x04000000);
         answer_ = getDefaultInstance().getAnswer();
+        bitField0_ = (bitField0_ & ~0x04000000);
         onChanged();
         return this;
       }
@@ -26779,11 +26704,9 @@ public Builder clearAnswer() {
        */
       public Builder setAnswerBytes(
           com.google.protobuf.ByteString value) {
-        if (value == null) {
-    throw new NullPointerException();
-  }
-  bitField0_ |= 0x04000000;
+        if (value == null) { throw new NullPointerException(); }
         answer_ = value;
+        bitField0_ |= 0x04000000;
         onChanged();
         return this;
       }
@@ -26823,8 +26746,9 @@ public int getHeadWordIndex() {
        * @return This builder for chaining.
        */
       public Builder setHeadWordIndex(int value) {
-        bitField0_ |= 0x08000000;
+
         headWordIndex_ = value;
+        bitField0_ |= 0x08000000;
         onChanged();
         return this;
       }
@@ -26885,11 +26809,11 @@ public Builder setOperator(edu.stanford.nlp.pipeline.CoreNLPProtos.Operator valu
             throw new NullPointerException();
           }
           operator_ = value;
-          onChanged();
         } else {
           operatorBuilder_.setMessage(value);
         }
         bitField0_ |= 0x10000000;
+        onChanged();
         return this;
       }
       /**
@@ -26903,11 +26827,11 @@ public Builder setOperator(
           edu.stanford.nlp.pipeline.CoreNLPProtos.Operator.Builder builderForValue) {
         if (operatorBuilder_ == null) {
           operator_ = builderForValue.build();
-          onChanged();
         } else {
           operatorBuilder_.setMessage(builderForValue.build());
         }
         bitField0_ |= 0x10000000;
+        onChanged();
         return this;
       }
       /**
@@ -26920,18 +26844,19 @@ public Builder setOperator(
       public Builder mergeOperator(edu.stanford.nlp.pipeline.CoreNLPProtos.Operator value) {
         if (operatorBuilder_ == null) {
           if (((bitField0_ & 0x10000000) != 0) &&
-              operator_ != null &&
-              operator_ != edu.stanford.nlp.pipeline.CoreNLPProtos.Operator.getDefaultInstance()) {
-            operator_ =
-              edu.stanford.nlp.pipeline.CoreNLPProtos.Operator.newBuilder(operator_).mergeFrom(value).buildPartial();
+            operator_ != null &&
+            operator_ != edu.stanford.nlp.pipeline.CoreNLPProtos.Operator.getDefaultInstance()) {
+            getOperatorBuilder().mergeFrom(value);
           } else {
             operator_ = value;
           }
-          onChanged();
         } else {
           operatorBuilder_.mergeFrom(value);
         }
-        bitField0_ |= 0x10000000;
+        if (operator_ != null) {
+          bitField0_ |= 0x10000000;
+          onChanged();
+        }
         return this;
       }
       /**
@@ -26942,13 +26867,13 @@ public Builder mergeOperator(edu.stanford.nlp.pipeline.CoreNLPProtos.Operator va
        * optional .edu.stanford.nlp.pipeline.Operator operator = 27;
        */
       public Builder clearOperator() {
-        if (operatorBuilder_ == null) {
-          operator_ = null;
-          onChanged();
-        } else {
-          operatorBuilder_.clear();
-        }
         bitField0_ = (bitField0_ & ~0x10000000);
+        operator_ = null;
+        if (operatorBuilder_ != null) {
+          operatorBuilder_.dispose();
+          operatorBuilder_ = null;
+        }
+        onChanged();
         return this;
       }
       /**
@@ -27041,11 +26966,11 @@ public Builder setPolarity(edu.stanford.nlp.pipeline.CoreNLPProtos.Polarity valu
             throw new NullPointerException();
           }
           polarity_ = value;
-          onChanged();
         } else {
           polarityBuilder_.setMessage(value);
         }
         bitField0_ |= 0x20000000;
+        onChanged();
         return this;
       }
       /**
@@ -27059,11 +26984,11 @@ public Builder setPolarity(
           edu.stanford.nlp.pipeline.CoreNLPProtos.Polarity.Builder builderForValue) {
         if (polarityBuilder_ == null) {
           polarity_ = builderForValue.build();
-          onChanged();
         } else {
           polarityBuilder_.setMessage(builderForValue.build());
         }
         bitField0_ |= 0x20000000;
+        onChanged();
         return this;
       }
       /**
@@ -27076,18 +27001,19 @@ public Builder setPolarity(
       public Builder mergePolarity(edu.stanford.nlp.pipeline.CoreNLPProtos.Polarity value) {
         if (polarityBuilder_ == null) {
           if (((bitField0_ & 0x20000000) != 0) &&
-              polarity_ != null &&
-              polarity_ != edu.stanford.nlp.pipeline.CoreNLPProtos.Polarity.getDefaultInstance()) {
-            polarity_ =
-              edu.stanford.nlp.pipeline.CoreNLPProtos.Polarity.newBuilder(polarity_).mergeFrom(value).buildPartial();
+            polarity_ != null &&
+            polarity_ != edu.stanford.nlp.pipeline.CoreNLPProtos.Polarity.getDefaultInstance()) {
+            getPolarityBuilder().mergeFrom(value);
           } else {
             polarity_ = value;
           }
-          onChanged();
         } else {
           polarityBuilder_.mergeFrom(value);
         }
-        bitField0_ |= 0x20000000;
+        if (polarity_ != null) {
+          bitField0_ |= 0x20000000;
+          onChanged();
+        }
         return this;
       }
       /**
@@ -27098,13 +27024,13 @@ public Builder mergePolarity(edu.stanford.nlp.pipeline.CoreNLPProtos.Polarity va
        * optional .edu.stanford.nlp.pipeline.Polarity polarity = 28;
        */
       public Builder clearPolarity() {
-        if (polarityBuilder_ == null) {
-          polarity_ = null;
-          onChanged();
-        } else {
-          polarityBuilder_.clear();
-        }
         bitField0_ = (bitField0_ & ~0x20000000);
+        polarity_ = null;
+        if (polarityBuilder_ != null) {
+          polarityBuilder_.dispose();
+          polarityBuilder_ = null;
+        }
+        onChanged();
         return this;
       }
       /**
@@ -27221,11 +27147,9 @@ public java.lang.String getPolarityDir() {
        */
       public Builder setPolarityDir(
           java.lang.String value) {
-        if (value == null) {
-    throw new NullPointerException();
-  }
-  bitField0_ |= 0x40000000;
+        if (value == null) { throw new NullPointerException(); }
         polarityDir_ = value;
+        bitField0_ |= 0x40000000;
         onChanged();
         return this;
       }
@@ -27238,8 +27162,8 @@ public Builder setPolarityDir(
        * @return This builder for chaining.
        */
       public Builder clearPolarityDir() {
-        bitField0_ = (bitField0_ & ~0x40000000);
         polarityDir_ = getDefaultInstance().getPolarityDir();
+        bitField0_ = (bitField0_ & ~0x40000000);
         onChanged();
         return this;
       }
@@ -27254,11 +27178,9 @@ public Builder clearPolarityDir() {
        */
       public Builder setPolarityDirBytes(
           com.google.protobuf.ByteString value) {
-        if (value == null) {
-    throw new NullPointerException();
-  }
-  bitField0_ |= 0x40000000;
+        if (value == null) { throw new NullPointerException(); }
         polarityDir_ = value;
+        bitField0_ |= 0x40000000;
         onChanged();
         return this;
       }
@@ -27305,11 +27227,11 @@ public Builder setSpan(edu.stanford.nlp.pipeline.CoreNLPProtos.Span value) {
             throw new NullPointerException();
           }
           span_ = value;
-          onChanged();
         } else {
           spanBuilder_.setMessage(value);
         }
         bitField0_ |= 0x80000000;
+        onChanged();
         return this;
       }
       /**
@@ -27323,11 +27245,11 @@ public Builder setSpan(
           edu.stanford.nlp.pipeline.CoreNLPProtos.Span.Builder builderForValue) {
         if (spanBuilder_ == null) {
           span_ = builderForValue.build();
-          onChanged();
         } else {
           spanBuilder_.setMessage(builderForValue.build());
         }
         bitField0_ |= 0x80000000;
+        onChanged();
         return this;
       }
       /**
@@ -27340,18 +27262,19 @@ public Builder setSpan(
       public Builder mergeSpan(edu.stanford.nlp.pipeline.CoreNLPProtos.Span value) {
         if (spanBuilder_ == null) {
           if (((bitField0_ & 0x80000000) != 0) &&
-              span_ != null &&
-              span_ != edu.stanford.nlp.pipeline.CoreNLPProtos.Span.getDefaultInstance()) {
-            span_ =
-              edu.stanford.nlp.pipeline.CoreNLPProtos.Span.newBuilder(span_).mergeFrom(value).buildPartial();
+            span_ != null &&
+            span_ != edu.stanford.nlp.pipeline.CoreNLPProtos.Span.getDefaultInstance()) {
+            getSpanBuilder().mergeFrom(value);
           } else {
             span_ = value;
           }
-          onChanged();
         } else {
           spanBuilder_.mergeFrom(value);
         }
-        bitField0_ |= 0x80000000;
+        if (span_ != null) {
+          bitField0_ |= 0x80000000;
+          onChanged();
+        }
         return this;
       }
       /**
@@ -27362,13 +27285,13 @@ public Builder mergeSpan(edu.stanford.nlp.pipeline.CoreNLPProtos.Span value) {
        * optional .edu.stanford.nlp.pipeline.Span span = 29;
        */
       public Builder clearSpan() {
-        if (spanBuilder_ == null) {
-          span_ = null;
-          onChanged();
-        } else {
-          spanBuilder_.clear();
-        }
         bitField0_ = (bitField0_ & ~0x80000000);
+        span_ = null;
+        if (spanBuilder_ != null) {
+          spanBuilder_.dispose();
+          spanBuilder_ = null;
+        }
+        onChanged();
         return this;
       }
       /**
@@ -27485,11 +27408,9 @@ public java.lang.String getSentiment() {
        */
       public Builder setSentiment(
           java.lang.String value) {
-        if (value == null) {
-    throw new NullPointerException();
-  }
-  bitField1_ |= 0x00000001;
+        if (value == null) { throw new NullPointerException(); }
         sentiment_ = value;
+        bitField1_ |= 0x00000001;
         onChanged();
         return this;
       }
@@ -27502,8 +27423,8 @@ public Builder setSentiment(
        * @return This builder for chaining.
        */
       public Builder clearSentiment() {
-        bitField1_ = (bitField1_ & ~0x00000001);
         sentiment_ = getDefaultInstance().getSentiment();
+        bitField1_ = (bitField1_ & ~0x00000001);
         onChanged();
         return this;
       }
@@ -27518,11 +27439,9 @@ public Builder clearSentiment() {
        */
       public Builder setSentimentBytes(
           com.google.protobuf.ByteString value) {
-        if (value == null) {
-    throw new NullPointerException();
-  }
-  bitField1_ |= 0x00000001;
+        if (value == null) { throw new NullPointerException(); }
         sentiment_ = value;
+        bitField1_ |= 0x00000001;
         onChanged();
         return this;
       }
@@ -27562,8 +27481,9 @@ public int getQuotationIndex() {
        * @return This builder for chaining.
        */
       public Builder setQuotationIndex(int value) {
-        bitField1_ |= 0x00000002;
+
         quotationIndex_ = value;
+        bitField1_ |= 0x00000002;
         onChanged();
         return this;
       }
@@ -27612,11 +27532,11 @@ public Builder setConllUFeatures(edu.stanford.nlp.pipeline.CoreNLPProtos.MapStri
             throw new NullPointerException();
           }
           conllUFeatures_ = value;
-          onChanged();
         } else {
           conllUFeaturesBuilder_.setMessage(value);
         }
         bitField1_ |= 0x00000004;
+        onChanged();
         return this;
       }
       /**
@@ -27626,11 +27546,11 @@ public Builder setConllUFeatures(
           edu.stanford.nlp.pipeline.CoreNLPProtos.MapStringString.Builder builderForValue) {
         if (conllUFeaturesBuilder_ == null) {
           conllUFeatures_ = builderForValue.build();
-          onChanged();
         } else {
           conllUFeaturesBuilder_.setMessage(builderForValue.build());
         }
         bitField1_ |= 0x00000004;
+        onChanged();
         return this;
       }
       /**
@@ -27639,31 +27559,32 @@ public Builder setConllUFeatures(
       public Builder mergeConllUFeatures(edu.stanford.nlp.pipeline.CoreNLPProtos.MapStringString value) {
         if (conllUFeaturesBuilder_ == null) {
           if (((bitField1_ & 0x00000004) != 0) &&
-              conllUFeatures_ != null &&
-              conllUFeatures_ != edu.stanford.nlp.pipeline.CoreNLPProtos.MapStringString.getDefaultInstance()) {
-            conllUFeatures_ =
-              edu.stanford.nlp.pipeline.CoreNLPProtos.MapStringString.newBuilder(conllUFeatures_).mergeFrom(value).buildPartial();
+            conllUFeatures_ != null &&
+            conllUFeatures_ != edu.stanford.nlp.pipeline.CoreNLPProtos.MapStringString.getDefaultInstance()) {
+            getConllUFeaturesBuilder().mergeFrom(value);
           } else {
             conllUFeatures_ = value;
           }
-          onChanged();
         } else {
           conllUFeaturesBuilder_.mergeFrom(value);
         }
-        bitField1_ |= 0x00000004;
+        if (conllUFeatures_ != null) {
+          bitField1_ |= 0x00000004;
+          onChanged();
+        }
         return this;
       }
       /**
        * optional .edu.stanford.nlp.pipeline.MapStringString conllUFeatures = 32;
        */
       public Builder clearConllUFeatures() {
-        if (conllUFeaturesBuilder_ == null) {
-          conllUFeatures_ = null;
-          onChanged();
-        } else {
-          conllUFeaturesBuilder_.clear();
-        }
         bitField1_ = (bitField1_ & ~0x00000004);
+        conllUFeatures_ = null;
+        if (conllUFeaturesBuilder_ != null) {
+          conllUFeaturesBuilder_.dispose();
+          conllUFeaturesBuilder_ = null;
+        }
+        onChanged();
         return this;
       }
       /**
@@ -27768,11 +27689,9 @@ public java.lang.String getCoarseTag() {
        */
       public Builder setCoarseTag(
           java.lang.String value) {
-        if (value == null) {
-    throw new NullPointerException();
-  }
-  bitField1_ |= 0x00000008;
+        if (value == null) { throw new NullPointerException(); }
         coarseTag_ = value;
+        bitField1_ |= 0x00000008;
         onChanged();
         return this;
       }
@@ -27785,8 +27704,8 @@ public Builder setCoarseTag(
        * @return This builder for chaining.
        */
       public Builder clearCoarseTag() {
-        bitField1_ = (bitField1_ & ~0x00000008);
         coarseTag_ = getDefaultInstance().getCoarseTag();
+        bitField1_ = (bitField1_ & ~0x00000008);
         onChanged();
         return this;
       }
@@ -27801,11 +27720,9 @@ public Builder clearCoarseTag() {
        */
       public Builder setCoarseTagBytes(
           com.google.protobuf.ByteString value) {
-        if (value == null) {
-    throw new NullPointerException();
-  }
-  bitField1_ |= 0x00000008;
+        if (value == null) { throw new NullPointerException(); }
         coarseTag_ = value;
+        bitField1_ |= 0x00000008;
         onChanged();
         return this;
       }
@@ -27840,11 +27757,11 @@ public Builder setConllUTokenSpan(edu.stanford.nlp.pipeline.CoreNLPProtos.Span v
             throw new NullPointerException();
           }
           conllUTokenSpan_ = value;
-          onChanged();
         } else {
           conllUTokenSpanBuilder_.setMessage(value);
         }
         bitField1_ |= 0x00000010;
+        onChanged();
         return this;
       }
       /**
@@ -27854,11 +27771,11 @@ public Builder setConllUTokenSpan(
           edu.stanford.nlp.pipeline.CoreNLPProtos.Span.Builder builderForValue) {
         if (conllUTokenSpanBuilder_ == null) {
           conllUTokenSpan_ = builderForValue.build();
-          onChanged();
         } else {
           conllUTokenSpanBuilder_.setMessage(builderForValue.build());
         }
         bitField1_ |= 0x00000010;
+        onChanged();
         return this;
       }
       /**
@@ -27867,31 +27784,32 @@ public Builder setConllUTokenSpan(
       public Builder mergeConllUTokenSpan(edu.stanford.nlp.pipeline.CoreNLPProtos.Span value) {
         if (conllUTokenSpanBuilder_ == null) {
           if (((bitField1_ & 0x00000010) != 0) &&
-              conllUTokenSpan_ != null &&
-              conllUTokenSpan_ != edu.stanford.nlp.pipeline.CoreNLPProtos.Span.getDefaultInstance()) {
-            conllUTokenSpan_ =
-              edu.stanford.nlp.pipeline.CoreNLPProtos.Span.newBuilder(conllUTokenSpan_).mergeFrom(value).buildPartial();
+            conllUTokenSpan_ != null &&
+            conllUTokenSpan_ != edu.stanford.nlp.pipeline.CoreNLPProtos.Span.getDefaultInstance()) {
+            getConllUTokenSpanBuilder().mergeFrom(value);
           } else {
             conllUTokenSpan_ = value;
           }
-          onChanged();
         } else {
           conllUTokenSpanBuilder_.mergeFrom(value);
         }
-        bitField1_ |= 0x00000010;
+        if (conllUTokenSpan_ != null) {
+          bitField1_ |= 0x00000010;
+          onChanged();
+        }
         return this;
       }
       /**
        * optional .edu.stanford.nlp.pipeline.Span conllUTokenSpan = 34;
        */
       public Builder clearConllUTokenSpan() {
-        if (conllUTokenSpanBuilder_ == null) {
-          conllUTokenSpan_ = null;
-          onChanged();
-        } else {
-          conllUTokenSpanBuilder_.clear();
-        }
         bitField1_ = (bitField1_ & ~0x00000010);
+        conllUTokenSpan_ = null;
+        if (conllUTokenSpanBuilder_ != null) {
+          conllUTokenSpanBuilder_.dispose();
+          conllUTokenSpanBuilder_ = null;
+        }
+        onChanged();
         return this;
       }
       /**
@@ -27980,11 +27898,9 @@ public java.lang.String getConllUMisc() {
        */
       public Builder setConllUMisc(
           java.lang.String value) {
-        if (value == null) {
-    throw new NullPointerException();
-  }
-  bitField1_ |= 0x00000020;
+        if (value == null) { throw new NullPointerException(); }
         conllUMisc_ = value;
+        bitField1_ |= 0x00000020;
         onChanged();
         return this;
       }
@@ -27993,8 +27909,8 @@ public Builder setConllUMisc(
        * @return This builder for chaining.
        */
       public Builder clearConllUMisc() {
-        bitField1_ = (bitField1_ & ~0x00000020);
         conllUMisc_ = getDefaultInstance().getConllUMisc();
+        bitField1_ = (bitField1_ & ~0x00000020);
         onChanged();
         return this;
       }
@@ -28005,11 +27921,9 @@ public Builder clearConllUMisc() {
        */
       public Builder setConllUMiscBytes(
           com.google.protobuf.ByteString value) {
-        if (value == null) {
-    throw new NullPointerException();
-  }
-  bitField1_ |= 0x00000020;
+        if (value == null) { throw new NullPointerException(); }
         conllUMisc_ = value;
+        bitField1_ |= 0x00000020;
         onChanged();
         return this;
       }
@@ -28044,11 +27958,11 @@ public Builder setConllUSecondaryDeps(edu.stanford.nlp.pipeline.CoreNLPProtos.Ma
             throw new NullPointerException();
           }
           conllUSecondaryDeps_ = value;
-          onChanged();
         } else {
           conllUSecondaryDepsBuilder_.setMessage(value);
         }
         bitField1_ |= 0x00000040;
+        onChanged();
         return this;
       }
       /**
@@ -28058,11 +27972,11 @@ public Builder setConllUSecondaryDeps(
           edu.stanford.nlp.pipeline.CoreNLPProtos.MapStringString.Builder builderForValue) {
         if (conllUSecondaryDepsBuilder_ == null) {
           conllUSecondaryDeps_ = builderForValue.build();
-          onChanged();
         } else {
           conllUSecondaryDepsBuilder_.setMessage(builderForValue.build());
         }
         bitField1_ |= 0x00000040;
+        onChanged();
         return this;
       }
       /**
@@ -28071,31 +27985,32 @@ public Builder setConllUSecondaryDeps(
       public Builder mergeConllUSecondaryDeps(edu.stanford.nlp.pipeline.CoreNLPProtos.MapStringString value) {
         if (conllUSecondaryDepsBuilder_ == null) {
           if (((bitField1_ & 0x00000040) != 0) &&
-              conllUSecondaryDeps_ != null &&
-              conllUSecondaryDeps_ != edu.stanford.nlp.pipeline.CoreNLPProtos.MapStringString.getDefaultInstance()) {
-            conllUSecondaryDeps_ =
-              edu.stanford.nlp.pipeline.CoreNLPProtos.MapStringString.newBuilder(conllUSecondaryDeps_).mergeFrom(value).buildPartial();
+            conllUSecondaryDeps_ != null &&
+            conllUSecondaryDeps_ != edu.stanford.nlp.pipeline.CoreNLPProtos.MapStringString.getDefaultInstance()) {
+            getConllUSecondaryDepsBuilder().mergeFrom(value);
           } else {
             conllUSecondaryDeps_ = value;
           }
-          onChanged();
         } else {
           conllUSecondaryDepsBuilder_.mergeFrom(value);
         }
-        bitField1_ |= 0x00000040;
+        if (conllUSecondaryDeps_ != null) {
+          bitField1_ |= 0x00000040;
+          onChanged();
+        }
         return this;
       }
       /**
        * optional .edu.stanford.nlp.pipeline.MapStringString conllUSecondaryDeps = 36;
        */
       public Builder clearConllUSecondaryDeps() {
-        if (conllUSecondaryDepsBuilder_ == null) {
-          conllUSecondaryDeps_ = null;
-          onChanged();
-        } else {
-          conllUSecondaryDepsBuilder_.clear();
-        }
         bitField1_ = (bitField1_ & ~0x00000040);
+        conllUSecondaryDeps_ = null;
+        if (conllUSecondaryDepsBuilder_ != null) {
+          conllUSecondaryDepsBuilder_.dispose();
+          conllUSecondaryDepsBuilder_ = null;
+        }
+        onChanged();
         return this;
       }
       /**
@@ -28184,11 +28099,9 @@ public java.lang.String getWikipediaEntity() {
        */
       public Builder setWikipediaEntity(
           java.lang.String value) {
-        if (value == null) {
-    throw new NullPointerException();
-  }
-  bitField1_ |= 0x00000080;
+        if (value == null) { throw new NullPointerException(); }
         wikipediaEntity_ = value;
+        bitField1_ |= 0x00000080;
         onChanged();
         return this;
       }
@@ -28197,8 +28110,8 @@ public Builder setWikipediaEntity(
        * @return This builder for chaining.
        */
       public Builder clearWikipediaEntity() {
-        bitField1_ = (bitField1_ & ~0x00000080);
         wikipediaEntity_ = getDefaultInstance().getWikipediaEntity();
+        bitField1_ = (bitField1_ & ~0x00000080);
         onChanged();
         return this;
       }
@@ -28209,11 +28122,9 @@ public Builder clearWikipediaEntity() {
        */
       public Builder setWikipediaEntityBytes(
           com.google.protobuf.ByteString value) {
-        if (value == null) {
-    throw new NullPointerException();
-  }
-  bitField1_ |= 0x00000080;
+        if (value == null) { throw new NullPointerException(); }
         wikipediaEntity_ = value;
+        bitField1_ |= 0x00000080;
         onChanged();
         return this;
       }
@@ -28241,8 +28152,9 @@ public boolean getIsNewline() {
        * @return This builder for chaining.
        */
       public Builder setIsNewline(boolean value) {
-        bitField1_ |= 0x00000100;
+
         isNewline_ = value;
+        bitField1_ |= 0x00000100;
         onChanged();
         return this;
       }
@@ -28323,11 +28235,9 @@ public java.lang.String getGender() {
        */
       public Builder setGender(
           java.lang.String value) {
-        if (value == null) {
-    throw new NullPointerException();
-  }
-  bitField1_ |= 0x00000200;
+        if (value == null) { throw new NullPointerException(); }
         gender_ = value;
+        bitField1_ |= 0x00000200;
         onChanged();
         return this;
       }
@@ -28340,8 +28250,8 @@ public Builder setGender(
        * @return This builder for chaining.
        */
       public Builder clearGender() {
-        bitField1_ = (bitField1_ & ~0x00000200);
         gender_ = getDefaultInstance().getGender();
+        bitField1_ = (bitField1_ & ~0x00000200);
         onChanged();
         return this;
       }
@@ -28356,11 +28266,9 @@ public Builder clearGender() {
        */
       public Builder setGenderBytes(
           com.google.protobuf.ByteString value) {
-        if (value == null) {
-    throw new NullPointerException();
-  }
-  bitField1_ |= 0x00000200;
+        if (value == null) { throw new NullPointerException(); }
         gender_ = value;
+        bitField1_ |= 0x00000200;
         onChanged();
         return this;
       }
@@ -28431,11 +28339,9 @@ public java.lang.String getTrueCase() {
        */
       public Builder setTrueCase(
           java.lang.String value) {
-        if (value == null) {
-    throw new NullPointerException();
-  }
-  bitField1_ |= 0x00000400;
+        if (value == null) { throw new NullPointerException(); }
         trueCase_ = value;
+        bitField1_ |= 0x00000400;
         onChanged();
         return this;
       }
@@ -28448,8 +28354,8 @@ public Builder setTrueCase(
        * @return This builder for chaining.
        */
       public Builder clearTrueCase() {
-        bitField1_ = (bitField1_ & ~0x00000400);
         trueCase_ = getDefaultInstance().getTrueCase();
+        bitField1_ = (bitField1_ & ~0x00000400);
         onChanged();
         return this;
       }
@@ -28464,11 +28370,9 @@ public Builder clearTrueCase() {
        */
       public Builder setTrueCaseBytes(
           com.google.protobuf.ByteString value) {
-        if (value == null) {
-    throw new NullPointerException();
-  }
-  bitField1_ |= 0x00000400;
+        if (value == null) { throw new NullPointerException(); }
         trueCase_ = value;
+        bitField1_ |= 0x00000400;
         onChanged();
         return this;
       }
@@ -28539,11 +28443,9 @@ public java.lang.String getTrueCaseText() {
        */
       public Builder setTrueCaseText(
           java.lang.String value) {
-        if (value == null) {
-    throw new NullPointerException();
-  }
-  bitField1_ |= 0x00000800;
+        if (value == null) { throw new NullPointerException(); }
         trueCaseText_ = value;
+        bitField1_ |= 0x00000800;
         onChanged();
         return this;
       }
@@ -28556,8 +28458,8 @@ public Builder setTrueCaseText(
        * @return This builder for chaining.
        */
       public Builder clearTrueCaseText() {
-        bitField1_ = (bitField1_ & ~0x00000800);
         trueCaseText_ = getDefaultInstance().getTrueCaseText();
+        bitField1_ = (bitField1_ & ~0x00000800);
         onChanged();
         return this;
       }
@@ -28572,11 +28474,9 @@ public Builder clearTrueCaseText() {
        */
       public Builder setTrueCaseTextBytes(
           com.google.protobuf.ByteString value) {
-        if (value == null) {
-    throw new NullPointerException();
-  }
-  bitField1_ |= 0x00000800;
+        if (value == null) { throw new NullPointerException(); }
         trueCaseText_ = value;
+        bitField1_ |= 0x00000800;
         onChanged();
         return this;
       }
@@ -28647,11 +28547,9 @@ public java.lang.String getChineseChar() {
        */
       public Builder setChineseChar(
           java.lang.String value) {
-        if (value == null) {
-    throw new NullPointerException();
-  }
-  bitField1_ |= 0x00001000;
+        if (value == null) { throw new NullPointerException(); }
         chineseChar_ = value;
+        bitField1_ |= 0x00001000;
         onChanged();
         return this;
       }
@@ -28664,8 +28562,8 @@ public Builder setChineseChar(
        * @return This builder for chaining.
        */
       public Builder clearChineseChar() {
-        bitField1_ = (bitField1_ & ~0x00001000);
         chineseChar_ = getDefaultInstance().getChineseChar();
+        bitField1_ = (bitField1_ & ~0x00001000);
         onChanged();
         return this;
       }
@@ -28680,11 +28578,9 @@ public Builder clearChineseChar() {
        */
       public Builder setChineseCharBytes(
           com.google.protobuf.ByteString value) {
-        if (value == null) {
-    throw new NullPointerException();
-  }
-  bitField1_ |= 0x00001000;
+        if (value == null) { throw new NullPointerException(); }
         chineseChar_ = value;
+        bitField1_ |= 0x00001000;
         onChanged();
         return this;
       }
@@ -28739,11 +28635,9 @@ public java.lang.String getChineseSeg() {
        */
       public Builder setChineseSeg(
           java.lang.String value) {
-        if (value == null) {
-    throw new NullPointerException();
-  }
-  bitField1_ |= 0x00002000;
+        if (value == null) { throw new NullPointerException(); }
         chineseSeg_ = value;
+        bitField1_ |= 0x00002000;
         onChanged();
         return this;
       }
@@ -28752,8 +28646,8 @@ public Builder setChineseSeg(
        * @return This builder for chaining.
        */
       public Builder clearChineseSeg() {
-        bitField1_ = (bitField1_ & ~0x00002000);
         chineseSeg_ = getDefaultInstance().getChineseSeg();
+        bitField1_ = (bitField1_ & ~0x00002000);
         onChanged();
         return this;
       }
@@ -28764,11 +28658,9 @@ public Builder clearChineseSeg() {
        */
       public Builder setChineseSegBytes(
           com.google.protobuf.ByteString value) {
-        if (value == null) {
-    throw new NullPointerException();
-  }
-  bitField1_ |= 0x00002000;
+        if (value == null) { throw new NullPointerException(); }
         chineseSeg_ = value;
+        bitField1_ |= 0x00002000;
         onChanged();
         return this;
       }
@@ -28823,11 +28715,9 @@ public java.lang.String getChineseXMLChar() {
        */
       public Builder setChineseXMLChar(
           java.lang.String value) {
-        if (value == null) {
-    throw new NullPointerException();
-  }
-  bitField1_ |= 0x00004000;
+        if (value == null) { throw new NullPointerException(); }
         chineseXMLChar_ = value;
+        bitField1_ |= 0x00004000;
         onChanged();
         return this;
       }
@@ -28836,8 +28726,8 @@ public Builder setChineseXMLChar(
        * @return This builder for chaining.
        */
       public Builder clearChineseXMLChar() {
-        bitField1_ = (bitField1_ & ~0x00004000);
         chineseXMLChar_ = getDefaultInstance().getChineseXMLChar();
+        bitField1_ = (bitField1_ & ~0x00004000);
         onChanged();
         return this;
       }
@@ -28848,11 +28738,9 @@ public Builder clearChineseXMLChar() {
        */
       public Builder setChineseXMLCharBytes(
           com.google.protobuf.ByteString value) {
-        if (value == null) {
-    throw new NullPointerException();
-  }
-  bitField1_ |= 0x00004000;
+        if (value == null) { throw new NullPointerException(); }
         chineseXMLChar_ = value;
+        bitField1_ |= 0x00004000;
         onChanged();
         return this;
       }
@@ -28923,11 +28811,9 @@ public java.lang.String getArabicSeg() {
        */
       public Builder setArabicSeg(
           java.lang.String value) {
-        if (value == null) {
-    throw new NullPointerException();
-  }
-  bitField1_ |= 0x00008000;
+        if (value == null) { throw new NullPointerException(); }
         arabicSeg_ = value;
+        bitField1_ |= 0x00008000;
         onChanged();
         return this;
       }
@@ -28940,8 +28826,8 @@ public Builder setArabicSeg(
        * @return This builder for chaining.
        */
       public Builder clearArabicSeg() {
-        bitField1_ = (bitField1_ & ~0x00008000);
         arabicSeg_ = getDefaultInstance().getArabicSeg();
+        bitField1_ = (bitField1_ & ~0x00008000);
         onChanged();
         return this;
       }
@@ -28956,11 +28842,9 @@ public Builder clearArabicSeg() {
        */
       public Builder setArabicSegBytes(
           com.google.protobuf.ByteString value) {
-        if (value == null) {
-    throw new NullPointerException();
-  }
-  bitField1_ |= 0x00008000;
+        if (value == null) { throw new NullPointerException(); }
         arabicSeg_ = value;
+        bitField1_ |= 0x00008000;
         onChanged();
         return this;
       }
@@ -29031,11 +28915,9 @@ public java.lang.String getSectionName() {
        */
       public Builder setSectionName(
           java.lang.String value) {
-        if (value == null) {
-    throw new NullPointerException();
-  }
-  bitField1_ |= 0x00010000;
+        if (value == null) { throw new NullPointerException(); }
         sectionName_ = value;
+        bitField1_ |= 0x00010000;
         onChanged();
         return this;
       }
@@ -29048,8 +28930,8 @@ public Builder setSectionName(
        * @return This builder for chaining.
        */
       public Builder clearSectionName() {
-        bitField1_ = (bitField1_ & ~0x00010000);
         sectionName_ = getDefaultInstance().getSectionName();
+        bitField1_ = (bitField1_ & ~0x00010000);
         onChanged();
         return this;
       }
@@ -29064,11 +28946,9 @@ public Builder clearSectionName() {
        */
       public Builder setSectionNameBytes(
           com.google.protobuf.ByteString value) {
-        if (value == null) {
-    throw new NullPointerException();
-  }
-  bitField1_ |= 0x00010000;
+        if (value == null) { throw new NullPointerException(); }
         sectionName_ = value;
+        bitField1_ |= 0x00010000;
         onChanged();
         return this;
       }
@@ -29123,11 +29003,9 @@ public java.lang.String getSectionAuthor() {
        */
       public Builder setSectionAuthor(
           java.lang.String value) {
-        if (value == null) {
-    throw new NullPointerException();
-  }
-  bitField1_ |= 0x00020000;
+        if (value == null) { throw new NullPointerException(); }
         sectionAuthor_ = value;
+        bitField1_ |= 0x00020000;
         onChanged();
         return this;
       }
@@ -29136,8 +29014,8 @@ public Builder setSectionAuthor(
        * @return This builder for chaining.
        */
       public Builder clearSectionAuthor() {
-        bitField1_ = (bitField1_ & ~0x00020000);
         sectionAuthor_ = getDefaultInstance().getSectionAuthor();
+        bitField1_ = (bitField1_ & ~0x00020000);
         onChanged();
         return this;
       }
@@ -29148,11 +29026,9 @@ public Builder clearSectionAuthor() {
        */
       public Builder setSectionAuthorBytes(
           com.google.protobuf.ByteString value) {
-        if (value == null) {
-    throw new NullPointerException();
-  }
-  bitField1_ |= 0x00020000;
+        if (value == null) { throw new NullPointerException(); }
         sectionAuthor_ = value;
+        bitField1_ |= 0x00020000;
         onChanged();
         return this;
       }
@@ -29207,11 +29083,9 @@ public java.lang.String getSectionDate() {
        */
       public Builder setSectionDate(
           java.lang.String value) {
-        if (value == null) {
-    throw new NullPointerException();
-  }
-  bitField1_ |= 0x00040000;
+        if (value == null) { throw new NullPointerException(); }
         sectionDate_ = value;
+        bitField1_ |= 0x00040000;
         onChanged();
         return this;
       }
@@ -29220,8 +29094,8 @@ public Builder setSectionDate(
        * @return This builder for chaining.
        */
       public Builder clearSectionDate() {
-        bitField1_ = (bitField1_ & ~0x00040000);
         sectionDate_ = getDefaultInstance().getSectionDate();
+        bitField1_ = (bitField1_ & ~0x00040000);
         onChanged();
         return this;
       }
@@ -29232,11 +29106,9 @@ public Builder clearSectionDate() {
        */
       public Builder setSectionDateBytes(
           com.google.protobuf.ByteString value) {
-        if (value == null) {
-    throw new NullPointerException();
-  }
-  bitField1_ |= 0x00040000;
+        if (value == null) { throw new NullPointerException(); }
         sectionDate_ = value;
+        bitField1_ |= 0x00040000;
         onChanged();
         return this;
       }
@@ -29291,11 +29163,9 @@ public java.lang.String getSectionEndLabel() {
        */
       public Builder setSectionEndLabel(
           java.lang.String value) {
-        if (value == null) {
-    throw new NullPointerException();
-  }
-  bitField1_ |= 0x00080000;
+        if (value == null) { throw new NullPointerException(); }
         sectionEndLabel_ = value;
+        bitField1_ |= 0x00080000;
         onChanged();
         return this;
       }
@@ -29304,8 +29174,8 @@ public Builder setSectionEndLabel(
        * @return This builder for chaining.
        */
       public Builder clearSectionEndLabel() {
-        bitField1_ = (bitField1_ & ~0x00080000);
         sectionEndLabel_ = getDefaultInstance().getSectionEndLabel();
+        bitField1_ = (bitField1_ & ~0x00080000);
         onChanged();
         return this;
       }
@@ -29316,11 +29186,9 @@ public Builder clearSectionEndLabel() {
        */
       public Builder setSectionEndLabelBytes(
           com.google.protobuf.ByteString value) {
-        if (value == null) {
-    throw new NullPointerException();
-  }
-  bitField1_ |= 0x00080000;
+        if (value == null) { throw new NullPointerException(); }
         sectionEndLabel_ = value;
+        bitField1_ |= 0x00080000;
         onChanged();
         return this;
       }
@@ -29391,11 +29259,9 @@ public java.lang.String getParent() {
        */
       public Builder setParent(
           java.lang.String value) {
-        if (value == null) {
-    throw new NullPointerException();
-  }
-  bitField1_ |= 0x00100000;
+        if (value == null) { throw new NullPointerException(); }
         parent_ = value;
+        bitField1_ |= 0x00100000;
         onChanged();
         return this;
       }
@@ -29408,8 +29274,8 @@ public Builder setParent(
        * @return This builder for chaining.
        */
       public Builder clearParent() {
-        bitField1_ = (bitField1_ & ~0x00100000);
         parent_ = getDefaultInstance().getParent();
+        bitField1_ = (bitField1_ & ~0x00100000);
         onChanged();
         return this;
       }
@@ -29424,21 +29290,19 @@ public Builder clearParent() {
        */
       public Builder setParentBytes(
           com.google.protobuf.ByteString value) {
-        if (value == null) {
-    throw new NullPointerException();
-  }
-  bitField1_ |= 0x00100000;
+        if (value == null) { throw new NullPointerException(); }
         parent_ = value;
+        bitField1_ |= 0x00100000;
         onChanged();
         return this;
       }
 
       private com.google.protobuf.Internal.IntList corefMentionIndex_ = emptyIntList();
       private void ensureCorefMentionIndexIsMutable() {
-        if (!((bitField1_ & 0x00200000) != 0)) {
-          corefMentionIndex_ = mutableCopy(corefMentionIndex_);
-          bitField1_ |= 0x00200000;
-         }
+        if (!corefMentionIndex_.isModifiable()) {
+          corefMentionIndex_ = makeMutableCopy(corefMentionIndex_);
+        }
+        bitField1_ |= 0x00200000;
       }
       /**
        * 
@@ -29450,8 +29314,8 @@ private void ensureCorefMentionIndexIsMutable() {
        */
       public java.util.List
           getCorefMentionIndexList() {
-        return ((bitField1_ & 0x00200000) != 0) ?
-                 java.util.Collections.unmodifiableList(corefMentionIndex_) : corefMentionIndex_;
+        corefMentionIndex_.makeImmutable();
+        return corefMentionIndex_;
       }
       /**
        * 
@@ -29488,8 +29352,10 @@ public int getCorefMentionIndex(int index) {
        */
       public Builder setCorefMentionIndex(
           int index, int value) {
+
         ensureCorefMentionIndexIsMutable();
         corefMentionIndex_.setInt(index, value);
+        bitField1_ |= 0x00200000;
         onChanged();
         return this;
       }
@@ -29503,8 +29369,10 @@ public Builder setCorefMentionIndex(
        * @return This builder for chaining.
        */
       public Builder addCorefMentionIndex(int value) {
+
         ensureCorefMentionIndexIsMutable();
         corefMentionIndex_.addInt(value);
+        bitField1_ |= 0x00200000;
         onChanged();
         return this;
       }
@@ -29522,6 +29390,7 @@ public Builder addAllCorefMentionIndex(
         ensureCorefMentionIndexIsMutable();
         com.google.protobuf.AbstractMessageLite.Builder.addAll(
             values, corefMentionIndex_);
+        bitField1_ |= 0x00200000;
         onChanged();
         return this;
       }
@@ -29563,8 +29432,9 @@ public int getEntityMentionIndex() {
        * @return This builder for chaining.
        */
       public Builder setEntityMentionIndex(int value) {
-        bitField1_ |= 0x00400000;
+
         entityMentionIndex_ = value;
+        bitField1_ |= 0x00400000;
         onChanged();
         return this;
       }
@@ -29614,8 +29484,9 @@ public boolean getIsMWT() {
        * @return This builder for chaining.
        */
       public Builder setIsMWT(boolean value) {
-        bitField1_ |= 0x00800000;
+
         isMWT_ = value;
+        bitField1_ |= 0x00800000;
         onChanged();
         return this;
       }
@@ -29657,8 +29528,9 @@ public boolean getIsFirstMWT() {
        * @return This builder for chaining.
        */
       public Builder setIsFirstMWT(boolean value) {
-        bitField1_ |= 0x01000000;
+
         isFirstMWT_ = value;
+        bitField1_ |= 0x01000000;
         onChanged();
         return this;
       }
@@ -29723,11 +29595,9 @@ public java.lang.String getMwtText() {
        */
       public Builder setMwtText(
           java.lang.String value) {
-        if (value == null) {
-    throw new NullPointerException();
-  }
-  bitField1_ |= 0x02000000;
+        if (value == null) { throw new NullPointerException(); }
         mwtText_ = value;
+        bitField1_ |= 0x02000000;
         onChanged();
         return this;
       }
@@ -29736,8 +29606,8 @@ public Builder setMwtText(
        * @return This builder for chaining.
        */
       public Builder clearMwtText() {
-        bitField1_ = (bitField1_ & ~0x02000000);
         mwtText_ = getDefaultInstance().getMwtText();
+        bitField1_ = (bitField1_ & ~0x02000000);
         onChanged();
         return this;
       }
@@ -29748,11 +29618,9 @@ public Builder clearMwtText() {
        */
       public Builder setMwtTextBytes(
           com.google.protobuf.ByteString value) {
-        if (value == null) {
-    throw new NullPointerException();
-  }
-  bitField1_ |= 0x02000000;
+        if (value == null) { throw new NullPointerException(); }
         mwtText_ = value;
+        bitField1_ |= 0x02000000;
         onChanged();
         return this;
       }
@@ -29835,11 +29703,9 @@ public java.lang.String getMwtMisc() {
        */
       public Builder setMwtMisc(
           java.lang.String value) {
-        if (value == null) {
-    throw new NullPointerException();
-  }
-  bitField1_ |= 0x04000000;
+        if (value == null) { throw new NullPointerException(); }
         mwtMisc_ = value;
+        bitField1_ |= 0x04000000;
         onChanged();
         return this;
       }
@@ -29855,8 +29721,8 @@ public Builder setMwtMisc(
        * @return This builder for chaining.
        */
       public Builder clearMwtMisc() {
-        bitField1_ = (bitField1_ & ~0x04000000);
         mwtMisc_ = getDefaultInstance().getMwtMisc();
+        bitField1_ = (bitField1_ & ~0x04000000);
         onChanged();
         return this;
       }
@@ -29874,11 +29740,9 @@ public Builder clearMwtMisc() {
        */
       public Builder setMwtMiscBytes(
           com.google.protobuf.ByteString value) {
-        if (value == null) {
-    throw new NullPointerException();
-  }
-  bitField1_ |= 0x04000000;
+        if (value == null) { throw new NullPointerException(); }
         mwtMisc_ = value;
+        bitField1_ |= 0x04000000;
         onChanged();
         return this;
       }
@@ -29918,8 +29782,9 @@ public long getNumericValue() {
        * @return This builder for chaining.
        */
       public Builder setNumericValue(long value) {
-        bitField1_ |= 0x08000000;
+
         numericValue_ = value;
+        bitField1_ |= 0x08000000;
         onChanged();
         return this;
       }
@@ -29988,11 +29853,9 @@ public java.lang.String getNumericType() {
        */
       public Builder setNumericType(
           java.lang.String value) {
-        if (value == null) {
-    throw new NullPointerException();
-  }
-  bitField1_ |= 0x10000000;
+        if (value == null) { throw new NullPointerException(); }
         numericType_ = value;
+        bitField1_ |= 0x10000000;
         onChanged();
         return this;
       }
@@ -30001,8 +29864,8 @@ public Builder setNumericType(
        * @return This builder for chaining.
        */
       public Builder clearNumericType() {
-        bitField1_ = (bitField1_ & ~0x10000000);
         numericType_ = getDefaultInstance().getNumericType();
+        bitField1_ = (bitField1_ & ~0x10000000);
         onChanged();
         return this;
       }
@@ -30013,11 +29876,9 @@ public Builder clearNumericType() {
        */
       public Builder setNumericTypeBytes(
           com.google.protobuf.ByteString value) {
-        if (value == null) {
-    throw new NullPointerException();
-  }
-  bitField1_ |= 0x10000000;
+        if (value == null) { throw new NullPointerException(); }
         numericType_ = value;
+        bitField1_ |= 0x10000000;
         onChanged();
         return this;
       }
@@ -30045,8 +29906,9 @@ public long getNumericCompositeValue() {
        * @return This builder for chaining.
        */
       public Builder setNumericCompositeValue(long value) {
-        bitField1_ |= 0x20000000;
+
         numericCompositeValue_ = value;
+        bitField1_ |= 0x20000000;
         onChanged();
         return this;
       }
@@ -30111,11 +29973,9 @@ public java.lang.String getNumericCompositeType() {
        */
       public Builder setNumericCompositeType(
           java.lang.String value) {
-        if (value == null) {
-    throw new NullPointerException();
-  }
-  bitField1_ |= 0x40000000;
+        if (value == null) { throw new NullPointerException(); }
         numericCompositeType_ = value;
+        bitField1_ |= 0x40000000;
         onChanged();
         return this;
       }
@@ -30124,8 +29984,8 @@ public Builder setNumericCompositeType(
        * @return This builder for chaining.
        */
       public Builder clearNumericCompositeType() {
-        bitField1_ = (bitField1_ & ~0x40000000);
         numericCompositeType_ = getDefaultInstance().getNumericCompositeType();
+        bitField1_ = (bitField1_ & ~0x40000000);
         onChanged();
         return this;
       }
@@ -30136,11 +29996,9 @@ public Builder clearNumericCompositeType() {
        */
       public Builder setNumericCompositeTypeBytes(
           com.google.protobuf.ByteString value) {
-        if (value == null) {
-    throw new NullPointerException();
-  }
-  bitField1_ |= 0x40000000;
+        if (value == null) { throw new NullPointerException(); }
         numericCompositeType_ = value;
+        bitField1_ |= 0x40000000;
         onChanged();
         return this;
       }
@@ -30168,8 +30026,9 @@ public int getCodepointOffsetBegin() {
        * @return This builder for chaining.
        */
       public Builder setCodepointOffsetBegin(int value) {
-        bitField1_ |= 0x80000000;
+
         codepointOffsetBegin_ = value;
+        bitField1_ |= 0x80000000;
         onChanged();
         return this;
       }
@@ -30207,8 +30066,9 @@ public int getCodepointOffsetEnd() {
        * @return This builder for chaining.
        */
       public Builder setCodepointOffsetEnd(int value) {
-        bitField2_ |= 0x00000001;
+
         codepointOffsetEnd_ = value;
+        bitField2_ |= 0x00000001;
         onChanged();
         return this;
       }
@@ -30282,8 +30142,9 @@ public int getIndex() {
        * @return This builder for chaining.
        */
       public Builder setIndex(int value) {
-        bitField2_ |= 0x00000002;
+
         index_ = value;
+        bitField2_ |= 0x00000002;
         onChanged();
         return this;
       }
@@ -30333,8 +30194,9 @@ public int getEmptyIndex() {
        * @return This builder for chaining.
        */
       public Builder setEmptyIndex(int value) {
-        bitField2_ |= 0x00000004;
+
         emptyIndex_ = value;
+        bitField2_ |= 0x00000004;
         onChanged();
         return this;
       }
@@ -30707,6 +30569,7 @@ public interface QuoteOrBuilder extends
   }
   /**
    * 
+   *
    * A quotation marker in text
    * 
* @@ -30740,11 +30603,6 @@ protected java.lang.Object newInstance( return new Quote(); } - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return edu.stanford.nlp.pipeline.CoreNLPProtos.internal_static_edu_stanford_nlp_pipeline_Quote_descriptor; @@ -30760,7 +30618,8 @@ protected java.lang.Object newInstance( private int bitField0_; public static final int TEXT_FIELD_NUMBER = 1; - private volatile java.lang.Object text_; + @SuppressWarnings("serial") + private volatile java.lang.Object text_ = ""; /** * optional string text = 1; * @return Whether the text field is set. @@ -30808,7 +30667,7 @@ public java.lang.String getText() { } public static final int BEGIN_FIELD_NUMBER = 2; - private int begin_; + private int begin_ = 0; /** * optional uint32 begin = 2; * @return Whether the begin field is set. @@ -30827,7 +30686,7 @@ public int getBegin() { } public static final int END_FIELD_NUMBER = 3; - private int end_; + private int end_ = 0; /** * optional uint32 end = 3; * @return Whether the end field is set. @@ -30846,7 +30705,7 @@ public int getEnd() { } public static final int SENTENCEBEGIN_FIELD_NUMBER = 5; - private int sentenceBegin_; + private int sentenceBegin_ = 0; /** * optional uint32 sentenceBegin = 5; * @return Whether the sentenceBegin field is set. @@ -30865,7 +30724,7 @@ public int getSentenceBegin() { } public static final int SENTENCEEND_FIELD_NUMBER = 6; - private int sentenceEnd_; + private int sentenceEnd_ = 0; /** * optional uint32 sentenceEnd = 6; * @return Whether the sentenceEnd field is set. @@ -30884,7 +30743,7 @@ public int getSentenceEnd() { } public static final int TOKENBEGIN_FIELD_NUMBER = 7; - private int tokenBegin_; + private int tokenBegin_ = 0; /** * optional uint32 tokenBegin = 7; * @return Whether the tokenBegin field is set. @@ -30903,7 +30762,7 @@ public int getTokenBegin() { } public static final int TOKENEND_FIELD_NUMBER = 8; - private int tokenEnd_; + private int tokenEnd_ = 0; /** * optional uint32 tokenEnd = 8; * @return Whether the tokenEnd field is set. @@ -30922,7 +30781,8 @@ public int getTokenEnd() { } public static final int DOCID_FIELD_NUMBER = 9; - private volatile java.lang.Object docid_; + @SuppressWarnings("serial") + private volatile java.lang.Object docid_ = ""; /** * optional string docid = 9; * @return Whether the docid field is set. @@ -30970,7 +30830,7 @@ public java.lang.String getDocid() { } public static final int INDEX_FIELD_NUMBER = 10; - private int index_; + private int index_ = 0; /** * optional uint32 index = 10; * @return Whether the index field is set. @@ -30989,7 +30849,8 @@ public int getIndex() { } public static final int AUTHOR_FIELD_NUMBER = 11; - private volatile java.lang.Object author_; + @SuppressWarnings("serial") + private volatile java.lang.Object author_ = ""; /** * optional string author = 11; * @return Whether the author field is set. @@ -31037,7 +30898,8 @@ public java.lang.String getAuthor() { } public static final int MENTION_FIELD_NUMBER = 12; - private volatile java.lang.Object mention_; + @SuppressWarnings("serial") + private volatile java.lang.Object mention_ = ""; /** * optional string mention = 12; * @return Whether the mention field is set. @@ -31085,7 +30947,7 @@ public java.lang.String getMention() { } public static final int MENTIONBEGIN_FIELD_NUMBER = 13; - private int mentionBegin_; + private int mentionBegin_ = 0; /** * optional uint32 mentionBegin = 13; * @return Whether the mentionBegin field is set. @@ -31104,7 +30966,7 @@ public int getMentionBegin() { } public static final int MENTIONEND_FIELD_NUMBER = 14; - private int mentionEnd_; + private int mentionEnd_ = 0; /** * optional uint32 mentionEnd = 14; * @return Whether the mentionEnd field is set. @@ -31123,7 +30985,8 @@ public int getMentionEnd() { } public static final int MENTIONTYPE_FIELD_NUMBER = 15; - private volatile java.lang.Object mentionType_; + @SuppressWarnings("serial") + private volatile java.lang.Object mentionType_ = ""; /** * optional string mentionType = 15; * @return Whether the mentionType field is set. @@ -31171,7 +31034,8 @@ public java.lang.String getMentionType() { } public static final int MENTIONSIEVE_FIELD_NUMBER = 16; - private volatile java.lang.Object mentionSieve_; + @SuppressWarnings("serial") + private volatile java.lang.Object mentionSieve_ = ""; /** * optional string mentionSieve = 16; * @return Whether the mentionSieve field is set. @@ -31219,7 +31083,8 @@ public java.lang.String getMentionSieve() { } public static final int SPEAKER_FIELD_NUMBER = 17; - private volatile java.lang.Object speaker_; + @SuppressWarnings("serial") + private volatile java.lang.Object speaker_ = ""; /** * optional string speaker = 17; * @return Whether the speaker field is set. @@ -31267,7 +31132,8 @@ public java.lang.String getSpeaker() { } public static final int SPEAKERSIEVE_FIELD_NUMBER = 18; - private volatile java.lang.Object speakerSieve_; + @SuppressWarnings("serial") + private volatile java.lang.Object speakerSieve_ = ""; /** * optional string speakerSieve = 18; * @return Whether the speakerSieve field is set. @@ -31315,7 +31181,8 @@ public java.lang.String getSpeakerSieve() { } public static final int CANONICALMENTION_FIELD_NUMBER = 19; - private volatile java.lang.Object canonicalMention_; + @SuppressWarnings("serial") + private volatile java.lang.Object canonicalMention_ = ""; /** * optional string canonicalMention = 19; * @return Whether the canonicalMention field is set. @@ -31363,7 +31230,7 @@ public java.lang.String getCanonicalMention() { } public static final int CANONICALMENTIONBEGIN_FIELD_NUMBER = 20; - private int canonicalMentionBegin_; + private int canonicalMentionBegin_ = 0; /** * optional uint32 canonicalMentionBegin = 20; * @return Whether the canonicalMentionBegin field is set. @@ -31382,7 +31249,7 @@ public int getCanonicalMentionBegin() { } public static final int CANONICALMENTIONEND_FIELD_NUMBER = 21; - private int canonicalMentionEnd_; + private int canonicalMentionEnd_ = 0; /** * optional uint32 canonicalMentionEnd = 21; * @return Whether the canonicalMentionEnd field is set. @@ -31857,11 +31724,13 @@ public static edu.stanford.nlp.pipeline.CoreNLPProtos.Quote parseFrom( return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } + public static edu.stanford.nlp.pipeline.CoreNLPProtos.Quote parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } + public static edu.stanford.nlp.pipeline.CoreNLPProtos.Quote parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -31905,6 +31774,7 @@ protected Builder newBuilderForType( } /** *
+     *
      * A quotation marker in text
      * 
* @@ -31946,52 +31816,32 @@ private void maybeForceBuilderInitialization() { @java.lang.Override public Builder clear() { super.clear(); + bitField0_ = 0; text_ = ""; - bitField0_ = (bitField0_ & ~0x00000001); begin_ = 0; - bitField0_ = (bitField0_ & ~0x00000002); end_ = 0; - bitField0_ = (bitField0_ & ~0x00000004); sentenceBegin_ = 0; - bitField0_ = (bitField0_ & ~0x00000008); sentenceEnd_ = 0; - bitField0_ = (bitField0_ & ~0x00000010); tokenBegin_ = 0; - bitField0_ = (bitField0_ & ~0x00000020); tokenEnd_ = 0; - bitField0_ = (bitField0_ & ~0x00000040); docid_ = ""; - bitField0_ = (bitField0_ & ~0x00000080); index_ = 0; - bitField0_ = (bitField0_ & ~0x00000100); author_ = ""; - bitField0_ = (bitField0_ & ~0x00000200); mention_ = ""; - bitField0_ = (bitField0_ & ~0x00000400); mentionBegin_ = 0; - bitField0_ = (bitField0_ & ~0x00000800); mentionEnd_ = 0; - bitField0_ = (bitField0_ & ~0x00001000); mentionType_ = ""; - bitField0_ = (bitField0_ & ~0x00002000); mentionSieve_ = ""; - bitField0_ = (bitField0_ & ~0x00004000); speaker_ = ""; - bitField0_ = (bitField0_ & ~0x00008000); speakerSieve_ = ""; - bitField0_ = (bitField0_ & ~0x00010000); canonicalMention_ = ""; - bitField0_ = (bitField0_ & ~0x00020000); canonicalMentionBegin_ = 0; - bitField0_ = (bitField0_ & ~0x00040000); canonicalMentionEnd_ = 0; - bitField0_ = (bitField0_ & ~0x00080000); - if (attributionDependencyGraphBuilder_ == null) { - attributionDependencyGraph_ = null; - } else { - attributionDependencyGraphBuilder_.clear(); + attributionDependencyGraph_ = null; + if (attributionDependencyGraphBuilder_ != null) { + attributionDependencyGraphBuilder_.dispose(); + attributionDependencyGraphBuilder_ = null; } - bitField0_ = (bitField0_ & ~0x00100000); return this; } @@ -32018,12 +31868,18 @@ public edu.stanford.nlp.pipeline.CoreNLPProtos.Quote build() { @java.lang.Override public edu.stanford.nlp.pipeline.CoreNLPProtos.Quote buildPartial() { edu.stanford.nlp.pipeline.CoreNLPProtos.Quote result = new edu.stanford.nlp.pipeline.CoreNLPProtos.Quote(this); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartial0(edu.stanford.nlp.pipeline.CoreNLPProtos.Quote result) { int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { + result.text_ = text_; to_bitField0_ |= 0x00000001; } - result.text_ = text_; if (((from_bitField0_ & 0x00000002) != 0)) { result.begin_ = begin_; to_bitField0_ |= 0x00000002; @@ -32049,21 +31905,21 @@ public edu.stanford.nlp.pipeline.CoreNLPProtos.Quote buildPartial() { to_bitField0_ |= 0x00000040; } if (((from_bitField0_ & 0x00000080) != 0)) { + result.docid_ = docid_; to_bitField0_ |= 0x00000080; } - result.docid_ = docid_; if (((from_bitField0_ & 0x00000100) != 0)) { result.index_ = index_; to_bitField0_ |= 0x00000100; } if (((from_bitField0_ & 0x00000200) != 0)) { + result.author_ = author_; to_bitField0_ |= 0x00000200; } - result.author_ = author_; if (((from_bitField0_ & 0x00000400) != 0)) { + result.mention_ = mention_; to_bitField0_ |= 0x00000400; } - result.mention_ = mention_; if (((from_bitField0_ & 0x00000800) != 0)) { result.mentionBegin_ = mentionBegin_; to_bitField0_ |= 0x00000800; @@ -32073,25 +31929,25 @@ public edu.stanford.nlp.pipeline.CoreNLPProtos.Quote buildPartial() { to_bitField0_ |= 0x00001000; } if (((from_bitField0_ & 0x00002000) != 0)) { + result.mentionType_ = mentionType_; to_bitField0_ |= 0x00002000; } - result.mentionType_ = mentionType_; if (((from_bitField0_ & 0x00004000) != 0)) { + result.mentionSieve_ = mentionSieve_; to_bitField0_ |= 0x00004000; } - result.mentionSieve_ = mentionSieve_; if (((from_bitField0_ & 0x00008000) != 0)) { + result.speaker_ = speaker_; to_bitField0_ |= 0x00008000; } - result.speaker_ = speaker_; if (((from_bitField0_ & 0x00010000) != 0)) { + result.speakerSieve_ = speakerSieve_; to_bitField0_ |= 0x00010000; } - result.speakerSieve_ = speakerSieve_; if (((from_bitField0_ & 0x00020000) != 0)) { + result.canonicalMention_ = canonicalMention_; to_bitField0_ |= 0x00020000; } - result.canonicalMention_ = canonicalMention_; if (((from_bitField0_ & 0x00040000) != 0)) { result.canonicalMentionBegin_ = canonicalMentionBegin_; to_bitField0_ |= 0x00040000; @@ -32101,16 +31957,12 @@ public edu.stanford.nlp.pipeline.CoreNLPProtos.Quote buildPartial() { to_bitField0_ |= 0x00080000; } if (((from_bitField0_ & 0x00100000) != 0)) { - if (attributionDependencyGraphBuilder_ == null) { - result.attributionDependencyGraph_ = attributionDependencyGraph_; - } else { - result.attributionDependencyGraph_ = attributionDependencyGraphBuilder_.build(); - } + result.attributionDependencyGraph_ = attributionDependencyGraphBuilder_ == null + ? attributionDependencyGraph_ + : attributionDependencyGraphBuilder_.build(); to_bitField0_ |= 0x00100000; } - result.bitField0_ = to_bitField0_; - onBuilt(); - return result; + result.bitField0_ |= to_bitField0_; } @java.lang.Override @@ -32158,8 +32010,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { public Builder mergeFrom(edu.stanford.nlp.pipeline.CoreNLPProtos.Quote other) { if (other == edu.stanford.nlp.pipeline.CoreNLPProtos.Quote.getDefaultInstance()) return this; if (other.hasText()) { - bitField0_ |= 0x00000001; text_ = other.text_; + bitField0_ |= 0x00000001; onChanged(); } if (other.hasBegin()) { @@ -32181,21 +32033,21 @@ public Builder mergeFrom(edu.stanford.nlp.pipeline.CoreNLPProtos.Quote other) { setTokenEnd(other.getTokenEnd()); } if (other.hasDocid()) { - bitField0_ |= 0x00000080; docid_ = other.docid_; + bitField0_ |= 0x00000080; onChanged(); } if (other.hasIndex()) { setIndex(other.getIndex()); } if (other.hasAuthor()) { - bitField0_ |= 0x00000200; author_ = other.author_; + bitField0_ |= 0x00000200; onChanged(); } if (other.hasMention()) { - bitField0_ |= 0x00000400; mention_ = other.mention_; + bitField0_ |= 0x00000400; onChanged(); } if (other.hasMentionBegin()) { @@ -32205,28 +32057,28 @@ public Builder mergeFrom(edu.stanford.nlp.pipeline.CoreNLPProtos.Quote other) { setMentionEnd(other.getMentionEnd()); } if (other.hasMentionType()) { - bitField0_ |= 0x00002000; mentionType_ = other.mentionType_; + bitField0_ |= 0x00002000; onChanged(); } if (other.hasMentionSieve()) { - bitField0_ |= 0x00004000; mentionSieve_ = other.mentionSieve_; + bitField0_ |= 0x00004000; onChanged(); } if (other.hasSpeaker()) { - bitField0_ |= 0x00008000; speaker_ = other.speaker_; + bitField0_ |= 0x00008000; onChanged(); } if (other.hasSpeakerSieve()) { - bitField0_ |= 0x00010000; speakerSieve_ = other.speakerSieve_; + bitField0_ |= 0x00010000; onChanged(); } if (other.hasCanonicalMention()) { - bitField0_ |= 0x00020000; canonicalMention_ = other.canonicalMention_; + bitField0_ |= 0x00020000; onChanged(); } if (other.hasCanonicalMentionBegin()) { @@ -32443,11 +32295,9 @@ public java.lang.String getText() { */ public Builder setText( java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000001; + if (value == null) { throw new NullPointerException(); } text_ = value; + bitField0_ |= 0x00000001; onChanged(); return this; } @@ -32456,8 +32306,8 @@ public Builder setText( * @return This builder for chaining. */ public Builder clearText() { - bitField0_ = (bitField0_ & ~0x00000001); text_ = getDefaultInstance().getText(); + bitField0_ = (bitField0_ & ~0x00000001); onChanged(); return this; } @@ -32468,11 +32318,9 @@ public Builder clearText() { */ public Builder setTextBytes( com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000001; + if (value == null) { throw new NullPointerException(); } text_ = value; + bitField0_ |= 0x00000001; onChanged(); return this; } @@ -32500,8 +32348,9 @@ public int getBegin() { * @return This builder for chaining. */ public Builder setBegin(int value) { - bitField0_ |= 0x00000002; + begin_ = value; + bitField0_ |= 0x00000002; onChanged(); return this; } @@ -32539,8 +32388,9 @@ public int getEnd() { * @return This builder for chaining. */ public Builder setEnd(int value) { - bitField0_ |= 0x00000004; + end_ = value; + bitField0_ |= 0x00000004; onChanged(); return this; } @@ -32578,8 +32428,9 @@ public int getSentenceBegin() { * @return This builder for chaining. */ public Builder setSentenceBegin(int value) { - bitField0_ |= 0x00000008; + sentenceBegin_ = value; + bitField0_ |= 0x00000008; onChanged(); return this; } @@ -32617,8 +32468,9 @@ public int getSentenceEnd() { * @return This builder for chaining. */ public Builder setSentenceEnd(int value) { - bitField0_ |= 0x00000010; + sentenceEnd_ = value; + bitField0_ |= 0x00000010; onChanged(); return this; } @@ -32656,8 +32508,9 @@ public int getTokenBegin() { * @return This builder for chaining. */ public Builder setTokenBegin(int value) { - bitField0_ |= 0x00000020; + tokenBegin_ = value; + bitField0_ |= 0x00000020; onChanged(); return this; } @@ -32695,8 +32548,9 @@ public int getTokenEnd() { * @return This builder for chaining. */ public Builder setTokenEnd(int value) { - bitField0_ |= 0x00000040; + tokenEnd_ = value; + bitField0_ |= 0x00000040; onChanged(); return this; } @@ -32761,11 +32615,9 @@ public java.lang.String getDocid() { */ public Builder setDocid( java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000080; + if (value == null) { throw new NullPointerException(); } docid_ = value; + bitField0_ |= 0x00000080; onChanged(); return this; } @@ -32774,8 +32626,8 @@ public Builder setDocid( * @return This builder for chaining. */ public Builder clearDocid() { - bitField0_ = (bitField0_ & ~0x00000080); docid_ = getDefaultInstance().getDocid(); + bitField0_ = (bitField0_ & ~0x00000080); onChanged(); return this; } @@ -32786,11 +32638,9 @@ public Builder clearDocid() { */ public Builder setDocidBytes( com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000080; + if (value == null) { throw new NullPointerException(); } docid_ = value; + bitField0_ |= 0x00000080; onChanged(); return this; } @@ -32818,8 +32668,9 @@ public int getIndex() { * @return This builder for chaining. */ public Builder setIndex(int value) { - bitField0_ |= 0x00000100; + index_ = value; + bitField0_ |= 0x00000100; onChanged(); return this; } @@ -32884,11 +32735,9 @@ public java.lang.String getAuthor() { */ public Builder setAuthor( java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000200; + if (value == null) { throw new NullPointerException(); } author_ = value; + bitField0_ |= 0x00000200; onChanged(); return this; } @@ -32897,8 +32746,8 @@ public Builder setAuthor( * @return This builder for chaining. */ public Builder clearAuthor() { - bitField0_ = (bitField0_ & ~0x00000200); author_ = getDefaultInstance().getAuthor(); + bitField0_ = (bitField0_ & ~0x00000200); onChanged(); return this; } @@ -32909,11 +32758,9 @@ public Builder clearAuthor() { */ public Builder setAuthorBytes( com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000200; + if (value == null) { throw new NullPointerException(); } author_ = value; + bitField0_ |= 0x00000200; onChanged(); return this; } @@ -32968,11 +32815,9 @@ public java.lang.String getMention() { */ public Builder setMention( java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000400; + if (value == null) { throw new NullPointerException(); } mention_ = value; + bitField0_ |= 0x00000400; onChanged(); return this; } @@ -32981,8 +32826,8 @@ public Builder setMention( * @return This builder for chaining. */ public Builder clearMention() { - bitField0_ = (bitField0_ & ~0x00000400); mention_ = getDefaultInstance().getMention(); + bitField0_ = (bitField0_ & ~0x00000400); onChanged(); return this; } @@ -32993,11 +32838,9 @@ public Builder clearMention() { */ public Builder setMentionBytes( com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000400; + if (value == null) { throw new NullPointerException(); } mention_ = value; + bitField0_ |= 0x00000400; onChanged(); return this; } @@ -33025,8 +32868,9 @@ public int getMentionBegin() { * @return This builder for chaining. */ public Builder setMentionBegin(int value) { - bitField0_ |= 0x00000800; + mentionBegin_ = value; + bitField0_ |= 0x00000800; onChanged(); return this; } @@ -33064,8 +32908,9 @@ public int getMentionEnd() { * @return This builder for chaining. */ public Builder setMentionEnd(int value) { - bitField0_ |= 0x00001000; + mentionEnd_ = value; + bitField0_ |= 0x00001000; onChanged(); return this; } @@ -33130,11 +32975,9 @@ public java.lang.String getMentionType() { */ public Builder setMentionType( java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00002000; + if (value == null) { throw new NullPointerException(); } mentionType_ = value; + bitField0_ |= 0x00002000; onChanged(); return this; } @@ -33143,8 +32986,8 @@ public Builder setMentionType( * @return This builder for chaining. */ public Builder clearMentionType() { - bitField0_ = (bitField0_ & ~0x00002000); mentionType_ = getDefaultInstance().getMentionType(); + bitField0_ = (bitField0_ & ~0x00002000); onChanged(); return this; } @@ -33155,11 +32998,9 @@ public Builder clearMentionType() { */ public Builder setMentionTypeBytes( com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00002000; + if (value == null) { throw new NullPointerException(); } mentionType_ = value; + bitField0_ |= 0x00002000; onChanged(); return this; } @@ -33214,11 +33055,9 @@ public java.lang.String getMentionSieve() { */ public Builder setMentionSieve( java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00004000; + if (value == null) { throw new NullPointerException(); } mentionSieve_ = value; + bitField0_ |= 0x00004000; onChanged(); return this; } @@ -33227,8 +33066,8 @@ public Builder setMentionSieve( * @return This builder for chaining. */ public Builder clearMentionSieve() { - bitField0_ = (bitField0_ & ~0x00004000); mentionSieve_ = getDefaultInstance().getMentionSieve(); + bitField0_ = (bitField0_ & ~0x00004000); onChanged(); return this; } @@ -33239,11 +33078,9 @@ public Builder clearMentionSieve() { */ public Builder setMentionSieveBytes( com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00004000; + if (value == null) { throw new NullPointerException(); } mentionSieve_ = value; + bitField0_ |= 0x00004000; onChanged(); return this; } @@ -33298,11 +33135,9 @@ public java.lang.String getSpeaker() { */ public Builder setSpeaker( java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00008000; + if (value == null) { throw new NullPointerException(); } speaker_ = value; + bitField0_ |= 0x00008000; onChanged(); return this; } @@ -33311,8 +33146,8 @@ public Builder setSpeaker( * @return This builder for chaining. */ public Builder clearSpeaker() { - bitField0_ = (bitField0_ & ~0x00008000); speaker_ = getDefaultInstance().getSpeaker(); + bitField0_ = (bitField0_ & ~0x00008000); onChanged(); return this; } @@ -33323,11 +33158,9 @@ public Builder clearSpeaker() { */ public Builder setSpeakerBytes( com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00008000; + if (value == null) { throw new NullPointerException(); } speaker_ = value; + bitField0_ |= 0x00008000; onChanged(); return this; } @@ -33382,11 +33215,9 @@ public java.lang.String getSpeakerSieve() { */ public Builder setSpeakerSieve( java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00010000; + if (value == null) { throw new NullPointerException(); } speakerSieve_ = value; + bitField0_ |= 0x00010000; onChanged(); return this; } @@ -33395,8 +33226,8 @@ public Builder setSpeakerSieve( * @return This builder for chaining. */ public Builder clearSpeakerSieve() { - bitField0_ = (bitField0_ & ~0x00010000); speakerSieve_ = getDefaultInstance().getSpeakerSieve(); + bitField0_ = (bitField0_ & ~0x00010000); onChanged(); return this; } @@ -33407,11 +33238,9 @@ public Builder clearSpeakerSieve() { */ public Builder setSpeakerSieveBytes( com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00010000; + if (value == null) { throw new NullPointerException(); } speakerSieve_ = value; + bitField0_ |= 0x00010000; onChanged(); return this; } @@ -33466,11 +33295,9 @@ public java.lang.String getCanonicalMention() { */ public Builder setCanonicalMention( java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00020000; + if (value == null) { throw new NullPointerException(); } canonicalMention_ = value; + bitField0_ |= 0x00020000; onChanged(); return this; } @@ -33479,8 +33306,8 @@ public Builder setCanonicalMention( * @return This builder for chaining. */ public Builder clearCanonicalMention() { - bitField0_ = (bitField0_ & ~0x00020000); canonicalMention_ = getDefaultInstance().getCanonicalMention(); + bitField0_ = (bitField0_ & ~0x00020000); onChanged(); return this; } @@ -33491,11 +33318,9 @@ public Builder clearCanonicalMention() { */ public Builder setCanonicalMentionBytes( com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00020000; + if (value == null) { throw new NullPointerException(); } canonicalMention_ = value; + bitField0_ |= 0x00020000; onChanged(); return this; } @@ -33523,8 +33348,9 @@ public int getCanonicalMentionBegin() { * @return This builder for chaining. */ public Builder setCanonicalMentionBegin(int value) { - bitField0_ |= 0x00040000; + canonicalMentionBegin_ = value; + bitField0_ |= 0x00040000; onChanged(); return this; } @@ -33562,8 +33388,9 @@ public int getCanonicalMentionEnd() { * @return This builder for chaining. */ public Builder setCanonicalMentionEnd(int value) { - bitField0_ |= 0x00080000; + canonicalMentionEnd_ = value; + bitField0_ |= 0x00080000; onChanged(); return this; } @@ -33608,11 +33435,11 @@ public Builder setAttributionDependencyGraph(edu.stanford.nlp.pipeline.CoreNLPPr throw new NullPointerException(); } attributionDependencyGraph_ = value; - onChanged(); } else { attributionDependencyGraphBuilder_.setMessage(value); } bitField0_ |= 0x00100000; + onChanged(); return this; } /** @@ -33622,11 +33449,11 @@ public Builder setAttributionDependencyGraph( edu.stanford.nlp.pipeline.CoreNLPProtos.DependencyGraph.Builder builderForValue) { if (attributionDependencyGraphBuilder_ == null) { attributionDependencyGraph_ = builderForValue.build(); - onChanged(); } else { attributionDependencyGraphBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00100000; + onChanged(); return this; } /** @@ -33635,31 +33462,32 @@ public Builder setAttributionDependencyGraph( public Builder mergeAttributionDependencyGraph(edu.stanford.nlp.pipeline.CoreNLPProtos.DependencyGraph value) { if (attributionDependencyGraphBuilder_ == null) { if (((bitField0_ & 0x00100000) != 0) && - attributionDependencyGraph_ != null && - attributionDependencyGraph_ != edu.stanford.nlp.pipeline.CoreNLPProtos.DependencyGraph.getDefaultInstance()) { - attributionDependencyGraph_ = - edu.stanford.nlp.pipeline.CoreNLPProtos.DependencyGraph.newBuilder(attributionDependencyGraph_).mergeFrom(value).buildPartial(); + attributionDependencyGraph_ != null && + attributionDependencyGraph_ != edu.stanford.nlp.pipeline.CoreNLPProtos.DependencyGraph.getDefaultInstance()) { + getAttributionDependencyGraphBuilder().mergeFrom(value); } else { attributionDependencyGraph_ = value; } - onChanged(); } else { attributionDependencyGraphBuilder_.mergeFrom(value); } - bitField0_ |= 0x00100000; + if (attributionDependencyGraph_ != null) { + bitField0_ |= 0x00100000; + onChanged(); + } return this; } /** * optional .edu.stanford.nlp.pipeline.DependencyGraph attributionDependencyGraph = 22; */ public Builder clearAttributionDependencyGraph() { - if (attributionDependencyGraphBuilder_ == null) { - attributionDependencyGraph_ = null; - onChanged(); - } else { - attributionDependencyGraphBuilder_.clear(); - } bitField0_ = (bitField0_ & ~0x00100000); + attributionDependencyGraph_ = null; + if (attributionDependencyGraphBuilder_ != null) { + attributionDependencyGraphBuilder_.dispose(); + attributionDependencyGraphBuilder_ = null; + } + onChanged(); return this; } /** @@ -33852,6 +33680,7 @@ edu.stanford.nlp.pipeline.CoreNLPProtos.ParseTreeOrBuilder getChildOrBuilder( } /** *
+   *
    * A syntactic parse tree, with scores.
    * 
* @@ -33879,11 +33708,6 @@ protected java.lang.Object newInstance( return new ParseTree(); } - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return edu.stanford.nlp.pipeline.CoreNLPProtos.internal_static_edu_stanford_nlp_pipeline_ParseTree_descriptor; @@ -33899,6 +33723,7 @@ protected java.lang.Object newInstance( private int bitField0_; public static final int CHILD_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private java.util.List child_; /** * repeated .edu.stanford.nlp.pipeline.ParseTree child = 1; @@ -33939,7 +33764,8 @@ public edu.stanford.nlp.pipeline.CoreNLPProtos.ParseTreeOrBuilder getChildOrBuil } public static final int VALUE_FIELD_NUMBER = 2; - private volatile java.lang.Object value_; + @SuppressWarnings("serial") + private volatile java.lang.Object value_ = ""; /** * optional string value = 2; * @return Whether the value field is set. @@ -33987,7 +33813,7 @@ public java.lang.String getValue() { } public static final int YIELDBEGININDEX_FIELD_NUMBER = 3; - private int yieldBeginIndex_; + private int yieldBeginIndex_ = 0; /** * optional uint32 yieldBeginIndex = 3; * @return Whether the yieldBeginIndex field is set. @@ -34006,7 +33832,7 @@ public int getYieldBeginIndex() { } public static final int YIELDENDINDEX_FIELD_NUMBER = 4; - private int yieldEndIndex_; + private int yieldEndIndex_ = 0; /** * optional uint32 yieldEndIndex = 4; * @return Whether the yieldEndIndex field is set. @@ -34025,7 +33851,7 @@ public int getYieldEndIndex() { } public static final int SCORE_FIELD_NUMBER = 5; - private double score_; + private double score_ = 0D; /** * optional double score = 5; * @return Whether the score field is set. @@ -34044,7 +33870,7 @@ public double getScore() { } public static final int SENTIMENT_FIELD_NUMBER = 6; - private int sentiment_; + private int sentiment_ = 0; /** * optional .edu.stanford.nlp.pipeline.Sentiment sentiment = 6; * @return Whether the sentiment field is set. @@ -34057,8 +33883,7 @@ public double getScore() { * @return The sentiment. */ @java.lang.Override public edu.stanford.nlp.pipeline.CoreNLPProtos.Sentiment getSentiment() { - @SuppressWarnings("deprecation") - edu.stanford.nlp.pipeline.CoreNLPProtos.Sentiment result = edu.stanford.nlp.pipeline.CoreNLPProtos.Sentiment.valueOf(sentiment_); + edu.stanford.nlp.pipeline.CoreNLPProtos.Sentiment result = edu.stanford.nlp.pipeline.CoreNLPProtos.Sentiment.forNumber(sentiment_); return result == null ? edu.stanford.nlp.pipeline.CoreNLPProtos.Sentiment.STRONG_NEGATIVE : result; } @@ -34253,11 +34078,13 @@ public static edu.stanford.nlp.pipeline.CoreNLPProtos.ParseTree parseFrom( return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } + public static edu.stanford.nlp.pipeline.CoreNLPProtos.ParseTree parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } + public static edu.stanford.nlp.pipeline.CoreNLPProtos.ParseTree parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -34301,6 +34128,7 @@ protected Builder newBuilderForType( } /** *
+     *
      * A syntactic parse tree, with scores.
      * 
* @@ -34336,6 +34164,7 @@ private Builder( @java.lang.Override public Builder clear() { super.clear(); + bitField0_ = 0; if (childBuilder_ == null) { child_ = java.util.Collections.emptyList(); } else { @@ -34344,15 +34173,10 @@ public Builder clear() { } bitField0_ = (bitField0_ & ~0x00000001); value_ = ""; - bitField0_ = (bitField0_ & ~0x00000002); yieldBeginIndex_ = 0; - bitField0_ = (bitField0_ & ~0x00000004); yieldEndIndex_ = 0; - bitField0_ = (bitField0_ & ~0x00000008); score_ = 0D; - bitField0_ = (bitField0_ & ~0x00000010); sentiment_ = 0; - bitField0_ = (bitField0_ & ~0x00000020); return this; } @@ -34379,8 +34203,13 @@ public edu.stanford.nlp.pipeline.CoreNLPProtos.ParseTree build() { @java.lang.Override public edu.stanford.nlp.pipeline.CoreNLPProtos.ParseTree buildPartial() { edu.stanford.nlp.pipeline.CoreNLPProtos.ParseTree result = new edu.stanford.nlp.pipeline.CoreNLPProtos.ParseTree(this); - int from_bitField0_ = bitField0_; - int to_bitField0_ = 0; + buildPartialRepeatedFields(result); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartialRepeatedFields(edu.stanford.nlp.pipeline.CoreNLPProtos.ParseTree result) { if (childBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { child_ = java.util.Collections.unmodifiableList(child_); @@ -34390,10 +34219,15 @@ public edu.stanford.nlp.pipeline.CoreNLPProtos.ParseTree buildPartial() { } else { result.child_ = childBuilder_.build(); } + } + + private void buildPartial0(edu.stanford.nlp.pipeline.CoreNLPProtos.ParseTree result) { + int from_bitField0_ = bitField0_; + int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000002) != 0)) { + result.value_ = value_; to_bitField0_ |= 0x00000001; } - result.value_ = value_; if (((from_bitField0_ & 0x00000004) != 0)) { result.yieldBeginIndex_ = yieldBeginIndex_; to_bitField0_ |= 0x00000002; @@ -34407,12 +34241,10 @@ public edu.stanford.nlp.pipeline.CoreNLPProtos.ParseTree buildPartial() { to_bitField0_ |= 0x00000008; } if (((from_bitField0_ & 0x00000020) != 0)) { + result.sentiment_ = sentiment_; to_bitField0_ |= 0x00000010; } - result.sentiment_ = sentiment_; - result.bitField0_ = to_bitField0_; - onBuilt(); - return result; + result.bitField0_ |= to_bitField0_; } @java.lang.Override @@ -34486,8 +34318,8 @@ public Builder mergeFrom(edu.stanford.nlp.pipeline.CoreNLPProtos.ParseTree other } } if (other.hasValue()) { - bitField0_ |= 0x00000002; value_ = other.value_; + bitField0_ |= 0x00000002; onChanged(); } if (other.hasYieldBeginIndex()) { @@ -34880,11 +34712,9 @@ public java.lang.String getValue() { */ public Builder setValue( java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000002; + if (value == null) { throw new NullPointerException(); } value_ = value; + bitField0_ |= 0x00000002; onChanged(); return this; } @@ -34893,8 +34723,8 @@ public Builder setValue( * @return This builder for chaining. */ public Builder clearValue() { - bitField0_ = (bitField0_ & ~0x00000002); value_ = getDefaultInstance().getValue(); + bitField0_ = (bitField0_ & ~0x00000002); onChanged(); return this; } @@ -34905,11 +34735,9 @@ public Builder clearValue() { */ public Builder setValueBytes( com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000002; + if (value == null) { throw new NullPointerException(); } value_ = value; + bitField0_ |= 0x00000002; onChanged(); return this; } @@ -34937,8 +34765,9 @@ public int getYieldBeginIndex() { * @return This builder for chaining. */ public Builder setYieldBeginIndex(int value) { - bitField0_ |= 0x00000004; + yieldBeginIndex_ = value; + bitField0_ |= 0x00000004; onChanged(); return this; } @@ -34976,8 +34805,9 @@ public int getYieldEndIndex() { * @return This builder for chaining. */ public Builder setYieldEndIndex(int value) { - bitField0_ |= 0x00000008; + yieldEndIndex_ = value; + bitField0_ |= 0x00000008; onChanged(); return this; } @@ -35015,8 +34845,9 @@ public double getScore() { * @return This builder for chaining. */ public Builder setScore(double value) { - bitField0_ |= 0x00000010; + score_ = value; + bitField0_ |= 0x00000010; onChanged(); return this; } @@ -35045,8 +34876,7 @@ public Builder clearScore() { */ @java.lang.Override public edu.stanford.nlp.pipeline.CoreNLPProtos.Sentiment getSentiment() { - @SuppressWarnings("deprecation") - edu.stanford.nlp.pipeline.CoreNLPProtos.Sentiment result = edu.stanford.nlp.pipeline.CoreNLPProtos.Sentiment.valueOf(sentiment_); + edu.stanford.nlp.pipeline.CoreNLPProtos.Sentiment result = edu.stanford.nlp.pipeline.CoreNLPProtos.Sentiment.forNumber(sentiment_); return result == null ? edu.stanford.nlp.pipeline.CoreNLPProtos.Sentiment.STRONG_NEGATIVE : result; } /** @@ -35292,6 +35122,7 @@ edu.stanford.nlp.pipeline.CoreNLPProtos.TokenOrBuilder getTokenOrBuilder( } /** *
+   *
    * A dependency graph representation.
    * 
* @@ -35321,11 +35152,6 @@ protected java.lang.Object newInstance( return new DependencyGraph(); } - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return edu.stanford.nlp.pipeline.CoreNLPProtos.internal_static_edu_stanford_nlp_pipeline_DependencyGraph_descriptor; @@ -35409,11 +35235,6 @@ protected java.lang.Object newInstance( return new Node(); } - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return edu.stanford.nlp.pipeline.CoreNLPProtos.internal_static_edu_stanford_nlp_pipeline_DependencyGraph_Node_descriptor; @@ -35429,7 +35250,7 @@ protected java.lang.Object newInstance( private int bitField0_; public static final int SENTENCEINDEX_FIELD_NUMBER = 1; - private int sentenceIndex_; + private int sentenceIndex_ = 0; /** * required uint32 sentenceIndex = 1; * @return Whether the sentenceIndex field is set. @@ -35448,7 +35269,7 @@ public int getSentenceIndex() { } public static final int INDEX_FIELD_NUMBER = 2; - private int index_; + private int index_ = 0; /** * required uint32 index = 2; * @return Whether the index field is set. @@ -35467,7 +35288,7 @@ public int getIndex() { } public static final int COPYANNOTATION_FIELD_NUMBER = 3; - private int copyAnnotation_; + private int copyAnnotation_ = 0; /** * optional uint32 copyAnnotation = 3; * @return Whether the copyAnnotation field is set. @@ -35486,7 +35307,7 @@ public int getCopyAnnotation() { } public static final int EMPTYINDEX_FIELD_NUMBER = 4; - private int emptyIndex_; + private int emptyIndex_ = 0; /** * optional uint32 emptyIndex = 4; * @return Whether the emptyIndex field is set. @@ -35674,11 +35495,13 @@ public static edu.stanford.nlp.pipeline.CoreNLPProtos.DependencyGraph.Node parse return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } + public static edu.stanford.nlp.pipeline.CoreNLPProtos.DependencyGraph.Node parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } + public static edu.stanford.nlp.pipeline.CoreNLPProtos.DependencyGraph.Node parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -35753,14 +35576,11 @@ private Builder( @java.lang.Override public Builder clear() { super.clear(); + bitField0_ = 0; sentenceIndex_ = 0; - bitField0_ = (bitField0_ & ~0x00000001); index_ = 0; - bitField0_ = (bitField0_ & ~0x00000002); copyAnnotation_ = 0; - bitField0_ = (bitField0_ & ~0x00000004); emptyIndex_ = 0; - bitField0_ = (bitField0_ & ~0x00000008); return this; } @@ -35787,6 +35607,12 @@ public edu.stanford.nlp.pipeline.CoreNLPProtos.DependencyGraph.Node build() { @java.lang.Override public edu.stanford.nlp.pipeline.CoreNLPProtos.DependencyGraph.Node buildPartial() { edu.stanford.nlp.pipeline.CoreNLPProtos.DependencyGraph.Node result = new edu.stanford.nlp.pipeline.CoreNLPProtos.DependencyGraph.Node(this); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartial0(edu.stanford.nlp.pipeline.CoreNLPProtos.DependencyGraph.Node result) { int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { @@ -35805,9 +35631,7 @@ public edu.stanford.nlp.pipeline.CoreNLPProtos.DependencyGraph.Node buildPartial result.emptyIndex_ = emptyIndex_; to_bitField0_ |= 0x00000008; } - result.bitField0_ = to_bitField0_; - onBuilt(); - return result; + result.bitField0_ |= to_bitField0_; } @java.lang.Override @@ -35958,8 +35782,9 @@ public int getSentenceIndex() { * @return This builder for chaining. */ public Builder setSentenceIndex(int value) { - bitField0_ |= 0x00000001; + sentenceIndex_ = value; + bitField0_ |= 0x00000001; onChanged(); return this; } @@ -35997,8 +35822,9 @@ public int getIndex() { * @return This builder for chaining. */ public Builder setIndex(int value) { - bitField0_ |= 0x00000002; + index_ = value; + bitField0_ |= 0x00000002; onChanged(); return this; } @@ -36036,8 +35862,9 @@ public int getCopyAnnotation() { * @return This builder for chaining. */ public Builder setCopyAnnotation(int value) { - bitField0_ |= 0x00000004; + copyAnnotation_ = value; + bitField0_ |= 0x00000004; onChanged(); return this; } @@ -36075,8 +35902,9 @@ public int getEmptyIndex() { * @return This builder for chaining. */ public Builder setEmptyIndex(int value) { - bitField0_ |= 0x00000008; + emptyIndex_ = value; + bitField0_ |= 0x00000008; onChanged(); return this; } @@ -36287,11 +36115,6 @@ protected java.lang.Object newInstance( return new Edge(); } - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return edu.stanford.nlp.pipeline.CoreNLPProtos.internal_static_edu_stanford_nlp_pipeline_DependencyGraph_Edge_descriptor; @@ -36307,7 +36130,7 @@ protected java.lang.Object newInstance( private int bitField0_; public static final int SOURCE_FIELD_NUMBER = 1; - private int source_; + private int source_ = 0; /** * required uint32 source = 1; * @return Whether the source field is set. @@ -36326,7 +36149,7 @@ public int getSource() { } public static final int TARGET_FIELD_NUMBER = 2; - private int target_; + private int target_ = 0; /** * required uint32 target = 2; * @return Whether the target field is set. @@ -36345,7 +36168,8 @@ public int getTarget() { } public static final int DEP_FIELD_NUMBER = 3; - private volatile java.lang.Object dep_; + @SuppressWarnings("serial") + private volatile java.lang.Object dep_ = ""; /** * optional string dep = 3; * @return Whether the dep field is set. @@ -36393,7 +36217,7 @@ public java.lang.String getDep() { } public static final int ISEXTRA_FIELD_NUMBER = 4; - private boolean isExtra_; + private boolean isExtra_ = false; /** * optional bool isExtra = 4; * @return Whether the isExtra field is set. @@ -36412,7 +36236,7 @@ public boolean getIsExtra() { } public static final int SOURCECOPY_FIELD_NUMBER = 5; - private int sourceCopy_; + private int sourceCopy_ = 0; /** * optional uint32 sourceCopy = 5; * @return Whether the sourceCopy field is set. @@ -36431,7 +36255,7 @@ public int getSourceCopy() { } public static final int TARGETCOPY_FIELD_NUMBER = 6; - private int targetCopy_; + private int targetCopy_ = 0; /** * optional uint32 targetCopy = 6; * @return Whether the targetCopy field is set. @@ -36450,7 +36274,7 @@ public int getTargetCopy() { } public static final int SOURCEEMPTY_FIELD_NUMBER = 8; - private int sourceEmpty_; + private int sourceEmpty_ = 0; /** * optional uint32 sourceEmpty = 8; * @return Whether the sourceEmpty field is set. @@ -36469,7 +36293,7 @@ public int getSourceEmpty() { } public static final int TARGETEMPTY_FIELD_NUMBER = 9; - private int targetEmpty_; + private int targetEmpty_ = 0; /** * optional uint32 targetEmpty = 9; * @return Whether the targetEmpty field is set. @@ -36488,7 +36312,7 @@ public int getTargetEmpty() { } public static final int LANGUAGE_FIELD_NUMBER = 7; - private int language_; + private int language_ = 0; /** * optional .edu.stanford.nlp.pipeline.Language language = 7 [default = Unknown]; * @return Whether the language field is set. @@ -36501,8 +36325,7 @@ public int getTargetEmpty() { * @return The language. */ @java.lang.Override public edu.stanford.nlp.pipeline.CoreNLPProtos.Language getLanguage() { - @SuppressWarnings("deprecation") - edu.stanford.nlp.pipeline.CoreNLPProtos.Language result = edu.stanford.nlp.pipeline.CoreNLPProtos.Language.valueOf(language_); + edu.stanford.nlp.pipeline.CoreNLPProtos.Language result = edu.stanford.nlp.pipeline.CoreNLPProtos.Language.forNumber(language_); return result == null ? edu.stanford.nlp.pipeline.CoreNLPProtos.Language.Unknown : result; } @@ -36755,11 +36578,13 @@ public static edu.stanford.nlp.pipeline.CoreNLPProtos.DependencyGraph.Edge parse return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } + public static edu.stanford.nlp.pipeline.CoreNLPProtos.DependencyGraph.Edge parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } + public static edu.stanford.nlp.pipeline.CoreNLPProtos.DependencyGraph.Edge parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -36834,24 +36659,16 @@ private Builder( @java.lang.Override public Builder clear() { super.clear(); + bitField0_ = 0; source_ = 0; - bitField0_ = (bitField0_ & ~0x00000001); target_ = 0; - bitField0_ = (bitField0_ & ~0x00000002); dep_ = ""; - bitField0_ = (bitField0_ & ~0x00000004); isExtra_ = false; - bitField0_ = (bitField0_ & ~0x00000008); sourceCopy_ = 0; - bitField0_ = (bitField0_ & ~0x00000010); targetCopy_ = 0; - bitField0_ = (bitField0_ & ~0x00000020); sourceEmpty_ = 0; - bitField0_ = (bitField0_ & ~0x00000040); targetEmpty_ = 0; - bitField0_ = (bitField0_ & ~0x00000080); language_ = 0; - bitField0_ = (bitField0_ & ~0x00000100); return this; } @@ -36878,6 +36695,12 @@ public edu.stanford.nlp.pipeline.CoreNLPProtos.DependencyGraph.Edge build() { @java.lang.Override public edu.stanford.nlp.pipeline.CoreNLPProtos.DependencyGraph.Edge buildPartial() { edu.stanford.nlp.pipeline.CoreNLPProtos.DependencyGraph.Edge result = new edu.stanford.nlp.pipeline.CoreNLPProtos.DependencyGraph.Edge(this); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartial0(edu.stanford.nlp.pipeline.CoreNLPProtos.DependencyGraph.Edge result) { int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { @@ -36889,9 +36712,9 @@ public edu.stanford.nlp.pipeline.CoreNLPProtos.DependencyGraph.Edge buildPartial to_bitField0_ |= 0x00000002; } if (((from_bitField0_ & 0x00000004) != 0)) { + result.dep_ = dep_; to_bitField0_ |= 0x00000004; } - result.dep_ = dep_; if (((from_bitField0_ & 0x00000008) != 0)) { result.isExtra_ = isExtra_; to_bitField0_ |= 0x00000008; @@ -36913,12 +36736,10 @@ public edu.stanford.nlp.pipeline.CoreNLPProtos.DependencyGraph.Edge buildPartial to_bitField0_ |= 0x00000080; } if (((from_bitField0_ & 0x00000100) != 0)) { + result.language_ = language_; to_bitField0_ |= 0x00000100; } - result.language_ = language_; - result.bitField0_ = to_bitField0_; - onBuilt(); - return result; + result.bitField0_ |= to_bitField0_; } @java.lang.Override @@ -36972,8 +36793,8 @@ public Builder mergeFrom(edu.stanford.nlp.pipeline.CoreNLPProtos.DependencyGraph setTarget(other.getTarget()); } if (other.hasDep()) { - bitField0_ |= 0x00000004; dep_ = other.dep_; + bitField0_ |= 0x00000004; onChanged(); } if (other.hasIsExtra()) { @@ -37118,8 +36939,9 @@ public int getSource() { * @return This builder for chaining. */ public Builder setSource(int value) { - bitField0_ |= 0x00000001; + source_ = value; + bitField0_ |= 0x00000001; onChanged(); return this; } @@ -37157,8 +36979,9 @@ public int getTarget() { * @return This builder for chaining. */ public Builder setTarget(int value) { - bitField0_ |= 0x00000002; + target_ = value; + bitField0_ |= 0x00000002; onChanged(); return this; } @@ -37223,11 +37046,9 @@ public java.lang.String getDep() { */ public Builder setDep( java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000004; + if (value == null) { throw new NullPointerException(); } dep_ = value; + bitField0_ |= 0x00000004; onChanged(); return this; } @@ -37236,8 +37057,8 @@ public Builder setDep( * @return This builder for chaining. */ public Builder clearDep() { - bitField0_ = (bitField0_ & ~0x00000004); dep_ = getDefaultInstance().getDep(); + bitField0_ = (bitField0_ & ~0x00000004); onChanged(); return this; } @@ -37248,11 +37069,9 @@ public Builder clearDep() { */ public Builder setDepBytes( com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000004; + if (value == null) { throw new NullPointerException(); } dep_ = value; + bitField0_ |= 0x00000004; onChanged(); return this; } @@ -37280,8 +37099,9 @@ public boolean getIsExtra() { * @return This builder for chaining. */ public Builder setIsExtra(boolean value) { - bitField0_ |= 0x00000008; + isExtra_ = value; + bitField0_ |= 0x00000008; onChanged(); return this; } @@ -37319,8 +37139,9 @@ public int getSourceCopy() { * @return This builder for chaining. */ public Builder setSourceCopy(int value) { - bitField0_ |= 0x00000010; + sourceCopy_ = value; + bitField0_ |= 0x00000010; onChanged(); return this; } @@ -37358,8 +37179,9 @@ public int getTargetCopy() { * @return This builder for chaining. */ public Builder setTargetCopy(int value) { - bitField0_ |= 0x00000020; + targetCopy_ = value; + bitField0_ |= 0x00000020; onChanged(); return this; } @@ -37397,8 +37219,9 @@ public int getSourceEmpty() { * @return This builder for chaining. */ public Builder setSourceEmpty(int value) { - bitField0_ |= 0x00000040; + sourceEmpty_ = value; + bitField0_ |= 0x00000040; onChanged(); return this; } @@ -37436,8 +37259,9 @@ public int getTargetEmpty() { * @return This builder for chaining. */ public Builder setTargetEmpty(int value) { - bitField0_ |= 0x00000080; + targetEmpty_ = value; + bitField0_ |= 0x00000080; onChanged(); return this; } @@ -37466,8 +37290,7 @@ public Builder clearTargetEmpty() { */ @java.lang.Override public edu.stanford.nlp.pipeline.CoreNLPProtos.Language getLanguage() { - @SuppressWarnings("deprecation") - edu.stanford.nlp.pipeline.CoreNLPProtos.Language result = edu.stanford.nlp.pipeline.CoreNLPProtos.Language.valueOf(language_); + edu.stanford.nlp.pipeline.CoreNLPProtos.Language result = edu.stanford.nlp.pipeline.CoreNLPProtos.Language.forNumber(language_); return result == null ? edu.stanford.nlp.pipeline.CoreNLPProtos.Language.Unknown : result; } /** @@ -37559,6 +37382,7 @@ public edu.stanford.nlp.pipeline.CoreNLPProtos.DependencyGraph.Edge getDefaultIn } public static final int NODE_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private java.util.List node_; /** * repeated .edu.stanford.nlp.pipeline.DependencyGraph.Node node = 1; @@ -37599,6 +37423,7 @@ public edu.stanford.nlp.pipeline.CoreNLPProtos.DependencyGraph.NodeOrBuilder get } public static final int EDGE_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private java.util.List edge_; /** * repeated .edu.stanford.nlp.pipeline.DependencyGraph.Edge edge = 2; @@ -37639,7 +37464,9 @@ public edu.stanford.nlp.pipeline.CoreNLPProtos.DependencyGraph.EdgeOrBuilder get } public static final int ROOT_FIELD_NUMBER = 3; - private com.google.protobuf.Internal.IntList root_; + @SuppressWarnings("serial") + private com.google.protobuf.Internal.IntList root_ = + emptyIntList(); /** * repeated uint32 root = 3 [packed = true]; * @return A list containing the root. @@ -37667,6 +37494,7 @@ public int getRoot(int index) { private int rootMemoizedSerializedSize = -1; public static final int TOKEN_FIELD_NUMBER = 4; + @SuppressWarnings("serial") private java.util.List token_; /** *
@@ -37732,7 +37560,9 @@ public edu.stanford.nlp.pipeline.CoreNLPProtos.TokenOrBuilder getTokenOrBuilder(
     }
 
     public static final int ROOTNODE_FIELD_NUMBER = 5;
-    private com.google.protobuf.Internal.IntList rootNode_;
+    @SuppressWarnings("serial")
+    private com.google.protobuf.Internal.IntList rootNode_ =
+        emptyIntList();
     /**
      * 
      * The values in this field will index directly into the node list
@@ -37987,11 +37817,13 @@ public static edu.stanford.nlp.pipeline.CoreNLPProtos.DependencyGraph parseFrom(
       return com.google.protobuf.GeneratedMessageV3
           .parseWithIOException(PARSER, input, extensionRegistry);
     }
+
     public static edu.stanford.nlp.pipeline.CoreNLPProtos.DependencyGraph parseDelimitedFrom(java.io.InputStream input)
         throws java.io.IOException {
       return com.google.protobuf.GeneratedMessageV3
           .parseDelimitedWithIOException(PARSER, input);
     }
+
     public static edu.stanford.nlp.pipeline.CoreNLPProtos.DependencyGraph parseDelimitedFrom(
         java.io.InputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -38035,6 +37867,7 @@ protected Builder newBuilderForType(
     }
     /**
      * 
+     *
      * A dependency graph representation.
      * 
* @@ -38070,6 +37903,7 @@ private Builder( @java.lang.Override public Builder clear() { super.clear(); + bitField0_ = 0; if (nodeBuilder_ == null) { node_ = java.util.Collections.emptyList(); } else { @@ -38085,7 +37919,6 @@ public Builder clear() { } bitField0_ = (bitField0_ & ~0x00000002); root_ = emptyIntList(); - bitField0_ = (bitField0_ & ~0x00000004); if (tokenBuilder_ == null) { token_ = java.util.Collections.emptyList(); } else { @@ -38094,7 +37927,6 @@ public Builder clear() { } bitField0_ = (bitField0_ & ~0x00000008); rootNode_ = emptyIntList(); - bitField0_ = (bitField0_ & ~0x00000010); return this; } @@ -38121,7 +37953,13 @@ public edu.stanford.nlp.pipeline.CoreNLPProtos.DependencyGraph build() { @java.lang.Override public edu.stanford.nlp.pipeline.CoreNLPProtos.DependencyGraph buildPartial() { edu.stanford.nlp.pipeline.CoreNLPProtos.DependencyGraph result = new edu.stanford.nlp.pipeline.CoreNLPProtos.DependencyGraph(this); - int from_bitField0_ = bitField0_; + buildPartialRepeatedFields(result); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartialRepeatedFields(edu.stanford.nlp.pipeline.CoreNLPProtos.DependencyGraph result) { if (nodeBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { node_ = java.util.Collections.unmodifiableList(node_); @@ -38140,11 +37978,6 @@ public edu.stanford.nlp.pipeline.CoreNLPProtos.DependencyGraph buildPartial() { } else { result.edge_ = edgeBuilder_.build(); } - if (((bitField0_ & 0x00000004) != 0)) { - root_.makeImmutable(); - bitField0_ = (bitField0_ & ~0x00000004); - } - result.root_ = root_; if (tokenBuilder_ == null) { if (((bitField0_ & 0x00000008) != 0)) { token_ = java.util.Collections.unmodifiableList(token_); @@ -38154,13 +37987,18 @@ public edu.stanford.nlp.pipeline.CoreNLPProtos.DependencyGraph buildPartial() { } else { result.token_ = tokenBuilder_.build(); } - if (((bitField0_ & 0x00000010) != 0)) { + } + + private void buildPartial0(edu.stanford.nlp.pipeline.CoreNLPProtos.DependencyGraph result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000004) != 0)) { + root_.makeImmutable(); + result.root_ = root_; + } + if (((from_bitField0_ & 0x00000010) != 0)) { rootNode_.makeImmutable(); - bitField0_ = (bitField0_ & ~0x00000010); + result.rootNode_ = rootNode_; } - result.rootNode_ = rootNode_; - onBuilt(); - return result; } @java.lang.Override @@ -38262,7 +38100,8 @@ public Builder mergeFrom(edu.stanford.nlp.pipeline.CoreNLPProtos.DependencyGraph if (!other.root_.isEmpty()) { if (root_.isEmpty()) { root_ = other.root_; - bitField0_ = (bitField0_ & ~0x00000004); + root_.makeImmutable(); + bitField0_ |= 0x00000004; } else { ensureRootIsMutable(); root_.addAll(other.root_); @@ -38298,7 +38137,8 @@ public Builder mergeFrom(edu.stanford.nlp.pipeline.CoreNLPProtos.DependencyGraph if (!other.rootNode_.isEmpty()) { if (rootNode_.isEmpty()) { rootNode_ = other.rootNode_; - bitField0_ = (bitField0_ & ~0x00000010); + rootNode_.makeImmutable(); + bitField0_ |= 0x00000010; } else { ensureRootNodeIsMutable(); rootNode_.addAll(other.rootNode_); @@ -38916,10 +38756,10 @@ public edu.stanford.nlp.pipeline.CoreNLPProtos.DependencyGraph.Edge.Builder addE private com.google.protobuf.Internal.IntList root_ = emptyIntList(); private void ensureRootIsMutable() { - if (!((bitField0_ & 0x00000004) != 0)) { - root_ = mutableCopy(root_); - bitField0_ |= 0x00000004; - } + if (!root_.isModifiable()) { + root_ = makeMutableCopy(root_); + } + bitField0_ |= 0x00000004; } /** * repeated uint32 root = 3 [packed = true]; @@ -38927,8 +38767,8 @@ private void ensureRootIsMutable() { */ public java.util.List getRootList() { - return ((bitField0_ & 0x00000004) != 0) ? - java.util.Collections.unmodifiableList(root_) : root_; + root_.makeImmutable(); + return root_; } /** * repeated uint32 root = 3 [packed = true]; @@ -38953,8 +38793,10 @@ public int getRoot(int index) { */ public Builder setRoot( int index, int value) { + ensureRootIsMutable(); root_.setInt(index, value); + bitField0_ |= 0x00000004; onChanged(); return this; } @@ -38964,8 +38806,10 @@ public Builder setRoot( * @return This builder for chaining. */ public Builder addRoot(int value) { + ensureRootIsMutable(); root_.addInt(value); + bitField0_ |= 0x00000004; onChanged(); return this; } @@ -38979,6 +38823,7 @@ public Builder addAllRoot( ensureRootIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, root_); + bitField0_ |= 0x00000004; onChanged(); return this; } @@ -39325,10 +39170,10 @@ public edu.stanford.nlp.pipeline.CoreNLPProtos.Token.Builder addTokenBuilder( private com.google.protobuf.Internal.IntList rootNode_ = emptyIntList(); private void ensureRootNodeIsMutable() { - if (!((bitField0_ & 0x00000010) != 0)) { - rootNode_ = mutableCopy(rootNode_); - bitField0_ |= 0x00000010; - } + if (!rootNode_.isModifiable()) { + rootNode_ = makeMutableCopy(rootNode_); + } + bitField0_ |= 0x00000010; } /** *
@@ -39342,8 +39187,8 @@ private void ensureRootNodeIsMutable() {
        */
       public java.util.List
           getRootNodeList() {
-        return ((bitField0_ & 0x00000010) != 0) ?
-                 java.util.Collections.unmodifiableList(rootNode_) : rootNode_;
+        rootNode_.makeImmutable();
+        return rootNode_;
       }
       /**
        * 
@@ -39386,8 +39231,10 @@ public int getRootNode(int index) {
        */
       public Builder setRootNode(
           int index, int value) {
+
         ensureRootNodeIsMutable();
         rootNode_.setInt(index, value);
+        bitField0_ |= 0x00000010;
         onChanged();
         return this;
       }
@@ -39403,8 +39250,10 @@ public Builder setRootNode(
        * @return This builder for chaining.
        */
       public Builder addRootNode(int value) {
+
         ensureRootNodeIsMutable();
         rootNode_.addInt(value);
+        bitField0_ |= 0x00000010;
         onChanged();
         return this;
       }
@@ -39424,6 +39273,7 @@ public Builder addAllRootNode(
         ensureRootNodeIsMutable();
         com.google.protobuf.AbstractMessageLite.Builder.addAll(
             values, rootNode_);
+        bitField0_ |= 0x00000010;
         onChanged();
         return this;
       }
@@ -39559,6 +39409,7 @@ edu.stanford.nlp.pipeline.CoreNLPProtos.CorefChain.CorefMentionOrBuilder getMent
   }
   /**
    * 
+   *
    * A coreference chain.
    * These fields are not *really* optional. CoreNLP will crash without them.
    * 
@@ -39585,11 +39436,6 @@ protected java.lang.Object newInstance( return new CorefChain(); } - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return edu.stanford.nlp.pipeline.CoreNLPProtos.internal_static_edu_stanford_nlp_pipeline_CorefChain_descriptor; @@ -39775,11 +39621,6 @@ protected java.lang.Object newInstance( return new CorefMention(); } - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return edu.stanford.nlp.pipeline.CoreNLPProtos.internal_static_edu_stanford_nlp_pipeline_CorefChain_CorefMention_descriptor; @@ -39795,7 +39636,7 @@ protected java.lang.Object newInstance( private int bitField0_; public static final int MENTIONID_FIELD_NUMBER = 1; - private int mentionID_; + private int mentionID_ = 0; /** * optional int32 mentionID = 1; * @return Whether the mentionID field is set. @@ -39814,7 +39655,8 @@ public int getMentionID() { } public static final int MENTIONTYPE_FIELD_NUMBER = 2; - private volatile java.lang.Object mentionType_; + @SuppressWarnings("serial") + private volatile java.lang.Object mentionType_ = ""; /** * optional string mentionType = 2; * @return Whether the mentionType field is set. @@ -39862,7 +39704,8 @@ public java.lang.String getMentionType() { } public static final int NUMBER_FIELD_NUMBER = 3; - private volatile java.lang.Object number_; + @SuppressWarnings("serial") + private volatile java.lang.Object number_ = ""; /** * optional string number = 3; * @return Whether the number field is set. @@ -39910,7 +39753,8 @@ public java.lang.String getNumber() { } public static final int GENDER_FIELD_NUMBER = 4; - private volatile java.lang.Object gender_; + @SuppressWarnings("serial") + private volatile java.lang.Object gender_ = ""; /** * optional string gender = 4; * @return Whether the gender field is set. @@ -39958,7 +39802,8 @@ public java.lang.String getGender() { } public static final int ANIMACY_FIELD_NUMBER = 5; - private volatile java.lang.Object animacy_; + @SuppressWarnings("serial") + private volatile java.lang.Object animacy_ = ""; /** * optional string animacy = 5; * @return Whether the animacy field is set. @@ -40006,7 +39851,7 @@ public java.lang.String getAnimacy() { } public static final int BEGININDEX_FIELD_NUMBER = 6; - private int beginIndex_; + private int beginIndex_ = 0; /** * optional uint32 beginIndex = 6; * @return Whether the beginIndex field is set. @@ -40025,7 +39870,7 @@ public int getBeginIndex() { } public static final int ENDINDEX_FIELD_NUMBER = 7; - private int endIndex_; + private int endIndex_ = 0; /** * optional uint32 endIndex = 7; * @return Whether the endIndex field is set. @@ -40044,7 +39889,7 @@ public int getEndIndex() { } public static final int HEADINDEX_FIELD_NUMBER = 9; - private int headIndex_; + private int headIndex_ = 0; /** * optional uint32 headIndex = 9; * @return Whether the headIndex field is set. @@ -40063,7 +39908,7 @@ public int getHeadIndex() { } public static final int SENTENCEINDEX_FIELD_NUMBER = 10; - private int sentenceIndex_; + private int sentenceIndex_ = 0; /** * optional uint32 sentenceIndex = 10; * @return Whether the sentenceIndex field is set. @@ -40082,7 +39927,7 @@ public int getSentenceIndex() { } public static final int POSITION_FIELD_NUMBER = 11; - private int position_; + private int position_ = 0; /** *
        * the second element of position
@@ -40362,11 +40207,13 @@ public static edu.stanford.nlp.pipeline.CoreNLPProtos.CorefChain.CorefMention pa
         return com.google.protobuf.GeneratedMessageV3
             .parseWithIOException(PARSER, input, extensionRegistry);
       }
+
       public static edu.stanford.nlp.pipeline.CoreNLPProtos.CorefChain.CorefMention parseDelimitedFrom(java.io.InputStream input)
           throws java.io.IOException {
         return com.google.protobuf.GeneratedMessageV3
             .parseDelimitedWithIOException(PARSER, input);
       }
+
       public static edu.stanford.nlp.pipeline.CoreNLPProtos.CorefChain.CorefMention parseDelimitedFrom(
           java.io.InputStream input,
           com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -40441,26 +40288,17 @@ private Builder(
         @java.lang.Override
         public Builder clear() {
           super.clear();
+          bitField0_ = 0;
           mentionID_ = 0;
-          bitField0_ = (bitField0_ & ~0x00000001);
           mentionType_ = "";
-          bitField0_ = (bitField0_ & ~0x00000002);
           number_ = "";
-          bitField0_ = (bitField0_ & ~0x00000004);
           gender_ = "";
-          bitField0_ = (bitField0_ & ~0x00000008);
           animacy_ = "";
-          bitField0_ = (bitField0_ & ~0x00000010);
           beginIndex_ = 0;
-          bitField0_ = (bitField0_ & ~0x00000020);
           endIndex_ = 0;
-          bitField0_ = (bitField0_ & ~0x00000040);
           headIndex_ = 0;
-          bitField0_ = (bitField0_ & ~0x00000080);
           sentenceIndex_ = 0;
-          bitField0_ = (bitField0_ & ~0x00000100);
           position_ = 0;
-          bitField0_ = (bitField0_ & ~0x00000200);
           return this;
         }
 
@@ -40487,6 +40325,12 @@ public edu.stanford.nlp.pipeline.CoreNLPProtos.CorefChain.CorefMention build() {
         @java.lang.Override
         public edu.stanford.nlp.pipeline.CoreNLPProtos.CorefChain.CorefMention buildPartial() {
           edu.stanford.nlp.pipeline.CoreNLPProtos.CorefChain.CorefMention result = new edu.stanford.nlp.pipeline.CoreNLPProtos.CorefChain.CorefMention(this);
+          if (bitField0_ != 0) { buildPartial0(result); }
+          onBuilt();
+          return result;
+        }
+
+        private void buildPartial0(edu.stanford.nlp.pipeline.CoreNLPProtos.CorefChain.CorefMention result) {
           int from_bitField0_ = bitField0_;
           int to_bitField0_ = 0;
           if (((from_bitField0_ & 0x00000001) != 0)) {
@@ -40494,21 +40338,21 @@ public edu.stanford.nlp.pipeline.CoreNLPProtos.CorefChain.CorefMention buildPart
             to_bitField0_ |= 0x00000001;
           }
           if (((from_bitField0_ & 0x00000002) != 0)) {
+            result.mentionType_ = mentionType_;
             to_bitField0_ |= 0x00000002;
           }
-          result.mentionType_ = mentionType_;
           if (((from_bitField0_ & 0x00000004) != 0)) {
+            result.number_ = number_;
             to_bitField0_ |= 0x00000004;
           }
-          result.number_ = number_;
           if (((from_bitField0_ & 0x00000008) != 0)) {
+            result.gender_ = gender_;
             to_bitField0_ |= 0x00000008;
           }
-          result.gender_ = gender_;
           if (((from_bitField0_ & 0x00000010) != 0)) {
+            result.animacy_ = animacy_;
             to_bitField0_ |= 0x00000010;
           }
-          result.animacy_ = animacy_;
           if (((from_bitField0_ & 0x00000020) != 0)) {
             result.beginIndex_ = beginIndex_;
             to_bitField0_ |= 0x00000020;
@@ -40529,9 +40373,7 @@ public edu.stanford.nlp.pipeline.CoreNLPProtos.CorefChain.CorefMention buildPart
             result.position_ = position_;
             to_bitField0_ |= 0x00000200;
           }
-          result.bitField0_ = to_bitField0_;
-          onBuilt();
-          return result;
+          result.bitField0_ |= to_bitField0_;
         }
 
         @java.lang.Override
@@ -40582,23 +40424,23 @@ public Builder mergeFrom(edu.stanford.nlp.pipeline.CoreNLPProtos.CorefChain.Core
             setMentionID(other.getMentionID());
           }
           if (other.hasMentionType()) {
-            bitField0_ |= 0x00000002;
             mentionType_ = other.mentionType_;
+            bitField0_ |= 0x00000002;
             onChanged();
           }
           if (other.hasNumber()) {
-            bitField0_ |= 0x00000004;
             number_ = other.number_;
+            bitField0_ |= 0x00000004;
             onChanged();
           }
           if (other.hasGender()) {
-            bitField0_ |= 0x00000008;
             gender_ = other.gender_;
+            bitField0_ |= 0x00000008;
             onChanged();
           }
           if (other.hasAnimacy()) {
-            bitField0_ |= 0x00000010;
             animacy_ = other.animacy_;
+            bitField0_ |= 0x00000010;
             onChanged();
           }
           if (other.hasBeginIndex()) {
@@ -40732,8 +40574,9 @@ public int getMentionID() {
          * @return This builder for chaining.
          */
         public Builder setMentionID(int value) {
-          bitField0_ |= 0x00000001;
+
           mentionID_ = value;
+          bitField0_ |= 0x00000001;
           onChanged();
           return this;
         }
@@ -40798,11 +40641,9 @@ public java.lang.String getMentionType() {
          */
         public Builder setMentionType(
             java.lang.String value) {
-          if (value == null) {
-    throw new NullPointerException();
-  }
-  bitField0_ |= 0x00000002;
+          if (value == null) { throw new NullPointerException(); }
           mentionType_ = value;
+          bitField0_ |= 0x00000002;
           onChanged();
           return this;
         }
@@ -40811,8 +40652,8 @@ public Builder setMentionType(
          * @return This builder for chaining.
          */
         public Builder clearMentionType() {
-          bitField0_ = (bitField0_ & ~0x00000002);
           mentionType_ = getDefaultInstance().getMentionType();
+          bitField0_ = (bitField0_ & ~0x00000002);
           onChanged();
           return this;
         }
@@ -40823,11 +40664,9 @@ public Builder clearMentionType() {
          */
         public Builder setMentionTypeBytes(
             com.google.protobuf.ByteString value) {
-          if (value == null) {
-    throw new NullPointerException();
-  }
-  bitField0_ |= 0x00000002;
+          if (value == null) { throw new NullPointerException(); }
           mentionType_ = value;
+          bitField0_ |= 0x00000002;
           onChanged();
           return this;
         }
@@ -40882,11 +40721,9 @@ public java.lang.String getNumber() {
          */
         public Builder setNumber(
             java.lang.String value) {
-          if (value == null) {
-    throw new NullPointerException();
-  }
-  bitField0_ |= 0x00000004;
+          if (value == null) { throw new NullPointerException(); }
           number_ = value;
+          bitField0_ |= 0x00000004;
           onChanged();
           return this;
         }
@@ -40895,8 +40732,8 @@ public Builder setNumber(
          * @return This builder for chaining.
          */
         public Builder clearNumber() {
-          bitField0_ = (bitField0_ & ~0x00000004);
           number_ = getDefaultInstance().getNumber();
+          bitField0_ = (bitField0_ & ~0x00000004);
           onChanged();
           return this;
         }
@@ -40907,11 +40744,9 @@ public Builder clearNumber() {
          */
         public Builder setNumberBytes(
             com.google.protobuf.ByteString value) {
-          if (value == null) {
-    throw new NullPointerException();
-  }
-  bitField0_ |= 0x00000004;
+          if (value == null) { throw new NullPointerException(); }
           number_ = value;
+          bitField0_ |= 0x00000004;
           onChanged();
           return this;
         }
@@ -40966,11 +40801,9 @@ public java.lang.String getGender() {
          */
         public Builder setGender(
             java.lang.String value) {
-          if (value == null) {
-    throw new NullPointerException();
-  }
-  bitField0_ |= 0x00000008;
+          if (value == null) { throw new NullPointerException(); }
           gender_ = value;
+          bitField0_ |= 0x00000008;
           onChanged();
           return this;
         }
@@ -40979,8 +40812,8 @@ public Builder setGender(
          * @return This builder for chaining.
          */
         public Builder clearGender() {
-          bitField0_ = (bitField0_ & ~0x00000008);
           gender_ = getDefaultInstance().getGender();
+          bitField0_ = (bitField0_ & ~0x00000008);
           onChanged();
           return this;
         }
@@ -40991,11 +40824,9 @@ public Builder clearGender() {
          */
         public Builder setGenderBytes(
             com.google.protobuf.ByteString value) {
-          if (value == null) {
-    throw new NullPointerException();
-  }
-  bitField0_ |= 0x00000008;
+          if (value == null) { throw new NullPointerException(); }
           gender_ = value;
+          bitField0_ |= 0x00000008;
           onChanged();
           return this;
         }
@@ -41050,11 +40881,9 @@ public java.lang.String getAnimacy() {
          */
         public Builder setAnimacy(
             java.lang.String value) {
-          if (value == null) {
-    throw new NullPointerException();
-  }
-  bitField0_ |= 0x00000010;
+          if (value == null) { throw new NullPointerException(); }
           animacy_ = value;
+          bitField0_ |= 0x00000010;
           onChanged();
           return this;
         }
@@ -41063,8 +40892,8 @@ public Builder setAnimacy(
          * @return This builder for chaining.
          */
         public Builder clearAnimacy() {
-          bitField0_ = (bitField0_ & ~0x00000010);
           animacy_ = getDefaultInstance().getAnimacy();
+          bitField0_ = (bitField0_ & ~0x00000010);
           onChanged();
           return this;
         }
@@ -41075,11 +40904,9 @@ public Builder clearAnimacy() {
          */
         public Builder setAnimacyBytes(
             com.google.protobuf.ByteString value) {
-          if (value == null) {
-    throw new NullPointerException();
-  }
-  bitField0_ |= 0x00000010;
+          if (value == null) { throw new NullPointerException(); }
           animacy_ = value;
+          bitField0_ |= 0x00000010;
           onChanged();
           return this;
         }
@@ -41107,8 +40934,9 @@ public int getBeginIndex() {
          * @return This builder for chaining.
          */
         public Builder setBeginIndex(int value) {
-          bitField0_ |= 0x00000020;
+
           beginIndex_ = value;
+          bitField0_ |= 0x00000020;
           onChanged();
           return this;
         }
@@ -41146,8 +40974,9 @@ public int getEndIndex() {
          * @return This builder for chaining.
          */
         public Builder setEndIndex(int value) {
-          bitField0_ |= 0x00000040;
+
           endIndex_ = value;
+          bitField0_ |= 0x00000040;
           onChanged();
           return this;
         }
@@ -41185,8 +41014,9 @@ public int getHeadIndex() {
          * @return This builder for chaining.
          */
         public Builder setHeadIndex(int value) {
-          bitField0_ |= 0x00000080;
+
           headIndex_ = value;
+          bitField0_ |= 0x00000080;
           onChanged();
           return this;
         }
@@ -41224,8 +41054,9 @@ public int getSentenceIndex() {
          * @return This builder for chaining.
          */
         public Builder setSentenceIndex(int value) {
-          bitField0_ |= 0x00000100;
+
           sentenceIndex_ = value;
+          bitField0_ |= 0x00000100;
           onChanged();
           return this;
         }
@@ -41275,8 +41106,9 @@ public int getPosition() {
          * @return This builder for chaining.
          */
         public Builder setPosition(int value) {
-          bitField0_ |= 0x00000200;
+
           position_ = value;
+          bitField0_ |= 0x00000200;
           onChanged();
           return this;
         }
@@ -41360,7 +41192,7 @@ public edu.stanford.nlp.pipeline.CoreNLPProtos.CorefChain.CorefMention getDefaul
 
     private int bitField0_;
     public static final int CHAINID_FIELD_NUMBER = 1;
-    private int chainID_;
+    private int chainID_ = 0;
     /**
      * required int32 chainID = 1;
      * @return Whether the chainID field is set.
@@ -41379,6 +41211,7 @@ public int getChainID() {
     }
 
     public static final int MENTION_FIELD_NUMBER = 2;
+    @SuppressWarnings("serial")
     private java.util.List mention_;
     /**
      * repeated .edu.stanford.nlp.pipeline.CorefChain.CorefMention mention = 2;
@@ -41419,7 +41252,7 @@ public edu.stanford.nlp.pipeline.CoreNLPProtos.CorefChain.CorefMentionOrBuilder
     }
 
     public static final int REPRESENTATIVE_FIELD_NUMBER = 3;
-    private int representative_;
+    private int representative_ = 0;
     /**
      * required uint32 representative = 3;
      * @return Whether the representative field is set.
@@ -41588,11 +41421,13 @@ public static edu.stanford.nlp.pipeline.CoreNLPProtos.CorefChain parseFrom(
       return com.google.protobuf.GeneratedMessageV3
           .parseWithIOException(PARSER, input, extensionRegistry);
     }
+
     public static edu.stanford.nlp.pipeline.CoreNLPProtos.CorefChain parseDelimitedFrom(java.io.InputStream input)
         throws java.io.IOException {
       return com.google.protobuf.GeneratedMessageV3
           .parseDelimitedWithIOException(PARSER, input);
     }
+
     public static edu.stanford.nlp.pipeline.CoreNLPProtos.CorefChain parseDelimitedFrom(
         java.io.InputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -41636,6 +41471,7 @@ protected Builder newBuilderForType(
     }
     /**
      * 
+     *
      * A coreference chain.
      * These fields are not *really* optional. CoreNLP will crash without them.
      * 
@@ -41672,8 +41508,8 @@ private Builder( @java.lang.Override public Builder clear() { super.clear(); + bitField0_ = 0; chainID_ = 0; - bitField0_ = (bitField0_ & ~0x00000001); if (mentionBuilder_ == null) { mention_ = java.util.Collections.emptyList(); } else { @@ -41682,7 +41518,6 @@ public Builder clear() { } bitField0_ = (bitField0_ & ~0x00000002); representative_ = 0; - bitField0_ = (bitField0_ & ~0x00000004); return this; } @@ -41709,12 +41544,13 @@ public edu.stanford.nlp.pipeline.CoreNLPProtos.CorefChain build() { @java.lang.Override public edu.stanford.nlp.pipeline.CoreNLPProtos.CorefChain buildPartial() { edu.stanford.nlp.pipeline.CoreNLPProtos.CorefChain result = new edu.stanford.nlp.pipeline.CoreNLPProtos.CorefChain(this); - int from_bitField0_ = bitField0_; - int to_bitField0_ = 0; - if (((from_bitField0_ & 0x00000001) != 0)) { - result.chainID_ = chainID_; - to_bitField0_ |= 0x00000001; - } + buildPartialRepeatedFields(result); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartialRepeatedFields(edu.stanford.nlp.pipeline.CoreNLPProtos.CorefChain result) { if (mentionBuilder_ == null) { if (((bitField0_ & 0x00000002) != 0)) { mention_ = java.util.Collections.unmodifiableList(mention_); @@ -41724,13 +41560,20 @@ public edu.stanford.nlp.pipeline.CoreNLPProtos.CorefChain buildPartial() { } else { result.mention_ = mentionBuilder_.build(); } + } + + private void buildPartial0(edu.stanford.nlp.pipeline.CoreNLPProtos.CorefChain result) { + int from_bitField0_ = bitField0_; + int to_bitField0_ = 0; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.chainID_ = chainID_; + to_bitField0_ |= 0x00000001; + } if (((from_bitField0_ & 0x00000004) != 0)) { result.representative_ = representative_; to_bitField0_ |= 0x00000002; } - result.bitField0_ = to_bitField0_; - onBuilt(); - return result; + result.bitField0_ |= to_bitField0_; } @java.lang.Override @@ -41904,8 +41747,9 @@ public int getChainID() { * @return This builder for chaining. */ public Builder setChainID(int value) { - bitField0_ |= 0x00000001; + chainID_ = value; + bitField0_ |= 0x00000001; onChanged(); return this; } @@ -42183,8 +42027,9 @@ public int getRepresentative() { * @return This builder for chaining. */ public Builder setRepresentative(int value) { - bitField0_ |= 0x00000004; + representative_ = value; + bitField0_ |= 0x00000004; onChanged(); return this; } @@ -42881,8 +42726,10 @@ private Mention() { nerString_ = ""; sentenceWords_ = java.util.Collections.emptyList(); originalSpan_ = java.util.Collections.emptyList(); - dependents_ = com.google.protobuf.LazyStringArrayList.EMPTY; - preprocessedTerms_ = com.google.protobuf.LazyStringArrayList.EMPTY; + dependents_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + preprocessedTerms_ = + com.google.protobuf.LazyStringArrayList.emptyList(); appositions_ = emptyIntList(); predicateNominatives_ = emptyIntList(); relativePronouns_ = emptyIntList(); @@ -42897,11 +42744,6 @@ protected java.lang.Object newInstance( return new Mention(); } - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return edu.stanford.nlp.pipeline.CoreNLPProtos.internal_static_edu_stanford_nlp_pipeline_Mention_descriptor; @@ -42917,7 +42759,7 @@ protected java.lang.Object newInstance( private int bitField0_; public static final int MENTIONID_FIELD_NUMBER = 1; - private int mentionID_; + private int mentionID_ = 0; /** * optional int32 mentionID = 1; * @return Whether the mentionID field is set. @@ -42936,7 +42778,8 @@ public int getMentionID() { } public static final int MENTIONTYPE_FIELD_NUMBER = 2; - private volatile java.lang.Object mentionType_; + @SuppressWarnings("serial") + private volatile java.lang.Object mentionType_ = ""; /** * optional string mentionType = 2; * @return Whether the mentionType field is set. @@ -42984,7 +42827,8 @@ public java.lang.String getMentionType() { } public static final int NUMBER_FIELD_NUMBER = 3; - private volatile java.lang.Object number_; + @SuppressWarnings("serial") + private volatile java.lang.Object number_ = ""; /** * optional string number = 3; * @return Whether the number field is set. @@ -43032,7 +42876,8 @@ public java.lang.String getNumber() { } public static final int GENDER_FIELD_NUMBER = 4; - private volatile java.lang.Object gender_; + @SuppressWarnings("serial") + private volatile java.lang.Object gender_ = ""; /** * optional string gender = 4; * @return Whether the gender field is set. @@ -43080,7 +42925,8 @@ public java.lang.String getGender() { } public static final int ANIMACY_FIELD_NUMBER = 5; - private volatile java.lang.Object animacy_; + @SuppressWarnings("serial") + private volatile java.lang.Object animacy_ = ""; /** * optional string animacy = 5; * @return Whether the animacy field is set. @@ -43128,7 +42974,8 @@ public java.lang.String getAnimacy() { } public static final int PERSON_FIELD_NUMBER = 6; - private volatile java.lang.Object person_; + @SuppressWarnings("serial") + private volatile java.lang.Object person_ = ""; /** * optional string person = 6; * @return Whether the person field is set. @@ -43176,7 +43023,7 @@ public java.lang.String getPerson() { } public static final int STARTINDEX_FIELD_NUMBER = 7; - private int startIndex_; + private int startIndex_ = 0; /** * optional uint32 startIndex = 7; * @return Whether the startIndex field is set. @@ -43195,7 +43042,7 @@ public int getStartIndex() { } public static final int ENDINDEX_FIELD_NUMBER = 9; - private int endIndex_; + private int endIndex_ = 0; /** * optional uint32 endIndex = 9; * @return Whether the endIndex field is set. @@ -43214,7 +43061,7 @@ public int getEndIndex() { } public static final int HEADINDEX_FIELD_NUMBER = 10; - private int headIndex_; + private int headIndex_ = 0; /** * optional int32 headIndex = 10; * @return Whether the headIndex field is set. @@ -43233,7 +43080,8 @@ public int getHeadIndex() { } public static final int HEADSTRING_FIELD_NUMBER = 11; - private volatile java.lang.Object headString_; + @SuppressWarnings("serial") + private volatile java.lang.Object headString_ = ""; /** * optional string headString = 11; * @return Whether the headString field is set. @@ -43281,7 +43129,8 @@ public java.lang.String getHeadString() { } public static final int NERSTRING_FIELD_NUMBER = 12; - private volatile java.lang.Object nerString_; + @SuppressWarnings("serial") + private volatile java.lang.Object nerString_ = ""; /** * optional string nerString = 12; * @return Whether the nerString field is set. @@ -43329,7 +43178,7 @@ public java.lang.String getNerString() { } public static final int ORIGINALREF_FIELD_NUMBER = 13; - private int originalRef_; + private int originalRef_ = 0; /** * optional int32 originalRef = 13; * @return Whether the originalRef field is set. @@ -43348,7 +43197,7 @@ public int getOriginalRef() { } public static final int GOLDCOREFCLUSTERID_FIELD_NUMBER = 14; - private int goldCorefClusterID_; + private int goldCorefClusterID_ = 0; /** * optional int32 goldCorefClusterID = 14; * @return Whether the goldCorefClusterID field is set. @@ -43367,7 +43216,7 @@ public int getGoldCorefClusterID() { } public static final int COREFCLUSTERID_FIELD_NUMBER = 15; - private int corefClusterID_; + private int corefClusterID_ = 0; /** * optional int32 corefClusterID = 15; * @return Whether the corefClusterID field is set. @@ -43386,7 +43235,7 @@ public int getCorefClusterID() { } public static final int MENTIONNUM_FIELD_NUMBER = 16; - private int mentionNum_; + private int mentionNum_ = 0; /** * optional int32 mentionNum = 16; * @return Whether the mentionNum field is set. @@ -43405,7 +43254,7 @@ public int getMentionNum() { } public static final int SENTNUM_FIELD_NUMBER = 17; - private int sentNum_; + private int sentNum_ = 0; /** * optional int32 sentNum = 17; * @return Whether the sentNum field is set. @@ -43424,7 +43273,7 @@ public int getSentNum() { } public static final int UTTER_FIELD_NUMBER = 18; - private int utter_; + private int utter_ = 0; /** * optional int32 utter = 18; * @return Whether the utter field is set. @@ -43443,7 +43292,7 @@ public int getUtter() { } public static final int PARAGRAPH_FIELD_NUMBER = 19; - private int paragraph_; + private int paragraph_ = 0; /** * optional int32 paragraph = 19; * @return Whether the paragraph field is set. @@ -43462,7 +43311,7 @@ public int getParagraph() { } public static final int ISSUBJECT_FIELD_NUMBER = 20; - private boolean isSubject_; + private boolean isSubject_ = false; /** * optional bool isSubject = 20; * @return Whether the isSubject field is set. @@ -43481,7 +43330,7 @@ public boolean getIsSubject() { } public static final int ISDIRECTOBJECT_FIELD_NUMBER = 21; - private boolean isDirectObject_; + private boolean isDirectObject_ = false; /** * optional bool isDirectObject = 21; * @return Whether the isDirectObject field is set. @@ -43500,7 +43349,7 @@ public boolean getIsDirectObject() { } public static final int ISINDIRECTOBJECT_FIELD_NUMBER = 22; - private boolean isIndirectObject_; + private boolean isIndirectObject_ = false; /** * optional bool isIndirectObject = 22; * @return Whether the isIndirectObject field is set. @@ -43519,7 +43368,7 @@ public boolean getIsIndirectObject() { } public static final int ISPREPOSITIONOBJECT_FIELD_NUMBER = 23; - private boolean isPrepositionObject_; + private boolean isPrepositionObject_ = false; /** * optional bool isPrepositionObject = 23; * @return Whether the isPrepositionObject field is set. @@ -43538,7 +43387,7 @@ public boolean getIsPrepositionObject() { } public static final int HASTWIN_FIELD_NUMBER = 24; - private boolean hasTwin_; + private boolean hasTwin_ = false; /** * optional bool hasTwin = 24; * @return Whether the hasTwin field is set. @@ -43557,7 +43406,7 @@ public boolean getHasTwin() { } public static final int GENERIC_FIELD_NUMBER = 25; - private boolean generic_; + private boolean generic_ = false; /** * optional bool generic = 25; * @return Whether the generic field is set. @@ -43576,7 +43425,7 @@ public boolean getGeneric() { } public static final int ISSINGLETON_FIELD_NUMBER = 26; - private boolean isSingleton_; + private boolean isSingleton_ = false; /** * optional bool isSingleton = 26; * @return Whether the isSingleton field is set. @@ -43595,7 +43444,7 @@ public boolean getIsSingleton() { } public static final int HASBASICDEPENDENCY_FIELD_NUMBER = 27; - private boolean hasBasicDependency_; + private boolean hasBasicDependency_ = false; /** * optional bool hasBasicDependency = 27; * @return Whether the hasBasicDependency field is set. @@ -43614,7 +43463,7 @@ public boolean getHasBasicDependency() { } public static final int HASENHANCEDDEPENDENCY_FIELD_NUMBER = 28; - private boolean hasEnhancedDependency_; + private boolean hasEnhancedDependency_ = false; /** * optional bool hasEnhancedDependency = 28; * @return Whether the hasEnhancedDependency field is set. @@ -43633,7 +43482,7 @@ public boolean getHasEnhancedDependency() { } public static final int HASCONTEXTPARSETREE_FIELD_NUMBER = 29; - private boolean hasContextParseTree_; + private boolean hasContextParseTree_ = false; /** * optional bool hasContextParseTree = 29; * @return Whether the hasContextParseTree field is set. @@ -43756,6 +43605,7 @@ public edu.stanford.nlp.pipeline.CoreNLPProtos.SpeakerInfoOrBuilder getSpeakerIn } public static final int SENTENCEWORDS_FIELD_NUMBER = 50; + @SuppressWarnings("serial") private java.util.List sentenceWords_; /** * repeated .edu.stanford.nlp.pipeline.IndexedWord sentenceWords = 50; @@ -43796,6 +43646,7 @@ public edu.stanford.nlp.pipeline.CoreNLPProtos.IndexedWordOrBuilder getSentenceW } public static final int ORIGINALSPAN_FIELD_NUMBER = 51; + @SuppressWarnings("serial") private java.util.List originalSpan_; /** * repeated .edu.stanford.nlp.pipeline.IndexedWord originalSpan = 51; @@ -43836,7 +43687,9 @@ public edu.stanford.nlp.pipeline.CoreNLPProtos.IndexedWordOrBuilder getOriginalS } public static final int DEPENDENTS_FIELD_NUMBER = 52; - private com.google.protobuf.LazyStringList dependents_; + @SuppressWarnings("serial") + private com.google.protobuf.LazyStringArrayList dependents_ = + com.google.protobuf.LazyStringArrayList.emptyList(); /** * repeated string dependents = 52; * @return A list containing the dependents. @@ -43871,7 +43724,9 @@ public java.lang.String getDependents(int index) { } public static final int PREPROCESSEDTERMS_FIELD_NUMBER = 53; - private com.google.protobuf.LazyStringList preprocessedTerms_; + @SuppressWarnings("serial") + private com.google.protobuf.LazyStringArrayList preprocessedTerms_ = + com.google.protobuf.LazyStringArrayList.emptyList(); /** * repeated string preprocessedTerms = 53; * @return A list containing the preprocessedTerms. @@ -43906,7 +43761,9 @@ public java.lang.String getPreprocessedTerms(int index) { } public static final int APPOSITIONS_FIELD_NUMBER = 54; - private com.google.protobuf.Internal.IntList appositions_; + @SuppressWarnings("serial") + private com.google.protobuf.Internal.IntList appositions_ = + emptyIntList(); /** * repeated int32 appositions = 54; * @return A list containing the appositions. @@ -43933,7 +43790,9 @@ public int getAppositions(int index) { } public static final int PREDICATENOMINATIVES_FIELD_NUMBER = 55; - private com.google.protobuf.Internal.IntList predicateNominatives_; + @SuppressWarnings("serial") + private com.google.protobuf.Internal.IntList predicateNominatives_ = + emptyIntList(); /** * repeated int32 predicateNominatives = 55; * @return A list containing the predicateNominatives. @@ -43960,7 +43819,9 @@ public int getPredicateNominatives(int index) { } public static final int RELATIVEPRONOUNS_FIELD_NUMBER = 56; - private com.google.protobuf.Internal.IntList relativePronouns_; + @SuppressWarnings("serial") + private com.google.protobuf.Internal.IntList relativePronouns_ = + emptyIntList(); /** * repeated int32 relativePronouns = 56; * @return A list containing the relativePronouns. @@ -43987,7 +43848,9 @@ public int getRelativePronouns(int index) { } public static final int LISTMEMBERS_FIELD_NUMBER = 57; - private com.google.protobuf.Internal.IntList listMembers_; + @SuppressWarnings("serial") + private com.google.protobuf.Internal.IntList listMembers_ = + emptyIntList(); /** * repeated int32 listMembers = 57; * @return A list containing the listMembers. @@ -44014,7 +43877,9 @@ public int getListMembers(int index) { } public static final int BELONGTOLISTS_FIELD_NUMBER = 58; - private com.google.protobuf.Internal.IntList belongToLists_; + @SuppressWarnings("serial") + private com.google.protobuf.Internal.IntList belongToLists_ = + emptyIntList(); /** * repeated int32 belongToLists = 58; * @return A list containing the belongToLists. @@ -44803,11 +44668,13 @@ public static edu.stanford.nlp.pipeline.CoreNLPProtos.Mention parseFrom( return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } + public static edu.stanford.nlp.pipeline.CoreNLPProtos.Mention parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } + public static edu.stanford.nlp.pipeline.CoreNLPProtos.Mention parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -44893,86 +44760,56 @@ private void maybeForceBuilderInitialization() { @java.lang.Override public Builder clear() { super.clear(); + bitField0_ = 0; + bitField1_ = 0; mentionID_ = 0; - bitField0_ = (bitField0_ & ~0x00000001); mentionType_ = ""; - bitField0_ = (bitField0_ & ~0x00000002); number_ = ""; - bitField0_ = (bitField0_ & ~0x00000004); gender_ = ""; - bitField0_ = (bitField0_ & ~0x00000008); animacy_ = ""; - bitField0_ = (bitField0_ & ~0x00000010); person_ = ""; - bitField0_ = (bitField0_ & ~0x00000020); startIndex_ = 0; - bitField0_ = (bitField0_ & ~0x00000040); endIndex_ = 0; - bitField0_ = (bitField0_ & ~0x00000080); headIndex_ = 0; - bitField0_ = (bitField0_ & ~0x00000100); headString_ = ""; - bitField0_ = (bitField0_ & ~0x00000200); nerString_ = ""; - bitField0_ = (bitField0_ & ~0x00000400); originalRef_ = 0; - bitField0_ = (bitField0_ & ~0x00000800); goldCorefClusterID_ = 0; - bitField0_ = (bitField0_ & ~0x00001000); corefClusterID_ = 0; - bitField0_ = (bitField0_ & ~0x00002000); mentionNum_ = 0; - bitField0_ = (bitField0_ & ~0x00004000); sentNum_ = 0; - bitField0_ = (bitField0_ & ~0x00008000); utter_ = 0; - bitField0_ = (bitField0_ & ~0x00010000); paragraph_ = 0; - bitField0_ = (bitField0_ & ~0x00020000); isSubject_ = false; - bitField0_ = (bitField0_ & ~0x00040000); isDirectObject_ = false; - bitField0_ = (bitField0_ & ~0x00080000); isIndirectObject_ = false; - bitField0_ = (bitField0_ & ~0x00100000); isPrepositionObject_ = false; - bitField0_ = (bitField0_ & ~0x00200000); hasTwin_ = false; - bitField0_ = (bitField0_ & ~0x00400000); generic_ = false; - bitField0_ = (bitField0_ & ~0x00800000); isSingleton_ = false; - bitField0_ = (bitField0_ & ~0x01000000); hasBasicDependency_ = false; - bitField0_ = (bitField0_ & ~0x02000000); hasEnhancedDependency_ = false; - bitField0_ = (bitField0_ & ~0x04000000); hasContextParseTree_ = false; - bitField0_ = (bitField0_ & ~0x08000000); - if (headIndexedWordBuilder_ == null) { - headIndexedWord_ = null; - } else { - headIndexedWordBuilder_.clear(); + headIndexedWord_ = null; + if (headIndexedWordBuilder_ != null) { + headIndexedWordBuilder_.dispose(); + headIndexedWordBuilder_ = null; } - bitField0_ = (bitField0_ & ~0x10000000); - if (dependingVerbBuilder_ == null) { - dependingVerb_ = null; - } else { - dependingVerbBuilder_.clear(); + dependingVerb_ = null; + if (dependingVerbBuilder_ != null) { + dependingVerbBuilder_.dispose(); + dependingVerbBuilder_ = null; } - bitField0_ = (bitField0_ & ~0x20000000); - if (headWordBuilder_ == null) { - headWord_ = null; - } else { - headWordBuilder_.clear(); + headWord_ = null; + if (headWordBuilder_ != null) { + headWordBuilder_.dispose(); + headWordBuilder_ = null; } - bitField0_ = (bitField0_ & ~0x40000000); - if (speakerInfoBuilder_ == null) { - speakerInfo_ = null; - } else { - speakerInfoBuilder_.clear(); + speakerInfo_ = null; + if (speakerInfoBuilder_ != null) { + speakerInfoBuilder_.dispose(); + speakerInfoBuilder_ = null; } - bitField0_ = (bitField0_ & ~0x80000000); if (sentenceWordsBuilder_ == null) { sentenceWords_ = java.util.Collections.emptyList(); } else { @@ -44987,20 +44824,15 @@ public Builder clear() { originalSpanBuilder_.clear(); } bitField1_ = (bitField1_ & ~0x00000002); - dependents_ = com.google.protobuf.LazyStringArrayList.EMPTY; - bitField1_ = (bitField1_ & ~0x00000004); - preprocessedTerms_ = com.google.protobuf.LazyStringArrayList.EMPTY; - bitField1_ = (bitField1_ & ~0x00000008); + dependents_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + preprocessedTerms_ = + com.google.protobuf.LazyStringArrayList.emptyList(); appositions_ = emptyIntList(); - bitField1_ = (bitField1_ & ~0x00000010); predicateNominatives_ = emptyIntList(); - bitField1_ = (bitField1_ & ~0x00000020); relativePronouns_ = emptyIntList(); - bitField1_ = (bitField1_ & ~0x00000040); listMembers_ = emptyIntList(); - bitField1_ = (bitField1_ & ~0x00000080); belongToLists_ = emptyIntList(); - bitField1_ = (bitField1_ & ~0x00000100); return this; } @@ -45027,33 +44859,61 @@ public edu.stanford.nlp.pipeline.CoreNLPProtos.Mention build() { @java.lang.Override public edu.stanford.nlp.pipeline.CoreNLPProtos.Mention buildPartial() { edu.stanford.nlp.pipeline.CoreNLPProtos.Mention result = new edu.stanford.nlp.pipeline.CoreNLPProtos.Mention(this); + buildPartialRepeatedFields(result); + if (bitField0_ != 0) { buildPartial0(result); } + if (bitField1_ != 0) { buildPartial1(result); } + onBuilt(); + return result; + } + + private void buildPartialRepeatedFields(edu.stanford.nlp.pipeline.CoreNLPProtos.Mention result) { + if (sentenceWordsBuilder_ == null) { + if (((bitField1_ & 0x00000001) != 0)) { + sentenceWords_ = java.util.Collections.unmodifiableList(sentenceWords_); + bitField1_ = (bitField1_ & ~0x00000001); + } + result.sentenceWords_ = sentenceWords_; + } else { + result.sentenceWords_ = sentenceWordsBuilder_.build(); + } + if (originalSpanBuilder_ == null) { + if (((bitField1_ & 0x00000002) != 0)) { + originalSpan_ = java.util.Collections.unmodifiableList(originalSpan_); + bitField1_ = (bitField1_ & ~0x00000002); + } + result.originalSpan_ = originalSpan_; + } else { + result.originalSpan_ = originalSpanBuilder_.build(); + } + } + + private void buildPartial0(edu.stanford.nlp.pipeline.CoreNLPProtos.Mention result) { int from_bitField0_ = bitField0_; - int from_bitField1_ = bitField1_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { result.mentionID_ = mentionID_; to_bitField0_ |= 0x00000001; } if (((from_bitField0_ & 0x00000002) != 0)) { + result.mentionType_ = mentionType_; to_bitField0_ |= 0x00000002; } - result.mentionType_ = mentionType_; if (((from_bitField0_ & 0x00000004) != 0)) { + result.number_ = number_; to_bitField0_ |= 0x00000004; } - result.number_ = number_; if (((from_bitField0_ & 0x00000008) != 0)) { + result.gender_ = gender_; to_bitField0_ |= 0x00000008; } - result.gender_ = gender_; if (((from_bitField0_ & 0x00000010) != 0)) { + result.animacy_ = animacy_; to_bitField0_ |= 0x00000010; } - result.animacy_ = animacy_; if (((from_bitField0_ & 0x00000020) != 0)) { + result.person_ = person_; to_bitField0_ |= 0x00000020; } - result.person_ = person_; if (((from_bitField0_ & 0x00000040) != 0)) { result.startIndex_ = startIndex_; to_bitField0_ |= 0x00000040; @@ -45067,13 +44927,13 @@ public edu.stanford.nlp.pipeline.CoreNLPProtos.Mention buildPartial() { to_bitField0_ |= 0x00000100; } if (((from_bitField0_ & 0x00000200) != 0)) { + result.headString_ = headString_; to_bitField0_ |= 0x00000200; } - result.headString_ = headString_; if (((from_bitField0_ & 0x00000400) != 0)) { + result.nerString_ = nerString_; to_bitField0_ |= 0x00000400; } - result.nerString_ = nerString_; if (((from_bitField0_ & 0x00000800) != 0)) { result.originalRef_ = originalRef_; to_bitField0_ |= 0x00000800; @@ -45143,93 +45003,62 @@ public edu.stanford.nlp.pipeline.CoreNLPProtos.Mention buildPartial() { to_bitField0_ |= 0x08000000; } if (((from_bitField0_ & 0x10000000) != 0)) { - if (headIndexedWordBuilder_ == null) { - result.headIndexedWord_ = headIndexedWord_; - } else { - result.headIndexedWord_ = headIndexedWordBuilder_.build(); - } + result.headIndexedWord_ = headIndexedWordBuilder_ == null + ? headIndexedWord_ + : headIndexedWordBuilder_.build(); to_bitField0_ |= 0x10000000; } if (((from_bitField0_ & 0x20000000) != 0)) { - if (dependingVerbBuilder_ == null) { - result.dependingVerb_ = dependingVerb_; - } else { - result.dependingVerb_ = dependingVerbBuilder_.build(); - } + result.dependingVerb_ = dependingVerbBuilder_ == null + ? dependingVerb_ + : dependingVerbBuilder_.build(); to_bitField0_ |= 0x20000000; } if (((from_bitField0_ & 0x40000000) != 0)) { - if (headWordBuilder_ == null) { - result.headWord_ = headWord_; - } else { - result.headWord_ = headWordBuilder_.build(); - } + result.headWord_ = headWordBuilder_ == null + ? headWord_ + : headWordBuilder_.build(); to_bitField0_ |= 0x40000000; } if (((from_bitField0_ & 0x80000000) != 0)) { - if (speakerInfoBuilder_ == null) { - result.speakerInfo_ = speakerInfo_; - } else { - result.speakerInfo_ = speakerInfoBuilder_.build(); - } + result.speakerInfo_ = speakerInfoBuilder_ == null + ? speakerInfo_ + : speakerInfoBuilder_.build(); to_bitField0_ |= 0x80000000; } - if (sentenceWordsBuilder_ == null) { - if (((bitField1_ & 0x00000001) != 0)) { - sentenceWords_ = java.util.Collections.unmodifiableList(sentenceWords_); - bitField1_ = (bitField1_ & ~0x00000001); - } - result.sentenceWords_ = sentenceWords_; - } else { - result.sentenceWords_ = sentenceWordsBuilder_.build(); - } - if (originalSpanBuilder_ == null) { - if (((bitField1_ & 0x00000002) != 0)) { - originalSpan_ = java.util.Collections.unmodifiableList(originalSpan_); - bitField1_ = (bitField1_ & ~0x00000002); - } - result.originalSpan_ = originalSpan_; - } else { - result.originalSpan_ = originalSpanBuilder_.build(); - } - if (((bitField1_ & 0x00000004) != 0)) { - dependents_ = dependents_.getUnmodifiableView(); - bitField1_ = (bitField1_ & ~0x00000004); + result.bitField0_ |= to_bitField0_; + } + + private void buildPartial1(edu.stanford.nlp.pipeline.CoreNLPProtos.Mention result) { + int from_bitField1_ = bitField1_; + if (((from_bitField1_ & 0x00000004) != 0)) { + dependents_.makeImmutable(); + result.dependents_ = dependents_; } - result.dependents_ = dependents_; - if (((bitField1_ & 0x00000008) != 0)) { - preprocessedTerms_ = preprocessedTerms_.getUnmodifiableView(); - bitField1_ = (bitField1_ & ~0x00000008); + if (((from_bitField1_ & 0x00000008) != 0)) { + preprocessedTerms_.makeImmutable(); + result.preprocessedTerms_ = preprocessedTerms_; } - result.preprocessedTerms_ = preprocessedTerms_; - if (((bitField1_ & 0x00000010) != 0)) { + if (((from_bitField1_ & 0x00000010) != 0)) { appositions_.makeImmutable(); - bitField1_ = (bitField1_ & ~0x00000010); + result.appositions_ = appositions_; } - result.appositions_ = appositions_; - if (((bitField1_ & 0x00000020) != 0)) { + if (((from_bitField1_ & 0x00000020) != 0)) { predicateNominatives_.makeImmutable(); - bitField1_ = (bitField1_ & ~0x00000020); + result.predicateNominatives_ = predicateNominatives_; } - result.predicateNominatives_ = predicateNominatives_; - if (((bitField1_ & 0x00000040) != 0)) { + if (((from_bitField1_ & 0x00000040) != 0)) { relativePronouns_.makeImmutable(); - bitField1_ = (bitField1_ & ~0x00000040); + result.relativePronouns_ = relativePronouns_; } - result.relativePronouns_ = relativePronouns_; - if (((bitField1_ & 0x00000080) != 0)) { + if (((from_bitField1_ & 0x00000080) != 0)) { listMembers_.makeImmutable(); - bitField1_ = (bitField1_ & ~0x00000080); + result.listMembers_ = listMembers_; } - result.listMembers_ = listMembers_; - if (((bitField1_ & 0x00000100) != 0)) { + if (((from_bitField1_ & 0x00000100) != 0)) { belongToLists_.makeImmutable(); - bitField1_ = (bitField1_ & ~0x00000100); + result.belongToLists_ = belongToLists_; } - result.belongToLists_ = belongToLists_; - result.bitField0_ = to_bitField0_; - onBuilt(); - return result; } @java.lang.Override @@ -45280,28 +45109,28 @@ public Builder mergeFrom(edu.stanford.nlp.pipeline.CoreNLPProtos.Mention other) setMentionID(other.getMentionID()); } if (other.hasMentionType()) { - bitField0_ |= 0x00000002; mentionType_ = other.mentionType_; + bitField0_ |= 0x00000002; onChanged(); } if (other.hasNumber()) { - bitField0_ |= 0x00000004; number_ = other.number_; + bitField0_ |= 0x00000004; onChanged(); } if (other.hasGender()) { - bitField0_ |= 0x00000008; gender_ = other.gender_; + bitField0_ |= 0x00000008; onChanged(); } if (other.hasAnimacy()) { - bitField0_ |= 0x00000010; animacy_ = other.animacy_; + bitField0_ |= 0x00000010; onChanged(); } if (other.hasPerson()) { - bitField0_ |= 0x00000020; person_ = other.person_; + bitField0_ |= 0x00000020; onChanged(); } if (other.hasStartIndex()) { @@ -45314,13 +45143,13 @@ public Builder mergeFrom(edu.stanford.nlp.pipeline.CoreNLPProtos.Mention other) setHeadIndex(other.getHeadIndex()); } if (other.hasHeadString()) { - bitField0_ |= 0x00000200; headString_ = other.headString_; + bitField0_ |= 0x00000200; onChanged(); } if (other.hasNerString()) { - bitField0_ |= 0x00000400; nerString_ = other.nerString_; + bitField0_ |= 0x00000400; onChanged(); } if (other.hasOriginalRef()) { @@ -45441,7 +45270,7 @@ public Builder mergeFrom(edu.stanford.nlp.pipeline.CoreNLPProtos.Mention other) if (!other.dependents_.isEmpty()) { if (dependents_.isEmpty()) { dependents_ = other.dependents_; - bitField1_ = (bitField1_ & ~0x00000004); + bitField1_ |= 0x00000004; } else { ensureDependentsIsMutable(); dependents_.addAll(other.dependents_); @@ -45451,7 +45280,7 @@ public Builder mergeFrom(edu.stanford.nlp.pipeline.CoreNLPProtos.Mention other) if (!other.preprocessedTerms_.isEmpty()) { if (preprocessedTerms_.isEmpty()) { preprocessedTerms_ = other.preprocessedTerms_; - bitField1_ = (bitField1_ & ~0x00000008); + bitField1_ |= 0x00000008; } else { ensurePreprocessedTermsIsMutable(); preprocessedTerms_.addAll(other.preprocessedTerms_); @@ -45461,7 +45290,8 @@ public Builder mergeFrom(edu.stanford.nlp.pipeline.CoreNLPProtos.Mention other) if (!other.appositions_.isEmpty()) { if (appositions_.isEmpty()) { appositions_ = other.appositions_; - bitField1_ = (bitField1_ & ~0x00000010); + appositions_.makeImmutable(); + bitField1_ |= 0x00000010; } else { ensureAppositionsIsMutable(); appositions_.addAll(other.appositions_); @@ -45471,7 +45301,8 @@ public Builder mergeFrom(edu.stanford.nlp.pipeline.CoreNLPProtos.Mention other) if (!other.predicateNominatives_.isEmpty()) { if (predicateNominatives_.isEmpty()) { predicateNominatives_ = other.predicateNominatives_; - bitField1_ = (bitField1_ & ~0x00000020); + predicateNominatives_.makeImmutable(); + bitField1_ |= 0x00000020; } else { ensurePredicateNominativesIsMutable(); predicateNominatives_.addAll(other.predicateNominatives_); @@ -45481,7 +45312,8 @@ public Builder mergeFrom(edu.stanford.nlp.pipeline.CoreNLPProtos.Mention other) if (!other.relativePronouns_.isEmpty()) { if (relativePronouns_.isEmpty()) { relativePronouns_ = other.relativePronouns_; - bitField1_ = (bitField1_ & ~0x00000040); + relativePronouns_.makeImmutable(); + bitField1_ |= 0x00000040; } else { ensureRelativePronounsIsMutable(); relativePronouns_.addAll(other.relativePronouns_); @@ -45491,7 +45323,8 @@ public Builder mergeFrom(edu.stanford.nlp.pipeline.CoreNLPProtos.Mention other) if (!other.listMembers_.isEmpty()) { if (listMembers_.isEmpty()) { listMembers_ = other.listMembers_; - bitField1_ = (bitField1_ & ~0x00000080); + listMembers_.makeImmutable(); + bitField1_ |= 0x00000080; } else { ensureListMembersIsMutable(); listMembers_.addAll(other.listMembers_); @@ -45501,7 +45334,8 @@ public Builder mergeFrom(edu.stanford.nlp.pipeline.CoreNLPProtos.Mention other) if (!other.belongToLists_.isEmpty()) { if (belongToLists_.isEmpty()) { belongToLists_ = other.belongToLists_; - bitField1_ = (bitField1_ & ~0x00000100); + belongToLists_.makeImmutable(); + bitField1_ |= 0x00000100; } else { ensureBelongToListsIsMutable(); belongToLists_.addAll(other.belongToLists_); @@ -45861,8 +45695,9 @@ public int getMentionID() { * @return This builder for chaining. */ public Builder setMentionID(int value) { - bitField0_ |= 0x00000001; + mentionID_ = value; + bitField0_ |= 0x00000001; onChanged(); return this; } @@ -45927,11 +45762,9 @@ public java.lang.String getMentionType() { */ public Builder setMentionType( java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000002; + if (value == null) { throw new NullPointerException(); } mentionType_ = value; + bitField0_ |= 0x00000002; onChanged(); return this; } @@ -45940,8 +45773,8 @@ public Builder setMentionType( * @return This builder for chaining. */ public Builder clearMentionType() { - bitField0_ = (bitField0_ & ~0x00000002); mentionType_ = getDefaultInstance().getMentionType(); + bitField0_ = (bitField0_ & ~0x00000002); onChanged(); return this; } @@ -45952,11 +45785,9 @@ public Builder clearMentionType() { */ public Builder setMentionTypeBytes( com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000002; + if (value == null) { throw new NullPointerException(); } mentionType_ = value; + bitField0_ |= 0x00000002; onChanged(); return this; } @@ -46011,11 +45842,9 @@ public java.lang.String getNumber() { */ public Builder setNumber( java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000004; + if (value == null) { throw new NullPointerException(); } number_ = value; + bitField0_ |= 0x00000004; onChanged(); return this; } @@ -46024,8 +45853,8 @@ public Builder setNumber( * @return This builder for chaining. */ public Builder clearNumber() { - bitField0_ = (bitField0_ & ~0x00000004); number_ = getDefaultInstance().getNumber(); + bitField0_ = (bitField0_ & ~0x00000004); onChanged(); return this; } @@ -46036,11 +45865,9 @@ public Builder clearNumber() { */ public Builder setNumberBytes( com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000004; + if (value == null) { throw new NullPointerException(); } number_ = value; + bitField0_ |= 0x00000004; onChanged(); return this; } @@ -46095,11 +45922,9 @@ public java.lang.String getGender() { */ public Builder setGender( java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000008; + if (value == null) { throw new NullPointerException(); } gender_ = value; + bitField0_ |= 0x00000008; onChanged(); return this; } @@ -46108,8 +45933,8 @@ public Builder setGender( * @return This builder for chaining. */ public Builder clearGender() { - bitField0_ = (bitField0_ & ~0x00000008); gender_ = getDefaultInstance().getGender(); + bitField0_ = (bitField0_ & ~0x00000008); onChanged(); return this; } @@ -46120,11 +45945,9 @@ public Builder clearGender() { */ public Builder setGenderBytes( com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000008; + if (value == null) { throw new NullPointerException(); } gender_ = value; + bitField0_ |= 0x00000008; onChanged(); return this; } @@ -46179,11 +46002,9 @@ public java.lang.String getAnimacy() { */ public Builder setAnimacy( java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000010; + if (value == null) { throw new NullPointerException(); } animacy_ = value; + bitField0_ |= 0x00000010; onChanged(); return this; } @@ -46192,8 +46013,8 @@ public Builder setAnimacy( * @return This builder for chaining. */ public Builder clearAnimacy() { - bitField0_ = (bitField0_ & ~0x00000010); animacy_ = getDefaultInstance().getAnimacy(); + bitField0_ = (bitField0_ & ~0x00000010); onChanged(); return this; } @@ -46204,11 +46025,9 @@ public Builder clearAnimacy() { */ public Builder setAnimacyBytes( com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000010; + if (value == null) { throw new NullPointerException(); } animacy_ = value; + bitField0_ |= 0x00000010; onChanged(); return this; } @@ -46263,11 +46082,9 @@ public java.lang.String getPerson() { */ public Builder setPerson( java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000020; + if (value == null) { throw new NullPointerException(); } person_ = value; + bitField0_ |= 0x00000020; onChanged(); return this; } @@ -46276,8 +46093,8 @@ public Builder setPerson( * @return This builder for chaining. */ public Builder clearPerson() { - bitField0_ = (bitField0_ & ~0x00000020); person_ = getDefaultInstance().getPerson(); + bitField0_ = (bitField0_ & ~0x00000020); onChanged(); return this; } @@ -46288,11 +46105,9 @@ public Builder clearPerson() { */ public Builder setPersonBytes( com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000020; + if (value == null) { throw new NullPointerException(); } person_ = value; + bitField0_ |= 0x00000020; onChanged(); return this; } @@ -46320,8 +46135,9 @@ public int getStartIndex() { * @return This builder for chaining. */ public Builder setStartIndex(int value) { - bitField0_ |= 0x00000040; + startIndex_ = value; + bitField0_ |= 0x00000040; onChanged(); return this; } @@ -46359,8 +46175,9 @@ public int getEndIndex() { * @return This builder for chaining. */ public Builder setEndIndex(int value) { - bitField0_ |= 0x00000080; + endIndex_ = value; + bitField0_ |= 0x00000080; onChanged(); return this; } @@ -46398,8 +46215,9 @@ public int getHeadIndex() { * @return This builder for chaining. */ public Builder setHeadIndex(int value) { - bitField0_ |= 0x00000100; + headIndex_ = value; + bitField0_ |= 0x00000100; onChanged(); return this; } @@ -46464,11 +46282,9 @@ public java.lang.String getHeadString() { */ public Builder setHeadString( java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000200; + if (value == null) { throw new NullPointerException(); } headString_ = value; + bitField0_ |= 0x00000200; onChanged(); return this; } @@ -46477,8 +46293,8 @@ public Builder setHeadString( * @return This builder for chaining. */ public Builder clearHeadString() { - bitField0_ = (bitField0_ & ~0x00000200); headString_ = getDefaultInstance().getHeadString(); + bitField0_ = (bitField0_ & ~0x00000200); onChanged(); return this; } @@ -46489,11 +46305,9 @@ public Builder clearHeadString() { */ public Builder setHeadStringBytes( com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000200; + if (value == null) { throw new NullPointerException(); } headString_ = value; + bitField0_ |= 0x00000200; onChanged(); return this; } @@ -46548,11 +46362,9 @@ public java.lang.String getNerString() { */ public Builder setNerString( java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000400; + if (value == null) { throw new NullPointerException(); } nerString_ = value; + bitField0_ |= 0x00000400; onChanged(); return this; } @@ -46561,8 +46373,8 @@ public Builder setNerString( * @return This builder for chaining. */ public Builder clearNerString() { - bitField0_ = (bitField0_ & ~0x00000400); nerString_ = getDefaultInstance().getNerString(); + bitField0_ = (bitField0_ & ~0x00000400); onChanged(); return this; } @@ -46573,11 +46385,9 @@ public Builder clearNerString() { */ public Builder setNerStringBytes( com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000400; + if (value == null) { throw new NullPointerException(); } nerString_ = value; + bitField0_ |= 0x00000400; onChanged(); return this; } @@ -46605,8 +46415,9 @@ public int getOriginalRef() { * @return This builder for chaining. */ public Builder setOriginalRef(int value) { - bitField0_ |= 0x00000800; + originalRef_ = value; + bitField0_ |= 0x00000800; onChanged(); return this; } @@ -46644,8 +46455,9 @@ public int getGoldCorefClusterID() { * @return This builder for chaining. */ public Builder setGoldCorefClusterID(int value) { - bitField0_ |= 0x00001000; + goldCorefClusterID_ = value; + bitField0_ |= 0x00001000; onChanged(); return this; } @@ -46683,8 +46495,9 @@ public int getCorefClusterID() { * @return This builder for chaining. */ public Builder setCorefClusterID(int value) { - bitField0_ |= 0x00002000; + corefClusterID_ = value; + bitField0_ |= 0x00002000; onChanged(); return this; } @@ -46722,8 +46535,9 @@ public int getMentionNum() { * @return This builder for chaining. */ public Builder setMentionNum(int value) { - bitField0_ |= 0x00004000; + mentionNum_ = value; + bitField0_ |= 0x00004000; onChanged(); return this; } @@ -46761,8 +46575,9 @@ public int getSentNum() { * @return This builder for chaining. */ public Builder setSentNum(int value) { - bitField0_ |= 0x00008000; + sentNum_ = value; + bitField0_ |= 0x00008000; onChanged(); return this; } @@ -46800,8 +46615,9 @@ public int getUtter() { * @return This builder for chaining. */ public Builder setUtter(int value) { - bitField0_ |= 0x00010000; + utter_ = value; + bitField0_ |= 0x00010000; onChanged(); return this; } @@ -46839,8 +46655,9 @@ public int getParagraph() { * @return This builder for chaining. */ public Builder setParagraph(int value) { - bitField0_ |= 0x00020000; + paragraph_ = value; + bitField0_ |= 0x00020000; onChanged(); return this; } @@ -46878,8 +46695,9 @@ public boolean getIsSubject() { * @return This builder for chaining. */ public Builder setIsSubject(boolean value) { - bitField0_ |= 0x00040000; + isSubject_ = value; + bitField0_ |= 0x00040000; onChanged(); return this; } @@ -46917,8 +46735,9 @@ public boolean getIsDirectObject() { * @return This builder for chaining. */ public Builder setIsDirectObject(boolean value) { - bitField0_ |= 0x00080000; + isDirectObject_ = value; + bitField0_ |= 0x00080000; onChanged(); return this; } @@ -46956,8 +46775,9 @@ public boolean getIsIndirectObject() { * @return This builder for chaining. */ public Builder setIsIndirectObject(boolean value) { - bitField0_ |= 0x00100000; + isIndirectObject_ = value; + bitField0_ |= 0x00100000; onChanged(); return this; } @@ -46995,8 +46815,9 @@ public boolean getIsPrepositionObject() { * @return This builder for chaining. */ public Builder setIsPrepositionObject(boolean value) { - bitField0_ |= 0x00200000; + isPrepositionObject_ = value; + bitField0_ |= 0x00200000; onChanged(); return this; } @@ -47034,8 +46855,9 @@ public boolean getHasTwin() { * @return This builder for chaining. */ public Builder setHasTwin(boolean value) { - bitField0_ |= 0x00400000; + hasTwin_ = value; + bitField0_ |= 0x00400000; onChanged(); return this; } @@ -47073,8 +46895,9 @@ public boolean getGeneric() { * @return This builder for chaining. */ public Builder setGeneric(boolean value) { - bitField0_ |= 0x00800000; + generic_ = value; + bitField0_ |= 0x00800000; onChanged(); return this; } @@ -47112,8 +46935,9 @@ public boolean getIsSingleton() { * @return This builder for chaining. */ public Builder setIsSingleton(boolean value) { - bitField0_ |= 0x01000000; + isSingleton_ = value; + bitField0_ |= 0x01000000; onChanged(); return this; } @@ -47151,8 +46975,9 @@ public boolean getHasBasicDependency() { * @return This builder for chaining. */ public Builder setHasBasicDependency(boolean value) { - bitField0_ |= 0x02000000; + hasBasicDependency_ = value; + bitField0_ |= 0x02000000; onChanged(); return this; } @@ -47190,8 +47015,9 @@ public boolean getHasEnhancedDependency() { * @return This builder for chaining. */ public Builder setHasEnhancedDependency(boolean value) { - bitField0_ |= 0x04000000; + hasEnhancedDependency_ = value; + bitField0_ |= 0x04000000; onChanged(); return this; } @@ -47229,8 +47055,9 @@ public boolean getHasContextParseTree() { * @return This builder for chaining. */ public Builder setHasContextParseTree(boolean value) { - bitField0_ |= 0x08000000; + hasContextParseTree_ = value; + bitField0_ |= 0x08000000; onChanged(); return this; } @@ -47275,11 +47102,11 @@ public Builder setHeadIndexedWord(edu.stanford.nlp.pipeline.CoreNLPProtos.Indexe throw new NullPointerException(); } headIndexedWord_ = value; - onChanged(); } else { headIndexedWordBuilder_.setMessage(value); } bitField0_ |= 0x10000000; + onChanged(); return this; } /** @@ -47289,11 +47116,11 @@ public Builder setHeadIndexedWord( edu.stanford.nlp.pipeline.CoreNLPProtos.IndexedWord.Builder builderForValue) { if (headIndexedWordBuilder_ == null) { headIndexedWord_ = builderForValue.build(); - onChanged(); } else { headIndexedWordBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x10000000; + onChanged(); return this; } /** @@ -47302,31 +47129,32 @@ public Builder setHeadIndexedWord( public Builder mergeHeadIndexedWord(edu.stanford.nlp.pipeline.CoreNLPProtos.IndexedWord value) { if (headIndexedWordBuilder_ == null) { if (((bitField0_ & 0x10000000) != 0) && - headIndexedWord_ != null && - headIndexedWord_ != edu.stanford.nlp.pipeline.CoreNLPProtos.IndexedWord.getDefaultInstance()) { - headIndexedWord_ = - edu.stanford.nlp.pipeline.CoreNLPProtos.IndexedWord.newBuilder(headIndexedWord_).mergeFrom(value).buildPartial(); + headIndexedWord_ != null && + headIndexedWord_ != edu.stanford.nlp.pipeline.CoreNLPProtos.IndexedWord.getDefaultInstance()) { + getHeadIndexedWordBuilder().mergeFrom(value); } else { headIndexedWord_ = value; } - onChanged(); } else { headIndexedWordBuilder_.mergeFrom(value); } - bitField0_ |= 0x10000000; + if (headIndexedWord_ != null) { + bitField0_ |= 0x10000000; + onChanged(); + } return this; } /** * optional .edu.stanford.nlp.pipeline.IndexedWord headIndexedWord = 30; */ public Builder clearHeadIndexedWord() { - if (headIndexedWordBuilder_ == null) { - headIndexedWord_ = null; - onChanged(); - } else { - headIndexedWordBuilder_.clear(); - } bitField0_ = (bitField0_ & ~0x10000000); + headIndexedWord_ = null; + if (headIndexedWordBuilder_ != null) { + headIndexedWordBuilder_.dispose(); + headIndexedWordBuilder_ = null; + } + onChanged(); return this; } /** @@ -47395,11 +47223,11 @@ public Builder setDependingVerb(edu.stanford.nlp.pipeline.CoreNLPProtos.IndexedW throw new NullPointerException(); } dependingVerb_ = value; - onChanged(); } else { dependingVerbBuilder_.setMessage(value); } bitField0_ |= 0x20000000; + onChanged(); return this; } /** @@ -47409,11 +47237,11 @@ public Builder setDependingVerb( edu.stanford.nlp.pipeline.CoreNLPProtos.IndexedWord.Builder builderForValue) { if (dependingVerbBuilder_ == null) { dependingVerb_ = builderForValue.build(); - onChanged(); } else { dependingVerbBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x20000000; + onChanged(); return this; } /** @@ -47422,31 +47250,32 @@ public Builder setDependingVerb( public Builder mergeDependingVerb(edu.stanford.nlp.pipeline.CoreNLPProtos.IndexedWord value) { if (dependingVerbBuilder_ == null) { if (((bitField0_ & 0x20000000) != 0) && - dependingVerb_ != null && - dependingVerb_ != edu.stanford.nlp.pipeline.CoreNLPProtos.IndexedWord.getDefaultInstance()) { - dependingVerb_ = - edu.stanford.nlp.pipeline.CoreNLPProtos.IndexedWord.newBuilder(dependingVerb_).mergeFrom(value).buildPartial(); + dependingVerb_ != null && + dependingVerb_ != edu.stanford.nlp.pipeline.CoreNLPProtos.IndexedWord.getDefaultInstance()) { + getDependingVerbBuilder().mergeFrom(value); } else { dependingVerb_ = value; } - onChanged(); } else { dependingVerbBuilder_.mergeFrom(value); } - bitField0_ |= 0x20000000; + if (dependingVerb_ != null) { + bitField0_ |= 0x20000000; + onChanged(); + } return this; } /** * optional .edu.stanford.nlp.pipeline.IndexedWord dependingVerb = 31; */ public Builder clearDependingVerb() { - if (dependingVerbBuilder_ == null) { - dependingVerb_ = null; - onChanged(); - } else { - dependingVerbBuilder_.clear(); - } bitField0_ = (bitField0_ & ~0x20000000); + dependingVerb_ = null; + if (dependingVerbBuilder_ != null) { + dependingVerbBuilder_.dispose(); + dependingVerbBuilder_ = null; + } + onChanged(); return this; } /** @@ -47515,11 +47344,11 @@ public Builder setHeadWord(edu.stanford.nlp.pipeline.CoreNLPProtos.IndexedWord v throw new NullPointerException(); } headWord_ = value; - onChanged(); } else { headWordBuilder_.setMessage(value); } bitField0_ |= 0x40000000; + onChanged(); return this; } /** @@ -47529,11 +47358,11 @@ public Builder setHeadWord( edu.stanford.nlp.pipeline.CoreNLPProtos.IndexedWord.Builder builderForValue) { if (headWordBuilder_ == null) { headWord_ = builderForValue.build(); - onChanged(); } else { headWordBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x40000000; + onChanged(); return this; } /** @@ -47542,31 +47371,32 @@ public Builder setHeadWord( public Builder mergeHeadWord(edu.stanford.nlp.pipeline.CoreNLPProtos.IndexedWord value) { if (headWordBuilder_ == null) { if (((bitField0_ & 0x40000000) != 0) && - headWord_ != null && - headWord_ != edu.stanford.nlp.pipeline.CoreNLPProtos.IndexedWord.getDefaultInstance()) { - headWord_ = - edu.stanford.nlp.pipeline.CoreNLPProtos.IndexedWord.newBuilder(headWord_).mergeFrom(value).buildPartial(); + headWord_ != null && + headWord_ != edu.stanford.nlp.pipeline.CoreNLPProtos.IndexedWord.getDefaultInstance()) { + getHeadWordBuilder().mergeFrom(value); } else { headWord_ = value; } - onChanged(); } else { headWordBuilder_.mergeFrom(value); } - bitField0_ |= 0x40000000; + if (headWord_ != null) { + bitField0_ |= 0x40000000; + onChanged(); + } return this; } /** * optional .edu.stanford.nlp.pipeline.IndexedWord headWord = 32; */ public Builder clearHeadWord() { - if (headWordBuilder_ == null) { - headWord_ = null; - onChanged(); - } else { - headWordBuilder_.clear(); - } bitField0_ = (bitField0_ & ~0x40000000); + headWord_ = null; + if (headWordBuilder_ != null) { + headWordBuilder_.dispose(); + headWordBuilder_ = null; + } + onChanged(); return this; } /** @@ -47635,11 +47465,11 @@ public Builder setSpeakerInfo(edu.stanford.nlp.pipeline.CoreNLPProtos.SpeakerInf throw new NullPointerException(); } speakerInfo_ = value; - onChanged(); } else { speakerInfoBuilder_.setMessage(value); } bitField0_ |= 0x80000000; + onChanged(); return this; } /** @@ -47649,11 +47479,11 @@ public Builder setSpeakerInfo( edu.stanford.nlp.pipeline.CoreNLPProtos.SpeakerInfo.Builder builderForValue) { if (speakerInfoBuilder_ == null) { speakerInfo_ = builderForValue.build(); - onChanged(); } else { speakerInfoBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x80000000; + onChanged(); return this; } /** @@ -47662,31 +47492,32 @@ public Builder setSpeakerInfo( public Builder mergeSpeakerInfo(edu.stanford.nlp.pipeline.CoreNLPProtos.SpeakerInfo value) { if (speakerInfoBuilder_ == null) { if (((bitField0_ & 0x80000000) != 0) && - speakerInfo_ != null && - speakerInfo_ != edu.stanford.nlp.pipeline.CoreNLPProtos.SpeakerInfo.getDefaultInstance()) { - speakerInfo_ = - edu.stanford.nlp.pipeline.CoreNLPProtos.SpeakerInfo.newBuilder(speakerInfo_).mergeFrom(value).buildPartial(); + speakerInfo_ != null && + speakerInfo_ != edu.stanford.nlp.pipeline.CoreNLPProtos.SpeakerInfo.getDefaultInstance()) { + getSpeakerInfoBuilder().mergeFrom(value); } else { speakerInfo_ = value; } - onChanged(); } else { speakerInfoBuilder_.mergeFrom(value); } - bitField0_ |= 0x80000000; + if (speakerInfo_ != null) { + bitField0_ |= 0x80000000; + onChanged(); + } return this; } /** * optional .edu.stanford.nlp.pipeline.SpeakerInfo speakerInfo = 33; */ public Builder clearSpeakerInfo() { - if (speakerInfoBuilder_ == null) { - speakerInfo_ = null; - onChanged(); - } else { - speakerInfoBuilder_.clear(); - } bitField0_ = (bitField0_ & ~0x80000000); + speakerInfo_ = null; + if (speakerInfoBuilder_ != null) { + speakerInfoBuilder_.dispose(); + speakerInfoBuilder_ = null; + } + onChanged(); return this; } /** @@ -48205,12 +48036,13 @@ public edu.stanford.nlp.pipeline.CoreNLPProtos.IndexedWord.Builder addOriginalSp return originalSpanBuilder_; } - private com.google.protobuf.LazyStringList dependents_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private com.google.protobuf.LazyStringArrayList dependents_ = + com.google.protobuf.LazyStringArrayList.emptyList(); private void ensureDependentsIsMutable() { - if (!((bitField1_ & 0x00000004) != 0)) { + if (!dependents_.isModifiable()) { dependents_ = new com.google.protobuf.LazyStringArrayList(dependents_); - bitField1_ |= 0x00000004; - } + } + bitField1_ |= 0x00000004; } /** * repeated string dependents = 52; @@ -48218,7 +48050,8 @@ private void ensureDependentsIsMutable() { */ public com.google.protobuf.ProtocolStringList getDependentsList() { - return dependents_.getUnmodifiableView(); + dependents_.makeImmutable(); + return dependents_; } /** * repeated string dependents = 52; @@ -48252,11 +48085,10 @@ public java.lang.String getDependents(int index) { */ public Builder setDependents( int index, java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - ensureDependentsIsMutable(); + if (value == null) { throw new NullPointerException(); } + ensureDependentsIsMutable(); dependents_.set(index, value); + bitField1_ |= 0x00000004; onChanged(); return this; } @@ -48267,11 +48099,10 @@ public Builder setDependents( */ public Builder addDependents( java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - ensureDependentsIsMutable(); + if (value == null) { throw new NullPointerException(); } + ensureDependentsIsMutable(); dependents_.add(value); + bitField1_ |= 0x00000004; onChanged(); return this; } @@ -48285,6 +48116,7 @@ public Builder addAllDependents( ensureDependentsIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, dependents_); + bitField1_ |= 0x00000004; onChanged(); return this; } @@ -48293,8 +48125,9 @@ public Builder addAllDependents( * @return This builder for chaining. */ public Builder clearDependents() { - dependents_ = com.google.protobuf.LazyStringArrayList.EMPTY; - bitField1_ = (bitField1_ & ~0x00000004); + dependents_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + bitField1_ = (bitField1_ & ~0x00000004);; onChanged(); return this; } @@ -48305,21 +48138,21 @@ public Builder clearDependents() { */ public Builder addDependentsBytes( com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - ensureDependentsIsMutable(); + if (value == null) { throw new NullPointerException(); } + ensureDependentsIsMutable(); dependents_.add(value); + bitField1_ |= 0x00000004; onChanged(); return this; } - private com.google.protobuf.LazyStringList preprocessedTerms_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private com.google.protobuf.LazyStringArrayList preprocessedTerms_ = + com.google.protobuf.LazyStringArrayList.emptyList(); private void ensurePreprocessedTermsIsMutable() { - if (!((bitField1_ & 0x00000008) != 0)) { + if (!preprocessedTerms_.isModifiable()) { preprocessedTerms_ = new com.google.protobuf.LazyStringArrayList(preprocessedTerms_); - bitField1_ |= 0x00000008; - } + } + bitField1_ |= 0x00000008; } /** * repeated string preprocessedTerms = 53; @@ -48327,7 +48160,8 @@ private void ensurePreprocessedTermsIsMutable() { */ public com.google.protobuf.ProtocolStringList getPreprocessedTermsList() { - return preprocessedTerms_.getUnmodifiableView(); + preprocessedTerms_.makeImmutable(); + return preprocessedTerms_; } /** * repeated string preprocessedTerms = 53; @@ -48361,11 +48195,10 @@ public java.lang.String getPreprocessedTerms(int index) { */ public Builder setPreprocessedTerms( int index, java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - ensurePreprocessedTermsIsMutable(); + if (value == null) { throw new NullPointerException(); } + ensurePreprocessedTermsIsMutable(); preprocessedTerms_.set(index, value); + bitField1_ |= 0x00000008; onChanged(); return this; } @@ -48376,11 +48209,10 @@ public Builder setPreprocessedTerms( */ public Builder addPreprocessedTerms( java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - ensurePreprocessedTermsIsMutable(); + if (value == null) { throw new NullPointerException(); } + ensurePreprocessedTermsIsMutable(); preprocessedTerms_.add(value); + bitField1_ |= 0x00000008; onChanged(); return this; } @@ -48394,6 +48226,7 @@ public Builder addAllPreprocessedTerms( ensurePreprocessedTermsIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, preprocessedTerms_); + bitField1_ |= 0x00000008; onChanged(); return this; } @@ -48402,8 +48235,9 @@ public Builder addAllPreprocessedTerms( * @return This builder for chaining. */ public Builder clearPreprocessedTerms() { - preprocessedTerms_ = com.google.protobuf.LazyStringArrayList.EMPTY; - bitField1_ = (bitField1_ & ~0x00000008); + preprocessedTerms_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + bitField1_ = (bitField1_ & ~0x00000008);; onChanged(); return this; } @@ -48414,21 +48248,20 @@ public Builder clearPreprocessedTerms() { */ public Builder addPreprocessedTermsBytes( com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - ensurePreprocessedTermsIsMutable(); + if (value == null) { throw new NullPointerException(); } + ensurePreprocessedTermsIsMutable(); preprocessedTerms_.add(value); + bitField1_ |= 0x00000008; onChanged(); return this; } private com.google.protobuf.Internal.IntList appositions_ = emptyIntList(); private void ensureAppositionsIsMutable() { - if (!((bitField1_ & 0x00000010) != 0)) { - appositions_ = mutableCopy(appositions_); - bitField1_ |= 0x00000010; - } + if (!appositions_.isModifiable()) { + appositions_ = makeMutableCopy(appositions_); + } + bitField1_ |= 0x00000010; } /** * repeated int32 appositions = 54; @@ -48436,8 +48269,8 @@ private void ensureAppositionsIsMutable() { */ public java.util.List getAppositionsList() { - return ((bitField1_ & 0x00000010) != 0) ? - java.util.Collections.unmodifiableList(appositions_) : appositions_; + appositions_.makeImmutable(); + return appositions_; } /** * repeated int32 appositions = 54; @@ -48462,8 +48295,10 @@ public int getAppositions(int index) { */ public Builder setAppositions( int index, int value) { + ensureAppositionsIsMutable(); appositions_.setInt(index, value); + bitField1_ |= 0x00000010; onChanged(); return this; } @@ -48473,8 +48308,10 @@ public Builder setAppositions( * @return This builder for chaining. */ public Builder addAppositions(int value) { + ensureAppositionsIsMutable(); appositions_.addInt(value); + bitField1_ |= 0x00000010; onChanged(); return this; } @@ -48488,6 +48325,7 @@ public Builder addAllAppositions( ensureAppositionsIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, appositions_); + bitField1_ |= 0x00000010; onChanged(); return this; } @@ -48504,10 +48342,10 @@ public Builder clearAppositions() { private com.google.protobuf.Internal.IntList predicateNominatives_ = emptyIntList(); private void ensurePredicateNominativesIsMutable() { - if (!((bitField1_ & 0x00000020) != 0)) { - predicateNominatives_ = mutableCopy(predicateNominatives_); - bitField1_ |= 0x00000020; - } + if (!predicateNominatives_.isModifiable()) { + predicateNominatives_ = makeMutableCopy(predicateNominatives_); + } + bitField1_ |= 0x00000020; } /** * repeated int32 predicateNominatives = 55; @@ -48515,8 +48353,8 @@ private void ensurePredicateNominativesIsMutable() { */ public java.util.List getPredicateNominativesList() { - return ((bitField1_ & 0x00000020) != 0) ? - java.util.Collections.unmodifiableList(predicateNominatives_) : predicateNominatives_; + predicateNominatives_.makeImmutable(); + return predicateNominatives_; } /** * repeated int32 predicateNominatives = 55; @@ -48541,8 +48379,10 @@ public int getPredicateNominatives(int index) { */ public Builder setPredicateNominatives( int index, int value) { + ensurePredicateNominativesIsMutable(); predicateNominatives_.setInt(index, value); + bitField1_ |= 0x00000020; onChanged(); return this; } @@ -48552,8 +48392,10 @@ public Builder setPredicateNominatives( * @return This builder for chaining. */ public Builder addPredicateNominatives(int value) { + ensurePredicateNominativesIsMutable(); predicateNominatives_.addInt(value); + bitField1_ |= 0x00000020; onChanged(); return this; } @@ -48567,6 +48409,7 @@ public Builder addAllPredicateNominatives( ensurePredicateNominativesIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, predicateNominatives_); + bitField1_ |= 0x00000020; onChanged(); return this; } @@ -48583,10 +48426,10 @@ public Builder clearPredicateNominatives() { private com.google.protobuf.Internal.IntList relativePronouns_ = emptyIntList(); private void ensureRelativePronounsIsMutable() { - if (!((bitField1_ & 0x00000040) != 0)) { - relativePronouns_ = mutableCopy(relativePronouns_); - bitField1_ |= 0x00000040; - } + if (!relativePronouns_.isModifiable()) { + relativePronouns_ = makeMutableCopy(relativePronouns_); + } + bitField1_ |= 0x00000040; } /** * repeated int32 relativePronouns = 56; @@ -48594,8 +48437,8 @@ private void ensureRelativePronounsIsMutable() { */ public java.util.List getRelativePronounsList() { - return ((bitField1_ & 0x00000040) != 0) ? - java.util.Collections.unmodifiableList(relativePronouns_) : relativePronouns_; + relativePronouns_.makeImmutable(); + return relativePronouns_; } /** * repeated int32 relativePronouns = 56; @@ -48620,8 +48463,10 @@ public int getRelativePronouns(int index) { */ public Builder setRelativePronouns( int index, int value) { + ensureRelativePronounsIsMutable(); relativePronouns_.setInt(index, value); + bitField1_ |= 0x00000040; onChanged(); return this; } @@ -48631,8 +48476,10 @@ public Builder setRelativePronouns( * @return This builder for chaining. */ public Builder addRelativePronouns(int value) { + ensureRelativePronounsIsMutable(); relativePronouns_.addInt(value); + bitField1_ |= 0x00000040; onChanged(); return this; } @@ -48646,6 +48493,7 @@ public Builder addAllRelativePronouns( ensureRelativePronounsIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, relativePronouns_); + bitField1_ |= 0x00000040; onChanged(); return this; } @@ -48662,10 +48510,10 @@ public Builder clearRelativePronouns() { private com.google.protobuf.Internal.IntList listMembers_ = emptyIntList(); private void ensureListMembersIsMutable() { - if (!((bitField1_ & 0x00000080) != 0)) { - listMembers_ = mutableCopy(listMembers_); - bitField1_ |= 0x00000080; - } + if (!listMembers_.isModifiable()) { + listMembers_ = makeMutableCopy(listMembers_); + } + bitField1_ |= 0x00000080; } /** * repeated int32 listMembers = 57; @@ -48673,8 +48521,8 @@ private void ensureListMembersIsMutable() { */ public java.util.List getListMembersList() { - return ((bitField1_ & 0x00000080) != 0) ? - java.util.Collections.unmodifiableList(listMembers_) : listMembers_; + listMembers_.makeImmutable(); + return listMembers_; } /** * repeated int32 listMembers = 57; @@ -48699,8 +48547,10 @@ public int getListMembers(int index) { */ public Builder setListMembers( int index, int value) { + ensureListMembersIsMutable(); listMembers_.setInt(index, value); + bitField1_ |= 0x00000080; onChanged(); return this; } @@ -48710,8 +48560,10 @@ public Builder setListMembers( * @return This builder for chaining. */ public Builder addListMembers(int value) { + ensureListMembersIsMutable(); listMembers_.addInt(value); + bitField1_ |= 0x00000080; onChanged(); return this; } @@ -48725,6 +48577,7 @@ public Builder addAllListMembers( ensureListMembersIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, listMembers_); + bitField1_ |= 0x00000080; onChanged(); return this; } @@ -48741,10 +48594,10 @@ public Builder clearListMembers() { private com.google.protobuf.Internal.IntList belongToLists_ = emptyIntList(); private void ensureBelongToListsIsMutable() { - if (!((bitField1_ & 0x00000100) != 0)) { - belongToLists_ = mutableCopy(belongToLists_); - bitField1_ |= 0x00000100; - } + if (!belongToLists_.isModifiable()) { + belongToLists_ = makeMutableCopy(belongToLists_); + } + bitField1_ |= 0x00000100; } /** * repeated int32 belongToLists = 58; @@ -48752,8 +48605,8 @@ private void ensureBelongToListsIsMutable() { */ public java.util.List getBelongToListsList() { - return ((bitField1_ & 0x00000100) != 0) ? - java.util.Collections.unmodifiableList(belongToLists_) : belongToLists_; + belongToLists_.makeImmutable(); + return belongToLists_; } /** * repeated int32 belongToLists = 58; @@ -48778,8 +48631,10 @@ public int getBelongToLists(int index) { */ public Builder setBelongToLists( int index, int value) { + ensureBelongToListsIsMutable(); belongToLists_.setInt(index, value); + bitField1_ |= 0x00000100; onChanged(); return this; } @@ -48789,8 +48644,10 @@ public Builder setBelongToLists( * @return This builder for chaining. */ public Builder addBelongToLists(int value) { + ensureBelongToListsIsMutable(); belongToLists_.addInt(value); + bitField1_ |= 0x00000100; onChanged(); return this; } @@ -48804,6 +48661,7 @@ public Builder addAllBelongToLists( ensureBelongToListsIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, belongToLists_); + bitField1_ |= 0x00000100; onChanged(); return this; } @@ -48951,11 +48809,6 @@ protected java.lang.Object newInstance( return new IndexedWord(); } - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return edu.stanford.nlp.pipeline.CoreNLPProtos.internal_static_edu_stanford_nlp_pipeline_IndexedWord_descriptor; @@ -48971,7 +48824,7 @@ protected java.lang.Object newInstance( private int bitField0_; public static final int SENTENCENUM_FIELD_NUMBER = 1; - private int sentenceNum_; + private int sentenceNum_ = 0; /** * optional int32 sentenceNum = 1; * @return Whether the sentenceNum field is set. @@ -48990,7 +48843,7 @@ public int getSentenceNum() { } public static final int TOKENINDEX_FIELD_NUMBER = 2; - private int tokenIndex_; + private int tokenIndex_ = 0; /** * optional int32 tokenIndex = 2; * @return Whether the tokenIndex field is set. @@ -49009,7 +48862,7 @@ public int getTokenIndex() { } public static final int DOCID_FIELD_NUMBER = 3; - private int docID_; + private int docID_ = 0; /** * optional int32 docID = 3; * @return Whether the docID field is set. @@ -49028,7 +48881,7 @@ public int getDocID() { } public static final int COPYCOUNT_FIELD_NUMBER = 4; - private int copyCount_; + private int copyCount_ = 0; /** * optional uint32 copyCount = 4; * @return Whether the copyCount field is set. @@ -49208,11 +49061,13 @@ public static edu.stanford.nlp.pipeline.CoreNLPProtos.IndexedWord parseFrom( return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } + public static edu.stanford.nlp.pipeline.CoreNLPProtos.IndexedWord parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } + public static edu.stanford.nlp.pipeline.CoreNLPProtos.IndexedWord parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -49287,14 +49142,11 @@ private Builder( @java.lang.Override public Builder clear() { super.clear(); + bitField0_ = 0; sentenceNum_ = 0; - bitField0_ = (bitField0_ & ~0x00000001); tokenIndex_ = 0; - bitField0_ = (bitField0_ & ~0x00000002); docID_ = 0; - bitField0_ = (bitField0_ & ~0x00000004); copyCount_ = 0; - bitField0_ = (bitField0_ & ~0x00000008); return this; } @@ -49321,6 +49173,12 @@ public edu.stanford.nlp.pipeline.CoreNLPProtos.IndexedWord build() { @java.lang.Override public edu.stanford.nlp.pipeline.CoreNLPProtos.IndexedWord buildPartial() { edu.stanford.nlp.pipeline.CoreNLPProtos.IndexedWord result = new edu.stanford.nlp.pipeline.CoreNLPProtos.IndexedWord(this); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartial0(edu.stanford.nlp.pipeline.CoreNLPProtos.IndexedWord result) { int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { @@ -49339,9 +49197,7 @@ public edu.stanford.nlp.pipeline.CoreNLPProtos.IndexedWord buildPartial() { result.copyCount_ = copyCount_; to_bitField0_ |= 0x00000008; } - result.bitField0_ = to_bitField0_; - onBuilt(); - return result; + result.bitField0_ |= to_bitField0_; } @java.lang.Override @@ -49486,8 +49342,9 @@ public int getSentenceNum() { * @return This builder for chaining. */ public Builder setSentenceNum(int value) { - bitField0_ |= 0x00000001; + sentenceNum_ = value; + bitField0_ |= 0x00000001; onChanged(); return this; } @@ -49525,8 +49382,9 @@ public int getTokenIndex() { * @return This builder for chaining. */ public Builder setTokenIndex(int value) { - bitField0_ |= 0x00000002; + tokenIndex_ = value; + bitField0_ |= 0x00000002; onChanged(); return this; } @@ -49564,8 +49422,9 @@ public int getDocID() { * @return This builder for chaining. */ public Builder setDocID(int value) { - bitField0_ |= 0x00000004; + docID_ = value; + bitField0_ |= 0x00000004; onChanged(); return this; } @@ -49603,8 +49462,9 @@ public int getCopyCount() { * @return This builder for chaining. */ public Builder setCopyCount(int value) { - bitField0_ |= 0x00000008; + copyCount_ = value; + bitField0_ |= 0x00000008; onChanged(); return this; } @@ -49744,11 +49604,6 @@ protected java.lang.Object newInstance( return new SpeakerInfo(); } - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return edu.stanford.nlp.pipeline.CoreNLPProtos.internal_static_edu_stanford_nlp_pipeline_SpeakerInfo_descriptor; @@ -49764,7 +49619,8 @@ protected java.lang.Object newInstance( private int bitField0_; public static final int SPEAKERNAME_FIELD_NUMBER = 1; - private volatile java.lang.Object speakerName_; + @SuppressWarnings("serial") + private volatile java.lang.Object speakerName_ = ""; /** * optional string speakerName = 1; * @return Whether the speakerName field is set. @@ -49812,7 +49668,9 @@ public java.lang.String getSpeakerName() { } public static final int MENTIONS_FIELD_NUMBER = 2; - private com.google.protobuf.Internal.IntList mentions_; + @SuppressWarnings("serial") + private com.google.protobuf.Internal.IntList mentions_ = + emptyIntList(); /** * repeated int32 mentions = 2; * @return A list containing the mentions. @@ -49969,11 +49827,13 @@ public static edu.stanford.nlp.pipeline.CoreNLPProtos.SpeakerInfo parseFrom( return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } + public static edu.stanford.nlp.pipeline.CoreNLPProtos.SpeakerInfo parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } + public static edu.stanford.nlp.pipeline.CoreNLPProtos.SpeakerInfo parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -50048,10 +49908,9 @@ private Builder( @java.lang.Override public Builder clear() { super.clear(); + bitField0_ = 0; speakerName_ = ""; - bitField0_ = (bitField0_ & ~0x00000001); mentions_ = emptyIntList(); - bitField0_ = (bitField0_ & ~0x00000002); return this; } @@ -50078,20 +49937,23 @@ public edu.stanford.nlp.pipeline.CoreNLPProtos.SpeakerInfo build() { @java.lang.Override public edu.stanford.nlp.pipeline.CoreNLPProtos.SpeakerInfo buildPartial() { edu.stanford.nlp.pipeline.CoreNLPProtos.SpeakerInfo result = new edu.stanford.nlp.pipeline.CoreNLPProtos.SpeakerInfo(this); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartial0(edu.stanford.nlp.pipeline.CoreNLPProtos.SpeakerInfo result) { int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { + result.speakerName_ = speakerName_; to_bitField0_ |= 0x00000001; } - result.speakerName_ = speakerName_; - if (((bitField0_ & 0x00000002) != 0)) { + if (((from_bitField0_ & 0x00000002) != 0)) { mentions_.makeImmutable(); - bitField0_ = (bitField0_ & ~0x00000002); + result.mentions_ = mentions_; } - result.mentions_ = mentions_; - result.bitField0_ = to_bitField0_; - onBuilt(); - return result; + result.bitField0_ |= to_bitField0_; } @java.lang.Override @@ -50139,14 +50001,15 @@ public Builder mergeFrom(com.google.protobuf.Message other) { public Builder mergeFrom(edu.stanford.nlp.pipeline.CoreNLPProtos.SpeakerInfo other) { if (other == edu.stanford.nlp.pipeline.CoreNLPProtos.SpeakerInfo.getDefaultInstance()) return this; if (other.hasSpeakerName()) { - bitField0_ |= 0x00000001; speakerName_ = other.speakerName_; + bitField0_ |= 0x00000001; onChanged(); } if (!other.mentions_.isEmpty()) { if (mentions_.isEmpty()) { mentions_ = other.mentions_; - bitField0_ = (bitField0_ & ~0x00000002); + mentions_.makeImmutable(); + bitField0_ |= 0x00000002; } else { ensureMentionsIsMutable(); mentions_.addAll(other.mentions_); @@ -50267,11 +50130,9 @@ public java.lang.String getSpeakerName() { */ public Builder setSpeakerName( java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000001; + if (value == null) { throw new NullPointerException(); } speakerName_ = value; + bitField0_ |= 0x00000001; onChanged(); return this; } @@ -50280,8 +50141,8 @@ public Builder setSpeakerName( * @return This builder for chaining. */ public Builder clearSpeakerName() { - bitField0_ = (bitField0_ & ~0x00000001); speakerName_ = getDefaultInstance().getSpeakerName(); + bitField0_ = (bitField0_ & ~0x00000001); onChanged(); return this; } @@ -50292,21 +50153,19 @@ public Builder clearSpeakerName() { */ public Builder setSpeakerNameBytes( com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000001; + if (value == null) { throw new NullPointerException(); } speakerName_ = value; + bitField0_ |= 0x00000001; onChanged(); return this; } private com.google.protobuf.Internal.IntList mentions_ = emptyIntList(); private void ensureMentionsIsMutable() { - if (!((bitField0_ & 0x00000002) != 0)) { - mentions_ = mutableCopy(mentions_); - bitField0_ |= 0x00000002; - } + if (!mentions_.isModifiable()) { + mentions_ = makeMutableCopy(mentions_); + } + bitField0_ |= 0x00000002; } /** * repeated int32 mentions = 2; @@ -50314,8 +50173,8 @@ private void ensureMentionsIsMutable() { */ public java.util.List getMentionsList() { - return ((bitField0_ & 0x00000002) != 0) ? - java.util.Collections.unmodifiableList(mentions_) : mentions_; + mentions_.makeImmutable(); + return mentions_; } /** * repeated int32 mentions = 2; @@ -50340,8 +50199,10 @@ public int getMentions(int index) { */ public Builder setMentions( int index, int value) { + ensureMentionsIsMutable(); mentions_.setInt(index, value); + bitField0_ |= 0x00000002; onChanged(); return this; } @@ -50351,8 +50212,10 @@ public Builder setMentions( * @return This builder for chaining. */ public Builder addMentions(int value) { + ensureMentionsIsMutable(); mentions_.addInt(value); + bitField0_ |= 0x00000002; onChanged(); return this; } @@ -50366,6 +50229,7 @@ public Builder addAllMentions( ensureMentionsIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, mentions_); + bitField0_ |= 0x00000002; onChanged(); return this; } @@ -50471,6 +50335,7 @@ public interface SpanOrBuilder extends } /** *
+   *
    * A Span of text
    * 
* @@ -50495,11 +50360,6 @@ protected java.lang.Object newInstance( return new Span(); } - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return edu.stanford.nlp.pipeline.CoreNLPProtos.internal_static_edu_stanford_nlp_pipeline_Span_descriptor; @@ -50515,7 +50375,7 @@ protected java.lang.Object newInstance( private int bitField0_; public static final int BEGIN_FIELD_NUMBER = 1; - private int begin_; + private int begin_ = 0; /** * required uint32 begin = 1; * @return Whether the begin field is set. @@ -50534,7 +50394,7 @@ public int getBegin() { } public static final int END_FIELD_NUMBER = 2; - private int end_; + private int end_ = 0; /** * required uint32 end = 2; * @return Whether the end field is set. @@ -50690,11 +50550,13 @@ public static edu.stanford.nlp.pipeline.CoreNLPProtos.Span parseFrom( return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } + public static edu.stanford.nlp.pipeline.CoreNLPProtos.Span parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } + public static edu.stanford.nlp.pipeline.CoreNLPProtos.Span parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -50738,6 +50600,7 @@ protected Builder newBuilderForType( } /** *
+     *
      * A Span of text
      * 
* @@ -50773,10 +50636,9 @@ private Builder( @java.lang.Override public Builder clear() { super.clear(); + bitField0_ = 0; begin_ = 0; - bitField0_ = (bitField0_ & ~0x00000001); end_ = 0; - bitField0_ = (bitField0_ & ~0x00000002); return this; } @@ -50803,6 +50665,12 @@ public edu.stanford.nlp.pipeline.CoreNLPProtos.Span build() { @java.lang.Override public edu.stanford.nlp.pipeline.CoreNLPProtos.Span buildPartial() { edu.stanford.nlp.pipeline.CoreNLPProtos.Span result = new edu.stanford.nlp.pipeline.CoreNLPProtos.Span(this); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartial0(edu.stanford.nlp.pipeline.CoreNLPProtos.Span result) { int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { @@ -50813,9 +50681,7 @@ public edu.stanford.nlp.pipeline.CoreNLPProtos.Span buildPartial() { result.end_ = end_; to_bitField0_ |= 0x00000002; } - result.bitField0_ = to_bitField0_; - onBuilt(); - return result; + result.bitField0_ |= to_bitField0_; } @java.lang.Override @@ -50950,8 +50816,9 @@ public int getBegin() { * @return This builder for chaining. */ public Builder setBegin(int value) { - bitField0_ |= 0x00000001; + begin_ = value; + bitField0_ |= 0x00000001; onChanged(); return this; } @@ -50989,8 +50856,9 @@ public int getEnd() { * @return This builder for chaining. */ public Builder setEnd(int value) { - bitField0_ |= 0x00000002; + end_ = value; + bitField0_ |= 0x00000002; onChanged(); return this; } @@ -51181,6 +51049,7 @@ public interface TimexOrBuilder extends } /** *
+   *
    * A Timex object, representing a temporal expression (TIMe EXpression)
    * These fields are not *really* optional. CoreNLP will crash without them.
    * 
@@ -51211,11 +51080,6 @@ protected java.lang.Object newInstance( return new Timex(); } - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return edu.stanford.nlp.pipeline.CoreNLPProtos.internal_static_edu_stanford_nlp_pipeline_Timex_descriptor; @@ -51231,7 +51095,8 @@ protected java.lang.Object newInstance( private int bitField0_; public static final int VALUE_FIELD_NUMBER = 1; - private volatile java.lang.Object value_; + @SuppressWarnings("serial") + private volatile java.lang.Object value_ = ""; /** * optional string value = 1; * @return Whether the value field is set. @@ -51279,7 +51144,8 @@ public java.lang.String getValue() { } public static final int ALTVALUE_FIELD_NUMBER = 2; - private volatile java.lang.Object altValue_; + @SuppressWarnings("serial") + private volatile java.lang.Object altValue_ = ""; /** * optional string altValue = 2; * @return Whether the altValue field is set. @@ -51327,7 +51193,8 @@ public java.lang.String getAltValue() { } public static final int TEXT_FIELD_NUMBER = 3; - private volatile java.lang.Object text_; + @SuppressWarnings("serial") + private volatile java.lang.Object text_ = ""; /** * optional string text = 3; * @return Whether the text field is set. @@ -51375,7 +51242,8 @@ public java.lang.String getText() { } public static final int TYPE_FIELD_NUMBER = 4; - private volatile java.lang.Object type_; + @SuppressWarnings("serial") + private volatile java.lang.Object type_ = ""; /** * optional string type = 4; * @return Whether the type field is set. @@ -51423,7 +51291,8 @@ public java.lang.String getType() { } public static final int TID_FIELD_NUMBER = 5; - private volatile java.lang.Object tid_; + @SuppressWarnings("serial") + private volatile java.lang.Object tid_ = ""; /** * optional string tid = 5; * @return Whether the tid field is set. @@ -51471,7 +51340,7 @@ public java.lang.String getTid() { } public static final int BEGINPOINT_FIELD_NUMBER = 6; - private int beginPoint_; + private int beginPoint_ = 0; /** * optional uint32 beginPoint = 6; * @return Whether the beginPoint field is set. @@ -51490,7 +51359,7 @@ public int getBeginPoint() { } public static final int ENDPOINT_FIELD_NUMBER = 7; - private int endPoint_; + private int endPoint_ = 0; /** * optional uint32 endPoint = 7; * @return Whether the endPoint field is set. @@ -51713,11 +51582,13 @@ public static edu.stanford.nlp.pipeline.CoreNLPProtos.Timex parseFrom( return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } + public static edu.stanford.nlp.pipeline.CoreNLPProtos.Timex parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } + public static edu.stanford.nlp.pipeline.CoreNLPProtos.Timex parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -51761,6 +51632,7 @@ protected Builder newBuilderForType( } /** *
+     *
      * A Timex object, representing a temporal expression (TIMe EXpression)
      * These fields are not *really* optional. CoreNLP will crash without them.
      * 
@@ -51797,20 +51669,14 @@ private Builder( @java.lang.Override public Builder clear() { super.clear(); + bitField0_ = 0; value_ = ""; - bitField0_ = (bitField0_ & ~0x00000001); altValue_ = ""; - bitField0_ = (bitField0_ & ~0x00000002); text_ = ""; - bitField0_ = (bitField0_ & ~0x00000004); type_ = ""; - bitField0_ = (bitField0_ & ~0x00000008); tid_ = ""; - bitField0_ = (bitField0_ & ~0x00000010); beginPoint_ = 0; - bitField0_ = (bitField0_ & ~0x00000020); endPoint_ = 0; - bitField0_ = (bitField0_ & ~0x00000040); return this; } @@ -51837,28 +51703,34 @@ public edu.stanford.nlp.pipeline.CoreNLPProtos.Timex build() { @java.lang.Override public edu.stanford.nlp.pipeline.CoreNLPProtos.Timex buildPartial() { edu.stanford.nlp.pipeline.CoreNLPProtos.Timex result = new edu.stanford.nlp.pipeline.CoreNLPProtos.Timex(this); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartial0(edu.stanford.nlp.pipeline.CoreNLPProtos.Timex result) { int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { + result.value_ = value_; to_bitField0_ |= 0x00000001; } - result.value_ = value_; if (((from_bitField0_ & 0x00000002) != 0)) { + result.altValue_ = altValue_; to_bitField0_ |= 0x00000002; } - result.altValue_ = altValue_; if (((from_bitField0_ & 0x00000004) != 0)) { + result.text_ = text_; to_bitField0_ |= 0x00000004; } - result.text_ = text_; if (((from_bitField0_ & 0x00000008) != 0)) { + result.type_ = type_; to_bitField0_ |= 0x00000008; } - result.type_ = type_; if (((from_bitField0_ & 0x00000010) != 0)) { + result.tid_ = tid_; to_bitField0_ |= 0x00000010; } - result.tid_ = tid_; if (((from_bitField0_ & 0x00000020) != 0)) { result.beginPoint_ = beginPoint_; to_bitField0_ |= 0x00000020; @@ -51867,9 +51739,7 @@ public edu.stanford.nlp.pipeline.CoreNLPProtos.Timex buildPartial() { result.endPoint_ = endPoint_; to_bitField0_ |= 0x00000040; } - result.bitField0_ = to_bitField0_; - onBuilt(); - return result; + result.bitField0_ |= to_bitField0_; } @java.lang.Override @@ -51917,28 +51787,28 @@ public Builder mergeFrom(com.google.protobuf.Message other) { public Builder mergeFrom(edu.stanford.nlp.pipeline.CoreNLPProtos.Timex other) { if (other == edu.stanford.nlp.pipeline.CoreNLPProtos.Timex.getDefaultInstance()) return this; if (other.hasValue()) { - bitField0_ |= 0x00000001; value_ = other.value_; + bitField0_ |= 0x00000001; onChanged(); } if (other.hasAltValue()) { - bitField0_ |= 0x00000002; altValue_ = other.altValue_; + bitField0_ |= 0x00000002; onChanged(); } if (other.hasText()) { - bitField0_ |= 0x00000004; text_ = other.text_; + bitField0_ |= 0x00000004; onChanged(); } if (other.hasType()) { - bitField0_ |= 0x00000008; type_ = other.type_; + bitField0_ |= 0x00000008; onChanged(); } if (other.hasTid()) { - bitField0_ |= 0x00000010; tid_ = other.tid_; + bitField0_ |= 0x00000010; onChanged(); } if (other.hasBeginPoint()) { @@ -52075,11 +51945,9 @@ public java.lang.String getValue() { */ public Builder setValue( java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000001; + if (value == null) { throw new NullPointerException(); } value_ = value; + bitField0_ |= 0x00000001; onChanged(); return this; } @@ -52088,8 +51956,8 @@ public Builder setValue( * @return This builder for chaining. */ public Builder clearValue() { - bitField0_ = (bitField0_ & ~0x00000001); value_ = getDefaultInstance().getValue(); + bitField0_ = (bitField0_ & ~0x00000001); onChanged(); return this; } @@ -52100,11 +51968,9 @@ public Builder clearValue() { */ public Builder setValueBytes( com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000001; + if (value == null) { throw new NullPointerException(); } value_ = value; + bitField0_ |= 0x00000001; onChanged(); return this; } @@ -52159,11 +52025,9 @@ public java.lang.String getAltValue() { */ public Builder setAltValue( java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000002; + if (value == null) { throw new NullPointerException(); } altValue_ = value; + bitField0_ |= 0x00000002; onChanged(); return this; } @@ -52172,8 +52036,8 @@ public Builder setAltValue( * @return This builder for chaining. */ public Builder clearAltValue() { - bitField0_ = (bitField0_ & ~0x00000002); altValue_ = getDefaultInstance().getAltValue(); + bitField0_ = (bitField0_ & ~0x00000002); onChanged(); return this; } @@ -52184,11 +52048,9 @@ public Builder clearAltValue() { */ public Builder setAltValueBytes( com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000002; + if (value == null) { throw new NullPointerException(); } altValue_ = value; + bitField0_ |= 0x00000002; onChanged(); return this; } @@ -52243,11 +52105,9 @@ public java.lang.String getText() { */ public Builder setText( java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000004; + if (value == null) { throw new NullPointerException(); } text_ = value; + bitField0_ |= 0x00000004; onChanged(); return this; } @@ -52256,8 +52116,8 @@ public Builder setText( * @return This builder for chaining. */ public Builder clearText() { - bitField0_ = (bitField0_ & ~0x00000004); text_ = getDefaultInstance().getText(); + bitField0_ = (bitField0_ & ~0x00000004); onChanged(); return this; } @@ -52268,11 +52128,9 @@ public Builder clearText() { */ public Builder setTextBytes( com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000004; + if (value == null) { throw new NullPointerException(); } text_ = value; + bitField0_ |= 0x00000004; onChanged(); return this; } @@ -52327,11 +52185,9 @@ public java.lang.String getType() { */ public Builder setType( java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000008; + if (value == null) { throw new NullPointerException(); } type_ = value; + bitField0_ |= 0x00000008; onChanged(); return this; } @@ -52340,8 +52196,8 @@ public Builder setType( * @return This builder for chaining. */ public Builder clearType() { - bitField0_ = (bitField0_ & ~0x00000008); type_ = getDefaultInstance().getType(); + bitField0_ = (bitField0_ & ~0x00000008); onChanged(); return this; } @@ -52352,11 +52208,9 @@ public Builder clearType() { */ public Builder setTypeBytes( com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000008; + if (value == null) { throw new NullPointerException(); } type_ = value; + bitField0_ |= 0x00000008; onChanged(); return this; } @@ -52411,11 +52265,9 @@ public java.lang.String getTid() { */ public Builder setTid( java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000010; + if (value == null) { throw new NullPointerException(); } tid_ = value; + bitField0_ |= 0x00000010; onChanged(); return this; } @@ -52424,8 +52276,8 @@ public Builder setTid( * @return This builder for chaining. */ public Builder clearTid() { - bitField0_ = (bitField0_ & ~0x00000010); tid_ = getDefaultInstance().getTid(); + bitField0_ = (bitField0_ & ~0x00000010); onChanged(); return this; } @@ -52436,11 +52288,9 @@ public Builder clearTid() { */ public Builder setTidBytes( com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000010; + if (value == null) { throw new NullPointerException(); } tid_ = value; + bitField0_ |= 0x00000010; onChanged(); return this; } @@ -52468,8 +52318,9 @@ public int getBeginPoint() { * @return This builder for chaining. */ public Builder setBeginPoint(int value) { - bitField0_ |= 0x00000020; + beginPoint_ = value; + bitField0_ |= 0x00000020; onChanged(); return this; } @@ -52507,8 +52358,9 @@ public int getEndPoint() { * @return This builder for chaining. */ public Builder setEndPoint(int value) { - bitField0_ |= 0x00000040; + endPoint_ = value; + bitField0_ |= 0x00000040; onChanged(); return this; } @@ -52776,6 +52628,7 @@ public interface EntityOrBuilder extends } /** *
+   *
    * A representation of an entity in a relation.
    * This corresponds to the EntityMention, and more broadly the
    * ExtractionObject classes.
@@ -52808,11 +52661,6 @@ protected java.lang.Object newInstance(
       return new Entity();
     }
 
-    @java.lang.Override
-    public final com.google.protobuf.UnknownFieldSet
-    getUnknownFields() {
-      return this.unknownFields;
-    }
     public static final com.google.protobuf.Descriptors.Descriptor
         getDescriptor() {
       return edu.stanford.nlp.pipeline.CoreNLPProtos.internal_static_edu_stanford_nlp_pipeline_Entity_descriptor;
@@ -52828,7 +52676,7 @@ protected java.lang.Object newInstance(
 
     private int bitField0_;
     public static final int HEADSTART_FIELD_NUMBER = 6;
-    private int headStart_;
+    private int headStart_ = 0;
     /**
      * optional uint32 headStart = 6;
      * @return Whether the headStart field is set.
@@ -52847,7 +52695,7 @@ public int getHeadStart() {
     }
 
     public static final int HEADEND_FIELD_NUMBER = 7;
-    private int headEnd_;
+    private int headEnd_ = 0;
     /**
      * optional uint32 headEnd = 7;
      * @return Whether the headEnd field is set.
@@ -52866,7 +52714,8 @@ public int getHeadEnd() {
     }
 
     public static final int MENTIONTYPE_FIELD_NUMBER = 8;
-    private volatile java.lang.Object mentionType_;
+    @SuppressWarnings("serial")
+    private volatile java.lang.Object mentionType_ = "";
     /**
      * optional string mentionType = 8;
      * @return Whether the mentionType field is set.
@@ -52914,7 +52763,8 @@ public java.lang.String getMentionType() {
     }
 
     public static final int NORMALIZEDNAME_FIELD_NUMBER = 9;
-    private volatile java.lang.Object normalizedName_;
+    @SuppressWarnings("serial")
+    private volatile java.lang.Object normalizedName_ = "";
     /**
      * optional string normalizedName = 9;
      * @return Whether the normalizedName field is set.
@@ -52962,7 +52812,7 @@ public java.lang.String getNormalizedName() {
     }
 
     public static final int HEADTOKENINDEX_FIELD_NUMBER = 10;
-    private int headTokenIndex_;
+    private int headTokenIndex_ = 0;
     /**
      * optional uint32 headTokenIndex = 10;
      * @return Whether the headTokenIndex field is set.
@@ -52981,7 +52831,8 @@ public int getHeadTokenIndex() {
     }
 
     public static final int COREFID_FIELD_NUMBER = 11;
-    private volatile java.lang.Object corefID_;
+    @SuppressWarnings("serial")
+    private volatile java.lang.Object corefID_ = "";
     /**
      * optional string corefID = 11;
      * @return Whether the corefID field is set.
@@ -53029,7 +52880,8 @@ public java.lang.String getCorefID() {
     }
 
     public static final int OBJECTID_FIELD_NUMBER = 1;
-    private volatile java.lang.Object objectID_;
+    @SuppressWarnings("serial")
+    private volatile java.lang.Object objectID_ = "";
     /**
      * 
      * inherited from ExtractionObject
@@ -53089,7 +52941,7 @@ public java.lang.String getObjectID() {
     }
 
     public static final int EXTENTSTART_FIELD_NUMBER = 2;
-    private int extentStart_;
+    private int extentStart_ = 0;
     /**
      * optional uint32 extentStart = 2;
      * @return Whether the extentStart field is set.
@@ -53108,7 +52960,7 @@ public int getExtentStart() {
     }
 
     public static final int EXTENTEND_FIELD_NUMBER = 3;
-    private int extentEnd_;
+    private int extentEnd_ = 0;
     /**
      * optional uint32 extentEnd = 3;
      * @return Whether the extentEnd field is set.
@@ -53127,7 +52979,8 @@ public int getExtentEnd() {
     }
 
     public static final int TYPE_FIELD_NUMBER = 4;
-    private volatile java.lang.Object type_;
+    @SuppressWarnings("serial")
+    private volatile java.lang.Object type_ = "";
     /**
      * optional string type = 4;
      * @return Whether the type field is set.
@@ -53175,7 +53028,8 @@ public java.lang.String getType() {
     }
 
     public static final int SUBTYPE_FIELD_NUMBER = 5;
-    private volatile java.lang.Object subtype_;
+    @SuppressWarnings("serial")
+    private volatile java.lang.Object subtype_ = "";
     /**
      * 
      * Implicit
@@ -53505,11 +53359,13 @@ public static edu.stanford.nlp.pipeline.CoreNLPProtos.Entity parseFrom(
       return com.google.protobuf.GeneratedMessageV3
           .parseWithIOException(PARSER, input, extensionRegistry);
     }
+
     public static edu.stanford.nlp.pipeline.CoreNLPProtos.Entity parseDelimitedFrom(java.io.InputStream input)
         throws java.io.IOException {
       return com.google.protobuf.GeneratedMessageV3
           .parseDelimitedWithIOException(PARSER, input);
     }
+
     public static edu.stanford.nlp.pipeline.CoreNLPProtos.Entity parseDelimitedFrom(
         java.io.InputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -53553,6 +53409,7 @@ protected Builder newBuilderForType(
     }
     /**
      * 
+     *
      * A representation of an entity in a relation.
      * This corresponds to the EntityMention, and more broadly the
      * ExtractionObject classes.
@@ -53590,28 +53447,18 @@ private Builder(
       @java.lang.Override
       public Builder clear() {
         super.clear();
+        bitField0_ = 0;
         headStart_ = 0;
-        bitField0_ = (bitField0_ & ~0x00000001);
         headEnd_ = 0;
-        bitField0_ = (bitField0_ & ~0x00000002);
         mentionType_ = "";
-        bitField0_ = (bitField0_ & ~0x00000004);
         normalizedName_ = "";
-        bitField0_ = (bitField0_ & ~0x00000008);
         headTokenIndex_ = 0;
-        bitField0_ = (bitField0_ & ~0x00000010);
         corefID_ = "";
-        bitField0_ = (bitField0_ & ~0x00000020);
         objectID_ = "";
-        bitField0_ = (bitField0_ & ~0x00000040);
         extentStart_ = 0;
-        bitField0_ = (bitField0_ & ~0x00000080);
         extentEnd_ = 0;
-        bitField0_ = (bitField0_ & ~0x00000100);
         type_ = "";
-        bitField0_ = (bitField0_ & ~0x00000200);
         subtype_ = "";
-        bitField0_ = (bitField0_ & ~0x00000400);
         return this;
       }
 
@@ -53638,6 +53485,12 @@ public edu.stanford.nlp.pipeline.CoreNLPProtos.Entity build() {
       @java.lang.Override
       public edu.stanford.nlp.pipeline.CoreNLPProtos.Entity buildPartial() {
         edu.stanford.nlp.pipeline.CoreNLPProtos.Entity result = new edu.stanford.nlp.pipeline.CoreNLPProtos.Entity(this);
+        if (bitField0_ != 0) { buildPartial0(result); }
+        onBuilt();
+        return result;
+      }
+
+      private void buildPartial0(edu.stanford.nlp.pipeline.CoreNLPProtos.Entity result) {
         int from_bitField0_ = bitField0_;
         int to_bitField0_ = 0;
         if (((from_bitField0_ & 0x00000001) != 0)) {
@@ -53649,25 +53502,25 @@ public edu.stanford.nlp.pipeline.CoreNLPProtos.Entity buildPartial() {
           to_bitField0_ |= 0x00000002;
         }
         if (((from_bitField0_ & 0x00000004) != 0)) {
+          result.mentionType_ = mentionType_;
           to_bitField0_ |= 0x00000004;
         }
-        result.mentionType_ = mentionType_;
         if (((from_bitField0_ & 0x00000008) != 0)) {
+          result.normalizedName_ = normalizedName_;
           to_bitField0_ |= 0x00000008;
         }
-        result.normalizedName_ = normalizedName_;
         if (((from_bitField0_ & 0x00000010) != 0)) {
           result.headTokenIndex_ = headTokenIndex_;
           to_bitField0_ |= 0x00000010;
         }
         if (((from_bitField0_ & 0x00000020) != 0)) {
+          result.corefID_ = corefID_;
           to_bitField0_ |= 0x00000020;
         }
-        result.corefID_ = corefID_;
         if (((from_bitField0_ & 0x00000040) != 0)) {
+          result.objectID_ = objectID_;
           to_bitField0_ |= 0x00000040;
         }
-        result.objectID_ = objectID_;
         if (((from_bitField0_ & 0x00000080) != 0)) {
           result.extentStart_ = extentStart_;
           to_bitField0_ |= 0x00000080;
@@ -53677,16 +53530,14 @@ public edu.stanford.nlp.pipeline.CoreNLPProtos.Entity buildPartial() {
           to_bitField0_ |= 0x00000100;
         }
         if (((from_bitField0_ & 0x00000200) != 0)) {
+          result.type_ = type_;
           to_bitField0_ |= 0x00000200;
         }
-        result.type_ = type_;
         if (((from_bitField0_ & 0x00000400) != 0)) {
+          result.subtype_ = subtype_;
           to_bitField0_ |= 0x00000400;
         }
-        result.subtype_ = subtype_;
-        result.bitField0_ = to_bitField0_;
-        onBuilt();
-        return result;
+        result.bitField0_ |= to_bitField0_;
       }
 
       @java.lang.Override
@@ -53740,26 +53591,26 @@ public Builder mergeFrom(edu.stanford.nlp.pipeline.CoreNLPProtos.Entity other) {
           setHeadEnd(other.getHeadEnd());
         }
         if (other.hasMentionType()) {
-          bitField0_ |= 0x00000004;
           mentionType_ = other.mentionType_;
+          bitField0_ |= 0x00000004;
           onChanged();
         }
         if (other.hasNormalizedName()) {
-          bitField0_ |= 0x00000008;
           normalizedName_ = other.normalizedName_;
+          bitField0_ |= 0x00000008;
           onChanged();
         }
         if (other.hasHeadTokenIndex()) {
           setHeadTokenIndex(other.getHeadTokenIndex());
         }
         if (other.hasCorefID()) {
-          bitField0_ |= 0x00000020;
           corefID_ = other.corefID_;
+          bitField0_ |= 0x00000020;
           onChanged();
         }
         if (other.hasObjectID()) {
-          bitField0_ |= 0x00000040;
           objectID_ = other.objectID_;
+          bitField0_ |= 0x00000040;
           onChanged();
         }
         if (other.hasExtentStart()) {
@@ -53769,13 +53620,13 @@ public Builder mergeFrom(edu.stanford.nlp.pipeline.CoreNLPProtos.Entity other) {
           setExtentEnd(other.getExtentEnd());
         }
         if (other.hasType()) {
-          bitField0_ |= 0x00000200;
           type_ = other.type_;
+          bitField0_ |= 0x00000200;
           onChanged();
         }
         if (other.hasSubtype()) {
-          bitField0_ |= 0x00000400;
           subtype_ = other.subtype_;
+          bitField0_ |= 0x00000400;
           onChanged();
         }
         this.mergeUnknownFields(other.getUnknownFields());
@@ -53899,8 +53750,9 @@ public int getHeadStart() {
        * @return This builder for chaining.
        */
       public Builder setHeadStart(int value) {
-        bitField0_ |= 0x00000001;
+
         headStart_ = value;
+        bitField0_ |= 0x00000001;
         onChanged();
         return this;
       }
@@ -53938,8 +53790,9 @@ public int getHeadEnd() {
        * @return This builder for chaining.
        */
       public Builder setHeadEnd(int value) {
-        bitField0_ |= 0x00000002;
+
         headEnd_ = value;
+        bitField0_ |= 0x00000002;
         onChanged();
         return this;
       }
@@ -54004,11 +53857,9 @@ public java.lang.String getMentionType() {
        */
       public Builder setMentionType(
           java.lang.String value) {
-        if (value == null) {
-    throw new NullPointerException();
-  }
-  bitField0_ |= 0x00000004;
+        if (value == null) { throw new NullPointerException(); }
         mentionType_ = value;
+        bitField0_ |= 0x00000004;
         onChanged();
         return this;
       }
@@ -54017,8 +53868,8 @@ public Builder setMentionType(
        * @return This builder for chaining.
        */
       public Builder clearMentionType() {
-        bitField0_ = (bitField0_ & ~0x00000004);
         mentionType_ = getDefaultInstance().getMentionType();
+        bitField0_ = (bitField0_ & ~0x00000004);
         onChanged();
         return this;
       }
@@ -54029,11 +53880,9 @@ public Builder clearMentionType() {
        */
       public Builder setMentionTypeBytes(
           com.google.protobuf.ByteString value) {
-        if (value == null) {
-    throw new NullPointerException();
-  }
-  bitField0_ |= 0x00000004;
+        if (value == null) { throw new NullPointerException(); }
         mentionType_ = value;
+        bitField0_ |= 0x00000004;
         onChanged();
         return this;
       }
@@ -54088,11 +53937,9 @@ public java.lang.String getNormalizedName() {
        */
       public Builder setNormalizedName(
           java.lang.String value) {
-        if (value == null) {
-    throw new NullPointerException();
-  }
-  bitField0_ |= 0x00000008;
+        if (value == null) { throw new NullPointerException(); }
         normalizedName_ = value;
+        bitField0_ |= 0x00000008;
         onChanged();
         return this;
       }
@@ -54101,8 +53948,8 @@ public Builder setNormalizedName(
        * @return This builder for chaining.
        */
       public Builder clearNormalizedName() {
-        bitField0_ = (bitField0_ & ~0x00000008);
         normalizedName_ = getDefaultInstance().getNormalizedName();
+        bitField0_ = (bitField0_ & ~0x00000008);
         onChanged();
         return this;
       }
@@ -54113,11 +53960,9 @@ public Builder clearNormalizedName() {
        */
       public Builder setNormalizedNameBytes(
           com.google.protobuf.ByteString value) {
-        if (value == null) {
-    throw new NullPointerException();
-  }
-  bitField0_ |= 0x00000008;
+        if (value == null) { throw new NullPointerException(); }
         normalizedName_ = value;
+        bitField0_ |= 0x00000008;
         onChanged();
         return this;
       }
@@ -54145,8 +53990,9 @@ public int getHeadTokenIndex() {
        * @return This builder for chaining.
        */
       public Builder setHeadTokenIndex(int value) {
-        bitField0_ |= 0x00000010;
+
         headTokenIndex_ = value;
+        bitField0_ |= 0x00000010;
         onChanged();
         return this;
       }
@@ -54211,11 +54057,9 @@ public java.lang.String getCorefID() {
        */
       public Builder setCorefID(
           java.lang.String value) {
-        if (value == null) {
-    throw new NullPointerException();
-  }
-  bitField0_ |= 0x00000020;
+        if (value == null) { throw new NullPointerException(); }
         corefID_ = value;
+        bitField0_ |= 0x00000020;
         onChanged();
         return this;
       }
@@ -54224,8 +54068,8 @@ public Builder setCorefID(
        * @return This builder for chaining.
        */
       public Builder clearCorefID() {
-        bitField0_ = (bitField0_ & ~0x00000020);
         corefID_ = getDefaultInstance().getCorefID();
+        bitField0_ = (bitField0_ & ~0x00000020);
         onChanged();
         return this;
       }
@@ -54236,11 +54080,9 @@ public Builder clearCorefID() {
        */
       public Builder setCorefIDBytes(
           com.google.protobuf.ByteString value) {
-        if (value == null) {
-    throw new NullPointerException();
-  }
-  bitField0_ |= 0x00000020;
+        if (value == null) { throw new NullPointerException(); }
         corefID_ = value;
+        bitField0_ |= 0x00000020;
         onChanged();
         return this;
       }
@@ -54311,11 +54153,9 @@ public java.lang.String getObjectID() {
        */
       public Builder setObjectID(
           java.lang.String value) {
-        if (value == null) {
-    throw new NullPointerException();
-  }
-  bitField0_ |= 0x00000040;
+        if (value == null) { throw new NullPointerException(); }
         objectID_ = value;
+        bitField0_ |= 0x00000040;
         onChanged();
         return this;
       }
@@ -54328,8 +54168,8 @@ public Builder setObjectID(
        * @return This builder for chaining.
        */
       public Builder clearObjectID() {
-        bitField0_ = (bitField0_ & ~0x00000040);
         objectID_ = getDefaultInstance().getObjectID();
+        bitField0_ = (bitField0_ & ~0x00000040);
         onChanged();
         return this;
       }
@@ -54344,11 +54184,9 @@ public Builder clearObjectID() {
        */
       public Builder setObjectIDBytes(
           com.google.protobuf.ByteString value) {
-        if (value == null) {
-    throw new NullPointerException();
-  }
-  bitField0_ |= 0x00000040;
+        if (value == null) { throw new NullPointerException(); }
         objectID_ = value;
+        bitField0_ |= 0x00000040;
         onChanged();
         return this;
       }
@@ -54376,8 +54214,9 @@ public int getExtentStart() {
        * @return This builder for chaining.
        */
       public Builder setExtentStart(int value) {
-        bitField0_ |= 0x00000080;
+
         extentStart_ = value;
+        bitField0_ |= 0x00000080;
         onChanged();
         return this;
       }
@@ -54415,8 +54254,9 @@ public int getExtentEnd() {
        * @return This builder for chaining.
        */
       public Builder setExtentEnd(int value) {
-        bitField0_ |= 0x00000100;
+
         extentEnd_ = value;
+        bitField0_ |= 0x00000100;
         onChanged();
         return this;
       }
@@ -54481,11 +54321,9 @@ public java.lang.String getType() {
        */
       public Builder setType(
           java.lang.String value) {
-        if (value == null) {
-    throw new NullPointerException();
-  }
-  bitField0_ |= 0x00000200;
+        if (value == null) { throw new NullPointerException(); }
         type_ = value;
+        bitField0_ |= 0x00000200;
         onChanged();
         return this;
       }
@@ -54494,8 +54332,8 @@ public Builder setType(
        * @return This builder for chaining.
        */
       public Builder clearType() {
-        bitField0_ = (bitField0_ & ~0x00000200);
         type_ = getDefaultInstance().getType();
+        bitField0_ = (bitField0_ & ~0x00000200);
         onChanged();
         return this;
       }
@@ -54506,11 +54344,9 @@ public Builder clearType() {
        */
       public Builder setTypeBytes(
           com.google.protobuf.ByteString value) {
-        if (value == null) {
-    throw new NullPointerException();
-  }
-  bitField0_ |= 0x00000200;
+        if (value == null) { throw new NullPointerException(); }
         type_ = value;
+        bitField0_ |= 0x00000200;
         onChanged();
         return this;
       }
@@ -54585,11 +54421,9 @@ public java.lang.String getSubtype() {
        */
       public Builder setSubtype(
           java.lang.String value) {
-        if (value == null) {
-    throw new NullPointerException();
-  }
-  bitField0_ |= 0x00000400;
+        if (value == null) { throw new NullPointerException(); }
         subtype_ = value;
+        bitField0_ |= 0x00000400;
         onChanged();
         return this;
       }
@@ -54603,8 +54437,8 @@ public Builder setSubtype(
        * @return This builder for chaining.
        */
       public Builder clearSubtype() {
-        bitField0_ = (bitField0_ & ~0x00000400);
         subtype_ = getDefaultInstance().getSubtype();
+        bitField0_ = (bitField0_ & ~0x00000400);
         onChanged();
         return this;
       }
@@ -54620,11 +54454,9 @@ public Builder clearSubtype() {
        */
       public Builder setSubtypeBytes(
           com.google.protobuf.ByteString value) {
-        if (value == null) {
-    throw new NullPointerException();
-  }
-  bitField0_ |= 0x00000400;
+        if (value == null) { throw new NullPointerException(); }
         subtype_ = value;
+        bitField0_ |= 0x00000400;
         onChanged();
         return this;
       }
@@ -54864,6 +54696,7 @@ edu.stanford.nlp.pipeline.CoreNLPProtos.EntityOrBuilder getArgOrBuilder(
   }
   /**
    * 
+   *
    * A representation of a relation, mirroring RelationMention
    * 
* @@ -54879,7 +54712,8 @@ private Relation(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private Relation() { - argName_ = com.google.protobuf.LazyStringArrayList.EMPTY; + argName_ = + com.google.protobuf.LazyStringArrayList.emptyList(); arg_ = java.util.Collections.emptyList(); signature_ = ""; objectID_ = ""; @@ -54894,11 +54728,6 @@ protected java.lang.Object newInstance( return new Relation(); } - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return edu.stanford.nlp.pipeline.CoreNLPProtos.internal_static_edu_stanford_nlp_pipeline_Relation_descriptor; @@ -54914,7 +54743,9 @@ protected java.lang.Object newInstance( private int bitField0_; public static final int ARGNAME_FIELD_NUMBER = 6; - private com.google.protobuf.LazyStringList argName_; + @SuppressWarnings("serial") + private com.google.protobuf.LazyStringArrayList argName_ = + com.google.protobuf.LazyStringArrayList.emptyList(); /** * repeated string argName = 6; * @return A list containing the argName. @@ -54949,6 +54780,7 @@ public java.lang.String getArgName(int index) { } public static final int ARG_FIELD_NUMBER = 7; + @SuppressWarnings("serial") private java.util.List arg_; /** * repeated .edu.stanford.nlp.pipeline.Entity arg = 7; @@ -54989,7 +54821,8 @@ public edu.stanford.nlp.pipeline.CoreNLPProtos.EntityOrBuilder getArgOrBuilder( } public static final int SIGNATURE_FIELD_NUMBER = 8; - private volatile java.lang.Object signature_; + @SuppressWarnings("serial") + private volatile java.lang.Object signature_ = ""; /** * optional string signature = 8; * @return Whether the signature field is set. @@ -55037,7 +54870,8 @@ public java.lang.String getSignature() { } public static final int OBJECTID_FIELD_NUMBER = 1; - private volatile java.lang.Object objectID_; + @SuppressWarnings("serial") + private volatile java.lang.Object objectID_ = ""; /** *
      * inherited from ExtractionObject
@@ -55097,7 +54931,7 @@ public java.lang.String getObjectID() {
     }
 
     public static final int EXTENTSTART_FIELD_NUMBER = 2;
-    private int extentStart_;
+    private int extentStart_ = 0;
     /**
      * optional uint32 extentStart = 2;
      * @return Whether the extentStart field is set.
@@ -55116,7 +54950,7 @@ public int getExtentStart() {
     }
 
     public static final int EXTENTEND_FIELD_NUMBER = 3;
-    private int extentEnd_;
+    private int extentEnd_ = 0;
     /**
      * optional uint32 extentEnd = 3;
      * @return Whether the extentEnd field is set.
@@ -55135,7 +54969,8 @@ public int getExtentEnd() {
     }
 
     public static final int TYPE_FIELD_NUMBER = 4;
-    private volatile java.lang.Object type_;
+    @SuppressWarnings("serial")
+    private volatile java.lang.Object type_ = "";
     /**
      * optional string type = 4;
      * @return Whether the type field is set.
@@ -55183,7 +55018,8 @@ public java.lang.String getType() {
     }
 
     public static final int SUBTYPE_FIELD_NUMBER = 5;
-    private volatile java.lang.Object subtype_;
+    @SuppressWarnings("serial")
+    private volatile java.lang.Object subtype_ = "";
     /**
      * 
      * Implicit
@@ -55465,11 +55301,13 @@ public static edu.stanford.nlp.pipeline.CoreNLPProtos.Relation parseFrom(
       return com.google.protobuf.GeneratedMessageV3
           .parseWithIOException(PARSER, input, extensionRegistry);
     }
+
     public static edu.stanford.nlp.pipeline.CoreNLPProtos.Relation parseDelimitedFrom(java.io.InputStream input)
         throws java.io.IOException {
       return com.google.protobuf.GeneratedMessageV3
           .parseDelimitedWithIOException(PARSER, input);
     }
+
     public static edu.stanford.nlp.pipeline.CoreNLPProtos.Relation parseDelimitedFrom(
         java.io.InputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -55513,6 +55351,7 @@ protected Builder newBuilderForType(
     }
     /**
      * 
+     *
      * A representation of a relation, mirroring RelationMention
      * 
* @@ -55548,8 +55387,9 @@ private Builder( @java.lang.Override public Builder clear() { super.clear(); - argName_ = com.google.protobuf.LazyStringArrayList.EMPTY; - bitField0_ = (bitField0_ & ~0x00000001); + bitField0_ = 0; + argName_ = + com.google.protobuf.LazyStringArrayList.emptyList(); if (argBuilder_ == null) { arg_ = java.util.Collections.emptyList(); } else { @@ -55558,17 +55398,11 @@ public Builder clear() { } bitField0_ = (bitField0_ & ~0x00000002); signature_ = ""; - bitField0_ = (bitField0_ & ~0x00000004); objectID_ = ""; - bitField0_ = (bitField0_ & ~0x00000008); extentStart_ = 0; - bitField0_ = (bitField0_ & ~0x00000010); extentEnd_ = 0; - bitField0_ = (bitField0_ & ~0x00000020); type_ = ""; - bitField0_ = (bitField0_ & ~0x00000040); subtype_ = ""; - bitField0_ = (bitField0_ & ~0x00000080); return this; } @@ -55595,13 +55429,13 @@ public edu.stanford.nlp.pipeline.CoreNLPProtos.Relation build() { @java.lang.Override public edu.stanford.nlp.pipeline.CoreNLPProtos.Relation buildPartial() { edu.stanford.nlp.pipeline.CoreNLPProtos.Relation result = new edu.stanford.nlp.pipeline.CoreNLPProtos.Relation(this); - int from_bitField0_ = bitField0_; - int to_bitField0_ = 0; - if (((bitField0_ & 0x00000001) != 0)) { - argName_ = argName_.getUnmodifiableView(); - bitField0_ = (bitField0_ & ~0x00000001); - } - result.argName_ = argName_; + buildPartialRepeatedFields(result); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartialRepeatedFields(edu.stanford.nlp.pipeline.CoreNLPProtos.Relation result) { if (argBuilder_ == null) { if (((bitField0_ & 0x00000002) != 0)) { arg_ = java.util.Collections.unmodifiableList(arg_); @@ -55611,14 +55445,23 @@ public edu.stanford.nlp.pipeline.CoreNLPProtos.Relation buildPartial() { } else { result.arg_ = argBuilder_.build(); } + } + + private void buildPartial0(edu.stanford.nlp.pipeline.CoreNLPProtos.Relation result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + argName_.makeImmutable(); + result.argName_ = argName_; + } + int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000004) != 0)) { + result.signature_ = signature_; to_bitField0_ |= 0x00000001; } - result.signature_ = signature_; if (((from_bitField0_ & 0x00000008) != 0)) { + result.objectID_ = objectID_; to_bitField0_ |= 0x00000002; } - result.objectID_ = objectID_; if (((from_bitField0_ & 0x00000010) != 0)) { result.extentStart_ = extentStart_; to_bitField0_ |= 0x00000004; @@ -55628,16 +55471,14 @@ public edu.stanford.nlp.pipeline.CoreNLPProtos.Relation buildPartial() { to_bitField0_ |= 0x00000008; } if (((from_bitField0_ & 0x00000040) != 0)) { + result.type_ = type_; to_bitField0_ |= 0x00000010; } - result.type_ = type_; if (((from_bitField0_ & 0x00000080) != 0)) { + result.subtype_ = subtype_; to_bitField0_ |= 0x00000020; } - result.subtype_ = subtype_; - result.bitField0_ = to_bitField0_; - onBuilt(); - return result; + result.bitField0_ |= to_bitField0_; } @java.lang.Override @@ -55687,7 +55528,7 @@ public Builder mergeFrom(edu.stanford.nlp.pipeline.CoreNLPProtos.Relation other) if (!other.argName_.isEmpty()) { if (argName_.isEmpty()) { argName_ = other.argName_; - bitField0_ = (bitField0_ & ~0x00000001); + bitField0_ |= 0x00000001; } else { ensureArgNameIsMutable(); argName_.addAll(other.argName_); @@ -55721,13 +55562,13 @@ public Builder mergeFrom(edu.stanford.nlp.pipeline.CoreNLPProtos.Relation other) } } if (other.hasSignature()) { - bitField0_ |= 0x00000004; signature_ = other.signature_; + bitField0_ |= 0x00000004; onChanged(); } if (other.hasObjectID()) { - bitField0_ |= 0x00000008; objectID_ = other.objectID_; + bitField0_ |= 0x00000008; onChanged(); } if (other.hasExtentStart()) { @@ -55737,13 +55578,13 @@ public Builder mergeFrom(edu.stanford.nlp.pipeline.CoreNLPProtos.Relation other) setExtentEnd(other.getExtentEnd()); } if (other.hasType()) { - bitField0_ |= 0x00000040; type_ = other.type_; + bitField0_ |= 0x00000040; onChanged(); } if (other.hasSubtype()) { - bitField0_ |= 0x00000080; subtype_ = other.subtype_; + bitField0_ |= 0x00000080; onChanged(); } this.mergeUnknownFields(other.getUnknownFields()); @@ -55838,12 +55679,13 @@ public Builder mergeFrom( } private int bitField0_; - private com.google.protobuf.LazyStringList argName_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private com.google.protobuf.LazyStringArrayList argName_ = + com.google.protobuf.LazyStringArrayList.emptyList(); private void ensureArgNameIsMutable() { - if (!((bitField0_ & 0x00000001) != 0)) { + if (!argName_.isModifiable()) { argName_ = new com.google.protobuf.LazyStringArrayList(argName_); - bitField0_ |= 0x00000001; - } + } + bitField0_ |= 0x00000001; } /** * repeated string argName = 6; @@ -55851,7 +55693,8 @@ private void ensureArgNameIsMutable() { */ public com.google.protobuf.ProtocolStringList getArgNameList() { - return argName_.getUnmodifiableView(); + argName_.makeImmutable(); + return argName_; } /** * repeated string argName = 6; @@ -55885,11 +55728,10 @@ public java.lang.String getArgName(int index) { */ public Builder setArgName( int index, java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - ensureArgNameIsMutable(); + if (value == null) { throw new NullPointerException(); } + ensureArgNameIsMutable(); argName_.set(index, value); + bitField0_ |= 0x00000001; onChanged(); return this; } @@ -55900,11 +55742,10 @@ public Builder setArgName( */ public Builder addArgName( java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - ensureArgNameIsMutable(); + if (value == null) { throw new NullPointerException(); } + ensureArgNameIsMutable(); argName_.add(value); + bitField0_ |= 0x00000001; onChanged(); return this; } @@ -55918,6 +55759,7 @@ public Builder addAllArgName( ensureArgNameIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, argName_); + bitField0_ |= 0x00000001; onChanged(); return this; } @@ -55926,8 +55768,9 @@ public Builder addAllArgName( * @return This builder for chaining. */ public Builder clearArgName() { - argName_ = com.google.protobuf.LazyStringArrayList.EMPTY; - bitField0_ = (bitField0_ & ~0x00000001); + argName_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000001);; onChanged(); return this; } @@ -55938,11 +55781,10 @@ public Builder clearArgName() { */ public Builder addArgNameBytes( com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - ensureArgNameIsMutable(); + if (value == null) { throw new NullPointerException(); } + ensureArgNameIsMutable(); argName_.add(value); + bitField0_ |= 0x00000001; onChanged(); return this; } @@ -56237,11 +56079,9 @@ public java.lang.String getSignature() { */ public Builder setSignature( java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000004; + if (value == null) { throw new NullPointerException(); } signature_ = value; + bitField0_ |= 0x00000004; onChanged(); return this; } @@ -56250,8 +56090,8 @@ public Builder setSignature( * @return This builder for chaining. */ public Builder clearSignature() { - bitField0_ = (bitField0_ & ~0x00000004); signature_ = getDefaultInstance().getSignature(); + bitField0_ = (bitField0_ & ~0x00000004); onChanged(); return this; } @@ -56262,11 +56102,9 @@ public Builder clearSignature() { */ public Builder setSignatureBytes( com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000004; + if (value == null) { throw new NullPointerException(); } signature_ = value; + bitField0_ |= 0x00000004; onChanged(); return this; } @@ -56337,11 +56175,9 @@ public java.lang.String getObjectID() { */ public Builder setObjectID( java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000008; + if (value == null) { throw new NullPointerException(); } objectID_ = value; + bitField0_ |= 0x00000008; onChanged(); return this; } @@ -56354,8 +56190,8 @@ public Builder setObjectID( * @return This builder for chaining. */ public Builder clearObjectID() { - bitField0_ = (bitField0_ & ~0x00000008); objectID_ = getDefaultInstance().getObjectID(); + bitField0_ = (bitField0_ & ~0x00000008); onChanged(); return this; } @@ -56370,11 +56206,9 @@ public Builder clearObjectID() { */ public Builder setObjectIDBytes( com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000008; + if (value == null) { throw new NullPointerException(); } objectID_ = value; + bitField0_ |= 0x00000008; onChanged(); return this; } @@ -56402,8 +56236,9 @@ public int getExtentStart() { * @return This builder for chaining. */ public Builder setExtentStart(int value) { - bitField0_ |= 0x00000010; + extentStart_ = value; + bitField0_ |= 0x00000010; onChanged(); return this; } @@ -56441,8 +56276,9 @@ public int getExtentEnd() { * @return This builder for chaining. */ public Builder setExtentEnd(int value) { - bitField0_ |= 0x00000020; + extentEnd_ = value; + bitField0_ |= 0x00000020; onChanged(); return this; } @@ -56507,11 +56343,9 @@ public java.lang.String getType() { */ public Builder setType( java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000040; + if (value == null) { throw new NullPointerException(); } type_ = value; + bitField0_ |= 0x00000040; onChanged(); return this; } @@ -56520,8 +56354,8 @@ public Builder setType( * @return This builder for chaining. */ public Builder clearType() { - bitField0_ = (bitField0_ & ~0x00000040); type_ = getDefaultInstance().getType(); + bitField0_ = (bitField0_ & ~0x00000040); onChanged(); return this; } @@ -56532,11 +56366,9 @@ public Builder clearType() { */ public Builder setTypeBytes( com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000040; + if (value == null) { throw new NullPointerException(); } type_ = value; + bitField0_ |= 0x00000040; onChanged(); return this; } @@ -56611,11 +56443,9 @@ public java.lang.String getSubtype() { */ public Builder setSubtype( java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000080; + if (value == null) { throw new NullPointerException(); } subtype_ = value; + bitField0_ |= 0x00000080; onChanged(); return this; } @@ -56629,8 +56459,8 @@ public Builder setSubtype( * @return This builder for chaining. */ public Builder clearSubtype() { - bitField0_ = (bitField0_ & ~0x00000080); subtype_ = getDefaultInstance().getSubtype(); + bitField0_ = (bitField0_ & ~0x00000080); onChanged(); return this; } @@ -56646,11 +56476,9 @@ public Builder clearSubtype() { */ public Builder setSubtypeBytes( com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000080; + if (value == null) { throw new NullPointerException(); } subtype_ = value; + bitField0_ |= 0x00000080; onChanged(); return this; } @@ -56807,6 +56635,7 @@ public interface OperatorOrBuilder extends } /** *
+   *
    * A Natural Logic operator
    * 
* @@ -56832,11 +56661,6 @@ protected java.lang.Object newInstance( return new Operator(); } - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return edu.stanford.nlp.pipeline.CoreNLPProtos.internal_static_edu_stanford_nlp_pipeline_Operator_descriptor; @@ -56852,7 +56676,8 @@ protected java.lang.Object newInstance( private int bitField0_; public static final int NAME_FIELD_NUMBER = 1; - private volatile java.lang.Object name_; + @SuppressWarnings("serial") + private volatile java.lang.Object name_ = ""; /** * required string name = 1; * @return Whether the name field is set. @@ -56900,7 +56725,7 @@ public java.lang.String getName() { } public static final int QUANTIFIERSPANBEGIN_FIELD_NUMBER = 2; - private int quantifierSpanBegin_; + private int quantifierSpanBegin_ = 0; /** * required int32 quantifierSpanBegin = 2; * @return Whether the quantifierSpanBegin field is set. @@ -56919,7 +56744,7 @@ public int getQuantifierSpanBegin() { } public static final int QUANTIFIERSPANEND_FIELD_NUMBER = 3; - private int quantifierSpanEnd_; + private int quantifierSpanEnd_ = 0; /** * required int32 quantifierSpanEnd = 3; * @return Whether the quantifierSpanEnd field is set. @@ -56938,7 +56763,7 @@ public int getQuantifierSpanEnd() { } public static final int SUBJECTSPANBEGIN_FIELD_NUMBER = 4; - private int subjectSpanBegin_; + private int subjectSpanBegin_ = 0; /** * required int32 subjectSpanBegin = 4; * @return Whether the subjectSpanBegin field is set. @@ -56957,7 +56782,7 @@ public int getSubjectSpanBegin() { } public static final int SUBJECTSPANEND_FIELD_NUMBER = 5; - private int subjectSpanEnd_; + private int subjectSpanEnd_ = 0; /** * required int32 subjectSpanEnd = 5; * @return Whether the subjectSpanEnd field is set. @@ -56976,7 +56801,7 @@ public int getSubjectSpanEnd() { } public static final int OBJECTSPANBEGIN_FIELD_NUMBER = 6; - private int objectSpanBegin_; + private int objectSpanBegin_ = 0; /** * required int32 objectSpanBegin = 6; * @return Whether the objectSpanBegin field is set. @@ -56995,7 +56820,7 @@ public int getObjectSpanBegin() { } public static final int OBJECTSPANEND_FIELD_NUMBER = 7; - private int objectSpanEnd_; + private int objectSpanEnd_ = 0; /** * required int32 objectSpanEnd = 7; * @return Whether the objectSpanEnd field is set. @@ -57250,11 +57075,13 @@ public static edu.stanford.nlp.pipeline.CoreNLPProtos.Operator parseFrom( return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } + public static edu.stanford.nlp.pipeline.CoreNLPProtos.Operator parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } + public static edu.stanford.nlp.pipeline.CoreNLPProtos.Operator parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -57298,6 +57125,7 @@ protected Builder newBuilderForType( } /** *
+     *
      * A Natural Logic operator
      * 
* @@ -57333,20 +57161,14 @@ private Builder( @java.lang.Override public Builder clear() { super.clear(); + bitField0_ = 0; name_ = ""; - bitField0_ = (bitField0_ & ~0x00000001); quantifierSpanBegin_ = 0; - bitField0_ = (bitField0_ & ~0x00000002); quantifierSpanEnd_ = 0; - bitField0_ = (bitField0_ & ~0x00000004); subjectSpanBegin_ = 0; - bitField0_ = (bitField0_ & ~0x00000008); subjectSpanEnd_ = 0; - bitField0_ = (bitField0_ & ~0x00000010); objectSpanBegin_ = 0; - bitField0_ = (bitField0_ & ~0x00000020); objectSpanEnd_ = 0; - bitField0_ = (bitField0_ & ~0x00000040); return this; } @@ -57373,12 +57195,18 @@ public edu.stanford.nlp.pipeline.CoreNLPProtos.Operator build() { @java.lang.Override public edu.stanford.nlp.pipeline.CoreNLPProtos.Operator buildPartial() { edu.stanford.nlp.pipeline.CoreNLPProtos.Operator result = new edu.stanford.nlp.pipeline.CoreNLPProtos.Operator(this); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartial0(edu.stanford.nlp.pipeline.CoreNLPProtos.Operator result) { int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { + result.name_ = name_; to_bitField0_ |= 0x00000001; } - result.name_ = name_; if (((from_bitField0_ & 0x00000002) != 0)) { result.quantifierSpanBegin_ = quantifierSpanBegin_; to_bitField0_ |= 0x00000002; @@ -57403,9 +57231,7 @@ public edu.stanford.nlp.pipeline.CoreNLPProtos.Operator buildPartial() { result.objectSpanEnd_ = objectSpanEnd_; to_bitField0_ |= 0x00000040; } - result.bitField0_ = to_bitField0_; - onBuilt(); - return result; + result.bitField0_ |= to_bitField0_; } @java.lang.Override @@ -57453,8 +57279,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { public Builder mergeFrom(edu.stanford.nlp.pipeline.CoreNLPProtos.Operator other) { if (other == edu.stanford.nlp.pipeline.CoreNLPProtos.Operator.getDefaultInstance()) return this; if (other.hasName()) { - bitField0_ |= 0x00000001; name_ = other.name_; + bitField0_ |= 0x00000001; onChanged(); } if (other.hasQuantifierSpanBegin()) { @@ -57624,11 +57450,9 @@ public java.lang.String getName() { */ public Builder setName( java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000001; + if (value == null) { throw new NullPointerException(); } name_ = value; + bitField0_ |= 0x00000001; onChanged(); return this; } @@ -57637,8 +57461,8 @@ public Builder setName( * @return This builder for chaining. */ public Builder clearName() { - bitField0_ = (bitField0_ & ~0x00000001); name_ = getDefaultInstance().getName(); + bitField0_ = (bitField0_ & ~0x00000001); onChanged(); return this; } @@ -57649,11 +57473,9 @@ public Builder clearName() { */ public Builder setNameBytes( com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000001; + if (value == null) { throw new NullPointerException(); } name_ = value; + bitField0_ |= 0x00000001; onChanged(); return this; } @@ -57681,8 +57503,9 @@ public int getQuantifierSpanBegin() { * @return This builder for chaining. */ public Builder setQuantifierSpanBegin(int value) { - bitField0_ |= 0x00000002; + quantifierSpanBegin_ = value; + bitField0_ |= 0x00000002; onChanged(); return this; } @@ -57720,8 +57543,9 @@ public int getQuantifierSpanEnd() { * @return This builder for chaining. */ public Builder setQuantifierSpanEnd(int value) { - bitField0_ |= 0x00000004; + quantifierSpanEnd_ = value; + bitField0_ |= 0x00000004; onChanged(); return this; } @@ -57759,8 +57583,9 @@ public int getSubjectSpanBegin() { * @return This builder for chaining. */ public Builder setSubjectSpanBegin(int value) { - bitField0_ |= 0x00000008; + subjectSpanBegin_ = value; + bitField0_ |= 0x00000008; onChanged(); return this; } @@ -57798,8 +57623,9 @@ public int getSubjectSpanEnd() { * @return This builder for chaining. */ public Builder setSubjectSpanEnd(int value) { - bitField0_ |= 0x00000010; + subjectSpanEnd_ = value; + bitField0_ |= 0x00000010; onChanged(); return this; } @@ -57837,8 +57663,9 @@ public int getObjectSpanBegin() { * @return This builder for chaining. */ public Builder setObjectSpanBegin(int value) { - bitField0_ |= 0x00000020; + objectSpanBegin_ = value; + bitField0_ |= 0x00000020; onChanged(); return this; } @@ -57876,8 +57703,9 @@ public int getObjectSpanEnd() { * @return This builder for chaining. */ public Builder setObjectSpanEnd(int value) { - bitField0_ |= 0x00000040; + objectSpanEnd_ = value; + bitField0_ |= 0x00000040; onChanged(); return this; } @@ -58038,6 +57866,7 @@ public interface PolarityOrBuilder extends } /** *
+   *
    * The polarity of a word, according to Natural Logic
    * 
* @@ -58069,11 +57898,6 @@ protected java.lang.Object newInstance( return new Polarity(); } - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return edu.stanford.nlp.pipeline.CoreNLPProtos.internal_static_edu_stanford_nlp_pipeline_Polarity_descriptor; @@ -58089,7 +57913,7 @@ protected java.lang.Object newInstance( private int bitField0_; public static final int PROJECTEQUIVALENCE_FIELD_NUMBER = 1; - private int projectEquivalence_; + private int projectEquivalence_ = 0; /** * required .edu.stanford.nlp.pipeline.NaturalLogicRelation projectEquivalence = 1; * @return Whether the projectEquivalence field is set. @@ -58102,13 +57926,12 @@ protected java.lang.Object newInstance( * @return The projectEquivalence. */ @java.lang.Override public edu.stanford.nlp.pipeline.CoreNLPProtos.NaturalLogicRelation getProjectEquivalence() { - @SuppressWarnings("deprecation") - edu.stanford.nlp.pipeline.CoreNLPProtos.NaturalLogicRelation result = edu.stanford.nlp.pipeline.CoreNLPProtos.NaturalLogicRelation.valueOf(projectEquivalence_); + edu.stanford.nlp.pipeline.CoreNLPProtos.NaturalLogicRelation result = edu.stanford.nlp.pipeline.CoreNLPProtos.NaturalLogicRelation.forNumber(projectEquivalence_); return result == null ? edu.stanford.nlp.pipeline.CoreNLPProtos.NaturalLogicRelation.EQUIVALENCE : result; } public static final int PROJECTFORWARDENTAILMENT_FIELD_NUMBER = 2; - private int projectForwardEntailment_; + private int projectForwardEntailment_ = 0; /** * required .edu.stanford.nlp.pipeline.NaturalLogicRelation projectForwardEntailment = 2; * @return Whether the projectForwardEntailment field is set. @@ -58121,13 +57944,12 @@ protected java.lang.Object newInstance( * @return The projectForwardEntailment. */ @java.lang.Override public edu.stanford.nlp.pipeline.CoreNLPProtos.NaturalLogicRelation getProjectForwardEntailment() { - @SuppressWarnings("deprecation") - edu.stanford.nlp.pipeline.CoreNLPProtos.NaturalLogicRelation result = edu.stanford.nlp.pipeline.CoreNLPProtos.NaturalLogicRelation.valueOf(projectForwardEntailment_); + edu.stanford.nlp.pipeline.CoreNLPProtos.NaturalLogicRelation result = edu.stanford.nlp.pipeline.CoreNLPProtos.NaturalLogicRelation.forNumber(projectForwardEntailment_); return result == null ? edu.stanford.nlp.pipeline.CoreNLPProtos.NaturalLogicRelation.EQUIVALENCE : result; } public static final int PROJECTREVERSEENTAILMENT_FIELD_NUMBER = 3; - private int projectReverseEntailment_; + private int projectReverseEntailment_ = 0; /** * required .edu.stanford.nlp.pipeline.NaturalLogicRelation projectReverseEntailment = 3; * @return Whether the projectReverseEntailment field is set. @@ -58140,13 +57962,12 @@ protected java.lang.Object newInstance( * @return The projectReverseEntailment. */ @java.lang.Override public edu.stanford.nlp.pipeline.CoreNLPProtos.NaturalLogicRelation getProjectReverseEntailment() { - @SuppressWarnings("deprecation") - edu.stanford.nlp.pipeline.CoreNLPProtos.NaturalLogicRelation result = edu.stanford.nlp.pipeline.CoreNLPProtos.NaturalLogicRelation.valueOf(projectReverseEntailment_); + edu.stanford.nlp.pipeline.CoreNLPProtos.NaturalLogicRelation result = edu.stanford.nlp.pipeline.CoreNLPProtos.NaturalLogicRelation.forNumber(projectReverseEntailment_); return result == null ? edu.stanford.nlp.pipeline.CoreNLPProtos.NaturalLogicRelation.EQUIVALENCE : result; } public static final int PROJECTNEGATION_FIELD_NUMBER = 4; - private int projectNegation_; + private int projectNegation_ = 0; /** * required .edu.stanford.nlp.pipeline.NaturalLogicRelation projectNegation = 4; * @return Whether the projectNegation field is set. @@ -58159,13 +57980,12 @@ protected java.lang.Object newInstance( * @return The projectNegation. */ @java.lang.Override public edu.stanford.nlp.pipeline.CoreNLPProtos.NaturalLogicRelation getProjectNegation() { - @SuppressWarnings("deprecation") - edu.stanford.nlp.pipeline.CoreNLPProtos.NaturalLogicRelation result = edu.stanford.nlp.pipeline.CoreNLPProtos.NaturalLogicRelation.valueOf(projectNegation_); + edu.stanford.nlp.pipeline.CoreNLPProtos.NaturalLogicRelation result = edu.stanford.nlp.pipeline.CoreNLPProtos.NaturalLogicRelation.forNumber(projectNegation_); return result == null ? edu.stanford.nlp.pipeline.CoreNLPProtos.NaturalLogicRelation.EQUIVALENCE : result; } public static final int PROJECTALTERNATION_FIELD_NUMBER = 5; - private int projectAlternation_; + private int projectAlternation_ = 0; /** * required .edu.stanford.nlp.pipeline.NaturalLogicRelation projectAlternation = 5; * @return Whether the projectAlternation field is set. @@ -58178,13 +57998,12 @@ protected java.lang.Object newInstance( * @return The projectAlternation. */ @java.lang.Override public edu.stanford.nlp.pipeline.CoreNLPProtos.NaturalLogicRelation getProjectAlternation() { - @SuppressWarnings("deprecation") - edu.stanford.nlp.pipeline.CoreNLPProtos.NaturalLogicRelation result = edu.stanford.nlp.pipeline.CoreNLPProtos.NaturalLogicRelation.valueOf(projectAlternation_); + edu.stanford.nlp.pipeline.CoreNLPProtos.NaturalLogicRelation result = edu.stanford.nlp.pipeline.CoreNLPProtos.NaturalLogicRelation.forNumber(projectAlternation_); return result == null ? edu.stanford.nlp.pipeline.CoreNLPProtos.NaturalLogicRelation.EQUIVALENCE : result; } public static final int PROJECTCOVER_FIELD_NUMBER = 6; - private int projectCover_; + private int projectCover_ = 0; /** * required .edu.stanford.nlp.pipeline.NaturalLogicRelation projectCover = 6; * @return Whether the projectCover field is set. @@ -58197,13 +58016,12 @@ protected java.lang.Object newInstance( * @return The projectCover. */ @java.lang.Override public edu.stanford.nlp.pipeline.CoreNLPProtos.NaturalLogicRelation getProjectCover() { - @SuppressWarnings("deprecation") - edu.stanford.nlp.pipeline.CoreNLPProtos.NaturalLogicRelation result = edu.stanford.nlp.pipeline.CoreNLPProtos.NaturalLogicRelation.valueOf(projectCover_); + edu.stanford.nlp.pipeline.CoreNLPProtos.NaturalLogicRelation result = edu.stanford.nlp.pipeline.CoreNLPProtos.NaturalLogicRelation.forNumber(projectCover_); return result == null ? edu.stanford.nlp.pipeline.CoreNLPProtos.NaturalLogicRelation.EQUIVALENCE : result; } public static final int PROJECTINDEPENDENCE_FIELD_NUMBER = 7; - private int projectIndependence_; + private int projectIndependence_ = 0; /** * required .edu.stanford.nlp.pipeline.NaturalLogicRelation projectIndependence = 7; * @return Whether the projectIndependence field is set. @@ -58216,8 +58034,7 @@ protected java.lang.Object newInstance( * @return The projectIndependence. */ @java.lang.Override public edu.stanford.nlp.pipeline.CoreNLPProtos.NaturalLogicRelation getProjectIndependence() { - @SuppressWarnings("deprecation") - edu.stanford.nlp.pipeline.CoreNLPProtos.NaturalLogicRelation result = edu.stanford.nlp.pipeline.CoreNLPProtos.NaturalLogicRelation.valueOf(projectIndependence_); + edu.stanford.nlp.pipeline.CoreNLPProtos.NaturalLogicRelation result = edu.stanford.nlp.pipeline.CoreNLPProtos.NaturalLogicRelation.forNumber(projectIndependence_); return result == null ? edu.stanford.nlp.pipeline.CoreNLPProtos.NaturalLogicRelation.EQUIVALENCE : result; } @@ -58452,11 +58269,13 @@ public static edu.stanford.nlp.pipeline.CoreNLPProtos.Polarity parseFrom( return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } + public static edu.stanford.nlp.pipeline.CoreNLPProtos.Polarity parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } + public static edu.stanford.nlp.pipeline.CoreNLPProtos.Polarity parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -58500,6 +58319,7 @@ protected Builder newBuilderForType( } /** *
+     *
      * The polarity of a word, according to Natural Logic
      * 
* @@ -58535,20 +58355,14 @@ private Builder( @java.lang.Override public Builder clear() { super.clear(); + bitField0_ = 0; projectEquivalence_ = 0; - bitField0_ = (bitField0_ & ~0x00000001); projectForwardEntailment_ = 0; - bitField0_ = (bitField0_ & ~0x00000002); projectReverseEntailment_ = 0; - bitField0_ = (bitField0_ & ~0x00000004); projectNegation_ = 0; - bitField0_ = (bitField0_ & ~0x00000008); projectAlternation_ = 0; - bitField0_ = (bitField0_ & ~0x00000010); projectCover_ = 0; - bitField0_ = (bitField0_ & ~0x00000020); projectIndependence_ = 0; - bitField0_ = (bitField0_ & ~0x00000040); return this; } @@ -58575,39 +58389,43 @@ public edu.stanford.nlp.pipeline.CoreNLPProtos.Polarity build() { @java.lang.Override public edu.stanford.nlp.pipeline.CoreNLPProtos.Polarity buildPartial() { edu.stanford.nlp.pipeline.CoreNLPProtos.Polarity result = new edu.stanford.nlp.pipeline.CoreNLPProtos.Polarity(this); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartial0(edu.stanford.nlp.pipeline.CoreNLPProtos.Polarity result) { int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { + result.projectEquivalence_ = projectEquivalence_; to_bitField0_ |= 0x00000001; } - result.projectEquivalence_ = projectEquivalence_; if (((from_bitField0_ & 0x00000002) != 0)) { + result.projectForwardEntailment_ = projectForwardEntailment_; to_bitField0_ |= 0x00000002; } - result.projectForwardEntailment_ = projectForwardEntailment_; if (((from_bitField0_ & 0x00000004) != 0)) { + result.projectReverseEntailment_ = projectReverseEntailment_; to_bitField0_ |= 0x00000004; } - result.projectReverseEntailment_ = projectReverseEntailment_; if (((from_bitField0_ & 0x00000008) != 0)) { + result.projectNegation_ = projectNegation_; to_bitField0_ |= 0x00000008; } - result.projectNegation_ = projectNegation_; if (((from_bitField0_ & 0x00000010) != 0)) { + result.projectAlternation_ = projectAlternation_; to_bitField0_ |= 0x00000010; } - result.projectAlternation_ = projectAlternation_; if (((from_bitField0_ & 0x00000020) != 0)) { + result.projectCover_ = projectCover_; to_bitField0_ |= 0x00000020; } - result.projectCover_ = projectCover_; if (((from_bitField0_ & 0x00000040) != 0)) { + result.projectIndependence_ = projectIndependence_; to_bitField0_ |= 0x00000040; } - result.projectIndependence_ = projectIndependence_; - result.bitField0_ = to_bitField0_; - onBuilt(); - return result; + result.bitField0_ |= to_bitField0_; } @java.lang.Override @@ -58837,8 +58655,7 @@ public Builder mergeFrom( */ @java.lang.Override public edu.stanford.nlp.pipeline.CoreNLPProtos.NaturalLogicRelation getProjectEquivalence() { - @SuppressWarnings("deprecation") - edu.stanford.nlp.pipeline.CoreNLPProtos.NaturalLogicRelation result = edu.stanford.nlp.pipeline.CoreNLPProtos.NaturalLogicRelation.valueOf(projectEquivalence_); + edu.stanford.nlp.pipeline.CoreNLPProtos.NaturalLogicRelation result = edu.stanford.nlp.pipeline.CoreNLPProtos.NaturalLogicRelation.forNumber(projectEquivalence_); return result == null ? edu.stanford.nlp.pipeline.CoreNLPProtos.NaturalLogicRelation.EQUIVALENCE : result; } /** @@ -58880,8 +58697,7 @@ public Builder clearProjectEquivalence() { */ @java.lang.Override public edu.stanford.nlp.pipeline.CoreNLPProtos.NaturalLogicRelation getProjectForwardEntailment() { - @SuppressWarnings("deprecation") - edu.stanford.nlp.pipeline.CoreNLPProtos.NaturalLogicRelation result = edu.stanford.nlp.pipeline.CoreNLPProtos.NaturalLogicRelation.valueOf(projectForwardEntailment_); + edu.stanford.nlp.pipeline.CoreNLPProtos.NaturalLogicRelation result = edu.stanford.nlp.pipeline.CoreNLPProtos.NaturalLogicRelation.forNumber(projectForwardEntailment_); return result == null ? edu.stanford.nlp.pipeline.CoreNLPProtos.NaturalLogicRelation.EQUIVALENCE : result; } /** @@ -58923,8 +58739,7 @@ public Builder clearProjectForwardEntailment() { */ @java.lang.Override public edu.stanford.nlp.pipeline.CoreNLPProtos.NaturalLogicRelation getProjectReverseEntailment() { - @SuppressWarnings("deprecation") - edu.stanford.nlp.pipeline.CoreNLPProtos.NaturalLogicRelation result = edu.stanford.nlp.pipeline.CoreNLPProtos.NaturalLogicRelation.valueOf(projectReverseEntailment_); + edu.stanford.nlp.pipeline.CoreNLPProtos.NaturalLogicRelation result = edu.stanford.nlp.pipeline.CoreNLPProtos.NaturalLogicRelation.forNumber(projectReverseEntailment_); return result == null ? edu.stanford.nlp.pipeline.CoreNLPProtos.NaturalLogicRelation.EQUIVALENCE : result; } /** @@ -58966,8 +58781,7 @@ public Builder clearProjectReverseEntailment() { */ @java.lang.Override public edu.stanford.nlp.pipeline.CoreNLPProtos.NaturalLogicRelation getProjectNegation() { - @SuppressWarnings("deprecation") - edu.stanford.nlp.pipeline.CoreNLPProtos.NaturalLogicRelation result = edu.stanford.nlp.pipeline.CoreNLPProtos.NaturalLogicRelation.valueOf(projectNegation_); + edu.stanford.nlp.pipeline.CoreNLPProtos.NaturalLogicRelation result = edu.stanford.nlp.pipeline.CoreNLPProtos.NaturalLogicRelation.forNumber(projectNegation_); return result == null ? edu.stanford.nlp.pipeline.CoreNLPProtos.NaturalLogicRelation.EQUIVALENCE : result; } /** @@ -59009,8 +58823,7 @@ public Builder clearProjectNegation() { */ @java.lang.Override public edu.stanford.nlp.pipeline.CoreNLPProtos.NaturalLogicRelation getProjectAlternation() { - @SuppressWarnings("deprecation") - edu.stanford.nlp.pipeline.CoreNLPProtos.NaturalLogicRelation result = edu.stanford.nlp.pipeline.CoreNLPProtos.NaturalLogicRelation.valueOf(projectAlternation_); + edu.stanford.nlp.pipeline.CoreNLPProtos.NaturalLogicRelation result = edu.stanford.nlp.pipeline.CoreNLPProtos.NaturalLogicRelation.forNumber(projectAlternation_); return result == null ? edu.stanford.nlp.pipeline.CoreNLPProtos.NaturalLogicRelation.EQUIVALENCE : result; } /** @@ -59052,8 +58865,7 @@ public Builder clearProjectAlternation() { */ @java.lang.Override public edu.stanford.nlp.pipeline.CoreNLPProtos.NaturalLogicRelation getProjectCover() { - @SuppressWarnings("deprecation") - edu.stanford.nlp.pipeline.CoreNLPProtos.NaturalLogicRelation result = edu.stanford.nlp.pipeline.CoreNLPProtos.NaturalLogicRelation.valueOf(projectCover_); + edu.stanford.nlp.pipeline.CoreNLPProtos.NaturalLogicRelation result = edu.stanford.nlp.pipeline.CoreNLPProtos.NaturalLogicRelation.forNumber(projectCover_); return result == null ? edu.stanford.nlp.pipeline.CoreNLPProtos.NaturalLogicRelation.EQUIVALENCE : result; } /** @@ -59095,8 +58907,7 @@ public Builder clearProjectCover() { */ @java.lang.Override public edu.stanford.nlp.pipeline.CoreNLPProtos.NaturalLogicRelation getProjectIndependence() { - @SuppressWarnings("deprecation") - edu.stanford.nlp.pipeline.CoreNLPProtos.NaturalLogicRelation result = edu.stanford.nlp.pipeline.CoreNLPProtos.NaturalLogicRelation.valueOf(projectIndependence_); + edu.stanford.nlp.pipeline.CoreNLPProtos.NaturalLogicRelation result = edu.stanford.nlp.pipeline.CoreNLPProtos.NaturalLogicRelation.forNumber(projectIndependence_); return result == null ? edu.stanford.nlp.pipeline.CoreNLPProtos.NaturalLogicRelation.EQUIVALENCE : result; } /** @@ -59365,6 +59176,7 @@ public interface NERMentionOrBuilder extends } /** *
+   *
    * An NER mention in the text
    * 
* @@ -59395,11 +59207,6 @@ protected java.lang.Object newInstance( return new NERMention(); } - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return edu.stanford.nlp.pipeline.CoreNLPProtos.internal_static_edu_stanford_nlp_pipeline_NERMention_descriptor; @@ -59415,7 +59222,7 @@ protected java.lang.Object newInstance( private int bitField0_; public static final int SENTENCEINDEX_FIELD_NUMBER = 1; - private int sentenceIndex_; + private int sentenceIndex_ = 0; /** * optional uint32 sentenceIndex = 1; * @return Whether the sentenceIndex field is set. @@ -59434,7 +59241,7 @@ public int getSentenceIndex() { } public static final int TOKENSTARTINSENTENCEINCLUSIVE_FIELD_NUMBER = 2; - private int tokenStartInSentenceInclusive_; + private int tokenStartInSentenceInclusive_ = 0; /** * required uint32 tokenStartInSentenceInclusive = 2; * @return Whether the tokenStartInSentenceInclusive field is set. @@ -59453,7 +59260,7 @@ public int getTokenStartInSentenceInclusive() { } public static final int TOKENENDINSENTENCEEXCLUSIVE_FIELD_NUMBER = 3; - private int tokenEndInSentenceExclusive_; + private int tokenEndInSentenceExclusive_ = 0; /** * required uint32 tokenEndInSentenceExclusive = 3; * @return Whether the tokenEndInSentenceExclusive field is set. @@ -59472,7 +59279,8 @@ public int getTokenEndInSentenceExclusive() { } public static final int NER_FIELD_NUMBER = 4; - private volatile java.lang.Object ner_; + @SuppressWarnings("serial") + private volatile java.lang.Object ner_ = ""; /** * required string ner = 4; * @return Whether the ner field is set. @@ -59520,7 +59328,8 @@ public java.lang.String getNer() { } public static final int NORMALIZEDNER_FIELD_NUMBER = 5; - private volatile java.lang.Object normalizedNER_; + @SuppressWarnings("serial") + private volatile java.lang.Object normalizedNER_ = ""; /** * optional string normalizedNER = 5; * @return Whether the normalizedNER field is set. @@ -59568,7 +59377,8 @@ public java.lang.String getNormalizedNER() { } public static final int ENTITYTYPE_FIELD_NUMBER = 6; - private volatile java.lang.Object entityType_; + @SuppressWarnings("serial") + private volatile java.lang.Object entityType_ = ""; /** * optional string entityType = 6; * @return Whether the entityType field is set. @@ -59642,7 +59452,8 @@ public edu.stanford.nlp.pipeline.CoreNLPProtos.TimexOrBuilder getTimexOrBuilder( } public static final int WIKIPEDIAENTITY_FIELD_NUMBER = 8; - private volatile java.lang.Object wikipediaEntity_; + @SuppressWarnings("serial") + private volatile java.lang.Object wikipediaEntity_ = ""; /** * optional string wikipediaEntity = 8; * @return Whether the wikipediaEntity field is set. @@ -59690,7 +59501,8 @@ public java.lang.String getWikipediaEntity() { } public static final int GENDER_FIELD_NUMBER = 9; - private volatile java.lang.Object gender_; + @SuppressWarnings("serial") + private volatile java.lang.Object gender_ = ""; /** * optional string gender = 9; * @return Whether the gender field is set. @@ -59738,7 +59550,7 @@ public java.lang.String getGender() { } public static final int ENTITYMENTIONINDEX_FIELD_NUMBER = 10; - private int entityMentionIndex_; + private int entityMentionIndex_ = 0; /** * optional uint32 entityMentionIndex = 10; * @return Whether the entityMentionIndex field is set. @@ -59757,7 +59569,7 @@ public int getEntityMentionIndex() { } public static final int CANONICALENTITYMENTIONINDEX_FIELD_NUMBER = 11; - private int canonicalEntityMentionIndex_; + private int canonicalEntityMentionIndex_ = 0; /** * optional uint32 canonicalEntityMentionIndex = 11; * @return Whether the canonicalEntityMentionIndex field is set. @@ -59776,7 +59588,8 @@ public int getCanonicalEntityMentionIndex() { } public static final int ENTITYMENTIONTEXT_FIELD_NUMBER = 12; - private volatile java.lang.Object entityMentionText_; + @SuppressWarnings("serial") + private volatile java.lang.Object entityMentionText_ = ""; /** * optional string entityMentionText = 12; * @return Whether the entityMentionText field is set. @@ -60119,11 +59932,13 @@ public static edu.stanford.nlp.pipeline.CoreNLPProtos.NERMention parseFrom( return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } + public static edu.stanford.nlp.pipeline.CoreNLPProtos.NERMention parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } + public static edu.stanford.nlp.pipeline.CoreNLPProtos.NERMention parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -60167,6 +59982,7 @@ protected Builder newBuilderForType( } /** *
+     *
      * An NER mention in the text
      * 
* @@ -60208,34 +60024,23 @@ private void maybeForceBuilderInitialization() { @java.lang.Override public Builder clear() { super.clear(); + bitField0_ = 0; sentenceIndex_ = 0; - bitField0_ = (bitField0_ & ~0x00000001); tokenStartInSentenceInclusive_ = 0; - bitField0_ = (bitField0_ & ~0x00000002); tokenEndInSentenceExclusive_ = 0; - bitField0_ = (bitField0_ & ~0x00000004); ner_ = ""; - bitField0_ = (bitField0_ & ~0x00000008); normalizedNER_ = ""; - bitField0_ = (bitField0_ & ~0x00000010); entityType_ = ""; - bitField0_ = (bitField0_ & ~0x00000020); - if (timexBuilder_ == null) { - timex_ = null; - } else { - timexBuilder_.clear(); + timex_ = null; + if (timexBuilder_ != null) { + timexBuilder_.dispose(); + timexBuilder_ = null; } - bitField0_ = (bitField0_ & ~0x00000040); wikipediaEntity_ = ""; - bitField0_ = (bitField0_ & ~0x00000080); gender_ = ""; - bitField0_ = (bitField0_ & ~0x00000100); entityMentionIndex_ = 0; - bitField0_ = (bitField0_ & ~0x00000200); canonicalEntityMentionIndex_ = 0; - bitField0_ = (bitField0_ & ~0x00000400); entityMentionText_ = ""; - bitField0_ = (bitField0_ & ~0x00000800); return this; } @@ -60262,6 +60067,12 @@ public edu.stanford.nlp.pipeline.CoreNLPProtos.NERMention build() { @java.lang.Override public edu.stanford.nlp.pipeline.CoreNLPProtos.NERMention buildPartial() { edu.stanford.nlp.pipeline.CoreNLPProtos.NERMention result = new edu.stanford.nlp.pipeline.CoreNLPProtos.NERMention(this); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartial0(edu.stanford.nlp.pipeline.CoreNLPProtos.NERMention result) { int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { @@ -60277,33 +60088,31 @@ public edu.stanford.nlp.pipeline.CoreNLPProtos.NERMention buildPartial() { to_bitField0_ |= 0x00000004; } if (((from_bitField0_ & 0x00000008) != 0)) { + result.ner_ = ner_; to_bitField0_ |= 0x00000008; } - result.ner_ = ner_; if (((from_bitField0_ & 0x00000010) != 0)) { + result.normalizedNER_ = normalizedNER_; to_bitField0_ |= 0x00000010; } - result.normalizedNER_ = normalizedNER_; if (((from_bitField0_ & 0x00000020) != 0)) { + result.entityType_ = entityType_; to_bitField0_ |= 0x00000020; } - result.entityType_ = entityType_; if (((from_bitField0_ & 0x00000040) != 0)) { - if (timexBuilder_ == null) { - result.timex_ = timex_; - } else { - result.timex_ = timexBuilder_.build(); - } + result.timex_ = timexBuilder_ == null + ? timex_ + : timexBuilder_.build(); to_bitField0_ |= 0x00000040; } if (((from_bitField0_ & 0x00000080) != 0)) { + result.wikipediaEntity_ = wikipediaEntity_; to_bitField0_ |= 0x00000080; } - result.wikipediaEntity_ = wikipediaEntity_; if (((from_bitField0_ & 0x00000100) != 0)) { + result.gender_ = gender_; to_bitField0_ |= 0x00000100; } - result.gender_ = gender_; if (((from_bitField0_ & 0x00000200) != 0)) { result.entityMentionIndex_ = entityMentionIndex_; to_bitField0_ |= 0x00000200; @@ -60313,12 +60122,10 @@ public edu.stanford.nlp.pipeline.CoreNLPProtos.NERMention buildPartial() { to_bitField0_ |= 0x00000400; } if (((from_bitField0_ & 0x00000800) != 0)) { + result.entityMentionText_ = entityMentionText_; to_bitField0_ |= 0x00000800; } - result.entityMentionText_ = entityMentionText_; - result.bitField0_ = to_bitField0_; - onBuilt(); - return result; + result.bitField0_ |= to_bitField0_; } @java.lang.Override @@ -60375,31 +60182,31 @@ public Builder mergeFrom(edu.stanford.nlp.pipeline.CoreNLPProtos.NERMention othe setTokenEndInSentenceExclusive(other.getTokenEndInSentenceExclusive()); } if (other.hasNer()) { - bitField0_ |= 0x00000008; ner_ = other.ner_; + bitField0_ |= 0x00000008; onChanged(); } if (other.hasNormalizedNER()) { - bitField0_ |= 0x00000010; normalizedNER_ = other.normalizedNER_; + bitField0_ |= 0x00000010; onChanged(); } if (other.hasEntityType()) { - bitField0_ |= 0x00000020; entityType_ = other.entityType_; + bitField0_ |= 0x00000020; onChanged(); } if (other.hasTimex()) { mergeTimex(other.getTimex()); } if (other.hasWikipediaEntity()) { - bitField0_ |= 0x00000080; wikipediaEntity_ = other.wikipediaEntity_; + bitField0_ |= 0x00000080; onChanged(); } if (other.hasGender()) { - bitField0_ |= 0x00000100; gender_ = other.gender_; + bitField0_ |= 0x00000100; onChanged(); } if (other.hasEntityMentionIndex()) { @@ -60409,8 +60216,8 @@ public Builder mergeFrom(edu.stanford.nlp.pipeline.CoreNLPProtos.NERMention othe setCanonicalEntityMentionIndex(other.getCanonicalEntityMentionIndex()); } if (other.hasEntityMentionText()) { - bitField0_ |= 0x00000800; entityMentionText_ = other.entityMentionText_; + bitField0_ |= 0x00000800; onChanged(); } this.mergeUnknownFields(other.getUnknownFields()); @@ -60550,8 +60357,9 @@ public int getSentenceIndex() { * @return This builder for chaining. */ public Builder setSentenceIndex(int value) { - bitField0_ |= 0x00000001; + sentenceIndex_ = value; + bitField0_ |= 0x00000001; onChanged(); return this; } @@ -60589,8 +60397,9 @@ public int getTokenStartInSentenceInclusive() { * @return This builder for chaining. */ public Builder setTokenStartInSentenceInclusive(int value) { - bitField0_ |= 0x00000002; + tokenStartInSentenceInclusive_ = value; + bitField0_ |= 0x00000002; onChanged(); return this; } @@ -60628,8 +60437,9 @@ public int getTokenEndInSentenceExclusive() { * @return This builder for chaining. */ public Builder setTokenEndInSentenceExclusive(int value) { - bitField0_ |= 0x00000004; + tokenEndInSentenceExclusive_ = value; + bitField0_ |= 0x00000004; onChanged(); return this; } @@ -60694,11 +60504,9 @@ public java.lang.String getNer() { */ public Builder setNer( java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000008; + if (value == null) { throw new NullPointerException(); } ner_ = value; + bitField0_ |= 0x00000008; onChanged(); return this; } @@ -60707,8 +60515,8 @@ public Builder setNer( * @return This builder for chaining. */ public Builder clearNer() { - bitField0_ = (bitField0_ & ~0x00000008); ner_ = getDefaultInstance().getNer(); + bitField0_ = (bitField0_ & ~0x00000008); onChanged(); return this; } @@ -60719,11 +60527,9 @@ public Builder clearNer() { */ public Builder setNerBytes( com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000008; + if (value == null) { throw new NullPointerException(); } ner_ = value; + bitField0_ |= 0x00000008; onChanged(); return this; } @@ -60778,11 +60584,9 @@ public java.lang.String getNormalizedNER() { */ public Builder setNormalizedNER( java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000010; + if (value == null) { throw new NullPointerException(); } normalizedNER_ = value; + bitField0_ |= 0x00000010; onChanged(); return this; } @@ -60791,8 +60595,8 @@ public Builder setNormalizedNER( * @return This builder for chaining. */ public Builder clearNormalizedNER() { - bitField0_ = (bitField0_ & ~0x00000010); normalizedNER_ = getDefaultInstance().getNormalizedNER(); + bitField0_ = (bitField0_ & ~0x00000010); onChanged(); return this; } @@ -60803,11 +60607,9 @@ public Builder clearNormalizedNER() { */ public Builder setNormalizedNERBytes( com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000010; + if (value == null) { throw new NullPointerException(); } normalizedNER_ = value; + bitField0_ |= 0x00000010; onChanged(); return this; } @@ -60862,11 +60664,9 @@ public java.lang.String getEntityType() { */ public Builder setEntityType( java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000020; + if (value == null) { throw new NullPointerException(); } entityType_ = value; + bitField0_ |= 0x00000020; onChanged(); return this; } @@ -60875,8 +60675,8 @@ public Builder setEntityType( * @return This builder for chaining. */ public Builder clearEntityType() { - bitField0_ = (bitField0_ & ~0x00000020); entityType_ = getDefaultInstance().getEntityType(); + bitField0_ = (bitField0_ & ~0x00000020); onChanged(); return this; } @@ -60887,11 +60687,9 @@ public Builder clearEntityType() { */ public Builder setEntityTypeBytes( com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000020; + if (value == null) { throw new NullPointerException(); } entityType_ = value; + bitField0_ |= 0x00000020; onChanged(); return this; } @@ -60926,11 +60724,11 @@ public Builder setTimex(edu.stanford.nlp.pipeline.CoreNLPProtos.Timex value) { throw new NullPointerException(); } timex_ = value; - onChanged(); } else { timexBuilder_.setMessage(value); } bitField0_ |= 0x00000040; + onChanged(); return this; } /** @@ -60940,11 +60738,11 @@ public Builder setTimex( edu.stanford.nlp.pipeline.CoreNLPProtos.Timex.Builder builderForValue) { if (timexBuilder_ == null) { timex_ = builderForValue.build(); - onChanged(); } else { timexBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000040; + onChanged(); return this; } /** @@ -60953,31 +60751,32 @@ public Builder setTimex( public Builder mergeTimex(edu.stanford.nlp.pipeline.CoreNLPProtos.Timex value) { if (timexBuilder_ == null) { if (((bitField0_ & 0x00000040) != 0) && - timex_ != null && - timex_ != edu.stanford.nlp.pipeline.CoreNLPProtos.Timex.getDefaultInstance()) { - timex_ = - edu.stanford.nlp.pipeline.CoreNLPProtos.Timex.newBuilder(timex_).mergeFrom(value).buildPartial(); + timex_ != null && + timex_ != edu.stanford.nlp.pipeline.CoreNLPProtos.Timex.getDefaultInstance()) { + getTimexBuilder().mergeFrom(value); } else { timex_ = value; } - onChanged(); } else { timexBuilder_.mergeFrom(value); } - bitField0_ |= 0x00000040; + if (timex_ != null) { + bitField0_ |= 0x00000040; + onChanged(); + } return this; } /** * optional .edu.stanford.nlp.pipeline.Timex timex = 7; */ public Builder clearTimex() { - if (timexBuilder_ == null) { - timex_ = null; - onChanged(); - } else { - timexBuilder_.clear(); - } bitField0_ = (bitField0_ & ~0x00000040); + timex_ = null; + if (timexBuilder_ != null) { + timexBuilder_.dispose(); + timexBuilder_ = null; + } + onChanged(); return this; } /** @@ -61066,11 +60865,9 @@ public java.lang.String getWikipediaEntity() { */ public Builder setWikipediaEntity( java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000080; + if (value == null) { throw new NullPointerException(); } wikipediaEntity_ = value; + bitField0_ |= 0x00000080; onChanged(); return this; } @@ -61079,8 +60876,8 @@ public Builder setWikipediaEntity( * @return This builder for chaining. */ public Builder clearWikipediaEntity() { - bitField0_ = (bitField0_ & ~0x00000080); wikipediaEntity_ = getDefaultInstance().getWikipediaEntity(); + bitField0_ = (bitField0_ & ~0x00000080); onChanged(); return this; } @@ -61091,11 +60888,9 @@ public Builder clearWikipediaEntity() { */ public Builder setWikipediaEntityBytes( com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000080; + if (value == null) { throw new NullPointerException(); } wikipediaEntity_ = value; + bitField0_ |= 0x00000080; onChanged(); return this; } @@ -61150,11 +60945,9 @@ public java.lang.String getGender() { */ public Builder setGender( java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000100; + if (value == null) { throw new NullPointerException(); } gender_ = value; + bitField0_ |= 0x00000100; onChanged(); return this; } @@ -61163,8 +60956,8 @@ public Builder setGender( * @return This builder for chaining. */ public Builder clearGender() { - bitField0_ = (bitField0_ & ~0x00000100); gender_ = getDefaultInstance().getGender(); + bitField0_ = (bitField0_ & ~0x00000100); onChanged(); return this; } @@ -61175,11 +60968,9 @@ public Builder clearGender() { */ public Builder setGenderBytes( com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000100; + if (value == null) { throw new NullPointerException(); } gender_ = value; + bitField0_ |= 0x00000100; onChanged(); return this; } @@ -61207,8 +60998,9 @@ public int getEntityMentionIndex() { * @return This builder for chaining. */ public Builder setEntityMentionIndex(int value) { - bitField0_ |= 0x00000200; + entityMentionIndex_ = value; + bitField0_ |= 0x00000200; onChanged(); return this; } @@ -61246,8 +61038,9 @@ public int getCanonicalEntityMentionIndex() { * @return This builder for chaining. */ public Builder setCanonicalEntityMentionIndex(int value) { - bitField0_ |= 0x00000400; + canonicalEntityMentionIndex_ = value; + bitField0_ |= 0x00000400; onChanged(); return this; } @@ -61312,11 +61105,9 @@ public java.lang.String getEntityMentionText() { */ public Builder setEntityMentionText( java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000800; + if (value == null) { throw new NullPointerException(); } entityMentionText_ = value; + bitField0_ |= 0x00000800; onChanged(); return this; } @@ -61325,8 +61116,8 @@ public Builder setEntityMentionText( * @return This builder for chaining. */ public Builder clearEntityMentionText() { - bitField0_ = (bitField0_ & ~0x00000800); entityMentionText_ = getDefaultInstance().getEntityMentionText(); + bitField0_ = (bitField0_ & ~0x00000800); onChanged(); return this; } @@ -61337,11 +61128,9 @@ public Builder clearEntityMentionText() { */ public Builder setEntityMentionTextBytes( com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000800; + if (value == null) { throw new NullPointerException(); } entityMentionText_ = value; + bitField0_ |= 0x00000800; onChanged(); return this; } @@ -61465,6 +61254,7 @@ public interface SentenceFragmentOrBuilder extends } /** *
+   *
    * An entailed sentence fragment.
    * Created by the openie annotator.
    * 
@@ -61491,11 +61281,6 @@ protected java.lang.Object newInstance( return new SentenceFragment(); } - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return edu.stanford.nlp.pipeline.CoreNLPProtos.internal_static_edu_stanford_nlp_pipeline_SentenceFragment_descriptor; @@ -61511,7 +61296,9 @@ protected java.lang.Object newInstance( private int bitField0_; public static final int TOKENINDEX_FIELD_NUMBER = 1; - private com.google.protobuf.Internal.IntList tokenIndex_; + @SuppressWarnings("serial") + private com.google.protobuf.Internal.IntList tokenIndex_ = + emptyIntList(); /** * repeated uint32 tokenIndex = 1; * @return A list containing the tokenIndex. @@ -61538,7 +61325,7 @@ public int getTokenIndex(int index) { } public static final int ROOT_FIELD_NUMBER = 2; - private int root_; + private int root_ = 0; /** * optional uint32 root = 2; * @return Whether the root field is set. @@ -61557,7 +61344,7 @@ public int getRoot() { } public static final int ASSUMEDTRUTH_FIELD_NUMBER = 3; - private boolean assumedTruth_; + private boolean assumedTruth_ = false; /** * optional bool assumedTruth = 3; * @return Whether the assumedTruth field is set. @@ -61576,7 +61363,7 @@ public boolean getAssumedTruth() { } public static final int SCORE_FIELD_NUMBER = 4; - private double score_; + private double score_ = 0D; /** * optional double score = 4; * @return Whether the score field is set. @@ -61761,11 +61548,13 @@ public static edu.stanford.nlp.pipeline.CoreNLPProtos.SentenceFragment parseFrom return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } + public static edu.stanford.nlp.pipeline.CoreNLPProtos.SentenceFragment parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } + public static edu.stanford.nlp.pipeline.CoreNLPProtos.SentenceFragment parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -61809,6 +61598,7 @@ protected Builder newBuilderForType( } /** *
+     *
      * An entailed sentence fragment.
      * Created by the openie annotator.
      * 
@@ -61845,14 +61635,11 @@ private Builder( @java.lang.Override public Builder clear() { super.clear(); + bitField0_ = 0; tokenIndex_ = emptyIntList(); - bitField0_ = (bitField0_ & ~0x00000001); root_ = 0; - bitField0_ = (bitField0_ & ~0x00000002); assumedTruth_ = false; - bitField0_ = (bitField0_ & ~0x00000004); score_ = 0D; - bitField0_ = (bitField0_ & ~0x00000008); return this; } @@ -61879,13 +61666,18 @@ public edu.stanford.nlp.pipeline.CoreNLPProtos.SentenceFragment build() { @java.lang.Override public edu.stanford.nlp.pipeline.CoreNLPProtos.SentenceFragment buildPartial() { edu.stanford.nlp.pipeline.CoreNLPProtos.SentenceFragment result = new edu.stanford.nlp.pipeline.CoreNLPProtos.SentenceFragment(this); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartial0(edu.stanford.nlp.pipeline.CoreNLPProtos.SentenceFragment result) { int from_bitField0_ = bitField0_; - int to_bitField0_ = 0; - if (((bitField0_ & 0x00000001) != 0)) { + if (((from_bitField0_ & 0x00000001) != 0)) { tokenIndex_.makeImmutable(); - bitField0_ = (bitField0_ & ~0x00000001); + result.tokenIndex_ = tokenIndex_; } - result.tokenIndex_ = tokenIndex_; + int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000002) != 0)) { result.root_ = root_; to_bitField0_ |= 0x00000001; @@ -61898,9 +61690,7 @@ public edu.stanford.nlp.pipeline.CoreNLPProtos.SentenceFragment buildPartial() { result.score_ = score_; to_bitField0_ |= 0x00000004; } - result.bitField0_ = to_bitField0_; - onBuilt(); - return result; + result.bitField0_ |= to_bitField0_; } @java.lang.Override @@ -61950,7 +61740,8 @@ public Builder mergeFrom(edu.stanford.nlp.pipeline.CoreNLPProtos.SentenceFragmen if (!other.tokenIndex_.isEmpty()) { if (tokenIndex_.isEmpty()) { tokenIndex_ = other.tokenIndex_; - bitField0_ = (bitField0_ & ~0x00000001); + tokenIndex_.makeImmutable(); + bitField0_ |= 0x00000001; } else { ensureTokenIndexIsMutable(); tokenIndex_.addAll(other.tokenIndex_); @@ -62042,10 +61833,10 @@ public Builder mergeFrom( private com.google.protobuf.Internal.IntList tokenIndex_ = emptyIntList(); private void ensureTokenIndexIsMutable() { - if (!((bitField0_ & 0x00000001) != 0)) { - tokenIndex_ = mutableCopy(tokenIndex_); - bitField0_ |= 0x00000001; - } + if (!tokenIndex_.isModifiable()) { + tokenIndex_ = makeMutableCopy(tokenIndex_); + } + bitField0_ |= 0x00000001; } /** * repeated uint32 tokenIndex = 1; @@ -62053,8 +61844,8 @@ private void ensureTokenIndexIsMutable() { */ public java.util.List getTokenIndexList() { - return ((bitField0_ & 0x00000001) != 0) ? - java.util.Collections.unmodifiableList(tokenIndex_) : tokenIndex_; + tokenIndex_.makeImmutable(); + return tokenIndex_; } /** * repeated uint32 tokenIndex = 1; @@ -62079,8 +61870,10 @@ public int getTokenIndex(int index) { */ public Builder setTokenIndex( int index, int value) { + ensureTokenIndexIsMutable(); tokenIndex_.setInt(index, value); + bitField0_ |= 0x00000001; onChanged(); return this; } @@ -62090,8 +61883,10 @@ public Builder setTokenIndex( * @return This builder for chaining. */ public Builder addTokenIndex(int value) { + ensureTokenIndexIsMutable(); tokenIndex_.addInt(value); + bitField0_ |= 0x00000001; onChanged(); return this; } @@ -62105,6 +61900,7 @@ public Builder addAllTokenIndex( ensureTokenIndexIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, tokenIndex_); + bitField0_ |= 0x00000001; onChanged(); return this; } @@ -62142,8 +61938,9 @@ public int getRoot() { * @return This builder for chaining. */ public Builder setRoot(int value) { - bitField0_ |= 0x00000002; + root_ = value; + bitField0_ |= 0x00000002; onChanged(); return this; } @@ -62181,8 +61978,9 @@ public boolean getAssumedTruth() { * @return This builder for chaining. */ public Builder setAssumedTruth(boolean value) { - bitField0_ |= 0x00000004; + assumedTruth_ = value; + bitField0_ |= 0x00000004; onChanged(); return this; } @@ -62220,8 +62018,9 @@ public double getScore() { * @return This builder for chaining. */ public Builder setScore(double value) { - bitField0_ |= 0x00000008; + score_ = value; + bitField0_ |= 0x00000008; onChanged(); return this; } @@ -62327,6 +62126,7 @@ public interface TokenLocationOrBuilder extends } /** *
+   *
    * The index of a token in a document, including the sentence
    * index and the offset.
    * 
@@ -62352,11 +62152,6 @@ protected java.lang.Object newInstance( return new TokenLocation(); } - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return edu.stanford.nlp.pipeline.CoreNLPProtos.internal_static_edu_stanford_nlp_pipeline_TokenLocation_descriptor; @@ -62372,7 +62167,7 @@ protected java.lang.Object newInstance( private int bitField0_; public static final int SENTENCEINDEX_FIELD_NUMBER = 1; - private int sentenceIndex_; + private int sentenceIndex_ = 0; /** * optional uint32 sentenceIndex = 1; * @return Whether the sentenceIndex field is set. @@ -62391,7 +62186,7 @@ public int getSentenceIndex() { } public static final int TOKENINDEX_FIELD_NUMBER = 2; - private int tokenIndex_; + private int tokenIndex_ = 0; /** * optional uint32 tokenIndex = 2; * @return Whether the tokenIndex field is set. @@ -62539,11 +62334,13 @@ public static edu.stanford.nlp.pipeline.CoreNLPProtos.TokenLocation parseFrom( return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } + public static edu.stanford.nlp.pipeline.CoreNLPProtos.TokenLocation parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } + public static edu.stanford.nlp.pipeline.CoreNLPProtos.TokenLocation parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -62587,6 +62384,7 @@ protected Builder newBuilderForType( } /** *
+     *
      * The index of a token in a document, including the sentence
      * index and the offset.
      * 
@@ -62623,10 +62421,9 @@ private Builder( @java.lang.Override public Builder clear() { super.clear(); + bitField0_ = 0; sentenceIndex_ = 0; - bitField0_ = (bitField0_ & ~0x00000001); tokenIndex_ = 0; - bitField0_ = (bitField0_ & ~0x00000002); return this; } @@ -62653,6 +62450,12 @@ public edu.stanford.nlp.pipeline.CoreNLPProtos.TokenLocation build() { @java.lang.Override public edu.stanford.nlp.pipeline.CoreNLPProtos.TokenLocation buildPartial() { edu.stanford.nlp.pipeline.CoreNLPProtos.TokenLocation result = new edu.stanford.nlp.pipeline.CoreNLPProtos.TokenLocation(this); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartial0(edu.stanford.nlp.pipeline.CoreNLPProtos.TokenLocation result) { int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { @@ -62663,9 +62466,7 @@ public edu.stanford.nlp.pipeline.CoreNLPProtos.TokenLocation buildPartial() { result.tokenIndex_ = tokenIndex_; to_bitField0_ |= 0x00000002; } - result.bitField0_ = to_bitField0_; - onBuilt(); - return result; + result.bitField0_ |= to_bitField0_; } @java.lang.Override @@ -62794,8 +62595,9 @@ public int getSentenceIndex() { * @return This builder for chaining. */ public Builder setSentenceIndex(int value) { - bitField0_ |= 0x00000001; + sentenceIndex_ = value; + bitField0_ |= 0x00000001; onChanged(); return this; } @@ -62833,8 +62635,9 @@ public int getTokenIndex() { * @return This builder for chaining. */ public Builder setTokenIndex(int value) { - bitField0_ |= 0x00000002; + tokenIndex_ = value; + bitField0_ |= 0x00000002; onChanged(); return this; } @@ -63259,6 +63062,7 @@ edu.stanford.nlp.pipeline.CoreNLPProtos.TokenLocationOrBuilder getObjectTokensOr } /** *
+   *
    * An OpenIE relation triple.
    * Created by the openie annotator.
    * 
@@ -63290,11 +63094,6 @@ protected java.lang.Object newInstance( return new RelationTriple(); } - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return edu.stanford.nlp.pipeline.CoreNLPProtos.internal_static_edu_stanford_nlp_pipeline_RelationTriple_descriptor; @@ -63310,7 +63109,8 @@ protected java.lang.Object newInstance( private int bitField0_; public static final int SUBJECT_FIELD_NUMBER = 1; - private volatile java.lang.Object subject_; + @SuppressWarnings("serial") + private volatile java.lang.Object subject_ = ""; /** *
      * The surface form of the subject
@@ -63370,7 +63170,8 @@ public java.lang.String getSubject() {
     }
 
     public static final int RELATION_FIELD_NUMBER = 2;
-    private volatile java.lang.Object relation_;
+    @SuppressWarnings("serial")
+    private volatile java.lang.Object relation_ = "";
     /**
      * 
      * The surface form of the relation (required)
@@ -63430,7 +63231,8 @@ public java.lang.String getRelation() {
     }
 
     public static final int OBJECT_FIELD_NUMBER = 3;
-    private volatile java.lang.Object object_;
+    @SuppressWarnings("serial")
+    private volatile java.lang.Object object_ = "";
     /**
      * 
      * The surface form of the object
@@ -63490,7 +63292,7 @@ public java.lang.String getObject() {
     }
 
     public static final int CONFIDENCE_FIELD_NUMBER = 4;
-    private double confidence_;
+    private double confidence_ = 0D;
     /**
      * 
      * The [optional] confidence of the extraction
@@ -63517,6 +63319,7 @@ public double getConfidence() {
     }
 
     public static final int SUBJECTTOKENS_FIELD_NUMBER = 13;
+    @SuppressWarnings("serial")
     private java.util.List subjectTokens_;
     /**
      * 
@@ -63577,6 +63380,7 @@ public edu.stanford.nlp.pipeline.CoreNLPProtos.TokenLocationOrBuilder getSubject
     }
 
     public static final int RELATIONTOKENS_FIELD_NUMBER = 14;
+    @SuppressWarnings("serial")
     private java.util.List relationTokens_;
     /**
      * 
@@ -63637,6 +63441,7 @@ public edu.stanford.nlp.pipeline.CoreNLPProtos.TokenLocationOrBuilder getRelatio
     }
 
     public static final int OBJECTTOKENS_FIELD_NUMBER = 15;
+    @SuppressWarnings("serial")
     private java.util.List objectTokens_;
     /**
      * 
@@ -63735,7 +63540,7 @@ public edu.stanford.nlp.pipeline.CoreNLPProtos.DependencyGraphOrBuilder getTreeO
     }
 
     public static final int ISTMOD_FIELD_NUMBER = 9;
-    private boolean istmod_;
+    private boolean istmod_ = false;
     /**
      * 
      * If true, this expresses an implicit tmod relation
@@ -63762,7 +63567,7 @@ public boolean getIstmod() {
     }
 
     public static final int PREFIXBE_FIELD_NUMBER = 10;
-    private boolean prefixBe_;
+    private boolean prefixBe_ = false;
     /**
      * 
      * If true, this relation string is missing a 'be' prefix
@@ -63789,7 +63594,7 @@ public boolean getPrefixBe() {
     }
 
     public static final int SUFFIXBE_FIELD_NUMBER = 11;
-    private boolean suffixBe_;
+    private boolean suffixBe_ = false;
     /**
      * 
      * If true, this relation string is missing a 'be' suffix
@@ -63816,7 +63621,7 @@ public boolean getSuffixBe() {
     }
 
     public static final int SUFFIXOF_FIELD_NUMBER = 12;
-    private boolean suffixOf_;
+    private boolean suffixOf_ = false;
     /**
      * 
      * If true, this relation string is missing a 'of' prefix
@@ -64132,11 +63937,13 @@ public static edu.stanford.nlp.pipeline.CoreNLPProtos.RelationTriple parseFrom(
       return com.google.protobuf.GeneratedMessageV3
           .parseWithIOException(PARSER, input, extensionRegistry);
     }
+
     public static edu.stanford.nlp.pipeline.CoreNLPProtos.RelationTriple parseDelimitedFrom(java.io.InputStream input)
         throws java.io.IOException {
       return com.google.protobuf.GeneratedMessageV3
           .parseDelimitedWithIOException(PARSER, input);
     }
+
     public static edu.stanford.nlp.pipeline.CoreNLPProtos.RelationTriple parseDelimitedFrom(
         java.io.InputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -64180,6 +63987,7 @@ protected Builder newBuilderForType(
     }
     /**
      * 
+     *
      * An OpenIE relation triple.
      * Created by the openie annotator.
      * 
@@ -64225,14 +64033,11 @@ private void maybeForceBuilderInitialization() { @java.lang.Override public Builder clear() { super.clear(); + bitField0_ = 0; subject_ = ""; - bitField0_ = (bitField0_ & ~0x00000001); relation_ = ""; - bitField0_ = (bitField0_ & ~0x00000002); object_ = ""; - bitField0_ = (bitField0_ & ~0x00000004); confidence_ = 0D; - bitField0_ = (bitField0_ & ~0x00000008); if (subjectTokensBuilder_ == null) { subjectTokens_ = java.util.Collections.emptyList(); } else { @@ -64254,20 +64059,15 @@ public Builder clear() { objectTokensBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000040); - if (treeBuilder_ == null) { - tree_ = null; - } else { - treeBuilder_.clear(); + tree_ = null; + if (treeBuilder_ != null) { + treeBuilder_.dispose(); + treeBuilder_ = null; } - bitField0_ = (bitField0_ & ~0x00000080); istmod_ = false; - bitField0_ = (bitField0_ & ~0x00000100); prefixBe_ = false; - bitField0_ = (bitField0_ & ~0x00000200); suffixBe_ = false; - bitField0_ = (bitField0_ & ~0x00000400); suffixOf_ = false; - bitField0_ = (bitField0_ & ~0x00000800); return this; } @@ -64294,24 +64094,13 @@ public edu.stanford.nlp.pipeline.CoreNLPProtos.RelationTriple build() { @java.lang.Override public edu.stanford.nlp.pipeline.CoreNLPProtos.RelationTriple buildPartial() { edu.stanford.nlp.pipeline.CoreNLPProtos.RelationTriple result = new edu.stanford.nlp.pipeline.CoreNLPProtos.RelationTriple(this); - int from_bitField0_ = bitField0_; - int to_bitField0_ = 0; - if (((from_bitField0_ & 0x00000001) != 0)) { - to_bitField0_ |= 0x00000001; - } - result.subject_ = subject_; - if (((from_bitField0_ & 0x00000002) != 0)) { - to_bitField0_ |= 0x00000002; - } - result.relation_ = relation_; - if (((from_bitField0_ & 0x00000004) != 0)) { - to_bitField0_ |= 0x00000004; - } - result.object_ = object_; - if (((from_bitField0_ & 0x00000008) != 0)) { - result.confidence_ = confidence_; - to_bitField0_ |= 0x00000008; - } + buildPartialRepeatedFields(result); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartialRepeatedFields(edu.stanford.nlp.pipeline.CoreNLPProtos.RelationTriple result) { if (subjectTokensBuilder_ == null) { if (((bitField0_ & 0x00000010) != 0)) { subjectTokens_ = java.util.Collections.unmodifiableList(subjectTokens_); @@ -64339,12 +64128,31 @@ public edu.stanford.nlp.pipeline.CoreNLPProtos.RelationTriple buildPartial() { } else { result.objectTokens_ = objectTokensBuilder_.build(); } + } + + private void buildPartial0(edu.stanford.nlp.pipeline.CoreNLPProtos.RelationTriple result) { + int from_bitField0_ = bitField0_; + int to_bitField0_ = 0; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.subject_ = subject_; + to_bitField0_ |= 0x00000001; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.relation_ = relation_; + to_bitField0_ |= 0x00000002; + } + if (((from_bitField0_ & 0x00000004) != 0)) { + result.object_ = object_; + to_bitField0_ |= 0x00000004; + } + if (((from_bitField0_ & 0x00000008) != 0)) { + result.confidence_ = confidence_; + to_bitField0_ |= 0x00000008; + } if (((from_bitField0_ & 0x00000080) != 0)) { - if (treeBuilder_ == null) { - result.tree_ = tree_; - } else { - result.tree_ = treeBuilder_.build(); - } + result.tree_ = treeBuilder_ == null + ? tree_ + : treeBuilder_.build(); to_bitField0_ |= 0x00000010; } if (((from_bitField0_ & 0x00000100) != 0)) { @@ -64363,9 +64171,7 @@ public edu.stanford.nlp.pipeline.CoreNLPProtos.RelationTriple buildPartial() { result.suffixOf_ = suffixOf_; to_bitField0_ |= 0x00000100; } - result.bitField0_ = to_bitField0_; - onBuilt(); - return result; + result.bitField0_ |= to_bitField0_; } @java.lang.Override @@ -64413,18 +64219,18 @@ public Builder mergeFrom(com.google.protobuf.Message other) { public Builder mergeFrom(edu.stanford.nlp.pipeline.CoreNLPProtos.RelationTriple other) { if (other == edu.stanford.nlp.pipeline.CoreNLPProtos.RelationTriple.getDefaultInstance()) return this; if (other.hasSubject()) { - bitField0_ |= 0x00000001; subject_ = other.subject_; + bitField0_ |= 0x00000001; onChanged(); } if (other.hasRelation()) { - bitField0_ |= 0x00000002; relation_ = other.relation_; + bitField0_ |= 0x00000002; onChanged(); } if (other.hasObject()) { - bitField0_ |= 0x00000004; object_ = other.object_; + bitField0_ |= 0x00000004; onChanged(); } if (other.hasConfidence()) { @@ -64723,11 +64529,9 @@ public java.lang.String getSubject() { */ public Builder setSubject( java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000001; + if (value == null) { throw new NullPointerException(); } subject_ = value; + bitField0_ |= 0x00000001; onChanged(); return this; } @@ -64740,8 +64544,8 @@ public Builder setSubject( * @return This builder for chaining. */ public Builder clearSubject() { - bitField0_ = (bitField0_ & ~0x00000001); subject_ = getDefaultInstance().getSubject(); + bitField0_ = (bitField0_ & ~0x00000001); onChanged(); return this; } @@ -64756,11 +64560,9 @@ public Builder clearSubject() { */ public Builder setSubjectBytes( com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000001; + if (value == null) { throw new NullPointerException(); } subject_ = value; + bitField0_ |= 0x00000001; onChanged(); return this; } @@ -64831,11 +64633,9 @@ public java.lang.String getRelation() { */ public Builder setRelation( java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000002; + if (value == null) { throw new NullPointerException(); } relation_ = value; + bitField0_ |= 0x00000002; onChanged(); return this; } @@ -64848,8 +64648,8 @@ public Builder setRelation( * @return This builder for chaining. */ public Builder clearRelation() { - bitField0_ = (bitField0_ & ~0x00000002); relation_ = getDefaultInstance().getRelation(); + bitField0_ = (bitField0_ & ~0x00000002); onChanged(); return this; } @@ -64864,11 +64664,9 @@ public Builder clearRelation() { */ public Builder setRelationBytes( com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000002; + if (value == null) { throw new NullPointerException(); } relation_ = value; + bitField0_ |= 0x00000002; onChanged(); return this; } @@ -64939,11 +64737,9 @@ public java.lang.String getObject() { */ public Builder setObject( java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000004; + if (value == null) { throw new NullPointerException(); } object_ = value; + bitField0_ |= 0x00000004; onChanged(); return this; } @@ -64956,8 +64752,8 @@ public Builder setObject( * @return This builder for chaining. */ public Builder clearObject() { - bitField0_ = (bitField0_ & ~0x00000004); object_ = getDefaultInstance().getObject(); + bitField0_ = (bitField0_ & ~0x00000004); onChanged(); return this; } @@ -64972,11 +64768,9 @@ public Builder clearObject() { */ public Builder setObjectBytes( com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000004; + if (value == null) { throw new NullPointerException(); } object_ = value; + bitField0_ |= 0x00000004; onChanged(); return this; } @@ -65016,8 +64810,9 @@ public double getConfidence() { * @return This builder for chaining. */ public Builder setConfidence(double value) { - bitField0_ |= 0x00000008; + confidence_ = value; + bitField0_ |= 0x00000008; onChanged(); return this; } @@ -66014,11 +65809,11 @@ public Builder setTree(edu.stanford.nlp.pipeline.CoreNLPProtos.DependencyGraph v throw new NullPointerException(); } tree_ = value; - onChanged(); } else { treeBuilder_.setMessage(value); } bitField0_ |= 0x00000080; + onChanged(); return this; } /** @@ -66032,11 +65827,11 @@ public Builder setTree( edu.stanford.nlp.pipeline.CoreNLPProtos.DependencyGraph.Builder builderForValue) { if (treeBuilder_ == null) { tree_ = builderForValue.build(); - onChanged(); } else { treeBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000080; + onChanged(); return this; } /** @@ -66049,18 +65844,19 @@ public Builder setTree( public Builder mergeTree(edu.stanford.nlp.pipeline.CoreNLPProtos.DependencyGraph value) { if (treeBuilder_ == null) { if (((bitField0_ & 0x00000080) != 0) && - tree_ != null && - tree_ != edu.stanford.nlp.pipeline.CoreNLPProtos.DependencyGraph.getDefaultInstance()) { - tree_ = - edu.stanford.nlp.pipeline.CoreNLPProtos.DependencyGraph.newBuilder(tree_).mergeFrom(value).buildPartial(); + tree_ != null && + tree_ != edu.stanford.nlp.pipeline.CoreNLPProtos.DependencyGraph.getDefaultInstance()) { + getTreeBuilder().mergeFrom(value); } else { tree_ = value; } - onChanged(); } else { treeBuilder_.mergeFrom(value); } - bitField0_ |= 0x00000080; + if (tree_ != null) { + bitField0_ |= 0x00000080; + onChanged(); + } return this; } /** @@ -66071,13 +65867,13 @@ public Builder mergeTree(edu.stanford.nlp.pipeline.CoreNLPProtos.DependencyGraph * optional .edu.stanford.nlp.pipeline.DependencyGraph tree = 8; */ public Builder clearTree() { - if (treeBuilder_ == null) { - tree_ = null; - onChanged(); - } else { - treeBuilder_.clear(); - } bitField0_ = (bitField0_ & ~0x00000080); + tree_ = null; + if (treeBuilder_ != null) { + treeBuilder_.dispose(); + treeBuilder_ = null; + } + onChanged(); return this; } /** @@ -66163,8 +65959,9 @@ public boolean getIstmod() { * @return This builder for chaining. */ public Builder setIstmod(boolean value) { - bitField0_ |= 0x00000100; + istmod_ = value; + bitField0_ |= 0x00000100; onChanged(); return this; } @@ -66218,8 +66015,9 @@ public boolean getPrefixBe() { * @return This builder for chaining. */ public Builder setPrefixBe(boolean value) { - bitField0_ |= 0x00000200; + prefixBe_ = value; + bitField0_ |= 0x00000200; onChanged(); return this; } @@ -66273,8 +66071,9 @@ public boolean getSuffixBe() { * @return This builder for chaining. */ public Builder setSuffixBe(boolean value) { - bitField0_ |= 0x00000400; + suffixBe_ = value; + bitField0_ |= 0x00000400; onChanged(); return this; } @@ -66328,8 +66127,9 @@ public boolean getSuffixOf() { * @return This builder for chaining. */ public Builder setSuffixOf(boolean value) { - bitField0_ |= 0x00000800; + suffixOf_ = value; + bitField0_ |= 0x00000800; onChanged(); return this; } @@ -66467,6 +66267,7 @@ public interface MapStringStringOrBuilder extends } /** *
+   *
    * A map from strings to strings.
    * Used, minimally, in the CoNLLU featurizer
    * 
@@ -66483,8 +66284,10 @@ private MapStringString(com.google.protobuf.GeneratedMessageV3.Builder builde super(builder); } private MapStringString() { - key_ = com.google.protobuf.LazyStringArrayList.EMPTY; - value_ = com.google.protobuf.LazyStringArrayList.EMPTY; + key_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + value_ = + com.google.protobuf.LazyStringArrayList.emptyList(); } @java.lang.Override @@ -66494,11 +66297,6 @@ protected java.lang.Object newInstance( return new MapStringString(); } - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return edu.stanford.nlp.pipeline.CoreNLPProtos.internal_static_edu_stanford_nlp_pipeline_MapStringString_descriptor; @@ -66513,7 +66311,9 @@ protected java.lang.Object newInstance( } public static final int KEY_FIELD_NUMBER = 1; - private com.google.protobuf.LazyStringList key_; + @SuppressWarnings("serial") + private com.google.protobuf.LazyStringArrayList key_ = + com.google.protobuf.LazyStringArrayList.emptyList(); /** * repeated string key = 1; * @return A list containing the key. @@ -66548,7 +66348,9 @@ public java.lang.String getKey(int index) { } public static final int VALUE_FIELD_NUMBER = 2; - private com.google.protobuf.LazyStringList value_; + @SuppressWarnings("serial") + private com.google.protobuf.LazyStringArrayList value_ = + com.google.protobuf.LazyStringArrayList.emptyList(); /** * repeated string value = 2; * @return A list containing the value. @@ -66714,11 +66516,13 @@ public static edu.stanford.nlp.pipeline.CoreNLPProtos.MapStringString parseFrom( return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } + public static edu.stanford.nlp.pipeline.CoreNLPProtos.MapStringString parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } + public static edu.stanford.nlp.pipeline.CoreNLPProtos.MapStringString parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -66762,6 +66566,7 @@ protected Builder newBuilderForType( } /** *
+     *
      * A map from strings to strings.
      * Used, minimally, in the CoNLLU featurizer
      * 
@@ -66798,10 +66603,11 @@ private Builder( @java.lang.Override public Builder clear() { super.clear(); - key_ = com.google.protobuf.LazyStringArrayList.EMPTY; - bitField0_ = (bitField0_ & ~0x00000001); - value_ = com.google.protobuf.LazyStringArrayList.EMPTY; - bitField0_ = (bitField0_ & ~0x00000002); + bitField0_ = 0; + key_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + value_ = + com.google.protobuf.LazyStringArrayList.emptyList(); return this; } @@ -66828,19 +66634,21 @@ public edu.stanford.nlp.pipeline.CoreNLPProtos.MapStringString build() { @java.lang.Override public edu.stanford.nlp.pipeline.CoreNLPProtos.MapStringString buildPartial() { edu.stanford.nlp.pipeline.CoreNLPProtos.MapStringString result = new edu.stanford.nlp.pipeline.CoreNLPProtos.MapStringString(this); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartial0(edu.stanford.nlp.pipeline.CoreNLPProtos.MapStringString result) { int from_bitField0_ = bitField0_; - if (((bitField0_ & 0x00000001) != 0)) { - key_ = key_.getUnmodifiableView(); - bitField0_ = (bitField0_ & ~0x00000001); + if (((from_bitField0_ & 0x00000001) != 0)) { + key_.makeImmutable(); + result.key_ = key_; } - result.key_ = key_; - if (((bitField0_ & 0x00000002) != 0)) { - value_ = value_.getUnmodifiableView(); - bitField0_ = (bitField0_ & ~0x00000002); + if (((from_bitField0_ & 0x00000002) != 0)) { + value_.makeImmutable(); + result.value_ = value_; } - result.value_ = value_; - onBuilt(); - return result; } @java.lang.Override @@ -66890,7 +66698,7 @@ public Builder mergeFrom(edu.stanford.nlp.pipeline.CoreNLPProtos.MapStringString if (!other.key_.isEmpty()) { if (key_.isEmpty()) { key_ = other.key_; - bitField0_ = (bitField0_ & ~0x00000001); + bitField0_ |= 0x00000001; } else { ensureKeyIsMutable(); key_.addAll(other.key_); @@ -66900,7 +66708,7 @@ public Builder mergeFrom(edu.stanford.nlp.pipeline.CoreNLPProtos.MapStringString if (!other.value_.isEmpty()) { if (value_.isEmpty()) { value_ = other.value_; - bitField0_ = (bitField0_ & ~0x00000002); + bitField0_ |= 0x00000002; } else { ensureValueIsMutable(); value_.addAll(other.value_); @@ -66962,12 +66770,13 @@ public Builder mergeFrom( } private int bitField0_; - private com.google.protobuf.LazyStringList key_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private com.google.protobuf.LazyStringArrayList key_ = + com.google.protobuf.LazyStringArrayList.emptyList(); private void ensureKeyIsMutable() { - if (!((bitField0_ & 0x00000001) != 0)) { + if (!key_.isModifiable()) { key_ = new com.google.protobuf.LazyStringArrayList(key_); - bitField0_ |= 0x00000001; - } + } + bitField0_ |= 0x00000001; } /** * repeated string key = 1; @@ -66975,7 +66784,8 @@ private void ensureKeyIsMutable() { */ public com.google.protobuf.ProtocolStringList getKeyList() { - return key_.getUnmodifiableView(); + key_.makeImmutable(); + return key_; } /** * repeated string key = 1; @@ -67009,11 +66819,10 @@ public java.lang.String getKey(int index) { */ public Builder setKey( int index, java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - ensureKeyIsMutable(); + if (value == null) { throw new NullPointerException(); } + ensureKeyIsMutable(); key_.set(index, value); + bitField0_ |= 0x00000001; onChanged(); return this; } @@ -67024,11 +66833,10 @@ public Builder setKey( */ public Builder addKey( java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - ensureKeyIsMutable(); + if (value == null) { throw new NullPointerException(); } + ensureKeyIsMutable(); key_.add(value); + bitField0_ |= 0x00000001; onChanged(); return this; } @@ -67042,6 +66850,7 @@ public Builder addAllKey( ensureKeyIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, key_); + bitField0_ |= 0x00000001; onChanged(); return this; } @@ -67050,8 +66859,9 @@ public Builder addAllKey( * @return This builder for chaining. */ public Builder clearKey() { - key_ = com.google.protobuf.LazyStringArrayList.EMPTY; - bitField0_ = (bitField0_ & ~0x00000001); + key_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000001);; onChanged(); return this; } @@ -67062,21 +66872,21 @@ public Builder clearKey() { */ public Builder addKeyBytes( com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - ensureKeyIsMutable(); + if (value == null) { throw new NullPointerException(); } + ensureKeyIsMutable(); key_.add(value); + bitField0_ |= 0x00000001; onChanged(); return this; } - private com.google.protobuf.LazyStringList value_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private com.google.protobuf.LazyStringArrayList value_ = + com.google.protobuf.LazyStringArrayList.emptyList(); private void ensureValueIsMutable() { - if (!((bitField0_ & 0x00000002) != 0)) { + if (!value_.isModifiable()) { value_ = new com.google.protobuf.LazyStringArrayList(value_); - bitField0_ |= 0x00000002; - } + } + bitField0_ |= 0x00000002; } /** * repeated string value = 2; @@ -67084,7 +66894,8 @@ private void ensureValueIsMutable() { */ public com.google.protobuf.ProtocolStringList getValueList() { - return value_.getUnmodifiableView(); + value_.makeImmutable(); + return value_; } /** * repeated string value = 2; @@ -67118,11 +66929,10 @@ public java.lang.String getValue(int index) { */ public Builder setValue( int index, java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - ensureValueIsMutable(); + if (value == null) { throw new NullPointerException(); } + ensureValueIsMutable(); value_.set(index, value); + bitField0_ |= 0x00000002; onChanged(); return this; } @@ -67133,11 +66943,10 @@ public Builder setValue( */ public Builder addValue( java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - ensureValueIsMutable(); + if (value == null) { throw new NullPointerException(); } + ensureValueIsMutable(); value_.add(value); + bitField0_ |= 0x00000002; onChanged(); return this; } @@ -67151,6 +66960,7 @@ public Builder addAllValue( ensureValueIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, value_); + bitField0_ |= 0x00000002; onChanged(); return this; } @@ -67159,8 +66969,9 @@ public Builder addAllValue( * @return This builder for chaining. */ public Builder clearValue() { - value_ = com.google.protobuf.LazyStringArrayList.EMPTY; - bitField0_ = (bitField0_ & ~0x00000002); + value_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000002);; onChanged(); return this; } @@ -67171,11 +66982,10 @@ public Builder clearValue() { */ public Builder addValueBytes( com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - ensureValueIsMutable(); + if (value == null) { throw new NullPointerException(); } + ensureValueIsMutable(); value_.add(value); + bitField0_ |= 0x00000002; onChanged(); return this; } @@ -67291,6 +67101,7 @@ public interface MapIntStringOrBuilder extends } /** *
+   *
    * A map from integers to strings.
    * Used, minimally, in the CoNLLU featurizer
    * 
@@ -67308,7 +67119,8 @@ private MapIntString(com.google.protobuf.GeneratedMessageV3.Builder builder) } private MapIntString() { key_ = emptyIntList(); - value_ = com.google.protobuf.LazyStringArrayList.EMPTY; + value_ = + com.google.protobuf.LazyStringArrayList.emptyList(); } @java.lang.Override @@ -67318,11 +67130,6 @@ protected java.lang.Object newInstance( return new MapIntString(); } - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return edu.stanford.nlp.pipeline.CoreNLPProtos.internal_static_edu_stanford_nlp_pipeline_MapIntString_descriptor; @@ -67337,7 +67144,9 @@ protected java.lang.Object newInstance( } public static final int KEY_FIELD_NUMBER = 1; - private com.google.protobuf.Internal.IntList key_; + @SuppressWarnings("serial") + private com.google.protobuf.Internal.IntList key_ = + emptyIntList(); /** * repeated uint32 key = 1; * @return A list containing the key. @@ -67364,7 +67173,9 @@ public int getKey(int index) { } public static final int VALUE_FIELD_NUMBER = 2; - private com.google.protobuf.LazyStringList value_; + @SuppressWarnings("serial") + private com.google.protobuf.LazyStringArrayList value_ = + com.google.protobuf.LazyStringArrayList.emptyList(); /** * repeated string value = 2; * @return A list containing the value. @@ -67531,11 +67342,13 @@ public static edu.stanford.nlp.pipeline.CoreNLPProtos.MapIntString parseFrom( return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } + public static edu.stanford.nlp.pipeline.CoreNLPProtos.MapIntString parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } + public static edu.stanford.nlp.pipeline.CoreNLPProtos.MapIntString parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -67579,6 +67392,7 @@ protected Builder newBuilderForType( } /** *
+     *
      * A map from integers to strings.
      * Used, minimally, in the CoNLLU featurizer
      * 
@@ -67615,10 +67429,10 @@ private Builder( @java.lang.Override public Builder clear() { super.clear(); + bitField0_ = 0; key_ = emptyIntList(); - bitField0_ = (bitField0_ & ~0x00000001); - value_ = com.google.protobuf.LazyStringArrayList.EMPTY; - bitField0_ = (bitField0_ & ~0x00000002); + value_ = + com.google.protobuf.LazyStringArrayList.emptyList(); return this; } @@ -67645,19 +67459,21 @@ public edu.stanford.nlp.pipeline.CoreNLPProtos.MapIntString build() { @java.lang.Override public edu.stanford.nlp.pipeline.CoreNLPProtos.MapIntString buildPartial() { edu.stanford.nlp.pipeline.CoreNLPProtos.MapIntString result = new edu.stanford.nlp.pipeline.CoreNLPProtos.MapIntString(this); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartial0(edu.stanford.nlp.pipeline.CoreNLPProtos.MapIntString result) { int from_bitField0_ = bitField0_; - if (((bitField0_ & 0x00000001) != 0)) { + if (((from_bitField0_ & 0x00000001) != 0)) { key_.makeImmutable(); - bitField0_ = (bitField0_ & ~0x00000001); + result.key_ = key_; } - result.key_ = key_; - if (((bitField0_ & 0x00000002) != 0)) { - value_ = value_.getUnmodifiableView(); - bitField0_ = (bitField0_ & ~0x00000002); + if (((from_bitField0_ & 0x00000002) != 0)) { + value_.makeImmutable(); + result.value_ = value_; } - result.value_ = value_; - onBuilt(); - return result; } @java.lang.Override @@ -67707,7 +67523,8 @@ public Builder mergeFrom(edu.stanford.nlp.pipeline.CoreNLPProtos.MapIntString ot if (!other.key_.isEmpty()) { if (key_.isEmpty()) { key_ = other.key_; - bitField0_ = (bitField0_ & ~0x00000001); + key_.makeImmutable(); + bitField0_ |= 0x00000001; } else { ensureKeyIsMutable(); key_.addAll(other.key_); @@ -67717,7 +67534,7 @@ public Builder mergeFrom(edu.stanford.nlp.pipeline.CoreNLPProtos.MapIntString ot if (!other.value_.isEmpty()) { if (value_.isEmpty()) { value_ = other.value_; - bitField0_ = (bitField0_ & ~0x00000002); + bitField0_ |= 0x00000002; } else { ensureValueIsMutable(); value_.addAll(other.value_); @@ -67791,10 +67608,10 @@ public Builder mergeFrom( private com.google.protobuf.Internal.IntList key_ = emptyIntList(); private void ensureKeyIsMutable() { - if (!((bitField0_ & 0x00000001) != 0)) { - key_ = mutableCopy(key_); - bitField0_ |= 0x00000001; - } + if (!key_.isModifiable()) { + key_ = makeMutableCopy(key_); + } + bitField0_ |= 0x00000001; } /** * repeated uint32 key = 1; @@ -67802,8 +67619,8 @@ private void ensureKeyIsMutable() { */ public java.util.List getKeyList() { - return ((bitField0_ & 0x00000001) != 0) ? - java.util.Collections.unmodifiableList(key_) : key_; + key_.makeImmutable(); + return key_; } /** * repeated uint32 key = 1; @@ -67828,8 +67645,10 @@ public int getKey(int index) { */ public Builder setKey( int index, int value) { + ensureKeyIsMutable(); key_.setInt(index, value); + bitField0_ |= 0x00000001; onChanged(); return this; } @@ -67839,8 +67658,10 @@ public Builder setKey( * @return This builder for chaining. */ public Builder addKey(int value) { + ensureKeyIsMutable(); key_.addInt(value); + bitField0_ |= 0x00000001; onChanged(); return this; } @@ -67854,6 +67675,7 @@ public Builder addAllKey( ensureKeyIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, key_); + bitField0_ |= 0x00000001; onChanged(); return this; } @@ -67868,12 +67690,13 @@ public Builder clearKey() { return this; } - private com.google.protobuf.LazyStringList value_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private com.google.protobuf.LazyStringArrayList value_ = + com.google.protobuf.LazyStringArrayList.emptyList(); private void ensureValueIsMutable() { - if (!((bitField0_ & 0x00000002) != 0)) { + if (!value_.isModifiable()) { value_ = new com.google.protobuf.LazyStringArrayList(value_); - bitField0_ |= 0x00000002; - } + } + bitField0_ |= 0x00000002; } /** * repeated string value = 2; @@ -67881,7 +67704,8 @@ private void ensureValueIsMutable() { */ public com.google.protobuf.ProtocolStringList getValueList() { - return value_.getUnmodifiableView(); + value_.makeImmutable(); + return value_; } /** * repeated string value = 2; @@ -67915,11 +67739,10 @@ public java.lang.String getValue(int index) { */ public Builder setValue( int index, java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - ensureValueIsMutable(); + if (value == null) { throw new NullPointerException(); } + ensureValueIsMutable(); value_.set(index, value); + bitField0_ |= 0x00000002; onChanged(); return this; } @@ -67930,11 +67753,10 @@ public Builder setValue( */ public Builder addValue( java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - ensureValueIsMutable(); + if (value == null) { throw new NullPointerException(); } + ensureValueIsMutable(); value_.add(value); + bitField0_ |= 0x00000002; onChanged(); return this; } @@ -67948,6 +67770,7 @@ public Builder addAllValue( ensureValueIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, value_); + bitField0_ |= 0x00000002; onChanged(); return this; } @@ -67956,8 +67779,9 @@ public Builder addAllValue( * @return This builder for chaining. */ public Builder clearValue() { - value_ = com.google.protobuf.LazyStringArrayList.EMPTY; - bitField0_ = (bitField0_ & ~0x00000002); + value_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000002);; onChanged(); return this; } @@ -67968,11 +67792,10 @@ public Builder clearValue() { */ public Builder addValueBytes( com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - ensureValueIsMutable(); + if (value == null) { throw new NullPointerException(); } + ensureValueIsMutable(); value_.add(value); + bitField0_ |= 0x00000002; onChanged(); return this; } @@ -68204,11 +68027,6 @@ protected java.lang.Object newInstance( return new Section(); } - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return edu.stanford.nlp.pipeline.CoreNLPProtos.internal_static_edu_stanford_nlp_pipeline_Section_descriptor; @@ -68224,7 +68042,7 @@ protected java.lang.Object newInstance( private int bitField0_; public static final int CHARBEGIN_FIELD_NUMBER = 1; - private int charBegin_; + private int charBegin_ = 0; /** * required uint32 charBegin = 1; * @return Whether the charBegin field is set. @@ -68243,7 +68061,7 @@ public int getCharBegin() { } public static final int CHAREND_FIELD_NUMBER = 2; - private int charEnd_; + private int charEnd_ = 0; /** * required uint32 charEnd = 2; * @return Whether the charEnd field is set. @@ -68262,7 +68080,8 @@ public int getCharEnd() { } public static final int AUTHOR_FIELD_NUMBER = 3; - private volatile java.lang.Object author_; + @SuppressWarnings("serial") + private volatile java.lang.Object author_ = ""; /** * optional string author = 3; * @return Whether the author field is set. @@ -68310,7 +68129,9 @@ public java.lang.String getAuthor() { } public static final int SENTENCEINDEXES_FIELD_NUMBER = 4; - private com.google.protobuf.Internal.IntList sentenceIndexes_; + @SuppressWarnings("serial") + private com.google.protobuf.Internal.IntList sentenceIndexes_ = + emptyIntList(); /** * repeated uint32 sentenceIndexes = 4; * @return A list containing the sentenceIndexes. @@ -68337,7 +68158,8 @@ public int getSentenceIndexes(int index) { } public static final int DATETIME_FIELD_NUMBER = 5; - private volatile java.lang.Object datetime_; + @SuppressWarnings("serial") + private volatile java.lang.Object datetime_ = ""; /** * optional string datetime = 5; * @return Whether the datetime field is set. @@ -68385,6 +68207,7 @@ public java.lang.String getDatetime() { } public static final int QUOTES_FIELD_NUMBER = 6; + @SuppressWarnings("serial") private java.util.List quotes_; /** * repeated .edu.stanford.nlp.pipeline.Quote quotes = 6; @@ -68425,7 +68248,7 @@ public edu.stanford.nlp.pipeline.CoreNLPProtos.QuoteOrBuilder getQuotesOrBuilder } public static final int AUTHORCHARBEGIN_FIELD_NUMBER = 7; - private int authorCharBegin_; + private int authorCharBegin_ = 0; /** * optional uint32 authorCharBegin = 7; * @return Whether the authorCharBegin field is set. @@ -68444,7 +68267,7 @@ public int getAuthorCharBegin() { } public static final int AUTHORCHAREND_FIELD_NUMBER = 8; - private int authorCharEnd_; + private int authorCharEnd_ = 0; /** * optional uint32 authorCharEnd = 8; * @return Whether the authorCharEnd field is set. @@ -68749,11 +68572,13 @@ public static edu.stanford.nlp.pipeline.CoreNLPProtos.Section parseFrom( return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } + public static edu.stanford.nlp.pipeline.CoreNLPProtos.Section parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } + public static edu.stanford.nlp.pipeline.CoreNLPProtos.Section parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -68835,16 +68660,12 @@ private void maybeForceBuilderInitialization() { @java.lang.Override public Builder clear() { super.clear(); + bitField0_ = 0; charBegin_ = 0; - bitField0_ = (bitField0_ & ~0x00000001); charEnd_ = 0; - bitField0_ = (bitField0_ & ~0x00000002); author_ = ""; - bitField0_ = (bitField0_ & ~0x00000004); sentenceIndexes_ = emptyIntList(); - bitField0_ = (bitField0_ & ~0x00000008); datetime_ = ""; - bitField0_ = (bitField0_ & ~0x00000010); if (quotesBuilder_ == null) { quotes_ = java.util.Collections.emptyList(); } else { @@ -68853,15 +68674,12 @@ public Builder clear() { } bitField0_ = (bitField0_ & ~0x00000020); authorCharBegin_ = 0; - bitField0_ = (bitField0_ & ~0x00000040); authorCharEnd_ = 0; - bitField0_ = (bitField0_ & ~0x00000080); - if (xmlTagBuilder_ == null) { - xmlTag_ = null; - } else { - xmlTagBuilder_.clear(); + xmlTag_ = null; + if (xmlTagBuilder_ != null) { + xmlTagBuilder_.dispose(); + xmlTagBuilder_ = null; } - bitField0_ = (bitField0_ & ~0x00000100); return this; } @@ -68888,6 +68706,25 @@ public edu.stanford.nlp.pipeline.CoreNLPProtos.Section build() { @java.lang.Override public edu.stanford.nlp.pipeline.CoreNLPProtos.Section buildPartial() { edu.stanford.nlp.pipeline.CoreNLPProtos.Section result = new edu.stanford.nlp.pipeline.CoreNLPProtos.Section(this); + buildPartialRepeatedFields(result); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartialRepeatedFields(edu.stanford.nlp.pipeline.CoreNLPProtos.Section result) { + if (quotesBuilder_ == null) { + if (((bitField0_ & 0x00000020) != 0)) { + quotes_ = java.util.Collections.unmodifiableList(quotes_); + bitField0_ = (bitField0_ & ~0x00000020); + } + result.quotes_ = quotes_; + } else { + result.quotes_ = quotesBuilder_.build(); + } + } + + private void buildPartial0(edu.stanford.nlp.pipeline.CoreNLPProtos.Section result) { int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { @@ -68899,27 +68736,17 @@ public edu.stanford.nlp.pipeline.CoreNLPProtos.Section buildPartial() { to_bitField0_ |= 0x00000002; } if (((from_bitField0_ & 0x00000004) != 0)) { + result.author_ = author_; to_bitField0_ |= 0x00000004; } - result.author_ = author_; - if (((bitField0_ & 0x00000008) != 0)) { + if (((from_bitField0_ & 0x00000008) != 0)) { sentenceIndexes_.makeImmutable(); - bitField0_ = (bitField0_ & ~0x00000008); + result.sentenceIndexes_ = sentenceIndexes_; } - result.sentenceIndexes_ = sentenceIndexes_; if (((from_bitField0_ & 0x00000010) != 0)) { + result.datetime_ = datetime_; to_bitField0_ |= 0x00000008; } - result.datetime_ = datetime_; - if (quotesBuilder_ == null) { - if (((bitField0_ & 0x00000020) != 0)) { - quotes_ = java.util.Collections.unmodifiableList(quotes_); - bitField0_ = (bitField0_ & ~0x00000020); - } - result.quotes_ = quotes_; - } else { - result.quotes_ = quotesBuilder_.build(); - } if (((from_bitField0_ & 0x00000040) != 0)) { result.authorCharBegin_ = authorCharBegin_; to_bitField0_ |= 0x00000010; @@ -68929,16 +68756,12 @@ public edu.stanford.nlp.pipeline.CoreNLPProtos.Section buildPartial() { to_bitField0_ |= 0x00000020; } if (((from_bitField0_ & 0x00000100) != 0)) { - if (xmlTagBuilder_ == null) { - result.xmlTag_ = xmlTag_; - } else { - result.xmlTag_ = xmlTagBuilder_.build(); - } + result.xmlTag_ = xmlTagBuilder_ == null + ? xmlTag_ + : xmlTagBuilder_.build(); to_bitField0_ |= 0x00000040; } - result.bitField0_ = to_bitField0_; - onBuilt(); - return result; + result.bitField0_ |= to_bitField0_; } @java.lang.Override @@ -68992,14 +68815,15 @@ public Builder mergeFrom(edu.stanford.nlp.pipeline.CoreNLPProtos.Section other) setCharEnd(other.getCharEnd()); } if (other.hasAuthor()) { - bitField0_ |= 0x00000004; author_ = other.author_; + bitField0_ |= 0x00000004; onChanged(); } if (!other.sentenceIndexes_.isEmpty()) { if (sentenceIndexes_.isEmpty()) { sentenceIndexes_ = other.sentenceIndexes_; - bitField0_ = (bitField0_ & ~0x00000008); + sentenceIndexes_.makeImmutable(); + bitField0_ |= 0x00000008; } else { ensureSentenceIndexesIsMutable(); sentenceIndexes_.addAll(other.sentenceIndexes_); @@ -69007,8 +68831,8 @@ public Builder mergeFrom(edu.stanford.nlp.pipeline.CoreNLPProtos.Section other) onChanged(); } if (other.hasDatetime()) { - bitField0_ |= 0x00000010; datetime_ = other.datetime_; + bitField0_ |= 0x00000010; onChanged(); } if (quotesBuilder_ == null) { @@ -69195,8 +69019,9 @@ public int getCharBegin() { * @return This builder for chaining. */ public Builder setCharBegin(int value) { - bitField0_ |= 0x00000001; + charBegin_ = value; + bitField0_ |= 0x00000001; onChanged(); return this; } @@ -69234,8 +69059,9 @@ public int getCharEnd() { * @return This builder for chaining. */ public Builder setCharEnd(int value) { - bitField0_ |= 0x00000002; + charEnd_ = value; + bitField0_ |= 0x00000002; onChanged(); return this; } @@ -69300,11 +69126,9 @@ public java.lang.String getAuthor() { */ public Builder setAuthor( java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000004; + if (value == null) { throw new NullPointerException(); } author_ = value; + bitField0_ |= 0x00000004; onChanged(); return this; } @@ -69313,8 +69137,8 @@ public Builder setAuthor( * @return This builder for chaining. */ public Builder clearAuthor() { - bitField0_ = (bitField0_ & ~0x00000004); author_ = getDefaultInstance().getAuthor(); + bitField0_ = (bitField0_ & ~0x00000004); onChanged(); return this; } @@ -69325,21 +69149,19 @@ public Builder clearAuthor() { */ public Builder setAuthorBytes( com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000004; + if (value == null) { throw new NullPointerException(); } author_ = value; + bitField0_ |= 0x00000004; onChanged(); return this; } private com.google.protobuf.Internal.IntList sentenceIndexes_ = emptyIntList(); private void ensureSentenceIndexesIsMutable() { - if (!((bitField0_ & 0x00000008) != 0)) { - sentenceIndexes_ = mutableCopy(sentenceIndexes_); - bitField0_ |= 0x00000008; - } + if (!sentenceIndexes_.isModifiable()) { + sentenceIndexes_ = makeMutableCopy(sentenceIndexes_); + } + bitField0_ |= 0x00000008; } /** * repeated uint32 sentenceIndexes = 4; @@ -69347,8 +69169,8 @@ private void ensureSentenceIndexesIsMutable() { */ public java.util.List getSentenceIndexesList() { - return ((bitField0_ & 0x00000008) != 0) ? - java.util.Collections.unmodifiableList(sentenceIndexes_) : sentenceIndexes_; + sentenceIndexes_.makeImmutable(); + return sentenceIndexes_; } /** * repeated uint32 sentenceIndexes = 4; @@ -69373,8 +69195,10 @@ public int getSentenceIndexes(int index) { */ public Builder setSentenceIndexes( int index, int value) { + ensureSentenceIndexesIsMutable(); sentenceIndexes_.setInt(index, value); + bitField0_ |= 0x00000008; onChanged(); return this; } @@ -69384,8 +69208,10 @@ public Builder setSentenceIndexes( * @return This builder for chaining. */ public Builder addSentenceIndexes(int value) { + ensureSentenceIndexesIsMutable(); sentenceIndexes_.addInt(value); + bitField0_ |= 0x00000008; onChanged(); return this; } @@ -69399,6 +69225,7 @@ public Builder addAllSentenceIndexes( ensureSentenceIndexesIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, sentenceIndexes_); + bitField0_ |= 0x00000008; onChanged(); return this; } @@ -69463,11 +69290,9 @@ public java.lang.String getDatetime() { */ public Builder setDatetime( java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000010; + if (value == null) { throw new NullPointerException(); } datetime_ = value; + bitField0_ |= 0x00000010; onChanged(); return this; } @@ -69476,8 +69301,8 @@ public Builder setDatetime( * @return This builder for chaining. */ public Builder clearDatetime() { - bitField0_ = (bitField0_ & ~0x00000010); datetime_ = getDefaultInstance().getDatetime(); + bitField0_ = (bitField0_ & ~0x00000010); onChanged(); return this; } @@ -69488,11 +69313,9 @@ public Builder clearDatetime() { */ public Builder setDatetimeBytes( com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000010; + if (value == null) { throw new NullPointerException(); } datetime_ = value; + bitField0_ |= 0x00000010; onChanged(); return this; } @@ -69760,8 +69583,9 @@ public int getAuthorCharBegin() { * @return This builder for chaining. */ public Builder setAuthorCharBegin(int value) { - bitField0_ |= 0x00000040; + authorCharBegin_ = value; + bitField0_ |= 0x00000040; onChanged(); return this; } @@ -69799,8 +69623,9 @@ public int getAuthorCharEnd() { * @return This builder for chaining. */ public Builder setAuthorCharEnd(int value) { - bitField0_ |= 0x00000080; + authorCharEnd_ = value; + bitField0_ |= 0x00000080; onChanged(); return this; } @@ -69845,11 +69670,11 @@ public Builder setXmlTag(edu.stanford.nlp.pipeline.CoreNLPProtos.Token value) { throw new NullPointerException(); } xmlTag_ = value; - onChanged(); } else { xmlTagBuilder_.setMessage(value); } bitField0_ |= 0x00000100; + onChanged(); return this; } /** @@ -69859,11 +69684,11 @@ public Builder setXmlTag( edu.stanford.nlp.pipeline.CoreNLPProtos.Token.Builder builderForValue) { if (xmlTagBuilder_ == null) { xmlTag_ = builderForValue.build(); - onChanged(); } else { xmlTagBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000100; + onChanged(); return this; } /** @@ -69872,31 +69697,32 @@ public Builder setXmlTag( public Builder mergeXmlTag(edu.stanford.nlp.pipeline.CoreNLPProtos.Token value) { if (xmlTagBuilder_ == null) { if (((bitField0_ & 0x00000100) != 0) && - xmlTag_ != null && - xmlTag_ != edu.stanford.nlp.pipeline.CoreNLPProtos.Token.getDefaultInstance()) { - xmlTag_ = - edu.stanford.nlp.pipeline.CoreNLPProtos.Token.newBuilder(xmlTag_).mergeFrom(value).buildPartial(); + xmlTag_ != null && + xmlTag_ != edu.stanford.nlp.pipeline.CoreNLPProtos.Token.getDefaultInstance()) { + getXmlTagBuilder().mergeFrom(value); } else { xmlTag_ = value; } - onChanged(); } else { xmlTagBuilder_.mergeFrom(value); } - bitField0_ |= 0x00000100; + if (xmlTag_ != null) { + bitField0_ |= 0x00000100; + onChanged(); + } return this; } /** * required .edu.stanford.nlp.pipeline.Token xmlTag = 9; */ public Builder clearXmlTag() { - if (xmlTagBuilder_ == null) { - xmlTag_ = null; - onChanged(); - } else { - xmlTagBuilder_.clear(); - } bitField0_ = (bitField0_ & ~0x00000100); + xmlTag_ = null; + if (xmlTagBuilder_ != null) { + xmlTagBuilder_.dispose(); + xmlTagBuilder_ = null; + } + onChanged(); return this; } /** @@ -70073,7 +69899,8 @@ private SemgrexRequest(com.google.protobuf.GeneratedMessageV3.Builder builder super(builder); } private SemgrexRequest() { - semgrex_ = com.google.protobuf.LazyStringArrayList.EMPTY; + semgrex_ = + com.google.protobuf.LazyStringArrayList.emptyList(); query_ = java.util.Collections.emptyList(); } @@ -70084,11 +69911,6 @@ protected java.lang.Object newInstance( return new SemgrexRequest(); } - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return edu.stanford.nlp.pipeline.CoreNLPProtos.internal_static_edu_stanford_nlp_pipeline_SemgrexRequest_descriptor; @@ -70168,11 +69990,6 @@ protected java.lang.Object newInstance( return new Dependencies(); } - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return edu.stanford.nlp.pipeline.CoreNLPProtos.internal_static_edu_stanford_nlp_pipeline_SemgrexRequest_Dependencies_descriptor; @@ -70188,6 +70005,7 @@ protected java.lang.Object newInstance( private int bitField0_; public static final int TOKEN_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private java.util.List token_; /** * repeated .edu.stanford.nlp.pipeline.Token token = 1; @@ -70394,11 +70212,13 @@ public static edu.stanford.nlp.pipeline.CoreNLPProtos.SemgrexRequest.Dependencie return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } + public static edu.stanford.nlp.pipeline.CoreNLPProtos.SemgrexRequest.Dependencies parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } + public static edu.stanford.nlp.pipeline.CoreNLPProtos.SemgrexRequest.Dependencies parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70480,6 +70300,7 @@ private void maybeForceBuilderInitialization() { @java.lang.Override public Builder clear() { super.clear(); + bitField0_ = 0; if (tokenBuilder_ == null) { token_ = java.util.Collections.emptyList(); } else { @@ -70487,12 +70308,11 @@ public Builder clear() { tokenBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000001); - if (graphBuilder_ == null) { - graph_ = null; - } else { - graphBuilder_.clear(); + graph_ = null; + if (graphBuilder_ != null) { + graphBuilder_.dispose(); + graphBuilder_ = null; } - bitField0_ = (bitField0_ & ~0x00000002); return this; } @@ -70519,8 +70339,13 @@ public edu.stanford.nlp.pipeline.CoreNLPProtos.SemgrexRequest.Dependencies build @java.lang.Override public edu.stanford.nlp.pipeline.CoreNLPProtos.SemgrexRequest.Dependencies buildPartial() { edu.stanford.nlp.pipeline.CoreNLPProtos.SemgrexRequest.Dependencies result = new edu.stanford.nlp.pipeline.CoreNLPProtos.SemgrexRequest.Dependencies(this); - int from_bitField0_ = bitField0_; - int to_bitField0_ = 0; + buildPartialRepeatedFields(result); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartialRepeatedFields(edu.stanford.nlp.pipeline.CoreNLPProtos.SemgrexRequest.Dependencies result) { if (tokenBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { token_ = java.util.Collections.unmodifiableList(token_); @@ -70530,17 +70355,18 @@ public edu.stanford.nlp.pipeline.CoreNLPProtos.SemgrexRequest.Dependencies build } else { result.token_ = tokenBuilder_.build(); } + } + + private void buildPartial0(edu.stanford.nlp.pipeline.CoreNLPProtos.SemgrexRequest.Dependencies result) { + int from_bitField0_ = bitField0_; + int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000002) != 0)) { - if (graphBuilder_ == null) { - result.graph_ = graph_; - } else { - result.graph_ = graphBuilder_.build(); - } + result.graph_ = graphBuilder_ == null + ? graph_ + : graphBuilder_.build(); to_bitField0_ |= 0x00000001; } - result.bitField0_ = to_bitField0_; - onBuilt(); - return result; + result.bitField0_ |= to_bitField0_; } @java.lang.Override @@ -70960,11 +70786,11 @@ public Builder setGraph(edu.stanford.nlp.pipeline.CoreNLPProtos.DependencyGraph throw new NullPointerException(); } graph_ = value; - onChanged(); } else { graphBuilder_.setMessage(value); } bitField0_ |= 0x00000002; + onChanged(); return this; } /** @@ -70974,11 +70800,11 @@ public Builder setGraph( edu.stanford.nlp.pipeline.CoreNLPProtos.DependencyGraph.Builder builderForValue) { if (graphBuilder_ == null) { graph_ = builderForValue.build(); - onChanged(); } else { graphBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000002; + onChanged(); return this; } /** @@ -70987,31 +70813,32 @@ public Builder setGraph( public Builder mergeGraph(edu.stanford.nlp.pipeline.CoreNLPProtos.DependencyGraph value) { if (graphBuilder_ == null) { if (((bitField0_ & 0x00000002) != 0) && - graph_ != null && - graph_ != edu.stanford.nlp.pipeline.CoreNLPProtos.DependencyGraph.getDefaultInstance()) { - graph_ = - edu.stanford.nlp.pipeline.CoreNLPProtos.DependencyGraph.newBuilder(graph_).mergeFrom(value).buildPartial(); + graph_ != null && + graph_ != edu.stanford.nlp.pipeline.CoreNLPProtos.DependencyGraph.getDefaultInstance()) { + getGraphBuilder().mergeFrom(value); } else { graph_ = value; } - onChanged(); } else { graphBuilder_.mergeFrom(value); } - bitField0_ |= 0x00000002; + if (graph_ != null) { + bitField0_ |= 0x00000002; + onChanged(); + } return this; } /** * required .edu.stanford.nlp.pipeline.DependencyGraph graph = 2; */ public Builder clearGraph() { - if (graphBuilder_ == null) { - graph_ = null; - onChanged(); - } else { - graphBuilder_.clear(); - } bitField0_ = (bitField0_ & ~0x00000002); + graph_ = null; + if (graphBuilder_ != null) { + graphBuilder_.dispose(); + graphBuilder_ = null; + } + onChanged(); return this; } /** @@ -71114,7 +70941,9 @@ public edu.stanford.nlp.pipeline.CoreNLPProtos.SemgrexRequest.Dependencies getDe } public static final int SEMGREX_FIELD_NUMBER = 1; - private com.google.protobuf.LazyStringList semgrex_; + @SuppressWarnings("serial") + private com.google.protobuf.LazyStringArrayList semgrex_ = + com.google.protobuf.LazyStringArrayList.emptyList(); /** * repeated string semgrex = 1; * @return A list containing the semgrex. @@ -71149,6 +70978,7 @@ public java.lang.String getSemgrex(int index) { } public static final int QUERY_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private java.util.List query_; /** * repeated .edu.stanford.nlp.pipeline.SemgrexRequest.Dependencies query = 2; @@ -71322,11 +71152,13 @@ public static edu.stanford.nlp.pipeline.CoreNLPProtos.SemgrexRequest parseFrom( return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } + public static edu.stanford.nlp.pipeline.CoreNLPProtos.SemgrexRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } + public static edu.stanford.nlp.pipeline.CoreNLPProtos.SemgrexRequest parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -71410,8 +71242,9 @@ private Builder( @java.lang.Override public Builder clear() { super.clear(); - semgrex_ = com.google.protobuf.LazyStringArrayList.EMPTY; - bitField0_ = (bitField0_ & ~0x00000001); + bitField0_ = 0; + semgrex_ = + com.google.protobuf.LazyStringArrayList.emptyList(); if (queryBuilder_ == null) { query_ = java.util.Collections.emptyList(); } else { @@ -71445,12 +71278,13 @@ public edu.stanford.nlp.pipeline.CoreNLPProtos.SemgrexRequest build() { @java.lang.Override public edu.stanford.nlp.pipeline.CoreNLPProtos.SemgrexRequest buildPartial() { edu.stanford.nlp.pipeline.CoreNLPProtos.SemgrexRequest result = new edu.stanford.nlp.pipeline.CoreNLPProtos.SemgrexRequest(this); - int from_bitField0_ = bitField0_; - if (((bitField0_ & 0x00000001) != 0)) { - semgrex_ = semgrex_.getUnmodifiableView(); - bitField0_ = (bitField0_ & ~0x00000001); - } - result.semgrex_ = semgrex_; + buildPartialRepeatedFields(result); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartialRepeatedFields(edu.stanford.nlp.pipeline.CoreNLPProtos.SemgrexRequest result) { if (queryBuilder_ == null) { if (((bitField0_ & 0x00000002) != 0)) { query_ = java.util.Collections.unmodifiableList(query_); @@ -71460,8 +71294,14 @@ public edu.stanford.nlp.pipeline.CoreNLPProtos.SemgrexRequest buildPartial() { } else { result.query_ = queryBuilder_.build(); } - onBuilt(); - return result; + } + + private void buildPartial0(edu.stanford.nlp.pipeline.CoreNLPProtos.SemgrexRequest result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + semgrex_.makeImmutable(); + result.semgrex_ = semgrex_; + } } @java.lang.Override @@ -71511,7 +71351,7 @@ public Builder mergeFrom(edu.stanford.nlp.pipeline.CoreNLPProtos.SemgrexRequest if (!other.semgrex_.isEmpty()) { if (semgrex_.isEmpty()) { semgrex_ = other.semgrex_; - bitField0_ = (bitField0_ & ~0x00000001); + bitField0_ |= 0x00000001; } else { ensureSemgrexIsMutable(); semgrex_.addAll(other.semgrex_); @@ -71611,12 +71451,13 @@ public Builder mergeFrom( } private int bitField0_; - private com.google.protobuf.LazyStringList semgrex_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private com.google.protobuf.LazyStringArrayList semgrex_ = + com.google.protobuf.LazyStringArrayList.emptyList(); private void ensureSemgrexIsMutable() { - if (!((bitField0_ & 0x00000001) != 0)) { + if (!semgrex_.isModifiable()) { semgrex_ = new com.google.protobuf.LazyStringArrayList(semgrex_); - bitField0_ |= 0x00000001; - } + } + bitField0_ |= 0x00000001; } /** * repeated string semgrex = 1; @@ -71624,7 +71465,8 @@ private void ensureSemgrexIsMutable() { */ public com.google.protobuf.ProtocolStringList getSemgrexList() { - return semgrex_.getUnmodifiableView(); + semgrex_.makeImmutable(); + return semgrex_; } /** * repeated string semgrex = 1; @@ -71658,11 +71500,10 @@ public java.lang.String getSemgrex(int index) { */ public Builder setSemgrex( int index, java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - ensureSemgrexIsMutable(); + if (value == null) { throw new NullPointerException(); } + ensureSemgrexIsMutable(); semgrex_.set(index, value); + bitField0_ |= 0x00000001; onChanged(); return this; } @@ -71673,11 +71514,10 @@ public Builder setSemgrex( */ public Builder addSemgrex( java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - ensureSemgrexIsMutable(); + if (value == null) { throw new NullPointerException(); } + ensureSemgrexIsMutable(); semgrex_.add(value); + bitField0_ |= 0x00000001; onChanged(); return this; } @@ -71691,6 +71531,7 @@ public Builder addAllSemgrex( ensureSemgrexIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, semgrex_); + bitField0_ |= 0x00000001; onChanged(); return this; } @@ -71699,8 +71540,9 @@ public Builder addAllSemgrex( * @return This builder for chaining. */ public Builder clearSemgrex() { - semgrex_ = com.google.protobuf.LazyStringArrayList.EMPTY; - bitField0_ = (bitField0_ & ~0x00000001); + semgrex_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000001);; onChanged(); return this; } @@ -71711,11 +71553,10 @@ public Builder clearSemgrex() { */ public Builder addSemgrexBytes( com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - ensureSemgrexIsMutable(); + if (value == null) { throw new NullPointerException(); } + ensureSemgrexIsMutable(); semgrex_.add(value); + bitField0_ |= 0x00000001; onChanged(); return this; } @@ -72057,6 +71898,7 @@ edu.stanford.nlp.pipeline.CoreNLPProtos.SemgrexResponse.GraphResultOrBuilder get * If you pass in M semgrex expressions and N dependency graphs, * this returns MxN nested results. Each SemgrexResult can match * multiple times in one graph + * * You may want to send multiple semgrexes per query because * translating large numbers of dependency graphs to protobufs * will be expensive, so doing several queries at once will save time @@ -72084,11 +71926,6 @@ protected java.lang.Object newInstance( return new SemgrexResponse(); } - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return edu.stanford.nlp.pipeline.CoreNLPProtos.internal_static_edu_stanford_nlp_pipeline_SemgrexResponse_descriptor; @@ -72157,11 +71994,6 @@ protected java.lang.Object newInstance( return new NamedNode(); } - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return edu.stanford.nlp.pipeline.CoreNLPProtos.internal_static_edu_stanford_nlp_pipeline_SemgrexResponse_NamedNode_descriptor; @@ -72177,7 +72009,8 @@ protected java.lang.Object newInstance( private int bitField0_; public static final int NAME_FIELD_NUMBER = 1; - private volatile java.lang.Object name_; + @SuppressWarnings("serial") + private volatile java.lang.Object name_ = ""; /** * required string name = 1; * @return Whether the name field is set. @@ -72225,7 +72058,7 @@ public java.lang.String getName() { } public static final int MATCHINDEX_FIELD_NUMBER = 2; - private int matchIndex_; + private int matchIndex_ = 0; /** * required int32 matchIndex = 2; * @return Whether the matchIndex field is set. @@ -72380,11 +72213,13 @@ public static edu.stanford.nlp.pipeline.CoreNLPProtos.SemgrexResponse.NamedNode return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } + public static edu.stanford.nlp.pipeline.CoreNLPProtos.SemgrexResponse.NamedNode parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } + public static edu.stanford.nlp.pipeline.CoreNLPProtos.SemgrexResponse.NamedNode parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -72459,10 +72294,9 @@ private Builder( @java.lang.Override public Builder clear() { super.clear(); + bitField0_ = 0; name_ = ""; - bitField0_ = (bitField0_ & ~0x00000001); matchIndex_ = 0; - bitField0_ = (bitField0_ & ~0x00000002); return this; } @@ -72489,19 +72323,23 @@ public edu.stanford.nlp.pipeline.CoreNLPProtos.SemgrexResponse.NamedNode build() @java.lang.Override public edu.stanford.nlp.pipeline.CoreNLPProtos.SemgrexResponse.NamedNode buildPartial() { edu.stanford.nlp.pipeline.CoreNLPProtos.SemgrexResponse.NamedNode result = new edu.stanford.nlp.pipeline.CoreNLPProtos.SemgrexResponse.NamedNode(this); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartial0(edu.stanford.nlp.pipeline.CoreNLPProtos.SemgrexResponse.NamedNode result) { int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { + result.name_ = name_; to_bitField0_ |= 0x00000001; } - result.name_ = name_; if (((from_bitField0_ & 0x00000002) != 0)) { result.matchIndex_ = matchIndex_; to_bitField0_ |= 0x00000002; } - result.bitField0_ = to_bitField0_; - onBuilt(); - return result; + result.bitField0_ |= to_bitField0_; } @java.lang.Override @@ -72549,8 +72387,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { public Builder mergeFrom(edu.stanford.nlp.pipeline.CoreNLPProtos.SemgrexResponse.NamedNode other) { if (other == edu.stanford.nlp.pipeline.CoreNLPProtos.SemgrexResponse.NamedNode.getDefaultInstance()) return this; if (other.hasName()) { - bitField0_ |= 0x00000001; name_ = other.name_; + bitField0_ |= 0x00000001; onChanged(); } if (other.hasMatchIndex()) { @@ -72665,11 +72503,9 @@ public java.lang.String getName() { */ public Builder setName( java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000001; + if (value == null) { throw new NullPointerException(); } name_ = value; + bitField0_ |= 0x00000001; onChanged(); return this; } @@ -72678,8 +72514,8 @@ public Builder setName( * @return This builder for chaining. */ public Builder clearName() { - bitField0_ = (bitField0_ & ~0x00000001); name_ = getDefaultInstance().getName(); + bitField0_ = (bitField0_ & ~0x00000001); onChanged(); return this; } @@ -72690,11 +72526,9 @@ public Builder clearName() { */ public Builder setNameBytes( com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000001; + if (value == null) { throw new NullPointerException(); } name_ = value; + bitField0_ |= 0x00000001; onChanged(); return this; } @@ -72722,8 +72556,9 @@ public int getMatchIndex() { * @return This builder for chaining. */ public Builder setMatchIndex(int value) { - bitField0_ |= 0x00000002; + matchIndex_ = value; + bitField0_ |= 0x00000002; onChanged(); return this; } @@ -72863,11 +72698,6 @@ protected java.lang.Object newInstance( return new NamedRelation(); } - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return edu.stanford.nlp.pipeline.CoreNLPProtos.internal_static_edu_stanford_nlp_pipeline_SemgrexResponse_NamedRelation_descriptor; @@ -72883,7 +72713,8 @@ protected java.lang.Object newInstance( private int bitField0_; public static final int NAME_FIELD_NUMBER = 1; - private volatile java.lang.Object name_; + @SuppressWarnings("serial") + private volatile java.lang.Object name_ = ""; /** * required string name = 1; * @return Whether the name field is set. @@ -72931,7 +72762,8 @@ public java.lang.String getName() { } public static final int RELN_FIELD_NUMBER = 2; - private volatile java.lang.Object reln_; + @SuppressWarnings("serial") + private volatile java.lang.Object reln_ = ""; /** * required string reln = 2; * @return Whether the reln field is set. @@ -73114,11 +72946,13 @@ public static edu.stanford.nlp.pipeline.CoreNLPProtos.SemgrexResponse.NamedRelat return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } + public static edu.stanford.nlp.pipeline.CoreNLPProtos.SemgrexResponse.NamedRelation parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } + public static edu.stanford.nlp.pipeline.CoreNLPProtos.SemgrexResponse.NamedRelation parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -73193,10 +73027,9 @@ private Builder( @java.lang.Override public Builder clear() { super.clear(); + bitField0_ = 0; name_ = ""; - bitField0_ = (bitField0_ & ~0x00000001); reln_ = ""; - bitField0_ = (bitField0_ & ~0x00000002); return this; } @@ -73223,19 +73056,23 @@ public edu.stanford.nlp.pipeline.CoreNLPProtos.SemgrexResponse.NamedRelation bui @java.lang.Override public edu.stanford.nlp.pipeline.CoreNLPProtos.SemgrexResponse.NamedRelation buildPartial() { edu.stanford.nlp.pipeline.CoreNLPProtos.SemgrexResponse.NamedRelation result = new edu.stanford.nlp.pipeline.CoreNLPProtos.SemgrexResponse.NamedRelation(this); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartial0(edu.stanford.nlp.pipeline.CoreNLPProtos.SemgrexResponse.NamedRelation result) { int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { + result.name_ = name_; to_bitField0_ |= 0x00000001; } - result.name_ = name_; if (((from_bitField0_ & 0x00000002) != 0)) { + result.reln_ = reln_; to_bitField0_ |= 0x00000002; } - result.reln_ = reln_; - result.bitField0_ = to_bitField0_; - onBuilt(); - return result; + result.bitField0_ |= to_bitField0_; } @java.lang.Override @@ -73283,13 +73120,13 @@ public Builder mergeFrom(com.google.protobuf.Message other) { public Builder mergeFrom(edu.stanford.nlp.pipeline.CoreNLPProtos.SemgrexResponse.NamedRelation other) { if (other == edu.stanford.nlp.pipeline.CoreNLPProtos.SemgrexResponse.NamedRelation.getDefaultInstance()) return this; if (other.hasName()) { - bitField0_ |= 0x00000001; name_ = other.name_; + bitField0_ |= 0x00000001; onChanged(); } if (other.hasReln()) { - bitField0_ |= 0x00000002; reln_ = other.reln_; + bitField0_ |= 0x00000002; onChanged(); } this.mergeUnknownFields(other.getUnknownFields()); @@ -73401,11 +73238,9 @@ public java.lang.String getName() { */ public Builder setName( java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000001; + if (value == null) { throw new NullPointerException(); } name_ = value; + bitField0_ |= 0x00000001; onChanged(); return this; } @@ -73414,8 +73249,8 @@ public Builder setName( * @return This builder for chaining. */ public Builder clearName() { - bitField0_ = (bitField0_ & ~0x00000001); name_ = getDefaultInstance().getName(); + bitField0_ = (bitField0_ & ~0x00000001); onChanged(); return this; } @@ -73426,11 +73261,9 @@ public Builder clearName() { */ public Builder setNameBytes( com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000001; + if (value == null) { throw new NullPointerException(); } name_ = value; + bitField0_ |= 0x00000001; onChanged(); return this; } @@ -73485,11 +73318,9 @@ public java.lang.String getReln() { */ public Builder setReln( java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000002; + if (value == null) { throw new NullPointerException(); } reln_ = value; + bitField0_ |= 0x00000002; onChanged(); return this; } @@ -73498,8 +73329,8 @@ public Builder setReln( * @return This builder for chaining. */ public Builder clearReln() { - bitField0_ = (bitField0_ & ~0x00000002); reln_ = getDefaultInstance().getReln(); + bitField0_ = (bitField0_ & ~0x00000002); onChanged(); return this; } @@ -73510,11 +73341,9 @@ public Builder clearReln() { */ public Builder setRelnBytes( com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000002; + if (value == null) { throw new NullPointerException(); } reln_ = value; + bitField0_ |= 0x00000002; onChanged(); return this; } @@ -73699,11 +73528,6 @@ protected java.lang.Object newInstance( return new NamedEdge(); } - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return edu.stanford.nlp.pipeline.CoreNLPProtos.internal_static_edu_stanford_nlp_pipeline_SemgrexResponse_NamedEdge_descriptor; @@ -73719,7 +73543,8 @@ protected java.lang.Object newInstance( private int bitField0_; public static final int NAME_FIELD_NUMBER = 1; - private volatile java.lang.Object name_; + @SuppressWarnings("serial") + private volatile java.lang.Object name_ = ""; /** * required string name = 1; * @return Whether the name field is set. @@ -73767,7 +73592,7 @@ public java.lang.String getName() { } public static final int SOURCE_FIELD_NUMBER = 2; - private int source_; + private int source_ = 0; /** * required int32 source = 2; * @return Whether the source field is set. @@ -73786,7 +73611,7 @@ public int getSource() { } public static final int TARGET_FIELD_NUMBER = 3; - private int target_; + private int target_ = 0; /** * required int32 target = 3; * @return Whether the target field is set. @@ -73805,7 +73630,8 @@ public int getTarget() { } public static final int RELN_FIELD_NUMBER = 4; - private volatile java.lang.Object reln_; + @SuppressWarnings("serial") + private volatile java.lang.Object reln_ = ""; /** * optional string reln = 4; * @return Whether the reln field is set. @@ -73853,7 +73679,7 @@ public java.lang.String getReln() { } public static final int ISEXTRA_FIELD_NUMBER = 5; - private boolean isExtra_; + private boolean isExtra_ = false; /** * optional bool isExtra = 5; * @return Whether the isExtra field is set. @@ -73872,7 +73698,7 @@ public boolean getIsExtra() { } public static final int SOURCECOPY_FIELD_NUMBER = 6; - private int sourceCopy_; + private int sourceCopy_ = 0; /** * optional uint32 sourceCopy = 6; * @return Whether the sourceCopy field is set. @@ -73891,7 +73717,7 @@ public int getSourceCopy() { } public static final int TARGETCOPY_FIELD_NUMBER = 7; - private int targetCopy_; + private int targetCopy_ = 0; /** * optional uint32 targetCopy = 7; * @return Whether the targetCopy field is set. @@ -74130,11 +73956,13 @@ public static edu.stanford.nlp.pipeline.CoreNLPProtos.SemgrexResponse.NamedEdge return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } + public static edu.stanford.nlp.pipeline.CoreNLPProtos.SemgrexResponse.NamedEdge parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } + public static edu.stanford.nlp.pipeline.CoreNLPProtos.SemgrexResponse.NamedEdge parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -74209,20 +74037,14 @@ private Builder( @java.lang.Override public Builder clear() { super.clear(); + bitField0_ = 0; name_ = ""; - bitField0_ = (bitField0_ & ~0x00000001); source_ = 0; - bitField0_ = (bitField0_ & ~0x00000002); target_ = 0; - bitField0_ = (bitField0_ & ~0x00000004); reln_ = ""; - bitField0_ = (bitField0_ & ~0x00000008); isExtra_ = false; - bitField0_ = (bitField0_ & ~0x00000010); sourceCopy_ = 0; - bitField0_ = (bitField0_ & ~0x00000020); targetCopy_ = 0; - bitField0_ = (bitField0_ & ~0x00000040); return this; } @@ -74249,12 +74071,18 @@ public edu.stanford.nlp.pipeline.CoreNLPProtos.SemgrexResponse.NamedEdge build() @java.lang.Override public edu.stanford.nlp.pipeline.CoreNLPProtos.SemgrexResponse.NamedEdge buildPartial() { edu.stanford.nlp.pipeline.CoreNLPProtos.SemgrexResponse.NamedEdge result = new edu.stanford.nlp.pipeline.CoreNLPProtos.SemgrexResponse.NamedEdge(this); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartial0(edu.stanford.nlp.pipeline.CoreNLPProtos.SemgrexResponse.NamedEdge result) { int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { + result.name_ = name_; to_bitField0_ |= 0x00000001; } - result.name_ = name_; if (((from_bitField0_ & 0x00000002) != 0)) { result.source_ = source_; to_bitField0_ |= 0x00000002; @@ -74264,9 +74092,9 @@ public edu.stanford.nlp.pipeline.CoreNLPProtos.SemgrexResponse.NamedEdge buildPa to_bitField0_ |= 0x00000004; } if (((from_bitField0_ & 0x00000008) != 0)) { + result.reln_ = reln_; to_bitField0_ |= 0x00000008; } - result.reln_ = reln_; if (((from_bitField0_ & 0x00000010) != 0)) { result.isExtra_ = isExtra_; to_bitField0_ |= 0x00000010; @@ -74279,9 +74107,7 @@ public edu.stanford.nlp.pipeline.CoreNLPProtos.SemgrexResponse.NamedEdge buildPa result.targetCopy_ = targetCopy_; to_bitField0_ |= 0x00000040; } - result.bitField0_ = to_bitField0_; - onBuilt(); - return result; + result.bitField0_ |= to_bitField0_; } @java.lang.Override @@ -74329,8 +74155,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { public Builder mergeFrom(edu.stanford.nlp.pipeline.CoreNLPProtos.SemgrexResponse.NamedEdge other) { if (other == edu.stanford.nlp.pipeline.CoreNLPProtos.SemgrexResponse.NamedEdge.getDefaultInstance()) return this; if (other.hasName()) { - bitField0_ |= 0x00000001; name_ = other.name_; + bitField0_ |= 0x00000001; onChanged(); } if (other.hasSource()) { @@ -74340,8 +74166,8 @@ public Builder mergeFrom(edu.stanford.nlp.pipeline.CoreNLPProtos.SemgrexResponse setTarget(other.getTarget()); } if (other.hasReln()) { - bitField0_ |= 0x00000008; reln_ = other.reln_; + bitField0_ |= 0x00000008; onChanged(); } if (other.hasIsExtra()) { @@ -74490,11 +74316,9 @@ public java.lang.String getName() { */ public Builder setName( java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000001; + if (value == null) { throw new NullPointerException(); } name_ = value; + bitField0_ |= 0x00000001; onChanged(); return this; } @@ -74503,8 +74327,8 @@ public Builder setName( * @return This builder for chaining. */ public Builder clearName() { - bitField0_ = (bitField0_ & ~0x00000001); name_ = getDefaultInstance().getName(); + bitField0_ = (bitField0_ & ~0x00000001); onChanged(); return this; } @@ -74515,11 +74339,9 @@ public Builder clearName() { */ public Builder setNameBytes( com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000001; + if (value == null) { throw new NullPointerException(); } name_ = value; + bitField0_ |= 0x00000001; onChanged(); return this; } @@ -74547,8 +74369,9 @@ public int getSource() { * @return This builder for chaining. */ public Builder setSource(int value) { - bitField0_ |= 0x00000002; + source_ = value; + bitField0_ |= 0x00000002; onChanged(); return this; } @@ -74586,8 +74409,9 @@ public int getTarget() { * @return This builder for chaining. */ public Builder setTarget(int value) { - bitField0_ |= 0x00000004; + target_ = value; + bitField0_ |= 0x00000004; onChanged(); return this; } @@ -74652,11 +74476,9 @@ public java.lang.String getReln() { */ public Builder setReln( java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000008; + if (value == null) { throw new NullPointerException(); } reln_ = value; + bitField0_ |= 0x00000008; onChanged(); return this; } @@ -74665,8 +74487,8 @@ public Builder setReln( * @return This builder for chaining. */ public Builder clearReln() { - bitField0_ = (bitField0_ & ~0x00000008); reln_ = getDefaultInstance().getReln(); + bitField0_ = (bitField0_ & ~0x00000008); onChanged(); return this; } @@ -74677,11 +74499,9 @@ public Builder clearReln() { */ public Builder setRelnBytes( com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000008; + if (value == null) { throw new NullPointerException(); } reln_ = value; + bitField0_ |= 0x00000008; onChanged(); return this; } @@ -74709,8 +74529,9 @@ public boolean getIsExtra() { * @return This builder for chaining. */ public Builder setIsExtra(boolean value) { - bitField0_ |= 0x00000010; + isExtra_ = value; + bitField0_ |= 0x00000010; onChanged(); return this; } @@ -74748,8 +74569,9 @@ public int getSourceCopy() { * @return This builder for chaining. */ public Builder setSourceCopy(int value) { - bitField0_ |= 0x00000020; + sourceCopy_ = value; + bitField0_ |= 0x00000020; onChanged(); return this; } @@ -74787,8 +74609,9 @@ public int getTargetCopy() { * @return This builder for chaining. */ public Builder setTargetCopy(int value) { - bitField0_ |= 0x00000040; + targetCopy_ = value; + bitField0_ |= 0x00000040; onChanged(); return this; } @@ -75022,11 +74845,6 @@ protected java.lang.Object newInstance( return new Match(); } - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return edu.stanford.nlp.pipeline.CoreNLPProtos.internal_static_edu_stanford_nlp_pipeline_SemgrexResponse_Match_descriptor; @@ -75042,7 +74860,7 @@ protected java.lang.Object newInstance( private int bitField0_; public static final int MATCHINDEX_FIELD_NUMBER = 1; - private int matchIndex_; + private int matchIndex_ = 0; /** * required int32 matchIndex = 1; * @return Whether the matchIndex field is set. @@ -75061,6 +74879,7 @@ public int getMatchIndex() { } public static final int NODE_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private java.util.List node_; /** * repeated .edu.stanford.nlp.pipeline.SemgrexResponse.NamedNode node = 2; @@ -75101,6 +74920,7 @@ public edu.stanford.nlp.pipeline.CoreNLPProtos.SemgrexResponse.NamedNodeOrBuilde } public static final int RELN_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private java.util.List reln_; /** * repeated .edu.stanford.nlp.pipeline.SemgrexResponse.NamedRelation reln = 3; @@ -75141,6 +74961,7 @@ public edu.stanford.nlp.pipeline.CoreNLPProtos.SemgrexResponse.NamedRelationOrBu } public static final int EDGE_FIELD_NUMBER = 6; + @SuppressWarnings("serial") private java.util.List edge_; /** * repeated .edu.stanford.nlp.pipeline.SemgrexResponse.NamedEdge edge = 6; @@ -75181,7 +75002,7 @@ public edu.stanford.nlp.pipeline.CoreNLPProtos.SemgrexResponse.NamedEdgeOrBuilde } public static final int GRAPHINDEX_FIELD_NUMBER = 4; - private int graphIndex_; + private int graphIndex_ = 0; /** *
        * when processing multiple dependency graphs at once,
@@ -75212,7 +75033,7 @@ public int getGraphIndex() {
       }
 
       public static final int SEMGREXINDEX_FIELD_NUMBER = 5;
-      private int semgrexIndex_;
+      private int semgrexIndex_ = 0;
       /**
        * 
        * index of the semgrex expression this match applies to
@@ -75447,11 +75268,13 @@ public static edu.stanford.nlp.pipeline.CoreNLPProtos.SemgrexResponse.Match pars
         return com.google.protobuf.GeneratedMessageV3
             .parseWithIOException(PARSER, input, extensionRegistry);
       }
+
       public static edu.stanford.nlp.pipeline.CoreNLPProtos.SemgrexResponse.Match parseDelimitedFrom(java.io.InputStream input)
           throws java.io.IOException {
         return com.google.protobuf.GeneratedMessageV3
             .parseDelimitedWithIOException(PARSER, input);
       }
+
       public static edu.stanford.nlp.pipeline.CoreNLPProtos.SemgrexResponse.Match parseDelimitedFrom(
           java.io.InputStream input,
           com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -75526,8 +75349,8 @@ private Builder(
         @java.lang.Override
         public Builder clear() {
           super.clear();
+          bitField0_ = 0;
           matchIndex_ = 0;
-          bitField0_ = (bitField0_ & ~0x00000001);
           if (nodeBuilder_ == null) {
             node_ = java.util.Collections.emptyList();
           } else {
@@ -75550,9 +75373,7 @@ public Builder clear() {
           }
           bitField0_ = (bitField0_ & ~0x00000008);
           graphIndex_ = 0;
-          bitField0_ = (bitField0_ & ~0x00000010);
           semgrexIndex_ = 0;
-          bitField0_ = (bitField0_ & ~0x00000020);
           return this;
         }
 
@@ -75579,12 +75400,13 @@ public edu.stanford.nlp.pipeline.CoreNLPProtos.SemgrexResponse.Match build() {
         @java.lang.Override
         public edu.stanford.nlp.pipeline.CoreNLPProtos.SemgrexResponse.Match buildPartial() {
           edu.stanford.nlp.pipeline.CoreNLPProtos.SemgrexResponse.Match result = new edu.stanford.nlp.pipeline.CoreNLPProtos.SemgrexResponse.Match(this);
-          int from_bitField0_ = bitField0_;
-          int to_bitField0_ = 0;
-          if (((from_bitField0_ & 0x00000001) != 0)) {
-            result.matchIndex_ = matchIndex_;
-            to_bitField0_ |= 0x00000001;
-          }
+          buildPartialRepeatedFields(result);
+          if (bitField0_ != 0) { buildPartial0(result); }
+          onBuilt();
+          return result;
+        }
+
+        private void buildPartialRepeatedFields(edu.stanford.nlp.pipeline.CoreNLPProtos.SemgrexResponse.Match result) {
           if (nodeBuilder_ == null) {
             if (((bitField0_ & 0x00000002) != 0)) {
               node_ = java.util.Collections.unmodifiableList(node_);
@@ -75612,6 +75434,15 @@ public edu.stanford.nlp.pipeline.CoreNLPProtos.SemgrexResponse.Match buildPartia
           } else {
             result.edge_ = edgeBuilder_.build();
           }
+        }
+
+        private void buildPartial0(edu.stanford.nlp.pipeline.CoreNLPProtos.SemgrexResponse.Match result) {
+          int from_bitField0_ = bitField0_;
+          int to_bitField0_ = 0;
+          if (((from_bitField0_ & 0x00000001) != 0)) {
+            result.matchIndex_ = matchIndex_;
+            to_bitField0_ |= 0x00000001;
+          }
           if (((from_bitField0_ & 0x00000010) != 0)) {
             result.graphIndex_ = graphIndex_;
             to_bitField0_ |= 0x00000002;
@@ -75620,9 +75451,7 @@ public edu.stanford.nlp.pipeline.CoreNLPProtos.SemgrexResponse.Match buildPartia
             result.semgrexIndex_ = semgrexIndex_;
             to_bitField0_ |= 0x00000004;
           }
-          result.bitField0_ = to_bitField0_;
-          onBuilt();
-          return result;
+          result.bitField0_ |= to_bitField0_;
         }
 
         @java.lang.Override
@@ -75894,8 +75723,9 @@ public int getMatchIndex() {
          * @return This builder for chaining.
          */
         public Builder setMatchIndex(int value) {
-          bitField0_ |= 0x00000001;
+
           matchIndex_ = value;
+          bitField0_ |= 0x00000001;
           onChanged();
           return this;
         }
@@ -76671,8 +76501,9 @@ public int getGraphIndex() {
          * @return This builder for chaining.
          */
         public Builder setGraphIndex(int value) {
-          bitField0_ |= 0x00000010;
+
           graphIndex_ = value;
+          bitField0_ |= 0x00000010;
           onChanged();
           return this;
         }
@@ -76731,8 +76562,9 @@ public int getSemgrexIndex() {
          * @return This builder for chaining.
          */
         public Builder setSemgrexIndex(int value) {
-          bitField0_ |= 0x00000020;
+
           semgrexIndex_ = value;
+          bitField0_ |= 0x00000020;
           onChanged();
           return this;
         }
@@ -76866,11 +76698,6 @@ protected java.lang.Object newInstance(
         return new SemgrexResult();
       }
 
-      @java.lang.Override
-      public final com.google.protobuf.UnknownFieldSet
-      getUnknownFields() {
-        return this.unknownFields;
-      }
       public static final com.google.protobuf.Descriptors.Descriptor
           getDescriptor() {
         return edu.stanford.nlp.pipeline.CoreNLPProtos.internal_static_edu_stanford_nlp_pipeline_SemgrexResponse_SemgrexResult_descriptor;
@@ -76885,6 +76712,7 @@ protected java.lang.Object newInstance(
       }
 
       public static final int MATCH_FIELD_NUMBER = 1;
+      @SuppressWarnings("serial")
       private java.util.List match_;
       /**
        * repeated .edu.stanford.nlp.pipeline.SemgrexResponse.Match match = 1;
@@ -77041,11 +76869,13 @@ public static edu.stanford.nlp.pipeline.CoreNLPProtos.SemgrexResponse.SemgrexRes
         return com.google.protobuf.GeneratedMessageV3
             .parseWithIOException(PARSER, input, extensionRegistry);
       }
+
       public static edu.stanford.nlp.pipeline.CoreNLPProtos.SemgrexResponse.SemgrexResult parseDelimitedFrom(java.io.InputStream input)
           throws java.io.IOException {
         return com.google.protobuf.GeneratedMessageV3
             .parseDelimitedWithIOException(PARSER, input);
       }
+
       public static edu.stanford.nlp.pipeline.CoreNLPProtos.SemgrexResponse.SemgrexResult parseDelimitedFrom(
           java.io.InputStream input,
           com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -77120,6 +76950,7 @@ private Builder(
         @java.lang.Override
         public Builder clear() {
           super.clear();
+          bitField0_ = 0;
           if (matchBuilder_ == null) {
             match_ = java.util.Collections.emptyList();
           } else {
@@ -77153,7 +76984,13 @@ public edu.stanford.nlp.pipeline.CoreNLPProtos.SemgrexResponse.SemgrexResult bui
         @java.lang.Override
         public edu.stanford.nlp.pipeline.CoreNLPProtos.SemgrexResponse.SemgrexResult buildPartial() {
           edu.stanford.nlp.pipeline.CoreNLPProtos.SemgrexResponse.SemgrexResult result = new edu.stanford.nlp.pipeline.CoreNLPProtos.SemgrexResponse.SemgrexResult(this);
-          int from_bitField0_ = bitField0_;
+          buildPartialRepeatedFields(result);
+          if (bitField0_ != 0) { buildPartial0(result); }
+          onBuilt();
+          return result;
+        }
+
+        private void buildPartialRepeatedFields(edu.stanford.nlp.pipeline.CoreNLPProtos.SemgrexResponse.SemgrexResult result) {
           if (matchBuilder_ == null) {
             if (((bitField0_ & 0x00000001) != 0)) {
               match_ = java.util.Collections.unmodifiableList(match_);
@@ -77163,8 +77000,10 @@ public edu.stanford.nlp.pipeline.CoreNLPProtos.SemgrexResponse.SemgrexResult bui
           } else {
             result.match_ = matchBuilder_.build();
           }
-          onBuilt();
-          return result;
+        }
+
+        private void buildPartial0(edu.stanford.nlp.pipeline.CoreNLPProtos.SemgrexResponse.SemgrexResult result) {
+          int from_bitField0_ = bitField0_;
         }
 
         @java.lang.Override
@@ -77652,11 +77491,6 @@ protected java.lang.Object newInstance(
         return new GraphResult();
       }
 
-      @java.lang.Override
-      public final com.google.protobuf.UnknownFieldSet
-      getUnknownFields() {
-        return this.unknownFields;
-      }
       public static final com.google.protobuf.Descriptors.Descriptor
           getDescriptor() {
         return edu.stanford.nlp.pipeline.CoreNLPProtos.internal_static_edu_stanford_nlp_pipeline_SemgrexResponse_GraphResult_descriptor;
@@ -77671,6 +77505,7 @@ protected java.lang.Object newInstance(
       }
 
       public static final int RESULT_FIELD_NUMBER = 1;
+      @SuppressWarnings("serial")
       private java.util.List result_;
       /**
        * repeated .edu.stanford.nlp.pipeline.SemgrexResponse.SemgrexResult result = 1;
@@ -77827,11 +77662,13 @@ public static edu.stanford.nlp.pipeline.CoreNLPProtos.SemgrexResponse.GraphResul
         return com.google.protobuf.GeneratedMessageV3
             .parseWithIOException(PARSER, input, extensionRegistry);
       }
+
       public static edu.stanford.nlp.pipeline.CoreNLPProtos.SemgrexResponse.GraphResult parseDelimitedFrom(java.io.InputStream input)
           throws java.io.IOException {
         return com.google.protobuf.GeneratedMessageV3
             .parseDelimitedWithIOException(PARSER, input);
       }
+
       public static edu.stanford.nlp.pipeline.CoreNLPProtos.SemgrexResponse.GraphResult parseDelimitedFrom(
           java.io.InputStream input,
           com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -77906,6 +77743,7 @@ private Builder(
         @java.lang.Override
         public Builder clear() {
           super.clear();
+          bitField0_ = 0;
           if (resultBuilder_ == null) {
             result_ = java.util.Collections.emptyList();
           } else {
@@ -77939,7 +77777,13 @@ public edu.stanford.nlp.pipeline.CoreNLPProtos.SemgrexResponse.GraphResult build
         @java.lang.Override
         public edu.stanford.nlp.pipeline.CoreNLPProtos.SemgrexResponse.GraphResult buildPartial() {
           edu.stanford.nlp.pipeline.CoreNLPProtos.SemgrexResponse.GraphResult result = new edu.stanford.nlp.pipeline.CoreNLPProtos.SemgrexResponse.GraphResult(this);
-          int from_bitField0_ = bitField0_;
+          buildPartialRepeatedFields(result);
+          if (bitField0_ != 0) { buildPartial0(result); }
+          onBuilt();
+          return result;
+        }
+
+        private void buildPartialRepeatedFields(edu.stanford.nlp.pipeline.CoreNLPProtos.SemgrexResponse.GraphResult result) {
           if (resultBuilder_ == null) {
             if (((bitField0_ & 0x00000001) != 0)) {
               result_ = java.util.Collections.unmodifiableList(result_);
@@ -77949,8 +77793,10 @@ public edu.stanford.nlp.pipeline.CoreNLPProtos.SemgrexResponse.GraphResult build
           } else {
             result.result_ = resultBuilder_.build();
           }
-          onBuilt();
-          return result;
+        }
+
+        private void buildPartial0(edu.stanford.nlp.pipeline.CoreNLPProtos.SemgrexResponse.GraphResult result) {
+          int from_bitField0_ = bitField0_;
         }
 
         @java.lang.Override
@@ -78388,6 +78234,7 @@ public edu.stanford.nlp.pipeline.CoreNLPProtos.SemgrexResponse.GraphResult getDe
     }
 
     public static final int RESULT_FIELD_NUMBER = 1;
+    @SuppressWarnings("serial")
     private java.util.List result_;
     /**
      * repeated .edu.stanford.nlp.pipeline.SemgrexResponse.GraphResult result = 1;
@@ -78544,11 +78391,13 @@ public static edu.stanford.nlp.pipeline.CoreNLPProtos.SemgrexResponse parseFrom(
       return com.google.protobuf.GeneratedMessageV3
           .parseWithIOException(PARSER, input, extensionRegistry);
     }
+
     public static edu.stanford.nlp.pipeline.CoreNLPProtos.SemgrexResponse parseDelimitedFrom(java.io.InputStream input)
         throws java.io.IOException {
       return com.google.protobuf.GeneratedMessageV3
           .parseDelimitedWithIOException(PARSER, input);
     }
+
     public static edu.stanford.nlp.pipeline.CoreNLPProtos.SemgrexResponse parseDelimitedFrom(
         java.io.InputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -78596,6 +78445,7 @@ protected Builder newBuilderForType(
      * If you pass in M semgrex expressions and N dependency graphs,
      * this returns MxN nested results.  Each SemgrexResult can match
      * multiple times in one graph
+     *
      * You may want to send multiple semgrexes per query because
      * translating large numbers of dependency graphs to protobufs
      * will be expensive, so doing several queries at once will save time
@@ -78633,6 +78483,7 @@ private Builder(
       @java.lang.Override
       public Builder clear() {
         super.clear();
+        bitField0_ = 0;
         if (resultBuilder_ == null) {
           result_ = java.util.Collections.emptyList();
         } else {
@@ -78666,7 +78517,13 @@ public edu.stanford.nlp.pipeline.CoreNLPProtos.SemgrexResponse build() {
       @java.lang.Override
       public edu.stanford.nlp.pipeline.CoreNLPProtos.SemgrexResponse buildPartial() {
         edu.stanford.nlp.pipeline.CoreNLPProtos.SemgrexResponse result = new edu.stanford.nlp.pipeline.CoreNLPProtos.SemgrexResponse(this);
-        int from_bitField0_ = bitField0_;
+        buildPartialRepeatedFields(result);
+        if (bitField0_ != 0) { buildPartial0(result); }
+        onBuilt();
+        return result;
+      }
+
+      private void buildPartialRepeatedFields(edu.stanford.nlp.pipeline.CoreNLPProtos.SemgrexResponse result) {
         if (resultBuilder_ == null) {
           if (((bitField0_ & 0x00000001) != 0)) {
             result_ = java.util.Collections.unmodifiableList(result_);
@@ -78676,8 +78533,10 @@ public edu.stanford.nlp.pipeline.CoreNLPProtos.SemgrexResponse buildPartial() {
         } else {
           result.result_ = resultBuilder_.build();
         }
-        onBuilt();
-        return result;
+      }
+
+      private void buildPartial0(edu.stanford.nlp.pipeline.CoreNLPProtos.SemgrexResponse result) {
+        int from_bitField0_ = bitField0_;
       }
 
       @java.lang.Override
@@ -79205,11 +79064,6 @@ protected java.lang.Object newInstance(
       return new SsurgeonRequest();
     }
 
-    @java.lang.Override
-    public final com.google.protobuf.UnknownFieldSet
-    getUnknownFields() {
-      return this.unknownFields;
-    }
     public static final com.google.protobuf.Descriptors.Descriptor
         getDescriptor() {
       return edu.stanford.nlp.pipeline.CoreNLPProtos.internal_static_edu_stanford_nlp_pipeline_SsurgeonRequest_descriptor;
@@ -79334,7 +79188,8 @@ private Ssurgeon(com.google.protobuf.GeneratedMessageV3.Builder builder) {
       }
       private Ssurgeon() {
         semgrex_ = "";
-        operation_ = com.google.protobuf.LazyStringArrayList.EMPTY;
+        operation_ =
+            com.google.protobuf.LazyStringArrayList.emptyList();
         id_ = "";
         notes_ = "";
         language_ = "";
@@ -79347,11 +79202,6 @@ protected java.lang.Object newInstance(
         return new Ssurgeon();
       }
 
-      @java.lang.Override
-      public final com.google.protobuf.UnknownFieldSet
-      getUnknownFields() {
-        return this.unknownFields;
-      }
       public static final com.google.protobuf.Descriptors.Descriptor
           getDescriptor() {
         return edu.stanford.nlp.pipeline.CoreNLPProtos.internal_static_edu_stanford_nlp_pipeline_SsurgeonRequest_Ssurgeon_descriptor;
@@ -79367,7 +79217,8 @@ protected java.lang.Object newInstance(
 
       private int bitField0_;
       public static final int SEMGREX_FIELD_NUMBER = 1;
-      private volatile java.lang.Object semgrex_;
+      @SuppressWarnings("serial")
+      private volatile java.lang.Object semgrex_ = "";
       /**
        * optional string semgrex = 1;
        * @return Whether the semgrex field is set.
@@ -79415,7 +79266,9 @@ public java.lang.String getSemgrex() {
       }
 
       public static final int OPERATION_FIELD_NUMBER = 2;
-      private com.google.protobuf.LazyStringList operation_;
+      @SuppressWarnings("serial")
+      private com.google.protobuf.LazyStringArrayList operation_ =
+          com.google.protobuf.LazyStringArrayList.emptyList();
       /**
        * repeated string operation = 2;
        * @return A list containing the operation.
@@ -79450,7 +79303,8 @@ public java.lang.String getOperation(int index) {
       }
 
       public static final int ID_FIELD_NUMBER = 3;
-      private volatile java.lang.Object id_;
+      @SuppressWarnings("serial")
+      private volatile java.lang.Object id_ = "";
       /**
        * optional string id = 3;
        * @return Whether the id field is set.
@@ -79498,7 +79352,8 @@ public java.lang.String getId() {
       }
 
       public static final int NOTES_FIELD_NUMBER = 4;
-      private volatile java.lang.Object notes_;
+      @SuppressWarnings("serial")
+      private volatile java.lang.Object notes_ = "";
       /**
        * optional string notes = 4;
        * @return Whether the notes field is set.
@@ -79546,7 +79401,8 @@ public java.lang.String getNotes() {
       }
 
       public static final int LANGUAGE_FIELD_NUMBER = 5;
-      private volatile java.lang.Object language_;
+      @SuppressWarnings("serial")
+      private volatile java.lang.Object language_ = "";
       /**
        * optional string language = 5;
        * @return Whether the language field is set.
@@ -79768,11 +79624,13 @@ public static edu.stanford.nlp.pipeline.CoreNLPProtos.SsurgeonRequest.Ssurgeon p
         return com.google.protobuf.GeneratedMessageV3
             .parseWithIOException(PARSER, input, extensionRegistry);
       }
+
       public static edu.stanford.nlp.pipeline.CoreNLPProtos.SsurgeonRequest.Ssurgeon parseDelimitedFrom(java.io.InputStream input)
           throws java.io.IOException {
         return com.google.protobuf.GeneratedMessageV3
             .parseDelimitedWithIOException(PARSER, input);
       }
+
       public static edu.stanford.nlp.pipeline.CoreNLPProtos.SsurgeonRequest.Ssurgeon parseDelimitedFrom(
           java.io.InputStream input,
           com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -79847,16 +79705,13 @@ private Builder(
         @java.lang.Override
         public Builder clear() {
           super.clear();
+          bitField0_ = 0;
           semgrex_ = "";
-          bitField0_ = (bitField0_ & ~0x00000001);
-          operation_ = com.google.protobuf.LazyStringArrayList.EMPTY;
-          bitField0_ = (bitField0_ & ~0x00000002);
+          operation_ =
+              com.google.protobuf.LazyStringArrayList.emptyList();
           id_ = "";
-          bitField0_ = (bitField0_ & ~0x00000004);
           notes_ = "";
-          bitField0_ = (bitField0_ & ~0x00000008);
           language_ = "";
-          bitField0_ = (bitField0_ & ~0x00000010);
           return this;
         }
 
@@ -79883,32 +79738,35 @@ public edu.stanford.nlp.pipeline.CoreNLPProtos.SsurgeonRequest.Ssurgeon build()
         @java.lang.Override
         public edu.stanford.nlp.pipeline.CoreNLPProtos.SsurgeonRequest.Ssurgeon buildPartial() {
           edu.stanford.nlp.pipeline.CoreNLPProtos.SsurgeonRequest.Ssurgeon result = new edu.stanford.nlp.pipeline.CoreNLPProtos.SsurgeonRequest.Ssurgeon(this);
+          if (bitField0_ != 0) { buildPartial0(result); }
+          onBuilt();
+          return result;
+        }
+
+        private void buildPartial0(edu.stanford.nlp.pipeline.CoreNLPProtos.SsurgeonRequest.Ssurgeon result) {
           int from_bitField0_ = bitField0_;
           int to_bitField0_ = 0;
           if (((from_bitField0_ & 0x00000001) != 0)) {
+            result.semgrex_ = semgrex_;
             to_bitField0_ |= 0x00000001;
           }
-          result.semgrex_ = semgrex_;
-          if (((bitField0_ & 0x00000002) != 0)) {
-            operation_ = operation_.getUnmodifiableView();
-            bitField0_ = (bitField0_ & ~0x00000002);
+          if (((from_bitField0_ & 0x00000002) != 0)) {
+            operation_.makeImmutable();
+            result.operation_ = operation_;
           }
-          result.operation_ = operation_;
           if (((from_bitField0_ & 0x00000004) != 0)) {
+            result.id_ = id_;
             to_bitField0_ |= 0x00000002;
           }
-          result.id_ = id_;
           if (((from_bitField0_ & 0x00000008) != 0)) {
+            result.notes_ = notes_;
             to_bitField0_ |= 0x00000004;
           }
-          result.notes_ = notes_;
           if (((from_bitField0_ & 0x00000010) != 0)) {
+            result.language_ = language_;
             to_bitField0_ |= 0x00000008;
           }
-          result.language_ = language_;
-          result.bitField0_ = to_bitField0_;
-          onBuilt();
-          return result;
+          result.bitField0_ |= to_bitField0_;
         }
 
         @java.lang.Override
@@ -79956,14 +79814,14 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
         public Builder mergeFrom(edu.stanford.nlp.pipeline.CoreNLPProtos.SsurgeonRequest.Ssurgeon other) {
           if (other == edu.stanford.nlp.pipeline.CoreNLPProtos.SsurgeonRequest.Ssurgeon.getDefaultInstance()) return this;
           if (other.hasSemgrex()) {
-            bitField0_ |= 0x00000001;
             semgrex_ = other.semgrex_;
+            bitField0_ |= 0x00000001;
             onChanged();
           }
           if (!other.operation_.isEmpty()) {
             if (operation_.isEmpty()) {
               operation_ = other.operation_;
-              bitField0_ = (bitField0_ & ~0x00000002);
+              bitField0_ |= 0x00000002;
             } else {
               ensureOperationIsMutable();
               operation_.addAll(other.operation_);
@@ -79971,18 +79829,18 @@ public Builder mergeFrom(edu.stanford.nlp.pipeline.CoreNLPProtos.SsurgeonRequest
             onChanged();
           }
           if (other.hasId()) {
-            bitField0_ |= 0x00000004;
             id_ = other.id_;
+            bitField0_ |= 0x00000004;
             onChanged();
           }
           if (other.hasNotes()) {
-            bitField0_ |= 0x00000008;
             notes_ = other.notes_;
+            bitField0_ |= 0x00000008;
             onChanged();
           }
           if (other.hasLanguage()) {
-            bitField0_ |= 0x00000010;
             language_ = other.language_;
+            bitField0_ |= 0x00000010;
             onChanged();
           }
           this.mergeUnknownFields(other.getUnknownFields());
@@ -80104,11 +79962,9 @@ public java.lang.String getSemgrex() {
          */
         public Builder setSemgrex(
             java.lang.String value) {
-          if (value == null) {
-    throw new NullPointerException();
-  }
-  bitField0_ |= 0x00000001;
+          if (value == null) { throw new NullPointerException(); }
           semgrex_ = value;
+          bitField0_ |= 0x00000001;
           onChanged();
           return this;
         }
@@ -80117,8 +79973,8 @@ public Builder setSemgrex(
          * @return This builder for chaining.
          */
         public Builder clearSemgrex() {
-          bitField0_ = (bitField0_ & ~0x00000001);
           semgrex_ = getDefaultInstance().getSemgrex();
+          bitField0_ = (bitField0_ & ~0x00000001);
           onChanged();
           return this;
         }
@@ -80129,21 +79985,20 @@ public Builder clearSemgrex() {
          */
         public Builder setSemgrexBytes(
             com.google.protobuf.ByteString value) {
-          if (value == null) {
-    throw new NullPointerException();
-  }
-  bitField0_ |= 0x00000001;
+          if (value == null) { throw new NullPointerException(); }
           semgrex_ = value;
+          bitField0_ |= 0x00000001;
           onChanged();
           return this;
         }
 
-        private com.google.protobuf.LazyStringList operation_ = com.google.protobuf.LazyStringArrayList.EMPTY;
+        private com.google.protobuf.LazyStringArrayList operation_ =
+            com.google.protobuf.LazyStringArrayList.emptyList();
         private void ensureOperationIsMutable() {
-          if (!((bitField0_ & 0x00000002) != 0)) {
+          if (!operation_.isModifiable()) {
             operation_ = new com.google.protobuf.LazyStringArrayList(operation_);
-            bitField0_ |= 0x00000002;
-           }
+          }
+          bitField0_ |= 0x00000002;
         }
         /**
          * repeated string operation = 2;
@@ -80151,7 +80006,8 @@ private void ensureOperationIsMutable() {
          */
         public com.google.protobuf.ProtocolStringList
             getOperationList() {
-          return operation_.getUnmodifiableView();
+          operation_.makeImmutable();
+          return operation_;
         }
         /**
          * repeated string operation = 2;
@@ -80185,11 +80041,10 @@ public java.lang.String getOperation(int index) {
          */
         public Builder setOperation(
             int index, java.lang.String value) {
-          if (value == null) {
-    throw new NullPointerException();
-  }
-  ensureOperationIsMutable();
+          if (value == null) { throw new NullPointerException(); }
+          ensureOperationIsMutable();
           operation_.set(index, value);
+          bitField0_ |= 0x00000002;
           onChanged();
           return this;
         }
@@ -80200,11 +80055,10 @@ public Builder setOperation(
          */
         public Builder addOperation(
             java.lang.String value) {
-          if (value == null) {
-    throw new NullPointerException();
-  }
-  ensureOperationIsMutable();
+          if (value == null) { throw new NullPointerException(); }
+          ensureOperationIsMutable();
           operation_.add(value);
+          bitField0_ |= 0x00000002;
           onChanged();
           return this;
         }
@@ -80218,6 +80072,7 @@ public Builder addAllOperation(
           ensureOperationIsMutable();
           com.google.protobuf.AbstractMessageLite.Builder.addAll(
               values, operation_);
+          bitField0_ |= 0x00000002;
           onChanged();
           return this;
         }
@@ -80226,8 +80081,9 @@ public Builder addAllOperation(
          * @return This builder for chaining.
          */
         public Builder clearOperation() {
-          operation_ = com.google.protobuf.LazyStringArrayList.EMPTY;
-          bitField0_ = (bitField0_ & ~0x00000002);
+          operation_ =
+            com.google.protobuf.LazyStringArrayList.emptyList();
+          bitField0_ = (bitField0_ & ~0x00000002);;
           onChanged();
           return this;
         }
@@ -80238,11 +80094,10 @@ public Builder clearOperation() {
          */
         public Builder addOperationBytes(
             com.google.protobuf.ByteString value) {
-          if (value == null) {
-    throw new NullPointerException();
-  }
-  ensureOperationIsMutable();
+          if (value == null) { throw new NullPointerException(); }
+          ensureOperationIsMutable();
           operation_.add(value);
+          bitField0_ |= 0x00000002;
           onChanged();
           return this;
         }
@@ -80297,11 +80152,9 @@ public java.lang.String getId() {
          */
         public Builder setId(
             java.lang.String value) {
-          if (value == null) {
-    throw new NullPointerException();
-  }
-  bitField0_ |= 0x00000004;
+          if (value == null) { throw new NullPointerException(); }
           id_ = value;
+          bitField0_ |= 0x00000004;
           onChanged();
           return this;
         }
@@ -80310,8 +80163,8 @@ public Builder setId(
          * @return This builder for chaining.
          */
         public Builder clearId() {
-          bitField0_ = (bitField0_ & ~0x00000004);
           id_ = getDefaultInstance().getId();
+          bitField0_ = (bitField0_ & ~0x00000004);
           onChanged();
           return this;
         }
@@ -80322,11 +80175,9 @@ public Builder clearId() {
          */
         public Builder setIdBytes(
             com.google.protobuf.ByteString value) {
-          if (value == null) {
-    throw new NullPointerException();
-  }
-  bitField0_ |= 0x00000004;
+          if (value == null) { throw new NullPointerException(); }
           id_ = value;
+          bitField0_ |= 0x00000004;
           onChanged();
           return this;
         }
@@ -80381,11 +80232,9 @@ public java.lang.String getNotes() {
          */
         public Builder setNotes(
             java.lang.String value) {
-          if (value == null) {
-    throw new NullPointerException();
-  }
-  bitField0_ |= 0x00000008;
+          if (value == null) { throw new NullPointerException(); }
           notes_ = value;
+          bitField0_ |= 0x00000008;
           onChanged();
           return this;
         }
@@ -80394,8 +80243,8 @@ public Builder setNotes(
          * @return This builder for chaining.
          */
         public Builder clearNotes() {
-          bitField0_ = (bitField0_ & ~0x00000008);
           notes_ = getDefaultInstance().getNotes();
+          bitField0_ = (bitField0_ & ~0x00000008);
           onChanged();
           return this;
         }
@@ -80406,11 +80255,9 @@ public Builder clearNotes() {
          */
         public Builder setNotesBytes(
             com.google.protobuf.ByteString value) {
-          if (value == null) {
-    throw new NullPointerException();
-  }
-  bitField0_ |= 0x00000008;
+          if (value == null) { throw new NullPointerException(); }
           notes_ = value;
+          bitField0_ |= 0x00000008;
           onChanged();
           return this;
         }
@@ -80465,11 +80312,9 @@ public java.lang.String getLanguage() {
          */
         public Builder setLanguage(
             java.lang.String value) {
-          if (value == null) {
-    throw new NullPointerException();
-  }
-  bitField0_ |= 0x00000010;
+          if (value == null) { throw new NullPointerException(); }
           language_ = value;
+          bitField0_ |= 0x00000010;
           onChanged();
           return this;
         }
@@ -80478,8 +80323,8 @@ public Builder setLanguage(
          * @return This builder for chaining.
          */
         public Builder clearLanguage() {
-          bitField0_ = (bitField0_ & ~0x00000010);
           language_ = getDefaultInstance().getLanguage();
+          bitField0_ = (bitField0_ & ~0x00000010);
           onChanged();
           return this;
         }
@@ -80490,11 +80335,9 @@ public Builder clearLanguage() {
          */
         public Builder setLanguageBytes(
             com.google.protobuf.ByteString value) {
-          if (value == null) {
-    throw new NullPointerException();
-  }
-  bitField0_ |= 0x00000010;
+          if (value == null) { throw new NullPointerException(); }
           language_ = value;
+          bitField0_ |= 0x00000010;
           onChanged();
           return this;
         }
@@ -80563,6 +80406,7 @@ public edu.stanford.nlp.pipeline.CoreNLPProtos.SsurgeonRequest.Ssurgeon getDefau
     }
 
     public static final int SSURGEON_FIELD_NUMBER = 1;
+    @SuppressWarnings("serial")
     private java.util.List ssurgeon_;
     /**
      * repeated .edu.stanford.nlp.pipeline.SsurgeonRequest.Ssurgeon ssurgeon = 1;
@@ -80603,6 +80447,7 @@ public edu.stanford.nlp.pipeline.CoreNLPProtos.SsurgeonRequest.SsurgeonOrBuilder
     }
 
     public static final int GRAPH_FIELD_NUMBER = 2;
+    @SuppressWarnings("serial")
     private java.util.List graph_;
     /**
      * repeated .edu.stanford.nlp.pipeline.DependencyGraph graph = 2;
@@ -80772,11 +80617,13 @@ public static edu.stanford.nlp.pipeline.CoreNLPProtos.SsurgeonRequest parseFrom(
       return com.google.protobuf.GeneratedMessageV3
           .parseWithIOException(PARSER, input, extensionRegistry);
     }
+
     public static edu.stanford.nlp.pipeline.CoreNLPProtos.SsurgeonRequest parseDelimitedFrom(java.io.InputStream input)
         throws java.io.IOException {
       return com.google.protobuf.GeneratedMessageV3
           .parseDelimitedWithIOException(PARSER, input);
     }
+
     public static edu.stanford.nlp.pipeline.CoreNLPProtos.SsurgeonRequest parseDelimitedFrom(
         java.io.InputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -80866,6 +80713,7 @@ private Builder(
       @java.lang.Override
       public Builder clear() {
         super.clear();
+        bitField0_ = 0;
         if (ssurgeonBuilder_ == null) {
           ssurgeon_ = java.util.Collections.emptyList();
         } else {
@@ -80906,7 +80754,13 @@ public edu.stanford.nlp.pipeline.CoreNLPProtos.SsurgeonRequest build() {
       @java.lang.Override
       public edu.stanford.nlp.pipeline.CoreNLPProtos.SsurgeonRequest buildPartial() {
         edu.stanford.nlp.pipeline.CoreNLPProtos.SsurgeonRequest result = new edu.stanford.nlp.pipeline.CoreNLPProtos.SsurgeonRequest(this);
-        int from_bitField0_ = bitField0_;
+        buildPartialRepeatedFields(result);
+        if (bitField0_ != 0) { buildPartial0(result); }
+        onBuilt();
+        return result;
+      }
+
+      private void buildPartialRepeatedFields(edu.stanford.nlp.pipeline.CoreNLPProtos.SsurgeonRequest result) {
         if (ssurgeonBuilder_ == null) {
           if (((bitField0_ & 0x00000001) != 0)) {
             ssurgeon_ = java.util.Collections.unmodifiableList(ssurgeon_);
@@ -80925,8 +80779,10 @@ public edu.stanford.nlp.pipeline.CoreNLPProtos.SsurgeonRequest buildPartial() {
         } else {
           result.graph_ = graphBuilder_.build();
         }
-        onBuilt();
-        return result;
+      }
+
+      private void buildPartial0(edu.stanford.nlp.pipeline.CoreNLPProtos.SsurgeonRequest result) {
+        int from_bitField0_ = bitField0_;
       }
 
       @java.lang.Override
@@ -81693,11 +81549,6 @@ protected java.lang.Object newInstance(
       return new SsurgeonResponse();
     }
 
-    @java.lang.Override
-    public final com.google.protobuf.UnknownFieldSet
-    getUnknownFields() {
-      return this.unknownFields;
-    }
     public static final com.google.protobuf.Descriptors.Descriptor
         getDescriptor() {
       return edu.stanford.nlp.pipeline.CoreNLPProtos.internal_static_edu_stanford_nlp_pipeline_SsurgeonResponse_descriptor;
@@ -81763,11 +81614,6 @@ protected java.lang.Object newInstance(
         return new SsurgeonResult();
       }
 
-      @java.lang.Override
-      public final com.google.protobuf.UnknownFieldSet
-      getUnknownFields() {
-        return this.unknownFields;
-      }
       public static final com.google.protobuf.Descriptors.Descriptor
           getDescriptor() {
         return edu.stanford.nlp.pipeline.CoreNLPProtos.internal_static_edu_stanford_nlp_pipeline_SsurgeonResponse_SsurgeonResult_descriptor;
@@ -81809,7 +81655,7 @@ public edu.stanford.nlp.pipeline.CoreNLPProtos.DependencyGraphOrBuilder getGraph
       }
 
       public static final int CHANGED_FIELD_NUMBER = 2;
-      private boolean changed_;
+      private boolean changed_ = false;
       /**
        * optional bool changed = 2;
        * @return Whether the changed field is set.
@@ -81964,11 +81810,13 @@ public static edu.stanford.nlp.pipeline.CoreNLPProtos.SsurgeonResponse.SsurgeonR
         return com.google.protobuf.GeneratedMessageV3
             .parseWithIOException(PARSER, input, extensionRegistry);
       }
+
       public static edu.stanford.nlp.pipeline.CoreNLPProtos.SsurgeonResponse.SsurgeonResult parseDelimitedFrom(java.io.InputStream input)
           throws java.io.IOException {
         return com.google.protobuf.GeneratedMessageV3
             .parseDelimitedWithIOException(PARSER, input);
       }
+
       public static edu.stanford.nlp.pipeline.CoreNLPProtos.SsurgeonResponse.SsurgeonResult parseDelimitedFrom(
           java.io.InputStream input,
           com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -82049,14 +81897,13 @@ private void maybeForceBuilderInitialization() {
         @java.lang.Override
         public Builder clear() {
           super.clear();
-          if (graphBuilder_ == null) {
-            graph_ = null;
-          } else {
-            graphBuilder_.clear();
+          bitField0_ = 0;
+          graph_ = null;
+          if (graphBuilder_ != null) {
+            graphBuilder_.dispose();
+            graphBuilder_ = null;
           }
-          bitField0_ = (bitField0_ & ~0x00000001);
           changed_ = false;
-          bitField0_ = (bitField0_ & ~0x00000002);
           return this;
         }
 
@@ -82083,23 +81930,25 @@ public edu.stanford.nlp.pipeline.CoreNLPProtos.SsurgeonResponse.SsurgeonResult b
         @java.lang.Override
         public edu.stanford.nlp.pipeline.CoreNLPProtos.SsurgeonResponse.SsurgeonResult buildPartial() {
           edu.stanford.nlp.pipeline.CoreNLPProtos.SsurgeonResponse.SsurgeonResult result = new edu.stanford.nlp.pipeline.CoreNLPProtos.SsurgeonResponse.SsurgeonResult(this);
+          if (bitField0_ != 0) { buildPartial0(result); }
+          onBuilt();
+          return result;
+        }
+
+        private void buildPartial0(edu.stanford.nlp.pipeline.CoreNLPProtos.SsurgeonResponse.SsurgeonResult result) {
           int from_bitField0_ = bitField0_;
           int to_bitField0_ = 0;
           if (((from_bitField0_ & 0x00000001) != 0)) {
-            if (graphBuilder_ == null) {
-              result.graph_ = graph_;
-            } else {
-              result.graph_ = graphBuilder_.build();
-            }
+            result.graph_ = graphBuilder_ == null
+                ? graph_
+                : graphBuilder_.build();
             to_bitField0_ |= 0x00000001;
           }
           if (((from_bitField0_ & 0x00000002) != 0)) {
             result.changed_ = changed_;
             to_bitField0_ |= 0x00000002;
           }
-          result.bitField0_ = to_bitField0_;
-          onBuilt();
-          return result;
+          result.bitField0_ |= to_bitField0_;
         }
 
         @java.lang.Override
@@ -82242,11 +82091,11 @@ public Builder setGraph(edu.stanford.nlp.pipeline.CoreNLPProtos.DependencyGraph
               throw new NullPointerException();
             }
             graph_ = value;
-            onChanged();
           } else {
             graphBuilder_.setMessage(value);
           }
           bitField0_ |= 0x00000001;
+          onChanged();
           return this;
         }
         /**
@@ -82256,11 +82105,11 @@ public Builder setGraph(
             edu.stanford.nlp.pipeline.CoreNLPProtos.DependencyGraph.Builder builderForValue) {
           if (graphBuilder_ == null) {
             graph_ = builderForValue.build();
-            onChanged();
           } else {
             graphBuilder_.setMessage(builderForValue.build());
           }
           bitField0_ |= 0x00000001;
+          onChanged();
           return this;
         }
         /**
@@ -82269,31 +82118,32 @@ public Builder setGraph(
         public Builder mergeGraph(edu.stanford.nlp.pipeline.CoreNLPProtos.DependencyGraph value) {
           if (graphBuilder_ == null) {
             if (((bitField0_ & 0x00000001) != 0) &&
-                graph_ != null &&
-                graph_ != edu.stanford.nlp.pipeline.CoreNLPProtos.DependencyGraph.getDefaultInstance()) {
-              graph_ =
-                edu.stanford.nlp.pipeline.CoreNLPProtos.DependencyGraph.newBuilder(graph_).mergeFrom(value).buildPartial();
+              graph_ != null &&
+              graph_ != edu.stanford.nlp.pipeline.CoreNLPProtos.DependencyGraph.getDefaultInstance()) {
+              getGraphBuilder().mergeFrom(value);
             } else {
               graph_ = value;
             }
-            onChanged();
           } else {
             graphBuilder_.mergeFrom(value);
           }
-          bitField0_ |= 0x00000001;
+          if (graph_ != null) {
+            bitField0_ |= 0x00000001;
+            onChanged();
+          }
           return this;
         }
         /**
          * optional .edu.stanford.nlp.pipeline.DependencyGraph graph = 1;
          */
         public Builder clearGraph() {
-          if (graphBuilder_ == null) {
-            graph_ = null;
-            onChanged();
-          } else {
-            graphBuilder_.clear();
-          }
           bitField0_ = (bitField0_ & ~0x00000001);
+          graph_ = null;
+          if (graphBuilder_ != null) {
+            graphBuilder_.dispose();
+            graphBuilder_ = null;
+          }
+          onChanged();
           return this;
         }
         /**
@@ -82355,8 +82205,9 @@ public boolean getChanged() {
          * @return This builder for chaining.
          */
         public Builder setChanged(boolean value) {
-          bitField0_ |= 0x00000002;
+
           changed_ = value;
+          bitField0_ |= 0x00000002;
           onChanged();
           return this;
         }
@@ -82435,6 +82286,7 @@ public edu.stanford.nlp.pipeline.CoreNLPProtos.SsurgeonResponse.SsurgeonResult g
     }
 
     public static final int RESULT_FIELD_NUMBER = 1;
+    @SuppressWarnings("serial")
     private java.util.List result_;
     /**
      * repeated .edu.stanford.nlp.pipeline.SsurgeonResponse.SsurgeonResult result = 1;
@@ -82591,11 +82443,13 @@ public static edu.stanford.nlp.pipeline.CoreNLPProtos.SsurgeonResponse parseFrom
       return com.google.protobuf.GeneratedMessageV3
           .parseWithIOException(PARSER, input, extensionRegistry);
     }
+
     public static edu.stanford.nlp.pipeline.CoreNLPProtos.SsurgeonResponse parseDelimitedFrom(java.io.InputStream input)
         throws java.io.IOException {
       return com.google.protobuf.GeneratedMessageV3
           .parseDelimitedWithIOException(PARSER, input);
     }
+
     public static edu.stanford.nlp.pipeline.CoreNLPProtos.SsurgeonResponse parseDelimitedFrom(
         java.io.InputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -82670,6 +82524,7 @@ private Builder(
       @java.lang.Override
       public Builder clear() {
         super.clear();
+        bitField0_ = 0;
         if (resultBuilder_ == null) {
           result_ = java.util.Collections.emptyList();
         } else {
@@ -82703,7 +82558,13 @@ public edu.stanford.nlp.pipeline.CoreNLPProtos.SsurgeonResponse build() {
       @java.lang.Override
       public edu.stanford.nlp.pipeline.CoreNLPProtos.SsurgeonResponse buildPartial() {
         edu.stanford.nlp.pipeline.CoreNLPProtos.SsurgeonResponse result = new edu.stanford.nlp.pipeline.CoreNLPProtos.SsurgeonResponse(this);
-        int from_bitField0_ = bitField0_;
+        buildPartialRepeatedFields(result);
+        if (bitField0_ != 0) { buildPartial0(result); }
+        onBuilt();
+        return result;
+      }
+
+      private void buildPartialRepeatedFields(edu.stanford.nlp.pipeline.CoreNLPProtos.SsurgeonResponse result) {
         if (resultBuilder_ == null) {
           if (((bitField0_ & 0x00000001) != 0)) {
             result_ = java.util.Collections.unmodifiableList(result_);
@@ -82713,8 +82574,10 @@ public edu.stanford.nlp.pipeline.CoreNLPProtos.SsurgeonResponse buildPartial() {
         } else {
           result.result_ = resultBuilder_.build();
         }
-        onBuilt();
-        return result;
+      }
+
+      private void buildPartial0(edu.stanford.nlp.pipeline.CoreNLPProtos.SsurgeonResponse result) {
+        int from_bitField0_ = bitField0_;
       }
 
       @java.lang.Override
@@ -83213,7 +83076,8 @@ private TokensRegexRequest(com.google.protobuf.GeneratedMessageV3.Builder bui
       super(builder);
     }
     private TokensRegexRequest() {
-      pattern_ = com.google.protobuf.LazyStringArrayList.EMPTY;
+      pattern_ =
+          com.google.protobuf.LazyStringArrayList.emptyList();
     }
 
     @java.lang.Override
@@ -83223,11 +83087,6 @@ protected java.lang.Object newInstance(
       return new TokensRegexRequest();
     }
 
-    @java.lang.Override
-    public final com.google.protobuf.UnknownFieldSet
-    getUnknownFields() {
-      return this.unknownFields;
-    }
     public static final com.google.protobuf.Descriptors.Descriptor
         getDescriptor() {
       return edu.stanford.nlp.pipeline.CoreNLPProtos.internal_static_edu_stanford_nlp_pipeline_TokensRegexRequest_descriptor;
@@ -83269,7 +83128,9 @@ public edu.stanford.nlp.pipeline.CoreNLPProtos.DocumentOrBuilder getDocOrBuilder
     }
 
     public static final int PATTERN_FIELD_NUMBER = 2;
-    private com.google.protobuf.LazyStringList pattern_;
+    @SuppressWarnings("serial")
+    private com.google.protobuf.LazyStringArrayList pattern_ =
+        com.google.protobuf.LazyStringArrayList.emptyList();
     /**
      * repeated string pattern = 2;
      * @return A list containing the pattern.
@@ -83442,11 +83303,13 @@ public static edu.stanford.nlp.pipeline.CoreNLPProtos.TokensRegexRequest parseFr
       return com.google.protobuf.GeneratedMessageV3
           .parseWithIOException(PARSER, input, extensionRegistry);
     }
+
     public static edu.stanford.nlp.pipeline.CoreNLPProtos.TokensRegexRequest parseDelimitedFrom(java.io.InputStream input)
         throws java.io.IOException {
       return com.google.protobuf.GeneratedMessageV3
           .parseDelimitedWithIOException(PARSER, input);
     }
+
     public static edu.stanford.nlp.pipeline.CoreNLPProtos.TokensRegexRequest parseDelimitedFrom(
         java.io.InputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -83532,14 +83395,14 @@ private void maybeForceBuilderInitialization() {
       @java.lang.Override
       public Builder clear() {
         super.clear();
-        if (docBuilder_ == null) {
-          doc_ = null;
-        } else {
-          docBuilder_.clear();
+        bitField0_ = 0;
+        doc_ = null;
+        if (docBuilder_ != null) {
+          docBuilder_.dispose();
+          docBuilder_ = null;
         }
-        bitField0_ = (bitField0_ & ~0x00000001);
-        pattern_ = com.google.protobuf.LazyStringArrayList.EMPTY;
-        bitField0_ = (bitField0_ & ~0x00000002);
+        pattern_ =
+            com.google.protobuf.LazyStringArrayList.emptyList();
         return this;
       }
 
@@ -83566,24 +83429,25 @@ public edu.stanford.nlp.pipeline.CoreNLPProtos.TokensRegexRequest build() {
       @java.lang.Override
       public edu.stanford.nlp.pipeline.CoreNLPProtos.TokensRegexRequest buildPartial() {
         edu.stanford.nlp.pipeline.CoreNLPProtos.TokensRegexRequest result = new edu.stanford.nlp.pipeline.CoreNLPProtos.TokensRegexRequest(this);
+        if (bitField0_ != 0) { buildPartial0(result); }
+        onBuilt();
+        return result;
+      }
+
+      private void buildPartial0(edu.stanford.nlp.pipeline.CoreNLPProtos.TokensRegexRequest result) {
         int from_bitField0_ = bitField0_;
         int to_bitField0_ = 0;
         if (((from_bitField0_ & 0x00000001) != 0)) {
-          if (docBuilder_ == null) {
-            result.doc_ = doc_;
-          } else {
-            result.doc_ = docBuilder_.build();
-          }
+          result.doc_ = docBuilder_ == null
+              ? doc_
+              : docBuilder_.build();
           to_bitField0_ |= 0x00000001;
         }
-        if (((bitField0_ & 0x00000002) != 0)) {
-          pattern_ = pattern_.getUnmodifiableView();
-          bitField0_ = (bitField0_ & ~0x00000002);
+        if (((from_bitField0_ & 0x00000002) != 0)) {
+          pattern_.makeImmutable();
+          result.pattern_ = pattern_;
         }
-        result.pattern_ = pattern_;
-        result.bitField0_ = to_bitField0_;
-        onBuilt();
-        return result;
+        result.bitField0_ |= to_bitField0_;
       }
 
       @java.lang.Override
@@ -83636,7 +83500,7 @@ public Builder mergeFrom(edu.stanford.nlp.pipeline.CoreNLPProtos.TokensRegexRequ
         if (!other.pattern_.isEmpty()) {
           if (pattern_.isEmpty()) {
             pattern_ = other.pattern_;
-            bitField0_ = (bitField0_ & ~0x00000002);
+            bitField0_ |= 0x00000002;
           } else {
             ensurePatternIsMutable();
             pattern_.addAll(other.pattern_);
@@ -83735,11 +83599,11 @@ public Builder setDoc(edu.stanford.nlp.pipeline.CoreNLPProtos.Document value) {
             throw new NullPointerException();
           }
           doc_ = value;
-          onChanged();
         } else {
           docBuilder_.setMessage(value);
         }
         bitField0_ |= 0x00000001;
+        onChanged();
         return this;
       }
       /**
@@ -83749,11 +83613,11 @@ public Builder setDoc(
           edu.stanford.nlp.pipeline.CoreNLPProtos.Document.Builder builderForValue) {
         if (docBuilder_ == null) {
           doc_ = builderForValue.build();
-          onChanged();
         } else {
           docBuilder_.setMessage(builderForValue.build());
         }
         bitField0_ |= 0x00000001;
+        onChanged();
         return this;
       }
       /**
@@ -83762,31 +83626,32 @@ public Builder setDoc(
       public Builder mergeDoc(edu.stanford.nlp.pipeline.CoreNLPProtos.Document value) {
         if (docBuilder_ == null) {
           if (((bitField0_ & 0x00000001) != 0) &&
-              doc_ != null &&
-              doc_ != edu.stanford.nlp.pipeline.CoreNLPProtos.Document.getDefaultInstance()) {
-            doc_ =
-              edu.stanford.nlp.pipeline.CoreNLPProtos.Document.newBuilder(doc_).mergeFrom(value).buildPartial();
+            doc_ != null &&
+            doc_ != edu.stanford.nlp.pipeline.CoreNLPProtos.Document.getDefaultInstance()) {
+            getDocBuilder().mergeFrom(value);
           } else {
             doc_ = value;
           }
-          onChanged();
         } else {
           docBuilder_.mergeFrom(value);
         }
-        bitField0_ |= 0x00000001;
+        if (doc_ != null) {
+          bitField0_ |= 0x00000001;
+          onChanged();
+        }
         return this;
       }
       /**
        * required .edu.stanford.nlp.pipeline.Document doc = 1;
        */
       public Builder clearDoc() {
-        if (docBuilder_ == null) {
-          doc_ = null;
-          onChanged();
-        } else {
-          docBuilder_.clear();
-        }
         bitField0_ = (bitField0_ & ~0x00000001);
+        doc_ = null;
+        if (docBuilder_ != null) {
+          docBuilder_.dispose();
+          docBuilder_ = null;
+        }
+        onChanged();
         return this;
       }
       /**
@@ -83825,12 +83690,13 @@ public edu.stanford.nlp.pipeline.CoreNLPProtos.DocumentOrBuilder getDocOrBuilder
         return docBuilder_;
       }
 
-      private com.google.protobuf.LazyStringList pattern_ = com.google.protobuf.LazyStringArrayList.EMPTY;
+      private com.google.protobuf.LazyStringArrayList pattern_ =
+          com.google.protobuf.LazyStringArrayList.emptyList();
       private void ensurePatternIsMutable() {
-        if (!((bitField0_ & 0x00000002) != 0)) {
+        if (!pattern_.isModifiable()) {
           pattern_ = new com.google.protobuf.LazyStringArrayList(pattern_);
-          bitField0_ |= 0x00000002;
-         }
+        }
+        bitField0_ |= 0x00000002;
       }
       /**
        * repeated string pattern = 2;
@@ -83838,7 +83704,8 @@ private void ensurePatternIsMutable() {
        */
       public com.google.protobuf.ProtocolStringList
           getPatternList() {
-        return pattern_.getUnmodifiableView();
+        pattern_.makeImmutable();
+        return pattern_;
       }
       /**
        * repeated string pattern = 2;
@@ -83872,11 +83739,10 @@ public java.lang.String getPattern(int index) {
        */
       public Builder setPattern(
           int index, java.lang.String value) {
-        if (value == null) {
-    throw new NullPointerException();
-  }
-  ensurePatternIsMutable();
+        if (value == null) { throw new NullPointerException(); }
+        ensurePatternIsMutable();
         pattern_.set(index, value);
+        bitField0_ |= 0x00000002;
         onChanged();
         return this;
       }
@@ -83887,11 +83753,10 @@ public Builder setPattern(
        */
       public Builder addPattern(
           java.lang.String value) {
-        if (value == null) {
-    throw new NullPointerException();
-  }
-  ensurePatternIsMutable();
+        if (value == null) { throw new NullPointerException(); }
+        ensurePatternIsMutable();
         pattern_.add(value);
+        bitField0_ |= 0x00000002;
         onChanged();
         return this;
       }
@@ -83905,6 +83770,7 @@ public Builder addAllPattern(
         ensurePatternIsMutable();
         com.google.protobuf.AbstractMessageLite.Builder.addAll(
             values, pattern_);
+        bitField0_ |= 0x00000002;
         onChanged();
         return this;
       }
@@ -83913,8 +83779,9 @@ public Builder addAllPattern(
        * @return This builder for chaining.
        */
       public Builder clearPattern() {
-        pattern_ = com.google.protobuf.LazyStringArrayList.EMPTY;
-        bitField0_ = (bitField0_ & ~0x00000002);
+        pattern_ =
+          com.google.protobuf.LazyStringArrayList.emptyList();
+        bitField0_ = (bitField0_ & ~0x00000002);;
         onChanged();
         return this;
       }
@@ -83925,11 +83792,10 @@ public Builder clearPattern() {
        */
       public Builder addPatternBytes(
           com.google.protobuf.ByteString value) {
-        if (value == null) {
-    throw new NullPointerException();
-  }
-  ensurePatternIsMutable();
+        if (value == null) { throw new NullPointerException(); }
+        ensurePatternIsMutable();
         pattern_.add(value);
+        bitField0_ |= 0x00000002;
         onChanged();
         return this;
       }
@@ -84055,11 +83921,6 @@ protected java.lang.Object newInstance(
       return new TokensRegexResponse();
     }
 
-    @java.lang.Override
-    public final com.google.protobuf.UnknownFieldSet
-    getUnknownFields() {
-      return this.unknownFields;
-    }
     public static final com.google.protobuf.Descriptors.Descriptor
         getDescriptor() {
       return edu.stanford.nlp.pipeline.CoreNLPProtos.internal_static_edu_stanford_nlp_pipeline_TokensRegexResponse_descriptor;
@@ -84139,11 +84000,6 @@ protected java.lang.Object newInstance(
         return new MatchLocation();
       }
 
-      @java.lang.Override
-      public final com.google.protobuf.UnknownFieldSet
-      getUnknownFields() {
-        return this.unknownFields;
-      }
       public static final com.google.protobuf.Descriptors.Descriptor
           getDescriptor() {
         return edu.stanford.nlp.pipeline.CoreNLPProtos.internal_static_edu_stanford_nlp_pipeline_TokensRegexResponse_MatchLocation_descriptor;
@@ -84159,7 +84015,8 @@ protected java.lang.Object newInstance(
 
       private int bitField0_;
       public static final int TEXT_FIELD_NUMBER = 1;
-      private volatile java.lang.Object text_;
+      @SuppressWarnings("serial")
+      private volatile java.lang.Object text_ = "";
       /**
        * optional string text = 1;
        * @return Whether the text field is set.
@@ -84207,7 +84064,7 @@ public java.lang.String getText() {
       }
 
       public static final int BEGIN_FIELD_NUMBER = 2;
-      private int begin_;
+      private int begin_ = 0;
       /**
        * optional int32 begin = 2;
        * @return Whether the begin field is set.
@@ -84226,7 +84083,7 @@ public int getBegin() {
       }
 
       public static final int END_FIELD_NUMBER = 3;
-      private int end_;
+      private int end_ = 0;
       /**
        * optional int32 end = 3;
        * @return Whether the end field is set.
@@ -84389,11 +84246,13 @@ public static edu.stanford.nlp.pipeline.CoreNLPProtos.TokensRegexResponse.MatchL
         return com.google.protobuf.GeneratedMessageV3
             .parseWithIOException(PARSER, input, extensionRegistry);
       }
+
       public static edu.stanford.nlp.pipeline.CoreNLPProtos.TokensRegexResponse.MatchLocation parseDelimitedFrom(java.io.InputStream input)
           throws java.io.IOException {
         return com.google.protobuf.GeneratedMessageV3
             .parseDelimitedWithIOException(PARSER, input);
       }
+
       public static edu.stanford.nlp.pipeline.CoreNLPProtos.TokensRegexResponse.MatchLocation parseDelimitedFrom(
           java.io.InputStream input,
           com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -84468,12 +84327,10 @@ private Builder(
         @java.lang.Override
         public Builder clear() {
           super.clear();
+          bitField0_ = 0;
           text_ = "";
-          bitField0_ = (bitField0_ & ~0x00000001);
           begin_ = 0;
-          bitField0_ = (bitField0_ & ~0x00000002);
           end_ = 0;
-          bitField0_ = (bitField0_ & ~0x00000004);
           return this;
         }
 
@@ -84500,12 +84357,18 @@ public edu.stanford.nlp.pipeline.CoreNLPProtos.TokensRegexResponse.MatchLocation
         @java.lang.Override
         public edu.stanford.nlp.pipeline.CoreNLPProtos.TokensRegexResponse.MatchLocation buildPartial() {
           edu.stanford.nlp.pipeline.CoreNLPProtos.TokensRegexResponse.MatchLocation result = new edu.stanford.nlp.pipeline.CoreNLPProtos.TokensRegexResponse.MatchLocation(this);
+          if (bitField0_ != 0) { buildPartial0(result); }
+          onBuilt();
+          return result;
+        }
+
+        private void buildPartial0(edu.stanford.nlp.pipeline.CoreNLPProtos.TokensRegexResponse.MatchLocation result) {
           int from_bitField0_ = bitField0_;
           int to_bitField0_ = 0;
           if (((from_bitField0_ & 0x00000001) != 0)) {
+            result.text_ = text_;
             to_bitField0_ |= 0x00000001;
           }
-          result.text_ = text_;
           if (((from_bitField0_ & 0x00000002) != 0)) {
             result.begin_ = begin_;
             to_bitField0_ |= 0x00000002;
@@ -84514,9 +84377,7 @@ public edu.stanford.nlp.pipeline.CoreNLPProtos.TokensRegexResponse.MatchLocation
             result.end_ = end_;
             to_bitField0_ |= 0x00000004;
           }
-          result.bitField0_ = to_bitField0_;
-          onBuilt();
-          return result;
+          result.bitField0_ |= to_bitField0_;
         }
 
         @java.lang.Override
@@ -84564,8 +84425,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
         public Builder mergeFrom(edu.stanford.nlp.pipeline.CoreNLPProtos.TokensRegexResponse.MatchLocation other) {
           if (other == edu.stanford.nlp.pipeline.CoreNLPProtos.TokensRegexResponse.MatchLocation.getDefaultInstance()) return this;
           if (other.hasText()) {
-            bitField0_ |= 0x00000001;
             text_ = other.text_;
+            bitField0_ |= 0x00000001;
             onChanged();
           }
           if (other.hasBegin()) {
@@ -84682,11 +84543,9 @@ public java.lang.String getText() {
          */
         public Builder setText(
             java.lang.String value) {
-          if (value == null) {
-    throw new NullPointerException();
-  }
-  bitField0_ |= 0x00000001;
+          if (value == null) { throw new NullPointerException(); }
           text_ = value;
+          bitField0_ |= 0x00000001;
           onChanged();
           return this;
         }
@@ -84695,8 +84554,8 @@ public Builder setText(
          * @return This builder for chaining.
          */
         public Builder clearText() {
-          bitField0_ = (bitField0_ & ~0x00000001);
           text_ = getDefaultInstance().getText();
+          bitField0_ = (bitField0_ & ~0x00000001);
           onChanged();
           return this;
         }
@@ -84707,11 +84566,9 @@ public Builder clearText() {
          */
         public Builder setTextBytes(
             com.google.protobuf.ByteString value) {
-          if (value == null) {
-    throw new NullPointerException();
-  }
-  bitField0_ |= 0x00000001;
+          if (value == null) { throw new NullPointerException(); }
           text_ = value;
+          bitField0_ |= 0x00000001;
           onChanged();
           return this;
         }
@@ -84739,8 +84596,9 @@ public int getBegin() {
          * @return This builder for chaining.
          */
         public Builder setBegin(int value) {
-          bitField0_ |= 0x00000002;
+
           begin_ = value;
+          bitField0_ |= 0x00000002;
           onChanged();
           return this;
         }
@@ -84778,8 +84636,9 @@ public int getEnd() {
          * @return This builder for chaining.
          */
         public Builder setEnd(int value) {
-          bitField0_ |= 0x00000004;
+
           end_ = value;
+          bitField0_ |= 0x00000004;
           onChanged();
           return this;
         }
@@ -84934,11 +84793,6 @@ protected java.lang.Object newInstance(
         return new Match();
       }
 
-      @java.lang.Override
-      public final com.google.protobuf.UnknownFieldSet
-      getUnknownFields() {
-        return this.unknownFields;
-      }
       public static final com.google.protobuf.Descriptors.Descriptor
           getDescriptor() {
         return edu.stanford.nlp.pipeline.CoreNLPProtos.internal_static_edu_stanford_nlp_pipeline_TokensRegexResponse_Match_descriptor;
@@ -84954,7 +84808,7 @@ protected java.lang.Object newInstance(
 
       private int bitField0_;
       public static final int SENTENCE_FIELD_NUMBER = 1;
-      private int sentence_;
+      private int sentence_ = 0;
       /**
        * required int32 sentence = 1;
        * @return Whether the sentence field is set.
@@ -84999,6 +84853,7 @@ public edu.stanford.nlp.pipeline.CoreNLPProtos.TokensRegexResponse.MatchLocation
       }
 
       public static final int GROUP_FIELD_NUMBER = 3;
+      @SuppressWarnings("serial")
       private java.util.List group_;
       /**
        * repeated .edu.stanford.nlp.pipeline.TokensRegexResponse.MatchLocation group = 3;
@@ -85189,11 +85044,13 @@ public static edu.stanford.nlp.pipeline.CoreNLPProtos.TokensRegexResponse.Match
         return com.google.protobuf.GeneratedMessageV3
             .parseWithIOException(PARSER, input, extensionRegistry);
       }
+
       public static edu.stanford.nlp.pipeline.CoreNLPProtos.TokensRegexResponse.Match parseDelimitedFrom(java.io.InputStream input)
           throws java.io.IOException {
         return com.google.protobuf.GeneratedMessageV3
             .parseDelimitedWithIOException(PARSER, input);
       }
+
       public static edu.stanford.nlp.pipeline.CoreNLPProtos.TokensRegexResponse.Match parseDelimitedFrom(
           java.io.InputStream input,
           com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -85275,14 +85132,13 @@ private void maybeForceBuilderInitialization() {
         @java.lang.Override
         public Builder clear() {
           super.clear();
+          bitField0_ = 0;
           sentence_ = 0;
-          bitField0_ = (bitField0_ & ~0x00000001);
-          if (matchBuilder_ == null) {
-            match_ = null;
-          } else {
-            matchBuilder_.clear();
+          match_ = null;
+          if (matchBuilder_ != null) {
+            matchBuilder_.dispose();
+            matchBuilder_ = null;
           }
-          bitField0_ = (bitField0_ & ~0x00000002);
           if (groupBuilder_ == null) {
             group_ = java.util.Collections.emptyList();
           } else {
@@ -85316,20 +85172,13 @@ public edu.stanford.nlp.pipeline.CoreNLPProtos.TokensRegexResponse.Match build()
         @java.lang.Override
         public edu.stanford.nlp.pipeline.CoreNLPProtos.TokensRegexResponse.Match buildPartial() {
           edu.stanford.nlp.pipeline.CoreNLPProtos.TokensRegexResponse.Match result = new edu.stanford.nlp.pipeline.CoreNLPProtos.TokensRegexResponse.Match(this);
-          int from_bitField0_ = bitField0_;
-          int to_bitField0_ = 0;
-          if (((from_bitField0_ & 0x00000001) != 0)) {
-            result.sentence_ = sentence_;
-            to_bitField0_ |= 0x00000001;
-          }
-          if (((from_bitField0_ & 0x00000002) != 0)) {
-            if (matchBuilder_ == null) {
-              result.match_ = match_;
-            } else {
-              result.match_ = matchBuilder_.build();
-            }
-            to_bitField0_ |= 0x00000002;
-          }
+          buildPartialRepeatedFields(result);
+          if (bitField0_ != 0) { buildPartial0(result); }
+          onBuilt();
+          return result;
+        }
+
+        private void buildPartialRepeatedFields(edu.stanford.nlp.pipeline.CoreNLPProtos.TokensRegexResponse.Match result) {
           if (groupBuilder_ == null) {
             if (((bitField0_ & 0x00000004) != 0)) {
               group_ = java.util.Collections.unmodifiableList(group_);
@@ -85339,9 +85188,22 @@ public edu.stanford.nlp.pipeline.CoreNLPProtos.TokensRegexResponse.Match buildPa
           } else {
             result.group_ = groupBuilder_.build();
           }
-          result.bitField0_ = to_bitField0_;
-          onBuilt();
-          return result;
+        }
+
+        private void buildPartial0(edu.stanford.nlp.pipeline.CoreNLPProtos.TokensRegexResponse.Match result) {
+          int from_bitField0_ = bitField0_;
+          int to_bitField0_ = 0;
+          if (((from_bitField0_ & 0x00000001) != 0)) {
+            result.sentence_ = sentence_;
+            to_bitField0_ |= 0x00000001;
+          }
+          if (((from_bitField0_ & 0x00000002) != 0)) {
+            result.match_ = matchBuilder_ == null
+                ? match_
+                : matchBuilder_.build();
+            to_bitField0_ |= 0x00000002;
+          }
+          result.bitField0_ |= to_bitField0_;
         }
 
         @java.lang.Override
@@ -85517,8 +85379,9 @@ public int getSentence() {
          * @return This builder for chaining.
          */
         public Builder setSentence(int value) {
-          bitField0_ |= 0x00000001;
+
           sentence_ = value;
+          bitField0_ |= 0x00000001;
           onChanged();
           return this;
         }
@@ -85563,11 +85426,11 @@ public Builder setMatch(edu.stanford.nlp.pipeline.CoreNLPProtos.TokensRegexRespo
               throw new NullPointerException();
             }
             match_ = value;
-            onChanged();
           } else {
             matchBuilder_.setMessage(value);
           }
           bitField0_ |= 0x00000002;
+          onChanged();
           return this;
         }
         /**
@@ -85577,11 +85440,11 @@ public Builder setMatch(
             edu.stanford.nlp.pipeline.CoreNLPProtos.TokensRegexResponse.MatchLocation.Builder builderForValue) {
           if (matchBuilder_ == null) {
             match_ = builderForValue.build();
-            onChanged();
           } else {
             matchBuilder_.setMessage(builderForValue.build());
           }
           bitField0_ |= 0x00000002;
+          onChanged();
           return this;
         }
         /**
@@ -85590,31 +85453,32 @@ public Builder setMatch(
         public Builder mergeMatch(edu.stanford.nlp.pipeline.CoreNLPProtos.TokensRegexResponse.MatchLocation value) {
           if (matchBuilder_ == null) {
             if (((bitField0_ & 0x00000002) != 0) &&
-                match_ != null &&
-                match_ != edu.stanford.nlp.pipeline.CoreNLPProtos.TokensRegexResponse.MatchLocation.getDefaultInstance()) {
-              match_ =
-                edu.stanford.nlp.pipeline.CoreNLPProtos.TokensRegexResponse.MatchLocation.newBuilder(match_).mergeFrom(value).buildPartial();
+              match_ != null &&
+              match_ != edu.stanford.nlp.pipeline.CoreNLPProtos.TokensRegexResponse.MatchLocation.getDefaultInstance()) {
+              getMatchBuilder().mergeFrom(value);
             } else {
               match_ = value;
             }
-            onChanged();
           } else {
             matchBuilder_.mergeFrom(value);
           }
-          bitField0_ |= 0x00000002;
+          if (match_ != null) {
+            bitField0_ |= 0x00000002;
+            onChanged();
+          }
           return this;
         }
         /**
          * required .edu.stanford.nlp.pipeline.TokensRegexResponse.MatchLocation match = 2;
          */
         public Builder clearMatch() {
-          if (matchBuilder_ == null) {
-            match_ = null;
-            onChanged();
-          } else {
-            matchBuilder_.clear();
-          }
           bitField0_ = (bitField0_ & ~0x00000002);
+          match_ = null;
+          if (matchBuilder_ != null) {
+            matchBuilder_.dispose();
+            matchBuilder_ = null;
+          }
+          onChanged();
           return this;
         }
         /**
@@ -86007,11 +85871,6 @@ protected java.lang.Object newInstance(
         return new PatternMatch();
       }
 
-      @java.lang.Override
-      public final com.google.protobuf.UnknownFieldSet
-      getUnknownFields() {
-        return this.unknownFields;
-      }
       public static final com.google.protobuf.Descriptors.Descriptor
           getDescriptor() {
         return edu.stanford.nlp.pipeline.CoreNLPProtos.internal_static_edu_stanford_nlp_pipeline_TokensRegexResponse_PatternMatch_descriptor;
@@ -86026,6 +85885,7 @@ protected java.lang.Object newInstance(
       }
 
       public static final int MATCH_FIELD_NUMBER = 1;
+      @SuppressWarnings("serial")
       private java.util.List match_;
       /**
        * repeated .edu.stanford.nlp.pipeline.TokensRegexResponse.Match match = 1;
@@ -86182,11 +86042,13 @@ public static edu.stanford.nlp.pipeline.CoreNLPProtos.TokensRegexResponse.Patter
         return com.google.protobuf.GeneratedMessageV3
             .parseWithIOException(PARSER, input, extensionRegistry);
       }
+
       public static edu.stanford.nlp.pipeline.CoreNLPProtos.TokensRegexResponse.PatternMatch parseDelimitedFrom(java.io.InputStream input)
           throws java.io.IOException {
         return com.google.protobuf.GeneratedMessageV3
             .parseDelimitedWithIOException(PARSER, input);
       }
+
       public static edu.stanford.nlp.pipeline.CoreNLPProtos.TokensRegexResponse.PatternMatch parseDelimitedFrom(
           java.io.InputStream input,
           com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -86261,6 +86123,7 @@ private Builder(
         @java.lang.Override
         public Builder clear() {
           super.clear();
+          bitField0_ = 0;
           if (matchBuilder_ == null) {
             match_ = java.util.Collections.emptyList();
           } else {
@@ -86294,7 +86157,13 @@ public edu.stanford.nlp.pipeline.CoreNLPProtos.TokensRegexResponse.PatternMatch
         @java.lang.Override
         public edu.stanford.nlp.pipeline.CoreNLPProtos.TokensRegexResponse.PatternMatch buildPartial() {
           edu.stanford.nlp.pipeline.CoreNLPProtos.TokensRegexResponse.PatternMatch result = new edu.stanford.nlp.pipeline.CoreNLPProtos.TokensRegexResponse.PatternMatch(this);
-          int from_bitField0_ = bitField0_;
+          buildPartialRepeatedFields(result);
+          if (bitField0_ != 0) { buildPartial0(result); }
+          onBuilt();
+          return result;
+        }
+
+        private void buildPartialRepeatedFields(edu.stanford.nlp.pipeline.CoreNLPProtos.TokensRegexResponse.PatternMatch result) {
           if (matchBuilder_ == null) {
             if (((bitField0_ & 0x00000001) != 0)) {
               match_ = java.util.Collections.unmodifiableList(match_);
@@ -86304,8 +86173,10 @@ public edu.stanford.nlp.pipeline.CoreNLPProtos.TokensRegexResponse.PatternMatch
           } else {
             result.match_ = matchBuilder_.build();
           }
-          onBuilt();
-          return result;
+        }
+
+        private void buildPartial0(edu.stanford.nlp.pipeline.CoreNLPProtos.TokensRegexResponse.PatternMatch result) {
+          int from_bitField0_ = bitField0_;
         }
 
         @java.lang.Override
@@ -86743,6 +86614,7 @@ public edu.stanford.nlp.pipeline.CoreNLPProtos.TokensRegexResponse.PatternMatch
     }
 
     public static final int MATCH_FIELD_NUMBER = 1;
+    @SuppressWarnings("serial")
     private java.util.List match_;
     /**
      * repeated .edu.stanford.nlp.pipeline.TokensRegexResponse.PatternMatch match = 1;
@@ -86899,11 +86771,13 @@ public static edu.stanford.nlp.pipeline.CoreNLPProtos.TokensRegexResponse parseF
       return com.google.protobuf.GeneratedMessageV3
           .parseWithIOException(PARSER, input, extensionRegistry);
     }
+
     public static edu.stanford.nlp.pipeline.CoreNLPProtos.TokensRegexResponse parseDelimitedFrom(java.io.InputStream input)
         throws java.io.IOException {
       return com.google.protobuf.GeneratedMessageV3
           .parseDelimitedWithIOException(PARSER, input);
     }
+
     public static edu.stanford.nlp.pipeline.CoreNLPProtos.TokensRegexResponse parseDelimitedFrom(
         java.io.InputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -86985,6 +86859,7 @@ private Builder(
       @java.lang.Override
       public Builder clear() {
         super.clear();
+        bitField0_ = 0;
         if (matchBuilder_ == null) {
           match_ = java.util.Collections.emptyList();
         } else {
@@ -87018,7 +86893,13 @@ public edu.stanford.nlp.pipeline.CoreNLPProtos.TokensRegexResponse build() {
       @java.lang.Override
       public edu.stanford.nlp.pipeline.CoreNLPProtos.TokensRegexResponse buildPartial() {
         edu.stanford.nlp.pipeline.CoreNLPProtos.TokensRegexResponse result = new edu.stanford.nlp.pipeline.CoreNLPProtos.TokensRegexResponse(this);
-        int from_bitField0_ = bitField0_;
+        buildPartialRepeatedFields(result);
+        if (bitField0_ != 0) { buildPartial0(result); }
+        onBuilt();
+        return result;
+      }
+
+      private void buildPartialRepeatedFields(edu.stanford.nlp.pipeline.CoreNLPProtos.TokensRegexResponse result) {
         if (matchBuilder_ == null) {
           if (((bitField0_ & 0x00000001) != 0)) {
             match_ = java.util.Collections.unmodifiableList(match_);
@@ -87028,8 +86909,10 @@ public edu.stanford.nlp.pipeline.CoreNLPProtos.TokensRegexResponse buildPartial(
         } else {
           result.match_ = matchBuilder_.build();
         }
-        onBuilt();
-        return result;
+      }
+
+      private void buildPartial0(edu.stanford.nlp.pipeline.CoreNLPProtos.TokensRegexResponse result) {
+        int from_bitField0_ = bitField0_;
       }
 
       @java.lang.Override
@@ -87525,7 +87408,7 @@ public interface DependencyEnhancerRequestOrBuilder extends
     com.google.protobuf.ByteString
         getRelativePronounsBytes();
 
-    public edu.stanford.nlp.pipeline.CoreNLPProtos.DependencyEnhancerRequest.RefCase getRefCase();
+    edu.stanford.nlp.pipeline.CoreNLPProtos.DependencyEnhancerRequest.RefCase getRefCase();
   }
   /**
    * 
@@ -87554,11 +87437,6 @@ protected java.lang.Object newInstance(
       return new DependencyEnhancerRequest();
     }
 
-    @java.lang.Override
-    public final com.google.protobuf.UnknownFieldSet
-    getUnknownFields() {
-      return this.unknownFields;
-    }
     public static final com.google.protobuf.Descriptors.Descriptor
         getDescriptor() {
       return edu.stanford.nlp.pipeline.CoreNLPProtos.internal_static_edu_stanford_nlp_pipeline_DependencyEnhancerRequest_descriptor;
@@ -87574,6 +87452,7 @@ protected java.lang.Object newInstance(
 
     private int bitField0_;
     private int refCase_ = 0;
+    @SuppressWarnings("serial")
     private java.lang.Object ref_;
     public enum RefCase
         implements com.google.protobuf.Internal.EnumLite,
@@ -87654,8 +87533,7 @@ public boolean hasLanguage() {
      */
     public edu.stanford.nlp.pipeline.CoreNLPProtos.Language getLanguage() {
       if (refCase_ == 2) {
-        @SuppressWarnings("deprecation")
-        edu.stanford.nlp.pipeline.CoreNLPProtos.Language result = edu.stanford.nlp.pipeline.CoreNLPProtos.Language.valueOf(
+        edu.stanford.nlp.pipeline.CoreNLPProtos.Language result = edu.stanford.nlp.pipeline.CoreNLPProtos.Language.forNumber(
             (java.lang.Integer) ref_);
         return result == null ? edu.stanford.nlp.pipeline.CoreNLPProtos.Language.Unknown : result;
       }
@@ -87886,11 +87764,13 @@ public static edu.stanford.nlp.pipeline.CoreNLPProtos.DependencyEnhancerRequest
       return com.google.protobuf.GeneratedMessageV3
           .parseWithIOException(PARSER, input, extensionRegistry);
     }
+
     public static edu.stanford.nlp.pipeline.CoreNLPProtos.DependencyEnhancerRequest parseDelimitedFrom(java.io.InputStream input)
         throws java.io.IOException {
       return com.google.protobuf.GeneratedMessageV3
           .parseDelimitedWithIOException(PARSER, input);
     }
+
     public static edu.stanford.nlp.pipeline.CoreNLPProtos.DependencyEnhancerRequest parseDelimitedFrom(
         java.io.InputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -87976,12 +87856,12 @@ private void maybeForceBuilderInitialization() {
       @java.lang.Override
       public Builder clear() {
         super.clear();
-        if (documentBuilder_ == null) {
-          document_ = null;
-        } else {
-          documentBuilder_.clear();
+        bitField0_ = 0;
+        document_ = null;
+        if (documentBuilder_ != null) {
+          documentBuilder_.dispose();
+          documentBuilder_ = null;
         }
-        bitField0_ = (bitField0_ & ~0x00000001);
         refCase_ = 0;
         ref_ = null;
         return this;
@@ -88010,26 +87890,27 @@ public edu.stanford.nlp.pipeline.CoreNLPProtos.DependencyEnhancerRequest build()
       @java.lang.Override
       public edu.stanford.nlp.pipeline.CoreNLPProtos.DependencyEnhancerRequest buildPartial() {
         edu.stanford.nlp.pipeline.CoreNLPProtos.DependencyEnhancerRequest result = new edu.stanford.nlp.pipeline.CoreNLPProtos.DependencyEnhancerRequest(this);
+        if (bitField0_ != 0) { buildPartial0(result); }
+        buildPartialOneofs(result);
+        onBuilt();
+        return result;
+      }
+
+      private void buildPartial0(edu.stanford.nlp.pipeline.CoreNLPProtos.DependencyEnhancerRequest result) {
         int from_bitField0_ = bitField0_;
         int to_bitField0_ = 0;
         if (((from_bitField0_ & 0x00000001) != 0)) {
-          if (documentBuilder_ == null) {
-            result.document_ = document_;
-          } else {
-            result.document_ = documentBuilder_.build();
-          }
+          result.document_ = documentBuilder_ == null
+              ? document_
+              : documentBuilder_.build();
           to_bitField0_ |= 0x00000001;
         }
-        if (refCase_ == 2) {
-          result.ref_ = ref_;
-        }
-        if (refCase_ == 3) {
-          result.ref_ = ref_;
-        }
-        result.bitField0_ = to_bitField0_;
+        result.bitField0_ |= to_bitField0_;
+      }
+
+      private void buildPartialOneofs(edu.stanford.nlp.pipeline.CoreNLPProtos.DependencyEnhancerRequest result) {
         result.refCase_ = refCase_;
-        onBuilt();
-        return result;
+        result.ref_ = this.ref_;
       }
 
       @java.lang.Override
@@ -88213,11 +88094,11 @@ public Builder setDocument(edu.stanford.nlp.pipeline.CoreNLPProtos.Document valu
             throw new NullPointerException();
           }
           document_ = value;
-          onChanged();
         } else {
           documentBuilder_.setMessage(value);
         }
         bitField0_ |= 0x00000001;
+        onChanged();
         return this;
       }
       /**
@@ -88227,11 +88108,11 @@ public Builder setDocument(
           edu.stanford.nlp.pipeline.CoreNLPProtos.Document.Builder builderForValue) {
         if (documentBuilder_ == null) {
           document_ = builderForValue.build();
-          onChanged();
         } else {
           documentBuilder_.setMessage(builderForValue.build());
         }
         bitField0_ |= 0x00000001;
+        onChanged();
         return this;
       }
       /**
@@ -88240,31 +88121,32 @@ public Builder setDocument(
       public Builder mergeDocument(edu.stanford.nlp.pipeline.CoreNLPProtos.Document value) {
         if (documentBuilder_ == null) {
           if (((bitField0_ & 0x00000001) != 0) &&
-              document_ != null &&
-              document_ != edu.stanford.nlp.pipeline.CoreNLPProtos.Document.getDefaultInstance()) {
-            document_ =
-              edu.stanford.nlp.pipeline.CoreNLPProtos.Document.newBuilder(document_).mergeFrom(value).buildPartial();
+            document_ != null &&
+            document_ != edu.stanford.nlp.pipeline.CoreNLPProtos.Document.getDefaultInstance()) {
+            getDocumentBuilder().mergeFrom(value);
           } else {
             document_ = value;
           }
-          onChanged();
         } else {
           documentBuilder_.mergeFrom(value);
         }
-        bitField0_ |= 0x00000001;
+        if (document_ != null) {
+          bitField0_ |= 0x00000001;
+          onChanged();
+        }
         return this;
       }
       /**
        * required .edu.stanford.nlp.pipeline.Document document = 1;
        */
       public Builder clearDocument() {
-        if (documentBuilder_ == null) {
-          document_ = null;
-          onChanged();
-        } else {
-          documentBuilder_.clear();
-        }
         bitField0_ = (bitField0_ & ~0x00000001);
+        document_ = null;
+        if (documentBuilder_ != null) {
+          documentBuilder_.dispose();
+          documentBuilder_ = null;
+        }
+        onChanged();
         return this;
       }
       /**
@@ -88318,8 +88200,7 @@ public boolean hasLanguage() {
       @java.lang.Override
       public edu.stanford.nlp.pipeline.CoreNLPProtos.Language getLanguage() {
         if (refCase_ == 2) {
-          @SuppressWarnings("deprecation")
-          edu.stanford.nlp.pipeline.CoreNLPProtos.Language result = edu.stanford.nlp.pipeline.CoreNLPProtos.Language.valueOf(
+          edu.stanford.nlp.pipeline.CoreNLPProtos.Language result = edu.stanford.nlp.pipeline.CoreNLPProtos.Language.forNumber(
               (java.lang.Integer) ref_);
           return result == null ? edu.stanford.nlp.pipeline.CoreNLPProtos.Language.Unknown : result;
         }
@@ -88430,10 +88311,8 @@ public java.lang.String getRelativePronouns() {
        */
       public Builder setRelativePronouns(
           java.lang.String value) {
-        if (value == null) {
-    throw new NullPointerException();
-  }
-  refCase_ = 3;
+        if (value == null) { throw new NullPointerException(); }
+        refCase_ = 3;
         ref_ = value;
         onChanged();
         return this;
@@ -88465,10 +88344,8 @@ public Builder clearRelativePronouns() {
        */
       public Builder setRelativePronounsBytes(
           com.google.protobuf.ByteString value) {
-        if (value == null) {
-    throw new NullPointerException();
-  }
-  refCase_ = 3;
+        if (value == null) { throw new NullPointerException(); }
+        refCase_ = 3;
         ref_ = value;
         onChanged();
         return this;
@@ -88593,11 +88470,6 @@ protected java.lang.Object newInstance(
       return new FlattenedParseTree();
     }
 
-    @java.lang.Override
-    public final com.google.protobuf.UnknownFieldSet
-    getUnknownFields() {
-      return this.unknownFields;
-    }
     public static final com.google.protobuf.Descriptors.Descriptor
         getDescriptor() {
       return edu.stanford.nlp.pipeline.CoreNLPProtos.internal_static_edu_stanford_nlp_pipeline_FlattenedParseTree_descriptor;
@@ -88665,7 +88537,7 @@ public interface NodeOrBuilder extends
        */
       double getScore();
 
-      public edu.stanford.nlp.pipeline.CoreNLPProtos.FlattenedParseTree.Node.ContentsCase getContentsCase();
+      edu.stanford.nlp.pipeline.CoreNLPProtos.FlattenedParseTree.Node.ContentsCase getContentsCase();
     }
     /**
      * Protobuf type {@code edu.stanford.nlp.pipeline.FlattenedParseTree.Node}
@@ -88689,11 +88561,6 @@ protected java.lang.Object newInstance(
         return new Node();
       }
 
-      @java.lang.Override
-      public final com.google.protobuf.UnknownFieldSet
-      getUnknownFields() {
-        return this.unknownFields;
-      }
       public static final com.google.protobuf.Descriptors.Descriptor
           getDescriptor() {
         return edu.stanford.nlp.pipeline.CoreNLPProtos.internal_static_edu_stanford_nlp_pipeline_FlattenedParseTree_Node_descriptor;
@@ -88709,6 +88576,7 @@ protected java.lang.Object newInstance(
 
       private int bitField0_;
       private int contentsCase_ = 0;
+      @SuppressWarnings("serial")
       private java.lang.Object contents_;
       public enum ContentsCase
           implements com.google.protobuf.Internal.EnumLite,
@@ -88846,14 +88714,14 @@ public java.lang.String getValue() {
       }
 
       public static final int SCORE_FIELD_NUMBER = 4;
-      private double score_;
+      private double score_ = 0D;
       /**
        * optional double score = 4;
        * @return Whether the score field is set.
        */
       @java.lang.Override
       public boolean hasScore() {
-        return ((bitField0_ & 0x00000008) != 0);
+        return ((bitField0_ & 0x00000001) != 0);
       }
       /**
        * optional double score = 4;
@@ -88889,7 +88757,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output)
         if (contentsCase_ == 3) {
           com.google.protobuf.GeneratedMessageV3.writeString(output, 3, contents_);
         }
-        if (((bitField0_ & 0x00000008) != 0)) {
+        if (((bitField0_ & 0x00000001) != 0)) {
           output.writeDouble(4, score_);
         }
         getUnknownFields().writeTo(output);
@@ -88914,7 +88782,7 @@ public int getSerializedSize() {
         if (contentsCase_ == 3) {
           size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, contents_);
         }
-        if (((bitField0_ & 0x00000008) != 0)) {
+        if (((bitField0_ & 0x00000001) != 0)) {
           size += com.google.protobuf.CodedOutputStream
             .computeDoubleSize(4, score_);
         }
@@ -89039,11 +88907,13 @@ public static edu.stanford.nlp.pipeline.CoreNLPProtos.FlattenedParseTree.Node pa
         return com.google.protobuf.GeneratedMessageV3
             .parseWithIOException(PARSER, input, extensionRegistry);
       }
+
       public static edu.stanford.nlp.pipeline.CoreNLPProtos.FlattenedParseTree.Node parseDelimitedFrom(java.io.InputStream input)
           throws java.io.IOException {
         return com.google.protobuf.GeneratedMessageV3
             .parseDelimitedWithIOException(PARSER, input);
       }
+
       public static edu.stanford.nlp.pipeline.CoreNLPProtos.FlattenedParseTree.Node parseDelimitedFrom(
           java.io.InputStream input,
           com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -89118,8 +88988,8 @@ private Builder(
         @java.lang.Override
         public Builder clear() {
           super.clear();
+          bitField0_ = 0;
           score_ = 0D;
-          bitField0_ = (bitField0_ & ~0x00000008);
           contentsCase_ = 0;
           contents_ = null;
           return this;
@@ -89148,25 +89018,25 @@ public edu.stanford.nlp.pipeline.CoreNLPProtos.FlattenedParseTree.Node build() {
         @java.lang.Override
         public edu.stanford.nlp.pipeline.CoreNLPProtos.FlattenedParseTree.Node buildPartial() {
           edu.stanford.nlp.pipeline.CoreNLPProtos.FlattenedParseTree.Node result = new edu.stanford.nlp.pipeline.CoreNLPProtos.FlattenedParseTree.Node(this);
+          if (bitField0_ != 0) { buildPartial0(result); }
+          buildPartialOneofs(result);
+          onBuilt();
+          return result;
+        }
+
+        private void buildPartial0(edu.stanford.nlp.pipeline.CoreNLPProtos.FlattenedParseTree.Node result) {
           int from_bitField0_ = bitField0_;
           int to_bitField0_ = 0;
-          if (contentsCase_ == 1) {
-            result.contents_ = contents_;
-          }
-          if (contentsCase_ == 2) {
-            result.contents_ = contents_;
-          }
-          if (contentsCase_ == 3) {
-            result.contents_ = contents_;
-          }
           if (((from_bitField0_ & 0x00000008) != 0)) {
             result.score_ = score_;
-            to_bitField0_ |= 0x00000008;
+            to_bitField0_ |= 0x00000001;
           }
-          result.bitField0_ = to_bitField0_;
+          result.bitField0_ |= to_bitField0_;
+        }
+
+        private void buildPartialOneofs(edu.stanford.nlp.pipeline.CoreNLPProtos.FlattenedParseTree.Node result) {
           result.contentsCase_ = contentsCase_;
-          onBuilt();
-          return result;
+          result.contents_ = this.contents_;
         }
 
         @java.lang.Override
@@ -89337,6 +89207,7 @@ public boolean getOpenNode() {
          * @return This builder for chaining.
          */
         public Builder setOpenNode(boolean value) {
+
           contentsCase_ = 1;
           contents_ = value;
           onChanged();
@@ -89378,6 +89249,7 @@ public boolean getCloseNode() {
          * @return This builder for chaining.
          */
         public Builder setCloseNode(boolean value) {
+
           contentsCase_ = 2;
           contents_ = value;
           onChanged();
@@ -89458,10 +89330,8 @@ public java.lang.String getValue() {
          */
         public Builder setValue(
             java.lang.String value) {
-          if (value == null) {
-    throw new NullPointerException();
-  }
-  contentsCase_ = 3;
+          if (value == null) { throw new NullPointerException(); }
+          contentsCase_ = 3;
           contents_ = value;
           onChanged();
           return this;
@@ -89485,10 +89355,8 @@ public Builder clearValue() {
          */
         public Builder setValueBytes(
             com.google.protobuf.ByteString value) {
-          if (value == null) {
-    throw new NullPointerException();
-  }
-  contentsCase_ = 3;
+          if (value == null) { throw new NullPointerException(); }
+          contentsCase_ = 3;
           contents_ = value;
           onChanged();
           return this;
@@ -89517,8 +89385,9 @@ public double getScore() {
          * @return This builder for chaining.
          */
         public Builder setScore(double value) {
-          bitField0_ |= 0x00000008;
+
           score_ = value;
+          bitField0_ |= 0x00000008;
           onChanged();
           return this;
         }
@@ -89597,6 +89466,7 @@ public edu.stanford.nlp.pipeline.CoreNLPProtos.FlattenedParseTree.Node getDefaul
     }
 
     public static final int NODES_FIELD_NUMBER = 1;
+    @SuppressWarnings("serial")
     private java.util.List nodes_;
     /**
      * repeated .edu.stanford.nlp.pipeline.FlattenedParseTree.Node nodes = 1;
@@ -89747,11 +89617,13 @@ public static edu.stanford.nlp.pipeline.CoreNLPProtos.FlattenedParseTree parseFr
       return com.google.protobuf.GeneratedMessageV3
           .parseWithIOException(PARSER, input, extensionRegistry);
     }
+
     public static edu.stanford.nlp.pipeline.CoreNLPProtos.FlattenedParseTree parseDelimitedFrom(java.io.InputStream input)
         throws java.io.IOException {
       return com.google.protobuf.GeneratedMessageV3
           .parseDelimitedWithIOException(PARSER, input);
     }
+
     public static edu.stanford.nlp.pipeline.CoreNLPProtos.FlattenedParseTree parseDelimitedFrom(
         java.io.InputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -89831,6 +89703,7 @@ private Builder(
       @java.lang.Override
       public Builder clear() {
         super.clear();
+        bitField0_ = 0;
         if (nodesBuilder_ == null) {
           nodes_ = java.util.Collections.emptyList();
         } else {
@@ -89864,7 +89737,13 @@ public edu.stanford.nlp.pipeline.CoreNLPProtos.FlattenedParseTree build() {
       @java.lang.Override
       public edu.stanford.nlp.pipeline.CoreNLPProtos.FlattenedParseTree buildPartial() {
         edu.stanford.nlp.pipeline.CoreNLPProtos.FlattenedParseTree result = new edu.stanford.nlp.pipeline.CoreNLPProtos.FlattenedParseTree(this);
-        int from_bitField0_ = bitField0_;
+        buildPartialRepeatedFields(result);
+        if (bitField0_ != 0) { buildPartial0(result); }
+        onBuilt();
+        return result;
+      }
+
+      private void buildPartialRepeatedFields(edu.stanford.nlp.pipeline.CoreNLPProtos.FlattenedParseTree result) {
         if (nodesBuilder_ == null) {
           if (((bitField0_ & 0x00000001) != 0)) {
             nodes_ = java.util.Collections.unmodifiableList(nodes_);
@@ -89874,8 +89753,10 @@ public edu.stanford.nlp.pipeline.CoreNLPProtos.FlattenedParseTree buildPartial()
         } else {
           result.nodes_ = nodesBuilder_.build();
         }
-        onBuilt();
-        return result;
+      }
+
+      private void buildPartial0(edu.stanford.nlp.pipeline.CoreNLPProtos.FlattenedParseTree result) {
+        int from_bitField0_ = bitField0_;
       }
 
       @java.lang.Override
@@ -90362,11 +90243,6 @@ protected java.lang.Object newInstance(
       return new EvaluateParserRequest();
     }
 
-    @java.lang.Override
-    public final com.google.protobuf.UnknownFieldSet
-    getUnknownFields() {
-      return this.unknownFields;
-    }
     public static final com.google.protobuf.Descriptors.Descriptor
         getDescriptor() {
       return edu.stanford.nlp.pipeline.CoreNLPProtos.internal_static_edu_stanford_nlp_pipeline_EvaluateParserRequest_descriptor;
@@ -90471,11 +90347,6 @@ protected java.lang.Object newInstance(
         return new ParseResult();
       }
 
-      @java.lang.Override
-      public final com.google.protobuf.UnknownFieldSet
-      getUnknownFields() {
-        return this.unknownFields;
-      }
       public static final com.google.protobuf.Descriptors.Descriptor
           getDescriptor() {
         return edu.stanford.nlp.pipeline.CoreNLPProtos.internal_static_edu_stanford_nlp_pipeline_EvaluateParserRequest_ParseResult_descriptor;
@@ -90517,6 +90388,7 @@ public edu.stanford.nlp.pipeline.CoreNLPProtos.FlattenedParseTreeOrBuilder getGo
       }
 
       public static final int PREDICTED_FIELD_NUMBER = 2;
+      @SuppressWarnings("serial")
       private java.util.List predicted_;
       /**
        * 
@@ -90712,11 +90584,13 @@ public static edu.stanford.nlp.pipeline.CoreNLPProtos.EvaluateParserRequest.Pars
         return com.google.protobuf.GeneratedMessageV3
             .parseWithIOException(PARSER, input, extensionRegistry);
       }
+
       public static edu.stanford.nlp.pipeline.CoreNLPProtos.EvaluateParserRequest.ParseResult parseDelimitedFrom(java.io.InputStream input)
           throws java.io.IOException {
         return com.google.protobuf.GeneratedMessageV3
             .parseDelimitedWithIOException(PARSER, input);
       }
+
       public static edu.stanford.nlp.pipeline.CoreNLPProtos.EvaluateParserRequest.ParseResult parseDelimitedFrom(
           java.io.InputStream input,
           com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -90798,12 +90672,12 @@ private void maybeForceBuilderInitialization() {
         @java.lang.Override
         public Builder clear() {
           super.clear();
-          if (goldBuilder_ == null) {
-            gold_ = null;
-          } else {
-            goldBuilder_.clear();
+          bitField0_ = 0;
+          gold_ = null;
+          if (goldBuilder_ != null) {
+            goldBuilder_.dispose();
+            goldBuilder_ = null;
           }
-          bitField0_ = (bitField0_ & ~0x00000001);
           if (predictedBuilder_ == null) {
             predicted_ = java.util.Collections.emptyList();
           } else {
@@ -90837,16 +90711,13 @@ public edu.stanford.nlp.pipeline.CoreNLPProtos.EvaluateParserRequest.ParseResult
         @java.lang.Override
         public edu.stanford.nlp.pipeline.CoreNLPProtos.EvaluateParserRequest.ParseResult buildPartial() {
           edu.stanford.nlp.pipeline.CoreNLPProtos.EvaluateParserRequest.ParseResult result = new edu.stanford.nlp.pipeline.CoreNLPProtos.EvaluateParserRequest.ParseResult(this);
-          int from_bitField0_ = bitField0_;
-          int to_bitField0_ = 0;
-          if (((from_bitField0_ & 0x00000001) != 0)) {
-            if (goldBuilder_ == null) {
-              result.gold_ = gold_;
-            } else {
-              result.gold_ = goldBuilder_.build();
-            }
-            to_bitField0_ |= 0x00000001;
-          }
+          buildPartialRepeatedFields(result);
+          if (bitField0_ != 0) { buildPartial0(result); }
+          onBuilt();
+          return result;
+        }
+
+        private void buildPartialRepeatedFields(edu.stanford.nlp.pipeline.CoreNLPProtos.EvaluateParserRequest.ParseResult result) {
           if (predictedBuilder_ == null) {
             if (((bitField0_ & 0x00000002) != 0)) {
               predicted_ = java.util.Collections.unmodifiableList(predicted_);
@@ -90856,9 +90727,18 @@ public edu.stanford.nlp.pipeline.CoreNLPProtos.EvaluateParserRequest.ParseResult
           } else {
             result.predicted_ = predictedBuilder_.build();
           }
-          result.bitField0_ = to_bitField0_;
-          onBuilt();
-          return result;
+        }
+
+        private void buildPartial0(edu.stanford.nlp.pipeline.CoreNLPProtos.EvaluateParserRequest.ParseResult result) {
+          int from_bitField0_ = bitField0_;
+          int to_bitField0_ = 0;
+          if (((from_bitField0_ & 0x00000001) != 0)) {
+            result.gold_ = goldBuilder_ == null
+                ? gold_
+                : goldBuilder_.build();
+            to_bitField0_ |= 0x00000001;
+          }
+          result.bitField0_ |= to_bitField0_;
         }
 
         @java.lang.Override
@@ -91030,11 +90910,11 @@ public Builder setGold(edu.stanford.nlp.pipeline.CoreNLPProtos.FlattenedParseTre
               throw new NullPointerException();
             }
             gold_ = value;
-            onChanged();
           } else {
             goldBuilder_.setMessage(value);
           }
           bitField0_ |= 0x00000001;
+          onChanged();
           return this;
         }
         /**
@@ -91044,11 +90924,11 @@ public Builder setGold(
             edu.stanford.nlp.pipeline.CoreNLPProtos.FlattenedParseTree.Builder builderForValue) {
           if (goldBuilder_ == null) {
             gold_ = builderForValue.build();
-            onChanged();
           } else {
             goldBuilder_.setMessage(builderForValue.build());
           }
           bitField0_ |= 0x00000001;
+          onChanged();
           return this;
         }
         /**
@@ -91057,31 +90937,32 @@ public Builder setGold(
         public Builder mergeGold(edu.stanford.nlp.pipeline.CoreNLPProtos.FlattenedParseTree value) {
           if (goldBuilder_ == null) {
             if (((bitField0_ & 0x00000001) != 0) &&
-                gold_ != null &&
-                gold_ != edu.stanford.nlp.pipeline.CoreNLPProtos.FlattenedParseTree.getDefaultInstance()) {
-              gold_ =
-                edu.stanford.nlp.pipeline.CoreNLPProtos.FlattenedParseTree.newBuilder(gold_).mergeFrom(value).buildPartial();
+              gold_ != null &&
+              gold_ != edu.stanford.nlp.pipeline.CoreNLPProtos.FlattenedParseTree.getDefaultInstance()) {
+              getGoldBuilder().mergeFrom(value);
             } else {
               gold_ = value;
             }
-            onChanged();
           } else {
             goldBuilder_.mergeFrom(value);
           }
-          bitField0_ |= 0x00000001;
+          if (gold_ != null) {
+            bitField0_ |= 0x00000001;
+            onChanged();
+          }
           return this;
         }
         /**
          * required .edu.stanford.nlp.pipeline.FlattenedParseTree gold = 1;
          */
         public Builder clearGold() {
-          if (goldBuilder_ == null) {
-            gold_ = null;
-            onChanged();
-          } else {
-            goldBuilder_.clear();
-          }
           bitField0_ = (bitField0_ & ~0x00000001);
+          gold_ = null;
+          if (goldBuilder_ != null) {
+            goldBuilder_.dispose();
+            goldBuilder_ = null;
+          }
+          onChanged();
           return this;
         }
         /**
@@ -91514,6 +91395,7 @@ public edu.stanford.nlp.pipeline.CoreNLPProtos.EvaluateParserRequest.ParseResult
     }
 
     public static final int TREEBANK_FIELD_NUMBER = 1;
+    @SuppressWarnings("serial")
     private java.util.List treebank_;
     /**
      * repeated .edu.stanford.nlp.pipeline.EvaluateParserRequest.ParseResult treebank = 1;
@@ -91670,11 +91552,13 @@ public static edu.stanford.nlp.pipeline.CoreNLPProtos.EvaluateParserRequest pars
       return com.google.protobuf.GeneratedMessageV3
           .parseWithIOException(PARSER, input, extensionRegistry);
     }
+
     public static edu.stanford.nlp.pipeline.CoreNLPProtos.EvaluateParserRequest parseDelimitedFrom(java.io.InputStream input)
         throws java.io.IOException {
       return com.google.protobuf.GeneratedMessageV3
           .parseDelimitedWithIOException(PARSER, input);
     }
+
     public static edu.stanford.nlp.pipeline.CoreNLPProtos.EvaluateParserRequest parseDelimitedFrom(
         java.io.InputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -91753,6 +91637,7 @@ private Builder(
       @java.lang.Override
       public Builder clear() {
         super.clear();
+        bitField0_ = 0;
         if (treebankBuilder_ == null) {
           treebank_ = java.util.Collections.emptyList();
         } else {
@@ -91786,7 +91671,13 @@ public edu.stanford.nlp.pipeline.CoreNLPProtos.EvaluateParserRequest build() {
       @java.lang.Override
       public edu.stanford.nlp.pipeline.CoreNLPProtos.EvaluateParserRequest buildPartial() {
         edu.stanford.nlp.pipeline.CoreNLPProtos.EvaluateParserRequest result = new edu.stanford.nlp.pipeline.CoreNLPProtos.EvaluateParserRequest(this);
-        int from_bitField0_ = bitField0_;
+        buildPartialRepeatedFields(result);
+        if (bitField0_ != 0) { buildPartial0(result); }
+        onBuilt();
+        return result;
+      }
+
+      private void buildPartialRepeatedFields(edu.stanford.nlp.pipeline.CoreNLPProtos.EvaluateParserRequest result) {
         if (treebankBuilder_ == null) {
           if (((bitField0_ & 0x00000001) != 0)) {
             treebank_ = java.util.Collections.unmodifiableList(treebank_);
@@ -91796,8 +91687,10 @@ public edu.stanford.nlp.pipeline.CoreNLPProtos.EvaluateParserRequest buildPartia
         } else {
           result.treebank_ = treebankBuilder_.build();
         }
-        onBuilt();
-        return result;
+      }
+
+      private void buildPartial0(edu.stanford.nlp.pipeline.CoreNLPProtos.EvaluateParserRequest result) {
+        int from_bitField0_ = bitField0_;
       }
 
       @java.lang.Override
@@ -92312,11 +92205,6 @@ protected java.lang.Object newInstance(
       return new EvaluateParserResponse();
     }
 
-    @java.lang.Override
-    public final com.google.protobuf.UnknownFieldSet
-    getUnknownFields() {
-      return this.unknownFields;
-    }
     public static final com.google.protobuf.Descriptors.Descriptor
         getDescriptor() {
       return edu.stanford.nlp.pipeline.CoreNLPProtos.internal_static_edu_stanford_nlp_pipeline_EvaluateParserResponse_descriptor;
@@ -92332,7 +92220,7 @@ protected java.lang.Object newInstance(
 
     private int bitField0_;
     public static final int F1_FIELD_NUMBER = 1;
-    private double f1_;
+    private double f1_ = 0D;
     /**
      * required double f1 = 1;
      * @return Whether the f1 field is set.
@@ -92351,7 +92239,7 @@ public double getF1() {
     }
 
     public static final int KBESTF1_FIELD_NUMBER = 2;
-    private double kbestF1_;
+    private double kbestF1_ = 0D;
     /**
      * optional double kbestF1 = 2;
      * @return Whether the kbestF1 field is set.
@@ -92370,7 +92258,9 @@ public double getKbestF1() {
     }
 
     public static final int TREEF1_FIELD_NUMBER = 3;
-    private com.google.protobuf.Internal.DoubleList treeF1_;
+    @SuppressWarnings("serial")
+    private com.google.protobuf.Internal.DoubleList treeF1_ =
+        emptyDoubleList();
     /**
      * 
      * keep track of the individual tree F1 scores
@@ -92561,11 +92451,13 @@ public static edu.stanford.nlp.pipeline.CoreNLPProtos.EvaluateParserResponse par
       return com.google.protobuf.GeneratedMessageV3
           .parseWithIOException(PARSER, input, extensionRegistry);
     }
+
     public static edu.stanford.nlp.pipeline.CoreNLPProtos.EvaluateParserResponse parseDelimitedFrom(java.io.InputStream input)
         throws java.io.IOException {
       return com.google.protobuf.GeneratedMessageV3
           .parseDelimitedWithIOException(PARSER, input);
     }
+
     public static edu.stanford.nlp.pipeline.CoreNLPProtos.EvaluateParserResponse parseDelimitedFrom(
         java.io.InputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -92640,12 +92532,10 @@ private Builder(
       @java.lang.Override
       public Builder clear() {
         super.clear();
+        bitField0_ = 0;
         f1_ = 0D;
-        bitField0_ = (bitField0_ & ~0x00000001);
         kbestF1_ = 0D;
-        bitField0_ = (bitField0_ & ~0x00000002);
         treeF1_ = emptyDoubleList();
-        bitField0_ = (bitField0_ & ~0x00000004);
         return this;
       }
 
@@ -92672,6 +92562,12 @@ public edu.stanford.nlp.pipeline.CoreNLPProtos.EvaluateParserResponse build() {
       @java.lang.Override
       public edu.stanford.nlp.pipeline.CoreNLPProtos.EvaluateParserResponse buildPartial() {
         edu.stanford.nlp.pipeline.CoreNLPProtos.EvaluateParserResponse result = new edu.stanford.nlp.pipeline.CoreNLPProtos.EvaluateParserResponse(this);
+        if (bitField0_ != 0) { buildPartial0(result); }
+        onBuilt();
+        return result;
+      }
+
+      private void buildPartial0(edu.stanford.nlp.pipeline.CoreNLPProtos.EvaluateParserResponse result) {
         int from_bitField0_ = bitField0_;
         int to_bitField0_ = 0;
         if (((from_bitField0_ & 0x00000001) != 0)) {
@@ -92682,14 +92578,11 @@ public edu.stanford.nlp.pipeline.CoreNLPProtos.EvaluateParserResponse buildParti
           result.kbestF1_ = kbestF1_;
           to_bitField0_ |= 0x00000002;
         }
-        if (((bitField0_ & 0x00000004) != 0)) {
+        if (((from_bitField0_ & 0x00000004) != 0)) {
           treeF1_.makeImmutable();
-          bitField0_ = (bitField0_ & ~0x00000004);
+          result.treeF1_ = treeF1_;
         }
-        result.treeF1_ = treeF1_;
-        result.bitField0_ = to_bitField0_;
-        onBuilt();
-        return result;
+        result.bitField0_ |= to_bitField0_;
       }
 
       @java.lang.Override
@@ -92745,7 +92638,8 @@ public Builder mergeFrom(edu.stanford.nlp.pipeline.CoreNLPProtos.EvaluateParserR
         if (!other.treeF1_.isEmpty()) {
           if (treeF1_.isEmpty()) {
             treeF1_ = other.treeF1_;
-            bitField0_ = (bitField0_ & ~0x00000004);
+            treeF1_.makeImmutable();
+            bitField0_ |= 0x00000004;
           } else {
             ensureTreeF1IsMutable();
             treeF1_.addAll(other.treeF1_);
@@ -92800,7 +92694,8 @@ public Builder mergeFrom(
               case 26: {
                 int length = input.readRawVarint32();
                 int limit = input.pushLimit(length);
-                ensureTreeF1IsMutable();
+                int alloc = length > 4096 ? 4096 : length;
+                ensureTreeF1IsMutable(alloc / 8);
                 while (input.getBytesUntilLimit() > 0) {
                   treeF1_.addDouble(input.readDouble());
                 }
@@ -92847,8 +92742,9 @@ public double getF1() {
        * @return This builder for chaining.
        */
       public Builder setF1(double value) {
-        bitField0_ |= 0x00000001;
+
         f1_ = value;
+        bitField0_ |= 0x00000001;
         onChanged();
         return this;
       }
@@ -92886,8 +92782,9 @@ public double getKbestF1() {
        * @return This builder for chaining.
        */
       public Builder setKbestF1(double value) {
-        bitField0_ |= 0x00000002;
+
         kbestF1_ = value;
+        bitField0_ |= 0x00000002;
         onChanged();
         return this;
       }
@@ -92904,10 +92801,16 @@ public Builder clearKbestF1() {
 
       private com.google.protobuf.Internal.DoubleList treeF1_ = emptyDoubleList();
       private void ensureTreeF1IsMutable() {
-        if (!((bitField0_ & 0x00000004) != 0)) {
-          treeF1_ = mutableCopy(treeF1_);
-          bitField0_ |= 0x00000004;
-         }
+        if (!treeF1_.isModifiable()) {
+          treeF1_ = makeMutableCopy(treeF1_);
+        }
+        bitField0_ |= 0x00000004;
+      }
+      private void ensureTreeF1IsMutable(int capacity) {
+        if (!treeF1_.isModifiable()) {
+          treeF1_ = makeMutableCopy(treeF1_, capacity);
+        }
+        bitField0_ |= 0x00000004;
       }
       /**
        * 
@@ -92919,8 +92822,8 @@ private void ensureTreeF1IsMutable() {
        */
       public java.util.List
           getTreeF1List() {
-        return ((bitField0_ & 0x00000004) != 0) ?
-                 java.util.Collections.unmodifiableList(treeF1_) : treeF1_;
+        treeF1_.makeImmutable();
+        return treeF1_;
       }
       /**
        * 
@@ -92957,8 +92860,10 @@ public double getTreeF1(int index) {
        */
       public Builder setTreeF1(
           int index, double value) {
+
         ensureTreeF1IsMutable();
         treeF1_.setDouble(index, value);
+        bitField0_ |= 0x00000004;
         onChanged();
         return this;
       }
@@ -92972,8 +92877,10 @@ public Builder setTreeF1(
        * @return This builder for chaining.
        */
       public Builder addTreeF1(double value) {
+
         ensureTreeF1IsMutable();
         treeF1_.addDouble(value);
+        bitField0_ |= 0x00000004;
         onChanged();
         return this;
       }
@@ -92991,6 +92898,7 @@ public Builder addAllTreeF1(
         ensureTreeF1IsMutable();
         com.google.protobuf.AbstractMessageLite.Builder.addAll(
             values, treeF1_);
+        bitField0_ |= 0x00000004;
         onChanged();
         return this;
       }
@@ -93152,11 +93060,6 @@ protected java.lang.Object newInstance(
       return new TsurgeonRequest();
     }
 
-    @java.lang.Override
-    public final com.google.protobuf.UnknownFieldSet
-    getUnknownFields() {
-      return this.unknownFields;
-    }
     public static final com.google.protobuf.Descriptors.Descriptor
         getDescriptor() {
       return edu.stanford.nlp.pipeline.CoreNLPProtos.internal_static_edu_stanford_nlp_pipeline_TsurgeonRequest_descriptor;
@@ -93230,7 +93133,8 @@ private Operation(com.google.protobuf.GeneratedMessageV3.Builder builder) {
       }
       private Operation() {
         tregex_ = "";
-        tsurgeon_ = com.google.protobuf.LazyStringArrayList.EMPTY;
+        tsurgeon_ =
+            com.google.protobuf.LazyStringArrayList.emptyList();
       }
 
       @java.lang.Override
@@ -93240,11 +93144,6 @@ protected java.lang.Object newInstance(
         return new Operation();
       }
 
-      @java.lang.Override
-      public final com.google.protobuf.UnknownFieldSet
-      getUnknownFields() {
-        return this.unknownFields;
-      }
       public static final com.google.protobuf.Descriptors.Descriptor
           getDescriptor() {
         return edu.stanford.nlp.pipeline.CoreNLPProtos.internal_static_edu_stanford_nlp_pipeline_TsurgeonRequest_Operation_descriptor;
@@ -93260,7 +93159,8 @@ protected java.lang.Object newInstance(
 
       private int bitField0_;
       public static final int TREGEX_FIELD_NUMBER = 1;
-      private volatile java.lang.Object tregex_;
+      @SuppressWarnings("serial")
+      private volatile java.lang.Object tregex_ = "";
       /**
        * required string tregex = 1;
        * @return Whether the tregex field is set.
@@ -93308,7 +93208,9 @@ public java.lang.String getTregex() {
       }
 
       public static final int TSURGEON_FIELD_NUMBER = 2;
-      private com.google.protobuf.LazyStringList tsurgeon_;
+      @SuppressWarnings("serial")
+      private com.google.protobuf.LazyStringArrayList tsurgeon_ =
+          com.google.protobuf.LazyStringArrayList.emptyList();
       /**
        * repeated string tsurgeon = 2;
        * @return A list containing the tsurgeon.
@@ -93476,11 +93378,13 @@ public static edu.stanford.nlp.pipeline.CoreNLPProtos.TsurgeonRequest.Operation
         return com.google.protobuf.GeneratedMessageV3
             .parseWithIOException(PARSER, input, extensionRegistry);
       }
+
       public static edu.stanford.nlp.pipeline.CoreNLPProtos.TsurgeonRequest.Operation parseDelimitedFrom(java.io.InputStream input)
           throws java.io.IOException {
         return com.google.protobuf.GeneratedMessageV3
             .parseDelimitedWithIOException(PARSER, input);
       }
+
       public static edu.stanford.nlp.pipeline.CoreNLPProtos.TsurgeonRequest.Operation parseDelimitedFrom(
           java.io.InputStream input,
           com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -93555,10 +93459,10 @@ private Builder(
         @java.lang.Override
         public Builder clear() {
           super.clear();
+          bitField0_ = 0;
           tregex_ = "";
-          bitField0_ = (bitField0_ & ~0x00000001);
-          tsurgeon_ = com.google.protobuf.LazyStringArrayList.EMPTY;
-          bitField0_ = (bitField0_ & ~0x00000002);
+          tsurgeon_ =
+              com.google.protobuf.LazyStringArrayList.emptyList();
           return this;
         }
 
@@ -93585,20 +93489,23 @@ public edu.stanford.nlp.pipeline.CoreNLPProtos.TsurgeonRequest.Operation build()
         @java.lang.Override
         public edu.stanford.nlp.pipeline.CoreNLPProtos.TsurgeonRequest.Operation buildPartial() {
           edu.stanford.nlp.pipeline.CoreNLPProtos.TsurgeonRequest.Operation result = new edu.stanford.nlp.pipeline.CoreNLPProtos.TsurgeonRequest.Operation(this);
+          if (bitField0_ != 0) { buildPartial0(result); }
+          onBuilt();
+          return result;
+        }
+
+        private void buildPartial0(edu.stanford.nlp.pipeline.CoreNLPProtos.TsurgeonRequest.Operation result) {
           int from_bitField0_ = bitField0_;
           int to_bitField0_ = 0;
           if (((from_bitField0_ & 0x00000001) != 0)) {
+            result.tregex_ = tregex_;
             to_bitField0_ |= 0x00000001;
           }
-          result.tregex_ = tregex_;
-          if (((bitField0_ & 0x00000002) != 0)) {
-            tsurgeon_ = tsurgeon_.getUnmodifiableView();
-            bitField0_ = (bitField0_ & ~0x00000002);
+          if (((from_bitField0_ & 0x00000002) != 0)) {
+            tsurgeon_.makeImmutable();
+            result.tsurgeon_ = tsurgeon_;
           }
-          result.tsurgeon_ = tsurgeon_;
-          result.bitField0_ = to_bitField0_;
-          onBuilt();
-          return result;
+          result.bitField0_ |= to_bitField0_;
         }
 
         @java.lang.Override
@@ -93646,14 +93553,14 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
         public Builder mergeFrom(edu.stanford.nlp.pipeline.CoreNLPProtos.TsurgeonRequest.Operation other) {
           if (other == edu.stanford.nlp.pipeline.CoreNLPProtos.TsurgeonRequest.Operation.getDefaultInstance()) return this;
           if (other.hasTregex()) {
-            bitField0_ |= 0x00000001;
             tregex_ = other.tregex_;
+            bitField0_ |= 0x00000001;
             onChanged();
           }
           if (!other.tsurgeon_.isEmpty()) {
             if (tsurgeon_.isEmpty()) {
               tsurgeon_ = other.tsurgeon_;
-              bitField0_ = (bitField0_ & ~0x00000002);
+              bitField0_ |= 0x00000002;
             } else {
               ensureTsurgeonIsMutable();
               tsurgeon_.addAll(other.tsurgeon_);
@@ -93767,11 +93674,9 @@ public java.lang.String getTregex() {
          */
         public Builder setTregex(
             java.lang.String value) {
-          if (value == null) {
-    throw new NullPointerException();
-  }
-  bitField0_ |= 0x00000001;
+          if (value == null) { throw new NullPointerException(); }
           tregex_ = value;
+          bitField0_ |= 0x00000001;
           onChanged();
           return this;
         }
@@ -93780,8 +93685,8 @@ public Builder setTregex(
          * @return This builder for chaining.
          */
         public Builder clearTregex() {
-          bitField0_ = (bitField0_ & ~0x00000001);
           tregex_ = getDefaultInstance().getTregex();
+          bitField0_ = (bitField0_ & ~0x00000001);
           onChanged();
           return this;
         }
@@ -93792,21 +93697,20 @@ public Builder clearTregex() {
          */
         public Builder setTregexBytes(
             com.google.protobuf.ByteString value) {
-          if (value == null) {
-    throw new NullPointerException();
-  }
-  bitField0_ |= 0x00000001;
+          if (value == null) { throw new NullPointerException(); }
           tregex_ = value;
+          bitField0_ |= 0x00000001;
           onChanged();
           return this;
         }
 
-        private com.google.protobuf.LazyStringList tsurgeon_ = com.google.protobuf.LazyStringArrayList.EMPTY;
+        private com.google.protobuf.LazyStringArrayList tsurgeon_ =
+            com.google.protobuf.LazyStringArrayList.emptyList();
         private void ensureTsurgeonIsMutable() {
-          if (!((bitField0_ & 0x00000002) != 0)) {
+          if (!tsurgeon_.isModifiable()) {
             tsurgeon_ = new com.google.protobuf.LazyStringArrayList(tsurgeon_);
-            bitField0_ |= 0x00000002;
-           }
+          }
+          bitField0_ |= 0x00000002;
         }
         /**
          * repeated string tsurgeon = 2;
@@ -93814,7 +93718,8 @@ private void ensureTsurgeonIsMutable() {
          */
         public com.google.protobuf.ProtocolStringList
             getTsurgeonList() {
-          return tsurgeon_.getUnmodifiableView();
+          tsurgeon_.makeImmutable();
+          return tsurgeon_;
         }
         /**
          * repeated string tsurgeon = 2;
@@ -93848,11 +93753,10 @@ public java.lang.String getTsurgeon(int index) {
          */
         public Builder setTsurgeon(
             int index, java.lang.String value) {
-          if (value == null) {
-    throw new NullPointerException();
-  }
-  ensureTsurgeonIsMutable();
+          if (value == null) { throw new NullPointerException(); }
+          ensureTsurgeonIsMutable();
           tsurgeon_.set(index, value);
+          bitField0_ |= 0x00000002;
           onChanged();
           return this;
         }
@@ -93863,11 +93767,10 @@ public Builder setTsurgeon(
          */
         public Builder addTsurgeon(
             java.lang.String value) {
-          if (value == null) {
-    throw new NullPointerException();
-  }
-  ensureTsurgeonIsMutable();
+          if (value == null) { throw new NullPointerException(); }
+          ensureTsurgeonIsMutable();
           tsurgeon_.add(value);
+          bitField0_ |= 0x00000002;
           onChanged();
           return this;
         }
@@ -93881,6 +93784,7 @@ public Builder addAllTsurgeon(
           ensureTsurgeonIsMutable();
           com.google.protobuf.AbstractMessageLite.Builder.addAll(
               values, tsurgeon_);
+          bitField0_ |= 0x00000002;
           onChanged();
           return this;
         }
@@ -93889,8 +93793,9 @@ public Builder addAllTsurgeon(
          * @return This builder for chaining.
          */
         public Builder clearTsurgeon() {
-          tsurgeon_ = com.google.protobuf.LazyStringArrayList.EMPTY;
-          bitField0_ = (bitField0_ & ~0x00000002);
+          tsurgeon_ =
+            com.google.protobuf.LazyStringArrayList.emptyList();
+          bitField0_ = (bitField0_ & ~0x00000002);;
           onChanged();
           return this;
         }
@@ -93901,11 +93806,10 @@ public Builder clearTsurgeon() {
          */
         public Builder addTsurgeonBytes(
             com.google.protobuf.ByteString value) {
-          if (value == null) {
-    throw new NullPointerException();
-  }
-  ensureTsurgeonIsMutable();
+          if (value == null) { throw new NullPointerException(); }
+          ensureTsurgeonIsMutable();
           tsurgeon_.add(value);
+          bitField0_ |= 0x00000002;
           onChanged();
           return this;
         }
@@ -93974,6 +93878,7 @@ public edu.stanford.nlp.pipeline.CoreNLPProtos.TsurgeonRequest.Operation getDefa
     }
 
     public static final int OPERATIONS_FIELD_NUMBER = 1;
+    @SuppressWarnings("serial")
     private java.util.List operations_;
     /**
      * repeated .edu.stanford.nlp.pipeline.TsurgeonRequest.Operation operations = 1;
@@ -94014,6 +93919,7 @@ public edu.stanford.nlp.pipeline.CoreNLPProtos.TsurgeonRequest.OperationOrBuilde
     }
 
     public static final int TREES_FIELD_NUMBER = 2;
+    @SuppressWarnings("serial")
     private java.util.List trees_;
     /**
      * repeated .edu.stanford.nlp.pipeline.FlattenedParseTree trees = 2;
@@ -94183,11 +94089,13 @@ public static edu.stanford.nlp.pipeline.CoreNLPProtos.TsurgeonRequest parseFrom(
       return com.google.protobuf.GeneratedMessageV3
           .parseWithIOException(PARSER, input, extensionRegistry);
     }
+
     public static edu.stanford.nlp.pipeline.CoreNLPProtos.TsurgeonRequest parseDelimitedFrom(java.io.InputStream input)
         throws java.io.IOException {
       return com.google.protobuf.GeneratedMessageV3
           .parseDelimitedWithIOException(PARSER, input);
     }
+
     public static edu.stanford.nlp.pipeline.CoreNLPProtos.TsurgeonRequest parseDelimitedFrom(
         java.io.InputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -94266,6 +94174,7 @@ private Builder(
       @java.lang.Override
       public Builder clear() {
         super.clear();
+        bitField0_ = 0;
         if (operationsBuilder_ == null) {
           operations_ = java.util.Collections.emptyList();
         } else {
@@ -94306,7 +94215,13 @@ public edu.stanford.nlp.pipeline.CoreNLPProtos.TsurgeonRequest build() {
       @java.lang.Override
       public edu.stanford.nlp.pipeline.CoreNLPProtos.TsurgeonRequest buildPartial() {
         edu.stanford.nlp.pipeline.CoreNLPProtos.TsurgeonRequest result = new edu.stanford.nlp.pipeline.CoreNLPProtos.TsurgeonRequest(this);
-        int from_bitField0_ = bitField0_;
+        buildPartialRepeatedFields(result);
+        if (bitField0_ != 0) { buildPartial0(result); }
+        onBuilt();
+        return result;
+      }
+
+      private void buildPartialRepeatedFields(edu.stanford.nlp.pipeline.CoreNLPProtos.TsurgeonRequest result) {
         if (operationsBuilder_ == null) {
           if (((bitField0_ & 0x00000001) != 0)) {
             operations_ = java.util.Collections.unmodifiableList(operations_);
@@ -94325,8 +94240,10 @@ public edu.stanford.nlp.pipeline.CoreNLPProtos.TsurgeonRequest buildPartial() {
         } else {
           result.trees_ = treesBuilder_.build();
         }
-        onBuilt();
-        return result;
+      }
+
+      private void buildPartial0(edu.stanford.nlp.pipeline.CoreNLPProtos.TsurgeonRequest result) {
+        int from_bitField0_ = bitField0_;
       }
 
       @java.lang.Override
@@ -95097,11 +95014,6 @@ protected java.lang.Object newInstance(
       return new TsurgeonResponse();
     }
 
-    @java.lang.Override
-    public final com.google.protobuf.UnknownFieldSet
-    getUnknownFields() {
-      return this.unknownFields;
-    }
     public static final com.google.protobuf.Descriptors.Descriptor
         getDescriptor() {
       return edu.stanford.nlp.pipeline.CoreNLPProtos.internal_static_edu_stanford_nlp_pipeline_TsurgeonResponse_descriptor;
@@ -95116,6 +95028,7 @@ protected java.lang.Object newInstance(
     }
 
     public static final int TREES_FIELD_NUMBER = 1;
+    @SuppressWarnings("serial")
     private java.util.List trees_;
     /**
      * repeated .edu.stanford.nlp.pipeline.FlattenedParseTree trees = 1;
@@ -95266,11 +95179,13 @@ public static edu.stanford.nlp.pipeline.CoreNLPProtos.TsurgeonResponse parseFrom
       return com.google.protobuf.GeneratedMessageV3
           .parseWithIOException(PARSER, input, extensionRegistry);
     }
+
     public static edu.stanford.nlp.pipeline.CoreNLPProtos.TsurgeonResponse parseDelimitedFrom(java.io.InputStream input)
         throws java.io.IOException {
       return com.google.protobuf.GeneratedMessageV3
           .parseDelimitedWithIOException(PARSER, input);
     }
+
     public static edu.stanford.nlp.pipeline.CoreNLPProtos.TsurgeonResponse parseDelimitedFrom(
         java.io.InputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -95349,6 +95264,7 @@ private Builder(
       @java.lang.Override
       public Builder clear() {
         super.clear();
+        bitField0_ = 0;
         if (treesBuilder_ == null) {
           trees_ = java.util.Collections.emptyList();
         } else {
@@ -95382,7 +95298,13 @@ public edu.stanford.nlp.pipeline.CoreNLPProtos.TsurgeonResponse build() {
       @java.lang.Override
       public edu.stanford.nlp.pipeline.CoreNLPProtos.TsurgeonResponse buildPartial() {
         edu.stanford.nlp.pipeline.CoreNLPProtos.TsurgeonResponse result = new edu.stanford.nlp.pipeline.CoreNLPProtos.TsurgeonResponse(this);
-        int from_bitField0_ = bitField0_;
+        buildPartialRepeatedFields(result);
+        if (bitField0_ != 0) { buildPartial0(result); }
+        onBuilt();
+        return result;
+      }
+
+      private void buildPartialRepeatedFields(edu.stanford.nlp.pipeline.CoreNLPProtos.TsurgeonResponse result) {
         if (treesBuilder_ == null) {
           if (((bitField0_ & 0x00000001) != 0)) {
             trees_ = java.util.Collections.unmodifiableList(trees_);
@@ -95392,8 +95314,10 @@ public edu.stanford.nlp.pipeline.CoreNLPProtos.TsurgeonResponse buildPartial() {
         } else {
           result.trees_ = treesBuilder_.build();
         }
-        onBuilt();
-        return result;
+      }
+
+      private void buildPartial0(edu.stanford.nlp.pipeline.CoreNLPProtos.TsurgeonResponse result) {
+        int from_bitField0_ = bitField0_;
       }
 
       @java.lang.Override
@@ -95880,11 +95804,6 @@ protected java.lang.Object newInstance(
       return new MorphologyRequest();
     }
 
-    @java.lang.Override
-    public final com.google.protobuf.UnknownFieldSet
-    getUnknownFields() {
-      return this.unknownFields;
-    }
     public static final com.google.protobuf.Descriptors.Descriptor
         getDescriptor() {
       return edu.stanford.nlp.pipeline.CoreNLPProtos.internal_static_edu_stanford_nlp_pipeline_MorphologyRequest_descriptor;
@@ -95960,11 +95879,6 @@ protected java.lang.Object newInstance(
         return new TaggedWord();
       }
 
-      @java.lang.Override
-      public final com.google.protobuf.UnknownFieldSet
-      getUnknownFields() {
-        return this.unknownFields;
-      }
       public static final com.google.protobuf.Descriptors.Descriptor
           getDescriptor() {
         return edu.stanford.nlp.pipeline.CoreNLPProtos.internal_static_edu_stanford_nlp_pipeline_MorphologyRequest_TaggedWord_descriptor;
@@ -95980,7 +95894,8 @@ protected java.lang.Object newInstance(
 
       private int bitField0_;
       public static final int WORD_FIELD_NUMBER = 1;
-      private volatile java.lang.Object word_;
+      @SuppressWarnings("serial")
+      private volatile java.lang.Object word_ = "";
       /**
        * required string word = 1;
        * @return Whether the word field is set.
@@ -96028,7 +95943,8 @@ public java.lang.String getWord() {
       }
 
       public static final int XPOS_FIELD_NUMBER = 2;
-      private volatile java.lang.Object xpos_;
+      @SuppressWarnings("serial")
+      private volatile java.lang.Object xpos_ = "";
       /**
        * optional string xpos = 2;
        * @return Whether the xpos field is set.
@@ -96207,11 +96123,13 @@ public static edu.stanford.nlp.pipeline.CoreNLPProtos.MorphologyRequest.TaggedWo
         return com.google.protobuf.GeneratedMessageV3
             .parseWithIOException(PARSER, input, extensionRegistry);
       }
+
       public static edu.stanford.nlp.pipeline.CoreNLPProtos.MorphologyRequest.TaggedWord parseDelimitedFrom(java.io.InputStream input)
           throws java.io.IOException {
         return com.google.protobuf.GeneratedMessageV3
             .parseDelimitedWithIOException(PARSER, input);
       }
+
       public static edu.stanford.nlp.pipeline.CoreNLPProtos.MorphologyRequest.TaggedWord parseDelimitedFrom(
           java.io.InputStream input,
           com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -96286,10 +96204,9 @@ private Builder(
         @java.lang.Override
         public Builder clear() {
           super.clear();
+          bitField0_ = 0;
           word_ = "";
-          bitField0_ = (bitField0_ & ~0x00000001);
           xpos_ = "";
-          bitField0_ = (bitField0_ & ~0x00000002);
           return this;
         }
 
@@ -96316,19 +96233,23 @@ public edu.stanford.nlp.pipeline.CoreNLPProtos.MorphologyRequest.TaggedWord buil
         @java.lang.Override
         public edu.stanford.nlp.pipeline.CoreNLPProtos.MorphologyRequest.TaggedWord buildPartial() {
           edu.stanford.nlp.pipeline.CoreNLPProtos.MorphologyRequest.TaggedWord result = new edu.stanford.nlp.pipeline.CoreNLPProtos.MorphologyRequest.TaggedWord(this);
+          if (bitField0_ != 0) { buildPartial0(result); }
+          onBuilt();
+          return result;
+        }
+
+        private void buildPartial0(edu.stanford.nlp.pipeline.CoreNLPProtos.MorphologyRequest.TaggedWord result) {
           int from_bitField0_ = bitField0_;
           int to_bitField0_ = 0;
           if (((from_bitField0_ & 0x00000001) != 0)) {
+            result.word_ = word_;
             to_bitField0_ |= 0x00000001;
           }
-          result.word_ = word_;
           if (((from_bitField0_ & 0x00000002) != 0)) {
+            result.xpos_ = xpos_;
             to_bitField0_ |= 0x00000002;
           }
-          result.xpos_ = xpos_;
-          result.bitField0_ = to_bitField0_;
-          onBuilt();
-          return result;
+          result.bitField0_ |= to_bitField0_;
         }
 
         @java.lang.Override
@@ -96376,13 +96297,13 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
         public Builder mergeFrom(edu.stanford.nlp.pipeline.CoreNLPProtos.MorphologyRequest.TaggedWord other) {
           if (other == edu.stanford.nlp.pipeline.CoreNLPProtos.MorphologyRequest.TaggedWord.getDefaultInstance()) return this;
           if (other.hasWord()) {
-            bitField0_ |= 0x00000001;
             word_ = other.word_;
+            bitField0_ |= 0x00000001;
             onChanged();
           }
           if (other.hasXpos()) {
-            bitField0_ |= 0x00000002;
             xpos_ = other.xpos_;
+            bitField0_ |= 0x00000002;
             onChanged();
           }
           this.mergeUnknownFields(other.getUnknownFields());
@@ -96491,11 +96412,9 @@ public java.lang.String getWord() {
          */
         public Builder setWord(
             java.lang.String value) {
-          if (value == null) {
-    throw new NullPointerException();
-  }
-  bitField0_ |= 0x00000001;
+          if (value == null) { throw new NullPointerException(); }
           word_ = value;
+          bitField0_ |= 0x00000001;
           onChanged();
           return this;
         }
@@ -96504,8 +96423,8 @@ public Builder setWord(
          * @return This builder for chaining.
          */
         public Builder clearWord() {
-          bitField0_ = (bitField0_ & ~0x00000001);
           word_ = getDefaultInstance().getWord();
+          bitField0_ = (bitField0_ & ~0x00000001);
           onChanged();
           return this;
         }
@@ -96516,11 +96435,9 @@ public Builder clearWord() {
          */
         public Builder setWordBytes(
             com.google.protobuf.ByteString value) {
-          if (value == null) {
-    throw new NullPointerException();
-  }
-  bitField0_ |= 0x00000001;
+          if (value == null) { throw new NullPointerException(); }
           word_ = value;
+          bitField0_ |= 0x00000001;
           onChanged();
           return this;
         }
@@ -96575,11 +96492,9 @@ public java.lang.String getXpos() {
          */
         public Builder setXpos(
             java.lang.String value) {
-          if (value == null) {
-    throw new NullPointerException();
-  }
-  bitField0_ |= 0x00000002;
+          if (value == null) { throw new NullPointerException(); }
           xpos_ = value;
+          bitField0_ |= 0x00000002;
           onChanged();
           return this;
         }
@@ -96588,8 +96503,8 @@ public Builder setXpos(
          * @return This builder for chaining.
          */
         public Builder clearXpos() {
-          bitField0_ = (bitField0_ & ~0x00000002);
           xpos_ = getDefaultInstance().getXpos();
+          bitField0_ = (bitField0_ & ~0x00000002);
           onChanged();
           return this;
         }
@@ -96600,11 +96515,9 @@ public Builder clearXpos() {
          */
         public Builder setXposBytes(
             com.google.protobuf.ByteString value) {
-          if (value == null) {
-    throw new NullPointerException();
-  }
-  bitField0_ |= 0x00000002;
+          if (value == null) { throw new NullPointerException(); }
           xpos_ = value;
+          bitField0_ |= 0x00000002;
           onChanged();
           return this;
         }
@@ -96673,6 +96586,7 @@ public edu.stanford.nlp.pipeline.CoreNLPProtos.MorphologyRequest.TaggedWord getD
     }
 
     public static final int WORDS_FIELD_NUMBER = 1;
+    @SuppressWarnings("serial")
     private java.util.List words_;
     /**
      * repeated .edu.stanford.nlp.pipeline.MorphologyRequest.TaggedWord words = 1;
@@ -96829,11 +96743,13 @@ public static edu.stanford.nlp.pipeline.CoreNLPProtos.MorphologyRequest parseFro
       return com.google.protobuf.GeneratedMessageV3
           .parseWithIOException(PARSER, input, extensionRegistry);
     }
+
     public static edu.stanford.nlp.pipeline.CoreNLPProtos.MorphologyRequest parseDelimitedFrom(java.io.InputStream input)
         throws java.io.IOException {
       return com.google.protobuf.GeneratedMessageV3
           .parseDelimitedWithIOException(PARSER, input);
     }
+
     public static edu.stanford.nlp.pipeline.CoreNLPProtos.MorphologyRequest parseDelimitedFrom(
         java.io.InputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -96912,6 +96828,7 @@ private Builder(
       @java.lang.Override
       public Builder clear() {
         super.clear();
+        bitField0_ = 0;
         if (wordsBuilder_ == null) {
           words_ = java.util.Collections.emptyList();
         } else {
@@ -96945,7 +96862,13 @@ public edu.stanford.nlp.pipeline.CoreNLPProtos.MorphologyRequest build() {
       @java.lang.Override
       public edu.stanford.nlp.pipeline.CoreNLPProtos.MorphologyRequest buildPartial() {
         edu.stanford.nlp.pipeline.CoreNLPProtos.MorphologyRequest result = new edu.stanford.nlp.pipeline.CoreNLPProtos.MorphologyRequest(this);
-        int from_bitField0_ = bitField0_;
+        buildPartialRepeatedFields(result);
+        if (bitField0_ != 0) { buildPartial0(result); }
+        onBuilt();
+        return result;
+      }
+
+      private void buildPartialRepeatedFields(edu.stanford.nlp.pipeline.CoreNLPProtos.MorphologyRequest result) {
         if (wordsBuilder_ == null) {
           if (((bitField0_ & 0x00000001) != 0)) {
             words_ = java.util.Collections.unmodifiableList(words_);
@@ -96955,8 +96878,10 @@ public edu.stanford.nlp.pipeline.CoreNLPProtos.MorphologyRequest buildPartial()
         } else {
           result.words_ = wordsBuilder_.build();
         }
-        onBuilt();
-        return result;
+      }
+
+      private void buildPartial0(edu.stanford.nlp.pipeline.CoreNLPProtos.MorphologyRequest result) {
+        int from_bitField0_ = bitField0_;
       }
 
       @java.lang.Override
@@ -97448,11 +97373,6 @@ protected java.lang.Object newInstance(
       return new MorphologyResponse();
     }
 
-    @java.lang.Override
-    public final com.google.protobuf.UnknownFieldSet
-    getUnknownFields() {
-      return this.unknownFields;
-    }
     public static final com.google.protobuf.Descriptors.Descriptor
         getDescriptor() {
       return edu.stanford.nlp.pipeline.CoreNLPProtos.internal_static_edu_stanford_nlp_pipeline_MorphologyResponse_descriptor;
@@ -97546,11 +97466,6 @@ protected java.lang.Object newInstance(
         return new WordTagLemma();
       }
 
-      @java.lang.Override
-      public final com.google.protobuf.UnknownFieldSet
-      getUnknownFields() {
-        return this.unknownFields;
-      }
       public static final com.google.protobuf.Descriptors.Descriptor
           getDescriptor() {
         return edu.stanford.nlp.pipeline.CoreNLPProtos.internal_static_edu_stanford_nlp_pipeline_MorphologyResponse_WordTagLemma_descriptor;
@@ -97566,7 +97481,8 @@ protected java.lang.Object newInstance(
 
       private int bitField0_;
       public static final int WORD_FIELD_NUMBER = 1;
-      private volatile java.lang.Object word_;
+      @SuppressWarnings("serial")
+      private volatile java.lang.Object word_ = "";
       /**
        * required string word = 1;
        * @return Whether the word field is set.
@@ -97614,7 +97530,8 @@ public java.lang.String getWord() {
       }
 
       public static final int XPOS_FIELD_NUMBER = 2;
-      private volatile java.lang.Object xpos_;
+      @SuppressWarnings("serial")
+      private volatile java.lang.Object xpos_ = "";
       /**
        * optional string xpos = 2;
        * @return Whether the xpos field is set.
@@ -97662,7 +97579,8 @@ public java.lang.String getXpos() {
       }
 
       public static final int LEMMA_FIELD_NUMBER = 3;
-      private volatile java.lang.Object lemma_;
+      @SuppressWarnings("serial")
+      private volatile java.lang.Object lemma_ = "";
       /**
        * required string lemma = 3;
        * @return Whether the lemma field is set.
@@ -97860,11 +97778,13 @@ public static edu.stanford.nlp.pipeline.CoreNLPProtos.MorphologyResponse.WordTag
         return com.google.protobuf.GeneratedMessageV3
             .parseWithIOException(PARSER, input, extensionRegistry);
       }
+
       public static edu.stanford.nlp.pipeline.CoreNLPProtos.MorphologyResponse.WordTagLemma parseDelimitedFrom(java.io.InputStream input)
           throws java.io.IOException {
         return com.google.protobuf.GeneratedMessageV3
             .parseDelimitedWithIOException(PARSER, input);
       }
+
       public static edu.stanford.nlp.pipeline.CoreNLPProtos.MorphologyResponse.WordTagLemma parseDelimitedFrom(
           java.io.InputStream input,
           com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -97939,12 +97859,10 @@ private Builder(
         @java.lang.Override
         public Builder clear() {
           super.clear();
+          bitField0_ = 0;
           word_ = "";
-          bitField0_ = (bitField0_ & ~0x00000001);
           xpos_ = "";
-          bitField0_ = (bitField0_ & ~0x00000002);
           lemma_ = "";
-          bitField0_ = (bitField0_ & ~0x00000004);
           return this;
         }
 
@@ -97971,23 +97889,27 @@ public edu.stanford.nlp.pipeline.CoreNLPProtos.MorphologyResponse.WordTagLemma b
         @java.lang.Override
         public edu.stanford.nlp.pipeline.CoreNLPProtos.MorphologyResponse.WordTagLemma buildPartial() {
           edu.stanford.nlp.pipeline.CoreNLPProtos.MorphologyResponse.WordTagLemma result = new edu.stanford.nlp.pipeline.CoreNLPProtos.MorphologyResponse.WordTagLemma(this);
+          if (bitField0_ != 0) { buildPartial0(result); }
+          onBuilt();
+          return result;
+        }
+
+        private void buildPartial0(edu.stanford.nlp.pipeline.CoreNLPProtos.MorphologyResponse.WordTagLemma result) {
           int from_bitField0_ = bitField0_;
           int to_bitField0_ = 0;
           if (((from_bitField0_ & 0x00000001) != 0)) {
+            result.word_ = word_;
             to_bitField0_ |= 0x00000001;
           }
-          result.word_ = word_;
           if (((from_bitField0_ & 0x00000002) != 0)) {
+            result.xpos_ = xpos_;
             to_bitField0_ |= 0x00000002;
           }
-          result.xpos_ = xpos_;
           if (((from_bitField0_ & 0x00000004) != 0)) {
+            result.lemma_ = lemma_;
             to_bitField0_ |= 0x00000004;
           }
-          result.lemma_ = lemma_;
-          result.bitField0_ = to_bitField0_;
-          onBuilt();
-          return result;
+          result.bitField0_ |= to_bitField0_;
         }
 
         @java.lang.Override
@@ -98035,18 +97957,18 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
         public Builder mergeFrom(edu.stanford.nlp.pipeline.CoreNLPProtos.MorphologyResponse.WordTagLemma other) {
           if (other == edu.stanford.nlp.pipeline.CoreNLPProtos.MorphologyResponse.WordTagLemma.getDefaultInstance()) return this;
           if (other.hasWord()) {
-            bitField0_ |= 0x00000001;
             word_ = other.word_;
+            bitField0_ |= 0x00000001;
             onChanged();
           }
           if (other.hasXpos()) {
-            bitField0_ |= 0x00000002;
             xpos_ = other.xpos_;
+            bitField0_ |= 0x00000002;
             onChanged();
           }
           if (other.hasLemma()) {
-            bitField0_ |= 0x00000004;
             lemma_ = other.lemma_;
+            bitField0_ |= 0x00000004;
             onChanged();
           }
           this.mergeUnknownFields(other.getUnknownFields());
@@ -98163,11 +98085,9 @@ public java.lang.String getWord() {
          */
         public Builder setWord(
             java.lang.String value) {
-          if (value == null) {
-    throw new NullPointerException();
-  }
-  bitField0_ |= 0x00000001;
+          if (value == null) { throw new NullPointerException(); }
           word_ = value;
+          bitField0_ |= 0x00000001;
           onChanged();
           return this;
         }
@@ -98176,8 +98096,8 @@ public Builder setWord(
          * @return This builder for chaining.
          */
         public Builder clearWord() {
-          bitField0_ = (bitField0_ & ~0x00000001);
           word_ = getDefaultInstance().getWord();
+          bitField0_ = (bitField0_ & ~0x00000001);
           onChanged();
           return this;
         }
@@ -98188,11 +98108,9 @@ public Builder clearWord() {
          */
         public Builder setWordBytes(
             com.google.protobuf.ByteString value) {
-          if (value == null) {
-    throw new NullPointerException();
-  }
-  bitField0_ |= 0x00000001;
+          if (value == null) { throw new NullPointerException(); }
           word_ = value;
+          bitField0_ |= 0x00000001;
           onChanged();
           return this;
         }
@@ -98247,11 +98165,9 @@ public java.lang.String getXpos() {
          */
         public Builder setXpos(
             java.lang.String value) {
-          if (value == null) {
-    throw new NullPointerException();
-  }
-  bitField0_ |= 0x00000002;
+          if (value == null) { throw new NullPointerException(); }
           xpos_ = value;
+          bitField0_ |= 0x00000002;
           onChanged();
           return this;
         }
@@ -98260,8 +98176,8 @@ public Builder setXpos(
          * @return This builder for chaining.
          */
         public Builder clearXpos() {
-          bitField0_ = (bitField0_ & ~0x00000002);
           xpos_ = getDefaultInstance().getXpos();
+          bitField0_ = (bitField0_ & ~0x00000002);
           onChanged();
           return this;
         }
@@ -98272,11 +98188,9 @@ public Builder clearXpos() {
          */
         public Builder setXposBytes(
             com.google.protobuf.ByteString value) {
-          if (value == null) {
-    throw new NullPointerException();
-  }
-  bitField0_ |= 0x00000002;
+          if (value == null) { throw new NullPointerException(); }
           xpos_ = value;
+          bitField0_ |= 0x00000002;
           onChanged();
           return this;
         }
@@ -98331,11 +98245,9 @@ public java.lang.String getLemma() {
          */
         public Builder setLemma(
             java.lang.String value) {
-          if (value == null) {
-    throw new NullPointerException();
-  }
-  bitField0_ |= 0x00000004;
+          if (value == null) { throw new NullPointerException(); }
           lemma_ = value;
+          bitField0_ |= 0x00000004;
           onChanged();
           return this;
         }
@@ -98344,8 +98256,8 @@ public Builder setLemma(
          * @return This builder for chaining.
          */
         public Builder clearLemma() {
-          bitField0_ = (bitField0_ & ~0x00000004);
           lemma_ = getDefaultInstance().getLemma();
+          bitField0_ = (bitField0_ & ~0x00000004);
           onChanged();
           return this;
         }
@@ -98356,11 +98268,9 @@ public Builder clearLemma() {
          */
         public Builder setLemmaBytes(
             com.google.protobuf.ByteString value) {
-          if (value == null) {
-    throw new NullPointerException();
-  }
-  bitField0_ |= 0x00000004;
+          if (value == null) { throw new NullPointerException(); }
           lemma_ = value;
+          bitField0_ |= 0x00000004;
           onChanged();
           return this;
         }
@@ -98429,6 +98339,7 @@ public edu.stanford.nlp.pipeline.CoreNLPProtos.MorphologyResponse.WordTagLemma g
     }
 
     public static final int WORDS_FIELD_NUMBER = 1;
+    @SuppressWarnings("serial")
     private java.util.List words_;
     /**
      * repeated .edu.stanford.nlp.pipeline.MorphologyResponse.WordTagLemma words = 1;
@@ -98585,11 +98496,13 @@ public static edu.stanford.nlp.pipeline.CoreNLPProtos.MorphologyResponse parseFr
       return com.google.protobuf.GeneratedMessageV3
           .parseWithIOException(PARSER, input, extensionRegistry);
     }
+
     public static edu.stanford.nlp.pipeline.CoreNLPProtos.MorphologyResponse parseDelimitedFrom(java.io.InputStream input)
         throws java.io.IOException {
       return com.google.protobuf.GeneratedMessageV3
           .parseDelimitedWithIOException(PARSER, input);
     }
+
     public static edu.stanford.nlp.pipeline.CoreNLPProtos.MorphologyResponse parseDelimitedFrom(
         java.io.InputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -98668,6 +98581,7 @@ private Builder(
       @java.lang.Override
       public Builder clear() {
         super.clear();
+        bitField0_ = 0;
         if (wordsBuilder_ == null) {
           words_ = java.util.Collections.emptyList();
         } else {
@@ -98701,7 +98615,13 @@ public edu.stanford.nlp.pipeline.CoreNLPProtos.MorphologyResponse build() {
       @java.lang.Override
       public edu.stanford.nlp.pipeline.CoreNLPProtos.MorphologyResponse buildPartial() {
         edu.stanford.nlp.pipeline.CoreNLPProtos.MorphologyResponse result = new edu.stanford.nlp.pipeline.CoreNLPProtos.MorphologyResponse(this);
-        int from_bitField0_ = bitField0_;
+        buildPartialRepeatedFields(result);
+        if (bitField0_ != 0) { buildPartial0(result); }
+        onBuilt();
+        return result;
+      }
+
+      private void buildPartialRepeatedFields(edu.stanford.nlp.pipeline.CoreNLPProtos.MorphologyResponse result) {
         if (wordsBuilder_ == null) {
           if (((bitField0_ & 0x00000001) != 0)) {
             words_ = java.util.Collections.unmodifiableList(words_);
@@ -98711,8 +98631,10 @@ public edu.stanford.nlp.pipeline.CoreNLPProtos.MorphologyResponse buildPartial()
         } else {
           result.words_ = wordsBuilder_.build();
         }
-        onBuilt();
-        return result;
+      }
+
+      private void buildPartial0(edu.stanford.nlp.pipeline.CoreNLPProtos.MorphologyResponse result) {
+        int from_bitField0_ = bitField0_;
       }
 
       @java.lang.Override
@@ -99204,11 +99126,6 @@ protected java.lang.Object newInstance(
       return new DependencyConverterRequest();
     }
 
-    @java.lang.Override
-    public final com.google.protobuf.UnknownFieldSet
-    getUnknownFields() {
-      return this.unknownFields;
-    }
     public static final com.google.protobuf.Descriptors.Descriptor
         getDescriptor() {
       return edu.stanford.nlp.pipeline.CoreNLPProtos.internal_static_edu_stanford_nlp_pipeline_DependencyConverterRequest_descriptor;
@@ -99223,6 +99140,7 @@ protected java.lang.Object newInstance(
     }
 
     public static final int TREES_FIELD_NUMBER = 1;
+    @SuppressWarnings("serial")
     private java.util.List trees_;
     /**
      * repeated .edu.stanford.nlp.pipeline.FlattenedParseTree trees = 1;
@@ -99373,11 +99291,13 @@ public static edu.stanford.nlp.pipeline.CoreNLPProtos.DependencyConverterRequest
       return com.google.protobuf.GeneratedMessageV3
           .parseWithIOException(PARSER, input, extensionRegistry);
     }
+
     public static edu.stanford.nlp.pipeline.CoreNLPProtos.DependencyConverterRequest parseDelimitedFrom(java.io.InputStream input)
         throws java.io.IOException {
       return com.google.protobuf.GeneratedMessageV3
           .parseDelimitedWithIOException(PARSER, input);
     }
+
     public static edu.stanford.nlp.pipeline.CoreNLPProtos.DependencyConverterRequest parseDelimitedFrom(
         java.io.InputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -99456,6 +99376,7 @@ private Builder(
       @java.lang.Override
       public Builder clear() {
         super.clear();
+        bitField0_ = 0;
         if (treesBuilder_ == null) {
           trees_ = java.util.Collections.emptyList();
         } else {
@@ -99489,7 +99410,13 @@ public edu.stanford.nlp.pipeline.CoreNLPProtos.DependencyConverterRequest build(
       @java.lang.Override
       public edu.stanford.nlp.pipeline.CoreNLPProtos.DependencyConverterRequest buildPartial() {
         edu.stanford.nlp.pipeline.CoreNLPProtos.DependencyConverterRequest result = new edu.stanford.nlp.pipeline.CoreNLPProtos.DependencyConverterRequest(this);
-        int from_bitField0_ = bitField0_;
+        buildPartialRepeatedFields(result);
+        if (bitField0_ != 0) { buildPartial0(result); }
+        onBuilt();
+        return result;
+      }
+
+      private void buildPartialRepeatedFields(edu.stanford.nlp.pipeline.CoreNLPProtos.DependencyConverterRequest result) {
         if (treesBuilder_ == null) {
           if (((bitField0_ & 0x00000001) != 0)) {
             trees_ = java.util.Collections.unmodifiableList(trees_);
@@ -99499,8 +99426,10 @@ public edu.stanford.nlp.pipeline.CoreNLPProtos.DependencyConverterRequest buildP
         } else {
           result.trees_ = treesBuilder_.build();
         }
-        onBuilt();
-        return result;
+      }
+
+      private void buildPartial0(edu.stanford.nlp.pipeline.CoreNLPProtos.DependencyConverterRequest result) {
+        int from_bitField0_ = bitField0_;
       }
 
       @java.lang.Override
@@ -99988,11 +99917,6 @@ protected java.lang.Object newInstance(
       return new DependencyConverterResponse();
     }
 
-    @java.lang.Override
-    public final com.google.protobuf.UnknownFieldSet
-    getUnknownFields() {
-      return this.unknownFields;
-    }
     public static final com.google.protobuf.Descriptors.Descriptor
         getDescriptor() {
       return edu.stanford.nlp.pipeline.CoreNLPProtos.internal_static_edu_stanford_nlp_pipeline_DependencyConverterResponse_descriptor;
@@ -100062,11 +99986,6 @@ protected java.lang.Object newInstance(
         return new DependencyConversion();
       }
 
-      @java.lang.Override
-      public final com.google.protobuf.UnknownFieldSet
-      getUnknownFields() {
-        return this.unknownFields;
-      }
       public static final com.google.protobuf.Descriptors.Descriptor
           getDescriptor() {
         return edu.stanford.nlp.pipeline.CoreNLPProtos.internal_static_edu_stanford_nlp_pipeline_DependencyConverterResponse_DependencyConversion_descriptor;
@@ -100271,11 +100190,13 @@ public static edu.stanford.nlp.pipeline.CoreNLPProtos.DependencyConverterRespons
         return com.google.protobuf.GeneratedMessageV3
             .parseWithIOException(PARSER, input, extensionRegistry);
       }
+
       public static edu.stanford.nlp.pipeline.CoreNLPProtos.DependencyConverterResponse.DependencyConversion parseDelimitedFrom(java.io.InputStream input)
           throws java.io.IOException {
         return com.google.protobuf.GeneratedMessageV3
             .parseDelimitedWithIOException(PARSER, input);
       }
+
       public static edu.stanford.nlp.pipeline.CoreNLPProtos.DependencyConverterResponse.DependencyConversion parseDelimitedFrom(
           java.io.InputStream input,
           com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -100357,18 +100278,17 @@ private void maybeForceBuilderInitialization() {
         @java.lang.Override
         public Builder clear() {
           super.clear();
-          if (graphBuilder_ == null) {
-            graph_ = null;
-          } else {
-            graphBuilder_.clear();
+          bitField0_ = 0;
+          graph_ = null;
+          if (graphBuilder_ != null) {
+            graphBuilder_.dispose();
+            graphBuilder_ = null;
           }
-          bitField0_ = (bitField0_ & ~0x00000001);
-          if (treeBuilder_ == null) {
-            tree_ = null;
-          } else {
-            treeBuilder_.clear();
+          tree_ = null;
+          if (treeBuilder_ != null) {
+            treeBuilder_.dispose();
+            treeBuilder_ = null;
           }
-          bitField0_ = (bitField0_ & ~0x00000002);
           return this;
         }
 
@@ -100395,27 +100315,27 @@ public edu.stanford.nlp.pipeline.CoreNLPProtos.DependencyConverterResponse.Depen
         @java.lang.Override
         public edu.stanford.nlp.pipeline.CoreNLPProtos.DependencyConverterResponse.DependencyConversion buildPartial() {
           edu.stanford.nlp.pipeline.CoreNLPProtos.DependencyConverterResponse.DependencyConversion result = new edu.stanford.nlp.pipeline.CoreNLPProtos.DependencyConverterResponse.DependencyConversion(this);
+          if (bitField0_ != 0) { buildPartial0(result); }
+          onBuilt();
+          return result;
+        }
+
+        private void buildPartial0(edu.stanford.nlp.pipeline.CoreNLPProtos.DependencyConverterResponse.DependencyConversion result) {
           int from_bitField0_ = bitField0_;
           int to_bitField0_ = 0;
           if (((from_bitField0_ & 0x00000001) != 0)) {
-            if (graphBuilder_ == null) {
-              result.graph_ = graph_;
-            } else {
-              result.graph_ = graphBuilder_.build();
-            }
+            result.graph_ = graphBuilder_ == null
+                ? graph_
+                : graphBuilder_.build();
             to_bitField0_ |= 0x00000001;
           }
           if (((from_bitField0_ & 0x00000002) != 0)) {
-            if (treeBuilder_ == null) {
-              result.tree_ = tree_;
-            } else {
-              result.tree_ = treeBuilder_.build();
-            }
+            result.tree_ = treeBuilder_ == null
+                ? tree_
+                : treeBuilder_.build();
             to_bitField0_ |= 0x00000002;
           }
-          result.bitField0_ = to_bitField0_;
-          onBuilt();
-          return result;
+          result.bitField0_ |= to_bitField0_;
         }
 
         @java.lang.Override
@@ -100561,11 +100481,11 @@ public Builder setGraph(edu.stanford.nlp.pipeline.CoreNLPProtos.DependencyGraph
               throw new NullPointerException();
             }
             graph_ = value;
-            onChanged();
           } else {
             graphBuilder_.setMessage(value);
           }
           bitField0_ |= 0x00000001;
+          onChanged();
           return this;
         }
         /**
@@ -100575,11 +100495,11 @@ public Builder setGraph(
             edu.stanford.nlp.pipeline.CoreNLPProtos.DependencyGraph.Builder builderForValue) {
           if (graphBuilder_ == null) {
             graph_ = builderForValue.build();
-            onChanged();
           } else {
             graphBuilder_.setMessage(builderForValue.build());
           }
           bitField0_ |= 0x00000001;
+          onChanged();
           return this;
         }
         /**
@@ -100588,31 +100508,32 @@ public Builder setGraph(
         public Builder mergeGraph(edu.stanford.nlp.pipeline.CoreNLPProtos.DependencyGraph value) {
           if (graphBuilder_ == null) {
             if (((bitField0_ & 0x00000001) != 0) &&
-                graph_ != null &&
-                graph_ != edu.stanford.nlp.pipeline.CoreNLPProtos.DependencyGraph.getDefaultInstance()) {
-              graph_ =
-                edu.stanford.nlp.pipeline.CoreNLPProtos.DependencyGraph.newBuilder(graph_).mergeFrom(value).buildPartial();
+              graph_ != null &&
+              graph_ != edu.stanford.nlp.pipeline.CoreNLPProtos.DependencyGraph.getDefaultInstance()) {
+              getGraphBuilder().mergeFrom(value);
             } else {
               graph_ = value;
             }
-            onChanged();
           } else {
             graphBuilder_.mergeFrom(value);
           }
-          bitField0_ |= 0x00000001;
+          if (graph_ != null) {
+            bitField0_ |= 0x00000001;
+            onChanged();
+          }
           return this;
         }
         /**
          * required .edu.stanford.nlp.pipeline.DependencyGraph graph = 1;
          */
         public Builder clearGraph() {
-          if (graphBuilder_ == null) {
-            graph_ = null;
-            onChanged();
-          } else {
-            graphBuilder_.clear();
-          }
           bitField0_ = (bitField0_ & ~0x00000001);
+          graph_ = null;
+          if (graphBuilder_ != null) {
+            graphBuilder_.dispose();
+            graphBuilder_ = null;
+          }
+          onChanged();
           return this;
         }
         /**
@@ -100681,11 +100602,11 @@ public Builder setTree(edu.stanford.nlp.pipeline.CoreNLPProtos.FlattenedParseTre
               throw new NullPointerException();
             }
             tree_ = value;
-            onChanged();
           } else {
             treeBuilder_.setMessage(value);
           }
           bitField0_ |= 0x00000002;
+          onChanged();
           return this;
         }
         /**
@@ -100695,11 +100616,11 @@ public Builder setTree(
             edu.stanford.nlp.pipeline.CoreNLPProtos.FlattenedParseTree.Builder builderForValue) {
           if (treeBuilder_ == null) {
             tree_ = builderForValue.build();
-            onChanged();
           } else {
             treeBuilder_.setMessage(builderForValue.build());
           }
           bitField0_ |= 0x00000002;
+          onChanged();
           return this;
         }
         /**
@@ -100708,31 +100629,32 @@ public Builder setTree(
         public Builder mergeTree(edu.stanford.nlp.pipeline.CoreNLPProtos.FlattenedParseTree value) {
           if (treeBuilder_ == null) {
             if (((bitField0_ & 0x00000002) != 0) &&
-                tree_ != null &&
-                tree_ != edu.stanford.nlp.pipeline.CoreNLPProtos.FlattenedParseTree.getDefaultInstance()) {
-              tree_ =
-                edu.stanford.nlp.pipeline.CoreNLPProtos.FlattenedParseTree.newBuilder(tree_).mergeFrom(value).buildPartial();
+              tree_ != null &&
+              tree_ != edu.stanford.nlp.pipeline.CoreNLPProtos.FlattenedParseTree.getDefaultInstance()) {
+              getTreeBuilder().mergeFrom(value);
             } else {
               tree_ = value;
             }
-            onChanged();
           } else {
             treeBuilder_.mergeFrom(value);
           }
-          bitField0_ |= 0x00000002;
+          if (tree_ != null) {
+            bitField0_ |= 0x00000002;
+            onChanged();
+          }
           return this;
         }
         /**
          * optional .edu.stanford.nlp.pipeline.FlattenedParseTree tree = 2;
          */
         public Builder clearTree() {
-          if (treeBuilder_ == null) {
-            tree_ = null;
-            onChanged();
-          } else {
-            treeBuilder_.clear();
-          }
           bitField0_ = (bitField0_ & ~0x00000002);
+          tree_ = null;
+          if (treeBuilder_ != null) {
+            treeBuilder_.dispose();
+            treeBuilder_ = null;
+          }
+          onChanged();
           return this;
         }
         /**
@@ -100835,6 +100757,7 @@ public edu.stanford.nlp.pipeline.CoreNLPProtos.DependencyConverterResponse.Depen
     }
 
     public static final int CONVERSIONS_FIELD_NUMBER = 1;
+    @SuppressWarnings("serial")
     private java.util.List conversions_;
     /**
      * repeated .edu.stanford.nlp.pipeline.DependencyConverterResponse.DependencyConversion conversions = 1;
@@ -100991,11 +100914,13 @@ public static edu.stanford.nlp.pipeline.CoreNLPProtos.DependencyConverterRespons
       return com.google.protobuf.GeneratedMessageV3
           .parseWithIOException(PARSER, input, extensionRegistry);
     }
+
     public static edu.stanford.nlp.pipeline.CoreNLPProtos.DependencyConverterResponse parseDelimitedFrom(java.io.InputStream input)
         throws java.io.IOException {
       return com.google.protobuf.GeneratedMessageV3
           .parseDelimitedWithIOException(PARSER, input);
     }
+
     public static edu.stanford.nlp.pipeline.CoreNLPProtos.DependencyConverterResponse parseDelimitedFrom(
         java.io.InputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -101075,6 +101000,7 @@ private Builder(
       @java.lang.Override
       public Builder clear() {
         super.clear();
+        bitField0_ = 0;
         if (conversionsBuilder_ == null) {
           conversions_ = java.util.Collections.emptyList();
         } else {
@@ -101108,7 +101034,13 @@ public edu.stanford.nlp.pipeline.CoreNLPProtos.DependencyConverterResponse build
       @java.lang.Override
       public edu.stanford.nlp.pipeline.CoreNLPProtos.DependencyConverterResponse buildPartial() {
         edu.stanford.nlp.pipeline.CoreNLPProtos.DependencyConverterResponse result = new edu.stanford.nlp.pipeline.CoreNLPProtos.DependencyConverterResponse(this);
-        int from_bitField0_ = bitField0_;
+        buildPartialRepeatedFields(result);
+        if (bitField0_ != 0) { buildPartial0(result); }
+        onBuilt();
+        return result;
+      }
+
+      private void buildPartialRepeatedFields(edu.stanford.nlp.pipeline.CoreNLPProtos.DependencyConverterResponse result) {
         if (conversionsBuilder_ == null) {
           if (((bitField0_ & 0x00000001) != 0)) {
             conversions_ = java.util.Collections.unmodifiableList(conversions_);
@@ -101118,8 +101050,10 @@ public edu.stanford.nlp.pipeline.CoreNLPProtos.DependencyConverterResponse build
         } else {
           result.conversions_ = conversionsBuilder_.build();
         }
-        onBuilt();
-        return result;
+      }
+
+      private void buildPartial0(edu.stanford.nlp.pipeline.CoreNLPProtos.DependencyConverterResponse result) {
+        int from_bitField0_ = bitField0_;
       }
 
       @java.lang.Override