public Builder mergeCorpus(com.google.cloud.visionai.v1.Corpus value) {
      if (corpusBuilder_ == null) {
        if (((bitField0_ & 0x00000001) != 0)
            && corpus_ != null
            && corpus_ != com.google.cloud.visionai.v1.Corpus.getDefaultInstance()) {
          getCorpusBuilder().mergeFrom(value);
        } else {
          corpus_ = value;
        }
      } else {
        corpusBuilder_.mergeFrom(value);
      }
      if (corpus_ != null) {
        bitField0_ |= 0x00000001;
        onChanged();
      }
      return this;
    }
<pre>
Required. The corpus which replaces the resource on the server.
</pre>

<code>.google.cloud.visionai.v1.Corpus corpus = 1 [(.google.api.field_behavior) = REQUIRED];
</code>
java-visionai/proto-google-cloud-visionai-v1/src/main/java/com/google/cloud/visionai/v1/UpdateCorpusRequest.java