@java.lang.Override
  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
    if (language_
        != com.google.cloud.vertexai.api.ExecutableCode.Language.LANGUAGE_UNSPECIFIED.getNumber()) {
      output.writeEnum(1, language_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(code_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 2, code_);
    }
    getUnknownFields().writeTo(output);
  }
<pre>
Required. The code to be executed.
</pre>

<code>string code = 2 [(.google.api.field_behavior) = REQUIRED];</code>

@return The bytes for code.
java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/ExecutableCode.java