google-cloud-ai_platform-v1 0.24.0 → 0.26.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (135) 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 +107 -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 +37 -137
  94. data/lib/google/cloud/aiplatform/v1/model_service_services_pb.rb +2 -0
  95. data/lib/google/cloud/aiplatform/v1/nas_job_pb.rb +29 -84
  96. data/lib/google/cloud/aiplatform/v1/operation_pb.rb +26 -9
  97. data/lib/google/cloud/aiplatform/v1/pipeline_failure_policy_pb.rb +24 -6
  98. data/lib/google/cloud/aiplatform/v1/pipeline_job_pb.rb +32 -91
  99. data/lib/google/cloud/aiplatform/v1/pipeline_service_pb.rb +27 -51
  100. data/lib/google/cloud/aiplatform/v1/pipeline_state_pb.rb +24 -12
  101. data/lib/google/cloud/aiplatform/v1/prediction_service_pb.rb +27 -29
  102. data/lib/google/cloud/aiplatform/v1/prediction_service_services_pb.rb +1 -2
  103. data/lib/google/cloud/aiplatform/v1/publisher_model_pb.rb +57 -0
  104. data/lib/google/cloud/aiplatform/v1/saved_query_pb.rb +26 -13
  105. data/lib/google/cloud/aiplatform/v1/service_networking_pb.rb +24 -5
  106. data/lib/google/cloud/aiplatform/v1/specialist_pool_pb.rb +24 -9
  107. data/lib/google/cloud/aiplatform/v1/specialist_pool_service_pb.rb +27 -33
  108. data/lib/google/cloud/aiplatform/v1/study_pb.rb +27 -157
  109. data/lib/google/cloud/aiplatform/v1/tensorboard_data_pb.rb +25 -29
  110. data/lib/google/cloud/aiplatform/v1/tensorboard_experiment_pb.rb +25 -11
  111. data/lib/google/cloud/aiplatform/v1/tensorboard_pb.rb +26 -14
  112. data/lib/google/cloud/aiplatform/v1/tensorboard_run_pb.rb +25 -10
  113. data/lib/google/cloud/aiplatform/v1/tensorboard_service_pb.rb +31 -186
  114. data/lib/google/cloud/aiplatform/v1/tensorboard_time_series_pb.rb +25 -24
  115. data/lib/google/cloud/aiplatform/v1/training_pipeline_pb.rb +30 -63
  116. data/lib/google/cloud/aiplatform/v1/types_pb.rb +24 -13
  117. data/lib/google/cloud/aiplatform/v1/unmanaged_container_model_pb.rb +25 -6
  118. data/lib/google/cloud/aiplatform/v1/user_action_reference_pb.rb +24 -8
  119. data/lib/google/cloud/aiplatform/v1/value_pb.rb +24 -8
  120. data/lib/google/cloud/aiplatform/v1/vizier_service_pb.rb +27 -88
  121. data/lib/google/cloud/aiplatform/v1/vizier_service_services_pb.rb +2 -1
  122. data/proto_docs/google/cloud/aiplatform/v1/accelerator_type.rb +3 -0
  123. data/proto_docs/google/cloud/aiplatform/v1/featurestore_service.rb +6 -2
  124. data/proto_docs/google/cloud/aiplatform/v1/index_endpoint.rb +7 -8
  125. data/proto_docs/google/cloud/aiplatform/v1/metadata_service.rb +12 -3
  126. data/proto_docs/google/cloud/aiplatform/v1/model.rb +14 -0
  127. data/proto_docs/google/cloud/aiplatform/v1/model_evaluation.rb +3 -2
  128. data/proto_docs/google/cloud/aiplatform/v1/model_garden_service.rb +61 -0
  129. data/proto_docs/google/cloud/aiplatform/v1/model_service.rb +32 -0
  130. data/proto_docs/google/cloud/aiplatform/v1/publisher_model.rb +235 -0
  131. data/proto_docs/google/cloud/aiplatform/v1/tensorboard_experiment.rb +2 -1
  132. data/proto_docs/google/protobuf/any.rb +7 -4
  133. data/proto_docs/google/protobuf/struct.rb +1 -1
  134. data/proto_docs/google/protobuf/timestamp.rb +1 -3
  135. 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/index.proto
3
4
 
@@ -9,46 +10,34 @@ require 'google/cloud/aiplatform/v1/deployed_index_ref_pb'
9
10
  require 'google/protobuf/struct_pb'
10
11
  require 'google/protobuf/timestamp_pb'
11
12
 
12
- Google::Protobuf::DescriptorPool.generated_pool.build do
13
- add_file("google/cloud/aiplatform/v1/index.proto", :syntax => :proto3) do
14
- add_message "google.cloud.aiplatform.v1.Index" do
15
- optional :name, :string, 1
16
- optional :display_name, :string, 2
17
- optional :description, :string, 3
18
- optional :metadata_schema_uri, :string, 4
19
- optional :metadata, :message, 6, "google.protobuf.Value"
20
- repeated :deployed_indexes, :message, 7, "google.cloud.aiplatform.v1.DeployedIndexRef"
21
- optional :etag, :string, 8
22
- map :labels, :string, :string, 9
23
- optional :create_time, :message, 10, "google.protobuf.Timestamp"
24
- optional :update_time, :message, 11, "google.protobuf.Timestamp"
25
- optional :index_stats, :message, 14, "google.cloud.aiplatform.v1.IndexStats"
26
- optional :index_update_method, :enum, 16, "google.cloud.aiplatform.v1.Index.IndexUpdateMethod"
27
- end
28
- add_enum "google.cloud.aiplatform.v1.Index.IndexUpdateMethod" do
29
- value :INDEX_UPDATE_METHOD_UNSPECIFIED, 0
30
- value :BATCH_UPDATE, 1
31
- value :STREAM_UPDATE, 2
32
- end
33
- add_message "google.cloud.aiplatform.v1.IndexDatapoint" do
34
- optional :datapoint_id, :string, 1
35
- repeated :feature_vector, :float, 2
36
- repeated :restricts, :message, 4, "google.cloud.aiplatform.v1.IndexDatapoint.Restriction"
37
- optional :crowding_tag, :message, 5, "google.cloud.aiplatform.v1.IndexDatapoint.CrowdingTag"
38
- end
39
- add_message "google.cloud.aiplatform.v1.IndexDatapoint.Restriction" do
40
- optional :namespace, :string, 1
41
- repeated :allow_list, :string, 2
42
- repeated :deny_list, :string, 3
43
- end
44
- add_message "google.cloud.aiplatform.v1.IndexDatapoint.CrowdingTag" do
45
- optional :crowding_attribute, :string, 1
46
- end
47
- add_message "google.cloud.aiplatform.v1.IndexStats" do
48
- optional :vectors_count, :int64, 1
49
- optional :shards_count, :int32, 2
13
+
14
+ descriptor_data = "\n&google/cloud/aiplatform/v1/index.proto\x12\x1agoogle.cloud.aiplatform.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x33google/cloud/aiplatform/v1/deployed_index_ref.proto\x1a\x1cgoogle/protobuf/struct.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xa2\x06\n\x05Index\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x03\x12\x19\n\x0c\x64isplay_name\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12\x13\n\x0b\x64\x65scription\x18\x03 \x01(\t\x12 \n\x13metadata_schema_uri\x18\x04 \x01(\tB\x03\xe0\x41\x05\x12(\n\x08metadata\x18\x06 \x01(\x0b\x32\x16.google.protobuf.Value\x12K\n\x10\x64\x65ployed_indexes\x18\x07 \x03(\x0b\x32,.google.cloud.aiplatform.v1.DeployedIndexRefB\x03\xe0\x41\x03\x12\x0c\n\x04\x65tag\x18\x08 \x01(\t\x12=\n\x06labels\x18\t \x03(\x0b\x32-.google.cloud.aiplatform.v1.Index.LabelsEntry\x12\x34\n\x0b\x63reate_time\x18\n \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x34\n\x0bupdate_time\x18\x0b \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12@\n\x0bindex_stats\x18\x0e \x01(\x0b\x32&.google.cloud.aiplatform.v1.IndexStatsB\x03\xe0\x41\x03\x12U\n\x13index_update_method\x18\x10 \x01(\x0e\x32\x33.google.cloud.aiplatform.v1.Index.IndexUpdateMethodB\x03\xe0\x41\x05\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"]\n\x11IndexUpdateMethod\x12#\n\x1fINDEX_UPDATE_METHOD_UNSPECIFIED\x10\x00\x12\x10\n\x0c\x42\x41TCH_UPDATE\x10\x01\x12\x11\n\rSTREAM_UPDATE\x10\x02:]\xea\x41Z\n\x1f\x61iplatform.googleapis.com/Index\x12\x37projects/{project}/locations/{location}/indexes/{index}\"\xdf\x02\n\x0eIndexDatapoint\x12\x19\n\x0c\x64\x61tapoint_id\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x1b\n\x0e\x66\x65\x61ture_vector\x18\x02 \x03(\x02\x42\x03\xe0\x41\x02\x12N\n\trestricts\x18\x04 \x03(\x0b\x32\x36.google.cloud.aiplatform.v1.IndexDatapoint.RestrictionB\x03\xe0\x41\x01\x12Q\n\x0c\x63rowding_tag\x18\x05 \x01(\x0b\x32\x36.google.cloud.aiplatform.v1.IndexDatapoint.CrowdingTagB\x03\xe0\x41\x01\x1aG\n\x0bRestriction\x12\x11\n\tnamespace\x18\x01 \x01(\t\x12\x12\n\nallow_list\x18\x02 \x03(\t\x12\x11\n\tdeny_list\x18\x03 \x03(\t\x1a)\n\x0b\x43rowdingTag\x12\x1a\n\x12\x63rowding_attribute\x18\x01 \x01(\t\"C\n\nIndexStats\x12\x1a\n\rvectors_count\x18\x01 \x01(\x03\x42\x03\xe0\x41\x03\x12\x19\n\x0cshards_count\x18\x02 \x01(\x05\x42\x03\xe0\x41\x03\x42\xc8\x01\n\x1e\x63om.google.cloud.aiplatform.v1B\nIndexProtoP\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"
15
+
16
+ pool = Google::Protobuf::DescriptorPool.generated_pool
17
+
18
+ begin
19
+ pool.add_serialized_file(descriptor_data)
20
+ rescue TypeError => e
21
+ # Compatibility code: will be removed in the next major version.
22
+ require 'google/protobuf/descriptor_pb'
23
+ parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
24
+ parsed.clear_dependency
25
+ serialized = parsed.class.encode(parsed)
26
+ file = pool.add_serialized_file(serialized)
27
+ warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
28
+ imports = [
29
+ ["google.protobuf.Value", "google/protobuf/struct.proto"],
30
+ ["google.cloud.aiplatform.v1.DeployedIndexRef", "google/cloud/aiplatform/v1/deployed_index_ref.proto"],
31
+ ["google.protobuf.Timestamp", "google/protobuf/timestamp.proto"],
32
+ ]
33
+ imports.each do |type_name, expected_filename|
34
+ import_file = pool.lookup(type_name).file_descriptor
35
+ if import_file.name != expected_filename
36
+ warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
50
37
  end
51
38
  end
39
+ warn "Each proto file must use a consistent fully-qualified name."
40
+ warn "This will become an error in the next major version."
52
41
  end
53
42
 
54
43
  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/index_service.proto
3
4
 
@@ -13,81 +14,34 @@ require 'google/longrunning/operations_pb'
13
14
  require 'google/protobuf/empty_pb'
14
15
  require 'google/protobuf/field_mask_pb'
15
16
 
16
- Google::Protobuf::DescriptorPool.generated_pool.build do
17
- add_file("google/cloud/aiplatform/v1/index_service.proto", :syntax => :proto3) do
18
- add_message "google.cloud.aiplatform.v1.CreateIndexRequest" do
19
- optional :parent, :string, 1
20
- optional :index, :message, 2, "google.cloud.aiplatform.v1.Index"
21
- end
22
- add_message "google.cloud.aiplatform.v1.CreateIndexOperationMetadata" do
23
- optional :generic_metadata, :message, 1, "google.cloud.aiplatform.v1.GenericOperationMetadata"
24
- optional :nearest_neighbor_search_operation_metadata, :message, 2, "google.cloud.aiplatform.v1.NearestNeighborSearchOperationMetadata"
25
- end
26
- add_message "google.cloud.aiplatform.v1.GetIndexRequest" do
27
- optional :name, :string, 1
28
- end
29
- add_message "google.cloud.aiplatform.v1.ListIndexesRequest" do
30
- optional :parent, :string, 1
31
- optional :filter, :string, 2
32
- optional :page_size, :int32, 3
33
- optional :page_token, :string, 4
34
- optional :read_mask, :message, 5, "google.protobuf.FieldMask"
35
- end
36
- add_message "google.cloud.aiplatform.v1.ListIndexesResponse" do
37
- repeated :indexes, :message, 1, "google.cloud.aiplatform.v1.Index"
38
- optional :next_page_token, :string, 2
39
- end
40
- add_message "google.cloud.aiplatform.v1.UpdateIndexRequest" do
41
- optional :index, :message, 1, "google.cloud.aiplatform.v1.Index"
42
- optional :update_mask, :message, 2, "google.protobuf.FieldMask"
43
- end
44
- add_message "google.cloud.aiplatform.v1.UpdateIndexOperationMetadata" do
45
- optional :generic_metadata, :message, 1, "google.cloud.aiplatform.v1.GenericOperationMetadata"
46
- optional :nearest_neighbor_search_operation_metadata, :message, 2, "google.cloud.aiplatform.v1.NearestNeighborSearchOperationMetadata"
47
- end
48
- add_message "google.cloud.aiplatform.v1.DeleteIndexRequest" do
49
- optional :name, :string, 1
50
- end
51
- add_message "google.cloud.aiplatform.v1.UpsertDatapointsRequest" do
52
- optional :index, :string, 1
53
- repeated :datapoints, :message, 2, "google.cloud.aiplatform.v1.IndexDatapoint"
54
- end
55
- add_message "google.cloud.aiplatform.v1.UpsertDatapointsResponse" do
56
- end
57
- add_message "google.cloud.aiplatform.v1.RemoveDatapointsRequest" do
58
- optional :index, :string, 1
59
- repeated :datapoint_ids, :string, 2
60
- end
61
- add_message "google.cloud.aiplatform.v1.RemoveDatapointsResponse" do
62
- end
63
- add_message "google.cloud.aiplatform.v1.NearestNeighborSearchOperationMetadata" do
64
- repeated :content_validation_stats, :message, 1, "google.cloud.aiplatform.v1.NearestNeighborSearchOperationMetadata.ContentValidationStats"
65
- optional :data_bytes_count, :int64, 2
66
- end
67
- add_message "google.cloud.aiplatform.v1.NearestNeighborSearchOperationMetadata.RecordError" do
68
- optional :error_type, :enum, 1, "google.cloud.aiplatform.v1.NearestNeighborSearchOperationMetadata.RecordError.RecordErrorType"
69
- optional :error_message, :string, 2
70
- optional :source_gcs_uri, :string, 3
71
- optional :embedding_id, :string, 4
72
- optional :raw_record, :string, 5
73
- end
74
- add_enum "google.cloud.aiplatform.v1.NearestNeighborSearchOperationMetadata.RecordError.RecordErrorType" do
75
- value :ERROR_TYPE_UNSPECIFIED, 0
76
- value :EMPTY_LINE, 1
77
- value :INVALID_JSON_SYNTAX, 2
78
- value :INVALID_CSV_SYNTAX, 3
79
- value :INVALID_AVRO_SYNTAX, 4
80
- value :INVALID_EMBEDDING_ID, 5
81
- value :EMBEDDING_SIZE_MISMATCH, 6
82
- value :NAMESPACE_MISSING, 7
83
- end
84
- add_message "google.cloud.aiplatform.v1.NearestNeighborSearchOperationMetadata.ContentValidationStats" do
85
- optional :source_gcs_uri, :string, 1
86
- optional :valid_record_count, :int64, 2
87
- optional :invalid_record_count, :int64, 3
88
- repeated :partial_errors, :message, 4, "google.cloud.aiplatform.v1.NearestNeighborSearchOperationMetadata.RecordError"
17
+
18
+ descriptor_data = "\n.google/cloud/aiplatform/v1/index_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&google/cloud/aiplatform/v1/index.proto\x1a*google/cloud/aiplatform/v1/operation.proto\x1a#google/longrunning/operations.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a google/protobuf/field_mask.proto\"\x86\x01\n\x12\x43reateIndexRequest\x12\x39\n\x06parent\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!locations.googleapis.com/Location\x12\x35\n\x05index\x18\x02 \x01(\x0b\x32!.google.cloud.aiplatform.v1.IndexB\x03\xe0\x41\x02\"\xe6\x01\n\x1c\x43reateIndexOperationMetadata\x12N\n\x10generic_metadata\x18\x01 \x01(\x0b\x32\x34.google.cloud.aiplatform.v1.GenericOperationMetadata\x12v\n*nearest_neighbor_search_operation_metadata\x18\x02 \x01(\x0b\x32\x42.google.cloud.aiplatform.v1.NearestNeighborSearchOperationMetadata\"H\n\x0fGetIndexRequest\x12\x35\n\x04name\x18\x01 \x01(\tB\'\xe0\x41\x02\xfa\x41!\n\x1f\x61iplatform.googleapis.com/Index\"\xb5\x01\n\x12ListIndexesRequest\x12\x39\n\x06parent\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!locations.googleapis.com/Location\x12\x0e\n\x06\x66ilter\x18\x02 \x01(\t\x12\x11\n\tpage_size\x18\x03 \x01(\x05\x12\x12\n\npage_token\x18\x04 \x01(\t\x12-\n\tread_mask\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\"b\n\x13ListIndexesResponse\x12\x32\n\x07indexes\x18\x01 \x03(\x0b\x32!.google.cloud.aiplatform.v1.Index\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"|\n\x12UpdateIndexRequest\x12\x35\n\x05index\x18\x01 \x01(\x0b\x32!.google.cloud.aiplatform.v1.IndexB\x03\xe0\x41\x02\x12/\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\"\xe6\x01\n\x1cUpdateIndexOperationMetadata\x12N\n\x10generic_metadata\x18\x01 \x01(\x0b\x32\x34.google.cloud.aiplatform.v1.GenericOperationMetadata\x12v\n*nearest_neighbor_search_operation_metadata\x18\x02 \x01(\x0b\x32\x42.google.cloud.aiplatform.v1.NearestNeighborSearchOperationMetadata\"K\n\x12\x44\x65leteIndexRequest\x12\x35\n\x04name\x18\x01 \x01(\tB\'\xe0\x41\x02\xfa\x41!\n\x1f\x61iplatform.googleapis.com/Index\"\x91\x01\n\x17UpsertDatapointsRequest\x12\x36\n\x05index\x18\x01 \x01(\tB\'\xe0\x41\x02\xfa\x41!\n\x1f\x61iplatform.googleapis.com/Index\x12>\n\ndatapoints\x18\x02 \x03(\x0b\x32*.google.cloud.aiplatform.v1.IndexDatapoint\"\x1a\n\x18UpsertDatapointsResponse\"h\n\x17RemoveDatapointsRequest\x12\x36\n\x05index\x18\x01 \x01(\tB\'\xe0\x41\x02\xfa\x41!\n\x1f\x61iplatform.googleapis.com/Index\x12\x15\n\rdatapoint_ids\x18\x02 \x03(\t\"\x1a\n\x18RemoveDatapointsResponse\"\xc9\x06\n&NearestNeighborSearchOperationMetadata\x12{\n\x18\x63ontent_validation_stats\x18\x01 \x03(\x0b\x32Y.google.cloud.aiplatform.v1.NearestNeighborSearchOperationMetadata.ContentValidationStats\x12\x18\n\x10\x64\x61ta_bytes_count\x18\x02 \x01(\x03\x1a\xb2\x03\n\x0bRecordError\x12r\n\nerror_type\x18\x01 \x01(\x0e\x32^.google.cloud.aiplatform.v1.NearestNeighborSearchOperationMetadata.RecordError.RecordErrorType\x12\x15\n\rerror_message\x18\x02 \x01(\t\x12\x16\n\x0esource_gcs_uri\x18\x03 \x01(\t\x12\x14\n\x0c\x65mbedding_id\x18\x04 \x01(\t\x12\x12\n\nraw_record\x18\x05 \x01(\t\"\xd5\x01\n\x0fRecordErrorType\x12\x1a\n\x16\x45RROR_TYPE_UNSPECIFIED\x10\x00\x12\x0e\n\nEMPTY_LINE\x10\x01\x12\x17\n\x13INVALID_JSON_SYNTAX\x10\x02\x12\x16\n\x12INVALID_CSV_SYNTAX\x10\x03\x12\x17\n\x13INVALID_AVRO_SYNTAX\x10\x04\x12\x18\n\x14INVALID_EMBEDDING_ID\x10\x05\x12\x1b\n\x17\x45MBEDDING_SIZE_MISMATCH\x10\x06\x12\x15\n\x11NAMESPACE_MISSING\x10\x07\x1a\xd2\x01\n\x16\x43ontentValidationStats\x12\x16\n\x0esource_gcs_uri\x18\x01 \x01(\t\x12\x1a\n\x12valid_record_count\x18\x02 \x01(\x03\x12\x1c\n\x14invalid_record_count\x18\x03 \x01(\x03\x12\x66\n\x0epartial_errors\x18\x04 \x03(\x0b\x32N.google.cloud.aiplatform.v1.NearestNeighborSearchOperationMetadata.RecordError2\xb6\x0b\n\x0cIndexService\x12\xcf\x01\n\x0b\x43reateIndex\x12..google.cloud.aiplatform.v1.CreateIndexRequest\x1a\x1d.google.longrunning.Operation\"q\x82\xd3\xe4\x93\x02\x34\"+/v1/{parent=projects/*/locations/*}/indexes:\x05index\xda\x41\x0cparent,index\xca\x41%\n\x05Index\x12\x1c\x43reateIndexOperationMetadata\x12\x96\x01\n\x08GetIndex\x12+.google.cloud.aiplatform.v1.GetIndexRequest\x1a!.google.cloud.aiplatform.v1.Index\":\x82\xd3\xe4\x93\x02-\x12+/v1/{name=projects/*/locations/*/indexes/*}\xda\x41\x04name\x12\xac\x01\n\x0bListIndexes\x12..google.cloud.aiplatform.v1.ListIndexesRequest\x1a/.google.cloud.aiplatform.v1.ListIndexesResponse\"<\x82\xd3\xe4\x93\x02-\x12+/v1/{parent=projects/*/locations/*}/indexes\xda\x41\x06parent\x12\xda\x01\n\x0bUpdateIndex\x12..google.cloud.aiplatform.v1.UpdateIndexRequest\x1a\x1d.google.longrunning.Operation\"|\x82\xd3\xe4\x93\x02:21/v1/{index.name=projects/*/locations/*/indexes/*}:\x05index\xda\x41\x11index,update_mask\xca\x41%\n\x05Index\x12\x1cUpdateIndexOperationMetadata\x12\xcb\x01\n\x0b\x44\x65leteIndex\x12..google.cloud.aiplatform.v1.DeleteIndexRequest\x1a\x1d.google.longrunning.Operation\"m\x82\xd3\xe4\x93\x02-*+/v1/{name=projects/*/locations/*/indexes/*}\xda\x41\x04name\xca\x41\x30\n\x15google.protobuf.Empty\x12\x17\x44\x65leteOperationMetadata\x12\xc7\x01\n\x10UpsertDatapoints\x12\x33.google.cloud.aiplatform.v1.UpsertDatapointsRequest\x1a\x34.google.cloud.aiplatform.v1.UpsertDatapointsResponse\"H\x82\xd3\xe4\x93\x02\x42\"=/v1/{index=projects/*/locations/*/indexes/*}:upsertDatapoints:\x01*\x12\xc7\x01\n\x10RemoveDatapoints\x12\x33.google.cloud.aiplatform.v1.RemoveDatapointsRequest\x1a\x34.google.cloud.aiplatform.v1.RemoveDatapointsResponse\"H\x82\xd3\xe4\x93\x02\x42\"=/v1/{index=projects/*/locations/*/indexes/*}:removeDatapoints:\x01*\x1aM\xca\x41\x19\x61iplatform.googleapis.com\xd2\x41.https://www.googleapis.com/auth/cloud-platformB\xcf\x01\n\x1e\x63om.google.cloud.aiplatform.v1B\x11IndexServiceProtoP\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"
19
+
20
+ pool = Google::Protobuf::DescriptorPool.generated_pool
21
+
22
+ begin
23
+ pool.add_serialized_file(descriptor_data)
24
+ rescue TypeError => e
25
+ # Compatibility code: will be removed in the next major version.
26
+ require 'google/protobuf/descriptor_pb'
27
+ parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
28
+ parsed.clear_dependency
29
+ serialized = parsed.class.encode(parsed)
30
+ file = pool.add_serialized_file(serialized)
31
+ warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
32
+ imports = [
33
+ ["google.cloud.aiplatform.v1.Index", "google/cloud/aiplatform/v1/index.proto"],
34
+ ["google.cloud.aiplatform.v1.GenericOperationMetadata", "google/cloud/aiplatform/v1/operation.proto"],
35
+ ["google.protobuf.FieldMask", "google/protobuf/field_mask.proto"],
36
+ ]
37
+ imports.each do |type_name, expected_filename|
38
+ import_file = pool.lookup(type_name).file_descriptor
39
+ if import_file.name != expected_filename
40
+ warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
89
41
  end
90
42
  end
43
+ warn "Each proto file must use a consistent fully-qualified name."
44
+ warn "This will become an error in the next major version."
91
45
  end
92
46
 
93
47
  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/io.proto
3
4
 
@@ -5,36 +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/io.proto", :syntax => :proto3) do
10
- add_message "google.cloud.aiplatform.v1.AvroSource" do
11
- optional :gcs_source, :message, 1, "google.cloud.aiplatform.v1.GcsSource"
12
- end
13
- add_message "google.cloud.aiplatform.v1.CsvSource" do
14
- optional :gcs_source, :message, 1, "google.cloud.aiplatform.v1.GcsSource"
15
- end
16
- add_message "google.cloud.aiplatform.v1.GcsSource" do
17
- repeated :uris, :string, 1
18
- end
19
- add_message "google.cloud.aiplatform.v1.GcsDestination" do
20
- optional :output_uri_prefix, :string, 1
21
- end
22
- add_message "google.cloud.aiplatform.v1.BigQuerySource" do
23
- optional :input_uri, :string, 1
24
- end
25
- add_message "google.cloud.aiplatform.v1.BigQueryDestination" do
26
- optional :output_uri, :string, 1
27
- end
28
- add_message "google.cloud.aiplatform.v1.CsvDestination" do
29
- optional :gcs_destination, :message, 1, "google.cloud.aiplatform.v1.GcsDestination"
30
- end
31
- add_message "google.cloud.aiplatform.v1.TFRecordDestination" do
32
- optional :gcs_destination, :message, 1, "google.cloud.aiplatform.v1.GcsDestination"
33
- end
34
- add_message "google.cloud.aiplatform.v1.ContainerRegistryDestination" do
35
- optional :output_uri, :string, 1
9
+
10
+ descriptor_data = "\n#google/cloud/aiplatform/v1/io.proto\x12\x1agoogle.cloud.aiplatform.v1\x1a\x1fgoogle/api/field_behavior.proto\"L\n\nAvroSource\x12>\n\ngcs_source\x18\x01 \x01(\x0b\x32%.google.cloud.aiplatform.v1.GcsSourceB\x03\xe0\x41\x02\"K\n\tCsvSource\x12>\n\ngcs_source\x18\x01 \x01(\x0b\x32%.google.cloud.aiplatform.v1.GcsSourceB\x03\xe0\x41\x02\"\x1e\n\tGcsSource\x12\x11\n\x04uris\x18\x01 \x03(\tB\x03\xe0\x41\x02\"0\n\x0eGcsDestination\x12\x1e\n\x11output_uri_prefix\x18\x01 \x01(\tB\x03\xe0\x41\x02\"(\n\x0e\x42igQuerySource\x12\x16\n\tinput_uri\x18\x01 \x01(\tB\x03\xe0\x41\x02\".\n\x13\x42igQueryDestination\x12\x17\n\noutput_uri\x18\x01 \x01(\tB\x03\xe0\x41\x02\"Z\n\x0e\x43svDestination\x12H\n\x0fgcs_destination\x18\x01 \x01(\x0b\x32*.google.cloud.aiplatform.v1.GcsDestinationB\x03\xe0\x41\x02\"_\n\x13TFRecordDestination\x12H\n\x0fgcs_destination\x18\x01 \x01(\x0b\x32*.google.cloud.aiplatform.v1.GcsDestinationB\x03\xe0\x41\x02\"7\n\x1c\x43ontainerRegistryDestination\x12\x17\n\noutput_uri\x18\x01 \x01(\tB\x03\xe0\x41\x02\x42\xc5\x01\n\x1e\x63om.google.cloud.aiplatform.v1B\x07IoProtoP\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}"
36
30
  end
37
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."
38
34
  end
39
35
 
40
36
  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/job_service.proto
3
4
 
@@ -19,194 +20,40 @@ require 'google/protobuf/empty_pb'
19
20
  require 'google/protobuf/field_mask_pb'
20
21
  require 'google/protobuf/timestamp_pb'
21
22
 
22
- Google::Protobuf::DescriptorPool.generated_pool.build do
23
- add_file("google/cloud/aiplatform/v1/job_service.proto", :syntax => :proto3) do
24
- add_message "google.cloud.aiplatform.v1.CreateCustomJobRequest" do
25
- optional :parent, :string, 1
26
- optional :custom_job, :message, 2, "google.cloud.aiplatform.v1.CustomJob"
27
- end
28
- add_message "google.cloud.aiplatform.v1.GetCustomJobRequest" do
29
- optional :name, :string, 1
30
- end
31
- add_message "google.cloud.aiplatform.v1.ListCustomJobsRequest" do
32
- optional :parent, :string, 1
33
- optional :filter, :string, 2
34
- optional :page_size, :int32, 3
35
- optional :page_token, :string, 4
36
- optional :read_mask, :message, 5, "google.protobuf.FieldMask"
37
- end
38
- add_message "google.cloud.aiplatform.v1.ListCustomJobsResponse" do
39
- repeated :custom_jobs, :message, 1, "google.cloud.aiplatform.v1.CustomJob"
40
- optional :next_page_token, :string, 2
41
- end
42
- add_message "google.cloud.aiplatform.v1.DeleteCustomJobRequest" do
43
- optional :name, :string, 1
44
- end
45
- add_message "google.cloud.aiplatform.v1.CancelCustomJobRequest" do
46
- optional :name, :string, 1
47
- end
48
- add_message "google.cloud.aiplatform.v1.CreateDataLabelingJobRequest" do
49
- optional :parent, :string, 1
50
- optional :data_labeling_job, :message, 2, "google.cloud.aiplatform.v1.DataLabelingJob"
51
- end
52
- add_message "google.cloud.aiplatform.v1.GetDataLabelingJobRequest" do
53
- optional :name, :string, 1
54
- end
55
- add_message "google.cloud.aiplatform.v1.ListDataLabelingJobsRequest" do
56
- optional :parent, :string, 1
57
- optional :filter, :string, 2
58
- optional :page_size, :int32, 3
59
- optional :page_token, :string, 4
60
- optional :read_mask, :message, 5, "google.protobuf.FieldMask"
61
- optional :order_by, :string, 6
62
- end
63
- add_message "google.cloud.aiplatform.v1.ListDataLabelingJobsResponse" do
64
- repeated :data_labeling_jobs, :message, 1, "google.cloud.aiplatform.v1.DataLabelingJob"
65
- optional :next_page_token, :string, 2
66
- end
67
- add_message "google.cloud.aiplatform.v1.DeleteDataLabelingJobRequest" do
68
- optional :name, :string, 1
69
- end
70
- add_message "google.cloud.aiplatform.v1.CancelDataLabelingJobRequest" do
71
- optional :name, :string, 1
72
- end
73
- add_message "google.cloud.aiplatform.v1.CreateHyperparameterTuningJobRequest" do
74
- optional :parent, :string, 1
75
- optional :hyperparameter_tuning_job, :message, 2, "google.cloud.aiplatform.v1.HyperparameterTuningJob"
76
- end
77
- add_message "google.cloud.aiplatform.v1.GetHyperparameterTuningJobRequest" do
78
- optional :name, :string, 1
79
- end
80
- add_message "google.cloud.aiplatform.v1.ListHyperparameterTuningJobsRequest" do
81
- optional :parent, :string, 1
82
- optional :filter, :string, 2
83
- optional :page_size, :int32, 3
84
- optional :page_token, :string, 4
85
- optional :read_mask, :message, 5, "google.protobuf.FieldMask"
86
- end
87
- add_message "google.cloud.aiplatform.v1.ListHyperparameterTuningJobsResponse" do
88
- repeated :hyperparameter_tuning_jobs, :message, 1, "google.cloud.aiplatform.v1.HyperparameterTuningJob"
89
- optional :next_page_token, :string, 2
90
- end
91
- add_message "google.cloud.aiplatform.v1.DeleteHyperparameterTuningJobRequest" do
92
- optional :name, :string, 1
93
- end
94
- add_message "google.cloud.aiplatform.v1.CancelHyperparameterTuningJobRequest" do
95
- optional :name, :string, 1
96
- end
97
- add_message "google.cloud.aiplatform.v1.CreateNasJobRequest" do
98
- optional :parent, :string, 1
99
- optional :nas_job, :message, 2, "google.cloud.aiplatform.v1.NasJob"
100
- end
101
- add_message "google.cloud.aiplatform.v1.GetNasJobRequest" do
102
- optional :name, :string, 1
103
- end
104
- add_message "google.cloud.aiplatform.v1.ListNasJobsRequest" do
105
- optional :parent, :string, 1
106
- optional :filter, :string, 2
107
- optional :page_size, :int32, 3
108
- optional :page_token, :string, 4
109
- optional :read_mask, :message, 5, "google.protobuf.FieldMask"
110
- end
111
- add_message "google.cloud.aiplatform.v1.ListNasJobsResponse" do
112
- repeated :nas_jobs, :message, 1, "google.cloud.aiplatform.v1.NasJob"
113
- optional :next_page_token, :string, 2
114
- end
115
- add_message "google.cloud.aiplatform.v1.DeleteNasJobRequest" do
116
- optional :name, :string, 1
117
- end
118
- add_message "google.cloud.aiplatform.v1.CancelNasJobRequest" do
119
- optional :name, :string, 1
120
- end
121
- add_message "google.cloud.aiplatform.v1.GetNasTrialDetailRequest" do
122
- optional :name, :string, 1
123
- end
124
- add_message "google.cloud.aiplatform.v1.ListNasTrialDetailsRequest" do
125
- optional :parent, :string, 1
126
- optional :page_size, :int32, 2
127
- optional :page_token, :string, 3
128
- end
129
- add_message "google.cloud.aiplatform.v1.ListNasTrialDetailsResponse" do
130
- repeated :nas_trial_details, :message, 1, "google.cloud.aiplatform.v1.NasTrialDetail"
131
- optional :next_page_token, :string, 2
132
- end
133
- add_message "google.cloud.aiplatform.v1.CreateBatchPredictionJobRequest" do
134
- optional :parent, :string, 1
135
- optional :batch_prediction_job, :message, 2, "google.cloud.aiplatform.v1.BatchPredictionJob"
136
- end
137
- add_message "google.cloud.aiplatform.v1.GetBatchPredictionJobRequest" do
138
- optional :name, :string, 1
139
- end
140
- add_message "google.cloud.aiplatform.v1.ListBatchPredictionJobsRequest" do
141
- optional :parent, :string, 1
142
- optional :filter, :string, 2
143
- optional :page_size, :int32, 3
144
- optional :page_token, :string, 4
145
- optional :read_mask, :message, 5, "google.protobuf.FieldMask"
146
- end
147
- add_message "google.cloud.aiplatform.v1.ListBatchPredictionJobsResponse" do
148
- repeated :batch_prediction_jobs, :message, 1, "google.cloud.aiplatform.v1.BatchPredictionJob"
149
- optional :next_page_token, :string, 2
150
- end
151
- add_message "google.cloud.aiplatform.v1.DeleteBatchPredictionJobRequest" do
152
- optional :name, :string, 1
153
- end
154
- add_message "google.cloud.aiplatform.v1.CancelBatchPredictionJobRequest" do
155
- optional :name, :string, 1
156
- end
157
- add_message "google.cloud.aiplatform.v1.CreateModelDeploymentMonitoringJobRequest" do
158
- optional :parent, :string, 1
159
- optional :model_deployment_monitoring_job, :message, 2, "google.cloud.aiplatform.v1.ModelDeploymentMonitoringJob"
160
- end
161
- add_message "google.cloud.aiplatform.v1.SearchModelDeploymentMonitoringStatsAnomaliesRequest" do
162
- optional :model_deployment_monitoring_job, :string, 1
163
- optional :deployed_model_id, :string, 2
164
- optional :feature_display_name, :string, 3
165
- repeated :objectives, :message, 4, "google.cloud.aiplatform.v1.SearchModelDeploymentMonitoringStatsAnomaliesRequest.StatsAnomaliesObjective"
166
- optional :page_size, :int32, 5
167
- optional :page_token, :string, 6
168
- optional :start_time, :message, 7, "google.protobuf.Timestamp"
169
- optional :end_time, :message, 8, "google.protobuf.Timestamp"
170
- end
171
- add_message "google.cloud.aiplatform.v1.SearchModelDeploymentMonitoringStatsAnomaliesRequest.StatsAnomaliesObjective" do
172
- optional :type, :enum, 1, "google.cloud.aiplatform.v1.ModelDeploymentMonitoringObjectiveType"
173
- optional :top_feature_count, :int32, 4
174
- end
175
- add_message "google.cloud.aiplatform.v1.SearchModelDeploymentMonitoringStatsAnomaliesResponse" do
176
- repeated :monitoring_stats, :message, 1, "google.cloud.aiplatform.v1.ModelMonitoringStatsAnomalies"
177
- optional :next_page_token, :string, 2
178
- end
179
- add_message "google.cloud.aiplatform.v1.GetModelDeploymentMonitoringJobRequest" do
180
- optional :name, :string, 1
181
- end
182
- add_message "google.cloud.aiplatform.v1.ListModelDeploymentMonitoringJobsRequest" do
183
- optional :parent, :string, 1
184
- optional :filter, :string, 2
185
- optional :page_size, :int32, 3
186
- optional :page_token, :string, 4
187
- optional :read_mask, :message, 5, "google.protobuf.FieldMask"
188
- end
189
- add_message "google.cloud.aiplatform.v1.ListModelDeploymentMonitoringJobsResponse" do
190
- repeated :model_deployment_monitoring_jobs, :message, 1, "google.cloud.aiplatform.v1.ModelDeploymentMonitoringJob"
191
- optional :next_page_token, :string, 2
192
- end
193
- add_message "google.cloud.aiplatform.v1.UpdateModelDeploymentMonitoringJobRequest" do
194
- optional :model_deployment_monitoring_job, :message, 1, "google.cloud.aiplatform.v1.ModelDeploymentMonitoringJob"
195
- optional :update_mask, :message, 2, "google.protobuf.FieldMask"
196
- end
197
- add_message "google.cloud.aiplatform.v1.DeleteModelDeploymentMonitoringJobRequest" do
198
- optional :name, :string, 1
199
- end
200
- add_message "google.cloud.aiplatform.v1.PauseModelDeploymentMonitoringJobRequest" do
201
- optional :name, :string, 1
202
- end
203
- add_message "google.cloud.aiplatform.v1.ResumeModelDeploymentMonitoringJobRequest" do
204
- optional :name, :string, 1
205
- end
206
- add_message "google.cloud.aiplatform.v1.UpdateModelDeploymentMonitoringJobOperationMetadata" do
207
- optional :generic_metadata, :message, 1, "google.cloud.aiplatform.v1.GenericOperationMetadata"
23
+
24
+ descriptor_data = "\n,google/cloud/aiplatform/v1/job_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\x35google/cloud/aiplatform/v1/batch_prediction_job.proto\x1a+google/cloud/aiplatform/v1/custom_job.proto\x1a\x32google/cloud/aiplatform/v1/data_labeling_job.proto\x1a:google/cloud/aiplatform/v1/hyperparameter_tuning_job.proto\x1a@google/cloud/aiplatform/v1/model_deployment_monitoring_job.proto\x1a(google/cloud/aiplatform/v1/nas_job.proto\x1a*google/cloud/aiplatform/v1/operation.proto\x1a#google/longrunning/operations.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a google/protobuf/field_mask.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\x93\x01\n\x16\x43reateCustomJobRequest\x12\x39\n\x06parent\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!locations.googleapis.com/Location\x12>\n\ncustom_job\x18\x02 \x01(\x0b\x32%.google.cloud.aiplatform.v1.CustomJobB\x03\xe0\x41\x02\"P\n\x13GetCustomJobRequest\x12\x39\n\x04name\x18\x01 \x01(\tB+\xe0\x41\x02\xfa\x41%\n#aiplatform.googleapis.com/CustomJob\"\xb8\x01\n\x15ListCustomJobsRequest\x12\x39\n\x06parent\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!locations.googleapis.com/Location\x12\x0e\n\x06\x66ilter\x18\x02 \x01(\t\x12\x11\n\tpage_size\x18\x03 \x01(\x05\x12\x12\n\npage_token\x18\x04 \x01(\t\x12-\n\tread_mask\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\"m\n\x16ListCustomJobsResponse\x12:\n\x0b\x63ustom_jobs\x18\x01 \x03(\x0b\x32%.google.cloud.aiplatform.v1.CustomJob\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"S\n\x16\x44\x65leteCustomJobRequest\x12\x39\n\x04name\x18\x01 \x01(\tB+\xe0\x41\x02\xfa\x41%\n#aiplatform.googleapis.com/CustomJob\"S\n\x16\x43\x61ncelCustomJobRequest\x12\x39\n\x04name\x18\x01 \x01(\tB+\xe0\x41\x02\xfa\x41%\n#aiplatform.googleapis.com/CustomJob\"\xa6\x01\n\x1c\x43reateDataLabelingJobRequest\x12\x39\n\x06parent\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!locations.googleapis.com/Location\x12K\n\x11\x64\x61ta_labeling_job\x18\x02 \x01(\x0b\x32+.google.cloud.aiplatform.v1.DataLabelingJobB\x03\xe0\x41\x02\"\\\n\x19GetDataLabelingJobRequest\x12?\n\x04name\x18\x01 \x01(\tB1\xe0\x41\x02\xfa\x41+\n)aiplatform.googleapis.com/DataLabelingJob\"\xd0\x01\n\x1bListDataLabelingJobsRequest\x12\x39\n\x06parent\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!locations.googleapis.com/Location\x12\x0e\n\x06\x66ilter\x18\x02 \x01(\t\x12\x11\n\tpage_size\x18\x03 \x01(\x05\x12\x12\n\npage_token\x18\x04 \x01(\t\x12-\n\tread_mask\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\x12\x10\n\x08order_by\x18\x06 \x01(\t\"\x80\x01\n\x1cListDataLabelingJobsResponse\x12G\n\x12\x64\x61ta_labeling_jobs\x18\x01 \x03(\x0b\x32+.google.cloud.aiplatform.v1.DataLabelingJob\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"_\n\x1c\x44\x65leteDataLabelingJobRequest\x12?\n\x04name\x18\x01 \x01(\tB1\xe0\x41\x02\xfa\x41+\n)aiplatform.googleapis.com/DataLabelingJob\"_\n\x1c\x43\x61ncelDataLabelingJobRequest\x12?\n\x04name\x18\x01 \x01(\tB1\xe0\x41\x02\xfa\x41+\n)aiplatform.googleapis.com/DataLabelingJob\"\xbe\x01\n$CreateHyperparameterTuningJobRequest\x12\x39\n\x06parent\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!locations.googleapis.com/Location\x12[\n\x19hyperparameter_tuning_job\x18\x02 \x01(\x0b\x32\x33.google.cloud.aiplatform.v1.HyperparameterTuningJobB\x03\xe0\x41\x02\"l\n!GetHyperparameterTuningJobRequest\x12G\n\x04name\x18\x01 \x01(\tB9\xe0\x41\x02\xfa\x41\x33\n1aiplatform.googleapis.com/HyperparameterTuningJob\"\xc6\x01\n#ListHyperparameterTuningJobsRequest\x12\x39\n\x06parent\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!locations.googleapis.com/Location\x12\x0e\n\x06\x66ilter\x18\x02 \x01(\t\x12\x11\n\tpage_size\x18\x03 \x01(\x05\x12\x12\n\npage_token\x18\x04 \x01(\t\x12-\n\tread_mask\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\"\x98\x01\n$ListHyperparameterTuningJobsResponse\x12W\n\x1ahyperparameter_tuning_jobs\x18\x01 \x03(\x0b\x32\x33.google.cloud.aiplatform.v1.HyperparameterTuningJob\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"o\n$DeleteHyperparameterTuningJobRequest\x12G\n\x04name\x18\x01 \x01(\tB9\xe0\x41\x02\xfa\x41\x33\n1aiplatform.googleapis.com/HyperparameterTuningJob\"o\n$CancelHyperparameterTuningJobRequest\x12G\n\x04name\x18\x01 \x01(\tB9\xe0\x41\x02\xfa\x41\x33\n1aiplatform.googleapis.com/HyperparameterTuningJob\"\x8a\x01\n\x13\x43reateNasJobRequest\x12\x39\n\x06parent\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!locations.googleapis.com/Location\x12\x38\n\x07nas_job\x18\x02 \x01(\x0b\x32\".google.cloud.aiplatform.v1.NasJobB\x03\xe0\x41\x02\"J\n\x10GetNasJobRequest\x12\x36\n\x04name\x18\x01 \x01(\tB(\xe0\x41\x02\xfa\x41\"\n aiplatform.googleapis.com/NasJob\"\xb5\x01\n\x12ListNasJobsRequest\x12\x39\n\x06parent\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!locations.googleapis.com/Location\x12\x0e\n\x06\x66ilter\x18\x02 \x01(\t\x12\x11\n\tpage_size\x18\x03 \x01(\x05\x12\x12\n\npage_token\x18\x04 \x01(\t\x12-\n\tread_mask\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\"d\n\x13ListNasJobsResponse\x12\x34\n\x08nas_jobs\x18\x01 \x03(\x0b\x32\".google.cloud.aiplatform.v1.NasJob\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"M\n\x13\x44\x65leteNasJobRequest\x12\x36\n\x04name\x18\x01 \x01(\tB(\xe0\x41\x02\xfa\x41\"\n aiplatform.googleapis.com/NasJob\"M\n\x13\x43\x61ncelNasJobRequest\x12\x36\n\x04name\x18\x01 \x01(\tB(\xe0\x41\x02\xfa\x41\"\n aiplatform.googleapis.com/NasJob\"Z\n\x18GetNasTrialDetailRequest\x12>\n\x04name\x18\x01 \x01(\tB0\xe0\x41\x02\xfa\x41*\n(aiplatform.googleapis.com/NasTrialDetail\"}\n\x1aListNasTrialDetailsRequest\x12\x38\n\x06parent\x18\x01 \x01(\tB(\xe0\x41\x02\xfa\x41\"\n aiplatform.googleapis.com/NasJob\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\"}\n\x1bListNasTrialDetailsResponse\x12\x45\n\x11nas_trial_details\x18\x01 \x03(\x0b\x32*.google.cloud.aiplatform.v1.NasTrialDetail\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"\xaf\x01\n\x1f\x43reateBatchPredictionJobRequest\x12\x39\n\x06parent\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!locations.googleapis.com/Location\x12Q\n\x14\x62\x61tch_prediction_job\x18\x02 \x01(\x0b\x32..google.cloud.aiplatform.v1.BatchPredictionJobB\x03\xe0\x41\x02\"b\n\x1cGetBatchPredictionJobRequest\x12\x42\n\x04name\x18\x01 \x01(\tB4\xe0\x41\x02\xfa\x41.\n,aiplatform.googleapis.com/BatchPredictionJob\"\xc1\x01\n\x1eListBatchPredictionJobsRequest\x12\x39\n\x06parent\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!locations.googleapis.com/Location\x12\x0e\n\x06\x66ilter\x18\x02 \x01(\t\x12\x11\n\tpage_size\x18\x03 \x01(\x05\x12\x12\n\npage_token\x18\x04 \x01(\t\x12-\n\tread_mask\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\"\x89\x01\n\x1fListBatchPredictionJobsResponse\x12M\n\x15\x62\x61tch_prediction_jobs\x18\x01 \x03(\x0b\x32..google.cloud.aiplatform.v1.BatchPredictionJob\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"e\n\x1f\x44\x65leteBatchPredictionJobRequest\x12\x42\n\x04name\x18\x01 \x01(\tB4\xe0\x41\x02\xfa\x41.\n,aiplatform.googleapis.com/BatchPredictionJob\"e\n\x1f\x43\x61ncelBatchPredictionJobRequest\x12\x42\n\x04name\x18\x01 \x01(\tB4\xe0\x41\x02\xfa\x41.\n,aiplatform.googleapis.com/BatchPredictionJob\"\xce\x01\n)CreateModelDeploymentMonitoringJobRequest\x12\x39\n\x06parent\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!locations.googleapis.com/Location\x12\x66\n\x1fmodel_deployment_monitoring_job\x18\x02 \x01(\x0b\x32\x38.google.cloud.aiplatform.v1.ModelDeploymentMonitoringJobB\x03\xe0\x41\x02\"\xef\x04\n4SearchModelDeploymentMonitoringStatsAnomaliesRequest\x12g\n\x1fmodel_deployment_monitoring_job\x18\x01 \x01(\tB>\xe0\x41\x02\xfa\x41\x38\n6aiplatform.googleapis.com/ModelDeploymentMonitoringJob\x12\x1e\n\x11\x64\x65ployed_model_id\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12\x1c\n\x14\x66\x65\x61ture_display_name\x18\x03 \x01(\t\x12\x81\x01\n\nobjectives\x18\x04 \x03(\x0b\x32h.google.cloud.aiplatform.v1.SearchModelDeploymentMonitoringStatsAnomaliesRequest.StatsAnomaliesObjectiveB\x03\xe0\x41\x02\x12\x11\n\tpage_size\x18\x05 \x01(\x05\x12\x12\n\npage_token\x18\x06 \x01(\t\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.Timestamp\x1a\x86\x01\n\x17StatsAnomaliesObjective\x12P\n\x04type\x18\x01 \x01(\x0e\x32\x42.google.cloud.aiplatform.v1.ModelDeploymentMonitoringObjectiveType\x12\x19\n\x11top_feature_count\x18\x04 \x01(\x05\"\xa5\x01\n5SearchModelDeploymentMonitoringStatsAnomaliesResponse\x12S\n\x10monitoring_stats\x18\x01 \x03(\x0b\x32\x39.google.cloud.aiplatform.v1.ModelMonitoringStatsAnomalies\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"v\n&GetModelDeploymentMonitoringJobRequest\x12L\n\x04name\x18\x01 \x01(\tB>\xe0\x41\x02\xfa\x41\x38\n6aiplatform.googleapis.com/ModelDeploymentMonitoringJob\"\xcb\x01\n(ListModelDeploymentMonitoringJobsRequest\x12\x39\n\x06parent\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!locations.googleapis.com/Location\x12\x0e\n\x06\x66ilter\x18\x02 \x01(\t\x12\x11\n\tpage_size\x18\x03 \x01(\x05\x12\x12\n\npage_token\x18\x04 \x01(\t\x12-\n\tread_mask\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\"\xa8\x01\n)ListModelDeploymentMonitoringJobsResponse\x12\x62\n model_deployment_monitoring_jobs\x18\x01 \x03(\x0b\x32\x38.google.cloud.aiplatform.v1.ModelDeploymentMonitoringJob\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"\xc9\x01\n)UpdateModelDeploymentMonitoringJobRequest\x12\x66\n\x1fmodel_deployment_monitoring_job\x18\x01 \x01(\x0b\x32\x38.google.cloud.aiplatform.v1.ModelDeploymentMonitoringJobB\x03\xe0\x41\x02\x12\x34\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x02\"y\n)DeleteModelDeploymentMonitoringJobRequest\x12L\n\x04name\x18\x01 \x01(\tB>\xe0\x41\x02\xfa\x41\x38\n6aiplatform.googleapis.com/ModelDeploymentMonitoringJob\"x\n(PauseModelDeploymentMonitoringJobRequest\x12L\n\x04name\x18\x01 \x01(\tB>\xe0\x41\x02\xfa\x41\x38\n6aiplatform.googleapis.com/ModelDeploymentMonitoringJob\"y\n)ResumeModelDeploymentMonitoringJobRequest\x12L\n\x04name\x18\x01 \x01(\tB>\xe0\x41\x02\xfa\x41\x38\n6aiplatform.googleapis.com/ModelDeploymentMonitoringJob\"\x85\x01\n3UpdateModelDeploymentMonitoringJobOperationMetadata\x12N\n\x10generic_metadata\x18\x01 \x01(\x0b\x32\x34.google.cloud.aiplatform.v1.GenericOperationMetadata2\xf0?\n\nJobService\x12\xc4\x01\n\x0f\x43reateCustomJob\x12\x32.google.cloud.aiplatform.v1.CreateCustomJobRequest\x1a%.google.cloud.aiplatform.v1.CustomJob\"V\x82\xd3\xe4\x93\x02<\"./v1/{parent=projects/*/locations/*}/customJobs:\ncustom_job\xda\x41\x11parent,custom_job\x12\xa5\x01\n\x0cGetCustomJob\x12/.google.cloud.aiplatform.v1.GetCustomJobRequest\x1a%.google.cloud.aiplatform.v1.CustomJob\"=\x82\xd3\xe4\x93\x02\x30\x12./v1/{name=projects/*/locations/*/customJobs/*}\xda\x41\x04name\x12\xb8\x01\n\x0eListCustomJobs\x12\x31.google.cloud.aiplatform.v1.ListCustomJobsRequest\x1a\x32.google.cloud.aiplatform.v1.ListCustomJobsResponse\"?\x82\xd3\xe4\x93\x02\x30\x12./v1/{parent=projects/*/locations/*}/customJobs\xda\x41\x06parent\x12\xd6\x01\n\x0f\x44\x65leteCustomJob\x12\x32.google.cloud.aiplatform.v1.DeleteCustomJobRequest\x1a\x1d.google.longrunning.Operation\"p\x82\xd3\xe4\x93\x02\x30*./v1/{name=projects/*/locations/*/customJobs/*}\xda\x41\x04name\xca\x41\x30\n\x15google.protobuf.Empty\x12\x17\x44\x65leteOperationMetadata\x12\xa6\x01\n\x0f\x43\x61ncelCustomJob\x12\x32.google.cloud.aiplatform.v1.CancelCustomJobRequest\x1a\x16.google.protobuf.Empty\"G\x82\xd3\xe4\x93\x02:\"5/v1/{name=projects/*/locations/*/customJobs/*}:cancel:\x01*\xda\x41\x04name\x12\xea\x01\n\x15\x43reateDataLabelingJob\x12\x38.google.cloud.aiplatform.v1.CreateDataLabelingJobRequest\x1a+.google.cloud.aiplatform.v1.DataLabelingJob\"j\x82\xd3\xe4\x93\x02I\"4/v1/{parent=projects/*/locations/*}/dataLabelingJobs:\x11\x64\x61ta_labeling_job\xda\x41\x18parent,data_labeling_job\x12\xbd\x01\n\x12GetDataLabelingJob\x12\x35.google.cloud.aiplatform.v1.GetDataLabelingJobRequest\x1a+.google.cloud.aiplatform.v1.DataLabelingJob\"C\x82\xd3\xe4\x93\x02\x36\x12\x34/v1/{name=projects/*/locations/*/dataLabelingJobs/*}\xda\x41\x04name\x12\xd0\x01\n\x14ListDataLabelingJobs\x12\x37.google.cloud.aiplatform.v1.ListDataLabelingJobsRequest\x1a\x38.google.cloud.aiplatform.v1.ListDataLabelingJobsResponse\"E\x82\xd3\xe4\x93\x02\x36\x12\x34/v1/{parent=projects/*/locations/*}/dataLabelingJobs\xda\x41\x06parent\x12\xe8\x01\n\x15\x44\x65leteDataLabelingJob\x12\x38.google.cloud.aiplatform.v1.DeleteDataLabelingJobRequest\x1a\x1d.google.longrunning.Operation\"v\x82\xd3\xe4\x93\x02\x36*4/v1/{name=projects/*/locations/*/dataLabelingJobs/*}\xda\x41\x04name\xca\x41\x30\n\x15google.protobuf.Empty\x12\x17\x44\x65leteOperationMetadata\x12\xb8\x01\n\x15\x43\x61ncelDataLabelingJob\x12\x38.google.cloud.aiplatform.v1.CancelDataLabelingJobRequest\x1a\x16.google.protobuf.Empty\"M\x82\xd3\xe4\x93\x02@\";/v1/{name=projects/*/locations/*/dataLabelingJobs/*}:cancel:\x01*\xda\x41\x04name\x12\x9b\x02\n\x1d\x43reateHyperparameterTuningJob\x12@.google.cloud.aiplatform.v1.CreateHyperparameterTuningJobRequest\x1a\x33.google.cloud.aiplatform.v1.HyperparameterTuningJob\"\x82\x01\x82\xd3\xe4\x93\x02Y\"</v1/{parent=projects/*/locations/*}/hyperparameterTuningJobs:\x19hyperparameter_tuning_job\xda\x41 parent,hyperparameter_tuning_job\x12\xdd\x01\n\x1aGetHyperparameterTuningJob\x12=.google.cloud.aiplatform.v1.GetHyperparameterTuningJobRequest\x1a\x33.google.cloud.aiplatform.v1.HyperparameterTuningJob\"K\x82\xd3\xe4\x93\x02>\x12</v1/{name=projects/*/locations/*/hyperparameterTuningJobs/*}\xda\x41\x04name\x12\xf0\x01\n\x1cListHyperparameterTuningJobs\x12?.google.cloud.aiplatform.v1.ListHyperparameterTuningJobsRequest\x1a@.google.cloud.aiplatform.v1.ListHyperparameterTuningJobsResponse\"M\x82\xd3\xe4\x93\x02>\x12</v1/{parent=projects/*/locations/*}/hyperparameterTuningJobs\xda\x41\x06parent\x12\x80\x02\n\x1d\x44\x65leteHyperparameterTuningJob\x12@.google.cloud.aiplatform.v1.DeleteHyperparameterTuningJobRequest\x1a\x1d.google.longrunning.Operation\"~\x82\xd3\xe4\x93\x02>*</v1/{name=projects/*/locations/*/hyperparameterTuningJobs/*}\xda\x41\x04name\xca\x41\x30\n\x15google.protobuf.Empty\x12\x17\x44\x65leteOperationMetadata\x12\xd0\x01\n\x1d\x43\x61ncelHyperparameterTuningJob\x12@.google.cloud.aiplatform.v1.CancelHyperparameterTuningJobRequest\x1a\x16.google.protobuf.Empty\"U\x82\xd3\xe4\x93\x02H\"C/v1/{name=projects/*/locations/*/hyperparameterTuningJobs/*}:cancel:\x01*\xda\x41\x04name\x12\xb2\x01\n\x0c\x43reateNasJob\x12/.google.cloud.aiplatform.v1.CreateNasJobRequest\x1a\".google.cloud.aiplatform.v1.NasJob\"M\x82\xd3\xe4\x93\x02\x36\"+/v1/{parent=projects/*/locations/*}/nasJobs:\x07nas_job\xda\x41\x0eparent,nas_job\x12\x99\x01\n\tGetNasJob\x12,.google.cloud.aiplatform.v1.GetNasJobRequest\x1a\".google.cloud.aiplatform.v1.NasJob\":\x82\xd3\xe4\x93\x02-\x12+/v1/{name=projects/*/locations/*/nasJobs/*}\xda\x41\x04name\x12\xac\x01\n\x0bListNasJobs\x12..google.cloud.aiplatform.v1.ListNasJobsRequest\x1a/.google.cloud.aiplatform.v1.ListNasJobsResponse\"<\x82\xd3\xe4\x93\x02-\x12+/v1/{parent=projects/*/locations/*}/nasJobs\xda\x41\x06parent\x12\xcd\x01\n\x0c\x44\x65leteNasJob\x12/.google.cloud.aiplatform.v1.DeleteNasJobRequest\x1a\x1d.google.longrunning.Operation\"m\x82\xd3\xe4\x93\x02-*+/v1/{name=projects/*/locations/*/nasJobs/*}\xda\x41\x04name\xca\x41\x30\n\x15google.protobuf.Empty\x12\x17\x44\x65leteOperationMetadata\x12\x9d\x01\n\x0c\x43\x61ncelNasJob\x12/.google.cloud.aiplatform.v1.CancelNasJobRequest\x1a\x16.google.protobuf.Empty\"D\x82\xd3\xe4\x93\x02\x37\"2/v1/{name=projects/*/locations/*/nasJobs/*}:cancel:\x01*\xda\x41\x04name\x12\xc3\x01\n\x11GetNasTrialDetail\x12\x34.google.cloud.aiplatform.v1.GetNasTrialDetailRequest\x1a*.google.cloud.aiplatform.v1.NasTrialDetail\"L\x82\xd3\xe4\x93\x02?\x12=/v1/{name=projects/*/locations/*/nasJobs/*/nasTrialDetails/*}\xda\x41\x04name\x12\xd6\x01\n\x13ListNasTrialDetails\x12\x36.google.cloud.aiplatform.v1.ListNasTrialDetailsRequest\x1a\x37.google.cloud.aiplatform.v1.ListNasTrialDetailsResponse\"N\x82\xd3\xe4\x93\x02?\x12=/v1/{parent=projects/*/locations/*/nasJobs/*}/nasTrialDetails\xda\x41\x06parent\x12\xfc\x01\n\x18\x43reateBatchPredictionJob\x12;.google.cloud.aiplatform.v1.CreateBatchPredictionJobRequest\x1a..google.cloud.aiplatform.v1.BatchPredictionJob\"s\x82\xd3\xe4\x93\x02O\"7/v1/{parent=projects/*/locations/*}/batchPredictionJobs:\x14\x62\x61tch_prediction_job\xda\x41\x1bparent,batch_prediction_job\x12\xc9\x01\n\x15GetBatchPredictionJob\x12\x38.google.cloud.aiplatform.v1.GetBatchPredictionJobRequest\x1a..google.cloud.aiplatform.v1.BatchPredictionJob\"F\x82\xd3\xe4\x93\x02\x39\x12\x37/v1/{name=projects/*/locations/*/batchPredictionJobs/*}\xda\x41\x04name\x12\xdc\x01\n\x17ListBatchPredictionJobs\x12:.google.cloud.aiplatform.v1.ListBatchPredictionJobsRequest\x1a;.google.cloud.aiplatform.v1.ListBatchPredictionJobsResponse\"H\x82\xd3\xe4\x93\x02\x39\x12\x37/v1/{parent=projects/*/locations/*}/batchPredictionJobs\xda\x41\x06parent\x12\xf1\x01\n\x18\x44\x65leteBatchPredictionJob\x12;.google.cloud.aiplatform.v1.DeleteBatchPredictionJobRequest\x1a\x1d.google.longrunning.Operation\"y\x82\xd3\xe4\x93\x02\x39*7/v1/{name=projects/*/locations/*/batchPredictionJobs/*}\xda\x41\x04name\xca\x41\x30\n\x15google.protobuf.Empty\x12\x17\x44\x65leteOperationMetadata\x12\xc1\x01\n\x18\x43\x61ncelBatchPredictionJob\x12;.google.cloud.aiplatform.v1.CancelBatchPredictionJobRequest\x1a\x16.google.protobuf.Empty\"P\x82\xd3\xe4\x93\x02\x43\">/v1/{name=projects/*/locations/*/batchPredictionJobs/*}:cancel:\x01*\xda\x41\x04name\x12\xbb\x02\n\"CreateModelDeploymentMonitoringJob\x12\x45.google.cloud.aiplatform.v1.CreateModelDeploymentMonitoringJobRequest\x1a\x38.google.cloud.aiplatform.v1.ModelDeploymentMonitoringJob\"\x93\x01\x82\xd3\xe4\x93\x02\x64\"A/v1/{parent=projects/*/locations/*}/modelDeploymentMonitoringJobs:\x1fmodel_deployment_monitoring_job\xda\x41&parent,model_deployment_monitoring_job\x12\xa2\x03\n-SearchModelDeploymentMonitoringStatsAnomalies\x12P.google.cloud.aiplatform.v1.SearchModelDeploymentMonitoringStatsAnomaliesRequest\x1aQ.google.cloud.aiplatform.v1.SearchModelDeploymentMonitoringStatsAnomaliesResponse\"\xcb\x01\x82\xd3\xe4\x93\x02\x90\x01\"\x8a\x01/v1/{model_deployment_monitoring_job=projects/*/locations/*/modelDeploymentMonitoringJobs/*}:searchModelDeploymentMonitoringStatsAnomalies:\x01*\xda\x41\x31model_deployment_monitoring_job,deployed_model_id\x12\xf1\x01\n\x1fGetModelDeploymentMonitoringJob\x12\x42.google.cloud.aiplatform.v1.GetModelDeploymentMonitoringJobRequest\x1a\x38.google.cloud.aiplatform.v1.ModelDeploymentMonitoringJob\"P\x82\xd3\xe4\x93\x02\x43\x12\x41/v1/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*}\xda\x41\x04name\x12\x84\x02\n!ListModelDeploymentMonitoringJobs\x12\x44.google.cloud.aiplatform.v1.ListModelDeploymentMonitoringJobsRequest\x1a\x45.google.cloud.aiplatform.v1.ListModelDeploymentMonitoringJobsResponse\"R\x82\xd3\xe4\x93\x02\x43\x12\x41/v1/{parent=projects/*/locations/*}/modelDeploymentMonitoringJobs\xda\x41\x06parent\x12\x9c\x03\n\"UpdateModelDeploymentMonitoringJob\x12\x45.google.cloud.aiplatform.v1.UpdateModelDeploymentMonitoringJobRequest\x1a\x1d.google.longrunning.Operation\"\x8f\x02\x82\xd3\xe4\x93\x02\x84\x01\x32\x61/v1/{model_deployment_monitoring_job.name=projects/*/locations/*/modelDeploymentMonitoringJobs/*}:\x1fmodel_deployment_monitoring_job\xda\x41+model_deployment_monitoring_job,update_mask\xca\x41S\n\x1cModelDeploymentMonitoringJob\x12\x33UpdateModelDeploymentMonitoringJobOperationMetadata\x12\x90\x02\n\"DeleteModelDeploymentMonitoringJob\x12\x45.google.cloud.aiplatform.v1.DeleteModelDeploymentMonitoringJobRequest\x1a\x1d.google.longrunning.Operation\"\x83\x01\x82\xd3\xe4\x93\x02\x43*A/v1/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*}\xda\x41\x04name\xca\x41\x30\n\x15google.protobuf.Empty\x12\x17\x44\x65leteOperationMetadata\x12\xdc\x01\n!PauseModelDeploymentMonitoringJob\x12\x44.google.cloud.aiplatform.v1.PauseModelDeploymentMonitoringJobRequest\x1a\x16.google.protobuf.Empty\"Y\x82\xd3\xe4\x93\x02L\"G/v1/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*}:pause:\x01*\xda\x41\x04name\x12\xdf\x01\n\"ResumeModelDeploymentMonitoringJob\x12\x45.google.cloud.aiplatform.v1.ResumeModelDeploymentMonitoringJobRequest\x1a\x16.google.protobuf.Empty\"Z\x82\xd3\xe4\x93\x02M\"H/v1/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*}:resume:\x01*\xda\x41\x04name\x1a\x86\x01\xca\x41\x19\x61iplatform.googleapis.com\xd2\x41ghttps://www.googleapis.com/auth/cloud-platform,https://www.googleapis.com/auth/cloud-platform.read-onlyB\xcd\x01\n\x1e\x63om.google.cloud.aiplatform.v1B\x0fJobServiceProtoP\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"
25
+
26
+ pool = Google::Protobuf::DescriptorPool.generated_pool
27
+
28
+ begin
29
+ pool.add_serialized_file(descriptor_data)
30
+ rescue TypeError => e
31
+ # Compatibility code: will be removed in the next major version.
32
+ require 'google/protobuf/descriptor_pb'
33
+ parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
34
+ parsed.clear_dependency
35
+ serialized = parsed.class.encode(parsed)
36
+ file = pool.add_serialized_file(serialized)
37
+ warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
38
+ imports = [
39
+ ["google.cloud.aiplatform.v1.CustomJob", "google/cloud/aiplatform/v1/custom_job.proto"],
40
+ ["google.protobuf.FieldMask", "google/protobuf/field_mask.proto"],
41
+ ["google.cloud.aiplatform.v1.DataLabelingJob", "google/cloud/aiplatform/v1/data_labeling_job.proto"],
42
+ ["google.cloud.aiplatform.v1.HyperparameterTuningJob", "google/cloud/aiplatform/v1/hyperparameter_tuning_job.proto"],
43
+ ["google.cloud.aiplatform.v1.NasJob", "google/cloud/aiplatform/v1/nas_job.proto"],
44
+ ["google.cloud.aiplatform.v1.BatchPredictionJob", "google/cloud/aiplatform/v1/batch_prediction_job.proto"],
45
+ ["google.cloud.aiplatform.v1.ModelDeploymentMonitoringJob", "google/cloud/aiplatform/v1/model_deployment_monitoring_job.proto"],
46
+ ["google.protobuf.Timestamp", "google/protobuf/timestamp.proto"],
47
+ ["google.cloud.aiplatform.v1.GenericOperationMetadata", "google/cloud/aiplatform/v1/operation.proto"],
48
+ ]
49
+ imports.each do |type_name, expected_filename|
50
+ import_file = pool.lookup(type_name).file_descriptor
51
+ if import_file.name != expected_filename
52
+ warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
208
53
  end
209
54
  end
55
+ warn "Each proto file must use a consistent fully-qualified name."
56
+ warn "This will become an error in the next major version."
210
57
  end
211
58
 
212
59
  module Google
@@ -1,24 +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/job_state.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/job_state.proto", :syntax => :proto3) do
8
- add_enum "google.cloud.aiplatform.v1.JobState" do
9
- value :JOB_STATE_UNSPECIFIED, 0
10
- value :JOB_STATE_QUEUED, 1
11
- value :JOB_STATE_PENDING, 2
12
- value :JOB_STATE_RUNNING, 3
13
- value :JOB_STATE_SUCCEEDED, 4
14
- value :JOB_STATE_FAILED, 5
15
- value :JOB_STATE_CANCELLING, 6
16
- value :JOB_STATE_CANCELLED, 7
17
- value :JOB_STATE_PAUSED, 8
18
- value :JOB_STATE_EXPIRED, 9
19
- value :JOB_STATE_UPDATING, 10
7
+
8
+ descriptor_data = "\n*google/cloud/aiplatform/v1/job_state.proto\x12\x1agoogle.cloud.aiplatform.v1*\x90\x02\n\x08JobState\x12\x19\n\x15JOB_STATE_UNSPECIFIED\x10\x00\x12\x14\n\x10JOB_STATE_QUEUED\x10\x01\x12\x15\n\x11JOB_STATE_PENDING\x10\x02\x12\x15\n\x11JOB_STATE_RUNNING\x10\x03\x12\x17\n\x13JOB_STATE_SUCCEEDED\x10\x04\x12\x14\n\x10JOB_STATE_FAILED\x10\x05\x12\x18\n\x14JOB_STATE_CANCELLING\x10\x06\x12\x17\n\x13JOB_STATE_CANCELLED\x10\x07\x12\x14\n\x10JOB_STATE_PAUSED\x10\x08\x12\x15\n\x11JOB_STATE_EXPIRED\x10\t\x12\x16\n\x12JOB_STATE_UPDATING\x10\nB\xcb\x01\n\x1e\x63om.google.cloud.aiplatform.v1B\rJobStateProtoP\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}"
20
28
  end
21
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."
22
32
  end
23
33
 
24
34
  module Google