# frozen_string_literal: true # Generated by the protocol buffer compiler. DO NOT EDIT! # source: google/cloud/aiplatform/v1/evaluated_annotation.proto require 'google/protobuf' require 'google/api/field_behavior_pb' require 'google/cloud/aiplatform/v1/explanation_pb' require 'google/protobuf/struct_pb' descriptor_data = "\n5google/cloud/aiplatform/v1/evaluated_annotation.proto\x12\x1agoogle.cloud.aiplatform.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a,google/cloud/aiplatform/v1/explanation.proto\x1a\x1cgoogle/protobuf/struct.proto\"\xe5\x04\n\x13\x45valuatedAnnotation\x12Z\n\x04type\x18\x01 \x01(\x0e\x32G.google.cloud.aiplatform.v1.EvaluatedAnnotation.EvaluatedAnnotationTypeB\x03\xe0\x41\x03\x12\x30\n\x0bpredictions\x18\x02 \x03(\x0b\x32\x16.google.protobuf.ValueB\x03\xe0\x41\x03\x12\x32\n\rground_truths\x18\x03 \x03(\x0b\x32\x16.google.protobuf.ValueB\x03\xe0\x41\x03\x12\x36\n\x11\x64\x61ta_item_payload\x18\x05 \x01(\x0b\x32\x16.google.protobuf.ValueB\x03\xe0\x41\x03\x12(\n\x1b\x65valuated_data_item_view_id\x18\x06 \x01(\tB\x03\xe0\x41\x03\x12P\n\x0c\x65xplanations\x18\x08 \x03(\x0b\x32:.google.cloud.aiplatform.v1.EvaluatedAnnotationExplanation\x12W\n\x1a\x65rror_analysis_annotations\x18\t \x03(\x0b\x32\x33.google.cloud.aiplatform.v1.ErrorAnalysisAnnotation\"\x7f\n\x17\x45valuatedAnnotationType\x12)\n%EVALUATED_ANNOTATION_TYPE_UNSPECIFIED\x10\x00\x12\x11\n\rTRUE_POSITIVE\x10\x01\x12\x12\n\x0e\x46\x41LSE_POSITIVE\x10\x02\x12\x12\n\x0e\x46\x41LSE_NEGATIVE\x10\x03\"x\n\x1e\x45valuatedAnnotationExplanation\x12\x18\n\x10\x65xplanation_type\x18\x01 \x01(\t\x12<\n\x0b\x65xplanation\x18\x02 \x01(\x0b\x32\'.google.cloud.aiplatform.v1.Explanation\"\xaf\x03\n\x17\x45rrorAnalysisAnnotation\x12\\\n\x10\x61ttributed_items\x18\x01 \x03(\x0b\x32\x42.google.cloud.aiplatform.v1.ErrorAnalysisAnnotation.AttributedItem\x12Q\n\nquery_type\x18\x02 \x01(\x0e\x32=.google.cloud.aiplatform.v1.ErrorAnalysisAnnotation.QueryType\x12\x15\n\routlier_score\x18\x03 \x01(\x01\x12\x19\n\x11outlier_threshold\x18\x04 \x01(\x01\x1a\x44\n\x0e\x41ttributedItem\x12 \n\x18\x61nnotation_resource_name\x18\x01 \x01(\t\x12\x10\n\x08\x64istance\x18\x02 \x01(\x01\"k\n\tQueryType\x12\x1a\n\x16QUERY_TYPE_UNSPECIFIED\x10\x00\x12\x0f\n\x0b\x41LL_SIMILAR\x10\x01\x12\x16\n\x12SAME_CLASS_SIMILAR\x10\x02\x12\x19\n\x15SAME_CLASS_DISSIMILAR\x10\x03\x42\xd6\x01\n\x1e\x63om.google.cloud.aiplatform.v1B\x18\x45valuatedAnnotationProtoP\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.Explanation", "google/cloud/aiplatform/v1/explanation.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 EvaluatedAnnotation = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.EvaluatedAnnotation").msgclass EvaluatedAnnotation::EvaluatedAnnotationType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.EvaluatedAnnotation.EvaluatedAnnotationType").enummodule EvaluatedAnnotationExplanation = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.EvaluatedAnnotationExplanation").msgclass ErrorAnalysisAnnotation = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.ErrorAnalysisAnnotation").msgclass ErrorAnalysisAnnotation::AttributedItem = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.ErrorAnalysisAnnotation.AttributedItem").msgclass ErrorAnalysisAnnotation::QueryType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.ErrorAnalysisAnnotation.QueryType").enummodule end end end end