@java.lang.Override
  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
    if (state_ != com.google.cloud.visionai.v1.IndexingStatus.State.STATE_UNSPECIFIED.getNumber()) {
      output.writeEnum(2, state_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(statusMessage_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 3, statusMessage_);
    }
    getUnknownFields().writeTo(output);
  }
<pre>
Detailed message describing the state.
</pre>

<code>string status_message = 3;</code>

@return The bytes for statusMessage.
java-visionai/proto-google-cloud-visionai-v1/src/main/java/com/google/cloud/visionai/v1/IndexingStatus.java