# Generated by the protocol buffer compiler. DO NOT EDIT! # source: google/cloud/workflows/executions/v1/executions.proto require 'google/api/annotations_pb' require 'google/api/client_pb' require 'google/api/field_behavior_pb' require 'google/api/resource_pb' require 'google/protobuf/timestamp_pb' require 'google/protobuf' Google::Protobuf::DescriptorPool.generated_pool.build do add_file("google/cloud/workflows/executions/v1/executions.proto", :syntax => :proto3) do add_message "google.cloud.workflows.executions.v1.Execution" do optional :name, :string, 1 optional :start_time, :message, 2, "google.protobuf.Timestamp" optional :end_time, :message, 3, "google.protobuf.Timestamp" optional :state, :enum, 4, "google.cloud.workflows.executions.v1.Execution.State" optional :argument, :string, 5 optional :result, :string, 6 optional :error, :message, 7, "google.cloud.workflows.executions.v1.Execution.Error" optional :workflow_revision_id, :string, 8 optional :call_log_level, :enum, 9, "google.cloud.workflows.executions.v1.Execution.CallLogLevel" end add_message "google.cloud.workflows.executions.v1.Execution.StackTraceElement" do optional :step, :string, 1 optional :routine, :string, 2 optional :position, :message, 3, "google.cloud.workflows.executions.v1.Execution.StackTraceElement.Position" end add_message "google.cloud.workflows.executions.v1.Execution.StackTraceElement.Position" do optional :line, :int64, 1 optional :column, :int64, 2 optional :length, :int64, 3 end add_message "google.cloud.workflows.executions.v1.Execution.StackTrace" do repeated :elements, :message, 1, "google.cloud.workflows.executions.v1.Execution.StackTraceElement" end add_message "google.cloud.workflows.executions.v1.Execution.Error" do optional :payload, :string, 1 optional :context, :string, 2 optional :stack_trace, :message, 3, "google.cloud.workflows.executions.v1.Execution.StackTrace" end add_enum "google.cloud.workflows.executions.v1.Execution.State" do value :STATE_UNSPECIFIED, 0 value :ACTIVE, 1 value :SUCCEEDED, 2 value :FAILED, 3 value :CANCELLED, 4 end add_enum "google.cloud.workflows.executions.v1.Execution.CallLogLevel" do value :CALL_LOG_LEVEL_UNSPECIFIED, 0 value :LOG_ALL_CALLS, 1 value :LOG_ERRORS_ONLY, 2 end add_message "google.cloud.workflows.executions.v1.ListExecutionsRequest" do optional :parent, :string, 1 optional :page_size, :int32, 2 optional :page_token, :string, 3 optional :view, :enum, 4, "google.cloud.workflows.executions.v1.ExecutionView" end add_message "google.cloud.workflows.executions.v1.ListExecutionsResponse" do repeated :executions, :message, 1, "google.cloud.workflows.executions.v1.Execution" optional :next_page_token, :string, 2 end add_message "google.cloud.workflows.executions.v1.CreateExecutionRequest" do optional :parent, :string, 1 optional :execution, :message, 2, "google.cloud.workflows.executions.v1.Execution" end add_message "google.cloud.workflows.executions.v1.GetExecutionRequest" do optional :name, :string, 1 optional :view, :enum, 2, "google.cloud.workflows.executions.v1.ExecutionView" end add_message "google.cloud.workflows.executions.v1.CancelExecutionRequest" do optional :name, :string, 1 end add_enum "google.cloud.workflows.executions.v1.ExecutionView" do value :EXECUTION_VIEW_UNSPECIFIED, 0 value :BASIC, 1 value :FULL, 2 end end end module Google module Cloud module Workflows module Executions module V1 Execution = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.workflows.executions.v1.Execution").msgclass Execution::StackTraceElement = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.workflows.executions.v1.Execution.StackTraceElement").msgclass Execution::StackTraceElement::Position = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.workflows.executions.v1.Execution.StackTraceElement.Position").msgclass Execution::StackTrace = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.workflows.executions.v1.Execution.StackTrace").msgclass Execution::Error = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.workflows.executions.v1.Execution.Error").msgclass Execution::State = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.workflows.executions.v1.Execution.State").enummodule Execution::CallLogLevel = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.workflows.executions.v1.Execution.CallLogLevel").enummodule ListExecutionsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.workflows.executions.v1.ListExecutionsRequest").msgclass ListExecutionsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.workflows.executions.v1.ListExecutionsResponse").msgclass CreateExecutionRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.workflows.executions.v1.CreateExecutionRequest").msgclass GetExecutionRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.workflows.executions.v1.GetExecutionRequest").msgclass CancelExecutionRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.workflows.executions.v1.CancelExecutionRequest").msgclass ExecutionView = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.workflows.executions.v1.ExecutionView").enummodule end end end end end