@java.lang.Override
  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_);
    }
    if (((bitField0_ & 0x00000001) != 0)) {
      output.writeMessage(2, getCreateTime());
    }
    if (((bitField0_ & 0x00000002) != 0)) {
      output.writeMessage(3, getUpdateTime());
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(analysis_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 4, analysis_);
    }
    for (int i = 0; i < attributeOverrides_.size(); i++) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 5, attributeOverrides_.getRaw(i));
    }
    if (((bitField0_ & 0x00000004) != 0)) {
      output.writeMessage(6, getRunStatus());
    }
    if (runMode_ != com.google.cloud.visionai.v1.RunMode.RUN_MODE_UNSPECIFIED.getNumber()) {
      output.writeEnum(7, runMode_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(eventId_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 8, eventId_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(batchId_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 9, batchId_);
    }
    if (retryCount_ != 0) {
      output.writeInt32(10, retryCount_);
    }
    getUnknownFields().writeTo(output);
  }
<pre>
Optional. Optional: The number of retries for a process in submission mode
the system should try before declaring failure. By default, no retry will
be performed.
</pre>

<code>int32 retry_count = 10 [(.google.api.field_behavior) = OPTIONAL];</code>

@return The retryCount.
java-visionai/proto-google-cloud-visionai-v1/src/main/java/com/google/cloud/visionai/v1/Process.java