# frozen_string_literal: true # Generated by the protocol buffer compiler. DO NOT EDIT! # source: google/cloud/dataplex/v1/data_profile.proto require 'google/protobuf' require 'google/api/field_behavior_pb' require 'google/cloud/dataplex/v1/processing_pb' descriptor_data = "\n+google/cloud/dataplex/v1/data_profile.proto\x12\x18google.cloud.dataplex.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a)google/cloud/dataplex/v1/processing.proto\"\xb0\x04\n\x0f\x44\x61taProfileSpec\x12\x1e\n\x10sampling_percent\x18\x02 \x01(\x02\x42\x04\xe2\x41\x01\x01\x12\x18\n\nrow_filter\x18\x03 \x01(\tB\x04\xe2\x41\x01\x01\x12Z\n\x11post_scan_actions\x18\x04 \x01(\x0b\x32\x39.google.cloud.dataplex.v1.DataProfileSpec.PostScanActionsB\x04\xe2\x41\x01\x01\x12V\n\x0einclude_fields\x18\x05 \x01(\x0b\x32\x38.google.cloud.dataplex.v1.DataProfileSpec.SelectedFieldsB\x04\xe2\x41\x01\x01\x12V\n\x0e\x65xclude_fields\x18\x06 \x01(\x0b\x32\x38.google.cloud.dataplex.v1.DataProfileSpec.SelectedFieldsB\x04\xe2\x41\x01\x01\x1a\xa9\x01\n\x0fPostScanActions\x12g\n\x0f\x62igquery_export\x18\x01 \x01(\x0b\x32H.google.cloud.dataplex.v1.DataProfileSpec.PostScanActions.BigQueryExportB\x04\xe2\x41\x01\x01\x1a-\n\x0e\x42igQueryExport\x12\x1b\n\rresults_table\x18\x01 \x01(\tB\x04\xe2\x41\x01\x01\x1a+\n\x0eSelectedFields\x12\x19\n\x0b\x66ield_names\x18\x01 \x03(\tB\x04\xe2\x41\x01\x01\"\xe8\r\n\x11\x44\x61taProfileResult\x12\x11\n\trow_count\x18\x03 \x01(\x03\x12\x44\n\x07profile\x18\x04 \x01(\x0b\x32\x33.google.cloud.dataplex.v1.DataProfileResult.Profile\x12;\n\x0cscanned_data\x18\x05 \x01(\x0b\x32%.google.cloud.dataplex.v1.ScannedData\x12i\n\x18post_scan_actions_result\x18\x06 \x01(\x0b\x32\x41.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResultB\x04\xe2\x41\x01\x03\x1a\xce\x08\n\x07Profile\x12I\n\x06\x66ields\x18\x02 \x03(\x0b\x32\x39.google.cloud.dataplex.v1.DataProfileResult.Profile.Field\x1a\xf7\x07\n\x05\x46ield\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x0c\n\x04type\x18\x02 \x01(\t\x12\x0c\n\x04mode\x18\x03 \x01(\t\x12V\n\x07profile\x18\x04 \x01(\x0b\x32\x45.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo\x1a\xeb\x06\n\x0bProfileInfo\x12\x12\n\nnull_ratio\x18\x02 \x01(\x01\x12\x16\n\x0e\x64istinct_ratio\x18\x03 \x01(\x01\x12\x65\n\x0ctop_n_values\x18\x04 \x03(\x0b\x32O.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.TopNValue\x12o\n\x0estring_profile\x18\x65 \x01(\x0b\x32U.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.StringFieldInfoH\x00\x12q\n\x0finteger_profile\x18\x66 \x01(\x0b\x32V.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.IntegerFieldInfoH\x00\x12o\n\x0e\x64ouble_profile\x18g \x01(\x0b\x32U.google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.DoubleFieldInfoH\x00\x1aQ\n\x0fStringFieldInfo\x12\x12\n\nmin_length\x18\x01 \x01(\x03\x12\x12\n\nmax_length\x18\x02 \x01(\x03\x12\x16\n\x0e\x61verage_length\x18\x03 \x01(\x01\x1al\n\x10IntegerFieldInfo\x12\x0f\n\x07\x61verage\x18\x01 \x01(\x01\x12\x1a\n\x12standard_deviation\x18\x03 \x01(\x01\x12\x0b\n\x03min\x18\x04 \x01(\x03\x12\x11\n\tquartiles\x18\x06 \x03(\x03\x12\x0b\n\x03max\x18\x05 \x01(\x03\x1ak\n\x0f\x44oubleFieldInfo\x12\x0f\n\x07\x61verage\x18\x01 \x01(\x01\x12\x1a\n\x12standard_deviation\x18\x03 \x01(\x01\x12\x0b\n\x03min\x18\x04 \x01(\x01\x12\x11\n\tquartiles\x18\x06 \x03(\x01\x12\x0b\n\x03max\x18\x05 \x01(\x01\x1a\x38\n\tTopNValue\x12\r\n\x05value\x18\x01 \x01(\t\x12\r\n\x05\x63ount\x18\x02 \x01(\x03\x12\r\n\x05ratio\x18\x03 \x01(\x01\x42\x0c\n\nfield_info\x1a\x80\x03\n\x15PostScanActionsResult\x12|\n\x16\x62igquery_export_result\x18\x01 \x01(\x0b\x32V.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult.BigQueryExportResultB\x04\xe2\x41\x01\x03\x1a\xe8\x01\n\x14\x42igQueryExportResult\x12q\n\x05state\x18\x01 \x01(\x0e\x32\\.google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult.BigQueryExportResult.StateB\x04\xe2\x41\x01\x03\x12\x15\n\x07message\x18\x02 \x01(\tB\x04\xe2\x41\x01\x03\"F\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\r\n\tSUCCEEDED\x10\x01\x12\n\n\x06\x46\x41ILED\x10\x02\x12\x0b\n\x07SKIPPED\x10\x03\x42l\n\x1c\x63om.google.cloud.dataplex.v1B\x10\x44\x61taProfileProtoP\x01Z8cloud.google.com/go/dataplex/apiv1/dataplexpb;dataplexpbb\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.dataplex.v1.ScannedData", "google/cloud/dataplex/v1/processing.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 Dataplex module V1 DataProfileSpec = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dataplex.v1.DataProfileSpec").msgclass DataProfileSpec::PostScanActions = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dataplex.v1.DataProfileSpec.PostScanActions").msgclass DataProfileSpec::PostScanActions::BigQueryExport = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dataplex.v1.DataProfileSpec.PostScanActions.BigQueryExport").msgclass DataProfileSpec::SelectedFields = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dataplex.v1.DataProfileSpec.SelectedFields").msgclass DataProfileResult = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dataplex.v1.DataProfileResult").msgclass DataProfileResult::Profile = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dataplex.v1.DataProfileResult.Profile").msgclass DataProfileResult::Profile::Field = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dataplex.v1.DataProfileResult.Profile.Field").msgclass DataProfileResult::Profile::Field::ProfileInfo = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo").msgclass DataProfileResult::Profile::Field::ProfileInfo::StringFieldInfo = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.StringFieldInfo").msgclass DataProfileResult::Profile::Field::ProfileInfo::IntegerFieldInfo = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.IntegerFieldInfo").msgclass DataProfileResult::Profile::Field::ProfileInfo::DoubleFieldInfo = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.DoubleFieldInfo").msgclass DataProfileResult::Profile::Field::ProfileInfo::TopNValue = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dataplex.v1.DataProfileResult.Profile.Field.ProfileInfo.TopNValue").msgclass DataProfileResult::PostScanActionsResult = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult").msgclass DataProfileResult::PostScanActionsResult::BigQueryExportResult = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult.BigQueryExportResult").msgclass DataProfileResult::PostScanActionsResult::BigQueryExportResult::State = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.dataplex.v1.DataProfileResult.PostScanActionsResult.BigQueryExportResult.State").enummodule end end end end