/*
 * Copyright 2020 Google LLC
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     https://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: google/cloud/notebooks/v1/execution.proto

package com.google.cloud.notebooks.v1;

public interface ExecutionOrBuilder
    extends
    // @@protoc_insertion_point(interface_extends:google.cloud.notebooks.v1.Execution)
    com.google.protobuf.MessageOrBuilder {

  /**
   *
   *
   * <pre>
   * execute metadata including name, hardware spec, region, labels, etc.
   * </pre>
   *
   * <code>.google.cloud.notebooks.v1.ExecutionTemplate execution_template = 1;</code>
   *
   * @return Whether the executionTemplate field is set.
   */
  boolean hasExecutionTemplate();
  /**
   *
   *
   * <pre>
   * execute metadata including name, hardware spec, region, labels, etc.
   * </pre>
   *
   * <code>.google.cloud.notebooks.v1.ExecutionTemplate execution_template = 1;</code>
   *
   * @return The executionTemplate.
   */
  com.google.cloud.notebooks.v1.ExecutionTemplate getExecutionTemplate();
  /**
   *
   *
   * <pre>
   * execute metadata including name, hardware spec, region, labels, etc.
   * </pre>
   *
   * <code>.google.cloud.notebooks.v1.ExecutionTemplate execution_template = 1;</code>
   */
  com.google.cloud.notebooks.v1.ExecutionTemplateOrBuilder getExecutionTemplateOrBuilder();

  /**
   *
   *
   * <pre>
   * Output only. The resource name of the execute. Format:
   * `projects/{project_id}/locations/{location}/executions/{execution_id}`
   * </pre>
   *
   * <code>string name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];</code>
   *
   * @return The name.
   */
  java.lang.String getName();
  /**
   *
   *
   * <pre>
   * Output only. The resource name of the execute. Format:
   * `projects/{project_id}/locations/{location}/executions/{execution_id}`
   * </pre>
   *
   * <code>string name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];</code>
   *
   * @return The bytes for name.
   */
  com.google.protobuf.ByteString getNameBytes();

  /**
   *
   *
   * <pre>
   * Output only. Name used for UI purposes.
   * Name can only contain alphanumeric characters and underscores '_'.
   * </pre>
   *
   * <code>string display_name = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];</code>
   *
   * @return The displayName.
   */
  java.lang.String getDisplayName();
  /**
   *
   *
   * <pre>
   * Output only. Name used for UI purposes.
   * Name can only contain alphanumeric characters and underscores '_'.
   * </pre>
   *
   * <code>string display_name = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];</code>
   *
   * @return The bytes for displayName.
   */
  com.google.protobuf.ByteString getDisplayNameBytes();

  /**
   *
   *
   * <pre>
   * A brief description of this execution.
   * </pre>
   *
   * <code>string description = 4;</code>
   *
   * @return The description.
   */
  java.lang.String getDescription();
  /**
   *
   *
   * <pre>
   * A brief description of this execution.
   * </pre>
   *
   * <code>string description = 4;</code>
   *
   * @return The bytes for description.
   */
  com.google.protobuf.ByteString getDescriptionBytes();

  /**
   *
   *
   * <pre>
   * Output only. Time the Execution was instantiated.
   * </pre>
   *
   * <code>.google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
   * </code>
   *
   * @return Whether the createTime field is set.
   */
  boolean hasCreateTime();
  /**
   *
   *
   * <pre>
   * Output only. Time the Execution was instantiated.
   * </pre>
   *
   * <code>.google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
   * </code>
   *
   * @return The createTime.
   */
  com.google.protobuf.Timestamp getCreateTime();
  /**
   *
   *
   * <pre>
   * Output only. Time the Execution was instantiated.
   * </pre>
   *
   * <code>.google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
   * </code>
   */
  com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder();

  /**
   *
   *
   * <pre>
   * Output only. Time the Execution was last updated.
   * </pre>
   *
   * <code>.google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
   * </code>
   *
   * @return Whether the updateTime field is set.
   */
  boolean hasUpdateTime();
  /**
   *
   *
   * <pre>
   * Output only. Time the Execution was last updated.
   * </pre>
   *
   * <code>.google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
   * </code>
   *
   * @return The updateTime.
   */
  com.google.protobuf.Timestamp getUpdateTime();
  /**
   *
   *
   * <pre>
   * Output only. Time the Execution was last updated.
   * </pre>
   *
   * <code>.google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
   * </code>
   */
  com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder();

  /**
   *
   *
   * <pre>
   * Output only. State of the underlying AI Platform job.
   * </pre>
   *
   * <code>
   * .google.cloud.notebooks.v1.Execution.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
   * </code>
   *
   * @return The enum numeric value on the wire for state.
   */
  int getStateValue();
  /**
   *
   *
   * <pre>
   * Output only. State of the underlying AI Platform job.
   * </pre>
   *
   * <code>
   * .google.cloud.notebooks.v1.Execution.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
   * </code>
   *
   * @return The state.
   */
  com.google.cloud.notebooks.v1.Execution.State getState();

  /**
   *
   *
   * <pre>
   * Output notebook file generated by this execution
   * </pre>
   *
   * <code>string output_notebook_file = 8;</code>
   *
   * @return The outputNotebookFile.
   */
  java.lang.String getOutputNotebookFile();
  /**
   *
   *
   * <pre>
   * Output notebook file generated by this execution
   * </pre>
   *
   * <code>string output_notebook_file = 8;</code>
   *
   * @return The bytes for outputNotebookFile.
   */
  com.google.protobuf.ByteString getOutputNotebookFileBytes();

  /**
   *
   *
   * <pre>
   * Output only. The URI of the external job used to execute the notebook.
   * </pre>
   *
   * <code>string job_uri = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];</code>
   *
   * @return The jobUri.
   */
  java.lang.String getJobUri();
  /**
   *
   *
   * <pre>
   * Output only. The URI of the external job used to execute the notebook.
   * </pre>
   *
   * <code>string job_uri = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];</code>
   *
   * @return The bytes for jobUri.
   */
  com.google.protobuf.ByteString getJobUriBytes();
}
