@java.lang.Override
  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_);
    }
    if (pageSize_ != 0) {
      output.writeInt32(2, pageSize_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 3, pageToken_);
    }
    if (view_
        != com.google.cloud.workflows.executions.v1.ExecutionView.EXECUTION_VIEW_UNSPECIFIED
            .getNumber()) {
      output.writeEnum(4, view_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(filter_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 5, filter_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(orderBy_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 6, orderBy_);
    }
    getUnknownFields().writeTo(output);
  }
<pre>
Optional. The ordering applied to the [Executions.ListExecutions] results.
By default the ordering is based on descending start time.
The following fields are supported for order by:
executionID, startTime, endTime, duration, state, and workflowRevisionID.
</pre>

<code>string order_by = 6 [(.google.api.field_behavior) = OPTIONAL];</code>

@return The bytes for orderBy.
java-workflow-executions/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/ListExecutionsRequest.java