@java.lang.Override
  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
    if (valueCase_ == 1) {
      output.writeInt64(1, (long) ((java.lang.Long) value_));
    }
    if (valueCase_ == 2) {
      output.writeFloat(2, (float) ((java.lang.Float) value_));
    }
    if (valueCase_ == 3) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 3, value_);
    }
    if (valueCase_ == 5) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 5, value_);
    }
    if (valueCase_ == 6) {
      output.writeMessage(6, (com.google.cloud.visionai.v1.AnnotationCustomizedStruct) value_);
    }
    if (valueCase_ == 7) {
      output.writeMessage(7, (com.google.cloud.visionai.v1.GeoCoordinate) value_);
    }
    if (valueCase_ == 8) {
      output.writeMessage(8, (com.google.protobuf.Any) value_);
    }
    if (valueCase_ == 9) {
      output.writeBool(9, (boolean) ((java.lang.Boolean) value_));
    }
    if (valueCase_ == 10) {
      output.writeMessage(10, (com.google.protobuf.Struct) value_);
    }
    if (valueCase_ == 11) {
      output.writeMessage(11, (com.google.cloud.visionai.v1.AnnotationList) value_);
    }
    getUnknownFields().writeTo(output);
  }
<pre>
Value of custom struct type annotation.
</pre>

<code>.google.cloud.visionai.v1.AnnotationCustomizedStruct customized_struct_value = 6;</code>
java-visionai/proto-google-cloud-visionai-v1/src/main/java/com/google/cloud/visionai/v1/AnnotationValue.java