diff --git a/AiPlatform/src/V1/resources/dataset_service_rest_client_config.php b/AiPlatform/src/V1/resources/dataset_service_rest_client_config.php index de4e6105aaf1..34dd1db6e1af 100644 --- a/AiPlatform/src/V1/resources/dataset_service_rest_client_config.php +++ b/AiPlatform/src/V1/resources/dataset_service_rest_client_config.php @@ -2307,4 +2307,5 @@ ], ], ], + 'numericEnums' => true, ]; diff --git a/AiPlatform/src/V1/resources/deployment_resource_pool_service_rest_client_config.php b/AiPlatform/src/V1/resources/deployment_resource_pool_service_rest_client_config.php index 92a095575042..7d4f1264b4c4 100644 --- a/AiPlatform/src/V1/resources/deployment_resource_pool_service_rest_client_config.php +++ b/AiPlatform/src/V1/resources/deployment_resource_pool_service_rest_client_config.php @@ -2156,4 +2156,5 @@ ], ], ], + 'numericEnums' => true, ]; diff --git a/AiPlatform/src/V1/resources/endpoint_service_rest_client_config.php b/AiPlatform/src/V1/resources/endpoint_service_rest_client_config.php index 8196e3de6541..3a70099e929a 100644 --- a/AiPlatform/src/V1/resources/endpoint_service_rest_client_config.php +++ b/AiPlatform/src/V1/resources/endpoint_service_rest_client_config.php @@ -2181,4 +2181,5 @@ ], ], ], + 'numericEnums' => true, ]; diff --git a/AiPlatform/src/V1/resources/feature_online_store_admin_service_rest_client_config.php b/AiPlatform/src/V1/resources/feature_online_store_admin_service_rest_client_config.php index 78a456f2fd09..ff56a0018bfa 100644 --- a/AiPlatform/src/V1/resources/feature_online_store_admin_service_rest_client_config.php +++ b/AiPlatform/src/V1/resources/feature_online_store_admin_service_rest_client_config.php @@ -2240,4 +2240,5 @@ ], ], ], + 'numericEnums' => true, ]; diff --git a/AiPlatform/src/V1/resources/feature_online_store_service_rest_client_config.php b/AiPlatform/src/V1/resources/feature_online_store_service_rest_client_config.php index 22c95fddb356..0ff0abc3bd2d 100644 --- a/AiPlatform/src/V1/resources/feature_online_store_service_rest_client_config.php +++ b/AiPlatform/src/V1/resources/feature_online_store_service_rest_client_config.php @@ -2108,4 +2108,5 @@ ], ], ], + 'numericEnums' => true, ]; diff --git a/AiPlatform/src/V1/resources/feature_registry_service_rest_client_config.php b/AiPlatform/src/V1/resources/feature_registry_service_rest_client_config.php index 1a3ba96295c9..29d36c0d82fc 100644 --- a/AiPlatform/src/V1/resources/feature_registry_service_rest_client_config.php +++ b/AiPlatform/src/V1/resources/feature_registry_service_rest_client_config.php @@ -2206,4 +2206,5 @@ ], ], ], + 'numericEnums' => true, ]; diff --git a/AiPlatform/src/V1/resources/featurestore_online_serving_service_rest_client_config.php b/AiPlatform/src/V1/resources/featurestore_online_serving_service_rest_client_config.php index 874d2dce067c..f23db02b7065 100644 --- a/AiPlatform/src/V1/resources/featurestore_online_serving_service_rest_client_config.php +++ b/AiPlatform/src/V1/resources/featurestore_online_serving_service_rest_client_config.php @@ -2120,4 +2120,5 @@ ], ], ], + 'numericEnums' => true, ]; diff --git a/AiPlatform/src/V1/resources/featurestore_service_rest_client_config.php b/AiPlatform/src/V1/resources/featurestore_service_rest_client_config.php index 05d0027180cc..b03cc13de765 100644 --- a/AiPlatform/src/V1/resources/featurestore_service_rest_client_config.php +++ b/AiPlatform/src/V1/resources/featurestore_service_rest_client_config.php @@ -2338,4 +2338,5 @@ ], ], ], + 'numericEnums' => true, ]; diff --git a/AiPlatform/src/V1/resources/gen_ai_tuning_service_rest_client_config.php b/AiPlatform/src/V1/resources/gen_ai_tuning_service_rest_client_config.php index ac051f22e4f8..f4fe214dd592 100644 --- a/AiPlatform/src/V1/resources/gen_ai_tuning_service_rest_client_config.php +++ b/AiPlatform/src/V1/resources/gen_ai_tuning_service_rest_client_config.php @@ -2130,4 +2130,5 @@ ], ], ], + 'numericEnums' => true, ]; diff --git a/AiPlatform/src/V1/resources/index_endpoint_service_rest_client_config.php b/AiPlatform/src/V1/resources/index_endpoint_service_rest_client_config.php index e84460f203f6..7ce9243ff619 100644 --- a/AiPlatform/src/V1/resources/index_endpoint_service_rest_client_config.php +++ b/AiPlatform/src/V1/resources/index_endpoint_service_rest_client_config.php @@ -2181,4 +2181,5 @@ ], ], ], + 'numericEnums' => true, ]; diff --git a/AiPlatform/src/V1/resources/index_service_rest_client_config.php b/AiPlatform/src/V1/resources/index_service_rest_client_config.php index ac2544b7f785..90e20f753ad3 100644 --- a/AiPlatform/src/V1/resources/index_service_rest_client_config.php +++ b/AiPlatform/src/V1/resources/index_service_rest_client_config.php @@ -2166,4 +2166,5 @@ ], ], ], + 'numericEnums' => true, ]; diff --git a/AiPlatform/src/V1/resources/job_service_rest_client_config.php b/AiPlatform/src/V1/resources/job_service_rest_client_config.php index 841bc0164006..6a4eb195ecb2 100644 --- a/AiPlatform/src/V1/resources/job_service_rest_client_config.php +++ b/AiPlatform/src/V1/resources/job_service_rest_client_config.php @@ -2488,4 +2488,5 @@ ], ], ], + 'numericEnums' => true, ]; diff --git a/AiPlatform/src/V1/resources/llm_utility_service_rest_client_config.php b/AiPlatform/src/V1/resources/llm_utility_service_rest_client_config.php index 69a0b16ac7f1..28f2c8bcdc3f 100644 --- a/AiPlatform/src/V1/resources/llm_utility_service_rest_client_config.php +++ b/AiPlatform/src/V1/resources/llm_utility_service_rest_client_config.php @@ -2122,4 +2122,5 @@ ], ], ], + 'numericEnums' => true, ]; diff --git a/AiPlatform/src/V1/resources/match_service_rest_client_config.php b/AiPlatform/src/V1/resources/match_service_rest_client_config.php index 28542a56146e..a4e444fec367 100644 --- a/AiPlatform/src/V1/resources/match_service_rest_client_config.php +++ b/AiPlatform/src/V1/resources/match_service_rest_client_config.php @@ -2108,4 +2108,5 @@ ], ], ], + 'numericEnums' => true, ]; diff --git a/AiPlatform/src/V1/resources/metadata_service_rest_client_config.php b/AiPlatform/src/V1/resources/metadata_service_rest_client_config.php index 9faca7f43dc3..3d33c0a6f664 100644 --- a/AiPlatform/src/V1/resources/metadata_service_rest_client_config.php +++ b/AiPlatform/src/V1/resources/metadata_service_rest_client_config.php @@ -2454,4 +2454,5 @@ ], ], ], + 'numericEnums' => true, ]; diff --git a/AiPlatform/src/V1/resources/migration_service_rest_client_config.php b/AiPlatform/src/V1/resources/migration_service_rest_client_config.php index 8281326208ca..97e6a84d5a1a 100644 --- a/AiPlatform/src/V1/resources/migration_service_rest_client_config.php +++ b/AiPlatform/src/V1/resources/migration_service_rest_client_config.php @@ -2108,4 +2108,5 @@ ], ], ], + 'numericEnums' => true, ]; diff --git a/AiPlatform/src/V1/resources/model_garden_service_rest_client_config.php b/AiPlatform/src/V1/resources/model_garden_service_rest_client_config.php index fd827607f854..08eec40050b0 100644 --- a/AiPlatform/src/V1/resources/model_garden_service_rest_client_config.php +++ b/AiPlatform/src/V1/resources/model_garden_service_rest_client_config.php @@ -2095,4 +2095,5 @@ ], ], ], + 'numericEnums' => true, ]; diff --git a/AiPlatform/src/V1/resources/model_service_rest_client_config.php b/AiPlatform/src/V1/resources/model_service_rest_client_config.php index 9ffa36fd0d16..8e906ea045e3 100644 --- a/AiPlatform/src/V1/resources/model_service_rest_client_config.php +++ b/AiPlatform/src/V1/resources/model_service_rest_client_config.php @@ -2295,4 +2295,5 @@ ], ], ], + 'numericEnums' => true, ]; diff --git a/AiPlatform/src/V1/resources/notebook_service_rest_client_config.php b/AiPlatform/src/V1/resources/notebook_service_rest_client_config.php index ccb047486c2f..af247963b8e8 100644 --- a/AiPlatform/src/V1/resources/notebook_service_rest_client_config.php +++ b/AiPlatform/src/V1/resources/notebook_service_rest_client_config.php @@ -2214,4 +2214,5 @@ ], ], ], + 'numericEnums' => true, ]; diff --git a/AiPlatform/src/V1/resources/persistent_resource_service_rest_client_config.php b/AiPlatform/src/V1/resources/persistent_resource_service_rest_client_config.php index 2783cc041181..f42cdef42f38 100644 --- a/AiPlatform/src/V1/resources/persistent_resource_service_rest_client_config.php +++ b/AiPlatform/src/V1/resources/persistent_resource_service_rest_client_config.php @@ -2160,4 +2160,5 @@ ], ], ], + 'numericEnums' => true, ]; diff --git a/AiPlatform/src/V1/resources/pipeline_service_rest_client_config.php b/AiPlatform/src/V1/resources/pipeline_service_rest_client_config.php index 13d0a0b36fb0..8da1fcbe7110 100644 --- a/AiPlatform/src/V1/resources/pipeline_service_rest_client_config.php +++ b/AiPlatform/src/V1/resources/pipeline_service_rest_client_config.php @@ -2222,4 +2222,5 @@ ], ], ], + 'numericEnums' => true, ]; diff --git a/AiPlatform/src/V1/resources/prediction_service_rest_client_config.php b/AiPlatform/src/V1/resources/prediction_service_rest_client_config.php index e063bc342970..d067ea6fce50 100644 --- a/AiPlatform/src/V1/resources/prediction_service_rest_client_config.php +++ b/AiPlatform/src/V1/resources/prediction_service_rest_client_config.php @@ -2234,4 +2234,5 @@ ], ], ], + 'numericEnums' => true, ]; diff --git a/AiPlatform/src/V1/resources/schedule_service_rest_client_config.php b/AiPlatform/src/V1/resources/schedule_service_rest_client_config.php index ae74abd49670..f003263e0b1c 100644 --- a/AiPlatform/src/V1/resources/schedule_service_rest_client_config.php +++ b/AiPlatform/src/V1/resources/schedule_service_rest_client_config.php @@ -2169,4 +2169,5 @@ ], ], ], + 'numericEnums' => true, ]; diff --git a/AiPlatform/src/V1/resources/specialist_pool_service_rest_client_config.php b/AiPlatform/src/V1/resources/specialist_pool_service_rest_client_config.php index c704533ba8aa..3b254f77287e 100644 --- a/AiPlatform/src/V1/resources/specialist_pool_service_rest_client_config.php +++ b/AiPlatform/src/V1/resources/specialist_pool_service_rest_client_config.php @@ -2145,4 +2145,5 @@ ], ], ], + 'numericEnums' => true, ]; diff --git a/AiPlatform/src/V1/resources/tensorboard_service_rest_client_config.php b/AiPlatform/src/V1/resources/tensorboard_service_rest_client_config.php index ab02572d67e6..cf1538aed8a3 100644 --- a/AiPlatform/src/V1/resources/tensorboard_service_rest_client_config.php +++ b/AiPlatform/src/V1/resources/tensorboard_service_rest_client_config.php @@ -2449,4 +2449,5 @@ ], ], ], + 'numericEnums' => true, ]; diff --git a/AiPlatform/src/V1/resources/vizier_service_rest_client_config.php b/AiPlatform/src/V1/resources/vizier_service_rest_client_config.php index 21fcda65060f..f53204b78bcf 100644 --- a/AiPlatform/src/V1/resources/vizier_service_rest_client_config.php +++ b/AiPlatform/src/V1/resources/vizier_service_rest_client_config.php @@ -2258,4 +2258,5 @@ ], ], ], + 'numericEnums' => true, ]; diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/AcceleratorType.php b/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/AcceleratorType.php deleted file mode 100644 index 6e95f49265a9..000000000000 Binary files a/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/AcceleratorType.php and /dev/null differ diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/Annotation.php b/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/Annotation.php deleted file mode 100644 index 53fd34106254..000000000000 --- a/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/Annotation.php +++ /dev/null @@ -1,46 +0,0 @@ -internalAddGeneratedFile( - ' - -+google/cloud/aiplatform/v1/annotation.protogoogle.cloud.aiplatform.v1google/api/resource.proto6google/cloud/aiplatform/v1/user_action_reference.protogoogle/protobuf/struct.protogoogle/protobuf/timestamp.proto" - -Annotation -name ( BA -payload_schema_uri ( BA, -payload ( 2.google.protobuf.ValueBA4 - create_time ( 2.google.protobuf.TimestampBA4 - update_time ( 2.google.protobuf.TimestampBA -etag ( BAO -annotation_source ( 2/.google.cloud.aiplatform.v1.UserActionReferenceBAG -labels ( 22.google.cloud.aiplatform.v1.Annotation.LabelsEntryBA- - LabelsEntry -key (  -value ( :8:A -$aiplatform.googleapis.com/Annotationiprojects/{project}/locations/{location}/datasets/{dataset}/dataItems/{data_item}/annotations/{annotation}B -com.google.cloud.aiplatform.v1BAnnotationProtoPZ>cloud.google.com/go/aiplatform/apiv1/aiplatformpb;aiplatformpbGoogle.Cloud.AIPlatform.V1Google\\Cloud\\AIPlatform\\V1Google::Cloud::AIPlatform::V1bproto3' - , true); - - static::$is_initialized = true; - } -} - diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/AnnotationSpec.php b/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/AnnotationSpec.php deleted file mode 100644 index 11b13516ca82..000000000000 --- a/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/AnnotationSpec.php +++ /dev/null @@ -1,37 +0,0 @@ -internalAddGeneratedFile( - ' - -0google/cloud/aiplatform/v1/annotation_spec.protogoogle.cloud.aiplatform.v1google/api/resource.protogoogle/protobuf/timestamp.proto" -AnnotationSpec -name ( BA - display_name ( BA4 - create_time ( 2.google.protobuf.TimestampBA4 - update_time ( 2.google.protobuf.TimestampBA -etag ( BA:A -(aiplatform.googleapis.com/AnnotationSpec\\projects/{project}/locations/{location}/datasets/{dataset}/annotationSpecs/{annotation_spec}B -com.google.cloud.aiplatform.v1BAnnotationSpecProtoPZ>cloud.google.com/go/aiplatform/apiv1/aiplatformpb;aiplatformpbGoogle.Cloud.AIPlatform.V1Google\\Cloud\\AIPlatform\\V1Google::Cloud::AIPlatform::V1bproto3' - , true); - - static::$is_initialized = true; - } -} - diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/Artifact.php b/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/Artifact.php deleted file mode 100644 index 89ff68241d2f..000000000000 Binary files a/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/Artifact.php and /dev/null differ diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/BatchPredictionJob.php b/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/BatchPredictionJob.php deleted file mode 100644 index a1f62d64ba1f..000000000000 Binary files a/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/BatchPredictionJob.php and /dev/null differ diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/CompletionStats.php b/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/CompletionStats.php deleted file mode 100644 index f7befd7b44f4..000000000000 --- a/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/CompletionStats.php +++ /dev/null @@ -1,33 +0,0 @@ -internalAddGeneratedFile( - ' - -1google/cloud/aiplatform/v1/completion_stats.protogoogle.cloud.aiplatform.v1" -CompletionStats -successful_count (BA - failed_count (BA -incomplete_count (BA, -successful_forecast_point_count (BAB -com.google.cloud.aiplatform.v1BCompletionStatsProtoPZ>cloud.google.com/go/aiplatform/apiv1/aiplatformpb;aiplatformpbGoogle.Cloud.AIPlatform.V1Google\\Cloud\\AIPlatform\\V1Google::Cloud::AIPlatform::V1bproto3' - , true); - - static::$is_initialized = true; - } -} - diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/Content.php b/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/Content.php deleted file mode 100644 index 73666b7c7fc3..000000000000 Binary files a/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/Content.php and /dev/null differ diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/Context.php b/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/Context.php deleted file mode 100644 index ea377c34110b..000000000000 --- a/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/Context.php +++ /dev/null @@ -1,49 +0,0 @@ -internalAddGeneratedFile( - ' - -(google/cloud/aiplatform/v1/context.protogoogle.cloud.aiplatform.v1google/api/resource.protogoogle/protobuf/struct.protogoogle/protobuf/timestamp.proto" -Context -name ( BA - display_name (  -etag ( ? -labels ( 2/.google.cloud.aiplatform.v1.Context.LabelsEntry4 - create_time - ( 2.google.protobuf.TimestampBA4 - update_time ( 2.google.protobuf.TimestampBAB -parent_contexts ( B)AA# -!aiplatform.googleapis.com/Context - schema_title (  -schema_version ( ) -metadata ( 2.google.protobuf.Struct - description ( - - LabelsEntry -key (  -value ( :8:A -!aiplatform.googleapis.com/ContextZprojects/{project}/locations/{location}/metadataStores/{metadata_store}/contexts/{context}B -com.google.cloud.aiplatform.v1B ContextProtoPZ>cloud.google.com/go/aiplatform/apiv1/aiplatformpb;aiplatformpbGoogle.Cloud.AIPlatform.V1Google\\Cloud\\AIPlatform\\V1Google::Cloud::AIPlatform::V1bproto3' - , true); - - static::$is_initialized = true; - } -} - diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/CustomJob.php b/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/CustomJob.php deleted file mode 100644 index 6ff7d2b5562e..000000000000 Binary files a/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/CustomJob.php and /dev/null differ diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/DataItem.php b/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/DataItem.php deleted file mode 100644 index 996823b38cf5..000000000000 --- a/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/DataItem.php +++ /dev/null @@ -1,42 +0,0 @@ -internalAddGeneratedFile( - ' - -*google/cloud/aiplatform/v1/data_item.protogoogle.cloud.aiplatform.v1google/api/resource.protogoogle/protobuf/struct.protogoogle/protobuf/timestamp.proto" -DataItem -name ( BA4 - create_time ( 2.google.protobuf.TimestampBA4 - update_time ( 2.google.protobuf.TimestampBAE -labels ( 20.google.cloud.aiplatform.v1.DataItem.LabelsEntryBA, -payload ( 2.google.protobuf.ValueBA -etag ( BA- - LabelsEntry -key (  -value ( :8:yAv -"aiplatform.googleapis.com/DataItemPprojects/{project}/locations/{location}/datasets/{dataset}/dataItems/{data_item}B -com.google.cloud.aiplatform.v1B DataItemProtoPZ>cloud.google.com/go/aiplatform/apiv1/aiplatformpb;aiplatformpbGoogle.Cloud.AIPlatform.V1Google\\Cloud\\AIPlatform\\V1Google::Cloud::AIPlatform::V1bproto3' - , true); - - static::$is_initialized = true; - } -} - diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/DataLabelingJob.php b/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/DataLabelingJob.php deleted file mode 100644 index 38ffb0873f72..000000000000 Binary files a/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/DataLabelingJob.php and /dev/null differ diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/Dataset.php b/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/Dataset.php deleted file mode 100644 index c1be592bb697..000000000000 Binary files a/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/Dataset.php and /dev/null differ diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/DatasetService.php b/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/DatasetService.php deleted file mode 100644 index 3dc6a784fee1..000000000000 Binary files a/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/DatasetService.php and /dev/null differ diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/DatasetVersion.php b/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/DatasetVersion.php deleted file mode 100644 index 97db6c03605b..000000000000 --- a/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/DatasetVersion.php +++ /dev/null @@ -1,41 +0,0 @@ -internalAddGeneratedFile( - ' - -0google/cloud/aiplatform/v1/dataset_version.protogoogle.cloud.aiplatform.v1google/api/resource.protogoogle/protobuf/struct.protogoogle/protobuf/timestamp.proto" -DatasetVersion -name ( BA4 - create_time ( 2.google.protobuf.TimestampBA4 - update_time ( 2.google.protobuf.TimestampBA -etag ( # -big_query_dataset_name ( BA - display_name ( 0 -metadata ( 2.google.protobuf.ValueBAA -model_reference ( BA:A -(aiplatform.googleapis.com/DatasetVersion\\projects/{project}/locations/{location}/datasets/{dataset}/datasetVersions/{dataset_version}B -com.google.cloud.aiplatform.v1BDatasetVersionProtoPZ>cloud.google.com/go/aiplatform/apiv1/aiplatformpb;aiplatformpbGoogle.Cloud.AIPlatform.V1Google\\Cloud\\AIPlatform\\V1Google::Cloud::AIPlatform::V1bproto3' - , true); - - static::$is_initialized = true; - } -} - diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/DeployedIndexRef.php b/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/DeployedIndexRef.php deleted file mode 100644 index 23b3d36303cd..000000000000 --- a/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/DeployedIndexRef.php +++ /dev/null @@ -1,34 +0,0 @@ -internalAddGeneratedFile( - ' - -3google/cloud/aiplatform/v1/deployed_index_ref.protogoogle.cloud.aiplatform.v1google/api/resource.proto" -DeployedIndexRefG -index_endpoint ( B/AA) -\'aiplatform.googleapis.com/IndexEndpoint -deployed_index_id ( BA - display_name ( BAB -com.google.cloud.aiplatform.v1BDeployedIndexRefProtoPZ>cloud.google.com/go/aiplatform/apiv1/aiplatformpb;aiplatformpbGoogle.Cloud.AIPlatform.V1Google\\Cloud\\AIPlatform\\V1Google::Cloud::AIPlatform::V1bproto3' - , true); - - static::$is_initialized = true; - } -} - diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/DeployedModelRef.php b/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/DeployedModelRef.php deleted file mode 100644 index 4a189406ca9b..000000000000 --- a/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/DeployedModelRef.php +++ /dev/null @@ -1,33 +0,0 @@ -internalAddGeneratedFile( - ' - -3google/cloud/aiplatform/v1/deployed_model_ref.protogoogle.cloud.aiplatform.v1google/api/resource.proto"p -DeployedModelRef< -endpoint ( B*AA$ -"aiplatform.googleapis.com/Endpoint -deployed_model_id ( BAB -com.google.cloud.aiplatform.v1BDeployedModelNameProtoPZ>cloud.google.com/go/aiplatform/apiv1/aiplatformpb;aiplatformpbGoogle.Cloud.AIPlatform.V1Google\\Cloud\\AIPlatform\\V1Google::Cloud::AIPlatform::V1bproto3' - , true); - - static::$is_initialized = true; - } -} - diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/DeploymentResourcePool.php b/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/DeploymentResourcePool.php deleted file mode 100644 index 8fb9b23359c4..000000000000 --- a/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/DeploymentResourcePool.php +++ /dev/null @@ -1,40 +0,0 @@ -internalAddGeneratedFile( - ' - -9google/cloud/aiplatform/v1/deployment_resource_pool.protogoogle.cloud.aiplatform.v1google/api/resource.proto0google/cloud/aiplatform/v1/encryption_spec.proto2google/cloud/aiplatform/v1/machine_resources.protogoogle/protobuf/timestamp.proto" -DeploymentResourcePool -name ( BAP -dedicated_resources ( 2..google.cloud.aiplatform.v1.DedicatedResourcesBAC -encryption_spec ( 2*.google.cloud.aiplatform.v1.EncryptionSpec -service_account ( ! -disable_container_logging (4 - create_time ( 2.google.protobuf.TimestampBA:A -0aiplatform.googleapis.com/DeploymentResourcePoolZprojects/{project}/locations/{location}/deploymentResourcePools/{deployment_resource_pool}B -com.google.cloud.aiplatform.v1BDeploymentResourcePoolProtoPZ>cloud.google.com/go/aiplatform/apiv1/aiplatformpb;aiplatformpbGoogle.Cloud.AIPlatform.V1Google\\Cloud\\AIPlatform\\V1Google::Cloud::AIPlatform::V1bproto3' - , true); - - static::$is_initialized = true; - } -} - diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/DeploymentResourcePoolService.php b/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/DeploymentResourcePoolService.php deleted file mode 100644 index 58f53c7bc209..000000000000 --- a/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/DeploymentResourcePoolService.php +++ /dev/null @@ -1,85 +0,0 @@ -internalAddGeneratedFile( - ' - -Agoogle/cloud/aiplatform/v1/deployment_resource_pool_service.protogoogle.cloud.aiplatform.v1google/api/client.protogoogle/api/field_behavior.protogoogle/api/resource.proto3google/cloud/aiplatform/v1/deployed_model_ref.proto9google/cloud/aiplatform/v1/deployment_resource_pool.proto)google/cloud/aiplatform/v1/endpoint.proto*google/cloud/aiplatform/v1/operation.proto#google/longrunning/operations.protogoogle/protobuf/empty.proto google/protobuf/field_mask.proto" -#CreateDeploymentResourcePoolRequest9 -parent ( B)AA# -!locations.googleapis.com/LocationY -deployment_resource_pool ( 22.google.cloud.aiplatform.v1.DeploymentResourcePoolBA( -deployment_resource_pool_id ( BA" --CreateDeploymentResourcePoolOperationMetadataN -generic_metadata ( 24.google.cloud.aiplatform.v1.GenericOperationMetadata"j - GetDeploymentResourcePoolRequestF -name ( B8AA2 -0aiplatform.googleapis.com/DeploymentResourcePool" -"ListDeploymentResourcePoolsRequest9 -parent ( B)AA#!locations.googleapis.com/Location - page_size ( - -page_token ( " -#ListDeploymentResourcePoolsResponseU -deployment_resource_pools ( 22.google.cloud.aiplatform.v1.DeploymentResourcePool -next_page_token ( " -#UpdateDeploymentResourcePoolRequestY -deployment_resource_pool ( 22.google.cloud.aiplatform.v1.DeploymentResourcePoolBA4 - update_mask ( 2.google.protobuf.FieldMaskBA" --UpdateDeploymentResourcePoolOperationMetadataN -generic_metadata ( 24.google.cloud.aiplatform.v1.GenericOperationMetadata"m -#DeleteDeploymentResourcePoolRequestF -name ( B8AA2 -0aiplatform.googleapis.com/DeploymentResourcePool"j -QueryDeployedModelsRequest% -deployment_resource_pool ( BA - page_size ( - -page_token ( " -QueryDeployedModelsResponseF -deployed_models ( 2).google.cloud.aiplatform.v1.DeployedModelB -next_page_token ( I -deployed_model_refs ( 2,.google.cloud.aiplatform.v1.DeployedModelRef" -total_deployed_model_count ( -total_endpoint_count (2 -DeploymentResourcePoolService -CreateDeploymentResourcePool?.google.cloud.aiplatform.v1.CreateDeploymentResourcePoolRequest.google.longrunning.Operation"AG -DeploymentResourcePool-CreateDeploymentResourcePoolOperationMetadataA;parent,deployment_resource_pool,deployment_resource_pool_id@";/v1/{parent=projects/*/locations/*}/deploymentResourcePools:* -GetDeploymentResourcePool<.google.cloud.aiplatform.v1.GetDeploymentResourcePoolRequest2.google.cloud.aiplatform.v1.DeploymentResourcePool"JAname=;/v1/{name=projects/*/locations/*/deploymentResourcePools/*} -ListDeploymentResourcePools>.google.cloud.aiplatform.v1.ListDeploymentResourcePoolsRequest?.google.cloud.aiplatform.v1.ListDeploymentResourcePoolsResponse"LAparent=;/v1/{parent=projects/*/locations/*}/deploymentResourcePools -UpdateDeploymentResourcePool?.google.cloud.aiplatform.v1.UpdateDeploymentResourcePoolRequest.google.longrunning.Operation"AG -DeploymentResourcePool-UpdateDeploymentResourcePoolOperationMetadataA$deployment_resource_pool,update_maskp2T/v1/{deployment_resource_pool.name=projects/*/locations/*/deploymentResourcePools/*}:deployment_resource_pool -DeleteDeploymentResourcePool?.google.cloud.aiplatform.v1.DeleteDeploymentResourcePoolRequest.google.longrunning.Operation"}A0 -google.protobuf.EmptyDeleteOperationMetadataAname=*;/v1/{name=projects/*/locations/*/deploymentResourcePools/*} -QueryDeployedModels6.google.cloud.aiplatform.v1.QueryDeployedModelsRequest7.google.cloud.aiplatform.v1.QueryDeployedModelsResponse"Adeployment_resource_poolec/v1/{deployment_resource_pool=projects/*/locations/*/deploymentResourcePools/*}:queryDeployedModelsMAaiplatform.googleapis.comA.https://www.googleapis.com/auth/cloud-platformB -com.google.cloud.aiplatform.v1B"DeploymentResourcePoolServiceProtoPZ>cloud.google.com/go/aiplatform/apiv1/aiplatformpb;aiplatformpbGoogle.Cloud.AIPlatform.V1Google\\Cloud\\AIPlatform\\V1Google::Cloud::AIPlatform::V1bproto3' - , true); - - static::$is_initialized = true; - } -} - diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/EncryptionSpec.php b/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/EncryptionSpec.php deleted file mode 100644 index 931d9dc28f06..000000000000 --- a/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/EncryptionSpec.php +++ /dev/null @@ -1,30 +0,0 @@ -internalAddGeneratedFile( - ' - -0google/cloud/aiplatform/v1/encryption_spec.protogoogle.cloud.aiplatform.v1"+ -EncryptionSpec - kms_key_name ( BAB -com.google.cloud.aiplatform.v1BEncryptionSpecProtoPZ>cloud.google.com/go/aiplatform/apiv1/aiplatformpb;aiplatformpbGoogle.Cloud.AIPlatform.V1Google\\Cloud\\AIPlatform\\V1Google::Cloud::AIPlatform::V1bproto3' - , true); - - static::$is_initialized = true; - } -} - diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/Endpoint.php b/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/Endpoint.php deleted file mode 100644 index 087c1ed2e178..000000000000 Binary files a/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/Endpoint.php and /dev/null differ diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/EndpointService.php b/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/EndpointService.php deleted file mode 100644 index c257d9cd6243..000000000000 --- a/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/EndpointService.php +++ /dev/null @@ -1,110 +0,0 @@ -internalAddGeneratedFile( - ' -% -1google/cloud/aiplatform/v1/endpoint_service.protogoogle.cloud.aiplatform.v1google/api/client.protogoogle/api/field_behavior.protogoogle/api/resource.proto)google/cloud/aiplatform/v1/endpoint.proto*google/cloud/aiplatform/v1/operation.proto#google/longrunning/operations.protogoogle/protobuf/empty.proto google/protobuf/field_mask.proto" -CreateEndpointRequest9 -parent ( B)AA# -!locations.googleapis.com/Location; -endpoint ( 2$.google.cloud.aiplatform.v1.EndpointBA - endpoint_id ( BA"q -CreateEndpointOperationMetadataN -generic_metadata ( 24.google.cloud.aiplatform.v1.GenericOperationMetadata"N -GetEndpointRequest8 -name ( B*AA$ -"aiplatform.googleapis.com/Endpoint" -ListEndpointsRequest9 -parent ( B)AA# -!locations.googleapis.com/Location -filter ( BA - page_size (BA - -page_token ( BA2 - read_mask ( 2.google.protobuf.FieldMaskBA -order_by ( "i -ListEndpointsResponse7 - endpoints ( 2$.google.cloud.aiplatform.v1.Endpoint -next_page_token ( " -UpdateEndpointRequest; -endpoint ( 2$.google.cloud.aiplatform.v1.EndpointBA4 - update_mask ( 2.google.protobuf.FieldMaskBA"Q -DeleteEndpointRequest8 -name ( B*AA$ -"aiplatform.googleapis.com/Endpoint" -DeployModelRequest< -endpoint ( B*AA$ -"aiplatform.googleapis.com/EndpointF -deployed_model ( 2).google.cloud.aiplatform.v1.DeployedModelBAW - traffic_split ( 2@.google.cloud.aiplatform.v1.DeployModelRequest.TrafficSplitEntry3 -TrafficSplitEntry -key (  -value (:8"X -DeployModelResponseA -deployed_model ( 2).google.cloud.aiplatform.v1.DeployedModel"n -DeployModelOperationMetadataN -generic_metadata ( 24.google.cloud.aiplatform.v1.GenericOperationMetadata" -UndeployModelRequest< -endpoint ( B*AA$ -"aiplatform.googleapis.com/Endpoint -deployed_model_id ( BAY - traffic_split ( 2B.google.cloud.aiplatform.v1.UndeployModelRequest.TrafficSplitEntry3 -TrafficSplitEntry -key (  -value (:8" -UndeployModelResponse"p -UndeployModelOperationMetadataN -generic_metadata ( 24.google.cloud.aiplatform.v1.GenericOperationMetadata" -MutateDeployedModelRequest< -endpoint ( B*AA$ -"aiplatform.googleapis.com/EndpointF -deployed_model ( 2).google.cloud.aiplatform.v1.DeployedModelBA4 - update_mask ( 2.google.protobuf.FieldMaskBA"` -MutateDeployedModelResponseA -deployed_model ( 2).google.cloud.aiplatform.v1.DeployedModel"v -$MutateDeployedModelOperationMetadataN -generic_metadata ( 24.google.cloud.aiplatform.v1.GenericOperationMetadata2 -EndpointService -CreateEndpoint1.google.cloud.aiplatform.v1.CreateEndpointRequest.google.longrunning.Operation"A+ -EndpointCreateEndpointOperationMetadataAparent,endpointAparent,endpoint,endpoint_id9"-/v1/{parent=projects/*/locations/*}/endpoints:endpoint - GetEndpoint..google.cloud.aiplatform.v1.GetEndpointRequest$.google.cloud.aiplatform.v1.Endpoint"Aparent/-/v1/{parent=projects/*/locations/*}/endpoints -UpdateEndpoint1.google.cloud.aiplatform.v1.UpdateEndpointRequest$.google.cloud.aiplatform.v1.Endpoint"_Aendpoint,update_maskB26/v1/{endpoint.name=projects/*/locations/*/endpoints/*}:endpoint -DeleteEndpoint1.google.cloud.aiplatform.v1.DeleteEndpointRequest.google.longrunning.Operation"oA0 -google.protobuf.EmptyDeleteOperationMetadataAname/*-/v1/{name=projects/*/locations/*/endpoints/*} - DeployModel..google.cloud.aiplatform.v1.DeployModelRequest.google.longrunning.Operation"A3 -DeployModelResponseDeployModelOperationMetadataA%endpoint,deployed_model,traffic_splitB"=/v1/{endpoint=projects/*/locations/*/endpoints/*}:deployModel:* - UndeployModel0.google.cloud.aiplatform.v1.UndeployModelRequest.google.longrunning.Operation"A7 -UndeployModelResponseUndeployModelOperationMetadataA(endpoint,deployed_model_id,traffic_splitD"?/v1/{endpoint=projects/*/locations/*/endpoints/*}:undeployModel:* -MutateDeployedModel6.google.cloud.aiplatform.v1.MutateDeployedModelRequest.google.longrunning.Operation"AC -MutateDeployedModelResponse$MutateDeployedModelOperationMetadataA#endpoint,deployed_model,update_maskJ"E/v1/{endpoint=projects/*/locations/*/endpoints/*}:mutateDeployedModel:*MAaiplatform.googleapis.comA.https://www.googleapis.com/auth/cloud-platformB -com.google.cloud.aiplatform.v1BEndpointServiceProtoPZ>cloud.google.com/go/aiplatform/apiv1/aiplatformpb;aiplatformpbGoogle.Cloud.AIPlatform.V1Google\\Cloud\\AIPlatform\\V1Google::Cloud::AIPlatform::V1bproto3' - , true); - - static::$is_initialized = true; - } -} - diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/EntityType.php b/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/EntityType.php deleted file mode 100644 index ab198c2f8562..000000000000 --- a/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/EntityType.php +++ /dev/null @@ -1,46 +0,0 @@ -internalAddGeneratedFile( - ' - -,google/cloud/aiplatform/v1/entity_type.protogoogle.cloud.aiplatform.v1google/api/resource.proto8google/cloud/aiplatform/v1/featurestore_monitoring.protogoogle/protobuf/timestamp.proto" - -EntityType -name ( BA - description ( BA4 - create_time ( 2.google.protobuf.TimestampBA4 - update_time ( 2.google.protobuf.TimestampBAG -labels ( 22.google.cloud.aiplatform.v1.EntityType.LabelsEntryBA -etag ( BAX -monitoring_config ( 28.google.cloud.aiplatform.v1.FeaturestoreMonitoringConfigBA% -offline_storage_ttl_days - (BA- - LabelsEntry -key (  -value ( :8:A -$aiplatform.googleapis.com/EntityType^projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entity_type}B -com.google.cloud.aiplatform.v1BEntityTypeProtoPZ>cloud.google.com/go/aiplatform/apiv1/aiplatformpb;aiplatformpbGoogle.Cloud.AIPlatform.V1Google\\Cloud\\AIPlatform\\V1Google::Cloud::AIPlatform::V1bproto3' - , true); - - static::$is_initialized = true; - } -} - diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/EnvVar.php b/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/EnvVar.php deleted file mode 100644 index 11d566cf6cbc..000000000000 --- a/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/EnvVar.php +++ /dev/null @@ -1,31 +0,0 @@ -internalAddGeneratedFile( - ' - -(google/cloud/aiplatform/v1/env_var.protogoogle.cloud.aiplatform.v1"/ -EnvVar -name ( BA -value ( BAB -com.google.cloud.aiplatform.v1B EnvVarProtoPZ>cloud.google.com/go/aiplatform/apiv1/aiplatformpb;aiplatformpbGoogle.Cloud.AIPlatform.V1Google\\Cloud\\AIPlatform\\V1Google::Cloud::AIPlatform::V1bproto3' - , true); - - static::$is_initialized = true; - } -} - diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/EvaluatedAnnotation.php b/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/EvaluatedAnnotation.php deleted file mode 100644 index 305bf31cba77..000000000000 Binary files a/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/EvaluatedAnnotation.php and /dev/null differ diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/Event.php b/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/Event.php deleted file mode 100644 index c0c82fb35237..000000000000 Binary files a/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/Event.php and /dev/null differ diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/Execution.php b/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/Execution.php deleted file mode 100644 index 07643c5d8a36..000000000000 Binary files a/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/Execution.php and /dev/null differ diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/Explanation.php b/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/Explanation.php deleted file mode 100644 index 9f18e7359e21..000000000000 Binary files a/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/Explanation.php and /dev/null differ diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/ExplanationMetadata.php b/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/ExplanationMetadata.php deleted file mode 100644 index 72647ae21e5c..000000000000 Binary files a/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/ExplanationMetadata.php and /dev/null differ diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/Feature.php b/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/Feature.php deleted file mode 100644 index 652dc6106793..000000000000 Binary files a/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/Feature.php and /dev/null differ diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/FeatureGroup.php b/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/FeatureGroup.php deleted file mode 100644 index 47deaa89e435..000000000000 Binary files a/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/FeatureGroup.php and /dev/null differ diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/FeatureMonitoringStats.php b/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/FeatureMonitoringStats.php deleted file mode 100644 index ad3930fb15fb..000000000000 --- a/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/FeatureMonitoringStats.php +++ /dev/null @@ -1,37 +0,0 @@ -internalAddGeneratedFile( - ' - -9google/cloud/aiplatform/v1/feature_monitoring_stats.protogoogle.cloud.aiplatform.v1" -FeatureStatsAnomaly -score ( - stats_uri (  - anomaly_uri (  -distribution_deviation (# -anomaly_detection_threshold (. - -start_time ( 2.google.protobuf.Timestamp, -end_time ( 2.google.protobuf.TimestampB -com.google.cloud.aiplatform.v1BFeatureMonitoringStatsProtoPZ>cloud.google.com/go/aiplatform/apiv1/aiplatformpb;aiplatformpbGoogle.Cloud.AIPlatform.V1Google\\Cloud\\AIPlatform\\V1Google::Cloud::AIPlatform::V1bproto3' - , true); - - static::$is_initialized = true; - } -} - diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/FeatureOnlineStore.php b/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/FeatureOnlineStore.php deleted file mode 100644 index 87622c9eae0f..000000000000 Binary files a/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/FeatureOnlineStore.php and /dev/null differ diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/FeatureOnlineStoreAdminService.php b/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/FeatureOnlineStoreAdminService.php deleted file mode 100644 index 0809e5fb6d26..000000000000 --- a/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/FeatureOnlineStoreAdminService.php +++ /dev/null @@ -1,135 +0,0 @@ -internalAddGeneratedFile( - ' -6 -Cgoogle/cloud/aiplatform/v1/feature_online_store_admin_service.protogoogle.cloud.aiplatform.v1google/api/client.protogoogle/api/field_behavior.protogoogle/api/resource.proto5google/cloud/aiplatform/v1/feature_online_store.proto-google/cloud/aiplatform/v1/feature_view.proto2google/cloud/aiplatform/v1/feature_view_sync.proto*google/cloud/aiplatform/v1/operation.proto#google/longrunning/operations.protogoogle/protobuf/empty.proto google/protobuf/field_mask.proto" -CreateFeatureOnlineStoreRequestD -parent ( B4AA.,aiplatform.googleapis.com/FeatureOnlineStoreQ -feature_online_store ( 2..google.cloud.aiplatform.v1.FeatureOnlineStoreBA$ -feature_online_store_id ( BA"b -GetFeatureOnlineStoreRequestB -name ( B4AA. -,aiplatform.googleapis.com/FeatureOnlineStore" -ListFeatureOnlineStoresRequestD -parent ( B4AA.,aiplatform.googleapis.com/FeatureOnlineStore -filter (  - page_size ( - -page_token (  -order_by ( " -ListFeatureOnlineStoresResponseM -feature_online_stores ( 2..google.cloud.aiplatform.v1.FeatureOnlineStore -next_page_token ( " -UpdateFeatureOnlineStoreRequestQ -feature_online_store ( 2..google.cloud.aiplatform.v1.FeatureOnlineStoreBA/ - update_mask ( 2.google.protobuf.FieldMask"t -DeleteFeatureOnlineStoreRequestB -name ( B4AA. -,aiplatform.googleapis.com/FeatureOnlineStore -force (" -CreateFeatureViewRequestD -parent ( B4AA. -,aiplatform.googleapis.com/FeatureOnlineStoreB - feature_view ( 2\'.google.cloud.aiplatform.v1.FeatureViewBA -feature_view_id ( BA! -run_sync_immediately (BA"T -GetFeatureViewRequest; -name ( B-AA\' -%aiplatform.googleapis.com/FeatureView" -ListFeatureViewsRequest= -parent ( B-AA\'%aiplatform.googleapis.com/FeatureView -filter (  - page_size ( - -page_token (  -order_by ( "s -ListFeatureViewsResponse> - feature_views ( 2\'.google.cloud.aiplatform.v1.FeatureView -next_page_token ( " -UpdateFeatureViewRequestB - feature_view ( 2\'.google.cloud.aiplatform.v1.FeatureViewBA/ - update_mask ( 2.google.protobuf.FieldMask"W -DeleteFeatureViewRequest; -name ( B-AA\' -%aiplatform.googleapis.com/FeatureView"{ -)CreateFeatureOnlineStoreOperationMetadataN -generic_metadata ( 24.google.cloud.aiplatform.v1.GenericOperationMetadata"{ -)UpdateFeatureOnlineStoreOperationMetadataN -generic_metadata ( 24.google.cloud.aiplatform.v1.GenericOperationMetadata"t -"CreateFeatureViewOperationMetadataN -generic_metadata ( 24.google.cloud.aiplatform.v1.GenericOperationMetadata"t -"UpdateFeatureViewOperationMetadataN -generic_metadata ( 24.google.cloud.aiplatform.v1.GenericOperationMetadata"] -SyncFeatureViewRequestC - feature_view ( B-AA\' -%aiplatform.googleapis.com/FeatureView"4 -SyncFeatureViewResponse -feature_view_sync ( "\\ -GetFeatureViewSyncRequest? -name ( B1AA+ -)aiplatform.googleapis.com/FeatureViewSync" -ListFeatureViewSyncsRequest= -parent ( B-AA\' -%aiplatform.googleapis.com/FeatureView -filter (  - page_size ( - -page_token (  -order_by ( " -ListFeatureViewSyncsResponseG -feature_view_syncs ( 2+.google.cloud.aiplatform.v1.FeatureViewSync -next_page_token ( 2 -FeatureOnlineStoreAdminService -CreateFeatureOnlineStore;.google.cloud.aiplatform.v1.CreateFeatureOnlineStoreRequest.google.longrunning.Operation"A? -FeatureOnlineStore)CreateFeatureOnlineStoreOperationMetadataA3parent,feature_online_store,feature_online_store_idO"7/v1/{parent=projects/*/locations/*}/featureOnlineStores:feature_online_store -GetFeatureOnlineStore8.google.cloud.aiplatform.v1.GetFeatureOnlineStoreRequest..google.cloud.aiplatform.v1.FeatureOnlineStore"FAname97/v1/{name=projects/*/locations/*/featureOnlineStores/*} -ListFeatureOnlineStores:.google.cloud.aiplatform.v1.ListFeatureOnlineStoresRequest;.google.cloud.aiplatform.v1.ListFeatureOnlineStoresResponse"HAparent97/v1/{parent=projects/*/locations/*}/featureOnlineStores -UpdateFeatureOnlineStore;.google.cloud.aiplatform.v1.UpdateFeatureOnlineStoreRequest.google.longrunning.Operation"A? -FeatureOnlineStore)UpdateFeatureOnlineStoreOperationMetadataA feature_online_store,update_maskd2L/v1/{feature_online_store.name=projects/*/locations/*/featureOnlineStores/*}:feature_online_store -DeleteFeatureOnlineStore;.google.cloud.aiplatform.v1.DeleteFeatureOnlineStoreRequest.google.longrunning.Operation"A0 -google.protobuf.EmptyDeleteOperationMetadataA -name,force9*7/v1/{name=projects/*/locations/*/featureOnlineStores/*} -CreateFeatureView4.google.cloud.aiplatform.v1.CreateFeatureViewRequest.google.longrunning.Operation"A1 - FeatureView"CreateFeatureViewOperationMetadataA#parent,feature_view,feature_view_idV"F/v1/{parent=projects/*/locations/*/featureOnlineStores/*}/featureViews: feature_view -GetFeatureView1.google.cloud.aiplatform.v1.GetFeatureViewRequest\'.google.cloud.aiplatform.v1.FeatureView"UAnameHF/v1/{name=projects/*/locations/*/featureOnlineStores/*/featureViews/*} -ListFeatureViews3.google.cloud.aiplatform.v1.ListFeatureViewsRequest4.google.cloud.aiplatform.v1.ListFeatureViewsResponse"WAparentHF/v1/{parent=projects/*/locations/*/featureOnlineStores/*}/featureViews -UpdateFeatureView4.google.cloud.aiplatform.v1.UpdateFeatureViewRequest.google.longrunning.Operation"A1 - FeatureView"UpdateFeatureViewOperationMetadataAfeature_view,update_maskc2S/v1/{feature_view.name=projects/*/locations/*/featureOnlineStores/*/featureViews/*}: feature_view -DeleteFeatureView4.google.cloud.aiplatform.v1.DeleteFeatureViewRequest.google.longrunning.Operation"A0 -google.protobuf.EmptyDeleteOperationMetadataAnameH*F/v1/{name=projects/*/locations/*/featureOnlineStores/*/featureViews/*} -SyncFeatureView2.google.cloud.aiplatform.v1.SyncFeatureViewRequest3.google.cloud.aiplatform.v1.SyncFeatureViewResponse"mA feature_viewX"S/v1/{feature_view=projects/*/locations/*/featureOnlineStores/*/featureViews/*}:sync:* -GetFeatureViewSync5.google.cloud.aiplatform.v1.GetFeatureViewSyncRequest+.google.cloud.aiplatform.v1.FeatureViewSync"hAname[Y/v1/{name=projects/*/locations/*/featureOnlineStores/*/featureViews/*/featureViewSyncs/*} -ListFeatureViewSyncs7.google.cloud.aiplatform.v1.ListFeatureViewSyncsRequest8.google.cloud.aiplatform.v1.ListFeatureViewSyncsResponse"jAparent[Y/v1/{parent=projects/*/locations/*/featureOnlineStores/*/featureViews/*}/featureViewSyncsMAaiplatform.googleapis.comA.https://www.googleapis.com/auth/cloud-platformB -com.google.cloud.aiplatform.v1B#FeatureOnlineStoreAdminServiceProtoPZ>cloud.google.com/go/aiplatform/apiv1/aiplatformpb;aiplatformpbGoogle.Cloud.AIPlatform.V1Google\\Cloud\\AIPlatform\\V1Google::Cloud::AIPlatform::V1bproto3' - , true); - - static::$is_initialized = true; - } -} - diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/FeatureOnlineStoreService.php b/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/FeatureOnlineStoreService.php deleted file mode 100644 index 5fd9ec59038e..000000000000 Binary files a/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/FeatureOnlineStoreService.php and /dev/null differ diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/FeatureRegistryService.php b/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/FeatureRegistryService.php deleted file mode 100644 index 863f51b6256f..000000000000 --- a/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/FeatureRegistryService.php +++ /dev/null @@ -1,89 +0,0 @@ -internalAddGeneratedFile( - ' -" -9google/cloud/aiplatform/v1/feature_registry_service.protogoogle.cloud.aiplatform.v1google/api/client.protogoogle/api/field_behavior.protogoogle/api/resource.proto(google/cloud/aiplatform/v1/feature.proto.google/cloud/aiplatform/v1/feature_group.proto5google/cloud/aiplatform/v1/featurestore_service.proto*google/cloud/aiplatform/v1/operation.proto#google/longrunning/operations.protogoogle/protobuf/empty.proto google/protobuf/field_mask.proto" -CreateFeatureGroupRequest> -parent ( B.AA(&aiplatform.googleapis.com/FeatureGroupD - feature_group ( 2(.google.cloud.aiplatform.v1.FeatureGroupBA -feature_group_id ( BA"V -GetFeatureGroupRequest< -name ( B.AA( -&aiplatform.googleapis.com/FeatureGroup" -ListFeatureGroupsRequest> -parent ( B.AA(&aiplatform.googleapis.com/FeatureGroup -filter (  - page_size ( - -page_token (  -order_by ( "v -ListFeatureGroupsResponse@ -feature_groups ( 2(.google.cloud.aiplatform.v1.FeatureGroup -next_page_token ( " -UpdateFeatureGroupRequestD - feature_group ( 2(.google.cloud.aiplatform.v1.FeatureGroupBA/ - update_mask ( 2.google.protobuf.FieldMask"h -DeleteFeatureGroupRequest< -name ( B.AA( -&aiplatform.googleapis.com/FeatureGroup -force ("u -#CreateFeatureGroupOperationMetadataN -generic_metadata ( 24.google.cloud.aiplatform.v1.GenericOperationMetadata"u -#UpdateFeatureGroupOperationMetadataN -generic_metadata ( 24.google.cloud.aiplatform.v1.GenericOperationMetadata"x -&CreateRegistryFeatureOperationMetadataN -generic_metadata ( 24.google.cloud.aiplatform.v1.GenericOperationMetadata"p -UpdateFeatureOperationMetadataN -generic_metadata ( 24.google.cloud.aiplatform.v1.GenericOperationMetadata2 -FeatureRegistryService -CreateFeatureGroup5.google.cloud.aiplatform.v1.CreateFeatureGroupRequest.google.longrunning.Operation"A3 - FeatureGroup#CreateFeatureGroupOperationMetadataA%parent,feature_group,feature_group_idB"1/v1/{parent=projects/*/locations/*}/featureGroups: feature_group -GetFeatureGroup2.google.cloud.aiplatform.v1.GetFeatureGroupRequest(.google.cloud.aiplatform.v1.FeatureGroup"@Aname31/v1/{name=projects/*/locations/*/featureGroups/*} -ListFeatureGroups4.google.cloud.aiplatform.v1.ListFeatureGroupsRequest5.google.cloud.aiplatform.v1.ListFeatureGroupsResponse"BAparent31/v1/{parent=projects/*/locations/*}/featureGroups -UpdateFeatureGroup5.google.cloud.aiplatform.v1.UpdateFeatureGroupRequest.google.longrunning.Operation"A3 - FeatureGroup#UpdateFeatureGroupOperationMetadataAfeature_group,update_maskP2?/v1/{feature_group.name=projects/*/locations/*/featureGroups/*}: feature_group -DeleteFeatureGroup5.google.cloud.aiplatform.v1.DeleteFeatureGroupRequest.google.longrunning.Operation"yA0 -google.protobuf.EmptyDeleteOperationMetadataA -name,force3*1/v1/{name=projects/*/locations/*/featureGroups/*} - CreateFeature0.google.cloud.aiplatform.v1.CreateFeatureRequest.google.longrunning.Operation"A) -FeatureCreateFeatureOperationMetadataAparent,feature,feature_idG"*cloud.google.com/go/aiplatform/apiv1/aiplatformpb;aiplatformpbGoogle.Cloud.AIPlatform.V1Google\\Cloud\\AIPlatform\\V1Google::Cloud::AIPlatform::V1bproto3' - , true); - - static::$is_initialized = true; - } -} - diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/FeatureSelector.php b/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/FeatureSelector.php deleted file mode 100644 index 25bde725c9be..000000000000 --- a/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/FeatureSelector.php +++ /dev/null @@ -1,33 +0,0 @@ -internalAddGeneratedFile( - ' - -1google/cloud/aiplatform/v1/feature_selector.protogoogle.cloud.aiplatform.v1" - IdMatcher -ids ( BA"Q -FeatureSelector> - -id_matcher ( 2%.google.cloud.aiplatform.v1.IdMatcherBAB -com.google.cloud.aiplatform.v1BFeatureSelectorProtoPZ>cloud.google.com/go/aiplatform/apiv1/aiplatformpb;aiplatformpbGoogle.Cloud.AIPlatform.V1Google\\Cloud\\AIPlatform\\V1Google::Cloud::AIPlatform::V1bproto3' - , true); - - static::$is_initialized = true; - } -} - diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/FeatureView.php b/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/FeatureView.php deleted file mode 100644 index c21fc2debe3d..000000000000 Binary files a/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/FeatureView.php and /dev/null differ diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/FeatureViewSync.php b/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/FeatureViewSync.php deleted file mode 100644 index eb928e3c77c3..000000000000 --- a/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/FeatureViewSync.php +++ /dev/null @@ -1,44 +0,0 @@ -internalAddGeneratedFile( - ' - -2google/cloud/aiplatform/v1/feature_view_sync.protogoogle.cloud.aiplatform.v1google/api/resource.protogoogle/protobuf/timestamp.protogoogle/rpc/status.protogoogle/type/interval.proto" -FeatureViewSync -name ( BA4 - create_time ( 2.google.protobuf.TimestampBA, -run_time ( 2.google.type.IntervalBA- - final_status ( 2.google.rpc.StatusBAR - sync_summary ( 27.google.cloud.aiplatform.v1.FeatureViewSync.SyncSummaryBA? - SyncSummary - -row_synced (BA - -total_slot (BA:A -)aiplatform.googleapis.com/FeatureViewSyncprojects/{project}/locations/{location}/featureOnlineStores/{feature_online_store}/featureViews/{feature_view}/featureViewSyncs/feature_view_syncB -com.google.cloud.aiplatform.v1BFeatureViewSyncProtoPZ>cloud.google.com/go/aiplatform/apiv1/aiplatformpb;aiplatformpbGoogle.Cloud.AIPlatform.V1Google\\Cloud\\AIPlatform\\V1Google::Cloud::Aiplatform::V1bproto3' - , true); - - static::$is_initialized = true; - } -} - diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/Featurestore.php b/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/Featurestore.php deleted file mode 100644 index 6a71a0beb645..000000000000 Binary files a/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/Featurestore.php and /dev/null differ diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/FeaturestoreMonitoring.php b/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/FeaturestoreMonitoring.php deleted file mode 100644 index a027e3248c51..000000000000 Binary files a/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/FeaturestoreMonitoring.php and /dev/null differ diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/FeaturestoreOnlineService.php b/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/FeaturestoreOnlineService.php deleted file mode 100644 index f625104095d9..000000000000 Binary files a/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/FeaturestoreOnlineService.php and /dev/null differ diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/FeaturestoreService.php b/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/FeaturestoreService.php deleted file mode 100644 index b132f3d6d930..000000000000 Binary files a/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/FeaturestoreService.php and /dev/null differ diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/GenaiTuningService.php b/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/GenaiTuningService.php deleted file mode 100644 index b5113f67b5e1..000000000000 --- a/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/GenaiTuningService.php +++ /dev/null @@ -1,60 +0,0 @@ -internalAddGeneratedFile( - ' - -5google/cloud/aiplatform/v1/genai_tuning_service.protogoogle.cloud.aiplatform.v1google/api/client.protogoogle/api/field_behavior.protogoogle/api/resource.proto+google/cloud/aiplatform/v1/tuning_job.protogoogle/protobuf/empty.proto" -CreateTuningJobRequest9 -parent ( B)AA# -!locations.googleapis.com/Location> - -tuning_job ( 2%.google.cloud.aiplatform.v1.TuningJobBA"P -GetTuningJobRequest9 -name ( B+AA% -#aiplatform.googleapis.com/TuningJob" -ListTuningJobsRequest9 -parent ( B)AA# -!locations.googleapis.com/Location -filter ( BA - page_size (BA - -page_token ( BA"m -ListTuningJobsResponse: - tuning_jobs ( 2%.google.cloud.aiplatform.v1.TuningJob -next_page_token ( "S -CancelTuningJobRequest9 -name ( B+AA% -#aiplatform.googleapis.com/TuningJob2 -GenAiTuningService -CreateTuningJob2.google.cloud.aiplatform.v1.CreateTuningJobRequest%.google.cloud.aiplatform.v1.TuningJob"VAparent,tuning_job<"./v1/{parent=projects/*/locations/*}/tuningJobs: -tuning_job - GetTuningJob/.google.cloud.aiplatform.v1.GetTuningJobRequest%.google.cloud.aiplatform.v1.TuningJob"=Aname0./v1/{name=projects/*/locations/*/tuningJobs/*} -ListTuningJobs1.google.cloud.aiplatform.v1.ListTuningJobsRequest2.google.cloud.aiplatform.v1.ListTuningJobsResponse"?Aparent0./v1/{parent=projects/*/locations/*}/tuningJobs -CancelTuningJob2.google.cloud.aiplatform.v1.CancelTuningJobRequest.google.protobuf.Empty"GAname:"5/v1/{name=projects/*/locations/*/tuningJobs/*}:cancel:*MAaiplatform.googleapis.comA.https://www.googleapis.com/auth/cloud-platformB -com.google.cloud.aiplatform.v1BGenAiTuningServiceProtoPZ>cloud.google.com/go/aiplatform/apiv1/aiplatformpb;aiplatformpbGoogle.Cloud.AIPlatform.V1Google\\Cloud\\AIPlatform\\V1Google::Cloud::AIPlatform::V1bproto3' - , true); - - static::$is_initialized = true; - } -} - diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/HyperparameterTuningJob.php b/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/HyperparameterTuningJob.php deleted file mode 100644 index 5776dd7302da..000000000000 --- a/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/HyperparameterTuningJob.php +++ /dev/null @@ -1,59 +0,0 @@ -internalAddGeneratedFile( - ' - -:google/cloud/aiplatform/v1/hyperparameter_tuning_job.protogoogle.cloud.aiplatform.v1google/api/resource.proto+google/cloud/aiplatform/v1/custom_job.proto0google/cloud/aiplatform/v1/encryption_spec.proto*google/cloud/aiplatform/v1/job_state.proto&google/cloud/aiplatform/v1/study.protogoogle/protobuf/timestamp.protogoogle/rpc/status.proto" -HyperparameterTuningJob -name ( BA - display_name ( BA> - -study_spec ( 2%.google.cloud.aiplatform.v1.StudySpecBA -max_trial_count (BA! -parallel_trial_count (BA -max_failed_trial_count (F -trial_job_spec ( 2).google.cloud.aiplatform.v1.CustomJobSpecBA6 -trials ( 2!.google.cloud.aiplatform.v1.TrialBA8 -state - (2$.google.cloud.aiplatform.v1.JobStateBA4 - create_time ( 2.google.protobuf.TimestampBA3 - -start_time ( 2.google.protobuf.TimestampBA1 -end_time ( 2.google.protobuf.TimestampBA4 - update_time ( 2.google.protobuf.TimestampBA& -error ( 2.google.rpc.StatusBAO -labels ( 2?.google.cloud.aiplatform.v1.HyperparameterTuningJob.LabelsEntryC -encryption_spec ( 2*.google.cloud.aiplatform.v1.EncryptionSpec- - LabelsEntry -key (  -value ( :8:A -1aiplatform.googleapis.com/HyperparameterTuningJob\\projects/{project}/locations/{location}/hyperparameterTuningJobs/{hyperparameter_tuning_job}B -com.google.cloud.aiplatform.v1BHyperparameterTuningJobProtoPZ>cloud.google.com/go/aiplatform/apiv1/aiplatformpb;aiplatformpbGoogle.Cloud.AIPlatform.V1Google\\Cloud\\AIPlatform\\V1Google::Cloud::AIPlatform::V1bproto3' - , true); - - static::$is_initialized = true; - } -} - diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/Index.php b/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/Index.php deleted file mode 100644 index 063476c6d996..000000000000 Binary files a/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/Index.php and /dev/null differ diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/IndexEndpoint.php b/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/IndexEndpoint.php deleted file mode 100644 index 8c865c23c3ab..000000000000 --- a/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/IndexEndpoint.php +++ /dev/null @@ -1,77 +0,0 @@ -internalAddGeneratedFile( - ' - -/google/cloud/aiplatform/v1/index_endpoint.protogoogle.cloud.aiplatform.v1google/api/resource.proto0google/cloud/aiplatform/v1/encryption_spec.proto2google/cloud/aiplatform/v1/machine_resources.proto3google/cloud/aiplatform/v1/service_networking.protogoogle/protobuf/timestamp.proto" - IndexEndpoint -name ( BA - display_name ( BA - description ( H -deployed_indexes ( 2).google.cloud.aiplatform.v1.DeployedIndexBA -etag ( E -labels ( 25.google.cloud.aiplatform.v1.IndexEndpoint.LabelsEntry4 - create_time ( 2.google.protobuf.TimestampBA4 - update_time ( 2.google.protobuf.TimestampBA -network ( BA- -enable_private_service_connect - (BAd -private_service_connect_config ( 27.google.cloud.aiplatform.v1.PrivateServiceConnectConfigBA$ -public_endpoint_enabled (BA( -public_endpoint_domain_name ( BAH -encryption_spec ( 2*.google.cloud.aiplatform.v1.EncryptionSpecBA- - LabelsEntry -key (  -value ( :8:uAr -\'aiplatform.googleapis.com/IndexEndpointGprojects/{project}/locations/{location}/indexEndpoints/{index_endpoint}" - DeployedIndex -id ( BA6 -index ( B\'AA! -aiplatform.googleapis.com/Index - display_name ( 4 - create_time ( 2.google.protobuf.TimestampBAQ -private_endpoints ( 21.google.cloud.aiplatform.v1.IndexPrivateEndpointsBA8 -index_sync_time ( 2.google.protobuf.TimestampBAP -automatic_resources ( 2..google.cloud.aiplatform.v1.AutomaticResourcesBAP -dedicated_resources ( 2..google.cloud.aiplatform.v1.DedicatedResourcesBA" -enable_access_logging (BA\\ -deployed_index_auth_config ( 23.google.cloud.aiplatform.v1.DeployedIndexAuthConfigBA -reserved_ip_ranges - ( BA -deployment_group ( BA" -DeployedIndexAuthConfigW - auth_provider ( 2@.google.cloud.aiplatform.v1.DeployedIndexAuthConfig.AuthProvider: - AuthProvider - audiences (  -allowed_issuers ( " -IndexPrivateEndpoints -match_grpc_address ( BA -service_attachment ( BAW -psc_automated_endpoints ( 21.google.cloud.aiplatform.v1.PscAutomatedEndpointsBAB -com.google.cloud.aiplatform.v1BIndexEndpointProtoPZ>cloud.google.com/go/aiplatform/apiv1/aiplatformpb;aiplatformpbGoogle.Cloud.AIPlatform.V1Google\\Cloud\\AIPlatform\\V1Google::Cloud::AIPlatform::V1bproto3' - , true); - - static::$is_initialized = true; - } -} - diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/IndexEndpointService.php b/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/IndexEndpointService.php deleted file mode 100644 index a6d14ed038a1..000000000000 --- a/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/IndexEndpointService.php +++ /dev/null @@ -1,101 +0,0 @@ -internalAddGeneratedFile( - ' -$ -7google/cloud/aiplatform/v1/index_endpoint_service.protogoogle.cloud.aiplatform.v1google/api/client.protogoogle/api/field_behavior.protogoogle/api/resource.proto/google/cloud/aiplatform/v1/index_endpoint.proto*google/cloud/aiplatform/v1/operation.proto#google/longrunning/operations.protogoogle/protobuf/empty.proto google/protobuf/field_mask.proto" -CreateIndexEndpointRequest9 -parent ( B)AA# -!locations.googleapis.com/LocationF -index_endpoint ( 2).google.cloud.aiplatform.v1.IndexEndpointBA"v -$CreateIndexEndpointOperationMetadataN -generic_metadata ( 24.google.cloud.aiplatform.v1.GenericOperationMetadata"X -GetIndexEndpointRequest= -name ( B/AA) -\'aiplatform.googleapis.com/IndexEndpoint" -ListIndexEndpointsRequest9 -parent ( B)AA# -!locations.googleapis.com/Location -filter ( BA - page_size (BA - -page_token ( BA2 - read_mask ( 2.google.protobuf.FieldMaskBA"y -ListIndexEndpointsResponseB -index_endpoints ( 2).google.cloud.aiplatform.v1.IndexEndpoint -next_page_token ( " -UpdateIndexEndpointRequestF -index_endpoint ( 2).google.cloud.aiplatform.v1.IndexEndpointBA4 - update_mask ( 2.google.protobuf.FieldMaskBA"[ -DeleteIndexEndpointRequest= -name ( B/AA) -\'aiplatform.googleapis.com/IndexEndpoint" -DeployIndexRequestG -index_endpoint ( B/AA) -\'aiplatform.googleapis.com/IndexEndpointF -deployed_index ( 2).google.cloud.aiplatform.v1.DeployedIndexBA"X -DeployIndexResponseA -deployed_index ( 2).google.cloud.aiplatform.v1.DeployedIndex" -DeployIndexOperationMetadataN -generic_metadata ( 24.google.cloud.aiplatform.v1.GenericOperationMetadata -deployed_index_id ( " -UndeployIndexRequestG -index_endpoint ( B/AA) -\'aiplatform.googleapis.com/IndexEndpoint -deployed_index_id ( BA" -UndeployIndexResponse"p -UndeployIndexOperationMetadataN -generic_metadata ( 24.google.cloud.aiplatform.v1.GenericOperationMetadata" -MutateDeployedIndexRequestG -index_endpoint ( B/AA) -\'aiplatform.googleapis.com/IndexEndpointF -deployed_index ( 2).google.cloud.aiplatform.v1.DeployedIndexBA"` -MutateDeployedIndexResponseA -deployed_index ( 2).google.cloud.aiplatform.v1.DeployedIndex" -$MutateDeployedIndexOperationMetadataN -generic_metadata ( 24.google.cloud.aiplatform.v1.GenericOperationMetadata -deployed_index_id ( 2 -IndexEndpointService -CreateIndexEndpoint6.google.cloud.aiplatform.v1.CreateIndexEndpointRequest.google.longrunning.Operation"A5 - IndexEndpoint$CreateIndexEndpointOperationMetadataAparent,index_endpointD"2/v1/{parent=projects/*/locations/*}/indexEndpoints:index_endpoint -GetIndexEndpoint3.google.cloud.aiplatform.v1.GetIndexEndpointRequest).google.cloud.aiplatform.v1.IndexEndpoint"AAname42/v1/{name=projects/*/locations/*/indexEndpoints/*} -ListIndexEndpoints5.google.cloud.aiplatform.v1.ListIndexEndpointsRequest6.google.cloud.aiplatform.v1.ListIndexEndpointsResponse"CAparent42/v1/{parent=projects/*/locations/*}/indexEndpoints -UpdateIndexEndpoint6.google.cloud.aiplatform.v1.UpdateIndexEndpointRequest).google.cloud.aiplatform.v1.IndexEndpoint"vAindex_endpoint,update_maskS2A/v1/{index_endpoint.name=projects/*/locations/*/indexEndpoints/*}:index_endpoint -DeleteIndexEndpoint6.google.cloud.aiplatform.v1.DeleteIndexEndpointRequest.google.longrunning.Operation"tA0 -google.protobuf.EmptyDeleteOperationMetadataAname4*2/v1/{name=projects/*/locations/*/indexEndpoints/*} - DeployIndex..google.cloud.aiplatform.v1.DeployIndexRequest.google.longrunning.Operation"A3 -DeployIndexResponseDeployIndexOperationMetadataAindex_endpoint,deployed_indexM"H/v1/{index_endpoint=projects/*/locations/*/indexEndpoints/*}:deployIndex:* - UndeployIndex0.google.cloud.aiplatform.v1.UndeployIndexRequest.google.longrunning.Operation"A7 -UndeployIndexResponseUndeployIndexOperationMetadataA index_endpoint,deployed_index_idO"J/v1/{index_endpoint=projects/*/locations/*/indexEndpoints/*}:undeployIndex:* -MutateDeployedIndex6.google.cloud.aiplatform.v1.MutateDeployedIndexRequest.google.longrunning.Operation"AC -MutateDeployedIndexResponse$MutateDeployedIndexOperationMetadataAindex_endpoint,deployed_indexb"P/v1/{index_endpoint=projects/*/locations/*/indexEndpoints/*}:mutateDeployedIndex:deployed_indexMAaiplatform.googleapis.comA.https://www.googleapis.com/auth/cloud-platformB -com.google.cloud.aiplatform.v1BIndexEndpointServiceProtoPZ>cloud.google.com/go/aiplatform/apiv1/aiplatformpb;aiplatformpbGoogle.Cloud.AIPlatform.V1Google\\Cloud\\AIPlatform\\V1Google::Cloud::AIPlatform::V1bproto3' - , true); - - static::$is_initialized = true; - } -} - diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/IndexService.php b/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/IndexService.php deleted file mode 100644 index 47cb3300ef93..000000000000 Binary files a/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/IndexService.php and /dev/null differ diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/Io.php b/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/Io.php deleted file mode 100644 index f62df8908f35..000000000000 --- a/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/Io.php +++ /dev/null @@ -1,51 +0,0 @@ -internalAddGeneratedFile( - ' - -#google/cloud/aiplatform/v1/io.protogoogle.cloud.aiplatform.v1"L - -AvroSource> - -gcs_source ( 2%.google.cloud.aiplatform.v1.GcsSourceBA"K - CsvSource> - -gcs_source ( 2%.google.cloud.aiplatform.v1.GcsSourceBA" - GcsSource -uris ( BA"0 -GcsDestination -output_uri_prefix ( BA"( -BigQuerySource - input_uri ( BA". -BigQueryDestination - -output_uri ( BA"Z -CsvDestinationH -gcs_destination ( 2*.google.cloud.aiplatform.v1.GcsDestinationBA"_ -TFRecordDestinationH -gcs_destination ( 2*.google.cloud.aiplatform.v1.GcsDestinationBA"7 -ContainerRegistryDestination - -output_uri ( BAB -com.google.cloud.aiplatform.v1BIoProtoPZ>cloud.google.com/go/aiplatform/apiv1/aiplatformpb;aiplatformpbGoogle.Cloud.AIPlatform.V1Google\\Cloud\\AIPlatform\\V1Google::Cloud::AIPlatform::V1bproto3' - , true); - - static::$is_initialized = true; - } -} - diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/JobService.php b/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/JobService.php deleted file mode 100644 index 8a68f916de4c..000000000000 --- a/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/JobService.php +++ /dev/null @@ -1,272 +0,0 @@ -internalAddGeneratedFile( - ' -x -,google/cloud/aiplatform/v1/job_service.protogoogle.cloud.aiplatform.v1google/api/client.protogoogle/api/field_behavior.protogoogle/api/resource.proto5google/cloud/aiplatform/v1/batch_prediction_job.proto+google/cloud/aiplatform/v1/custom_job.proto2google/cloud/aiplatform/v1/data_labeling_job.proto:google/cloud/aiplatform/v1/hyperparameter_tuning_job.proto@google/cloud/aiplatform/v1/model_deployment_monitoring_job.proto(google/cloud/aiplatform/v1/nas_job.proto*google/cloud/aiplatform/v1/operation.proto#google/longrunning/operations.protogoogle/protobuf/empty.proto google/protobuf/field_mask.protogoogle/protobuf/timestamp.proto" -CreateCustomJobRequest9 -parent ( B)AA# -!locations.googleapis.com/Location> - -custom_job ( 2%.google.cloud.aiplatform.v1.CustomJobBA"P -GetCustomJobRequest9 -name ( B+AA% -#aiplatform.googleapis.com/CustomJob" -ListCustomJobsRequest9 -parent ( B)AA# -!locations.googleapis.com/Location -filter (  - page_size ( - -page_token ( - - read_mask ( 2.google.protobuf.FieldMask"m -ListCustomJobsResponse: - custom_jobs ( 2%.google.cloud.aiplatform.v1.CustomJob -next_page_token ( "S -DeleteCustomJobRequest9 -name ( B+AA% -#aiplatform.googleapis.com/CustomJob"S -CancelCustomJobRequest9 -name ( B+AA% -#aiplatform.googleapis.com/CustomJob" -CreateDataLabelingJobRequest9 -parent ( B)AA# -!locations.googleapis.com/LocationK -data_labeling_job ( 2+.google.cloud.aiplatform.v1.DataLabelingJobBA"\\ -GetDataLabelingJobRequest? -name ( B1AA+ -)aiplatform.googleapis.com/DataLabelingJob" -ListDataLabelingJobsRequest9 -parent ( B)AA# -!locations.googleapis.com/Location -filter (  - page_size ( - -page_token ( - - read_mask ( 2.google.protobuf.FieldMask -order_by ( " -ListDataLabelingJobsResponseG -data_labeling_jobs ( 2+.google.cloud.aiplatform.v1.DataLabelingJob -next_page_token ( "_ -DeleteDataLabelingJobRequest? -name ( B1AA+ -)aiplatform.googleapis.com/DataLabelingJob"_ -CancelDataLabelingJobRequest? -name ( B1AA+ -)aiplatform.googleapis.com/DataLabelingJob" -$CreateHyperparameterTuningJobRequest9 -parent ( B)AA# -!locations.googleapis.com/Location[ -hyperparameter_tuning_job ( 23.google.cloud.aiplatform.v1.HyperparameterTuningJobBA"l -!GetHyperparameterTuningJobRequestG -name ( B9AA3 -1aiplatform.googleapis.com/HyperparameterTuningJob" -#ListHyperparameterTuningJobsRequest9 -parent ( B)AA# -!locations.googleapis.com/Location -filter (  - page_size ( - -page_token ( - - read_mask ( 2.google.protobuf.FieldMask" -$ListHyperparameterTuningJobsResponseW -hyperparameter_tuning_jobs ( 23.google.cloud.aiplatform.v1.HyperparameterTuningJob -next_page_token ( "o -$DeleteHyperparameterTuningJobRequestG -name ( B9AA3 -1aiplatform.googleapis.com/HyperparameterTuningJob"o -$CancelHyperparameterTuningJobRequestG -name ( B9AA3 -1aiplatform.googleapis.com/HyperparameterTuningJob" -CreateNasJobRequest9 -parent ( B)AA# -!locations.googleapis.com/Location8 -nas_job ( 2".google.cloud.aiplatform.v1.NasJobBA"J -GetNasJobRequest6 -name ( B(AA" - aiplatform.googleapis.com/NasJob" -ListNasJobsRequest9 -parent ( B)AA# -!locations.googleapis.com/Location -filter (  - page_size ( - -page_token ( - - read_mask ( 2.google.protobuf.FieldMask"d -ListNasJobsResponse4 -nas_jobs ( 2".google.cloud.aiplatform.v1.NasJob -next_page_token ( "M -DeleteNasJobRequest6 -name ( B(AA" - aiplatform.googleapis.com/NasJob"M -CancelNasJobRequest6 -name ( B(AA" - aiplatform.googleapis.com/NasJob"Z -GetNasTrialDetailRequest> -name ( B0AA* -(aiplatform.googleapis.com/NasTrialDetail"} -ListNasTrialDetailsRequest8 -parent ( B(AA" - aiplatform.googleapis.com/NasJob - page_size ( - -page_token ( "} -ListNasTrialDetailsResponseE -nas_trial_details ( 2*.google.cloud.aiplatform.v1.NasTrialDetail -next_page_token ( " -CreateBatchPredictionJobRequest9 -parent ( B)AA# -!locations.googleapis.com/LocationQ -batch_prediction_job ( 2..google.cloud.aiplatform.v1.BatchPredictionJobBA"b -GetBatchPredictionJobRequestB -name ( B4AA. -,aiplatform.googleapis.com/BatchPredictionJob" -ListBatchPredictionJobsRequest9 -parent ( B)AA# -!locations.googleapis.com/Location -filter (  - page_size ( - -page_token ( - - read_mask ( 2.google.protobuf.FieldMask" -ListBatchPredictionJobsResponseM -batch_prediction_jobs ( 2..google.cloud.aiplatform.v1.BatchPredictionJob -next_page_token ( "e -DeleteBatchPredictionJobRequestB -name ( B4AA. -,aiplatform.googleapis.com/BatchPredictionJob"e -CancelBatchPredictionJobRequestB -name ( B4AA. -,aiplatform.googleapis.com/BatchPredictionJob" -)CreateModelDeploymentMonitoringJobRequest9 -parent ( B)AA# -!locations.googleapis.com/Locationf -model_deployment_monitoring_job ( 28.google.cloud.aiplatform.v1.ModelDeploymentMonitoringJobBA" -4SearchModelDeploymentMonitoringStatsAnomaliesRequestg -model_deployment_monitoring_job ( B>AA8 -6aiplatform.googleapis.com/ModelDeploymentMonitoringJob -deployed_model_id ( BA -feature_display_name (  - -objectives ( 2h.google.cloud.aiplatform.v1.SearchModelDeploymentMonitoringStatsAnomaliesRequest.StatsAnomaliesObjectiveBA - page_size ( - -page_token ( . - -start_time ( 2.google.protobuf.Timestamp, -end_time ( 2.google.protobuf.Timestamp -StatsAnomaliesObjectiveP -type (2B.google.cloud.aiplatform.v1.ModelDeploymentMonitoringObjectiveType -top_feature_count (" -5SearchModelDeploymentMonitoringStatsAnomaliesResponseS -monitoring_stats ( 29.google.cloud.aiplatform.v1.ModelMonitoringStatsAnomalies -next_page_token ( "v -&GetModelDeploymentMonitoringJobRequestL -name ( B>AA8 -6aiplatform.googleapis.com/ModelDeploymentMonitoringJob" -(ListModelDeploymentMonitoringJobsRequest9 -parent ( B)AA# -!locations.googleapis.com/Location -filter (  - page_size ( - -page_token ( - - read_mask ( 2.google.protobuf.FieldMask" -)ListModelDeploymentMonitoringJobsResponseb - model_deployment_monitoring_jobs ( 28.google.cloud.aiplatform.v1.ModelDeploymentMonitoringJob -next_page_token ( " -)UpdateModelDeploymentMonitoringJobRequestf -model_deployment_monitoring_job ( 28.google.cloud.aiplatform.v1.ModelDeploymentMonitoringJobBA4 - update_mask ( 2.google.protobuf.FieldMaskBA"y -)DeleteModelDeploymentMonitoringJobRequestL -name ( B>AA8 -6aiplatform.googleapis.com/ModelDeploymentMonitoringJob"x -(PauseModelDeploymentMonitoringJobRequestL -name ( B>AA8 -6aiplatform.googleapis.com/ModelDeploymentMonitoringJob"y -)ResumeModelDeploymentMonitoringJobRequestL -name ( B>AA8 -6aiplatform.googleapis.com/ModelDeploymentMonitoringJob" -3UpdateModelDeploymentMonitoringJobOperationMetadataN -generic_metadata ( 24.google.cloud.aiplatform.v1.GenericOperationMetadata2? - -JobService -CreateCustomJob2.google.cloud.aiplatform.v1.CreateCustomJobRequest%.google.cloud.aiplatform.v1.CustomJob"VAparent,custom_job<"./v1/{parent=projects/*/locations/*}/customJobs: -custom_job - GetCustomJob/.google.cloud.aiplatform.v1.GetCustomJobRequest%.google.cloud.aiplatform.v1.CustomJob"=Aname0./v1/{name=projects/*/locations/*/customJobs/*} -ListCustomJobs1.google.cloud.aiplatform.v1.ListCustomJobsRequest2.google.cloud.aiplatform.v1.ListCustomJobsResponse"?Aparent0./v1/{parent=projects/*/locations/*}/customJobs -DeleteCustomJob2.google.cloud.aiplatform.v1.DeleteCustomJobRequest.google.longrunning.Operation"pA0 -google.protobuf.EmptyDeleteOperationMetadataAname0*./v1/{name=projects/*/locations/*/customJobs/*} -CancelCustomJob2.google.cloud.aiplatform.v1.CancelCustomJobRequest.google.protobuf.Empty"GAname:"5/v1/{name=projects/*/locations/*/customJobs/*}:cancel:* -CreateDataLabelingJob8.google.cloud.aiplatform.v1.CreateDataLabelingJobRequest+.google.cloud.aiplatform.v1.DataLabelingJob"jAparent,data_labeling_jobI"4/v1/{parent=projects/*/locations/*}/dataLabelingJobs:data_labeling_job -GetDataLabelingJob5.google.cloud.aiplatform.v1.GetDataLabelingJobRequest+.google.cloud.aiplatform.v1.DataLabelingJob"CAname64/v1/{name=projects/*/locations/*/dataLabelingJobs/*} -ListDataLabelingJobs7.google.cloud.aiplatform.v1.ListDataLabelingJobsRequest8.google.cloud.aiplatform.v1.ListDataLabelingJobsResponse"EAparent64/v1/{parent=projects/*/locations/*}/dataLabelingJobs -DeleteDataLabelingJob8.google.cloud.aiplatform.v1.DeleteDataLabelingJobRequest.google.longrunning.Operation"vA0 -google.protobuf.EmptyDeleteOperationMetadataAname6*4/v1/{name=projects/*/locations/*/dataLabelingJobs/*} -CancelDataLabelingJob8.google.cloud.aiplatform.v1.CancelDataLabelingJobRequest.google.protobuf.Empty"MAname@";/v1/{name=projects/*/locations/*/dataLabelingJobs/*}:cancel:* -CreateHyperparameterTuningJob@.google.cloud.aiplatform.v1.CreateHyperparameterTuningJobRequest3.google.cloud.aiplatform.v1.HyperparameterTuningJob"A parent,hyperparameter_tuning_jobY"*/v1/{name=projects/*/locations/*/batchPredictionJobs/*}:cancel:* -"CreateModelDeploymentMonitoringJobE.google.cloud.aiplatform.v1.CreateModelDeploymentMonitoringJobRequest8.google.cloud.aiplatform.v1.ModelDeploymentMonitoringJob"A&parent,model_deployment_monitoring_jobd"A/v1/{parent=projects/*/locations/*}/modelDeploymentMonitoringJobs:model_deployment_monitoring_job --SearchModelDeploymentMonitoringStatsAnomaliesP.google.cloud.aiplatform.v1.SearchModelDeploymentMonitoringStatsAnomaliesRequestQ.google.cloud.aiplatform.v1.SearchModelDeploymentMonitoringStatsAnomaliesResponse"A1model_deployment_monitoring_job,deployed_model_id"/v1/{model_deployment_monitoring_job=projects/*/locations/*/modelDeploymentMonitoringJobs/*}:searchModelDeploymentMonitoringStatsAnomalies:* -GetModelDeploymentMonitoringJobB.google.cloud.aiplatform.v1.GetModelDeploymentMonitoringJobRequest8.google.cloud.aiplatform.v1.ModelDeploymentMonitoringJob"PAnameCA/v1/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*} -!ListModelDeploymentMonitoringJobsD.google.cloud.aiplatform.v1.ListModelDeploymentMonitoringJobsRequestE.google.cloud.aiplatform.v1.ListModelDeploymentMonitoringJobsResponse"RAparentCA/v1/{parent=projects/*/locations/*}/modelDeploymentMonitoringJobs -"UpdateModelDeploymentMonitoringJobE.google.cloud.aiplatform.v1.UpdateModelDeploymentMonitoringJobRequest.google.longrunning.Operation"AS -ModelDeploymentMonitoringJob3UpdateModelDeploymentMonitoringJobOperationMetadataA+model_deployment_monitoring_job,update_mask2a/v1/{model_deployment_monitoring_job.name=projects/*/locations/*/modelDeploymentMonitoringJobs/*}:model_deployment_monitoring_job -"DeleteModelDeploymentMonitoringJobE.google.cloud.aiplatform.v1.DeleteModelDeploymentMonitoringJobRequest.google.longrunning.Operation"A0 -google.protobuf.EmptyDeleteOperationMetadataAnameC*A/v1/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*} -!PauseModelDeploymentMonitoringJobD.google.cloud.aiplatform.v1.PauseModelDeploymentMonitoringJobRequest.google.protobuf.Empty"YAnameL"G/v1/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*}:pause:* -"ResumeModelDeploymentMonitoringJobE.google.cloud.aiplatform.v1.ResumeModelDeploymentMonitoringJobRequest.google.protobuf.Empty"ZAnameM"H/v1/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*}:resume:*Aaiplatform.googleapis.comAghttps://www.googleapis.com/auth/cloud-platform,https://www.googleapis.com/auth/cloud-platform.read-onlyB -com.google.cloud.aiplatform.v1BJobServiceProtoPZ>cloud.google.com/go/aiplatform/apiv1/aiplatformpb;aiplatformpbGoogle.Cloud.AIPlatform.V1Google\\Cloud\\AIPlatform\\V1Google::Cloud::AIPlatform::V1bproto3' - , true); - - static::$is_initialized = true; - } -} - diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/JobState.php b/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/JobState.php deleted file mode 100644 index b641b42f5b01..000000000000 Binary files a/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/JobState.php and /dev/null differ diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/LineageSubgraph.php b/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/LineageSubgraph.php deleted file mode 100644 index b35e989672cf..000000000000 --- a/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/LineageSubgraph.php +++ /dev/null @@ -1,35 +0,0 @@ -internalAddGeneratedFile( - ' - -1google/cloud/aiplatform/v1/lineage_subgraph.protogoogle.cloud.aiplatform.v1&google/cloud/aiplatform/v1/event.proto*google/cloud/aiplatform/v1/execution.proto" -LineageSubgraph7 - artifacts ( 2$.google.cloud.aiplatform.v1.Artifact9 - -executions ( 2%.google.cloud.aiplatform.v1.Execution1 -events ( 2!.google.cloud.aiplatform.v1.EventB -com.google.cloud.aiplatform.v1BLineageSubgraphProtoPZ>cloud.google.com/go/aiplatform/apiv1/aiplatformpb;aiplatformpbGoogle.Cloud.AIPlatform.V1Google\\Cloud\\AIPlatform\\V1Google::Cloud::AIPlatform::V1bproto3' - , true); - - static::$is_initialized = true; - } -} - diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/LlmUtilityService.php b/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/LlmUtilityService.php deleted file mode 100644 index 1a1b04b59a69..000000000000 --- a/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/LlmUtilityService.php +++ /dev/null @@ -1,50 +0,0 @@ -internalAddGeneratedFile( - ' - -4google/cloud/aiplatform/v1/llm_utility_service.protogoogle.cloud.aiplatform.v1google/api/client.protogoogle/api/field_behavior.protogoogle/api/resource.proto(google/cloud/aiplatform/v1/content.proto3google/cloud/aiplatform/v1/prediction_service.protogoogle/protobuf/struct.proto" -ComputeTokensRequest< -endpoint ( B*AA$ -"aiplatform.googleapis.com/Endpoint. - instances ( 2.google.protobuf.ValueBA -model ( BA: -contents ( 2#.google.cloud.aiplatform.v1.ContentBA"B - -TokensInfo -tokens (  - token_ids ( -role ( BA"T -ComputeTokensResponse; - tokens_info ( 2&.google.cloud.aiplatform.v1.TokensInfo2 -LlmUtilityService - CountTokens..google.cloud.aiplatform.v1.CountTokensRequest/.google.cloud.aiplatform.v1.CountTokensResponse"Aendpoint,instances"=/v1/{endpoint=projects/*/locations/*/endpoints/*}:countTokens:*ZL"G/v1/{endpoint=projects/*/locations/*/publishers/*/models/*}:countTokens:* - ComputeTokens0.google.cloud.aiplatform.v1.ComputeTokensRequest1.google.cloud.aiplatform.v1.ComputeTokensResponse"Aendpoint,instances"?/v1/{endpoint=projects/*/locations/*/endpoints/*}:computeTokens:*ZN"I/v1/{endpoint=projects/*/locations/*/publishers/*/models/*}:computeTokens:*MAaiplatform.googleapis.comA.https://www.googleapis.com/auth/cloud-platformB -com.google.cloud.aiplatform.v1BLlmUtilityServiceProtoPZ>cloud.google.com/go/aiplatform/apiv1/aiplatformpb;aiplatformpbGoogle.Cloud.AIPlatform.V1Google\\Cloud\\AIPlatform\\V1Google::Cloud::AIPlatform::V1bproto3' - , true); - - static::$is_initialized = true; - } -} - diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/MachineResources.php b/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/MachineResources.php deleted file mode 100644 index cfb116767575..000000000000 --- a/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/MachineResources.php +++ /dev/null @@ -1,64 +0,0 @@ -internalAddGeneratedFile( - ' - - -2google/cloud/aiplatform/v1/machine_resources.protogoogle.cloud.aiplatform.v11google/cloud/aiplatform/v1/accelerator_type.proto" - MachineSpec - machine_type ( BAJ -accelerator_type (2+.google.cloud.aiplatform.v1.AcceleratorTypeBA -accelerator_count ( - tpu_topology ( BA" -DedicatedResourcesE - machine_spec ( 2\'.google.cloud.aiplatform.v1.MachineSpecBAA! -min_replica_count (BAA -max_replica_count (BAX -autoscaling_metric_specs ( 21.google.cloud.aiplatform.v1.AutoscalingMetricSpecBA"T -AutomaticResources -min_replica_count (BA -max_replica_count (BA" -BatchDedicatedResourcesE - machine_spec ( 2\'.google.cloud.aiplatform.v1.MachineSpecBAA# -starting_replica_count (BA -max_replica_count (BA"/ -ResourcesConsumed - replica_hours (BA"= -DiskSpec -boot_disk_type (  -boot_disk_size_gb ("= -PersistentDiskSpec - disk_type (  - disk_size_gb ("L -NfsMount -server ( BA -path ( BA - mount_point ( BA"A -AutoscalingMetricSpec - metric_name ( BA -target (". -ShieldedVmConfig -enable_secure_boot (B -com.google.cloud.aiplatform.v1BMachineResourcesProtoPZ>cloud.google.com/go/aiplatform/apiv1/aiplatformpb;aiplatformpbGoogle.Cloud.AIPlatform.V1Google\\Cloud\\AIPlatform\\V1Google::Cloud::AIPlatform::V1bproto3' - , true); - - static::$is_initialized = true; - } -} - diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/ManualBatchTuningParameters.php b/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/ManualBatchTuningParameters.php deleted file mode 100644 index cebcc098c564..000000000000 --- a/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/ManualBatchTuningParameters.php +++ /dev/null @@ -1,31 +0,0 @@ -internalAddGeneratedFile( - ' - -?google/cloud/aiplatform/v1/manual_batch_tuning_parameters.protogoogle.cloud.aiplatform.v1"6 -ManualBatchTuningParameters - -batch_size (BAB -com.google.cloud.aiplatform.v1B ManualBatchTuningParametersProtoPZ>cloud.google.com/go/aiplatform/apiv1/aiplatformpb;aiplatformpbGoogle.Cloud.AIPlatform.V1Google\\Cloud\\AIPlatform\\V1Google::Cloud::AIPlatform::V1bproto3' - , true); - - static::$is_initialized = true; - } -} - diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/MatchService.php b/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/MatchService.php deleted file mode 100644 index b4ce21284c9b..000000000000 Binary files a/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/MatchService.php and /dev/null differ diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/MetadataSchema.php b/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/MetadataSchema.php deleted file mode 100644 index 2bd181da25e8..000000000000 Binary files a/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/MetadataSchema.php and /dev/null differ diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/MetadataService.php b/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/MetadataService.php deleted file mode 100644 index cfb6f2b04135..000000000000 --- a/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/MetadataService.php +++ /dev/null @@ -1,274 +0,0 @@ -internalAddGeneratedFile( - ' -o -1google/cloud/aiplatform/v1/metadata_service.protogoogle.cloud.aiplatform.v1google/api/client.protogoogle/api/field_behavior.protogoogle/api/resource.proto)google/cloud/aiplatform/v1/artifact.proto(google/cloud/aiplatform/v1/context.proto&google/cloud/aiplatform/v1/event.proto*google/cloud/aiplatform/v1/execution.proto1google/cloud/aiplatform/v1/lineage_subgraph.proto0google/cloud/aiplatform/v1/metadata_schema.proto/google/cloud/aiplatform/v1/metadata_store.proto*google/cloud/aiplatform/v1/operation.proto#google/longrunning/operations.protogoogle/protobuf/empty.proto google/protobuf/field_mask.proto" -CreateMetadataStoreRequest9 -parent ( B)AA# -!locations.googleapis.com/LocationF -metadata_store ( 2).google.cloud.aiplatform.v1.MetadataStoreBA -metadata_store_id ( "v -$CreateMetadataStoreOperationMetadataN -generic_metadata ( 24.google.cloud.aiplatform.v1.GenericOperationMetadata"X -GetMetadataStoreRequest= -name ( B/AA) -\'aiplatform.googleapis.com/MetadataStore"} -ListMetadataStoresRequest9 -parent ( B)AA# -!locations.googleapis.com/Location - page_size ( - -page_token ( "y -ListMetadataStoresResponseB -metadata_stores ( 2).google.cloud.aiplatform.v1.MetadataStore -next_page_token ( "n -DeleteMetadataStoreRequest= -name ( B/AA) -\'aiplatform.googleapis.com/MetadataStore -force (B"v -$DeleteMetadataStoreOperationMetadataN -generic_metadata ( 24.google.cloud.aiplatform.v1.GenericOperationMetadata" -CreateArtifactRequest? -parent ( B/AA) -\'aiplatform.googleapis.com/MetadataStore; -artifact ( 2$.google.cloud.aiplatform.v1.ArtifactBA - artifact_id ( "N -GetArtifactRequest8 -name ( B*AA$ -"aiplatform.googleapis.com/Artifact" -ListArtifactsRequest: -parent ( B*AA$"aiplatform.googleapis.com/Artifact - page_size ( - -page_token (  -filter (  -order_by ( "i -ListArtifactsResponse7 - artifacts ( 2$.google.cloud.aiplatform.v1.Artifact -next_page_token ( " -UpdateArtifactRequest; -artifact ( 2$.google.cloud.aiplatform.v1.ArtifactBA4 - update_mask ( 2.google.protobuf.FieldMaskBA - allow_missing ("d -DeleteArtifactRequest8 -name ( B*AA$ -"aiplatform.googleapis.com/Artifact -etag ( BA"| -PurgeArtifactsRequest: -parent ( B*AA$"aiplatform.googleapis.com/Artifact -filter ( BA -force (BA"l -PurgeArtifactsResponse - purge_count (= - purge_sample ( B\'A$ -"aiplatform.googleapis.com/Artifact"h -PurgeArtifactsMetadataN -generic_metadata ( 24.google.cloud.aiplatform.v1.GenericOperationMetadata" -CreateContextRequest? -parent ( B/AA) -\'aiplatform.googleapis.com/MetadataStore9 -context ( 2#.google.cloud.aiplatform.v1.ContextBA - -context_id ( "L -GetContextRequest7 -name ( B)AA# -!aiplatform.googleapis.com/Context" -ListContextsRequest9 -parent ( B)AA#!aiplatform.googleapis.com/Context - page_size ( - -page_token (  -filter (  -order_by ( "f -ListContextsResponse5 -contexts ( 2#.google.cloud.aiplatform.v1.Context -next_page_token ( " -UpdateContextRequest9 -context ( 2#.google.cloud.aiplatform.v1.ContextBA4 - update_mask ( 2.google.protobuf.FieldMaskBA - allow_missing ("q -DeleteContextRequest7 -name ( B)AA# -!aiplatform.googleapis.com/Context -force ( -etag ( BA"z -PurgeContextsRequest9 -parent ( B)AA#!aiplatform.googleapis.com/Context -filter ( BA -force (BA"j -PurgeContextsResponse - purge_count (< - purge_sample ( B&A# -!aiplatform.googleapis.com/Context"g -PurgeContextsMetadataN -generic_metadata ( 24.google.cloud.aiplatform.v1.GenericOperationMetadata" -\'AddContextArtifactsAndExecutionsRequest: -context ( B)AA# -!aiplatform.googleapis.com/Context: - artifacts ( B\'A$ -"aiplatform.googleapis.com/Artifact< - -executions ( B(A% -#aiplatform.googleapis.com/Execution"* -(AddContextArtifactsAndExecutionsResponse" -AddContextChildrenRequest: -context ( B)AA# -!aiplatform.googleapis.com/Context> -child_contexts ( B&A# -!aiplatform.googleapis.com/Context" -AddContextChildrenResponse" -RemoveContextChildrenRequest: -context ( B)AA# -!aiplatform.googleapis.com/Context> -child_contexts ( B&A# -!aiplatform.googleapis.com/Context" -RemoveContextChildrenResponse"` -"QueryContextLineageSubgraphRequest: -context ( B)AA# -!aiplatform.googleapis.com/Context" -CreateExecutionRequest? -parent ( B/AA) -\'aiplatform.googleapis.com/MetadataStore= - execution ( 2%.google.cloud.aiplatform.v1.ExecutionBA - execution_id ( "P -GetExecutionRequest9 -name ( B+AA% -#aiplatform.googleapis.com/Execution" -ListExecutionsRequest; -parent ( B+AA%#aiplatform.googleapis.com/Execution - page_size ( - -page_token (  -filter (  -order_by ( "l -ListExecutionsResponse9 - -executions ( 2%.google.cloud.aiplatform.v1.Execution -next_page_token ( " -UpdateExecutionRequest= - execution ( 2%.google.cloud.aiplatform.v1.ExecutionBA4 - update_mask ( 2.google.protobuf.FieldMaskBA - allow_missing ("f -DeleteExecutionRequest9 -name ( B+AA% -#aiplatform.googleapis.com/Execution -etag ( BA"~ -PurgeExecutionsRequest; -parent ( B+AA%#aiplatform.googleapis.com/Execution -filter ( BA -force (BA"n -PurgeExecutionsResponse - purge_count (> - purge_sample ( B(A% -#aiplatform.googleapis.com/Execution"i -PurgeExecutionsMetadataN -generic_metadata ( 24.google.cloud.aiplatform.v1.GenericOperationMetadata" -AddExecutionEventsRequest> - execution ( B+AA% -#aiplatform.googleapis.com/Execution1 -events ( 2!.google.cloud.aiplatform.v1.Event" -AddExecutionEventsResponse"g -%QueryExecutionInputsAndOutputsRequest> - execution ( B+AA% -#aiplatform.googleapis.com/Execution" -CreateMetadataSchemaRequest? -parent ( B/AA) -\'aiplatform.googleapis.com/MetadataStoreH -metadata_schema ( 2*.google.cloud.aiplatform.v1.MetadataSchemaBA -metadata_schema_id ( "Z -GetMetadataSchemaRequest> -name ( B0AA* -(aiplatform.googleapis.com/MetadataSchema" -ListMetadataSchemasRequest@ -parent ( B0AA*(aiplatform.googleapis.com/MetadataSchema - page_size ( - -page_token (  -filter ( "| -ListMetadataSchemasResponseD -metadata_schemas ( 2*.google.cloud.aiplatform.v1.MetadataSchema -next_page_token ( " -#QueryArtifactLineageSubgraphRequest< -artifact ( B*AA$ -"aiplatform.googleapis.com/Artifact -max_hops ( -filter ( 2: -MetadataService -CreateMetadataStore6.google.cloud.aiplatform.v1.CreateMetadataStoreRequest.google.longrunning.Operation"A5 - MetadataStore$CreateMetadataStoreOperationMetadataA\'parent,metadata_store,metadata_store_idD"2/v1/{parent=projects/*/locations/*}/metadataStores:metadata_store -GetMetadataStore3.google.cloud.aiplatform.v1.GetMetadataStoreRequest).google.cloud.aiplatform.v1.MetadataStore"AAname42/v1/{name=projects/*/locations/*/metadataStores/*} -ListMetadataStores5.google.cloud.aiplatform.v1.ListMetadataStoresRequest6.google.cloud.aiplatform.v1.ListMetadataStoresResponse"CAparent42/v1/{parent=projects/*/locations/*}/metadataStores -DeleteMetadataStore6.google.cloud.aiplatform.v1.DeleteMetadataStoreRequest.google.longrunning.Operation"A= -google.protobuf.Empty$DeleteMetadataStoreOperationMetadataAname4*2/v1/{name=projects/*/locations/*/metadataStores/*} -CreateArtifact1.google.cloud.aiplatform.v1.CreateArtifactRequest$.google.cloud.aiplatform.v1.Artifact"nAparent,artifact,artifact_idJ">/v1/{parent=projects/*/locations/*/metadataStores/*}/artifacts:artifact - GetArtifact..google.cloud.aiplatform.v1.GetArtifactRequest$.google.cloud.aiplatform.v1.Artifact"MAname@>/v1/{name=projects/*/locations/*/metadataStores/*/artifacts/*} - ListArtifacts0.google.cloud.aiplatform.v1.ListArtifactsRequest1.google.cloud.aiplatform.v1.ListArtifactsResponse"OAparent@>/v1/{parent=projects/*/locations/*/metadataStores/*}/artifacts -UpdateArtifact1.google.cloud.aiplatform.v1.UpdateArtifactRequest$.google.cloud.aiplatform.v1.Artifact"pAartifact,update_maskS2G/v1/{artifact.name=projects/*/locations/*/metadataStores/*/artifacts/*}:artifact -DeleteArtifact1.google.cloud.aiplatform.v1.DeleteArtifactRequest.google.longrunning.Operation"A0 -google.protobuf.EmptyDeleteOperationMetadataAname@*>/v1/{name=projects/*/locations/*/metadataStores/*/artifacts/*} -PurgeArtifacts1.google.cloud.aiplatform.v1.PurgeArtifactsRequest.google.longrunning.Operation"A0 -PurgeArtifactsResponsePurgeArtifactsMetadataAparentI"D/v1/{parent=projects/*/locations/*/metadataStores/*}/artifacts:purge:* - CreateContext0.google.cloud.aiplatform.v1.CreateContextRequest#.google.cloud.aiplatform.v1.Context"jAparent,context,context_idH"=/v1/{parent=projects/*/locations/*/metadataStores/*}/contexts:context - -GetContext-.google.cloud.aiplatform.v1.GetContextRequest#.google.cloud.aiplatform.v1.Context"LAname?=/v1/{name=projects/*/locations/*/metadataStores/*/contexts/*} - ListContexts/.google.cloud.aiplatform.v1.ListContextsRequest0.google.cloud.aiplatform.v1.ListContextsResponse"NAparent?=/v1/{parent=projects/*/locations/*/metadataStores/*}/contexts - UpdateContext0.google.cloud.aiplatform.v1.UpdateContextRequest#.google.cloud.aiplatform.v1.Context"lAcontext,update_maskP2E/v1/{context.name=projects/*/locations/*/metadataStores/*/contexts/*}:context - DeleteContext0.google.cloud.aiplatform.v1.DeleteContextRequest.google.longrunning.Operation"A0 -google.protobuf.EmptyDeleteOperationMetadataAname?*=/v1/{name=projects/*/locations/*/metadataStores/*/contexts/*} - PurgeContexts0.google.cloud.aiplatform.v1.PurgeContextsRequest.google.longrunning.Operation"A. -PurgeContextsResponsePurgeContextsMetadataAparentH"C/v1/{parent=projects/*/locations/*/metadataStores/*}/contexts:purge:* - AddContextArtifactsAndExecutionsC.google.cloud.aiplatform.v1.AddContextArtifactsAndExecutionsRequestD.google.cloud.aiplatform.v1.AddContextArtifactsAndExecutionsResponse"Acontext,artifacts,executionsf"a/v1/{context=projects/*/locations/*/metadataStores/*/contexts/*}:addContextArtifactsAndExecutions:* -AddContextChildren5.google.cloud.aiplatform.v1.AddContextChildrenRequest6.google.cloud.aiplatform.v1.AddContextChildrenResponse"wAcontext,child_contextsX"S/v1/{context=projects/*/locations/*/metadataStores/*/contexts/*}:addContextChildren:* -RemoveContextChildren8.google.cloud.aiplatform.v1.RemoveContextChildrenRequest9.google.cloud.aiplatform.v1.RemoveContextChildrenResponse"zAcontext,child_contexts["V/v1/{context=projects/*/locations/*/metadataStores/*/contexts/*}:removeContextChildren:* -QueryContextLineageSubgraph>.google.cloud.aiplatform.v1.QueryContextLineageSubgraphRequest+.google.cloud.aiplatform.v1.LineageSubgraph"nAcontext^\\/v1/{context=projects/*/locations/*/metadataStores/*/contexts/*}:queryContextLineageSubgraph -CreateExecution2.google.cloud.aiplatform.v1.CreateExecutionRequest%.google.cloud.aiplatform.v1.Execution"rAparent,execution,execution_idL"?/v1/{parent=projects/*/locations/*/metadataStores/*}/executions: execution - GetExecution/.google.cloud.aiplatform.v1.GetExecutionRequest%.google.cloud.aiplatform.v1.Execution"NAnameA?/v1/{name=projects/*/locations/*/metadataStores/*/executions/*} -ListExecutions1.google.cloud.aiplatform.v1.ListExecutionsRequest2.google.cloud.aiplatform.v1.ListExecutionsResponse"PAparentA?/v1/{parent=projects/*/locations/*/metadataStores/*}/executions -UpdateExecution2.google.cloud.aiplatform.v1.UpdateExecutionRequest%.google.cloud.aiplatform.v1.Execution"tAexecution,update_maskV2I/v1/{execution.name=projects/*/locations/*/metadataStores/*/executions/*}: execution -DeleteExecution2.google.cloud.aiplatform.v1.DeleteExecutionRequest.google.longrunning.Operation"A0 -google.protobuf.EmptyDeleteOperationMetadataAnameA*?/v1/{name=projects/*/locations/*/metadataStores/*/executions/*} -PurgeExecutions2.google.cloud.aiplatform.v1.PurgeExecutionsRequest.google.longrunning.Operation"A2 -PurgeExecutionsResponsePurgeExecutionsMetadataAparentJ"E/v1/{parent=projects/*/locations/*/metadataStores/*}/executions:purge:* -AddExecutionEvents5.google.cloud.aiplatform.v1.AddExecutionEventsRequest6.google.cloud.aiplatform.v1.AddExecutionEventsResponse"uAexecution,events\\"W/v1/{execution=projects/*/locations/*/metadataStores/*/executions/*}:addExecutionEvents:* -QueryExecutionInputsAndOutputsA.google.cloud.aiplatform.v1.QueryExecutionInputsAndOutputsRequest+.google.cloud.aiplatform.v1.LineageSubgraph"wA executionec/v1/{execution=projects/*/locations/*/metadataStores/*/executions/*}:queryExecutionInputsAndOutputs -CreateMetadataSchema7.google.cloud.aiplatform.v1.CreateMetadataSchemaRequest*.google.cloud.aiplatform.v1.MetadataSchema"A)parent,metadata_schema,metadata_schema_idW"D/v1/{parent=projects/*/locations/*/metadataStores/*}/metadataSchemas:metadata_schema -GetMetadataSchema4.google.cloud.aiplatform.v1.GetMetadataSchemaRequest*.google.cloud.aiplatform.v1.MetadataSchema"SAnameFD/v1/{name=projects/*/locations/*/metadataStores/*/metadataSchemas/*} -ListMetadataSchemas6.google.cloud.aiplatform.v1.ListMetadataSchemasRequest7.google.cloud.aiplatform.v1.ListMetadataSchemasResponse"UAparentFD/v1/{parent=projects/*/locations/*/metadataStores/*}/metadataSchemas -QueryArtifactLineageSubgraph?.google.cloud.aiplatform.v1.QueryArtifactLineageSubgraphRequest+.google.cloud.aiplatform.v1.LineageSubgraph"rAartifacta_/v1/{artifact=projects/*/locations/*/metadataStores/*/artifacts/*}:queryArtifactLineageSubgraphMAaiplatform.googleapis.comA.https://www.googleapis.com/auth/cloud-platformB -com.google.cloud.aiplatform.v1BMetadataServiceProtoPZ>cloud.google.com/go/aiplatform/apiv1/aiplatformpb;aiplatformpbGoogle.Cloud.AIPlatform.V1Google\\Cloud\\AIPlatform\\V1Google::Cloud::AIPlatform::V1bproto3' - , true); - - static::$is_initialized = true; - } -} - diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/MetadataStore.php b/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/MetadataStore.php deleted file mode 100644 index bfb232d4833b..000000000000 --- a/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/MetadataStore.php +++ /dev/null @@ -1,44 +0,0 @@ -internalAddGeneratedFile( - ' - -/google/cloud/aiplatform/v1/metadata_store.protogoogle.cloud.aiplatform.v1google/api/resource.proto0google/cloud/aiplatform/v1/encryption_spec.protogoogle/protobuf/timestamp.proto" - MetadataStore -name ( BA4 - create_time ( 2.google.protobuf.TimestampBA4 - update_time ( 2.google.protobuf.TimestampBAC -encryption_spec ( 2*.google.cloud.aiplatform.v1.EncryptionSpec - description ( P -state ( 2<.google.cloud.aiplatform.v1.MetadataStore.MetadataStoreStateBAV -dataplex_config ( 28.google.cloud.aiplatform.v1.MetadataStore.DataplexConfigBA4 -MetadataStoreState -disk_utilization_bytes (8 -DataplexConfig& -enabled_pipelines_lineage (BA:uAr -\'aiplatform.googleapis.com/MetadataStoreGprojects/{project}/locations/{location}/metadataStores/{metadata_store}B -com.google.cloud.aiplatform.v1B MetadataProtoPZ>cloud.google.com/go/aiplatform/apiv1/aiplatformpb;aiplatformpbGoogle.Cloud.AIPlatform.V1Google\\Cloud\\AIPlatform\\V1Google::Cloud::AIPlatform::V1bproto3' - , true); - - static::$is_initialized = true; - } -} - diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/MigratableResource.php b/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/MigratableResource.php deleted file mode 100644 index 42e10effc451..000000000000 Binary files a/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/MigratableResource.php and /dev/null differ diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/MigrationService.php b/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/MigrationService.php deleted file mode 100644 index 7c275e016949..000000000000 Binary files a/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/MigrationService.php and /dev/null differ diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/Model.php b/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/Model.php deleted file mode 100644 index 74eb4c685375..000000000000 Binary files a/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/Model.php and /dev/null differ diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/ModelDeploymentMonitoringJob.php b/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/ModelDeploymentMonitoringJob.php deleted file mode 100644 index 1db4a9e3056a..000000000000 Binary files a/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/ModelDeploymentMonitoringJob.php and /dev/null differ diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/ModelEvaluation.php b/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/ModelEvaluation.php deleted file mode 100644 index 8c595847da40..000000000000 --- a/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/ModelEvaluation.php +++ /dev/null @@ -1,49 +0,0 @@ -internalAddGeneratedFile( - ' - -1google/cloud/aiplatform/v1/model_evaluation.protogoogle.cloud.aiplatform.v1google/api/resource.proto,google/cloud/aiplatform/v1/explanation.protogoogle/protobuf/struct.protogoogle/protobuf/timestamp.proto" -ModelEvaluation -name ( BA - display_name - (  -metrics_schema_uri ( \' -metrics ( 2.google.protobuf.Value4 - create_time ( 2.google.protobuf.TimestampBA -slice_dimensions (  -data_item_schema_uri (  -annotation_schema_uri ( G -model_explanation ( 2,.google.cloud.aiplatform.v1.ModelExplanatione -explanation_specs ( 2J.google.cloud.aiplatform.v1.ModelEvaluation.ModelEvaluationExplanationSpec( -metadata ( 2.google.protobuf.Value -ModelEvaluationExplanationSpec -explanation_type ( E -explanation_spec ( 2+.google.cloud.aiplatform.v1.ExplanationSpec:A| -)aiplatform.googleapis.com/ModelEvaluationOprojects/{project}/locations/{location}/models/{model}/evaluations/{evaluation}B -com.google.cloud.aiplatform.v1BModelEvaluationProtoPZ>cloud.google.com/go/aiplatform/apiv1/aiplatformpb;aiplatformpbGoogle.Cloud.AIPlatform.V1Google\\Cloud\\AIPlatform\\V1Google::Cloud::AIPlatform::V1bproto3' - , true); - - static::$is_initialized = true; - } -} - diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/ModelEvaluationSlice.php b/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/ModelEvaluationSlice.php deleted file mode 100644 index f3a1655b55be..000000000000 Binary files a/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/ModelEvaluationSlice.php and /dev/null differ diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/ModelGardenService.php b/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/ModelGardenService.php deleted file mode 100644 index d7a2134c984a..000000000000 Binary files a/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/ModelGardenService.php and /dev/null differ diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/ModelMonitoring.php b/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/ModelMonitoring.php deleted file mode 100644 index ad96792e444f..000000000000 Binary files a/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/ModelMonitoring.php and /dev/null differ diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/ModelService.php b/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/ModelService.php deleted file mode 100644 index b26b925bae93..000000000000 Binary files a/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/ModelService.php and /dev/null differ diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/NasJob.php b/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/NasJob.php deleted file mode 100644 index 46be5f7bc39f..000000000000 Binary files a/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/NasJob.php and /dev/null differ diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/NetworkSpec.php b/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/NetworkSpec.php deleted file mode 100644 index 300e7f561cbc..000000000000 --- a/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/NetworkSpec.php +++ /dev/null @@ -1,36 +0,0 @@ -internalAddGeneratedFile( - ' - --google/cloud/aiplatform/v1/network_spec.protogoogle.cloud.aiplatform.v1" - NetworkSpec -enable_internet_access (4 -network ( B#A -compute.googleapis.com/Network: - -subnetwork ( B&A# -!compute.googleapis.com/SubnetworkB -com.google.cloud.aiplatform.v1BNetworkSpecProtoPZ>cloud.google.com/go/aiplatform/apiv1/aiplatformpb;aiplatformpbGoogle.Cloud.AIPlatform.V1Google\\Cloud\\AIPlatform\\V1Google::Cloud::AIPlatform::V1Aa -!compute.googleapis.com/SubnetworkinternalAddGeneratedFile( - ' - -4google/cloud/aiplatform/v1/notebook_euc_config.protogoogle.cloud.aiplatform.v1"O -NotebookEucConfig - euc_disabled (BA -bypass_actas_check (BAB -com.google.cloud.aiplatform.v1BNotebookEucConfigProtoPZ>cloud.google.com/go/aiplatform/apiv1/aiplatformpb;aiplatformpbGoogle.Cloud.AIPlatform.V1Google\\Cloud\\AIPlatform\\V1Google::Cloud::AIPlatform::V1bproto3' - , true); - - static::$is_initialized = true; - } -} - diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/NotebookIdleShutdownConfig.php b/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/NotebookIdleShutdownConfig.php deleted file mode 100644 index 28c99793663a..000000000000 --- a/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/NotebookIdleShutdownConfig.php +++ /dev/null @@ -1,32 +0,0 @@ -internalAddGeneratedFile( - ' - ->google/cloud/aiplatform/v1/notebook_idle_shutdown_config.protogoogle.cloud.aiplatform.v1google/protobuf/duration.proto"r -NotebookIdleShutdownConfig4 - idle_timeout ( 2.google.protobuf.DurationBA -idle_shutdown_disabled (B -com.google.cloud.aiplatform.v1BNotebookIdleShutdownConfigProtoPZ>cloud.google.com/go/aiplatform/apiv1/aiplatformpb;aiplatformpbGoogle.Cloud.AIPlatform.V1Google\\Cloud\\AIPlatform\\V1Google::Cloud::AIPlatform::V1bproto3' - , true); - - static::$is_initialized = true; - } -} - diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/NotebookRuntime.php b/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/NotebookRuntime.php deleted file mode 100644 index e7d1ec027f50..000000000000 Binary files a/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/NotebookRuntime.php and /dev/null differ diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/NotebookRuntimeTemplateRef.php b/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/NotebookRuntimeTemplateRef.php deleted file mode 100644 index 92d52033c683..000000000000 --- a/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/NotebookRuntimeTemplateRef.php +++ /dev/null @@ -1,32 +0,0 @@ -internalAddGeneratedFile( - ' - ->google/cloud/aiplatform/v1/notebook_runtime_template_ref.protogoogle.cloud.aiplatform.v1google/api/resource.proto"z -NotebookRuntimeTemplateRef\\ -notebook_runtime_template ( B9AA3 -1aiplatform.googleapis.com/NotebookRuntimeTemplateB -com.google.cloud.aiplatform.v1BNotebookRuntimeTemplateRefProtoPZ>cloud.google.com/go/aiplatform/apiv1/aiplatformpb;aiplatformpbGoogle.Cloud.AIPlatform.V1Google\\Cloud\\AIPlatform\\V1Google::Cloud::AIPlatform::V1bproto3' - , true); - - static::$is_initialized = true; - } -} - diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/NotebookService.php b/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/NotebookService.php deleted file mode 100644 index 047f3cc8275a..000000000000 --- a/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/NotebookService.php +++ /dev/null @@ -1,124 +0,0 @@ -internalAddGeneratedFile( - ' -1 -1google/cloud/aiplatform/v1/notebook_service.protogoogle.cloud.aiplatform.v1google/api/client.protogoogle/api/field_behavior.protogoogle/api/resource.proto1google/cloud/aiplatform/v1/notebook_runtime.proto*google/cloud/aiplatform/v1/operation.proto#google/longrunning/operations.protogoogle/protobuf/empty.proto google/protobuf/field_mask.proto" -$CreateNotebookRuntimeTemplateRequest9 -parent ( B)AA# -!locations.googleapis.com/Location[ -notebook_runtime_template ( 23.google.cloud.aiplatform.v1.NotebookRuntimeTemplateBA) -notebook_runtime_template_id ( BA" -.CreateNotebookRuntimeTemplateOperationMetadataN -generic_metadata ( 24.google.cloud.aiplatform.v1.GenericOperationMetadata"l -!GetNotebookRuntimeTemplateRequestG -name ( B9AA3 -1aiplatform.googleapis.com/NotebookRuntimeTemplate" -#ListNotebookRuntimeTemplatesRequest9 -parent ( B)AA# -!locations.googleapis.com/Location -filter ( BA - page_size (BA - -page_token ( BA2 - read_mask ( 2.google.protobuf.FieldMaskBA -order_by ( BA" -$ListNotebookRuntimeTemplatesResponseW -notebook_runtime_templates ( 23.google.cloud.aiplatform.v1.NotebookRuntimeTemplate -next_page_token ( "o -$DeleteNotebookRuntimeTemplateRequestG -name ( B9AA3 -1aiplatform.googleapis.com/NotebookRuntimeTemplate" -$UpdateNotebookRuntimeTemplateRequest[ -notebook_runtime_template ( 23.google.cloud.aiplatform.v1.NotebookRuntimeTemplateBA4 - update_mask ( 2.google.protobuf.FieldMaskBA" -AssignNotebookRuntimeRequest9 -parent ( B)AA# -!locations.googleapis.com/Location\\ -notebook_runtime_template ( B9AA3 -1aiplatform.googleapis.com/NotebookRuntimeTemplateJ -notebook_runtime ( 2+.google.cloud.aiplatform.v1.NotebookRuntimeBA -notebook_runtime_id ( BA" -&AssignNotebookRuntimeOperationMetadataN -generic_metadata ( 24.google.cloud.aiplatform.v1.GenericOperationMetadata -progress_message ( "\\ -GetNotebookRuntimeRequest? -name ( B1AA+ -)aiplatform.googleapis.com/NotebookRuntime" -ListNotebookRuntimesRequest9 -parent ( B)AA# -!locations.googleapis.com/Location -filter ( BA - page_size (BA - -page_token ( BA2 - read_mask ( 2.google.protobuf.FieldMaskBA -order_by ( BA" -ListNotebookRuntimesResponseF -notebook_runtimes ( 2+.google.cloud.aiplatform.v1.NotebookRuntime -next_page_token ( "_ -DeleteNotebookRuntimeRequest? -name ( B1AA+ -)aiplatform.googleapis.com/NotebookRuntime"` -UpgradeNotebookRuntimeRequest? -name ( B1AA+ -)aiplatform.googleapis.com/NotebookRuntime" -\'UpgradeNotebookRuntimeOperationMetadataN -generic_metadata ( 24.google.cloud.aiplatform.v1.GenericOperationMetadata -progress_message ( " -UpgradeNotebookRuntimeResponse"^ -StartNotebookRuntimeRequest? -name ( B1AA+ -)aiplatform.googleapis.com/NotebookRuntime" -%StartNotebookRuntimeOperationMetadataN -generic_metadata ( 24.google.cloud.aiplatform.v1.GenericOperationMetadata -progress_message ( " -StartNotebookRuntimeResponse2 -NotebookService -CreateNotebookRuntimeTemplate@.google.cloud.aiplatform.v1.CreateNotebookRuntimeTemplateRequest.google.longrunning.Operation"AI -NotebookRuntimeTemplate.CreateNotebookRuntimeTemplateOperationMetadataA=parent,notebook_runtime_template,notebook_runtime_template_idY"*cloud.google.com/go/aiplatform/apiv1/aiplatformpb;aiplatformpbGoogle.Cloud.AIPlatform.V1Google\\Cloud\\AIPlatform\\V1Google::Cloud::AIPlatform::V1bproto3' - , true); - - static::$is_initialized = true; - } -} - diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/Openapi.php b/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/Openapi.php deleted file mode 100644 index 2511c27b0bc6..000000000000 Binary files a/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/Openapi.php and /dev/null differ diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/Operation.php b/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/Operation.php deleted file mode 100644 index 21a3741fc0a1..000000000000 --- a/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/Operation.php +++ /dev/null @@ -1,36 +0,0 @@ -internalAddGeneratedFile( - ' - -*google/cloud/aiplatform/v1/operation.protogoogle.cloud.aiplatform.v1google/protobuf/timestamp.protogoogle/rpc/status.proto" -GenericOperationMetadata1 -partial_failures ( 2.google.rpc.StatusBA4 - create_time ( 2.google.protobuf.TimestampBA4 - update_time ( 2.google.protobuf.TimestampBA"i -DeleteOperationMetadataN -generic_metadata ( 24.google.cloud.aiplatform.v1.GenericOperationMetadataB -com.google.cloud.aiplatform.v1BOperationProtoPZ>cloud.google.com/go/aiplatform/apiv1/aiplatformpb;aiplatformpbGoogle.Cloud.AIPlatform.V1Google\\Cloud\\AIPlatform\\V1Google::Cloud::AIPlatform::V1bproto3' - , true); - - static::$is_initialized = true; - } -} - diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/PersistentResource.php b/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/PersistentResource.php deleted file mode 100644 index bdc1ad7f63e7..000000000000 Binary files a/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/PersistentResource.php and /dev/null differ diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/PersistentResourceService.php b/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/PersistentResourceService.php deleted file mode 100644 index 86480f469c4a..000000000000 --- a/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/PersistentResourceService.php +++ /dev/null @@ -1,82 +0,0 @@ -internalAddGeneratedFile( - ' - -/v1/{name=projects/*/locations/*/persistentResources/*}:reboot:*MAaiplatform.googleapis.comA.https://www.googleapis.com/auth/cloud-platformB -com.google.cloud.aiplatform.v1BPersistentResourceServiceProtoPZ>cloud.google.com/go/aiplatform/apiv1/aiplatformpb;aiplatformpbGoogle.Cloud.AIPlatform.V1Google\\Cloud\\AIPlatform\\V1Google::Cloud::AIPlatform::V1bproto3' - , true); - - static::$is_initialized = true; - } -} - diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/PipelineFailurePolicy.php b/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/PipelineFailurePolicy.php deleted file mode 100644 index fff5823b50d2..000000000000 Binary files a/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/PipelineFailurePolicy.php and /dev/null differ diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/PipelineJob.php b/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/PipelineJob.php deleted file mode 100644 index e804e667e791..000000000000 Binary files a/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/PipelineJob.php and /dev/null differ diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/PipelineService.php b/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/PipelineService.php deleted file mode 100644 index df49ca4888d0..000000000000 --- a/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/PipelineService.php +++ /dev/null @@ -1,118 +0,0 @@ -internalAddGeneratedFile( - ' -+ -1google/cloud/aiplatform/v1/pipeline_service.protogoogle.cloud.aiplatform.v1google/api/client.protogoogle/api/field_behavior.protogoogle/api/resource.proto*google/cloud/aiplatform/v1/operation.proto-google/cloud/aiplatform/v1/pipeline_job.proto2google/cloud/aiplatform/v1/training_pipeline.proto#google/longrunning/operations.protogoogle/protobuf/empty.proto google/protobuf/field_mask.proto"z -(BatchCancelPipelineJobsOperationMetadataN -generic_metadata ( 24.google.cloud.aiplatform.v1.GenericOperationMetadata" -CreateTrainingPipelineRequest9 -parent ( B)AA# -!locations.googleapis.com/LocationL -training_pipeline ( 2,.google.cloud.aiplatform.v1.TrainingPipelineBA"^ -GetTrainingPipelineRequest@ -name ( B2AA, -*aiplatform.googleapis.com/TrainingPipeline" -ListTrainingPipelinesRequest9 -parent ( B)AA# -!locations.googleapis.com/Location -filter (  - page_size ( - -page_token ( - - read_mask ( 2.google.protobuf.FieldMask" -ListTrainingPipelinesResponseH -training_pipelines ( 2,.google.cloud.aiplatform.v1.TrainingPipeline -next_page_token ( "a -DeleteTrainingPipelineRequest@ -name ( B2AA, -*aiplatform.googleapis.com/TrainingPipeline"a -CancelTrainingPipelineRequest@ -name ( B2AA, -*aiplatform.googleapis.com/TrainingPipeline" -CreatePipelineJobRequest9 -parent ( B)AA# -!locations.googleapis.com/LocationB - pipeline_job ( 2\'.google.cloud.aiplatform.v1.PipelineJobBA -pipeline_job_id ( "T -GetPipelineJobRequest; -name ( B-AA\' -%aiplatform.googleapis.com/PipelineJob" -ListPipelineJobsRequest9 -parent ( B)AA# -!locations.googleapis.com/Location -filter (  - page_size ( - -page_token (  -order_by ( - - read_mask ( 2.google.protobuf.FieldMask"s -ListPipelineJobsResponse> - pipeline_jobs ( 2\'.google.cloud.aiplatform.v1.PipelineJob -next_page_token ( "W -DeletePipelineJobRequest; -name ( B-AA\' -%aiplatform.googleapis.com/PipelineJob" -BatchDeletePipelineJobsRequest= -parent ( B-AA\'%aiplatform.googleapis.com/PipelineJob< -names ( B-AA\' -%aiplatform.googleapis.com/PipelineJob"a -BatchDeletePipelineJobsResponse> - pipeline_jobs ( 2\'.google.cloud.aiplatform.v1.PipelineJob"W -CancelPipelineJobRequest; -name ( B-AA\' -%aiplatform.googleapis.com/PipelineJob" -BatchCancelPipelineJobsRequest= -parent ( B-AA\'%aiplatform.googleapis.com/PipelineJob< -names ( B-AA\' -%aiplatform.googleapis.com/PipelineJob"a -BatchCancelPipelineJobsResponse> - pipeline_jobs ( 2\'.google.cloud.aiplatform.v1.PipelineJob2 -PipelineService -CreateTrainingPipeline9.google.cloud.aiplatform.v1.CreateTrainingPipelineRequest,.google.cloud.aiplatform.v1.TrainingPipeline"kAparent,training_pipelineJ"5/v1/{parent=projects/*/locations/*}/trainingPipelines:training_pipeline -GetTrainingPipeline6.google.cloud.aiplatform.v1.GetTrainingPipelineRequest,.google.cloud.aiplatform.v1.TrainingPipeline"DAname75/v1/{name=projects/*/locations/*/trainingPipelines/*} -ListTrainingPipelines8.google.cloud.aiplatform.v1.ListTrainingPipelinesRequest9.google.cloud.aiplatform.v1.ListTrainingPipelinesResponse"FAparent75/v1/{parent=projects/*/locations/*}/trainingPipelines -DeleteTrainingPipeline9.google.cloud.aiplatform.v1.DeleteTrainingPipelineRequest.google.longrunning.Operation"wA0 -google.protobuf.EmptyDeleteOperationMetadataAname7*5/v1/{name=projects/*/locations/*/trainingPipelines/*} -CancelTrainingPipeline9.google.cloud.aiplatform.v1.CancelTrainingPipelineRequest.google.protobuf.Empty"NAnameA"cloud.google.com/go/aiplatform/apiv1/aiplatformpb;aiplatformpbGoogle.Cloud.AIPlatform.V1Google\\Cloud\\AIPlatform\\V1Google::Cloud::AIPlatform::V1bproto3' - , true); - - static::$is_initialized = true; - } -} - diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/PipelineState.php b/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/PipelineState.php deleted file mode 100644 index 71674e10850e..000000000000 Binary files a/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/PipelineState.php and /dev/null differ diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/PredictionService.php b/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/PredictionService.php deleted file mode 100644 index 876836b0e63c..000000000000 Binary files a/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/PredictionService.php and /dev/null differ diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/PublisherModel.php b/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/PublisherModel.php deleted file mode 100644 index 9fabbb87ef05..000000000000 Binary files a/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/PublisherModel.php and /dev/null differ diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/SavedQuery.php b/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/SavedQuery.php deleted file mode 100644 index ff6ba86c851c..000000000000 --- a/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/SavedQuery.php +++ /dev/null @@ -1,45 +0,0 @@ -internalAddGeneratedFile( - ' - -,google/cloud/aiplatform/v1/saved_query.protogoogle.cloud.aiplatform.v1google/api/resource.protogoogle/protobuf/struct.protogoogle/protobuf/timestamp.proto" - -SavedQuery -name ( BA - display_name ( BA( -metadata ( 2.google.protobuf.Value4 - create_time ( 2.google.protobuf.TimestampBA4 - update_time ( 2.google.protobuf.TimestampBA -annotation_filter ( BA - problem_type ( BA" -annotation_spec_count - (BA -etag ( $ -support_automl_training (BA:A} -$aiplatform.googleapis.com/SavedQueryUprojects/{project}/locations/{location}/datasets/{dataset}/savedQueries/{saved_query}B -com.google.cloud.aiplatform.v1BSavedQueryProtoPZ>cloud.google.com/go/aiplatform/apiv1/aiplatformpb;aiplatformpbGoogle.Cloud.AIPlatform.V1Google\\Cloud\\AIPlatform\\V1Google::Cloud::AIPlatform::V1bproto3' - , true); - - static::$is_initialized = true; - } -} - diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/Schedule.php b/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/Schedule.php deleted file mode 100644 index ef0b155696ac..000000000000 Binary files a/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/Schedule.php and /dev/null differ diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/ScheduleService.php b/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/ScheduleService.php deleted file mode 100644 index b829d2b9e130..000000000000 --- a/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/ScheduleService.php +++ /dev/null @@ -1,77 +0,0 @@ -internalAddGeneratedFile( - ' - -1google/cloud/aiplatform/v1/schedule_service.protogoogle.cloud.aiplatform.v1google/api/client.protogoogle/api/field_behavior.protogoogle/api/resource.proto*google/cloud/aiplatform/v1/operation.proto)google/cloud/aiplatform/v1/schedule.proto#google/longrunning/operations.protogoogle/protobuf/empty.proto google/protobuf/field_mask.proto" -CreateScheduleRequest9 -parent ( B)AA# -!locations.googleapis.com/Location; -schedule ( 2$.google.cloud.aiplatform.v1.ScheduleBA"N -GetScheduleRequest8 -name ( B*AA$ -"aiplatform.googleapis.com/Schedule" -ListSchedulesRequest9 -parent ( B)AA# -!locations.googleapis.com/Location -filter (  - page_size ( - -page_token (  -order_by ( "i -ListSchedulesResponse7 - schedules ( 2$.google.cloud.aiplatform.v1.Schedule -next_page_token ( "Q -DeleteScheduleRequest8 -name ( B*AA$ -"aiplatform.googleapis.com/Schedule"P -PauseScheduleRequest8 -name ( B*AA$ -"aiplatform.googleapis.com/Schedule"h -ResumeScheduleRequest8 -name ( B*AA$ -"aiplatform.googleapis.com/Schedule -catch_up (BA" -UpdateScheduleRequest; -schedule ( 2$.google.cloud.aiplatform.v1.ScheduleBA4 - update_mask ( 2.google.protobuf.FieldMaskBA2 - -ScheduleService -CreateSchedule1.google.cloud.aiplatform.v1.CreateScheduleRequest$.google.cloud.aiplatform.v1.Schedule"QAparent,schedule9"-/v1/{parent=projects/*/locations/*}/schedules:schedule -DeleteSchedule1.google.cloud.aiplatform.v1.DeleteScheduleRequest.google.longrunning.Operation"oA0 -google.protobuf.EmptyDeleteOperationMetadataAname/*-/v1/{name=projects/*/locations/*/schedules/*} - GetSchedule..google.cloud.aiplatform.v1.GetScheduleRequest$.google.cloud.aiplatform.v1.Schedule"Aparent/-/v1/{parent=projects/*/locations/*}/schedules - PauseSchedule0.google.cloud.aiplatform.v1.PauseScheduleRequest.google.protobuf.Empty"EAname8"3/v1/{name=projects/*/locations/*/schedules/*}:pause:* -ResumeSchedule1.google.cloud.aiplatform.v1.ResumeScheduleRequest.google.protobuf.Empty"VAnameA name,catch_up9"4/v1/{name=projects/*/locations/*/schedules/*}:resume:* -UpdateSchedule1.google.cloud.aiplatform.v1.UpdateScheduleRequest$.google.cloud.aiplatform.v1.Schedule"_Aschedule,update_maskB26/v1/{schedule.name=projects/*/locations/*/schedules/*}:scheduleMAaiplatform.googleapis.comA.https://www.googleapis.com/auth/cloud-platformB -com.google.cloud.aiplatform.v1BScheduleServiceProtoPZ>cloud.google.com/go/aiplatform/apiv1/aiplatformpb;aiplatformpbGoogle.Cloud.AIPlatform.V1Google\\Cloud\\AIPlatform\\V1Google::Cloud::AIPlatform::V1bproto3' - , true); - - static::$is_initialized = true; - } -} - diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/ServiceNetworking.php b/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/ServiceNetworking.php deleted file mode 100644 index 95469558e098..000000000000 --- a/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/ServiceNetworking.php +++ /dev/null @@ -1,37 +0,0 @@ -internalAddGeneratedFile( - ' - -3google/cloud/aiplatform/v1/service_networking.protogoogle.cloud.aiplatform.v1google/api/resource.proto"e -PrivateServiceConnectConfig+ -enable_private_service_connect (BA -project_allowlist ( "S -PscAutomatedEndpoints - -project_id (  -network (  - match_address ( B -com.google.cloud.aiplatform.v1BServiceNetworkingProtoPZ>cloud.google.com/go/aiplatform/apiv1/aiplatformpb;aiplatformpbGoogle.Cloud.AIPlatform.V1Google\\Cloud\\AIPlatform\\V1Google::Cloud::AIPlatform::V1bproto3' - , true); - - static::$is_initialized = true; - } -} - diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/SpecialistPool.php b/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/SpecialistPool.php deleted file mode 100644 index 2ef44241a950..000000000000 --- a/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/SpecialistPool.php +++ /dev/null @@ -1,37 +0,0 @@ -internalAddGeneratedFile( - ' - -0google/cloud/aiplatform/v1/specialist_pool.protogoogle.cloud.aiplatform.v1google/api/resource.proto" -SpecialistPool -name ( BA - display_name ( BA& -specialist_managers_count (BA! -specialist_manager_emails ( \' -pending_data_labeling_jobs ( BA -specialist_worker_emails ( :xAu -(aiplatform.googleapis.com/SpecialistPoolIprojects/{project}/locations/{location}/specialistPools/{specialist_pool}B -com.google.cloud.aiplatform.v1BSpecialistPoolProtoPZ>cloud.google.com/go/aiplatform/apiv1/aiplatformpb;aiplatformpbGoogle.Cloud.AIPlatform.V1Google\\Cloud\\AIPlatform\\V1Google::Cloud::AIPlatform::V1bproto3' - , true); - - static::$is_initialized = true; - } -} - diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/SpecialistPoolService.php b/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/SpecialistPoolService.php deleted file mode 100644 index 2049a336bdb7..000000000000 --- a/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/SpecialistPoolService.php +++ /dev/null @@ -1,76 +0,0 @@ -internalAddGeneratedFile( - ' - -8google/cloud/aiplatform/v1/specialist_pool_service.protogoogle.cloud.aiplatform.v1google/api/client.protogoogle/api/field_behavior.protogoogle/api/resource.proto*google/cloud/aiplatform/v1/operation.proto0google/cloud/aiplatform/v1/specialist_pool.proto#google/longrunning/operations.protogoogle/protobuf/empty.proto google/protobuf/field_mask.proto" -CreateSpecialistPoolRequest9 -parent ( B)AA# -!locations.googleapis.com/LocationH -specialist_pool ( 2*.google.cloud.aiplatform.v1.SpecialistPoolBA"w -%CreateSpecialistPoolOperationMetadataN -generic_metadata ( 24.google.cloud.aiplatform.v1.GenericOperationMetadata"Z -GetSpecialistPoolRequest> -name ( B0AA* -(aiplatform.googleapis.com/SpecialistPool" -ListSpecialistPoolsRequest9 -parent ( B)AA# -!locations.googleapis.com/Location - page_size ( - -page_token ( - - read_mask ( 2.google.protobuf.FieldMask"| -ListSpecialistPoolsResponseD -specialist_pools ( 2*.google.cloud.aiplatform.v1.SpecialistPool -next_page_token ( "l -DeleteSpecialistPoolRequest> -name ( B0AA* -(aiplatform.googleapis.com/SpecialistPool -force (" -UpdateSpecialistPoolRequestH -specialist_pool ( 2*.google.cloud.aiplatform.v1.SpecialistPoolBA4 - update_mask ( 2.google.protobuf.FieldMaskBA" -%UpdateSpecialistPoolOperationMetadataI -specialist_pool ( B0AA* -(aiplatform.googleapis.com/SpecialistPoolN -generic_metadata ( 24.google.cloud.aiplatform.v1.GenericOperationMetadata2 - -SpecialistPoolService -CreateSpecialistPool7.google.cloud.aiplatform.v1.CreateSpecialistPoolRequest.google.longrunning.Operation"A7 -SpecialistPool%CreateSpecialistPoolOperationMetadataAparent,specialist_poolF"3/v1/{parent=projects/*/locations/*}/specialistPools:specialist_pool -GetSpecialistPool4.google.cloud.aiplatform.v1.GetSpecialistPoolRequest*.google.cloud.aiplatform.v1.SpecialistPool"BAname53/v1/{name=projects/*/locations/*/specialistPools/*} -ListSpecialistPools6.google.cloud.aiplatform.v1.ListSpecialistPoolsRequest7.google.cloud.aiplatform.v1.ListSpecialistPoolsResponse"DAparent53/v1/{parent=projects/*/locations/*}/specialistPools -DeleteSpecialistPool7.google.cloud.aiplatform.v1.DeleteSpecialistPoolRequest.google.longrunning.Operation"uA0 -google.protobuf.EmptyDeleteOperationMetadataAname5*3/v1/{name=projects/*/locations/*/specialistPools/*} -UpdateSpecialistPool7.google.cloud.aiplatform.v1.UpdateSpecialistPoolRequest.google.longrunning.Operation"A7 -SpecialistPool%UpdateSpecialistPoolOperationMetadataAspecialist_pool,update_maskV2C/v1/{specialist_pool.name=projects/*/locations/*/specialistPools/*}:specialist_poolMAaiplatform.googleapis.comA.https://www.googleapis.com/auth/cloud-platformB -com.google.cloud.aiplatform.v1BSpecialistPoolServiceProtoPZ>cloud.google.com/go/aiplatform/apiv1/aiplatformpb;aiplatformpbGoogle.Cloud.AIPlatform.V1Google\\Cloud\\AIPlatform\\V1Google::Cloud::AIPlatform::V1bproto3' - , true); - - static::$is_initialized = true; - } -} - diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/Study.php b/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/Study.php deleted file mode 100644 index 3ae80bd2bebb..000000000000 Binary files a/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/Study.php and /dev/null differ diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/Tensorboard.php b/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/Tensorboard.php deleted file mode 100644 index ab3c805a7865..000000000000 --- a/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/Tensorboard.php +++ /dev/null @@ -1,51 +0,0 @@ -internalAddGeneratedFile( - ' - -,google/cloud/aiplatform/v1/tensorboard.protogoogle.cloud.aiplatform.v1google/api/resource.proto0google/cloud/aiplatform/v1/encryption_spec.protogoogle/protobuf/timestamp.proto" - Tensorboard -name ( BA - display_name ( BA - description ( C -encryption_spec ( 2*.google.cloud.aiplatform.v1.EncryptionSpec% -blob_storage_path_prefix - ( BA - run_count (BA4 - create_time ( 2.google.protobuf.TimestampBA4 - update_time ( 2.google.protobuf.TimestampBAC -labels ( 23.google.cloud.aiplatform.v1.Tensorboard.LabelsEntry -etag (  - -is_default ( - satisfies_pzs (BA - satisfies_pzi (BA- - LabelsEntry -key (  -value ( :8:nAk -%aiplatform.googleapis.com/TensorboardBprojects/{project}/locations/{location}/tensorboards/{tensorboard}B -com.google.cloud.aiplatform.v1BTensorboardProtoPZ>cloud.google.com/go/aiplatform/apiv1/aiplatformpb;aiplatformpbGoogle.Cloud.AIPlatform.V1Google\\Cloud\\AIPlatform\\V1Google::Cloud::AIPlatform::V1bproto3' - , true); - - static::$is_initialized = true; - } -} - diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/TensorboardData.php b/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/TensorboardData.php deleted file mode 100644 index 660cb8ac2003..000000000000 Binary files a/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/TensorboardData.php and /dev/null differ diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/TensorboardExperiment.php b/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/TensorboardExperiment.php deleted file mode 100644 index cd680a6fb1a6..000000000000 --- a/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/TensorboardExperiment.php +++ /dev/null @@ -1,43 +0,0 @@ -internalAddGeneratedFile( - ' - -7google/cloud/aiplatform/v1/tensorboard_experiment.protogoogle.cloud.aiplatform.v1google/api/resource.protogoogle/protobuf/timestamp.proto" -TensorboardExperiment -name ( BA - display_name (  - description ( 4 - create_time ( 2.google.protobuf.TimestampBA4 - update_time ( 2.google.protobuf.TimestampBAM -labels ( 2=.google.cloud.aiplatform.v1.TensorboardExperiment.LabelsEntry -etag (  -source ( BA- - LabelsEntry -key (  -value ( :8:A -/aiplatform.googleapis.com/TensorboardExperiment[projects/{project}/locations/{location}/tensorboards/{tensorboard}/experiments/{experiment}B -com.google.cloud.aiplatform.v1BTensorboardExperimentProtoPZ>cloud.google.com/go/aiplatform/apiv1/aiplatformpb;aiplatformpbGoogle.Cloud.AIPlatform.V1Google\\Cloud\\AIPlatform\\V1Google::Cloud::AIPlatform::V1bproto3' - , true); - - static::$is_initialized = true; - } -} - diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/TensorboardRun.php b/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/TensorboardRun.php deleted file mode 100644 index e440dc1ca866..000000000000 --- a/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/TensorboardRun.php +++ /dev/null @@ -1,42 +0,0 @@ -internalAddGeneratedFile( - ' - -0google/cloud/aiplatform/v1/tensorboard_run.protogoogle.cloud.aiplatform.v1google/api/resource.protogoogle/protobuf/timestamp.proto" -TensorboardRun -name ( BA - display_name ( BA - description ( 4 - create_time ( 2.google.protobuf.TimestampBA4 - update_time ( 2.google.protobuf.TimestampBAF -labels ( 26.google.cloud.aiplatform.v1.TensorboardRun.LabelsEntry -etag ( - - LabelsEntry -key (  -value ( :8:A -(aiplatform.googleapis.com/TensorboardRunfprojects/{project}/locations/{location}/tensorboards/{tensorboard}/experiments/{experiment}/runs/{run}B -com.google.cloud.aiplatform.v1BTensorboardRunProtoPZ>cloud.google.com/go/aiplatform/apiv1/aiplatformpb;aiplatformpbGoogle.Cloud.AIPlatform.V1Google\\Cloud\\AIPlatform\\V1Google::Cloud::AIPlatform::V1bproto3' - , true); - - static::$is_initialized = true; - } -} - diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/TensorboardService.php b/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/TensorboardService.php deleted file mode 100644 index 1b0e9e7b3eb7..000000000000 --- a/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/TensorboardService.php +++ /dev/null @@ -1,252 +0,0 @@ -internalAddGeneratedFile( - ' -{ -4google/cloud/aiplatform/v1/tensorboard_service.protogoogle.cloud.aiplatform.v1google/api/client.protogoogle/api/field_behavior.protogoogle/api/resource.proto*google/cloud/aiplatform/v1/operation.proto,google/cloud/aiplatform/v1/tensorboard.proto1google/cloud/aiplatform/v1/tensorboard_data.proto7google/cloud/aiplatform/v1/tensorboard_experiment.proto0google/cloud/aiplatform/v1/tensorboard_run.proto8google/cloud/aiplatform/v1/tensorboard_time_series.proto#google/longrunning/operations.protogoogle/protobuf/empty.proto google/protobuf/field_mask.proto" -CreateTensorboardRequest= -parent ( B-AA\' -%aiplatform.googleapis.com/TensorboardA - tensorboard ( 2\'.google.cloud.aiplatform.v1.TensorboardBA"T -GetTensorboardRequest; -name ( B-AA\' -%aiplatform.googleapis.com/Tensorboard" -ListTensorboardsRequest= -parent ( B-AA\'%aiplatform.googleapis.com/Tensorboard -filter (  - page_size ( - -page_token (  -order_by ( - - read_mask ( 2.google.protobuf.FieldMask"r -ListTensorboardsResponse= - tensorboards ( 2\'.google.cloud.aiplatform.v1.Tensorboard -next_page_token ( " -UpdateTensorboardRequest4 - update_mask ( 2.google.protobuf.FieldMaskBAA - tensorboard ( 2\'.google.cloud.aiplatform.v1.TensorboardBA"W -DeleteTensorboardRequest; -name ( B-AA\' -%aiplatform.googleapis.com/Tensorboard"a -ReadTensorboardUsageRequestB - tensorboard ( B-AA\' -%aiplatform.googleapis.com/Tensorboard" -ReadTensorboardUsageResponsej -monthly_usage_data ( 2N.google.cloud.aiplatform.v1.ReadTensorboardUsageResponse.MonthlyUsageDataEntry8 -PerUserUsageData -username (  - -view_count (w -PerMonthUsageDatab -user_usage_data ( 2I.google.cloud.aiplatform.v1.ReadTensorboardUsageResponse.PerUserUsageData -MonthlyUsageDataEntry -key ( Y -value ( 2J.google.cloud.aiplatform.v1.ReadTensorboardUsageResponse.PerMonthUsageData:8"` -ReadTensorboardSizeRequestB - tensorboard ( B-AA\' -%aiplatform.googleapis.com/Tensorboard"8 -ReadTensorboardSizeResponse -storage_size_byte (" -"CreateTensorboardExperimentRequestG -parent ( B7AA1 -/aiplatform.googleapis.com/TensorboardExperimentQ -tensorboard_experiment ( 21.google.cloud.aiplatform.v1.TensorboardExperiment& -tensorboard_experiment_id ( BA"h -GetTensorboardExperimentRequestE -name ( B7AA1 -/aiplatform.googleapis.com/TensorboardExperiment" -!ListTensorboardExperimentsRequestG -parent ( B7AA1/aiplatform.googleapis.com/TensorboardExperiment -filter (  - page_size ( - -page_token (  -order_by ( - - read_mask ( 2.google.protobuf.FieldMask" -"ListTensorboardExperimentsResponseR -tensorboard_experiments ( 21.google.cloud.aiplatform.v1.TensorboardExperiment -next_page_token ( " -"UpdateTensorboardExperimentRequest4 - update_mask ( 2.google.protobuf.FieldMaskBAV -tensorboard_experiment ( 21.google.cloud.aiplatform.v1.TensorboardExperimentBA"k -"DeleteTensorboardExperimentRequestE -name ( B7AA1 -/aiplatform.googleapis.com/TensorboardExperiment" -!BatchCreateTensorboardRunsRequestG -parent ( B7AA1 -/aiplatform.googleapis.com/TensorboardExperimentN -requests ( 27.google.cloud.aiplatform.v1.CreateTensorboardRunRequestBA"j -"BatchCreateTensorboardRunsResponseD -tensorboard_runs ( 2*.google.cloud.aiplatform.v1.TensorboardRun" -CreateTensorboardRunRequest@ -parent ( B0AA* -(aiplatform.googleapis.com/TensorboardRunH -tensorboard_run ( 2*.google.cloud.aiplatform.v1.TensorboardRunBA -tensorboard_run_id ( BA"Z -GetTensorboardRunRequest> -name ( B0AA* -(aiplatform.googleapis.com/TensorboardRun" -ReadTensorboardBlobDataRequestL - time_series ( B7AA1 -/aiplatform.googleapis.com/TensorboardTimeSeries -blob_ids ( "] -ReadTensorboardBlobDataResponse: -blobs ( 2+.google.cloud.aiplatform.v1.TensorboardBlob" -ListTensorboardRunsRequest@ -parent ( B0AA*(aiplatform.googleapis.com/TensorboardRun -filter (  - page_size ( - -page_token (  -order_by ( - - read_mask ( 2.google.protobuf.FieldMask"| -ListTensorboardRunsResponseD -tensorboard_runs ( 2*.google.cloud.aiplatform.v1.TensorboardRun -next_page_token ( " -UpdateTensorboardRunRequest4 - update_mask ( 2.google.protobuf.FieldMaskBAH -tensorboard_run ( 2*.google.cloud.aiplatform.v1.TensorboardRunBA"] -DeleteTensorboardRunRequest> -name ( B0AA* -(aiplatform.googleapis.com/TensorboardRun" -\'BatchCreateTensorboardTimeSeriesRequestG -parent ( B7AA1 -/aiplatform.googleapis.com/TensorboardExperimentU -requests ( 2>.google.cloud.aiplatform.v1.CreateTensorboardTimeSeriesRequestBA"~ -(BatchCreateTensorboardTimeSeriesResponseR -tensorboard_time_series ( 21.google.cloud.aiplatform.v1.TensorboardTimeSeries" -"CreateTensorboardTimeSeriesRequestG -parent ( B7AA1 -/aiplatform.googleapis.com/TensorboardTimeSeries\' -tensorboard_time_series_id ( BAW -tensorboard_time_series ( 21.google.cloud.aiplatform.v1.TensorboardTimeSeriesBA"h -GetTensorboardTimeSeriesRequestE -name ( B7AA1 -/aiplatform.googleapis.com/TensorboardTimeSeries" - ListTensorboardTimeSeriesRequestG -parent ( B7AA1/aiplatform.googleapis.com/TensorboardTimeSeries -filter (  - page_size ( - -page_token (  -order_by ( - - read_mask ( 2.google.protobuf.FieldMask" -!ListTensorboardTimeSeriesResponseR -tensorboard_time_series ( 21.google.cloud.aiplatform.v1.TensorboardTimeSeries -next_page_token ( " -"UpdateTensorboardTimeSeriesRequest4 - update_mask ( 2.google.protobuf.FieldMaskBAW -tensorboard_time_series ( 21.google.cloud.aiplatform.v1.TensorboardTimeSeriesBA"k -"DeleteTensorboardTimeSeriesRequestE -name ( B7AA1 -/aiplatform.googleapis.com/TensorboardTimeSeries" -)BatchReadTensorboardTimeSeriesDataRequestB - tensorboard ( B-AA\' -%aiplatform.googleapis.com/TensorboardL - time_series ( B7AA1 -/aiplatform.googleapis.com/TensorboardTimeSeries"r -*BatchReadTensorboardTimeSeriesDataResponseD -time_series_data ( 2*.google.cloud.aiplatform.v1.TimeSeriesData" -$ReadTensorboardTimeSeriesDataRequestX -tensorboard_time_series ( B7AA1 -/aiplatform.googleapis.com/TensorboardTimeSeries -max_data_points ( -filter ( "m -%ReadTensorboardTimeSeriesDataResponseD -time_series_data ( 2*.google.cloud.aiplatform.v1.TimeSeriesData" -%WriteTensorboardExperimentDataRequestW -tensorboard_experiment ( B7AA1 -/aiplatform.googleapis.com/TensorboardExperiment` -write_run_data_requests ( 2:.google.cloud.aiplatform.v1.WriteTensorboardRunDataRequestBA"( -&WriteTensorboardExperimentDataResponse" -WriteTensorboardRunDataRequestI -tensorboard_run ( B0AA* -(aiplatform.googleapis.com/TensorboardRunI -time_series_data ( 2*.google.cloud.aiplatform.v1.TimeSeriesDataBA"! -WriteTensorboardRunDataResponse" -&ExportTensorboardTimeSeriesDataRequestX -tensorboard_time_series ( B7AA1 -/aiplatform.googleapis.com/TensorboardTimeSeries -filter (  - page_size ( - -page_token (  -order_by ( " -\'ExportTensorboardTimeSeriesDataResponseP -time_series_data_points ( 2/.google.cloud.aiplatform.v1.TimeSeriesDataPoint -next_page_token ( "t -"CreateTensorboardOperationMetadataN -generic_metadata ( 24.google.cloud.aiplatform.v1.GenericOperationMetadata"t -"UpdateTensorboardOperationMetadataN -generic_metadata ( 24.google.cloud.aiplatform.v1.GenericOperationMetadata2> -TensorboardService -CreateTensorboard4.google.cloud.aiplatform.v1.CreateTensorboardRequest.google.longrunning.Operation"A1 - Tensorboard"CreateTensorboardOperationMetadataAparent,tensorboard?"0/v1/{parent=projects/*/locations/*}/tensorboards: tensorboard -GetTensorboard1.google.cloud.aiplatform.v1.GetTensorboardRequest\'.google.cloud.aiplatform.v1.Tensorboard"?Aname20/v1/{name=projects/*/locations/*/tensorboards/*} -UpdateTensorboard4.google.cloud.aiplatform.v1.UpdateTensorboardRequest.google.longrunning.Operation"A1 - Tensorboard"UpdateTensorboardOperationMetadataAtensorboard,update_maskK2.google.cloud.aiplatform.v1.CreateTensorboardExperimentRequest1.google.cloud.aiplatform.v1.TensorboardExperiment"A7parent,tensorboard_experiment,tensorboard_experiment_idX">/v1/{parent=projects/*/locations/*/tensorboards/*}/experiments:tensorboard_experiment -GetTensorboardExperiment;.google.cloud.aiplatform.v1.GetTensorboardExperimentRequest1.google.cloud.aiplatform.v1.TensorboardExperiment"MAname@>/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*} -UpdateTensorboardExperiment>.google.cloud.aiplatform.v1.UpdateTensorboardExperimentRequest1.google.cloud.aiplatform.v1.TensorboardExperiment"A"tensorboard_experiment,update_masko2U/v1/{tensorboard_experiment.name=projects/*/locations/*/tensorboards/*/experiments/*}:tensorboard_experiment -ListTensorboardExperiments=.google.cloud.aiplatform.v1.ListTensorboardExperimentsRequest>.google.cloud.aiplatform.v1.ListTensorboardExperimentsResponse"OAparent@>/v1/{parent=projects/*/locations/*/tensorboards/*}/experiments -DeleteTensorboardExperiment>.google.cloud.aiplatform.v1.DeleteTensorboardExperimentRequest.google.longrunning.Operation"A0 -google.protobuf.EmptyDeleteOperationMetadataAname@*>/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*} -CreateTensorboardRun7.google.cloud.aiplatform.v1.CreateTensorboardRunRequest*.google.cloud.aiplatform.v1.TensorboardRun"A)parent,tensorboard_run,tensorboard_run_idX"E/v1/{parent=projects/*/locations/*/tensorboards/*/experiments/*}/runs:tensorboard_run -BatchCreateTensorboardRuns=.google.cloud.aiplatform.v1.BatchCreateTensorboardRunsRequest>.google.cloud.aiplatform.v1.BatchCreateTensorboardRunsResponse"nAparent,requestsV"Q/v1/{parent=projects/*/locations/*/tensorboards/*/experiments/*}/runs:batchCreate:* -GetTensorboardRun4.google.cloud.aiplatform.v1.GetTensorboardRunRequest*.google.cloud.aiplatform.v1.TensorboardRun"TAnameGE/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*} -UpdateTensorboardRun7.google.cloud.aiplatform.v1.UpdateTensorboardRunRequest*.google.cloud.aiplatform.v1.TensorboardRun"Atensorboard_run,update_maskh2U/v1/{tensorboard_run.name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*}:tensorboard_run -ListTensorboardRuns6.google.cloud.aiplatform.v1.ListTensorboardRunsRequest7.google.cloud.aiplatform.v1.ListTensorboardRunsResponse"VAparentGE/v1/{parent=projects/*/locations/*/tensorboards/*/experiments/*}/runs -DeleteTensorboardRun7.google.cloud.aiplatform.v1.DeleteTensorboardRunRequest.google.longrunning.Operation"A0 -google.protobuf.EmptyDeleteOperationMetadataAnameG*E/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*} - BatchCreateTensorboardTimeSeriesC.google.cloud.aiplatform.v1.BatchCreateTensorboardTimeSeriesRequestD.google.cloud.aiplatform.v1.BatchCreateTensorboardTimeSeriesResponse"iAparent,requestsQ"L/v1/{parent=projects/*/locations/*/tensorboards/*/experiments/*}:batchCreate:* -CreateTensorboardTimeSeries>.google.cloud.aiplatform.v1.CreateTensorboardTimeSeriesRequest1.google.cloud.aiplatform.v1.TensorboardTimeSeries"Aparent,tensorboard_time_seriesm"R/v1/{parent=projects/*/locations/*/tensorboards/*/experiments/*/runs/*}/timeSeries:tensorboard_time_series -GetTensorboardTimeSeries;.google.cloud.aiplatform.v1.GetTensorboardTimeSeriesRequest1.google.cloud.aiplatform.v1.TensorboardTimeSeries"aAnameTR/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*} -UpdateTensorboardTimeSeries>.google.cloud.aiplatform.v1.UpdateTensorboardTimeSeriesRequest1.google.cloud.aiplatform.v1.TensorboardTimeSeries"A#tensorboard_time_series,update_mask2j/v1/{tensorboard_time_series.name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*}:tensorboard_time_series -ListTensorboardTimeSeries<.google.cloud.aiplatform.v1.ListTensorboardTimeSeriesRequest=.google.cloud.aiplatform.v1.ListTensorboardTimeSeriesResponse"cAparentTR/v1/{parent=projects/*/locations/*/tensorboards/*/experiments/*/runs/*}/timeSeries -DeleteTensorboardTimeSeries>.google.cloud.aiplatform.v1.DeleteTensorboardTimeSeriesRequest.google.longrunning.Operation"A0 -google.protobuf.EmptyDeleteOperationMetadataAnameT*R/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*} -"BatchReadTensorboardTimeSeriesDataE.google.cloud.aiplatform.v1.BatchReadTensorboardTimeSeriesDataRequestF.google.cloud.aiplatform.v1.BatchReadTensorboardTimeSeriesDataResponse"WA tensorboardCA/v1/{tensorboard=projects/*/locations/*/tensorboards/*}:batchRead -ReadTensorboardTimeSeriesData@.google.cloud.aiplatform.v1.ReadTensorboardTimeSeriesDataRequestA.google.cloud.aiplatform.v1.ReadTensorboardTimeSeriesDataResponse"Atensorboard_time_serieslj/v1/{tensorboard_time_series=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*}:read -ReadTensorboardBlobData:.google.cloud.aiplatform.v1.ReadTensorboardBlobDataRequest;.google.cloud.aiplatform.v1.ReadTensorboardBlobDataResponse"|A time_serieshf/v1/{time_series=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*}:readBlobData0 -WriteTensorboardExperimentDataA.google.cloud.aiplatform.v1.WriteTensorboardExperimentDataRequestB.google.cloud.aiplatform.v1.WriteTensorboardExperimentDataResponse"A.tensorboard_experiment,write_run_data_requests["V/v1/{tensorboard_experiment=projects/*/locations/*/tensorboards/*/experiments/*}:write:* -WriteTensorboardRunData:.google.cloud.aiplatform.v1.WriteTensorboardRunDataRequest;.google.cloud.aiplatform.v1.WriteTensorboardRunDataResponse"A tensorboard_run,time_series_data["V/v1/{tensorboard_run=projects/*/locations/*/tensorboards/*/experiments/*/runs/*}:write:* -ExportTensorboardTimeSeriesDataB.google.cloud.aiplatform.v1.ExportTensorboardTimeSeriesDataRequestC.google.cloud.aiplatform.v1.ExportTensorboardTimeSeriesDataResponse"Atensorboard_time_series"/v1/{tensorboard_time_series=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*}:exportTensorboardTimeSeries:*Aaiplatform.googleapis.comAghttps://www.googleapis.com/auth/cloud-platform,https://www.googleapis.com/auth/cloud-platform.read-onlyB -com.google.cloud.aiplatform.v1BTensorboardServiceProtoPZ>cloud.google.com/go/aiplatform/apiv1/aiplatformpb;aiplatformpbGoogle.Cloud.AIPlatform.V1Google\\Cloud\\AIPlatform\\V1Google::Cloud::AIPlatform::V1bproto3' - , true); - - static::$is_initialized = true; - } -} - diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/TensorboardTimeSeries.php b/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/TensorboardTimeSeries.php deleted file mode 100644 index 79a7231e6591..000000000000 Binary files a/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/TensorboardTimeSeries.php and /dev/null differ diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/Tool.php b/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/Tool.php deleted file mode 100644 index 67bc3c3363d2..000000000000 Binary files a/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/Tool.php and /dev/null differ diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/TrainingPipeline.php b/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/TrainingPipeline.php deleted file mode 100644 index 0f3a5aaa4822..000000000000 Binary files a/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/TrainingPipeline.php and /dev/null differ diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/TuningJob.php b/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/TuningJob.php deleted file mode 100644 index b4dca9d8fce9..000000000000 Binary files a/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/TuningJob.php and /dev/null differ diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/Types.php b/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/Types.php deleted file mode 100644 index 23df6c6b7835..000000000000 Binary files a/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/Types.php and /dev/null differ diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/UnmanagedContainerModel.php b/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/UnmanagedContainerModel.php deleted file mode 100644 index 1832b9fe36ae..000000000000 --- a/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/UnmanagedContainerModel.php +++ /dev/null @@ -1,33 +0,0 @@ -internalAddGeneratedFile( - ' - -:google/cloud/aiplatform/v1/unmanaged_container_model.protogoogle.cloud.aiplatform.v1&google/cloud/aiplatform/v1/model.proto" -UnmanagedContainerModel - artifact_uri ( E -predict_schemata ( 2+.google.cloud.aiplatform.v1.PredictSchemataK -container_spec ( 2..google.cloud.aiplatform.v1.ModelContainerSpecBAB -com.google.cloud.aiplatform.v1BUnmanagedContainerModelProtoPZ>cloud.google.com/go/aiplatform/apiv1/aiplatformpb;aiplatformpbGoogle.Cloud.AIPlatform.V1Google\\Cloud\\AIPlatform\\V1Google::Cloud::AIPlatform::V1bproto3' - , true); - - static::$is_initialized = true; - } -} - diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/UserActionReference.php b/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/UserActionReference.php deleted file mode 100644 index ece2093742f7..000000000000 Binary files a/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/UserActionReference.php and /dev/null differ diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/Value.php b/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/Value.php deleted file mode 100644 index 5f6b4b13eb8e..000000000000 Binary files a/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/Value.php and /dev/null differ diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/VizierService.php b/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/VizierService.php deleted file mode 100644 index a7932b25d3f0..000000000000 --- a/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/VizierService.php +++ /dev/null @@ -1,141 +0,0 @@ -internalAddGeneratedFile( - ' -/ -/google/cloud/aiplatform/v1/vizier_service.protogoogle.cloud.aiplatform.v1google/api/client.protogoogle/api/field_behavior.protogoogle/api/resource.proto*google/cloud/aiplatform/v1/operation.proto&google/cloud/aiplatform/v1/study.proto#google/longrunning/operations.protogoogle/protobuf/empty.protogoogle/protobuf/timestamp.proto"H -GetStudyRequest5 -name ( B\'AA! -aiplatform.googleapis.com/Study" -CreateStudyRequest9 -parent ( B)AA# -!locations.googleapis.com/Location5 -study ( 2!.google.cloud.aiplatform.v1.StudyBA" -ListStudiesRequest9 -parent ( B)AA# -!locations.googleapis.com/Location - -page_token ( BA - page_size (BA"b -ListStudiesResponse2 -studies ( 2!.google.cloud.aiplatform.v1.Study -next_page_token ( "K -DeleteStudyRequest5 -name ( B\'AA! -aiplatform.googleapis.com/Study"j -LookupStudyRequest9 -parent ( B)AA# -!locations.googleapis.com/Location - display_name ( BA" -SuggestTrialsRequest7 -parent ( B\'AA! -aiplatform.googleapis.com/Study -suggestion_count (BA - client_id ( BA? -contexts ( 2(.google.cloud.aiplatform.v1.TrialContextBA" -SuggestTrialsResponse1 -trials ( 2!.google.cloud.aiplatform.v1.Trial< - study_state (2\'.google.cloud.aiplatform.v1.Study.State. - -start_time ( 2.google.protobuf.Timestamp, -end_time ( 2.google.protobuf.Timestamp"z -SuggestTrialsMetadataN -generic_metadata ( 24.google.cloud.aiplatform.v1.GenericOperationMetadata - client_id ( " -CreateTrialRequest7 -parent ( B\'AA! -aiplatform.googleapis.com/Study5 -trial ( 2!.google.cloud.aiplatform.v1.TrialBA"H -GetTrialRequest5 -name ( B\'AA! -aiplatform.googleapis.com/Trial"} -ListTrialsRequest7 -parent ( B\'AA! -aiplatform.googleapis.com/Study - -page_token ( BA - page_size (BA"` -ListTrialsResponse1 -trials ( 2!.google.cloud.aiplatform.v1.Trial -next_page_token ( " -AddTrialMeasurementRequest; - -trial_name ( B\'AA! -aiplatform.googleapis.com/TrialA - measurement ( 2\'.google.cloud.aiplatform.v1.MeasurementBA" -CompleteTrialRequest5 -name ( B\'AA! -aiplatform.googleapis.com/TrialG -final_measurement ( 2\'.google.cloud.aiplatform.v1.MeasurementBA -trial_infeasible (BA -infeasible_reason ( BA"K -DeleteTrialRequest5 -name ( B\'AA! -aiplatform.googleapis.com/Trial"b -#CheckTrialEarlyStoppingStateRequest; - -trial_name ( B\'AA! -aiplatform.googleapis.com/Trial"; -$CheckTrialEarlyStoppingStateResponse - should_stop (" -%CheckTrialEarlyStoppingStateMetatdataN -generic_metadata ( 24.google.cloud.aiplatform.v1.GenericOperationMetadata -study (  -trial ( "I -StopTrialRequest5 -name ( B\'AA! -aiplatform.googleapis.com/Trial"S -ListOptimalTrialsRequest7 -parent ( B\'AA! -aiplatform.googleapis.com/Study"V -ListOptimalTrialsResponse9 -optimal_trials ( 2!.google.cloud.aiplatform.v1.Trial2 - VizierService - CreateStudy..google.cloud.aiplatform.v1.CreateStudyRequest!.google.cloud.aiplatform.v1.Study"IA parent,study4"+/v1/{parent=projects/*/locations/*}/studies:study -GetStudy+.google.cloud.aiplatform.v1.GetStudyRequest!.google.cloud.aiplatform.v1.Study":Aname-+/v1/{name=projects/*/locations/*/studies/*} - ListStudies..google.cloud.aiplatform.v1.ListStudiesRequest/.google.cloud.aiplatform.v1.ListStudiesResponse""9/v1/{name=projects/*/locations/*/studies/*/trials/*}:stop:* -ListOptimalTrials4.google.cloud.aiplatform.v1.ListOptimalTrialsRequest5.google.cloud.aiplatform.v1.ListOptimalTrialsResponse"ZAparentK"F/v1/{parent=projects/*/locations/*/studies/*}/trials:listOptimalTrials:*MAaiplatform.googleapis.comA.https://www.googleapis.com/auth/cloud-platformB -com.google.cloud.aiplatform.v1BVizierServiceProtoPZ>cloud.google.com/go/aiplatform/apiv1/aiplatformpb;aiplatformpbGoogle.Cloud.AIPlatform.V1Google\\Cloud\\AIPlatform\\V1Google::Cloud::AIPlatform::V1bproto3' - , true); - - static::$is_initialized = true; - } -} - diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/AcceleratorType.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/AcceleratorType.php deleted file mode 100644 index f5472bd1f42b..000000000000 --- a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/AcceleratorType.php +++ /dev/null @@ -1,138 +0,0 @@ -google.cloud.aiplatform.v1.AcceleratorType - */ -class AcceleratorType -{ - /** - * Unspecified accelerator type, which means no accelerator. - * - * Generated from protobuf enum ACCELERATOR_TYPE_UNSPECIFIED = 0; - */ - const ACCELERATOR_TYPE_UNSPECIFIED = 0; - /** - * Nvidia Tesla K80 GPU. - * - * Generated from protobuf enum NVIDIA_TESLA_K80 = 1; - */ - const NVIDIA_TESLA_K80 = 1; - /** - * Nvidia Tesla P100 GPU. - * - * Generated from protobuf enum NVIDIA_TESLA_P100 = 2; - */ - const NVIDIA_TESLA_P100 = 2; - /** - * Nvidia Tesla V100 GPU. - * - * Generated from protobuf enum NVIDIA_TESLA_V100 = 3; - */ - const NVIDIA_TESLA_V100 = 3; - /** - * Nvidia Tesla P4 GPU. - * - * Generated from protobuf enum NVIDIA_TESLA_P4 = 4; - */ - const NVIDIA_TESLA_P4 = 4; - /** - * Nvidia Tesla T4 GPU. - * - * Generated from protobuf enum NVIDIA_TESLA_T4 = 5; - */ - const NVIDIA_TESLA_T4 = 5; - /** - * Nvidia Tesla A100 GPU. - * - * Generated from protobuf enum NVIDIA_TESLA_A100 = 8; - */ - const NVIDIA_TESLA_A100 = 8; - /** - * Nvidia A100 80GB GPU. - * - * Generated from protobuf enum NVIDIA_A100_80GB = 9; - */ - const NVIDIA_A100_80GB = 9; - /** - * Nvidia L4 GPU. - * - * Generated from protobuf enum NVIDIA_L4 = 11; - */ - const NVIDIA_L4 = 11; - /** - * Nvidia H100 80Gb GPU. - * - * Generated from protobuf enum NVIDIA_H100_80GB = 13; - */ - const NVIDIA_H100_80GB = 13; - /** - * TPU v2. - * - * Generated from protobuf enum TPU_V2 = 6; - */ - const TPU_V2 = 6; - /** - * TPU v3. - * - * Generated from protobuf enum TPU_V3 = 7; - */ - const TPU_V3 = 7; - /** - * TPU v4. - * - * Generated from protobuf enum TPU_V4_POD = 10; - */ - const TPU_V4_POD = 10; - /** - * TPU v5. - * - * Generated from protobuf enum TPU_V5_LITEPOD = 12; - */ - const TPU_V5_LITEPOD = 12; - - private static $valueToName = [ - self::ACCELERATOR_TYPE_UNSPECIFIED => 'ACCELERATOR_TYPE_UNSPECIFIED', - self::NVIDIA_TESLA_K80 => 'NVIDIA_TESLA_K80', - self::NVIDIA_TESLA_P100 => 'NVIDIA_TESLA_P100', - self::NVIDIA_TESLA_V100 => 'NVIDIA_TESLA_V100', - self::NVIDIA_TESLA_P4 => 'NVIDIA_TESLA_P4', - self::NVIDIA_TESLA_T4 => 'NVIDIA_TESLA_T4', - self::NVIDIA_TESLA_A100 => 'NVIDIA_TESLA_A100', - self::NVIDIA_A100_80GB => 'NVIDIA_A100_80GB', - self::NVIDIA_L4 => 'NVIDIA_L4', - self::NVIDIA_H100_80GB => 'NVIDIA_H100_80GB', - self::TPU_V2 => 'TPU_V2', - self::TPU_V3 => 'TPU_V3', - self::TPU_V4_POD => 'TPU_V4_POD', - self::TPU_V5_LITEPOD => 'TPU_V5_LITEPOD', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ActiveLearningConfig.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ActiveLearningConfig.php deleted file mode 100644 index f9887ff8d0c8..000000000000 --- a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ActiveLearningConfig.php +++ /dev/null @@ -1,210 +0,0 @@ -google.cloud.aiplatform.v1.ActiveLearningConfig - */ -class ActiveLearningConfig extends \Google\Protobuf\Internal\Message -{ - /** - * Active learning data sampling config. For every active learning labeling - * iteration, it will select a batch of data based on the sampling strategy. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.SampleConfig sample_config = 3; - */ - protected $sample_config = null; - /** - * CMLE training config. For every active learning labeling iteration, system - * will train a machine learning model on CMLE. The trained model will be used - * by data sampling algorithm to select DataItems. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.TrainingConfig training_config = 4; - */ - protected $training_config = null; - protected $human_labeling_budget; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type int|string $max_data_item_count - * Max number of human labeled DataItems. - * @type int $max_data_item_percentage - * Max percent of total DataItems for human labeling. - * @type \Google\Cloud\AIPlatform\V1\SampleConfig $sample_config - * Active learning data sampling config. For every active learning labeling - * iteration, it will select a batch of data based on the sampling strategy. - * @type \Google\Cloud\AIPlatform\V1\TrainingConfig $training_config - * CMLE training config. For every active learning labeling iteration, system - * will train a machine learning model on CMLE. The trained model will be used - * by data sampling algorithm to select DataItems. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Cloud\Aiplatform\V1\DataLabelingJob::initOnce(); - parent::__construct($data); - } - - /** - * Max number of human labeled DataItems. - * - * Generated from protobuf field int64 max_data_item_count = 1; - * @return int|string - */ - public function getMaxDataItemCount() - { - return $this->readOneof(1); - } - - public function hasMaxDataItemCount() - { - return $this->hasOneof(1); - } - - /** - * Max number of human labeled DataItems. - * - * Generated from protobuf field int64 max_data_item_count = 1; - * @param int|string $var - * @return $this - */ - public function setMaxDataItemCount($var) - { - GPBUtil::checkInt64($var); - $this->writeOneof(1, $var); - - return $this; - } - - /** - * Max percent of total DataItems for human labeling. - * - * Generated from protobuf field int32 max_data_item_percentage = 2; - * @return int - */ - public function getMaxDataItemPercentage() - { - return $this->readOneof(2); - } - - public function hasMaxDataItemPercentage() - { - return $this->hasOneof(2); - } - - /** - * Max percent of total DataItems for human labeling. - * - * Generated from protobuf field int32 max_data_item_percentage = 2; - * @param int $var - * @return $this - */ - public function setMaxDataItemPercentage($var) - { - GPBUtil::checkInt32($var); - $this->writeOneof(2, $var); - - return $this; - } - - /** - * Active learning data sampling config. For every active learning labeling - * iteration, it will select a batch of data based on the sampling strategy. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.SampleConfig sample_config = 3; - * @return \Google\Cloud\AIPlatform\V1\SampleConfig|null - */ - public function getSampleConfig() - { - return $this->sample_config; - } - - public function hasSampleConfig() - { - return isset($this->sample_config); - } - - public function clearSampleConfig() - { - unset($this->sample_config); - } - - /** - * Active learning data sampling config. For every active learning labeling - * iteration, it will select a batch of data based on the sampling strategy. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.SampleConfig sample_config = 3; - * @param \Google\Cloud\AIPlatform\V1\SampleConfig $var - * @return $this - */ - public function setSampleConfig($var) - { - GPBUtil::checkMessage($var, \Google\Cloud\AIPlatform\V1\SampleConfig::class); - $this->sample_config = $var; - - return $this; - } - - /** - * CMLE training config. For every active learning labeling iteration, system - * will train a machine learning model on CMLE. The trained model will be used - * by data sampling algorithm to select DataItems. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.TrainingConfig training_config = 4; - * @return \Google\Cloud\AIPlatform\V1\TrainingConfig|null - */ - public function getTrainingConfig() - { - return $this->training_config; - } - - public function hasTrainingConfig() - { - return isset($this->training_config); - } - - public function clearTrainingConfig() - { - unset($this->training_config); - } - - /** - * CMLE training config. For every active learning labeling iteration, system - * will train a machine learning model on CMLE. The trained model will be used - * by data sampling algorithm to select DataItems. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.TrainingConfig training_config = 4; - * @param \Google\Cloud\AIPlatform\V1\TrainingConfig $var - * @return $this - */ - public function setTrainingConfig($var) - { - GPBUtil::checkMessage($var, \Google\Cloud\AIPlatform\V1\TrainingConfig::class); - $this->training_config = $var; - - return $this; - } - - /** - * @return string - */ - public function getHumanLabelingBudget() - { - return $this->whichOneof("human_labeling_budget"); - } - -} - diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/AddContextArtifactsAndExecutionsRequest.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/AddContextArtifactsAndExecutionsRequest.php deleted file mode 100644 index f48abf80c3d5..000000000000 --- a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/AddContextArtifactsAndExecutionsRequest.php +++ /dev/null @@ -1,191 +0,0 @@ -google.cloud.aiplatform.v1.AddContextArtifactsAndExecutionsRequest - */ -class AddContextArtifactsAndExecutionsRequest extends \Google\Protobuf\Internal\Message -{ - /** - * Required. The resource name of the Context that the Artifacts and - * Executions belong to. Format: - * `projects/{project}/locations/{location}/metadataStores/{metadatastore}/contexts/{context}` - * - * Generated from protobuf field string context = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - */ - protected $context = ''; - /** - * The resource names of the Artifacts to attribute to the Context. - * Format: - * `projects/{project}/locations/{location}/metadataStores/{metadatastore}/artifacts/{artifact}` - * - * Generated from protobuf field repeated string artifacts = 2 [(.google.api.resource_reference) = { - */ - private $artifacts; - /** - * The resource names of the Executions to associate with the - * Context. - * Format: - * `projects/{project}/locations/{location}/metadataStores/{metadatastore}/executions/{execution}` - * - * Generated from protobuf field repeated string executions = 3 [(.google.api.resource_reference) = { - */ - private $executions; - - /** - * @param string $context Required. The resource name of the Context that the Artifacts and - * Executions belong to. Format: - * `projects/{project}/locations/{location}/metadataStores/{metadatastore}/contexts/{context}` - * Please see {@see MetadataServiceClient::contextName()} for help formatting this field. - * @param string[] $artifacts The resource names of the Artifacts to attribute to the Context. - * - * Format: - * `projects/{project}/locations/{location}/metadataStores/{metadatastore}/artifacts/{artifact}` - * @param string[] $executions The resource names of the Executions to associate with the - * Context. - * - * Format: - * `projects/{project}/locations/{location}/metadataStores/{metadatastore}/executions/{execution}` - * - * @return \Google\Cloud\AIPlatform\V1\AddContextArtifactsAndExecutionsRequest - * - * @experimental - */ - public static function build(string $context, array $artifacts, array $executions): self - { - return (new self()) - ->setContext($context) - ->setArtifacts($artifacts) - ->setExecutions($executions); - } - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $context - * Required. The resource name of the Context that the Artifacts and - * Executions belong to. Format: - * `projects/{project}/locations/{location}/metadataStores/{metadatastore}/contexts/{context}` - * @type array|\Google\Protobuf\Internal\RepeatedField $artifacts - * The resource names of the Artifacts to attribute to the Context. - * Format: - * `projects/{project}/locations/{location}/metadataStores/{metadatastore}/artifacts/{artifact}` - * @type array|\Google\Protobuf\Internal\RepeatedField $executions - * The resource names of the Executions to associate with the - * Context. - * Format: - * `projects/{project}/locations/{location}/metadataStores/{metadatastore}/executions/{execution}` - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Cloud\Aiplatform\V1\MetadataService::initOnce(); - parent::__construct($data); - } - - /** - * Required. The resource name of the Context that the Artifacts and - * Executions belong to. Format: - * `projects/{project}/locations/{location}/metadataStores/{metadatastore}/contexts/{context}` - * - * Generated from protobuf field string context = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - * @return string - */ - public function getContext() - { - return $this->context; - } - - /** - * Required. The resource name of the Context that the Artifacts and - * Executions belong to. Format: - * `projects/{project}/locations/{location}/metadataStores/{metadatastore}/contexts/{context}` - * - * Generated from protobuf field string context = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setContext($var) - { - GPBUtil::checkString($var, True); - $this->context = $var; - - return $this; - } - - /** - * The resource names of the Artifacts to attribute to the Context. - * Format: - * `projects/{project}/locations/{location}/metadataStores/{metadatastore}/artifacts/{artifact}` - * - * Generated from protobuf field repeated string artifacts = 2 [(.google.api.resource_reference) = { - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getArtifacts() - { - return $this->artifacts; - } - - /** - * The resource names of the Artifacts to attribute to the Context. - * Format: - * `projects/{project}/locations/{location}/metadataStores/{metadatastore}/artifacts/{artifact}` - * - * Generated from protobuf field repeated string artifacts = 2 [(.google.api.resource_reference) = { - * @param array|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setArtifacts($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING); - $this->artifacts = $arr; - - return $this; - } - - /** - * The resource names of the Executions to associate with the - * Context. - * Format: - * `projects/{project}/locations/{location}/metadataStores/{metadatastore}/executions/{execution}` - * - * Generated from protobuf field repeated string executions = 3 [(.google.api.resource_reference) = { - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getExecutions() - { - return $this->executions; - } - - /** - * The resource names of the Executions to associate with the - * Context. - * Format: - * `projects/{project}/locations/{location}/metadataStores/{metadatastore}/executions/{execution}` - * - * Generated from protobuf field repeated string executions = 3 [(.google.api.resource_reference) = { - * @param array|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setExecutions($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING); - $this->executions = $arr; - - return $this; - } - -} - diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/AddContextArtifactsAndExecutionsResponse.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/AddContextArtifactsAndExecutionsResponse.php deleted file mode 100644 index d4517733526f..000000000000 --- a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/AddContextArtifactsAndExecutionsResponse.php +++ /dev/null @@ -1,34 +0,0 @@ -google.cloud.aiplatform.v1.AddContextArtifactsAndExecutionsResponse - */ -class AddContextArtifactsAndExecutionsResponse extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Cloud\Aiplatform\V1\MetadataService::initOnce(); - parent::__construct($data); - } - -} - diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/AddContextChildrenRequest.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/AddContextChildrenRequest.php deleted file mode 100644 index ced1c8790978..000000000000 --- a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/AddContextChildrenRequest.php +++ /dev/null @@ -1,129 +0,0 @@ -google.cloud.aiplatform.v1.AddContextChildrenRequest - */ -class AddContextChildrenRequest extends \Google\Protobuf\Internal\Message -{ - /** - * Required. The resource name of the parent Context. - * Format: - * `projects/{project}/locations/{location}/metadataStores/{metadatastore}/contexts/{context}` - * - * Generated from protobuf field string context = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - */ - protected $context = ''; - /** - * The resource names of the child Contexts. - * - * Generated from protobuf field repeated string child_contexts = 2 [(.google.api.resource_reference) = { - */ - private $child_contexts; - - /** - * @param string $context Required. The resource name of the parent Context. - * - * Format: - * `projects/{project}/locations/{location}/metadataStores/{metadatastore}/contexts/{context}` - * Please see {@see MetadataServiceClient::contextName()} for help formatting this field. - * @param string[] $childContexts The resource names of the child Contexts. - * - * @return \Google\Cloud\AIPlatform\V1\AddContextChildrenRequest - * - * @experimental - */ - public static function build(string $context, array $childContexts): self - { - return (new self()) - ->setContext($context) - ->setChildContexts($childContexts); - } - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $context - * Required. The resource name of the parent Context. - * Format: - * `projects/{project}/locations/{location}/metadataStores/{metadatastore}/contexts/{context}` - * @type array|\Google\Protobuf\Internal\RepeatedField $child_contexts - * The resource names of the child Contexts. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Cloud\Aiplatform\V1\MetadataService::initOnce(); - parent::__construct($data); - } - - /** - * Required. The resource name of the parent Context. - * Format: - * `projects/{project}/locations/{location}/metadataStores/{metadatastore}/contexts/{context}` - * - * Generated from protobuf field string context = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - * @return string - */ - public function getContext() - { - return $this->context; - } - - /** - * Required. The resource name of the parent Context. - * Format: - * `projects/{project}/locations/{location}/metadataStores/{metadatastore}/contexts/{context}` - * - * Generated from protobuf field string context = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setContext($var) - { - GPBUtil::checkString($var, True); - $this->context = $var; - - return $this; - } - - /** - * The resource names of the child Contexts. - * - * Generated from protobuf field repeated string child_contexts = 2 [(.google.api.resource_reference) = { - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getChildContexts() - { - return $this->child_contexts; - } - - /** - * The resource names of the child Contexts. - * - * Generated from protobuf field repeated string child_contexts = 2 [(.google.api.resource_reference) = { - * @param array|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setChildContexts($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING); - $this->child_contexts = $arr; - - return $this; - } - -} - diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/AddContextChildrenResponse.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/AddContextChildrenResponse.php deleted file mode 100644 index b684c3645241..000000000000 --- a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/AddContextChildrenResponse.php +++ /dev/null @@ -1,34 +0,0 @@ -google.cloud.aiplatform.v1.AddContextChildrenResponse - */ -class AddContextChildrenResponse extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Cloud\Aiplatform\V1\MetadataService::initOnce(); - parent::__construct($data); - } - -} - diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/AddExecutionEventsRequest.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/AddExecutionEventsRequest.php deleted file mode 100644 index 91504a57c913..000000000000 --- a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/AddExecutionEventsRequest.php +++ /dev/null @@ -1,133 +0,0 @@ -google.cloud.aiplatform.v1.AddExecutionEventsRequest - */ -class AddExecutionEventsRequest extends \Google\Protobuf\Internal\Message -{ - /** - * Required. The resource name of the Execution that the Events connect - * Artifacts with. - * Format: - * `projects/{project}/locations/{location}/metadataStores/{metadatastore}/executions/{execution}` - * - * Generated from protobuf field string execution = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - */ - protected $execution = ''; - /** - * The Events to create and add. - * - * Generated from protobuf field repeated .google.cloud.aiplatform.v1.Event events = 2; - */ - private $events; - - /** - * @param string $execution Required. The resource name of the Execution that the Events connect - * Artifacts with. - * Format: - * `projects/{project}/locations/{location}/metadataStores/{metadatastore}/executions/{execution}` - * Please see {@see MetadataServiceClient::executionName()} for help formatting this field. - * @param \Google\Cloud\AIPlatform\V1\Event[] $events The Events to create and add. - * - * @return \Google\Cloud\AIPlatform\V1\AddExecutionEventsRequest - * - * @experimental - */ - public static function build(string $execution, array $events): self - { - return (new self()) - ->setExecution($execution) - ->setEvents($events); - } - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $execution - * Required. The resource name of the Execution that the Events connect - * Artifacts with. - * Format: - * `projects/{project}/locations/{location}/metadataStores/{metadatastore}/executions/{execution}` - * @type array<\Google\Cloud\AIPlatform\V1\Event>|\Google\Protobuf\Internal\RepeatedField $events - * The Events to create and add. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Cloud\Aiplatform\V1\MetadataService::initOnce(); - parent::__construct($data); - } - - /** - * Required. The resource name of the Execution that the Events connect - * Artifacts with. - * Format: - * `projects/{project}/locations/{location}/metadataStores/{metadatastore}/executions/{execution}` - * - * Generated from protobuf field string execution = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - * @return string - */ - public function getExecution() - { - return $this->execution; - } - - /** - * Required. The resource name of the Execution that the Events connect - * Artifacts with. - * Format: - * `projects/{project}/locations/{location}/metadataStores/{metadatastore}/executions/{execution}` - * - * Generated from protobuf field string execution = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setExecution($var) - { - GPBUtil::checkString($var, True); - $this->execution = $var; - - return $this; - } - - /** - * The Events to create and add. - * - * Generated from protobuf field repeated .google.cloud.aiplatform.v1.Event events = 2; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getEvents() - { - return $this->events; - } - - /** - * The Events to create and add. - * - * Generated from protobuf field repeated .google.cloud.aiplatform.v1.Event events = 2; - * @param array<\Google\Cloud\AIPlatform\V1\Event>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setEvents($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\AIPlatform\V1\Event::class); - $this->events = $arr; - - return $this; - } - -} - diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/AddExecutionEventsResponse.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/AddExecutionEventsResponse.php deleted file mode 100644 index d89b931a0efc..000000000000 --- a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/AddExecutionEventsResponse.php +++ /dev/null @@ -1,34 +0,0 @@ -google.cloud.aiplatform.v1.AddExecutionEventsResponse - */ -class AddExecutionEventsResponse extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Cloud\Aiplatform\V1\MetadataService::initOnce(); - parent::__construct($data); - } - -} - diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/AddTrialMeasurementRequest.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/AddTrialMeasurementRequest.php deleted file mode 100644 index f2655af971ed..000000000000 --- a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/AddTrialMeasurementRequest.php +++ /dev/null @@ -1,120 +0,0 @@ -google.cloud.aiplatform.v1.AddTrialMeasurementRequest - */ -class AddTrialMeasurementRequest extends \Google\Protobuf\Internal\Message -{ - /** - * Required. The name of the trial to add measurement. - * Format: - * `projects/{project}/locations/{location}/studies/{study}/trials/{trial}` - * - * Generated from protobuf field string trial_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - */ - protected $trial_name = ''; - /** - * Required. The measurement to be added to a Trial. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.Measurement measurement = 3 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $measurement = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $trial_name - * Required. The name of the trial to add measurement. - * Format: - * `projects/{project}/locations/{location}/studies/{study}/trials/{trial}` - * @type \Google\Cloud\AIPlatform\V1\Measurement $measurement - * Required. The measurement to be added to a Trial. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Cloud\Aiplatform\V1\VizierService::initOnce(); - parent::__construct($data); - } - - /** - * Required. The name of the trial to add measurement. - * Format: - * `projects/{project}/locations/{location}/studies/{study}/trials/{trial}` - * - * Generated from protobuf field string trial_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - * @return string - */ - public function getTrialName() - { - return $this->trial_name; - } - - /** - * Required. The name of the trial to add measurement. - * Format: - * `projects/{project}/locations/{location}/studies/{study}/trials/{trial}` - * - * Generated from protobuf field string trial_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setTrialName($var) - { - GPBUtil::checkString($var, True); - $this->trial_name = $var; - - return $this; - } - - /** - * Required. The measurement to be added to a Trial. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.Measurement measurement = 3 [(.google.api.field_behavior) = REQUIRED]; - * @return \Google\Cloud\AIPlatform\V1\Measurement|null - */ - public function getMeasurement() - { - return $this->measurement; - } - - public function hasMeasurement() - { - return isset($this->measurement); - } - - public function clearMeasurement() - { - unset($this->measurement); - } - - /** - * Required. The measurement to be added to a Trial. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.Measurement measurement = 3 [(.google.api.field_behavior) = REQUIRED]; - * @param \Google\Cloud\AIPlatform\V1\Measurement $var - * @return $this - */ - public function setMeasurement($var) - { - GPBUtil::checkMessage($var, \Google\Cloud\AIPlatform\V1\Measurement::class); - $this->measurement = $var; - - return $this; - } - -} - diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/Annotation.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/Annotation.php deleted file mode 100644 index e571d303444a..000000000000 --- a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/Annotation.php +++ /dev/null @@ -1,446 +0,0 @@ -google.cloud.aiplatform.v1.Annotation - */ -class Annotation extends \Google\Protobuf\Internal\Message -{ - /** - * Output only. Resource name of the Annotation. - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $name = ''; - /** - * Required. Google Cloud Storage URI points to a YAML file describing - * [payload][google.cloud.aiplatform.v1.Annotation.payload]. The schema is - * defined as an [OpenAPI 3.0.2 Schema - * Object](https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.0.2.md#schemaObject). - * The schema files that can be used here are found in - * gs://google-cloud-aiplatform/schema/dataset/annotation/, note that the - * chosen schema must be consistent with the parent Dataset's - * [metadata][google.cloud.aiplatform.v1.Dataset.metadata_schema_uri]. - * - * Generated from protobuf field string payload_schema_uri = 2 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $payload_schema_uri = ''; - /** - * Required. The schema of the payload can be found in - * [payload_schema][google.cloud.aiplatform.v1.Annotation.payload_schema_uri]. - * - * Generated from protobuf field .google.protobuf.Value payload = 3 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $payload = null; - /** - * Output only. Timestamp when this Annotation was created. - * - * Generated from protobuf field .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $create_time = null; - /** - * Output only. Timestamp when this Annotation was last updated. - * - * Generated from protobuf field .google.protobuf.Timestamp update_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $update_time = null; - /** - * Optional. Used to perform consistent read-modify-write updates. If not set, - * a blind "overwrite" update happens. - * - * Generated from protobuf field string etag = 8 [(.google.api.field_behavior) = OPTIONAL]; - */ - protected $etag = ''; - /** - * Output only. The source of the Annotation. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.UserActionReference annotation_source = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $annotation_source = null; - /** - * Optional. The labels with user-defined metadata to organize your - * Annotations. - * Label keys and values can be no longer than 64 characters - * (Unicode codepoints), can only contain lowercase letters, numeric - * characters, underscores and dashes. International characters are allowed. - * No more than 64 user labels can be associated with one Annotation(System - * labels are excluded). - * See https://goo.gl/xmQnxf for more information and examples of labels. - * System reserved label keys are prefixed with "aiplatform.googleapis.com/" - * and are immutable. Following system labels exist for each Annotation: - * * "aiplatform.googleapis.com/annotation_set_name": - * optional, name of the UI's annotation set this Annotation belongs to. - * If not set, the Annotation is not visible in the UI. - * * "aiplatform.googleapis.com/payload_schema": - * output only, its value is the - * [payload_schema's][google.cloud.aiplatform.v1.Annotation.payload_schema_uri] - * title. - * - * Generated from protobuf field map labels = 6 [(.google.api.field_behavior) = OPTIONAL]; - */ - private $labels; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $name - * Output only. Resource name of the Annotation. - * @type string $payload_schema_uri - * Required. Google Cloud Storage URI points to a YAML file describing - * [payload][google.cloud.aiplatform.v1.Annotation.payload]. The schema is - * defined as an [OpenAPI 3.0.2 Schema - * Object](https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.0.2.md#schemaObject). - * The schema files that can be used here are found in - * gs://google-cloud-aiplatform/schema/dataset/annotation/, note that the - * chosen schema must be consistent with the parent Dataset's - * [metadata][google.cloud.aiplatform.v1.Dataset.metadata_schema_uri]. - * @type \Google\Protobuf\Value $payload - * Required. The schema of the payload can be found in - * [payload_schema][google.cloud.aiplatform.v1.Annotation.payload_schema_uri]. - * @type \Google\Protobuf\Timestamp $create_time - * Output only. Timestamp when this Annotation was created. - * @type \Google\Protobuf\Timestamp $update_time - * Output only. Timestamp when this Annotation was last updated. - * @type string $etag - * Optional. Used to perform consistent read-modify-write updates. If not set, - * a blind "overwrite" update happens. - * @type \Google\Cloud\AIPlatform\V1\UserActionReference $annotation_source - * Output only. The source of the Annotation. - * @type array|\Google\Protobuf\Internal\MapField $labels - * Optional. The labels with user-defined metadata to organize your - * Annotations. - * Label keys and values can be no longer than 64 characters - * (Unicode codepoints), can only contain lowercase letters, numeric - * characters, underscores and dashes. International characters are allowed. - * No more than 64 user labels can be associated with one Annotation(System - * labels are excluded). - * See https://goo.gl/xmQnxf for more information and examples of labels. - * System reserved label keys are prefixed with "aiplatform.googleapis.com/" - * and are immutable. Following system labels exist for each Annotation: - * * "aiplatform.googleapis.com/annotation_set_name": - * optional, name of the UI's annotation set this Annotation belongs to. - * If not set, the Annotation is not visible in the UI. - * * "aiplatform.googleapis.com/payload_schema": - * output only, its value is the - * [payload_schema's][google.cloud.aiplatform.v1.Annotation.payload_schema_uri] - * title. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Cloud\Aiplatform\V1\Annotation::initOnce(); - parent::__construct($data); - } - - /** - * Output only. Resource name of the Annotation. - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return string - */ - public function getName() - { - return $this->name; - } - - /** - * Output only. Resource name of the Annotation. - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param string $var - * @return $this - */ - public function setName($var) - { - GPBUtil::checkString($var, True); - $this->name = $var; - - return $this; - } - - /** - * Required. Google Cloud Storage URI points to a YAML file describing - * [payload][google.cloud.aiplatform.v1.Annotation.payload]. The schema is - * defined as an [OpenAPI 3.0.2 Schema - * Object](https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.0.2.md#schemaObject). - * The schema files that can be used here are found in - * gs://google-cloud-aiplatform/schema/dataset/annotation/, note that the - * chosen schema must be consistent with the parent Dataset's - * [metadata][google.cloud.aiplatform.v1.Dataset.metadata_schema_uri]. - * - * Generated from protobuf field string payload_schema_uri = 2 [(.google.api.field_behavior) = REQUIRED]; - * @return string - */ - public function getPayloadSchemaUri() - { - return $this->payload_schema_uri; - } - - /** - * Required. Google Cloud Storage URI points to a YAML file describing - * [payload][google.cloud.aiplatform.v1.Annotation.payload]. The schema is - * defined as an [OpenAPI 3.0.2 Schema - * Object](https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.0.2.md#schemaObject). - * The schema files that can be used here are found in - * gs://google-cloud-aiplatform/schema/dataset/annotation/, note that the - * chosen schema must be consistent with the parent Dataset's - * [metadata][google.cloud.aiplatform.v1.Dataset.metadata_schema_uri]. - * - * Generated from protobuf field string payload_schema_uri = 2 [(.google.api.field_behavior) = REQUIRED]; - * @param string $var - * @return $this - */ - public function setPayloadSchemaUri($var) - { - GPBUtil::checkString($var, True); - $this->payload_schema_uri = $var; - - return $this; - } - - /** - * Required. The schema of the payload can be found in - * [payload_schema][google.cloud.aiplatform.v1.Annotation.payload_schema_uri]. - * - * Generated from protobuf field .google.protobuf.Value payload = 3 [(.google.api.field_behavior) = REQUIRED]; - * @return \Google\Protobuf\Value|null - */ - public function getPayload() - { - return $this->payload; - } - - public function hasPayload() - { - return isset($this->payload); - } - - public function clearPayload() - { - unset($this->payload); - } - - /** - * Required. The schema of the payload can be found in - * [payload_schema][google.cloud.aiplatform.v1.Annotation.payload_schema_uri]. - * - * Generated from protobuf field .google.protobuf.Value payload = 3 [(.google.api.field_behavior) = REQUIRED]; - * @param \Google\Protobuf\Value $var - * @return $this - */ - public function setPayload($var) - { - GPBUtil::checkMessage($var, \Google\Protobuf\Value::class); - $this->payload = $var; - - return $this; - } - - /** - * Output only. Timestamp when this Annotation was created. - * - * Generated from protobuf field .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return \Google\Protobuf\Timestamp|null - */ - public function getCreateTime() - { - return $this->create_time; - } - - public function hasCreateTime() - { - return isset($this->create_time); - } - - public function clearCreateTime() - { - unset($this->create_time); - } - - /** - * Output only. Timestamp when this Annotation was created. - * - * Generated from protobuf field .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param \Google\Protobuf\Timestamp $var - * @return $this - */ - public function setCreateTime($var) - { - GPBUtil::checkMessage($var, \Google\Protobuf\Timestamp::class); - $this->create_time = $var; - - return $this; - } - - /** - * Output only. Timestamp when this Annotation was last updated. - * - * Generated from protobuf field .google.protobuf.Timestamp update_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return \Google\Protobuf\Timestamp|null - */ - public function getUpdateTime() - { - return $this->update_time; - } - - public function hasUpdateTime() - { - return isset($this->update_time); - } - - public function clearUpdateTime() - { - unset($this->update_time); - } - - /** - * Output only. Timestamp when this Annotation was last updated. - * - * Generated from protobuf field .google.protobuf.Timestamp update_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param \Google\Protobuf\Timestamp $var - * @return $this - */ - public function setUpdateTime($var) - { - GPBUtil::checkMessage($var, \Google\Protobuf\Timestamp::class); - $this->update_time = $var; - - return $this; - } - - /** - * Optional. Used to perform consistent read-modify-write updates. If not set, - * a blind "overwrite" update happens. - * - * Generated from protobuf field string etag = 8 [(.google.api.field_behavior) = OPTIONAL]; - * @return string - */ - public function getEtag() - { - return $this->etag; - } - - /** - * Optional. Used to perform consistent read-modify-write updates. If not set, - * a blind "overwrite" update happens. - * - * Generated from protobuf field string etag = 8 [(.google.api.field_behavior) = OPTIONAL]; - * @param string $var - * @return $this - */ - public function setEtag($var) - { - GPBUtil::checkString($var, True); - $this->etag = $var; - - return $this; - } - - /** - * Output only. The source of the Annotation. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.UserActionReference annotation_source = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return \Google\Cloud\AIPlatform\V1\UserActionReference|null - */ - public function getAnnotationSource() - { - return $this->annotation_source; - } - - public function hasAnnotationSource() - { - return isset($this->annotation_source); - } - - public function clearAnnotationSource() - { - unset($this->annotation_source); - } - - /** - * Output only. The source of the Annotation. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.UserActionReference annotation_source = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param \Google\Cloud\AIPlatform\V1\UserActionReference $var - * @return $this - */ - public function setAnnotationSource($var) - { - GPBUtil::checkMessage($var, \Google\Cloud\AIPlatform\V1\UserActionReference::class); - $this->annotation_source = $var; - - return $this; - } - - /** - * Optional. The labels with user-defined metadata to organize your - * Annotations. - * Label keys and values can be no longer than 64 characters - * (Unicode codepoints), can only contain lowercase letters, numeric - * characters, underscores and dashes. International characters are allowed. - * No more than 64 user labels can be associated with one Annotation(System - * labels are excluded). - * See https://goo.gl/xmQnxf for more information and examples of labels. - * System reserved label keys are prefixed with "aiplatform.googleapis.com/" - * and are immutable. Following system labels exist for each Annotation: - * * "aiplatform.googleapis.com/annotation_set_name": - * optional, name of the UI's annotation set this Annotation belongs to. - * If not set, the Annotation is not visible in the UI. - * * "aiplatform.googleapis.com/payload_schema": - * output only, its value is the - * [payload_schema's][google.cloud.aiplatform.v1.Annotation.payload_schema_uri] - * title. - * - * Generated from protobuf field map labels = 6 [(.google.api.field_behavior) = OPTIONAL]; - * @return \Google\Protobuf\Internal\MapField - */ - public function getLabels() - { - return $this->labels; - } - - /** - * Optional. The labels with user-defined metadata to organize your - * Annotations. - * Label keys and values can be no longer than 64 characters - * (Unicode codepoints), can only contain lowercase letters, numeric - * characters, underscores and dashes. International characters are allowed. - * No more than 64 user labels can be associated with one Annotation(System - * labels are excluded). - * See https://goo.gl/xmQnxf for more information and examples of labels. - * System reserved label keys are prefixed with "aiplatform.googleapis.com/" - * and are immutable. Following system labels exist for each Annotation: - * * "aiplatform.googleapis.com/annotation_set_name": - * optional, name of the UI's annotation set this Annotation belongs to. - * If not set, the Annotation is not visible in the UI. - * * "aiplatform.googleapis.com/payload_schema": - * output only, its value is the - * [payload_schema's][google.cloud.aiplatform.v1.Annotation.payload_schema_uri] - * title. - * - * Generated from protobuf field map labels = 6 [(.google.api.field_behavior) = OPTIONAL]; - * @param array|\Google\Protobuf\Internal\MapField $var - * @return $this - */ - public function setLabels($var) - { - $arr = GPBUtil::checkMapField($var, \Google\Protobuf\Internal\GPBType::STRING, \Google\Protobuf\Internal\GPBType::STRING); - $this->labels = $arr; - - return $this; - } - -} - diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/AnnotationSpec.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/AnnotationSpec.php deleted file mode 100644 index 07c36621fab8..000000000000 --- a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/AnnotationSpec.php +++ /dev/null @@ -1,235 +0,0 @@ -google.cloud.aiplatform.v1.AnnotationSpec - */ -class AnnotationSpec extends \Google\Protobuf\Internal\Message -{ - /** - * Output only. Resource name of the AnnotationSpec. - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $name = ''; - /** - * Required. The user-defined name of the AnnotationSpec. - * The name can be up to 128 characters long and can consist of any UTF-8 - * characters. - * - * Generated from protobuf field string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $display_name = ''; - /** - * Output only. Timestamp when this AnnotationSpec was created. - * - * Generated from protobuf field .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $create_time = null; - /** - * Output only. Timestamp when AnnotationSpec was last updated. - * - * Generated from protobuf field .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $update_time = null; - /** - * Optional. Used to perform consistent read-modify-write updates. If not set, - * a blind "overwrite" update happens. - * - * Generated from protobuf field string etag = 5 [(.google.api.field_behavior) = OPTIONAL]; - */ - protected $etag = ''; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $name - * Output only. Resource name of the AnnotationSpec. - * @type string $display_name - * Required. The user-defined name of the AnnotationSpec. - * The name can be up to 128 characters long and can consist of any UTF-8 - * characters. - * @type \Google\Protobuf\Timestamp $create_time - * Output only. Timestamp when this AnnotationSpec was created. - * @type \Google\Protobuf\Timestamp $update_time - * Output only. Timestamp when AnnotationSpec was last updated. - * @type string $etag - * Optional. Used to perform consistent read-modify-write updates. If not set, - * a blind "overwrite" update happens. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Cloud\Aiplatform\V1\AnnotationSpec::initOnce(); - parent::__construct($data); - } - - /** - * Output only. Resource name of the AnnotationSpec. - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return string - */ - public function getName() - { - return $this->name; - } - - /** - * Output only. Resource name of the AnnotationSpec. - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param string $var - * @return $this - */ - public function setName($var) - { - GPBUtil::checkString($var, True); - $this->name = $var; - - return $this; - } - - /** - * Required. The user-defined name of the AnnotationSpec. - * The name can be up to 128 characters long and can consist of any UTF-8 - * characters. - * - * Generated from protobuf field string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; - * @return string - */ - public function getDisplayName() - { - return $this->display_name; - } - - /** - * Required. The user-defined name of the AnnotationSpec. - * The name can be up to 128 characters long and can consist of any UTF-8 - * characters. - * - * Generated from protobuf field string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; - * @param string $var - * @return $this - */ - public function setDisplayName($var) - { - GPBUtil::checkString($var, True); - $this->display_name = $var; - - return $this; - } - - /** - * Output only. Timestamp when this AnnotationSpec was created. - * - * Generated from protobuf field .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return \Google\Protobuf\Timestamp|null - */ - public function getCreateTime() - { - return $this->create_time; - } - - public function hasCreateTime() - { - return isset($this->create_time); - } - - public function clearCreateTime() - { - unset($this->create_time); - } - - /** - * Output only. Timestamp when this AnnotationSpec was created. - * - * Generated from protobuf field .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param \Google\Protobuf\Timestamp $var - * @return $this - */ - public function setCreateTime($var) - { - GPBUtil::checkMessage($var, \Google\Protobuf\Timestamp::class); - $this->create_time = $var; - - return $this; - } - - /** - * Output only. Timestamp when AnnotationSpec was last updated. - * - * Generated from protobuf field .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return \Google\Protobuf\Timestamp|null - */ - public function getUpdateTime() - { - return $this->update_time; - } - - public function hasUpdateTime() - { - return isset($this->update_time); - } - - public function clearUpdateTime() - { - unset($this->update_time); - } - - /** - * Output only. Timestamp when AnnotationSpec was last updated. - * - * Generated from protobuf field .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param \Google\Protobuf\Timestamp $var - * @return $this - */ - public function setUpdateTime($var) - { - GPBUtil::checkMessage($var, \Google\Protobuf\Timestamp::class); - $this->update_time = $var; - - return $this; - } - - /** - * Optional. Used to perform consistent read-modify-write updates. If not set, - * a blind "overwrite" update happens. - * - * Generated from protobuf field string etag = 5 [(.google.api.field_behavior) = OPTIONAL]; - * @return string - */ - public function getEtag() - { - return $this->etag; - } - - /** - * Optional. Used to perform consistent read-modify-write updates. If not set, - * a blind "overwrite" update happens. - * - * Generated from protobuf field string etag = 5 [(.google.api.field_behavior) = OPTIONAL]; - * @param string $var - * @return $this - */ - public function setEtag($var) - { - GPBUtil::checkString($var, True); - $this->etag = $var; - - return $this; - } - -} - diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/Artifact.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/Artifact.php deleted file mode 100644 index 726926e474ca..000000000000 --- a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/Artifact.php +++ /dev/null @@ -1,547 +0,0 @@ -google.cloud.aiplatform.v1.Artifact - */ -class Artifact extends \Google\Protobuf\Internal\Message -{ - /** - * Output only. The resource name of the Artifact. - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $name = ''; - /** - * User provided display name of the Artifact. - * May be up to 128 Unicode characters. - * - * Generated from protobuf field string display_name = 2; - */ - protected $display_name = ''; - /** - * The uniform resource identifier of the artifact file. - * May be empty if there is no actual artifact file. - * - * Generated from protobuf field string uri = 6; - */ - protected $uri = ''; - /** - * An eTag used to perform consistent read-modify-write updates. If not set, a - * blind "overwrite" update happens. - * - * Generated from protobuf field string etag = 9; - */ - protected $etag = ''; - /** - * The labels with user-defined metadata to organize your Artifacts. - * Label keys and values can be no longer than 64 characters - * (Unicode codepoints), can only contain lowercase letters, numeric - * characters, underscores and dashes. International characters are allowed. - * No more than 64 user labels can be associated with one Artifact (System - * labels are excluded). - * - * Generated from protobuf field map labels = 10; - */ - private $labels; - /** - * Output only. Timestamp when this Artifact was created. - * - * Generated from protobuf field .google.protobuf.Timestamp create_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $create_time = null; - /** - * Output only. Timestamp when this Artifact was last updated. - * - * Generated from protobuf field .google.protobuf.Timestamp update_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $update_time = null; - /** - * The state of this Artifact. This is a property of the Artifact, and does - * not imply or capture any ongoing process. This property is managed by - * clients (such as Vertex AI Pipelines), and the system does not prescribe - * or check the validity of state transitions. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.Artifact.State state = 13; - */ - protected $state = 0; - /** - * The title of the schema describing the metadata. - * Schema title and version is expected to be registered in earlier Create - * Schema calls. And both are used together as unique identifiers to identify - * schemas within the local metadata store. - * - * Generated from protobuf field string schema_title = 14; - */ - protected $schema_title = ''; - /** - * The version of the schema in schema_name to use. - * Schema title and version is expected to be registered in earlier Create - * Schema calls. And both are used together as unique identifiers to identify - * schemas within the local metadata store. - * - * Generated from protobuf field string schema_version = 15; - */ - protected $schema_version = ''; - /** - * Properties of the Artifact. - * Top level metadata keys' heading and trailing spaces will be trimmed. - * The size of this field should not exceed 200KB. - * - * Generated from protobuf field .google.protobuf.Struct metadata = 16; - */ - protected $metadata = null; - /** - * Description of the Artifact - * - * Generated from protobuf field string description = 17; - */ - protected $description = ''; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $name - * Output only. The resource name of the Artifact. - * @type string $display_name - * User provided display name of the Artifact. - * May be up to 128 Unicode characters. - * @type string $uri - * The uniform resource identifier of the artifact file. - * May be empty if there is no actual artifact file. - * @type string $etag - * An eTag used to perform consistent read-modify-write updates. If not set, a - * blind "overwrite" update happens. - * @type array|\Google\Protobuf\Internal\MapField $labels - * The labels with user-defined metadata to organize your Artifacts. - * Label keys and values can be no longer than 64 characters - * (Unicode codepoints), can only contain lowercase letters, numeric - * characters, underscores and dashes. International characters are allowed. - * No more than 64 user labels can be associated with one Artifact (System - * labels are excluded). - * @type \Google\Protobuf\Timestamp $create_time - * Output only. Timestamp when this Artifact was created. - * @type \Google\Protobuf\Timestamp $update_time - * Output only. Timestamp when this Artifact was last updated. - * @type int $state - * The state of this Artifact. This is a property of the Artifact, and does - * not imply or capture any ongoing process. This property is managed by - * clients (such as Vertex AI Pipelines), and the system does not prescribe - * or check the validity of state transitions. - * @type string $schema_title - * The title of the schema describing the metadata. - * Schema title and version is expected to be registered in earlier Create - * Schema calls. And both are used together as unique identifiers to identify - * schemas within the local metadata store. - * @type string $schema_version - * The version of the schema in schema_name to use. - * Schema title and version is expected to be registered in earlier Create - * Schema calls. And both are used together as unique identifiers to identify - * schemas within the local metadata store. - * @type \Google\Protobuf\Struct $metadata - * Properties of the Artifact. - * Top level metadata keys' heading and trailing spaces will be trimmed. - * The size of this field should not exceed 200KB. - * @type string $description - * Description of the Artifact - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Cloud\Aiplatform\V1\Artifact::initOnce(); - parent::__construct($data); - } - - /** - * Output only. The resource name of the Artifact. - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return string - */ - public function getName() - { - return $this->name; - } - - /** - * Output only. The resource name of the Artifact. - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param string $var - * @return $this - */ - public function setName($var) - { - GPBUtil::checkString($var, True); - $this->name = $var; - - return $this; - } - - /** - * User provided display name of the Artifact. - * May be up to 128 Unicode characters. - * - * Generated from protobuf field string display_name = 2; - * @return string - */ - public function getDisplayName() - { - return $this->display_name; - } - - /** - * User provided display name of the Artifact. - * May be up to 128 Unicode characters. - * - * Generated from protobuf field string display_name = 2; - * @param string $var - * @return $this - */ - public function setDisplayName($var) - { - GPBUtil::checkString($var, True); - $this->display_name = $var; - - return $this; - } - - /** - * The uniform resource identifier of the artifact file. - * May be empty if there is no actual artifact file. - * - * Generated from protobuf field string uri = 6; - * @return string - */ - public function getUri() - { - return $this->uri; - } - - /** - * The uniform resource identifier of the artifact file. - * May be empty if there is no actual artifact file. - * - * Generated from protobuf field string uri = 6; - * @param string $var - * @return $this - */ - public function setUri($var) - { - GPBUtil::checkString($var, True); - $this->uri = $var; - - return $this; - } - - /** - * An eTag used to perform consistent read-modify-write updates. If not set, a - * blind "overwrite" update happens. - * - * Generated from protobuf field string etag = 9; - * @return string - */ - public function getEtag() - { - return $this->etag; - } - - /** - * An eTag used to perform consistent read-modify-write updates. If not set, a - * blind "overwrite" update happens. - * - * Generated from protobuf field string etag = 9; - * @param string $var - * @return $this - */ - public function setEtag($var) - { - GPBUtil::checkString($var, True); - $this->etag = $var; - - return $this; - } - - /** - * The labels with user-defined metadata to organize your Artifacts. - * Label keys and values can be no longer than 64 characters - * (Unicode codepoints), can only contain lowercase letters, numeric - * characters, underscores and dashes. International characters are allowed. - * No more than 64 user labels can be associated with one Artifact (System - * labels are excluded). - * - * Generated from protobuf field map labels = 10; - * @return \Google\Protobuf\Internal\MapField - */ - public function getLabels() - { - return $this->labels; - } - - /** - * The labels with user-defined metadata to organize your Artifacts. - * Label keys and values can be no longer than 64 characters - * (Unicode codepoints), can only contain lowercase letters, numeric - * characters, underscores and dashes. International characters are allowed. - * No more than 64 user labels can be associated with one Artifact (System - * labels are excluded). - * - * Generated from protobuf field map labels = 10; - * @param array|\Google\Protobuf\Internal\MapField $var - * @return $this - */ - public function setLabels($var) - { - $arr = GPBUtil::checkMapField($var, \Google\Protobuf\Internal\GPBType::STRING, \Google\Protobuf\Internal\GPBType::STRING); - $this->labels = $arr; - - return $this; - } - - /** - * Output only. Timestamp when this Artifact was created. - * - * Generated from protobuf field .google.protobuf.Timestamp create_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return \Google\Protobuf\Timestamp|null - */ - public function getCreateTime() - { - return $this->create_time; - } - - public function hasCreateTime() - { - return isset($this->create_time); - } - - public function clearCreateTime() - { - unset($this->create_time); - } - - /** - * Output only. Timestamp when this Artifact was created. - * - * Generated from protobuf field .google.protobuf.Timestamp create_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param \Google\Protobuf\Timestamp $var - * @return $this - */ - public function setCreateTime($var) - { - GPBUtil::checkMessage($var, \Google\Protobuf\Timestamp::class); - $this->create_time = $var; - - return $this; - } - - /** - * Output only. Timestamp when this Artifact was last updated. - * - * Generated from protobuf field .google.protobuf.Timestamp update_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return \Google\Protobuf\Timestamp|null - */ - public function getUpdateTime() - { - return $this->update_time; - } - - public function hasUpdateTime() - { - return isset($this->update_time); - } - - public function clearUpdateTime() - { - unset($this->update_time); - } - - /** - * Output only. Timestamp when this Artifact was last updated. - * - * Generated from protobuf field .google.protobuf.Timestamp update_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param \Google\Protobuf\Timestamp $var - * @return $this - */ - public function setUpdateTime($var) - { - GPBUtil::checkMessage($var, \Google\Protobuf\Timestamp::class); - $this->update_time = $var; - - return $this; - } - - /** - * The state of this Artifact. This is a property of the Artifact, and does - * not imply or capture any ongoing process. This property is managed by - * clients (such as Vertex AI Pipelines), and the system does not prescribe - * or check the validity of state transitions. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.Artifact.State state = 13; - * @return int - */ - public function getState() - { - return $this->state; - } - - /** - * The state of this Artifact. This is a property of the Artifact, and does - * not imply or capture any ongoing process. This property is managed by - * clients (such as Vertex AI Pipelines), and the system does not prescribe - * or check the validity of state transitions. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.Artifact.State state = 13; - * @param int $var - * @return $this - */ - public function setState($var) - { - GPBUtil::checkEnum($var, \Google\Cloud\AIPlatform\V1\Artifact\State::class); - $this->state = $var; - - return $this; - } - - /** - * The title of the schema describing the metadata. - * Schema title and version is expected to be registered in earlier Create - * Schema calls. And both are used together as unique identifiers to identify - * schemas within the local metadata store. - * - * Generated from protobuf field string schema_title = 14; - * @return string - */ - public function getSchemaTitle() - { - return $this->schema_title; - } - - /** - * The title of the schema describing the metadata. - * Schema title and version is expected to be registered in earlier Create - * Schema calls. And both are used together as unique identifiers to identify - * schemas within the local metadata store. - * - * Generated from protobuf field string schema_title = 14; - * @param string $var - * @return $this - */ - public function setSchemaTitle($var) - { - GPBUtil::checkString($var, True); - $this->schema_title = $var; - - return $this; - } - - /** - * The version of the schema in schema_name to use. - * Schema title and version is expected to be registered in earlier Create - * Schema calls. And both are used together as unique identifiers to identify - * schemas within the local metadata store. - * - * Generated from protobuf field string schema_version = 15; - * @return string - */ - public function getSchemaVersion() - { - return $this->schema_version; - } - - /** - * The version of the schema in schema_name to use. - * Schema title and version is expected to be registered in earlier Create - * Schema calls. And both are used together as unique identifiers to identify - * schemas within the local metadata store. - * - * Generated from protobuf field string schema_version = 15; - * @param string $var - * @return $this - */ - public function setSchemaVersion($var) - { - GPBUtil::checkString($var, True); - $this->schema_version = $var; - - return $this; - } - - /** - * Properties of the Artifact. - * Top level metadata keys' heading and trailing spaces will be trimmed. - * The size of this field should not exceed 200KB. - * - * Generated from protobuf field .google.protobuf.Struct metadata = 16; - * @return \Google\Protobuf\Struct|null - */ - public function getMetadata() - { - return $this->metadata; - } - - public function hasMetadata() - { - return isset($this->metadata); - } - - public function clearMetadata() - { - unset($this->metadata); - } - - /** - * Properties of the Artifact. - * Top level metadata keys' heading and trailing spaces will be trimmed. - * The size of this field should not exceed 200KB. - * - * Generated from protobuf field .google.protobuf.Struct metadata = 16; - * @param \Google\Protobuf\Struct $var - * @return $this - */ - public function setMetadata($var) - { - GPBUtil::checkMessage($var, \Google\Protobuf\Struct::class); - $this->metadata = $var; - - return $this; - } - - /** - * Description of the Artifact - * - * Generated from protobuf field string description = 17; - * @return string - */ - public function getDescription() - { - return $this->description; - } - - /** - * Description of the Artifact - * - * Generated from protobuf field string description = 17; - * @param string $var - * @return $this - */ - public function setDescription($var) - { - GPBUtil::checkString($var, True); - $this->description = $var; - - return $this; - } - -} - diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/Artifact/State.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/Artifact/State.php deleted file mode 100644 index 63c2eea3f986..000000000000 --- a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/Artifact/State.php +++ /dev/null @@ -1,66 +0,0 @@ -google.cloud.aiplatform.v1.Artifact.State - */ -class State -{ - /** - * Unspecified state for the Artifact. - * - * Generated from protobuf enum STATE_UNSPECIFIED = 0; - */ - const STATE_UNSPECIFIED = 0; - /** - * A state used by systems like Vertex AI Pipelines to indicate that the - * underlying data item represented by this Artifact is being created. - * - * Generated from protobuf enum PENDING = 1; - */ - const PENDING = 1; - /** - * A state indicating that the Artifact should exist, unless something - * external to the system deletes it. - * - * Generated from protobuf enum LIVE = 2; - */ - const LIVE = 2; - - private static $valueToName = [ - self::STATE_UNSPECIFIED => 'STATE_UNSPECIFIED', - self::PENDING => 'PENDING', - self::LIVE => 'LIVE', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(State::class, \Google\Cloud\AIPlatform\V1\Artifact_State::class); - diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/AssignNotebookRuntimeOperationMetadata.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/AssignNotebookRuntimeOperationMetadata.php deleted file mode 100644 index 72e3b6bf3dc6..000000000000 --- a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/AssignNotebookRuntimeOperationMetadata.php +++ /dev/null @@ -1,116 +0,0 @@ -google.cloud.aiplatform.v1.AssignNotebookRuntimeOperationMetadata - */ -class AssignNotebookRuntimeOperationMetadata extends \Google\Protobuf\Internal\Message -{ - /** - * The operation generic information. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.GenericOperationMetadata generic_metadata = 1; - */ - protected $generic_metadata = null; - /** - * A human-readable message that shows the intermediate progress details of - * NotebookRuntime. - * - * Generated from protobuf field string progress_message = 2; - */ - protected $progress_message = ''; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type \Google\Cloud\AIPlatform\V1\GenericOperationMetadata $generic_metadata - * The operation generic information. - * @type string $progress_message - * A human-readable message that shows the intermediate progress details of - * NotebookRuntime. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Cloud\Aiplatform\V1\NotebookService::initOnce(); - parent::__construct($data); - } - - /** - * The operation generic information. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.GenericOperationMetadata generic_metadata = 1; - * @return \Google\Cloud\AIPlatform\V1\GenericOperationMetadata|null - */ - public function getGenericMetadata() - { - return $this->generic_metadata; - } - - public function hasGenericMetadata() - { - return isset($this->generic_metadata); - } - - public function clearGenericMetadata() - { - unset($this->generic_metadata); - } - - /** - * The operation generic information. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.GenericOperationMetadata generic_metadata = 1; - * @param \Google\Cloud\AIPlatform\V1\GenericOperationMetadata $var - * @return $this - */ - public function setGenericMetadata($var) - { - GPBUtil::checkMessage($var, \Google\Cloud\AIPlatform\V1\GenericOperationMetadata::class); - $this->generic_metadata = $var; - - return $this; - } - - /** - * A human-readable message that shows the intermediate progress details of - * NotebookRuntime. - * - * Generated from protobuf field string progress_message = 2; - * @return string - */ - public function getProgressMessage() - { - return $this->progress_message; - } - - /** - * A human-readable message that shows the intermediate progress details of - * NotebookRuntime. - * - * Generated from protobuf field string progress_message = 2; - * @param string $var - * @return $this - */ - public function setProgressMessage($var) - { - GPBUtil::checkString($var, True); - $this->progress_message = $var; - - return $this; - } - -} - diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/AssignNotebookRuntimeRequest.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/AssignNotebookRuntimeRequest.php deleted file mode 100644 index c8ea820e441c..000000000000 --- a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/AssignNotebookRuntimeRequest.php +++ /dev/null @@ -1,216 +0,0 @@ -google.cloud.aiplatform.v1.AssignNotebookRuntimeRequest - */ -class AssignNotebookRuntimeRequest extends \Google\Protobuf\Internal\Message -{ - /** - * Required. The resource name of the Location to get the NotebookRuntime - * assignment. Format: `projects/{project}/locations/{location}` - * - * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - */ - protected $parent = ''; - /** - * Required. The resource name of the NotebookRuntimeTemplate based on which a - * NotebookRuntime will be assigned (reuse or create a new one). - * - * Generated from protobuf field string notebook_runtime_template = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - */ - protected $notebook_runtime_template = ''; - /** - * Required. Provide runtime specific information (e.g. runtime owner, - * notebook id) used for NotebookRuntime assignment. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.NotebookRuntime notebook_runtime = 3 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $notebook_runtime = null; - /** - * Optional. User specified ID for the notebook runtime. - * - * Generated from protobuf field string notebook_runtime_id = 4 [(.google.api.field_behavior) = OPTIONAL]; - */ - protected $notebook_runtime_id = ''; - - /** - * @param string $parent Required. The resource name of the Location to get the NotebookRuntime - * assignment. Format: `projects/{project}/locations/{location}` - * Please see {@see NotebookServiceClient::locationName()} for help formatting this field. - * @param string $notebookRuntimeTemplate Required. The resource name of the NotebookRuntimeTemplate based on which a - * NotebookRuntime will be assigned (reuse or create a new one). Please see - * {@see NotebookServiceClient::notebookRuntimeTemplateName()} for help formatting this field. - * @param \Google\Cloud\AIPlatform\V1\NotebookRuntime $notebookRuntime Required. Provide runtime specific information (e.g. runtime owner, - * notebook id) used for NotebookRuntime assignment. - * @param string $notebookRuntimeId Optional. User specified ID for the notebook runtime. - * - * @return \Google\Cloud\AIPlatform\V1\AssignNotebookRuntimeRequest - * - * @experimental - */ - public static function build(string $parent, string $notebookRuntimeTemplate, \Google\Cloud\AIPlatform\V1\NotebookRuntime $notebookRuntime, string $notebookRuntimeId): self - { - return (new self()) - ->setParent($parent) - ->setNotebookRuntimeTemplate($notebookRuntimeTemplate) - ->setNotebookRuntime($notebookRuntime) - ->setNotebookRuntimeId($notebookRuntimeId); - } - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $parent - * Required. The resource name of the Location to get the NotebookRuntime - * assignment. Format: `projects/{project}/locations/{location}` - * @type string $notebook_runtime_template - * Required. The resource name of the NotebookRuntimeTemplate based on which a - * NotebookRuntime will be assigned (reuse or create a new one). - * @type \Google\Cloud\AIPlatform\V1\NotebookRuntime $notebook_runtime - * Required. Provide runtime specific information (e.g. runtime owner, - * notebook id) used for NotebookRuntime assignment. - * @type string $notebook_runtime_id - * Optional. User specified ID for the notebook runtime. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Cloud\Aiplatform\V1\NotebookService::initOnce(); - parent::__construct($data); - } - - /** - * Required. The resource name of the Location to get the NotebookRuntime - * assignment. Format: `projects/{project}/locations/{location}` - * - * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - * @return string - */ - public function getParent() - { - return $this->parent; - } - - /** - * Required. The resource name of the Location to get the NotebookRuntime - * assignment. Format: `projects/{project}/locations/{location}` - * - * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setParent($var) - { - GPBUtil::checkString($var, True); - $this->parent = $var; - - return $this; - } - - /** - * Required. The resource name of the NotebookRuntimeTemplate based on which a - * NotebookRuntime will be assigned (reuse or create a new one). - * - * Generated from protobuf field string notebook_runtime_template = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - * @return string - */ - public function getNotebookRuntimeTemplate() - { - return $this->notebook_runtime_template; - } - - /** - * Required. The resource name of the NotebookRuntimeTemplate based on which a - * NotebookRuntime will be assigned (reuse or create a new one). - * - * Generated from protobuf field string notebook_runtime_template = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setNotebookRuntimeTemplate($var) - { - GPBUtil::checkString($var, True); - $this->notebook_runtime_template = $var; - - return $this; - } - - /** - * Required. Provide runtime specific information (e.g. runtime owner, - * notebook id) used for NotebookRuntime assignment. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.NotebookRuntime notebook_runtime = 3 [(.google.api.field_behavior) = REQUIRED]; - * @return \Google\Cloud\AIPlatform\V1\NotebookRuntime|null - */ - public function getNotebookRuntime() - { - return $this->notebook_runtime; - } - - public function hasNotebookRuntime() - { - return isset($this->notebook_runtime); - } - - public function clearNotebookRuntime() - { - unset($this->notebook_runtime); - } - - /** - * Required. Provide runtime specific information (e.g. runtime owner, - * notebook id) used for NotebookRuntime assignment. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.NotebookRuntime notebook_runtime = 3 [(.google.api.field_behavior) = REQUIRED]; - * @param \Google\Cloud\AIPlatform\V1\NotebookRuntime $var - * @return $this - */ - public function setNotebookRuntime($var) - { - GPBUtil::checkMessage($var, \Google\Cloud\AIPlatform\V1\NotebookRuntime::class); - $this->notebook_runtime = $var; - - return $this; - } - - /** - * Optional. User specified ID for the notebook runtime. - * - * Generated from protobuf field string notebook_runtime_id = 4 [(.google.api.field_behavior) = OPTIONAL]; - * @return string - */ - public function getNotebookRuntimeId() - { - return $this->notebook_runtime_id; - } - - /** - * Optional. User specified ID for the notebook runtime. - * - * Generated from protobuf field string notebook_runtime_id = 4 [(.google.api.field_behavior) = OPTIONAL]; - * @param string $var - * @return $this - */ - public function setNotebookRuntimeId($var) - { - GPBUtil::checkString($var, True); - $this->notebook_runtime_id = $var; - - return $this; - } - -} - diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/Attribution.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/Attribution.php deleted file mode 100644 index 457be211bfdd..000000000000 --- a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/Attribution.php +++ /dev/null @@ -1,565 +0,0 @@ -google.cloud.aiplatform.v1.Attribution - */ -class Attribution extends \Google\Protobuf\Internal\Message -{ - /** - * Output only. Model predicted output if the input instance is constructed - * from the baselines of all the features defined in - * [ExplanationMetadata.inputs][google.cloud.aiplatform.v1.ExplanationMetadata.inputs]. - * The field name of the output is determined by the key in - * [ExplanationMetadata.outputs][google.cloud.aiplatform.v1.ExplanationMetadata.outputs]. - * If the Model's predicted output has multiple dimensions (rank > 1), this is - * the value in the output located by - * [output_index][google.cloud.aiplatform.v1.Attribution.output_index]. - * If there are multiple baselines, their output values are averaged. - * - * Generated from protobuf field double baseline_output_value = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $baseline_output_value = 0.0; - /** - * Output only. Model predicted output on the corresponding [explanation - * instance][ExplainRequest.instances]. The field name of the output is - * determined by the key in - * [ExplanationMetadata.outputs][google.cloud.aiplatform.v1.ExplanationMetadata.outputs]. - * If the Model predicted output has multiple dimensions, this is the value in - * the output located by - * [output_index][google.cloud.aiplatform.v1.Attribution.output_index]. - * - * Generated from protobuf field double instance_output_value = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $instance_output_value = 0.0; - /** - * Output only. Attributions of each explained feature. Features are extracted - * from the [prediction - * instances][google.cloud.aiplatform.v1.ExplainRequest.instances] according - * to [explanation metadata for - * inputs][google.cloud.aiplatform.v1.ExplanationMetadata.inputs]. - * The value is a struct, whose keys are the name of the feature. The values - * are how much the feature in the - * [instance][google.cloud.aiplatform.v1.ExplainRequest.instances] contributed - * to the predicted result. - * The format of the value is determined by the feature's input format: - * * If the feature is a scalar value, the attribution value is a - * [floating number][google.protobuf.Value.number_value]. - * * If the feature is an array of scalar values, the attribution value is - * an [array][google.protobuf.Value.list_value]. - * * If the feature is a struct, the attribution value is a - * [struct][google.protobuf.Value.struct_value]. The keys in the - * attribution value struct are the same as the keys in the feature - * struct. The formats of the values in the attribution struct are - * determined by the formats of the values in the feature struct. - * The - * [ExplanationMetadata.feature_attributions_schema_uri][google.cloud.aiplatform.v1.ExplanationMetadata.feature_attributions_schema_uri] - * field, pointed to by the - * [ExplanationSpec][google.cloud.aiplatform.v1.ExplanationSpec] field of the - * [Endpoint.deployed_models][google.cloud.aiplatform.v1.Endpoint.deployed_models] - * object, points to the schema file that describes the features and their - * attribution values (if it is populated). - * - * Generated from protobuf field .google.protobuf.Value feature_attributions = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $feature_attributions = null; - /** - * Output only. The index that locates the explained prediction output. - * If the prediction output is a scalar value, output_index is not populated. - * If the prediction output has multiple dimensions, the length of the - * output_index list is the same as the number of dimensions of the output. - * The i-th element in output_index is the element index of the i-th dimension - * of the output vector. Indices start from 0. - * - * Generated from protobuf field repeated int32 output_index = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - private $output_index; - /** - * Output only. The display name of the output identified by - * [output_index][google.cloud.aiplatform.v1.Attribution.output_index]. For - * example, the predicted class name by a multi-classification Model. - * This field is only populated iff the Model predicts display names as a - * separate field along with the explained output. The predicted display name - * must has the same shape of the explained output, and can be located using - * output_index. - * - * Generated from protobuf field string output_display_name = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $output_display_name = ''; - /** - * Output only. Error of - * [feature_attributions][google.cloud.aiplatform.v1.Attribution.feature_attributions] - * caused by approximation used in the explanation method. Lower value means - * more precise attributions. - * * For Sampled Shapley - * [attribution][google.cloud.aiplatform.v1.ExplanationParameters.sampled_shapley_attribution], - * increasing - * [path_count][google.cloud.aiplatform.v1.SampledShapleyAttribution.path_count] - * might reduce the error. - * * For Integrated Gradients - * [attribution][google.cloud.aiplatform.v1.ExplanationParameters.integrated_gradients_attribution], - * increasing - * [step_count][google.cloud.aiplatform.v1.IntegratedGradientsAttribution.step_count] - * might reduce the error. - * * For [XRAI - * attribution][google.cloud.aiplatform.v1.ExplanationParameters.xrai_attribution], - * increasing - * [step_count][google.cloud.aiplatform.v1.XraiAttribution.step_count] might - * reduce the error. - * See [this introduction](/vertex-ai/docs/explainable-ai/overview) - * for more information. - * - * Generated from protobuf field double approximation_error = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $approximation_error = 0.0; - /** - * Output only. Name of the explain output. Specified as the key in - * [ExplanationMetadata.outputs][google.cloud.aiplatform.v1.ExplanationMetadata.outputs]. - * - * Generated from protobuf field string output_name = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $output_name = ''; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type float $baseline_output_value - * Output only. Model predicted output if the input instance is constructed - * from the baselines of all the features defined in - * [ExplanationMetadata.inputs][google.cloud.aiplatform.v1.ExplanationMetadata.inputs]. - * The field name of the output is determined by the key in - * [ExplanationMetadata.outputs][google.cloud.aiplatform.v1.ExplanationMetadata.outputs]. - * If the Model's predicted output has multiple dimensions (rank > 1), this is - * the value in the output located by - * [output_index][google.cloud.aiplatform.v1.Attribution.output_index]. - * If there are multiple baselines, their output values are averaged. - * @type float $instance_output_value - * Output only. Model predicted output on the corresponding [explanation - * instance][ExplainRequest.instances]. The field name of the output is - * determined by the key in - * [ExplanationMetadata.outputs][google.cloud.aiplatform.v1.ExplanationMetadata.outputs]. - * If the Model predicted output has multiple dimensions, this is the value in - * the output located by - * [output_index][google.cloud.aiplatform.v1.Attribution.output_index]. - * @type \Google\Protobuf\Value $feature_attributions - * Output only. Attributions of each explained feature. Features are extracted - * from the [prediction - * instances][google.cloud.aiplatform.v1.ExplainRequest.instances] according - * to [explanation metadata for - * inputs][google.cloud.aiplatform.v1.ExplanationMetadata.inputs]. - * The value is a struct, whose keys are the name of the feature. The values - * are how much the feature in the - * [instance][google.cloud.aiplatform.v1.ExplainRequest.instances] contributed - * to the predicted result. - * The format of the value is determined by the feature's input format: - * * If the feature is a scalar value, the attribution value is a - * [floating number][google.protobuf.Value.number_value]. - * * If the feature is an array of scalar values, the attribution value is - * an [array][google.protobuf.Value.list_value]. - * * If the feature is a struct, the attribution value is a - * [struct][google.protobuf.Value.struct_value]. The keys in the - * attribution value struct are the same as the keys in the feature - * struct. The formats of the values in the attribution struct are - * determined by the formats of the values in the feature struct. - * The - * [ExplanationMetadata.feature_attributions_schema_uri][google.cloud.aiplatform.v1.ExplanationMetadata.feature_attributions_schema_uri] - * field, pointed to by the - * [ExplanationSpec][google.cloud.aiplatform.v1.ExplanationSpec] field of the - * [Endpoint.deployed_models][google.cloud.aiplatform.v1.Endpoint.deployed_models] - * object, points to the schema file that describes the features and their - * attribution values (if it is populated). - * @type array|\Google\Protobuf\Internal\RepeatedField $output_index - * Output only. The index that locates the explained prediction output. - * If the prediction output is a scalar value, output_index is not populated. - * If the prediction output has multiple dimensions, the length of the - * output_index list is the same as the number of dimensions of the output. - * The i-th element in output_index is the element index of the i-th dimension - * of the output vector. Indices start from 0. - * @type string $output_display_name - * Output only. The display name of the output identified by - * [output_index][google.cloud.aiplatform.v1.Attribution.output_index]. For - * example, the predicted class name by a multi-classification Model. - * This field is only populated iff the Model predicts display names as a - * separate field along with the explained output. The predicted display name - * must has the same shape of the explained output, and can be located using - * output_index. - * @type float $approximation_error - * Output only. Error of - * [feature_attributions][google.cloud.aiplatform.v1.Attribution.feature_attributions] - * caused by approximation used in the explanation method. Lower value means - * more precise attributions. - * * For Sampled Shapley - * [attribution][google.cloud.aiplatform.v1.ExplanationParameters.sampled_shapley_attribution], - * increasing - * [path_count][google.cloud.aiplatform.v1.SampledShapleyAttribution.path_count] - * might reduce the error. - * * For Integrated Gradients - * [attribution][google.cloud.aiplatform.v1.ExplanationParameters.integrated_gradients_attribution], - * increasing - * [step_count][google.cloud.aiplatform.v1.IntegratedGradientsAttribution.step_count] - * might reduce the error. - * * For [XRAI - * attribution][google.cloud.aiplatform.v1.ExplanationParameters.xrai_attribution], - * increasing - * [step_count][google.cloud.aiplatform.v1.XraiAttribution.step_count] might - * reduce the error. - * See [this introduction](/vertex-ai/docs/explainable-ai/overview) - * for more information. - * @type string $output_name - * Output only. Name of the explain output. Specified as the key in - * [ExplanationMetadata.outputs][google.cloud.aiplatform.v1.ExplanationMetadata.outputs]. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Cloud\Aiplatform\V1\Explanation::initOnce(); - parent::__construct($data); - } - - /** - * Output only. Model predicted output if the input instance is constructed - * from the baselines of all the features defined in - * [ExplanationMetadata.inputs][google.cloud.aiplatform.v1.ExplanationMetadata.inputs]. - * The field name of the output is determined by the key in - * [ExplanationMetadata.outputs][google.cloud.aiplatform.v1.ExplanationMetadata.outputs]. - * If the Model's predicted output has multiple dimensions (rank > 1), this is - * the value in the output located by - * [output_index][google.cloud.aiplatform.v1.Attribution.output_index]. - * If there are multiple baselines, their output values are averaged. - * - * Generated from protobuf field double baseline_output_value = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return float - */ - public function getBaselineOutputValue() - { - return $this->baseline_output_value; - } - - /** - * Output only. Model predicted output if the input instance is constructed - * from the baselines of all the features defined in - * [ExplanationMetadata.inputs][google.cloud.aiplatform.v1.ExplanationMetadata.inputs]. - * The field name of the output is determined by the key in - * [ExplanationMetadata.outputs][google.cloud.aiplatform.v1.ExplanationMetadata.outputs]. - * If the Model's predicted output has multiple dimensions (rank > 1), this is - * the value in the output located by - * [output_index][google.cloud.aiplatform.v1.Attribution.output_index]. - * If there are multiple baselines, their output values are averaged. - * - * Generated from protobuf field double baseline_output_value = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param float $var - * @return $this - */ - public function setBaselineOutputValue($var) - { - GPBUtil::checkDouble($var); - $this->baseline_output_value = $var; - - return $this; - } - - /** - * Output only. Model predicted output on the corresponding [explanation - * instance][ExplainRequest.instances]. The field name of the output is - * determined by the key in - * [ExplanationMetadata.outputs][google.cloud.aiplatform.v1.ExplanationMetadata.outputs]. - * If the Model predicted output has multiple dimensions, this is the value in - * the output located by - * [output_index][google.cloud.aiplatform.v1.Attribution.output_index]. - * - * Generated from protobuf field double instance_output_value = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return float - */ - public function getInstanceOutputValue() - { - return $this->instance_output_value; - } - - /** - * Output only. Model predicted output on the corresponding [explanation - * instance][ExplainRequest.instances]. The field name of the output is - * determined by the key in - * [ExplanationMetadata.outputs][google.cloud.aiplatform.v1.ExplanationMetadata.outputs]. - * If the Model predicted output has multiple dimensions, this is the value in - * the output located by - * [output_index][google.cloud.aiplatform.v1.Attribution.output_index]. - * - * Generated from protobuf field double instance_output_value = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param float $var - * @return $this - */ - public function setInstanceOutputValue($var) - { - GPBUtil::checkDouble($var); - $this->instance_output_value = $var; - - return $this; - } - - /** - * Output only. Attributions of each explained feature. Features are extracted - * from the [prediction - * instances][google.cloud.aiplatform.v1.ExplainRequest.instances] according - * to [explanation metadata for - * inputs][google.cloud.aiplatform.v1.ExplanationMetadata.inputs]. - * The value is a struct, whose keys are the name of the feature. The values - * are how much the feature in the - * [instance][google.cloud.aiplatform.v1.ExplainRequest.instances] contributed - * to the predicted result. - * The format of the value is determined by the feature's input format: - * * If the feature is a scalar value, the attribution value is a - * [floating number][google.protobuf.Value.number_value]. - * * If the feature is an array of scalar values, the attribution value is - * an [array][google.protobuf.Value.list_value]. - * * If the feature is a struct, the attribution value is a - * [struct][google.protobuf.Value.struct_value]. The keys in the - * attribution value struct are the same as the keys in the feature - * struct. The formats of the values in the attribution struct are - * determined by the formats of the values in the feature struct. - * The - * [ExplanationMetadata.feature_attributions_schema_uri][google.cloud.aiplatform.v1.ExplanationMetadata.feature_attributions_schema_uri] - * field, pointed to by the - * [ExplanationSpec][google.cloud.aiplatform.v1.ExplanationSpec] field of the - * [Endpoint.deployed_models][google.cloud.aiplatform.v1.Endpoint.deployed_models] - * object, points to the schema file that describes the features and their - * attribution values (if it is populated). - * - * Generated from protobuf field .google.protobuf.Value feature_attributions = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return \Google\Protobuf\Value|null - */ - public function getFeatureAttributions() - { - return $this->feature_attributions; - } - - public function hasFeatureAttributions() - { - return isset($this->feature_attributions); - } - - public function clearFeatureAttributions() - { - unset($this->feature_attributions); - } - - /** - * Output only. Attributions of each explained feature. Features are extracted - * from the [prediction - * instances][google.cloud.aiplatform.v1.ExplainRequest.instances] according - * to [explanation metadata for - * inputs][google.cloud.aiplatform.v1.ExplanationMetadata.inputs]. - * The value is a struct, whose keys are the name of the feature. The values - * are how much the feature in the - * [instance][google.cloud.aiplatform.v1.ExplainRequest.instances] contributed - * to the predicted result. - * The format of the value is determined by the feature's input format: - * * If the feature is a scalar value, the attribution value is a - * [floating number][google.protobuf.Value.number_value]. - * * If the feature is an array of scalar values, the attribution value is - * an [array][google.protobuf.Value.list_value]. - * * If the feature is a struct, the attribution value is a - * [struct][google.protobuf.Value.struct_value]. The keys in the - * attribution value struct are the same as the keys in the feature - * struct. The formats of the values in the attribution struct are - * determined by the formats of the values in the feature struct. - * The - * [ExplanationMetadata.feature_attributions_schema_uri][google.cloud.aiplatform.v1.ExplanationMetadata.feature_attributions_schema_uri] - * field, pointed to by the - * [ExplanationSpec][google.cloud.aiplatform.v1.ExplanationSpec] field of the - * [Endpoint.deployed_models][google.cloud.aiplatform.v1.Endpoint.deployed_models] - * object, points to the schema file that describes the features and their - * attribution values (if it is populated). - * - * Generated from protobuf field .google.protobuf.Value feature_attributions = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param \Google\Protobuf\Value $var - * @return $this - */ - public function setFeatureAttributions($var) - { - GPBUtil::checkMessage($var, \Google\Protobuf\Value::class); - $this->feature_attributions = $var; - - return $this; - } - - /** - * Output only. The index that locates the explained prediction output. - * If the prediction output is a scalar value, output_index is not populated. - * If the prediction output has multiple dimensions, the length of the - * output_index list is the same as the number of dimensions of the output. - * The i-th element in output_index is the element index of the i-th dimension - * of the output vector. Indices start from 0. - * - * Generated from protobuf field repeated int32 output_index = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getOutputIndex() - { - return $this->output_index; - } - - /** - * Output only. The index that locates the explained prediction output. - * If the prediction output is a scalar value, output_index is not populated. - * If the prediction output has multiple dimensions, the length of the - * output_index list is the same as the number of dimensions of the output. - * The i-th element in output_index is the element index of the i-th dimension - * of the output vector. Indices start from 0. - * - * Generated from protobuf field repeated int32 output_index = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param array|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setOutputIndex($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::INT32); - $this->output_index = $arr; - - return $this; - } - - /** - * Output only. The display name of the output identified by - * [output_index][google.cloud.aiplatform.v1.Attribution.output_index]. For - * example, the predicted class name by a multi-classification Model. - * This field is only populated iff the Model predicts display names as a - * separate field along with the explained output. The predicted display name - * must has the same shape of the explained output, and can be located using - * output_index. - * - * Generated from protobuf field string output_display_name = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return string - */ - public function getOutputDisplayName() - { - return $this->output_display_name; - } - - /** - * Output only. The display name of the output identified by - * [output_index][google.cloud.aiplatform.v1.Attribution.output_index]. For - * example, the predicted class name by a multi-classification Model. - * This field is only populated iff the Model predicts display names as a - * separate field along with the explained output. The predicted display name - * must has the same shape of the explained output, and can be located using - * output_index. - * - * Generated from protobuf field string output_display_name = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param string $var - * @return $this - */ - public function setOutputDisplayName($var) - { - GPBUtil::checkString($var, True); - $this->output_display_name = $var; - - return $this; - } - - /** - * Output only. Error of - * [feature_attributions][google.cloud.aiplatform.v1.Attribution.feature_attributions] - * caused by approximation used in the explanation method. Lower value means - * more precise attributions. - * * For Sampled Shapley - * [attribution][google.cloud.aiplatform.v1.ExplanationParameters.sampled_shapley_attribution], - * increasing - * [path_count][google.cloud.aiplatform.v1.SampledShapleyAttribution.path_count] - * might reduce the error. - * * For Integrated Gradients - * [attribution][google.cloud.aiplatform.v1.ExplanationParameters.integrated_gradients_attribution], - * increasing - * [step_count][google.cloud.aiplatform.v1.IntegratedGradientsAttribution.step_count] - * might reduce the error. - * * For [XRAI - * attribution][google.cloud.aiplatform.v1.ExplanationParameters.xrai_attribution], - * increasing - * [step_count][google.cloud.aiplatform.v1.XraiAttribution.step_count] might - * reduce the error. - * See [this introduction](/vertex-ai/docs/explainable-ai/overview) - * for more information. - * - * Generated from protobuf field double approximation_error = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return float - */ - public function getApproximationError() - { - return $this->approximation_error; - } - - /** - * Output only. Error of - * [feature_attributions][google.cloud.aiplatform.v1.Attribution.feature_attributions] - * caused by approximation used in the explanation method. Lower value means - * more precise attributions. - * * For Sampled Shapley - * [attribution][google.cloud.aiplatform.v1.ExplanationParameters.sampled_shapley_attribution], - * increasing - * [path_count][google.cloud.aiplatform.v1.SampledShapleyAttribution.path_count] - * might reduce the error. - * * For Integrated Gradients - * [attribution][google.cloud.aiplatform.v1.ExplanationParameters.integrated_gradients_attribution], - * increasing - * [step_count][google.cloud.aiplatform.v1.IntegratedGradientsAttribution.step_count] - * might reduce the error. - * * For [XRAI - * attribution][google.cloud.aiplatform.v1.ExplanationParameters.xrai_attribution], - * increasing - * [step_count][google.cloud.aiplatform.v1.XraiAttribution.step_count] might - * reduce the error. - * See [this introduction](/vertex-ai/docs/explainable-ai/overview) - * for more information. - * - * Generated from protobuf field double approximation_error = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param float $var - * @return $this - */ - public function setApproximationError($var) - { - GPBUtil::checkDouble($var); - $this->approximation_error = $var; - - return $this; - } - - /** - * Output only. Name of the explain output. Specified as the key in - * [ExplanationMetadata.outputs][google.cloud.aiplatform.v1.ExplanationMetadata.outputs]. - * - * Generated from protobuf field string output_name = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return string - */ - public function getOutputName() - { - return $this->output_name; - } - - /** - * Output only. Name of the explain output. Specified as the key in - * [ExplanationMetadata.outputs][google.cloud.aiplatform.v1.ExplanationMetadata.outputs]. - * - * Generated from protobuf field string output_name = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param string $var - * @return $this - */ - public function setOutputName($var) - { - GPBUtil::checkString($var, True); - $this->output_name = $var; - - return $this; - } - -} - diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/AutomaticResources.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/AutomaticResources.php deleted file mode 100644 index 19a15f9d5eb8..000000000000 --- a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/AutomaticResources.php +++ /dev/null @@ -1,155 +0,0 @@ -google.cloud.aiplatform.v1.AutomaticResources - */ -class AutomaticResources extends \Google\Protobuf\Internal\Message -{ - /** - * Immutable. The minimum number of replicas this DeployedModel will be always - * deployed on. If traffic against it increases, it may dynamically be - * deployed onto more replicas up to - * [max_replica_count][google.cloud.aiplatform.v1.AutomaticResources.max_replica_count], - * and as traffic decreases, some of these extra replicas may be freed. If the - * requested value is too large, the deployment will error. - * - * Generated from protobuf field int32 min_replica_count = 1 [(.google.api.field_behavior) = IMMUTABLE]; - */ - protected $min_replica_count = 0; - /** - * Immutable. The maximum number of replicas this DeployedModel may be - * deployed on when the traffic against it increases. If the requested value - * is too large, the deployment will error, but if deployment succeeds then - * the ability to scale the model to that many replicas is guaranteed (barring - * service outages). If traffic against the DeployedModel increases beyond - * what its replicas at maximum may handle, a portion of the traffic will be - * dropped. If this value is not provided, a no upper bound for scaling under - * heavy traffic will be assume, though Vertex AI may be unable to scale - * beyond certain replica number. - * - * Generated from protobuf field int32 max_replica_count = 2 [(.google.api.field_behavior) = IMMUTABLE]; - */ - protected $max_replica_count = 0; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type int $min_replica_count - * Immutable. The minimum number of replicas this DeployedModel will be always - * deployed on. If traffic against it increases, it may dynamically be - * deployed onto more replicas up to - * [max_replica_count][google.cloud.aiplatform.v1.AutomaticResources.max_replica_count], - * and as traffic decreases, some of these extra replicas may be freed. If the - * requested value is too large, the deployment will error. - * @type int $max_replica_count - * Immutable. The maximum number of replicas this DeployedModel may be - * deployed on when the traffic against it increases. If the requested value - * is too large, the deployment will error, but if deployment succeeds then - * the ability to scale the model to that many replicas is guaranteed (barring - * service outages). If traffic against the DeployedModel increases beyond - * what its replicas at maximum may handle, a portion of the traffic will be - * dropped. If this value is not provided, a no upper bound for scaling under - * heavy traffic will be assume, though Vertex AI may be unable to scale - * beyond certain replica number. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Cloud\Aiplatform\V1\MachineResources::initOnce(); - parent::__construct($data); - } - - /** - * Immutable. The minimum number of replicas this DeployedModel will be always - * deployed on. If traffic against it increases, it may dynamically be - * deployed onto more replicas up to - * [max_replica_count][google.cloud.aiplatform.v1.AutomaticResources.max_replica_count], - * and as traffic decreases, some of these extra replicas may be freed. If the - * requested value is too large, the deployment will error. - * - * Generated from protobuf field int32 min_replica_count = 1 [(.google.api.field_behavior) = IMMUTABLE]; - * @return int - */ - public function getMinReplicaCount() - { - return $this->min_replica_count; - } - - /** - * Immutable. The minimum number of replicas this DeployedModel will be always - * deployed on. If traffic against it increases, it may dynamically be - * deployed onto more replicas up to - * [max_replica_count][google.cloud.aiplatform.v1.AutomaticResources.max_replica_count], - * and as traffic decreases, some of these extra replicas may be freed. If the - * requested value is too large, the deployment will error. - * - * Generated from protobuf field int32 min_replica_count = 1 [(.google.api.field_behavior) = IMMUTABLE]; - * @param int $var - * @return $this - */ - public function setMinReplicaCount($var) - { - GPBUtil::checkInt32($var); - $this->min_replica_count = $var; - - return $this; - } - - /** - * Immutable. The maximum number of replicas this DeployedModel may be - * deployed on when the traffic against it increases. If the requested value - * is too large, the deployment will error, but if deployment succeeds then - * the ability to scale the model to that many replicas is guaranteed (barring - * service outages). If traffic against the DeployedModel increases beyond - * what its replicas at maximum may handle, a portion of the traffic will be - * dropped. If this value is not provided, a no upper bound for scaling under - * heavy traffic will be assume, though Vertex AI may be unable to scale - * beyond certain replica number. - * - * Generated from protobuf field int32 max_replica_count = 2 [(.google.api.field_behavior) = IMMUTABLE]; - * @return int - */ - public function getMaxReplicaCount() - { - return $this->max_replica_count; - } - - /** - * Immutable. The maximum number of replicas this DeployedModel may be - * deployed on when the traffic against it increases. If the requested value - * is too large, the deployment will error, but if deployment succeeds then - * the ability to scale the model to that many replicas is guaranteed (barring - * service outages). If traffic against the DeployedModel increases beyond - * what its replicas at maximum may handle, a portion of the traffic will be - * dropped. If this value is not provided, a no upper bound for scaling under - * heavy traffic will be assume, though Vertex AI may be unable to scale - * beyond certain replica number. - * - * Generated from protobuf field int32 max_replica_count = 2 [(.google.api.field_behavior) = IMMUTABLE]; - * @param int $var - * @return $this - */ - public function setMaxReplicaCount($var) - { - GPBUtil::checkInt32($var); - $this->max_replica_count = $var; - - return $this; - } - -} - diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/AutoscalingMetricSpec.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/AutoscalingMetricSpec.php deleted file mode 100644 index 68f5244c7a41..000000000000 --- a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/AutoscalingMetricSpec.php +++ /dev/null @@ -1,131 +0,0 @@ -google.cloud.aiplatform.v1.AutoscalingMetricSpec - */ -class AutoscalingMetricSpec extends \Google\Protobuf\Internal\Message -{ - /** - * Required. The resource metric name. - * Supported metrics: - * * For Online Prediction: - * * `aiplatform.googleapis.com/prediction/online/accelerator/duty_cycle` - * * `aiplatform.googleapis.com/prediction/online/cpu/utilization` - * - * Generated from protobuf field string metric_name = 1 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $metric_name = ''; - /** - * The target resource utilization in percentage (1% - 100%) for the given - * metric; once the real usage deviates from the target by a certain - * percentage, the machine replicas change. The default value is 60 - * (representing 60%) if not provided. - * - * Generated from protobuf field int32 target = 2; - */ - protected $target = 0; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $metric_name - * Required. The resource metric name. - * Supported metrics: - * * For Online Prediction: - * * `aiplatform.googleapis.com/prediction/online/accelerator/duty_cycle` - * * `aiplatform.googleapis.com/prediction/online/cpu/utilization` - * @type int $target - * The target resource utilization in percentage (1% - 100%) for the given - * metric; once the real usage deviates from the target by a certain - * percentage, the machine replicas change. The default value is 60 - * (representing 60%) if not provided. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Cloud\Aiplatform\V1\MachineResources::initOnce(); - parent::__construct($data); - } - - /** - * Required. The resource metric name. - * Supported metrics: - * * For Online Prediction: - * * `aiplatform.googleapis.com/prediction/online/accelerator/duty_cycle` - * * `aiplatform.googleapis.com/prediction/online/cpu/utilization` - * - * Generated from protobuf field string metric_name = 1 [(.google.api.field_behavior) = REQUIRED]; - * @return string - */ - public function getMetricName() - { - return $this->metric_name; - } - - /** - * Required. The resource metric name. - * Supported metrics: - * * For Online Prediction: - * * `aiplatform.googleapis.com/prediction/online/accelerator/duty_cycle` - * * `aiplatform.googleapis.com/prediction/online/cpu/utilization` - * - * Generated from protobuf field string metric_name = 1 [(.google.api.field_behavior) = REQUIRED]; - * @param string $var - * @return $this - */ - public function setMetricName($var) - { - GPBUtil::checkString($var, True); - $this->metric_name = $var; - - return $this; - } - - /** - * The target resource utilization in percentage (1% - 100%) for the given - * metric; once the real usage deviates from the target by a certain - * percentage, the machine replicas change. The default value is 60 - * (representing 60%) if not provided. - * - * Generated from protobuf field int32 target = 2; - * @return int - */ - public function getTarget() - { - return $this->target; - } - - /** - * The target resource utilization in percentage (1% - 100%) for the given - * metric; once the real usage deviates from the target by a certain - * percentage, the machine replicas change. The default value is 60 - * (representing 60%) if not provided. - * - * Generated from protobuf field int32 target = 2; - * @param int $var - * @return $this - */ - public function setTarget($var) - { - GPBUtil::checkInt32($var); - $this->target = $var; - - return $this; - } - -} - diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/AvroSource.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/AvroSource.php deleted file mode 100644 index b0558cc5b603..000000000000 --- a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/AvroSource.php +++ /dev/null @@ -1,77 +0,0 @@ -google.cloud.aiplatform.v1.AvroSource - */ -class AvroSource extends \Google\Protobuf\Internal\Message -{ - /** - * Required. Google Cloud Storage location. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.GcsSource gcs_source = 1 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $gcs_source = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type \Google\Cloud\AIPlatform\V1\GcsSource $gcs_source - * Required. Google Cloud Storage location. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Cloud\Aiplatform\V1\Io::initOnce(); - parent::__construct($data); - } - - /** - * Required. Google Cloud Storage location. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.GcsSource gcs_source = 1 [(.google.api.field_behavior) = REQUIRED]; - * @return \Google\Cloud\AIPlatform\V1\GcsSource|null - */ - public function getGcsSource() - { - return $this->gcs_source; - } - - public function hasGcsSource() - { - return isset($this->gcs_source); - } - - public function clearGcsSource() - { - unset($this->gcs_source); - } - - /** - * Required. Google Cloud Storage location. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.GcsSource gcs_source = 1 [(.google.api.field_behavior) = REQUIRED]; - * @param \Google\Cloud\AIPlatform\V1\GcsSource $var - * @return $this - */ - public function setGcsSource($var) - { - GPBUtil::checkMessage($var, \Google\Cloud\AIPlatform\V1\GcsSource::class); - $this->gcs_source = $var; - - return $this; - } - -} - diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/BatchCancelPipelineJobsOperationMetadata.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/BatchCancelPipelineJobsOperationMetadata.php deleted file mode 100644 index 6311dfc7eb40..000000000000 --- a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/BatchCancelPipelineJobsOperationMetadata.php +++ /dev/null @@ -1,78 +0,0 @@ -google.cloud.aiplatform.v1.BatchCancelPipelineJobsOperationMetadata - */ -class BatchCancelPipelineJobsOperationMetadata extends \Google\Protobuf\Internal\Message -{ - /** - * The common part of the operation metadata. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.GenericOperationMetadata generic_metadata = 1; - */ - protected $generic_metadata = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type \Google\Cloud\AIPlatform\V1\GenericOperationMetadata $generic_metadata - * The common part of the operation metadata. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Cloud\Aiplatform\V1\PipelineService::initOnce(); - parent::__construct($data); - } - - /** - * The common part of the operation metadata. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.GenericOperationMetadata generic_metadata = 1; - * @return \Google\Cloud\AIPlatform\V1\GenericOperationMetadata|null - */ - public function getGenericMetadata() - { - return $this->generic_metadata; - } - - public function hasGenericMetadata() - { - return isset($this->generic_metadata); - } - - public function clearGenericMetadata() - { - unset($this->generic_metadata); - } - - /** - * The common part of the operation metadata. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.GenericOperationMetadata generic_metadata = 1; - * @param \Google\Cloud\AIPlatform\V1\GenericOperationMetadata $var - * @return $this - */ - public function setGenericMetadata($var) - { - GPBUtil::checkMessage($var, \Google\Cloud\AIPlatform\V1\GenericOperationMetadata::class); - $this->generic_metadata = $var; - - return $this; - } - -} - diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/BatchCancelPipelineJobsRequest.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/BatchCancelPipelineJobsRequest.php deleted file mode 100644 index ace5b89bb75f..000000000000 --- a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/BatchCancelPipelineJobsRequest.php +++ /dev/null @@ -1,139 +0,0 @@ -google.cloud.aiplatform.v1.BatchCancelPipelineJobsRequest - */ -class BatchCancelPipelineJobsRequest extends \Google\Protobuf\Internal\Message -{ - /** - * Required. The name of the PipelineJobs' parent resource. - * Format: `projects/{project}/locations/{location}` - * - * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - */ - protected $parent = ''; - /** - * Required. The names of the PipelineJobs to cancel. - * A maximum of 32 PipelineJobs can be cancelled in a batch. - * Format: - * `projects/{project}/locations/{location}/pipelineJobs/{pipelineJob}` - * - * Generated from protobuf field repeated string names = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - */ - private $names; - - /** - * @param string $parent Required. The name of the PipelineJobs' parent resource. - * Format: `projects/{project}/locations/{location}` - * Please see {@see PipelineServiceClient::locationName()} for help formatting this field. - * @param string[] $names Required. The names of the PipelineJobs to cancel. - * A maximum of 32 PipelineJobs can be cancelled in a batch. - * Format: - * `projects/{project}/locations/{location}/pipelineJobs/{pipelineJob}` - * Please see {@see PipelineServiceClient::pipelineJobName()} for help formatting this field. - * - * @return \Google\Cloud\AIPlatform\V1\BatchCancelPipelineJobsRequest - * - * @experimental - */ - public static function build(string $parent, array $names): self - { - return (new self()) - ->setParent($parent) - ->setNames($names); - } - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $parent - * Required. The name of the PipelineJobs' parent resource. - * Format: `projects/{project}/locations/{location}` - * @type array|\Google\Protobuf\Internal\RepeatedField $names - * Required. The names of the PipelineJobs to cancel. - * A maximum of 32 PipelineJobs can be cancelled in a batch. - * Format: - * `projects/{project}/locations/{location}/pipelineJobs/{pipelineJob}` - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Cloud\Aiplatform\V1\PipelineService::initOnce(); - parent::__construct($data); - } - - /** - * Required. The name of the PipelineJobs' parent resource. - * Format: `projects/{project}/locations/{location}` - * - * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - * @return string - */ - public function getParent() - { - return $this->parent; - } - - /** - * Required. The name of the PipelineJobs' parent resource. - * Format: `projects/{project}/locations/{location}` - * - * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setParent($var) - { - GPBUtil::checkString($var, True); - $this->parent = $var; - - return $this; - } - - /** - * Required. The names of the PipelineJobs to cancel. - * A maximum of 32 PipelineJobs can be cancelled in a batch. - * Format: - * `projects/{project}/locations/{location}/pipelineJobs/{pipelineJob}` - * - * Generated from protobuf field repeated string names = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getNames() - { - return $this->names; - } - - /** - * Required. The names of the PipelineJobs to cancel. - * A maximum of 32 PipelineJobs can be cancelled in a batch. - * Format: - * `projects/{project}/locations/{location}/pipelineJobs/{pipelineJob}` - * - * Generated from protobuf field repeated string names = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - * @param array|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setNames($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING); - $this->names = $arr; - - return $this; - } - -} - diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/BatchCancelPipelineJobsResponse.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/BatchCancelPipelineJobsResponse.php deleted file mode 100644 index 38115bb97b1f..000000000000 --- a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/BatchCancelPipelineJobsResponse.php +++ /dev/null @@ -1,68 +0,0 @@ -google.cloud.aiplatform.v1.BatchCancelPipelineJobsResponse - */ -class BatchCancelPipelineJobsResponse extends \Google\Protobuf\Internal\Message -{ - /** - * PipelineJobs cancelled. - * - * Generated from protobuf field repeated .google.cloud.aiplatform.v1.PipelineJob pipeline_jobs = 1; - */ - private $pipeline_jobs; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type array<\Google\Cloud\AIPlatform\V1\PipelineJob>|\Google\Protobuf\Internal\RepeatedField $pipeline_jobs - * PipelineJobs cancelled. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Cloud\Aiplatform\V1\PipelineService::initOnce(); - parent::__construct($data); - } - - /** - * PipelineJobs cancelled. - * - * Generated from protobuf field repeated .google.cloud.aiplatform.v1.PipelineJob pipeline_jobs = 1; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getPipelineJobs() - { - return $this->pipeline_jobs; - } - - /** - * PipelineJobs cancelled. - * - * Generated from protobuf field repeated .google.cloud.aiplatform.v1.PipelineJob pipeline_jobs = 1; - * @param array<\Google\Cloud\AIPlatform\V1\PipelineJob>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setPipelineJobs($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\AIPlatform\V1\PipelineJob::class); - $this->pipeline_jobs = $arr; - - return $this; - } - -} - diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/BatchCreateFeaturesOperationMetadata.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/BatchCreateFeaturesOperationMetadata.php deleted file mode 100644 index 6dabff519c11..000000000000 --- a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/BatchCreateFeaturesOperationMetadata.php +++ /dev/null @@ -1,77 +0,0 @@ -google.cloud.aiplatform.v1.BatchCreateFeaturesOperationMetadata - */ -class BatchCreateFeaturesOperationMetadata extends \Google\Protobuf\Internal\Message -{ - /** - * Operation metadata for Feature. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.GenericOperationMetadata generic_metadata = 1; - */ - protected $generic_metadata = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type \Google\Cloud\AIPlatform\V1\GenericOperationMetadata $generic_metadata - * Operation metadata for Feature. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Cloud\Aiplatform\V1\FeaturestoreService::initOnce(); - parent::__construct($data); - } - - /** - * Operation metadata for Feature. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.GenericOperationMetadata generic_metadata = 1; - * @return \Google\Cloud\AIPlatform\V1\GenericOperationMetadata|null - */ - public function getGenericMetadata() - { - return $this->generic_metadata; - } - - public function hasGenericMetadata() - { - return isset($this->generic_metadata); - } - - public function clearGenericMetadata() - { - unset($this->generic_metadata); - } - - /** - * Operation metadata for Feature. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.GenericOperationMetadata generic_metadata = 1; - * @param \Google\Cloud\AIPlatform\V1\GenericOperationMetadata $var - * @return $this - */ - public function setGenericMetadata($var) - { - GPBUtil::checkMessage($var, \Google\Cloud\AIPlatform\V1\GenericOperationMetadata::class); - $this->generic_metadata = $var; - - return $this; - } - -} - diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/BatchCreateFeaturesRequest.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/BatchCreateFeaturesRequest.php deleted file mode 100644 index f2115669730b..000000000000 --- a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/BatchCreateFeaturesRequest.php +++ /dev/null @@ -1,148 +0,0 @@ -google.cloud.aiplatform.v1.BatchCreateFeaturesRequest - */ -class BatchCreateFeaturesRequest extends \Google\Protobuf\Internal\Message -{ - /** - * Required. The resource name of the EntityType to create the batch of - * Features under. Format: - * `projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entity_type}` - * - * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - */ - protected $parent = ''; - /** - * Required. The request message specifying the Features to create. All - * Features must be created under the same parent EntityType. The `parent` - * field in each child request message can be omitted. If `parent` is set in a - * child request, then the value must match the `parent` value in this request - * message. - * - * Generated from protobuf field repeated .google.cloud.aiplatform.v1.CreateFeatureRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; - */ - private $requests; - - /** - * @param string $parent Required. The resource name of the EntityType to create the batch of - * Features under. Format: - * `projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entity_type}` - * Please see {@see FeaturestoreServiceClient::entityTypeName()} for help formatting this field. - * @param \Google\Cloud\AIPlatform\V1\CreateFeatureRequest[] $requests Required. The request message specifying the Features to create. All - * Features must be created under the same parent EntityType. The `parent` - * field in each child request message can be omitted. If `parent` is set in a - * child request, then the value must match the `parent` value in this request - * message. - * - * @return \Google\Cloud\AIPlatform\V1\BatchCreateFeaturesRequest - * - * @experimental - */ - public static function build(string $parent, array $requests): self - { - return (new self()) - ->setParent($parent) - ->setRequests($requests); - } - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $parent - * Required. The resource name of the EntityType to create the batch of - * Features under. Format: - * `projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entity_type}` - * @type array<\Google\Cloud\AIPlatform\V1\CreateFeatureRequest>|\Google\Protobuf\Internal\RepeatedField $requests - * Required. The request message specifying the Features to create. All - * Features must be created under the same parent EntityType. The `parent` - * field in each child request message can be omitted. If `parent` is set in a - * child request, then the value must match the `parent` value in this request - * message. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Cloud\Aiplatform\V1\FeaturestoreService::initOnce(); - parent::__construct($data); - } - - /** - * Required. The resource name of the EntityType to create the batch of - * Features under. Format: - * `projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entity_type}` - * - * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - * @return string - */ - public function getParent() - { - return $this->parent; - } - - /** - * Required. The resource name of the EntityType to create the batch of - * Features under. Format: - * `projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entity_type}` - * - * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setParent($var) - { - GPBUtil::checkString($var, True); - $this->parent = $var; - - return $this; - } - - /** - * Required. The request message specifying the Features to create. All - * Features must be created under the same parent EntityType. The `parent` - * field in each child request message can be omitted. If `parent` is set in a - * child request, then the value must match the `parent` value in this request - * message. - * - * Generated from protobuf field repeated .google.cloud.aiplatform.v1.CreateFeatureRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getRequests() - { - return $this->requests; - } - - /** - * Required. The request message specifying the Features to create. All - * Features must be created under the same parent EntityType. The `parent` - * field in each child request message can be omitted. If `parent` is set in a - * child request, then the value must match the `parent` value in this request - * message. - * - * Generated from protobuf field repeated .google.cloud.aiplatform.v1.CreateFeatureRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; - * @param array<\Google\Cloud\AIPlatform\V1\CreateFeatureRequest>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setRequests($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\AIPlatform\V1\CreateFeatureRequest::class); - $this->requests = $arr; - - return $this; - } - -} - diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/BatchCreateFeaturesResponse.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/BatchCreateFeaturesResponse.php deleted file mode 100644 index 40b52284eaaa..000000000000 --- a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/BatchCreateFeaturesResponse.php +++ /dev/null @@ -1,68 +0,0 @@ -google.cloud.aiplatform.v1.BatchCreateFeaturesResponse - */ -class BatchCreateFeaturesResponse extends \Google\Protobuf\Internal\Message -{ - /** - * The Features created. - * - * Generated from protobuf field repeated .google.cloud.aiplatform.v1.Feature features = 1; - */ - private $features; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type array<\Google\Cloud\AIPlatform\V1\Feature>|\Google\Protobuf\Internal\RepeatedField $features - * The Features created. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Cloud\Aiplatform\V1\FeaturestoreService::initOnce(); - parent::__construct($data); - } - - /** - * The Features created. - * - * Generated from protobuf field repeated .google.cloud.aiplatform.v1.Feature features = 1; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getFeatures() - { - return $this->features; - } - - /** - * The Features created. - * - * Generated from protobuf field repeated .google.cloud.aiplatform.v1.Feature features = 1; - * @param array<\Google\Cloud\AIPlatform\V1\Feature>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setFeatures($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\AIPlatform\V1\Feature::class); - $this->features = $arr; - - return $this; - } - -} - diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/BatchCreateTensorboardRunsRequest.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/BatchCreateTensorboardRunsRequest.php deleted file mode 100644 index ea8f9e456276..000000000000 --- a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/BatchCreateTensorboardRunsRequest.php +++ /dev/null @@ -1,143 +0,0 @@ -google.cloud.aiplatform.v1.BatchCreateTensorboardRunsRequest - */ -class BatchCreateTensorboardRunsRequest extends \Google\Protobuf\Internal\Message -{ - /** - * Required. The resource name of the TensorboardExperiment to create the - * TensorboardRuns in. Format: - * `projects/{project}/locations/{location}/tensorboards/{tensorboard}/experiments/{experiment}` - * The parent field in the CreateTensorboardRunRequest messages must match - * this field. - * - * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - */ - protected $parent = ''; - /** - * Required. The request message specifying the TensorboardRuns to create. - * A maximum of 1000 TensorboardRuns can be created in a batch. - * - * Generated from protobuf field repeated .google.cloud.aiplatform.v1.CreateTensorboardRunRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; - */ - private $requests; - - /** - * @param string $parent Required. The resource name of the TensorboardExperiment to create the - * TensorboardRuns in. Format: - * `projects/{project}/locations/{location}/tensorboards/{tensorboard}/experiments/{experiment}` - * The parent field in the CreateTensorboardRunRequest messages must match - * this field. Please see - * {@see TensorboardServiceClient::tensorboardExperimentName()} for help formatting this field. - * @param \Google\Cloud\AIPlatform\V1\CreateTensorboardRunRequest[] $requests Required. The request message specifying the TensorboardRuns to create. - * A maximum of 1000 TensorboardRuns can be created in a batch. - * - * @return \Google\Cloud\AIPlatform\V1\BatchCreateTensorboardRunsRequest - * - * @experimental - */ - public static function build(string $parent, array $requests): self - { - return (new self()) - ->setParent($parent) - ->setRequests($requests); - } - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $parent - * Required. The resource name of the TensorboardExperiment to create the - * TensorboardRuns in. Format: - * `projects/{project}/locations/{location}/tensorboards/{tensorboard}/experiments/{experiment}` - * The parent field in the CreateTensorboardRunRequest messages must match - * this field. - * @type array<\Google\Cloud\AIPlatform\V1\CreateTensorboardRunRequest>|\Google\Protobuf\Internal\RepeatedField $requests - * Required. The request message specifying the TensorboardRuns to create. - * A maximum of 1000 TensorboardRuns can be created in a batch. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Cloud\Aiplatform\V1\TensorboardService::initOnce(); - parent::__construct($data); - } - - /** - * Required. The resource name of the TensorboardExperiment to create the - * TensorboardRuns in. Format: - * `projects/{project}/locations/{location}/tensorboards/{tensorboard}/experiments/{experiment}` - * The parent field in the CreateTensorboardRunRequest messages must match - * this field. - * - * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - * @return string - */ - public function getParent() - { - return $this->parent; - } - - /** - * Required. The resource name of the TensorboardExperiment to create the - * TensorboardRuns in. Format: - * `projects/{project}/locations/{location}/tensorboards/{tensorboard}/experiments/{experiment}` - * The parent field in the CreateTensorboardRunRequest messages must match - * this field. - * - * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setParent($var) - { - GPBUtil::checkString($var, True); - $this->parent = $var; - - return $this; - } - - /** - * Required. The request message specifying the TensorboardRuns to create. - * A maximum of 1000 TensorboardRuns can be created in a batch. - * - * Generated from protobuf field repeated .google.cloud.aiplatform.v1.CreateTensorboardRunRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getRequests() - { - return $this->requests; - } - - /** - * Required. The request message specifying the TensorboardRuns to create. - * A maximum of 1000 TensorboardRuns can be created in a batch. - * - * Generated from protobuf field repeated .google.cloud.aiplatform.v1.CreateTensorboardRunRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; - * @param array<\Google\Cloud\AIPlatform\V1\CreateTensorboardRunRequest>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setRequests($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\AIPlatform\V1\CreateTensorboardRunRequest::class); - $this->requests = $arr; - - return $this; - } - -} - diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/BatchCreateTensorboardRunsResponse.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/BatchCreateTensorboardRunsResponse.php deleted file mode 100644 index e64e2efcc831..000000000000 --- a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/BatchCreateTensorboardRunsResponse.php +++ /dev/null @@ -1,68 +0,0 @@ -google.cloud.aiplatform.v1.BatchCreateTensorboardRunsResponse - */ -class BatchCreateTensorboardRunsResponse extends \Google\Protobuf\Internal\Message -{ - /** - * The created TensorboardRuns. - * - * Generated from protobuf field repeated .google.cloud.aiplatform.v1.TensorboardRun tensorboard_runs = 1; - */ - private $tensorboard_runs; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type array<\Google\Cloud\AIPlatform\V1\TensorboardRun>|\Google\Protobuf\Internal\RepeatedField $tensorboard_runs - * The created TensorboardRuns. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Cloud\Aiplatform\V1\TensorboardService::initOnce(); - parent::__construct($data); - } - - /** - * The created TensorboardRuns. - * - * Generated from protobuf field repeated .google.cloud.aiplatform.v1.TensorboardRun tensorboard_runs = 1; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getTensorboardRuns() - { - return $this->tensorboard_runs; - } - - /** - * The created TensorboardRuns. - * - * Generated from protobuf field repeated .google.cloud.aiplatform.v1.TensorboardRun tensorboard_runs = 1; - * @param array<\Google\Cloud\AIPlatform\V1\TensorboardRun>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setTensorboardRuns($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\AIPlatform\V1\TensorboardRun::class); - $this->tensorboard_runs = $arr; - - return $this; - } - -} - diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/BatchCreateTensorboardTimeSeriesRequest.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/BatchCreateTensorboardTimeSeriesRequest.php deleted file mode 100644 index 4a4baef7fbe0..000000000000 --- a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/BatchCreateTensorboardTimeSeriesRequest.php +++ /dev/null @@ -1,153 +0,0 @@ -google.cloud.aiplatform.v1.BatchCreateTensorboardTimeSeriesRequest - */ -class BatchCreateTensorboardTimeSeriesRequest extends \Google\Protobuf\Internal\Message -{ - /** - * Required. The resource name of the TensorboardExperiment to create the - * TensorboardTimeSeries in. - * Format: - * `projects/{project}/locations/{location}/tensorboards/{tensorboard}/experiments/{experiment}` - * The TensorboardRuns referenced by the parent fields in the - * CreateTensorboardTimeSeriesRequest messages must be sub resources of this - * TensorboardExperiment. - * - * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - */ - protected $parent = ''; - /** - * Required. The request message specifying the TensorboardTimeSeries to - * create. A maximum of 1000 TensorboardTimeSeries can be created in a batch. - * - * Generated from protobuf field repeated .google.cloud.aiplatform.v1.CreateTensorboardTimeSeriesRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; - */ - private $requests; - - /** - * @param string $parent Required. The resource name of the TensorboardExperiment to create the - * TensorboardTimeSeries in. - * Format: - * `projects/{project}/locations/{location}/tensorboards/{tensorboard}/experiments/{experiment}` - * The TensorboardRuns referenced by the parent fields in the - * CreateTensorboardTimeSeriesRequest messages must be sub resources of this - * TensorboardExperiment. Please see - * {@see TensorboardServiceClient::tensorboardExperimentName()} for help formatting this field. - * @param \Google\Cloud\AIPlatform\V1\CreateTensorboardTimeSeriesRequest[] $requests Required. The request message specifying the TensorboardTimeSeries to - * create. A maximum of 1000 TensorboardTimeSeries can be created in a batch. - * - * @return \Google\Cloud\AIPlatform\V1\BatchCreateTensorboardTimeSeriesRequest - * - * @experimental - */ - public static function build(string $parent, array $requests): self - { - return (new self()) - ->setParent($parent) - ->setRequests($requests); - } - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $parent - * Required. The resource name of the TensorboardExperiment to create the - * TensorboardTimeSeries in. - * Format: - * `projects/{project}/locations/{location}/tensorboards/{tensorboard}/experiments/{experiment}` - * The TensorboardRuns referenced by the parent fields in the - * CreateTensorboardTimeSeriesRequest messages must be sub resources of this - * TensorboardExperiment. - * @type array<\Google\Cloud\AIPlatform\V1\CreateTensorboardTimeSeriesRequest>|\Google\Protobuf\Internal\RepeatedField $requests - * Required. The request message specifying the TensorboardTimeSeries to - * create. A maximum of 1000 TensorboardTimeSeries can be created in a batch. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Cloud\Aiplatform\V1\TensorboardService::initOnce(); - parent::__construct($data); - } - - /** - * Required. The resource name of the TensorboardExperiment to create the - * TensorboardTimeSeries in. - * Format: - * `projects/{project}/locations/{location}/tensorboards/{tensorboard}/experiments/{experiment}` - * The TensorboardRuns referenced by the parent fields in the - * CreateTensorboardTimeSeriesRequest messages must be sub resources of this - * TensorboardExperiment. - * - * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - * @return string - */ - public function getParent() - { - return $this->parent; - } - - /** - * Required. The resource name of the TensorboardExperiment to create the - * TensorboardTimeSeries in. - * Format: - * `projects/{project}/locations/{location}/tensorboards/{tensorboard}/experiments/{experiment}` - * The TensorboardRuns referenced by the parent fields in the - * CreateTensorboardTimeSeriesRequest messages must be sub resources of this - * TensorboardExperiment. - * - * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setParent($var) - { - GPBUtil::checkString($var, True); - $this->parent = $var; - - return $this; - } - - /** - * Required. The request message specifying the TensorboardTimeSeries to - * create. A maximum of 1000 TensorboardTimeSeries can be created in a batch. - * - * Generated from protobuf field repeated .google.cloud.aiplatform.v1.CreateTensorboardTimeSeriesRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getRequests() - { - return $this->requests; - } - - /** - * Required. The request message specifying the TensorboardTimeSeries to - * create. A maximum of 1000 TensorboardTimeSeries can be created in a batch. - * - * Generated from protobuf field repeated .google.cloud.aiplatform.v1.CreateTensorboardTimeSeriesRequest requests = 2 [(.google.api.field_behavior) = REQUIRED]; - * @param array<\Google\Cloud\AIPlatform\V1\CreateTensorboardTimeSeriesRequest>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setRequests($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\AIPlatform\V1\CreateTensorboardTimeSeriesRequest::class); - $this->requests = $arr; - - return $this; - } - -} - diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/BatchCreateTensorboardTimeSeriesResponse.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/BatchCreateTensorboardTimeSeriesResponse.php deleted file mode 100644 index d2a57f05f843..000000000000 --- a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/BatchCreateTensorboardTimeSeriesResponse.php +++ /dev/null @@ -1,68 +0,0 @@ -google.cloud.aiplatform.v1.BatchCreateTensorboardTimeSeriesResponse - */ -class BatchCreateTensorboardTimeSeriesResponse extends \Google\Protobuf\Internal\Message -{ - /** - * The created TensorboardTimeSeries. - * - * Generated from protobuf field repeated .google.cloud.aiplatform.v1.TensorboardTimeSeries tensorboard_time_series = 1; - */ - private $tensorboard_time_series; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type array<\Google\Cloud\AIPlatform\V1\TensorboardTimeSeries>|\Google\Protobuf\Internal\RepeatedField $tensorboard_time_series - * The created TensorboardTimeSeries. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Cloud\Aiplatform\V1\TensorboardService::initOnce(); - parent::__construct($data); - } - - /** - * The created TensorboardTimeSeries. - * - * Generated from protobuf field repeated .google.cloud.aiplatform.v1.TensorboardTimeSeries tensorboard_time_series = 1; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getTensorboardTimeSeries() - { - return $this->tensorboard_time_series; - } - - /** - * The created TensorboardTimeSeries. - * - * Generated from protobuf field repeated .google.cloud.aiplatform.v1.TensorboardTimeSeries tensorboard_time_series = 1; - * @param array<\Google\Cloud\AIPlatform\V1\TensorboardTimeSeries>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setTensorboardTimeSeries($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\AIPlatform\V1\TensorboardTimeSeries::class); - $this->tensorboard_time_series = $arr; - - return $this; - } - -} - diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/BatchDedicatedResources.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/BatchDedicatedResources.php deleted file mode 100644 index ba3d80f6f880..000000000000 --- a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/BatchDedicatedResources.php +++ /dev/null @@ -1,158 +0,0 @@ -google.cloud.aiplatform.v1.BatchDedicatedResources - */ -class BatchDedicatedResources extends \Google\Protobuf\Internal\Message -{ - /** - * Required. Immutable. The specification of a single machine. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.MachineSpec machine_spec = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; - */ - protected $machine_spec = null; - /** - * Immutable. The number of machine replicas used at the start of the batch - * operation. If not set, Vertex AI decides starting number, not greater than - * [max_replica_count][google.cloud.aiplatform.v1.BatchDedicatedResources.max_replica_count] - * - * Generated from protobuf field int32 starting_replica_count = 2 [(.google.api.field_behavior) = IMMUTABLE]; - */ - protected $starting_replica_count = 0; - /** - * Immutable. The maximum number of machine replicas the batch operation may - * be scaled to. The default value is 10. - * - * Generated from protobuf field int32 max_replica_count = 3 [(.google.api.field_behavior) = IMMUTABLE]; - */ - protected $max_replica_count = 0; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type \Google\Cloud\AIPlatform\V1\MachineSpec $machine_spec - * Required. Immutable. The specification of a single machine. - * @type int $starting_replica_count - * Immutable. The number of machine replicas used at the start of the batch - * operation. If not set, Vertex AI decides starting number, not greater than - * [max_replica_count][google.cloud.aiplatform.v1.BatchDedicatedResources.max_replica_count] - * @type int $max_replica_count - * Immutable. The maximum number of machine replicas the batch operation may - * be scaled to. The default value is 10. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Cloud\Aiplatform\V1\MachineResources::initOnce(); - parent::__construct($data); - } - - /** - * Required. Immutable. The specification of a single machine. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.MachineSpec machine_spec = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; - * @return \Google\Cloud\AIPlatform\V1\MachineSpec|null - */ - public function getMachineSpec() - { - return $this->machine_spec; - } - - public function hasMachineSpec() - { - return isset($this->machine_spec); - } - - public function clearMachineSpec() - { - unset($this->machine_spec); - } - - /** - * Required. Immutable. The specification of a single machine. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.MachineSpec machine_spec = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; - * @param \Google\Cloud\AIPlatform\V1\MachineSpec $var - * @return $this - */ - public function setMachineSpec($var) - { - GPBUtil::checkMessage($var, \Google\Cloud\AIPlatform\V1\MachineSpec::class); - $this->machine_spec = $var; - - return $this; - } - - /** - * Immutable. The number of machine replicas used at the start of the batch - * operation. If not set, Vertex AI decides starting number, not greater than - * [max_replica_count][google.cloud.aiplatform.v1.BatchDedicatedResources.max_replica_count] - * - * Generated from protobuf field int32 starting_replica_count = 2 [(.google.api.field_behavior) = IMMUTABLE]; - * @return int - */ - public function getStartingReplicaCount() - { - return $this->starting_replica_count; - } - - /** - * Immutable. The number of machine replicas used at the start of the batch - * operation. If not set, Vertex AI decides starting number, not greater than - * [max_replica_count][google.cloud.aiplatform.v1.BatchDedicatedResources.max_replica_count] - * - * Generated from protobuf field int32 starting_replica_count = 2 [(.google.api.field_behavior) = IMMUTABLE]; - * @param int $var - * @return $this - */ - public function setStartingReplicaCount($var) - { - GPBUtil::checkInt32($var); - $this->starting_replica_count = $var; - - return $this; - } - - /** - * Immutable. The maximum number of machine replicas the batch operation may - * be scaled to. The default value is 10. - * - * Generated from protobuf field int32 max_replica_count = 3 [(.google.api.field_behavior) = IMMUTABLE]; - * @return int - */ - public function getMaxReplicaCount() - { - return $this->max_replica_count; - } - - /** - * Immutable. The maximum number of machine replicas the batch operation may - * be scaled to. The default value is 10. - * - * Generated from protobuf field int32 max_replica_count = 3 [(.google.api.field_behavior) = IMMUTABLE]; - * @param int $var - * @return $this - */ - public function setMaxReplicaCount($var) - { - GPBUtil::checkInt32($var); - $this->max_replica_count = $var; - - return $this; - } - -} - diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/BatchDeletePipelineJobsRequest.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/BatchDeletePipelineJobsRequest.php deleted file mode 100644 index d3e697f9a6b3..000000000000 --- a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/BatchDeletePipelineJobsRequest.php +++ /dev/null @@ -1,139 +0,0 @@ -google.cloud.aiplatform.v1.BatchDeletePipelineJobsRequest - */ -class BatchDeletePipelineJobsRequest extends \Google\Protobuf\Internal\Message -{ - /** - * Required. The name of the PipelineJobs' parent resource. - * Format: `projects/{project}/locations/{location}` - * - * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - */ - protected $parent = ''; - /** - * Required. The names of the PipelineJobs to delete. - * A maximum of 32 PipelineJobs can be deleted in a batch. - * Format: - * `projects/{project}/locations/{location}/pipelineJobs/{pipelineJob}` - * - * Generated from protobuf field repeated string names = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - */ - private $names; - - /** - * @param string $parent Required. The name of the PipelineJobs' parent resource. - * Format: `projects/{project}/locations/{location}` - * Please see {@see PipelineServiceClient::locationName()} for help formatting this field. - * @param string[] $names Required. The names of the PipelineJobs to delete. - * A maximum of 32 PipelineJobs can be deleted in a batch. - * Format: - * `projects/{project}/locations/{location}/pipelineJobs/{pipelineJob}` - * Please see {@see PipelineServiceClient::pipelineJobName()} for help formatting this field. - * - * @return \Google\Cloud\AIPlatform\V1\BatchDeletePipelineJobsRequest - * - * @experimental - */ - public static function build(string $parent, array $names): self - { - return (new self()) - ->setParent($parent) - ->setNames($names); - } - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $parent - * Required. The name of the PipelineJobs' parent resource. - * Format: `projects/{project}/locations/{location}` - * @type array|\Google\Protobuf\Internal\RepeatedField $names - * Required. The names of the PipelineJobs to delete. - * A maximum of 32 PipelineJobs can be deleted in a batch. - * Format: - * `projects/{project}/locations/{location}/pipelineJobs/{pipelineJob}` - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Cloud\Aiplatform\V1\PipelineService::initOnce(); - parent::__construct($data); - } - - /** - * Required. The name of the PipelineJobs' parent resource. - * Format: `projects/{project}/locations/{location}` - * - * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - * @return string - */ - public function getParent() - { - return $this->parent; - } - - /** - * Required. The name of the PipelineJobs' parent resource. - * Format: `projects/{project}/locations/{location}` - * - * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setParent($var) - { - GPBUtil::checkString($var, True); - $this->parent = $var; - - return $this; - } - - /** - * Required. The names of the PipelineJobs to delete. - * A maximum of 32 PipelineJobs can be deleted in a batch. - * Format: - * `projects/{project}/locations/{location}/pipelineJobs/{pipelineJob}` - * - * Generated from protobuf field repeated string names = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getNames() - { - return $this->names; - } - - /** - * Required. The names of the PipelineJobs to delete. - * A maximum of 32 PipelineJobs can be deleted in a batch. - * Format: - * `projects/{project}/locations/{location}/pipelineJobs/{pipelineJob}` - * - * Generated from protobuf field repeated string names = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - * @param array|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setNames($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING); - $this->names = $arr; - - return $this; - } - -} - diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/BatchDeletePipelineJobsResponse.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/BatchDeletePipelineJobsResponse.php deleted file mode 100644 index 42c0da5961db..000000000000 --- a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/BatchDeletePipelineJobsResponse.php +++ /dev/null @@ -1,68 +0,0 @@ -google.cloud.aiplatform.v1.BatchDeletePipelineJobsResponse - */ -class BatchDeletePipelineJobsResponse extends \Google\Protobuf\Internal\Message -{ - /** - * PipelineJobs deleted. - * - * Generated from protobuf field repeated .google.cloud.aiplatform.v1.PipelineJob pipeline_jobs = 1; - */ - private $pipeline_jobs; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type array<\Google\Cloud\AIPlatform\V1\PipelineJob>|\Google\Protobuf\Internal\RepeatedField $pipeline_jobs - * PipelineJobs deleted. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Cloud\Aiplatform\V1\PipelineService::initOnce(); - parent::__construct($data); - } - - /** - * PipelineJobs deleted. - * - * Generated from protobuf field repeated .google.cloud.aiplatform.v1.PipelineJob pipeline_jobs = 1; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getPipelineJobs() - { - return $this->pipeline_jobs; - } - - /** - * PipelineJobs deleted. - * - * Generated from protobuf field repeated .google.cloud.aiplatform.v1.PipelineJob pipeline_jobs = 1; - * @param array<\Google\Cloud\AIPlatform\V1\PipelineJob>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setPipelineJobs($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\AIPlatform\V1\PipelineJob::class); - $this->pipeline_jobs = $arr; - - return $this; - } - -} - diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/BatchImportEvaluatedAnnotationsRequest.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/BatchImportEvaluatedAnnotationsRequest.php deleted file mode 100644 index e300b7710e16..000000000000 --- a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/BatchImportEvaluatedAnnotationsRequest.php +++ /dev/null @@ -1,128 +0,0 @@ -google.cloud.aiplatform.v1.BatchImportEvaluatedAnnotationsRequest - */ -class BatchImportEvaluatedAnnotationsRequest extends \Google\Protobuf\Internal\Message -{ - /** - * Required. The name of the parent ModelEvaluationSlice resource. - * Format: - * `projects/{project}/locations/{location}/models/{model}/evaluations/{evaluation}/slices/{slice}` - * - * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - */ - protected $parent = ''; - /** - * Required. Evaluated annotations resource to be imported. - * - * Generated from protobuf field repeated .google.cloud.aiplatform.v1.EvaluatedAnnotation evaluated_annotations = 2 [(.google.api.field_behavior) = REQUIRED]; - */ - private $evaluated_annotations; - - /** - * @param string $parent Required. The name of the parent ModelEvaluationSlice resource. - * Format: - * `projects/{project}/locations/{location}/models/{model}/evaluations/{evaluation}/slices/{slice}` - * Please see {@see ModelServiceClient::modelEvaluationSliceName()} for help formatting this field. - * @param \Google\Cloud\AIPlatform\V1\EvaluatedAnnotation[] $evaluatedAnnotations Required. Evaluated annotations resource to be imported. - * - * @return \Google\Cloud\AIPlatform\V1\BatchImportEvaluatedAnnotationsRequest - * - * @experimental - */ - public static function build(string $parent, array $evaluatedAnnotations): self - { - return (new self()) - ->setParent($parent) - ->setEvaluatedAnnotations($evaluatedAnnotations); - } - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $parent - * Required. The name of the parent ModelEvaluationSlice resource. - * Format: - * `projects/{project}/locations/{location}/models/{model}/evaluations/{evaluation}/slices/{slice}` - * @type array<\Google\Cloud\AIPlatform\V1\EvaluatedAnnotation>|\Google\Protobuf\Internal\RepeatedField $evaluated_annotations - * Required. Evaluated annotations resource to be imported. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Cloud\Aiplatform\V1\ModelService::initOnce(); - parent::__construct($data); - } - - /** - * Required. The name of the parent ModelEvaluationSlice resource. - * Format: - * `projects/{project}/locations/{location}/models/{model}/evaluations/{evaluation}/slices/{slice}` - * - * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - * @return string - */ - public function getParent() - { - return $this->parent; - } - - /** - * Required. The name of the parent ModelEvaluationSlice resource. - * Format: - * `projects/{project}/locations/{location}/models/{model}/evaluations/{evaluation}/slices/{slice}` - * - * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setParent($var) - { - GPBUtil::checkString($var, True); - $this->parent = $var; - - return $this; - } - - /** - * Required. Evaluated annotations resource to be imported. - * - * Generated from protobuf field repeated .google.cloud.aiplatform.v1.EvaluatedAnnotation evaluated_annotations = 2 [(.google.api.field_behavior) = REQUIRED]; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getEvaluatedAnnotations() - { - return $this->evaluated_annotations; - } - - /** - * Required. Evaluated annotations resource to be imported. - * - * Generated from protobuf field repeated .google.cloud.aiplatform.v1.EvaluatedAnnotation evaluated_annotations = 2 [(.google.api.field_behavior) = REQUIRED]; - * @param array<\Google\Cloud\AIPlatform\V1\EvaluatedAnnotation>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setEvaluatedAnnotations($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\AIPlatform\V1\EvaluatedAnnotation::class); - $this->evaluated_annotations = $arr; - - return $this; - } - -} - diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/BatchImportEvaluatedAnnotationsResponse.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/BatchImportEvaluatedAnnotationsResponse.php deleted file mode 100644 index b38ba54de607..000000000000 --- a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/BatchImportEvaluatedAnnotationsResponse.php +++ /dev/null @@ -1,68 +0,0 @@ -google.cloud.aiplatform.v1.BatchImportEvaluatedAnnotationsResponse - */ -class BatchImportEvaluatedAnnotationsResponse extends \Google\Protobuf\Internal\Message -{ - /** - * Output only. Number of EvaluatedAnnotations imported. - * - * Generated from protobuf field int32 imported_evaluated_annotations_count = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $imported_evaluated_annotations_count = 0; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type int $imported_evaluated_annotations_count - * Output only. Number of EvaluatedAnnotations imported. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Cloud\Aiplatform\V1\ModelService::initOnce(); - parent::__construct($data); - } - - /** - * Output only. Number of EvaluatedAnnotations imported. - * - * Generated from protobuf field int32 imported_evaluated_annotations_count = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return int - */ - public function getImportedEvaluatedAnnotationsCount() - { - return $this->imported_evaluated_annotations_count; - } - - /** - * Output only. Number of EvaluatedAnnotations imported. - * - * Generated from protobuf field int32 imported_evaluated_annotations_count = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param int $var - * @return $this - */ - public function setImportedEvaluatedAnnotationsCount($var) - { - GPBUtil::checkInt32($var); - $this->imported_evaluated_annotations_count = $var; - - return $this; - } - -} - diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/BatchImportModelEvaluationSlicesRequest.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/BatchImportModelEvaluationSlicesRequest.php deleted file mode 100644 index a9498d04017e..000000000000 --- a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/BatchImportModelEvaluationSlicesRequest.php +++ /dev/null @@ -1,128 +0,0 @@ -google.cloud.aiplatform.v1.BatchImportModelEvaluationSlicesRequest - */ -class BatchImportModelEvaluationSlicesRequest extends \Google\Protobuf\Internal\Message -{ - /** - * Required. The name of the parent ModelEvaluation resource. - * Format: - * `projects/{project}/locations/{location}/models/{model}/evaluations/{evaluation}` - * - * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - */ - protected $parent = ''; - /** - * Required. Model evaluation slice resource to be imported. - * - * Generated from protobuf field repeated .google.cloud.aiplatform.v1.ModelEvaluationSlice model_evaluation_slices = 2 [(.google.api.field_behavior) = REQUIRED]; - */ - private $model_evaluation_slices; - - /** - * @param string $parent Required. The name of the parent ModelEvaluation resource. - * Format: - * `projects/{project}/locations/{location}/models/{model}/evaluations/{evaluation}` - * Please see {@see ModelServiceClient::modelEvaluationName()} for help formatting this field. - * @param \Google\Cloud\AIPlatform\V1\ModelEvaluationSlice[] $modelEvaluationSlices Required. Model evaluation slice resource to be imported. - * - * @return \Google\Cloud\AIPlatform\V1\BatchImportModelEvaluationSlicesRequest - * - * @experimental - */ - public static function build(string $parent, array $modelEvaluationSlices): self - { - return (new self()) - ->setParent($parent) - ->setModelEvaluationSlices($modelEvaluationSlices); - } - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $parent - * Required. The name of the parent ModelEvaluation resource. - * Format: - * `projects/{project}/locations/{location}/models/{model}/evaluations/{evaluation}` - * @type array<\Google\Cloud\AIPlatform\V1\ModelEvaluationSlice>|\Google\Protobuf\Internal\RepeatedField $model_evaluation_slices - * Required. Model evaluation slice resource to be imported. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Cloud\Aiplatform\V1\ModelService::initOnce(); - parent::__construct($data); - } - - /** - * Required. The name of the parent ModelEvaluation resource. - * Format: - * `projects/{project}/locations/{location}/models/{model}/evaluations/{evaluation}` - * - * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - * @return string - */ - public function getParent() - { - return $this->parent; - } - - /** - * Required. The name of the parent ModelEvaluation resource. - * Format: - * `projects/{project}/locations/{location}/models/{model}/evaluations/{evaluation}` - * - * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setParent($var) - { - GPBUtil::checkString($var, True); - $this->parent = $var; - - return $this; - } - - /** - * Required. Model evaluation slice resource to be imported. - * - * Generated from protobuf field repeated .google.cloud.aiplatform.v1.ModelEvaluationSlice model_evaluation_slices = 2 [(.google.api.field_behavior) = REQUIRED]; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getModelEvaluationSlices() - { - return $this->model_evaluation_slices; - } - - /** - * Required. Model evaluation slice resource to be imported. - * - * Generated from protobuf field repeated .google.cloud.aiplatform.v1.ModelEvaluationSlice model_evaluation_slices = 2 [(.google.api.field_behavior) = REQUIRED]; - * @param array<\Google\Cloud\AIPlatform\V1\ModelEvaluationSlice>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setModelEvaluationSlices($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\AIPlatform\V1\ModelEvaluationSlice::class); - $this->model_evaluation_slices = $arr; - - return $this; - } - -} - diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/BatchImportModelEvaluationSlicesResponse.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/BatchImportModelEvaluationSlicesResponse.php deleted file mode 100644 index 89b2bd171381..000000000000 --- a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/BatchImportModelEvaluationSlicesResponse.php +++ /dev/null @@ -1,72 +0,0 @@ -google.cloud.aiplatform.v1.BatchImportModelEvaluationSlicesResponse - */ -class BatchImportModelEvaluationSlicesResponse extends \Google\Protobuf\Internal\Message -{ - /** - * Output only. List of imported - * [ModelEvaluationSlice.name][google.cloud.aiplatform.v1.ModelEvaluationSlice.name]. - * - * Generated from protobuf field repeated string imported_model_evaluation_slices = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - private $imported_model_evaluation_slices; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type array|\Google\Protobuf\Internal\RepeatedField $imported_model_evaluation_slices - * Output only. List of imported - * [ModelEvaluationSlice.name][google.cloud.aiplatform.v1.ModelEvaluationSlice.name]. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Cloud\Aiplatform\V1\ModelService::initOnce(); - parent::__construct($data); - } - - /** - * Output only. List of imported - * [ModelEvaluationSlice.name][google.cloud.aiplatform.v1.ModelEvaluationSlice.name]. - * - * Generated from protobuf field repeated string imported_model_evaluation_slices = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getImportedModelEvaluationSlices() - { - return $this->imported_model_evaluation_slices; - } - - /** - * Output only. List of imported - * [ModelEvaluationSlice.name][google.cloud.aiplatform.v1.ModelEvaluationSlice.name]. - * - * Generated from protobuf field repeated string imported_model_evaluation_slices = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param array|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setImportedModelEvaluationSlices($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING); - $this->imported_model_evaluation_slices = $arr; - - return $this; - } - -} - diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/BatchMigrateResourcesOperationMetadata.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/BatchMigrateResourcesOperationMetadata.php deleted file mode 100644 index c0566f257330..000000000000 --- a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/BatchMigrateResourcesOperationMetadata.php +++ /dev/null @@ -1,112 +0,0 @@ -google.cloud.aiplatform.v1.BatchMigrateResourcesOperationMetadata - */ -class BatchMigrateResourcesOperationMetadata extends \Google\Protobuf\Internal\Message -{ - /** - * The common part of the operation metadata. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.GenericOperationMetadata generic_metadata = 1; - */ - protected $generic_metadata = null; - /** - * Partial results that reflect the latest migration operation progress. - * - * Generated from protobuf field repeated .google.cloud.aiplatform.v1.BatchMigrateResourcesOperationMetadata.PartialResult partial_results = 2; - */ - private $partial_results; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type \Google\Cloud\AIPlatform\V1\GenericOperationMetadata $generic_metadata - * The common part of the operation metadata. - * @type array<\Google\Cloud\AIPlatform\V1\BatchMigrateResourcesOperationMetadata\PartialResult>|\Google\Protobuf\Internal\RepeatedField $partial_results - * Partial results that reflect the latest migration operation progress. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Cloud\Aiplatform\V1\MigrationService::initOnce(); - parent::__construct($data); - } - - /** - * The common part of the operation metadata. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.GenericOperationMetadata generic_metadata = 1; - * @return \Google\Cloud\AIPlatform\V1\GenericOperationMetadata|null - */ - public function getGenericMetadata() - { - return $this->generic_metadata; - } - - public function hasGenericMetadata() - { - return isset($this->generic_metadata); - } - - public function clearGenericMetadata() - { - unset($this->generic_metadata); - } - - /** - * The common part of the operation metadata. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.GenericOperationMetadata generic_metadata = 1; - * @param \Google\Cloud\AIPlatform\V1\GenericOperationMetadata $var - * @return $this - */ - public function setGenericMetadata($var) - { - GPBUtil::checkMessage($var, \Google\Cloud\AIPlatform\V1\GenericOperationMetadata::class); - $this->generic_metadata = $var; - - return $this; - } - - /** - * Partial results that reflect the latest migration operation progress. - * - * Generated from protobuf field repeated .google.cloud.aiplatform.v1.BatchMigrateResourcesOperationMetadata.PartialResult partial_results = 2; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getPartialResults() - { - return $this->partial_results; - } - - /** - * Partial results that reflect the latest migration operation progress. - * - * Generated from protobuf field repeated .google.cloud.aiplatform.v1.BatchMigrateResourcesOperationMetadata.PartialResult partial_results = 2; - * @param array<\Google\Cloud\AIPlatform\V1\BatchMigrateResourcesOperationMetadata\PartialResult>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setPartialResults($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\AIPlatform\V1\BatchMigrateResourcesOperationMetadata\PartialResult::class); - $this->partial_results = $arr; - - return $this; - } - -} - diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/BatchMigrateResourcesOperationMetadata/PartialResult.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/BatchMigrateResourcesOperationMetadata/PartialResult.php deleted file mode 100644 index 8d97896ba5d2..000000000000 --- a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/BatchMigrateResourcesOperationMetadata/PartialResult.php +++ /dev/null @@ -1,193 +0,0 @@ -google.cloud.aiplatform.v1.BatchMigrateResourcesOperationMetadata.PartialResult - */ -class PartialResult extends \Google\Protobuf\Internal\Message -{ - /** - * It's the same as the value in - * [MigrateResourceRequest.migrate_resource_requests][]. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.MigrateResourceRequest request = 1; - */ - protected $request = null; - protected $result; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type \Google\Rpc\Status $error - * The error result of the migration request in case of failure. - * @type string $model - * Migrated model resource name. - * @type string $dataset - * Migrated dataset resource name. - * @type \Google\Cloud\AIPlatform\V1\MigrateResourceRequest $request - * It's the same as the value in - * [MigrateResourceRequest.migrate_resource_requests][]. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Cloud\Aiplatform\V1\MigrationService::initOnce(); - parent::__construct($data); - } - - /** - * The error result of the migration request in case of failure. - * - * Generated from protobuf field .google.rpc.Status error = 2; - * @return \Google\Rpc\Status|null - */ - public function getError() - { - return $this->readOneof(2); - } - - public function hasError() - { - return $this->hasOneof(2); - } - - /** - * The error result of the migration request in case of failure. - * - * Generated from protobuf field .google.rpc.Status error = 2; - * @param \Google\Rpc\Status $var - * @return $this - */ - public function setError($var) - { - GPBUtil::checkMessage($var, \Google\Rpc\Status::class); - $this->writeOneof(2, $var); - - return $this; - } - - /** - * Migrated model resource name. - * - * Generated from protobuf field string model = 3 [(.google.api.resource_reference) = { - * @return string - */ - public function getModel() - { - return $this->readOneof(3); - } - - public function hasModel() - { - return $this->hasOneof(3); - } - - /** - * Migrated model resource name. - * - * Generated from protobuf field string model = 3 [(.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setModel($var) - { - GPBUtil::checkString($var, True); - $this->writeOneof(3, $var); - - return $this; - } - - /** - * Migrated dataset resource name. - * - * Generated from protobuf field string dataset = 4 [(.google.api.resource_reference) = { - * @return string - */ - public function getDataset() - { - return $this->readOneof(4); - } - - public function hasDataset() - { - return $this->hasOneof(4); - } - - /** - * Migrated dataset resource name. - * - * Generated from protobuf field string dataset = 4 [(.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setDataset($var) - { - GPBUtil::checkString($var, True); - $this->writeOneof(4, $var); - - return $this; - } - - /** - * It's the same as the value in - * [MigrateResourceRequest.migrate_resource_requests][]. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.MigrateResourceRequest request = 1; - * @return \Google\Cloud\AIPlatform\V1\MigrateResourceRequest|null - */ - public function getRequest() - { - return $this->request; - } - - public function hasRequest() - { - return isset($this->request); - } - - public function clearRequest() - { - unset($this->request); - } - - /** - * It's the same as the value in - * [MigrateResourceRequest.migrate_resource_requests][]. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.MigrateResourceRequest request = 1; - * @param \Google\Cloud\AIPlatform\V1\MigrateResourceRequest $var - * @return $this - */ - public function setRequest($var) - { - GPBUtil::checkMessage($var, \Google\Cloud\AIPlatform\V1\MigrateResourceRequest::class); - $this->request = $var; - - return $this; - } - - /** - * @return string - */ - public function getResult() - { - return $this->whichOneof("result"); - } - -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(PartialResult::class, \Google\Cloud\AIPlatform\V1\BatchMigrateResourcesOperationMetadata_PartialResult::class); - diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/BatchMigrateResourcesRequest.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/BatchMigrateResourcesRequest.php deleted file mode 100644 index c58534bdd59d..000000000000 --- a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/BatchMigrateResourcesRequest.php +++ /dev/null @@ -1,133 +0,0 @@ -google.cloud.aiplatform.v1.BatchMigrateResourcesRequest - */ -class BatchMigrateResourcesRequest extends \Google\Protobuf\Internal\Message -{ - /** - * Required. The location of the migrated resource will live in. - * Format: `projects/{project}/locations/{location}` - * - * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - */ - protected $parent = ''; - /** - * Required. The request messages specifying the resources to migrate. - * They must be in the same location as the destination. - * Up to 50 resources can be migrated in one batch. - * - * Generated from protobuf field repeated .google.cloud.aiplatform.v1.MigrateResourceRequest migrate_resource_requests = 2 [(.google.api.field_behavior) = REQUIRED]; - */ - private $migrate_resource_requests; - - /** - * @param string $parent Required. The location of the migrated resource will live in. - * Format: `projects/{project}/locations/{location}` - * Please see {@see MigrationServiceClient::locationName()} for help formatting this field. - * @param \Google\Cloud\AIPlatform\V1\MigrateResourceRequest[] $migrateResourceRequests Required. The request messages specifying the resources to migrate. - * They must be in the same location as the destination. - * Up to 50 resources can be migrated in one batch. - * - * @return \Google\Cloud\AIPlatform\V1\BatchMigrateResourcesRequest - * - * @experimental - */ - public static function build(string $parent, array $migrateResourceRequests): self - { - return (new self()) - ->setParent($parent) - ->setMigrateResourceRequests($migrateResourceRequests); - } - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $parent - * Required. The location of the migrated resource will live in. - * Format: `projects/{project}/locations/{location}` - * @type array<\Google\Cloud\AIPlatform\V1\MigrateResourceRequest>|\Google\Protobuf\Internal\RepeatedField $migrate_resource_requests - * Required. The request messages specifying the resources to migrate. - * They must be in the same location as the destination. - * Up to 50 resources can be migrated in one batch. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Cloud\Aiplatform\V1\MigrationService::initOnce(); - parent::__construct($data); - } - - /** - * Required. The location of the migrated resource will live in. - * Format: `projects/{project}/locations/{location}` - * - * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - * @return string - */ - public function getParent() - { - return $this->parent; - } - - /** - * Required. The location of the migrated resource will live in. - * Format: `projects/{project}/locations/{location}` - * - * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setParent($var) - { - GPBUtil::checkString($var, True); - $this->parent = $var; - - return $this; - } - - /** - * Required. The request messages specifying the resources to migrate. - * They must be in the same location as the destination. - * Up to 50 resources can be migrated in one batch. - * - * Generated from protobuf field repeated .google.cloud.aiplatform.v1.MigrateResourceRequest migrate_resource_requests = 2 [(.google.api.field_behavior) = REQUIRED]; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getMigrateResourceRequests() - { - return $this->migrate_resource_requests; - } - - /** - * Required. The request messages specifying the resources to migrate. - * They must be in the same location as the destination. - * Up to 50 resources can be migrated in one batch. - * - * Generated from protobuf field repeated .google.cloud.aiplatform.v1.MigrateResourceRequest migrate_resource_requests = 2 [(.google.api.field_behavior) = REQUIRED]; - * @param array<\Google\Cloud\AIPlatform\V1\MigrateResourceRequest>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setMigrateResourceRequests($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\AIPlatform\V1\MigrateResourceRequest::class); - $this->migrate_resource_requests = $arr; - - return $this; - } - -} - diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/BatchMigrateResourcesResponse.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/BatchMigrateResourcesResponse.php deleted file mode 100644 index ec0fd4640b53..000000000000 --- a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/BatchMigrateResourcesResponse.php +++ /dev/null @@ -1,68 +0,0 @@ -google.cloud.aiplatform.v1.BatchMigrateResourcesResponse - */ -class BatchMigrateResourcesResponse extends \Google\Protobuf\Internal\Message -{ - /** - * Successfully migrated resources. - * - * Generated from protobuf field repeated .google.cloud.aiplatform.v1.MigrateResourceResponse migrate_resource_responses = 1; - */ - private $migrate_resource_responses; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type array<\Google\Cloud\AIPlatform\V1\MigrateResourceResponse>|\Google\Protobuf\Internal\RepeatedField $migrate_resource_responses - * Successfully migrated resources. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Cloud\Aiplatform\V1\MigrationService::initOnce(); - parent::__construct($data); - } - - /** - * Successfully migrated resources. - * - * Generated from protobuf field repeated .google.cloud.aiplatform.v1.MigrateResourceResponse migrate_resource_responses = 1; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getMigrateResourceResponses() - { - return $this->migrate_resource_responses; - } - - /** - * Successfully migrated resources. - * - * Generated from protobuf field repeated .google.cloud.aiplatform.v1.MigrateResourceResponse migrate_resource_responses = 1; - * @param array<\Google\Cloud\AIPlatform\V1\MigrateResourceResponse>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setMigrateResourceResponses($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\AIPlatform\V1\MigrateResourceResponse::class); - $this->migrate_resource_responses = $arr; - - return $this; - } - -} - diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/BatchPredictionJob.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/BatchPredictionJob.php deleted file mode 100644 index 3c43ceb23356..000000000000 --- a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/BatchPredictionJob.php +++ /dev/null @@ -1,1510 +0,0 @@ -google.cloud.aiplatform.v1.BatchPredictionJob - */ -class BatchPredictionJob extends \Google\Protobuf\Internal\Message -{ - /** - * Output only. Resource name of the BatchPredictionJob. - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $name = ''; - /** - * Required. The user-defined name of this BatchPredictionJob. - * - * Generated from protobuf field string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $display_name = ''; - /** - * The name of the Model resource that produces the predictions via this job, - * must share the same ancestor Location. - * Starting this job has no impact on any existing deployments of the Model - * and their resources. - * Exactly one of model and unmanaged_container_model must be set. - * The model resource name may contain version id or version alias to specify - * the version. - * Example: `projects/{project}/locations/{location}/models/{model}@2` - * or - * `projects/{project}/locations/{location}/models/{model}@golden` - * if no version is specified, the default version will be deployed. - * The model resource could also be a publisher model. - * Example: `publishers/{publisher}/models/{model}` - * or - * `projects/{project}/locations/{location}/publishers/{publisher}/models/{model}` - * - * Generated from protobuf field string model = 3 [(.google.api.resource_reference) = { - */ - protected $model = ''; - /** - * Output only. The version ID of the Model that produces the predictions via - * this job. - * - * Generated from protobuf field string model_version_id = 30 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $model_version_id = ''; - /** - * Contains model information necessary to perform batch prediction without - * requiring uploading to model registry. - * Exactly one of model and unmanaged_container_model must be set. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.UnmanagedContainerModel unmanaged_container_model = 28; - */ - protected $unmanaged_container_model = null; - /** - * Required. Input configuration of the instances on which predictions are - * performed. The schema of any single instance may be specified via the - * [Model's][google.cloud.aiplatform.v1.BatchPredictionJob.model] - * [PredictSchemata's][google.cloud.aiplatform.v1.Model.predict_schemata] - * [instance_schema_uri][google.cloud.aiplatform.v1.PredictSchemata.instance_schema_uri]. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.BatchPredictionJob.InputConfig input_config = 4 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $input_config = null; - /** - * Configuration for how to convert batch prediction input instances to the - * prediction instances that are sent to the Model. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.BatchPredictionJob.InstanceConfig instance_config = 27; - */ - protected $instance_config = null; - /** - * The parameters that govern the predictions. The schema of the parameters - * may be specified via the - * [Model's][google.cloud.aiplatform.v1.BatchPredictionJob.model] - * [PredictSchemata's][google.cloud.aiplatform.v1.Model.predict_schemata] - * [parameters_schema_uri][google.cloud.aiplatform.v1.PredictSchemata.parameters_schema_uri]. - * - * Generated from protobuf field .google.protobuf.Value model_parameters = 5; - */ - protected $model_parameters = null; - /** - * Required. The Configuration specifying where output predictions should - * be written. - * The schema of any single prediction may be specified as a concatenation - * of [Model's][google.cloud.aiplatform.v1.BatchPredictionJob.model] - * [PredictSchemata's][google.cloud.aiplatform.v1.Model.predict_schemata] - * [instance_schema_uri][google.cloud.aiplatform.v1.PredictSchemata.instance_schema_uri] - * and - * [prediction_schema_uri][google.cloud.aiplatform.v1.PredictSchemata.prediction_schema_uri]. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.BatchPredictionJob.OutputConfig output_config = 6 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $output_config = null; - /** - * The config of resources used by the Model during the batch prediction. If - * the Model - * [supports][google.cloud.aiplatform.v1.Model.supported_deployment_resources_types] - * DEDICATED_RESOURCES this config may be provided (and the job will use these - * resources), if the Model doesn't support AUTOMATIC_RESOURCES, this config - * must be provided. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.BatchDedicatedResources dedicated_resources = 7; - */ - protected $dedicated_resources = null; - /** - * The service account that the DeployedModel's container runs as. If not - * specified, a system generated one will be used, which - * has minimal permissions and the custom container, if used, may not have - * enough permission to access other Google Cloud resources. - * Users deploying the Model must have the `iam.serviceAccounts.actAs` - * permission on this service account. - * - * Generated from protobuf field string service_account = 29; - */ - protected $service_account = ''; - /** - * Immutable. Parameters configuring the batch behavior. Currently only - * applicable when - * [dedicated_resources][google.cloud.aiplatform.v1.BatchPredictionJob.dedicated_resources] - * are used (in other cases Vertex AI does the tuning itself). - * - * Generated from protobuf field .google.cloud.aiplatform.v1.ManualBatchTuningParameters manual_batch_tuning_parameters = 8 [(.google.api.field_behavior) = IMMUTABLE]; - */ - protected $manual_batch_tuning_parameters = null; - /** - * Generate explanation with the batch prediction results. - * When set to `true`, the batch prediction output changes based on the - * `predictions_format` field of the - * [BatchPredictionJob.output_config][google.cloud.aiplatform.v1.BatchPredictionJob.output_config] - * object: - * * `bigquery`: output includes a column named `explanation`. The value - * is a struct that conforms to the - * [Explanation][google.cloud.aiplatform.v1.Explanation] object. - * * `jsonl`: The JSON objects on each line include an additional entry - * keyed `explanation`. The value of the entry is a JSON object that - * conforms to the [Explanation][google.cloud.aiplatform.v1.Explanation] - * object. - * * `csv`: Generating explanations for CSV format is not supported. - * If this field is set to true, either the - * [Model.explanation_spec][google.cloud.aiplatform.v1.Model.explanation_spec] - * or - * [explanation_spec][google.cloud.aiplatform.v1.BatchPredictionJob.explanation_spec] - * must be populated. - * - * Generated from protobuf field bool generate_explanation = 23; - */ - protected $generate_explanation = false; - /** - * Explanation configuration for this BatchPredictionJob. Can be - * specified only if - * [generate_explanation][google.cloud.aiplatform.v1.BatchPredictionJob.generate_explanation] - * is set to `true`. - * This value overrides the value of - * [Model.explanation_spec][google.cloud.aiplatform.v1.Model.explanation_spec]. - * All fields of - * [explanation_spec][google.cloud.aiplatform.v1.BatchPredictionJob.explanation_spec] - * are optional in the request. If a field of the - * [explanation_spec][google.cloud.aiplatform.v1.BatchPredictionJob.explanation_spec] - * object is not populated, the corresponding field of the - * [Model.explanation_spec][google.cloud.aiplatform.v1.Model.explanation_spec] - * object is inherited. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.ExplanationSpec explanation_spec = 25; - */ - protected $explanation_spec = null; - /** - * Output only. Information further describing the output of this job. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.BatchPredictionJob.OutputInfo output_info = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $output_info = null; - /** - * Output only. The detailed state of the job. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.JobState state = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $state = 0; - /** - * Output only. Only populated when the job's state is JOB_STATE_FAILED or - * JOB_STATE_CANCELLED. - * - * Generated from protobuf field .google.rpc.Status error = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $error = null; - /** - * Output only. Partial failures encountered. - * For example, single files that can't be read. - * This field never exceeds 20 entries. - * Status details fields contain standard Google Cloud error details. - * - * Generated from protobuf field repeated .google.rpc.Status partial_failures = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - private $partial_failures; - /** - * Output only. Information about resources that had been consumed by this - * job. Provided in real time at best effort basis, as well as a final value - * once the job completes. - * Note: This field currently may be not populated for batch predictions that - * use AutoML Models. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.ResourcesConsumed resources_consumed = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $resources_consumed = null; - /** - * Output only. Statistics on completed and failed prediction instances. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.CompletionStats completion_stats = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $completion_stats = null; - /** - * Output only. Time when the BatchPredictionJob was created. - * - * Generated from protobuf field .google.protobuf.Timestamp create_time = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $create_time = null; - /** - * Output only. Time when the BatchPredictionJob for the first time entered - * the `JOB_STATE_RUNNING` state. - * - * Generated from protobuf field .google.protobuf.Timestamp start_time = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $start_time = null; - /** - * Output only. Time when the BatchPredictionJob entered any of the following - * states: `JOB_STATE_SUCCEEDED`, `JOB_STATE_FAILED`, `JOB_STATE_CANCELLED`. - * - * Generated from protobuf field .google.protobuf.Timestamp end_time = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $end_time = null; - /** - * Output only. Time when the BatchPredictionJob was most recently updated. - * - * Generated from protobuf field .google.protobuf.Timestamp update_time = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $update_time = null; - /** - * The labels with user-defined metadata to organize BatchPredictionJobs. - * Label keys and values can be no longer than 64 characters - * (Unicode codepoints), can only contain lowercase letters, numeric - * characters, underscores and dashes. International characters are allowed. - * See https://goo.gl/xmQnxf for more information and examples of labels. - * - * Generated from protobuf field map labels = 19; - */ - private $labels; - /** - * Customer-managed encryption key options for a BatchPredictionJob. If this - * is set, then all resources created by the BatchPredictionJob will be - * encrypted with the provided encryption key. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.EncryptionSpec encryption_spec = 24; - */ - protected $encryption_spec = null; - /** - * For custom-trained Models and AutoML Tabular Models, the container of the - * DeployedModel instances will send `stderr` and `stdout` streams to - * Cloud Logging by default. Please note that the logs incur cost, - * which are subject to [Cloud Logging - * pricing](https://cloud.google.com/logging/pricing). - * User can disable container logging by setting this flag to true. - * - * Generated from protobuf field bool disable_container_logging = 34; - */ - protected $disable_container_logging = false; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $name - * Output only. Resource name of the BatchPredictionJob. - * @type string $display_name - * Required. The user-defined name of this BatchPredictionJob. - * @type string $model - * The name of the Model resource that produces the predictions via this job, - * must share the same ancestor Location. - * Starting this job has no impact on any existing deployments of the Model - * and their resources. - * Exactly one of model and unmanaged_container_model must be set. - * The model resource name may contain version id or version alias to specify - * the version. - * Example: `projects/{project}/locations/{location}/models/{model}@2` - * or - * `projects/{project}/locations/{location}/models/{model}@golden` - * if no version is specified, the default version will be deployed. - * The model resource could also be a publisher model. - * Example: `publishers/{publisher}/models/{model}` - * or - * `projects/{project}/locations/{location}/publishers/{publisher}/models/{model}` - * @type string $model_version_id - * Output only. The version ID of the Model that produces the predictions via - * this job. - * @type \Google\Cloud\AIPlatform\V1\UnmanagedContainerModel $unmanaged_container_model - * Contains model information necessary to perform batch prediction without - * requiring uploading to model registry. - * Exactly one of model and unmanaged_container_model must be set. - * @type \Google\Cloud\AIPlatform\V1\BatchPredictionJob\InputConfig $input_config - * Required. Input configuration of the instances on which predictions are - * performed. The schema of any single instance may be specified via the - * [Model's][google.cloud.aiplatform.v1.BatchPredictionJob.model] - * [PredictSchemata's][google.cloud.aiplatform.v1.Model.predict_schemata] - * [instance_schema_uri][google.cloud.aiplatform.v1.PredictSchemata.instance_schema_uri]. - * @type \Google\Cloud\AIPlatform\V1\BatchPredictionJob\InstanceConfig $instance_config - * Configuration for how to convert batch prediction input instances to the - * prediction instances that are sent to the Model. - * @type \Google\Protobuf\Value $model_parameters - * The parameters that govern the predictions. The schema of the parameters - * may be specified via the - * [Model's][google.cloud.aiplatform.v1.BatchPredictionJob.model] - * [PredictSchemata's][google.cloud.aiplatform.v1.Model.predict_schemata] - * [parameters_schema_uri][google.cloud.aiplatform.v1.PredictSchemata.parameters_schema_uri]. - * @type \Google\Cloud\AIPlatform\V1\BatchPredictionJob\OutputConfig $output_config - * Required. The Configuration specifying where output predictions should - * be written. - * The schema of any single prediction may be specified as a concatenation - * of [Model's][google.cloud.aiplatform.v1.BatchPredictionJob.model] - * [PredictSchemata's][google.cloud.aiplatform.v1.Model.predict_schemata] - * [instance_schema_uri][google.cloud.aiplatform.v1.PredictSchemata.instance_schema_uri] - * and - * [prediction_schema_uri][google.cloud.aiplatform.v1.PredictSchemata.prediction_schema_uri]. - * @type \Google\Cloud\AIPlatform\V1\BatchDedicatedResources $dedicated_resources - * The config of resources used by the Model during the batch prediction. If - * the Model - * [supports][google.cloud.aiplatform.v1.Model.supported_deployment_resources_types] - * DEDICATED_RESOURCES this config may be provided (and the job will use these - * resources), if the Model doesn't support AUTOMATIC_RESOURCES, this config - * must be provided. - * @type string $service_account - * The service account that the DeployedModel's container runs as. If not - * specified, a system generated one will be used, which - * has minimal permissions and the custom container, if used, may not have - * enough permission to access other Google Cloud resources. - * Users deploying the Model must have the `iam.serviceAccounts.actAs` - * permission on this service account. - * @type \Google\Cloud\AIPlatform\V1\ManualBatchTuningParameters $manual_batch_tuning_parameters - * Immutable. Parameters configuring the batch behavior. Currently only - * applicable when - * [dedicated_resources][google.cloud.aiplatform.v1.BatchPredictionJob.dedicated_resources] - * are used (in other cases Vertex AI does the tuning itself). - * @type bool $generate_explanation - * Generate explanation with the batch prediction results. - * When set to `true`, the batch prediction output changes based on the - * `predictions_format` field of the - * [BatchPredictionJob.output_config][google.cloud.aiplatform.v1.BatchPredictionJob.output_config] - * object: - * * `bigquery`: output includes a column named `explanation`. The value - * is a struct that conforms to the - * [Explanation][google.cloud.aiplatform.v1.Explanation] object. - * * `jsonl`: The JSON objects on each line include an additional entry - * keyed `explanation`. The value of the entry is a JSON object that - * conforms to the [Explanation][google.cloud.aiplatform.v1.Explanation] - * object. - * * `csv`: Generating explanations for CSV format is not supported. - * If this field is set to true, either the - * [Model.explanation_spec][google.cloud.aiplatform.v1.Model.explanation_spec] - * or - * [explanation_spec][google.cloud.aiplatform.v1.BatchPredictionJob.explanation_spec] - * must be populated. - * @type \Google\Cloud\AIPlatform\V1\ExplanationSpec $explanation_spec - * Explanation configuration for this BatchPredictionJob. Can be - * specified only if - * [generate_explanation][google.cloud.aiplatform.v1.BatchPredictionJob.generate_explanation] - * is set to `true`. - * This value overrides the value of - * [Model.explanation_spec][google.cloud.aiplatform.v1.Model.explanation_spec]. - * All fields of - * [explanation_spec][google.cloud.aiplatform.v1.BatchPredictionJob.explanation_spec] - * are optional in the request. If a field of the - * [explanation_spec][google.cloud.aiplatform.v1.BatchPredictionJob.explanation_spec] - * object is not populated, the corresponding field of the - * [Model.explanation_spec][google.cloud.aiplatform.v1.Model.explanation_spec] - * object is inherited. - * @type \Google\Cloud\AIPlatform\V1\BatchPredictionJob\OutputInfo $output_info - * Output only. Information further describing the output of this job. - * @type int $state - * Output only. The detailed state of the job. - * @type \Google\Rpc\Status $error - * Output only. Only populated when the job's state is JOB_STATE_FAILED or - * JOB_STATE_CANCELLED. - * @type array<\Google\Rpc\Status>|\Google\Protobuf\Internal\RepeatedField $partial_failures - * Output only. Partial failures encountered. - * For example, single files that can't be read. - * This field never exceeds 20 entries. - * Status details fields contain standard Google Cloud error details. - * @type \Google\Cloud\AIPlatform\V1\ResourcesConsumed $resources_consumed - * Output only. Information about resources that had been consumed by this - * job. Provided in real time at best effort basis, as well as a final value - * once the job completes. - * Note: This field currently may be not populated for batch predictions that - * use AutoML Models. - * @type \Google\Cloud\AIPlatform\V1\CompletionStats $completion_stats - * Output only. Statistics on completed and failed prediction instances. - * @type \Google\Protobuf\Timestamp $create_time - * Output only. Time when the BatchPredictionJob was created. - * @type \Google\Protobuf\Timestamp $start_time - * Output only. Time when the BatchPredictionJob for the first time entered - * the `JOB_STATE_RUNNING` state. - * @type \Google\Protobuf\Timestamp $end_time - * Output only. Time when the BatchPredictionJob entered any of the following - * states: `JOB_STATE_SUCCEEDED`, `JOB_STATE_FAILED`, `JOB_STATE_CANCELLED`. - * @type \Google\Protobuf\Timestamp $update_time - * Output only. Time when the BatchPredictionJob was most recently updated. - * @type array|\Google\Protobuf\Internal\MapField $labels - * The labels with user-defined metadata to organize BatchPredictionJobs. - * Label keys and values can be no longer than 64 characters - * (Unicode codepoints), can only contain lowercase letters, numeric - * characters, underscores and dashes. International characters are allowed. - * See https://goo.gl/xmQnxf for more information and examples of labels. - * @type \Google\Cloud\AIPlatform\V1\EncryptionSpec $encryption_spec - * Customer-managed encryption key options for a BatchPredictionJob. If this - * is set, then all resources created by the BatchPredictionJob will be - * encrypted with the provided encryption key. - * @type bool $disable_container_logging - * For custom-trained Models and AutoML Tabular Models, the container of the - * DeployedModel instances will send `stderr` and `stdout` streams to - * Cloud Logging by default. Please note that the logs incur cost, - * which are subject to [Cloud Logging - * pricing](https://cloud.google.com/logging/pricing). - * User can disable container logging by setting this flag to true. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Cloud\Aiplatform\V1\BatchPredictionJob::initOnce(); - parent::__construct($data); - } - - /** - * Output only. Resource name of the BatchPredictionJob. - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return string - */ - public function getName() - { - return $this->name; - } - - /** - * Output only. Resource name of the BatchPredictionJob. - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param string $var - * @return $this - */ - public function setName($var) - { - GPBUtil::checkString($var, True); - $this->name = $var; - - return $this; - } - - /** - * Required. The user-defined name of this BatchPredictionJob. - * - * Generated from protobuf field string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; - * @return string - */ - public function getDisplayName() - { - return $this->display_name; - } - - /** - * Required. The user-defined name of this BatchPredictionJob. - * - * Generated from protobuf field string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; - * @param string $var - * @return $this - */ - public function setDisplayName($var) - { - GPBUtil::checkString($var, True); - $this->display_name = $var; - - return $this; - } - - /** - * The name of the Model resource that produces the predictions via this job, - * must share the same ancestor Location. - * Starting this job has no impact on any existing deployments of the Model - * and their resources. - * Exactly one of model and unmanaged_container_model must be set. - * The model resource name may contain version id or version alias to specify - * the version. - * Example: `projects/{project}/locations/{location}/models/{model}@2` - * or - * `projects/{project}/locations/{location}/models/{model}@golden` - * if no version is specified, the default version will be deployed. - * The model resource could also be a publisher model. - * Example: `publishers/{publisher}/models/{model}` - * or - * `projects/{project}/locations/{location}/publishers/{publisher}/models/{model}` - * - * Generated from protobuf field string model = 3 [(.google.api.resource_reference) = { - * @return string - */ - public function getModel() - { - return $this->model; - } - - /** - * The name of the Model resource that produces the predictions via this job, - * must share the same ancestor Location. - * Starting this job has no impact on any existing deployments of the Model - * and their resources. - * Exactly one of model and unmanaged_container_model must be set. - * The model resource name may contain version id or version alias to specify - * the version. - * Example: `projects/{project}/locations/{location}/models/{model}@2` - * or - * `projects/{project}/locations/{location}/models/{model}@golden` - * if no version is specified, the default version will be deployed. - * The model resource could also be a publisher model. - * Example: `publishers/{publisher}/models/{model}` - * or - * `projects/{project}/locations/{location}/publishers/{publisher}/models/{model}` - * - * Generated from protobuf field string model = 3 [(.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setModel($var) - { - GPBUtil::checkString($var, True); - $this->model = $var; - - return $this; - } - - /** - * Output only. The version ID of the Model that produces the predictions via - * this job. - * - * Generated from protobuf field string model_version_id = 30 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return string - */ - public function getModelVersionId() - { - return $this->model_version_id; - } - - /** - * Output only. The version ID of the Model that produces the predictions via - * this job. - * - * Generated from protobuf field string model_version_id = 30 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param string $var - * @return $this - */ - public function setModelVersionId($var) - { - GPBUtil::checkString($var, True); - $this->model_version_id = $var; - - return $this; - } - - /** - * Contains model information necessary to perform batch prediction without - * requiring uploading to model registry. - * Exactly one of model and unmanaged_container_model must be set. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.UnmanagedContainerModel unmanaged_container_model = 28; - * @return \Google\Cloud\AIPlatform\V1\UnmanagedContainerModel|null - */ - public function getUnmanagedContainerModel() - { - return $this->unmanaged_container_model; - } - - public function hasUnmanagedContainerModel() - { - return isset($this->unmanaged_container_model); - } - - public function clearUnmanagedContainerModel() - { - unset($this->unmanaged_container_model); - } - - /** - * Contains model information necessary to perform batch prediction without - * requiring uploading to model registry. - * Exactly one of model and unmanaged_container_model must be set. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.UnmanagedContainerModel unmanaged_container_model = 28; - * @param \Google\Cloud\AIPlatform\V1\UnmanagedContainerModel $var - * @return $this - */ - public function setUnmanagedContainerModel($var) - { - GPBUtil::checkMessage($var, \Google\Cloud\AIPlatform\V1\UnmanagedContainerModel::class); - $this->unmanaged_container_model = $var; - - return $this; - } - - /** - * Required. Input configuration of the instances on which predictions are - * performed. The schema of any single instance may be specified via the - * [Model's][google.cloud.aiplatform.v1.BatchPredictionJob.model] - * [PredictSchemata's][google.cloud.aiplatform.v1.Model.predict_schemata] - * [instance_schema_uri][google.cloud.aiplatform.v1.PredictSchemata.instance_schema_uri]. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.BatchPredictionJob.InputConfig input_config = 4 [(.google.api.field_behavior) = REQUIRED]; - * @return \Google\Cloud\AIPlatform\V1\BatchPredictionJob\InputConfig|null - */ - public function getInputConfig() - { - return $this->input_config; - } - - public function hasInputConfig() - { - return isset($this->input_config); - } - - public function clearInputConfig() - { - unset($this->input_config); - } - - /** - * Required. Input configuration of the instances on which predictions are - * performed. The schema of any single instance may be specified via the - * [Model's][google.cloud.aiplatform.v1.BatchPredictionJob.model] - * [PredictSchemata's][google.cloud.aiplatform.v1.Model.predict_schemata] - * [instance_schema_uri][google.cloud.aiplatform.v1.PredictSchemata.instance_schema_uri]. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.BatchPredictionJob.InputConfig input_config = 4 [(.google.api.field_behavior) = REQUIRED]; - * @param \Google\Cloud\AIPlatform\V1\BatchPredictionJob\InputConfig $var - * @return $this - */ - public function setInputConfig($var) - { - GPBUtil::checkMessage($var, \Google\Cloud\AIPlatform\V1\BatchPredictionJob\InputConfig::class); - $this->input_config = $var; - - return $this; - } - - /** - * Configuration for how to convert batch prediction input instances to the - * prediction instances that are sent to the Model. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.BatchPredictionJob.InstanceConfig instance_config = 27; - * @return \Google\Cloud\AIPlatform\V1\BatchPredictionJob\InstanceConfig|null - */ - public function getInstanceConfig() - { - return $this->instance_config; - } - - public function hasInstanceConfig() - { - return isset($this->instance_config); - } - - public function clearInstanceConfig() - { - unset($this->instance_config); - } - - /** - * Configuration for how to convert batch prediction input instances to the - * prediction instances that are sent to the Model. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.BatchPredictionJob.InstanceConfig instance_config = 27; - * @param \Google\Cloud\AIPlatform\V1\BatchPredictionJob\InstanceConfig $var - * @return $this - */ - public function setInstanceConfig($var) - { - GPBUtil::checkMessage($var, \Google\Cloud\AIPlatform\V1\BatchPredictionJob\InstanceConfig::class); - $this->instance_config = $var; - - return $this; - } - - /** - * The parameters that govern the predictions. The schema of the parameters - * may be specified via the - * [Model's][google.cloud.aiplatform.v1.BatchPredictionJob.model] - * [PredictSchemata's][google.cloud.aiplatform.v1.Model.predict_schemata] - * [parameters_schema_uri][google.cloud.aiplatform.v1.PredictSchemata.parameters_schema_uri]. - * - * Generated from protobuf field .google.protobuf.Value model_parameters = 5; - * @return \Google\Protobuf\Value|null - */ - public function getModelParameters() - { - return $this->model_parameters; - } - - public function hasModelParameters() - { - return isset($this->model_parameters); - } - - public function clearModelParameters() - { - unset($this->model_parameters); - } - - /** - * The parameters that govern the predictions. The schema of the parameters - * may be specified via the - * [Model's][google.cloud.aiplatform.v1.BatchPredictionJob.model] - * [PredictSchemata's][google.cloud.aiplatform.v1.Model.predict_schemata] - * [parameters_schema_uri][google.cloud.aiplatform.v1.PredictSchemata.parameters_schema_uri]. - * - * Generated from protobuf field .google.protobuf.Value model_parameters = 5; - * @param \Google\Protobuf\Value $var - * @return $this - */ - public function setModelParameters($var) - { - GPBUtil::checkMessage($var, \Google\Protobuf\Value::class); - $this->model_parameters = $var; - - return $this; - } - - /** - * Required. The Configuration specifying where output predictions should - * be written. - * The schema of any single prediction may be specified as a concatenation - * of [Model's][google.cloud.aiplatform.v1.BatchPredictionJob.model] - * [PredictSchemata's][google.cloud.aiplatform.v1.Model.predict_schemata] - * [instance_schema_uri][google.cloud.aiplatform.v1.PredictSchemata.instance_schema_uri] - * and - * [prediction_schema_uri][google.cloud.aiplatform.v1.PredictSchemata.prediction_schema_uri]. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.BatchPredictionJob.OutputConfig output_config = 6 [(.google.api.field_behavior) = REQUIRED]; - * @return \Google\Cloud\AIPlatform\V1\BatchPredictionJob\OutputConfig|null - */ - public function getOutputConfig() - { - return $this->output_config; - } - - public function hasOutputConfig() - { - return isset($this->output_config); - } - - public function clearOutputConfig() - { - unset($this->output_config); - } - - /** - * Required. The Configuration specifying where output predictions should - * be written. - * The schema of any single prediction may be specified as a concatenation - * of [Model's][google.cloud.aiplatform.v1.BatchPredictionJob.model] - * [PredictSchemata's][google.cloud.aiplatform.v1.Model.predict_schemata] - * [instance_schema_uri][google.cloud.aiplatform.v1.PredictSchemata.instance_schema_uri] - * and - * [prediction_schema_uri][google.cloud.aiplatform.v1.PredictSchemata.prediction_schema_uri]. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.BatchPredictionJob.OutputConfig output_config = 6 [(.google.api.field_behavior) = REQUIRED]; - * @param \Google\Cloud\AIPlatform\V1\BatchPredictionJob\OutputConfig $var - * @return $this - */ - public function setOutputConfig($var) - { - GPBUtil::checkMessage($var, \Google\Cloud\AIPlatform\V1\BatchPredictionJob\OutputConfig::class); - $this->output_config = $var; - - return $this; - } - - /** - * The config of resources used by the Model during the batch prediction. If - * the Model - * [supports][google.cloud.aiplatform.v1.Model.supported_deployment_resources_types] - * DEDICATED_RESOURCES this config may be provided (and the job will use these - * resources), if the Model doesn't support AUTOMATIC_RESOURCES, this config - * must be provided. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.BatchDedicatedResources dedicated_resources = 7; - * @return \Google\Cloud\AIPlatform\V1\BatchDedicatedResources|null - */ - public function getDedicatedResources() - { - return $this->dedicated_resources; - } - - public function hasDedicatedResources() - { - return isset($this->dedicated_resources); - } - - public function clearDedicatedResources() - { - unset($this->dedicated_resources); - } - - /** - * The config of resources used by the Model during the batch prediction. If - * the Model - * [supports][google.cloud.aiplatform.v1.Model.supported_deployment_resources_types] - * DEDICATED_RESOURCES this config may be provided (and the job will use these - * resources), if the Model doesn't support AUTOMATIC_RESOURCES, this config - * must be provided. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.BatchDedicatedResources dedicated_resources = 7; - * @param \Google\Cloud\AIPlatform\V1\BatchDedicatedResources $var - * @return $this - */ - public function setDedicatedResources($var) - { - GPBUtil::checkMessage($var, \Google\Cloud\AIPlatform\V1\BatchDedicatedResources::class); - $this->dedicated_resources = $var; - - return $this; - } - - /** - * The service account that the DeployedModel's container runs as. If not - * specified, a system generated one will be used, which - * has minimal permissions and the custom container, if used, may not have - * enough permission to access other Google Cloud resources. - * Users deploying the Model must have the `iam.serviceAccounts.actAs` - * permission on this service account. - * - * Generated from protobuf field string service_account = 29; - * @return string - */ - public function getServiceAccount() - { - return $this->service_account; - } - - /** - * The service account that the DeployedModel's container runs as. If not - * specified, a system generated one will be used, which - * has minimal permissions and the custom container, if used, may not have - * enough permission to access other Google Cloud resources. - * Users deploying the Model must have the `iam.serviceAccounts.actAs` - * permission on this service account. - * - * Generated from protobuf field string service_account = 29; - * @param string $var - * @return $this - */ - public function setServiceAccount($var) - { - GPBUtil::checkString($var, True); - $this->service_account = $var; - - return $this; - } - - /** - * Immutable. Parameters configuring the batch behavior. Currently only - * applicable when - * [dedicated_resources][google.cloud.aiplatform.v1.BatchPredictionJob.dedicated_resources] - * are used (in other cases Vertex AI does the tuning itself). - * - * Generated from protobuf field .google.cloud.aiplatform.v1.ManualBatchTuningParameters manual_batch_tuning_parameters = 8 [(.google.api.field_behavior) = IMMUTABLE]; - * @return \Google\Cloud\AIPlatform\V1\ManualBatchTuningParameters|null - */ - public function getManualBatchTuningParameters() - { - return $this->manual_batch_tuning_parameters; - } - - public function hasManualBatchTuningParameters() - { - return isset($this->manual_batch_tuning_parameters); - } - - public function clearManualBatchTuningParameters() - { - unset($this->manual_batch_tuning_parameters); - } - - /** - * Immutable. Parameters configuring the batch behavior. Currently only - * applicable when - * [dedicated_resources][google.cloud.aiplatform.v1.BatchPredictionJob.dedicated_resources] - * are used (in other cases Vertex AI does the tuning itself). - * - * Generated from protobuf field .google.cloud.aiplatform.v1.ManualBatchTuningParameters manual_batch_tuning_parameters = 8 [(.google.api.field_behavior) = IMMUTABLE]; - * @param \Google\Cloud\AIPlatform\V1\ManualBatchTuningParameters $var - * @return $this - */ - public function setManualBatchTuningParameters($var) - { - GPBUtil::checkMessage($var, \Google\Cloud\AIPlatform\V1\ManualBatchTuningParameters::class); - $this->manual_batch_tuning_parameters = $var; - - return $this; - } - - /** - * Generate explanation with the batch prediction results. - * When set to `true`, the batch prediction output changes based on the - * `predictions_format` field of the - * [BatchPredictionJob.output_config][google.cloud.aiplatform.v1.BatchPredictionJob.output_config] - * object: - * * `bigquery`: output includes a column named `explanation`. The value - * is a struct that conforms to the - * [Explanation][google.cloud.aiplatform.v1.Explanation] object. - * * `jsonl`: The JSON objects on each line include an additional entry - * keyed `explanation`. The value of the entry is a JSON object that - * conforms to the [Explanation][google.cloud.aiplatform.v1.Explanation] - * object. - * * `csv`: Generating explanations for CSV format is not supported. - * If this field is set to true, either the - * [Model.explanation_spec][google.cloud.aiplatform.v1.Model.explanation_spec] - * or - * [explanation_spec][google.cloud.aiplatform.v1.BatchPredictionJob.explanation_spec] - * must be populated. - * - * Generated from protobuf field bool generate_explanation = 23; - * @return bool - */ - public function getGenerateExplanation() - { - return $this->generate_explanation; - } - - /** - * Generate explanation with the batch prediction results. - * When set to `true`, the batch prediction output changes based on the - * `predictions_format` field of the - * [BatchPredictionJob.output_config][google.cloud.aiplatform.v1.BatchPredictionJob.output_config] - * object: - * * `bigquery`: output includes a column named `explanation`. The value - * is a struct that conforms to the - * [Explanation][google.cloud.aiplatform.v1.Explanation] object. - * * `jsonl`: The JSON objects on each line include an additional entry - * keyed `explanation`. The value of the entry is a JSON object that - * conforms to the [Explanation][google.cloud.aiplatform.v1.Explanation] - * object. - * * `csv`: Generating explanations for CSV format is not supported. - * If this field is set to true, either the - * [Model.explanation_spec][google.cloud.aiplatform.v1.Model.explanation_spec] - * or - * [explanation_spec][google.cloud.aiplatform.v1.BatchPredictionJob.explanation_spec] - * must be populated. - * - * Generated from protobuf field bool generate_explanation = 23; - * @param bool $var - * @return $this - */ - public function setGenerateExplanation($var) - { - GPBUtil::checkBool($var); - $this->generate_explanation = $var; - - return $this; - } - - /** - * Explanation configuration for this BatchPredictionJob. Can be - * specified only if - * [generate_explanation][google.cloud.aiplatform.v1.BatchPredictionJob.generate_explanation] - * is set to `true`. - * This value overrides the value of - * [Model.explanation_spec][google.cloud.aiplatform.v1.Model.explanation_spec]. - * All fields of - * [explanation_spec][google.cloud.aiplatform.v1.BatchPredictionJob.explanation_spec] - * are optional in the request. If a field of the - * [explanation_spec][google.cloud.aiplatform.v1.BatchPredictionJob.explanation_spec] - * object is not populated, the corresponding field of the - * [Model.explanation_spec][google.cloud.aiplatform.v1.Model.explanation_spec] - * object is inherited. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.ExplanationSpec explanation_spec = 25; - * @return \Google\Cloud\AIPlatform\V1\ExplanationSpec|null - */ - public function getExplanationSpec() - { - return $this->explanation_spec; - } - - public function hasExplanationSpec() - { - return isset($this->explanation_spec); - } - - public function clearExplanationSpec() - { - unset($this->explanation_spec); - } - - /** - * Explanation configuration for this BatchPredictionJob. Can be - * specified only if - * [generate_explanation][google.cloud.aiplatform.v1.BatchPredictionJob.generate_explanation] - * is set to `true`. - * This value overrides the value of - * [Model.explanation_spec][google.cloud.aiplatform.v1.Model.explanation_spec]. - * All fields of - * [explanation_spec][google.cloud.aiplatform.v1.BatchPredictionJob.explanation_spec] - * are optional in the request. If a field of the - * [explanation_spec][google.cloud.aiplatform.v1.BatchPredictionJob.explanation_spec] - * object is not populated, the corresponding field of the - * [Model.explanation_spec][google.cloud.aiplatform.v1.Model.explanation_spec] - * object is inherited. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.ExplanationSpec explanation_spec = 25; - * @param \Google\Cloud\AIPlatform\V1\ExplanationSpec $var - * @return $this - */ - public function setExplanationSpec($var) - { - GPBUtil::checkMessage($var, \Google\Cloud\AIPlatform\V1\ExplanationSpec::class); - $this->explanation_spec = $var; - - return $this; - } - - /** - * Output only. Information further describing the output of this job. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.BatchPredictionJob.OutputInfo output_info = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return \Google\Cloud\AIPlatform\V1\BatchPredictionJob\OutputInfo|null - */ - public function getOutputInfo() - { - return $this->output_info; - } - - public function hasOutputInfo() - { - return isset($this->output_info); - } - - public function clearOutputInfo() - { - unset($this->output_info); - } - - /** - * Output only. Information further describing the output of this job. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.BatchPredictionJob.OutputInfo output_info = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param \Google\Cloud\AIPlatform\V1\BatchPredictionJob\OutputInfo $var - * @return $this - */ - public function setOutputInfo($var) - { - GPBUtil::checkMessage($var, \Google\Cloud\AIPlatform\V1\BatchPredictionJob\OutputInfo::class); - $this->output_info = $var; - - return $this; - } - - /** - * Output only. The detailed state of the job. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.JobState state = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return int - */ - public function getState() - { - return $this->state; - } - - /** - * Output only. The detailed state of the job. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.JobState state = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param int $var - * @return $this - */ - public function setState($var) - { - GPBUtil::checkEnum($var, \Google\Cloud\AIPlatform\V1\JobState::class); - $this->state = $var; - - return $this; - } - - /** - * Output only. Only populated when the job's state is JOB_STATE_FAILED or - * JOB_STATE_CANCELLED. - * - * Generated from protobuf field .google.rpc.Status error = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return \Google\Rpc\Status|null - */ - public function getError() - { - return $this->error; - } - - public function hasError() - { - return isset($this->error); - } - - public function clearError() - { - unset($this->error); - } - - /** - * Output only. Only populated when the job's state is JOB_STATE_FAILED or - * JOB_STATE_CANCELLED. - * - * Generated from protobuf field .google.rpc.Status error = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param \Google\Rpc\Status $var - * @return $this - */ - public function setError($var) - { - GPBUtil::checkMessage($var, \Google\Rpc\Status::class); - $this->error = $var; - - return $this; - } - - /** - * Output only. Partial failures encountered. - * For example, single files that can't be read. - * This field never exceeds 20 entries. - * Status details fields contain standard Google Cloud error details. - * - * Generated from protobuf field repeated .google.rpc.Status partial_failures = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getPartialFailures() - { - return $this->partial_failures; - } - - /** - * Output only. Partial failures encountered. - * For example, single files that can't be read. - * This field never exceeds 20 entries. - * Status details fields contain standard Google Cloud error details. - * - * Generated from protobuf field repeated .google.rpc.Status partial_failures = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param array<\Google\Rpc\Status>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setPartialFailures($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Rpc\Status::class); - $this->partial_failures = $arr; - - return $this; - } - - /** - * Output only. Information about resources that had been consumed by this - * job. Provided in real time at best effort basis, as well as a final value - * once the job completes. - * Note: This field currently may be not populated for batch predictions that - * use AutoML Models. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.ResourcesConsumed resources_consumed = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return \Google\Cloud\AIPlatform\V1\ResourcesConsumed|null - */ - public function getResourcesConsumed() - { - return $this->resources_consumed; - } - - public function hasResourcesConsumed() - { - return isset($this->resources_consumed); - } - - public function clearResourcesConsumed() - { - unset($this->resources_consumed); - } - - /** - * Output only. Information about resources that had been consumed by this - * job. Provided in real time at best effort basis, as well as a final value - * once the job completes. - * Note: This field currently may be not populated for batch predictions that - * use AutoML Models. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.ResourcesConsumed resources_consumed = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param \Google\Cloud\AIPlatform\V1\ResourcesConsumed $var - * @return $this - */ - public function setResourcesConsumed($var) - { - GPBUtil::checkMessage($var, \Google\Cloud\AIPlatform\V1\ResourcesConsumed::class); - $this->resources_consumed = $var; - - return $this; - } - - /** - * Output only. Statistics on completed and failed prediction instances. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.CompletionStats completion_stats = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return \Google\Cloud\AIPlatform\V1\CompletionStats|null - */ - public function getCompletionStats() - { - return $this->completion_stats; - } - - public function hasCompletionStats() - { - return isset($this->completion_stats); - } - - public function clearCompletionStats() - { - unset($this->completion_stats); - } - - /** - * Output only. Statistics on completed and failed prediction instances. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.CompletionStats completion_stats = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param \Google\Cloud\AIPlatform\V1\CompletionStats $var - * @return $this - */ - public function setCompletionStats($var) - { - GPBUtil::checkMessage($var, \Google\Cloud\AIPlatform\V1\CompletionStats::class); - $this->completion_stats = $var; - - return $this; - } - - /** - * Output only. Time when the BatchPredictionJob was created. - * - * Generated from protobuf field .google.protobuf.Timestamp create_time = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return \Google\Protobuf\Timestamp|null - */ - public function getCreateTime() - { - return $this->create_time; - } - - public function hasCreateTime() - { - return isset($this->create_time); - } - - public function clearCreateTime() - { - unset($this->create_time); - } - - /** - * Output only. Time when the BatchPredictionJob was created. - * - * Generated from protobuf field .google.protobuf.Timestamp create_time = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param \Google\Protobuf\Timestamp $var - * @return $this - */ - public function setCreateTime($var) - { - GPBUtil::checkMessage($var, \Google\Protobuf\Timestamp::class); - $this->create_time = $var; - - return $this; - } - - /** - * Output only. Time when the BatchPredictionJob for the first time entered - * the `JOB_STATE_RUNNING` state. - * - * Generated from protobuf field .google.protobuf.Timestamp start_time = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return \Google\Protobuf\Timestamp|null - */ - public function getStartTime() - { - return $this->start_time; - } - - public function hasStartTime() - { - return isset($this->start_time); - } - - public function clearStartTime() - { - unset($this->start_time); - } - - /** - * Output only. Time when the BatchPredictionJob for the first time entered - * the `JOB_STATE_RUNNING` state. - * - * Generated from protobuf field .google.protobuf.Timestamp start_time = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param \Google\Protobuf\Timestamp $var - * @return $this - */ - public function setStartTime($var) - { - GPBUtil::checkMessage($var, \Google\Protobuf\Timestamp::class); - $this->start_time = $var; - - return $this; - } - - /** - * Output only. Time when the BatchPredictionJob entered any of the following - * states: `JOB_STATE_SUCCEEDED`, `JOB_STATE_FAILED`, `JOB_STATE_CANCELLED`. - * - * Generated from protobuf field .google.protobuf.Timestamp end_time = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return \Google\Protobuf\Timestamp|null - */ - public function getEndTime() - { - return $this->end_time; - } - - public function hasEndTime() - { - return isset($this->end_time); - } - - public function clearEndTime() - { - unset($this->end_time); - } - - /** - * Output only. Time when the BatchPredictionJob entered any of the following - * states: `JOB_STATE_SUCCEEDED`, `JOB_STATE_FAILED`, `JOB_STATE_CANCELLED`. - * - * Generated from protobuf field .google.protobuf.Timestamp end_time = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param \Google\Protobuf\Timestamp $var - * @return $this - */ - public function setEndTime($var) - { - GPBUtil::checkMessage($var, \Google\Protobuf\Timestamp::class); - $this->end_time = $var; - - return $this; - } - - /** - * Output only. Time when the BatchPredictionJob was most recently updated. - * - * Generated from protobuf field .google.protobuf.Timestamp update_time = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return \Google\Protobuf\Timestamp|null - */ - public function getUpdateTime() - { - return $this->update_time; - } - - public function hasUpdateTime() - { - return isset($this->update_time); - } - - public function clearUpdateTime() - { - unset($this->update_time); - } - - /** - * Output only. Time when the BatchPredictionJob was most recently updated. - * - * Generated from protobuf field .google.protobuf.Timestamp update_time = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param \Google\Protobuf\Timestamp $var - * @return $this - */ - public function setUpdateTime($var) - { - GPBUtil::checkMessage($var, \Google\Protobuf\Timestamp::class); - $this->update_time = $var; - - return $this; - } - - /** - * The labels with user-defined metadata to organize BatchPredictionJobs. - * Label keys and values can be no longer than 64 characters - * (Unicode codepoints), can only contain lowercase letters, numeric - * characters, underscores and dashes. International characters are allowed. - * See https://goo.gl/xmQnxf for more information and examples of labels. - * - * Generated from protobuf field map labels = 19; - * @return \Google\Protobuf\Internal\MapField - */ - public function getLabels() - { - return $this->labels; - } - - /** - * The labels with user-defined metadata to organize BatchPredictionJobs. - * Label keys and values can be no longer than 64 characters - * (Unicode codepoints), can only contain lowercase letters, numeric - * characters, underscores and dashes. International characters are allowed. - * See https://goo.gl/xmQnxf for more information and examples of labels. - * - * Generated from protobuf field map labels = 19; - * @param array|\Google\Protobuf\Internal\MapField $var - * @return $this - */ - public function setLabels($var) - { - $arr = GPBUtil::checkMapField($var, \Google\Protobuf\Internal\GPBType::STRING, \Google\Protobuf\Internal\GPBType::STRING); - $this->labels = $arr; - - return $this; - } - - /** - * Customer-managed encryption key options for a BatchPredictionJob. If this - * is set, then all resources created by the BatchPredictionJob will be - * encrypted with the provided encryption key. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.EncryptionSpec encryption_spec = 24; - * @return \Google\Cloud\AIPlatform\V1\EncryptionSpec|null - */ - public function getEncryptionSpec() - { - return $this->encryption_spec; - } - - public function hasEncryptionSpec() - { - return isset($this->encryption_spec); - } - - public function clearEncryptionSpec() - { - unset($this->encryption_spec); - } - - /** - * Customer-managed encryption key options for a BatchPredictionJob. If this - * is set, then all resources created by the BatchPredictionJob will be - * encrypted with the provided encryption key. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.EncryptionSpec encryption_spec = 24; - * @param \Google\Cloud\AIPlatform\V1\EncryptionSpec $var - * @return $this - */ - public function setEncryptionSpec($var) - { - GPBUtil::checkMessage($var, \Google\Cloud\AIPlatform\V1\EncryptionSpec::class); - $this->encryption_spec = $var; - - return $this; - } - - /** - * For custom-trained Models and AutoML Tabular Models, the container of the - * DeployedModel instances will send `stderr` and `stdout` streams to - * Cloud Logging by default. Please note that the logs incur cost, - * which are subject to [Cloud Logging - * pricing](https://cloud.google.com/logging/pricing). - * User can disable container logging by setting this flag to true. - * - * Generated from protobuf field bool disable_container_logging = 34; - * @return bool - */ - public function getDisableContainerLogging() - { - return $this->disable_container_logging; - } - - /** - * For custom-trained Models and AutoML Tabular Models, the container of the - * DeployedModel instances will send `stderr` and `stdout` streams to - * Cloud Logging by default. Please note that the logs incur cost, - * which are subject to [Cloud Logging - * pricing](https://cloud.google.com/logging/pricing). - * User can disable container logging by setting this flag to true. - * - * Generated from protobuf field bool disable_container_logging = 34; - * @param bool $var - * @return $this - */ - public function setDisableContainerLogging($var) - { - GPBUtil::checkBool($var); - $this->disable_container_logging = $var; - - return $this; - } - -} - diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/BatchPredictionJob/InputConfig.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/BatchPredictionJob/InputConfig.php deleted file mode 100644 index 9a5547973e1f..000000000000 --- a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/BatchPredictionJob/InputConfig.php +++ /dev/null @@ -1,169 +0,0 @@ -google.cloud.aiplatform.v1.BatchPredictionJob.InputConfig - */ -class InputConfig extends \Google\Protobuf\Internal\Message -{ - /** - * Required. The format in which instances are given, must be one of the - * [Model's][google.cloud.aiplatform.v1.BatchPredictionJob.model] - * [supported_input_storage_formats][google.cloud.aiplatform.v1.Model.supported_input_storage_formats]. - * - * Generated from protobuf field string instances_format = 1 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $instances_format = ''; - protected $source; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type \Google\Cloud\AIPlatform\V1\GcsSource $gcs_source - * The Cloud Storage location for the input instances. - * @type \Google\Cloud\AIPlatform\V1\BigQuerySource $bigquery_source - * The BigQuery location of the input table. - * The schema of the table should be in the format described by the given - * context OpenAPI Schema, if one is provided. The table may contain - * additional columns that are not described by the schema, and they will - * be ignored. - * @type string $instances_format - * Required. The format in which instances are given, must be one of the - * [Model's][google.cloud.aiplatform.v1.BatchPredictionJob.model] - * [supported_input_storage_formats][google.cloud.aiplatform.v1.Model.supported_input_storage_formats]. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Cloud\Aiplatform\V1\BatchPredictionJob::initOnce(); - parent::__construct($data); - } - - /** - * The Cloud Storage location for the input instances. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.GcsSource gcs_source = 2; - * @return \Google\Cloud\AIPlatform\V1\GcsSource|null - */ - public function getGcsSource() - { - return $this->readOneof(2); - } - - public function hasGcsSource() - { - return $this->hasOneof(2); - } - - /** - * The Cloud Storage location for the input instances. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.GcsSource gcs_source = 2; - * @param \Google\Cloud\AIPlatform\V1\GcsSource $var - * @return $this - */ - public function setGcsSource($var) - { - GPBUtil::checkMessage($var, \Google\Cloud\AIPlatform\V1\GcsSource::class); - $this->writeOneof(2, $var); - - return $this; - } - - /** - * The BigQuery location of the input table. - * The schema of the table should be in the format described by the given - * context OpenAPI Schema, if one is provided. The table may contain - * additional columns that are not described by the schema, and they will - * be ignored. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.BigQuerySource bigquery_source = 3; - * @return \Google\Cloud\AIPlatform\V1\BigQuerySource|null - */ - public function getBigquerySource() - { - return $this->readOneof(3); - } - - public function hasBigquerySource() - { - return $this->hasOneof(3); - } - - /** - * The BigQuery location of the input table. - * The schema of the table should be in the format described by the given - * context OpenAPI Schema, if one is provided. The table may contain - * additional columns that are not described by the schema, and they will - * be ignored. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.BigQuerySource bigquery_source = 3; - * @param \Google\Cloud\AIPlatform\V1\BigQuerySource $var - * @return $this - */ - public function setBigquerySource($var) - { - GPBUtil::checkMessage($var, \Google\Cloud\AIPlatform\V1\BigQuerySource::class); - $this->writeOneof(3, $var); - - return $this; - } - - /** - * Required. The format in which instances are given, must be one of the - * [Model's][google.cloud.aiplatform.v1.BatchPredictionJob.model] - * [supported_input_storage_formats][google.cloud.aiplatform.v1.Model.supported_input_storage_formats]. - * - * Generated from protobuf field string instances_format = 1 [(.google.api.field_behavior) = REQUIRED]; - * @return string - */ - public function getInstancesFormat() - { - return $this->instances_format; - } - - /** - * Required. The format in which instances are given, must be one of the - * [Model's][google.cloud.aiplatform.v1.BatchPredictionJob.model] - * [supported_input_storage_formats][google.cloud.aiplatform.v1.Model.supported_input_storage_formats]. - * - * Generated from protobuf field string instances_format = 1 [(.google.api.field_behavior) = REQUIRED]; - * @param string $var - * @return $this - */ - public function setInstancesFormat($var) - { - GPBUtil::checkString($var, True); - $this->instances_format = $var; - - return $this; - } - - /** - * @return string - */ - public function getSource() - { - return $this->whichOneof("source"); - } - -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(InputConfig::class, \Google\Cloud\AIPlatform\V1\BatchPredictionJob_InputConfig::class); - diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/BatchPredictionJob/InstanceConfig.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/BatchPredictionJob/InstanceConfig.php deleted file mode 100644 index 84d4b665edfe..000000000000 --- a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/BatchPredictionJob/InstanceConfig.php +++ /dev/null @@ -1,445 +0,0 @@ -google.cloud.aiplatform.v1.BatchPredictionJob.InstanceConfig - */ -class InstanceConfig extends \Google\Protobuf\Internal\Message -{ - /** - * The format of the instance that the Model accepts. Vertex AI will - * convert compatible - * [batch prediction input instance - * formats][google.cloud.aiplatform.v1.BatchPredictionJob.InputConfig.instances_format] - * to the specified format. - * Supported values are: - * * `object`: Each input is converted to JSON object format. - * * For `bigquery`, each row is converted to an object. - * * For `jsonl`, each line of the JSONL input must be an object. - * * Does not apply to `csv`, `file-list`, `tf-record`, or - * `tf-record-gzip`. - * * `array`: Each input is converted to JSON array format. - * * For `bigquery`, each row is converted to an array. The order - * of columns is determined by the BigQuery column order, unless - * [included_fields][google.cloud.aiplatform.v1.BatchPredictionJob.InstanceConfig.included_fields] - * is populated. - * [included_fields][google.cloud.aiplatform.v1.BatchPredictionJob.InstanceConfig.included_fields] - * must be populated for specifying field orders. - * * For `jsonl`, if each line of the JSONL input is an object, - * [included_fields][google.cloud.aiplatform.v1.BatchPredictionJob.InstanceConfig.included_fields] - * must be populated for specifying field orders. - * * Does not apply to `csv`, `file-list`, `tf-record`, or - * `tf-record-gzip`. - * If not specified, Vertex AI converts the batch prediction input as - * follows: - * * For `bigquery` and `csv`, the behavior is the same as `array`. The - * order of columns is the same as defined in the file or table, unless - * [included_fields][google.cloud.aiplatform.v1.BatchPredictionJob.InstanceConfig.included_fields] - * is populated. - * * For `jsonl`, the prediction instance format is determined by - * each line of the input. - * * For `tf-record`/`tf-record-gzip`, each record will be converted to - * an object in the format of `{"b64": }`, where `` is - * the Base64-encoded string of the content of the record. - * * For `file-list`, each file in the list will be converted to an - * object in the format of `{"b64": }`, where `` is - * the Base64-encoded string of the content of the file. - * - * Generated from protobuf field string instance_type = 1; - */ - protected $instance_type = ''; - /** - * The name of the field that is considered as a key. - * The values identified by the key field is not included in the transformed - * instances that is sent to the Model. This is similar to - * specifying this name of the field in - * [excluded_fields][google.cloud.aiplatform.v1.BatchPredictionJob.InstanceConfig.excluded_fields]. - * In addition, the batch prediction output will not include the instances. - * Instead the output will only include the value of the key field, in a - * field named `key` in the output: - * * For `jsonl` output format, the output will have a `key` field - * instead of the `instance` field. - * * For `csv`/`bigquery` output format, the output will have have a `key` - * column instead of the instance feature columns. - * The input must be JSONL with objects at each line, CSV, BigQuery - * or TfRecord. - * - * Generated from protobuf field string key_field = 2; - */ - protected $key_field = ''; - /** - * Fields that will be included in the prediction instance that is - * sent to the Model. - * If - * [instance_type][google.cloud.aiplatform.v1.BatchPredictionJob.InstanceConfig.instance_type] - * is `array`, the order of field names in included_fields also determines - * the order of the values in the array. - * When included_fields is populated, - * [excluded_fields][google.cloud.aiplatform.v1.BatchPredictionJob.InstanceConfig.excluded_fields] - * must be empty. - * The input must be JSONL with objects at each line, BigQuery - * or TfRecord. - * - * Generated from protobuf field repeated string included_fields = 3; - */ - private $included_fields; - /** - * Fields that will be excluded in the prediction instance that is - * sent to the Model. - * Excluded will be attached to the batch prediction output if - * [key_field][google.cloud.aiplatform.v1.BatchPredictionJob.InstanceConfig.key_field] - * is not specified. - * When excluded_fields is populated, - * [included_fields][google.cloud.aiplatform.v1.BatchPredictionJob.InstanceConfig.included_fields] - * must be empty. - * The input must be JSONL with objects at each line, BigQuery - * or TfRecord. - * - * Generated from protobuf field repeated string excluded_fields = 4; - */ - private $excluded_fields; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $instance_type - * The format of the instance that the Model accepts. Vertex AI will - * convert compatible - * [batch prediction input instance - * formats][google.cloud.aiplatform.v1.BatchPredictionJob.InputConfig.instances_format] - * to the specified format. - * Supported values are: - * * `object`: Each input is converted to JSON object format. - * * For `bigquery`, each row is converted to an object. - * * For `jsonl`, each line of the JSONL input must be an object. - * * Does not apply to `csv`, `file-list`, `tf-record`, or - * `tf-record-gzip`. - * * `array`: Each input is converted to JSON array format. - * * For `bigquery`, each row is converted to an array. The order - * of columns is determined by the BigQuery column order, unless - * [included_fields][google.cloud.aiplatform.v1.BatchPredictionJob.InstanceConfig.included_fields] - * is populated. - * [included_fields][google.cloud.aiplatform.v1.BatchPredictionJob.InstanceConfig.included_fields] - * must be populated for specifying field orders. - * * For `jsonl`, if each line of the JSONL input is an object, - * [included_fields][google.cloud.aiplatform.v1.BatchPredictionJob.InstanceConfig.included_fields] - * must be populated for specifying field orders. - * * Does not apply to `csv`, `file-list`, `tf-record`, or - * `tf-record-gzip`. - * If not specified, Vertex AI converts the batch prediction input as - * follows: - * * For `bigquery` and `csv`, the behavior is the same as `array`. The - * order of columns is the same as defined in the file or table, unless - * [included_fields][google.cloud.aiplatform.v1.BatchPredictionJob.InstanceConfig.included_fields] - * is populated. - * * For `jsonl`, the prediction instance format is determined by - * each line of the input. - * * For `tf-record`/`tf-record-gzip`, each record will be converted to - * an object in the format of `{"b64": }`, where `` is - * the Base64-encoded string of the content of the record. - * * For `file-list`, each file in the list will be converted to an - * object in the format of `{"b64": }`, where `` is - * the Base64-encoded string of the content of the file. - * @type string $key_field - * The name of the field that is considered as a key. - * The values identified by the key field is not included in the transformed - * instances that is sent to the Model. This is similar to - * specifying this name of the field in - * [excluded_fields][google.cloud.aiplatform.v1.BatchPredictionJob.InstanceConfig.excluded_fields]. - * In addition, the batch prediction output will not include the instances. - * Instead the output will only include the value of the key field, in a - * field named `key` in the output: - * * For `jsonl` output format, the output will have a `key` field - * instead of the `instance` field. - * * For `csv`/`bigquery` output format, the output will have have a `key` - * column instead of the instance feature columns. - * The input must be JSONL with objects at each line, CSV, BigQuery - * or TfRecord. - * @type array|\Google\Protobuf\Internal\RepeatedField $included_fields - * Fields that will be included in the prediction instance that is - * sent to the Model. - * If - * [instance_type][google.cloud.aiplatform.v1.BatchPredictionJob.InstanceConfig.instance_type] - * is `array`, the order of field names in included_fields also determines - * the order of the values in the array. - * When included_fields is populated, - * [excluded_fields][google.cloud.aiplatform.v1.BatchPredictionJob.InstanceConfig.excluded_fields] - * must be empty. - * The input must be JSONL with objects at each line, BigQuery - * or TfRecord. - * @type array|\Google\Protobuf\Internal\RepeatedField $excluded_fields - * Fields that will be excluded in the prediction instance that is - * sent to the Model. - * Excluded will be attached to the batch prediction output if - * [key_field][google.cloud.aiplatform.v1.BatchPredictionJob.InstanceConfig.key_field] - * is not specified. - * When excluded_fields is populated, - * [included_fields][google.cloud.aiplatform.v1.BatchPredictionJob.InstanceConfig.included_fields] - * must be empty. - * The input must be JSONL with objects at each line, BigQuery - * or TfRecord. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Cloud\Aiplatform\V1\BatchPredictionJob::initOnce(); - parent::__construct($data); - } - - /** - * The format of the instance that the Model accepts. Vertex AI will - * convert compatible - * [batch prediction input instance - * formats][google.cloud.aiplatform.v1.BatchPredictionJob.InputConfig.instances_format] - * to the specified format. - * Supported values are: - * * `object`: Each input is converted to JSON object format. - * * For `bigquery`, each row is converted to an object. - * * For `jsonl`, each line of the JSONL input must be an object. - * * Does not apply to `csv`, `file-list`, `tf-record`, or - * `tf-record-gzip`. - * * `array`: Each input is converted to JSON array format. - * * For `bigquery`, each row is converted to an array. The order - * of columns is determined by the BigQuery column order, unless - * [included_fields][google.cloud.aiplatform.v1.BatchPredictionJob.InstanceConfig.included_fields] - * is populated. - * [included_fields][google.cloud.aiplatform.v1.BatchPredictionJob.InstanceConfig.included_fields] - * must be populated for specifying field orders. - * * For `jsonl`, if each line of the JSONL input is an object, - * [included_fields][google.cloud.aiplatform.v1.BatchPredictionJob.InstanceConfig.included_fields] - * must be populated for specifying field orders. - * * Does not apply to `csv`, `file-list`, `tf-record`, or - * `tf-record-gzip`. - * If not specified, Vertex AI converts the batch prediction input as - * follows: - * * For `bigquery` and `csv`, the behavior is the same as `array`. The - * order of columns is the same as defined in the file or table, unless - * [included_fields][google.cloud.aiplatform.v1.BatchPredictionJob.InstanceConfig.included_fields] - * is populated. - * * For `jsonl`, the prediction instance format is determined by - * each line of the input. - * * For `tf-record`/`tf-record-gzip`, each record will be converted to - * an object in the format of `{"b64": }`, where `` is - * the Base64-encoded string of the content of the record. - * * For `file-list`, each file in the list will be converted to an - * object in the format of `{"b64": }`, where `` is - * the Base64-encoded string of the content of the file. - * - * Generated from protobuf field string instance_type = 1; - * @return string - */ - public function getInstanceType() - { - return $this->instance_type; - } - - /** - * The format of the instance that the Model accepts. Vertex AI will - * convert compatible - * [batch prediction input instance - * formats][google.cloud.aiplatform.v1.BatchPredictionJob.InputConfig.instances_format] - * to the specified format. - * Supported values are: - * * `object`: Each input is converted to JSON object format. - * * For `bigquery`, each row is converted to an object. - * * For `jsonl`, each line of the JSONL input must be an object. - * * Does not apply to `csv`, `file-list`, `tf-record`, or - * `tf-record-gzip`. - * * `array`: Each input is converted to JSON array format. - * * For `bigquery`, each row is converted to an array. The order - * of columns is determined by the BigQuery column order, unless - * [included_fields][google.cloud.aiplatform.v1.BatchPredictionJob.InstanceConfig.included_fields] - * is populated. - * [included_fields][google.cloud.aiplatform.v1.BatchPredictionJob.InstanceConfig.included_fields] - * must be populated for specifying field orders. - * * For `jsonl`, if each line of the JSONL input is an object, - * [included_fields][google.cloud.aiplatform.v1.BatchPredictionJob.InstanceConfig.included_fields] - * must be populated for specifying field orders. - * * Does not apply to `csv`, `file-list`, `tf-record`, or - * `tf-record-gzip`. - * If not specified, Vertex AI converts the batch prediction input as - * follows: - * * For `bigquery` and `csv`, the behavior is the same as `array`. The - * order of columns is the same as defined in the file or table, unless - * [included_fields][google.cloud.aiplatform.v1.BatchPredictionJob.InstanceConfig.included_fields] - * is populated. - * * For `jsonl`, the prediction instance format is determined by - * each line of the input. - * * For `tf-record`/`tf-record-gzip`, each record will be converted to - * an object in the format of `{"b64": }`, where `` is - * the Base64-encoded string of the content of the record. - * * For `file-list`, each file in the list will be converted to an - * object in the format of `{"b64": }`, where `` is - * the Base64-encoded string of the content of the file. - * - * Generated from protobuf field string instance_type = 1; - * @param string $var - * @return $this - */ - public function setInstanceType($var) - { - GPBUtil::checkString($var, True); - $this->instance_type = $var; - - return $this; - } - - /** - * The name of the field that is considered as a key. - * The values identified by the key field is not included in the transformed - * instances that is sent to the Model. This is similar to - * specifying this name of the field in - * [excluded_fields][google.cloud.aiplatform.v1.BatchPredictionJob.InstanceConfig.excluded_fields]. - * In addition, the batch prediction output will not include the instances. - * Instead the output will only include the value of the key field, in a - * field named `key` in the output: - * * For `jsonl` output format, the output will have a `key` field - * instead of the `instance` field. - * * For `csv`/`bigquery` output format, the output will have have a `key` - * column instead of the instance feature columns. - * The input must be JSONL with objects at each line, CSV, BigQuery - * or TfRecord. - * - * Generated from protobuf field string key_field = 2; - * @return string - */ - public function getKeyField() - { - return $this->key_field; - } - - /** - * The name of the field that is considered as a key. - * The values identified by the key field is not included in the transformed - * instances that is sent to the Model. This is similar to - * specifying this name of the field in - * [excluded_fields][google.cloud.aiplatform.v1.BatchPredictionJob.InstanceConfig.excluded_fields]. - * In addition, the batch prediction output will not include the instances. - * Instead the output will only include the value of the key field, in a - * field named `key` in the output: - * * For `jsonl` output format, the output will have a `key` field - * instead of the `instance` field. - * * For `csv`/`bigquery` output format, the output will have have a `key` - * column instead of the instance feature columns. - * The input must be JSONL with objects at each line, CSV, BigQuery - * or TfRecord. - * - * Generated from protobuf field string key_field = 2; - * @param string $var - * @return $this - */ - public function setKeyField($var) - { - GPBUtil::checkString($var, True); - $this->key_field = $var; - - return $this; - } - - /** - * Fields that will be included in the prediction instance that is - * sent to the Model. - * If - * [instance_type][google.cloud.aiplatform.v1.BatchPredictionJob.InstanceConfig.instance_type] - * is `array`, the order of field names in included_fields also determines - * the order of the values in the array. - * When included_fields is populated, - * [excluded_fields][google.cloud.aiplatform.v1.BatchPredictionJob.InstanceConfig.excluded_fields] - * must be empty. - * The input must be JSONL with objects at each line, BigQuery - * or TfRecord. - * - * Generated from protobuf field repeated string included_fields = 3; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getIncludedFields() - { - return $this->included_fields; - } - - /** - * Fields that will be included in the prediction instance that is - * sent to the Model. - * If - * [instance_type][google.cloud.aiplatform.v1.BatchPredictionJob.InstanceConfig.instance_type] - * is `array`, the order of field names in included_fields also determines - * the order of the values in the array. - * When included_fields is populated, - * [excluded_fields][google.cloud.aiplatform.v1.BatchPredictionJob.InstanceConfig.excluded_fields] - * must be empty. - * The input must be JSONL with objects at each line, BigQuery - * or TfRecord. - * - * Generated from protobuf field repeated string included_fields = 3; - * @param array|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setIncludedFields($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING); - $this->included_fields = $arr; - - return $this; - } - - /** - * Fields that will be excluded in the prediction instance that is - * sent to the Model. - * Excluded will be attached to the batch prediction output if - * [key_field][google.cloud.aiplatform.v1.BatchPredictionJob.InstanceConfig.key_field] - * is not specified. - * When excluded_fields is populated, - * [included_fields][google.cloud.aiplatform.v1.BatchPredictionJob.InstanceConfig.included_fields] - * must be empty. - * The input must be JSONL with objects at each line, BigQuery - * or TfRecord. - * - * Generated from protobuf field repeated string excluded_fields = 4; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getExcludedFields() - { - return $this->excluded_fields; - } - - /** - * Fields that will be excluded in the prediction instance that is - * sent to the Model. - * Excluded will be attached to the batch prediction output if - * [key_field][google.cloud.aiplatform.v1.BatchPredictionJob.InstanceConfig.key_field] - * is not specified. - * When excluded_fields is populated, - * [included_fields][google.cloud.aiplatform.v1.BatchPredictionJob.InstanceConfig.included_fields] - * must be empty. - * The input must be JSONL with objects at each line, BigQuery - * or TfRecord. - * - * Generated from protobuf field repeated string excluded_fields = 4; - * @param array|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setExcludedFields($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING); - $this->excluded_fields = $arr; - - return $this; - } - -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(InstanceConfig::class, \Google\Cloud\AIPlatform\V1\BatchPredictionJob_InstanceConfig::class); - diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/BatchPredictionJob/OutputConfig.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/BatchPredictionJob/OutputConfig.php deleted file mode 100644 index 593442b63f9b..000000000000 --- a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/BatchPredictionJob/OutputConfig.php +++ /dev/null @@ -1,277 +0,0 @@ -google.cloud.aiplatform.v1.BatchPredictionJob.OutputConfig - */ -class OutputConfig extends \Google\Protobuf\Internal\Message -{ - /** - * Required. The format in which Vertex AI gives the predictions, must be - * one of the [Model's][google.cloud.aiplatform.v1.BatchPredictionJob.model] - * [supported_output_storage_formats][google.cloud.aiplatform.v1.Model.supported_output_storage_formats]. - * - * Generated from protobuf field string predictions_format = 1 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $predictions_format = ''; - protected $destination; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type \Google\Cloud\AIPlatform\V1\GcsDestination $gcs_destination - * The Cloud Storage location of the directory where the output is - * to be written to. In the given directory a new directory is created. - * Its name is `prediction--`, - * where timestamp is in YYYY-MM-DDThh:mm:ss.sssZ ISO-8601 format. - * Inside of it files `predictions_0001.`, - * `predictions_0002.`, ..., `predictions_N.` - * are created where `` depends on chosen - * [predictions_format][google.cloud.aiplatform.v1.BatchPredictionJob.OutputConfig.predictions_format], - * and N may equal 0001 and depends on the total number of successfully - * predicted instances. If the Model has both - * [instance][google.cloud.aiplatform.v1.PredictSchemata.instance_schema_uri] - * and - * [prediction][google.cloud.aiplatform.v1.PredictSchemata.parameters_schema_uri] - * schemata defined then each such file contains predictions as per the - * [predictions_format][google.cloud.aiplatform.v1.BatchPredictionJob.OutputConfig.predictions_format]. - * If prediction for any instance failed (partially or completely), then - * an additional `errors_0001.`, `errors_0002.`,..., - * `errors_N.` files are created (N depends on total number - * of failed predictions). These files contain the failed instances, - * as per their schema, followed by an additional `error` field which as - * value has [google.rpc.Status][google.rpc.Status] - * containing only `code` and `message` fields. - * @type \Google\Cloud\AIPlatform\V1\BigQueryDestination $bigquery_destination - * The BigQuery project or dataset location where the output is to be - * written to. If project is provided, a new dataset is created with name - * `prediction__` - * where is made - * BigQuery-dataset-name compatible (for example, most special characters - * become underscores), and timestamp is in - * YYYY_MM_DDThh_mm_ss_sssZ "based on ISO-8601" format. In the dataset - * two tables will be created, `predictions`, and `errors`. - * If the Model has both - * [instance][google.cloud.aiplatform.v1.PredictSchemata.instance_schema_uri] - * and - * [prediction][google.cloud.aiplatform.v1.PredictSchemata.parameters_schema_uri] - * schemata defined then the tables have columns as follows: The - * `predictions` table contains instances for which the prediction - * succeeded, it has columns as per a concatenation of the Model's - * instance and prediction schemata. The `errors` table contains rows for - * which the prediction has failed, it has instance columns, as per the - * instance schema, followed by a single "errors" column, which as values - * has [google.rpc.Status][google.rpc.Status] - * represented as a STRUCT, and containing only `code` and `message`. - * @type string $predictions_format - * Required. The format in which Vertex AI gives the predictions, must be - * one of the [Model's][google.cloud.aiplatform.v1.BatchPredictionJob.model] - * [supported_output_storage_formats][google.cloud.aiplatform.v1.Model.supported_output_storage_formats]. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Cloud\Aiplatform\V1\BatchPredictionJob::initOnce(); - parent::__construct($data); - } - - /** - * The Cloud Storage location of the directory where the output is - * to be written to. In the given directory a new directory is created. - * Its name is `prediction--`, - * where timestamp is in YYYY-MM-DDThh:mm:ss.sssZ ISO-8601 format. - * Inside of it files `predictions_0001.`, - * `predictions_0002.`, ..., `predictions_N.` - * are created where `` depends on chosen - * [predictions_format][google.cloud.aiplatform.v1.BatchPredictionJob.OutputConfig.predictions_format], - * and N may equal 0001 and depends on the total number of successfully - * predicted instances. If the Model has both - * [instance][google.cloud.aiplatform.v1.PredictSchemata.instance_schema_uri] - * and - * [prediction][google.cloud.aiplatform.v1.PredictSchemata.parameters_schema_uri] - * schemata defined then each such file contains predictions as per the - * [predictions_format][google.cloud.aiplatform.v1.BatchPredictionJob.OutputConfig.predictions_format]. - * If prediction for any instance failed (partially or completely), then - * an additional `errors_0001.`, `errors_0002.`,..., - * `errors_N.` files are created (N depends on total number - * of failed predictions). These files contain the failed instances, - * as per their schema, followed by an additional `error` field which as - * value has [google.rpc.Status][google.rpc.Status] - * containing only `code` and `message` fields. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.GcsDestination gcs_destination = 2; - * @return \Google\Cloud\AIPlatform\V1\GcsDestination|null - */ - public function getGcsDestination() - { - return $this->readOneof(2); - } - - public function hasGcsDestination() - { - return $this->hasOneof(2); - } - - /** - * The Cloud Storage location of the directory where the output is - * to be written to. In the given directory a new directory is created. - * Its name is `prediction--`, - * where timestamp is in YYYY-MM-DDThh:mm:ss.sssZ ISO-8601 format. - * Inside of it files `predictions_0001.`, - * `predictions_0002.`, ..., `predictions_N.` - * are created where `` depends on chosen - * [predictions_format][google.cloud.aiplatform.v1.BatchPredictionJob.OutputConfig.predictions_format], - * and N may equal 0001 and depends on the total number of successfully - * predicted instances. If the Model has both - * [instance][google.cloud.aiplatform.v1.PredictSchemata.instance_schema_uri] - * and - * [prediction][google.cloud.aiplatform.v1.PredictSchemata.parameters_schema_uri] - * schemata defined then each such file contains predictions as per the - * [predictions_format][google.cloud.aiplatform.v1.BatchPredictionJob.OutputConfig.predictions_format]. - * If prediction for any instance failed (partially or completely), then - * an additional `errors_0001.`, `errors_0002.`,..., - * `errors_N.` files are created (N depends on total number - * of failed predictions). These files contain the failed instances, - * as per their schema, followed by an additional `error` field which as - * value has [google.rpc.Status][google.rpc.Status] - * containing only `code` and `message` fields. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.GcsDestination gcs_destination = 2; - * @param \Google\Cloud\AIPlatform\V1\GcsDestination $var - * @return $this - */ - public function setGcsDestination($var) - { - GPBUtil::checkMessage($var, \Google\Cloud\AIPlatform\V1\GcsDestination::class); - $this->writeOneof(2, $var); - - return $this; - } - - /** - * The BigQuery project or dataset location where the output is to be - * written to. If project is provided, a new dataset is created with name - * `prediction__` - * where is made - * BigQuery-dataset-name compatible (for example, most special characters - * become underscores), and timestamp is in - * YYYY_MM_DDThh_mm_ss_sssZ "based on ISO-8601" format. In the dataset - * two tables will be created, `predictions`, and `errors`. - * If the Model has both - * [instance][google.cloud.aiplatform.v1.PredictSchemata.instance_schema_uri] - * and - * [prediction][google.cloud.aiplatform.v1.PredictSchemata.parameters_schema_uri] - * schemata defined then the tables have columns as follows: The - * `predictions` table contains instances for which the prediction - * succeeded, it has columns as per a concatenation of the Model's - * instance and prediction schemata. The `errors` table contains rows for - * which the prediction has failed, it has instance columns, as per the - * instance schema, followed by a single "errors" column, which as values - * has [google.rpc.Status][google.rpc.Status] - * represented as a STRUCT, and containing only `code` and `message`. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.BigQueryDestination bigquery_destination = 3; - * @return \Google\Cloud\AIPlatform\V1\BigQueryDestination|null - */ - public function getBigqueryDestination() - { - return $this->readOneof(3); - } - - public function hasBigqueryDestination() - { - return $this->hasOneof(3); - } - - /** - * The BigQuery project or dataset location where the output is to be - * written to. If project is provided, a new dataset is created with name - * `prediction__` - * where is made - * BigQuery-dataset-name compatible (for example, most special characters - * become underscores), and timestamp is in - * YYYY_MM_DDThh_mm_ss_sssZ "based on ISO-8601" format. In the dataset - * two tables will be created, `predictions`, and `errors`. - * If the Model has both - * [instance][google.cloud.aiplatform.v1.PredictSchemata.instance_schema_uri] - * and - * [prediction][google.cloud.aiplatform.v1.PredictSchemata.parameters_schema_uri] - * schemata defined then the tables have columns as follows: The - * `predictions` table contains instances for which the prediction - * succeeded, it has columns as per a concatenation of the Model's - * instance and prediction schemata. The `errors` table contains rows for - * which the prediction has failed, it has instance columns, as per the - * instance schema, followed by a single "errors" column, which as values - * has [google.rpc.Status][google.rpc.Status] - * represented as a STRUCT, and containing only `code` and `message`. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.BigQueryDestination bigquery_destination = 3; - * @param \Google\Cloud\AIPlatform\V1\BigQueryDestination $var - * @return $this - */ - public function setBigqueryDestination($var) - { - GPBUtil::checkMessage($var, \Google\Cloud\AIPlatform\V1\BigQueryDestination::class); - $this->writeOneof(3, $var); - - return $this; - } - - /** - * Required. The format in which Vertex AI gives the predictions, must be - * one of the [Model's][google.cloud.aiplatform.v1.BatchPredictionJob.model] - * [supported_output_storage_formats][google.cloud.aiplatform.v1.Model.supported_output_storage_formats]. - * - * Generated from protobuf field string predictions_format = 1 [(.google.api.field_behavior) = REQUIRED]; - * @return string - */ - public function getPredictionsFormat() - { - return $this->predictions_format; - } - - /** - * Required. The format in which Vertex AI gives the predictions, must be - * one of the [Model's][google.cloud.aiplatform.v1.BatchPredictionJob.model] - * [supported_output_storage_formats][google.cloud.aiplatform.v1.Model.supported_output_storage_formats]. - * - * Generated from protobuf field string predictions_format = 1 [(.google.api.field_behavior) = REQUIRED]; - * @param string $var - * @return $this - */ - public function setPredictionsFormat($var) - { - GPBUtil::checkString($var, True); - $this->predictions_format = $var; - - return $this; - } - - /** - * @return string - */ - public function getDestination() - { - return $this->whichOneof("destination"); - } - -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(OutputConfig::class, \Google\Cloud\AIPlatform\V1\BatchPredictionJob_OutputConfig::class); - diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/BatchPredictionJob/OutputInfo.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/BatchPredictionJob/OutputInfo.php deleted file mode 100644 index 6ed62fa2e9e4..000000000000 --- a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/BatchPredictionJob/OutputInfo.php +++ /dev/null @@ -1,168 +0,0 @@ -google.cloud.aiplatform.v1.BatchPredictionJob.OutputInfo - */ -class OutputInfo extends \Google\Protobuf\Internal\Message -{ - /** - * Output only. The name of the BigQuery table created, in - * `predictions_` - * format, into which the prediction output is written. - * Can be used by UI to generate the BigQuery output path, for example. - * - * Generated from protobuf field string bigquery_output_table = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $bigquery_output_table = ''; - protected $output_location; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $gcs_output_directory - * Output only. The full path of the Cloud Storage directory created, into - * which the prediction output is written. - * @type string $bigquery_output_dataset - * Output only. The path of the BigQuery dataset created, in - * `bq://projectId.bqDatasetId` - * format, into which the prediction output is written. - * @type string $bigquery_output_table - * Output only. The name of the BigQuery table created, in - * `predictions_` - * format, into which the prediction output is written. - * Can be used by UI to generate the BigQuery output path, for example. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Cloud\Aiplatform\V1\BatchPredictionJob::initOnce(); - parent::__construct($data); - } - - /** - * Output only. The full path of the Cloud Storage directory created, into - * which the prediction output is written. - * - * Generated from protobuf field string gcs_output_directory = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return string - */ - public function getGcsOutputDirectory() - { - return $this->readOneof(1); - } - - public function hasGcsOutputDirectory() - { - return $this->hasOneof(1); - } - - /** - * Output only. The full path of the Cloud Storage directory created, into - * which the prediction output is written. - * - * Generated from protobuf field string gcs_output_directory = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param string $var - * @return $this - */ - public function setGcsOutputDirectory($var) - { - GPBUtil::checkString($var, True); - $this->writeOneof(1, $var); - - return $this; - } - - /** - * Output only. The path of the BigQuery dataset created, in - * `bq://projectId.bqDatasetId` - * format, into which the prediction output is written. - * - * Generated from protobuf field string bigquery_output_dataset = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return string - */ - public function getBigqueryOutputDataset() - { - return $this->readOneof(2); - } - - public function hasBigqueryOutputDataset() - { - return $this->hasOneof(2); - } - - /** - * Output only. The path of the BigQuery dataset created, in - * `bq://projectId.bqDatasetId` - * format, into which the prediction output is written. - * - * Generated from protobuf field string bigquery_output_dataset = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param string $var - * @return $this - */ - public function setBigqueryOutputDataset($var) - { - GPBUtil::checkString($var, True); - $this->writeOneof(2, $var); - - return $this; - } - - /** - * Output only. The name of the BigQuery table created, in - * `predictions_` - * format, into which the prediction output is written. - * Can be used by UI to generate the BigQuery output path, for example. - * - * Generated from protobuf field string bigquery_output_table = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return string - */ - public function getBigqueryOutputTable() - { - return $this->bigquery_output_table; - } - - /** - * Output only. The name of the BigQuery table created, in - * `predictions_` - * format, into which the prediction output is written. - * Can be used by UI to generate the BigQuery output path, for example. - * - * Generated from protobuf field string bigquery_output_table = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param string $var - * @return $this - */ - public function setBigqueryOutputTable($var) - { - GPBUtil::checkString($var, True); - $this->bigquery_output_table = $var; - - return $this; - } - - /** - * @return string - */ - public function getOutputLocation() - { - return $this->whichOneof("output_location"); - } - -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(OutputInfo::class, \Google\Cloud\AIPlatform\V1\BatchPredictionJob_OutputInfo::class); - diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/BatchReadFeatureValuesOperationMetadata.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/BatchReadFeatureValuesOperationMetadata.php deleted file mode 100644 index 1514117ac054..000000000000 --- a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/BatchReadFeatureValuesOperationMetadata.php +++ /dev/null @@ -1,77 +0,0 @@ -google.cloud.aiplatform.v1.BatchReadFeatureValuesOperationMetadata - */ -class BatchReadFeatureValuesOperationMetadata extends \Google\Protobuf\Internal\Message -{ - /** - * Operation metadata for Featurestore batch read Features values. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.GenericOperationMetadata generic_metadata = 1; - */ - protected $generic_metadata = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type \Google\Cloud\AIPlatform\V1\GenericOperationMetadata $generic_metadata - * Operation metadata for Featurestore batch read Features values. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Cloud\Aiplatform\V1\FeaturestoreService::initOnce(); - parent::__construct($data); - } - - /** - * Operation metadata for Featurestore batch read Features values. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.GenericOperationMetadata generic_metadata = 1; - * @return \Google\Cloud\AIPlatform\V1\GenericOperationMetadata|null - */ - public function getGenericMetadata() - { - return $this->generic_metadata; - } - - public function hasGenericMetadata() - { - return isset($this->generic_metadata); - } - - public function clearGenericMetadata() - { - unset($this->generic_metadata); - } - - /** - * Operation metadata for Featurestore batch read Features values. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.GenericOperationMetadata generic_metadata = 1; - * @param \Google\Cloud\AIPlatform\V1\GenericOperationMetadata $var - * @return $this - */ - public function setGenericMetadata($var) - { - GPBUtil::checkMessage($var, \Google\Cloud\AIPlatform\V1\GenericOperationMetadata::class); - $this->generic_metadata = $var; - - return $this; - } - -} - diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/BatchReadFeatureValuesRequest.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/BatchReadFeatureValuesRequest.php deleted file mode 100644 index ab375753fdc3..000000000000 --- a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/BatchReadFeatureValuesRequest.php +++ /dev/null @@ -1,403 +0,0 @@ -google.cloud.aiplatform.v1.BatchReadFeatureValuesRequest - */ -class BatchReadFeatureValuesRequest extends \Google\Protobuf\Internal\Message -{ - /** - * Required. The resource name of the Featurestore from which to query Feature - * values. Format: - * `projects/{project}/locations/{location}/featurestores/{featurestore}` - * - * Generated from protobuf field string featurestore = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - */ - protected $featurestore = ''; - /** - * Required. Specifies output location and format. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.FeatureValueDestination destination = 4 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $destination = null; - /** - * When not empty, the specified fields in the *_read_instances source will be - * joined as-is in the output, in addition to those fields from the - * Featurestore Entity. - * For BigQuery source, the type of the pass-through values will be - * automatically inferred. For CSV source, the pass-through values will be - * passed as opaque bytes. - * - * Generated from protobuf field repeated .google.cloud.aiplatform.v1.BatchReadFeatureValuesRequest.PassThroughField pass_through_fields = 8; - */ - private $pass_through_fields; - /** - * Required. Specifies EntityType grouping Features to read values of and - * settings. - * - * Generated from protobuf field repeated .google.cloud.aiplatform.v1.BatchReadFeatureValuesRequest.EntityTypeSpec entity_type_specs = 7 [(.google.api.field_behavior) = REQUIRED]; - */ - private $entity_type_specs; - /** - * Optional. Excludes Feature values with feature generation timestamp before - * this timestamp. If not set, retrieve oldest values kept in Feature Store. - * Timestamp, if present, must not have higher than millisecond precision. - * - * Generated from protobuf field .google.protobuf.Timestamp start_time = 11 [(.google.api.field_behavior) = OPTIONAL]; - */ - protected $start_time = null; - protected $read_option; - - /** - * @param string $featurestore Required. The resource name of the Featurestore from which to query Feature - * values. Format: - * `projects/{project}/locations/{location}/featurestores/{featurestore}` - * Please see {@see FeaturestoreServiceClient::featurestoreName()} for help formatting this field. - * - * @return \Google\Cloud\AIPlatform\V1\BatchReadFeatureValuesRequest - * - * @experimental - */ - public static function build(string $featurestore): self - { - return (new self()) - ->setFeaturestore($featurestore); - } - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type \Google\Cloud\AIPlatform\V1\CsvSource $csv_read_instances - * Each read instance consists of exactly one read timestamp and one or more - * entity IDs identifying entities of the corresponding EntityTypes whose - * Features are requested. - * Each output instance contains Feature values of requested entities - * concatenated together as of the read time. - * An example read instance may be `foo_entity_id, bar_entity_id, - * 2020-01-01T10:00:00.123Z`. - * An example output instance may be `foo_entity_id, bar_entity_id, - * 2020-01-01T10:00:00.123Z, foo_entity_feature1_value, - * bar_entity_feature2_value`. - * Timestamp in each read instance must be millisecond-aligned. - * `csv_read_instances` are read instances stored in a plain-text CSV file. - * The header should be: - * [ENTITY_TYPE_ID1], [ENTITY_TYPE_ID2], ..., timestamp - * The columns can be in any order. - * Values in the timestamp column must use the RFC 3339 format, e.g. - * `2012-07-30T10:43:17.123Z`. - * @type \Google\Cloud\AIPlatform\V1\BigQuerySource $bigquery_read_instances - * Similar to csv_read_instances, but from BigQuery source. - * @type string $featurestore - * Required. The resource name of the Featurestore from which to query Feature - * values. Format: - * `projects/{project}/locations/{location}/featurestores/{featurestore}` - * @type \Google\Cloud\AIPlatform\V1\FeatureValueDestination $destination - * Required. Specifies output location and format. - * @type array<\Google\Cloud\AIPlatform\V1\BatchReadFeatureValuesRequest\PassThroughField>|\Google\Protobuf\Internal\RepeatedField $pass_through_fields - * When not empty, the specified fields in the *_read_instances source will be - * joined as-is in the output, in addition to those fields from the - * Featurestore Entity. - * For BigQuery source, the type of the pass-through values will be - * automatically inferred. For CSV source, the pass-through values will be - * passed as opaque bytes. - * @type array<\Google\Cloud\AIPlatform\V1\BatchReadFeatureValuesRequest\EntityTypeSpec>|\Google\Protobuf\Internal\RepeatedField $entity_type_specs - * Required. Specifies EntityType grouping Features to read values of and - * settings. - * @type \Google\Protobuf\Timestamp $start_time - * Optional. Excludes Feature values with feature generation timestamp before - * this timestamp. If not set, retrieve oldest values kept in Feature Store. - * Timestamp, if present, must not have higher than millisecond precision. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Cloud\Aiplatform\V1\FeaturestoreService::initOnce(); - parent::__construct($data); - } - - /** - * Each read instance consists of exactly one read timestamp and one or more - * entity IDs identifying entities of the corresponding EntityTypes whose - * Features are requested. - * Each output instance contains Feature values of requested entities - * concatenated together as of the read time. - * An example read instance may be `foo_entity_id, bar_entity_id, - * 2020-01-01T10:00:00.123Z`. - * An example output instance may be `foo_entity_id, bar_entity_id, - * 2020-01-01T10:00:00.123Z, foo_entity_feature1_value, - * bar_entity_feature2_value`. - * Timestamp in each read instance must be millisecond-aligned. - * `csv_read_instances` are read instances stored in a plain-text CSV file. - * The header should be: - * [ENTITY_TYPE_ID1], [ENTITY_TYPE_ID2], ..., timestamp - * The columns can be in any order. - * Values in the timestamp column must use the RFC 3339 format, e.g. - * `2012-07-30T10:43:17.123Z`. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.CsvSource csv_read_instances = 3; - * @return \Google\Cloud\AIPlatform\V1\CsvSource|null - */ - public function getCsvReadInstances() - { - return $this->readOneof(3); - } - - public function hasCsvReadInstances() - { - return $this->hasOneof(3); - } - - /** - * Each read instance consists of exactly one read timestamp and one or more - * entity IDs identifying entities of the corresponding EntityTypes whose - * Features are requested. - * Each output instance contains Feature values of requested entities - * concatenated together as of the read time. - * An example read instance may be `foo_entity_id, bar_entity_id, - * 2020-01-01T10:00:00.123Z`. - * An example output instance may be `foo_entity_id, bar_entity_id, - * 2020-01-01T10:00:00.123Z, foo_entity_feature1_value, - * bar_entity_feature2_value`. - * Timestamp in each read instance must be millisecond-aligned. - * `csv_read_instances` are read instances stored in a plain-text CSV file. - * The header should be: - * [ENTITY_TYPE_ID1], [ENTITY_TYPE_ID2], ..., timestamp - * The columns can be in any order. - * Values in the timestamp column must use the RFC 3339 format, e.g. - * `2012-07-30T10:43:17.123Z`. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.CsvSource csv_read_instances = 3; - * @param \Google\Cloud\AIPlatform\V1\CsvSource $var - * @return $this - */ - public function setCsvReadInstances($var) - { - GPBUtil::checkMessage($var, \Google\Cloud\AIPlatform\V1\CsvSource::class); - $this->writeOneof(3, $var); - - return $this; - } - - /** - * Similar to csv_read_instances, but from BigQuery source. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.BigQuerySource bigquery_read_instances = 5; - * @return \Google\Cloud\AIPlatform\V1\BigQuerySource|null - */ - public function getBigqueryReadInstances() - { - return $this->readOneof(5); - } - - public function hasBigqueryReadInstances() - { - return $this->hasOneof(5); - } - - /** - * Similar to csv_read_instances, but from BigQuery source. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.BigQuerySource bigquery_read_instances = 5; - * @param \Google\Cloud\AIPlatform\V1\BigQuerySource $var - * @return $this - */ - public function setBigqueryReadInstances($var) - { - GPBUtil::checkMessage($var, \Google\Cloud\AIPlatform\V1\BigQuerySource::class); - $this->writeOneof(5, $var); - - return $this; - } - - /** - * Required. The resource name of the Featurestore from which to query Feature - * values. Format: - * `projects/{project}/locations/{location}/featurestores/{featurestore}` - * - * Generated from protobuf field string featurestore = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - * @return string - */ - public function getFeaturestore() - { - return $this->featurestore; - } - - /** - * Required. The resource name of the Featurestore from which to query Feature - * values. Format: - * `projects/{project}/locations/{location}/featurestores/{featurestore}` - * - * Generated from protobuf field string featurestore = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setFeaturestore($var) - { - GPBUtil::checkString($var, True); - $this->featurestore = $var; - - return $this; - } - - /** - * Required. Specifies output location and format. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.FeatureValueDestination destination = 4 [(.google.api.field_behavior) = REQUIRED]; - * @return \Google\Cloud\AIPlatform\V1\FeatureValueDestination|null - */ - public function getDestination() - { - return $this->destination; - } - - public function hasDestination() - { - return isset($this->destination); - } - - public function clearDestination() - { - unset($this->destination); - } - - /** - * Required. Specifies output location and format. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.FeatureValueDestination destination = 4 [(.google.api.field_behavior) = REQUIRED]; - * @param \Google\Cloud\AIPlatform\V1\FeatureValueDestination $var - * @return $this - */ - public function setDestination($var) - { - GPBUtil::checkMessage($var, \Google\Cloud\AIPlatform\V1\FeatureValueDestination::class); - $this->destination = $var; - - return $this; - } - - /** - * When not empty, the specified fields in the *_read_instances source will be - * joined as-is in the output, in addition to those fields from the - * Featurestore Entity. - * For BigQuery source, the type of the pass-through values will be - * automatically inferred. For CSV source, the pass-through values will be - * passed as opaque bytes. - * - * Generated from protobuf field repeated .google.cloud.aiplatform.v1.BatchReadFeatureValuesRequest.PassThroughField pass_through_fields = 8; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getPassThroughFields() - { - return $this->pass_through_fields; - } - - /** - * When not empty, the specified fields in the *_read_instances source will be - * joined as-is in the output, in addition to those fields from the - * Featurestore Entity. - * For BigQuery source, the type of the pass-through values will be - * automatically inferred. For CSV source, the pass-through values will be - * passed as opaque bytes. - * - * Generated from protobuf field repeated .google.cloud.aiplatform.v1.BatchReadFeatureValuesRequest.PassThroughField pass_through_fields = 8; - * @param array<\Google\Cloud\AIPlatform\V1\BatchReadFeatureValuesRequest\PassThroughField>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setPassThroughFields($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\AIPlatform\V1\BatchReadFeatureValuesRequest\PassThroughField::class); - $this->pass_through_fields = $arr; - - return $this; - } - - /** - * Required. Specifies EntityType grouping Features to read values of and - * settings. - * - * Generated from protobuf field repeated .google.cloud.aiplatform.v1.BatchReadFeatureValuesRequest.EntityTypeSpec entity_type_specs = 7 [(.google.api.field_behavior) = REQUIRED]; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getEntityTypeSpecs() - { - return $this->entity_type_specs; - } - - /** - * Required. Specifies EntityType grouping Features to read values of and - * settings. - * - * Generated from protobuf field repeated .google.cloud.aiplatform.v1.BatchReadFeatureValuesRequest.EntityTypeSpec entity_type_specs = 7 [(.google.api.field_behavior) = REQUIRED]; - * @param array<\Google\Cloud\AIPlatform\V1\BatchReadFeatureValuesRequest\EntityTypeSpec>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setEntityTypeSpecs($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\AIPlatform\V1\BatchReadFeatureValuesRequest\EntityTypeSpec::class); - $this->entity_type_specs = $arr; - - return $this; - } - - /** - * Optional. Excludes Feature values with feature generation timestamp before - * this timestamp. If not set, retrieve oldest values kept in Feature Store. - * Timestamp, if present, must not have higher than millisecond precision. - * - * Generated from protobuf field .google.protobuf.Timestamp start_time = 11 [(.google.api.field_behavior) = OPTIONAL]; - * @return \Google\Protobuf\Timestamp|null - */ - public function getStartTime() - { - return $this->start_time; - } - - public function hasStartTime() - { - return isset($this->start_time); - } - - public function clearStartTime() - { - unset($this->start_time); - } - - /** - * Optional. Excludes Feature values with feature generation timestamp before - * this timestamp. If not set, retrieve oldest values kept in Feature Store. - * Timestamp, if present, must not have higher than millisecond precision. - * - * Generated from protobuf field .google.protobuf.Timestamp start_time = 11 [(.google.api.field_behavior) = OPTIONAL]; - * @param \Google\Protobuf\Timestamp $var - * @return $this - */ - public function setStartTime($var) - { - GPBUtil::checkMessage($var, \Google\Protobuf\Timestamp::class); - $this->start_time = $var; - - return $this; - } - - /** - * @return string - */ - public function getReadOption() - { - return $this->whichOneof("read_option"); - } - -} - diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/BatchReadFeatureValuesRequest/EntityTypeSpec.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/BatchReadFeatureValuesRequest/EntityTypeSpec.php deleted file mode 100644 index 21af7601cc07..000000000000 --- a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/BatchReadFeatureValuesRequest/EntityTypeSpec.php +++ /dev/null @@ -1,165 +0,0 @@ -google.cloud.aiplatform.v1.BatchReadFeatureValuesRequest.EntityTypeSpec - */ -class EntityTypeSpec extends \Google\Protobuf\Internal\Message -{ - /** - * Required. ID of the EntityType to select Features. The EntityType id is - * the - * [entity_type_id][google.cloud.aiplatform.v1.CreateEntityTypeRequest.entity_type_id] - * specified during EntityType creation. - * - * Generated from protobuf field string entity_type_id = 1 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $entity_type_id = ''; - /** - * Required. Selectors choosing which Feature values to read from the - * EntityType. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.FeatureSelector feature_selector = 2 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $feature_selector = null; - /** - * Per-Feature settings for the batch read. - * - * Generated from protobuf field repeated .google.cloud.aiplatform.v1.DestinationFeatureSetting settings = 3; - */ - private $settings; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $entity_type_id - * Required. ID of the EntityType to select Features. The EntityType id is - * the - * [entity_type_id][google.cloud.aiplatform.v1.CreateEntityTypeRequest.entity_type_id] - * specified during EntityType creation. - * @type \Google\Cloud\AIPlatform\V1\FeatureSelector $feature_selector - * Required. Selectors choosing which Feature values to read from the - * EntityType. - * @type array<\Google\Cloud\AIPlatform\V1\DestinationFeatureSetting>|\Google\Protobuf\Internal\RepeatedField $settings - * Per-Feature settings for the batch read. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Cloud\Aiplatform\V1\FeaturestoreService::initOnce(); - parent::__construct($data); - } - - /** - * Required. ID of the EntityType to select Features. The EntityType id is - * the - * [entity_type_id][google.cloud.aiplatform.v1.CreateEntityTypeRequest.entity_type_id] - * specified during EntityType creation. - * - * Generated from protobuf field string entity_type_id = 1 [(.google.api.field_behavior) = REQUIRED]; - * @return string - */ - public function getEntityTypeId() - { - return $this->entity_type_id; - } - - /** - * Required. ID of the EntityType to select Features. The EntityType id is - * the - * [entity_type_id][google.cloud.aiplatform.v1.CreateEntityTypeRequest.entity_type_id] - * specified during EntityType creation. - * - * Generated from protobuf field string entity_type_id = 1 [(.google.api.field_behavior) = REQUIRED]; - * @param string $var - * @return $this - */ - public function setEntityTypeId($var) - { - GPBUtil::checkString($var, True); - $this->entity_type_id = $var; - - return $this; - } - - /** - * Required. Selectors choosing which Feature values to read from the - * EntityType. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.FeatureSelector feature_selector = 2 [(.google.api.field_behavior) = REQUIRED]; - * @return \Google\Cloud\AIPlatform\V1\FeatureSelector|null - */ - public function getFeatureSelector() - { - return $this->feature_selector; - } - - public function hasFeatureSelector() - { - return isset($this->feature_selector); - } - - public function clearFeatureSelector() - { - unset($this->feature_selector); - } - - /** - * Required. Selectors choosing which Feature values to read from the - * EntityType. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.FeatureSelector feature_selector = 2 [(.google.api.field_behavior) = REQUIRED]; - * @param \Google\Cloud\AIPlatform\V1\FeatureSelector $var - * @return $this - */ - public function setFeatureSelector($var) - { - GPBUtil::checkMessage($var, \Google\Cloud\AIPlatform\V1\FeatureSelector::class); - $this->feature_selector = $var; - - return $this; - } - - /** - * Per-Feature settings for the batch read. - * - * Generated from protobuf field repeated .google.cloud.aiplatform.v1.DestinationFeatureSetting settings = 3; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getSettings() - { - return $this->settings; - } - - /** - * Per-Feature settings for the batch read. - * - * Generated from protobuf field repeated .google.cloud.aiplatform.v1.DestinationFeatureSetting settings = 3; - * @param array<\Google\Cloud\AIPlatform\V1\DestinationFeatureSetting>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setSettings($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\AIPlatform\V1\DestinationFeatureSetting::class); - $this->settings = $arr; - - return $this; - } - -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(EntityTypeSpec::class, \Google\Cloud\AIPlatform\V1\BatchReadFeatureValuesRequest_EntityTypeSpec::class); - diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/BatchReadFeatureValuesRequest/PassThroughField.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/BatchReadFeatureValuesRequest/PassThroughField.php deleted file mode 100644 index d46974bdde45..000000000000 --- a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/BatchReadFeatureValuesRequest/PassThroughField.php +++ /dev/null @@ -1,78 +0,0 @@ -google.cloud.aiplatform.v1.BatchReadFeatureValuesRequest.PassThroughField - */ -class PassThroughField extends \Google\Protobuf\Internal\Message -{ - /** - * Required. The name of the field in the CSV header or the name of the - * column in BigQuery table. The naming restriction is the same as - * [Feature.name][google.cloud.aiplatform.v1.Feature.name]. - * - * Generated from protobuf field string field_name = 1 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $field_name = ''; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $field_name - * Required. The name of the field in the CSV header or the name of the - * column in BigQuery table. The naming restriction is the same as - * [Feature.name][google.cloud.aiplatform.v1.Feature.name]. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Cloud\Aiplatform\V1\FeaturestoreService::initOnce(); - parent::__construct($data); - } - - /** - * Required. The name of the field in the CSV header or the name of the - * column in BigQuery table. The naming restriction is the same as - * [Feature.name][google.cloud.aiplatform.v1.Feature.name]. - * - * Generated from protobuf field string field_name = 1 [(.google.api.field_behavior) = REQUIRED]; - * @return string - */ - public function getFieldName() - { - return $this->field_name; - } - - /** - * Required. The name of the field in the CSV header or the name of the - * column in BigQuery table. The naming restriction is the same as - * [Feature.name][google.cloud.aiplatform.v1.Feature.name]. - * - * Generated from protobuf field string field_name = 1 [(.google.api.field_behavior) = REQUIRED]; - * @param string $var - * @return $this - */ - public function setFieldName($var) - { - GPBUtil::checkString($var, True); - $this->field_name = $var; - - return $this; - } - -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(PassThroughField::class, \Google\Cloud\AIPlatform\V1\BatchReadFeatureValuesRequest_PassThroughField::class); - diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/BatchReadFeatureValuesResponse.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/BatchReadFeatureValuesResponse.php deleted file mode 100644 index f1c2c8929965..000000000000 --- a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/BatchReadFeatureValuesResponse.php +++ /dev/null @@ -1,34 +0,0 @@ -google.cloud.aiplatform.v1.BatchReadFeatureValuesResponse - */ -class BatchReadFeatureValuesResponse extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Cloud\Aiplatform\V1\FeaturestoreService::initOnce(); - parent::__construct($data); - } - -} - diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/BatchReadTensorboardTimeSeriesDataRequest.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/BatchReadTensorboardTimeSeriesDataRequest.php deleted file mode 100644 index e2d1d43e92d3..000000000000 --- a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/BatchReadTensorboardTimeSeriesDataRequest.php +++ /dev/null @@ -1,149 +0,0 @@ -google.cloud.aiplatform.v1.BatchReadTensorboardTimeSeriesDataRequest - */ -class BatchReadTensorboardTimeSeriesDataRequest extends \Google\Protobuf\Internal\Message -{ - /** - * Required. The resource name of the Tensorboard containing - * TensorboardTimeSeries to read data from. Format: - * `projects/{project}/locations/{location}/tensorboards/{tensorboard}`. - * The TensorboardTimeSeries referenced by - * [time_series][google.cloud.aiplatform.v1.BatchReadTensorboardTimeSeriesDataRequest.time_series] - * must be sub resources of this Tensorboard. - * - * Generated from protobuf field string tensorboard = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - */ - protected $tensorboard = ''; - /** - * Required. The resource names of the TensorboardTimeSeries to read data - * from. Format: - * `projects/{project}/locations/{location}/tensorboards/{tensorboard}/experiments/{experiment}/runs/{run}/timeSeries/{time_series}` - * - * Generated from protobuf field repeated string time_series = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - */ - private $time_series; - - /** - * @param string $tensorboard Required. The resource name of the Tensorboard containing - * TensorboardTimeSeries to read data from. Format: - * `projects/{project}/locations/{location}/tensorboards/{tensorboard}`. - * The TensorboardTimeSeries referenced by - * [time_series][google.cloud.aiplatform.v1.BatchReadTensorboardTimeSeriesDataRequest.time_series] - * must be sub resources of this Tensorboard. Please see - * {@see TensorboardServiceClient::tensorboardName()} for help formatting this field. - * - * @return \Google\Cloud\AIPlatform\V1\BatchReadTensorboardTimeSeriesDataRequest - * - * @experimental - */ - public static function build(string $tensorboard): self - { - return (new self()) - ->setTensorboard($tensorboard); - } - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $tensorboard - * Required. The resource name of the Tensorboard containing - * TensorboardTimeSeries to read data from. Format: - * `projects/{project}/locations/{location}/tensorboards/{tensorboard}`. - * The TensorboardTimeSeries referenced by - * [time_series][google.cloud.aiplatform.v1.BatchReadTensorboardTimeSeriesDataRequest.time_series] - * must be sub resources of this Tensorboard. - * @type array|\Google\Protobuf\Internal\RepeatedField $time_series - * Required. The resource names of the TensorboardTimeSeries to read data - * from. Format: - * `projects/{project}/locations/{location}/tensorboards/{tensorboard}/experiments/{experiment}/runs/{run}/timeSeries/{time_series}` - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Cloud\Aiplatform\V1\TensorboardService::initOnce(); - parent::__construct($data); - } - - /** - * Required. The resource name of the Tensorboard containing - * TensorboardTimeSeries to read data from. Format: - * `projects/{project}/locations/{location}/tensorboards/{tensorboard}`. - * The TensorboardTimeSeries referenced by - * [time_series][google.cloud.aiplatform.v1.BatchReadTensorboardTimeSeriesDataRequest.time_series] - * must be sub resources of this Tensorboard. - * - * Generated from protobuf field string tensorboard = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - * @return string - */ - public function getTensorboard() - { - return $this->tensorboard; - } - - /** - * Required. The resource name of the Tensorboard containing - * TensorboardTimeSeries to read data from. Format: - * `projects/{project}/locations/{location}/tensorboards/{tensorboard}`. - * The TensorboardTimeSeries referenced by - * [time_series][google.cloud.aiplatform.v1.BatchReadTensorboardTimeSeriesDataRequest.time_series] - * must be sub resources of this Tensorboard. - * - * Generated from protobuf field string tensorboard = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setTensorboard($var) - { - GPBUtil::checkString($var, True); - $this->tensorboard = $var; - - return $this; - } - - /** - * Required. The resource names of the TensorboardTimeSeries to read data - * from. Format: - * `projects/{project}/locations/{location}/tensorboards/{tensorboard}/experiments/{experiment}/runs/{run}/timeSeries/{time_series}` - * - * Generated from protobuf field repeated string time_series = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getTimeSeries() - { - return $this->time_series; - } - - /** - * Required. The resource names of the TensorboardTimeSeries to read data - * from. Format: - * `projects/{project}/locations/{location}/tensorboards/{tensorboard}/experiments/{experiment}/runs/{run}/timeSeries/{time_series}` - * - * Generated from protobuf field repeated string time_series = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - * @param array|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setTimeSeries($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING); - $this->time_series = $arr; - - return $this; - } - -} - diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/BatchReadTensorboardTimeSeriesDataResponse.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/BatchReadTensorboardTimeSeriesDataResponse.php deleted file mode 100644 index 0dca16805076..000000000000 --- a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/BatchReadTensorboardTimeSeriesDataResponse.php +++ /dev/null @@ -1,68 +0,0 @@ -google.cloud.aiplatform.v1.BatchReadTensorboardTimeSeriesDataResponse - */ -class BatchReadTensorboardTimeSeriesDataResponse extends \Google\Protobuf\Internal\Message -{ - /** - * The returned time series data. - * - * Generated from protobuf field repeated .google.cloud.aiplatform.v1.TimeSeriesData time_series_data = 1; - */ - private $time_series_data; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type array<\Google\Cloud\AIPlatform\V1\TimeSeriesData>|\Google\Protobuf\Internal\RepeatedField $time_series_data - * The returned time series data. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Cloud\Aiplatform\V1\TensorboardService::initOnce(); - parent::__construct($data); - } - - /** - * The returned time series data. - * - * Generated from protobuf field repeated .google.cloud.aiplatform.v1.TimeSeriesData time_series_data = 1; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getTimeSeriesData() - { - return $this->time_series_data; - } - - /** - * The returned time series data. - * - * Generated from protobuf field repeated .google.cloud.aiplatform.v1.TimeSeriesData time_series_data = 1; - * @param array<\Google\Cloud\AIPlatform\V1\TimeSeriesData>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setTimeSeriesData($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\AIPlatform\V1\TimeSeriesData::class); - $this->time_series_data = $arr; - - return $this; - } - -} - diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/BigQueryDestination.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/BigQueryDestination.php deleted file mode 100644 index 54f26730bb7a..000000000000 --- a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/BigQueryDestination.php +++ /dev/null @@ -1,95 +0,0 @@ -google.cloud.aiplatform.v1.BigQueryDestination - */ -class BigQueryDestination extends \Google\Protobuf\Internal\Message -{ - /** - * Required. BigQuery URI to a project or table, up to 2000 characters long. - * When only the project is specified, the Dataset and Table is created. - * When the full table reference is specified, the Dataset must exist and - * table must not exist. - * Accepted forms: - * * BigQuery path. For example: - * `bq://projectId` or `bq://projectId.bqDatasetId` or - * `bq://projectId.bqDatasetId.bqTableId`. - * - * Generated from protobuf field string output_uri = 1 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $output_uri = ''; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $output_uri - * Required. BigQuery URI to a project or table, up to 2000 characters long. - * When only the project is specified, the Dataset and Table is created. - * When the full table reference is specified, the Dataset must exist and - * table must not exist. - * Accepted forms: - * * BigQuery path. For example: - * `bq://projectId` or `bq://projectId.bqDatasetId` or - * `bq://projectId.bqDatasetId.bqTableId`. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Cloud\Aiplatform\V1\Io::initOnce(); - parent::__construct($data); - } - - /** - * Required. BigQuery URI to a project or table, up to 2000 characters long. - * When only the project is specified, the Dataset and Table is created. - * When the full table reference is specified, the Dataset must exist and - * table must not exist. - * Accepted forms: - * * BigQuery path. For example: - * `bq://projectId` or `bq://projectId.bqDatasetId` or - * `bq://projectId.bqDatasetId.bqTableId`. - * - * Generated from protobuf field string output_uri = 1 [(.google.api.field_behavior) = REQUIRED]; - * @return string - */ - public function getOutputUri() - { - return $this->output_uri; - } - - /** - * Required. BigQuery URI to a project or table, up to 2000 characters long. - * When only the project is specified, the Dataset and Table is created. - * When the full table reference is specified, the Dataset must exist and - * table must not exist. - * Accepted forms: - * * BigQuery path. For example: - * `bq://projectId` or `bq://projectId.bqDatasetId` or - * `bq://projectId.bqDatasetId.bqTableId`. - * - * Generated from protobuf field string output_uri = 1 [(.google.api.field_behavior) = REQUIRED]; - * @param string $var - * @return $this - */ - public function setOutputUri($var) - { - GPBUtil::checkString($var, True); - $this->output_uri = $var; - - return $this; - } - -} - diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/BigQuerySource.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/BigQuerySource.php deleted file mode 100644 index 21cde2f1e7fc..000000000000 --- a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/BigQuerySource.php +++ /dev/null @@ -1,75 +0,0 @@ -google.cloud.aiplatform.v1.BigQuerySource - */ -class BigQuerySource extends \Google\Protobuf\Internal\Message -{ - /** - * Required. BigQuery URI to a table, up to 2000 characters long. - * Accepted forms: - * * BigQuery path. For example: `bq://projectId.bqDatasetId.bqTableId`. - * - * Generated from protobuf field string input_uri = 1 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $input_uri = ''; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $input_uri - * Required. BigQuery URI to a table, up to 2000 characters long. - * Accepted forms: - * * BigQuery path. For example: `bq://projectId.bqDatasetId.bqTableId`. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Cloud\Aiplatform\V1\Io::initOnce(); - parent::__construct($data); - } - - /** - * Required. BigQuery URI to a table, up to 2000 characters long. - * Accepted forms: - * * BigQuery path. For example: `bq://projectId.bqDatasetId.bqTableId`. - * - * Generated from protobuf field string input_uri = 1 [(.google.api.field_behavior) = REQUIRED]; - * @return string - */ - public function getInputUri() - { - return $this->input_uri; - } - - /** - * Required. BigQuery URI to a table, up to 2000 characters long. - * Accepted forms: - * * BigQuery path. For example: `bq://projectId.bqDatasetId.bqTableId`. - * - * Generated from protobuf field string input_uri = 1 [(.google.api.field_behavior) = REQUIRED]; - * @param string $var - * @return $this - */ - public function setInputUri($var) - { - GPBUtil::checkString($var, True); - $this->input_uri = $var; - - return $this; - } - -} - diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/Blob.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/Blob.php deleted file mode 100644 index e930d980dc15..000000000000 --- a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/Blob.php +++ /dev/null @@ -1,103 +0,0 @@ -google.cloud.aiplatform.v1.Blob - */ -class Blob extends \Google\Protobuf\Internal\Message -{ - /** - * Required. The IANA standard MIME type of the source data. - * - * Generated from protobuf field string mime_type = 1 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $mime_type = ''; - /** - * Required. Raw bytes. - * - * Generated from protobuf field bytes data = 2 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $data = ''; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $mime_type - * Required. The IANA standard MIME type of the source data. - * @type string $data - * Required. Raw bytes. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Cloud\Aiplatform\V1\Content::initOnce(); - parent::__construct($data); - } - - /** - * Required. The IANA standard MIME type of the source data. - * - * Generated from protobuf field string mime_type = 1 [(.google.api.field_behavior) = REQUIRED]; - * @return string - */ - public function getMimeType() - { - return $this->mime_type; - } - - /** - * Required. The IANA standard MIME type of the source data. - * - * Generated from protobuf field string mime_type = 1 [(.google.api.field_behavior) = REQUIRED]; - * @param string $var - * @return $this - */ - public function setMimeType($var) - { - GPBUtil::checkString($var, True); - $this->mime_type = $var; - - return $this; - } - - /** - * Required. Raw bytes. - * - * Generated from protobuf field bytes data = 2 [(.google.api.field_behavior) = REQUIRED]; - * @return string - */ - public function getData() - { - return $this->data; - } - - /** - * Required. Raw bytes. - * - * Generated from protobuf field bytes data = 2 [(.google.api.field_behavior) = REQUIRED]; - * @param string $var - * @return $this - */ - public function setData($var) - { - GPBUtil::checkString($var, False); - $this->data = $var; - - return $this; - } - -} - diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/BlurBaselineConfig.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/BlurBaselineConfig.php deleted file mode 100644 index 511227fc1dbd..000000000000 --- a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/BlurBaselineConfig.php +++ /dev/null @@ -1,83 +0,0 @@ -google.cloud.aiplatform.v1.BlurBaselineConfig - */ -class BlurBaselineConfig extends \Google\Protobuf\Internal\Message -{ - /** - * The standard deviation of the blur kernel for the blurred baseline. The - * same blurring parameter is used for both the height and the width - * dimension. If not set, the method defaults to the zero (i.e. black for - * images) baseline. - * - * Generated from protobuf field float max_blur_sigma = 1; - */ - protected $max_blur_sigma = 0.0; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type float $max_blur_sigma - * The standard deviation of the blur kernel for the blurred baseline. The - * same blurring parameter is used for both the height and the width - * dimension. If not set, the method defaults to the zero (i.e. black for - * images) baseline. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Cloud\Aiplatform\V1\Explanation::initOnce(); - parent::__construct($data); - } - - /** - * The standard deviation of the blur kernel for the blurred baseline. The - * same blurring parameter is used for both the height and the width - * dimension. If not set, the method defaults to the zero (i.e. black for - * images) baseline. - * - * Generated from protobuf field float max_blur_sigma = 1; - * @return float - */ - public function getMaxBlurSigma() - { - return $this->max_blur_sigma; - } - - /** - * The standard deviation of the blur kernel for the blurred baseline. The - * same blurring parameter is used for both the height and the width - * dimension. If not set, the method defaults to the zero (i.e. black for - * images) baseline. - * - * Generated from protobuf field float max_blur_sigma = 1; - * @param float $var - * @return $this - */ - public function setMaxBlurSigma($var) - { - GPBUtil::checkFloat($var); - $this->max_blur_sigma = $var; - - return $this; - } - -} - diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/BoolArray.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/BoolArray.php deleted file mode 100644 index 597297556639..000000000000 --- a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/BoolArray.php +++ /dev/null @@ -1,67 +0,0 @@ -google.cloud.aiplatform.v1.BoolArray - */ -class BoolArray extends \Google\Protobuf\Internal\Message -{ - /** - * A list of bool values. - * - * Generated from protobuf field repeated bool values = 1; - */ - private $values; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type array|\Google\Protobuf\Internal\RepeatedField $values - * A list of bool values. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Cloud\Aiplatform\V1\Types::initOnce(); - parent::__construct($data); - } - - /** - * A list of bool values. - * - * Generated from protobuf field repeated bool values = 1; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getValues() - { - return $this->values; - } - - /** - * A list of bool values. - * - * Generated from protobuf field repeated bool values = 1; - * @param array|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setValues($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::BOOL); - $this->values = $arr; - - return $this; - } - -} - diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CancelBatchPredictionJobRequest.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CancelBatchPredictionJobRequest.php deleted file mode 100644 index 5b0d4263f1ee..000000000000 --- a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CancelBatchPredictionJobRequest.php +++ /dev/null @@ -1,92 +0,0 @@ -google.cloud.aiplatform.v1.CancelBatchPredictionJobRequest - */ -class CancelBatchPredictionJobRequest extends \Google\Protobuf\Internal\Message -{ - /** - * Required. The name of the BatchPredictionJob to cancel. - * Format: - * `projects/{project}/locations/{location}/batchPredictionJobs/{batch_prediction_job}` - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - */ - protected $name = ''; - - /** - * @param string $name Required. The name of the BatchPredictionJob to cancel. - * Format: - * `projects/{project}/locations/{location}/batchPredictionJobs/{batch_prediction_job}` - * Please see {@see JobServiceClient::batchPredictionJobName()} for help formatting this field. - * - * @return \Google\Cloud\AIPlatform\V1\CancelBatchPredictionJobRequest - * - * @experimental - */ - public static function build(string $name): self - { - return (new self()) - ->setName($name); - } - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $name - * Required. The name of the BatchPredictionJob to cancel. - * Format: - * `projects/{project}/locations/{location}/batchPredictionJobs/{batch_prediction_job}` - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Cloud\Aiplatform\V1\JobService::initOnce(); - parent::__construct($data); - } - - /** - * Required. The name of the BatchPredictionJob to cancel. - * Format: - * `projects/{project}/locations/{location}/batchPredictionJobs/{batch_prediction_job}` - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - * @return string - */ - public function getName() - { - return $this->name; - } - - /** - * Required. The name of the BatchPredictionJob to cancel. - * Format: - * `projects/{project}/locations/{location}/batchPredictionJobs/{batch_prediction_job}` - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setName($var) - { - GPBUtil::checkString($var, True); - $this->name = $var; - - return $this; - } - -} - diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CancelCustomJobRequest.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CancelCustomJobRequest.php deleted file mode 100644 index 25ee68df6bf6..000000000000 --- a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CancelCustomJobRequest.php +++ /dev/null @@ -1,92 +0,0 @@ -google.cloud.aiplatform.v1.CancelCustomJobRequest - */ -class CancelCustomJobRequest extends \Google\Protobuf\Internal\Message -{ - /** - * Required. The name of the CustomJob to cancel. - * Format: - * `projects/{project}/locations/{location}/customJobs/{custom_job}` - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - */ - protected $name = ''; - - /** - * @param string $name Required. The name of the CustomJob to cancel. - * Format: - * `projects/{project}/locations/{location}/customJobs/{custom_job}` - * Please see {@see JobServiceClient::customJobName()} for help formatting this field. - * - * @return \Google\Cloud\AIPlatform\V1\CancelCustomJobRequest - * - * @experimental - */ - public static function build(string $name): self - { - return (new self()) - ->setName($name); - } - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $name - * Required. The name of the CustomJob to cancel. - * Format: - * `projects/{project}/locations/{location}/customJobs/{custom_job}` - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Cloud\Aiplatform\V1\JobService::initOnce(); - parent::__construct($data); - } - - /** - * Required. The name of the CustomJob to cancel. - * Format: - * `projects/{project}/locations/{location}/customJobs/{custom_job}` - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - * @return string - */ - public function getName() - { - return $this->name; - } - - /** - * Required. The name of the CustomJob to cancel. - * Format: - * `projects/{project}/locations/{location}/customJobs/{custom_job}` - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setName($var) - { - GPBUtil::checkString($var, True); - $this->name = $var; - - return $this; - } - -} - diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CancelDataLabelingJobRequest.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CancelDataLabelingJobRequest.php deleted file mode 100644 index e8c568532703..000000000000 --- a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CancelDataLabelingJobRequest.php +++ /dev/null @@ -1,92 +0,0 @@ -google.cloud.aiplatform.v1.CancelDataLabelingJobRequest - */ -class CancelDataLabelingJobRequest extends \Google\Protobuf\Internal\Message -{ - /** - * Required. The name of the DataLabelingJob. - * Format: - * `projects/{project}/locations/{location}/dataLabelingJobs/{data_labeling_job}` - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - */ - protected $name = ''; - - /** - * @param string $name Required. The name of the DataLabelingJob. - * Format: - * `projects/{project}/locations/{location}/dataLabelingJobs/{data_labeling_job}` - * Please see {@see JobServiceClient::dataLabelingJobName()} for help formatting this field. - * - * @return \Google\Cloud\AIPlatform\V1\CancelDataLabelingJobRequest - * - * @experimental - */ - public static function build(string $name): self - { - return (new self()) - ->setName($name); - } - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $name - * Required. The name of the DataLabelingJob. - * Format: - * `projects/{project}/locations/{location}/dataLabelingJobs/{data_labeling_job}` - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Cloud\Aiplatform\V1\JobService::initOnce(); - parent::__construct($data); - } - - /** - * Required. The name of the DataLabelingJob. - * Format: - * `projects/{project}/locations/{location}/dataLabelingJobs/{data_labeling_job}` - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - * @return string - */ - public function getName() - { - return $this->name; - } - - /** - * Required. The name of the DataLabelingJob. - * Format: - * `projects/{project}/locations/{location}/dataLabelingJobs/{data_labeling_job}` - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setName($var) - { - GPBUtil::checkString($var, True); - $this->name = $var; - - return $this; - } - -} - diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CancelHyperparameterTuningJobRequest.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CancelHyperparameterTuningJobRequest.php deleted file mode 100644 index 4705d020add8..000000000000 --- a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CancelHyperparameterTuningJobRequest.php +++ /dev/null @@ -1,92 +0,0 @@ -google.cloud.aiplatform.v1.CancelHyperparameterTuningJobRequest - */ -class CancelHyperparameterTuningJobRequest extends \Google\Protobuf\Internal\Message -{ - /** - * Required. The name of the HyperparameterTuningJob to cancel. - * Format: - * `projects/{project}/locations/{location}/hyperparameterTuningJobs/{hyperparameter_tuning_job}` - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - */ - protected $name = ''; - - /** - * @param string $name Required. The name of the HyperparameterTuningJob to cancel. - * Format: - * `projects/{project}/locations/{location}/hyperparameterTuningJobs/{hyperparameter_tuning_job}` - * Please see {@see JobServiceClient::hyperparameterTuningJobName()} for help formatting this field. - * - * @return \Google\Cloud\AIPlatform\V1\CancelHyperparameterTuningJobRequest - * - * @experimental - */ - public static function build(string $name): self - { - return (new self()) - ->setName($name); - } - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $name - * Required. The name of the HyperparameterTuningJob to cancel. - * Format: - * `projects/{project}/locations/{location}/hyperparameterTuningJobs/{hyperparameter_tuning_job}` - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Cloud\Aiplatform\V1\JobService::initOnce(); - parent::__construct($data); - } - - /** - * Required. The name of the HyperparameterTuningJob to cancel. - * Format: - * `projects/{project}/locations/{location}/hyperparameterTuningJobs/{hyperparameter_tuning_job}` - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - * @return string - */ - public function getName() - { - return $this->name; - } - - /** - * Required. The name of the HyperparameterTuningJob to cancel. - * Format: - * `projects/{project}/locations/{location}/hyperparameterTuningJobs/{hyperparameter_tuning_job}` - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setName($var) - { - GPBUtil::checkString($var, True); - $this->name = $var; - - return $this; - } - -} - diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CancelNasJobRequest.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CancelNasJobRequest.php deleted file mode 100644 index f594cf23a0eb..000000000000 --- a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CancelNasJobRequest.php +++ /dev/null @@ -1,92 +0,0 @@ -google.cloud.aiplatform.v1.CancelNasJobRequest - */ -class CancelNasJobRequest extends \Google\Protobuf\Internal\Message -{ - /** - * Required. The name of the NasJob to cancel. - * Format: - * `projects/{project}/locations/{location}/nasJobs/{nas_job}` - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - */ - protected $name = ''; - - /** - * @param string $name Required. The name of the NasJob to cancel. - * Format: - * `projects/{project}/locations/{location}/nasJobs/{nas_job}` - * Please see {@see JobServiceClient::nasJobName()} for help formatting this field. - * - * @return \Google\Cloud\AIPlatform\V1\CancelNasJobRequest - * - * @experimental - */ - public static function build(string $name): self - { - return (new self()) - ->setName($name); - } - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $name - * Required. The name of the NasJob to cancel. - * Format: - * `projects/{project}/locations/{location}/nasJobs/{nas_job}` - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Cloud\Aiplatform\V1\JobService::initOnce(); - parent::__construct($data); - } - - /** - * Required. The name of the NasJob to cancel. - * Format: - * `projects/{project}/locations/{location}/nasJobs/{nas_job}` - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - * @return string - */ - public function getName() - { - return $this->name; - } - - /** - * Required. The name of the NasJob to cancel. - * Format: - * `projects/{project}/locations/{location}/nasJobs/{nas_job}` - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setName($var) - { - GPBUtil::checkString($var, True); - $this->name = $var; - - return $this; - } - -} - diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CancelPipelineJobRequest.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CancelPipelineJobRequest.php deleted file mode 100644 index 22cd0124a111..000000000000 --- a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CancelPipelineJobRequest.php +++ /dev/null @@ -1,92 +0,0 @@ -google.cloud.aiplatform.v1.CancelPipelineJobRequest - */ -class CancelPipelineJobRequest extends \Google\Protobuf\Internal\Message -{ - /** - * Required. The name of the PipelineJob to cancel. - * Format: - * `projects/{project}/locations/{location}/pipelineJobs/{pipeline_job}` - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - */ - protected $name = ''; - - /** - * @param string $name Required. The name of the PipelineJob to cancel. - * Format: - * `projects/{project}/locations/{location}/pipelineJobs/{pipeline_job}` - * Please see {@see PipelineServiceClient::pipelineJobName()} for help formatting this field. - * - * @return \Google\Cloud\AIPlatform\V1\CancelPipelineJobRequest - * - * @experimental - */ - public static function build(string $name): self - { - return (new self()) - ->setName($name); - } - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $name - * Required. The name of the PipelineJob to cancel. - * Format: - * `projects/{project}/locations/{location}/pipelineJobs/{pipeline_job}` - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Cloud\Aiplatform\V1\PipelineService::initOnce(); - parent::__construct($data); - } - - /** - * Required. The name of the PipelineJob to cancel. - * Format: - * `projects/{project}/locations/{location}/pipelineJobs/{pipeline_job}` - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - * @return string - */ - public function getName() - { - return $this->name; - } - - /** - * Required. The name of the PipelineJob to cancel. - * Format: - * `projects/{project}/locations/{location}/pipelineJobs/{pipeline_job}` - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setName($var) - { - GPBUtil::checkString($var, True); - $this->name = $var; - - return $this; - } - -} - diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CancelTrainingPipelineRequest.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CancelTrainingPipelineRequest.php deleted file mode 100644 index 2566bb7d2ba5..000000000000 --- a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CancelTrainingPipelineRequest.php +++ /dev/null @@ -1,92 +0,0 @@ -google.cloud.aiplatform.v1.CancelTrainingPipelineRequest - */ -class CancelTrainingPipelineRequest extends \Google\Protobuf\Internal\Message -{ - /** - * Required. The name of the TrainingPipeline to cancel. - * Format: - * `projects/{project}/locations/{location}/trainingPipelines/{training_pipeline}` - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - */ - protected $name = ''; - - /** - * @param string $name Required. The name of the TrainingPipeline to cancel. - * Format: - * `projects/{project}/locations/{location}/trainingPipelines/{training_pipeline}` - * Please see {@see PipelineServiceClient::trainingPipelineName()} for help formatting this field. - * - * @return \Google\Cloud\AIPlatform\V1\CancelTrainingPipelineRequest - * - * @experimental - */ - public static function build(string $name): self - { - return (new self()) - ->setName($name); - } - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $name - * Required. The name of the TrainingPipeline to cancel. - * Format: - * `projects/{project}/locations/{location}/trainingPipelines/{training_pipeline}` - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Cloud\Aiplatform\V1\PipelineService::initOnce(); - parent::__construct($data); - } - - /** - * Required. The name of the TrainingPipeline to cancel. - * Format: - * `projects/{project}/locations/{location}/trainingPipelines/{training_pipeline}` - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - * @return string - */ - public function getName() - { - return $this->name; - } - - /** - * Required. The name of the TrainingPipeline to cancel. - * Format: - * `projects/{project}/locations/{location}/trainingPipelines/{training_pipeline}` - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setName($var) - { - GPBUtil::checkString($var, True); - $this->name = $var; - - return $this; - } - -} - diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CancelTuningJobRequest.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CancelTuningJobRequest.php deleted file mode 100644 index 446445bd9371..000000000000 --- a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CancelTuningJobRequest.php +++ /dev/null @@ -1,87 +0,0 @@ -google.cloud.aiplatform.v1.CancelTuningJobRequest - */ -class CancelTuningJobRequest extends \Google\Protobuf\Internal\Message -{ - /** - * Required. The name of the TuningJob to cancel. Format: - * `projects/{project}/locations/{location}/tuningJobs/{tuning_job}` - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - */ - protected $name = ''; - - /** - * @param string $name Required. The name of the TuningJob to cancel. Format: - * `projects/{project}/locations/{location}/tuningJobs/{tuning_job}` - * Please see {@see GenAiTuningServiceClient::tuningJobName()} for help formatting this field. - * - * @return \Google\Cloud\AIPlatform\V1\CancelTuningJobRequest - * - * @experimental - */ - public static function build(string $name): self - { - return (new self()) - ->setName($name); - } - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $name - * Required. The name of the TuningJob to cancel. Format: - * `projects/{project}/locations/{location}/tuningJobs/{tuning_job}` - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Cloud\Aiplatform\V1\GenaiTuningService::initOnce(); - parent::__construct($data); - } - - /** - * Required. The name of the TuningJob to cancel. Format: - * `projects/{project}/locations/{location}/tuningJobs/{tuning_job}` - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - * @return string - */ - public function getName() - { - return $this->name; - } - - /** - * Required. The name of the TuningJob to cancel. Format: - * `projects/{project}/locations/{location}/tuningJobs/{tuning_job}` - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setName($var) - { - GPBUtil::checkString($var, True); - $this->name = $var; - - return $this; - } - -} - diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/Candidate.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/Candidate.php deleted file mode 100644 index 65c4e00b517a..000000000000 --- a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/Candidate.php +++ /dev/null @@ -1,323 +0,0 @@ -google.cloud.aiplatform.v1.Candidate - */ -class Candidate extends \Google\Protobuf\Internal\Message -{ - /** - * Output only. Index of the candidate. - * - * Generated from protobuf field int32 index = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $index = 0; - /** - * Output only. Content parts of the candidate. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.Content content = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $content = null; - /** - * Output only. The reason why the model stopped generating tokens. - * If empty, the model has not stopped generating the tokens. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.Candidate.FinishReason finish_reason = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $finish_reason = 0; - /** - * Output only. List of ratings for the safety of a response candidate. - * There is at most one rating per category. - * - * Generated from protobuf field repeated .google.cloud.aiplatform.v1.SafetyRating safety_ratings = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - private $safety_ratings; - /** - * Output only. Describes the reason the mode stopped generating tokens in - * more detail. This is only filled when `finish_reason` is set. - * - * Generated from protobuf field optional string finish_message = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $finish_message = null; - /** - * Output only. Source attribution of the generated content. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.CitationMetadata citation_metadata = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $citation_metadata = null; - /** - * Output only. Metadata specifies sources used to ground generated content. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.GroundingMetadata grounding_metadata = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $grounding_metadata = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type int $index - * Output only. Index of the candidate. - * @type \Google\Cloud\AIPlatform\V1\Content $content - * Output only. Content parts of the candidate. - * @type int $finish_reason - * Output only. The reason why the model stopped generating tokens. - * If empty, the model has not stopped generating the tokens. - * @type array<\Google\Cloud\AIPlatform\V1\SafetyRating>|\Google\Protobuf\Internal\RepeatedField $safety_ratings - * Output only. List of ratings for the safety of a response candidate. - * There is at most one rating per category. - * @type string $finish_message - * Output only. Describes the reason the mode stopped generating tokens in - * more detail. This is only filled when `finish_reason` is set. - * @type \Google\Cloud\AIPlatform\V1\CitationMetadata $citation_metadata - * Output only. Source attribution of the generated content. - * @type \Google\Cloud\AIPlatform\V1\GroundingMetadata $grounding_metadata - * Output only. Metadata specifies sources used to ground generated content. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Cloud\Aiplatform\V1\Content::initOnce(); - parent::__construct($data); - } - - /** - * Output only. Index of the candidate. - * - * Generated from protobuf field int32 index = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return int - */ - public function getIndex() - { - return $this->index; - } - - /** - * Output only. Index of the candidate. - * - * Generated from protobuf field int32 index = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param int $var - * @return $this - */ - public function setIndex($var) - { - GPBUtil::checkInt32($var); - $this->index = $var; - - return $this; - } - - /** - * Output only. Content parts of the candidate. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.Content content = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return \Google\Cloud\AIPlatform\V1\Content|null - */ - public function getContent() - { - return $this->content; - } - - public function hasContent() - { - return isset($this->content); - } - - public function clearContent() - { - unset($this->content); - } - - /** - * Output only. Content parts of the candidate. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.Content content = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param \Google\Cloud\AIPlatform\V1\Content $var - * @return $this - */ - public function setContent($var) - { - GPBUtil::checkMessage($var, \Google\Cloud\AIPlatform\V1\Content::class); - $this->content = $var; - - return $this; - } - - /** - * Output only. The reason why the model stopped generating tokens. - * If empty, the model has not stopped generating the tokens. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.Candidate.FinishReason finish_reason = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return int - */ - public function getFinishReason() - { - return $this->finish_reason; - } - - /** - * Output only. The reason why the model stopped generating tokens. - * If empty, the model has not stopped generating the tokens. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.Candidate.FinishReason finish_reason = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param int $var - * @return $this - */ - public function setFinishReason($var) - { - GPBUtil::checkEnum($var, \Google\Cloud\AIPlatform\V1\Candidate\FinishReason::class); - $this->finish_reason = $var; - - return $this; - } - - /** - * Output only. List of ratings for the safety of a response candidate. - * There is at most one rating per category. - * - * Generated from protobuf field repeated .google.cloud.aiplatform.v1.SafetyRating safety_ratings = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getSafetyRatings() - { - return $this->safety_ratings; - } - - /** - * Output only. List of ratings for the safety of a response candidate. - * There is at most one rating per category. - * - * Generated from protobuf field repeated .google.cloud.aiplatform.v1.SafetyRating safety_ratings = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param array<\Google\Cloud\AIPlatform\V1\SafetyRating>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setSafetyRatings($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\AIPlatform\V1\SafetyRating::class); - $this->safety_ratings = $arr; - - return $this; - } - - /** - * Output only. Describes the reason the mode stopped generating tokens in - * more detail. This is only filled when `finish_reason` is set. - * - * Generated from protobuf field optional string finish_message = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return string - */ - public function getFinishMessage() - { - return isset($this->finish_message) ? $this->finish_message : ''; - } - - public function hasFinishMessage() - { - return isset($this->finish_message); - } - - public function clearFinishMessage() - { - unset($this->finish_message); - } - - /** - * Output only. Describes the reason the mode stopped generating tokens in - * more detail. This is only filled when `finish_reason` is set. - * - * Generated from protobuf field optional string finish_message = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param string $var - * @return $this - */ - public function setFinishMessage($var) - { - GPBUtil::checkString($var, True); - $this->finish_message = $var; - - return $this; - } - - /** - * Output only. Source attribution of the generated content. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.CitationMetadata citation_metadata = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return \Google\Cloud\AIPlatform\V1\CitationMetadata|null - */ - public function getCitationMetadata() - { - return $this->citation_metadata; - } - - public function hasCitationMetadata() - { - return isset($this->citation_metadata); - } - - public function clearCitationMetadata() - { - unset($this->citation_metadata); - } - - /** - * Output only. Source attribution of the generated content. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.CitationMetadata citation_metadata = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param \Google\Cloud\AIPlatform\V1\CitationMetadata $var - * @return $this - */ - public function setCitationMetadata($var) - { - GPBUtil::checkMessage($var, \Google\Cloud\AIPlatform\V1\CitationMetadata::class); - $this->citation_metadata = $var; - - return $this; - } - - /** - * Output only. Metadata specifies sources used to ground generated content. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.GroundingMetadata grounding_metadata = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return \Google\Cloud\AIPlatform\V1\GroundingMetadata|null - */ - public function getGroundingMetadata() - { - return $this->grounding_metadata; - } - - public function hasGroundingMetadata() - { - return isset($this->grounding_metadata); - } - - public function clearGroundingMetadata() - { - unset($this->grounding_metadata); - } - - /** - * Output only. Metadata specifies sources used to ground generated content. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.GroundingMetadata grounding_metadata = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param \Google\Cloud\AIPlatform\V1\GroundingMetadata $var - * @return $this - */ - public function setGroundingMetadata($var) - { - GPBUtil::checkMessage($var, \Google\Cloud\AIPlatform\V1\GroundingMetadata::class); - $this->grounding_metadata = $var; - - return $this; - } - -} - diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/Candidate/FinishReason.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/Candidate/FinishReason.php deleted file mode 100644 index 15cc54b2fd14..000000000000 --- a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/Candidate/FinishReason.php +++ /dev/null @@ -1,120 +0,0 @@ -google.cloud.aiplatform.v1.Candidate.FinishReason - */ -class FinishReason -{ - /** - * The finish reason is unspecified. - * - * Generated from protobuf enum FINISH_REASON_UNSPECIFIED = 0; - */ - const FINISH_REASON_UNSPECIFIED = 0; - /** - * Natural stop point of the model or provided stop sequence. - * - * Generated from protobuf enum STOP = 1; - */ - const STOP = 1; - /** - * The maximum number of tokens as specified in the request was reached. - * - * Generated from protobuf enum MAX_TOKENS = 2; - */ - const MAX_TOKENS = 2; - /** - * The token generation was stopped as the response was flagged for safety - * reasons. NOTE: When streaming the Candidate.content will be empty if - * content filters blocked the output. - * - * Generated from protobuf enum SAFETY = 3; - */ - const SAFETY = 3; - /** - * The token generation was stopped as the response was flagged for - * unauthorized citations. - * - * Generated from protobuf enum RECITATION = 4; - */ - const RECITATION = 4; - /** - * All other reasons that stopped the token generation - * - * Generated from protobuf enum OTHER = 5; - */ - const OTHER = 5; - /** - * The token generation was stopped as the response was flagged for the - * terms which are included from the terminology blocklist. - * - * Generated from protobuf enum BLOCKLIST = 6; - */ - const BLOCKLIST = 6; - /** - * The token generation was stopped as the response was flagged for - * the prohibited contents. - * - * Generated from protobuf enum PROHIBITED_CONTENT = 7; - */ - const PROHIBITED_CONTENT = 7; - /** - * The token generation was stopped as the response was flagged for - * Sensitive Personally Identifiable Information (SPII) contents. - * - * Generated from protobuf enum SPII = 8; - */ - const SPII = 8; - /** - * The function call generated by the model is invalid. - * - * Generated from protobuf enum MALFORMED_FUNCTION_CALL = 9; - */ - const MALFORMED_FUNCTION_CALL = 9; - - private static $valueToName = [ - self::FINISH_REASON_UNSPECIFIED => 'FINISH_REASON_UNSPECIFIED', - self::STOP => 'STOP', - self::MAX_TOKENS => 'MAX_TOKENS', - self::SAFETY => 'SAFETY', - self::RECITATION => 'RECITATION', - self::OTHER => 'OTHER', - self::BLOCKLIST => 'BLOCKLIST', - self::PROHIBITED_CONTENT => 'PROHIBITED_CONTENT', - self::SPII => 'SPII', - self::MALFORMED_FUNCTION_CALL => 'MALFORMED_FUNCTION_CALL', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(FinishReason::class, \Google\Cloud\AIPlatform\V1\Candidate_FinishReason::class); - diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CheckTrialEarlyStoppingStateMetatdata.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CheckTrialEarlyStoppingStateMetatdata.php deleted file mode 100644 index 9a84e406a556..000000000000 --- a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CheckTrialEarlyStoppingStateMetatdata.php +++ /dev/null @@ -1,147 +0,0 @@ -google.cloud.aiplatform.v1.CheckTrialEarlyStoppingStateMetatdata - */ -class CheckTrialEarlyStoppingStateMetatdata extends \Google\Protobuf\Internal\Message -{ - /** - * Operation metadata for suggesting Trials. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.GenericOperationMetadata generic_metadata = 1; - */ - protected $generic_metadata = null; - /** - * The name of the Study that the Trial belongs to. - * - * Generated from protobuf field string study = 2; - */ - protected $study = ''; - /** - * The Trial name. - * - * Generated from protobuf field string trial = 3; - */ - protected $trial = ''; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type \Google\Cloud\AIPlatform\V1\GenericOperationMetadata $generic_metadata - * Operation metadata for suggesting Trials. - * @type string $study - * The name of the Study that the Trial belongs to. - * @type string $trial - * The Trial name. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Cloud\Aiplatform\V1\VizierService::initOnce(); - parent::__construct($data); - } - - /** - * Operation metadata for suggesting Trials. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.GenericOperationMetadata generic_metadata = 1; - * @return \Google\Cloud\AIPlatform\V1\GenericOperationMetadata|null - */ - public function getGenericMetadata() - { - return $this->generic_metadata; - } - - public function hasGenericMetadata() - { - return isset($this->generic_metadata); - } - - public function clearGenericMetadata() - { - unset($this->generic_metadata); - } - - /** - * Operation metadata for suggesting Trials. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.GenericOperationMetadata generic_metadata = 1; - * @param \Google\Cloud\AIPlatform\V1\GenericOperationMetadata $var - * @return $this - */ - public function setGenericMetadata($var) - { - GPBUtil::checkMessage($var, \Google\Cloud\AIPlatform\V1\GenericOperationMetadata::class); - $this->generic_metadata = $var; - - return $this; - } - - /** - * The name of the Study that the Trial belongs to. - * - * Generated from protobuf field string study = 2; - * @return string - */ - public function getStudy() - { - return $this->study; - } - - /** - * The name of the Study that the Trial belongs to. - * - * Generated from protobuf field string study = 2; - * @param string $var - * @return $this - */ - public function setStudy($var) - { - GPBUtil::checkString($var, True); - $this->study = $var; - - return $this; - } - - /** - * The Trial name. - * - * Generated from protobuf field string trial = 3; - * @return string - */ - public function getTrial() - { - return $this->trial; - } - - /** - * The Trial name. - * - * Generated from protobuf field string trial = 3; - * @param string $var - * @return $this - */ - public function setTrial($var) - { - GPBUtil::checkString($var, True); - $this->trial = $var; - - return $this; - } - -} - diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CheckTrialEarlyStoppingStateRequest.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CheckTrialEarlyStoppingStateRequest.php deleted file mode 100644 index c27050cd570c..000000000000 --- a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CheckTrialEarlyStoppingStateRequest.php +++ /dev/null @@ -1,76 +0,0 @@ -google.cloud.aiplatform.v1.CheckTrialEarlyStoppingStateRequest - */ -class CheckTrialEarlyStoppingStateRequest extends \Google\Protobuf\Internal\Message -{ - /** - * Required. The Trial's name. - * Format: - * `projects/{project}/locations/{location}/studies/{study}/trials/{trial}` - * - * Generated from protobuf field string trial_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - */ - protected $trial_name = ''; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $trial_name - * Required. The Trial's name. - * Format: - * `projects/{project}/locations/{location}/studies/{study}/trials/{trial}` - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Cloud\Aiplatform\V1\VizierService::initOnce(); - parent::__construct($data); - } - - /** - * Required. The Trial's name. - * Format: - * `projects/{project}/locations/{location}/studies/{study}/trials/{trial}` - * - * Generated from protobuf field string trial_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - * @return string - */ - public function getTrialName() - { - return $this->trial_name; - } - - /** - * Required. The Trial's name. - * Format: - * `projects/{project}/locations/{location}/studies/{study}/trials/{trial}` - * - * Generated from protobuf field string trial_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setTrialName($var) - { - GPBUtil::checkString($var, True); - $this->trial_name = $var; - - return $this; - } - -} - diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CheckTrialEarlyStoppingStateResponse.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CheckTrialEarlyStoppingStateResponse.php deleted file mode 100644 index 480a948c3d90..000000000000 --- a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CheckTrialEarlyStoppingStateResponse.php +++ /dev/null @@ -1,68 +0,0 @@ -google.cloud.aiplatform.v1.CheckTrialEarlyStoppingStateResponse - */ -class CheckTrialEarlyStoppingStateResponse extends \Google\Protobuf\Internal\Message -{ - /** - * True if the Trial should stop. - * - * Generated from protobuf field bool should_stop = 1; - */ - protected $should_stop = false; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type bool $should_stop - * True if the Trial should stop. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Cloud\Aiplatform\V1\VizierService::initOnce(); - parent::__construct($data); - } - - /** - * True if the Trial should stop. - * - * Generated from protobuf field bool should_stop = 1; - * @return bool - */ - public function getShouldStop() - { - return $this->should_stop; - } - - /** - * True if the Trial should stop. - * - * Generated from protobuf field bool should_stop = 1; - * @param bool $var - * @return $this - */ - public function setShouldStop($var) - { - GPBUtil::checkBool($var); - $this->should_stop = $var; - - return $this; - } - -} - diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/Citation.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/Citation.php deleted file mode 100644 index 7fc4c4f8df49..000000000000 --- a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/Citation.php +++ /dev/null @@ -1,247 +0,0 @@ -google.cloud.aiplatform.v1.Citation - */ -class Citation extends \Google\Protobuf\Internal\Message -{ - /** - * Output only. Start index into the content. - * - * Generated from protobuf field int32 start_index = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $start_index = 0; - /** - * Output only. End index into the content. - * - * Generated from protobuf field int32 end_index = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $end_index = 0; - /** - * Output only. Url reference of the attribution. - * - * Generated from protobuf field string uri = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $uri = ''; - /** - * Output only. Title of the attribution. - * - * Generated from protobuf field string title = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $title = ''; - /** - * Output only. License of the attribution. - * - * Generated from protobuf field string license = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $license = ''; - /** - * Output only. Publication date of the attribution. - * - * Generated from protobuf field .google.type.Date publication_date = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $publication_date = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type int $start_index - * Output only. Start index into the content. - * @type int $end_index - * Output only. End index into the content. - * @type string $uri - * Output only. Url reference of the attribution. - * @type string $title - * Output only. Title of the attribution. - * @type string $license - * Output only. License of the attribution. - * @type \Google\Type\Date $publication_date - * Output only. Publication date of the attribution. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Cloud\Aiplatform\V1\Content::initOnce(); - parent::__construct($data); - } - - /** - * Output only. Start index into the content. - * - * Generated from protobuf field int32 start_index = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return int - */ - public function getStartIndex() - { - return $this->start_index; - } - - /** - * Output only. Start index into the content. - * - * Generated from protobuf field int32 start_index = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param int $var - * @return $this - */ - public function setStartIndex($var) - { - GPBUtil::checkInt32($var); - $this->start_index = $var; - - return $this; - } - - /** - * Output only. End index into the content. - * - * Generated from protobuf field int32 end_index = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return int - */ - public function getEndIndex() - { - return $this->end_index; - } - - /** - * Output only. End index into the content. - * - * Generated from protobuf field int32 end_index = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param int $var - * @return $this - */ - public function setEndIndex($var) - { - GPBUtil::checkInt32($var); - $this->end_index = $var; - - return $this; - } - - /** - * Output only. Url reference of the attribution. - * - * Generated from protobuf field string uri = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return string - */ - public function getUri() - { - return $this->uri; - } - - /** - * Output only. Url reference of the attribution. - * - * Generated from protobuf field string uri = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param string $var - * @return $this - */ - public function setUri($var) - { - GPBUtil::checkString($var, True); - $this->uri = $var; - - return $this; - } - - /** - * Output only. Title of the attribution. - * - * Generated from protobuf field string title = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return string - */ - public function getTitle() - { - return $this->title; - } - - /** - * Output only. Title of the attribution. - * - * Generated from protobuf field string title = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param string $var - * @return $this - */ - public function setTitle($var) - { - GPBUtil::checkString($var, True); - $this->title = $var; - - return $this; - } - - /** - * Output only. License of the attribution. - * - * Generated from protobuf field string license = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return string - */ - public function getLicense() - { - return $this->license; - } - - /** - * Output only. License of the attribution. - * - * Generated from protobuf field string license = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param string $var - * @return $this - */ - public function setLicense($var) - { - GPBUtil::checkString($var, True); - $this->license = $var; - - return $this; - } - - /** - * Output only. Publication date of the attribution. - * - * Generated from protobuf field .google.type.Date publication_date = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return \Google\Type\Date|null - */ - public function getPublicationDate() - { - return $this->publication_date; - } - - public function hasPublicationDate() - { - return isset($this->publication_date); - } - - public function clearPublicationDate() - { - unset($this->publication_date); - } - - /** - * Output only. Publication date of the attribution. - * - * Generated from protobuf field .google.type.Date publication_date = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param \Google\Type\Date $var - * @return $this - */ - public function setPublicationDate($var) - { - GPBUtil::checkMessage($var, \Google\Type\Date::class); - $this->publication_date = $var; - - return $this; - } - -} - diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CitationMetadata.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CitationMetadata.php deleted file mode 100644 index adf9d9d48024..000000000000 --- a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CitationMetadata.php +++ /dev/null @@ -1,67 +0,0 @@ -google.cloud.aiplatform.v1.CitationMetadata - */ -class CitationMetadata extends \Google\Protobuf\Internal\Message -{ - /** - * Output only. List of citations. - * - * Generated from protobuf field repeated .google.cloud.aiplatform.v1.Citation citations = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - private $citations; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type array<\Google\Cloud\AIPlatform\V1\Citation>|\Google\Protobuf\Internal\RepeatedField $citations - * Output only. List of citations. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Cloud\Aiplatform\V1\Content::initOnce(); - parent::__construct($data); - } - - /** - * Output only. List of citations. - * - * Generated from protobuf field repeated .google.cloud.aiplatform.v1.Citation citations = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getCitations() - { - return $this->citations; - } - - /** - * Output only. List of citations. - * - * Generated from protobuf field repeated .google.cloud.aiplatform.v1.Citation citations = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param array<\Google\Cloud\AIPlatform\V1\Citation>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setCitations($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\AIPlatform\V1\Citation::class); - $this->citations = $arr; - - return $this; - } - -} - diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CompleteTrialRequest.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CompleteTrialRequest.php deleted file mode 100644 index 4690f368b311..000000000000 --- a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CompleteTrialRequest.php +++ /dev/null @@ -1,204 +0,0 @@ -google.cloud.aiplatform.v1.CompleteTrialRequest - */ -class CompleteTrialRequest extends \Google\Protobuf\Internal\Message -{ - /** - * Required. The Trial's name. - * Format: - * `projects/{project}/locations/{location}/studies/{study}/trials/{trial}` - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - */ - protected $name = ''; - /** - * Optional. If provided, it will be used as the completed Trial's - * final_measurement; Otherwise, the service will auto-select a - * previously reported measurement as the final-measurement - * - * Generated from protobuf field .google.cloud.aiplatform.v1.Measurement final_measurement = 2 [(.google.api.field_behavior) = OPTIONAL]; - */ - protected $final_measurement = null; - /** - * Optional. True if the Trial cannot be run with the given Parameter, and - * final_measurement will be ignored. - * - * Generated from protobuf field bool trial_infeasible = 3 [(.google.api.field_behavior) = OPTIONAL]; - */ - protected $trial_infeasible = false; - /** - * Optional. A human readable reason why the trial was infeasible. This should - * only be provided if `trial_infeasible` is true. - * - * Generated from protobuf field string infeasible_reason = 4 [(.google.api.field_behavior) = OPTIONAL]; - */ - protected $infeasible_reason = ''; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $name - * Required. The Trial's name. - * Format: - * `projects/{project}/locations/{location}/studies/{study}/trials/{trial}` - * @type \Google\Cloud\AIPlatform\V1\Measurement $final_measurement - * Optional. If provided, it will be used as the completed Trial's - * final_measurement; Otherwise, the service will auto-select a - * previously reported measurement as the final-measurement - * @type bool $trial_infeasible - * Optional. True if the Trial cannot be run with the given Parameter, and - * final_measurement will be ignored. - * @type string $infeasible_reason - * Optional. A human readable reason why the trial was infeasible. This should - * only be provided if `trial_infeasible` is true. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Cloud\Aiplatform\V1\VizierService::initOnce(); - parent::__construct($data); - } - - /** - * Required. The Trial's name. - * Format: - * `projects/{project}/locations/{location}/studies/{study}/trials/{trial}` - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - * @return string - */ - public function getName() - { - return $this->name; - } - - /** - * Required. The Trial's name. - * Format: - * `projects/{project}/locations/{location}/studies/{study}/trials/{trial}` - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setName($var) - { - GPBUtil::checkString($var, True); - $this->name = $var; - - return $this; - } - - /** - * Optional. If provided, it will be used as the completed Trial's - * final_measurement; Otherwise, the service will auto-select a - * previously reported measurement as the final-measurement - * - * Generated from protobuf field .google.cloud.aiplatform.v1.Measurement final_measurement = 2 [(.google.api.field_behavior) = OPTIONAL]; - * @return \Google\Cloud\AIPlatform\V1\Measurement|null - */ - public function getFinalMeasurement() - { - return $this->final_measurement; - } - - public function hasFinalMeasurement() - { - return isset($this->final_measurement); - } - - public function clearFinalMeasurement() - { - unset($this->final_measurement); - } - - /** - * Optional. If provided, it will be used as the completed Trial's - * final_measurement; Otherwise, the service will auto-select a - * previously reported measurement as the final-measurement - * - * Generated from protobuf field .google.cloud.aiplatform.v1.Measurement final_measurement = 2 [(.google.api.field_behavior) = OPTIONAL]; - * @param \Google\Cloud\AIPlatform\V1\Measurement $var - * @return $this - */ - public function setFinalMeasurement($var) - { - GPBUtil::checkMessage($var, \Google\Cloud\AIPlatform\V1\Measurement::class); - $this->final_measurement = $var; - - return $this; - } - - /** - * Optional. True if the Trial cannot be run with the given Parameter, and - * final_measurement will be ignored. - * - * Generated from protobuf field bool trial_infeasible = 3 [(.google.api.field_behavior) = OPTIONAL]; - * @return bool - */ - public function getTrialInfeasible() - { - return $this->trial_infeasible; - } - - /** - * Optional. True if the Trial cannot be run with the given Parameter, and - * final_measurement will be ignored. - * - * Generated from protobuf field bool trial_infeasible = 3 [(.google.api.field_behavior) = OPTIONAL]; - * @param bool $var - * @return $this - */ - public function setTrialInfeasible($var) - { - GPBUtil::checkBool($var); - $this->trial_infeasible = $var; - - return $this; - } - - /** - * Optional. A human readable reason why the trial was infeasible. This should - * only be provided if `trial_infeasible` is true. - * - * Generated from protobuf field string infeasible_reason = 4 [(.google.api.field_behavior) = OPTIONAL]; - * @return string - */ - public function getInfeasibleReason() - { - return $this->infeasible_reason; - } - - /** - * Optional. A human readable reason why the trial was infeasible. This should - * only be provided if `trial_infeasible` is true. - * - * Generated from protobuf field string infeasible_reason = 4 [(.google.api.field_behavior) = OPTIONAL]; - * @param string $var - * @return $this - */ - public function setInfeasibleReason($var) - { - GPBUtil::checkString($var, True); - $this->infeasible_reason = $var; - - return $this; - } - -} - diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CompletionStats.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CompletionStats.php deleted file mode 100644 index a48d0f14ba2b..000000000000 --- a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CompletionStats.php +++ /dev/null @@ -1,194 +0,0 @@ -google.cloud.aiplatform.v1.CompletionStats - */ -class CompletionStats extends \Google\Protobuf\Internal\Message -{ - /** - * Output only. The number of entities that had been processed successfully. - * - * Generated from protobuf field int64 successful_count = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $successful_count = 0; - /** - * Output only. The number of entities for which any error was encountered. - * - * Generated from protobuf field int64 failed_count = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $failed_count = 0; - /** - * Output only. In cases when enough errors are encountered a job, pipeline, - * or operation may be failed as a whole. Below is the number of entities for - * which the processing had not been finished (either in successful or failed - * state). Set to -1 if the number is unknown (for example, the operation - * failed before the total entity number could be collected). - * - * Generated from protobuf field int64 incomplete_count = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $incomplete_count = 0; - /** - * Output only. The number of the successful forecast points that are - * generated by the forecasting model. This is ONLY used by the forecasting - * batch prediction. - * - * Generated from protobuf field int64 successful_forecast_point_count = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $successful_forecast_point_count = 0; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type int|string $successful_count - * Output only. The number of entities that had been processed successfully. - * @type int|string $failed_count - * Output only. The number of entities for which any error was encountered. - * @type int|string $incomplete_count - * Output only. In cases when enough errors are encountered a job, pipeline, - * or operation may be failed as a whole. Below is the number of entities for - * which the processing had not been finished (either in successful or failed - * state). Set to -1 if the number is unknown (for example, the operation - * failed before the total entity number could be collected). - * @type int|string $successful_forecast_point_count - * Output only. The number of the successful forecast points that are - * generated by the forecasting model. This is ONLY used by the forecasting - * batch prediction. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Cloud\Aiplatform\V1\CompletionStats::initOnce(); - parent::__construct($data); - } - - /** - * Output only. The number of entities that had been processed successfully. - * - * Generated from protobuf field int64 successful_count = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return int|string - */ - public function getSuccessfulCount() - { - return $this->successful_count; - } - - /** - * Output only. The number of entities that had been processed successfully. - * - * Generated from protobuf field int64 successful_count = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param int|string $var - * @return $this - */ - public function setSuccessfulCount($var) - { - GPBUtil::checkInt64($var); - $this->successful_count = $var; - - return $this; - } - - /** - * Output only. The number of entities for which any error was encountered. - * - * Generated from protobuf field int64 failed_count = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return int|string - */ - public function getFailedCount() - { - return $this->failed_count; - } - - /** - * Output only. The number of entities for which any error was encountered. - * - * Generated from protobuf field int64 failed_count = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param int|string $var - * @return $this - */ - public function setFailedCount($var) - { - GPBUtil::checkInt64($var); - $this->failed_count = $var; - - return $this; - } - - /** - * Output only. In cases when enough errors are encountered a job, pipeline, - * or operation may be failed as a whole. Below is the number of entities for - * which the processing had not been finished (either in successful or failed - * state). Set to -1 if the number is unknown (for example, the operation - * failed before the total entity number could be collected). - * - * Generated from protobuf field int64 incomplete_count = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return int|string - */ - public function getIncompleteCount() - { - return $this->incomplete_count; - } - - /** - * Output only. In cases when enough errors are encountered a job, pipeline, - * or operation may be failed as a whole. Below is the number of entities for - * which the processing had not been finished (either in successful or failed - * state). Set to -1 if the number is unknown (for example, the operation - * failed before the total entity number could be collected). - * - * Generated from protobuf field int64 incomplete_count = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param int|string $var - * @return $this - */ - public function setIncompleteCount($var) - { - GPBUtil::checkInt64($var); - $this->incomplete_count = $var; - - return $this; - } - - /** - * Output only. The number of the successful forecast points that are - * generated by the forecasting model. This is ONLY used by the forecasting - * batch prediction. - * - * Generated from protobuf field int64 successful_forecast_point_count = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return int|string - */ - public function getSuccessfulForecastPointCount() - { - return $this->successful_forecast_point_count; - } - - /** - * Output only. The number of the successful forecast points that are - * generated by the forecasting model. This is ONLY used by the forecasting - * batch prediction. - * - * Generated from protobuf field int64 successful_forecast_point_count = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param int|string $var - * @return $this - */ - public function setSuccessfulForecastPointCount($var) - { - GPBUtil::checkInt64($var); - $this->successful_forecast_point_count = $var; - - return $this; - } - -} - diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ComputeTokensRequest.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ComputeTokensRequest.php deleted file mode 100644 index 32cd15e67194..000000000000 --- a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ComputeTokensRequest.php +++ /dev/null @@ -1,208 +0,0 @@ -google.cloud.aiplatform.v1.ComputeTokensRequest - */ -class ComputeTokensRequest extends \Google\Protobuf\Internal\Message -{ - /** - * Required. The name of the Endpoint requested to get lists of tokens and - * token ids. - * - * Generated from protobuf field string endpoint = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - */ - protected $endpoint = ''; - /** - * Optional. The instances that are the input to token computing API call. - * Schema is identical to the prediction schema of the text model, even for - * the non-text models, like chat models, or Codey models. - * - * Generated from protobuf field repeated .google.protobuf.Value instances = 2 [(.google.api.field_behavior) = OPTIONAL]; - */ - private $instances; - /** - * Optional. The name of the publisher model requested to serve the - * prediction. Format: - * projects/{project}/locations/{location}/publishers/*/models/* - * - * Generated from protobuf field string model = 3 [(.google.api.field_behavior) = OPTIONAL]; - */ - protected $model = ''; - /** - * Optional. Input content. - * - * Generated from protobuf field repeated .google.cloud.aiplatform.v1.Content contents = 4 [(.google.api.field_behavior) = OPTIONAL]; - */ - private $contents; - - /** - * @param string $endpoint Required. The name of the Endpoint requested to get lists of tokens and - * token ids. Please see - * {@see LlmUtilityServiceClient::endpointName()} for help formatting this field. - * @param \Google\Protobuf\Value[] $instances Optional. The instances that are the input to token computing API call. - * Schema is identical to the prediction schema of the text model, even for - * the non-text models, like chat models, or Codey models. - * - * @return \Google\Cloud\AIPlatform\V1\ComputeTokensRequest - * - * @experimental - */ - public static function build(string $endpoint, array $instances): self - { - return (new self()) - ->setEndpoint($endpoint) - ->setInstances($instances); - } - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $endpoint - * Required. The name of the Endpoint requested to get lists of tokens and - * token ids. - * @type array<\Google\Protobuf\Value>|\Google\Protobuf\Internal\RepeatedField $instances - * Optional. The instances that are the input to token computing API call. - * Schema is identical to the prediction schema of the text model, even for - * the non-text models, like chat models, or Codey models. - * @type string $model - * Optional. The name of the publisher model requested to serve the - * prediction. Format: - * projects/{project}/locations/{location}/publishers/*/models/* - * @type array<\Google\Cloud\AIPlatform\V1\Content>|\Google\Protobuf\Internal\RepeatedField $contents - * Optional. Input content. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Cloud\Aiplatform\V1\LlmUtilityService::initOnce(); - parent::__construct($data); - } - - /** - * Required. The name of the Endpoint requested to get lists of tokens and - * token ids. - * - * Generated from protobuf field string endpoint = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - * @return string - */ - public function getEndpoint() - { - return $this->endpoint; - } - - /** - * Required. The name of the Endpoint requested to get lists of tokens and - * token ids. - * - * Generated from protobuf field string endpoint = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setEndpoint($var) - { - GPBUtil::checkString($var, True); - $this->endpoint = $var; - - return $this; - } - - /** - * Optional. The instances that are the input to token computing API call. - * Schema is identical to the prediction schema of the text model, even for - * the non-text models, like chat models, or Codey models. - * - * Generated from protobuf field repeated .google.protobuf.Value instances = 2 [(.google.api.field_behavior) = OPTIONAL]; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getInstances() - { - return $this->instances; - } - - /** - * Optional. The instances that are the input to token computing API call. - * Schema is identical to the prediction schema of the text model, even for - * the non-text models, like chat models, or Codey models. - * - * Generated from protobuf field repeated .google.protobuf.Value instances = 2 [(.google.api.field_behavior) = OPTIONAL]; - * @param array<\Google\Protobuf\Value>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setInstances($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Protobuf\Value::class); - $this->instances = $arr; - - return $this; - } - - /** - * Optional. The name of the publisher model requested to serve the - * prediction. Format: - * projects/{project}/locations/{location}/publishers/*/models/* - * - * Generated from protobuf field string model = 3 [(.google.api.field_behavior) = OPTIONAL]; - * @return string - */ - public function getModel() - { - return $this->model; - } - - /** - * Optional. The name of the publisher model requested to serve the - * prediction. Format: - * projects/{project}/locations/{location}/publishers/*/models/* - * - * Generated from protobuf field string model = 3 [(.google.api.field_behavior) = OPTIONAL]; - * @param string $var - * @return $this - */ - public function setModel($var) - { - GPBUtil::checkString($var, True); - $this->model = $var; - - return $this; - } - - /** - * Optional. Input content. - * - * Generated from protobuf field repeated .google.cloud.aiplatform.v1.Content contents = 4 [(.google.api.field_behavior) = OPTIONAL]; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getContents() - { - return $this->contents; - } - - /** - * Optional. Input content. - * - * Generated from protobuf field repeated .google.cloud.aiplatform.v1.Content contents = 4 [(.google.api.field_behavior) = OPTIONAL]; - * @param array<\Google\Cloud\AIPlatform\V1\Content>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setContents($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\AIPlatform\V1\Content::class); - $this->contents = $arr; - - return $this; - } - -} - diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ComputeTokensResponse.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ComputeTokensResponse.php deleted file mode 100644 index d62d19af34c2..000000000000 --- a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ComputeTokensResponse.php +++ /dev/null @@ -1,75 +0,0 @@ -google.cloud.aiplatform.v1.ComputeTokensResponse - */ -class ComputeTokensResponse extends \Google\Protobuf\Internal\Message -{ - /** - * Lists of tokens info from the input. A ComputeTokensRequest could have - * multiple instances with a prompt in each instance. We also need to return - * lists of tokens info for the request with multiple instances. - * - * Generated from protobuf field repeated .google.cloud.aiplatform.v1.TokensInfo tokens_info = 1; - */ - private $tokens_info; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type array<\Google\Cloud\AIPlatform\V1\TokensInfo>|\Google\Protobuf\Internal\RepeatedField $tokens_info - * Lists of tokens info from the input. A ComputeTokensRequest could have - * multiple instances with a prompt in each instance. We also need to return - * lists of tokens info for the request with multiple instances. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Cloud\Aiplatform\V1\LlmUtilityService::initOnce(); - parent::__construct($data); - } - - /** - * Lists of tokens info from the input. A ComputeTokensRequest could have - * multiple instances with a prompt in each instance. We also need to return - * lists of tokens info for the request with multiple instances. - * - * Generated from protobuf field repeated .google.cloud.aiplatform.v1.TokensInfo tokens_info = 1; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getTokensInfo() - { - return $this->tokens_info; - } - - /** - * Lists of tokens info from the input. A ComputeTokensRequest could have - * multiple instances with a prompt in each instance. We also need to return - * lists of tokens info for the request with multiple instances. - * - * Generated from protobuf field repeated .google.cloud.aiplatform.v1.TokensInfo tokens_info = 1; - * @param array<\Google\Cloud\AIPlatform\V1\TokensInfo>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setTokensInfo($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\AIPlatform\V1\TokensInfo::class); - $this->tokens_info = $arr; - - return $this; - } - -} - diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ContainerRegistryDestination.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ContainerRegistryDestination.php deleted file mode 100644 index 58fbb4c19983..000000000000 --- a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ContainerRegistryDestination.php +++ /dev/null @@ -1,95 +0,0 @@ -google.cloud.aiplatform.v1.ContainerRegistryDestination - */ -class ContainerRegistryDestination extends \Google\Protobuf\Internal\Message -{ - /** - * Required. Container Registry URI of a container image. - * Only Google Container Registry and Artifact Registry are supported now. - * Accepted forms: - * * Google Container Registry path. For example: - * `gcr.io/projectId/imageName:tag`. - * * Artifact Registry path. For example: - * `us-central1-docker.pkg.dev/projectId/repoName/imageName:tag`. - * If a tag is not specified, "latest" will be used as the default tag. - * - * Generated from protobuf field string output_uri = 1 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $output_uri = ''; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $output_uri - * Required. Container Registry URI of a container image. - * Only Google Container Registry and Artifact Registry are supported now. - * Accepted forms: - * * Google Container Registry path. For example: - * `gcr.io/projectId/imageName:tag`. - * * Artifact Registry path. For example: - * `us-central1-docker.pkg.dev/projectId/repoName/imageName:tag`. - * If a tag is not specified, "latest" will be used as the default tag. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Cloud\Aiplatform\V1\Io::initOnce(); - parent::__construct($data); - } - - /** - * Required. Container Registry URI of a container image. - * Only Google Container Registry and Artifact Registry are supported now. - * Accepted forms: - * * Google Container Registry path. For example: - * `gcr.io/projectId/imageName:tag`. - * * Artifact Registry path. For example: - * `us-central1-docker.pkg.dev/projectId/repoName/imageName:tag`. - * If a tag is not specified, "latest" will be used as the default tag. - * - * Generated from protobuf field string output_uri = 1 [(.google.api.field_behavior) = REQUIRED]; - * @return string - */ - public function getOutputUri() - { - return $this->output_uri; - } - - /** - * Required. Container Registry URI of a container image. - * Only Google Container Registry and Artifact Registry are supported now. - * Accepted forms: - * * Google Container Registry path. For example: - * `gcr.io/projectId/imageName:tag`. - * * Artifact Registry path. For example: - * `us-central1-docker.pkg.dev/projectId/repoName/imageName:tag`. - * If a tag is not specified, "latest" will be used as the default tag. - * - * Generated from protobuf field string output_uri = 1 [(.google.api.field_behavior) = REQUIRED]; - * @param string $var - * @return $this - */ - public function setOutputUri($var) - { - GPBUtil::checkString($var, True); - $this->output_uri = $var; - - return $this; - } - -} - diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ContainerSpec.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ContainerSpec.php deleted file mode 100644 index 52f22956c176..000000000000 --- a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ContainerSpec.php +++ /dev/null @@ -1,181 +0,0 @@ -google.cloud.aiplatform.v1.ContainerSpec - */ -class ContainerSpec extends \Google\Protobuf\Internal\Message -{ - /** - * Required. The URI of a container image in the Container Registry that is to - * be run on each worker replica. - * - * Generated from protobuf field string image_uri = 1 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $image_uri = ''; - /** - * The command to be invoked when the container is started. - * It overrides the entrypoint instruction in Dockerfile when provided. - * - * Generated from protobuf field repeated string command = 2; - */ - private $command; - /** - * The arguments to be passed when starting the container. - * - * Generated from protobuf field repeated string args = 3; - */ - private $args; - /** - * Environment variables to be passed to the container. - * Maximum limit is 100. - * - * Generated from protobuf field repeated .google.cloud.aiplatform.v1.EnvVar env = 4; - */ - private $env; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $image_uri - * Required. The URI of a container image in the Container Registry that is to - * be run on each worker replica. - * @type array|\Google\Protobuf\Internal\RepeatedField $command - * The command to be invoked when the container is started. - * It overrides the entrypoint instruction in Dockerfile when provided. - * @type array|\Google\Protobuf\Internal\RepeatedField $args - * The arguments to be passed when starting the container. - * @type array<\Google\Cloud\AIPlatform\V1\EnvVar>|\Google\Protobuf\Internal\RepeatedField $env - * Environment variables to be passed to the container. - * Maximum limit is 100. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Cloud\Aiplatform\V1\CustomJob::initOnce(); - parent::__construct($data); - } - - /** - * Required. The URI of a container image in the Container Registry that is to - * be run on each worker replica. - * - * Generated from protobuf field string image_uri = 1 [(.google.api.field_behavior) = REQUIRED]; - * @return string - */ - public function getImageUri() - { - return $this->image_uri; - } - - /** - * Required. The URI of a container image in the Container Registry that is to - * be run on each worker replica. - * - * Generated from protobuf field string image_uri = 1 [(.google.api.field_behavior) = REQUIRED]; - * @param string $var - * @return $this - */ - public function setImageUri($var) - { - GPBUtil::checkString($var, True); - $this->image_uri = $var; - - return $this; - } - - /** - * The command to be invoked when the container is started. - * It overrides the entrypoint instruction in Dockerfile when provided. - * - * Generated from protobuf field repeated string command = 2; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getCommand() - { - return $this->command; - } - - /** - * The command to be invoked when the container is started. - * It overrides the entrypoint instruction in Dockerfile when provided. - * - * Generated from protobuf field repeated string command = 2; - * @param array|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setCommand($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING); - $this->command = $arr; - - return $this; - } - - /** - * The arguments to be passed when starting the container. - * - * Generated from protobuf field repeated string args = 3; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getArgs() - { - return $this->args; - } - - /** - * The arguments to be passed when starting the container. - * - * Generated from protobuf field repeated string args = 3; - * @param array|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setArgs($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING); - $this->args = $arr; - - return $this; - } - - /** - * Environment variables to be passed to the container. - * Maximum limit is 100. - * - * Generated from protobuf field repeated .google.cloud.aiplatform.v1.EnvVar env = 4; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getEnv() - { - return $this->env; - } - - /** - * Environment variables to be passed to the container. - * Maximum limit is 100. - * - * Generated from protobuf field repeated .google.cloud.aiplatform.v1.EnvVar env = 4; - * @param array<\Google\Cloud\AIPlatform\V1\EnvVar>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setEnv($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\AIPlatform\V1\EnvVar::class); - $this->env = $arr; - - return $this; - } - -} - diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/Content.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/Content.php deleted file mode 100644 index cac84e11bbd1..000000000000 --- a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/Content.php +++ /dev/null @@ -1,116 +0,0 @@ -google.cloud.aiplatform.v1.Content - */ -class Content extends \Google\Protobuf\Internal\Message -{ - /** - * Optional. The producer of the content. Must be either 'user' or 'model'. - * Useful to set for multi-turn conversations, otherwise can be left blank - * or unset. - * - * Generated from protobuf field string role = 1 [(.google.api.field_behavior) = OPTIONAL]; - */ - protected $role = ''; - /** - * Required. Ordered `Parts` that constitute a single message. Parts may have - * different IANA MIME types. - * - * Generated from protobuf field repeated .google.cloud.aiplatform.v1.Part parts = 2 [(.google.api.field_behavior) = REQUIRED]; - */ - private $parts; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $role - * Optional. The producer of the content. Must be either 'user' or 'model'. - * Useful to set for multi-turn conversations, otherwise can be left blank - * or unset. - * @type array<\Google\Cloud\AIPlatform\V1\Part>|\Google\Protobuf\Internal\RepeatedField $parts - * Required. Ordered `Parts` that constitute a single message. Parts may have - * different IANA MIME types. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Cloud\Aiplatform\V1\Content::initOnce(); - parent::__construct($data); - } - - /** - * Optional. The producer of the content. Must be either 'user' or 'model'. - * Useful to set for multi-turn conversations, otherwise can be left blank - * or unset. - * - * Generated from protobuf field string role = 1 [(.google.api.field_behavior) = OPTIONAL]; - * @return string - */ - public function getRole() - { - return $this->role; - } - - /** - * Optional. The producer of the content. Must be either 'user' or 'model'. - * Useful to set for multi-turn conversations, otherwise can be left blank - * or unset. - * - * Generated from protobuf field string role = 1 [(.google.api.field_behavior) = OPTIONAL]; - * @param string $var - * @return $this - */ - public function setRole($var) - { - GPBUtil::checkString($var, True); - $this->role = $var; - - return $this; - } - - /** - * Required. Ordered `Parts` that constitute a single message. Parts may have - * different IANA MIME types. - * - * Generated from protobuf field repeated .google.cloud.aiplatform.v1.Part parts = 2 [(.google.api.field_behavior) = REQUIRED]; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getParts() - { - return $this->parts; - } - - /** - * Required. Ordered `Parts` that constitute a single message. Parts may have - * different IANA MIME types. - * - * Generated from protobuf field repeated .google.cloud.aiplatform.v1.Part parts = 2 [(.google.api.field_behavior) = REQUIRED]; - * @param array<\Google\Cloud\AIPlatform\V1\Part>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setParts($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\AIPlatform\V1\Part::class); - $this->parts = $arr; - - return $this; - } - -} - diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/Context.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/Context.php deleted file mode 100644 index 5350832124f1..000000000000 --- a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/Context.php +++ /dev/null @@ -1,501 +0,0 @@ -google.cloud.aiplatform.v1.Context - */ -class Context extends \Google\Protobuf\Internal\Message -{ - /** - * Immutable. The resource name of the Context. - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = IMMUTABLE]; - */ - protected $name = ''; - /** - * User provided display name of the Context. - * May be up to 128 Unicode characters. - * - * Generated from protobuf field string display_name = 2; - */ - protected $display_name = ''; - /** - * An eTag used to perform consistent read-modify-write updates. If not set, a - * blind "overwrite" update happens. - * - * Generated from protobuf field string etag = 8; - */ - protected $etag = ''; - /** - * The labels with user-defined metadata to organize your Contexts. - * Label keys and values can be no longer than 64 characters - * (Unicode codepoints), can only contain lowercase letters, numeric - * characters, underscores and dashes. International characters are allowed. - * No more than 64 user labels can be associated with one Context (System - * labels are excluded). - * - * Generated from protobuf field map labels = 9; - */ - private $labels; - /** - * Output only. Timestamp when this Context was created. - * - * Generated from protobuf field .google.protobuf.Timestamp create_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $create_time = null; - /** - * Output only. Timestamp when this Context was last updated. - * - * Generated from protobuf field .google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $update_time = null; - /** - * Output only. A list of resource names of Contexts that are parents of this - * Context. A Context may have at most 10 parent_contexts. - * - * Generated from protobuf field repeated string parent_contexts = 12 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - */ - private $parent_contexts; - /** - * The title of the schema describing the metadata. - * Schema title and version is expected to be registered in earlier Create - * Schema calls. And both are used together as unique identifiers to identify - * schemas within the local metadata store. - * - * Generated from protobuf field string schema_title = 13; - */ - protected $schema_title = ''; - /** - * The version of the schema in schema_name to use. - * Schema title and version is expected to be registered in earlier Create - * Schema calls. And both are used together as unique identifiers to identify - * schemas within the local metadata store. - * - * Generated from protobuf field string schema_version = 14; - */ - protected $schema_version = ''; - /** - * Properties of the Context. - * Top level metadata keys' heading and trailing spaces will be trimmed. - * The size of this field should not exceed 200KB. - * - * Generated from protobuf field .google.protobuf.Struct metadata = 15; - */ - protected $metadata = null; - /** - * Description of the Context - * - * Generated from protobuf field string description = 16; - */ - protected $description = ''; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $name - * Immutable. The resource name of the Context. - * @type string $display_name - * User provided display name of the Context. - * May be up to 128 Unicode characters. - * @type string $etag - * An eTag used to perform consistent read-modify-write updates. If not set, a - * blind "overwrite" update happens. - * @type array|\Google\Protobuf\Internal\MapField $labels - * The labels with user-defined metadata to organize your Contexts. - * Label keys and values can be no longer than 64 characters - * (Unicode codepoints), can only contain lowercase letters, numeric - * characters, underscores and dashes. International characters are allowed. - * No more than 64 user labels can be associated with one Context (System - * labels are excluded). - * @type \Google\Protobuf\Timestamp $create_time - * Output only. Timestamp when this Context was created. - * @type \Google\Protobuf\Timestamp $update_time - * Output only. Timestamp when this Context was last updated. - * @type array|\Google\Protobuf\Internal\RepeatedField $parent_contexts - * Output only. A list of resource names of Contexts that are parents of this - * Context. A Context may have at most 10 parent_contexts. - * @type string $schema_title - * The title of the schema describing the metadata. - * Schema title and version is expected to be registered in earlier Create - * Schema calls. And both are used together as unique identifiers to identify - * schemas within the local metadata store. - * @type string $schema_version - * The version of the schema in schema_name to use. - * Schema title and version is expected to be registered in earlier Create - * Schema calls. And both are used together as unique identifiers to identify - * schemas within the local metadata store. - * @type \Google\Protobuf\Struct $metadata - * Properties of the Context. - * Top level metadata keys' heading and trailing spaces will be trimmed. - * The size of this field should not exceed 200KB. - * @type string $description - * Description of the Context - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Cloud\Aiplatform\V1\Context::initOnce(); - parent::__construct($data); - } - - /** - * Immutable. The resource name of the Context. - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = IMMUTABLE]; - * @return string - */ - public function getName() - { - return $this->name; - } - - /** - * Immutable. The resource name of the Context. - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = IMMUTABLE]; - * @param string $var - * @return $this - */ - public function setName($var) - { - GPBUtil::checkString($var, True); - $this->name = $var; - - return $this; - } - - /** - * User provided display name of the Context. - * May be up to 128 Unicode characters. - * - * Generated from protobuf field string display_name = 2; - * @return string - */ - public function getDisplayName() - { - return $this->display_name; - } - - /** - * User provided display name of the Context. - * May be up to 128 Unicode characters. - * - * Generated from protobuf field string display_name = 2; - * @param string $var - * @return $this - */ - public function setDisplayName($var) - { - GPBUtil::checkString($var, True); - $this->display_name = $var; - - return $this; - } - - /** - * An eTag used to perform consistent read-modify-write updates. If not set, a - * blind "overwrite" update happens. - * - * Generated from protobuf field string etag = 8; - * @return string - */ - public function getEtag() - { - return $this->etag; - } - - /** - * An eTag used to perform consistent read-modify-write updates. If not set, a - * blind "overwrite" update happens. - * - * Generated from protobuf field string etag = 8; - * @param string $var - * @return $this - */ - public function setEtag($var) - { - GPBUtil::checkString($var, True); - $this->etag = $var; - - return $this; - } - - /** - * The labels with user-defined metadata to organize your Contexts. - * Label keys and values can be no longer than 64 characters - * (Unicode codepoints), can only contain lowercase letters, numeric - * characters, underscores and dashes. International characters are allowed. - * No more than 64 user labels can be associated with one Context (System - * labels are excluded). - * - * Generated from protobuf field map labels = 9; - * @return \Google\Protobuf\Internal\MapField - */ - public function getLabels() - { - return $this->labels; - } - - /** - * The labels with user-defined metadata to organize your Contexts. - * Label keys and values can be no longer than 64 characters - * (Unicode codepoints), can only contain lowercase letters, numeric - * characters, underscores and dashes. International characters are allowed. - * No more than 64 user labels can be associated with one Context (System - * labels are excluded). - * - * Generated from protobuf field map labels = 9; - * @param array|\Google\Protobuf\Internal\MapField $var - * @return $this - */ - public function setLabels($var) - { - $arr = GPBUtil::checkMapField($var, \Google\Protobuf\Internal\GPBType::STRING, \Google\Protobuf\Internal\GPBType::STRING); - $this->labels = $arr; - - return $this; - } - - /** - * Output only. Timestamp when this Context was created. - * - * Generated from protobuf field .google.protobuf.Timestamp create_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return \Google\Protobuf\Timestamp|null - */ - public function getCreateTime() - { - return $this->create_time; - } - - public function hasCreateTime() - { - return isset($this->create_time); - } - - public function clearCreateTime() - { - unset($this->create_time); - } - - /** - * Output only. Timestamp when this Context was created. - * - * Generated from protobuf field .google.protobuf.Timestamp create_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param \Google\Protobuf\Timestamp $var - * @return $this - */ - public function setCreateTime($var) - { - GPBUtil::checkMessage($var, \Google\Protobuf\Timestamp::class); - $this->create_time = $var; - - return $this; - } - - /** - * Output only. Timestamp when this Context was last updated. - * - * Generated from protobuf field .google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return \Google\Protobuf\Timestamp|null - */ - public function getUpdateTime() - { - return $this->update_time; - } - - public function hasUpdateTime() - { - return isset($this->update_time); - } - - public function clearUpdateTime() - { - unset($this->update_time); - } - - /** - * Output only. Timestamp when this Context was last updated. - * - * Generated from protobuf field .google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param \Google\Protobuf\Timestamp $var - * @return $this - */ - public function setUpdateTime($var) - { - GPBUtil::checkMessage($var, \Google\Protobuf\Timestamp::class); - $this->update_time = $var; - - return $this; - } - - /** - * Output only. A list of resource names of Contexts that are parents of this - * Context. A Context may have at most 10 parent_contexts. - * - * Generated from protobuf field repeated string parent_contexts = 12 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getParentContexts() - { - return $this->parent_contexts; - } - - /** - * Output only. A list of resource names of Contexts that are parents of this - * Context. A Context may have at most 10 parent_contexts. - * - * Generated from protobuf field repeated string parent_contexts = 12 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - * @param array|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setParentContexts($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING); - $this->parent_contexts = $arr; - - return $this; - } - - /** - * The title of the schema describing the metadata. - * Schema title and version is expected to be registered in earlier Create - * Schema calls. And both are used together as unique identifiers to identify - * schemas within the local metadata store. - * - * Generated from protobuf field string schema_title = 13; - * @return string - */ - public function getSchemaTitle() - { - return $this->schema_title; - } - - /** - * The title of the schema describing the metadata. - * Schema title and version is expected to be registered in earlier Create - * Schema calls. And both are used together as unique identifiers to identify - * schemas within the local metadata store. - * - * Generated from protobuf field string schema_title = 13; - * @param string $var - * @return $this - */ - public function setSchemaTitle($var) - { - GPBUtil::checkString($var, True); - $this->schema_title = $var; - - return $this; - } - - /** - * The version of the schema in schema_name to use. - * Schema title and version is expected to be registered in earlier Create - * Schema calls. And both are used together as unique identifiers to identify - * schemas within the local metadata store. - * - * Generated from protobuf field string schema_version = 14; - * @return string - */ - public function getSchemaVersion() - { - return $this->schema_version; - } - - /** - * The version of the schema in schema_name to use. - * Schema title and version is expected to be registered in earlier Create - * Schema calls. And both are used together as unique identifiers to identify - * schemas within the local metadata store. - * - * Generated from protobuf field string schema_version = 14; - * @param string $var - * @return $this - */ - public function setSchemaVersion($var) - { - GPBUtil::checkString($var, True); - $this->schema_version = $var; - - return $this; - } - - /** - * Properties of the Context. - * Top level metadata keys' heading and trailing spaces will be trimmed. - * The size of this field should not exceed 200KB. - * - * Generated from protobuf field .google.protobuf.Struct metadata = 15; - * @return \Google\Protobuf\Struct|null - */ - public function getMetadata() - { - return $this->metadata; - } - - public function hasMetadata() - { - return isset($this->metadata); - } - - public function clearMetadata() - { - unset($this->metadata); - } - - /** - * Properties of the Context. - * Top level metadata keys' heading and trailing spaces will be trimmed. - * The size of this field should not exceed 200KB. - * - * Generated from protobuf field .google.protobuf.Struct metadata = 15; - * @param \Google\Protobuf\Struct $var - * @return $this - */ - public function setMetadata($var) - { - GPBUtil::checkMessage($var, \Google\Protobuf\Struct::class); - $this->metadata = $var; - - return $this; - } - - /** - * Description of the Context - * - * Generated from protobuf field string description = 16; - * @return string - */ - public function getDescription() - { - return $this->description; - } - - /** - * Description of the Context - * - * Generated from protobuf field string description = 16; - * @param string $var - * @return $this - */ - public function setDescription($var) - { - GPBUtil::checkString($var, True); - $this->description = $var; - - return $this; - } - -} - diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CopyModelOperationMetadata.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CopyModelOperationMetadata.php deleted file mode 100644 index 96560fa2b4a5..000000000000 --- a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CopyModelOperationMetadata.php +++ /dev/null @@ -1,79 +0,0 @@ -google.cloud.aiplatform.v1.CopyModelOperationMetadata - */ -class CopyModelOperationMetadata extends \Google\Protobuf\Internal\Message -{ - /** - * The common part of the operation metadata. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.GenericOperationMetadata generic_metadata = 1; - */ - protected $generic_metadata = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type \Google\Cloud\AIPlatform\V1\GenericOperationMetadata $generic_metadata - * The common part of the operation metadata. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Cloud\Aiplatform\V1\ModelService::initOnce(); - parent::__construct($data); - } - - /** - * The common part of the operation metadata. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.GenericOperationMetadata generic_metadata = 1; - * @return \Google\Cloud\AIPlatform\V1\GenericOperationMetadata|null - */ - public function getGenericMetadata() - { - return $this->generic_metadata; - } - - public function hasGenericMetadata() - { - return isset($this->generic_metadata); - } - - public function clearGenericMetadata() - { - unset($this->generic_metadata); - } - - /** - * The common part of the operation metadata. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.GenericOperationMetadata generic_metadata = 1; - * @param \Google\Cloud\AIPlatform\V1\GenericOperationMetadata $var - * @return $this - */ - public function setGenericMetadata($var) - { - GPBUtil::checkMessage($var, \Google\Cloud\AIPlatform\V1\GenericOperationMetadata::class); - $this->generic_metadata = $var; - - return $this; - } - -} - diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CopyModelRequest.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CopyModelRequest.php deleted file mode 100644 index c194bc851e77..000000000000 --- a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CopyModelRequest.php +++ /dev/null @@ -1,272 +0,0 @@ -google.cloud.aiplatform.v1.CopyModelRequest - */ -class CopyModelRequest extends \Google\Protobuf\Internal\Message -{ - /** - * Required. The resource name of the Location into which to copy the Model. - * Format: `projects/{project}/locations/{location}` - * - * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - */ - protected $parent = ''; - /** - * Required. The resource name of the Model to copy. That Model must be in the - * same Project. Format: - * `projects/{project}/locations/{location}/models/{model}` - * - * Generated from protobuf field string source_model = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - */ - protected $source_model = ''; - /** - * Customer-managed encryption key options. If this is set, - * then the Model copy will be encrypted with the provided encryption key. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.EncryptionSpec encryption_spec = 3; - */ - protected $encryption_spec = null; - protected $destination_model; - - /** - * @param string $parent Required. The resource name of the Location into which to copy the Model. - * Format: `projects/{project}/locations/{location}` - * Please see {@see ModelServiceClient::locationName()} for help formatting this field. - * @param string $sourceModel Required. The resource name of the Model to copy. That Model must be in the - * same Project. Format: - * `projects/{project}/locations/{location}/models/{model}` - * Please see {@see ModelServiceClient::modelName()} for help formatting this field. - * - * @return \Google\Cloud\AIPlatform\V1\CopyModelRequest - * - * @experimental - */ - public static function build(string $parent, string $sourceModel): self - { - return (new self()) - ->setParent($parent) - ->setSourceModel($sourceModel); - } - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $model_id - * Optional. Copy source_model into a new Model with this ID. The ID will - * become the final component of the model resource name. - * This value may be up to 63 characters, and valid characters are - * `[a-z0-9_-]`. The first character cannot be a number or hyphen. - * @type string $parent_model - * Optional. Specify this field to copy source_model into this existing - * Model as a new version. Format: - * `projects/{project}/locations/{location}/models/{model}` - * @type string $parent - * Required. The resource name of the Location into which to copy the Model. - * Format: `projects/{project}/locations/{location}` - * @type string $source_model - * Required. The resource name of the Model to copy. That Model must be in the - * same Project. Format: - * `projects/{project}/locations/{location}/models/{model}` - * @type \Google\Cloud\AIPlatform\V1\EncryptionSpec $encryption_spec - * Customer-managed encryption key options. If this is set, - * then the Model copy will be encrypted with the provided encryption key. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Cloud\Aiplatform\V1\ModelService::initOnce(); - parent::__construct($data); - } - - /** - * Optional. Copy source_model into a new Model with this ID. The ID will - * become the final component of the model resource name. - * This value may be up to 63 characters, and valid characters are - * `[a-z0-9_-]`. The first character cannot be a number or hyphen. - * - * Generated from protobuf field string model_id = 4 [(.google.api.field_behavior) = OPTIONAL]; - * @return string - */ - public function getModelId() - { - return $this->readOneof(4); - } - - public function hasModelId() - { - return $this->hasOneof(4); - } - - /** - * Optional. Copy source_model into a new Model with this ID. The ID will - * become the final component of the model resource name. - * This value may be up to 63 characters, and valid characters are - * `[a-z0-9_-]`. The first character cannot be a number or hyphen. - * - * Generated from protobuf field string model_id = 4 [(.google.api.field_behavior) = OPTIONAL]; - * @param string $var - * @return $this - */ - public function setModelId($var) - { - GPBUtil::checkString($var, True); - $this->writeOneof(4, $var); - - return $this; - } - - /** - * Optional. Specify this field to copy source_model into this existing - * Model as a new version. Format: - * `projects/{project}/locations/{location}/models/{model}` - * - * Generated from protobuf field string parent_model = 5 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { - * @return string - */ - public function getParentModel() - { - return $this->readOneof(5); - } - - public function hasParentModel() - { - return $this->hasOneof(5); - } - - /** - * Optional. Specify this field to copy source_model into this existing - * Model as a new version. Format: - * `projects/{project}/locations/{location}/models/{model}` - * - * Generated from protobuf field string parent_model = 5 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setParentModel($var) - { - GPBUtil::checkString($var, True); - $this->writeOneof(5, $var); - - return $this; - } - - /** - * Required. The resource name of the Location into which to copy the Model. - * Format: `projects/{project}/locations/{location}` - * - * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - * @return string - */ - public function getParent() - { - return $this->parent; - } - - /** - * Required. The resource name of the Location into which to copy the Model. - * Format: `projects/{project}/locations/{location}` - * - * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setParent($var) - { - GPBUtil::checkString($var, True); - $this->parent = $var; - - return $this; - } - - /** - * Required. The resource name of the Model to copy. That Model must be in the - * same Project. Format: - * `projects/{project}/locations/{location}/models/{model}` - * - * Generated from protobuf field string source_model = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - * @return string - */ - public function getSourceModel() - { - return $this->source_model; - } - - /** - * Required. The resource name of the Model to copy. That Model must be in the - * same Project. Format: - * `projects/{project}/locations/{location}/models/{model}` - * - * Generated from protobuf field string source_model = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setSourceModel($var) - { - GPBUtil::checkString($var, True); - $this->source_model = $var; - - return $this; - } - - /** - * Customer-managed encryption key options. If this is set, - * then the Model copy will be encrypted with the provided encryption key. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.EncryptionSpec encryption_spec = 3; - * @return \Google\Cloud\AIPlatform\V1\EncryptionSpec|null - */ - public function getEncryptionSpec() - { - return $this->encryption_spec; - } - - public function hasEncryptionSpec() - { - return isset($this->encryption_spec); - } - - public function clearEncryptionSpec() - { - unset($this->encryption_spec); - } - - /** - * Customer-managed encryption key options. If this is set, - * then the Model copy will be encrypted with the provided encryption key. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.EncryptionSpec encryption_spec = 3; - * @param \Google\Cloud\AIPlatform\V1\EncryptionSpec $var - * @return $this - */ - public function setEncryptionSpec($var) - { - GPBUtil::checkMessage($var, \Google\Cloud\AIPlatform\V1\EncryptionSpec::class); - $this->encryption_spec = $var; - - return $this; - } - - /** - * @return string - */ - public function getDestinationModel() - { - return $this->whichOneof("destination_model"); - } - -} - diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CopyModelResponse.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CopyModelResponse.php deleted file mode 100644 index b7009c3497ea..000000000000 --- a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CopyModelResponse.php +++ /dev/null @@ -1,107 +0,0 @@ -google.cloud.aiplatform.v1.CopyModelResponse - */ -class CopyModelResponse extends \Google\Protobuf\Internal\Message -{ - /** - * The name of the copied Model resource. - * Format: `projects/{project}/locations/{location}/models/{model}` - * - * Generated from protobuf field string model = 1 [(.google.api.resource_reference) = { - */ - protected $model = ''; - /** - * Output only. The version ID of the model that is copied. - * - * Generated from protobuf field string model_version_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $model_version_id = ''; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $model - * The name of the copied Model resource. - * Format: `projects/{project}/locations/{location}/models/{model}` - * @type string $model_version_id - * Output only. The version ID of the model that is copied. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Cloud\Aiplatform\V1\ModelService::initOnce(); - parent::__construct($data); - } - - /** - * The name of the copied Model resource. - * Format: `projects/{project}/locations/{location}/models/{model}` - * - * Generated from protobuf field string model = 1 [(.google.api.resource_reference) = { - * @return string - */ - public function getModel() - { - return $this->model; - } - - /** - * The name of the copied Model resource. - * Format: `projects/{project}/locations/{location}/models/{model}` - * - * Generated from protobuf field string model = 1 [(.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setModel($var) - { - GPBUtil::checkString($var, True); - $this->model = $var; - - return $this; - } - - /** - * Output only. The version ID of the model that is copied. - * - * Generated from protobuf field string model_version_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return string - */ - public function getModelVersionId() - { - return $this->model_version_id; - } - - /** - * Output only. The version ID of the model that is copied. - * - * Generated from protobuf field string model_version_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param string $var - * @return $this - */ - public function setModelVersionId($var) - { - GPBUtil::checkString($var, True); - $this->model_version_id = $var; - - return $this; - } - -} - diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CountTokensRequest.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CountTokensRequest.php deleted file mode 100644 index 6a602f612b16..000000000000 --- a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CountTokensRequest.php +++ /dev/null @@ -1,208 +0,0 @@ -google.cloud.aiplatform.v1.CountTokensRequest - */ -class CountTokensRequest extends \Google\Protobuf\Internal\Message -{ - /** - * Required. The name of the Endpoint requested to perform token counting. - * Format: - * `projects/{project}/locations/{location}/endpoints/{endpoint}` - * - * Generated from protobuf field string endpoint = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - */ - protected $endpoint = ''; - /** - * Required. The name of the publisher model requested to serve the - * prediction. Format: - * `projects/{project}/locations/{location}/publishers/*/models/*` - * - * Generated from protobuf field string model = 3 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $model = ''; - /** - * Required. The instances that are the input to token counting call. - * Schema is identical to the prediction schema of the underlying model. - * - * Generated from protobuf field repeated .google.protobuf.Value instances = 2 [(.google.api.field_behavior) = REQUIRED]; - */ - private $instances; - /** - * Required. Input content. - * - * Generated from protobuf field repeated .google.cloud.aiplatform.v1.Content contents = 4 [(.google.api.field_behavior) = REQUIRED]; - */ - private $contents; - - /** - * @param string $endpoint Required. The name of the Endpoint requested to perform token counting. - * Format: - * `projects/{project}/locations/{location}/endpoints/{endpoint}` - * Please see {@see LlmUtilityServiceClient::endpointName()} for help formatting this field. - * @param \Google\Protobuf\Value[] $instances Required. The instances that are the input to token counting call. - * Schema is identical to the prediction schema of the underlying model. - * - * @return \Google\Cloud\AIPlatform\V1\CountTokensRequest - * - * @experimental - */ - public static function build(string $endpoint, array $instances): self - { - return (new self()) - ->setEndpoint($endpoint) - ->setInstances($instances); - } - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $endpoint - * Required. The name of the Endpoint requested to perform token counting. - * Format: - * `projects/{project}/locations/{location}/endpoints/{endpoint}` - * @type string $model - * Required. The name of the publisher model requested to serve the - * prediction. Format: - * `projects/{project}/locations/{location}/publishers/*/models/*` - * @type array<\Google\Protobuf\Value>|\Google\Protobuf\Internal\RepeatedField $instances - * Required. The instances that are the input to token counting call. - * Schema is identical to the prediction schema of the underlying model. - * @type array<\Google\Cloud\AIPlatform\V1\Content>|\Google\Protobuf\Internal\RepeatedField $contents - * Required. Input content. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Cloud\Aiplatform\V1\PredictionService::initOnce(); - parent::__construct($data); - } - - /** - * Required. The name of the Endpoint requested to perform token counting. - * Format: - * `projects/{project}/locations/{location}/endpoints/{endpoint}` - * - * Generated from protobuf field string endpoint = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - * @return string - */ - public function getEndpoint() - { - return $this->endpoint; - } - - /** - * Required. The name of the Endpoint requested to perform token counting. - * Format: - * `projects/{project}/locations/{location}/endpoints/{endpoint}` - * - * Generated from protobuf field string endpoint = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setEndpoint($var) - { - GPBUtil::checkString($var, True); - $this->endpoint = $var; - - return $this; - } - - /** - * Required. The name of the publisher model requested to serve the - * prediction. Format: - * `projects/{project}/locations/{location}/publishers/*/models/*` - * - * Generated from protobuf field string model = 3 [(.google.api.field_behavior) = REQUIRED]; - * @return string - */ - public function getModel() - { - return $this->model; - } - - /** - * Required. The name of the publisher model requested to serve the - * prediction. Format: - * `projects/{project}/locations/{location}/publishers/*/models/*` - * - * Generated from protobuf field string model = 3 [(.google.api.field_behavior) = REQUIRED]; - * @param string $var - * @return $this - */ - public function setModel($var) - { - GPBUtil::checkString($var, True); - $this->model = $var; - - return $this; - } - - /** - * Required. The instances that are the input to token counting call. - * Schema is identical to the prediction schema of the underlying model. - * - * Generated from protobuf field repeated .google.protobuf.Value instances = 2 [(.google.api.field_behavior) = REQUIRED]; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getInstances() - { - return $this->instances; - } - - /** - * Required. The instances that are the input to token counting call. - * Schema is identical to the prediction schema of the underlying model. - * - * Generated from protobuf field repeated .google.protobuf.Value instances = 2 [(.google.api.field_behavior) = REQUIRED]; - * @param array<\Google\Protobuf\Value>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setInstances($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Protobuf\Value::class); - $this->instances = $arr; - - return $this; - } - - /** - * Required. Input content. - * - * Generated from protobuf field repeated .google.cloud.aiplatform.v1.Content contents = 4 [(.google.api.field_behavior) = REQUIRED]; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getContents() - { - return $this->contents; - } - - /** - * Required. Input content. - * - * Generated from protobuf field repeated .google.cloud.aiplatform.v1.Content contents = 4 [(.google.api.field_behavior) = REQUIRED]; - * @param array<\Google\Cloud\AIPlatform\V1\Content>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setContents($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\AIPlatform\V1\Content::class); - $this->contents = $arr; - - return $this; - } - -} - diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CountTokensResponse.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CountTokensResponse.php deleted file mode 100644 index b2b0f04d3679..000000000000 --- a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CountTokensResponse.php +++ /dev/null @@ -1,105 +0,0 @@ -google.cloud.aiplatform.v1.CountTokensResponse - */ -class CountTokensResponse extends \Google\Protobuf\Internal\Message -{ - /** - * The total number of tokens counted across all instances from the request. - * - * Generated from protobuf field int32 total_tokens = 1; - */ - protected $total_tokens = 0; - /** - * The total number of billable characters counted across all instances from - * the request. - * - * Generated from protobuf field int32 total_billable_characters = 2; - */ - protected $total_billable_characters = 0; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type int $total_tokens - * The total number of tokens counted across all instances from the request. - * @type int $total_billable_characters - * The total number of billable characters counted across all instances from - * the request. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Cloud\Aiplatform\V1\PredictionService::initOnce(); - parent::__construct($data); - } - - /** - * The total number of tokens counted across all instances from the request. - * - * Generated from protobuf field int32 total_tokens = 1; - * @return int - */ - public function getTotalTokens() - { - return $this->total_tokens; - } - - /** - * The total number of tokens counted across all instances from the request. - * - * Generated from protobuf field int32 total_tokens = 1; - * @param int $var - * @return $this - */ - public function setTotalTokens($var) - { - GPBUtil::checkInt32($var); - $this->total_tokens = $var; - - return $this; - } - - /** - * The total number of billable characters counted across all instances from - * the request. - * - * Generated from protobuf field int32 total_billable_characters = 2; - * @return int - */ - public function getTotalBillableCharacters() - { - return $this->total_billable_characters; - } - - /** - * The total number of billable characters counted across all instances from - * the request. - * - * Generated from protobuf field int32 total_billable_characters = 2; - * @param int $var - * @return $this - */ - public function setTotalBillableCharacters($var) - { - GPBUtil::checkInt32($var); - $this->total_billable_characters = $var; - - return $this; - } - -} - diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CreateArtifactRequest.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CreateArtifactRequest.php deleted file mode 100644 index 101d30793506..000000000000 --- a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CreateArtifactRequest.php +++ /dev/null @@ -1,209 +0,0 @@ -google.cloud.aiplatform.v1.CreateArtifactRequest - */ -class CreateArtifactRequest extends \Google\Protobuf\Internal\Message -{ - /** - * Required. The resource name of the MetadataStore where the Artifact should - * be created. - * Format: - * `projects/{project}/locations/{location}/metadataStores/{metadatastore}` - * - * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - */ - protected $parent = ''; - /** - * Required. The Artifact to create. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.Artifact artifact = 2 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $artifact = null; - /** - * The {artifact} portion of the resource name with the format: - * `projects/{project}/locations/{location}/metadataStores/{metadatastore}/artifacts/{artifact}` - * If not provided, the Artifact's ID will be a UUID generated by the service. - * Must be 4-128 characters in length. Valid characters are `/[a-z][0-9]-/`. - * Must be unique across all Artifacts in the parent MetadataStore. (Otherwise - * the request will fail with ALREADY_EXISTS, or PERMISSION_DENIED if the - * caller can't view the preexisting Artifact.) - * - * Generated from protobuf field string artifact_id = 3; - */ - protected $artifact_id = ''; - - /** - * @param string $parent Required. The resource name of the MetadataStore where the Artifact should - * be created. - * Format: - * `projects/{project}/locations/{location}/metadataStores/{metadatastore}` - * Please see {@see MetadataServiceClient::metadataStoreName()} for help formatting this field. - * @param \Google\Cloud\AIPlatform\V1\Artifact $artifact Required. The Artifact to create. - * @param string $artifactId The {artifact} portion of the resource name with the format: - * `projects/{project}/locations/{location}/metadataStores/{metadatastore}/artifacts/{artifact}` - * If not provided, the Artifact's ID will be a UUID generated by the service. - * Must be 4-128 characters in length. Valid characters are `/[a-z][0-9]-/`. - * Must be unique across all Artifacts in the parent MetadataStore. (Otherwise - * the request will fail with ALREADY_EXISTS, or PERMISSION_DENIED if the - * caller can't view the preexisting Artifact.) - * - * @return \Google\Cloud\AIPlatform\V1\CreateArtifactRequest - * - * @experimental - */ - public static function build(string $parent, \Google\Cloud\AIPlatform\V1\Artifact $artifact, string $artifactId): self - { - return (new self()) - ->setParent($parent) - ->setArtifact($artifact) - ->setArtifactId($artifactId); - } - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $parent - * Required. The resource name of the MetadataStore where the Artifact should - * be created. - * Format: - * `projects/{project}/locations/{location}/metadataStores/{metadatastore}` - * @type \Google\Cloud\AIPlatform\V1\Artifact $artifact - * Required. The Artifact to create. - * @type string $artifact_id - * The {artifact} portion of the resource name with the format: - * `projects/{project}/locations/{location}/metadataStores/{metadatastore}/artifacts/{artifact}` - * If not provided, the Artifact's ID will be a UUID generated by the service. - * Must be 4-128 characters in length. Valid characters are `/[a-z][0-9]-/`. - * Must be unique across all Artifacts in the parent MetadataStore. (Otherwise - * the request will fail with ALREADY_EXISTS, or PERMISSION_DENIED if the - * caller can't view the preexisting Artifact.) - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Cloud\Aiplatform\V1\MetadataService::initOnce(); - parent::__construct($data); - } - - /** - * Required. The resource name of the MetadataStore where the Artifact should - * be created. - * Format: - * `projects/{project}/locations/{location}/metadataStores/{metadatastore}` - * - * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - * @return string - */ - public function getParent() - { - return $this->parent; - } - - /** - * Required. The resource name of the MetadataStore where the Artifact should - * be created. - * Format: - * `projects/{project}/locations/{location}/metadataStores/{metadatastore}` - * - * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setParent($var) - { - GPBUtil::checkString($var, True); - $this->parent = $var; - - return $this; - } - - /** - * Required. The Artifact to create. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.Artifact artifact = 2 [(.google.api.field_behavior) = REQUIRED]; - * @return \Google\Cloud\AIPlatform\V1\Artifact|null - */ - public function getArtifact() - { - return $this->artifact; - } - - public function hasArtifact() - { - return isset($this->artifact); - } - - public function clearArtifact() - { - unset($this->artifact); - } - - /** - * Required. The Artifact to create. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.Artifact artifact = 2 [(.google.api.field_behavior) = REQUIRED]; - * @param \Google\Cloud\AIPlatform\V1\Artifact $var - * @return $this - */ - public function setArtifact($var) - { - GPBUtil::checkMessage($var, \Google\Cloud\AIPlatform\V1\Artifact::class); - $this->artifact = $var; - - return $this; - } - - /** - * The {artifact} portion of the resource name with the format: - * `projects/{project}/locations/{location}/metadataStores/{metadatastore}/artifacts/{artifact}` - * If not provided, the Artifact's ID will be a UUID generated by the service. - * Must be 4-128 characters in length. Valid characters are `/[a-z][0-9]-/`. - * Must be unique across all Artifacts in the parent MetadataStore. (Otherwise - * the request will fail with ALREADY_EXISTS, or PERMISSION_DENIED if the - * caller can't view the preexisting Artifact.) - * - * Generated from protobuf field string artifact_id = 3; - * @return string - */ - public function getArtifactId() - { - return $this->artifact_id; - } - - /** - * The {artifact} portion of the resource name with the format: - * `projects/{project}/locations/{location}/metadataStores/{metadatastore}/artifacts/{artifact}` - * If not provided, the Artifact's ID will be a UUID generated by the service. - * Must be 4-128 characters in length. Valid characters are `/[a-z][0-9]-/`. - * Must be unique across all Artifacts in the parent MetadataStore. (Otherwise - * the request will fail with ALREADY_EXISTS, or PERMISSION_DENIED if the - * caller can't view the preexisting Artifact.) - * - * Generated from protobuf field string artifact_id = 3; - * @param string $var - * @return $this - */ - public function setArtifactId($var) - { - GPBUtil::checkString($var, True); - $this->artifact_id = $var; - - return $this; - } - -} - diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CreateBatchPredictionJobRequest.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CreateBatchPredictionJobRequest.php deleted file mode 100644 index 5d648b95312a..000000000000 --- a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CreateBatchPredictionJobRequest.php +++ /dev/null @@ -1,133 +0,0 @@ -google.cloud.aiplatform.v1.CreateBatchPredictionJobRequest - */ -class CreateBatchPredictionJobRequest extends \Google\Protobuf\Internal\Message -{ - /** - * Required. The resource name of the Location to create the - * BatchPredictionJob in. Format: `projects/{project}/locations/{location}` - * - * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - */ - protected $parent = ''; - /** - * Required. The BatchPredictionJob to create. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.BatchPredictionJob batch_prediction_job = 2 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $batch_prediction_job = null; - - /** - * @param string $parent Required. The resource name of the Location to create the - * BatchPredictionJob in. Format: `projects/{project}/locations/{location}` - * Please see {@see JobServiceClient::locationName()} for help formatting this field. - * @param \Google\Cloud\AIPlatform\V1\BatchPredictionJob $batchPredictionJob Required. The BatchPredictionJob to create. - * - * @return \Google\Cloud\AIPlatform\V1\CreateBatchPredictionJobRequest - * - * @experimental - */ - public static function build(string $parent, \Google\Cloud\AIPlatform\V1\BatchPredictionJob $batchPredictionJob): self - { - return (new self()) - ->setParent($parent) - ->setBatchPredictionJob($batchPredictionJob); - } - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $parent - * Required. The resource name of the Location to create the - * BatchPredictionJob in. Format: `projects/{project}/locations/{location}` - * @type \Google\Cloud\AIPlatform\V1\BatchPredictionJob $batch_prediction_job - * Required. The BatchPredictionJob to create. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Cloud\Aiplatform\V1\JobService::initOnce(); - parent::__construct($data); - } - - /** - * Required. The resource name of the Location to create the - * BatchPredictionJob in. Format: `projects/{project}/locations/{location}` - * - * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - * @return string - */ - public function getParent() - { - return $this->parent; - } - - /** - * Required. The resource name of the Location to create the - * BatchPredictionJob in. Format: `projects/{project}/locations/{location}` - * - * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setParent($var) - { - GPBUtil::checkString($var, True); - $this->parent = $var; - - return $this; - } - - /** - * Required. The BatchPredictionJob to create. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.BatchPredictionJob batch_prediction_job = 2 [(.google.api.field_behavior) = REQUIRED]; - * @return \Google\Cloud\AIPlatform\V1\BatchPredictionJob|null - */ - public function getBatchPredictionJob() - { - return $this->batch_prediction_job; - } - - public function hasBatchPredictionJob() - { - return isset($this->batch_prediction_job); - } - - public function clearBatchPredictionJob() - { - unset($this->batch_prediction_job); - } - - /** - * Required. The BatchPredictionJob to create. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.BatchPredictionJob batch_prediction_job = 2 [(.google.api.field_behavior) = REQUIRED]; - * @param \Google\Cloud\AIPlatform\V1\BatchPredictionJob $var - * @return $this - */ - public function setBatchPredictionJob($var) - { - GPBUtil::checkMessage($var, \Google\Cloud\AIPlatform\V1\BatchPredictionJob::class); - $this->batch_prediction_job = $var; - - return $this; - } - -} - diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CreateContextRequest.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CreateContextRequest.php deleted file mode 100644 index 136459c0e04e..000000000000 --- a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CreateContextRequest.php +++ /dev/null @@ -1,204 +0,0 @@ -google.cloud.aiplatform.v1.CreateContextRequest - */ -class CreateContextRequest extends \Google\Protobuf\Internal\Message -{ - /** - * Required. The resource name of the MetadataStore where the Context should - * be created. Format: - * `projects/{project}/locations/{location}/metadataStores/{metadatastore}` - * - * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - */ - protected $parent = ''; - /** - * Required. The Context to create. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.Context context = 2 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $context = null; - /** - * The {context} portion of the resource name with the format: - * `projects/{project}/locations/{location}/metadataStores/{metadatastore}/contexts/{context}`. - * If not provided, the Context's ID will be a UUID generated by the service. - * Must be 4-128 characters in length. Valid characters are `/[a-z][0-9]-/`. - * Must be unique across all Contexts in the parent MetadataStore. (Otherwise - * the request will fail with ALREADY_EXISTS, or PERMISSION_DENIED if the - * caller can't view the preexisting Context.) - * - * Generated from protobuf field string context_id = 3; - */ - protected $context_id = ''; - - /** - * @param string $parent Required. The resource name of the MetadataStore where the Context should - * be created. Format: - * `projects/{project}/locations/{location}/metadataStores/{metadatastore}` - * Please see {@see MetadataServiceClient::metadataStoreName()} for help formatting this field. - * @param \Google\Cloud\AIPlatform\V1\Context $context Required. The Context to create. - * @param string $contextId The {context} portion of the resource name with the format: - * `projects/{project}/locations/{location}/metadataStores/{metadatastore}/contexts/{context}`. - * If not provided, the Context's ID will be a UUID generated by the service. - * Must be 4-128 characters in length. Valid characters are `/[a-z][0-9]-/`. - * Must be unique across all Contexts in the parent MetadataStore. (Otherwise - * the request will fail with ALREADY_EXISTS, or PERMISSION_DENIED if the - * caller can't view the preexisting Context.) - * - * @return \Google\Cloud\AIPlatform\V1\CreateContextRequest - * - * @experimental - */ - public static function build(string $parent, \Google\Cloud\AIPlatform\V1\Context $context, string $contextId): self - { - return (new self()) - ->setParent($parent) - ->setContext($context) - ->setContextId($contextId); - } - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $parent - * Required. The resource name of the MetadataStore where the Context should - * be created. Format: - * `projects/{project}/locations/{location}/metadataStores/{metadatastore}` - * @type \Google\Cloud\AIPlatform\V1\Context $context - * Required. The Context to create. - * @type string $context_id - * The {context} portion of the resource name with the format: - * `projects/{project}/locations/{location}/metadataStores/{metadatastore}/contexts/{context}`. - * If not provided, the Context's ID will be a UUID generated by the service. - * Must be 4-128 characters in length. Valid characters are `/[a-z][0-9]-/`. - * Must be unique across all Contexts in the parent MetadataStore. (Otherwise - * the request will fail with ALREADY_EXISTS, or PERMISSION_DENIED if the - * caller can't view the preexisting Context.) - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Cloud\Aiplatform\V1\MetadataService::initOnce(); - parent::__construct($data); - } - - /** - * Required. The resource name of the MetadataStore where the Context should - * be created. Format: - * `projects/{project}/locations/{location}/metadataStores/{metadatastore}` - * - * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - * @return string - */ - public function getParent() - { - return $this->parent; - } - - /** - * Required. The resource name of the MetadataStore where the Context should - * be created. Format: - * `projects/{project}/locations/{location}/metadataStores/{metadatastore}` - * - * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setParent($var) - { - GPBUtil::checkString($var, True); - $this->parent = $var; - - return $this; - } - - /** - * Required. The Context to create. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.Context context = 2 [(.google.api.field_behavior) = REQUIRED]; - * @return \Google\Cloud\AIPlatform\V1\Context|null - */ - public function getContext() - { - return $this->context; - } - - public function hasContext() - { - return isset($this->context); - } - - public function clearContext() - { - unset($this->context); - } - - /** - * Required. The Context to create. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.Context context = 2 [(.google.api.field_behavior) = REQUIRED]; - * @param \Google\Cloud\AIPlatform\V1\Context $var - * @return $this - */ - public function setContext($var) - { - GPBUtil::checkMessage($var, \Google\Cloud\AIPlatform\V1\Context::class); - $this->context = $var; - - return $this; - } - - /** - * The {context} portion of the resource name with the format: - * `projects/{project}/locations/{location}/metadataStores/{metadatastore}/contexts/{context}`. - * If not provided, the Context's ID will be a UUID generated by the service. - * Must be 4-128 characters in length. Valid characters are `/[a-z][0-9]-/`. - * Must be unique across all Contexts in the parent MetadataStore. (Otherwise - * the request will fail with ALREADY_EXISTS, or PERMISSION_DENIED if the - * caller can't view the preexisting Context.) - * - * Generated from protobuf field string context_id = 3; - * @return string - */ - public function getContextId() - { - return $this->context_id; - } - - /** - * The {context} portion of the resource name with the format: - * `projects/{project}/locations/{location}/metadataStores/{metadatastore}/contexts/{context}`. - * If not provided, the Context's ID will be a UUID generated by the service. - * Must be 4-128 characters in length. Valid characters are `/[a-z][0-9]-/`. - * Must be unique across all Contexts in the parent MetadataStore. (Otherwise - * the request will fail with ALREADY_EXISTS, or PERMISSION_DENIED if the - * caller can't view the preexisting Context.) - * - * Generated from protobuf field string context_id = 3; - * @param string $var - * @return $this - */ - public function setContextId($var) - { - GPBUtil::checkString($var, True); - $this->context_id = $var; - - return $this; - } - -} - diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CreateCustomJobRequest.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CreateCustomJobRequest.php deleted file mode 100644 index b277cb82d0c0..000000000000 --- a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CreateCustomJobRequest.php +++ /dev/null @@ -1,133 +0,0 @@ -google.cloud.aiplatform.v1.CreateCustomJobRequest - */ -class CreateCustomJobRequest extends \Google\Protobuf\Internal\Message -{ - /** - * Required. The resource name of the Location to create the CustomJob in. - * Format: `projects/{project}/locations/{location}` - * - * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - */ - protected $parent = ''; - /** - * Required. The CustomJob to create. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.CustomJob custom_job = 2 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $custom_job = null; - - /** - * @param string $parent Required. The resource name of the Location to create the CustomJob in. - * Format: `projects/{project}/locations/{location}` - * Please see {@see JobServiceClient::locationName()} for help formatting this field. - * @param \Google\Cloud\AIPlatform\V1\CustomJob $customJob Required. The CustomJob to create. - * - * @return \Google\Cloud\AIPlatform\V1\CreateCustomJobRequest - * - * @experimental - */ - public static function build(string $parent, \Google\Cloud\AIPlatform\V1\CustomJob $customJob): self - { - return (new self()) - ->setParent($parent) - ->setCustomJob($customJob); - } - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $parent - * Required. The resource name of the Location to create the CustomJob in. - * Format: `projects/{project}/locations/{location}` - * @type \Google\Cloud\AIPlatform\V1\CustomJob $custom_job - * Required. The CustomJob to create. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Cloud\Aiplatform\V1\JobService::initOnce(); - parent::__construct($data); - } - - /** - * Required. The resource name of the Location to create the CustomJob in. - * Format: `projects/{project}/locations/{location}` - * - * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - * @return string - */ - public function getParent() - { - return $this->parent; - } - - /** - * Required. The resource name of the Location to create the CustomJob in. - * Format: `projects/{project}/locations/{location}` - * - * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setParent($var) - { - GPBUtil::checkString($var, True); - $this->parent = $var; - - return $this; - } - - /** - * Required. The CustomJob to create. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.CustomJob custom_job = 2 [(.google.api.field_behavior) = REQUIRED]; - * @return \Google\Cloud\AIPlatform\V1\CustomJob|null - */ - public function getCustomJob() - { - return $this->custom_job; - } - - public function hasCustomJob() - { - return isset($this->custom_job); - } - - public function clearCustomJob() - { - unset($this->custom_job); - } - - /** - * Required. The CustomJob to create. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.CustomJob custom_job = 2 [(.google.api.field_behavior) = REQUIRED]; - * @param \Google\Cloud\AIPlatform\V1\CustomJob $var - * @return $this - */ - public function setCustomJob($var) - { - GPBUtil::checkMessage($var, \Google\Cloud\AIPlatform\V1\CustomJob::class); - $this->custom_job = $var; - - return $this; - } - -} - diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CreateDataLabelingJobRequest.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CreateDataLabelingJobRequest.php deleted file mode 100644 index 606b44afff62..000000000000 --- a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CreateDataLabelingJobRequest.php +++ /dev/null @@ -1,133 +0,0 @@ -google.cloud.aiplatform.v1.CreateDataLabelingJobRequest - */ -class CreateDataLabelingJobRequest extends \Google\Protobuf\Internal\Message -{ - /** - * Required. The parent of the DataLabelingJob. - * Format: `projects/{project}/locations/{location}` - * - * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - */ - protected $parent = ''; - /** - * Required. The DataLabelingJob to create. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.DataLabelingJob data_labeling_job = 2 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $data_labeling_job = null; - - /** - * @param string $parent Required. The parent of the DataLabelingJob. - * Format: `projects/{project}/locations/{location}` - * Please see {@see JobServiceClient::locationName()} for help formatting this field. - * @param \Google\Cloud\AIPlatform\V1\DataLabelingJob $dataLabelingJob Required. The DataLabelingJob to create. - * - * @return \Google\Cloud\AIPlatform\V1\CreateDataLabelingJobRequest - * - * @experimental - */ - public static function build(string $parent, \Google\Cloud\AIPlatform\V1\DataLabelingJob $dataLabelingJob): self - { - return (new self()) - ->setParent($parent) - ->setDataLabelingJob($dataLabelingJob); - } - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $parent - * Required. The parent of the DataLabelingJob. - * Format: `projects/{project}/locations/{location}` - * @type \Google\Cloud\AIPlatform\V1\DataLabelingJob $data_labeling_job - * Required. The DataLabelingJob to create. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Cloud\Aiplatform\V1\JobService::initOnce(); - parent::__construct($data); - } - - /** - * Required. The parent of the DataLabelingJob. - * Format: `projects/{project}/locations/{location}` - * - * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - * @return string - */ - public function getParent() - { - return $this->parent; - } - - /** - * Required. The parent of the DataLabelingJob. - * Format: `projects/{project}/locations/{location}` - * - * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setParent($var) - { - GPBUtil::checkString($var, True); - $this->parent = $var; - - return $this; - } - - /** - * Required. The DataLabelingJob to create. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.DataLabelingJob data_labeling_job = 2 [(.google.api.field_behavior) = REQUIRED]; - * @return \Google\Cloud\AIPlatform\V1\DataLabelingJob|null - */ - public function getDataLabelingJob() - { - return $this->data_labeling_job; - } - - public function hasDataLabelingJob() - { - return isset($this->data_labeling_job); - } - - public function clearDataLabelingJob() - { - unset($this->data_labeling_job); - } - - /** - * Required. The DataLabelingJob to create. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.DataLabelingJob data_labeling_job = 2 [(.google.api.field_behavior) = REQUIRED]; - * @param \Google\Cloud\AIPlatform\V1\DataLabelingJob $var - * @return $this - */ - public function setDataLabelingJob($var) - { - GPBUtil::checkMessage($var, \Google\Cloud\AIPlatform\V1\DataLabelingJob::class); - $this->data_labeling_job = $var; - - return $this; - } - -} - diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CreateDatasetOperationMetadata.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CreateDatasetOperationMetadata.php deleted file mode 100644 index a4f1442b8b58..000000000000 --- a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CreateDatasetOperationMetadata.php +++ /dev/null @@ -1,78 +0,0 @@ -google.cloud.aiplatform.v1.CreateDatasetOperationMetadata - */ -class CreateDatasetOperationMetadata extends \Google\Protobuf\Internal\Message -{ - /** - * The operation generic information. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.GenericOperationMetadata generic_metadata = 1; - */ - protected $generic_metadata = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type \Google\Cloud\AIPlatform\V1\GenericOperationMetadata $generic_metadata - * The operation generic information. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Cloud\Aiplatform\V1\DatasetService::initOnce(); - parent::__construct($data); - } - - /** - * The operation generic information. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.GenericOperationMetadata generic_metadata = 1; - * @return \Google\Cloud\AIPlatform\V1\GenericOperationMetadata|null - */ - public function getGenericMetadata() - { - return $this->generic_metadata; - } - - public function hasGenericMetadata() - { - return isset($this->generic_metadata); - } - - public function clearGenericMetadata() - { - unset($this->generic_metadata); - } - - /** - * The operation generic information. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.GenericOperationMetadata generic_metadata = 1; - * @param \Google\Cloud\AIPlatform\V1\GenericOperationMetadata $var - * @return $this - */ - public function setGenericMetadata($var) - { - GPBUtil::checkMessage($var, \Google\Cloud\AIPlatform\V1\GenericOperationMetadata::class); - $this->generic_metadata = $var; - - return $this; - } - -} - diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CreateDatasetRequest.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CreateDatasetRequest.php deleted file mode 100644 index 56909d8b33e7..000000000000 --- a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CreateDatasetRequest.php +++ /dev/null @@ -1,133 +0,0 @@ -google.cloud.aiplatform.v1.CreateDatasetRequest - */ -class CreateDatasetRequest extends \Google\Protobuf\Internal\Message -{ - /** - * Required. The resource name of the Location to create the Dataset in. - * Format: `projects/{project}/locations/{location}` - * - * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - */ - protected $parent = ''; - /** - * Required. The Dataset to create. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.Dataset dataset = 2 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $dataset = null; - - /** - * @param string $parent Required. The resource name of the Location to create the Dataset in. - * Format: `projects/{project}/locations/{location}` - * Please see {@see DatasetServiceClient::locationName()} for help formatting this field. - * @param \Google\Cloud\AIPlatform\V1\Dataset $dataset Required. The Dataset to create. - * - * @return \Google\Cloud\AIPlatform\V1\CreateDatasetRequest - * - * @experimental - */ - public static function build(string $parent, \Google\Cloud\AIPlatform\V1\Dataset $dataset): self - { - return (new self()) - ->setParent($parent) - ->setDataset($dataset); - } - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $parent - * Required. The resource name of the Location to create the Dataset in. - * Format: `projects/{project}/locations/{location}` - * @type \Google\Cloud\AIPlatform\V1\Dataset $dataset - * Required. The Dataset to create. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Cloud\Aiplatform\V1\DatasetService::initOnce(); - parent::__construct($data); - } - - /** - * Required. The resource name of the Location to create the Dataset in. - * Format: `projects/{project}/locations/{location}` - * - * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - * @return string - */ - public function getParent() - { - return $this->parent; - } - - /** - * Required. The resource name of the Location to create the Dataset in. - * Format: `projects/{project}/locations/{location}` - * - * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setParent($var) - { - GPBUtil::checkString($var, True); - $this->parent = $var; - - return $this; - } - - /** - * Required. The Dataset to create. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.Dataset dataset = 2 [(.google.api.field_behavior) = REQUIRED]; - * @return \Google\Cloud\AIPlatform\V1\Dataset|null - */ - public function getDataset() - { - return $this->dataset; - } - - public function hasDataset() - { - return isset($this->dataset); - } - - public function clearDataset() - { - unset($this->dataset); - } - - /** - * Required. The Dataset to create. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.Dataset dataset = 2 [(.google.api.field_behavior) = REQUIRED]; - * @param \Google\Cloud\AIPlatform\V1\Dataset $var - * @return $this - */ - public function setDataset($var) - { - GPBUtil::checkMessage($var, \Google\Cloud\AIPlatform\V1\Dataset::class); - $this->dataset = $var; - - return $this; - } - -} - diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CreateDatasetVersionOperationMetadata.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CreateDatasetVersionOperationMetadata.php deleted file mode 100644 index 42a9dfce633b..000000000000 --- a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CreateDatasetVersionOperationMetadata.php +++ /dev/null @@ -1,78 +0,0 @@ -google.cloud.aiplatform.v1.CreateDatasetVersionOperationMetadata - */ -class CreateDatasetVersionOperationMetadata extends \Google\Protobuf\Internal\Message -{ - /** - * The common part of the operation metadata. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.GenericOperationMetadata generic_metadata = 1; - */ - protected $generic_metadata = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type \Google\Cloud\AIPlatform\V1\GenericOperationMetadata $generic_metadata - * The common part of the operation metadata. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Cloud\Aiplatform\V1\DatasetService::initOnce(); - parent::__construct($data); - } - - /** - * The common part of the operation metadata. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.GenericOperationMetadata generic_metadata = 1; - * @return \Google\Cloud\AIPlatform\V1\GenericOperationMetadata|null - */ - public function getGenericMetadata() - { - return $this->generic_metadata; - } - - public function hasGenericMetadata() - { - return isset($this->generic_metadata); - } - - public function clearGenericMetadata() - { - unset($this->generic_metadata); - } - - /** - * The common part of the operation metadata. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.GenericOperationMetadata generic_metadata = 1; - * @param \Google\Cloud\AIPlatform\V1\GenericOperationMetadata $var - * @return $this - */ - public function setGenericMetadata($var) - { - GPBUtil::checkMessage($var, \Google\Cloud\AIPlatform\V1\GenericOperationMetadata::class); - $this->generic_metadata = $var; - - return $this; - } - -} - diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CreateDatasetVersionRequest.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CreateDatasetVersionRequest.php deleted file mode 100644 index d52bc548f697..000000000000 --- a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CreateDatasetVersionRequest.php +++ /dev/null @@ -1,148 +0,0 @@ -google.cloud.aiplatform.v1.CreateDatasetVersionRequest - */ -class CreateDatasetVersionRequest extends \Google\Protobuf\Internal\Message -{ - /** - * Required. The name of the Dataset resource. - * Format: - * `projects/{project}/locations/{location}/datasets/{dataset}` - * - * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - */ - protected $parent = ''; - /** - * Required. The version to be created. The same CMEK policies with the - * original Dataset will be applied the dataset version. So here we don't need - * to specify the EncryptionSpecType here. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.DatasetVersion dataset_version = 2 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $dataset_version = null; - - /** - * @param string $parent Required. The name of the Dataset resource. - * Format: - * `projects/{project}/locations/{location}/datasets/{dataset}` - * Please see {@see DatasetServiceClient::datasetName()} for help formatting this field. - * @param \Google\Cloud\AIPlatform\V1\DatasetVersion $datasetVersion Required. The version to be created. The same CMEK policies with the - * original Dataset will be applied the dataset version. So here we don't need - * to specify the EncryptionSpecType here. - * - * @return \Google\Cloud\AIPlatform\V1\CreateDatasetVersionRequest - * - * @experimental - */ - public static function build(string $parent, \Google\Cloud\AIPlatform\V1\DatasetVersion $datasetVersion): self - { - return (new self()) - ->setParent($parent) - ->setDatasetVersion($datasetVersion); - } - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $parent - * Required. The name of the Dataset resource. - * Format: - * `projects/{project}/locations/{location}/datasets/{dataset}` - * @type \Google\Cloud\AIPlatform\V1\DatasetVersion $dataset_version - * Required. The version to be created. The same CMEK policies with the - * original Dataset will be applied the dataset version. So here we don't need - * to specify the EncryptionSpecType here. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Cloud\Aiplatform\V1\DatasetService::initOnce(); - parent::__construct($data); - } - - /** - * Required. The name of the Dataset resource. - * Format: - * `projects/{project}/locations/{location}/datasets/{dataset}` - * - * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - * @return string - */ - public function getParent() - { - return $this->parent; - } - - /** - * Required. The name of the Dataset resource. - * Format: - * `projects/{project}/locations/{location}/datasets/{dataset}` - * - * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setParent($var) - { - GPBUtil::checkString($var, True); - $this->parent = $var; - - return $this; - } - - /** - * Required. The version to be created. The same CMEK policies with the - * original Dataset will be applied the dataset version. So here we don't need - * to specify the EncryptionSpecType here. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.DatasetVersion dataset_version = 2 [(.google.api.field_behavior) = REQUIRED]; - * @return \Google\Cloud\AIPlatform\V1\DatasetVersion|null - */ - public function getDatasetVersion() - { - return $this->dataset_version; - } - - public function hasDatasetVersion() - { - return isset($this->dataset_version); - } - - public function clearDatasetVersion() - { - unset($this->dataset_version); - } - - /** - * Required. The version to be created. The same CMEK policies with the - * original Dataset will be applied the dataset version. So here we don't need - * to specify the EncryptionSpecType here. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.DatasetVersion dataset_version = 2 [(.google.api.field_behavior) = REQUIRED]; - * @param \Google\Cloud\AIPlatform\V1\DatasetVersion $var - * @return $this - */ - public function setDatasetVersion($var) - { - GPBUtil::checkMessage($var, \Google\Cloud\AIPlatform\V1\DatasetVersion::class); - $this->dataset_version = $var; - - return $this; - } - -} - diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CreateDeploymentResourcePoolOperationMetadata.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CreateDeploymentResourcePoolOperationMetadata.php deleted file mode 100644 index b3a73f8363b7..000000000000 --- a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CreateDeploymentResourcePoolOperationMetadata.php +++ /dev/null @@ -1,77 +0,0 @@ -google.cloud.aiplatform.v1.CreateDeploymentResourcePoolOperationMetadata - */ -class CreateDeploymentResourcePoolOperationMetadata extends \Google\Protobuf\Internal\Message -{ - /** - * The operation generic information. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.GenericOperationMetadata generic_metadata = 1; - */ - protected $generic_metadata = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type \Google\Cloud\AIPlatform\V1\GenericOperationMetadata $generic_metadata - * The operation generic information. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Cloud\Aiplatform\V1\DeploymentResourcePoolService::initOnce(); - parent::__construct($data); - } - - /** - * The operation generic information. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.GenericOperationMetadata generic_metadata = 1; - * @return \Google\Cloud\AIPlatform\V1\GenericOperationMetadata|null - */ - public function getGenericMetadata() - { - return $this->generic_metadata; - } - - public function hasGenericMetadata() - { - return isset($this->generic_metadata); - } - - public function clearGenericMetadata() - { - unset($this->generic_metadata); - } - - /** - * The operation generic information. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.GenericOperationMetadata generic_metadata = 1; - * @param \Google\Cloud\AIPlatform\V1\GenericOperationMetadata $var - * @return $this - */ - public function setGenericMetadata($var) - { - GPBUtil::checkMessage($var, \Google\Cloud\AIPlatform\V1\GenericOperationMetadata::class); - $this->generic_metadata = $var; - - return $this; - } - -} - diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CreateDeploymentResourcePoolRequest.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CreateDeploymentResourcePoolRequest.php deleted file mode 100644 index b2159a3fb47d..000000000000 --- a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CreateDeploymentResourcePoolRequest.php +++ /dev/null @@ -1,189 +0,0 @@ -google.cloud.aiplatform.v1.CreateDeploymentResourcePoolRequest - */ -class CreateDeploymentResourcePoolRequest extends \Google\Protobuf\Internal\Message -{ - /** - * Required. The parent location resource where this DeploymentResourcePool - * will be created. Format: `projects/{project}/locations/{location}` - * - * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - */ - protected $parent = ''; - /** - * Required. The DeploymentResourcePool to create. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.DeploymentResourcePool deployment_resource_pool = 2 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $deployment_resource_pool = null; - /** - * Required. The ID to use for the DeploymentResourcePool, which - * will become the final component of the DeploymentResourcePool's resource - * name. - * The maximum length is 63 characters, and valid characters - * are `/^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$/`. - * - * Generated from protobuf field string deployment_resource_pool_id = 3 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $deployment_resource_pool_id = ''; - - /** - * @param string $parent Required. The parent location resource where this DeploymentResourcePool - * will be created. Format: `projects/{project}/locations/{location}` - * Please see {@see DeploymentResourcePoolServiceClient::locationName()} for help formatting this field. - * @param \Google\Cloud\AIPlatform\V1\DeploymentResourcePool $deploymentResourcePool Required. The DeploymentResourcePool to create. - * @param string $deploymentResourcePoolId Required. The ID to use for the DeploymentResourcePool, which - * will become the final component of the DeploymentResourcePool's resource - * name. - * - * The maximum length is 63 characters, and valid characters - * are `/^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$/`. - * - * @return \Google\Cloud\AIPlatform\V1\CreateDeploymentResourcePoolRequest - * - * @experimental - */ - public static function build(string $parent, \Google\Cloud\AIPlatform\V1\DeploymentResourcePool $deploymentResourcePool, string $deploymentResourcePoolId): self - { - return (new self()) - ->setParent($parent) - ->setDeploymentResourcePool($deploymentResourcePool) - ->setDeploymentResourcePoolId($deploymentResourcePoolId); - } - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $parent - * Required. The parent location resource where this DeploymentResourcePool - * will be created. Format: `projects/{project}/locations/{location}` - * @type \Google\Cloud\AIPlatform\V1\DeploymentResourcePool $deployment_resource_pool - * Required. The DeploymentResourcePool to create. - * @type string $deployment_resource_pool_id - * Required. The ID to use for the DeploymentResourcePool, which - * will become the final component of the DeploymentResourcePool's resource - * name. - * The maximum length is 63 characters, and valid characters - * are `/^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$/`. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Cloud\Aiplatform\V1\DeploymentResourcePoolService::initOnce(); - parent::__construct($data); - } - - /** - * Required. The parent location resource where this DeploymentResourcePool - * will be created. Format: `projects/{project}/locations/{location}` - * - * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - * @return string - */ - public function getParent() - { - return $this->parent; - } - - /** - * Required. The parent location resource where this DeploymentResourcePool - * will be created. Format: `projects/{project}/locations/{location}` - * - * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setParent($var) - { - GPBUtil::checkString($var, True); - $this->parent = $var; - - return $this; - } - - /** - * Required. The DeploymentResourcePool to create. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.DeploymentResourcePool deployment_resource_pool = 2 [(.google.api.field_behavior) = REQUIRED]; - * @return \Google\Cloud\AIPlatform\V1\DeploymentResourcePool|null - */ - public function getDeploymentResourcePool() - { - return $this->deployment_resource_pool; - } - - public function hasDeploymentResourcePool() - { - return isset($this->deployment_resource_pool); - } - - public function clearDeploymentResourcePool() - { - unset($this->deployment_resource_pool); - } - - /** - * Required. The DeploymentResourcePool to create. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.DeploymentResourcePool deployment_resource_pool = 2 [(.google.api.field_behavior) = REQUIRED]; - * @param \Google\Cloud\AIPlatform\V1\DeploymentResourcePool $var - * @return $this - */ - public function setDeploymentResourcePool($var) - { - GPBUtil::checkMessage($var, \Google\Cloud\AIPlatform\V1\DeploymentResourcePool::class); - $this->deployment_resource_pool = $var; - - return $this; - } - - /** - * Required. The ID to use for the DeploymentResourcePool, which - * will become the final component of the DeploymentResourcePool's resource - * name. - * The maximum length is 63 characters, and valid characters - * are `/^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$/`. - * - * Generated from protobuf field string deployment_resource_pool_id = 3 [(.google.api.field_behavior) = REQUIRED]; - * @return string - */ - public function getDeploymentResourcePoolId() - { - return $this->deployment_resource_pool_id; - } - - /** - * Required. The ID to use for the DeploymentResourcePool, which - * will become the final component of the DeploymentResourcePool's resource - * name. - * The maximum length is 63 characters, and valid characters - * are `/^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$/`. - * - * Generated from protobuf field string deployment_resource_pool_id = 3 [(.google.api.field_behavior) = REQUIRED]; - * @param string $var - * @return $this - */ - public function setDeploymentResourcePoolId($var) - { - GPBUtil::checkString($var, True); - $this->deployment_resource_pool_id = $var; - - return $this; - } - -} - diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CreateEndpointOperationMetadata.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CreateEndpointOperationMetadata.php deleted file mode 100644 index 2541cb6f4554..000000000000 --- a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CreateEndpointOperationMetadata.php +++ /dev/null @@ -1,78 +0,0 @@ -google.cloud.aiplatform.v1.CreateEndpointOperationMetadata - */ -class CreateEndpointOperationMetadata extends \Google\Protobuf\Internal\Message -{ - /** - * The operation generic information. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.GenericOperationMetadata generic_metadata = 1; - */ - protected $generic_metadata = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type \Google\Cloud\AIPlatform\V1\GenericOperationMetadata $generic_metadata - * The operation generic information. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Cloud\Aiplatform\V1\EndpointService::initOnce(); - parent::__construct($data); - } - - /** - * The operation generic information. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.GenericOperationMetadata generic_metadata = 1; - * @return \Google\Cloud\AIPlatform\V1\GenericOperationMetadata|null - */ - public function getGenericMetadata() - { - return $this->generic_metadata; - } - - public function hasGenericMetadata() - { - return isset($this->generic_metadata); - } - - public function clearGenericMetadata() - { - unset($this->generic_metadata); - } - - /** - * The operation generic information. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.GenericOperationMetadata generic_metadata = 1; - * @param \Google\Cloud\AIPlatform\V1\GenericOperationMetadata $var - * @return $this - */ - public function setGenericMetadata($var) - { - GPBUtil::checkMessage($var, \Google\Cloud\AIPlatform\V1\GenericOperationMetadata::class); - $this->generic_metadata = $var; - - return $this; - } - -} - diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CreateEndpointRequest.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CreateEndpointRequest.php deleted file mode 100644 index 7b06487c5ec6..000000000000 --- a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CreateEndpointRequest.php +++ /dev/null @@ -1,239 +0,0 @@ -google.cloud.aiplatform.v1.CreateEndpointRequest - */ -class CreateEndpointRequest extends \Google\Protobuf\Internal\Message -{ - /** - * Required. The resource name of the Location to create the Endpoint in. - * Format: `projects/{project}/locations/{location}` - * - * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - */ - protected $parent = ''; - /** - * Required. The Endpoint to create. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.Endpoint endpoint = 2 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $endpoint = null; - /** - * Immutable. The ID to use for endpoint, which will become the final - * component of the endpoint resource name. - * If not provided, Vertex AI will generate a value for this ID. - * If the first character is a letter, this value may be up to 63 characters, - * and valid characters are `[a-z0-9-]`. The last character must be a letter - * or number. - * If the first character is a number, this value may be up to 9 characters, - * and valid characters are `[0-9]` with no leading zeros. - * When using HTTP/JSON, this field is populated - * based on a query string argument, such as `?endpoint_id=12345`. This is the - * fallback for fields that are not included in either the URI or the body. - * - * Generated from protobuf field string endpoint_id = 4 [(.google.api.field_behavior) = IMMUTABLE]; - */ - protected $endpoint_id = ''; - - /** - * @param string $parent Required. The resource name of the Location to create the Endpoint in. - * Format: `projects/{project}/locations/{location}` - * Please see {@see EndpointServiceClient::locationName()} for help formatting this field. - * @param \Google\Cloud\AIPlatform\V1\Endpoint $endpoint Required. The Endpoint to create. - * - * @return \Google\Cloud\AIPlatform\V1\CreateEndpointRequest - * - * @experimental - */ - public static function build(string $parent, \Google\Cloud\AIPlatform\V1\Endpoint $endpoint): self - { - return (new self()) - ->setParent($parent) - ->setEndpoint($endpoint); - } - - /** - * @param string $parent Required. The resource name of the Location to create the Endpoint in. - * Format: `projects/{project}/locations/{location}` - * Please see {@see EndpointServiceClient::locationName()} for help formatting this field. - * @param \Google\Cloud\AIPlatform\V1\Endpoint $endpoint Required. The Endpoint to create. - * @param string $endpointId Immutable. The ID to use for endpoint, which will become the final - * component of the endpoint resource name. - * If not provided, Vertex AI will generate a value for this ID. - * - * If the first character is a letter, this value may be up to 63 characters, - * and valid characters are `[a-z0-9-]`. The last character must be a letter - * or number. - * - * If the first character is a number, this value may be up to 9 characters, - * and valid characters are `[0-9]` with no leading zeros. - * - * When using HTTP/JSON, this field is populated - * based on a query string argument, such as `?endpoint_id=12345`. This is the - * fallback for fields that are not included in either the URI or the body. - * - * @return \Google\Cloud\AIPlatform\V1\CreateEndpointRequest - * - * @experimental - */ - public static function buildFromParentEndpointEndpointId(string $parent, \Google\Cloud\AIPlatform\V1\Endpoint $endpoint, string $endpointId): self - { - return (new self()) - ->setParent($parent) - ->setEndpoint($endpoint) - ->setEndpointId($endpointId); - } - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $parent - * Required. The resource name of the Location to create the Endpoint in. - * Format: `projects/{project}/locations/{location}` - * @type \Google\Cloud\AIPlatform\V1\Endpoint $endpoint - * Required. The Endpoint to create. - * @type string $endpoint_id - * Immutable. The ID to use for endpoint, which will become the final - * component of the endpoint resource name. - * If not provided, Vertex AI will generate a value for this ID. - * If the first character is a letter, this value may be up to 63 characters, - * and valid characters are `[a-z0-9-]`. The last character must be a letter - * or number. - * If the first character is a number, this value may be up to 9 characters, - * and valid characters are `[0-9]` with no leading zeros. - * When using HTTP/JSON, this field is populated - * based on a query string argument, such as `?endpoint_id=12345`. This is the - * fallback for fields that are not included in either the URI or the body. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Cloud\Aiplatform\V1\EndpointService::initOnce(); - parent::__construct($data); - } - - /** - * Required. The resource name of the Location to create the Endpoint in. - * Format: `projects/{project}/locations/{location}` - * - * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - * @return string - */ - public function getParent() - { - return $this->parent; - } - - /** - * Required. The resource name of the Location to create the Endpoint in. - * Format: `projects/{project}/locations/{location}` - * - * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setParent($var) - { - GPBUtil::checkString($var, True); - $this->parent = $var; - - return $this; - } - - /** - * Required. The Endpoint to create. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.Endpoint endpoint = 2 [(.google.api.field_behavior) = REQUIRED]; - * @return \Google\Cloud\AIPlatform\V1\Endpoint|null - */ - public function getEndpoint() - { - return $this->endpoint; - } - - public function hasEndpoint() - { - return isset($this->endpoint); - } - - public function clearEndpoint() - { - unset($this->endpoint); - } - - /** - * Required. The Endpoint to create. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.Endpoint endpoint = 2 [(.google.api.field_behavior) = REQUIRED]; - * @param \Google\Cloud\AIPlatform\V1\Endpoint $var - * @return $this - */ - public function setEndpoint($var) - { - GPBUtil::checkMessage($var, \Google\Cloud\AIPlatform\V1\Endpoint::class); - $this->endpoint = $var; - - return $this; - } - - /** - * Immutable. The ID to use for endpoint, which will become the final - * component of the endpoint resource name. - * If not provided, Vertex AI will generate a value for this ID. - * If the first character is a letter, this value may be up to 63 characters, - * and valid characters are `[a-z0-9-]`. The last character must be a letter - * or number. - * If the first character is a number, this value may be up to 9 characters, - * and valid characters are `[0-9]` with no leading zeros. - * When using HTTP/JSON, this field is populated - * based on a query string argument, such as `?endpoint_id=12345`. This is the - * fallback for fields that are not included in either the URI or the body. - * - * Generated from protobuf field string endpoint_id = 4 [(.google.api.field_behavior) = IMMUTABLE]; - * @return string - */ - public function getEndpointId() - { - return $this->endpoint_id; - } - - /** - * Immutable. The ID to use for endpoint, which will become the final - * component of the endpoint resource name. - * If not provided, Vertex AI will generate a value for this ID. - * If the first character is a letter, this value may be up to 63 characters, - * and valid characters are `[a-z0-9-]`. The last character must be a letter - * or number. - * If the first character is a number, this value may be up to 9 characters, - * and valid characters are `[0-9]` with no leading zeros. - * When using HTTP/JSON, this field is populated - * based on a query string argument, such as `?endpoint_id=12345`. This is the - * fallback for fields that are not included in either the URI or the body. - * - * Generated from protobuf field string endpoint_id = 4 [(.google.api.field_behavior) = IMMUTABLE]; - * @param string $var - * @return $this - */ - public function setEndpointId($var) - { - GPBUtil::checkString($var, True); - $this->endpoint_id = $var; - - return $this; - } - -} - diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CreateEntityTypeOperationMetadata.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CreateEntityTypeOperationMetadata.php deleted file mode 100644 index cdd88cbab3d7..000000000000 --- a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CreateEntityTypeOperationMetadata.php +++ /dev/null @@ -1,77 +0,0 @@ -google.cloud.aiplatform.v1.CreateEntityTypeOperationMetadata - */ -class CreateEntityTypeOperationMetadata extends \Google\Protobuf\Internal\Message -{ - /** - * Operation metadata for EntityType. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.GenericOperationMetadata generic_metadata = 1; - */ - protected $generic_metadata = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type \Google\Cloud\AIPlatform\V1\GenericOperationMetadata $generic_metadata - * Operation metadata for EntityType. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Cloud\Aiplatform\V1\FeaturestoreService::initOnce(); - parent::__construct($data); - } - - /** - * Operation metadata for EntityType. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.GenericOperationMetadata generic_metadata = 1; - * @return \Google\Cloud\AIPlatform\V1\GenericOperationMetadata|null - */ - public function getGenericMetadata() - { - return $this->generic_metadata; - } - - public function hasGenericMetadata() - { - return isset($this->generic_metadata); - } - - public function clearGenericMetadata() - { - unset($this->generic_metadata); - } - - /** - * Operation metadata for EntityType. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.GenericOperationMetadata generic_metadata = 1; - * @param \Google\Cloud\AIPlatform\V1\GenericOperationMetadata $var - * @return $this - */ - public function setGenericMetadata($var) - { - GPBUtil::checkMessage($var, \Google\Cloud\AIPlatform\V1\GenericOperationMetadata::class); - $this->generic_metadata = $var; - - return $this; - } - -} - diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CreateEntityTypeRequest.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CreateEntityTypeRequest.php deleted file mode 100644 index 33de6a198416..000000000000 --- a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CreateEntityTypeRequest.php +++ /dev/null @@ -1,214 +0,0 @@ -google.cloud.aiplatform.v1.CreateEntityTypeRequest - */ -class CreateEntityTypeRequest extends \Google\Protobuf\Internal\Message -{ - /** - * Required. The resource name of the Featurestore to create EntityTypes. - * Format: - * `projects/{project}/locations/{location}/featurestores/{featurestore}` - * - * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - */ - protected $parent = ''; - /** - * The EntityType to create. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.EntityType entity_type = 2; - */ - protected $entity_type = null; - /** - * Required. The ID to use for the EntityType, which will become the final - * component of the EntityType's resource name. - * This value may be up to 60 characters, and valid characters are - * `[a-z0-9_]`. The first character cannot be a number. - * The value must be unique within a featurestore. - * - * Generated from protobuf field string entity_type_id = 3 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $entity_type_id = ''; - - /** - * @param string $parent Required. The resource name of the Featurestore to create EntityTypes. - * Format: - * `projects/{project}/locations/{location}/featurestores/{featurestore}` - * Please see {@see FeaturestoreServiceClient::featurestoreName()} for help formatting this field. - * @param \Google\Cloud\AIPlatform\V1\EntityType $entityType The EntityType to create. - * - * @return \Google\Cloud\AIPlatform\V1\CreateEntityTypeRequest - * - * @experimental - */ - public static function build(string $parent, \Google\Cloud\AIPlatform\V1\EntityType $entityType): self - { - return (new self()) - ->setParent($parent) - ->setEntityType($entityType); - } - - /** - * @param string $parent Required. The resource name of the Featurestore to create EntityTypes. - * Format: - * `projects/{project}/locations/{location}/featurestores/{featurestore}` - * Please see {@see FeaturestoreServiceClient::featurestoreName()} for help formatting this field. - * @param \Google\Cloud\AIPlatform\V1\EntityType $entityType The EntityType to create. - * @param string $entityTypeId Required. The ID to use for the EntityType, which will become the final - * component of the EntityType's resource name. - * - * This value may be up to 60 characters, and valid characters are - * `[a-z0-9_]`. The first character cannot be a number. - * - * The value must be unique within a featurestore. - * - * @return \Google\Cloud\AIPlatform\V1\CreateEntityTypeRequest - * - * @experimental - */ - public static function buildFromParentEntityTypeEntityTypeId(string $parent, \Google\Cloud\AIPlatform\V1\EntityType $entityType, string $entityTypeId): self - { - return (new self()) - ->setParent($parent) - ->setEntityType($entityType) - ->setEntityTypeId($entityTypeId); - } - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $parent - * Required. The resource name of the Featurestore to create EntityTypes. - * Format: - * `projects/{project}/locations/{location}/featurestores/{featurestore}` - * @type \Google\Cloud\AIPlatform\V1\EntityType $entity_type - * The EntityType to create. - * @type string $entity_type_id - * Required. The ID to use for the EntityType, which will become the final - * component of the EntityType's resource name. - * This value may be up to 60 characters, and valid characters are - * `[a-z0-9_]`. The first character cannot be a number. - * The value must be unique within a featurestore. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Cloud\Aiplatform\V1\FeaturestoreService::initOnce(); - parent::__construct($data); - } - - /** - * Required. The resource name of the Featurestore to create EntityTypes. - * Format: - * `projects/{project}/locations/{location}/featurestores/{featurestore}` - * - * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - * @return string - */ - public function getParent() - { - return $this->parent; - } - - /** - * Required. The resource name of the Featurestore to create EntityTypes. - * Format: - * `projects/{project}/locations/{location}/featurestores/{featurestore}` - * - * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setParent($var) - { - GPBUtil::checkString($var, True); - $this->parent = $var; - - return $this; - } - - /** - * The EntityType to create. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.EntityType entity_type = 2; - * @return \Google\Cloud\AIPlatform\V1\EntityType|null - */ - public function getEntityType() - { - return $this->entity_type; - } - - public function hasEntityType() - { - return isset($this->entity_type); - } - - public function clearEntityType() - { - unset($this->entity_type); - } - - /** - * The EntityType to create. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.EntityType entity_type = 2; - * @param \Google\Cloud\AIPlatform\V1\EntityType $var - * @return $this - */ - public function setEntityType($var) - { - GPBUtil::checkMessage($var, \Google\Cloud\AIPlatform\V1\EntityType::class); - $this->entity_type = $var; - - return $this; - } - - /** - * Required. The ID to use for the EntityType, which will become the final - * component of the EntityType's resource name. - * This value may be up to 60 characters, and valid characters are - * `[a-z0-9_]`. The first character cannot be a number. - * The value must be unique within a featurestore. - * - * Generated from protobuf field string entity_type_id = 3 [(.google.api.field_behavior) = REQUIRED]; - * @return string - */ - public function getEntityTypeId() - { - return $this->entity_type_id; - } - - /** - * Required. The ID to use for the EntityType, which will become the final - * component of the EntityType's resource name. - * This value may be up to 60 characters, and valid characters are - * `[a-z0-9_]`. The first character cannot be a number. - * The value must be unique within a featurestore. - * - * Generated from protobuf field string entity_type_id = 3 [(.google.api.field_behavior) = REQUIRED]; - * @param string $var - * @return $this - */ - public function setEntityTypeId($var) - { - GPBUtil::checkString($var, True); - $this->entity_type_id = $var; - - return $this; - } - -} - diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CreateExecutionRequest.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CreateExecutionRequest.php deleted file mode 100644 index d1cdc202c321..000000000000 --- a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CreateExecutionRequest.php +++ /dev/null @@ -1,214 +0,0 @@ -google.cloud.aiplatform.v1.CreateExecutionRequest - */ -class CreateExecutionRequest extends \Google\Protobuf\Internal\Message -{ - /** - * Required. The resource name of the MetadataStore where the Execution should - * be created. - * Format: - * `projects/{project}/locations/{location}/metadataStores/{metadatastore}` - * - * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - */ - protected $parent = ''; - /** - * Required. The Execution to create. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.Execution execution = 2 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $execution = null; - /** - * The {execution} portion of the resource name with the format: - * `projects/{project}/locations/{location}/metadataStores/{metadatastore}/executions/{execution}` - * If not provided, the Execution's ID will be a UUID generated by the - * service. - * Must be 4-128 characters in length. Valid characters are `/[a-z][0-9]-/`. - * Must be unique across all Executions in the parent MetadataStore. - * (Otherwise the request will fail with ALREADY_EXISTS, or PERMISSION_DENIED - * if the caller can't view the preexisting Execution.) - * - * Generated from protobuf field string execution_id = 3; - */ - protected $execution_id = ''; - - /** - * @param string $parent Required. The resource name of the MetadataStore where the Execution should - * be created. - * Format: - * `projects/{project}/locations/{location}/metadataStores/{metadatastore}` - * Please see {@see MetadataServiceClient::metadataStoreName()} for help formatting this field. - * @param \Google\Cloud\AIPlatform\V1\Execution $execution Required. The Execution to create. - * @param string $executionId The {execution} portion of the resource name with the format: - * `projects/{project}/locations/{location}/metadataStores/{metadatastore}/executions/{execution}` - * If not provided, the Execution's ID will be a UUID generated by the - * service. - * Must be 4-128 characters in length. Valid characters are `/[a-z][0-9]-/`. - * Must be unique across all Executions in the parent MetadataStore. - * (Otherwise the request will fail with ALREADY_EXISTS, or PERMISSION_DENIED - * if the caller can't view the preexisting Execution.) - * - * @return \Google\Cloud\AIPlatform\V1\CreateExecutionRequest - * - * @experimental - */ - public static function build(string $parent, \Google\Cloud\AIPlatform\V1\Execution $execution, string $executionId): self - { - return (new self()) - ->setParent($parent) - ->setExecution($execution) - ->setExecutionId($executionId); - } - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $parent - * Required. The resource name of the MetadataStore where the Execution should - * be created. - * Format: - * `projects/{project}/locations/{location}/metadataStores/{metadatastore}` - * @type \Google\Cloud\AIPlatform\V1\Execution $execution - * Required. The Execution to create. - * @type string $execution_id - * The {execution} portion of the resource name with the format: - * `projects/{project}/locations/{location}/metadataStores/{metadatastore}/executions/{execution}` - * If not provided, the Execution's ID will be a UUID generated by the - * service. - * Must be 4-128 characters in length. Valid characters are `/[a-z][0-9]-/`. - * Must be unique across all Executions in the parent MetadataStore. - * (Otherwise the request will fail with ALREADY_EXISTS, or PERMISSION_DENIED - * if the caller can't view the preexisting Execution.) - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Cloud\Aiplatform\V1\MetadataService::initOnce(); - parent::__construct($data); - } - - /** - * Required. The resource name of the MetadataStore where the Execution should - * be created. - * Format: - * `projects/{project}/locations/{location}/metadataStores/{metadatastore}` - * - * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - * @return string - */ - public function getParent() - { - return $this->parent; - } - - /** - * Required. The resource name of the MetadataStore where the Execution should - * be created. - * Format: - * `projects/{project}/locations/{location}/metadataStores/{metadatastore}` - * - * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setParent($var) - { - GPBUtil::checkString($var, True); - $this->parent = $var; - - return $this; - } - - /** - * Required. The Execution to create. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.Execution execution = 2 [(.google.api.field_behavior) = REQUIRED]; - * @return \Google\Cloud\AIPlatform\V1\Execution|null - */ - public function getExecution() - { - return $this->execution; - } - - public function hasExecution() - { - return isset($this->execution); - } - - public function clearExecution() - { - unset($this->execution); - } - - /** - * Required. The Execution to create. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.Execution execution = 2 [(.google.api.field_behavior) = REQUIRED]; - * @param \Google\Cloud\AIPlatform\V1\Execution $var - * @return $this - */ - public function setExecution($var) - { - GPBUtil::checkMessage($var, \Google\Cloud\AIPlatform\V1\Execution::class); - $this->execution = $var; - - return $this; - } - - /** - * The {execution} portion of the resource name with the format: - * `projects/{project}/locations/{location}/metadataStores/{metadatastore}/executions/{execution}` - * If not provided, the Execution's ID will be a UUID generated by the - * service. - * Must be 4-128 characters in length. Valid characters are `/[a-z][0-9]-/`. - * Must be unique across all Executions in the parent MetadataStore. - * (Otherwise the request will fail with ALREADY_EXISTS, or PERMISSION_DENIED - * if the caller can't view the preexisting Execution.) - * - * Generated from protobuf field string execution_id = 3; - * @return string - */ - public function getExecutionId() - { - return $this->execution_id; - } - - /** - * The {execution} portion of the resource name with the format: - * `projects/{project}/locations/{location}/metadataStores/{metadatastore}/executions/{execution}` - * If not provided, the Execution's ID will be a UUID generated by the - * service. - * Must be 4-128 characters in length. Valid characters are `/[a-z][0-9]-/`. - * Must be unique across all Executions in the parent MetadataStore. - * (Otherwise the request will fail with ALREADY_EXISTS, or PERMISSION_DENIED - * if the caller can't view the preexisting Execution.) - * - * Generated from protobuf field string execution_id = 3; - * @param string $var - * @return $this - */ - public function setExecutionId($var) - { - GPBUtil::checkString($var, True); - $this->execution_id = $var; - - return $this; - } - -} - diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CreateFeatureGroupOperationMetadata.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CreateFeatureGroupOperationMetadata.php deleted file mode 100644 index 4f2674eccbec..000000000000 --- a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CreateFeatureGroupOperationMetadata.php +++ /dev/null @@ -1,77 +0,0 @@ -google.cloud.aiplatform.v1.CreateFeatureGroupOperationMetadata - */ -class CreateFeatureGroupOperationMetadata extends \Google\Protobuf\Internal\Message -{ - /** - * Operation metadata for FeatureGroup. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.GenericOperationMetadata generic_metadata = 1; - */ - protected $generic_metadata = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type \Google\Cloud\AIPlatform\V1\GenericOperationMetadata $generic_metadata - * Operation metadata for FeatureGroup. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Cloud\Aiplatform\V1\FeatureRegistryService::initOnce(); - parent::__construct($data); - } - - /** - * Operation metadata for FeatureGroup. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.GenericOperationMetadata generic_metadata = 1; - * @return \Google\Cloud\AIPlatform\V1\GenericOperationMetadata|null - */ - public function getGenericMetadata() - { - return $this->generic_metadata; - } - - public function hasGenericMetadata() - { - return isset($this->generic_metadata); - } - - public function clearGenericMetadata() - { - unset($this->generic_metadata); - } - - /** - * Operation metadata for FeatureGroup. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.GenericOperationMetadata generic_metadata = 1; - * @param \Google\Cloud\AIPlatform\V1\GenericOperationMetadata $var - * @return $this - */ - public function setGenericMetadata($var) - { - GPBUtil::checkMessage($var, \Google\Cloud\AIPlatform\V1\GenericOperationMetadata::class); - $this->generic_metadata = $var; - - return $this; - } - -} - diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CreateFeatureGroupRequest.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CreateFeatureGroupRequest.php deleted file mode 100644 index 499466d08850..000000000000 --- a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CreateFeatureGroupRequest.php +++ /dev/null @@ -1,196 +0,0 @@ -google.cloud.aiplatform.v1.CreateFeatureGroupRequest - */ -class CreateFeatureGroupRequest extends \Google\Protobuf\Internal\Message -{ - /** - * Required. The resource name of the Location to create FeatureGroups. - * Format: - * `projects/{project}/locations/{location}` - * - * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - */ - protected $parent = ''; - /** - * Required. The FeatureGroup to create. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.FeatureGroup feature_group = 2 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $feature_group = null; - /** - * Required. The ID to use for this FeatureGroup, which will become the final - * component of the FeatureGroup's resource name. - * This value may be up to 60 characters, and valid characters are - * `[a-z0-9_]`. The first character cannot be a number. - * The value must be unique within the project and location. - * - * Generated from protobuf field string feature_group_id = 3 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $feature_group_id = ''; - - /** - * @param string $parent Required. The resource name of the Location to create FeatureGroups. - * Format: - * `projects/{project}/locations/{location}` - * Please see {@see FeatureRegistryServiceClient::locationName()} for help formatting this field. - * @param \Google\Cloud\AIPlatform\V1\FeatureGroup $featureGroup Required. The FeatureGroup to create. - * @param string $featureGroupId Required. The ID to use for this FeatureGroup, which will become the final - * component of the FeatureGroup's resource name. - * - * This value may be up to 60 characters, and valid characters are - * `[a-z0-9_]`. The first character cannot be a number. - * - * The value must be unique within the project and location. - * - * @return \Google\Cloud\AIPlatform\V1\CreateFeatureGroupRequest - * - * @experimental - */ - public static function build(string $parent, \Google\Cloud\AIPlatform\V1\FeatureGroup $featureGroup, string $featureGroupId): self - { - return (new self()) - ->setParent($parent) - ->setFeatureGroup($featureGroup) - ->setFeatureGroupId($featureGroupId); - } - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $parent - * Required. The resource name of the Location to create FeatureGroups. - * Format: - * `projects/{project}/locations/{location}` - * @type \Google\Cloud\AIPlatform\V1\FeatureGroup $feature_group - * Required. The FeatureGroup to create. - * @type string $feature_group_id - * Required. The ID to use for this FeatureGroup, which will become the final - * component of the FeatureGroup's resource name. - * This value may be up to 60 characters, and valid characters are - * `[a-z0-9_]`. The first character cannot be a number. - * The value must be unique within the project and location. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Cloud\Aiplatform\V1\FeatureRegistryService::initOnce(); - parent::__construct($data); - } - - /** - * Required. The resource name of the Location to create FeatureGroups. - * Format: - * `projects/{project}/locations/{location}` - * - * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - * @return string - */ - public function getParent() - { - return $this->parent; - } - - /** - * Required. The resource name of the Location to create FeatureGroups. - * Format: - * `projects/{project}/locations/{location}` - * - * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setParent($var) - { - GPBUtil::checkString($var, True); - $this->parent = $var; - - return $this; - } - - /** - * Required. The FeatureGroup to create. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.FeatureGroup feature_group = 2 [(.google.api.field_behavior) = REQUIRED]; - * @return \Google\Cloud\AIPlatform\V1\FeatureGroup|null - */ - public function getFeatureGroup() - { - return $this->feature_group; - } - - public function hasFeatureGroup() - { - return isset($this->feature_group); - } - - public function clearFeatureGroup() - { - unset($this->feature_group); - } - - /** - * Required. The FeatureGroup to create. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.FeatureGroup feature_group = 2 [(.google.api.field_behavior) = REQUIRED]; - * @param \Google\Cloud\AIPlatform\V1\FeatureGroup $var - * @return $this - */ - public function setFeatureGroup($var) - { - GPBUtil::checkMessage($var, \Google\Cloud\AIPlatform\V1\FeatureGroup::class); - $this->feature_group = $var; - - return $this; - } - - /** - * Required. The ID to use for this FeatureGroup, which will become the final - * component of the FeatureGroup's resource name. - * This value may be up to 60 characters, and valid characters are - * `[a-z0-9_]`. The first character cannot be a number. - * The value must be unique within the project and location. - * - * Generated from protobuf field string feature_group_id = 3 [(.google.api.field_behavior) = REQUIRED]; - * @return string - */ - public function getFeatureGroupId() - { - return $this->feature_group_id; - } - - /** - * Required. The ID to use for this FeatureGroup, which will become the final - * component of the FeatureGroup's resource name. - * This value may be up to 60 characters, and valid characters are - * `[a-z0-9_]`. The first character cannot be a number. - * The value must be unique within the project and location. - * - * Generated from protobuf field string feature_group_id = 3 [(.google.api.field_behavior) = REQUIRED]; - * @param string $var - * @return $this - */ - public function setFeatureGroupId($var) - { - GPBUtil::checkString($var, True); - $this->feature_group_id = $var; - - return $this; - } - -} - diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CreateFeatureOnlineStoreOperationMetadata.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CreateFeatureOnlineStoreOperationMetadata.php deleted file mode 100644 index 3b46d3c6c144..000000000000 --- a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CreateFeatureOnlineStoreOperationMetadata.php +++ /dev/null @@ -1,77 +0,0 @@ -google.cloud.aiplatform.v1.CreateFeatureOnlineStoreOperationMetadata - */ -class CreateFeatureOnlineStoreOperationMetadata extends \Google\Protobuf\Internal\Message -{ - /** - * Operation metadata for FeatureOnlineStore. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.GenericOperationMetadata generic_metadata = 1; - */ - protected $generic_metadata = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type \Google\Cloud\AIPlatform\V1\GenericOperationMetadata $generic_metadata - * Operation metadata for FeatureOnlineStore. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Cloud\Aiplatform\V1\FeatureOnlineStoreAdminService::initOnce(); - parent::__construct($data); - } - - /** - * Operation metadata for FeatureOnlineStore. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.GenericOperationMetadata generic_metadata = 1; - * @return \Google\Cloud\AIPlatform\V1\GenericOperationMetadata|null - */ - public function getGenericMetadata() - { - return $this->generic_metadata; - } - - public function hasGenericMetadata() - { - return isset($this->generic_metadata); - } - - public function clearGenericMetadata() - { - unset($this->generic_metadata); - } - - /** - * Operation metadata for FeatureOnlineStore. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.GenericOperationMetadata generic_metadata = 1; - * @param \Google\Cloud\AIPlatform\V1\GenericOperationMetadata $var - * @return $this - */ - public function setGenericMetadata($var) - { - GPBUtil::checkMessage($var, \Google\Cloud\AIPlatform\V1\GenericOperationMetadata::class); - $this->generic_metadata = $var; - - return $this; - } - -} - diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CreateFeatureOnlineStoreRequest.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CreateFeatureOnlineStoreRequest.php deleted file mode 100644 index 2e8f2f2c7493..000000000000 --- a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CreateFeatureOnlineStoreRequest.php +++ /dev/null @@ -1,196 +0,0 @@ -google.cloud.aiplatform.v1.CreateFeatureOnlineStoreRequest - */ -class CreateFeatureOnlineStoreRequest extends \Google\Protobuf\Internal\Message -{ - /** - * Required. The resource name of the Location to create FeatureOnlineStores. - * Format: - * `projects/{project}/locations/{location}` - * - * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - */ - protected $parent = ''; - /** - * Required. The FeatureOnlineStore to create. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.FeatureOnlineStore feature_online_store = 2 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $feature_online_store = null; - /** - * Required. The ID to use for this FeatureOnlineStore, which will become the - * final component of the FeatureOnlineStore's resource name. - * This value may be up to 60 characters, and valid characters are - * `[a-z0-9_]`. The first character cannot be a number. - * The value must be unique within the project and location. - * - * Generated from protobuf field string feature_online_store_id = 3 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $feature_online_store_id = ''; - - /** - * @param string $parent Required. The resource name of the Location to create FeatureOnlineStores. - * Format: - * `projects/{project}/locations/{location}` - * Please see {@see FeatureOnlineStoreAdminServiceClient::locationName()} for help formatting this field. - * @param \Google\Cloud\AIPlatform\V1\FeatureOnlineStore $featureOnlineStore Required. The FeatureOnlineStore to create. - * @param string $featureOnlineStoreId Required. The ID to use for this FeatureOnlineStore, which will become the - * final component of the FeatureOnlineStore's resource name. - * - * This value may be up to 60 characters, and valid characters are - * `[a-z0-9_]`. The first character cannot be a number. - * - * The value must be unique within the project and location. - * - * @return \Google\Cloud\AIPlatform\V1\CreateFeatureOnlineStoreRequest - * - * @experimental - */ - public static function build(string $parent, \Google\Cloud\AIPlatform\V1\FeatureOnlineStore $featureOnlineStore, string $featureOnlineStoreId): self - { - return (new self()) - ->setParent($parent) - ->setFeatureOnlineStore($featureOnlineStore) - ->setFeatureOnlineStoreId($featureOnlineStoreId); - } - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $parent - * Required. The resource name of the Location to create FeatureOnlineStores. - * Format: - * `projects/{project}/locations/{location}` - * @type \Google\Cloud\AIPlatform\V1\FeatureOnlineStore $feature_online_store - * Required. The FeatureOnlineStore to create. - * @type string $feature_online_store_id - * Required. The ID to use for this FeatureOnlineStore, which will become the - * final component of the FeatureOnlineStore's resource name. - * This value may be up to 60 characters, and valid characters are - * `[a-z0-9_]`. The first character cannot be a number. - * The value must be unique within the project and location. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Cloud\Aiplatform\V1\FeatureOnlineStoreAdminService::initOnce(); - parent::__construct($data); - } - - /** - * Required. The resource name of the Location to create FeatureOnlineStores. - * Format: - * `projects/{project}/locations/{location}` - * - * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - * @return string - */ - public function getParent() - { - return $this->parent; - } - - /** - * Required. The resource name of the Location to create FeatureOnlineStores. - * Format: - * `projects/{project}/locations/{location}` - * - * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setParent($var) - { - GPBUtil::checkString($var, True); - $this->parent = $var; - - return $this; - } - - /** - * Required. The FeatureOnlineStore to create. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.FeatureOnlineStore feature_online_store = 2 [(.google.api.field_behavior) = REQUIRED]; - * @return \Google\Cloud\AIPlatform\V1\FeatureOnlineStore|null - */ - public function getFeatureOnlineStore() - { - return $this->feature_online_store; - } - - public function hasFeatureOnlineStore() - { - return isset($this->feature_online_store); - } - - public function clearFeatureOnlineStore() - { - unset($this->feature_online_store); - } - - /** - * Required. The FeatureOnlineStore to create. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.FeatureOnlineStore feature_online_store = 2 [(.google.api.field_behavior) = REQUIRED]; - * @param \Google\Cloud\AIPlatform\V1\FeatureOnlineStore $var - * @return $this - */ - public function setFeatureOnlineStore($var) - { - GPBUtil::checkMessage($var, \Google\Cloud\AIPlatform\V1\FeatureOnlineStore::class); - $this->feature_online_store = $var; - - return $this; - } - - /** - * Required. The ID to use for this FeatureOnlineStore, which will become the - * final component of the FeatureOnlineStore's resource name. - * This value may be up to 60 characters, and valid characters are - * `[a-z0-9_]`. The first character cannot be a number. - * The value must be unique within the project and location. - * - * Generated from protobuf field string feature_online_store_id = 3 [(.google.api.field_behavior) = REQUIRED]; - * @return string - */ - public function getFeatureOnlineStoreId() - { - return $this->feature_online_store_id; - } - - /** - * Required. The ID to use for this FeatureOnlineStore, which will become the - * final component of the FeatureOnlineStore's resource name. - * This value may be up to 60 characters, and valid characters are - * `[a-z0-9_]`. The first character cannot be a number. - * The value must be unique within the project and location. - * - * Generated from protobuf field string feature_online_store_id = 3 [(.google.api.field_behavior) = REQUIRED]; - * @param string $var - * @return $this - */ - public function setFeatureOnlineStoreId($var) - { - GPBUtil::checkString($var, True); - $this->feature_online_store_id = $var; - - return $this; - } - -} - diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CreateFeatureOperationMetadata.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CreateFeatureOperationMetadata.php deleted file mode 100644 index 6f4fb7c00ee0..000000000000 --- a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CreateFeatureOperationMetadata.php +++ /dev/null @@ -1,77 +0,0 @@ -google.cloud.aiplatform.v1.CreateFeatureOperationMetadata - */ -class CreateFeatureOperationMetadata extends \Google\Protobuf\Internal\Message -{ - /** - * Operation metadata for Feature. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.GenericOperationMetadata generic_metadata = 1; - */ - protected $generic_metadata = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type \Google\Cloud\AIPlatform\V1\GenericOperationMetadata $generic_metadata - * Operation metadata for Feature. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Cloud\Aiplatform\V1\FeaturestoreService::initOnce(); - parent::__construct($data); - } - - /** - * Operation metadata for Feature. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.GenericOperationMetadata generic_metadata = 1; - * @return \Google\Cloud\AIPlatform\V1\GenericOperationMetadata|null - */ - public function getGenericMetadata() - { - return $this->generic_metadata; - } - - public function hasGenericMetadata() - { - return isset($this->generic_metadata); - } - - public function clearGenericMetadata() - { - unset($this->generic_metadata); - } - - /** - * Operation metadata for Feature. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.GenericOperationMetadata generic_metadata = 1; - * @param \Google\Cloud\AIPlatform\V1\GenericOperationMetadata $var - * @return $this - */ - public function setGenericMetadata($var) - { - GPBUtil::checkMessage($var, \Google\Cloud\AIPlatform\V1\GenericOperationMetadata::class); - $this->generic_metadata = $var; - - return $this; - } - -} - diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CreateFeatureRequest.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CreateFeatureRequest.php deleted file mode 100644 index 3088d4e892ec..000000000000 --- a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CreateFeatureRequest.php +++ /dev/null @@ -1,228 +0,0 @@ -google.cloud.aiplatform.v1.CreateFeatureRequest - */ -class CreateFeatureRequest extends \Google\Protobuf\Internal\Message -{ - /** - * Required. The resource name of the EntityType or FeatureGroup to create a - * Feature. Format for entity_type as parent: - * `projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entity_type}` - * Format for feature_group as parent: - * `projects/{project}/locations/{location}/featureGroups/{feature_group}` - * - * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - */ - protected $parent = ''; - /** - * Required. The Feature to create. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.Feature feature = 2 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $feature = null; - /** - * Required. The ID to use for the Feature, which will become the final - * component of the Feature's resource name. - * This value may be up to 128 characters, and valid characters are - * `[a-z0-9_]`. The first character cannot be a number. - * The value must be unique within an EntityType/FeatureGroup. - * - * Generated from protobuf field string feature_id = 3 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $feature_id = ''; - - /** - * @param string $parent Required. The resource name of the EntityType or FeatureGroup to create a - * Feature. Format for entity_type as parent: - * `projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entity_type}` - * Format for feature_group as parent: - * `projects/{project}/locations/{location}/featureGroups/{feature_group}` - * Please see {@see FeaturestoreServiceClient::entityTypeName()} for help formatting this field. - * @param \Google\Cloud\AIPlatform\V1\Feature $feature Required. The Feature to create. - * - * @return \Google\Cloud\AIPlatform\V1\CreateFeatureRequest - * - * @experimental - */ - public static function build(string $parent, \Google\Cloud\AIPlatform\V1\Feature $feature): self - { - return (new self()) - ->setParent($parent) - ->setFeature($feature); - } - - /** - * @param string $parent Required. The resource name of the EntityType or FeatureGroup to create a - * Feature. Format for entity_type as parent: - * `projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entity_type}` - * Format for feature_group as parent: - * `projects/{project}/locations/{location}/featureGroups/{feature_group}` - * Please see {@see FeaturestoreServiceClient::entityTypeName()} for help formatting this field. - * @param \Google\Cloud\AIPlatform\V1\Feature $feature Required. The Feature to create. - * @param string $featureId Required. The ID to use for the Feature, which will become the final - * component of the Feature's resource name. - * - * This value may be up to 128 characters, and valid characters are - * `[a-z0-9_]`. The first character cannot be a number. - * - * The value must be unique within an EntityType/FeatureGroup. - * - * @return \Google\Cloud\AIPlatform\V1\CreateFeatureRequest - * - * @experimental - */ - public static function buildFromParentFeatureFeatureId(string $parent, \Google\Cloud\AIPlatform\V1\Feature $feature, string $featureId): self - { - return (new self()) - ->setParent($parent) - ->setFeature($feature) - ->setFeatureId($featureId); - } - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $parent - * Required. The resource name of the EntityType or FeatureGroup to create a - * Feature. Format for entity_type as parent: - * `projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entity_type}` - * Format for feature_group as parent: - * `projects/{project}/locations/{location}/featureGroups/{feature_group}` - * @type \Google\Cloud\AIPlatform\V1\Feature $feature - * Required. The Feature to create. - * @type string $feature_id - * Required. The ID to use for the Feature, which will become the final - * component of the Feature's resource name. - * This value may be up to 128 characters, and valid characters are - * `[a-z0-9_]`. The first character cannot be a number. - * The value must be unique within an EntityType/FeatureGroup. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Cloud\Aiplatform\V1\FeaturestoreService::initOnce(); - parent::__construct($data); - } - - /** - * Required. The resource name of the EntityType or FeatureGroup to create a - * Feature. Format for entity_type as parent: - * `projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entity_type}` - * Format for feature_group as parent: - * `projects/{project}/locations/{location}/featureGroups/{feature_group}` - * - * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - * @return string - */ - public function getParent() - { - return $this->parent; - } - - /** - * Required. The resource name of the EntityType or FeatureGroup to create a - * Feature. Format for entity_type as parent: - * `projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entity_type}` - * Format for feature_group as parent: - * `projects/{project}/locations/{location}/featureGroups/{feature_group}` - * - * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setParent($var) - { - GPBUtil::checkString($var, True); - $this->parent = $var; - - return $this; - } - - /** - * Required. The Feature to create. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.Feature feature = 2 [(.google.api.field_behavior) = REQUIRED]; - * @return \Google\Cloud\AIPlatform\V1\Feature|null - */ - public function getFeature() - { - return $this->feature; - } - - public function hasFeature() - { - return isset($this->feature); - } - - public function clearFeature() - { - unset($this->feature); - } - - /** - * Required. The Feature to create. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.Feature feature = 2 [(.google.api.field_behavior) = REQUIRED]; - * @param \Google\Cloud\AIPlatform\V1\Feature $var - * @return $this - */ - public function setFeature($var) - { - GPBUtil::checkMessage($var, \Google\Cloud\AIPlatform\V1\Feature::class); - $this->feature = $var; - - return $this; - } - - /** - * Required. The ID to use for the Feature, which will become the final - * component of the Feature's resource name. - * This value may be up to 128 characters, and valid characters are - * `[a-z0-9_]`. The first character cannot be a number. - * The value must be unique within an EntityType/FeatureGroup. - * - * Generated from protobuf field string feature_id = 3 [(.google.api.field_behavior) = REQUIRED]; - * @return string - */ - public function getFeatureId() - { - return $this->feature_id; - } - - /** - * Required. The ID to use for the Feature, which will become the final - * component of the Feature's resource name. - * This value may be up to 128 characters, and valid characters are - * `[a-z0-9_]`. The first character cannot be a number. - * The value must be unique within an EntityType/FeatureGroup. - * - * Generated from protobuf field string feature_id = 3 [(.google.api.field_behavior) = REQUIRED]; - * @param string $var - * @return $this - */ - public function setFeatureId($var) - { - GPBUtil::checkString($var, True); - $this->feature_id = $var; - - return $this; - } - -} - diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CreateFeatureViewOperationMetadata.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CreateFeatureViewOperationMetadata.php deleted file mode 100644 index 9afadfee20b9..000000000000 --- a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CreateFeatureViewOperationMetadata.php +++ /dev/null @@ -1,77 +0,0 @@ -google.cloud.aiplatform.v1.CreateFeatureViewOperationMetadata - */ -class CreateFeatureViewOperationMetadata extends \Google\Protobuf\Internal\Message -{ - /** - * Operation metadata for FeatureView Create. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.GenericOperationMetadata generic_metadata = 1; - */ - protected $generic_metadata = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type \Google\Cloud\AIPlatform\V1\GenericOperationMetadata $generic_metadata - * Operation metadata for FeatureView Create. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Cloud\Aiplatform\V1\FeatureOnlineStoreAdminService::initOnce(); - parent::__construct($data); - } - - /** - * Operation metadata for FeatureView Create. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.GenericOperationMetadata generic_metadata = 1; - * @return \Google\Cloud\AIPlatform\V1\GenericOperationMetadata|null - */ - public function getGenericMetadata() - { - return $this->generic_metadata; - } - - public function hasGenericMetadata() - { - return isset($this->generic_metadata); - } - - public function clearGenericMetadata() - { - unset($this->generic_metadata); - } - - /** - * Operation metadata for FeatureView Create. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.GenericOperationMetadata generic_metadata = 1; - * @param \Google\Cloud\AIPlatform\V1\GenericOperationMetadata $var - * @return $this - */ - public function setGenericMetadata($var) - { - GPBUtil::checkMessage($var, \Google\Cloud\AIPlatform\V1\GenericOperationMetadata::class); - $this->generic_metadata = $var; - - return $this; - } - -} - diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CreateFeatureViewRequest.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CreateFeatureViewRequest.php deleted file mode 100644 index d7c4f8746c39..000000000000 --- a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CreateFeatureViewRequest.php +++ /dev/null @@ -1,242 +0,0 @@ -google.cloud.aiplatform.v1.CreateFeatureViewRequest - */ -class CreateFeatureViewRequest extends \Google\Protobuf\Internal\Message -{ - /** - * Required. The resource name of the FeatureOnlineStore to create - * FeatureViews. Format: - * `projects/{project}/locations/{location}/featureOnlineStores/{feature_online_store}` - * - * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - */ - protected $parent = ''; - /** - * Required. The FeatureView to create. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.FeatureView feature_view = 2 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $feature_view = null; - /** - * Required. The ID to use for the FeatureView, which will become the final - * component of the FeatureView's resource name. - * This value may be up to 60 characters, and valid characters are - * `[a-z0-9_]`. The first character cannot be a number. - * The value must be unique within a FeatureOnlineStore. - * - * Generated from protobuf field string feature_view_id = 3 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $feature_view_id = ''; - /** - * Immutable. If set to true, one on demand sync will be run immediately, - * regardless whether the - * [FeatureView.sync_config][google.cloud.aiplatform.v1.FeatureView.sync_config] - * is configured or not. - * - * Generated from protobuf field bool run_sync_immediately = 4 [(.google.api.field_behavior) = IMMUTABLE]; - */ - protected $run_sync_immediately = false; - - /** - * @param string $parent Required. The resource name of the FeatureOnlineStore to create - * FeatureViews. Format: - * `projects/{project}/locations/{location}/featureOnlineStores/{feature_online_store}` - * Please see {@see FeatureOnlineStoreAdminServiceClient::featureOnlineStoreName()} for help formatting this field. - * @param \Google\Cloud\AIPlatform\V1\FeatureView $featureView Required. The FeatureView to create. - * @param string $featureViewId Required. The ID to use for the FeatureView, which will become the final - * component of the FeatureView's resource name. - * - * This value may be up to 60 characters, and valid characters are - * `[a-z0-9_]`. The first character cannot be a number. - * - * The value must be unique within a FeatureOnlineStore. - * - * @return \Google\Cloud\AIPlatform\V1\CreateFeatureViewRequest - * - * @experimental - */ - public static function build(string $parent, \Google\Cloud\AIPlatform\V1\FeatureView $featureView, string $featureViewId): self - { - return (new self()) - ->setParent($parent) - ->setFeatureView($featureView) - ->setFeatureViewId($featureViewId); - } - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $parent - * Required. The resource name of the FeatureOnlineStore to create - * FeatureViews. Format: - * `projects/{project}/locations/{location}/featureOnlineStores/{feature_online_store}` - * @type \Google\Cloud\AIPlatform\V1\FeatureView $feature_view - * Required. The FeatureView to create. - * @type string $feature_view_id - * Required. The ID to use for the FeatureView, which will become the final - * component of the FeatureView's resource name. - * This value may be up to 60 characters, and valid characters are - * `[a-z0-9_]`. The first character cannot be a number. - * The value must be unique within a FeatureOnlineStore. - * @type bool $run_sync_immediately - * Immutable. If set to true, one on demand sync will be run immediately, - * regardless whether the - * [FeatureView.sync_config][google.cloud.aiplatform.v1.FeatureView.sync_config] - * is configured or not. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Cloud\Aiplatform\V1\FeatureOnlineStoreAdminService::initOnce(); - parent::__construct($data); - } - - /** - * Required. The resource name of the FeatureOnlineStore to create - * FeatureViews. Format: - * `projects/{project}/locations/{location}/featureOnlineStores/{feature_online_store}` - * - * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - * @return string - */ - public function getParent() - { - return $this->parent; - } - - /** - * Required. The resource name of the FeatureOnlineStore to create - * FeatureViews. Format: - * `projects/{project}/locations/{location}/featureOnlineStores/{feature_online_store}` - * - * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setParent($var) - { - GPBUtil::checkString($var, True); - $this->parent = $var; - - return $this; - } - - /** - * Required. The FeatureView to create. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.FeatureView feature_view = 2 [(.google.api.field_behavior) = REQUIRED]; - * @return \Google\Cloud\AIPlatform\V1\FeatureView|null - */ - public function getFeatureView() - { - return $this->feature_view; - } - - public function hasFeatureView() - { - return isset($this->feature_view); - } - - public function clearFeatureView() - { - unset($this->feature_view); - } - - /** - * Required. The FeatureView to create. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.FeatureView feature_view = 2 [(.google.api.field_behavior) = REQUIRED]; - * @param \Google\Cloud\AIPlatform\V1\FeatureView $var - * @return $this - */ - public function setFeatureView($var) - { - GPBUtil::checkMessage($var, \Google\Cloud\AIPlatform\V1\FeatureView::class); - $this->feature_view = $var; - - return $this; - } - - /** - * Required. The ID to use for the FeatureView, which will become the final - * component of the FeatureView's resource name. - * This value may be up to 60 characters, and valid characters are - * `[a-z0-9_]`. The first character cannot be a number. - * The value must be unique within a FeatureOnlineStore. - * - * Generated from protobuf field string feature_view_id = 3 [(.google.api.field_behavior) = REQUIRED]; - * @return string - */ - public function getFeatureViewId() - { - return $this->feature_view_id; - } - - /** - * Required. The ID to use for the FeatureView, which will become the final - * component of the FeatureView's resource name. - * This value may be up to 60 characters, and valid characters are - * `[a-z0-9_]`. The first character cannot be a number. - * The value must be unique within a FeatureOnlineStore. - * - * Generated from protobuf field string feature_view_id = 3 [(.google.api.field_behavior) = REQUIRED]; - * @param string $var - * @return $this - */ - public function setFeatureViewId($var) - { - GPBUtil::checkString($var, True); - $this->feature_view_id = $var; - - return $this; - } - - /** - * Immutable. If set to true, one on demand sync will be run immediately, - * regardless whether the - * [FeatureView.sync_config][google.cloud.aiplatform.v1.FeatureView.sync_config] - * is configured or not. - * - * Generated from protobuf field bool run_sync_immediately = 4 [(.google.api.field_behavior) = IMMUTABLE]; - * @return bool - */ - public function getRunSyncImmediately() - { - return $this->run_sync_immediately; - } - - /** - * Immutable. If set to true, one on demand sync will be run immediately, - * regardless whether the - * [FeatureView.sync_config][google.cloud.aiplatform.v1.FeatureView.sync_config] - * is configured or not. - * - * Generated from protobuf field bool run_sync_immediately = 4 [(.google.api.field_behavior) = IMMUTABLE]; - * @param bool $var - * @return $this - */ - public function setRunSyncImmediately($var) - { - GPBUtil::checkBool($var); - $this->run_sync_immediately = $var; - - return $this; - } - -} - diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CreateFeaturestoreOperationMetadata.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CreateFeaturestoreOperationMetadata.php deleted file mode 100644 index cfbfb6e717be..000000000000 --- a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CreateFeaturestoreOperationMetadata.php +++ /dev/null @@ -1,77 +0,0 @@ -google.cloud.aiplatform.v1.CreateFeaturestoreOperationMetadata - */ -class CreateFeaturestoreOperationMetadata extends \Google\Protobuf\Internal\Message -{ - /** - * Operation metadata for Featurestore. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.GenericOperationMetadata generic_metadata = 1; - */ - protected $generic_metadata = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type \Google\Cloud\AIPlatform\V1\GenericOperationMetadata $generic_metadata - * Operation metadata for Featurestore. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Cloud\Aiplatform\V1\FeaturestoreService::initOnce(); - parent::__construct($data); - } - - /** - * Operation metadata for Featurestore. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.GenericOperationMetadata generic_metadata = 1; - * @return \Google\Cloud\AIPlatform\V1\GenericOperationMetadata|null - */ - public function getGenericMetadata() - { - return $this->generic_metadata; - } - - public function hasGenericMetadata() - { - return isset($this->generic_metadata); - } - - public function clearGenericMetadata() - { - unset($this->generic_metadata); - } - - /** - * Operation metadata for Featurestore. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.GenericOperationMetadata generic_metadata = 1; - * @param \Google\Cloud\AIPlatform\V1\GenericOperationMetadata $var - * @return $this - */ - public function setGenericMetadata($var) - { - GPBUtil::checkMessage($var, \Google\Cloud\AIPlatform\V1\GenericOperationMetadata::class); - $this->generic_metadata = $var; - - return $this; - } - -} - diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CreateFeaturestoreRequest.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CreateFeaturestoreRequest.php deleted file mode 100644 index 65a3c26fa649..000000000000 --- a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CreateFeaturestoreRequest.php +++ /dev/null @@ -1,214 +0,0 @@ -google.cloud.aiplatform.v1.CreateFeaturestoreRequest - */ -class CreateFeaturestoreRequest extends \Google\Protobuf\Internal\Message -{ - /** - * Required. The resource name of the Location to create Featurestores. - * Format: - * `projects/{project}/locations/{location}` - * - * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - */ - protected $parent = ''; - /** - * Required. The Featurestore to create. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.Featurestore featurestore = 2 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $featurestore = null; - /** - * Required. The ID to use for this Featurestore, which will become the final - * component of the Featurestore's resource name. - * This value may be up to 60 characters, and valid characters are - * `[a-z0-9_]`. The first character cannot be a number. - * The value must be unique within the project and location. - * - * Generated from protobuf field string featurestore_id = 3 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $featurestore_id = ''; - - /** - * @param string $parent Required. The resource name of the Location to create Featurestores. - * Format: - * `projects/{project}/locations/{location}` - * Please see {@see FeaturestoreServiceClient::locationName()} for help formatting this field. - * @param \Google\Cloud\AIPlatform\V1\Featurestore $featurestore Required. The Featurestore to create. - * - * @return \Google\Cloud\AIPlatform\V1\CreateFeaturestoreRequest - * - * @experimental - */ - public static function build(string $parent, \Google\Cloud\AIPlatform\V1\Featurestore $featurestore): self - { - return (new self()) - ->setParent($parent) - ->setFeaturestore($featurestore); - } - - /** - * @param string $parent Required. The resource name of the Location to create Featurestores. - * Format: - * `projects/{project}/locations/{location}` - * Please see {@see FeaturestoreServiceClient::locationName()} for help formatting this field. - * @param \Google\Cloud\AIPlatform\V1\Featurestore $featurestore Required. The Featurestore to create. - * @param string $featurestoreId Required. The ID to use for this Featurestore, which will become the final - * component of the Featurestore's resource name. - * - * This value may be up to 60 characters, and valid characters are - * `[a-z0-9_]`. The first character cannot be a number. - * - * The value must be unique within the project and location. - * - * @return \Google\Cloud\AIPlatform\V1\CreateFeaturestoreRequest - * - * @experimental - */ - public static function buildFromParentFeaturestoreFeaturestoreId(string $parent, \Google\Cloud\AIPlatform\V1\Featurestore $featurestore, string $featurestoreId): self - { - return (new self()) - ->setParent($parent) - ->setFeaturestore($featurestore) - ->setFeaturestoreId($featurestoreId); - } - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $parent - * Required. The resource name of the Location to create Featurestores. - * Format: - * `projects/{project}/locations/{location}` - * @type \Google\Cloud\AIPlatform\V1\Featurestore $featurestore - * Required. The Featurestore to create. - * @type string $featurestore_id - * Required. The ID to use for this Featurestore, which will become the final - * component of the Featurestore's resource name. - * This value may be up to 60 characters, and valid characters are - * `[a-z0-9_]`. The first character cannot be a number. - * The value must be unique within the project and location. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Cloud\Aiplatform\V1\FeaturestoreService::initOnce(); - parent::__construct($data); - } - - /** - * Required. The resource name of the Location to create Featurestores. - * Format: - * `projects/{project}/locations/{location}` - * - * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - * @return string - */ - public function getParent() - { - return $this->parent; - } - - /** - * Required. The resource name of the Location to create Featurestores. - * Format: - * `projects/{project}/locations/{location}` - * - * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setParent($var) - { - GPBUtil::checkString($var, True); - $this->parent = $var; - - return $this; - } - - /** - * Required. The Featurestore to create. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.Featurestore featurestore = 2 [(.google.api.field_behavior) = REQUIRED]; - * @return \Google\Cloud\AIPlatform\V1\Featurestore|null - */ - public function getFeaturestore() - { - return $this->featurestore; - } - - public function hasFeaturestore() - { - return isset($this->featurestore); - } - - public function clearFeaturestore() - { - unset($this->featurestore); - } - - /** - * Required. The Featurestore to create. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.Featurestore featurestore = 2 [(.google.api.field_behavior) = REQUIRED]; - * @param \Google\Cloud\AIPlatform\V1\Featurestore $var - * @return $this - */ - public function setFeaturestore($var) - { - GPBUtil::checkMessage($var, \Google\Cloud\AIPlatform\V1\Featurestore::class); - $this->featurestore = $var; - - return $this; - } - - /** - * Required. The ID to use for this Featurestore, which will become the final - * component of the Featurestore's resource name. - * This value may be up to 60 characters, and valid characters are - * `[a-z0-9_]`. The first character cannot be a number. - * The value must be unique within the project and location. - * - * Generated from protobuf field string featurestore_id = 3 [(.google.api.field_behavior) = REQUIRED]; - * @return string - */ - public function getFeaturestoreId() - { - return $this->featurestore_id; - } - - /** - * Required. The ID to use for this Featurestore, which will become the final - * component of the Featurestore's resource name. - * This value may be up to 60 characters, and valid characters are - * `[a-z0-9_]`. The first character cannot be a number. - * The value must be unique within the project and location. - * - * Generated from protobuf field string featurestore_id = 3 [(.google.api.field_behavior) = REQUIRED]; - * @param string $var - * @return $this - */ - public function setFeaturestoreId($var) - { - GPBUtil::checkString($var, True); - $this->featurestore_id = $var; - - return $this; - } - -} - diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CreateHyperparameterTuningJobRequest.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CreateHyperparameterTuningJobRequest.php deleted file mode 100644 index bbc29fe3a679..000000000000 --- a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CreateHyperparameterTuningJobRequest.php +++ /dev/null @@ -1,138 +0,0 @@ -google.cloud.aiplatform.v1.CreateHyperparameterTuningJobRequest - */ -class CreateHyperparameterTuningJobRequest extends \Google\Protobuf\Internal\Message -{ - /** - * Required. The resource name of the Location to create the - * HyperparameterTuningJob in. Format: - * `projects/{project}/locations/{location}` - * - * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - */ - protected $parent = ''; - /** - * Required. The HyperparameterTuningJob to create. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.HyperparameterTuningJob hyperparameter_tuning_job = 2 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $hyperparameter_tuning_job = null; - - /** - * @param string $parent Required. The resource name of the Location to create the - * HyperparameterTuningJob in. Format: - * `projects/{project}/locations/{location}` - * Please see {@see JobServiceClient::locationName()} for help formatting this field. - * @param \Google\Cloud\AIPlatform\V1\HyperparameterTuningJob $hyperparameterTuningJob Required. The HyperparameterTuningJob to create. - * - * @return \Google\Cloud\AIPlatform\V1\CreateHyperparameterTuningJobRequest - * - * @experimental - */ - public static function build(string $parent, \Google\Cloud\AIPlatform\V1\HyperparameterTuningJob $hyperparameterTuningJob): self - { - return (new self()) - ->setParent($parent) - ->setHyperparameterTuningJob($hyperparameterTuningJob); - } - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $parent - * Required. The resource name of the Location to create the - * HyperparameterTuningJob in. Format: - * `projects/{project}/locations/{location}` - * @type \Google\Cloud\AIPlatform\V1\HyperparameterTuningJob $hyperparameter_tuning_job - * Required. The HyperparameterTuningJob to create. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Cloud\Aiplatform\V1\JobService::initOnce(); - parent::__construct($data); - } - - /** - * Required. The resource name of the Location to create the - * HyperparameterTuningJob in. Format: - * `projects/{project}/locations/{location}` - * - * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - * @return string - */ - public function getParent() - { - return $this->parent; - } - - /** - * Required. The resource name of the Location to create the - * HyperparameterTuningJob in. Format: - * `projects/{project}/locations/{location}` - * - * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setParent($var) - { - GPBUtil::checkString($var, True); - $this->parent = $var; - - return $this; - } - - /** - * Required. The HyperparameterTuningJob to create. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.HyperparameterTuningJob hyperparameter_tuning_job = 2 [(.google.api.field_behavior) = REQUIRED]; - * @return \Google\Cloud\AIPlatform\V1\HyperparameterTuningJob|null - */ - public function getHyperparameterTuningJob() - { - return $this->hyperparameter_tuning_job; - } - - public function hasHyperparameterTuningJob() - { - return isset($this->hyperparameter_tuning_job); - } - - public function clearHyperparameterTuningJob() - { - unset($this->hyperparameter_tuning_job); - } - - /** - * Required. The HyperparameterTuningJob to create. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.HyperparameterTuningJob hyperparameter_tuning_job = 2 [(.google.api.field_behavior) = REQUIRED]; - * @param \Google\Cloud\AIPlatform\V1\HyperparameterTuningJob $var - * @return $this - */ - public function setHyperparameterTuningJob($var) - { - GPBUtil::checkMessage($var, \Google\Cloud\AIPlatform\V1\HyperparameterTuningJob::class); - $this->hyperparameter_tuning_job = $var; - - return $this; - } - -} - diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CreateIndexEndpointOperationMetadata.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CreateIndexEndpointOperationMetadata.php deleted file mode 100644 index c87e3c1abf76..000000000000 --- a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CreateIndexEndpointOperationMetadata.php +++ /dev/null @@ -1,78 +0,0 @@ -google.cloud.aiplatform.v1.CreateIndexEndpointOperationMetadata - */ -class CreateIndexEndpointOperationMetadata extends \Google\Protobuf\Internal\Message -{ - /** - * The operation generic information. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.GenericOperationMetadata generic_metadata = 1; - */ - protected $generic_metadata = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type \Google\Cloud\AIPlatform\V1\GenericOperationMetadata $generic_metadata - * The operation generic information. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Cloud\Aiplatform\V1\IndexEndpointService::initOnce(); - parent::__construct($data); - } - - /** - * The operation generic information. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.GenericOperationMetadata generic_metadata = 1; - * @return \Google\Cloud\AIPlatform\V1\GenericOperationMetadata|null - */ - public function getGenericMetadata() - { - return $this->generic_metadata; - } - - public function hasGenericMetadata() - { - return isset($this->generic_metadata); - } - - public function clearGenericMetadata() - { - unset($this->generic_metadata); - } - - /** - * The operation generic information. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.GenericOperationMetadata generic_metadata = 1; - * @param \Google\Cloud\AIPlatform\V1\GenericOperationMetadata $var - * @return $this - */ - public function setGenericMetadata($var) - { - GPBUtil::checkMessage($var, \Google\Cloud\AIPlatform\V1\GenericOperationMetadata::class); - $this->generic_metadata = $var; - - return $this; - } - -} - diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CreateIndexEndpointRequest.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CreateIndexEndpointRequest.php deleted file mode 100644 index 6649ba6db0a6..000000000000 --- a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CreateIndexEndpointRequest.php +++ /dev/null @@ -1,133 +0,0 @@ -google.cloud.aiplatform.v1.CreateIndexEndpointRequest - */ -class CreateIndexEndpointRequest extends \Google\Protobuf\Internal\Message -{ - /** - * Required. The resource name of the Location to create the IndexEndpoint in. - * Format: `projects/{project}/locations/{location}` - * - * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - */ - protected $parent = ''; - /** - * Required. The IndexEndpoint to create. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.IndexEndpoint index_endpoint = 2 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $index_endpoint = null; - - /** - * @param string $parent Required. The resource name of the Location to create the IndexEndpoint in. - * Format: `projects/{project}/locations/{location}` - * Please see {@see IndexEndpointServiceClient::locationName()} for help formatting this field. - * @param \Google\Cloud\AIPlatform\V1\IndexEndpoint $indexEndpoint Required. The IndexEndpoint to create. - * - * @return \Google\Cloud\AIPlatform\V1\CreateIndexEndpointRequest - * - * @experimental - */ - public static function build(string $parent, \Google\Cloud\AIPlatform\V1\IndexEndpoint $indexEndpoint): self - { - return (new self()) - ->setParent($parent) - ->setIndexEndpoint($indexEndpoint); - } - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $parent - * Required. The resource name of the Location to create the IndexEndpoint in. - * Format: `projects/{project}/locations/{location}` - * @type \Google\Cloud\AIPlatform\V1\IndexEndpoint $index_endpoint - * Required. The IndexEndpoint to create. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Cloud\Aiplatform\V1\IndexEndpointService::initOnce(); - parent::__construct($data); - } - - /** - * Required. The resource name of the Location to create the IndexEndpoint in. - * Format: `projects/{project}/locations/{location}` - * - * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - * @return string - */ - public function getParent() - { - return $this->parent; - } - - /** - * Required. The resource name of the Location to create the IndexEndpoint in. - * Format: `projects/{project}/locations/{location}` - * - * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setParent($var) - { - GPBUtil::checkString($var, True); - $this->parent = $var; - - return $this; - } - - /** - * Required. The IndexEndpoint to create. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.IndexEndpoint index_endpoint = 2 [(.google.api.field_behavior) = REQUIRED]; - * @return \Google\Cloud\AIPlatform\V1\IndexEndpoint|null - */ - public function getIndexEndpoint() - { - return $this->index_endpoint; - } - - public function hasIndexEndpoint() - { - return isset($this->index_endpoint); - } - - public function clearIndexEndpoint() - { - unset($this->index_endpoint); - } - - /** - * Required. The IndexEndpoint to create. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.IndexEndpoint index_endpoint = 2 [(.google.api.field_behavior) = REQUIRED]; - * @param \Google\Cloud\AIPlatform\V1\IndexEndpoint $var - * @return $this - */ - public function setIndexEndpoint($var) - { - GPBUtil::checkMessage($var, \Google\Cloud\AIPlatform\V1\IndexEndpoint::class); - $this->index_endpoint = $var; - - return $this; - } - -} - diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CreateIndexOperationMetadata.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CreateIndexOperationMetadata.php deleted file mode 100644 index a7d66dd9462f..000000000000 --- a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CreateIndexOperationMetadata.php +++ /dev/null @@ -1,122 +0,0 @@ -google.cloud.aiplatform.v1.CreateIndexOperationMetadata - */ -class CreateIndexOperationMetadata extends \Google\Protobuf\Internal\Message -{ - /** - * The operation generic information. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.GenericOperationMetadata generic_metadata = 1; - */ - protected $generic_metadata = null; - /** - * The operation metadata with regard to Matching Engine Index operation. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.NearestNeighborSearchOperationMetadata nearest_neighbor_search_operation_metadata = 2; - */ - protected $nearest_neighbor_search_operation_metadata = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type \Google\Cloud\AIPlatform\V1\GenericOperationMetadata $generic_metadata - * The operation generic information. - * @type \Google\Cloud\AIPlatform\V1\NearestNeighborSearchOperationMetadata $nearest_neighbor_search_operation_metadata - * The operation metadata with regard to Matching Engine Index operation. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Cloud\Aiplatform\V1\IndexService::initOnce(); - parent::__construct($data); - } - - /** - * The operation generic information. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.GenericOperationMetadata generic_metadata = 1; - * @return \Google\Cloud\AIPlatform\V1\GenericOperationMetadata|null - */ - public function getGenericMetadata() - { - return $this->generic_metadata; - } - - public function hasGenericMetadata() - { - return isset($this->generic_metadata); - } - - public function clearGenericMetadata() - { - unset($this->generic_metadata); - } - - /** - * The operation generic information. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.GenericOperationMetadata generic_metadata = 1; - * @param \Google\Cloud\AIPlatform\V1\GenericOperationMetadata $var - * @return $this - */ - public function setGenericMetadata($var) - { - GPBUtil::checkMessage($var, \Google\Cloud\AIPlatform\V1\GenericOperationMetadata::class); - $this->generic_metadata = $var; - - return $this; - } - - /** - * The operation metadata with regard to Matching Engine Index operation. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.NearestNeighborSearchOperationMetadata nearest_neighbor_search_operation_metadata = 2; - * @return \Google\Cloud\AIPlatform\V1\NearestNeighborSearchOperationMetadata|null - */ - public function getNearestNeighborSearchOperationMetadata() - { - return $this->nearest_neighbor_search_operation_metadata; - } - - public function hasNearestNeighborSearchOperationMetadata() - { - return isset($this->nearest_neighbor_search_operation_metadata); - } - - public function clearNearestNeighborSearchOperationMetadata() - { - unset($this->nearest_neighbor_search_operation_metadata); - } - - /** - * The operation metadata with regard to Matching Engine Index operation. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.NearestNeighborSearchOperationMetadata nearest_neighbor_search_operation_metadata = 2; - * @param \Google\Cloud\AIPlatform\V1\NearestNeighborSearchOperationMetadata $var - * @return $this - */ - public function setNearestNeighborSearchOperationMetadata($var) - { - GPBUtil::checkMessage($var, \Google\Cloud\AIPlatform\V1\NearestNeighborSearchOperationMetadata::class); - $this->nearest_neighbor_search_operation_metadata = $var; - - return $this; - } - -} - diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CreateIndexRequest.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CreateIndexRequest.php deleted file mode 100644 index eb6fa1d4e365..000000000000 --- a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CreateIndexRequest.php +++ /dev/null @@ -1,133 +0,0 @@ -google.cloud.aiplatform.v1.CreateIndexRequest - */ -class CreateIndexRequest extends \Google\Protobuf\Internal\Message -{ - /** - * Required. The resource name of the Location to create the Index in. - * Format: `projects/{project}/locations/{location}` - * - * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - */ - protected $parent = ''; - /** - * Required. The Index to create. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.Index index = 2 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $index = null; - - /** - * @param string $parent Required. The resource name of the Location to create the Index in. - * Format: `projects/{project}/locations/{location}` - * Please see {@see IndexServiceClient::locationName()} for help formatting this field. - * @param \Google\Cloud\AIPlatform\V1\Index $index Required. The Index to create. - * - * @return \Google\Cloud\AIPlatform\V1\CreateIndexRequest - * - * @experimental - */ - public static function build(string $parent, \Google\Cloud\AIPlatform\V1\Index $index): self - { - return (new self()) - ->setParent($parent) - ->setIndex($index); - } - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $parent - * Required. The resource name of the Location to create the Index in. - * Format: `projects/{project}/locations/{location}` - * @type \Google\Cloud\AIPlatform\V1\Index $index - * Required. The Index to create. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Cloud\Aiplatform\V1\IndexService::initOnce(); - parent::__construct($data); - } - - /** - * Required. The resource name of the Location to create the Index in. - * Format: `projects/{project}/locations/{location}` - * - * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - * @return string - */ - public function getParent() - { - return $this->parent; - } - - /** - * Required. The resource name of the Location to create the Index in. - * Format: `projects/{project}/locations/{location}` - * - * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setParent($var) - { - GPBUtil::checkString($var, True); - $this->parent = $var; - - return $this; - } - - /** - * Required. The Index to create. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.Index index = 2 [(.google.api.field_behavior) = REQUIRED]; - * @return \Google\Cloud\AIPlatform\V1\Index|null - */ - public function getIndex() - { - return $this->index; - } - - public function hasIndex() - { - return isset($this->index); - } - - public function clearIndex() - { - unset($this->index); - } - - /** - * Required. The Index to create. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.Index index = 2 [(.google.api.field_behavior) = REQUIRED]; - * @param \Google\Cloud\AIPlatform\V1\Index $var - * @return $this - */ - public function setIndex($var) - { - GPBUtil::checkMessage($var, \Google\Cloud\AIPlatform\V1\Index::class); - $this->index = $var; - - return $this; - } - -} - diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CreateMetadataSchemaRequest.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CreateMetadataSchemaRequest.php deleted file mode 100644 index f0730dff1318..000000000000 --- a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CreateMetadataSchemaRequest.php +++ /dev/null @@ -1,209 +0,0 @@ -google.cloud.aiplatform.v1.CreateMetadataSchemaRequest - */ -class CreateMetadataSchemaRequest extends \Google\Protobuf\Internal\Message -{ - /** - * Required. The resource name of the MetadataStore where the MetadataSchema - * should be created. Format: - * `projects/{project}/locations/{location}/metadataStores/{metadatastore}` - * - * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - */ - protected $parent = ''; - /** - * Required. The MetadataSchema to create. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.MetadataSchema metadata_schema = 2 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $metadata_schema = null; - /** - * The {metadata_schema} portion of the resource name with the format: - * `projects/{project}/locations/{location}/metadataStores/{metadatastore}/metadataSchemas/{metadataschema}` - * If not provided, the MetadataStore's ID will be a UUID generated by the - * service. - * Must be 4-128 characters in length. Valid characters are `/[a-z][0-9]-/`. - * Must be unique across all MetadataSchemas in the parent Location. - * (Otherwise the request will fail with ALREADY_EXISTS, or PERMISSION_DENIED - * if the caller can't view the preexisting MetadataSchema.) - * - * Generated from protobuf field string metadata_schema_id = 3; - */ - protected $metadata_schema_id = ''; - - /** - * @param string $parent Required. The resource name of the MetadataStore where the MetadataSchema - * should be created. Format: - * `projects/{project}/locations/{location}/metadataStores/{metadatastore}` - * Please see {@see MetadataServiceClient::metadataStoreName()} for help formatting this field. - * @param \Google\Cloud\AIPlatform\V1\MetadataSchema $metadataSchema Required. The MetadataSchema to create. - * @param string $metadataSchemaId The {metadata_schema} portion of the resource name with the format: - * `projects/{project}/locations/{location}/metadataStores/{metadatastore}/metadataSchemas/{metadataschema}` - * If not provided, the MetadataStore's ID will be a UUID generated by the - * service. - * Must be 4-128 characters in length. Valid characters are `/[a-z][0-9]-/`. - * Must be unique across all MetadataSchemas in the parent Location. - * (Otherwise the request will fail with ALREADY_EXISTS, or PERMISSION_DENIED - * if the caller can't view the preexisting MetadataSchema.) - * - * @return \Google\Cloud\AIPlatform\V1\CreateMetadataSchemaRequest - * - * @experimental - */ - public static function build(string $parent, \Google\Cloud\AIPlatform\V1\MetadataSchema $metadataSchema, string $metadataSchemaId): self - { - return (new self()) - ->setParent($parent) - ->setMetadataSchema($metadataSchema) - ->setMetadataSchemaId($metadataSchemaId); - } - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $parent - * Required. The resource name of the MetadataStore where the MetadataSchema - * should be created. Format: - * `projects/{project}/locations/{location}/metadataStores/{metadatastore}` - * @type \Google\Cloud\AIPlatform\V1\MetadataSchema $metadata_schema - * Required. The MetadataSchema to create. - * @type string $metadata_schema_id - * The {metadata_schema} portion of the resource name with the format: - * `projects/{project}/locations/{location}/metadataStores/{metadatastore}/metadataSchemas/{metadataschema}` - * If not provided, the MetadataStore's ID will be a UUID generated by the - * service. - * Must be 4-128 characters in length. Valid characters are `/[a-z][0-9]-/`. - * Must be unique across all MetadataSchemas in the parent Location. - * (Otherwise the request will fail with ALREADY_EXISTS, or PERMISSION_DENIED - * if the caller can't view the preexisting MetadataSchema.) - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Cloud\Aiplatform\V1\MetadataService::initOnce(); - parent::__construct($data); - } - - /** - * Required. The resource name of the MetadataStore where the MetadataSchema - * should be created. Format: - * `projects/{project}/locations/{location}/metadataStores/{metadatastore}` - * - * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - * @return string - */ - public function getParent() - { - return $this->parent; - } - - /** - * Required. The resource name of the MetadataStore where the MetadataSchema - * should be created. Format: - * `projects/{project}/locations/{location}/metadataStores/{metadatastore}` - * - * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setParent($var) - { - GPBUtil::checkString($var, True); - $this->parent = $var; - - return $this; - } - - /** - * Required. The MetadataSchema to create. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.MetadataSchema metadata_schema = 2 [(.google.api.field_behavior) = REQUIRED]; - * @return \Google\Cloud\AIPlatform\V1\MetadataSchema|null - */ - public function getMetadataSchema() - { - return $this->metadata_schema; - } - - public function hasMetadataSchema() - { - return isset($this->metadata_schema); - } - - public function clearMetadataSchema() - { - unset($this->metadata_schema); - } - - /** - * Required. The MetadataSchema to create. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.MetadataSchema metadata_schema = 2 [(.google.api.field_behavior) = REQUIRED]; - * @param \Google\Cloud\AIPlatform\V1\MetadataSchema $var - * @return $this - */ - public function setMetadataSchema($var) - { - GPBUtil::checkMessage($var, \Google\Cloud\AIPlatform\V1\MetadataSchema::class); - $this->metadata_schema = $var; - - return $this; - } - - /** - * The {metadata_schema} portion of the resource name with the format: - * `projects/{project}/locations/{location}/metadataStores/{metadatastore}/metadataSchemas/{metadataschema}` - * If not provided, the MetadataStore's ID will be a UUID generated by the - * service. - * Must be 4-128 characters in length. Valid characters are `/[a-z][0-9]-/`. - * Must be unique across all MetadataSchemas in the parent Location. - * (Otherwise the request will fail with ALREADY_EXISTS, or PERMISSION_DENIED - * if the caller can't view the preexisting MetadataSchema.) - * - * Generated from protobuf field string metadata_schema_id = 3; - * @return string - */ - public function getMetadataSchemaId() - { - return $this->metadata_schema_id; - } - - /** - * The {metadata_schema} portion of the resource name with the format: - * `projects/{project}/locations/{location}/metadataStores/{metadatastore}/metadataSchemas/{metadataschema}` - * If not provided, the MetadataStore's ID will be a UUID generated by the - * service. - * Must be 4-128 characters in length. Valid characters are `/[a-z][0-9]-/`. - * Must be unique across all MetadataSchemas in the parent Location. - * (Otherwise the request will fail with ALREADY_EXISTS, or PERMISSION_DENIED - * if the caller can't view the preexisting MetadataSchema.) - * - * Generated from protobuf field string metadata_schema_id = 3; - * @param string $var - * @return $this - */ - public function setMetadataSchemaId($var) - { - GPBUtil::checkString($var, True); - $this->metadata_schema_id = $var; - - return $this; - } - -} - diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CreateMetadataStoreOperationMetadata.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CreateMetadataStoreOperationMetadata.php deleted file mode 100644 index 8a2e4b516b29..000000000000 --- a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CreateMetadataStoreOperationMetadata.php +++ /dev/null @@ -1,78 +0,0 @@ -google.cloud.aiplatform.v1.CreateMetadataStoreOperationMetadata - */ -class CreateMetadataStoreOperationMetadata extends \Google\Protobuf\Internal\Message -{ - /** - * Operation metadata for creating a MetadataStore. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.GenericOperationMetadata generic_metadata = 1; - */ - protected $generic_metadata = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type \Google\Cloud\AIPlatform\V1\GenericOperationMetadata $generic_metadata - * Operation metadata for creating a MetadataStore. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Cloud\Aiplatform\V1\MetadataService::initOnce(); - parent::__construct($data); - } - - /** - * Operation metadata for creating a MetadataStore. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.GenericOperationMetadata generic_metadata = 1; - * @return \Google\Cloud\AIPlatform\V1\GenericOperationMetadata|null - */ - public function getGenericMetadata() - { - return $this->generic_metadata; - } - - public function hasGenericMetadata() - { - return isset($this->generic_metadata); - } - - public function clearGenericMetadata() - { - unset($this->generic_metadata); - } - - /** - * Operation metadata for creating a MetadataStore. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.GenericOperationMetadata generic_metadata = 1; - * @param \Google\Cloud\AIPlatform\V1\GenericOperationMetadata $var - * @return $this - */ - public function setGenericMetadata($var) - { - GPBUtil::checkMessage($var, \Google\Cloud\AIPlatform\V1\GenericOperationMetadata::class); - $this->generic_metadata = $var; - - return $this; - } - -} - diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CreateMetadataStoreRequest.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CreateMetadataStoreRequest.php deleted file mode 100644 index e6296df82838..000000000000 --- a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CreateMetadataStoreRequest.php +++ /dev/null @@ -1,209 +0,0 @@ -google.cloud.aiplatform.v1.CreateMetadataStoreRequest - */ -class CreateMetadataStoreRequest extends \Google\Protobuf\Internal\Message -{ - /** - * Required. The resource name of the Location where the MetadataStore should - * be created. - * Format: `projects/{project}/locations/{location}/` - * - * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - */ - protected $parent = ''; - /** - * Required. The MetadataStore to create. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.MetadataStore metadata_store = 2 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $metadata_store = null; - /** - * The {metadatastore} portion of the resource name with the format: - * `projects/{project}/locations/{location}/metadataStores/{metadatastore}` - * If not provided, the MetadataStore's ID will be a UUID generated by the - * service. - * Must be 4-128 characters in length. Valid characters are `/[a-z][0-9]-/`. - * Must be unique across all MetadataStores in the parent Location. - * (Otherwise the request will fail with ALREADY_EXISTS, or PERMISSION_DENIED - * if the caller can't view the preexisting MetadataStore.) - * - * Generated from protobuf field string metadata_store_id = 3; - */ - protected $metadata_store_id = ''; - - /** - * @param string $parent Required. The resource name of the Location where the MetadataStore should - * be created. - * Format: `projects/{project}/locations/{location}/` - * Please see {@see MetadataServiceClient::locationName()} for help formatting this field. - * @param \Google\Cloud\AIPlatform\V1\MetadataStore $metadataStore Required. The MetadataStore to create. - * @param string $metadataStoreId The {metadatastore} portion of the resource name with the format: - * `projects/{project}/locations/{location}/metadataStores/{metadatastore}` - * If not provided, the MetadataStore's ID will be a UUID generated by the - * service. - * Must be 4-128 characters in length. Valid characters are `/[a-z][0-9]-/`. - * Must be unique across all MetadataStores in the parent Location. - * (Otherwise the request will fail with ALREADY_EXISTS, or PERMISSION_DENIED - * if the caller can't view the preexisting MetadataStore.) - * - * @return \Google\Cloud\AIPlatform\V1\CreateMetadataStoreRequest - * - * @experimental - */ - public static function build(string $parent, \Google\Cloud\AIPlatform\V1\MetadataStore $metadataStore, string $metadataStoreId): self - { - return (new self()) - ->setParent($parent) - ->setMetadataStore($metadataStore) - ->setMetadataStoreId($metadataStoreId); - } - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $parent - * Required. The resource name of the Location where the MetadataStore should - * be created. - * Format: `projects/{project}/locations/{location}/` - * @type \Google\Cloud\AIPlatform\V1\MetadataStore $metadata_store - * Required. The MetadataStore to create. - * @type string $metadata_store_id - * The {metadatastore} portion of the resource name with the format: - * `projects/{project}/locations/{location}/metadataStores/{metadatastore}` - * If not provided, the MetadataStore's ID will be a UUID generated by the - * service. - * Must be 4-128 characters in length. Valid characters are `/[a-z][0-9]-/`. - * Must be unique across all MetadataStores in the parent Location. - * (Otherwise the request will fail with ALREADY_EXISTS, or PERMISSION_DENIED - * if the caller can't view the preexisting MetadataStore.) - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Cloud\Aiplatform\V1\MetadataService::initOnce(); - parent::__construct($data); - } - - /** - * Required. The resource name of the Location where the MetadataStore should - * be created. - * Format: `projects/{project}/locations/{location}/` - * - * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - * @return string - */ - public function getParent() - { - return $this->parent; - } - - /** - * Required. The resource name of the Location where the MetadataStore should - * be created. - * Format: `projects/{project}/locations/{location}/` - * - * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setParent($var) - { - GPBUtil::checkString($var, True); - $this->parent = $var; - - return $this; - } - - /** - * Required. The MetadataStore to create. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.MetadataStore metadata_store = 2 [(.google.api.field_behavior) = REQUIRED]; - * @return \Google\Cloud\AIPlatform\V1\MetadataStore|null - */ - public function getMetadataStore() - { - return $this->metadata_store; - } - - public function hasMetadataStore() - { - return isset($this->metadata_store); - } - - public function clearMetadataStore() - { - unset($this->metadata_store); - } - - /** - * Required. The MetadataStore to create. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.MetadataStore metadata_store = 2 [(.google.api.field_behavior) = REQUIRED]; - * @param \Google\Cloud\AIPlatform\V1\MetadataStore $var - * @return $this - */ - public function setMetadataStore($var) - { - GPBUtil::checkMessage($var, \Google\Cloud\AIPlatform\V1\MetadataStore::class); - $this->metadata_store = $var; - - return $this; - } - - /** - * The {metadatastore} portion of the resource name with the format: - * `projects/{project}/locations/{location}/metadataStores/{metadatastore}` - * If not provided, the MetadataStore's ID will be a UUID generated by the - * service. - * Must be 4-128 characters in length. Valid characters are `/[a-z][0-9]-/`. - * Must be unique across all MetadataStores in the parent Location. - * (Otherwise the request will fail with ALREADY_EXISTS, or PERMISSION_DENIED - * if the caller can't view the preexisting MetadataStore.) - * - * Generated from protobuf field string metadata_store_id = 3; - * @return string - */ - public function getMetadataStoreId() - { - return $this->metadata_store_id; - } - - /** - * The {metadatastore} portion of the resource name with the format: - * `projects/{project}/locations/{location}/metadataStores/{metadatastore}` - * If not provided, the MetadataStore's ID will be a UUID generated by the - * service. - * Must be 4-128 characters in length. Valid characters are `/[a-z][0-9]-/`. - * Must be unique across all MetadataStores in the parent Location. - * (Otherwise the request will fail with ALREADY_EXISTS, or PERMISSION_DENIED - * if the caller can't view the preexisting MetadataStore.) - * - * Generated from protobuf field string metadata_store_id = 3; - * @param string $var - * @return $this - */ - public function setMetadataStoreId($var) - { - GPBUtil::checkString($var, True); - $this->metadata_store_id = $var; - - return $this; - } - -} - diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CreateModelDeploymentMonitoringJobRequest.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CreateModelDeploymentMonitoringJobRequest.php deleted file mode 100644 index 42753eba208e..000000000000 --- a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CreateModelDeploymentMonitoringJobRequest.php +++ /dev/null @@ -1,133 +0,0 @@ -google.cloud.aiplatform.v1.CreateModelDeploymentMonitoringJobRequest - */ -class CreateModelDeploymentMonitoringJobRequest extends \Google\Protobuf\Internal\Message -{ - /** - * Required. The parent of the ModelDeploymentMonitoringJob. - * Format: `projects/{project}/locations/{location}` - * - * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - */ - protected $parent = ''; - /** - * Required. The ModelDeploymentMonitoringJob to create - * - * Generated from protobuf field .google.cloud.aiplatform.v1.ModelDeploymentMonitoringJob model_deployment_monitoring_job = 2 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $model_deployment_monitoring_job = null; - - /** - * @param string $parent Required. The parent of the ModelDeploymentMonitoringJob. - * Format: `projects/{project}/locations/{location}` - * Please see {@see JobServiceClient::locationName()} for help formatting this field. - * @param \Google\Cloud\AIPlatform\V1\ModelDeploymentMonitoringJob $modelDeploymentMonitoringJob Required. The ModelDeploymentMonitoringJob to create - * - * @return \Google\Cloud\AIPlatform\V1\CreateModelDeploymentMonitoringJobRequest - * - * @experimental - */ - public static function build(string $parent, \Google\Cloud\AIPlatform\V1\ModelDeploymentMonitoringJob $modelDeploymentMonitoringJob): self - { - return (new self()) - ->setParent($parent) - ->setModelDeploymentMonitoringJob($modelDeploymentMonitoringJob); - } - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $parent - * Required. The parent of the ModelDeploymentMonitoringJob. - * Format: `projects/{project}/locations/{location}` - * @type \Google\Cloud\AIPlatform\V1\ModelDeploymentMonitoringJob $model_deployment_monitoring_job - * Required. The ModelDeploymentMonitoringJob to create - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Cloud\Aiplatform\V1\JobService::initOnce(); - parent::__construct($data); - } - - /** - * Required. The parent of the ModelDeploymentMonitoringJob. - * Format: `projects/{project}/locations/{location}` - * - * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - * @return string - */ - public function getParent() - { - return $this->parent; - } - - /** - * Required. The parent of the ModelDeploymentMonitoringJob. - * Format: `projects/{project}/locations/{location}` - * - * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setParent($var) - { - GPBUtil::checkString($var, True); - $this->parent = $var; - - return $this; - } - - /** - * Required. The ModelDeploymentMonitoringJob to create - * - * Generated from protobuf field .google.cloud.aiplatform.v1.ModelDeploymentMonitoringJob model_deployment_monitoring_job = 2 [(.google.api.field_behavior) = REQUIRED]; - * @return \Google\Cloud\AIPlatform\V1\ModelDeploymentMonitoringJob|null - */ - public function getModelDeploymentMonitoringJob() - { - return $this->model_deployment_monitoring_job; - } - - public function hasModelDeploymentMonitoringJob() - { - return isset($this->model_deployment_monitoring_job); - } - - public function clearModelDeploymentMonitoringJob() - { - unset($this->model_deployment_monitoring_job); - } - - /** - * Required. The ModelDeploymentMonitoringJob to create - * - * Generated from protobuf field .google.cloud.aiplatform.v1.ModelDeploymentMonitoringJob model_deployment_monitoring_job = 2 [(.google.api.field_behavior) = REQUIRED]; - * @param \Google\Cloud\AIPlatform\V1\ModelDeploymentMonitoringJob $var - * @return $this - */ - public function setModelDeploymentMonitoringJob($var) - { - GPBUtil::checkMessage($var, \Google\Cloud\AIPlatform\V1\ModelDeploymentMonitoringJob::class); - $this->model_deployment_monitoring_job = $var; - - return $this; - } - -} - diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CreateNasJobRequest.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CreateNasJobRequest.php deleted file mode 100644 index 12c1010b4376..000000000000 --- a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CreateNasJobRequest.php +++ /dev/null @@ -1,133 +0,0 @@ -google.cloud.aiplatform.v1.CreateNasJobRequest - */ -class CreateNasJobRequest extends \Google\Protobuf\Internal\Message -{ - /** - * Required. The resource name of the Location to create the NasJob in. - * Format: `projects/{project}/locations/{location}` - * - * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - */ - protected $parent = ''; - /** - * Required. The NasJob to create. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.NasJob nas_job = 2 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $nas_job = null; - - /** - * @param string $parent Required. The resource name of the Location to create the NasJob in. - * Format: `projects/{project}/locations/{location}` - * Please see {@see JobServiceClient::locationName()} for help formatting this field. - * @param \Google\Cloud\AIPlatform\V1\NasJob $nasJob Required. The NasJob to create. - * - * @return \Google\Cloud\AIPlatform\V1\CreateNasJobRequest - * - * @experimental - */ - public static function build(string $parent, \Google\Cloud\AIPlatform\V1\NasJob $nasJob): self - { - return (new self()) - ->setParent($parent) - ->setNasJob($nasJob); - } - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $parent - * Required. The resource name of the Location to create the NasJob in. - * Format: `projects/{project}/locations/{location}` - * @type \Google\Cloud\AIPlatform\V1\NasJob $nas_job - * Required. The NasJob to create. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Cloud\Aiplatform\V1\JobService::initOnce(); - parent::__construct($data); - } - - /** - * Required. The resource name of the Location to create the NasJob in. - * Format: `projects/{project}/locations/{location}` - * - * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - * @return string - */ - public function getParent() - { - return $this->parent; - } - - /** - * Required. The resource name of the Location to create the NasJob in. - * Format: `projects/{project}/locations/{location}` - * - * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setParent($var) - { - GPBUtil::checkString($var, True); - $this->parent = $var; - - return $this; - } - - /** - * Required. The NasJob to create. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.NasJob nas_job = 2 [(.google.api.field_behavior) = REQUIRED]; - * @return \Google\Cloud\AIPlatform\V1\NasJob|null - */ - public function getNasJob() - { - return $this->nas_job; - } - - public function hasNasJob() - { - return isset($this->nas_job); - } - - public function clearNasJob() - { - unset($this->nas_job); - } - - /** - * Required. The NasJob to create. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.NasJob nas_job = 2 [(.google.api.field_behavior) = REQUIRED]; - * @param \Google\Cloud\AIPlatform\V1\NasJob $var - * @return $this - */ - public function setNasJob($var) - { - GPBUtil::checkMessage($var, \Google\Cloud\AIPlatform\V1\NasJob::class); - $this->nas_job = $var; - - return $this; - } - -} - diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CreateNotebookRuntimeTemplateOperationMetadata.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CreateNotebookRuntimeTemplateOperationMetadata.php deleted file mode 100644 index 37373db16dbe..000000000000 --- a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CreateNotebookRuntimeTemplateOperationMetadata.php +++ /dev/null @@ -1,78 +0,0 @@ -google.cloud.aiplatform.v1.CreateNotebookRuntimeTemplateOperationMetadata - */ -class CreateNotebookRuntimeTemplateOperationMetadata extends \Google\Protobuf\Internal\Message -{ - /** - * The operation generic information. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.GenericOperationMetadata generic_metadata = 1; - */ - protected $generic_metadata = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type \Google\Cloud\AIPlatform\V1\GenericOperationMetadata $generic_metadata - * The operation generic information. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Cloud\Aiplatform\V1\NotebookService::initOnce(); - parent::__construct($data); - } - - /** - * The operation generic information. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.GenericOperationMetadata generic_metadata = 1; - * @return \Google\Cloud\AIPlatform\V1\GenericOperationMetadata|null - */ - public function getGenericMetadata() - { - return $this->generic_metadata; - } - - public function hasGenericMetadata() - { - return isset($this->generic_metadata); - } - - public function clearGenericMetadata() - { - unset($this->generic_metadata); - } - - /** - * The operation generic information. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.GenericOperationMetadata generic_metadata = 1; - * @param \Google\Cloud\AIPlatform\V1\GenericOperationMetadata $var - * @return $this - */ - public function setGenericMetadata($var) - { - GPBUtil::checkMessage($var, \Google\Cloud\AIPlatform\V1\GenericOperationMetadata::class); - $this->generic_metadata = $var; - - return $this; - } - -} - diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CreateNotebookRuntimeTemplateRequest.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CreateNotebookRuntimeTemplateRequest.php deleted file mode 100644 index 3ca52baacf6f..000000000000 --- a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CreateNotebookRuntimeTemplateRequest.php +++ /dev/null @@ -1,169 +0,0 @@ -google.cloud.aiplatform.v1.CreateNotebookRuntimeTemplateRequest - */ -class CreateNotebookRuntimeTemplateRequest extends \Google\Protobuf\Internal\Message -{ - /** - * Required. The resource name of the Location to create the - * NotebookRuntimeTemplate. Format: `projects/{project}/locations/{location}` - * - * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - */ - protected $parent = ''; - /** - * Required. The NotebookRuntimeTemplate to create. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.NotebookRuntimeTemplate notebook_runtime_template = 2 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $notebook_runtime_template = null; - /** - * Optional. User specified ID for the notebook runtime template. - * - * Generated from protobuf field string notebook_runtime_template_id = 3 [(.google.api.field_behavior) = OPTIONAL]; - */ - protected $notebook_runtime_template_id = ''; - - /** - * @param string $parent Required. The resource name of the Location to create the - * NotebookRuntimeTemplate. Format: `projects/{project}/locations/{location}` - * Please see {@see NotebookServiceClient::locationName()} for help formatting this field. - * @param \Google\Cloud\AIPlatform\V1\NotebookRuntimeTemplate $notebookRuntimeTemplate Required. The NotebookRuntimeTemplate to create. - * @param string $notebookRuntimeTemplateId Optional. User specified ID for the notebook runtime template. - * - * @return \Google\Cloud\AIPlatform\V1\CreateNotebookRuntimeTemplateRequest - * - * @experimental - */ - public static function build(string $parent, \Google\Cloud\AIPlatform\V1\NotebookRuntimeTemplate $notebookRuntimeTemplate, string $notebookRuntimeTemplateId): self - { - return (new self()) - ->setParent($parent) - ->setNotebookRuntimeTemplate($notebookRuntimeTemplate) - ->setNotebookRuntimeTemplateId($notebookRuntimeTemplateId); - } - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $parent - * Required. The resource name of the Location to create the - * NotebookRuntimeTemplate. Format: `projects/{project}/locations/{location}` - * @type \Google\Cloud\AIPlatform\V1\NotebookRuntimeTemplate $notebook_runtime_template - * Required. The NotebookRuntimeTemplate to create. - * @type string $notebook_runtime_template_id - * Optional. User specified ID for the notebook runtime template. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Cloud\Aiplatform\V1\NotebookService::initOnce(); - parent::__construct($data); - } - - /** - * Required. The resource name of the Location to create the - * NotebookRuntimeTemplate. Format: `projects/{project}/locations/{location}` - * - * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - * @return string - */ - public function getParent() - { - return $this->parent; - } - - /** - * Required. The resource name of the Location to create the - * NotebookRuntimeTemplate. Format: `projects/{project}/locations/{location}` - * - * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setParent($var) - { - GPBUtil::checkString($var, True); - $this->parent = $var; - - return $this; - } - - /** - * Required. The NotebookRuntimeTemplate to create. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.NotebookRuntimeTemplate notebook_runtime_template = 2 [(.google.api.field_behavior) = REQUIRED]; - * @return \Google\Cloud\AIPlatform\V1\NotebookRuntimeTemplate|null - */ - public function getNotebookRuntimeTemplate() - { - return $this->notebook_runtime_template; - } - - public function hasNotebookRuntimeTemplate() - { - return isset($this->notebook_runtime_template); - } - - public function clearNotebookRuntimeTemplate() - { - unset($this->notebook_runtime_template); - } - - /** - * Required. The NotebookRuntimeTemplate to create. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.NotebookRuntimeTemplate notebook_runtime_template = 2 [(.google.api.field_behavior) = REQUIRED]; - * @param \Google\Cloud\AIPlatform\V1\NotebookRuntimeTemplate $var - * @return $this - */ - public function setNotebookRuntimeTemplate($var) - { - GPBUtil::checkMessage($var, \Google\Cloud\AIPlatform\V1\NotebookRuntimeTemplate::class); - $this->notebook_runtime_template = $var; - - return $this; - } - - /** - * Optional. User specified ID for the notebook runtime template. - * - * Generated from protobuf field string notebook_runtime_template_id = 3 [(.google.api.field_behavior) = OPTIONAL]; - * @return string - */ - public function getNotebookRuntimeTemplateId() - { - return $this->notebook_runtime_template_id; - } - - /** - * Optional. User specified ID for the notebook runtime template. - * - * Generated from protobuf field string notebook_runtime_template_id = 3 [(.google.api.field_behavior) = OPTIONAL]; - * @param string $var - * @return $this - */ - public function setNotebookRuntimeTemplateId($var) - { - GPBUtil::checkString($var, True); - $this->notebook_runtime_template_id = $var; - - return $this; - } - -} - diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CreatePersistentResourceOperationMetadata.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CreatePersistentResourceOperationMetadata.php deleted file mode 100644 index b963a2703371..000000000000 --- a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CreatePersistentResourceOperationMetadata.php +++ /dev/null @@ -1,111 +0,0 @@ -google.cloud.aiplatform.v1.CreatePersistentResourceOperationMetadata - */ -class CreatePersistentResourceOperationMetadata extends \Google\Protobuf\Internal\Message -{ - /** - * Operation metadata for PersistentResource. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.GenericOperationMetadata generic_metadata = 1; - */ - protected $generic_metadata = null; - /** - * Progress Message for Create LRO - * - * Generated from protobuf field string progress_message = 2; - */ - protected $progress_message = ''; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type \Google\Cloud\AIPlatform\V1\GenericOperationMetadata $generic_metadata - * Operation metadata for PersistentResource. - * @type string $progress_message - * Progress Message for Create LRO - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Cloud\Aiplatform\V1\PersistentResourceService::initOnce(); - parent::__construct($data); - } - - /** - * Operation metadata for PersistentResource. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.GenericOperationMetadata generic_metadata = 1; - * @return \Google\Cloud\AIPlatform\V1\GenericOperationMetadata|null - */ - public function getGenericMetadata() - { - return $this->generic_metadata; - } - - public function hasGenericMetadata() - { - return isset($this->generic_metadata); - } - - public function clearGenericMetadata() - { - unset($this->generic_metadata); - } - - /** - * Operation metadata for PersistentResource. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.GenericOperationMetadata generic_metadata = 1; - * @param \Google\Cloud\AIPlatform\V1\GenericOperationMetadata $var - * @return $this - */ - public function setGenericMetadata($var) - { - GPBUtil::checkMessage($var, \Google\Cloud\AIPlatform\V1\GenericOperationMetadata::class); - $this->generic_metadata = $var; - - return $this; - } - - /** - * Progress Message for Create LRO - * - * Generated from protobuf field string progress_message = 2; - * @return string - */ - public function getProgressMessage() - { - return $this->progress_message; - } - - /** - * Progress Message for Create LRO - * - * Generated from protobuf field string progress_message = 2; - * @param string $var - * @return $this - */ - public function setProgressMessage($var) - { - GPBUtil::checkString($var, True); - $this->progress_message = $var; - - return $this; - } - -} - diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CreatePersistentResourceRequest.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CreatePersistentResourceRequest.php deleted file mode 100644 index 4010dc35ad9a..000000000000 --- a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CreatePersistentResourceRequest.php +++ /dev/null @@ -1,185 +0,0 @@ -google.cloud.aiplatform.v1.CreatePersistentResourceRequest - */ -class CreatePersistentResourceRequest extends \Google\Protobuf\Internal\Message -{ - /** - * Required. The resource name of the Location to create the - * PersistentResource in. Format: `projects/{project}/locations/{location}` - * - * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - */ - protected $parent = ''; - /** - * Required. The PersistentResource to create. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.PersistentResource persistent_resource = 2 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $persistent_resource = null; - /** - * Required. The ID to use for the PersistentResource, which become the final - * component of the PersistentResource's resource name. - * The maximum length is 63 characters, and valid characters - * are `/^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$/`. - * - * Generated from protobuf field string persistent_resource_id = 3 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $persistent_resource_id = ''; - - /** - * @param string $parent Required. The resource name of the Location to create the - * PersistentResource in. Format: `projects/{project}/locations/{location}` - * Please see {@see PersistentResourceServiceClient::locationName()} for help formatting this field. - * @param \Google\Cloud\AIPlatform\V1\PersistentResource $persistentResource Required. The PersistentResource to create. - * @param string $persistentResourceId Required. The ID to use for the PersistentResource, which become the final - * component of the PersistentResource's resource name. - * - * The maximum length is 63 characters, and valid characters - * are `/^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$/`. - * - * @return \Google\Cloud\AIPlatform\V1\CreatePersistentResourceRequest - * - * @experimental - */ - public static function build(string $parent, \Google\Cloud\AIPlatform\V1\PersistentResource $persistentResource, string $persistentResourceId): self - { - return (new self()) - ->setParent($parent) - ->setPersistentResource($persistentResource) - ->setPersistentResourceId($persistentResourceId); - } - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $parent - * Required. The resource name of the Location to create the - * PersistentResource in. Format: `projects/{project}/locations/{location}` - * @type \Google\Cloud\AIPlatform\V1\PersistentResource $persistent_resource - * Required. The PersistentResource to create. - * @type string $persistent_resource_id - * Required. The ID to use for the PersistentResource, which become the final - * component of the PersistentResource's resource name. - * The maximum length is 63 characters, and valid characters - * are `/^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$/`. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Cloud\Aiplatform\V1\PersistentResourceService::initOnce(); - parent::__construct($data); - } - - /** - * Required. The resource name of the Location to create the - * PersistentResource in. Format: `projects/{project}/locations/{location}` - * - * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - * @return string - */ - public function getParent() - { - return $this->parent; - } - - /** - * Required. The resource name of the Location to create the - * PersistentResource in. Format: `projects/{project}/locations/{location}` - * - * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setParent($var) - { - GPBUtil::checkString($var, True); - $this->parent = $var; - - return $this; - } - - /** - * Required. The PersistentResource to create. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.PersistentResource persistent_resource = 2 [(.google.api.field_behavior) = REQUIRED]; - * @return \Google\Cloud\AIPlatform\V1\PersistentResource|null - */ - public function getPersistentResource() - { - return $this->persistent_resource; - } - - public function hasPersistentResource() - { - return isset($this->persistent_resource); - } - - public function clearPersistentResource() - { - unset($this->persistent_resource); - } - - /** - * Required. The PersistentResource to create. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.PersistentResource persistent_resource = 2 [(.google.api.field_behavior) = REQUIRED]; - * @param \Google\Cloud\AIPlatform\V1\PersistentResource $var - * @return $this - */ - public function setPersistentResource($var) - { - GPBUtil::checkMessage($var, \Google\Cloud\AIPlatform\V1\PersistentResource::class); - $this->persistent_resource = $var; - - return $this; - } - - /** - * Required. The ID to use for the PersistentResource, which become the final - * component of the PersistentResource's resource name. - * The maximum length is 63 characters, and valid characters - * are `/^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$/`. - * - * Generated from protobuf field string persistent_resource_id = 3 [(.google.api.field_behavior) = REQUIRED]; - * @return string - */ - public function getPersistentResourceId() - { - return $this->persistent_resource_id; - } - - /** - * Required. The ID to use for the PersistentResource, which become the final - * component of the PersistentResource's resource name. - * The maximum length is 63 characters, and valid characters - * are `/^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$/`. - * - * Generated from protobuf field string persistent_resource_id = 3 [(.google.api.field_behavior) = REQUIRED]; - * @param string $var - * @return $this - */ - public function setPersistentResourceId($var) - { - GPBUtil::checkString($var, True); - $this->persistent_resource_id = $var; - - return $this; - } - -} - diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CreatePipelineJobRequest.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CreatePipelineJobRequest.php deleted file mode 100644 index 3f82ca54660f..000000000000 --- a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CreatePipelineJobRequest.php +++ /dev/null @@ -1,190 +0,0 @@ -google.cloud.aiplatform.v1.CreatePipelineJobRequest - */ -class CreatePipelineJobRequest extends \Google\Protobuf\Internal\Message -{ - /** - * Required. The resource name of the Location to create the PipelineJob in. - * Format: `projects/{project}/locations/{location}` - * - * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - */ - protected $parent = ''; - /** - * Required. The PipelineJob to create. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.PipelineJob pipeline_job = 2 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $pipeline_job = null; - /** - * The ID to use for the PipelineJob, which will become the final component of - * the PipelineJob name. If not provided, an ID will be automatically - * generated. - * This value should be less than 128 characters, and valid characters - * are `/[a-z][0-9]-/`. - * - * Generated from protobuf field string pipeline_job_id = 3; - */ - protected $pipeline_job_id = ''; - - /** - * @param string $parent Required. The resource name of the Location to create the PipelineJob in. - * Format: `projects/{project}/locations/{location}` - * Please see {@see PipelineServiceClient::locationName()} for help formatting this field. - * @param \Google\Cloud\AIPlatform\V1\PipelineJob $pipelineJob Required. The PipelineJob to create. - * @param string $pipelineJobId The ID to use for the PipelineJob, which will become the final component of - * the PipelineJob name. If not provided, an ID will be automatically - * generated. - * - * This value should be less than 128 characters, and valid characters - * are `/[a-z][0-9]-/`. - * - * @return \Google\Cloud\AIPlatform\V1\CreatePipelineJobRequest - * - * @experimental - */ - public static function build(string $parent, \Google\Cloud\AIPlatform\V1\PipelineJob $pipelineJob, string $pipelineJobId): self - { - return (new self()) - ->setParent($parent) - ->setPipelineJob($pipelineJob) - ->setPipelineJobId($pipelineJobId); - } - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $parent - * Required. The resource name of the Location to create the PipelineJob in. - * Format: `projects/{project}/locations/{location}` - * @type \Google\Cloud\AIPlatform\V1\PipelineJob $pipeline_job - * Required. The PipelineJob to create. - * @type string $pipeline_job_id - * The ID to use for the PipelineJob, which will become the final component of - * the PipelineJob name. If not provided, an ID will be automatically - * generated. - * This value should be less than 128 characters, and valid characters - * are `/[a-z][0-9]-/`. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Cloud\Aiplatform\V1\PipelineService::initOnce(); - parent::__construct($data); - } - - /** - * Required. The resource name of the Location to create the PipelineJob in. - * Format: `projects/{project}/locations/{location}` - * - * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - * @return string - */ - public function getParent() - { - return $this->parent; - } - - /** - * Required. The resource name of the Location to create the PipelineJob in. - * Format: `projects/{project}/locations/{location}` - * - * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setParent($var) - { - GPBUtil::checkString($var, True); - $this->parent = $var; - - return $this; - } - - /** - * Required. The PipelineJob to create. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.PipelineJob pipeline_job = 2 [(.google.api.field_behavior) = REQUIRED]; - * @return \Google\Cloud\AIPlatform\V1\PipelineJob|null - */ - public function getPipelineJob() - { - return $this->pipeline_job; - } - - public function hasPipelineJob() - { - return isset($this->pipeline_job); - } - - public function clearPipelineJob() - { - unset($this->pipeline_job); - } - - /** - * Required. The PipelineJob to create. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.PipelineJob pipeline_job = 2 [(.google.api.field_behavior) = REQUIRED]; - * @param \Google\Cloud\AIPlatform\V1\PipelineJob $var - * @return $this - */ - public function setPipelineJob($var) - { - GPBUtil::checkMessage($var, \Google\Cloud\AIPlatform\V1\PipelineJob::class); - $this->pipeline_job = $var; - - return $this; - } - - /** - * The ID to use for the PipelineJob, which will become the final component of - * the PipelineJob name. If not provided, an ID will be automatically - * generated. - * This value should be less than 128 characters, and valid characters - * are `/[a-z][0-9]-/`. - * - * Generated from protobuf field string pipeline_job_id = 3; - * @return string - */ - public function getPipelineJobId() - { - return $this->pipeline_job_id; - } - - /** - * The ID to use for the PipelineJob, which will become the final component of - * the PipelineJob name. If not provided, an ID will be automatically - * generated. - * This value should be less than 128 characters, and valid characters - * are `/[a-z][0-9]-/`. - * - * Generated from protobuf field string pipeline_job_id = 3; - * @param string $var - * @return $this - */ - public function setPipelineJobId($var) - { - GPBUtil::checkString($var, True); - $this->pipeline_job_id = $var; - - return $this; - } - -} - diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CreateRegistryFeatureOperationMetadata.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CreateRegistryFeatureOperationMetadata.php deleted file mode 100644 index bd41c4b8e253..000000000000 --- a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CreateRegistryFeatureOperationMetadata.php +++ /dev/null @@ -1,77 +0,0 @@ -google.cloud.aiplatform.v1.CreateRegistryFeatureOperationMetadata - */ -class CreateRegistryFeatureOperationMetadata extends \Google\Protobuf\Internal\Message -{ - /** - * Operation metadata for Feature. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.GenericOperationMetadata generic_metadata = 1; - */ - protected $generic_metadata = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type \Google\Cloud\AIPlatform\V1\GenericOperationMetadata $generic_metadata - * Operation metadata for Feature. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Cloud\Aiplatform\V1\FeatureRegistryService::initOnce(); - parent::__construct($data); - } - - /** - * Operation metadata for Feature. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.GenericOperationMetadata generic_metadata = 1; - * @return \Google\Cloud\AIPlatform\V1\GenericOperationMetadata|null - */ - public function getGenericMetadata() - { - return $this->generic_metadata; - } - - public function hasGenericMetadata() - { - return isset($this->generic_metadata); - } - - public function clearGenericMetadata() - { - unset($this->generic_metadata); - } - - /** - * Operation metadata for Feature. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.GenericOperationMetadata generic_metadata = 1; - * @param \Google\Cloud\AIPlatform\V1\GenericOperationMetadata $var - * @return $this - */ - public function setGenericMetadata($var) - { - GPBUtil::checkMessage($var, \Google\Cloud\AIPlatform\V1\GenericOperationMetadata::class); - $this->generic_metadata = $var; - - return $this; - } - -} - diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CreateScheduleRequest.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CreateScheduleRequest.php deleted file mode 100644 index 1eedb9122b64..000000000000 --- a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CreateScheduleRequest.php +++ /dev/null @@ -1,133 +0,0 @@ -google.cloud.aiplatform.v1.CreateScheduleRequest - */ -class CreateScheduleRequest extends \Google\Protobuf\Internal\Message -{ - /** - * Required. The resource name of the Location to create the Schedule in. - * Format: `projects/{project}/locations/{location}` - * - * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - */ - protected $parent = ''; - /** - * Required. The Schedule to create. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.Schedule schedule = 2 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $schedule = null; - - /** - * @param string $parent Required. The resource name of the Location to create the Schedule in. - * Format: `projects/{project}/locations/{location}` - * Please see {@see ScheduleServiceClient::locationName()} for help formatting this field. - * @param \Google\Cloud\AIPlatform\V1\Schedule $schedule Required. The Schedule to create. - * - * @return \Google\Cloud\AIPlatform\V1\CreateScheduleRequest - * - * @experimental - */ - public static function build(string $parent, \Google\Cloud\AIPlatform\V1\Schedule $schedule): self - { - return (new self()) - ->setParent($parent) - ->setSchedule($schedule); - } - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $parent - * Required. The resource name of the Location to create the Schedule in. - * Format: `projects/{project}/locations/{location}` - * @type \Google\Cloud\AIPlatform\V1\Schedule $schedule - * Required. The Schedule to create. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Cloud\Aiplatform\V1\ScheduleService::initOnce(); - parent::__construct($data); - } - - /** - * Required. The resource name of the Location to create the Schedule in. - * Format: `projects/{project}/locations/{location}` - * - * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - * @return string - */ - public function getParent() - { - return $this->parent; - } - - /** - * Required. The resource name of the Location to create the Schedule in. - * Format: `projects/{project}/locations/{location}` - * - * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setParent($var) - { - GPBUtil::checkString($var, True); - $this->parent = $var; - - return $this; - } - - /** - * Required. The Schedule to create. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.Schedule schedule = 2 [(.google.api.field_behavior) = REQUIRED]; - * @return \Google\Cloud\AIPlatform\V1\Schedule|null - */ - public function getSchedule() - { - return $this->schedule; - } - - public function hasSchedule() - { - return isset($this->schedule); - } - - public function clearSchedule() - { - unset($this->schedule); - } - - /** - * Required. The Schedule to create. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.Schedule schedule = 2 [(.google.api.field_behavior) = REQUIRED]; - * @param \Google\Cloud\AIPlatform\V1\Schedule $var - * @return $this - */ - public function setSchedule($var) - { - GPBUtil::checkMessage($var, \Google\Cloud\AIPlatform\V1\Schedule::class); - $this->schedule = $var; - - return $this; - } - -} - diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CreateSpecialistPoolOperationMetadata.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CreateSpecialistPoolOperationMetadata.php deleted file mode 100644 index 09d7fb3f3f32..000000000000 --- a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CreateSpecialistPoolOperationMetadata.php +++ /dev/null @@ -1,78 +0,0 @@ -google.cloud.aiplatform.v1.CreateSpecialistPoolOperationMetadata - */ -class CreateSpecialistPoolOperationMetadata extends \Google\Protobuf\Internal\Message -{ - /** - * The operation generic information. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.GenericOperationMetadata generic_metadata = 1; - */ - protected $generic_metadata = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type \Google\Cloud\AIPlatform\V1\GenericOperationMetadata $generic_metadata - * The operation generic information. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Cloud\Aiplatform\V1\SpecialistPoolService::initOnce(); - parent::__construct($data); - } - - /** - * The operation generic information. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.GenericOperationMetadata generic_metadata = 1; - * @return \Google\Cloud\AIPlatform\V1\GenericOperationMetadata|null - */ - public function getGenericMetadata() - { - return $this->generic_metadata; - } - - public function hasGenericMetadata() - { - return isset($this->generic_metadata); - } - - public function clearGenericMetadata() - { - unset($this->generic_metadata); - } - - /** - * The operation generic information. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.GenericOperationMetadata generic_metadata = 1; - * @param \Google\Cloud\AIPlatform\V1\GenericOperationMetadata $var - * @return $this - */ - public function setGenericMetadata($var) - { - GPBUtil::checkMessage($var, \Google\Cloud\AIPlatform\V1\GenericOperationMetadata::class); - $this->generic_metadata = $var; - - return $this; - } - -} - diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CreateSpecialistPoolRequest.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CreateSpecialistPoolRequest.php deleted file mode 100644 index 99819c0e077d..000000000000 --- a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CreateSpecialistPoolRequest.php +++ /dev/null @@ -1,133 +0,0 @@ -google.cloud.aiplatform.v1.CreateSpecialistPoolRequest - */ -class CreateSpecialistPoolRequest extends \Google\Protobuf\Internal\Message -{ - /** - * Required. The parent Project name for the new SpecialistPool. - * The form is `projects/{project}/locations/{location}`. - * - * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - */ - protected $parent = ''; - /** - * Required. The SpecialistPool to create. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.SpecialistPool specialist_pool = 2 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $specialist_pool = null; - - /** - * @param string $parent Required. The parent Project name for the new SpecialistPool. - * The form is `projects/{project}/locations/{location}`. Please see - * {@see SpecialistPoolServiceClient::locationName()} for help formatting this field. - * @param \Google\Cloud\AIPlatform\V1\SpecialistPool $specialistPool Required. The SpecialistPool to create. - * - * @return \Google\Cloud\AIPlatform\V1\CreateSpecialistPoolRequest - * - * @experimental - */ - public static function build(string $parent, \Google\Cloud\AIPlatform\V1\SpecialistPool $specialistPool): self - { - return (new self()) - ->setParent($parent) - ->setSpecialistPool($specialistPool); - } - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $parent - * Required. The parent Project name for the new SpecialistPool. - * The form is `projects/{project}/locations/{location}`. - * @type \Google\Cloud\AIPlatform\V1\SpecialistPool $specialist_pool - * Required. The SpecialistPool to create. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Cloud\Aiplatform\V1\SpecialistPoolService::initOnce(); - parent::__construct($data); - } - - /** - * Required. The parent Project name for the new SpecialistPool. - * The form is `projects/{project}/locations/{location}`. - * - * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - * @return string - */ - public function getParent() - { - return $this->parent; - } - - /** - * Required. The parent Project name for the new SpecialistPool. - * The form is `projects/{project}/locations/{location}`. - * - * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setParent($var) - { - GPBUtil::checkString($var, True); - $this->parent = $var; - - return $this; - } - - /** - * Required. The SpecialistPool to create. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.SpecialistPool specialist_pool = 2 [(.google.api.field_behavior) = REQUIRED]; - * @return \Google\Cloud\AIPlatform\V1\SpecialistPool|null - */ - public function getSpecialistPool() - { - return $this->specialist_pool; - } - - public function hasSpecialistPool() - { - return isset($this->specialist_pool); - } - - public function clearSpecialistPool() - { - unset($this->specialist_pool); - } - - /** - * Required. The SpecialistPool to create. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.SpecialistPool specialist_pool = 2 [(.google.api.field_behavior) = REQUIRED]; - * @param \Google\Cloud\AIPlatform\V1\SpecialistPool $var - * @return $this - */ - public function setSpecialistPool($var) - { - GPBUtil::checkMessage($var, \Google\Cloud\AIPlatform\V1\SpecialistPool::class); - $this->specialist_pool = $var; - - return $this; - } - -} - diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CreateStudyRequest.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CreateStudyRequest.php deleted file mode 100644 index 44171412c6f6..000000000000 --- a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CreateStudyRequest.php +++ /dev/null @@ -1,133 +0,0 @@ -google.cloud.aiplatform.v1.CreateStudyRequest - */ -class CreateStudyRequest extends \Google\Protobuf\Internal\Message -{ - /** - * Required. The resource name of the Location to create the CustomJob in. - * Format: `projects/{project}/locations/{location}` - * - * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - */ - protected $parent = ''; - /** - * Required. The Study configuration used to create the Study. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.Study study = 2 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $study = null; - - /** - * @param string $parent Required. The resource name of the Location to create the CustomJob in. - * Format: `projects/{project}/locations/{location}` - * Please see {@see VizierServiceClient::locationName()} for help formatting this field. - * @param \Google\Cloud\AIPlatform\V1\Study $study Required. The Study configuration used to create the Study. - * - * @return \Google\Cloud\AIPlatform\V1\CreateStudyRequest - * - * @experimental - */ - public static function build(string $parent, \Google\Cloud\AIPlatform\V1\Study $study): self - { - return (new self()) - ->setParent($parent) - ->setStudy($study); - } - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $parent - * Required. The resource name of the Location to create the CustomJob in. - * Format: `projects/{project}/locations/{location}` - * @type \Google\Cloud\AIPlatform\V1\Study $study - * Required. The Study configuration used to create the Study. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Cloud\Aiplatform\V1\VizierService::initOnce(); - parent::__construct($data); - } - - /** - * Required. The resource name of the Location to create the CustomJob in. - * Format: `projects/{project}/locations/{location}` - * - * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - * @return string - */ - public function getParent() - { - return $this->parent; - } - - /** - * Required. The resource name of the Location to create the CustomJob in. - * Format: `projects/{project}/locations/{location}` - * - * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setParent($var) - { - GPBUtil::checkString($var, True); - $this->parent = $var; - - return $this; - } - - /** - * Required. The Study configuration used to create the Study. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.Study study = 2 [(.google.api.field_behavior) = REQUIRED]; - * @return \Google\Cloud\AIPlatform\V1\Study|null - */ - public function getStudy() - { - return $this->study; - } - - public function hasStudy() - { - return isset($this->study); - } - - public function clearStudy() - { - unset($this->study); - } - - /** - * Required. The Study configuration used to create the Study. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.Study study = 2 [(.google.api.field_behavior) = REQUIRED]; - * @param \Google\Cloud\AIPlatform\V1\Study $var - * @return $this - */ - public function setStudy($var) - { - GPBUtil::checkMessage($var, \Google\Cloud\AIPlatform\V1\Study::class); - $this->study = $var; - - return $this; - } - -} - diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CreateTensorboardExperimentRequest.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CreateTensorboardExperimentRequest.php deleted file mode 100644 index 26fcd906e9ec..000000000000 --- a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CreateTensorboardExperimentRequest.php +++ /dev/null @@ -1,190 +0,0 @@ -google.cloud.aiplatform.v1.CreateTensorboardExperimentRequest - */ -class CreateTensorboardExperimentRequest extends \Google\Protobuf\Internal\Message -{ - /** - * Required. The resource name of the Tensorboard to create the - * TensorboardExperiment in. Format: - * `projects/{project}/locations/{location}/tensorboards/{tensorboard}` - * - * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - */ - protected $parent = ''; - /** - * The TensorboardExperiment to create. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.TensorboardExperiment tensorboard_experiment = 2; - */ - protected $tensorboard_experiment = null; - /** - * Required. The ID to use for the Tensorboard experiment, which becomes the - * final component of the Tensorboard experiment's resource name. - * This value should be 1-128 characters, and valid characters - * are `/[a-z][0-9]-/`. - * - * Generated from protobuf field string tensorboard_experiment_id = 3 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $tensorboard_experiment_id = ''; - - /** - * @param string $parent Required. The resource name of the Tensorboard to create the - * TensorboardExperiment in. Format: - * `projects/{project}/locations/{location}/tensorboards/{tensorboard}` - * Please see {@see TensorboardServiceClient::tensorboardExperimentName()} for help formatting this field. - * @param \Google\Cloud\AIPlatform\V1\TensorboardExperiment $tensorboardExperiment The TensorboardExperiment to create. - * @param string $tensorboardExperimentId Required. The ID to use for the Tensorboard experiment, which becomes the - * final component of the Tensorboard experiment's resource name. - * - * This value should be 1-128 characters, and valid characters - * are `/[a-z][0-9]-/`. - * - * @return \Google\Cloud\AIPlatform\V1\CreateTensorboardExperimentRequest - * - * @experimental - */ - public static function build(string $parent, \Google\Cloud\AIPlatform\V1\TensorboardExperiment $tensorboardExperiment, string $tensorboardExperimentId): self - { - return (new self()) - ->setParent($parent) - ->setTensorboardExperiment($tensorboardExperiment) - ->setTensorboardExperimentId($tensorboardExperimentId); - } - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $parent - * Required. The resource name of the Tensorboard to create the - * TensorboardExperiment in. Format: - * `projects/{project}/locations/{location}/tensorboards/{tensorboard}` - * @type \Google\Cloud\AIPlatform\V1\TensorboardExperiment $tensorboard_experiment - * The TensorboardExperiment to create. - * @type string $tensorboard_experiment_id - * Required. The ID to use for the Tensorboard experiment, which becomes the - * final component of the Tensorboard experiment's resource name. - * This value should be 1-128 characters, and valid characters - * are `/[a-z][0-9]-/`. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Cloud\Aiplatform\V1\TensorboardService::initOnce(); - parent::__construct($data); - } - - /** - * Required. The resource name of the Tensorboard to create the - * TensorboardExperiment in. Format: - * `projects/{project}/locations/{location}/tensorboards/{tensorboard}` - * - * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - * @return string - */ - public function getParent() - { - return $this->parent; - } - - /** - * Required. The resource name of the Tensorboard to create the - * TensorboardExperiment in. Format: - * `projects/{project}/locations/{location}/tensorboards/{tensorboard}` - * - * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setParent($var) - { - GPBUtil::checkString($var, True); - $this->parent = $var; - - return $this; - } - - /** - * The TensorboardExperiment to create. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.TensorboardExperiment tensorboard_experiment = 2; - * @return \Google\Cloud\AIPlatform\V1\TensorboardExperiment|null - */ - public function getTensorboardExperiment() - { - return $this->tensorboard_experiment; - } - - public function hasTensorboardExperiment() - { - return isset($this->tensorboard_experiment); - } - - public function clearTensorboardExperiment() - { - unset($this->tensorboard_experiment); - } - - /** - * The TensorboardExperiment to create. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.TensorboardExperiment tensorboard_experiment = 2; - * @param \Google\Cloud\AIPlatform\V1\TensorboardExperiment $var - * @return $this - */ - public function setTensorboardExperiment($var) - { - GPBUtil::checkMessage($var, \Google\Cloud\AIPlatform\V1\TensorboardExperiment::class); - $this->tensorboard_experiment = $var; - - return $this; - } - - /** - * Required. The ID to use for the Tensorboard experiment, which becomes the - * final component of the Tensorboard experiment's resource name. - * This value should be 1-128 characters, and valid characters - * are `/[a-z][0-9]-/`. - * - * Generated from protobuf field string tensorboard_experiment_id = 3 [(.google.api.field_behavior) = REQUIRED]; - * @return string - */ - public function getTensorboardExperimentId() - { - return $this->tensorboard_experiment_id; - } - - /** - * Required. The ID to use for the Tensorboard experiment, which becomes the - * final component of the Tensorboard experiment's resource name. - * This value should be 1-128 characters, and valid characters - * are `/[a-z][0-9]-/`. - * - * Generated from protobuf field string tensorboard_experiment_id = 3 [(.google.api.field_behavior) = REQUIRED]; - * @param string $var - * @return $this - */ - public function setTensorboardExperimentId($var) - { - GPBUtil::checkString($var, True); - $this->tensorboard_experiment_id = $var; - - return $this; - } - -} - diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CreateTensorboardOperationMetadata.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CreateTensorboardOperationMetadata.php deleted file mode 100644 index d616c1223d86..000000000000 --- a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CreateTensorboardOperationMetadata.php +++ /dev/null @@ -1,77 +0,0 @@ -google.cloud.aiplatform.v1.CreateTensorboardOperationMetadata - */ -class CreateTensorboardOperationMetadata extends \Google\Protobuf\Internal\Message -{ - /** - * Operation metadata for Tensorboard. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.GenericOperationMetadata generic_metadata = 1; - */ - protected $generic_metadata = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type \Google\Cloud\AIPlatform\V1\GenericOperationMetadata $generic_metadata - * Operation metadata for Tensorboard. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Cloud\Aiplatform\V1\TensorboardService::initOnce(); - parent::__construct($data); - } - - /** - * Operation metadata for Tensorboard. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.GenericOperationMetadata generic_metadata = 1; - * @return \Google\Cloud\AIPlatform\V1\GenericOperationMetadata|null - */ - public function getGenericMetadata() - { - return $this->generic_metadata; - } - - public function hasGenericMetadata() - { - return isset($this->generic_metadata); - } - - public function clearGenericMetadata() - { - unset($this->generic_metadata); - } - - /** - * Operation metadata for Tensorboard. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.GenericOperationMetadata generic_metadata = 1; - * @param \Google\Cloud\AIPlatform\V1\GenericOperationMetadata $var - * @return $this - */ - public function setGenericMetadata($var) - { - GPBUtil::checkMessage($var, \Google\Cloud\AIPlatform\V1\GenericOperationMetadata::class); - $this->generic_metadata = $var; - - return $this; - } - -} - diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CreateTensorboardRequest.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CreateTensorboardRequest.php deleted file mode 100644 index c90005dce05d..000000000000 --- a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CreateTensorboardRequest.php +++ /dev/null @@ -1,133 +0,0 @@ -google.cloud.aiplatform.v1.CreateTensorboardRequest - */ -class CreateTensorboardRequest extends \Google\Protobuf\Internal\Message -{ - /** - * Required. The resource name of the Location to create the Tensorboard in. - * Format: `projects/{project}/locations/{location}` - * - * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - */ - protected $parent = ''; - /** - * Required. The Tensorboard to create. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.Tensorboard tensorboard = 2 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $tensorboard = null; - - /** - * @param string $parent Required. The resource name of the Location to create the Tensorboard in. - * Format: `projects/{project}/locations/{location}` - * Please see {@see TensorboardServiceClient::tensorboardName()} for help formatting this field. - * @param \Google\Cloud\AIPlatform\V1\Tensorboard $tensorboard Required. The Tensorboard to create. - * - * @return \Google\Cloud\AIPlatform\V1\CreateTensorboardRequest - * - * @experimental - */ - public static function build(string $parent, \Google\Cloud\AIPlatform\V1\Tensorboard $tensorboard): self - { - return (new self()) - ->setParent($parent) - ->setTensorboard($tensorboard); - } - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $parent - * Required. The resource name of the Location to create the Tensorboard in. - * Format: `projects/{project}/locations/{location}` - * @type \Google\Cloud\AIPlatform\V1\Tensorboard $tensorboard - * Required. The Tensorboard to create. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Cloud\Aiplatform\V1\TensorboardService::initOnce(); - parent::__construct($data); - } - - /** - * Required. The resource name of the Location to create the Tensorboard in. - * Format: `projects/{project}/locations/{location}` - * - * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - * @return string - */ - public function getParent() - { - return $this->parent; - } - - /** - * Required. The resource name of the Location to create the Tensorboard in. - * Format: `projects/{project}/locations/{location}` - * - * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setParent($var) - { - GPBUtil::checkString($var, True); - $this->parent = $var; - - return $this; - } - - /** - * Required. The Tensorboard to create. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.Tensorboard tensorboard = 2 [(.google.api.field_behavior) = REQUIRED]; - * @return \Google\Cloud\AIPlatform\V1\Tensorboard|null - */ - public function getTensorboard() - { - return $this->tensorboard; - } - - public function hasTensorboard() - { - return isset($this->tensorboard); - } - - public function clearTensorboard() - { - unset($this->tensorboard); - } - - /** - * Required. The Tensorboard to create. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.Tensorboard tensorboard = 2 [(.google.api.field_behavior) = REQUIRED]; - * @param \Google\Cloud\AIPlatform\V1\Tensorboard $var - * @return $this - */ - public function setTensorboard($var) - { - GPBUtil::checkMessage($var, \Google\Cloud\AIPlatform\V1\Tensorboard::class); - $this->tensorboard = $var; - - return $this; - } - -} - diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CreateTensorboardRunRequest.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CreateTensorboardRunRequest.php deleted file mode 100644 index 4e6f6e0f97ac..000000000000 --- a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CreateTensorboardRunRequest.php +++ /dev/null @@ -1,190 +0,0 @@ -google.cloud.aiplatform.v1.CreateTensorboardRunRequest - */ -class CreateTensorboardRunRequest extends \Google\Protobuf\Internal\Message -{ - /** - * Required. The resource name of the TensorboardExperiment to create the - * TensorboardRun in. Format: - * `projects/{project}/locations/{location}/tensorboards/{tensorboard}/experiments/{experiment}` - * - * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - */ - protected $parent = ''; - /** - * Required. The TensorboardRun to create. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.TensorboardRun tensorboard_run = 2 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $tensorboard_run = null; - /** - * Required. The ID to use for the Tensorboard run, which becomes the final - * component of the Tensorboard run's resource name. - * This value should be 1-128 characters, and valid characters - * are `/[a-z][0-9]-/`. - * - * Generated from protobuf field string tensorboard_run_id = 3 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $tensorboard_run_id = ''; - - /** - * @param string $parent Required. The resource name of the TensorboardExperiment to create the - * TensorboardRun in. Format: - * `projects/{project}/locations/{location}/tensorboards/{tensorboard}/experiments/{experiment}` - * Please see {@see TensorboardServiceClient::tensorboardRunName()} for help formatting this field. - * @param \Google\Cloud\AIPlatform\V1\TensorboardRun $tensorboardRun Required. The TensorboardRun to create. - * @param string $tensorboardRunId Required. The ID to use for the Tensorboard run, which becomes the final - * component of the Tensorboard run's resource name. - * - * This value should be 1-128 characters, and valid characters - * are `/[a-z][0-9]-/`. - * - * @return \Google\Cloud\AIPlatform\V1\CreateTensorboardRunRequest - * - * @experimental - */ - public static function build(string $parent, \Google\Cloud\AIPlatform\V1\TensorboardRun $tensorboardRun, string $tensorboardRunId): self - { - return (new self()) - ->setParent($parent) - ->setTensorboardRun($tensorboardRun) - ->setTensorboardRunId($tensorboardRunId); - } - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $parent - * Required. The resource name of the TensorboardExperiment to create the - * TensorboardRun in. Format: - * `projects/{project}/locations/{location}/tensorboards/{tensorboard}/experiments/{experiment}` - * @type \Google\Cloud\AIPlatform\V1\TensorboardRun $tensorboard_run - * Required. The TensorboardRun to create. - * @type string $tensorboard_run_id - * Required. The ID to use for the Tensorboard run, which becomes the final - * component of the Tensorboard run's resource name. - * This value should be 1-128 characters, and valid characters - * are `/[a-z][0-9]-/`. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Cloud\Aiplatform\V1\TensorboardService::initOnce(); - parent::__construct($data); - } - - /** - * Required. The resource name of the TensorboardExperiment to create the - * TensorboardRun in. Format: - * `projects/{project}/locations/{location}/tensorboards/{tensorboard}/experiments/{experiment}` - * - * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - * @return string - */ - public function getParent() - { - return $this->parent; - } - - /** - * Required. The resource name of the TensorboardExperiment to create the - * TensorboardRun in. Format: - * `projects/{project}/locations/{location}/tensorboards/{tensorboard}/experiments/{experiment}` - * - * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setParent($var) - { - GPBUtil::checkString($var, True); - $this->parent = $var; - - return $this; - } - - /** - * Required. The TensorboardRun to create. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.TensorboardRun tensorboard_run = 2 [(.google.api.field_behavior) = REQUIRED]; - * @return \Google\Cloud\AIPlatform\V1\TensorboardRun|null - */ - public function getTensorboardRun() - { - return $this->tensorboard_run; - } - - public function hasTensorboardRun() - { - return isset($this->tensorboard_run); - } - - public function clearTensorboardRun() - { - unset($this->tensorboard_run); - } - - /** - * Required. The TensorboardRun to create. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.TensorboardRun tensorboard_run = 2 [(.google.api.field_behavior) = REQUIRED]; - * @param \Google\Cloud\AIPlatform\V1\TensorboardRun $var - * @return $this - */ - public function setTensorboardRun($var) - { - GPBUtil::checkMessage($var, \Google\Cloud\AIPlatform\V1\TensorboardRun::class); - $this->tensorboard_run = $var; - - return $this; - } - - /** - * Required. The ID to use for the Tensorboard run, which becomes the final - * component of the Tensorboard run's resource name. - * This value should be 1-128 characters, and valid characters - * are `/[a-z][0-9]-/`. - * - * Generated from protobuf field string tensorboard_run_id = 3 [(.google.api.field_behavior) = REQUIRED]; - * @return string - */ - public function getTensorboardRunId() - { - return $this->tensorboard_run_id; - } - - /** - * Required. The ID to use for the Tensorboard run, which becomes the final - * component of the Tensorboard run's resource name. - * This value should be 1-128 characters, and valid characters - * are `/[a-z][0-9]-/`. - * - * Generated from protobuf field string tensorboard_run_id = 3 [(.google.api.field_behavior) = REQUIRED]; - * @param string $var - * @return $this - */ - public function setTensorboardRunId($var) - { - GPBUtil::checkString($var, True); - $this->tensorboard_run_id = $var; - - return $this; - } - -} - diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CreateTensorboardTimeSeriesRequest.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CreateTensorboardTimeSeriesRequest.php deleted file mode 100644 index 083318647e35..000000000000 --- a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CreateTensorboardTimeSeriesRequest.php +++ /dev/null @@ -1,189 +0,0 @@ -google.cloud.aiplatform.v1.CreateTensorboardTimeSeriesRequest - */ -class CreateTensorboardTimeSeriesRequest extends \Google\Protobuf\Internal\Message -{ - /** - * Required. The resource name of the TensorboardRun to create the - * TensorboardTimeSeries in. - * Format: - * `projects/{project}/locations/{location}/tensorboards/{tensorboard}/experiments/{experiment}/runs/{run}` - * - * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - */ - protected $parent = ''; - /** - * Optional. The user specified unique ID to use for the - * TensorboardTimeSeries, which becomes the final component of the - * TensorboardTimeSeries's resource name. This value should match - * "[a-z0-9][a-z0-9-]{0, 127}" - * - * Generated from protobuf field string tensorboard_time_series_id = 3 [(.google.api.field_behavior) = OPTIONAL]; - */ - protected $tensorboard_time_series_id = ''; - /** - * Required. The TensorboardTimeSeries to create. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.TensorboardTimeSeries tensorboard_time_series = 2 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $tensorboard_time_series = null; - - /** - * @param string $parent Required. The resource name of the TensorboardRun to create the - * TensorboardTimeSeries in. - * Format: - * `projects/{project}/locations/{location}/tensorboards/{tensorboard}/experiments/{experiment}/runs/{run}` - * Please see {@see TensorboardServiceClient::tensorboardTimeSeriesName()} for help formatting this field. - * @param \Google\Cloud\AIPlatform\V1\TensorboardTimeSeries $tensorboardTimeSeries Required. The TensorboardTimeSeries to create. - * - * @return \Google\Cloud\AIPlatform\V1\CreateTensorboardTimeSeriesRequest - * - * @experimental - */ - public static function build(string $parent, \Google\Cloud\AIPlatform\V1\TensorboardTimeSeries $tensorboardTimeSeries): self - { - return (new self()) - ->setParent($parent) - ->setTensorboardTimeSeries($tensorboardTimeSeries); - } - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $parent - * Required. The resource name of the TensorboardRun to create the - * TensorboardTimeSeries in. - * Format: - * `projects/{project}/locations/{location}/tensorboards/{tensorboard}/experiments/{experiment}/runs/{run}` - * @type string $tensorboard_time_series_id - * Optional. The user specified unique ID to use for the - * TensorboardTimeSeries, which becomes the final component of the - * TensorboardTimeSeries's resource name. This value should match - * "[a-z0-9][a-z0-9-]{0, 127}" - * @type \Google\Cloud\AIPlatform\V1\TensorboardTimeSeries $tensorboard_time_series - * Required. The TensorboardTimeSeries to create. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Cloud\Aiplatform\V1\TensorboardService::initOnce(); - parent::__construct($data); - } - - /** - * Required. The resource name of the TensorboardRun to create the - * TensorboardTimeSeries in. - * Format: - * `projects/{project}/locations/{location}/tensorboards/{tensorboard}/experiments/{experiment}/runs/{run}` - * - * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - * @return string - */ - public function getParent() - { - return $this->parent; - } - - /** - * Required. The resource name of the TensorboardRun to create the - * TensorboardTimeSeries in. - * Format: - * `projects/{project}/locations/{location}/tensorboards/{tensorboard}/experiments/{experiment}/runs/{run}` - * - * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setParent($var) - { - GPBUtil::checkString($var, True); - $this->parent = $var; - - return $this; - } - - /** - * Optional. The user specified unique ID to use for the - * TensorboardTimeSeries, which becomes the final component of the - * TensorboardTimeSeries's resource name. This value should match - * "[a-z0-9][a-z0-9-]{0, 127}" - * - * Generated from protobuf field string tensorboard_time_series_id = 3 [(.google.api.field_behavior) = OPTIONAL]; - * @return string - */ - public function getTensorboardTimeSeriesId() - { - return $this->tensorboard_time_series_id; - } - - /** - * Optional. The user specified unique ID to use for the - * TensorboardTimeSeries, which becomes the final component of the - * TensorboardTimeSeries's resource name. This value should match - * "[a-z0-9][a-z0-9-]{0, 127}" - * - * Generated from protobuf field string tensorboard_time_series_id = 3 [(.google.api.field_behavior) = OPTIONAL]; - * @param string $var - * @return $this - */ - public function setTensorboardTimeSeriesId($var) - { - GPBUtil::checkString($var, True); - $this->tensorboard_time_series_id = $var; - - return $this; - } - - /** - * Required. The TensorboardTimeSeries to create. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.TensorboardTimeSeries tensorboard_time_series = 2 [(.google.api.field_behavior) = REQUIRED]; - * @return \Google\Cloud\AIPlatform\V1\TensorboardTimeSeries|null - */ - public function getTensorboardTimeSeries() - { - return $this->tensorboard_time_series; - } - - public function hasTensorboardTimeSeries() - { - return isset($this->tensorboard_time_series); - } - - public function clearTensorboardTimeSeries() - { - unset($this->tensorboard_time_series); - } - - /** - * Required. The TensorboardTimeSeries to create. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.TensorboardTimeSeries tensorboard_time_series = 2 [(.google.api.field_behavior) = REQUIRED]; - * @param \Google\Cloud\AIPlatform\V1\TensorboardTimeSeries $var - * @return $this - */ - public function setTensorboardTimeSeries($var) - { - GPBUtil::checkMessage($var, \Google\Cloud\AIPlatform\V1\TensorboardTimeSeries::class); - $this->tensorboard_time_series = $var; - - return $this; - } - -} - diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CreateTrainingPipelineRequest.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CreateTrainingPipelineRequest.php deleted file mode 100644 index e7ee7ee5ed66..000000000000 --- a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CreateTrainingPipelineRequest.php +++ /dev/null @@ -1,133 +0,0 @@ -google.cloud.aiplatform.v1.CreateTrainingPipelineRequest - */ -class CreateTrainingPipelineRequest extends \Google\Protobuf\Internal\Message -{ - /** - * Required. The resource name of the Location to create the TrainingPipeline - * in. Format: `projects/{project}/locations/{location}` - * - * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - */ - protected $parent = ''; - /** - * Required. The TrainingPipeline to create. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.TrainingPipeline training_pipeline = 2 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $training_pipeline = null; - - /** - * @param string $parent Required. The resource name of the Location to create the TrainingPipeline - * in. Format: `projects/{project}/locations/{location}` - * Please see {@see PipelineServiceClient::locationName()} for help formatting this field. - * @param \Google\Cloud\AIPlatform\V1\TrainingPipeline $trainingPipeline Required. The TrainingPipeline to create. - * - * @return \Google\Cloud\AIPlatform\V1\CreateTrainingPipelineRequest - * - * @experimental - */ - public static function build(string $parent, \Google\Cloud\AIPlatform\V1\TrainingPipeline $trainingPipeline): self - { - return (new self()) - ->setParent($parent) - ->setTrainingPipeline($trainingPipeline); - } - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $parent - * Required. The resource name of the Location to create the TrainingPipeline - * in. Format: `projects/{project}/locations/{location}` - * @type \Google\Cloud\AIPlatform\V1\TrainingPipeline $training_pipeline - * Required. The TrainingPipeline to create. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Cloud\Aiplatform\V1\PipelineService::initOnce(); - parent::__construct($data); - } - - /** - * Required. The resource name of the Location to create the TrainingPipeline - * in. Format: `projects/{project}/locations/{location}` - * - * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - * @return string - */ - public function getParent() - { - return $this->parent; - } - - /** - * Required. The resource name of the Location to create the TrainingPipeline - * in. Format: `projects/{project}/locations/{location}` - * - * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setParent($var) - { - GPBUtil::checkString($var, True); - $this->parent = $var; - - return $this; - } - - /** - * Required. The TrainingPipeline to create. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.TrainingPipeline training_pipeline = 2 [(.google.api.field_behavior) = REQUIRED]; - * @return \Google\Cloud\AIPlatform\V1\TrainingPipeline|null - */ - public function getTrainingPipeline() - { - return $this->training_pipeline; - } - - public function hasTrainingPipeline() - { - return isset($this->training_pipeline); - } - - public function clearTrainingPipeline() - { - unset($this->training_pipeline); - } - - /** - * Required. The TrainingPipeline to create. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.TrainingPipeline training_pipeline = 2 [(.google.api.field_behavior) = REQUIRED]; - * @param \Google\Cloud\AIPlatform\V1\TrainingPipeline $var - * @return $this - */ - public function setTrainingPipeline($var) - { - GPBUtil::checkMessage($var, \Google\Cloud\AIPlatform\V1\TrainingPipeline::class); - $this->training_pipeline = $var; - - return $this; - } - -} - diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CreateTrialRequest.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CreateTrialRequest.php deleted file mode 100644 index d2551167761d..000000000000 --- a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CreateTrialRequest.php +++ /dev/null @@ -1,133 +0,0 @@ -google.cloud.aiplatform.v1.CreateTrialRequest - */ -class CreateTrialRequest extends \Google\Protobuf\Internal\Message -{ - /** - * Required. The resource name of the Study to create the Trial in. - * Format: `projects/{project}/locations/{location}/studies/{study}` - * - * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - */ - protected $parent = ''; - /** - * Required. The Trial to create. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.Trial trial = 2 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $trial = null; - - /** - * @param string $parent Required. The resource name of the Study to create the Trial in. - * Format: `projects/{project}/locations/{location}/studies/{study}` - * Please see {@see VizierServiceClient::studyName()} for help formatting this field. - * @param \Google\Cloud\AIPlatform\V1\Trial $trial Required. The Trial to create. - * - * @return \Google\Cloud\AIPlatform\V1\CreateTrialRequest - * - * @experimental - */ - public static function build(string $parent, \Google\Cloud\AIPlatform\V1\Trial $trial): self - { - return (new self()) - ->setParent($parent) - ->setTrial($trial); - } - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $parent - * Required. The resource name of the Study to create the Trial in. - * Format: `projects/{project}/locations/{location}/studies/{study}` - * @type \Google\Cloud\AIPlatform\V1\Trial $trial - * Required. The Trial to create. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Cloud\Aiplatform\V1\VizierService::initOnce(); - parent::__construct($data); - } - - /** - * Required. The resource name of the Study to create the Trial in. - * Format: `projects/{project}/locations/{location}/studies/{study}` - * - * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - * @return string - */ - public function getParent() - { - return $this->parent; - } - - /** - * Required. The resource name of the Study to create the Trial in. - * Format: `projects/{project}/locations/{location}/studies/{study}` - * - * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setParent($var) - { - GPBUtil::checkString($var, True); - $this->parent = $var; - - return $this; - } - - /** - * Required. The Trial to create. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.Trial trial = 2 [(.google.api.field_behavior) = REQUIRED]; - * @return \Google\Cloud\AIPlatform\V1\Trial|null - */ - public function getTrial() - { - return $this->trial; - } - - public function hasTrial() - { - return isset($this->trial); - } - - public function clearTrial() - { - unset($this->trial); - } - - /** - * Required. The Trial to create. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.Trial trial = 2 [(.google.api.field_behavior) = REQUIRED]; - * @param \Google\Cloud\AIPlatform\V1\Trial $var - * @return $this - */ - public function setTrial($var) - { - GPBUtil::checkMessage($var, \Google\Cloud\AIPlatform\V1\Trial::class); - $this->trial = $var; - - return $this; - } - -} - diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CreateTuningJobRequest.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CreateTuningJobRequest.php deleted file mode 100644 index 345c2afa06f0..000000000000 --- a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CreateTuningJobRequest.php +++ /dev/null @@ -1,133 +0,0 @@ -google.cloud.aiplatform.v1.CreateTuningJobRequest - */ -class CreateTuningJobRequest extends \Google\Protobuf\Internal\Message -{ - /** - * Required. The resource name of the Location to create the TuningJob in. - * Format: `projects/{project}/locations/{location}` - * - * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - */ - protected $parent = ''; - /** - * Required. The TuningJob to create. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.TuningJob tuning_job = 2 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $tuning_job = null; - - /** - * @param string $parent Required. The resource name of the Location to create the TuningJob in. - * Format: `projects/{project}/locations/{location}` - * Please see {@see GenAiTuningServiceClient::locationName()} for help formatting this field. - * @param \Google\Cloud\AIPlatform\V1\TuningJob $tuningJob Required. The TuningJob to create. - * - * @return \Google\Cloud\AIPlatform\V1\CreateTuningJobRequest - * - * @experimental - */ - public static function build(string $parent, \Google\Cloud\AIPlatform\V1\TuningJob $tuningJob): self - { - return (new self()) - ->setParent($parent) - ->setTuningJob($tuningJob); - } - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $parent - * Required. The resource name of the Location to create the TuningJob in. - * Format: `projects/{project}/locations/{location}` - * @type \Google\Cloud\AIPlatform\V1\TuningJob $tuning_job - * Required. The TuningJob to create. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Cloud\Aiplatform\V1\GenaiTuningService::initOnce(); - parent::__construct($data); - } - - /** - * Required. The resource name of the Location to create the TuningJob in. - * Format: `projects/{project}/locations/{location}` - * - * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - * @return string - */ - public function getParent() - { - return $this->parent; - } - - /** - * Required. The resource name of the Location to create the TuningJob in. - * Format: `projects/{project}/locations/{location}` - * - * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setParent($var) - { - GPBUtil::checkString($var, True); - $this->parent = $var; - - return $this; - } - - /** - * Required. The TuningJob to create. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.TuningJob tuning_job = 2 [(.google.api.field_behavior) = REQUIRED]; - * @return \Google\Cloud\AIPlatform\V1\TuningJob|null - */ - public function getTuningJob() - { - return $this->tuning_job; - } - - public function hasTuningJob() - { - return isset($this->tuning_job); - } - - public function clearTuningJob() - { - unset($this->tuning_job); - } - - /** - * Required. The TuningJob to create. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.TuningJob tuning_job = 2 [(.google.api.field_behavior) = REQUIRED]; - * @param \Google\Cloud\AIPlatform\V1\TuningJob $var - * @return $this - */ - public function setTuningJob($var) - { - GPBUtil::checkMessage($var, \Google\Cloud\AIPlatform\V1\TuningJob::class); - $this->tuning_job = $var; - - return $this; - } - -} - diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CsvDestination.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CsvDestination.php deleted file mode 100644 index 70c7a3eafe6e..000000000000 --- a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CsvDestination.php +++ /dev/null @@ -1,77 +0,0 @@ -google.cloud.aiplatform.v1.CsvDestination - */ -class CsvDestination extends \Google\Protobuf\Internal\Message -{ - /** - * Required. Google Cloud Storage location. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.GcsDestination gcs_destination = 1 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $gcs_destination = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type \Google\Cloud\AIPlatform\V1\GcsDestination $gcs_destination - * Required. Google Cloud Storage location. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Cloud\Aiplatform\V1\Io::initOnce(); - parent::__construct($data); - } - - /** - * Required. Google Cloud Storage location. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.GcsDestination gcs_destination = 1 [(.google.api.field_behavior) = REQUIRED]; - * @return \Google\Cloud\AIPlatform\V1\GcsDestination|null - */ - public function getGcsDestination() - { - return $this->gcs_destination; - } - - public function hasGcsDestination() - { - return isset($this->gcs_destination); - } - - public function clearGcsDestination() - { - unset($this->gcs_destination); - } - - /** - * Required. Google Cloud Storage location. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.GcsDestination gcs_destination = 1 [(.google.api.field_behavior) = REQUIRED]; - * @param \Google\Cloud\AIPlatform\V1\GcsDestination $var - * @return $this - */ - public function setGcsDestination($var) - { - GPBUtil::checkMessage($var, \Google\Cloud\AIPlatform\V1\GcsDestination::class); - $this->gcs_destination = $var; - - return $this; - } - -} - diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CsvSource.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CsvSource.php deleted file mode 100644 index 9831670ed928..000000000000 --- a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CsvSource.php +++ /dev/null @@ -1,77 +0,0 @@ -google.cloud.aiplatform.v1.CsvSource - */ -class CsvSource extends \Google\Protobuf\Internal\Message -{ - /** - * Required. Google Cloud Storage location. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.GcsSource gcs_source = 1 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $gcs_source = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type \Google\Cloud\AIPlatform\V1\GcsSource $gcs_source - * Required. Google Cloud Storage location. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Cloud\Aiplatform\V1\Io::initOnce(); - parent::__construct($data); - } - - /** - * Required. Google Cloud Storage location. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.GcsSource gcs_source = 1 [(.google.api.field_behavior) = REQUIRED]; - * @return \Google\Cloud\AIPlatform\V1\GcsSource|null - */ - public function getGcsSource() - { - return $this->gcs_source; - } - - public function hasGcsSource() - { - return isset($this->gcs_source); - } - - public function clearGcsSource() - { - unset($this->gcs_source); - } - - /** - * Required. Google Cloud Storage location. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.GcsSource gcs_source = 1 [(.google.api.field_behavior) = REQUIRED]; - * @param \Google\Cloud\AIPlatform\V1\GcsSource $var - * @return $this - */ - public function setGcsSource($var) - { - GPBUtil::checkMessage($var, \Google\Cloud\AIPlatform\V1\GcsSource::class); - $this->gcs_source = $var; - - return $this; - } - -} - diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CustomJob.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CustomJob.php deleted file mode 100644 index 116820996d64..000000000000 --- a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CustomJob.php +++ /dev/null @@ -1,594 +0,0 @@ -google.cloud.aiplatform.v1.CustomJob - */ -class CustomJob extends \Google\Protobuf\Internal\Message -{ - /** - * Output only. Resource name of a CustomJob. - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $name = ''; - /** - * Required. The display name of the CustomJob. - * The name can be up to 128 characters long and can consist of any UTF-8 - * characters. - * - * Generated from protobuf field string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $display_name = ''; - /** - * Required. Job spec. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.CustomJobSpec job_spec = 4 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $job_spec = null; - /** - * Output only. The detailed state of the job. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.JobState state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $state = 0; - /** - * Output only. Time when the CustomJob was created. - * - * Generated from protobuf field .google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $create_time = null; - /** - * Output only. Time when the CustomJob for the first time entered the - * `JOB_STATE_RUNNING` state. - * - * Generated from protobuf field .google.protobuf.Timestamp start_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $start_time = null; - /** - * Output only. Time when the CustomJob entered any of the following states: - * `JOB_STATE_SUCCEEDED`, `JOB_STATE_FAILED`, `JOB_STATE_CANCELLED`. - * - * Generated from protobuf field .google.protobuf.Timestamp end_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $end_time = null; - /** - * Output only. Time when the CustomJob was most recently updated. - * - * Generated from protobuf field .google.protobuf.Timestamp update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $update_time = null; - /** - * Output only. Only populated when job's state is `JOB_STATE_FAILED` or - * `JOB_STATE_CANCELLED`. - * - * Generated from protobuf field .google.rpc.Status error = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $error = null; - /** - * The labels with user-defined metadata to organize CustomJobs. - * Label keys and values can be no longer than 64 characters - * (Unicode codepoints), can only contain lowercase letters, numeric - * characters, underscores and dashes. International characters are allowed. - * See https://goo.gl/xmQnxf for more information and examples of labels. - * - * Generated from protobuf field map labels = 11; - */ - private $labels; - /** - * Customer-managed encryption key options for a CustomJob. If this is set, - * then all resources created by the CustomJob will be encrypted with the - * provided encryption key. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.EncryptionSpec encryption_spec = 12; - */ - protected $encryption_spec = null; - /** - * Output only. URIs for accessing [interactive - * shells](https://cloud.google.com/vertex-ai/docs/training/monitor-debug-interactive-shell) - * (one URI for each training node). Only available if - * [job_spec.enable_web_access][google.cloud.aiplatform.v1.CustomJobSpec.enable_web_access] - * is `true`. - * The keys are names of each node in the training job; for example, - * `workerpool0-0` for the primary node, `workerpool1-0` for the first node in - * the second worker pool, and `workerpool1-1` for the second node in the - * second worker pool. - * The values are the URIs for each node's interactive shell. - * - * Generated from protobuf field map web_access_uris = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - private $web_access_uris; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $name - * Output only. Resource name of a CustomJob. - * @type string $display_name - * Required. The display name of the CustomJob. - * The name can be up to 128 characters long and can consist of any UTF-8 - * characters. - * @type \Google\Cloud\AIPlatform\V1\CustomJobSpec $job_spec - * Required. Job spec. - * @type int $state - * Output only. The detailed state of the job. - * @type \Google\Protobuf\Timestamp $create_time - * Output only. Time when the CustomJob was created. - * @type \Google\Protobuf\Timestamp $start_time - * Output only. Time when the CustomJob for the first time entered the - * `JOB_STATE_RUNNING` state. - * @type \Google\Protobuf\Timestamp $end_time - * Output only. Time when the CustomJob entered any of the following states: - * `JOB_STATE_SUCCEEDED`, `JOB_STATE_FAILED`, `JOB_STATE_CANCELLED`. - * @type \Google\Protobuf\Timestamp $update_time - * Output only. Time when the CustomJob was most recently updated. - * @type \Google\Rpc\Status $error - * Output only. Only populated when job's state is `JOB_STATE_FAILED` or - * `JOB_STATE_CANCELLED`. - * @type array|\Google\Protobuf\Internal\MapField $labels - * The labels with user-defined metadata to organize CustomJobs. - * Label keys and values can be no longer than 64 characters - * (Unicode codepoints), can only contain lowercase letters, numeric - * characters, underscores and dashes. International characters are allowed. - * See https://goo.gl/xmQnxf for more information and examples of labels. - * @type \Google\Cloud\AIPlatform\V1\EncryptionSpec $encryption_spec - * Customer-managed encryption key options for a CustomJob. If this is set, - * then all resources created by the CustomJob will be encrypted with the - * provided encryption key. - * @type array|\Google\Protobuf\Internal\MapField $web_access_uris - * Output only. URIs for accessing [interactive - * shells](https://cloud.google.com/vertex-ai/docs/training/monitor-debug-interactive-shell) - * (one URI for each training node). Only available if - * [job_spec.enable_web_access][google.cloud.aiplatform.v1.CustomJobSpec.enable_web_access] - * is `true`. - * The keys are names of each node in the training job; for example, - * `workerpool0-0` for the primary node, `workerpool1-0` for the first node in - * the second worker pool, and `workerpool1-1` for the second node in the - * second worker pool. - * The values are the URIs for each node's interactive shell. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Cloud\Aiplatform\V1\CustomJob::initOnce(); - parent::__construct($data); - } - - /** - * Output only. Resource name of a CustomJob. - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return string - */ - public function getName() - { - return $this->name; - } - - /** - * Output only. Resource name of a CustomJob. - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param string $var - * @return $this - */ - public function setName($var) - { - GPBUtil::checkString($var, True); - $this->name = $var; - - return $this; - } - - /** - * Required. The display name of the CustomJob. - * The name can be up to 128 characters long and can consist of any UTF-8 - * characters. - * - * Generated from protobuf field string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; - * @return string - */ - public function getDisplayName() - { - return $this->display_name; - } - - /** - * Required. The display name of the CustomJob. - * The name can be up to 128 characters long and can consist of any UTF-8 - * characters. - * - * Generated from protobuf field string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; - * @param string $var - * @return $this - */ - public function setDisplayName($var) - { - GPBUtil::checkString($var, True); - $this->display_name = $var; - - return $this; - } - - /** - * Required. Job spec. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.CustomJobSpec job_spec = 4 [(.google.api.field_behavior) = REQUIRED]; - * @return \Google\Cloud\AIPlatform\V1\CustomJobSpec|null - */ - public function getJobSpec() - { - return $this->job_spec; - } - - public function hasJobSpec() - { - return isset($this->job_spec); - } - - public function clearJobSpec() - { - unset($this->job_spec); - } - - /** - * Required. Job spec. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.CustomJobSpec job_spec = 4 [(.google.api.field_behavior) = REQUIRED]; - * @param \Google\Cloud\AIPlatform\V1\CustomJobSpec $var - * @return $this - */ - public function setJobSpec($var) - { - GPBUtil::checkMessage($var, \Google\Cloud\AIPlatform\V1\CustomJobSpec::class); - $this->job_spec = $var; - - return $this; - } - - /** - * Output only. The detailed state of the job. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.JobState state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return int - */ - public function getState() - { - return $this->state; - } - - /** - * Output only. The detailed state of the job. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.JobState state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param int $var - * @return $this - */ - public function setState($var) - { - GPBUtil::checkEnum($var, \Google\Cloud\AIPlatform\V1\JobState::class); - $this->state = $var; - - return $this; - } - - /** - * Output only. Time when the CustomJob was created. - * - * Generated from protobuf field .google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return \Google\Protobuf\Timestamp|null - */ - public function getCreateTime() - { - return $this->create_time; - } - - public function hasCreateTime() - { - return isset($this->create_time); - } - - public function clearCreateTime() - { - unset($this->create_time); - } - - /** - * Output only. Time when the CustomJob was created. - * - * Generated from protobuf field .google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param \Google\Protobuf\Timestamp $var - * @return $this - */ - public function setCreateTime($var) - { - GPBUtil::checkMessage($var, \Google\Protobuf\Timestamp::class); - $this->create_time = $var; - - return $this; - } - - /** - * Output only. Time when the CustomJob for the first time entered the - * `JOB_STATE_RUNNING` state. - * - * Generated from protobuf field .google.protobuf.Timestamp start_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return \Google\Protobuf\Timestamp|null - */ - public function getStartTime() - { - return $this->start_time; - } - - public function hasStartTime() - { - return isset($this->start_time); - } - - public function clearStartTime() - { - unset($this->start_time); - } - - /** - * Output only. Time when the CustomJob for the first time entered the - * `JOB_STATE_RUNNING` state. - * - * Generated from protobuf field .google.protobuf.Timestamp start_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param \Google\Protobuf\Timestamp $var - * @return $this - */ - public function setStartTime($var) - { - GPBUtil::checkMessage($var, \Google\Protobuf\Timestamp::class); - $this->start_time = $var; - - return $this; - } - - /** - * Output only. Time when the CustomJob entered any of the following states: - * `JOB_STATE_SUCCEEDED`, `JOB_STATE_FAILED`, `JOB_STATE_CANCELLED`. - * - * Generated from protobuf field .google.protobuf.Timestamp end_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return \Google\Protobuf\Timestamp|null - */ - public function getEndTime() - { - return $this->end_time; - } - - public function hasEndTime() - { - return isset($this->end_time); - } - - public function clearEndTime() - { - unset($this->end_time); - } - - /** - * Output only. Time when the CustomJob entered any of the following states: - * `JOB_STATE_SUCCEEDED`, `JOB_STATE_FAILED`, `JOB_STATE_CANCELLED`. - * - * Generated from protobuf field .google.protobuf.Timestamp end_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param \Google\Protobuf\Timestamp $var - * @return $this - */ - public function setEndTime($var) - { - GPBUtil::checkMessage($var, \Google\Protobuf\Timestamp::class); - $this->end_time = $var; - - return $this; - } - - /** - * Output only. Time when the CustomJob was most recently updated. - * - * Generated from protobuf field .google.protobuf.Timestamp update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return \Google\Protobuf\Timestamp|null - */ - public function getUpdateTime() - { - return $this->update_time; - } - - public function hasUpdateTime() - { - return isset($this->update_time); - } - - public function clearUpdateTime() - { - unset($this->update_time); - } - - /** - * Output only. Time when the CustomJob was most recently updated. - * - * Generated from protobuf field .google.protobuf.Timestamp update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param \Google\Protobuf\Timestamp $var - * @return $this - */ - public function setUpdateTime($var) - { - GPBUtil::checkMessage($var, \Google\Protobuf\Timestamp::class); - $this->update_time = $var; - - return $this; - } - - /** - * Output only. Only populated when job's state is `JOB_STATE_FAILED` or - * `JOB_STATE_CANCELLED`. - * - * Generated from protobuf field .google.rpc.Status error = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return \Google\Rpc\Status|null - */ - public function getError() - { - return $this->error; - } - - public function hasError() - { - return isset($this->error); - } - - public function clearError() - { - unset($this->error); - } - - /** - * Output only. Only populated when job's state is `JOB_STATE_FAILED` or - * `JOB_STATE_CANCELLED`. - * - * Generated from protobuf field .google.rpc.Status error = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param \Google\Rpc\Status $var - * @return $this - */ - public function setError($var) - { - GPBUtil::checkMessage($var, \Google\Rpc\Status::class); - $this->error = $var; - - return $this; - } - - /** - * The labels with user-defined metadata to organize CustomJobs. - * Label keys and values can be no longer than 64 characters - * (Unicode codepoints), can only contain lowercase letters, numeric - * characters, underscores and dashes. International characters are allowed. - * See https://goo.gl/xmQnxf for more information and examples of labels. - * - * Generated from protobuf field map labels = 11; - * @return \Google\Protobuf\Internal\MapField - */ - public function getLabels() - { - return $this->labels; - } - - /** - * The labels with user-defined metadata to organize CustomJobs. - * Label keys and values can be no longer than 64 characters - * (Unicode codepoints), can only contain lowercase letters, numeric - * characters, underscores and dashes. International characters are allowed. - * See https://goo.gl/xmQnxf for more information and examples of labels. - * - * Generated from protobuf field map labels = 11; - * @param array|\Google\Protobuf\Internal\MapField $var - * @return $this - */ - public function setLabels($var) - { - $arr = GPBUtil::checkMapField($var, \Google\Protobuf\Internal\GPBType::STRING, \Google\Protobuf\Internal\GPBType::STRING); - $this->labels = $arr; - - return $this; - } - - /** - * Customer-managed encryption key options for a CustomJob. If this is set, - * then all resources created by the CustomJob will be encrypted with the - * provided encryption key. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.EncryptionSpec encryption_spec = 12; - * @return \Google\Cloud\AIPlatform\V1\EncryptionSpec|null - */ - public function getEncryptionSpec() - { - return $this->encryption_spec; - } - - public function hasEncryptionSpec() - { - return isset($this->encryption_spec); - } - - public function clearEncryptionSpec() - { - unset($this->encryption_spec); - } - - /** - * Customer-managed encryption key options for a CustomJob. If this is set, - * then all resources created by the CustomJob will be encrypted with the - * provided encryption key. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.EncryptionSpec encryption_spec = 12; - * @param \Google\Cloud\AIPlatform\V1\EncryptionSpec $var - * @return $this - */ - public function setEncryptionSpec($var) - { - GPBUtil::checkMessage($var, \Google\Cloud\AIPlatform\V1\EncryptionSpec::class); - $this->encryption_spec = $var; - - return $this; - } - - /** - * Output only. URIs for accessing [interactive - * shells](https://cloud.google.com/vertex-ai/docs/training/monitor-debug-interactive-shell) - * (one URI for each training node). Only available if - * [job_spec.enable_web_access][google.cloud.aiplatform.v1.CustomJobSpec.enable_web_access] - * is `true`. - * The keys are names of each node in the training job; for example, - * `workerpool0-0` for the primary node, `workerpool1-0` for the first node in - * the second worker pool, and `workerpool1-1` for the second node in the - * second worker pool. - * The values are the URIs for each node's interactive shell. - * - * Generated from protobuf field map web_access_uris = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return \Google\Protobuf\Internal\MapField - */ - public function getWebAccessUris() - { - return $this->web_access_uris; - } - - /** - * Output only. URIs for accessing [interactive - * shells](https://cloud.google.com/vertex-ai/docs/training/monitor-debug-interactive-shell) - * (one URI for each training node). Only available if - * [job_spec.enable_web_access][google.cloud.aiplatform.v1.CustomJobSpec.enable_web_access] - * is `true`. - * The keys are names of each node in the training job; for example, - * `workerpool0-0` for the primary node, `workerpool1-0` for the first node in - * the second worker pool, and `workerpool1-1` for the second node in the - * second worker pool. - * The values are the URIs for each node's interactive shell. - * - * Generated from protobuf field map web_access_uris = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param array|\Google\Protobuf\Internal\MapField $var - * @return $this - */ - public function setWebAccessUris($var) - { - $arr = GPBUtil::checkMapField($var, \Google\Protobuf\Internal\GPBType::STRING, \Google\Protobuf\Internal\GPBType::STRING); - $this->web_access_uris = $arr; - - return $this; - } - -} - diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CustomJobSpec.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CustomJobSpec.php deleted file mode 100644 index 5cb74488ed68..000000000000 --- a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CustomJobSpec.php +++ /dev/null @@ -1,845 +0,0 @@ -google.cloud.aiplatform.v1.CustomJobSpec - */ -class CustomJobSpec extends \Google\Protobuf\Internal\Message -{ - /** - * Optional. The ID of the PersistentResource in the same Project and Location - * which to run - * If this is specified, the job will be run on existing machines held by the - * PersistentResource instead of on-demand short-live machines. - * The network and CMEK configs on the job should be consistent with those on - * the PersistentResource, otherwise, the job will be rejected. - * - * Generated from protobuf field string persistent_resource_id = 14 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { - */ - protected $persistent_resource_id = ''; - /** - * Required. The spec of the worker pools including machine type and Docker - * image. All worker pools except the first one are optional and can be - * skipped by providing an empty value. - * - * Generated from protobuf field repeated .google.cloud.aiplatform.v1.WorkerPoolSpec worker_pool_specs = 1 [(.google.api.field_behavior) = REQUIRED]; - */ - private $worker_pool_specs; - /** - * Scheduling options for a CustomJob. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.Scheduling scheduling = 3; - */ - protected $scheduling = null; - /** - * Specifies the service account for workload run-as account. - * Users submitting jobs must have act-as permission on this run-as account. - * If unspecified, the [Vertex AI Custom Code Service - * Agent](https://cloud.google.com/vertex-ai/docs/general/access-control#service-agents) - * for the CustomJob's project is used. - * - * Generated from protobuf field string service_account = 4; - */ - protected $service_account = ''; - /** - * Optional. The full name of the Compute Engine - * [network](/compute/docs/networks-and-firewalls#networks) to which the Job - * should be peered. For example, `projects/12345/global/networks/myVPC`. - * [Format](/compute/docs/reference/rest/v1/networks/insert) - * is of the form `projects/{project}/global/networks/{network}`. - * Where {project} is a project number, as in `12345`, and {network} is a - * network name. - * To specify this field, you must have already [configured VPC Network - * Peering for Vertex - * AI](https://cloud.google.com/vertex-ai/docs/general/vpc-peering). - * If this field is left unspecified, the job is not peered with any network. - * - * Generated from protobuf field string network = 5 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { - */ - protected $network = ''; - /** - * Optional. A list of names for the reserved ip ranges under the VPC network - * that can be used for this job. - * If set, we will deploy the job within the provided ip ranges. Otherwise, - * the job will be deployed to any ip ranges under the provided VPC - * network. - * Example: ['vertex-ai-ip-range']. - * - * Generated from protobuf field repeated string reserved_ip_ranges = 13 [(.google.api.field_behavior) = OPTIONAL]; - */ - private $reserved_ip_ranges; - /** - * The Cloud Storage location to store the output of this CustomJob or - * HyperparameterTuningJob. For HyperparameterTuningJob, - * the baseOutputDirectory of - * each child CustomJob backing a Trial is set to a subdirectory of name - * [id][google.cloud.aiplatform.v1.Trial.id] under its parent - * HyperparameterTuningJob's baseOutputDirectory. - * The following Vertex AI environment variables will be passed to - * containers or python modules when this field is set: - * For CustomJob: - * * AIP_MODEL_DIR = `/model/` - * * AIP_CHECKPOINT_DIR = `/checkpoints/` - * * AIP_TENSORBOARD_LOG_DIR = `/logs/` - * For CustomJob backing a Trial of HyperparameterTuningJob: - * * AIP_MODEL_DIR = `//model/` - * * AIP_CHECKPOINT_DIR = `//checkpoints/` - * * AIP_TENSORBOARD_LOG_DIR = `//logs/` - * - * Generated from protobuf field .google.cloud.aiplatform.v1.GcsDestination base_output_directory = 6; - */ - protected $base_output_directory = null; - /** - * The ID of the location to store protected artifacts. e.g. us-central1. - * Populate only when the location is different than CustomJob location. - * List of supported locations: - * https://cloud.google.com/vertex-ai/docs/general/locations - * - * Generated from protobuf field string protected_artifact_location_id = 19; - */ - protected $protected_artifact_location_id = ''; - /** - * Optional. The name of a Vertex AI - * [Tensorboard][google.cloud.aiplatform.v1.Tensorboard] resource to which - * this CustomJob will upload Tensorboard logs. Format: - * `projects/{project}/locations/{location}/tensorboards/{tensorboard}` - * - * Generated from protobuf field string tensorboard = 7 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { - */ - protected $tensorboard = ''; - /** - * Optional. Whether you want Vertex AI to enable [interactive shell - * access](https://cloud.google.com/vertex-ai/docs/training/monitor-debug-interactive-shell) - * to training containers. - * If set to `true`, you can access interactive shells at the URIs given - * by - * [CustomJob.web_access_uris][google.cloud.aiplatform.v1.CustomJob.web_access_uris] - * or - * [Trial.web_access_uris][google.cloud.aiplatform.v1.Trial.web_access_uris] - * (within - * [HyperparameterTuningJob.trials][google.cloud.aiplatform.v1.HyperparameterTuningJob.trials]). - * - * Generated from protobuf field bool enable_web_access = 10 [(.google.api.field_behavior) = OPTIONAL]; - */ - protected $enable_web_access = false; - /** - * Optional. Whether you want Vertex AI to enable access to the customized - * dashboard in training chief container. - * If set to `true`, you can access the dashboard at the URIs given - * by - * [CustomJob.web_access_uris][google.cloud.aiplatform.v1.CustomJob.web_access_uris] - * or - * [Trial.web_access_uris][google.cloud.aiplatform.v1.Trial.web_access_uris] - * (within - * [HyperparameterTuningJob.trials][google.cloud.aiplatform.v1.HyperparameterTuningJob.trials]). - * - * Generated from protobuf field bool enable_dashboard_access = 16 [(.google.api.field_behavior) = OPTIONAL]; - */ - protected $enable_dashboard_access = false; - /** - * Optional. The Experiment associated with this job. - * Format: - * `projects/{project}/locations/{location}/metadataStores/{metadataStores}/contexts/{experiment-name}` - * - * Generated from protobuf field string experiment = 17 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { - */ - protected $experiment = ''; - /** - * Optional. The Experiment Run associated with this job. - * Format: - * `projects/{project}/locations/{location}/metadataStores/{metadataStores}/contexts/{experiment-name}-{experiment-run-name}` - * - * Generated from protobuf field string experiment_run = 18 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { - */ - protected $experiment_run = ''; - /** - * Optional. The name of the Model resources for which to generate a mapping - * to artifact URIs. Applicable only to some of the Google-provided custom - * jobs. Format: `projects/{project}/locations/{location}/models/{model}` - * In order to retrieve a specific version of the model, also provide - * the version ID or version alias. - * Example: `projects/{project}/locations/{location}/models/{model}@2` - * or - * `projects/{project}/locations/{location}/models/{model}@golden` - * If no version ID or alias is specified, the "default" version will be - * returned. The "default" version alias is created for the first version of - * the model, and can be moved to other versions later on. There will be - * exactly one default version. - * - * Generated from protobuf field repeated string models = 20 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { - */ - private $models; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $persistent_resource_id - * Optional. The ID of the PersistentResource in the same Project and Location - * which to run - * If this is specified, the job will be run on existing machines held by the - * PersistentResource instead of on-demand short-live machines. - * The network and CMEK configs on the job should be consistent with those on - * the PersistentResource, otherwise, the job will be rejected. - * @type array<\Google\Cloud\AIPlatform\V1\WorkerPoolSpec>|\Google\Protobuf\Internal\RepeatedField $worker_pool_specs - * Required. The spec of the worker pools including machine type and Docker - * image. All worker pools except the first one are optional and can be - * skipped by providing an empty value. - * @type \Google\Cloud\AIPlatform\V1\Scheduling $scheduling - * Scheduling options for a CustomJob. - * @type string $service_account - * Specifies the service account for workload run-as account. - * Users submitting jobs must have act-as permission on this run-as account. - * If unspecified, the [Vertex AI Custom Code Service - * Agent](https://cloud.google.com/vertex-ai/docs/general/access-control#service-agents) - * for the CustomJob's project is used. - * @type string $network - * Optional. The full name of the Compute Engine - * [network](/compute/docs/networks-and-firewalls#networks) to which the Job - * should be peered. For example, `projects/12345/global/networks/myVPC`. - * [Format](/compute/docs/reference/rest/v1/networks/insert) - * is of the form `projects/{project}/global/networks/{network}`. - * Where {project} is a project number, as in `12345`, and {network} is a - * network name. - * To specify this field, you must have already [configured VPC Network - * Peering for Vertex - * AI](https://cloud.google.com/vertex-ai/docs/general/vpc-peering). - * If this field is left unspecified, the job is not peered with any network. - * @type array|\Google\Protobuf\Internal\RepeatedField $reserved_ip_ranges - * Optional. A list of names for the reserved ip ranges under the VPC network - * that can be used for this job. - * If set, we will deploy the job within the provided ip ranges. Otherwise, - * the job will be deployed to any ip ranges under the provided VPC - * network. - * Example: ['vertex-ai-ip-range']. - * @type \Google\Cloud\AIPlatform\V1\GcsDestination $base_output_directory - * The Cloud Storage location to store the output of this CustomJob or - * HyperparameterTuningJob. For HyperparameterTuningJob, - * the baseOutputDirectory of - * each child CustomJob backing a Trial is set to a subdirectory of name - * [id][google.cloud.aiplatform.v1.Trial.id] under its parent - * HyperparameterTuningJob's baseOutputDirectory. - * The following Vertex AI environment variables will be passed to - * containers or python modules when this field is set: - * For CustomJob: - * * AIP_MODEL_DIR = `/model/` - * * AIP_CHECKPOINT_DIR = `/checkpoints/` - * * AIP_TENSORBOARD_LOG_DIR = `/logs/` - * For CustomJob backing a Trial of HyperparameterTuningJob: - * * AIP_MODEL_DIR = `//model/` - * * AIP_CHECKPOINT_DIR = `//checkpoints/` - * * AIP_TENSORBOARD_LOG_DIR = `//logs/` - * @type string $protected_artifact_location_id - * The ID of the location to store protected artifacts. e.g. us-central1. - * Populate only when the location is different than CustomJob location. - * List of supported locations: - * https://cloud.google.com/vertex-ai/docs/general/locations - * @type string $tensorboard - * Optional. The name of a Vertex AI - * [Tensorboard][google.cloud.aiplatform.v1.Tensorboard] resource to which - * this CustomJob will upload Tensorboard logs. Format: - * `projects/{project}/locations/{location}/tensorboards/{tensorboard}` - * @type bool $enable_web_access - * Optional. Whether you want Vertex AI to enable [interactive shell - * access](https://cloud.google.com/vertex-ai/docs/training/monitor-debug-interactive-shell) - * to training containers. - * If set to `true`, you can access interactive shells at the URIs given - * by - * [CustomJob.web_access_uris][google.cloud.aiplatform.v1.CustomJob.web_access_uris] - * or - * [Trial.web_access_uris][google.cloud.aiplatform.v1.Trial.web_access_uris] - * (within - * [HyperparameterTuningJob.trials][google.cloud.aiplatform.v1.HyperparameterTuningJob.trials]). - * @type bool $enable_dashboard_access - * Optional. Whether you want Vertex AI to enable access to the customized - * dashboard in training chief container. - * If set to `true`, you can access the dashboard at the URIs given - * by - * [CustomJob.web_access_uris][google.cloud.aiplatform.v1.CustomJob.web_access_uris] - * or - * [Trial.web_access_uris][google.cloud.aiplatform.v1.Trial.web_access_uris] - * (within - * [HyperparameterTuningJob.trials][google.cloud.aiplatform.v1.HyperparameterTuningJob.trials]). - * @type string $experiment - * Optional. The Experiment associated with this job. - * Format: - * `projects/{project}/locations/{location}/metadataStores/{metadataStores}/contexts/{experiment-name}` - * @type string $experiment_run - * Optional. The Experiment Run associated with this job. - * Format: - * `projects/{project}/locations/{location}/metadataStores/{metadataStores}/contexts/{experiment-name}-{experiment-run-name}` - * @type array|\Google\Protobuf\Internal\RepeatedField $models - * Optional. The name of the Model resources for which to generate a mapping - * to artifact URIs. Applicable only to some of the Google-provided custom - * jobs. Format: `projects/{project}/locations/{location}/models/{model}` - * In order to retrieve a specific version of the model, also provide - * the version ID or version alias. - * Example: `projects/{project}/locations/{location}/models/{model}@2` - * or - * `projects/{project}/locations/{location}/models/{model}@golden` - * If no version ID or alias is specified, the "default" version will be - * returned. The "default" version alias is created for the first version of - * the model, and can be moved to other versions later on. There will be - * exactly one default version. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Cloud\Aiplatform\V1\CustomJob::initOnce(); - parent::__construct($data); - } - - /** - * Optional. The ID of the PersistentResource in the same Project and Location - * which to run - * If this is specified, the job will be run on existing machines held by the - * PersistentResource instead of on-demand short-live machines. - * The network and CMEK configs on the job should be consistent with those on - * the PersistentResource, otherwise, the job will be rejected. - * - * Generated from protobuf field string persistent_resource_id = 14 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { - * @return string - */ - public function getPersistentResourceId() - { - return $this->persistent_resource_id; - } - - /** - * Optional. The ID of the PersistentResource in the same Project and Location - * which to run - * If this is specified, the job will be run on existing machines held by the - * PersistentResource instead of on-demand short-live machines. - * The network and CMEK configs on the job should be consistent with those on - * the PersistentResource, otherwise, the job will be rejected. - * - * Generated from protobuf field string persistent_resource_id = 14 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setPersistentResourceId($var) - { - GPBUtil::checkString($var, True); - $this->persistent_resource_id = $var; - - return $this; - } - - /** - * Required. The spec of the worker pools including machine type and Docker - * image. All worker pools except the first one are optional and can be - * skipped by providing an empty value. - * - * Generated from protobuf field repeated .google.cloud.aiplatform.v1.WorkerPoolSpec worker_pool_specs = 1 [(.google.api.field_behavior) = REQUIRED]; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getWorkerPoolSpecs() - { - return $this->worker_pool_specs; - } - - /** - * Required. The spec of the worker pools including machine type and Docker - * image. All worker pools except the first one are optional and can be - * skipped by providing an empty value. - * - * Generated from protobuf field repeated .google.cloud.aiplatform.v1.WorkerPoolSpec worker_pool_specs = 1 [(.google.api.field_behavior) = REQUIRED]; - * @param array<\Google\Cloud\AIPlatform\V1\WorkerPoolSpec>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setWorkerPoolSpecs($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\AIPlatform\V1\WorkerPoolSpec::class); - $this->worker_pool_specs = $arr; - - return $this; - } - - /** - * Scheduling options for a CustomJob. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.Scheduling scheduling = 3; - * @return \Google\Cloud\AIPlatform\V1\Scheduling|null - */ - public function getScheduling() - { - return $this->scheduling; - } - - public function hasScheduling() - { - return isset($this->scheduling); - } - - public function clearScheduling() - { - unset($this->scheduling); - } - - /** - * Scheduling options for a CustomJob. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.Scheduling scheduling = 3; - * @param \Google\Cloud\AIPlatform\V1\Scheduling $var - * @return $this - */ - public function setScheduling($var) - { - GPBUtil::checkMessage($var, \Google\Cloud\AIPlatform\V1\Scheduling::class); - $this->scheduling = $var; - - return $this; - } - - /** - * Specifies the service account for workload run-as account. - * Users submitting jobs must have act-as permission on this run-as account. - * If unspecified, the [Vertex AI Custom Code Service - * Agent](https://cloud.google.com/vertex-ai/docs/general/access-control#service-agents) - * for the CustomJob's project is used. - * - * Generated from protobuf field string service_account = 4; - * @return string - */ - public function getServiceAccount() - { - return $this->service_account; - } - - /** - * Specifies the service account for workload run-as account. - * Users submitting jobs must have act-as permission on this run-as account. - * If unspecified, the [Vertex AI Custom Code Service - * Agent](https://cloud.google.com/vertex-ai/docs/general/access-control#service-agents) - * for the CustomJob's project is used. - * - * Generated from protobuf field string service_account = 4; - * @param string $var - * @return $this - */ - public function setServiceAccount($var) - { - GPBUtil::checkString($var, True); - $this->service_account = $var; - - return $this; - } - - /** - * Optional. The full name of the Compute Engine - * [network](/compute/docs/networks-and-firewalls#networks) to which the Job - * should be peered. For example, `projects/12345/global/networks/myVPC`. - * [Format](/compute/docs/reference/rest/v1/networks/insert) - * is of the form `projects/{project}/global/networks/{network}`. - * Where {project} is a project number, as in `12345`, and {network} is a - * network name. - * To specify this field, you must have already [configured VPC Network - * Peering for Vertex - * AI](https://cloud.google.com/vertex-ai/docs/general/vpc-peering). - * If this field is left unspecified, the job is not peered with any network. - * - * Generated from protobuf field string network = 5 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { - * @return string - */ - public function getNetwork() - { - return $this->network; - } - - /** - * Optional. The full name of the Compute Engine - * [network](/compute/docs/networks-and-firewalls#networks) to which the Job - * should be peered. For example, `projects/12345/global/networks/myVPC`. - * [Format](/compute/docs/reference/rest/v1/networks/insert) - * is of the form `projects/{project}/global/networks/{network}`. - * Where {project} is a project number, as in `12345`, and {network} is a - * network name. - * To specify this field, you must have already [configured VPC Network - * Peering for Vertex - * AI](https://cloud.google.com/vertex-ai/docs/general/vpc-peering). - * If this field is left unspecified, the job is not peered with any network. - * - * Generated from protobuf field string network = 5 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setNetwork($var) - { - GPBUtil::checkString($var, True); - $this->network = $var; - - return $this; - } - - /** - * Optional. A list of names for the reserved ip ranges under the VPC network - * that can be used for this job. - * If set, we will deploy the job within the provided ip ranges. Otherwise, - * the job will be deployed to any ip ranges under the provided VPC - * network. - * Example: ['vertex-ai-ip-range']. - * - * Generated from protobuf field repeated string reserved_ip_ranges = 13 [(.google.api.field_behavior) = OPTIONAL]; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getReservedIpRanges() - { - return $this->reserved_ip_ranges; - } - - /** - * Optional. A list of names for the reserved ip ranges under the VPC network - * that can be used for this job. - * If set, we will deploy the job within the provided ip ranges. Otherwise, - * the job will be deployed to any ip ranges under the provided VPC - * network. - * Example: ['vertex-ai-ip-range']. - * - * Generated from protobuf field repeated string reserved_ip_ranges = 13 [(.google.api.field_behavior) = OPTIONAL]; - * @param array|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setReservedIpRanges($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING); - $this->reserved_ip_ranges = $arr; - - return $this; - } - - /** - * The Cloud Storage location to store the output of this CustomJob or - * HyperparameterTuningJob. For HyperparameterTuningJob, - * the baseOutputDirectory of - * each child CustomJob backing a Trial is set to a subdirectory of name - * [id][google.cloud.aiplatform.v1.Trial.id] under its parent - * HyperparameterTuningJob's baseOutputDirectory. - * The following Vertex AI environment variables will be passed to - * containers or python modules when this field is set: - * For CustomJob: - * * AIP_MODEL_DIR = `/model/` - * * AIP_CHECKPOINT_DIR = `/checkpoints/` - * * AIP_TENSORBOARD_LOG_DIR = `/logs/` - * For CustomJob backing a Trial of HyperparameterTuningJob: - * * AIP_MODEL_DIR = `//model/` - * * AIP_CHECKPOINT_DIR = `//checkpoints/` - * * AIP_TENSORBOARD_LOG_DIR = `//logs/` - * - * Generated from protobuf field .google.cloud.aiplatform.v1.GcsDestination base_output_directory = 6; - * @return \Google\Cloud\AIPlatform\V1\GcsDestination|null - */ - public function getBaseOutputDirectory() - { - return $this->base_output_directory; - } - - public function hasBaseOutputDirectory() - { - return isset($this->base_output_directory); - } - - public function clearBaseOutputDirectory() - { - unset($this->base_output_directory); - } - - /** - * The Cloud Storage location to store the output of this CustomJob or - * HyperparameterTuningJob. For HyperparameterTuningJob, - * the baseOutputDirectory of - * each child CustomJob backing a Trial is set to a subdirectory of name - * [id][google.cloud.aiplatform.v1.Trial.id] under its parent - * HyperparameterTuningJob's baseOutputDirectory. - * The following Vertex AI environment variables will be passed to - * containers or python modules when this field is set: - * For CustomJob: - * * AIP_MODEL_DIR = `/model/` - * * AIP_CHECKPOINT_DIR = `/checkpoints/` - * * AIP_TENSORBOARD_LOG_DIR = `/logs/` - * For CustomJob backing a Trial of HyperparameterTuningJob: - * * AIP_MODEL_DIR = `//model/` - * * AIP_CHECKPOINT_DIR = `//checkpoints/` - * * AIP_TENSORBOARD_LOG_DIR = `//logs/` - * - * Generated from protobuf field .google.cloud.aiplatform.v1.GcsDestination base_output_directory = 6; - * @param \Google\Cloud\AIPlatform\V1\GcsDestination $var - * @return $this - */ - public function setBaseOutputDirectory($var) - { - GPBUtil::checkMessage($var, \Google\Cloud\AIPlatform\V1\GcsDestination::class); - $this->base_output_directory = $var; - - return $this; - } - - /** - * The ID of the location to store protected artifacts. e.g. us-central1. - * Populate only when the location is different than CustomJob location. - * List of supported locations: - * https://cloud.google.com/vertex-ai/docs/general/locations - * - * Generated from protobuf field string protected_artifact_location_id = 19; - * @return string - */ - public function getProtectedArtifactLocationId() - { - return $this->protected_artifact_location_id; - } - - /** - * The ID of the location to store protected artifacts. e.g. us-central1. - * Populate only when the location is different than CustomJob location. - * List of supported locations: - * https://cloud.google.com/vertex-ai/docs/general/locations - * - * Generated from protobuf field string protected_artifact_location_id = 19; - * @param string $var - * @return $this - */ - public function setProtectedArtifactLocationId($var) - { - GPBUtil::checkString($var, True); - $this->protected_artifact_location_id = $var; - - return $this; - } - - /** - * Optional. The name of a Vertex AI - * [Tensorboard][google.cloud.aiplatform.v1.Tensorboard] resource to which - * this CustomJob will upload Tensorboard logs. Format: - * `projects/{project}/locations/{location}/tensorboards/{tensorboard}` - * - * Generated from protobuf field string tensorboard = 7 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { - * @return string - */ - public function getTensorboard() - { - return $this->tensorboard; - } - - /** - * Optional. The name of a Vertex AI - * [Tensorboard][google.cloud.aiplatform.v1.Tensorboard] resource to which - * this CustomJob will upload Tensorboard logs. Format: - * `projects/{project}/locations/{location}/tensorboards/{tensorboard}` - * - * Generated from protobuf field string tensorboard = 7 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setTensorboard($var) - { - GPBUtil::checkString($var, True); - $this->tensorboard = $var; - - return $this; - } - - /** - * Optional. Whether you want Vertex AI to enable [interactive shell - * access](https://cloud.google.com/vertex-ai/docs/training/monitor-debug-interactive-shell) - * to training containers. - * If set to `true`, you can access interactive shells at the URIs given - * by - * [CustomJob.web_access_uris][google.cloud.aiplatform.v1.CustomJob.web_access_uris] - * or - * [Trial.web_access_uris][google.cloud.aiplatform.v1.Trial.web_access_uris] - * (within - * [HyperparameterTuningJob.trials][google.cloud.aiplatform.v1.HyperparameterTuningJob.trials]). - * - * Generated from protobuf field bool enable_web_access = 10 [(.google.api.field_behavior) = OPTIONAL]; - * @return bool - */ - public function getEnableWebAccess() - { - return $this->enable_web_access; - } - - /** - * Optional. Whether you want Vertex AI to enable [interactive shell - * access](https://cloud.google.com/vertex-ai/docs/training/monitor-debug-interactive-shell) - * to training containers. - * If set to `true`, you can access interactive shells at the URIs given - * by - * [CustomJob.web_access_uris][google.cloud.aiplatform.v1.CustomJob.web_access_uris] - * or - * [Trial.web_access_uris][google.cloud.aiplatform.v1.Trial.web_access_uris] - * (within - * [HyperparameterTuningJob.trials][google.cloud.aiplatform.v1.HyperparameterTuningJob.trials]). - * - * Generated from protobuf field bool enable_web_access = 10 [(.google.api.field_behavior) = OPTIONAL]; - * @param bool $var - * @return $this - */ - public function setEnableWebAccess($var) - { - GPBUtil::checkBool($var); - $this->enable_web_access = $var; - - return $this; - } - - /** - * Optional. Whether you want Vertex AI to enable access to the customized - * dashboard in training chief container. - * If set to `true`, you can access the dashboard at the URIs given - * by - * [CustomJob.web_access_uris][google.cloud.aiplatform.v1.CustomJob.web_access_uris] - * or - * [Trial.web_access_uris][google.cloud.aiplatform.v1.Trial.web_access_uris] - * (within - * [HyperparameterTuningJob.trials][google.cloud.aiplatform.v1.HyperparameterTuningJob.trials]). - * - * Generated from protobuf field bool enable_dashboard_access = 16 [(.google.api.field_behavior) = OPTIONAL]; - * @return bool - */ - public function getEnableDashboardAccess() - { - return $this->enable_dashboard_access; - } - - /** - * Optional. Whether you want Vertex AI to enable access to the customized - * dashboard in training chief container. - * If set to `true`, you can access the dashboard at the URIs given - * by - * [CustomJob.web_access_uris][google.cloud.aiplatform.v1.CustomJob.web_access_uris] - * or - * [Trial.web_access_uris][google.cloud.aiplatform.v1.Trial.web_access_uris] - * (within - * [HyperparameterTuningJob.trials][google.cloud.aiplatform.v1.HyperparameterTuningJob.trials]). - * - * Generated from protobuf field bool enable_dashboard_access = 16 [(.google.api.field_behavior) = OPTIONAL]; - * @param bool $var - * @return $this - */ - public function setEnableDashboardAccess($var) - { - GPBUtil::checkBool($var); - $this->enable_dashboard_access = $var; - - return $this; - } - - /** - * Optional. The Experiment associated with this job. - * Format: - * `projects/{project}/locations/{location}/metadataStores/{metadataStores}/contexts/{experiment-name}` - * - * Generated from protobuf field string experiment = 17 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { - * @return string - */ - public function getExperiment() - { - return $this->experiment; - } - - /** - * Optional. The Experiment associated with this job. - * Format: - * `projects/{project}/locations/{location}/metadataStores/{metadataStores}/contexts/{experiment-name}` - * - * Generated from protobuf field string experiment = 17 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setExperiment($var) - { - GPBUtil::checkString($var, True); - $this->experiment = $var; - - return $this; - } - - /** - * Optional. The Experiment Run associated with this job. - * Format: - * `projects/{project}/locations/{location}/metadataStores/{metadataStores}/contexts/{experiment-name}-{experiment-run-name}` - * - * Generated from protobuf field string experiment_run = 18 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { - * @return string - */ - public function getExperimentRun() - { - return $this->experiment_run; - } - - /** - * Optional. The Experiment Run associated with this job. - * Format: - * `projects/{project}/locations/{location}/metadataStores/{metadataStores}/contexts/{experiment-name}-{experiment-run-name}` - * - * Generated from protobuf field string experiment_run = 18 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setExperimentRun($var) - { - GPBUtil::checkString($var, True); - $this->experiment_run = $var; - - return $this; - } - - /** - * Optional. The name of the Model resources for which to generate a mapping - * to artifact URIs. Applicable only to some of the Google-provided custom - * jobs. Format: `projects/{project}/locations/{location}/models/{model}` - * In order to retrieve a specific version of the model, also provide - * the version ID or version alias. - * Example: `projects/{project}/locations/{location}/models/{model}@2` - * or - * `projects/{project}/locations/{location}/models/{model}@golden` - * If no version ID or alias is specified, the "default" version will be - * returned. The "default" version alias is created for the first version of - * the model, and can be moved to other versions later on. There will be - * exactly one default version. - * - * Generated from protobuf field repeated string models = 20 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getModels() - { - return $this->models; - } - - /** - * Optional. The name of the Model resources for which to generate a mapping - * to artifact URIs. Applicable only to some of the Google-provided custom - * jobs. Format: `projects/{project}/locations/{location}/models/{model}` - * In order to retrieve a specific version of the model, also provide - * the version ID or version alias. - * Example: `projects/{project}/locations/{location}/models/{model}@2` - * or - * `projects/{project}/locations/{location}/models/{model}@golden` - * If no version ID or alias is specified, the "default" version will be - * returned. The "default" version alias is created for the first version of - * the model, and can be moved to other versions later on. There will be - * exactly one default version. - * - * Generated from protobuf field repeated string models = 20 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { - * @param array|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setModels($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING); - $this->models = $arr; - - return $this; - } - -} - diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/DataItem.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/DataItem.php deleted file mode 100644 index 91a3e21374be..000000000000 --- a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/DataItem.php +++ /dev/null @@ -1,316 +0,0 @@ -google.cloud.aiplatform.v1.DataItem - */ -class DataItem extends \Google\Protobuf\Internal\Message -{ - /** - * Output only. The resource name of the DataItem. - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $name = ''; - /** - * Output only. Timestamp when this DataItem was created. - * - * Generated from protobuf field .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $create_time = null; - /** - * Output only. Timestamp when this DataItem was last updated. - * - * Generated from protobuf field .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $update_time = null; - /** - * Optional. The labels with user-defined metadata to organize your DataItems. - * Label keys and values can be no longer than 64 characters - * (Unicode codepoints), can only contain lowercase letters, numeric - * characters, underscores and dashes. International characters are allowed. - * No more than 64 user labels can be associated with one DataItem(System - * labels are excluded). - * See https://goo.gl/xmQnxf for more information and examples of labels. - * System reserved label keys are prefixed with "aiplatform.googleapis.com/" - * and are immutable. - * - * Generated from protobuf field map labels = 3 [(.google.api.field_behavior) = OPTIONAL]; - */ - private $labels; - /** - * Required. The data that the DataItem represents (for example, an image or a - * text snippet). The schema of the payload is stored in the parent Dataset's - * [metadata schema's][google.cloud.aiplatform.v1.Dataset.metadata_schema_uri] - * dataItemSchemaUri field. - * - * Generated from protobuf field .google.protobuf.Value payload = 4 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $payload = null; - /** - * Optional. Used to perform consistent read-modify-write updates. If not set, - * a blind "overwrite" update happens. - * - * Generated from protobuf field string etag = 7 [(.google.api.field_behavior) = OPTIONAL]; - */ - protected $etag = ''; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $name - * Output only. The resource name of the DataItem. - * @type \Google\Protobuf\Timestamp $create_time - * Output only. Timestamp when this DataItem was created. - * @type \Google\Protobuf\Timestamp $update_time - * Output only. Timestamp when this DataItem was last updated. - * @type array|\Google\Protobuf\Internal\MapField $labels - * Optional. The labels with user-defined metadata to organize your DataItems. - * Label keys and values can be no longer than 64 characters - * (Unicode codepoints), can only contain lowercase letters, numeric - * characters, underscores and dashes. International characters are allowed. - * No more than 64 user labels can be associated with one DataItem(System - * labels are excluded). - * See https://goo.gl/xmQnxf for more information and examples of labels. - * System reserved label keys are prefixed with "aiplatform.googleapis.com/" - * and are immutable. - * @type \Google\Protobuf\Value $payload - * Required. The data that the DataItem represents (for example, an image or a - * text snippet). The schema of the payload is stored in the parent Dataset's - * [metadata schema's][google.cloud.aiplatform.v1.Dataset.metadata_schema_uri] - * dataItemSchemaUri field. - * @type string $etag - * Optional. Used to perform consistent read-modify-write updates. If not set, - * a blind "overwrite" update happens. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Cloud\Aiplatform\V1\DataItem::initOnce(); - parent::__construct($data); - } - - /** - * Output only. The resource name of the DataItem. - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return string - */ - public function getName() - { - return $this->name; - } - - /** - * Output only. The resource name of the DataItem. - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param string $var - * @return $this - */ - public function setName($var) - { - GPBUtil::checkString($var, True); - $this->name = $var; - - return $this; - } - - /** - * Output only. Timestamp when this DataItem was created. - * - * Generated from protobuf field .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return \Google\Protobuf\Timestamp|null - */ - public function getCreateTime() - { - return $this->create_time; - } - - public function hasCreateTime() - { - return isset($this->create_time); - } - - public function clearCreateTime() - { - unset($this->create_time); - } - - /** - * Output only. Timestamp when this DataItem was created. - * - * Generated from protobuf field .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param \Google\Protobuf\Timestamp $var - * @return $this - */ - public function setCreateTime($var) - { - GPBUtil::checkMessage($var, \Google\Protobuf\Timestamp::class); - $this->create_time = $var; - - return $this; - } - - /** - * Output only. Timestamp when this DataItem was last updated. - * - * Generated from protobuf field .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return \Google\Protobuf\Timestamp|null - */ - public function getUpdateTime() - { - return $this->update_time; - } - - public function hasUpdateTime() - { - return isset($this->update_time); - } - - public function clearUpdateTime() - { - unset($this->update_time); - } - - /** - * Output only. Timestamp when this DataItem was last updated. - * - * Generated from protobuf field .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param \Google\Protobuf\Timestamp $var - * @return $this - */ - public function setUpdateTime($var) - { - GPBUtil::checkMessage($var, \Google\Protobuf\Timestamp::class); - $this->update_time = $var; - - return $this; - } - - /** - * Optional. The labels with user-defined metadata to organize your DataItems. - * Label keys and values can be no longer than 64 characters - * (Unicode codepoints), can only contain lowercase letters, numeric - * characters, underscores and dashes. International characters are allowed. - * No more than 64 user labels can be associated with one DataItem(System - * labels are excluded). - * See https://goo.gl/xmQnxf for more information and examples of labels. - * System reserved label keys are prefixed with "aiplatform.googleapis.com/" - * and are immutable. - * - * Generated from protobuf field map labels = 3 [(.google.api.field_behavior) = OPTIONAL]; - * @return \Google\Protobuf\Internal\MapField - */ - public function getLabels() - { - return $this->labels; - } - - /** - * Optional. The labels with user-defined metadata to organize your DataItems. - * Label keys and values can be no longer than 64 characters - * (Unicode codepoints), can only contain lowercase letters, numeric - * characters, underscores and dashes. International characters are allowed. - * No more than 64 user labels can be associated with one DataItem(System - * labels are excluded). - * See https://goo.gl/xmQnxf for more information and examples of labels. - * System reserved label keys are prefixed with "aiplatform.googleapis.com/" - * and are immutable. - * - * Generated from protobuf field map labels = 3 [(.google.api.field_behavior) = OPTIONAL]; - * @param array|\Google\Protobuf\Internal\MapField $var - * @return $this - */ - public function setLabels($var) - { - $arr = GPBUtil::checkMapField($var, \Google\Protobuf\Internal\GPBType::STRING, \Google\Protobuf\Internal\GPBType::STRING); - $this->labels = $arr; - - return $this; - } - - /** - * Required. The data that the DataItem represents (for example, an image or a - * text snippet). The schema of the payload is stored in the parent Dataset's - * [metadata schema's][google.cloud.aiplatform.v1.Dataset.metadata_schema_uri] - * dataItemSchemaUri field. - * - * Generated from protobuf field .google.protobuf.Value payload = 4 [(.google.api.field_behavior) = REQUIRED]; - * @return \Google\Protobuf\Value|null - */ - public function getPayload() - { - return $this->payload; - } - - public function hasPayload() - { - return isset($this->payload); - } - - public function clearPayload() - { - unset($this->payload); - } - - /** - * Required. The data that the DataItem represents (for example, an image or a - * text snippet). The schema of the payload is stored in the parent Dataset's - * [metadata schema's][google.cloud.aiplatform.v1.Dataset.metadata_schema_uri] - * dataItemSchemaUri field. - * - * Generated from protobuf field .google.protobuf.Value payload = 4 [(.google.api.field_behavior) = REQUIRED]; - * @param \Google\Protobuf\Value $var - * @return $this - */ - public function setPayload($var) - { - GPBUtil::checkMessage($var, \Google\Protobuf\Value::class); - $this->payload = $var; - - return $this; - } - - /** - * Optional. Used to perform consistent read-modify-write updates. If not set, - * a blind "overwrite" update happens. - * - * Generated from protobuf field string etag = 7 [(.google.api.field_behavior) = OPTIONAL]; - * @return string - */ - public function getEtag() - { - return $this->etag; - } - - /** - * Optional. Used to perform consistent read-modify-write updates. If not set, - * a blind "overwrite" update happens. - * - * Generated from protobuf field string etag = 7 [(.google.api.field_behavior) = OPTIONAL]; - * @param string $var - * @return $this - */ - public function setEtag($var) - { - GPBUtil::checkString($var, True); - $this->etag = $var; - - return $this; - } - -} - diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/DataItemView.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/DataItemView.php deleted file mode 100644 index fa12a0e7d8ad..000000000000 --- a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/DataItemView.php +++ /dev/null @@ -1,173 +0,0 @@ -google.cloud.aiplatform.v1.DataItemView - */ -class DataItemView extends \Google\Protobuf\Internal\Message -{ - /** - * The DataItem. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.DataItem data_item = 1; - */ - protected $data_item = null; - /** - * The Annotations on the DataItem. If too many Annotations should be returned - * for the DataItem, this field will be truncated per annotations_limit in - * request. If it was, then the has_truncated_annotations will be set to true. - * - * Generated from protobuf field repeated .google.cloud.aiplatform.v1.Annotation annotations = 2; - */ - private $annotations; - /** - * True if and only if the Annotations field has been truncated. It happens if - * more Annotations for this DataItem met the request's annotation_filter than - * are allowed to be returned by annotations_limit. - * Note that if Annotations field is not being returned due to field mask, - * then this field will not be set to true no matter how many Annotations are - * there. - * - * Generated from protobuf field bool has_truncated_annotations = 3; - */ - protected $has_truncated_annotations = false; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type \Google\Cloud\AIPlatform\V1\DataItem $data_item - * The DataItem. - * @type array<\Google\Cloud\AIPlatform\V1\Annotation>|\Google\Protobuf\Internal\RepeatedField $annotations - * The Annotations on the DataItem. If too many Annotations should be returned - * for the DataItem, this field will be truncated per annotations_limit in - * request. If it was, then the has_truncated_annotations will be set to true. - * @type bool $has_truncated_annotations - * True if and only if the Annotations field has been truncated. It happens if - * more Annotations for this DataItem met the request's annotation_filter than - * are allowed to be returned by annotations_limit. - * Note that if Annotations field is not being returned due to field mask, - * then this field will not be set to true no matter how many Annotations are - * there. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Cloud\Aiplatform\V1\DatasetService::initOnce(); - parent::__construct($data); - } - - /** - * The DataItem. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.DataItem data_item = 1; - * @return \Google\Cloud\AIPlatform\V1\DataItem|null - */ - public function getDataItem() - { - return $this->data_item; - } - - public function hasDataItem() - { - return isset($this->data_item); - } - - public function clearDataItem() - { - unset($this->data_item); - } - - /** - * The DataItem. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.DataItem data_item = 1; - * @param \Google\Cloud\AIPlatform\V1\DataItem $var - * @return $this - */ - public function setDataItem($var) - { - GPBUtil::checkMessage($var, \Google\Cloud\AIPlatform\V1\DataItem::class); - $this->data_item = $var; - - return $this; - } - - /** - * The Annotations on the DataItem. If too many Annotations should be returned - * for the DataItem, this field will be truncated per annotations_limit in - * request. If it was, then the has_truncated_annotations will be set to true. - * - * Generated from protobuf field repeated .google.cloud.aiplatform.v1.Annotation annotations = 2; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getAnnotations() - { - return $this->annotations; - } - - /** - * The Annotations on the DataItem. If too many Annotations should be returned - * for the DataItem, this field will be truncated per annotations_limit in - * request. If it was, then the has_truncated_annotations will be set to true. - * - * Generated from protobuf field repeated .google.cloud.aiplatform.v1.Annotation annotations = 2; - * @param array<\Google\Cloud\AIPlatform\V1\Annotation>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setAnnotations($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\AIPlatform\V1\Annotation::class); - $this->annotations = $arr; - - return $this; - } - - /** - * True if and only if the Annotations field has been truncated. It happens if - * more Annotations for this DataItem met the request's annotation_filter than - * are allowed to be returned by annotations_limit. - * Note that if Annotations field is not being returned due to field mask, - * then this field will not be set to true no matter how many Annotations are - * there. - * - * Generated from protobuf field bool has_truncated_annotations = 3; - * @return bool - */ - public function getHasTruncatedAnnotations() - { - return $this->has_truncated_annotations; - } - - /** - * True if and only if the Annotations field has been truncated. It happens if - * more Annotations for this DataItem met the request's annotation_filter than - * are allowed to be returned by annotations_limit. - * Note that if Annotations field is not being returned due to field mask, - * then this field will not be set to true no matter how many Annotations are - * there. - * - * Generated from protobuf field bool has_truncated_annotations = 3; - * @param bool $var - * @return $this - */ - public function setHasTruncatedAnnotations($var) - { - GPBUtil::checkBool($var); - $this->has_truncated_annotations = $var; - - return $this; - } - -} - diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/DataLabelingJob.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/DataLabelingJob.php deleted file mode 100644 index c416d3c5caa9..000000000000 --- a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/DataLabelingJob.php +++ /dev/null @@ -1,852 +0,0 @@ -google.cloud.aiplatform.v1.DataLabelingJob - */ -class DataLabelingJob extends \Google\Protobuf\Internal\Message -{ - /** - * Output only. Resource name of the DataLabelingJob. - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $name = ''; - /** - * Required. The user-defined name of the DataLabelingJob. - * The name can be up to 128 characters long and can consist of any UTF-8 - * characters. - * Display name of a DataLabelingJob. - * - * Generated from protobuf field string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $display_name = ''; - /** - * Required. Dataset resource names. Right now we only support labeling from a - * single Dataset. Format: - * `projects/{project}/locations/{location}/datasets/{dataset}` - * - * Generated from protobuf field repeated string datasets = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - */ - private $datasets; - /** - * Labels to assign to annotations generated by this DataLabelingJob. - * Label keys and values can be no longer than 64 characters - * (Unicode codepoints), can only contain lowercase letters, numeric - * characters, underscores and dashes. International characters are allowed. - * See https://goo.gl/xmQnxf for more information and examples of labels. - * System reserved label keys are prefixed with "aiplatform.googleapis.com/" - * and are immutable. - * - * Generated from protobuf field map annotation_labels = 12; - */ - private $annotation_labels; - /** - * Required. Number of labelers to work on each DataItem. - * - * Generated from protobuf field int32 labeler_count = 4 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $labeler_count = 0; - /** - * Required. The Google Cloud Storage location of the instruction pdf. This - * pdf is shared with labelers, and provides detailed description on how to - * label DataItems in Datasets. - * - * Generated from protobuf field string instruction_uri = 5 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $instruction_uri = ''; - /** - * Required. Points to a YAML file stored on Google Cloud Storage describing - * the config for a specific type of DataLabelingJob. The schema files that - * can be used here are found in the - * https://storage.googleapis.com/google-cloud-aiplatform bucket in the - * /schema/datalabelingjob/inputs/ folder. - * - * Generated from protobuf field string inputs_schema_uri = 6 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $inputs_schema_uri = ''; - /** - * Required. Input config parameters for the DataLabelingJob. - * - * Generated from protobuf field .google.protobuf.Value inputs = 7 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $inputs = null; - /** - * Output only. The detailed state of the job. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.JobState state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $state = 0; - /** - * Output only. Current labeling job progress percentage scaled in interval - * [0, 100], indicating the percentage of DataItems that has been finished. - * - * Generated from protobuf field int32 labeling_progress = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $labeling_progress = 0; - /** - * Output only. Estimated cost(in US dollars) that the DataLabelingJob has - * incurred to date. - * - * Generated from protobuf field .google.type.Money current_spend = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $current_spend = null; - /** - * Output only. Timestamp when this DataLabelingJob was created. - * - * Generated from protobuf field .google.protobuf.Timestamp create_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $create_time = null; - /** - * Output only. Timestamp when this DataLabelingJob was updated most recently. - * - * Generated from protobuf field .google.protobuf.Timestamp update_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $update_time = null; - /** - * Output only. DataLabelingJob errors. It is only populated when job's state - * is `JOB_STATE_FAILED` or `JOB_STATE_CANCELLED`. - * - * Generated from protobuf field .google.rpc.Status error = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $error = null; - /** - * The labels with user-defined metadata to organize your DataLabelingJobs. - * Label keys and values can be no longer than 64 characters - * (Unicode codepoints), can only contain lowercase letters, numeric - * characters, underscores and dashes. International characters are allowed. - * See https://goo.gl/xmQnxf for more information and examples of labels. - * System reserved label keys are prefixed with "aiplatform.googleapis.com/" - * and are immutable. Following system labels exist for each DataLabelingJob: - * * "aiplatform.googleapis.com/schema": output only, its value is the - * [inputs_schema][google.cloud.aiplatform.v1.DataLabelingJob.inputs_schema_uri]'s - * title. - * - * Generated from protobuf field map labels = 11; - */ - private $labels; - /** - * The SpecialistPools' resource names associated with this job. - * - * Generated from protobuf field repeated string specialist_pools = 16; - */ - private $specialist_pools; - /** - * Customer-managed encryption key spec for a DataLabelingJob. If set, this - * DataLabelingJob will be secured by this key. - * Note: Annotations created in the DataLabelingJob are associated with - * the EncryptionSpec of the Dataset they are exported to. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.EncryptionSpec encryption_spec = 20; - */ - protected $encryption_spec = null; - /** - * Parameters that configure the active learning pipeline. Active learning - * will label the data incrementally via several iterations. For every - * iteration, it will select a batch of data based on the sampling strategy. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.ActiveLearningConfig active_learning_config = 21; - */ - protected $active_learning_config = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $name - * Output only. Resource name of the DataLabelingJob. - * @type string $display_name - * Required. The user-defined name of the DataLabelingJob. - * The name can be up to 128 characters long and can consist of any UTF-8 - * characters. - * Display name of a DataLabelingJob. - * @type array|\Google\Protobuf\Internal\RepeatedField $datasets - * Required. Dataset resource names. Right now we only support labeling from a - * single Dataset. Format: - * `projects/{project}/locations/{location}/datasets/{dataset}` - * @type array|\Google\Protobuf\Internal\MapField $annotation_labels - * Labels to assign to annotations generated by this DataLabelingJob. - * Label keys and values can be no longer than 64 characters - * (Unicode codepoints), can only contain lowercase letters, numeric - * characters, underscores and dashes. International characters are allowed. - * See https://goo.gl/xmQnxf for more information and examples of labels. - * System reserved label keys are prefixed with "aiplatform.googleapis.com/" - * and are immutable. - * @type int $labeler_count - * Required. Number of labelers to work on each DataItem. - * @type string $instruction_uri - * Required. The Google Cloud Storage location of the instruction pdf. This - * pdf is shared with labelers, and provides detailed description on how to - * label DataItems in Datasets. - * @type string $inputs_schema_uri - * Required. Points to a YAML file stored on Google Cloud Storage describing - * the config for a specific type of DataLabelingJob. The schema files that - * can be used here are found in the - * https://storage.googleapis.com/google-cloud-aiplatform bucket in the - * /schema/datalabelingjob/inputs/ folder. - * @type \Google\Protobuf\Value $inputs - * Required. Input config parameters for the DataLabelingJob. - * @type int $state - * Output only. The detailed state of the job. - * @type int $labeling_progress - * Output only. Current labeling job progress percentage scaled in interval - * [0, 100], indicating the percentage of DataItems that has been finished. - * @type \Google\Type\Money $current_spend - * Output only. Estimated cost(in US dollars) that the DataLabelingJob has - * incurred to date. - * @type \Google\Protobuf\Timestamp $create_time - * Output only. Timestamp when this DataLabelingJob was created. - * @type \Google\Protobuf\Timestamp $update_time - * Output only. Timestamp when this DataLabelingJob was updated most recently. - * @type \Google\Rpc\Status $error - * Output only. DataLabelingJob errors. It is only populated when job's state - * is `JOB_STATE_FAILED` or `JOB_STATE_CANCELLED`. - * @type array|\Google\Protobuf\Internal\MapField $labels - * The labels with user-defined metadata to organize your DataLabelingJobs. - * Label keys and values can be no longer than 64 characters - * (Unicode codepoints), can only contain lowercase letters, numeric - * characters, underscores and dashes. International characters are allowed. - * See https://goo.gl/xmQnxf for more information and examples of labels. - * System reserved label keys are prefixed with "aiplatform.googleapis.com/" - * and are immutable. Following system labels exist for each DataLabelingJob: - * * "aiplatform.googleapis.com/schema": output only, its value is the - * [inputs_schema][google.cloud.aiplatform.v1.DataLabelingJob.inputs_schema_uri]'s - * title. - * @type array|\Google\Protobuf\Internal\RepeatedField $specialist_pools - * The SpecialistPools' resource names associated with this job. - * @type \Google\Cloud\AIPlatform\V1\EncryptionSpec $encryption_spec - * Customer-managed encryption key spec for a DataLabelingJob. If set, this - * DataLabelingJob will be secured by this key. - * Note: Annotations created in the DataLabelingJob are associated with - * the EncryptionSpec of the Dataset they are exported to. - * @type \Google\Cloud\AIPlatform\V1\ActiveLearningConfig $active_learning_config - * Parameters that configure the active learning pipeline. Active learning - * will label the data incrementally via several iterations. For every - * iteration, it will select a batch of data based on the sampling strategy. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Cloud\Aiplatform\V1\DataLabelingJob::initOnce(); - parent::__construct($data); - } - - /** - * Output only. Resource name of the DataLabelingJob. - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return string - */ - public function getName() - { - return $this->name; - } - - /** - * Output only. Resource name of the DataLabelingJob. - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param string $var - * @return $this - */ - public function setName($var) - { - GPBUtil::checkString($var, True); - $this->name = $var; - - return $this; - } - - /** - * Required. The user-defined name of the DataLabelingJob. - * The name can be up to 128 characters long and can consist of any UTF-8 - * characters. - * Display name of a DataLabelingJob. - * - * Generated from protobuf field string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; - * @return string - */ - public function getDisplayName() - { - return $this->display_name; - } - - /** - * Required. The user-defined name of the DataLabelingJob. - * The name can be up to 128 characters long and can consist of any UTF-8 - * characters. - * Display name of a DataLabelingJob. - * - * Generated from protobuf field string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; - * @param string $var - * @return $this - */ - public function setDisplayName($var) - { - GPBUtil::checkString($var, True); - $this->display_name = $var; - - return $this; - } - - /** - * Required. Dataset resource names. Right now we only support labeling from a - * single Dataset. Format: - * `projects/{project}/locations/{location}/datasets/{dataset}` - * - * Generated from protobuf field repeated string datasets = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getDatasets() - { - return $this->datasets; - } - - /** - * Required. Dataset resource names. Right now we only support labeling from a - * single Dataset. Format: - * `projects/{project}/locations/{location}/datasets/{dataset}` - * - * Generated from protobuf field repeated string datasets = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - * @param array|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setDatasets($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING); - $this->datasets = $arr; - - return $this; - } - - /** - * Labels to assign to annotations generated by this DataLabelingJob. - * Label keys and values can be no longer than 64 characters - * (Unicode codepoints), can only contain lowercase letters, numeric - * characters, underscores and dashes. International characters are allowed. - * See https://goo.gl/xmQnxf for more information and examples of labels. - * System reserved label keys are prefixed with "aiplatform.googleapis.com/" - * and are immutable. - * - * Generated from protobuf field map annotation_labels = 12; - * @return \Google\Protobuf\Internal\MapField - */ - public function getAnnotationLabels() - { - return $this->annotation_labels; - } - - /** - * Labels to assign to annotations generated by this DataLabelingJob. - * Label keys and values can be no longer than 64 characters - * (Unicode codepoints), can only contain lowercase letters, numeric - * characters, underscores and dashes. International characters are allowed. - * See https://goo.gl/xmQnxf for more information and examples of labels. - * System reserved label keys are prefixed with "aiplatform.googleapis.com/" - * and are immutable. - * - * Generated from protobuf field map annotation_labels = 12; - * @param array|\Google\Protobuf\Internal\MapField $var - * @return $this - */ - public function setAnnotationLabels($var) - { - $arr = GPBUtil::checkMapField($var, \Google\Protobuf\Internal\GPBType::STRING, \Google\Protobuf\Internal\GPBType::STRING); - $this->annotation_labels = $arr; - - return $this; - } - - /** - * Required. Number of labelers to work on each DataItem. - * - * Generated from protobuf field int32 labeler_count = 4 [(.google.api.field_behavior) = REQUIRED]; - * @return int - */ - public function getLabelerCount() - { - return $this->labeler_count; - } - - /** - * Required. Number of labelers to work on each DataItem. - * - * Generated from protobuf field int32 labeler_count = 4 [(.google.api.field_behavior) = REQUIRED]; - * @param int $var - * @return $this - */ - public function setLabelerCount($var) - { - GPBUtil::checkInt32($var); - $this->labeler_count = $var; - - return $this; - } - - /** - * Required. The Google Cloud Storage location of the instruction pdf. This - * pdf is shared with labelers, and provides detailed description on how to - * label DataItems in Datasets. - * - * Generated from protobuf field string instruction_uri = 5 [(.google.api.field_behavior) = REQUIRED]; - * @return string - */ - public function getInstructionUri() - { - return $this->instruction_uri; - } - - /** - * Required. The Google Cloud Storage location of the instruction pdf. This - * pdf is shared with labelers, and provides detailed description on how to - * label DataItems in Datasets. - * - * Generated from protobuf field string instruction_uri = 5 [(.google.api.field_behavior) = REQUIRED]; - * @param string $var - * @return $this - */ - public function setInstructionUri($var) - { - GPBUtil::checkString($var, True); - $this->instruction_uri = $var; - - return $this; - } - - /** - * Required. Points to a YAML file stored on Google Cloud Storage describing - * the config for a specific type of DataLabelingJob. The schema files that - * can be used here are found in the - * https://storage.googleapis.com/google-cloud-aiplatform bucket in the - * /schema/datalabelingjob/inputs/ folder. - * - * Generated from protobuf field string inputs_schema_uri = 6 [(.google.api.field_behavior) = REQUIRED]; - * @return string - */ - public function getInputsSchemaUri() - { - return $this->inputs_schema_uri; - } - - /** - * Required. Points to a YAML file stored on Google Cloud Storage describing - * the config for a specific type of DataLabelingJob. The schema files that - * can be used here are found in the - * https://storage.googleapis.com/google-cloud-aiplatform bucket in the - * /schema/datalabelingjob/inputs/ folder. - * - * Generated from protobuf field string inputs_schema_uri = 6 [(.google.api.field_behavior) = REQUIRED]; - * @param string $var - * @return $this - */ - public function setInputsSchemaUri($var) - { - GPBUtil::checkString($var, True); - $this->inputs_schema_uri = $var; - - return $this; - } - - /** - * Required. Input config parameters for the DataLabelingJob. - * - * Generated from protobuf field .google.protobuf.Value inputs = 7 [(.google.api.field_behavior) = REQUIRED]; - * @return \Google\Protobuf\Value|null - */ - public function getInputs() - { - return $this->inputs; - } - - public function hasInputs() - { - return isset($this->inputs); - } - - public function clearInputs() - { - unset($this->inputs); - } - - /** - * Required. Input config parameters for the DataLabelingJob. - * - * Generated from protobuf field .google.protobuf.Value inputs = 7 [(.google.api.field_behavior) = REQUIRED]; - * @param \Google\Protobuf\Value $var - * @return $this - */ - public function setInputs($var) - { - GPBUtil::checkMessage($var, \Google\Protobuf\Value::class); - $this->inputs = $var; - - return $this; - } - - /** - * Output only. The detailed state of the job. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.JobState state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return int - */ - public function getState() - { - return $this->state; - } - - /** - * Output only. The detailed state of the job. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.JobState state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param int $var - * @return $this - */ - public function setState($var) - { - GPBUtil::checkEnum($var, \Google\Cloud\AIPlatform\V1\JobState::class); - $this->state = $var; - - return $this; - } - - /** - * Output only. Current labeling job progress percentage scaled in interval - * [0, 100], indicating the percentage of DataItems that has been finished. - * - * Generated from protobuf field int32 labeling_progress = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return int - */ - public function getLabelingProgress() - { - return $this->labeling_progress; - } - - /** - * Output only. Current labeling job progress percentage scaled in interval - * [0, 100], indicating the percentage of DataItems that has been finished. - * - * Generated from protobuf field int32 labeling_progress = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param int $var - * @return $this - */ - public function setLabelingProgress($var) - { - GPBUtil::checkInt32($var); - $this->labeling_progress = $var; - - return $this; - } - - /** - * Output only. Estimated cost(in US dollars) that the DataLabelingJob has - * incurred to date. - * - * Generated from protobuf field .google.type.Money current_spend = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return \Google\Type\Money|null - */ - public function getCurrentSpend() - { - return $this->current_spend; - } - - public function hasCurrentSpend() - { - return isset($this->current_spend); - } - - public function clearCurrentSpend() - { - unset($this->current_spend); - } - - /** - * Output only. Estimated cost(in US dollars) that the DataLabelingJob has - * incurred to date. - * - * Generated from protobuf field .google.type.Money current_spend = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param \Google\Type\Money $var - * @return $this - */ - public function setCurrentSpend($var) - { - GPBUtil::checkMessage($var, \Google\Type\Money::class); - $this->current_spend = $var; - - return $this; - } - - /** - * Output only. Timestamp when this DataLabelingJob was created. - * - * Generated from protobuf field .google.protobuf.Timestamp create_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return \Google\Protobuf\Timestamp|null - */ - public function getCreateTime() - { - return $this->create_time; - } - - public function hasCreateTime() - { - return isset($this->create_time); - } - - public function clearCreateTime() - { - unset($this->create_time); - } - - /** - * Output only. Timestamp when this DataLabelingJob was created. - * - * Generated from protobuf field .google.protobuf.Timestamp create_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param \Google\Protobuf\Timestamp $var - * @return $this - */ - public function setCreateTime($var) - { - GPBUtil::checkMessage($var, \Google\Protobuf\Timestamp::class); - $this->create_time = $var; - - return $this; - } - - /** - * Output only. Timestamp when this DataLabelingJob was updated most recently. - * - * Generated from protobuf field .google.protobuf.Timestamp update_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return \Google\Protobuf\Timestamp|null - */ - public function getUpdateTime() - { - return $this->update_time; - } - - public function hasUpdateTime() - { - return isset($this->update_time); - } - - public function clearUpdateTime() - { - unset($this->update_time); - } - - /** - * Output only. Timestamp when this DataLabelingJob was updated most recently. - * - * Generated from protobuf field .google.protobuf.Timestamp update_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param \Google\Protobuf\Timestamp $var - * @return $this - */ - public function setUpdateTime($var) - { - GPBUtil::checkMessage($var, \Google\Protobuf\Timestamp::class); - $this->update_time = $var; - - return $this; - } - - /** - * Output only. DataLabelingJob errors. It is only populated when job's state - * is `JOB_STATE_FAILED` or `JOB_STATE_CANCELLED`. - * - * Generated from protobuf field .google.rpc.Status error = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return \Google\Rpc\Status|null - */ - public function getError() - { - return $this->error; - } - - public function hasError() - { - return isset($this->error); - } - - public function clearError() - { - unset($this->error); - } - - /** - * Output only. DataLabelingJob errors. It is only populated when job's state - * is `JOB_STATE_FAILED` or `JOB_STATE_CANCELLED`. - * - * Generated from protobuf field .google.rpc.Status error = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param \Google\Rpc\Status $var - * @return $this - */ - public function setError($var) - { - GPBUtil::checkMessage($var, \Google\Rpc\Status::class); - $this->error = $var; - - return $this; - } - - /** - * The labels with user-defined metadata to organize your DataLabelingJobs. - * Label keys and values can be no longer than 64 characters - * (Unicode codepoints), can only contain lowercase letters, numeric - * characters, underscores and dashes. International characters are allowed. - * See https://goo.gl/xmQnxf for more information and examples of labels. - * System reserved label keys are prefixed with "aiplatform.googleapis.com/" - * and are immutable. Following system labels exist for each DataLabelingJob: - * * "aiplatform.googleapis.com/schema": output only, its value is the - * [inputs_schema][google.cloud.aiplatform.v1.DataLabelingJob.inputs_schema_uri]'s - * title. - * - * Generated from protobuf field map labels = 11; - * @return \Google\Protobuf\Internal\MapField - */ - public function getLabels() - { - return $this->labels; - } - - /** - * The labels with user-defined metadata to organize your DataLabelingJobs. - * Label keys and values can be no longer than 64 characters - * (Unicode codepoints), can only contain lowercase letters, numeric - * characters, underscores and dashes. International characters are allowed. - * See https://goo.gl/xmQnxf for more information and examples of labels. - * System reserved label keys are prefixed with "aiplatform.googleapis.com/" - * and are immutable. Following system labels exist for each DataLabelingJob: - * * "aiplatform.googleapis.com/schema": output only, its value is the - * [inputs_schema][google.cloud.aiplatform.v1.DataLabelingJob.inputs_schema_uri]'s - * title. - * - * Generated from protobuf field map labels = 11; - * @param array|\Google\Protobuf\Internal\MapField $var - * @return $this - */ - public function setLabels($var) - { - $arr = GPBUtil::checkMapField($var, \Google\Protobuf\Internal\GPBType::STRING, \Google\Protobuf\Internal\GPBType::STRING); - $this->labels = $arr; - - return $this; - } - - /** - * The SpecialistPools' resource names associated with this job. - * - * Generated from protobuf field repeated string specialist_pools = 16; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getSpecialistPools() - { - return $this->specialist_pools; - } - - /** - * The SpecialistPools' resource names associated with this job. - * - * Generated from protobuf field repeated string specialist_pools = 16; - * @param array|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setSpecialistPools($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING); - $this->specialist_pools = $arr; - - return $this; - } - - /** - * Customer-managed encryption key spec for a DataLabelingJob. If set, this - * DataLabelingJob will be secured by this key. - * Note: Annotations created in the DataLabelingJob are associated with - * the EncryptionSpec of the Dataset they are exported to. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.EncryptionSpec encryption_spec = 20; - * @return \Google\Cloud\AIPlatform\V1\EncryptionSpec|null - */ - public function getEncryptionSpec() - { - return $this->encryption_spec; - } - - public function hasEncryptionSpec() - { - return isset($this->encryption_spec); - } - - public function clearEncryptionSpec() - { - unset($this->encryption_spec); - } - - /** - * Customer-managed encryption key spec for a DataLabelingJob. If set, this - * DataLabelingJob will be secured by this key. - * Note: Annotations created in the DataLabelingJob are associated with - * the EncryptionSpec of the Dataset they are exported to. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.EncryptionSpec encryption_spec = 20; - * @param \Google\Cloud\AIPlatform\V1\EncryptionSpec $var - * @return $this - */ - public function setEncryptionSpec($var) - { - GPBUtil::checkMessage($var, \Google\Cloud\AIPlatform\V1\EncryptionSpec::class); - $this->encryption_spec = $var; - - return $this; - } - - /** - * Parameters that configure the active learning pipeline. Active learning - * will label the data incrementally via several iterations. For every - * iteration, it will select a batch of data based on the sampling strategy. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.ActiveLearningConfig active_learning_config = 21; - * @return \Google\Cloud\AIPlatform\V1\ActiveLearningConfig|null - */ - public function getActiveLearningConfig() - { - return $this->active_learning_config; - } - - public function hasActiveLearningConfig() - { - return isset($this->active_learning_config); - } - - public function clearActiveLearningConfig() - { - unset($this->active_learning_config); - } - - /** - * Parameters that configure the active learning pipeline. Active learning - * will label the data incrementally via several iterations. For every - * iteration, it will select a batch of data based on the sampling strategy. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.ActiveLearningConfig active_learning_config = 21; - * @param \Google\Cloud\AIPlatform\V1\ActiveLearningConfig $var - * @return $this - */ - public function setActiveLearningConfig($var) - { - GPBUtil::checkMessage($var, \Google\Cloud\AIPlatform\V1\ActiveLearningConfig::class); - $this->active_learning_config = $var; - - return $this; - } - -} - diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/Dataset.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/Dataset.php deleted file mode 100644 index 2167b87a67bd..000000000000 --- a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/Dataset.php +++ /dev/null @@ -1,669 +0,0 @@ -google.cloud.aiplatform.v1.Dataset - */ -class Dataset extends \Google\Protobuf\Internal\Message -{ - /** - * Output only. The resource name of the Dataset. - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $name = ''; - /** - * Required. The user-defined name of the Dataset. - * The name can be up to 128 characters long and can consist of any UTF-8 - * characters. - * - * Generated from protobuf field string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $display_name = ''; - /** - * The description of the Dataset. - * - * Generated from protobuf field string description = 16; - */ - protected $description = ''; - /** - * Required. Points to a YAML file stored on Google Cloud Storage describing - * additional information about the Dataset. The schema is defined as an - * OpenAPI 3.0.2 Schema Object. The schema files that can be used here are - * found in gs://google-cloud-aiplatform/schema/dataset/metadata/. - * - * Generated from protobuf field string metadata_schema_uri = 3 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $metadata_schema_uri = ''; - /** - * Required. Additional information about the Dataset. - * - * Generated from protobuf field .google.protobuf.Value metadata = 8 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $metadata = null; - /** - * Output only. The number of DataItems in this Dataset. Only apply for - * non-structured Dataset. - * - * Generated from protobuf field int64 data_item_count = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $data_item_count = 0; - /** - * Output only. Timestamp when this Dataset was created. - * - * Generated from protobuf field .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $create_time = null; - /** - * Output only. Timestamp when this Dataset was last updated. - * - * Generated from protobuf field .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $update_time = null; - /** - * Used to perform consistent read-modify-write updates. If not set, a blind - * "overwrite" update happens. - * - * Generated from protobuf field string etag = 6; - */ - protected $etag = ''; - /** - * The labels with user-defined metadata to organize your Datasets. - * Label keys and values can be no longer than 64 characters - * (Unicode codepoints), can only contain lowercase letters, numeric - * characters, underscores and dashes. International characters are allowed. - * No more than 64 user labels can be associated with one Dataset (System - * labels are excluded). - * See https://goo.gl/xmQnxf for more information and examples of labels. - * System reserved label keys are prefixed with "aiplatform.googleapis.com/" - * and are immutable. Following system labels exist for each Dataset: - * * "aiplatform.googleapis.com/dataset_metadata_schema": output only, its - * value is the - * [metadata_schema's][google.cloud.aiplatform.v1.Dataset.metadata_schema_uri] - * title. - * - * Generated from protobuf field map labels = 7; - */ - private $labels; - /** - * All SavedQueries belong to the Dataset will be returned in List/Get - * Dataset response. The annotation_specs field - * will not be populated except for UI cases which will only use - * [annotation_spec_count][google.cloud.aiplatform.v1.SavedQuery.annotation_spec_count]. - * In CreateDataset request, a SavedQuery is created together if - * this field is set, up to one SavedQuery can be set in CreateDatasetRequest. - * The SavedQuery should not contain any AnnotationSpec. - * - * Generated from protobuf field repeated .google.cloud.aiplatform.v1.SavedQuery saved_queries = 9; - */ - private $saved_queries; - /** - * Customer-managed encryption key spec for a Dataset. If set, this Dataset - * and all sub-resources of this Dataset will be secured by this key. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.EncryptionSpec encryption_spec = 11; - */ - protected $encryption_spec = null; - /** - * Output only. The resource name of the Artifact that was created in - * MetadataStore when creating the Dataset. The Artifact resource name pattern - * is - * `projects/{project}/locations/{location}/metadataStores/{metadata_store}/artifacts/{artifact}`. - * - * Generated from protobuf field string metadata_artifact = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $metadata_artifact = ''; - /** - * Optional. Reference to the public base model last used by the dataset. Only - * set for prompt datasets. - * - * Generated from protobuf field string model_reference = 18 [(.google.api.field_behavior) = OPTIONAL]; - */ - protected $model_reference = ''; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $name - * Output only. The resource name of the Dataset. - * @type string $display_name - * Required. The user-defined name of the Dataset. - * The name can be up to 128 characters long and can consist of any UTF-8 - * characters. - * @type string $description - * The description of the Dataset. - * @type string $metadata_schema_uri - * Required. Points to a YAML file stored on Google Cloud Storage describing - * additional information about the Dataset. The schema is defined as an - * OpenAPI 3.0.2 Schema Object. The schema files that can be used here are - * found in gs://google-cloud-aiplatform/schema/dataset/metadata/. - * @type \Google\Protobuf\Value $metadata - * Required. Additional information about the Dataset. - * @type int|string $data_item_count - * Output only. The number of DataItems in this Dataset. Only apply for - * non-structured Dataset. - * @type \Google\Protobuf\Timestamp $create_time - * Output only. Timestamp when this Dataset was created. - * @type \Google\Protobuf\Timestamp $update_time - * Output only. Timestamp when this Dataset was last updated. - * @type string $etag - * Used to perform consistent read-modify-write updates. If not set, a blind - * "overwrite" update happens. - * @type array|\Google\Protobuf\Internal\MapField $labels - * The labels with user-defined metadata to organize your Datasets. - * Label keys and values can be no longer than 64 characters - * (Unicode codepoints), can only contain lowercase letters, numeric - * characters, underscores and dashes. International characters are allowed. - * No more than 64 user labels can be associated with one Dataset (System - * labels are excluded). - * See https://goo.gl/xmQnxf for more information and examples of labels. - * System reserved label keys are prefixed with "aiplatform.googleapis.com/" - * and are immutable. Following system labels exist for each Dataset: - * * "aiplatform.googleapis.com/dataset_metadata_schema": output only, its - * value is the - * [metadata_schema's][google.cloud.aiplatform.v1.Dataset.metadata_schema_uri] - * title. - * @type array<\Google\Cloud\AIPlatform\V1\SavedQuery>|\Google\Protobuf\Internal\RepeatedField $saved_queries - * All SavedQueries belong to the Dataset will be returned in List/Get - * Dataset response. The annotation_specs field - * will not be populated except for UI cases which will only use - * [annotation_spec_count][google.cloud.aiplatform.v1.SavedQuery.annotation_spec_count]. - * In CreateDataset request, a SavedQuery is created together if - * this field is set, up to one SavedQuery can be set in CreateDatasetRequest. - * The SavedQuery should not contain any AnnotationSpec. - * @type \Google\Cloud\AIPlatform\V1\EncryptionSpec $encryption_spec - * Customer-managed encryption key spec for a Dataset. If set, this Dataset - * and all sub-resources of this Dataset will be secured by this key. - * @type string $metadata_artifact - * Output only. The resource name of the Artifact that was created in - * MetadataStore when creating the Dataset. The Artifact resource name pattern - * is - * `projects/{project}/locations/{location}/metadataStores/{metadata_store}/artifacts/{artifact}`. - * @type string $model_reference - * Optional. Reference to the public base model last used by the dataset. Only - * set for prompt datasets. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Cloud\Aiplatform\V1\Dataset::initOnce(); - parent::__construct($data); - } - - /** - * Output only. The resource name of the Dataset. - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return string - */ - public function getName() - { - return $this->name; - } - - /** - * Output only. The resource name of the Dataset. - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param string $var - * @return $this - */ - public function setName($var) - { - GPBUtil::checkString($var, True); - $this->name = $var; - - return $this; - } - - /** - * Required. The user-defined name of the Dataset. - * The name can be up to 128 characters long and can consist of any UTF-8 - * characters. - * - * Generated from protobuf field string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; - * @return string - */ - public function getDisplayName() - { - return $this->display_name; - } - - /** - * Required. The user-defined name of the Dataset. - * The name can be up to 128 characters long and can consist of any UTF-8 - * characters. - * - * Generated from protobuf field string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; - * @param string $var - * @return $this - */ - public function setDisplayName($var) - { - GPBUtil::checkString($var, True); - $this->display_name = $var; - - return $this; - } - - /** - * The description of the Dataset. - * - * Generated from protobuf field string description = 16; - * @return string - */ - public function getDescription() - { - return $this->description; - } - - /** - * The description of the Dataset. - * - * Generated from protobuf field string description = 16; - * @param string $var - * @return $this - */ - public function setDescription($var) - { - GPBUtil::checkString($var, True); - $this->description = $var; - - return $this; - } - - /** - * Required. Points to a YAML file stored on Google Cloud Storage describing - * additional information about the Dataset. The schema is defined as an - * OpenAPI 3.0.2 Schema Object. The schema files that can be used here are - * found in gs://google-cloud-aiplatform/schema/dataset/metadata/. - * - * Generated from protobuf field string metadata_schema_uri = 3 [(.google.api.field_behavior) = REQUIRED]; - * @return string - */ - public function getMetadataSchemaUri() - { - return $this->metadata_schema_uri; - } - - /** - * Required. Points to a YAML file stored on Google Cloud Storage describing - * additional information about the Dataset. The schema is defined as an - * OpenAPI 3.0.2 Schema Object. The schema files that can be used here are - * found in gs://google-cloud-aiplatform/schema/dataset/metadata/. - * - * Generated from protobuf field string metadata_schema_uri = 3 [(.google.api.field_behavior) = REQUIRED]; - * @param string $var - * @return $this - */ - public function setMetadataSchemaUri($var) - { - GPBUtil::checkString($var, True); - $this->metadata_schema_uri = $var; - - return $this; - } - - /** - * Required. Additional information about the Dataset. - * - * Generated from protobuf field .google.protobuf.Value metadata = 8 [(.google.api.field_behavior) = REQUIRED]; - * @return \Google\Protobuf\Value|null - */ - public function getMetadata() - { - return $this->metadata; - } - - public function hasMetadata() - { - return isset($this->metadata); - } - - public function clearMetadata() - { - unset($this->metadata); - } - - /** - * Required. Additional information about the Dataset. - * - * Generated from protobuf field .google.protobuf.Value metadata = 8 [(.google.api.field_behavior) = REQUIRED]; - * @param \Google\Protobuf\Value $var - * @return $this - */ - public function setMetadata($var) - { - GPBUtil::checkMessage($var, \Google\Protobuf\Value::class); - $this->metadata = $var; - - return $this; - } - - /** - * Output only. The number of DataItems in this Dataset. Only apply for - * non-structured Dataset. - * - * Generated from protobuf field int64 data_item_count = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return int|string - */ - public function getDataItemCount() - { - return $this->data_item_count; - } - - /** - * Output only. The number of DataItems in this Dataset. Only apply for - * non-structured Dataset. - * - * Generated from protobuf field int64 data_item_count = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param int|string $var - * @return $this - */ - public function setDataItemCount($var) - { - GPBUtil::checkInt64($var); - $this->data_item_count = $var; - - return $this; - } - - /** - * Output only. Timestamp when this Dataset was created. - * - * Generated from protobuf field .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return \Google\Protobuf\Timestamp|null - */ - public function getCreateTime() - { - return $this->create_time; - } - - public function hasCreateTime() - { - return isset($this->create_time); - } - - public function clearCreateTime() - { - unset($this->create_time); - } - - /** - * Output only. Timestamp when this Dataset was created. - * - * Generated from protobuf field .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param \Google\Protobuf\Timestamp $var - * @return $this - */ - public function setCreateTime($var) - { - GPBUtil::checkMessage($var, \Google\Protobuf\Timestamp::class); - $this->create_time = $var; - - return $this; - } - - /** - * Output only. Timestamp when this Dataset was last updated. - * - * Generated from protobuf field .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return \Google\Protobuf\Timestamp|null - */ - public function getUpdateTime() - { - return $this->update_time; - } - - public function hasUpdateTime() - { - return isset($this->update_time); - } - - public function clearUpdateTime() - { - unset($this->update_time); - } - - /** - * Output only. Timestamp when this Dataset was last updated. - * - * Generated from protobuf field .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param \Google\Protobuf\Timestamp $var - * @return $this - */ - public function setUpdateTime($var) - { - GPBUtil::checkMessage($var, \Google\Protobuf\Timestamp::class); - $this->update_time = $var; - - return $this; - } - - /** - * Used to perform consistent read-modify-write updates. If not set, a blind - * "overwrite" update happens. - * - * Generated from protobuf field string etag = 6; - * @return string - */ - public function getEtag() - { - return $this->etag; - } - - /** - * Used to perform consistent read-modify-write updates. If not set, a blind - * "overwrite" update happens. - * - * Generated from protobuf field string etag = 6; - * @param string $var - * @return $this - */ - public function setEtag($var) - { - GPBUtil::checkString($var, True); - $this->etag = $var; - - return $this; - } - - /** - * The labels with user-defined metadata to organize your Datasets. - * Label keys and values can be no longer than 64 characters - * (Unicode codepoints), can only contain lowercase letters, numeric - * characters, underscores and dashes. International characters are allowed. - * No more than 64 user labels can be associated with one Dataset (System - * labels are excluded). - * See https://goo.gl/xmQnxf for more information and examples of labels. - * System reserved label keys are prefixed with "aiplatform.googleapis.com/" - * and are immutable. Following system labels exist for each Dataset: - * * "aiplatform.googleapis.com/dataset_metadata_schema": output only, its - * value is the - * [metadata_schema's][google.cloud.aiplatform.v1.Dataset.metadata_schema_uri] - * title. - * - * Generated from protobuf field map labels = 7; - * @return \Google\Protobuf\Internal\MapField - */ - public function getLabels() - { - return $this->labels; - } - - /** - * The labels with user-defined metadata to organize your Datasets. - * Label keys and values can be no longer than 64 characters - * (Unicode codepoints), can only contain lowercase letters, numeric - * characters, underscores and dashes. International characters are allowed. - * No more than 64 user labels can be associated with one Dataset (System - * labels are excluded). - * See https://goo.gl/xmQnxf for more information and examples of labels. - * System reserved label keys are prefixed with "aiplatform.googleapis.com/" - * and are immutable. Following system labels exist for each Dataset: - * * "aiplatform.googleapis.com/dataset_metadata_schema": output only, its - * value is the - * [metadata_schema's][google.cloud.aiplatform.v1.Dataset.metadata_schema_uri] - * title. - * - * Generated from protobuf field map labels = 7; - * @param array|\Google\Protobuf\Internal\MapField $var - * @return $this - */ - public function setLabels($var) - { - $arr = GPBUtil::checkMapField($var, \Google\Protobuf\Internal\GPBType::STRING, \Google\Protobuf\Internal\GPBType::STRING); - $this->labels = $arr; - - return $this; - } - - /** - * All SavedQueries belong to the Dataset will be returned in List/Get - * Dataset response. The annotation_specs field - * will not be populated except for UI cases which will only use - * [annotation_spec_count][google.cloud.aiplatform.v1.SavedQuery.annotation_spec_count]. - * In CreateDataset request, a SavedQuery is created together if - * this field is set, up to one SavedQuery can be set in CreateDatasetRequest. - * The SavedQuery should not contain any AnnotationSpec. - * - * Generated from protobuf field repeated .google.cloud.aiplatform.v1.SavedQuery saved_queries = 9; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getSavedQueries() - { - return $this->saved_queries; - } - - /** - * All SavedQueries belong to the Dataset will be returned in List/Get - * Dataset response. The annotation_specs field - * will not be populated except for UI cases which will only use - * [annotation_spec_count][google.cloud.aiplatform.v1.SavedQuery.annotation_spec_count]. - * In CreateDataset request, a SavedQuery is created together if - * this field is set, up to one SavedQuery can be set in CreateDatasetRequest. - * The SavedQuery should not contain any AnnotationSpec. - * - * Generated from protobuf field repeated .google.cloud.aiplatform.v1.SavedQuery saved_queries = 9; - * @param array<\Google\Cloud\AIPlatform\V1\SavedQuery>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setSavedQueries($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\AIPlatform\V1\SavedQuery::class); - $this->saved_queries = $arr; - - return $this; - } - - /** - * Customer-managed encryption key spec for a Dataset. If set, this Dataset - * and all sub-resources of this Dataset will be secured by this key. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.EncryptionSpec encryption_spec = 11; - * @return \Google\Cloud\AIPlatform\V1\EncryptionSpec|null - */ - public function getEncryptionSpec() - { - return $this->encryption_spec; - } - - public function hasEncryptionSpec() - { - return isset($this->encryption_spec); - } - - public function clearEncryptionSpec() - { - unset($this->encryption_spec); - } - - /** - * Customer-managed encryption key spec for a Dataset. If set, this Dataset - * and all sub-resources of this Dataset will be secured by this key. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.EncryptionSpec encryption_spec = 11; - * @param \Google\Cloud\AIPlatform\V1\EncryptionSpec $var - * @return $this - */ - public function setEncryptionSpec($var) - { - GPBUtil::checkMessage($var, \Google\Cloud\AIPlatform\V1\EncryptionSpec::class); - $this->encryption_spec = $var; - - return $this; - } - - /** - * Output only. The resource name of the Artifact that was created in - * MetadataStore when creating the Dataset. The Artifact resource name pattern - * is - * `projects/{project}/locations/{location}/metadataStores/{metadata_store}/artifacts/{artifact}`. - * - * Generated from protobuf field string metadata_artifact = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return string - */ - public function getMetadataArtifact() - { - return $this->metadata_artifact; - } - - /** - * Output only. The resource name of the Artifact that was created in - * MetadataStore when creating the Dataset. The Artifact resource name pattern - * is - * `projects/{project}/locations/{location}/metadataStores/{metadata_store}/artifacts/{artifact}`. - * - * Generated from protobuf field string metadata_artifact = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param string $var - * @return $this - */ - public function setMetadataArtifact($var) - { - GPBUtil::checkString($var, True); - $this->metadata_artifact = $var; - - return $this; - } - - /** - * Optional. Reference to the public base model last used by the dataset. Only - * set for prompt datasets. - * - * Generated from protobuf field string model_reference = 18 [(.google.api.field_behavior) = OPTIONAL]; - * @return string - */ - public function getModelReference() - { - return $this->model_reference; - } - - /** - * Optional. Reference to the public base model last used by the dataset. Only - * set for prompt datasets. - * - * Generated from protobuf field string model_reference = 18 [(.google.api.field_behavior) = OPTIONAL]; - * @param string $var - * @return $this - */ - public function setModelReference($var) - { - GPBUtil::checkString($var, True); - $this->model_reference = $var; - - return $this; - } - -} - diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/DatasetVersion.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/DatasetVersion.php deleted file mode 100644 index ef3f8046726b..000000000000 --- a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/DatasetVersion.php +++ /dev/null @@ -1,351 +0,0 @@ -google.cloud.aiplatform.v1.DatasetVersion - */ -class DatasetVersion extends \Google\Protobuf\Internal\Message -{ - /** - * Output only. The resource name of the DatasetVersion. - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $name = ''; - /** - * Output only. Timestamp when this DatasetVersion was created. - * - * Generated from protobuf field .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $create_time = null; - /** - * Output only. Timestamp when this DatasetVersion was last updated. - * - * Generated from protobuf field .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $update_time = null; - /** - * Used to perform consistent read-modify-write updates. If not set, a blind - * "overwrite" update happens. - * - * Generated from protobuf field string etag = 3; - */ - protected $etag = ''; - /** - * Output only. Name of the associated BigQuery dataset. - * - * Generated from protobuf field string big_query_dataset_name = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $big_query_dataset_name = ''; - /** - * The user-defined name of the DatasetVersion. - * The name can be up to 128 characters long and can consist of any UTF-8 - * characters. - * - * Generated from protobuf field string display_name = 7; - */ - protected $display_name = ''; - /** - * Required. Output only. Additional information about the DatasetVersion. - * - * Generated from protobuf field .google.protobuf.Value metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = REQUIRED]; - */ - protected $metadata = null; - /** - * Output only. Reference to the public base model last used by the dataset - * version. Only set for prompt dataset versions. - * - * Generated from protobuf field string model_reference = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $model_reference = ''; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $name - * Output only. The resource name of the DatasetVersion. - * @type \Google\Protobuf\Timestamp $create_time - * Output only. Timestamp when this DatasetVersion was created. - * @type \Google\Protobuf\Timestamp $update_time - * Output only. Timestamp when this DatasetVersion was last updated. - * @type string $etag - * Used to perform consistent read-modify-write updates. If not set, a blind - * "overwrite" update happens. - * @type string $big_query_dataset_name - * Output only. Name of the associated BigQuery dataset. - * @type string $display_name - * The user-defined name of the DatasetVersion. - * The name can be up to 128 characters long and can consist of any UTF-8 - * characters. - * @type \Google\Protobuf\Value $metadata - * Required. Output only. Additional information about the DatasetVersion. - * @type string $model_reference - * Output only. Reference to the public base model last used by the dataset - * version. Only set for prompt dataset versions. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Cloud\Aiplatform\V1\DatasetVersion::initOnce(); - parent::__construct($data); - } - - /** - * Output only. The resource name of the DatasetVersion. - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return string - */ - public function getName() - { - return $this->name; - } - - /** - * Output only. The resource name of the DatasetVersion. - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param string $var - * @return $this - */ - public function setName($var) - { - GPBUtil::checkString($var, True); - $this->name = $var; - - return $this; - } - - /** - * Output only. Timestamp when this DatasetVersion was created. - * - * Generated from protobuf field .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return \Google\Protobuf\Timestamp|null - */ - public function getCreateTime() - { - return $this->create_time; - } - - public function hasCreateTime() - { - return isset($this->create_time); - } - - public function clearCreateTime() - { - unset($this->create_time); - } - - /** - * Output only. Timestamp when this DatasetVersion was created. - * - * Generated from protobuf field .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param \Google\Protobuf\Timestamp $var - * @return $this - */ - public function setCreateTime($var) - { - GPBUtil::checkMessage($var, \Google\Protobuf\Timestamp::class); - $this->create_time = $var; - - return $this; - } - - /** - * Output only. Timestamp when this DatasetVersion was last updated. - * - * Generated from protobuf field .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return \Google\Protobuf\Timestamp|null - */ - public function getUpdateTime() - { - return $this->update_time; - } - - public function hasUpdateTime() - { - return isset($this->update_time); - } - - public function clearUpdateTime() - { - unset($this->update_time); - } - - /** - * Output only. Timestamp when this DatasetVersion was last updated. - * - * Generated from protobuf field .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param \Google\Protobuf\Timestamp $var - * @return $this - */ - public function setUpdateTime($var) - { - GPBUtil::checkMessage($var, \Google\Protobuf\Timestamp::class); - $this->update_time = $var; - - return $this; - } - - /** - * Used to perform consistent read-modify-write updates. If not set, a blind - * "overwrite" update happens. - * - * Generated from protobuf field string etag = 3; - * @return string - */ - public function getEtag() - { - return $this->etag; - } - - /** - * Used to perform consistent read-modify-write updates. If not set, a blind - * "overwrite" update happens. - * - * Generated from protobuf field string etag = 3; - * @param string $var - * @return $this - */ - public function setEtag($var) - { - GPBUtil::checkString($var, True); - $this->etag = $var; - - return $this; - } - - /** - * Output only. Name of the associated BigQuery dataset. - * - * Generated from protobuf field string big_query_dataset_name = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return string - */ - public function getBigQueryDatasetName() - { - return $this->big_query_dataset_name; - } - - /** - * Output only. Name of the associated BigQuery dataset. - * - * Generated from protobuf field string big_query_dataset_name = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param string $var - * @return $this - */ - public function setBigQueryDatasetName($var) - { - GPBUtil::checkString($var, True); - $this->big_query_dataset_name = $var; - - return $this; - } - - /** - * The user-defined name of the DatasetVersion. - * The name can be up to 128 characters long and can consist of any UTF-8 - * characters. - * - * Generated from protobuf field string display_name = 7; - * @return string - */ - public function getDisplayName() - { - return $this->display_name; - } - - /** - * The user-defined name of the DatasetVersion. - * The name can be up to 128 characters long and can consist of any UTF-8 - * characters. - * - * Generated from protobuf field string display_name = 7; - * @param string $var - * @return $this - */ - public function setDisplayName($var) - { - GPBUtil::checkString($var, True); - $this->display_name = $var; - - return $this; - } - - /** - * Required. Output only. Additional information about the DatasetVersion. - * - * Generated from protobuf field .google.protobuf.Value metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = REQUIRED]; - * @return \Google\Protobuf\Value|null - */ - public function getMetadata() - { - return $this->metadata; - } - - public function hasMetadata() - { - return isset($this->metadata); - } - - public function clearMetadata() - { - unset($this->metadata); - } - - /** - * Required. Output only. Additional information about the DatasetVersion. - * - * Generated from protobuf field .google.protobuf.Value metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = REQUIRED]; - * @param \Google\Protobuf\Value $var - * @return $this - */ - public function setMetadata($var) - { - GPBUtil::checkMessage($var, \Google\Protobuf\Value::class); - $this->metadata = $var; - - return $this; - } - - /** - * Output only. Reference to the public base model last used by the dataset - * version. Only set for prompt dataset versions. - * - * Generated from protobuf field string model_reference = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return string - */ - public function getModelReference() - { - return $this->model_reference; - } - - /** - * Output only. Reference to the public base model last used by the dataset - * version. Only set for prompt dataset versions. - * - * Generated from protobuf field string model_reference = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param string $var - * @return $this - */ - public function setModelReference($var) - { - GPBUtil::checkString($var, True); - $this->model_reference = $var; - - return $this; - } - -} - diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/DedicatedResources.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/DedicatedResources.php deleted file mode 100644 index fb3935c5e29e..000000000000 --- a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/DedicatedResources.php +++ /dev/null @@ -1,328 +0,0 @@ -google.cloud.aiplatform.v1.DedicatedResources - */ -class DedicatedResources extends \Google\Protobuf\Internal\Message -{ - /** - * Required. Immutable. The specification of a single machine used by the - * prediction. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.MachineSpec machine_spec = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; - */ - protected $machine_spec = null; - /** - * Required. Immutable. The minimum number of machine replicas this - * DeployedModel will be always deployed on. This value must be greater than - * or equal to 1. - * If traffic against the DeployedModel increases, it may dynamically be - * deployed onto more replicas, and as traffic decreases, some of these extra - * replicas may be freed. - * - * Generated from protobuf field int32 min_replica_count = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; - */ - protected $min_replica_count = 0; - /** - * Immutable. The maximum number of replicas this DeployedModel may be - * deployed on when the traffic against it increases. If the requested value - * is too large, the deployment will error, but if deployment succeeds then - * the ability to scale the model to that many replicas is guaranteed (barring - * service outages). If traffic against the DeployedModel increases beyond - * what its replicas at maximum may handle, a portion of the traffic will be - * dropped. If this value is not provided, will use - * [min_replica_count][google.cloud.aiplatform.v1.DedicatedResources.min_replica_count] - * as the default value. - * The value of this field impacts the charge against Vertex CPU and GPU - * quotas. Specifically, you will be charged for (max_replica_count * - * number of cores in the selected machine type) and (max_replica_count * - * number of GPUs per replica in the selected machine type). - * - * Generated from protobuf field int32 max_replica_count = 3 [(.google.api.field_behavior) = IMMUTABLE]; - */ - protected $max_replica_count = 0; - /** - * Immutable. The metric specifications that overrides a resource - * utilization metric (CPU utilization, accelerator's duty cycle, and so on) - * target value (default to 60 if not set). At most one entry is allowed per - * metric. - * If - * [machine_spec.accelerator_count][google.cloud.aiplatform.v1.MachineSpec.accelerator_count] - * is above 0, the autoscaling will be based on both CPU utilization and - * accelerator's duty cycle metrics and scale up when either metrics exceeds - * its target value while scale down if both metrics are under their target - * value. The default target value is 60 for both metrics. - * If - * [machine_spec.accelerator_count][google.cloud.aiplatform.v1.MachineSpec.accelerator_count] - * is 0, the autoscaling will be based on CPU utilization metric only with - * default target value 60 if not explicitly set. - * For example, in the case of Online Prediction, if you want to override - * target CPU utilization to 80, you should set - * [autoscaling_metric_specs.metric_name][google.cloud.aiplatform.v1.AutoscalingMetricSpec.metric_name] - * to `aiplatform.googleapis.com/prediction/online/cpu/utilization` and - * [autoscaling_metric_specs.target][google.cloud.aiplatform.v1.AutoscalingMetricSpec.target] - * to `80`. - * - * Generated from protobuf field repeated .google.cloud.aiplatform.v1.AutoscalingMetricSpec autoscaling_metric_specs = 4 [(.google.api.field_behavior) = IMMUTABLE]; - */ - private $autoscaling_metric_specs; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type \Google\Cloud\AIPlatform\V1\MachineSpec $machine_spec - * Required. Immutable. The specification of a single machine used by the - * prediction. - * @type int $min_replica_count - * Required. Immutable. The minimum number of machine replicas this - * DeployedModel will be always deployed on. This value must be greater than - * or equal to 1. - * If traffic against the DeployedModel increases, it may dynamically be - * deployed onto more replicas, and as traffic decreases, some of these extra - * replicas may be freed. - * @type int $max_replica_count - * Immutable. The maximum number of replicas this DeployedModel may be - * deployed on when the traffic against it increases. If the requested value - * is too large, the deployment will error, but if deployment succeeds then - * the ability to scale the model to that many replicas is guaranteed (barring - * service outages). If traffic against the DeployedModel increases beyond - * what its replicas at maximum may handle, a portion of the traffic will be - * dropped. If this value is not provided, will use - * [min_replica_count][google.cloud.aiplatform.v1.DedicatedResources.min_replica_count] - * as the default value. - * The value of this field impacts the charge against Vertex CPU and GPU - * quotas. Specifically, you will be charged for (max_replica_count * - * number of cores in the selected machine type) and (max_replica_count * - * number of GPUs per replica in the selected machine type). - * @type array<\Google\Cloud\AIPlatform\V1\AutoscalingMetricSpec>|\Google\Protobuf\Internal\RepeatedField $autoscaling_metric_specs - * Immutable. The metric specifications that overrides a resource - * utilization metric (CPU utilization, accelerator's duty cycle, and so on) - * target value (default to 60 if not set). At most one entry is allowed per - * metric. - * If - * [machine_spec.accelerator_count][google.cloud.aiplatform.v1.MachineSpec.accelerator_count] - * is above 0, the autoscaling will be based on both CPU utilization and - * accelerator's duty cycle metrics and scale up when either metrics exceeds - * its target value while scale down if both metrics are under their target - * value. The default target value is 60 for both metrics. - * If - * [machine_spec.accelerator_count][google.cloud.aiplatform.v1.MachineSpec.accelerator_count] - * is 0, the autoscaling will be based on CPU utilization metric only with - * default target value 60 if not explicitly set. - * For example, in the case of Online Prediction, if you want to override - * target CPU utilization to 80, you should set - * [autoscaling_metric_specs.metric_name][google.cloud.aiplatform.v1.AutoscalingMetricSpec.metric_name] - * to `aiplatform.googleapis.com/prediction/online/cpu/utilization` and - * [autoscaling_metric_specs.target][google.cloud.aiplatform.v1.AutoscalingMetricSpec.target] - * to `80`. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Cloud\Aiplatform\V1\MachineResources::initOnce(); - parent::__construct($data); - } - - /** - * Required. Immutable. The specification of a single machine used by the - * prediction. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.MachineSpec machine_spec = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; - * @return \Google\Cloud\AIPlatform\V1\MachineSpec|null - */ - public function getMachineSpec() - { - return $this->machine_spec; - } - - public function hasMachineSpec() - { - return isset($this->machine_spec); - } - - public function clearMachineSpec() - { - unset($this->machine_spec); - } - - /** - * Required. Immutable. The specification of a single machine used by the - * prediction. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.MachineSpec machine_spec = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; - * @param \Google\Cloud\AIPlatform\V1\MachineSpec $var - * @return $this - */ - public function setMachineSpec($var) - { - GPBUtil::checkMessage($var, \Google\Cloud\AIPlatform\V1\MachineSpec::class); - $this->machine_spec = $var; - - return $this; - } - - /** - * Required. Immutable. The minimum number of machine replicas this - * DeployedModel will be always deployed on. This value must be greater than - * or equal to 1. - * If traffic against the DeployedModel increases, it may dynamically be - * deployed onto more replicas, and as traffic decreases, some of these extra - * replicas may be freed. - * - * Generated from protobuf field int32 min_replica_count = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; - * @return int - */ - public function getMinReplicaCount() - { - return $this->min_replica_count; - } - - /** - * Required. Immutable. The minimum number of machine replicas this - * DeployedModel will be always deployed on. This value must be greater than - * or equal to 1. - * If traffic against the DeployedModel increases, it may dynamically be - * deployed onto more replicas, and as traffic decreases, some of these extra - * replicas may be freed. - * - * Generated from protobuf field int32 min_replica_count = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; - * @param int $var - * @return $this - */ - public function setMinReplicaCount($var) - { - GPBUtil::checkInt32($var); - $this->min_replica_count = $var; - - return $this; - } - - /** - * Immutable. The maximum number of replicas this DeployedModel may be - * deployed on when the traffic against it increases. If the requested value - * is too large, the deployment will error, but if deployment succeeds then - * the ability to scale the model to that many replicas is guaranteed (barring - * service outages). If traffic against the DeployedModel increases beyond - * what its replicas at maximum may handle, a portion of the traffic will be - * dropped. If this value is not provided, will use - * [min_replica_count][google.cloud.aiplatform.v1.DedicatedResources.min_replica_count] - * as the default value. - * The value of this field impacts the charge against Vertex CPU and GPU - * quotas. Specifically, you will be charged for (max_replica_count * - * number of cores in the selected machine type) and (max_replica_count * - * number of GPUs per replica in the selected machine type). - * - * Generated from protobuf field int32 max_replica_count = 3 [(.google.api.field_behavior) = IMMUTABLE]; - * @return int - */ - public function getMaxReplicaCount() - { - return $this->max_replica_count; - } - - /** - * Immutable. The maximum number of replicas this DeployedModel may be - * deployed on when the traffic against it increases. If the requested value - * is too large, the deployment will error, but if deployment succeeds then - * the ability to scale the model to that many replicas is guaranteed (barring - * service outages). If traffic against the DeployedModel increases beyond - * what its replicas at maximum may handle, a portion of the traffic will be - * dropped. If this value is not provided, will use - * [min_replica_count][google.cloud.aiplatform.v1.DedicatedResources.min_replica_count] - * as the default value. - * The value of this field impacts the charge against Vertex CPU and GPU - * quotas. Specifically, you will be charged for (max_replica_count * - * number of cores in the selected machine type) and (max_replica_count * - * number of GPUs per replica in the selected machine type). - * - * Generated from protobuf field int32 max_replica_count = 3 [(.google.api.field_behavior) = IMMUTABLE]; - * @param int $var - * @return $this - */ - public function setMaxReplicaCount($var) - { - GPBUtil::checkInt32($var); - $this->max_replica_count = $var; - - return $this; - } - - /** - * Immutable. The metric specifications that overrides a resource - * utilization metric (CPU utilization, accelerator's duty cycle, and so on) - * target value (default to 60 if not set). At most one entry is allowed per - * metric. - * If - * [machine_spec.accelerator_count][google.cloud.aiplatform.v1.MachineSpec.accelerator_count] - * is above 0, the autoscaling will be based on both CPU utilization and - * accelerator's duty cycle metrics and scale up when either metrics exceeds - * its target value while scale down if both metrics are under their target - * value. The default target value is 60 for both metrics. - * If - * [machine_spec.accelerator_count][google.cloud.aiplatform.v1.MachineSpec.accelerator_count] - * is 0, the autoscaling will be based on CPU utilization metric only with - * default target value 60 if not explicitly set. - * For example, in the case of Online Prediction, if you want to override - * target CPU utilization to 80, you should set - * [autoscaling_metric_specs.metric_name][google.cloud.aiplatform.v1.AutoscalingMetricSpec.metric_name] - * to `aiplatform.googleapis.com/prediction/online/cpu/utilization` and - * [autoscaling_metric_specs.target][google.cloud.aiplatform.v1.AutoscalingMetricSpec.target] - * to `80`. - * - * Generated from protobuf field repeated .google.cloud.aiplatform.v1.AutoscalingMetricSpec autoscaling_metric_specs = 4 [(.google.api.field_behavior) = IMMUTABLE]; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getAutoscalingMetricSpecs() - { - return $this->autoscaling_metric_specs; - } - - /** - * Immutable. The metric specifications that overrides a resource - * utilization metric (CPU utilization, accelerator's duty cycle, and so on) - * target value (default to 60 if not set). At most one entry is allowed per - * metric. - * If - * [machine_spec.accelerator_count][google.cloud.aiplatform.v1.MachineSpec.accelerator_count] - * is above 0, the autoscaling will be based on both CPU utilization and - * accelerator's duty cycle metrics and scale up when either metrics exceeds - * its target value while scale down if both metrics are under their target - * value. The default target value is 60 for both metrics. - * If - * [machine_spec.accelerator_count][google.cloud.aiplatform.v1.MachineSpec.accelerator_count] - * is 0, the autoscaling will be based on CPU utilization metric only with - * default target value 60 if not explicitly set. - * For example, in the case of Online Prediction, if you want to override - * target CPU utilization to 80, you should set - * [autoscaling_metric_specs.metric_name][google.cloud.aiplatform.v1.AutoscalingMetricSpec.metric_name] - * to `aiplatform.googleapis.com/prediction/online/cpu/utilization` and - * [autoscaling_metric_specs.target][google.cloud.aiplatform.v1.AutoscalingMetricSpec.target] - * to `80`. - * - * Generated from protobuf field repeated .google.cloud.aiplatform.v1.AutoscalingMetricSpec autoscaling_metric_specs = 4 [(.google.api.field_behavior) = IMMUTABLE]; - * @param array<\Google\Cloud\AIPlatform\V1\AutoscalingMetricSpec>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setAutoscalingMetricSpecs($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\AIPlatform\V1\AutoscalingMetricSpec::class); - $this->autoscaling_metric_specs = $arr; - - return $this; - } - -} - diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/DeleteArtifactRequest.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/DeleteArtifactRequest.php deleted file mode 100644 index 69049a86d5d5..000000000000 --- a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/DeleteArtifactRequest.php +++ /dev/null @@ -1,134 +0,0 @@ -google.cloud.aiplatform.v1.DeleteArtifactRequest - */ -class DeleteArtifactRequest extends \Google\Protobuf\Internal\Message -{ - /** - * Required. The resource name of the Artifact to delete. - * Format: - * `projects/{project}/locations/{location}/metadataStores/{metadatastore}/artifacts/{artifact}` - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - */ - protected $name = ''; - /** - * Optional. The etag of the Artifact to delete. - * If this is provided, it must match the server's etag. Otherwise, the - * request will fail with a FAILED_PRECONDITION. - * - * Generated from protobuf field string etag = 2 [(.google.api.field_behavior) = OPTIONAL]; - */ - protected $etag = ''; - - /** - * @param string $name Required. The resource name of the Artifact to delete. - * Format: - * `projects/{project}/locations/{location}/metadataStores/{metadatastore}/artifacts/{artifact}` - * Please see {@see MetadataServiceClient::artifactName()} for help formatting this field. - * - * @return \Google\Cloud\AIPlatform\V1\DeleteArtifactRequest - * - * @experimental - */ - public static function build(string $name): self - { - return (new self()) - ->setName($name); - } - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $name - * Required. The resource name of the Artifact to delete. - * Format: - * `projects/{project}/locations/{location}/metadataStores/{metadatastore}/artifacts/{artifact}` - * @type string $etag - * Optional. The etag of the Artifact to delete. - * If this is provided, it must match the server's etag. Otherwise, the - * request will fail with a FAILED_PRECONDITION. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Cloud\Aiplatform\V1\MetadataService::initOnce(); - parent::__construct($data); - } - - /** - * Required. The resource name of the Artifact to delete. - * Format: - * `projects/{project}/locations/{location}/metadataStores/{metadatastore}/artifacts/{artifact}` - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - * @return string - */ - public function getName() - { - return $this->name; - } - - /** - * Required. The resource name of the Artifact to delete. - * Format: - * `projects/{project}/locations/{location}/metadataStores/{metadatastore}/artifacts/{artifact}` - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setName($var) - { - GPBUtil::checkString($var, True); - $this->name = $var; - - return $this; - } - - /** - * Optional. The etag of the Artifact to delete. - * If this is provided, it must match the server's etag. Otherwise, the - * request will fail with a FAILED_PRECONDITION. - * - * Generated from protobuf field string etag = 2 [(.google.api.field_behavior) = OPTIONAL]; - * @return string - */ - public function getEtag() - { - return $this->etag; - } - - /** - * Optional. The etag of the Artifact to delete. - * If this is provided, it must match the server's etag. Otherwise, the - * request will fail with a FAILED_PRECONDITION. - * - * Generated from protobuf field string etag = 2 [(.google.api.field_behavior) = OPTIONAL]; - * @param string $var - * @return $this - */ - public function setEtag($var) - { - GPBUtil::checkString($var, True); - $this->etag = $var; - - return $this; - } - -} - diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/DeleteBatchPredictionJobRequest.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/DeleteBatchPredictionJobRequest.php deleted file mode 100644 index 93c65b3bac11..000000000000 --- a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/DeleteBatchPredictionJobRequest.php +++ /dev/null @@ -1,92 +0,0 @@ -google.cloud.aiplatform.v1.DeleteBatchPredictionJobRequest - */ -class DeleteBatchPredictionJobRequest extends \Google\Protobuf\Internal\Message -{ - /** - * Required. The name of the BatchPredictionJob resource to be deleted. - * Format: - * `projects/{project}/locations/{location}/batchPredictionJobs/{batch_prediction_job}` - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - */ - protected $name = ''; - - /** - * @param string $name Required. The name of the BatchPredictionJob resource to be deleted. - * Format: - * `projects/{project}/locations/{location}/batchPredictionJobs/{batch_prediction_job}` - * Please see {@see JobServiceClient::batchPredictionJobName()} for help formatting this field. - * - * @return \Google\Cloud\AIPlatform\V1\DeleteBatchPredictionJobRequest - * - * @experimental - */ - public static function build(string $name): self - { - return (new self()) - ->setName($name); - } - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $name - * Required. The name of the BatchPredictionJob resource to be deleted. - * Format: - * `projects/{project}/locations/{location}/batchPredictionJobs/{batch_prediction_job}` - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Cloud\Aiplatform\V1\JobService::initOnce(); - parent::__construct($data); - } - - /** - * Required. The name of the BatchPredictionJob resource to be deleted. - * Format: - * `projects/{project}/locations/{location}/batchPredictionJobs/{batch_prediction_job}` - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - * @return string - */ - public function getName() - { - return $this->name; - } - - /** - * Required. The name of the BatchPredictionJob resource to be deleted. - * Format: - * `projects/{project}/locations/{location}/batchPredictionJobs/{batch_prediction_job}` - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setName($var) - { - GPBUtil::checkString($var, True); - $this->name = $var; - - return $this; - } - -} - diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/DeleteContextRequest.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/DeleteContextRequest.php deleted file mode 100644 index 8f9511ceaaea..000000000000 --- a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/DeleteContextRequest.php +++ /dev/null @@ -1,172 +0,0 @@ -google.cloud.aiplatform.v1.DeleteContextRequest - */ -class DeleteContextRequest extends \Google\Protobuf\Internal\Message -{ - /** - * Required. The resource name of the Context to delete. - * Format: - * `projects/{project}/locations/{location}/metadataStores/{metadatastore}/contexts/{context}` - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - */ - protected $name = ''; - /** - * The force deletion semantics is still undefined. - * Users should not use this field. - * - * Generated from protobuf field bool force = 2; - */ - protected $force = false; - /** - * Optional. The etag of the Context to delete. - * If this is provided, it must match the server's etag. Otherwise, the - * request will fail with a FAILED_PRECONDITION. - * - * Generated from protobuf field string etag = 3 [(.google.api.field_behavior) = OPTIONAL]; - */ - protected $etag = ''; - - /** - * @param string $name Required. The resource name of the Context to delete. - * Format: - * `projects/{project}/locations/{location}/metadataStores/{metadatastore}/contexts/{context}` - * Please see {@see MetadataServiceClient::contextName()} for help formatting this field. - * - * @return \Google\Cloud\AIPlatform\V1\DeleteContextRequest - * - * @experimental - */ - public static function build(string $name): self - { - return (new self()) - ->setName($name); - } - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $name - * Required. The resource name of the Context to delete. - * Format: - * `projects/{project}/locations/{location}/metadataStores/{metadatastore}/contexts/{context}` - * @type bool $force - * The force deletion semantics is still undefined. - * Users should not use this field. - * @type string $etag - * Optional. The etag of the Context to delete. - * If this is provided, it must match the server's etag. Otherwise, the - * request will fail with a FAILED_PRECONDITION. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Cloud\Aiplatform\V1\MetadataService::initOnce(); - parent::__construct($data); - } - - /** - * Required. The resource name of the Context to delete. - * Format: - * `projects/{project}/locations/{location}/metadataStores/{metadatastore}/contexts/{context}` - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - * @return string - */ - public function getName() - { - return $this->name; - } - - /** - * Required. The resource name of the Context to delete. - * Format: - * `projects/{project}/locations/{location}/metadataStores/{metadatastore}/contexts/{context}` - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setName($var) - { - GPBUtil::checkString($var, True); - $this->name = $var; - - return $this; - } - - /** - * The force deletion semantics is still undefined. - * Users should not use this field. - * - * Generated from protobuf field bool force = 2; - * @return bool - */ - public function getForce() - { - return $this->force; - } - - /** - * The force deletion semantics is still undefined. - * Users should not use this field. - * - * Generated from protobuf field bool force = 2; - * @param bool $var - * @return $this - */ - public function setForce($var) - { - GPBUtil::checkBool($var); - $this->force = $var; - - return $this; - } - - /** - * Optional. The etag of the Context to delete. - * If this is provided, it must match the server's etag. Otherwise, the - * request will fail with a FAILED_PRECONDITION. - * - * Generated from protobuf field string etag = 3 [(.google.api.field_behavior) = OPTIONAL]; - * @return string - */ - public function getEtag() - { - return $this->etag; - } - - /** - * Optional. The etag of the Context to delete. - * If this is provided, it must match the server's etag. Otherwise, the - * request will fail with a FAILED_PRECONDITION. - * - * Generated from protobuf field string etag = 3 [(.google.api.field_behavior) = OPTIONAL]; - * @param string $var - * @return $this - */ - public function setEtag($var) - { - GPBUtil::checkString($var, True); - $this->etag = $var; - - return $this; - } - -} - diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/DeleteCustomJobRequest.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/DeleteCustomJobRequest.php deleted file mode 100644 index dfed82fefc6c..000000000000 --- a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/DeleteCustomJobRequest.php +++ /dev/null @@ -1,92 +0,0 @@ -google.cloud.aiplatform.v1.DeleteCustomJobRequest - */ -class DeleteCustomJobRequest extends \Google\Protobuf\Internal\Message -{ - /** - * Required. The name of the CustomJob resource to be deleted. - * Format: - * `projects/{project}/locations/{location}/customJobs/{custom_job}` - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - */ - protected $name = ''; - - /** - * @param string $name Required. The name of the CustomJob resource to be deleted. - * Format: - * `projects/{project}/locations/{location}/customJobs/{custom_job}` - * Please see {@see JobServiceClient::customJobName()} for help formatting this field. - * - * @return \Google\Cloud\AIPlatform\V1\DeleteCustomJobRequest - * - * @experimental - */ - public static function build(string $name): self - { - return (new self()) - ->setName($name); - } - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $name - * Required. The name of the CustomJob resource to be deleted. - * Format: - * `projects/{project}/locations/{location}/customJobs/{custom_job}` - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Cloud\Aiplatform\V1\JobService::initOnce(); - parent::__construct($data); - } - - /** - * Required. The name of the CustomJob resource to be deleted. - * Format: - * `projects/{project}/locations/{location}/customJobs/{custom_job}` - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - * @return string - */ - public function getName() - { - return $this->name; - } - - /** - * Required. The name of the CustomJob resource to be deleted. - * Format: - * `projects/{project}/locations/{location}/customJobs/{custom_job}` - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setName($var) - { - GPBUtil::checkString($var, True); - $this->name = $var; - - return $this; - } - -} - diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/DeleteDataLabelingJobRequest.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/DeleteDataLabelingJobRequest.php deleted file mode 100644 index 9dd7c2d0b6de..000000000000 --- a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/DeleteDataLabelingJobRequest.php +++ /dev/null @@ -1,92 +0,0 @@ -google.cloud.aiplatform.v1.DeleteDataLabelingJobRequest - */ -class DeleteDataLabelingJobRequest extends \Google\Protobuf\Internal\Message -{ - /** - * Required. The name of the DataLabelingJob to be deleted. - * Format: - * `projects/{project}/locations/{location}/dataLabelingJobs/{data_labeling_job}` - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - */ - protected $name = ''; - - /** - * @param string $name Required. The name of the DataLabelingJob to be deleted. - * Format: - * `projects/{project}/locations/{location}/dataLabelingJobs/{data_labeling_job}` - * Please see {@see JobServiceClient::dataLabelingJobName()} for help formatting this field. - * - * @return \Google\Cloud\AIPlatform\V1\DeleteDataLabelingJobRequest - * - * @experimental - */ - public static function build(string $name): self - { - return (new self()) - ->setName($name); - } - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $name - * Required. The name of the DataLabelingJob to be deleted. - * Format: - * `projects/{project}/locations/{location}/dataLabelingJobs/{data_labeling_job}` - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Cloud\Aiplatform\V1\JobService::initOnce(); - parent::__construct($data); - } - - /** - * Required. The name of the DataLabelingJob to be deleted. - * Format: - * `projects/{project}/locations/{location}/dataLabelingJobs/{data_labeling_job}` - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - * @return string - */ - public function getName() - { - return $this->name; - } - - /** - * Required. The name of the DataLabelingJob to be deleted. - * Format: - * `projects/{project}/locations/{location}/dataLabelingJobs/{data_labeling_job}` - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setName($var) - { - GPBUtil::checkString($var, True); - $this->name = $var; - - return $this; - } - -} - diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/DeleteDatasetRequest.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/DeleteDatasetRequest.php deleted file mode 100644 index 7741c711a0ed..000000000000 --- a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/DeleteDatasetRequest.php +++ /dev/null @@ -1,92 +0,0 @@ -google.cloud.aiplatform.v1.DeleteDatasetRequest - */ -class DeleteDatasetRequest extends \Google\Protobuf\Internal\Message -{ - /** - * Required. The resource name of the Dataset to delete. - * Format: - * `projects/{project}/locations/{location}/datasets/{dataset}` - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - */ - protected $name = ''; - - /** - * @param string $name Required. The resource name of the Dataset to delete. - * Format: - * `projects/{project}/locations/{location}/datasets/{dataset}` - * Please see {@see DatasetServiceClient::datasetName()} for help formatting this field. - * - * @return \Google\Cloud\AIPlatform\V1\DeleteDatasetRequest - * - * @experimental - */ - public static function build(string $name): self - { - return (new self()) - ->setName($name); - } - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $name - * Required. The resource name of the Dataset to delete. - * Format: - * `projects/{project}/locations/{location}/datasets/{dataset}` - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Cloud\Aiplatform\V1\DatasetService::initOnce(); - parent::__construct($data); - } - - /** - * Required. The resource name of the Dataset to delete. - * Format: - * `projects/{project}/locations/{location}/datasets/{dataset}` - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - * @return string - */ - public function getName() - { - return $this->name; - } - - /** - * Required. The resource name of the Dataset to delete. - * Format: - * `projects/{project}/locations/{location}/datasets/{dataset}` - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setName($var) - { - GPBUtil::checkString($var, True); - $this->name = $var; - - return $this; - } - -} - diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/DeleteDatasetVersionRequest.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/DeleteDatasetVersionRequest.php deleted file mode 100644 index d4018dd2848e..000000000000 --- a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/DeleteDatasetVersionRequest.php +++ /dev/null @@ -1,92 +0,0 @@ -google.cloud.aiplatform.v1.DeleteDatasetVersionRequest - */ -class DeleteDatasetVersionRequest extends \Google\Protobuf\Internal\Message -{ - /** - * Required. The resource name of the Dataset version to delete. - * Format: - * `projects/{project}/locations/{location}/datasets/{dataset}/datasetVersions/{dataset_version}` - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - */ - protected $name = ''; - - /** - * @param string $name Required. The resource name of the Dataset version to delete. - * Format: - * `projects/{project}/locations/{location}/datasets/{dataset}/datasetVersions/{dataset_version}` - * Please see {@see DatasetServiceClient::datasetVersionName()} for help formatting this field. - * - * @return \Google\Cloud\AIPlatform\V1\DeleteDatasetVersionRequest - * - * @experimental - */ - public static function build(string $name): self - { - return (new self()) - ->setName($name); - } - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $name - * Required. The resource name of the Dataset version to delete. - * Format: - * `projects/{project}/locations/{location}/datasets/{dataset}/datasetVersions/{dataset_version}` - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Cloud\Aiplatform\V1\DatasetService::initOnce(); - parent::__construct($data); - } - - /** - * Required. The resource name of the Dataset version to delete. - * Format: - * `projects/{project}/locations/{location}/datasets/{dataset}/datasetVersions/{dataset_version}` - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - * @return string - */ - public function getName() - { - return $this->name; - } - - /** - * Required. The resource name of the Dataset version to delete. - * Format: - * `projects/{project}/locations/{location}/datasets/{dataset}/datasetVersions/{dataset_version}` - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setName($var) - { - GPBUtil::checkString($var, True); - $this->name = $var; - - return $this; - } - -} - diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/DeleteDeploymentResourcePoolRequest.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/DeleteDeploymentResourcePoolRequest.php deleted file mode 100644 index 486d65c04286..000000000000 --- a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/DeleteDeploymentResourcePoolRequest.php +++ /dev/null @@ -1,91 +0,0 @@ -google.cloud.aiplatform.v1.DeleteDeploymentResourcePoolRequest - */ -class DeleteDeploymentResourcePoolRequest extends \Google\Protobuf\Internal\Message -{ - /** - * Required. The name of the DeploymentResourcePool to delete. - * Format: - * `projects/{project}/locations/{location}/deploymentResourcePools/{deployment_resource_pool}` - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - */ - protected $name = ''; - - /** - * @param string $name Required. The name of the DeploymentResourcePool to delete. - * Format: - * `projects/{project}/locations/{location}/deploymentResourcePools/{deployment_resource_pool}` - * Please see {@see DeploymentResourcePoolServiceClient::deploymentResourcePoolName()} for help formatting this field. - * - * @return \Google\Cloud\AIPlatform\V1\DeleteDeploymentResourcePoolRequest - * - * @experimental - */ - public static function build(string $name): self - { - return (new self()) - ->setName($name); - } - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $name - * Required. The name of the DeploymentResourcePool to delete. - * Format: - * `projects/{project}/locations/{location}/deploymentResourcePools/{deployment_resource_pool}` - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Cloud\Aiplatform\V1\DeploymentResourcePoolService::initOnce(); - parent::__construct($data); - } - - /** - * Required. The name of the DeploymentResourcePool to delete. - * Format: - * `projects/{project}/locations/{location}/deploymentResourcePools/{deployment_resource_pool}` - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - * @return string - */ - public function getName() - { - return $this->name; - } - - /** - * Required. The name of the DeploymentResourcePool to delete. - * Format: - * `projects/{project}/locations/{location}/deploymentResourcePools/{deployment_resource_pool}` - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setName($var) - { - GPBUtil::checkString($var, True); - $this->name = $var; - - return $this; - } - -} - diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/DeleteEndpointRequest.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/DeleteEndpointRequest.php deleted file mode 100644 index 598ba0620f61..000000000000 --- a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/DeleteEndpointRequest.php +++ /dev/null @@ -1,92 +0,0 @@ -google.cloud.aiplatform.v1.DeleteEndpointRequest - */ -class DeleteEndpointRequest extends \Google\Protobuf\Internal\Message -{ - /** - * Required. The name of the Endpoint resource to be deleted. - * Format: - * `projects/{project}/locations/{location}/endpoints/{endpoint}` - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - */ - protected $name = ''; - - /** - * @param string $name Required. The name of the Endpoint resource to be deleted. - * Format: - * `projects/{project}/locations/{location}/endpoints/{endpoint}` - * Please see {@see EndpointServiceClient::endpointName()} for help formatting this field. - * - * @return \Google\Cloud\AIPlatform\V1\DeleteEndpointRequest - * - * @experimental - */ - public static function build(string $name): self - { - return (new self()) - ->setName($name); - } - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $name - * Required. The name of the Endpoint resource to be deleted. - * Format: - * `projects/{project}/locations/{location}/endpoints/{endpoint}` - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Cloud\Aiplatform\V1\EndpointService::initOnce(); - parent::__construct($data); - } - - /** - * Required. The name of the Endpoint resource to be deleted. - * Format: - * `projects/{project}/locations/{location}/endpoints/{endpoint}` - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - * @return string - */ - public function getName() - { - return $this->name; - } - - /** - * Required. The name of the Endpoint resource to be deleted. - * Format: - * `projects/{project}/locations/{location}/endpoints/{endpoint}` - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setName($var) - { - GPBUtil::checkString($var, True); - $this->name = $var; - - return $this; - } - -} - diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/DeleteEntityTypeRequest.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/DeleteEntityTypeRequest.php deleted file mode 100644 index 092391e1e127..000000000000 --- a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/DeleteEntityTypeRequest.php +++ /dev/null @@ -1,148 +0,0 @@ -google.cloud.aiplatform.v1.DeleteEntityTypeRequest - */ -class DeleteEntityTypeRequest extends \Google\Protobuf\Internal\Message -{ - /** - * Required. The name of the EntityType to be deleted. - * Format: - * `projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entity_type}` - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - */ - protected $name = ''; - /** - * If set to true, any Features for this EntityType will also be deleted. - * (Otherwise, the request will only work if the EntityType has no Features.) - * - * Generated from protobuf field bool force = 2; - */ - protected $force = false; - - /** - * @param string $name Required. The name of the EntityType to be deleted. - * Format: - * `projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entity_type}` - * Please see {@see FeaturestoreServiceClient::entityTypeName()} for help formatting this field. - * - * @return \Google\Cloud\AIPlatform\V1\DeleteEntityTypeRequest - * - * @experimental - */ - public static function build(string $name): self - { - return (new self()) - ->setName($name); - } - - /** - * @param string $name Required. The name of the EntityType to be deleted. - * Format: - * `projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entity_type}` - * Please see {@see FeaturestoreServiceClient::entityTypeName()} for help formatting this field. - * @param bool $force If set to true, any Features for this EntityType will also be deleted. - * (Otherwise, the request will only work if the EntityType has no Features.) - * - * @return \Google\Cloud\AIPlatform\V1\DeleteEntityTypeRequest - * - * @experimental - */ - public static function buildFromNameForce(string $name, bool $force): self - { - return (new self()) - ->setName($name) - ->setForce($force); - } - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $name - * Required. The name of the EntityType to be deleted. - * Format: - * `projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entity_type}` - * @type bool $force - * If set to true, any Features for this EntityType will also be deleted. - * (Otherwise, the request will only work if the EntityType has no Features.) - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Cloud\Aiplatform\V1\FeaturestoreService::initOnce(); - parent::__construct($data); - } - - /** - * Required. The name of the EntityType to be deleted. - * Format: - * `projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entity_type}` - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - * @return string - */ - public function getName() - { - return $this->name; - } - - /** - * Required. The name of the EntityType to be deleted. - * Format: - * `projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entity_type}` - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setName($var) - { - GPBUtil::checkString($var, True); - $this->name = $var; - - return $this; - } - - /** - * If set to true, any Features for this EntityType will also be deleted. - * (Otherwise, the request will only work if the EntityType has no Features.) - * - * Generated from protobuf field bool force = 2; - * @return bool - */ - public function getForce() - { - return $this->force; - } - - /** - * If set to true, any Features for this EntityType will also be deleted. - * (Otherwise, the request will only work if the EntityType has no Features.) - * - * Generated from protobuf field bool force = 2; - * @param bool $var - * @return $this - */ - public function setForce($var) - { - GPBUtil::checkBool($var); - $this->force = $var; - - return $this; - } - -} - diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/DeleteExecutionRequest.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/DeleteExecutionRequest.php deleted file mode 100644 index cbd51947ca28..000000000000 --- a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/DeleteExecutionRequest.php +++ /dev/null @@ -1,134 +0,0 @@ -google.cloud.aiplatform.v1.DeleteExecutionRequest - */ -class DeleteExecutionRequest extends \Google\Protobuf\Internal\Message -{ - /** - * Required. The resource name of the Execution to delete. - * Format: - * `projects/{project}/locations/{location}/metadataStores/{metadatastore}/executions/{execution}` - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - */ - protected $name = ''; - /** - * Optional. The etag of the Execution to delete. - * If this is provided, it must match the server's etag. Otherwise, the - * request will fail with a FAILED_PRECONDITION. - * - * Generated from protobuf field string etag = 2 [(.google.api.field_behavior) = OPTIONAL]; - */ - protected $etag = ''; - - /** - * @param string $name Required. The resource name of the Execution to delete. - * Format: - * `projects/{project}/locations/{location}/metadataStores/{metadatastore}/executions/{execution}` - * Please see {@see MetadataServiceClient::executionName()} for help formatting this field. - * - * @return \Google\Cloud\AIPlatform\V1\DeleteExecutionRequest - * - * @experimental - */ - public static function build(string $name): self - { - return (new self()) - ->setName($name); - } - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $name - * Required. The resource name of the Execution to delete. - * Format: - * `projects/{project}/locations/{location}/metadataStores/{metadatastore}/executions/{execution}` - * @type string $etag - * Optional. The etag of the Execution to delete. - * If this is provided, it must match the server's etag. Otherwise, the - * request will fail with a FAILED_PRECONDITION. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Cloud\Aiplatform\V1\MetadataService::initOnce(); - parent::__construct($data); - } - - /** - * Required. The resource name of the Execution to delete. - * Format: - * `projects/{project}/locations/{location}/metadataStores/{metadatastore}/executions/{execution}` - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - * @return string - */ - public function getName() - { - return $this->name; - } - - /** - * Required. The resource name of the Execution to delete. - * Format: - * `projects/{project}/locations/{location}/metadataStores/{metadatastore}/executions/{execution}` - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setName($var) - { - GPBUtil::checkString($var, True); - $this->name = $var; - - return $this; - } - - /** - * Optional. The etag of the Execution to delete. - * If this is provided, it must match the server's etag. Otherwise, the - * request will fail with a FAILED_PRECONDITION. - * - * Generated from protobuf field string etag = 2 [(.google.api.field_behavior) = OPTIONAL]; - * @return string - */ - public function getEtag() - { - return $this->etag; - } - - /** - * Optional. The etag of the Execution to delete. - * If this is provided, it must match the server's etag. Otherwise, the - * request will fail with a FAILED_PRECONDITION. - * - * Generated from protobuf field string etag = 2 [(.google.api.field_behavior) = OPTIONAL]; - * @param string $var - * @return $this - */ - public function setEtag($var) - { - GPBUtil::checkString($var, True); - $this->etag = $var; - - return $this; - } - -} - diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/DeleteFeatureGroupRequest.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/DeleteFeatureGroupRequest.php deleted file mode 100644 index 0cb4f265ddfa..000000000000 --- a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/DeleteFeatureGroupRequest.php +++ /dev/null @@ -1,138 +0,0 @@ -google.cloud.aiplatform.v1.DeleteFeatureGroupRequest - */ -class DeleteFeatureGroupRequest extends \Google\Protobuf\Internal\Message -{ - /** - * Required. The name of the FeatureGroup to be deleted. - * Format: - * `projects/{project}/locations/{location}/featureGroups/{feature_group}` - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - */ - protected $name = ''; - /** - * If set to true, any Features under this FeatureGroup - * will also be deleted. (Otherwise, the request will only work if the - * FeatureGroup has no Features.) - * - * Generated from protobuf field bool force = 2; - */ - protected $force = false; - - /** - * @param string $name Required. The name of the FeatureGroup to be deleted. - * Format: - * `projects/{project}/locations/{location}/featureGroups/{feature_group}` - * Please see {@see FeatureRegistryServiceClient::featureGroupName()} for help formatting this field. - * @param bool $force If set to true, any Features under this FeatureGroup - * will also be deleted. (Otherwise, the request will only work if the - * FeatureGroup has no Features.) - * - * @return \Google\Cloud\AIPlatform\V1\DeleteFeatureGroupRequest - * - * @experimental - */ - public static function build(string $name, bool $force): self - { - return (new self()) - ->setName($name) - ->setForce($force); - } - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $name - * Required. The name of the FeatureGroup to be deleted. - * Format: - * `projects/{project}/locations/{location}/featureGroups/{feature_group}` - * @type bool $force - * If set to true, any Features under this FeatureGroup - * will also be deleted. (Otherwise, the request will only work if the - * FeatureGroup has no Features.) - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Cloud\Aiplatform\V1\FeatureRegistryService::initOnce(); - parent::__construct($data); - } - - /** - * Required. The name of the FeatureGroup to be deleted. - * Format: - * `projects/{project}/locations/{location}/featureGroups/{feature_group}` - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - * @return string - */ - public function getName() - { - return $this->name; - } - - /** - * Required. The name of the FeatureGroup to be deleted. - * Format: - * `projects/{project}/locations/{location}/featureGroups/{feature_group}` - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setName($var) - { - GPBUtil::checkString($var, True); - $this->name = $var; - - return $this; - } - - /** - * If set to true, any Features under this FeatureGroup - * will also be deleted. (Otherwise, the request will only work if the - * FeatureGroup has no Features.) - * - * Generated from protobuf field bool force = 2; - * @return bool - */ - public function getForce() - { - return $this->force; - } - - /** - * If set to true, any Features under this FeatureGroup - * will also be deleted. (Otherwise, the request will only work if the - * FeatureGroup has no Features.) - * - * Generated from protobuf field bool force = 2; - * @param bool $var - * @return $this - */ - public function setForce($var) - { - GPBUtil::checkBool($var); - $this->force = $var; - - return $this; - } - -} - diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/DeleteFeatureOnlineStoreRequest.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/DeleteFeatureOnlineStoreRequest.php deleted file mode 100644 index 5fdd65765b87..000000000000 --- a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/DeleteFeatureOnlineStoreRequest.php +++ /dev/null @@ -1,138 +0,0 @@ -google.cloud.aiplatform.v1.DeleteFeatureOnlineStoreRequest - */ -class DeleteFeatureOnlineStoreRequest extends \Google\Protobuf\Internal\Message -{ - /** - * Required. The name of the FeatureOnlineStore to be deleted. - * Format: - * `projects/{project}/locations/{location}/featureOnlineStores/{feature_online_store}` - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - */ - protected $name = ''; - /** - * If set to true, any FeatureViews and Features for this FeatureOnlineStore - * will also be deleted. (Otherwise, the request will only work if the - * FeatureOnlineStore has no FeatureViews.) - * - * Generated from protobuf field bool force = 2; - */ - protected $force = false; - - /** - * @param string $name Required. The name of the FeatureOnlineStore to be deleted. - * Format: - * `projects/{project}/locations/{location}/featureOnlineStores/{feature_online_store}` - * Please see {@see FeatureOnlineStoreAdminServiceClient::featureOnlineStoreName()} for help formatting this field. - * @param bool $force If set to true, any FeatureViews and Features for this FeatureOnlineStore - * will also be deleted. (Otherwise, the request will only work if the - * FeatureOnlineStore has no FeatureViews.) - * - * @return \Google\Cloud\AIPlatform\V1\DeleteFeatureOnlineStoreRequest - * - * @experimental - */ - public static function build(string $name, bool $force): self - { - return (new self()) - ->setName($name) - ->setForce($force); - } - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $name - * Required. The name of the FeatureOnlineStore to be deleted. - * Format: - * `projects/{project}/locations/{location}/featureOnlineStores/{feature_online_store}` - * @type bool $force - * If set to true, any FeatureViews and Features for this FeatureOnlineStore - * will also be deleted. (Otherwise, the request will only work if the - * FeatureOnlineStore has no FeatureViews.) - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Cloud\Aiplatform\V1\FeatureOnlineStoreAdminService::initOnce(); - parent::__construct($data); - } - - /** - * Required. The name of the FeatureOnlineStore to be deleted. - * Format: - * `projects/{project}/locations/{location}/featureOnlineStores/{feature_online_store}` - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - * @return string - */ - public function getName() - { - return $this->name; - } - - /** - * Required. The name of the FeatureOnlineStore to be deleted. - * Format: - * `projects/{project}/locations/{location}/featureOnlineStores/{feature_online_store}` - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setName($var) - { - GPBUtil::checkString($var, True); - $this->name = $var; - - return $this; - } - - /** - * If set to true, any FeatureViews and Features for this FeatureOnlineStore - * will also be deleted. (Otherwise, the request will only work if the - * FeatureOnlineStore has no FeatureViews.) - * - * Generated from protobuf field bool force = 2; - * @return bool - */ - public function getForce() - { - return $this->force; - } - - /** - * If set to true, any FeatureViews and Features for this FeatureOnlineStore - * will also be deleted. (Otherwise, the request will only work if the - * FeatureOnlineStore has no FeatureViews.) - * - * Generated from protobuf field bool force = 2; - * @param bool $var - * @return $this - */ - public function setForce($var) - { - GPBUtil::checkBool($var); - $this->force = $var; - - return $this; - } - -} - diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/DeleteFeatureRequest.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/DeleteFeatureRequest.php deleted file mode 100644 index e9e03c983ee1..000000000000 --- a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/DeleteFeatureRequest.php +++ /dev/null @@ -1,99 +0,0 @@ -google.cloud.aiplatform.v1.DeleteFeatureRequest - */ -class DeleteFeatureRequest extends \Google\Protobuf\Internal\Message -{ - /** - * Required. The name of the Features to be deleted. - * Format: - * `projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entity_type}/features/{feature}` - * `projects/{project}/locations/{location}/featureGroups/{feature_group}/features/{feature}` - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - */ - protected $name = ''; - - /** - * @param string $name Required. The name of the Features to be deleted. - * Format: - * `projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entity_type}/features/{feature}` - * `projects/{project}/locations/{location}/featureGroups/{feature_group}/features/{feature}` - * Please see {@see FeaturestoreServiceClient::featureName()} for help formatting this field. - * - * @return \Google\Cloud\AIPlatform\V1\DeleteFeatureRequest - * - * @experimental - */ - public static function build(string $name): self - { - return (new self()) - ->setName($name); - } - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $name - * Required. The name of the Features to be deleted. - * Format: - * `projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entity_type}/features/{feature}` - * `projects/{project}/locations/{location}/featureGroups/{feature_group}/features/{feature}` - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Cloud\Aiplatform\V1\FeaturestoreService::initOnce(); - parent::__construct($data); - } - - /** - * Required. The name of the Features to be deleted. - * Format: - * `projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entity_type}/features/{feature}` - * `projects/{project}/locations/{location}/featureGroups/{feature_group}/features/{feature}` - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - * @return string - */ - public function getName() - { - return $this->name; - } - - /** - * Required. The name of the Features to be deleted. - * Format: - * `projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entity_type}/features/{feature}` - * `projects/{project}/locations/{location}/featureGroups/{feature_group}/features/{feature}` - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setName($var) - { - GPBUtil::checkString($var, True); - $this->name = $var; - - return $this; - } - -} - diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/DeleteFeatureValuesOperationMetadata.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/DeleteFeatureValuesOperationMetadata.php deleted file mode 100644 index 63ba9f807d6c..000000000000 --- a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/DeleteFeatureValuesOperationMetadata.php +++ /dev/null @@ -1,77 +0,0 @@ -google.cloud.aiplatform.v1.DeleteFeatureValuesOperationMetadata - */ -class DeleteFeatureValuesOperationMetadata extends \Google\Protobuf\Internal\Message -{ - /** - * Operation metadata for Featurestore delete Features values. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.GenericOperationMetadata generic_metadata = 1; - */ - protected $generic_metadata = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type \Google\Cloud\AIPlatform\V1\GenericOperationMetadata $generic_metadata - * Operation metadata for Featurestore delete Features values. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Cloud\Aiplatform\V1\FeaturestoreService::initOnce(); - parent::__construct($data); - } - - /** - * Operation metadata for Featurestore delete Features values. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.GenericOperationMetadata generic_metadata = 1; - * @return \Google\Cloud\AIPlatform\V1\GenericOperationMetadata|null - */ - public function getGenericMetadata() - { - return $this->generic_metadata; - } - - public function hasGenericMetadata() - { - return isset($this->generic_metadata); - } - - public function clearGenericMetadata() - { - unset($this->generic_metadata); - } - - /** - * Operation metadata for Featurestore delete Features values. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.GenericOperationMetadata generic_metadata = 1; - * @param \Google\Cloud\AIPlatform\V1\GenericOperationMetadata $var - * @return $this - */ - public function setGenericMetadata($var) - { - GPBUtil::checkMessage($var, \Google\Cloud\AIPlatform\V1\GenericOperationMetadata::class); - $this->generic_metadata = $var; - - return $this; - } - -} - diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/DeleteFeatureValuesRequest.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/DeleteFeatureValuesRequest.php deleted file mode 100644 index 19b97fb35222..000000000000 --- a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/DeleteFeatureValuesRequest.php +++ /dev/null @@ -1,170 +0,0 @@ -google.cloud.aiplatform.v1.DeleteFeatureValuesRequest - */ -class DeleteFeatureValuesRequest extends \Google\Protobuf\Internal\Message -{ - /** - * Required. The resource name of the EntityType grouping the Features for - * which values are being deleted from. Format: - * `projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entityType}` - * - * Generated from protobuf field string entity_type = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - */ - protected $entity_type = ''; - protected $DeleteOption; - - /** - * @param string $entityType Required. The resource name of the EntityType grouping the Features for - * which values are being deleted from. Format: - * `projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entityType}` - * Please see {@see FeaturestoreServiceClient::entityTypeName()} for help formatting this field. - * - * @return \Google\Cloud\AIPlatform\V1\DeleteFeatureValuesRequest - * - * @experimental - */ - public static function build(string $entityType): self - { - return (new self()) - ->setEntityType($entityType); - } - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type \Google\Cloud\AIPlatform\V1\DeleteFeatureValuesRequest\SelectEntity $select_entity - * Select feature values to be deleted by specifying entities. - * @type \Google\Cloud\AIPlatform\V1\DeleteFeatureValuesRequest\SelectTimeRangeAndFeature $select_time_range_and_feature - * Select feature values to be deleted by specifying time range and - * features. - * @type string $entity_type - * Required. The resource name of the EntityType grouping the Features for - * which values are being deleted from. Format: - * `projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entityType}` - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Cloud\Aiplatform\V1\FeaturestoreService::initOnce(); - parent::__construct($data); - } - - /** - * Select feature values to be deleted by specifying entities. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.DeleteFeatureValuesRequest.SelectEntity select_entity = 2; - * @return \Google\Cloud\AIPlatform\V1\DeleteFeatureValuesRequest\SelectEntity|null - */ - public function getSelectEntity() - { - return $this->readOneof(2); - } - - public function hasSelectEntity() - { - return $this->hasOneof(2); - } - - /** - * Select feature values to be deleted by specifying entities. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.DeleteFeatureValuesRequest.SelectEntity select_entity = 2; - * @param \Google\Cloud\AIPlatform\V1\DeleteFeatureValuesRequest\SelectEntity $var - * @return $this - */ - public function setSelectEntity($var) - { - GPBUtil::checkMessage($var, \Google\Cloud\AIPlatform\V1\DeleteFeatureValuesRequest\SelectEntity::class); - $this->writeOneof(2, $var); - - return $this; - } - - /** - * Select feature values to be deleted by specifying time range and - * features. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.DeleteFeatureValuesRequest.SelectTimeRangeAndFeature select_time_range_and_feature = 3; - * @return \Google\Cloud\AIPlatform\V1\DeleteFeatureValuesRequest\SelectTimeRangeAndFeature|null - */ - public function getSelectTimeRangeAndFeature() - { - return $this->readOneof(3); - } - - public function hasSelectTimeRangeAndFeature() - { - return $this->hasOneof(3); - } - - /** - * Select feature values to be deleted by specifying time range and - * features. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.DeleteFeatureValuesRequest.SelectTimeRangeAndFeature select_time_range_and_feature = 3; - * @param \Google\Cloud\AIPlatform\V1\DeleteFeatureValuesRequest\SelectTimeRangeAndFeature $var - * @return $this - */ - public function setSelectTimeRangeAndFeature($var) - { - GPBUtil::checkMessage($var, \Google\Cloud\AIPlatform\V1\DeleteFeatureValuesRequest\SelectTimeRangeAndFeature::class); - $this->writeOneof(3, $var); - - return $this; - } - - /** - * Required. The resource name of the EntityType grouping the Features for - * which values are being deleted from. Format: - * `projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entityType}` - * - * Generated from protobuf field string entity_type = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - * @return string - */ - public function getEntityType() - { - return $this->entity_type; - } - - /** - * Required. The resource name of the EntityType grouping the Features for - * which values are being deleted from. Format: - * `projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entityType}` - * - * Generated from protobuf field string entity_type = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setEntityType($var) - { - GPBUtil::checkString($var, True); - $this->entity_type = $var; - - return $this; - } - - /** - * @return string - */ - public function getDeleteOption() - { - return $this->whichOneof("DeleteOption"); - } - -} - diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/DeleteFeatureValuesRequest/SelectEntity.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/DeleteFeatureValuesRequest/SelectEntity.php deleted file mode 100644 index e70044c24764..000000000000 --- a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/DeleteFeatureValuesRequest/SelectEntity.php +++ /dev/null @@ -1,86 +0,0 @@ -google.cloud.aiplatform.v1.DeleteFeatureValuesRequest.SelectEntity - */ -class SelectEntity extends \Google\Protobuf\Internal\Message -{ - /** - * Required. Selectors choosing feature values of which entity id to be - * deleted from the EntityType. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.EntityIdSelector entity_id_selector = 1 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $entity_id_selector = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type \Google\Cloud\AIPlatform\V1\EntityIdSelector $entity_id_selector - * Required. Selectors choosing feature values of which entity id to be - * deleted from the EntityType. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Cloud\Aiplatform\V1\FeaturestoreService::initOnce(); - parent::__construct($data); - } - - /** - * Required. Selectors choosing feature values of which entity id to be - * deleted from the EntityType. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.EntityIdSelector entity_id_selector = 1 [(.google.api.field_behavior) = REQUIRED]; - * @return \Google\Cloud\AIPlatform\V1\EntityIdSelector|null - */ - public function getEntityIdSelector() - { - return $this->entity_id_selector; - } - - public function hasEntityIdSelector() - { - return isset($this->entity_id_selector); - } - - public function clearEntityIdSelector() - { - unset($this->entity_id_selector); - } - - /** - * Required. Selectors choosing feature values of which entity id to be - * deleted from the EntityType. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.EntityIdSelector entity_id_selector = 1 [(.google.api.field_behavior) = REQUIRED]; - * @param \Google\Cloud\AIPlatform\V1\EntityIdSelector $var - * @return $this - */ - public function setEntityIdSelector($var) - { - GPBUtil::checkMessage($var, \Google\Cloud\AIPlatform\V1\EntityIdSelector::class); - $this->entity_id_selector = $var; - - return $this; - } - -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(SelectEntity::class, \Google\Cloud\AIPlatform\V1\DeleteFeatureValuesRequest_SelectEntity::class); - diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/DeleteFeatureValuesRequest/SelectTimeRangeAndFeature.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/DeleteFeatureValuesRequest/SelectTimeRangeAndFeature.php deleted file mode 100644 index db8db2736814..000000000000 --- a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/DeleteFeatureValuesRequest/SelectTimeRangeAndFeature.php +++ /dev/null @@ -1,179 +0,0 @@ -google.cloud.aiplatform.v1.DeleteFeatureValuesRequest.SelectTimeRangeAndFeature - */ -class SelectTimeRangeAndFeature extends \Google\Protobuf\Internal\Message -{ - /** - * Required. Select feature generated within a half-inclusive time range. - * The time range is lower inclusive and upper exclusive. - * - * Generated from protobuf field .google.type.Interval time_range = 1 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $time_range = null; - /** - * Required. Selectors choosing which feature values to be deleted from the - * EntityType. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.FeatureSelector feature_selector = 2 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $feature_selector = null; - /** - * If set, data will not be deleted from online storage. - * When time range is older than the data in online storage, setting this to - * be true will make the deletion have no impact on online serving. - * - * Generated from protobuf field bool skip_online_storage_delete = 3; - */ - protected $skip_online_storage_delete = false; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type \Google\Type\Interval $time_range - * Required. Select feature generated within a half-inclusive time range. - * The time range is lower inclusive and upper exclusive. - * @type \Google\Cloud\AIPlatform\V1\FeatureSelector $feature_selector - * Required. Selectors choosing which feature values to be deleted from the - * EntityType. - * @type bool $skip_online_storage_delete - * If set, data will not be deleted from online storage. - * When time range is older than the data in online storage, setting this to - * be true will make the deletion have no impact on online serving. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Cloud\Aiplatform\V1\FeaturestoreService::initOnce(); - parent::__construct($data); - } - - /** - * Required. Select feature generated within a half-inclusive time range. - * The time range is lower inclusive and upper exclusive. - * - * Generated from protobuf field .google.type.Interval time_range = 1 [(.google.api.field_behavior) = REQUIRED]; - * @return \Google\Type\Interval|null - */ - public function getTimeRange() - { - return $this->time_range; - } - - public function hasTimeRange() - { - return isset($this->time_range); - } - - public function clearTimeRange() - { - unset($this->time_range); - } - - /** - * Required. Select feature generated within a half-inclusive time range. - * The time range is lower inclusive and upper exclusive. - * - * Generated from protobuf field .google.type.Interval time_range = 1 [(.google.api.field_behavior) = REQUIRED]; - * @param \Google\Type\Interval $var - * @return $this - */ - public function setTimeRange($var) - { - GPBUtil::checkMessage($var, \Google\Type\Interval::class); - $this->time_range = $var; - - return $this; - } - - /** - * Required. Selectors choosing which feature values to be deleted from the - * EntityType. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.FeatureSelector feature_selector = 2 [(.google.api.field_behavior) = REQUIRED]; - * @return \Google\Cloud\AIPlatform\V1\FeatureSelector|null - */ - public function getFeatureSelector() - { - return $this->feature_selector; - } - - public function hasFeatureSelector() - { - return isset($this->feature_selector); - } - - public function clearFeatureSelector() - { - unset($this->feature_selector); - } - - /** - * Required. Selectors choosing which feature values to be deleted from the - * EntityType. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.FeatureSelector feature_selector = 2 [(.google.api.field_behavior) = REQUIRED]; - * @param \Google\Cloud\AIPlatform\V1\FeatureSelector $var - * @return $this - */ - public function setFeatureSelector($var) - { - GPBUtil::checkMessage($var, \Google\Cloud\AIPlatform\V1\FeatureSelector::class); - $this->feature_selector = $var; - - return $this; - } - - /** - * If set, data will not be deleted from online storage. - * When time range is older than the data in online storage, setting this to - * be true will make the deletion have no impact on online serving. - * - * Generated from protobuf field bool skip_online_storage_delete = 3; - * @return bool - */ - public function getSkipOnlineStorageDelete() - { - return $this->skip_online_storage_delete; - } - - /** - * If set, data will not be deleted from online storage. - * When time range is older than the data in online storage, setting this to - * be true will make the deletion have no impact on online serving. - * - * Generated from protobuf field bool skip_online_storage_delete = 3; - * @param bool $var - * @return $this - */ - public function setSkipOnlineStorageDelete($var) - { - GPBUtil::checkBool($var); - $this->skip_online_storage_delete = $var; - - return $this; - } - -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(SelectTimeRangeAndFeature::class, \Google\Cloud\AIPlatform\V1\DeleteFeatureValuesRequest_SelectTimeRangeAndFeature::class); - diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/DeleteFeatureValuesResponse.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/DeleteFeatureValuesResponse.php deleted file mode 100644 index f0d0289e26ac..000000000000 --- a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/DeleteFeatureValuesResponse.php +++ /dev/null @@ -1,109 +0,0 @@ -google.cloud.aiplatform.v1.DeleteFeatureValuesResponse - */ -class DeleteFeatureValuesResponse extends \Google\Protobuf\Internal\Message -{ - protected $response; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type \Google\Cloud\AIPlatform\V1\DeleteFeatureValuesResponse\SelectEntity $select_entity - * Response for request specifying the entities to delete - * @type \Google\Cloud\AIPlatform\V1\DeleteFeatureValuesResponse\SelectTimeRangeAndFeature $select_time_range_and_feature - * Response for request specifying time range and feature - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Cloud\Aiplatform\V1\FeaturestoreService::initOnce(); - parent::__construct($data); - } - - /** - * Response for request specifying the entities to delete - * - * Generated from protobuf field .google.cloud.aiplatform.v1.DeleteFeatureValuesResponse.SelectEntity select_entity = 1; - * @return \Google\Cloud\AIPlatform\V1\DeleteFeatureValuesResponse\SelectEntity|null - */ - public function getSelectEntity() - { - return $this->readOneof(1); - } - - public function hasSelectEntity() - { - return $this->hasOneof(1); - } - - /** - * Response for request specifying the entities to delete - * - * Generated from protobuf field .google.cloud.aiplatform.v1.DeleteFeatureValuesResponse.SelectEntity select_entity = 1; - * @param \Google\Cloud\AIPlatform\V1\DeleteFeatureValuesResponse\SelectEntity $var - * @return $this - */ - public function setSelectEntity($var) - { - GPBUtil::checkMessage($var, \Google\Cloud\AIPlatform\V1\DeleteFeatureValuesResponse\SelectEntity::class); - $this->writeOneof(1, $var); - - return $this; - } - - /** - * Response for request specifying time range and feature - * - * Generated from protobuf field .google.cloud.aiplatform.v1.DeleteFeatureValuesResponse.SelectTimeRangeAndFeature select_time_range_and_feature = 2; - * @return \Google\Cloud\AIPlatform\V1\DeleteFeatureValuesResponse\SelectTimeRangeAndFeature|null - */ - public function getSelectTimeRangeAndFeature() - { - return $this->readOneof(2); - } - - public function hasSelectTimeRangeAndFeature() - { - return $this->hasOneof(2); - } - - /** - * Response for request specifying time range and feature - * - * Generated from protobuf field .google.cloud.aiplatform.v1.DeleteFeatureValuesResponse.SelectTimeRangeAndFeature select_time_range_and_feature = 2; - * @param \Google\Cloud\AIPlatform\V1\DeleteFeatureValuesResponse\SelectTimeRangeAndFeature $var - * @return $this - */ - public function setSelectTimeRangeAndFeature($var) - { - GPBUtil::checkMessage($var, \Google\Cloud\AIPlatform\V1\DeleteFeatureValuesResponse\SelectTimeRangeAndFeature::class); - $this->writeOneof(2, $var); - - return $this; - } - - /** - * @return string - */ - public function getResponse() - { - return $this->whichOneof("response"); - } - -} - diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/DeleteFeatureValuesResponse/SelectEntity.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/DeleteFeatureValuesResponse/SelectEntity.php deleted file mode 100644 index 8c50ddaeb5bd..000000000000 --- a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/DeleteFeatureValuesResponse/SelectEntity.php +++ /dev/null @@ -1,116 +0,0 @@ -google.cloud.aiplatform.v1.DeleteFeatureValuesResponse.SelectEntity - */ -class SelectEntity extends \Google\Protobuf\Internal\Message -{ - /** - * The count of deleted entity rows in the offline storage. - * Each row corresponds to the combination of an entity ID and a timestamp. - * One entity ID can have multiple rows in the offline storage. - * - * Generated from protobuf field int64 offline_storage_deleted_entity_row_count = 1; - */ - protected $offline_storage_deleted_entity_row_count = 0; - /** - * The count of deleted entities in the online storage. - * Each entity ID corresponds to one entity. - * - * Generated from protobuf field int64 online_storage_deleted_entity_count = 2; - */ - protected $online_storage_deleted_entity_count = 0; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type int|string $offline_storage_deleted_entity_row_count - * The count of deleted entity rows in the offline storage. - * Each row corresponds to the combination of an entity ID and a timestamp. - * One entity ID can have multiple rows in the offline storage. - * @type int|string $online_storage_deleted_entity_count - * The count of deleted entities in the online storage. - * Each entity ID corresponds to one entity. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Cloud\Aiplatform\V1\FeaturestoreService::initOnce(); - parent::__construct($data); - } - - /** - * The count of deleted entity rows in the offline storage. - * Each row corresponds to the combination of an entity ID and a timestamp. - * One entity ID can have multiple rows in the offline storage. - * - * Generated from protobuf field int64 offline_storage_deleted_entity_row_count = 1; - * @return int|string - */ - public function getOfflineStorageDeletedEntityRowCount() - { - return $this->offline_storage_deleted_entity_row_count; - } - - /** - * The count of deleted entity rows in the offline storage. - * Each row corresponds to the combination of an entity ID and a timestamp. - * One entity ID can have multiple rows in the offline storage. - * - * Generated from protobuf field int64 offline_storage_deleted_entity_row_count = 1; - * @param int|string $var - * @return $this - */ - public function setOfflineStorageDeletedEntityRowCount($var) - { - GPBUtil::checkInt64($var); - $this->offline_storage_deleted_entity_row_count = $var; - - return $this; - } - - /** - * The count of deleted entities in the online storage. - * Each entity ID corresponds to one entity. - * - * Generated from protobuf field int64 online_storage_deleted_entity_count = 2; - * @return int|string - */ - public function getOnlineStorageDeletedEntityCount() - { - return $this->online_storage_deleted_entity_count; - } - - /** - * The count of deleted entities in the online storage. - * Each entity ID corresponds to one entity. - * - * Generated from protobuf field int64 online_storage_deleted_entity_count = 2; - * @param int|string $var - * @return $this - */ - public function setOnlineStorageDeletedEntityCount($var) - { - GPBUtil::checkInt64($var); - $this->online_storage_deleted_entity_count = $var; - - return $this; - } - -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(SelectEntity::class, \Google\Cloud\AIPlatform\V1\DeleteFeatureValuesResponse_SelectEntity::class); - diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/DeleteFeatureValuesResponse/SelectTimeRangeAndFeature.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/DeleteFeatureValuesResponse/SelectTimeRangeAndFeature.php deleted file mode 100644 index 1bf169b186df..000000000000 --- a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/DeleteFeatureValuesResponse/SelectTimeRangeAndFeature.php +++ /dev/null @@ -1,170 +0,0 @@ -google.cloud.aiplatform.v1.DeleteFeatureValuesResponse.SelectTimeRangeAndFeature - */ -class SelectTimeRangeAndFeature extends \Google\Protobuf\Internal\Message -{ - /** - * The count of the features or columns impacted. - * This is the same as the feature count in the request. - * - * Generated from protobuf field int64 impacted_feature_count = 1; - */ - protected $impacted_feature_count = 0; - /** - * The count of modified entity rows in the offline storage. - * Each row corresponds to the combination of an entity ID and a timestamp. - * One entity ID can have multiple rows in the offline storage. - * Within each row, only the features specified in the request are - * deleted. - * - * Generated from protobuf field int64 offline_storage_modified_entity_row_count = 2; - */ - protected $offline_storage_modified_entity_row_count = 0; - /** - * The count of modified entities in the online storage. - * Each entity ID corresponds to one entity. - * Within each entity, only the features specified in the request are - * deleted. - * - * Generated from protobuf field int64 online_storage_modified_entity_count = 3; - */ - protected $online_storage_modified_entity_count = 0; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type int|string $impacted_feature_count - * The count of the features or columns impacted. - * This is the same as the feature count in the request. - * @type int|string $offline_storage_modified_entity_row_count - * The count of modified entity rows in the offline storage. - * Each row corresponds to the combination of an entity ID and a timestamp. - * One entity ID can have multiple rows in the offline storage. - * Within each row, only the features specified in the request are - * deleted. - * @type int|string $online_storage_modified_entity_count - * The count of modified entities in the online storage. - * Each entity ID corresponds to one entity. - * Within each entity, only the features specified in the request are - * deleted. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Cloud\Aiplatform\V1\FeaturestoreService::initOnce(); - parent::__construct($data); - } - - /** - * The count of the features or columns impacted. - * This is the same as the feature count in the request. - * - * Generated from protobuf field int64 impacted_feature_count = 1; - * @return int|string - */ - public function getImpactedFeatureCount() - { - return $this->impacted_feature_count; - } - - /** - * The count of the features or columns impacted. - * This is the same as the feature count in the request. - * - * Generated from protobuf field int64 impacted_feature_count = 1; - * @param int|string $var - * @return $this - */ - public function setImpactedFeatureCount($var) - { - GPBUtil::checkInt64($var); - $this->impacted_feature_count = $var; - - return $this; - } - - /** - * The count of modified entity rows in the offline storage. - * Each row corresponds to the combination of an entity ID and a timestamp. - * One entity ID can have multiple rows in the offline storage. - * Within each row, only the features specified in the request are - * deleted. - * - * Generated from protobuf field int64 offline_storage_modified_entity_row_count = 2; - * @return int|string - */ - public function getOfflineStorageModifiedEntityRowCount() - { - return $this->offline_storage_modified_entity_row_count; - } - - /** - * The count of modified entity rows in the offline storage. - * Each row corresponds to the combination of an entity ID and a timestamp. - * One entity ID can have multiple rows in the offline storage. - * Within each row, only the features specified in the request are - * deleted. - * - * Generated from protobuf field int64 offline_storage_modified_entity_row_count = 2; - * @param int|string $var - * @return $this - */ - public function setOfflineStorageModifiedEntityRowCount($var) - { - GPBUtil::checkInt64($var); - $this->offline_storage_modified_entity_row_count = $var; - - return $this; - } - - /** - * The count of modified entities in the online storage. - * Each entity ID corresponds to one entity. - * Within each entity, only the features specified in the request are - * deleted. - * - * Generated from protobuf field int64 online_storage_modified_entity_count = 3; - * @return int|string - */ - public function getOnlineStorageModifiedEntityCount() - { - return $this->online_storage_modified_entity_count; - } - - /** - * The count of modified entities in the online storage. - * Each entity ID corresponds to one entity. - * Within each entity, only the features specified in the request are - * deleted. - * - * Generated from protobuf field int64 online_storage_modified_entity_count = 3; - * @param int|string $var - * @return $this - */ - public function setOnlineStorageModifiedEntityCount($var) - { - GPBUtil::checkInt64($var); - $this->online_storage_modified_entity_count = $var; - - return $this; - } - -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(SelectTimeRangeAndFeature::class, \Google\Cloud\AIPlatform\V1\DeleteFeatureValuesResponse_SelectTimeRangeAndFeature::class); - diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/DeleteFeatureViewRequest.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/DeleteFeatureViewRequest.php deleted file mode 100644 index 11a935f82552..000000000000 --- a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/DeleteFeatureViewRequest.php +++ /dev/null @@ -1,91 +0,0 @@ -google.cloud.aiplatform.v1.DeleteFeatureViewRequest - */ -class DeleteFeatureViewRequest extends \Google\Protobuf\Internal\Message -{ - /** - * Required. The name of the FeatureView to be deleted. - * Format: - * `projects/{project}/locations/{location}/featureOnlineStores/{feature_online_store}/featureViews/{feature_view}` - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - */ - protected $name = ''; - - /** - * @param string $name Required. The name of the FeatureView to be deleted. - * Format: - * `projects/{project}/locations/{location}/featureOnlineStores/{feature_online_store}/featureViews/{feature_view}` - * Please see {@see FeatureOnlineStoreAdminServiceClient::featureViewName()} for help formatting this field. - * - * @return \Google\Cloud\AIPlatform\V1\DeleteFeatureViewRequest - * - * @experimental - */ - public static function build(string $name): self - { - return (new self()) - ->setName($name); - } - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $name - * Required. The name of the FeatureView to be deleted. - * Format: - * `projects/{project}/locations/{location}/featureOnlineStores/{feature_online_store}/featureViews/{feature_view}` - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Cloud\Aiplatform\V1\FeatureOnlineStoreAdminService::initOnce(); - parent::__construct($data); - } - - /** - * Required. The name of the FeatureView to be deleted. - * Format: - * `projects/{project}/locations/{location}/featureOnlineStores/{feature_online_store}/featureViews/{feature_view}` - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - * @return string - */ - public function getName() - { - return $this->name; - } - - /** - * Required. The name of the FeatureView to be deleted. - * Format: - * `projects/{project}/locations/{location}/featureOnlineStores/{feature_online_store}/featureViews/{feature_view}` - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setName($var) - { - GPBUtil::checkString($var, True); - $this->name = $var; - - return $this; - } - -} - diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/DeleteFeaturestoreRequest.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/DeleteFeaturestoreRequest.php deleted file mode 100644 index 8a70176fcb87..000000000000 --- a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/DeleteFeaturestoreRequest.php +++ /dev/null @@ -1,154 +0,0 @@ -google.cloud.aiplatform.v1.DeleteFeaturestoreRequest - */ -class DeleteFeaturestoreRequest extends \Google\Protobuf\Internal\Message -{ - /** - * Required. The name of the Featurestore to be deleted. - * Format: - * `projects/{project}/locations/{location}/featurestores/{featurestore}` - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - */ - protected $name = ''; - /** - * If set to true, any EntityTypes and Features for this Featurestore will - * also be deleted. (Otherwise, the request will only work if the Featurestore - * has no EntityTypes.) - * - * Generated from protobuf field bool force = 2; - */ - protected $force = false; - - /** - * @param string $name Required. The name of the Featurestore to be deleted. - * Format: - * `projects/{project}/locations/{location}/featurestores/{featurestore}` - * Please see {@see FeaturestoreServiceClient::featurestoreName()} for help formatting this field. - * - * @return \Google\Cloud\AIPlatform\V1\DeleteFeaturestoreRequest - * - * @experimental - */ - public static function build(string $name): self - { - return (new self()) - ->setName($name); - } - - /** - * @param string $name Required. The name of the Featurestore to be deleted. - * Format: - * `projects/{project}/locations/{location}/featurestores/{featurestore}` - * Please see {@see FeaturestoreServiceClient::featurestoreName()} for help formatting this field. - * @param bool $force If set to true, any EntityTypes and Features for this Featurestore will - * also be deleted. (Otherwise, the request will only work if the Featurestore - * has no EntityTypes.) - * - * @return \Google\Cloud\AIPlatform\V1\DeleteFeaturestoreRequest - * - * @experimental - */ - public static function buildFromNameForce(string $name, bool $force): self - { - return (new self()) - ->setName($name) - ->setForce($force); - } - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $name - * Required. The name of the Featurestore to be deleted. - * Format: - * `projects/{project}/locations/{location}/featurestores/{featurestore}` - * @type bool $force - * If set to true, any EntityTypes and Features for this Featurestore will - * also be deleted. (Otherwise, the request will only work if the Featurestore - * has no EntityTypes.) - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Cloud\Aiplatform\V1\FeaturestoreService::initOnce(); - parent::__construct($data); - } - - /** - * Required. The name of the Featurestore to be deleted. - * Format: - * `projects/{project}/locations/{location}/featurestores/{featurestore}` - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - * @return string - */ - public function getName() - { - return $this->name; - } - - /** - * Required. The name of the Featurestore to be deleted. - * Format: - * `projects/{project}/locations/{location}/featurestores/{featurestore}` - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setName($var) - { - GPBUtil::checkString($var, True); - $this->name = $var; - - return $this; - } - - /** - * If set to true, any EntityTypes and Features for this Featurestore will - * also be deleted. (Otherwise, the request will only work if the Featurestore - * has no EntityTypes.) - * - * Generated from protobuf field bool force = 2; - * @return bool - */ - public function getForce() - { - return $this->force; - } - - /** - * If set to true, any EntityTypes and Features for this Featurestore will - * also be deleted. (Otherwise, the request will only work if the Featurestore - * has no EntityTypes.) - * - * Generated from protobuf field bool force = 2; - * @param bool $var - * @return $this - */ - public function setForce($var) - { - GPBUtil::checkBool($var); - $this->force = $var; - - return $this; - } - -} - diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/DeleteHyperparameterTuningJobRequest.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/DeleteHyperparameterTuningJobRequest.php deleted file mode 100644 index 284f7482f6fb..000000000000 --- a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/DeleteHyperparameterTuningJobRequest.php +++ /dev/null @@ -1,92 +0,0 @@ -google.cloud.aiplatform.v1.DeleteHyperparameterTuningJobRequest - */ -class DeleteHyperparameterTuningJobRequest extends \Google\Protobuf\Internal\Message -{ - /** - * Required. The name of the HyperparameterTuningJob resource to be deleted. - * Format: - * `projects/{project}/locations/{location}/hyperparameterTuningJobs/{hyperparameter_tuning_job}` - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - */ - protected $name = ''; - - /** - * @param string $name Required. The name of the HyperparameterTuningJob resource to be deleted. - * Format: - * `projects/{project}/locations/{location}/hyperparameterTuningJobs/{hyperparameter_tuning_job}` - * Please see {@see JobServiceClient::hyperparameterTuningJobName()} for help formatting this field. - * - * @return \Google\Cloud\AIPlatform\V1\DeleteHyperparameterTuningJobRequest - * - * @experimental - */ - public static function build(string $name): self - { - return (new self()) - ->setName($name); - } - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $name - * Required. The name of the HyperparameterTuningJob resource to be deleted. - * Format: - * `projects/{project}/locations/{location}/hyperparameterTuningJobs/{hyperparameter_tuning_job}` - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Cloud\Aiplatform\V1\JobService::initOnce(); - parent::__construct($data); - } - - /** - * Required. The name of the HyperparameterTuningJob resource to be deleted. - * Format: - * `projects/{project}/locations/{location}/hyperparameterTuningJobs/{hyperparameter_tuning_job}` - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - * @return string - */ - public function getName() - { - return $this->name; - } - - /** - * Required. The name of the HyperparameterTuningJob resource to be deleted. - * Format: - * `projects/{project}/locations/{location}/hyperparameterTuningJobs/{hyperparameter_tuning_job}` - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setName($var) - { - GPBUtil::checkString($var, True); - $this->name = $var; - - return $this; - } - -} - diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/DeleteIndexEndpointRequest.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/DeleteIndexEndpointRequest.php deleted file mode 100644 index fb6aeef6104d..000000000000 --- a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/DeleteIndexEndpointRequest.php +++ /dev/null @@ -1,92 +0,0 @@ -google.cloud.aiplatform.v1.DeleteIndexEndpointRequest - */ -class DeleteIndexEndpointRequest extends \Google\Protobuf\Internal\Message -{ - /** - * Required. The name of the IndexEndpoint resource to be deleted. - * Format: - * `projects/{project}/locations/{location}/indexEndpoints/{index_endpoint}` - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - */ - protected $name = ''; - - /** - * @param string $name Required. The name of the IndexEndpoint resource to be deleted. - * Format: - * `projects/{project}/locations/{location}/indexEndpoints/{index_endpoint}` - * Please see {@see IndexEndpointServiceClient::indexEndpointName()} for help formatting this field. - * - * @return \Google\Cloud\AIPlatform\V1\DeleteIndexEndpointRequest - * - * @experimental - */ - public static function build(string $name): self - { - return (new self()) - ->setName($name); - } - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $name - * Required. The name of the IndexEndpoint resource to be deleted. - * Format: - * `projects/{project}/locations/{location}/indexEndpoints/{index_endpoint}` - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Cloud\Aiplatform\V1\IndexEndpointService::initOnce(); - parent::__construct($data); - } - - /** - * Required. The name of the IndexEndpoint resource to be deleted. - * Format: - * `projects/{project}/locations/{location}/indexEndpoints/{index_endpoint}` - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - * @return string - */ - public function getName() - { - return $this->name; - } - - /** - * Required. The name of the IndexEndpoint resource to be deleted. - * Format: - * `projects/{project}/locations/{location}/indexEndpoints/{index_endpoint}` - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setName($var) - { - GPBUtil::checkString($var, True); - $this->name = $var; - - return $this; - } - -} - diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/DeleteIndexRequest.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/DeleteIndexRequest.php deleted file mode 100644 index 418d40a7f0e9..000000000000 --- a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/DeleteIndexRequest.php +++ /dev/null @@ -1,92 +0,0 @@ -google.cloud.aiplatform.v1.DeleteIndexRequest - */ -class DeleteIndexRequest extends \Google\Protobuf\Internal\Message -{ - /** - * Required. The name of the Index resource to be deleted. - * Format: - * `projects/{project}/locations/{location}/indexes/{index}` - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - */ - protected $name = ''; - - /** - * @param string $name Required. The name of the Index resource to be deleted. - * Format: - * `projects/{project}/locations/{location}/indexes/{index}` - * Please see {@see IndexServiceClient::indexName()} for help formatting this field. - * - * @return \Google\Cloud\AIPlatform\V1\DeleteIndexRequest - * - * @experimental - */ - public static function build(string $name): self - { - return (new self()) - ->setName($name); - } - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $name - * Required. The name of the Index resource to be deleted. - * Format: - * `projects/{project}/locations/{location}/indexes/{index}` - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Cloud\Aiplatform\V1\IndexService::initOnce(); - parent::__construct($data); - } - - /** - * Required. The name of the Index resource to be deleted. - * Format: - * `projects/{project}/locations/{location}/indexes/{index}` - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - * @return string - */ - public function getName() - { - return $this->name; - } - - /** - * Required. The name of the Index resource to be deleted. - * Format: - * `projects/{project}/locations/{location}/indexes/{index}` - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setName($var) - { - GPBUtil::checkString($var, True); - $this->name = $var; - - return $this; - } - -} - diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/DeleteMetadataStoreOperationMetadata.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/DeleteMetadataStoreOperationMetadata.php deleted file mode 100644 index c8b6e4005039..000000000000 --- a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/DeleteMetadataStoreOperationMetadata.php +++ /dev/null @@ -1,78 +0,0 @@ -google.cloud.aiplatform.v1.DeleteMetadataStoreOperationMetadata - */ -class DeleteMetadataStoreOperationMetadata extends \Google\Protobuf\Internal\Message -{ - /** - * Operation metadata for deleting a MetadataStore. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.GenericOperationMetadata generic_metadata = 1; - */ - protected $generic_metadata = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type \Google\Cloud\AIPlatform\V1\GenericOperationMetadata $generic_metadata - * Operation metadata for deleting a MetadataStore. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Cloud\Aiplatform\V1\MetadataService::initOnce(); - parent::__construct($data); - } - - /** - * Operation metadata for deleting a MetadataStore. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.GenericOperationMetadata generic_metadata = 1; - * @return \Google\Cloud\AIPlatform\V1\GenericOperationMetadata|null - */ - public function getGenericMetadata() - { - return $this->generic_metadata; - } - - public function hasGenericMetadata() - { - return isset($this->generic_metadata); - } - - public function clearGenericMetadata() - { - unset($this->generic_metadata); - } - - /** - * Operation metadata for deleting a MetadataStore. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.GenericOperationMetadata generic_metadata = 1; - * @param \Google\Cloud\AIPlatform\V1\GenericOperationMetadata $var - * @return $this - */ - public function setGenericMetadata($var) - { - GPBUtil::checkMessage($var, \Google\Cloud\AIPlatform\V1\GenericOperationMetadata::class); - $this->generic_metadata = $var; - - return $this; - } - -} - diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/DeleteMetadataStoreRequest.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/DeleteMetadataStoreRequest.php deleted file mode 100644 index 1ff107a40ef7..000000000000 --- a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/DeleteMetadataStoreRequest.php +++ /dev/null @@ -1,131 +0,0 @@ -google.cloud.aiplatform.v1.DeleteMetadataStoreRequest - */ -class DeleteMetadataStoreRequest extends \Google\Protobuf\Internal\Message -{ - /** - * Required. The resource name of the MetadataStore to delete. - * Format: - * `projects/{project}/locations/{location}/metadataStores/{metadatastore}` - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - */ - protected $name = ''; - /** - * Deprecated: Field is no longer supported. - * - * Generated from protobuf field bool force = 2 [deprecated = true]; - * @deprecated - */ - protected $force = false; - - /** - * @param string $name Required. The resource name of the MetadataStore to delete. - * Format: - * `projects/{project}/locations/{location}/metadataStores/{metadatastore}` - * Please see {@see MetadataServiceClient::metadataStoreName()} for help formatting this field. - * - * @return \Google\Cloud\AIPlatform\V1\DeleteMetadataStoreRequest - * - * @experimental - */ - public static function build(string $name): self - { - return (new self()) - ->setName($name); - } - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $name - * Required. The resource name of the MetadataStore to delete. - * Format: - * `projects/{project}/locations/{location}/metadataStores/{metadatastore}` - * @type bool $force - * Deprecated: Field is no longer supported. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Cloud\Aiplatform\V1\MetadataService::initOnce(); - parent::__construct($data); - } - - /** - * Required. The resource name of the MetadataStore to delete. - * Format: - * `projects/{project}/locations/{location}/metadataStores/{metadatastore}` - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - * @return string - */ - public function getName() - { - return $this->name; - } - - /** - * Required. The resource name of the MetadataStore to delete. - * Format: - * `projects/{project}/locations/{location}/metadataStores/{metadatastore}` - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setName($var) - { - GPBUtil::checkString($var, True); - $this->name = $var; - - return $this; - } - - /** - * Deprecated: Field is no longer supported. - * - * Generated from protobuf field bool force = 2 [deprecated = true]; - * @return bool - * @deprecated - */ - public function getForce() - { - @trigger_error('force is deprecated.', E_USER_DEPRECATED); - return $this->force; - } - - /** - * Deprecated: Field is no longer supported. - * - * Generated from protobuf field bool force = 2 [deprecated = true]; - * @param bool $var - * @return $this - * @deprecated - */ - public function setForce($var) - { - @trigger_error('force is deprecated.', E_USER_DEPRECATED); - GPBUtil::checkBool($var); - $this->force = $var; - - return $this; - } - -} - diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/DeleteModelDeploymentMonitoringJobRequest.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/DeleteModelDeploymentMonitoringJobRequest.php deleted file mode 100644 index 3497dadbb97e..000000000000 --- a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/DeleteModelDeploymentMonitoringJobRequest.php +++ /dev/null @@ -1,92 +0,0 @@ -google.cloud.aiplatform.v1.DeleteModelDeploymentMonitoringJobRequest - */ -class DeleteModelDeploymentMonitoringJobRequest extends \Google\Protobuf\Internal\Message -{ - /** - * Required. The resource name of the model monitoring job to delete. - * Format: - * `projects/{project}/locations/{location}/modelDeploymentMonitoringJobs/{model_deployment_monitoring_job}` - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - */ - protected $name = ''; - - /** - * @param string $name Required. The resource name of the model monitoring job to delete. - * Format: - * `projects/{project}/locations/{location}/modelDeploymentMonitoringJobs/{model_deployment_monitoring_job}` - * Please see {@see JobServiceClient::modelDeploymentMonitoringJobName()} for help formatting this field. - * - * @return \Google\Cloud\AIPlatform\V1\DeleteModelDeploymentMonitoringJobRequest - * - * @experimental - */ - public static function build(string $name): self - { - return (new self()) - ->setName($name); - } - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $name - * Required. The resource name of the model monitoring job to delete. - * Format: - * `projects/{project}/locations/{location}/modelDeploymentMonitoringJobs/{model_deployment_monitoring_job}` - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Cloud\Aiplatform\V1\JobService::initOnce(); - parent::__construct($data); - } - - /** - * Required. The resource name of the model monitoring job to delete. - * Format: - * `projects/{project}/locations/{location}/modelDeploymentMonitoringJobs/{model_deployment_monitoring_job}` - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - * @return string - */ - public function getName() - { - return $this->name; - } - - /** - * Required. The resource name of the model monitoring job to delete. - * Format: - * `projects/{project}/locations/{location}/modelDeploymentMonitoringJobs/{model_deployment_monitoring_job}` - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setName($var) - { - GPBUtil::checkString($var, True); - $this->name = $var; - - return $this; - } - -} - diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/DeleteModelRequest.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/DeleteModelRequest.php deleted file mode 100644 index 1faeb4d0ff54..000000000000 --- a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/DeleteModelRequest.php +++ /dev/null @@ -1,87 +0,0 @@ -google.cloud.aiplatform.v1.DeleteModelRequest - */ -class DeleteModelRequest extends \Google\Protobuf\Internal\Message -{ - /** - * Required. The name of the Model resource to be deleted. - * Format: `projects/{project}/locations/{location}/models/{model}` - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - */ - protected $name = ''; - - /** - * @param string $name Required. The name of the Model resource to be deleted. - * Format: `projects/{project}/locations/{location}/models/{model}` - * Please see {@see ModelServiceClient::modelName()} for help formatting this field. - * - * @return \Google\Cloud\AIPlatform\V1\DeleteModelRequest - * - * @experimental - */ - public static function build(string $name): self - { - return (new self()) - ->setName($name); - } - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $name - * Required. The name of the Model resource to be deleted. - * Format: `projects/{project}/locations/{location}/models/{model}` - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Cloud\Aiplatform\V1\ModelService::initOnce(); - parent::__construct($data); - } - - /** - * Required. The name of the Model resource to be deleted. - * Format: `projects/{project}/locations/{location}/models/{model}` - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - * @return string - */ - public function getName() - { - return $this->name; - } - - /** - * Required. The name of the Model resource to be deleted. - * Format: `projects/{project}/locations/{location}/models/{model}` - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setName($var) - { - GPBUtil::checkString($var, True); - $this->name = $var; - - return $this; - } - -} - diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/DeleteModelVersionRequest.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/DeleteModelVersionRequest.php deleted file mode 100644 index 594e38fefb09..000000000000 --- a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/DeleteModelVersionRequest.php +++ /dev/null @@ -1,93 +0,0 @@ -google.cloud.aiplatform.v1.DeleteModelVersionRequest - */ -class DeleteModelVersionRequest extends \Google\Protobuf\Internal\Message -{ - /** - * Required. The name of the model version to be deleted, with a version ID - * explicitly included. - * Example: `projects/{project}/locations/{location}/models/{model}@1234` - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - */ - protected $name = ''; - - /** - * @param string $name Required. The name of the model version to be deleted, with a version ID - * explicitly included. - * - * Example: `projects/{project}/locations/{location}/models/{model}@1234` - * Please see {@see ModelServiceClient::modelName()} for help formatting this field. - * - * @return \Google\Cloud\AIPlatform\V1\DeleteModelVersionRequest - * - * @experimental - */ - public static function build(string $name): self - { - return (new self()) - ->setName($name); - } - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $name - * Required. The name of the model version to be deleted, with a version ID - * explicitly included. - * Example: `projects/{project}/locations/{location}/models/{model}@1234` - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Cloud\Aiplatform\V1\ModelService::initOnce(); - parent::__construct($data); - } - - /** - * Required. The name of the model version to be deleted, with a version ID - * explicitly included. - * Example: `projects/{project}/locations/{location}/models/{model}@1234` - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - * @return string - */ - public function getName() - { - return $this->name; - } - - /** - * Required. The name of the model version to be deleted, with a version ID - * explicitly included. - * Example: `projects/{project}/locations/{location}/models/{model}@1234` - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setName($var) - { - GPBUtil::checkString($var, True); - $this->name = $var; - - return $this; - } - -} - diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/DeleteNasJobRequest.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/DeleteNasJobRequest.php deleted file mode 100644 index 3fc52e5916c0..000000000000 --- a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/DeleteNasJobRequest.php +++ /dev/null @@ -1,92 +0,0 @@ -google.cloud.aiplatform.v1.DeleteNasJobRequest - */ -class DeleteNasJobRequest extends \Google\Protobuf\Internal\Message -{ - /** - * Required. The name of the NasJob resource to be deleted. - * Format: - * `projects/{project}/locations/{location}/nasJobs/{nas_job}` - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - */ - protected $name = ''; - - /** - * @param string $name Required. The name of the NasJob resource to be deleted. - * Format: - * `projects/{project}/locations/{location}/nasJobs/{nas_job}` - * Please see {@see JobServiceClient::nasJobName()} for help formatting this field. - * - * @return \Google\Cloud\AIPlatform\V1\DeleteNasJobRequest - * - * @experimental - */ - public static function build(string $name): self - { - return (new self()) - ->setName($name); - } - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $name - * Required. The name of the NasJob resource to be deleted. - * Format: - * `projects/{project}/locations/{location}/nasJobs/{nas_job}` - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Cloud\Aiplatform\V1\JobService::initOnce(); - parent::__construct($data); - } - - /** - * Required. The name of the NasJob resource to be deleted. - * Format: - * `projects/{project}/locations/{location}/nasJobs/{nas_job}` - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - * @return string - */ - public function getName() - { - return $this->name; - } - - /** - * Required. The name of the NasJob resource to be deleted. - * Format: - * `projects/{project}/locations/{location}/nasJobs/{nas_job}` - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setName($var) - { - GPBUtil::checkString($var, True); - $this->name = $var; - - return $this; - } - -} - diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/DeleteNotebookRuntimeRequest.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/DeleteNotebookRuntimeRequest.php deleted file mode 100644 index 82e4d93ff2a7..000000000000 --- a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/DeleteNotebookRuntimeRequest.php +++ /dev/null @@ -1,97 +0,0 @@ -google.cloud.aiplatform.v1.DeleteNotebookRuntimeRequest - */ -class DeleteNotebookRuntimeRequest extends \Google\Protobuf\Internal\Message -{ - /** - * Required. The name of the NotebookRuntime resource to be deleted. - * Instead of checking whether the name is in valid NotebookRuntime resource - * name format, directly throw NotFound exception if there is no such - * NotebookRuntime in spanner. - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - */ - protected $name = ''; - - /** - * @param string $name Required. The name of the NotebookRuntime resource to be deleted. - * Instead of checking whether the name is in valid NotebookRuntime resource - * name format, directly throw NotFound exception if there is no such - * NotebookRuntime in spanner. Please see - * {@see NotebookServiceClient::notebookRuntimeName()} for help formatting this field. - * - * @return \Google\Cloud\AIPlatform\V1\DeleteNotebookRuntimeRequest - * - * @experimental - */ - public static function build(string $name): self - { - return (new self()) - ->setName($name); - } - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $name - * Required. The name of the NotebookRuntime resource to be deleted. - * Instead of checking whether the name is in valid NotebookRuntime resource - * name format, directly throw NotFound exception if there is no such - * NotebookRuntime in spanner. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Cloud\Aiplatform\V1\NotebookService::initOnce(); - parent::__construct($data); - } - - /** - * Required. The name of the NotebookRuntime resource to be deleted. - * Instead of checking whether the name is in valid NotebookRuntime resource - * name format, directly throw NotFound exception if there is no such - * NotebookRuntime in spanner. - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - * @return string - */ - public function getName() - { - return $this->name; - } - - /** - * Required. The name of the NotebookRuntime resource to be deleted. - * Instead of checking whether the name is in valid NotebookRuntime resource - * name format, directly throw NotFound exception if there is no such - * NotebookRuntime in spanner. - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setName($var) - { - GPBUtil::checkString($var, True); - $this->name = $var; - - return $this; - } - -} - diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/DeleteNotebookRuntimeTemplateRequest.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/DeleteNotebookRuntimeTemplateRequest.php deleted file mode 100644 index 72f20a0d917d..000000000000 --- a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/DeleteNotebookRuntimeTemplateRequest.php +++ /dev/null @@ -1,92 +0,0 @@ -google.cloud.aiplatform.v1.DeleteNotebookRuntimeTemplateRequest - */ -class DeleteNotebookRuntimeTemplateRequest extends \Google\Protobuf\Internal\Message -{ - /** - * Required. The name of the NotebookRuntimeTemplate resource to be deleted. - * Format: - * `projects/{project}/locations/{location}/notebookRuntimeTemplates/{notebook_runtime_template}` - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - */ - protected $name = ''; - - /** - * @param string $name Required. The name of the NotebookRuntimeTemplate resource to be deleted. - * Format: - * `projects/{project}/locations/{location}/notebookRuntimeTemplates/{notebook_runtime_template}` - * Please see {@see NotebookServiceClient::notebookRuntimeTemplateName()} for help formatting this field. - * - * @return \Google\Cloud\AIPlatform\V1\DeleteNotebookRuntimeTemplateRequest - * - * @experimental - */ - public static function build(string $name): self - { - return (new self()) - ->setName($name); - } - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $name - * Required. The name of the NotebookRuntimeTemplate resource to be deleted. - * Format: - * `projects/{project}/locations/{location}/notebookRuntimeTemplates/{notebook_runtime_template}` - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Cloud\Aiplatform\V1\NotebookService::initOnce(); - parent::__construct($data); - } - - /** - * Required. The name of the NotebookRuntimeTemplate resource to be deleted. - * Format: - * `projects/{project}/locations/{location}/notebookRuntimeTemplates/{notebook_runtime_template}` - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - * @return string - */ - public function getName() - { - return $this->name; - } - - /** - * Required. The name of the NotebookRuntimeTemplate resource to be deleted. - * Format: - * `projects/{project}/locations/{location}/notebookRuntimeTemplates/{notebook_runtime_template}` - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setName($var) - { - GPBUtil::checkString($var, True); - $this->name = $var; - - return $this; - } - -} - diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/DeleteOperationMetadata.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/DeleteOperationMetadata.php deleted file mode 100644 index 550d06373645..000000000000 --- a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/DeleteOperationMetadata.php +++ /dev/null @@ -1,77 +0,0 @@ -google.cloud.aiplatform.v1.DeleteOperationMetadata - */ -class DeleteOperationMetadata extends \Google\Protobuf\Internal\Message -{ - /** - * The common part of the operation metadata. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.GenericOperationMetadata generic_metadata = 1; - */ - protected $generic_metadata = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type \Google\Cloud\AIPlatform\V1\GenericOperationMetadata $generic_metadata - * The common part of the operation metadata. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Cloud\Aiplatform\V1\Operation::initOnce(); - parent::__construct($data); - } - - /** - * The common part of the operation metadata. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.GenericOperationMetadata generic_metadata = 1; - * @return \Google\Cloud\AIPlatform\V1\GenericOperationMetadata|null - */ - public function getGenericMetadata() - { - return $this->generic_metadata; - } - - public function hasGenericMetadata() - { - return isset($this->generic_metadata); - } - - public function clearGenericMetadata() - { - unset($this->generic_metadata); - } - - /** - * The common part of the operation metadata. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.GenericOperationMetadata generic_metadata = 1; - * @param \Google\Cloud\AIPlatform\V1\GenericOperationMetadata $var - * @return $this - */ - public function setGenericMetadata($var) - { - GPBUtil::checkMessage($var, \Google\Cloud\AIPlatform\V1\GenericOperationMetadata::class); - $this->generic_metadata = $var; - - return $this; - } - -} - diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/DeletePersistentResourceRequest.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/DeletePersistentResourceRequest.php deleted file mode 100644 index 0ff38cba1d08..000000000000 --- a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/DeletePersistentResourceRequest.php +++ /dev/null @@ -1,92 +0,0 @@ -google.cloud.aiplatform.v1.DeletePersistentResourceRequest - */ -class DeletePersistentResourceRequest extends \Google\Protobuf\Internal\Message -{ - /** - * Required. The name of the PersistentResource to be deleted. - * Format: - * `projects/{project}/locations/{location}/persistentResources/{persistent_resource}` - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - */ - protected $name = ''; - - /** - * @param string $name Required. The name of the PersistentResource to be deleted. - * Format: - * `projects/{project}/locations/{location}/persistentResources/{persistent_resource}` - * Please see {@see PersistentResourceServiceClient::persistentResourceName()} for help formatting this field. - * - * @return \Google\Cloud\AIPlatform\V1\DeletePersistentResourceRequest - * - * @experimental - */ - public static function build(string $name): self - { - return (new self()) - ->setName($name); - } - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $name - * Required. The name of the PersistentResource to be deleted. - * Format: - * `projects/{project}/locations/{location}/persistentResources/{persistent_resource}` - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Cloud\Aiplatform\V1\PersistentResourceService::initOnce(); - parent::__construct($data); - } - - /** - * Required. The name of the PersistentResource to be deleted. - * Format: - * `projects/{project}/locations/{location}/persistentResources/{persistent_resource}` - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - * @return string - */ - public function getName() - { - return $this->name; - } - - /** - * Required. The name of the PersistentResource to be deleted. - * Format: - * `projects/{project}/locations/{location}/persistentResources/{persistent_resource}` - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setName($var) - { - GPBUtil::checkString($var, True); - $this->name = $var; - - return $this; - } - -} - diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/DeletePipelineJobRequest.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/DeletePipelineJobRequest.php deleted file mode 100644 index b20e5935e894..000000000000 --- a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/DeletePipelineJobRequest.php +++ /dev/null @@ -1,92 +0,0 @@ -google.cloud.aiplatform.v1.DeletePipelineJobRequest - */ -class DeletePipelineJobRequest extends \Google\Protobuf\Internal\Message -{ - /** - * Required. The name of the PipelineJob resource to be deleted. - * Format: - * `projects/{project}/locations/{location}/pipelineJobs/{pipeline_job}` - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - */ - protected $name = ''; - - /** - * @param string $name Required. The name of the PipelineJob resource to be deleted. - * Format: - * `projects/{project}/locations/{location}/pipelineJobs/{pipeline_job}` - * Please see {@see PipelineServiceClient::pipelineJobName()} for help formatting this field. - * - * @return \Google\Cloud\AIPlatform\V1\DeletePipelineJobRequest - * - * @experimental - */ - public static function build(string $name): self - { - return (new self()) - ->setName($name); - } - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $name - * Required. The name of the PipelineJob resource to be deleted. - * Format: - * `projects/{project}/locations/{location}/pipelineJobs/{pipeline_job}` - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Cloud\Aiplatform\V1\PipelineService::initOnce(); - parent::__construct($data); - } - - /** - * Required. The name of the PipelineJob resource to be deleted. - * Format: - * `projects/{project}/locations/{location}/pipelineJobs/{pipeline_job}` - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - * @return string - */ - public function getName() - { - return $this->name; - } - - /** - * Required. The name of the PipelineJob resource to be deleted. - * Format: - * `projects/{project}/locations/{location}/pipelineJobs/{pipeline_job}` - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setName($var) - { - GPBUtil::checkString($var, True); - $this->name = $var; - - return $this; - } - -} - diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/DeleteSavedQueryRequest.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/DeleteSavedQueryRequest.php deleted file mode 100644 index c11454383354..000000000000 --- a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/DeleteSavedQueryRequest.php +++ /dev/null @@ -1,92 +0,0 @@ -google.cloud.aiplatform.v1.DeleteSavedQueryRequest - */ -class DeleteSavedQueryRequest extends \Google\Protobuf\Internal\Message -{ - /** - * Required. The resource name of the SavedQuery to delete. - * Format: - * `projects/{project}/locations/{location}/datasets/{dataset}/savedQueries/{saved_query}` - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - */ - protected $name = ''; - - /** - * @param string $name Required. The resource name of the SavedQuery to delete. - * Format: - * `projects/{project}/locations/{location}/datasets/{dataset}/savedQueries/{saved_query}` - * Please see {@see DatasetServiceClient::savedQueryName()} for help formatting this field. - * - * @return \Google\Cloud\AIPlatform\V1\DeleteSavedQueryRequest - * - * @experimental - */ - public static function build(string $name): self - { - return (new self()) - ->setName($name); - } - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $name - * Required. The resource name of the SavedQuery to delete. - * Format: - * `projects/{project}/locations/{location}/datasets/{dataset}/savedQueries/{saved_query}` - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Cloud\Aiplatform\V1\DatasetService::initOnce(); - parent::__construct($data); - } - - /** - * Required. The resource name of the SavedQuery to delete. - * Format: - * `projects/{project}/locations/{location}/datasets/{dataset}/savedQueries/{saved_query}` - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - * @return string - */ - public function getName() - { - return $this->name; - } - - /** - * Required. The resource name of the SavedQuery to delete. - * Format: - * `projects/{project}/locations/{location}/datasets/{dataset}/savedQueries/{saved_query}` - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setName($var) - { - GPBUtil::checkString($var, True); - $this->name = $var; - - return $this; - } - -} - diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/DeleteScheduleRequest.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/DeleteScheduleRequest.php deleted file mode 100644 index ea69f30d7497..000000000000 --- a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/DeleteScheduleRequest.php +++ /dev/null @@ -1,92 +0,0 @@ -google.cloud.aiplatform.v1.DeleteScheduleRequest - */ -class DeleteScheduleRequest extends \Google\Protobuf\Internal\Message -{ - /** - * Required. The name of the Schedule resource to be deleted. - * Format: - * `projects/{project}/locations/{location}/schedules/{schedule}` - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - */ - protected $name = ''; - - /** - * @param string $name Required. The name of the Schedule resource to be deleted. - * Format: - * `projects/{project}/locations/{location}/schedules/{schedule}` - * Please see {@see ScheduleServiceClient::scheduleName()} for help formatting this field. - * - * @return \Google\Cloud\AIPlatform\V1\DeleteScheduleRequest - * - * @experimental - */ - public static function build(string $name): self - { - return (new self()) - ->setName($name); - } - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $name - * Required. The name of the Schedule resource to be deleted. - * Format: - * `projects/{project}/locations/{location}/schedules/{schedule}` - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Cloud\Aiplatform\V1\ScheduleService::initOnce(); - parent::__construct($data); - } - - /** - * Required. The name of the Schedule resource to be deleted. - * Format: - * `projects/{project}/locations/{location}/schedules/{schedule}` - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - * @return string - */ - public function getName() - { - return $this->name; - } - - /** - * Required. The name of the Schedule resource to be deleted. - * Format: - * `projects/{project}/locations/{location}/schedules/{schedule}` - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setName($var) - { - GPBUtil::checkString($var, True); - $this->name = $var; - - return $this; - } - -} - diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/DeleteSpecialistPoolRequest.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/DeleteSpecialistPoolRequest.php deleted file mode 100644 index 4f480e345c69..000000000000 --- a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/DeleteSpecialistPoolRequest.php +++ /dev/null @@ -1,129 +0,0 @@ -google.cloud.aiplatform.v1.DeleteSpecialistPoolRequest - */ -class DeleteSpecialistPoolRequest extends \Google\Protobuf\Internal\Message -{ - /** - * Required. The resource name of the SpecialistPool to delete. Format: - * `projects/{project}/locations/{location}/specialistPools/{specialist_pool}` - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - */ - protected $name = ''; - /** - * If set to true, any specialist managers in this SpecialistPool will also be - * deleted. (Otherwise, the request will only work if the SpecialistPool has - * no specialist managers.) - * - * Generated from protobuf field bool force = 2; - */ - protected $force = false; - - /** - * @param string $name Required. The resource name of the SpecialistPool to delete. Format: - * `projects/{project}/locations/{location}/specialistPools/{specialist_pool}` - * Please see {@see SpecialistPoolServiceClient::specialistPoolName()} for help formatting this field. - * - * @return \Google\Cloud\AIPlatform\V1\DeleteSpecialistPoolRequest - * - * @experimental - */ - public static function build(string $name): self - { - return (new self()) - ->setName($name); - } - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $name - * Required. The resource name of the SpecialistPool to delete. Format: - * `projects/{project}/locations/{location}/specialistPools/{specialist_pool}` - * @type bool $force - * If set to true, any specialist managers in this SpecialistPool will also be - * deleted. (Otherwise, the request will only work if the SpecialistPool has - * no specialist managers.) - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Cloud\Aiplatform\V1\SpecialistPoolService::initOnce(); - parent::__construct($data); - } - - /** - * Required. The resource name of the SpecialistPool to delete. Format: - * `projects/{project}/locations/{location}/specialistPools/{specialist_pool}` - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - * @return string - */ - public function getName() - { - return $this->name; - } - - /** - * Required. The resource name of the SpecialistPool to delete. Format: - * `projects/{project}/locations/{location}/specialistPools/{specialist_pool}` - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setName($var) - { - GPBUtil::checkString($var, True); - $this->name = $var; - - return $this; - } - - /** - * If set to true, any specialist managers in this SpecialistPool will also be - * deleted. (Otherwise, the request will only work if the SpecialistPool has - * no specialist managers.) - * - * Generated from protobuf field bool force = 2; - * @return bool - */ - public function getForce() - { - return $this->force; - } - - /** - * If set to true, any specialist managers in this SpecialistPool will also be - * deleted. (Otherwise, the request will only work if the SpecialistPool has - * no specialist managers.) - * - * Generated from protobuf field bool force = 2; - * @param bool $var - * @return $this - */ - public function setForce($var) - { - GPBUtil::checkBool($var); - $this->force = $var; - - return $this; - } - -} - diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/DeleteStudyRequest.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/DeleteStudyRequest.php deleted file mode 100644 index 64b41f042682..000000000000 --- a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/DeleteStudyRequest.php +++ /dev/null @@ -1,87 +0,0 @@ -google.cloud.aiplatform.v1.DeleteStudyRequest - */ -class DeleteStudyRequest extends \Google\Protobuf\Internal\Message -{ - /** - * Required. The name of the Study resource to be deleted. - * Format: `projects/{project}/locations/{location}/studies/{study}` - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - */ - protected $name = ''; - - /** - * @param string $name Required. The name of the Study resource to be deleted. - * Format: `projects/{project}/locations/{location}/studies/{study}` - * Please see {@see VizierServiceClient::studyName()} for help formatting this field. - * - * @return \Google\Cloud\AIPlatform\V1\DeleteStudyRequest - * - * @experimental - */ - public static function build(string $name): self - { - return (new self()) - ->setName($name); - } - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $name - * Required. The name of the Study resource to be deleted. - * Format: `projects/{project}/locations/{location}/studies/{study}` - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Cloud\Aiplatform\V1\VizierService::initOnce(); - parent::__construct($data); - } - - /** - * Required. The name of the Study resource to be deleted. - * Format: `projects/{project}/locations/{location}/studies/{study}` - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - * @return string - */ - public function getName() - { - return $this->name; - } - - /** - * Required. The name of the Study resource to be deleted. - * Format: `projects/{project}/locations/{location}/studies/{study}` - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setName($var) - { - GPBUtil::checkString($var, True); - $this->name = $var; - - return $this; - } - -} - diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/DeleteTensorboardExperimentRequest.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/DeleteTensorboardExperimentRequest.php deleted file mode 100644 index f35a73540e67..000000000000 --- a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/DeleteTensorboardExperimentRequest.php +++ /dev/null @@ -1,92 +0,0 @@ -google.cloud.aiplatform.v1.DeleteTensorboardExperimentRequest - */ -class DeleteTensorboardExperimentRequest extends \Google\Protobuf\Internal\Message -{ - /** - * Required. The name of the TensorboardExperiment to be deleted. - * Format: - * `projects/{project}/locations/{location}/tensorboards/{tensorboard}/experiments/{experiment}` - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - */ - protected $name = ''; - - /** - * @param string $name Required. The name of the TensorboardExperiment to be deleted. - * Format: - * `projects/{project}/locations/{location}/tensorboards/{tensorboard}/experiments/{experiment}` - * Please see {@see TensorboardServiceClient::tensorboardExperimentName()} for help formatting this field. - * - * @return \Google\Cloud\AIPlatform\V1\DeleteTensorboardExperimentRequest - * - * @experimental - */ - public static function build(string $name): self - { - return (new self()) - ->setName($name); - } - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $name - * Required. The name of the TensorboardExperiment to be deleted. - * Format: - * `projects/{project}/locations/{location}/tensorboards/{tensorboard}/experiments/{experiment}` - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Cloud\Aiplatform\V1\TensorboardService::initOnce(); - parent::__construct($data); - } - - /** - * Required. The name of the TensorboardExperiment to be deleted. - * Format: - * `projects/{project}/locations/{location}/tensorboards/{tensorboard}/experiments/{experiment}` - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - * @return string - */ - public function getName() - { - return $this->name; - } - - /** - * Required. The name of the TensorboardExperiment to be deleted. - * Format: - * `projects/{project}/locations/{location}/tensorboards/{tensorboard}/experiments/{experiment}` - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setName($var) - { - GPBUtil::checkString($var, True); - $this->name = $var; - - return $this; - } - -} - diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/DeleteTensorboardRequest.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/DeleteTensorboardRequest.php deleted file mode 100644 index a7230c9e783a..000000000000 --- a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/DeleteTensorboardRequest.php +++ /dev/null @@ -1,92 +0,0 @@ -google.cloud.aiplatform.v1.DeleteTensorboardRequest - */ -class DeleteTensorboardRequest extends \Google\Protobuf\Internal\Message -{ - /** - * Required. The name of the Tensorboard to be deleted. - * Format: - * `projects/{project}/locations/{location}/tensorboards/{tensorboard}` - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - */ - protected $name = ''; - - /** - * @param string $name Required. The name of the Tensorboard to be deleted. - * Format: - * `projects/{project}/locations/{location}/tensorboards/{tensorboard}` - * Please see {@see TensorboardServiceClient::tensorboardName()} for help formatting this field. - * - * @return \Google\Cloud\AIPlatform\V1\DeleteTensorboardRequest - * - * @experimental - */ - public static function build(string $name): self - { - return (new self()) - ->setName($name); - } - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $name - * Required. The name of the Tensorboard to be deleted. - * Format: - * `projects/{project}/locations/{location}/tensorboards/{tensorboard}` - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Cloud\Aiplatform\V1\TensorboardService::initOnce(); - parent::__construct($data); - } - - /** - * Required. The name of the Tensorboard to be deleted. - * Format: - * `projects/{project}/locations/{location}/tensorboards/{tensorboard}` - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - * @return string - */ - public function getName() - { - return $this->name; - } - - /** - * Required. The name of the Tensorboard to be deleted. - * Format: - * `projects/{project}/locations/{location}/tensorboards/{tensorboard}` - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setName($var) - { - GPBUtil::checkString($var, True); - $this->name = $var; - - return $this; - } - -} - diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/DeleteTensorboardRunRequest.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/DeleteTensorboardRunRequest.php deleted file mode 100644 index f63d3f04fde3..000000000000 --- a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/DeleteTensorboardRunRequest.php +++ /dev/null @@ -1,92 +0,0 @@ -google.cloud.aiplatform.v1.DeleteTensorboardRunRequest - */ -class DeleteTensorboardRunRequest extends \Google\Protobuf\Internal\Message -{ - /** - * Required. The name of the TensorboardRun to be deleted. - * Format: - * `projects/{project}/locations/{location}/tensorboards/{tensorboard}/experiments/{experiment}/runs/{run}` - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - */ - protected $name = ''; - - /** - * @param string $name Required. The name of the TensorboardRun to be deleted. - * Format: - * `projects/{project}/locations/{location}/tensorboards/{tensorboard}/experiments/{experiment}/runs/{run}` - * Please see {@see TensorboardServiceClient::tensorboardRunName()} for help formatting this field. - * - * @return \Google\Cloud\AIPlatform\V1\DeleteTensorboardRunRequest - * - * @experimental - */ - public static function build(string $name): self - { - return (new self()) - ->setName($name); - } - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $name - * Required. The name of the TensorboardRun to be deleted. - * Format: - * `projects/{project}/locations/{location}/tensorboards/{tensorboard}/experiments/{experiment}/runs/{run}` - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Cloud\Aiplatform\V1\TensorboardService::initOnce(); - parent::__construct($data); - } - - /** - * Required. The name of the TensorboardRun to be deleted. - * Format: - * `projects/{project}/locations/{location}/tensorboards/{tensorboard}/experiments/{experiment}/runs/{run}` - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - * @return string - */ - public function getName() - { - return $this->name; - } - - /** - * Required. The name of the TensorboardRun to be deleted. - * Format: - * `projects/{project}/locations/{location}/tensorboards/{tensorboard}/experiments/{experiment}/runs/{run}` - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setName($var) - { - GPBUtil::checkString($var, True); - $this->name = $var; - - return $this; - } - -} - diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/DeleteTensorboardTimeSeriesRequest.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/DeleteTensorboardTimeSeriesRequest.php deleted file mode 100644 index 489585d7153b..000000000000 --- a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/DeleteTensorboardTimeSeriesRequest.php +++ /dev/null @@ -1,92 +0,0 @@ -google.cloud.aiplatform.v1.DeleteTensorboardTimeSeriesRequest - */ -class DeleteTensorboardTimeSeriesRequest extends \Google\Protobuf\Internal\Message -{ - /** - * Required. The name of the TensorboardTimeSeries to be deleted. - * Format: - * `projects/{project}/locations/{location}/tensorboards/{tensorboard}/experiments/{experiment}/runs/{run}/timeSeries/{time_series}` - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - */ - protected $name = ''; - - /** - * @param string $name Required. The name of the TensorboardTimeSeries to be deleted. - * Format: - * `projects/{project}/locations/{location}/tensorboards/{tensorboard}/experiments/{experiment}/runs/{run}/timeSeries/{time_series}` - * Please see {@see TensorboardServiceClient::tensorboardTimeSeriesName()} for help formatting this field. - * - * @return \Google\Cloud\AIPlatform\V1\DeleteTensorboardTimeSeriesRequest - * - * @experimental - */ - public static function build(string $name): self - { - return (new self()) - ->setName($name); - } - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $name - * Required. The name of the TensorboardTimeSeries to be deleted. - * Format: - * `projects/{project}/locations/{location}/tensorboards/{tensorboard}/experiments/{experiment}/runs/{run}/timeSeries/{time_series}` - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Cloud\Aiplatform\V1\TensorboardService::initOnce(); - parent::__construct($data); - } - - /** - * Required. The name of the TensorboardTimeSeries to be deleted. - * Format: - * `projects/{project}/locations/{location}/tensorboards/{tensorboard}/experiments/{experiment}/runs/{run}/timeSeries/{time_series}` - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - * @return string - */ - public function getName() - { - return $this->name; - } - - /** - * Required. The name of the TensorboardTimeSeries to be deleted. - * Format: - * `projects/{project}/locations/{location}/tensorboards/{tensorboard}/experiments/{experiment}/runs/{run}/timeSeries/{time_series}` - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setName($var) - { - GPBUtil::checkString($var, True); - $this->name = $var; - - return $this; - } - -} - diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/DeleteTrainingPipelineRequest.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/DeleteTrainingPipelineRequest.php deleted file mode 100644 index 544aa735599d..000000000000 --- a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/DeleteTrainingPipelineRequest.php +++ /dev/null @@ -1,92 +0,0 @@ -google.cloud.aiplatform.v1.DeleteTrainingPipelineRequest - */ -class DeleteTrainingPipelineRequest extends \Google\Protobuf\Internal\Message -{ - /** - * Required. The name of the TrainingPipeline resource to be deleted. - * Format: - * `projects/{project}/locations/{location}/trainingPipelines/{training_pipeline}` - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - */ - protected $name = ''; - - /** - * @param string $name Required. The name of the TrainingPipeline resource to be deleted. - * Format: - * `projects/{project}/locations/{location}/trainingPipelines/{training_pipeline}` - * Please see {@see PipelineServiceClient::trainingPipelineName()} for help formatting this field. - * - * @return \Google\Cloud\AIPlatform\V1\DeleteTrainingPipelineRequest - * - * @experimental - */ - public static function build(string $name): self - { - return (new self()) - ->setName($name); - } - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $name - * Required. The name of the TrainingPipeline resource to be deleted. - * Format: - * `projects/{project}/locations/{location}/trainingPipelines/{training_pipeline}` - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Cloud\Aiplatform\V1\PipelineService::initOnce(); - parent::__construct($data); - } - - /** - * Required. The name of the TrainingPipeline resource to be deleted. - * Format: - * `projects/{project}/locations/{location}/trainingPipelines/{training_pipeline}` - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - * @return string - */ - public function getName() - { - return $this->name; - } - - /** - * Required. The name of the TrainingPipeline resource to be deleted. - * Format: - * `projects/{project}/locations/{location}/trainingPipelines/{training_pipeline}` - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setName($var) - { - GPBUtil::checkString($var, True); - $this->name = $var; - - return $this; - } - -} - diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/DeleteTrialRequest.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/DeleteTrialRequest.php deleted file mode 100644 index a392aa91f814..000000000000 --- a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/DeleteTrialRequest.php +++ /dev/null @@ -1,92 +0,0 @@ -google.cloud.aiplatform.v1.DeleteTrialRequest - */ -class DeleteTrialRequest extends \Google\Protobuf\Internal\Message -{ - /** - * Required. The Trial's name. - * Format: - * `projects/{project}/locations/{location}/studies/{study}/trials/{trial}` - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - */ - protected $name = ''; - - /** - * @param string $name Required. The Trial's name. - * Format: - * `projects/{project}/locations/{location}/studies/{study}/trials/{trial}` - * Please see {@see VizierServiceClient::trialName()} for help formatting this field. - * - * @return \Google\Cloud\AIPlatform\V1\DeleteTrialRequest - * - * @experimental - */ - public static function build(string $name): self - { - return (new self()) - ->setName($name); - } - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $name - * Required. The Trial's name. - * Format: - * `projects/{project}/locations/{location}/studies/{study}/trials/{trial}` - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Cloud\Aiplatform\V1\VizierService::initOnce(); - parent::__construct($data); - } - - /** - * Required. The Trial's name. - * Format: - * `projects/{project}/locations/{location}/studies/{study}/trials/{trial}` - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - * @return string - */ - public function getName() - { - return $this->name; - } - - /** - * Required. The Trial's name. - * Format: - * `projects/{project}/locations/{location}/studies/{study}/trials/{trial}` - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setName($var) - { - GPBUtil::checkString($var, True); - $this->name = $var; - - return $this; - } - -} - diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/DeployIndexOperationMetadata.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/DeployIndexOperationMetadata.php deleted file mode 100644 index 359d23294621..000000000000 --- a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/DeployIndexOperationMetadata.php +++ /dev/null @@ -1,112 +0,0 @@ -google.cloud.aiplatform.v1.DeployIndexOperationMetadata - */ -class DeployIndexOperationMetadata extends \Google\Protobuf\Internal\Message -{ - /** - * The operation generic information. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.GenericOperationMetadata generic_metadata = 1; - */ - protected $generic_metadata = null; - /** - * The unique index id specified by user - * - * Generated from protobuf field string deployed_index_id = 2; - */ - protected $deployed_index_id = ''; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type \Google\Cloud\AIPlatform\V1\GenericOperationMetadata $generic_metadata - * The operation generic information. - * @type string $deployed_index_id - * The unique index id specified by user - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Cloud\Aiplatform\V1\IndexEndpointService::initOnce(); - parent::__construct($data); - } - - /** - * The operation generic information. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.GenericOperationMetadata generic_metadata = 1; - * @return \Google\Cloud\AIPlatform\V1\GenericOperationMetadata|null - */ - public function getGenericMetadata() - { - return $this->generic_metadata; - } - - public function hasGenericMetadata() - { - return isset($this->generic_metadata); - } - - public function clearGenericMetadata() - { - unset($this->generic_metadata); - } - - /** - * The operation generic information. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.GenericOperationMetadata generic_metadata = 1; - * @param \Google\Cloud\AIPlatform\V1\GenericOperationMetadata $var - * @return $this - */ - public function setGenericMetadata($var) - { - GPBUtil::checkMessage($var, \Google\Cloud\AIPlatform\V1\GenericOperationMetadata::class); - $this->generic_metadata = $var; - - return $this; - } - - /** - * The unique index id specified by user - * - * Generated from protobuf field string deployed_index_id = 2; - * @return string - */ - public function getDeployedIndexId() - { - return $this->deployed_index_id; - } - - /** - * The unique index id specified by user - * - * Generated from protobuf field string deployed_index_id = 2; - * @param string $var - * @return $this - */ - public function setDeployedIndexId($var) - { - GPBUtil::checkString($var, True); - $this->deployed_index_id = $var; - - return $this; - } - -} - diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/DeployIndexRequest.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/DeployIndexRequest.php deleted file mode 100644 index d47467ec9876..000000000000 --- a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/DeployIndexRequest.php +++ /dev/null @@ -1,138 +0,0 @@ -google.cloud.aiplatform.v1.DeployIndexRequest - */ -class DeployIndexRequest extends \Google\Protobuf\Internal\Message -{ - /** - * Required. The name of the IndexEndpoint resource into which to deploy an - * Index. Format: - * `projects/{project}/locations/{location}/indexEndpoints/{index_endpoint}` - * - * Generated from protobuf field string index_endpoint = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - */ - protected $index_endpoint = ''; - /** - * Required. The DeployedIndex to be created within the IndexEndpoint. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.DeployedIndex deployed_index = 2 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $deployed_index = null; - - /** - * @param string $indexEndpoint Required. The name of the IndexEndpoint resource into which to deploy an - * Index. Format: - * `projects/{project}/locations/{location}/indexEndpoints/{index_endpoint}` - * Please see {@see IndexEndpointServiceClient::indexEndpointName()} for help formatting this field. - * @param \Google\Cloud\AIPlatform\V1\DeployedIndex $deployedIndex Required. The DeployedIndex to be created within the IndexEndpoint. - * - * @return \Google\Cloud\AIPlatform\V1\DeployIndexRequest - * - * @experimental - */ - public static function build(string $indexEndpoint, \Google\Cloud\AIPlatform\V1\DeployedIndex $deployedIndex): self - { - return (new self()) - ->setIndexEndpoint($indexEndpoint) - ->setDeployedIndex($deployedIndex); - } - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $index_endpoint - * Required. The name of the IndexEndpoint resource into which to deploy an - * Index. Format: - * `projects/{project}/locations/{location}/indexEndpoints/{index_endpoint}` - * @type \Google\Cloud\AIPlatform\V1\DeployedIndex $deployed_index - * Required. The DeployedIndex to be created within the IndexEndpoint. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Cloud\Aiplatform\V1\IndexEndpointService::initOnce(); - parent::__construct($data); - } - - /** - * Required. The name of the IndexEndpoint resource into which to deploy an - * Index. Format: - * `projects/{project}/locations/{location}/indexEndpoints/{index_endpoint}` - * - * Generated from protobuf field string index_endpoint = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - * @return string - */ - public function getIndexEndpoint() - { - return $this->index_endpoint; - } - - /** - * Required. The name of the IndexEndpoint resource into which to deploy an - * Index. Format: - * `projects/{project}/locations/{location}/indexEndpoints/{index_endpoint}` - * - * Generated from protobuf field string index_endpoint = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setIndexEndpoint($var) - { - GPBUtil::checkString($var, True); - $this->index_endpoint = $var; - - return $this; - } - - /** - * Required. The DeployedIndex to be created within the IndexEndpoint. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.DeployedIndex deployed_index = 2 [(.google.api.field_behavior) = REQUIRED]; - * @return \Google\Cloud\AIPlatform\V1\DeployedIndex|null - */ - public function getDeployedIndex() - { - return $this->deployed_index; - } - - public function hasDeployedIndex() - { - return isset($this->deployed_index); - } - - public function clearDeployedIndex() - { - unset($this->deployed_index); - } - - /** - * Required. The DeployedIndex to be created within the IndexEndpoint. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.DeployedIndex deployed_index = 2 [(.google.api.field_behavior) = REQUIRED]; - * @param \Google\Cloud\AIPlatform\V1\DeployedIndex $var - * @return $this - */ - public function setDeployedIndex($var) - { - GPBUtil::checkMessage($var, \Google\Cloud\AIPlatform\V1\DeployedIndex::class); - $this->deployed_index = $var; - - return $this; - } - -} - diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/DeployIndexResponse.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/DeployIndexResponse.php deleted file mode 100644 index fc3b10e89fb9..000000000000 --- a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/DeployIndexResponse.php +++ /dev/null @@ -1,78 +0,0 @@ -google.cloud.aiplatform.v1.DeployIndexResponse - */ -class DeployIndexResponse extends \Google\Protobuf\Internal\Message -{ - /** - * The DeployedIndex that had been deployed in the IndexEndpoint. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.DeployedIndex deployed_index = 1; - */ - protected $deployed_index = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type \Google\Cloud\AIPlatform\V1\DeployedIndex $deployed_index - * The DeployedIndex that had been deployed in the IndexEndpoint. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Cloud\Aiplatform\V1\IndexEndpointService::initOnce(); - parent::__construct($data); - } - - /** - * The DeployedIndex that had been deployed in the IndexEndpoint. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.DeployedIndex deployed_index = 1; - * @return \Google\Cloud\AIPlatform\V1\DeployedIndex|null - */ - public function getDeployedIndex() - { - return $this->deployed_index; - } - - public function hasDeployedIndex() - { - return isset($this->deployed_index); - } - - public function clearDeployedIndex() - { - unset($this->deployed_index); - } - - /** - * The DeployedIndex that had been deployed in the IndexEndpoint. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.DeployedIndex deployed_index = 1; - * @param \Google\Cloud\AIPlatform\V1\DeployedIndex $var - * @return $this - */ - public function setDeployedIndex($var) - { - GPBUtil::checkMessage($var, \Google\Cloud\AIPlatform\V1\DeployedIndex::class); - $this->deployed_index = $var; - - return $this; - } - -} - diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/DeployModelOperationMetadata.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/DeployModelOperationMetadata.php deleted file mode 100644 index 96c212eb21e1..000000000000 --- a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/DeployModelOperationMetadata.php +++ /dev/null @@ -1,78 +0,0 @@ -google.cloud.aiplatform.v1.DeployModelOperationMetadata - */ -class DeployModelOperationMetadata extends \Google\Protobuf\Internal\Message -{ - /** - * The operation generic information. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.GenericOperationMetadata generic_metadata = 1; - */ - protected $generic_metadata = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type \Google\Cloud\AIPlatform\V1\GenericOperationMetadata $generic_metadata - * The operation generic information. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Cloud\Aiplatform\V1\EndpointService::initOnce(); - parent::__construct($data); - } - - /** - * The operation generic information. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.GenericOperationMetadata generic_metadata = 1; - * @return \Google\Cloud\AIPlatform\V1\GenericOperationMetadata|null - */ - public function getGenericMetadata() - { - return $this->generic_metadata; - } - - public function hasGenericMetadata() - { - return isset($this->generic_metadata); - } - - public function clearGenericMetadata() - { - unset($this->generic_metadata); - } - - /** - * The operation generic information. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.GenericOperationMetadata generic_metadata = 1; - * @param \Google\Cloud\AIPlatform\V1\GenericOperationMetadata $var - * @return $this - */ - public function setGenericMetadata($var) - { - GPBUtil::checkMessage($var, \Google\Cloud\AIPlatform\V1\GenericOperationMetadata::class); - $this->generic_metadata = $var; - - return $this; - } - -} - diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/DeployModelRequest.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/DeployModelRequest.php deleted file mode 100644 index e044c3fef64d..000000000000 --- a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/DeployModelRequest.php +++ /dev/null @@ -1,246 +0,0 @@ -google.cloud.aiplatform.v1.DeployModelRequest - */ -class DeployModelRequest extends \Google\Protobuf\Internal\Message -{ - /** - * Required. The name of the Endpoint resource into which to deploy a Model. - * Format: - * `projects/{project}/locations/{location}/endpoints/{endpoint}` - * - * Generated from protobuf field string endpoint = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - */ - protected $endpoint = ''; - /** - * Required. The DeployedModel to be created within the Endpoint. Note that - * [Endpoint.traffic_split][google.cloud.aiplatform.v1.Endpoint.traffic_split] - * must be updated for the DeployedModel to start receiving traffic, either as - * part of this call, or via - * [EndpointService.UpdateEndpoint][google.cloud.aiplatform.v1.EndpointService.UpdateEndpoint]. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.DeployedModel deployed_model = 2 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $deployed_model = null; - /** - * A map from a DeployedModel's ID to the percentage of this Endpoint's - * traffic that should be forwarded to that DeployedModel. - * If this field is non-empty, then the Endpoint's - * [traffic_split][google.cloud.aiplatform.v1.Endpoint.traffic_split] will be - * overwritten with it. To refer to the ID of the just being deployed Model, a - * "0" should be used, and the actual ID of the new DeployedModel will be - * filled in its place by this method. The traffic percentage values must add - * up to 100. - * If this field is empty, then the Endpoint's - * [traffic_split][google.cloud.aiplatform.v1.Endpoint.traffic_split] is not - * updated. - * - * Generated from protobuf field map traffic_split = 3; - */ - private $traffic_split; - - /** - * @param string $endpoint Required. The name of the Endpoint resource into which to deploy a Model. - * Format: - * `projects/{project}/locations/{location}/endpoints/{endpoint}` - * Please see {@see EndpointServiceClient::endpointName()} for help formatting this field. - * @param \Google\Cloud\AIPlatform\V1\DeployedModel $deployedModel Required. The DeployedModel to be created within the Endpoint. Note that - * [Endpoint.traffic_split][google.cloud.aiplatform.v1.Endpoint.traffic_split] - * must be updated for the DeployedModel to start receiving traffic, either as - * part of this call, or via - * [EndpointService.UpdateEndpoint][google.cloud.aiplatform.v1.EndpointService.UpdateEndpoint]. - * @param array $trafficSplit A map from a DeployedModel's ID to the percentage of this Endpoint's - * traffic that should be forwarded to that DeployedModel. - * - * If this field is non-empty, then the Endpoint's - * [traffic_split][google.cloud.aiplatform.v1.Endpoint.traffic_split] will be - * overwritten with it. To refer to the ID of the just being deployed Model, a - * "0" should be used, and the actual ID of the new DeployedModel will be - * filled in its place by this method. The traffic percentage values must add - * up to 100. - * - * If this field is empty, then the Endpoint's - * [traffic_split][google.cloud.aiplatform.v1.Endpoint.traffic_split] is not - * updated. - * - * @return \Google\Cloud\AIPlatform\V1\DeployModelRequest - * - * @experimental - */ - public static function build(string $endpoint, \Google\Cloud\AIPlatform\V1\DeployedModel $deployedModel, array $trafficSplit): self - { - return (new self()) - ->setEndpoint($endpoint) - ->setDeployedModel($deployedModel) - ->setTrafficSplit($trafficSplit); - } - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $endpoint - * Required. The name of the Endpoint resource into which to deploy a Model. - * Format: - * `projects/{project}/locations/{location}/endpoints/{endpoint}` - * @type \Google\Cloud\AIPlatform\V1\DeployedModel $deployed_model - * Required. The DeployedModel to be created within the Endpoint. Note that - * [Endpoint.traffic_split][google.cloud.aiplatform.v1.Endpoint.traffic_split] - * must be updated for the DeployedModel to start receiving traffic, either as - * part of this call, or via - * [EndpointService.UpdateEndpoint][google.cloud.aiplatform.v1.EndpointService.UpdateEndpoint]. - * @type array|\Google\Protobuf\Internal\MapField $traffic_split - * A map from a DeployedModel's ID to the percentage of this Endpoint's - * traffic that should be forwarded to that DeployedModel. - * If this field is non-empty, then the Endpoint's - * [traffic_split][google.cloud.aiplatform.v1.Endpoint.traffic_split] will be - * overwritten with it. To refer to the ID of the just being deployed Model, a - * "0" should be used, and the actual ID of the new DeployedModel will be - * filled in its place by this method. The traffic percentage values must add - * up to 100. - * If this field is empty, then the Endpoint's - * [traffic_split][google.cloud.aiplatform.v1.Endpoint.traffic_split] is not - * updated. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Cloud\Aiplatform\V1\EndpointService::initOnce(); - parent::__construct($data); - } - - /** - * Required. The name of the Endpoint resource into which to deploy a Model. - * Format: - * `projects/{project}/locations/{location}/endpoints/{endpoint}` - * - * Generated from protobuf field string endpoint = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - * @return string - */ - public function getEndpoint() - { - return $this->endpoint; - } - - /** - * Required. The name of the Endpoint resource into which to deploy a Model. - * Format: - * `projects/{project}/locations/{location}/endpoints/{endpoint}` - * - * Generated from protobuf field string endpoint = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setEndpoint($var) - { - GPBUtil::checkString($var, True); - $this->endpoint = $var; - - return $this; - } - - /** - * Required. The DeployedModel to be created within the Endpoint. Note that - * [Endpoint.traffic_split][google.cloud.aiplatform.v1.Endpoint.traffic_split] - * must be updated for the DeployedModel to start receiving traffic, either as - * part of this call, or via - * [EndpointService.UpdateEndpoint][google.cloud.aiplatform.v1.EndpointService.UpdateEndpoint]. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.DeployedModel deployed_model = 2 [(.google.api.field_behavior) = REQUIRED]; - * @return \Google\Cloud\AIPlatform\V1\DeployedModel|null - */ - public function getDeployedModel() - { - return $this->deployed_model; - } - - public function hasDeployedModel() - { - return isset($this->deployed_model); - } - - public function clearDeployedModel() - { - unset($this->deployed_model); - } - - /** - * Required. The DeployedModel to be created within the Endpoint. Note that - * [Endpoint.traffic_split][google.cloud.aiplatform.v1.Endpoint.traffic_split] - * must be updated for the DeployedModel to start receiving traffic, either as - * part of this call, or via - * [EndpointService.UpdateEndpoint][google.cloud.aiplatform.v1.EndpointService.UpdateEndpoint]. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.DeployedModel deployed_model = 2 [(.google.api.field_behavior) = REQUIRED]; - * @param \Google\Cloud\AIPlatform\V1\DeployedModel $var - * @return $this - */ - public function setDeployedModel($var) - { - GPBUtil::checkMessage($var, \Google\Cloud\AIPlatform\V1\DeployedModel::class); - $this->deployed_model = $var; - - return $this; - } - - /** - * A map from a DeployedModel's ID to the percentage of this Endpoint's - * traffic that should be forwarded to that DeployedModel. - * If this field is non-empty, then the Endpoint's - * [traffic_split][google.cloud.aiplatform.v1.Endpoint.traffic_split] will be - * overwritten with it. To refer to the ID of the just being deployed Model, a - * "0" should be used, and the actual ID of the new DeployedModel will be - * filled in its place by this method. The traffic percentage values must add - * up to 100. - * If this field is empty, then the Endpoint's - * [traffic_split][google.cloud.aiplatform.v1.Endpoint.traffic_split] is not - * updated. - * - * Generated from protobuf field map traffic_split = 3; - * @return \Google\Protobuf\Internal\MapField - */ - public function getTrafficSplit() - { - return $this->traffic_split; - } - - /** - * A map from a DeployedModel's ID to the percentage of this Endpoint's - * traffic that should be forwarded to that DeployedModel. - * If this field is non-empty, then the Endpoint's - * [traffic_split][google.cloud.aiplatform.v1.Endpoint.traffic_split] will be - * overwritten with it. To refer to the ID of the just being deployed Model, a - * "0" should be used, and the actual ID of the new DeployedModel will be - * filled in its place by this method. The traffic percentage values must add - * up to 100. - * If this field is empty, then the Endpoint's - * [traffic_split][google.cloud.aiplatform.v1.Endpoint.traffic_split] is not - * updated. - * - * Generated from protobuf field map traffic_split = 3; - * @param array|\Google\Protobuf\Internal\MapField $var - * @return $this - */ - public function setTrafficSplit($var) - { - $arr = GPBUtil::checkMapField($var, \Google\Protobuf\Internal\GPBType::STRING, \Google\Protobuf\Internal\GPBType::INT32); - $this->traffic_split = $arr; - - return $this; - } - -} - diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/DeployModelResponse.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/DeployModelResponse.php deleted file mode 100644 index affc801ec33e..000000000000 --- a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/DeployModelResponse.php +++ /dev/null @@ -1,78 +0,0 @@ -google.cloud.aiplatform.v1.DeployModelResponse - */ -class DeployModelResponse extends \Google\Protobuf\Internal\Message -{ - /** - * The DeployedModel that had been deployed in the Endpoint. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.DeployedModel deployed_model = 1; - */ - protected $deployed_model = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type \Google\Cloud\AIPlatform\V1\DeployedModel $deployed_model - * The DeployedModel that had been deployed in the Endpoint. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Cloud\Aiplatform\V1\EndpointService::initOnce(); - parent::__construct($data); - } - - /** - * The DeployedModel that had been deployed in the Endpoint. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.DeployedModel deployed_model = 1; - * @return \Google\Cloud\AIPlatform\V1\DeployedModel|null - */ - public function getDeployedModel() - { - return $this->deployed_model; - } - - public function hasDeployedModel() - { - return isset($this->deployed_model); - } - - public function clearDeployedModel() - { - unset($this->deployed_model); - } - - /** - * The DeployedModel that had been deployed in the Endpoint. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.DeployedModel deployed_model = 1; - * @param \Google\Cloud\AIPlatform\V1\DeployedModel $var - * @return $this - */ - public function setDeployedModel($var) - { - GPBUtil::checkMessage($var, \Google\Cloud\AIPlatform\V1\DeployedModel::class); - $this->deployed_model = $var; - - return $this; - } - -} - diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/DeployedIndex.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/DeployedIndex.php deleted file mode 100644 index ea468ed0facc..000000000000 --- a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/DeployedIndex.php +++ /dev/null @@ -1,757 +0,0 @@ -google.cloud.aiplatform.v1.DeployedIndex - */ -class DeployedIndex extends \Google\Protobuf\Internal\Message -{ - /** - * Required. The user specified ID of the DeployedIndex. - * The ID can be up to 128 characters long and must start with a letter and - * only contain letters, numbers, and underscores. - * The ID must be unique within the project it is created in. - * - * Generated from protobuf field string id = 1 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $id = ''; - /** - * Required. The name of the Index this is the deployment of. - * We may refer to this Index as the DeployedIndex's "original" Index. - * - * Generated from protobuf field string index = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - */ - protected $index = ''; - /** - * The display name of the DeployedIndex. If not provided upon creation, - * the Index's display_name is used. - * - * Generated from protobuf field string display_name = 3; - */ - protected $display_name = ''; - /** - * Output only. Timestamp when the DeployedIndex was created. - * - * Generated from protobuf field .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $create_time = null; - /** - * Output only. Provides paths for users to send requests directly to the - * deployed index services running on Cloud via private services access. This - * field is populated if - * [network][google.cloud.aiplatform.v1.IndexEndpoint.network] is configured. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.IndexPrivateEndpoints private_endpoints = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $private_endpoints = null; - /** - * Output only. The DeployedIndex may depend on various data on its original - * Index. Additionally when certain changes to the original Index are being - * done (e.g. when what the Index contains is being changed) the DeployedIndex - * may be asynchronously updated in the background to reflect these changes. - * If this timestamp's value is at least the - * [Index.update_time][google.cloud.aiplatform.v1.Index.update_time] of the - * original Index, it means that this DeployedIndex and the original Index are - * in sync. If this timestamp is older, then to see which updates this - * DeployedIndex already contains (and which it does not), one must - * [list][google.longrunning.Operations.ListOperations] the operations that - * are running on the original Index. Only the successfully completed - * Operations with - * [update_time][google.cloud.aiplatform.v1.GenericOperationMetadata.update_time] - * equal or before this sync time are contained in this DeployedIndex. - * - * Generated from protobuf field .google.protobuf.Timestamp index_sync_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $index_sync_time = null; - /** - * Optional. A description of resources that the DeployedIndex uses, which to - * large degree are decided by Vertex AI, and optionally allows only a modest - * additional configuration. - * If min_replica_count is not set, the default value is 2 (we don't provide - * SLA when min_replica_count=1). If max_replica_count is not set, the - * default value is min_replica_count. The max allowed replica count is - * 1000. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.AutomaticResources automatic_resources = 7 [(.google.api.field_behavior) = OPTIONAL]; - */ - protected $automatic_resources = null; - /** - * Optional. A description of resources that are dedicated to the - * DeployedIndex, and that need a higher degree of manual configuration. The - * field min_replica_count must be set to a value strictly greater than 0, or - * else validation will fail. We don't provide SLA when min_replica_count=1. - * If max_replica_count is not set, the default value is min_replica_count. - * The max allowed replica count is 1000. - * Available machine types for SMALL shard: - * e2-standard-2 and all machine types available for MEDIUM and LARGE shard. - * Available machine types for MEDIUM shard: - * e2-standard-16 and all machine types available for LARGE shard. - * Available machine types for LARGE shard: - * e2-highmem-16, n2d-standard-32. - * n1-standard-16 and n1-standard-32 are still available, but we recommend - * e2-standard-16 and e2-highmem-16 for cost efficiency. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.DedicatedResources dedicated_resources = 16 [(.google.api.field_behavior) = OPTIONAL]; - */ - protected $dedicated_resources = null; - /** - * Optional. If true, private endpoint's access logs are sent to Cloud - * Logging. - * These logs are like standard server access logs, containing - * information like timestamp and latency for each MatchRequest. - * Note that logs may incur a cost, especially if the deployed - * index receives a high queries per second rate (QPS). - * Estimate your costs before enabling this option. - * - * Generated from protobuf field bool enable_access_logging = 8 [(.google.api.field_behavior) = OPTIONAL]; - */ - protected $enable_access_logging = false; - /** - * Optional. If set, the authentication is enabled for the private endpoint. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.DeployedIndexAuthConfig deployed_index_auth_config = 9 [(.google.api.field_behavior) = OPTIONAL]; - */ - protected $deployed_index_auth_config = null; - /** - * Optional. A list of reserved ip ranges under the VPC network that can be - * used for this DeployedIndex. - * If set, we will deploy the index within the provided ip ranges. Otherwise, - * the index might be deployed to any ip ranges under the provided VPC - * network. - * The value should be the name of the address - * (https://cloud.google.com/compute/docs/reference/rest/v1/addresses) - * Example: ['vertex-ai-ip-range']. - * For more information about subnets and network IP ranges, please see - * https://cloud.google.com/vpc/docs/subnets#manually_created_subnet_ip_ranges. - * - * Generated from protobuf field repeated string reserved_ip_ranges = 10 [(.google.api.field_behavior) = OPTIONAL]; - */ - private $reserved_ip_ranges; - /** - * Optional. The deployment group can be no longer than 64 characters (eg: - * 'test', 'prod'). If not set, we will use the 'default' deployment group. - * Creating `deployment_groups` with `reserved_ip_ranges` is a recommended - * practice when the peered network has multiple peering ranges. This creates - * your deployments from predictable IP spaces for easier traffic - * administration. Also, one deployment_group (except 'default') can only be - * used with the same reserved_ip_ranges which means if the deployment_group - * has been used with reserved_ip_ranges: [a, b, c], using it with [a, b] or - * [d, e] is disallowed. - * Note: we only support up to 5 deployment groups(not including 'default'). - * - * Generated from protobuf field string deployment_group = 11 [(.google.api.field_behavior) = OPTIONAL]; - */ - protected $deployment_group = ''; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $id - * Required. The user specified ID of the DeployedIndex. - * The ID can be up to 128 characters long and must start with a letter and - * only contain letters, numbers, and underscores. - * The ID must be unique within the project it is created in. - * @type string $index - * Required. The name of the Index this is the deployment of. - * We may refer to this Index as the DeployedIndex's "original" Index. - * @type string $display_name - * The display name of the DeployedIndex. If not provided upon creation, - * the Index's display_name is used. - * @type \Google\Protobuf\Timestamp $create_time - * Output only. Timestamp when the DeployedIndex was created. - * @type \Google\Cloud\AIPlatform\V1\IndexPrivateEndpoints $private_endpoints - * Output only. Provides paths for users to send requests directly to the - * deployed index services running on Cloud via private services access. This - * field is populated if - * [network][google.cloud.aiplatform.v1.IndexEndpoint.network] is configured. - * @type \Google\Protobuf\Timestamp $index_sync_time - * Output only. The DeployedIndex may depend on various data on its original - * Index. Additionally when certain changes to the original Index are being - * done (e.g. when what the Index contains is being changed) the DeployedIndex - * may be asynchronously updated in the background to reflect these changes. - * If this timestamp's value is at least the - * [Index.update_time][google.cloud.aiplatform.v1.Index.update_time] of the - * original Index, it means that this DeployedIndex and the original Index are - * in sync. If this timestamp is older, then to see which updates this - * DeployedIndex already contains (and which it does not), one must - * [list][google.longrunning.Operations.ListOperations] the operations that - * are running on the original Index. Only the successfully completed - * Operations with - * [update_time][google.cloud.aiplatform.v1.GenericOperationMetadata.update_time] - * equal or before this sync time are contained in this DeployedIndex. - * @type \Google\Cloud\AIPlatform\V1\AutomaticResources $automatic_resources - * Optional. A description of resources that the DeployedIndex uses, which to - * large degree are decided by Vertex AI, and optionally allows only a modest - * additional configuration. - * If min_replica_count is not set, the default value is 2 (we don't provide - * SLA when min_replica_count=1). If max_replica_count is not set, the - * default value is min_replica_count. The max allowed replica count is - * 1000. - * @type \Google\Cloud\AIPlatform\V1\DedicatedResources $dedicated_resources - * Optional. A description of resources that are dedicated to the - * DeployedIndex, and that need a higher degree of manual configuration. The - * field min_replica_count must be set to a value strictly greater than 0, or - * else validation will fail. We don't provide SLA when min_replica_count=1. - * If max_replica_count is not set, the default value is min_replica_count. - * The max allowed replica count is 1000. - * Available machine types for SMALL shard: - * e2-standard-2 and all machine types available for MEDIUM and LARGE shard. - * Available machine types for MEDIUM shard: - * e2-standard-16 and all machine types available for LARGE shard. - * Available machine types for LARGE shard: - * e2-highmem-16, n2d-standard-32. - * n1-standard-16 and n1-standard-32 are still available, but we recommend - * e2-standard-16 and e2-highmem-16 for cost efficiency. - * @type bool $enable_access_logging - * Optional. If true, private endpoint's access logs are sent to Cloud - * Logging. - * These logs are like standard server access logs, containing - * information like timestamp and latency for each MatchRequest. - * Note that logs may incur a cost, especially if the deployed - * index receives a high queries per second rate (QPS). - * Estimate your costs before enabling this option. - * @type \Google\Cloud\AIPlatform\V1\DeployedIndexAuthConfig $deployed_index_auth_config - * Optional. If set, the authentication is enabled for the private endpoint. - * @type array|\Google\Protobuf\Internal\RepeatedField $reserved_ip_ranges - * Optional. A list of reserved ip ranges under the VPC network that can be - * used for this DeployedIndex. - * If set, we will deploy the index within the provided ip ranges. Otherwise, - * the index might be deployed to any ip ranges under the provided VPC - * network. - * The value should be the name of the address - * (https://cloud.google.com/compute/docs/reference/rest/v1/addresses) - * Example: ['vertex-ai-ip-range']. - * For more information about subnets and network IP ranges, please see - * https://cloud.google.com/vpc/docs/subnets#manually_created_subnet_ip_ranges. - * @type string $deployment_group - * Optional. The deployment group can be no longer than 64 characters (eg: - * 'test', 'prod'). If not set, we will use the 'default' deployment group. - * Creating `deployment_groups` with `reserved_ip_ranges` is a recommended - * practice when the peered network has multiple peering ranges. This creates - * your deployments from predictable IP spaces for easier traffic - * administration. Also, one deployment_group (except 'default') can only be - * used with the same reserved_ip_ranges which means if the deployment_group - * has been used with reserved_ip_ranges: [a, b, c], using it with [a, b] or - * [d, e] is disallowed. - * Note: we only support up to 5 deployment groups(not including 'default'). - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Cloud\Aiplatform\V1\IndexEndpoint::initOnce(); - parent::__construct($data); - } - - /** - * Required. The user specified ID of the DeployedIndex. - * The ID can be up to 128 characters long and must start with a letter and - * only contain letters, numbers, and underscores. - * The ID must be unique within the project it is created in. - * - * Generated from protobuf field string id = 1 [(.google.api.field_behavior) = REQUIRED]; - * @return string - */ - public function getId() - { - return $this->id; - } - - /** - * Required. The user specified ID of the DeployedIndex. - * The ID can be up to 128 characters long and must start with a letter and - * only contain letters, numbers, and underscores. - * The ID must be unique within the project it is created in. - * - * Generated from protobuf field string id = 1 [(.google.api.field_behavior) = REQUIRED]; - * @param string $var - * @return $this - */ - public function setId($var) - { - GPBUtil::checkString($var, True); - $this->id = $var; - - return $this; - } - - /** - * Required. The name of the Index this is the deployment of. - * We may refer to this Index as the DeployedIndex's "original" Index. - * - * Generated from protobuf field string index = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - * @return string - */ - public function getIndex() - { - return $this->index; - } - - /** - * Required. The name of the Index this is the deployment of. - * We may refer to this Index as the DeployedIndex's "original" Index. - * - * Generated from protobuf field string index = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setIndex($var) - { - GPBUtil::checkString($var, True); - $this->index = $var; - - return $this; - } - - /** - * The display name of the DeployedIndex. If not provided upon creation, - * the Index's display_name is used. - * - * Generated from protobuf field string display_name = 3; - * @return string - */ - public function getDisplayName() - { - return $this->display_name; - } - - /** - * The display name of the DeployedIndex. If not provided upon creation, - * the Index's display_name is used. - * - * Generated from protobuf field string display_name = 3; - * @param string $var - * @return $this - */ - public function setDisplayName($var) - { - GPBUtil::checkString($var, True); - $this->display_name = $var; - - return $this; - } - - /** - * Output only. Timestamp when the DeployedIndex was created. - * - * Generated from protobuf field .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return \Google\Protobuf\Timestamp|null - */ - public function getCreateTime() - { - return $this->create_time; - } - - public function hasCreateTime() - { - return isset($this->create_time); - } - - public function clearCreateTime() - { - unset($this->create_time); - } - - /** - * Output only. Timestamp when the DeployedIndex was created. - * - * Generated from protobuf field .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param \Google\Protobuf\Timestamp $var - * @return $this - */ - public function setCreateTime($var) - { - GPBUtil::checkMessage($var, \Google\Protobuf\Timestamp::class); - $this->create_time = $var; - - return $this; - } - - /** - * Output only. Provides paths for users to send requests directly to the - * deployed index services running on Cloud via private services access. This - * field is populated if - * [network][google.cloud.aiplatform.v1.IndexEndpoint.network] is configured. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.IndexPrivateEndpoints private_endpoints = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return \Google\Cloud\AIPlatform\V1\IndexPrivateEndpoints|null - */ - public function getPrivateEndpoints() - { - return $this->private_endpoints; - } - - public function hasPrivateEndpoints() - { - return isset($this->private_endpoints); - } - - public function clearPrivateEndpoints() - { - unset($this->private_endpoints); - } - - /** - * Output only. Provides paths for users to send requests directly to the - * deployed index services running on Cloud via private services access. This - * field is populated if - * [network][google.cloud.aiplatform.v1.IndexEndpoint.network] is configured. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.IndexPrivateEndpoints private_endpoints = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param \Google\Cloud\AIPlatform\V1\IndexPrivateEndpoints $var - * @return $this - */ - public function setPrivateEndpoints($var) - { - GPBUtil::checkMessage($var, \Google\Cloud\AIPlatform\V1\IndexPrivateEndpoints::class); - $this->private_endpoints = $var; - - return $this; - } - - /** - * Output only. The DeployedIndex may depend on various data on its original - * Index. Additionally when certain changes to the original Index are being - * done (e.g. when what the Index contains is being changed) the DeployedIndex - * may be asynchronously updated in the background to reflect these changes. - * If this timestamp's value is at least the - * [Index.update_time][google.cloud.aiplatform.v1.Index.update_time] of the - * original Index, it means that this DeployedIndex and the original Index are - * in sync. If this timestamp is older, then to see which updates this - * DeployedIndex already contains (and which it does not), one must - * [list][google.longrunning.Operations.ListOperations] the operations that - * are running on the original Index. Only the successfully completed - * Operations with - * [update_time][google.cloud.aiplatform.v1.GenericOperationMetadata.update_time] - * equal or before this sync time are contained in this DeployedIndex. - * - * Generated from protobuf field .google.protobuf.Timestamp index_sync_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return \Google\Protobuf\Timestamp|null - */ - public function getIndexSyncTime() - { - return $this->index_sync_time; - } - - public function hasIndexSyncTime() - { - return isset($this->index_sync_time); - } - - public function clearIndexSyncTime() - { - unset($this->index_sync_time); - } - - /** - * Output only. The DeployedIndex may depend on various data on its original - * Index. Additionally when certain changes to the original Index are being - * done (e.g. when what the Index contains is being changed) the DeployedIndex - * may be asynchronously updated in the background to reflect these changes. - * If this timestamp's value is at least the - * [Index.update_time][google.cloud.aiplatform.v1.Index.update_time] of the - * original Index, it means that this DeployedIndex and the original Index are - * in sync. If this timestamp is older, then to see which updates this - * DeployedIndex already contains (and which it does not), one must - * [list][google.longrunning.Operations.ListOperations] the operations that - * are running on the original Index. Only the successfully completed - * Operations with - * [update_time][google.cloud.aiplatform.v1.GenericOperationMetadata.update_time] - * equal or before this sync time are contained in this DeployedIndex. - * - * Generated from protobuf field .google.protobuf.Timestamp index_sync_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param \Google\Protobuf\Timestamp $var - * @return $this - */ - public function setIndexSyncTime($var) - { - GPBUtil::checkMessage($var, \Google\Protobuf\Timestamp::class); - $this->index_sync_time = $var; - - return $this; - } - - /** - * Optional. A description of resources that the DeployedIndex uses, which to - * large degree are decided by Vertex AI, and optionally allows only a modest - * additional configuration. - * If min_replica_count is not set, the default value is 2 (we don't provide - * SLA when min_replica_count=1). If max_replica_count is not set, the - * default value is min_replica_count. The max allowed replica count is - * 1000. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.AutomaticResources automatic_resources = 7 [(.google.api.field_behavior) = OPTIONAL]; - * @return \Google\Cloud\AIPlatform\V1\AutomaticResources|null - */ - public function getAutomaticResources() - { - return $this->automatic_resources; - } - - public function hasAutomaticResources() - { - return isset($this->automatic_resources); - } - - public function clearAutomaticResources() - { - unset($this->automatic_resources); - } - - /** - * Optional. A description of resources that the DeployedIndex uses, which to - * large degree are decided by Vertex AI, and optionally allows only a modest - * additional configuration. - * If min_replica_count is not set, the default value is 2 (we don't provide - * SLA when min_replica_count=1). If max_replica_count is not set, the - * default value is min_replica_count. The max allowed replica count is - * 1000. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.AutomaticResources automatic_resources = 7 [(.google.api.field_behavior) = OPTIONAL]; - * @param \Google\Cloud\AIPlatform\V1\AutomaticResources $var - * @return $this - */ - public function setAutomaticResources($var) - { - GPBUtil::checkMessage($var, \Google\Cloud\AIPlatform\V1\AutomaticResources::class); - $this->automatic_resources = $var; - - return $this; - } - - /** - * Optional. A description of resources that are dedicated to the - * DeployedIndex, and that need a higher degree of manual configuration. The - * field min_replica_count must be set to a value strictly greater than 0, or - * else validation will fail. We don't provide SLA when min_replica_count=1. - * If max_replica_count is not set, the default value is min_replica_count. - * The max allowed replica count is 1000. - * Available machine types for SMALL shard: - * e2-standard-2 and all machine types available for MEDIUM and LARGE shard. - * Available machine types for MEDIUM shard: - * e2-standard-16 and all machine types available for LARGE shard. - * Available machine types for LARGE shard: - * e2-highmem-16, n2d-standard-32. - * n1-standard-16 and n1-standard-32 are still available, but we recommend - * e2-standard-16 and e2-highmem-16 for cost efficiency. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.DedicatedResources dedicated_resources = 16 [(.google.api.field_behavior) = OPTIONAL]; - * @return \Google\Cloud\AIPlatform\V1\DedicatedResources|null - */ - public function getDedicatedResources() - { - return $this->dedicated_resources; - } - - public function hasDedicatedResources() - { - return isset($this->dedicated_resources); - } - - public function clearDedicatedResources() - { - unset($this->dedicated_resources); - } - - /** - * Optional. A description of resources that are dedicated to the - * DeployedIndex, and that need a higher degree of manual configuration. The - * field min_replica_count must be set to a value strictly greater than 0, or - * else validation will fail. We don't provide SLA when min_replica_count=1. - * If max_replica_count is not set, the default value is min_replica_count. - * The max allowed replica count is 1000. - * Available machine types for SMALL shard: - * e2-standard-2 and all machine types available for MEDIUM and LARGE shard. - * Available machine types for MEDIUM shard: - * e2-standard-16 and all machine types available for LARGE shard. - * Available machine types for LARGE shard: - * e2-highmem-16, n2d-standard-32. - * n1-standard-16 and n1-standard-32 are still available, but we recommend - * e2-standard-16 and e2-highmem-16 for cost efficiency. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.DedicatedResources dedicated_resources = 16 [(.google.api.field_behavior) = OPTIONAL]; - * @param \Google\Cloud\AIPlatform\V1\DedicatedResources $var - * @return $this - */ - public function setDedicatedResources($var) - { - GPBUtil::checkMessage($var, \Google\Cloud\AIPlatform\V1\DedicatedResources::class); - $this->dedicated_resources = $var; - - return $this; - } - - /** - * Optional. If true, private endpoint's access logs are sent to Cloud - * Logging. - * These logs are like standard server access logs, containing - * information like timestamp and latency for each MatchRequest. - * Note that logs may incur a cost, especially if the deployed - * index receives a high queries per second rate (QPS). - * Estimate your costs before enabling this option. - * - * Generated from protobuf field bool enable_access_logging = 8 [(.google.api.field_behavior) = OPTIONAL]; - * @return bool - */ - public function getEnableAccessLogging() - { - return $this->enable_access_logging; - } - - /** - * Optional. If true, private endpoint's access logs are sent to Cloud - * Logging. - * These logs are like standard server access logs, containing - * information like timestamp and latency for each MatchRequest. - * Note that logs may incur a cost, especially if the deployed - * index receives a high queries per second rate (QPS). - * Estimate your costs before enabling this option. - * - * Generated from protobuf field bool enable_access_logging = 8 [(.google.api.field_behavior) = OPTIONAL]; - * @param bool $var - * @return $this - */ - public function setEnableAccessLogging($var) - { - GPBUtil::checkBool($var); - $this->enable_access_logging = $var; - - return $this; - } - - /** - * Optional. If set, the authentication is enabled for the private endpoint. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.DeployedIndexAuthConfig deployed_index_auth_config = 9 [(.google.api.field_behavior) = OPTIONAL]; - * @return \Google\Cloud\AIPlatform\V1\DeployedIndexAuthConfig|null - */ - public function getDeployedIndexAuthConfig() - { - return $this->deployed_index_auth_config; - } - - public function hasDeployedIndexAuthConfig() - { - return isset($this->deployed_index_auth_config); - } - - public function clearDeployedIndexAuthConfig() - { - unset($this->deployed_index_auth_config); - } - - /** - * Optional. If set, the authentication is enabled for the private endpoint. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.DeployedIndexAuthConfig deployed_index_auth_config = 9 [(.google.api.field_behavior) = OPTIONAL]; - * @param \Google\Cloud\AIPlatform\V1\DeployedIndexAuthConfig $var - * @return $this - */ - public function setDeployedIndexAuthConfig($var) - { - GPBUtil::checkMessage($var, \Google\Cloud\AIPlatform\V1\DeployedIndexAuthConfig::class); - $this->deployed_index_auth_config = $var; - - return $this; - } - - /** - * Optional. A list of reserved ip ranges under the VPC network that can be - * used for this DeployedIndex. - * If set, we will deploy the index within the provided ip ranges. Otherwise, - * the index might be deployed to any ip ranges under the provided VPC - * network. - * The value should be the name of the address - * (https://cloud.google.com/compute/docs/reference/rest/v1/addresses) - * Example: ['vertex-ai-ip-range']. - * For more information about subnets and network IP ranges, please see - * https://cloud.google.com/vpc/docs/subnets#manually_created_subnet_ip_ranges. - * - * Generated from protobuf field repeated string reserved_ip_ranges = 10 [(.google.api.field_behavior) = OPTIONAL]; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getReservedIpRanges() - { - return $this->reserved_ip_ranges; - } - - /** - * Optional. A list of reserved ip ranges under the VPC network that can be - * used for this DeployedIndex. - * If set, we will deploy the index within the provided ip ranges. Otherwise, - * the index might be deployed to any ip ranges under the provided VPC - * network. - * The value should be the name of the address - * (https://cloud.google.com/compute/docs/reference/rest/v1/addresses) - * Example: ['vertex-ai-ip-range']. - * For more information about subnets and network IP ranges, please see - * https://cloud.google.com/vpc/docs/subnets#manually_created_subnet_ip_ranges. - * - * Generated from protobuf field repeated string reserved_ip_ranges = 10 [(.google.api.field_behavior) = OPTIONAL]; - * @param array|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setReservedIpRanges($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING); - $this->reserved_ip_ranges = $arr; - - return $this; - } - - /** - * Optional. The deployment group can be no longer than 64 characters (eg: - * 'test', 'prod'). If not set, we will use the 'default' deployment group. - * Creating `deployment_groups` with `reserved_ip_ranges` is a recommended - * practice when the peered network has multiple peering ranges. This creates - * your deployments from predictable IP spaces for easier traffic - * administration. Also, one deployment_group (except 'default') can only be - * used with the same reserved_ip_ranges which means if the deployment_group - * has been used with reserved_ip_ranges: [a, b, c], using it with [a, b] or - * [d, e] is disallowed. - * Note: we only support up to 5 deployment groups(not including 'default'). - * - * Generated from protobuf field string deployment_group = 11 [(.google.api.field_behavior) = OPTIONAL]; - * @return string - */ - public function getDeploymentGroup() - { - return $this->deployment_group; - } - - /** - * Optional. The deployment group can be no longer than 64 characters (eg: - * 'test', 'prod'). If not set, we will use the 'default' deployment group. - * Creating `deployment_groups` with `reserved_ip_ranges` is a recommended - * practice when the peered network has multiple peering ranges. This creates - * your deployments from predictable IP spaces for easier traffic - * administration. Also, one deployment_group (except 'default') can only be - * used with the same reserved_ip_ranges which means if the deployment_group - * has been used with reserved_ip_ranges: [a, b, c], using it with [a, b] or - * [d, e] is disallowed. - * Note: we only support up to 5 deployment groups(not including 'default'). - * - * Generated from protobuf field string deployment_group = 11 [(.google.api.field_behavior) = OPTIONAL]; - * @param string $var - * @return $this - */ - public function setDeploymentGroup($var) - { - GPBUtil::checkString($var, True); - $this->deployment_group = $var; - - return $this; - } - -} - diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/DeployedIndexAuthConfig.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/DeployedIndexAuthConfig.php deleted file mode 100644 index fb9017e62156..000000000000 --- a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/DeployedIndexAuthConfig.php +++ /dev/null @@ -1,77 +0,0 @@ -google.cloud.aiplatform.v1.DeployedIndexAuthConfig - */ -class DeployedIndexAuthConfig extends \Google\Protobuf\Internal\Message -{ - /** - * Defines the authentication provider that the DeployedIndex uses. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.DeployedIndexAuthConfig.AuthProvider auth_provider = 1; - */ - protected $auth_provider = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type \Google\Cloud\AIPlatform\V1\DeployedIndexAuthConfig\AuthProvider $auth_provider - * Defines the authentication provider that the DeployedIndex uses. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Cloud\Aiplatform\V1\IndexEndpoint::initOnce(); - parent::__construct($data); - } - - /** - * Defines the authentication provider that the DeployedIndex uses. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.DeployedIndexAuthConfig.AuthProvider auth_provider = 1; - * @return \Google\Cloud\AIPlatform\V1\DeployedIndexAuthConfig\AuthProvider|null - */ - public function getAuthProvider() - { - return $this->auth_provider; - } - - public function hasAuthProvider() - { - return isset($this->auth_provider); - } - - public function clearAuthProvider() - { - unset($this->auth_provider); - } - - /** - * Defines the authentication provider that the DeployedIndex uses. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.DeployedIndexAuthConfig.AuthProvider auth_provider = 1; - * @param \Google\Cloud\AIPlatform\V1\DeployedIndexAuthConfig\AuthProvider $var - * @return $this - */ - public function setAuthProvider($var) - { - GPBUtil::checkMessage($var, \Google\Cloud\AIPlatform\V1\DeployedIndexAuthConfig\AuthProvider::class); - $this->auth_provider = $var; - - return $this; - } - -} - diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/DeployedIndexAuthConfig/AuthProvider.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/DeployedIndexAuthConfig/AuthProvider.php deleted file mode 100644 index 4397246103e2..000000000000 --- a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/DeployedIndexAuthConfig/AuthProvider.php +++ /dev/null @@ -1,126 +0,0 @@ -google.cloud.aiplatform.v1.DeployedIndexAuthConfig.AuthProvider - */ -class AuthProvider extends \Google\Protobuf\Internal\Message -{ - /** - * The list of JWT - * [audiences](https://tools.ietf.org/html/draft-ietf-oauth-json-web-token-32#section-4.1.3). - * that are allowed to access. A JWT containing any of these audiences will - * be accepted. - * - * Generated from protobuf field repeated string audiences = 1; - */ - private $audiences; - /** - * A list of allowed JWT issuers. Each entry must be a valid Google - * service account, in the following format: - * `service-account-name@project-id.iam.gserviceaccount.com` - * - * Generated from protobuf field repeated string allowed_issuers = 2; - */ - private $allowed_issuers; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type array|\Google\Protobuf\Internal\RepeatedField $audiences - * The list of JWT - * [audiences](https://tools.ietf.org/html/draft-ietf-oauth-json-web-token-32#section-4.1.3). - * that are allowed to access. A JWT containing any of these audiences will - * be accepted. - * @type array|\Google\Protobuf\Internal\RepeatedField $allowed_issuers - * A list of allowed JWT issuers. Each entry must be a valid Google - * service account, in the following format: - * `service-account-name@project-id.iam.gserviceaccount.com` - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Cloud\Aiplatform\V1\IndexEndpoint::initOnce(); - parent::__construct($data); - } - - /** - * The list of JWT - * [audiences](https://tools.ietf.org/html/draft-ietf-oauth-json-web-token-32#section-4.1.3). - * that are allowed to access. A JWT containing any of these audiences will - * be accepted. - * - * Generated from protobuf field repeated string audiences = 1; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getAudiences() - { - return $this->audiences; - } - - /** - * The list of JWT - * [audiences](https://tools.ietf.org/html/draft-ietf-oauth-json-web-token-32#section-4.1.3). - * that are allowed to access. A JWT containing any of these audiences will - * be accepted. - * - * Generated from protobuf field repeated string audiences = 1; - * @param array|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setAudiences($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING); - $this->audiences = $arr; - - return $this; - } - - /** - * A list of allowed JWT issuers. Each entry must be a valid Google - * service account, in the following format: - * `service-account-name@project-id.iam.gserviceaccount.com` - * - * Generated from protobuf field repeated string allowed_issuers = 2; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getAllowedIssuers() - { - return $this->allowed_issuers; - } - - /** - * A list of allowed JWT issuers. Each entry must be a valid Google - * service account, in the following format: - * `service-account-name@project-id.iam.gserviceaccount.com` - * - * Generated from protobuf field repeated string allowed_issuers = 2; - * @param array|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setAllowedIssuers($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING); - $this->allowed_issuers = $arr; - - return $this; - } - -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(AuthProvider::class, \Google\Cloud\AIPlatform\V1\DeployedIndexAuthConfig_AuthProvider::class); - diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/DeployedIndexRef.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/DeployedIndexRef.php deleted file mode 100644 index a27c56b931f1..000000000000 --- a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/DeployedIndexRef.php +++ /dev/null @@ -1,135 +0,0 @@ -google.cloud.aiplatform.v1.DeployedIndexRef - */ -class DeployedIndexRef extends \Google\Protobuf\Internal\Message -{ - /** - * Immutable. A resource name of the IndexEndpoint. - * - * Generated from protobuf field string index_endpoint = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - */ - protected $index_endpoint = ''; - /** - * Immutable. The ID of the DeployedIndex in the above IndexEndpoint. - * - * Generated from protobuf field string deployed_index_id = 2 [(.google.api.field_behavior) = IMMUTABLE]; - */ - protected $deployed_index_id = ''; - /** - * Output only. The display name of the DeployedIndex. - * - * Generated from protobuf field string display_name = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $display_name = ''; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $index_endpoint - * Immutable. A resource name of the IndexEndpoint. - * @type string $deployed_index_id - * Immutable. The ID of the DeployedIndex in the above IndexEndpoint. - * @type string $display_name - * Output only. The display name of the DeployedIndex. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Cloud\Aiplatform\V1\DeployedIndexRef::initOnce(); - parent::__construct($data); - } - - /** - * Immutable. A resource name of the IndexEndpoint. - * - * Generated from protobuf field string index_endpoint = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - * @return string - */ - public function getIndexEndpoint() - { - return $this->index_endpoint; - } - - /** - * Immutable. A resource name of the IndexEndpoint. - * - * Generated from protobuf field string index_endpoint = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setIndexEndpoint($var) - { - GPBUtil::checkString($var, True); - $this->index_endpoint = $var; - - return $this; - } - - /** - * Immutable. The ID of the DeployedIndex in the above IndexEndpoint. - * - * Generated from protobuf field string deployed_index_id = 2 [(.google.api.field_behavior) = IMMUTABLE]; - * @return string - */ - public function getDeployedIndexId() - { - return $this->deployed_index_id; - } - - /** - * Immutable. The ID of the DeployedIndex in the above IndexEndpoint. - * - * Generated from protobuf field string deployed_index_id = 2 [(.google.api.field_behavior) = IMMUTABLE]; - * @param string $var - * @return $this - */ - public function setDeployedIndexId($var) - { - GPBUtil::checkString($var, True); - $this->deployed_index_id = $var; - - return $this; - } - - /** - * Output only. The display name of the DeployedIndex. - * - * Generated from protobuf field string display_name = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return string - */ - public function getDisplayName() - { - return $this->display_name; - } - - /** - * Output only. The display name of the DeployedIndex. - * - * Generated from protobuf field string display_name = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param string $var - * @return $this - */ - public function setDisplayName($var) - { - GPBUtil::checkString($var, True); - $this->display_name = $var; - - return $this; - } - -} - diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/DeployedModel.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/DeployedModel.php deleted file mode 100644 index 13ddf1690b1d..000000000000 --- a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/DeployedModel.php +++ /dev/null @@ -1,753 +0,0 @@ -google.cloud.aiplatform.v1.DeployedModel - */ -class DeployedModel extends \Google\Protobuf\Internal\Message -{ - /** - * Immutable. The ID of the DeployedModel. If not provided upon deployment, - * Vertex AI will generate a value for this ID. - * This value should be 1-10 characters, and valid characters are `/[0-9]/`. - * - * Generated from protobuf field string id = 1 [(.google.api.field_behavior) = IMMUTABLE]; - */ - protected $id = ''; - /** - * Required. The resource name of the Model that this is the deployment of. - * Note that the Model may be in a different location than the DeployedModel's - * Endpoint. - * The resource name may contain version id or version alias to specify the - * version. - * Example: `projects/{project}/locations/{location}/models/{model}@2` - * or - * `projects/{project}/locations/{location}/models/{model}@golden` - * if no version is specified, the default version will be deployed. - * - * Generated from protobuf field string model = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - */ - protected $model = ''; - /** - * Output only. The version ID of the model that is deployed. - * - * Generated from protobuf field string model_version_id = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $model_version_id = ''; - /** - * The display name of the DeployedModel. If not provided upon creation, - * the Model's display_name is used. - * - * Generated from protobuf field string display_name = 3; - */ - protected $display_name = ''; - /** - * Output only. Timestamp when the DeployedModel was created. - * - * Generated from protobuf field .google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $create_time = null; - /** - * Explanation configuration for this DeployedModel. - * When deploying a Model using - * [EndpointService.DeployModel][google.cloud.aiplatform.v1.EndpointService.DeployModel], - * this value overrides the value of - * [Model.explanation_spec][google.cloud.aiplatform.v1.Model.explanation_spec]. - * All fields of - * [explanation_spec][google.cloud.aiplatform.v1.DeployedModel.explanation_spec] - * are optional in the request. If a field of - * [explanation_spec][google.cloud.aiplatform.v1.DeployedModel.explanation_spec] - * is not populated, the value of the same field of - * [Model.explanation_spec][google.cloud.aiplatform.v1.Model.explanation_spec] - * is inherited. If the corresponding - * [Model.explanation_spec][google.cloud.aiplatform.v1.Model.explanation_spec] - * is not populated, all fields of the - * [explanation_spec][google.cloud.aiplatform.v1.DeployedModel.explanation_spec] - * will be used for the explanation configuration. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.ExplanationSpec explanation_spec = 9; - */ - protected $explanation_spec = null; - /** - * If true, deploy the model without explainable feature, regardless the - * existence of - * [Model.explanation_spec][google.cloud.aiplatform.v1.Model.explanation_spec] - * or - * [explanation_spec][google.cloud.aiplatform.v1.DeployedModel.explanation_spec]. - * - * Generated from protobuf field bool disable_explanations = 19; - */ - protected $disable_explanations = false; - /** - * The service account that the DeployedModel's container runs as. Specify the - * email address of the service account. If this service account is not - * specified, the container runs as a service account that doesn't have access - * to the resource project. - * Users deploying the Model must have the `iam.serviceAccounts.actAs` - * permission on this service account. - * - * Generated from protobuf field string service_account = 11; - */ - protected $service_account = ''; - /** - * For custom-trained Models and AutoML Tabular Models, the container of the - * DeployedModel instances will send `stderr` and `stdout` streams to - * Cloud Logging by default. Please note that the logs incur cost, - * which are subject to [Cloud Logging - * pricing](https://cloud.google.com/logging/pricing). - * User can disable container logging by setting this flag to true. - * - * Generated from protobuf field bool disable_container_logging = 15; - */ - protected $disable_container_logging = false; - /** - * If true, online prediction access logs are sent to Cloud - * Logging. - * These logs are like standard server access logs, containing - * information like timestamp and latency for each prediction request. - * Note that logs may incur a cost, especially if your project - * receives prediction requests at a high queries per second rate (QPS). - * Estimate your costs before enabling this option. - * - * Generated from protobuf field bool enable_access_logging = 13; - */ - protected $enable_access_logging = false; - /** - * Output only. Provide paths for users to send predict/explain/health - * requests directly to the deployed model services running on Cloud via - * private services access. This field is populated if - * [network][google.cloud.aiplatform.v1.Endpoint.network] is configured. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.PrivateEndpoints private_endpoints = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $private_endpoints = null; - protected $prediction_resources; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type \Google\Cloud\AIPlatform\V1\DedicatedResources $dedicated_resources - * A description of resources that are dedicated to the DeployedModel, and - * that need a higher degree of manual configuration. - * @type \Google\Cloud\AIPlatform\V1\AutomaticResources $automatic_resources - * A description of resources that to large degree are decided by Vertex - * AI, and require only a modest additional configuration. - * @type string $shared_resources - * The resource name of the shared DeploymentResourcePool to deploy on. - * Format: - * `projects/{project}/locations/{location}/deploymentResourcePools/{deployment_resource_pool}` - * @type string $id - * Immutable. The ID of the DeployedModel. If not provided upon deployment, - * Vertex AI will generate a value for this ID. - * This value should be 1-10 characters, and valid characters are `/[0-9]/`. - * @type string $model - * Required. The resource name of the Model that this is the deployment of. - * Note that the Model may be in a different location than the DeployedModel's - * Endpoint. - * The resource name may contain version id or version alias to specify the - * version. - * Example: `projects/{project}/locations/{location}/models/{model}@2` - * or - * `projects/{project}/locations/{location}/models/{model}@golden` - * if no version is specified, the default version will be deployed. - * @type string $model_version_id - * Output only. The version ID of the model that is deployed. - * @type string $display_name - * The display name of the DeployedModel. If not provided upon creation, - * the Model's display_name is used. - * @type \Google\Protobuf\Timestamp $create_time - * Output only. Timestamp when the DeployedModel was created. - * @type \Google\Cloud\AIPlatform\V1\ExplanationSpec $explanation_spec - * Explanation configuration for this DeployedModel. - * When deploying a Model using - * [EndpointService.DeployModel][google.cloud.aiplatform.v1.EndpointService.DeployModel], - * this value overrides the value of - * [Model.explanation_spec][google.cloud.aiplatform.v1.Model.explanation_spec]. - * All fields of - * [explanation_spec][google.cloud.aiplatform.v1.DeployedModel.explanation_spec] - * are optional in the request. If a field of - * [explanation_spec][google.cloud.aiplatform.v1.DeployedModel.explanation_spec] - * is not populated, the value of the same field of - * [Model.explanation_spec][google.cloud.aiplatform.v1.Model.explanation_spec] - * is inherited. If the corresponding - * [Model.explanation_spec][google.cloud.aiplatform.v1.Model.explanation_spec] - * is not populated, all fields of the - * [explanation_spec][google.cloud.aiplatform.v1.DeployedModel.explanation_spec] - * will be used for the explanation configuration. - * @type bool $disable_explanations - * If true, deploy the model without explainable feature, regardless the - * existence of - * [Model.explanation_spec][google.cloud.aiplatform.v1.Model.explanation_spec] - * or - * [explanation_spec][google.cloud.aiplatform.v1.DeployedModel.explanation_spec]. - * @type string $service_account - * The service account that the DeployedModel's container runs as. Specify the - * email address of the service account. If this service account is not - * specified, the container runs as a service account that doesn't have access - * to the resource project. - * Users deploying the Model must have the `iam.serviceAccounts.actAs` - * permission on this service account. - * @type bool $disable_container_logging - * For custom-trained Models and AutoML Tabular Models, the container of the - * DeployedModel instances will send `stderr` and `stdout` streams to - * Cloud Logging by default. Please note that the logs incur cost, - * which are subject to [Cloud Logging - * pricing](https://cloud.google.com/logging/pricing). - * User can disable container logging by setting this flag to true. - * @type bool $enable_access_logging - * If true, online prediction access logs are sent to Cloud - * Logging. - * These logs are like standard server access logs, containing - * information like timestamp and latency for each prediction request. - * Note that logs may incur a cost, especially if your project - * receives prediction requests at a high queries per second rate (QPS). - * Estimate your costs before enabling this option. - * @type \Google\Cloud\AIPlatform\V1\PrivateEndpoints $private_endpoints - * Output only. Provide paths for users to send predict/explain/health - * requests directly to the deployed model services running on Cloud via - * private services access. This field is populated if - * [network][google.cloud.aiplatform.v1.Endpoint.network] is configured. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Cloud\Aiplatform\V1\Endpoint::initOnce(); - parent::__construct($data); - } - - /** - * A description of resources that are dedicated to the DeployedModel, and - * that need a higher degree of manual configuration. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.DedicatedResources dedicated_resources = 7; - * @return \Google\Cloud\AIPlatform\V1\DedicatedResources|null - */ - public function getDedicatedResources() - { - return $this->readOneof(7); - } - - public function hasDedicatedResources() - { - return $this->hasOneof(7); - } - - /** - * A description of resources that are dedicated to the DeployedModel, and - * that need a higher degree of manual configuration. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.DedicatedResources dedicated_resources = 7; - * @param \Google\Cloud\AIPlatform\V1\DedicatedResources $var - * @return $this - */ - public function setDedicatedResources($var) - { - GPBUtil::checkMessage($var, \Google\Cloud\AIPlatform\V1\DedicatedResources::class); - $this->writeOneof(7, $var); - - return $this; - } - - /** - * A description of resources that to large degree are decided by Vertex - * AI, and require only a modest additional configuration. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.AutomaticResources automatic_resources = 8; - * @return \Google\Cloud\AIPlatform\V1\AutomaticResources|null - */ - public function getAutomaticResources() - { - return $this->readOneof(8); - } - - public function hasAutomaticResources() - { - return $this->hasOneof(8); - } - - /** - * A description of resources that to large degree are decided by Vertex - * AI, and require only a modest additional configuration. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.AutomaticResources automatic_resources = 8; - * @param \Google\Cloud\AIPlatform\V1\AutomaticResources $var - * @return $this - */ - public function setAutomaticResources($var) - { - GPBUtil::checkMessage($var, \Google\Cloud\AIPlatform\V1\AutomaticResources::class); - $this->writeOneof(8, $var); - - return $this; - } - - /** - * The resource name of the shared DeploymentResourcePool to deploy on. - * Format: - * `projects/{project}/locations/{location}/deploymentResourcePools/{deployment_resource_pool}` - * - * Generated from protobuf field string shared_resources = 17 [(.google.api.resource_reference) = { - * @return string - */ - public function getSharedResources() - { - return $this->readOneof(17); - } - - public function hasSharedResources() - { - return $this->hasOneof(17); - } - - /** - * The resource name of the shared DeploymentResourcePool to deploy on. - * Format: - * `projects/{project}/locations/{location}/deploymentResourcePools/{deployment_resource_pool}` - * - * Generated from protobuf field string shared_resources = 17 [(.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setSharedResources($var) - { - GPBUtil::checkString($var, True); - $this->writeOneof(17, $var); - - return $this; - } - - /** - * Immutable. The ID of the DeployedModel. If not provided upon deployment, - * Vertex AI will generate a value for this ID. - * This value should be 1-10 characters, and valid characters are `/[0-9]/`. - * - * Generated from protobuf field string id = 1 [(.google.api.field_behavior) = IMMUTABLE]; - * @return string - */ - public function getId() - { - return $this->id; - } - - /** - * Immutable. The ID of the DeployedModel. If not provided upon deployment, - * Vertex AI will generate a value for this ID. - * This value should be 1-10 characters, and valid characters are `/[0-9]/`. - * - * Generated from protobuf field string id = 1 [(.google.api.field_behavior) = IMMUTABLE]; - * @param string $var - * @return $this - */ - public function setId($var) - { - GPBUtil::checkString($var, True); - $this->id = $var; - - return $this; - } - - /** - * Required. The resource name of the Model that this is the deployment of. - * Note that the Model may be in a different location than the DeployedModel's - * Endpoint. - * The resource name may contain version id or version alias to specify the - * version. - * Example: `projects/{project}/locations/{location}/models/{model}@2` - * or - * `projects/{project}/locations/{location}/models/{model}@golden` - * if no version is specified, the default version will be deployed. - * - * Generated from protobuf field string model = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - * @return string - */ - public function getModel() - { - return $this->model; - } - - /** - * Required. The resource name of the Model that this is the deployment of. - * Note that the Model may be in a different location than the DeployedModel's - * Endpoint. - * The resource name may contain version id or version alias to specify the - * version. - * Example: `projects/{project}/locations/{location}/models/{model}@2` - * or - * `projects/{project}/locations/{location}/models/{model}@golden` - * if no version is specified, the default version will be deployed. - * - * Generated from protobuf field string model = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setModel($var) - { - GPBUtil::checkString($var, True); - $this->model = $var; - - return $this; - } - - /** - * Output only. The version ID of the model that is deployed. - * - * Generated from protobuf field string model_version_id = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return string - */ - public function getModelVersionId() - { - return $this->model_version_id; - } - - /** - * Output only. The version ID of the model that is deployed. - * - * Generated from protobuf field string model_version_id = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param string $var - * @return $this - */ - public function setModelVersionId($var) - { - GPBUtil::checkString($var, True); - $this->model_version_id = $var; - - return $this; - } - - /** - * The display name of the DeployedModel. If not provided upon creation, - * the Model's display_name is used. - * - * Generated from protobuf field string display_name = 3; - * @return string - */ - public function getDisplayName() - { - return $this->display_name; - } - - /** - * The display name of the DeployedModel. If not provided upon creation, - * the Model's display_name is used. - * - * Generated from protobuf field string display_name = 3; - * @param string $var - * @return $this - */ - public function setDisplayName($var) - { - GPBUtil::checkString($var, True); - $this->display_name = $var; - - return $this; - } - - /** - * Output only. Timestamp when the DeployedModel was created. - * - * Generated from protobuf field .google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return \Google\Protobuf\Timestamp|null - */ - public function getCreateTime() - { - return $this->create_time; - } - - public function hasCreateTime() - { - return isset($this->create_time); - } - - public function clearCreateTime() - { - unset($this->create_time); - } - - /** - * Output only. Timestamp when the DeployedModel was created. - * - * Generated from protobuf field .google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param \Google\Protobuf\Timestamp $var - * @return $this - */ - public function setCreateTime($var) - { - GPBUtil::checkMessage($var, \Google\Protobuf\Timestamp::class); - $this->create_time = $var; - - return $this; - } - - /** - * Explanation configuration for this DeployedModel. - * When deploying a Model using - * [EndpointService.DeployModel][google.cloud.aiplatform.v1.EndpointService.DeployModel], - * this value overrides the value of - * [Model.explanation_spec][google.cloud.aiplatform.v1.Model.explanation_spec]. - * All fields of - * [explanation_spec][google.cloud.aiplatform.v1.DeployedModel.explanation_spec] - * are optional in the request. If a field of - * [explanation_spec][google.cloud.aiplatform.v1.DeployedModel.explanation_spec] - * is not populated, the value of the same field of - * [Model.explanation_spec][google.cloud.aiplatform.v1.Model.explanation_spec] - * is inherited. If the corresponding - * [Model.explanation_spec][google.cloud.aiplatform.v1.Model.explanation_spec] - * is not populated, all fields of the - * [explanation_spec][google.cloud.aiplatform.v1.DeployedModel.explanation_spec] - * will be used for the explanation configuration. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.ExplanationSpec explanation_spec = 9; - * @return \Google\Cloud\AIPlatform\V1\ExplanationSpec|null - */ - public function getExplanationSpec() - { - return $this->explanation_spec; - } - - public function hasExplanationSpec() - { - return isset($this->explanation_spec); - } - - public function clearExplanationSpec() - { - unset($this->explanation_spec); - } - - /** - * Explanation configuration for this DeployedModel. - * When deploying a Model using - * [EndpointService.DeployModel][google.cloud.aiplatform.v1.EndpointService.DeployModel], - * this value overrides the value of - * [Model.explanation_spec][google.cloud.aiplatform.v1.Model.explanation_spec]. - * All fields of - * [explanation_spec][google.cloud.aiplatform.v1.DeployedModel.explanation_spec] - * are optional in the request. If a field of - * [explanation_spec][google.cloud.aiplatform.v1.DeployedModel.explanation_spec] - * is not populated, the value of the same field of - * [Model.explanation_spec][google.cloud.aiplatform.v1.Model.explanation_spec] - * is inherited. If the corresponding - * [Model.explanation_spec][google.cloud.aiplatform.v1.Model.explanation_spec] - * is not populated, all fields of the - * [explanation_spec][google.cloud.aiplatform.v1.DeployedModel.explanation_spec] - * will be used for the explanation configuration. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.ExplanationSpec explanation_spec = 9; - * @param \Google\Cloud\AIPlatform\V1\ExplanationSpec $var - * @return $this - */ - public function setExplanationSpec($var) - { - GPBUtil::checkMessage($var, \Google\Cloud\AIPlatform\V1\ExplanationSpec::class); - $this->explanation_spec = $var; - - return $this; - } - - /** - * If true, deploy the model without explainable feature, regardless the - * existence of - * [Model.explanation_spec][google.cloud.aiplatform.v1.Model.explanation_spec] - * or - * [explanation_spec][google.cloud.aiplatform.v1.DeployedModel.explanation_spec]. - * - * Generated from protobuf field bool disable_explanations = 19; - * @return bool - */ - public function getDisableExplanations() - { - return $this->disable_explanations; - } - - /** - * If true, deploy the model without explainable feature, regardless the - * existence of - * [Model.explanation_spec][google.cloud.aiplatform.v1.Model.explanation_spec] - * or - * [explanation_spec][google.cloud.aiplatform.v1.DeployedModel.explanation_spec]. - * - * Generated from protobuf field bool disable_explanations = 19; - * @param bool $var - * @return $this - */ - public function setDisableExplanations($var) - { - GPBUtil::checkBool($var); - $this->disable_explanations = $var; - - return $this; - } - - /** - * The service account that the DeployedModel's container runs as. Specify the - * email address of the service account. If this service account is not - * specified, the container runs as a service account that doesn't have access - * to the resource project. - * Users deploying the Model must have the `iam.serviceAccounts.actAs` - * permission on this service account. - * - * Generated from protobuf field string service_account = 11; - * @return string - */ - public function getServiceAccount() - { - return $this->service_account; - } - - /** - * The service account that the DeployedModel's container runs as. Specify the - * email address of the service account. If this service account is not - * specified, the container runs as a service account that doesn't have access - * to the resource project. - * Users deploying the Model must have the `iam.serviceAccounts.actAs` - * permission on this service account. - * - * Generated from protobuf field string service_account = 11; - * @param string $var - * @return $this - */ - public function setServiceAccount($var) - { - GPBUtil::checkString($var, True); - $this->service_account = $var; - - return $this; - } - - /** - * For custom-trained Models and AutoML Tabular Models, the container of the - * DeployedModel instances will send `stderr` and `stdout` streams to - * Cloud Logging by default. Please note that the logs incur cost, - * which are subject to [Cloud Logging - * pricing](https://cloud.google.com/logging/pricing). - * User can disable container logging by setting this flag to true. - * - * Generated from protobuf field bool disable_container_logging = 15; - * @return bool - */ - public function getDisableContainerLogging() - { - return $this->disable_container_logging; - } - - /** - * For custom-trained Models and AutoML Tabular Models, the container of the - * DeployedModel instances will send `stderr` and `stdout` streams to - * Cloud Logging by default. Please note that the logs incur cost, - * which are subject to [Cloud Logging - * pricing](https://cloud.google.com/logging/pricing). - * User can disable container logging by setting this flag to true. - * - * Generated from protobuf field bool disable_container_logging = 15; - * @param bool $var - * @return $this - */ - public function setDisableContainerLogging($var) - { - GPBUtil::checkBool($var); - $this->disable_container_logging = $var; - - return $this; - } - - /** - * If true, online prediction access logs are sent to Cloud - * Logging. - * These logs are like standard server access logs, containing - * information like timestamp and latency for each prediction request. - * Note that logs may incur a cost, especially if your project - * receives prediction requests at a high queries per second rate (QPS). - * Estimate your costs before enabling this option. - * - * Generated from protobuf field bool enable_access_logging = 13; - * @return bool - */ - public function getEnableAccessLogging() - { - return $this->enable_access_logging; - } - - /** - * If true, online prediction access logs are sent to Cloud - * Logging. - * These logs are like standard server access logs, containing - * information like timestamp and latency for each prediction request. - * Note that logs may incur a cost, especially if your project - * receives prediction requests at a high queries per second rate (QPS). - * Estimate your costs before enabling this option. - * - * Generated from protobuf field bool enable_access_logging = 13; - * @param bool $var - * @return $this - */ - public function setEnableAccessLogging($var) - { - GPBUtil::checkBool($var); - $this->enable_access_logging = $var; - - return $this; - } - - /** - * Output only. Provide paths for users to send predict/explain/health - * requests directly to the deployed model services running on Cloud via - * private services access. This field is populated if - * [network][google.cloud.aiplatform.v1.Endpoint.network] is configured. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.PrivateEndpoints private_endpoints = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return \Google\Cloud\AIPlatform\V1\PrivateEndpoints|null - */ - public function getPrivateEndpoints() - { - return $this->private_endpoints; - } - - public function hasPrivateEndpoints() - { - return isset($this->private_endpoints); - } - - public function clearPrivateEndpoints() - { - unset($this->private_endpoints); - } - - /** - * Output only. Provide paths for users to send predict/explain/health - * requests directly to the deployed model services running on Cloud via - * private services access. This field is populated if - * [network][google.cloud.aiplatform.v1.Endpoint.network] is configured. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.PrivateEndpoints private_endpoints = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param \Google\Cloud\AIPlatform\V1\PrivateEndpoints $var - * @return $this - */ - public function setPrivateEndpoints($var) - { - GPBUtil::checkMessage($var, \Google\Cloud\AIPlatform\V1\PrivateEndpoints::class); - $this->private_endpoints = $var; - - return $this; - } - - /** - * @return string - */ - public function getPredictionResources() - { - return $this->whichOneof("prediction_resources"); - } - -} - diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/DeployedModelRef.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/DeployedModelRef.php deleted file mode 100644 index 1f270de80921..000000000000 --- a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/DeployedModelRef.php +++ /dev/null @@ -1,101 +0,0 @@ -google.cloud.aiplatform.v1.DeployedModelRef - */ -class DeployedModelRef extends \Google\Protobuf\Internal\Message -{ - /** - * Immutable. A resource name of an Endpoint. - * - * Generated from protobuf field string endpoint = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - */ - protected $endpoint = ''; - /** - * Immutable. An ID of a DeployedModel in the above Endpoint. - * - * Generated from protobuf field string deployed_model_id = 2 [(.google.api.field_behavior) = IMMUTABLE]; - */ - protected $deployed_model_id = ''; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $endpoint - * Immutable. A resource name of an Endpoint. - * @type string $deployed_model_id - * Immutable. An ID of a DeployedModel in the above Endpoint. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Cloud\Aiplatform\V1\DeployedModelRef::initOnce(); - parent::__construct($data); - } - - /** - * Immutable. A resource name of an Endpoint. - * - * Generated from protobuf field string endpoint = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - * @return string - */ - public function getEndpoint() - { - return $this->endpoint; - } - - /** - * Immutable. A resource name of an Endpoint. - * - * Generated from protobuf field string endpoint = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setEndpoint($var) - { - GPBUtil::checkString($var, True); - $this->endpoint = $var; - - return $this; - } - - /** - * Immutable. An ID of a DeployedModel in the above Endpoint. - * - * Generated from protobuf field string deployed_model_id = 2 [(.google.api.field_behavior) = IMMUTABLE]; - * @return string - */ - public function getDeployedModelId() - { - return $this->deployed_model_id; - } - - /** - * Immutable. An ID of a DeployedModel in the above Endpoint. - * - * Generated from protobuf field string deployed_model_id = 2 [(.google.api.field_behavior) = IMMUTABLE]; - * @param string $var - * @return $this - */ - public function setDeployedModelId($var) - { - GPBUtil::checkString($var, True); - $this->deployed_model_id = $var; - - return $this; - } - -} - diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/DeploymentResourcePool.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/DeploymentResourcePool.php deleted file mode 100644 index 5eda0269b80f..000000000000 --- a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/DeploymentResourcePool.php +++ /dev/null @@ -1,328 +0,0 @@ -google.cloud.aiplatform.v1.DeploymentResourcePool - */ -class DeploymentResourcePool extends \Google\Protobuf\Internal\Message -{ - /** - * Immutable. The resource name of the DeploymentResourcePool. - * Format: - * `projects/{project}/locations/{location}/deploymentResourcePools/{deployment_resource_pool}` - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = IMMUTABLE]; - */ - protected $name = ''; - /** - * Required. The underlying DedicatedResources that the DeploymentResourcePool - * uses. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.DedicatedResources dedicated_resources = 2 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $dedicated_resources = null; - /** - * Customer-managed encryption key spec for a DeploymentResourcePool. If set, - * this DeploymentResourcePool will be secured by this key. Endpoints and the - * DeploymentResourcePool they deploy in need to have the same EncryptionSpec. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.EncryptionSpec encryption_spec = 5; - */ - protected $encryption_spec = null; - /** - * The service account that the DeploymentResourcePool's container(s) run as. - * Specify the email address of the service account. If this service account - * is not specified, the container(s) run as a service account that doesn't - * have access to the resource project. - * Users deploying the Models to this DeploymentResourcePool must have the - * `iam.serviceAccounts.actAs` permission on this service account. - * - * Generated from protobuf field string service_account = 6; - */ - protected $service_account = ''; - /** - * If the DeploymentResourcePool is deployed with custom-trained Models or - * AutoML Tabular Models, the container(s) of the DeploymentResourcePool will - * send `stderr` and `stdout` streams to Cloud Logging by default. - * Please note that the logs incur cost, which are subject to [Cloud Logging - * pricing](https://cloud.google.com/logging/pricing). - * User can disable container logging by setting this flag to true. - * - * Generated from protobuf field bool disable_container_logging = 7; - */ - protected $disable_container_logging = false; - /** - * Output only. Timestamp when this DeploymentResourcePool was created. - * - * Generated from protobuf field .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $create_time = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $name - * Immutable. The resource name of the DeploymentResourcePool. - * Format: - * `projects/{project}/locations/{location}/deploymentResourcePools/{deployment_resource_pool}` - * @type \Google\Cloud\AIPlatform\V1\DedicatedResources $dedicated_resources - * Required. The underlying DedicatedResources that the DeploymentResourcePool - * uses. - * @type \Google\Cloud\AIPlatform\V1\EncryptionSpec $encryption_spec - * Customer-managed encryption key spec for a DeploymentResourcePool. If set, - * this DeploymentResourcePool will be secured by this key. Endpoints and the - * DeploymentResourcePool they deploy in need to have the same EncryptionSpec. - * @type string $service_account - * The service account that the DeploymentResourcePool's container(s) run as. - * Specify the email address of the service account. If this service account - * is not specified, the container(s) run as a service account that doesn't - * have access to the resource project. - * Users deploying the Models to this DeploymentResourcePool must have the - * `iam.serviceAccounts.actAs` permission on this service account. - * @type bool $disable_container_logging - * If the DeploymentResourcePool is deployed with custom-trained Models or - * AutoML Tabular Models, the container(s) of the DeploymentResourcePool will - * send `stderr` and `stdout` streams to Cloud Logging by default. - * Please note that the logs incur cost, which are subject to [Cloud Logging - * pricing](https://cloud.google.com/logging/pricing). - * User can disable container logging by setting this flag to true. - * @type \Google\Protobuf\Timestamp $create_time - * Output only. Timestamp when this DeploymentResourcePool was created. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Cloud\Aiplatform\V1\DeploymentResourcePool::initOnce(); - parent::__construct($data); - } - - /** - * Immutable. The resource name of the DeploymentResourcePool. - * Format: - * `projects/{project}/locations/{location}/deploymentResourcePools/{deployment_resource_pool}` - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = IMMUTABLE]; - * @return string - */ - public function getName() - { - return $this->name; - } - - /** - * Immutable. The resource name of the DeploymentResourcePool. - * Format: - * `projects/{project}/locations/{location}/deploymentResourcePools/{deployment_resource_pool}` - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = IMMUTABLE]; - * @param string $var - * @return $this - */ - public function setName($var) - { - GPBUtil::checkString($var, True); - $this->name = $var; - - return $this; - } - - /** - * Required. The underlying DedicatedResources that the DeploymentResourcePool - * uses. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.DedicatedResources dedicated_resources = 2 [(.google.api.field_behavior) = REQUIRED]; - * @return \Google\Cloud\AIPlatform\V1\DedicatedResources|null - */ - public function getDedicatedResources() - { - return $this->dedicated_resources; - } - - public function hasDedicatedResources() - { - return isset($this->dedicated_resources); - } - - public function clearDedicatedResources() - { - unset($this->dedicated_resources); - } - - /** - * Required. The underlying DedicatedResources that the DeploymentResourcePool - * uses. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.DedicatedResources dedicated_resources = 2 [(.google.api.field_behavior) = REQUIRED]; - * @param \Google\Cloud\AIPlatform\V1\DedicatedResources $var - * @return $this - */ - public function setDedicatedResources($var) - { - GPBUtil::checkMessage($var, \Google\Cloud\AIPlatform\V1\DedicatedResources::class); - $this->dedicated_resources = $var; - - return $this; - } - - /** - * Customer-managed encryption key spec for a DeploymentResourcePool. If set, - * this DeploymentResourcePool will be secured by this key. Endpoints and the - * DeploymentResourcePool they deploy in need to have the same EncryptionSpec. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.EncryptionSpec encryption_spec = 5; - * @return \Google\Cloud\AIPlatform\V1\EncryptionSpec|null - */ - public function getEncryptionSpec() - { - return $this->encryption_spec; - } - - public function hasEncryptionSpec() - { - return isset($this->encryption_spec); - } - - public function clearEncryptionSpec() - { - unset($this->encryption_spec); - } - - /** - * Customer-managed encryption key spec for a DeploymentResourcePool. If set, - * this DeploymentResourcePool will be secured by this key. Endpoints and the - * DeploymentResourcePool they deploy in need to have the same EncryptionSpec. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.EncryptionSpec encryption_spec = 5; - * @param \Google\Cloud\AIPlatform\V1\EncryptionSpec $var - * @return $this - */ - public function setEncryptionSpec($var) - { - GPBUtil::checkMessage($var, \Google\Cloud\AIPlatform\V1\EncryptionSpec::class); - $this->encryption_spec = $var; - - return $this; - } - - /** - * The service account that the DeploymentResourcePool's container(s) run as. - * Specify the email address of the service account. If this service account - * is not specified, the container(s) run as a service account that doesn't - * have access to the resource project. - * Users deploying the Models to this DeploymentResourcePool must have the - * `iam.serviceAccounts.actAs` permission on this service account. - * - * Generated from protobuf field string service_account = 6; - * @return string - */ - public function getServiceAccount() - { - return $this->service_account; - } - - /** - * The service account that the DeploymentResourcePool's container(s) run as. - * Specify the email address of the service account. If this service account - * is not specified, the container(s) run as a service account that doesn't - * have access to the resource project. - * Users deploying the Models to this DeploymentResourcePool must have the - * `iam.serviceAccounts.actAs` permission on this service account. - * - * Generated from protobuf field string service_account = 6; - * @param string $var - * @return $this - */ - public function setServiceAccount($var) - { - GPBUtil::checkString($var, True); - $this->service_account = $var; - - return $this; - } - - /** - * If the DeploymentResourcePool is deployed with custom-trained Models or - * AutoML Tabular Models, the container(s) of the DeploymentResourcePool will - * send `stderr` and `stdout` streams to Cloud Logging by default. - * Please note that the logs incur cost, which are subject to [Cloud Logging - * pricing](https://cloud.google.com/logging/pricing). - * User can disable container logging by setting this flag to true. - * - * Generated from protobuf field bool disable_container_logging = 7; - * @return bool - */ - public function getDisableContainerLogging() - { - return $this->disable_container_logging; - } - - /** - * If the DeploymentResourcePool is deployed with custom-trained Models or - * AutoML Tabular Models, the container(s) of the DeploymentResourcePool will - * send `stderr` and `stdout` streams to Cloud Logging by default. - * Please note that the logs incur cost, which are subject to [Cloud Logging - * pricing](https://cloud.google.com/logging/pricing). - * User can disable container logging by setting this flag to true. - * - * Generated from protobuf field bool disable_container_logging = 7; - * @param bool $var - * @return $this - */ - public function setDisableContainerLogging($var) - { - GPBUtil::checkBool($var); - $this->disable_container_logging = $var; - - return $this; - } - - /** - * Output only. Timestamp when this DeploymentResourcePool was created. - * - * Generated from protobuf field .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return \Google\Protobuf\Timestamp|null - */ - public function getCreateTime() - { - return $this->create_time; - } - - public function hasCreateTime() - { - return isset($this->create_time); - } - - public function clearCreateTime() - { - unset($this->create_time); - } - - /** - * Output only. Timestamp when this DeploymentResourcePool was created. - * - * Generated from protobuf field .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param \Google\Protobuf\Timestamp $var - * @return $this - */ - public function setCreateTime($var) - { - GPBUtil::checkMessage($var, \Google\Protobuf\Timestamp::class); - $this->create_time = $var; - - return $this; - } - -} - diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/DestinationFeatureSetting.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/DestinationFeatureSetting.php deleted file mode 100644 index 4339ccffe57e..000000000000 --- a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/DestinationFeatureSetting.php +++ /dev/null @@ -1,103 +0,0 @@ -google.cloud.aiplatform.v1.DestinationFeatureSetting - */ -class DestinationFeatureSetting extends \Google\Protobuf\Internal\Message -{ - /** - * Required. The ID of the Feature to apply the setting to. - * - * Generated from protobuf field string feature_id = 1 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $feature_id = ''; - /** - * Specify the field name in the export destination. If not specified, - * Feature ID is used. - * - * Generated from protobuf field string destination_field = 2; - */ - protected $destination_field = ''; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $feature_id - * Required. The ID of the Feature to apply the setting to. - * @type string $destination_field - * Specify the field name in the export destination. If not specified, - * Feature ID is used. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Cloud\Aiplatform\V1\FeaturestoreService::initOnce(); - parent::__construct($data); - } - - /** - * Required. The ID of the Feature to apply the setting to. - * - * Generated from protobuf field string feature_id = 1 [(.google.api.field_behavior) = REQUIRED]; - * @return string - */ - public function getFeatureId() - { - return $this->feature_id; - } - - /** - * Required. The ID of the Feature to apply the setting to. - * - * Generated from protobuf field string feature_id = 1 [(.google.api.field_behavior) = REQUIRED]; - * @param string $var - * @return $this - */ - public function setFeatureId($var) - { - GPBUtil::checkString($var, True); - $this->feature_id = $var; - - return $this; - } - - /** - * Specify the field name in the export destination. If not specified, - * Feature ID is used. - * - * Generated from protobuf field string destination_field = 2; - * @return string - */ - public function getDestinationField() - { - return $this->destination_field; - } - - /** - * Specify the field name in the export destination. If not specified, - * Feature ID is used. - * - * Generated from protobuf field string destination_field = 2; - * @param string $var - * @return $this - */ - public function setDestinationField($var) - { - GPBUtil::checkString($var, True); - $this->destination_field = $var; - - return $this; - } - -} - diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/DirectPredictRequest.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/DirectPredictRequest.php deleted file mode 100644 index 7bbbeb3d74e1..000000000000 --- a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/DirectPredictRequest.php +++ /dev/null @@ -1,154 +0,0 @@ -google.cloud.aiplatform.v1.DirectPredictRequest - */ -class DirectPredictRequest extends \Google\Protobuf\Internal\Message -{ - /** - * Required. The name of the Endpoint requested to serve the prediction. - * Format: - * `projects/{project}/locations/{location}/endpoints/{endpoint}` - * - * Generated from protobuf field string endpoint = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - */ - protected $endpoint = ''; - /** - * The prediction input. - * - * Generated from protobuf field repeated .google.cloud.aiplatform.v1.Tensor inputs = 2; - */ - private $inputs; - /** - * The parameters that govern the prediction. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.Tensor parameters = 3; - */ - protected $parameters = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $endpoint - * Required. The name of the Endpoint requested to serve the prediction. - * Format: - * `projects/{project}/locations/{location}/endpoints/{endpoint}` - * @type array<\Google\Cloud\AIPlatform\V1\Tensor>|\Google\Protobuf\Internal\RepeatedField $inputs - * The prediction input. - * @type \Google\Cloud\AIPlatform\V1\Tensor $parameters - * The parameters that govern the prediction. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Cloud\Aiplatform\V1\PredictionService::initOnce(); - parent::__construct($data); - } - - /** - * Required. The name of the Endpoint requested to serve the prediction. - * Format: - * `projects/{project}/locations/{location}/endpoints/{endpoint}` - * - * Generated from protobuf field string endpoint = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - * @return string - */ - public function getEndpoint() - { - return $this->endpoint; - } - - /** - * Required. The name of the Endpoint requested to serve the prediction. - * Format: - * `projects/{project}/locations/{location}/endpoints/{endpoint}` - * - * Generated from protobuf field string endpoint = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setEndpoint($var) - { - GPBUtil::checkString($var, True); - $this->endpoint = $var; - - return $this; - } - - /** - * The prediction input. - * - * Generated from protobuf field repeated .google.cloud.aiplatform.v1.Tensor inputs = 2; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getInputs() - { - return $this->inputs; - } - - /** - * The prediction input. - * - * Generated from protobuf field repeated .google.cloud.aiplatform.v1.Tensor inputs = 2; - * @param array<\Google\Cloud\AIPlatform\V1\Tensor>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setInputs($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\AIPlatform\V1\Tensor::class); - $this->inputs = $arr; - - return $this; - } - - /** - * The parameters that govern the prediction. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.Tensor parameters = 3; - * @return \Google\Cloud\AIPlatform\V1\Tensor|null - */ - public function getParameters() - { - return $this->parameters; - } - - public function hasParameters() - { - return isset($this->parameters); - } - - public function clearParameters() - { - unset($this->parameters); - } - - /** - * The parameters that govern the prediction. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.Tensor parameters = 3; - * @param \Google\Cloud\AIPlatform\V1\Tensor $var - * @return $this - */ - public function setParameters($var) - { - GPBUtil::checkMessage($var, \Google\Cloud\AIPlatform\V1\Tensor::class); - $this->parameters = $var; - - return $this; - } - -} - diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/DirectPredictResponse.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/DirectPredictResponse.php deleted file mode 100644 index fc07726eb0db..000000000000 --- a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/DirectPredictResponse.php +++ /dev/null @@ -1,112 +0,0 @@ -google.cloud.aiplatform.v1.DirectPredictResponse - */ -class DirectPredictResponse extends \Google\Protobuf\Internal\Message -{ - /** - * The prediction output. - * - * Generated from protobuf field repeated .google.cloud.aiplatform.v1.Tensor outputs = 1; - */ - private $outputs; - /** - * The parameters that govern the prediction. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.Tensor parameters = 2; - */ - protected $parameters = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type array<\Google\Cloud\AIPlatform\V1\Tensor>|\Google\Protobuf\Internal\RepeatedField $outputs - * The prediction output. - * @type \Google\Cloud\AIPlatform\V1\Tensor $parameters - * The parameters that govern the prediction. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Cloud\Aiplatform\V1\PredictionService::initOnce(); - parent::__construct($data); - } - - /** - * The prediction output. - * - * Generated from protobuf field repeated .google.cloud.aiplatform.v1.Tensor outputs = 1; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getOutputs() - { - return $this->outputs; - } - - /** - * The prediction output. - * - * Generated from protobuf field repeated .google.cloud.aiplatform.v1.Tensor outputs = 1; - * @param array<\Google\Cloud\AIPlatform\V1\Tensor>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setOutputs($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\AIPlatform\V1\Tensor::class); - $this->outputs = $arr; - - return $this; - } - - /** - * The parameters that govern the prediction. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.Tensor parameters = 2; - * @return \Google\Cloud\AIPlatform\V1\Tensor|null - */ - public function getParameters() - { - return $this->parameters; - } - - public function hasParameters() - { - return isset($this->parameters); - } - - public function clearParameters() - { - unset($this->parameters); - } - - /** - * The parameters that govern the prediction. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.Tensor parameters = 2; - * @param \Google\Cloud\AIPlatform\V1\Tensor $var - * @return $this - */ - public function setParameters($var) - { - GPBUtil::checkMessage($var, \Google\Cloud\AIPlatform\V1\Tensor::class); - $this->parameters = $var; - - return $this; - } - -} - diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/DirectRawPredictRequest.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/DirectRawPredictRequest.php deleted file mode 100644 index 742455145cb6..000000000000 --- a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/DirectRawPredictRequest.php +++ /dev/null @@ -1,164 +0,0 @@ -google.cloud.aiplatform.v1.DirectRawPredictRequest - */ -class DirectRawPredictRequest extends \Google\Protobuf\Internal\Message -{ - /** - * Required. The name of the Endpoint requested to serve the prediction. - * Format: - * `projects/{project}/locations/{location}/endpoints/{endpoint}` - * - * Generated from protobuf field string endpoint = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - */ - protected $endpoint = ''; - /** - * Fully qualified name of the API method being invoked to perform - * predictions. - * Format: - * `/namespace.Service/Method/` - * Example: - * `/tensorflow.serving.PredictionService/Predict` - * - * Generated from protobuf field string method_name = 2; - */ - protected $method_name = ''; - /** - * The prediction input. - * - * Generated from protobuf field bytes input = 3; - */ - protected $input = ''; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $endpoint - * Required. The name of the Endpoint requested to serve the prediction. - * Format: - * `projects/{project}/locations/{location}/endpoints/{endpoint}` - * @type string $method_name - * Fully qualified name of the API method being invoked to perform - * predictions. - * Format: - * `/namespace.Service/Method/` - * Example: - * `/tensorflow.serving.PredictionService/Predict` - * @type string $input - * The prediction input. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Cloud\Aiplatform\V1\PredictionService::initOnce(); - parent::__construct($data); - } - - /** - * Required. The name of the Endpoint requested to serve the prediction. - * Format: - * `projects/{project}/locations/{location}/endpoints/{endpoint}` - * - * Generated from protobuf field string endpoint = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - * @return string - */ - public function getEndpoint() - { - return $this->endpoint; - } - - /** - * Required. The name of the Endpoint requested to serve the prediction. - * Format: - * `projects/{project}/locations/{location}/endpoints/{endpoint}` - * - * Generated from protobuf field string endpoint = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setEndpoint($var) - { - GPBUtil::checkString($var, True); - $this->endpoint = $var; - - return $this; - } - - /** - * Fully qualified name of the API method being invoked to perform - * predictions. - * Format: - * `/namespace.Service/Method/` - * Example: - * `/tensorflow.serving.PredictionService/Predict` - * - * Generated from protobuf field string method_name = 2; - * @return string - */ - public function getMethodName() - { - return $this->method_name; - } - - /** - * Fully qualified name of the API method being invoked to perform - * predictions. - * Format: - * `/namespace.Service/Method/` - * Example: - * `/tensorflow.serving.PredictionService/Predict` - * - * Generated from protobuf field string method_name = 2; - * @param string $var - * @return $this - */ - public function setMethodName($var) - { - GPBUtil::checkString($var, True); - $this->method_name = $var; - - return $this; - } - - /** - * The prediction input. - * - * Generated from protobuf field bytes input = 3; - * @return string - */ - public function getInput() - { - return $this->input; - } - - /** - * The prediction input. - * - * Generated from protobuf field bytes input = 3; - * @param string $var - * @return $this - */ - public function setInput($var) - { - GPBUtil::checkString($var, False); - $this->input = $var; - - return $this; - } - -} - diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/DirectRawPredictResponse.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/DirectRawPredictResponse.php deleted file mode 100644 index 7c10eea0fc0f..000000000000 --- a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/DirectRawPredictResponse.php +++ /dev/null @@ -1,68 +0,0 @@ -google.cloud.aiplatform.v1.DirectRawPredictResponse - */ -class DirectRawPredictResponse extends \Google\Protobuf\Internal\Message -{ - /** - * The prediction output. - * - * Generated from protobuf field bytes output = 1; - */ - protected $output = ''; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $output - * The prediction output. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Cloud\Aiplatform\V1\PredictionService::initOnce(); - parent::__construct($data); - } - - /** - * The prediction output. - * - * Generated from protobuf field bytes output = 1; - * @return string - */ - public function getOutput() - { - return $this->output; - } - - /** - * The prediction output. - * - * Generated from protobuf field bytes output = 1; - * @param string $var - * @return $this - */ - public function setOutput($var) - { - GPBUtil::checkString($var, False); - $this->output = $var; - - return $this; - } - -} - diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/DiskSpec.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/DiskSpec.php deleted file mode 100644 index 8d4b509db5ee..000000000000 --- a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/DiskSpec.php +++ /dev/null @@ -1,109 +0,0 @@ -google.cloud.aiplatform.v1.DiskSpec - */ -class DiskSpec extends \Google\Protobuf\Internal\Message -{ - /** - * Type of the boot disk (default is "pd-ssd"). - * Valid values: "pd-ssd" (Persistent Disk Solid State Drive) or - * "pd-standard" (Persistent Disk Hard Disk Drive). - * - * Generated from protobuf field string boot_disk_type = 1; - */ - protected $boot_disk_type = ''; - /** - * Size in GB of the boot disk (default is 100GB). - * - * Generated from protobuf field int32 boot_disk_size_gb = 2; - */ - protected $boot_disk_size_gb = 0; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $boot_disk_type - * Type of the boot disk (default is "pd-ssd"). - * Valid values: "pd-ssd" (Persistent Disk Solid State Drive) or - * "pd-standard" (Persistent Disk Hard Disk Drive). - * @type int $boot_disk_size_gb - * Size in GB of the boot disk (default is 100GB). - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Cloud\Aiplatform\V1\MachineResources::initOnce(); - parent::__construct($data); - } - - /** - * Type of the boot disk (default is "pd-ssd"). - * Valid values: "pd-ssd" (Persistent Disk Solid State Drive) or - * "pd-standard" (Persistent Disk Hard Disk Drive). - * - * Generated from protobuf field string boot_disk_type = 1; - * @return string - */ - public function getBootDiskType() - { - return $this->boot_disk_type; - } - - /** - * Type of the boot disk (default is "pd-ssd"). - * Valid values: "pd-ssd" (Persistent Disk Solid State Drive) or - * "pd-standard" (Persistent Disk Hard Disk Drive). - * - * Generated from protobuf field string boot_disk_type = 1; - * @param string $var - * @return $this - */ - public function setBootDiskType($var) - { - GPBUtil::checkString($var, True); - $this->boot_disk_type = $var; - - return $this; - } - - /** - * Size in GB of the boot disk (default is 100GB). - * - * Generated from protobuf field int32 boot_disk_size_gb = 2; - * @return int - */ - public function getBootDiskSizeGb() - { - return $this->boot_disk_size_gb; - } - - /** - * Size in GB of the boot disk (default is 100GB). - * - * Generated from protobuf field int32 boot_disk_size_gb = 2; - * @param int $var - * @return $this - */ - public function setBootDiskSizeGb($var) - { - GPBUtil::checkInt32($var); - $this->boot_disk_size_gb = $var; - - return $this; - } - -} - diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/DoubleArray.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/DoubleArray.php deleted file mode 100644 index d1fb464ed9aa..000000000000 --- a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/DoubleArray.php +++ /dev/null @@ -1,67 +0,0 @@ -google.cloud.aiplatform.v1.DoubleArray - */ -class DoubleArray extends \Google\Protobuf\Internal\Message -{ - /** - * A list of double values. - * - * Generated from protobuf field repeated double values = 1; - */ - private $values; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type array|\Google\Protobuf\Internal\RepeatedField $values - * A list of double values. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Cloud\Aiplatform\V1\Types::initOnce(); - parent::__construct($data); - } - - /** - * A list of double values. - * - * Generated from protobuf field repeated double values = 1; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getValues() - { - return $this->values; - } - - /** - * A list of double values. - * - * Generated from protobuf field repeated double values = 1; - * @param array|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setValues($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::DOUBLE); - $this->values = $arr; - - return $this; - } - -} - diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/EncryptionSpec.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/EncryptionSpec.php deleted file mode 100644 index 61554ec16fe9..000000000000 --- a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/EncryptionSpec.php +++ /dev/null @@ -1,84 +0,0 @@ -google.cloud.aiplatform.v1.EncryptionSpec - */ -class EncryptionSpec extends \Google\Protobuf\Internal\Message -{ - /** - * Required. The Cloud KMS resource identifier of the customer managed - * encryption key used to protect a resource. Has the form: - * `projects/my-project/locations/my-region/keyRings/my-kr/cryptoKeys/my-key`. - * The key needs to be in the same region as where the compute resource is - * created. - * - * Generated from protobuf field string kms_key_name = 1 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $kms_key_name = ''; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $kms_key_name - * Required. The Cloud KMS resource identifier of the customer managed - * encryption key used to protect a resource. Has the form: - * `projects/my-project/locations/my-region/keyRings/my-kr/cryptoKeys/my-key`. - * The key needs to be in the same region as where the compute resource is - * created. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Cloud\Aiplatform\V1\EncryptionSpec::initOnce(); - parent::__construct($data); - } - - /** - * Required. The Cloud KMS resource identifier of the customer managed - * encryption key used to protect a resource. Has the form: - * `projects/my-project/locations/my-region/keyRings/my-kr/cryptoKeys/my-key`. - * The key needs to be in the same region as where the compute resource is - * created. - * - * Generated from protobuf field string kms_key_name = 1 [(.google.api.field_behavior) = REQUIRED]; - * @return string - */ - public function getKmsKeyName() - { - return $this->kms_key_name; - } - - /** - * Required. The Cloud KMS resource identifier of the customer managed - * encryption key used to protect a resource. Has the form: - * `projects/my-project/locations/my-region/keyRings/my-kr/cryptoKeys/my-key`. - * The key needs to be in the same region as where the compute resource is - * created. - * - * Generated from protobuf field string kms_key_name = 1 [(.google.api.field_behavior) = REQUIRED]; - * @param string $var - * @return $this - */ - public function setKmsKeyName($var) - { - GPBUtil::checkString($var, True); - $this->kms_key_name = $var; - - return $this; - } - -} - diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/Endpoint.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/Endpoint.php deleted file mode 100644 index a56e116cba33..000000000000 --- a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/Endpoint.php +++ /dev/null @@ -1,767 +0,0 @@ -google.cloud.aiplatform.v1.Endpoint - */ -class Endpoint extends \Google\Protobuf\Internal\Message -{ - /** - * Output only. The resource name of the Endpoint. - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $name = ''; - /** - * Required. The display name of the Endpoint. - * The name can be up to 128 characters long and can consist of any UTF-8 - * characters. - * - * Generated from protobuf field string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $display_name = ''; - /** - * The description of the Endpoint. - * - * Generated from protobuf field string description = 3; - */ - protected $description = ''; - /** - * Output only. The models deployed in this Endpoint. - * To add or remove DeployedModels use - * [EndpointService.DeployModel][google.cloud.aiplatform.v1.EndpointService.DeployModel] - * and - * [EndpointService.UndeployModel][google.cloud.aiplatform.v1.EndpointService.UndeployModel] - * respectively. - * - * Generated from protobuf field repeated .google.cloud.aiplatform.v1.DeployedModel deployed_models = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - private $deployed_models; - /** - * A map from a DeployedModel's ID to the percentage of this Endpoint's - * traffic that should be forwarded to that DeployedModel. - * If a DeployedModel's ID is not listed in this map, then it receives no - * traffic. - * The traffic percentage values must add up to 100, or map must be empty if - * the Endpoint is to not accept any traffic at a moment. - * - * Generated from protobuf field map traffic_split = 5; - */ - private $traffic_split; - /** - * Used to perform consistent read-modify-write updates. If not set, a blind - * "overwrite" update happens. - * - * Generated from protobuf field string etag = 6; - */ - protected $etag = ''; - /** - * The labels with user-defined metadata to organize your Endpoints. - * Label keys and values can be no longer than 64 characters - * (Unicode codepoints), can only contain lowercase letters, numeric - * characters, underscores and dashes. International characters are allowed. - * See https://goo.gl/xmQnxf for more information and examples of labels. - * - * Generated from protobuf field map labels = 7; - */ - private $labels; - /** - * Output only. Timestamp when this Endpoint was created. - * - * Generated from protobuf field .google.protobuf.Timestamp create_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $create_time = null; - /** - * Output only. Timestamp when this Endpoint was last updated. - * - * Generated from protobuf field .google.protobuf.Timestamp update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $update_time = null; - /** - * Customer-managed encryption key spec for an Endpoint. If set, this - * Endpoint and all sub-resources of this Endpoint will be secured by - * this key. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.EncryptionSpec encryption_spec = 10; - */ - protected $encryption_spec = null; - /** - * Optional. The full name of the Google Compute Engine - * [network](https://cloud.google.com//compute/docs/networks-and-firewalls#networks) - * to which the Endpoint should be peered. - * Private services access must already be configured for the network. If left - * unspecified, the Endpoint is not peered with any network. - * Only one of the fields, - * [network][google.cloud.aiplatform.v1.Endpoint.network] or - * [enable_private_service_connect][google.cloud.aiplatform.v1.Endpoint.enable_private_service_connect], - * can be set. - * [Format](https://cloud.google.com/compute/docs/reference/rest/v1/networks/insert): - * `projects/{project}/global/networks/{network}`. - * Where `{project}` is a project number, as in `12345`, and `{network}` is - * network name. - * - * Generated from protobuf field string network = 13 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { - */ - protected $network = ''; - /** - * Deprecated: If true, expose the Endpoint via private service connect. - * Only one of the fields, - * [network][google.cloud.aiplatform.v1.Endpoint.network] or - * [enable_private_service_connect][google.cloud.aiplatform.v1.Endpoint.enable_private_service_connect], - * can be set. - * - * Generated from protobuf field bool enable_private_service_connect = 17 [deprecated = true]; - * @deprecated - */ - protected $enable_private_service_connect = false; - /** - * Optional. Configuration for private service connect. - * [network][google.cloud.aiplatform.v1.Endpoint.network] and - * [private_service_connect_config][google.cloud.aiplatform.v1.Endpoint.private_service_connect_config] - * are mutually exclusive. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.PrivateServiceConnectConfig private_service_connect_config = 21 [(.google.api.field_behavior) = OPTIONAL]; - */ - protected $private_service_connect_config = null; - /** - * Output only. Resource name of the Model Monitoring job associated with this - * Endpoint if monitoring is enabled by - * [JobService.CreateModelDeploymentMonitoringJob][google.cloud.aiplatform.v1.JobService.CreateModelDeploymentMonitoringJob]. - * Format: - * `projects/{project}/locations/{location}/modelDeploymentMonitoringJobs/{model_deployment_monitoring_job}` - * - * Generated from protobuf field string model_deployment_monitoring_job = 14 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - */ - protected $model_deployment_monitoring_job = ''; - /** - * Configures the request-response logging for online prediction. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.PredictRequestResponseLoggingConfig predict_request_response_logging_config = 18; - */ - protected $predict_request_response_logging_config = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $name - * Output only. The resource name of the Endpoint. - * @type string $display_name - * Required. The display name of the Endpoint. - * The name can be up to 128 characters long and can consist of any UTF-8 - * characters. - * @type string $description - * The description of the Endpoint. - * @type array<\Google\Cloud\AIPlatform\V1\DeployedModel>|\Google\Protobuf\Internal\RepeatedField $deployed_models - * Output only. The models deployed in this Endpoint. - * To add or remove DeployedModels use - * [EndpointService.DeployModel][google.cloud.aiplatform.v1.EndpointService.DeployModel] - * and - * [EndpointService.UndeployModel][google.cloud.aiplatform.v1.EndpointService.UndeployModel] - * respectively. - * @type array|\Google\Protobuf\Internal\MapField $traffic_split - * A map from a DeployedModel's ID to the percentage of this Endpoint's - * traffic that should be forwarded to that DeployedModel. - * If a DeployedModel's ID is not listed in this map, then it receives no - * traffic. - * The traffic percentage values must add up to 100, or map must be empty if - * the Endpoint is to not accept any traffic at a moment. - * @type string $etag - * Used to perform consistent read-modify-write updates. If not set, a blind - * "overwrite" update happens. - * @type array|\Google\Protobuf\Internal\MapField $labels - * The labels with user-defined metadata to organize your Endpoints. - * Label keys and values can be no longer than 64 characters - * (Unicode codepoints), can only contain lowercase letters, numeric - * characters, underscores and dashes. International characters are allowed. - * See https://goo.gl/xmQnxf for more information and examples of labels. - * @type \Google\Protobuf\Timestamp $create_time - * Output only. Timestamp when this Endpoint was created. - * @type \Google\Protobuf\Timestamp $update_time - * Output only. Timestamp when this Endpoint was last updated. - * @type \Google\Cloud\AIPlatform\V1\EncryptionSpec $encryption_spec - * Customer-managed encryption key spec for an Endpoint. If set, this - * Endpoint and all sub-resources of this Endpoint will be secured by - * this key. - * @type string $network - * Optional. The full name of the Google Compute Engine - * [network](https://cloud.google.com//compute/docs/networks-and-firewalls#networks) - * to which the Endpoint should be peered. - * Private services access must already be configured for the network. If left - * unspecified, the Endpoint is not peered with any network. - * Only one of the fields, - * [network][google.cloud.aiplatform.v1.Endpoint.network] or - * [enable_private_service_connect][google.cloud.aiplatform.v1.Endpoint.enable_private_service_connect], - * can be set. - * [Format](https://cloud.google.com/compute/docs/reference/rest/v1/networks/insert): - * `projects/{project}/global/networks/{network}`. - * Where `{project}` is a project number, as in `12345`, and `{network}` is - * network name. - * @type bool $enable_private_service_connect - * Deprecated: If true, expose the Endpoint via private service connect. - * Only one of the fields, - * [network][google.cloud.aiplatform.v1.Endpoint.network] or - * [enable_private_service_connect][google.cloud.aiplatform.v1.Endpoint.enable_private_service_connect], - * can be set. - * @type \Google\Cloud\AIPlatform\V1\PrivateServiceConnectConfig $private_service_connect_config - * Optional. Configuration for private service connect. - * [network][google.cloud.aiplatform.v1.Endpoint.network] and - * [private_service_connect_config][google.cloud.aiplatform.v1.Endpoint.private_service_connect_config] - * are mutually exclusive. - * @type string $model_deployment_monitoring_job - * Output only. Resource name of the Model Monitoring job associated with this - * Endpoint if monitoring is enabled by - * [JobService.CreateModelDeploymentMonitoringJob][google.cloud.aiplatform.v1.JobService.CreateModelDeploymentMonitoringJob]. - * Format: - * `projects/{project}/locations/{location}/modelDeploymentMonitoringJobs/{model_deployment_monitoring_job}` - * @type \Google\Cloud\AIPlatform\V1\PredictRequestResponseLoggingConfig $predict_request_response_logging_config - * Configures the request-response logging for online prediction. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Cloud\Aiplatform\V1\Endpoint::initOnce(); - parent::__construct($data); - } - - /** - * Output only. The resource name of the Endpoint. - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return string - */ - public function getName() - { - return $this->name; - } - - /** - * Output only. The resource name of the Endpoint. - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param string $var - * @return $this - */ - public function setName($var) - { - GPBUtil::checkString($var, True); - $this->name = $var; - - return $this; - } - - /** - * Required. The display name of the Endpoint. - * The name can be up to 128 characters long and can consist of any UTF-8 - * characters. - * - * Generated from protobuf field string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; - * @return string - */ - public function getDisplayName() - { - return $this->display_name; - } - - /** - * Required. The display name of the Endpoint. - * The name can be up to 128 characters long and can consist of any UTF-8 - * characters. - * - * Generated from protobuf field string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; - * @param string $var - * @return $this - */ - public function setDisplayName($var) - { - GPBUtil::checkString($var, True); - $this->display_name = $var; - - return $this; - } - - /** - * The description of the Endpoint. - * - * Generated from protobuf field string description = 3; - * @return string - */ - public function getDescription() - { - return $this->description; - } - - /** - * The description of the Endpoint. - * - * Generated from protobuf field string description = 3; - * @param string $var - * @return $this - */ - public function setDescription($var) - { - GPBUtil::checkString($var, True); - $this->description = $var; - - return $this; - } - - /** - * Output only. The models deployed in this Endpoint. - * To add or remove DeployedModels use - * [EndpointService.DeployModel][google.cloud.aiplatform.v1.EndpointService.DeployModel] - * and - * [EndpointService.UndeployModel][google.cloud.aiplatform.v1.EndpointService.UndeployModel] - * respectively. - * - * Generated from protobuf field repeated .google.cloud.aiplatform.v1.DeployedModel deployed_models = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getDeployedModels() - { - return $this->deployed_models; - } - - /** - * Output only. The models deployed in this Endpoint. - * To add or remove DeployedModels use - * [EndpointService.DeployModel][google.cloud.aiplatform.v1.EndpointService.DeployModel] - * and - * [EndpointService.UndeployModel][google.cloud.aiplatform.v1.EndpointService.UndeployModel] - * respectively. - * - * Generated from protobuf field repeated .google.cloud.aiplatform.v1.DeployedModel deployed_models = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param array<\Google\Cloud\AIPlatform\V1\DeployedModel>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setDeployedModels($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\AIPlatform\V1\DeployedModel::class); - $this->deployed_models = $arr; - - return $this; - } - - /** - * A map from a DeployedModel's ID to the percentage of this Endpoint's - * traffic that should be forwarded to that DeployedModel. - * If a DeployedModel's ID is not listed in this map, then it receives no - * traffic. - * The traffic percentage values must add up to 100, or map must be empty if - * the Endpoint is to not accept any traffic at a moment. - * - * Generated from protobuf field map traffic_split = 5; - * @return \Google\Protobuf\Internal\MapField - */ - public function getTrafficSplit() - { - return $this->traffic_split; - } - - /** - * A map from a DeployedModel's ID to the percentage of this Endpoint's - * traffic that should be forwarded to that DeployedModel. - * If a DeployedModel's ID is not listed in this map, then it receives no - * traffic. - * The traffic percentage values must add up to 100, or map must be empty if - * the Endpoint is to not accept any traffic at a moment. - * - * Generated from protobuf field map traffic_split = 5; - * @param array|\Google\Protobuf\Internal\MapField $var - * @return $this - */ - public function setTrafficSplit($var) - { - $arr = GPBUtil::checkMapField($var, \Google\Protobuf\Internal\GPBType::STRING, \Google\Protobuf\Internal\GPBType::INT32); - $this->traffic_split = $arr; - - return $this; - } - - /** - * Used to perform consistent read-modify-write updates. If not set, a blind - * "overwrite" update happens. - * - * Generated from protobuf field string etag = 6; - * @return string - */ - public function getEtag() - { - return $this->etag; - } - - /** - * Used to perform consistent read-modify-write updates. If not set, a blind - * "overwrite" update happens. - * - * Generated from protobuf field string etag = 6; - * @param string $var - * @return $this - */ - public function setEtag($var) - { - GPBUtil::checkString($var, True); - $this->etag = $var; - - return $this; - } - - /** - * The labels with user-defined metadata to organize your Endpoints. - * Label keys and values can be no longer than 64 characters - * (Unicode codepoints), can only contain lowercase letters, numeric - * characters, underscores and dashes. International characters are allowed. - * See https://goo.gl/xmQnxf for more information and examples of labels. - * - * Generated from protobuf field map labels = 7; - * @return \Google\Protobuf\Internal\MapField - */ - public function getLabels() - { - return $this->labels; - } - - /** - * The labels with user-defined metadata to organize your Endpoints. - * Label keys and values can be no longer than 64 characters - * (Unicode codepoints), can only contain lowercase letters, numeric - * characters, underscores and dashes. International characters are allowed. - * See https://goo.gl/xmQnxf for more information and examples of labels. - * - * Generated from protobuf field map labels = 7; - * @param array|\Google\Protobuf\Internal\MapField $var - * @return $this - */ - public function setLabels($var) - { - $arr = GPBUtil::checkMapField($var, \Google\Protobuf\Internal\GPBType::STRING, \Google\Protobuf\Internal\GPBType::STRING); - $this->labels = $arr; - - return $this; - } - - /** - * Output only. Timestamp when this Endpoint was created. - * - * Generated from protobuf field .google.protobuf.Timestamp create_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return \Google\Protobuf\Timestamp|null - */ - public function getCreateTime() - { - return $this->create_time; - } - - public function hasCreateTime() - { - return isset($this->create_time); - } - - public function clearCreateTime() - { - unset($this->create_time); - } - - /** - * Output only. Timestamp when this Endpoint was created. - * - * Generated from protobuf field .google.protobuf.Timestamp create_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param \Google\Protobuf\Timestamp $var - * @return $this - */ - public function setCreateTime($var) - { - GPBUtil::checkMessage($var, \Google\Protobuf\Timestamp::class); - $this->create_time = $var; - - return $this; - } - - /** - * Output only. Timestamp when this Endpoint was last updated. - * - * Generated from protobuf field .google.protobuf.Timestamp update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return \Google\Protobuf\Timestamp|null - */ - public function getUpdateTime() - { - return $this->update_time; - } - - public function hasUpdateTime() - { - return isset($this->update_time); - } - - public function clearUpdateTime() - { - unset($this->update_time); - } - - /** - * Output only. Timestamp when this Endpoint was last updated. - * - * Generated from protobuf field .google.protobuf.Timestamp update_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param \Google\Protobuf\Timestamp $var - * @return $this - */ - public function setUpdateTime($var) - { - GPBUtil::checkMessage($var, \Google\Protobuf\Timestamp::class); - $this->update_time = $var; - - return $this; - } - - /** - * Customer-managed encryption key spec for an Endpoint. If set, this - * Endpoint and all sub-resources of this Endpoint will be secured by - * this key. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.EncryptionSpec encryption_spec = 10; - * @return \Google\Cloud\AIPlatform\V1\EncryptionSpec|null - */ - public function getEncryptionSpec() - { - return $this->encryption_spec; - } - - public function hasEncryptionSpec() - { - return isset($this->encryption_spec); - } - - public function clearEncryptionSpec() - { - unset($this->encryption_spec); - } - - /** - * Customer-managed encryption key spec for an Endpoint. If set, this - * Endpoint and all sub-resources of this Endpoint will be secured by - * this key. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.EncryptionSpec encryption_spec = 10; - * @param \Google\Cloud\AIPlatform\V1\EncryptionSpec $var - * @return $this - */ - public function setEncryptionSpec($var) - { - GPBUtil::checkMessage($var, \Google\Cloud\AIPlatform\V1\EncryptionSpec::class); - $this->encryption_spec = $var; - - return $this; - } - - /** - * Optional. The full name of the Google Compute Engine - * [network](https://cloud.google.com//compute/docs/networks-and-firewalls#networks) - * to which the Endpoint should be peered. - * Private services access must already be configured for the network. If left - * unspecified, the Endpoint is not peered with any network. - * Only one of the fields, - * [network][google.cloud.aiplatform.v1.Endpoint.network] or - * [enable_private_service_connect][google.cloud.aiplatform.v1.Endpoint.enable_private_service_connect], - * can be set. - * [Format](https://cloud.google.com/compute/docs/reference/rest/v1/networks/insert): - * `projects/{project}/global/networks/{network}`. - * Where `{project}` is a project number, as in `12345`, and `{network}` is - * network name. - * - * Generated from protobuf field string network = 13 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { - * @return string - */ - public function getNetwork() - { - return $this->network; - } - - /** - * Optional. The full name of the Google Compute Engine - * [network](https://cloud.google.com//compute/docs/networks-and-firewalls#networks) - * to which the Endpoint should be peered. - * Private services access must already be configured for the network. If left - * unspecified, the Endpoint is not peered with any network. - * Only one of the fields, - * [network][google.cloud.aiplatform.v1.Endpoint.network] or - * [enable_private_service_connect][google.cloud.aiplatform.v1.Endpoint.enable_private_service_connect], - * can be set. - * [Format](https://cloud.google.com/compute/docs/reference/rest/v1/networks/insert): - * `projects/{project}/global/networks/{network}`. - * Where `{project}` is a project number, as in `12345`, and `{network}` is - * network name. - * - * Generated from protobuf field string network = 13 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setNetwork($var) - { - GPBUtil::checkString($var, True); - $this->network = $var; - - return $this; - } - - /** - * Deprecated: If true, expose the Endpoint via private service connect. - * Only one of the fields, - * [network][google.cloud.aiplatform.v1.Endpoint.network] or - * [enable_private_service_connect][google.cloud.aiplatform.v1.Endpoint.enable_private_service_connect], - * can be set. - * - * Generated from protobuf field bool enable_private_service_connect = 17 [deprecated = true]; - * @return bool - * @deprecated - */ - public function getEnablePrivateServiceConnect() - { - @trigger_error('enable_private_service_connect is deprecated.', E_USER_DEPRECATED); - return $this->enable_private_service_connect; - } - - /** - * Deprecated: If true, expose the Endpoint via private service connect. - * Only one of the fields, - * [network][google.cloud.aiplatform.v1.Endpoint.network] or - * [enable_private_service_connect][google.cloud.aiplatform.v1.Endpoint.enable_private_service_connect], - * can be set. - * - * Generated from protobuf field bool enable_private_service_connect = 17 [deprecated = true]; - * @param bool $var - * @return $this - * @deprecated - */ - public function setEnablePrivateServiceConnect($var) - { - @trigger_error('enable_private_service_connect is deprecated.', E_USER_DEPRECATED); - GPBUtil::checkBool($var); - $this->enable_private_service_connect = $var; - - return $this; - } - - /** - * Optional. Configuration for private service connect. - * [network][google.cloud.aiplatform.v1.Endpoint.network] and - * [private_service_connect_config][google.cloud.aiplatform.v1.Endpoint.private_service_connect_config] - * are mutually exclusive. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.PrivateServiceConnectConfig private_service_connect_config = 21 [(.google.api.field_behavior) = OPTIONAL]; - * @return \Google\Cloud\AIPlatform\V1\PrivateServiceConnectConfig|null - */ - public function getPrivateServiceConnectConfig() - { - return $this->private_service_connect_config; - } - - public function hasPrivateServiceConnectConfig() - { - return isset($this->private_service_connect_config); - } - - public function clearPrivateServiceConnectConfig() - { - unset($this->private_service_connect_config); - } - - /** - * Optional. Configuration for private service connect. - * [network][google.cloud.aiplatform.v1.Endpoint.network] and - * [private_service_connect_config][google.cloud.aiplatform.v1.Endpoint.private_service_connect_config] - * are mutually exclusive. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.PrivateServiceConnectConfig private_service_connect_config = 21 [(.google.api.field_behavior) = OPTIONAL]; - * @param \Google\Cloud\AIPlatform\V1\PrivateServiceConnectConfig $var - * @return $this - */ - public function setPrivateServiceConnectConfig($var) - { - GPBUtil::checkMessage($var, \Google\Cloud\AIPlatform\V1\PrivateServiceConnectConfig::class); - $this->private_service_connect_config = $var; - - return $this; - } - - /** - * Output only. Resource name of the Model Monitoring job associated with this - * Endpoint if monitoring is enabled by - * [JobService.CreateModelDeploymentMonitoringJob][google.cloud.aiplatform.v1.JobService.CreateModelDeploymentMonitoringJob]. - * Format: - * `projects/{project}/locations/{location}/modelDeploymentMonitoringJobs/{model_deployment_monitoring_job}` - * - * Generated from protobuf field string model_deployment_monitoring_job = 14 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - * @return string - */ - public function getModelDeploymentMonitoringJob() - { - return $this->model_deployment_monitoring_job; - } - - /** - * Output only. Resource name of the Model Monitoring job associated with this - * Endpoint if monitoring is enabled by - * [JobService.CreateModelDeploymentMonitoringJob][google.cloud.aiplatform.v1.JobService.CreateModelDeploymentMonitoringJob]. - * Format: - * `projects/{project}/locations/{location}/modelDeploymentMonitoringJobs/{model_deployment_monitoring_job}` - * - * Generated from protobuf field string model_deployment_monitoring_job = 14 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setModelDeploymentMonitoringJob($var) - { - GPBUtil::checkString($var, True); - $this->model_deployment_monitoring_job = $var; - - return $this; - } - - /** - * Configures the request-response logging for online prediction. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.PredictRequestResponseLoggingConfig predict_request_response_logging_config = 18; - * @return \Google\Cloud\AIPlatform\V1\PredictRequestResponseLoggingConfig|null - */ - public function getPredictRequestResponseLoggingConfig() - { - return $this->predict_request_response_logging_config; - } - - public function hasPredictRequestResponseLoggingConfig() - { - return isset($this->predict_request_response_logging_config); - } - - public function clearPredictRequestResponseLoggingConfig() - { - unset($this->predict_request_response_logging_config); - } - - /** - * Configures the request-response logging for online prediction. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.PredictRequestResponseLoggingConfig predict_request_response_logging_config = 18; - * @param \Google\Cloud\AIPlatform\V1\PredictRequestResponseLoggingConfig $var - * @return $this - */ - public function setPredictRequestResponseLoggingConfig($var) - { - GPBUtil::checkMessage($var, \Google\Cloud\AIPlatform\V1\PredictRequestResponseLoggingConfig::class); - $this->predict_request_response_logging_config = $var; - - return $this; - } - -} - diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/EntityIdSelector.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/EntityIdSelector.php deleted file mode 100644 index 46e3c929417c..000000000000 --- a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/EntityIdSelector.php +++ /dev/null @@ -1,113 +0,0 @@ -google.cloud.aiplatform.v1.EntityIdSelector - */ -class EntityIdSelector extends \Google\Protobuf\Internal\Message -{ - /** - * Source column that holds entity IDs. If not provided, entity IDs are - * extracted from the column named entity_id. - * - * Generated from protobuf field string entity_id_field = 5; - */ - protected $entity_id_field = ''; - protected $EntityIdsSource; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type \Google\Cloud\AIPlatform\V1\CsvSource $csv_source - * Source of Csv - * @type string $entity_id_field - * Source column that holds entity IDs. If not provided, entity IDs are - * extracted from the column named entity_id. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Cloud\Aiplatform\V1\FeaturestoreService::initOnce(); - parent::__construct($data); - } - - /** - * Source of Csv - * - * Generated from protobuf field .google.cloud.aiplatform.v1.CsvSource csv_source = 3; - * @return \Google\Cloud\AIPlatform\V1\CsvSource|null - */ - public function getCsvSource() - { - return $this->readOneof(3); - } - - public function hasCsvSource() - { - return $this->hasOneof(3); - } - - /** - * Source of Csv - * - * Generated from protobuf field .google.cloud.aiplatform.v1.CsvSource csv_source = 3; - * @param \Google\Cloud\AIPlatform\V1\CsvSource $var - * @return $this - */ - public function setCsvSource($var) - { - GPBUtil::checkMessage($var, \Google\Cloud\AIPlatform\V1\CsvSource::class); - $this->writeOneof(3, $var); - - return $this; - } - - /** - * Source column that holds entity IDs. If not provided, entity IDs are - * extracted from the column named entity_id. - * - * Generated from protobuf field string entity_id_field = 5; - * @return string - */ - public function getEntityIdField() - { - return $this->entity_id_field; - } - - /** - * Source column that holds entity IDs. If not provided, entity IDs are - * extracted from the column named entity_id. - * - * Generated from protobuf field string entity_id_field = 5; - * @param string $var - * @return $this - */ - public function setEntityIdField($var) - { - GPBUtil::checkString($var, True); - $this->entity_id_field = $var; - - return $this; - } - - /** - * @return string - */ - public function getEntityIdsSource() - { - return $this->whichOneof("EntityIdsSource"); - } - -} - diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/EntityType.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/EntityType.php deleted file mode 100644 index 128f28a9b487..000000000000 --- a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/EntityType.php +++ /dev/null @@ -1,445 +0,0 @@ -google.cloud.aiplatform.v1.EntityType - */ -class EntityType extends \Google\Protobuf\Internal\Message -{ - /** - * Immutable. Name of the EntityType. - * Format: - * `projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entity_type}` - * The last part entity_type is assigned by the client. The entity_type can be - * up to 64 characters long and can consist only of ASCII Latin letters A-Z - * and a-z and underscore(_), and ASCII digits 0-9 starting with a letter. The - * value will be unique given a featurestore. - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = IMMUTABLE]; - */ - protected $name = ''; - /** - * Optional. Description of the EntityType. - * - * Generated from protobuf field string description = 2 [(.google.api.field_behavior) = OPTIONAL]; - */ - protected $description = ''; - /** - * Output only. Timestamp when this EntityType was created. - * - * Generated from protobuf field .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $create_time = null; - /** - * Output only. Timestamp when this EntityType was most recently updated. - * - * Generated from protobuf field .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $update_time = null; - /** - * Optional. The labels with user-defined metadata to organize your - * EntityTypes. - * Label keys and values can be no longer than 64 characters - * (Unicode codepoints), can only contain lowercase letters, numeric - * characters, underscores and dashes. International characters are allowed. - * See https://goo.gl/xmQnxf for more information on and examples of labels. - * No more than 64 user labels can be associated with one EntityType (System - * labels are excluded)." - * System reserved label keys are prefixed with "aiplatform.googleapis.com/" - * and are immutable. - * - * Generated from protobuf field map labels = 6 [(.google.api.field_behavior) = OPTIONAL]; - */ - private $labels; - /** - * Optional. Used to perform a consistent read-modify-write updates. If not - * set, a blind "overwrite" update happens. - * - * Generated from protobuf field string etag = 7 [(.google.api.field_behavior) = OPTIONAL]; - */ - protected $etag = ''; - /** - * Optional. The default monitoring configuration for all Features with value - * type - * ([Feature.ValueType][google.cloud.aiplatform.v1.Feature.ValueType]) BOOL, - * STRING, DOUBLE or INT64 under this EntityType. - * If this is populated with - * [FeaturestoreMonitoringConfig.monitoring_interval] specified, snapshot - * analysis monitoring is enabled. Otherwise, snapshot analysis monitoring is - * disabled. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig monitoring_config = 8 [(.google.api.field_behavior) = OPTIONAL]; - */ - protected $monitoring_config = null; - /** - * Optional. Config for data retention policy in offline storage. - * TTL in days for feature values that will be stored in offline storage. - * The Feature Store offline storage periodically removes obsolete feature - * values older than `offline_storage_ttl_days` since the feature generation - * time. If unset (or explicitly set to 0), default to 4000 days TTL. - * - * Generated from protobuf field int32 offline_storage_ttl_days = 10 [(.google.api.field_behavior) = OPTIONAL]; - */ - protected $offline_storage_ttl_days = 0; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $name - * Immutable. Name of the EntityType. - * Format: - * `projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entity_type}` - * The last part entity_type is assigned by the client. The entity_type can be - * up to 64 characters long and can consist only of ASCII Latin letters A-Z - * and a-z and underscore(_), and ASCII digits 0-9 starting with a letter. The - * value will be unique given a featurestore. - * @type string $description - * Optional. Description of the EntityType. - * @type \Google\Protobuf\Timestamp $create_time - * Output only. Timestamp when this EntityType was created. - * @type \Google\Protobuf\Timestamp $update_time - * Output only. Timestamp when this EntityType was most recently updated. - * @type array|\Google\Protobuf\Internal\MapField $labels - * Optional. The labels with user-defined metadata to organize your - * EntityTypes. - * Label keys and values can be no longer than 64 characters - * (Unicode codepoints), can only contain lowercase letters, numeric - * characters, underscores and dashes. International characters are allowed. - * See https://goo.gl/xmQnxf for more information on and examples of labels. - * No more than 64 user labels can be associated with one EntityType (System - * labels are excluded)." - * System reserved label keys are prefixed with "aiplatform.googleapis.com/" - * and are immutable. - * @type string $etag - * Optional. Used to perform a consistent read-modify-write updates. If not - * set, a blind "overwrite" update happens. - * @type \Google\Cloud\AIPlatform\V1\FeaturestoreMonitoringConfig $monitoring_config - * Optional. The default monitoring configuration for all Features with value - * type - * ([Feature.ValueType][google.cloud.aiplatform.v1.Feature.ValueType]) BOOL, - * STRING, DOUBLE or INT64 under this EntityType. - * If this is populated with - * [FeaturestoreMonitoringConfig.monitoring_interval] specified, snapshot - * analysis monitoring is enabled. Otherwise, snapshot analysis monitoring is - * disabled. - * @type int $offline_storage_ttl_days - * Optional. Config for data retention policy in offline storage. - * TTL in days for feature values that will be stored in offline storage. - * The Feature Store offline storage periodically removes obsolete feature - * values older than `offline_storage_ttl_days` since the feature generation - * time. If unset (or explicitly set to 0), default to 4000 days TTL. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Cloud\Aiplatform\V1\EntityType::initOnce(); - parent::__construct($data); - } - - /** - * Immutable. Name of the EntityType. - * Format: - * `projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entity_type}` - * The last part entity_type is assigned by the client. The entity_type can be - * up to 64 characters long and can consist only of ASCII Latin letters A-Z - * and a-z and underscore(_), and ASCII digits 0-9 starting with a letter. The - * value will be unique given a featurestore. - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = IMMUTABLE]; - * @return string - */ - public function getName() - { - return $this->name; - } - - /** - * Immutable. Name of the EntityType. - * Format: - * `projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entity_type}` - * The last part entity_type is assigned by the client. The entity_type can be - * up to 64 characters long and can consist only of ASCII Latin letters A-Z - * and a-z and underscore(_), and ASCII digits 0-9 starting with a letter. The - * value will be unique given a featurestore. - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = IMMUTABLE]; - * @param string $var - * @return $this - */ - public function setName($var) - { - GPBUtil::checkString($var, True); - $this->name = $var; - - return $this; - } - - /** - * Optional. Description of the EntityType. - * - * Generated from protobuf field string description = 2 [(.google.api.field_behavior) = OPTIONAL]; - * @return string - */ - public function getDescription() - { - return $this->description; - } - - /** - * Optional. Description of the EntityType. - * - * Generated from protobuf field string description = 2 [(.google.api.field_behavior) = OPTIONAL]; - * @param string $var - * @return $this - */ - public function setDescription($var) - { - GPBUtil::checkString($var, True); - $this->description = $var; - - return $this; - } - - /** - * Output only. Timestamp when this EntityType was created. - * - * Generated from protobuf field .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return \Google\Protobuf\Timestamp|null - */ - public function getCreateTime() - { - return $this->create_time; - } - - public function hasCreateTime() - { - return isset($this->create_time); - } - - public function clearCreateTime() - { - unset($this->create_time); - } - - /** - * Output only. Timestamp when this EntityType was created. - * - * Generated from protobuf field .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param \Google\Protobuf\Timestamp $var - * @return $this - */ - public function setCreateTime($var) - { - GPBUtil::checkMessage($var, \Google\Protobuf\Timestamp::class); - $this->create_time = $var; - - return $this; - } - - /** - * Output only. Timestamp when this EntityType was most recently updated. - * - * Generated from protobuf field .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return \Google\Protobuf\Timestamp|null - */ - public function getUpdateTime() - { - return $this->update_time; - } - - public function hasUpdateTime() - { - return isset($this->update_time); - } - - public function clearUpdateTime() - { - unset($this->update_time); - } - - /** - * Output only. Timestamp when this EntityType was most recently updated. - * - * Generated from protobuf field .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param \Google\Protobuf\Timestamp $var - * @return $this - */ - public function setUpdateTime($var) - { - GPBUtil::checkMessage($var, \Google\Protobuf\Timestamp::class); - $this->update_time = $var; - - return $this; - } - - /** - * Optional. The labels with user-defined metadata to organize your - * EntityTypes. - * Label keys and values can be no longer than 64 characters - * (Unicode codepoints), can only contain lowercase letters, numeric - * characters, underscores and dashes. International characters are allowed. - * See https://goo.gl/xmQnxf for more information on and examples of labels. - * No more than 64 user labels can be associated with one EntityType (System - * labels are excluded)." - * System reserved label keys are prefixed with "aiplatform.googleapis.com/" - * and are immutable. - * - * Generated from protobuf field map labels = 6 [(.google.api.field_behavior) = OPTIONAL]; - * @return \Google\Protobuf\Internal\MapField - */ - public function getLabels() - { - return $this->labels; - } - - /** - * Optional. The labels with user-defined metadata to organize your - * EntityTypes. - * Label keys and values can be no longer than 64 characters - * (Unicode codepoints), can only contain lowercase letters, numeric - * characters, underscores and dashes. International characters are allowed. - * See https://goo.gl/xmQnxf for more information on and examples of labels. - * No more than 64 user labels can be associated with one EntityType (System - * labels are excluded)." - * System reserved label keys are prefixed with "aiplatform.googleapis.com/" - * and are immutable. - * - * Generated from protobuf field map labels = 6 [(.google.api.field_behavior) = OPTIONAL]; - * @param array|\Google\Protobuf\Internal\MapField $var - * @return $this - */ - public function setLabels($var) - { - $arr = GPBUtil::checkMapField($var, \Google\Protobuf\Internal\GPBType::STRING, \Google\Protobuf\Internal\GPBType::STRING); - $this->labels = $arr; - - return $this; - } - - /** - * Optional. Used to perform a consistent read-modify-write updates. If not - * set, a blind "overwrite" update happens. - * - * Generated from protobuf field string etag = 7 [(.google.api.field_behavior) = OPTIONAL]; - * @return string - */ - public function getEtag() - { - return $this->etag; - } - - /** - * Optional. Used to perform a consistent read-modify-write updates. If not - * set, a blind "overwrite" update happens. - * - * Generated from protobuf field string etag = 7 [(.google.api.field_behavior) = OPTIONAL]; - * @param string $var - * @return $this - */ - public function setEtag($var) - { - GPBUtil::checkString($var, True); - $this->etag = $var; - - return $this; - } - - /** - * Optional. The default monitoring configuration for all Features with value - * type - * ([Feature.ValueType][google.cloud.aiplatform.v1.Feature.ValueType]) BOOL, - * STRING, DOUBLE or INT64 under this EntityType. - * If this is populated with - * [FeaturestoreMonitoringConfig.monitoring_interval] specified, snapshot - * analysis monitoring is enabled. Otherwise, snapshot analysis monitoring is - * disabled. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig monitoring_config = 8 [(.google.api.field_behavior) = OPTIONAL]; - * @return \Google\Cloud\AIPlatform\V1\FeaturestoreMonitoringConfig|null - */ - public function getMonitoringConfig() - { - return $this->monitoring_config; - } - - public function hasMonitoringConfig() - { - return isset($this->monitoring_config); - } - - public function clearMonitoringConfig() - { - unset($this->monitoring_config); - } - - /** - * Optional. The default monitoring configuration for all Features with value - * type - * ([Feature.ValueType][google.cloud.aiplatform.v1.Feature.ValueType]) BOOL, - * STRING, DOUBLE or INT64 under this EntityType. - * If this is populated with - * [FeaturestoreMonitoringConfig.monitoring_interval] specified, snapshot - * analysis monitoring is enabled. Otherwise, snapshot analysis monitoring is - * disabled. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig monitoring_config = 8 [(.google.api.field_behavior) = OPTIONAL]; - * @param \Google\Cloud\AIPlatform\V1\FeaturestoreMonitoringConfig $var - * @return $this - */ - public function setMonitoringConfig($var) - { - GPBUtil::checkMessage($var, \Google\Cloud\AIPlatform\V1\FeaturestoreMonitoringConfig::class); - $this->monitoring_config = $var; - - return $this; - } - - /** - * Optional. Config for data retention policy in offline storage. - * TTL in days for feature values that will be stored in offline storage. - * The Feature Store offline storage periodically removes obsolete feature - * values older than `offline_storage_ttl_days` since the feature generation - * time. If unset (or explicitly set to 0), default to 4000 days TTL. - * - * Generated from protobuf field int32 offline_storage_ttl_days = 10 [(.google.api.field_behavior) = OPTIONAL]; - * @return int - */ - public function getOfflineStorageTtlDays() - { - return $this->offline_storage_ttl_days; - } - - /** - * Optional. Config for data retention policy in offline storage. - * TTL in days for feature values that will be stored in offline storage. - * The Feature Store offline storage periodically removes obsolete feature - * values older than `offline_storage_ttl_days` since the feature generation - * time. If unset (or explicitly set to 0), default to 4000 days TTL. - * - * Generated from protobuf field int32 offline_storage_ttl_days = 10 [(.google.api.field_behavior) = OPTIONAL]; - * @param int $var - * @return $this - */ - public function setOfflineStorageTtlDays($var) - { - GPBUtil::checkInt32($var); - $this->offline_storage_ttl_days = $var; - - return $this; - } - -} - diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/EnvVar.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/EnvVar.php deleted file mode 100644 index a189248f6cfc..000000000000 --- a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/EnvVar.php +++ /dev/null @@ -1,125 +0,0 @@ -google.cloud.aiplatform.v1.EnvVar - */ -class EnvVar extends \Google\Protobuf\Internal\Message -{ - /** - * Required. Name of the environment variable. Must be a valid C identifier. - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $name = ''; - /** - * Required. Variables that reference a $(VAR_NAME) are expanded - * using the previous defined environment variables in the container and - * any service environment variables. If a variable cannot be resolved, - * the reference in the input string will be unchanged. The $(VAR_NAME) - * syntax can be escaped with a double $$, ie: $$(VAR_NAME). Escaped - * references will never be expanded, regardless of whether the variable - * exists or not. - * - * Generated from protobuf field string value = 2 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $value = ''; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $name - * Required. Name of the environment variable. Must be a valid C identifier. - * @type string $value - * Required. Variables that reference a $(VAR_NAME) are expanded - * using the previous defined environment variables in the container and - * any service environment variables. If a variable cannot be resolved, - * the reference in the input string will be unchanged. The $(VAR_NAME) - * syntax can be escaped with a double $$, ie: $$(VAR_NAME). Escaped - * references will never be expanded, regardless of whether the variable - * exists or not. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Cloud\Aiplatform\V1\EnvVar::initOnce(); - parent::__construct($data); - } - - /** - * Required. Name of the environment variable. Must be a valid C identifier. - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * @return string - */ - public function getName() - { - return $this->name; - } - - /** - * Required. Name of the environment variable. Must be a valid C identifier. - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * @param string $var - * @return $this - */ - public function setName($var) - { - GPBUtil::checkString($var, True); - $this->name = $var; - - return $this; - } - - /** - * Required. Variables that reference a $(VAR_NAME) are expanded - * using the previous defined environment variables in the container and - * any service environment variables. If a variable cannot be resolved, - * the reference in the input string will be unchanged. The $(VAR_NAME) - * syntax can be escaped with a double $$, ie: $$(VAR_NAME). Escaped - * references will never be expanded, regardless of whether the variable - * exists or not. - * - * Generated from protobuf field string value = 2 [(.google.api.field_behavior) = REQUIRED]; - * @return string - */ - public function getValue() - { - return $this->value; - } - - /** - * Required. Variables that reference a $(VAR_NAME) are expanded - * using the previous defined environment variables in the container and - * any service environment variables. If a variable cannot be resolved, - * the reference in the input string will be unchanged. The $(VAR_NAME) - * syntax can be escaped with a double $$, ie: $$(VAR_NAME). Escaped - * references will never be expanded, regardless of whether the variable - * exists or not. - * - * Generated from protobuf field string value = 2 [(.google.api.field_behavior) = REQUIRED]; - * @param string $var - * @return $this - */ - public function setValue($var) - { - GPBUtil::checkString($var, True); - $this->value = $var; - - return $this; - } - -} - diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ErrorAnalysisAnnotation.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ErrorAnalysisAnnotation.php deleted file mode 100644 index e063ef9eb60a..000000000000 --- a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ErrorAnalysisAnnotation.php +++ /dev/null @@ -1,177 +0,0 @@ -google.cloud.aiplatform.v1.ErrorAnalysisAnnotation - */ -class ErrorAnalysisAnnotation extends \Google\Protobuf\Internal\Message -{ - /** - * Attributed items for a given annotation, typically representing neighbors - * from the training sets constrained by the query type. - * - * Generated from protobuf field repeated .google.cloud.aiplatform.v1.ErrorAnalysisAnnotation.AttributedItem attributed_items = 1; - */ - private $attributed_items; - /** - * The query type used for finding the attributed items. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.ErrorAnalysisAnnotation.QueryType query_type = 2; - */ - protected $query_type = 0; - /** - * The outlier score of this annotated item. Usually defined as the min of all - * distances from attributed items. - * - * Generated from protobuf field double outlier_score = 3; - */ - protected $outlier_score = 0.0; - /** - * The threshold used to determine if this annotation is an outlier or not. - * - * Generated from protobuf field double outlier_threshold = 4; - */ - protected $outlier_threshold = 0.0; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type array<\Google\Cloud\AIPlatform\V1\ErrorAnalysisAnnotation\AttributedItem>|\Google\Protobuf\Internal\RepeatedField $attributed_items - * Attributed items for a given annotation, typically representing neighbors - * from the training sets constrained by the query type. - * @type int $query_type - * The query type used for finding the attributed items. - * @type float $outlier_score - * The outlier score of this annotated item. Usually defined as the min of all - * distances from attributed items. - * @type float $outlier_threshold - * The threshold used to determine if this annotation is an outlier or not. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Cloud\Aiplatform\V1\EvaluatedAnnotation::initOnce(); - parent::__construct($data); - } - - /** - * Attributed items for a given annotation, typically representing neighbors - * from the training sets constrained by the query type. - * - * Generated from protobuf field repeated .google.cloud.aiplatform.v1.ErrorAnalysisAnnotation.AttributedItem attributed_items = 1; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getAttributedItems() - { - return $this->attributed_items; - } - - /** - * Attributed items for a given annotation, typically representing neighbors - * from the training sets constrained by the query type. - * - * Generated from protobuf field repeated .google.cloud.aiplatform.v1.ErrorAnalysisAnnotation.AttributedItem attributed_items = 1; - * @param array<\Google\Cloud\AIPlatform\V1\ErrorAnalysisAnnotation\AttributedItem>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setAttributedItems($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\AIPlatform\V1\ErrorAnalysisAnnotation\AttributedItem::class); - $this->attributed_items = $arr; - - return $this; - } - - /** - * The query type used for finding the attributed items. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.ErrorAnalysisAnnotation.QueryType query_type = 2; - * @return int - */ - public function getQueryType() - { - return $this->query_type; - } - - /** - * The query type used for finding the attributed items. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.ErrorAnalysisAnnotation.QueryType query_type = 2; - * @param int $var - * @return $this - */ - public function setQueryType($var) - { - GPBUtil::checkEnum($var, \Google\Cloud\AIPlatform\V1\ErrorAnalysisAnnotation\QueryType::class); - $this->query_type = $var; - - return $this; - } - - /** - * The outlier score of this annotated item. Usually defined as the min of all - * distances from attributed items. - * - * Generated from protobuf field double outlier_score = 3; - * @return float - */ - public function getOutlierScore() - { - return $this->outlier_score; - } - - /** - * The outlier score of this annotated item. Usually defined as the min of all - * distances from attributed items. - * - * Generated from protobuf field double outlier_score = 3; - * @param float $var - * @return $this - */ - public function setOutlierScore($var) - { - GPBUtil::checkDouble($var); - $this->outlier_score = $var; - - return $this; - } - - /** - * The threshold used to determine if this annotation is an outlier or not. - * - * Generated from protobuf field double outlier_threshold = 4; - * @return float - */ - public function getOutlierThreshold() - { - return $this->outlier_threshold; - } - - /** - * The threshold used to determine if this annotation is an outlier or not. - * - * Generated from protobuf field double outlier_threshold = 4; - * @param float $var - * @return $this - */ - public function setOutlierThreshold($var) - { - GPBUtil::checkDouble($var); - $this->outlier_threshold = $var; - - return $this; - } - -} - diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ErrorAnalysisAnnotation/AttributedItem.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ErrorAnalysisAnnotation/AttributedItem.php deleted file mode 100644 index 4e09cb15a5bd..000000000000 --- a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ErrorAnalysisAnnotation/AttributedItem.php +++ /dev/null @@ -1,109 +0,0 @@ -google.cloud.aiplatform.v1.ErrorAnalysisAnnotation.AttributedItem - */ -class AttributedItem extends \Google\Protobuf\Internal\Message -{ - /** - * The unique ID for each annotation. Used by FE to allocate the annotation - * in DB. - * - * Generated from protobuf field string annotation_resource_name = 1; - */ - protected $annotation_resource_name = ''; - /** - * The distance of this item to the annotation. - * - * Generated from protobuf field double distance = 2; - */ - protected $distance = 0.0; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $annotation_resource_name - * The unique ID for each annotation. Used by FE to allocate the annotation - * in DB. - * @type float $distance - * The distance of this item to the annotation. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Cloud\Aiplatform\V1\EvaluatedAnnotation::initOnce(); - parent::__construct($data); - } - - /** - * The unique ID for each annotation. Used by FE to allocate the annotation - * in DB. - * - * Generated from protobuf field string annotation_resource_name = 1; - * @return string - */ - public function getAnnotationResourceName() - { - return $this->annotation_resource_name; - } - - /** - * The unique ID for each annotation. Used by FE to allocate the annotation - * in DB. - * - * Generated from protobuf field string annotation_resource_name = 1; - * @param string $var - * @return $this - */ - public function setAnnotationResourceName($var) - { - GPBUtil::checkString($var, True); - $this->annotation_resource_name = $var; - - return $this; - } - - /** - * The distance of this item to the annotation. - * - * Generated from protobuf field double distance = 2; - * @return float - */ - public function getDistance() - { - return $this->distance; - } - - /** - * The distance of this item to the annotation. - * - * Generated from protobuf field double distance = 2; - * @param float $var - * @return $this - */ - public function setDistance($var) - { - GPBUtil::checkDouble($var); - $this->distance = $var; - - return $this; - } - -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(AttributedItem::class, \Google\Cloud\AIPlatform\V1\ErrorAnalysisAnnotation_AttributedItem::class); - diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ErrorAnalysisAnnotation/QueryType.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ErrorAnalysisAnnotation/QueryType.php deleted file mode 100644 index 35b9e96e64d4..000000000000 --- a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ErrorAnalysisAnnotation/QueryType.php +++ /dev/null @@ -1,71 +0,0 @@ -google.cloud.aiplatform.v1.ErrorAnalysisAnnotation.QueryType - */ -class QueryType -{ - /** - * Unspecified query type for model error analysis. - * - * Generated from protobuf enum QUERY_TYPE_UNSPECIFIED = 0; - */ - const QUERY_TYPE_UNSPECIFIED = 0; - /** - * Query similar samples across all classes in the dataset. - * - * Generated from protobuf enum ALL_SIMILAR = 1; - */ - const ALL_SIMILAR = 1; - /** - * Query similar samples from the same class of the input sample. - * - * Generated from protobuf enum SAME_CLASS_SIMILAR = 2; - */ - const SAME_CLASS_SIMILAR = 2; - /** - * Query dissimilar samples from the same class of the input sample. - * - * Generated from protobuf enum SAME_CLASS_DISSIMILAR = 3; - */ - const SAME_CLASS_DISSIMILAR = 3; - - private static $valueToName = [ - self::QUERY_TYPE_UNSPECIFIED => 'QUERY_TYPE_UNSPECIFIED', - self::ALL_SIMILAR => 'ALL_SIMILAR', - self::SAME_CLASS_SIMILAR => 'SAME_CLASS_SIMILAR', - self::SAME_CLASS_DISSIMILAR => 'SAME_CLASS_DISSIMILAR', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(QueryType::class, \Google\Cloud\AIPlatform\V1\ErrorAnalysisAnnotation_QueryType::class); - diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/EvaluatedAnnotation.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/EvaluatedAnnotation.php deleted file mode 100644 index ecc61359bd46..000000000000 --- a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/EvaluatedAnnotation.php +++ /dev/null @@ -1,431 +0,0 @@ -google.cloud.aiplatform.v1.EvaluatedAnnotation - */ -class EvaluatedAnnotation extends \Google\Protobuf\Internal\Message -{ - /** - * Output only. Type of the EvaluatedAnnotation. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.EvaluatedAnnotation.EvaluatedAnnotationType type = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $type = 0; - /** - * Output only. The model predicted annotations. - * For true positive, there is one and only one prediction, which matches the - * only one ground truth annotation in - * [ground_truths][google.cloud.aiplatform.v1.EvaluatedAnnotation.ground_truths]. - * For false positive, there is one and only one prediction, which doesn't - * match any ground truth annotation of the corresponding - * [data_item_view_id][EvaluatedAnnotation.data_item_view_id]. - * For false negative, there are zero or more predictions which are similar to - * the only ground truth annotation in - * [ground_truths][google.cloud.aiplatform.v1.EvaluatedAnnotation.ground_truths] - * but not enough for a match. - * The schema of the prediction is stored in - * [ModelEvaluation.annotation_schema_uri][google.cloud.aiplatform.v1.ModelEvaluation.annotation_schema_uri] - * - * Generated from protobuf field repeated .google.protobuf.Value predictions = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - private $predictions; - /** - * Output only. The ground truth Annotations, i.e. the Annotations that exist - * in the test data the Model is evaluated on. - * For true positive, there is one and only one ground truth annotation, which - * matches the only prediction in - * [predictions][google.cloud.aiplatform.v1.EvaluatedAnnotation.predictions]. - * For false positive, there are zero or more ground truth annotations that - * are similar to the only prediction in - * [predictions][google.cloud.aiplatform.v1.EvaluatedAnnotation.predictions], - * but not enough for a match. - * For false negative, there is one and only one ground truth annotation, - * which doesn't match any predictions created by the model. - * The schema of the ground truth is stored in - * [ModelEvaluation.annotation_schema_uri][google.cloud.aiplatform.v1.ModelEvaluation.annotation_schema_uri] - * - * Generated from protobuf field repeated .google.protobuf.Value ground_truths = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - private $ground_truths; - /** - * Output only. The data item payload that the Model predicted this - * EvaluatedAnnotation on. - * - * Generated from protobuf field .google.protobuf.Value data_item_payload = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $data_item_payload = null; - /** - * Output only. ID of the EvaluatedDataItemView under the same ancestor - * ModelEvaluation. The EvaluatedDataItemView consists of all ground truths - * and predictions on - * [data_item_payload][google.cloud.aiplatform.v1.EvaluatedAnnotation.data_item_payload]. - * - * Generated from protobuf field string evaluated_data_item_view_id = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $evaluated_data_item_view_id = ''; - /** - * Explanations of - * [predictions][google.cloud.aiplatform.v1.EvaluatedAnnotation.predictions]. - * Each element of the explanations indicates the explanation for one - * explanation Method. - * The attributions list in the - * [EvaluatedAnnotationExplanation.explanation][google.cloud.aiplatform.v1.EvaluatedAnnotationExplanation.explanation] - * object corresponds to the - * [predictions][google.cloud.aiplatform.v1.EvaluatedAnnotation.predictions] - * list. For example, the second element in the attributions list explains the - * second element in the predictions list. - * - * Generated from protobuf field repeated .google.cloud.aiplatform.v1.EvaluatedAnnotationExplanation explanations = 8; - */ - private $explanations; - /** - * Annotations of model error analysis results. - * - * Generated from protobuf field repeated .google.cloud.aiplatform.v1.ErrorAnalysisAnnotation error_analysis_annotations = 9; - */ - private $error_analysis_annotations; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type int $type - * Output only. Type of the EvaluatedAnnotation. - * @type array<\Google\Protobuf\Value>|\Google\Protobuf\Internal\RepeatedField $predictions - * Output only. The model predicted annotations. - * For true positive, there is one and only one prediction, which matches the - * only one ground truth annotation in - * [ground_truths][google.cloud.aiplatform.v1.EvaluatedAnnotation.ground_truths]. - * For false positive, there is one and only one prediction, which doesn't - * match any ground truth annotation of the corresponding - * [data_item_view_id][EvaluatedAnnotation.data_item_view_id]. - * For false negative, there are zero or more predictions which are similar to - * the only ground truth annotation in - * [ground_truths][google.cloud.aiplatform.v1.EvaluatedAnnotation.ground_truths] - * but not enough for a match. - * The schema of the prediction is stored in - * [ModelEvaluation.annotation_schema_uri][google.cloud.aiplatform.v1.ModelEvaluation.annotation_schema_uri] - * @type array<\Google\Protobuf\Value>|\Google\Protobuf\Internal\RepeatedField $ground_truths - * Output only. The ground truth Annotations, i.e. the Annotations that exist - * in the test data the Model is evaluated on. - * For true positive, there is one and only one ground truth annotation, which - * matches the only prediction in - * [predictions][google.cloud.aiplatform.v1.EvaluatedAnnotation.predictions]. - * For false positive, there are zero or more ground truth annotations that - * are similar to the only prediction in - * [predictions][google.cloud.aiplatform.v1.EvaluatedAnnotation.predictions], - * but not enough for a match. - * For false negative, there is one and only one ground truth annotation, - * which doesn't match any predictions created by the model. - * The schema of the ground truth is stored in - * [ModelEvaluation.annotation_schema_uri][google.cloud.aiplatform.v1.ModelEvaluation.annotation_schema_uri] - * @type \Google\Protobuf\Value $data_item_payload - * Output only. The data item payload that the Model predicted this - * EvaluatedAnnotation on. - * @type string $evaluated_data_item_view_id - * Output only. ID of the EvaluatedDataItemView under the same ancestor - * ModelEvaluation. The EvaluatedDataItemView consists of all ground truths - * and predictions on - * [data_item_payload][google.cloud.aiplatform.v1.EvaluatedAnnotation.data_item_payload]. - * @type array<\Google\Cloud\AIPlatform\V1\EvaluatedAnnotationExplanation>|\Google\Protobuf\Internal\RepeatedField $explanations - * Explanations of - * [predictions][google.cloud.aiplatform.v1.EvaluatedAnnotation.predictions]. - * Each element of the explanations indicates the explanation for one - * explanation Method. - * The attributions list in the - * [EvaluatedAnnotationExplanation.explanation][google.cloud.aiplatform.v1.EvaluatedAnnotationExplanation.explanation] - * object corresponds to the - * [predictions][google.cloud.aiplatform.v1.EvaluatedAnnotation.predictions] - * list. For example, the second element in the attributions list explains the - * second element in the predictions list. - * @type array<\Google\Cloud\AIPlatform\V1\ErrorAnalysisAnnotation>|\Google\Protobuf\Internal\RepeatedField $error_analysis_annotations - * Annotations of model error analysis results. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Cloud\Aiplatform\V1\EvaluatedAnnotation::initOnce(); - parent::__construct($data); - } - - /** - * Output only. Type of the EvaluatedAnnotation. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.EvaluatedAnnotation.EvaluatedAnnotationType type = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return int - */ - public function getType() - { - return $this->type; - } - - /** - * Output only. Type of the EvaluatedAnnotation. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.EvaluatedAnnotation.EvaluatedAnnotationType type = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param int $var - * @return $this - */ - public function setType($var) - { - GPBUtil::checkEnum($var, \Google\Cloud\AIPlatform\V1\EvaluatedAnnotation\EvaluatedAnnotationType::class); - $this->type = $var; - - return $this; - } - - /** - * Output only. The model predicted annotations. - * For true positive, there is one and only one prediction, which matches the - * only one ground truth annotation in - * [ground_truths][google.cloud.aiplatform.v1.EvaluatedAnnotation.ground_truths]. - * For false positive, there is one and only one prediction, which doesn't - * match any ground truth annotation of the corresponding - * [data_item_view_id][EvaluatedAnnotation.data_item_view_id]. - * For false negative, there are zero or more predictions which are similar to - * the only ground truth annotation in - * [ground_truths][google.cloud.aiplatform.v1.EvaluatedAnnotation.ground_truths] - * but not enough for a match. - * The schema of the prediction is stored in - * [ModelEvaluation.annotation_schema_uri][google.cloud.aiplatform.v1.ModelEvaluation.annotation_schema_uri] - * - * Generated from protobuf field repeated .google.protobuf.Value predictions = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getPredictions() - { - return $this->predictions; - } - - /** - * Output only. The model predicted annotations. - * For true positive, there is one and only one prediction, which matches the - * only one ground truth annotation in - * [ground_truths][google.cloud.aiplatform.v1.EvaluatedAnnotation.ground_truths]. - * For false positive, there is one and only one prediction, which doesn't - * match any ground truth annotation of the corresponding - * [data_item_view_id][EvaluatedAnnotation.data_item_view_id]. - * For false negative, there are zero or more predictions which are similar to - * the only ground truth annotation in - * [ground_truths][google.cloud.aiplatform.v1.EvaluatedAnnotation.ground_truths] - * but not enough for a match. - * The schema of the prediction is stored in - * [ModelEvaluation.annotation_schema_uri][google.cloud.aiplatform.v1.ModelEvaluation.annotation_schema_uri] - * - * Generated from protobuf field repeated .google.protobuf.Value predictions = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param array<\Google\Protobuf\Value>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setPredictions($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Protobuf\Value::class); - $this->predictions = $arr; - - return $this; - } - - /** - * Output only. The ground truth Annotations, i.e. the Annotations that exist - * in the test data the Model is evaluated on. - * For true positive, there is one and only one ground truth annotation, which - * matches the only prediction in - * [predictions][google.cloud.aiplatform.v1.EvaluatedAnnotation.predictions]. - * For false positive, there are zero or more ground truth annotations that - * are similar to the only prediction in - * [predictions][google.cloud.aiplatform.v1.EvaluatedAnnotation.predictions], - * but not enough for a match. - * For false negative, there is one and only one ground truth annotation, - * which doesn't match any predictions created by the model. - * The schema of the ground truth is stored in - * [ModelEvaluation.annotation_schema_uri][google.cloud.aiplatform.v1.ModelEvaluation.annotation_schema_uri] - * - * Generated from protobuf field repeated .google.protobuf.Value ground_truths = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getGroundTruths() - { - return $this->ground_truths; - } - - /** - * Output only. The ground truth Annotations, i.e. the Annotations that exist - * in the test data the Model is evaluated on. - * For true positive, there is one and only one ground truth annotation, which - * matches the only prediction in - * [predictions][google.cloud.aiplatform.v1.EvaluatedAnnotation.predictions]. - * For false positive, there are zero or more ground truth annotations that - * are similar to the only prediction in - * [predictions][google.cloud.aiplatform.v1.EvaluatedAnnotation.predictions], - * but not enough for a match. - * For false negative, there is one and only one ground truth annotation, - * which doesn't match any predictions created by the model. - * The schema of the ground truth is stored in - * [ModelEvaluation.annotation_schema_uri][google.cloud.aiplatform.v1.ModelEvaluation.annotation_schema_uri] - * - * Generated from protobuf field repeated .google.protobuf.Value ground_truths = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param array<\Google\Protobuf\Value>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setGroundTruths($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Protobuf\Value::class); - $this->ground_truths = $arr; - - return $this; - } - - /** - * Output only. The data item payload that the Model predicted this - * EvaluatedAnnotation on. - * - * Generated from protobuf field .google.protobuf.Value data_item_payload = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return \Google\Protobuf\Value|null - */ - public function getDataItemPayload() - { - return $this->data_item_payload; - } - - public function hasDataItemPayload() - { - return isset($this->data_item_payload); - } - - public function clearDataItemPayload() - { - unset($this->data_item_payload); - } - - /** - * Output only. The data item payload that the Model predicted this - * EvaluatedAnnotation on. - * - * Generated from protobuf field .google.protobuf.Value data_item_payload = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param \Google\Protobuf\Value $var - * @return $this - */ - public function setDataItemPayload($var) - { - GPBUtil::checkMessage($var, \Google\Protobuf\Value::class); - $this->data_item_payload = $var; - - return $this; - } - - /** - * Output only. ID of the EvaluatedDataItemView under the same ancestor - * ModelEvaluation. The EvaluatedDataItemView consists of all ground truths - * and predictions on - * [data_item_payload][google.cloud.aiplatform.v1.EvaluatedAnnotation.data_item_payload]. - * - * Generated from protobuf field string evaluated_data_item_view_id = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return string - */ - public function getEvaluatedDataItemViewId() - { - return $this->evaluated_data_item_view_id; - } - - /** - * Output only. ID of the EvaluatedDataItemView under the same ancestor - * ModelEvaluation. The EvaluatedDataItemView consists of all ground truths - * and predictions on - * [data_item_payload][google.cloud.aiplatform.v1.EvaluatedAnnotation.data_item_payload]. - * - * Generated from protobuf field string evaluated_data_item_view_id = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param string $var - * @return $this - */ - public function setEvaluatedDataItemViewId($var) - { - GPBUtil::checkString($var, True); - $this->evaluated_data_item_view_id = $var; - - return $this; - } - - /** - * Explanations of - * [predictions][google.cloud.aiplatform.v1.EvaluatedAnnotation.predictions]. - * Each element of the explanations indicates the explanation for one - * explanation Method. - * The attributions list in the - * [EvaluatedAnnotationExplanation.explanation][google.cloud.aiplatform.v1.EvaluatedAnnotationExplanation.explanation] - * object corresponds to the - * [predictions][google.cloud.aiplatform.v1.EvaluatedAnnotation.predictions] - * list. For example, the second element in the attributions list explains the - * second element in the predictions list. - * - * Generated from protobuf field repeated .google.cloud.aiplatform.v1.EvaluatedAnnotationExplanation explanations = 8; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getExplanations() - { - return $this->explanations; - } - - /** - * Explanations of - * [predictions][google.cloud.aiplatform.v1.EvaluatedAnnotation.predictions]. - * Each element of the explanations indicates the explanation for one - * explanation Method. - * The attributions list in the - * [EvaluatedAnnotationExplanation.explanation][google.cloud.aiplatform.v1.EvaluatedAnnotationExplanation.explanation] - * object corresponds to the - * [predictions][google.cloud.aiplatform.v1.EvaluatedAnnotation.predictions] - * list. For example, the second element in the attributions list explains the - * second element in the predictions list. - * - * Generated from protobuf field repeated .google.cloud.aiplatform.v1.EvaluatedAnnotationExplanation explanations = 8; - * @param array<\Google\Cloud\AIPlatform\V1\EvaluatedAnnotationExplanation>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setExplanations($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\AIPlatform\V1\EvaluatedAnnotationExplanation::class); - $this->explanations = $arr; - - return $this; - } - - /** - * Annotations of model error analysis results. - * - * Generated from protobuf field repeated .google.cloud.aiplatform.v1.ErrorAnalysisAnnotation error_analysis_annotations = 9; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getErrorAnalysisAnnotations() - { - return $this->error_analysis_annotations; - } - - /** - * Annotations of model error analysis results. - * - * Generated from protobuf field repeated .google.cloud.aiplatform.v1.ErrorAnalysisAnnotation error_analysis_annotations = 9; - * @param array<\Google\Cloud\AIPlatform\V1\ErrorAnalysisAnnotation>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setErrorAnalysisAnnotations($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\AIPlatform\V1\ErrorAnalysisAnnotation::class); - $this->error_analysis_annotations = $arr; - - return $this; - } - -} - diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/EvaluatedAnnotation/EvaluatedAnnotationType.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/EvaluatedAnnotation/EvaluatedAnnotationType.php deleted file mode 100644 index 72e695b0d4a6..000000000000 --- a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/EvaluatedAnnotation/EvaluatedAnnotationType.php +++ /dev/null @@ -1,74 +0,0 @@ -google.cloud.aiplatform.v1.EvaluatedAnnotation.EvaluatedAnnotationType - */ -class EvaluatedAnnotationType -{ - /** - * Invalid value. - * - * Generated from protobuf enum EVALUATED_ANNOTATION_TYPE_UNSPECIFIED = 0; - */ - const EVALUATED_ANNOTATION_TYPE_UNSPECIFIED = 0; - /** - * The EvaluatedAnnotation is a true positive. It has a prediction created - * by the Model and a ground truth Annotation which the prediction matches. - * - * Generated from protobuf enum TRUE_POSITIVE = 1; - */ - const TRUE_POSITIVE = 1; - /** - * The EvaluatedAnnotation is false positive. It has a prediction created by - * the Model which does not match any ground truth annotation. - * - * Generated from protobuf enum FALSE_POSITIVE = 2; - */ - const FALSE_POSITIVE = 2; - /** - * The EvaluatedAnnotation is false negative. It has a ground truth - * annotation which is not matched by any of the model created predictions. - * - * Generated from protobuf enum FALSE_NEGATIVE = 3; - */ - const FALSE_NEGATIVE = 3; - - private static $valueToName = [ - self::EVALUATED_ANNOTATION_TYPE_UNSPECIFIED => 'EVALUATED_ANNOTATION_TYPE_UNSPECIFIED', - self::TRUE_POSITIVE => 'TRUE_POSITIVE', - self::FALSE_POSITIVE => 'FALSE_POSITIVE', - self::FALSE_NEGATIVE => 'FALSE_NEGATIVE', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(EvaluatedAnnotationType::class, \Google\Cloud\AIPlatform\V1\EvaluatedAnnotation_EvaluatedAnnotationType::class); - diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/EvaluatedAnnotationExplanation.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/EvaluatedAnnotationExplanation.php deleted file mode 100644 index 4752df122154..000000000000 --- a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/EvaluatedAnnotationExplanation.php +++ /dev/null @@ -1,123 +0,0 @@ -google.cloud.aiplatform.v1.EvaluatedAnnotationExplanation - */ -class EvaluatedAnnotationExplanation extends \Google\Protobuf\Internal\Message -{ - /** - * Explanation type. - * For AutoML Image Classification models, possible values are: - * * `image-integrated-gradients` - * * `image-xrai` - * - * Generated from protobuf field string explanation_type = 1; - */ - protected $explanation_type = ''; - /** - * Explanation attribution response details. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.Explanation explanation = 2; - */ - protected $explanation = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $explanation_type - * Explanation type. - * For AutoML Image Classification models, possible values are: - * * `image-integrated-gradients` - * * `image-xrai` - * @type \Google\Cloud\AIPlatform\V1\Explanation $explanation - * Explanation attribution response details. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Cloud\Aiplatform\V1\EvaluatedAnnotation::initOnce(); - parent::__construct($data); - } - - /** - * Explanation type. - * For AutoML Image Classification models, possible values are: - * * `image-integrated-gradients` - * * `image-xrai` - * - * Generated from protobuf field string explanation_type = 1; - * @return string - */ - public function getExplanationType() - { - return $this->explanation_type; - } - - /** - * Explanation type. - * For AutoML Image Classification models, possible values are: - * * `image-integrated-gradients` - * * `image-xrai` - * - * Generated from protobuf field string explanation_type = 1; - * @param string $var - * @return $this - */ - public function setExplanationType($var) - { - GPBUtil::checkString($var, True); - $this->explanation_type = $var; - - return $this; - } - - /** - * Explanation attribution response details. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.Explanation explanation = 2; - * @return \Google\Cloud\AIPlatform\V1\Explanation|null - */ - public function getExplanation() - { - return $this->explanation; - } - - public function hasExplanation() - { - return isset($this->explanation); - } - - public function clearExplanation() - { - unset($this->explanation); - } - - /** - * Explanation attribution response details. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.Explanation explanation = 2; - * @param \Google\Cloud\AIPlatform\V1\Explanation $var - * @return $this - */ - public function setExplanation($var) - { - GPBUtil::checkMessage($var, \Google\Cloud\AIPlatform\V1\Explanation::class); - $this->explanation = $var; - - return $this; - } - -} - diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/Event.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/Event.php deleted file mode 100644 index 665c415849ca..000000000000 --- a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/Event.php +++ /dev/null @@ -1,246 +0,0 @@ -google.cloud.aiplatform.v1.Event - */ -class Event extends \Google\Protobuf\Internal\Message -{ - /** - * Required. The relative resource name of the Artifact in the Event. - * - * Generated from protobuf field string artifact = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - */ - protected $artifact = ''; - /** - * Output only. The relative resource name of the Execution in the Event. - * - * Generated from protobuf field string execution = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - */ - protected $execution = ''; - /** - * Output only. Time the Event occurred. - * - * Generated from protobuf field .google.protobuf.Timestamp event_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $event_time = null; - /** - * Required. The type of the Event. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.Event.Type type = 4 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $type = 0; - /** - * The labels with user-defined metadata to annotate Events. - * Label keys and values can be no longer than 64 characters - * (Unicode codepoints), can only contain lowercase letters, numeric - * characters, underscores and dashes. International characters are allowed. - * No more than 64 user labels can be associated with one Event (System - * labels are excluded). - * See https://goo.gl/xmQnxf for more information and examples of labels. - * System reserved label keys are prefixed with "aiplatform.googleapis.com/" - * and are immutable. - * - * Generated from protobuf field map labels = 5; - */ - private $labels; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $artifact - * Required. The relative resource name of the Artifact in the Event. - * @type string $execution - * Output only. The relative resource name of the Execution in the Event. - * @type \Google\Protobuf\Timestamp $event_time - * Output only. Time the Event occurred. - * @type int $type - * Required. The type of the Event. - * @type array|\Google\Protobuf\Internal\MapField $labels - * The labels with user-defined metadata to annotate Events. - * Label keys and values can be no longer than 64 characters - * (Unicode codepoints), can only contain lowercase letters, numeric - * characters, underscores and dashes. International characters are allowed. - * No more than 64 user labels can be associated with one Event (System - * labels are excluded). - * See https://goo.gl/xmQnxf for more information and examples of labels. - * System reserved label keys are prefixed with "aiplatform.googleapis.com/" - * and are immutable. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Cloud\Aiplatform\V1\Event::initOnce(); - parent::__construct($data); - } - - /** - * Required. The relative resource name of the Artifact in the Event. - * - * Generated from protobuf field string artifact = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - * @return string - */ - public function getArtifact() - { - return $this->artifact; - } - - /** - * Required. The relative resource name of the Artifact in the Event. - * - * Generated from protobuf field string artifact = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setArtifact($var) - { - GPBUtil::checkString($var, True); - $this->artifact = $var; - - return $this; - } - - /** - * Output only. The relative resource name of the Execution in the Event. - * - * Generated from protobuf field string execution = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - * @return string - */ - public function getExecution() - { - return $this->execution; - } - - /** - * Output only. The relative resource name of the Execution in the Event. - * - * Generated from protobuf field string execution = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setExecution($var) - { - GPBUtil::checkString($var, True); - $this->execution = $var; - - return $this; - } - - /** - * Output only. Time the Event occurred. - * - * Generated from protobuf field .google.protobuf.Timestamp event_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return \Google\Protobuf\Timestamp|null - */ - public function getEventTime() - { - return $this->event_time; - } - - public function hasEventTime() - { - return isset($this->event_time); - } - - public function clearEventTime() - { - unset($this->event_time); - } - - /** - * Output only. Time the Event occurred. - * - * Generated from protobuf field .google.protobuf.Timestamp event_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param \Google\Protobuf\Timestamp $var - * @return $this - */ - public function setEventTime($var) - { - GPBUtil::checkMessage($var, \Google\Protobuf\Timestamp::class); - $this->event_time = $var; - - return $this; - } - - /** - * Required. The type of the Event. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.Event.Type type = 4 [(.google.api.field_behavior) = REQUIRED]; - * @return int - */ - public function getType() - { - return $this->type; - } - - /** - * Required. The type of the Event. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.Event.Type type = 4 [(.google.api.field_behavior) = REQUIRED]; - * @param int $var - * @return $this - */ - public function setType($var) - { - GPBUtil::checkEnum($var, \Google\Cloud\AIPlatform\V1\Event\Type::class); - $this->type = $var; - - return $this; - } - - /** - * The labels with user-defined metadata to annotate Events. - * Label keys and values can be no longer than 64 characters - * (Unicode codepoints), can only contain lowercase letters, numeric - * characters, underscores and dashes. International characters are allowed. - * No more than 64 user labels can be associated with one Event (System - * labels are excluded). - * See https://goo.gl/xmQnxf for more information and examples of labels. - * System reserved label keys are prefixed with "aiplatform.googleapis.com/" - * and are immutable. - * - * Generated from protobuf field map labels = 5; - * @return \Google\Protobuf\Internal\MapField - */ - public function getLabels() - { - return $this->labels; - } - - /** - * The labels with user-defined metadata to annotate Events. - * Label keys and values can be no longer than 64 characters - * (Unicode codepoints), can only contain lowercase letters, numeric - * characters, underscores and dashes. International characters are allowed. - * No more than 64 user labels can be associated with one Event (System - * labels are excluded). - * See https://goo.gl/xmQnxf for more information and examples of labels. - * System reserved label keys are prefixed with "aiplatform.googleapis.com/" - * and are immutable. - * - * Generated from protobuf field map labels = 5; - * @param array|\Google\Protobuf\Internal\MapField $var - * @return $this - */ - public function setLabels($var) - { - $arr = GPBUtil::checkMapField($var, \Google\Protobuf\Internal\GPBType::STRING, \Google\Protobuf\Internal\GPBType::STRING); - $this->labels = $arr; - - return $this; - } - -} - diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/Event/Type.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/Event/Type.php deleted file mode 100644 index 5a8441948304..000000000000 --- a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/Event/Type.php +++ /dev/null @@ -1,64 +0,0 @@ -google.cloud.aiplatform.v1.Event.Type - */ -class Type -{ - /** - * Unspecified whether input or output of the Execution. - * - * Generated from protobuf enum TYPE_UNSPECIFIED = 0; - */ - const TYPE_UNSPECIFIED = 0; - /** - * An input of the Execution. - * - * Generated from protobuf enum INPUT = 1; - */ - const INPUT = 1; - /** - * An output of the Execution. - * - * Generated from protobuf enum OUTPUT = 2; - */ - const OUTPUT = 2; - - private static $valueToName = [ - self::TYPE_UNSPECIFIED => 'TYPE_UNSPECIFIED', - self::INPUT => 'INPUT', - self::OUTPUT => 'OUTPUT', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(Type::class, \Google\Cloud\AIPlatform\V1\Event_Type::class); - diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/Examples.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/Examples.php deleted file mode 100644 index 107491c628eb..000000000000 --- a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/Examples.php +++ /dev/null @@ -1,197 +0,0 @@ -google.cloud.aiplatform.v1.Examples - */ -class Examples extends \Google\Protobuf\Internal\Message -{ - /** - * The number of neighbors to return when querying for examples. - * - * Generated from protobuf field int32 neighbor_count = 3; - */ - protected $neighbor_count = 0; - protected $source; - protected $config; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type \Google\Cloud\AIPlatform\V1\Examples\ExampleGcsSource $example_gcs_source - * The Cloud Storage input instances. - * @type \Google\Protobuf\Value $nearest_neighbor_search_config - * The full configuration for the generated index, the semantics are the - * same as [metadata][google.cloud.aiplatform.v1.Index.metadata] and should - * match - * [NearestNeighborSearchConfig](https://cloud.google.com/vertex-ai/docs/explainable-ai/configuring-explanations-example-based#nearest-neighbor-search-config). - * @type \Google\Cloud\AIPlatform\V1\Presets $presets - * Simplified preset configuration, which automatically sets configuration - * values based on the desired query speed-precision trade-off and modality. - * @type int $neighbor_count - * The number of neighbors to return when querying for examples. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Cloud\Aiplatform\V1\Explanation::initOnce(); - parent::__construct($data); - } - - /** - * The Cloud Storage input instances. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.Examples.ExampleGcsSource example_gcs_source = 5; - * @return \Google\Cloud\AIPlatform\V1\Examples\ExampleGcsSource|null - */ - public function getExampleGcsSource() - { - return $this->readOneof(5); - } - - public function hasExampleGcsSource() - { - return $this->hasOneof(5); - } - - /** - * The Cloud Storage input instances. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.Examples.ExampleGcsSource example_gcs_source = 5; - * @param \Google\Cloud\AIPlatform\V1\Examples\ExampleGcsSource $var - * @return $this - */ - public function setExampleGcsSource($var) - { - GPBUtil::checkMessage($var, \Google\Cloud\AIPlatform\V1\Examples\ExampleGcsSource::class); - $this->writeOneof(5, $var); - - return $this; - } - - /** - * The full configuration for the generated index, the semantics are the - * same as [metadata][google.cloud.aiplatform.v1.Index.metadata] and should - * match - * [NearestNeighborSearchConfig](https://cloud.google.com/vertex-ai/docs/explainable-ai/configuring-explanations-example-based#nearest-neighbor-search-config). - * - * Generated from protobuf field .google.protobuf.Value nearest_neighbor_search_config = 2; - * @return \Google\Protobuf\Value|null - */ - public function getNearestNeighborSearchConfig() - { - return $this->readOneof(2); - } - - public function hasNearestNeighborSearchConfig() - { - return $this->hasOneof(2); - } - - /** - * The full configuration for the generated index, the semantics are the - * same as [metadata][google.cloud.aiplatform.v1.Index.metadata] and should - * match - * [NearestNeighborSearchConfig](https://cloud.google.com/vertex-ai/docs/explainable-ai/configuring-explanations-example-based#nearest-neighbor-search-config). - * - * Generated from protobuf field .google.protobuf.Value nearest_neighbor_search_config = 2; - * @param \Google\Protobuf\Value $var - * @return $this - */ - public function setNearestNeighborSearchConfig($var) - { - GPBUtil::checkMessage($var, \Google\Protobuf\Value::class); - $this->writeOneof(2, $var); - - return $this; - } - - /** - * Simplified preset configuration, which automatically sets configuration - * values based on the desired query speed-precision trade-off and modality. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.Presets presets = 4; - * @return \Google\Cloud\AIPlatform\V1\Presets|null - */ - public function getPresets() - { - return $this->readOneof(4); - } - - public function hasPresets() - { - return $this->hasOneof(4); - } - - /** - * Simplified preset configuration, which automatically sets configuration - * values based on the desired query speed-precision trade-off and modality. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.Presets presets = 4; - * @param \Google\Cloud\AIPlatform\V1\Presets $var - * @return $this - */ - public function setPresets($var) - { - GPBUtil::checkMessage($var, \Google\Cloud\AIPlatform\V1\Presets::class); - $this->writeOneof(4, $var); - - return $this; - } - - /** - * The number of neighbors to return when querying for examples. - * - * Generated from protobuf field int32 neighbor_count = 3; - * @return int - */ - public function getNeighborCount() - { - return $this->neighbor_count; - } - - /** - * The number of neighbors to return when querying for examples. - * - * Generated from protobuf field int32 neighbor_count = 3; - * @param int $var - * @return $this - */ - public function setNeighborCount($var) - { - GPBUtil::checkInt32($var); - $this->neighbor_count = $var; - - return $this; - } - - /** - * @return string - */ - public function getSource() - { - return $this->whichOneof("source"); - } - - /** - * @return string - */ - public function getConfig() - { - return $this->whichOneof("config"); - } - -} - diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/Examples/ExampleGcsSource.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/Examples/ExampleGcsSource.php deleted file mode 100644 index 260ea83fd996..000000000000 --- a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/Examples/ExampleGcsSource.php +++ /dev/null @@ -1,118 +0,0 @@ -google.cloud.aiplatform.v1.Examples.ExampleGcsSource - */ -class ExampleGcsSource extends \Google\Protobuf\Internal\Message -{ - /** - * The format in which instances are given, if not specified, assume it's - * JSONL format. Currently only JSONL format is supported. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.Examples.ExampleGcsSource.DataFormat data_format = 1; - */ - protected $data_format = 0; - /** - * The Cloud Storage location for the input instances. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.GcsSource gcs_source = 2; - */ - protected $gcs_source = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type int $data_format - * The format in which instances are given, if not specified, assume it's - * JSONL format. Currently only JSONL format is supported. - * @type \Google\Cloud\AIPlatform\V1\GcsSource $gcs_source - * The Cloud Storage location for the input instances. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Cloud\Aiplatform\V1\Explanation::initOnce(); - parent::__construct($data); - } - - /** - * The format in which instances are given, if not specified, assume it's - * JSONL format. Currently only JSONL format is supported. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.Examples.ExampleGcsSource.DataFormat data_format = 1; - * @return int - */ - public function getDataFormat() - { - return $this->data_format; - } - - /** - * The format in which instances are given, if not specified, assume it's - * JSONL format. Currently only JSONL format is supported. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.Examples.ExampleGcsSource.DataFormat data_format = 1; - * @param int $var - * @return $this - */ - public function setDataFormat($var) - { - GPBUtil::checkEnum($var, \Google\Cloud\AIPlatform\V1\Examples\ExampleGcsSource\DataFormat::class); - $this->data_format = $var; - - return $this; - } - - /** - * The Cloud Storage location for the input instances. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.GcsSource gcs_source = 2; - * @return \Google\Cloud\AIPlatform\V1\GcsSource|null - */ - public function getGcsSource() - { - return $this->gcs_source; - } - - public function hasGcsSource() - { - return isset($this->gcs_source); - } - - public function clearGcsSource() - { - unset($this->gcs_source); - } - - /** - * The Cloud Storage location for the input instances. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.GcsSource gcs_source = 2; - * @param \Google\Cloud\AIPlatform\V1\GcsSource $var - * @return $this - */ - public function setGcsSource($var) - { - GPBUtil::checkMessage($var, \Google\Cloud\AIPlatform\V1\GcsSource::class); - $this->gcs_source = $var; - - return $this; - } - -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(ExampleGcsSource::class, \Google\Cloud\AIPlatform\V1\Examples_ExampleGcsSource::class); - diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/Examples/ExampleGcsSource/DataFormat.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/Examples/ExampleGcsSource/DataFormat.php deleted file mode 100644 index e6c5c7ca42bf..000000000000 --- a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/Examples/ExampleGcsSource/DataFormat.php +++ /dev/null @@ -1,57 +0,0 @@ -google.cloud.aiplatform.v1.Examples.ExampleGcsSource.DataFormat - */ -class DataFormat -{ - /** - * Format unspecified, used when unset. - * - * Generated from protobuf enum DATA_FORMAT_UNSPECIFIED = 0; - */ - const DATA_FORMAT_UNSPECIFIED = 0; - /** - * Examples are stored in JSONL files. - * - * Generated from protobuf enum JSONL = 1; - */ - const JSONL = 1; - - private static $valueToName = [ - self::DATA_FORMAT_UNSPECIFIED => 'DATA_FORMAT_UNSPECIFIED', - self::JSONL => 'JSONL', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(DataFormat::class, \Google\Cloud\AIPlatform\V1\Examples_ExampleGcsSource_DataFormat::class); - diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ExamplesOverride.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ExamplesOverride.php deleted file mode 100644 index b08bb3b5152b..000000000000 --- a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ExamplesOverride.php +++ /dev/null @@ -1,203 +0,0 @@ -google.cloud.aiplatform.v1.ExamplesOverride - */ -class ExamplesOverride extends \Google\Protobuf\Internal\Message -{ - /** - * The number of neighbors to return. - * - * Generated from protobuf field int32 neighbor_count = 1; - */ - protected $neighbor_count = 0; - /** - * The number of neighbors to return that have the same crowding tag. - * - * Generated from protobuf field int32 crowding_count = 2; - */ - protected $crowding_count = 0; - /** - * Restrict the resulting nearest neighbors to respect these constraints. - * - * Generated from protobuf field repeated .google.cloud.aiplatform.v1.ExamplesRestrictionsNamespace restrictions = 3; - */ - private $restrictions; - /** - * If true, return the embeddings instead of neighbors. - * - * Generated from protobuf field bool return_embeddings = 4; - */ - protected $return_embeddings = false; - /** - * The format of the data being provided with each call. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.ExamplesOverride.DataFormat data_format = 5; - */ - protected $data_format = 0; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type int $neighbor_count - * The number of neighbors to return. - * @type int $crowding_count - * The number of neighbors to return that have the same crowding tag. - * @type array<\Google\Cloud\AIPlatform\V1\ExamplesRestrictionsNamespace>|\Google\Protobuf\Internal\RepeatedField $restrictions - * Restrict the resulting nearest neighbors to respect these constraints. - * @type bool $return_embeddings - * If true, return the embeddings instead of neighbors. - * @type int $data_format - * The format of the data being provided with each call. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Cloud\Aiplatform\V1\Explanation::initOnce(); - parent::__construct($data); - } - - /** - * The number of neighbors to return. - * - * Generated from protobuf field int32 neighbor_count = 1; - * @return int - */ - public function getNeighborCount() - { - return $this->neighbor_count; - } - - /** - * The number of neighbors to return. - * - * Generated from protobuf field int32 neighbor_count = 1; - * @param int $var - * @return $this - */ - public function setNeighborCount($var) - { - GPBUtil::checkInt32($var); - $this->neighbor_count = $var; - - return $this; - } - - /** - * The number of neighbors to return that have the same crowding tag. - * - * Generated from protobuf field int32 crowding_count = 2; - * @return int - */ - public function getCrowdingCount() - { - return $this->crowding_count; - } - - /** - * The number of neighbors to return that have the same crowding tag. - * - * Generated from protobuf field int32 crowding_count = 2; - * @param int $var - * @return $this - */ - public function setCrowdingCount($var) - { - GPBUtil::checkInt32($var); - $this->crowding_count = $var; - - return $this; - } - - /** - * Restrict the resulting nearest neighbors to respect these constraints. - * - * Generated from protobuf field repeated .google.cloud.aiplatform.v1.ExamplesRestrictionsNamespace restrictions = 3; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getRestrictions() - { - return $this->restrictions; - } - - /** - * Restrict the resulting nearest neighbors to respect these constraints. - * - * Generated from protobuf field repeated .google.cloud.aiplatform.v1.ExamplesRestrictionsNamespace restrictions = 3; - * @param array<\Google\Cloud\AIPlatform\V1\ExamplesRestrictionsNamespace>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setRestrictions($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\AIPlatform\V1\ExamplesRestrictionsNamespace::class); - $this->restrictions = $arr; - - return $this; - } - - /** - * If true, return the embeddings instead of neighbors. - * - * Generated from protobuf field bool return_embeddings = 4; - * @return bool - */ - public function getReturnEmbeddings() - { - return $this->return_embeddings; - } - - /** - * If true, return the embeddings instead of neighbors. - * - * Generated from protobuf field bool return_embeddings = 4; - * @param bool $var - * @return $this - */ - public function setReturnEmbeddings($var) - { - GPBUtil::checkBool($var); - $this->return_embeddings = $var; - - return $this; - } - - /** - * The format of the data being provided with each call. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.ExamplesOverride.DataFormat data_format = 5; - * @return int - */ - public function getDataFormat() - { - return $this->data_format; - } - - /** - * The format of the data being provided with each call. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.ExamplesOverride.DataFormat data_format = 5; - * @param int $var - * @return $this - */ - public function setDataFormat($var) - { - GPBUtil::checkEnum($var, \Google\Cloud\AIPlatform\V1\ExamplesOverride\DataFormat::class); - $this->data_format = $var; - - return $this; - } - -} - diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ExamplesOverride/DataFormat.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ExamplesOverride/DataFormat.php deleted file mode 100644 index 77678de20eda..000000000000 --- a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ExamplesOverride/DataFormat.php +++ /dev/null @@ -1,64 +0,0 @@ -google.cloud.aiplatform.v1.ExamplesOverride.DataFormat - */ -class DataFormat -{ - /** - * Unspecified format. Must not be used. - * - * Generated from protobuf enum DATA_FORMAT_UNSPECIFIED = 0; - */ - const DATA_FORMAT_UNSPECIFIED = 0; - /** - * Provided data is a set of model inputs. - * - * Generated from protobuf enum INSTANCES = 1; - */ - const INSTANCES = 1; - /** - * Provided data is a set of embeddings. - * - * Generated from protobuf enum EMBEDDINGS = 2; - */ - const EMBEDDINGS = 2; - - private static $valueToName = [ - self::DATA_FORMAT_UNSPECIFIED => 'DATA_FORMAT_UNSPECIFIED', - self::INSTANCES => 'INSTANCES', - self::EMBEDDINGS => 'EMBEDDINGS', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(DataFormat::class, \Google\Cloud\AIPlatform\V1\ExamplesOverride_DataFormat::class); - diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ExamplesRestrictionsNamespace.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ExamplesRestrictionsNamespace.php deleted file mode 100644 index 07d719058697..000000000000 --- a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ExamplesRestrictionsNamespace.php +++ /dev/null @@ -1,135 +0,0 @@ -google.cloud.aiplatform.v1.ExamplesRestrictionsNamespace - */ -class ExamplesRestrictionsNamespace extends \Google\Protobuf\Internal\Message -{ - /** - * The namespace name. - * - * Generated from protobuf field string namespace_name = 1; - */ - protected $namespace_name = ''; - /** - * The list of allowed tags. - * - * Generated from protobuf field repeated string allow = 2; - */ - private $allow; - /** - * The list of deny tags. - * - * Generated from protobuf field repeated string deny = 3; - */ - private $deny; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $namespace_name - * The namespace name. - * @type array|\Google\Protobuf\Internal\RepeatedField $allow - * The list of allowed tags. - * @type array|\Google\Protobuf\Internal\RepeatedField $deny - * The list of deny tags. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Cloud\Aiplatform\V1\Explanation::initOnce(); - parent::__construct($data); - } - - /** - * The namespace name. - * - * Generated from protobuf field string namespace_name = 1; - * @return string - */ - public function getNamespaceName() - { - return $this->namespace_name; - } - - /** - * The namespace name. - * - * Generated from protobuf field string namespace_name = 1; - * @param string $var - * @return $this - */ - public function setNamespaceName($var) - { - GPBUtil::checkString($var, True); - $this->namespace_name = $var; - - return $this; - } - - /** - * The list of allowed tags. - * - * Generated from protobuf field repeated string allow = 2; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getAllow() - { - return $this->allow; - } - - /** - * The list of allowed tags. - * - * Generated from protobuf field repeated string allow = 2; - * @param array|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setAllow($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING); - $this->allow = $arr; - - return $this; - } - - /** - * The list of deny tags. - * - * Generated from protobuf field repeated string deny = 3; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getDeny() - { - return $this->deny; - } - - /** - * The list of deny tags. - * - * Generated from protobuf field repeated string deny = 3; - * @param array|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setDeny($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING); - $this->deny = $arr; - - return $this; - } - -} - diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/Execution.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/Execution.php deleted file mode 100644 index 42bf6f6e07ca..000000000000 --- a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/Execution.php +++ /dev/null @@ -1,509 +0,0 @@ -google.cloud.aiplatform.v1.Execution - */ -class Execution extends \Google\Protobuf\Internal\Message -{ - /** - * Output only. The resource name of the Execution. - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $name = ''; - /** - * User provided display name of the Execution. - * May be up to 128 Unicode characters. - * - * Generated from protobuf field string display_name = 2; - */ - protected $display_name = ''; - /** - * The state of this Execution. This is a property of the Execution, and does - * not imply or capture any ongoing process. This property is managed by - * clients (such as Vertex AI Pipelines) and the system does not prescribe - * or check the validity of state transitions. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.Execution.State state = 6; - */ - protected $state = 0; - /** - * An eTag used to perform consistent read-modify-write updates. If not set, a - * blind "overwrite" update happens. - * - * Generated from protobuf field string etag = 9; - */ - protected $etag = ''; - /** - * The labels with user-defined metadata to organize your Executions. - * Label keys and values can be no longer than 64 characters - * (Unicode codepoints), can only contain lowercase letters, numeric - * characters, underscores and dashes. International characters are allowed. - * No more than 64 user labels can be associated with one Execution (System - * labels are excluded). - * - * Generated from protobuf field map labels = 10; - */ - private $labels; - /** - * Output only. Timestamp when this Execution was created. - * - * Generated from protobuf field .google.protobuf.Timestamp create_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $create_time = null; - /** - * Output only. Timestamp when this Execution was last updated. - * - * Generated from protobuf field .google.protobuf.Timestamp update_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $update_time = null; - /** - * The title of the schema describing the metadata. - * Schema title and version is expected to be registered in earlier Create - * Schema calls. And both are used together as unique identifiers to identify - * schemas within the local metadata store. - * - * Generated from protobuf field string schema_title = 13; - */ - protected $schema_title = ''; - /** - * The version of the schema in `schema_title` to use. - * Schema title and version is expected to be registered in earlier Create - * Schema calls. And both are used together as unique identifiers to identify - * schemas within the local metadata store. - * - * Generated from protobuf field string schema_version = 14; - */ - protected $schema_version = ''; - /** - * Properties of the Execution. - * Top level metadata keys' heading and trailing spaces will be trimmed. - * The size of this field should not exceed 200KB. - * - * Generated from protobuf field .google.protobuf.Struct metadata = 15; - */ - protected $metadata = null; - /** - * Description of the Execution - * - * Generated from protobuf field string description = 16; - */ - protected $description = ''; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $name - * Output only. The resource name of the Execution. - * @type string $display_name - * User provided display name of the Execution. - * May be up to 128 Unicode characters. - * @type int $state - * The state of this Execution. This is a property of the Execution, and does - * not imply or capture any ongoing process. This property is managed by - * clients (such as Vertex AI Pipelines) and the system does not prescribe - * or check the validity of state transitions. - * @type string $etag - * An eTag used to perform consistent read-modify-write updates. If not set, a - * blind "overwrite" update happens. - * @type array|\Google\Protobuf\Internal\MapField $labels - * The labels with user-defined metadata to organize your Executions. - * Label keys and values can be no longer than 64 characters - * (Unicode codepoints), can only contain lowercase letters, numeric - * characters, underscores and dashes. International characters are allowed. - * No more than 64 user labels can be associated with one Execution (System - * labels are excluded). - * @type \Google\Protobuf\Timestamp $create_time - * Output only. Timestamp when this Execution was created. - * @type \Google\Protobuf\Timestamp $update_time - * Output only. Timestamp when this Execution was last updated. - * @type string $schema_title - * The title of the schema describing the metadata. - * Schema title and version is expected to be registered in earlier Create - * Schema calls. And both are used together as unique identifiers to identify - * schemas within the local metadata store. - * @type string $schema_version - * The version of the schema in `schema_title` to use. - * Schema title and version is expected to be registered in earlier Create - * Schema calls. And both are used together as unique identifiers to identify - * schemas within the local metadata store. - * @type \Google\Protobuf\Struct $metadata - * Properties of the Execution. - * Top level metadata keys' heading and trailing spaces will be trimmed. - * The size of this field should not exceed 200KB. - * @type string $description - * Description of the Execution - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Cloud\Aiplatform\V1\Execution::initOnce(); - parent::__construct($data); - } - - /** - * Output only. The resource name of the Execution. - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return string - */ - public function getName() - { - return $this->name; - } - - /** - * Output only. The resource name of the Execution. - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param string $var - * @return $this - */ - public function setName($var) - { - GPBUtil::checkString($var, True); - $this->name = $var; - - return $this; - } - - /** - * User provided display name of the Execution. - * May be up to 128 Unicode characters. - * - * Generated from protobuf field string display_name = 2; - * @return string - */ - public function getDisplayName() - { - return $this->display_name; - } - - /** - * User provided display name of the Execution. - * May be up to 128 Unicode characters. - * - * Generated from protobuf field string display_name = 2; - * @param string $var - * @return $this - */ - public function setDisplayName($var) - { - GPBUtil::checkString($var, True); - $this->display_name = $var; - - return $this; - } - - /** - * The state of this Execution. This is a property of the Execution, and does - * not imply or capture any ongoing process. This property is managed by - * clients (such as Vertex AI Pipelines) and the system does not prescribe - * or check the validity of state transitions. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.Execution.State state = 6; - * @return int - */ - public function getState() - { - return $this->state; - } - - /** - * The state of this Execution. This is a property of the Execution, and does - * not imply or capture any ongoing process. This property is managed by - * clients (such as Vertex AI Pipelines) and the system does not prescribe - * or check the validity of state transitions. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.Execution.State state = 6; - * @param int $var - * @return $this - */ - public function setState($var) - { - GPBUtil::checkEnum($var, \Google\Cloud\AIPlatform\V1\Execution\State::class); - $this->state = $var; - - return $this; - } - - /** - * An eTag used to perform consistent read-modify-write updates. If not set, a - * blind "overwrite" update happens. - * - * Generated from protobuf field string etag = 9; - * @return string - */ - public function getEtag() - { - return $this->etag; - } - - /** - * An eTag used to perform consistent read-modify-write updates. If not set, a - * blind "overwrite" update happens. - * - * Generated from protobuf field string etag = 9; - * @param string $var - * @return $this - */ - public function setEtag($var) - { - GPBUtil::checkString($var, True); - $this->etag = $var; - - return $this; - } - - /** - * The labels with user-defined metadata to organize your Executions. - * Label keys and values can be no longer than 64 characters - * (Unicode codepoints), can only contain lowercase letters, numeric - * characters, underscores and dashes. International characters are allowed. - * No more than 64 user labels can be associated with one Execution (System - * labels are excluded). - * - * Generated from protobuf field map labels = 10; - * @return \Google\Protobuf\Internal\MapField - */ - public function getLabels() - { - return $this->labels; - } - - /** - * The labels with user-defined metadata to organize your Executions. - * Label keys and values can be no longer than 64 characters - * (Unicode codepoints), can only contain lowercase letters, numeric - * characters, underscores and dashes. International characters are allowed. - * No more than 64 user labels can be associated with one Execution (System - * labels are excluded). - * - * Generated from protobuf field map labels = 10; - * @param array|\Google\Protobuf\Internal\MapField $var - * @return $this - */ - public function setLabels($var) - { - $arr = GPBUtil::checkMapField($var, \Google\Protobuf\Internal\GPBType::STRING, \Google\Protobuf\Internal\GPBType::STRING); - $this->labels = $arr; - - return $this; - } - - /** - * Output only. Timestamp when this Execution was created. - * - * Generated from protobuf field .google.protobuf.Timestamp create_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return \Google\Protobuf\Timestamp|null - */ - public function getCreateTime() - { - return $this->create_time; - } - - public function hasCreateTime() - { - return isset($this->create_time); - } - - public function clearCreateTime() - { - unset($this->create_time); - } - - /** - * Output only. Timestamp when this Execution was created. - * - * Generated from protobuf field .google.protobuf.Timestamp create_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param \Google\Protobuf\Timestamp $var - * @return $this - */ - public function setCreateTime($var) - { - GPBUtil::checkMessage($var, \Google\Protobuf\Timestamp::class); - $this->create_time = $var; - - return $this; - } - - /** - * Output only. Timestamp when this Execution was last updated. - * - * Generated from protobuf field .google.protobuf.Timestamp update_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return \Google\Protobuf\Timestamp|null - */ - public function getUpdateTime() - { - return $this->update_time; - } - - public function hasUpdateTime() - { - return isset($this->update_time); - } - - public function clearUpdateTime() - { - unset($this->update_time); - } - - /** - * Output only. Timestamp when this Execution was last updated. - * - * Generated from protobuf field .google.protobuf.Timestamp update_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param \Google\Protobuf\Timestamp $var - * @return $this - */ - public function setUpdateTime($var) - { - GPBUtil::checkMessage($var, \Google\Protobuf\Timestamp::class); - $this->update_time = $var; - - return $this; - } - - /** - * The title of the schema describing the metadata. - * Schema title and version is expected to be registered in earlier Create - * Schema calls. And both are used together as unique identifiers to identify - * schemas within the local metadata store. - * - * Generated from protobuf field string schema_title = 13; - * @return string - */ - public function getSchemaTitle() - { - return $this->schema_title; - } - - /** - * The title of the schema describing the metadata. - * Schema title and version is expected to be registered in earlier Create - * Schema calls. And both are used together as unique identifiers to identify - * schemas within the local metadata store. - * - * Generated from protobuf field string schema_title = 13; - * @param string $var - * @return $this - */ - public function setSchemaTitle($var) - { - GPBUtil::checkString($var, True); - $this->schema_title = $var; - - return $this; - } - - /** - * The version of the schema in `schema_title` to use. - * Schema title and version is expected to be registered in earlier Create - * Schema calls. And both are used together as unique identifiers to identify - * schemas within the local metadata store. - * - * Generated from protobuf field string schema_version = 14; - * @return string - */ - public function getSchemaVersion() - { - return $this->schema_version; - } - - /** - * The version of the schema in `schema_title` to use. - * Schema title and version is expected to be registered in earlier Create - * Schema calls. And both are used together as unique identifiers to identify - * schemas within the local metadata store. - * - * Generated from protobuf field string schema_version = 14; - * @param string $var - * @return $this - */ - public function setSchemaVersion($var) - { - GPBUtil::checkString($var, True); - $this->schema_version = $var; - - return $this; - } - - /** - * Properties of the Execution. - * Top level metadata keys' heading and trailing spaces will be trimmed. - * The size of this field should not exceed 200KB. - * - * Generated from protobuf field .google.protobuf.Struct metadata = 15; - * @return \Google\Protobuf\Struct|null - */ - public function getMetadata() - { - return $this->metadata; - } - - public function hasMetadata() - { - return isset($this->metadata); - } - - public function clearMetadata() - { - unset($this->metadata); - } - - /** - * Properties of the Execution. - * Top level metadata keys' heading and trailing spaces will be trimmed. - * The size of this field should not exceed 200KB. - * - * Generated from protobuf field .google.protobuf.Struct metadata = 15; - * @param \Google\Protobuf\Struct $var - * @return $this - */ - public function setMetadata($var) - { - GPBUtil::checkMessage($var, \Google\Protobuf\Struct::class); - $this->metadata = $var; - - return $this; - } - - /** - * Description of the Execution - * - * Generated from protobuf field string description = 16; - * @return string - */ - public function getDescription() - { - return $this->description; - } - - /** - * Description of the Execution - * - * Generated from protobuf field string description = 16; - * @param string $var - * @return $this - */ - public function setDescription($var) - { - GPBUtil::checkString($var, True); - $this->description = $var; - - return $this; - } - -} - diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/Execution/State.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/Execution/State.php deleted file mode 100644 index 93eb6a80419a..000000000000 --- a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/Execution/State.php +++ /dev/null @@ -1,96 +0,0 @@ -google.cloud.aiplatform.v1.Execution.State - */ -class State -{ - /** - * Unspecified Execution state - * - * Generated from protobuf enum STATE_UNSPECIFIED = 0; - */ - const STATE_UNSPECIFIED = 0; - /** - * The Execution is new - * - * Generated from protobuf enum NEW = 1; - */ - const PBNEW = 1; - /** - * The Execution is running - * - * Generated from protobuf enum RUNNING = 2; - */ - const RUNNING = 2; - /** - * The Execution has finished running - * - * Generated from protobuf enum COMPLETE = 3; - */ - const COMPLETE = 3; - /** - * The Execution has failed - * - * Generated from protobuf enum FAILED = 4; - */ - const FAILED = 4; - /** - * The Execution completed through Cache hit. - * - * Generated from protobuf enum CACHED = 5; - */ - const CACHED = 5; - /** - * The Execution was cancelled. - * - * Generated from protobuf enum CANCELLED = 6; - */ - const CANCELLED = 6; - - private static $valueToName = [ - self::STATE_UNSPECIFIED => 'STATE_UNSPECIFIED', - self::PBNEW => 'NEW', - self::RUNNING => 'RUNNING', - self::COMPLETE => 'COMPLETE', - self::FAILED => 'FAILED', - self::CACHED => 'CACHED', - self::CANCELLED => 'CANCELLED', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - $pbconst = __CLASS__. '::PB' . strtoupper($name); - if (!defined($pbconst)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($pbconst); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(State::class, \Google\Cloud\AIPlatform\V1\Execution_State::class); - diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ExplainRequest.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ExplainRequest.php deleted file mode 100644 index d953774b600f..000000000000 --- a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ExplainRequest.php +++ /dev/null @@ -1,352 +0,0 @@ -google.cloud.aiplatform.v1.ExplainRequest - */ -class ExplainRequest extends \Google\Protobuf\Internal\Message -{ - /** - * Required. The name of the Endpoint requested to serve the explanation. - * Format: - * `projects/{project}/locations/{location}/endpoints/{endpoint}` - * - * Generated from protobuf field string endpoint = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - */ - protected $endpoint = ''; - /** - * Required. The instances that are the input to the explanation call. - * A DeployedModel may have an upper limit on the number of instances it - * supports per request, and when it is exceeded the explanation call errors - * in case of AutoML Models, or, in case of customer created Models, the - * behaviour is as documented by that Model. - * The schema of any single instance may be specified via Endpoint's - * DeployedModels' [Model's][google.cloud.aiplatform.v1.DeployedModel.model] - * [PredictSchemata's][google.cloud.aiplatform.v1.Model.predict_schemata] - * [instance_schema_uri][google.cloud.aiplatform.v1.PredictSchemata.instance_schema_uri]. - * - * Generated from protobuf field repeated .google.protobuf.Value instances = 2 [(.google.api.field_behavior) = REQUIRED]; - */ - private $instances; - /** - * The parameters that govern the prediction. The schema of the parameters may - * be specified via Endpoint's DeployedModels' [Model's - * ][google.cloud.aiplatform.v1.DeployedModel.model] - * [PredictSchemata's][google.cloud.aiplatform.v1.Model.predict_schemata] - * [parameters_schema_uri][google.cloud.aiplatform.v1.PredictSchemata.parameters_schema_uri]. - * - * Generated from protobuf field .google.protobuf.Value parameters = 4; - */ - protected $parameters = null; - /** - * If specified, overrides the - * [explanation_spec][google.cloud.aiplatform.v1.DeployedModel.explanation_spec] - * of the DeployedModel. Can be used for explaining prediction results with - * different configurations, such as: - * - Explaining top-5 predictions results as opposed to top-1; - * - Increasing path count or step count of the attribution methods to reduce - * approximate errors; - * - Using different baselines for explaining the prediction results. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.ExplanationSpecOverride explanation_spec_override = 5; - */ - protected $explanation_spec_override = null; - /** - * If specified, this ExplainRequest will be served by the chosen - * DeployedModel, overriding - * [Endpoint.traffic_split][google.cloud.aiplatform.v1.Endpoint.traffic_split]. - * - * Generated from protobuf field string deployed_model_id = 3; - */ - protected $deployed_model_id = ''; - - /** - * @param string $endpoint Required. The name of the Endpoint requested to serve the explanation. - * Format: - * `projects/{project}/locations/{location}/endpoints/{endpoint}` - * Please see {@see PredictionServiceClient::endpointName()} for help formatting this field. - * @param \Google\Protobuf\Value[] $instances Required. The instances that are the input to the explanation call. - * A DeployedModel may have an upper limit on the number of instances it - * supports per request, and when it is exceeded the explanation call errors - * in case of AutoML Models, or, in case of customer created Models, the - * behaviour is as documented by that Model. - * The schema of any single instance may be specified via Endpoint's - * DeployedModels' [Model's][google.cloud.aiplatform.v1.DeployedModel.model] - * [PredictSchemata's][google.cloud.aiplatform.v1.Model.predict_schemata] - * [instance_schema_uri][google.cloud.aiplatform.v1.PredictSchemata.instance_schema_uri]. - * @param \Google\Protobuf\Value $parameters The parameters that govern the prediction. The schema of the parameters may - * be specified via Endpoint's DeployedModels' [Model's - * ][google.cloud.aiplatform.v1.DeployedModel.model] - * [PredictSchemata's][google.cloud.aiplatform.v1.Model.predict_schemata] - * [parameters_schema_uri][google.cloud.aiplatform.v1.PredictSchemata.parameters_schema_uri]. - * @param string $deployedModelId If specified, this ExplainRequest will be served by the chosen - * DeployedModel, overriding - * [Endpoint.traffic_split][google.cloud.aiplatform.v1.Endpoint.traffic_split]. - * - * @return \Google\Cloud\AIPlatform\V1\ExplainRequest - * - * @experimental - */ - public static function build(string $endpoint, array $instances, \Google\Protobuf\Value $parameters, string $deployedModelId): self - { - return (new self()) - ->setEndpoint($endpoint) - ->setInstances($instances) - ->setParameters($parameters) - ->setDeployedModelId($deployedModelId); - } - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $endpoint - * Required. The name of the Endpoint requested to serve the explanation. - * Format: - * `projects/{project}/locations/{location}/endpoints/{endpoint}` - * @type array<\Google\Protobuf\Value>|\Google\Protobuf\Internal\RepeatedField $instances - * Required. The instances that are the input to the explanation call. - * A DeployedModel may have an upper limit on the number of instances it - * supports per request, and when it is exceeded the explanation call errors - * in case of AutoML Models, or, in case of customer created Models, the - * behaviour is as documented by that Model. - * The schema of any single instance may be specified via Endpoint's - * DeployedModels' [Model's][google.cloud.aiplatform.v1.DeployedModel.model] - * [PredictSchemata's][google.cloud.aiplatform.v1.Model.predict_schemata] - * [instance_schema_uri][google.cloud.aiplatform.v1.PredictSchemata.instance_schema_uri]. - * @type \Google\Protobuf\Value $parameters - * The parameters that govern the prediction. The schema of the parameters may - * be specified via Endpoint's DeployedModels' [Model's - * ][google.cloud.aiplatform.v1.DeployedModel.model] - * [PredictSchemata's][google.cloud.aiplatform.v1.Model.predict_schemata] - * [parameters_schema_uri][google.cloud.aiplatform.v1.PredictSchemata.parameters_schema_uri]. - * @type \Google\Cloud\AIPlatform\V1\ExplanationSpecOverride $explanation_spec_override - * If specified, overrides the - * [explanation_spec][google.cloud.aiplatform.v1.DeployedModel.explanation_spec] - * of the DeployedModel. Can be used for explaining prediction results with - * different configurations, such as: - * - Explaining top-5 predictions results as opposed to top-1; - * - Increasing path count or step count of the attribution methods to reduce - * approximate errors; - * - Using different baselines for explaining the prediction results. - * @type string $deployed_model_id - * If specified, this ExplainRequest will be served by the chosen - * DeployedModel, overriding - * [Endpoint.traffic_split][google.cloud.aiplatform.v1.Endpoint.traffic_split]. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Cloud\Aiplatform\V1\PredictionService::initOnce(); - parent::__construct($data); - } - - /** - * Required. The name of the Endpoint requested to serve the explanation. - * Format: - * `projects/{project}/locations/{location}/endpoints/{endpoint}` - * - * Generated from protobuf field string endpoint = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - * @return string - */ - public function getEndpoint() - { - return $this->endpoint; - } - - /** - * Required. The name of the Endpoint requested to serve the explanation. - * Format: - * `projects/{project}/locations/{location}/endpoints/{endpoint}` - * - * Generated from protobuf field string endpoint = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setEndpoint($var) - { - GPBUtil::checkString($var, True); - $this->endpoint = $var; - - return $this; - } - - /** - * Required. The instances that are the input to the explanation call. - * A DeployedModel may have an upper limit on the number of instances it - * supports per request, and when it is exceeded the explanation call errors - * in case of AutoML Models, or, in case of customer created Models, the - * behaviour is as documented by that Model. - * The schema of any single instance may be specified via Endpoint's - * DeployedModels' [Model's][google.cloud.aiplatform.v1.DeployedModel.model] - * [PredictSchemata's][google.cloud.aiplatform.v1.Model.predict_schemata] - * [instance_schema_uri][google.cloud.aiplatform.v1.PredictSchemata.instance_schema_uri]. - * - * Generated from protobuf field repeated .google.protobuf.Value instances = 2 [(.google.api.field_behavior) = REQUIRED]; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getInstances() - { - return $this->instances; - } - - /** - * Required. The instances that are the input to the explanation call. - * A DeployedModel may have an upper limit on the number of instances it - * supports per request, and when it is exceeded the explanation call errors - * in case of AutoML Models, or, in case of customer created Models, the - * behaviour is as documented by that Model. - * The schema of any single instance may be specified via Endpoint's - * DeployedModels' [Model's][google.cloud.aiplatform.v1.DeployedModel.model] - * [PredictSchemata's][google.cloud.aiplatform.v1.Model.predict_schemata] - * [instance_schema_uri][google.cloud.aiplatform.v1.PredictSchemata.instance_schema_uri]. - * - * Generated from protobuf field repeated .google.protobuf.Value instances = 2 [(.google.api.field_behavior) = REQUIRED]; - * @param array<\Google\Protobuf\Value>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setInstances($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Protobuf\Value::class); - $this->instances = $arr; - - return $this; - } - - /** - * The parameters that govern the prediction. The schema of the parameters may - * be specified via Endpoint's DeployedModels' [Model's - * ][google.cloud.aiplatform.v1.DeployedModel.model] - * [PredictSchemata's][google.cloud.aiplatform.v1.Model.predict_schemata] - * [parameters_schema_uri][google.cloud.aiplatform.v1.PredictSchemata.parameters_schema_uri]. - * - * Generated from protobuf field .google.protobuf.Value parameters = 4; - * @return \Google\Protobuf\Value|null - */ - public function getParameters() - { - return $this->parameters; - } - - public function hasParameters() - { - return isset($this->parameters); - } - - public function clearParameters() - { - unset($this->parameters); - } - - /** - * The parameters that govern the prediction. The schema of the parameters may - * be specified via Endpoint's DeployedModels' [Model's - * ][google.cloud.aiplatform.v1.DeployedModel.model] - * [PredictSchemata's][google.cloud.aiplatform.v1.Model.predict_schemata] - * [parameters_schema_uri][google.cloud.aiplatform.v1.PredictSchemata.parameters_schema_uri]. - * - * Generated from protobuf field .google.protobuf.Value parameters = 4; - * @param \Google\Protobuf\Value $var - * @return $this - */ - public function setParameters($var) - { - GPBUtil::checkMessage($var, \Google\Protobuf\Value::class); - $this->parameters = $var; - - return $this; - } - - /** - * If specified, overrides the - * [explanation_spec][google.cloud.aiplatform.v1.DeployedModel.explanation_spec] - * of the DeployedModel. Can be used for explaining prediction results with - * different configurations, such as: - * - Explaining top-5 predictions results as opposed to top-1; - * - Increasing path count or step count of the attribution methods to reduce - * approximate errors; - * - Using different baselines for explaining the prediction results. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.ExplanationSpecOverride explanation_spec_override = 5; - * @return \Google\Cloud\AIPlatform\V1\ExplanationSpecOverride|null - */ - public function getExplanationSpecOverride() - { - return $this->explanation_spec_override; - } - - public function hasExplanationSpecOverride() - { - return isset($this->explanation_spec_override); - } - - public function clearExplanationSpecOverride() - { - unset($this->explanation_spec_override); - } - - /** - * If specified, overrides the - * [explanation_spec][google.cloud.aiplatform.v1.DeployedModel.explanation_spec] - * of the DeployedModel. Can be used for explaining prediction results with - * different configurations, such as: - * - Explaining top-5 predictions results as opposed to top-1; - * - Increasing path count or step count of the attribution methods to reduce - * approximate errors; - * - Using different baselines for explaining the prediction results. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.ExplanationSpecOverride explanation_spec_override = 5; - * @param \Google\Cloud\AIPlatform\V1\ExplanationSpecOverride $var - * @return $this - */ - public function setExplanationSpecOverride($var) - { - GPBUtil::checkMessage($var, \Google\Cloud\AIPlatform\V1\ExplanationSpecOverride::class); - $this->explanation_spec_override = $var; - - return $this; - } - - /** - * If specified, this ExplainRequest will be served by the chosen - * DeployedModel, overriding - * [Endpoint.traffic_split][google.cloud.aiplatform.v1.Endpoint.traffic_split]. - * - * Generated from protobuf field string deployed_model_id = 3; - * @return string - */ - public function getDeployedModelId() - { - return $this->deployed_model_id; - } - - /** - * If specified, this ExplainRequest will be served by the chosen - * DeployedModel, overriding - * [Endpoint.traffic_split][google.cloud.aiplatform.v1.Endpoint.traffic_split]. - * - * Generated from protobuf field string deployed_model_id = 3; - * @param string $var - * @return $this - */ - public function setDeployedModelId($var) - { - GPBUtil::checkString($var, True); - $this->deployed_model_id = $var; - - return $this; - } - -} - diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ExplainResponse.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ExplainResponse.php deleted file mode 100644 index 41d2fa09856e..000000000000 --- a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ExplainResponse.php +++ /dev/null @@ -1,160 +0,0 @@ -google.cloud.aiplatform.v1.ExplainResponse - */ -class ExplainResponse extends \Google\Protobuf\Internal\Message -{ - /** - * The explanations of the Model's - * [PredictResponse.predictions][google.cloud.aiplatform.v1.PredictResponse.predictions]. - * It has the same number of elements as - * [instances][google.cloud.aiplatform.v1.ExplainRequest.instances] to be - * explained. - * - * Generated from protobuf field repeated .google.cloud.aiplatform.v1.Explanation explanations = 1; - */ - private $explanations; - /** - * ID of the Endpoint's DeployedModel that served this explanation. - * - * Generated from protobuf field string deployed_model_id = 2; - */ - protected $deployed_model_id = ''; - /** - * The predictions that are the output of the predictions call. - * Same as - * [PredictResponse.predictions][google.cloud.aiplatform.v1.PredictResponse.predictions]. - * - * Generated from protobuf field repeated .google.protobuf.Value predictions = 3; - */ - private $predictions; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type array<\Google\Cloud\AIPlatform\V1\Explanation>|\Google\Protobuf\Internal\RepeatedField $explanations - * The explanations of the Model's - * [PredictResponse.predictions][google.cloud.aiplatform.v1.PredictResponse.predictions]. - * It has the same number of elements as - * [instances][google.cloud.aiplatform.v1.ExplainRequest.instances] to be - * explained. - * @type string $deployed_model_id - * ID of the Endpoint's DeployedModel that served this explanation. - * @type array<\Google\Protobuf\Value>|\Google\Protobuf\Internal\RepeatedField $predictions - * The predictions that are the output of the predictions call. - * Same as - * [PredictResponse.predictions][google.cloud.aiplatform.v1.PredictResponse.predictions]. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Cloud\Aiplatform\V1\PredictionService::initOnce(); - parent::__construct($data); - } - - /** - * The explanations of the Model's - * [PredictResponse.predictions][google.cloud.aiplatform.v1.PredictResponse.predictions]. - * It has the same number of elements as - * [instances][google.cloud.aiplatform.v1.ExplainRequest.instances] to be - * explained. - * - * Generated from protobuf field repeated .google.cloud.aiplatform.v1.Explanation explanations = 1; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getExplanations() - { - return $this->explanations; - } - - /** - * The explanations of the Model's - * [PredictResponse.predictions][google.cloud.aiplatform.v1.PredictResponse.predictions]. - * It has the same number of elements as - * [instances][google.cloud.aiplatform.v1.ExplainRequest.instances] to be - * explained. - * - * Generated from protobuf field repeated .google.cloud.aiplatform.v1.Explanation explanations = 1; - * @param array<\Google\Cloud\AIPlatform\V1\Explanation>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setExplanations($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\AIPlatform\V1\Explanation::class); - $this->explanations = $arr; - - return $this; - } - - /** - * ID of the Endpoint's DeployedModel that served this explanation. - * - * Generated from protobuf field string deployed_model_id = 2; - * @return string - */ - public function getDeployedModelId() - { - return $this->deployed_model_id; - } - - /** - * ID of the Endpoint's DeployedModel that served this explanation. - * - * Generated from protobuf field string deployed_model_id = 2; - * @param string $var - * @return $this - */ - public function setDeployedModelId($var) - { - GPBUtil::checkString($var, True); - $this->deployed_model_id = $var; - - return $this; - } - - /** - * The predictions that are the output of the predictions call. - * Same as - * [PredictResponse.predictions][google.cloud.aiplatform.v1.PredictResponse.predictions]. - * - * Generated from protobuf field repeated .google.protobuf.Value predictions = 3; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getPredictions() - { - return $this->predictions; - } - - /** - * The predictions that are the output of the predictions call. - * Same as - * [PredictResponse.predictions][google.cloud.aiplatform.v1.PredictResponse.predictions]. - * - * Generated from protobuf field repeated .google.protobuf.Value predictions = 3; - * @param array<\Google\Protobuf\Value>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setPredictions($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Protobuf\Value::class); - $this->predictions = $arr; - - return $this; - } - -} - diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/Explanation.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/Explanation.php deleted file mode 100644 index cef78bb0e03b..000000000000 --- a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/Explanation.php +++ /dev/null @@ -1,204 +0,0 @@ -google.cloud.aiplatform.v1.Explanation - */ -class Explanation extends \Google\Protobuf\Internal\Message -{ - /** - * Output only. Feature attributions grouped by predicted outputs. - * For Models that predict only one output, such as regression Models that - * predict only one score, there is only one attibution that explains the - * predicted output. For Models that predict multiple outputs, such as - * multiclass Models that predict multiple classes, each element explains one - * specific item. - * [Attribution.output_index][google.cloud.aiplatform.v1.Attribution.output_index] - * can be used to identify which output this attribution is explaining. - * By default, we provide Shapley values for the predicted class. However, - * you can configure the explanation request to generate Shapley values for - * any other classes too. For example, if a model predicts a probability of - * `0.4` for approving a loan application, the model's decision is to reject - * the application since `p(reject) = 0.6 > p(approve) = 0.4`, and the default - * Shapley values would be computed for rejection decision and not approval, - * even though the latter might be the positive class. - * If users set - * [ExplanationParameters.top_k][google.cloud.aiplatform.v1.ExplanationParameters.top_k], - * the attributions are sorted by - * [instance_output_value][Attributions.instance_output_value] in descending - * order. If - * [ExplanationParameters.output_indices][google.cloud.aiplatform.v1.ExplanationParameters.output_indices] - * is specified, the attributions are stored by - * [Attribution.output_index][google.cloud.aiplatform.v1.Attribution.output_index] - * in the same order as they appear in the output_indices. - * - * Generated from protobuf field repeated .google.cloud.aiplatform.v1.Attribution attributions = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - private $attributions; - /** - * Output only. List of the nearest neighbors for example-based explanations. - * For models deployed with the examples explanations feature enabled, the - * attributions field is empty and instead the neighbors field is populated. - * - * Generated from protobuf field repeated .google.cloud.aiplatform.v1.Neighbor neighbors = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - private $neighbors; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type array<\Google\Cloud\AIPlatform\V1\Attribution>|\Google\Protobuf\Internal\RepeatedField $attributions - * Output only. Feature attributions grouped by predicted outputs. - * For Models that predict only one output, such as regression Models that - * predict only one score, there is only one attibution that explains the - * predicted output. For Models that predict multiple outputs, such as - * multiclass Models that predict multiple classes, each element explains one - * specific item. - * [Attribution.output_index][google.cloud.aiplatform.v1.Attribution.output_index] - * can be used to identify which output this attribution is explaining. - * By default, we provide Shapley values for the predicted class. However, - * you can configure the explanation request to generate Shapley values for - * any other classes too. For example, if a model predicts a probability of - * `0.4` for approving a loan application, the model's decision is to reject - * the application since `p(reject) = 0.6 > p(approve) = 0.4`, and the default - * Shapley values would be computed for rejection decision and not approval, - * even though the latter might be the positive class. - * If users set - * [ExplanationParameters.top_k][google.cloud.aiplatform.v1.ExplanationParameters.top_k], - * the attributions are sorted by - * [instance_output_value][Attributions.instance_output_value] in descending - * order. If - * [ExplanationParameters.output_indices][google.cloud.aiplatform.v1.ExplanationParameters.output_indices] - * is specified, the attributions are stored by - * [Attribution.output_index][google.cloud.aiplatform.v1.Attribution.output_index] - * in the same order as they appear in the output_indices. - * @type array<\Google\Cloud\AIPlatform\V1\Neighbor>|\Google\Protobuf\Internal\RepeatedField $neighbors - * Output only. List of the nearest neighbors for example-based explanations. - * For models deployed with the examples explanations feature enabled, the - * attributions field is empty and instead the neighbors field is populated. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Cloud\Aiplatform\V1\Explanation::initOnce(); - parent::__construct($data); - } - - /** - * Output only. Feature attributions grouped by predicted outputs. - * For Models that predict only one output, such as regression Models that - * predict only one score, there is only one attibution that explains the - * predicted output. For Models that predict multiple outputs, such as - * multiclass Models that predict multiple classes, each element explains one - * specific item. - * [Attribution.output_index][google.cloud.aiplatform.v1.Attribution.output_index] - * can be used to identify which output this attribution is explaining. - * By default, we provide Shapley values for the predicted class. However, - * you can configure the explanation request to generate Shapley values for - * any other classes too. For example, if a model predicts a probability of - * `0.4` for approving a loan application, the model's decision is to reject - * the application since `p(reject) = 0.6 > p(approve) = 0.4`, and the default - * Shapley values would be computed for rejection decision and not approval, - * even though the latter might be the positive class. - * If users set - * [ExplanationParameters.top_k][google.cloud.aiplatform.v1.ExplanationParameters.top_k], - * the attributions are sorted by - * [instance_output_value][Attributions.instance_output_value] in descending - * order. If - * [ExplanationParameters.output_indices][google.cloud.aiplatform.v1.ExplanationParameters.output_indices] - * is specified, the attributions are stored by - * [Attribution.output_index][google.cloud.aiplatform.v1.Attribution.output_index] - * in the same order as they appear in the output_indices. - * - * Generated from protobuf field repeated .google.cloud.aiplatform.v1.Attribution attributions = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getAttributions() - { - return $this->attributions; - } - - /** - * Output only. Feature attributions grouped by predicted outputs. - * For Models that predict only one output, such as regression Models that - * predict only one score, there is only one attibution that explains the - * predicted output. For Models that predict multiple outputs, such as - * multiclass Models that predict multiple classes, each element explains one - * specific item. - * [Attribution.output_index][google.cloud.aiplatform.v1.Attribution.output_index] - * can be used to identify which output this attribution is explaining. - * By default, we provide Shapley values for the predicted class. However, - * you can configure the explanation request to generate Shapley values for - * any other classes too. For example, if a model predicts a probability of - * `0.4` for approving a loan application, the model's decision is to reject - * the application since `p(reject) = 0.6 > p(approve) = 0.4`, and the default - * Shapley values would be computed for rejection decision and not approval, - * even though the latter might be the positive class. - * If users set - * [ExplanationParameters.top_k][google.cloud.aiplatform.v1.ExplanationParameters.top_k], - * the attributions are sorted by - * [instance_output_value][Attributions.instance_output_value] in descending - * order. If - * [ExplanationParameters.output_indices][google.cloud.aiplatform.v1.ExplanationParameters.output_indices] - * is specified, the attributions are stored by - * [Attribution.output_index][google.cloud.aiplatform.v1.Attribution.output_index] - * in the same order as they appear in the output_indices. - * - * Generated from protobuf field repeated .google.cloud.aiplatform.v1.Attribution attributions = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param array<\Google\Cloud\AIPlatform\V1\Attribution>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setAttributions($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\AIPlatform\V1\Attribution::class); - $this->attributions = $arr; - - return $this; - } - - /** - * Output only. List of the nearest neighbors for example-based explanations. - * For models deployed with the examples explanations feature enabled, the - * attributions field is empty and instead the neighbors field is populated. - * - * Generated from protobuf field repeated .google.cloud.aiplatform.v1.Neighbor neighbors = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getNeighbors() - { - return $this->neighbors; - } - - /** - * Output only. List of the nearest neighbors for example-based explanations. - * For models deployed with the examples explanations feature enabled, the - * attributions field is empty and instead the neighbors field is populated. - * - * Generated from protobuf field repeated .google.cloud.aiplatform.v1.Neighbor neighbors = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param array<\Google\Cloud\AIPlatform\V1\Neighbor>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setNeighbors($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\AIPlatform\V1\Neighbor::class); - $this->neighbors = $arr; - - return $this; - } - -} - diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ExplanationMetadata.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ExplanationMetadata.php deleted file mode 100644 index 4fe06824724e..000000000000 --- a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ExplanationMetadata.php +++ /dev/null @@ -1,265 +0,0 @@ -google.cloud.aiplatform.v1.ExplanationMetadata - */ -class ExplanationMetadata extends \Google\Protobuf\Internal\Message -{ - /** - * Required. Map from feature names to feature input metadata. Keys are the - * name of the features. Values are the specification of the feature. - * An empty InputMetadata is valid. It describes a text feature which has the - * name specified as the key in - * [ExplanationMetadata.inputs][google.cloud.aiplatform.v1.ExplanationMetadata.inputs]. - * The baseline of the empty feature is chosen by Vertex AI. - * For Vertex AI-provided Tensorflow images, the key can be any friendly - * name of the feature. Once specified, - * [featureAttributions][google.cloud.aiplatform.v1.Attribution.feature_attributions] - * are keyed by this key (if not grouped with another feature). - * For custom images, the key must match with the key in - * [instance][google.cloud.aiplatform.v1.ExplainRequest.instances]. - * - * Generated from protobuf field map inputs = 1 [(.google.api.field_behavior) = REQUIRED]; - */ - private $inputs; - /** - * Required. Map from output names to output metadata. - * For Vertex AI-provided Tensorflow images, keys can be any user defined - * string that consists of any UTF-8 characters. - * For custom images, keys are the name of the output field in the prediction - * to be explained. - * Currently only one key is allowed. - * - * Generated from protobuf field map outputs = 2 [(.google.api.field_behavior) = REQUIRED]; - */ - private $outputs; - /** - * Points to a YAML file stored on Google Cloud Storage describing the format - * of the [feature - * attributions][google.cloud.aiplatform.v1.Attribution.feature_attributions]. - * The schema is defined as an OpenAPI 3.0.2 [Schema - * Object](https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.0.2.md#schemaObject). - * AutoML tabular Models always have this field populated by Vertex AI. - * Note: The URI given on output may be different, including the URI scheme, - * than the one given on input. The output URI will point to a location where - * the user only has a read access. - * - * Generated from protobuf field string feature_attributions_schema_uri = 3; - */ - protected $feature_attributions_schema_uri = ''; - /** - * Name of the source to generate embeddings for example based explanations. - * - * Generated from protobuf field string latent_space_source = 5; - */ - protected $latent_space_source = ''; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type array|\Google\Protobuf\Internal\MapField $inputs - * Required. Map from feature names to feature input metadata. Keys are the - * name of the features. Values are the specification of the feature. - * An empty InputMetadata is valid. It describes a text feature which has the - * name specified as the key in - * [ExplanationMetadata.inputs][google.cloud.aiplatform.v1.ExplanationMetadata.inputs]. - * The baseline of the empty feature is chosen by Vertex AI. - * For Vertex AI-provided Tensorflow images, the key can be any friendly - * name of the feature. Once specified, - * [featureAttributions][google.cloud.aiplatform.v1.Attribution.feature_attributions] - * are keyed by this key (if not grouped with another feature). - * For custom images, the key must match with the key in - * [instance][google.cloud.aiplatform.v1.ExplainRequest.instances]. - * @type array|\Google\Protobuf\Internal\MapField $outputs - * Required. Map from output names to output metadata. - * For Vertex AI-provided Tensorflow images, keys can be any user defined - * string that consists of any UTF-8 characters. - * For custom images, keys are the name of the output field in the prediction - * to be explained. - * Currently only one key is allowed. - * @type string $feature_attributions_schema_uri - * Points to a YAML file stored on Google Cloud Storage describing the format - * of the [feature - * attributions][google.cloud.aiplatform.v1.Attribution.feature_attributions]. - * The schema is defined as an OpenAPI 3.0.2 [Schema - * Object](https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.0.2.md#schemaObject). - * AutoML tabular Models always have this field populated by Vertex AI. - * Note: The URI given on output may be different, including the URI scheme, - * than the one given on input. The output URI will point to a location where - * the user only has a read access. - * @type string $latent_space_source - * Name of the source to generate embeddings for example based explanations. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Cloud\Aiplatform\V1\ExplanationMetadata::initOnce(); - parent::__construct($data); - } - - /** - * Required. Map from feature names to feature input metadata. Keys are the - * name of the features. Values are the specification of the feature. - * An empty InputMetadata is valid. It describes a text feature which has the - * name specified as the key in - * [ExplanationMetadata.inputs][google.cloud.aiplatform.v1.ExplanationMetadata.inputs]. - * The baseline of the empty feature is chosen by Vertex AI. - * For Vertex AI-provided Tensorflow images, the key can be any friendly - * name of the feature. Once specified, - * [featureAttributions][google.cloud.aiplatform.v1.Attribution.feature_attributions] - * are keyed by this key (if not grouped with another feature). - * For custom images, the key must match with the key in - * [instance][google.cloud.aiplatform.v1.ExplainRequest.instances]. - * - * Generated from protobuf field map inputs = 1 [(.google.api.field_behavior) = REQUIRED]; - * @return \Google\Protobuf\Internal\MapField - */ - public function getInputs() - { - return $this->inputs; - } - - /** - * Required. Map from feature names to feature input metadata. Keys are the - * name of the features. Values are the specification of the feature. - * An empty InputMetadata is valid. It describes a text feature which has the - * name specified as the key in - * [ExplanationMetadata.inputs][google.cloud.aiplatform.v1.ExplanationMetadata.inputs]. - * The baseline of the empty feature is chosen by Vertex AI. - * For Vertex AI-provided Tensorflow images, the key can be any friendly - * name of the feature. Once specified, - * [featureAttributions][google.cloud.aiplatform.v1.Attribution.feature_attributions] - * are keyed by this key (if not grouped with another feature). - * For custom images, the key must match with the key in - * [instance][google.cloud.aiplatform.v1.ExplainRequest.instances]. - * - * Generated from protobuf field map inputs = 1 [(.google.api.field_behavior) = REQUIRED]; - * @param array|\Google\Protobuf\Internal\MapField $var - * @return $this - */ - public function setInputs($var) - { - $arr = GPBUtil::checkMapField($var, \Google\Protobuf\Internal\GPBType::STRING, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\AIPlatform\V1\ExplanationMetadata\InputMetadata::class); - $this->inputs = $arr; - - return $this; - } - - /** - * Required. Map from output names to output metadata. - * For Vertex AI-provided Tensorflow images, keys can be any user defined - * string that consists of any UTF-8 characters. - * For custom images, keys are the name of the output field in the prediction - * to be explained. - * Currently only one key is allowed. - * - * Generated from protobuf field map outputs = 2 [(.google.api.field_behavior) = REQUIRED]; - * @return \Google\Protobuf\Internal\MapField - */ - public function getOutputs() - { - return $this->outputs; - } - - /** - * Required. Map from output names to output metadata. - * For Vertex AI-provided Tensorflow images, keys can be any user defined - * string that consists of any UTF-8 characters. - * For custom images, keys are the name of the output field in the prediction - * to be explained. - * Currently only one key is allowed. - * - * Generated from protobuf field map outputs = 2 [(.google.api.field_behavior) = REQUIRED]; - * @param array|\Google\Protobuf\Internal\MapField $var - * @return $this - */ - public function setOutputs($var) - { - $arr = GPBUtil::checkMapField($var, \Google\Protobuf\Internal\GPBType::STRING, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\AIPlatform\V1\ExplanationMetadata\OutputMetadata::class); - $this->outputs = $arr; - - return $this; - } - - /** - * Points to a YAML file stored on Google Cloud Storage describing the format - * of the [feature - * attributions][google.cloud.aiplatform.v1.Attribution.feature_attributions]. - * The schema is defined as an OpenAPI 3.0.2 [Schema - * Object](https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.0.2.md#schemaObject). - * AutoML tabular Models always have this field populated by Vertex AI. - * Note: The URI given on output may be different, including the URI scheme, - * than the one given on input. The output URI will point to a location where - * the user only has a read access. - * - * Generated from protobuf field string feature_attributions_schema_uri = 3; - * @return string - */ - public function getFeatureAttributionsSchemaUri() - { - return $this->feature_attributions_schema_uri; - } - - /** - * Points to a YAML file stored on Google Cloud Storage describing the format - * of the [feature - * attributions][google.cloud.aiplatform.v1.Attribution.feature_attributions]. - * The schema is defined as an OpenAPI 3.0.2 [Schema - * Object](https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.0.2.md#schemaObject). - * AutoML tabular Models always have this field populated by Vertex AI. - * Note: The URI given on output may be different, including the URI scheme, - * than the one given on input. The output URI will point to a location where - * the user only has a read access. - * - * Generated from protobuf field string feature_attributions_schema_uri = 3; - * @param string $var - * @return $this - */ - public function setFeatureAttributionsSchemaUri($var) - { - GPBUtil::checkString($var, True); - $this->feature_attributions_schema_uri = $var; - - return $this; - } - - /** - * Name of the source to generate embeddings for example based explanations. - * - * Generated from protobuf field string latent_space_source = 5; - * @return string - */ - public function getLatentSpaceSource() - { - return $this->latent_space_source; - } - - /** - * Name of the source to generate embeddings for example based explanations. - * - * Generated from protobuf field string latent_space_source = 5; - * @param string $var - * @return $this - */ - public function setLatentSpaceSource($var) - { - GPBUtil::checkString($var, True); - $this->latent_space_source = $var; - - return $this; - } - -} - diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ExplanationMetadata/InputMetadata.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ExplanationMetadata/InputMetadata.php deleted file mode 100644 index 7ffdb548a91e..000000000000 --- a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ExplanationMetadata/InputMetadata.php +++ /dev/null @@ -1,636 +0,0 @@ -google.cloud.aiplatform.v1.ExplanationMetadata.InputMetadata - */ -class InputMetadata extends \Google\Protobuf\Internal\Message -{ - /** - * Baseline inputs for this feature. - * If no baseline is specified, Vertex AI chooses the baseline for this - * feature. If multiple baselines are specified, Vertex AI returns the - * average attributions across them in - * [Attribution.feature_attributions][google.cloud.aiplatform.v1.Attribution.feature_attributions]. - * For Vertex AI-provided Tensorflow images (both 1.x and 2.x), the shape - * of each baseline must match the shape of the input tensor. If a scalar is - * provided, we broadcast to the same shape as the input tensor. - * For custom images, the element of the baselines must be in the same - * format as the feature's input in the - * [instance][google.cloud.aiplatform.v1.ExplainRequest.instances][]. The - * schema of any single instance may be specified via Endpoint's - * DeployedModels' [Model's][google.cloud.aiplatform.v1.DeployedModel.model] - * [PredictSchemata's][google.cloud.aiplatform.v1.Model.predict_schemata] - * [instance_schema_uri][google.cloud.aiplatform.v1.PredictSchemata.instance_schema_uri]. - * - * Generated from protobuf field repeated .google.protobuf.Value input_baselines = 1; - */ - private $input_baselines; - /** - * Name of the input tensor for this feature. Required and is only - * applicable to Vertex AI-provided images for Tensorflow. - * - * Generated from protobuf field string input_tensor_name = 2; - */ - protected $input_tensor_name = ''; - /** - * Defines how the feature is encoded into the input tensor. Defaults to - * IDENTITY. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.ExplanationMetadata.InputMetadata.Encoding encoding = 3; - */ - protected $encoding = 0; - /** - * Modality of the feature. Valid values are: numeric, image. Defaults to - * numeric. - * - * Generated from protobuf field string modality = 4; - */ - protected $modality = ''; - /** - * The domain details of the input feature value. Like min/max, original - * mean or standard deviation if normalized. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.ExplanationMetadata.InputMetadata.FeatureValueDomain feature_value_domain = 5; - */ - protected $feature_value_domain = null; - /** - * Specifies the index of the values of the input tensor. - * Required when the input tensor is a sparse representation. Refer to - * Tensorflow documentation for more details: - * https://www.tensorflow.org/api_docs/python/tf/sparse/SparseTensor. - * - * Generated from protobuf field string indices_tensor_name = 6; - */ - protected $indices_tensor_name = ''; - /** - * Specifies the shape of the values of the input if the input is a sparse - * representation. Refer to Tensorflow documentation for more details: - * https://www.tensorflow.org/api_docs/python/tf/sparse/SparseTensor. - * - * Generated from protobuf field string dense_shape_tensor_name = 7; - */ - protected $dense_shape_tensor_name = ''; - /** - * A list of feature names for each index in the input tensor. - * Required when the input - * [InputMetadata.encoding][google.cloud.aiplatform.v1.ExplanationMetadata.InputMetadata.encoding] - * is BAG_OF_FEATURES, BAG_OF_FEATURES_SPARSE, INDICATOR. - * - * Generated from protobuf field repeated string index_feature_mapping = 8; - */ - private $index_feature_mapping; - /** - * Encoded tensor is a transformation of the input tensor. Must be provided - * if choosing - * [Integrated Gradients - * attribution][google.cloud.aiplatform.v1.ExplanationParameters.integrated_gradients_attribution] - * or [XRAI - * attribution][google.cloud.aiplatform.v1.ExplanationParameters.xrai_attribution] - * and the input tensor is not differentiable. - * An encoded tensor is generated if the input tensor is encoded by a lookup - * table. - * - * Generated from protobuf field string encoded_tensor_name = 9; - */ - protected $encoded_tensor_name = ''; - /** - * A list of baselines for the encoded tensor. - * The shape of each baseline should match the shape of the encoded tensor. - * If a scalar is provided, Vertex AI broadcasts to the same shape as the - * encoded tensor. - * - * Generated from protobuf field repeated .google.protobuf.Value encoded_baselines = 10; - */ - private $encoded_baselines; - /** - * Visualization configurations for image explanation. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.ExplanationMetadata.InputMetadata.Visualization visualization = 11; - */ - protected $visualization = null; - /** - * Name of the group that the input belongs to. Features with the same group - * name will be treated as one feature when computing attributions. Features - * grouped together can have different shapes in value. If provided, there - * will be one single attribution generated in - * [Attribution.feature_attributions][google.cloud.aiplatform.v1.Attribution.feature_attributions], - * keyed by the group name. - * - * Generated from protobuf field string group_name = 12; - */ - protected $group_name = ''; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type array<\Google\Protobuf\Value>|\Google\Protobuf\Internal\RepeatedField $input_baselines - * Baseline inputs for this feature. - * If no baseline is specified, Vertex AI chooses the baseline for this - * feature. If multiple baselines are specified, Vertex AI returns the - * average attributions across them in - * [Attribution.feature_attributions][google.cloud.aiplatform.v1.Attribution.feature_attributions]. - * For Vertex AI-provided Tensorflow images (both 1.x and 2.x), the shape - * of each baseline must match the shape of the input tensor. If a scalar is - * provided, we broadcast to the same shape as the input tensor. - * For custom images, the element of the baselines must be in the same - * format as the feature's input in the - * [instance][google.cloud.aiplatform.v1.ExplainRequest.instances][]. The - * schema of any single instance may be specified via Endpoint's - * DeployedModels' [Model's][google.cloud.aiplatform.v1.DeployedModel.model] - * [PredictSchemata's][google.cloud.aiplatform.v1.Model.predict_schemata] - * [instance_schema_uri][google.cloud.aiplatform.v1.PredictSchemata.instance_schema_uri]. - * @type string $input_tensor_name - * Name of the input tensor for this feature. Required and is only - * applicable to Vertex AI-provided images for Tensorflow. - * @type int $encoding - * Defines how the feature is encoded into the input tensor. Defaults to - * IDENTITY. - * @type string $modality - * Modality of the feature. Valid values are: numeric, image. Defaults to - * numeric. - * @type \Google\Cloud\AIPlatform\V1\ExplanationMetadata\InputMetadata\FeatureValueDomain $feature_value_domain - * The domain details of the input feature value. Like min/max, original - * mean or standard deviation if normalized. - * @type string $indices_tensor_name - * Specifies the index of the values of the input tensor. - * Required when the input tensor is a sparse representation. Refer to - * Tensorflow documentation for more details: - * https://www.tensorflow.org/api_docs/python/tf/sparse/SparseTensor. - * @type string $dense_shape_tensor_name - * Specifies the shape of the values of the input if the input is a sparse - * representation. Refer to Tensorflow documentation for more details: - * https://www.tensorflow.org/api_docs/python/tf/sparse/SparseTensor. - * @type array|\Google\Protobuf\Internal\RepeatedField $index_feature_mapping - * A list of feature names for each index in the input tensor. - * Required when the input - * [InputMetadata.encoding][google.cloud.aiplatform.v1.ExplanationMetadata.InputMetadata.encoding] - * is BAG_OF_FEATURES, BAG_OF_FEATURES_SPARSE, INDICATOR. - * @type string $encoded_tensor_name - * Encoded tensor is a transformation of the input tensor. Must be provided - * if choosing - * [Integrated Gradients - * attribution][google.cloud.aiplatform.v1.ExplanationParameters.integrated_gradients_attribution] - * or [XRAI - * attribution][google.cloud.aiplatform.v1.ExplanationParameters.xrai_attribution] - * and the input tensor is not differentiable. - * An encoded tensor is generated if the input tensor is encoded by a lookup - * table. - * @type array<\Google\Protobuf\Value>|\Google\Protobuf\Internal\RepeatedField $encoded_baselines - * A list of baselines for the encoded tensor. - * The shape of each baseline should match the shape of the encoded tensor. - * If a scalar is provided, Vertex AI broadcasts to the same shape as the - * encoded tensor. - * @type \Google\Cloud\AIPlatform\V1\ExplanationMetadata\InputMetadata\Visualization $visualization - * Visualization configurations for image explanation. - * @type string $group_name - * Name of the group that the input belongs to. Features with the same group - * name will be treated as one feature when computing attributions. Features - * grouped together can have different shapes in value. If provided, there - * will be one single attribution generated in - * [Attribution.feature_attributions][google.cloud.aiplatform.v1.Attribution.feature_attributions], - * keyed by the group name. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Cloud\Aiplatform\V1\ExplanationMetadata::initOnce(); - parent::__construct($data); - } - - /** - * Baseline inputs for this feature. - * If no baseline is specified, Vertex AI chooses the baseline for this - * feature. If multiple baselines are specified, Vertex AI returns the - * average attributions across them in - * [Attribution.feature_attributions][google.cloud.aiplatform.v1.Attribution.feature_attributions]. - * For Vertex AI-provided Tensorflow images (both 1.x and 2.x), the shape - * of each baseline must match the shape of the input tensor. If a scalar is - * provided, we broadcast to the same shape as the input tensor. - * For custom images, the element of the baselines must be in the same - * format as the feature's input in the - * [instance][google.cloud.aiplatform.v1.ExplainRequest.instances][]. The - * schema of any single instance may be specified via Endpoint's - * DeployedModels' [Model's][google.cloud.aiplatform.v1.DeployedModel.model] - * [PredictSchemata's][google.cloud.aiplatform.v1.Model.predict_schemata] - * [instance_schema_uri][google.cloud.aiplatform.v1.PredictSchemata.instance_schema_uri]. - * - * Generated from protobuf field repeated .google.protobuf.Value input_baselines = 1; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getInputBaselines() - { - return $this->input_baselines; - } - - /** - * Baseline inputs for this feature. - * If no baseline is specified, Vertex AI chooses the baseline for this - * feature. If multiple baselines are specified, Vertex AI returns the - * average attributions across them in - * [Attribution.feature_attributions][google.cloud.aiplatform.v1.Attribution.feature_attributions]. - * For Vertex AI-provided Tensorflow images (both 1.x and 2.x), the shape - * of each baseline must match the shape of the input tensor. If a scalar is - * provided, we broadcast to the same shape as the input tensor. - * For custom images, the element of the baselines must be in the same - * format as the feature's input in the - * [instance][google.cloud.aiplatform.v1.ExplainRequest.instances][]. The - * schema of any single instance may be specified via Endpoint's - * DeployedModels' [Model's][google.cloud.aiplatform.v1.DeployedModel.model] - * [PredictSchemata's][google.cloud.aiplatform.v1.Model.predict_schemata] - * [instance_schema_uri][google.cloud.aiplatform.v1.PredictSchemata.instance_schema_uri]. - * - * Generated from protobuf field repeated .google.protobuf.Value input_baselines = 1; - * @param array<\Google\Protobuf\Value>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setInputBaselines($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Protobuf\Value::class); - $this->input_baselines = $arr; - - return $this; - } - - /** - * Name of the input tensor for this feature. Required and is only - * applicable to Vertex AI-provided images for Tensorflow. - * - * Generated from protobuf field string input_tensor_name = 2; - * @return string - */ - public function getInputTensorName() - { - return $this->input_tensor_name; - } - - /** - * Name of the input tensor for this feature. Required and is only - * applicable to Vertex AI-provided images for Tensorflow. - * - * Generated from protobuf field string input_tensor_name = 2; - * @param string $var - * @return $this - */ - public function setInputTensorName($var) - { - GPBUtil::checkString($var, True); - $this->input_tensor_name = $var; - - return $this; - } - - /** - * Defines how the feature is encoded into the input tensor. Defaults to - * IDENTITY. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.ExplanationMetadata.InputMetadata.Encoding encoding = 3; - * @return int - */ - public function getEncoding() - { - return $this->encoding; - } - - /** - * Defines how the feature is encoded into the input tensor. Defaults to - * IDENTITY. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.ExplanationMetadata.InputMetadata.Encoding encoding = 3; - * @param int $var - * @return $this - */ - public function setEncoding($var) - { - GPBUtil::checkEnum($var, \Google\Cloud\AIPlatform\V1\ExplanationMetadata\InputMetadata\Encoding::class); - $this->encoding = $var; - - return $this; - } - - /** - * Modality of the feature. Valid values are: numeric, image. Defaults to - * numeric. - * - * Generated from protobuf field string modality = 4; - * @return string - */ - public function getModality() - { - return $this->modality; - } - - /** - * Modality of the feature. Valid values are: numeric, image. Defaults to - * numeric. - * - * Generated from protobuf field string modality = 4; - * @param string $var - * @return $this - */ - public function setModality($var) - { - GPBUtil::checkString($var, True); - $this->modality = $var; - - return $this; - } - - /** - * The domain details of the input feature value. Like min/max, original - * mean or standard deviation if normalized. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.ExplanationMetadata.InputMetadata.FeatureValueDomain feature_value_domain = 5; - * @return \Google\Cloud\AIPlatform\V1\ExplanationMetadata\InputMetadata\FeatureValueDomain|null - */ - public function getFeatureValueDomain() - { - return $this->feature_value_domain; - } - - public function hasFeatureValueDomain() - { - return isset($this->feature_value_domain); - } - - public function clearFeatureValueDomain() - { - unset($this->feature_value_domain); - } - - /** - * The domain details of the input feature value. Like min/max, original - * mean or standard deviation if normalized. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.ExplanationMetadata.InputMetadata.FeatureValueDomain feature_value_domain = 5; - * @param \Google\Cloud\AIPlatform\V1\ExplanationMetadata\InputMetadata\FeatureValueDomain $var - * @return $this - */ - public function setFeatureValueDomain($var) - { - GPBUtil::checkMessage($var, \Google\Cloud\AIPlatform\V1\ExplanationMetadata\InputMetadata\FeatureValueDomain::class); - $this->feature_value_domain = $var; - - return $this; - } - - /** - * Specifies the index of the values of the input tensor. - * Required when the input tensor is a sparse representation. Refer to - * Tensorflow documentation for more details: - * https://www.tensorflow.org/api_docs/python/tf/sparse/SparseTensor. - * - * Generated from protobuf field string indices_tensor_name = 6; - * @return string - */ - public function getIndicesTensorName() - { - return $this->indices_tensor_name; - } - - /** - * Specifies the index of the values of the input tensor. - * Required when the input tensor is a sparse representation. Refer to - * Tensorflow documentation for more details: - * https://www.tensorflow.org/api_docs/python/tf/sparse/SparseTensor. - * - * Generated from protobuf field string indices_tensor_name = 6; - * @param string $var - * @return $this - */ - public function setIndicesTensorName($var) - { - GPBUtil::checkString($var, True); - $this->indices_tensor_name = $var; - - return $this; - } - - /** - * Specifies the shape of the values of the input if the input is a sparse - * representation. Refer to Tensorflow documentation for more details: - * https://www.tensorflow.org/api_docs/python/tf/sparse/SparseTensor. - * - * Generated from protobuf field string dense_shape_tensor_name = 7; - * @return string - */ - public function getDenseShapeTensorName() - { - return $this->dense_shape_tensor_name; - } - - /** - * Specifies the shape of the values of the input if the input is a sparse - * representation. Refer to Tensorflow documentation for more details: - * https://www.tensorflow.org/api_docs/python/tf/sparse/SparseTensor. - * - * Generated from protobuf field string dense_shape_tensor_name = 7; - * @param string $var - * @return $this - */ - public function setDenseShapeTensorName($var) - { - GPBUtil::checkString($var, True); - $this->dense_shape_tensor_name = $var; - - return $this; - } - - /** - * A list of feature names for each index in the input tensor. - * Required when the input - * [InputMetadata.encoding][google.cloud.aiplatform.v1.ExplanationMetadata.InputMetadata.encoding] - * is BAG_OF_FEATURES, BAG_OF_FEATURES_SPARSE, INDICATOR. - * - * Generated from protobuf field repeated string index_feature_mapping = 8; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getIndexFeatureMapping() - { - return $this->index_feature_mapping; - } - - /** - * A list of feature names for each index in the input tensor. - * Required when the input - * [InputMetadata.encoding][google.cloud.aiplatform.v1.ExplanationMetadata.InputMetadata.encoding] - * is BAG_OF_FEATURES, BAG_OF_FEATURES_SPARSE, INDICATOR. - * - * Generated from protobuf field repeated string index_feature_mapping = 8; - * @param array|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setIndexFeatureMapping($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING); - $this->index_feature_mapping = $arr; - - return $this; - } - - /** - * Encoded tensor is a transformation of the input tensor. Must be provided - * if choosing - * [Integrated Gradients - * attribution][google.cloud.aiplatform.v1.ExplanationParameters.integrated_gradients_attribution] - * or [XRAI - * attribution][google.cloud.aiplatform.v1.ExplanationParameters.xrai_attribution] - * and the input tensor is not differentiable. - * An encoded tensor is generated if the input tensor is encoded by a lookup - * table. - * - * Generated from protobuf field string encoded_tensor_name = 9; - * @return string - */ - public function getEncodedTensorName() - { - return $this->encoded_tensor_name; - } - - /** - * Encoded tensor is a transformation of the input tensor. Must be provided - * if choosing - * [Integrated Gradients - * attribution][google.cloud.aiplatform.v1.ExplanationParameters.integrated_gradients_attribution] - * or [XRAI - * attribution][google.cloud.aiplatform.v1.ExplanationParameters.xrai_attribution] - * and the input tensor is not differentiable. - * An encoded tensor is generated if the input tensor is encoded by a lookup - * table. - * - * Generated from protobuf field string encoded_tensor_name = 9; - * @param string $var - * @return $this - */ - public function setEncodedTensorName($var) - { - GPBUtil::checkString($var, True); - $this->encoded_tensor_name = $var; - - return $this; - } - - /** - * A list of baselines for the encoded tensor. - * The shape of each baseline should match the shape of the encoded tensor. - * If a scalar is provided, Vertex AI broadcasts to the same shape as the - * encoded tensor. - * - * Generated from protobuf field repeated .google.protobuf.Value encoded_baselines = 10; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getEncodedBaselines() - { - return $this->encoded_baselines; - } - - /** - * A list of baselines for the encoded tensor. - * The shape of each baseline should match the shape of the encoded tensor. - * If a scalar is provided, Vertex AI broadcasts to the same shape as the - * encoded tensor. - * - * Generated from protobuf field repeated .google.protobuf.Value encoded_baselines = 10; - * @param array<\Google\Protobuf\Value>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setEncodedBaselines($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Protobuf\Value::class); - $this->encoded_baselines = $arr; - - return $this; - } - - /** - * Visualization configurations for image explanation. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.ExplanationMetadata.InputMetadata.Visualization visualization = 11; - * @return \Google\Cloud\AIPlatform\V1\ExplanationMetadata\InputMetadata\Visualization|null - */ - public function getVisualization() - { - return $this->visualization; - } - - public function hasVisualization() - { - return isset($this->visualization); - } - - public function clearVisualization() - { - unset($this->visualization); - } - - /** - * Visualization configurations for image explanation. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.ExplanationMetadata.InputMetadata.Visualization visualization = 11; - * @param \Google\Cloud\AIPlatform\V1\ExplanationMetadata\InputMetadata\Visualization $var - * @return $this - */ - public function setVisualization($var) - { - GPBUtil::checkMessage($var, \Google\Cloud\AIPlatform\V1\ExplanationMetadata\InputMetadata\Visualization::class); - $this->visualization = $var; - - return $this; - } - - /** - * Name of the group that the input belongs to. Features with the same group - * name will be treated as one feature when computing attributions. Features - * grouped together can have different shapes in value. If provided, there - * will be one single attribution generated in - * [Attribution.feature_attributions][google.cloud.aiplatform.v1.Attribution.feature_attributions], - * keyed by the group name. - * - * Generated from protobuf field string group_name = 12; - * @return string - */ - public function getGroupName() - { - return $this->group_name; - } - - /** - * Name of the group that the input belongs to. Features with the same group - * name will be treated as one feature when computing attributions. Features - * grouped together can have different shapes in value. If provided, there - * will be one single attribution generated in - * [Attribution.feature_attributions][google.cloud.aiplatform.v1.Attribution.feature_attributions], - * keyed by the group name. - * - * Generated from protobuf field string group_name = 12; - * @param string $var - * @return $this - */ - public function setGroupName($var) - { - GPBUtil::checkString($var, True); - $this->group_name = $var; - - return $this; - } - -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(InputMetadata::class, \Google\Cloud\AIPlatform\V1\ExplanationMetadata_InputMetadata::class); - diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ExplanationMetadata/InputMetadata/Encoding.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ExplanationMetadata/InputMetadata/Encoding.php deleted file mode 100644 index 93ea792c4a57..000000000000 --- a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ExplanationMetadata/InputMetadata/Encoding.php +++ /dev/null @@ -1,133 +0,0 @@ -google.cloud.aiplatform.v1.ExplanationMetadata.InputMetadata.Encoding - */ -class Encoding -{ - /** - * Default value. This is the same as IDENTITY. - * - * Generated from protobuf enum ENCODING_UNSPECIFIED = 0; - */ - const ENCODING_UNSPECIFIED = 0; - /** - * The tensor represents one feature. - * - * Generated from protobuf enum IDENTITY = 1; - */ - const IDENTITY = 1; - /** - * The tensor represents a bag of features where each index maps to - * a feature. - * [InputMetadata.index_feature_mapping][google.cloud.aiplatform.v1.ExplanationMetadata.InputMetadata.index_feature_mapping] - * must be provided for this encoding. For example: - * ``` - * input = [27, 6.0, 150] - * index_feature_mapping = ["age", "height", "weight"] - * ``` - * - * Generated from protobuf enum BAG_OF_FEATURES = 2; - */ - const BAG_OF_FEATURES = 2; - /** - * The tensor represents a bag of features where each index maps to a - * feature. Zero values in the tensor indicates feature being - * non-existent. - * [InputMetadata.index_feature_mapping][google.cloud.aiplatform.v1.ExplanationMetadata.InputMetadata.index_feature_mapping] - * must be provided for this encoding. For example: - * ``` - * input = [2, 0, 5, 0, 1] - * index_feature_mapping = ["a", "b", "c", "d", "e"] - * ``` - * - * Generated from protobuf enum BAG_OF_FEATURES_SPARSE = 3; - */ - const BAG_OF_FEATURES_SPARSE = 3; - /** - * The tensor is a list of binaries representing whether a feature exists - * or not (1 indicates existence). - * [InputMetadata.index_feature_mapping][google.cloud.aiplatform.v1.ExplanationMetadata.InputMetadata.index_feature_mapping] - * must be provided for this encoding. For example: - * ``` - * input = [1, 0, 1, 0, 1] - * index_feature_mapping = ["a", "b", "c", "d", "e"] - * ``` - * - * Generated from protobuf enum INDICATOR = 4; - */ - const INDICATOR = 4; - /** - * The tensor is encoded into a 1-dimensional array represented by an - * encoded tensor. - * [InputMetadata.encoded_tensor_name][google.cloud.aiplatform.v1.ExplanationMetadata.InputMetadata.encoded_tensor_name] - * must be provided for this encoding. For example: - * ``` - * input = ["This", "is", "a", "test", "."] - * encoded = [0.1, 0.2, 0.3, 0.4, 0.5] - * ``` - * - * Generated from protobuf enum COMBINED_EMBEDDING = 5; - */ - const COMBINED_EMBEDDING = 5; - /** - * Select this encoding when the input tensor is encoded into a - * 2-dimensional array represented by an encoded tensor. - * [InputMetadata.encoded_tensor_name][google.cloud.aiplatform.v1.ExplanationMetadata.InputMetadata.encoded_tensor_name] - * must be provided for this encoding. The first dimension of the encoded - * tensor's shape is the same as the input tensor's shape. For example: - * ``` - * input = ["This", "is", "a", "test", "."] - * encoded = [[0.1, 0.2, 0.3, 0.4, 0.5], - * [0.2, 0.1, 0.4, 0.3, 0.5], - * [0.5, 0.1, 0.3, 0.5, 0.4], - * [0.5, 0.3, 0.1, 0.2, 0.4], - * [0.4, 0.3, 0.2, 0.5, 0.1]] - * ``` - * - * Generated from protobuf enum CONCAT_EMBEDDING = 6; - */ - const CONCAT_EMBEDDING = 6; - - private static $valueToName = [ - self::ENCODING_UNSPECIFIED => 'ENCODING_UNSPECIFIED', - self::IDENTITY => 'IDENTITY', - self::BAG_OF_FEATURES => 'BAG_OF_FEATURES', - self::BAG_OF_FEATURES_SPARSE => 'BAG_OF_FEATURES_SPARSE', - self::INDICATOR => 'INDICATOR', - self::COMBINED_EMBEDDING => 'COMBINED_EMBEDDING', - self::CONCAT_EMBEDDING => 'CONCAT_EMBEDDING', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(Encoding::class, \Google\Cloud\AIPlatform\V1\ExplanationMetadata_InputMetadata_Encoding::class); - diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ExplanationMetadata/InputMetadata/FeatureValueDomain.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ExplanationMetadata/InputMetadata/FeatureValueDomain.php deleted file mode 100644 index 2c727cadfa08..000000000000 --- a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ExplanationMetadata/InputMetadata/FeatureValueDomain.php +++ /dev/null @@ -1,195 +0,0 @@ -google.cloud.aiplatform.v1.ExplanationMetadata.InputMetadata.FeatureValueDomain - */ -class FeatureValueDomain extends \Google\Protobuf\Internal\Message -{ - /** - * The minimum permissible value for this feature. - * - * Generated from protobuf field float min_value = 1; - */ - protected $min_value = 0.0; - /** - * The maximum permissible value for this feature. - * - * Generated from protobuf field float max_value = 2; - */ - protected $max_value = 0.0; - /** - * If this input feature has been normalized to a mean value of 0, - * the original_mean specifies the mean value of the domain prior to - * normalization. - * - * Generated from protobuf field float original_mean = 3; - */ - protected $original_mean = 0.0; - /** - * If this input feature has been normalized to a standard deviation of - * 1.0, the original_stddev specifies the standard deviation of the domain - * prior to normalization. - * - * Generated from protobuf field float original_stddev = 4; - */ - protected $original_stddev = 0.0; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type float $min_value - * The minimum permissible value for this feature. - * @type float $max_value - * The maximum permissible value for this feature. - * @type float $original_mean - * If this input feature has been normalized to a mean value of 0, - * the original_mean specifies the mean value of the domain prior to - * normalization. - * @type float $original_stddev - * If this input feature has been normalized to a standard deviation of - * 1.0, the original_stddev specifies the standard deviation of the domain - * prior to normalization. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Cloud\Aiplatform\V1\ExplanationMetadata::initOnce(); - parent::__construct($data); - } - - /** - * The minimum permissible value for this feature. - * - * Generated from protobuf field float min_value = 1; - * @return float - */ - public function getMinValue() - { - return $this->min_value; - } - - /** - * The minimum permissible value for this feature. - * - * Generated from protobuf field float min_value = 1; - * @param float $var - * @return $this - */ - public function setMinValue($var) - { - GPBUtil::checkFloat($var); - $this->min_value = $var; - - return $this; - } - - /** - * The maximum permissible value for this feature. - * - * Generated from protobuf field float max_value = 2; - * @return float - */ - public function getMaxValue() - { - return $this->max_value; - } - - /** - * The maximum permissible value for this feature. - * - * Generated from protobuf field float max_value = 2; - * @param float $var - * @return $this - */ - public function setMaxValue($var) - { - GPBUtil::checkFloat($var); - $this->max_value = $var; - - return $this; - } - - /** - * If this input feature has been normalized to a mean value of 0, - * the original_mean specifies the mean value of the domain prior to - * normalization. - * - * Generated from protobuf field float original_mean = 3; - * @return float - */ - public function getOriginalMean() - { - return $this->original_mean; - } - - /** - * If this input feature has been normalized to a mean value of 0, - * the original_mean specifies the mean value of the domain prior to - * normalization. - * - * Generated from protobuf field float original_mean = 3; - * @param float $var - * @return $this - */ - public function setOriginalMean($var) - { - GPBUtil::checkFloat($var); - $this->original_mean = $var; - - return $this; - } - - /** - * If this input feature has been normalized to a standard deviation of - * 1.0, the original_stddev specifies the standard deviation of the domain - * prior to normalization. - * - * Generated from protobuf field float original_stddev = 4; - * @return float - */ - public function getOriginalStddev() - { - return $this->original_stddev; - } - - /** - * If this input feature has been normalized to a standard deviation of - * 1.0, the original_stddev specifies the standard deviation of the domain - * prior to normalization. - * - * Generated from protobuf field float original_stddev = 4; - * @param float $var - * @return $this - */ - public function setOriginalStddev($var) - { - GPBUtil::checkFloat($var); - $this->original_stddev = $var; - - return $this; - } - -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(FeatureValueDomain::class, \Google\Cloud\AIPlatform\V1\ExplanationMetadata_InputMetadata_FeatureValueDomain::class); - diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ExplanationMetadata/InputMetadata/Visualization.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ExplanationMetadata/InputMetadata/Visualization.php deleted file mode 100644 index d64573ba6675..000000000000 --- a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ExplanationMetadata/InputMetadata/Visualization.php +++ /dev/null @@ -1,324 +0,0 @@ -google.cloud.aiplatform.v1.ExplanationMetadata.InputMetadata.Visualization - */ -class Visualization extends \Google\Protobuf\Internal\Message -{ - /** - * Type of the image visualization. Only applicable to - * [Integrated Gradients - * attribution][google.cloud.aiplatform.v1.ExplanationParameters.integrated_gradients_attribution]. - * OUTLINES shows regions of attribution, while PIXELS shows per-pixel - * attribution. Defaults to OUTLINES. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.ExplanationMetadata.InputMetadata.Visualization.Type type = 1; - */ - protected $type = 0; - /** - * Whether to only highlight pixels with positive contributions, negative - * or both. Defaults to POSITIVE. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.ExplanationMetadata.InputMetadata.Visualization.Polarity polarity = 2; - */ - protected $polarity = 0; - /** - * The color scheme used for the highlighted areas. - * Defaults to PINK_GREEN for - * [Integrated Gradients - * attribution][google.cloud.aiplatform.v1.ExplanationParameters.integrated_gradients_attribution], - * which shows positive attributions in green and negative in pink. - * Defaults to VIRIDIS for - * [XRAI - * attribution][google.cloud.aiplatform.v1.ExplanationParameters.xrai_attribution], - * which highlights the most influential regions in yellow and the least - * influential in blue. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.ExplanationMetadata.InputMetadata.Visualization.ColorMap color_map = 3; - */ - protected $color_map = 0; - /** - * Excludes attributions above the specified percentile from the - * highlighted areas. Using the clip_percent_upperbound and - * clip_percent_lowerbound together can be useful for filtering out noise - * and making it easier to see areas of strong attribution. Defaults to - * 99.9. - * - * Generated from protobuf field float clip_percent_upperbound = 4; - */ - protected $clip_percent_upperbound = 0.0; - /** - * Excludes attributions below the specified percentile, from the - * highlighted areas. Defaults to 62. - * - * Generated from protobuf field float clip_percent_lowerbound = 5; - */ - protected $clip_percent_lowerbound = 0.0; - /** - * How the original image is displayed in the visualization. - * Adjusting the overlay can help increase visual clarity if the original - * image makes it difficult to view the visualization. Defaults to NONE. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.ExplanationMetadata.InputMetadata.Visualization.OverlayType overlay_type = 6; - */ - protected $overlay_type = 0; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type int $type - * Type of the image visualization. Only applicable to - * [Integrated Gradients - * attribution][google.cloud.aiplatform.v1.ExplanationParameters.integrated_gradients_attribution]. - * OUTLINES shows regions of attribution, while PIXELS shows per-pixel - * attribution. Defaults to OUTLINES. - * @type int $polarity - * Whether to only highlight pixels with positive contributions, negative - * or both. Defaults to POSITIVE. - * @type int $color_map - * The color scheme used for the highlighted areas. - * Defaults to PINK_GREEN for - * [Integrated Gradients - * attribution][google.cloud.aiplatform.v1.ExplanationParameters.integrated_gradients_attribution], - * which shows positive attributions in green and negative in pink. - * Defaults to VIRIDIS for - * [XRAI - * attribution][google.cloud.aiplatform.v1.ExplanationParameters.xrai_attribution], - * which highlights the most influential regions in yellow and the least - * influential in blue. - * @type float $clip_percent_upperbound - * Excludes attributions above the specified percentile from the - * highlighted areas. Using the clip_percent_upperbound and - * clip_percent_lowerbound together can be useful for filtering out noise - * and making it easier to see areas of strong attribution. Defaults to - * 99.9. - * @type float $clip_percent_lowerbound - * Excludes attributions below the specified percentile, from the - * highlighted areas. Defaults to 62. - * @type int $overlay_type - * How the original image is displayed in the visualization. - * Adjusting the overlay can help increase visual clarity if the original - * image makes it difficult to view the visualization. Defaults to NONE. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Cloud\Aiplatform\V1\ExplanationMetadata::initOnce(); - parent::__construct($data); - } - - /** - * Type of the image visualization. Only applicable to - * [Integrated Gradients - * attribution][google.cloud.aiplatform.v1.ExplanationParameters.integrated_gradients_attribution]. - * OUTLINES shows regions of attribution, while PIXELS shows per-pixel - * attribution. Defaults to OUTLINES. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.ExplanationMetadata.InputMetadata.Visualization.Type type = 1; - * @return int - */ - public function getType() - { - return $this->type; - } - - /** - * Type of the image visualization. Only applicable to - * [Integrated Gradients - * attribution][google.cloud.aiplatform.v1.ExplanationParameters.integrated_gradients_attribution]. - * OUTLINES shows regions of attribution, while PIXELS shows per-pixel - * attribution. Defaults to OUTLINES. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.ExplanationMetadata.InputMetadata.Visualization.Type type = 1; - * @param int $var - * @return $this - */ - public function setType($var) - { - GPBUtil::checkEnum($var, \Google\Cloud\AIPlatform\V1\ExplanationMetadata\InputMetadata\Visualization\Type::class); - $this->type = $var; - - return $this; - } - - /** - * Whether to only highlight pixels with positive contributions, negative - * or both. Defaults to POSITIVE. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.ExplanationMetadata.InputMetadata.Visualization.Polarity polarity = 2; - * @return int - */ - public function getPolarity() - { - return $this->polarity; - } - - /** - * Whether to only highlight pixels with positive contributions, negative - * or both. Defaults to POSITIVE. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.ExplanationMetadata.InputMetadata.Visualization.Polarity polarity = 2; - * @param int $var - * @return $this - */ - public function setPolarity($var) - { - GPBUtil::checkEnum($var, \Google\Cloud\AIPlatform\V1\ExplanationMetadata\InputMetadata\Visualization\Polarity::class); - $this->polarity = $var; - - return $this; - } - - /** - * The color scheme used for the highlighted areas. - * Defaults to PINK_GREEN for - * [Integrated Gradients - * attribution][google.cloud.aiplatform.v1.ExplanationParameters.integrated_gradients_attribution], - * which shows positive attributions in green and negative in pink. - * Defaults to VIRIDIS for - * [XRAI - * attribution][google.cloud.aiplatform.v1.ExplanationParameters.xrai_attribution], - * which highlights the most influential regions in yellow and the least - * influential in blue. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.ExplanationMetadata.InputMetadata.Visualization.ColorMap color_map = 3; - * @return int - */ - public function getColorMap() - { - return $this->color_map; - } - - /** - * The color scheme used for the highlighted areas. - * Defaults to PINK_GREEN for - * [Integrated Gradients - * attribution][google.cloud.aiplatform.v1.ExplanationParameters.integrated_gradients_attribution], - * which shows positive attributions in green and negative in pink. - * Defaults to VIRIDIS for - * [XRAI - * attribution][google.cloud.aiplatform.v1.ExplanationParameters.xrai_attribution], - * which highlights the most influential regions in yellow and the least - * influential in blue. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.ExplanationMetadata.InputMetadata.Visualization.ColorMap color_map = 3; - * @param int $var - * @return $this - */ - public function setColorMap($var) - { - GPBUtil::checkEnum($var, \Google\Cloud\AIPlatform\V1\ExplanationMetadata\InputMetadata\Visualization\ColorMap::class); - $this->color_map = $var; - - return $this; - } - - /** - * Excludes attributions above the specified percentile from the - * highlighted areas. Using the clip_percent_upperbound and - * clip_percent_lowerbound together can be useful for filtering out noise - * and making it easier to see areas of strong attribution. Defaults to - * 99.9. - * - * Generated from protobuf field float clip_percent_upperbound = 4; - * @return float - */ - public function getClipPercentUpperbound() - { - return $this->clip_percent_upperbound; - } - - /** - * Excludes attributions above the specified percentile from the - * highlighted areas. Using the clip_percent_upperbound and - * clip_percent_lowerbound together can be useful for filtering out noise - * and making it easier to see areas of strong attribution. Defaults to - * 99.9. - * - * Generated from protobuf field float clip_percent_upperbound = 4; - * @param float $var - * @return $this - */ - public function setClipPercentUpperbound($var) - { - GPBUtil::checkFloat($var); - $this->clip_percent_upperbound = $var; - - return $this; - } - - /** - * Excludes attributions below the specified percentile, from the - * highlighted areas. Defaults to 62. - * - * Generated from protobuf field float clip_percent_lowerbound = 5; - * @return float - */ - public function getClipPercentLowerbound() - { - return $this->clip_percent_lowerbound; - } - - /** - * Excludes attributions below the specified percentile, from the - * highlighted areas. Defaults to 62. - * - * Generated from protobuf field float clip_percent_lowerbound = 5; - * @param float $var - * @return $this - */ - public function setClipPercentLowerbound($var) - { - GPBUtil::checkFloat($var); - $this->clip_percent_lowerbound = $var; - - return $this; - } - - /** - * How the original image is displayed in the visualization. - * Adjusting the overlay can help increase visual clarity if the original - * image makes it difficult to view the visualization. Defaults to NONE. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.ExplanationMetadata.InputMetadata.Visualization.OverlayType overlay_type = 6; - * @return int - */ - public function getOverlayType() - { - return $this->overlay_type; - } - - /** - * How the original image is displayed in the visualization. - * Adjusting the overlay can help increase visual clarity if the original - * image makes it difficult to view the visualization. Defaults to NONE. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.ExplanationMetadata.InputMetadata.Visualization.OverlayType overlay_type = 6; - * @param int $var - * @return $this - */ - public function setOverlayType($var) - { - GPBUtil::checkEnum($var, \Google\Cloud\AIPlatform\V1\ExplanationMetadata\InputMetadata\Visualization\OverlayType::class); - $this->overlay_type = $var; - - return $this; - } - -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(Visualization::class, \Google\Cloud\AIPlatform\V1\ExplanationMetadata_InputMetadata_Visualization::class); - diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ExplanationMetadata/InputMetadata/Visualization/ColorMap.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ExplanationMetadata/InputMetadata/Visualization/ColorMap.php deleted file mode 100644 index 913b6cf9b630..000000000000 --- a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ExplanationMetadata/InputMetadata/Visualization/ColorMap.php +++ /dev/null @@ -1,94 +0,0 @@ -google.cloud.aiplatform.v1.ExplanationMetadata.InputMetadata.Visualization.ColorMap - */ -class ColorMap -{ - /** - * Should not be used. - * - * Generated from protobuf enum COLOR_MAP_UNSPECIFIED = 0; - */ - const COLOR_MAP_UNSPECIFIED = 0; - /** - * Positive: green. Negative: pink. - * - * Generated from protobuf enum PINK_GREEN = 1; - */ - const PINK_GREEN = 1; - /** - * Viridis color map: A perceptually uniform color mapping which is - * easier to see by those with colorblindness and progresses from yellow - * to green to blue. Positive: yellow. Negative: blue. - * - * Generated from protobuf enum VIRIDIS = 2; - */ - const VIRIDIS = 2; - /** - * Positive: red. Negative: red. - * - * Generated from protobuf enum RED = 3; - */ - const RED = 3; - /** - * Positive: green. Negative: green. - * - * Generated from protobuf enum GREEN = 4; - */ - const GREEN = 4; - /** - * Positive: green. Negative: red. - * - * Generated from protobuf enum RED_GREEN = 6; - */ - const RED_GREEN = 6; - /** - * PiYG palette. - * - * Generated from protobuf enum PINK_WHITE_GREEN = 5; - */ - const PINK_WHITE_GREEN = 5; - - private static $valueToName = [ - self::COLOR_MAP_UNSPECIFIED => 'COLOR_MAP_UNSPECIFIED', - self::PINK_GREEN => 'PINK_GREEN', - self::VIRIDIS => 'VIRIDIS', - self::RED => 'RED', - self::GREEN => 'GREEN', - self::RED_GREEN => 'RED_GREEN', - self::PINK_WHITE_GREEN => 'PINK_WHITE_GREEN', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(ColorMap::class, \Google\Cloud\AIPlatform\V1\ExplanationMetadata_InputMetadata_Visualization_ColorMap::class); - diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ExplanationMetadata/InputMetadata/Visualization/OverlayType.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ExplanationMetadata/InputMetadata/Visualization/OverlayType.php deleted file mode 100644 index 3e01b829207e..000000000000 --- a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ExplanationMetadata/InputMetadata/Visualization/OverlayType.php +++ /dev/null @@ -1,80 +0,0 @@ -google.cloud.aiplatform.v1.ExplanationMetadata.InputMetadata.Visualization.OverlayType - */ -class OverlayType -{ - /** - * Default value. This is the same as NONE. - * - * Generated from protobuf enum OVERLAY_TYPE_UNSPECIFIED = 0; - */ - const OVERLAY_TYPE_UNSPECIFIED = 0; - /** - * No overlay. - * - * Generated from protobuf enum NONE = 1; - */ - const NONE = 1; - /** - * The attributions are shown on top of the original image. - * - * Generated from protobuf enum ORIGINAL = 2; - */ - const ORIGINAL = 2; - /** - * The attributions are shown on top of grayscaled version of the - * original image. - * - * Generated from protobuf enum GRAYSCALE = 3; - */ - const GRAYSCALE = 3; - /** - * The attributions are used as a mask to reveal predictive parts of - * the image and hide the un-predictive parts. - * - * Generated from protobuf enum MASK_BLACK = 4; - */ - const MASK_BLACK = 4; - - private static $valueToName = [ - self::OVERLAY_TYPE_UNSPECIFIED => 'OVERLAY_TYPE_UNSPECIFIED', - self::NONE => 'NONE', - self::ORIGINAL => 'ORIGINAL', - self::GRAYSCALE => 'GRAYSCALE', - self::MASK_BLACK => 'MASK_BLACK', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(OverlayType::class, \Google\Cloud\AIPlatform\V1\ExplanationMetadata_InputMetadata_Visualization_OverlayType::class); - diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ExplanationMetadata/InputMetadata/Visualization/Polarity.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ExplanationMetadata/InputMetadata/Visualization/Polarity.php deleted file mode 100644 index f4383506a80c..000000000000 --- a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ExplanationMetadata/InputMetadata/Visualization/Polarity.php +++ /dev/null @@ -1,74 +0,0 @@ -google.cloud.aiplatform.v1.ExplanationMetadata.InputMetadata.Visualization.Polarity - */ -class Polarity -{ - /** - * Default value. This is the same as POSITIVE. - * - * Generated from protobuf enum POLARITY_UNSPECIFIED = 0; - */ - const POLARITY_UNSPECIFIED = 0; - /** - * Highlights the pixels/outlines that were most influential to the - * model's prediction. - * - * Generated from protobuf enum POSITIVE = 1; - */ - const POSITIVE = 1; - /** - * Setting polarity to negative highlights areas that does not lead to - * the models's current prediction. - * - * Generated from protobuf enum NEGATIVE = 2; - */ - const NEGATIVE = 2; - /** - * Shows both positive and negative attributions. - * - * Generated from protobuf enum BOTH = 3; - */ - const BOTH = 3; - - private static $valueToName = [ - self::POLARITY_UNSPECIFIED => 'POLARITY_UNSPECIFIED', - self::POSITIVE => 'POSITIVE', - self::NEGATIVE => 'NEGATIVE', - self::BOTH => 'BOTH', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(Polarity::class, \Google\Cloud\AIPlatform\V1\ExplanationMetadata_InputMetadata_Visualization_Polarity::class); - diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ExplanationMetadata/InputMetadata/Visualization/Type.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ExplanationMetadata/InputMetadata/Visualization/Type.php deleted file mode 100644 index 6b932a0a4282..000000000000 --- a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ExplanationMetadata/InputMetadata/Visualization/Type.php +++ /dev/null @@ -1,67 +0,0 @@ -google.cloud.aiplatform.v1.ExplanationMetadata.InputMetadata.Visualization.Type - */ -class Type -{ - /** - * Should not be used. - * - * Generated from protobuf enum TYPE_UNSPECIFIED = 0; - */ - const TYPE_UNSPECIFIED = 0; - /** - * Shows which pixel contributed to the image prediction. - * - * Generated from protobuf enum PIXELS = 1; - */ - const PIXELS = 1; - /** - * Shows which region contributed to the image prediction by outlining - * the region. - * - * Generated from protobuf enum OUTLINES = 2; - */ - const OUTLINES = 2; - - private static $valueToName = [ - self::TYPE_UNSPECIFIED => 'TYPE_UNSPECIFIED', - self::PIXELS => 'PIXELS', - self::OUTLINES => 'OUTLINES', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(Type::class, \Google\Cloud\AIPlatform\V1\ExplanationMetadata_InputMetadata_Visualization_Type::class); - diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ExplanationMetadata/OutputMetadata.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ExplanationMetadata/OutputMetadata.php deleted file mode 100644 index d7c203c5f865..000000000000 --- a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ExplanationMetadata/OutputMetadata.php +++ /dev/null @@ -1,197 +0,0 @@ -google.cloud.aiplatform.v1.ExplanationMetadata.OutputMetadata - */ -class OutputMetadata extends \Google\Protobuf\Internal\Message -{ - /** - * Name of the output tensor. Required and is only applicable to Vertex - * AI provided images for Tensorflow. - * - * Generated from protobuf field string output_tensor_name = 3; - */ - protected $output_tensor_name = ''; - protected $display_name_mapping; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type \Google\Protobuf\Value $index_display_name_mapping - * Static mapping between the index and display name. - * Use this if the outputs are a deterministic n-dimensional array, e.g. a - * list of scores of all the classes in a pre-defined order for a - * multi-classification Model. It's not feasible if the outputs are - * non-deterministic, e.g. the Model produces top-k classes or sort the - * outputs by their values. - * The shape of the value must be an n-dimensional array of strings. The - * number of dimensions must match that of the outputs to be explained. - * The - * [Attribution.output_display_name][google.cloud.aiplatform.v1.Attribution.output_display_name] - * is populated by locating in the mapping with - * [Attribution.output_index][google.cloud.aiplatform.v1.Attribution.output_index]. - * @type string $display_name_mapping_key - * Specify a field name in the prediction to look for the display name. - * Use this if the prediction contains the display names for the outputs. - * The display names in the prediction must have the same shape of the - * outputs, so that it can be located by - * [Attribution.output_index][google.cloud.aiplatform.v1.Attribution.output_index] - * for a specific output. - * @type string $output_tensor_name - * Name of the output tensor. Required and is only applicable to Vertex - * AI provided images for Tensorflow. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Cloud\Aiplatform\V1\ExplanationMetadata::initOnce(); - parent::__construct($data); - } - - /** - * Static mapping between the index and display name. - * Use this if the outputs are a deterministic n-dimensional array, e.g. a - * list of scores of all the classes in a pre-defined order for a - * multi-classification Model. It's not feasible if the outputs are - * non-deterministic, e.g. the Model produces top-k classes or sort the - * outputs by their values. - * The shape of the value must be an n-dimensional array of strings. The - * number of dimensions must match that of the outputs to be explained. - * The - * [Attribution.output_display_name][google.cloud.aiplatform.v1.Attribution.output_display_name] - * is populated by locating in the mapping with - * [Attribution.output_index][google.cloud.aiplatform.v1.Attribution.output_index]. - * - * Generated from protobuf field .google.protobuf.Value index_display_name_mapping = 1; - * @return \Google\Protobuf\Value|null - */ - public function getIndexDisplayNameMapping() - { - return $this->readOneof(1); - } - - public function hasIndexDisplayNameMapping() - { - return $this->hasOneof(1); - } - - /** - * Static mapping between the index and display name. - * Use this if the outputs are a deterministic n-dimensional array, e.g. a - * list of scores of all the classes in a pre-defined order for a - * multi-classification Model. It's not feasible if the outputs are - * non-deterministic, e.g. the Model produces top-k classes or sort the - * outputs by their values. - * The shape of the value must be an n-dimensional array of strings. The - * number of dimensions must match that of the outputs to be explained. - * The - * [Attribution.output_display_name][google.cloud.aiplatform.v1.Attribution.output_display_name] - * is populated by locating in the mapping with - * [Attribution.output_index][google.cloud.aiplatform.v1.Attribution.output_index]. - * - * Generated from protobuf field .google.protobuf.Value index_display_name_mapping = 1; - * @param \Google\Protobuf\Value $var - * @return $this - */ - public function setIndexDisplayNameMapping($var) - { - GPBUtil::checkMessage($var, \Google\Protobuf\Value::class); - $this->writeOneof(1, $var); - - return $this; - } - - /** - * Specify a field name in the prediction to look for the display name. - * Use this if the prediction contains the display names for the outputs. - * The display names in the prediction must have the same shape of the - * outputs, so that it can be located by - * [Attribution.output_index][google.cloud.aiplatform.v1.Attribution.output_index] - * for a specific output. - * - * Generated from protobuf field string display_name_mapping_key = 2; - * @return string - */ - public function getDisplayNameMappingKey() - { - return $this->readOneof(2); - } - - public function hasDisplayNameMappingKey() - { - return $this->hasOneof(2); - } - - /** - * Specify a field name in the prediction to look for the display name. - * Use this if the prediction contains the display names for the outputs. - * The display names in the prediction must have the same shape of the - * outputs, so that it can be located by - * [Attribution.output_index][google.cloud.aiplatform.v1.Attribution.output_index] - * for a specific output. - * - * Generated from protobuf field string display_name_mapping_key = 2; - * @param string $var - * @return $this - */ - public function setDisplayNameMappingKey($var) - { - GPBUtil::checkString($var, True); - $this->writeOneof(2, $var); - - return $this; - } - - /** - * Name of the output tensor. Required and is only applicable to Vertex - * AI provided images for Tensorflow. - * - * Generated from protobuf field string output_tensor_name = 3; - * @return string - */ - public function getOutputTensorName() - { - return $this->output_tensor_name; - } - - /** - * Name of the output tensor. Required and is only applicable to Vertex - * AI provided images for Tensorflow. - * - * Generated from protobuf field string output_tensor_name = 3; - * @param string $var - * @return $this - */ - public function setOutputTensorName($var) - { - GPBUtil::checkString($var, True); - $this->output_tensor_name = $var; - - return $this; - } - - /** - * @return string - */ - public function getDisplayNameMapping() - { - return $this->whichOneof("display_name_mapping"); - } - -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(OutputMetadata::class, \Google\Cloud\AIPlatform\V1\ExplanationMetadata_OutputMetadata::class); - diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ExplanationMetadataOverride.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ExplanationMetadataOverride.php deleted file mode 100644 index 3529db4dc1c2..000000000000 --- a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ExplanationMetadataOverride.php +++ /dev/null @@ -1,89 +0,0 @@ -google.cloud.aiplatform.v1.ExplanationMetadataOverride - */ -class ExplanationMetadataOverride extends \Google\Protobuf\Internal\Message -{ - /** - * Required. Overrides the [input - * metadata][google.cloud.aiplatform.v1.ExplanationMetadata.inputs] of the - * features. The key is the name of the feature to be overridden. The keys - * specified here must exist in the input metadata to be overridden. If a - * feature is not specified here, the corresponding feature's input metadata - * is not overridden. - * - * Generated from protobuf field map inputs = 1 [(.google.api.field_behavior) = REQUIRED]; - */ - private $inputs; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type array|\Google\Protobuf\Internal\MapField $inputs - * Required. Overrides the [input - * metadata][google.cloud.aiplatform.v1.ExplanationMetadata.inputs] of the - * features. The key is the name of the feature to be overridden. The keys - * specified here must exist in the input metadata to be overridden. If a - * feature is not specified here, the corresponding feature's input metadata - * is not overridden. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Cloud\Aiplatform\V1\Explanation::initOnce(); - parent::__construct($data); - } - - /** - * Required. Overrides the [input - * metadata][google.cloud.aiplatform.v1.ExplanationMetadata.inputs] of the - * features. The key is the name of the feature to be overridden. The keys - * specified here must exist in the input metadata to be overridden. If a - * feature is not specified here, the corresponding feature's input metadata - * is not overridden. - * - * Generated from protobuf field map inputs = 1 [(.google.api.field_behavior) = REQUIRED]; - * @return \Google\Protobuf\Internal\MapField - */ - public function getInputs() - { - return $this->inputs; - } - - /** - * Required. Overrides the [input - * metadata][google.cloud.aiplatform.v1.ExplanationMetadata.inputs] of the - * features. The key is the name of the feature to be overridden. The keys - * specified here must exist in the input metadata to be overridden. If a - * feature is not specified here, the corresponding feature's input metadata - * is not overridden. - * - * Generated from protobuf field map inputs = 1 [(.google.api.field_behavior) = REQUIRED]; - * @param array|\Google\Protobuf\Internal\MapField $var - * @return $this - */ - public function setInputs($var) - { - $arr = GPBUtil::checkMapField($var, \Google\Protobuf\Internal\GPBType::STRING, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\AIPlatform\V1\ExplanationMetadataOverride\InputMetadataOverride::class); - $this->inputs = $arr; - - return $this; - } - -} - diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ExplanationMetadataOverride/InputMetadataOverride.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ExplanationMetadataOverride/InputMetadataOverride.php deleted file mode 100644 index eda3137a2e75..000000000000 --- a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ExplanationMetadataOverride/InputMetadataOverride.php +++ /dev/null @@ -1,88 +0,0 @@ -google.cloud.aiplatform.v1.ExplanationMetadataOverride.InputMetadataOverride - */ -class InputMetadataOverride extends \Google\Protobuf\Internal\Message -{ - /** - * Baseline inputs for this feature. - * This overrides the `input_baseline` field of the - * [ExplanationMetadata.InputMetadata][google.cloud.aiplatform.v1.ExplanationMetadata.InputMetadata] - * object of the corresponding feature's input metadata. If it's not - * specified, the original baselines are not overridden. - * - * Generated from protobuf field repeated .google.protobuf.Value input_baselines = 1; - */ - private $input_baselines; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type array<\Google\Protobuf\Value>|\Google\Protobuf\Internal\RepeatedField $input_baselines - * Baseline inputs for this feature. - * This overrides the `input_baseline` field of the - * [ExplanationMetadata.InputMetadata][google.cloud.aiplatform.v1.ExplanationMetadata.InputMetadata] - * object of the corresponding feature's input metadata. If it's not - * specified, the original baselines are not overridden. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Cloud\Aiplatform\V1\Explanation::initOnce(); - parent::__construct($data); - } - - /** - * Baseline inputs for this feature. - * This overrides the `input_baseline` field of the - * [ExplanationMetadata.InputMetadata][google.cloud.aiplatform.v1.ExplanationMetadata.InputMetadata] - * object of the corresponding feature's input metadata. If it's not - * specified, the original baselines are not overridden. - * - * Generated from protobuf field repeated .google.protobuf.Value input_baselines = 1; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getInputBaselines() - { - return $this->input_baselines; - } - - /** - * Baseline inputs for this feature. - * This overrides the `input_baseline` field of the - * [ExplanationMetadata.InputMetadata][google.cloud.aiplatform.v1.ExplanationMetadata.InputMetadata] - * object of the corresponding feature's input metadata. If it's not - * specified, the original baselines are not overridden. - * - * Generated from protobuf field repeated .google.protobuf.Value input_baselines = 1; - * @param array<\Google\Protobuf\Value>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setInputBaselines($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Protobuf\Value::class); - $this->input_baselines = $arr; - - return $this; - } - -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(InputMetadataOverride::class, \Google\Cloud\AIPlatform\V1\ExplanationMetadataOverride_InputMetadataOverride::class); - diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ExplanationParameters.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ExplanationParameters.php deleted file mode 100644 index c134d7f06b87..000000000000 --- a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ExplanationParameters.php +++ /dev/null @@ -1,339 +0,0 @@ -google.cloud.aiplatform.v1.ExplanationParameters - */ -class ExplanationParameters extends \Google\Protobuf\Internal\Message -{ - /** - * If populated, returns attributions for top K indices of outputs - * (defaults to 1). Only applies to Models that predicts more than one outputs - * (e,g, multi-class Models). When set to -1, returns explanations for all - * outputs. - * - * Generated from protobuf field int32 top_k = 4; - */ - protected $top_k = 0; - /** - * If populated, only returns attributions that have - * [output_index][google.cloud.aiplatform.v1.Attribution.output_index] - * contained in output_indices. It must be an ndarray of integers, with the - * same shape of the output it's explaining. - * If not populated, returns attributions for - * [top_k][google.cloud.aiplatform.v1.ExplanationParameters.top_k] indices of - * outputs. If neither top_k nor output_indices is populated, returns the - * argmax index of the outputs. - * Only applicable to Models that predict multiple outputs (e,g, multi-class - * Models that predict multiple classes). - * - * Generated from protobuf field .google.protobuf.ListValue output_indices = 5; - */ - protected $output_indices = null; - protected $method; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type \Google\Cloud\AIPlatform\V1\SampledShapleyAttribution $sampled_shapley_attribution - * An attribution method that approximates Shapley values for features that - * contribute to the label being predicted. A sampling strategy is used to - * approximate the value rather than considering all subsets of features. - * Refer to this paper for model details: https://arxiv.org/abs/1306.4265. - * @type \Google\Cloud\AIPlatform\V1\IntegratedGradientsAttribution $integrated_gradients_attribution - * An attribution method that computes Aumann-Shapley values taking - * advantage of the model's fully differentiable structure. Refer to this - * paper for more details: https://arxiv.org/abs/1703.01365 - * @type \Google\Cloud\AIPlatform\V1\XraiAttribution $xrai_attribution - * An attribution method that redistributes Integrated Gradients - * attribution to segmented regions, taking advantage of the model's fully - * differentiable structure. Refer to this paper for - * more details: https://arxiv.org/abs/1906.02825 - * XRAI currently performs better on natural images, like a picture of a - * house or an animal. If the images are taken in artificial environments, - * like a lab or manufacturing line, or from diagnostic equipment, like - * x-rays or quality-control cameras, use Integrated Gradients instead. - * @type \Google\Cloud\AIPlatform\V1\Examples $examples - * Example-based explanations that returns the nearest neighbors from the - * provided dataset. - * @type int $top_k - * If populated, returns attributions for top K indices of outputs - * (defaults to 1). Only applies to Models that predicts more than one outputs - * (e,g, multi-class Models). When set to -1, returns explanations for all - * outputs. - * @type \Google\Protobuf\ListValue $output_indices - * If populated, only returns attributions that have - * [output_index][google.cloud.aiplatform.v1.Attribution.output_index] - * contained in output_indices. It must be an ndarray of integers, with the - * same shape of the output it's explaining. - * If not populated, returns attributions for - * [top_k][google.cloud.aiplatform.v1.ExplanationParameters.top_k] indices of - * outputs. If neither top_k nor output_indices is populated, returns the - * argmax index of the outputs. - * Only applicable to Models that predict multiple outputs (e,g, multi-class - * Models that predict multiple classes). - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Cloud\Aiplatform\V1\Explanation::initOnce(); - parent::__construct($data); - } - - /** - * An attribution method that approximates Shapley values for features that - * contribute to the label being predicted. A sampling strategy is used to - * approximate the value rather than considering all subsets of features. - * Refer to this paper for model details: https://arxiv.org/abs/1306.4265. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.SampledShapleyAttribution sampled_shapley_attribution = 1; - * @return \Google\Cloud\AIPlatform\V1\SampledShapleyAttribution|null - */ - public function getSampledShapleyAttribution() - { - return $this->readOneof(1); - } - - public function hasSampledShapleyAttribution() - { - return $this->hasOneof(1); - } - - /** - * An attribution method that approximates Shapley values for features that - * contribute to the label being predicted. A sampling strategy is used to - * approximate the value rather than considering all subsets of features. - * Refer to this paper for model details: https://arxiv.org/abs/1306.4265. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.SampledShapleyAttribution sampled_shapley_attribution = 1; - * @param \Google\Cloud\AIPlatform\V1\SampledShapleyAttribution $var - * @return $this - */ - public function setSampledShapleyAttribution($var) - { - GPBUtil::checkMessage($var, \Google\Cloud\AIPlatform\V1\SampledShapleyAttribution::class); - $this->writeOneof(1, $var); - - return $this; - } - - /** - * An attribution method that computes Aumann-Shapley values taking - * advantage of the model's fully differentiable structure. Refer to this - * paper for more details: https://arxiv.org/abs/1703.01365 - * - * Generated from protobuf field .google.cloud.aiplatform.v1.IntegratedGradientsAttribution integrated_gradients_attribution = 2; - * @return \Google\Cloud\AIPlatform\V1\IntegratedGradientsAttribution|null - */ - public function getIntegratedGradientsAttribution() - { - return $this->readOneof(2); - } - - public function hasIntegratedGradientsAttribution() - { - return $this->hasOneof(2); - } - - /** - * An attribution method that computes Aumann-Shapley values taking - * advantage of the model's fully differentiable structure. Refer to this - * paper for more details: https://arxiv.org/abs/1703.01365 - * - * Generated from protobuf field .google.cloud.aiplatform.v1.IntegratedGradientsAttribution integrated_gradients_attribution = 2; - * @param \Google\Cloud\AIPlatform\V1\IntegratedGradientsAttribution $var - * @return $this - */ - public function setIntegratedGradientsAttribution($var) - { - GPBUtil::checkMessage($var, \Google\Cloud\AIPlatform\V1\IntegratedGradientsAttribution::class); - $this->writeOneof(2, $var); - - return $this; - } - - /** - * An attribution method that redistributes Integrated Gradients - * attribution to segmented regions, taking advantage of the model's fully - * differentiable structure. Refer to this paper for - * more details: https://arxiv.org/abs/1906.02825 - * XRAI currently performs better on natural images, like a picture of a - * house or an animal. If the images are taken in artificial environments, - * like a lab or manufacturing line, or from diagnostic equipment, like - * x-rays or quality-control cameras, use Integrated Gradients instead. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.XraiAttribution xrai_attribution = 3; - * @return \Google\Cloud\AIPlatform\V1\XraiAttribution|null - */ - public function getXraiAttribution() - { - return $this->readOneof(3); - } - - public function hasXraiAttribution() - { - return $this->hasOneof(3); - } - - /** - * An attribution method that redistributes Integrated Gradients - * attribution to segmented regions, taking advantage of the model's fully - * differentiable structure. Refer to this paper for - * more details: https://arxiv.org/abs/1906.02825 - * XRAI currently performs better on natural images, like a picture of a - * house or an animal. If the images are taken in artificial environments, - * like a lab or manufacturing line, or from diagnostic equipment, like - * x-rays or quality-control cameras, use Integrated Gradients instead. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.XraiAttribution xrai_attribution = 3; - * @param \Google\Cloud\AIPlatform\V1\XraiAttribution $var - * @return $this - */ - public function setXraiAttribution($var) - { - GPBUtil::checkMessage($var, \Google\Cloud\AIPlatform\V1\XraiAttribution::class); - $this->writeOneof(3, $var); - - return $this; - } - - /** - * Example-based explanations that returns the nearest neighbors from the - * provided dataset. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.Examples examples = 7; - * @return \Google\Cloud\AIPlatform\V1\Examples|null - */ - public function getExamples() - { - return $this->readOneof(7); - } - - public function hasExamples() - { - return $this->hasOneof(7); - } - - /** - * Example-based explanations that returns the nearest neighbors from the - * provided dataset. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.Examples examples = 7; - * @param \Google\Cloud\AIPlatform\V1\Examples $var - * @return $this - */ - public function setExamples($var) - { - GPBUtil::checkMessage($var, \Google\Cloud\AIPlatform\V1\Examples::class); - $this->writeOneof(7, $var); - - return $this; - } - - /** - * If populated, returns attributions for top K indices of outputs - * (defaults to 1). Only applies to Models that predicts more than one outputs - * (e,g, multi-class Models). When set to -1, returns explanations for all - * outputs. - * - * Generated from protobuf field int32 top_k = 4; - * @return int - */ - public function getTopK() - { - return $this->top_k; - } - - /** - * If populated, returns attributions for top K indices of outputs - * (defaults to 1). Only applies to Models that predicts more than one outputs - * (e,g, multi-class Models). When set to -1, returns explanations for all - * outputs. - * - * Generated from protobuf field int32 top_k = 4; - * @param int $var - * @return $this - */ - public function setTopK($var) - { - GPBUtil::checkInt32($var); - $this->top_k = $var; - - return $this; - } - - /** - * If populated, only returns attributions that have - * [output_index][google.cloud.aiplatform.v1.Attribution.output_index] - * contained in output_indices. It must be an ndarray of integers, with the - * same shape of the output it's explaining. - * If not populated, returns attributions for - * [top_k][google.cloud.aiplatform.v1.ExplanationParameters.top_k] indices of - * outputs. If neither top_k nor output_indices is populated, returns the - * argmax index of the outputs. - * Only applicable to Models that predict multiple outputs (e,g, multi-class - * Models that predict multiple classes). - * - * Generated from protobuf field .google.protobuf.ListValue output_indices = 5; - * @return \Google\Protobuf\ListValue|null - */ - public function getOutputIndices() - { - return $this->output_indices; - } - - public function hasOutputIndices() - { - return isset($this->output_indices); - } - - public function clearOutputIndices() - { - unset($this->output_indices); - } - - /** - * If populated, only returns attributions that have - * [output_index][google.cloud.aiplatform.v1.Attribution.output_index] - * contained in output_indices. It must be an ndarray of integers, with the - * same shape of the output it's explaining. - * If not populated, returns attributions for - * [top_k][google.cloud.aiplatform.v1.ExplanationParameters.top_k] indices of - * outputs. If neither top_k nor output_indices is populated, returns the - * argmax index of the outputs. - * Only applicable to Models that predict multiple outputs (e,g, multi-class - * Models that predict multiple classes). - * - * Generated from protobuf field .google.protobuf.ListValue output_indices = 5; - * @param \Google\Protobuf\ListValue $var - * @return $this - */ - public function setOutputIndices($var) - { - GPBUtil::checkMessage($var, \Google\Protobuf\ListValue::class); - $this->output_indices = $var; - - return $this; - } - - /** - * @return string - */ - public function getMethod() - { - return $this->whichOneof("method"); - } - -} - diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ExplanationSpec.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ExplanationSpec.php deleted file mode 100644 index d3a7c34016a6..000000000000 --- a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ExplanationSpec.php +++ /dev/null @@ -1,121 +0,0 @@ -google.cloud.aiplatform.v1.ExplanationSpec - */ -class ExplanationSpec extends \Google\Protobuf\Internal\Message -{ - /** - * Required. Parameters that configure explaining of the Model's predictions. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.ExplanationParameters parameters = 1 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $parameters = null; - /** - * Optional. Metadata describing the Model's input and output for explanation. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.ExplanationMetadata metadata = 2 [(.google.api.field_behavior) = OPTIONAL]; - */ - protected $metadata = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type \Google\Cloud\AIPlatform\V1\ExplanationParameters $parameters - * Required. Parameters that configure explaining of the Model's predictions. - * @type \Google\Cloud\AIPlatform\V1\ExplanationMetadata $metadata - * Optional. Metadata describing the Model's input and output for explanation. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Cloud\Aiplatform\V1\Explanation::initOnce(); - parent::__construct($data); - } - - /** - * Required. Parameters that configure explaining of the Model's predictions. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.ExplanationParameters parameters = 1 [(.google.api.field_behavior) = REQUIRED]; - * @return \Google\Cloud\AIPlatform\V1\ExplanationParameters|null - */ - public function getParameters() - { - return $this->parameters; - } - - public function hasParameters() - { - return isset($this->parameters); - } - - public function clearParameters() - { - unset($this->parameters); - } - - /** - * Required. Parameters that configure explaining of the Model's predictions. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.ExplanationParameters parameters = 1 [(.google.api.field_behavior) = REQUIRED]; - * @param \Google\Cloud\AIPlatform\V1\ExplanationParameters $var - * @return $this - */ - public function setParameters($var) - { - GPBUtil::checkMessage($var, \Google\Cloud\AIPlatform\V1\ExplanationParameters::class); - $this->parameters = $var; - - return $this; - } - - /** - * Optional. Metadata describing the Model's input and output for explanation. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.ExplanationMetadata metadata = 2 [(.google.api.field_behavior) = OPTIONAL]; - * @return \Google\Cloud\AIPlatform\V1\ExplanationMetadata|null - */ - public function getMetadata() - { - return $this->metadata; - } - - public function hasMetadata() - { - return isset($this->metadata); - } - - public function clearMetadata() - { - unset($this->metadata); - } - - /** - * Optional. Metadata describing the Model's input and output for explanation. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.ExplanationMetadata metadata = 2 [(.google.api.field_behavior) = OPTIONAL]; - * @param \Google\Cloud\AIPlatform\V1\ExplanationMetadata $var - * @return $this - */ - public function setMetadata($var) - { - GPBUtil::checkMessage($var, \Google\Cloud\AIPlatform\V1\ExplanationMetadata::class); - $this->metadata = $var; - - return $this; - } - -} - diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ExplanationSpecOverride.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ExplanationSpecOverride.php deleted file mode 100644 index 92a3b9487912..000000000000 --- a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ExplanationSpecOverride.php +++ /dev/null @@ -1,175 +0,0 @@ -google.cloud.aiplatform.v1.ExplanationSpecOverride - */ -class ExplanationSpecOverride extends \Google\Protobuf\Internal\Message -{ - /** - * The parameters to be overridden. Note that the - * attribution method cannot be changed. If not specified, - * no parameter is overridden. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.ExplanationParameters parameters = 1; - */ - protected $parameters = null; - /** - * The metadata to be overridden. If not specified, no metadata is overridden. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.ExplanationMetadataOverride metadata = 2; - */ - protected $metadata = null; - /** - * The example-based explanations parameter overrides. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.ExamplesOverride examples_override = 3; - */ - protected $examples_override = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type \Google\Cloud\AIPlatform\V1\ExplanationParameters $parameters - * The parameters to be overridden. Note that the - * attribution method cannot be changed. If not specified, - * no parameter is overridden. - * @type \Google\Cloud\AIPlatform\V1\ExplanationMetadataOverride $metadata - * The metadata to be overridden. If not specified, no metadata is overridden. - * @type \Google\Cloud\AIPlatform\V1\ExamplesOverride $examples_override - * The example-based explanations parameter overrides. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Cloud\Aiplatform\V1\Explanation::initOnce(); - parent::__construct($data); - } - - /** - * The parameters to be overridden. Note that the - * attribution method cannot be changed. If not specified, - * no parameter is overridden. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.ExplanationParameters parameters = 1; - * @return \Google\Cloud\AIPlatform\V1\ExplanationParameters|null - */ - public function getParameters() - { - return $this->parameters; - } - - public function hasParameters() - { - return isset($this->parameters); - } - - public function clearParameters() - { - unset($this->parameters); - } - - /** - * The parameters to be overridden. Note that the - * attribution method cannot be changed. If not specified, - * no parameter is overridden. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.ExplanationParameters parameters = 1; - * @param \Google\Cloud\AIPlatform\V1\ExplanationParameters $var - * @return $this - */ - public function setParameters($var) - { - GPBUtil::checkMessage($var, \Google\Cloud\AIPlatform\V1\ExplanationParameters::class); - $this->parameters = $var; - - return $this; - } - - /** - * The metadata to be overridden. If not specified, no metadata is overridden. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.ExplanationMetadataOverride metadata = 2; - * @return \Google\Cloud\AIPlatform\V1\ExplanationMetadataOverride|null - */ - public function getMetadata() - { - return $this->metadata; - } - - public function hasMetadata() - { - return isset($this->metadata); - } - - public function clearMetadata() - { - unset($this->metadata); - } - - /** - * The metadata to be overridden. If not specified, no metadata is overridden. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.ExplanationMetadataOverride metadata = 2; - * @param \Google\Cloud\AIPlatform\V1\ExplanationMetadataOverride $var - * @return $this - */ - public function setMetadata($var) - { - GPBUtil::checkMessage($var, \Google\Cloud\AIPlatform\V1\ExplanationMetadataOverride::class); - $this->metadata = $var; - - return $this; - } - - /** - * The example-based explanations parameter overrides. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.ExamplesOverride examples_override = 3; - * @return \Google\Cloud\AIPlatform\V1\ExamplesOverride|null - */ - public function getExamplesOverride() - { - return $this->examples_override; - } - - public function hasExamplesOverride() - { - return isset($this->examples_override); - } - - public function clearExamplesOverride() - { - unset($this->examples_override); - } - - /** - * The example-based explanations parameter overrides. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.ExamplesOverride examples_override = 3; - * @param \Google\Cloud\AIPlatform\V1\ExamplesOverride $var - * @return $this - */ - public function setExamplesOverride($var) - { - GPBUtil::checkMessage($var, \Google\Cloud\AIPlatform\V1\ExamplesOverride::class); - $this->examples_override = $var; - - return $this; - } - -} - diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ExportDataConfig.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ExportDataConfig.php deleted file mode 100644 index 77a162111eb5..000000000000 --- a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ExportDataConfig.php +++ /dev/null @@ -1,455 +0,0 @@ -google.cloud.aiplatform.v1.ExportDataConfig - */ -class ExportDataConfig extends \Google\Protobuf\Internal\Message -{ - /** - * An expression for filtering what part of the Dataset is to be exported. - * Only Annotations that match this filter will be exported. The filter syntax - * is the same as in - * [ListAnnotations][google.cloud.aiplatform.v1.DatasetService.ListAnnotations]. - * - * Generated from protobuf field string annotations_filter = 2; - */ - protected $annotations_filter = ''; - /** - * The ID of a SavedQuery (annotation set) under the Dataset specified by - * [dataset_id][] used for filtering Annotations for training. - * Only used for custom training data export use cases. - * Only applicable to Datasets that have SavedQueries. - * Only Annotations that are associated with this SavedQuery are used in - * respectively training. When used in conjunction with - * [annotations_filter][google.cloud.aiplatform.v1.ExportDataConfig.annotations_filter], - * the Annotations used for training are filtered by both - * [saved_query_id][google.cloud.aiplatform.v1.ExportDataConfig.saved_query_id] - * and - * [annotations_filter][google.cloud.aiplatform.v1.ExportDataConfig.annotations_filter]. - * Only one of - * [saved_query_id][google.cloud.aiplatform.v1.ExportDataConfig.saved_query_id] - * and - * [annotation_schema_uri][google.cloud.aiplatform.v1.ExportDataConfig.annotation_schema_uri] - * should be specified as both of them represent the same thing: problem type. - * - * Generated from protobuf field string saved_query_id = 11; - */ - protected $saved_query_id = ''; - /** - * The Cloud Storage URI that points to a YAML file describing the annotation - * schema. The schema is defined as an OpenAPI 3.0.2 [Schema - * Object](https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.0.2.md#schemaObject). - * The schema files that can be used here are found in - * gs://google-cloud-aiplatform/schema/dataset/annotation/, note that the - * chosen schema must be consistent with - * [metadata][google.cloud.aiplatform.v1.Dataset.metadata_schema_uri] of the - * Dataset specified by [dataset_id][]. - * Only used for custom training data export use cases. - * Only applicable to Datasets that have DataItems and Annotations. - * Only Annotations that both match this schema and belong to DataItems not - * ignored by the split method are used in respectively training, validation - * or test role, depending on the role of the DataItem they are on. - * When used in conjunction with - * [annotations_filter][google.cloud.aiplatform.v1.ExportDataConfig.annotations_filter], - * the Annotations used for training are filtered by both - * [annotations_filter][google.cloud.aiplatform.v1.ExportDataConfig.annotations_filter] - * and - * [annotation_schema_uri][google.cloud.aiplatform.v1.ExportDataConfig.annotation_schema_uri]. - * - * Generated from protobuf field string annotation_schema_uri = 12; - */ - protected $annotation_schema_uri = ''; - /** - * Indicates the usage of the exported files. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.ExportDataConfig.ExportUse export_use = 4; - */ - protected $export_use = 0; - protected $destination; - protected $split; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type \Google\Cloud\AIPlatform\V1\GcsDestination $gcs_destination - * The Google Cloud Storage location where the output is to be written to. - * In the given directory a new directory will be created with name: - * `export-data--` where - * timestamp is in YYYY-MM-DDThh:mm:ss.sssZ ISO-8601 format. All export - * output will be written into that directory. Inside that directory, - * annotations with the same schema will be grouped into sub directories - * which are named with the corresponding annotations' schema title. Inside - * these sub directories, a schema.yaml will be created to describe the - * output format. - * @type \Google\Cloud\AIPlatform\V1\ExportFractionSplit $fraction_split - * Split based on fractions defining the size of each set. - * @type \Google\Cloud\AIPlatform\V1\ExportFilterSplit $filter_split - * Split based on the provided filters for each set. - * @type string $annotations_filter - * An expression for filtering what part of the Dataset is to be exported. - * Only Annotations that match this filter will be exported. The filter syntax - * is the same as in - * [ListAnnotations][google.cloud.aiplatform.v1.DatasetService.ListAnnotations]. - * @type string $saved_query_id - * The ID of a SavedQuery (annotation set) under the Dataset specified by - * [dataset_id][] used for filtering Annotations for training. - * Only used for custom training data export use cases. - * Only applicable to Datasets that have SavedQueries. - * Only Annotations that are associated with this SavedQuery are used in - * respectively training. When used in conjunction with - * [annotations_filter][google.cloud.aiplatform.v1.ExportDataConfig.annotations_filter], - * the Annotations used for training are filtered by both - * [saved_query_id][google.cloud.aiplatform.v1.ExportDataConfig.saved_query_id] - * and - * [annotations_filter][google.cloud.aiplatform.v1.ExportDataConfig.annotations_filter]. - * Only one of - * [saved_query_id][google.cloud.aiplatform.v1.ExportDataConfig.saved_query_id] - * and - * [annotation_schema_uri][google.cloud.aiplatform.v1.ExportDataConfig.annotation_schema_uri] - * should be specified as both of them represent the same thing: problem type. - * @type string $annotation_schema_uri - * The Cloud Storage URI that points to a YAML file describing the annotation - * schema. The schema is defined as an OpenAPI 3.0.2 [Schema - * Object](https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.0.2.md#schemaObject). - * The schema files that can be used here are found in - * gs://google-cloud-aiplatform/schema/dataset/annotation/, note that the - * chosen schema must be consistent with - * [metadata][google.cloud.aiplatform.v1.Dataset.metadata_schema_uri] of the - * Dataset specified by [dataset_id][]. - * Only used for custom training data export use cases. - * Only applicable to Datasets that have DataItems and Annotations. - * Only Annotations that both match this schema and belong to DataItems not - * ignored by the split method are used in respectively training, validation - * or test role, depending on the role of the DataItem they are on. - * When used in conjunction with - * [annotations_filter][google.cloud.aiplatform.v1.ExportDataConfig.annotations_filter], - * the Annotations used for training are filtered by both - * [annotations_filter][google.cloud.aiplatform.v1.ExportDataConfig.annotations_filter] - * and - * [annotation_schema_uri][google.cloud.aiplatform.v1.ExportDataConfig.annotation_schema_uri]. - * @type int $export_use - * Indicates the usage of the exported files. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Cloud\Aiplatform\V1\Dataset::initOnce(); - parent::__construct($data); - } - - /** - * The Google Cloud Storage location where the output is to be written to. - * In the given directory a new directory will be created with name: - * `export-data--` where - * timestamp is in YYYY-MM-DDThh:mm:ss.sssZ ISO-8601 format. All export - * output will be written into that directory. Inside that directory, - * annotations with the same schema will be grouped into sub directories - * which are named with the corresponding annotations' schema title. Inside - * these sub directories, a schema.yaml will be created to describe the - * output format. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.GcsDestination gcs_destination = 1; - * @return \Google\Cloud\AIPlatform\V1\GcsDestination|null - */ - public function getGcsDestination() - { - return $this->readOneof(1); - } - - public function hasGcsDestination() - { - return $this->hasOneof(1); - } - - /** - * The Google Cloud Storage location where the output is to be written to. - * In the given directory a new directory will be created with name: - * `export-data--` where - * timestamp is in YYYY-MM-DDThh:mm:ss.sssZ ISO-8601 format. All export - * output will be written into that directory. Inside that directory, - * annotations with the same schema will be grouped into sub directories - * which are named with the corresponding annotations' schema title. Inside - * these sub directories, a schema.yaml will be created to describe the - * output format. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.GcsDestination gcs_destination = 1; - * @param \Google\Cloud\AIPlatform\V1\GcsDestination $var - * @return $this - */ - public function setGcsDestination($var) - { - GPBUtil::checkMessage($var, \Google\Cloud\AIPlatform\V1\GcsDestination::class); - $this->writeOneof(1, $var); - - return $this; - } - - /** - * Split based on fractions defining the size of each set. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.ExportFractionSplit fraction_split = 5; - * @return \Google\Cloud\AIPlatform\V1\ExportFractionSplit|null - */ - public function getFractionSplit() - { - return $this->readOneof(5); - } - - public function hasFractionSplit() - { - return $this->hasOneof(5); - } - - /** - * Split based on fractions defining the size of each set. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.ExportFractionSplit fraction_split = 5; - * @param \Google\Cloud\AIPlatform\V1\ExportFractionSplit $var - * @return $this - */ - public function setFractionSplit($var) - { - GPBUtil::checkMessage($var, \Google\Cloud\AIPlatform\V1\ExportFractionSplit::class); - $this->writeOneof(5, $var); - - return $this; - } - - /** - * Split based on the provided filters for each set. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.ExportFilterSplit filter_split = 7; - * @return \Google\Cloud\AIPlatform\V1\ExportFilterSplit|null - */ - public function getFilterSplit() - { - return $this->readOneof(7); - } - - public function hasFilterSplit() - { - return $this->hasOneof(7); - } - - /** - * Split based on the provided filters for each set. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.ExportFilterSplit filter_split = 7; - * @param \Google\Cloud\AIPlatform\V1\ExportFilterSplit $var - * @return $this - */ - public function setFilterSplit($var) - { - GPBUtil::checkMessage($var, \Google\Cloud\AIPlatform\V1\ExportFilterSplit::class); - $this->writeOneof(7, $var); - - return $this; - } - - /** - * An expression for filtering what part of the Dataset is to be exported. - * Only Annotations that match this filter will be exported. The filter syntax - * is the same as in - * [ListAnnotations][google.cloud.aiplatform.v1.DatasetService.ListAnnotations]. - * - * Generated from protobuf field string annotations_filter = 2; - * @return string - */ - public function getAnnotationsFilter() - { - return $this->annotations_filter; - } - - /** - * An expression for filtering what part of the Dataset is to be exported. - * Only Annotations that match this filter will be exported. The filter syntax - * is the same as in - * [ListAnnotations][google.cloud.aiplatform.v1.DatasetService.ListAnnotations]. - * - * Generated from protobuf field string annotations_filter = 2; - * @param string $var - * @return $this - */ - public function setAnnotationsFilter($var) - { - GPBUtil::checkString($var, True); - $this->annotations_filter = $var; - - return $this; - } - - /** - * The ID of a SavedQuery (annotation set) under the Dataset specified by - * [dataset_id][] used for filtering Annotations for training. - * Only used for custom training data export use cases. - * Only applicable to Datasets that have SavedQueries. - * Only Annotations that are associated with this SavedQuery are used in - * respectively training. When used in conjunction with - * [annotations_filter][google.cloud.aiplatform.v1.ExportDataConfig.annotations_filter], - * the Annotations used for training are filtered by both - * [saved_query_id][google.cloud.aiplatform.v1.ExportDataConfig.saved_query_id] - * and - * [annotations_filter][google.cloud.aiplatform.v1.ExportDataConfig.annotations_filter]. - * Only one of - * [saved_query_id][google.cloud.aiplatform.v1.ExportDataConfig.saved_query_id] - * and - * [annotation_schema_uri][google.cloud.aiplatform.v1.ExportDataConfig.annotation_schema_uri] - * should be specified as both of them represent the same thing: problem type. - * - * Generated from protobuf field string saved_query_id = 11; - * @return string - */ - public function getSavedQueryId() - { - return $this->saved_query_id; - } - - /** - * The ID of a SavedQuery (annotation set) under the Dataset specified by - * [dataset_id][] used for filtering Annotations for training. - * Only used for custom training data export use cases. - * Only applicable to Datasets that have SavedQueries. - * Only Annotations that are associated with this SavedQuery are used in - * respectively training. When used in conjunction with - * [annotations_filter][google.cloud.aiplatform.v1.ExportDataConfig.annotations_filter], - * the Annotations used for training are filtered by both - * [saved_query_id][google.cloud.aiplatform.v1.ExportDataConfig.saved_query_id] - * and - * [annotations_filter][google.cloud.aiplatform.v1.ExportDataConfig.annotations_filter]. - * Only one of - * [saved_query_id][google.cloud.aiplatform.v1.ExportDataConfig.saved_query_id] - * and - * [annotation_schema_uri][google.cloud.aiplatform.v1.ExportDataConfig.annotation_schema_uri] - * should be specified as both of them represent the same thing: problem type. - * - * Generated from protobuf field string saved_query_id = 11; - * @param string $var - * @return $this - */ - public function setSavedQueryId($var) - { - GPBUtil::checkString($var, True); - $this->saved_query_id = $var; - - return $this; - } - - /** - * The Cloud Storage URI that points to a YAML file describing the annotation - * schema. The schema is defined as an OpenAPI 3.0.2 [Schema - * Object](https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.0.2.md#schemaObject). - * The schema files that can be used here are found in - * gs://google-cloud-aiplatform/schema/dataset/annotation/, note that the - * chosen schema must be consistent with - * [metadata][google.cloud.aiplatform.v1.Dataset.metadata_schema_uri] of the - * Dataset specified by [dataset_id][]. - * Only used for custom training data export use cases. - * Only applicable to Datasets that have DataItems and Annotations. - * Only Annotations that both match this schema and belong to DataItems not - * ignored by the split method are used in respectively training, validation - * or test role, depending on the role of the DataItem they are on. - * When used in conjunction with - * [annotations_filter][google.cloud.aiplatform.v1.ExportDataConfig.annotations_filter], - * the Annotations used for training are filtered by both - * [annotations_filter][google.cloud.aiplatform.v1.ExportDataConfig.annotations_filter] - * and - * [annotation_schema_uri][google.cloud.aiplatform.v1.ExportDataConfig.annotation_schema_uri]. - * - * Generated from protobuf field string annotation_schema_uri = 12; - * @return string - */ - public function getAnnotationSchemaUri() - { - return $this->annotation_schema_uri; - } - - /** - * The Cloud Storage URI that points to a YAML file describing the annotation - * schema. The schema is defined as an OpenAPI 3.0.2 [Schema - * Object](https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.0.2.md#schemaObject). - * The schema files that can be used here are found in - * gs://google-cloud-aiplatform/schema/dataset/annotation/, note that the - * chosen schema must be consistent with - * [metadata][google.cloud.aiplatform.v1.Dataset.metadata_schema_uri] of the - * Dataset specified by [dataset_id][]. - * Only used for custom training data export use cases. - * Only applicable to Datasets that have DataItems and Annotations. - * Only Annotations that both match this schema and belong to DataItems not - * ignored by the split method are used in respectively training, validation - * or test role, depending on the role of the DataItem they are on. - * When used in conjunction with - * [annotations_filter][google.cloud.aiplatform.v1.ExportDataConfig.annotations_filter], - * the Annotations used for training are filtered by both - * [annotations_filter][google.cloud.aiplatform.v1.ExportDataConfig.annotations_filter] - * and - * [annotation_schema_uri][google.cloud.aiplatform.v1.ExportDataConfig.annotation_schema_uri]. - * - * Generated from protobuf field string annotation_schema_uri = 12; - * @param string $var - * @return $this - */ - public function setAnnotationSchemaUri($var) - { - GPBUtil::checkString($var, True); - $this->annotation_schema_uri = $var; - - return $this; - } - - /** - * Indicates the usage of the exported files. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.ExportDataConfig.ExportUse export_use = 4; - * @return int - */ - public function getExportUse() - { - return $this->export_use; - } - - /** - * Indicates the usage of the exported files. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.ExportDataConfig.ExportUse export_use = 4; - * @param int $var - * @return $this - */ - public function setExportUse($var) - { - GPBUtil::checkEnum($var, \Google\Cloud\AIPlatform\V1\ExportDataConfig\ExportUse::class); - $this->export_use = $var; - - return $this; - } - - /** - * @return string - */ - public function getDestination() - { - return $this->whichOneof("destination"); - } - - /** - * @return string - */ - public function getSplit() - { - return $this->whichOneof("split"); - } - -} - diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ExportDataConfig/ExportUse.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ExportDataConfig/ExportUse.php deleted file mode 100644 index 847aae76c1c9..000000000000 --- a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ExportDataConfig/ExportUse.php +++ /dev/null @@ -1,60 +0,0 @@ -google.cloud.aiplatform.v1.ExportDataConfig.ExportUse - */ -class ExportUse -{ - /** - * Regular user export. - * - * Generated from protobuf enum EXPORT_USE_UNSPECIFIED = 0; - */ - const EXPORT_USE_UNSPECIFIED = 0; - /** - * Export for custom code training. - * - * Generated from protobuf enum CUSTOM_CODE_TRAINING = 6; - */ - const CUSTOM_CODE_TRAINING = 6; - - private static $valueToName = [ - self::EXPORT_USE_UNSPECIFIED => 'EXPORT_USE_UNSPECIFIED', - self::CUSTOM_CODE_TRAINING => 'CUSTOM_CODE_TRAINING', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(ExportUse::class, \Google\Cloud\AIPlatform\V1\ExportDataConfig_ExportUse::class); - diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ExportDataOperationMetadata.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ExportDataOperationMetadata.php deleted file mode 100644 index 42cce5b8a65d..000000000000 --- a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ExportDataOperationMetadata.php +++ /dev/null @@ -1,116 +0,0 @@ -google.cloud.aiplatform.v1.ExportDataOperationMetadata - */ -class ExportDataOperationMetadata extends \Google\Protobuf\Internal\Message -{ - /** - * The common part of the operation metadata. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.GenericOperationMetadata generic_metadata = 1; - */ - protected $generic_metadata = null; - /** - * A Google Cloud Storage directory which path ends with '/'. The exported - * data is stored in the directory. - * - * Generated from protobuf field string gcs_output_directory = 2; - */ - protected $gcs_output_directory = ''; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type \Google\Cloud\AIPlatform\V1\GenericOperationMetadata $generic_metadata - * The common part of the operation metadata. - * @type string $gcs_output_directory - * A Google Cloud Storage directory which path ends with '/'. The exported - * data is stored in the directory. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Cloud\Aiplatform\V1\DatasetService::initOnce(); - parent::__construct($data); - } - - /** - * The common part of the operation metadata. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.GenericOperationMetadata generic_metadata = 1; - * @return \Google\Cloud\AIPlatform\V1\GenericOperationMetadata|null - */ - public function getGenericMetadata() - { - return $this->generic_metadata; - } - - public function hasGenericMetadata() - { - return isset($this->generic_metadata); - } - - public function clearGenericMetadata() - { - unset($this->generic_metadata); - } - - /** - * The common part of the operation metadata. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.GenericOperationMetadata generic_metadata = 1; - * @param \Google\Cloud\AIPlatform\V1\GenericOperationMetadata $var - * @return $this - */ - public function setGenericMetadata($var) - { - GPBUtil::checkMessage($var, \Google\Cloud\AIPlatform\V1\GenericOperationMetadata::class); - $this->generic_metadata = $var; - - return $this; - } - - /** - * A Google Cloud Storage directory which path ends with '/'. The exported - * data is stored in the directory. - * - * Generated from protobuf field string gcs_output_directory = 2; - * @return string - */ - public function getGcsOutputDirectory() - { - return $this->gcs_output_directory; - } - - /** - * A Google Cloud Storage directory which path ends with '/'. The exported - * data is stored in the directory. - * - * Generated from protobuf field string gcs_output_directory = 2; - * @param string $var - * @return $this - */ - public function setGcsOutputDirectory($var) - { - GPBUtil::checkString($var, True); - $this->gcs_output_directory = $var; - - return $this; - } - -} - diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ExportDataRequest.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ExportDataRequest.php deleted file mode 100644 index f228564f8a9d..000000000000 --- a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ExportDataRequest.php +++ /dev/null @@ -1,138 +0,0 @@ -google.cloud.aiplatform.v1.ExportDataRequest - */ -class ExportDataRequest extends \Google\Protobuf\Internal\Message -{ - /** - * Required. The name of the Dataset resource. - * Format: - * `projects/{project}/locations/{location}/datasets/{dataset}` - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - */ - protected $name = ''; - /** - * Required. The desired output location. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.ExportDataConfig export_config = 2 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $export_config = null; - - /** - * @param string $name Required. The name of the Dataset resource. - * Format: - * `projects/{project}/locations/{location}/datasets/{dataset}` - * Please see {@see DatasetServiceClient::datasetName()} for help formatting this field. - * @param \Google\Cloud\AIPlatform\V1\ExportDataConfig $exportConfig Required. The desired output location. - * - * @return \Google\Cloud\AIPlatform\V1\ExportDataRequest - * - * @experimental - */ - public static function build(string $name, \Google\Cloud\AIPlatform\V1\ExportDataConfig $exportConfig): self - { - return (new self()) - ->setName($name) - ->setExportConfig($exportConfig); - } - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $name - * Required. The name of the Dataset resource. - * Format: - * `projects/{project}/locations/{location}/datasets/{dataset}` - * @type \Google\Cloud\AIPlatform\V1\ExportDataConfig $export_config - * Required. The desired output location. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Cloud\Aiplatform\V1\DatasetService::initOnce(); - parent::__construct($data); - } - - /** - * Required. The name of the Dataset resource. - * Format: - * `projects/{project}/locations/{location}/datasets/{dataset}` - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - * @return string - */ - public function getName() - { - return $this->name; - } - - /** - * Required. The name of the Dataset resource. - * Format: - * `projects/{project}/locations/{location}/datasets/{dataset}` - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setName($var) - { - GPBUtil::checkString($var, True); - $this->name = $var; - - return $this; - } - - /** - * Required. The desired output location. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.ExportDataConfig export_config = 2 [(.google.api.field_behavior) = REQUIRED]; - * @return \Google\Cloud\AIPlatform\V1\ExportDataConfig|null - */ - public function getExportConfig() - { - return $this->export_config; - } - - public function hasExportConfig() - { - return isset($this->export_config); - } - - public function clearExportConfig() - { - unset($this->export_config); - } - - /** - * Required. The desired output location. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.ExportDataConfig export_config = 2 [(.google.api.field_behavior) = REQUIRED]; - * @param \Google\Cloud\AIPlatform\V1\ExportDataConfig $var - * @return $this - */ - public function setExportConfig($var) - { - GPBUtil::checkMessage($var, \Google\Cloud\AIPlatform\V1\ExportDataConfig::class); - $this->export_config = $var; - - return $this; - } - -} - diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ExportDataResponse.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ExportDataResponse.php deleted file mode 100644 index 5d6d6fa42680..000000000000 --- a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ExportDataResponse.php +++ /dev/null @@ -1,132 +0,0 @@ -google.cloud.aiplatform.v1.ExportDataResponse - */ -class ExportDataResponse extends \Google\Protobuf\Internal\Message -{ - /** - * All of the files that are exported in this export operation. For custom - * code training export, only three (training, validation and test) - * Cloud Storage paths in wildcard format are populated - * (for example, gs://.../training-*). - * - * Generated from protobuf field repeated string exported_files = 1; - */ - private $exported_files; - /** - * Only present for custom code training export use case. Records data stats, - * i.e., train/validation/test item/annotation counts calculated during - * the export operation. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.Model.DataStats data_stats = 2; - */ - protected $data_stats = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type array|\Google\Protobuf\Internal\RepeatedField $exported_files - * All of the files that are exported in this export operation. For custom - * code training export, only three (training, validation and test) - * Cloud Storage paths in wildcard format are populated - * (for example, gs://.../training-*). - * @type \Google\Cloud\AIPlatform\V1\Model\DataStats $data_stats - * Only present for custom code training export use case. Records data stats, - * i.e., train/validation/test item/annotation counts calculated during - * the export operation. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Cloud\Aiplatform\V1\DatasetService::initOnce(); - parent::__construct($data); - } - - /** - * All of the files that are exported in this export operation. For custom - * code training export, only three (training, validation and test) - * Cloud Storage paths in wildcard format are populated - * (for example, gs://.../training-*). - * - * Generated from protobuf field repeated string exported_files = 1; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getExportedFiles() - { - return $this->exported_files; - } - - /** - * All of the files that are exported in this export operation. For custom - * code training export, only three (training, validation and test) - * Cloud Storage paths in wildcard format are populated - * (for example, gs://.../training-*). - * - * Generated from protobuf field repeated string exported_files = 1; - * @param array|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setExportedFiles($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING); - $this->exported_files = $arr; - - return $this; - } - - /** - * Only present for custom code training export use case. Records data stats, - * i.e., train/validation/test item/annotation counts calculated during - * the export operation. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.Model.DataStats data_stats = 2; - * @return \Google\Cloud\AIPlatform\V1\Model\DataStats|null - */ - public function getDataStats() - { - return $this->data_stats; - } - - public function hasDataStats() - { - return isset($this->data_stats); - } - - public function clearDataStats() - { - unset($this->data_stats); - } - - /** - * Only present for custom code training export use case. Records data stats, - * i.e., train/validation/test item/annotation counts calculated during - * the export operation. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.Model.DataStats data_stats = 2; - * @param \Google\Cloud\AIPlatform\V1\Model\DataStats $var - * @return $this - */ - public function setDataStats($var) - { - GPBUtil::checkMessage($var, \Google\Cloud\AIPlatform\V1\Model\DataStats::class); - $this->data_stats = $var; - - return $this; - } - -} - diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ExportFeatureValuesOperationMetadata.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ExportFeatureValuesOperationMetadata.php deleted file mode 100644 index 5899b28bf347..000000000000 --- a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ExportFeatureValuesOperationMetadata.php +++ /dev/null @@ -1,77 +0,0 @@ -google.cloud.aiplatform.v1.ExportFeatureValuesOperationMetadata - */ -class ExportFeatureValuesOperationMetadata extends \Google\Protobuf\Internal\Message -{ - /** - * Operation metadata for Featurestore export Feature values. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.GenericOperationMetadata generic_metadata = 1; - */ - protected $generic_metadata = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type \Google\Cloud\AIPlatform\V1\GenericOperationMetadata $generic_metadata - * Operation metadata for Featurestore export Feature values. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Cloud\Aiplatform\V1\FeaturestoreService::initOnce(); - parent::__construct($data); - } - - /** - * Operation metadata for Featurestore export Feature values. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.GenericOperationMetadata generic_metadata = 1; - * @return \Google\Cloud\AIPlatform\V1\GenericOperationMetadata|null - */ - public function getGenericMetadata() - { - return $this->generic_metadata; - } - - public function hasGenericMetadata() - { - return isset($this->generic_metadata); - } - - public function clearGenericMetadata() - { - unset($this->generic_metadata); - } - - /** - * Operation metadata for Featurestore export Feature values. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.GenericOperationMetadata generic_metadata = 1; - * @param \Google\Cloud\AIPlatform\V1\GenericOperationMetadata $var - * @return $this - */ - public function setGenericMetadata($var) - { - GPBUtil::checkMessage($var, \Google\Cloud\AIPlatform\V1\GenericOperationMetadata::class); - $this->generic_metadata = $var; - - return $this; - } - -} - diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ExportFeatureValuesRequest.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ExportFeatureValuesRequest.php deleted file mode 100644 index d9dca89595c7..000000000000 --- a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ExportFeatureValuesRequest.php +++ /dev/null @@ -1,295 +0,0 @@ -google.cloud.aiplatform.v1.ExportFeatureValuesRequest - */ -class ExportFeatureValuesRequest extends \Google\Protobuf\Internal\Message -{ - /** - * Required. The resource name of the EntityType from which to export Feature - * values. Format: - * `projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entity_type}` - * - * Generated from protobuf field string entity_type = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - */ - protected $entity_type = ''; - /** - * Required. Specifies destination location and format. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.FeatureValueDestination destination = 4 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $destination = null; - /** - * Required. Selects Features to export values of. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.FeatureSelector feature_selector = 5 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $feature_selector = null; - /** - * Per-Feature export settings. - * - * Generated from protobuf field repeated .google.cloud.aiplatform.v1.DestinationFeatureSetting settings = 6; - */ - private $settings; - protected $mode; - - /** - * @param string $entityType Required. The resource name of the EntityType from which to export Feature - * values. Format: - * `projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entity_type}` - * Please see {@see FeaturestoreServiceClient::entityTypeName()} for help formatting this field. - * - * @return \Google\Cloud\AIPlatform\V1\ExportFeatureValuesRequest - * - * @experimental - */ - public static function build(string $entityType): self - { - return (new self()) - ->setEntityType($entityType); - } - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type \Google\Cloud\AIPlatform\V1\ExportFeatureValuesRequest\SnapshotExport $snapshot_export - * Exports the latest Feature values of all entities of the EntityType - * within a time range. - * @type \Google\Cloud\AIPlatform\V1\ExportFeatureValuesRequest\FullExport $full_export - * Exports all historical values of all entities of the EntityType within a - * time range - * @type string $entity_type - * Required. The resource name of the EntityType from which to export Feature - * values. Format: - * `projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entity_type}` - * @type \Google\Cloud\AIPlatform\V1\FeatureValueDestination $destination - * Required. Specifies destination location and format. - * @type \Google\Cloud\AIPlatform\V1\FeatureSelector $feature_selector - * Required. Selects Features to export values of. - * @type array<\Google\Cloud\AIPlatform\V1\DestinationFeatureSetting>|\Google\Protobuf\Internal\RepeatedField $settings - * Per-Feature export settings. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Cloud\Aiplatform\V1\FeaturestoreService::initOnce(); - parent::__construct($data); - } - - /** - * Exports the latest Feature values of all entities of the EntityType - * within a time range. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.ExportFeatureValuesRequest.SnapshotExport snapshot_export = 3; - * @return \Google\Cloud\AIPlatform\V1\ExportFeatureValuesRequest\SnapshotExport|null - */ - public function getSnapshotExport() - { - return $this->readOneof(3); - } - - public function hasSnapshotExport() - { - return $this->hasOneof(3); - } - - /** - * Exports the latest Feature values of all entities of the EntityType - * within a time range. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.ExportFeatureValuesRequest.SnapshotExport snapshot_export = 3; - * @param \Google\Cloud\AIPlatform\V1\ExportFeatureValuesRequest\SnapshotExport $var - * @return $this - */ - public function setSnapshotExport($var) - { - GPBUtil::checkMessage($var, \Google\Cloud\AIPlatform\V1\ExportFeatureValuesRequest\SnapshotExport::class); - $this->writeOneof(3, $var); - - return $this; - } - - /** - * Exports all historical values of all entities of the EntityType within a - * time range - * - * Generated from protobuf field .google.cloud.aiplatform.v1.ExportFeatureValuesRequest.FullExport full_export = 7; - * @return \Google\Cloud\AIPlatform\V1\ExportFeatureValuesRequest\FullExport|null - */ - public function getFullExport() - { - return $this->readOneof(7); - } - - public function hasFullExport() - { - return $this->hasOneof(7); - } - - /** - * Exports all historical values of all entities of the EntityType within a - * time range - * - * Generated from protobuf field .google.cloud.aiplatform.v1.ExportFeatureValuesRequest.FullExport full_export = 7; - * @param \Google\Cloud\AIPlatform\V1\ExportFeatureValuesRequest\FullExport $var - * @return $this - */ - public function setFullExport($var) - { - GPBUtil::checkMessage($var, \Google\Cloud\AIPlatform\V1\ExportFeatureValuesRequest\FullExport::class); - $this->writeOneof(7, $var); - - return $this; - } - - /** - * Required. The resource name of the EntityType from which to export Feature - * values. Format: - * `projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entity_type}` - * - * Generated from protobuf field string entity_type = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - * @return string - */ - public function getEntityType() - { - return $this->entity_type; - } - - /** - * Required. The resource name of the EntityType from which to export Feature - * values. Format: - * `projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entity_type}` - * - * Generated from protobuf field string entity_type = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setEntityType($var) - { - GPBUtil::checkString($var, True); - $this->entity_type = $var; - - return $this; - } - - /** - * Required. Specifies destination location and format. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.FeatureValueDestination destination = 4 [(.google.api.field_behavior) = REQUIRED]; - * @return \Google\Cloud\AIPlatform\V1\FeatureValueDestination|null - */ - public function getDestination() - { - return $this->destination; - } - - public function hasDestination() - { - return isset($this->destination); - } - - public function clearDestination() - { - unset($this->destination); - } - - /** - * Required. Specifies destination location and format. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.FeatureValueDestination destination = 4 [(.google.api.field_behavior) = REQUIRED]; - * @param \Google\Cloud\AIPlatform\V1\FeatureValueDestination $var - * @return $this - */ - public function setDestination($var) - { - GPBUtil::checkMessage($var, \Google\Cloud\AIPlatform\V1\FeatureValueDestination::class); - $this->destination = $var; - - return $this; - } - - /** - * Required. Selects Features to export values of. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.FeatureSelector feature_selector = 5 [(.google.api.field_behavior) = REQUIRED]; - * @return \Google\Cloud\AIPlatform\V1\FeatureSelector|null - */ - public function getFeatureSelector() - { - return $this->feature_selector; - } - - public function hasFeatureSelector() - { - return isset($this->feature_selector); - } - - public function clearFeatureSelector() - { - unset($this->feature_selector); - } - - /** - * Required. Selects Features to export values of. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.FeatureSelector feature_selector = 5 [(.google.api.field_behavior) = REQUIRED]; - * @param \Google\Cloud\AIPlatform\V1\FeatureSelector $var - * @return $this - */ - public function setFeatureSelector($var) - { - GPBUtil::checkMessage($var, \Google\Cloud\AIPlatform\V1\FeatureSelector::class); - $this->feature_selector = $var; - - return $this; - } - - /** - * Per-Feature export settings. - * - * Generated from protobuf field repeated .google.cloud.aiplatform.v1.DestinationFeatureSetting settings = 6; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getSettings() - { - return $this->settings; - } - - /** - * Per-Feature export settings. - * - * Generated from protobuf field repeated .google.cloud.aiplatform.v1.DestinationFeatureSetting settings = 6; - * @param array<\Google\Cloud\AIPlatform\V1\DestinationFeatureSetting>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setSettings($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\AIPlatform\V1\DestinationFeatureSetting::class); - $this->settings = $arr; - - return $this; - } - - /** - * @return string - */ - public function getMode() - { - return $this->whichOneof("mode"); - } - -} - diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ExportFeatureValuesRequest/FullExport.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ExportFeatureValuesRequest/FullExport.php deleted file mode 100644 index f713dc04956b..000000000000 --- a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ExportFeatureValuesRequest/FullExport.php +++ /dev/null @@ -1,141 +0,0 @@ -google.cloud.aiplatform.v1.ExportFeatureValuesRequest.FullExport - */ -class FullExport extends \Google\Protobuf\Internal\Message -{ - /** - * Excludes Feature values with feature generation timestamp before this - * timestamp. If not set, retrieve oldest values kept in Feature Store. - * Timestamp, if present, must not have higher than millisecond precision. - * - * Generated from protobuf field .google.protobuf.Timestamp start_time = 2; - */ - protected $start_time = null; - /** - * Exports Feature values as of this timestamp. If not set, - * retrieve values as of now. Timestamp, if present, must not have higher - * than millisecond precision. - * - * Generated from protobuf field .google.protobuf.Timestamp end_time = 1; - */ - protected $end_time = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type \Google\Protobuf\Timestamp $start_time - * Excludes Feature values with feature generation timestamp before this - * timestamp. If not set, retrieve oldest values kept in Feature Store. - * Timestamp, if present, must not have higher than millisecond precision. - * @type \Google\Protobuf\Timestamp $end_time - * Exports Feature values as of this timestamp. If not set, - * retrieve values as of now. Timestamp, if present, must not have higher - * than millisecond precision. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Cloud\Aiplatform\V1\FeaturestoreService::initOnce(); - parent::__construct($data); - } - - /** - * Excludes Feature values with feature generation timestamp before this - * timestamp. If not set, retrieve oldest values kept in Feature Store. - * Timestamp, if present, must not have higher than millisecond precision. - * - * Generated from protobuf field .google.protobuf.Timestamp start_time = 2; - * @return \Google\Protobuf\Timestamp|null - */ - public function getStartTime() - { - return $this->start_time; - } - - public function hasStartTime() - { - return isset($this->start_time); - } - - public function clearStartTime() - { - unset($this->start_time); - } - - /** - * Excludes Feature values with feature generation timestamp before this - * timestamp. If not set, retrieve oldest values kept in Feature Store. - * Timestamp, if present, must not have higher than millisecond precision. - * - * Generated from protobuf field .google.protobuf.Timestamp start_time = 2; - * @param \Google\Protobuf\Timestamp $var - * @return $this - */ - public function setStartTime($var) - { - GPBUtil::checkMessage($var, \Google\Protobuf\Timestamp::class); - $this->start_time = $var; - - return $this; - } - - /** - * Exports Feature values as of this timestamp. If not set, - * retrieve values as of now. Timestamp, if present, must not have higher - * than millisecond precision. - * - * Generated from protobuf field .google.protobuf.Timestamp end_time = 1; - * @return \Google\Protobuf\Timestamp|null - */ - public function getEndTime() - { - return $this->end_time; - } - - public function hasEndTime() - { - return isset($this->end_time); - } - - public function clearEndTime() - { - unset($this->end_time); - } - - /** - * Exports Feature values as of this timestamp. If not set, - * retrieve values as of now. Timestamp, if present, must not have higher - * than millisecond precision. - * - * Generated from protobuf field .google.protobuf.Timestamp end_time = 1; - * @param \Google\Protobuf\Timestamp $var - * @return $this - */ - public function setEndTime($var) - { - GPBUtil::checkMessage($var, \Google\Protobuf\Timestamp::class); - $this->end_time = $var; - - return $this; - } - -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(FullExport::class, \Google\Cloud\AIPlatform\V1\ExportFeatureValuesRequest_FullExport::class); - diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ExportFeatureValuesRequest/SnapshotExport.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ExportFeatureValuesRequest/SnapshotExport.php deleted file mode 100644 index 9bca5403eaf1..000000000000 --- a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ExportFeatureValuesRequest/SnapshotExport.php +++ /dev/null @@ -1,141 +0,0 @@ -google.cloud.aiplatform.v1.ExportFeatureValuesRequest.SnapshotExport - */ -class SnapshotExport extends \Google\Protobuf\Internal\Message -{ - /** - * Exports Feature values as of this timestamp. If not set, - * retrieve values as of now. Timestamp, if present, must not have higher - * than millisecond precision. - * - * Generated from protobuf field .google.protobuf.Timestamp snapshot_time = 1; - */ - protected $snapshot_time = null; - /** - * Excludes Feature values with feature generation timestamp before this - * timestamp. If not set, retrieve oldest values kept in Feature Store. - * Timestamp, if present, must not have higher than millisecond precision. - * - * Generated from protobuf field .google.protobuf.Timestamp start_time = 2; - */ - protected $start_time = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type \Google\Protobuf\Timestamp $snapshot_time - * Exports Feature values as of this timestamp. If not set, - * retrieve values as of now. Timestamp, if present, must not have higher - * than millisecond precision. - * @type \Google\Protobuf\Timestamp $start_time - * Excludes Feature values with feature generation timestamp before this - * timestamp. If not set, retrieve oldest values kept in Feature Store. - * Timestamp, if present, must not have higher than millisecond precision. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Cloud\Aiplatform\V1\FeaturestoreService::initOnce(); - parent::__construct($data); - } - - /** - * Exports Feature values as of this timestamp. If not set, - * retrieve values as of now. Timestamp, if present, must not have higher - * than millisecond precision. - * - * Generated from protobuf field .google.protobuf.Timestamp snapshot_time = 1; - * @return \Google\Protobuf\Timestamp|null - */ - public function getSnapshotTime() - { - return $this->snapshot_time; - } - - public function hasSnapshotTime() - { - return isset($this->snapshot_time); - } - - public function clearSnapshotTime() - { - unset($this->snapshot_time); - } - - /** - * Exports Feature values as of this timestamp. If not set, - * retrieve values as of now. Timestamp, if present, must not have higher - * than millisecond precision. - * - * Generated from protobuf field .google.protobuf.Timestamp snapshot_time = 1; - * @param \Google\Protobuf\Timestamp $var - * @return $this - */ - public function setSnapshotTime($var) - { - GPBUtil::checkMessage($var, \Google\Protobuf\Timestamp::class); - $this->snapshot_time = $var; - - return $this; - } - - /** - * Excludes Feature values with feature generation timestamp before this - * timestamp. If not set, retrieve oldest values kept in Feature Store. - * Timestamp, if present, must not have higher than millisecond precision. - * - * Generated from protobuf field .google.protobuf.Timestamp start_time = 2; - * @return \Google\Protobuf\Timestamp|null - */ - public function getStartTime() - { - return $this->start_time; - } - - public function hasStartTime() - { - return isset($this->start_time); - } - - public function clearStartTime() - { - unset($this->start_time); - } - - /** - * Excludes Feature values with feature generation timestamp before this - * timestamp. If not set, retrieve oldest values kept in Feature Store. - * Timestamp, if present, must not have higher than millisecond precision. - * - * Generated from protobuf field .google.protobuf.Timestamp start_time = 2; - * @param \Google\Protobuf\Timestamp $var - * @return $this - */ - public function setStartTime($var) - { - GPBUtil::checkMessage($var, \Google\Protobuf\Timestamp::class); - $this->start_time = $var; - - return $this; - } - -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(SnapshotExport::class, \Google\Cloud\AIPlatform\V1\ExportFeatureValuesRequest_SnapshotExport::class); - diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ExportFeatureValuesResponse.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ExportFeatureValuesResponse.php deleted file mode 100644 index fd563ca57cdb..000000000000 --- a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ExportFeatureValuesResponse.php +++ /dev/null @@ -1,34 +0,0 @@ -google.cloud.aiplatform.v1.ExportFeatureValuesResponse - */ -class ExportFeatureValuesResponse extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Cloud\Aiplatform\V1\FeaturestoreService::initOnce(); - parent::__construct($data); - } - -} - diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ExportFilterSplit.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ExportFilterSplit.php deleted file mode 100644 index 99367b1b0952..000000000000 --- a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ExportFilterSplit.php +++ /dev/null @@ -1,212 +0,0 @@ -google.cloud.aiplatform.v1.ExportFilterSplit - */ -class ExportFilterSplit extends \Google\Protobuf\Internal\Message -{ - /** - * Required. A filter on DataItems of the Dataset. DataItems that match - * this filter are used to train the Model. A filter with same syntax - * as the one used in - * [DatasetService.ListDataItems][google.cloud.aiplatform.v1.DatasetService.ListDataItems] - * may be used. If a single DataItem is matched by more than one of the - * FilterSplit filters, then it is assigned to the first set that applies to - * it in the training, validation, test order. - * - * Generated from protobuf field string training_filter = 1 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $training_filter = ''; - /** - * Required. A filter on DataItems of the Dataset. DataItems that match - * this filter are used to validate the Model. A filter with same syntax - * as the one used in - * [DatasetService.ListDataItems][google.cloud.aiplatform.v1.DatasetService.ListDataItems] - * may be used. If a single DataItem is matched by more than one of the - * FilterSplit filters, then it is assigned to the first set that applies to - * it in the training, validation, test order. - * - * Generated from protobuf field string validation_filter = 2 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $validation_filter = ''; - /** - * Required. A filter on DataItems of the Dataset. DataItems that match - * this filter are used to test the Model. A filter with same syntax - * as the one used in - * [DatasetService.ListDataItems][google.cloud.aiplatform.v1.DatasetService.ListDataItems] - * may be used. If a single DataItem is matched by more than one of the - * FilterSplit filters, then it is assigned to the first set that applies to - * it in the training, validation, test order. - * - * Generated from protobuf field string test_filter = 3 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $test_filter = ''; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $training_filter - * Required. A filter on DataItems of the Dataset. DataItems that match - * this filter are used to train the Model. A filter with same syntax - * as the one used in - * [DatasetService.ListDataItems][google.cloud.aiplatform.v1.DatasetService.ListDataItems] - * may be used. If a single DataItem is matched by more than one of the - * FilterSplit filters, then it is assigned to the first set that applies to - * it in the training, validation, test order. - * @type string $validation_filter - * Required. A filter on DataItems of the Dataset. DataItems that match - * this filter are used to validate the Model. A filter with same syntax - * as the one used in - * [DatasetService.ListDataItems][google.cloud.aiplatform.v1.DatasetService.ListDataItems] - * may be used. If a single DataItem is matched by more than one of the - * FilterSplit filters, then it is assigned to the first set that applies to - * it in the training, validation, test order. - * @type string $test_filter - * Required. A filter on DataItems of the Dataset. DataItems that match - * this filter are used to test the Model. A filter with same syntax - * as the one used in - * [DatasetService.ListDataItems][google.cloud.aiplatform.v1.DatasetService.ListDataItems] - * may be used. If a single DataItem is matched by more than one of the - * FilterSplit filters, then it is assigned to the first set that applies to - * it in the training, validation, test order. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Cloud\Aiplatform\V1\Dataset::initOnce(); - parent::__construct($data); - } - - /** - * Required. A filter on DataItems of the Dataset. DataItems that match - * this filter are used to train the Model. A filter with same syntax - * as the one used in - * [DatasetService.ListDataItems][google.cloud.aiplatform.v1.DatasetService.ListDataItems] - * may be used. If a single DataItem is matched by more than one of the - * FilterSplit filters, then it is assigned to the first set that applies to - * it in the training, validation, test order. - * - * Generated from protobuf field string training_filter = 1 [(.google.api.field_behavior) = REQUIRED]; - * @return string - */ - public function getTrainingFilter() - { - return $this->training_filter; - } - - /** - * Required. A filter on DataItems of the Dataset. DataItems that match - * this filter are used to train the Model. A filter with same syntax - * as the one used in - * [DatasetService.ListDataItems][google.cloud.aiplatform.v1.DatasetService.ListDataItems] - * may be used. If a single DataItem is matched by more than one of the - * FilterSplit filters, then it is assigned to the first set that applies to - * it in the training, validation, test order. - * - * Generated from protobuf field string training_filter = 1 [(.google.api.field_behavior) = REQUIRED]; - * @param string $var - * @return $this - */ - public function setTrainingFilter($var) - { - GPBUtil::checkString($var, True); - $this->training_filter = $var; - - return $this; - } - - /** - * Required. A filter on DataItems of the Dataset. DataItems that match - * this filter are used to validate the Model. A filter with same syntax - * as the one used in - * [DatasetService.ListDataItems][google.cloud.aiplatform.v1.DatasetService.ListDataItems] - * may be used. If a single DataItem is matched by more than one of the - * FilterSplit filters, then it is assigned to the first set that applies to - * it in the training, validation, test order. - * - * Generated from protobuf field string validation_filter = 2 [(.google.api.field_behavior) = REQUIRED]; - * @return string - */ - public function getValidationFilter() - { - return $this->validation_filter; - } - - /** - * Required. A filter on DataItems of the Dataset. DataItems that match - * this filter are used to validate the Model. A filter with same syntax - * as the one used in - * [DatasetService.ListDataItems][google.cloud.aiplatform.v1.DatasetService.ListDataItems] - * may be used. If a single DataItem is matched by more than one of the - * FilterSplit filters, then it is assigned to the first set that applies to - * it in the training, validation, test order. - * - * Generated from protobuf field string validation_filter = 2 [(.google.api.field_behavior) = REQUIRED]; - * @param string $var - * @return $this - */ - public function setValidationFilter($var) - { - GPBUtil::checkString($var, True); - $this->validation_filter = $var; - - return $this; - } - - /** - * Required. A filter on DataItems of the Dataset. DataItems that match - * this filter are used to test the Model. A filter with same syntax - * as the one used in - * [DatasetService.ListDataItems][google.cloud.aiplatform.v1.DatasetService.ListDataItems] - * may be used. If a single DataItem is matched by more than one of the - * FilterSplit filters, then it is assigned to the first set that applies to - * it in the training, validation, test order. - * - * Generated from protobuf field string test_filter = 3 [(.google.api.field_behavior) = REQUIRED]; - * @return string - */ - public function getTestFilter() - { - return $this->test_filter; - } - - /** - * Required. A filter on DataItems of the Dataset. DataItems that match - * this filter are used to test the Model. A filter with same syntax - * as the one used in - * [DatasetService.ListDataItems][google.cloud.aiplatform.v1.DatasetService.ListDataItems] - * may be used. If a single DataItem is matched by more than one of the - * FilterSplit filters, then it is assigned to the first set that applies to - * it in the training, validation, test order. - * - * Generated from protobuf field string test_filter = 3 [(.google.api.field_behavior) = REQUIRED]; - * @param string $var - * @return $this - */ - public function setTestFilter($var) - { - GPBUtil::checkString($var, True); - $this->test_filter = $var; - - return $this; - } - -} - diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ExportFractionSplit.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ExportFractionSplit.php deleted file mode 100644 index 5d54b7f05e07..000000000000 --- a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ExportFractionSplit.php +++ /dev/null @@ -1,140 +0,0 @@ -google.cloud.aiplatform.v1.ExportFractionSplit - */ -class ExportFractionSplit extends \Google\Protobuf\Internal\Message -{ - /** - * The fraction of the input data that is to be used to train the Model. - * - * Generated from protobuf field double training_fraction = 1; - */ - protected $training_fraction = 0.0; - /** - * The fraction of the input data that is to be used to validate the Model. - * - * Generated from protobuf field double validation_fraction = 2; - */ - protected $validation_fraction = 0.0; - /** - * The fraction of the input data that is to be used to evaluate the Model. - * - * Generated from protobuf field double test_fraction = 3; - */ - protected $test_fraction = 0.0; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type float $training_fraction - * The fraction of the input data that is to be used to train the Model. - * @type float $validation_fraction - * The fraction of the input data that is to be used to validate the Model. - * @type float $test_fraction - * The fraction of the input data that is to be used to evaluate the Model. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Cloud\Aiplatform\V1\Dataset::initOnce(); - parent::__construct($data); - } - - /** - * The fraction of the input data that is to be used to train the Model. - * - * Generated from protobuf field double training_fraction = 1; - * @return float - */ - public function getTrainingFraction() - { - return $this->training_fraction; - } - - /** - * The fraction of the input data that is to be used to train the Model. - * - * Generated from protobuf field double training_fraction = 1; - * @param float $var - * @return $this - */ - public function setTrainingFraction($var) - { - GPBUtil::checkDouble($var); - $this->training_fraction = $var; - - return $this; - } - - /** - * The fraction of the input data that is to be used to validate the Model. - * - * Generated from protobuf field double validation_fraction = 2; - * @return float - */ - public function getValidationFraction() - { - return $this->validation_fraction; - } - - /** - * The fraction of the input data that is to be used to validate the Model. - * - * Generated from protobuf field double validation_fraction = 2; - * @param float $var - * @return $this - */ - public function setValidationFraction($var) - { - GPBUtil::checkDouble($var); - $this->validation_fraction = $var; - - return $this; - } - - /** - * The fraction of the input data that is to be used to evaluate the Model. - * - * Generated from protobuf field double test_fraction = 3; - * @return float - */ - public function getTestFraction() - { - return $this->test_fraction; - } - - /** - * The fraction of the input data that is to be used to evaluate the Model. - * - * Generated from protobuf field double test_fraction = 3; - * @param float $var - * @return $this - */ - public function setTestFraction($var) - { - GPBUtil::checkDouble($var); - $this->test_fraction = $var; - - return $this; - } - -} - diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ExportModelOperationMetadata.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ExportModelOperationMetadata.php deleted file mode 100644 index 20ea6285c14d..000000000000 --- a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ExportModelOperationMetadata.php +++ /dev/null @@ -1,127 +0,0 @@ -google.cloud.aiplatform.v1.ExportModelOperationMetadata - */ -class ExportModelOperationMetadata extends \Google\Protobuf\Internal\Message -{ - /** - * The common part of the operation metadata. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.GenericOperationMetadata generic_metadata = 1; - */ - protected $generic_metadata = null; - /** - * Output only. Information further describing the output of this Model - * export. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.ExportModelOperationMetadata.OutputInfo output_info = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $output_info = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type \Google\Cloud\AIPlatform\V1\GenericOperationMetadata $generic_metadata - * The common part of the operation metadata. - * @type \Google\Cloud\AIPlatform\V1\ExportModelOperationMetadata\OutputInfo $output_info - * Output only. Information further describing the output of this Model - * export. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Cloud\Aiplatform\V1\ModelService::initOnce(); - parent::__construct($data); - } - - /** - * The common part of the operation metadata. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.GenericOperationMetadata generic_metadata = 1; - * @return \Google\Cloud\AIPlatform\V1\GenericOperationMetadata|null - */ - public function getGenericMetadata() - { - return $this->generic_metadata; - } - - public function hasGenericMetadata() - { - return isset($this->generic_metadata); - } - - public function clearGenericMetadata() - { - unset($this->generic_metadata); - } - - /** - * The common part of the operation metadata. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.GenericOperationMetadata generic_metadata = 1; - * @param \Google\Cloud\AIPlatform\V1\GenericOperationMetadata $var - * @return $this - */ - public function setGenericMetadata($var) - { - GPBUtil::checkMessage($var, \Google\Cloud\AIPlatform\V1\GenericOperationMetadata::class); - $this->generic_metadata = $var; - - return $this; - } - - /** - * Output only. Information further describing the output of this Model - * export. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.ExportModelOperationMetadata.OutputInfo output_info = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return \Google\Cloud\AIPlatform\V1\ExportModelOperationMetadata\OutputInfo|null - */ - public function getOutputInfo() - { - return $this->output_info; - } - - public function hasOutputInfo() - { - return isset($this->output_info); - } - - public function clearOutputInfo() - { - unset($this->output_info); - } - - /** - * Output only. Information further describing the output of this Model - * export. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.ExportModelOperationMetadata.OutputInfo output_info = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param \Google\Cloud\AIPlatform\V1\ExportModelOperationMetadata\OutputInfo $var - * @return $this - */ - public function setOutputInfo($var) - { - GPBUtil::checkMessage($var, \Google\Cloud\AIPlatform\V1\ExportModelOperationMetadata\OutputInfo::class); - $this->output_info = $var; - - return $this; - } - -} - diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ExportModelOperationMetadata/OutputInfo.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ExportModelOperationMetadata/OutputInfo.php deleted file mode 100644 index 19d80412c2f6..000000000000 --- a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ExportModelOperationMetadata/OutputInfo.php +++ /dev/null @@ -1,117 +0,0 @@ -google.cloud.aiplatform.v1.ExportModelOperationMetadata.OutputInfo - */ -class OutputInfo extends \Google\Protobuf\Internal\Message -{ - /** - * Output only. If the Model artifact is being exported to Google Cloud - * Storage this is the full path of the directory created, into which the - * Model files are being written to. - * - * Generated from protobuf field string artifact_output_uri = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $artifact_output_uri = ''; - /** - * Output only. If the Model image is being exported to Google Container - * Registry or Artifact Registry this is the full path of the image created. - * - * Generated from protobuf field string image_output_uri = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $image_output_uri = ''; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $artifact_output_uri - * Output only. If the Model artifact is being exported to Google Cloud - * Storage this is the full path of the directory created, into which the - * Model files are being written to. - * @type string $image_output_uri - * Output only. If the Model image is being exported to Google Container - * Registry or Artifact Registry this is the full path of the image created. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Cloud\Aiplatform\V1\ModelService::initOnce(); - parent::__construct($data); - } - - /** - * Output only. If the Model artifact is being exported to Google Cloud - * Storage this is the full path of the directory created, into which the - * Model files are being written to. - * - * Generated from protobuf field string artifact_output_uri = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return string - */ - public function getArtifactOutputUri() - { - return $this->artifact_output_uri; - } - - /** - * Output only. If the Model artifact is being exported to Google Cloud - * Storage this is the full path of the directory created, into which the - * Model files are being written to. - * - * Generated from protobuf field string artifact_output_uri = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param string $var - * @return $this - */ - public function setArtifactOutputUri($var) - { - GPBUtil::checkString($var, True); - $this->artifact_output_uri = $var; - - return $this; - } - - /** - * Output only. If the Model image is being exported to Google Container - * Registry or Artifact Registry this is the full path of the image created. - * - * Generated from protobuf field string image_output_uri = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return string - */ - public function getImageOutputUri() - { - return $this->image_output_uri; - } - - /** - * Output only. If the Model image is being exported to Google Container - * Registry or Artifact Registry this is the full path of the image created. - * - * Generated from protobuf field string image_output_uri = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param string $var - * @return $this - */ - public function setImageOutputUri($var) - { - GPBUtil::checkString($var, True); - $this->image_output_uri = $var; - - return $this; - } - -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(OutputInfo::class, \Google\Cloud\AIPlatform\V1\ExportModelOperationMetadata_OutputInfo::class); - diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ExportModelRequest.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ExportModelRequest.php deleted file mode 100644 index a5b3b13d0766..000000000000 --- a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ExportModelRequest.php +++ /dev/null @@ -1,138 +0,0 @@ -google.cloud.aiplatform.v1.ExportModelRequest - */ -class ExportModelRequest extends \Google\Protobuf\Internal\Message -{ - /** - * Required. The resource name of the Model to export. - * The resource name may contain version id or version alias to specify the - * version, if no version is specified, the default version will be exported. - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - */ - protected $name = ''; - /** - * Required. The desired output location and configuration. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.ExportModelRequest.OutputConfig output_config = 2 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $output_config = null; - - /** - * @param string $name Required. The resource name of the Model to export. - * The resource name may contain version id or version alias to specify the - * version, if no version is specified, the default version will be exported. Please see - * {@see ModelServiceClient::modelName()} for help formatting this field. - * @param \Google\Cloud\AIPlatform\V1\ExportModelRequest\OutputConfig $outputConfig Required. The desired output location and configuration. - * - * @return \Google\Cloud\AIPlatform\V1\ExportModelRequest - * - * @experimental - */ - public static function build(string $name, \Google\Cloud\AIPlatform\V1\ExportModelRequest\OutputConfig $outputConfig): self - { - return (new self()) - ->setName($name) - ->setOutputConfig($outputConfig); - } - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $name - * Required. The resource name of the Model to export. - * The resource name may contain version id or version alias to specify the - * version, if no version is specified, the default version will be exported. - * @type \Google\Cloud\AIPlatform\V1\ExportModelRequest\OutputConfig $output_config - * Required. The desired output location and configuration. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Cloud\Aiplatform\V1\ModelService::initOnce(); - parent::__construct($data); - } - - /** - * Required. The resource name of the Model to export. - * The resource name may contain version id or version alias to specify the - * version, if no version is specified, the default version will be exported. - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - * @return string - */ - public function getName() - { - return $this->name; - } - - /** - * Required. The resource name of the Model to export. - * The resource name may contain version id or version alias to specify the - * version, if no version is specified, the default version will be exported. - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setName($var) - { - GPBUtil::checkString($var, True); - $this->name = $var; - - return $this; - } - - /** - * Required. The desired output location and configuration. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.ExportModelRequest.OutputConfig output_config = 2 [(.google.api.field_behavior) = REQUIRED]; - * @return \Google\Cloud\AIPlatform\V1\ExportModelRequest\OutputConfig|null - */ - public function getOutputConfig() - { - return $this->output_config; - } - - public function hasOutputConfig() - { - return isset($this->output_config); - } - - public function clearOutputConfig() - { - unset($this->output_config); - } - - /** - * Required. The desired output location and configuration. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.ExportModelRequest.OutputConfig output_config = 2 [(.google.api.field_behavior) = REQUIRED]; - * @param \Google\Cloud\AIPlatform\V1\ExportModelRequest\OutputConfig $var - * @return $this - */ - public function setOutputConfig($var) - { - GPBUtil::checkMessage($var, \Google\Cloud\AIPlatform\V1\ExportModelRequest\OutputConfig::class); - $this->output_config = $var; - - return $this; - } - -} - diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ExportModelRequest/OutputConfig.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ExportModelRequest/OutputConfig.php deleted file mode 100644 index 285f72edb1f7..000000000000 --- a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ExportModelRequest/OutputConfig.php +++ /dev/null @@ -1,214 +0,0 @@ -google.cloud.aiplatform.v1.ExportModelRequest.OutputConfig - */ -class OutputConfig extends \Google\Protobuf\Internal\Message -{ - /** - * The ID of the format in which the Model must be exported. Each Model - * lists the [export formats it - * supports][google.cloud.aiplatform.v1.Model.supported_export_formats]. If - * no value is provided here, then the first from the list of the Model's - * supported formats is used by default. - * - * Generated from protobuf field string export_format_id = 1; - */ - protected $export_format_id = ''; - /** - * The Cloud Storage location where the Model artifact is to be - * written to. Under the directory given as the destination a new one with - * name "`model-export--`", - * where timestamp is in YYYY-MM-DDThh:mm:ss.sssZ ISO-8601 format, - * will be created. Inside, the Model and any of its supporting files - * will be written. - * This field should only be set when the `exportableContent` field of the - * [Model.supported_export_formats] object contains `ARTIFACT`. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.GcsDestination artifact_destination = 3; - */ - protected $artifact_destination = null; - /** - * The Google Container Registry or Artifact Registry uri where the - * Model container image will be copied to. - * This field should only be set when the `exportableContent` field of the - * [Model.supported_export_formats] object contains `IMAGE`. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.ContainerRegistryDestination image_destination = 4; - */ - protected $image_destination = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $export_format_id - * The ID of the format in which the Model must be exported. Each Model - * lists the [export formats it - * supports][google.cloud.aiplatform.v1.Model.supported_export_formats]. If - * no value is provided here, then the first from the list of the Model's - * supported formats is used by default. - * @type \Google\Cloud\AIPlatform\V1\GcsDestination $artifact_destination - * The Cloud Storage location where the Model artifact is to be - * written to. Under the directory given as the destination a new one with - * name "`model-export--`", - * where timestamp is in YYYY-MM-DDThh:mm:ss.sssZ ISO-8601 format, - * will be created. Inside, the Model and any of its supporting files - * will be written. - * This field should only be set when the `exportableContent` field of the - * [Model.supported_export_formats] object contains `ARTIFACT`. - * @type \Google\Cloud\AIPlatform\V1\ContainerRegistryDestination $image_destination - * The Google Container Registry or Artifact Registry uri where the - * Model container image will be copied to. - * This field should only be set when the `exportableContent` field of the - * [Model.supported_export_formats] object contains `IMAGE`. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Cloud\Aiplatform\V1\ModelService::initOnce(); - parent::__construct($data); - } - - /** - * The ID of the format in which the Model must be exported. Each Model - * lists the [export formats it - * supports][google.cloud.aiplatform.v1.Model.supported_export_formats]. If - * no value is provided here, then the first from the list of the Model's - * supported formats is used by default. - * - * Generated from protobuf field string export_format_id = 1; - * @return string - */ - public function getExportFormatId() - { - return $this->export_format_id; - } - - /** - * The ID of the format in which the Model must be exported. Each Model - * lists the [export formats it - * supports][google.cloud.aiplatform.v1.Model.supported_export_formats]. If - * no value is provided here, then the first from the list of the Model's - * supported formats is used by default. - * - * Generated from protobuf field string export_format_id = 1; - * @param string $var - * @return $this - */ - public function setExportFormatId($var) - { - GPBUtil::checkString($var, True); - $this->export_format_id = $var; - - return $this; - } - - /** - * The Cloud Storage location where the Model artifact is to be - * written to. Under the directory given as the destination a new one with - * name "`model-export--`", - * where timestamp is in YYYY-MM-DDThh:mm:ss.sssZ ISO-8601 format, - * will be created. Inside, the Model and any of its supporting files - * will be written. - * This field should only be set when the `exportableContent` field of the - * [Model.supported_export_formats] object contains `ARTIFACT`. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.GcsDestination artifact_destination = 3; - * @return \Google\Cloud\AIPlatform\V1\GcsDestination|null - */ - public function getArtifactDestination() - { - return $this->artifact_destination; - } - - public function hasArtifactDestination() - { - return isset($this->artifact_destination); - } - - public function clearArtifactDestination() - { - unset($this->artifact_destination); - } - - /** - * The Cloud Storage location where the Model artifact is to be - * written to. Under the directory given as the destination a new one with - * name "`model-export--`", - * where timestamp is in YYYY-MM-DDThh:mm:ss.sssZ ISO-8601 format, - * will be created. Inside, the Model and any of its supporting files - * will be written. - * This field should only be set when the `exportableContent` field of the - * [Model.supported_export_formats] object contains `ARTIFACT`. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.GcsDestination artifact_destination = 3; - * @param \Google\Cloud\AIPlatform\V1\GcsDestination $var - * @return $this - */ - public function setArtifactDestination($var) - { - GPBUtil::checkMessage($var, \Google\Cloud\AIPlatform\V1\GcsDestination::class); - $this->artifact_destination = $var; - - return $this; - } - - /** - * The Google Container Registry or Artifact Registry uri where the - * Model container image will be copied to. - * This field should only be set when the `exportableContent` field of the - * [Model.supported_export_formats] object contains `IMAGE`. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.ContainerRegistryDestination image_destination = 4; - * @return \Google\Cloud\AIPlatform\V1\ContainerRegistryDestination|null - */ - public function getImageDestination() - { - return $this->image_destination; - } - - public function hasImageDestination() - { - return isset($this->image_destination); - } - - public function clearImageDestination() - { - unset($this->image_destination); - } - - /** - * The Google Container Registry or Artifact Registry uri where the - * Model container image will be copied to. - * This field should only be set when the `exportableContent` field of the - * [Model.supported_export_formats] object contains `IMAGE`. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.ContainerRegistryDestination image_destination = 4; - * @param \Google\Cloud\AIPlatform\V1\ContainerRegistryDestination $var - * @return $this - */ - public function setImageDestination($var) - { - GPBUtil::checkMessage($var, \Google\Cloud\AIPlatform\V1\ContainerRegistryDestination::class); - $this->image_destination = $var; - - return $this; - } - -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(OutputConfig::class, \Google\Cloud\AIPlatform\V1\ExportModelRequest_OutputConfig::class); - diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ExportModelResponse.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ExportModelResponse.php deleted file mode 100644 index 81110a3fb6f0..000000000000 --- a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ExportModelResponse.php +++ /dev/null @@ -1,35 +0,0 @@ -google.cloud.aiplatform.v1.ExportModelResponse - */ -class ExportModelResponse extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Cloud\Aiplatform\V1\ModelService::initOnce(); - parent::__construct($data); - } - -} - diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ExportTensorboardTimeSeriesDataRequest.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ExportTensorboardTimeSeriesDataRequest.php deleted file mode 100644 index 7951fd4cd072..000000000000 --- a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ExportTensorboardTimeSeriesDataRequest.php +++ /dev/null @@ -1,264 +0,0 @@ -google.cloud.aiplatform.v1.ExportTensorboardTimeSeriesDataRequest - */ -class ExportTensorboardTimeSeriesDataRequest extends \Google\Protobuf\Internal\Message -{ - /** - * Required. The resource name of the TensorboardTimeSeries to export data - * from. Format: - * `projects/{project}/locations/{location}/tensorboards/{tensorboard}/experiments/{experiment}/runs/{run}/timeSeries/{time_series}` - * - * Generated from protobuf field string tensorboard_time_series = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - */ - protected $tensorboard_time_series = ''; - /** - * Exports the TensorboardTimeSeries' data that match the filter expression. - * - * Generated from protobuf field string filter = 2; - */ - protected $filter = ''; - /** - * The maximum number of data points to return per page. - * The default page_size is 1000. Values must be between 1 and 10000. - * Values above 10000 are coerced to 10000. - * - * Generated from protobuf field int32 page_size = 3; - */ - protected $page_size = 0; - /** - * A page token, received from a previous - * [ExportTensorboardTimeSeriesData][google.cloud.aiplatform.v1.TensorboardService.ExportTensorboardTimeSeriesData] - * call. Provide this to retrieve the subsequent page. - * When paginating, all other parameters provided to - * [ExportTensorboardTimeSeriesData][google.cloud.aiplatform.v1.TensorboardService.ExportTensorboardTimeSeriesData] - * must match the call that provided the page token. - * - * Generated from protobuf field string page_token = 4; - */ - protected $page_token = ''; - /** - * Field to use to sort the TensorboardTimeSeries' data. - * By default, TensorboardTimeSeries' data is returned in a pseudo random - * order. - * - * Generated from protobuf field string order_by = 5; - */ - protected $order_by = ''; - - /** - * @param string $tensorboardTimeSeries Required. The resource name of the TensorboardTimeSeries to export data - * from. Format: - * `projects/{project}/locations/{location}/tensorboards/{tensorboard}/experiments/{experiment}/runs/{run}/timeSeries/{time_series}` - * Please see {@see TensorboardServiceClient::tensorboardTimeSeriesName()} for help formatting this field. - * - * @return \Google\Cloud\AIPlatform\V1\ExportTensorboardTimeSeriesDataRequest - * - * @experimental - */ - public static function build(string $tensorboardTimeSeries): self - { - return (new self()) - ->setTensorboardTimeSeries($tensorboardTimeSeries); - } - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $tensorboard_time_series - * Required. The resource name of the TensorboardTimeSeries to export data - * from. Format: - * `projects/{project}/locations/{location}/tensorboards/{tensorboard}/experiments/{experiment}/runs/{run}/timeSeries/{time_series}` - * @type string $filter - * Exports the TensorboardTimeSeries' data that match the filter expression. - * @type int $page_size - * The maximum number of data points to return per page. - * The default page_size is 1000. Values must be between 1 and 10000. - * Values above 10000 are coerced to 10000. - * @type string $page_token - * A page token, received from a previous - * [ExportTensorboardTimeSeriesData][google.cloud.aiplatform.v1.TensorboardService.ExportTensorboardTimeSeriesData] - * call. Provide this to retrieve the subsequent page. - * When paginating, all other parameters provided to - * [ExportTensorboardTimeSeriesData][google.cloud.aiplatform.v1.TensorboardService.ExportTensorboardTimeSeriesData] - * must match the call that provided the page token. - * @type string $order_by - * Field to use to sort the TensorboardTimeSeries' data. - * By default, TensorboardTimeSeries' data is returned in a pseudo random - * order. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Cloud\Aiplatform\V1\TensorboardService::initOnce(); - parent::__construct($data); - } - - /** - * Required. The resource name of the TensorboardTimeSeries to export data - * from. Format: - * `projects/{project}/locations/{location}/tensorboards/{tensorboard}/experiments/{experiment}/runs/{run}/timeSeries/{time_series}` - * - * Generated from protobuf field string tensorboard_time_series = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - * @return string - */ - public function getTensorboardTimeSeries() - { - return $this->tensorboard_time_series; - } - - /** - * Required. The resource name of the TensorboardTimeSeries to export data - * from. Format: - * `projects/{project}/locations/{location}/tensorboards/{tensorboard}/experiments/{experiment}/runs/{run}/timeSeries/{time_series}` - * - * Generated from protobuf field string tensorboard_time_series = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setTensorboardTimeSeries($var) - { - GPBUtil::checkString($var, True); - $this->tensorboard_time_series = $var; - - return $this; - } - - /** - * Exports the TensorboardTimeSeries' data that match the filter expression. - * - * Generated from protobuf field string filter = 2; - * @return string - */ - public function getFilter() - { - return $this->filter; - } - - /** - * Exports the TensorboardTimeSeries' data that match the filter expression. - * - * Generated from protobuf field string filter = 2; - * @param string $var - * @return $this - */ - public function setFilter($var) - { - GPBUtil::checkString($var, True); - $this->filter = $var; - - return $this; - } - - /** - * The maximum number of data points to return per page. - * The default page_size is 1000. Values must be between 1 and 10000. - * Values above 10000 are coerced to 10000. - * - * Generated from protobuf field int32 page_size = 3; - * @return int - */ - public function getPageSize() - { - return $this->page_size; - } - - /** - * The maximum number of data points to return per page. - * The default page_size is 1000. Values must be between 1 and 10000. - * Values above 10000 are coerced to 10000. - * - * Generated from protobuf field int32 page_size = 3; - * @param int $var - * @return $this - */ - public function setPageSize($var) - { - GPBUtil::checkInt32($var); - $this->page_size = $var; - - return $this; - } - - /** - * A page token, received from a previous - * [ExportTensorboardTimeSeriesData][google.cloud.aiplatform.v1.TensorboardService.ExportTensorboardTimeSeriesData] - * call. Provide this to retrieve the subsequent page. - * When paginating, all other parameters provided to - * [ExportTensorboardTimeSeriesData][google.cloud.aiplatform.v1.TensorboardService.ExportTensorboardTimeSeriesData] - * must match the call that provided the page token. - * - * Generated from protobuf field string page_token = 4; - * @return string - */ - public function getPageToken() - { - return $this->page_token; - } - - /** - * A page token, received from a previous - * [ExportTensorboardTimeSeriesData][google.cloud.aiplatform.v1.TensorboardService.ExportTensorboardTimeSeriesData] - * call. Provide this to retrieve the subsequent page. - * When paginating, all other parameters provided to - * [ExportTensorboardTimeSeriesData][google.cloud.aiplatform.v1.TensorboardService.ExportTensorboardTimeSeriesData] - * must match the call that provided the page token. - * - * Generated from protobuf field string page_token = 4; - * @param string $var - * @return $this - */ - public function setPageToken($var) - { - GPBUtil::checkString($var, True); - $this->page_token = $var; - - return $this; - } - - /** - * Field to use to sort the TensorboardTimeSeries' data. - * By default, TensorboardTimeSeries' data is returned in a pseudo random - * order. - * - * Generated from protobuf field string order_by = 5; - * @return string - */ - public function getOrderBy() - { - return $this->order_by; - } - - /** - * Field to use to sort the TensorboardTimeSeries' data. - * By default, TensorboardTimeSeries' data is returned in a pseudo random - * order. - * - * Generated from protobuf field string order_by = 5; - * @param string $var - * @return $this - */ - public function setOrderBy($var) - { - GPBUtil::checkString($var, True); - $this->order_by = $var; - - return $this; - } - -} - diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ExportTensorboardTimeSeriesDataResponse.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ExportTensorboardTimeSeriesDataResponse.php deleted file mode 100644 index 664be2910658..000000000000 --- a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ExportTensorboardTimeSeriesDataResponse.php +++ /dev/null @@ -1,114 +0,0 @@ -google.cloud.aiplatform.v1.ExportTensorboardTimeSeriesDataResponse - */ -class ExportTensorboardTimeSeriesDataResponse extends \Google\Protobuf\Internal\Message -{ - /** - * The returned time series data points. - * - * Generated from protobuf field repeated .google.cloud.aiplatform.v1.TimeSeriesDataPoint time_series_data_points = 1; - */ - private $time_series_data_points; - /** - * A token, which can be sent as - * [page_token][google.cloud.aiplatform.v1.ExportTensorboardTimeSeriesDataRequest.page_token] - * to retrieve the next page. If this field is omitted, there are no - * subsequent pages. - * - * Generated from protobuf field string next_page_token = 2; - */ - protected $next_page_token = ''; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type array<\Google\Cloud\AIPlatform\V1\TimeSeriesDataPoint>|\Google\Protobuf\Internal\RepeatedField $time_series_data_points - * The returned time series data points. - * @type string $next_page_token - * A token, which can be sent as - * [page_token][google.cloud.aiplatform.v1.ExportTensorboardTimeSeriesDataRequest.page_token] - * to retrieve the next page. If this field is omitted, there are no - * subsequent pages. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Cloud\Aiplatform\V1\TensorboardService::initOnce(); - parent::__construct($data); - } - - /** - * The returned time series data points. - * - * Generated from protobuf field repeated .google.cloud.aiplatform.v1.TimeSeriesDataPoint time_series_data_points = 1; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getTimeSeriesDataPoints() - { - return $this->time_series_data_points; - } - - /** - * The returned time series data points. - * - * Generated from protobuf field repeated .google.cloud.aiplatform.v1.TimeSeriesDataPoint time_series_data_points = 1; - * @param array<\Google\Cloud\AIPlatform\V1\TimeSeriesDataPoint>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setTimeSeriesDataPoints($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\AIPlatform\V1\TimeSeriesDataPoint::class); - $this->time_series_data_points = $arr; - - return $this; - } - - /** - * A token, which can be sent as - * [page_token][google.cloud.aiplatform.v1.ExportTensorboardTimeSeriesDataRequest.page_token] - * to retrieve the next page. If this field is omitted, there are no - * subsequent pages. - * - * Generated from protobuf field string next_page_token = 2; - * @return string - */ - public function getNextPageToken() - { - return $this->next_page_token; - } - - /** - * A token, which can be sent as - * [page_token][google.cloud.aiplatform.v1.ExportTensorboardTimeSeriesDataRequest.page_token] - * to retrieve the next page. If this field is omitted, there are no - * subsequent pages. - * - * Generated from protobuf field string next_page_token = 2; - * @param string $var - * @return $this - */ - public function setNextPageToken($var) - { - GPBUtil::checkString($var, True); - $this->next_page_token = $var; - - return $this; - } - -} - diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/Feature.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/Feature.php deleted file mode 100644 index 99e03e3bd4f5..000000000000 --- a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/Feature.php +++ /dev/null @@ -1,548 +0,0 @@ -google.cloud.aiplatform.v1.Feature - */ -class Feature extends \Google\Protobuf\Internal\Message -{ - /** - * Immutable. Name of the Feature. - * Format: - * `projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entity_type}/features/{feature}` - * `projects/{project}/locations/{location}/featureGroups/{feature_group}/features/{feature}` - * The last part feature is assigned by the client. The feature can be up to - * 64 characters long and can consist only of ASCII Latin letters A-Z and a-z, - * underscore(_), and ASCII digits 0-9 starting with a letter. The value will - * be unique given an entity type. - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = IMMUTABLE]; - */ - protected $name = ''; - /** - * Description of the Feature. - * - * Generated from protobuf field string description = 2; - */ - protected $description = ''; - /** - * Immutable. Only applicable for Vertex AI Feature Store (Legacy). - * Type of Feature value. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.Feature.ValueType value_type = 3 [(.google.api.field_behavior) = IMMUTABLE]; - */ - protected $value_type = 0; - /** - * Output only. Only applicable for Vertex AI Feature Store (Legacy). - * Timestamp when this EntityType was created. - * - * Generated from protobuf field .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $create_time = null; - /** - * Output only. Only applicable for Vertex AI Feature Store (Legacy). - * Timestamp when this EntityType was most recently updated. - * - * Generated from protobuf field .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $update_time = null; - /** - * Optional. The labels with user-defined metadata to organize your Features. - * Label keys and values can be no longer than 64 characters - * (Unicode codepoints), can only contain lowercase letters, numeric - * characters, underscores and dashes. International characters are allowed. - * See https://goo.gl/xmQnxf for more information on and examples of labels. - * No more than 64 user labels can be associated with one Feature (System - * labels are excluded)." - * System reserved label keys are prefixed with "aiplatform.googleapis.com/" - * and are immutable. - * - * Generated from protobuf field map labels = 6 [(.google.api.field_behavior) = OPTIONAL]; - */ - private $labels; - /** - * Used to perform a consistent read-modify-write updates. If not set, a blind - * "overwrite" update happens. - * - * Generated from protobuf field string etag = 7; - */ - protected $etag = ''; - /** - * Optional. Only applicable for Vertex AI Feature Store (Legacy). - * If not set, use the monitoring_config defined for the EntityType this - * Feature belongs to. - * Only Features with type - * ([Feature.ValueType][google.cloud.aiplatform.v1.Feature.ValueType]) BOOL, - * STRING, DOUBLE or INT64 can enable monitoring. - * If set to true, all types of data monitoring are disabled despite the - * config on EntityType. - * - * Generated from protobuf field bool disable_monitoring = 12 [(.google.api.field_behavior) = OPTIONAL]; - */ - protected $disable_monitoring = false; - /** - * Output only. Only applicable for Vertex AI Feature Store (Legacy). - * The list of historical stats and anomalies with specified objectives. - * - * Generated from protobuf field repeated .google.cloud.aiplatform.v1.Feature.MonitoringStatsAnomaly monitoring_stats_anomalies = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - private $monitoring_stats_anomalies; - /** - * Only applicable for Vertex AI Feature Store. - * The name of the BigQuery Table/View column hosting data for this version. - * If no value is provided, will use feature_id. - * - * Generated from protobuf field string version_column_name = 106; - */ - protected $version_column_name = ''; - /** - * Entity responsible for maintaining this feature. Can be comma separated - * list of email addresses or URIs. - * - * Generated from protobuf field string point_of_contact = 107; - */ - protected $point_of_contact = ''; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $name - * Immutable. Name of the Feature. - * Format: - * `projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entity_type}/features/{feature}` - * `projects/{project}/locations/{location}/featureGroups/{feature_group}/features/{feature}` - * The last part feature is assigned by the client. The feature can be up to - * 64 characters long and can consist only of ASCII Latin letters A-Z and a-z, - * underscore(_), and ASCII digits 0-9 starting with a letter. The value will - * be unique given an entity type. - * @type string $description - * Description of the Feature. - * @type int $value_type - * Immutable. Only applicable for Vertex AI Feature Store (Legacy). - * Type of Feature value. - * @type \Google\Protobuf\Timestamp $create_time - * Output only. Only applicable for Vertex AI Feature Store (Legacy). - * Timestamp when this EntityType was created. - * @type \Google\Protobuf\Timestamp $update_time - * Output only. Only applicable for Vertex AI Feature Store (Legacy). - * Timestamp when this EntityType was most recently updated. - * @type array|\Google\Protobuf\Internal\MapField $labels - * Optional. The labels with user-defined metadata to organize your Features. - * Label keys and values can be no longer than 64 characters - * (Unicode codepoints), can only contain lowercase letters, numeric - * characters, underscores and dashes. International characters are allowed. - * See https://goo.gl/xmQnxf for more information on and examples of labels. - * No more than 64 user labels can be associated with one Feature (System - * labels are excluded)." - * System reserved label keys are prefixed with "aiplatform.googleapis.com/" - * and are immutable. - * @type string $etag - * Used to perform a consistent read-modify-write updates. If not set, a blind - * "overwrite" update happens. - * @type bool $disable_monitoring - * Optional. Only applicable for Vertex AI Feature Store (Legacy). - * If not set, use the monitoring_config defined for the EntityType this - * Feature belongs to. - * Only Features with type - * ([Feature.ValueType][google.cloud.aiplatform.v1.Feature.ValueType]) BOOL, - * STRING, DOUBLE or INT64 can enable monitoring. - * If set to true, all types of data monitoring are disabled despite the - * config on EntityType. - * @type array<\Google\Cloud\AIPlatform\V1\Feature\MonitoringStatsAnomaly>|\Google\Protobuf\Internal\RepeatedField $monitoring_stats_anomalies - * Output only. Only applicable for Vertex AI Feature Store (Legacy). - * The list of historical stats and anomalies with specified objectives. - * @type string $version_column_name - * Only applicable for Vertex AI Feature Store. - * The name of the BigQuery Table/View column hosting data for this version. - * If no value is provided, will use feature_id. - * @type string $point_of_contact - * Entity responsible for maintaining this feature. Can be comma separated - * list of email addresses or URIs. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Cloud\Aiplatform\V1\Feature::initOnce(); - parent::__construct($data); - } - - /** - * Immutable. Name of the Feature. - * Format: - * `projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entity_type}/features/{feature}` - * `projects/{project}/locations/{location}/featureGroups/{feature_group}/features/{feature}` - * The last part feature is assigned by the client. The feature can be up to - * 64 characters long and can consist only of ASCII Latin letters A-Z and a-z, - * underscore(_), and ASCII digits 0-9 starting with a letter. The value will - * be unique given an entity type. - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = IMMUTABLE]; - * @return string - */ - public function getName() - { - return $this->name; - } - - /** - * Immutable. Name of the Feature. - * Format: - * `projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entity_type}/features/{feature}` - * `projects/{project}/locations/{location}/featureGroups/{feature_group}/features/{feature}` - * The last part feature is assigned by the client. The feature can be up to - * 64 characters long and can consist only of ASCII Latin letters A-Z and a-z, - * underscore(_), and ASCII digits 0-9 starting with a letter. The value will - * be unique given an entity type. - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = IMMUTABLE]; - * @param string $var - * @return $this - */ - public function setName($var) - { - GPBUtil::checkString($var, True); - $this->name = $var; - - return $this; - } - - /** - * Description of the Feature. - * - * Generated from protobuf field string description = 2; - * @return string - */ - public function getDescription() - { - return $this->description; - } - - /** - * Description of the Feature. - * - * Generated from protobuf field string description = 2; - * @param string $var - * @return $this - */ - public function setDescription($var) - { - GPBUtil::checkString($var, True); - $this->description = $var; - - return $this; - } - - /** - * Immutable. Only applicable for Vertex AI Feature Store (Legacy). - * Type of Feature value. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.Feature.ValueType value_type = 3 [(.google.api.field_behavior) = IMMUTABLE]; - * @return int - */ - public function getValueType() - { - return $this->value_type; - } - - /** - * Immutable. Only applicable for Vertex AI Feature Store (Legacy). - * Type of Feature value. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.Feature.ValueType value_type = 3 [(.google.api.field_behavior) = IMMUTABLE]; - * @param int $var - * @return $this - */ - public function setValueType($var) - { - GPBUtil::checkEnum($var, \Google\Cloud\AIPlatform\V1\Feature\ValueType::class); - $this->value_type = $var; - - return $this; - } - - /** - * Output only. Only applicable for Vertex AI Feature Store (Legacy). - * Timestamp when this EntityType was created. - * - * Generated from protobuf field .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return \Google\Protobuf\Timestamp|null - */ - public function getCreateTime() - { - return $this->create_time; - } - - public function hasCreateTime() - { - return isset($this->create_time); - } - - public function clearCreateTime() - { - unset($this->create_time); - } - - /** - * Output only. Only applicable for Vertex AI Feature Store (Legacy). - * Timestamp when this EntityType was created. - * - * Generated from protobuf field .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param \Google\Protobuf\Timestamp $var - * @return $this - */ - public function setCreateTime($var) - { - GPBUtil::checkMessage($var, \Google\Protobuf\Timestamp::class); - $this->create_time = $var; - - return $this; - } - - /** - * Output only. Only applicable for Vertex AI Feature Store (Legacy). - * Timestamp when this EntityType was most recently updated. - * - * Generated from protobuf field .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return \Google\Protobuf\Timestamp|null - */ - public function getUpdateTime() - { - return $this->update_time; - } - - public function hasUpdateTime() - { - return isset($this->update_time); - } - - public function clearUpdateTime() - { - unset($this->update_time); - } - - /** - * Output only. Only applicable for Vertex AI Feature Store (Legacy). - * Timestamp when this EntityType was most recently updated. - * - * Generated from protobuf field .google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param \Google\Protobuf\Timestamp $var - * @return $this - */ - public function setUpdateTime($var) - { - GPBUtil::checkMessage($var, \Google\Protobuf\Timestamp::class); - $this->update_time = $var; - - return $this; - } - - /** - * Optional. The labels with user-defined metadata to organize your Features. - * Label keys and values can be no longer than 64 characters - * (Unicode codepoints), can only contain lowercase letters, numeric - * characters, underscores and dashes. International characters are allowed. - * See https://goo.gl/xmQnxf for more information on and examples of labels. - * No more than 64 user labels can be associated with one Feature (System - * labels are excluded)." - * System reserved label keys are prefixed with "aiplatform.googleapis.com/" - * and are immutable. - * - * Generated from protobuf field map labels = 6 [(.google.api.field_behavior) = OPTIONAL]; - * @return \Google\Protobuf\Internal\MapField - */ - public function getLabels() - { - return $this->labels; - } - - /** - * Optional. The labels with user-defined metadata to organize your Features. - * Label keys and values can be no longer than 64 characters - * (Unicode codepoints), can only contain lowercase letters, numeric - * characters, underscores and dashes. International characters are allowed. - * See https://goo.gl/xmQnxf for more information on and examples of labels. - * No more than 64 user labels can be associated with one Feature (System - * labels are excluded)." - * System reserved label keys are prefixed with "aiplatform.googleapis.com/" - * and are immutable. - * - * Generated from protobuf field map labels = 6 [(.google.api.field_behavior) = OPTIONAL]; - * @param array|\Google\Protobuf\Internal\MapField $var - * @return $this - */ - public function setLabels($var) - { - $arr = GPBUtil::checkMapField($var, \Google\Protobuf\Internal\GPBType::STRING, \Google\Protobuf\Internal\GPBType::STRING); - $this->labels = $arr; - - return $this; - } - - /** - * Used to perform a consistent read-modify-write updates. If not set, a blind - * "overwrite" update happens. - * - * Generated from protobuf field string etag = 7; - * @return string - */ - public function getEtag() - { - return $this->etag; - } - - /** - * Used to perform a consistent read-modify-write updates. If not set, a blind - * "overwrite" update happens. - * - * Generated from protobuf field string etag = 7; - * @param string $var - * @return $this - */ - public function setEtag($var) - { - GPBUtil::checkString($var, True); - $this->etag = $var; - - return $this; - } - - /** - * Optional. Only applicable for Vertex AI Feature Store (Legacy). - * If not set, use the monitoring_config defined for the EntityType this - * Feature belongs to. - * Only Features with type - * ([Feature.ValueType][google.cloud.aiplatform.v1.Feature.ValueType]) BOOL, - * STRING, DOUBLE or INT64 can enable monitoring. - * If set to true, all types of data monitoring are disabled despite the - * config on EntityType. - * - * Generated from protobuf field bool disable_monitoring = 12 [(.google.api.field_behavior) = OPTIONAL]; - * @return bool - */ - public function getDisableMonitoring() - { - return $this->disable_monitoring; - } - - /** - * Optional. Only applicable for Vertex AI Feature Store (Legacy). - * If not set, use the monitoring_config defined for the EntityType this - * Feature belongs to. - * Only Features with type - * ([Feature.ValueType][google.cloud.aiplatform.v1.Feature.ValueType]) BOOL, - * STRING, DOUBLE or INT64 can enable monitoring. - * If set to true, all types of data monitoring are disabled despite the - * config on EntityType. - * - * Generated from protobuf field bool disable_monitoring = 12 [(.google.api.field_behavior) = OPTIONAL]; - * @param bool $var - * @return $this - */ - public function setDisableMonitoring($var) - { - GPBUtil::checkBool($var); - $this->disable_monitoring = $var; - - return $this; - } - - /** - * Output only. Only applicable for Vertex AI Feature Store (Legacy). - * The list of historical stats and anomalies with specified objectives. - * - * Generated from protobuf field repeated .google.cloud.aiplatform.v1.Feature.MonitoringStatsAnomaly monitoring_stats_anomalies = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getMonitoringStatsAnomalies() - { - return $this->monitoring_stats_anomalies; - } - - /** - * Output only. Only applicable for Vertex AI Feature Store (Legacy). - * The list of historical stats and anomalies with specified objectives. - * - * Generated from protobuf field repeated .google.cloud.aiplatform.v1.Feature.MonitoringStatsAnomaly monitoring_stats_anomalies = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param array<\Google\Cloud\AIPlatform\V1\Feature\MonitoringStatsAnomaly>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setMonitoringStatsAnomalies($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\AIPlatform\V1\Feature\MonitoringStatsAnomaly::class); - $this->monitoring_stats_anomalies = $arr; - - return $this; - } - - /** - * Only applicable for Vertex AI Feature Store. - * The name of the BigQuery Table/View column hosting data for this version. - * If no value is provided, will use feature_id. - * - * Generated from protobuf field string version_column_name = 106; - * @return string - */ - public function getVersionColumnName() - { - return $this->version_column_name; - } - - /** - * Only applicable for Vertex AI Feature Store. - * The name of the BigQuery Table/View column hosting data for this version. - * If no value is provided, will use feature_id. - * - * Generated from protobuf field string version_column_name = 106; - * @param string $var - * @return $this - */ - public function setVersionColumnName($var) - { - GPBUtil::checkString($var, True); - $this->version_column_name = $var; - - return $this; - } - - /** - * Entity responsible for maintaining this feature. Can be comma separated - * list of email addresses or URIs. - * - * Generated from protobuf field string point_of_contact = 107; - * @return string - */ - public function getPointOfContact() - { - return $this->point_of_contact; - } - - /** - * Entity responsible for maintaining this feature. Can be comma separated - * list of email addresses or URIs. - * - * Generated from protobuf field string point_of_contact = 107; - * @param string $var - * @return $this - */ - public function setPointOfContact($var) - { - GPBUtil::checkString($var, True); - $this->point_of_contact = $var; - - return $this; - } - -} - diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/Feature/MonitoringStatsAnomaly.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/Feature/MonitoringStatsAnomaly.php deleted file mode 100644 index 2c67039741a5..000000000000 --- a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/Feature/MonitoringStatsAnomaly.php +++ /dev/null @@ -1,120 +0,0 @@ -google.cloud.aiplatform.v1.Feature.MonitoringStatsAnomaly - */ -class MonitoringStatsAnomaly extends \Google\Protobuf\Internal\Message -{ - /** - * Output only. The objective for each stats. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.Feature.MonitoringStatsAnomaly.Objective objective = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $objective = 0; - /** - * Output only. The stats and anomalies generated at specific timestamp. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.FeatureStatsAnomaly feature_stats_anomaly = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $feature_stats_anomaly = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type int $objective - * Output only. The objective for each stats. - * @type \Google\Cloud\AIPlatform\V1\FeatureStatsAnomaly $feature_stats_anomaly - * Output only. The stats and anomalies generated at specific timestamp. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Cloud\Aiplatform\V1\Feature::initOnce(); - parent::__construct($data); - } - - /** - * Output only. The objective for each stats. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.Feature.MonitoringStatsAnomaly.Objective objective = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return int - */ - public function getObjective() - { - return $this->objective; - } - - /** - * Output only. The objective for each stats. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.Feature.MonitoringStatsAnomaly.Objective objective = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param int $var - * @return $this - */ - public function setObjective($var) - { - GPBUtil::checkEnum($var, \Google\Cloud\AIPlatform\V1\Feature\MonitoringStatsAnomaly\Objective::class); - $this->objective = $var; - - return $this; - } - - /** - * Output only. The stats and anomalies generated at specific timestamp. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.FeatureStatsAnomaly feature_stats_anomaly = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return \Google\Cloud\AIPlatform\V1\FeatureStatsAnomaly|null - */ - public function getFeatureStatsAnomaly() - { - return $this->feature_stats_anomaly; - } - - public function hasFeatureStatsAnomaly() - { - return isset($this->feature_stats_anomaly); - } - - public function clearFeatureStatsAnomaly() - { - unset($this->feature_stats_anomaly); - } - - /** - * Output only. The stats and anomalies generated at specific timestamp. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.FeatureStatsAnomaly feature_stats_anomaly = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param \Google\Cloud\AIPlatform\V1\FeatureStatsAnomaly $var - * @return $this - */ - public function setFeatureStatsAnomaly($var) - { - GPBUtil::checkMessage($var, \Google\Cloud\AIPlatform\V1\FeatureStatsAnomaly::class); - $this->feature_stats_anomaly = $var; - - return $this; - } - -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(MonitoringStatsAnomaly::class, \Google\Cloud\AIPlatform\V1\Feature_MonitoringStatsAnomaly::class); - diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/Feature/MonitoringStatsAnomaly/Objective.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/Feature/MonitoringStatsAnomaly/Objective.php deleted file mode 100644 index 0b58bdcd70f3..000000000000 --- a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/Feature/MonitoringStatsAnomaly/Objective.php +++ /dev/null @@ -1,67 +0,0 @@ -google.cloud.aiplatform.v1.Feature.MonitoringStatsAnomaly.Objective - */ -class Objective -{ - /** - * If it's OBJECTIVE_UNSPECIFIED, monitoring_stats will be empty. - * - * Generated from protobuf enum OBJECTIVE_UNSPECIFIED = 0; - */ - const OBJECTIVE_UNSPECIFIED = 0; - /** - * Stats are generated by Import Feature Analysis. - * - * Generated from protobuf enum IMPORT_FEATURE_ANALYSIS = 1; - */ - const IMPORT_FEATURE_ANALYSIS = 1; - /** - * Stats are generated by Snapshot Analysis. - * - * Generated from protobuf enum SNAPSHOT_ANALYSIS = 2; - */ - const SNAPSHOT_ANALYSIS = 2; - - private static $valueToName = [ - self::OBJECTIVE_UNSPECIFIED => 'OBJECTIVE_UNSPECIFIED', - self::IMPORT_FEATURE_ANALYSIS => 'IMPORT_FEATURE_ANALYSIS', - self::SNAPSHOT_ANALYSIS => 'SNAPSHOT_ANALYSIS', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(Objective::class, \Google\Cloud\AIPlatform\V1\Feature_MonitoringStatsAnomaly_Objective::class); - diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/Feature/ValueType.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/Feature/ValueType.php deleted file mode 100644 index 73e64454a252..000000000000 --- a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/Feature/ValueType.php +++ /dev/null @@ -1,121 +0,0 @@ -google.cloud.aiplatform.v1.Feature.ValueType - */ -class ValueType -{ - /** - * The value type is unspecified. - * - * Generated from protobuf enum VALUE_TYPE_UNSPECIFIED = 0; - */ - const VALUE_TYPE_UNSPECIFIED = 0; - /** - * Used for Feature that is a boolean. - * - * Generated from protobuf enum BOOL = 1; - */ - const BOOL = 1; - /** - * Used for Feature that is a list of boolean. - * - * Generated from protobuf enum BOOL_ARRAY = 2; - */ - const BOOL_ARRAY = 2; - /** - * Used for Feature that is double. - * - * Generated from protobuf enum DOUBLE = 3; - */ - const DOUBLE = 3; - /** - * Used for Feature that is a list of double. - * - * Generated from protobuf enum DOUBLE_ARRAY = 4; - */ - const DOUBLE_ARRAY = 4; - /** - * Used for Feature that is INT64. - * - * Generated from protobuf enum INT64 = 9; - */ - const INT64 = 9; - /** - * Used for Feature that is a list of INT64. - * - * Generated from protobuf enum INT64_ARRAY = 10; - */ - const INT64_ARRAY = 10; - /** - * Used for Feature that is string. - * - * Generated from protobuf enum STRING = 11; - */ - const STRING = 11; - /** - * Used for Feature that is a list of String. - * - * Generated from protobuf enum STRING_ARRAY = 12; - */ - const STRING_ARRAY = 12; - /** - * Used for Feature that is bytes. - * - * Generated from protobuf enum BYTES = 13; - */ - const BYTES = 13; - /** - * Used for Feature that is struct. - * - * Generated from protobuf enum STRUCT = 14; - */ - const STRUCT = 14; - - private static $valueToName = [ - self::VALUE_TYPE_UNSPECIFIED => 'VALUE_TYPE_UNSPECIFIED', - self::BOOL => 'BOOL', - self::BOOL_ARRAY => 'BOOL_ARRAY', - self::DOUBLE => 'DOUBLE', - self::DOUBLE_ARRAY => 'DOUBLE_ARRAY', - self::INT64 => 'INT64', - self::INT64_ARRAY => 'INT64_ARRAY', - self::STRING => 'STRING', - self::STRING_ARRAY => 'STRING_ARRAY', - self::BYTES => 'BYTES', - self::STRUCT => 'STRUCT', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(ValueType::class, \Google\Cloud\AIPlatform\V1\Feature_ValueType::class); - diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/FeatureGroup.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/FeatureGroup.php deleted file mode 100644 index 0893a31fd515..000000000000 --- a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/FeatureGroup.php +++ /dev/null @@ -1,348 +0,0 @@ -google.cloud.aiplatform.v1.FeatureGroup - */ -class FeatureGroup extends \Google\Protobuf\Internal\Message -{ - /** - * Identifier. Name of the FeatureGroup. Format: - * `projects/{project}/locations/{location}/featureGroups/{featureGroup}` - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; - */ - protected $name = ''; - /** - * Output only. Timestamp when this FeatureGroup was created. - * - * Generated from protobuf field .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $create_time = null; - /** - * Output only. Timestamp when this FeatureGroup was last updated. - * - * Generated from protobuf field .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $update_time = null; - /** - * Optional. Used to perform consistent read-modify-write updates. If not set, - * a blind "overwrite" update happens. - * - * Generated from protobuf field string etag = 4 [(.google.api.field_behavior) = OPTIONAL]; - */ - protected $etag = ''; - /** - * Optional. The labels with user-defined metadata to organize your - * FeatureGroup. - * Label keys and values can be no longer than 64 characters - * (Unicode codepoints), can only contain lowercase letters, numeric - * characters, underscores and dashes. International characters are allowed. - * See https://goo.gl/xmQnxf for more information on and examples of labels. - * No more than 64 user labels can be associated with one - * FeatureGroup(System labels are excluded)." System reserved label keys - * are prefixed with "aiplatform.googleapis.com/" and are immutable. - * - * Generated from protobuf field map labels = 5 [(.google.api.field_behavior) = OPTIONAL]; - */ - private $labels; - /** - * Optional. Description of the FeatureGroup. - * - * Generated from protobuf field string description = 6 [(.google.api.field_behavior) = OPTIONAL]; - */ - protected $description = ''; - protected $source; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type \Google\Cloud\AIPlatform\V1\FeatureGroup\BigQuery $big_query - * Indicates that features for this group come from BigQuery Table/View. - * By default treats the source as a sparse time series source. The BigQuery - * source table or view must have at least one entity ID column and a column - * named `feature_timestamp`. - * @type string $name - * Identifier. Name of the FeatureGroup. Format: - * `projects/{project}/locations/{location}/featureGroups/{featureGroup}` - * @type \Google\Protobuf\Timestamp $create_time - * Output only. Timestamp when this FeatureGroup was created. - * @type \Google\Protobuf\Timestamp $update_time - * Output only. Timestamp when this FeatureGroup was last updated. - * @type string $etag - * Optional. Used to perform consistent read-modify-write updates. If not set, - * a blind "overwrite" update happens. - * @type array|\Google\Protobuf\Internal\MapField $labels - * Optional. The labels with user-defined metadata to organize your - * FeatureGroup. - * Label keys and values can be no longer than 64 characters - * (Unicode codepoints), can only contain lowercase letters, numeric - * characters, underscores and dashes. International characters are allowed. - * See https://goo.gl/xmQnxf for more information on and examples of labels. - * No more than 64 user labels can be associated with one - * FeatureGroup(System labels are excluded)." System reserved label keys - * are prefixed with "aiplatform.googleapis.com/" and are immutable. - * @type string $description - * Optional. Description of the FeatureGroup. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Cloud\Aiplatform\V1\FeatureGroup::initOnce(); - parent::__construct($data); - } - - /** - * Indicates that features for this group come from BigQuery Table/View. - * By default treats the source as a sparse time series source. The BigQuery - * source table or view must have at least one entity ID column and a column - * named `feature_timestamp`. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.FeatureGroup.BigQuery big_query = 7; - * @return \Google\Cloud\AIPlatform\V1\FeatureGroup\BigQuery|null - */ - public function getBigQuery() - { - return $this->readOneof(7); - } - - public function hasBigQuery() - { - return $this->hasOneof(7); - } - - /** - * Indicates that features for this group come from BigQuery Table/View. - * By default treats the source as a sparse time series source. The BigQuery - * source table or view must have at least one entity ID column and a column - * named `feature_timestamp`. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.FeatureGroup.BigQuery big_query = 7; - * @param \Google\Cloud\AIPlatform\V1\FeatureGroup\BigQuery $var - * @return $this - */ - public function setBigQuery($var) - { - GPBUtil::checkMessage($var, \Google\Cloud\AIPlatform\V1\FeatureGroup\BigQuery::class); - $this->writeOneof(7, $var); - - return $this; - } - - /** - * Identifier. Name of the FeatureGroup. Format: - * `projects/{project}/locations/{location}/featureGroups/{featureGroup}` - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; - * @return string - */ - public function getName() - { - return $this->name; - } - - /** - * Identifier. Name of the FeatureGroup. Format: - * `projects/{project}/locations/{location}/featureGroups/{featureGroup}` - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; - * @param string $var - * @return $this - */ - public function setName($var) - { - GPBUtil::checkString($var, True); - $this->name = $var; - - return $this; - } - - /** - * Output only. Timestamp when this FeatureGroup was created. - * - * Generated from protobuf field .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return \Google\Protobuf\Timestamp|null - */ - public function getCreateTime() - { - return $this->create_time; - } - - public function hasCreateTime() - { - return isset($this->create_time); - } - - public function clearCreateTime() - { - unset($this->create_time); - } - - /** - * Output only. Timestamp when this FeatureGroup was created. - * - * Generated from protobuf field .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param \Google\Protobuf\Timestamp $var - * @return $this - */ - public function setCreateTime($var) - { - GPBUtil::checkMessage($var, \Google\Protobuf\Timestamp::class); - $this->create_time = $var; - - return $this; - } - - /** - * Output only. Timestamp when this FeatureGroup was last updated. - * - * Generated from protobuf field .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return \Google\Protobuf\Timestamp|null - */ - public function getUpdateTime() - { - return $this->update_time; - } - - public function hasUpdateTime() - { - return isset($this->update_time); - } - - public function clearUpdateTime() - { - unset($this->update_time); - } - - /** - * Output only. Timestamp when this FeatureGroup was last updated. - * - * Generated from protobuf field .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param \Google\Protobuf\Timestamp $var - * @return $this - */ - public function setUpdateTime($var) - { - GPBUtil::checkMessage($var, \Google\Protobuf\Timestamp::class); - $this->update_time = $var; - - return $this; - } - - /** - * Optional. Used to perform consistent read-modify-write updates. If not set, - * a blind "overwrite" update happens. - * - * Generated from protobuf field string etag = 4 [(.google.api.field_behavior) = OPTIONAL]; - * @return string - */ - public function getEtag() - { - return $this->etag; - } - - /** - * Optional. Used to perform consistent read-modify-write updates. If not set, - * a blind "overwrite" update happens. - * - * Generated from protobuf field string etag = 4 [(.google.api.field_behavior) = OPTIONAL]; - * @param string $var - * @return $this - */ - public function setEtag($var) - { - GPBUtil::checkString($var, True); - $this->etag = $var; - - return $this; - } - - /** - * Optional. The labels with user-defined metadata to organize your - * FeatureGroup. - * Label keys and values can be no longer than 64 characters - * (Unicode codepoints), can only contain lowercase letters, numeric - * characters, underscores and dashes. International characters are allowed. - * See https://goo.gl/xmQnxf for more information on and examples of labels. - * No more than 64 user labels can be associated with one - * FeatureGroup(System labels are excluded)." System reserved label keys - * are prefixed with "aiplatform.googleapis.com/" and are immutable. - * - * Generated from protobuf field map labels = 5 [(.google.api.field_behavior) = OPTIONAL]; - * @return \Google\Protobuf\Internal\MapField - */ - public function getLabels() - { - return $this->labels; - } - - /** - * Optional. The labels with user-defined metadata to organize your - * FeatureGroup. - * Label keys and values can be no longer than 64 characters - * (Unicode codepoints), can only contain lowercase letters, numeric - * characters, underscores and dashes. International characters are allowed. - * See https://goo.gl/xmQnxf for more information on and examples of labels. - * No more than 64 user labels can be associated with one - * FeatureGroup(System labels are excluded)." System reserved label keys - * are prefixed with "aiplatform.googleapis.com/" and are immutable. - * - * Generated from protobuf field map labels = 5 [(.google.api.field_behavior) = OPTIONAL]; - * @param array|\Google\Protobuf\Internal\MapField $var - * @return $this - */ - public function setLabels($var) - { - $arr = GPBUtil::checkMapField($var, \Google\Protobuf\Internal\GPBType::STRING, \Google\Protobuf\Internal\GPBType::STRING); - $this->labels = $arr; - - return $this; - } - - /** - * Optional. Description of the FeatureGroup. - * - * Generated from protobuf field string description = 6 [(.google.api.field_behavior) = OPTIONAL]; - * @return string - */ - public function getDescription() - { - return $this->description; - } - - /** - * Optional. Description of the FeatureGroup. - * - * Generated from protobuf field string description = 6 [(.google.api.field_behavior) = OPTIONAL]; - * @param string $var - * @return $this - */ - public function setDescription($var) - { - GPBUtil::checkString($var, True); - $this->description = $var; - - return $this; - } - - /** - * @return string - */ - public function getSource() - { - return $this->whichOneof("source"); - } - -} - diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/FeatureGroup/BigQuery.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/FeatureGroup/BigQuery.php deleted file mode 100644 index 6c38bbbf31e1..000000000000 --- a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/FeatureGroup/BigQuery.php +++ /dev/null @@ -1,122 +0,0 @@ -google.cloud.aiplatform.v1.FeatureGroup.BigQuery - */ -class BigQuery extends \Google\Protobuf\Internal\Message -{ - /** - * Required. Immutable. The BigQuery source URI that points to either a - * BigQuery Table or View. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.BigQuerySource big_query_source = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED]; - */ - protected $big_query_source = null; - /** - * Optional. Columns to construct entity_id / row keys. - * If not provided defaults to `entity_id`. - * - * Generated from protobuf field repeated string entity_id_columns = 2 [(.google.api.field_behavior) = OPTIONAL]; - */ - private $entity_id_columns; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type \Google\Cloud\AIPlatform\V1\BigQuerySource $big_query_source - * Required. Immutable. The BigQuery source URI that points to either a - * BigQuery Table or View. - * @type array|\Google\Protobuf\Internal\RepeatedField $entity_id_columns - * Optional. Columns to construct entity_id / row keys. - * If not provided defaults to `entity_id`. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Cloud\Aiplatform\V1\FeatureGroup::initOnce(); - parent::__construct($data); - } - - /** - * Required. Immutable. The BigQuery source URI that points to either a - * BigQuery Table or View. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.BigQuerySource big_query_source = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED]; - * @return \Google\Cloud\AIPlatform\V1\BigQuerySource|null - */ - public function getBigQuerySource() - { - return $this->big_query_source; - } - - public function hasBigQuerySource() - { - return isset($this->big_query_source); - } - - public function clearBigQuerySource() - { - unset($this->big_query_source); - } - - /** - * Required. Immutable. The BigQuery source URI that points to either a - * BigQuery Table or View. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.BigQuerySource big_query_source = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED]; - * @param \Google\Cloud\AIPlatform\V1\BigQuerySource $var - * @return $this - */ - public function setBigQuerySource($var) - { - GPBUtil::checkMessage($var, \Google\Cloud\AIPlatform\V1\BigQuerySource::class); - $this->big_query_source = $var; - - return $this; - } - - /** - * Optional. Columns to construct entity_id / row keys. - * If not provided defaults to `entity_id`. - * - * Generated from protobuf field repeated string entity_id_columns = 2 [(.google.api.field_behavior) = OPTIONAL]; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getEntityIdColumns() - { - return $this->entity_id_columns; - } - - /** - * Optional. Columns to construct entity_id / row keys. - * If not provided defaults to `entity_id`. - * - * Generated from protobuf field repeated string entity_id_columns = 2 [(.google.api.field_behavior) = OPTIONAL]; - * @param array|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setEntityIdColumns($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING); - $this->entity_id_columns = $arr; - - return $this; - } - -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(BigQuery::class, \Google\Cloud\AIPlatform\V1\FeatureGroup_BigQuery::class); - diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/FeatureNoiseSigma.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/FeatureNoiseSigma.php deleted file mode 100644 index bd9b905bc264..000000000000 --- a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/FeatureNoiseSigma.php +++ /dev/null @@ -1,69 +0,0 @@ -google.cloud.aiplatform.v1.FeatureNoiseSigma - */ -class FeatureNoiseSigma extends \Google\Protobuf\Internal\Message -{ - /** - * Noise sigma per feature. No noise is added to features that are not set. - * - * Generated from protobuf field repeated .google.cloud.aiplatform.v1.FeatureNoiseSigma.NoiseSigmaForFeature noise_sigma = 1; - */ - private $noise_sigma; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type array<\Google\Cloud\AIPlatform\V1\FeatureNoiseSigma\NoiseSigmaForFeature>|\Google\Protobuf\Internal\RepeatedField $noise_sigma - * Noise sigma per feature. No noise is added to features that are not set. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Cloud\Aiplatform\V1\Explanation::initOnce(); - parent::__construct($data); - } - - /** - * Noise sigma per feature. No noise is added to features that are not set. - * - * Generated from protobuf field repeated .google.cloud.aiplatform.v1.FeatureNoiseSigma.NoiseSigmaForFeature noise_sigma = 1; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getNoiseSigma() - { - return $this->noise_sigma; - } - - /** - * Noise sigma per feature. No noise is added to features that are not set. - * - * Generated from protobuf field repeated .google.cloud.aiplatform.v1.FeatureNoiseSigma.NoiseSigmaForFeature noise_sigma = 1; - * @param array<\Google\Cloud\AIPlatform\V1\FeatureNoiseSigma\NoiseSigmaForFeature>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setNoiseSigma($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\AIPlatform\V1\FeatureNoiseSigma\NoiseSigmaForFeature::class); - $this->noise_sigma = $arr; - - return $this; - } - -} - diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/FeatureNoiseSigma/NoiseSigmaForFeature.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/FeatureNoiseSigma/NoiseSigmaForFeature.php deleted file mode 100644 index 1d2fdcd7d2a9..000000000000 --- a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/FeatureNoiseSigma/NoiseSigmaForFeature.php +++ /dev/null @@ -1,128 +0,0 @@ -google.cloud.aiplatform.v1.FeatureNoiseSigma.NoiseSigmaForFeature - */ -class NoiseSigmaForFeature extends \Google\Protobuf\Internal\Message -{ - /** - * The name of the input feature for which noise sigma is provided. The - * features are defined in - * [explanation metadata - * inputs][google.cloud.aiplatform.v1.ExplanationMetadata.inputs]. - * - * Generated from protobuf field string name = 1; - */ - protected $name = ''; - /** - * This represents the standard deviation of the Gaussian kernel that will - * be used to add noise to the feature prior to computing gradients. Similar - * to [noise_sigma][google.cloud.aiplatform.v1.SmoothGradConfig.noise_sigma] - * but represents the noise added to the current feature. Defaults to 0.1. - * - * Generated from protobuf field float sigma = 2; - */ - protected $sigma = 0.0; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $name - * The name of the input feature for which noise sigma is provided. The - * features are defined in - * [explanation metadata - * inputs][google.cloud.aiplatform.v1.ExplanationMetadata.inputs]. - * @type float $sigma - * This represents the standard deviation of the Gaussian kernel that will - * be used to add noise to the feature prior to computing gradients. Similar - * to [noise_sigma][google.cloud.aiplatform.v1.SmoothGradConfig.noise_sigma] - * but represents the noise added to the current feature. Defaults to 0.1. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Cloud\Aiplatform\V1\Explanation::initOnce(); - parent::__construct($data); - } - - /** - * The name of the input feature for which noise sigma is provided. The - * features are defined in - * [explanation metadata - * inputs][google.cloud.aiplatform.v1.ExplanationMetadata.inputs]. - * - * Generated from protobuf field string name = 1; - * @return string - */ - public function getName() - { - return $this->name; - } - - /** - * The name of the input feature for which noise sigma is provided. The - * features are defined in - * [explanation metadata - * inputs][google.cloud.aiplatform.v1.ExplanationMetadata.inputs]. - * - * Generated from protobuf field string name = 1; - * @param string $var - * @return $this - */ - public function setName($var) - { - GPBUtil::checkString($var, True); - $this->name = $var; - - return $this; - } - - /** - * This represents the standard deviation of the Gaussian kernel that will - * be used to add noise to the feature prior to computing gradients. Similar - * to [noise_sigma][google.cloud.aiplatform.v1.SmoothGradConfig.noise_sigma] - * but represents the noise added to the current feature. Defaults to 0.1. - * - * Generated from protobuf field float sigma = 2; - * @return float - */ - public function getSigma() - { - return $this->sigma; - } - - /** - * This represents the standard deviation of the Gaussian kernel that will - * be used to add noise to the feature prior to computing gradients. Similar - * to [noise_sigma][google.cloud.aiplatform.v1.SmoothGradConfig.noise_sigma] - * but represents the noise added to the current feature. Defaults to 0.1. - * - * Generated from protobuf field float sigma = 2; - * @param float $var - * @return $this - */ - public function setSigma($var) - { - GPBUtil::checkFloat($var); - $this->sigma = $var; - - return $this; - } - -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(NoiseSigmaForFeature::class, \Google\Cloud\AIPlatform\V1\FeatureNoiseSigma_NoiseSigmaForFeature::class); - diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/FeatureOnlineStore.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/FeatureOnlineStore.php deleted file mode 100644 index 562b38e6599e..000000000000 --- a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/FeatureOnlineStore.php +++ /dev/null @@ -1,488 +0,0 @@ -google.cloud.aiplatform.v1.FeatureOnlineStore - */ -class FeatureOnlineStore extends \Google\Protobuf\Internal\Message -{ - /** - * Identifier. Name of the FeatureOnlineStore. Format: - * `projects/{project}/locations/{location}/featureOnlineStores/{featureOnlineStore}` - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; - */ - protected $name = ''; - /** - * Output only. Timestamp when this FeatureOnlineStore was created. - * - * Generated from protobuf field .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $create_time = null; - /** - * Output only. Timestamp when this FeatureOnlineStore was last updated. - * - * Generated from protobuf field .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $update_time = null; - /** - * Optional. Used to perform consistent read-modify-write updates. If not set, - * a blind "overwrite" update happens. - * - * Generated from protobuf field string etag = 5 [(.google.api.field_behavior) = OPTIONAL]; - */ - protected $etag = ''; - /** - * Optional. The labels with user-defined metadata to organize your - * FeatureOnlineStore. - * Label keys and values can be no longer than 64 characters - * (Unicode codepoints), can only contain lowercase letters, numeric - * characters, underscores and dashes. International characters are allowed. - * See https://goo.gl/xmQnxf for more information on and examples of labels. - * No more than 64 user labels can be associated with one - * FeatureOnlineStore(System labels are excluded)." System reserved label keys - * are prefixed with "aiplatform.googleapis.com/" and are immutable. - * - * Generated from protobuf field map labels = 6 [(.google.api.field_behavior) = OPTIONAL]; - */ - private $labels; - /** - * Output only. State of the featureOnlineStore. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.FeatureOnlineStore.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $state = 0; - /** - * Optional. The dedicated serving endpoint for this FeatureOnlineStore, which - * is different from common Vertex service endpoint. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.FeatureOnlineStore.DedicatedServingEndpoint dedicated_serving_endpoint = 10 [(.google.api.field_behavior) = OPTIONAL]; - */ - protected $dedicated_serving_endpoint = null; - /** - * Optional. Customer-managed encryption key spec for data storage. If set, - * online store will be secured by this key. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.EncryptionSpec encryption_spec = 13 [(.google.api.field_behavior) = OPTIONAL]; - */ - protected $encryption_spec = null; - protected $storage_type; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type \Google\Cloud\AIPlatform\V1\FeatureOnlineStore\Bigtable $bigtable - * Contains settings for the Cloud Bigtable instance that will be created - * to serve featureValues for all FeatureViews under this - * FeatureOnlineStore. - * @type \Google\Cloud\AIPlatform\V1\FeatureOnlineStore\Optimized $optimized - * Contains settings for the Optimized store that will be created - * to serve featureValues for all FeatureViews under this - * FeatureOnlineStore. When choose Optimized storage type, need to set - * [PrivateServiceConnectConfig.enable_private_service_connect][google.cloud.aiplatform.v1.PrivateServiceConnectConfig.enable_private_service_connect] - * to use private endpoint. Otherwise will use public endpoint by default. - * @type string $name - * Identifier. Name of the FeatureOnlineStore. Format: - * `projects/{project}/locations/{location}/featureOnlineStores/{featureOnlineStore}` - * @type \Google\Protobuf\Timestamp $create_time - * Output only. Timestamp when this FeatureOnlineStore was created. - * @type \Google\Protobuf\Timestamp $update_time - * Output only. Timestamp when this FeatureOnlineStore was last updated. - * @type string $etag - * Optional. Used to perform consistent read-modify-write updates. If not set, - * a blind "overwrite" update happens. - * @type array|\Google\Protobuf\Internal\MapField $labels - * Optional. The labels with user-defined metadata to organize your - * FeatureOnlineStore. - * Label keys and values can be no longer than 64 characters - * (Unicode codepoints), can only contain lowercase letters, numeric - * characters, underscores and dashes. International characters are allowed. - * See https://goo.gl/xmQnxf for more information on and examples of labels. - * No more than 64 user labels can be associated with one - * FeatureOnlineStore(System labels are excluded)." System reserved label keys - * are prefixed with "aiplatform.googleapis.com/" and are immutable. - * @type int $state - * Output only. State of the featureOnlineStore. - * @type \Google\Cloud\AIPlatform\V1\FeatureOnlineStore\DedicatedServingEndpoint $dedicated_serving_endpoint - * Optional. The dedicated serving endpoint for this FeatureOnlineStore, which - * is different from common Vertex service endpoint. - * @type \Google\Cloud\AIPlatform\V1\EncryptionSpec $encryption_spec - * Optional. Customer-managed encryption key spec for data storage. If set, - * online store will be secured by this key. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Cloud\Aiplatform\V1\FeatureOnlineStore::initOnce(); - parent::__construct($data); - } - - /** - * Contains settings for the Cloud Bigtable instance that will be created - * to serve featureValues for all FeatureViews under this - * FeatureOnlineStore. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.FeatureOnlineStore.Bigtable bigtable = 8; - * @return \Google\Cloud\AIPlatform\V1\FeatureOnlineStore\Bigtable|null - */ - public function getBigtable() - { - return $this->readOneof(8); - } - - public function hasBigtable() - { - return $this->hasOneof(8); - } - - /** - * Contains settings for the Cloud Bigtable instance that will be created - * to serve featureValues for all FeatureViews under this - * FeatureOnlineStore. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.FeatureOnlineStore.Bigtable bigtable = 8; - * @param \Google\Cloud\AIPlatform\V1\FeatureOnlineStore\Bigtable $var - * @return $this - */ - public function setBigtable($var) - { - GPBUtil::checkMessage($var, \Google\Cloud\AIPlatform\V1\FeatureOnlineStore\Bigtable::class); - $this->writeOneof(8, $var); - - return $this; - } - - /** - * Contains settings for the Optimized store that will be created - * to serve featureValues for all FeatureViews under this - * FeatureOnlineStore. When choose Optimized storage type, need to set - * [PrivateServiceConnectConfig.enable_private_service_connect][google.cloud.aiplatform.v1.PrivateServiceConnectConfig.enable_private_service_connect] - * to use private endpoint. Otherwise will use public endpoint by default. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.FeatureOnlineStore.Optimized optimized = 12; - * @return \Google\Cloud\AIPlatform\V1\FeatureOnlineStore\Optimized|null - */ - public function getOptimized() - { - return $this->readOneof(12); - } - - public function hasOptimized() - { - return $this->hasOneof(12); - } - - /** - * Contains settings for the Optimized store that will be created - * to serve featureValues for all FeatureViews under this - * FeatureOnlineStore. When choose Optimized storage type, need to set - * [PrivateServiceConnectConfig.enable_private_service_connect][google.cloud.aiplatform.v1.PrivateServiceConnectConfig.enable_private_service_connect] - * to use private endpoint. Otherwise will use public endpoint by default. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.FeatureOnlineStore.Optimized optimized = 12; - * @param \Google\Cloud\AIPlatform\V1\FeatureOnlineStore\Optimized $var - * @return $this - */ - public function setOptimized($var) - { - GPBUtil::checkMessage($var, \Google\Cloud\AIPlatform\V1\FeatureOnlineStore\Optimized::class); - $this->writeOneof(12, $var); - - return $this; - } - - /** - * Identifier. Name of the FeatureOnlineStore. Format: - * `projects/{project}/locations/{location}/featureOnlineStores/{featureOnlineStore}` - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; - * @return string - */ - public function getName() - { - return $this->name; - } - - /** - * Identifier. Name of the FeatureOnlineStore. Format: - * `projects/{project}/locations/{location}/featureOnlineStores/{featureOnlineStore}` - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; - * @param string $var - * @return $this - */ - public function setName($var) - { - GPBUtil::checkString($var, True); - $this->name = $var; - - return $this; - } - - /** - * Output only. Timestamp when this FeatureOnlineStore was created. - * - * Generated from protobuf field .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return \Google\Protobuf\Timestamp|null - */ - public function getCreateTime() - { - return $this->create_time; - } - - public function hasCreateTime() - { - return isset($this->create_time); - } - - public function clearCreateTime() - { - unset($this->create_time); - } - - /** - * Output only. Timestamp when this FeatureOnlineStore was created. - * - * Generated from protobuf field .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param \Google\Protobuf\Timestamp $var - * @return $this - */ - public function setCreateTime($var) - { - GPBUtil::checkMessage($var, \Google\Protobuf\Timestamp::class); - $this->create_time = $var; - - return $this; - } - - /** - * Output only. Timestamp when this FeatureOnlineStore was last updated. - * - * Generated from protobuf field .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return \Google\Protobuf\Timestamp|null - */ - public function getUpdateTime() - { - return $this->update_time; - } - - public function hasUpdateTime() - { - return isset($this->update_time); - } - - public function clearUpdateTime() - { - unset($this->update_time); - } - - /** - * Output only. Timestamp when this FeatureOnlineStore was last updated. - * - * Generated from protobuf field .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param \Google\Protobuf\Timestamp $var - * @return $this - */ - public function setUpdateTime($var) - { - GPBUtil::checkMessage($var, \Google\Protobuf\Timestamp::class); - $this->update_time = $var; - - return $this; - } - - /** - * Optional. Used to perform consistent read-modify-write updates. If not set, - * a blind "overwrite" update happens. - * - * Generated from protobuf field string etag = 5 [(.google.api.field_behavior) = OPTIONAL]; - * @return string - */ - public function getEtag() - { - return $this->etag; - } - - /** - * Optional. Used to perform consistent read-modify-write updates. If not set, - * a blind "overwrite" update happens. - * - * Generated from protobuf field string etag = 5 [(.google.api.field_behavior) = OPTIONAL]; - * @param string $var - * @return $this - */ - public function setEtag($var) - { - GPBUtil::checkString($var, True); - $this->etag = $var; - - return $this; - } - - /** - * Optional. The labels with user-defined metadata to organize your - * FeatureOnlineStore. - * Label keys and values can be no longer than 64 characters - * (Unicode codepoints), can only contain lowercase letters, numeric - * characters, underscores and dashes. International characters are allowed. - * See https://goo.gl/xmQnxf for more information on and examples of labels. - * No more than 64 user labels can be associated with one - * FeatureOnlineStore(System labels are excluded)." System reserved label keys - * are prefixed with "aiplatform.googleapis.com/" and are immutable. - * - * Generated from protobuf field map labels = 6 [(.google.api.field_behavior) = OPTIONAL]; - * @return \Google\Protobuf\Internal\MapField - */ - public function getLabels() - { - return $this->labels; - } - - /** - * Optional. The labels with user-defined metadata to organize your - * FeatureOnlineStore. - * Label keys and values can be no longer than 64 characters - * (Unicode codepoints), can only contain lowercase letters, numeric - * characters, underscores and dashes. International characters are allowed. - * See https://goo.gl/xmQnxf for more information on and examples of labels. - * No more than 64 user labels can be associated with one - * FeatureOnlineStore(System labels are excluded)." System reserved label keys - * are prefixed with "aiplatform.googleapis.com/" and are immutable. - * - * Generated from protobuf field map labels = 6 [(.google.api.field_behavior) = OPTIONAL]; - * @param array|\Google\Protobuf\Internal\MapField $var - * @return $this - */ - public function setLabels($var) - { - $arr = GPBUtil::checkMapField($var, \Google\Protobuf\Internal\GPBType::STRING, \Google\Protobuf\Internal\GPBType::STRING); - $this->labels = $arr; - - return $this; - } - - /** - * Output only. State of the featureOnlineStore. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.FeatureOnlineStore.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return int - */ - public function getState() - { - return $this->state; - } - - /** - * Output only. State of the featureOnlineStore. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.FeatureOnlineStore.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param int $var - * @return $this - */ - public function setState($var) - { - GPBUtil::checkEnum($var, \Google\Cloud\AIPlatform\V1\FeatureOnlineStore\State::class); - $this->state = $var; - - return $this; - } - - /** - * Optional. The dedicated serving endpoint for this FeatureOnlineStore, which - * is different from common Vertex service endpoint. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.FeatureOnlineStore.DedicatedServingEndpoint dedicated_serving_endpoint = 10 [(.google.api.field_behavior) = OPTIONAL]; - * @return \Google\Cloud\AIPlatform\V1\FeatureOnlineStore\DedicatedServingEndpoint|null - */ - public function getDedicatedServingEndpoint() - { - return $this->dedicated_serving_endpoint; - } - - public function hasDedicatedServingEndpoint() - { - return isset($this->dedicated_serving_endpoint); - } - - public function clearDedicatedServingEndpoint() - { - unset($this->dedicated_serving_endpoint); - } - - /** - * Optional. The dedicated serving endpoint for this FeatureOnlineStore, which - * is different from common Vertex service endpoint. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.FeatureOnlineStore.DedicatedServingEndpoint dedicated_serving_endpoint = 10 [(.google.api.field_behavior) = OPTIONAL]; - * @param \Google\Cloud\AIPlatform\V1\FeatureOnlineStore\DedicatedServingEndpoint $var - * @return $this - */ - public function setDedicatedServingEndpoint($var) - { - GPBUtil::checkMessage($var, \Google\Cloud\AIPlatform\V1\FeatureOnlineStore\DedicatedServingEndpoint::class); - $this->dedicated_serving_endpoint = $var; - - return $this; - } - - /** - * Optional. Customer-managed encryption key spec for data storage. If set, - * online store will be secured by this key. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.EncryptionSpec encryption_spec = 13 [(.google.api.field_behavior) = OPTIONAL]; - * @return \Google\Cloud\AIPlatform\V1\EncryptionSpec|null - */ - public function getEncryptionSpec() - { - return $this->encryption_spec; - } - - public function hasEncryptionSpec() - { - return isset($this->encryption_spec); - } - - public function clearEncryptionSpec() - { - unset($this->encryption_spec); - } - - /** - * Optional. Customer-managed encryption key spec for data storage. If set, - * online store will be secured by this key. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.EncryptionSpec encryption_spec = 13 [(.google.api.field_behavior) = OPTIONAL]; - * @param \Google\Cloud\AIPlatform\V1\EncryptionSpec $var - * @return $this - */ - public function setEncryptionSpec($var) - { - GPBUtil::checkMessage($var, \Google\Cloud\AIPlatform\V1\EncryptionSpec::class); - $this->encryption_spec = $var; - - return $this; - } - - /** - * @return string - */ - public function getStorageType() - { - return $this->whichOneof("storage_type"); - } - -} - diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/FeatureOnlineStore/Bigtable.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/FeatureOnlineStore/Bigtable.php deleted file mode 100644 index 0ce31764013b..000000000000 --- a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/FeatureOnlineStore/Bigtable.php +++ /dev/null @@ -1,78 +0,0 @@ -google.cloud.aiplatform.v1.FeatureOnlineStore.Bigtable - */ -class Bigtable extends \Google\Protobuf\Internal\Message -{ - /** - * Required. Autoscaling config applied to Bigtable Instance. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.FeatureOnlineStore.Bigtable.AutoScaling auto_scaling = 1 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $auto_scaling = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type \Google\Cloud\AIPlatform\V1\FeatureOnlineStore\Bigtable\AutoScaling $auto_scaling - * Required. Autoscaling config applied to Bigtable Instance. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Cloud\Aiplatform\V1\FeatureOnlineStore::initOnce(); - parent::__construct($data); - } - - /** - * Required. Autoscaling config applied to Bigtable Instance. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.FeatureOnlineStore.Bigtable.AutoScaling auto_scaling = 1 [(.google.api.field_behavior) = REQUIRED]; - * @return \Google\Cloud\AIPlatform\V1\FeatureOnlineStore\Bigtable\AutoScaling|null - */ - public function getAutoScaling() - { - return $this->auto_scaling; - } - - public function hasAutoScaling() - { - return isset($this->auto_scaling); - } - - public function clearAutoScaling() - { - unset($this->auto_scaling); - } - - /** - * Required. Autoscaling config applied to Bigtable Instance. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.FeatureOnlineStore.Bigtable.AutoScaling auto_scaling = 1 [(.google.api.field_behavior) = REQUIRED]; - * @param \Google\Cloud\AIPlatform\V1\FeatureOnlineStore\Bigtable\AutoScaling $var - * @return $this - */ - public function setAutoScaling($var) - { - GPBUtil::checkMessage($var, \Google\Cloud\AIPlatform\V1\FeatureOnlineStore\Bigtable\AutoScaling::class); - $this->auto_scaling = $var; - - return $this; - } - -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(Bigtable::class, \Google\Cloud\AIPlatform\V1\FeatureOnlineStore_Bigtable::class); - diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/FeatureOnlineStore/Bigtable/AutoScaling.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/FeatureOnlineStore/Bigtable/AutoScaling.php deleted file mode 100644 index e2e0481b4b99..000000000000 --- a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/FeatureOnlineStore/Bigtable/AutoScaling.php +++ /dev/null @@ -1,164 +0,0 @@ -google.cloud.aiplatform.v1.FeatureOnlineStore.Bigtable.AutoScaling - */ -class AutoScaling extends \Google\Protobuf\Internal\Message -{ - /** - * Required. The minimum number of nodes to scale down to. Must be greater - * than or equal to 1. - * - * Generated from protobuf field int32 min_node_count = 1 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $min_node_count = 0; - /** - * Required. The maximum number of nodes to scale up to. Must be greater - * than or equal to min_node_count, and less than or equal to 10 times of - * 'min_node_count'. - * - * Generated from protobuf field int32 max_node_count = 2 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $max_node_count = 0; - /** - * Optional. A percentage of the cluster's CPU capacity. Can be from 10% - * to 80%. When a cluster's CPU utilization exceeds the target that you - * have set, Bigtable immediately adds nodes to the cluster. When CPU - * utilization is substantially lower than the target, Bigtable removes - * nodes. If not set will default to 50%. - * - * Generated from protobuf field int32 cpu_utilization_target = 3 [(.google.api.field_behavior) = OPTIONAL]; - */ - protected $cpu_utilization_target = 0; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type int $min_node_count - * Required. The minimum number of nodes to scale down to. Must be greater - * than or equal to 1. - * @type int $max_node_count - * Required. The maximum number of nodes to scale up to. Must be greater - * than or equal to min_node_count, and less than or equal to 10 times of - * 'min_node_count'. - * @type int $cpu_utilization_target - * Optional. A percentage of the cluster's CPU capacity. Can be from 10% - * to 80%. When a cluster's CPU utilization exceeds the target that you - * have set, Bigtable immediately adds nodes to the cluster. When CPU - * utilization is substantially lower than the target, Bigtable removes - * nodes. If not set will default to 50%. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Cloud\Aiplatform\V1\FeatureOnlineStore::initOnce(); - parent::__construct($data); - } - - /** - * Required. The minimum number of nodes to scale down to. Must be greater - * than or equal to 1. - * - * Generated from protobuf field int32 min_node_count = 1 [(.google.api.field_behavior) = REQUIRED]; - * @return int - */ - public function getMinNodeCount() - { - return $this->min_node_count; - } - - /** - * Required. The minimum number of nodes to scale down to. Must be greater - * than or equal to 1. - * - * Generated from protobuf field int32 min_node_count = 1 [(.google.api.field_behavior) = REQUIRED]; - * @param int $var - * @return $this - */ - public function setMinNodeCount($var) - { - GPBUtil::checkInt32($var); - $this->min_node_count = $var; - - return $this; - } - - /** - * Required. The maximum number of nodes to scale up to. Must be greater - * than or equal to min_node_count, and less than or equal to 10 times of - * 'min_node_count'. - * - * Generated from protobuf field int32 max_node_count = 2 [(.google.api.field_behavior) = REQUIRED]; - * @return int - */ - public function getMaxNodeCount() - { - return $this->max_node_count; - } - - /** - * Required. The maximum number of nodes to scale up to. Must be greater - * than or equal to min_node_count, and less than or equal to 10 times of - * 'min_node_count'. - * - * Generated from protobuf field int32 max_node_count = 2 [(.google.api.field_behavior) = REQUIRED]; - * @param int $var - * @return $this - */ - public function setMaxNodeCount($var) - { - GPBUtil::checkInt32($var); - $this->max_node_count = $var; - - return $this; - } - - /** - * Optional. A percentage of the cluster's CPU capacity. Can be from 10% - * to 80%. When a cluster's CPU utilization exceeds the target that you - * have set, Bigtable immediately adds nodes to the cluster. When CPU - * utilization is substantially lower than the target, Bigtable removes - * nodes. If not set will default to 50%. - * - * Generated from protobuf field int32 cpu_utilization_target = 3 [(.google.api.field_behavior) = OPTIONAL]; - * @return int - */ - public function getCpuUtilizationTarget() - { - return $this->cpu_utilization_target; - } - - /** - * Optional. A percentage of the cluster's CPU capacity. Can be from 10% - * to 80%. When a cluster's CPU utilization exceeds the target that you - * have set, Bigtable immediately adds nodes to the cluster. When CPU - * utilization is substantially lower than the target, Bigtable removes - * nodes. If not set will default to 50%. - * - * Generated from protobuf field int32 cpu_utilization_target = 3 [(.google.api.field_behavior) = OPTIONAL]; - * @param int $var - * @return $this - */ - public function setCpuUtilizationTarget($var) - { - GPBUtil::checkInt32($var); - $this->cpu_utilization_target = $var; - - return $this; - } - -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(AutoScaling::class, \Google\Cloud\AIPlatform\V1\FeatureOnlineStore_Bigtable_AutoScaling::class); - diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/FeatureOnlineStore/DedicatedServingEndpoint.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/FeatureOnlineStore/DedicatedServingEndpoint.php deleted file mode 100644 index f49172ba9b00..000000000000 --- a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/FeatureOnlineStore/DedicatedServingEndpoint.php +++ /dev/null @@ -1,178 +0,0 @@ -google.cloud.aiplatform.v1.FeatureOnlineStore.DedicatedServingEndpoint - */ -class DedicatedServingEndpoint extends \Google\Protobuf\Internal\Message -{ - /** - * Output only. This field will be populated with the domain name to use for - * this FeatureOnlineStore - * - * Generated from protobuf field string public_endpoint_domain_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $public_endpoint_domain_name = ''; - /** - * Optional. Private service connect config. The private service connection - * is available only for Optimized storage type, not for embedding - * management now. If - * [PrivateServiceConnectConfig.enable_private_service_connect][google.cloud.aiplatform.v1.PrivateServiceConnectConfig.enable_private_service_connect] - * set to true, customers will use private service connection to send - * request. Otherwise, the connection will set to public endpoint. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.PrivateServiceConnectConfig private_service_connect_config = 3 [(.google.api.field_behavior) = OPTIONAL]; - */ - protected $private_service_connect_config = null; - /** - * Output only. The name of the service attachment resource. Populated if - * private service connect is enabled and after FeatureViewSync is created. - * - * Generated from protobuf field string service_attachment = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $service_attachment = ''; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $public_endpoint_domain_name - * Output only. This field will be populated with the domain name to use for - * this FeatureOnlineStore - * @type \Google\Cloud\AIPlatform\V1\PrivateServiceConnectConfig $private_service_connect_config - * Optional. Private service connect config. The private service connection - * is available only for Optimized storage type, not for embedding - * management now. If - * [PrivateServiceConnectConfig.enable_private_service_connect][google.cloud.aiplatform.v1.PrivateServiceConnectConfig.enable_private_service_connect] - * set to true, customers will use private service connection to send - * request. Otherwise, the connection will set to public endpoint. - * @type string $service_attachment - * Output only. The name of the service attachment resource. Populated if - * private service connect is enabled and after FeatureViewSync is created. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Cloud\Aiplatform\V1\FeatureOnlineStore::initOnce(); - parent::__construct($data); - } - - /** - * Output only. This field will be populated with the domain name to use for - * this FeatureOnlineStore - * - * Generated from protobuf field string public_endpoint_domain_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return string - */ - public function getPublicEndpointDomainName() - { - return $this->public_endpoint_domain_name; - } - - /** - * Output only. This field will be populated with the domain name to use for - * this FeatureOnlineStore - * - * Generated from protobuf field string public_endpoint_domain_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param string $var - * @return $this - */ - public function setPublicEndpointDomainName($var) - { - GPBUtil::checkString($var, True); - $this->public_endpoint_domain_name = $var; - - return $this; - } - - /** - * Optional. Private service connect config. The private service connection - * is available only for Optimized storage type, not for embedding - * management now. If - * [PrivateServiceConnectConfig.enable_private_service_connect][google.cloud.aiplatform.v1.PrivateServiceConnectConfig.enable_private_service_connect] - * set to true, customers will use private service connection to send - * request. Otherwise, the connection will set to public endpoint. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.PrivateServiceConnectConfig private_service_connect_config = 3 [(.google.api.field_behavior) = OPTIONAL]; - * @return \Google\Cloud\AIPlatform\V1\PrivateServiceConnectConfig|null - */ - public function getPrivateServiceConnectConfig() - { - return $this->private_service_connect_config; - } - - public function hasPrivateServiceConnectConfig() - { - return isset($this->private_service_connect_config); - } - - public function clearPrivateServiceConnectConfig() - { - unset($this->private_service_connect_config); - } - - /** - * Optional. Private service connect config. The private service connection - * is available only for Optimized storage type, not for embedding - * management now. If - * [PrivateServiceConnectConfig.enable_private_service_connect][google.cloud.aiplatform.v1.PrivateServiceConnectConfig.enable_private_service_connect] - * set to true, customers will use private service connection to send - * request. Otherwise, the connection will set to public endpoint. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.PrivateServiceConnectConfig private_service_connect_config = 3 [(.google.api.field_behavior) = OPTIONAL]; - * @param \Google\Cloud\AIPlatform\V1\PrivateServiceConnectConfig $var - * @return $this - */ - public function setPrivateServiceConnectConfig($var) - { - GPBUtil::checkMessage($var, \Google\Cloud\AIPlatform\V1\PrivateServiceConnectConfig::class); - $this->private_service_connect_config = $var; - - return $this; - } - - /** - * Output only. The name of the service attachment resource. Populated if - * private service connect is enabled and after FeatureViewSync is created. - * - * Generated from protobuf field string service_attachment = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return string - */ - public function getServiceAttachment() - { - return $this->service_attachment; - } - - /** - * Output only. The name of the service attachment resource. Populated if - * private service connect is enabled and after FeatureViewSync is created. - * - * Generated from protobuf field string service_attachment = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param string $var - * @return $this - */ - public function setServiceAttachment($var) - { - GPBUtil::checkString($var, True); - $this->service_attachment = $var; - - return $this; - } - -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(DedicatedServingEndpoint::class, \Google\Cloud\AIPlatform\V1\FeatureOnlineStore_DedicatedServingEndpoint::class); - diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/FeatureOnlineStore/Optimized.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/FeatureOnlineStore/Optimized.php deleted file mode 100644 index b8f89ee0e9a1..000000000000 --- a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/FeatureOnlineStore/Optimized.php +++ /dev/null @@ -1,36 +0,0 @@ -google.cloud.aiplatform.v1.FeatureOnlineStore.Optimized - */ -class Optimized extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Cloud\Aiplatform\V1\FeatureOnlineStore::initOnce(); - parent::__construct($data); - } - -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(Optimized::class, \Google\Cloud\AIPlatform\V1\FeatureOnlineStore_Optimized::class); - diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/FeatureOnlineStore/State.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/FeatureOnlineStore/State.php deleted file mode 100644 index 695f594f03d4..000000000000 --- a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/FeatureOnlineStore/State.php +++ /dev/null @@ -1,69 +0,0 @@ -google.cloud.aiplatform.v1.FeatureOnlineStore.State - */ -class State -{ - /** - * Default value. This value is unused. - * - * Generated from protobuf enum STATE_UNSPECIFIED = 0; - */ - const STATE_UNSPECIFIED = 0; - /** - * State when the featureOnlineStore configuration is not being updated and - * the fields reflect the current configuration of the featureOnlineStore. - * The featureOnlineStore is usable in this state. - * - * Generated from protobuf enum STABLE = 1; - */ - const STABLE = 1; - /** - * The state of the featureOnlineStore configuration when it is being - * updated. During an update, the fields reflect either the original - * configuration or the updated configuration of the featureOnlineStore. The - * featureOnlineStore is still usable in this state. - * - * Generated from protobuf enum UPDATING = 2; - */ - const UPDATING = 2; - - private static $valueToName = [ - self::STATE_UNSPECIFIED => 'STATE_UNSPECIFIED', - self::STABLE => 'STABLE', - self::UPDATING => 'UPDATING', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(State::class, \Google\Cloud\AIPlatform\V1\FeatureOnlineStore_State::class); - diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/FeatureSelector.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/FeatureSelector.php deleted file mode 100644 index aa1986f0a09f..000000000000 --- a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/FeatureSelector.php +++ /dev/null @@ -1,77 +0,0 @@ -google.cloud.aiplatform.v1.FeatureSelector - */ -class FeatureSelector extends \Google\Protobuf\Internal\Message -{ - /** - * Required. Matches Features based on ID. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.IdMatcher id_matcher = 1 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $id_matcher = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type \Google\Cloud\AIPlatform\V1\IdMatcher $id_matcher - * Required. Matches Features based on ID. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Cloud\Aiplatform\V1\FeatureSelector::initOnce(); - parent::__construct($data); - } - - /** - * Required. Matches Features based on ID. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.IdMatcher id_matcher = 1 [(.google.api.field_behavior) = REQUIRED]; - * @return \Google\Cloud\AIPlatform\V1\IdMatcher|null - */ - public function getIdMatcher() - { - return $this->id_matcher; - } - - public function hasIdMatcher() - { - return isset($this->id_matcher); - } - - public function clearIdMatcher() - { - unset($this->id_matcher); - } - - /** - * Required. Matches Features based on ID. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.IdMatcher id_matcher = 1 [(.google.api.field_behavior) = REQUIRED]; - * @param \Google\Cloud\AIPlatform\V1\IdMatcher $var - * @return $this - */ - public function setIdMatcher($var) - { - GPBUtil::checkMessage($var, \Google\Cloud\AIPlatform\V1\IdMatcher::class); - $this->id_matcher = $var; - - return $this; - } - -} - diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/FeatureStatsAnomaly.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/FeatureStatsAnomaly.php deleted file mode 100644 index 5ccd30b5a112..000000000000 --- a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/FeatureStatsAnomaly.php +++ /dev/null @@ -1,411 +0,0 @@ -google.cloud.aiplatform.v1.FeatureStatsAnomaly - */ -class FeatureStatsAnomaly extends \Google\Protobuf\Internal\Message -{ - /** - * Feature importance score, only populated when cross-feature monitoring is - * enabled. For now only used to represent feature attribution score within - * range [0, 1] for - * [ModelDeploymentMonitoringObjectiveType.FEATURE_ATTRIBUTION_SKEW][google.cloud.aiplatform.v1.ModelDeploymentMonitoringObjectiveType.FEATURE_ATTRIBUTION_SKEW] - * and - * [ModelDeploymentMonitoringObjectiveType.FEATURE_ATTRIBUTION_DRIFT][google.cloud.aiplatform.v1.ModelDeploymentMonitoringObjectiveType.FEATURE_ATTRIBUTION_DRIFT]. - * - * Generated from protobuf field double score = 1; - */ - protected $score = 0.0; - /** - * Path of the stats file for current feature values in Cloud Storage bucket. - * Format: gs:////stats. - * Example: gs://monitoring_bucket/feature_name/stats. - * Stats are stored as binary format with Protobuf message - * [tensorflow.metadata.v0.FeatureNameStatistics](https://github.com/tensorflow/metadata/blob/master/tensorflow_metadata/proto/v0/statistics.proto). - * - * Generated from protobuf field string stats_uri = 3; - */ - protected $stats_uri = ''; - /** - * Path of the anomaly file for current feature values in Cloud Storage - * bucket. - * Format: gs:////anomalies. - * Example: gs://monitoring_bucket/feature_name/anomalies. - * Stats are stored as binary format with Protobuf message - * Anoamlies are stored as binary format with Protobuf message - * [tensorflow.metadata.v0.AnomalyInfo] - * (https://github.com/tensorflow/metadata/blob/master/tensorflow_metadata/proto/v0/anomalies.proto). - * - * Generated from protobuf field string anomaly_uri = 4; - */ - protected $anomaly_uri = ''; - /** - * Deviation from the current stats to baseline stats. - * 1. For categorical feature, the distribution distance is calculated by - * L-inifinity norm. - * 2. For numerical feature, the distribution distance is calculated by - * Jensen–Shannon divergence. - * - * Generated from protobuf field double distribution_deviation = 5; - */ - protected $distribution_deviation = 0.0; - /** - * This is the threshold used when detecting anomalies. - * The threshold can be changed by user, so this one might be different from - * [ThresholdConfig.value][google.cloud.aiplatform.v1.ThresholdConfig.value]. - * - * Generated from protobuf field double anomaly_detection_threshold = 9; - */ - protected $anomaly_detection_threshold = 0.0; - /** - * The start timestamp of window where stats were generated. - * For objectives where time window doesn't make sense (e.g. Featurestore - * Snapshot Monitoring), start_time is only used to indicate the monitoring - * intervals, so it always equals to (end_time - monitoring_interval). - * - * Generated from protobuf field .google.protobuf.Timestamp start_time = 7; - */ - protected $start_time = null; - /** - * The end timestamp of window where stats were generated. - * For objectives where time window doesn't make sense (e.g. Featurestore - * Snapshot Monitoring), end_time indicates the timestamp of the data used to - * generate stats (e.g. timestamp we take snapshots for feature values). - * - * Generated from protobuf field .google.protobuf.Timestamp end_time = 8; - */ - protected $end_time = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type float $score - * Feature importance score, only populated when cross-feature monitoring is - * enabled. For now only used to represent feature attribution score within - * range [0, 1] for - * [ModelDeploymentMonitoringObjectiveType.FEATURE_ATTRIBUTION_SKEW][google.cloud.aiplatform.v1.ModelDeploymentMonitoringObjectiveType.FEATURE_ATTRIBUTION_SKEW] - * and - * [ModelDeploymentMonitoringObjectiveType.FEATURE_ATTRIBUTION_DRIFT][google.cloud.aiplatform.v1.ModelDeploymentMonitoringObjectiveType.FEATURE_ATTRIBUTION_DRIFT]. - * @type string $stats_uri - * Path of the stats file for current feature values in Cloud Storage bucket. - * Format: gs:////stats. - * Example: gs://monitoring_bucket/feature_name/stats. - * Stats are stored as binary format with Protobuf message - * [tensorflow.metadata.v0.FeatureNameStatistics](https://github.com/tensorflow/metadata/blob/master/tensorflow_metadata/proto/v0/statistics.proto). - * @type string $anomaly_uri - * Path of the anomaly file for current feature values in Cloud Storage - * bucket. - * Format: gs:////anomalies. - * Example: gs://monitoring_bucket/feature_name/anomalies. - * Stats are stored as binary format with Protobuf message - * Anoamlies are stored as binary format with Protobuf message - * [tensorflow.metadata.v0.AnomalyInfo] - * (https://github.com/tensorflow/metadata/blob/master/tensorflow_metadata/proto/v0/anomalies.proto). - * @type float $distribution_deviation - * Deviation from the current stats to baseline stats. - * 1. For categorical feature, the distribution distance is calculated by - * L-inifinity norm. - * 2. For numerical feature, the distribution distance is calculated by - * Jensen–Shannon divergence. - * @type float $anomaly_detection_threshold - * This is the threshold used when detecting anomalies. - * The threshold can be changed by user, so this one might be different from - * [ThresholdConfig.value][google.cloud.aiplatform.v1.ThresholdConfig.value]. - * @type \Google\Protobuf\Timestamp $start_time - * The start timestamp of window where stats were generated. - * For objectives where time window doesn't make sense (e.g. Featurestore - * Snapshot Monitoring), start_time is only used to indicate the monitoring - * intervals, so it always equals to (end_time - monitoring_interval). - * @type \Google\Protobuf\Timestamp $end_time - * The end timestamp of window where stats were generated. - * For objectives where time window doesn't make sense (e.g. Featurestore - * Snapshot Monitoring), end_time indicates the timestamp of the data used to - * generate stats (e.g. timestamp we take snapshots for feature values). - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Cloud\Aiplatform\V1\FeatureMonitoringStats::initOnce(); - parent::__construct($data); - } - - /** - * Feature importance score, only populated when cross-feature monitoring is - * enabled. For now only used to represent feature attribution score within - * range [0, 1] for - * [ModelDeploymentMonitoringObjectiveType.FEATURE_ATTRIBUTION_SKEW][google.cloud.aiplatform.v1.ModelDeploymentMonitoringObjectiveType.FEATURE_ATTRIBUTION_SKEW] - * and - * [ModelDeploymentMonitoringObjectiveType.FEATURE_ATTRIBUTION_DRIFT][google.cloud.aiplatform.v1.ModelDeploymentMonitoringObjectiveType.FEATURE_ATTRIBUTION_DRIFT]. - * - * Generated from protobuf field double score = 1; - * @return float - */ - public function getScore() - { - return $this->score; - } - - /** - * Feature importance score, only populated when cross-feature monitoring is - * enabled. For now only used to represent feature attribution score within - * range [0, 1] for - * [ModelDeploymentMonitoringObjectiveType.FEATURE_ATTRIBUTION_SKEW][google.cloud.aiplatform.v1.ModelDeploymentMonitoringObjectiveType.FEATURE_ATTRIBUTION_SKEW] - * and - * [ModelDeploymentMonitoringObjectiveType.FEATURE_ATTRIBUTION_DRIFT][google.cloud.aiplatform.v1.ModelDeploymentMonitoringObjectiveType.FEATURE_ATTRIBUTION_DRIFT]. - * - * Generated from protobuf field double score = 1; - * @param float $var - * @return $this - */ - public function setScore($var) - { - GPBUtil::checkDouble($var); - $this->score = $var; - - return $this; - } - - /** - * Path of the stats file for current feature values in Cloud Storage bucket. - * Format: gs:////stats. - * Example: gs://monitoring_bucket/feature_name/stats. - * Stats are stored as binary format with Protobuf message - * [tensorflow.metadata.v0.FeatureNameStatistics](https://github.com/tensorflow/metadata/blob/master/tensorflow_metadata/proto/v0/statistics.proto). - * - * Generated from protobuf field string stats_uri = 3; - * @return string - */ - public function getStatsUri() - { - return $this->stats_uri; - } - - /** - * Path of the stats file for current feature values in Cloud Storage bucket. - * Format: gs:////stats. - * Example: gs://monitoring_bucket/feature_name/stats. - * Stats are stored as binary format with Protobuf message - * [tensorflow.metadata.v0.FeatureNameStatistics](https://github.com/tensorflow/metadata/blob/master/tensorflow_metadata/proto/v0/statistics.proto). - * - * Generated from protobuf field string stats_uri = 3; - * @param string $var - * @return $this - */ - public function setStatsUri($var) - { - GPBUtil::checkString($var, True); - $this->stats_uri = $var; - - return $this; - } - - /** - * Path of the anomaly file for current feature values in Cloud Storage - * bucket. - * Format: gs:////anomalies. - * Example: gs://monitoring_bucket/feature_name/anomalies. - * Stats are stored as binary format with Protobuf message - * Anoamlies are stored as binary format with Protobuf message - * [tensorflow.metadata.v0.AnomalyInfo] - * (https://github.com/tensorflow/metadata/blob/master/tensorflow_metadata/proto/v0/anomalies.proto). - * - * Generated from protobuf field string anomaly_uri = 4; - * @return string - */ - public function getAnomalyUri() - { - return $this->anomaly_uri; - } - - /** - * Path of the anomaly file for current feature values in Cloud Storage - * bucket. - * Format: gs:////anomalies. - * Example: gs://monitoring_bucket/feature_name/anomalies. - * Stats are stored as binary format with Protobuf message - * Anoamlies are stored as binary format with Protobuf message - * [tensorflow.metadata.v0.AnomalyInfo] - * (https://github.com/tensorflow/metadata/blob/master/tensorflow_metadata/proto/v0/anomalies.proto). - * - * Generated from protobuf field string anomaly_uri = 4; - * @param string $var - * @return $this - */ - public function setAnomalyUri($var) - { - GPBUtil::checkString($var, True); - $this->anomaly_uri = $var; - - return $this; - } - - /** - * Deviation from the current stats to baseline stats. - * 1. For categorical feature, the distribution distance is calculated by - * L-inifinity norm. - * 2. For numerical feature, the distribution distance is calculated by - * Jensen–Shannon divergence. - * - * Generated from protobuf field double distribution_deviation = 5; - * @return float - */ - public function getDistributionDeviation() - { - return $this->distribution_deviation; - } - - /** - * Deviation from the current stats to baseline stats. - * 1. For categorical feature, the distribution distance is calculated by - * L-inifinity norm. - * 2. For numerical feature, the distribution distance is calculated by - * Jensen–Shannon divergence. - * - * Generated from protobuf field double distribution_deviation = 5; - * @param float $var - * @return $this - */ - public function setDistributionDeviation($var) - { - GPBUtil::checkDouble($var); - $this->distribution_deviation = $var; - - return $this; - } - - /** - * This is the threshold used when detecting anomalies. - * The threshold can be changed by user, so this one might be different from - * [ThresholdConfig.value][google.cloud.aiplatform.v1.ThresholdConfig.value]. - * - * Generated from protobuf field double anomaly_detection_threshold = 9; - * @return float - */ - public function getAnomalyDetectionThreshold() - { - return $this->anomaly_detection_threshold; - } - - /** - * This is the threshold used when detecting anomalies. - * The threshold can be changed by user, so this one might be different from - * [ThresholdConfig.value][google.cloud.aiplatform.v1.ThresholdConfig.value]. - * - * Generated from protobuf field double anomaly_detection_threshold = 9; - * @param float $var - * @return $this - */ - public function setAnomalyDetectionThreshold($var) - { - GPBUtil::checkDouble($var); - $this->anomaly_detection_threshold = $var; - - return $this; - } - - /** - * The start timestamp of window where stats were generated. - * For objectives where time window doesn't make sense (e.g. Featurestore - * Snapshot Monitoring), start_time is only used to indicate the monitoring - * intervals, so it always equals to (end_time - monitoring_interval). - * - * Generated from protobuf field .google.protobuf.Timestamp start_time = 7; - * @return \Google\Protobuf\Timestamp|null - */ - public function getStartTime() - { - return $this->start_time; - } - - public function hasStartTime() - { - return isset($this->start_time); - } - - public function clearStartTime() - { - unset($this->start_time); - } - - /** - * The start timestamp of window where stats were generated. - * For objectives where time window doesn't make sense (e.g. Featurestore - * Snapshot Monitoring), start_time is only used to indicate the monitoring - * intervals, so it always equals to (end_time - monitoring_interval). - * - * Generated from protobuf field .google.protobuf.Timestamp start_time = 7; - * @param \Google\Protobuf\Timestamp $var - * @return $this - */ - public function setStartTime($var) - { - GPBUtil::checkMessage($var, \Google\Protobuf\Timestamp::class); - $this->start_time = $var; - - return $this; - } - - /** - * The end timestamp of window where stats were generated. - * For objectives where time window doesn't make sense (e.g. Featurestore - * Snapshot Monitoring), end_time indicates the timestamp of the data used to - * generate stats (e.g. timestamp we take snapshots for feature values). - * - * Generated from protobuf field .google.protobuf.Timestamp end_time = 8; - * @return \Google\Protobuf\Timestamp|null - */ - public function getEndTime() - { - return $this->end_time; - } - - public function hasEndTime() - { - return isset($this->end_time); - } - - public function clearEndTime() - { - unset($this->end_time); - } - - /** - * The end timestamp of window where stats were generated. - * For objectives where time window doesn't make sense (e.g. Featurestore - * Snapshot Monitoring), end_time indicates the timestamp of the data used to - * generate stats (e.g. timestamp we take snapshots for feature values). - * - * Generated from protobuf field .google.protobuf.Timestamp end_time = 8; - * @param \Google\Protobuf\Timestamp $var - * @return $this - */ - public function setEndTime($var) - { - GPBUtil::checkMessage($var, \Google\Protobuf\Timestamp::class); - $this->end_time = $var; - - return $this; - } - -} - diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/FeatureValue.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/FeatureValue.php deleted file mode 100644 index 12671a6e42df..000000000000 --- a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/FeatureValue.php +++ /dev/null @@ -1,416 +0,0 @@ -google.cloud.aiplatform.v1.FeatureValue - */ -class FeatureValue extends \Google\Protobuf\Internal\Message -{ - /** - * Metadata of feature value. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.FeatureValue.Metadata metadata = 14; - */ - protected $metadata = null; - protected $value; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type bool $bool_value - * Bool type feature value. - * @type float $double_value - * Double type feature value. - * @type int|string $int64_value - * Int64 feature value. - * @type string $string_value - * String feature value. - * @type \Google\Cloud\AIPlatform\V1\BoolArray $bool_array_value - * A list of bool type feature value. - * @type \Google\Cloud\AIPlatform\V1\DoubleArray $double_array_value - * A list of double type feature value. - * @type \Google\Cloud\AIPlatform\V1\Int64Array $int64_array_value - * A list of int64 type feature value. - * @type \Google\Cloud\AIPlatform\V1\StringArray $string_array_value - * A list of string type feature value. - * @type string $bytes_value - * Bytes feature value. - * @type \Google\Cloud\AIPlatform\V1\StructValue $struct_value - * A struct type feature value. - * @type \Google\Cloud\AIPlatform\V1\FeatureValue\Metadata $metadata - * Metadata of feature value. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Cloud\Aiplatform\V1\FeaturestoreOnlineService::initOnce(); - parent::__construct($data); - } - - /** - * Bool type feature value. - * - * Generated from protobuf field bool bool_value = 1; - * @return bool - */ - public function getBoolValue() - { - return $this->readOneof(1); - } - - public function hasBoolValue() - { - return $this->hasOneof(1); - } - - /** - * Bool type feature value. - * - * Generated from protobuf field bool bool_value = 1; - * @param bool $var - * @return $this - */ - public function setBoolValue($var) - { - GPBUtil::checkBool($var); - $this->writeOneof(1, $var); - - return $this; - } - - /** - * Double type feature value. - * - * Generated from protobuf field double double_value = 2; - * @return float - */ - public function getDoubleValue() - { - return $this->readOneof(2); - } - - public function hasDoubleValue() - { - return $this->hasOneof(2); - } - - /** - * Double type feature value. - * - * Generated from protobuf field double double_value = 2; - * @param float $var - * @return $this - */ - public function setDoubleValue($var) - { - GPBUtil::checkDouble($var); - $this->writeOneof(2, $var); - - return $this; - } - - /** - * Int64 feature value. - * - * Generated from protobuf field int64 int64_value = 5; - * @return int|string - */ - public function getInt64Value() - { - return $this->readOneof(5); - } - - public function hasInt64Value() - { - return $this->hasOneof(5); - } - - /** - * Int64 feature value. - * - * Generated from protobuf field int64 int64_value = 5; - * @param int|string $var - * @return $this - */ - public function setInt64Value($var) - { - GPBUtil::checkInt64($var); - $this->writeOneof(5, $var); - - return $this; - } - - /** - * String feature value. - * - * Generated from protobuf field string string_value = 6; - * @return string - */ - public function getStringValue() - { - return $this->readOneof(6); - } - - public function hasStringValue() - { - return $this->hasOneof(6); - } - - /** - * String feature value. - * - * Generated from protobuf field string string_value = 6; - * @param string $var - * @return $this - */ - public function setStringValue($var) - { - GPBUtil::checkString($var, True); - $this->writeOneof(6, $var); - - return $this; - } - - /** - * A list of bool type feature value. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.BoolArray bool_array_value = 7; - * @return \Google\Cloud\AIPlatform\V1\BoolArray|null - */ - public function getBoolArrayValue() - { - return $this->readOneof(7); - } - - public function hasBoolArrayValue() - { - return $this->hasOneof(7); - } - - /** - * A list of bool type feature value. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.BoolArray bool_array_value = 7; - * @param \Google\Cloud\AIPlatform\V1\BoolArray $var - * @return $this - */ - public function setBoolArrayValue($var) - { - GPBUtil::checkMessage($var, \Google\Cloud\AIPlatform\V1\BoolArray::class); - $this->writeOneof(7, $var); - - return $this; - } - - /** - * A list of double type feature value. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.DoubleArray double_array_value = 8; - * @return \Google\Cloud\AIPlatform\V1\DoubleArray|null - */ - public function getDoubleArrayValue() - { - return $this->readOneof(8); - } - - public function hasDoubleArrayValue() - { - return $this->hasOneof(8); - } - - /** - * A list of double type feature value. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.DoubleArray double_array_value = 8; - * @param \Google\Cloud\AIPlatform\V1\DoubleArray $var - * @return $this - */ - public function setDoubleArrayValue($var) - { - GPBUtil::checkMessage($var, \Google\Cloud\AIPlatform\V1\DoubleArray::class); - $this->writeOneof(8, $var); - - return $this; - } - - /** - * A list of int64 type feature value. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.Int64Array int64_array_value = 11; - * @return \Google\Cloud\AIPlatform\V1\Int64Array|null - */ - public function getInt64ArrayValue() - { - return $this->readOneof(11); - } - - public function hasInt64ArrayValue() - { - return $this->hasOneof(11); - } - - /** - * A list of int64 type feature value. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.Int64Array int64_array_value = 11; - * @param \Google\Cloud\AIPlatform\V1\Int64Array $var - * @return $this - */ - public function setInt64ArrayValue($var) - { - GPBUtil::checkMessage($var, \Google\Cloud\AIPlatform\V1\Int64Array::class); - $this->writeOneof(11, $var); - - return $this; - } - - /** - * A list of string type feature value. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.StringArray string_array_value = 12; - * @return \Google\Cloud\AIPlatform\V1\StringArray|null - */ - public function getStringArrayValue() - { - return $this->readOneof(12); - } - - public function hasStringArrayValue() - { - return $this->hasOneof(12); - } - - /** - * A list of string type feature value. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.StringArray string_array_value = 12; - * @param \Google\Cloud\AIPlatform\V1\StringArray $var - * @return $this - */ - public function setStringArrayValue($var) - { - GPBUtil::checkMessage($var, \Google\Cloud\AIPlatform\V1\StringArray::class); - $this->writeOneof(12, $var); - - return $this; - } - - /** - * Bytes feature value. - * - * Generated from protobuf field bytes bytes_value = 13; - * @return string - */ - public function getBytesValue() - { - return $this->readOneof(13); - } - - public function hasBytesValue() - { - return $this->hasOneof(13); - } - - /** - * Bytes feature value. - * - * Generated from protobuf field bytes bytes_value = 13; - * @param string $var - * @return $this - */ - public function setBytesValue($var) - { - GPBUtil::checkString($var, False); - $this->writeOneof(13, $var); - - return $this; - } - - /** - * A struct type feature value. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.StructValue struct_value = 15; - * @return \Google\Cloud\AIPlatform\V1\StructValue|null - */ - public function getStructValue() - { - return $this->readOneof(15); - } - - public function hasStructValue() - { - return $this->hasOneof(15); - } - - /** - * A struct type feature value. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.StructValue struct_value = 15; - * @param \Google\Cloud\AIPlatform\V1\StructValue $var - * @return $this - */ - public function setStructValue($var) - { - GPBUtil::checkMessage($var, \Google\Cloud\AIPlatform\V1\StructValue::class); - $this->writeOneof(15, $var); - - return $this; - } - - /** - * Metadata of feature value. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.FeatureValue.Metadata metadata = 14; - * @return \Google\Cloud\AIPlatform\V1\FeatureValue\Metadata|null - */ - public function getMetadata() - { - return $this->metadata; - } - - public function hasMetadata() - { - return isset($this->metadata); - } - - public function clearMetadata() - { - unset($this->metadata); - } - - /** - * Metadata of feature value. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.FeatureValue.Metadata metadata = 14; - * @param \Google\Cloud\AIPlatform\V1\FeatureValue\Metadata $var - * @return $this - */ - public function setMetadata($var) - { - GPBUtil::checkMessage($var, \Google\Cloud\AIPlatform\V1\FeatureValue\Metadata::class); - $this->metadata = $var; - - return $this; - } - - /** - * @return string - */ - public function getValue() - { - return $this->whichOneof("value"); - } - -} - diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/FeatureValue/Metadata.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/FeatureValue/Metadata.php deleted file mode 100644 index 16b13a89cddb..000000000000 --- a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/FeatureValue/Metadata.php +++ /dev/null @@ -1,100 +0,0 @@ -google.cloud.aiplatform.v1.FeatureValue.Metadata - */ -class Metadata extends \Google\Protobuf\Internal\Message -{ - /** - * Feature generation timestamp. Typically, it is provided by user at - * feature ingestion time. If not, feature store - * will use the system timestamp when the data is ingested into feature - * store. For streaming ingestion, the time, aligned by days, must be no - * older than five years (1825 days) and no later than one year (366 days) - * in the future. - * - * Generated from protobuf field .google.protobuf.Timestamp generate_time = 1; - */ - protected $generate_time = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type \Google\Protobuf\Timestamp $generate_time - * Feature generation timestamp. Typically, it is provided by user at - * feature ingestion time. If not, feature store - * will use the system timestamp when the data is ingested into feature - * store. For streaming ingestion, the time, aligned by days, must be no - * older than five years (1825 days) and no later than one year (366 days) - * in the future. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Cloud\Aiplatform\V1\FeaturestoreOnlineService::initOnce(); - parent::__construct($data); - } - - /** - * Feature generation timestamp. Typically, it is provided by user at - * feature ingestion time. If not, feature store - * will use the system timestamp when the data is ingested into feature - * store. For streaming ingestion, the time, aligned by days, must be no - * older than five years (1825 days) and no later than one year (366 days) - * in the future. - * - * Generated from protobuf field .google.protobuf.Timestamp generate_time = 1; - * @return \Google\Protobuf\Timestamp|null - */ - public function getGenerateTime() - { - return $this->generate_time; - } - - public function hasGenerateTime() - { - return isset($this->generate_time); - } - - public function clearGenerateTime() - { - unset($this->generate_time); - } - - /** - * Feature generation timestamp. Typically, it is provided by user at - * feature ingestion time. If not, feature store - * will use the system timestamp when the data is ingested into feature - * store. For streaming ingestion, the time, aligned by days, must be no - * older than five years (1825 days) and no later than one year (366 days) - * in the future. - * - * Generated from protobuf field .google.protobuf.Timestamp generate_time = 1; - * @param \Google\Protobuf\Timestamp $var - * @return $this - */ - public function setGenerateTime($var) - { - GPBUtil::checkMessage($var, \Google\Protobuf\Timestamp::class); - $this->generate_time = $var; - - return $this; - } - -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(Metadata::class, \Google\Cloud\AIPlatform\V1\FeatureValue_Metadata::class); - diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/FeatureValueDestination.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/FeatureValueDestination.php deleted file mode 100644 index baafabaa7932..000000000000 --- a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/FeatureValueDestination.php +++ /dev/null @@ -1,180 +0,0 @@ -google.cloud.aiplatform.v1.FeatureValueDestination - */ -class FeatureValueDestination extends \Google\Protobuf\Internal\Message -{ - protected $destination; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type \Google\Cloud\AIPlatform\V1\BigQueryDestination $bigquery_destination - * Output in BigQuery format. - * [BigQueryDestination.output_uri][google.cloud.aiplatform.v1.BigQueryDestination.output_uri] - * in - * [FeatureValueDestination.bigquery_destination][google.cloud.aiplatform.v1.FeatureValueDestination.bigquery_destination] - * must refer to a table. - * @type \Google\Cloud\AIPlatform\V1\TFRecordDestination $tfrecord_destination - * Output in TFRecord format. - * Below are the mapping from Feature value type - * in Featurestore to Feature value type in TFRecord: - * Value type in Featurestore | Value type in TFRecord - * DOUBLE, DOUBLE_ARRAY | FLOAT_LIST - * INT64, INT64_ARRAY | INT64_LIST - * STRING, STRING_ARRAY, BYTES | BYTES_LIST - * true -> byte_string("true"), false -> byte_string("false") - * BOOL, BOOL_ARRAY (true, false) | BYTES_LIST - * @type \Google\Cloud\AIPlatform\V1\CsvDestination $csv_destination - * Output in CSV format. Array Feature value types are not allowed in CSV - * format. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Cloud\Aiplatform\V1\FeaturestoreService::initOnce(); - parent::__construct($data); - } - - /** - * Output in BigQuery format. - * [BigQueryDestination.output_uri][google.cloud.aiplatform.v1.BigQueryDestination.output_uri] - * in - * [FeatureValueDestination.bigquery_destination][google.cloud.aiplatform.v1.FeatureValueDestination.bigquery_destination] - * must refer to a table. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.BigQueryDestination bigquery_destination = 1; - * @return \Google\Cloud\AIPlatform\V1\BigQueryDestination|null - */ - public function getBigqueryDestination() - { - return $this->readOneof(1); - } - - public function hasBigqueryDestination() - { - return $this->hasOneof(1); - } - - /** - * Output in BigQuery format. - * [BigQueryDestination.output_uri][google.cloud.aiplatform.v1.BigQueryDestination.output_uri] - * in - * [FeatureValueDestination.bigquery_destination][google.cloud.aiplatform.v1.FeatureValueDestination.bigquery_destination] - * must refer to a table. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.BigQueryDestination bigquery_destination = 1; - * @param \Google\Cloud\AIPlatform\V1\BigQueryDestination $var - * @return $this - */ - public function setBigqueryDestination($var) - { - GPBUtil::checkMessage($var, \Google\Cloud\AIPlatform\V1\BigQueryDestination::class); - $this->writeOneof(1, $var); - - return $this; - } - - /** - * Output in TFRecord format. - * Below are the mapping from Feature value type - * in Featurestore to Feature value type in TFRecord: - * Value type in Featurestore | Value type in TFRecord - * DOUBLE, DOUBLE_ARRAY | FLOAT_LIST - * INT64, INT64_ARRAY | INT64_LIST - * STRING, STRING_ARRAY, BYTES | BYTES_LIST - * true -> byte_string("true"), false -> byte_string("false") - * BOOL, BOOL_ARRAY (true, false) | BYTES_LIST - * - * Generated from protobuf field .google.cloud.aiplatform.v1.TFRecordDestination tfrecord_destination = 2; - * @return \Google\Cloud\AIPlatform\V1\TFRecordDestination|null - */ - public function getTfrecordDestination() - { - return $this->readOneof(2); - } - - public function hasTfrecordDestination() - { - return $this->hasOneof(2); - } - - /** - * Output in TFRecord format. - * Below are the mapping from Feature value type - * in Featurestore to Feature value type in TFRecord: - * Value type in Featurestore | Value type in TFRecord - * DOUBLE, DOUBLE_ARRAY | FLOAT_LIST - * INT64, INT64_ARRAY | INT64_LIST - * STRING, STRING_ARRAY, BYTES | BYTES_LIST - * true -> byte_string("true"), false -> byte_string("false") - * BOOL, BOOL_ARRAY (true, false) | BYTES_LIST - * - * Generated from protobuf field .google.cloud.aiplatform.v1.TFRecordDestination tfrecord_destination = 2; - * @param \Google\Cloud\AIPlatform\V1\TFRecordDestination $var - * @return $this - */ - public function setTfrecordDestination($var) - { - GPBUtil::checkMessage($var, \Google\Cloud\AIPlatform\V1\TFRecordDestination::class); - $this->writeOneof(2, $var); - - return $this; - } - - /** - * Output in CSV format. Array Feature value types are not allowed in CSV - * format. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.CsvDestination csv_destination = 3; - * @return \Google\Cloud\AIPlatform\V1\CsvDestination|null - */ - public function getCsvDestination() - { - return $this->readOneof(3); - } - - public function hasCsvDestination() - { - return $this->hasOneof(3); - } - - /** - * Output in CSV format. Array Feature value types are not allowed in CSV - * format. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.CsvDestination csv_destination = 3; - * @param \Google\Cloud\AIPlatform\V1\CsvDestination $var - * @return $this - */ - public function setCsvDestination($var) - { - GPBUtil::checkMessage($var, \Google\Cloud\AIPlatform\V1\CsvDestination::class); - $this->writeOneof(3, $var); - - return $this; - } - - /** - * @return string - */ - public function getDestination() - { - return $this->whichOneof("destination"); - } - -} - diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/FeatureValueList.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/FeatureValueList.php deleted file mode 100644 index d5055a28ee0c..000000000000 --- a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/FeatureValueList.php +++ /dev/null @@ -1,67 +0,0 @@ -google.cloud.aiplatform.v1.FeatureValueList - */ -class FeatureValueList extends \Google\Protobuf\Internal\Message -{ - /** - * A list of feature values. All of them should be the same data type. - * - * Generated from protobuf field repeated .google.cloud.aiplatform.v1.FeatureValue values = 1; - */ - private $values; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type array<\Google\Cloud\AIPlatform\V1\FeatureValue>|\Google\Protobuf\Internal\RepeatedField $values - * A list of feature values. All of them should be the same data type. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Cloud\Aiplatform\V1\FeaturestoreOnlineService::initOnce(); - parent::__construct($data); - } - - /** - * A list of feature values. All of them should be the same data type. - * - * Generated from protobuf field repeated .google.cloud.aiplatform.v1.FeatureValue values = 1; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getValues() - { - return $this->values; - } - - /** - * A list of feature values. All of them should be the same data type. - * - * Generated from protobuf field repeated .google.cloud.aiplatform.v1.FeatureValue values = 1; - * @param array<\Google\Cloud\AIPlatform\V1\FeatureValue>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setValues($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\AIPlatform\V1\FeatureValue::class); - $this->values = $arr; - - return $this; - } - -} - diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/FeatureView.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/FeatureView.php deleted file mode 100644 index bd02c1721b84..000000000000 --- a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/FeatureView.php +++ /dev/null @@ -1,453 +0,0 @@ -google.cloud.aiplatform.v1.FeatureView - */ -class FeatureView extends \Google\Protobuf\Internal\Message -{ - /** - * Identifier. Name of the FeatureView. Format: - * `projects/{project}/locations/{location}/featureOnlineStores/{feature_online_store}/featureViews/{feature_view}` - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; - */ - protected $name = ''; - /** - * Output only. Timestamp when this FeatureView was created. - * - * Generated from protobuf field .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $create_time = null; - /** - * Output only. Timestamp when this FeatureView was last updated. - * - * Generated from protobuf field .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $update_time = null; - /** - * Optional. Used to perform consistent read-modify-write updates. If not set, - * a blind "overwrite" update happens. - * - * Generated from protobuf field string etag = 4 [(.google.api.field_behavior) = OPTIONAL]; - */ - protected $etag = ''; - /** - * Optional. The labels with user-defined metadata to organize your - * FeatureViews. - * Label keys and values can be no longer than 64 characters - * (Unicode codepoints), can only contain lowercase letters, numeric - * characters, underscores and dashes. International characters are allowed. - * See https://goo.gl/xmQnxf for more information on and examples of labels. - * No more than 64 user labels can be associated with one - * FeatureOnlineStore(System labels are excluded)." System reserved label keys - * are prefixed with "aiplatform.googleapis.com/" and are immutable. - * - * Generated from protobuf field map labels = 5 [(.google.api.field_behavior) = OPTIONAL]; - */ - private $labels; - /** - * Configures when data is to be synced/updated for this FeatureView. At the - * end of the sync the latest featureValues for each entityId of this - * FeatureView are made ready for online serving. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.FeatureView.SyncConfig sync_config = 7; - */ - protected $sync_config = null; - /** - * Optional. Configuration for index preparation for vector search. It - * contains the required configurations to create an index from source data, - * so that approximate nearest neighbor (a.k.a ANN) algorithms search can be - * performed during online serving. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.FeatureView.IndexConfig index_config = 15 [(.google.api.field_behavior) = OPTIONAL]; - */ - protected $index_config = null; - protected $source; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type \Google\Cloud\AIPlatform\V1\FeatureView\BigQuerySource $big_query_source - * Optional. Configures how data is supposed to be extracted from a BigQuery - * source to be loaded onto the FeatureOnlineStore. - * @type \Google\Cloud\AIPlatform\V1\FeatureView\FeatureRegistrySource $feature_registry_source - * Optional. Configures the features from a Feature Registry source that - * need to be loaded onto the FeatureOnlineStore. - * @type string $name - * Identifier. Name of the FeatureView. Format: - * `projects/{project}/locations/{location}/featureOnlineStores/{feature_online_store}/featureViews/{feature_view}` - * @type \Google\Protobuf\Timestamp $create_time - * Output only. Timestamp when this FeatureView was created. - * @type \Google\Protobuf\Timestamp $update_time - * Output only. Timestamp when this FeatureView was last updated. - * @type string $etag - * Optional. Used to perform consistent read-modify-write updates. If not set, - * a blind "overwrite" update happens. - * @type array|\Google\Protobuf\Internal\MapField $labels - * Optional. The labels with user-defined metadata to organize your - * FeatureViews. - * Label keys and values can be no longer than 64 characters - * (Unicode codepoints), can only contain lowercase letters, numeric - * characters, underscores and dashes. International characters are allowed. - * See https://goo.gl/xmQnxf for more information on and examples of labels. - * No more than 64 user labels can be associated with one - * FeatureOnlineStore(System labels are excluded)." System reserved label keys - * are prefixed with "aiplatform.googleapis.com/" and are immutable. - * @type \Google\Cloud\AIPlatform\V1\FeatureView\SyncConfig $sync_config - * Configures when data is to be synced/updated for this FeatureView. At the - * end of the sync the latest featureValues for each entityId of this - * FeatureView are made ready for online serving. - * @type \Google\Cloud\AIPlatform\V1\FeatureView\IndexConfig $index_config - * Optional. Configuration for index preparation for vector search. It - * contains the required configurations to create an index from source data, - * so that approximate nearest neighbor (a.k.a ANN) algorithms search can be - * performed during online serving. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Cloud\Aiplatform\V1\FeatureView::initOnce(); - parent::__construct($data); - } - - /** - * Optional. Configures how data is supposed to be extracted from a BigQuery - * source to be loaded onto the FeatureOnlineStore. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.FeatureView.BigQuerySource big_query_source = 6 [(.google.api.field_behavior) = OPTIONAL]; - * @return \Google\Cloud\AIPlatform\V1\FeatureView\BigQuerySource|null - */ - public function getBigQuerySource() - { - return $this->readOneof(6); - } - - public function hasBigQuerySource() - { - return $this->hasOneof(6); - } - - /** - * Optional. Configures how data is supposed to be extracted from a BigQuery - * source to be loaded onto the FeatureOnlineStore. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.FeatureView.BigQuerySource big_query_source = 6 [(.google.api.field_behavior) = OPTIONAL]; - * @param \Google\Cloud\AIPlatform\V1\FeatureView\BigQuerySource $var - * @return $this - */ - public function setBigQuerySource($var) - { - GPBUtil::checkMessage($var, \Google\Cloud\AIPlatform\V1\FeatureView\BigQuerySource::class); - $this->writeOneof(6, $var); - - return $this; - } - - /** - * Optional. Configures the features from a Feature Registry source that - * need to be loaded onto the FeatureOnlineStore. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.FeatureView.FeatureRegistrySource feature_registry_source = 9 [(.google.api.field_behavior) = OPTIONAL]; - * @return \Google\Cloud\AIPlatform\V1\FeatureView\FeatureRegistrySource|null - */ - public function getFeatureRegistrySource() - { - return $this->readOneof(9); - } - - public function hasFeatureRegistrySource() - { - return $this->hasOneof(9); - } - - /** - * Optional. Configures the features from a Feature Registry source that - * need to be loaded onto the FeatureOnlineStore. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.FeatureView.FeatureRegistrySource feature_registry_source = 9 [(.google.api.field_behavior) = OPTIONAL]; - * @param \Google\Cloud\AIPlatform\V1\FeatureView\FeatureRegistrySource $var - * @return $this - */ - public function setFeatureRegistrySource($var) - { - GPBUtil::checkMessage($var, \Google\Cloud\AIPlatform\V1\FeatureView\FeatureRegistrySource::class); - $this->writeOneof(9, $var); - - return $this; - } - - /** - * Identifier. Name of the FeatureView. Format: - * `projects/{project}/locations/{location}/featureOnlineStores/{feature_online_store}/featureViews/{feature_view}` - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; - * @return string - */ - public function getName() - { - return $this->name; - } - - /** - * Identifier. Name of the FeatureView. Format: - * `projects/{project}/locations/{location}/featureOnlineStores/{feature_online_store}/featureViews/{feature_view}` - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; - * @param string $var - * @return $this - */ - public function setName($var) - { - GPBUtil::checkString($var, True); - $this->name = $var; - - return $this; - } - - /** - * Output only. Timestamp when this FeatureView was created. - * - * Generated from protobuf field .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return \Google\Protobuf\Timestamp|null - */ - public function getCreateTime() - { - return $this->create_time; - } - - public function hasCreateTime() - { - return isset($this->create_time); - } - - public function clearCreateTime() - { - unset($this->create_time); - } - - /** - * Output only. Timestamp when this FeatureView was created. - * - * Generated from protobuf field .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param \Google\Protobuf\Timestamp $var - * @return $this - */ - public function setCreateTime($var) - { - GPBUtil::checkMessage($var, \Google\Protobuf\Timestamp::class); - $this->create_time = $var; - - return $this; - } - - /** - * Output only. Timestamp when this FeatureView was last updated. - * - * Generated from protobuf field .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return \Google\Protobuf\Timestamp|null - */ - public function getUpdateTime() - { - return $this->update_time; - } - - public function hasUpdateTime() - { - return isset($this->update_time); - } - - public function clearUpdateTime() - { - unset($this->update_time); - } - - /** - * Output only. Timestamp when this FeatureView was last updated. - * - * Generated from protobuf field .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param \Google\Protobuf\Timestamp $var - * @return $this - */ - public function setUpdateTime($var) - { - GPBUtil::checkMessage($var, \Google\Protobuf\Timestamp::class); - $this->update_time = $var; - - return $this; - } - - /** - * Optional. Used to perform consistent read-modify-write updates. If not set, - * a blind "overwrite" update happens. - * - * Generated from protobuf field string etag = 4 [(.google.api.field_behavior) = OPTIONAL]; - * @return string - */ - public function getEtag() - { - return $this->etag; - } - - /** - * Optional. Used to perform consistent read-modify-write updates. If not set, - * a blind "overwrite" update happens. - * - * Generated from protobuf field string etag = 4 [(.google.api.field_behavior) = OPTIONAL]; - * @param string $var - * @return $this - */ - public function setEtag($var) - { - GPBUtil::checkString($var, True); - $this->etag = $var; - - return $this; - } - - /** - * Optional. The labels with user-defined metadata to organize your - * FeatureViews. - * Label keys and values can be no longer than 64 characters - * (Unicode codepoints), can only contain lowercase letters, numeric - * characters, underscores and dashes. International characters are allowed. - * See https://goo.gl/xmQnxf for more information on and examples of labels. - * No more than 64 user labels can be associated with one - * FeatureOnlineStore(System labels are excluded)." System reserved label keys - * are prefixed with "aiplatform.googleapis.com/" and are immutable. - * - * Generated from protobuf field map labels = 5 [(.google.api.field_behavior) = OPTIONAL]; - * @return \Google\Protobuf\Internal\MapField - */ - public function getLabels() - { - return $this->labels; - } - - /** - * Optional. The labels with user-defined metadata to organize your - * FeatureViews. - * Label keys and values can be no longer than 64 characters - * (Unicode codepoints), can only contain lowercase letters, numeric - * characters, underscores and dashes. International characters are allowed. - * See https://goo.gl/xmQnxf for more information on and examples of labels. - * No more than 64 user labels can be associated with one - * FeatureOnlineStore(System labels are excluded)." System reserved label keys - * are prefixed with "aiplatform.googleapis.com/" and are immutable. - * - * Generated from protobuf field map labels = 5 [(.google.api.field_behavior) = OPTIONAL]; - * @param array|\Google\Protobuf\Internal\MapField $var - * @return $this - */ - public function setLabels($var) - { - $arr = GPBUtil::checkMapField($var, \Google\Protobuf\Internal\GPBType::STRING, \Google\Protobuf\Internal\GPBType::STRING); - $this->labels = $arr; - - return $this; - } - - /** - * Configures when data is to be synced/updated for this FeatureView. At the - * end of the sync the latest featureValues for each entityId of this - * FeatureView are made ready for online serving. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.FeatureView.SyncConfig sync_config = 7; - * @return \Google\Cloud\AIPlatform\V1\FeatureView\SyncConfig|null - */ - public function getSyncConfig() - { - return $this->sync_config; - } - - public function hasSyncConfig() - { - return isset($this->sync_config); - } - - public function clearSyncConfig() - { - unset($this->sync_config); - } - - /** - * Configures when data is to be synced/updated for this FeatureView. At the - * end of the sync the latest featureValues for each entityId of this - * FeatureView are made ready for online serving. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.FeatureView.SyncConfig sync_config = 7; - * @param \Google\Cloud\AIPlatform\V1\FeatureView\SyncConfig $var - * @return $this - */ - public function setSyncConfig($var) - { - GPBUtil::checkMessage($var, \Google\Cloud\AIPlatform\V1\FeatureView\SyncConfig::class); - $this->sync_config = $var; - - return $this; - } - - /** - * Optional. Configuration for index preparation for vector search. It - * contains the required configurations to create an index from source data, - * so that approximate nearest neighbor (a.k.a ANN) algorithms search can be - * performed during online serving. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.FeatureView.IndexConfig index_config = 15 [(.google.api.field_behavior) = OPTIONAL]; - * @return \Google\Cloud\AIPlatform\V1\FeatureView\IndexConfig|null - */ - public function getIndexConfig() - { - return $this->index_config; - } - - public function hasIndexConfig() - { - return isset($this->index_config); - } - - public function clearIndexConfig() - { - unset($this->index_config); - } - - /** - * Optional. Configuration for index preparation for vector search. It - * contains the required configurations to create an index from source data, - * so that approximate nearest neighbor (a.k.a ANN) algorithms search can be - * performed during online serving. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.FeatureView.IndexConfig index_config = 15 [(.google.api.field_behavior) = OPTIONAL]; - * @param \Google\Cloud\AIPlatform\V1\FeatureView\IndexConfig $var - * @return $this - */ - public function setIndexConfig($var) - { - GPBUtil::checkMessage($var, \Google\Cloud\AIPlatform\V1\FeatureView\IndexConfig::class); - $this->index_config = $var; - - return $this; - } - - /** - * @return string - */ - public function getSource() - { - return $this->whichOneof("source"); - } - -} - diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/FeatureView/BigQuerySource.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/FeatureView/BigQuerySource.php deleted file mode 100644 index 2fb90cc13bb3..000000000000 --- a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/FeatureView/BigQuerySource.php +++ /dev/null @@ -1,106 +0,0 @@ -google.cloud.aiplatform.v1.FeatureView.BigQuerySource - */ -class BigQuerySource extends \Google\Protobuf\Internal\Message -{ - /** - * Required. The BigQuery view URI that will be materialized on each sync - * trigger based on FeatureView.SyncConfig. - * - * Generated from protobuf field string uri = 1 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $uri = ''; - /** - * Required. Columns to construct entity_id / row keys. - * - * Generated from protobuf field repeated string entity_id_columns = 2 [(.google.api.field_behavior) = REQUIRED]; - */ - private $entity_id_columns; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $uri - * Required. The BigQuery view URI that will be materialized on each sync - * trigger based on FeatureView.SyncConfig. - * @type array|\Google\Protobuf\Internal\RepeatedField $entity_id_columns - * Required. Columns to construct entity_id / row keys. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Cloud\Aiplatform\V1\FeatureView::initOnce(); - parent::__construct($data); - } - - /** - * Required. The BigQuery view URI that will be materialized on each sync - * trigger based on FeatureView.SyncConfig. - * - * Generated from protobuf field string uri = 1 [(.google.api.field_behavior) = REQUIRED]; - * @return string - */ - public function getUri() - { - return $this->uri; - } - - /** - * Required. The BigQuery view URI that will be materialized on each sync - * trigger based on FeatureView.SyncConfig. - * - * Generated from protobuf field string uri = 1 [(.google.api.field_behavior) = REQUIRED]; - * @param string $var - * @return $this - */ - public function setUri($var) - { - GPBUtil::checkString($var, True); - $this->uri = $var; - - return $this; - } - - /** - * Required. Columns to construct entity_id / row keys. - * - * Generated from protobuf field repeated string entity_id_columns = 2 [(.google.api.field_behavior) = REQUIRED]; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getEntityIdColumns() - { - return $this->entity_id_columns; - } - - /** - * Required. Columns to construct entity_id / row keys. - * - * Generated from protobuf field repeated string entity_id_columns = 2 [(.google.api.field_behavior) = REQUIRED]; - * @param array|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setEntityIdColumns($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING); - $this->entity_id_columns = $arr; - - return $this; - } - -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(BigQuerySource::class, \Google\Cloud\AIPlatform\V1\FeatureView_BigQuerySource::class); - diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/FeatureView/FeatureRegistrySource.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/FeatureView/FeatureRegistrySource.php deleted file mode 100644 index 51087e714759..000000000000 --- a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/FeatureView/FeatureRegistrySource.php +++ /dev/null @@ -1,115 +0,0 @@ -google.cloud.aiplatform.v1.FeatureView.FeatureRegistrySource - */ -class FeatureRegistrySource extends \Google\Protobuf\Internal\Message -{ - /** - * Required. List of features that need to be synced to Online Store. - * - * Generated from protobuf field repeated .google.cloud.aiplatform.v1.FeatureView.FeatureRegistrySource.FeatureGroup feature_groups = 1 [(.google.api.field_behavior) = REQUIRED]; - */ - private $feature_groups; - /** - * Optional. The project number of the parent project of the Feature Groups. - * - * Generated from protobuf field optional int64 project_number = 2 [(.google.api.field_behavior) = OPTIONAL]; - */ - protected $project_number = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type array<\Google\Cloud\AIPlatform\V1\FeatureView\FeatureRegistrySource\FeatureGroup>|\Google\Protobuf\Internal\RepeatedField $feature_groups - * Required. List of features that need to be synced to Online Store. - * @type int|string $project_number - * Optional. The project number of the parent project of the Feature Groups. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Cloud\Aiplatform\V1\FeatureView::initOnce(); - parent::__construct($data); - } - - /** - * Required. List of features that need to be synced to Online Store. - * - * Generated from protobuf field repeated .google.cloud.aiplatform.v1.FeatureView.FeatureRegistrySource.FeatureGroup feature_groups = 1 [(.google.api.field_behavior) = REQUIRED]; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getFeatureGroups() - { - return $this->feature_groups; - } - - /** - * Required. List of features that need to be synced to Online Store. - * - * Generated from protobuf field repeated .google.cloud.aiplatform.v1.FeatureView.FeatureRegistrySource.FeatureGroup feature_groups = 1 [(.google.api.field_behavior) = REQUIRED]; - * @param array<\Google\Cloud\AIPlatform\V1\FeatureView\FeatureRegistrySource\FeatureGroup>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setFeatureGroups($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\AIPlatform\V1\FeatureView\FeatureRegistrySource\FeatureGroup::class); - $this->feature_groups = $arr; - - return $this; - } - - /** - * Optional. The project number of the parent project of the Feature Groups. - * - * Generated from protobuf field optional int64 project_number = 2 [(.google.api.field_behavior) = OPTIONAL]; - * @return int|string - */ - public function getProjectNumber() - { - return isset($this->project_number) ? $this->project_number : 0; - } - - public function hasProjectNumber() - { - return isset($this->project_number); - } - - public function clearProjectNumber() - { - unset($this->project_number); - } - - /** - * Optional. The project number of the parent project of the Feature Groups. - * - * Generated from protobuf field optional int64 project_number = 2 [(.google.api.field_behavior) = OPTIONAL]; - * @param int|string $var - * @return $this - */ - public function setProjectNumber($var) - { - GPBUtil::checkInt64($var); - $this->project_number = $var; - - return $this; - } - -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(FeatureRegistrySource::class, \Google\Cloud\AIPlatform\V1\FeatureView_FeatureRegistrySource::class); - diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/FeatureView/FeatureRegistrySource/FeatureGroup.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/FeatureView/FeatureRegistrySource/FeatureGroup.php deleted file mode 100644 index e5a4d86d9879..000000000000 --- a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/FeatureView/FeatureRegistrySource/FeatureGroup.php +++ /dev/null @@ -1,105 +0,0 @@ -google.cloud.aiplatform.v1.FeatureView.FeatureRegistrySource.FeatureGroup - */ -class FeatureGroup extends \Google\Protobuf\Internal\Message -{ - /** - * Required. Identifier of the feature group. - * - * Generated from protobuf field string feature_group_id = 1 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $feature_group_id = ''; - /** - * Required. Identifiers of features under the feature group. - * - * Generated from protobuf field repeated string feature_ids = 2 [(.google.api.field_behavior) = REQUIRED]; - */ - private $feature_ids; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $feature_group_id - * Required. Identifier of the feature group. - * @type array|\Google\Protobuf\Internal\RepeatedField $feature_ids - * Required. Identifiers of features under the feature group. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Cloud\Aiplatform\V1\FeatureView::initOnce(); - parent::__construct($data); - } - - /** - * Required. Identifier of the feature group. - * - * Generated from protobuf field string feature_group_id = 1 [(.google.api.field_behavior) = REQUIRED]; - * @return string - */ - public function getFeatureGroupId() - { - return $this->feature_group_id; - } - - /** - * Required. Identifier of the feature group. - * - * Generated from protobuf field string feature_group_id = 1 [(.google.api.field_behavior) = REQUIRED]; - * @param string $var - * @return $this - */ - public function setFeatureGroupId($var) - { - GPBUtil::checkString($var, True); - $this->feature_group_id = $var; - - return $this; - } - - /** - * Required. Identifiers of features under the feature group. - * - * Generated from protobuf field repeated string feature_ids = 2 [(.google.api.field_behavior) = REQUIRED]; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getFeatureIds() - { - return $this->feature_ids; - } - - /** - * Required. Identifiers of features under the feature group. - * - * Generated from protobuf field repeated string feature_ids = 2 [(.google.api.field_behavior) = REQUIRED]; - * @param array|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setFeatureIds($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING); - $this->feature_ids = $arr; - - return $this; - } - -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(FeatureGroup::class, \Google\Cloud\AIPlatform\V1\FeatureView_FeatureRegistrySource_FeatureGroup::class); - diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/FeatureView/IndexConfig.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/FeatureView/IndexConfig.php deleted file mode 100644 index 07eecd52db8d..000000000000 --- a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/FeatureView/IndexConfig.php +++ /dev/null @@ -1,350 +0,0 @@ -google.cloud.aiplatform.v1.FeatureView.IndexConfig - */ -class IndexConfig extends \Google\Protobuf\Internal\Message -{ - /** - * Optional. Column of embedding. This column contains the source data to - * create index for vector search. embedding_column must be set when using - * vector search. - * - * Generated from protobuf field string embedding_column = 1 [(.google.api.field_behavior) = OPTIONAL]; - */ - protected $embedding_column = ''; - /** - * Optional. Columns of features that're used to filter vector search - * results. - * - * Generated from protobuf field repeated string filter_columns = 2 [(.google.api.field_behavior) = OPTIONAL]; - */ - private $filter_columns; - /** - * Optional. Column of crowding. This column contains crowding attribute - * which is a constraint on a neighbor list produced by - * [FeatureOnlineStoreService.SearchNearestEntities][google.cloud.aiplatform.v1.FeatureOnlineStoreService.SearchNearestEntities] - * to diversify search results. If - * [NearestNeighborQuery.per_crowding_attribute_neighbor_count][google.cloud.aiplatform.v1.NearestNeighborQuery.per_crowding_attribute_neighbor_count] - * is set to K in - * [SearchNearestEntitiesRequest][google.cloud.aiplatform.v1.SearchNearestEntitiesRequest], - * it's guaranteed that no more than K entities of the same crowding - * attribute are returned in the response. - * - * Generated from protobuf field string crowding_column = 3 [(.google.api.field_behavior) = OPTIONAL]; - */ - protected $crowding_column = ''; - /** - * Optional. The number of dimensions of the input embedding. - * - * Generated from protobuf field optional int32 embedding_dimension = 4 [(.google.api.field_behavior) = OPTIONAL]; - */ - protected $embedding_dimension = null; - /** - * Optional. The distance measure used in nearest neighbor search. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.FeatureView.IndexConfig.DistanceMeasureType distance_measure_type = 5 [(.google.api.field_behavior) = OPTIONAL]; - */ - protected $distance_measure_type = 0; - protected $algorithm_config; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type \Google\Cloud\AIPlatform\V1\FeatureView\IndexConfig\TreeAHConfig $tree_ah_config - * Optional. Configuration options for the tree-AH algorithm (Shallow tree - * + Asymmetric Hashing). Please refer to this paper for more details: - * https://arxiv.org/abs/1908.10396 - * @type \Google\Cloud\AIPlatform\V1\FeatureView\IndexConfig\BruteForceConfig $brute_force_config - * Optional. Configuration options for using brute force search, which - * simply implements the standard linear search in the database for each - * query. It is primarily meant for benchmarking and to generate the - * ground truth for approximate search. - * @type string $embedding_column - * Optional. Column of embedding. This column contains the source data to - * create index for vector search. embedding_column must be set when using - * vector search. - * @type array|\Google\Protobuf\Internal\RepeatedField $filter_columns - * Optional. Columns of features that're used to filter vector search - * results. - * @type string $crowding_column - * Optional. Column of crowding. This column contains crowding attribute - * which is a constraint on a neighbor list produced by - * [FeatureOnlineStoreService.SearchNearestEntities][google.cloud.aiplatform.v1.FeatureOnlineStoreService.SearchNearestEntities] - * to diversify search results. If - * [NearestNeighborQuery.per_crowding_attribute_neighbor_count][google.cloud.aiplatform.v1.NearestNeighborQuery.per_crowding_attribute_neighbor_count] - * is set to K in - * [SearchNearestEntitiesRequest][google.cloud.aiplatform.v1.SearchNearestEntitiesRequest], - * it's guaranteed that no more than K entities of the same crowding - * attribute are returned in the response. - * @type int $embedding_dimension - * Optional. The number of dimensions of the input embedding. - * @type int $distance_measure_type - * Optional. The distance measure used in nearest neighbor search. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Cloud\Aiplatform\V1\FeatureView::initOnce(); - parent::__construct($data); - } - - /** - * Optional. Configuration options for the tree-AH algorithm (Shallow tree - * + Asymmetric Hashing). Please refer to this paper for more details: - * https://arxiv.org/abs/1908.10396 - * - * Generated from protobuf field .google.cloud.aiplatform.v1.FeatureView.IndexConfig.TreeAHConfig tree_ah_config = 6 [(.google.api.field_behavior) = OPTIONAL]; - * @return \Google\Cloud\AIPlatform\V1\FeatureView\IndexConfig\TreeAHConfig|null - */ - public function getTreeAhConfig() - { - return $this->readOneof(6); - } - - public function hasTreeAhConfig() - { - return $this->hasOneof(6); - } - - /** - * Optional. Configuration options for the tree-AH algorithm (Shallow tree - * + Asymmetric Hashing). Please refer to this paper for more details: - * https://arxiv.org/abs/1908.10396 - * - * Generated from protobuf field .google.cloud.aiplatform.v1.FeatureView.IndexConfig.TreeAHConfig tree_ah_config = 6 [(.google.api.field_behavior) = OPTIONAL]; - * @param \Google\Cloud\AIPlatform\V1\FeatureView\IndexConfig\TreeAHConfig $var - * @return $this - */ - public function setTreeAhConfig($var) - { - GPBUtil::checkMessage($var, \Google\Cloud\AIPlatform\V1\FeatureView\IndexConfig\TreeAHConfig::class); - $this->writeOneof(6, $var); - - return $this; - } - - /** - * Optional. Configuration options for using brute force search, which - * simply implements the standard linear search in the database for each - * query. It is primarily meant for benchmarking and to generate the - * ground truth for approximate search. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.FeatureView.IndexConfig.BruteForceConfig brute_force_config = 7 [(.google.api.field_behavior) = OPTIONAL]; - * @return \Google\Cloud\AIPlatform\V1\FeatureView\IndexConfig\BruteForceConfig|null - */ - public function getBruteForceConfig() - { - return $this->readOneof(7); - } - - public function hasBruteForceConfig() - { - return $this->hasOneof(7); - } - - /** - * Optional. Configuration options for using brute force search, which - * simply implements the standard linear search in the database for each - * query. It is primarily meant for benchmarking and to generate the - * ground truth for approximate search. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.FeatureView.IndexConfig.BruteForceConfig brute_force_config = 7 [(.google.api.field_behavior) = OPTIONAL]; - * @param \Google\Cloud\AIPlatform\V1\FeatureView\IndexConfig\BruteForceConfig $var - * @return $this - */ - public function setBruteForceConfig($var) - { - GPBUtil::checkMessage($var, \Google\Cloud\AIPlatform\V1\FeatureView\IndexConfig\BruteForceConfig::class); - $this->writeOneof(7, $var); - - return $this; - } - - /** - * Optional. Column of embedding. This column contains the source data to - * create index for vector search. embedding_column must be set when using - * vector search. - * - * Generated from protobuf field string embedding_column = 1 [(.google.api.field_behavior) = OPTIONAL]; - * @return string - */ - public function getEmbeddingColumn() - { - return $this->embedding_column; - } - - /** - * Optional. Column of embedding. This column contains the source data to - * create index for vector search. embedding_column must be set when using - * vector search. - * - * Generated from protobuf field string embedding_column = 1 [(.google.api.field_behavior) = OPTIONAL]; - * @param string $var - * @return $this - */ - public function setEmbeddingColumn($var) - { - GPBUtil::checkString($var, True); - $this->embedding_column = $var; - - return $this; - } - - /** - * Optional. Columns of features that're used to filter vector search - * results. - * - * Generated from protobuf field repeated string filter_columns = 2 [(.google.api.field_behavior) = OPTIONAL]; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getFilterColumns() - { - return $this->filter_columns; - } - - /** - * Optional. Columns of features that're used to filter vector search - * results. - * - * Generated from protobuf field repeated string filter_columns = 2 [(.google.api.field_behavior) = OPTIONAL]; - * @param array|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setFilterColumns($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING); - $this->filter_columns = $arr; - - return $this; - } - - /** - * Optional. Column of crowding. This column contains crowding attribute - * which is a constraint on a neighbor list produced by - * [FeatureOnlineStoreService.SearchNearestEntities][google.cloud.aiplatform.v1.FeatureOnlineStoreService.SearchNearestEntities] - * to diversify search results. If - * [NearestNeighborQuery.per_crowding_attribute_neighbor_count][google.cloud.aiplatform.v1.NearestNeighborQuery.per_crowding_attribute_neighbor_count] - * is set to K in - * [SearchNearestEntitiesRequest][google.cloud.aiplatform.v1.SearchNearestEntitiesRequest], - * it's guaranteed that no more than K entities of the same crowding - * attribute are returned in the response. - * - * Generated from protobuf field string crowding_column = 3 [(.google.api.field_behavior) = OPTIONAL]; - * @return string - */ - public function getCrowdingColumn() - { - return $this->crowding_column; - } - - /** - * Optional. Column of crowding. This column contains crowding attribute - * which is a constraint on a neighbor list produced by - * [FeatureOnlineStoreService.SearchNearestEntities][google.cloud.aiplatform.v1.FeatureOnlineStoreService.SearchNearestEntities] - * to diversify search results. If - * [NearestNeighborQuery.per_crowding_attribute_neighbor_count][google.cloud.aiplatform.v1.NearestNeighborQuery.per_crowding_attribute_neighbor_count] - * is set to K in - * [SearchNearestEntitiesRequest][google.cloud.aiplatform.v1.SearchNearestEntitiesRequest], - * it's guaranteed that no more than K entities of the same crowding - * attribute are returned in the response. - * - * Generated from protobuf field string crowding_column = 3 [(.google.api.field_behavior) = OPTIONAL]; - * @param string $var - * @return $this - */ - public function setCrowdingColumn($var) - { - GPBUtil::checkString($var, True); - $this->crowding_column = $var; - - return $this; - } - - /** - * Optional. The number of dimensions of the input embedding. - * - * Generated from protobuf field optional int32 embedding_dimension = 4 [(.google.api.field_behavior) = OPTIONAL]; - * @return int - */ - public function getEmbeddingDimension() - { - return isset($this->embedding_dimension) ? $this->embedding_dimension : 0; - } - - public function hasEmbeddingDimension() - { - return isset($this->embedding_dimension); - } - - public function clearEmbeddingDimension() - { - unset($this->embedding_dimension); - } - - /** - * Optional. The number of dimensions of the input embedding. - * - * Generated from protobuf field optional int32 embedding_dimension = 4 [(.google.api.field_behavior) = OPTIONAL]; - * @param int $var - * @return $this - */ - public function setEmbeddingDimension($var) - { - GPBUtil::checkInt32($var); - $this->embedding_dimension = $var; - - return $this; - } - - /** - * Optional. The distance measure used in nearest neighbor search. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.FeatureView.IndexConfig.DistanceMeasureType distance_measure_type = 5 [(.google.api.field_behavior) = OPTIONAL]; - * @return int - */ - public function getDistanceMeasureType() - { - return $this->distance_measure_type; - } - - /** - * Optional. The distance measure used in nearest neighbor search. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.FeatureView.IndexConfig.DistanceMeasureType distance_measure_type = 5 [(.google.api.field_behavior) = OPTIONAL]; - * @param int $var - * @return $this - */ - public function setDistanceMeasureType($var) - { - GPBUtil::checkEnum($var, \Google\Cloud\AIPlatform\V1\FeatureView\IndexConfig\DistanceMeasureType::class); - $this->distance_measure_type = $var; - - return $this; - } - - /** - * @return string - */ - public function getAlgorithmConfig() - { - return $this->whichOneof("algorithm_config"); - } - -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(IndexConfig::class, \Google\Cloud\AIPlatform\V1\FeatureView_IndexConfig::class); - diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/FeatureView/IndexConfig/BruteForceConfig.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/FeatureView/IndexConfig/BruteForceConfig.php deleted file mode 100644 index 8a9c71a15b07..000000000000 --- a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/FeatureView/IndexConfig/BruteForceConfig.php +++ /dev/null @@ -1,36 +0,0 @@ -google.cloud.aiplatform.v1.FeatureView.IndexConfig.BruteForceConfig - */ -class BruteForceConfig extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Cloud\Aiplatform\V1\FeatureView::initOnce(); - parent::__construct($data); - } - -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(BruteForceConfig::class, \Google\Cloud\AIPlatform\V1\FeatureView_IndexConfig_BruteForceConfig::class); - diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/FeatureView/IndexConfig/DistanceMeasureType.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/FeatureView/IndexConfig/DistanceMeasureType.php deleted file mode 100644 index c69d1202feb9..000000000000 --- a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/FeatureView/IndexConfig/DistanceMeasureType.php +++ /dev/null @@ -1,76 +0,0 @@ -google.cloud.aiplatform.v1.FeatureView.IndexConfig.DistanceMeasureType - */ -class DistanceMeasureType -{ - /** - * Should not be set. - * - * Generated from protobuf enum DISTANCE_MEASURE_TYPE_UNSPECIFIED = 0; - */ - const DISTANCE_MEASURE_TYPE_UNSPECIFIED = 0; - /** - * Euclidean (L_2) Distance. - * - * Generated from protobuf enum SQUARED_L2_DISTANCE = 1; - */ - const SQUARED_L2_DISTANCE = 1; - /** - * Cosine Distance. Defined as 1 - cosine similarity. - * We strongly suggest using DOT_PRODUCT_DISTANCE + UNIT_L2_NORM instead - * of COSINE distance. Our algorithms have been more optimized for - * DOT_PRODUCT distance which, when combined with UNIT_L2_NORM, is - * mathematically equivalent to COSINE distance and results in the same - * ranking. - * - * Generated from protobuf enum COSINE_DISTANCE = 2; - */ - const COSINE_DISTANCE = 2; - /** - * Dot Product Distance. Defined as a negative of the dot product. - * - * Generated from protobuf enum DOT_PRODUCT_DISTANCE = 3; - */ - const DOT_PRODUCT_DISTANCE = 3; - - private static $valueToName = [ - self::DISTANCE_MEASURE_TYPE_UNSPECIFIED => 'DISTANCE_MEASURE_TYPE_UNSPECIFIED', - self::SQUARED_L2_DISTANCE => 'SQUARED_L2_DISTANCE', - self::COSINE_DISTANCE => 'COSINE_DISTANCE', - self::DOT_PRODUCT_DISTANCE => 'DOT_PRODUCT_DISTANCE', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(DistanceMeasureType::class, \Google\Cloud\AIPlatform\V1\FeatureView_IndexConfig_DistanceMeasureType::class); - diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/FeatureView/IndexConfig/TreeAHConfig.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/FeatureView/IndexConfig/TreeAHConfig.php deleted file mode 100644 index f7d9f3d7ae50..000000000000 --- a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/FeatureView/IndexConfig/TreeAHConfig.php +++ /dev/null @@ -1,84 +0,0 @@ -google.cloud.aiplatform.v1.FeatureView.IndexConfig.TreeAHConfig - */ -class TreeAHConfig extends \Google\Protobuf\Internal\Message -{ - /** - * Optional. Number of embeddings on each leaf node. The default value is - * 1000 if not set. - * - * Generated from protobuf field optional int64 leaf_node_embedding_count = 1 [(.google.api.field_behavior) = OPTIONAL]; - */ - protected $leaf_node_embedding_count = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type int|string $leaf_node_embedding_count - * Optional. Number of embeddings on each leaf node. The default value is - * 1000 if not set. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Cloud\Aiplatform\V1\FeatureView::initOnce(); - parent::__construct($data); - } - - /** - * Optional. Number of embeddings on each leaf node. The default value is - * 1000 if not set. - * - * Generated from protobuf field optional int64 leaf_node_embedding_count = 1 [(.google.api.field_behavior) = OPTIONAL]; - * @return int|string - */ - public function getLeafNodeEmbeddingCount() - { - return isset($this->leaf_node_embedding_count) ? $this->leaf_node_embedding_count : 0; - } - - public function hasLeafNodeEmbeddingCount() - { - return isset($this->leaf_node_embedding_count); - } - - public function clearLeafNodeEmbeddingCount() - { - unset($this->leaf_node_embedding_count); - } - - /** - * Optional. Number of embeddings on each leaf node. The default value is - * 1000 if not set. - * - * Generated from protobuf field optional int64 leaf_node_embedding_count = 1 [(.google.api.field_behavior) = OPTIONAL]; - * @param int|string $var - * @return $this - */ - public function setLeafNodeEmbeddingCount($var) - { - GPBUtil::checkInt64($var); - $this->leaf_node_embedding_count = $var; - - return $this; - } - -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(TreeAHConfig::class, \Google\Cloud\AIPlatform\V1\FeatureView_IndexConfig_TreeAHConfig::class); - diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/FeatureView/SyncConfig.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/FeatureView/SyncConfig.php deleted file mode 100644 index 44bf8710684a..000000000000 --- a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/FeatureView/SyncConfig.php +++ /dev/null @@ -1,90 +0,0 @@ -google.cloud.aiplatform.v1.FeatureView.SyncConfig - */ -class SyncConfig extends \Google\Protobuf\Internal\Message -{ - /** - * Cron schedule (https://en.wikipedia.org/wiki/Cron) to launch scheduled - * runs. To explicitly set a timezone to the cron tab, apply a prefix in - * the cron tab: "CRON_TZ=${IANA_TIME_ZONE}" or "TZ=${IANA_TIME_ZONE}". - * The ${IANA_TIME_ZONE} may only be a valid string from IANA time zone - * database. For example, "CRON_TZ=America/New_York 1 * * * *", or - * "TZ=America/New_York 1 * * * *". - * - * Generated from protobuf field string cron = 1; - */ - protected $cron = ''; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $cron - * Cron schedule (https://en.wikipedia.org/wiki/Cron) to launch scheduled - * runs. To explicitly set a timezone to the cron tab, apply a prefix in - * the cron tab: "CRON_TZ=${IANA_TIME_ZONE}" or "TZ=${IANA_TIME_ZONE}". - * The ${IANA_TIME_ZONE} may only be a valid string from IANA time zone - * database. For example, "CRON_TZ=America/New_York 1 * * * *", or - * "TZ=America/New_York 1 * * * *". - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Cloud\Aiplatform\V1\FeatureView::initOnce(); - parent::__construct($data); - } - - /** - * Cron schedule (https://en.wikipedia.org/wiki/Cron) to launch scheduled - * runs. To explicitly set a timezone to the cron tab, apply a prefix in - * the cron tab: "CRON_TZ=${IANA_TIME_ZONE}" or "TZ=${IANA_TIME_ZONE}". - * The ${IANA_TIME_ZONE} may only be a valid string from IANA time zone - * database. For example, "CRON_TZ=America/New_York 1 * * * *", or - * "TZ=America/New_York 1 * * * *". - * - * Generated from protobuf field string cron = 1; - * @return string - */ - public function getCron() - { - return $this->cron; - } - - /** - * Cron schedule (https://en.wikipedia.org/wiki/Cron) to launch scheduled - * runs. To explicitly set a timezone to the cron tab, apply a prefix in - * the cron tab: "CRON_TZ=${IANA_TIME_ZONE}" or "TZ=${IANA_TIME_ZONE}". - * The ${IANA_TIME_ZONE} may only be a valid string from IANA time zone - * database. For example, "CRON_TZ=America/New_York 1 * * * *", or - * "TZ=America/New_York 1 * * * *". - * - * Generated from protobuf field string cron = 1; - * @param string $var - * @return $this - */ - public function setCron($var) - { - GPBUtil::checkString($var, True); - $this->cron = $var; - - return $this; - } - -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(SyncConfig::class, \Google\Cloud\AIPlatform\V1\FeatureView_SyncConfig::class); - diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/FeatureViewDataFormat.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/FeatureViewDataFormat.php deleted file mode 100644 index 621918058759..000000000000 --- a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/FeatureViewDataFormat.php +++ /dev/null @@ -1,61 +0,0 @@ -google.cloud.aiplatform.v1.FeatureViewDataFormat - */ -class FeatureViewDataFormat -{ - /** - * Not set. Will be treated as the KeyValue format. - * - * Generated from protobuf enum FEATURE_VIEW_DATA_FORMAT_UNSPECIFIED = 0; - */ - const FEATURE_VIEW_DATA_FORMAT_UNSPECIFIED = 0; - /** - * Return response data in key-value format. - * - * Generated from protobuf enum KEY_VALUE = 1; - */ - const KEY_VALUE = 1; - /** - * Return response data in proto Struct format. - * - * Generated from protobuf enum PROTO_STRUCT = 2; - */ - const PROTO_STRUCT = 2; - - private static $valueToName = [ - self::FEATURE_VIEW_DATA_FORMAT_UNSPECIFIED => 'FEATURE_VIEW_DATA_FORMAT_UNSPECIFIED', - self::KEY_VALUE => 'KEY_VALUE', - self::PROTO_STRUCT => 'PROTO_STRUCT', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/FeatureViewDataKey.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/FeatureViewDataKey.php deleted file mode 100644 index 901e9268fe9a..000000000000 --- a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/FeatureViewDataKey.php +++ /dev/null @@ -1,111 +0,0 @@ -google.cloud.aiplatform.v1.FeatureViewDataKey - */ -class FeatureViewDataKey extends \Google\Protobuf\Internal\Message -{ - protected $key_oneof; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $key - * String key to use for lookup. - * @type \Google\Cloud\AIPlatform\V1\FeatureViewDataKey\CompositeKey $composite_key - * The actual Entity ID will be composed from this struct. This should match - * with the way ID is defined in the FeatureView spec. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Cloud\Aiplatform\V1\FeatureOnlineStoreService::initOnce(); - parent::__construct($data); - } - - /** - * String key to use for lookup. - * - * Generated from protobuf field string key = 1; - * @return string - */ - public function getKey() - { - return $this->readOneof(1); - } - - public function hasKey() - { - return $this->hasOneof(1); - } - - /** - * String key to use for lookup. - * - * Generated from protobuf field string key = 1; - * @param string $var - * @return $this - */ - public function setKey($var) - { - GPBUtil::checkString($var, True); - $this->writeOneof(1, $var); - - return $this; - } - - /** - * The actual Entity ID will be composed from this struct. This should match - * with the way ID is defined in the FeatureView spec. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.FeatureViewDataKey.CompositeKey composite_key = 2; - * @return \Google\Cloud\AIPlatform\V1\FeatureViewDataKey\CompositeKey|null - */ - public function getCompositeKey() - { - return $this->readOneof(2); - } - - public function hasCompositeKey() - { - return $this->hasOneof(2); - } - - /** - * The actual Entity ID will be composed from this struct. This should match - * with the way ID is defined in the FeatureView spec. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.FeatureViewDataKey.CompositeKey composite_key = 2; - * @param \Google\Cloud\AIPlatform\V1\FeatureViewDataKey\CompositeKey $var - * @return $this - */ - public function setCompositeKey($var) - { - GPBUtil::checkMessage($var, \Google\Cloud\AIPlatform\V1\FeatureViewDataKey\CompositeKey::class); - $this->writeOneof(2, $var); - - return $this; - } - - /** - * @return string - */ - public function getKeyOneof() - { - return $this->whichOneof("key_oneof"); - } - -} - diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/FeatureViewDataKey/CompositeKey.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/FeatureViewDataKey/CompositeKey.php deleted file mode 100644 index 58e59cb4d7ff..000000000000 --- a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/FeatureViewDataKey/CompositeKey.php +++ /dev/null @@ -1,74 +0,0 @@ -google.cloud.aiplatform.v1.FeatureViewDataKey.CompositeKey - */ -class CompositeKey extends \Google\Protobuf\Internal\Message -{ - /** - * Parts to construct Entity ID. Should match with the same ID columns as - * defined in FeatureView in the same order. - * - * Generated from protobuf field repeated string parts = 1; - */ - private $parts; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type array|\Google\Protobuf\Internal\RepeatedField $parts - * Parts to construct Entity ID. Should match with the same ID columns as - * defined in FeatureView in the same order. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Cloud\Aiplatform\V1\FeatureOnlineStoreService::initOnce(); - parent::__construct($data); - } - - /** - * Parts to construct Entity ID. Should match with the same ID columns as - * defined in FeatureView in the same order. - * - * Generated from protobuf field repeated string parts = 1; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getParts() - { - return $this->parts; - } - - /** - * Parts to construct Entity ID. Should match with the same ID columns as - * defined in FeatureView in the same order. - * - * Generated from protobuf field repeated string parts = 1; - * @param array|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setParts($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING); - $this->parts = $arr; - - return $this; - } - -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(CompositeKey::class, \Google\Cloud\AIPlatform\V1\FeatureViewDataKey_CompositeKey::class); - diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/FeatureViewSync.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/FeatureViewSync.php deleted file mode 100644 index 6a4897b4ac72..000000000000 --- a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/FeatureViewSync.php +++ /dev/null @@ -1,256 +0,0 @@ -google.cloud.aiplatform.v1.FeatureViewSync - */ -class FeatureViewSync extends \Google\Protobuf\Internal\Message -{ - /** - * Identifier. Name of the FeatureViewSync. Format: - * `projects/{project}/locations/{location}/featureOnlineStores/{feature_online_store}/featureViews/{feature_view}/featureViewSyncs/{feature_view_sync}` - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; - */ - protected $name = ''; - /** - * Output only. Time when this FeatureViewSync is created. Creation of a - * FeatureViewSync means that the job is pending / waiting for sufficient - * resources but may not have started the actual data transfer yet. - * - * Generated from protobuf field .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $create_time = null; - /** - * Output only. Time when this FeatureViewSync is finished. - * - * Generated from protobuf field .google.type.Interval run_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $run_time = null; - /** - * Output only. Final status of the FeatureViewSync. - * - * Generated from protobuf field .google.rpc.Status final_status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $final_status = null; - /** - * Output only. Summary of the sync job. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.FeatureViewSync.SyncSummary sync_summary = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $sync_summary = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $name - * Identifier. Name of the FeatureViewSync. Format: - * `projects/{project}/locations/{location}/featureOnlineStores/{feature_online_store}/featureViews/{feature_view}/featureViewSyncs/{feature_view_sync}` - * @type \Google\Protobuf\Timestamp $create_time - * Output only. Time when this FeatureViewSync is created. Creation of a - * FeatureViewSync means that the job is pending / waiting for sufficient - * resources but may not have started the actual data transfer yet. - * @type \Google\Type\Interval $run_time - * Output only. Time when this FeatureViewSync is finished. - * @type \Google\Rpc\Status $final_status - * Output only. Final status of the FeatureViewSync. - * @type \Google\Cloud\AIPlatform\V1\FeatureViewSync\SyncSummary $sync_summary - * Output only. Summary of the sync job. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Cloud\Aiplatform\V1\FeatureViewSync::initOnce(); - parent::__construct($data); - } - - /** - * Identifier. Name of the FeatureViewSync. Format: - * `projects/{project}/locations/{location}/featureOnlineStores/{feature_online_store}/featureViews/{feature_view}/featureViewSyncs/{feature_view_sync}` - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; - * @return string - */ - public function getName() - { - return $this->name; - } - - /** - * Identifier. Name of the FeatureViewSync. Format: - * `projects/{project}/locations/{location}/featureOnlineStores/{feature_online_store}/featureViews/{feature_view}/featureViewSyncs/{feature_view_sync}` - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = IDENTIFIER]; - * @param string $var - * @return $this - */ - public function setName($var) - { - GPBUtil::checkString($var, True); - $this->name = $var; - - return $this; - } - - /** - * Output only. Time when this FeatureViewSync is created. Creation of a - * FeatureViewSync means that the job is pending / waiting for sufficient - * resources but may not have started the actual data transfer yet. - * - * Generated from protobuf field .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return \Google\Protobuf\Timestamp|null - */ - public function getCreateTime() - { - return $this->create_time; - } - - public function hasCreateTime() - { - return isset($this->create_time); - } - - public function clearCreateTime() - { - unset($this->create_time); - } - - /** - * Output only. Time when this FeatureViewSync is created. Creation of a - * FeatureViewSync means that the job is pending / waiting for sufficient - * resources but may not have started the actual data transfer yet. - * - * Generated from protobuf field .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param \Google\Protobuf\Timestamp $var - * @return $this - */ - public function setCreateTime($var) - { - GPBUtil::checkMessage($var, \Google\Protobuf\Timestamp::class); - $this->create_time = $var; - - return $this; - } - - /** - * Output only. Time when this FeatureViewSync is finished. - * - * Generated from protobuf field .google.type.Interval run_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return \Google\Type\Interval|null - */ - public function getRunTime() - { - return $this->run_time; - } - - public function hasRunTime() - { - return isset($this->run_time); - } - - public function clearRunTime() - { - unset($this->run_time); - } - - /** - * Output only. Time when this FeatureViewSync is finished. - * - * Generated from protobuf field .google.type.Interval run_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param \Google\Type\Interval $var - * @return $this - */ - public function setRunTime($var) - { - GPBUtil::checkMessage($var, \Google\Type\Interval::class); - $this->run_time = $var; - - return $this; - } - - /** - * Output only. Final status of the FeatureViewSync. - * - * Generated from protobuf field .google.rpc.Status final_status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return \Google\Rpc\Status|null - */ - public function getFinalStatus() - { - return $this->final_status; - } - - public function hasFinalStatus() - { - return isset($this->final_status); - } - - public function clearFinalStatus() - { - unset($this->final_status); - } - - /** - * Output only. Final status of the FeatureViewSync. - * - * Generated from protobuf field .google.rpc.Status final_status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param \Google\Rpc\Status $var - * @return $this - */ - public function setFinalStatus($var) - { - GPBUtil::checkMessage($var, \Google\Rpc\Status::class); - $this->final_status = $var; - - return $this; - } - - /** - * Output only. Summary of the sync job. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.FeatureViewSync.SyncSummary sync_summary = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return \Google\Cloud\AIPlatform\V1\FeatureViewSync\SyncSummary|null - */ - public function getSyncSummary() - { - return $this->sync_summary; - } - - public function hasSyncSummary() - { - return isset($this->sync_summary); - } - - public function clearSyncSummary() - { - unset($this->sync_summary); - } - - /** - * Output only. Summary of the sync job. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.FeatureViewSync.SyncSummary sync_summary = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param \Google\Cloud\AIPlatform\V1\FeatureViewSync\SyncSummary $var - * @return $this - */ - public function setSyncSummary($var) - { - GPBUtil::checkMessage($var, \Google\Cloud\AIPlatform\V1\FeatureViewSync\SyncSummary::class); - $this->sync_summary = $var; - - return $this; - } - -} - diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/FeatureViewSync/SyncSummary.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/FeatureViewSync/SyncSummary.php deleted file mode 100644 index 1ebb67121f90..000000000000 --- a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/FeatureViewSync/SyncSummary.php +++ /dev/null @@ -1,105 +0,0 @@ -google.cloud.aiplatform.v1.FeatureViewSync.SyncSummary - */ -class SyncSummary extends \Google\Protobuf\Internal\Message -{ - /** - * Output only. Total number of rows synced. - * - * Generated from protobuf field int64 row_synced = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $row_synced = 0; - /** - * Output only. BigQuery slot milliseconds consumed for the sync job. - * - * Generated from protobuf field int64 total_slot = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $total_slot = 0; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type int|string $row_synced - * Output only. Total number of rows synced. - * @type int|string $total_slot - * Output only. BigQuery slot milliseconds consumed for the sync job. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Cloud\Aiplatform\V1\FeatureViewSync::initOnce(); - parent::__construct($data); - } - - /** - * Output only. Total number of rows synced. - * - * Generated from protobuf field int64 row_synced = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return int|string - */ - public function getRowSynced() - { - return $this->row_synced; - } - - /** - * Output only. Total number of rows synced. - * - * Generated from protobuf field int64 row_synced = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param int|string $var - * @return $this - */ - public function setRowSynced($var) - { - GPBUtil::checkInt64($var); - $this->row_synced = $var; - - return $this; - } - - /** - * Output only. BigQuery slot milliseconds consumed for the sync job. - * - * Generated from protobuf field int64 total_slot = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return int|string - */ - public function getTotalSlot() - { - return $this->total_slot; - } - - /** - * Output only. BigQuery slot milliseconds consumed for the sync job. - * - * Generated from protobuf field int64 total_slot = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param int|string $var - * @return $this - */ - public function setTotalSlot($var) - { - GPBUtil::checkInt64($var); - $this->total_slot = $var; - - return $this; - } - -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(SyncSummary::class, \Google\Cloud\AIPlatform\V1\FeatureViewSync_SyncSummary::class); - diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/Featurestore.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/Featurestore.php deleted file mode 100644 index d538cfed35fc..000000000000 --- a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/Featurestore.php +++ /dev/null @@ -1,461 +0,0 @@ -google.cloud.aiplatform.v1.Featurestore - */ -class Featurestore extends \Google\Protobuf\Internal\Message -{ - /** - * Output only. Name of the Featurestore. Format: - * `projects/{project}/locations/{location}/featurestores/{featurestore}` - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $name = ''; - /** - * Output only. Timestamp when this Featurestore was created. - * - * Generated from protobuf field .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $create_time = null; - /** - * Output only. Timestamp when this Featurestore was last updated. - * - * Generated from protobuf field .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $update_time = null; - /** - * Optional. Used to perform consistent read-modify-write updates. If not set, - * a blind "overwrite" update happens. - * - * Generated from protobuf field string etag = 5 [(.google.api.field_behavior) = OPTIONAL]; - */ - protected $etag = ''; - /** - * Optional. The labels with user-defined metadata to organize your - * Featurestore. - * Label keys and values can be no longer than 64 characters - * (Unicode codepoints), can only contain lowercase letters, numeric - * characters, underscores and dashes. International characters are allowed. - * See https://goo.gl/xmQnxf for more information on and examples of labels. - * No more than 64 user labels can be associated with one Featurestore(System - * labels are excluded)." - * System reserved label keys are prefixed with "aiplatform.googleapis.com/" - * and are immutable. - * - * Generated from protobuf field map labels = 6 [(.google.api.field_behavior) = OPTIONAL]; - */ - private $labels; - /** - * Optional. Config for online storage resources. The field should not - * co-exist with the field of `OnlineStoreReplicationConfig`. If both of it - * and OnlineStoreReplicationConfig are unset, the feature store will not have - * an online store and cannot be used for online serving. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.Featurestore.OnlineServingConfig online_serving_config = 7 [(.google.api.field_behavior) = OPTIONAL]; - */ - protected $online_serving_config = null; - /** - * Output only. State of the featurestore. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.Featurestore.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $state = 0; - /** - * Optional. TTL in days for feature values that will be stored in online - * serving storage. The Feature Store online storage periodically removes - * obsolete feature values older than `online_storage_ttl_days` since the - * feature generation time. Note that `online_storage_ttl_days` should be less - * than or equal to `offline_storage_ttl_days` for each EntityType under a - * featurestore. If not set, default to 4000 days - * - * Generated from protobuf field int32 online_storage_ttl_days = 13 [(.google.api.field_behavior) = OPTIONAL]; - */ - protected $online_storage_ttl_days = 0; - /** - * Optional. Customer-managed encryption key spec for data storage. If set, - * both of the online and offline data storage will be secured by this key. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.EncryptionSpec encryption_spec = 10 [(.google.api.field_behavior) = OPTIONAL]; - */ - protected $encryption_spec = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $name - * Output only. Name of the Featurestore. Format: - * `projects/{project}/locations/{location}/featurestores/{featurestore}` - * @type \Google\Protobuf\Timestamp $create_time - * Output only. Timestamp when this Featurestore was created. - * @type \Google\Protobuf\Timestamp $update_time - * Output only. Timestamp when this Featurestore was last updated. - * @type string $etag - * Optional. Used to perform consistent read-modify-write updates. If not set, - * a blind "overwrite" update happens. - * @type array|\Google\Protobuf\Internal\MapField $labels - * Optional. The labels with user-defined metadata to organize your - * Featurestore. - * Label keys and values can be no longer than 64 characters - * (Unicode codepoints), can only contain lowercase letters, numeric - * characters, underscores and dashes. International characters are allowed. - * See https://goo.gl/xmQnxf for more information on and examples of labels. - * No more than 64 user labels can be associated with one Featurestore(System - * labels are excluded)." - * System reserved label keys are prefixed with "aiplatform.googleapis.com/" - * and are immutable. - * @type \Google\Cloud\AIPlatform\V1\Featurestore\OnlineServingConfig $online_serving_config - * Optional. Config for online storage resources. The field should not - * co-exist with the field of `OnlineStoreReplicationConfig`. If both of it - * and OnlineStoreReplicationConfig are unset, the feature store will not have - * an online store and cannot be used for online serving. - * @type int $state - * Output only. State of the featurestore. - * @type int $online_storage_ttl_days - * Optional. TTL in days for feature values that will be stored in online - * serving storage. The Feature Store online storage periodically removes - * obsolete feature values older than `online_storage_ttl_days` since the - * feature generation time. Note that `online_storage_ttl_days` should be less - * than or equal to `offline_storage_ttl_days` for each EntityType under a - * featurestore. If not set, default to 4000 days - * @type \Google\Cloud\AIPlatform\V1\EncryptionSpec $encryption_spec - * Optional. Customer-managed encryption key spec for data storage. If set, - * both of the online and offline data storage will be secured by this key. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Cloud\Aiplatform\V1\Featurestore::initOnce(); - parent::__construct($data); - } - - /** - * Output only. Name of the Featurestore. Format: - * `projects/{project}/locations/{location}/featurestores/{featurestore}` - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return string - */ - public function getName() - { - return $this->name; - } - - /** - * Output only. Name of the Featurestore. Format: - * `projects/{project}/locations/{location}/featurestores/{featurestore}` - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param string $var - * @return $this - */ - public function setName($var) - { - GPBUtil::checkString($var, True); - $this->name = $var; - - return $this; - } - - /** - * Output only. Timestamp when this Featurestore was created. - * - * Generated from protobuf field .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return \Google\Protobuf\Timestamp|null - */ - public function getCreateTime() - { - return $this->create_time; - } - - public function hasCreateTime() - { - return isset($this->create_time); - } - - public function clearCreateTime() - { - unset($this->create_time); - } - - /** - * Output only. Timestamp when this Featurestore was created. - * - * Generated from protobuf field .google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param \Google\Protobuf\Timestamp $var - * @return $this - */ - public function setCreateTime($var) - { - GPBUtil::checkMessage($var, \Google\Protobuf\Timestamp::class); - $this->create_time = $var; - - return $this; - } - - /** - * Output only. Timestamp when this Featurestore was last updated. - * - * Generated from protobuf field .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return \Google\Protobuf\Timestamp|null - */ - public function getUpdateTime() - { - return $this->update_time; - } - - public function hasUpdateTime() - { - return isset($this->update_time); - } - - public function clearUpdateTime() - { - unset($this->update_time); - } - - /** - * Output only. Timestamp when this Featurestore was last updated. - * - * Generated from protobuf field .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param \Google\Protobuf\Timestamp $var - * @return $this - */ - public function setUpdateTime($var) - { - GPBUtil::checkMessage($var, \Google\Protobuf\Timestamp::class); - $this->update_time = $var; - - return $this; - } - - /** - * Optional. Used to perform consistent read-modify-write updates. If not set, - * a blind "overwrite" update happens. - * - * Generated from protobuf field string etag = 5 [(.google.api.field_behavior) = OPTIONAL]; - * @return string - */ - public function getEtag() - { - return $this->etag; - } - - /** - * Optional. Used to perform consistent read-modify-write updates. If not set, - * a blind "overwrite" update happens. - * - * Generated from protobuf field string etag = 5 [(.google.api.field_behavior) = OPTIONAL]; - * @param string $var - * @return $this - */ - public function setEtag($var) - { - GPBUtil::checkString($var, True); - $this->etag = $var; - - return $this; - } - - /** - * Optional. The labels with user-defined metadata to organize your - * Featurestore. - * Label keys and values can be no longer than 64 characters - * (Unicode codepoints), can only contain lowercase letters, numeric - * characters, underscores and dashes. International characters are allowed. - * See https://goo.gl/xmQnxf for more information on and examples of labels. - * No more than 64 user labels can be associated with one Featurestore(System - * labels are excluded)." - * System reserved label keys are prefixed with "aiplatform.googleapis.com/" - * and are immutable. - * - * Generated from protobuf field map labels = 6 [(.google.api.field_behavior) = OPTIONAL]; - * @return \Google\Protobuf\Internal\MapField - */ - public function getLabels() - { - return $this->labels; - } - - /** - * Optional. The labels with user-defined metadata to organize your - * Featurestore. - * Label keys and values can be no longer than 64 characters - * (Unicode codepoints), can only contain lowercase letters, numeric - * characters, underscores and dashes. International characters are allowed. - * See https://goo.gl/xmQnxf for more information on and examples of labels. - * No more than 64 user labels can be associated with one Featurestore(System - * labels are excluded)." - * System reserved label keys are prefixed with "aiplatform.googleapis.com/" - * and are immutable. - * - * Generated from protobuf field map labels = 6 [(.google.api.field_behavior) = OPTIONAL]; - * @param array|\Google\Protobuf\Internal\MapField $var - * @return $this - */ - public function setLabels($var) - { - $arr = GPBUtil::checkMapField($var, \Google\Protobuf\Internal\GPBType::STRING, \Google\Protobuf\Internal\GPBType::STRING); - $this->labels = $arr; - - return $this; - } - - /** - * Optional. Config for online storage resources. The field should not - * co-exist with the field of `OnlineStoreReplicationConfig`. If both of it - * and OnlineStoreReplicationConfig are unset, the feature store will not have - * an online store and cannot be used for online serving. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.Featurestore.OnlineServingConfig online_serving_config = 7 [(.google.api.field_behavior) = OPTIONAL]; - * @return \Google\Cloud\AIPlatform\V1\Featurestore\OnlineServingConfig|null - */ - public function getOnlineServingConfig() - { - return $this->online_serving_config; - } - - public function hasOnlineServingConfig() - { - return isset($this->online_serving_config); - } - - public function clearOnlineServingConfig() - { - unset($this->online_serving_config); - } - - /** - * Optional. Config for online storage resources. The field should not - * co-exist with the field of `OnlineStoreReplicationConfig`. If both of it - * and OnlineStoreReplicationConfig are unset, the feature store will not have - * an online store and cannot be used for online serving. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.Featurestore.OnlineServingConfig online_serving_config = 7 [(.google.api.field_behavior) = OPTIONAL]; - * @param \Google\Cloud\AIPlatform\V1\Featurestore\OnlineServingConfig $var - * @return $this - */ - public function setOnlineServingConfig($var) - { - GPBUtil::checkMessage($var, \Google\Cloud\AIPlatform\V1\Featurestore\OnlineServingConfig::class); - $this->online_serving_config = $var; - - return $this; - } - - /** - * Output only. State of the featurestore. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.Featurestore.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return int - */ - public function getState() - { - return $this->state; - } - - /** - * Output only. State of the featurestore. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.Featurestore.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param int $var - * @return $this - */ - public function setState($var) - { - GPBUtil::checkEnum($var, \Google\Cloud\AIPlatform\V1\Featurestore\State::class); - $this->state = $var; - - return $this; - } - - /** - * Optional. TTL in days for feature values that will be stored in online - * serving storage. The Feature Store online storage periodically removes - * obsolete feature values older than `online_storage_ttl_days` since the - * feature generation time. Note that `online_storage_ttl_days` should be less - * than or equal to `offline_storage_ttl_days` for each EntityType under a - * featurestore. If not set, default to 4000 days - * - * Generated from protobuf field int32 online_storage_ttl_days = 13 [(.google.api.field_behavior) = OPTIONAL]; - * @return int - */ - public function getOnlineStorageTtlDays() - { - return $this->online_storage_ttl_days; - } - - /** - * Optional. TTL in days for feature values that will be stored in online - * serving storage. The Feature Store online storage periodically removes - * obsolete feature values older than `online_storage_ttl_days` since the - * feature generation time. Note that `online_storage_ttl_days` should be less - * than or equal to `offline_storage_ttl_days` for each EntityType under a - * featurestore. If not set, default to 4000 days - * - * Generated from protobuf field int32 online_storage_ttl_days = 13 [(.google.api.field_behavior) = OPTIONAL]; - * @param int $var - * @return $this - */ - public function setOnlineStorageTtlDays($var) - { - GPBUtil::checkInt32($var); - $this->online_storage_ttl_days = $var; - - return $this; - } - - /** - * Optional. Customer-managed encryption key spec for data storage. If set, - * both of the online and offline data storage will be secured by this key. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.EncryptionSpec encryption_spec = 10 [(.google.api.field_behavior) = OPTIONAL]; - * @return \Google\Cloud\AIPlatform\V1\EncryptionSpec|null - */ - public function getEncryptionSpec() - { - return $this->encryption_spec; - } - - public function hasEncryptionSpec() - { - return isset($this->encryption_spec); - } - - public function clearEncryptionSpec() - { - unset($this->encryption_spec); - } - - /** - * Optional. Customer-managed encryption key spec for data storage. If set, - * both of the online and offline data storage will be secured by this key. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.EncryptionSpec encryption_spec = 10 [(.google.api.field_behavior) = OPTIONAL]; - * @param \Google\Cloud\AIPlatform\V1\EncryptionSpec $var - * @return $this - */ - public function setEncryptionSpec($var) - { - GPBUtil::checkMessage($var, \Google\Cloud\AIPlatform\V1\EncryptionSpec::class); - $this->encryption_spec = $var; - - return $this; - } - -} - diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/Featurestore/OnlineServingConfig.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/Featurestore/OnlineServingConfig.php deleted file mode 100644 index e8aa9efb9842..000000000000 --- a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/Featurestore/OnlineServingConfig.php +++ /dev/null @@ -1,135 +0,0 @@ -google.cloud.aiplatform.v1.Featurestore.OnlineServingConfig - */ -class OnlineServingConfig extends \Google\Protobuf\Internal\Message -{ - /** - * The number of nodes for the online store. The number of nodes doesn't - * scale automatically, but you can manually update the number of - * nodes. If set to 0, the featurestore will not have an - * online store and cannot be used for online serving. - * - * Generated from protobuf field int32 fixed_node_count = 2; - */ - protected $fixed_node_count = 0; - /** - * Online serving scaling configuration. - * Only one of `fixed_node_count` and `scaling` can be set. Setting one will - * reset the other. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.Featurestore.OnlineServingConfig.Scaling scaling = 4; - */ - protected $scaling = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type int $fixed_node_count - * The number of nodes for the online store. The number of nodes doesn't - * scale automatically, but you can manually update the number of - * nodes. If set to 0, the featurestore will not have an - * online store and cannot be used for online serving. - * @type \Google\Cloud\AIPlatform\V1\Featurestore\OnlineServingConfig\Scaling $scaling - * Online serving scaling configuration. - * Only one of `fixed_node_count` and `scaling` can be set. Setting one will - * reset the other. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Cloud\Aiplatform\V1\Featurestore::initOnce(); - parent::__construct($data); - } - - /** - * The number of nodes for the online store. The number of nodes doesn't - * scale automatically, but you can manually update the number of - * nodes. If set to 0, the featurestore will not have an - * online store and cannot be used for online serving. - * - * Generated from protobuf field int32 fixed_node_count = 2; - * @return int - */ - public function getFixedNodeCount() - { - return $this->fixed_node_count; - } - - /** - * The number of nodes for the online store. The number of nodes doesn't - * scale automatically, but you can manually update the number of - * nodes. If set to 0, the featurestore will not have an - * online store and cannot be used for online serving. - * - * Generated from protobuf field int32 fixed_node_count = 2; - * @param int $var - * @return $this - */ - public function setFixedNodeCount($var) - { - GPBUtil::checkInt32($var); - $this->fixed_node_count = $var; - - return $this; - } - - /** - * Online serving scaling configuration. - * Only one of `fixed_node_count` and `scaling` can be set. Setting one will - * reset the other. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.Featurestore.OnlineServingConfig.Scaling scaling = 4; - * @return \Google\Cloud\AIPlatform\V1\Featurestore\OnlineServingConfig\Scaling|null - */ - public function getScaling() - { - return $this->scaling; - } - - public function hasScaling() - { - return isset($this->scaling); - } - - public function clearScaling() - { - unset($this->scaling); - } - - /** - * Online serving scaling configuration. - * Only one of `fixed_node_count` and `scaling` can be set. Setting one will - * reset the other. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.Featurestore.OnlineServingConfig.Scaling scaling = 4; - * @param \Google\Cloud\AIPlatform\V1\Featurestore\OnlineServingConfig\Scaling $var - * @return $this - */ - public function setScaling($var) - { - GPBUtil::checkMessage($var, \Google\Cloud\AIPlatform\V1\Featurestore\OnlineServingConfig\Scaling::class); - $this->scaling = $var; - - return $this; - } - -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(OnlineServingConfig::class, \Google\Cloud\AIPlatform\V1\Featurestore_OnlineServingConfig::class); - diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/Featurestore/OnlineServingConfig/Scaling.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/Featurestore/OnlineServingConfig/Scaling.php deleted file mode 100644 index 7288d1864a30..000000000000 --- a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/Featurestore/OnlineServingConfig/Scaling.php +++ /dev/null @@ -1,172 +0,0 @@ -google.cloud.aiplatform.v1.Featurestore.OnlineServingConfig.Scaling - */ -class Scaling extends \Google\Protobuf\Internal\Message -{ - /** - * Required. The minimum number of nodes to scale down to. Must be greater - * than or equal to 1. - * - * Generated from protobuf field int32 min_node_count = 1 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $min_node_count = 0; - /** - * The maximum number of nodes to scale up to. Must be greater than - * min_node_count, and less than or equal to 10 times of 'min_node_count'. - * - * Generated from protobuf field int32 max_node_count = 2; - */ - protected $max_node_count = 0; - /** - * Optional. The cpu utilization that the Autoscaler should be trying to - * achieve. This number is on a scale from 0 (no utilization) to 100 - * (total utilization), and is limited between 10 and 80. When a cluster's - * CPU utilization exceeds the target that you have set, Bigtable - * immediately adds nodes to the cluster. When CPU utilization is - * substantially lower than the target, Bigtable removes nodes. If not set - * or set to 0, default to 50. - * - * Generated from protobuf field int32 cpu_utilization_target = 3 [(.google.api.field_behavior) = OPTIONAL]; - */ - protected $cpu_utilization_target = 0; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type int $min_node_count - * Required. The minimum number of nodes to scale down to. Must be greater - * than or equal to 1. - * @type int $max_node_count - * The maximum number of nodes to scale up to. Must be greater than - * min_node_count, and less than or equal to 10 times of 'min_node_count'. - * @type int $cpu_utilization_target - * Optional. The cpu utilization that the Autoscaler should be trying to - * achieve. This number is on a scale from 0 (no utilization) to 100 - * (total utilization), and is limited between 10 and 80. When a cluster's - * CPU utilization exceeds the target that you have set, Bigtable - * immediately adds nodes to the cluster. When CPU utilization is - * substantially lower than the target, Bigtable removes nodes. If not set - * or set to 0, default to 50. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Cloud\Aiplatform\V1\Featurestore::initOnce(); - parent::__construct($data); - } - - /** - * Required. The minimum number of nodes to scale down to. Must be greater - * than or equal to 1. - * - * Generated from protobuf field int32 min_node_count = 1 [(.google.api.field_behavior) = REQUIRED]; - * @return int - */ - public function getMinNodeCount() - { - return $this->min_node_count; - } - - /** - * Required. The minimum number of nodes to scale down to. Must be greater - * than or equal to 1. - * - * Generated from protobuf field int32 min_node_count = 1 [(.google.api.field_behavior) = REQUIRED]; - * @param int $var - * @return $this - */ - public function setMinNodeCount($var) - { - GPBUtil::checkInt32($var); - $this->min_node_count = $var; - - return $this; - } - - /** - * The maximum number of nodes to scale up to. Must be greater than - * min_node_count, and less than or equal to 10 times of 'min_node_count'. - * - * Generated from protobuf field int32 max_node_count = 2; - * @return int - */ - public function getMaxNodeCount() - { - return $this->max_node_count; - } - - /** - * The maximum number of nodes to scale up to. Must be greater than - * min_node_count, and less than or equal to 10 times of 'min_node_count'. - * - * Generated from protobuf field int32 max_node_count = 2; - * @param int $var - * @return $this - */ - public function setMaxNodeCount($var) - { - GPBUtil::checkInt32($var); - $this->max_node_count = $var; - - return $this; - } - - /** - * Optional. The cpu utilization that the Autoscaler should be trying to - * achieve. This number is on a scale from 0 (no utilization) to 100 - * (total utilization), and is limited between 10 and 80. When a cluster's - * CPU utilization exceeds the target that you have set, Bigtable - * immediately adds nodes to the cluster. When CPU utilization is - * substantially lower than the target, Bigtable removes nodes. If not set - * or set to 0, default to 50. - * - * Generated from protobuf field int32 cpu_utilization_target = 3 [(.google.api.field_behavior) = OPTIONAL]; - * @return int - */ - public function getCpuUtilizationTarget() - { - return $this->cpu_utilization_target; - } - - /** - * Optional. The cpu utilization that the Autoscaler should be trying to - * achieve. This number is on a scale from 0 (no utilization) to 100 - * (total utilization), and is limited between 10 and 80. When a cluster's - * CPU utilization exceeds the target that you have set, Bigtable - * immediately adds nodes to the cluster. When CPU utilization is - * substantially lower than the target, Bigtable removes nodes. If not set - * or set to 0, default to 50. - * - * Generated from protobuf field int32 cpu_utilization_target = 3 [(.google.api.field_behavior) = OPTIONAL]; - * @param int $var - * @return $this - */ - public function setCpuUtilizationTarget($var) - { - GPBUtil::checkInt32($var); - $this->cpu_utilization_target = $var; - - return $this; - } - -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(Scaling::class, \Google\Cloud\AIPlatform\V1\Featurestore_OnlineServingConfig_Scaling::class); - diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/Featurestore/State.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/Featurestore/State.php deleted file mode 100644 index b4ace3f62cda..000000000000 --- a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/Featurestore/State.php +++ /dev/null @@ -1,75 +0,0 @@ -google.cloud.aiplatform.v1.Featurestore.State - */ -class State -{ - /** - * Default value. This value is unused. - * - * Generated from protobuf enum STATE_UNSPECIFIED = 0; - */ - const STATE_UNSPECIFIED = 0; - /** - * State when the featurestore configuration is not being updated and the - * fields reflect the current configuration of the featurestore. The - * featurestore is usable in this state. - * - * Generated from protobuf enum STABLE = 1; - */ - const STABLE = 1; - /** - * The state of the featurestore configuration when it is being updated. - * During an update, the fields reflect either the original configuration - * or the updated configuration of the featurestore. For example, - * `online_serving_config.fixed_node_count` can take minutes to update. - * While the update is in progress, the featurestore is in the UPDATING - * state, and the value of `fixed_node_count` can be the original value or - * the updated value, depending on the progress of the operation. Until the - * update completes, the actual number of nodes can still be the original - * value of `fixed_node_count`. The featurestore is still usable in this - * state. - * - * Generated from protobuf enum UPDATING = 2; - */ - const UPDATING = 2; - - private static $valueToName = [ - self::STATE_UNSPECIFIED => 'STATE_UNSPECIFIED', - self::STABLE => 'STABLE', - self::UPDATING => 'UPDATING', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(State::class, \Google\Cloud\AIPlatform\V1\Featurestore_State::class); - diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/FeaturestoreMonitoringConfig.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/FeaturestoreMonitoringConfig.php deleted file mode 100644 index 9d13f9c4ff78..000000000000 --- a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/FeaturestoreMonitoringConfig.php +++ /dev/null @@ -1,241 +0,0 @@ -google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig - */ -class FeaturestoreMonitoringConfig extends \Google\Protobuf\Internal\Message -{ - /** - * The config for Snapshot Analysis Based Feature Monitoring. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.SnapshotAnalysis snapshot_analysis = 1; - */ - protected $snapshot_analysis = null; - /** - * The config for ImportFeatures Analysis Based Feature Monitoring. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.ImportFeaturesAnalysis import_features_analysis = 2; - */ - protected $import_features_analysis = null; - /** - * Threshold for numerical features of anomaly detection. - * This is shared by all objectives of Featurestore Monitoring for numerical - * features (i.e. Features with type - * ([Feature.ValueType][google.cloud.aiplatform.v1.Feature.ValueType]) DOUBLE - * or INT64). - * - * Generated from protobuf field .google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.ThresholdConfig numerical_threshold_config = 3; - */ - protected $numerical_threshold_config = null; - /** - * Threshold for categorical features of anomaly detection. - * This is shared by all types of Featurestore Monitoring for categorical - * features (i.e. Features with type - * ([Feature.ValueType][google.cloud.aiplatform.v1.Feature.ValueType]) BOOL or - * STRING). - * - * Generated from protobuf field .google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.ThresholdConfig categorical_threshold_config = 4; - */ - protected $categorical_threshold_config = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type \Google\Cloud\AIPlatform\V1\FeaturestoreMonitoringConfig\SnapshotAnalysis $snapshot_analysis - * The config for Snapshot Analysis Based Feature Monitoring. - * @type \Google\Cloud\AIPlatform\V1\FeaturestoreMonitoringConfig\ImportFeaturesAnalysis $import_features_analysis - * The config for ImportFeatures Analysis Based Feature Monitoring. - * @type \Google\Cloud\AIPlatform\V1\FeaturestoreMonitoringConfig\ThresholdConfig $numerical_threshold_config - * Threshold for numerical features of anomaly detection. - * This is shared by all objectives of Featurestore Monitoring for numerical - * features (i.e. Features with type - * ([Feature.ValueType][google.cloud.aiplatform.v1.Feature.ValueType]) DOUBLE - * or INT64). - * @type \Google\Cloud\AIPlatform\V1\FeaturestoreMonitoringConfig\ThresholdConfig $categorical_threshold_config - * Threshold for categorical features of anomaly detection. - * This is shared by all types of Featurestore Monitoring for categorical - * features (i.e. Features with type - * ([Feature.ValueType][google.cloud.aiplatform.v1.Feature.ValueType]) BOOL or - * STRING). - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Cloud\Aiplatform\V1\FeaturestoreMonitoring::initOnce(); - parent::__construct($data); - } - - /** - * The config for Snapshot Analysis Based Feature Monitoring. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.SnapshotAnalysis snapshot_analysis = 1; - * @return \Google\Cloud\AIPlatform\V1\FeaturestoreMonitoringConfig\SnapshotAnalysis|null - */ - public function getSnapshotAnalysis() - { - return $this->snapshot_analysis; - } - - public function hasSnapshotAnalysis() - { - return isset($this->snapshot_analysis); - } - - public function clearSnapshotAnalysis() - { - unset($this->snapshot_analysis); - } - - /** - * The config for Snapshot Analysis Based Feature Monitoring. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.SnapshotAnalysis snapshot_analysis = 1; - * @param \Google\Cloud\AIPlatform\V1\FeaturestoreMonitoringConfig\SnapshotAnalysis $var - * @return $this - */ - public function setSnapshotAnalysis($var) - { - GPBUtil::checkMessage($var, \Google\Cloud\AIPlatform\V1\FeaturestoreMonitoringConfig\SnapshotAnalysis::class); - $this->snapshot_analysis = $var; - - return $this; - } - - /** - * The config for ImportFeatures Analysis Based Feature Monitoring. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.ImportFeaturesAnalysis import_features_analysis = 2; - * @return \Google\Cloud\AIPlatform\V1\FeaturestoreMonitoringConfig\ImportFeaturesAnalysis|null - */ - public function getImportFeaturesAnalysis() - { - return $this->import_features_analysis; - } - - public function hasImportFeaturesAnalysis() - { - return isset($this->import_features_analysis); - } - - public function clearImportFeaturesAnalysis() - { - unset($this->import_features_analysis); - } - - /** - * The config for ImportFeatures Analysis Based Feature Monitoring. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.ImportFeaturesAnalysis import_features_analysis = 2; - * @param \Google\Cloud\AIPlatform\V1\FeaturestoreMonitoringConfig\ImportFeaturesAnalysis $var - * @return $this - */ - public function setImportFeaturesAnalysis($var) - { - GPBUtil::checkMessage($var, \Google\Cloud\AIPlatform\V1\FeaturestoreMonitoringConfig\ImportFeaturesAnalysis::class); - $this->import_features_analysis = $var; - - return $this; - } - - /** - * Threshold for numerical features of anomaly detection. - * This is shared by all objectives of Featurestore Monitoring for numerical - * features (i.e. Features with type - * ([Feature.ValueType][google.cloud.aiplatform.v1.Feature.ValueType]) DOUBLE - * or INT64). - * - * Generated from protobuf field .google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.ThresholdConfig numerical_threshold_config = 3; - * @return \Google\Cloud\AIPlatform\V1\FeaturestoreMonitoringConfig\ThresholdConfig|null - */ - public function getNumericalThresholdConfig() - { - return $this->numerical_threshold_config; - } - - public function hasNumericalThresholdConfig() - { - return isset($this->numerical_threshold_config); - } - - public function clearNumericalThresholdConfig() - { - unset($this->numerical_threshold_config); - } - - /** - * Threshold for numerical features of anomaly detection. - * This is shared by all objectives of Featurestore Monitoring for numerical - * features (i.e. Features with type - * ([Feature.ValueType][google.cloud.aiplatform.v1.Feature.ValueType]) DOUBLE - * or INT64). - * - * Generated from protobuf field .google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.ThresholdConfig numerical_threshold_config = 3; - * @param \Google\Cloud\AIPlatform\V1\FeaturestoreMonitoringConfig\ThresholdConfig $var - * @return $this - */ - public function setNumericalThresholdConfig($var) - { - GPBUtil::checkMessage($var, \Google\Cloud\AIPlatform\V1\FeaturestoreMonitoringConfig\ThresholdConfig::class); - $this->numerical_threshold_config = $var; - - return $this; - } - - /** - * Threshold for categorical features of anomaly detection. - * This is shared by all types of Featurestore Monitoring for categorical - * features (i.e. Features with type - * ([Feature.ValueType][google.cloud.aiplatform.v1.Feature.ValueType]) BOOL or - * STRING). - * - * Generated from protobuf field .google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.ThresholdConfig categorical_threshold_config = 4; - * @return \Google\Cloud\AIPlatform\V1\FeaturestoreMonitoringConfig\ThresholdConfig|null - */ - public function getCategoricalThresholdConfig() - { - return $this->categorical_threshold_config; - } - - public function hasCategoricalThresholdConfig() - { - return isset($this->categorical_threshold_config); - } - - public function clearCategoricalThresholdConfig() - { - unset($this->categorical_threshold_config); - } - - /** - * Threshold for categorical features of anomaly detection. - * This is shared by all types of Featurestore Monitoring for categorical - * features (i.e. Features with type - * ([Feature.ValueType][google.cloud.aiplatform.v1.Feature.ValueType]) BOOL or - * STRING). - * - * Generated from protobuf field .google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.ThresholdConfig categorical_threshold_config = 4; - * @param \Google\Cloud\AIPlatform\V1\FeaturestoreMonitoringConfig\ThresholdConfig $var - * @return $this - */ - public function setCategoricalThresholdConfig($var) - { - GPBUtil::checkMessage($var, \Google\Cloud\AIPlatform\V1\FeaturestoreMonitoringConfig\ThresholdConfig::class); - $this->categorical_threshold_config = $var; - - return $this; - } - -} - diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/FeaturestoreMonitoringConfig/ImportFeaturesAnalysis.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/FeaturestoreMonitoringConfig/ImportFeaturesAnalysis.php deleted file mode 100644 index 307885c89b26..000000000000 --- a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/FeaturestoreMonitoringConfig/ImportFeaturesAnalysis.php +++ /dev/null @@ -1,116 +0,0 @@ -google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.ImportFeaturesAnalysis - */ -class ImportFeaturesAnalysis extends \Google\Protobuf\Internal\Message -{ - /** - * Whether to enable / disable / inherite default hebavior for import - * features analysis. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.ImportFeaturesAnalysis.State state = 1; - */ - protected $state = 0; - /** - * The baseline used to do anomaly detection for the statistics generated by - * import features analysis. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.ImportFeaturesAnalysis.Baseline anomaly_detection_baseline = 2; - */ - protected $anomaly_detection_baseline = 0; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type int $state - * Whether to enable / disable / inherite default hebavior for import - * features analysis. - * @type int $anomaly_detection_baseline - * The baseline used to do anomaly detection for the statistics generated by - * import features analysis. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Cloud\Aiplatform\V1\FeaturestoreMonitoring::initOnce(); - parent::__construct($data); - } - - /** - * Whether to enable / disable / inherite default hebavior for import - * features analysis. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.ImportFeaturesAnalysis.State state = 1; - * @return int - */ - public function getState() - { - return $this->state; - } - - /** - * Whether to enable / disable / inherite default hebavior for import - * features analysis. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.ImportFeaturesAnalysis.State state = 1; - * @param int $var - * @return $this - */ - public function setState($var) - { - GPBUtil::checkEnum($var, \Google\Cloud\AIPlatform\V1\FeaturestoreMonitoringConfig\ImportFeaturesAnalysis\State::class); - $this->state = $var; - - return $this; - } - - /** - * The baseline used to do anomaly detection for the statistics generated by - * import features analysis. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.ImportFeaturesAnalysis.Baseline anomaly_detection_baseline = 2; - * @return int - */ - public function getAnomalyDetectionBaseline() - { - return $this->anomaly_detection_baseline; - } - - /** - * The baseline used to do anomaly detection for the statistics generated by - * import features analysis. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.ImportFeaturesAnalysis.Baseline anomaly_detection_baseline = 2; - * @param int $var - * @return $this - */ - public function setAnomalyDetectionBaseline($var) - { - GPBUtil::checkEnum($var, \Google\Cloud\AIPlatform\V1\FeaturestoreMonitoringConfig\ImportFeaturesAnalysis\Baseline::class); - $this->anomaly_detection_baseline = $var; - - return $this; - } - -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(ImportFeaturesAnalysis::class, \Google\Cloud\AIPlatform\V1\FeaturestoreMonitoringConfig_ImportFeaturesAnalysis::class); - diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/FeaturestoreMonitoringConfig/ImportFeaturesAnalysis/Baseline.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/FeaturestoreMonitoringConfig/ImportFeaturesAnalysis/Baseline.php deleted file mode 100644 index ce01e65960f5..000000000000 --- a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/FeaturestoreMonitoringConfig/ImportFeaturesAnalysis/Baseline.php +++ /dev/null @@ -1,78 +0,0 @@ -google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.ImportFeaturesAnalysis.Baseline - */ -class Baseline -{ - /** - * Should not be used. - * - * Generated from protobuf enum BASELINE_UNSPECIFIED = 0; - */ - const BASELINE_UNSPECIFIED = 0; - /** - * Choose the later one statistics generated by either most recent - * snapshot analysis or previous import features analysis. If non of them - * exists, skip anomaly detection and only generate a statistics. - * - * Generated from protobuf enum LATEST_STATS = 1; - */ - const LATEST_STATS = 1; - /** - * Use the statistics generated by the most recent snapshot analysis if - * exists. - * - * Generated from protobuf enum MOST_RECENT_SNAPSHOT_STATS = 2; - */ - const MOST_RECENT_SNAPSHOT_STATS = 2; - /** - * Use the statistics generated by the previous import features analysis - * if exists. - * - * Generated from protobuf enum PREVIOUS_IMPORT_FEATURES_STATS = 3; - */ - const PREVIOUS_IMPORT_FEATURES_STATS = 3; - - private static $valueToName = [ - self::BASELINE_UNSPECIFIED => 'BASELINE_UNSPECIFIED', - self::LATEST_STATS => 'LATEST_STATS', - self::MOST_RECENT_SNAPSHOT_STATS => 'MOST_RECENT_SNAPSHOT_STATS', - self::PREVIOUS_IMPORT_FEATURES_STATS => 'PREVIOUS_IMPORT_FEATURES_STATS', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(Baseline::class, \Google\Cloud\AIPlatform\V1\FeaturestoreMonitoringConfig_ImportFeaturesAnalysis_Baseline::class); - diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/FeaturestoreMonitoringConfig/ImportFeaturesAnalysis/State.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/FeaturestoreMonitoringConfig/ImportFeaturesAnalysis/State.php deleted file mode 100644 index f766570bd9f8..000000000000 --- a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/FeaturestoreMonitoringConfig/ImportFeaturesAnalysis/State.php +++ /dev/null @@ -1,84 +0,0 @@ -google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.ImportFeaturesAnalysis.State - */ -class State -{ - /** - * Should not be used. - * - * Generated from protobuf enum STATE_UNSPECIFIED = 0; - */ - const STATE_UNSPECIFIED = 0; - /** - * The default behavior of whether to enable the monitoring. - * EntityType-level config: disabled. - * Feature-level config: inherited from the configuration of EntityType - * this Feature belongs to. - * - * Generated from protobuf enum DEFAULT = 1; - */ - const PBDEFAULT = 1; - /** - * Explicitly enables import features analysis. - * EntityType-level config: by default enables import features analysis - * for all Features under it. Feature-level config: enables import - * features analysis regardless of the EntityType-level config. - * - * Generated from protobuf enum ENABLED = 2; - */ - const ENABLED = 2; - /** - * Explicitly disables import features analysis. - * EntityType-level config: by default disables import features analysis - * for all Features under it. Feature-level config: disables import - * features analysis regardless of the EntityType-level config. - * - * Generated from protobuf enum DISABLED = 3; - */ - const DISABLED = 3; - - private static $valueToName = [ - self::STATE_UNSPECIFIED => 'STATE_UNSPECIFIED', - self::PBDEFAULT => 'DEFAULT', - self::ENABLED => 'ENABLED', - self::DISABLED => 'DISABLED', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - $pbconst = __CLASS__. '::PB' . strtoupper($name); - if (!defined($pbconst)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($pbconst); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(State::class, \Google\Cloud\AIPlatform\V1\FeaturestoreMonitoringConfig_ImportFeaturesAnalysis_State::class); - diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/FeaturestoreMonitoringConfig/SnapshotAnalysis.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/FeaturestoreMonitoringConfig/SnapshotAnalysis.php deleted file mode 100644 index 2ac4de0e1255..000000000000 --- a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/FeaturestoreMonitoringConfig/SnapshotAnalysis.php +++ /dev/null @@ -1,193 +0,0 @@ -google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.SnapshotAnalysis - */ -class SnapshotAnalysis extends \Google\Protobuf\Internal\Message -{ - /** - * The monitoring schedule for snapshot analysis. - * For EntityType-level config: - * unset / disabled = true indicates disabled by - * default for Features under it; otherwise by default enable snapshot - * analysis monitoring with monitoring_interval for Features under it. - * Feature-level config: - * disabled = true indicates disabled regardless of the EntityType-level - * config; unset monitoring_interval indicates going with EntityType-level - * config; otherwise run snapshot analysis monitoring with - * monitoring_interval regardless of the EntityType-level config. - * Explicitly Disable the snapshot analysis based monitoring. - * - * Generated from protobuf field bool disabled = 1; - */ - protected $disabled = false; - /** - * Configuration of the snapshot analysis based monitoring pipeline - * running interval. The value indicates number of days. - * - * Generated from protobuf field int32 monitoring_interval_days = 3; - */ - protected $monitoring_interval_days = 0; - /** - * Customized export features time window for snapshot analysis. Unit is one - * day. Default value is 3 weeks. Minimum value is 1 day. Maximum value is - * 4000 days. - * - * Generated from protobuf field int32 staleness_days = 4; - */ - protected $staleness_days = 0; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type bool $disabled - * The monitoring schedule for snapshot analysis. - * For EntityType-level config: - * unset / disabled = true indicates disabled by - * default for Features under it; otherwise by default enable snapshot - * analysis monitoring with monitoring_interval for Features under it. - * Feature-level config: - * disabled = true indicates disabled regardless of the EntityType-level - * config; unset monitoring_interval indicates going with EntityType-level - * config; otherwise run snapshot analysis monitoring with - * monitoring_interval regardless of the EntityType-level config. - * Explicitly Disable the snapshot analysis based monitoring. - * @type int $monitoring_interval_days - * Configuration of the snapshot analysis based monitoring pipeline - * running interval. The value indicates number of days. - * @type int $staleness_days - * Customized export features time window for snapshot analysis. Unit is one - * day. Default value is 3 weeks. Minimum value is 1 day. Maximum value is - * 4000 days. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Cloud\Aiplatform\V1\FeaturestoreMonitoring::initOnce(); - parent::__construct($data); - } - - /** - * The monitoring schedule for snapshot analysis. - * For EntityType-level config: - * unset / disabled = true indicates disabled by - * default for Features under it; otherwise by default enable snapshot - * analysis monitoring with monitoring_interval for Features under it. - * Feature-level config: - * disabled = true indicates disabled regardless of the EntityType-level - * config; unset monitoring_interval indicates going with EntityType-level - * config; otherwise run snapshot analysis monitoring with - * monitoring_interval regardless of the EntityType-level config. - * Explicitly Disable the snapshot analysis based monitoring. - * - * Generated from protobuf field bool disabled = 1; - * @return bool - */ - public function getDisabled() - { - return $this->disabled; - } - - /** - * The monitoring schedule for snapshot analysis. - * For EntityType-level config: - * unset / disabled = true indicates disabled by - * default for Features under it; otherwise by default enable snapshot - * analysis monitoring with monitoring_interval for Features under it. - * Feature-level config: - * disabled = true indicates disabled regardless of the EntityType-level - * config; unset monitoring_interval indicates going with EntityType-level - * config; otherwise run snapshot analysis monitoring with - * monitoring_interval regardless of the EntityType-level config. - * Explicitly Disable the snapshot analysis based monitoring. - * - * Generated from protobuf field bool disabled = 1; - * @param bool $var - * @return $this - */ - public function setDisabled($var) - { - GPBUtil::checkBool($var); - $this->disabled = $var; - - return $this; - } - - /** - * Configuration of the snapshot analysis based monitoring pipeline - * running interval. The value indicates number of days. - * - * Generated from protobuf field int32 monitoring_interval_days = 3; - * @return int - */ - public function getMonitoringIntervalDays() - { - return $this->monitoring_interval_days; - } - - /** - * Configuration of the snapshot analysis based monitoring pipeline - * running interval. The value indicates number of days. - * - * Generated from protobuf field int32 monitoring_interval_days = 3; - * @param int $var - * @return $this - */ - public function setMonitoringIntervalDays($var) - { - GPBUtil::checkInt32($var); - $this->monitoring_interval_days = $var; - - return $this; - } - - /** - * Customized export features time window for snapshot analysis. Unit is one - * day. Default value is 3 weeks. Minimum value is 1 day. Maximum value is - * 4000 days. - * - * Generated from protobuf field int32 staleness_days = 4; - * @return int - */ - public function getStalenessDays() - { - return $this->staleness_days; - } - - /** - * Customized export features time window for snapshot analysis. Unit is one - * day. Default value is 3 weeks. Minimum value is 1 day. Maximum value is - * 4000 days. - * - * Generated from protobuf field int32 staleness_days = 4; - * @param int $var - * @return $this - */ - public function setStalenessDays($var) - { - GPBUtil::checkInt32($var); - $this->staleness_days = $var; - - return $this; - } - -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(SnapshotAnalysis::class, \Google\Cloud\AIPlatform\V1\FeaturestoreMonitoringConfig_SnapshotAnalysis::class); - diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/FeaturestoreMonitoringConfig/ThresholdConfig.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/FeaturestoreMonitoringConfig/ThresholdConfig.php deleted file mode 100644 index a78a889c1656..000000000000 --- a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/FeaturestoreMonitoringConfig/ThresholdConfig.php +++ /dev/null @@ -1,96 +0,0 @@ -google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.ThresholdConfig - */ -class ThresholdConfig extends \Google\Protobuf\Internal\Message -{ - protected $threshold; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type float $value - * Specify a threshold value that can trigger the alert. - * 1. For categorical feature, the distribution distance is calculated by - * L-inifinity norm. - * 2. For numerical feature, the distribution distance is calculated by - * Jensen–Shannon divergence. Each feature must have a non-zero threshold - * if they need to be monitored. Otherwise no alert will be triggered for - * that feature. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Cloud\Aiplatform\V1\FeaturestoreMonitoring::initOnce(); - parent::__construct($data); - } - - /** - * Specify a threshold value that can trigger the alert. - * 1. For categorical feature, the distribution distance is calculated by - * L-inifinity norm. - * 2. For numerical feature, the distribution distance is calculated by - * Jensen–Shannon divergence. Each feature must have a non-zero threshold - * if they need to be monitored. Otherwise no alert will be triggered for - * that feature. - * - * Generated from protobuf field double value = 1; - * @return float - */ - public function getValue() - { - return $this->readOneof(1); - } - - public function hasValue() - { - return $this->hasOneof(1); - } - - /** - * Specify a threshold value that can trigger the alert. - * 1. For categorical feature, the distribution distance is calculated by - * L-inifinity norm. - * 2. For numerical feature, the distribution distance is calculated by - * Jensen–Shannon divergence. Each feature must have a non-zero threshold - * if they need to be monitored. Otherwise no alert will be triggered for - * that feature. - * - * Generated from protobuf field double value = 1; - * @param float $var - * @return $this - */ - public function setValue($var) - { - GPBUtil::checkDouble($var); - $this->writeOneof(1, $var); - - return $this; - } - - /** - * @return string - */ - public function getThreshold() - { - return $this->whichOneof("threshold"); - } - -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(ThresholdConfig::class, \Google\Cloud\AIPlatform\V1\FeaturestoreMonitoringConfig_ThresholdConfig::class); - diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/FetchFeatureValuesRequest.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/FetchFeatureValuesRequest.php deleted file mode 100644 index 85ef6d02996e..000000000000 --- a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/FetchFeatureValuesRequest.php +++ /dev/null @@ -1,176 +0,0 @@ -google.cloud.aiplatform.v1.FetchFeatureValuesRequest - */ -class FetchFeatureValuesRequest extends \Google\Protobuf\Internal\Message -{ - /** - * Required. FeatureView resource format - * `projects/{project}/locations/{location}/featureOnlineStores/{featureOnlineStore}/featureViews/{featureView}` - * - * Generated from protobuf field string feature_view = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - */ - protected $feature_view = ''; - /** - * Optional. The request key to fetch feature values for. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.FeatureViewDataKey data_key = 6 [(.google.api.field_behavior) = OPTIONAL]; - */ - protected $data_key = null; - /** - * Optional. Response data format. If not set, - * [FeatureViewDataFormat.KEY_VALUE][google.cloud.aiplatform.v1.FeatureViewDataFormat.KEY_VALUE] - * will be used. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.FeatureViewDataFormat data_format = 7 [(.google.api.field_behavior) = OPTIONAL]; - */ - protected $data_format = 0; - - /** - * @param string $featureView Required. FeatureView resource format - * `projects/{project}/locations/{location}/featureOnlineStores/{featureOnlineStore}/featureViews/{featureView}` - * Please see {@see FeatureOnlineStoreServiceClient::featureViewName()} for help formatting this field. - * @param \Google\Cloud\AIPlatform\V1\FeatureViewDataKey $dataKey Optional. The request key to fetch feature values for. - * - * @return \Google\Cloud\AIPlatform\V1\FetchFeatureValuesRequest - * - * @experimental - */ - public static function build(string $featureView, \Google\Cloud\AIPlatform\V1\FeatureViewDataKey $dataKey): self - { - return (new self()) - ->setFeatureView($featureView) - ->setDataKey($dataKey); - } - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $feature_view - * Required. FeatureView resource format - * `projects/{project}/locations/{location}/featureOnlineStores/{featureOnlineStore}/featureViews/{featureView}` - * @type \Google\Cloud\AIPlatform\V1\FeatureViewDataKey $data_key - * Optional. The request key to fetch feature values for. - * @type int $data_format - * Optional. Response data format. If not set, - * [FeatureViewDataFormat.KEY_VALUE][google.cloud.aiplatform.v1.FeatureViewDataFormat.KEY_VALUE] - * will be used. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Cloud\Aiplatform\V1\FeatureOnlineStoreService::initOnce(); - parent::__construct($data); - } - - /** - * Required. FeatureView resource format - * `projects/{project}/locations/{location}/featureOnlineStores/{featureOnlineStore}/featureViews/{featureView}` - * - * Generated from protobuf field string feature_view = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - * @return string - */ - public function getFeatureView() - { - return $this->feature_view; - } - - /** - * Required. FeatureView resource format - * `projects/{project}/locations/{location}/featureOnlineStores/{featureOnlineStore}/featureViews/{featureView}` - * - * Generated from protobuf field string feature_view = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setFeatureView($var) - { - GPBUtil::checkString($var, True); - $this->feature_view = $var; - - return $this; - } - - /** - * Optional. The request key to fetch feature values for. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.FeatureViewDataKey data_key = 6 [(.google.api.field_behavior) = OPTIONAL]; - * @return \Google\Cloud\AIPlatform\V1\FeatureViewDataKey|null - */ - public function getDataKey() - { - return $this->data_key; - } - - public function hasDataKey() - { - return isset($this->data_key); - } - - public function clearDataKey() - { - unset($this->data_key); - } - - /** - * Optional. The request key to fetch feature values for. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.FeatureViewDataKey data_key = 6 [(.google.api.field_behavior) = OPTIONAL]; - * @param \Google\Cloud\AIPlatform\V1\FeatureViewDataKey $var - * @return $this - */ - public function setDataKey($var) - { - GPBUtil::checkMessage($var, \Google\Cloud\AIPlatform\V1\FeatureViewDataKey::class); - $this->data_key = $var; - - return $this; - } - - /** - * Optional. Response data format. If not set, - * [FeatureViewDataFormat.KEY_VALUE][google.cloud.aiplatform.v1.FeatureViewDataFormat.KEY_VALUE] - * will be used. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.FeatureViewDataFormat data_format = 7 [(.google.api.field_behavior) = OPTIONAL]; - * @return int - */ - public function getDataFormat() - { - return $this->data_format; - } - - /** - * Optional. Response data format. If not set, - * [FeatureViewDataFormat.KEY_VALUE][google.cloud.aiplatform.v1.FeatureViewDataFormat.KEY_VALUE] - * will be used. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.FeatureViewDataFormat data_format = 7 [(.google.api.field_behavior) = OPTIONAL]; - * @param int $var - * @return $this - */ - public function setDataFormat($var) - { - GPBUtil::checkEnum($var, \Google\Cloud\AIPlatform\V1\FeatureViewDataFormat::class); - $this->data_format = $var; - - return $this; - } - -} - diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/FetchFeatureValuesResponse.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/FetchFeatureValuesResponse.php deleted file mode 100644 index ae7cc87c31b7..000000000000 --- a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/FetchFeatureValuesResponse.php +++ /dev/null @@ -1,161 +0,0 @@ -google.cloud.aiplatform.v1.FetchFeatureValuesResponse - */ -class FetchFeatureValuesResponse extends \Google\Protobuf\Internal\Message -{ - /** - * The data key associated with this response. - * Will only be populated for - * [FeatureOnlineStoreService.StreamingFetchFeatureValues][] RPCs. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.FeatureViewDataKey data_key = 4; - */ - protected $data_key = null; - protected $format; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type \Google\Cloud\AIPlatform\V1\FetchFeatureValuesResponse\FeatureNameValuePairList $key_values - * Feature values in KeyValue format. - * @type \Google\Protobuf\Struct $proto_struct - * Feature values in proto Struct format. - * @type \Google\Cloud\AIPlatform\V1\FeatureViewDataKey $data_key - * The data key associated with this response. - * Will only be populated for - * [FeatureOnlineStoreService.StreamingFetchFeatureValues][] RPCs. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Cloud\Aiplatform\V1\FeatureOnlineStoreService::initOnce(); - parent::__construct($data); - } - - /** - * Feature values in KeyValue format. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.FetchFeatureValuesResponse.FeatureNameValuePairList key_values = 3; - * @return \Google\Cloud\AIPlatform\V1\FetchFeatureValuesResponse\FeatureNameValuePairList|null - */ - public function getKeyValues() - { - return $this->readOneof(3); - } - - public function hasKeyValues() - { - return $this->hasOneof(3); - } - - /** - * Feature values in KeyValue format. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.FetchFeatureValuesResponse.FeatureNameValuePairList key_values = 3; - * @param \Google\Cloud\AIPlatform\V1\FetchFeatureValuesResponse\FeatureNameValuePairList $var - * @return $this - */ - public function setKeyValues($var) - { - GPBUtil::checkMessage($var, \Google\Cloud\AIPlatform\V1\FetchFeatureValuesResponse\FeatureNameValuePairList::class); - $this->writeOneof(3, $var); - - return $this; - } - - /** - * Feature values in proto Struct format. - * - * Generated from protobuf field .google.protobuf.Struct proto_struct = 2; - * @return \Google\Protobuf\Struct|null - */ - public function getProtoStruct() - { - return $this->readOneof(2); - } - - public function hasProtoStruct() - { - return $this->hasOneof(2); - } - - /** - * Feature values in proto Struct format. - * - * Generated from protobuf field .google.protobuf.Struct proto_struct = 2; - * @param \Google\Protobuf\Struct $var - * @return $this - */ - public function setProtoStruct($var) - { - GPBUtil::checkMessage($var, \Google\Protobuf\Struct::class); - $this->writeOneof(2, $var); - - return $this; - } - - /** - * The data key associated with this response. - * Will only be populated for - * [FeatureOnlineStoreService.StreamingFetchFeatureValues][] RPCs. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.FeatureViewDataKey data_key = 4; - * @return \Google\Cloud\AIPlatform\V1\FeatureViewDataKey|null - */ - public function getDataKey() - { - return $this->data_key; - } - - public function hasDataKey() - { - return isset($this->data_key); - } - - public function clearDataKey() - { - unset($this->data_key); - } - - /** - * The data key associated with this response. - * Will only be populated for - * [FeatureOnlineStoreService.StreamingFetchFeatureValues][] RPCs. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.FeatureViewDataKey data_key = 4; - * @param \Google\Cloud\AIPlatform\V1\FeatureViewDataKey $var - * @return $this - */ - public function setDataKey($var) - { - GPBUtil::checkMessage($var, \Google\Cloud\AIPlatform\V1\FeatureViewDataKey::class); - $this->data_key = $var; - - return $this; - } - - /** - * @return string - */ - public function getFormat() - { - return $this->whichOneof("format"); - } - -} - diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/FetchFeatureValuesResponse/FeatureNameValuePairList.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/FetchFeatureValuesResponse/FeatureNameValuePairList.php deleted file mode 100644 index 9db5c798c125..000000000000 --- a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/FetchFeatureValuesResponse/FeatureNameValuePairList.php +++ /dev/null @@ -1,71 +0,0 @@ -google.cloud.aiplatform.v1.FetchFeatureValuesResponse.FeatureNameValuePairList - */ -class FeatureNameValuePairList extends \Google\Protobuf\Internal\Message -{ - /** - * List of feature names and values. - * - * Generated from protobuf field repeated .google.cloud.aiplatform.v1.FetchFeatureValuesResponse.FeatureNameValuePairList.FeatureNameValuePair features = 1; - */ - private $features; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type array<\Google\Cloud\AIPlatform\V1\FetchFeatureValuesResponse\FeatureNameValuePairList\FeatureNameValuePair>|\Google\Protobuf\Internal\RepeatedField $features - * List of feature names and values. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Cloud\Aiplatform\V1\FeatureOnlineStoreService::initOnce(); - parent::__construct($data); - } - - /** - * List of feature names and values. - * - * Generated from protobuf field repeated .google.cloud.aiplatform.v1.FetchFeatureValuesResponse.FeatureNameValuePairList.FeatureNameValuePair features = 1; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getFeatures() - { - return $this->features; - } - - /** - * List of feature names and values. - * - * Generated from protobuf field repeated .google.cloud.aiplatform.v1.FetchFeatureValuesResponse.FeatureNameValuePairList.FeatureNameValuePair features = 1; - * @param array<\Google\Cloud\AIPlatform\V1\FetchFeatureValuesResponse\FeatureNameValuePairList\FeatureNameValuePair>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setFeatures($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\AIPlatform\V1\FetchFeatureValuesResponse\FeatureNameValuePairList\FeatureNameValuePair::class); - $this->features = $arr; - - return $this; - } - -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(FeatureNameValuePairList::class, \Google\Cloud\AIPlatform\V1\FetchFeatureValuesResponse_FeatureNameValuePairList::class); - diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/FetchFeatureValuesResponse/FeatureNameValuePairList/FeatureNameValuePair.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/FetchFeatureValuesResponse/FeatureNameValuePairList/FeatureNameValuePair.php deleted file mode 100644 index cc50bb1219cd..000000000000 --- a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/FetchFeatureValuesResponse/FeatureNameValuePairList/FeatureNameValuePair.php +++ /dev/null @@ -1,112 +0,0 @@ -google.cloud.aiplatform.v1.FetchFeatureValuesResponse.FeatureNameValuePairList.FeatureNameValuePair - */ -class FeatureNameValuePair extends \Google\Protobuf\Internal\Message -{ - /** - * Feature short name. - * - * Generated from protobuf field string name = 1; - */ - protected $name = ''; - protected $data; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type \Google\Cloud\AIPlatform\V1\FeatureValue $value - * Feature value. - * @type string $name - * Feature short name. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Cloud\Aiplatform\V1\FeatureOnlineStoreService::initOnce(); - parent::__construct($data); - } - - /** - * Feature value. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.FeatureValue value = 2; - * @return \Google\Cloud\AIPlatform\V1\FeatureValue|null - */ - public function getValue() - { - return $this->readOneof(2); - } - - public function hasValue() - { - return $this->hasOneof(2); - } - - /** - * Feature value. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.FeatureValue value = 2; - * @param \Google\Cloud\AIPlatform\V1\FeatureValue $var - * @return $this - */ - public function setValue($var) - { - GPBUtil::checkMessage($var, \Google\Cloud\AIPlatform\V1\FeatureValue::class); - $this->writeOneof(2, $var); - - return $this; - } - - /** - * Feature short name. - * - * Generated from protobuf field string name = 1; - * @return string - */ - public function getName() - { - return $this->name; - } - - /** - * Feature short name. - * - * Generated from protobuf field string name = 1; - * @param string $var - * @return $this - */ - public function setName($var) - { - GPBUtil::checkString($var, True); - $this->name = $var; - - return $this; - } - - /** - * @return string - */ - public function getData() - { - return $this->whichOneof("data"); - } - -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(FeatureNameValuePair::class, \Google\Cloud\AIPlatform\V1\FetchFeatureValuesResponse_FeatureNameValuePairList_FeatureNameValuePair::class); - diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/FileData.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/FileData.php deleted file mode 100644 index acd920e86eb8..000000000000 --- a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/FileData.php +++ /dev/null @@ -1,101 +0,0 @@ -google.cloud.aiplatform.v1.FileData - */ -class FileData extends \Google\Protobuf\Internal\Message -{ - /** - * Required. The IANA standard MIME type of the source data. - * - * Generated from protobuf field string mime_type = 1 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $mime_type = ''; - /** - * Required. URI. - * - * Generated from protobuf field string file_uri = 2 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $file_uri = ''; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $mime_type - * Required. The IANA standard MIME type of the source data. - * @type string $file_uri - * Required. URI. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Cloud\Aiplatform\V1\Content::initOnce(); - parent::__construct($data); - } - - /** - * Required. The IANA standard MIME type of the source data. - * - * Generated from protobuf field string mime_type = 1 [(.google.api.field_behavior) = REQUIRED]; - * @return string - */ - public function getMimeType() - { - return $this->mime_type; - } - - /** - * Required. The IANA standard MIME type of the source data. - * - * Generated from protobuf field string mime_type = 1 [(.google.api.field_behavior) = REQUIRED]; - * @param string $var - * @return $this - */ - public function setMimeType($var) - { - GPBUtil::checkString($var, True); - $this->mime_type = $var; - - return $this; - } - - /** - * Required. URI. - * - * Generated from protobuf field string file_uri = 2 [(.google.api.field_behavior) = REQUIRED]; - * @return string - */ - public function getFileUri() - { - return $this->file_uri; - } - - /** - * Required. URI. - * - * Generated from protobuf field string file_uri = 2 [(.google.api.field_behavior) = REQUIRED]; - * @param string $var - * @return $this - */ - public function setFileUri($var) - { - GPBUtil::checkString($var, True); - $this->file_uri = $var; - - return $this; - } - -} - diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/FilterSplit.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/FilterSplit.php deleted file mode 100644 index 3c23a46820ed..000000000000 --- a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/FilterSplit.php +++ /dev/null @@ -1,212 +0,0 @@ -google.cloud.aiplatform.v1.FilterSplit - */ -class FilterSplit extends \Google\Protobuf\Internal\Message -{ - /** - * Required. A filter on DataItems of the Dataset. DataItems that match - * this filter are used to train the Model. A filter with same syntax - * as the one used in - * [DatasetService.ListDataItems][google.cloud.aiplatform.v1.DatasetService.ListDataItems] - * may be used. If a single DataItem is matched by more than one of the - * FilterSplit filters, then it is assigned to the first set that applies to - * it in the training, validation, test order. - * - * Generated from protobuf field string training_filter = 1 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $training_filter = ''; - /** - * Required. A filter on DataItems of the Dataset. DataItems that match - * this filter are used to validate the Model. A filter with same syntax - * as the one used in - * [DatasetService.ListDataItems][google.cloud.aiplatform.v1.DatasetService.ListDataItems] - * may be used. If a single DataItem is matched by more than one of the - * FilterSplit filters, then it is assigned to the first set that applies to - * it in the training, validation, test order. - * - * Generated from protobuf field string validation_filter = 2 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $validation_filter = ''; - /** - * Required. A filter on DataItems of the Dataset. DataItems that match - * this filter are used to test the Model. A filter with same syntax - * as the one used in - * [DatasetService.ListDataItems][google.cloud.aiplatform.v1.DatasetService.ListDataItems] - * may be used. If a single DataItem is matched by more than one of the - * FilterSplit filters, then it is assigned to the first set that applies to - * it in the training, validation, test order. - * - * Generated from protobuf field string test_filter = 3 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $test_filter = ''; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $training_filter - * Required. A filter on DataItems of the Dataset. DataItems that match - * this filter are used to train the Model. A filter with same syntax - * as the one used in - * [DatasetService.ListDataItems][google.cloud.aiplatform.v1.DatasetService.ListDataItems] - * may be used. If a single DataItem is matched by more than one of the - * FilterSplit filters, then it is assigned to the first set that applies to - * it in the training, validation, test order. - * @type string $validation_filter - * Required. A filter on DataItems of the Dataset. DataItems that match - * this filter are used to validate the Model. A filter with same syntax - * as the one used in - * [DatasetService.ListDataItems][google.cloud.aiplatform.v1.DatasetService.ListDataItems] - * may be used. If a single DataItem is matched by more than one of the - * FilterSplit filters, then it is assigned to the first set that applies to - * it in the training, validation, test order. - * @type string $test_filter - * Required. A filter on DataItems of the Dataset. DataItems that match - * this filter are used to test the Model. A filter with same syntax - * as the one used in - * [DatasetService.ListDataItems][google.cloud.aiplatform.v1.DatasetService.ListDataItems] - * may be used. If a single DataItem is matched by more than one of the - * FilterSplit filters, then it is assigned to the first set that applies to - * it in the training, validation, test order. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Cloud\Aiplatform\V1\TrainingPipeline::initOnce(); - parent::__construct($data); - } - - /** - * Required. A filter on DataItems of the Dataset. DataItems that match - * this filter are used to train the Model. A filter with same syntax - * as the one used in - * [DatasetService.ListDataItems][google.cloud.aiplatform.v1.DatasetService.ListDataItems] - * may be used. If a single DataItem is matched by more than one of the - * FilterSplit filters, then it is assigned to the first set that applies to - * it in the training, validation, test order. - * - * Generated from protobuf field string training_filter = 1 [(.google.api.field_behavior) = REQUIRED]; - * @return string - */ - public function getTrainingFilter() - { - return $this->training_filter; - } - - /** - * Required. A filter on DataItems of the Dataset. DataItems that match - * this filter are used to train the Model. A filter with same syntax - * as the one used in - * [DatasetService.ListDataItems][google.cloud.aiplatform.v1.DatasetService.ListDataItems] - * may be used. If a single DataItem is matched by more than one of the - * FilterSplit filters, then it is assigned to the first set that applies to - * it in the training, validation, test order. - * - * Generated from protobuf field string training_filter = 1 [(.google.api.field_behavior) = REQUIRED]; - * @param string $var - * @return $this - */ - public function setTrainingFilter($var) - { - GPBUtil::checkString($var, True); - $this->training_filter = $var; - - return $this; - } - - /** - * Required. A filter on DataItems of the Dataset. DataItems that match - * this filter are used to validate the Model. A filter with same syntax - * as the one used in - * [DatasetService.ListDataItems][google.cloud.aiplatform.v1.DatasetService.ListDataItems] - * may be used. If a single DataItem is matched by more than one of the - * FilterSplit filters, then it is assigned to the first set that applies to - * it in the training, validation, test order. - * - * Generated from protobuf field string validation_filter = 2 [(.google.api.field_behavior) = REQUIRED]; - * @return string - */ - public function getValidationFilter() - { - return $this->validation_filter; - } - - /** - * Required. A filter on DataItems of the Dataset. DataItems that match - * this filter are used to validate the Model. A filter with same syntax - * as the one used in - * [DatasetService.ListDataItems][google.cloud.aiplatform.v1.DatasetService.ListDataItems] - * may be used. If a single DataItem is matched by more than one of the - * FilterSplit filters, then it is assigned to the first set that applies to - * it in the training, validation, test order. - * - * Generated from protobuf field string validation_filter = 2 [(.google.api.field_behavior) = REQUIRED]; - * @param string $var - * @return $this - */ - public function setValidationFilter($var) - { - GPBUtil::checkString($var, True); - $this->validation_filter = $var; - - return $this; - } - - /** - * Required. A filter on DataItems of the Dataset. DataItems that match - * this filter are used to test the Model. A filter with same syntax - * as the one used in - * [DatasetService.ListDataItems][google.cloud.aiplatform.v1.DatasetService.ListDataItems] - * may be used. If a single DataItem is matched by more than one of the - * FilterSplit filters, then it is assigned to the first set that applies to - * it in the training, validation, test order. - * - * Generated from protobuf field string test_filter = 3 [(.google.api.field_behavior) = REQUIRED]; - * @return string - */ - public function getTestFilter() - { - return $this->test_filter; - } - - /** - * Required. A filter on DataItems of the Dataset. DataItems that match - * this filter are used to test the Model. A filter with same syntax - * as the one used in - * [DatasetService.ListDataItems][google.cloud.aiplatform.v1.DatasetService.ListDataItems] - * may be used. If a single DataItem is matched by more than one of the - * FilterSplit filters, then it is assigned to the first set that applies to - * it in the training, validation, test order. - * - * Generated from protobuf field string test_filter = 3 [(.google.api.field_behavior) = REQUIRED]; - * @param string $var - * @return $this - */ - public function setTestFilter($var) - { - GPBUtil::checkString($var, True); - $this->test_filter = $var; - - return $this; - } - -} - diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/FindNeighborsRequest.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/FindNeighborsRequest.php deleted file mode 100644 index 0a3b79c5bbaa..000000000000 --- a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/FindNeighborsRequest.php +++ /dev/null @@ -1,210 +0,0 @@ -google.cloud.aiplatform.v1.FindNeighborsRequest - */ -class FindNeighborsRequest extends \Google\Protobuf\Internal\Message -{ - /** - * Required. The name of the index endpoint. - * Format: - * `projects/{project}/locations/{location}/indexEndpoints/{index_endpoint}` - * - * Generated from protobuf field string index_endpoint = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - */ - protected $index_endpoint = ''; - /** - * The ID of the DeployedIndex that will serve the request. This request is - * sent to a specific IndexEndpoint, as per the IndexEndpoint.network. That - * IndexEndpoint also has IndexEndpoint.deployed_indexes, and each such index - * has a DeployedIndex.id field. - * The value of the field below must equal one of the DeployedIndex.id - * fields of the IndexEndpoint that is being called for this request. - * - * Generated from protobuf field string deployed_index_id = 2; - */ - protected $deployed_index_id = ''; - /** - * The list of queries. - * - * Generated from protobuf field repeated .google.cloud.aiplatform.v1.FindNeighborsRequest.Query queries = 3; - */ - private $queries; - /** - * If set to true, the full datapoints (including all vector values and - * restricts) of the nearest neighbors are returned. - * Note that returning full datapoint will significantly increase the - * latency and cost of the query. - * - * Generated from protobuf field bool return_full_datapoint = 4; - */ - protected $return_full_datapoint = false; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $index_endpoint - * Required. The name of the index endpoint. - * Format: - * `projects/{project}/locations/{location}/indexEndpoints/{index_endpoint}` - * @type string $deployed_index_id - * The ID of the DeployedIndex that will serve the request. This request is - * sent to a specific IndexEndpoint, as per the IndexEndpoint.network. That - * IndexEndpoint also has IndexEndpoint.deployed_indexes, and each such index - * has a DeployedIndex.id field. - * The value of the field below must equal one of the DeployedIndex.id - * fields of the IndexEndpoint that is being called for this request. - * @type array<\Google\Cloud\AIPlatform\V1\FindNeighborsRequest\Query>|\Google\Protobuf\Internal\RepeatedField $queries - * The list of queries. - * @type bool $return_full_datapoint - * If set to true, the full datapoints (including all vector values and - * restricts) of the nearest neighbors are returned. - * Note that returning full datapoint will significantly increase the - * latency and cost of the query. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Cloud\Aiplatform\V1\MatchService::initOnce(); - parent::__construct($data); - } - - /** - * Required. The name of the index endpoint. - * Format: - * `projects/{project}/locations/{location}/indexEndpoints/{index_endpoint}` - * - * Generated from protobuf field string index_endpoint = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - * @return string - */ - public function getIndexEndpoint() - { - return $this->index_endpoint; - } - - /** - * Required. The name of the index endpoint. - * Format: - * `projects/{project}/locations/{location}/indexEndpoints/{index_endpoint}` - * - * Generated from protobuf field string index_endpoint = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setIndexEndpoint($var) - { - GPBUtil::checkString($var, True); - $this->index_endpoint = $var; - - return $this; - } - - /** - * The ID of the DeployedIndex that will serve the request. This request is - * sent to a specific IndexEndpoint, as per the IndexEndpoint.network. That - * IndexEndpoint also has IndexEndpoint.deployed_indexes, and each such index - * has a DeployedIndex.id field. - * The value of the field below must equal one of the DeployedIndex.id - * fields of the IndexEndpoint that is being called for this request. - * - * Generated from protobuf field string deployed_index_id = 2; - * @return string - */ - public function getDeployedIndexId() - { - return $this->deployed_index_id; - } - - /** - * The ID of the DeployedIndex that will serve the request. This request is - * sent to a specific IndexEndpoint, as per the IndexEndpoint.network. That - * IndexEndpoint also has IndexEndpoint.deployed_indexes, and each such index - * has a DeployedIndex.id field. - * The value of the field below must equal one of the DeployedIndex.id - * fields of the IndexEndpoint that is being called for this request. - * - * Generated from protobuf field string deployed_index_id = 2; - * @param string $var - * @return $this - */ - public function setDeployedIndexId($var) - { - GPBUtil::checkString($var, True); - $this->deployed_index_id = $var; - - return $this; - } - - /** - * The list of queries. - * - * Generated from protobuf field repeated .google.cloud.aiplatform.v1.FindNeighborsRequest.Query queries = 3; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getQueries() - { - return $this->queries; - } - - /** - * The list of queries. - * - * Generated from protobuf field repeated .google.cloud.aiplatform.v1.FindNeighborsRequest.Query queries = 3; - * @param array<\Google\Cloud\AIPlatform\V1\FindNeighborsRequest\Query>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setQueries($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\AIPlatform\V1\FindNeighborsRequest\Query::class); - $this->queries = $arr; - - return $this; - } - - /** - * If set to true, the full datapoints (including all vector values and - * restricts) of the nearest neighbors are returned. - * Note that returning full datapoint will significantly increase the - * latency and cost of the query. - * - * Generated from protobuf field bool return_full_datapoint = 4; - * @return bool - */ - public function getReturnFullDatapoint() - { - return $this->return_full_datapoint; - } - - /** - * If set to true, the full datapoints (including all vector values and - * restricts) of the nearest neighbors are returned. - * Note that returning full datapoint will significantly increase the - * latency and cost of the query. - * - * Generated from protobuf field bool return_full_datapoint = 4; - * @param bool $var - * @return $this - */ - public function setReturnFullDatapoint($var) - { - GPBUtil::checkBool($var); - $this->return_full_datapoint = $var; - - return $this; - } - -} - diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/FindNeighborsRequest/Query.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/FindNeighborsRequest/Query.php deleted file mode 100644 index 516d907cecc6..000000000000 --- a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/FindNeighborsRequest/Query.php +++ /dev/null @@ -1,315 +0,0 @@ -google.cloud.aiplatform.v1.FindNeighborsRequest.Query - */ -class Query extends \Google\Protobuf\Internal\Message -{ - /** - * Required. The datapoint/vector whose nearest neighbors should be searched - * for. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.IndexDatapoint datapoint = 1 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $datapoint = null; - /** - * The number of nearest neighbors to be retrieved from database for each - * query. If not set, will use the default from the service configuration - * (https://cloud.google.com/vertex-ai/docs/matching-engine/configuring-indexes#nearest-neighbor-search-config). - * - * Generated from protobuf field int32 neighbor_count = 2; - */ - protected $neighbor_count = 0; - /** - * Crowding is a constraint on a neighbor list produced by nearest neighbor - * search requiring that no more than some value k' of the k neighbors - * returned have the same value of crowding_attribute. - * It's used for improving result diversity. - * This field is the maximum number of matches with the same crowding tag. - * - * Generated from protobuf field int32 per_crowding_attribute_neighbor_count = 3; - */ - protected $per_crowding_attribute_neighbor_count = 0; - /** - * The number of neighbors to find via approximate search before - * exact reordering is performed. If not set, the default value from scam - * config is used; if set, this value must be > 0. - * - * Generated from protobuf field int32 approximate_neighbor_count = 4; - */ - protected $approximate_neighbor_count = 0; - /** - * The fraction of the number of leaves to search, set at query time allows - * user to tune search performance. This value increase result in both - * search accuracy and latency increase. The value should be between 0.0 - * and 1.0. If not set or set to 0.0, query uses the default value specified - * in - * NearestNeighborSearchConfig.TreeAHConfig.fraction_leaf_nodes_to_search. - * - * Generated from protobuf field double fraction_leaf_nodes_to_search_override = 5; - */ - protected $fraction_leaf_nodes_to_search_override = 0.0; - protected $ranking; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type \Google\Cloud\AIPlatform\V1\FindNeighborsRequest\Query\RRF $rrf - * Optional. Represents RRF algorithm that combines search results. - * @type \Google\Cloud\AIPlatform\V1\IndexDatapoint $datapoint - * Required. The datapoint/vector whose nearest neighbors should be searched - * for. - * @type int $neighbor_count - * The number of nearest neighbors to be retrieved from database for each - * query. If not set, will use the default from the service configuration - * (https://cloud.google.com/vertex-ai/docs/matching-engine/configuring-indexes#nearest-neighbor-search-config). - * @type int $per_crowding_attribute_neighbor_count - * Crowding is a constraint on a neighbor list produced by nearest neighbor - * search requiring that no more than some value k' of the k neighbors - * returned have the same value of crowding_attribute. - * It's used for improving result diversity. - * This field is the maximum number of matches with the same crowding tag. - * @type int $approximate_neighbor_count - * The number of neighbors to find via approximate search before - * exact reordering is performed. If not set, the default value from scam - * config is used; if set, this value must be > 0. - * @type float $fraction_leaf_nodes_to_search_override - * The fraction of the number of leaves to search, set at query time allows - * user to tune search performance. This value increase result in both - * search accuracy and latency increase. The value should be between 0.0 - * and 1.0. If not set or set to 0.0, query uses the default value specified - * in - * NearestNeighborSearchConfig.TreeAHConfig.fraction_leaf_nodes_to_search. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Cloud\Aiplatform\V1\MatchService::initOnce(); - parent::__construct($data); - } - - /** - * Optional. Represents RRF algorithm that combines search results. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.FindNeighborsRequest.Query.RRF rrf = 6 [(.google.api.field_behavior) = OPTIONAL]; - * @return \Google\Cloud\AIPlatform\V1\FindNeighborsRequest\Query\RRF|null - */ - public function getRrf() - { - return $this->readOneof(6); - } - - public function hasRrf() - { - return $this->hasOneof(6); - } - - /** - * Optional. Represents RRF algorithm that combines search results. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.FindNeighborsRequest.Query.RRF rrf = 6 [(.google.api.field_behavior) = OPTIONAL]; - * @param \Google\Cloud\AIPlatform\V1\FindNeighborsRequest\Query\RRF $var - * @return $this - */ - public function setRrf($var) - { - GPBUtil::checkMessage($var, \Google\Cloud\AIPlatform\V1\FindNeighborsRequest\Query\RRF::class); - $this->writeOneof(6, $var); - - return $this; - } - - /** - * Required. The datapoint/vector whose nearest neighbors should be searched - * for. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.IndexDatapoint datapoint = 1 [(.google.api.field_behavior) = REQUIRED]; - * @return \Google\Cloud\AIPlatform\V1\IndexDatapoint|null - */ - public function getDatapoint() - { - return $this->datapoint; - } - - public function hasDatapoint() - { - return isset($this->datapoint); - } - - public function clearDatapoint() - { - unset($this->datapoint); - } - - /** - * Required. The datapoint/vector whose nearest neighbors should be searched - * for. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.IndexDatapoint datapoint = 1 [(.google.api.field_behavior) = REQUIRED]; - * @param \Google\Cloud\AIPlatform\V1\IndexDatapoint $var - * @return $this - */ - public function setDatapoint($var) - { - GPBUtil::checkMessage($var, \Google\Cloud\AIPlatform\V1\IndexDatapoint::class); - $this->datapoint = $var; - - return $this; - } - - /** - * The number of nearest neighbors to be retrieved from database for each - * query. If not set, will use the default from the service configuration - * (https://cloud.google.com/vertex-ai/docs/matching-engine/configuring-indexes#nearest-neighbor-search-config). - * - * Generated from protobuf field int32 neighbor_count = 2; - * @return int - */ - public function getNeighborCount() - { - return $this->neighbor_count; - } - - /** - * The number of nearest neighbors to be retrieved from database for each - * query. If not set, will use the default from the service configuration - * (https://cloud.google.com/vertex-ai/docs/matching-engine/configuring-indexes#nearest-neighbor-search-config). - * - * Generated from protobuf field int32 neighbor_count = 2; - * @param int $var - * @return $this - */ - public function setNeighborCount($var) - { - GPBUtil::checkInt32($var); - $this->neighbor_count = $var; - - return $this; - } - - /** - * Crowding is a constraint on a neighbor list produced by nearest neighbor - * search requiring that no more than some value k' of the k neighbors - * returned have the same value of crowding_attribute. - * It's used for improving result diversity. - * This field is the maximum number of matches with the same crowding tag. - * - * Generated from protobuf field int32 per_crowding_attribute_neighbor_count = 3; - * @return int - */ - public function getPerCrowdingAttributeNeighborCount() - { - return $this->per_crowding_attribute_neighbor_count; - } - - /** - * Crowding is a constraint on a neighbor list produced by nearest neighbor - * search requiring that no more than some value k' of the k neighbors - * returned have the same value of crowding_attribute. - * It's used for improving result diversity. - * This field is the maximum number of matches with the same crowding tag. - * - * Generated from protobuf field int32 per_crowding_attribute_neighbor_count = 3; - * @param int $var - * @return $this - */ - public function setPerCrowdingAttributeNeighborCount($var) - { - GPBUtil::checkInt32($var); - $this->per_crowding_attribute_neighbor_count = $var; - - return $this; - } - - /** - * The number of neighbors to find via approximate search before - * exact reordering is performed. If not set, the default value from scam - * config is used; if set, this value must be > 0. - * - * Generated from protobuf field int32 approximate_neighbor_count = 4; - * @return int - */ - public function getApproximateNeighborCount() - { - return $this->approximate_neighbor_count; - } - - /** - * The number of neighbors to find via approximate search before - * exact reordering is performed. If not set, the default value from scam - * config is used; if set, this value must be > 0. - * - * Generated from protobuf field int32 approximate_neighbor_count = 4; - * @param int $var - * @return $this - */ - public function setApproximateNeighborCount($var) - { - GPBUtil::checkInt32($var); - $this->approximate_neighbor_count = $var; - - return $this; - } - - /** - * The fraction of the number of leaves to search, set at query time allows - * user to tune search performance. This value increase result in both - * search accuracy and latency increase. The value should be between 0.0 - * and 1.0. If not set or set to 0.0, query uses the default value specified - * in - * NearestNeighborSearchConfig.TreeAHConfig.fraction_leaf_nodes_to_search. - * - * Generated from protobuf field double fraction_leaf_nodes_to_search_override = 5; - * @return float - */ - public function getFractionLeafNodesToSearchOverride() - { - return $this->fraction_leaf_nodes_to_search_override; - } - - /** - * The fraction of the number of leaves to search, set at query time allows - * user to tune search performance. This value increase result in both - * search accuracy and latency increase. The value should be between 0.0 - * and 1.0. If not set or set to 0.0, query uses the default value specified - * in - * NearestNeighborSearchConfig.TreeAHConfig.fraction_leaf_nodes_to_search. - * - * Generated from protobuf field double fraction_leaf_nodes_to_search_override = 5; - * @param float $var - * @return $this - */ - public function setFractionLeafNodesToSearchOverride($var) - { - GPBUtil::checkDouble($var); - $this->fraction_leaf_nodes_to_search_override = $var; - - return $this; - } - - /** - * @return string - */ - public function getRanking() - { - return $this->whichOneof("ranking"); - } - -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(Query::class, \Google\Cloud\AIPlatform\V1\FindNeighborsRequest_Query::class); - diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/FindNeighborsRequest/Query/RRF.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/FindNeighborsRequest/Query/RRF.php deleted file mode 100644 index f1398297bce8..000000000000 --- a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/FindNeighborsRequest/Query/RRF.php +++ /dev/null @@ -1,78 +0,0 @@ -google.cloud.aiplatform.v1.FindNeighborsRequest.Query.RRF - */ -class RRF extends \Google\Protobuf\Internal\Message -{ - /** - * Required. Users can provide an alpha value to give more weight to dense - * vs sparse results. For example, if the alpha is 0, we only return - * sparse and if the alpha is 1, we only return dense. - * - * Generated from protobuf field float alpha = 1 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $alpha = 0.0; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type float $alpha - * Required. Users can provide an alpha value to give more weight to dense - * vs sparse results. For example, if the alpha is 0, we only return - * sparse and if the alpha is 1, we only return dense. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Cloud\Aiplatform\V1\MatchService::initOnce(); - parent::__construct($data); - } - - /** - * Required. Users can provide an alpha value to give more weight to dense - * vs sparse results. For example, if the alpha is 0, we only return - * sparse and if the alpha is 1, we only return dense. - * - * Generated from protobuf field float alpha = 1 [(.google.api.field_behavior) = REQUIRED]; - * @return float - */ - public function getAlpha() - { - return $this->alpha; - } - - /** - * Required. Users can provide an alpha value to give more weight to dense - * vs sparse results. For example, if the alpha is 0, we only return - * sparse and if the alpha is 1, we only return dense. - * - * Generated from protobuf field float alpha = 1 [(.google.api.field_behavior) = REQUIRED]; - * @param float $var - * @return $this - */ - public function setAlpha($var) - { - GPBUtil::checkFloat($var); - $this->alpha = $var; - - return $this; - } - -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(RRF::class, \Google\Cloud\AIPlatform\V1\FindNeighborsRequest_Query_RRF::class); - diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/FindNeighborsResponse.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/FindNeighborsResponse.php deleted file mode 100644 index 8f145b754205..000000000000 --- a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/FindNeighborsResponse.php +++ /dev/null @@ -1,68 +0,0 @@ -google.cloud.aiplatform.v1.FindNeighborsResponse - */ -class FindNeighborsResponse extends \Google\Protobuf\Internal\Message -{ - /** - * The nearest neighbors of the query datapoints. - * - * Generated from protobuf field repeated .google.cloud.aiplatform.v1.FindNeighborsResponse.NearestNeighbors nearest_neighbors = 1; - */ - private $nearest_neighbors; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type array<\Google\Cloud\AIPlatform\V1\FindNeighborsResponse\NearestNeighbors>|\Google\Protobuf\Internal\RepeatedField $nearest_neighbors - * The nearest neighbors of the query datapoints. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Cloud\Aiplatform\V1\MatchService::initOnce(); - parent::__construct($data); - } - - /** - * The nearest neighbors of the query datapoints. - * - * Generated from protobuf field repeated .google.cloud.aiplatform.v1.FindNeighborsResponse.NearestNeighbors nearest_neighbors = 1; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getNearestNeighbors() - { - return $this->nearest_neighbors; - } - - /** - * The nearest neighbors of the query datapoints. - * - * Generated from protobuf field repeated .google.cloud.aiplatform.v1.FindNeighborsResponse.NearestNeighbors nearest_neighbors = 1; - * @param array<\Google\Cloud\AIPlatform\V1\FindNeighborsResponse\NearestNeighbors>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setNearestNeighbors($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\AIPlatform\V1\FindNeighborsResponse\NearestNeighbors::class); - $this->nearest_neighbors = $arr; - - return $this; - } - -} - diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/FindNeighborsResponse/NearestNeighbors.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/FindNeighborsResponse/NearestNeighbors.php deleted file mode 100644 index 0decc79dd795..000000000000 --- a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/FindNeighborsResponse/NearestNeighbors.php +++ /dev/null @@ -1,104 +0,0 @@ -google.cloud.aiplatform.v1.FindNeighborsResponse.NearestNeighbors - */ -class NearestNeighbors extends \Google\Protobuf\Internal\Message -{ - /** - * The ID of the query datapoint. - * - * Generated from protobuf field string id = 1; - */ - protected $id = ''; - /** - * All its neighbors. - * - * Generated from protobuf field repeated .google.cloud.aiplatform.v1.FindNeighborsResponse.Neighbor neighbors = 2; - */ - private $neighbors; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $id - * The ID of the query datapoint. - * @type array<\Google\Cloud\AIPlatform\V1\FindNeighborsResponse\Neighbor>|\Google\Protobuf\Internal\RepeatedField $neighbors - * All its neighbors. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Cloud\Aiplatform\V1\MatchService::initOnce(); - parent::__construct($data); - } - - /** - * The ID of the query datapoint. - * - * Generated from protobuf field string id = 1; - * @return string - */ - public function getId() - { - return $this->id; - } - - /** - * The ID of the query datapoint. - * - * Generated from protobuf field string id = 1; - * @param string $var - * @return $this - */ - public function setId($var) - { - GPBUtil::checkString($var, True); - $this->id = $var; - - return $this; - } - - /** - * All its neighbors. - * - * Generated from protobuf field repeated .google.cloud.aiplatform.v1.FindNeighborsResponse.Neighbor neighbors = 2; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getNeighbors() - { - return $this->neighbors; - } - - /** - * All its neighbors. - * - * Generated from protobuf field repeated .google.cloud.aiplatform.v1.FindNeighborsResponse.Neighbor neighbors = 2; - * @param array<\Google\Cloud\AIPlatform\V1\FindNeighborsResponse\Neighbor>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setNeighbors($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\AIPlatform\V1\FindNeighborsResponse\Neighbor::class); - $this->neighbors = $arr; - - return $this; - } - -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(NearestNeighbors::class, \Google\Cloud\AIPlatform\V1\FindNeighborsResponse_NearestNeighbors::class); - diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/FindNeighborsResponse/Neighbor.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/FindNeighborsResponse/Neighbor.php deleted file mode 100644 index 12bdedf505fc..000000000000 --- a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/FindNeighborsResponse/Neighbor.php +++ /dev/null @@ -1,160 +0,0 @@ -google.cloud.aiplatform.v1.FindNeighborsResponse.Neighbor - */ -class Neighbor extends \Google\Protobuf\Internal\Message -{ - /** - * The datapoint of the neighbor. - * Note that full datapoints are returned only when "return_full_datapoint" - * is set to true. Otherwise, only the "datapoint_id" and "crowding_tag" - * fields are populated. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.IndexDatapoint datapoint = 1; - */ - protected $datapoint = null; - /** - * The distance between the neighbor and the dense embedding query. - * - * Generated from protobuf field double distance = 2; - */ - protected $distance = 0.0; - /** - * The distance between the neighbor and the query sparse_embedding. - * - * Generated from protobuf field double sparse_distance = 3; - */ - protected $sparse_distance = 0.0; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type \Google\Cloud\AIPlatform\V1\IndexDatapoint $datapoint - * The datapoint of the neighbor. - * Note that full datapoints are returned only when "return_full_datapoint" - * is set to true. Otherwise, only the "datapoint_id" and "crowding_tag" - * fields are populated. - * @type float $distance - * The distance between the neighbor and the dense embedding query. - * @type float $sparse_distance - * The distance between the neighbor and the query sparse_embedding. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Cloud\Aiplatform\V1\MatchService::initOnce(); - parent::__construct($data); - } - - /** - * The datapoint of the neighbor. - * Note that full datapoints are returned only when "return_full_datapoint" - * is set to true. Otherwise, only the "datapoint_id" and "crowding_tag" - * fields are populated. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.IndexDatapoint datapoint = 1; - * @return \Google\Cloud\AIPlatform\V1\IndexDatapoint|null - */ - public function getDatapoint() - { - return $this->datapoint; - } - - public function hasDatapoint() - { - return isset($this->datapoint); - } - - public function clearDatapoint() - { - unset($this->datapoint); - } - - /** - * The datapoint of the neighbor. - * Note that full datapoints are returned only when "return_full_datapoint" - * is set to true. Otherwise, only the "datapoint_id" and "crowding_tag" - * fields are populated. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.IndexDatapoint datapoint = 1; - * @param \Google\Cloud\AIPlatform\V1\IndexDatapoint $var - * @return $this - */ - public function setDatapoint($var) - { - GPBUtil::checkMessage($var, \Google\Cloud\AIPlatform\V1\IndexDatapoint::class); - $this->datapoint = $var; - - return $this; - } - - /** - * The distance between the neighbor and the dense embedding query. - * - * Generated from protobuf field double distance = 2; - * @return float - */ - public function getDistance() - { - return $this->distance; - } - - /** - * The distance between the neighbor and the dense embedding query. - * - * Generated from protobuf field double distance = 2; - * @param float $var - * @return $this - */ - public function setDistance($var) - { - GPBUtil::checkDouble($var); - $this->distance = $var; - - return $this; - } - - /** - * The distance between the neighbor and the query sparse_embedding. - * - * Generated from protobuf field double sparse_distance = 3; - * @return float - */ - public function getSparseDistance() - { - return $this->sparse_distance; - } - - /** - * The distance between the neighbor and the query sparse_embedding. - * - * Generated from protobuf field double sparse_distance = 3; - * @param float $var - * @return $this - */ - public function setSparseDistance($var) - { - GPBUtil::checkDouble($var); - $this->sparse_distance = $var; - - return $this; - } - -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(Neighbor::class, \Google\Cloud\AIPlatform\V1\FindNeighborsResponse_Neighbor::class); - diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/FractionSplit.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/FractionSplit.php deleted file mode 100644 index c122220bf0c8..000000000000 --- a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/FractionSplit.php +++ /dev/null @@ -1,140 +0,0 @@ -google.cloud.aiplatform.v1.FractionSplit - */ -class FractionSplit extends \Google\Protobuf\Internal\Message -{ - /** - * The fraction of the input data that is to be used to train the Model. - * - * Generated from protobuf field double training_fraction = 1; - */ - protected $training_fraction = 0.0; - /** - * The fraction of the input data that is to be used to validate the Model. - * - * Generated from protobuf field double validation_fraction = 2; - */ - protected $validation_fraction = 0.0; - /** - * The fraction of the input data that is to be used to evaluate the Model. - * - * Generated from protobuf field double test_fraction = 3; - */ - protected $test_fraction = 0.0; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type float $training_fraction - * The fraction of the input data that is to be used to train the Model. - * @type float $validation_fraction - * The fraction of the input data that is to be used to validate the Model. - * @type float $test_fraction - * The fraction of the input data that is to be used to evaluate the Model. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Cloud\Aiplatform\V1\TrainingPipeline::initOnce(); - parent::__construct($data); - } - - /** - * The fraction of the input data that is to be used to train the Model. - * - * Generated from protobuf field double training_fraction = 1; - * @return float - */ - public function getTrainingFraction() - { - return $this->training_fraction; - } - - /** - * The fraction of the input data that is to be used to train the Model. - * - * Generated from protobuf field double training_fraction = 1; - * @param float $var - * @return $this - */ - public function setTrainingFraction($var) - { - GPBUtil::checkDouble($var); - $this->training_fraction = $var; - - return $this; - } - - /** - * The fraction of the input data that is to be used to validate the Model. - * - * Generated from protobuf field double validation_fraction = 2; - * @return float - */ - public function getValidationFraction() - { - return $this->validation_fraction; - } - - /** - * The fraction of the input data that is to be used to validate the Model. - * - * Generated from protobuf field double validation_fraction = 2; - * @param float $var - * @return $this - */ - public function setValidationFraction($var) - { - GPBUtil::checkDouble($var); - $this->validation_fraction = $var; - - return $this; - } - - /** - * The fraction of the input data that is to be used to evaluate the Model. - * - * Generated from protobuf field double test_fraction = 3; - * @return float - */ - public function getTestFraction() - { - return $this->test_fraction; - } - - /** - * The fraction of the input data that is to be used to evaluate the Model. - * - * Generated from protobuf field double test_fraction = 3; - * @param float $var - * @return $this - */ - public function setTestFraction($var) - { - GPBUtil::checkDouble($var); - $this->test_fraction = $var; - - return $this; - } - -} - diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/FunctionCall.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/FunctionCall.php deleted file mode 100644 index 601dafb65711..000000000000 --- a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/FunctionCall.php +++ /dev/null @@ -1,121 +0,0 @@ -google.cloud.aiplatform.v1.FunctionCall - */ -class FunctionCall extends \Google\Protobuf\Internal\Message -{ - /** - * Required. The name of the function to call. - * Matches [FunctionDeclaration.name]. - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $name = ''; - /** - * Optional. Required. The function parameters and values in JSON object - * format. See [FunctionDeclaration.parameters] for parameter details. - * - * Generated from protobuf field .google.protobuf.Struct args = 2 [(.google.api.field_behavior) = OPTIONAL]; - */ - protected $args = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $name - * Required. The name of the function to call. - * Matches [FunctionDeclaration.name]. - * @type \Google\Protobuf\Struct $args - * Optional. Required. The function parameters and values in JSON object - * format. See [FunctionDeclaration.parameters] for parameter details. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Cloud\Aiplatform\V1\Tool::initOnce(); - parent::__construct($data); - } - - /** - * Required. The name of the function to call. - * Matches [FunctionDeclaration.name]. - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * @return string - */ - public function getName() - { - return $this->name; - } - - /** - * Required. The name of the function to call. - * Matches [FunctionDeclaration.name]. - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * @param string $var - * @return $this - */ - public function setName($var) - { - GPBUtil::checkString($var, True); - $this->name = $var; - - return $this; - } - - /** - * Optional. Required. The function parameters and values in JSON object - * format. See [FunctionDeclaration.parameters] for parameter details. - * - * Generated from protobuf field .google.protobuf.Struct args = 2 [(.google.api.field_behavior) = OPTIONAL]; - * @return \Google\Protobuf\Struct|null - */ - public function getArgs() - { - return $this->args; - } - - public function hasArgs() - { - return isset($this->args); - } - - public function clearArgs() - { - unset($this->args); - } - - /** - * Optional. Required. The function parameters and values in JSON object - * format. See [FunctionDeclaration.parameters] for parameter details. - * - * Generated from protobuf field .google.protobuf.Struct args = 2 [(.google.api.field_behavior) = OPTIONAL]; - * @param \Google\Protobuf\Struct $var - * @return $this - */ - public function setArgs($var) - { - GPBUtil::checkMessage($var, \Google\Protobuf\Struct::class); - $this->args = $var; - - return $this; - } - -} - diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/FunctionCallingConfig.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/FunctionCallingConfig.php deleted file mode 100644 index b65c4e1231cc..000000000000 --- a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/FunctionCallingConfig.php +++ /dev/null @@ -1,109 +0,0 @@ -google.cloud.aiplatform.v1.FunctionCallingConfig - */ -class FunctionCallingConfig extends \Google\Protobuf\Internal\Message -{ - /** - * Optional. Function calling mode. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.FunctionCallingConfig.Mode mode = 1 [(.google.api.field_behavior) = OPTIONAL]; - */ - protected $mode = 0; - /** - * Optional. Function names to call. Only set when the Mode is ANY. Function - * names should match [FunctionDeclaration.name]. With mode set to ANY, model - * will predict a function call from the set of function names provided. - * - * Generated from protobuf field repeated string allowed_function_names = 2 [(.google.api.field_behavior) = OPTIONAL]; - */ - private $allowed_function_names; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type int $mode - * Optional. Function calling mode. - * @type array|\Google\Protobuf\Internal\RepeatedField $allowed_function_names - * Optional. Function names to call. Only set when the Mode is ANY. Function - * names should match [FunctionDeclaration.name]. With mode set to ANY, model - * will predict a function call from the set of function names provided. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Cloud\Aiplatform\V1\Tool::initOnce(); - parent::__construct($data); - } - - /** - * Optional. Function calling mode. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.FunctionCallingConfig.Mode mode = 1 [(.google.api.field_behavior) = OPTIONAL]; - * @return int - */ - public function getMode() - { - return $this->mode; - } - - /** - * Optional. Function calling mode. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.FunctionCallingConfig.Mode mode = 1 [(.google.api.field_behavior) = OPTIONAL]; - * @param int $var - * @return $this - */ - public function setMode($var) - { - GPBUtil::checkEnum($var, \Google\Cloud\AIPlatform\V1\FunctionCallingConfig\Mode::class); - $this->mode = $var; - - return $this; - } - - /** - * Optional. Function names to call. Only set when the Mode is ANY. Function - * names should match [FunctionDeclaration.name]. With mode set to ANY, model - * will predict a function call from the set of function names provided. - * - * Generated from protobuf field repeated string allowed_function_names = 2 [(.google.api.field_behavior) = OPTIONAL]; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getAllowedFunctionNames() - { - return $this->allowed_function_names; - } - - /** - * Optional. Function names to call. Only set when the Mode is ANY. Function - * names should match [FunctionDeclaration.name]. With mode set to ANY, model - * will predict a function call from the set of function names provided. - * - * Generated from protobuf field repeated string allowed_function_names = 2 [(.google.api.field_behavior) = OPTIONAL]; - * @param array|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setAllowedFunctionNames($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING); - $this->allowed_function_names = $arr; - - return $this; - } - -} - diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/FunctionCallingConfig/Mode.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/FunctionCallingConfig/Mode.php deleted file mode 100644 index d1f625ccbee5..000000000000 --- a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/FunctionCallingConfig/Mode.php +++ /dev/null @@ -1,76 +0,0 @@ -google.cloud.aiplatform.v1.FunctionCallingConfig.Mode - */ -class Mode -{ - /** - * Unspecified function calling mode. This value should not be used. - * - * Generated from protobuf enum MODE_UNSPECIFIED = 0; - */ - const MODE_UNSPECIFIED = 0; - /** - * Default model behavior, model decides to predict either a function call - * or a natural language repspose. - * - * Generated from protobuf enum AUTO = 1; - */ - const AUTO = 1; - /** - * Model is constrained to always predicting a function call only. - * If "allowed_function_names" are set, the predicted function call will be - * limited to any one of "allowed_function_names", else the predicted - * function call will be any one of the provided "function_declarations". - * - * Generated from protobuf enum ANY = 2; - */ - const ANY = 2; - /** - * Model will not predict any function call. Model behavior is same as when - * not passing any function declarations. - * - * Generated from protobuf enum NONE = 3; - */ - const NONE = 3; - - private static $valueToName = [ - self::MODE_UNSPECIFIED => 'MODE_UNSPECIFIED', - self::AUTO => 'AUTO', - self::ANY => 'ANY', - self::NONE => 'NONE', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(Mode::class, \Google\Cloud\AIPlatform\V1\FunctionCallingConfig_Mode::class); - diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/FunctionDeclaration.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/FunctionDeclaration.php deleted file mode 100644 index 8499695959db..000000000000 --- a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/FunctionDeclaration.php +++ /dev/null @@ -1,217 +0,0 @@ -google.cloud.aiplatform.v1.FunctionDeclaration - */ -class FunctionDeclaration extends \Google\Protobuf\Internal\Message -{ - /** - * Required. The name of the function to call. - * Must start with a letter or an underscore. - * Must be a-z, A-Z, 0-9, or contain underscores, dots and dashes, with a - * maximum length of 64. - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $name = ''; - /** - * Optional. Description and purpose of the function. - * Model uses it to decide how and whether to call the function. - * - * Generated from protobuf field string description = 2 [(.google.api.field_behavior) = OPTIONAL]; - */ - protected $description = ''; - /** - * Optional. Describes the parameters to this function in JSON Schema Object - * format. Reflects the Open API 3.03 Parameter Object. string Key: the name - * of the parameter. Parameter names are case sensitive. Schema Value: the - * Schema defining the type used for the parameter. For function with no - * parameters, this can be left unset. Parameter names must start with a - * letter or an underscore and must only contain chars a-z, A-Z, 0-9, or - * underscores with a maximum length of 64. Example with 1 required and 1 - * optional parameter: type: OBJECT properties: - * param1: - * type: STRING - * param2: - * type: INTEGER - * required: - * - param1 - * - * Generated from protobuf field .google.cloud.aiplatform.v1.Schema parameters = 3 [(.google.api.field_behavior) = OPTIONAL]; - */ - protected $parameters = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $name - * Required. The name of the function to call. - * Must start with a letter or an underscore. - * Must be a-z, A-Z, 0-9, or contain underscores, dots and dashes, with a - * maximum length of 64. - * @type string $description - * Optional. Description and purpose of the function. - * Model uses it to decide how and whether to call the function. - * @type \Google\Cloud\AIPlatform\V1\Schema $parameters - * Optional. Describes the parameters to this function in JSON Schema Object - * format. Reflects the Open API 3.03 Parameter Object. string Key: the name - * of the parameter. Parameter names are case sensitive. Schema Value: the - * Schema defining the type used for the parameter. For function with no - * parameters, this can be left unset. Parameter names must start with a - * letter or an underscore and must only contain chars a-z, A-Z, 0-9, or - * underscores with a maximum length of 64. Example with 1 required and 1 - * optional parameter: type: OBJECT properties: - * param1: - * type: STRING - * param2: - * type: INTEGER - * required: - * - param1 - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Cloud\Aiplatform\V1\Tool::initOnce(); - parent::__construct($data); - } - - /** - * Required. The name of the function to call. - * Must start with a letter or an underscore. - * Must be a-z, A-Z, 0-9, or contain underscores, dots and dashes, with a - * maximum length of 64. - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * @return string - */ - public function getName() - { - return $this->name; - } - - /** - * Required. The name of the function to call. - * Must start with a letter or an underscore. - * Must be a-z, A-Z, 0-9, or contain underscores, dots and dashes, with a - * maximum length of 64. - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * @param string $var - * @return $this - */ - public function setName($var) - { - GPBUtil::checkString($var, True); - $this->name = $var; - - return $this; - } - - /** - * Optional. Description and purpose of the function. - * Model uses it to decide how and whether to call the function. - * - * Generated from protobuf field string description = 2 [(.google.api.field_behavior) = OPTIONAL]; - * @return string - */ - public function getDescription() - { - return $this->description; - } - - /** - * Optional. Description and purpose of the function. - * Model uses it to decide how and whether to call the function. - * - * Generated from protobuf field string description = 2 [(.google.api.field_behavior) = OPTIONAL]; - * @param string $var - * @return $this - */ - public function setDescription($var) - { - GPBUtil::checkString($var, True); - $this->description = $var; - - return $this; - } - - /** - * Optional. Describes the parameters to this function in JSON Schema Object - * format. Reflects the Open API 3.03 Parameter Object. string Key: the name - * of the parameter. Parameter names are case sensitive. Schema Value: the - * Schema defining the type used for the parameter. For function with no - * parameters, this can be left unset. Parameter names must start with a - * letter or an underscore and must only contain chars a-z, A-Z, 0-9, or - * underscores with a maximum length of 64. Example with 1 required and 1 - * optional parameter: type: OBJECT properties: - * param1: - * type: STRING - * param2: - * type: INTEGER - * required: - * - param1 - * - * Generated from protobuf field .google.cloud.aiplatform.v1.Schema parameters = 3 [(.google.api.field_behavior) = OPTIONAL]; - * @return \Google\Cloud\AIPlatform\V1\Schema|null - */ - public function getParameters() - { - return $this->parameters; - } - - public function hasParameters() - { - return isset($this->parameters); - } - - public function clearParameters() - { - unset($this->parameters); - } - - /** - * Optional. Describes the parameters to this function in JSON Schema Object - * format. Reflects the Open API 3.03 Parameter Object. string Key: the name - * of the parameter. Parameter names are case sensitive. Schema Value: the - * Schema defining the type used for the parameter. For function with no - * parameters, this can be left unset. Parameter names must start with a - * letter or an underscore and must only contain chars a-z, A-Z, 0-9, or - * underscores with a maximum length of 64. Example with 1 required and 1 - * optional parameter: type: OBJECT properties: - * param1: - * type: STRING - * param2: - * type: INTEGER - * required: - * - param1 - * - * Generated from protobuf field .google.cloud.aiplatform.v1.Schema parameters = 3 [(.google.api.field_behavior) = OPTIONAL]; - * @param \Google\Cloud\AIPlatform\V1\Schema $var - * @return $this - */ - public function setParameters($var) - { - GPBUtil::checkMessage($var, \Google\Cloud\AIPlatform\V1\Schema::class); - $this->parameters = $var; - - return $this; - } - -} - diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/FunctionResponse.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/FunctionResponse.php deleted file mode 100644 index 0d62db7ae42d..000000000000 --- a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/FunctionResponse.php +++ /dev/null @@ -1,118 +0,0 @@ -google.cloud.aiplatform.v1.FunctionResponse - */ -class FunctionResponse extends \Google\Protobuf\Internal\Message -{ - /** - * Required. The name of the function to call. - * Matches [FunctionDeclaration.name] and [FunctionCall.name]. - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $name = ''; - /** - * Required. The function response in JSON object format. - * - * Generated from protobuf field .google.protobuf.Struct response = 2 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $response = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $name - * Required. The name of the function to call. - * Matches [FunctionDeclaration.name] and [FunctionCall.name]. - * @type \Google\Protobuf\Struct $response - * Required. The function response in JSON object format. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Cloud\Aiplatform\V1\Tool::initOnce(); - parent::__construct($data); - } - - /** - * Required. The name of the function to call. - * Matches [FunctionDeclaration.name] and [FunctionCall.name]. - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * @return string - */ - public function getName() - { - return $this->name; - } - - /** - * Required. The name of the function to call. - * Matches [FunctionDeclaration.name] and [FunctionCall.name]. - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * @param string $var - * @return $this - */ - public function setName($var) - { - GPBUtil::checkString($var, True); - $this->name = $var; - - return $this; - } - - /** - * Required. The function response in JSON object format. - * - * Generated from protobuf field .google.protobuf.Struct response = 2 [(.google.api.field_behavior) = REQUIRED]; - * @return \Google\Protobuf\Struct|null - */ - public function getResponse() - { - return $this->response; - } - - public function hasResponse() - { - return isset($this->response); - } - - public function clearResponse() - { - unset($this->response); - } - - /** - * Required. The function response in JSON object format. - * - * Generated from protobuf field .google.protobuf.Struct response = 2 [(.google.api.field_behavior) = REQUIRED]; - * @param \Google\Protobuf\Struct $var - * @return $this - */ - public function setResponse($var) - { - GPBUtil::checkMessage($var, \Google\Protobuf\Struct::class); - $this->response = $var; - - return $this; - } - -} - diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/GcsDestination.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/GcsDestination.php deleted file mode 100644 index 0ea937dbe464..000000000000 --- a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/GcsDestination.php +++ /dev/null @@ -1,79 +0,0 @@ -google.cloud.aiplatform.v1.GcsDestination - */ -class GcsDestination extends \Google\Protobuf\Internal\Message -{ - /** - * Required. Google Cloud Storage URI to output directory. If the uri doesn't - * end with - * '/', a '/' will be automatically appended. The directory is created if it - * doesn't exist. - * - * Generated from protobuf field string output_uri_prefix = 1 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $output_uri_prefix = ''; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $output_uri_prefix - * Required. Google Cloud Storage URI to output directory. If the uri doesn't - * end with - * '/', a '/' will be automatically appended. The directory is created if it - * doesn't exist. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Cloud\Aiplatform\V1\Io::initOnce(); - parent::__construct($data); - } - - /** - * Required. Google Cloud Storage URI to output directory. If the uri doesn't - * end with - * '/', a '/' will be automatically appended. The directory is created if it - * doesn't exist. - * - * Generated from protobuf field string output_uri_prefix = 1 [(.google.api.field_behavior) = REQUIRED]; - * @return string - */ - public function getOutputUriPrefix() - { - return $this->output_uri_prefix; - } - - /** - * Required. Google Cloud Storage URI to output directory. If the uri doesn't - * end with - * '/', a '/' will be automatically appended. The directory is created if it - * doesn't exist. - * - * Generated from protobuf field string output_uri_prefix = 1 [(.google.api.field_behavior) = REQUIRED]; - * @param string $var - * @return $this - */ - public function setOutputUriPrefix($var) - { - GPBUtil::checkString($var, True); - $this->output_uri_prefix = $var; - - return $this; - } - -} - diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/GcsSource.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/GcsSource.php deleted file mode 100644 index b3ece9fe7015..000000000000 --- a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/GcsSource.php +++ /dev/null @@ -1,75 +0,0 @@ -google.cloud.aiplatform.v1.GcsSource - */ -class GcsSource extends \Google\Protobuf\Internal\Message -{ - /** - * Required. Google Cloud Storage URI(-s) to the input file(s). May contain - * wildcards. For more information on wildcards, see - * https://cloud.google.com/storage/docs/gsutil/addlhelp/WildcardNames. - * - * Generated from protobuf field repeated string uris = 1 [(.google.api.field_behavior) = REQUIRED]; - */ - private $uris; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type array|\Google\Protobuf\Internal\RepeatedField $uris - * Required. Google Cloud Storage URI(-s) to the input file(s). May contain - * wildcards. For more information on wildcards, see - * https://cloud.google.com/storage/docs/gsutil/addlhelp/WildcardNames. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Cloud\Aiplatform\V1\Io::initOnce(); - parent::__construct($data); - } - - /** - * Required. Google Cloud Storage URI(-s) to the input file(s). May contain - * wildcards. For more information on wildcards, see - * https://cloud.google.com/storage/docs/gsutil/addlhelp/WildcardNames. - * - * Generated from protobuf field repeated string uris = 1 [(.google.api.field_behavior) = REQUIRED]; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getUris() - { - return $this->uris; - } - - /** - * Required. Google Cloud Storage URI(-s) to the input file(s). May contain - * wildcards. For more information on wildcards, see - * https://cloud.google.com/storage/docs/gsutil/addlhelp/WildcardNames. - * - * Generated from protobuf field repeated string uris = 1 [(.google.api.field_behavior) = REQUIRED]; - * @param array|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setUris($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING); - $this->uris = $arr; - - return $this; - } - -} - diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/GenerateContentRequest.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/GenerateContentRequest.php deleted file mode 100644 index 98502ac60fc4..000000000000 --- a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/GenerateContentRequest.php +++ /dev/null @@ -1,374 +0,0 @@ -google.cloud.aiplatform.v1.GenerateContentRequest - */ -class GenerateContentRequest extends \Google\Protobuf\Internal\Message -{ - /** - * Required. The name of the publisher model requested to serve the - * prediction. Format: - * `projects/{project}/locations/{location}/publishers/*/models/*` - * - * Generated from protobuf field string model = 5 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $model = ''; - /** - * Required. The content of the current conversation with the model. - * For single-turn queries, this is a single instance. For multi-turn queries, - * this is a repeated field that contains conversation history + latest - * request. - * - * Generated from protobuf field repeated .google.cloud.aiplatform.v1.Content contents = 2 [(.google.api.field_behavior) = REQUIRED]; - */ - private $contents; - /** - * Optional. The user provided system instructions for the model. - * Note: only text should be used in parts and content in each part will be in - * a separate paragraph. - * - * Generated from protobuf field optional .google.cloud.aiplatform.v1.Content system_instruction = 8 [(.google.api.field_behavior) = OPTIONAL]; - */ - protected $system_instruction = null; - /** - * Optional. A list of `Tools` the model may use to generate the next - * response. - * A `Tool` is a piece of code that enables the system to interact with - * external systems to perform an action, or set of actions, outside of - * knowledge and scope of the model. - * - * Generated from protobuf field repeated .google.cloud.aiplatform.v1.Tool tools = 6 [(.google.api.field_behavior) = OPTIONAL]; - */ - private $tools; - /** - * Optional. Tool config. This config is shared for all tools provided in the - * request. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.ToolConfig tool_config = 7 [(.google.api.field_behavior) = OPTIONAL]; - */ - protected $tool_config = null; - /** - * Optional. Per request settings for blocking unsafe content. - * Enforced on GenerateContentResponse.candidates. - * - * Generated from protobuf field repeated .google.cloud.aiplatform.v1.SafetySetting safety_settings = 3 [(.google.api.field_behavior) = OPTIONAL]; - */ - private $safety_settings; - /** - * Optional. Generation config. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.GenerationConfig generation_config = 4 [(.google.api.field_behavior) = OPTIONAL]; - */ - protected $generation_config = null; - - /** - * @param string $model Required. The name of the publisher model requested to serve the - * prediction. Format: - * `projects/{project}/locations/{location}/publishers/*/models/*` - * @param \Google\Cloud\AIPlatform\V1\Content[] $contents Required. The content of the current conversation with the model. - * - * For single-turn queries, this is a single instance. For multi-turn queries, - * this is a repeated field that contains conversation history + latest - * request. - * - * @return \Google\Cloud\AIPlatform\V1\GenerateContentRequest - * - * @experimental - */ - public static function build(string $model, array $contents): self - { - return (new self()) - ->setModel($model) - ->setContents($contents); - } - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $model - * Required. The name of the publisher model requested to serve the - * prediction. Format: - * `projects/{project}/locations/{location}/publishers/*/models/*` - * @type array<\Google\Cloud\AIPlatform\V1\Content>|\Google\Protobuf\Internal\RepeatedField $contents - * Required. The content of the current conversation with the model. - * For single-turn queries, this is a single instance. For multi-turn queries, - * this is a repeated field that contains conversation history + latest - * request. - * @type \Google\Cloud\AIPlatform\V1\Content $system_instruction - * Optional. The user provided system instructions for the model. - * Note: only text should be used in parts and content in each part will be in - * a separate paragraph. - * @type array<\Google\Cloud\AIPlatform\V1\Tool>|\Google\Protobuf\Internal\RepeatedField $tools - * Optional. A list of `Tools` the model may use to generate the next - * response. - * A `Tool` is a piece of code that enables the system to interact with - * external systems to perform an action, or set of actions, outside of - * knowledge and scope of the model. - * @type \Google\Cloud\AIPlatform\V1\ToolConfig $tool_config - * Optional. Tool config. This config is shared for all tools provided in the - * request. - * @type array<\Google\Cloud\AIPlatform\V1\SafetySetting>|\Google\Protobuf\Internal\RepeatedField $safety_settings - * Optional. Per request settings for blocking unsafe content. - * Enforced on GenerateContentResponse.candidates. - * @type \Google\Cloud\AIPlatform\V1\GenerationConfig $generation_config - * Optional. Generation config. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Cloud\Aiplatform\V1\PredictionService::initOnce(); - parent::__construct($data); - } - - /** - * Required. The name of the publisher model requested to serve the - * prediction. Format: - * `projects/{project}/locations/{location}/publishers/*/models/*` - * - * Generated from protobuf field string model = 5 [(.google.api.field_behavior) = REQUIRED]; - * @return string - */ - public function getModel() - { - return $this->model; - } - - /** - * Required. The name of the publisher model requested to serve the - * prediction. Format: - * `projects/{project}/locations/{location}/publishers/*/models/*` - * - * Generated from protobuf field string model = 5 [(.google.api.field_behavior) = REQUIRED]; - * @param string $var - * @return $this - */ - public function setModel($var) - { - GPBUtil::checkString($var, True); - $this->model = $var; - - return $this; - } - - /** - * Required. The content of the current conversation with the model. - * For single-turn queries, this is a single instance. For multi-turn queries, - * this is a repeated field that contains conversation history + latest - * request. - * - * Generated from protobuf field repeated .google.cloud.aiplatform.v1.Content contents = 2 [(.google.api.field_behavior) = REQUIRED]; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getContents() - { - return $this->contents; - } - - /** - * Required. The content of the current conversation with the model. - * For single-turn queries, this is a single instance. For multi-turn queries, - * this is a repeated field that contains conversation history + latest - * request. - * - * Generated from protobuf field repeated .google.cloud.aiplatform.v1.Content contents = 2 [(.google.api.field_behavior) = REQUIRED]; - * @param array<\Google\Cloud\AIPlatform\V1\Content>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setContents($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\AIPlatform\V1\Content::class); - $this->contents = $arr; - - return $this; - } - - /** - * Optional. The user provided system instructions for the model. - * Note: only text should be used in parts and content in each part will be in - * a separate paragraph. - * - * Generated from protobuf field optional .google.cloud.aiplatform.v1.Content system_instruction = 8 [(.google.api.field_behavior) = OPTIONAL]; - * @return \Google\Cloud\AIPlatform\V1\Content|null - */ - public function getSystemInstruction() - { - return $this->system_instruction; - } - - public function hasSystemInstruction() - { - return isset($this->system_instruction); - } - - public function clearSystemInstruction() - { - unset($this->system_instruction); - } - - /** - * Optional. The user provided system instructions for the model. - * Note: only text should be used in parts and content in each part will be in - * a separate paragraph. - * - * Generated from protobuf field optional .google.cloud.aiplatform.v1.Content system_instruction = 8 [(.google.api.field_behavior) = OPTIONAL]; - * @param \Google\Cloud\AIPlatform\V1\Content $var - * @return $this - */ - public function setSystemInstruction($var) - { - GPBUtil::checkMessage($var, \Google\Cloud\AIPlatform\V1\Content::class); - $this->system_instruction = $var; - - return $this; - } - - /** - * Optional. A list of `Tools` the model may use to generate the next - * response. - * A `Tool` is a piece of code that enables the system to interact with - * external systems to perform an action, or set of actions, outside of - * knowledge and scope of the model. - * - * Generated from protobuf field repeated .google.cloud.aiplatform.v1.Tool tools = 6 [(.google.api.field_behavior) = OPTIONAL]; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getTools() - { - return $this->tools; - } - - /** - * Optional. A list of `Tools` the model may use to generate the next - * response. - * A `Tool` is a piece of code that enables the system to interact with - * external systems to perform an action, or set of actions, outside of - * knowledge and scope of the model. - * - * Generated from protobuf field repeated .google.cloud.aiplatform.v1.Tool tools = 6 [(.google.api.field_behavior) = OPTIONAL]; - * @param array<\Google\Cloud\AIPlatform\V1\Tool>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setTools($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\AIPlatform\V1\Tool::class); - $this->tools = $arr; - - return $this; - } - - /** - * Optional. Tool config. This config is shared for all tools provided in the - * request. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.ToolConfig tool_config = 7 [(.google.api.field_behavior) = OPTIONAL]; - * @return \Google\Cloud\AIPlatform\V1\ToolConfig|null - */ - public function getToolConfig() - { - return $this->tool_config; - } - - public function hasToolConfig() - { - return isset($this->tool_config); - } - - public function clearToolConfig() - { - unset($this->tool_config); - } - - /** - * Optional. Tool config. This config is shared for all tools provided in the - * request. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.ToolConfig tool_config = 7 [(.google.api.field_behavior) = OPTIONAL]; - * @param \Google\Cloud\AIPlatform\V1\ToolConfig $var - * @return $this - */ - public function setToolConfig($var) - { - GPBUtil::checkMessage($var, \Google\Cloud\AIPlatform\V1\ToolConfig::class); - $this->tool_config = $var; - - return $this; - } - - /** - * Optional. Per request settings for blocking unsafe content. - * Enforced on GenerateContentResponse.candidates. - * - * Generated from protobuf field repeated .google.cloud.aiplatform.v1.SafetySetting safety_settings = 3 [(.google.api.field_behavior) = OPTIONAL]; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getSafetySettings() - { - return $this->safety_settings; - } - - /** - * Optional. Per request settings for blocking unsafe content. - * Enforced on GenerateContentResponse.candidates. - * - * Generated from protobuf field repeated .google.cloud.aiplatform.v1.SafetySetting safety_settings = 3 [(.google.api.field_behavior) = OPTIONAL]; - * @param array<\Google\Cloud\AIPlatform\V1\SafetySetting>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setSafetySettings($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\AIPlatform\V1\SafetySetting::class); - $this->safety_settings = $arr; - - return $this; - } - - /** - * Optional. Generation config. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.GenerationConfig generation_config = 4 [(.google.api.field_behavior) = OPTIONAL]; - * @return \Google\Cloud\AIPlatform\V1\GenerationConfig|null - */ - public function getGenerationConfig() - { - return $this->generation_config; - } - - public function hasGenerationConfig() - { - return isset($this->generation_config); - } - - public function clearGenerationConfig() - { - unset($this->generation_config); - } - - /** - * Optional. Generation config. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.GenerationConfig generation_config = 4 [(.google.api.field_behavior) = OPTIONAL]; - * @param \Google\Cloud\AIPlatform\V1\GenerationConfig $var - * @return $this - */ - public function setGenerationConfig($var) - { - GPBUtil::checkMessage($var, \Google\Cloud\AIPlatform\V1\GenerationConfig::class); - $this->generation_config = $var; - - return $this; - } - -} - diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/GenerateContentResponse.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/GenerateContentResponse.php deleted file mode 100644 index b694b187304a..000000000000 --- a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/GenerateContentResponse.php +++ /dev/null @@ -1,163 +0,0 @@ -google.cloud.aiplatform.v1.GenerateContentResponse - */ -class GenerateContentResponse extends \Google\Protobuf\Internal\Message -{ - /** - * Output only. Generated candidates. - * - * Generated from protobuf field repeated .google.cloud.aiplatform.v1.Candidate candidates = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - private $candidates; - /** - * Output only. Content filter results for a prompt sent in the request. - * Note: Sent only in the first stream chunk. - * Only happens when no candidates were generated due to content violations. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.GenerateContentResponse.PromptFeedback prompt_feedback = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $prompt_feedback = null; - /** - * Usage metadata about the response(s). - * - * Generated from protobuf field .google.cloud.aiplatform.v1.GenerateContentResponse.UsageMetadata usage_metadata = 4; - */ - protected $usage_metadata = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type array<\Google\Cloud\AIPlatform\V1\Candidate>|\Google\Protobuf\Internal\RepeatedField $candidates - * Output only. Generated candidates. - * @type \Google\Cloud\AIPlatform\V1\GenerateContentResponse\PromptFeedback $prompt_feedback - * Output only. Content filter results for a prompt sent in the request. - * Note: Sent only in the first stream chunk. - * Only happens when no candidates were generated due to content violations. - * @type \Google\Cloud\AIPlatform\V1\GenerateContentResponse\UsageMetadata $usage_metadata - * Usage metadata about the response(s). - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Cloud\Aiplatform\V1\PredictionService::initOnce(); - parent::__construct($data); - } - - /** - * Output only. Generated candidates. - * - * Generated from protobuf field repeated .google.cloud.aiplatform.v1.Candidate candidates = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getCandidates() - { - return $this->candidates; - } - - /** - * Output only. Generated candidates. - * - * Generated from protobuf field repeated .google.cloud.aiplatform.v1.Candidate candidates = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param array<\Google\Cloud\AIPlatform\V1\Candidate>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setCandidates($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\AIPlatform\V1\Candidate::class); - $this->candidates = $arr; - - return $this; - } - - /** - * Output only. Content filter results for a prompt sent in the request. - * Note: Sent only in the first stream chunk. - * Only happens when no candidates were generated due to content violations. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.GenerateContentResponse.PromptFeedback prompt_feedback = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return \Google\Cloud\AIPlatform\V1\GenerateContentResponse\PromptFeedback|null - */ - public function getPromptFeedback() - { - return $this->prompt_feedback; - } - - public function hasPromptFeedback() - { - return isset($this->prompt_feedback); - } - - public function clearPromptFeedback() - { - unset($this->prompt_feedback); - } - - /** - * Output only. Content filter results for a prompt sent in the request. - * Note: Sent only in the first stream chunk. - * Only happens when no candidates were generated due to content violations. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.GenerateContentResponse.PromptFeedback prompt_feedback = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param \Google\Cloud\AIPlatform\V1\GenerateContentResponse\PromptFeedback $var - * @return $this - */ - public function setPromptFeedback($var) - { - GPBUtil::checkMessage($var, \Google\Cloud\AIPlatform\V1\GenerateContentResponse\PromptFeedback::class); - $this->prompt_feedback = $var; - - return $this; - } - - /** - * Usage metadata about the response(s). - * - * Generated from protobuf field .google.cloud.aiplatform.v1.GenerateContentResponse.UsageMetadata usage_metadata = 4; - * @return \Google\Cloud\AIPlatform\V1\GenerateContentResponse\UsageMetadata|null - */ - public function getUsageMetadata() - { - return $this->usage_metadata; - } - - public function hasUsageMetadata() - { - return isset($this->usage_metadata); - } - - public function clearUsageMetadata() - { - unset($this->usage_metadata); - } - - /** - * Usage metadata about the response(s). - * - * Generated from protobuf field .google.cloud.aiplatform.v1.GenerateContentResponse.UsageMetadata usage_metadata = 4; - * @param \Google\Cloud\AIPlatform\V1\GenerateContentResponse\UsageMetadata $var - * @return $this - */ - public function setUsageMetadata($var) - { - GPBUtil::checkMessage($var, \Google\Cloud\AIPlatform\V1\GenerateContentResponse\UsageMetadata::class); - $this->usage_metadata = $var; - - return $this; - } - -} - diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/GenerateContentResponse/PromptFeedback.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/GenerateContentResponse/PromptFeedback.php deleted file mode 100644 index 4b29d86ab0da..000000000000 --- a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/GenerateContentResponse/PromptFeedback.php +++ /dev/null @@ -1,138 +0,0 @@ -google.cloud.aiplatform.v1.GenerateContentResponse.PromptFeedback - */ -class PromptFeedback extends \Google\Protobuf\Internal\Message -{ - /** - * Output only. Blocked reason. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.GenerateContentResponse.PromptFeedback.BlockedReason block_reason = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $block_reason = 0; - /** - * Output only. Safety ratings. - * - * Generated from protobuf field repeated .google.cloud.aiplatform.v1.SafetyRating safety_ratings = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - private $safety_ratings; - /** - * Output only. A readable block reason message. - * - * Generated from protobuf field string block_reason_message = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $block_reason_message = ''; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type int $block_reason - * Output only. Blocked reason. - * @type array<\Google\Cloud\AIPlatform\V1\SafetyRating>|\Google\Protobuf\Internal\RepeatedField $safety_ratings - * Output only. Safety ratings. - * @type string $block_reason_message - * Output only. A readable block reason message. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Cloud\Aiplatform\V1\PredictionService::initOnce(); - parent::__construct($data); - } - - /** - * Output only. Blocked reason. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.GenerateContentResponse.PromptFeedback.BlockedReason block_reason = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return int - */ - public function getBlockReason() - { - return $this->block_reason; - } - - /** - * Output only. Blocked reason. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.GenerateContentResponse.PromptFeedback.BlockedReason block_reason = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param int $var - * @return $this - */ - public function setBlockReason($var) - { - GPBUtil::checkEnum($var, \Google\Cloud\AIPlatform\V1\GenerateContentResponse\PromptFeedback\BlockedReason::class); - $this->block_reason = $var; - - return $this; - } - - /** - * Output only. Safety ratings. - * - * Generated from protobuf field repeated .google.cloud.aiplatform.v1.SafetyRating safety_ratings = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getSafetyRatings() - { - return $this->safety_ratings; - } - - /** - * Output only. Safety ratings. - * - * Generated from protobuf field repeated .google.cloud.aiplatform.v1.SafetyRating safety_ratings = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param array<\Google\Cloud\AIPlatform\V1\SafetyRating>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setSafetyRatings($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\AIPlatform\V1\SafetyRating::class); - $this->safety_ratings = $arr; - - return $this; - } - - /** - * Output only. A readable block reason message. - * - * Generated from protobuf field string block_reason_message = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return string - */ - public function getBlockReasonMessage() - { - return $this->block_reason_message; - } - - /** - * Output only. A readable block reason message. - * - * Generated from protobuf field string block_reason_message = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param string $var - * @return $this - */ - public function setBlockReasonMessage($var) - { - GPBUtil::checkString($var, True); - $this->block_reason_message = $var; - - return $this; - } - -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(PromptFeedback::class, \Google\Cloud\AIPlatform\V1\GenerateContentResponse_PromptFeedback::class); - diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/GenerateContentResponse/PromptFeedback/BlockedReason.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/GenerateContentResponse/PromptFeedback/BlockedReason.php deleted file mode 100644 index 6506ff07da71..000000000000 --- a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/GenerateContentResponse/PromptFeedback/BlockedReason.php +++ /dev/null @@ -1,79 +0,0 @@ -google.cloud.aiplatform.v1.GenerateContentResponse.PromptFeedback.BlockedReason - */ -class BlockedReason -{ - /** - * Unspecified blocked reason. - * - * Generated from protobuf enum BLOCKED_REASON_UNSPECIFIED = 0; - */ - const BLOCKED_REASON_UNSPECIFIED = 0; - /** - * Candidates blocked due to safety. - * - * Generated from protobuf enum SAFETY = 1; - */ - const SAFETY = 1; - /** - * Candidates blocked due to other reason. - * - * Generated from protobuf enum OTHER = 2; - */ - const OTHER = 2; - /** - * Candidates blocked due to the terms which are included from the - * terminology blocklist. - * - * Generated from protobuf enum BLOCKLIST = 3; - */ - const BLOCKLIST = 3; - /** - * Candidates blocked due to prohibited content. - * - * Generated from protobuf enum PROHIBITED_CONTENT = 4; - */ - const PROHIBITED_CONTENT = 4; - - private static $valueToName = [ - self::BLOCKED_REASON_UNSPECIFIED => 'BLOCKED_REASON_UNSPECIFIED', - self::SAFETY => 'SAFETY', - self::OTHER => 'OTHER', - self::BLOCKLIST => 'BLOCKLIST', - self::PROHIBITED_CONTENT => 'PROHIBITED_CONTENT', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(BlockedReason::class, \Google\Cloud\AIPlatform\V1\GenerateContentResponse_PromptFeedback_BlockedReason::class); - diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/GenerateContentResponse/UsageMetadata.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/GenerateContentResponse/UsageMetadata.php deleted file mode 100644 index dbe82e4fa571..000000000000 --- a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/GenerateContentResponse/UsageMetadata.php +++ /dev/null @@ -1,131 +0,0 @@ -google.cloud.aiplatform.v1.GenerateContentResponse.UsageMetadata - */ -class UsageMetadata extends \Google\Protobuf\Internal\Message -{ - /** - * Number of tokens in the request. - * - * Generated from protobuf field int32 prompt_token_count = 1; - */ - protected $prompt_token_count = 0; - /** - * Number of tokens in the response(s). - * - * Generated from protobuf field int32 candidates_token_count = 2; - */ - protected $candidates_token_count = 0; - /** - * Generated from protobuf field int32 total_token_count = 3; - */ - protected $total_token_count = 0; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type int $prompt_token_count - * Number of tokens in the request. - * @type int $candidates_token_count - * Number of tokens in the response(s). - * @type int $total_token_count - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Cloud\Aiplatform\V1\PredictionService::initOnce(); - parent::__construct($data); - } - - /** - * Number of tokens in the request. - * - * Generated from protobuf field int32 prompt_token_count = 1; - * @return int - */ - public function getPromptTokenCount() - { - return $this->prompt_token_count; - } - - /** - * Number of tokens in the request. - * - * Generated from protobuf field int32 prompt_token_count = 1; - * @param int $var - * @return $this - */ - public function setPromptTokenCount($var) - { - GPBUtil::checkInt32($var); - $this->prompt_token_count = $var; - - return $this; - } - - /** - * Number of tokens in the response(s). - * - * Generated from protobuf field int32 candidates_token_count = 2; - * @return int - */ - public function getCandidatesTokenCount() - { - return $this->candidates_token_count; - } - - /** - * Number of tokens in the response(s). - * - * Generated from protobuf field int32 candidates_token_count = 2; - * @param int $var - * @return $this - */ - public function setCandidatesTokenCount($var) - { - GPBUtil::checkInt32($var); - $this->candidates_token_count = $var; - - return $this; - } - - /** - * Generated from protobuf field int32 total_token_count = 3; - * @return int - */ - public function getTotalTokenCount() - { - return $this->total_token_count; - } - - /** - * Generated from protobuf field int32 total_token_count = 3; - * @param int $var - * @return $this - */ - public function setTotalTokenCount($var) - { - GPBUtil::checkInt32($var); - $this->total_token_count = $var; - - return $this; - } - -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(UsageMetadata::class, \Google\Cloud\AIPlatform\V1\GenerateContentResponse_UsageMetadata::class); - diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/GenerationConfig.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/GenerationConfig.php deleted file mode 100644 index be034798850c..000000000000 --- a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/GenerationConfig.php +++ /dev/null @@ -1,501 +0,0 @@ -google.cloud.aiplatform.v1.GenerationConfig - */ -class GenerationConfig extends \Google\Protobuf\Internal\Message -{ - /** - * Optional. Controls the randomness of predictions. - * - * Generated from protobuf field optional float temperature = 1 [(.google.api.field_behavior) = OPTIONAL]; - */ - protected $temperature = null; - /** - * Optional. If specified, nucleus sampling will be used. - * - * Generated from protobuf field optional float top_p = 2 [(.google.api.field_behavior) = OPTIONAL]; - */ - protected $top_p = null; - /** - * Optional. If specified, top-k sampling will be used. - * - * Generated from protobuf field optional float top_k = 3 [(.google.api.field_behavior) = OPTIONAL]; - */ - protected $top_k = null; - /** - * Optional. Number of candidates to generate. - * - * Generated from protobuf field optional int32 candidate_count = 4 [(.google.api.field_behavior) = OPTIONAL]; - */ - protected $candidate_count = null; - /** - * Optional. The maximum number of output tokens to generate per message. - * - * Generated from protobuf field optional int32 max_output_tokens = 5 [(.google.api.field_behavior) = OPTIONAL]; - */ - protected $max_output_tokens = null; - /** - * Optional. Stop sequences. - * - * Generated from protobuf field repeated string stop_sequences = 6 [(.google.api.field_behavior) = OPTIONAL]; - */ - private $stop_sequences; - /** - * Optional. Positive penalties. - * - * Generated from protobuf field optional float presence_penalty = 8 [(.google.api.field_behavior) = OPTIONAL]; - */ - protected $presence_penalty = null; - /** - * Optional. Frequency penalties. - * - * Generated from protobuf field optional float frequency_penalty = 9 [(.google.api.field_behavior) = OPTIONAL]; - */ - protected $frequency_penalty = null; - /** - * Optional. Output response mimetype of the generated candidate text. - * Supported mimetype: - * - `text/plain`: (default) Text output. - * - `application/json`: JSON response in the candidates. - * The model needs to be prompted to output the appropriate response type, - * otherwise the behavior is undefined. - * This is a preview feature. - * - * Generated from protobuf field string response_mime_type = 13 [(.google.api.field_behavior) = OPTIONAL]; - */ - protected $response_mime_type = ''; - /** - * Optional. The `Schema` object allows the definition of input and output - * data types. These types can be objects, but also primitives and arrays. - * Represents a select subset of an [OpenAPI 3.0 schema - * object](https://spec.openapis.org/oas/v3.0.3#schema). - * If set, a compatible response_mime_type must also be set. - * Compatible mimetypes: - * `application/json`: Schema for JSON response. - * - * Generated from protobuf field optional .google.cloud.aiplatform.v1.Schema response_schema = 16 [(.google.api.field_behavior) = OPTIONAL]; - */ - protected $response_schema = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type float $temperature - * Optional. Controls the randomness of predictions. - * @type float $top_p - * Optional. If specified, nucleus sampling will be used. - * @type float $top_k - * Optional. If specified, top-k sampling will be used. - * @type int $candidate_count - * Optional. Number of candidates to generate. - * @type int $max_output_tokens - * Optional. The maximum number of output tokens to generate per message. - * @type array|\Google\Protobuf\Internal\RepeatedField $stop_sequences - * Optional. Stop sequences. - * @type float $presence_penalty - * Optional. Positive penalties. - * @type float $frequency_penalty - * Optional. Frequency penalties. - * @type string $response_mime_type - * Optional. Output response mimetype of the generated candidate text. - * Supported mimetype: - * - `text/plain`: (default) Text output. - * - `application/json`: JSON response in the candidates. - * The model needs to be prompted to output the appropriate response type, - * otherwise the behavior is undefined. - * This is a preview feature. - * @type \Google\Cloud\AIPlatform\V1\Schema $response_schema - * Optional. The `Schema` object allows the definition of input and output - * data types. These types can be objects, but also primitives and arrays. - * Represents a select subset of an [OpenAPI 3.0 schema - * object](https://spec.openapis.org/oas/v3.0.3#schema). - * If set, a compatible response_mime_type must also be set. - * Compatible mimetypes: - * `application/json`: Schema for JSON response. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Cloud\Aiplatform\V1\Content::initOnce(); - parent::__construct($data); - } - - /** - * Optional. Controls the randomness of predictions. - * - * Generated from protobuf field optional float temperature = 1 [(.google.api.field_behavior) = OPTIONAL]; - * @return float - */ - public function getTemperature() - { - return isset($this->temperature) ? $this->temperature : 0.0; - } - - public function hasTemperature() - { - return isset($this->temperature); - } - - public function clearTemperature() - { - unset($this->temperature); - } - - /** - * Optional. Controls the randomness of predictions. - * - * Generated from protobuf field optional float temperature = 1 [(.google.api.field_behavior) = OPTIONAL]; - * @param float $var - * @return $this - */ - public function setTemperature($var) - { - GPBUtil::checkFloat($var); - $this->temperature = $var; - - return $this; - } - - /** - * Optional. If specified, nucleus sampling will be used. - * - * Generated from protobuf field optional float top_p = 2 [(.google.api.field_behavior) = OPTIONAL]; - * @return float - */ - public function getTopP() - { - return isset($this->top_p) ? $this->top_p : 0.0; - } - - public function hasTopP() - { - return isset($this->top_p); - } - - public function clearTopP() - { - unset($this->top_p); - } - - /** - * Optional. If specified, nucleus sampling will be used. - * - * Generated from protobuf field optional float top_p = 2 [(.google.api.field_behavior) = OPTIONAL]; - * @param float $var - * @return $this - */ - public function setTopP($var) - { - GPBUtil::checkFloat($var); - $this->top_p = $var; - - return $this; - } - - /** - * Optional. If specified, top-k sampling will be used. - * - * Generated from protobuf field optional float top_k = 3 [(.google.api.field_behavior) = OPTIONAL]; - * @return float - */ - public function getTopK() - { - return isset($this->top_k) ? $this->top_k : 0.0; - } - - public function hasTopK() - { - return isset($this->top_k); - } - - public function clearTopK() - { - unset($this->top_k); - } - - /** - * Optional. If specified, top-k sampling will be used. - * - * Generated from protobuf field optional float top_k = 3 [(.google.api.field_behavior) = OPTIONAL]; - * @param float $var - * @return $this - */ - public function setTopK($var) - { - GPBUtil::checkFloat($var); - $this->top_k = $var; - - return $this; - } - - /** - * Optional. Number of candidates to generate. - * - * Generated from protobuf field optional int32 candidate_count = 4 [(.google.api.field_behavior) = OPTIONAL]; - * @return int - */ - public function getCandidateCount() - { - return isset($this->candidate_count) ? $this->candidate_count : 0; - } - - public function hasCandidateCount() - { - return isset($this->candidate_count); - } - - public function clearCandidateCount() - { - unset($this->candidate_count); - } - - /** - * Optional. Number of candidates to generate. - * - * Generated from protobuf field optional int32 candidate_count = 4 [(.google.api.field_behavior) = OPTIONAL]; - * @param int $var - * @return $this - */ - public function setCandidateCount($var) - { - GPBUtil::checkInt32($var); - $this->candidate_count = $var; - - return $this; - } - - /** - * Optional. The maximum number of output tokens to generate per message. - * - * Generated from protobuf field optional int32 max_output_tokens = 5 [(.google.api.field_behavior) = OPTIONAL]; - * @return int - */ - public function getMaxOutputTokens() - { - return isset($this->max_output_tokens) ? $this->max_output_tokens : 0; - } - - public function hasMaxOutputTokens() - { - return isset($this->max_output_tokens); - } - - public function clearMaxOutputTokens() - { - unset($this->max_output_tokens); - } - - /** - * Optional. The maximum number of output tokens to generate per message. - * - * Generated from protobuf field optional int32 max_output_tokens = 5 [(.google.api.field_behavior) = OPTIONAL]; - * @param int $var - * @return $this - */ - public function setMaxOutputTokens($var) - { - GPBUtil::checkInt32($var); - $this->max_output_tokens = $var; - - return $this; - } - - /** - * Optional. Stop sequences. - * - * Generated from protobuf field repeated string stop_sequences = 6 [(.google.api.field_behavior) = OPTIONAL]; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getStopSequences() - { - return $this->stop_sequences; - } - - /** - * Optional. Stop sequences. - * - * Generated from protobuf field repeated string stop_sequences = 6 [(.google.api.field_behavior) = OPTIONAL]; - * @param array|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setStopSequences($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING); - $this->stop_sequences = $arr; - - return $this; - } - - /** - * Optional. Positive penalties. - * - * Generated from protobuf field optional float presence_penalty = 8 [(.google.api.field_behavior) = OPTIONAL]; - * @return float - */ - public function getPresencePenalty() - { - return isset($this->presence_penalty) ? $this->presence_penalty : 0.0; - } - - public function hasPresencePenalty() - { - return isset($this->presence_penalty); - } - - public function clearPresencePenalty() - { - unset($this->presence_penalty); - } - - /** - * Optional. Positive penalties. - * - * Generated from protobuf field optional float presence_penalty = 8 [(.google.api.field_behavior) = OPTIONAL]; - * @param float $var - * @return $this - */ - public function setPresencePenalty($var) - { - GPBUtil::checkFloat($var); - $this->presence_penalty = $var; - - return $this; - } - - /** - * Optional. Frequency penalties. - * - * Generated from protobuf field optional float frequency_penalty = 9 [(.google.api.field_behavior) = OPTIONAL]; - * @return float - */ - public function getFrequencyPenalty() - { - return isset($this->frequency_penalty) ? $this->frequency_penalty : 0.0; - } - - public function hasFrequencyPenalty() - { - return isset($this->frequency_penalty); - } - - public function clearFrequencyPenalty() - { - unset($this->frequency_penalty); - } - - /** - * Optional. Frequency penalties. - * - * Generated from protobuf field optional float frequency_penalty = 9 [(.google.api.field_behavior) = OPTIONAL]; - * @param float $var - * @return $this - */ - public function setFrequencyPenalty($var) - { - GPBUtil::checkFloat($var); - $this->frequency_penalty = $var; - - return $this; - } - - /** - * Optional. Output response mimetype of the generated candidate text. - * Supported mimetype: - * - `text/plain`: (default) Text output. - * - `application/json`: JSON response in the candidates. - * The model needs to be prompted to output the appropriate response type, - * otherwise the behavior is undefined. - * This is a preview feature. - * - * Generated from protobuf field string response_mime_type = 13 [(.google.api.field_behavior) = OPTIONAL]; - * @return string - */ - public function getResponseMimeType() - { - return $this->response_mime_type; - } - - /** - * Optional. Output response mimetype of the generated candidate text. - * Supported mimetype: - * - `text/plain`: (default) Text output. - * - `application/json`: JSON response in the candidates. - * The model needs to be prompted to output the appropriate response type, - * otherwise the behavior is undefined. - * This is a preview feature. - * - * Generated from protobuf field string response_mime_type = 13 [(.google.api.field_behavior) = OPTIONAL]; - * @param string $var - * @return $this - */ - public function setResponseMimeType($var) - { - GPBUtil::checkString($var, True); - $this->response_mime_type = $var; - - return $this; - } - - /** - * Optional. The `Schema` object allows the definition of input and output - * data types. These types can be objects, but also primitives and arrays. - * Represents a select subset of an [OpenAPI 3.0 schema - * object](https://spec.openapis.org/oas/v3.0.3#schema). - * If set, a compatible response_mime_type must also be set. - * Compatible mimetypes: - * `application/json`: Schema for JSON response. - * - * Generated from protobuf field optional .google.cloud.aiplatform.v1.Schema response_schema = 16 [(.google.api.field_behavior) = OPTIONAL]; - * @return \Google\Cloud\AIPlatform\V1\Schema|null - */ - public function getResponseSchema() - { - return $this->response_schema; - } - - public function hasResponseSchema() - { - return isset($this->response_schema); - } - - public function clearResponseSchema() - { - unset($this->response_schema); - } - - /** - * Optional. The `Schema` object allows the definition of input and output - * data types. These types can be objects, but also primitives and arrays. - * Represents a select subset of an [OpenAPI 3.0 schema - * object](https://spec.openapis.org/oas/v3.0.3#schema). - * If set, a compatible response_mime_type must also be set. - * Compatible mimetypes: - * `application/json`: Schema for JSON response. - * - * Generated from protobuf field optional .google.cloud.aiplatform.v1.Schema response_schema = 16 [(.google.api.field_behavior) = OPTIONAL]; - * @param \Google\Cloud\AIPlatform\V1\Schema $var - * @return $this - */ - public function setResponseSchema($var) - { - GPBUtil::checkMessage($var, \Google\Cloud\AIPlatform\V1\Schema::class); - $this->response_schema = $var; - - return $this; - } - -} - diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/GenericOperationMetadata.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/GenericOperationMetadata.php deleted file mode 100644 index 274590cdf475..000000000000 --- a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/GenericOperationMetadata.php +++ /dev/null @@ -1,175 +0,0 @@ -google.cloud.aiplatform.v1.GenericOperationMetadata - */ -class GenericOperationMetadata extends \Google\Protobuf\Internal\Message -{ - /** - * Output only. Partial failures encountered. - * E.g. single files that couldn't be read. - * This field should never exceed 20 entries. - * Status details field will contain standard Google Cloud error details. - * - * Generated from protobuf field repeated .google.rpc.Status partial_failures = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - private $partial_failures; - /** - * Output only. Time when the operation was created. - * - * Generated from protobuf field .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $create_time = null; - /** - * Output only. Time when the operation was updated for the last time. - * If the operation has finished (successfully or not), this is the finish - * time. - * - * Generated from protobuf field .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $update_time = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type array<\Google\Rpc\Status>|\Google\Protobuf\Internal\RepeatedField $partial_failures - * Output only. Partial failures encountered. - * E.g. single files that couldn't be read. - * This field should never exceed 20 entries. - * Status details field will contain standard Google Cloud error details. - * @type \Google\Protobuf\Timestamp $create_time - * Output only. Time when the operation was created. - * @type \Google\Protobuf\Timestamp $update_time - * Output only. Time when the operation was updated for the last time. - * If the operation has finished (successfully or not), this is the finish - * time. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Cloud\Aiplatform\V1\Operation::initOnce(); - parent::__construct($data); - } - - /** - * Output only. Partial failures encountered. - * E.g. single files that couldn't be read. - * This field should never exceed 20 entries. - * Status details field will contain standard Google Cloud error details. - * - * Generated from protobuf field repeated .google.rpc.Status partial_failures = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getPartialFailures() - { - return $this->partial_failures; - } - - /** - * Output only. Partial failures encountered. - * E.g. single files that couldn't be read. - * This field should never exceed 20 entries. - * Status details field will contain standard Google Cloud error details. - * - * Generated from protobuf field repeated .google.rpc.Status partial_failures = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param array<\Google\Rpc\Status>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setPartialFailures($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Rpc\Status::class); - $this->partial_failures = $arr; - - return $this; - } - - /** - * Output only. Time when the operation was created. - * - * Generated from protobuf field .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return \Google\Protobuf\Timestamp|null - */ - public function getCreateTime() - { - return $this->create_time; - } - - public function hasCreateTime() - { - return isset($this->create_time); - } - - public function clearCreateTime() - { - unset($this->create_time); - } - - /** - * Output only. Time when the operation was created. - * - * Generated from protobuf field .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param \Google\Protobuf\Timestamp $var - * @return $this - */ - public function setCreateTime($var) - { - GPBUtil::checkMessage($var, \Google\Protobuf\Timestamp::class); - $this->create_time = $var; - - return $this; - } - - /** - * Output only. Time when the operation was updated for the last time. - * If the operation has finished (successfully or not), this is the finish - * time. - * - * Generated from protobuf field .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return \Google\Protobuf\Timestamp|null - */ - public function getUpdateTime() - { - return $this->update_time; - } - - public function hasUpdateTime() - { - return isset($this->update_time); - } - - public function clearUpdateTime() - { - unset($this->update_time); - } - - /** - * Output only. Time when the operation was updated for the last time. - * If the operation has finished (successfully or not), this is the finish - * time. - * - * Generated from protobuf field .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param \Google\Protobuf\Timestamp $var - * @return $this - */ - public function setUpdateTime($var) - { - GPBUtil::checkMessage($var, \Google\Protobuf\Timestamp::class); - $this->update_time = $var; - - return $this; - } - -} - diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/GenieSource.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/GenieSource.php deleted file mode 100644 index 1bd25d3059f5..000000000000 --- a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/GenieSource.php +++ /dev/null @@ -1,68 +0,0 @@ -google.cloud.aiplatform.v1.GenieSource - */ -class GenieSource extends \Google\Protobuf\Internal\Message -{ - /** - * Required. The public base model URI. - * - * Generated from protobuf field string base_model_uri = 1 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $base_model_uri = ''; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $base_model_uri - * Required. The public base model URI. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Cloud\Aiplatform\V1\Model::initOnce(); - parent::__construct($data); - } - - /** - * Required. The public base model URI. - * - * Generated from protobuf field string base_model_uri = 1 [(.google.api.field_behavior) = REQUIRED]; - * @return string - */ - public function getBaseModelUri() - { - return $this->base_model_uri; - } - - /** - * Required. The public base model URI. - * - * Generated from protobuf field string base_model_uri = 1 [(.google.api.field_behavior) = REQUIRED]; - * @param string $var - * @return $this - */ - public function setBaseModelUri($var) - { - GPBUtil::checkString($var, True); - $this->base_model_uri = $var; - - return $this; - } - -} - diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/GetAnnotationSpecRequest.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/GetAnnotationSpecRequest.php deleted file mode 100644 index 43f3a3d1e4d6..000000000000 --- a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/GetAnnotationSpecRequest.php +++ /dev/null @@ -1,136 +0,0 @@ -google.cloud.aiplatform.v1.GetAnnotationSpecRequest - */ -class GetAnnotationSpecRequest extends \Google\Protobuf\Internal\Message -{ - /** - * Required. The name of the AnnotationSpec resource. - * Format: - * `projects/{project}/locations/{location}/datasets/{dataset}/annotationSpecs/{annotation_spec}` - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - */ - protected $name = ''; - /** - * Mask specifying which fields to read. - * - * Generated from protobuf field .google.protobuf.FieldMask read_mask = 2; - */ - protected $read_mask = null; - - /** - * @param string $name Required. The name of the AnnotationSpec resource. - * Format: - * `projects/{project}/locations/{location}/datasets/{dataset}/annotationSpecs/{annotation_spec}` - * Please see {@see DatasetServiceClient::annotationSpecName()} for help formatting this field. - * - * @return \Google\Cloud\AIPlatform\V1\GetAnnotationSpecRequest - * - * @experimental - */ - public static function build(string $name): self - { - return (new self()) - ->setName($name); - } - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $name - * Required. The name of the AnnotationSpec resource. - * Format: - * `projects/{project}/locations/{location}/datasets/{dataset}/annotationSpecs/{annotation_spec}` - * @type \Google\Protobuf\FieldMask $read_mask - * Mask specifying which fields to read. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Cloud\Aiplatform\V1\DatasetService::initOnce(); - parent::__construct($data); - } - - /** - * Required. The name of the AnnotationSpec resource. - * Format: - * `projects/{project}/locations/{location}/datasets/{dataset}/annotationSpecs/{annotation_spec}` - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - * @return string - */ - public function getName() - { - return $this->name; - } - - /** - * Required. The name of the AnnotationSpec resource. - * Format: - * `projects/{project}/locations/{location}/datasets/{dataset}/annotationSpecs/{annotation_spec}` - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setName($var) - { - GPBUtil::checkString($var, True); - $this->name = $var; - - return $this; - } - - /** - * Mask specifying which fields to read. - * - * Generated from protobuf field .google.protobuf.FieldMask read_mask = 2; - * @return \Google\Protobuf\FieldMask|null - */ - public function getReadMask() - { - return $this->read_mask; - } - - public function hasReadMask() - { - return isset($this->read_mask); - } - - public function clearReadMask() - { - unset($this->read_mask); - } - - /** - * Mask specifying which fields to read. - * - * Generated from protobuf field .google.protobuf.FieldMask read_mask = 2; - * @param \Google\Protobuf\FieldMask $var - * @return $this - */ - public function setReadMask($var) - { - GPBUtil::checkMessage($var, \Google\Protobuf\FieldMask::class); - $this->read_mask = $var; - - return $this; - } - -} - diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/GetArtifactRequest.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/GetArtifactRequest.php deleted file mode 100644 index ec1059ebb820..000000000000 --- a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/GetArtifactRequest.php +++ /dev/null @@ -1,92 +0,0 @@ -google.cloud.aiplatform.v1.GetArtifactRequest - */ -class GetArtifactRequest extends \Google\Protobuf\Internal\Message -{ - /** - * Required. The resource name of the Artifact to retrieve. - * Format: - * `projects/{project}/locations/{location}/metadataStores/{metadatastore}/artifacts/{artifact}` - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - */ - protected $name = ''; - - /** - * @param string $name Required. The resource name of the Artifact to retrieve. - * Format: - * `projects/{project}/locations/{location}/metadataStores/{metadatastore}/artifacts/{artifact}` - * Please see {@see MetadataServiceClient::artifactName()} for help formatting this field. - * - * @return \Google\Cloud\AIPlatform\V1\GetArtifactRequest - * - * @experimental - */ - public static function build(string $name): self - { - return (new self()) - ->setName($name); - } - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $name - * Required. The resource name of the Artifact to retrieve. - * Format: - * `projects/{project}/locations/{location}/metadataStores/{metadatastore}/artifacts/{artifact}` - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Cloud\Aiplatform\V1\MetadataService::initOnce(); - parent::__construct($data); - } - - /** - * Required. The resource name of the Artifact to retrieve. - * Format: - * `projects/{project}/locations/{location}/metadataStores/{metadatastore}/artifacts/{artifact}` - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - * @return string - */ - public function getName() - { - return $this->name; - } - - /** - * Required. The resource name of the Artifact to retrieve. - * Format: - * `projects/{project}/locations/{location}/metadataStores/{metadatastore}/artifacts/{artifact}` - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setName($var) - { - GPBUtil::checkString($var, True); - $this->name = $var; - - return $this; - } - -} - diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/GetBatchPredictionJobRequest.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/GetBatchPredictionJobRequest.php deleted file mode 100644 index ee1cd6355e1f..000000000000 --- a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/GetBatchPredictionJobRequest.php +++ /dev/null @@ -1,92 +0,0 @@ -google.cloud.aiplatform.v1.GetBatchPredictionJobRequest - */ -class GetBatchPredictionJobRequest extends \Google\Protobuf\Internal\Message -{ - /** - * Required. The name of the BatchPredictionJob resource. - * Format: - * `projects/{project}/locations/{location}/batchPredictionJobs/{batch_prediction_job}` - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - */ - protected $name = ''; - - /** - * @param string $name Required. The name of the BatchPredictionJob resource. - * Format: - * `projects/{project}/locations/{location}/batchPredictionJobs/{batch_prediction_job}` - * Please see {@see JobServiceClient::batchPredictionJobName()} for help formatting this field. - * - * @return \Google\Cloud\AIPlatform\V1\GetBatchPredictionJobRequest - * - * @experimental - */ - public static function build(string $name): self - { - return (new self()) - ->setName($name); - } - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $name - * Required. The name of the BatchPredictionJob resource. - * Format: - * `projects/{project}/locations/{location}/batchPredictionJobs/{batch_prediction_job}` - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Cloud\Aiplatform\V1\JobService::initOnce(); - parent::__construct($data); - } - - /** - * Required. The name of the BatchPredictionJob resource. - * Format: - * `projects/{project}/locations/{location}/batchPredictionJobs/{batch_prediction_job}` - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - * @return string - */ - public function getName() - { - return $this->name; - } - - /** - * Required. The name of the BatchPredictionJob resource. - * Format: - * `projects/{project}/locations/{location}/batchPredictionJobs/{batch_prediction_job}` - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setName($var) - { - GPBUtil::checkString($var, True); - $this->name = $var; - - return $this; - } - -} - diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/GetContextRequest.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/GetContextRequest.php deleted file mode 100644 index b58000a8325d..000000000000 --- a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/GetContextRequest.php +++ /dev/null @@ -1,92 +0,0 @@ -google.cloud.aiplatform.v1.GetContextRequest - */ -class GetContextRequest extends \Google\Protobuf\Internal\Message -{ - /** - * Required. The resource name of the Context to retrieve. - * Format: - * `projects/{project}/locations/{location}/metadataStores/{metadatastore}/contexts/{context}` - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - */ - protected $name = ''; - - /** - * @param string $name Required. The resource name of the Context to retrieve. - * Format: - * `projects/{project}/locations/{location}/metadataStores/{metadatastore}/contexts/{context}` - * Please see {@see MetadataServiceClient::contextName()} for help formatting this field. - * - * @return \Google\Cloud\AIPlatform\V1\GetContextRequest - * - * @experimental - */ - public static function build(string $name): self - { - return (new self()) - ->setName($name); - } - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $name - * Required. The resource name of the Context to retrieve. - * Format: - * `projects/{project}/locations/{location}/metadataStores/{metadatastore}/contexts/{context}` - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Cloud\Aiplatform\V1\MetadataService::initOnce(); - parent::__construct($data); - } - - /** - * Required. The resource name of the Context to retrieve. - * Format: - * `projects/{project}/locations/{location}/metadataStores/{metadatastore}/contexts/{context}` - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - * @return string - */ - public function getName() - { - return $this->name; - } - - /** - * Required. The resource name of the Context to retrieve. - * Format: - * `projects/{project}/locations/{location}/metadataStores/{metadatastore}/contexts/{context}` - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setName($var) - { - GPBUtil::checkString($var, True); - $this->name = $var; - - return $this; - } - -} - diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/GetCustomJobRequest.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/GetCustomJobRequest.php deleted file mode 100644 index 200ddf55023c..000000000000 --- a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/GetCustomJobRequest.php +++ /dev/null @@ -1,92 +0,0 @@ -google.cloud.aiplatform.v1.GetCustomJobRequest - */ -class GetCustomJobRequest extends \Google\Protobuf\Internal\Message -{ - /** - * Required. The name of the CustomJob resource. - * Format: - * `projects/{project}/locations/{location}/customJobs/{custom_job}` - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - */ - protected $name = ''; - - /** - * @param string $name Required. The name of the CustomJob resource. - * Format: - * `projects/{project}/locations/{location}/customJobs/{custom_job}` - * Please see {@see JobServiceClient::customJobName()} for help formatting this field. - * - * @return \Google\Cloud\AIPlatform\V1\GetCustomJobRequest - * - * @experimental - */ - public static function build(string $name): self - { - return (new self()) - ->setName($name); - } - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $name - * Required. The name of the CustomJob resource. - * Format: - * `projects/{project}/locations/{location}/customJobs/{custom_job}` - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Cloud\Aiplatform\V1\JobService::initOnce(); - parent::__construct($data); - } - - /** - * Required. The name of the CustomJob resource. - * Format: - * `projects/{project}/locations/{location}/customJobs/{custom_job}` - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - * @return string - */ - public function getName() - { - return $this->name; - } - - /** - * Required. The name of the CustomJob resource. - * Format: - * `projects/{project}/locations/{location}/customJobs/{custom_job}` - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setName($var) - { - GPBUtil::checkString($var, True); - $this->name = $var; - - return $this; - } - -} - diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/GetDataLabelingJobRequest.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/GetDataLabelingJobRequest.php deleted file mode 100644 index b6c5203977a1..000000000000 --- a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/GetDataLabelingJobRequest.php +++ /dev/null @@ -1,92 +0,0 @@ -google.cloud.aiplatform.v1.GetDataLabelingJobRequest - */ -class GetDataLabelingJobRequest extends \Google\Protobuf\Internal\Message -{ - /** - * Required. The name of the DataLabelingJob. - * Format: - * `projects/{project}/locations/{location}/dataLabelingJobs/{data_labeling_job}` - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - */ - protected $name = ''; - - /** - * @param string $name Required. The name of the DataLabelingJob. - * Format: - * `projects/{project}/locations/{location}/dataLabelingJobs/{data_labeling_job}` - * Please see {@see JobServiceClient::dataLabelingJobName()} for help formatting this field. - * - * @return \Google\Cloud\AIPlatform\V1\GetDataLabelingJobRequest - * - * @experimental - */ - public static function build(string $name): self - { - return (new self()) - ->setName($name); - } - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $name - * Required. The name of the DataLabelingJob. - * Format: - * `projects/{project}/locations/{location}/dataLabelingJobs/{data_labeling_job}` - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Cloud\Aiplatform\V1\JobService::initOnce(); - parent::__construct($data); - } - - /** - * Required. The name of the DataLabelingJob. - * Format: - * `projects/{project}/locations/{location}/dataLabelingJobs/{data_labeling_job}` - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - * @return string - */ - public function getName() - { - return $this->name; - } - - /** - * Required. The name of the DataLabelingJob. - * Format: - * `projects/{project}/locations/{location}/dataLabelingJobs/{data_labeling_job}` - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setName($var) - { - GPBUtil::checkString($var, True); - $this->name = $var; - - return $this; - } - -} - diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/GetDatasetRequest.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/GetDatasetRequest.php deleted file mode 100644 index c566c1947c2d..000000000000 --- a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/GetDatasetRequest.php +++ /dev/null @@ -1,126 +0,0 @@ -google.cloud.aiplatform.v1.GetDatasetRequest - */ -class GetDatasetRequest extends \Google\Protobuf\Internal\Message -{ - /** - * Required. The name of the Dataset resource. - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - */ - protected $name = ''; - /** - * Mask specifying which fields to read. - * - * Generated from protobuf field .google.protobuf.FieldMask read_mask = 2; - */ - protected $read_mask = null; - - /** - * @param string $name Required. The name of the Dataset resource. Please see - * {@see DatasetServiceClient::datasetName()} for help formatting this field. - * - * @return \Google\Cloud\AIPlatform\V1\GetDatasetRequest - * - * @experimental - */ - public static function build(string $name): self - { - return (new self()) - ->setName($name); - } - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $name - * Required. The name of the Dataset resource. - * @type \Google\Protobuf\FieldMask $read_mask - * Mask specifying which fields to read. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Cloud\Aiplatform\V1\DatasetService::initOnce(); - parent::__construct($data); - } - - /** - * Required. The name of the Dataset resource. - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - * @return string - */ - public function getName() - { - return $this->name; - } - - /** - * Required. The name of the Dataset resource. - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setName($var) - { - GPBUtil::checkString($var, True); - $this->name = $var; - - return $this; - } - - /** - * Mask specifying which fields to read. - * - * Generated from protobuf field .google.protobuf.FieldMask read_mask = 2; - * @return \Google\Protobuf\FieldMask|null - */ - public function getReadMask() - { - return $this->read_mask; - } - - public function hasReadMask() - { - return isset($this->read_mask); - } - - public function clearReadMask() - { - unset($this->read_mask); - } - - /** - * Mask specifying which fields to read. - * - * Generated from protobuf field .google.protobuf.FieldMask read_mask = 2; - * @param \Google\Protobuf\FieldMask $var - * @return $this - */ - public function setReadMask($var) - { - GPBUtil::checkMessage($var, \Google\Protobuf\FieldMask::class); - $this->read_mask = $var; - - return $this; - } - -} - diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/GetDatasetVersionRequest.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/GetDatasetVersionRequest.php deleted file mode 100644 index 98c340f55dc6..000000000000 --- a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/GetDatasetVersionRequest.php +++ /dev/null @@ -1,136 +0,0 @@ -google.cloud.aiplatform.v1.GetDatasetVersionRequest - */ -class GetDatasetVersionRequest extends \Google\Protobuf\Internal\Message -{ - /** - * Required. The resource name of the Dataset version to delete. - * Format: - * `projects/{project}/locations/{location}/datasets/{dataset}/datasetVersions/{dataset_version}` - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - */ - protected $name = ''; - /** - * Mask specifying which fields to read. - * - * Generated from protobuf field .google.protobuf.FieldMask read_mask = 2; - */ - protected $read_mask = null; - - /** - * @param string $name Required. The resource name of the Dataset version to delete. - * Format: - * `projects/{project}/locations/{location}/datasets/{dataset}/datasetVersions/{dataset_version}` - * Please see {@see DatasetServiceClient::datasetVersionName()} for help formatting this field. - * - * @return \Google\Cloud\AIPlatform\V1\GetDatasetVersionRequest - * - * @experimental - */ - public static function build(string $name): self - { - return (new self()) - ->setName($name); - } - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $name - * Required. The resource name of the Dataset version to delete. - * Format: - * `projects/{project}/locations/{location}/datasets/{dataset}/datasetVersions/{dataset_version}` - * @type \Google\Protobuf\FieldMask $read_mask - * Mask specifying which fields to read. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Cloud\Aiplatform\V1\DatasetService::initOnce(); - parent::__construct($data); - } - - /** - * Required. The resource name of the Dataset version to delete. - * Format: - * `projects/{project}/locations/{location}/datasets/{dataset}/datasetVersions/{dataset_version}` - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - * @return string - */ - public function getName() - { - return $this->name; - } - - /** - * Required. The resource name of the Dataset version to delete. - * Format: - * `projects/{project}/locations/{location}/datasets/{dataset}/datasetVersions/{dataset_version}` - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setName($var) - { - GPBUtil::checkString($var, True); - $this->name = $var; - - return $this; - } - - /** - * Mask specifying which fields to read. - * - * Generated from protobuf field .google.protobuf.FieldMask read_mask = 2; - * @return \Google\Protobuf\FieldMask|null - */ - public function getReadMask() - { - return $this->read_mask; - } - - public function hasReadMask() - { - return isset($this->read_mask); - } - - public function clearReadMask() - { - unset($this->read_mask); - } - - /** - * Mask specifying which fields to read. - * - * Generated from protobuf field .google.protobuf.FieldMask read_mask = 2; - * @param \Google\Protobuf\FieldMask $var - * @return $this - */ - public function setReadMask($var) - { - GPBUtil::checkMessage($var, \Google\Protobuf\FieldMask::class); - $this->read_mask = $var; - - return $this; - } - -} - diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/GetDeploymentResourcePoolRequest.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/GetDeploymentResourcePoolRequest.php deleted file mode 100644 index e4f7285ca00b..000000000000 --- a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/GetDeploymentResourcePoolRequest.php +++ /dev/null @@ -1,91 +0,0 @@ -google.cloud.aiplatform.v1.GetDeploymentResourcePoolRequest - */ -class GetDeploymentResourcePoolRequest extends \Google\Protobuf\Internal\Message -{ - /** - * Required. The name of the DeploymentResourcePool to retrieve. - * Format: - * `projects/{project}/locations/{location}/deploymentResourcePools/{deployment_resource_pool}` - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - */ - protected $name = ''; - - /** - * @param string $name Required. The name of the DeploymentResourcePool to retrieve. - * Format: - * `projects/{project}/locations/{location}/deploymentResourcePools/{deployment_resource_pool}` - * Please see {@see DeploymentResourcePoolServiceClient::deploymentResourcePoolName()} for help formatting this field. - * - * @return \Google\Cloud\AIPlatform\V1\GetDeploymentResourcePoolRequest - * - * @experimental - */ - public static function build(string $name): self - { - return (new self()) - ->setName($name); - } - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $name - * Required. The name of the DeploymentResourcePool to retrieve. - * Format: - * `projects/{project}/locations/{location}/deploymentResourcePools/{deployment_resource_pool}` - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Cloud\Aiplatform\V1\DeploymentResourcePoolService::initOnce(); - parent::__construct($data); - } - - /** - * Required. The name of the DeploymentResourcePool to retrieve. - * Format: - * `projects/{project}/locations/{location}/deploymentResourcePools/{deployment_resource_pool}` - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - * @return string - */ - public function getName() - { - return $this->name; - } - - /** - * Required. The name of the DeploymentResourcePool to retrieve. - * Format: - * `projects/{project}/locations/{location}/deploymentResourcePools/{deployment_resource_pool}` - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setName($var) - { - GPBUtil::checkString($var, True); - $this->name = $var; - - return $this; - } - -} - diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/GetEndpointRequest.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/GetEndpointRequest.php deleted file mode 100644 index f71b8c0f6c30..000000000000 --- a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/GetEndpointRequest.php +++ /dev/null @@ -1,92 +0,0 @@ -google.cloud.aiplatform.v1.GetEndpointRequest - */ -class GetEndpointRequest extends \Google\Protobuf\Internal\Message -{ - /** - * Required. The name of the Endpoint resource. - * Format: - * `projects/{project}/locations/{location}/endpoints/{endpoint}` - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - */ - protected $name = ''; - - /** - * @param string $name Required. The name of the Endpoint resource. - * Format: - * `projects/{project}/locations/{location}/endpoints/{endpoint}` - * Please see {@see EndpointServiceClient::endpointName()} for help formatting this field. - * - * @return \Google\Cloud\AIPlatform\V1\GetEndpointRequest - * - * @experimental - */ - public static function build(string $name): self - { - return (new self()) - ->setName($name); - } - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $name - * Required. The name of the Endpoint resource. - * Format: - * `projects/{project}/locations/{location}/endpoints/{endpoint}` - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Cloud\Aiplatform\V1\EndpointService::initOnce(); - parent::__construct($data); - } - - /** - * Required. The name of the Endpoint resource. - * Format: - * `projects/{project}/locations/{location}/endpoints/{endpoint}` - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - * @return string - */ - public function getName() - { - return $this->name; - } - - /** - * Required. The name of the Endpoint resource. - * Format: - * `projects/{project}/locations/{location}/endpoints/{endpoint}` - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setName($var) - { - GPBUtil::checkString($var, True); - $this->name = $var; - - return $this; - } - -} - diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/GetEntityTypeRequest.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/GetEntityTypeRequest.php deleted file mode 100644 index d398ddd247d3..000000000000 --- a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/GetEntityTypeRequest.php +++ /dev/null @@ -1,92 +0,0 @@ -google.cloud.aiplatform.v1.GetEntityTypeRequest - */ -class GetEntityTypeRequest extends \Google\Protobuf\Internal\Message -{ - /** - * Required. The name of the EntityType resource. - * Format: - * `projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entity_type}` - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - */ - protected $name = ''; - - /** - * @param string $name Required. The name of the EntityType resource. - * Format: - * `projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entity_type}` - * Please see {@see FeaturestoreServiceClient::entityTypeName()} for help formatting this field. - * - * @return \Google\Cloud\AIPlatform\V1\GetEntityTypeRequest - * - * @experimental - */ - public static function build(string $name): self - { - return (new self()) - ->setName($name); - } - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $name - * Required. The name of the EntityType resource. - * Format: - * `projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entity_type}` - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Cloud\Aiplatform\V1\FeaturestoreService::initOnce(); - parent::__construct($data); - } - - /** - * Required. The name of the EntityType resource. - * Format: - * `projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entity_type}` - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - * @return string - */ - public function getName() - { - return $this->name; - } - - /** - * Required. The name of the EntityType resource. - * Format: - * `projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entity_type}` - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setName($var) - { - GPBUtil::checkString($var, True); - $this->name = $var; - - return $this; - } - -} - diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/GetExecutionRequest.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/GetExecutionRequest.php deleted file mode 100644 index 3dfe973d79f7..000000000000 --- a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/GetExecutionRequest.php +++ /dev/null @@ -1,92 +0,0 @@ -google.cloud.aiplatform.v1.GetExecutionRequest - */ -class GetExecutionRequest extends \Google\Protobuf\Internal\Message -{ - /** - * Required. The resource name of the Execution to retrieve. - * Format: - * `projects/{project}/locations/{location}/metadataStores/{metadatastore}/executions/{execution}` - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - */ - protected $name = ''; - - /** - * @param string $name Required. The resource name of the Execution to retrieve. - * Format: - * `projects/{project}/locations/{location}/metadataStores/{metadatastore}/executions/{execution}` - * Please see {@see MetadataServiceClient::executionName()} for help formatting this field. - * - * @return \Google\Cloud\AIPlatform\V1\GetExecutionRequest - * - * @experimental - */ - public static function build(string $name): self - { - return (new self()) - ->setName($name); - } - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $name - * Required. The resource name of the Execution to retrieve. - * Format: - * `projects/{project}/locations/{location}/metadataStores/{metadatastore}/executions/{execution}` - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Cloud\Aiplatform\V1\MetadataService::initOnce(); - parent::__construct($data); - } - - /** - * Required. The resource name of the Execution to retrieve. - * Format: - * `projects/{project}/locations/{location}/metadataStores/{metadatastore}/executions/{execution}` - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - * @return string - */ - public function getName() - { - return $this->name; - } - - /** - * Required. The resource name of the Execution to retrieve. - * Format: - * `projects/{project}/locations/{location}/metadataStores/{metadatastore}/executions/{execution}` - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setName($var) - { - GPBUtil::checkString($var, True); - $this->name = $var; - - return $this; - } - -} - diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/GetFeatureGroupRequest.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/GetFeatureGroupRequest.php deleted file mode 100644 index 5cb13f154e77..000000000000 --- a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/GetFeatureGroupRequest.php +++ /dev/null @@ -1,82 +0,0 @@ -google.cloud.aiplatform.v1.GetFeatureGroupRequest - */ -class GetFeatureGroupRequest extends \Google\Protobuf\Internal\Message -{ - /** - * Required. The name of the FeatureGroup resource. - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - */ - protected $name = ''; - - /** - * @param string $name Required. The name of the FeatureGroup resource. Please see - * {@see FeatureRegistryServiceClient::featureGroupName()} for help formatting this field. - * - * @return \Google\Cloud\AIPlatform\V1\GetFeatureGroupRequest - * - * @experimental - */ - public static function build(string $name): self - { - return (new self()) - ->setName($name); - } - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $name - * Required. The name of the FeatureGroup resource. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Cloud\Aiplatform\V1\FeatureRegistryService::initOnce(); - parent::__construct($data); - } - - /** - * Required. The name of the FeatureGroup resource. - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - * @return string - */ - public function getName() - { - return $this->name; - } - - /** - * Required. The name of the FeatureGroup resource. - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setName($var) - { - GPBUtil::checkString($var, True); - $this->name = $var; - - return $this; - } - -} - diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/GetFeatureOnlineStoreRequest.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/GetFeatureOnlineStoreRequest.php deleted file mode 100644 index 721787c95c91..000000000000 --- a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/GetFeatureOnlineStoreRequest.php +++ /dev/null @@ -1,82 +0,0 @@ -google.cloud.aiplatform.v1.GetFeatureOnlineStoreRequest - */ -class GetFeatureOnlineStoreRequest extends \Google\Protobuf\Internal\Message -{ - /** - * Required. The name of the FeatureOnlineStore resource. - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - */ - protected $name = ''; - - /** - * @param string $name Required. The name of the FeatureOnlineStore resource. Please see - * {@see FeatureOnlineStoreAdminServiceClient::featureOnlineStoreName()} for help formatting this field. - * - * @return \Google\Cloud\AIPlatform\V1\GetFeatureOnlineStoreRequest - * - * @experimental - */ - public static function build(string $name): self - { - return (new self()) - ->setName($name); - } - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $name - * Required. The name of the FeatureOnlineStore resource. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Cloud\Aiplatform\V1\FeatureOnlineStoreAdminService::initOnce(); - parent::__construct($data); - } - - /** - * Required. The name of the FeatureOnlineStore resource. - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - * @return string - */ - public function getName() - { - return $this->name; - } - - /** - * Required. The name of the FeatureOnlineStore resource. - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setName($var) - { - GPBUtil::checkString($var, True); - $this->name = $var; - - return $this; - } - -} - diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/GetFeatureRequest.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/GetFeatureRequest.php deleted file mode 100644 index 402b8ea33576..000000000000 --- a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/GetFeatureRequest.php +++ /dev/null @@ -1,104 +0,0 @@ -google.cloud.aiplatform.v1.GetFeatureRequest - */ -class GetFeatureRequest extends \Google\Protobuf\Internal\Message -{ - /** - * Required. The name of the Feature resource. - * Format for entity_type as parent: - * `projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entity_type}` - * Format for feature_group as parent: - * `projects/{project}/locations/{location}/featureGroups/{feature_group}` - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - */ - protected $name = ''; - - /** - * @param string $name Required. The name of the Feature resource. - * Format for entity_type as parent: - * `projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entity_type}` - * Format for feature_group as parent: - * `projects/{project}/locations/{location}/featureGroups/{feature_group}` - * Please see {@see FeaturestoreServiceClient::featureName()} for help formatting this field. - * - * @return \Google\Cloud\AIPlatform\V1\GetFeatureRequest - * - * @experimental - */ - public static function build(string $name): self - { - return (new self()) - ->setName($name); - } - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $name - * Required. The name of the Feature resource. - * Format for entity_type as parent: - * `projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entity_type}` - * Format for feature_group as parent: - * `projects/{project}/locations/{location}/featureGroups/{feature_group}` - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Cloud\Aiplatform\V1\FeaturestoreService::initOnce(); - parent::__construct($data); - } - - /** - * Required. The name of the Feature resource. - * Format for entity_type as parent: - * `projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entity_type}` - * Format for feature_group as parent: - * `projects/{project}/locations/{location}/featureGroups/{feature_group}` - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - * @return string - */ - public function getName() - { - return $this->name; - } - - /** - * Required. The name of the Feature resource. - * Format for entity_type as parent: - * `projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entity_type}` - * Format for feature_group as parent: - * `projects/{project}/locations/{location}/featureGroups/{feature_group}` - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setName($var) - { - GPBUtil::checkString($var, True); - $this->name = $var; - - return $this; - } - -} - diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/GetFeatureViewRequest.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/GetFeatureViewRequest.php deleted file mode 100644 index 0c977674e079..000000000000 --- a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/GetFeatureViewRequest.php +++ /dev/null @@ -1,92 +0,0 @@ -google.cloud.aiplatform.v1.GetFeatureViewRequest - */ -class GetFeatureViewRequest extends \Google\Protobuf\Internal\Message -{ - /** - * Required. The name of the FeatureView resource. - * Format: - * `projects/{project}/locations/{location}/featureOnlineStores/{feature_online_store}/featureViews/{feature_view}` - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - */ - protected $name = ''; - - /** - * @param string $name Required. The name of the FeatureView resource. - * Format: - * `projects/{project}/locations/{location}/featureOnlineStores/{feature_online_store}/featureViews/{feature_view}` - * Please see {@see FeatureOnlineStoreAdminServiceClient::featureViewName()} for help formatting this field. - * - * @return \Google\Cloud\AIPlatform\V1\GetFeatureViewRequest - * - * @experimental - */ - public static function build(string $name): self - { - return (new self()) - ->setName($name); - } - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $name - * Required. The name of the FeatureView resource. - * Format: - * `projects/{project}/locations/{location}/featureOnlineStores/{feature_online_store}/featureViews/{feature_view}` - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Cloud\Aiplatform\V1\FeatureOnlineStoreAdminService::initOnce(); - parent::__construct($data); - } - - /** - * Required. The name of the FeatureView resource. - * Format: - * `projects/{project}/locations/{location}/featureOnlineStores/{feature_online_store}/featureViews/{feature_view}` - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - * @return string - */ - public function getName() - { - return $this->name; - } - - /** - * Required. The name of the FeatureView resource. - * Format: - * `projects/{project}/locations/{location}/featureOnlineStores/{feature_online_store}/featureViews/{feature_view}` - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setName($var) - { - GPBUtil::checkString($var, True); - $this->name = $var; - - return $this; - } - -} - diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/GetFeatureViewSyncRequest.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/GetFeatureViewSyncRequest.php deleted file mode 100644 index 57cea7ce033c..000000000000 --- a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/GetFeatureViewSyncRequest.php +++ /dev/null @@ -1,92 +0,0 @@ -google.cloud.aiplatform.v1.GetFeatureViewSyncRequest - */ -class GetFeatureViewSyncRequest extends \Google\Protobuf\Internal\Message -{ - /** - * Required. The name of the FeatureViewSync resource. - * Format: - * `projects/{project}/locations/{location}/featureOnlineStores/{feature_online_store}/featureViews/{feature_view}/featureViewSyncs/{feature_view_sync}` - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - */ - protected $name = ''; - - /** - * @param string $name Required. The name of the FeatureViewSync resource. - * Format: - * `projects/{project}/locations/{location}/featureOnlineStores/{feature_online_store}/featureViews/{feature_view}/featureViewSyncs/{feature_view_sync}` - * Please see {@see FeatureOnlineStoreAdminServiceClient::featureViewSyncName()} for help formatting this field. - * - * @return \Google\Cloud\AIPlatform\V1\GetFeatureViewSyncRequest - * - * @experimental - */ - public static function build(string $name): self - { - return (new self()) - ->setName($name); - } - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $name - * Required. The name of the FeatureViewSync resource. - * Format: - * `projects/{project}/locations/{location}/featureOnlineStores/{feature_online_store}/featureViews/{feature_view}/featureViewSyncs/{feature_view_sync}` - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Cloud\Aiplatform\V1\FeatureOnlineStoreAdminService::initOnce(); - parent::__construct($data); - } - - /** - * Required. The name of the FeatureViewSync resource. - * Format: - * `projects/{project}/locations/{location}/featureOnlineStores/{feature_online_store}/featureViews/{feature_view}/featureViewSyncs/{feature_view_sync}` - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - * @return string - */ - public function getName() - { - return $this->name; - } - - /** - * Required. The name of the FeatureViewSync resource. - * Format: - * `projects/{project}/locations/{location}/featureOnlineStores/{feature_online_store}/featureViews/{feature_view}/featureViewSyncs/{feature_view_sync}` - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setName($var) - { - GPBUtil::checkString($var, True); - $this->name = $var; - - return $this; - } - -} - diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/GetFeaturestoreRequest.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/GetFeaturestoreRequest.php deleted file mode 100644 index 7e170fba6f55..000000000000 --- a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/GetFeaturestoreRequest.php +++ /dev/null @@ -1,82 +0,0 @@ -google.cloud.aiplatform.v1.GetFeaturestoreRequest - */ -class GetFeaturestoreRequest extends \Google\Protobuf\Internal\Message -{ - /** - * Required. The name of the Featurestore resource. - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - */ - protected $name = ''; - - /** - * @param string $name Required. The name of the Featurestore resource. Please see - * {@see FeaturestoreServiceClient::featurestoreName()} for help formatting this field. - * - * @return \Google\Cloud\AIPlatform\V1\GetFeaturestoreRequest - * - * @experimental - */ - public static function build(string $name): self - { - return (new self()) - ->setName($name); - } - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $name - * Required. The name of the Featurestore resource. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Cloud\Aiplatform\V1\FeaturestoreService::initOnce(); - parent::__construct($data); - } - - /** - * Required. The name of the Featurestore resource. - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - * @return string - */ - public function getName() - { - return $this->name; - } - - /** - * Required. The name of the Featurestore resource. - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setName($var) - { - GPBUtil::checkString($var, True); - $this->name = $var; - - return $this; - } - -} - diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/GetHyperparameterTuningJobRequest.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/GetHyperparameterTuningJobRequest.php deleted file mode 100644 index 1628b8cd9fa0..000000000000 --- a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/GetHyperparameterTuningJobRequest.php +++ /dev/null @@ -1,92 +0,0 @@ -google.cloud.aiplatform.v1.GetHyperparameterTuningJobRequest - */ -class GetHyperparameterTuningJobRequest extends \Google\Protobuf\Internal\Message -{ - /** - * Required. The name of the HyperparameterTuningJob resource. - * Format: - * `projects/{project}/locations/{location}/hyperparameterTuningJobs/{hyperparameter_tuning_job}` - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - */ - protected $name = ''; - - /** - * @param string $name Required. The name of the HyperparameterTuningJob resource. - * Format: - * `projects/{project}/locations/{location}/hyperparameterTuningJobs/{hyperparameter_tuning_job}` - * Please see {@see JobServiceClient::hyperparameterTuningJobName()} for help formatting this field. - * - * @return \Google\Cloud\AIPlatform\V1\GetHyperparameterTuningJobRequest - * - * @experimental - */ - public static function build(string $name): self - { - return (new self()) - ->setName($name); - } - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $name - * Required. The name of the HyperparameterTuningJob resource. - * Format: - * `projects/{project}/locations/{location}/hyperparameterTuningJobs/{hyperparameter_tuning_job}` - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Cloud\Aiplatform\V1\JobService::initOnce(); - parent::__construct($data); - } - - /** - * Required. The name of the HyperparameterTuningJob resource. - * Format: - * `projects/{project}/locations/{location}/hyperparameterTuningJobs/{hyperparameter_tuning_job}` - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - * @return string - */ - public function getName() - { - return $this->name; - } - - /** - * Required. The name of the HyperparameterTuningJob resource. - * Format: - * `projects/{project}/locations/{location}/hyperparameterTuningJobs/{hyperparameter_tuning_job}` - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setName($var) - { - GPBUtil::checkString($var, True); - $this->name = $var; - - return $this; - } - -} - diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/GetIndexEndpointRequest.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/GetIndexEndpointRequest.php deleted file mode 100644 index 75de3b6fa86a..000000000000 --- a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/GetIndexEndpointRequest.php +++ /dev/null @@ -1,92 +0,0 @@ -google.cloud.aiplatform.v1.GetIndexEndpointRequest - */ -class GetIndexEndpointRequest extends \Google\Protobuf\Internal\Message -{ - /** - * Required. The name of the IndexEndpoint resource. - * Format: - * `projects/{project}/locations/{location}/indexEndpoints/{index_endpoint}` - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - */ - protected $name = ''; - - /** - * @param string $name Required. The name of the IndexEndpoint resource. - * Format: - * `projects/{project}/locations/{location}/indexEndpoints/{index_endpoint}` - * Please see {@see IndexEndpointServiceClient::indexEndpointName()} for help formatting this field. - * - * @return \Google\Cloud\AIPlatform\V1\GetIndexEndpointRequest - * - * @experimental - */ - public static function build(string $name): self - { - return (new self()) - ->setName($name); - } - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $name - * Required. The name of the IndexEndpoint resource. - * Format: - * `projects/{project}/locations/{location}/indexEndpoints/{index_endpoint}` - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Cloud\Aiplatform\V1\IndexEndpointService::initOnce(); - parent::__construct($data); - } - - /** - * Required. The name of the IndexEndpoint resource. - * Format: - * `projects/{project}/locations/{location}/indexEndpoints/{index_endpoint}` - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - * @return string - */ - public function getName() - { - return $this->name; - } - - /** - * Required. The name of the IndexEndpoint resource. - * Format: - * `projects/{project}/locations/{location}/indexEndpoints/{index_endpoint}` - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setName($var) - { - GPBUtil::checkString($var, True); - $this->name = $var; - - return $this; - } - -} - diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/GetIndexRequest.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/GetIndexRequest.php deleted file mode 100644 index d5907d58b5a6..000000000000 --- a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/GetIndexRequest.php +++ /dev/null @@ -1,92 +0,0 @@ -google.cloud.aiplatform.v1.GetIndexRequest - */ -class GetIndexRequest extends \Google\Protobuf\Internal\Message -{ - /** - * Required. The name of the Index resource. - * Format: - * `projects/{project}/locations/{location}/indexes/{index}` - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - */ - protected $name = ''; - - /** - * @param string $name Required. The name of the Index resource. - * Format: - * `projects/{project}/locations/{location}/indexes/{index}` - * Please see {@see IndexServiceClient::indexName()} for help formatting this field. - * - * @return \Google\Cloud\AIPlatform\V1\GetIndexRequest - * - * @experimental - */ - public static function build(string $name): self - { - return (new self()) - ->setName($name); - } - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $name - * Required. The name of the Index resource. - * Format: - * `projects/{project}/locations/{location}/indexes/{index}` - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Cloud\Aiplatform\V1\IndexService::initOnce(); - parent::__construct($data); - } - - /** - * Required. The name of the Index resource. - * Format: - * `projects/{project}/locations/{location}/indexes/{index}` - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - * @return string - */ - public function getName() - { - return $this->name; - } - - /** - * Required. The name of the Index resource. - * Format: - * `projects/{project}/locations/{location}/indexes/{index}` - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setName($var) - { - GPBUtil::checkString($var, True); - $this->name = $var; - - return $this; - } - -} - diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/GetMetadataSchemaRequest.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/GetMetadataSchemaRequest.php deleted file mode 100644 index 1a0bb95c0b44..000000000000 --- a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/GetMetadataSchemaRequest.php +++ /dev/null @@ -1,92 +0,0 @@ -google.cloud.aiplatform.v1.GetMetadataSchemaRequest - */ -class GetMetadataSchemaRequest extends \Google\Protobuf\Internal\Message -{ - /** - * Required. The resource name of the MetadataSchema to retrieve. - * Format: - * `projects/{project}/locations/{location}/metadataStores/{metadatastore}/metadataSchemas/{metadataschema}` - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - */ - protected $name = ''; - - /** - * @param string $name Required. The resource name of the MetadataSchema to retrieve. - * Format: - * `projects/{project}/locations/{location}/metadataStores/{metadatastore}/metadataSchemas/{metadataschema}` - * Please see {@see MetadataServiceClient::metadataSchemaName()} for help formatting this field. - * - * @return \Google\Cloud\AIPlatform\V1\GetMetadataSchemaRequest - * - * @experimental - */ - public static function build(string $name): self - { - return (new self()) - ->setName($name); - } - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $name - * Required. The resource name of the MetadataSchema to retrieve. - * Format: - * `projects/{project}/locations/{location}/metadataStores/{metadatastore}/metadataSchemas/{metadataschema}` - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Cloud\Aiplatform\V1\MetadataService::initOnce(); - parent::__construct($data); - } - - /** - * Required. The resource name of the MetadataSchema to retrieve. - * Format: - * `projects/{project}/locations/{location}/metadataStores/{metadatastore}/metadataSchemas/{metadataschema}` - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - * @return string - */ - public function getName() - { - return $this->name; - } - - /** - * Required. The resource name of the MetadataSchema to retrieve. - * Format: - * `projects/{project}/locations/{location}/metadataStores/{metadatastore}/metadataSchemas/{metadataschema}` - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setName($var) - { - GPBUtil::checkString($var, True); - $this->name = $var; - - return $this; - } - -} - diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/GetMetadataStoreRequest.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/GetMetadataStoreRequest.php deleted file mode 100644 index 5e671ba44f5a..000000000000 --- a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/GetMetadataStoreRequest.php +++ /dev/null @@ -1,92 +0,0 @@ -google.cloud.aiplatform.v1.GetMetadataStoreRequest - */ -class GetMetadataStoreRequest extends \Google\Protobuf\Internal\Message -{ - /** - * Required. The resource name of the MetadataStore to retrieve. - * Format: - * `projects/{project}/locations/{location}/metadataStores/{metadatastore}` - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - */ - protected $name = ''; - - /** - * @param string $name Required. The resource name of the MetadataStore to retrieve. - * Format: - * `projects/{project}/locations/{location}/metadataStores/{metadatastore}` - * Please see {@see MetadataServiceClient::metadataStoreName()} for help formatting this field. - * - * @return \Google\Cloud\AIPlatform\V1\GetMetadataStoreRequest - * - * @experimental - */ - public static function build(string $name): self - { - return (new self()) - ->setName($name); - } - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $name - * Required. The resource name of the MetadataStore to retrieve. - * Format: - * `projects/{project}/locations/{location}/metadataStores/{metadatastore}` - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Cloud\Aiplatform\V1\MetadataService::initOnce(); - parent::__construct($data); - } - - /** - * Required. The resource name of the MetadataStore to retrieve. - * Format: - * `projects/{project}/locations/{location}/metadataStores/{metadatastore}` - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - * @return string - */ - public function getName() - { - return $this->name; - } - - /** - * Required. The resource name of the MetadataStore to retrieve. - * Format: - * `projects/{project}/locations/{location}/metadataStores/{metadatastore}` - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setName($var) - { - GPBUtil::checkString($var, True); - $this->name = $var; - - return $this; - } - -} - diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/GetModelDeploymentMonitoringJobRequest.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/GetModelDeploymentMonitoringJobRequest.php deleted file mode 100644 index ba7626620ad8..000000000000 --- a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/GetModelDeploymentMonitoringJobRequest.php +++ /dev/null @@ -1,92 +0,0 @@ -google.cloud.aiplatform.v1.GetModelDeploymentMonitoringJobRequest - */ -class GetModelDeploymentMonitoringJobRequest extends \Google\Protobuf\Internal\Message -{ - /** - * Required. The resource name of the ModelDeploymentMonitoringJob. - * Format: - * `projects/{project}/locations/{location}/modelDeploymentMonitoringJobs/{model_deployment_monitoring_job}` - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - */ - protected $name = ''; - - /** - * @param string $name Required. The resource name of the ModelDeploymentMonitoringJob. - * Format: - * `projects/{project}/locations/{location}/modelDeploymentMonitoringJobs/{model_deployment_monitoring_job}` - * Please see {@see JobServiceClient::modelDeploymentMonitoringJobName()} for help formatting this field. - * - * @return \Google\Cloud\AIPlatform\V1\GetModelDeploymentMonitoringJobRequest - * - * @experimental - */ - public static function build(string $name): self - { - return (new self()) - ->setName($name); - } - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $name - * Required. The resource name of the ModelDeploymentMonitoringJob. - * Format: - * `projects/{project}/locations/{location}/modelDeploymentMonitoringJobs/{model_deployment_monitoring_job}` - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Cloud\Aiplatform\V1\JobService::initOnce(); - parent::__construct($data); - } - - /** - * Required. The resource name of the ModelDeploymentMonitoringJob. - * Format: - * `projects/{project}/locations/{location}/modelDeploymentMonitoringJobs/{model_deployment_monitoring_job}` - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - * @return string - */ - public function getName() - { - return $this->name; - } - - /** - * Required. The resource name of the ModelDeploymentMonitoringJob. - * Format: - * `projects/{project}/locations/{location}/modelDeploymentMonitoringJobs/{model_deployment_monitoring_job}` - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setName($var) - { - GPBUtil::checkString($var, True); - $this->name = $var; - - return $this; - } - -} - diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/GetModelEvaluationRequest.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/GetModelEvaluationRequest.php deleted file mode 100644 index 2f965443ec4e..000000000000 --- a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/GetModelEvaluationRequest.php +++ /dev/null @@ -1,92 +0,0 @@ -google.cloud.aiplatform.v1.GetModelEvaluationRequest - */ -class GetModelEvaluationRequest extends \Google\Protobuf\Internal\Message -{ - /** - * Required. The name of the ModelEvaluation resource. - * Format: - * `projects/{project}/locations/{location}/models/{model}/evaluations/{evaluation}` - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - */ - protected $name = ''; - - /** - * @param string $name Required. The name of the ModelEvaluation resource. - * Format: - * `projects/{project}/locations/{location}/models/{model}/evaluations/{evaluation}` - * Please see {@see ModelServiceClient::modelEvaluationName()} for help formatting this field. - * - * @return \Google\Cloud\AIPlatform\V1\GetModelEvaluationRequest - * - * @experimental - */ - public static function build(string $name): self - { - return (new self()) - ->setName($name); - } - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $name - * Required. The name of the ModelEvaluation resource. - * Format: - * `projects/{project}/locations/{location}/models/{model}/evaluations/{evaluation}` - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Cloud\Aiplatform\V1\ModelService::initOnce(); - parent::__construct($data); - } - - /** - * Required. The name of the ModelEvaluation resource. - * Format: - * `projects/{project}/locations/{location}/models/{model}/evaluations/{evaluation}` - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - * @return string - */ - public function getName() - { - return $this->name; - } - - /** - * Required. The name of the ModelEvaluation resource. - * Format: - * `projects/{project}/locations/{location}/models/{model}/evaluations/{evaluation}` - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setName($var) - { - GPBUtil::checkString($var, True); - $this->name = $var; - - return $this; - } - -} - diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/GetModelEvaluationSliceRequest.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/GetModelEvaluationSliceRequest.php deleted file mode 100644 index d18eb9dbd8fc..000000000000 --- a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/GetModelEvaluationSliceRequest.php +++ /dev/null @@ -1,92 +0,0 @@ -google.cloud.aiplatform.v1.GetModelEvaluationSliceRequest - */ -class GetModelEvaluationSliceRequest extends \Google\Protobuf\Internal\Message -{ - /** - * Required. The name of the ModelEvaluationSlice resource. - * Format: - * `projects/{project}/locations/{location}/models/{model}/evaluations/{evaluation}/slices/{slice}` - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - */ - protected $name = ''; - - /** - * @param string $name Required. The name of the ModelEvaluationSlice resource. - * Format: - * `projects/{project}/locations/{location}/models/{model}/evaluations/{evaluation}/slices/{slice}` - * Please see {@see ModelServiceClient::modelEvaluationSliceName()} for help formatting this field. - * - * @return \Google\Cloud\AIPlatform\V1\GetModelEvaluationSliceRequest - * - * @experimental - */ - public static function build(string $name): self - { - return (new self()) - ->setName($name); - } - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $name - * Required. The name of the ModelEvaluationSlice resource. - * Format: - * `projects/{project}/locations/{location}/models/{model}/evaluations/{evaluation}/slices/{slice}` - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Cloud\Aiplatform\V1\ModelService::initOnce(); - parent::__construct($data); - } - - /** - * Required. The name of the ModelEvaluationSlice resource. - * Format: - * `projects/{project}/locations/{location}/models/{model}/evaluations/{evaluation}/slices/{slice}` - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - * @return string - */ - public function getName() - { - return $this->name; - } - - /** - * Required. The name of the ModelEvaluationSlice resource. - * Format: - * `projects/{project}/locations/{location}/models/{model}/evaluations/{evaluation}/slices/{slice}` - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setName($var) - { - GPBUtil::checkString($var, True); - $this->name = $var; - - return $this; - } - -} - diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/GetModelRequest.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/GetModelRequest.php deleted file mode 100644 index c5e1e32b8c6b..000000000000 --- a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/GetModelRequest.php +++ /dev/null @@ -1,133 +0,0 @@ -google.cloud.aiplatform.v1.GetModelRequest - */ -class GetModelRequest extends \Google\Protobuf\Internal\Message -{ - /** - * Required. The name of the Model resource. - * Format: `projects/{project}/locations/{location}/models/{model}` - * In order to retrieve a specific version of the model, also provide - * the version ID or version alias. - * Example: `projects/{project}/locations/{location}/models/{model}@2` - * or - * `projects/{project}/locations/{location}/models/{model}@golden` - * If no version ID or alias is specified, the "default" version will be - * returned. The "default" version alias is created for the first version of - * the model, and can be moved to other versions later on. There will be - * exactly one default version. - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - */ - protected $name = ''; - - /** - * @param string $name Required. The name of the Model resource. - * Format: `projects/{project}/locations/{location}/models/{model}` - * - * In order to retrieve a specific version of the model, also provide - * the version ID or version alias. - * Example: `projects/{project}/locations/{location}/models/{model}@2` - * or - * `projects/{project}/locations/{location}/models/{model}@golden` - * If no version ID or alias is specified, the "default" version will be - * returned. The "default" version alias is created for the first version of - * the model, and can be moved to other versions later on. There will be - * exactly one default version. Please see - * {@see ModelServiceClient::modelName()} for help formatting this field. - * - * @return \Google\Cloud\AIPlatform\V1\GetModelRequest - * - * @experimental - */ - public static function build(string $name): self - { - return (new self()) - ->setName($name); - } - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $name - * Required. The name of the Model resource. - * Format: `projects/{project}/locations/{location}/models/{model}` - * In order to retrieve a specific version of the model, also provide - * the version ID or version alias. - * Example: `projects/{project}/locations/{location}/models/{model}@2` - * or - * `projects/{project}/locations/{location}/models/{model}@golden` - * If no version ID or alias is specified, the "default" version will be - * returned. The "default" version alias is created for the first version of - * the model, and can be moved to other versions later on. There will be - * exactly one default version. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Cloud\Aiplatform\V1\ModelService::initOnce(); - parent::__construct($data); - } - - /** - * Required. The name of the Model resource. - * Format: `projects/{project}/locations/{location}/models/{model}` - * In order to retrieve a specific version of the model, also provide - * the version ID or version alias. - * Example: `projects/{project}/locations/{location}/models/{model}@2` - * or - * `projects/{project}/locations/{location}/models/{model}@golden` - * If no version ID or alias is specified, the "default" version will be - * returned. The "default" version alias is created for the first version of - * the model, and can be moved to other versions later on. There will be - * exactly one default version. - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - * @return string - */ - public function getName() - { - return $this->name; - } - - /** - * Required. The name of the Model resource. - * Format: `projects/{project}/locations/{location}/models/{model}` - * In order to retrieve a specific version of the model, also provide - * the version ID or version alias. - * Example: `projects/{project}/locations/{location}/models/{model}@2` - * or - * `projects/{project}/locations/{location}/models/{model}@golden` - * If no version ID or alias is specified, the "default" version will be - * returned. The "default" version alias is created for the first version of - * the model, and can be moved to other versions later on. There will be - * exactly one default version. - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setName($var) - { - GPBUtil::checkString($var, True); - $this->name = $var; - - return $this; - } - -} - diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/GetNasJobRequest.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/GetNasJobRequest.php deleted file mode 100644 index 9d1d2e617620..000000000000 --- a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/GetNasJobRequest.php +++ /dev/null @@ -1,92 +0,0 @@ -google.cloud.aiplatform.v1.GetNasJobRequest - */ -class GetNasJobRequest extends \Google\Protobuf\Internal\Message -{ - /** - * Required. The name of the NasJob resource. - * Format: - * `projects/{project}/locations/{location}/nasJobs/{nas_job}` - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - */ - protected $name = ''; - - /** - * @param string $name Required. The name of the NasJob resource. - * Format: - * `projects/{project}/locations/{location}/nasJobs/{nas_job}` - * Please see {@see JobServiceClient::nasJobName()} for help formatting this field. - * - * @return \Google\Cloud\AIPlatform\V1\GetNasJobRequest - * - * @experimental - */ - public static function build(string $name): self - { - return (new self()) - ->setName($name); - } - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $name - * Required. The name of the NasJob resource. - * Format: - * `projects/{project}/locations/{location}/nasJobs/{nas_job}` - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Cloud\Aiplatform\V1\JobService::initOnce(); - parent::__construct($data); - } - - /** - * Required. The name of the NasJob resource. - * Format: - * `projects/{project}/locations/{location}/nasJobs/{nas_job}` - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - * @return string - */ - public function getName() - { - return $this->name; - } - - /** - * Required. The name of the NasJob resource. - * Format: - * `projects/{project}/locations/{location}/nasJobs/{nas_job}` - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setName($var) - { - GPBUtil::checkString($var, True); - $this->name = $var; - - return $this; - } - -} - diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/GetNasTrialDetailRequest.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/GetNasTrialDetailRequest.php deleted file mode 100644 index 773a9f4aac1c..000000000000 --- a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/GetNasTrialDetailRequest.php +++ /dev/null @@ -1,92 +0,0 @@ -google.cloud.aiplatform.v1.GetNasTrialDetailRequest - */ -class GetNasTrialDetailRequest extends \Google\Protobuf\Internal\Message -{ - /** - * Required. The name of the NasTrialDetail resource. - * Format: - * `projects/{project}/locations/{location}/nasJobs/{nas_job}/nasTrialDetails/{nas_trial_detail}` - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - */ - protected $name = ''; - - /** - * @param string $name Required. The name of the NasTrialDetail resource. - * Format: - * `projects/{project}/locations/{location}/nasJobs/{nas_job}/nasTrialDetails/{nas_trial_detail}` - * Please see {@see JobServiceClient::nasTrialDetailName()} for help formatting this field. - * - * @return \Google\Cloud\AIPlatform\V1\GetNasTrialDetailRequest - * - * @experimental - */ - public static function build(string $name): self - { - return (new self()) - ->setName($name); - } - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $name - * Required. The name of the NasTrialDetail resource. - * Format: - * `projects/{project}/locations/{location}/nasJobs/{nas_job}/nasTrialDetails/{nas_trial_detail}` - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Cloud\Aiplatform\V1\JobService::initOnce(); - parent::__construct($data); - } - - /** - * Required. The name of the NasTrialDetail resource. - * Format: - * `projects/{project}/locations/{location}/nasJobs/{nas_job}/nasTrialDetails/{nas_trial_detail}` - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - * @return string - */ - public function getName() - { - return $this->name; - } - - /** - * Required. The name of the NasTrialDetail resource. - * Format: - * `projects/{project}/locations/{location}/nasJobs/{nas_job}/nasTrialDetails/{nas_trial_detail}` - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setName($var) - { - GPBUtil::checkString($var, True); - $this->name = $var; - - return $this; - } - -} - diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/GetNotebookRuntimeRequest.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/GetNotebookRuntimeRequest.php deleted file mode 100644 index 7325674a1053..000000000000 --- a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/GetNotebookRuntimeRequest.php +++ /dev/null @@ -1,97 +0,0 @@ -google.cloud.aiplatform.v1.GetNotebookRuntimeRequest - */ -class GetNotebookRuntimeRequest extends \Google\Protobuf\Internal\Message -{ - /** - * Required. The name of the NotebookRuntime resource. - * Instead of checking whether the name is in valid NotebookRuntime resource - * name format, directly throw NotFound exception if there is no such - * NotebookRuntime in spanner. - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - */ - protected $name = ''; - - /** - * @param string $name Required. The name of the NotebookRuntime resource. - * Instead of checking whether the name is in valid NotebookRuntime resource - * name format, directly throw NotFound exception if there is no such - * NotebookRuntime in spanner. Please see - * {@see NotebookServiceClient::notebookRuntimeName()} for help formatting this field. - * - * @return \Google\Cloud\AIPlatform\V1\GetNotebookRuntimeRequest - * - * @experimental - */ - public static function build(string $name): self - { - return (new self()) - ->setName($name); - } - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $name - * Required. The name of the NotebookRuntime resource. - * Instead of checking whether the name is in valid NotebookRuntime resource - * name format, directly throw NotFound exception if there is no such - * NotebookRuntime in spanner. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Cloud\Aiplatform\V1\NotebookService::initOnce(); - parent::__construct($data); - } - - /** - * Required. The name of the NotebookRuntime resource. - * Instead of checking whether the name is in valid NotebookRuntime resource - * name format, directly throw NotFound exception if there is no such - * NotebookRuntime in spanner. - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - * @return string - */ - public function getName() - { - return $this->name; - } - - /** - * Required. The name of the NotebookRuntime resource. - * Instead of checking whether the name is in valid NotebookRuntime resource - * name format, directly throw NotFound exception if there is no such - * NotebookRuntime in spanner. - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setName($var) - { - GPBUtil::checkString($var, True); - $this->name = $var; - - return $this; - } - -} - diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/GetNotebookRuntimeTemplateRequest.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/GetNotebookRuntimeTemplateRequest.php deleted file mode 100644 index bfa39aba7da9..000000000000 --- a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/GetNotebookRuntimeTemplateRequest.php +++ /dev/null @@ -1,92 +0,0 @@ -google.cloud.aiplatform.v1.GetNotebookRuntimeTemplateRequest - */ -class GetNotebookRuntimeTemplateRequest extends \Google\Protobuf\Internal\Message -{ - /** - * Required. The name of the NotebookRuntimeTemplate resource. - * Format: - * `projects/{project}/locations/{location}/notebookRuntimeTemplates/{notebook_runtime_template}` - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - */ - protected $name = ''; - - /** - * @param string $name Required. The name of the NotebookRuntimeTemplate resource. - * Format: - * `projects/{project}/locations/{location}/notebookRuntimeTemplates/{notebook_runtime_template}` - * Please see {@see NotebookServiceClient::notebookRuntimeTemplateName()} for help formatting this field. - * - * @return \Google\Cloud\AIPlatform\V1\GetNotebookRuntimeTemplateRequest - * - * @experimental - */ - public static function build(string $name): self - { - return (new self()) - ->setName($name); - } - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $name - * Required. The name of the NotebookRuntimeTemplate resource. - * Format: - * `projects/{project}/locations/{location}/notebookRuntimeTemplates/{notebook_runtime_template}` - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Cloud\Aiplatform\V1\NotebookService::initOnce(); - parent::__construct($data); - } - - /** - * Required. The name of the NotebookRuntimeTemplate resource. - * Format: - * `projects/{project}/locations/{location}/notebookRuntimeTemplates/{notebook_runtime_template}` - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - * @return string - */ - public function getName() - { - return $this->name; - } - - /** - * Required. The name of the NotebookRuntimeTemplate resource. - * Format: - * `projects/{project}/locations/{location}/notebookRuntimeTemplates/{notebook_runtime_template}` - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setName($var) - { - GPBUtil::checkString($var, True); - $this->name = $var; - - return $this; - } - -} - diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/GetPersistentResourceRequest.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/GetPersistentResourceRequest.php deleted file mode 100644 index d9d335443ff4..000000000000 --- a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/GetPersistentResourceRequest.php +++ /dev/null @@ -1,92 +0,0 @@ -google.cloud.aiplatform.v1.GetPersistentResourceRequest - */ -class GetPersistentResourceRequest extends \Google\Protobuf\Internal\Message -{ - /** - * Required. The name of the PersistentResource resource. - * Format: - * `projects/{project_id_or_number}/locations/{location_id}/persistentResources/{persistent_resource_id}` - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - */ - protected $name = ''; - - /** - * @param string $name Required. The name of the PersistentResource resource. - * Format: - * `projects/{project_id_or_number}/locations/{location_id}/persistentResources/{persistent_resource_id}` - * Please see {@see PersistentResourceServiceClient::persistentResourceName()} for help formatting this field. - * - * @return \Google\Cloud\AIPlatform\V1\GetPersistentResourceRequest - * - * @experimental - */ - public static function build(string $name): self - { - return (new self()) - ->setName($name); - } - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $name - * Required. The name of the PersistentResource resource. - * Format: - * `projects/{project_id_or_number}/locations/{location_id}/persistentResources/{persistent_resource_id}` - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Cloud\Aiplatform\V1\PersistentResourceService::initOnce(); - parent::__construct($data); - } - - /** - * Required. The name of the PersistentResource resource. - * Format: - * `projects/{project_id_or_number}/locations/{location_id}/persistentResources/{persistent_resource_id}` - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - * @return string - */ - public function getName() - { - return $this->name; - } - - /** - * Required. The name of the PersistentResource resource. - * Format: - * `projects/{project_id_or_number}/locations/{location_id}/persistentResources/{persistent_resource_id}` - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setName($var) - { - GPBUtil::checkString($var, True); - $this->name = $var; - - return $this; - } - -} - diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/GetPipelineJobRequest.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/GetPipelineJobRequest.php deleted file mode 100644 index 7c328bd57067..000000000000 --- a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/GetPipelineJobRequest.php +++ /dev/null @@ -1,92 +0,0 @@ -google.cloud.aiplatform.v1.GetPipelineJobRequest - */ -class GetPipelineJobRequest extends \Google\Protobuf\Internal\Message -{ - /** - * Required. The name of the PipelineJob resource. - * Format: - * `projects/{project}/locations/{location}/pipelineJobs/{pipeline_job}` - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - */ - protected $name = ''; - - /** - * @param string $name Required. The name of the PipelineJob resource. - * Format: - * `projects/{project}/locations/{location}/pipelineJobs/{pipeline_job}` - * Please see {@see PipelineServiceClient::pipelineJobName()} for help formatting this field. - * - * @return \Google\Cloud\AIPlatform\V1\GetPipelineJobRequest - * - * @experimental - */ - public static function build(string $name): self - { - return (new self()) - ->setName($name); - } - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $name - * Required. The name of the PipelineJob resource. - * Format: - * `projects/{project}/locations/{location}/pipelineJobs/{pipeline_job}` - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Cloud\Aiplatform\V1\PipelineService::initOnce(); - parent::__construct($data); - } - - /** - * Required. The name of the PipelineJob resource. - * Format: - * `projects/{project}/locations/{location}/pipelineJobs/{pipeline_job}` - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - * @return string - */ - public function getName() - { - return $this->name; - } - - /** - * Required. The name of the PipelineJob resource. - * Format: - * `projects/{project}/locations/{location}/pipelineJobs/{pipeline_job}` - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setName($var) - { - GPBUtil::checkString($var, True); - $this->name = $var; - - return $this; - } - -} - diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/GetPublisherModelRequest.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/GetPublisherModelRequest.php deleted file mode 100644 index 8ad78476d64d..000000000000 --- a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/GetPublisherModelRequest.php +++ /dev/null @@ -1,164 +0,0 @@ -google.cloud.aiplatform.v1.GetPublisherModelRequest - */ -class GetPublisherModelRequest extends \Google\Protobuf\Internal\Message -{ - /** - * Required. The name of the PublisherModel resource. - * Format: - * `publishers/{publisher}/models/{publisher_model}` - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - */ - protected $name = ''; - /** - * Optional. The IETF BCP-47 language code representing the language in which - * the publisher model's text information should be written in (see go/bcp47). - * - * Generated from protobuf field string language_code = 2 [(.google.api.field_behavior) = OPTIONAL]; - */ - protected $language_code = ''; - /** - * Optional. PublisherModel view specifying which fields to read. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.PublisherModelView view = 3 [(.google.api.field_behavior) = OPTIONAL]; - */ - protected $view = 0; - - /** - * @param string $name Required. The name of the PublisherModel resource. - * Format: - * `publishers/{publisher}/models/{publisher_model}` - * Please see {@see ModelGardenServiceClient::publisherModelName()} for help formatting this field. - * - * @return \Google\Cloud\AIPlatform\V1\GetPublisherModelRequest - * - * @experimental - */ - public static function build(string $name): self - { - return (new self()) - ->setName($name); - } - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $name - * Required. The name of the PublisherModel resource. - * Format: - * `publishers/{publisher}/models/{publisher_model}` - * @type string $language_code - * Optional. The IETF BCP-47 language code representing the language in which - * the publisher model's text information should be written in (see go/bcp47). - * @type int $view - * Optional. PublisherModel view specifying which fields to read. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Cloud\Aiplatform\V1\ModelGardenService::initOnce(); - parent::__construct($data); - } - - /** - * Required. The name of the PublisherModel resource. - * Format: - * `publishers/{publisher}/models/{publisher_model}` - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - * @return string - */ - public function getName() - { - return $this->name; - } - - /** - * Required. The name of the PublisherModel resource. - * Format: - * `publishers/{publisher}/models/{publisher_model}` - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setName($var) - { - GPBUtil::checkString($var, True); - $this->name = $var; - - return $this; - } - - /** - * Optional. The IETF BCP-47 language code representing the language in which - * the publisher model's text information should be written in (see go/bcp47). - * - * Generated from protobuf field string language_code = 2 [(.google.api.field_behavior) = OPTIONAL]; - * @return string - */ - public function getLanguageCode() - { - return $this->language_code; - } - - /** - * Optional. The IETF BCP-47 language code representing the language in which - * the publisher model's text information should be written in (see go/bcp47). - * - * Generated from protobuf field string language_code = 2 [(.google.api.field_behavior) = OPTIONAL]; - * @param string $var - * @return $this - */ - public function setLanguageCode($var) - { - GPBUtil::checkString($var, True); - $this->language_code = $var; - - return $this; - } - - /** - * Optional. PublisherModel view specifying which fields to read. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.PublisherModelView view = 3 [(.google.api.field_behavior) = OPTIONAL]; - * @return int - */ - public function getView() - { - return $this->view; - } - - /** - * Optional. PublisherModel view specifying which fields to read. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.PublisherModelView view = 3 [(.google.api.field_behavior) = OPTIONAL]; - * @param int $var - * @return $this - */ - public function setView($var) - { - GPBUtil::checkEnum($var, \Google\Cloud\AIPlatform\V1\PublisherModelView::class); - $this->view = $var; - - return $this; - } - -} - diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/GetScheduleRequest.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/GetScheduleRequest.php deleted file mode 100644 index e8f6202849fc..000000000000 --- a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/GetScheduleRequest.php +++ /dev/null @@ -1,92 +0,0 @@ -google.cloud.aiplatform.v1.GetScheduleRequest - */ -class GetScheduleRequest extends \Google\Protobuf\Internal\Message -{ - /** - * Required. The name of the Schedule resource. - * Format: - * `projects/{project}/locations/{location}/schedules/{schedule}` - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - */ - protected $name = ''; - - /** - * @param string $name Required. The name of the Schedule resource. - * Format: - * `projects/{project}/locations/{location}/schedules/{schedule}` - * Please see {@see ScheduleServiceClient::scheduleName()} for help formatting this field. - * - * @return \Google\Cloud\AIPlatform\V1\GetScheduleRequest - * - * @experimental - */ - public static function build(string $name): self - { - return (new self()) - ->setName($name); - } - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $name - * Required. The name of the Schedule resource. - * Format: - * `projects/{project}/locations/{location}/schedules/{schedule}` - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Cloud\Aiplatform\V1\ScheduleService::initOnce(); - parent::__construct($data); - } - - /** - * Required. The name of the Schedule resource. - * Format: - * `projects/{project}/locations/{location}/schedules/{schedule}` - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - * @return string - */ - public function getName() - { - return $this->name; - } - - /** - * Required. The name of the Schedule resource. - * Format: - * `projects/{project}/locations/{location}/schedules/{schedule}` - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setName($var) - { - GPBUtil::checkString($var, True); - $this->name = $var; - - return $this; - } - -} - diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/GetSpecialistPoolRequest.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/GetSpecialistPoolRequest.php deleted file mode 100644 index 4533f8d4d5dd..000000000000 --- a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/GetSpecialistPoolRequest.php +++ /dev/null @@ -1,92 +0,0 @@ -google.cloud.aiplatform.v1.GetSpecialistPoolRequest - */ -class GetSpecialistPoolRequest extends \Google\Protobuf\Internal\Message -{ - /** - * Required. The name of the SpecialistPool resource. - * The form is - * `projects/{project}/locations/{location}/specialistPools/{specialist_pool}`. - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - */ - protected $name = ''; - - /** - * @param string $name Required. The name of the SpecialistPool resource. - * The form is - * `projects/{project}/locations/{location}/specialistPools/{specialist_pool}`. Please see - * {@see SpecialistPoolServiceClient::specialistPoolName()} for help formatting this field. - * - * @return \Google\Cloud\AIPlatform\V1\GetSpecialistPoolRequest - * - * @experimental - */ - public static function build(string $name): self - { - return (new self()) - ->setName($name); - } - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $name - * Required. The name of the SpecialistPool resource. - * The form is - * `projects/{project}/locations/{location}/specialistPools/{specialist_pool}`. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Cloud\Aiplatform\V1\SpecialistPoolService::initOnce(); - parent::__construct($data); - } - - /** - * Required. The name of the SpecialistPool resource. - * The form is - * `projects/{project}/locations/{location}/specialistPools/{specialist_pool}`. - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - * @return string - */ - public function getName() - { - return $this->name; - } - - /** - * Required. The name of the SpecialistPool resource. - * The form is - * `projects/{project}/locations/{location}/specialistPools/{specialist_pool}`. - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setName($var) - { - GPBUtil::checkString($var, True); - $this->name = $var; - - return $this; - } - -} - diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/GetStudyRequest.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/GetStudyRequest.php deleted file mode 100644 index 607cd9a4be35..000000000000 --- a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/GetStudyRequest.php +++ /dev/null @@ -1,87 +0,0 @@ -google.cloud.aiplatform.v1.GetStudyRequest - */ -class GetStudyRequest extends \Google\Protobuf\Internal\Message -{ - /** - * Required. The name of the Study resource. - * Format: `projects/{project}/locations/{location}/studies/{study}` - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - */ - protected $name = ''; - - /** - * @param string $name Required. The name of the Study resource. - * Format: `projects/{project}/locations/{location}/studies/{study}` - * Please see {@see VizierServiceClient::studyName()} for help formatting this field. - * - * @return \Google\Cloud\AIPlatform\V1\GetStudyRequest - * - * @experimental - */ - public static function build(string $name): self - { - return (new self()) - ->setName($name); - } - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $name - * Required. The name of the Study resource. - * Format: `projects/{project}/locations/{location}/studies/{study}` - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Cloud\Aiplatform\V1\VizierService::initOnce(); - parent::__construct($data); - } - - /** - * Required. The name of the Study resource. - * Format: `projects/{project}/locations/{location}/studies/{study}` - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - * @return string - */ - public function getName() - { - return $this->name; - } - - /** - * Required. The name of the Study resource. - * Format: `projects/{project}/locations/{location}/studies/{study}` - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setName($var) - { - GPBUtil::checkString($var, True); - $this->name = $var; - - return $this; - } - -} - diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/GetTensorboardExperimentRequest.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/GetTensorboardExperimentRequest.php deleted file mode 100644 index 00114cdbde74..000000000000 --- a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/GetTensorboardExperimentRequest.php +++ /dev/null @@ -1,92 +0,0 @@ -google.cloud.aiplatform.v1.GetTensorboardExperimentRequest - */ -class GetTensorboardExperimentRequest extends \Google\Protobuf\Internal\Message -{ - /** - * Required. The name of the TensorboardExperiment resource. - * Format: - * `projects/{project}/locations/{location}/tensorboards/{tensorboard}/experiments/{experiment}` - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - */ - protected $name = ''; - - /** - * @param string $name Required. The name of the TensorboardExperiment resource. - * Format: - * `projects/{project}/locations/{location}/tensorboards/{tensorboard}/experiments/{experiment}` - * Please see {@see TensorboardServiceClient::tensorboardExperimentName()} for help formatting this field. - * - * @return \Google\Cloud\AIPlatform\V1\GetTensorboardExperimentRequest - * - * @experimental - */ - public static function build(string $name): self - { - return (new self()) - ->setName($name); - } - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $name - * Required. The name of the TensorboardExperiment resource. - * Format: - * `projects/{project}/locations/{location}/tensorboards/{tensorboard}/experiments/{experiment}` - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Cloud\Aiplatform\V1\TensorboardService::initOnce(); - parent::__construct($data); - } - - /** - * Required. The name of the TensorboardExperiment resource. - * Format: - * `projects/{project}/locations/{location}/tensorboards/{tensorboard}/experiments/{experiment}` - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - * @return string - */ - public function getName() - { - return $this->name; - } - - /** - * Required. The name of the TensorboardExperiment resource. - * Format: - * `projects/{project}/locations/{location}/tensorboards/{tensorboard}/experiments/{experiment}` - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setName($var) - { - GPBUtil::checkString($var, True); - $this->name = $var; - - return $this; - } - -} - diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/GetTensorboardRequest.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/GetTensorboardRequest.php deleted file mode 100644 index 5d5bede56773..000000000000 --- a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/GetTensorboardRequest.php +++ /dev/null @@ -1,92 +0,0 @@ -google.cloud.aiplatform.v1.GetTensorboardRequest - */ -class GetTensorboardRequest extends \Google\Protobuf\Internal\Message -{ - /** - * Required. The name of the Tensorboard resource. - * Format: - * `projects/{project}/locations/{location}/tensorboards/{tensorboard}` - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - */ - protected $name = ''; - - /** - * @param string $name Required. The name of the Tensorboard resource. - * Format: - * `projects/{project}/locations/{location}/tensorboards/{tensorboard}` - * Please see {@see TensorboardServiceClient::tensorboardName()} for help formatting this field. - * - * @return \Google\Cloud\AIPlatform\V1\GetTensorboardRequest - * - * @experimental - */ - public static function build(string $name): self - { - return (new self()) - ->setName($name); - } - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $name - * Required. The name of the Tensorboard resource. - * Format: - * `projects/{project}/locations/{location}/tensorboards/{tensorboard}` - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Cloud\Aiplatform\V1\TensorboardService::initOnce(); - parent::__construct($data); - } - - /** - * Required. The name of the Tensorboard resource. - * Format: - * `projects/{project}/locations/{location}/tensorboards/{tensorboard}` - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - * @return string - */ - public function getName() - { - return $this->name; - } - - /** - * Required. The name of the Tensorboard resource. - * Format: - * `projects/{project}/locations/{location}/tensorboards/{tensorboard}` - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setName($var) - { - GPBUtil::checkString($var, True); - $this->name = $var; - - return $this; - } - -} - diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/GetTensorboardRunRequest.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/GetTensorboardRunRequest.php deleted file mode 100644 index 7ee1d379ed5f..000000000000 --- a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/GetTensorboardRunRequest.php +++ /dev/null @@ -1,92 +0,0 @@ -google.cloud.aiplatform.v1.GetTensorboardRunRequest - */ -class GetTensorboardRunRequest extends \Google\Protobuf\Internal\Message -{ - /** - * Required. The name of the TensorboardRun resource. - * Format: - * `projects/{project}/locations/{location}/tensorboards/{tensorboard}/experiments/{experiment}/runs/{run}` - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - */ - protected $name = ''; - - /** - * @param string $name Required. The name of the TensorboardRun resource. - * Format: - * `projects/{project}/locations/{location}/tensorboards/{tensorboard}/experiments/{experiment}/runs/{run}` - * Please see {@see TensorboardServiceClient::tensorboardRunName()} for help formatting this field. - * - * @return \Google\Cloud\AIPlatform\V1\GetTensorboardRunRequest - * - * @experimental - */ - public static function build(string $name): self - { - return (new self()) - ->setName($name); - } - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $name - * Required. The name of the TensorboardRun resource. - * Format: - * `projects/{project}/locations/{location}/tensorboards/{tensorboard}/experiments/{experiment}/runs/{run}` - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Cloud\Aiplatform\V1\TensorboardService::initOnce(); - parent::__construct($data); - } - - /** - * Required. The name of the TensorboardRun resource. - * Format: - * `projects/{project}/locations/{location}/tensorboards/{tensorboard}/experiments/{experiment}/runs/{run}` - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - * @return string - */ - public function getName() - { - return $this->name; - } - - /** - * Required. The name of the TensorboardRun resource. - * Format: - * `projects/{project}/locations/{location}/tensorboards/{tensorboard}/experiments/{experiment}/runs/{run}` - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setName($var) - { - GPBUtil::checkString($var, True); - $this->name = $var; - - return $this; - } - -} - diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/GetTensorboardTimeSeriesRequest.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/GetTensorboardTimeSeriesRequest.php deleted file mode 100644 index 0a11b588be2f..000000000000 --- a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/GetTensorboardTimeSeriesRequest.php +++ /dev/null @@ -1,92 +0,0 @@ -google.cloud.aiplatform.v1.GetTensorboardTimeSeriesRequest - */ -class GetTensorboardTimeSeriesRequest extends \Google\Protobuf\Internal\Message -{ - /** - * Required. The name of the TensorboardTimeSeries resource. - * Format: - * `projects/{project}/locations/{location}/tensorboards/{tensorboard}/experiments/{experiment}/runs/{run}/timeSeries/{time_series}` - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - */ - protected $name = ''; - - /** - * @param string $name Required. The name of the TensorboardTimeSeries resource. - * Format: - * `projects/{project}/locations/{location}/tensorboards/{tensorboard}/experiments/{experiment}/runs/{run}/timeSeries/{time_series}` - * Please see {@see TensorboardServiceClient::tensorboardTimeSeriesName()} for help formatting this field. - * - * @return \Google\Cloud\AIPlatform\V1\GetTensorboardTimeSeriesRequest - * - * @experimental - */ - public static function build(string $name): self - { - return (new self()) - ->setName($name); - } - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $name - * Required. The name of the TensorboardTimeSeries resource. - * Format: - * `projects/{project}/locations/{location}/tensorboards/{tensorboard}/experiments/{experiment}/runs/{run}/timeSeries/{time_series}` - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Cloud\Aiplatform\V1\TensorboardService::initOnce(); - parent::__construct($data); - } - - /** - * Required. The name of the TensorboardTimeSeries resource. - * Format: - * `projects/{project}/locations/{location}/tensorboards/{tensorboard}/experiments/{experiment}/runs/{run}/timeSeries/{time_series}` - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - * @return string - */ - public function getName() - { - return $this->name; - } - - /** - * Required. The name of the TensorboardTimeSeries resource. - * Format: - * `projects/{project}/locations/{location}/tensorboards/{tensorboard}/experiments/{experiment}/runs/{run}/timeSeries/{time_series}` - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setName($var) - { - GPBUtil::checkString($var, True); - $this->name = $var; - - return $this; - } - -} - diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/GetTrainingPipelineRequest.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/GetTrainingPipelineRequest.php deleted file mode 100644 index f1acd31b04fa..000000000000 --- a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/GetTrainingPipelineRequest.php +++ /dev/null @@ -1,92 +0,0 @@ -google.cloud.aiplatform.v1.GetTrainingPipelineRequest - */ -class GetTrainingPipelineRequest extends \Google\Protobuf\Internal\Message -{ - /** - * Required. The name of the TrainingPipeline resource. - * Format: - * `projects/{project}/locations/{location}/trainingPipelines/{training_pipeline}` - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - */ - protected $name = ''; - - /** - * @param string $name Required. The name of the TrainingPipeline resource. - * Format: - * `projects/{project}/locations/{location}/trainingPipelines/{training_pipeline}` - * Please see {@see PipelineServiceClient::trainingPipelineName()} for help formatting this field. - * - * @return \Google\Cloud\AIPlatform\V1\GetTrainingPipelineRequest - * - * @experimental - */ - public static function build(string $name): self - { - return (new self()) - ->setName($name); - } - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $name - * Required. The name of the TrainingPipeline resource. - * Format: - * `projects/{project}/locations/{location}/trainingPipelines/{training_pipeline}` - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Cloud\Aiplatform\V1\PipelineService::initOnce(); - parent::__construct($data); - } - - /** - * Required. The name of the TrainingPipeline resource. - * Format: - * `projects/{project}/locations/{location}/trainingPipelines/{training_pipeline}` - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - * @return string - */ - public function getName() - { - return $this->name; - } - - /** - * Required. The name of the TrainingPipeline resource. - * Format: - * `projects/{project}/locations/{location}/trainingPipelines/{training_pipeline}` - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setName($var) - { - GPBUtil::checkString($var, True); - $this->name = $var; - - return $this; - } - -} - diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/GetTrialRequest.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/GetTrialRequest.php deleted file mode 100644 index be443baeba8c..000000000000 --- a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/GetTrialRequest.php +++ /dev/null @@ -1,92 +0,0 @@ -google.cloud.aiplatform.v1.GetTrialRequest - */ -class GetTrialRequest extends \Google\Protobuf\Internal\Message -{ - /** - * Required. The name of the Trial resource. - * Format: - * `projects/{project}/locations/{location}/studies/{study}/trials/{trial}` - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - */ - protected $name = ''; - - /** - * @param string $name Required. The name of the Trial resource. - * Format: - * `projects/{project}/locations/{location}/studies/{study}/trials/{trial}` - * Please see {@see VizierServiceClient::trialName()} for help formatting this field. - * - * @return \Google\Cloud\AIPlatform\V1\GetTrialRequest - * - * @experimental - */ - public static function build(string $name): self - { - return (new self()) - ->setName($name); - } - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $name - * Required. The name of the Trial resource. - * Format: - * `projects/{project}/locations/{location}/studies/{study}/trials/{trial}` - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Cloud\Aiplatform\V1\VizierService::initOnce(); - parent::__construct($data); - } - - /** - * Required. The name of the Trial resource. - * Format: - * `projects/{project}/locations/{location}/studies/{study}/trials/{trial}` - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - * @return string - */ - public function getName() - { - return $this->name; - } - - /** - * Required. The name of the Trial resource. - * Format: - * `projects/{project}/locations/{location}/studies/{study}/trials/{trial}` - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setName($var) - { - GPBUtil::checkString($var, True); - $this->name = $var; - - return $this; - } - -} - diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/GetTuningJobRequest.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/GetTuningJobRequest.php deleted file mode 100644 index 4a0333cdf321..000000000000 --- a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/GetTuningJobRequest.php +++ /dev/null @@ -1,87 +0,0 @@ -google.cloud.aiplatform.v1.GetTuningJobRequest - */ -class GetTuningJobRequest extends \Google\Protobuf\Internal\Message -{ - /** - * Required. The name of the TuningJob resource. Format: - * `projects/{project}/locations/{location}/tuningJobs/{tuning_job}` - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - */ - protected $name = ''; - - /** - * @param string $name Required. The name of the TuningJob resource. Format: - * `projects/{project}/locations/{location}/tuningJobs/{tuning_job}` - * Please see {@see GenAiTuningServiceClient::tuningJobName()} for help formatting this field. - * - * @return \Google\Cloud\AIPlatform\V1\GetTuningJobRequest - * - * @experimental - */ - public static function build(string $name): self - { - return (new self()) - ->setName($name); - } - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $name - * Required. The name of the TuningJob resource. Format: - * `projects/{project}/locations/{location}/tuningJobs/{tuning_job}` - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Cloud\Aiplatform\V1\GenaiTuningService::initOnce(); - parent::__construct($data); - } - - /** - * Required. The name of the TuningJob resource. Format: - * `projects/{project}/locations/{location}/tuningJobs/{tuning_job}` - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - * @return string - */ - public function getName() - { - return $this->name; - } - - /** - * Required. The name of the TuningJob resource. Format: - * `projects/{project}/locations/{location}/tuningJobs/{tuning_job}` - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setName($var) - { - GPBUtil::checkString($var, True); - $this->name = $var; - - return $this; - } - -} - diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/GoogleSearchRetrieval.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/GoogleSearchRetrieval.php deleted file mode 100644 index cc36184fedd3..000000000000 --- a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/GoogleSearchRetrieval.php +++ /dev/null @@ -1,33 +0,0 @@ -google.cloud.aiplatform.v1.GoogleSearchRetrieval - */ -class GoogleSearchRetrieval extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Cloud\Aiplatform\V1\Tool::initOnce(); - parent::__construct($data); - } - -} - diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/GroundingMetadata.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/GroundingMetadata.php deleted file mode 100644 index 55381cf6539d..000000000000 --- a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/GroundingMetadata.php +++ /dev/null @@ -1,111 +0,0 @@ -google.cloud.aiplatform.v1.GroundingMetadata - */ -class GroundingMetadata extends \Google\Protobuf\Internal\Message -{ - /** - * Optional. Web search queries for the following-up web search. - * - * Generated from protobuf field repeated string web_search_queries = 1 [(.google.api.field_behavior) = OPTIONAL]; - */ - private $web_search_queries; - /** - * Optional. Google search entry for the following-up web searches. - * - * Generated from protobuf field optional .google.cloud.aiplatform.v1.SearchEntryPoint search_entry_point = 4 [(.google.api.field_behavior) = OPTIONAL]; - */ - protected $search_entry_point = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type array|\Google\Protobuf\Internal\RepeatedField $web_search_queries - * Optional. Web search queries for the following-up web search. - * @type \Google\Cloud\AIPlatform\V1\SearchEntryPoint $search_entry_point - * Optional. Google search entry for the following-up web searches. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Cloud\Aiplatform\V1\Content::initOnce(); - parent::__construct($data); - } - - /** - * Optional. Web search queries for the following-up web search. - * - * Generated from protobuf field repeated string web_search_queries = 1 [(.google.api.field_behavior) = OPTIONAL]; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getWebSearchQueries() - { - return $this->web_search_queries; - } - - /** - * Optional. Web search queries for the following-up web search. - * - * Generated from protobuf field repeated string web_search_queries = 1 [(.google.api.field_behavior) = OPTIONAL]; - * @param array|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setWebSearchQueries($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING); - $this->web_search_queries = $arr; - - return $this; - } - - /** - * Optional. Google search entry for the following-up web searches. - * - * Generated from protobuf field optional .google.cloud.aiplatform.v1.SearchEntryPoint search_entry_point = 4 [(.google.api.field_behavior) = OPTIONAL]; - * @return \Google\Cloud\AIPlatform\V1\SearchEntryPoint|null - */ - public function getSearchEntryPoint() - { - return $this->search_entry_point; - } - - public function hasSearchEntryPoint() - { - return isset($this->search_entry_point); - } - - public function clearSearchEntryPoint() - { - unset($this->search_entry_point); - } - - /** - * Optional. Google search entry for the following-up web searches. - * - * Generated from protobuf field optional .google.cloud.aiplatform.v1.SearchEntryPoint search_entry_point = 4 [(.google.api.field_behavior) = OPTIONAL]; - * @param \Google\Cloud\AIPlatform\V1\SearchEntryPoint $var - * @return $this - */ - public function setSearchEntryPoint($var) - { - GPBUtil::checkMessage($var, \Google\Cloud\AIPlatform\V1\SearchEntryPoint::class); - $this->search_entry_point = $var; - - return $this; - } - -} - diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/HarmCategory.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/HarmCategory.php deleted file mode 100644 index 26d10e848ab9..000000000000 --- a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/HarmCategory.php +++ /dev/null @@ -1,75 +0,0 @@ -google.cloud.aiplatform.v1.HarmCategory - */ -class HarmCategory -{ - /** - * The harm category is unspecified. - * - * Generated from protobuf enum HARM_CATEGORY_UNSPECIFIED = 0; - */ - const HARM_CATEGORY_UNSPECIFIED = 0; - /** - * The harm category is hate speech. - * - * Generated from protobuf enum HARM_CATEGORY_HATE_SPEECH = 1; - */ - const HARM_CATEGORY_HATE_SPEECH = 1; - /** - * The harm category is dangerous content. - * - * Generated from protobuf enum HARM_CATEGORY_DANGEROUS_CONTENT = 2; - */ - const HARM_CATEGORY_DANGEROUS_CONTENT = 2; - /** - * The harm category is harassment. - * - * Generated from protobuf enum HARM_CATEGORY_HARASSMENT = 3; - */ - const HARM_CATEGORY_HARASSMENT = 3; - /** - * The harm category is sexually explicit content. - * - * Generated from protobuf enum HARM_CATEGORY_SEXUALLY_EXPLICIT = 4; - */ - const HARM_CATEGORY_SEXUALLY_EXPLICIT = 4; - - private static $valueToName = [ - self::HARM_CATEGORY_UNSPECIFIED => 'HARM_CATEGORY_UNSPECIFIED', - self::HARM_CATEGORY_HATE_SPEECH => 'HARM_CATEGORY_HATE_SPEECH', - self::HARM_CATEGORY_DANGEROUS_CONTENT => 'HARM_CATEGORY_DANGEROUS_CONTENT', - self::HARM_CATEGORY_HARASSMENT => 'HARM_CATEGORY_HARASSMENT', - self::HARM_CATEGORY_SEXUALLY_EXPLICIT => 'HARM_CATEGORY_SEXUALLY_EXPLICIT', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/HyperparameterTuningJob.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/HyperparameterTuningJob.php deleted file mode 100644 index 2b4338d63c70..000000000000 --- a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/HyperparameterTuningJob.php +++ /dev/null @@ -1,727 +0,0 @@ -google.cloud.aiplatform.v1.HyperparameterTuningJob - */ -class HyperparameterTuningJob extends \Google\Protobuf\Internal\Message -{ - /** - * Output only. Resource name of the HyperparameterTuningJob. - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $name = ''; - /** - * Required. The display name of the HyperparameterTuningJob. - * The name can be up to 128 characters long and can consist of any UTF-8 - * characters. - * - * Generated from protobuf field string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $display_name = ''; - /** - * Required. Study configuration of the HyperparameterTuningJob. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.StudySpec study_spec = 4 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $study_spec = null; - /** - * Required. The desired total number of Trials. - * - * Generated from protobuf field int32 max_trial_count = 5 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $max_trial_count = 0; - /** - * Required. The desired number of Trials to run in parallel. - * - * Generated from protobuf field int32 parallel_trial_count = 6 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $parallel_trial_count = 0; - /** - * The number of failed Trials that need to be seen before failing - * the HyperparameterTuningJob. - * If set to 0, Vertex AI decides how many Trials must fail - * before the whole job fails. - * - * Generated from protobuf field int32 max_failed_trial_count = 7; - */ - protected $max_failed_trial_count = 0; - /** - * Required. The spec of a trial job. The same spec applies to the CustomJobs - * created in all the trials. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.CustomJobSpec trial_job_spec = 8 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $trial_job_spec = null; - /** - * Output only. Trials of the HyperparameterTuningJob. - * - * Generated from protobuf field repeated .google.cloud.aiplatform.v1.Trial trials = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - private $trials; - /** - * Output only. The detailed state of the job. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.JobState state = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $state = 0; - /** - * Output only. Time when the HyperparameterTuningJob was created. - * - * Generated from protobuf field .google.protobuf.Timestamp create_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $create_time = null; - /** - * Output only. Time when the HyperparameterTuningJob for the first time - * entered the `JOB_STATE_RUNNING` state. - * - * Generated from protobuf field .google.protobuf.Timestamp start_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $start_time = null; - /** - * Output only. Time when the HyperparameterTuningJob entered any of the - * following states: `JOB_STATE_SUCCEEDED`, `JOB_STATE_FAILED`, - * `JOB_STATE_CANCELLED`. - * - * Generated from protobuf field .google.protobuf.Timestamp end_time = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $end_time = null; - /** - * Output only. Time when the HyperparameterTuningJob was most recently - * updated. - * - * Generated from protobuf field .google.protobuf.Timestamp update_time = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $update_time = null; - /** - * Output only. Only populated when job's state is JOB_STATE_FAILED or - * JOB_STATE_CANCELLED. - * - * Generated from protobuf field .google.rpc.Status error = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $error = null; - /** - * The labels with user-defined metadata to organize HyperparameterTuningJobs. - * Label keys and values can be no longer than 64 characters - * (Unicode codepoints), can only contain lowercase letters, numeric - * characters, underscores and dashes. International characters are allowed. - * See https://goo.gl/xmQnxf for more information and examples of labels. - * - * Generated from protobuf field map labels = 16; - */ - private $labels; - /** - * Customer-managed encryption key options for a HyperparameterTuningJob. - * If this is set, then all resources created by the HyperparameterTuningJob - * will be encrypted with the provided encryption key. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.EncryptionSpec encryption_spec = 17; - */ - protected $encryption_spec = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $name - * Output only. Resource name of the HyperparameterTuningJob. - * @type string $display_name - * Required. The display name of the HyperparameterTuningJob. - * The name can be up to 128 characters long and can consist of any UTF-8 - * characters. - * @type \Google\Cloud\AIPlatform\V1\StudySpec $study_spec - * Required. Study configuration of the HyperparameterTuningJob. - * @type int $max_trial_count - * Required. The desired total number of Trials. - * @type int $parallel_trial_count - * Required. The desired number of Trials to run in parallel. - * @type int $max_failed_trial_count - * The number of failed Trials that need to be seen before failing - * the HyperparameterTuningJob. - * If set to 0, Vertex AI decides how many Trials must fail - * before the whole job fails. - * @type \Google\Cloud\AIPlatform\V1\CustomJobSpec $trial_job_spec - * Required. The spec of a trial job. The same spec applies to the CustomJobs - * created in all the trials. - * @type array<\Google\Cloud\AIPlatform\V1\Trial>|\Google\Protobuf\Internal\RepeatedField $trials - * Output only. Trials of the HyperparameterTuningJob. - * @type int $state - * Output only. The detailed state of the job. - * @type \Google\Protobuf\Timestamp $create_time - * Output only. Time when the HyperparameterTuningJob was created. - * @type \Google\Protobuf\Timestamp $start_time - * Output only. Time when the HyperparameterTuningJob for the first time - * entered the `JOB_STATE_RUNNING` state. - * @type \Google\Protobuf\Timestamp $end_time - * Output only. Time when the HyperparameterTuningJob entered any of the - * following states: `JOB_STATE_SUCCEEDED`, `JOB_STATE_FAILED`, - * `JOB_STATE_CANCELLED`. - * @type \Google\Protobuf\Timestamp $update_time - * Output only. Time when the HyperparameterTuningJob was most recently - * updated. - * @type \Google\Rpc\Status $error - * Output only. Only populated when job's state is JOB_STATE_FAILED or - * JOB_STATE_CANCELLED. - * @type array|\Google\Protobuf\Internal\MapField $labels - * The labels with user-defined metadata to organize HyperparameterTuningJobs. - * Label keys and values can be no longer than 64 characters - * (Unicode codepoints), can only contain lowercase letters, numeric - * characters, underscores and dashes. International characters are allowed. - * See https://goo.gl/xmQnxf for more information and examples of labels. - * @type \Google\Cloud\AIPlatform\V1\EncryptionSpec $encryption_spec - * Customer-managed encryption key options for a HyperparameterTuningJob. - * If this is set, then all resources created by the HyperparameterTuningJob - * will be encrypted with the provided encryption key. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Cloud\Aiplatform\V1\HyperparameterTuningJob::initOnce(); - parent::__construct($data); - } - - /** - * Output only. Resource name of the HyperparameterTuningJob. - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return string - */ - public function getName() - { - return $this->name; - } - - /** - * Output only. Resource name of the HyperparameterTuningJob. - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param string $var - * @return $this - */ - public function setName($var) - { - GPBUtil::checkString($var, True); - $this->name = $var; - - return $this; - } - - /** - * Required. The display name of the HyperparameterTuningJob. - * The name can be up to 128 characters long and can consist of any UTF-8 - * characters. - * - * Generated from protobuf field string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; - * @return string - */ - public function getDisplayName() - { - return $this->display_name; - } - - /** - * Required. The display name of the HyperparameterTuningJob. - * The name can be up to 128 characters long and can consist of any UTF-8 - * characters. - * - * Generated from protobuf field string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; - * @param string $var - * @return $this - */ - public function setDisplayName($var) - { - GPBUtil::checkString($var, True); - $this->display_name = $var; - - return $this; - } - - /** - * Required. Study configuration of the HyperparameterTuningJob. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.StudySpec study_spec = 4 [(.google.api.field_behavior) = REQUIRED]; - * @return \Google\Cloud\AIPlatform\V1\StudySpec|null - */ - public function getStudySpec() - { - return $this->study_spec; - } - - public function hasStudySpec() - { - return isset($this->study_spec); - } - - public function clearStudySpec() - { - unset($this->study_spec); - } - - /** - * Required. Study configuration of the HyperparameterTuningJob. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.StudySpec study_spec = 4 [(.google.api.field_behavior) = REQUIRED]; - * @param \Google\Cloud\AIPlatform\V1\StudySpec $var - * @return $this - */ - public function setStudySpec($var) - { - GPBUtil::checkMessage($var, \Google\Cloud\AIPlatform\V1\StudySpec::class); - $this->study_spec = $var; - - return $this; - } - - /** - * Required. The desired total number of Trials. - * - * Generated from protobuf field int32 max_trial_count = 5 [(.google.api.field_behavior) = REQUIRED]; - * @return int - */ - public function getMaxTrialCount() - { - return $this->max_trial_count; - } - - /** - * Required. The desired total number of Trials. - * - * Generated from protobuf field int32 max_trial_count = 5 [(.google.api.field_behavior) = REQUIRED]; - * @param int $var - * @return $this - */ - public function setMaxTrialCount($var) - { - GPBUtil::checkInt32($var); - $this->max_trial_count = $var; - - return $this; - } - - /** - * Required. The desired number of Trials to run in parallel. - * - * Generated from protobuf field int32 parallel_trial_count = 6 [(.google.api.field_behavior) = REQUIRED]; - * @return int - */ - public function getParallelTrialCount() - { - return $this->parallel_trial_count; - } - - /** - * Required. The desired number of Trials to run in parallel. - * - * Generated from protobuf field int32 parallel_trial_count = 6 [(.google.api.field_behavior) = REQUIRED]; - * @param int $var - * @return $this - */ - public function setParallelTrialCount($var) - { - GPBUtil::checkInt32($var); - $this->parallel_trial_count = $var; - - return $this; - } - - /** - * The number of failed Trials that need to be seen before failing - * the HyperparameterTuningJob. - * If set to 0, Vertex AI decides how many Trials must fail - * before the whole job fails. - * - * Generated from protobuf field int32 max_failed_trial_count = 7; - * @return int - */ - public function getMaxFailedTrialCount() - { - return $this->max_failed_trial_count; - } - - /** - * The number of failed Trials that need to be seen before failing - * the HyperparameterTuningJob. - * If set to 0, Vertex AI decides how many Trials must fail - * before the whole job fails. - * - * Generated from protobuf field int32 max_failed_trial_count = 7; - * @param int $var - * @return $this - */ - public function setMaxFailedTrialCount($var) - { - GPBUtil::checkInt32($var); - $this->max_failed_trial_count = $var; - - return $this; - } - - /** - * Required. The spec of a trial job. The same spec applies to the CustomJobs - * created in all the trials. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.CustomJobSpec trial_job_spec = 8 [(.google.api.field_behavior) = REQUIRED]; - * @return \Google\Cloud\AIPlatform\V1\CustomJobSpec|null - */ - public function getTrialJobSpec() - { - return $this->trial_job_spec; - } - - public function hasTrialJobSpec() - { - return isset($this->trial_job_spec); - } - - public function clearTrialJobSpec() - { - unset($this->trial_job_spec); - } - - /** - * Required. The spec of a trial job. The same spec applies to the CustomJobs - * created in all the trials. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.CustomJobSpec trial_job_spec = 8 [(.google.api.field_behavior) = REQUIRED]; - * @param \Google\Cloud\AIPlatform\V1\CustomJobSpec $var - * @return $this - */ - public function setTrialJobSpec($var) - { - GPBUtil::checkMessage($var, \Google\Cloud\AIPlatform\V1\CustomJobSpec::class); - $this->trial_job_spec = $var; - - return $this; - } - - /** - * Output only. Trials of the HyperparameterTuningJob. - * - * Generated from protobuf field repeated .google.cloud.aiplatform.v1.Trial trials = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getTrials() - { - return $this->trials; - } - - /** - * Output only. Trials of the HyperparameterTuningJob. - * - * Generated from protobuf field repeated .google.cloud.aiplatform.v1.Trial trials = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param array<\Google\Cloud\AIPlatform\V1\Trial>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setTrials($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\AIPlatform\V1\Trial::class); - $this->trials = $arr; - - return $this; - } - - /** - * Output only. The detailed state of the job. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.JobState state = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return int - */ - public function getState() - { - return $this->state; - } - - /** - * Output only. The detailed state of the job. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.JobState state = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param int $var - * @return $this - */ - public function setState($var) - { - GPBUtil::checkEnum($var, \Google\Cloud\AIPlatform\V1\JobState::class); - $this->state = $var; - - return $this; - } - - /** - * Output only. Time when the HyperparameterTuningJob was created. - * - * Generated from protobuf field .google.protobuf.Timestamp create_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return \Google\Protobuf\Timestamp|null - */ - public function getCreateTime() - { - return $this->create_time; - } - - public function hasCreateTime() - { - return isset($this->create_time); - } - - public function clearCreateTime() - { - unset($this->create_time); - } - - /** - * Output only. Time when the HyperparameterTuningJob was created. - * - * Generated from protobuf field .google.protobuf.Timestamp create_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param \Google\Protobuf\Timestamp $var - * @return $this - */ - public function setCreateTime($var) - { - GPBUtil::checkMessage($var, \Google\Protobuf\Timestamp::class); - $this->create_time = $var; - - return $this; - } - - /** - * Output only. Time when the HyperparameterTuningJob for the first time - * entered the `JOB_STATE_RUNNING` state. - * - * Generated from protobuf field .google.protobuf.Timestamp start_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return \Google\Protobuf\Timestamp|null - */ - public function getStartTime() - { - return $this->start_time; - } - - public function hasStartTime() - { - return isset($this->start_time); - } - - public function clearStartTime() - { - unset($this->start_time); - } - - /** - * Output only. Time when the HyperparameterTuningJob for the first time - * entered the `JOB_STATE_RUNNING` state. - * - * Generated from protobuf field .google.protobuf.Timestamp start_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param \Google\Protobuf\Timestamp $var - * @return $this - */ - public function setStartTime($var) - { - GPBUtil::checkMessage($var, \Google\Protobuf\Timestamp::class); - $this->start_time = $var; - - return $this; - } - - /** - * Output only. Time when the HyperparameterTuningJob entered any of the - * following states: `JOB_STATE_SUCCEEDED`, `JOB_STATE_FAILED`, - * `JOB_STATE_CANCELLED`. - * - * Generated from protobuf field .google.protobuf.Timestamp end_time = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return \Google\Protobuf\Timestamp|null - */ - public function getEndTime() - { - return $this->end_time; - } - - public function hasEndTime() - { - return isset($this->end_time); - } - - public function clearEndTime() - { - unset($this->end_time); - } - - /** - * Output only. Time when the HyperparameterTuningJob entered any of the - * following states: `JOB_STATE_SUCCEEDED`, `JOB_STATE_FAILED`, - * `JOB_STATE_CANCELLED`. - * - * Generated from protobuf field .google.protobuf.Timestamp end_time = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param \Google\Protobuf\Timestamp $var - * @return $this - */ - public function setEndTime($var) - { - GPBUtil::checkMessage($var, \Google\Protobuf\Timestamp::class); - $this->end_time = $var; - - return $this; - } - - /** - * Output only. Time when the HyperparameterTuningJob was most recently - * updated. - * - * Generated from protobuf field .google.protobuf.Timestamp update_time = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return \Google\Protobuf\Timestamp|null - */ - public function getUpdateTime() - { - return $this->update_time; - } - - public function hasUpdateTime() - { - return isset($this->update_time); - } - - public function clearUpdateTime() - { - unset($this->update_time); - } - - /** - * Output only. Time when the HyperparameterTuningJob was most recently - * updated. - * - * Generated from protobuf field .google.protobuf.Timestamp update_time = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param \Google\Protobuf\Timestamp $var - * @return $this - */ - public function setUpdateTime($var) - { - GPBUtil::checkMessage($var, \Google\Protobuf\Timestamp::class); - $this->update_time = $var; - - return $this; - } - - /** - * Output only. Only populated when job's state is JOB_STATE_FAILED or - * JOB_STATE_CANCELLED. - * - * Generated from protobuf field .google.rpc.Status error = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return \Google\Rpc\Status|null - */ - public function getError() - { - return $this->error; - } - - public function hasError() - { - return isset($this->error); - } - - public function clearError() - { - unset($this->error); - } - - /** - * Output only. Only populated when job's state is JOB_STATE_FAILED or - * JOB_STATE_CANCELLED. - * - * Generated from protobuf field .google.rpc.Status error = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param \Google\Rpc\Status $var - * @return $this - */ - public function setError($var) - { - GPBUtil::checkMessage($var, \Google\Rpc\Status::class); - $this->error = $var; - - return $this; - } - - /** - * The labels with user-defined metadata to organize HyperparameterTuningJobs. - * Label keys and values can be no longer than 64 characters - * (Unicode codepoints), can only contain lowercase letters, numeric - * characters, underscores and dashes. International characters are allowed. - * See https://goo.gl/xmQnxf for more information and examples of labels. - * - * Generated from protobuf field map labels = 16; - * @return \Google\Protobuf\Internal\MapField - */ - public function getLabels() - { - return $this->labels; - } - - /** - * The labels with user-defined metadata to organize HyperparameterTuningJobs. - * Label keys and values can be no longer than 64 characters - * (Unicode codepoints), can only contain lowercase letters, numeric - * characters, underscores and dashes. International characters are allowed. - * See https://goo.gl/xmQnxf for more information and examples of labels. - * - * Generated from protobuf field map labels = 16; - * @param array|\Google\Protobuf\Internal\MapField $var - * @return $this - */ - public function setLabels($var) - { - $arr = GPBUtil::checkMapField($var, \Google\Protobuf\Internal\GPBType::STRING, \Google\Protobuf\Internal\GPBType::STRING); - $this->labels = $arr; - - return $this; - } - - /** - * Customer-managed encryption key options for a HyperparameterTuningJob. - * If this is set, then all resources created by the HyperparameterTuningJob - * will be encrypted with the provided encryption key. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.EncryptionSpec encryption_spec = 17; - * @return \Google\Cloud\AIPlatform\V1\EncryptionSpec|null - */ - public function getEncryptionSpec() - { - return $this->encryption_spec; - } - - public function hasEncryptionSpec() - { - return isset($this->encryption_spec); - } - - public function clearEncryptionSpec() - { - unset($this->encryption_spec); - } - - /** - * Customer-managed encryption key options for a HyperparameterTuningJob. - * If this is set, then all resources created by the HyperparameterTuningJob - * will be encrypted with the provided encryption key. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.EncryptionSpec encryption_spec = 17; - * @param \Google\Cloud\AIPlatform\V1\EncryptionSpec $var - * @return $this - */ - public function setEncryptionSpec($var) - { - GPBUtil::checkMessage($var, \Google\Cloud\AIPlatform\V1\EncryptionSpec::class); - $this->encryption_spec = $var; - - return $this; - } - -} - diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/IdMatcher.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/IdMatcher.php deleted file mode 100644 index 28dd3636d879..000000000000 --- a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/IdMatcher.php +++ /dev/null @@ -1,83 +0,0 @@ -google.cloud.aiplatform.v1.IdMatcher - */ -class IdMatcher extends \Google\Protobuf\Internal\Message -{ - /** - * Required. The following are accepted as `ids`: - * * A single-element list containing only `*`, which selects all Features - * in the target EntityType, or - * * A list containing only Feature IDs, which selects only Features with - * those IDs in the target EntityType. - * - * Generated from protobuf field repeated string ids = 1 [(.google.api.field_behavior) = REQUIRED]; - */ - private $ids; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type array|\Google\Protobuf\Internal\RepeatedField $ids - * Required. The following are accepted as `ids`: - * * A single-element list containing only `*`, which selects all Features - * in the target EntityType, or - * * A list containing only Feature IDs, which selects only Features with - * those IDs in the target EntityType. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Cloud\Aiplatform\V1\FeatureSelector::initOnce(); - parent::__construct($data); - } - - /** - * Required. The following are accepted as `ids`: - * * A single-element list containing only `*`, which selects all Features - * in the target EntityType, or - * * A list containing only Feature IDs, which selects only Features with - * those IDs in the target EntityType. - * - * Generated from protobuf field repeated string ids = 1 [(.google.api.field_behavior) = REQUIRED]; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getIds() - { - return $this->ids; - } - - /** - * Required. The following are accepted as `ids`: - * * A single-element list containing only `*`, which selects all Features - * in the target EntityType, or - * * A list containing only Feature IDs, which selects only Features with - * those IDs in the target EntityType. - * - * Generated from protobuf field repeated string ids = 1 [(.google.api.field_behavior) = REQUIRED]; - * @param array|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setIds($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING); - $this->ids = $arr; - - return $this; - } - -} - diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ImportDataConfig.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ImportDataConfig.php deleted file mode 100644 index df1309b1d648..000000000000 --- a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ImportDataConfig.php +++ /dev/null @@ -1,274 +0,0 @@ -google.cloud.aiplatform.v1.ImportDataConfig - */ -class ImportDataConfig extends \Google\Protobuf\Internal\Message -{ - /** - * Labels that will be applied to newly imported DataItems. If an identical - * DataItem as one being imported already exists in the Dataset, then these - * labels will be appended to these of the already existing one, and if labels - * with identical key is imported before, the old label value will be - * overwritten. If two DataItems are identical in the same import data - * operation, the labels will be combined and if key collision happens in this - * case, one of the values will be picked randomly. Two DataItems are - * considered identical if their content bytes are identical (e.g. image bytes - * or pdf bytes). - * These labels will be overridden by Annotation labels specified inside index - * file referenced by - * [import_schema_uri][google.cloud.aiplatform.v1.ImportDataConfig.import_schema_uri], - * e.g. jsonl file. - * - * Generated from protobuf field map data_item_labels = 2; - */ - private $data_item_labels; - /** - * Labels that will be applied to newly imported Annotations. If two - * Annotations are identical, one of them will be deduped. Two Annotations are - * considered identical if their - * [payload][google.cloud.aiplatform.v1.Annotation.payload], - * [payload_schema_uri][google.cloud.aiplatform.v1.Annotation.payload_schema_uri] - * and all of their [labels][google.cloud.aiplatform.v1.Annotation.labels] are - * the same. These labels will be overridden by Annotation labels specified - * inside index file referenced by - * [import_schema_uri][google.cloud.aiplatform.v1.ImportDataConfig.import_schema_uri], - * e.g. jsonl file. - * - * Generated from protobuf field map annotation_labels = 3; - */ - private $annotation_labels; - /** - * Required. Points to a YAML file stored on Google Cloud Storage describing - * the import format. Validation will be done against the schema. The schema - * is defined as an [OpenAPI 3.0.2 Schema - * Object](https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.0.2.md#schemaObject). - * - * Generated from protobuf field string import_schema_uri = 4 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $import_schema_uri = ''; - protected $source; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type \Google\Cloud\AIPlatform\V1\GcsSource $gcs_source - * The Google Cloud Storage location for the input content. - * @type array|\Google\Protobuf\Internal\MapField $data_item_labels - * Labels that will be applied to newly imported DataItems. If an identical - * DataItem as one being imported already exists in the Dataset, then these - * labels will be appended to these of the already existing one, and if labels - * with identical key is imported before, the old label value will be - * overwritten. If two DataItems are identical in the same import data - * operation, the labels will be combined and if key collision happens in this - * case, one of the values will be picked randomly. Two DataItems are - * considered identical if their content bytes are identical (e.g. image bytes - * or pdf bytes). - * These labels will be overridden by Annotation labels specified inside index - * file referenced by - * [import_schema_uri][google.cloud.aiplatform.v1.ImportDataConfig.import_schema_uri], - * e.g. jsonl file. - * @type array|\Google\Protobuf\Internal\MapField $annotation_labels - * Labels that will be applied to newly imported Annotations. If two - * Annotations are identical, one of them will be deduped. Two Annotations are - * considered identical if their - * [payload][google.cloud.aiplatform.v1.Annotation.payload], - * [payload_schema_uri][google.cloud.aiplatform.v1.Annotation.payload_schema_uri] - * and all of their [labels][google.cloud.aiplatform.v1.Annotation.labels] are - * the same. These labels will be overridden by Annotation labels specified - * inside index file referenced by - * [import_schema_uri][google.cloud.aiplatform.v1.ImportDataConfig.import_schema_uri], - * e.g. jsonl file. - * @type string $import_schema_uri - * Required. Points to a YAML file stored on Google Cloud Storage describing - * the import format. Validation will be done against the schema. The schema - * is defined as an [OpenAPI 3.0.2 Schema - * Object](https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.0.2.md#schemaObject). - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Cloud\Aiplatform\V1\Dataset::initOnce(); - parent::__construct($data); - } - - /** - * The Google Cloud Storage location for the input content. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.GcsSource gcs_source = 1; - * @return \Google\Cloud\AIPlatform\V1\GcsSource|null - */ - public function getGcsSource() - { - return $this->readOneof(1); - } - - public function hasGcsSource() - { - return $this->hasOneof(1); - } - - /** - * The Google Cloud Storage location for the input content. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.GcsSource gcs_source = 1; - * @param \Google\Cloud\AIPlatform\V1\GcsSource $var - * @return $this - */ - public function setGcsSource($var) - { - GPBUtil::checkMessage($var, \Google\Cloud\AIPlatform\V1\GcsSource::class); - $this->writeOneof(1, $var); - - return $this; - } - - /** - * Labels that will be applied to newly imported DataItems. If an identical - * DataItem as one being imported already exists in the Dataset, then these - * labels will be appended to these of the already existing one, and if labels - * with identical key is imported before, the old label value will be - * overwritten. If two DataItems are identical in the same import data - * operation, the labels will be combined and if key collision happens in this - * case, one of the values will be picked randomly. Two DataItems are - * considered identical if their content bytes are identical (e.g. image bytes - * or pdf bytes). - * These labels will be overridden by Annotation labels specified inside index - * file referenced by - * [import_schema_uri][google.cloud.aiplatform.v1.ImportDataConfig.import_schema_uri], - * e.g. jsonl file. - * - * Generated from protobuf field map data_item_labels = 2; - * @return \Google\Protobuf\Internal\MapField - */ - public function getDataItemLabels() - { - return $this->data_item_labels; - } - - /** - * Labels that will be applied to newly imported DataItems. If an identical - * DataItem as one being imported already exists in the Dataset, then these - * labels will be appended to these of the already existing one, and if labels - * with identical key is imported before, the old label value will be - * overwritten. If two DataItems are identical in the same import data - * operation, the labels will be combined and if key collision happens in this - * case, one of the values will be picked randomly. Two DataItems are - * considered identical if their content bytes are identical (e.g. image bytes - * or pdf bytes). - * These labels will be overridden by Annotation labels specified inside index - * file referenced by - * [import_schema_uri][google.cloud.aiplatform.v1.ImportDataConfig.import_schema_uri], - * e.g. jsonl file. - * - * Generated from protobuf field map data_item_labels = 2; - * @param array|\Google\Protobuf\Internal\MapField $var - * @return $this - */ - public function setDataItemLabels($var) - { - $arr = GPBUtil::checkMapField($var, \Google\Protobuf\Internal\GPBType::STRING, \Google\Protobuf\Internal\GPBType::STRING); - $this->data_item_labels = $arr; - - return $this; - } - - /** - * Labels that will be applied to newly imported Annotations. If two - * Annotations are identical, one of them will be deduped. Two Annotations are - * considered identical if their - * [payload][google.cloud.aiplatform.v1.Annotation.payload], - * [payload_schema_uri][google.cloud.aiplatform.v1.Annotation.payload_schema_uri] - * and all of their [labels][google.cloud.aiplatform.v1.Annotation.labels] are - * the same. These labels will be overridden by Annotation labels specified - * inside index file referenced by - * [import_schema_uri][google.cloud.aiplatform.v1.ImportDataConfig.import_schema_uri], - * e.g. jsonl file. - * - * Generated from protobuf field map annotation_labels = 3; - * @return \Google\Protobuf\Internal\MapField - */ - public function getAnnotationLabels() - { - return $this->annotation_labels; - } - - /** - * Labels that will be applied to newly imported Annotations. If two - * Annotations are identical, one of them will be deduped. Two Annotations are - * considered identical if their - * [payload][google.cloud.aiplatform.v1.Annotation.payload], - * [payload_schema_uri][google.cloud.aiplatform.v1.Annotation.payload_schema_uri] - * and all of their [labels][google.cloud.aiplatform.v1.Annotation.labels] are - * the same. These labels will be overridden by Annotation labels specified - * inside index file referenced by - * [import_schema_uri][google.cloud.aiplatform.v1.ImportDataConfig.import_schema_uri], - * e.g. jsonl file. - * - * Generated from protobuf field map annotation_labels = 3; - * @param array|\Google\Protobuf\Internal\MapField $var - * @return $this - */ - public function setAnnotationLabels($var) - { - $arr = GPBUtil::checkMapField($var, \Google\Protobuf\Internal\GPBType::STRING, \Google\Protobuf\Internal\GPBType::STRING); - $this->annotation_labels = $arr; - - return $this; - } - - /** - * Required. Points to a YAML file stored on Google Cloud Storage describing - * the import format. Validation will be done against the schema. The schema - * is defined as an [OpenAPI 3.0.2 Schema - * Object](https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.0.2.md#schemaObject). - * - * Generated from protobuf field string import_schema_uri = 4 [(.google.api.field_behavior) = REQUIRED]; - * @return string - */ - public function getImportSchemaUri() - { - return $this->import_schema_uri; - } - - /** - * Required. Points to a YAML file stored on Google Cloud Storage describing - * the import format. Validation will be done against the schema. The schema - * is defined as an [OpenAPI 3.0.2 Schema - * Object](https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.0.2.md#schemaObject). - * - * Generated from protobuf field string import_schema_uri = 4 [(.google.api.field_behavior) = REQUIRED]; - * @param string $var - * @return $this - */ - public function setImportSchemaUri($var) - { - GPBUtil::checkString($var, True); - $this->import_schema_uri = $var; - - return $this; - } - - /** - * @return string - */ - public function getSource() - { - return $this->whichOneof("source"); - } - -} - diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ImportDataOperationMetadata.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ImportDataOperationMetadata.php deleted file mode 100644 index 1a48b997790c..000000000000 --- a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ImportDataOperationMetadata.php +++ /dev/null @@ -1,78 +0,0 @@ -google.cloud.aiplatform.v1.ImportDataOperationMetadata - */ -class ImportDataOperationMetadata extends \Google\Protobuf\Internal\Message -{ - /** - * The common part of the operation metadata. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.GenericOperationMetadata generic_metadata = 1; - */ - protected $generic_metadata = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type \Google\Cloud\AIPlatform\V1\GenericOperationMetadata $generic_metadata - * The common part of the operation metadata. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Cloud\Aiplatform\V1\DatasetService::initOnce(); - parent::__construct($data); - } - - /** - * The common part of the operation metadata. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.GenericOperationMetadata generic_metadata = 1; - * @return \Google\Cloud\AIPlatform\V1\GenericOperationMetadata|null - */ - public function getGenericMetadata() - { - return $this->generic_metadata; - } - - public function hasGenericMetadata() - { - return isset($this->generic_metadata); - } - - public function clearGenericMetadata() - { - unset($this->generic_metadata); - } - - /** - * The common part of the operation metadata. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.GenericOperationMetadata generic_metadata = 1; - * @param \Google\Cloud\AIPlatform\V1\GenericOperationMetadata $var - * @return $this - */ - public function setGenericMetadata($var) - { - GPBUtil::checkMessage($var, \Google\Cloud\AIPlatform\V1\GenericOperationMetadata::class); - $this->generic_metadata = $var; - - return $this; - } - -} - diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ImportDataRequest.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ImportDataRequest.php deleted file mode 100644 index ace093762889..000000000000 --- a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ImportDataRequest.php +++ /dev/null @@ -1,133 +0,0 @@ -google.cloud.aiplatform.v1.ImportDataRequest - */ -class ImportDataRequest extends \Google\Protobuf\Internal\Message -{ - /** - * Required. The name of the Dataset resource. - * Format: - * `projects/{project}/locations/{location}/datasets/{dataset}` - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - */ - protected $name = ''; - /** - * Required. The desired input locations. The contents of all input locations - * will be imported in one batch. - * - * Generated from protobuf field repeated .google.cloud.aiplatform.v1.ImportDataConfig import_configs = 2 [(.google.api.field_behavior) = REQUIRED]; - */ - private $import_configs; - - /** - * @param string $name Required. The name of the Dataset resource. - * Format: - * `projects/{project}/locations/{location}/datasets/{dataset}` - * Please see {@see DatasetServiceClient::datasetName()} for help formatting this field. - * @param \Google\Cloud\AIPlatform\V1\ImportDataConfig[] $importConfigs Required. The desired input locations. The contents of all input locations - * will be imported in one batch. - * - * @return \Google\Cloud\AIPlatform\V1\ImportDataRequest - * - * @experimental - */ - public static function build(string $name, array $importConfigs): self - { - return (new self()) - ->setName($name) - ->setImportConfigs($importConfigs); - } - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $name - * Required. The name of the Dataset resource. - * Format: - * `projects/{project}/locations/{location}/datasets/{dataset}` - * @type array<\Google\Cloud\AIPlatform\V1\ImportDataConfig>|\Google\Protobuf\Internal\RepeatedField $import_configs - * Required. The desired input locations. The contents of all input locations - * will be imported in one batch. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Cloud\Aiplatform\V1\DatasetService::initOnce(); - parent::__construct($data); - } - - /** - * Required. The name of the Dataset resource. - * Format: - * `projects/{project}/locations/{location}/datasets/{dataset}` - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - * @return string - */ - public function getName() - { - return $this->name; - } - - /** - * Required. The name of the Dataset resource. - * Format: - * `projects/{project}/locations/{location}/datasets/{dataset}` - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setName($var) - { - GPBUtil::checkString($var, True); - $this->name = $var; - - return $this; - } - - /** - * Required. The desired input locations. The contents of all input locations - * will be imported in one batch. - * - * Generated from protobuf field repeated .google.cloud.aiplatform.v1.ImportDataConfig import_configs = 2 [(.google.api.field_behavior) = REQUIRED]; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getImportConfigs() - { - return $this->import_configs; - } - - /** - * Required. The desired input locations. The contents of all input locations - * will be imported in one batch. - * - * Generated from protobuf field repeated .google.cloud.aiplatform.v1.ImportDataConfig import_configs = 2 [(.google.api.field_behavior) = REQUIRED]; - * @param array<\Google\Cloud\AIPlatform\V1\ImportDataConfig>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setImportConfigs($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\AIPlatform\V1\ImportDataConfig::class); - $this->import_configs = $arr; - - return $this; - } - -} - diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ImportDataResponse.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ImportDataResponse.php deleted file mode 100644 index ceb2be4c7162..000000000000 --- a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ImportDataResponse.php +++ /dev/null @@ -1,34 +0,0 @@ -google.cloud.aiplatform.v1.ImportDataResponse - */ -class ImportDataResponse extends \Google\Protobuf\Internal\Message -{ - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Cloud\Aiplatform\V1\DatasetService::initOnce(); - parent::__construct($data); - } - -} - diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ImportFeatureValuesOperationMetadata.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ImportFeatureValuesOperationMetadata.php deleted file mode 100644 index 76962935d539..000000000000 --- a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ImportFeatureValuesOperationMetadata.php +++ /dev/null @@ -1,305 +0,0 @@ -google.cloud.aiplatform.v1.ImportFeatureValuesOperationMetadata - */ -class ImportFeatureValuesOperationMetadata extends \Google\Protobuf\Internal\Message -{ - /** - * Operation metadata for Featurestore import Feature values. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.GenericOperationMetadata generic_metadata = 1; - */ - protected $generic_metadata = null; - /** - * Number of entities that have been imported by the operation. - * - * Generated from protobuf field int64 imported_entity_count = 2; - */ - protected $imported_entity_count = 0; - /** - * Number of Feature values that have been imported by the operation. - * - * Generated from protobuf field int64 imported_feature_value_count = 3; - */ - protected $imported_feature_value_count = 0; - /** - * The source URI from where Feature values are imported. - * - * Generated from protobuf field repeated string source_uris = 4; - */ - private $source_uris; - /** - * The number of rows in input source that weren't imported due to either - * * Not having any featureValues. - * * Having a null entityId. - * * Having a null timestamp. - * * Not being parsable (applicable for CSV sources). - * - * Generated from protobuf field int64 invalid_row_count = 6; - */ - protected $invalid_row_count = 0; - /** - * The number rows that weren't ingested due to having timestamps outside the - * retention boundary. - * - * Generated from protobuf field int64 timestamp_outside_retention_rows_count = 7; - */ - protected $timestamp_outside_retention_rows_count = 0; - /** - * List of ImportFeatureValues operations running under a single EntityType - * that are blocking this operation. - * - * Generated from protobuf field repeated int64 blocking_operation_ids = 8; - */ - private $blocking_operation_ids; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type \Google\Cloud\AIPlatform\V1\GenericOperationMetadata $generic_metadata - * Operation metadata for Featurestore import Feature values. - * @type int|string $imported_entity_count - * Number of entities that have been imported by the operation. - * @type int|string $imported_feature_value_count - * Number of Feature values that have been imported by the operation. - * @type array|\Google\Protobuf\Internal\RepeatedField $source_uris - * The source URI from where Feature values are imported. - * @type int|string $invalid_row_count - * The number of rows in input source that weren't imported due to either - * * Not having any featureValues. - * * Having a null entityId. - * * Having a null timestamp. - * * Not being parsable (applicable for CSV sources). - * @type int|string $timestamp_outside_retention_rows_count - * The number rows that weren't ingested due to having timestamps outside the - * retention boundary. - * @type array|array|\Google\Protobuf\Internal\RepeatedField $blocking_operation_ids - * List of ImportFeatureValues operations running under a single EntityType - * that are blocking this operation. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Cloud\Aiplatform\V1\FeaturestoreService::initOnce(); - parent::__construct($data); - } - - /** - * Operation metadata for Featurestore import Feature values. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.GenericOperationMetadata generic_metadata = 1; - * @return \Google\Cloud\AIPlatform\V1\GenericOperationMetadata|null - */ - public function getGenericMetadata() - { - return $this->generic_metadata; - } - - public function hasGenericMetadata() - { - return isset($this->generic_metadata); - } - - public function clearGenericMetadata() - { - unset($this->generic_metadata); - } - - /** - * Operation metadata for Featurestore import Feature values. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.GenericOperationMetadata generic_metadata = 1; - * @param \Google\Cloud\AIPlatform\V1\GenericOperationMetadata $var - * @return $this - */ - public function setGenericMetadata($var) - { - GPBUtil::checkMessage($var, \Google\Cloud\AIPlatform\V1\GenericOperationMetadata::class); - $this->generic_metadata = $var; - - return $this; - } - - /** - * Number of entities that have been imported by the operation. - * - * Generated from protobuf field int64 imported_entity_count = 2; - * @return int|string - */ - public function getImportedEntityCount() - { - return $this->imported_entity_count; - } - - /** - * Number of entities that have been imported by the operation. - * - * Generated from protobuf field int64 imported_entity_count = 2; - * @param int|string $var - * @return $this - */ - public function setImportedEntityCount($var) - { - GPBUtil::checkInt64($var); - $this->imported_entity_count = $var; - - return $this; - } - - /** - * Number of Feature values that have been imported by the operation. - * - * Generated from protobuf field int64 imported_feature_value_count = 3; - * @return int|string - */ - public function getImportedFeatureValueCount() - { - return $this->imported_feature_value_count; - } - - /** - * Number of Feature values that have been imported by the operation. - * - * Generated from protobuf field int64 imported_feature_value_count = 3; - * @param int|string $var - * @return $this - */ - public function setImportedFeatureValueCount($var) - { - GPBUtil::checkInt64($var); - $this->imported_feature_value_count = $var; - - return $this; - } - - /** - * The source URI from where Feature values are imported. - * - * Generated from protobuf field repeated string source_uris = 4; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getSourceUris() - { - return $this->source_uris; - } - - /** - * The source URI from where Feature values are imported. - * - * Generated from protobuf field repeated string source_uris = 4; - * @param array|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setSourceUris($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING); - $this->source_uris = $arr; - - return $this; - } - - /** - * The number of rows in input source that weren't imported due to either - * * Not having any featureValues. - * * Having a null entityId. - * * Having a null timestamp. - * * Not being parsable (applicable for CSV sources). - * - * Generated from protobuf field int64 invalid_row_count = 6; - * @return int|string - */ - public function getInvalidRowCount() - { - return $this->invalid_row_count; - } - - /** - * The number of rows in input source that weren't imported due to either - * * Not having any featureValues. - * * Having a null entityId. - * * Having a null timestamp. - * * Not being parsable (applicable for CSV sources). - * - * Generated from protobuf field int64 invalid_row_count = 6; - * @param int|string $var - * @return $this - */ - public function setInvalidRowCount($var) - { - GPBUtil::checkInt64($var); - $this->invalid_row_count = $var; - - return $this; - } - - /** - * The number rows that weren't ingested due to having timestamps outside the - * retention boundary. - * - * Generated from protobuf field int64 timestamp_outside_retention_rows_count = 7; - * @return int|string - */ - public function getTimestampOutsideRetentionRowsCount() - { - return $this->timestamp_outside_retention_rows_count; - } - - /** - * The number rows that weren't ingested due to having timestamps outside the - * retention boundary. - * - * Generated from protobuf field int64 timestamp_outside_retention_rows_count = 7; - * @param int|string $var - * @return $this - */ - public function setTimestampOutsideRetentionRowsCount($var) - { - GPBUtil::checkInt64($var); - $this->timestamp_outside_retention_rows_count = $var; - - return $this; - } - - /** - * List of ImportFeatureValues operations running under a single EntityType - * that are blocking this operation. - * - * Generated from protobuf field repeated int64 blocking_operation_ids = 8; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getBlockingOperationIds() - { - return $this->blocking_operation_ids; - } - - /** - * List of ImportFeatureValues operations running under a single EntityType - * that are blocking this operation. - * - * Generated from protobuf field repeated int64 blocking_operation_ids = 8; - * @param array|array|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setBlockingOperationIds($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::INT64); - $this->blocking_operation_ids = $arr; - - return $this; - } - -} - diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ImportFeatureValuesRequest.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ImportFeatureValuesRequest.php deleted file mode 100644 index fc918281d7f3..000000000000 --- a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ImportFeatureValuesRequest.php +++ /dev/null @@ -1,476 +0,0 @@ -google.cloud.aiplatform.v1.ImportFeatureValuesRequest - */ -class ImportFeatureValuesRequest extends \Google\Protobuf\Internal\Message -{ - /** - * Required. The resource name of the EntityType grouping the Features for - * which values are being imported. Format: - * `projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entityType}` - * - * Generated from protobuf field string entity_type = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - */ - protected $entity_type = ''; - /** - * Source column that holds entity IDs. If not provided, entity IDs are - * extracted from the column named entity_id. - * - * Generated from protobuf field string entity_id_field = 5; - */ - protected $entity_id_field = ''; - /** - * Required. Specifications defining which Feature values to import from the - * entity. The request fails if no feature_specs are provided, and having - * multiple feature_specs for one Feature is not allowed. - * - * Generated from protobuf field repeated .google.cloud.aiplatform.v1.ImportFeatureValuesRequest.FeatureSpec feature_specs = 8 [(.google.api.field_behavior) = REQUIRED]; - */ - private $feature_specs; - /** - * If set, data will not be imported for online serving. This - * is typically used for backfilling, where Feature generation timestamps are - * not in the timestamp range needed for online serving. - * - * Generated from protobuf field bool disable_online_serving = 9; - */ - protected $disable_online_serving = false; - /** - * Specifies the number of workers that are used to write data to the - * Featurestore. Consider the online serving capacity that you require to - * achieve the desired import throughput without interfering with online - * serving. The value must be positive, and less than or equal to 100. - * If not set, defaults to using 1 worker. The low count ensures minimal - * impact on online serving performance. - * - * Generated from protobuf field int32 worker_count = 11; - */ - protected $worker_count = 0; - /** - * If true, API doesn't start ingestion analysis pipeline. - * - * Generated from protobuf field bool disable_ingestion_analysis = 12; - */ - protected $disable_ingestion_analysis = false; - protected $source; - protected $feature_time_source; - - /** - * @param string $entityType Required. The resource name of the EntityType grouping the Features for - * which values are being imported. Format: - * `projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entityType}` - * Please see {@see FeaturestoreServiceClient::entityTypeName()} for help formatting this field. - * - * @return \Google\Cloud\AIPlatform\V1\ImportFeatureValuesRequest - * - * @experimental - */ - public static function build(string $entityType): self - { - return (new self()) - ->setEntityType($entityType); - } - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type \Google\Cloud\AIPlatform\V1\AvroSource $avro_source - * @type \Google\Cloud\AIPlatform\V1\BigQuerySource $bigquery_source - * @type \Google\Cloud\AIPlatform\V1\CsvSource $csv_source - * @type string $feature_time_field - * Source column that holds the Feature timestamp for all Feature - * values in each entity. - * @type \Google\Protobuf\Timestamp $feature_time - * Single Feature timestamp for all entities being imported. The - * timestamp must not have higher than millisecond precision. - * @type string $entity_type - * Required. The resource name of the EntityType grouping the Features for - * which values are being imported. Format: - * `projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entityType}` - * @type string $entity_id_field - * Source column that holds entity IDs. If not provided, entity IDs are - * extracted from the column named entity_id. - * @type array<\Google\Cloud\AIPlatform\V1\ImportFeatureValuesRequest\FeatureSpec>|\Google\Protobuf\Internal\RepeatedField $feature_specs - * Required. Specifications defining which Feature values to import from the - * entity. The request fails if no feature_specs are provided, and having - * multiple feature_specs for one Feature is not allowed. - * @type bool $disable_online_serving - * If set, data will not be imported for online serving. This - * is typically used for backfilling, where Feature generation timestamps are - * not in the timestamp range needed for online serving. - * @type int $worker_count - * Specifies the number of workers that are used to write data to the - * Featurestore. Consider the online serving capacity that you require to - * achieve the desired import throughput without interfering with online - * serving. The value must be positive, and less than or equal to 100. - * If not set, defaults to using 1 worker. The low count ensures minimal - * impact on online serving performance. - * @type bool $disable_ingestion_analysis - * If true, API doesn't start ingestion analysis pipeline. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Cloud\Aiplatform\V1\FeaturestoreService::initOnce(); - parent::__construct($data); - } - - /** - * Generated from protobuf field .google.cloud.aiplatform.v1.AvroSource avro_source = 2; - * @return \Google\Cloud\AIPlatform\V1\AvroSource|null - */ - public function getAvroSource() - { - return $this->readOneof(2); - } - - public function hasAvroSource() - { - return $this->hasOneof(2); - } - - /** - * Generated from protobuf field .google.cloud.aiplatform.v1.AvroSource avro_source = 2; - * @param \Google\Cloud\AIPlatform\V1\AvroSource $var - * @return $this - */ - public function setAvroSource($var) - { - GPBUtil::checkMessage($var, \Google\Cloud\AIPlatform\V1\AvroSource::class); - $this->writeOneof(2, $var); - - return $this; - } - - /** - * Generated from protobuf field .google.cloud.aiplatform.v1.BigQuerySource bigquery_source = 3; - * @return \Google\Cloud\AIPlatform\V1\BigQuerySource|null - */ - public function getBigquerySource() - { - return $this->readOneof(3); - } - - public function hasBigquerySource() - { - return $this->hasOneof(3); - } - - /** - * Generated from protobuf field .google.cloud.aiplatform.v1.BigQuerySource bigquery_source = 3; - * @param \Google\Cloud\AIPlatform\V1\BigQuerySource $var - * @return $this - */ - public function setBigquerySource($var) - { - GPBUtil::checkMessage($var, \Google\Cloud\AIPlatform\V1\BigQuerySource::class); - $this->writeOneof(3, $var); - - return $this; - } - - /** - * Generated from protobuf field .google.cloud.aiplatform.v1.CsvSource csv_source = 4; - * @return \Google\Cloud\AIPlatform\V1\CsvSource|null - */ - public function getCsvSource() - { - return $this->readOneof(4); - } - - public function hasCsvSource() - { - return $this->hasOneof(4); - } - - /** - * Generated from protobuf field .google.cloud.aiplatform.v1.CsvSource csv_source = 4; - * @param \Google\Cloud\AIPlatform\V1\CsvSource $var - * @return $this - */ - public function setCsvSource($var) - { - GPBUtil::checkMessage($var, \Google\Cloud\AIPlatform\V1\CsvSource::class); - $this->writeOneof(4, $var); - - return $this; - } - - /** - * Source column that holds the Feature timestamp for all Feature - * values in each entity. - * - * Generated from protobuf field string feature_time_field = 6; - * @return string - */ - public function getFeatureTimeField() - { - return $this->readOneof(6); - } - - public function hasFeatureTimeField() - { - return $this->hasOneof(6); - } - - /** - * Source column that holds the Feature timestamp for all Feature - * values in each entity. - * - * Generated from protobuf field string feature_time_field = 6; - * @param string $var - * @return $this - */ - public function setFeatureTimeField($var) - { - GPBUtil::checkString($var, True); - $this->writeOneof(6, $var); - - return $this; - } - - /** - * Single Feature timestamp for all entities being imported. The - * timestamp must not have higher than millisecond precision. - * - * Generated from protobuf field .google.protobuf.Timestamp feature_time = 7; - * @return \Google\Protobuf\Timestamp|null - */ - public function getFeatureTime() - { - return $this->readOneof(7); - } - - public function hasFeatureTime() - { - return $this->hasOneof(7); - } - - /** - * Single Feature timestamp for all entities being imported. The - * timestamp must not have higher than millisecond precision. - * - * Generated from protobuf field .google.protobuf.Timestamp feature_time = 7; - * @param \Google\Protobuf\Timestamp $var - * @return $this - */ - public function setFeatureTime($var) - { - GPBUtil::checkMessage($var, \Google\Protobuf\Timestamp::class); - $this->writeOneof(7, $var); - - return $this; - } - - /** - * Required. The resource name of the EntityType grouping the Features for - * which values are being imported. Format: - * `projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entityType}` - * - * Generated from protobuf field string entity_type = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - * @return string - */ - public function getEntityType() - { - return $this->entity_type; - } - - /** - * Required. The resource name of the EntityType grouping the Features for - * which values are being imported. Format: - * `projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entityType}` - * - * Generated from protobuf field string entity_type = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setEntityType($var) - { - GPBUtil::checkString($var, True); - $this->entity_type = $var; - - return $this; - } - - /** - * Source column that holds entity IDs. If not provided, entity IDs are - * extracted from the column named entity_id. - * - * Generated from protobuf field string entity_id_field = 5; - * @return string - */ - public function getEntityIdField() - { - return $this->entity_id_field; - } - - /** - * Source column that holds entity IDs. If not provided, entity IDs are - * extracted from the column named entity_id. - * - * Generated from protobuf field string entity_id_field = 5; - * @param string $var - * @return $this - */ - public function setEntityIdField($var) - { - GPBUtil::checkString($var, True); - $this->entity_id_field = $var; - - return $this; - } - - /** - * Required. Specifications defining which Feature values to import from the - * entity. The request fails if no feature_specs are provided, and having - * multiple feature_specs for one Feature is not allowed. - * - * Generated from protobuf field repeated .google.cloud.aiplatform.v1.ImportFeatureValuesRequest.FeatureSpec feature_specs = 8 [(.google.api.field_behavior) = REQUIRED]; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getFeatureSpecs() - { - return $this->feature_specs; - } - - /** - * Required. Specifications defining which Feature values to import from the - * entity. The request fails if no feature_specs are provided, and having - * multiple feature_specs for one Feature is not allowed. - * - * Generated from protobuf field repeated .google.cloud.aiplatform.v1.ImportFeatureValuesRequest.FeatureSpec feature_specs = 8 [(.google.api.field_behavior) = REQUIRED]; - * @param array<\Google\Cloud\AIPlatform\V1\ImportFeatureValuesRequest\FeatureSpec>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setFeatureSpecs($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\AIPlatform\V1\ImportFeatureValuesRequest\FeatureSpec::class); - $this->feature_specs = $arr; - - return $this; - } - - /** - * If set, data will not be imported for online serving. This - * is typically used for backfilling, where Feature generation timestamps are - * not in the timestamp range needed for online serving. - * - * Generated from protobuf field bool disable_online_serving = 9; - * @return bool - */ - public function getDisableOnlineServing() - { - return $this->disable_online_serving; - } - - /** - * If set, data will not be imported for online serving. This - * is typically used for backfilling, where Feature generation timestamps are - * not in the timestamp range needed for online serving. - * - * Generated from protobuf field bool disable_online_serving = 9; - * @param bool $var - * @return $this - */ - public function setDisableOnlineServing($var) - { - GPBUtil::checkBool($var); - $this->disable_online_serving = $var; - - return $this; - } - - /** - * Specifies the number of workers that are used to write data to the - * Featurestore. Consider the online serving capacity that you require to - * achieve the desired import throughput without interfering with online - * serving. The value must be positive, and less than or equal to 100. - * If not set, defaults to using 1 worker. The low count ensures minimal - * impact on online serving performance. - * - * Generated from protobuf field int32 worker_count = 11; - * @return int - */ - public function getWorkerCount() - { - return $this->worker_count; - } - - /** - * Specifies the number of workers that are used to write data to the - * Featurestore. Consider the online serving capacity that you require to - * achieve the desired import throughput without interfering with online - * serving. The value must be positive, and less than or equal to 100. - * If not set, defaults to using 1 worker. The low count ensures minimal - * impact on online serving performance. - * - * Generated from protobuf field int32 worker_count = 11; - * @param int $var - * @return $this - */ - public function setWorkerCount($var) - { - GPBUtil::checkInt32($var); - $this->worker_count = $var; - - return $this; - } - - /** - * If true, API doesn't start ingestion analysis pipeline. - * - * Generated from protobuf field bool disable_ingestion_analysis = 12; - * @return bool - */ - public function getDisableIngestionAnalysis() - { - return $this->disable_ingestion_analysis; - } - - /** - * If true, API doesn't start ingestion analysis pipeline. - * - * Generated from protobuf field bool disable_ingestion_analysis = 12; - * @param bool $var - * @return $this - */ - public function setDisableIngestionAnalysis($var) - { - GPBUtil::checkBool($var); - $this->disable_ingestion_analysis = $var; - - return $this; - } - - /** - * @return string - */ - public function getSource() - { - return $this->whichOneof("source"); - } - - /** - * @return string - */ - public function getFeatureTimeSource() - { - return $this->whichOneof("feature_time_source"); - } - -} - diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ImportFeatureValuesRequest/FeatureSpec.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ImportFeatureValuesRequest/FeatureSpec.php deleted file mode 100644 index 50dc0498070b..000000000000 --- a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ImportFeatureValuesRequest/FeatureSpec.php +++ /dev/null @@ -1,112 +0,0 @@ -google.cloud.aiplatform.v1.ImportFeatureValuesRequest.FeatureSpec - */ -class FeatureSpec extends \Google\Protobuf\Internal\Message -{ - /** - * Required. ID of the Feature to import values of. This Feature must exist - * in the target EntityType, or the request will fail. - * - * Generated from protobuf field string id = 1 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $id = ''; - /** - * Source column to get the Feature values from. If not set, uses the column - * with the same name as the Feature ID. - * - * Generated from protobuf field string source_field = 2; - */ - protected $source_field = ''; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $id - * Required. ID of the Feature to import values of. This Feature must exist - * in the target EntityType, or the request will fail. - * @type string $source_field - * Source column to get the Feature values from. If not set, uses the column - * with the same name as the Feature ID. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Cloud\Aiplatform\V1\FeaturestoreService::initOnce(); - parent::__construct($data); - } - - /** - * Required. ID of the Feature to import values of. This Feature must exist - * in the target EntityType, or the request will fail. - * - * Generated from protobuf field string id = 1 [(.google.api.field_behavior) = REQUIRED]; - * @return string - */ - public function getId() - { - return $this->id; - } - - /** - * Required. ID of the Feature to import values of. This Feature must exist - * in the target EntityType, or the request will fail. - * - * Generated from protobuf field string id = 1 [(.google.api.field_behavior) = REQUIRED]; - * @param string $var - * @return $this - */ - public function setId($var) - { - GPBUtil::checkString($var, True); - $this->id = $var; - - return $this; - } - - /** - * Source column to get the Feature values from. If not set, uses the column - * with the same name as the Feature ID. - * - * Generated from protobuf field string source_field = 2; - * @return string - */ - public function getSourceField() - { - return $this->source_field; - } - - /** - * Source column to get the Feature values from. If not set, uses the column - * with the same name as the Feature ID. - * - * Generated from protobuf field string source_field = 2; - * @param string $var - * @return $this - */ - public function setSourceField($var) - { - GPBUtil::checkString($var, True); - $this->source_field = $var; - - return $this; - } - -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(FeatureSpec::class, \Google\Cloud\AIPlatform\V1\ImportFeatureValuesRequest_FeatureSpec::class); - diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ImportFeatureValuesResponse.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ImportFeatureValuesResponse.php deleted file mode 100644 index 58c16ef19321..000000000000 --- a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ImportFeatureValuesResponse.php +++ /dev/null @@ -1,190 +0,0 @@ -google.cloud.aiplatform.v1.ImportFeatureValuesResponse - */ -class ImportFeatureValuesResponse extends \Google\Protobuf\Internal\Message -{ - /** - * Number of entities that have been imported by the operation. - * - * Generated from protobuf field int64 imported_entity_count = 1; - */ - protected $imported_entity_count = 0; - /** - * Number of Feature values that have been imported by the operation. - * - * Generated from protobuf field int64 imported_feature_value_count = 2; - */ - protected $imported_feature_value_count = 0; - /** - * The number of rows in input source that weren't imported due to either - * * Not having any featureValues. - * * Having a null entityId. - * * Having a null timestamp. - * * Not being parsable (applicable for CSV sources). - * - * Generated from protobuf field int64 invalid_row_count = 6; - */ - protected $invalid_row_count = 0; - /** - * The number rows that weren't ingested due to having feature timestamps - * outside the retention boundary. - * - * Generated from protobuf field int64 timestamp_outside_retention_rows_count = 4; - */ - protected $timestamp_outside_retention_rows_count = 0; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type int|string $imported_entity_count - * Number of entities that have been imported by the operation. - * @type int|string $imported_feature_value_count - * Number of Feature values that have been imported by the operation. - * @type int|string $invalid_row_count - * The number of rows in input source that weren't imported due to either - * * Not having any featureValues. - * * Having a null entityId. - * * Having a null timestamp. - * * Not being parsable (applicable for CSV sources). - * @type int|string $timestamp_outside_retention_rows_count - * The number rows that weren't ingested due to having feature timestamps - * outside the retention boundary. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Cloud\Aiplatform\V1\FeaturestoreService::initOnce(); - parent::__construct($data); - } - - /** - * Number of entities that have been imported by the operation. - * - * Generated from protobuf field int64 imported_entity_count = 1; - * @return int|string - */ - public function getImportedEntityCount() - { - return $this->imported_entity_count; - } - - /** - * Number of entities that have been imported by the operation. - * - * Generated from protobuf field int64 imported_entity_count = 1; - * @param int|string $var - * @return $this - */ - public function setImportedEntityCount($var) - { - GPBUtil::checkInt64($var); - $this->imported_entity_count = $var; - - return $this; - } - - /** - * Number of Feature values that have been imported by the operation. - * - * Generated from protobuf field int64 imported_feature_value_count = 2; - * @return int|string - */ - public function getImportedFeatureValueCount() - { - return $this->imported_feature_value_count; - } - - /** - * Number of Feature values that have been imported by the operation. - * - * Generated from protobuf field int64 imported_feature_value_count = 2; - * @param int|string $var - * @return $this - */ - public function setImportedFeatureValueCount($var) - { - GPBUtil::checkInt64($var); - $this->imported_feature_value_count = $var; - - return $this; - } - - /** - * The number of rows in input source that weren't imported due to either - * * Not having any featureValues. - * * Having a null entityId. - * * Having a null timestamp. - * * Not being parsable (applicable for CSV sources). - * - * Generated from protobuf field int64 invalid_row_count = 6; - * @return int|string - */ - public function getInvalidRowCount() - { - return $this->invalid_row_count; - } - - /** - * The number of rows in input source that weren't imported due to either - * * Not having any featureValues. - * * Having a null entityId. - * * Having a null timestamp. - * * Not being parsable (applicable for CSV sources). - * - * Generated from protobuf field int64 invalid_row_count = 6; - * @param int|string $var - * @return $this - */ - public function setInvalidRowCount($var) - { - GPBUtil::checkInt64($var); - $this->invalid_row_count = $var; - - return $this; - } - - /** - * The number rows that weren't ingested due to having feature timestamps - * outside the retention boundary. - * - * Generated from protobuf field int64 timestamp_outside_retention_rows_count = 4; - * @return int|string - */ - public function getTimestampOutsideRetentionRowsCount() - { - return $this->timestamp_outside_retention_rows_count; - } - - /** - * The number rows that weren't ingested due to having feature timestamps - * outside the retention boundary. - * - * Generated from protobuf field int64 timestamp_outside_retention_rows_count = 4; - * @param int|string $var - * @return $this - */ - public function setTimestampOutsideRetentionRowsCount($var) - { - GPBUtil::checkInt64($var); - $this->timestamp_outside_retention_rows_count = $var; - - return $this; - } - -} - diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ImportModelEvaluationRequest.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ImportModelEvaluationRequest.php deleted file mode 100644 index ff11a54b2eed..000000000000 --- a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ImportModelEvaluationRequest.php +++ /dev/null @@ -1,133 +0,0 @@ -google.cloud.aiplatform.v1.ImportModelEvaluationRequest - */ -class ImportModelEvaluationRequest extends \Google\Protobuf\Internal\Message -{ - /** - * Required. The name of the parent model resource. - * Format: `projects/{project}/locations/{location}/models/{model}` - * - * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - */ - protected $parent = ''; - /** - * Required. Model evaluation resource to be imported. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.ModelEvaluation model_evaluation = 2 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $model_evaluation = null; - - /** - * @param string $parent Required. The name of the parent model resource. - * Format: `projects/{project}/locations/{location}/models/{model}` - * Please see {@see ModelServiceClient::modelName()} for help formatting this field. - * @param \Google\Cloud\AIPlatform\V1\ModelEvaluation $modelEvaluation Required. Model evaluation resource to be imported. - * - * @return \Google\Cloud\AIPlatform\V1\ImportModelEvaluationRequest - * - * @experimental - */ - public static function build(string $parent, \Google\Cloud\AIPlatform\V1\ModelEvaluation $modelEvaluation): self - { - return (new self()) - ->setParent($parent) - ->setModelEvaluation($modelEvaluation); - } - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $parent - * Required. The name of the parent model resource. - * Format: `projects/{project}/locations/{location}/models/{model}` - * @type \Google\Cloud\AIPlatform\V1\ModelEvaluation $model_evaluation - * Required. Model evaluation resource to be imported. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Cloud\Aiplatform\V1\ModelService::initOnce(); - parent::__construct($data); - } - - /** - * Required. The name of the parent model resource. - * Format: `projects/{project}/locations/{location}/models/{model}` - * - * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - * @return string - */ - public function getParent() - { - return $this->parent; - } - - /** - * Required. The name of the parent model resource. - * Format: `projects/{project}/locations/{location}/models/{model}` - * - * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { - * @param string $var - * @return $this - */ - public function setParent($var) - { - GPBUtil::checkString($var, True); - $this->parent = $var; - - return $this; - } - - /** - * Required. Model evaluation resource to be imported. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.ModelEvaluation model_evaluation = 2 [(.google.api.field_behavior) = REQUIRED]; - * @return \Google\Cloud\AIPlatform\V1\ModelEvaluation|null - */ - public function getModelEvaluation() - { - return $this->model_evaluation; - } - - public function hasModelEvaluation() - { - return isset($this->model_evaluation); - } - - public function clearModelEvaluation() - { - unset($this->model_evaluation); - } - - /** - * Required. Model evaluation resource to be imported. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.ModelEvaluation model_evaluation = 2 [(.google.api.field_behavior) = REQUIRED]; - * @param \Google\Cloud\AIPlatform\V1\ModelEvaluation $var - * @return $this - */ - public function setModelEvaluation($var) - { - GPBUtil::checkMessage($var, \Google\Cloud\AIPlatform\V1\ModelEvaluation::class); - $this->model_evaluation = $var; - - return $this; - } - -} - diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/Index.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/Index.php deleted file mode 100644 index 0a0de2535d09..000000000000 --- a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/Index.php +++ /dev/null @@ -1,634 +0,0 @@ -google.cloud.aiplatform.v1.Index - */ -class Index extends \Google\Protobuf\Internal\Message -{ - /** - * Output only. The resource name of the Index. - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $name = ''; - /** - * Required. The display name of the Index. - * The name can be up to 128 characters long and can consist of any UTF-8 - * characters. - * - * Generated from protobuf field string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $display_name = ''; - /** - * The description of the Index. - * - * Generated from protobuf field string description = 3; - */ - protected $description = ''; - /** - * Immutable. Points to a YAML file stored on Google Cloud Storage describing - * additional information about the Index, that is specific to it. Unset if - * the Index does not have any additional information. The schema is defined - * as an OpenAPI 3.0.2 [Schema - * Object](https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.0.2.md#schemaObject). - * Note: The URI given on output will be immutable and probably different, - * including the URI scheme, than the one given on input. The output URI will - * point to a location where the user only has a read access. - * - * Generated from protobuf field string metadata_schema_uri = 4 [(.google.api.field_behavior) = IMMUTABLE]; - */ - protected $metadata_schema_uri = ''; - /** - * An additional information about the Index; the schema of the metadata can - * be found in - * [metadata_schema][google.cloud.aiplatform.v1.Index.metadata_schema_uri]. - * - * Generated from protobuf field .google.protobuf.Value metadata = 6; - */ - protected $metadata = null; - /** - * Output only. The pointers to DeployedIndexes created from this Index. - * An Index can be only deleted if all its DeployedIndexes had been undeployed - * first. - * - * Generated from protobuf field repeated .google.cloud.aiplatform.v1.DeployedIndexRef deployed_indexes = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - private $deployed_indexes; - /** - * Used to perform consistent read-modify-write updates. If not set, a blind - * "overwrite" update happens. - * - * Generated from protobuf field string etag = 8; - */ - protected $etag = ''; - /** - * The labels with user-defined metadata to organize your Indexes. - * Label keys and values can be no longer than 64 characters - * (Unicode codepoints), can only contain lowercase letters, numeric - * characters, underscores and dashes. International characters are allowed. - * See https://goo.gl/xmQnxf for more information and examples of labels. - * - * Generated from protobuf field map labels = 9; - */ - private $labels; - /** - * Output only. Timestamp when this Index was created. - * - * Generated from protobuf field .google.protobuf.Timestamp create_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $create_time = null; - /** - * Output only. Timestamp when this Index was most recently updated. - * This also includes any update to the contents of the Index. - * Note that Operations working on this Index may have their - * [Operations.metadata.generic_metadata.update_time] - * [google.cloud.aiplatform.v1.GenericOperationMetadata.update_time] a little - * after the value of this timestamp, yet that does not mean their results are - * not already reflected in the Index. Result of any successfully completed - * Operation on the Index is reflected in it. - * - * Generated from protobuf field .google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $update_time = null; - /** - * Output only. Stats of the index resource. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.IndexStats index_stats = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $index_stats = null; - /** - * Immutable. The update method to use with this Index. If not set, - * BATCH_UPDATE will be used by default. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.Index.IndexUpdateMethod index_update_method = 16 [(.google.api.field_behavior) = IMMUTABLE]; - */ - protected $index_update_method = 0; - /** - * Immutable. Customer-managed encryption key spec for an Index. If set, this - * Index and all sub-resources of this Index will be secured by this key. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.EncryptionSpec encryption_spec = 17 [(.google.api.field_behavior) = IMMUTABLE]; - */ - protected $encryption_spec = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $name - * Output only. The resource name of the Index. - * @type string $display_name - * Required. The display name of the Index. - * The name can be up to 128 characters long and can consist of any UTF-8 - * characters. - * @type string $description - * The description of the Index. - * @type string $metadata_schema_uri - * Immutable. Points to a YAML file stored on Google Cloud Storage describing - * additional information about the Index, that is specific to it. Unset if - * the Index does not have any additional information. The schema is defined - * as an OpenAPI 3.0.2 [Schema - * Object](https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.0.2.md#schemaObject). - * Note: The URI given on output will be immutable and probably different, - * including the URI scheme, than the one given on input. The output URI will - * point to a location where the user only has a read access. - * @type \Google\Protobuf\Value $metadata - * An additional information about the Index; the schema of the metadata can - * be found in - * [metadata_schema][google.cloud.aiplatform.v1.Index.metadata_schema_uri]. - * @type array<\Google\Cloud\AIPlatform\V1\DeployedIndexRef>|\Google\Protobuf\Internal\RepeatedField $deployed_indexes - * Output only. The pointers to DeployedIndexes created from this Index. - * An Index can be only deleted if all its DeployedIndexes had been undeployed - * first. - * @type string $etag - * Used to perform consistent read-modify-write updates. If not set, a blind - * "overwrite" update happens. - * @type array|\Google\Protobuf\Internal\MapField $labels - * The labels with user-defined metadata to organize your Indexes. - * Label keys and values can be no longer than 64 characters - * (Unicode codepoints), can only contain lowercase letters, numeric - * characters, underscores and dashes. International characters are allowed. - * See https://goo.gl/xmQnxf for more information and examples of labels. - * @type \Google\Protobuf\Timestamp $create_time - * Output only. Timestamp when this Index was created. - * @type \Google\Protobuf\Timestamp $update_time - * Output only. Timestamp when this Index was most recently updated. - * This also includes any update to the contents of the Index. - * Note that Operations working on this Index may have their - * [Operations.metadata.generic_metadata.update_time] - * [google.cloud.aiplatform.v1.GenericOperationMetadata.update_time] a little - * after the value of this timestamp, yet that does not mean their results are - * not already reflected in the Index. Result of any successfully completed - * Operation on the Index is reflected in it. - * @type \Google\Cloud\AIPlatform\V1\IndexStats $index_stats - * Output only. Stats of the index resource. - * @type int $index_update_method - * Immutable. The update method to use with this Index. If not set, - * BATCH_UPDATE will be used by default. - * @type \Google\Cloud\AIPlatform\V1\EncryptionSpec $encryption_spec - * Immutable. Customer-managed encryption key spec for an Index. If set, this - * Index and all sub-resources of this Index will be secured by this key. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Cloud\Aiplatform\V1\Index::initOnce(); - parent::__construct($data); - } - - /** - * Output only. The resource name of the Index. - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return string - */ - public function getName() - { - return $this->name; - } - - /** - * Output only. The resource name of the Index. - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param string $var - * @return $this - */ - public function setName($var) - { - GPBUtil::checkString($var, True); - $this->name = $var; - - return $this; - } - - /** - * Required. The display name of the Index. - * The name can be up to 128 characters long and can consist of any UTF-8 - * characters. - * - * Generated from protobuf field string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; - * @return string - */ - public function getDisplayName() - { - return $this->display_name; - } - - /** - * Required. The display name of the Index. - * The name can be up to 128 characters long and can consist of any UTF-8 - * characters. - * - * Generated from protobuf field string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; - * @param string $var - * @return $this - */ - public function setDisplayName($var) - { - GPBUtil::checkString($var, True); - $this->display_name = $var; - - return $this; - } - - /** - * The description of the Index. - * - * Generated from protobuf field string description = 3; - * @return string - */ - public function getDescription() - { - return $this->description; - } - - /** - * The description of the Index. - * - * Generated from protobuf field string description = 3; - * @param string $var - * @return $this - */ - public function setDescription($var) - { - GPBUtil::checkString($var, True); - $this->description = $var; - - return $this; - } - - /** - * Immutable. Points to a YAML file stored on Google Cloud Storage describing - * additional information about the Index, that is specific to it. Unset if - * the Index does not have any additional information. The schema is defined - * as an OpenAPI 3.0.2 [Schema - * Object](https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.0.2.md#schemaObject). - * Note: The URI given on output will be immutable and probably different, - * including the URI scheme, than the one given on input. The output URI will - * point to a location where the user only has a read access. - * - * Generated from protobuf field string metadata_schema_uri = 4 [(.google.api.field_behavior) = IMMUTABLE]; - * @return string - */ - public function getMetadataSchemaUri() - { - return $this->metadata_schema_uri; - } - - /** - * Immutable. Points to a YAML file stored on Google Cloud Storage describing - * additional information about the Index, that is specific to it. Unset if - * the Index does not have any additional information. The schema is defined - * as an OpenAPI 3.0.2 [Schema - * Object](https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.0.2.md#schemaObject). - * Note: The URI given on output will be immutable and probably different, - * including the URI scheme, than the one given on input. The output URI will - * point to a location where the user only has a read access. - * - * Generated from protobuf field string metadata_schema_uri = 4 [(.google.api.field_behavior) = IMMUTABLE]; - * @param string $var - * @return $this - */ - public function setMetadataSchemaUri($var) - { - GPBUtil::checkString($var, True); - $this->metadata_schema_uri = $var; - - return $this; - } - - /** - * An additional information about the Index; the schema of the metadata can - * be found in - * [metadata_schema][google.cloud.aiplatform.v1.Index.metadata_schema_uri]. - * - * Generated from protobuf field .google.protobuf.Value metadata = 6; - * @return \Google\Protobuf\Value|null - */ - public function getMetadata() - { - return $this->metadata; - } - - public function hasMetadata() - { - return isset($this->metadata); - } - - public function clearMetadata() - { - unset($this->metadata); - } - - /** - * An additional information about the Index; the schema of the metadata can - * be found in - * [metadata_schema][google.cloud.aiplatform.v1.Index.metadata_schema_uri]. - * - * Generated from protobuf field .google.protobuf.Value metadata = 6; - * @param \Google\Protobuf\Value $var - * @return $this - */ - public function setMetadata($var) - { - GPBUtil::checkMessage($var, \Google\Protobuf\Value::class); - $this->metadata = $var; - - return $this; - } - - /** - * Output only. The pointers to DeployedIndexes created from this Index. - * An Index can be only deleted if all its DeployedIndexes had been undeployed - * first. - * - * Generated from protobuf field repeated .google.cloud.aiplatform.v1.DeployedIndexRef deployed_indexes = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getDeployedIndexes() - { - return $this->deployed_indexes; - } - - /** - * Output only. The pointers to DeployedIndexes created from this Index. - * An Index can be only deleted if all its DeployedIndexes had been undeployed - * first. - * - * Generated from protobuf field repeated .google.cloud.aiplatform.v1.DeployedIndexRef deployed_indexes = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param array<\Google\Cloud\AIPlatform\V1\DeployedIndexRef>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setDeployedIndexes($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\AIPlatform\V1\DeployedIndexRef::class); - $this->deployed_indexes = $arr; - - return $this; - } - - /** - * Used to perform consistent read-modify-write updates. If not set, a blind - * "overwrite" update happens. - * - * Generated from protobuf field string etag = 8; - * @return string - */ - public function getEtag() - { - return $this->etag; - } - - /** - * Used to perform consistent read-modify-write updates. If not set, a blind - * "overwrite" update happens. - * - * Generated from protobuf field string etag = 8; - * @param string $var - * @return $this - */ - public function setEtag($var) - { - GPBUtil::checkString($var, True); - $this->etag = $var; - - return $this; - } - - /** - * The labels with user-defined metadata to organize your Indexes. - * Label keys and values can be no longer than 64 characters - * (Unicode codepoints), can only contain lowercase letters, numeric - * characters, underscores and dashes. International characters are allowed. - * See https://goo.gl/xmQnxf for more information and examples of labels. - * - * Generated from protobuf field map labels = 9; - * @return \Google\Protobuf\Internal\MapField - */ - public function getLabels() - { - return $this->labels; - } - - /** - * The labels with user-defined metadata to organize your Indexes. - * Label keys and values can be no longer than 64 characters - * (Unicode codepoints), can only contain lowercase letters, numeric - * characters, underscores and dashes. International characters are allowed. - * See https://goo.gl/xmQnxf for more information and examples of labels. - * - * Generated from protobuf field map labels = 9; - * @param array|\Google\Protobuf\Internal\MapField $var - * @return $this - */ - public function setLabels($var) - { - $arr = GPBUtil::checkMapField($var, \Google\Protobuf\Internal\GPBType::STRING, \Google\Protobuf\Internal\GPBType::STRING); - $this->labels = $arr; - - return $this; - } - - /** - * Output only. Timestamp when this Index was created. - * - * Generated from protobuf field .google.protobuf.Timestamp create_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return \Google\Protobuf\Timestamp|null - */ - public function getCreateTime() - { - return $this->create_time; - } - - public function hasCreateTime() - { - return isset($this->create_time); - } - - public function clearCreateTime() - { - unset($this->create_time); - } - - /** - * Output only. Timestamp when this Index was created. - * - * Generated from protobuf field .google.protobuf.Timestamp create_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param \Google\Protobuf\Timestamp $var - * @return $this - */ - public function setCreateTime($var) - { - GPBUtil::checkMessage($var, \Google\Protobuf\Timestamp::class); - $this->create_time = $var; - - return $this; - } - - /** - * Output only. Timestamp when this Index was most recently updated. - * This also includes any update to the contents of the Index. - * Note that Operations working on this Index may have their - * [Operations.metadata.generic_metadata.update_time] - * [google.cloud.aiplatform.v1.GenericOperationMetadata.update_time] a little - * after the value of this timestamp, yet that does not mean their results are - * not already reflected in the Index. Result of any successfully completed - * Operation on the Index is reflected in it. - * - * Generated from protobuf field .google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return \Google\Protobuf\Timestamp|null - */ - public function getUpdateTime() - { - return $this->update_time; - } - - public function hasUpdateTime() - { - return isset($this->update_time); - } - - public function clearUpdateTime() - { - unset($this->update_time); - } - - /** - * Output only. Timestamp when this Index was most recently updated. - * This also includes any update to the contents of the Index. - * Note that Operations working on this Index may have their - * [Operations.metadata.generic_metadata.update_time] - * [google.cloud.aiplatform.v1.GenericOperationMetadata.update_time] a little - * after the value of this timestamp, yet that does not mean their results are - * not already reflected in the Index. Result of any successfully completed - * Operation on the Index is reflected in it. - * - * Generated from protobuf field .google.protobuf.Timestamp update_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param \Google\Protobuf\Timestamp $var - * @return $this - */ - public function setUpdateTime($var) - { - GPBUtil::checkMessage($var, \Google\Protobuf\Timestamp::class); - $this->update_time = $var; - - return $this; - } - - /** - * Output only. Stats of the index resource. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.IndexStats index_stats = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return \Google\Cloud\AIPlatform\V1\IndexStats|null - */ - public function getIndexStats() - { - return $this->index_stats; - } - - public function hasIndexStats() - { - return isset($this->index_stats); - } - - public function clearIndexStats() - { - unset($this->index_stats); - } - - /** - * Output only. Stats of the index resource. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.IndexStats index_stats = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param \Google\Cloud\AIPlatform\V1\IndexStats $var - * @return $this - */ - public function setIndexStats($var) - { - GPBUtil::checkMessage($var, \Google\Cloud\AIPlatform\V1\IndexStats::class); - $this->index_stats = $var; - - return $this; - } - - /** - * Immutable. The update method to use with this Index. If not set, - * BATCH_UPDATE will be used by default. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.Index.IndexUpdateMethod index_update_method = 16 [(.google.api.field_behavior) = IMMUTABLE]; - * @return int - */ - public function getIndexUpdateMethod() - { - return $this->index_update_method; - } - - /** - * Immutable. The update method to use with this Index. If not set, - * BATCH_UPDATE will be used by default. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.Index.IndexUpdateMethod index_update_method = 16 [(.google.api.field_behavior) = IMMUTABLE]; - * @param int $var - * @return $this - */ - public function setIndexUpdateMethod($var) - { - GPBUtil::checkEnum($var, \Google\Cloud\AIPlatform\V1\Index\IndexUpdateMethod::class); - $this->index_update_method = $var; - - return $this; - } - - /** - * Immutable. Customer-managed encryption key spec for an Index. If set, this - * Index and all sub-resources of this Index will be secured by this key. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.EncryptionSpec encryption_spec = 17 [(.google.api.field_behavior) = IMMUTABLE]; - * @return \Google\Cloud\AIPlatform\V1\EncryptionSpec|null - */ - public function getEncryptionSpec() - { - return $this->encryption_spec; - } - - public function hasEncryptionSpec() - { - return isset($this->encryption_spec); - } - - public function clearEncryptionSpec() - { - unset($this->encryption_spec); - } - - /** - * Immutable. Customer-managed encryption key spec for an Index. If set, this - * Index and all sub-resources of this Index will be secured by this key. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.EncryptionSpec encryption_spec = 17 [(.google.api.field_behavior) = IMMUTABLE]; - * @param \Google\Cloud\AIPlatform\V1\EncryptionSpec $var - * @return $this - */ - public function setEncryptionSpec($var) - { - GPBUtil::checkMessage($var, \Google\Cloud\AIPlatform\V1\EncryptionSpec::class); - $this->encryption_spec = $var; - - return $this; - } - -} - diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/Index/IndexUpdateMethod.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/Index/IndexUpdateMethod.php deleted file mode 100644 index 5c4a33a3b824..000000000000 --- a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/Index/IndexUpdateMethod.php +++ /dev/null @@ -1,67 +0,0 @@ -google.cloud.aiplatform.v1.Index.IndexUpdateMethod - */ -class IndexUpdateMethod -{ - /** - * Should not be used. - * - * Generated from protobuf enum INDEX_UPDATE_METHOD_UNSPECIFIED = 0; - */ - const INDEX_UPDATE_METHOD_UNSPECIFIED = 0; - /** - * BatchUpdate: user can call UpdateIndex with files on Cloud Storage of - * Datapoints to update. - * - * Generated from protobuf enum BATCH_UPDATE = 1; - */ - const BATCH_UPDATE = 1; - /** - * StreamUpdate: user can call UpsertDatapoints/DeleteDatapoints to update - * the Index and the updates will be applied in corresponding - * DeployedIndexes in nearly real-time. - * - * Generated from protobuf enum STREAM_UPDATE = 2; - */ - const STREAM_UPDATE = 2; - - private static $valueToName = [ - self::INDEX_UPDATE_METHOD_UNSPECIFIED => 'INDEX_UPDATE_METHOD_UNSPECIFIED', - self::BATCH_UPDATE => 'BATCH_UPDATE', - self::STREAM_UPDATE => 'STREAM_UPDATE', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(IndexUpdateMethod::class, \Google\Cloud\AIPlatform\V1\Index_IndexUpdateMethod::class); - diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/IndexDatapoint.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/IndexDatapoint.php deleted file mode 100644 index c9f76dc559b3..000000000000 --- a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/IndexDatapoint.php +++ /dev/null @@ -1,285 +0,0 @@ -google.cloud.aiplatform.v1.IndexDatapoint - */ -class IndexDatapoint extends \Google\Protobuf\Internal\Message -{ - /** - * Required. Unique identifier of the datapoint. - * - * Generated from protobuf field string datapoint_id = 1 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $datapoint_id = ''; - /** - * Required. Feature embedding vector for dense index. An array of numbers - * with the length of [NearestNeighborSearchConfig.dimensions]. - * - * Generated from protobuf field repeated float feature_vector = 2 [(.google.api.field_behavior) = REQUIRED]; - */ - private $feature_vector; - /** - * Optional. Feature embedding vector for sparse index. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.IndexDatapoint.SparseEmbedding sparse_embedding = 7 [(.google.api.field_behavior) = OPTIONAL]; - */ - protected $sparse_embedding = null; - /** - * Optional. List of Restrict of the datapoint, used to perform "restricted - * searches" where boolean rule are used to filter the subset of the database - * eligible for matching. This uses categorical tokens. See: - * https://cloud.google.com/vertex-ai/docs/matching-engine/filtering - * - * Generated from protobuf field repeated .google.cloud.aiplatform.v1.IndexDatapoint.Restriction restricts = 4 [(.google.api.field_behavior) = OPTIONAL]; - */ - private $restricts; - /** - * Optional. List of Restrict of the datapoint, used to perform "restricted - * searches" where boolean rule are used to filter the subset of the database - * eligible for matching. This uses numeric comparisons. - * - * Generated from protobuf field repeated .google.cloud.aiplatform.v1.IndexDatapoint.NumericRestriction numeric_restricts = 6 [(.google.api.field_behavior) = OPTIONAL]; - */ - private $numeric_restricts; - /** - * Optional. CrowdingTag of the datapoint, the number of neighbors to return - * in each crowding can be configured during query. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.IndexDatapoint.CrowdingTag crowding_tag = 5 [(.google.api.field_behavior) = OPTIONAL]; - */ - protected $crowding_tag = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $datapoint_id - * Required. Unique identifier of the datapoint. - * @type array|\Google\Protobuf\Internal\RepeatedField $feature_vector - * Required. Feature embedding vector for dense index. An array of numbers - * with the length of [NearestNeighborSearchConfig.dimensions]. - * @type \Google\Cloud\AIPlatform\V1\IndexDatapoint\SparseEmbedding $sparse_embedding - * Optional. Feature embedding vector for sparse index. - * @type array<\Google\Cloud\AIPlatform\V1\IndexDatapoint\Restriction>|\Google\Protobuf\Internal\RepeatedField $restricts - * Optional. List of Restrict of the datapoint, used to perform "restricted - * searches" where boolean rule are used to filter the subset of the database - * eligible for matching. This uses categorical tokens. See: - * https://cloud.google.com/vertex-ai/docs/matching-engine/filtering - * @type array<\Google\Cloud\AIPlatform\V1\IndexDatapoint\NumericRestriction>|\Google\Protobuf\Internal\RepeatedField $numeric_restricts - * Optional. List of Restrict of the datapoint, used to perform "restricted - * searches" where boolean rule are used to filter the subset of the database - * eligible for matching. This uses numeric comparisons. - * @type \Google\Cloud\AIPlatform\V1\IndexDatapoint\CrowdingTag $crowding_tag - * Optional. CrowdingTag of the datapoint, the number of neighbors to return - * in each crowding can be configured during query. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Cloud\Aiplatform\V1\Index::initOnce(); - parent::__construct($data); - } - - /** - * Required. Unique identifier of the datapoint. - * - * Generated from protobuf field string datapoint_id = 1 [(.google.api.field_behavior) = REQUIRED]; - * @return string - */ - public function getDatapointId() - { - return $this->datapoint_id; - } - - /** - * Required. Unique identifier of the datapoint. - * - * Generated from protobuf field string datapoint_id = 1 [(.google.api.field_behavior) = REQUIRED]; - * @param string $var - * @return $this - */ - public function setDatapointId($var) - { - GPBUtil::checkString($var, True); - $this->datapoint_id = $var; - - return $this; - } - - /** - * Required. Feature embedding vector for dense index. An array of numbers - * with the length of [NearestNeighborSearchConfig.dimensions]. - * - * Generated from protobuf field repeated float feature_vector = 2 [(.google.api.field_behavior) = REQUIRED]; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getFeatureVector() - { - return $this->feature_vector; - } - - /** - * Required. Feature embedding vector for dense index. An array of numbers - * with the length of [NearestNeighborSearchConfig.dimensions]. - * - * Generated from protobuf field repeated float feature_vector = 2 [(.google.api.field_behavior) = REQUIRED]; - * @param array|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setFeatureVector($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::FLOAT); - $this->feature_vector = $arr; - - return $this; - } - - /** - * Optional. Feature embedding vector for sparse index. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.IndexDatapoint.SparseEmbedding sparse_embedding = 7 [(.google.api.field_behavior) = OPTIONAL]; - * @return \Google\Cloud\AIPlatform\V1\IndexDatapoint\SparseEmbedding|null - */ - public function getSparseEmbedding() - { - return $this->sparse_embedding; - } - - public function hasSparseEmbedding() - { - return isset($this->sparse_embedding); - } - - public function clearSparseEmbedding() - { - unset($this->sparse_embedding); - } - - /** - * Optional. Feature embedding vector for sparse index. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.IndexDatapoint.SparseEmbedding sparse_embedding = 7 [(.google.api.field_behavior) = OPTIONAL]; - * @param \Google\Cloud\AIPlatform\V1\IndexDatapoint\SparseEmbedding $var - * @return $this - */ - public function setSparseEmbedding($var) - { - GPBUtil::checkMessage($var, \Google\Cloud\AIPlatform\V1\IndexDatapoint\SparseEmbedding::class); - $this->sparse_embedding = $var; - - return $this; - } - - /** - * Optional. List of Restrict of the datapoint, used to perform "restricted - * searches" where boolean rule are used to filter the subset of the database - * eligible for matching. This uses categorical tokens. See: - * https://cloud.google.com/vertex-ai/docs/matching-engine/filtering - * - * Generated from protobuf field repeated .google.cloud.aiplatform.v1.IndexDatapoint.Restriction restricts = 4 [(.google.api.field_behavior) = OPTIONAL]; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getRestricts() - { - return $this->restricts; - } - - /** - * Optional. List of Restrict of the datapoint, used to perform "restricted - * searches" where boolean rule are used to filter the subset of the database - * eligible for matching. This uses categorical tokens. See: - * https://cloud.google.com/vertex-ai/docs/matching-engine/filtering - * - * Generated from protobuf field repeated .google.cloud.aiplatform.v1.IndexDatapoint.Restriction restricts = 4 [(.google.api.field_behavior) = OPTIONAL]; - * @param array<\Google\Cloud\AIPlatform\V1\IndexDatapoint\Restriction>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setRestricts($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\AIPlatform\V1\IndexDatapoint\Restriction::class); - $this->restricts = $arr; - - return $this; - } - - /** - * Optional. List of Restrict of the datapoint, used to perform "restricted - * searches" where boolean rule are used to filter the subset of the database - * eligible for matching. This uses numeric comparisons. - * - * Generated from protobuf field repeated .google.cloud.aiplatform.v1.IndexDatapoint.NumericRestriction numeric_restricts = 6 [(.google.api.field_behavior) = OPTIONAL]; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getNumericRestricts() - { - return $this->numeric_restricts; - } - - /** - * Optional. List of Restrict of the datapoint, used to perform "restricted - * searches" where boolean rule are used to filter the subset of the database - * eligible for matching. This uses numeric comparisons. - * - * Generated from protobuf field repeated .google.cloud.aiplatform.v1.IndexDatapoint.NumericRestriction numeric_restricts = 6 [(.google.api.field_behavior) = OPTIONAL]; - * @param array<\Google\Cloud\AIPlatform\V1\IndexDatapoint\NumericRestriction>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setNumericRestricts($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\AIPlatform\V1\IndexDatapoint\NumericRestriction::class); - $this->numeric_restricts = $arr; - - return $this; - } - - /** - * Optional. CrowdingTag of the datapoint, the number of neighbors to return - * in each crowding can be configured during query. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.IndexDatapoint.CrowdingTag crowding_tag = 5 [(.google.api.field_behavior) = OPTIONAL]; - * @return \Google\Cloud\AIPlatform\V1\IndexDatapoint\CrowdingTag|null - */ - public function getCrowdingTag() - { - return $this->crowding_tag; - } - - public function hasCrowdingTag() - { - return isset($this->crowding_tag); - } - - public function clearCrowdingTag() - { - unset($this->crowding_tag); - } - - /** - * Optional. CrowdingTag of the datapoint, the number of neighbors to return - * in each crowding can be configured during query. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.IndexDatapoint.CrowdingTag crowding_tag = 5 [(.google.api.field_behavior) = OPTIONAL]; - * @param \Google\Cloud\AIPlatform\V1\IndexDatapoint\CrowdingTag $var - * @return $this - */ - public function setCrowdingTag($var) - { - GPBUtil::checkMessage($var, \Google\Cloud\AIPlatform\V1\IndexDatapoint\CrowdingTag::class); - $this->crowding_tag = $var; - - return $this; - } - -} - diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/IndexDatapoint/CrowdingTag.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/IndexDatapoint/CrowdingTag.php deleted file mode 100644 index 83385a04018f..000000000000 --- a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/IndexDatapoint/CrowdingTag.php +++ /dev/null @@ -1,88 +0,0 @@ -google.cloud.aiplatform.v1.IndexDatapoint.CrowdingTag - */ -class CrowdingTag extends \Google\Protobuf\Internal\Message -{ - /** - * The attribute value used for crowding. The maximum number of neighbors - * to return per crowding attribute value - * (per_crowding_attribute_num_neighbors) is configured per-query. This - * field is ignored if per_crowding_attribute_num_neighbors is larger than - * the total number of neighbors to return for a given query. - * - * Generated from protobuf field string crowding_attribute = 1; - */ - protected $crowding_attribute = ''; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $crowding_attribute - * The attribute value used for crowding. The maximum number of neighbors - * to return per crowding attribute value - * (per_crowding_attribute_num_neighbors) is configured per-query. This - * field is ignored if per_crowding_attribute_num_neighbors is larger than - * the total number of neighbors to return for a given query. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Cloud\Aiplatform\V1\Index::initOnce(); - parent::__construct($data); - } - - /** - * The attribute value used for crowding. The maximum number of neighbors - * to return per crowding attribute value - * (per_crowding_attribute_num_neighbors) is configured per-query. This - * field is ignored if per_crowding_attribute_num_neighbors is larger than - * the total number of neighbors to return for a given query. - * - * Generated from protobuf field string crowding_attribute = 1; - * @return string - */ - public function getCrowdingAttribute() - { - return $this->crowding_attribute; - } - - /** - * The attribute value used for crowding. The maximum number of neighbors - * to return per crowding attribute value - * (per_crowding_attribute_num_neighbors) is configured per-query. This - * field is ignored if per_crowding_attribute_num_neighbors is larger than - * the total number of neighbors to return for a given query. - * - * Generated from protobuf field string crowding_attribute = 1; - * @param string $var - * @return $this - */ - public function setCrowdingAttribute($var) - { - GPBUtil::checkString($var, True); - $this->crowding_attribute = $var; - - return $this; - } - -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(CrowdingTag::class, \Google\Cloud\AIPlatform\V1\IndexDatapoint_CrowdingTag::class); - diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/IndexDatapoint/NumericRestriction.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/IndexDatapoint/NumericRestriction.php deleted file mode 100644 index 46818e0ed735..000000000000 --- a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/IndexDatapoint/NumericRestriction.php +++ /dev/null @@ -1,217 +0,0 @@ -google.cloud.aiplatform.v1.IndexDatapoint.NumericRestriction - */ -class NumericRestriction extends \Google\Protobuf\Internal\Message -{ - /** - * The namespace of this restriction. e.g.: cost. - * - * Generated from protobuf field string namespace = 1; - */ - protected $namespace = ''; - /** - * This MUST be specified for queries and must NOT be specified for - * datapoints. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.IndexDatapoint.NumericRestriction.Operator op = 5; - */ - protected $op = 0; - protected $Value; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type int|string $value_int - * Represents 64 bit integer. - * @type float $value_float - * Represents 32 bit float. - * @type float $value_double - * Represents 64 bit float. - * @type string $namespace - * The namespace of this restriction. e.g.: cost. - * @type int $op - * This MUST be specified for queries and must NOT be specified for - * datapoints. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Cloud\Aiplatform\V1\Index::initOnce(); - parent::__construct($data); - } - - /** - * Represents 64 bit integer. - * - * Generated from protobuf field int64 value_int = 2; - * @return int|string - */ - public function getValueInt() - { - return $this->readOneof(2); - } - - public function hasValueInt() - { - return $this->hasOneof(2); - } - - /** - * Represents 64 bit integer. - * - * Generated from protobuf field int64 value_int = 2; - * @param int|string $var - * @return $this - */ - public function setValueInt($var) - { - GPBUtil::checkInt64($var); - $this->writeOneof(2, $var); - - return $this; - } - - /** - * Represents 32 bit float. - * - * Generated from protobuf field float value_float = 3; - * @return float - */ - public function getValueFloat() - { - return $this->readOneof(3); - } - - public function hasValueFloat() - { - return $this->hasOneof(3); - } - - /** - * Represents 32 bit float. - * - * Generated from protobuf field float value_float = 3; - * @param float $var - * @return $this - */ - public function setValueFloat($var) - { - GPBUtil::checkFloat($var); - $this->writeOneof(3, $var); - - return $this; - } - - /** - * Represents 64 bit float. - * - * Generated from protobuf field double value_double = 4; - * @return float - */ - public function getValueDouble() - { - return $this->readOneof(4); - } - - public function hasValueDouble() - { - return $this->hasOneof(4); - } - - /** - * Represents 64 bit float. - * - * Generated from protobuf field double value_double = 4; - * @param float $var - * @return $this - */ - public function setValueDouble($var) - { - GPBUtil::checkDouble($var); - $this->writeOneof(4, $var); - - return $this; - } - - /** - * The namespace of this restriction. e.g.: cost. - * - * Generated from protobuf field string namespace = 1; - * @return string - */ - public function getNamespace() - { - return $this->namespace; - } - - /** - * The namespace of this restriction. e.g.: cost. - * - * Generated from protobuf field string namespace = 1; - * @param string $var - * @return $this - */ - public function setNamespace($var) - { - GPBUtil::checkString($var, True); - $this->namespace = $var; - - return $this; - } - - /** - * This MUST be specified for queries and must NOT be specified for - * datapoints. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.IndexDatapoint.NumericRestriction.Operator op = 5; - * @return int - */ - public function getOp() - { - return $this->op; - } - - /** - * This MUST be specified for queries and must NOT be specified for - * datapoints. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.IndexDatapoint.NumericRestriction.Operator op = 5; - * @param int $var - * @return $this - */ - public function setOp($var) - { - GPBUtil::checkEnum($var, \Google\Cloud\AIPlatform\V1\IndexDatapoint\NumericRestriction\Operator::class); - $this->op = $var; - - return $this; - } - - /** - * @return string - */ - public function getValue() - { - return $this->whichOneof("Value"); - } - -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(NumericRestriction::class, \Google\Cloud\AIPlatform\V1\IndexDatapoint_NumericRestriction::class); - diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/IndexDatapoint/NumericRestriction/Operator.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/IndexDatapoint/NumericRestriction/Operator.php deleted file mode 100644 index 580c19b56c6c..000000000000 --- a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/IndexDatapoint/NumericRestriction/Operator.php +++ /dev/null @@ -1,95 +0,0 @@ -google.cloud.aiplatform.v1.IndexDatapoint.NumericRestriction.Operator - */ -class Operator -{ - /** - * Default value of the enum. - * - * Generated from protobuf enum OPERATOR_UNSPECIFIED = 0; - */ - const OPERATOR_UNSPECIFIED = 0; - /** - * Datapoints are eligible iff their value is < the query's. - * - * Generated from protobuf enum LESS = 1; - */ - const LESS = 1; - /** - * Datapoints are eligible iff their value is <= the query's. - * - * Generated from protobuf enum LESS_EQUAL = 2; - */ - const LESS_EQUAL = 2; - /** - * Datapoints are eligible iff their value is == the query's. - * - * Generated from protobuf enum EQUAL = 3; - */ - const EQUAL = 3; - /** - * Datapoints are eligible iff their value is >= the query's. - * - * Generated from protobuf enum GREATER_EQUAL = 4; - */ - const GREATER_EQUAL = 4; - /** - * Datapoints are eligible iff their value is > the query's. - * - * Generated from protobuf enum GREATER = 5; - */ - const GREATER = 5; - /** - * Datapoints are eligible iff their value is != the query's. - * - * Generated from protobuf enum NOT_EQUAL = 6; - */ - const NOT_EQUAL = 6; - - private static $valueToName = [ - self::OPERATOR_UNSPECIFIED => 'OPERATOR_UNSPECIFIED', - self::LESS => 'LESS', - self::LESS_EQUAL => 'LESS_EQUAL', - self::EQUAL => 'EQUAL', - self::GREATER_EQUAL => 'GREATER_EQUAL', - self::GREATER => 'GREATER', - self::NOT_EQUAL => 'NOT_EQUAL', - ]; - - public static function name($value) - { - if (!isset(self::$valueToName[$value])) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no name defined for value %s', __CLASS__, $value)); - } - return self::$valueToName[$value]; - } - - - public static function value($name) - { - $const = __CLASS__ . '::' . strtoupper($name); - if (!defined($const)) { - throw new UnexpectedValueException(sprintf( - 'Enum %s has no value defined for name %s', __CLASS__, $name)); - } - return constant($const); - } -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(Operator::class, \Google\Cloud\AIPlatform\V1\IndexDatapoint_NumericRestriction_Operator::class); - diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/IndexDatapoint/Restriction.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/IndexDatapoint/Restriction.php deleted file mode 100644 index 674e01b0bf9e..000000000000 --- a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/IndexDatapoint/Restriction.php +++ /dev/null @@ -1,139 +0,0 @@ -google.cloud.aiplatform.v1.IndexDatapoint.Restriction - */ -class Restriction extends \Google\Protobuf\Internal\Message -{ - /** - * The namespace of this restriction. e.g.: color. - * - * Generated from protobuf field string namespace = 1; - */ - protected $namespace = ''; - /** - * The attributes to allow in this namespace. e.g.: 'red' - * - * Generated from protobuf field repeated string allow_list = 2; - */ - private $allow_list; - /** - * The attributes to deny in this namespace. e.g.: 'blue' - * - * Generated from protobuf field repeated string deny_list = 3; - */ - private $deny_list; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $namespace - * The namespace of this restriction. e.g.: color. - * @type array|\Google\Protobuf\Internal\RepeatedField $allow_list - * The attributes to allow in this namespace. e.g.: 'red' - * @type array|\Google\Protobuf\Internal\RepeatedField $deny_list - * The attributes to deny in this namespace. e.g.: 'blue' - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Cloud\Aiplatform\V1\Index::initOnce(); - parent::__construct($data); - } - - /** - * The namespace of this restriction. e.g.: color. - * - * Generated from protobuf field string namespace = 1; - * @return string - */ - public function getNamespace() - { - return $this->namespace; - } - - /** - * The namespace of this restriction. e.g.: color. - * - * Generated from protobuf field string namespace = 1; - * @param string $var - * @return $this - */ - public function setNamespace($var) - { - GPBUtil::checkString($var, True); - $this->namespace = $var; - - return $this; - } - - /** - * The attributes to allow in this namespace. e.g.: 'red' - * - * Generated from protobuf field repeated string allow_list = 2; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getAllowList() - { - return $this->allow_list; - } - - /** - * The attributes to allow in this namespace. e.g.: 'red' - * - * Generated from protobuf field repeated string allow_list = 2; - * @param array|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setAllowList($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING); - $this->allow_list = $arr; - - return $this; - } - - /** - * The attributes to deny in this namespace. e.g.: 'blue' - * - * Generated from protobuf field repeated string deny_list = 3; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getDenyList() - { - return $this->deny_list; - } - - /** - * The attributes to deny in this namespace. e.g.: 'blue' - * - * Generated from protobuf field repeated string deny_list = 3; - * @param array|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setDenyList($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING); - $this->deny_list = $arr; - - return $this; - } - -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(Restriction::class, \Google\Cloud\AIPlatform\V1\IndexDatapoint_Restriction::class); - diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/IndexDatapoint/SparseEmbedding.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/IndexDatapoint/SparseEmbedding.php deleted file mode 100644 index 4bb32612bd53..000000000000 --- a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/IndexDatapoint/SparseEmbedding.php +++ /dev/null @@ -1,109 +0,0 @@ -google.cloud.aiplatform.v1.IndexDatapoint.SparseEmbedding - */ -class SparseEmbedding extends \Google\Protobuf\Internal\Message -{ - /** - * Required. The list of embedding values of the sparse vector. - * - * Generated from protobuf field repeated float values = 1 [(.google.api.field_behavior) = REQUIRED]; - */ - private $values; - /** - * Required. The list of indexes for the embedding values of the sparse - * vector. - * - * Generated from protobuf field repeated int64 dimensions = 2 [(.google.api.field_behavior) = REQUIRED]; - */ - private $dimensions; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type array|\Google\Protobuf\Internal\RepeatedField $values - * Required. The list of embedding values of the sparse vector. - * @type array|array|\Google\Protobuf\Internal\RepeatedField $dimensions - * Required. The list of indexes for the embedding values of the sparse - * vector. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Cloud\Aiplatform\V1\Index::initOnce(); - parent::__construct($data); - } - - /** - * Required. The list of embedding values of the sparse vector. - * - * Generated from protobuf field repeated float values = 1 [(.google.api.field_behavior) = REQUIRED]; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getValues() - { - return $this->values; - } - - /** - * Required. The list of embedding values of the sparse vector. - * - * Generated from protobuf field repeated float values = 1 [(.google.api.field_behavior) = REQUIRED]; - * @param array|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setValues($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::FLOAT); - $this->values = $arr; - - return $this; - } - - /** - * Required. The list of indexes for the embedding values of the sparse - * vector. - * - * Generated from protobuf field repeated int64 dimensions = 2 [(.google.api.field_behavior) = REQUIRED]; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getDimensions() - { - return $this->dimensions; - } - - /** - * Required. The list of indexes for the embedding values of the sparse - * vector. - * - * Generated from protobuf field repeated int64 dimensions = 2 [(.google.api.field_behavior) = REQUIRED]; - * @param array|array|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setDimensions($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::INT64); - $this->dimensions = $arr; - - return $this; - } - -} - -// Adding a class alias for backwards compatibility with the previous class name. -class_alias(SparseEmbedding::class, \Google\Cloud\AIPlatform\V1\IndexDatapoint_SparseEmbedding::class); - diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/IndexEndpoint.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/IndexEndpoint.php deleted file mode 100644 index 4bdef3fded1e..000000000000 --- a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/IndexEndpoint.php +++ /dev/null @@ -1,695 +0,0 @@ -google.cloud.aiplatform.v1.IndexEndpoint - */ -class IndexEndpoint extends \Google\Protobuf\Internal\Message -{ - /** - * Output only. The resource name of the IndexEndpoint. - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $name = ''; - /** - * Required. The display name of the IndexEndpoint. - * The name can be up to 128 characters long and can consist of any UTF-8 - * characters. - * - * Generated from protobuf field string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $display_name = ''; - /** - * The description of the IndexEndpoint. - * - * Generated from protobuf field string description = 3; - */ - protected $description = ''; - /** - * Output only. The indexes deployed in this endpoint. - * - * Generated from protobuf field repeated .google.cloud.aiplatform.v1.DeployedIndex deployed_indexes = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - private $deployed_indexes; - /** - * Used to perform consistent read-modify-write updates. If not set, a blind - * "overwrite" update happens. - * - * Generated from protobuf field string etag = 5; - */ - protected $etag = ''; - /** - * The labels with user-defined metadata to organize your IndexEndpoints. - * Label keys and values can be no longer than 64 characters - * (Unicode codepoints), can only contain lowercase letters, numeric - * characters, underscores and dashes. International characters are allowed. - * See https://goo.gl/xmQnxf for more information and examples of labels. - * - * Generated from protobuf field map labels = 6; - */ - private $labels; - /** - * Output only. Timestamp when this IndexEndpoint was created. - * - * Generated from protobuf field .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $create_time = null; - /** - * Output only. Timestamp when this IndexEndpoint was last updated. - * This timestamp is not updated when the endpoint's DeployedIndexes are - * updated, e.g. due to updates of the original Indexes they are the - * deployments of. - * - * Generated from protobuf field .google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $update_time = null; - /** - * Optional. The full name of the Google Compute Engine - * [network](https://cloud.google.com/compute/docs/networks-and-firewalls#networks) - * to which the IndexEndpoint should be peered. - * Private services access must already be configured for the network. If left - * unspecified, the Endpoint is not peered with any network. - * [network][google.cloud.aiplatform.v1.IndexEndpoint.network] and - * [private_service_connect_config][google.cloud.aiplatform.v1.IndexEndpoint.private_service_connect_config] - * are mutually exclusive. - * [Format](https://cloud.google.com/compute/docs/reference/rest/v1/networks/insert): - * `projects/{project}/global/networks/{network}`. - * Where {project} is a project number, as in '12345', and {network} is - * network name. - * - * Generated from protobuf field string network = 9 [(.google.api.field_behavior) = OPTIONAL]; - */ - protected $network = ''; - /** - * Optional. Deprecated: If true, expose the IndexEndpoint via private service - * connect. - * Only one of the fields, - * [network][google.cloud.aiplatform.v1.IndexEndpoint.network] or - * [enable_private_service_connect][google.cloud.aiplatform.v1.IndexEndpoint.enable_private_service_connect], - * can be set. - * - * Generated from protobuf field bool enable_private_service_connect = 10 [deprecated = true, (.google.api.field_behavior) = OPTIONAL]; - * @deprecated - */ - protected $enable_private_service_connect = false; - /** - * Optional. Configuration for private service connect. - * [network][google.cloud.aiplatform.v1.IndexEndpoint.network] and - * [private_service_connect_config][google.cloud.aiplatform.v1.IndexEndpoint.private_service_connect_config] - * are mutually exclusive. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.PrivateServiceConnectConfig private_service_connect_config = 12 [(.google.api.field_behavior) = OPTIONAL]; - */ - protected $private_service_connect_config = null; - /** - * Optional. If true, the deployed index will be accessible through public - * endpoint. - * - * Generated from protobuf field bool public_endpoint_enabled = 13 [(.google.api.field_behavior) = OPTIONAL]; - */ - protected $public_endpoint_enabled = false; - /** - * Output only. If - * [public_endpoint_enabled][google.cloud.aiplatform.v1.IndexEndpoint.public_endpoint_enabled] - * is true, this field will be populated with the domain name to use for this - * index endpoint. - * - * Generated from protobuf field string public_endpoint_domain_name = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $public_endpoint_domain_name = ''; - /** - * Immutable. Customer-managed encryption key spec for an IndexEndpoint. If - * set, this IndexEndpoint and all sub-resources of this IndexEndpoint will be - * secured by this key. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.EncryptionSpec encryption_spec = 15 [(.google.api.field_behavior) = IMMUTABLE]; - */ - protected $encryption_spec = null; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $name - * Output only. The resource name of the IndexEndpoint. - * @type string $display_name - * Required. The display name of the IndexEndpoint. - * The name can be up to 128 characters long and can consist of any UTF-8 - * characters. - * @type string $description - * The description of the IndexEndpoint. - * @type array<\Google\Cloud\AIPlatform\V1\DeployedIndex>|\Google\Protobuf\Internal\RepeatedField $deployed_indexes - * Output only. The indexes deployed in this endpoint. - * @type string $etag - * Used to perform consistent read-modify-write updates. If not set, a blind - * "overwrite" update happens. - * @type array|\Google\Protobuf\Internal\MapField $labels - * The labels with user-defined metadata to organize your IndexEndpoints. - * Label keys and values can be no longer than 64 characters - * (Unicode codepoints), can only contain lowercase letters, numeric - * characters, underscores and dashes. International characters are allowed. - * See https://goo.gl/xmQnxf for more information and examples of labels. - * @type \Google\Protobuf\Timestamp $create_time - * Output only. Timestamp when this IndexEndpoint was created. - * @type \Google\Protobuf\Timestamp $update_time - * Output only. Timestamp when this IndexEndpoint was last updated. - * This timestamp is not updated when the endpoint's DeployedIndexes are - * updated, e.g. due to updates of the original Indexes they are the - * deployments of. - * @type string $network - * Optional. The full name of the Google Compute Engine - * [network](https://cloud.google.com/compute/docs/networks-and-firewalls#networks) - * to which the IndexEndpoint should be peered. - * Private services access must already be configured for the network. If left - * unspecified, the Endpoint is not peered with any network. - * [network][google.cloud.aiplatform.v1.IndexEndpoint.network] and - * [private_service_connect_config][google.cloud.aiplatform.v1.IndexEndpoint.private_service_connect_config] - * are mutually exclusive. - * [Format](https://cloud.google.com/compute/docs/reference/rest/v1/networks/insert): - * `projects/{project}/global/networks/{network}`. - * Where {project} is a project number, as in '12345', and {network} is - * network name. - * @type bool $enable_private_service_connect - * Optional. Deprecated: If true, expose the IndexEndpoint via private service - * connect. - * Only one of the fields, - * [network][google.cloud.aiplatform.v1.IndexEndpoint.network] or - * [enable_private_service_connect][google.cloud.aiplatform.v1.IndexEndpoint.enable_private_service_connect], - * can be set. - * @type \Google\Cloud\AIPlatform\V1\PrivateServiceConnectConfig $private_service_connect_config - * Optional. Configuration for private service connect. - * [network][google.cloud.aiplatform.v1.IndexEndpoint.network] and - * [private_service_connect_config][google.cloud.aiplatform.v1.IndexEndpoint.private_service_connect_config] - * are mutually exclusive. - * @type bool $public_endpoint_enabled - * Optional. If true, the deployed index will be accessible through public - * endpoint. - * @type string $public_endpoint_domain_name - * Output only. If - * [public_endpoint_enabled][google.cloud.aiplatform.v1.IndexEndpoint.public_endpoint_enabled] - * is true, this field will be populated with the domain name to use for this - * index endpoint. - * @type \Google\Cloud\AIPlatform\V1\EncryptionSpec $encryption_spec - * Immutable. Customer-managed encryption key spec for an IndexEndpoint. If - * set, this IndexEndpoint and all sub-resources of this IndexEndpoint will be - * secured by this key. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Cloud\Aiplatform\V1\IndexEndpoint::initOnce(); - parent::__construct($data); - } - - /** - * Output only. The resource name of the IndexEndpoint. - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return string - */ - public function getName() - { - return $this->name; - } - - /** - * Output only. The resource name of the IndexEndpoint. - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param string $var - * @return $this - */ - public function setName($var) - { - GPBUtil::checkString($var, True); - $this->name = $var; - - return $this; - } - - /** - * Required. The display name of the IndexEndpoint. - * The name can be up to 128 characters long and can consist of any UTF-8 - * characters. - * - * Generated from protobuf field string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; - * @return string - */ - public function getDisplayName() - { - return $this->display_name; - } - - /** - * Required. The display name of the IndexEndpoint. - * The name can be up to 128 characters long and can consist of any UTF-8 - * characters. - * - * Generated from protobuf field string display_name = 2 [(.google.api.field_behavior) = REQUIRED]; - * @param string $var - * @return $this - */ - public function setDisplayName($var) - { - GPBUtil::checkString($var, True); - $this->display_name = $var; - - return $this; - } - - /** - * The description of the IndexEndpoint. - * - * Generated from protobuf field string description = 3; - * @return string - */ - public function getDescription() - { - return $this->description; - } - - /** - * The description of the IndexEndpoint. - * - * Generated from protobuf field string description = 3; - * @param string $var - * @return $this - */ - public function setDescription($var) - { - GPBUtil::checkString($var, True); - $this->description = $var; - - return $this; - } - - /** - * Output only. The indexes deployed in this endpoint. - * - * Generated from protobuf field repeated .google.cloud.aiplatform.v1.DeployedIndex deployed_indexes = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getDeployedIndexes() - { - return $this->deployed_indexes; - } - - /** - * Output only. The indexes deployed in this endpoint. - * - * Generated from protobuf field repeated .google.cloud.aiplatform.v1.DeployedIndex deployed_indexes = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param array<\Google\Cloud\AIPlatform\V1\DeployedIndex>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setDeployedIndexes($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\AIPlatform\V1\DeployedIndex::class); - $this->deployed_indexes = $arr; - - return $this; - } - - /** - * Used to perform consistent read-modify-write updates. If not set, a blind - * "overwrite" update happens. - * - * Generated from protobuf field string etag = 5; - * @return string - */ - public function getEtag() - { - return $this->etag; - } - - /** - * Used to perform consistent read-modify-write updates. If not set, a blind - * "overwrite" update happens. - * - * Generated from protobuf field string etag = 5; - * @param string $var - * @return $this - */ - public function setEtag($var) - { - GPBUtil::checkString($var, True); - $this->etag = $var; - - return $this; - } - - /** - * The labels with user-defined metadata to organize your IndexEndpoints. - * Label keys and values can be no longer than 64 characters - * (Unicode codepoints), can only contain lowercase letters, numeric - * characters, underscores and dashes. International characters are allowed. - * See https://goo.gl/xmQnxf for more information and examples of labels. - * - * Generated from protobuf field map labels = 6; - * @return \Google\Protobuf\Internal\MapField - */ - public function getLabels() - { - return $this->labels; - } - - /** - * The labels with user-defined metadata to organize your IndexEndpoints. - * Label keys and values can be no longer than 64 characters - * (Unicode codepoints), can only contain lowercase letters, numeric - * characters, underscores and dashes. International characters are allowed. - * See https://goo.gl/xmQnxf for more information and examples of labels. - * - * Generated from protobuf field map labels = 6; - * @param array|\Google\Protobuf\Internal\MapField $var - * @return $this - */ - public function setLabels($var) - { - $arr = GPBUtil::checkMapField($var, \Google\Protobuf\Internal\GPBType::STRING, \Google\Protobuf\Internal\GPBType::STRING); - $this->labels = $arr; - - return $this; - } - - /** - * Output only. Timestamp when this IndexEndpoint was created. - * - * Generated from protobuf field .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return \Google\Protobuf\Timestamp|null - */ - public function getCreateTime() - { - return $this->create_time; - } - - public function hasCreateTime() - { - return isset($this->create_time); - } - - public function clearCreateTime() - { - unset($this->create_time); - } - - /** - * Output only. Timestamp when this IndexEndpoint was created. - * - * Generated from protobuf field .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param \Google\Protobuf\Timestamp $var - * @return $this - */ - public function setCreateTime($var) - { - GPBUtil::checkMessage($var, \Google\Protobuf\Timestamp::class); - $this->create_time = $var; - - return $this; - } - - /** - * Output only. Timestamp when this IndexEndpoint was last updated. - * This timestamp is not updated when the endpoint's DeployedIndexes are - * updated, e.g. due to updates of the original Indexes they are the - * deployments of. - * - * Generated from protobuf field .google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return \Google\Protobuf\Timestamp|null - */ - public function getUpdateTime() - { - return $this->update_time; - } - - public function hasUpdateTime() - { - return isset($this->update_time); - } - - public function clearUpdateTime() - { - unset($this->update_time); - } - - /** - * Output only. Timestamp when this IndexEndpoint was last updated. - * This timestamp is not updated when the endpoint's DeployedIndexes are - * updated, e.g. due to updates of the original Indexes they are the - * deployments of. - * - * Generated from protobuf field .google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param \Google\Protobuf\Timestamp $var - * @return $this - */ - public function setUpdateTime($var) - { - GPBUtil::checkMessage($var, \Google\Protobuf\Timestamp::class); - $this->update_time = $var; - - return $this; - } - - /** - * Optional. The full name of the Google Compute Engine - * [network](https://cloud.google.com/compute/docs/networks-and-firewalls#networks) - * to which the IndexEndpoint should be peered. - * Private services access must already be configured for the network. If left - * unspecified, the Endpoint is not peered with any network. - * [network][google.cloud.aiplatform.v1.IndexEndpoint.network] and - * [private_service_connect_config][google.cloud.aiplatform.v1.IndexEndpoint.private_service_connect_config] - * are mutually exclusive. - * [Format](https://cloud.google.com/compute/docs/reference/rest/v1/networks/insert): - * `projects/{project}/global/networks/{network}`. - * Where {project} is a project number, as in '12345', and {network} is - * network name. - * - * Generated from protobuf field string network = 9 [(.google.api.field_behavior) = OPTIONAL]; - * @return string - */ - public function getNetwork() - { - return $this->network; - } - - /** - * Optional. The full name of the Google Compute Engine - * [network](https://cloud.google.com/compute/docs/networks-and-firewalls#networks) - * to which the IndexEndpoint should be peered. - * Private services access must already be configured for the network. If left - * unspecified, the Endpoint is not peered with any network. - * [network][google.cloud.aiplatform.v1.IndexEndpoint.network] and - * [private_service_connect_config][google.cloud.aiplatform.v1.IndexEndpoint.private_service_connect_config] - * are mutually exclusive. - * [Format](https://cloud.google.com/compute/docs/reference/rest/v1/networks/insert): - * `projects/{project}/global/networks/{network}`. - * Where {project} is a project number, as in '12345', and {network} is - * network name. - * - * Generated from protobuf field string network = 9 [(.google.api.field_behavior) = OPTIONAL]; - * @param string $var - * @return $this - */ - public function setNetwork($var) - { - GPBUtil::checkString($var, True); - $this->network = $var; - - return $this; - } - - /** - * Optional. Deprecated: If true, expose the IndexEndpoint via private service - * connect. - * Only one of the fields, - * [network][google.cloud.aiplatform.v1.IndexEndpoint.network] or - * [enable_private_service_connect][google.cloud.aiplatform.v1.IndexEndpoint.enable_private_service_connect], - * can be set. - * - * Generated from protobuf field bool enable_private_service_connect = 10 [deprecated = true, (.google.api.field_behavior) = OPTIONAL]; - * @return bool - * @deprecated - */ - public function getEnablePrivateServiceConnect() - { - @trigger_error('enable_private_service_connect is deprecated.', E_USER_DEPRECATED); - return $this->enable_private_service_connect; - } - - /** - * Optional. Deprecated: If true, expose the IndexEndpoint via private service - * connect. - * Only one of the fields, - * [network][google.cloud.aiplatform.v1.IndexEndpoint.network] or - * [enable_private_service_connect][google.cloud.aiplatform.v1.IndexEndpoint.enable_private_service_connect], - * can be set. - * - * Generated from protobuf field bool enable_private_service_connect = 10 [deprecated = true, (.google.api.field_behavior) = OPTIONAL]; - * @param bool $var - * @return $this - * @deprecated - */ - public function setEnablePrivateServiceConnect($var) - { - @trigger_error('enable_private_service_connect is deprecated.', E_USER_DEPRECATED); - GPBUtil::checkBool($var); - $this->enable_private_service_connect = $var; - - return $this; - } - - /** - * Optional. Configuration for private service connect. - * [network][google.cloud.aiplatform.v1.IndexEndpoint.network] and - * [private_service_connect_config][google.cloud.aiplatform.v1.IndexEndpoint.private_service_connect_config] - * are mutually exclusive. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.PrivateServiceConnectConfig private_service_connect_config = 12 [(.google.api.field_behavior) = OPTIONAL]; - * @return \Google\Cloud\AIPlatform\V1\PrivateServiceConnectConfig|null - */ - public function getPrivateServiceConnectConfig() - { - return $this->private_service_connect_config; - } - - public function hasPrivateServiceConnectConfig() - { - return isset($this->private_service_connect_config); - } - - public function clearPrivateServiceConnectConfig() - { - unset($this->private_service_connect_config); - } - - /** - * Optional. Configuration for private service connect. - * [network][google.cloud.aiplatform.v1.IndexEndpoint.network] and - * [private_service_connect_config][google.cloud.aiplatform.v1.IndexEndpoint.private_service_connect_config] - * are mutually exclusive. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.PrivateServiceConnectConfig private_service_connect_config = 12 [(.google.api.field_behavior) = OPTIONAL]; - * @param \Google\Cloud\AIPlatform\V1\PrivateServiceConnectConfig $var - * @return $this - */ - public function setPrivateServiceConnectConfig($var) - { - GPBUtil::checkMessage($var, \Google\Cloud\AIPlatform\V1\PrivateServiceConnectConfig::class); - $this->private_service_connect_config = $var; - - return $this; - } - - /** - * Optional. If true, the deployed index will be accessible through public - * endpoint. - * - * Generated from protobuf field bool public_endpoint_enabled = 13 [(.google.api.field_behavior) = OPTIONAL]; - * @return bool - */ - public function getPublicEndpointEnabled() - { - return $this->public_endpoint_enabled; - } - - /** - * Optional. If true, the deployed index will be accessible through public - * endpoint. - * - * Generated from protobuf field bool public_endpoint_enabled = 13 [(.google.api.field_behavior) = OPTIONAL]; - * @param bool $var - * @return $this - */ - public function setPublicEndpointEnabled($var) - { - GPBUtil::checkBool($var); - $this->public_endpoint_enabled = $var; - - return $this; - } - - /** - * Output only. If - * [public_endpoint_enabled][google.cloud.aiplatform.v1.IndexEndpoint.public_endpoint_enabled] - * is true, this field will be populated with the domain name to use for this - * index endpoint. - * - * Generated from protobuf field string public_endpoint_domain_name = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return string - */ - public function getPublicEndpointDomainName() - { - return $this->public_endpoint_domain_name; - } - - /** - * Output only. If - * [public_endpoint_enabled][google.cloud.aiplatform.v1.IndexEndpoint.public_endpoint_enabled] - * is true, this field will be populated with the domain name to use for this - * index endpoint. - * - * Generated from protobuf field string public_endpoint_domain_name = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param string $var - * @return $this - */ - public function setPublicEndpointDomainName($var) - { - GPBUtil::checkString($var, True); - $this->public_endpoint_domain_name = $var; - - return $this; - } - - /** - * Immutable. Customer-managed encryption key spec for an IndexEndpoint. If - * set, this IndexEndpoint and all sub-resources of this IndexEndpoint will be - * secured by this key. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.EncryptionSpec encryption_spec = 15 [(.google.api.field_behavior) = IMMUTABLE]; - * @return \Google\Cloud\AIPlatform\V1\EncryptionSpec|null - */ - public function getEncryptionSpec() - { - return $this->encryption_spec; - } - - public function hasEncryptionSpec() - { - return isset($this->encryption_spec); - } - - public function clearEncryptionSpec() - { - unset($this->encryption_spec); - } - - /** - * Immutable. Customer-managed encryption key spec for an IndexEndpoint. If - * set, this IndexEndpoint and all sub-resources of this IndexEndpoint will be - * secured by this key. - * - * Generated from protobuf field .google.cloud.aiplatform.v1.EncryptionSpec encryption_spec = 15 [(.google.api.field_behavior) = IMMUTABLE]; - * @param \Google\Cloud\AIPlatform\V1\EncryptionSpec $var - * @return $this - */ - public function setEncryptionSpec($var) - { - GPBUtil::checkMessage($var, \Google\Cloud\AIPlatform\V1\EncryptionSpec::class); - $this->encryption_spec = $var; - - return $this; - } - -} - diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/IndexPrivateEndpoints.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/IndexPrivateEndpoints.php deleted file mode 100644 index 131e84feb92f..000000000000 --- a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/IndexPrivateEndpoints.php +++ /dev/null @@ -1,147 +0,0 @@ -google.cloud.aiplatform.v1.IndexPrivateEndpoints - */ -class IndexPrivateEndpoints extends \Google\Protobuf\Internal\Message -{ - /** - * Output only. The ip address used to send match gRPC requests. - * - * Generated from protobuf field string match_grpc_address = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $match_grpc_address = ''; - /** - * Output only. The name of the service attachment resource. Populated if - * private service connect is enabled. - * - * Generated from protobuf field string service_attachment = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $service_attachment = ''; - /** - * Output only. PscAutomatedEndpoints is populated if private service connect - * is enabled if PscAutomatedConfig is set. - * - * Generated from protobuf field repeated .google.cloud.aiplatform.v1.PscAutomatedEndpoints psc_automated_endpoints = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - private $psc_automated_endpoints; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type string $match_grpc_address - * Output only. The ip address used to send match gRPC requests. - * @type string $service_attachment - * Output only. The name of the service attachment resource. Populated if - * private service connect is enabled. - * @type array<\Google\Cloud\AIPlatform\V1\PscAutomatedEndpoints>|\Google\Protobuf\Internal\RepeatedField $psc_automated_endpoints - * Output only. PscAutomatedEndpoints is populated if private service connect - * is enabled if PscAutomatedConfig is set. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Cloud\Aiplatform\V1\IndexEndpoint::initOnce(); - parent::__construct($data); - } - - /** - * Output only. The ip address used to send match gRPC requests. - * - * Generated from protobuf field string match_grpc_address = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return string - */ - public function getMatchGrpcAddress() - { - return $this->match_grpc_address; - } - - /** - * Output only. The ip address used to send match gRPC requests. - * - * Generated from protobuf field string match_grpc_address = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param string $var - * @return $this - */ - public function setMatchGrpcAddress($var) - { - GPBUtil::checkString($var, True); - $this->match_grpc_address = $var; - - return $this; - } - - /** - * Output only. The name of the service attachment resource. Populated if - * private service connect is enabled. - * - * Generated from protobuf field string service_attachment = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return string - */ - public function getServiceAttachment() - { - return $this->service_attachment; - } - - /** - * Output only. The name of the service attachment resource. Populated if - * private service connect is enabled. - * - * Generated from protobuf field string service_attachment = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param string $var - * @return $this - */ - public function setServiceAttachment($var) - { - GPBUtil::checkString($var, True); - $this->service_attachment = $var; - - return $this; - } - - /** - * Output only. PscAutomatedEndpoints is populated if private service connect - * is enabled if PscAutomatedConfig is set. - * - * Generated from protobuf field repeated .google.cloud.aiplatform.v1.PscAutomatedEndpoints psc_automated_endpoints = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getPscAutomatedEndpoints() - { - return $this->psc_automated_endpoints; - } - - /** - * Output only. PscAutomatedEndpoints is populated if private service connect - * is enabled if PscAutomatedConfig is set. - * - * Generated from protobuf field repeated .google.cloud.aiplatform.v1.PscAutomatedEndpoints psc_automated_endpoints = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param array<\Google\Cloud\AIPlatform\V1\PscAutomatedEndpoints>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setPscAutomatedEndpoints($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\AIPlatform\V1\PscAutomatedEndpoints::class); - $this->psc_automated_endpoints = $arr; - - return $this; - } - -} - diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/IndexStats.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/IndexStats.php deleted file mode 100644 index c2a31be9f80a..000000000000 --- a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/IndexStats.php +++ /dev/null @@ -1,135 +0,0 @@ -google.cloud.aiplatform.v1.IndexStats - */ -class IndexStats extends \Google\Protobuf\Internal\Message -{ - /** - * Output only. The number of dense vectors in the Index. - * - * Generated from protobuf field int64 vectors_count = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $vectors_count = 0; - /** - * Output only. The number of sparse vectors in the Index. - * - * Generated from protobuf field int64 sparse_vectors_count = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $sparse_vectors_count = 0; - /** - * Output only. The number of shards in the Index. - * - * Generated from protobuf field int32 shards_count = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $shards_count = 0; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type int|string $vectors_count - * Output only. The number of dense vectors in the Index. - * @type int|string $sparse_vectors_count - * Output only. The number of sparse vectors in the Index. - * @type int $shards_count - * Output only. The number of shards in the Index. - * } - */ - public function __construct($data = NULL) { - \GPBMetadata\Google\Cloud\Aiplatform\V1\Index::initOnce(); - parent::__construct($data); - } - - /** - * Output only. The number of dense vectors in the Index. - * - * Generated from protobuf field int64 vectors_count = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return int|string - */ - public function getVectorsCount() - { - return $this->vectors_count; - } - - /** - * Output only. The number of dense vectors in the Index. - * - * Generated from protobuf field int64 vectors_count = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param int|string $var - * @return $this - */ - public function setVectorsCount($var) - { - GPBUtil::checkInt64($var); - $this->vectors_count = $var; - - return $this; - } - - /** - * Output only. The number of sparse vectors in the Index. - * - * Generated from protobuf field int64 sparse_vectors_count = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return int|string - */ - public function getSparseVectorsCount() - { - return $this->sparse_vectors_count; - } - - /** - * Output only. The number of sparse vectors in the Index. - * - * Generated from protobuf field int64 sparse_vectors_count = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param int|string $var - * @return $this - */ - public function setSparseVectorsCount($var) - { - GPBUtil::checkInt64($var); - $this->sparse_vectors_count = $var; - - return $this; - } - - /** - * Output only. The number of shards in the Index. - * - * Generated from protobuf field int32 shards_count = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return int - */ - public function getShardsCount() - { - return $this->shards_count; - } - - /** - * Output only. The number of shards in the Index. - * - * Generated from protobuf field int32 shards_count = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param int $var - * @return $this - */ - public function setShardsCount($var) - { - GPBUtil::checkInt32($var); - $this->shards_count = $var; - - return $this; - } - -} - diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/InputDataConfig.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/InputDataConfig.php deleted file mode 100644 index d29879a01bb4..000000000000 --- a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/InputDataConfig.php +++ /dev/null @@ -1,741 +0,0 @@ -google.cloud.aiplatform.v1.InputDataConfig - */ -class InputDataConfig extends \Google\Protobuf\Internal\Message -{ - /** - * Required. The ID of the Dataset in the same Project and Location which data - * will be used to train the Model. The Dataset must use schema compatible - * with Model being trained, and what is compatible should be described in the - * used TrainingPipeline's [training_task_definition] - * [google.cloud.aiplatform.v1.TrainingPipeline.training_task_definition]. - * For tabular Datasets, all their data is exported to training, to pick - * and choose from. - * - * Generated from protobuf field string dataset_id = 1 [(.google.api.field_behavior) = REQUIRED]; - */ - protected $dataset_id = ''; - /** - * Applicable only to Datasets that have DataItems and Annotations. - * A filter on Annotations of the Dataset. Only Annotations that both - * match this filter and belong to DataItems not ignored by the split method - * are used in respectively training, validation or test role, depending on - * the role of the DataItem they are on (for the auto-assigned that role is - * decided by Vertex AI). A filter with same syntax as the one used in - * [ListAnnotations][google.cloud.aiplatform.v1.DatasetService.ListAnnotations] - * may be used, but note here it filters across all Annotations of the - * Dataset, and not just within a single DataItem. - * - * Generated from protobuf field string annotations_filter = 6; - */ - protected $annotations_filter = ''; - /** - * Applicable only to custom training with Datasets that have DataItems and - * Annotations. - * Cloud Storage URI that points to a YAML file describing the annotation - * schema. The schema is defined as an OpenAPI 3.0.2 [Schema - * Object](https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.0.2.md#schemaObject). - * The schema files that can be used here are found in - * gs://google-cloud-aiplatform/schema/dataset/annotation/ , note that the - * chosen schema must be consistent with - * [metadata][google.cloud.aiplatform.v1.Dataset.metadata_schema_uri] of the - * Dataset specified by - * [dataset_id][google.cloud.aiplatform.v1.InputDataConfig.dataset_id]. - * Only Annotations that both match this schema and belong to DataItems not - * ignored by the split method are used in respectively training, validation - * or test role, depending on the role of the DataItem they are on. - * When used in conjunction with - * [annotations_filter][google.cloud.aiplatform.v1.InputDataConfig.annotations_filter], - * the Annotations used for training are filtered by both - * [annotations_filter][google.cloud.aiplatform.v1.InputDataConfig.annotations_filter] - * and - * [annotation_schema_uri][google.cloud.aiplatform.v1.InputDataConfig.annotation_schema_uri]. - * - * Generated from protobuf field string annotation_schema_uri = 9; - */ - protected $annotation_schema_uri = ''; - /** - * Only applicable to Datasets that have SavedQueries. - * The ID of a SavedQuery (annotation set) under the Dataset specified by - * [dataset_id][google.cloud.aiplatform.v1.InputDataConfig.dataset_id] used - * for filtering Annotations for training. - * Only Annotations that are associated with this SavedQuery are used in - * respectively training. When used in conjunction with - * [annotations_filter][google.cloud.aiplatform.v1.InputDataConfig.annotations_filter], - * the Annotations used for training are filtered by both - * [saved_query_id][google.cloud.aiplatform.v1.InputDataConfig.saved_query_id] - * and - * [annotations_filter][google.cloud.aiplatform.v1.InputDataConfig.annotations_filter]. - * Only one of - * [saved_query_id][google.cloud.aiplatform.v1.InputDataConfig.saved_query_id] - * and - * [annotation_schema_uri][google.cloud.aiplatform.v1.InputDataConfig.annotation_schema_uri] - * should be specified as both of them represent the same thing: problem type. - * - * Generated from protobuf field string saved_query_id = 7; - */ - protected $saved_query_id = ''; - /** - * Whether to persist the ML use assignment to data item system labels. - * - * Generated from protobuf field bool persist_ml_use_assignment = 11; - */ - protected $persist_ml_use_assignment = false; - protected $split; - protected $destination; - - /** - * Constructor. - * - * @param array $data { - * Optional. Data for populating the Message object. - * - * @type \Google\Cloud\AIPlatform\V1\FractionSplit $fraction_split - * Split based on fractions defining the size of each set. - * @type \Google\Cloud\AIPlatform\V1\FilterSplit $filter_split - * Split based on the provided filters for each set. - * @type \Google\Cloud\AIPlatform\V1\PredefinedSplit $predefined_split - * Supported only for tabular Datasets. - * Split based on a predefined key. - * @type \Google\Cloud\AIPlatform\V1\TimestampSplit $timestamp_split - * Supported only for tabular Datasets. - * Split based on the timestamp of the input data pieces. - * @type \Google\Cloud\AIPlatform\V1\StratifiedSplit $stratified_split - * Supported only for tabular Datasets. - * Split based on the distribution of the specified column. - * @type \Google\Cloud\AIPlatform\V1\GcsDestination $gcs_destination - * The Cloud Storage location where the training data is to be - * written to. In the given directory a new directory is created with - * name: - * `dataset---` - * where timestamp is in YYYY-MM-DDThh:mm:ss.sssZ ISO-8601 format. - * All training input data is written into that directory. - * The Vertex AI environment variables representing Cloud Storage - * data URIs are represented in the Cloud Storage wildcard - * format to support sharded data. e.g.: "gs://.../training-*.jsonl" - * * AIP_DATA_FORMAT = "jsonl" for non-tabular data, "csv" for tabular data - * * AIP_TRAINING_DATA_URI = - * "gcs_destination/dataset---