google-cloud-ai_platform-v1 0.24.0 → 0.25.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (133) hide show
  1. checksums.yaml +4 -4
  2. data/lib/google/cloud/ai_platform/v1/dataset_service/client.rb +4 -2
  3. data/lib/google/cloud/ai_platform/v1/dataset_service/operations.rb +3 -1
  4. data/lib/google/cloud/ai_platform/v1/endpoint_service/client.rb +4 -2
  5. data/lib/google/cloud/ai_platform/v1/endpoint_service/operations.rb +3 -1
  6. data/lib/google/cloud/ai_platform/v1/featurestore_online_serving_service/client.rb +4 -2
  7. data/lib/google/cloud/ai_platform/v1/featurestore_service/client.rb +5 -3
  8. data/lib/google/cloud/ai_platform/v1/featurestore_service/operations.rb +3 -1
  9. data/lib/google/cloud/ai_platform/v1/index_endpoint_service/client.rb +4 -2
  10. data/lib/google/cloud/ai_platform/v1/index_endpoint_service/operations.rb +3 -1
  11. data/lib/google/cloud/ai_platform/v1/index_service/client.rb +4 -2
  12. data/lib/google/cloud/ai_platform/v1/index_service/operations.rb +3 -1
  13. data/lib/google/cloud/ai_platform/v1/job_service/client.rb +4 -2
  14. data/lib/google/cloud/ai_platform/v1/job_service/operations.rb +3 -1
  15. data/lib/google/cloud/ai_platform/v1/match_service/client.rb +4 -2
  16. data/lib/google/cloud/ai_platform/v1/metadata_service/client.rb +16 -5
  17. data/lib/google/cloud/ai_platform/v1/metadata_service/operations.rb +3 -1
  18. data/lib/google/cloud/ai_platform/v1/migration_service/client.rb +4 -2
  19. data/lib/google/cloud/ai_platform/v1/migration_service/operations.rb +3 -1
  20. data/lib/google/cloud/ai_platform/v1/model_garden_service/client.rb +424 -0
  21. data/lib/google/cloud/ai_platform/v1/model_garden_service/credentials.rb +47 -0
  22. data/lib/google/cloud/ai_platform/v1/model_garden_service/paths.rb +50 -0
  23. data/lib/google/cloud/ai_platform/v1/model_garden_service.rb +49 -0
  24. data/lib/google/cloud/ai_platform/v1/model_service/client.rb +4 -2
  25. data/lib/google/cloud/ai_platform/v1/model_service/operations.rb +3 -1
  26. data/lib/google/cloud/ai_platform/v1/model_service/paths.rb +19 -0
  27. data/lib/google/cloud/ai_platform/v1/pipeline_service/client.rb +4 -2
  28. data/lib/google/cloud/ai_platform/v1/pipeline_service/operations.rb +3 -1
  29. data/lib/google/cloud/ai_platform/v1/prediction_service/client.rb +5 -4
  30. data/lib/google/cloud/ai_platform/v1/specialist_pool_service/client.rb +4 -2
  31. data/lib/google/cloud/ai_platform/v1/specialist_pool_service/operations.rb +3 -1
  32. data/lib/google/cloud/ai_platform/v1/tensorboard_service/client.rb +4 -2
  33. data/lib/google/cloud/ai_platform/v1/tensorboard_service/operations.rb +3 -1
  34. data/lib/google/cloud/ai_platform/v1/version.rb +1 -1
  35. data/lib/google/cloud/ai_platform/v1/vizier_service/client.rb +6 -3
  36. data/lib/google/cloud/ai_platform/v1/vizier_service/operations.rb +3 -1
  37. data/lib/google/cloud/ai_platform/v1.rb +1 -0
  38. data/lib/google/cloud/aiplatform/v1/accelerator_type_pb.rb +24 -14
  39. data/lib/google/cloud/aiplatform/v1/annotation_pb.rb +27 -11
  40. data/lib/google/cloud/aiplatform/v1/annotation_spec_pb.rb +25 -8
  41. data/lib/google/cloud/aiplatform/v1/artifact_pb.rb +26 -20
  42. data/lib/google/cloud/aiplatform/v1/batch_prediction_job_pb.rb +34 -57
  43. data/lib/google/cloud/aiplatform/v1/completion_stats_pb.rb +24 -7
  44. data/lib/google/cloud/aiplatform/v1/context_pb.rb +26 -14
  45. data/lib/google/cloud/aiplatform/v1/custom_job_pb.rb +31 -55
  46. data/lib/google/cloud/aiplatform/v1/data_item_pb.rb +26 -9
  47. data/lib/google/cloud/aiplatform/v1/data_labeling_job_pb.rb +29 -45
  48. data/lib/google/cloud/aiplatform/v1/dataset_pb.rb +29 -37
  49. data/lib/google/cloud/aiplatform/v1/dataset_service_pb.rb +30 -121
  50. data/lib/google/cloud/aiplatform/v1/deployed_index_ref_pb.rb +24 -5
  51. data/lib/google/cloud/aiplatform/v1/deployed_model_ref_pb.rb +24 -5
  52. data/lib/google/cloud/aiplatform/v1/encryption_spec_pb.rb +24 -4
  53. data/lib/google/cloud/aiplatform/v1/endpoint_pb.rb +29 -44
  54. data/lib/google/cloud/aiplatform/v1/endpoint_service_pb.rb +27 -63
  55. data/lib/google/cloud/aiplatform/v1/entity_type_pb.rb +26 -11
  56. data/lib/google/cloud/aiplatform/v1/env_var_pb.rb +24 -5
  57. data/lib/google/cloud/aiplatform/v1/evaluated_annotation_pb.rb +26 -36
  58. data/lib/google/cloud/aiplatform/v1/event_pb.rb +25 -13
  59. data/lib/google/cloud/aiplatform/v1/execution_pb.rb +26 -23
  60. data/lib/google/cloud/aiplatform/v1/explanation_metadata_pb.rb +25 -78
  61. data/lib/google/cloud/aiplatform/v1/explanation_pb.rb +27 -125
  62. data/lib/google/cloud/aiplatform/v1/feature_monitoring_stats_pb.rb +25 -10
  63. data/lib/google/cloud/aiplatform/v1/feature_pb.rb +26 -33
  64. data/lib/google/cloud/aiplatform/v1/feature_selector_pb.rb +24 -7
  65. data/lib/google/cloud/aiplatform/v1/featurestore_monitoring_pb.rb +24 -33
  66. data/lib/google/cloud/aiplatform/v1/featurestore_online_service_pb.rb +27 -62
  67. data/lib/google/cloud/aiplatform/v1/featurestore_pb.rb +26 -26
  68. data/lib/google/cloud/aiplatform/v1/featurestore_service_pb.rb +33 -249
  69. data/lib/google/cloud/aiplatform/v1/hyperparameter_tuning_job_pb.rb +29 -19
  70. data/lib/google/cloud/aiplatform/v1/index_endpoint_pb.rb +27 -41
  71. data/lib/google/cloud/aiplatform/v1/index_endpoint_service_pb.rb +27 -60
  72. data/lib/google/cloud/aiplatform/v1/index_pb.rb +27 -38
  73. data/lib/google/cloud/aiplatform/v1/index_service_pb.rb +27 -73
  74. data/lib/google/cloud/aiplatform/v1/io_pb.rb +24 -28
  75. data/lib/google/cloud/aiplatform/v1/job_service_pb.rb +33 -186
  76. data/lib/google/cloud/aiplatform/v1/job_state_pb.rb +24 -14
  77. data/lib/google/cloud/aiplatform/v1/lineage_subgraph_pb.rb +27 -6
  78. data/lib/google/cloud/aiplatform/v1/machine_resources_pb.rb +24 -37
  79. data/lib/google/cloud/aiplatform/v1/manual_batch_tuning_parameters_pb.rb +24 -4
  80. data/lib/google/cloud/aiplatform/v1/match_service_pb.rb +25 -33
  81. data/lib/google/cloud/aiplatform/v1/metadata_schema_pb.rb +25 -15
  82. data/lib/google/cloud/aiplatform/v1/metadata_service_pb.rb +32 -203
  83. data/lib/google/cloud/aiplatform/v1/metadata_store_pb.rb +26 -12
  84. data/lib/google/cloud/aiplatform/v1/migratable_resource_pb.rb +25 -32
  85. data/lib/google/cloud/aiplatform/v1/migration_service_pb.rb +27 -66
  86. data/lib/google/cloud/aiplatform/v1/model_deployment_monitoring_job_pb.rb +32 -78
  87. data/lib/google/cloud/aiplatform/v1/model_evaluation_pb.rb +27 -18
  88. data/lib/google/cloud/aiplatform/v1/model_evaluation_slice_pb.rb +28 -34
  89. data/lib/google/cloud/aiplatform/v1/model_garden_service_pb.rb +49 -0
  90. data/lib/google/cloud/aiplatform/v1/model_garden_service_services_pb.rb +45 -0
  91. data/lib/google/cloud/aiplatform/v1/model_monitoring_pb.rb +25 -63
  92. data/lib/google/cloud/aiplatform/v1/model_pb.rb +31 -78
  93. data/lib/google/cloud/aiplatform/v1/model_service_pb.rb +32 -137
  94. data/lib/google/cloud/aiplatform/v1/nas_job_pb.rb +29 -84
  95. data/lib/google/cloud/aiplatform/v1/operation_pb.rb +26 -9
  96. data/lib/google/cloud/aiplatform/v1/pipeline_failure_policy_pb.rb +24 -6
  97. data/lib/google/cloud/aiplatform/v1/pipeline_job_pb.rb +32 -91
  98. data/lib/google/cloud/aiplatform/v1/pipeline_service_pb.rb +27 -51
  99. data/lib/google/cloud/aiplatform/v1/pipeline_state_pb.rb +24 -12
  100. data/lib/google/cloud/aiplatform/v1/prediction_service_pb.rb +27 -29
  101. data/lib/google/cloud/aiplatform/v1/prediction_service_services_pb.rb +1 -2
  102. data/lib/google/cloud/aiplatform/v1/publisher_model_pb.rb +57 -0
  103. data/lib/google/cloud/aiplatform/v1/saved_query_pb.rb +26 -13
  104. data/lib/google/cloud/aiplatform/v1/service_networking_pb.rb +24 -5
  105. data/lib/google/cloud/aiplatform/v1/specialist_pool_pb.rb +24 -9
  106. data/lib/google/cloud/aiplatform/v1/specialist_pool_service_pb.rb +27 -33
  107. data/lib/google/cloud/aiplatform/v1/study_pb.rb +27 -157
  108. data/lib/google/cloud/aiplatform/v1/tensorboard_data_pb.rb +25 -29
  109. data/lib/google/cloud/aiplatform/v1/tensorboard_experiment_pb.rb +25 -11
  110. data/lib/google/cloud/aiplatform/v1/tensorboard_pb.rb +26 -14
  111. data/lib/google/cloud/aiplatform/v1/tensorboard_run_pb.rb +25 -10
  112. data/lib/google/cloud/aiplatform/v1/tensorboard_service_pb.rb +31 -186
  113. data/lib/google/cloud/aiplatform/v1/tensorboard_time_series_pb.rb +25 -24
  114. data/lib/google/cloud/aiplatform/v1/training_pipeline_pb.rb +30 -63
  115. data/lib/google/cloud/aiplatform/v1/types_pb.rb +24 -13
  116. data/lib/google/cloud/aiplatform/v1/unmanaged_container_model_pb.rb +25 -6
  117. data/lib/google/cloud/aiplatform/v1/user_action_reference_pb.rb +24 -8
  118. data/lib/google/cloud/aiplatform/v1/value_pb.rb +24 -8
  119. data/lib/google/cloud/aiplatform/v1/vizier_service_pb.rb +27 -88
  120. data/lib/google/cloud/aiplatform/v1/vizier_service_services_pb.rb +2 -1
  121. data/proto_docs/google/cloud/aiplatform/v1/accelerator_type.rb +3 -0
  122. data/proto_docs/google/cloud/aiplatform/v1/featurestore_service.rb +6 -2
  123. data/proto_docs/google/cloud/aiplatform/v1/index_endpoint.rb +7 -8
  124. data/proto_docs/google/cloud/aiplatform/v1/metadata_service.rb +12 -3
  125. data/proto_docs/google/cloud/aiplatform/v1/model.rb +14 -0
  126. data/proto_docs/google/cloud/aiplatform/v1/model_evaluation.rb +3 -2
  127. data/proto_docs/google/cloud/aiplatform/v1/model_garden_service.rb +61 -0
  128. data/proto_docs/google/cloud/aiplatform/v1/publisher_model.rb +235 -0
  129. data/proto_docs/google/cloud/aiplatform/v1/tensorboard_experiment.rb +2 -1
  130. data/proto_docs/google/protobuf/any.rb +7 -4
  131. data/proto_docs/google/protobuf/struct.rb +1 -1
  132. data/proto_docs/google/protobuf/timestamp.rb +1 -3
  133. metadata +13 -4
@@ -1,3 +1,4 @@
1
+ # frozen_string_literal: true
1
2
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
3
  # source: google/cloud/aiplatform/v1/explanation_metadata.proto
3
4
 
@@ -6,86 +7,32 @@ require 'google/protobuf'
6
7
  require 'google/api/field_behavior_pb'
7
8
  require 'google/protobuf/struct_pb'
8
9
 
9
- Google::Protobuf::DescriptorPool.generated_pool.build do
10
- add_file("google/cloud/aiplatform/v1/explanation_metadata.proto", :syntax => :proto3) do
11
- add_message "google.cloud.aiplatform.v1.ExplanationMetadata" do
12
- map :inputs, :string, :message, 1, "google.cloud.aiplatform.v1.ExplanationMetadata.InputMetadata"
13
- map :outputs, :string, :message, 2, "google.cloud.aiplatform.v1.ExplanationMetadata.OutputMetadata"
14
- optional :feature_attributions_schema_uri, :string, 3
15
- optional :latent_space_source, :string, 5
16
- end
17
- add_message "google.cloud.aiplatform.v1.ExplanationMetadata.InputMetadata" do
18
- repeated :input_baselines, :message, 1, "google.protobuf.Value"
19
- optional :input_tensor_name, :string, 2
20
- optional :encoding, :enum, 3, "google.cloud.aiplatform.v1.ExplanationMetadata.InputMetadata.Encoding"
21
- optional :modality, :string, 4
22
- optional :feature_value_domain, :message, 5, "google.cloud.aiplatform.v1.ExplanationMetadata.InputMetadata.FeatureValueDomain"
23
- optional :indices_tensor_name, :string, 6
24
- optional :dense_shape_tensor_name, :string, 7
25
- repeated :index_feature_mapping, :string, 8
26
- optional :encoded_tensor_name, :string, 9
27
- repeated :encoded_baselines, :message, 10, "google.protobuf.Value"
28
- optional :visualization, :message, 11, "google.cloud.aiplatform.v1.ExplanationMetadata.InputMetadata.Visualization"
29
- optional :group_name, :string, 12
30
- end
31
- add_message "google.cloud.aiplatform.v1.ExplanationMetadata.InputMetadata.FeatureValueDomain" do
32
- optional :min_value, :float, 1
33
- optional :max_value, :float, 2
34
- optional :original_mean, :float, 3
35
- optional :original_stddev, :float, 4
36
- end
37
- add_message "google.cloud.aiplatform.v1.ExplanationMetadata.InputMetadata.Visualization" do
38
- optional :type, :enum, 1, "google.cloud.aiplatform.v1.ExplanationMetadata.InputMetadata.Visualization.Type"
39
- optional :polarity, :enum, 2, "google.cloud.aiplatform.v1.ExplanationMetadata.InputMetadata.Visualization.Polarity"
40
- optional :color_map, :enum, 3, "google.cloud.aiplatform.v1.ExplanationMetadata.InputMetadata.Visualization.ColorMap"
41
- optional :clip_percent_upperbound, :float, 4
42
- optional :clip_percent_lowerbound, :float, 5
43
- optional :overlay_type, :enum, 6, "google.cloud.aiplatform.v1.ExplanationMetadata.InputMetadata.Visualization.OverlayType"
44
- end
45
- add_enum "google.cloud.aiplatform.v1.ExplanationMetadata.InputMetadata.Visualization.Type" do
46
- value :TYPE_UNSPECIFIED, 0
47
- value :PIXELS, 1
48
- value :OUTLINES, 2
49
- end
50
- add_enum "google.cloud.aiplatform.v1.ExplanationMetadata.InputMetadata.Visualization.Polarity" do
51
- value :POLARITY_UNSPECIFIED, 0
52
- value :POSITIVE, 1
53
- value :NEGATIVE, 2
54
- value :BOTH, 3
55
- end
56
- add_enum "google.cloud.aiplatform.v1.ExplanationMetadata.InputMetadata.Visualization.ColorMap" do
57
- value :COLOR_MAP_UNSPECIFIED, 0
58
- value :PINK_GREEN, 1
59
- value :VIRIDIS, 2
60
- value :RED, 3
61
- value :GREEN, 4
62
- value :RED_GREEN, 6
63
- value :PINK_WHITE_GREEN, 5
64
- end
65
- add_enum "google.cloud.aiplatform.v1.ExplanationMetadata.InputMetadata.Visualization.OverlayType" do
66
- value :OVERLAY_TYPE_UNSPECIFIED, 0
67
- value :NONE, 1
68
- value :ORIGINAL, 2
69
- value :GRAYSCALE, 3
70
- value :MASK_BLACK, 4
71
- end
72
- add_enum "google.cloud.aiplatform.v1.ExplanationMetadata.InputMetadata.Encoding" do
73
- value :ENCODING_UNSPECIFIED, 0
74
- value :IDENTITY, 1
75
- value :BAG_OF_FEATURES, 2
76
- value :BAG_OF_FEATURES_SPARSE, 3
77
- value :INDICATOR, 4
78
- value :COMBINED_EMBEDDING, 5
79
- value :CONCAT_EMBEDDING, 6
80
- end
81
- add_message "google.cloud.aiplatform.v1.ExplanationMetadata.OutputMetadata" do
82
- optional :output_tensor_name, :string, 3
83
- oneof :display_name_mapping do
84
- optional :index_display_name_mapping, :message, 1, "google.protobuf.Value"
85
- optional :display_name_mapping_key, :string, 2
86
- end
10
+
11
+ descriptor_data = "\n5google/cloud/aiplatform/v1/explanation_metadata.proto\x12\x1agoogle.cloud.aiplatform.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x1cgoogle/protobuf/struct.proto\"\xcf\x12\n\x13\x45xplanationMetadata\x12P\n\x06inputs\x18\x01 \x03(\x0b\x32;.google.cloud.aiplatform.v1.ExplanationMetadata.InputsEntryB\x03\xe0\x41\x02\x12R\n\x07outputs\x18\x02 \x03(\x0b\x32<.google.cloud.aiplatform.v1.ExplanationMetadata.OutputsEntryB\x03\xe0\x41\x02\x12\'\n\x1f\x66\x65\x61ture_attributions_schema_uri\x18\x03 \x01(\t\x12\x1b\n\x13latent_space_source\x18\x05 \x01(\t\x1a\xc4\r\n\rInputMetadata\x12/\n\x0finput_baselines\x18\x01 \x03(\x0b\x32\x16.google.protobuf.Value\x12\x19\n\x11input_tensor_name\x18\x02 \x01(\t\x12X\n\x08\x65ncoding\x18\x03 \x01(\x0e\x32\x46.google.cloud.aiplatform.v1.ExplanationMetadata.InputMetadata.Encoding\x12\x10\n\x08modality\x18\x04 \x01(\t\x12n\n\x14\x66\x65\x61ture_value_domain\x18\x05 \x01(\x0b\x32P.google.cloud.aiplatform.v1.ExplanationMetadata.InputMetadata.FeatureValueDomain\x12\x1b\n\x13indices_tensor_name\x18\x06 \x01(\t\x12\x1f\n\x17\x64\x65nse_shape_tensor_name\x18\x07 \x01(\t\x12\x1d\n\x15index_feature_mapping\x18\x08 \x03(\t\x12\x1b\n\x13\x65ncoded_tensor_name\x18\t \x01(\t\x12\x31\n\x11\x65ncoded_baselines\x18\n \x03(\x0b\x32\x16.google.protobuf.Value\x12\x62\n\rvisualization\x18\x0b \x01(\x0b\x32K.google.cloud.aiplatform.v1.ExplanationMetadata.InputMetadata.Visualization\x12\x12\n\ngroup_name\x18\x0c \x01(\t\x1aj\n\x12\x46\x65\x61tureValueDomain\x12\x11\n\tmin_value\x18\x01 \x01(\x02\x12\x11\n\tmax_value\x18\x02 \x01(\x02\x12\x15\n\roriginal_mean\x18\x03 \x01(\x02\x12\x17\n\x0foriginal_stddev\x18\x04 \x01(\x02\x1a\xd6\x06\n\rVisualization\x12^\n\x04type\x18\x01 \x01(\x0e\x32P.google.cloud.aiplatform.v1.ExplanationMetadata.InputMetadata.Visualization.Type\x12\x66\n\x08polarity\x18\x02 \x01(\x0e\x32T.google.cloud.aiplatform.v1.ExplanationMetadata.InputMetadata.Visualization.Polarity\x12g\n\tcolor_map\x18\x03 \x01(\x0e\x32T.google.cloud.aiplatform.v1.ExplanationMetadata.InputMetadata.Visualization.ColorMap\x12\x1f\n\x17\x63lip_percent_upperbound\x18\x04 \x01(\x02\x12\x1f\n\x17\x63lip_percent_lowerbound\x18\x05 \x01(\x02\x12m\n\x0coverlay_type\x18\x06 \x01(\x0e\x32W.google.cloud.aiplatform.v1.ExplanationMetadata.InputMetadata.Visualization.OverlayType\"6\n\x04Type\x12\x14\n\x10TYPE_UNSPECIFIED\x10\x00\x12\n\n\x06PIXELS\x10\x01\x12\x0c\n\x08OUTLINES\x10\x02\"J\n\x08Polarity\x12\x18\n\x14POLARITY_UNSPECIFIED\x10\x00\x12\x0c\n\x08POSITIVE\x10\x01\x12\x0c\n\x08NEGATIVE\x10\x02\x12\x08\n\x04\x42OTH\x10\x03\"{\n\x08\x43olorMap\x12\x19\n\x15\x43OLOR_MAP_UNSPECIFIED\x10\x00\x12\x0e\n\nPINK_GREEN\x10\x01\x12\x0b\n\x07VIRIDIS\x10\x02\x12\x07\n\x03RED\x10\x03\x12\t\n\x05GREEN\x10\x04\x12\r\n\tRED_GREEN\x10\x06\x12\x14\n\x10PINK_WHITE_GREEN\x10\x05\"b\n\x0bOverlayType\x12\x1c\n\x18OVERLAY_TYPE_UNSPECIFIED\x10\x00\x12\x08\n\x04NONE\x10\x01\x12\x0c\n\x08ORIGINAL\x10\x02\x12\r\n\tGRAYSCALE\x10\x03\x12\x0e\n\nMASK_BLACK\x10\x04\"\xa0\x01\n\x08\x45ncoding\x12\x18\n\x14\x45NCODING_UNSPECIFIED\x10\x00\x12\x0c\n\x08IDENTITY\x10\x01\x12\x13\n\x0f\x42\x41G_OF_FEATURES\x10\x02\x12\x1a\n\x16\x42\x41G_OF_FEATURES_SPARSE\x10\x03\x12\r\n\tINDICATOR\x10\x04\x12\x16\n\x12\x43OMBINED_EMBEDDING\x10\x05\x12\x14\n\x10\x43ONCAT_EMBEDDING\x10\x06\x1a\xa6\x01\n\x0eOutputMetadata\x12<\n\x1aindex_display_name_mapping\x18\x01 \x01(\x0b\x32\x16.google.protobuf.ValueH\x00\x12\"\n\x18\x64isplay_name_mapping_key\x18\x02 \x01(\tH\x00\x12\x1a\n\x12output_tensor_name\x18\x03 \x01(\tB\x16\n\x14\x64isplay_name_mapping\x1al\n\x0bInputsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12L\n\x05value\x18\x02 \x01(\x0b\x32=.google.cloud.aiplatform.v1.ExplanationMetadata.InputMetadata:\x02\x38\x01\x1an\n\x0cOutputsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12M\n\x05value\x18\x02 \x01(\x0b\x32>.google.cloud.aiplatform.v1.ExplanationMetadata.OutputMetadata:\x02\x38\x01\x42\xd6\x01\n\x1e\x63om.google.cloud.aiplatform.v1B\x18\x45xplanationMetadataProtoP\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"
12
+
13
+ pool = Google::Protobuf::DescriptorPool.generated_pool
14
+
15
+ begin
16
+ pool.add_serialized_file(descriptor_data)
17
+ rescue TypeError => e
18
+ # Compatibility code: will be removed in the next major version.
19
+ require 'google/protobuf/descriptor_pb'
20
+ parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
21
+ parsed.clear_dependency
22
+ serialized = parsed.class.encode(parsed)
23
+ file = pool.add_serialized_file(serialized)
24
+ warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
25
+ imports = [
26
+ ["google.protobuf.Value", "google/protobuf/struct.proto"],
27
+ ]
28
+ imports.each do |type_name, expected_filename|
29
+ import_file = pool.lookup(type_name).file_descriptor
30
+ if import_file.name != expected_filename
31
+ warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
87
32
  end
88
33
  end
34
+ warn "Each proto file must use a consistent fully-qualified name."
35
+ warn "This will become an error in the next major version."
89
36
  end
90
37
 
91
38
  module Google
@@ -1,3 +1,4 @@
1
+ # frozen_string_literal: true
1
2
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
3
  # source: google/cloud/aiplatform/v1/explanation.proto
3
4
 
@@ -8,133 +9,34 @@ require 'google/cloud/aiplatform/v1/explanation_metadata_pb'
8
9
  require 'google/cloud/aiplatform/v1/io_pb'
9
10
  require 'google/protobuf/struct_pb'
10
11
 
11
- Google::Protobuf::DescriptorPool.generated_pool.build do
12
- add_file("google/cloud/aiplatform/v1/explanation.proto", :syntax => :proto3) do
13
- add_message "google.cloud.aiplatform.v1.Explanation" do
14
- repeated :attributions, :message, 1, "google.cloud.aiplatform.v1.Attribution"
15
- repeated :neighbors, :message, 2, "google.cloud.aiplatform.v1.Neighbor"
16
- end
17
- add_message "google.cloud.aiplatform.v1.ModelExplanation" do
18
- repeated :mean_attributions, :message, 1, "google.cloud.aiplatform.v1.Attribution"
19
- end
20
- add_message "google.cloud.aiplatform.v1.Attribution" do
21
- optional :baseline_output_value, :double, 1
22
- optional :instance_output_value, :double, 2
23
- optional :feature_attributions, :message, 3, "google.protobuf.Value"
24
- repeated :output_index, :int32, 4
25
- optional :output_display_name, :string, 5
26
- optional :approximation_error, :double, 6
27
- optional :output_name, :string, 7
28
- end
29
- add_message "google.cloud.aiplatform.v1.Neighbor" do
30
- optional :neighbor_id, :string, 1
31
- optional :neighbor_distance, :double, 2
32
- end
33
- add_message "google.cloud.aiplatform.v1.ExplanationSpec" do
34
- optional :parameters, :message, 1, "google.cloud.aiplatform.v1.ExplanationParameters"
35
- optional :metadata, :message, 2, "google.cloud.aiplatform.v1.ExplanationMetadata"
36
- end
37
- add_message "google.cloud.aiplatform.v1.ExplanationParameters" do
38
- optional :top_k, :int32, 4
39
- optional :output_indices, :message, 5, "google.protobuf.ListValue"
40
- oneof :method do
41
- optional :sampled_shapley_attribution, :message, 1, "google.cloud.aiplatform.v1.SampledShapleyAttribution"
42
- optional :integrated_gradients_attribution, :message, 2, "google.cloud.aiplatform.v1.IntegratedGradientsAttribution"
43
- optional :xrai_attribution, :message, 3, "google.cloud.aiplatform.v1.XraiAttribution"
44
- optional :examples, :message, 7, "google.cloud.aiplatform.v1.Examples"
45
- end
46
- end
47
- add_message "google.cloud.aiplatform.v1.SampledShapleyAttribution" do
48
- optional :path_count, :int32, 1
49
- end
50
- add_message "google.cloud.aiplatform.v1.IntegratedGradientsAttribution" do
51
- optional :step_count, :int32, 1
52
- optional :smooth_grad_config, :message, 2, "google.cloud.aiplatform.v1.SmoothGradConfig"
53
- optional :blur_baseline_config, :message, 3, "google.cloud.aiplatform.v1.BlurBaselineConfig"
54
- end
55
- add_message "google.cloud.aiplatform.v1.XraiAttribution" do
56
- optional :step_count, :int32, 1
57
- optional :smooth_grad_config, :message, 2, "google.cloud.aiplatform.v1.SmoothGradConfig"
58
- optional :blur_baseline_config, :message, 3, "google.cloud.aiplatform.v1.BlurBaselineConfig"
59
- end
60
- add_message "google.cloud.aiplatform.v1.SmoothGradConfig" do
61
- optional :noisy_sample_count, :int32, 3
62
- oneof :GradientNoiseSigma do
63
- optional :noise_sigma, :float, 1
64
- optional :feature_noise_sigma, :message, 2, "google.cloud.aiplatform.v1.FeatureNoiseSigma"
65
- end
66
- end
67
- add_message "google.cloud.aiplatform.v1.FeatureNoiseSigma" do
68
- repeated :noise_sigma, :message, 1, "google.cloud.aiplatform.v1.FeatureNoiseSigma.NoiseSigmaForFeature"
69
- end
70
- add_message "google.cloud.aiplatform.v1.FeatureNoiseSigma.NoiseSigmaForFeature" do
71
- optional :name, :string, 1
72
- optional :sigma, :float, 2
73
- end
74
- add_message "google.cloud.aiplatform.v1.BlurBaselineConfig" do
75
- optional :max_blur_sigma, :float, 1
76
- end
77
- add_message "google.cloud.aiplatform.v1.Examples" do
78
- optional :neighbor_count, :int32, 3
79
- oneof :source do
80
- optional :example_gcs_source, :message, 5, "google.cloud.aiplatform.v1.Examples.ExampleGcsSource"
81
- end
82
- oneof :config do
83
- optional :nearest_neighbor_search_config, :message, 2, "google.protobuf.Value"
84
- optional :presets, :message, 4, "google.cloud.aiplatform.v1.Presets"
85
- end
86
- end
87
- add_message "google.cloud.aiplatform.v1.Examples.ExampleGcsSource" do
88
- optional :data_format, :enum, 1, "google.cloud.aiplatform.v1.Examples.ExampleGcsSource.DataFormat"
89
- optional :gcs_source, :message, 2, "google.cloud.aiplatform.v1.GcsSource"
90
- end
91
- add_enum "google.cloud.aiplatform.v1.Examples.ExampleGcsSource.DataFormat" do
92
- value :DATA_FORMAT_UNSPECIFIED, 0
93
- value :JSONL, 1
94
- end
95
- add_message "google.cloud.aiplatform.v1.Presets" do
96
- proto3_optional :query, :enum, 1, "google.cloud.aiplatform.v1.Presets.Query"
97
- optional :modality, :enum, 2, "google.cloud.aiplatform.v1.Presets.Modality"
98
- end
99
- add_enum "google.cloud.aiplatform.v1.Presets.Query" do
100
- value :PRECISE, 0
101
- value :FAST, 1
102
- end
103
- add_enum "google.cloud.aiplatform.v1.Presets.Modality" do
104
- value :MODALITY_UNSPECIFIED, 0
105
- value :IMAGE, 1
106
- value :TEXT, 2
107
- value :TABULAR, 3
108
- end
109
- add_message "google.cloud.aiplatform.v1.ExplanationSpecOverride" do
110
- optional :parameters, :message, 1, "google.cloud.aiplatform.v1.ExplanationParameters"
111
- optional :metadata, :message, 2, "google.cloud.aiplatform.v1.ExplanationMetadataOverride"
112
- optional :examples_override, :message, 3, "google.cloud.aiplatform.v1.ExamplesOverride"
113
- end
114
- add_message "google.cloud.aiplatform.v1.ExplanationMetadataOverride" do
115
- map :inputs, :string, :message, 1, "google.cloud.aiplatform.v1.ExplanationMetadataOverride.InputMetadataOverride"
116
- end
117
- add_message "google.cloud.aiplatform.v1.ExplanationMetadataOverride.InputMetadataOverride" do
118
- repeated :input_baselines, :message, 1, "google.protobuf.Value"
119
- end
120
- add_message "google.cloud.aiplatform.v1.ExamplesOverride" do
121
- optional :neighbor_count, :int32, 1
122
- optional :crowding_count, :int32, 2
123
- repeated :restrictions, :message, 3, "google.cloud.aiplatform.v1.ExamplesRestrictionsNamespace"
124
- optional :return_embeddings, :bool, 4
125
- optional :data_format, :enum, 5, "google.cloud.aiplatform.v1.ExamplesOverride.DataFormat"
126
- end
127
- add_enum "google.cloud.aiplatform.v1.ExamplesOverride.DataFormat" do
128
- value :DATA_FORMAT_UNSPECIFIED, 0
129
- value :INSTANCES, 1
130
- value :EMBEDDINGS, 2
131
- end
132
- add_message "google.cloud.aiplatform.v1.ExamplesRestrictionsNamespace" do
133
- optional :namespace_name, :string, 1
134
- repeated :allow, :string, 2
135
- repeated :deny, :string, 3
12
+
13
+ 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"
14
+
15
+ pool = Google::Protobuf::DescriptorPool.generated_pool
16
+
17
+ begin
18
+ pool.add_serialized_file(descriptor_data)
19
+ rescue TypeError => e
20
+ # Compatibility code: will be removed in the next major version.
21
+ require 'google/protobuf/descriptor_pb'
22
+ parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
23
+ parsed.clear_dependency
24
+ serialized = parsed.class.encode(parsed)
25
+ file = pool.add_serialized_file(serialized)
26
+ warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
27
+ imports = [
28
+ ["google.protobuf.Value", "google/protobuf/struct.proto"],
29
+ ["google.cloud.aiplatform.v1.ExplanationMetadata", "google/cloud/aiplatform/v1/explanation_metadata.proto"],
30
+ ["google.cloud.aiplatform.v1.GcsSource", "google/cloud/aiplatform/v1/io.proto"],
31
+ ]
32
+ imports.each do |type_name, expected_filename|
33
+ import_file = pool.lookup(type_name).file_descriptor
34
+ if import_file.name != expected_filename
35
+ warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
136
36
  end
137
37
  end
38
+ warn "Each proto file must use a consistent fully-qualified name."
39
+ warn "This will become an error in the next major version."
138
40
  end
139
41
 
140
42
  module Google
@@ -1,3 +1,4 @@
1
+ # frozen_string_literal: true
1
2
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
3
  # source: google/cloud/aiplatform/v1/feature_monitoring_stats.proto
3
4
 
@@ -5,18 +6,32 @@ require 'google/protobuf'
5
6
 
6
7
  require 'google/protobuf/timestamp_pb'
7
8
 
8
- Google::Protobuf::DescriptorPool.generated_pool.build do
9
- add_file("google/cloud/aiplatform/v1/feature_monitoring_stats.proto", :syntax => :proto3) do
10
- add_message "google.cloud.aiplatform.v1.FeatureStatsAnomaly" do
11
- optional :score, :double, 1
12
- optional :stats_uri, :string, 3
13
- optional :anomaly_uri, :string, 4
14
- optional :distribution_deviation, :double, 5
15
- optional :anomaly_detection_threshold, :double, 9
16
- optional :start_time, :message, 7, "google.protobuf.Timestamp"
17
- optional :end_time, :message, 8, "google.protobuf.Timestamp"
9
+
10
+ descriptor_data = "\n9google/cloud/aiplatform/v1/feature_monitoring_stats.proto\x12\x1agoogle.cloud.aiplatform.v1\x1a\x1fgoogle/protobuf/timestamp.proto\"\xef\x01\n\x13\x46\x65\x61tureStatsAnomaly\x12\r\n\x05score\x18\x01 \x01(\x01\x12\x11\n\tstats_uri\x18\x03 \x01(\t\x12\x13\n\x0b\x61nomaly_uri\x18\x04 \x01(\t\x12\x1e\n\x16\x64istribution_deviation\x18\x05 \x01(\x01\x12#\n\x1b\x61nomaly_detection_threshold\x18\t \x01(\x01\x12.\n\nstart_time\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12,\n\x08\x65nd_time\x18\x08 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\xd9\x01\n\x1e\x63om.google.cloud.aiplatform.v1B\x1b\x46\x65\x61tureMonitoringStatsProtoP\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"
11
+
12
+ pool = Google::Protobuf::DescriptorPool.generated_pool
13
+
14
+ begin
15
+ pool.add_serialized_file(descriptor_data)
16
+ rescue TypeError => e
17
+ # Compatibility code: will be removed in the next major version.
18
+ require 'google/protobuf/descriptor_pb'
19
+ parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
20
+ parsed.clear_dependency
21
+ serialized = parsed.class.encode(parsed)
22
+ file = pool.add_serialized_file(serialized)
23
+ warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
24
+ imports = [
25
+ ["google.protobuf.Timestamp", "google/protobuf/timestamp.proto"],
26
+ ]
27
+ imports.each do |type_name, expected_filename|
28
+ import_file = pool.lookup(type_name).file_descriptor
29
+ if import_file.name != expected_filename
30
+ warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
18
31
  end
19
32
  end
33
+ warn "Each proto file must use a consistent fully-qualified name."
34
+ warn "This will become an error in the next major version."
20
35
  end
21
36
 
22
37
  module Google
@@ -1,3 +1,4 @@
1
+ # frozen_string_literal: true
1
2
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
3
  # source: google/cloud/aiplatform/v1/feature.proto
3
4
 
@@ -8,41 +9,33 @@ require 'google/api/resource_pb'
8
9
  require 'google/cloud/aiplatform/v1/feature_monitoring_stats_pb'
9
10
  require 'google/protobuf/timestamp_pb'
10
11
 
11
- Google::Protobuf::DescriptorPool.generated_pool.build do
12
- add_file("google/cloud/aiplatform/v1/feature.proto", :syntax => :proto3) do
13
- add_message "google.cloud.aiplatform.v1.Feature" do
14
- optional :name, :string, 1
15
- optional :description, :string, 2
16
- optional :value_type, :enum, 3, "google.cloud.aiplatform.v1.Feature.ValueType"
17
- optional :create_time, :message, 4, "google.protobuf.Timestamp"
18
- optional :update_time, :message, 5, "google.protobuf.Timestamp"
19
- map :labels, :string, :string, 6
20
- optional :etag, :string, 7
21
- optional :disable_monitoring, :bool, 12
22
- repeated :monitoring_stats_anomalies, :message, 11, "google.cloud.aiplatform.v1.Feature.MonitoringStatsAnomaly"
23
- end
24
- add_message "google.cloud.aiplatform.v1.Feature.MonitoringStatsAnomaly" do
25
- optional :objective, :enum, 1, "google.cloud.aiplatform.v1.Feature.MonitoringStatsAnomaly.Objective"
26
- optional :feature_stats_anomaly, :message, 2, "google.cloud.aiplatform.v1.FeatureStatsAnomaly"
27
- end
28
- add_enum "google.cloud.aiplatform.v1.Feature.MonitoringStatsAnomaly.Objective" do
29
- value :OBJECTIVE_UNSPECIFIED, 0
30
- value :IMPORT_FEATURE_ANALYSIS, 1
31
- value :SNAPSHOT_ANALYSIS, 2
32
- end
33
- add_enum "google.cloud.aiplatform.v1.Feature.ValueType" do
34
- value :VALUE_TYPE_UNSPECIFIED, 0
35
- value :BOOL, 1
36
- value :BOOL_ARRAY, 2
37
- value :DOUBLE, 3
38
- value :DOUBLE_ARRAY, 4
39
- value :INT64, 9
40
- value :INT64_ARRAY, 10
41
- value :STRING, 11
42
- value :STRING_ARRAY, 12
43
- value :BYTES, 13
12
+
13
+ descriptor_data = "\n(google/cloud/aiplatform/v1/feature.proto\x12\x1agoogle.cloud.aiplatform.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x39google/cloud/aiplatform/v1/feature_monitoring_stats.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xdf\x08\n\x07\x46\x65\x61ture\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x05\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12I\n\nvalue_type\x18\x03 \x01(\x0e\x32-.google.cloud.aiplatform.v1.Feature.ValueTypeB\x06\xe0\x41\x02\xe0\x41\x05\x12\x34\n\x0b\x63reate_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x34\n\x0bupdate_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x44\n\x06labels\x18\x06 \x03(\x0b\x32/.google.cloud.aiplatform.v1.Feature.LabelsEntryB\x03\xe0\x41\x01\x12\x0c\n\x04\x65tag\x18\x07 \x01(\t\x12\x1f\n\x12\x64isable_monitoring\x18\x0c \x01(\x08\x42\x03\xe0\x41\x01\x12\x63\n\x1amonitoring_stats_anomalies\x18\x0b \x03(\x0b\x32:.google.cloud.aiplatform.v1.Feature.MonitoringStatsAnomalyB\x03\xe0\x41\x03\x1a\xa7\x02\n\x16MonitoringStatsAnomaly\x12\\\n\tobjective\x18\x01 \x01(\x0e\x32\x44.google.cloud.aiplatform.v1.Feature.MonitoringStatsAnomaly.ObjectiveB\x03\xe0\x41\x03\x12S\n\x15\x66\x65\x61ture_stats_anomaly\x18\x02 \x01(\x0b\x32/.google.cloud.aiplatform.v1.FeatureStatsAnomalyB\x03\xe0\x41\x03\"Z\n\tObjective\x12\x19\n\x15OBJECTIVE_UNSPECIFIED\x10\x00\x12\x1b\n\x17IMPORT_FEATURE_ANALYSIS\x10\x01\x12\x15\n\x11SNAPSHOT_ANALYSIS\x10\x02\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\xa4\x01\n\tValueType\x12\x1a\n\x16VALUE_TYPE_UNSPECIFIED\x10\x00\x12\x08\n\x04\x42OOL\x10\x01\x12\x0e\n\nBOOL_ARRAY\x10\x02\x12\n\n\x06\x44OUBLE\x10\x03\x12\x10\n\x0c\x44OUBLE_ARRAY\x10\x04\x12\t\n\x05INT64\x10\t\x12\x0f\n\x0bINT64_ARRAY\x10\n\x12\n\n\x06STRING\x10\x0b\x12\x10\n\x0cSTRING_ARRAY\x10\x0c\x12\t\n\x05\x42YTES\x10\r:\x9a\x01\xea\x41\x96\x01\n!aiplatform.googleapis.com/Feature\x12qprojects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entity_type}/features/{feature}B\xca\x01\n\x1e\x63om.google.cloud.aiplatform.v1B\x0c\x46\x65\x61tureProtoP\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"
14
+
15
+ pool = Google::Protobuf::DescriptorPool.generated_pool
16
+
17
+ begin
18
+ pool.add_serialized_file(descriptor_data)
19
+ rescue TypeError => e
20
+ # Compatibility code: will be removed in the next major version.
21
+ require 'google/protobuf/descriptor_pb'
22
+ parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
23
+ parsed.clear_dependency
24
+ serialized = parsed.class.encode(parsed)
25
+ file = pool.add_serialized_file(serialized)
26
+ warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
27
+ imports = [
28
+ ["google.protobuf.Timestamp", "google/protobuf/timestamp.proto"],
29
+ ["google.cloud.aiplatform.v1.FeatureStatsAnomaly", "google/cloud/aiplatform/v1/feature_monitoring_stats.proto"],
30
+ ]
31
+ imports.each do |type_name, expected_filename|
32
+ import_file = pool.lookup(type_name).file_descriptor
33
+ if import_file.name != expected_filename
34
+ warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
44
35
  end
45
36
  end
37
+ warn "Each proto file must use a consistent fully-qualified name."
38
+ warn "This will become an error in the next major version."
46
39
  end
47
40
 
48
41
  module Google
@@ -1,3 +1,4 @@
1
+ # frozen_string_literal: true
1
2
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
3
  # source: google/cloud/aiplatform/v1/feature_selector.proto
3
4
 
@@ -5,15 +6,31 @@ require 'google/protobuf'
5
6
 
6
7
  require 'google/api/field_behavior_pb'
7
8
 
8
- Google::Protobuf::DescriptorPool.generated_pool.build do
9
- add_file("google/cloud/aiplatform/v1/feature_selector.proto", :syntax => :proto3) do
10
- add_message "google.cloud.aiplatform.v1.IdMatcher" do
11
- repeated :ids, :string, 1
12
- end
13
- add_message "google.cloud.aiplatform.v1.FeatureSelector" do
14
- optional :id_matcher, :message, 1, "google.cloud.aiplatform.v1.IdMatcher"
9
+
10
+ descriptor_data = "\n1google/cloud/aiplatform/v1/feature_selector.proto\x12\x1agoogle.cloud.aiplatform.v1\x1a\x1fgoogle/api/field_behavior.proto\"\x1d\n\tIdMatcher\x12\x10\n\x03ids\x18\x01 \x03(\tB\x03\xe0\x41\x02\"Q\n\x0f\x46\x65\x61tureSelector\x12>\n\nid_matcher\x18\x01 \x01(\x0b\x32%.google.cloud.aiplatform.v1.IdMatcherB\x03\xe0\x41\x02\x42\xd2\x01\n\x1e\x63om.google.cloud.aiplatform.v1B\x14\x46\x65\x61tureSelectorProtoP\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"
11
+
12
+ pool = Google::Protobuf::DescriptorPool.generated_pool
13
+
14
+ begin
15
+ pool.add_serialized_file(descriptor_data)
16
+ rescue TypeError => e
17
+ # Compatibility code: will be removed in the next major version.
18
+ require 'google/protobuf/descriptor_pb'
19
+ parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
20
+ parsed.clear_dependency
21
+ serialized = parsed.class.encode(parsed)
22
+ file = pool.add_serialized_file(serialized)
23
+ warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
24
+ imports = [
25
+ ]
26
+ imports.each do |type_name, expected_filename|
27
+ import_file = pool.lookup(type_name).file_descriptor
28
+ if import_file.name != expected_filename
29
+ warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
15
30
  end
16
31
  end
32
+ warn "Each proto file must use a consistent fully-qualified name."
33
+ warn "This will become an error in the next major version."
17
34
  end
18
35
 
19
36
  module Google
@@ -1,43 +1,34 @@
1
+ # frozen_string_literal: true
1
2
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
3
  # source: google/cloud/aiplatform/v1/featurestore_monitoring.proto
3
4
 
4
5
  require 'google/protobuf'
5
6
 
6
- Google::Protobuf::DescriptorPool.generated_pool.build do
7
- add_file("google/cloud/aiplatform/v1/featurestore_monitoring.proto", :syntax => :proto3) do
8
- add_message "google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig" do
9
- optional :snapshot_analysis, :message, 1, "google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.SnapshotAnalysis"
10
- optional :import_features_analysis, :message, 2, "google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.ImportFeaturesAnalysis"
11
- optional :numerical_threshold_config, :message, 3, "google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.ThresholdConfig"
12
- optional :categorical_threshold_config, :message, 4, "google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.ThresholdConfig"
13
- end
14
- add_message "google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.SnapshotAnalysis" do
15
- optional :disabled, :bool, 1
16
- optional :monitoring_interval_days, :int32, 3
17
- optional :staleness_days, :int32, 4
18
- end
19
- add_message "google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.ImportFeaturesAnalysis" do
20
- optional :state, :enum, 1, "google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.ImportFeaturesAnalysis.State"
21
- optional :anomaly_detection_baseline, :enum, 2, "google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.ImportFeaturesAnalysis.Baseline"
22
- end
23
- add_enum "google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.ImportFeaturesAnalysis.State" do
24
- value :STATE_UNSPECIFIED, 0
25
- value :DEFAULT, 1
26
- value :ENABLED, 2
27
- value :DISABLED, 3
28
- end
29
- add_enum "google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.ImportFeaturesAnalysis.Baseline" do
30
- value :BASELINE_UNSPECIFIED, 0
31
- value :LATEST_STATS, 1
32
- value :MOST_RECENT_SNAPSHOT_STATS, 2
33
- value :PREVIOUS_IMPORT_FEATURES_STATS, 3
34
- end
35
- add_message "google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.ThresholdConfig" do
36
- oneof :threshold do
37
- optional :value, :double, 1
38
- end
7
+
8
+ descriptor_data = "\n8google/cloud/aiplatform/v1/featurestore_monitoring.proto\x12\x1agoogle.cloud.aiplatform.v1\"\xa9\x08\n\x1c\x46\x65\x61turestoreMonitoringConfig\x12\x64\n\x11snapshot_analysis\x18\x01 \x01(\x0b\x32I.google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.SnapshotAnalysis\x12q\n\x18import_features_analysis\x18\x02 \x01(\x0b\x32O.google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.ImportFeaturesAnalysis\x12l\n\x1anumerical_threshold_config\x18\x03 \x01(\x0b\x32H.google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.ThresholdConfig\x12n\n\x1c\x63\x61tegorical_threshold_config\x18\x04 \x01(\x0b\x32H.google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.ThresholdConfig\x1a^\n\x10SnapshotAnalysis\x12\x10\n\x08\x64isabled\x18\x01 \x01(\x08\x12 \n\x18monitoring_interval_days\x18\x03 \x01(\x05\x12\x16\n\x0estaleness_days\x18\x04 \x01(\x05\x1a\xc0\x03\n\x16ImportFeaturesAnalysis\x12\x64\n\x05state\x18\x01 \x01(\x0e\x32U.google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.ImportFeaturesAnalysis.State\x12|\n\x1a\x61nomaly_detection_baseline\x18\x02 \x01(\x0e\x32X.google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.ImportFeaturesAnalysis.Baseline\"F\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\x0b\n\x07\x44\x45\x46\x41ULT\x10\x01\x12\x0b\n\x07\x45NABLED\x10\x02\x12\x0c\n\x08\x44ISABLED\x10\x03\"z\n\x08\x42\x61seline\x12\x18\n\x14\x42\x41SELINE_UNSPECIFIED\x10\x00\x12\x10\n\x0cLATEST_STATS\x10\x01\x12\x1e\n\x1aMOST_RECENT_SNAPSHOT_STATS\x10\x02\x12\"\n\x1ePREVIOUS_IMPORT_FEATURES_STATS\x10\x03\x1a/\n\x0fThresholdConfig\x12\x0f\n\x05value\x18\x01 \x01(\x01H\x00\x42\x0b\n\tthresholdB\xd9\x01\n\x1e\x63om.google.cloud.aiplatform.v1B\x1b\x46\x65\x61turestoreMonitoringProtoP\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"
9
+
10
+ pool = Google::Protobuf::DescriptorPool.generated_pool
11
+
12
+ begin
13
+ pool.add_serialized_file(descriptor_data)
14
+ rescue TypeError => e
15
+ # Compatibility code: will be removed in the next major version.
16
+ require 'google/protobuf/descriptor_pb'
17
+ parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
18
+ parsed.clear_dependency
19
+ serialized = parsed.class.encode(parsed)
20
+ file = pool.add_serialized_file(serialized)
21
+ warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
22
+ imports = [
23
+ ]
24
+ imports.each do |type_name, expected_filename|
25
+ import_file = pool.lookup(type_name).file_descriptor
26
+ if import_file.name != expected_filename
27
+ warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
39
28
  end
40
29
  end
30
+ warn "Each proto file must use a consistent fully-qualified name."
31
+ warn "This will become an error in the next major version."
41
32
  end
42
33
 
43
34
  module Google