google-cloud-ai_platform-v1 0.23.0 → 0.25.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (139) 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 +533 -0
  16. data/lib/google/cloud/ai_platform/v1/match_service/credentials.rb +47 -0
  17. data/lib/google/cloud/ai_platform/v1/match_service/paths.rb +52 -0
  18. data/lib/google/cloud/ai_platform/v1/match_service.rb +50 -0
  19. data/lib/google/cloud/ai_platform/v1/metadata_service/client.rb +16 -5
  20. data/lib/google/cloud/ai_platform/v1/metadata_service/operations.rb +3 -1
  21. data/lib/google/cloud/ai_platform/v1/migration_service/client.rb +4 -2
  22. data/lib/google/cloud/ai_platform/v1/migration_service/operations.rb +3 -1
  23. data/lib/google/cloud/ai_platform/v1/model_garden_service/client.rb +424 -0
  24. data/lib/google/cloud/ai_platform/v1/model_garden_service/credentials.rb +47 -0
  25. data/lib/google/cloud/ai_platform/v1/model_garden_service/paths.rb +50 -0
  26. data/lib/google/cloud/ai_platform/v1/model_garden_service.rb +49 -0
  27. data/lib/google/cloud/ai_platform/v1/model_service/client.rb +4 -2
  28. data/lib/google/cloud/ai_platform/v1/model_service/operations.rb +3 -1
  29. data/lib/google/cloud/ai_platform/v1/model_service/paths.rb +19 -0
  30. data/lib/google/cloud/ai_platform/v1/pipeline_service/client.rb +4 -2
  31. data/lib/google/cloud/ai_platform/v1/pipeline_service/operations.rb +3 -1
  32. data/lib/google/cloud/ai_platform/v1/prediction_service/client.rb +5 -4
  33. data/lib/google/cloud/ai_platform/v1/specialist_pool_service/client.rb +4 -2
  34. data/lib/google/cloud/ai_platform/v1/specialist_pool_service/operations.rb +3 -1
  35. data/lib/google/cloud/ai_platform/v1/tensorboard_service/client.rb +4 -2
  36. data/lib/google/cloud/ai_platform/v1/tensorboard_service/operations.rb +3 -1
  37. data/lib/google/cloud/ai_platform/v1/version.rb +1 -1
  38. data/lib/google/cloud/ai_platform/v1/vizier_service/client.rb +6 -3
  39. data/lib/google/cloud/ai_platform/v1/vizier_service/operations.rb +3 -1
  40. data/lib/google/cloud/ai_platform/v1.rb +2 -0
  41. data/lib/google/cloud/aiplatform/v1/accelerator_type_pb.rb +24 -14
  42. data/lib/google/cloud/aiplatform/v1/annotation_pb.rb +27 -11
  43. data/lib/google/cloud/aiplatform/v1/annotation_spec_pb.rb +25 -8
  44. data/lib/google/cloud/aiplatform/v1/artifact_pb.rb +26 -20
  45. data/lib/google/cloud/aiplatform/v1/batch_prediction_job_pb.rb +34 -57
  46. data/lib/google/cloud/aiplatform/v1/completion_stats_pb.rb +24 -7
  47. data/lib/google/cloud/aiplatform/v1/context_pb.rb +26 -14
  48. data/lib/google/cloud/aiplatform/v1/custom_job_pb.rb +31 -55
  49. data/lib/google/cloud/aiplatform/v1/data_item_pb.rb +26 -9
  50. data/lib/google/cloud/aiplatform/v1/data_labeling_job_pb.rb +29 -45
  51. data/lib/google/cloud/aiplatform/v1/dataset_pb.rb +29 -37
  52. data/lib/google/cloud/aiplatform/v1/dataset_service_pb.rb +30 -121
  53. data/lib/google/cloud/aiplatform/v1/deployed_index_ref_pb.rb +24 -5
  54. data/lib/google/cloud/aiplatform/v1/deployed_model_ref_pb.rb +24 -5
  55. data/lib/google/cloud/aiplatform/v1/encryption_spec_pb.rb +24 -4
  56. data/lib/google/cloud/aiplatform/v1/endpoint_pb.rb +29 -44
  57. data/lib/google/cloud/aiplatform/v1/endpoint_service_pb.rb +27 -63
  58. data/lib/google/cloud/aiplatform/v1/entity_type_pb.rb +26 -11
  59. data/lib/google/cloud/aiplatform/v1/env_var_pb.rb +24 -5
  60. data/lib/google/cloud/aiplatform/v1/evaluated_annotation_pb.rb +26 -36
  61. data/lib/google/cloud/aiplatform/v1/event_pb.rb +25 -13
  62. data/lib/google/cloud/aiplatform/v1/execution_pb.rb +26 -23
  63. data/lib/google/cloud/aiplatform/v1/explanation_metadata_pb.rb +25 -78
  64. data/lib/google/cloud/aiplatform/v1/explanation_pb.rb +34 -92
  65. data/lib/google/cloud/aiplatform/v1/feature_monitoring_stats_pb.rb +25 -10
  66. data/lib/google/cloud/aiplatform/v1/feature_pb.rb +26 -33
  67. data/lib/google/cloud/aiplatform/v1/feature_selector_pb.rb +24 -7
  68. data/lib/google/cloud/aiplatform/v1/featurestore_monitoring_pb.rb +24 -33
  69. data/lib/google/cloud/aiplatform/v1/featurestore_online_service_pb.rb +27 -62
  70. data/lib/google/cloud/aiplatform/v1/featurestore_pb.rb +26 -26
  71. data/lib/google/cloud/aiplatform/v1/featurestore_service_pb.rb +33 -249
  72. data/lib/google/cloud/aiplatform/v1/hyperparameter_tuning_job_pb.rb +29 -19
  73. data/lib/google/cloud/aiplatform/v1/index_endpoint_pb.rb +27 -41
  74. data/lib/google/cloud/aiplatform/v1/index_endpoint_service_pb.rb +27 -60
  75. data/lib/google/cloud/aiplatform/v1/index_pb.rb +27 -38
  76. data/lib/google/cloud/aiplatform/v1/index_service_pb.rb +27 -73
  77. data/lib/google/cloud/aiplatform/v1/io_pb.rb +24 -28
  78. data/lib/google/cloud/aiplatform/v1/job_service_pb.rb +33 -186
  79. data/lib/google/cloud/aiplatform/v1/job_state_pb.rb +24 -14
  80. data/lib/google/cloud/aiplatform/v1/lineage_subgraph_pb.rb +27 -6
  81. data/lib/google/cloud/aiplatform/v1/machine_resources_pb.rb +24 -37
  82. data/lib/google/cloud/aiplatform/v1/manual_batch_tuning_parameters_pb.rb +24 -4
  83. data/lib/google/cloud/aiplatform/v1/match_service_pb.rb +55 -0
  84. data/lib/google/cloud/aiplatform/v1/match_service_services_pb.rb +49 -0
  85. data/lib/google/cloud/aiplatform/v1/metadata_schema_pb.rb +25 -15
  86. data/lib/google/cloud/aiplatform/v1/metadata_service_pb.rb +32 -203
  87. data/lib/google/cloud/aiplatform/v1/metadata_store_pb.rb +26 -12
  88. data/lib/google/cloud/aiplatform/v1/migratable_resource_pb.rb +25 -32
  89. data/lib/google/cloud/aiplatform/v1/migration_service_pb.rb +27 -66
  90. data/lib/google/cloud/aiplatform/v1/model_deployment_monitoring_job_pb.rb +32 -78
  91. data/lib/google/cloud/aiplatform/v1/model_evaluation_pb.rb +27 -18
  92. data/lib/google/cloud/aiplatform/v1/model_evaluation_slice_pb.rb +28 -34
  93. data/lib/google/cloud/aiplatform/v1/model_garden_service_pb.rb +49 -0
  94. data/lib/google/cloud/aiplatform/v1/model_garden_service_services_pb.rb +45 -0
  95. data/lib/google/cloud/aiplatform/v1/model_monitoring_pb.rb +25 -63
  96. data/lib/google/cloud/aiplatform/v1/model_pb.rb +31 -78
  97. data/lib/google/cloud/aiplatform/v1/model_service_pb.rb +32 -137
  98. data/lib/google/cloud/aiplatform/v1/nas_job_pb.rb +29 -84
  99. data/lib/google/cloud/aiplatform/v1/operation_pb.rb +26 -9
  100. data/lib/google/cloud/aiplatform/v1/pipeline_failure_policy_pb.rb +24 -6
  101. data/lib/google/cloud/aiplatform/v1/pipeline_job_pb.rb +32 -91
  102. data/lib/google/cloud/aiplatform/v1/pipeline_service_pb.rb +27 -51
  103. data/lib/google/cloud/aiplatform/v1/pipeline_state_pb.rb +24 -12
  104. data/lib/google/cloud/aiplatform/v1/prediction_service_pb.rb +27 -29
  105. data/lib/google/cloud/aiplatform/v1/prediction_service_services_pb.rb +1 -2
  106. data/lib/google/cloud/aiplatform/v1/publisher_model_pb.rb +57 -0
  107. data/lib/google/cloud/aiplatform/v1/saved_query_pb.rb +26 -13
  108. data/lib/google/cloud/aiplatform/v1/service_networking_pb.rb +24 -5
  109. data/lib/google/cloud/aiplatform/v1/specialist_pool_pb.rb +24 -9
  110. data/lib/google/cloud/aiplatform/v1/specialist_pool_service_pb.rb +27 -33
  111. data/lib/google/cloud/aiplatform/v1/study_pb.rb +27 -157
  112. data/lib/google/cloud/aiplatform/v1/tensorboard_data_pb.rb +25 -29
  113. data/lib/google/cloud/aiplatform/v1/tensorboard_experiment_pb.rb +25 -11
  114. data/lib/google/cloud/aiplatform/v1/tensorboard_pb.rb +26 -14
  115. data/lib/google/cloud/aiplatform/v1/tensorboard_run_pb.rb +25 -10
  116. data/lib/google/cloud/aiplatform/v1/tensorboard_service_pb.rb +31 -186
  117. data/lib/google/cloud/aiplatform/v1/tensorboard_time_series_pb.rb +25 -24
  118. data/lib/google/cloud/aiplatform/v1/training_pipeline_pb.rb +30 -63
  119. data/lib/google/cloud/aiplatform/v1/types_pb.rb +24 -13
  120. data/lib/google/cloud/aiplatform/v1/unmanaged_container_model_pb.rb +25 -6
  121. data/lib/google/cloud/aiplatform/v1/user_action_reference_pb.rb +24 -8
  122. data/lib/google/cloud/aiplatform/v1/value_pb.rb +24 -8
  123. data/lib/google/cloud/aiplatform/v1/vizier_service_pb.rb +27 -88
  124. data/lib/google/cloud/aiplatform/v1/vizier_service_services_pb.rb +2 -1
  125. data/proto_docs/google/cloud/aiplatform/v1/accelerator_type.rb +3 -0
  126. data/proto_docs/google/cloud/aiplatform/v1/explanation.rb +89 -0
  127. data/proto_docs/google/cloud/aiplatform/v1/featurestore_service.rb +6 -2
  128. data/proto_docs/google/cloud/aiplatform/v1/index_endpoint.rb +7 -8
  129. data/proto_docs/google/cloud/aiplatform/v1/match_service.rb +156 -0
  130. data/proto_docs/google/cloud/aiplatform/v1/metadata_service.rb +12 -3
  131. data/proto_docs/google/cloud/aiplatform/v1/model.rb +14 -0
  132. data/proto_docs/google/cloud/aiplatform/v1/model_evaluation.rb +3 -2
  133. data/proto_docs/google/cloud/aiplatform/v1/model_garden_service.rb +61 -0
  134. data/proto_docs/google/cloud/aiplatform/v1/publisher_model.rb +235 -0
  135. data/proto_docs/google/cloud/aiplatform/v1/tensorboard_experiment.rb +2 -1
  136. data/proto_docs/google/protobuf/any.rb +7 -4
  137. data/proto_docs/google/protobuf/struct.rb +1 -1
  138. data/proto_docs/google/protobuf/timestamp.rb +1 -3
  139. metadata +20 -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/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
@@ -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/featurestore_online_service.proto
3
4
 
@@ -11,70 +12,34 @@ require 'google/cloud/aiplatform/v1/feature_selector_pb'
11
12
  require 'google/cloud/aiplatform/v1/types_pb'
12
13
  require 'google/protobuf/timestamp_pb'
13
14
 
14
- Google::Protobuf::DescriptorPool.generated_pool.build do
15
- add_file("google/cloud/aiplatform/v1/featurestore_online_service.proto", :syntax => :proto3) do
16
- add_message "google.cloud.aiplatform.v1.WriteFeatureValuesRequest" do
17
- optional :entity_type, :string, 1
18
- repeated :payloads, :message, 2, "google.cloud.aiplatform.v1.WriteFeatureValuesPayload"
19
- end
20
- add_message "google.cloud.aiplatform.v1.WriteFeatureValuesPayload" do
21
- optional :entity_id, :string, 1
22
- map :feature_values, :string, :message, 2, "google.cloud.aiplatform.v1.FeatureValue"
23
- end
24
- add_message "google.cloud.aiplatform.v1.WriteFeatureValuesResponse" do
25
- end
26
- add_message "google.cloud.aiplatform.v1.ReadFeatureValuesRequest" do
27
- optional :entity_type, :string, 1
28
- optional :entity_id, :string, 2
29
- optional :feature_selector, :message, 3, "google.cloud.aiplatform.v1.FeatureSelector"
30
- end
31
- add_message "google.cloud.aiplatform.v1.ReadFeatureValuesResponse" do
32
- optional :header, :message, 1, "google.cloud.aiplatform.v1.ReadFeatureValuesResponse.Header"
33
- optional :entity_view, :message, 2, "google.cloud.aiplatform.v1.ReadFeatureValuesResponse.EntityView"
34
- end
35
- add_message "google.cloud.aiplatform.v1.ReadFeatureValuesResponse.FeatureDescriptor" do
36
- optional :id, :string, 1
37
- end
38
- add_message "google.cloud.aiplatform.v1.ReadFeatureValuesResponse.Header" do
39
- optional :entity_type, :string, 1
40
- repeated :feature_descriptors, :message, 2, "google.cloud.aiplatform.v1.ReadFeatureValuesResponse.FeatureDescriptor"
41
- end
42
- add_message "google.cloud.aiplatform.v1.ReadFeatureValuesResponse.EntityView" do
43
- optional :entity_id, :string, 1
44
- repeated :data, :message, 2, "google.cloud.aiplatform.v1.ReadFeatureValuesResponse.EntityView.Data"
45
- end
46
- add_message "google.cloud.aiplatform.v1.ReadFeatureValuesResponse.EntityView.Data" do
47
- oneof :data do
48
- optional :value, :message, 1, "google.cloud.aiplatform.v1.FeatureValue"
49
- optional :values, :message, 2, "google.cloud.aiplatform.v1.FeatureValueList"
50
- end
51
- end
52
- add_message "google.cloud.aiplatform.v1.StreamingReadFeatureValuesRequest" do
53
- optional :entity_type, :string, 1
54
- repeated :entity_ids, :string, 2
55
- optional :feature_selector, :message, 3, "google.cloud.aiplatform.v1.FeatureSelector"
56
- end
57
- add_message "google.cloud.aiplatform.v1.FeatureValue" do
58
- optional :metadata, :message, 14, "google.cloud.aiplatform.v1.FeatureValue.Metadata"
59
- oneof :value do
60
- optional :bool_value, :bool, 1
61
- optional :double_value, :double, 2
62
- optional :int64_value, :int64, 5
63
- optional :string_value, :string, 6
64
- optional :bool_array_value, :message, 7, "google.cloud.aiplatform.v1.BoolArray"
65
- optional :double_array_value, :message, 8, "google.cloud.aiplatform.v1.DoubleArray"
66
- optional :int64_array_value, :message, 11, "google.cloud.aiplatform.v1.Int64Array"
67
- optional :string_array_value, :message, 12, "google.cloud.aiplatform.v1.StringArray"
68
- optional :bytes_value, :bytes, 13
69
- end
70
- end
71
- add_message "google.cloud.aiplatform.v1.FeatureValue.Metadata" do
72
- optional :generate_time, :message, 1, "google.protobuf.Timestamp"
73
- end
74
- add_message "google.cloud.aiplatform.v1.FeatureValueList" do
75
- repeated :values, :message, 1, "google.cloud.aiplatform.v1.FeatureValue"
15
+
16
+ descriptor_data = "\n<google/cloud/aiplatform/v1/featurestore_online_service.proto\x12\x1agoogle.cloud.aiplatform.v1\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x31google/cloud/aiplatform/v1/feature_selector.proto\x1a&google/cloud/aiplatform/v1/types.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xac\x01\n\x19WriteFeatureValuesRequest\x12\x41\n\x0b\x65ntity_type\x18\x01 \x01(\tB,\xe0\x41\x02\xfa\x41&\n$aiplatform.googleapis.com/EntityType\x12L\n\x08payloads\x18\x02 \x03(\x0b\x32\x35.google.cloud.aiplatform.v1.WriteFeatureValuesPayloadB\x03\xe0\x41\x02\"\xfa\x01\n\x19WriteFeatureValuesPayload\x12\x16\n\tentity_id\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x65\n\x0e\x66\x65\x61ture_values\x18\x02 \x03(\x0b\x32H.google.cloud.aiplatform.v1.WriteFeatureValuesPayload.FeatureValuesEntryB\x03\xe0\x41\x02\x1a^\n\x12\x46\x65\x61tureValuesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x37\n\x05value\x18\x02 \x01(\x0b\x32(.google.cloud.aiplatform.v1.FeatureValue:\x02\x38\x01\"\x1c\n\x1aWriteFeatureValuesResponse\"\xc1\x01\n\x18ReadFeatureValuesRequest\x12\x41\n\x0b\x65ntity_type\x18\x01 \x01(\tB,\xe0\x41\x02\xfa\x41&\n$aiplatform.googleapis.com/EntityType\x12\x16\n\tentity_id\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12J\n\x10\x66\x65\x61ture_selector\x18\x03 \x01(\x0b\x32+.google.cloud.aiplatform.v1.FeatureSelectorB\x03\xe0\x41\x02\"\x95\x05\n\x19ReadFeatureValuesResponse\x12L\n\x06header\x18\x01 \x01(\x0b\x32<.google.cloud.aiplatform.v1.ReadFeatureValuesResponse.Header\x12U\n\x0b\x65ntity_view\x18\x02 \x01(\x0b\x32@.google.cloud.aiplatform.v1.ReadFeatureValuesResponse.EntityView\x1a\x1f\n\x11\x46\x65\x61tureDescriptor\x12\n\n\x02id\x18\x01 \x01(\t\x1a\xae\x01\n\x06Header\x12>\n\x0b\x65ntity_type\x18\x01 \x01(\tB)\xfa\x41&\n$aiplatform.googleapis.com/EntityType\x12\x64\n\x13\x66\x65\x61ture_descriptors\x18\x02 \x03(\x0b\x32G.google.cloud.aiplatform.v1.ReadFeatureValuesResponse.FeatureDescriptor\x1a\x80\x02\n\nEntityView\x12\x11\n\tentity_id\x18\x01 \x01(\t\x12S\n\x04\x64\x61ta\x18\x02 \x03(\x0b\x32\x45.google.cloud.aiplatform.v1.ReadFeatureValuesResponse.EntityView.Data\x1a\x89\x01\n\x04\x44\x61ta\x12\x39\n\x05value\x18\x01 \x01(\x0b\x32(.google.cloud.aiplatform.v1.FeatureValueH\x00\x12>\n\x06values\x18\x02 \x01(\x0b\x32,.google.cloud.aiplatform.v1.FeatureValueListH\x00\x42\x06\n\x04\x64\x61ta\"\xcb\x01\n!StreamingReadFeatureValuesRequest\x12\x41\n\x0b\x65ntity_type\x18\x01 \x01(\tB,\xe0\x41\x02\xfa\x41&\n$aiplatform.googleapis.com/EntityType\x12\x17\n\nentity_ids\x18\x02 \x03(\tB\x03\xe0\x41\x02\x12J\n\x10\x66\x65\x61ture_selector\x18\x03 \x01(\x0b\x32+.google.cloud.aiplatform.v1.FeatureSelectorB\x03\xe0\x41\x02\"\xa5\x04\n\x0c\x46\x65\x61tureValue\x12\x14\n\nbool_value\x18\x01 \x01(\x08H\x00\x12\x16\n\x0c\x64ouble_value\x18\x02 \x01(\x01H\x00\x12\x15\n\x0bint64_value\x18\x05 \x01(\x03H\x00\x12\x16\n\x0cstring_value\x18\x06 \x01(\tH\x00\x12\x41\n\x10\x62ool_array_value\x18\x07 \x01(\x0b\x32%.google.cloud.aiplatform.v1.BoolArrayH\x00\x12\x45\n\x12\x64ouble_array_value\x18\x08 \x01(\x0b\x32\'.google.cloud.aiplatform.v1.DoubleArrayH\x00\x12\x43\n\x11int64_array_value\x18\x0b \x01(\x0b\x32&.google.cloud.aiplatform.v1.Int64ArrayH\x00\x12\x45\n\x12string_array_value\x18\x0c \x01(\x0b\x32\'.google.cloud.aiplatform.v1.StringArrayH\x00\x12\x15\n\x0b\x62ytes_value\x18\r \x01(\x0cH\x00\x12\x43\n\x08metadata\x18\x0e \x01(\x0b\x32\x31.google.cloud.aiplatform.v1.FeatureValue.Metadata\x1a=\n\x08Metadata\x12\x31\n\rgenerate_time\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x07\n\x05value\"L\n\x10\x46\x65\x61tureValueList\x12\x38\n\x06values\x18\x01 \x03(\x0b\x32(.google.cloud.aiplatform.v1.FeatureValue2\xfd\x06\n FeaturestoreOnlineServingService\x12\xf3\x01\n\x11ReadFeatureValues\x12\x34.google.cloud.aiplatform.v1.ReadFeatureValuesRequest\x1a\x35.google.cloud.aiplatform.v1.ReadFeatureValuesResponse\"q\x82\xd3\xe4\x93\x02]\"X/v1/{entity_type=projects/*/locations/*/featurestores/*/entityTypes/*}:readFeatureValues:\x01*\xda\x41\x0b\x65ntity_type\x12\x90\x02\n\x1aStreamingReadFeatureValues\x12=.google.cloud.aiplatform.v1.StreamingReadFeatureValuesRequest\x1a\x35.google.cloud.aiplatform.v1.ReadFeatureValuesResponse\"z\x82\xd3\xe4\x93\x02\x66\"a/v1/{entity_type=projects/*/locations/*/featurestores/*/entityTypes/*}:streamingReadFeatureValues:\x01*\xda\x41\x0b\x65ntity_type0\x01\x12\x80\x02\n\x12WriteFeatureValues\x12\x35.google.cloud.aiplatform.v1.WriteFeatureValuesRequest\x1a\x36.google.cloud.aiplatform.v1.WriteFeatureValuesResponse\"{\x82\xd3\xe4\x93\x02^\"Y/v1/{entity_type=projects/*/locations/*/featurestores/*/entityTypes/*}:writeFeatureValues:\x01*\xda\x41\x14\x65ntity_type,payloads\x1aM\xca\x41\x19\x61iplatform.googleapis.com\xd2\x41.https://www.googleapis.com/auth/cloud-platformB\xdc\x01\n\x1e\x63om.google.cloud.aiplatform.v1B\x1e\x46\x65\x61turestoreOnlineServiceProtoP\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"
17
+
18
+ pool = Google::Protobuf::DescriptorPool.generated_pool
19
+
20
+ begin
21
+ pool.add_serialized_file(descriptor_data)
22
+ rescue TypeError => e
23
+ # Compatibility code: will be removed in the next major version.
24
+ require 'google/protobuf/descriptor_pb'
25
+ parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
26
+ parsed.clear_dependency
27
+ serialized = parsed.class.encode(parsed)
28
+ file = pool.add_serialized_file(serialized)
29
+ warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
30
+ imports = [
31
+ ["google.cloud.aiplatform.v1.FeatureSelector", "google/cloud/aiplatform/v1/feature_selector.proto"],
32
+ ["google.cloud.aiplatform.v1.BoolArray", "google/cloud/aiplatform/v1/types.proto"],
33
+ ["google.protobuf.Timestamp", "google/protobuf/timestamp.proto"],
34
+ ]
35
+ imports.each do |type_name, expected_filename|
36
+ import_file = pool.lookup(type_name).file_descriptor
37
+ if import_file.name != expected_filename
38
+ warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
76
39
  end
77
40
  end
41
+ warn "Each proto file must use a consistent fully-qualified name."
42
+ warn "This will become an error in the next major version."
78
43
  end
79
44
 
80
45
  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/featurestore.proto
3
4
 
@@ -8,34 +9,33 @@ require 'google/api/resource_pb'
8
9
  require 'google/cloud/aiplatform/v1/encryption_spec_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/featurestore.proto", :syntax => :proto3) do
13
- add_message "google.cloud.aiplatform.v1.Featurestore" do
14
- optional :name, :string, 1
15
- optional :create_time, :message, 3, "google.protobuf.Timestamp"
16
- optional :update_time, :message, 4, "google.protobuf.Timestamp"
17
- optional :etag, :string, 5
18
- map :labels, :string, :string, 6
19
- optional :online_serving_config, :message, 7, "google.cloud.aiplatform.v1.Featurestore.OnlineServingConfig"
20
- optional :state, :enum, 8, "google.cloud.aiplatform.v1.Featurestore.State"
21
- optional :online_storage_ttl_days, :int32, 13
22
- optional :encryption_spec, :message, 10, "google.cloud.aiplatform.v1.EncryptionSpec"
23
- end
24
- add_message "google.cloud.aiplatform.v1.Featurestore.OnlineServingConfig" do
25
- optional :fixed_node_count, :int32, 2
26
- optional :scaling, :message, 4, "google.cloud.aiplatform.v1.Featurestore.OnlineServingConfig.Scaling"
27
- end
28
- add_message "google.cloud.aiplatform.v1.Featurestore.OnlineServingConfig.Scaling" do
29
- optional :min_node_count, :int32, 1
30
- optional :max_node_count, :int32, 2
31
- optional :cpu_utilization_target, :int32, 3
32
- end
33
- add_enum "google.cloud.aiplatform.v1.Featurestore.State" do
34
- value :STATE_UNSPECIFIED, 0
35
- value :STABLE, 1
36
- value :UPDATING, 2
12
+
13
+ descriptor_data = "\n-google/cloud/aiplatform/v1/featurestore.proto\x12\x1agoogle.cloud.aiplatform.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x30google/cloud/aiplatform/v1/encryption_spec.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xcb\x07\n\x0c\x46\x65\x61turestore\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x03\x12\x34\n\x0b\x63reate_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x34\n\x0bupdate_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x11\n\x04\x65tag\x18\x05 \x01(\tB\x03\xe0\x41\x01\x12I\n\x06labels\x18\x06 \x03(\x0b\x32\x34.google.cloud.aiplatform.v1.Featurestore.LabelsEntryB\x03\xe0\x41\x01\x12`\n\x15online_serving_config\x18\x07 \x01(\x0b\x32<.google.cloud.aiplatform.v1.Featurestore.OnlineServingConfigB\x03\xe0\x41\x01\x12\x42\n\x05state\x18\x08 \x01(\x0e\x32..google.cloud.aiplatform.v1.Featurestore.StateB\x03\xe0\x41\x03\x12$\n\x17online_storage_ttl_days\x18\r \x01(\x05\x42\x03\xe0\x41\x01\x12H\n\x0f\x65ncryption_spec\x18\n \x01(\x0b\x32*.google.cloud.aiplatform.v1.EncryptionSpecB\x03\xe0\x41\x01\x1a\xeb\x01\n\x13OnlineServingConfig\x12\x18\n\x10\x66ixed_node_count\x18\x02 \x01(\x05\x12U\n\x07scaling\x18\x04 \x01(\x0b\x32\x44.google.cloud.aiplatform.v1.Featurestore.OnlineServingConfig.Scaling\x1a\x63\n\x07Scaling\x12\x1b\n\x0emin_node_count\x18\x01 \x01(\x05\x42\x03\xe0\x41\x02\x12\x16\n\x0emax_node_count\x18\x02 \x01(\x05\x12#\n\x16\x63pu_utilization_target\x18\x03 \x01(\x05\x42\x03\xe0\x41\x01\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"8\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\n\n\x06STABLE\x10\x01\x12\x0c\n\x08UPDATING\x10\x02:q\xea\x41n\n&aiplatform.googleapis.com/Featurestore\x12\x44projects/{project}/locations/{location}/featurestores/{featurestore}B\xcf\x01\n\x1e\x63om.google.cloud.aiplatform.v1B\x11\x46\x65\x61turestoreProtoP\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.EncryptionSpec", "google/cloud/aiplatform/v1/encryption_spec.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}"
37
35
  end
38
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."
39
39
  end
40
40
 
41
41
  module Google