# frozen_string_literal: true
# Generated by the protocol buffer compiler.  DO NOT EDIT!
# source: google/cloud/aiplatform/v1/explanation.proto

require 'google/protobuf'

require 'google/api/field_behavior_pb'
require 'google/cloud/aiplatform/v1/explanation_metadata_pb'
require 'google/cloud/aiplatform/v1/io_pb'
require 'google/protobuf/struct_pb'


descriptor_data = "\n,google/cloud/aiplatform/v1/explanation.proto\x12\x1agoogle.cloud.aiplatform.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x35google/cloud/aiplatform/v1/explanation_metadata.proto\x1a#google/cloud/aiplatform/v1/io.proto\x1a\x1cgoogle/protobuf/struct.proto\"\x8f\x01\n\x0b\x45xplanation\x12\x42\n\x0c\x61ttributions\x18\x01 \x03(\x0b\x32\'.google.cloud.aiplatform.v1.AttributionB\x03\xe0\x41\x03\x12<\n\tneighbors\x18\x02 \x03(\x0b\x32$.google.cloud.aiplatform.v1.NeighborB\x03\xe0\x41\x03\"[\n\x10ModelExplanation\x12G\n\x11mean_attributions\x18\x01 \x03(\x0b\x32\'.google.cloud.aiplatform.v1.AttributionB\x03\xe0\x41\x03\"\x89\x02\n\x0b\x41ttribution\x12\"\n\x15\x62\x61seline_output_value\x18\x01 \x01(\x01\x42\x03\xe0\x41\x03\x12\"\n\x15instance_output_value\x18\x02 \x01(\x01\x42\x03\xe0\x41\x03\x12\x39\n\x14\x66\x65\x61ture_attributions\x18\x03 \x01(\x0b\x32\x16.google.protobuf.ValueB\x03\xe0\x41\x03\x12\x19\n\x0coutput_index\x18\x04 \x03(\x05\x42\x03\xe0\x41\x03\x12 \n\x13output_display_name\x18\x05 \x01(\tB\x03\xe0\x41\x03\x12 \n\x13\x61pproximation_error\x18\x06 \x01(\x01\x42\x03\xe0\x41\x03\x12\x18\n\x0boutput_name\x18\x07 \x01(\tB\x03\xe0\x41\x03\"D\n\x08Neighbor\x12\x18\n\x0bneighbor_id\x18\x01 \x01(\tB\x03\xe0\x41\x03\x12\x1e\n\x11neighbor_distance\x18\x02 \x01(\x01\x42\x03\xe0\x41\x03\"\xa5\x01\n\x0f\x45xplanationSpec\x12J\n\nparameters\x18\x01 \x01(\x0b\x32\x31.google.cloud.aiplatform.v1.ExplanationParametersB\x03\xe0\x41\x02\x12\x46\n\x08metadata\x18\x02 \x01(\x0b\x32/.google.cloud.aiplatform.v1.ExplanationMetadataB\x03\xe0\x41\x01\"\xad\x03\n\x15\x45xplanationParameters\x12\\\n\x1bsampled_shapley_attribution\x18\x01 \x01(\x0b\x32\x35.google.cloud.aiplatform.v1.SampledShapleyAttributionH\x00\x12\x66\n integrated_gradients_attribution\x18\x02 \x01(\x0b\x32:.google.cloud.aiplatform.v1.IntegratedGradientsAttributionH\x00\x12G\n\x10xrai_attribution\x18\x03 \x01(\x0b\x32+.google.cloud.aiplatform.v1.XraiAttributionH\x00\x12\x38\n\x08\x65xamples\x18\x07 \x01(\x0b\x32$.google.cloud.aiplatform.v1.ExamplesH\x00\x12\r\n\x05top_k\x18\x04 \x01(\x05\x12\x32\n\x0eoutput_indices\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.ListValueB\x08\n\x06method\"4\n\x19SampledShapleyAttribution\x12\x17\n\npath_count\x18\x01 \x01(\x05\x42\x03\xe0\x41\x02\"\xd1\x01\n\x1eIntegratedGradientsAttribution\x12\x17\n\nstep_count\x18\x01 \x01(\x05\x42\x03\xe0\x41\x02\x12H\n\x12smooth_grad_config\x18\x02 \x01(\x0b\x32,.google.cloud.aiplatform.v1.SmoothGradConfig\x12L\n\x14\x62lur_baseline_config\x18\x03 \x01(\x0b\x32..google.cloud.aiplatform.v1.BlurBaselineConfig\"\xc2\x01\n\x0fXraiAttribution\x12\x17\n\nstep_count\x18\x01 \x01(\x05\x42\x03\xe0\x41\x02\x12H\n\x12smooth_grad_config\x18\x02 \x01(\x0b\x32,.google.cloud.aiplatform.v1.SmoothGradConfig\x12L\n\x14\x62lur_baseline_config\x18\x03 \x01(\x0b\x32..google.cloud.aiplatform.v1.BlurBaselineConfig\"\xa9\x01\n\x10SmoothGradConfig\x12\x15\n\x0bnoise_sigma\x18\x01 \x01(\x02H\x00\x12L\n\x13\x66\x65\x61ture_noise_sigma\x18\x02 \x01(\x0b\x32-.google.cloud.aiplatform.v1.FeatureNoiseSigmaH\x00\x12\x1a\n\x12noisy_sample_count\x18\x03 \x01(\x05\x42\x14\n\x12GradientNoiseSigma\"\xa1\x01\n\x11\x46\x65\x61tureNoiseSigma\x12W\n\x0bnoise_sigma\x18\x01 \x03(\x0b\x32\x42.google.cloud.aiplatform.v1.FeatureNoiseSigma.NoiseSigmaForFeature\x1a\x33\n\x14NoiseSigmaForFeature\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\r\n\x05sigma\x18\x02 \x01(\x02\",\n\x12\x42lurBaselineConfig\x12\x16\n\x0emax_blur_sigma\x18\x01 \x01(\x02\"\xe2\x03\n\x08\x45xamples\x12S\n\x12\x65xample_gcs_source\x18\x05 \x01(\x0b\x32\x35.google.cloud.aiplatform.v1.Examples.ExampleGcsSourceH\x00\x12@\n\x1enearest_neighbor_search_config\x18\x02 \x01(\x0b\x32\x16.google.protobuf.ValueH\x01\x12\x36\n\x07presets\x18\x04 \x01(\x0b\x32#.google.cloud.aiplatform.v1.PresetsH\x01\x12\x16\n\x0eneighbor_count\x18\x03 \x01(\x05\x1a\xda\x01\n\x10\x45xampleGcsSource\x12U\n\x0b\x64\x61ta_format\x18\x01 \x01(\x0e\x32@.google.cloud.aiplatform.v1.Examples.ExampleGcsSource.DataFormat\x12\x39\n\ngcs_source\x18\x02 \x01(\x0b\x32%.google.cloud.aiplatform.v1.GcsSource\"4\n\nDataFormat\x12\x1b\n\x17\x44\x41TA_FORMAT_UNSPECIFIED\x10\x00\x12\t\n\x05JSONL\x10\x01\x42\x08\n\x06sourceB\x08\n\x06\x63onfig\"\xfa\x01\n\x07Presets\x12=\n\x05query\x18\x01 \x01(\x0e\x32).google.cloud.aiplatform.v1.Presets.QueryH\x00\x88\x01\x01\x12>\n\x08modality\x18\x02 \x01(\x0e\x32,.google.cloud.aiplatform.v1.Presets.Modality\"\x1e\n\x05Query\x12\x0b\n\x07PRECISE\x10\x00\x12\x08\n\x04\x46\x41ST\x10\x01\"F\n\x08Modality\x12\x18\n\x14MODALITY_UNSPECIFIED\x10\x00\x12\t\n\x05IMAGE\x10\x01\x12\x08\n\x04TEXT\x10\x02\x12\x0b\n\x07TABULAR\x10\x03\x42\x08\n\x06_query\"\xf4\x01\n\x17\x45xplanationSpecOverride\x12\x45\n\nparameters\x18\x01 \x01(\x0b\x32\x31.google.cloud.aiplatform.v1.ExplanationParameters\x12I\n\x08metadata\x18\x02 \x01(\x0b\x32\x37.google.cloud.aiplatform.v1.ExplanationMetadataOverride\x12G\n\x11\x65xamples_override\x18\x03 \x01(\x0b\x32,.google.cloud.aiplatform.v1.ExamplesOverride\"\xbf\x02\n\x1b\x45xplanationMetadataOverride\x12X\n\x06inputs\x18\x01 \x03(\x0b\x32\x43.google.cloud.aiplatform.v1.ExplanationMetadataOverride.InputsEntryB\x03\xe0\x41\x02\x1aH\n\x15InputMetadataOverride\x12/\n\x0finput_baselines\x18\x01 \x03(\x0b\x32\x16.google.protobuf.Value\x1a|\n\x0bInputsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\\\n\x05value\x18\x02 \x01(\x0b\x32M.google.cloud.aiplatform.v1.ExplanationMetadataOverride.InputMetadataOverride:\x02\x38\x01\"\xc6\x02\n\x10\x45xamplesOverride\x12\x16\n\x0eneighbor_count\x18\x01 \x01(\x05\x12\x16\n\x0e\x63rowding_count\x18\x02 \x01(\x05\x12O\n\x0crestrictions\x18\x03 \x03(\x0b\x32\x39.google.cloud.aiplatform.v1.ExamplesRestrictionsNamespace\x12\x19\n\x11return_embeddings\x18\x04 \x01(\x08\x12L\n\x0b\x64\x61ta_format\x18\x05 \x01(\x0e\x32\x37.google.cloud.aiplatform.v1.ExamplesOverride.DataFormat\"H\n\nDataFormat\x12\x1b\n\x17\x44\x41TA_FORMAT_UNSPECIFIED\x10\x00\x12\r\n\tINSTANCES\x10\x01\x12\x0e\n\nEMBEDDINGS\x10\x02\"T\n\x1d\x45xamplesRestrictionsNamespace\x12\x16\n\x0enamespace_name\x18\x01 \x01(\t\x12\r\n\x05\x61llow\x18\x02 \x03(\t\x12\x0c\n\x04\x64\x65ny\x18\x03 \x03(\tB\xce\x01\n\x1e\x63om.google.cloud.aiplatform.v1B\x10\x45xplanationProtoP\x01Z>cloud.google.com/go/aiplatform/apiv1/aiplatformpb;aiplatformpb\xaa\x02\x1aGoogle.Cloud.AIPlatform.V1\xca\x02\x1aGoogle\\Cloud\\AIPlatform\\V1\xea\x02\x1dGoogle::Cloud::AIPlatform::V1b\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.protobuf.Value", "google/protobuf/struct.proto"],
    ["google.cloud.aiplatform.v1.ExplanationMetadata", "google/cloud/aiplatform/v1/explanation_metadata.proto"],
    ["google.cloud.aiplatform.v1.GcsSource", "google/cloud/aiplatform/v1/io.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 AIPlatform
      module V1
        Explanation = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.Explanation").msgclass
        ModelExplanation = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.ModelExplanation").msgclass
        Attribution = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.Attribution").msgclass
        Neighbor = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.Neighbor").msgclass
        ExplanationSpec = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.ExplanationSpec").msgclass
        ExplanationParameters = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.ExplanationParameters").msgclass
        SampledShapleyAttribution = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.SampledShapleyAttribution").msgclass
        IntegratedGradientsAttribution = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.IntegratedGradientsAttribution").msgclass
        XraiAttribution = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.XraiAttribution").msgclass
        SmoothGradConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.SmoothGradConfig").msgclass
        FeatureNoiseSigma = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.FeatureNoiseSigma").msgclass
        FeatureNoiseSigma::NoiseSigmaForFeature = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.FeatureNoiseSigma.NoiseSigmaForFeature").msgclass
        BlurBaselineConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.BlurBaselineConfig").msgclass
        Examples = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.Examples").msgclass
        Examples::ExampleGcsSource = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.Examples.ExampleGcsSource").msgclass
        Examples::ExampleGcsSource::DataFormat = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.Examples.ExampleGcsSource.DataFormat").enummodule
        Presets = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.Presets").msgclass
        Presets::Query = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.Presets.Query").enummodule
        Presets::Modality = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.Presets.Modality").enummodule
        ExplanationSpecOverride = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.ExplanationSpecOverride").msgclass
        ExplanationMetadataOverride = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.ExplanationMetadataOverride").msgclass
        ExplanationMetadataOverride::InputMetadataOverride = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.ExplanationMetadataOverride.InputMetadataOverride").msgclass
        ExamplesOverride = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.ExamplesOverride").msgclass
        ExamplesOverride::DataFormat = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.ExamplesOverride.DataFormat").enummodule
        ExamplesRestrictionsNamespace = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.ExamplesRestrictionsNamespace").msgclass
      end
    end
  end
end
