# Generated by the protocol buffer compiler.  DO NOT EDIT!
# source: google/cloud/dataproc/v1/operations.proto


require 'google/protobuf'

require 'google/api/annotations_pb'
require 'google/longrunning/operations_pb'
require 'google/protobuf/empty_pb'
require 'google/protobuf/timestamp_pb'
Google::Protobuf::DescriptorPool.generated_pool.build do
  add_message "google.cloud.dataproc.v1.ClusterOperationStatus" do
    optional :state, :enum, 1, "google.cloud.dataproc.v1.ClusterOperationStatus.State"
    optional :inner_state, :string, 2
    optional :details, :string, 3
    optional :state_start_time, :message, 4, "google.protobuf.Timestamp"
  end
  add_enum "google.cloud.dataproc.v1.ClusterOperationStatus.State" do
    value :UNKNOWN, 0
    value :PENDING, 1
    value :RUNNING, 2
    value :DONE, 3
  end
  add_message "google.cloud.dataproc.v1.ClusterOperationMetadata" do
    optional :cluster_name, :string, 7
    optional :cluster_uuid, :string, 8
    optional :status, :message, 9, "google.cloud.dataproc.v1.ClusterOperationStatus"
    repeated :status_history, :message, 10, "google.cloud.dataproc.v1.ClusterOperationStatus"
    optional :operation_type, :string, 11
    optional :description, :string, 12
    map :labels, :string, :string, 13
    repeated :warnings, :string, 14
  end
end

module Google
  module Cloud
    module Dataproc
      module V1
        ClusterOperationStatus = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dataproc.v1.ClusterOperationStatus").msgclass
        ClusterOperationStatus::State = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dataproc.v1.ClusterOperationStatus.State").enummodule
        ClusterOperationMetadata = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dataproc.v1.ClusterOperationMetadata").msgclass
      end
    end
  end
end
