# frozen_string_literal: true
# Generated by the protocol buffer compiler.  DO NOT EDIT!
# source: google/cloud/geminidataanalytics/v1beta/context.proto

require 'google/protobuf'

require 'google/api/field_behavior_pb'
require 'google/cloud/geminidataanalytics/v1beta/datasource_pb'


descriptor_data = "\n5google/cloud/geminidataanalytics/v1beta/context.proto\x12\'google.cloud.geminidataanalytics.v1beta\x1a\x1fgoogle/api/field_behavior.proto\x1a\x38google/cloud/geminidataanalytics/v1beta/datasource.proto\"\xb6\x02\n\x07\x43ontext\x12\x1f\n\x12system_instruction\x18\x01 \x01(\tB\x03\xe0\x41\x01\x12\x61\n\x15\x64\x61tasource_references\x18\x07 \x01(\x0b\x32=.google.cloud.geminidataanalytics.v1beta.DatasourceReferencesB\x03\xe0\x41\x02\x12R\n\x07options\x18\x03 \x01(\x0b\x32<.google.cloud.geminidataanalytics.v1beta.ConversationOptionsB\x03\xe0\x41\x01\x12S\n\x0f\x65xample_queries\x18\x05 \x03(\x0b\x32\x35.google.cloud.geminidataanalytics.v1beta.ExampleQueryB\x03\xe0\x41\x01\"Y\n\x0c\x45xampleQuery\x12\x18\n\tsql_query\x18\x65 \x01(\tB\x03\xe0\x41\x01H\x00\x12&\n\x19natural_language_question\x18\x01 \x01(\tB\x03\xe0\x41\x01\x42\x07\n\x05query\"\xb1\x01\n\x13\x43onversationOptions\x12I\n\x05\x63hart\x18\x01 \x01(\x0b\x32\x35.google.cloud.geminidataanalytics.v1beta.ChartOptionsB\x03\xe0\x41\x01\x12O\n\x08\x61nalysis\x18\x02 \x01(\x0b\x32\x38.google.cloud.geminidataanalytics.v1beta.AnalysisOptionsB\x03\xe0\x41\x01\"\xd6\x02\n\x0c\x43hartOptions\x12V\n\x05image\x18\x01 \x01(\x0b\x32\x42.google.cloud.geminidataanalytics.v1beta.ChartOptions.ImageOptionsB\x03\xe0\x41\x01\x1a\xed\x01\n\x0cImageOptions\x12^\n\x08no_image\x18\x01 \x01(\x0b\x32J.google.cloud.geminidataanalytics.v1beta.ChartOptions.ImageOptions.NoImageH\x00\x12\\\n\x03svg\x18\x02 \x01(\x0b\x32M.google.cloud.geminidataanalytics.v1beta.ChartOptions.ImageOptions.SvgOptionsH\x00\x1a\t\n\x07NoImage\x1a\x0c\n\nSvgOptionsB\x06\n\x04kind\"\x87\x01\n\x0f\x41nalysisOptions\x12T\n\x06python\x18\x01 \x01(\x0b\x32?.google.cloud.geminidataanalytics.v1beta.AnalysisOptions.PythonB\x03\xe0\x41\x01\x1a\x1e\n\x06Python\x12\x14\n\x07\x65nabled\x18\x01 \x01(\x08\x42\x03\xe0\x41\x01\x42\x9d\x02\n+com.google.cloud.geminidataanalytics.v1betaB\x0c\x43ontextProtoP\x01Z]cloud.google.com/go/geminidataanalytics/apiv1beta/geminidataanalyticspb;geminidataanalyticspb\xaa\x02\'Google.Cloud.GeminiDataAnalytics.V1Beta\xca\x02\'Google\\Cloud\\GeminiDataAnalytics\\V1beta\xea\x02*Google::Cloud::GeminiDataAnalytics::V1betab\x06proto3"

pool = Google::Protobuf::DescriptorPool.generated_pool

begin
  pool.add_serialized_file(descriptor_data)
rescue TypeError
  # Compatibility code: will be removed in the next major version.
  require 'google/protobuf/descriptor_pb'
  parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
  parsed.clear_dependency
  serialized = parsed.class.encode(parsed)
  file = pool.add_serialized_file(serialized)
  warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
  imports = [
    ["google.cloud.geminidataanalytics.v1beta.DatasourceReferences", "google/cloud/geminidataanalytics/v1beta/datasource.proto"],
  ]
  imports.each do |type_name, expected_filename|
    import_file = pool.lookup(type_name).file_descriptor
    if import_file.name != expected_filename
      warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
    end
  end
  warn "Each proto file must use a consistent fully-qualified name."
  warn "This will become an error in the next major version."
end

module Google
  module Cloud
    module GeminiDataAnalytics
      module V1beta
        Context = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.geminidataanalytics.v1beta.Context").msgclass
        ExampleQuery = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.geminidataanalytics.v1beta.ExampleQuery").msgclass
        ConversationOptions = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.geminidataanalytics.v1beta.ConversationOptions").msgclass
        ChartOptions = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.geminidataanalytics.v1beta.ChartOptions").msgclass
        ChartOptions::ImageOptions = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.geminidataanalytics.v1beta.ChartOptions.ImageOptions").msgclass
        ChartOptions::ImageOptions::NoImage = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.geminidataanalytics.v1beta.ChartOptions.ImageOptions.NoImage").msgclass
        ChartOptions::ImageOptions::SvgOptions = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.geminidataanalytics.v1beta.ChartOptions.ImageOptions.SvgOptions").msgclass
        AnalysisOptions = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.geminidataanalytics.v1beta.AnalysisOptions").msgclass
        AnalysisOptions::Python = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.geminidataanalytics.v1beta.AnalysisOptions.Python").msgclass
      end
    end
  end
end
