# Generated by the protocol buffer compiler. DO NOT EDIT! # source: google/cloud/dataqna/v1alpha/question.proto require 'google/protobuf' require 'google/api/field_behavior_pb' require 'google/api/resource_pb' require 'google/cloud/dataqna/v1alpha/annotated_string_pb' require 'google/protobuf/any_pb' require 'google/protobuf/timestamp_pb' require 'google/rpc/status_pb' Google::Protobuf::DescriptorPool.generated_pool.build do add_file("google/cloud/dataqna/v1alpha/question.proto", :syntax => :proto3) do add_message "google.cloud.dataqna.v1alpha.Question" do optional :name, :string, 1 repeated :scopes, :string, 2 optional :query, :string, 3 repeated :data_source_annotations, :string, 4 optional :interpret_error, :message, 5, "google.cloud.dataqna.v1alpha.InterpretError" repeated :interpretations, :message, 6, "google.cloud.dataqna.v1alpha.Interpretation" optional :create_time, :message, 7, "google.protobuf.Timestamp" optional :user_email, :string, 8 optional :debug_flags, :message, 9, "google.cloud.dataqna.v1alpha.DebugFlags" optional :debug_info, :message, 10, "google.protobuf.Any" end add_message "google.cloud.dataqna.v1alpha.InterpretError" do optional :message, :string, 1 optional :code, :enum, 2, "google.cloud.dataqna.v1alpha.InterpretError.InterpretErrorCode" optional :details, :message, 3, "google.cloud.dataqna.v1alpha.InterpretError.InterpretErrorDetails" end add_message "google.cloud.dataqna.v1alpha.InterpretError.InterpretErrorDetails" do optional :unsupported_details, :message, 1, "google.cloud.dataqna.v1alpha.InterpretError.InterpretUnsupportedDetails" optional :incomplete_query_details, :message, 2, "google.cloud.dataqna.v1alpha.InterpretError.InterpretIncompleteQueryDetails" optional :ambiguity_details, :message, 3, "google.cloud.dataqna.v1alpha.InterpretError.InterpretAmbiguityDetails" end add_message "google.cloud.dataqna.v1alpha.InterpretError.InterpretUnsupportedDetails" do repeated :operators, :string, 1 repeated :intent, :string, 2 end add_message "google.cloud.dataqna.v1alpha.InterpretError.InterpretIncompleteQueryDetails" do repeated :entities, :enum, 1, "google.cloud.dataqna.v1alpha.InterpretEntity" end add_message "google.cloud.dataqna.v1alpha.InterpretError.InterpretAmbiguityDetails" do end add_enum "google.cloud.dataqna.v1alpha.InterpretError.InterpretErrorCode" do value :INTERPRET_ERROR_CODE_UNSPECIFIED, 0 value :INVALID_QUERY, 1 value :FAILED_TO_UNDERSTAND, 2 value :FAILED_TO_ANSWER, 3 end add_message "google.cloud.dataqna.v1alpha.ExecutionInfo" do optional :job_creation_status, :message, 1, "google.rpc.Status" optional :job_execution_state, :enum, 2, "google.cloud.dataqna.v1alpha.ExecutionInfo.JobExecutionState" optional :create_time, :message, 3, "google.protobuf.Timestamp" optional :bigquery_job, :message, 4, "google.cloud.dataqna.v1alpha.BigQueryJob" end add_enum "google.cloud.dataqna.v1alpha.ExecutionInfo.JobExecutionState" do value :JOB_EXECUTION_STATE_UNSPECIFIED, 0 value :NOT_EXECUTED, 1 value :RUNNING, 2 value :SUCCEEDED, 3 value :FAILED, 4 end add_message "google.cloud.dataqna.v1alpha.BigQueryJob" do optional :job_id, :string, 1 optional :project_id, :string, 2 optional :location, :string, 3 end add_message "google.cloud.dataqna.v1alpha.Interpretation" do repeated :data_sources, :string, 1 optional :confidence, :double, 2 repeated :unused_phrases, :string, 3 optional :human_readable, :message, 4, "google.cloud.dataqna.v1alpha.HumanReadable" optional :interpretation_structure, :message, 5, "google.cloud.dataqna.v1alpha.InterpretationStructure" optional :data_query, :message, 6, "google.cloud.dataqna.v1alpha.DataQuery" optional :execution_info, :message, 7, "google.cloud.dataqna.v1alpha.ExecutionInfo" end add_message "google.cloud.dataqna.v1alpha.DataQuery" do optional :sql, :string, 1 end add_message "google.cloud.dataqna.v1alpha.HumanReadable" do optional :generated_interpretation, :message, 1, "google.cloud.dataqna.v1alpha.AnnotatedString" optional :original_question, :message, 2, "google.cloud.dataqna.v1alpha.AnnotatedString" end add_message "google.cloud.dataqna.v1alpha.InterpretationStructure" do repeated :visualization_types, :enum, 1, "google.cloud.dataqna.v1alpha.InterpretationStructure.VisualizationType" repeated :column_info, :message, 2, "google.cloud.dataqna.v1alpha.InterpretationStructure.ColumnInfo" end add_message "google.cloud.dataqna.v1alpha.InterpretationStructure.ColumnInfo" do optional :output_alias, :string, 1 optional :display_name, :string, 2 end add_enum "google.cloud.dataqna.v1alpha.InterpretationStructure.VisualizationType" do value :VISUALIZATION_TYPE_UNSPECIFIED, 0 value :TABLE, 1 value :BAR_CHART, 2 value :COLUMN_CHART, 3 value :TIMELINE, 4 value :SCATTER_PLOT, 5 value :PIE_CHART, 6 value :LINE_CHART, 7 value :AREA_CHART, 8 value :COMBO_CHART, 9 value :HISTOGRAM, 10 value :GENERIC_CHART, 11 value :CHART_NOT_UNDERSTOOD, 12 end add_message "google.cloud.dataqna.v1alpha.DebugFlags" do optional :include_va_query, :bool, 1 optional :include_nested_va_query, :bool, 2 optional :include_human_interpretation, :bool, 3 optional :include_aqua_debug_response, :bool, 4 optional :time_override, :int64, 5 optional :is_internal_google_user, :bool, 6 optional :ignore_cache, :bool, 7 optional :include_search_entities_rpc, :bool, 8 optional :include_list_column_annotations_rpc, :bool, 9 optional :include_virtual_analyst_entities, :bool, 10 optional :include_table_list, :bool, 11 optional :include_domain_list, :bool, 12 end add_enum "google.cloud.dataqna.v1alpha.InterpretEntity" do value :INTERPRET_ENTITY_UNSPECIFIED, 0 value :DIMENSION, 1 value :METRIC, 2 end end end module Google module Cloud module DataQnA module V1alpha Question = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dataqna.v1alpha.Question").msgclass InterpretError = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dataqna.v1alpha.InterpretError").msgclass InterpretError::InterpretErrorDetails = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dataqna.v1alpha.InterpretError.InterpretErrorDetails").msgclass InterpretError::InterpretUnsupportedDetails = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dataqna.v1alpha.InterpretError.InterpretUnsupportedDetails").msgclass InterpretError::InterpretIncompleteQueryDetails = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dataqna.v1alpha.InterpretError.InterpretIncompleteQueryDetails").msgclass InterpretError::InterpretAmbiguityDetails = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dataqna.v1alpha.InterpretError.InterpretAmbiguityDetails").msgclass InterpretError::InterpretErrorCode = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dataqna.v1alpha.InterpretError.InterpretErrorCode").enummodule ExecutionInfo = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dataqna.v1alpha.ExecutionInfo").msgclass ExecutionInfo::JobExecutionState = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dataqna.v1alpha.ExecutionInfo.JobExecutionState").enummodule BigQueryJob = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dataqna.v1alpha.BigQueryJob").msgclass Interpretation = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dataqna.v1alpha.Interpretation").msgclass DataQuery = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dataqna.v1alpha.DataQuery").msgclass HumanReadable = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dataqna.v1alpha.HumanReadable").msgclass InterpretationStructure = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dataqna.v1alpha.InterpretationStructure").msgclass InterpretationStructure::ColumnInfo = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dataqna.v1alpha.InterpretationStructure.ColumnInfo").msgclass InterpretationStructure::VisualizationType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dataqna.v1alpha.InterpretationStructure.VisualizationType").enummodule DebugFlags = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dataqna.v1alpha.DebugFlags").msgclass InterpretEntity = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dataqna.v1alpha.InterpretEntity").enummodule end end end end