From 932868a8e1cfc838b7ff53af952dc7123855dddc Mon Sep 17 00:00:00 2001 From: Owl Bot Date: Sat, 27 Jul 2024 00:58:13 +0000 Subject: [PATCH 1/2] feat: A new field `score` is added to message `.google.cloud.aiplatform.v1.Candidate` feat: A new message `Segment` is added feat: A new message `GroundingChunk` is added feat: A new message `GroundingSupport` is added feat: A new field `grounding_chunks` is added to message `.google.cloud.aiplatform.v1.GroundingMetadata` feat: A new field `grounding_supports` is added to message `.google.cloud.aiplatform.v1.GroundingMetadata` feat: A new enum `Strategy` is added feat: A new field `strategy` is added to message `.google.cloud.aiplatform.v1.Scheduling` feat: A new field `dedicated_endpoint_enabled` is added to message `.google.cloud.aiplatform.v1.Endpoint` feat: A new field `dedicated_endpoint_dns` is added to message `.google.cloud.aiplatform.v1.Endpoint` feat: A new field `satisfies_pzs` is added to message `.google.cloud.aiplatform.v1.Endpoint` feat: A new field `satisfies_pzi` is added to message `.google.cloud.aiplatform.v1.Endpoint` feat: A new message `NumericFilter` is added feat: A new field `numeric_filters` is added to message `.google.cloud.aiplatform.v1.NearestNeighborQuery` feat: A new field `is_hugging_face_model` is added to message `.google.cloud.aiplatform.v1.GetPublisherModelRequest` feat: A new message `NotebookExecutionJob` is added feat: A new resource_definition `aiplatform.googleapis.com/NotebookExecutionJob` is added feat: A new method `CreateNotebookExecutionJob` is added to service `NotebookService` feat: A new method `GetNotebookExecutionJob` is added to service `NotebookService` feat: A new method `ListNotebookExecutionJobs` is added to service `NotebookService` feat: A new method `DeleteNotebookExecutionJob` is added to service `NotebookService` feat: A new enum `NotebookExecutionJobView` is added feat: A new message `CreateNotebookExecutionJobRequest` is added feat: A new message `CreateNotebookExecutionJobOperationMetadata` is added feat: A new message `GetNotebookExecutionJobRequest` is added feat: A new message `ListNotebookExecutionJobsRequest` is added feat: A new message `ListNotebookExecutionJobsResponse` is added feat: A new message `DeleteNotebookExecutionJobRequest` is added feat: A new field `ray_logs_spec` is added to message `.google.cloud.aiplatform.v1.RaySpec` feat: A new message `RayLogsSpec` is added feat: A new field `system_instruction` is added to message `.google.cloud.aiplatform.v1.CountTokensRequest` feat: A new field `tools` is added to message `.google.cloud.aiplatform.v1.CountTokensRequest` feat: A new field `billable_sum` is added to message `.google.cloud.aiplatform.v1.SupervisedTuningDatasetDistribution` feat: A new field `total_billable_token_count` is added to message `.google.cloud.aiplatform.v1.SupervisedTuningDataStats` feat: A new value `ADAPTER_SIZE_THIRTY_TWO` is added to enum `AdapterSize` docs: A comment for field `name` in message `.google.cloud.aiplatform.v1.Dataset` is changed docs: A comment for field `name` in message `.google.cloud.aiplatform.v1.DatasetVersion` is changed docs: A comment for field `update_mask` in message `.google.cloud.aiplatform.v1.UpdateFeatureOnlineStoreRequest` is changed docs: A comment for field `update_mask` in message `.google.cloud.aiplatform.v1.UpdateFeatureViewRequest` is changed docs: A comment for field `update_mask` in message `.google.cloud.aiplatform.v1.UpdateFeatureGroupRequest` is changed docs: A comment for field `update_mask` in message `.google.cloud.aiplatform.v1.UpdateFeatureRequest` is changed docs: A comment for field `language_code` in message `.google.cloud.aiplatform.v1.GetPublisherModelRequest` is changed docs: A comment for field `model` in message `.google.cloud.aiplatform.v1.CountTokensRequest` is changed docs: A comment for field `instances` in message `.google.cloud.aiplatform.v1.CountTokensRequest` is changed docs: A comment for field `contents` in message `.google.cloud.aiplatform.v1.CountTokensRequest` is changed docs: A comment for message `TrialContext` is changed docs: A comment for field `disable_attribution` in message `.google.cloud.aiplatform.v1.Retrieval` is changed PiperOrigin-RevId: 656538560 Source-Link: https://github.com/googleapis/googleapis/commit/0fa9ce880be5ea7c3027015849cd4fbfb04812c5 Source-Link: https://github.com/googleapis/googleapis-gen/commit/5c99c52736e4905612eca655a69c74642779ec9a Copy-Tag: eyJwIjoiQWlQbGF0Zm9ybS8uT3dsQm90LnlhbWwiLCJoIjoiNWM5OWM1MjczNmU0OTA1NjEyZWNhNjU1YTY5Yzc0NjQyNzc5ZWM5YSJ9 --- .../Cloud/Aiplatform/V1/AcceleratorType.php | Bin 0 -> 1178 bytes .../Google/Cloud/Aiplatform/V1/Annotation.php | 46 + .../Cloud/Aiplatform/V1/AnnotationSpec.php | 37 + .../Google/Cloud/Aiplatform/V1/Artifact.php | Bin 0 -> 1822 bytes .../Aiplatform/V1/BatchPredictionJob.php | Bin 0 -> 4790 bytes .../Cloud/Aiplatform/V1/CompletionStats.php | 33 + .../Google/Cloud/Aiplatform/V1/Content.php | Bin 0 -> 5649 bytes .../Google/Cloud/Aiplatform/V1/Context.php | 49 + .../Google/Cloud/Aiplatform/V1/CustomJob.php | Bin 0 -> 4446 bytes .../Google/Cloud/Aiplatform/V1/DataItem.php | 42 + .../Cloud/Aiplatform/V1/DataLabelingJob.php | Bin 0 -> 3329 bytes .../Google/Cloud/Aiplatform/V1/Dataset.php | Bin 0 -> 3342 bytes .../Cloud/Aiplatform/V1/DatasetService.php | Bin 0 -> 11573 bytes .../Cloud/Aiplatform/V1/DatasetVersion.php | 41 + .../Cloud/Aiplatform/V1/DeployedIndexRef.php | 34 + .../Cloud/Aiplatform/V1/DeployedModelRef.php | 33 + .../Aiplatform/V1/DeploymentResourcePool.php | 40 + .../V1/DeploymentResourcePoolService.php | 85 + .../Cloud/Aiplatform/V1/EncryptionSpec.php | 30 + .../Google/Cloud/Aiplatform/V1/Endpoint.php | Bin 0 -> 4043 bytes .../Cloud/Aiplatform/V1/EndpointService.php | 110 + .../Google/Cloud/Aiplatform/V1/EntityType.php | 46 + .../Google/Cloud/Aiplatform/V1/EnvVar.php | 31 + .../Aiplatform/V1/EvaluatedAnnotation.php | Bin 0 -> 2323 bytes .../Google/Cloud/Aiplatform/V1/Event.php | Bin 0 -> 1470 bytes .../Google/Cloud/Aiplatform/V1/Execution.php | Bin 0 -> 1870 bytes .../Cloud/Aiplatform/V1/Explanation.php | Bin 0 -> 4981 bytes .../Aiplatform/V1/ExplanationMetadata.php | Bin 0 -> 3417 bytes .../Google/Cloud/Aiplatform/V1/Feature.php | Bin 0 -> 2506 bytes .../Cloud/Aiplatform/V1/FeatureGroup.php | Bin 0 -> 1852 bytes .../Aiplatform/V1/FeatureMonitoringStats.php | 37 + .../Aiplatform/V1/FeatureOnlineStore.php | Bin 0 -> 2737 bytes .../V1/FeatureOnlineStoreAdminService.php | 135 + .../V1/FeatureOnlineStoreService.php | Bin 0 -> 4723 bytes .../Aiplatform/V1/FeatureRegistryService.php | 89 + .../Cloud/Aiplatform/V1/FeatureSelector.php | 33 + .../Cloud/Aiplatform/V1/FeatureView.php | Bin 0 -> 2980 bytes .../Cloud/Aiplatform/V1/FeatureViewSync.php | 44 + .../Cloud/Aiplatform/V1/Featurestore.php | Bin 0 -> 2187 bytes .../Aiplatform/V1/FeaturestoreMonitoring.php | Bin 0 -> 1964 bytes .../V1/FeaturestoreOnlineService.php | Bin 0 -> 4831 bytes .../Aiplatform/V1/FeaturestoreService.php | Bin 0 -> 16109 bytes .../Aiplatform/V1/GenaiTuningService.php | 60 + .../Aiplatform/V1/HyperparameterTuningJob.php | 59 + .../Google/Cloud/Aiplatform/V1/Index.php | Bin 0 -> 3316 bytes .../Cloud/Aiplatform/V1/IndexEndpoint.php | 77 + .../Aiplatform/V1/IndexEndpointService.php | 101 + .../Cloud/Aiplatform/V1/IndexService.php | Bin 0 -> 5825 bytes .../Google/Cloud/Aiplatform/V1/Io.php | 51 + .../Google/Cloud/Aiplatform/V1/JobService.php | 272 ++ .../Google/Cloud/Aiplatform/V1/JobState.php | Bin 0 -> 1150 bytes .../Cloud/Aiplatform/V1/LineageSubgraph.php | 35 + .../Cloud/Aiplatform/V1/LlmUtilityService.php | 50 + .../Cloud/Aiplatform/V1/MachineResources.php | 64 + .../V1/ManualBatchTuningParameters.php | 31 + .../Cloud/Aiplatform/V1/MatchService.php | Bin 0 -> 2973 bytes .../Cloud/Aiplatform/V1/MetadataSchema.php | Bin 0 -> 1612 bytes .../Cloud/Aiplatform/V1/MetadataService.php | 274 ++ .../Cloud/Aiplatform/V1/MetadataStore.php | 44 + .../Aiplatform/V1/MigratableResource.php | Bin 0 -> 2822 bytes .../Cloud/Aiplatform/V1/MigrationService.php | Bin 0 -> 4948 bytes .../Google/Cloud/Aiplatform/V1/Model.php | Bin 0 -> 5747 bytes .../V1/ModelDeploymentMonitoringJob.php | Bin 0 -> 5652 bytes .../Cloud/Aiplatform/V1/ModelEvaluation.php | 49 + .../Aiplatform/V1/ModelEvaluationSlice.php | Bin 0 -> 2635 bytes .../Aiplatform/V1/ModelGardenService.php | Bin 0 -> 1974 bytes .../Cloud/Aiplatform/V1/ModelMonitoring.php | Bin 0 -> 4391 bytes .../Cloud/Aiplatform/V1/ModelService.php | Bin 0 -> 11232 bytes .../Google/Cloud/Aiplatform/V1/NasJob.php | Bin 0 -> 4737 bytes .../Cloud/Aiplatform/V1/NetworkSpec.php | 36 + .../Cloud/Aiplatform/V1/NotebookEucConfig.php | 31 + .../Aiplatform/V1/NotebookExecutionJob.php | Bin 0 -> 2896 bytes .../V1/NotebookIdleShutdownConfig.php | 32 + .../Cloud/Aiplatform/V1/NotebookRuntime.php | Bin 0 -> 4661 bytes .../V1/NotebookRuntimeTemplateRef.php | 32 + .../Cloud/Aiplatform/V1/NotebookService.php | Bin 0 -> 9848 bytes .../Google/Cloud/Aiplatform/V1/Openapi.php | Bin 0 -> 1813 bytes .../Google/Cloud/Aiplatform/V1/Operation.php | 36 + .../Aiplatform/V1/PersistentResource.php | Bin 0 -> 3921 bytes .../V1/PersistentResourceService.php | 82 + .../Aiplatform/V1/PipelineFailurePolicy.php | Bin 0 -> 1040 bytes .../Cloud/Aiplatform/V1/PipelineJob.php | Bin 0 -> 6383 bytes .../Cloud/Aiplatform/V1/PipelineService.php | 118 + .../Cloud/Aiplatform/V1/PipelineState.php | Bin 0 -> 1138 bytes .../Cloud/Aiplatform/V1/PredictionService.php | Bin 0 -> 9233 bytes .../Cloud/Aiplatform/V1/PublisherModel.php | Bin 0 -> 5803 bytes .../Google/Cloud/Aiplatform/V1/SavedQuery.php | 45 + .../Google/Cloud/Aiplatform/V1/Schedule.php | Bin 0 -> 2359 bytes .../Cloud/Aiplatform/V1/ScheduleService.php | 77 + .../Cloud/Aiplatform/V1/ServiceNetworking.php | 37 + .../Cloud/Aiplatform/V1/SpecialistPool.php | 37 + .../Aiplatform/V1/SpecialistPoolService.php | 76 + .../Google/Cloud/Aiplatform/V1/Study.php | Bin 0 -> 7520 bytes .../Cloud/Aiplatform/V1/Tensorboard.php | 51 + .../Cloud/Aiplatform/V1/TensorboardData.php | Bin 0 -> 1902 bytes .../Aiplatform/V1/TensorboardExperiment.php | 43 + .../Cloud/Aiplatform/V1/TensorboardRun.php | 42 + .../Aiplatform/V1/TensorboardService.php | 252 ++ .../Aiplatform/V1/TensorboardTimeSeries.php | Bin 0 -> 1961 bytes .../Google/Cloud/Aiplatform/V1/Tool.php | Bin 0 -> 2200 bytes .../Cloud/Aiplatform/V1/TrainingPipeline.php | Bin 0 -> 3926 bytes .../Google/Cloud/Aiplatform/V1/TuningJob.php | Bin 0 -> 4381 bytes .../Google/Cloud/Aiplatform/V1/Types.php | Bin 0 -> 1609 bytes .../Aiplatform/V1/UnmanagedContainerModel.php | 33 + .../Aiplatform/V1/UserActionReference.php | Bin 0 -> 988 bytes .../Google/Cloud/Aiplatform/V1/Value.php | Bin 0 -> 913 bytes .../Cloud/Aiplatform/V1/VizierService.php | 141 + .../Cloud/AIPlatform/V1/AcceleratorType.php | 138 + .../AIPlatform/V1/ActiveLearningConfig.php | 210 + ...ddContextArtifactsAndExecutionsRequest.php | 191 + ...dContextArtifactsAndExecutionsResponse.php | 34 + .../V1/AddContextChildrenRequest.php | 129 + .../V1/AddContextChildrenResponse.php | 34 + .../V1/AddExecutionEventsRequest.php | 133 + .../V1/AddExecutionEventsResponse.php | 34 + .../V1/AddTrialMeasurementRequest.php | 120 + .../Google/Cloud/AIPlatform/V1/Annotation.php | 446 +++ .../Cloud/AIPlatform/V1/AnnotationSpec.php | 235 ++ .../Google/Cloud/AIPlatform/V1/Artifact.php | 547 +++ .../Cloud/AIPlatform/V1/Artifact/State.php | 66 + ...AssignNotebookRuntimeOperationMetadata.php | 116 + .../V1/AssignNotebookRuntimeRequest.php | 216 + .../Cloud/AIPlatform/V1/Attribution.php | 565 +++ .../AIPlatform/V1/AutomaticResources.php | 155 + .../AIPlatform/V1/AutoscalingMetricSpec.php | 131 + .../Google/Cloud/AIPlatform/V1/AvroSource.php | 77 + ...tchCancelPipelineJobsOperationMetadata.php | 78 + .../V1/BatchCancelPipelineJobsRequest.php | 139 + .../V1/BatchCancelPipelineJobsResponse.php | 68 + .../BatchCreateFeaturesOperationMetadata.php | 77 + .../V1/BatchCreateFeaturesRequest.php | 148 + .../V1/BatchCreateFeaturesResponse.php | 68 + .../V1/BatchCreateTensorboardRunsRequest.php | 143 + .../V1/BatchCreateTensorboardRunsResponse.php | 68 + ...atchCreateTensorboardTimeSeriesRequest.php | 153 + ...tchCreateTensorboardTimeSeriesResponse.php | 68 + .../AIPlatform/V1/BatchDedicatedResources.php | 158 + .../V1/BatchDeletePipelineJobsRequest.php | 139 + .../V1/BatchDeletePipelineJobsResponse.php | 68 + ...BatchImportEvaluatedAnnotationsRequest.php | 128 + ...atchImportEvaluatedAnnotationsResponse.php | 68 + ...atchImportModelEvaluationSlicesRequest.php | 128 + ...tchImportModelEvaluationSlicesResponse.php | 72 + ...BatchMigrateResourcesOperationMetadata.php | 112 + .../PartialResult.php | 193 + .../V1/BatchMigrateResourcesRequest.php | 133 + .../V1/BatchMigrateResourcesResponse.php | 68 + .../AIPlatform/V1/BatchPredictionJob.php | 1510 +++++++ .../V1/BatchPredictionJob/InputConfig.php | 169 + .../V1/BatchPredictionJob/InstanceConfig.php | 445 +++ .../V1/BatchPredictionJob/OutputConfig.php | 277 ++ .../V1/BatchPredictionJob/OutputInfo.php | 168 + ...atchReadFeatureValuesOperationMetadata.php | 77 + .../V1/BatchReadFeatureValuesRequest.php | 403 ++ .../EntityTypeSpec.php | 165 + .../PassThroughField.php | 78 + .../V1/BatchReadFeatureValuesResponse.php | 34 + ...chReadTensorboardTimeSeriesDataRequest.php | 149 + ...hReadTensorboardTimeSeriesDataResponse.php | 68 + .../AIPlatform/V1/BigQueryDestination.php | 95 + .../Cloud/AIPlatform/V1/BigQuerySource.php | 75 + .../src/Google/Cloud/AIPlatform/V1/Blob.php | 103 + .../AIPlatform/V1/BlurBaselineConfig.php | 83 + .../Google/Cloud/AIPlatform/V1/BoolArray.php | 67 + .../V1/CancelBatchPredictionJobRequest.php | 92 + .../AIPlatform/V1/CancelCustomJobRequest.php | 92 + .../V1/CancelDataLabelingJobRequest.php | 92 + .../CancelHyperparameterTuningJobRequest.php | 92 + .../AIPlatform/V1/CancelNasJobRequest.php | 92 + .../V1/CancelPipelineJobRequest.php | 92 + .../V1/CancelTrainingPipelineRequest.php | 92 + .../AIPlatform/V1/CancelTuningJobRequest.php | 87 + .../Google/Cloud/AIPlatform/V1/Candidate.php | 357 ++ .../AIPlatform/V1/Candidate/FinishReason.php | 120 + .../CheckTrialEarlyStoppingStateMetatdata.php | 147 + .../CheckTrialEarlyStoppingStateRequest.php | 76 + .../CheckTrialEarlyStoppingStateResponse.php | 68 + .../Google/Cloud/AIPlatform/V1/Citation.php | 247 ++ .../Cloud/AIPlatform/V1/CitationMetadata.php | 67 + .../AIPlatform/V1/CompleteTrialRequest.php | 204 + .../Cloud/AIPlatform/V1/CompletionStats.php | 194 + .../AIPlatform/V1/ComputeTokensRequest.php | 208 + .../AIPlatform/V1/ComputeTokensResponse.php | 75 + .../V1/ContainerRegistryDestination.php | 95 + .../Cloud/AIPlatform/V1/ContainerSpec.php | 181 + .../Google/Cloud/AIPlatform/V1/Content.php | 116 + .../Google/Cloud/AIPlatform/V1/Context.php | 501 +++ .../V1/CopyModelOperationMetadata.php | 79 + .../Cloud/AIPlatform/V1/CopyModelRequest.php | 272 ++ .../Cloud/AIPlatform/V1/CopyModelResponse.php | 107 + .../AIPlatform/V1/CountTokensRequest.php | 310 ++ .../AIPlatform/V1/CountTokensResponse.php | 105 + .../AIPlatform/V1/CreateArtifactRequest.php | 209 + .../V1/CreateBatchPredictionJobRequest.php | 133 + .../AIPlatform/V1/CreateContextRequest.php | 204 + .../AIPlatform/V1/CreateCustomJobRequest.php | 133 + .../V1/CreateDataLabelingJobRequest.php | 133 + .../V1/CreateDatasetOperationMetadata.php | 78 + .../AIPlatform/V1/CreateDatasetRequest.php | 133 + .../CreateDatasetVersionOperationMetadata.php | 78 + .../V1/CreateDatasetVersionRequest.php | 148 + ...eploymentResourcePoolOperationMetadata.php | 77 + .../CreateDeploymentResourcePoolRequest.php | 189 + .../V1/CreateEndpointOperationMetadata.php | 78 + .../AIPlatform/V1/CreateEndpointRequest.php | 239 ++ .../V1/CreateEntityTypeOperationMetadata.php | 77 + .../AIPlatform/V1/CreateEntityTypeRequest.php | 214 + .../AIPlatform/V1/CreateExecutionRequest.php | 214 + .../CreateFeatureGroupOperationMetadata.php | 77 + .../V1/CreateFeatureGroupRequest.php | 196 + ...ateFeatureOnlineStoreOperationMetadata.php | 77 + .../V1/CreateFeatureOnlineStoreRequest.php | 196 + .../V1/CreateFeatureOperationMetadata.php | 77 + .../AIPlatform/V1/CreateFeatureRequest.php | 228 ++ .../V1/CreateFeatureViewOperationMetadata.php | 77 + .../V1/CreateFeatureViewRequest.php | 242 ++ .../CreateFeaturestoreOperationMetadata.php | 77 + .../V1/CreateFeaturestoreRequest.php | 214 + .../CreateHyperparameterTuningJobRequest.php | 138 + .../CreateIndexEndpointOperationMetadata.php | 78 + .../V1/CreateIndexEndpointRequest.php | 133 + .../V1/CreateIndexOperationMetadata.php | 122 + .../AIPlatform/V1/CreateIndexRequest.php | 133 + .../V1/CreateMetadataSchemaRequest.php | 209 + .../CreateMetadataStoreOperationMetadata.php | 78 + .../V1/CreateMetadataStoreRequest.php | 209 + ...ateModelDeploymentMonitoringJobRequest.php | 133 + .../AIPlatform/V1/CreateNasJobRequest.php | 133 + ...eNotebookExecutionJobOperationMetadata.php | 116 + .../V1/CreateNotebookExecutionJobRequest.php | 168 + ...tebookRuntimeTemplateOperationMetadata.php | 78 + .../CreateNotebookRuntimeTemplateRequest.php | 169 + ...atePersistentResourceOperationMetadata.php | 111 + .../V1/CreatePersistentResourceRequest.php | 185 + .../V1/CreatePipelineJobRequest.php | 190 + ...CreateRegistryFeatureOperationMetadata.php | 77 + .../AIPlatform/V1/CreateScheduleRequest.php | 133 + .../CreateSpecialistPoolOperationMetadata.php | 78 + .../V1/CreateSpecialistPoolRequest.php | 133 + .../AIPlatform/V1/CreateStudyRequest.php | 133 + .../V1/CreateTensorboardExperimentRequest.php | 190 + .../V1/CreateTensorboardOperationMetadata.php | 77 + .../V1/CreateTensorboardRequest.php | 133 + .../V1/CreateTensorboardRunRequest.php | 190 + .../V1/CreateTensorboardTimeSeriesRequest.php | 189 + .../V1/CreateTrainingPipelineRequest.php | 133 + .../AIPlatform/V1/CreateTrialRequest.php | 133 + .../AIPlatform/V1/CreateTuningJobRequest.php | 133 + .../Cloud/AIPlatform/V1/CsvDestination.php | 77 + .../Google/Cloud/AIPlatform/V1/CsvSource.php | 77 + .../Google/Cloud/AIPlatform/V1/CustomJob.php | 594 +++ .../Cloud/AIPlatform/V1/CustomJobSpec.php | 845 ++++ .../Google/Cloud/AIPlatform/V1/DataItem.php | 316 ++ .../Cloud/AIPlatform/V1/DataItemView.php | 173 + .../Cloud/AIPlatform/V1/DataLabelingJob.php | 852 ++++ .../Google/Cloud/AIPlatform/V1/Dataset.php | 669 ++++ .../Cloud/AIPlatform/V1/DatasetVersion.php | 351 ++ .../AIPlatform/V1/DedicatedResources.php | 328 ++ .../AIPlatform/V1/DeleteArtifactRequest.php | 134 + .../V1/DeleteBatchPredictionJobRequest.php | 92 + .../AIPlatform/V1/DeleteContextRequest.php | 172 + .../AIPlatform/V1/DeleteCustomJobRequest.php | 92 + .../V1/DeleteDataLabelingJobRequest.php | 92 + .../AIPlatform/V1/DeleteDatasetRequest.php | 92 + .../V1/DeleteDatasetVersionRequest.php | 92 + .../DeleteDeploymentResourcePoolRequest.php | 91 + .../AIPlatform/V1/DeleteEndpointRequest.php | 92 + .../AIPlatform/V1/DeleteEntityTypeRequest.php | 148 + .../AIPlatform/V1/DeleteExecutionRequest.php | 134 + .../V1/DeleteFeatureGroupRequest.php | 138 + .../V1/DeleteFeatureOnlineStoreRequest.php | 138 + .../AIPlatform/V1/DeleteFeatureRequest.php | 99 + .../DeleteFeatureValuesOperationMetadata.php | 77 + .../V1/DeleteFeatureValuesRequest.php | 170 + .../SelectEntity.php | 86 + .../SelectTimeRangeAndFeature.php | 179 + .../V1/DeleteFeatureValuesResponse.php | 109 + .../SelectEntity.php | 116 + .../SelectTimeRangeAndFeature.php | 170 + .../V1/DeleteFeatureViewRequest.php | 91 + .../V1/DeleteFeaturestoreRequest.php | 154 + .../DeleteHyperparameterTuningJobRequest.php | 92 + .../V1/DeleteIndexEndpointRequest.php | 92 + .../AIPlatform/V1/DeleteIndexRequest.php | 92 + .../DeleteMetadataStoreOperationMetadata.php | 78 + .../V1/DeleteMetadataStoreRequest.php | 131 + ...eteModelDeploymentMonitoringJobRequest.php | 92 + .../AIPlatform/V1/DeleteModelRequest.php | 87 + .../V1/DeleteModelVersionRequest.php | 93 + .../AIPlatform/V1/DeleteNasJobRequest.php | 92 + .../V1/DeleteNotebookExecutionJobRequest.php | 81 + .../V1/DeleteNotebookRuntimeRequest.php | 97 + .../DeleteNotebookRuntimeTemplateRequest.php | 92 + .../AIPlatform/V1/DeleteOperationMetadata.php | 77 + .../V1/DeletePersistentResourceRequest.php | 92 + .../V1/DeletePipelineJobRequest.php | 92 + .../AIPlatform/V1/DeleteSavedQueryRequest.php | 92 + .../AIPlatform/V1/DeleteScheduleRequest.php | 92 + .../V1/DeleteSpecialistPoolRequest.php | 129 + .../AIPlatform/V1/DeleteStudyRequest.php | 87 + .../V1/DeleteTensorboardExperimentRequest.php | 92 + .../V1/DeleteTensorboardRequest.php | 92 + .../V1/DeleteTensorboardRunRequest.php | 92 + .../V1/DeleteTensorboardTimeSeriesRequest.php | 92 + .../V1/DeleteTrainingPipelineRequest.php | 92 + .../AIPlatform/V1/DeleteTrialRequest.php | 92 + .../V1/DeployIndexOperationMetadata.php | 112 + .../AIPlatform/V1/DeployIndexRequest.php | 138 + .../AIPlatform/V1/DeployIndexResponse.php | 78 + .../V1/DeployModelOperationMetadata.php | 78 + .../AIPlatform/V1/DeployModelRequest.php | 246 ++ .../AIPlatform/V1/DeployModelResponse.php | 78 + .../Cloud/AIPlatform/V1/DeployedIndex.php | 757 ++++ .../AIPlatform/V1/DeployedIndexAuthConfig.php | 77 + .../DeployedIndexAuthConfig/AuthProvider.php | 126 + .../Cloud/AIPlatform/V1/DeployedIndexRef.php | 135 + .../Cloud/AIPlatform/V1/DeployedModel.php | 753 ++++ .../Cloud/AIPlatform/V1/DeployedModelRef.php | 101 + .../AIPlatform/V1/DeploymentResourcePool.php | 328 ++ .../V1/DestinationFeatureSetting.php | 103 + .../AIPlatform/V1/DirectPredictRequest.php | 154 + .../AIPlatform/V1/DirectPredictResponse.php | 112 + .../AIPlatform/V1/DirectRawPredictRequest.php | 164 + .../V1/DirectRawPredictResponse.php | 68 + .../Google/Cloud/AIPlatform/V1/DiskSpec.php | 109 + .../Cloud/AIPlatform/V1/DoubleArray.php | 67 + .../Cloud/AIPlatform/V1/EncryptionSpec.php | 84 + .../Google/Cloud/AIPlatform/V1/Endpoint.php | 939 +++++ .../Cloud/AIPlatform/V1/EntityIdSelector.php | 113 + .../Google/Cloud/AIPlatform/V1/EntityType.php | 445 +++ .../src/Google/Cloud/AIPlatform/V1/EnvVar.php | 125 + .../AIPlatform/V1/ErrorAnalysisAnnotation.php | 177 + .../AttributedItem.php | 109 + .../V1/ErrorAnalysisAnnotation/QueryType.php | 71 + .../AIPlatform/V1/EvaluatedAnnotation.php | 431 ++ .../EvaluatedAnnotationType.php | 74 + .../V1/EvaluatedAnnotationExplanation.php | 123 + .../src/Google/Cloud/AIPlatform/V1/Event.php | 246 ++ .../Google/Cloud/AIPlatform/V1/Event/Type.php | 64 + .../Google/Cloud/AIPlatform/V1/Examples.php | 197 + .../V1/Examples/ExampleGcsSource.php | 118 + .../Examples/ExampleGcsSource/DataFormat.php | 57 + .../Cloud/AIPlatform/V1/ExamplesOverride.php | 203 + .../V1/ExamplesOverride/DataFormat.php | 64 + .../V1/ExamplesRestrictionsNamespace.php | 135 + .../Google/Cloud/AIPlatform/V1/Execution.php | 509 +++ .../Cloud/AIPlatform/V1/Execution/State.php | 96 + .../Cloud/AIPlatform/V1/ExplainRequest.php | 352 ++ .../Cloud/AIPlatform/V1/ExplainResponse.php | 160 + .../Cloud/AIPlatform/V1/Explanation.php | 204 + .../AIPlatform/V1/ExplanationMetadata.php | 265 ++ .../V1/ExplanationMetadata/InputMetadata.php | 636 +++ .../InputMetadata/Encoding.php | 133 + .../InputMetadata/FeatureValueDomain.php | 195 + .../InputMetadata/Visualization.php | 324 ++ .../InputMetadata/Visualization/ColorMap.php | 94 + .../Visualization/OverlayType.php | 80 + .../InputMetadata/Visualization/Polarity.php | 74 + .../InputMetadata/Visualization/Type.php | 67 + .../V1/ExplanationMetadata/OutputMetadata.php | 197 + .../V1/ExplanationMetadataOverride.php | 89 + .../InputMetadataOverride.php | 88 + .../AIPlatform/V1/ExplanationParameters.php | 339 ++ .../Cloud/AIPlatform/V1/ExplanationSpec.php | 121 + .../AIPlatform/V1/ExplanationSpecOverride.php | 175 + .../Cloud/AIPlatform/V1/ExportDataConfig.php | 455 +++ .../V1/ExportDataConfig/ExportUse.php | 60 + .../V1/ExportDataOperationMetadata.php | 116 + .../Cloud/AIPlatform/V1/ExportDataRequest.php | 138 + .../AIPlatform/V1/ExportDataResponse.php | 132 + .../ExportFeatureValuesOperationMetadata.php | 77 + .../V1/ExportFeatureValuesRequest.php | 295 ++ .../ExportFeatureValuesRequest/FullExport.php | 141 + .../SnapshotExport.php | 141 + .../V1/ExportFeatureValuesResponse.php | 34 + .../Cloud/AIPlatform/V1/ExportFilterSplit.php | 212 + .../AIPlatform/V1/ExportFractionSplit.php | 140 + .../V1/ExportModelOperationMetadata.php | 127 + .../OutputInfo.php | 117 + .../AIPlatform/V1/ExportModelRequest.php | 138 + .../V1/ExportModelRequest/OutputConfig.php | 214 + .../AIPlatform/V1/ExportModelResponse.php | 35 + ...ExportTensorboardTimeSeriesDataRequest.php | 264 ++ ...xportTensorboardTimeSeriesDataResponse.php | 114 + .../Google/Cloud/AIPlatform/V1/Feature.php | 548 +++ .../V1/Feature/MonitoringStatsAnomaly.php | 120 + .../MonitoringStatsAnomaly/Objective.php | 67 + .../Cloud/AIPlatform/V1/Feature/ValueType.php | 121 + .../Cloud/AIPlatform/V1/FeatureGroup.php | 348 ++ .../AIPlatform/V1/FeatureGroup/BigQuery.php | 122 + .../Cloud/AIPlatform/V1/FeatureNoiseSigma.php | 69 + .../NoiseSigmaForFeature.php | 128 + .../AIPlatform/V1/FeatureOnlineStore.php | 488 +++ .../V1/FeatureOnlineStore/Bigtable.php | 78 + .../Bigtable/AutoScaling.php | 164 + .../DedicatedServingEndpoint.php | 178 + .../V1/FeatureOnlineStore/Optimized.php | 36 + .../V1/FeatureOnlineStore/State.php | 69 + .../Cloud/AIPlatform/V1/FeatureSelector.php | 77 + .../AIPlatform/V1/FeatureStatsAnomaly.php | 411 ++ .../Cloud/AIPlatform/V1/FeatureValue.php | 416 ++ .../AIPlatform/V1/FeatureValue/Metadata.php | 100 + .../AIPlatform/V1/FeatureValueDestination.php | 180 + .../Cloud/AIPlatform/V1/FeatureValueList.php | 67 + .../Cloud/AIPlatform/V1/FeatureView.php | 453 +++ .../V1/FeatureView/BigQuerySource.php | 106 + .../V1/FeatureView/FeatureRegistrySource.php | 115 + .../FeatureRegistrySource/FeatureGroup.php | 105 + .../AIPlatform/V1/FeatureView/IndexConfig.php | 350 ++ .../IndexConfig/BruteForceConfig.php | 36 + .../IndexConfig/DistanceMeasureType.php | 76 + .../FeatureView/IndexConfig/TreeAHConfig.php | 84 + .../AIPlatform/V1/FeatureView/SyncConfig.php | 90 + .../AIPlatform/V1/FeatureViewDataFormat.php | 61 + .../AIPlatform/V1/FeatureViewDataKey.php | 111 + .../V1/FeatureViewDataKey/CompositeKey.php | 74 + .../Cloud/AIPlatform/V1/FeatureViewSync.php | 256 ++ .../V1/FeatureViewSync/SyncSummary.php | 105 + .../Cloud/AIPlatform/V1/Featurestore.php | 461 +++ .../V1/Featurestore/OnlineServingConfig.php | 135 + .../OnlineServingConfig/Scaling.php | 172 + .../AIPlatform/V1/Featurestore/State.php | 75 + .../V1/FeaturestoreMonitoringConfig.php | 241 ++ .../ImportFeaturesAnalysis.php | 116 + .../ImportFeaturesAnalysis/Baseline.php | 78 + .../ImportFeaturesAnalysis/State.php | 84 + .../SnapshotAnalysis.php | 193 + .../ThresholdConfig.php | 96 + .../V1/FetchFeatureValuesRequest.php | 176 + .../V1/FetchFeatureValuesResponse.php | 161 + .../FeatureNameValuePairList.php | 71 + .../FeatureNameValuePair.php | 112 + .../Google/Cloud/AIPlatform/V1/FileData.php | 101 + .../Cloud/AIPlatform/V1/FilterSplit.php | 212 + .../AIPlatform/V1/FindNeighborsRequest.php | 210 + .../V1/FindNeighborsRequest/Query.php | 315 ++ .../V1/FindNeighborsRequest/Query/RRF.php | 78 + .../AIPlatform/V1/FindNeighborsResponse.php | 68 + .../NearestNeighbors.php | 104 + .../V1/FindNeighborsResponse/Neighbor.php | 160 + .../Cloud/AIPlatform/V1/FractionSplit.php | 140 + .../Cloud/AIPlatform/V1/FunctionCall.php | 121 + .../AIPlatform/V1/FunctionCallingConfig.php | 109 + .../V1/FunctionCallingConfig/Mode.php | 76 + .../AIPlatform/V1/FunctionDeclaration.php | 217 + .../Cloud/AIPlatform/V1/FunctionResponse.php | 118 + .../Cloud/AIPlatform/V1/GcsDestination.php | 79 + .../Google/Cloud/AIPlatform/V1/GcsSource.php | 75 + .../AIPlatform/V1/GenerateContentRequest.php | 374 ++ .../AIPlatform/V1/GenerateContentResponse.php | 163 + .../PromptFeedback.php | 138 + .../PromptFeedback/BlockedReason.php | 79 + .../GenerateContentResponse/UsageMetadata.php | 131 + .../Cloud/AIPlatform/V1/GenerationConfig.php | 501 +++ .../V1/GenericOperationMetadata.php | 175 + .../Cloud/AIPlatform/V1/GenieSource.php | 68 + .../V1/GetAnnotationSpecRequest.php | 136 + .../AIPlatform/V1/GetArtifactRequest.php | 92 + .../V1/GetBatchPredictionJobRequest.php | 92 + .../Cloud/AIPlatform/V1/GetContextRequest.php | 92 + .../AIPlatform/V1/GetCustomJobRequest.php | 92 + .../V1/GetDataLabelingJobRequest.php | 92 + .../Cloud/AIPlatform/V1/GetDatasetRequest.php | 126 + .../V1/GetDatasetVersionRequest.php | 136 + .../V1/GetDeploymentResourcePoolRequest.php | 91 + .../AIPlatform/V1/GetEndpointRequest.php | 92 + .../AIPlatform/V1/GetEntityTypeRequest.php | 92 + .../AIPlatform/V1/GetExecutionRequest.php | 92 + .../AIPlatform/V1/GetFeatureGroupRequest.php | 82 + .../V1/GetFeatureOnlineStoreRequest.php | 82 + .../Cloud/AIPlatform/V1/GetFeatureRequest.php | 104 + .../AIPlatform/V1/GetFeatureViewRequest.php | 92 + .../V1/GetFeatureViewSyncRequest.php | 92 + .../AIPlatform/V1/GetFeaturestoreRequest.php | 82 + .../V1/GetHyperparameterTuningJobRequest.php | 92 + .../AIPlatform/V1/GetIndexEndpointRequest.php | 92 + .../Cloud/AIPlatform/V1/GetIndexRequest.php | 92 + .../V1/GetMetadataSchemaRequest.php | 92 + .../AIPlatform/V1/GetMetadataStoreRequest.php | 92 + ...GetModelDeploymentMonitoringJobRequest.php | 92 + .../V1/GetModelEvaluationRequest.php | 92 + .../V1/GetModelEvaluationSliceRequest.php | 92 + .../Cloud/AIPlatform/V1/GetModelRequest.php | 133 + .../Cloud/AIPlatform/V1/GetNasJobRequest.php | 92 + .../V1/GetNasTrialDetailRequest.php | 92 + .../V1/GetNotebookExecutionJobRequest.php | 115 + .../V1/GetNotebookRuntimeRequest.php | 97 + .../V1/GetNotebookRuntimeTemplateRequest.php | 92 + .../V1/GetPersistentResourceRequest.php | 92 + .../AIPlatform/V1/GetPipelineJobRequest.php | 92 + .../V1/GetPublisherModelRequest.php | 202 + .../AIPlatform/V1/GetScheduleRequest.php | 92 + .../V1/GetSpecialistPoolRequest.php | 92 + .../Cloud/AIPlatform/V1/GetStudyRequest.php | 87 + .../V1/GetTensorboardExperimentRequest.php | 92 + .../AIPlatform/V1/GetTensorboardRequest.php | 92 + .../V1/GetTensorboardRunRequest.php | 92 + .../V1/GetTensorboardTimeSeriesRequest.php | 92 + .../V1/GetTrainingPipelineRequest.php | 92 + .../Cloud/AIPlatform/V1/GetTrialRequest.php | 92 + .../AIPlatform/V1/GetTuningJobRequest.php | 87 + .../AIPlatform/V1/GoogleSearchRetrieval.php | 33 + .../Cloud/AIPlatform/V1/GroundingChunk.php | 108 + .../V1/GroundingChunk/RetrievedContext.php | 124 + .../AIPlatform/V1/GroundingChunk/Web.php | 124 + .../Cloud/AIPlatform/V1/GroundingMetadata.php | 179 + .../Cloud/AIPlatform/V1/GroundingSupport.php | 165 + .../Cloud/AIPlatform/V1/HarmCategory.php | 75 + .../AIPlatform/V1/HyperparameterTuningJob.php | 727 ++++ .../Google/Cloud/AIPlatform/V1/IdMatcher.php | 83 + .../Cloud/AIPlatform/V1/ImportDataConfig.php | 274 ++ .../V1/ImportDataOperationMetadata.php | 78 + .../Cloud/AIPlatform/V1/ImportDataRequest.php | 133 + .../AIPlatform/V1/ImportDataResponse.php | 34 + .../ImportFeatureValuesOperationMetadata.php | 305 ++ .../V1/ImportFeatureValuesRequest.php | 476 +++ .../FeatureSpec.php | 112 + .../V1/ImportFeatureValuesResponse.php | 190 + .../V1/ImportModelEvaluationRequest.php | 133 + .../src/Google/Cloud/AIPlatform/V1/Index.php | 634 +++ .../AIPlatform/V1/Index/IndexUpdateMethod.php | 67 + .../Cloud/AIPlatform/V1/IndexDatapoint.php | 285 ++ .../V1/IndexDatapoint/CrowdingTag.php | 88 + .../V1/IndexDatapoint/NumericRestriction.php | 217 + .../NumericRestriction/Operator.php | 95 + .../V1/IndexDatapoint/Restriction.php | 139 + .../V1/IndexDatapoint/SparseEmbedding.php | 109 + .../Cloud/AIPlatform/V1/IndexEndpoint.php | 695 ++++ .../AIPlatform/V1/IndexPrivateEndpoints.php | 147 + .../Google/Cloud/AIPlatform/V1/IndexStats.php | 135 + .../Cloud/AIPlatform/V1/InputDataConfig.php | 741 ++++ .../Google/Cloud/AIPlatform/V1/Int64Array.php | 67 + .../V1/IntegratedGradientsAttribution.php | 201 + .../Google/Cloud/AIPlatform/V1/JobState.php | 126 + .../AIPlatform/V1/LargeModelReference.php | 75 + .../Cloud/AIPlatform/V1/LineageSubgraph.php | 136 + .../AIPlatform/V1/ListAnnotationsRequest.php | 276 ++ .../AIPlatform/V1/ListAnnotationsResponse.php | 102 + .../AIPlatform/V1/ListArtifactsRequest.php | 380 ++ .../AIPlatform/V1/ListArtifactsResponse.php | 114 + .../V1/ListBatchPredictionJobsRequest.php | 317 ++ .../V1/ListBatchPredictionJobsResponse.php | 114 + .../AIPlatform/V1/ListContextsRequest.php | 392 ++ .../AIPlatform/V1/ListContextsResponse.php | 114 + .../AIPlatform/V1/ListCustomJobsRequest.php | 313 ++ .../AIPlatform/V1/ListCustomJobsResponse.php | 114 + .../AIPlatform/V1/ListDataItemsRequest.php | 276 ++ .../AIPlatform/V1/ListDataItemsResponse.php | 102 + .../V1/ListDataLabelingJobsRequest.php | 347 ++ .../V1/ListDataLabelingJobsResponse.php | 106 + .../V1/ListDatasetVersionsRequest.php | 276 ++ .../V1/ListDatasetVersionsResponse.php | 102 + .../AIPlatform/V1/ListDatasetsRequest.php | 327 ++ .../AIPlatform/V1/ListDatasetsResponse.php | 102 + .../V1/ListDeploymentResourcePoolsRequest.php | 174 + .../ListDeploymentResourcePoolsResponse.php | 105 + .../AIPlatform/V1/ListEndpointsRequest.php | 371 ++ .../AIPlatform/V1/ListEndpointsResponse.php | 114 + .../AIPlatform/V1/ListEntityTypesRequest.php | 380 ++ .../AIPlatform/V1/ListEntityTypesResponse.php | 114 + .../AIPlatform/V1/ListExecutionsRequest.php | 380 ++ .../AIPlatform/V1/ListExecutionsResponse.php | 114 + .../V1/ListFeatureGroupsRequest.php | 328 ++ .../V1/ListFeatureGroupsResponse.php | 114 + .../V1/ListFeatureOnlineStoresRequest.php | 328 ++ .../V1/ListFeatureOnlineStoresResponse.php | 114 + .../V1/ListFeatureViewSyncsRequest.php | 296 ++ .../V1/ListFeatureViewSyncsResponse.php | 114 + .../AIPlatform/V1/ListFeatureViewsRequest.php | 336 ++ .../V1/ListFeatureViewsResponse.php | 114 + .../AIPlatform/V1/ListFeaturesRequest.php | 478 +++ .../AIPlatform/V1/ListFeaturesResponse.php | 116 + .../V1/ListFeaturestoresRequest.php | 384 ++ .../V1/ListFeaturestoresResponse.php | 114 + .../ListHyperparameterTuningJobsRequest.php | 318 ++ .../ListHyperparameterTuningJobsResponse.php | 122 + .../V1/ListIndexEndpointsRequest.php | 313 ++ .../V1/ListIndexEndpointsResponse.php | 114 + .../AIPlatform/V1/ListIndexesRequest.php | 253 ++ .../AIPlatform/V1/ListIndexesResponse.php | 114 + .../V1/ListMetadataSchemasRequest.php | 222 ++ .../V1/ListMetadataSchemasResponse.php | 114 + .../V1/ListMetadataStoresRequest.php | 188 + .../V1/ListMetadataStoresResponse.php | 114 + ...stModelDeploymentMonitoringJobsRequest.php | 293 ++ ...tModelDeploymentMonitoringJobsResponse.php | 106 + .../V1/ListModelEvaluationSlicesRequest.php | 262 ++ .../V1/ListModelEvaluationSlicesResponse.php | 114 + .../V1/ListModelEvaluationsRequest.php | 253 ++ .../V1/ListModelEvaluationsResponse.php | 114 + .../V1/ListModelVersionsRequest.php | 330 ++ .../V1/ListModelVersionsResponse.php | 122 + .../Cloud/AIPlatform/V1/ListModelsRequest.php | 371 ++ .../AIPlatform/V1/ListModelsResponse.php | 114 + .../AIPlatform/V1/ListNasJobsRequest.php | 313 ++ .../AIPlatform/V1/ListNasJobsResponse.php | 122 + .../V1/ListNasTrialDetailsRequest.php | 180 + .../V1/ListNasTrialDetailsResponse.php | 114 + .../V1/ListNotebookExecutionJobsRequest.php | 333 ++ .../V1/ListNotebookExecutionJobsResponse.php | 109 + .../ListNotebookRuntimeTemplatesRequest.php | 380 ++ .../ListNotebookRuntimeTemplatesResponse.php | 114 + .../V1/ListNotebookRuntimesRequest.php | 436 +++ .../V1/ListNotebookRuntimesResponse.php | 114 + .../V1/ListOptimalTrialsRequest.php | 82 + .../V1/ListOptimalTrialsResponse.php | 80 + .../V1/ListPersistentResourcesRequest.php | 166 + .../V1/ListPersistentResourcesResponse.php | 107 + .../AIPlatform/V1/ListPipelineJobsRequest.php | 443 +++ .../V1/ListPipelineJobsResponse.php | 114 + .../AIPlatform/V1/ListSavedQueriesRequest.php | 276 ++ .../V1/ListSavedQueriesResponse.php | 102 + .../AIPlatform/V1/ListSchedulesRequest.php | 391 ++ .../AIPlatform/V1/ListSchedulesResponse.php | 114 + .../V1/ListSpecialistPoolsRequest.php | 219 ++ .../V1/ListSpecialistPoolsResponse.php | 102 + .../AIPlatform/V1/ListStudiesRequest.php | 163 + .../AIPlatform/V1/ListStudiesResponse.php | 110 + .../V1/ListTensorboardExperimentsRequest.php | 304 ++ .../V1/ListTensorboardExperimentsResponse.php | 114 + .../V1/ListTensorboardRunsRequest.php | 304 ++ .../V1/ListTensorboardRunsResponse.php | 114 + .../V1/ListTensorboardTimeSeriesRequest.php | 304 ++ .../V1/ListTensorboardTimeSeriesResponse.php | 114 + .../AIPlatform/V1/ListTensorboardsRequest.php | 304 ++ .../V1/ListTensorboardsResponse.php | 114 + .../V1/ListTrainingPipelinesRequest.php | 313 ++ .../V1/ListTrainingPipelinesResponse.php | 114 + .../Cloud/AIPlatform/V1/ListTrialsRequest.php | 163 + .../AIPlatform/V1/ListTrialsResponse.php | 110 + .../AIPlatform/V1/ListTuningJobsRequest.php | 197 + .../AIPlatform/V1/ListTuningJobsResponse.php | 114 + .../AIPlatform/V1/LookupStudyRequest.php | 121 + .../Cloud/AIPlatform/V1/MachineSpec.php | 217 + .../V1/ManualBatchTuningParameters.php | 91 + .../Cloud/AIPlatform/V1/Measurement.php | 159 + .../AIPlatform/V1/Measurement/Metric.php | 108 + .../V1/MergeVersionAliasesRequest.php | 180 + .../Cloud/AIPlatform/V1/MetadataSchema.php | 279 ++ .../V1/MetadataSchema/MetadataSchemaType.php | 71 + .../Cloud/AIPlatform/V1/MetadataStore.php | 330 ++ .../V1/MetadataStore/DataplexConfig.php | 74 + .../V1/MetadataStore/MetadataStoreState.php | 70 + .../AIPlatform/V1/MigratableResource.php | 271 ++ .../V1/MigratableResource/AutomlDataset.php | 112 + .../V1/MigratableResource/AutomlModel.php | 112 + .../DataLabelingDataset.php | 150 + .../DataLabelingAnnotatedDataset.php | 112 + .../MlEngineModelVersion.php | 132 + .../AIPlatform/V1/MigrateResourceRequest.php | 184 + .../MigrateAutomlDatasetConfig.php | 117 + .../MigrateAutomlModelConfig.php | 116 + .../MigrateDataLabelingDatasetConfig.php | 159 + ...rateDataLabelingAnnotatedDatasetConfig.php | 79 + .../MigrateMlEngineModelVersionConfig.php | 166 + .../AIPlatform/V1/MigrateResourceResponse.php | 156 + .../src/Google/Cloud/AIPlatform/V1/Model.php | 1937 +++++++++ .../AIPlatform/V1/Model/BaseModelSource.php | 112 + .../Cloud/AIPlatform/V1/Model/DataStats.php | 272 ++ .../V1/Model/DeploymentResourcesType.php | 78 + .../AIPlatform/V1/Model/ExportFormat.php | 161 + .../Model/ExportFormat/ExportableContent.php | 71 + .../AIPlatform/V1/Model/OriginalModelInfo.php | 78 + .../AIPlatform/V1/ModelContainerSpec.php | 1169 ++++++ ...ModelDeploymentMonitoringBigQueryTable.php | 182 + .../LogSource.php | 64 + .../LogType.php | 64 + .../V1/ModelDeploymentMonitoringJob.php | 1117 ++++++ .../LatestMonitoringPipelineMetadata.php | 128 + .../MonitoringScheduleState.php | 71 + ...delDeploymentMonitoringObjectiveConfig.php | 112 + ...ModelDeploymentMonitoringObjectiveType.php | 79 + ...odelDeploymentMonitoringScheduleConfig.php | 157 + .../Cloud/AIPlatform/V1/ModelEvaluation.php | 568 +++ .../ModelEvaluationExplanationSpec.php | 124 + .../AIPlatform/V1/ModelEvaluationSlice.php | 314 ++ .../V1/ModelEvaluationSlice/Slice.php | 180 + .../ModelEvaluationSlice/Slice/SliceSpec.php | 82 + .../Slice/SliceSpec/Range.php | 105 + .../Slice/SliceSpec/SliceConfig.php | 229 ++ .../Slice/SliceSpec/Value.php | 111 + .../Cloud/AIPlatform/V1/ModelExplanation.php | 139 + .../Cloud/AIPlatform/V1/ModelGardenSource.php | 68 + .../V1/ModelMonitoringAlertConfig.php | 167 + .../EmailAlertConfig.php | 70 + .../V1/ModelMonitoringObjectiveConfig.php | 214 + .../ExplanationConfig.php | 123 + .../ExplanationConfig/ExplanationBaseline.php | 148 + .../ExplanationBaseline/PredictionFormat.php | 64 + .../PredictionDriftDetectionConfig.php | 172 + .../TrainingDataset.php | 306 ++ .../TrainingPredictionSkewDetectionConfig.php | 177 + .../V1/ModelMonitoringStatsAnomalies.php | 169 + .../FeatureHistoricStatsAnomalies.php | 196 + .../Cloud/AIPlatform/V1/ModelSourceInfo.php | 109 + .../V1/ModelSourceInfo/ModelSourceType.php | 103 + .../MutateDeployedIndexOperationMetadata.php | 112 + .../V1/MutateDeployedIndexRequest.php | 148 + .../V1/MutateDeployedIndexResponse.php | 78 + .../MutateDeployedModelOperationMetadata.php | 78 + .../V1/MutateDeployedModelRequest.php | 240 ++ .../V1/MutateDeployedModelResponse.php | 78 + .../src/Google/Cloud/AIPlatform/V1/NasJob.php | 608 +++ .../Cloud/AIPlatform/V1/NasJobOutput.php | 78 + .../V1/NasJobOutput/MultiTrialJobOutput.php | 104 + .../Google/Cloud/AIPlatform/V1/NasJobSpec.php | 155 + .../V1/NasJobSpec/MultiTrialAlgorithmSpec.php | 218 ++ .../MultiTrialAlgorithmSpec/MetricSpec.php | 104 + .../MetricSpec/GoalType.php | 64 + .../MultiTrialAlgorithm.php | 66 + .../SearchTrialSpec.php | 202 + .../TrainTrialSpec.php | 164 + .../Google/Cloud/AIPlatform/V1/NasTrial.php | 237 ++ .../Cloud/AIPlatform/V1/NasTrial/State.php | 88 + .../Cloud/AIPlatform/V1/NasTrialDetail.php | 206 + .../AIPlatform/V1/NearestNeighborQuery.php | 310 ++ .../V1/NearestNeighborQuery/Embedding.php | 70 + .../V1/NearestNeighborQuery/NumericFilter.php | 233 ++ .../NumericFilter/Operator.php | 93 + .../V1/NearestNeighborQuery/Parameters.php | 125 + .../V1/NearestNeighborQuery/StringFilter.php | 145 + ...NearestNeighborSearchOperationMetadata.php | 121 + .../ContentValidationStats.php | 246 ++ .../RecordError.php | 212 + .../RecordError/RecordErrorType.php | 169 + .../Cloud/AIPlatform/V1/NearestNeighbors.php | 67 + .../V1/NearestNeighbors/Neighbor.php | 160 + .../Google/Cloud/AIPlatform/V1/Neighbor.php | 101 + .../Cloud/AIPlatform/V1/NetworkSpec.php | 147 + .../Google/Cloud/AIPlatform/V1/NfsMount.php | 147 + .../Cloud/AIPlatform/V1/NotebookEucConfig.php | 133 + .../AIPlatform/V1/NotebookExecutionJob.php | 704 ++++ .../DataformRepositorySource.php | 112 + .../DirectNotebookSource.php | 70 + .../GcsNotebookSource.php | 116 + .../V1/NotebookExecutionJobView.php | 61 + .../V1/NotebookIdleShutdownConfig.php | 120 + .../Cloud/AIPlatform/V1/NotebookRuntime.php | 897 +++++ .../V1/NotebookRuntime/HealthState.php | 64 + .../V1/NotebookRuntime/RuntimeState.php | 101 + .../AIPlatform/V1/NotebookRuntimeTemplate.php | 813 ++++ .../V1/NotebookRuntimeTemplateRef.php | 67 + .../AIPlatform/V1/NotebookRuntimeType.php | 62 + .../src/Google/Cloud/AIPlatform/V1/Part.php | 271 ++ ...useModelDeploymentMonitoringJobRequest.php | 92 + .../AIPlatform/V1/PauseScheduleRequest.php | 92 + .../AIPlatform/V1/PersistentDiskSpec.php | 118 + .../AIPlatform/V1/PersistentResource.php | 698 ++++ .../V1/PersistentResource/State.php | 96 + .../AIPlatform/V1/PipelineFailurePolicy.php | 68 + .../Cloud/AIPlatform/V1/PipelineJob.php | 973 +++++ .../V1/PipelineJob/RuntimeConfig.php | 311 ++ .../RuntimeConfig/InputArtifact.php | 90 + .../Cloud/AIPlatform/V1/PipelineJobDetail.php | 155 + .../Cloud/AIPlatform/V1/PipelineState.php | 106 + .../AIPlatform/V1/PipelineTaskDetail.php | 551 +++ .../V1/PipelineTaskDetail/ArtifactList.php | 70 + .../PipelineTaskDetail/PipelineTaskStatus.php | 174 + .../V1/PipelineTaskDetail/State.php | 116 + .../V1/PipelineTaskExecutorDetail.php | 108 + .../ContainerDetail.php | 225 ++ .../CustomJobDetail.php | 116 + .../V1/PipelineTemplateMetadata.php | 86 + .../src/Google/Cloud/AIPlatform/V1/Port.php | 71 + .../Cloud/AIPlatform/V1/PredefinedSplit.php | 89 + .../Cloud/AIPlatform/V1/PredictRequest.php | 234 ++ .../PredictRequestResponseLoggingConfig.php | 169 + .../Cloud/AIPlatform/V1/PredictResponse.php | 284 ++ .../Cloud/AIPlatform/V1/PredictSchemata.php | 278 ++ .../Google/Cloud/AIPlatform/V1/Presets.php | 127 + .../Cloud/AIPlatform/V1/Presets/Modality.php | 71 + .../Cloud/AIPlatform/V1/Presets/Query.php | 57 + .../Cloud/AIPlatform/V1/PrivateEndpoints.php | 177 + .../V1/PrivateServiceConnectConfig.php | 105 + .../src/Google/Cloud/AIPlatform/V1/Probe.php | 160 + .../Cloud/AIPlatform/V1/Probe/ExecAction.php | 90 + .../AIPlatform/V1/PscAutomatedEndpoints.php | 136 + .../Cloud/AIPlatform/V1/PublisherModel.php | 387 ++ .../V1/PublisherModel/CallToAction.php | 608 +++ .../V1/PublisherModel/CallToAction/Deploy.php | 489 +++ .../CallToAction/Deploy/DeployMetadata.php | 75 + .../PublisherModel/CallToAction/DeployGke.php | 70 + .../CallToAction/OpenFineTuningPipelines.php | 70 + .../CallToAction/OpenNotebooks.php | 70 + .../RegionalResourceReferences.php | 237 ++ .../CallToAction/ViewRestApi.php | 104 + .../V1/PublisherModel/Documentation.php | 108 + .../V1/PublisherModel/LaunchStage.php | 85 + .../V1/PublisherModel/OpenSourceCategory.php | 88 + .../V1/PublisherModel/ResourceReference.php | 187 + .../V1/PublisherModel/VersionState.php | 64 + .../AIPlatform/V1/PublisherModelView.php | 69 + .../AIPlatform/V1/PurgeArtifactsMetadata.php | 78 + .../AIPlatform/V1/PurgeArtifactsRequest.php | 172 + .../AIPlatform/V1/PurgeArtifactsResponse.php | 114 + .../AIPlatform/V1/PurgeContextsMetadata.php | 78 + .../AIPlatform/V1/PurgeContextsRequest.php | 172 + .../AIPlatform/V1/PurgeContextsResponse.php | 114 + .../AIPlatform/V1/PurgeExecutionsMetadata.php | 78 + .../AIPlatform/V1/PurgeExecutionsRequest.php | 172 + .../AIPlatform/V1/PurgeExecutionsResponse.php | 118 + .../Cloud/AIPlatform/V1/PythonPackageSpec.php | 235 ++ .../QueryArtifactLineageSubgraphRequest.php | 276 ++ .../V1/QueryContextLineageSubgraphRequest.php | 113 + .../V1/QueryDeployedModelsRequest.php | 178 + .../V1/QueryDeployedModelsResponse.php | 220 ++ .../QueryExecutionInputsAndOutputsRequest.php | 92 + .../Cloud/AIPlatform/V1/RawPredictRequest.php | 200 + .../Cloud/AIPlatform/V1/RayLogsSpec.php | 67 + .../Cloud/AIPlatform/V1/RayMetricSpec.php | 67 + .../Google/Cloud/AIPlatform/V1/RaySpec.php | 290 ++ .../V1/ReadFeatureValuesRequest.php | 188 + .../V1/ReadFeatureValuesResponse.php | 134 + .../ReadFeatureValuesResponse/EntityView.php | 124 + .../EntityView/Data.php | 121 + .../FeatureDescriptor.php | 70 + .../V1/ReadFeatureValuesResponse/Header.php | 122 + .../V1/ReadIndexDatapointsRequest.php | 144 + .../V1/ReadIndexDatapointsResponse.php | 68 + .../V1/ReadTensorboardBlobDataRequest.php | 126 + .../V1/ReadTensorboardBlobDataResponse.php | 68 + .../V1/ReadTensorboardSizeRequest.php | 92 + .../V1/ReadTensorboardSizeResponse.php | 68 + .../ReadTensorboardTimeSeriesDataRequest.php | 168 + .../ReadTensorboardTimeSeriesDataResponse.php | 78 + .../V1/ReadTensorboardUsageRequest.php | 92 + .../V1/ReadTensorboardUsageResponse.php | 68 + .../PerMonthUsageData.php | 70 + .../PerUserUsageData.php | 104 + ...ootPersistentResourceOperationMetadata.php | 111 + .../V1/RebootPersistentResourceRequest.php | 92 + .../V1/RemoveContextChildrenRequest.php | 129 + .../V1/RemoveContextChildrenResponse.php | 34 + .../AIPlatform/V1/RemoveDatapointsRequest.php | 110 + .../V1/RemoveDatapointsResponse.php | 34 + .../Cloud/AIPlatform/V1/ResourcePool.php | 290 ++ .../V1/ResourcePool/AutoscalingSpec.php | 156 + .../Cloud/AIPlatform/V1/ResourceRuntime.php | 87 + .../AIPlatform/V1/ResourceRuntimeSpec.php | 128 + .../Cloud/AIPlatform/V1/ResourcesConsumed.php | 75 + ...RestoreDatasetVersionOperationMetadata.php | 78 + .../V1/RestoreDatasetVersionRequest.php | 92 + ...umeModelDeploymentMonitoringJobRequest.php | 92 + .../AIPlatform/V1/ResumeScheduleRequest.php | 164 + .../Google/Cloud/AIPlatform/V1/Retrieval.php | 114 + .../Cloud/AIPlatform/V1/SafetyRating.php | 241 ++ .../V1/SafetyRating/HarmProbability.php | 78 + .../V1/SafetyRating/HarmSeverity.php | 78 + .../Cloud/AIPlatform/V1/SafetySetting.php | 139 + .../V1/SafetySetting/HarmBlockMethod.php | 64 + .../V1/SafetySetting/HarmBlockThreshold.php | 78 + .../Cloud/AIPlatform/V1/SampleConfig.php | 159 + .../V1/SampleConfig/SampleStrategy.php | 58 + .../V1/SampledShapleyAttribution.php | 77 + .../Cloud/AIPlatform/V1/SamplingStrategy.php | 78 + .../SamplingStrategy/RandomSampleConfig.php | 70 + .../Google/Cloud/AIPlatform/V1/SavedQuery.php | 464 +++ .../src/Google/Cloud/AIPlatform/V1/Scalar.php | 67 + .../Google/Cloud/AIPlatform/V1/Schedule.php | 870 ++++ .../AIPlatform/V1/Schedule/RunResponse.php | 114 + .../Cloud/AIPlatform/V1/Schedule/State.php | 75 + .../Google/Cloud/AIPlatform/V1/Scheduling.php | 195 + .../AIPlatform/V1/Scheduling/Strategy.php | 68 + .../src/Google/Cloud/AIPlatform/V1/Schema.php | 794 ++++ .../AIPlatform/V1/SearchDataItemsRequest.php | 643 +++ .../OrderByAnnotation.php | 116 + .../AIPlatform/V1/SearchDataItemsResponse.php | 114 + .../Cloud/AIPlatform/V1/SearchEntryPoint.php | 109 + .../AIPlatform/V1/SearchFeaturesRequest.php | 491 +++ .../AIPlatform/V1/SearchFeaturesResponse.php | 138 + .../V1/SearchMigratableResourcesRequest.php | 243 ++ .../V1/SearchMigratableResourcesResponse.php | 114 + ...loymentMonitoringStatsAnomaliesRequest.php | 385 ++ .../StatsAnomaliesObjective.php | 121 + ...oymentMonitoringStatsAnomaliesResponse.php | 122 + .../V1/SearchNearestEntitiesRequest.php | 162 + .../V1/SearchNearestEntitiesResponse.php | 78 + .../Google/Cloud/AIPlatform/V1/Segment.php | 177 + .../AIPlatform/V1/ServiceAccountSpec.php | 145 + .../Cloud/AIPlatform/V1/ShieldedVmConfig.php | 89 + .../Cloud/AIPlatform/V1/SmoothGradConfig.php | 209 + .../Cloud/AIPlatform/V1/SpecialistPool.php | 254 ++ .../StartNotebookRuntimeOperationMetadata.php | 116 + .../V1/StartNotebookRuntimeRequest.php | 97 + .../V1/StartNotebookRuntimeResponse.php | 34 + .../Cloud/AIPlatform/V1/StopTrialRequest.php | 76 + .../Cloud/AIPlatform/V1/StratifiedSplit.php | 186 + .../V1/StreamDirectPredictRequest.php | 158 + .../V1/StreamDirectPredictResponse.php | 112 + .../V1/StreamDirectRawPredictRequest.php | 174 + .../V1/StreamDirectRawPredictResponse.php | 68 + .../AIPlatform/V1/StreamRawPredictRequest.php | 138 + .../AIPlatform/V1/StreamingPredictRequest.php | 157 + .../V1/StreamingPredictResponse.php | 112 + .../V1/StreamingRawPredictRequest.php | 174 + .../V1/StreamingRawPredictResponse.php | 68 + .../V1/StreamingReadFeatureValuesRequest.php | 197 + .../Cloud/AIPlatform/V1/StringArray.php | 67 + .../Cloud/AIPlatform/V1/StructFieldValue.php | 111 + .../Cloud/AIPlatform/V1/StructValue.php | 67 + .../src/Google/Cloud/AIPlatform/V1/Study.php | 265 ++ .../Cloud/AIPlatform/V1/Study/State.php | 72 + .../Google/Cloud/AIPlatform/V1/StudySpec.php | 367 ++ .../AIPlatform/V1/StudySpec/Algorithm.php | 67 + .../StudySpec/ConvexAutomatedStoppingSpec.php | 367 ++ .../DecayCurveAutomatedStoppingSpec.php | 90 + .../V1/StudySpec/MeasurementSelectionType.php | 76 + .../StudySpec/MedianAutomatedStoppingSpec.php | 90 + .../AIPlatform/V1/StudySpec/MetricSpec.php | 156 + .../V1/StudySpec/MetricSpec/GoalType.php | 64 + .../MetricSpec/SafetyMetricConfig.php | 138 + .../V1/StudySpec/ObservationNoise.php | 69 + .../AIPlatform/V1/StudySpec/ParameterSpec.php | 299 ++ .../ParameterSpec/CategoricalValueSpec.php | 130 + .../ConditionalParameterSpec.php | 197 + .../CategoricalValueCondition.php | 78 + .../DiscreteValueCondition.php | 78 + .../IntValueCondition.php | 74 + .../ParameterSpec/DiscreteValueSpec.php | 146 + .../ParameterSpec/DoubleValueSpec.php | 164 + .../ParameterSpec/IntegerValueSpec.php | 164 + .../V1/StudySpec/ParameterSpec/ScaleType.php | 75 + .../V1/StudySpec/StudyStoppingConfig.php | 579 +++ .../AIPlatform/V1/StudyTimeConstraint.php | 108 + .../AIPlatform/V1/SuggestTrialsMetadata.php | 123 + .../AIPlatform/V1/SuggestTrialsRequest.php | 318 ++ .../AIPlatform/V1/SuggestTrialsResponse.php | 190 + .../V1/SupervisedHyperParameters.php | 139 + .../SupervisedHyperParameters/AdapterSize.php | 78 + .../V1/SupervisedTuningDataStats.php | 374 ++ .../SupervisedTuningDatasetDistribution.php | 339 ++ .../DatasetBucket.php | 139 + .../AIPlatform/V1/SupervisedTuningSpec.php | 153 + .../AIPlatform/V1/SyncFeatureViewRequest.php | 87 + .../AIPlatform/V1/SyncFeatureViewResponse.php | 72 + .../AIPlatform/V1/TFRecordDestination.php | 77 + .../src/Google/Cloud/AIPlatform/V1/Tensor.php | 541 +++ .../Cloud/AIPlatform/V1/Tensor/DataType.php | 114 + .../Cloud/AIPlatform/V1/Tensorboard.php | 579 +++ .../Cloud/AIPlatform/V1/TensorboardBlob.php | 109 + .../AIPlatform/V1/TensorboardBlobSequence.php | 68 + .../AIPlatform/V1/TensorboardExperiment.php | 394 ++ .../Cloud/AIPlatform/V1/TensorboardRun.php | 368 ++ .../Cloud/AIPlatform/V1/TensorboardTensor.php | 109 + .../AIPlatform/V1/TensorboardTimeSeries.php | 423 ++ .../V1/TensorboardTimeSeries/Metadata.php | 160 + .../V1/TensorboardTimeSeries/ValueType.php | 74 + .../Cloud/AIPlatform/V1/ThresholdConfig.php | 96 + .../Cloud/AIPlatform/V1/TimeSeriesData.php | 143 + .../AIPlatform/V1/TimeSeriesDataPoint.php | 219 ++ .../Cloud/AIPlatform/V1/TimestampSplit.php | 188 + .../Google/Cloud/AIPlatform/V1/TokensInfo.php | 135 + .../src/Google/Cloud/AIPlatform/V1/Tool.php | 204 + .../Google/Cloud/AIPlatform/V1/ToolConfig.php | 77 + .../Cloud/AIPlatform/V1/TrainingConfig.php | 73 + .../Cloud/AIPlatform/V1/TrainingPipeline.php | 939 +++++ .../src/Google/Cloud/AIPlatform/V1/Trial.php | 569 +++ .../Cloud/AIPlatform/V1/Trial/Parameter.php | 138 + .../Cloud/AIPlatform/V1/Trial/State.php | 88 + .../Cloud/AIPlatform/V1/TrialContext.php | 135 + .../Google/Cloud/AIPlatform/V1/TunedModel.php | 110 + .../Cloud/AIPlatform/V1/TuningDataStats.php | 76 + .../Google/Cloud/AIPlatform/V1/TuningJob.php | 769 ++++ .../src/Google/Cloud/AIPlatform/V1/Type.php | 94 + .../V1/UndeployIndexOperationMetadata.php | 78 + .../AIPlatform/V1/UndeployIndexRequest.php | 133 + .../AIPlatform/V1/UndeployIndexResponse.php | 34 + .../V1/UndeployModelOperationMetadata.php | 78 + .../AIPlatform/V1/UndeployModelRequest.php | 194 + .../AIPlatform/V1/UndeployModelResponse.php | 34 + .../AIPlatform/V1/UnmanagedContainerModel.php | 164 + .../AIPlatform/V1/UpdateArtifactRequest.php | 194 + .../AIPlatform/V1/UpdateContextRequest.php | 190 + .../AIPlatform/V1/UpdateDatasetRequest.php | 163 + .../V1/UpdateDatasetVersionRequest.php | 153 + ...eploymentResourcePoolOperationMetadata.php | 77 + .../UpdateDeploymentResourcePoolRequest.php | 157 + .../AIPlatform/V1/UpdateEndpointRequest.php | 142 + .../AIPlatform/V1/UpdateEntityTypeRequest.php | 234 ++ .../AIPlatform/V1/UpdateExecutionRequest.php | 194 + ...ateExplanationDatasetOperationMetadata.php | 78 + .../V1/UpdateExplanationDatasetRequest.php | 131 + .../V1/UpdateExplanationDatasetResponse.php | 35 + .../UpdateFeatureGroupOperationMetadata.php | 77 + .../V1/UpdateFeatureGroupRequest.php | 204 + ...ateFeatureOnlineStoreOperationMetadata.php | 77 + .../V1/UpdateFeatureOnlineStoreRequest.php | 209 + .../V1/UpdateFeatureOperationMetadata.php | 77 + .../AIPlatform/V1/UpdateFeatureRequest.php | 216 + .../V1/UpdateFeatureViewOperationMetadata.php | 77 + .../V1/UpdateFeatureViewRequest.php | 229 ++ .../UpdateFeaturestoreOperationMetadata.php | 77 + .../V1/UpdateFeaturestoreRequest.php | 204 + .../V1/UpdateIndexEndpointRequest.php | 142 + .../V1/UpdateIndexOperationMetadata.php | 122 + .../AIPlatform/V1/UpdateIndexRequest.php | 147 + ...ploymentMonitoringJobOperationMetadata.php | 78 + ...ateModelDeploymentMonitoringJobRequest.php | 259 ++ .../AIPlatform/V1/UpdateModelRequest.php | 232 ++ .../UpdateNotebookRuntimeTemplateRequest.php | 158 + ...atePersistentResourceOperationMetadata.php | 111 + .../V1/UpdatePersistentResourceRequest.php | 157 + .../AIPlatform/V1/UpdateScheduleRequest.php | 163 + .../UpdateSpecialistPoolOperationMetadata.php | 120 + .../V1/UpdateSpecialistPoolRequest.php | 137 + .../V1/UpdateTensorboardExperimentRequest.php | 172 + .../V1/UpdateTensorboardOperationMetadata.php | 77 + .../V1/UpdateTensorboardRequest.php | 172 + .../V1/UpdateTensorboardRunRequest.php | 172 + .../V1/UpdateTensorboardTimeSeriesRequest.php | 177 + ...pgradeNotebookRuntimeOperationMetadata.php | 116 + .../V1/UpgradeNotebookRuntimeRequest.php | 97 + .../V1/UpgradeNotebookRuntimeResponse.php | 34 + .../V1/UploadModelOperationMetadata.php | 79 + .../AIPlatform/V1/UploadModelRequest.php | 275 ++ .../AIPlatform/V1/UploadModelResponse.php | 107 + .../AIPlatform/V1/UpsertDatapointsRequest.php | 170 + .../V1/UpsertDatapointsResponse.php | 34 + .../AIPlatform/V1/UserActionReference.php | 165 + .../src/Google/Cloud/AIPlatform/V1/Value.php | 141 + .../Cloud/AIPlatform/V1/VertexAISearch.php | 76 + .../Cloud/AIPlatform/V1/VideoMetadata.php | 121 + .../Cloud/AIPlatform/V1/WorkerPoolSpec.php | 264 ++ .../V1/WriteFeatureValuesPayload.php | 113 + .../V1/WriteFeatureValuesRequest.php | 148 + .../V1/WriteFeatureValuesResponse.php | 34 + .../WriteTensorboardExperimentDataRequest.php | 128 + ...WriteTensorboardExperimentDataResponse.php | 34 + .../V1/WriteTensorboardRunDataRequest.php | 148 + .../V1/WriteTensorboardRunDataResponse.php | 34 + .../Cloud/AIPlatform/V1/XraiAttribution.php | 203 + .../DatasetServiceClient/create_dataset.php | 103 + .../create_dataset_version.php | 90 + .../DatasetServiceClient/delete_dataset.php | 82 + .../delete_dataset_version.php | 87 + .../delete_saved_query.php | 87 + .../V1/DatasetServiceClient/export_data.php | 88 + .../get_annotation_spec.php | 78 + .../V1/DatasetServiceClient/get_dataset.php | 71 + .../get_dataset_version.php | 78 + .../DatasetServiceClient/get_iam_policy.php | 72 + .../V1/DatasetServiceClient/get_location.php | 57 + .../V1/DatasetServiceClient/import_data.php | 95 + .../DatasetServiceClient/list_annotations.php | 83 + .../DatasetServiceClient/list_data_items.php | 78 + .../list_dataset_versions.php | 78 + .../V1/DatasetServiceClient/list_datasets.php | 77 + .../DatasetServiceClient/list_locations.php | 62 + .../list_saved_queries.php | 78 + .../restore_dataset_version.php | 90 + .../search_data_items.php | 78 + .../DatasetServiceClient/set_iam_policy.php | 77 + .../test_iam_permissions.php | 84 + .../DatasetServiceClient/update_dataset.php | 86 + .../update_dataset_version.php | 65 + .../create_deployment_resource_pool.php | 116 + .../delete_deployment_resource_pool.php | 86 + .../get_deployment_resource_pool.php | 77 + .../get_iam_policy.php | 72 + .../get_location.php | 57 + .../list_deployment_resource_pools.php | 77 + .../list_locations.php | 62 + .../query_deployed_models.php | 77 + .../set_iam_policy.php | 77 + .../test_iam_permissions.php | 84 + .../update_deployment_resource_pool.php | 100 + .../EndpointServiceClient/create_endpoint.php | 91 + .../EndpointServiceClient/delete_endpoint.php | 82 + .../V1/EndpointServiceClient/deploy_model.php | 105 + .../V1/EndpointServiceClient/get_endpoint.php | 73 + .../EndpointServiceClient/get_iam_policy.php | 72 + .../V1/EndpointServiceClient/get_location.php | 57 + .../EndpointServiceClient/list_endpoints.php | 77 + .../EndpointServiceClient/list_locations.php | 62 + .../mutate_deployed_model.php | 113 + .../EndpointServiceClient/set_iam_policy.php | 77 + .../test_iam_permissions.php | 84 + .../EndpointServiceClient/undeploy_model.php | 89 + .../EndpointServiceClient/update_endpoint.php | 77 + .../create_feature_online_store.php | 98 + .../create_feature_view.php | 100 + .../delete_feature_online_store.php | 87 + .../delete_feature_view.php | 87 + .../get_feature_online_store.php | 75 + .../get_feature_view.php | 78 + .../get_feature_view_sync.php | 78 + .../get_iam_policy.php | 72 + .../get_location.php | 57 + .../list_feature_online_stores.php | 78 + .../list_feature_view_syncs.php | 83 + .../list_feature_views.php | 82 + .../list_locations.php | 62 + .../set_iam_policy.php | 77 + .../sync_feature_view.php | 77 + .../test_iam_permissions.php | 84 + .../update_feature_online_store.php | 71 + .../update_feature_view.php | 71 + .../fetch_feature_values.php | 77 + .../get_iam_policy.php | 72 + .../get_location.php | 57 + .../list_locations.php | 62 + .../search_nearest_entities.php | 82 + .../set_iam_policy.php | 77 + .../test_iam_permissions.php | 84 + .../create_feature.php | 103 + .../create_feature_group.php | 96 + .../delete_feature.php | 89 + .../delete_feature_group.php | 86 + .../get_feature.php | 81 + .../get_feature_group.php | 75 + .../get_iam_policy.php | 72 + .../get_location.php | 57 + .../list_feature_groups.php | 78 + .../list_features.php | 85 + .../list_locations.php | 62 + .../set_iam_policy.php | 77 + .../test_iam_permissions.php | 84 + .../update_feature.php | 71 + .../update_feature_group.php | 71 + .../get_iam_policy.php | 72 + .../get_location.php | 57 + .../list_locations.php | 62 + .../read_feature_values.php | 105 + .../set_iam_policy.php | 77 + .../streaming_read_feature_values.php | 116 + .../test_iam_permissions.php | 84 + .../write_feature_values.php | 94 + .../batch_create_features.php | 122 + .../batch_read_feature_values.php | 131 + .../create_entity_type.php | 98 + .../create_feature.php | 103 + .../create_featurestore.php | 96 + .../delete_entity_type.php | 88 + .../delete_feature.php | 89 + .../delete_feature_values.php | 99 + .../delete_featurestore.php | 87 + .../export_feature_values.php | 110 + .../get_entity_type.php | 78 + .../FeaturestoreServiceClient/get_feature.php | 81 + .../get_featurestore.php | 75 + .../get_iam_policy.php | 72 + .../get_location.php | 57 + .../import_feature_values.php | 117 + .../list_entity_types.php | 82 + .../list_features.php | 85 + .../list_featurestores.php | 78 + .../list_locations.php | 62 + .../search_features.php | 78 + .../set_iam_policy.php | 77 + .../test_iam_permissions.php | 84 + .../update_entity_type.php | 59 + .../update_feature.php | 59 + .../update_featurestore.php | 71 + .../cancel_tuning_job.php | 81 + .../create_tuning_job.php | 75 + .../get_iam_policy.php | 72 + .../GenAiTuningServiceClient/get_location.php | 57 + .../get_tuning_job.php | 72 + .../list_locations.php | 62 + .../list_tuning_jobs.php | 77 + .../set_iam_policy.php | 77 + .../test_iam_permissions.php | 84 + .../create_index_endpoint.php | 93 + .../delete_index_endpoint.php | 86 + .../deploy_index.php | 112 + .../get_iam_policy.php | 72 + .../get_index_endpoint.php | 77 + .../get_location.php | 57 + .../list_index_endpoints.php | 77 + .../list_locations.php | 62 + .../mutate_deployed_index.php | 114 + .../set_iam_policy.php | 77 + .../test_iam_permissions.php | 84 + .../undeploy_index.php | 94 + .../update_index_endpoint.php | 77 + .../V1/IndexServiceClient/create_index.php | 91 + .../V1/IndexServiceClient/delete_index.php | 85 + .../V1/IndexServiceClient/get_iam_policy.php | 72 + .../V1/IndexServiceClient/get_index.php | 73 + .../V1/IndexServiceClient/get_location.php | 57 + .../V1/IndexServiceClient/list_indexes.php | 77 + .../V1/IndexServiceClient/list_locations.php | 62 + .../IndexServiceClient/remove_datapoints.php | 73 + .../V1/IndexServiceClient/set_iam_policy.php | 77 + .../test_iam_permissions.php | 84 + .../V1/IndexServiceClient/update_index.php | 86 + .../IndexServiceClient/upsert_datapoints.php | 73 + .../cancel_batch_prediction_job.php | 86 + .../V1/JobServiceClient/cancel_custom_job.php | 83 + .../cancel_data_labeling_job.php | 75 + .../cancel_hyperparameter_tuning_job.php | 88 + .../V1/JobServiceClient/cancel_nas_job.php | 83 + .../create_batch_prediction_job.php | 103 + .../V1/JobServiceClient/create_custom_job.php | 86 + .../create_data_labeling_job.php | 122 + .../create_hyperparameter_tuning_job.php | 130 + ...create_model_deployment_monitoring_job.php | 117 + .../V1/JobServiceClient/create_nas_job.php | 82 + .../delete_batch_prediction_job.php | 87 + .../V1/JobServiceClient/delete_custom_job.php | 82 + .../delete_data_labeling_job.php | 86 + .../delete_hyperparameter_tuning_job.php | 86 + ...delete_model_deployment_monitoring_job.php | 86 + .../V1/JobServiceClient/delete_nas_job.php | 82 + .../get_batch_prediction_job.php | 77 + .../V1/JobServiceClient/get_custom_job.php | 73 + .../get_data_labeling_job.php | 77 + .../get_hyperparameter_tuning_job.php | 77 + .../V1/JobServiceClient/get_iam_policy.php | 72 + .../V1/JobServiceClient/get_location.php | 57 + .../get_model_deployment_monitoring_job.php | 77 + .../V1/JobServiceClient/get_nas_job.php | 73 + .../JobServiceClient/get_nas_trial_detail.php | 78 + .../list_batch_prediction_jobs.php | 77 + .../V1/JobServiceClient/list_custom_jobs.php | 77 + .../list_data_labeling_jobs.php | 77 + .../list_hyperparameter_tuning_jobs.php | 78 + .../V1/JobServiceClient/list_locations.php | 62 + .../list_model_deployment_monitoring_jobs.php | 77 + .../V1/JobServiceClient/list_nas_jobs.php | 77 + .../list_nas_trial_details.php | 78 + .../pause_model_deployment_monitoring_job.php | 78 + ...resume_model_deployment_monitoring_job.php | 77 + ..._deployment_monitoring_stats_anomalies.php | 94 + .../V1/JobServiceClient/set_iam_policy.php | 77 + .../JobServiceClient/test_iam_permissions.php | 84 + ...update_model_deployment_monitoring_job.php | 124 + .../compute_tokens.php | 72 + .../LlmUtilityServiceClient/count_tokens.php | 73 + .../get_iam_policy.php | 72 + .../LlmUtilityServiceClient/get_location.php | 57 + .../list_locations.php | 62 + .../set_iam_policy.php | 77 + .../test_iam_permissions.php | 84 + .../V1/MatchServiceClient/find_neighbors.php | 77 + .../V1/MatchServiceClient/get_iam_policy.php | 72 + .../V1/MatchServiceClient/get_location.php | 57 + .../V1/MatchServiceClient/list_locations.php | 62 + .../read_index_datapoints.php | 78 + .../V1/MatchServiceClient/set_iam_policy.php | 77 + .../test_iam_permissions.php | 84 + .../add_context_artifacts_and_executions.php | 80 + .../add_context_children.php | 83 + .../add_execution_events.php | 82 + .../MetadataServiceClient/create_artifact.php | 80 + .../MetadataServiceClient/create_context.php | 79 + .../create_execution.php | 80 + .../create_metadata_schema.php | 90 + .../create_metadata_store.php | 87 + .../MetadataServiceClient/delete_artifact.php | 87 + .../MetadataServiceClient/delete_context.php | 87 + .../delete_execution.php | 87 + .../delete_metadata_store.php | 87 + .../V1/MetadataServiceClient/get_artifact.php | 78 + .../V1/MetadataServiceClient/get_context.php | 78 + .../MetadataServiceClient/get_execution.php | 78 + .../MetadataServiceClient/get_iam_policy.php | 72 + .../V1/MetadataServiceClient/get_location.php | 57 + .../get_metadata_schema.php | 78 + .../get_metadata_store.php | 77 + .../MetadataServiceClient/list_artifacts.php | 82 + .../MetadataServiceClient/list_contexts.php | 82 + .../MetadataServiceClient/list_executions.php | 82 + .../MetadataServiceClient/list_locations.php | 62 + .../list_metadata_schemas.php | 82 + .../list_metadata_stores.php | 78 + .../MetadataServiceClient/purge_artifacts.php | 93 + .../MetadataServiceClient/purge_contexts.php | 93 + .../purge_executions.php | 93 + .../query_artifact_lineage_subgraph.php | 83 + .../query_context_lineage_subgraph.php | 84 + .../query_execution_inputs_and_outputs.php | 80 + .../remove_context_children.php | 81 + .../MetadataServiceClient/set_iam_policy.php | 77 + .../test_iam_permissions.php | 84 + .../MetadataServiceClient/update_artifact.php | 59 + .../MetadataServiceClient/update_context.php | 59 + .../update_execution.php | 59 + .../batch_migrate_resources.php | 88 + .../MigrationServiceClient/get_iam_policy.php | 72 + .../MigrationServiceClient/get_location.php | 57 + .../MigrationServiceClient/list_locations.php | 62 + .../search_migratable_resources.php | 81 + .../MigrationServiceClient/set_iam_policy.php | 77 + .../test_iam_permissions.php | 84 + .../get_iam_policy.php | 72 + .../ModelGardenServiceClient/get_location.php | 57 + .../get_publisher_model.php | 73 + .../list_locations.php | 62 + .../set_iam_policy.php | 77 + .../test_iam_permissions.php | 84 + .../batch_import_evaluated_annotations.php | 82 + .../batch_import_model_evaluation_slices.php | 81 + .../V1/ModelServiceClient/copy_model.php | 95 + .../V1/ModelServiceClient/delete_model.php | 88 + .../delete_model_version.php | 89 + .../V1/ModelServiceClient/export_model.php | 91 + .../V1/ModelServiceClient/get_iam_policy.php | 72 + .../V1/ModelServiceClient/get_location.php | 57 + .../V1/ModelServiceClient/get_model.php | 82 + .../get_model_evaluation.php | 78 + .../get_model_evaluation_slice.php | 79 + .../import_model_evaluation.php | 74 + .../V1/ModelServiceClient/list_locations.php | 62 + .../list_model_evaluation_slices.php | 83 + .../list_model_evaluations.php | 77 + .../list_model_versions.php | 76 + .../V1/ModelServiceClient/list_models.php | 77 + .../merge_version_aliases.php | 89 + .../V1/ModelServiceClient/set_iam_policy.php | 77 + .../test_iam_permissions.php | 84 + .../update_explanation_dataset.php | 84 + .../V1/ModelServiceClient/update_model.php | 77 + .../V1/ModelServiceClient/upload_model.php | 92 + .../assign_notebook_runtime.php | 113 + .../create_notebook_execution_job.php | 86 + .../create_notebook_runtime_template.php | 93 + .../delete_notebook_execution_job.php | 84 + .../delete_notebook_runtime.php | 87 + .../delete_notebook_runtime_template.php | 86 + .../NotebookServiceClient/get_iam_policy.php | 72 + .../V1/NotebookServiceClient/get_location.php | 57 + .../get_notebook_execution_job.php | 75 + .../get_notebook_runtime.php | 78 + .../get_notebook_runtime_template.php | 77 + .../NotebookServiceClient/list_locations.php | 62 + .../list_notebook_execution_jobs.php | 78 + .../list_notebook_runtime_templates.php | 78 + .../list_notebook_runtimes.php | 78 + .../NotebookServiceClient/set_iam_policy.php | 77 + .../start_notebook_runtime.php | 90 + .../test_iam_permissions.php | 84 + .../update_notebook_runtime_template.php | 77 + .../upgrade_notebook_runtime.php | 90 + .../create_persistent_resource.php | 102 + .../delete_persistent_resource.php | 86 + .../get_iam_policy.php | 72 + .../get_location.php | 57 + .../get_persistent_resource.php | 77 + .../list_locations.php | 62 + .../list_persistent_resources.php | 77 + .../reboot_persistent_resource.php | 89 + .../set_iam_policy.php | 77 + .../test_iam_permissions.php | 84 + .../update_persistent_resource.php | 81 + .../batch_cancel_pipeline_jobs.php | 104 + .../batch_delete_pipeline_jobs.php | 100 + .../cancel_pipeline_job.php | 87 + .../cancel_training_pipeline.php | 88 + .../create_pipeline_job.php | 74 + .../create_training_pipeline.php | 98 + .../delete_pipeline_job.php | 86 + .../delete_training_pipeline.php | 86 + .../PipelineServiceClient/get_iam_policy.php | 72 + .../V1/PipelineServiceClient/get_location.php | 57 + .../get_pipeline_job.php | 77 + .../get_training_pipeline.php | 77 + .../PipelineServiceClient/list_locations.php | 62 + .../list_pipeline_jobs.php | 77 + .../list_training_pipelines.php | 77 + .../PipelineServiceClient/set_iam_policy.php | 77 + .../test_iam_permissions.php | 84 + .../direct_predict.php | 74 + .../direct_raw_predict.php | 74 + .../V1/PredictionServiceClient/explain.php | 86 + .../generate_content.php | 79 + .../get_iam_policy.php | 72 + .../PredictionServiceClient/get_location.php | 57 + .../list_locations.php | 62 + .../V1/PredictionServiceClient/predict.php | 76 + .../PredictionServiceClient/raw_predict.php | 83 + .../server_streaming_predict.php | 79 + .../set_iam_policy.php | 77 + .../stream_direct_predict.php | 80 + .../stream_direct_raw_predict.php | 80 + .../stream_generate_content.php | 84 + .../stream_raw_predict.php | 78 + .../streaming_predict.php | 80 + .../streaming_raw_predict.php | 79 + .../test_iam_permissions.php | 84 + .../ScheduleServiceClient/create_schedule.php | 87 + .../ScheduleServiceClient/delete_schedule.php | 82 + .../ScheduleServiceClient/get_iam_policy.php | 72 + .../V1/ScheduleServiceClient/get_location.php | 57 + .../V1/ScheduleServiceClient/get_schedule.php | 73 + .../ScheduleServiceClient/list_locations.php | 62 + .../ScheduleServiceClient/list_schedules.php | 77 + .../ScheduleServiceClient/pause_schedule.php | 74 + .../ScheduleServiceClient/resume_schedule.php | 78 + .../ScheduleServiceClient/set_iam_policy.php | 77 + .../test_iam_permissions.php | 84 + .../ScheduleServiceClient/update_schedule.php | 90 + .../create_specialist_pool.php | 98 + .../delete_specialist_pool.php | 85 + .../get_iam_policy.php | 72 + .../get_location.php | 57 + .../get_specialist_pool.php | 77 + .../list_locations.php | 62 + .../list_specialist_pools.php | 77 + .../set_iam_policy.php | 77 + .../test_iam_permissions.php | 84 + .../update_specialist_pool.php | 95 + .../batch_create_tensorboard_runs.php | 120 + .../batch_create_tensorboard_time_series.php | 121 + ...atch_read_tensorboard_time_series_data.php | 100 + .../create_tensorboard.php | 93 + .../create_tensorboard_experiment.php | 87 + .../create_tensorboard_run.php | 96 + .../create_tensorboard_time_series.php | 99 + .../delete_tensorboard.php | 86 + .../delete_tensorboard_experiment.php | 87 + .../delete_tensorboard_run.php | 88 + .../delete_tensorboard_time_series.php | 89 + .../export_tensorboard_time_series_data.php | 86 + .../get_iam_policy.php | 72 + .../TensorboardServiceClient/get_location.php | 57 + .../get_tensorboard.php | 77 + .../get_tensorboard_experiment.php | 78 + .../get_tensorboard_run.php | 79 + .../get_tensorboard_time_series.php | 80 + .../list_locations.php | 62 + .../list_tensorboard_experiments.php | 82 + .../list_tensorboard_runs.php | 83 + .../list_tensorboard_time_series.php | 84 + .../list_tensorboards.php | 78 + .../read_tensorboard_blob_data.php | 88 + .../read_tensorboard_size.php | 77 + .../read_tensorboard_time_series_data.php | 84 + .../read_tensorboard_usage.php | 77 + .../set_iam_policy.php | 77 + .../test_iam_permissions.php | 84 + .../update_tensorboard.php | 87 + .../update_tensorboard_experiment.php | 62 + .../update_tensorboard_run.php | 77 + .../update_tensorboard_time_series.php | 86 + .../write_tensorboard_experiment_data.php | 120 + .../write_tensorboard_run_data.php | 103 + .../add_trial_measurement.php | 82 + .../check_trial_early_stopping_state.php | 93 + .../V1/VizierServiceClient/complete_trial.php | 73 + .../V1/VizierServiceClient/create_study.php | 112 + .../V1/VizierServiceClient/create_trial.php | 74 + .../V1/VizierServiceClient/delete_study.php | 70 + .../V1/VizierServiceClient/delete_trial.php | 71 + .../V1/VizierServiceClient/get_iam_policy.php | 72 + .../V1/VizierServiceClient/get_location.php | 57 + .../V1/VizierServiceClient/get_study.php | 72 + .../V1/VizierServiceClient/get_trial.php | 73 + .../V1/VizierServiceClient/list_locations.php | 62 + .../list_optimal_trials.php | 74 + .../V1/VizierServiceClient/list_studies.php | 77 + .../V1/VizierServiceClient/list_trials.php | 77 + .../V1/VizierServiceClient/lookup_study.php | 76 + .../V1/VizierServiceClient/set_iam_policy.php | 77 + .../V1/VizierServiceClient/stop_trial.php | 73 + .../V1/VizierServiceClient/suggest_trials.php | 102 + .../test_iam_permissions.php | 84 + .../v1/src/V1/Client/DatasetServiceClient.php | 1060 +++++ .../DeploymentResourcePoolServiceClient.php | 636 +++ .../src/V1/Client/EndpointServiceClient.php | 786 ++++ .../FeatureOnlineStoreAdminServiceClient.php | 869 ++++ .../FeatureOnlineStoreServiceClient.php | 434 ++ .../Client/FeatureRegistryServiceClient.php | 818 ++++ ...FeaturestoreOnlineServingServiceClient.php | 464 +++ .../V1/Client/FeaturestoreServiceClient.php | 1185 ++++++ .../V1/Client/GenAiTuningServiceClient.php | 611 +++ .../V1/Client/IndexEndpointServiceClient.php | 692 ++++ .../v1/src/V1/Client/IndexServiceClient.php | 659 ++++ .../v1/src/V1/Client/JobServiceClient.php | 1825 +++++++++ .../src/V1/Client/LlmUtilityServiceClient.php | 465 +++ .../v1/src/V1/Client/MatchServiceClient.php | 425 ++ .../src/V1/Client/MetadataServiceClient.php | 1453 +++++++ .../src/V1/Client/MigrationServiceClient.php | 559 +++ .../V1/Client/ModelGardenServiceClient.php | 393 ++ .../v1/src/V1/Client/ModelServiceClient.php | 1119 ++++++ .../src/V1/Client/NotebookServiceClient.php | 971 +++++ .../PersistentResourceServiceClient.php | 635 +++ .../src/V1/Client/PipelineServiceClient.php | 1039 +++++ .../src/V1/Client/PredictionServiceClient.php | 763 ++++ .../src/V1/Client/ScheduleServiceClient.php | 791 ++++ .../V1/Client/SpecialistPoolServiceClient.php | 589 +++ .../V1/Client/TensorboardServiceClient.php | 1396 +++++++ .../v1/src/V1/Client/VizierServiceClient.php | 919 +++++ .../AiPlatform/v1/src/V1/gapic_metadata.json | 2373 +++++++++++ .../dataset_service_client_config.json | 142 + .../dataset_service_descriptor_config.php | 443 +++ .../dataset_service_rest_client_config.php | 2311 +++++++++++ ...t_resource_pool_service_client_config.json | 77 + ...esource_pool_service_descriptor_config.php | 216 + ...source_pool_service_rest_client_config.php | 2160 ++++++++++ .../endpoint_service_client_config.json | 87 + .../endpoint_service_descriptor_config.php | 251 ++ .../endpoint_service_rest_client_config.php | 2185 +++++++++++ ...ine_store_admin_service_client_config.json | 112 + ..._store_admin_service_descriptor_config.php | 331 ++ ...store_admin_service_rest_client_config.php | 2244 +++++++++++ ...re_online_store_service_client_config.json | 57 + ...online_store_service_descriptor_config.php | 128 + ...nline_store_service_rest_client_config.php | 2112 ++++++++++ ...eature_registry_service_client_config.json | 97 + ...ure_registry_service_descriptor_config.php | 289 ++ ...re_registry_service_rest_client_config.php | 2210 +++++++++++ ..._online_serving_service_client_config.json | 60 + ...line_serving_service_descriptor_config.php | 143 + ...ine_serving_service_rest_client_config.php | 2124 ++++++++++ .../featurestore_service_client_config.json | 152 + ...featurestore_service_descriptor_config.php | 481 +++ ...eaturestore_service_rest_client_config.php | 2342 +++++++++++ .../gen_ai_tuning_service_client_config.json | 67 + ...en_ai_tuning_service_descriptor_config.php | 166 + ...n_ai_tuning_service_rest_client_config.php | 2134 ++++++++++ .../index_endpoint_service_client_config.json | 87 + ...dex_endpoint_service_descriptor_config.php | 246 ++ ...ex_endpoint_service_rest_client_config.php | 2185 +++++++++++ .../index_service_client_config.json | 82 + .../index_service_descriptor_config.php | 220 ++ .../index_service_rest_client_config.php | 2170 ++++++++++ .../resources/job_service_client_config.json | 222 ++ .../job_service_descriptor_config.php | 656 ++++ .../job_service_rest_client_config.php | 2492 ++++++++++++ .../llm_utility_service_client_config.json | 57 + .../llm_utility_service_descriptor_config.php | 130 + ...llm_utility_service_rest_client_config.php | 2126 ++++++++++ .../match_service_client_config.json | 57 + .../match_service_descriptor_config.php | 128 + .../match_service_rest_client_config.php | 2112 ++++++++++ .../metadata_service_client_config.json | 207 + .../metadata_service_descriptor_config.php | 592 +++ .../metadata_service_rest_client_config.php | 2458 ++++++++++++ .../migration_service_client_config.json | 57 + .../migration_service_descriptor_config.php | 147 + .../migration_service_rest_client_config.php | 2112 ++++++++++ .../model_garden_service_client_config.json | 52 + ...model_garden_service_descriptor_config.php | 116 + ...odel_garden_service_rest_client_config.php | 2099 ++++++++++ .../model_service_client_config.json | 137 + .../model_service_descriptor_config.php | 403 ++ .../model_service_rest_client_config.php | 2299 +++++++++++ .../notebook_service_client_config.json | 122 + .../notebook_service_descriptor_config.php | 371 ++ .../notebook_service_rest_client_config.php | 2263 +++++++++++ ...istent_resource_service_client_config.json | 77 + ...ent_resource_service_descriptor_config.php | 215 + ...nt_resource_service_rest_client_config.php | 2164 ++++++++++ .../pipeline_service_client_config.json | 107 + .../pipeline_service_descriptor_config.php | 304 ++ .../pipeline_service_rest_client_config.php | 2226 +++++++++++ .../prediction_service_client_config.json | 98 + .../prediction_service_descriptor_config.php | 251 ++ .../prediction_service_rest_client_config.php | 2238 +++++++++++ .../schedule_service_client_config.json | 82 + .../schedule_service_descriptor_config.php | 212 + .../schedule_service_rest_client_config.php | 2173 ++++++++++ ...specialist_pool_service_client_config.json | 72 + ...cialist_pool_service_descriptor_config.php | 195 + ...ialist_pool_service_rest_client_config.php | 2149 ++++++++++ .../tensorboard_service_client_config.json | 195 + .../tensorboard_service_descriptor_config.php | 557 +++ ...tensorboard_service_rest_client_config.php | 2453 ++++++++++++ .../vizier_service_client_config.json | 122 + .../vizier_service_descriptor_config.php | 317 ++ .../vizier_service_rest_client_config.php | 2262 +++++++++++ .../V1/Client/DatasetServiceClientTest.php | 2403 ++++++++++++ ...eploymentResourcePoolServiceClientTest.php | 1134 ++++++ .../V1/Client/EndpointServiceClientTest.php | 1430 +++++++ ...atureOnlineStoreAdminServiceClientTest.php | 1742 +++++++++ .../FeatureOnlineStoreServiceClientTest.php | 561 +++ .../FeatureRegistryServiceClientTest.php | 1574 ++++++++ ...urestoreOnlineServingServiceClientTest.php | 690 ++++ .../Client/FeaturestoreServiceClientTest.php | 2718 +++++++++++++ .../Client/GenAiTuningServiceClientTest.php | 715 ++++ .../Client/IndexEndpointServiceClientTest.php | 1408 +++++++ .../Unit/V1/Client/IndexServiceClientTest.php | 1160 ++++++ .../Unit/V1/Client/JobServiceClientTest.php | 3481 +++++++++++++++++ .../V1/Client/LlmUtilityServiceClientTest.php | 558 +++ .../Unit/V1/Client/MatchServiceClientTest.php | 554 +++ .../V1/Client/MetadataServiceClientTest.php | 3183 +++++++++++++++ .../V1/Client/MigrationServiceClientTest.php | 675 ++++ .../Client/ModelGardenServiceClientTest.php | 502 +++ .../Unit/V1/Client/ModelServiceClientTest.php | 2148 ++++++++++ .../V1/Client/NotebookServiceClientTest.php | 2102 ++++++++++ .../PersistentResourceServiceClientTest.php | 1161 ++++++ .../V1/Client/PipelineServiceClientTest.php | 1583 ++++++++ .../V1/Client/PredictionServiceClientTest.php | 1483 +++++++ .../V1/Client/ScheduleServiceClientTest.php | 1042 +++++ .../SpecialistPoolServiceClientTest.php | 1033 +++++ .../Client/TensorboardServiceClientTest.php | 3029 ++++++++++++++ .../V1/Client/VizierServiceClientTest.php | 1657 ++++++++ 1588 files changed, 327981 insertions(+) create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/AcceleratorType.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/Annotation.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/AnnotationSpec.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/Artifact.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/BatchPredictionJob.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/CompletionStats.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/Content.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/Context.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/CustomJob.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/DataItem.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/DataLabelingJob.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/Dataset.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/DatasetService.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/DatasetVersion.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/DeployedIndexRef.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/DeployedModelRef.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/DeploymentResourcePool.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/DeploymentResourcePoolService.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/EncryptionSpec.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/Endpoint.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/EndpointService.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/EntityType.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/EnvVar.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/EvaluatedAnnotation.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/Event.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/Execution.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/Explanation.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/ExplanationMetadata.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/Feature.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/FeatureGroup.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/FeatureMonitoringStats.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/FeatureOnlineStore.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/FeatureOnlineStoreAdminService.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/FeatureOnlineStoreService.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/FeatureRegistryService.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/FeatureSelector.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/FeatureView.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/FeatureViewSync.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/Featurestore.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/FeaturestoreMonitoring.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/FeaturestoreOnlineService.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/FeaturestoreService.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/GenaiTuningService.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/HyperparameterTuningJob.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/Index.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/IndexEndpoint.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/IndexEndpointService.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/IndexService.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/Io.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/JobService.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/JobState.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/LineageSubgraph.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/LlmUtilityService.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/MachineResources.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/ManualBatchTuningParameters.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/MatchService.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/MetadataSchema.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/MetadataService.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/MetadataStore.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/MigratableResource.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/MigrationService.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/Model.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/ModelDeploymentMonitoringJob.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/ModelEvaluation.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/ModelEvaluationSlice.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/ModelGardenService.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/ModelMonitoring.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/ModelService.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/NasJob.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/NetworkSpec.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/NotebookEucConfig.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/NotebookExecutionJob.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/NotebookIdleShutdownConfig.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/NotebookRuntime.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/NotebookRuntimeTemplateRef.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/NotebookService.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/Openapi.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/Operation.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/PersistentResource.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/PersistentResourceService.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/PipelineFailurePolicy.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/PipelineJob.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/PipelineService.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/PipelineState.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/PredictionService.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/PublisherModel.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/SavedQuery.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/Schedule.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/ScheduleService.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/ServiceNetworking.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/SpecialistPool.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/SpecialistPoolService.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/Study.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/Tensorboard.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/TensorboardData.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/TensorboardExperiment.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/TensorboardRun.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/TensorboardService.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/TensorboardTimeSeries.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/Tool.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/TrainingPipeline.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/TuningJob.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/Types.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/UnmanagedContainerModel.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/UserActionReference.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/Value.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/VizierService.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/AcceleratorType.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ActiveLearningConfig.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/AddContextArtifactsAndExecutionsRequest.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/AddContextArtifactsAndExecutionsResponse.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/AddContextChildrenRequest.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/AddContextChildrenResponse.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/AddExecutionEventsRequest.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/AddExecutionEventsResponse.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/AddTrialMeasurementRequest.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/Annotation.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/AnnotationSpec.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/Artifact.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/Artifact/State.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/AssignNotebookRuntimeOperationMetadata.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/AssignNotebookRuntimeRequest.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/Attribution.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/AutomaticResources.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/AutoscalingMetricSpec.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/AvroSource.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/BatchCancelPipelineJobsOperationMetadata.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/BatchCancelPipelineJobsRequest.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/BatchCancelPipelineJobsResponse.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/BatchCreateFeaturesOperationMetadata.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/BatchCreateFeaturesRequest.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/BatchCreateFeaturesResponse.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/BatchCreateTensorboardRunsRequest.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/BatchCreateTensorboardRunsResponse.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/BatchCreateTensorboardTimeSeriesRequest.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/BatchCreateTensorboardTimeSeriesResponse.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/BatchDedicatedResources.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/BatchDeletePipelineJobsRequest.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/BatchDeletePipelineJobsResponse.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/BatchImportEvaluatedAnnotationsRequest.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/BatchImportEvaluatedAnnotationsResponse.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/BatchImportModelEvaluationSlicesRequest.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/BatchImportModelEvaluationSlicesResponse.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/BatchMigrateResourcesOperationMetadata.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/BatchMigrateResourcesOperationMetadata/PartialResult.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/BatchMigrateResourcesRequest.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/BatchMigrateResourcesResponse.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/BatchPredictionJob.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/BatchPredictionJob/InputConfig.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/BatchPredictionJob/InstanceConfig.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/BatchPredictionJob/OutputConfig.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/BatchPredictionJob/OutputInfo.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/BatchReadFeatureValuesOperationMetadata.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/BatchReadFeatureValuesRequest.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/BatchReadFeatureValuesRequest/EntityTypeSpec.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/BatchReadFeatureValuesRequest/PassThroughField.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/BatchReadFeatureValuesResponse.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/BatchReadTensorboardTimeSeriesDataRequest.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/BatchReadTensorboardTimeSeriesDataResponse.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/BigQueryDestination.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/BigQuerySource.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/Blob.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/BlurBaselineConfig.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/BoolArray.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CancelBatchPredictionJobRequest.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CancelCustomJobRequest.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CancelDataLabelingJobRequest.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CancelHyperparameterTuningJobRequest.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CancelNasJobRequest.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CancelPipelineJobRequest.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CancelTrainingPipelineRequest.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CancelTuningJobRequest.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/Candidate.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/Candidate/FinishReason.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CheckTrialEarlyStoppingStateMetatdata.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CheckTrialEarlyStoppingStateRequest.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CheckTrialEarlyStoppingStateResponse.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/Citation.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CitationMetadata.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CompleteTrialRequest.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CompletionStats.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ComputeTokensRequest.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ComputeTokensResponse.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ContainerRegistryDestination.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ContainerSpec.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/Content.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/Context.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CopyModelOperationMetadata.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CopyModelRequest.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CopyModelResponse.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CountTokensRequest.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CountTokensResponse.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CreateArtifactRequest.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CreateBatchPredictionJobRequest.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CreateContextRequest.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CreateCustomJobRequest.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CreateDataLabelingJobRequest.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CreateDatasetOperationMetadata.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CreateDatasetRequest.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CreateDatasetVersionOperationMetadata.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CreateDatasetVersionRequest.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CreateDeploymentResourcePoolOperationMetadata.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CreateDeploymentResourcePoolRequest.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CreateEndpointOperationMetadata.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CreateEndpointRequest.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CreateEntityTypeOperationMetadata.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CreateEntityTypeRequest.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CreateExecutionRequest.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CreateFeatureGroupOperationMetadata.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CreateFeatureGroupRequest.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CreateFeatureOnlineStoreOperationMetadata.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CreateFeatureOnlineStoreRequest.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CreateFeatureOperationMetadata.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CreateFeatureRequest.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CreateFeatureViewOperationMetadata.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CreateFeatureViewRequest.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CreateFeaturestoreOperationMetadata.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CreateFeaturestoreRequest.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CreateHyperparameterTuningJobRequest.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CreateIndexEndpointOperationMetadata.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CreateIndexEndpointRequest.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CreateIndexOperationMetadata.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CreateIndexRequest.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CreateMetadataSchemaRequest.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CreateMetadataStoreOperationMetadata.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CreateMetadataStoreRequest.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CreateModelDeploymentMonitoringJobRequest.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CreateNasJobRequest.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CreateNotebookExecutionJobOperationMetadata.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CreateNotebookExecutionJobRequest.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CreateNotebookRuntimeTemplateOperationMetadata.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CreateNotebookRuntimeTemplateRequest.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CreatePersistentResourceOperationMetadata.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CreatePersistentResourceRequest.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CreatePipelineJobRequest.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CreateRegistryFeatureOperationMetadata.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CreateScheduleRequest.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CreateSpecialistPoolOperationMetadata.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CreateSpecialistPoolRequest.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CreateStudyRequest.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CreateTensorboardExperimentRequest.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CreateTensorboardOperationMetadata.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CreateTensorboardRequest.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CreateTensorboardRunRequest.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CreateTensorboardTimeSeriesRequest.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CreateTrainingPipelineRequest.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CreateTrialRequest.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CreateTuningJobRequest.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CsvDestination.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CsvSource.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CustomJob.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CustomJobSpec.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/DataItem.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/DataItemView.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/DataLabelingJob.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/Dataset.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/DatasetVersion.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/DedicatedResources.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/DeleteArtifactRequest.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/DeleteBatchPredictionJobRequest.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/DeleteContextRequest.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/DeleteCustomJobRequest.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/DeleteDataLabelingJobRequest.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/DeleteDatasetRequest.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/DeleteDatasetVersionRequest.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/DeleteDeploymentResourcePoolRequest.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/DeleteEndpointRequest.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/DeleteEntityTypeRequest.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/DeleteExecutionRequest.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/DeleteFeatureGroupRequest.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/DeleteFeatureOnlineStoreRequest.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/DeleteFeatureRequest.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/DeleteFeatureValuesOperationMetadata.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/DeleteFeatureValuesRequest.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/DeleteFeatureValuesRequest/SelectEntity.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/DeleteFeatureValuesRequest/SelectTimeRangeAndFeature.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/DeleteFeatureValuesResponse.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/DeleteFeatureValuesResponse/SelectEntity.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/DeleteFeatureValuesResponse/SelectTimeRangeAndFeature.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/DeleteFeatureViewRequest.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/DeleteFeaturestoreRequest.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/DeleteHyperparameterTuningJobRequest.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/DeleteIndexEndpointRequest.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/DeleteIndexRequest.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/DeleteMetadataStoreOperationMetadata.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/DeleteMetadataStoreRequest.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/DeleteModelDeploymentMonitoringJobRequest.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/DeleteModelRequest.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/DeleteModelVersionRequest.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/DeleteNasJobRequest.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/DeleteNotebookExecutionJobRequest.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/DeleteNotebookRuntimeRequest.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/DeleteNotebookRuntimeTemplateRequest.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/DeleteOperationMetadata.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/DeletePersistentResourceRequest.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/DeletePipelineJobRequest.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/DeleteSavedQueryRequest.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/DeleteScheduleRequest.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/DeleteSpecialistPoolRequest.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/DeleteStudyRequest.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/DeleteTensorboardExperimentRequest.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/DeleteTensorboardRequest.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/DeleteTensorboardRunRequest.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/DeleteTensorboardTimeSeriesRequest.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/DeleteTrainingPipelineRequest.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/DeleteTrialRequest.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/DeployIndexOperationMetadata.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/DeployIndexRequest.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/DeployIndexResponse.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/DeployModelOperationMetadata.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/DeployModelRequest.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/DeployModelResponse.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/DeployedIndex.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/DeployedIndexAuthConfig.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/DeployedIndexAuthConfig/AuthProvider.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/DeployedIndexRef.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/DeployedModel.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/DeployedModelRef.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/DeploymentResourcePool.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/DestinationFeatureSetting.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/DirectPredictRequest.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/DirectPredictResponse.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/DirectRawPredictRequest.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/DirectRawPredictResponse.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/DiskSpec.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/DoubleArray.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/EncryptionSpec.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/Endpoint.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/EntityIdSelector.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/EntityType.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/EnvVar.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ErrorAnalysisAnnotation.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ErrorAnalysisAnnotation/AttributedItem.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ErrorAnalysisAnnotation/QueryType.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/EvaluatedAnnotation.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/EvaluatedAnnotation/EvaluatedAnnotationType.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/EvaluatedAnnotationExplanation.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/Event.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/Event/Type.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/Examples.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/Examples/ExampleGcsSource.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/Examples/ExampleGcsSource/DataFormat.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ExamplesOverride.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ExamplesOverride/DataFormat.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ExamplesRestrictionsNamespace.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/Execution.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/Execution/State.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ExplainRequest.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ExplainResponse.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/Explanation.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ExplanationMetadata.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ExplanationMetadata/InputMetadata.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ExplanationMetadata/InputMetadata/Encoding.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ExplanationMetadata/InputMetadata/FeatureValueDomain.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ExplanationMetadata/InputMetadata/Visualization.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ExplanationMetadata/InputMetadata/Visualization/ColorMap.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ExplanationMetadata/InputMetadata/Visualization/OverlayType.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ExplanationMetadata/InputMetadata/Visualization/Polarity.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ExplanationMetadata/InputMetadata/Visualization/Type.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ExplanationMetadata/OutputMetadata.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ExplanationMetadataOverride.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ExplanationMetadataOverride/InputMetadataOverride.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ExplanationParameters.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ExplanationSpec.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ExplanationSpecOverride.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ExportDataConfig.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ExportDataConfig/ExportUse.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ExportDataOperationMetadata.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ExportDataRequest.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ExportDataResponse.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ExportFeatureValuesOperationMetadata.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ExportFeatureValuesRequest.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ExportFeatureValuesRequest/FullExport.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ExportFeatureValuesRequest/SnapshotExport.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ExportFeatureValuesResponse.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ExportFilterSplit.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ExportFractionSplit.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ExportModelOperationMetadata.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ExportModelOperationMetadata/OutputInfo.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ExportModelRequest.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ExportModelRequest/OutputConfig.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ExportModelResponse.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ExportTensorboardTimeSeriesDataRequest.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ExportTensorboardTimeSeriesDataResponse.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/Feature.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/Feature/MonitoringStatsAnomaly.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/Feature/MonitoringStatsAnomaly/Objective.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/Feature/ValueType.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/FeatureGroup.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/FeatureGroup/BigQuery.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/FeatureNoiseSigma.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/FeatureNoiseSigma/NoiseSigmaForFeature.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/FeatureOnlineStore.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/FeatureOnlineStore/Bigtable.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/FeatureOnlineStore/Bigtable/AutoScaling.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/FeatureOnlineStore/DedicatedServingEndpoint.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/FeatureOnlineStore/Optimized.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/FeatureOnlineStore/State.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/FeatureSelector.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/FeatureStatsAnomaly.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/FeatureValue.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/FeatureValue/Metadata.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/FeatureValueDestination.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/FeatureValueList.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/FeatureView.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/FeatureView/BigQuerySource.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/FeatureView/FeatureRegistrySource.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/FeatureView/FeatureRegistrySource/FeatureGroup.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/FeatureView/IndexConfig.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/FeatureView/IndexConfig/BruteForceConfig.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/FeatureView/IndexConfig/DistanceMeasureType.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/FeatureView/IndexConfig/TreeAHConfig.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/FeatureView/SyncConfig.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/FeatureViewDataFormat.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/FeatureViewDataKey.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/FeatureViewDataKey/CompositeKey.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/FeatureViewSync.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/FeatureViewSync/SyncSummary.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/Featurestore.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/Featurestore/OnlineServingConfig.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/Featurestore/OnlineServingConfig/Scaling.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/Featurestore/State.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/FeaturestoreMonitoringConfig.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/FeaturestoreMonitoringConfig/ImportFeaturesAnalysis.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/FeaturestoreMonitoringConfig/ImportFeaturesAnalysis/Baseline.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/FeaturestoreMonitoringConfig/ImportFeaturesAnalysis/State.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/FeaturestoreMonitoringConfig/SnapshotAnalysis.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/FeaturestoreMonitoringConfig/ThresholdConfig.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/FetchFeatureValuesRequest.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/FetchFeatureValuesResponse.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/FetchFeatureValuesResponse/FeatureNameValuePairList.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/FetchFeatureValuesResponse/FeatureNameValuePairList/FeatureNameValuePair.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/FileData.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/FilterSplit.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/FindNeighborsRequest.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/FindNeighborsRequest/Query.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/FindNeighborsRequest/Query/RRF.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/FindNeighborsResponse.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/FindNeighborsResponse/NearestNeighbors.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/FindNeighborsResponse/Neighbor.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/FractionSplit.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/FunctionCall.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/FunctionCallingConfig.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/FunctionCallingConfig/Mode.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/FunctionDeclaration.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/FunctionResponse.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/GcsDestination.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/GcsSource.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/GenerateContentRequest.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/GenerateContentResponse.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/GenerateContentResponse/PromptFeedback.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/GenerateContentResponse/PromptFeedback/BlockedReason.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/GenerateContentResponse/UsageMetadata.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/GenerationConfig.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/GenericOperationMetadata.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/GenieSource.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/GetAnnotationSpecRequest.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/GetArtifactRequest.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/GetBatchPredictionJobRequest.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/GetContextRequest.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/GetCustomJobRequest.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/GetDataLabelingJobRequest.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/GetDatasetRequest.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/GetDatasetVersionRequest.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/GetDeploymentResourcePoolRequest.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/GetEndpointRequest.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/GetEntityTypeRequest.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/GetExecutionRequest.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/GetFeatureGroupRequest.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/GetFeatureOnlineStoreRequest.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/GetFeatureRequest.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/GetFeatureViewRequest.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/GetFeatureViewSyncRequest.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/GetFeaturestoreRequest.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/GetHyperparameterTuningJobRequest.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/GetIndexEndpointRequest.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/GetIndexRequest.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/GetMetadataSchemaRequest.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/GetMetadataStoreRequest.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/GetModelDeploymentMonitoringJobRequest.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/GetModelEvaluationRequest.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/GetModelEvaluationSliceRequest.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/GetModelRequest.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/GetNasJobRequest.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/GetNasTrialDetailRequest.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/GetNotebookExecutionJobRequest.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/GetNotebookRuntimeRequest.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/GetNotebookRuntimeTemplateRequest.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/GetPersistentResourceRequest.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/GetPipelineJobRequest.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/GetPublisherModelRequest.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/GetScheduleRequest.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/GetSpecialistPoolRequest.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/GetStudyRequest.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/GetTensorboardExperimentRequest.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/GetTensorboardRequest.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/GetTensorboardRunRequest.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/GetTensorboardTimeSeriesRequest.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/GetTrainingPipelineRequest.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/GetTrialRequest.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/GetTuningJobRequest.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/GoogleSearchRetrieval.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/GroundingChunk.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/GroundingChunk/RetrievedContext.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/GroundingChunk/Web.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/GroundingMetadata.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/GroundingSupport.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/HarmCategory.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/HyperparameterTuningJob.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/IdMatcher.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ImportDataConfig.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ImportDataOperationMetadata.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ImportDataRequest.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ImportDataResponse.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ImportFeatureValuesOperationMetadata.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ImportFeatureValuesRequest.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ImportFeatureValuesRequest/FeatureSpec.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ImportFeatureValuesResponse.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ImportModelEvaluationRequest.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/Index.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/Index/IndexUpdateMethod.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/IndexDatapoint.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/IndexDatapoint/CrowdingTag.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/IndexDatapoint/NumericRestriction.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/IndexDatapoint/NumericRestriction/Operator.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/IndexDatapoint/Restriction.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/IndexDatapoint/SparseEmbedding.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/IndexEndpoint.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/IndexPrivateEndpoints.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/IndexStats.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/InputDataConfig.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/Int64Array.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/IntegratedGradientsAttribution.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/JobState.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/LargeModelReference.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/LineageSubgraph.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ListAnnotationsRequest.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ListAnnotationsResponse.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ListArtifactsRequest.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ListArtifactsResponse.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ListBatchPredictionJobsRequest.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ListBatchPredictionJobsResponse.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ListContextsRequest.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ListContextsResponse.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ListCustomJobsRequest.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ListCustomJobsResponse.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ListDataItemsRequest.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ListDataItemsResponse.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ListDataLabelingJobsRequest.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ListDataLabelingJobsResponse.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ListDatasetVersionsRequest.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ListDatasetVersionsResponse.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ListDatasetsRequest.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ListDatasetsResponse.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ListDeploymentResourcePoolsRequest.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ListDeploymentResourcePoolsResponse.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ListEndpointsRequest.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ListEndpointsResponse.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ListEntityTypesRequest.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ListEntityTypesResponse.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ListExecutionsRequest.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ListExecutionsResponse.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ListFeatureGroupsRequest.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ListFeatureGroupsResponse.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ListFeatureOnlineStoresRequest.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ListFeatureOnlineStoresResponse.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ListFeatureViewSyncsRequest.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ListFeatureViewSyncsResponse.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ListFeatureViewsRequest.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ListFeatureViewsResponse.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ListFeaturesRequest.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ListFeaturesResponse.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ListFeaturestoresRequest.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ListFeaturestoresResponse.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ListHyperparameterTuningJobsRequest.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ListHyperparameterTuningJobsResponse.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ListIndexEndpointsRequest.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ListIndexEndpointsResponse.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ListIndexesRequest.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ListIndexesResponse.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ListMetadataSchemasRequest.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ListMetadataSchemasResponse.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ListMetadataStoresRequest.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ListMetadataStoresResponse.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ListModelDeploymentMonitoringJobsRequest.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ListModelDeploymentMonitoringJobsResponse.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ListModelEvaluationSlicesRequest.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ListModelEvaluationSlicesResponse.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ListModelEvaluationsRequest.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ListModelEvaluationsResponse.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ListModelVersionsRequest.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ListModelVersionsResponse.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ListModelsRequest.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ListModelsResponse.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ListNasJobsRequest.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ListNasJobsResponse.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ListNasTrialDetailsRequest.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ListNasTrialDetailsResponse.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ListNotebookExecutionJobsRequest.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ListNotebookExecutionJobsResponse.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ListNotebookRuntimeTemplatesRequest.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ListNotebookRuntimeTemplatesResponse.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ListNotebookRuntimesRequest.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ListNotebookRuntimesResponse.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ListOptimalTrialsRequest.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ListOptimalTrialsResponse.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ListPersistentResourcesRequest.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ListPersistentResourcesResponse.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ListPipelineJobsRequest.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ListPipelineJobsResponse.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ListSavedQueriesRequest.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ListSavedQueriesResponse.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ListSchedulesRequest.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ListSchedulesResponse.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ListSpecialistPoolsRequest.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ListSpecialistPoolsResponse.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ListStudiesRequest.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ListStudiesResponse.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ListTensorboardExperimentsRequest.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ListTensorboardExperimentsResponse.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ListTensorboardRunsRequest.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ListTensorboardRunsResponse.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ListTensorboardTimeSeriesRequest.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ListTensorboardTimeSeriesResponse.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ListTensorboardsRequest.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ListTensorboardsResponse.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ListTrainingPipelinesRequest.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ListTrainingPipelinesResponse.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ListTrialsRequest.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ListTrialsResponse.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ListTuningJobsRequest.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ListTuningJobsResponse.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/LookupStudyRequest.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/MachineSpec.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ManualBatchTuningParameters.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/Measurement.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/Measurement/Metric.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/MergeVersionAliasesRequest.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/MetadataSchema.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/MetadataSchema/MetadataSchemaType.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/MetadataStore.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/MetadataStore/DataplexConfig.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/MetadataStore/MetadataStoreState.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/MigratableResource.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/MigratableResource/AutomlDataset.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/MigratableResource/AutomlModel.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/MigratableResource/DataLabelingDataset.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/MigratableResource/DataLabelingDataset/DataLabelingAnnotatedDataset.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/MigratableResource/MlEngineModelVersion.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/MigrateResourceRequest.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/MigrateResourceRequest/MigrateAutomlDatasetConfig.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/MigrateResourceRequest/MigrateAutomlModelConfig.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/MigrateResourceRequest/MigrateDataLabelingDatasetConfig.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/MigrateResourceRequest/MigrateDataLabelingDatasetConfig/MigrateDataLabelingAnnotatedDatasetConfig.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/MigrateResourceRequest/MigrateMlEngineModelVersionConfig.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/MigrateResourceResponse.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/Model.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/Model/BaseModelSource.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/Model/DataStats.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/Model/DeploymentResourcesType.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/Model/ExportFormat.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/Model/ExportFormat/ExportableContent.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/Model/OriginalModelInfo.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ModelContainerSpec.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ModelDeploymentMonitoringBigQueryTable.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ModelDeploymentMonitoringBigQueryTable/LogSource.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ModelDeploymentMonitoringBigQueryTable/LogType.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ModelDeploymentMonitoringJob.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ModelDeploymentMonitoringJob/LatestMonitoringPipelineMetadata.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ModelDeploymentMonitoringJob/MonitoringScheduleState.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ModelDeploymentMonitoringObjectiveConfig.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ModelDeploymentMonitoringObjectiveType.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ModelDeploymentMonitoringScheduleConfig.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ModelEvaluation.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ModelEvaluation/ModelEvaluationExplanationSpec.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ModelEvaluationSlice.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ModelEvaluationSlice/Slice.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ModelEvaluationSlice/Slice/SliceSpec.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ModelEvaluationSlice/Slice/SliceSpec/Range.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ModelEvaluationSlice/Slice/SliceSpec/SliceConfig.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ModelEvaluationSlice/Slice/SliceSpec/Value.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ModelExplanation.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ModelGardenSource.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ModelMonitoringAlertConfig.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ModelMonitoringAlertConfig/EmailAlertConfig.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ModelMonitoringObjectiveConfig.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ModelMonitoringObjectiveConfig/ExplanationConfig.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ModelMonitoringObjectiveConfig/ExplanationConfig/ExplanationBaseline.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ModelMonitoringObjectiveConfig/ExplanationConfig/ExplanationBaseline/PredictionFormat.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ModelMonitoringObjectiveConfig/PredictionDriftDetectionConfig.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ModelMonitoringObjectiveConfig/TrainingDataset.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ModelMonitoringObjectiveConfig/TrainingPredictionSkewDetectionConfig.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ModelMonitoringStatsAnomalies.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ModelMonitoringStatsAnomalies/FeatureHistoricStatsAnomalies.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ModelSourceInfo.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ModelSourceInfo/ModelSourceType.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/MutateDeployedIndexOperationMetadata.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/MutateDeployedIndexRequest.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/MutateDeployedIndexResponse.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/MutateDeployedModelOperationMetadata.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/MutateDeployedModelRequest.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/MutateDeployedModelResponse.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/NasJob.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/NasJobOutput.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/NasJobOutput/MultiTrialJobOutput.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/NasJobSpec.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/NasJobSpec/MultiTrialAlgorithmSpec.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/NasJobSpec/MultiTrialAlgorithmSpec/MetricSpec.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/NasJobSpec/MultiTrialAlgorithmSpec/MetricSpec/GoalType.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/NasJobSpec/MultiTrialAlgorithmSpec/MultiTrialAlgorithm.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/NasJobSpec/MultiTrialAlgorithmSpec/SearchTrialSpec.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/NasJobSpec/MultiTrialAlgorithmSpec/TrainTrialSpec.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/NasTrial.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/NasTrial/State.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/NasTrialDetail.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/NearestNeighborQuery.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/NearestNeighborQuery/Embedding.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/NearestNeighborQuery/NumericFilter.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/NearestNeighborQuery/NumericFilter/Operator.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/NearestNeighborQuery/Parameters.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/NearestNeighborQuery/StringFilter.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/NearestNeighborSearchOperationMetadata.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/NearestNeighborSearchOperationMetadata/ContentValidationStats.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/NearestNeighborSearchOperationMetadata/RecordError.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/NearestNeighborSearchOperationMetadata/RecordError/RecordErrorType.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/NearestNeighbors.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/NearestNeighbors/Neighbor.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/Neighbor.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/NetworkSpec.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/NfsMount.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/NotebookEucConfig.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/NotebookExecutionJob.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/NotebookExecutionJob/DataformRepositorySource.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/NotebookExecutionJob/DirectNotebookSource.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/NotebookExecutionJob/GcsNotebookSource.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/NotebookExecutionJobView.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/NotebookIdleShutdownConfig.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/NotebookRuntime.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/NotebookRuntime/HealthState.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/NotebookRuntime/RuntimeState.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/NotebookRuntimeTemplate.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/NotebookRuntimeTemplateRef.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/NotebookRuntimeType.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/Part.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/PauseModelDeploymentMonitoringJobRequest.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/PauseScheduleRequest.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/PersistentDiskSpec.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/PersistentResource.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/PersistentResource/State.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/PipelineFailurePolicy.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/PipelineJob.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/PipelineJob/RuntimeConfig.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/PipelineJob/RuntimeConfig/InputArtifact.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/PipelineJobDetail.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/PipelineState.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/PipelineTaskDetail.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/PipelineTaskDetail/ArtifactList.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/PipelineTaskDetail/PipelineTaskStatus.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/PipelineTaskDetail/State.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/PipelineTaskExecutorDetail.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/PipelineTaskExecutorDetail/ContainerDetail.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/PipelineTaskExecutorDetail/CustomJobDetail.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/PipelineTemplateMetadata.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/Port.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/PredefinedSplit.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/PredictRequest.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/PredictRequestResponseLoggingConfig.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/PredictResponse.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/PredictSchemata.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/Presets.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/Presets/Modality.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/Presets/Query.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/PrivateEndpoints.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/PrivateServiceConnectConfig.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/Probe.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/Probe/ExecAction.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/PscAutomatedEndpoints.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/PublisherModel.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/PublisherModel/CallToAction.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/PublisherModel/CallToAction/Deploy.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/PublisherModel/CallToAction/Deploy/DeployMetadata.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/PublisherModel/CallToAction/DeployGke.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/PublisherModel/CallToAction/OpenFineTuningPipelines.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/PublisherModel/CallToAction/OpenNotebooks.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/PublisherModel/CallToAction/RegionalResourceReferences.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/PublisherModel/CallToAction/ViewRestApi.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/PublisherModel/Documentation.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/PublisherModel/LaunchStage.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/PublisherModel/OpenSourceCategory.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/PublisherModel/ResourceReference.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/PublisherModel/VersionState.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/PublisherModelView.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/PurgeArtifactsMetadata.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/PurgeArtifactsRequest.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/PurgeArtifactsResponse.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/PurgeContextsMetadata.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/PurgeContextsRequest.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/PurgeContextsResponse.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/PurgeExecutionsMetadata.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/PurgeExecutionsRequest.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/PurgeExecutionsResponse.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/PythonPackageSpec.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/QueryArtifactLineageSubgraphRequest.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/QueryContextLineageSubgraphRequest.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/QueryDeployedModelsRequest.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/QueryDeployedModelsResponse.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/QueryExecutionInputsAndOutputsRequest.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/RawPredictRequest.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/RayLogsSpec.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/RayMetricSpec.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/RaySpec.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ReadFeatureValuesRequest.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ReadFeatureValuesResponse.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ReadFeatureValuesResponse/EntityView.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ReadFeatureValuesResponse/EntityView/Data.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ReadFeatureValuesResponse/FeatureDescriptor.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ReadFeatureValuesResponse/Header.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ReadIndexDatapointsRequest.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ReadIndexDatapointsResponse.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ReadTensorboardBlobDataRequest.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ReadTensorboardBlobDataResponse.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ReadTensorboardSizeRequest.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ReadTensorboardSizeResponse.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ReadTensorboardTimeSeriesDataRequest.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ReadTensorboardTimeSeriesDataResponse.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ReadTensorboardUsageRequest.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ReadTensorboardUsageResponse.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ReadTensorboardUsageResponse/PerMonthUsageData.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ReadTensorboardUsageResponse/PerUserUsageData.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/RebootPersistentResourceOperationMetadata.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/RebootPersistentResourceRequest.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/RemoveContextChildrenRequest.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/RemoveContextChildrenResponse.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/RemoveDatapointsRequest.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/RemoveDatapointsResponse.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ResourcePool.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ResourcePool/AutoscalingSpec.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ResourceRuntime.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ResourceRuntimeSpec.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ResourcesConsumed.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/RestoreDatasetVersionOperationMetadata.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/RestoreDatasetVersionRequest.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ResumeModelDeploymentMonitoringJobRequest.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ResumeScheduleRequest.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/Retrieval.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/SafetyRating.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/SafetyRating/HarmProbability.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/SafetyRating/HarmSeverity.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/SafetySetting.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/SafetySetting/HarmBlockMethod.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/SafetySetting/HarmBlockThreshold.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/SampleConfig.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/SampleConfig/SampleStrategy.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/SampledShapleyAttribution.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/SamplingStrategy.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/SamplingStrategy/RandomSampleConfig.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/SavedQuery.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/Scalar.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/Schedule.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/Schedule/RunResponse.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/Schedule/State.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/Scheduling.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/Scheduling/Strategy.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/Schema.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/SearchDataItemsRequest.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/SearchDataItemsRequest/OrderByAnnotation.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/SearchDataItemsResponse.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/SearchEntryPoint.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/SearchFeaturesRequest.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/SearchFeaturesResponse.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/SearchMigratableResourcesRequest.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/SearchMigratableResourcesResponse.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/SearchModelDeploymentMonitoringStatsAnomaliesRequest.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/SearchModelDeploymentMonitoringStatsAnomaliesRequest/StatsAnomaliesObjective.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/SearchModelDeploymentMonitoringStatsAnomaliesResponse.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/SearchNearestEntitiesRequest.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/SearchNearestEntitiesResponse.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/Segment.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ServiceAccountSpec.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ShieldedVmConfig.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/SmoothGradConfig.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/SpecialistPool.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/StartNotebookRuntimeOperationMetadata.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/StartNotebookRuntimeRequest.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/StartNotebookRuntimeResponse.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/StopTrialRequest.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/StratifiedSplit.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/StreamDirectPredictRequest.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/StreamDirectPredictResponse.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/StreamDirectRawPredictRequest.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/StreamDirectRawPredictResponse.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/StreamRawPredictRequest.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/StreamingPredictRequest.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/StreamingPredictResponse.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/StreamingRawPredictRequest.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/StreamingRawPredictResponse.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/StreamingReadFeatureValuesRequest.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/StringArray.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/StructFieldValue.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/StructValue.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/Study.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/Study/State.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/StudySpec.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/StudySpec/Algorithm.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/StudySpec/ConvexAutomatedStoppingSpec.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/StudySpec/DecayCurveAutomatedStoppingSpec.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/StudySpec/MeasurementSelectionType.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/StudySpec/MedianAutomatedStoppingSpec.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/StudySpec/MetricSpec.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/StudySpec/MetricSpec/GoalType.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/StudySpec/MetricSpec/SafetyMetricConfig.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/StudySpec/ObservationNoise.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/StudySpec/ParameterSpec.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/StudySpec/ParameterSpec/CategoricalValueSpec.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/StudySpec/ParameterSpec/ConditionalParameterSpec.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/StudySpec/ParameterSpec/ConditionalParameterSpec/CategoricalValueCondition.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/StudySpec/ParameterSpec/ConditionalParameterSpec/DiscreteValueCondition.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/StudySpec/ParameterSpec/ConditionalParameterSpec/IntValueCondition.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/StudySpec/ParameterSpec/DiscreteValueSpec.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/StudySpec/ParameterSpec/DoubleValueSpec.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/StudySpec/ParameterSpec/IntegerValueSpec.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/StudySpec/ParameterSpec/ScaleType.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/StudySpec/StudyStoppingConfig.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/StudyTimeConstraint.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/SuggestTrialsMetadata.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/SuggestTrialsRequest.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/SuggestTrialsResponse.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/SupervisedHyperParameters.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/SupervisedHyperParameters/AdapterSize.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/SupervisedTuningDataStats.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/SupervisedTuningDatasetDistribution.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/SupervisedTuningDatasetDistribution/DatasetBucket.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/SupervisedTuningSpec.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/SyncFeatureViewRequest.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/SyncFeatureViewResponse.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/TFRecordDestination.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/Tensor.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/Tensor/DataType.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/Tensorboard.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/TensorboardBlob.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/TensorboardBlobSequence.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/TensorboardExperiment.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/TensorboardRun.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/TensorboardTensor.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/TensorboardTimeSeries.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/TensorboardTimeSeries/Metadata.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/TensorboardTimeSeries/ValueType.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ThresholdConfig.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/TimeSeriesData.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/TimeSeriesDataPoint.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/TimestampSplit.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/TokensInfo.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/Tool.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ToolConfig.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/TrainingConfig.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/TrainingPipeline.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/Trial.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/Trial/Parameter.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/Trial/State.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/TrialContext.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/TunedModel.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/TuningDataStats.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/TuningJob.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/Type.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/UndeployIndexOperationMetadata.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/UndeployIndexRequest.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/UndeployIndexResponse.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/UndeployModelOperationMetadata.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/UndeployModelRequest.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/UndeployModelResponse.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/UnmanagedContainerModel.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/UpdateArtifactRequest.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/UpdateContextRequest.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/UpdateDatasetRequest.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/UpdateDatasetVersionRequest.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/UpdateDeploymentResourcePoolOperationMetadata.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/UpdateDeploymentResourcePoolRequest.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/UpdateEndpointRequest.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/UpdateEntityTypeRequest.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/UpdateExecutionRequest.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/UpdateExplanationDatasetOperationMetadata.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/UpdateExplanationDatasetRequest.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/UpdateExplanationDatasetResponse.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/UpdateFeatureGroupOperationMetadata.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/UpdateFeatureGroupRequest.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/UpdateFeatureOnlineStoreOperationMetadata.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/UpdateFeatureOnlineStoreRequest.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/UpdateFeatureOperationMetadata.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/UpdateFeatureRequest.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/UpdateFeatureViewOperationMetadata.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/UpdateFeatureViewRequest.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/UpdateFeaturestoreOperationMetadata.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/UpdateFeaturestoreRequest.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/UpdateIndexEndpointRequest.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/UpdateIndexOperationMetadata.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/UpdateIndexRequest.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/UpdateModelDeploymentMonitoringJobOperationMetadata.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/UpdateModelDeploymentMonitoringJobRequest.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/UpdateModelRequest.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/UpdateNotebookRuntimeTemplateRequest.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/UpdatePersistentResourceOperationMetadata.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/UpdatePersistentResourceRequest.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/UpdateScheduleRequest.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/UpdateSpecialistPoolOperationMetadata.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/UpdateSpecialistPoolRequest.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/UpdateTensorboardExperimentRequest.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/UpdateTensorboardOperationMetadata.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/UpdateTensorboardRequest.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/UpdateTensorboardRunRequest.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/UpdateTensorboardTimeSeriesRequest.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/UpgradeNotebookRuntimeOperationMetadata.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/UpgradeNotebookRuntimeRequest.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/UpgradeNotebookRuntimeResponse.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/UploadModelOperationMetadata.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/UploadModelRequest.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/UploadModelResponse.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/UpsertDatapointsRequest.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/UpsertDatapointsResponse.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/UserActionReference.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/Value.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/VertexAISearch.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/VideoMetadata.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/WorkerPoolSpec.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/WriteFeatureValuesPayload.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/WriteFeatureValuesRequest.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/WriteFeatureValuesResponse.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/WriteTensorboardExperimentDataRequest.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/WriteTensorboardExperimentDataResponse.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/WriteTensorboardRunDataRequest.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/WriteTensorboardRunDataResponse.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/XraiAttribution.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/DatasetServiceClient/create_dataset.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/DatasetServiceClient/create_dataset_version.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/DatasetServiceClient/delete_dataset.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/DatasetServiceClient/delete_dataset_version.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/DatasetServiceClient/delete_saved_query.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/DatasetServiceClient/export_data.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/DatasetServiceClient/get_annotation_spec.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/DatasetServiceClient/get_dataset.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/DatasetServiceClient/get_dataset_version.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/DatasetServiceClient/get_iam_policy.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/DatasetServiceClient/get_location.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/DatasetServiceClient/import_data.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/DatasetServiceClient/list_annotations.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/DatasetServiceClient/list_data_items.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/DatasetServiceClient/list_dataset_versions.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/DatasetServiceClient/list_datasets.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/DatasetServiceClient/list_locations.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/DatasetServiceClient/list_saved_queries.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/DatasetServiceClient/restore_dataset_version.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/DatasetServiceClient/search_data_items.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/DatasetServiceClient/set_iam_policy.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/DatasetServiceClient/test_iam_permissions.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/DatasetServiceClient/update_dataset.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/DatasetServiceClient/update_dataset_version.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/DeploymentResourcePoolServiceClient/create_deployment_resource_pool.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/DeploymentResourcePoolServiceClient/delete_deployment_resource_pool.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/DeploymentResourcePoolServiceClient/get_deployment_resource_pool.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/DeploymentResourcePoolServiceClient/get_iam_policy.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/DeploymentResourcePoolServiceClient/get_location.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/DeploymentResourcePoolServiceClient/list_deployment_resource_pools.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/DeploymentResourcePoolServiceClient/list_locations.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/DeploymentResourcePoolServiceClient/query_deployed_models.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/DeploymentResourcePoolServiceClient/set_iam_policy.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/DeploymentResourcePoolServiceClient/test_iam_permissions.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/DeploymentResourcePoolServiceClient/update_deployment_resource_pool.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/EndpointServiceClient/create_endpoint.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/EndpointServiceClient/delete_endpoint.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/EndpointServiceClient/deploy_model.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/EndpointServiceClient/get_endpoint.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/EndpointServiceClient/get_iam_policy.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/EndpointServiceClient/get_location.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/EndpointServiceClient/list_endpoints.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/EndpointServiceClient/list_locations.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/EndpointServiceClient/mutate_deployed_model.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/EndpointServiceClient/set_iam_policy.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/EndpointServiceClient/test_iam_permissions.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/EndpointServiceClient/undeploy_model.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/EndpointServiceClient/update_endpoint.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/FeatureOnlineStoreAdminServiceClient/create_feature_online_store.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/FeatureOnlineStoreAdminServiceClient/create_feature_view.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/FeatureOnlineStoreAdminServiceClient/delete_feature_online_store.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/FeatureOnlineStoreAdminServiceClient/delete_feature_view.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/FeatureOnlineStoreAdminServiceClient/get_feature_online_store.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/FeatureOnlineStoreAdminServiceClient/get_feature_view.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/FeatureOnlineStoreAdminServiceClient/get_feature_view_sync.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/FeatureOnlineStoreAdminServiceClient/get_iam_policy.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/FeatureOnlineStoreAdminServiceClient/get_location.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/FeatureOnlineStoreAdminServiceClient/list_feature_online_stores.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/FeatureOnlineStoreAdminServiceClient/list_feature_view_syncs.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/FeatureOnlineStoreAdminServiceClient/list_feature_views.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/FeatureOnlineStoreAdminServiceClient/list_locations.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/FeatureOnlineStoreAdminServiceClient/set_iam_policy.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/FeatureOnlineStoreAdminServiceClient/sync_feature_view.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/FeatureOnlineStoreAdminServiceClient/test_iam_permissions.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/FeatureOnlineStoreAdminServiceClient/update_feature_online_store.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/FeatureOnlineStoreAdminServiceClient/update_feature_view.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/FeatureOnlineStoreServiceClient/fetch_feature_values.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/FeatureOnlineStoreServiceClient/get_iam_policy.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/FeatureOnlineStoreServiceClient/get_location.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/FeatureOnlineStoreServiceClient/list_locations.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/FeatureOnlineStoreServiceClient/search_nearest_entities.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/FeatureOnlineStoreServiceClient/set_iam_policy.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/FeatureOnlineStoreServiceClient/test_iam_permissions.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/FeatureRegistryServiceClient/create_feature.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/FeatureRegistryServiceClient/create_feature_group.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/FeatureRegistryServiceClient/delete_feature.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/FeatureRegistryServiceClient/delete_feature_group.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/FeatureRegistryServiceClient/get_feature.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/FeatureRegistryServiceClient/get_feature_group.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/FeatureRegistryServiceClient/get_iam_policy.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/FeatureRegistryServiceClient/get_location.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/FeatureRegistryServiceClient/list_feature_groups.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/FeatureRegistryServiceClient/list_features.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/FeatureRegistryServiceClient/list_locations.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/FeatureRegistryServiceClient/set_iam_policy.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/FeatureRegistryServiceClient/test_iam_permissions.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/FeatureRegistryServiceClient/update_feature.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/FeatureRegistryServiceClient/update_feature_group.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/FeaturestoreOnlineServingServiceClient/get_iam_policy.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/FeaturestoreOnlineServingServiceClient/get_location.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/FeaturestoreOnlineServingServiceClient/list_locations.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/FeaturestoreOnlineServingServiceClient/read_feature_values.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/FeaturestoreOnlineServingServiceClient/set_iam_policy.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/FeaturestoreOnlineServingServiceClient/streaming_read_feature_values.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/FeaturestoreOnlineServingServiceClient/test_iam_permissions.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/FeaturestoreOnlineServingServiceClient/write_feature_values.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/FeaturestoreServiceClient/batch_create_features.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/FeaturestoreServiceClient/batch_read_feature_values.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/FeaturestoreServiceClient/create_entity_type.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/FeaturestoreServiceClient/create_feature.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/FeaturestoreServiceClient/create_featurestore.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/FeaturestoreServiceClient/delete_entity_type.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/FeaturestoreServiceClient/delete_feature.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/FeaturestoreServiceClient/delete_feature_values.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/FeaturestoreServiceClient/delete_featurestore.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/FeaturestoreServiceClient/export_feature_values.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/FeaturestoreServiceClient/get_entity_type.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/FeaturestoreServiceClient/get_feature.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/FeaturestoreServiceClient/get_featurestore.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/FeaturestoreServiceClient/get_iam_policy.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/FeaturestoreServiceClient/get_location.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/FeaturestoreServiceClient/import_feature_values.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/FeaturestoreServiceClient/list_entity_types.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/FeaturestoreServiceClient/list_features.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/FeaturestoreServiceClient/list_featurestores.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/FeaturestoreServiceClient/list_locations.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/FeaturestoreServiceClient/search_features.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/FeaturestoreServiceClient/set_iam_policy.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/FeaturestoreServiceClient/test_iam_permissions.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/FeaturestoreServiceClient/update_entity_type.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/FeaturestoreServiceClient/update_feature.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/FeaturestoreServiceClient/update_featurestore.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/GenAiTuningServiceClient/cancel_tuning_job.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/GenAiTuningServiceClient/create_tuning_job.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/GenAiTuningServiceClient/get_iam_policy.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/GenAiTuningServiceClient/get_location.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/GenAiTuningServiceClient/get_tuning_job.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/GenAiTuningServiceClient/list_locations.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/GenAiTuningServiceClient/list_tuning_jobs.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/GenAiTuningServiceClient/set_iam_policy.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/GenAiTuningServiceClient/test_iam_permissions.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/IndexEndpointServiceClient/create_index_endpoint.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/IndexEndpointServiceClient/delete_index_endpoint.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/IndexEndpointServiceClient/deploy_index.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/IndexEndpointServiceClient/get_iam_policy.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/IndexEndpointServiceClient/get_index_endpoint.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/IndexEndpointServiceClient/get_location.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/IndexEndpointServiceClient/list_index_endpoints.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/IndexEndpointServiceClient/list_locations.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/IndexEndpointServiceClient/mutate_deployed_index.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/IndexEndpointServiceClient/set_iam_policy.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/IndexEndpointServiceClient/test_iam_permissions.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/IndexEndpointServiceClient/undeploy_index.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/IndexEndpointServiceClient/update_index_endpoint.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/IndexServiceClient/create_index.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/IndexServiceClient/delete_index.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/IndexServiceClient/get_iam_policy.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/IndexServiceClient/get_index.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/IndexServiceClient/get_location.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/IndexServiceClient/list_indexes.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/IndexServiceClient/list_locations.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/IndexServiceClient/remove_datapoints.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/IndexServiceClient/set_iam_policy.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/IndexServiceClient/test_iam_permissions.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/IndexServiceClient/update_index.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/IndexServiceClient/upsert_datapoints.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/JobServiceClient/cancel_batch_prediction_job.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/JobServiceClient/cancel_custom_job.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/JobServiceClient/cancel_data_labeling_job.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/JobServiceClient/cancel_hyperparameter_tuning_job.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/JobServiceClient/cancel_nas_job.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/JobServiceClient/create_batch_prediction_job.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/JobServiceClient/create_custom_job.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/JobServiceClient/create_data_labeling_job.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/JobServiceClient/create_hyperparameter_tuning_job.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/JobServiceClient/create_model_deployment_monitoring_job.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/JobServiceClient/create_nas_job.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/JobServiceClient/delete_batch_prediction_job.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/JobServiceClient/delete_custom_job.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/JobServiceClient/delete_data_labeling_job.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/JobServiceClient/delete_hyperparameter_tuning_job.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/JobServiceClient/delete_model_deployment_monitoring_job.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/JobServiceClient/delete_nas_job.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/JobServiceClient/get_batch_prediction_job.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/JobServiceClient/get_custom_job.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/JobServiceClient/get_data_labeling_job.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/JobServiceClient/get_hyperparameter_tuning_job.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/JobServiceClient/get_iam_policy.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/JobServiceClient/get_location.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/JobServiceClient/get_model_deployment_monitoring_job.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/JobServiceClient/get_nas_job.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/JobServiceClient/get_nas_trial_detail.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/JobServiceClient/list_batch_prediction_jobs.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/JobServiceClient/list_custom_jobs.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/JobServiceClient/list_data_labeling_jobs.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/JobServiceClient/list_hyperparameter_tuning_jobs.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/JobServiceClient/list_locations.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/JobServiceClient/list_model_deployment_monitoring_jobs.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/JobServiceClient/list_nas_jobs.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/JobServiceClient/list_nas_trial_details.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/JobServiceClient/pause_model_deployment_monitoring_job.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/JobServiceClient/resume_model_deployment_monitoring_job.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/JobServiceClient/search_model_deployment_monitoring_stats_anomalies.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/JobServiceClient/set_iam_policy.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/JobServiceClient/test_iam_permissions.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/JobServiceClient/update_model_deployment_monitoring_job.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/LlmUtilityServiceClient/compute_tokens.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/LlmUtilityServiceClient/count_tokens.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/LlmUtilityServiceClient/get_iam_policy.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/LlmUtilityServiceClient/get_location.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/LlmUtilityServiceClient/list_locations.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/LlmUtilityServiceClient/set_iam_policy.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/LlmUtilityServiceClient/test_iam_permissions.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/MatchServiceClient/find_neighbors.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/MatchServiceClient/get_iam_policy.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/MatchServiceClient/get_location.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/MatchServiceClient/list_locations.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/MatchServiceClient/read_index_datapoints.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/MatchServiceClient/set_iam_policy.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/MatchServiceClient/test_iam_permissions.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/MetadataServiceClient/add_context_artifacts_and_executions.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/MetadataServiceClient/add_context_children.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/MetadataServiceClient/add_execution_events.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/MetadataServiceClient/create_artifact.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/MetadataServiceClient/create_context.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/MetadataServiceClient/create_execution.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/MetadataServiceClient/create_metadata_schema.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/MetadataServiceClient/create_metadata_store.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/MetadataServiceClient/delete_artifact.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/MetadataServiceClient/delete_context.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/MetadataServiceClient/delete_execution.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/MetadataServiceClient/delete_metadata_store.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/MetadataServiceClient/get_artifact.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/MetadataServiceClient/get_context.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/MetadataServiceClient/get_execution.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/MetadataServiceClient/get_iam_policy.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/MetadataServiceClient/get_location.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/MetadataServiceClient/get_metadata_schema.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/MetadataServiceClient/get_metadata_store.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/MetadataServiceClient/list_artifacts.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/MetadataServiceClient/list_contexts.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/MetadataServiceClient/list_executions.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/MetadataServiceClient/list_locations.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/MetadataServiceClient/list_metadata_schemas.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/MetadataServiceClient/list_metadata_stores.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/MetadataServiceClient/purge_artifacts.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/MetadataServiceClient/purge_contexts.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/MetadataServiceClient/purge_executions.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/MetadataServiceClient/query_artifact_lineage_subgraph.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/MetadataServiceClient/query_context_lineage_subgraph.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/MetadataServiceClient/query_execution_inputs_and_outputs.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/MetadataServiceClient/remove_context_children.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/MetadataServiceClient/set_iam_policy.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/MetadataServiceClient/test_iam_permissions.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/MetadataServiceClient/update_artifact.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/MetadataServiceClient/update_context.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/MetadataServiceClient/update_execution.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/MigrationServiceClient/batch_migrate_resources.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/MigrationServiceClient/get_iam_policy.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/MigrationServiceClient/get_location.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/MigrationServiceClient/list_locations.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/MigrationServiceClient/search_migratable_resources.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/MigrationServiceClient/set_iam_policy.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/MigrationServiceClient/test_iam_permissions.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/ModelGardenServiceClient/get_iam_policy.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/ModelGardenServiceClient/get_location.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/ModelGardenServiceClient/get_publisher_model.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/ModelGardenServiceClient/list_locations.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/ModelGardenServiceClient/set_iam_policy.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/ModelGardenServiceClient/test_iam_permissions.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/ModelServiceClient/batch_import_evaluated_annotations.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/ModelServiceClient/batch_import_model_evaluation_slices.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/ModelServiceClient/copy_model.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/ModelServiceClient/delete_model.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/ModelServiceClient/delete_model_version.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/ModelServiceClient/export_model.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/ModelServiceClient/get_iam_policy.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/ModelServiceClient/get_location.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/ModelServiceClient/get_model.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/ModelServiceClient/get_model_evaluation.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/ModelServiceClient/get_model_evaluation_slice.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/ModelServiceClient/import_model_evaluation.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/ModelServiceClient/list_locations.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/ModelServiceClient/list_model_evaluation_slices.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/ModelServiceClient/list_model_evaluations.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/ModelServiceClient/list_model_versions.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/ModelServiceClient/list_models.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/ModelServiceClient/merge_version_aliases.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/ModelServiceClient/set_iam_policy.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/ModelServiceClient/test_iam_permissions.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/ModelServiceClient/update_explanation_dataset.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/ModelServiceClient/update_model.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/ModelServiceClient/upload_model.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/NotebookServiceClient/assign_notebook_runtime.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/NotebookServiceClient/create_notebook_execution_job.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/NotebookServiceClient/create_notebook_runtime_template.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/NotebookServiceClient/delete_notebook_execution_job.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/NotebookServiceClient/delete_notebook_runtime.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/NotebookServiceClient/delete_notebook_runtime_template.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/NotebookServiceClient/get_iam_policy.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/NotebookServiceClient/get_location.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/NotebookServiceClient/get_notebook_execution_job.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/NotebookServiceClient/get_notebook_runtime.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/NotebookServiceClient/get_notebook_runtime_template.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/NotebookServiceClient/list_locations.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/NotebookServiceClient/list_notebook_execution_jobs.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/NotebookServiceClient/list_notebook_runtime_templates.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/NotebookServiceClient/list_notebook_runtimes.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/NotebookServiceClient/set_iam_policy.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/NotebookServiceClient/start_notebook_runtime.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/NotebookServiceClient/test_iam_permissions.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/NotebookServiceClient/update_notebook_runtime_template.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/NotebookServiceClient/upgrade_notebook_runtime.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/PersistentResourceServiceClient/create_persistent_resource.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/PersistentResourceServiceClient/delete_persistent_resource.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/PersistentResourceServiceClient/get_iam_policy.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/PersistentResourceServiceClient/get_location.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/PersistentResourceServiceClient/get_persistent_resource.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/PersistentResourceServiceClient/list_locations.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/PersistentResourceServiceClient/list_persistent_resources.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/PersistentResourceServiceClient/reboot_persistent_resource.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/PersistentResourceServiceClient/set_iam_policy.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/PersistentResourceServiceClient/test_iam_permissions.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/PersistentResourceServiceClient/update_persistent_resource.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/PipelineServiceClient/batch_cancel_pipeline_jobs.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/PipelineServiceClient/batch_delete_pipeline_jobs.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/PipelineServiceClient/cancel_pipeline_job.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/PipelineServiceClient/cancel_training_pipeline.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/PipelineServiceClient/create_pipeline_job.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/PipelineServiceClient/create_training_pipeline.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/PipelineServiceClient/delete_pipeline_job.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/PipelineServiceClient/delete_training_pipeline.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/PipelineServiceClient/get_iam_policy.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/PipelineServiceClient/get_location.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/PipelineServiceClient/get_pipeline_job.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/PipelineServiceClient/get_training_pipeline.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/PipelineServiceClient/list_locations.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/PipelineServiceClient/list_pipeline_jobs.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/PipelineServiceClient/list_training_pipelines.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/PipelineServiceClient/set_iam_policy.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/PipelineServiceClient/test_iam_permissions.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/PredictionServiceClient/direct_predict.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/PredictionServiceClient/direct_raw_predict.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/PredictionServiceClient/explain.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/PredictionServiceClient/generate_content.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/PredictionServiceClient/get_iam_policy.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/PredictionServiceClient/get_location.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/PredictionServiceClient/list_locations.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/PredictionServiceClient/predict.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/PredictionServiceClient/raw_predict.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/PredictionServiceClient/server_streaming_predict.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/PredictionServiceClient/set_iam_policy.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/PredictionServiceClient/stream_direct_predict.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/PredictionServiceClient/stream_direct_raw_predict.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/PredictionServiceClient/stream_generate_content.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/PredictionServiceClient/stream_raw_predict.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/PredictionServiceClient/streaming_predict.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/PredictionServiceClient/streaming_raw_predict.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/PredictionServiceClient/test_iam_permissions.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/ScheduleServiceClient/create_schedule.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/ScheduleServiceClient/delete_schedule.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/ScheduleServiceClient/get_iam_policy.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/ScheduleServiceClient/get_location.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/ScheduleServiceClient/get_schedule.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/ScheduleServiceClient/list_locations.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/ScheduleServiceClient/list_schedules.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/ScheduleServiceClient/pause_schedule.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/ScheduleServiceClient/resume_schedule.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/ScheduleServiceClient/set_iam_policy.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/ScheduleServiceClient/test_iam_permissions.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/ScheduleServiceClient/update_schedule.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/SpecialistPoolServiceClient/create_specialist_pool.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/SpecialistPoolServiceClient/delete_specialist_pool.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/SpecialistPoolServiceClient/get_iam_policy.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/SpecialistPoolServiceClient/get_location.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/SpecialistPoolServiceClient/get_specialist_pool.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/SpecialistPoolServiceClient/list_locations.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/SpecialistPoolServiceClient/list_specialist_pools.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/SpecialistPoolServiceClient/set_iam_policy.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/SpecialistPoolServiceClient/test_iam_permissions.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/SpecialistPoolServiceClient/update_specialist_pool.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/TensorboardServiceClient/batch_create_tensorboard_runs.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/TensorboardServiceClient/batch_create_tensorboard_time_series.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/TensorboardServiceClient/batch_read_tensorboard_time_series_data.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/TensorboardServiceClient/create_tensorboard.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/TensorboardServiceClient/create_tensorboard_experiment.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/TensorboardServiceClient/create_tensorboard_run.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/TensorboardServiceClient/create_tensorboard_time_series.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/TensorboardServiceClient/delete_tensorboard.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/TensorboardServiceClient/delete_tensorboard_experiment.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/TensorboardServiceClient/delete_tensorboard_run.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/TensorboardServiceClient/delete_tensorboard_time_series.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/TensorboardServiceClient/export_tensorboard_time_series_data.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/TensorboardServiceClient/get_iam_policy.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/TensorboardServiceClient/get_location.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/TensorboardServiceClient/get_tensorboard.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/TensorboardServiceClient/get_tensorboard_experiment.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/TensorboardServiceClient/get_tensorboard_run.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/TensorboardServiceClient/get_tensorboard_time_series.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/TensorboardServiceClient/list_locations.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/TensorboardServiceClient/list_tensorboard_experiments.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/TensorboardServiceClient/list_tensorboard_runs.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/TensorboardServiceClient/list_tensorboard_time_series.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/TensorboardServiceClient/list_tensorboards.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/TensorboardServiceClient/read_tensorboard_blob_data.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/TensorboardServiceClient/read_tensorboard_size.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/TensorboardServiceClient/read_tensorboard_time_series_data.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/TensorboardServiceClient/read_tensorboard_usage.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/TensorboardServiceClient/set_iam_policy.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/TensorboardServiceClient/test_iam_permissions.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/TensorboardServiceClient/update_tensorboard.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/TensorboardServiceClient/update_tensorboard_experiment.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/TensorboardServiceClient/update_tensorboard_run.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/TensorboardServiceClient/update_tensorboard_time_series.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/TensorboardServiceClient/write_tensorboard_experiment_data.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/TensorboardServiceClient/write_tensorboard_run_data.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/VizierServiceClient/add_trial_measurement.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/VizierServiceClient/check_trial_early_stopping_state.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/VizierServiceClient/complete_trial.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/VizierServiceClient/create_study.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/VizierServiceClient/create_trial.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/VizierServiceClient/delete_study.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/VizierServiceClient/delete_trial.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/VizierServiceClient/get_iam_policy.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/VizierServiceClient/get_location.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/VizierServiceClient/get_study.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/VizierServiceClient/get_trial.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/VizierServiceClient/list_locations.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/VizierServiceClient/list_optimal_trials.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/VizierServiceClient/list_studies.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/VizierServiceClient/list_trials.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/VizierServiceClient/lookup_study.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/VizierServiceClient/set_iam_policy.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/VizierServiceClient/stop_trial.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/VizierServiceClient/suggest_trials.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/VizierServiceClient/test_iam_permissions.php create mode 100644 owl-bot-staging/AiPlatform/v1/src/V1/Client/DatasetServiceClient.php create mode 100644 owl-bot-staging/AiPlatform/v1/src/V1/Client/DeploymentResourcePoolServiceClient.php create mode 100644 owl-bot-staging/AiPlatform/v1/src/V1/Client/EndpointServiceClient.php create mode 100644 owl-bot-staging/AiPlatform/v1/src/V1/Client/FeatureOnlineStoreAdminServiceClient.php create mode 100644 owl-bot-staging/AiPlatform/v1/src/V1/Client/FeatureOnlineStoreServiceClient.php create mode 100644 owl-bot-staging/AiPlatform/v1/src/V1/Client/FeatureRegistryServiceClient.php create mode 100644 owl-bot-staging/AiPlatform/v1/src/V1/Client/FeaturestoreOnlineServingServiceClient.php create mode 100644 owl-bot-staging/AiPlatform/v1/src/V1/Client/FeaturestoreServiceClient.php create mode 100644 owl-bot-staging/AiPlatform/v1/src/V1/Client/GenAiTuningServiceClient.php create mode 100644 owl-bot-staging/AiPlatform/v1/src/V1/Client/IndexEndpointServiceClient.php create mode 100644 owl-bot-staging/AiPlatform/v1/src/V1/Client/IndexServiceClient.php create mode 100644 owl-bot-staging/AiPlatform/v1/src/V1/Client/JobServiceClient.php create mode 100644 owl-bot-staging/AiPlatform/v1/src/V1/Client/LlmUtilityServiceClient.php create mode 100644 owl-bot-staging/AiPlatform/v1/src/V1/Client/MatchServiceClient.php create mode 100644 owl-bot-staging/AiPlatform/v1/src/V1/Client/MetadataServiceClient.php create mode 100644 owl-bot-staging/AiPlatform/v1/src/V1/Client/MigrationServiceClient.php create mode 100644 owl-bot-staging/AiPlatform/v1/src/V1/Client/ModelGardenServiceClient.php create mode 100644 owl-bot-staging/AiPlatform/v1/src/V1/Client/ModelServiceClient.php create mode 100644 owl-bot-staging/AiPlatform/v1/src/V1/Client/NotebookServiceClient.php create mode 100644 owl-bot-staging/AiPlatform/v1/src/V1/Client/PersistentResourceServiceClient.php create mode 100644 owl-bot-staging/AiPlatform/v1/src/V1/Client/PipelineServiceClient.php create mode 100644 owl-bot-staging/AiPlatform/v1/src/V1/Client/PredictionServiceClient.php create mode 100644 owl-bot-staging/AiPlatform/v1/src/V1/Client/ScheduleServiceClient.php create mode 100644 owl-bot-staging/AiPlatform/v1/src/V1/Client/SpecialistPoolServiceClient.php create mode 100644 owl-bot-staging/AiPlatform/v1/src/V1/Client/TensorboardServiceClient.php create mode 100644 owl-bot-staging/AiPlatform/v1/src/V1/Client/VizierServiceClient.php create mode 100644 owl-bot-staging/AiPlatform/v1/src/V1/gapic_metadata.json create mode 100644 owl-bot-staging/AiPlatform/v1/src/V1/resources/dataset_service_client_config.json create mode 100644 owl-bot-staging/AiPlatform/v1/src/V1/resources/dataset_service_descriptor_config.php create mode 100644 owl-bot-staging/AiPlatform/v1/src/V1/resources/dataset_service_rest_client_config.php create mode 100644 owl-bot-staging/AiPlatform/v1/src/V1/resources/deployment_resource_pool_service_client_config.json create mode 100644 owl-bot-staging/AiPlatform/v1/src/V1/resources/deployment_resource_pool_service_descriptor_config.php create mode 100644 owl-bot-staging/AiPlatform/v1/src/V1/resources/deployment_resource_pool_service_rest_client_config.php create mode 100644 owl-bot-staging/AiPlatform/v1/src/V1/resources/endpoint_service_client_config.json create mode 100644 owl-bot-staging/AiPlatform/v1/src/V1/resources/endpoint_service_descriptor_config.php create mode 100644 owl-bot-staging/AiPlatform/v1/src/V1/resources/endpoint_service_rest_client_config.php create mode 100644 owl-bot-staging/AiPlatform/v1/src/V1/resources/feature_online_store_admin_service_client_config.json create mode 100644 owl-bot-staging/AiPlatform/v1/src/V1/resources/feature_online_store_admin_service_descriptor_config.php create mode 100644 owl-bot-staging/AiPlatform/v1/src/V1/resources/feature_online_store_admin_service_rest_client_config.php create mode 100644 owl-bot-staging/AiPlatform/v1/src/V1/resources/feature_online_store_service_client_config.json create mode 100644 owl-bot-staging/AiPlatform/v1/src/V1/resources/feature_online_store_service_descriptor_config.php create mode 100644 owl-bot-staging/AiPlatform/v1/src/V1/resources/feature_online_store_service_rest_client_config.php create mode 100644 owl-bot-staging/AiPlatform/v1/src/V1/resources/feature_registry_service_client_config.json create mode 100644 owl-bot-staging/AiPlatform/v1/src/V1/resources/feature_registry_service_descriptor_config.php create mode 100644 owl-bot-staging/AiPlatform/v1/src/V1/resources/feature_registry_service_rest_client_config.php create mode 100644 owl-bot-staging/AiPlatform/v1/src/V1/resources/featurestore_online_serving_service_client_config.json create mode 100644 owl-bot-staging/AiPlatform/v1/src/V1/resources/featurestore_online_serving_service_descriptor_config.php create mode 100644 owl-bot-staging/AiPlatform/v1/src/V1/resources/featurestore_online_serving_service_rest_client_config.php create mode 100644 owl-bot-staging/AiPlatform/v1/src/V1/resources/featurestore_service_client_config.json create mode 100644 owl-bot-staging/AiPlatform/v1/src/V1/resources/featurestore_service_descriptor_config.php create mode 100644 owl-bot-staging/AiPlatform/v1/src/V1/resources/featurestore_service_rest_client_config.php create mode 100644 owl-bot-staging/AiPlatform/v1/src/V1/resources/gen_ai_tuning_service_client_config.json create mode 100644 owl-bot-staging/AiPlatform/v1/src/V1/resources/gen_ai_tuning_service_descriptor_config.php create mode 100644 owl-bot-staging/AiPlatform/v1/src/V1/resources/gen_ai_tuning_service_rest_client_config.php create mode 100644 owl-bot-staging/AiPlatform/v1/src/V1/resources/index_endpoint_service_client_config.json create mode 100644 owl-bot-staging/AiPlatform/v1/src/V1/resources/index_endpoint_service_descriptor_config.php create mode 100644 owl-bot-staging/AiPlatform/v1/src/V1/resources/index_endpoint_service_rest_client_config.php create mode 100644 owl-bot-staging/AiPlatform/v1/src/V1/resources/index_service_client_config.json create mode 100644 owl-bot-staging/AiPlatform/v1/src/V1/resources/index_service_descriptor_config.php create mode 100644 owl-bot-staging/AiPlatform/v1/src/V1/resources/index_service_rest_client_config.php create mode 100644 owl-bot-staging/AiPlatform/v1/src/V1/resources/job_service_client_config.json create mode 100644 owl-bot-staging/AiPlatform/v1/src/V1/resources/job_service_descriptor_config.php create mode 100644 owl-bot-staging/AiPlatform/v1/src/V1/resources/job_service_rest_client_config.php create mode 100644 owl-bot-staging/AiPlatform/v1/src/V1/resources/llm_utility_service_client_config.json create mode 100644 owl-bot-staging/AiPlatform/v1/src/V1/resources/llm_utility_service_descriptor_config.php create mode 100644 owl-bot-staging/AiPlatform/v1/src/V1/resources/llm_utility_service_rest_client_config.php create mode 100644 owl-bot-staging/AiPlatform/v1/src/V1/resources/match_service_client_config.json create mode 100644 owl-bot-staging/AiPlatform/v1/src/V1/resources/match_service_descriptor_config.php create mode 100644 owl-bot-staging/AiPlatform/v1/src/V1/resources/match_service_rest_client_config.php create mode 100644 owl-bot-staging/AiPlatform/v1/src/V1/resources/metadata_service_client_config.json create mode 100644 owl-bot-staging/AiPlatform/v1/src/V1/resources/metadata_service_descriptor_config.php create mode 100644 owl-bot-staging/AiPlatform/v1/src/V1/resources/metadata_service_rest_client_config.php create mode 100644 owl-bot-staging/AiPlatform/v1/src/V1/resources/migration_service_client_config.json create mode 100644 owl-bot-staging/AiPlatform/v1/src/V1/resources/migration_service_descriptor_config.php create mode 100644 owl-bot-staging/AiPlatform/v1/src/V1/resources/migration_service_rest_client_config.php create mode 100644 owl-bot-staging/AiPlatform/v1/src/V1/resources/model_garden_service_client_config.json create mode 100644 owl-bot-staging/AiPlatform/v1/src/V1/resources/model_garden_service_descriptor_config.php create mode 100644 owl-bot-staging/AiPlatform/v1/src/V1/resources/model_garden_service_rest_client_config.php create mode 100644 owl-bot-staging/AiPlatform/v1/src/V1/resources/model_service_client_config.json create mode 100644 owl-bot-staging/AiPlatform/v1/src/V1/resources/model_service_descriptor_config.php create mode 100644 owl-bot-staging/AiPlatform/v1/src/V1/resources/model_service_rest_client_config.php create mode 100644 owl-bot-staging/AiPlatform/v1/src/V1/resources/notebook_service_client_config.json create mode 100644 owl-bot-staging/AiPlatform/v1/src/V1/resources/notebook_service_descriptor_config.php create mode 100644 owl-bot-staging/AiPlatform/v1/src/V1/resources/notebook_service_rest_client_config.php create mode 100644 owl-bot-staging/AiPlatform/v1/src/V1/resources/persistent_resource_service_client_config.json create mode 100644 owl-bot-staging/AiPlatform/v1/src/V1/resources/persistent_resource_service_descriptor_config.php create mode 100644 owl-bot-staging/AiPlatform/v1/src/V1/resources/persistent_resource_service_rest_client_config.php create mode 100644 owl-bot-staging/AiPlatform/v1/src/V1/resources/pipeline_service_client_config.json create mode 100644 owl-bot-staging/AiPlatform/v1/src/V1/resources/pipeline_service_descriptor_config.php create mode 100644 owl-bot-staging/AiPlatform/v1/src/V1/resources/pipeline_service_rest_client_config.php create mode 100644 owl-bot-staging/AiPlatform/v1/src/V1/resources/prediction_service_client_config.json create mode 100644 owl-bot-staging/AiPlatform/v1/src/V1/resources/prediction_service_descriptor_config.php create mode 100644 owl-bot-staging/AiPlatform/v1/src/V1/resources/prediction_service_rest_client_config.php create mode 100644 owl-bot-staging/AiPlatform/v1/src/V1/resources/schedule_service_client_config.json create mode 100644 owl-bot-staging/AiPlatform/v1/src/V1/resources/schedule_service_descriptor_config.php create mode 100644 owl-bot-staging/AiPlatform/v1/src/V1/resources/schedule_service_rest_client_config.php create mode 100644 owl-bot-staging/AiPlatform/v1/src/V1/resources/specialist_pool_service_client_config.json create mode 100644 owl-bot-staging/AiPlatform/v1/src/V1/resources/specialist_pool_service_descriptor_config.php create mode 100644 owl-bot-staging/AiPlatform/v1/src/V1/resources/specialist_pool_service_rest_client_config.php create mode 100644 owl-bot-staging/AiPlatform/v1/src/V1/resources/tensorboard_service_client_config.json create mode 100644 owl-bot-staging/AiPlatform/v1/src/V1/resources/tensorboard_service_descriptor_config.php create mode 100644 owl-bot-staging/AiPlatform/v1/src/V1/resources/tensorboard_service_rest_client_config.php create mode 100644 owl-bot-staging/AiPlatform/v1/src/V1/resources/vizier_service_client_config.json create mode 100644 owl-bot-staging/AiPlatform/v1/src/V1/resources/vizier_service_descriptor_config.php create mode 100644 owl-bot-staging/AiPlatform/v1/src/V1/resources/vizier_service_rest_client_config.php create mode 100644 owl-bot-staging/AiPlatform/v1/tests/Unit/V1/Client/DatasetServiceClientTest.php create mode 100644 owl-bot-staging/AiPlatform/v1/tests/Unit/V1/Client/DeploymentResourcePoolServiceClientTest.php create mode 100644 owl-bot-staging/AiPlatform/v1/tests/Unit/V1/Client/EndpointServiceClientTest.php create mode 100644 owl-bot-staging/AiPlatform/v1/tests/Unit/V1/Client/FeatureOnlineStoreAdminServiceClientTest.php create mode 100644 owl-bot-staging/AiPlatform/v1/tests/Unit/V1/Client/FeatureOnlineStoreServiceClientTest.php create mode 100644 owl-bot-staging/AiPlatform/v1/tests/Unit/V1/Client/FeatureRegistryServiceClientTest.php create mode 100644 owl-bot-staging/AiPlatform/v1/tests/Unit/V1/Client/FeaturestoreOnlineServingServiceClientTest.php create mode 100644 owl-bot-staging/AiPlatform/v1/tests/Unit/V1/Client/FeaturestoreServiceClientTest.php create mode 100644 owl-bot-staging/AiPlatform/v1/tests/Unit/V1/Client/GenAiTuningServiceClientTest.php create mode 100644 owl-bot-staging/AiPlatform/v1/tests/Unit/V1/Client/IndexEndpointServiceClientTest.php create mode 100644 owl-bot-staging/AiPlatform/v1/tests/Unit/V1/Client/IndexServiceClientTest.php create mode 100644 owl-bot-staging/AiPlatform/v1/tests/Unit/V1/Client/JobServiceClientTest.php create mode 100644 owl-bot-staging/AiPlatform/v1/tests/Unit/V1/Client/LlmUtilityServiceClientTest.php create mode 100644 owl-bot-staging/AiPlatform/v1/tests/Unit/V1/Client/MatchServiceClientTest.php create mode 100644 owl-bot-staging/AiPlatform/v1/tests/Unit/V1/Client/MetadataServiceClientTest.php create mode 100644 owl-bot-staging/AiPlatform/v1/tests/Unit/V1/Client/MigrationServiceClientTest.php create mode 100644 owl-bot-staging/AiPlatform/v1/tests/Unit/V1/Client/ModelGardenServiceClientTest.php create mode 100644 owl-bot-staging/AiPlatform/v1/tests/Unit/V1/Client/ModelServiceClientTest.php create mode 100644 owl-bot-staging/AiPlatform/v1/tests/Unit/V1/Client/NotebookServiceClientTest.php create mode 100644 owl-bot-staging/AiPlatform/v1/tests/Unit/V1/Client/PersistentResourceServiceClientTest.php create mode 100644 owl-bot-staging/AiPlatform/v1/tests/Unit/V1/Client/PipelineServiceClientTest.php create mode 100644 owl-bot-staging/AiPlatform/v1/tests/Unit/V1/Client/PredictionServiceClientTest.php create mode 100644 owl-bot-staging/AiPlatform/v1/tests/Unit/V1/Client/ScheduleServiceClientTest.php create mode 100644 owl-bot-staging/AiPlatform/v1/tests/Unit/V1/Client/SpecialistPoolServiceClientTest.php create mode 100644 owl-bot-staging/AiPlatform/v1/tests/Unit/V1/Client/TensorboardServiceClientTest.php create mode 100644 owl-bot-staging/AiPlatform/v1/tests/Unit/V1/Client/VizierServiceClientTest.php 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 new file mode 100644 index 0000000000000000000000000000000000000000..a7c181467cf5ac5e5e47f5734b524f4efdcda7f8 GIT binary patch literal 1178 zcmb7D(QeZ)6s2X1%`g_ikkACkh)L@Zqzx<5l(C_-%}PXBqb;ihiWIr2+gVEEC~+nY zv>)P?zu=Ki;E}JucDl4%wFmMN`}&;Y>wE8c{~=eT|p^OGJ zg#Bzd#0d=OI3^)ZGzeQ=c-VEJ)w10eoSM=s39tc2l#W7N4MLg?s))oPVndpYt7m!@ z1p($<#AxEP^B8MV9e@apaT=ol!?x4-j2RjrhP<{E@|r@(GYcWFr|$v~geXm+ITdud z9{3I*|KhA4k^rU*G5*^isZS!p2nxwJ{;)kbL}7}##yobIMFAr;f`ZVE0$kaGxu(Ew z#FQ6e4_;>Gh}!VFcy`2a5~0v*;WS7{%-`p5s9}sSD=I1?m95FOLXHe!CC||?=91il zEXnZf?GPrIWl6Lv^A-XZ#Y$%OW}i&*Fb9L;+5_ILN&ytKP4H&{=>Od&bv>tOva{N> zv)Y;d>Sr0OUTcO5!Bex@v^v(2>2{BN_lslsCx^$5)wB<6tEJphp8(~sXSZzAcdg@& z>3`a(DW&!DQb~Ob9$qWIJ``-VEqt0a{T3Sah8ezxP&IEY{n~UG)I~GG6zcZc72G3LeP)JHKPQ zmWbVN{4Rm#+)&!hg>9@|tE!wir}T9{@4_XMj;kX&>oybhA}-ijGo?Kl)m2HEXMA2KFu@3f8*dw LWIp2;-~xbuF?DF4 literal 0 HcmV?d00001 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 new file mode 100644 index 000000000000..53fd34106254 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/Annotation.php @@ -0,0 +1,46 @@ +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 ( BàA +payload_schema_uri ( BàA, +payload ( 2.google.protobuf.ValueBàA4 + create_time ( 2.google.protobuf.TimestampBàA4 + update_time ( 2.google.protobuf.TimestampBàA +etag ( BàAO +annotation_source ( 2/.google.cloud.aiplatform.v1.UserActionReferenceBàAG +labels ( 22.google.cloud.aiplatform.v1.Annotation.LabelsEntryBàA- + 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;aiplatformpbªGoogle.Cloud.AIPlatform.V1ÊGoogle\\Cloud\\AIPlatform\\V1êGoogle::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 new file mode 100644 index 000000000000..11b13516ca82 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/AnnotationSpec.php @@ -0,0 +1,37 @@ +internalAddGeneratedFile( + ' +µ +0google/cloud/aiplatform/v1/annotation_spec.protogoogle.cloud.aiplatform.v1google/api/resource.protogoogle/protobuf/timestamp.proto"Ì +AnnotationSpec +name ( BàA + display_name ( BàA4 + create_time ( 2.google.protobuf.TimestampBàA4 + update_time ( 2.google.protobuf.TimestampBàA +etag ( BàA:Œê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;aiplatformpbªGoogle.Cloud.AIPlatform.V1ÊGoogle\\Cloud\\AIPlatform\\V1êGoogle::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 new file mode 100644 index 0000000000000000000000000000000000000000..89ff68241d2fffb218206f6494cf89077a6bae63 GIT binary patch literal 1822 zcma)7-EJC36b|^O&S1OtHf=X3O(t%n;HcRRZY!nhIw=^8kWw23;)`e{GzZz9?lECu+&IIhXFc3(w0rjf8U?YS%)#Rz7<X+#QJ?!iA|;Z zAPgY$Bby-vG5Od+{(Z#|8kcUtQKjd7xx5)u#%TU73U%Pa|7*Pd-{xWqH5_uwdR9r zO{?YGsTmS-TcmYKhPHes73mR%S+FCWd@8;7sZ?eeCJK9ht)Y!Y38H?;1N0rMgg;gw41;E8p0 zURLJWdZ8grUy4iPCsd+>!P56tux1I&mJZ69nJiB$?^O~gpyCkrHAQV+5A_RLQyaj{ zEzsXSc$9fr(u8@iU4>AUiRcBJ5C~Ix%-q)Le}lHu+bI(fY_j>KzTZb1lax@*9Ua@Z znXf#fWNeMEP-&R1vBK{veEBgdE!GGc@RnUBjWV{-+LU-PGj(&E;?u(3&uA@)@@ur) z?bUkC{;Sh&r+M5yX*U}?H=u!EbegA)_GxRUU~Hh(7wz-rPSN>L_*na+fc6%qFXFe)Saefl-Cy?_Gc1wPzmpEEnly9=zuK$4yNk-C`WEDR!&^60Go zZvou}e_4%|^rOC&#nMqU*eSezmS|=32GNd#MaG9D6zS&-9u5u{4}TZSElu^-v7&mb z*6yTlg>_#2Clk8qL*UNEE<6Pvi{B++$I)oVnadsLygFFdZT|6L&JjN(1iQe;Y7#kJ O!o^xMVayqtA@n~&Y)Uc! literal 0 HcmV?d00001 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 new file mode 100644 index 0000000000000000000000000000000000000000..a1f62d64ba1f89b15b0e69da5c9d872003e5dcb3 GIT binary patch literal 4790 zcmbtY-BQ~|6s~cgu!caCqzE@ZN3BvXOKY>KEUD6p ziJRf37rpLt^by)O=zV+L>%2jG)w8==*T8eHaE8SZvZs%ARACy-SvRx~Rv??R5rJT?F26}@u_!q+&jCbg_y>nx61uy1jp&G`hd_? z0#biUu;(3&@j5I>XHnDzQD=8j*J?xSM_zs8W*!I--F$VMt5Nl*`{ZQoq&@C z*ghlIYsgOz62$k;Mzrmp4G(F{LW9r7vSZnY#KUsa&KT$&%Zn|S*VlgR5wBIVLa0(m z@-q^@^x6>g7IxNsk6PexxZ^t*3T4#HOiOML%EPAb0o*4bH`HneqhntLcAf1}JY@A; z7alw&i3(I4CoTG?Ael>PnX;n2gZ^DWpTCz@Dn$X)xy0&SiPewF#f5~@3P>qTYF9{X zv79j*lXX#`CPals3FKi01gB+aMo@W}BTtMeoqg8WSZfUBT|EH2y7SOaqB9Ot3$%n?| z(3rA<#<{O*o_|~XuW|!j@5whYIiy;oLjsj}5i3{G90!?4pcAag6Gy!!IrGW^S{ND= z^$OS(mREE^JSf5SA=;t5MAO6zV#?y&BrWwEr!umr`s1T-GYU{8U|`W119xYM2a$zC zfMoudGq1ffvtSYA%0n5YZZ@goocJS2EK@>1u-q6c-=P^lradd1;O48+e1ID016H`p zIeM2^Ll+%(B4fwCZgHp|a{A1@;Pe|3n|2*#9?eELJR%S?%eMX4qv};)n^GKf4U|8l zqSQ$~>layz%4kb$&&HK2=u#^=$C|jSIqE!cPb!;euID4yE_H#=`f1jzn_Z$kkUM1$ z6_V{BUei~nIK!7&3_~|#8wf-#K0@QHim{4-?)>s%7M(mX2;^-vj>FIo)dF`!kw_2* zeUA%+uq&fE$T)TiHk%f4V-Q1iTFXP#4TU^MN-CMG2BNr)9d(A!^FYosDErccfNbL+ z;leXCce>rE=Q&&E2An!W3a-yk!45G*%w)=_&T^WfbSkZ&wA%~R3PKR(kP6V;XrMBh z#GWG{7e<4CcX0ssn8Z6}G}JRR;aUysM(RbrG4HBj-*E7zN5hV?j%H8wX;tN3+>P?`VEdHKDg&yrx;C|DxBU9WRRMt`o%b#RT zxn)Ot`~vy)2T-B24bu8C#$iV?um)6E&UCs;THi8AN&}5ZN_S+kE2u@geQ&Hfi6(@5 zMHijlPBcDI=gVkDLQUEUl70!@bLt1&F`Mi<#TPZjq>gyD8-s$1?-4Z1JV+f3;MXSy z&ar{w-#IkhE5dBKELIMjM~S$KBmv7@E(8p&nGyj}+eMessP%G*(3P@+FGF{d@H$eu zSM@;=oI!=2iHg7G5E2Vxf~MR86^3OcBI%G2+i)T7bhjW6PTxlJsngOD?)?#_BEGy{ z!R{uyeA5C`q0ea=uv!t3cb}(KzZ0d;ej%P#*bKI6%!d_k8;K@ zxwn;{bLjr?BTm1DD=$E0UcuU;(wpShaY;G=-{j9@@%nM%p#p{*1D-^VtAFLtHPFb6 zJ*&?5yHaBh5w+a+k3~((Llm6MT7K_K3>?_tF{Zo7pt0Kf$8TfBE&lAHud`internalAddGeneratedFile( + ' +Ç +1google/cloud/aiplatform/v1/completion_stats.protogoogle.cloud.aiplatform.v1"˜ +CompletionStats +successful_count (BàA + failed_count (BàA +incomplete_count (BàA, +successful_forecast_point_count (BàABÒ +com.google.cloud.aiplatform.v1BCompletionStatsProtoPZ>cloud.google.com/go/aiplatform/apiv1/aiplatformpb;aiplatformpbªGoogle.Cloud.AIPlatform.V1ÊGoogle\\Cloud\\AIPlatform\\V1êGoogle::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 new file mode 100644 index 0000000000000000000000000000000000000000..0895d8e755cbcb77d90fcb85f3f838609e6652fb GIT binary patch literal 5649 zcmbtYTW=fJ5jHQ9$e~QF);C&>?G5c9a*$9F(*iYp3Ap4+WJ8ezmsae8z+y=rQVWs0 z+ufyWweV}vx4yLKf5>y5iUI}tm|s!!vA?2oF1w^CnN||LNZNB|&YYQVzL`1CzIIPs zc&Ho_n|NkGhD!fT2~LROdQRXBoQcw(jYh;%2F}#ACd4Z!O0}glTU|w~*1I30sPD|Y z0VyeC#~Dw^-eBU)hI^*vPRwBBc+^>I9Qgzly+2uBtN*9cLt_0qUES|0?9tmci{gl~F6}*f7>RsZm zvTOAYEHW9YL0Gx9bhJ!e94F(tN} zRulgz$K+qanrnK2pNlJr-Aqv_y#GptHg2R+@%&#Bkfi^~Hy|01x50wO+BNwZWGs7P z*~FkpjhbU0(yUILKC=gNA&fSW-@L$ZMkAkaJYfguErjXKt|Au!h&>EtI8HtwlmAl^B$2^L z6Nv1QHJ0x|CLmLnmamz|?;RI@|8p!R-+{HjaSfMUK`g`;7EW^%XJR2v7e0oqfoTsd z^cgV*&dd&2wAQ%N1l{rwwx{M>!zfC^YB z@_&tieDNh%5C=g3eSt;#n>x7N}0TB}htUN-f%R;eG@%JYzuyVj1zJPGRQ`K zvu{l-%r{Cp+2XH191?y$3oC#5as14mMa) zIFQ8GFR@~hM3J*GGvMmLsgg6 z1kp-zB%(Twby~Gz{96;-FYNmL6T>5>@7V03*C68Uvun{gG`kM!&AMJQI$Bw8HJ7pr^HT4&+L*SO#z*B>Mz{5i z*3^0S>g59s>6LMK2WvyO+^x5oQc_OCTB}>rI?|ea9ny^68+E-ats|OcWQtl{t#`Gm zQE4^1TC*!{(EQii^}3Y8R_D%9xpC0yU`iSXFPjyr)2Ngi4JoZ|!DVFM=0xrI#^P@4QkhR&@eng797Fm zG>*=QBj_>d8tq=`9AF@o@aBsW$j)y-T2}f~b*Y>9;zFIpMv462V%T)`Z< z)Zz0G3RkYA4iRmBp9gSfo*(=iWF}-hK8dc$cQGAlb3bJ5F{2qDxg>!#73Usos2Ozf z-^XD)vMWp(+7M%Wag*r{P7G|lF;<-EMMK;HSu7&{JnXC;d>~-_n<=iG?sTS7qe5*e zL$f``uT%wT=}L4Spj`FY)j=U2!2)sk+|hh$_<&`R7esWJW$G=s5xQaFruiC3%Qrzr zkvyze#0x=<9$9!Pz){d2o*LL)^cmLK6dC*Mdr|hoPC6?4m2y`*Y;|5Q5mVR|M9VeY zXJCt}Rcgpq58(kTTC4mrBR`{dH_W e1Lvzxqvx#8`K#i>BjkG@AlXj-O!yAo0sJ4@*st6G literal 0 HcmV?d00001 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 new file mode 100644 index 000000000000..ea377c34110b --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/Context.php @@ -0,0 +1,49 @@ +internalAddGeneratedFile( + ' +Ë +(google/cloud/aiplatform/v1/context.protogoogle.cloud.aiplatform.v1google/api/resource.protogoogle/protobuf/struct.protogoogle/protobuf/timestamp.proto"Ó +Context +name ( BàA + display_name (  +etag ( ? +labels ( 2/.google.cloud.aiplatform.v1.Context.LabelsEntry4 + create_time + ( 2.google.protobuf.TimestampBàA4 + update_time ( 2.google.protobuf.TimestampBàAB +parent_contexts ( B)àAúA# +!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;aiplatformpbªGoogle.Cloud.AIPlatform.V1ÊGoogle\\Cloud\\AIPlatform\\V1êGoogle::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 new file mode 100644 index 0000000000000000000000000000000000000000..31bf916260e914cfd1b78f2cb1540771ab7f605d GIT binary patch literal 4446 zcmbtY-Ez}L6s{c-;uA>7mKKv~L4-g81-nU^fib16otQKXNjxMC(~f5}YiaFlBTJfH z$&hw(+vy|p8G6(A==34zZ6BdmJ-b@Tfg~anZg8aYojt$bIjb+f4tGPiZmlw(2^uli z>g-$5F0(=rM1d1{RwwRunXsIoA99b0ie;^AS{s|&R&!--`x-)J5DSOZtX>fGJXUqQ zAa<*ihaQc(f#_EUi&ZC`|CPV5lYqix_XAyO2MBA%cMSEGPXxB3p z?VZJk0FFncw3fB1CqV~(1`Gd%amVA1B_kT)e{)>g+~*Oe9{&lQd1Q5|CmEuT%64Pl ziFn{!3b5%rY~hxb=v19DLBY}wU3EdJ>>1joOy18?a~1c zM6EXTYN+HS=rd-Lcxu!!DQY);N9>0xq+20#PH(~Sx&}M+9lSVB$6D}yHeiu$VOg>F z)3Q#TUGB3q#PamovXWbgu{ANQ{{yIfD8$~qaRbgs2VU(HAbIxE{VcHTa z(;yad5d(Wbg^|3TBgq3JbUQ}~iO*Ku&y4I+j%+`v7d!P&8q5`g(FBS_RCP^NnD^H$Hv*T8fC!zcGA1^fXa639Qbwy}8qO$kE*GrALa8zGsy;$4!#S5rB=mh-zbdA$ zisTy@*Un*B%V+TM#L}%wa?WuHtYpV1hEU3joID%nR zZRKitOdmg!;?p=)vKB~CUjX2FB1%AKPX}6rapt=TWc+jxv@Q;Dsu}A_r$gO@Q6@wn z%An;*>J28XvZa%jcu|Kjk9L?R%M;cJMtw0AJf>}iQLjAJn5G|zeXR5LTl*H}$IGAEMN zpUtm>suwt#mGN2n^T2F6Sf}{Z$+n(@+26+Ce5OtnKiP(lLnb7b5%Z(0+imWaCov19 z#=Ted!oT$j+&S64R)$Zf3wZ+5F9Na0gst`$O?MK*rb;9?t-SDNxP3@-zSJZ|XBSpTE zgpEX+Tm^!Zh&q{T^UxO5?=e|EkFIH!Dv&k!s6!>QgE&Gxw#x-3ED-yK7;@cTbtJBH z5%+aQ$xXPT=mYV17;**gQYW(0EUO%SsB%OaFoD^Vf#?KOxMf8qrN&+DPGmI2txzCyaLK%Psod2knSR4oD=ZkPM*!?478Eie#(G*?a!Xrs z9j={h$Z~*V{AEPyFgb+VBKFJVT~*wNv3}qxO1h|%(w^7HUxTYBAHS{uv%ieMznfRdEe&fWD5I?j z=hE3M)wojwa$>1HpQpzxf4Zl}FdVPyqhtoo3l`#~h1yADC>k3{a*bK^yVCBfhLPAY zs&8{A;zn1lE8zrwA4)i=_YybNJbep#1%(sa;7mm2-s}rxsl!1eA47@vRpgM`hbuvm zOu<>~*FN=KWMOPUat_W=(UV9M>aQw{Fn?ein9Yk&(^rfB?C%AbJ`!}*^Xw&aVr*mk zSTk@lNmHw5kG4g{qNu`bl8;pxdrT9Urix-_tO{^u?5K|RX^j1~2ylq&Zo^r%fFSRf znz)=gob4d#22XClr^sS@|4@4qmZqU=^Hf_oP9DR!jMRO+x376~a;ci?JZ``bjlm@$ zfh7g;2~1%@XmY^|rQpbzsw@)Dn61NjDo)C9aclcoeY?5(z5U(BR;#(Z_IRzia^V9U zx24Sud!@Nv-&na&z}SsH-F$8@Z*Fa0C^r5oXyVQ>t}&U-y_UK|w+cUemH3eEi8yI{ z!Qn3kIDqk^!H_k=&cnlh{9c?{)gKBf%leK`Uu&6f4V9h6Khu|O^BJK%eBH(m3I7y7 zO~AF9M%QY?_qE#2VrNVz?Th*B8gnPPogcc)t9_N@1$XYq*9LWuPp;bsZ~*WhId-Xp literal 0 HcmV?d00001 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 new file mode 100644 index 000000000000..996823b38cf5 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/DataItem.php @@ -0,0 +1,42 @@ +internalAddGeneratedFile( + ' +¶ +*google/cloud/aiplatform/v1/data_item.protogoogle.cloud.aiplatform.v1google/api/resource.protogoogle/protobuf/struct.protogoogle/protobuf/timestamp.proto"» +DataItem +name ( BàA4 + create_time ( 2.google.protobuf.TimestampBàA4 + update_time ( 2.google.protobuf.TimestampBàAE +labels ( 20.google.cloud.aiplatform.v1.DataItem.LabelsEntryBàA, +payload ( 2.google.protobuf.ValueBàA +etag ( BàA- + LabelsEntry +key (  +value ( :8:yêAv +"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;aiplatformpbªGoogle.Cloud.AIPlatform.V1ÊGoogle\\Cloud\\AIPlatform\\V1êGoogle::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 new file mode 100644 index 0000000000000000000000000000000000000000..38ffb0873f72fb62ead8b8b3f795ea5c89e71c35 GIT binary patch literal 3329 zcmbVP>vGdZ6vj4AVNGr-7h#}?kSPfinWUYCqWytbFhl4i9^ z>(abXpPC)DB)Ywc5^J^APGH!5w+vF+j(ajDm}-}o(E(j(;IJ_!Tt5N)?!eL*-Dn%1slvbF`2WoAs) z(Z&`+j*G)k+X21(gz#Ixh2A0!K0(xSsiTD)bNE`Np-nx?DR${k;MrrXgWZq-$A`L| z$a6ULJxu^!dJb7z*J4hgyBhcqiN{)MSzQDN0%PrYoG=f&)(#0BMg#7%I;a{(m+&m4 z;?3H6a;%`E9c?YP(J($R^0CHQL`F~7G)8#Dye(a`DN?(LN7Oebn4lPd16=fNn6*EfBX}PuY z)xtZopj<^4+BAgmHn62ApNjIz7CI*eSV(xN7PJB&*58@=zs=j|)<{re!yula4pX%v zjs%2aS!fx1o)5M{*Tmy8R4)KcY17nW(6kKc6E^E+Mj|I z&w|}W;Zk0?juxpGhgTdOF{&1aUVVm^sTV{%v_q#y`dG^6hVpx8E|#mGz{}F+<BN89=2o+_L)pMY`u(_J*PANS-?fW?HU`BR@0CN|LF;wS)MLJPXbTscoj1iBE ziu2m)g0x0SPZ0UmWvj(}U!ju22-KS`N=H2}wack?W_vaWGE@{mk`oj<9qMybB#ik? zy*zFc6sI1KjF^2F%}F0awIuWYFg0gdcqa2cnr#&=iMA70U&w87eTC|hs7PfSEl%{N zdQlp6ch*_s<6Nnu%NXv;9?ar0C2~IjZcAMGA-XiZZcC`} zJsHFesLZ3{v8W|gHl2}wlq=syrBTQKMcw%My*WVZv%699flp9>%03jr8{+V=@-}%o zskpu)dlcTKk0)}+83BR}s$_iYIa&EDhb~TYU%7!k?c*P9389?ylO7dgr||rYvVzoc zaX?__@;L6sp(ujRQ#2pKedUrg6$P1!wOOfXNI;wdQ5l?JSQUoZ6f>f zS-4w#o`c$4OqgJzL8EpDa+ob_&TOVp)AaZU><$vXQbh~nZ=z?=AqfF z?Y_2O9W?5-?Y(DvwVkCi$|5SgI@qoqHqE_*=If;xw9&F>G?3P0H_Z<2RZkQPbP`x-YMCxL*t>?ab5)Yj8 z)`4rP>yIw=aC^aCKWw9*wKe+Vmwb6wF7f)dSmJeaub%uJ(2q8LONCal;#)(p1xx<> y{EZlF7!qw5L%CrbZM5d(aQ^a6w)}h%@601Bwzy*`teqdM*HSZHf=|#1LjM4ph)DbZ literal 0 HcmV?d00001 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 new file mode 100644 index 0000000000000000000000000000000000000000..2c00a2d8bbfcd8246f4bf470ee5e63bee7b2e768 GIT binary patch literal 3342 zcmbtXTXWM!6vlS0#|b0~WP}S;1X@Ce$PK-YXrOlD1b0f};v~~y+|kJL+SwvYs@F;{^#t!jG`kt`Reb;lJB7wy94Ubv*hTzGK7aI$lf=`}W@Mz;_u9e1ik_e3z`= zH6$nBdpiv9-5W-7qXu^cx}jC~8Hs$yYi*I(jcCY%sDWE8t4CPsK)$kiR~^ggXxCVk zceJdxF1cZ_Xh23!H;jm|LF7LW_vQpA>8I8i{;GtuwM~iFsgfh-mIL-h9$Za;GUW&&)E(CgB(a;vwys)AvuPs5bqY@bdS6|>3 z&48u8sz`S19+AFd4UHsw9#rSKKzq2momRh)7SF7fhaQ%3r> z8w`A=1ELDtTF^d+q8kw`yf%NDJ|Xx@Z}Fwkm7)eAvMSW%`A~B(fiLUnQ@DLrdjwOS z(%oT7A|NyT;4or?(aRZH}|$` z_WsjKeYd{5voKYi7p))>p*jtd!t*N~SW*rd^(;1(MHV?YX8Aok(Mo8Y(>{PDtQ!m(&mPK_pqd;nb-iG8!p91TLw;5m!}f#GFMs4qJ7Tss z#kgly>J9bVz&u=knHXDY@^5A47S8^!^VcQVvIN?)GP`9RuD7Se=3x>IK;O?vZ5_-YT-K3Jl_r7y4%o}TdS+Y*XnN5vm3-O zYuenR_F(Z{?e^TlyQhIQa9e(z7}}cat~E%d-f&wh70dP-R=Dc=&C14PWyK1ufP}Sx z_#1Yel$mgZ9IHtJ&#Dt`erfhT2`x%joo8~Yx2T+|8OfZ8`POb{&l}EIM^Ec3$H$ zDeYO$1vkuSQn4lK8SqMV!3l})SdHo&3F^M>g|5E@q=vCZ!pNWWm$CC=TPn_8)yBAv zhS8?vj28MWlH6U>d=j>NXPW6v1w4=bRqfz5)3d9lf4h=19TxI&FxEpwAm3MkBA>Y zKx|LeeRqXGeCG|RPF`O0D9&tKlZVy@S$Vrf{LTF8+;g2ZzvVc#vsR7N=p#d-#D}!I z-SomfwvJd?w%oUZ_dBc2u;$`*TOfQ-b51LUxlTP7ZxtnH_?5LLoDt zDNy?k%>hAuMo>56K(9m+13@$@h*%AVGFBlpl*OVf;?W{M>m~#&r_g^|Kts2D0s2NG*T{v$PAmz6WE3*iWJRK5=q#S!DfXus>P5Wlv(S=vhl=&NWbZAsukXGidt(SG6L0DQYE=b__abjTr3!&*X7 znsr5e5e?0e25F0}mknL ze~U5k=p8~hUVt`~IaF_=(fHT4%-?Y&`8l}f_R}46&s}tYFloX)0#20PiMLOBr-^X9 zAiaZ+qk~*NR2|3z!h^1eZy-d&utqO6^hhZBTu>be>mpgIKcp=BPXJ2d{a(4>@kuna zRu5`!EA(1nZN>IU9jk^#1^0MZ-mJ76MrSHGC3KS5vWq~k01o&GH} zn!<>TbFQcA;3d`qjH9uht`TDN9~V$5uC6;PJPpL$@d_Z;|5HFC3EUOR^e!Yljm1aP zg@i&<0n#g5P5AG_?IndTOeI@~o^^%u9Lp9L_Ot$7G}_TpQE2AS;Y=-;1*ea|?Ou1j zjZOl{KnlvHW@pb`e~Qj^l>h3p<*_)tqhlFUM08ve_)o7{GA_=l z@P7`f1@%Vvi1>6jI{uJYetliiMxHx~uxyWNtnAQjOK;Ey=I$489UYBUhw>G5htu7SJ$F_9*OZ z5+&d^`k&VYT|O$cTO$s91|5hK63i4gDWx+bw`_Jl?Dxyv~P0|Ewl5%Fh zY>?vPq_b)%xbN;OEvDZF38LgU^=m983KAnT3>s%fo<(|hh?ALtUssg4Jmyo@h#<-2 z8^3HTLnM~cHAJR9I*kret6`KVzGUG~3+Oj#SUJ)#T zAxBdfhDIoE@9{;cX{S+8OeYP?GZoaQw@fyQV~UnBSCr1?x~Lgx2^!-+fcsNJEw%eo zqw1D^z^>_+S1%B- zocU_jw>}SU?{hQN^LhJIvubvS(9mO_o|((<7svZxiQd#<`t2 zaXx7zy%!0Pk1w@!>VTCe05u^^E-h7pe40hy4#->4%Oa{Qg+}}dq!5jac$Yw(LK$Ld zLeF?jYyddQKQ4bg9eEPk@&Y>pH--chinternalAddGeneratedFile( + ' +Á +0google/cloud/aiplatform/v1/dataset_version.protogoogle.cloud.aiplatform.v1google/api/resource.protogoogle/protobuf/struct.protogoogle/protobuf/timestamp.proto"º +DatasetVersion +name ( BàAàA4 + create_time ( 2.google.protobuf.TimestampBàA4 + update_time ( 2.google.protobuf.TimestampBàA +etag ( # +big_query_dataset_name ( BàA + display_name ( 0 +metadata ( 2.google.protobuf.ValueBàAàA +model_reference ( BàA:Œê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;aiplatformpbªGoogle.Cloud.AIPlatform.V1ÊGoogle\\Cloud\\AIPlatform\\V1êGoogle::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 new file mode 100644 index 000000000000..23b3d36303cd --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/DeployedIndexRef.php @@ -0,0 +1,34 @@ +internalAddGeneratedFile( + ' +ã +3google/cloud/aiplatform/v1/deployed_index_ref.protogoogle.cloud.aiplatform.v1google/api/resource.proto"– +DeployedIndexRefG +index_endpoint ( B/àAúA) +\'aiplatform.googleapis.com/IndexEndpoint +deployed_index_id ( BàA + display_name ( BàABÓ +com.google.cloud.aiplatform.v1BDeployedIndexRefProtoPZ>cloud.google.com/go/aiplatform/apiv1/aiplatformpb;aiplatformpbªGoogle.Cloud.AIPlatform.V1ÊGoogle\\Cloud\\AIPlatform\\V1êGoogle::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 new file mode 100644 index 000000000000..4a189406ca9b --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/DeployedModelRef.php @@ -0,0 +1,33 @@ +internalAddGeneratedFile( + ' +½ +3google/cloud/aiplatform/v1/deployed_model_ref.protogoogle.cloud.aiplatform.v1google/api/resource.proto"p +DeployedModelRef< +endpoint ( B*àAúA$ +"aiplatform.googleapis.com/Endpoint +deployed_model_id ( BàABÔ +com.google.cloud.aiplatform.v1BDeployedModelNameProtoPZ>cloud.google.com/go/aiplatform/apiv1/aiplatformpb;aiplatformpbªGoogle.Cloud.AIPlatform.V1ÊGoogle\\Cloud\\AIPlatform\\V1êGoogle::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 new file mode 100644 index 000000000000..8fb9b23359c4 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/DeploymentResourcePool.php @@ -0,0 +1,40 @@ +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 ( BàAP +dedicated_resources ( 2..google.cloud.aiplatform.v1.DedicatedResourcesBàAC +encryption_spec ( 2*.google.cloud.aiplatform.v1.EncryptionSpec +service_account ( ! +disable_container_logging (4 + create_time ( 2.google.protobuf.TimestampBàA:’ê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;aiplatformpbªGoogle.Cloud.AIPlatform.V1ÊGoogle\\Cloud\\AIPlatform\\V1êGoogle::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 new file mode 100644 index 000000000000..58f53c7bc209 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/DeploymentResourcePoolService.php @@ -0,0 +1,85 @@ +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)àAúA# +!locations.googleapis.com/LocationY +deployment_resource_pool ( 22.google.cloud.aiplatform.v1.DeploymentResourcePoolBàA( +deployment_resource_pool_id ( BàA" +-CreateDeploymentResourcePoolOperationMetadataN +generic_metadata ( 24.google.cloud.aiplatform.v1.GenericOperationMetadata"j + GetDeploymentResourcePoolRequestF +name ( B8àAúA2 +0aiplatform.googleapis.com/DeploymentResourcePool"† +"ListDeploymentResourcePoolsRequest9 +parent ( B)àAúA#!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.DeploymentResourcePoolBàA4 + update_mask ( 2.google.protobuf.FieldMaskBàA" +-UpdateDeploymentResourcePoolOperationMetadataN +generic_metadata ( 24.google.cloud.aiplatform.v1.GenericOperationMetadata"m +#DeleteDeploymentResourcePoolRequestF +name ( B8àAúA2 +0aiplatform.googleapis.com/DeploymentResourcePool"j +QueryDeployedModelsRequest% +deployment_resource_pool ( BàA + 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-CreateDeploymentResourcePoolOperationMetadataÚA;parent,deployment_resource_pool,deployment_resource_pool_id‚Óä“@";/v1/{parent=projects/*/locations/*}/deploymentResourcePools:*Ù +GetDeploymentResourcePool<.google.cloud.aiplatform.v1.GetDeploymentResourcePoolRequest2.google.cloud.aiplatform.v1.DeploymentResourcePool"JÚAname‚Óä“=;/v1/{name=projects/*/locations/*/deploymentResourcePools/*}ì +ListDeploymentResourcePools>.google.cloud.aiplatform.v1.ListDeploymentResourcePoolsRequest?.google.cloud.aiplatform.v1.ListDeploymentResourcePoolsResponse"LÚAparent‚Óä“=;/v1/{parent=projects/*/locations/*}/deploymentResourcePoolsè +UpdateDeploymentResourcePool?.google.cloud.aiplatform.v1.UpdateDeploymentResourcePoolRequest.google.longrunning.Operation"çÊAG +DeploymentResourcePool-UpdateDeploymentResourcePoolOperationMetadataÚA$deployment_resource_pool,update_mask‚Óä“p2T/v1/{deployment_resource_pool.name=projects/*/locations/*/deploymentResourcePools/*}:deployment_resource_poolý +DeleteDeploymentResourcePool?.google.cloud.aiplatform.v1.DeleteDeploymentResourcePoolRequest.google.longrunning.Operation"}ÊA0 +google.protobuf.EmptyDeleteOperationMetadataÚAname‚Óä“=*;/v1/{name=projects/*/locations/*/deploymentResourcePools/*} +QueryDeployedModels6.google.cloud.aiplatform.v1.QueryDeployedModelsRequest7.google.cloud.aiplatform.v1.QueryDeployedModelsResponse"†ÚAdeployment_resource_pool‚Óä“ec/v1/{deployment_resource_pool=projects/*/locations/*/deploymentResourcePools/*}:queryDeployedModelsMÊAaiplatform.googleapis.comÒA.https://www.googleapis.com/auth/cloud-platformBà +com.google.cloud.aiplatform.v1B"DeploymentResourcePoolServiceProtoPZ>cloud.google.com/go/aiplatform/apiv1/aiplatformpb;aiplatformpbªGoogle.Cloud.AIPlatform.V1ÊGoogle\\Cloud\\AIPlatform\\V1êGoogle::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 new file mode 100644 index 000000000000..931d9dc28f06 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/EncryptionSpec.php @@ -0,0 +1,30 @@ +internalAddGeneratedFile( + ' +× +0google/cloud/aiplatform/v1/encryption_spec.protogoogle.cloud.aiplatform.v1"+ +EncryptionSpec + kms_key_name ( BàABÑ +com.google.cloud.aiplatform.v1BEncryptionSpecProtoPZ>cloud.google.com/go/aiplatform/apiv1/aiplatformpb;aiplatformpbªGoogle.Cloud.AIPlatform.V1ÊGoogle\\Cloud\\AIPlatform\\V1êGoogle::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 new file mode 100644 index 0000000000000000000000000000000000000000..be17963e74f728165d187fd6dd8d3c259e040d05 GIT binary patch literal 4043 zcmbtX-Ez}L6s{ct$(l5Y2%xw?M8Y%)1(}2v81q+~gftxj1~Oc9Jfo4NwY?x~RqZ-$ zV0_Uh=nM1(+Phx#CE7RW71w=)T=nd(Rx%;cc!u0q(Vp+q?)mx7*?SM8ZiJSsEga(5 z<=D4c`xftFD~c(n9u2Hkzum^M<20jfOr<;E{C5hggGQ6oVWpb3n#g6wcUVW0Do-T?uQ;H zG_(ZZS?J-FRZDRS+ba=;li#=WmKwqt;E3jS$Z;IHL30B$FD4PEaRW@N)eh#V3&oq2 z)#S5+jC+gu`kPX+9=6@awqi?hzVS ztJ$eClH;H+a1z0hQAb3mxfy!#ek5G_GQ!^IJ2;Z-XGoq9VoJkLBig2)hTn0$E(x*r z5c@Q?mpI-d9)61XPc(i*!p`V)X#(yNs2uM0qNA}gaj!psQj=*~^Zhg{A4B!7qua|lbLBEiM*=6cSH@?A4;Hc8=XqB!<-U6sDJssRye3x=#uEAeU1|@ zC>dtMt4bma##M9)hi)stP85?pv3H$q9t}h6adQ^r^S zZ{rR1nM9u+sgJ-9z=anJMh7j()N)j&^>D}`*PwIK7-Y;$ya5uZyAX2^p*%s-f< zdZCy=#wF1c#iI^rETXb6ti&0&th$Y znG?Nb<`)91((uq4F)yTR<(p{s4GtZ#`oNyk4>Qk4Hw7p z=99v_`d8t<+MflqczjrNB^&pklwL!UvC6yTX;29$xCbN$-s#6dI@G~S?Y4ojGb&n+ zZmf%A@f|V7iRVE@DOly5{2eU*JC3G4kSb#boykIxDmJK!kOMm}88&p3ArIup%D($d z(7An1dt!jh8bG2hxpXxR8>V}XW?0vS1RmlN#X4F4=AgEYZXECbtRgg@7$aea)2K-N ztU-($x6rusj?9M1dUN@Gt$0woj24b3mo;ZxL^BfT?19%Inhx-aB1#(1+@Z#!+RGu? z6>2_$>~5kNoHc5tph|nc$_vqEh7nVwaRJRiFO*U^M90iCu!{-fJetRN?d9ETHXN?CDp~m zWcAn2p}9oVgxAxgUHr9xW)34nl(YhNIggxvOtR>YiDl^u5<2N}IwFjL$ELg34R|+O zm2p%uw1AA%W1Pd-BNQ0M1)T$nzZK9@L+Nj>XilS3S|P>gGGUw*;@5-j5Be$6g$zrMlh?&;X(T0fMtZ4FCWD literal 0 HcmV?d00001 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 new file mode 100644 index 000000000000..c257d9cd6243 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/EndpointService.php @@ -0,0 +1,110 @@ +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)àAúA# +!locations.googleapis.com/Location; +endpoint ( 2$.google.cloud.aiplatform.v1.EndpointBàA + endpoint_id ( BàA"q +CreateEndpointOperationMetadataN +generic_metadata ( 24.google.cloud.aiplatform.v1.GenericOperationMetadata"N +GetEndpointRequest8 +name ( B*àAúA$ +"aiplatform.googleapis.com/Endpoint"Ý +ListEndpointsRequest9 +parent ( B)àAúA# +!locations.googleapis.com/Location +filter ( BàA + page_size (BàA + +page_token ( BàA2 + read_mask ( 2.google.protobuf.FieldMaskBàA +order_by ( "i +ListEndpointsResponse7 + endpoints ( 2$.google.cloud.aiplatform.v1.Endpoint +next_page_token ( "Š +UpdateEndpointRequest; +endpoint ( 2$.google.cloud.aiplatform.v1.EndpointBàA4 + update_mask ( 2.google.protobuf.FieldMaskBàA"Q +DeleteEndpointRequest8 +name ( B*àAúA$ +"aiplatform.googleapis.com/Endpoint"¨ +DeployModelRequest< +endpoint ( B*àAúA$ +"aiplatform.googleapis.com/EndpointF +deployed_model ( 2).google.cloud.aiplatform.v1.DeployedModelBàAW + 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*àAúA$ +"aiplatform.googleapis.com/Endpoint +deployed_model_id ( BàAY + 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*àAúA$ +"aiplatform.googleapis.com/EndpointF +deployed_model ( 2).google.cloud.aiplatform.v1.DeployedModelBàA4 + update_mask ( 2.google.protobuf.FieldMaskBàA"` +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+ +EndpointCreateEndpointOperationMetadataÚAparent,endpointÚAparent,endpoint,endpoint_id‚Óä“9"-/v1/{parent=projects/*/locations/*}/endpoints:endpoint¡ + GetEndpoint..google.cloud.aiplatform.v1.GetEndpointRequest$.google.cloud.aiplatform.v1.Endpoint"<ÚAname‚Óä“/-/v1/{name=projects/*/locations/*/endpoints/*}´ + ListEndpoints0.google.cloud.aiplatform.v1.ListEndpointsRequest1.google.cloud.aiplatform.v1.ListEndpointsResponse">ÚAparent‚Óä“/-/v1/{parent=projects/*/locations/*}/endpointsÊ +UpdateEndpoint1.google.cloud.aiplatform.v1.UpdateEndpointRequest$.google.cloud.aiplatform.v1.Endpoint"_ÚAendpoint,update_mask‚Óä“B26/v1/{endpoint.name=projects/*/locations/*/endpoints/*}:endpointÓ +DeleteEndpoint1.google.cloud.aiplatform.v1.DeleteEndpointRequest.google.longrunning.Operation"oÊA0 +google.protobuf.EmptyDeleteOperationMetadataÚAname‚Óä“/*-/v1/{name=projects/*/locations/*/endpoints/*}… + DeployModel..google.cloud.aiplatform.v1.DeployModelRequest.google.longrunning.Operation"¦ÊA3 +DeployModelResponseDeployModelOperationMetadataÚA%endpoint,deployed_model,traffic_split‚Óä“B"=/v1/{endpoint=projects/*/locations/*/endpoints/*}:deployModel:*’ + UndeployModel0.google.cloud.aiplatform.v1.UndeployModelRequest.google.longrunning.Operation"¯ÊA7 +UndeployModelResponseUndeployModelOperationMetadataÚA(endpoint,deployed_model_id,traffic_split‚Óä“D"?/v1/{endpoint=projects/*/locations/*/endpoints/*}:undeployModel:*« +MutateDeployedModel6.google.cloud.aiplatform.v1.MutateDeployedModelRequest.google.longrunning.Operation"¼ÊAC +MutateDeployedModelResponse$MutateDeployedModelOperationMetadataÚA#endpoint,deployed_model,update_mask‚Óä“J"E/v1/{endpoint=projects/*/locations/*/endpoints/*}:mutateDeployedModel:*MÊAaiplatform.googleapis.comÒA.https://www.googleapis.com/auth/cloud-platformBÒ +com.google.cloud.aiplatform.v1BEndpointServiceProtoPZ>cloud.google.com/go/aiplatform/apiv1/aiplatformpb;aiplatformpbªGoogle.Cloud.AIPlatform.V1ÊGoogle\\Cloud\\AIPlatform\\V1êGoogle::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 new file mode 100644 index 000000000000..ab198c2f8562 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/EntityType.php @@ -0,0 +1,46 @@ +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 ( BàA + description ( BàA4 + create_time ( 2.google.protobuf.TimestampBàA4 + update_time ( 2.google.protobuf.TimestampBàAG +labels ( 22.google.cloud.aiplatform.v1.EntityType.LabelsEntryBàA +etag ( BàAX +monitoring_config ( 28.google.cloud.aiplatform.v1.FeaturestoreMonitoringConfigBàA% +offline_storage_ttl_days + (BàA- + 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;aiplatformpbªGoogle.Cloud.AIPlatform.V1ÊGoogle\\Cloud\\AIPlatform\\V1êGoogle::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 new file mode 100644 index 000000000000..11d566cf6cbc --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/EnvVar.php @@ -0,0 +1,31 @@ +internalAddGeneratedFile( + ' +Ë +(google/cloud/aiplatform/v1/env_var.protogoogle.cloud.aiplatform.v1"/ +EnvVar +name ( BàA +value ( BàABÉ +com.google.cloud.aiplatform.v1B EnvVarProtoPZ>cloud.google.com/go/aiplatform/apiv1/aiplatformpb;aiplatformpbªGoogle.Cloud.AIPlatform.V1ÊGoogle\\Cloud\\AIPlatform\\V1êGoogle::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 new file mode 100644 index 0000000000000000000000000000000000000000..305bf31cba7730332733acb7d5540af193147942 GIT binary patch literal 2323 zcmbVO(Qex|6rJO&XqYBTG&Iw^t>Cf_ae!8CQfv=O(?O0ELx7VwvE!kI0D+e1n3ybT z6y-G=g8jt4VlVrTeZZdgvX_0uNXnLsRZWZf$tHOZ?>+bM9zXjo9>?G-*v1iNh~oeb zuOS~}7&FSLPeV9NM}GMLw?Y!VFWMeHc?g$RV6(*OeRzeq1Nwm_;abTR8C>9`h~Ol+V*698bI$U569}`iG*Nx7<|+pA|EpK$sHzlScymjzCz+>ga-dxS%`H z@2aHCc_AgOE8}HBtlIaWh8d$w%pMe8Ct?~DLnzT#6#mm&@ny6%3oeGu_OIZRk~Ybf zXuIHRdth}gt-jsztWz;At-f=1>h)iAZSV55*R_wFW5;f7e4uTDwf@DW?RC$3PTv{W z8x>6h>&I57x3IQUtex6zfhEpWw_kw=B?&Cnu7iyQHoaVZE7~)#y09bkB75lW+{#1I zm+e2QqWE%NG}i?ih;v4UsT}!ID~Zs&6lC*O{Bk_Q%CQ^)rJV!tV~W{zR*g)2egE)% zaL*-*YS(?RMpGUV%)G>>42!2wsaLd5!RCCKj~PzJGz|1*xm9a{_5Y;>fnMm!6Q`9e zdeYw1gJ01$z}CHo`&A%$(fpGC#m}=@Ja#AC_TY33BdwTPkMJJ6bx@hw# zCc^29p&Abl7JvM{RBJ0wHSX4JH{b?<{{S$D{$>CG literal 0 HcmV?d00001 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 new file mode 100644 index 0000000000000000000000000000000000000000..c0c82fb352371e214c39820f804d8441d71b4590 GIT binary patch literal 1470 zcma)6!EVz)5G6@d(WyX{#UVrjmbSDhP)BJm;5J20lSYxCu^_1gvQ%xHO}fIdt@S!0 zp#BHnz?UGtqGt|#Ku_$h9Vb#-XfCn6^WMyRGduflg0leDP?LCsVNUv}H$nW2pn&<@ zcYGK1qQQVLrVIFqvItd*{1MV|Rgc`<>@YFo{rL>i#m2`A~N^y;baiz#A;w&Qb*%4xd zN6gz(bxVTt^vS-)Ei<6@5hZTFM$Yh<`pht9s%9iNLEn?4ceh5Rc66v{BFCfP`i#oP z?E{*aX7>B3M@M3cN~tQTaTEUJVdHk=qZQ*gU5%MO8#8@eDLza%a6ro}(H2i#@kw%| zW>ECA%%=k4fYt9g$g2U<_TesOoDQ(V3mKFtE!Cc1nAuBn9aiVk#e5=DsEeynHWP$) z088WxaUwZlg{*?VxG-~<<}+Bk8Qz#ev|RvoTTW$xg`6N*-YM#d=xOzOYJV*!$hFt7 zz$XDIEQs*?I~&vRYdq4GM!h4VB{Zv5VbR4s;)aDh%86Xt{|CQS@ePl&NpTyN=U%mC z$bBZ0*f#ARfdjKn)k5=Qfd;Gy_9JY>Hjrz(RZ3*(NW2@U) z$!GwJ?QTatXKOz*@K|{KkHTu8WU1-2GM^4&;fZOoJwtzfBZ;nwr8MhC(A%4T`H?L) z)i%=AHqy56u7%DQp*XM8!@E4>t+CTsR literal 0 HcmV?d00001 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 new file mode 100644 index 0000000000000000000000000000000000000000..07643c5d8a365061cfd5892eca01fa0eedea6f46 GIT binary patch literal 1870 zcma)7&2HO95UwOku~&|(FloyQ{n;h~BIk#MoE!?ePC?1EBEXS_NO6FGh_Iqo^0pL7 zkV~O%pkohxmA*p{y%v3lp7Ru)UH(X@9YDHhxijClGqc~!{_taP5ukgxLp>T2PA7PL ziTMS^LFjYe@m)NQr&AhY$DaqxrJ;uL@fq%&4Y76H9exMU$d5yZ8hGaWGneX)>&FwF zu)rmJ>W6cE(bVZL)QLIsJx$Ug9<}|P9}sCyCWIwwqUT$oWVYC9wOwp zB#N+=F`@Se!!L-(E^~0i35UP?EE+M7aYkJBE97#7r^JmYps)H)W6u#GVF5Vv9NO5& z38(PAANY{_5zb=ji*i6I?5@XY=n>aGrjZk}fcs$|Tn%GJd0s@Z)7Vds6?ANh8%d0Y zaV5wj%)^+jpN?@zc^rC&GHyYz%vbg`6*B{7pD^l9TJ(Y}m>(L(DytRA$DprhdWRdM z@^TCybcb(#Tn-#EPyi?M;CigA|C8q|t+qLt$#2R~hZ(`c-bBEzt#P z0T&uOtGjHw%`2$vewgXU&brxIg%JiJt%p{f&7pdN|r)GF{+59%3DRv0b6-6SzU#R0T< zirU=_1?7mG3pyuo7I&$7Qzr2_+DmsAG>o8u)jhetkGALOAW=V+2YhiQtVFHKZB(74 z-7D}lfv-P7)%8THsPr?vOm0WHiOLJ&##EIzVidnG+-0bol=w4rYcMp2*64L_(6`#% zldg4K`$V~cN72lE5dzjx6fYoPpzRygTbul*RH&SEBJ{zJksB%tEKMx4opYi zgS~9I)U#R*V1QAuWZ$DmY%EtJ8*DTiy35u-1@sM^m{s=)iXPuw!y zLclYB{e^%$;E`CR7mN?rKmI7zJMv}F|4B37>e literal 0 HcmV?d00001 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 new file mode 100644 index 0000000000000000000000000000000000000000..9f18e7359e21f92cdc83928cb2c1a6624f895115 GIT binary patch literal 4981 zcmdT|&2!tv6*oxJmL462M&wwg8xI0IV|nU8Bj%$q9lIe#ieg5hSd(_0gfkcrSW-Iy z0R#XQsjctrseeNcIV3ar6Ec~}A%`3?lWR|%9DDAmr@q|)}8kh+e>fdL$2LITe)iPGxU z_ef}1MraIL9AmJ>Fb1^*WAJG6E`VtpL7+5eSny|1@W-1DZE7k(hzd;Q1`TxT(2yE7 z{S*3gPZ=3@Ku~`E>}cwk%qWEk>^mk|zoiIFcJ_wnqW|}l*s3n01nC&GosjsBVGkN4 zFn#KUuHVI@)#{jp36bo{`mIPUgQFv5UD#Ny&KY@63H>QaYgZJXgj3(S%k5?WPm;d| z3plHJbg)f{ZPm$vaY$XiTAg_{16d@xfbKzx<~Taf2iSI>T|QyDhpd?4VnH6B*YDFP z7&XgExZlQ1T~F9z+}(t)6uA9!QdBOB(;81`ZI;m5;b!@*XG78_QDTd%FJI3Pqi%HQ zH_;(pD41>=0VhGcRsSwQF%=uR4i}6t^yzTQ5;<6tl>B$rw{7a*a!^beEUR#7XavNj z4$<9d=uJcY(6FZjJ(t!c;SZjn4%Ql0^vN^1*_k`AIwA&E7&&QV9*-0&FURi3QP3VS zB?A5mT!=JN$0A2-XOXdjc%{Hg(JPAv*z}Hd*67v>2)dk{Fg!#(q7&W_b>jQ3zjkhB z*%}lh3@&>99_uDMo$0&0W=p9%hN8F)cjipPml3BjZ=q$SW0u(~m(?7-> zmevb$1y*L6O-&N;%q>>Ru{}vS>|$bxl30Rs814htQs0Ctr_w54W*HV9=%zb$LLMPr zGCB1J39e;R#bkq!cyqGy4#>g8brF_D3Ew*-I*yX=c5L&a^zCse7MCq9Bk#iM(4P8w z(pw@d5f3d3tB!K@s3i$B^&2d)r^58>bK-LeN^?A2!nWhmfan1oPYfQ%9Olt3ycBoS z^lMQiuV=BhEt+tLf%X_CqLo2rD95@e@+j^s6ovXK$Z89 zvv5a}--h!Z%9AkQ{i9g9p2clf97Q?wIngNk0gr9@pO|q^8!A79BKtPb*~f$-I>$=o zy(~qiI;}Mj2*Zdt@*RK_l_F7J%R)`4!#)QopsR4XQR~@a6Y0%z6XU*ro=zyHMLT?m1RpLqy2#i?40?l zB+2)2>be$w^n}N}0j^Xs8(@rpn;Vx=uR(#M$wf5j0eaADqWw#7cDvT=mn0RZdVCgl zkJY{XMs2s<|6tzV_Fk>kEJ;kX-+bIJ6#}nzANdMG}i}qb1SY)ZNI;H8CABiH?&o22#Jy!PP89kKr73 zaIKAZ`K|xcVy(?lnoj5+^Tn*Z1DE)-Io~$mMXoZLezERTO27OUD5lUc!1<4fNZe(% zoE5}IE{baJx$J-1)@tq@N&PmL^obzmbwN{MUAVxWo4)(0MV)apNSIv(c^@vY-se+( z1rT5?*>t#*ZLL_c9;D7IBU_hs*Wvaihcgq6{YM*yfWfp)R{u=}I5o7mHf_;p$E{#%}r|$?z!N zCCxs>z2V*TKVRg^Eq;BZZL#Ykt=8^FS5Vrc&F|uugXnT;Fnc|~>!p9^UJ=68DwnQS mXYZ@kN1MZQeDi(dW^$`=Tin>BE_hD8+~Ft170eTO0`Nb_a#X7T literal 0 HcmV?d00001 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 new file mode 100644 index 0000000000000000000000000000000000000000..72647ae21e5c1e301a5da84ab50297fcd1fbca13 GIT binary patch literal 3417 zcmb_fOK;mo5RT-RG_oCKV>^nPG^`sS3ed{1iWY?&r=TQSVJ(YZP}wd+x93?o!mlkqe}bPu6nhn{U3InVo&|jeF+8r$Qau*wX`S z3jGTqIKzVLIe}w1me3Ce1MCTgGjfTAy`mu06rrhf1gR!>KB1<*6M6!0|?V=lgs375!!F0dZ_?gah5w1HH&S0NDBn`>t+ap{`a=#vgli4%VwO zu%0*p>vi`J01Qj_eL4eIg~vjK$@V^U9V*D75VKR6MpU1kYzNr0b*opyzTpu!a6FZ6EtiKl zm?+Cu3XjKb85|i1g@|Lh{0_-OA@D*x>s=5$9E6^IzEMHf-Ewf1lFb`j9{@LSL5@iWE{I_nv+nEXr>e<-5aArU!vX`XS3rU-OMKJkqt$ zBe^9ZQAneY;5Mx`YzG>zBrPh*+zR`c|6>C-IN!KR&>r06;cI=}#}=`1tiw)BI+nB8 z)vXYtyKpNqpgw%Z(^$>slHB!6NMYM>Okxi?na$Es46@+7t`;*USCqzRC=02PW747x zE^^D1Gr;SHL&KN z=`Nnzu*Nsshiz(&UuiMtk?y)orW8#Oer8-aY|h!Hx$QpOia$=z2zX*$bw+*II46F{ znjCMmxeP_hl#Z{bN_Q3#A%LOhgl?1o>x^pt2S5v?y9MbHu{C~7w8#>LBw|bYtML*` zo+R3a4aXxxLR%-j7j&CvP!ipNo0DZfFim{U6Cjy?y9yigjJ}8E;KIe+#pZQWU=F(2 zp}1%ODc7-dk0l}FyjkjeKtYS@7#j^CO)pzoS~N+#q`pq z4I^~ve|;yk%}C>SHdxM2@dnmUl4u0$&N=oh{X*l?vvSxhz4(x_C=ot8f!(iQnV-ZK zWILy-q&;u8RjDc;$xOq>dI~(GBbLh zdyrGQQmY}JY76wBoSRB>9E;MD>vB_UQ18@Jy(ONut71c<94ONhv3;yn8e;W0yS)2L z0#cL4OVyH^Ri!33>z4wgYRNUJ*`Yep@NUD+idff_Bkf2MJI`B8c9e&mON&}t6T4dHDD!biL94oN{81fnsV~%MBaw=*~wwv-O0SWr|;`-UT@~F@-_h< z)3?BXAXRb;CMG^ns)_HOMnge7ZaJg9p)>nf&|N~`3)30T?H|nk_&u4g^Or%9zYL0^ ztd5@<#qR!}@yFiy-O!tU?$MXSKgs)%aku1prJ~Ojl PIj{4b(Nz5g-T?dyv+6m> literal 0 HcmV?d00001 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 new file mode 100644 index 0000000000000000000000000000000000000000..652dc61067938838a564660c4144be11e77a28f6 GIT binary patch literal 2506 zcmbVOTaVgC6fUqghTSc3v?-x#GucK8sk%nHjjGn$O=Xr#sCEH?7j+{`mN5hC#CTkL zj6@@z`p}pDi9S{8Q-4Q(MW6F4dd4@*;Mg3t} zHyul7BkE4d)8q1p=*)MC7$`-^)+fYsbc5hVr*cV{KGd16HUhkQ&he_8;MM-|DME&& zdmgTbdeCcx;pg}R%QUdZbOwKqOiwdylbO0@{si|p!z11D2w>kmJMwLVnbgJ{(6$Xy zdV)ip{Olu#!oAOM>`{kP0W_#hn-SO6EwxHK!!;d7-3}a;q%mO$f&5G9No1C*Ge@`- z`Y1{7IC+Md>yu^c7`p_>vQGoQxq^AJQdjULJEmGUi8ZW{8+~e0SCSUDS}1uRv`eD+ zt&Lg{AT$j(y26zAsc4;=oA&~`+va0hMhx+$b^s+6r{{*pI^yC^q|G7*xwkmeGhj?h%Me4??LLkb!A zwtsRYzW;7wWI*h5lmeho`BRiLT&Oot1YQ+3KvC|b7%Pfh7L$N+R7L=l??5?6sLl0I zRkUU417dlFEt~-}<=D)MSS0>l1c;i=+!?o>5_ZuB^pbI5JK*5~5{9Oy4=l1oe_rBy(``C|{z1G#E^tIz$B|oEF9$jTpEAP7=oOgC8J6_*r$PosOQ)e5SLvUKp0Km(hG*|2|7{r_%??O0bBz#cjngo77kyaY+^>Zj}F?E?`!8uvtQG$TD?x~yjgG7s`(Fqt&f_Qopx8z z>NQ!p>ee*5C0|_kn!S8VI6!xLExFTs-c}Z$)5Rl{Tgn6>hcd6oEUXe?4{Zju5SE6N z{yKH|X9{JLOc#piUSGbrs%gq~=e9FDXrt0@Ux4L(g!oF6yIuJ@pB50>se!TZMGWu97l%hNV?0Bm20Ke%kM=8ug;bH zzVu7_t^9KuJzQ!@VL3xL@$Hm8t^_+8@|QMdHf)I(5wjv zqKF6Ed70SEWHa6gKoo9*X0m`Kh`I2?e>B-}sqZXIYGb}%rTO!n*sGK6XjOTWLZ8BY z{~_BeyAc;1{%ChnFP?=hB<_De)|f6&C%_>LC<|(x!Rhkmk94sS%q3#*?1^%-6U{YZ z|M*QTRHLayU5HhfTi&KW3Bi&Spe1P`m!$sjU<=4&^vlP|v-L$d4lGR%{Jk)Z6_Z17 LGJN0XXpYd|?^G`A literal 0 HcmV?d00001 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 new file mode 100644 index 0000000000000000000000000000000000000000..47deaa89e435c5829c95e1420fe327c87c4a7ed2 GIT binary patch literal 1852 zcmb7F(QeZ)6eaCeI(L&;o=PQ#VH0!{OVqIkl(C_fZKcv+1*ScqNR^wqogs~b<4lyP zf4~D0&-?(N!VAB!=Y0i^ouonQrqP!s@jd6>dwhNT{DptwgJsyn9%hK+9_)@FKf%yv zlv9Vgup9RKm_dgQed1zfK)8Dd-y9ynz1`N)0|5Mn~qDvo{5O>BHpKL zXr9*0K1MubxHDih^bJW3fQN=S@R5UIv)y=&IqD&f?51R~Uq&o;J!P?vYg+&~E(!v; zuh^Oq88`z_{QR)%5(fqxaq+i8f)4QrC&(pVMN8YTkK6zYg3Gb}&~rGU9*h8oo`b8a zP;o}FD?SwxY{R6icBG0>#BO;UGY`4;E)E<r#>1kh2hHvqQ+R(9PSDbw>o_^vRwgTHPo1KEZCUfltsWq0F)-T}?=?g1*D?R^Avj zWtZ$0y?NGD&Lbjbfuo^69V@qCeTT%N*L%HG<9#ud)l`*8qsQQ95g7kBje14J8*+M$ z$@ChhwaVR?3;D!ku|{f$E6dlUAv6xU9|y^~7sF%nq+1p6@W(8e&knV|59YdL(D@u< zHY(qSTD7!Mi#wWDp^*g}4KjEe0bkwH7r{()%F3Fcm}}(E>qUJNlpH1w5bi`(lyj22 zl8`4Q8tH~asC~X?J9n$LvcMOMKAT-P?b+yVmC}rx@OCbLVkCgoS0+>BTZm2Y$vvSWg>$`SQ z|E7UQnR!#QB1SDRgyovqoz?fm_I$(+56rXpX>7XG5uQgq@hy2ACw?m(QY`ed_B&o% zh~L%n#(eg*Q3M60Qsa*XmP85HsMJ`@me-EFv8{dBQCq1RkxdL}_C653i7R2!vftgx zzWmBnn(_`Xq`MgPRy)2)jN{txWYLaq2z#<@i#y^XcTa&WOQJ1nvTj+&wQfO9_|wO! WV?0r=n=$Dt4O&Jj8y$l&0Dl4Ws$-7; literal 0 HcmV?d00001 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 new file mode 100644 index 000000000000..ad3930fb15fb --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/FeatureMonitoringStats.php @@ -0,0 +1,37 @@ +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;aiplatformpbªGoogle.Cloud.AIPlatform.V1ÊGoogle\\Cloud\\AIPlatform\\V1êGoogle::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 new file mode 100644 index 0000000000000000000000000000000000000000..87622c9eae0f5daca66fb84414a4cc25bcab1bbf GIT binary patch literal 2737 zcmbVOU2hvj6zw`qNXBVMR|1SH+M%t~6t!!T77=YoksUj(MVnZ)n+IgE8t;ysq3fB| z?yMnHdEtQ{)1LxQJRtGNbAJVQWsrz+;6@OP6KoYHz}tfk<`Qe zGb~Rj4niS?D}3CK2Ll>nSBwJY)6l}WevFTfySPzrbw3AaB;wGeHXaHw^l8QQMeJ1w z3w$C6A{$cgQV@~vX}=Z0dH&U#BV9FMy+cNQuSQSFn2FG~ zC%2lAybt<*3j6y9bR2)E$N>NuYh63}@+J>d&%)DV9 zqZOa@sUMYA@DgZcXO`zA#XPN^X>fzf@JxATm`~BN>L;}H0T|iXd3;H}j>0B)3{csl z9&=&Ab99>Up+mVB2q=vb(pPR?lD?i1>N@7bMoO3Y{^5TTxO7dM`C^fociW3*D*tVu z)hvz7AJ969rEnq_x<4Q4=ofbm7I7}fN~;Q7orFpmE0ldyoLVz)pp6mZ4i_GEToHp- zD&3a#S-nYqp581>Ht(R1-5_>i$>5cOcS~?bk`UexotB!xC>POMp3>z%3{-lbrsfv9 zk-UO=)ErNYi1JMpfikR%V9E5*%^+lBmCso}a0Tbom2d+-V8gU77FKdQVbGCv=|O^r zAAl#}y@kw-ok&UC(-8%6RP7{glpmtvR6d(UwDgLeCB0?V~$jZMQ`N2@Q}^=h|u)Z8rCzZq|N?ZU=MNq9*T$X-$t!k^Cj&Ih<_V3wdFP+DFlkFZ%WN!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 ( B4àAúA.,aiplatform.googleapis.com/FeatureOnlineStoreQ +feature_online_store ( 2..google.cloud.aiplatform.v1.FeatureOnlineStoreBàA$ +feature_online_store_id ( BàA"b +GetFeatureOnlineStoreRequestB +name ( B4àAúA. +,aiplatform.googleapis.com/FeatureOnlineStore"¯ +ListFeatureOnlineStoresRequestD +parent ( B4àAúA.,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.FeatureOnlineStoreBàA/ + update_mask ( 2.google.protobuf.FieldMask"t +DeleteFeatureOnlineStoreRequestB +name ( B4àAúA. +,aiplatform.googleapis.com/FeatureOnlineStore +force ("å +CreateFeatureViewRequestD +parent ( B4àAúA. +,aiplatform.googleapis.com/FeatureOnlineStoreB + feature_view ( 2\'.google.cloud.aiplatform.v1.FeatureViewBàA +feature_view_id ( BàA! +run_sync_immediately (BàA"T +GetFeatureViewRequest; +name ( B-àAúA\' +%aiplatform.googleapis.com/FeatureView"¡ +ListFeatureViewsRequest= +parent ( B-àAúA\'%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.FeatureViewBàA/ + update_mask ( 2.google.protobuf.FieldMask"W +DeleteFeatureViewRequest; +name ( B-àAúA\' +%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-àAúA\' +%aiplatform.googleapis.com/FeatureView"4 +SyncFeatureViewResponse +feature_view_sync ( "\\ +GetFeatureViewSyncRequest? +name ( B1àAúA+ +)aiplatform.googleapis.com/FeatureViewSync"¥ +ListFeatureViewSyncsRequest= +parent ( B-àAúA\' +%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)CreateFeatureOnlineStoreOperationMetadataÚA3parent,feature_online_store,feature_online_store_id‚Óä“O"7/v1/{parent=projects/*/locations/*}/featureOnlineStores:feature_online_storeÉ +GetFeatureOnlineStore8.google.cloud.aiplatform.v1.GetFeatureOnlineStoreRequest..google.cloud.aiplatform.v1.FeatureOnlineStore"FÚAname‚Óä“97/v1/{name=projects/*/locations/*/featureOnlineStores/*}Ü +ListFeatureOnlineStores:.google.cloud.aiplatform.v1.ListFeatureOnlineStoresRequest;.google.cloud.aiplatform.v1.ListFeatureOnlineStoresResponse"HÚAparent‚Óä“97/v1/{parent=projects/*/locations/*}/featureOnlineStoresÈ +UpdateFeatureOnlineStore;.google.cloud.aiplatform.v1.UpdateFeatureOnlineStoreRequest.google.longrunning.Operation"ÏÊA? +FeatureOnlineStore)UpdateFeatureOnlineStoreOperationMetadataÚA feature_online_store,update_mask‚Óä“d2L/v1/{feature_online_store.name=projects/*/locations/*/featureOnlineStores/*}:feature_online_store÷ +DeleteFeatureOnlineStore;.google.cloud.aiplatform.v1.DeleteFeatureOnlineStoreRequest.google.longrunning.Operation"ÊA0 +google.protobuf.EmptyDeleteOperationMetadataÚA +name,force‚Óä“9*7/v1/{name=projects/*/locations/*/featureOnlineStores/*}¡ +CreateFeatureView4.google.cloud.aiplatform.v1.CreateFeatureViewRequest.google.longrunning.Operation"¶ÊA1 + FeatureView"CreateFeatureViewOperationMetadataÚA#parent,feature_view,feature_view_id‚Óä“V"F/v1/{parent=projects/*/locations/*/featureOnlineStores/*}/featureViews: feature_viewà +GetFeatureView1.google.cloud.aiplatform.v1.GetFeatureViewRequest\'.google.cloud.aiplatform.v1.FeatureView"UÚAname‚Óä“HF/v1/{name=projects/*/locations/*/featureOnlineStores/*/featureViews/*}Ö +ListFeatureViews3.google.cloud.aiplatform.v1.ListFeatureViewsRequest4.google.cloud.aiplatform.v1.ListFeatureViewsResponse"WÚAparent‚Óä“HF/v1/{parent=projects/*/locations/*/featureOnlineStores/*}/featureViews£ +UpdateFeatureView4.google.cloud.aiplatform.v1.UpdateFeatureViewRequest.google.longrunning.Operation"¸ÊA1 + FeatureView"UpdateFeatureViewOperationMetadataÚAfeature_view,update_mask‚Óä“c2S/v1/{feature_view.name=projects/*/locations/*/featureOnlineStores/*/featureViews/*}: feature_viewó +DeleteFeatureView4.google.cloud.aiplatform.v1.DeleteFeatureViewRequest.google.longrunning.Operation"ˆÊA0 +google.protobuf.EmptyDeleteOperationMetadataÚAname‚Óä“H*F/v1/{name=projects/*/locations/*/featureOnlineStores/*/featureViews/*}é +SyncFeatureView2.google.cloud.aiplatform.v1.SyncFeatureViewRequest3.google.cloud.aiplatform.v1.SyncFeatureViewResponse"mÚA feature_view‚Óä“X"S/v1/{feature_view=projects/*/locations/*/featureOnlineStores/*/featureViews/*}:sync:*â +GetFeatureViewSync5.google.cloud.aiplatform.v1.GetFeatureViewSyncRequest+.google.cloud.aiplatform.v1.FeatureViewSync"hÚAname‚Óä“[Y/v1/{name=projects/*/locations/*/featureOnlineStores/*/featureViews/*/featureViewSyncs/*}õ +ListFeatureViewSyncs7.google.cloud.aiplatform.v1.ListFeatureViewSyncsRequest8.google.cloud.aiplatform.v1.ListFeatureViewSyncsResponse"jÚAparent‚Óä“[Y/v1/{parent=projects/*/locations/*/featureOnlineStores/*/featureViews/*}/featureViewSyncsMÊAaiplatform.googleapis.comÒA.https://www.googleapis.com/auth/cloud-platformBá +com.google.cloud.aiplatform.v1B#FeatureOnlineStoreAdminServiceProtoPZ>cloud.google.com/go/aiplatform/apiv1/aiplatformpb;aiplatformpbªGoogle.Cloud.AIPlatform.V1ÊGoogle\\Cloud\\AIPlatform\\V1êGoogle::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 new file mode 100644 index 0000000000000000000000000000000000000000..06b606662ea1642b48cd9abafd6119f03bcccb47 GIT binary patch literal 4723 zcmb_g&2QW084o4Pksdp)!zHbwHVvnxh#Dl+?4rZU)M+VOa*QOFBFi3DXdo!+rS+~f z$&r*@ugIl9fdW1DPbhlnwf{vf1=`!NLkH~C^A5v?4SU`X%Bm%6Razfp^8NU|&&Tii z;QRJFVLyalX6*6L&~_Sat+u({ z{v~dWgF)mFLpun91CLZ3FBtSHHVr*Haf9fvaOBC*v*TE+3-AWV-eu6c0vSF8 z4gbPH*Q1UWCw7AWZqnGIK250Y(LbZQ>zZqOF+sHPweG-o5*qj#+tBbGQhr?%m~8FM zFhKLHYpIM)W-+u@XWLImhC zwImvl(bF|8B4|_p9+#T|JRLrDCRor6X~*>afLS5%W5YPr=@jC;jT;^%elpvhIwfAO zO8WK@4Wik$wut1^j}~$QKRS{ZoNSUDf)_ttn4wE|(frOi2H-rnd!I_Lo4wx9$#smF z^3W~JNw?su>#+WlLPaf#?K+P%{WQ|_qt)U|650+aMk4c?h_B*}kqMW%#_CGn$OYF% z7DUnka_Vh4H6^q~NT=~V8rj8HKiEr9`WEp@j5Jyj^LrW(2kNA zkIj|~)deWvQJAzy;FkWOz_mI_oPG*xdjk@;$e-{xQ8!@Gl{xMRwGeVw?|x@y{$+M< z!D}N<5)z|-VjWegq;R-PtwEk8J+9z9S5Ti#!D{w9Q&Atn0*7JQ*G^V0BGS^@>I_JA zzLA5K{+os3B)#Jhvj|ZM0JG5%x5i4A3*DH0)VK`=R_d@FECl-uuW8fh5see{e+3pf zeXw+}K$Px(DLp8qmM-EHH@rJy%DLw;W%1t%tVrjKNu(Y@Uiw>*WnrzC$}%A;QL~wq zo@kBY0bH3Rllm6qxC^9V%F~76#h9BIEwu=9tn^CC&chtzPBjnnf@I1?<9+uyDWe#I_VQqcpbCE&_gP9vq1a_wbFZhE)5>aP} zp6BTIXGY%g6AB2fd$Bufd}2dBL%j1n(0+M)$K+%Jb3+ z<|X2vq%+y!O!4asT>61!)L%e>6B>Ip5$#!Iz*SffgRU1~Vq@7RgTpVvq8RQ4*y<7V zyi#T~oFLsFAQOZu%#cfKTR+WtdIP;?V{gZmd!T%xD5Vb|pN?X9Txm3GEwkNdS$jLX z&DzFxeY>`~d_m2_+@sp=?y{mT0k9{l_GHg|w46~3kQ0wt6#mjyt7f)qEjc@oaKjEUNq#`FAdK?L_IniLovVS-XNf$<364)dx^WLo!YKZ_aRjtfvXI z_>ltn^aWjgHj%2!SiZ3GF~bUbt54vv%(i3o_BYdHIKT9i`f&Xmhsol;1($u1`G=`U z5M^QQ&a^Yn8t!%%u8#CMn^<5(i=md`W*tes*Q#0j+qK_Wn`Yaz>W$W8vwbFLknay` zzqj_yM|(AloMl*Swi@k*wcBp(ZM2s&YyX^M4H_?P_RQHXqm+fBh zc`g32@)z?(**I9NQM{w^P7Pi9(YJs9EaR4J_PPAw=#q7e+dmQ~i7U4&Uf_t&H++_B zMs#H>%=XoP2PHroq}hjfGbZ+y`Ne6cv3n- z{fm#Enb*#3$-go6ev*W-QK=jsA4{!<{klC!`r?k`ZhFH}{i_16VlO|%0M%FP=TWoC zt__;Xd-p}-n10aUr@=umdX0h-AT>^<4!ie8U%t!~xAinternalAddGeneratedFile( + ' +Œ" +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.àAúA(&aiplatform.googleapis.com/FeatureGroupD + feature_group ( 2(.google.cloud.aiplatform.v1.FeatureGroupBàA +feature_group_id ( BàA"V +GetFeatureGroupRequest< +name ( B.àAúA( +&aiplatform.googleapis.com/FeatureGroup"£ +ListFeatureGroupsRequest> +parent ( B.àAúA(&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.FeatureGroupBàA/ + update_mask ( 2.google.protobuf.FieldMask"h +DeleteFeatureGroupRequest< +name ( B.àAúA( +&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#CreateFeatureGroupOperationMetadataÚA%parent,feature_group,feature_group_id‚Óä“B"1/v1/{parent=projects/*/locations/*}/featureGroups: feature_group± +GetFeatureGroup2.google.cloud.aiplatform.v1.GetFeatureGroupRequest(.google.cloud.aiplatform.v1.FeatureGroup"@ÚAname‚Óä“31/v1/{name=projects/*/locations/*/featureGroups/*}Ä +ListFeatureGroups4.google.cloud.aiplatform.v1.ListFeatureGroupsRequest5.google.cloud.aiplatform.v1.ListFeatureGroupsResponse"BÚAparent‚Óä“31/v1/{parent=projects/*/locations/*}/featureGroups• +UpdateFeatureGroup5.google.cloud.aiplatform.v1.UpdateFeatureGroupRequest.google.longrunning.Operation"¨ÊA3 + FeatureGroup#UpdateFeatureGroupOperationMetadataÚAfeature_group,update_mask‚Óä“P2?/v1/{feature_group.name=projects/*/locations/*/featureGroups/*}: feature_groupå +DeleteFeatureGroup5.google.cloud.aiplatform.v1.DeleteFeatureGroupRequest.google.longrunning.Operation"yÊA0 +google.protobuf.EmptyDeleteOperationMetadataÚA +name,force‚Óä“3*1/v1/{name=projects/*/locations/*/featureGroups/*}ø + CreateFeature0.google.cloud.aiplatform.v1.CreateFeatureRequest.google.longrunning.Operation"•ÊA) +FeatureCreateFeatureOperationMetadataÚAparent,feature,feature_id‚Óä“G"*cloud.google.com/go/aiplatform/apiv1/aiplatformpb;aiplatformpbªGoogle.Cloud.AIPlatform.V1ÊGoogle\\Cloud\\AIPlatform\\V1êGoogle::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 new file mode 100644 index 000000000000..25bde725c9be --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/FeatureSelector.php @@ -0,0 +1,33 @@ +internalAddGeneratedFile( + ' +ž +1google/cloud/aiplatform/v1/feature_selector.protogoogle.cloud.aiplatform.v1" + IdMatcher +ids ( BàA"Q +FeatureSelector> + +id_matcher ( 2%.google.cloud.aiplatform.v1.IdMatcherBàABÒ +com.google.cloud.aiplatform.v1BFeatureSelectorProtoPZ>cloud.google.com/go/aiplatform/apiv1/aiplatformpb;aiplatformpbªGoogle.Cloud.AIPlatform.V1ÊGoogle\\Cloud\\AIPlatform\\V1êGoogle::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 new file mode 100644 index 0000000000000000000000000000000000000000..c21fc2debe3ddc53162705a03d594a7a4ba7c5d8 GIT binary patch literal 2980 zcmbVOUvJw~6rYo}Y$qj6-Hl~tf4s42ouH1|A%r|SNSZVa+M29Mi-sauj(y`^=Gex* z?kH2=c;FlGz&GHFAo0Lw-~kC~9|Cc%|HLk9QCMH<+34b7TPJzHmE*Pqmm)@x&;v(P8n5hX8`2pPc9CnWH6gUIb(<0)afsWW}pjzET6 z9AsFZf(#GV9|0J)9t84s40eE6@Cs!7^TLr$4LM*s!+&>apizf1s@wE?OlVUc>vllU z{>`)F&@mWw9hn<+9fPbskYh}K_O9n50h@9fRgZImd<;7dBfg{C!zKv~pL)#odw5h; zEyAWu@|D#GiCYdw$MR|%qpH3U=3w2hKloo2;zybr%F z!`lDSk|@Q;l}LI@COze7UAmS)=^m~5Ns6%qrCZ5XBuFf4jiq_S2k!h?hEh&#;#W`^ zQA_(aB>u4$vsGP?h1Jr=C(8LDC^-nFL9J)pydPbfM)8ljuya8qa5cRmKCx)PGW<&s z{^qRsiLbo`<+Ph+nB%vuDj?=1?)#$nF_a7+FBH*u^3_7*O-j9`%qY_ebE_h^3O&59 ziB)knD|C<7+^Wu{?geoN7HoY)?4UX?7m>$@spm6Fd5Xs;kyXnHk5*6$IuMd z8B?qJP88C{tZ;oa-HI&5U09@!Nxn;wmLjB?1M6_x7%B=(YC!pP(ZvcBL!V|J|UWZm}U@5^ov=! z$bl&XM5^!P(m}CWAddVHYmeRCAgPm>@aEe%X>hb{4tCnn4XBXGh?pjItb~<}G(mhH z%42F{BYu-HLA(x2$kEHZDOYKvdO^GgD;cth!gm6E1R`P1M^)PqeiQ`p1za)lGV1s) zXcM9b{0U>n9zn4RtL2UM+a%je0H4Nq1B8opB0}ZgL`ctJF<$}kL%3!WeXKdINwh2j z!wnr4QB#bgzktyoX{+Af-)m`u=e?G;zuWJ% zwmRFLRO#HT{T8=i@nGgC^pshPj?jb&KUPWzJ9 zpp@%-VhM^b$Z?D&z6^z`AEiVm zaTe5GC0{2s+cj{cavfYtKTpzOuIt#;A$=Tu2yUlIxY4Q>@a5@Ij-NZjr@)iOMOcWR z(8liq+{9@9qgIVdF47*K!g|8jkK;EYeRwe)%gxW7m?e&$S@PcKQU1p-1*shkn@Tin zD)mk;nOK#B_21IXVKRyiv+W@cqpu4$Vq;Z}tW`DJSJi{{(E@VF+=ut4v&~2Ge3u&s Q&m9G$lkvcI0w)0f04RCP!vFvP literal 0 HcmV?d00001 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 new file mode 100644 index 000000000000..eb928e3c77c3 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/FeatureViewSync.php @@ -0,0 +1,44 @@ +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 ( BàA4 + create_time ( 2.google.protobuf.TimestampBàA, +run_time ( 2.google.type.IntervalBàA- + final_status ( 2.google.rpc.StatusBàAR + sync_summary ( 27.google.cloud.aiplatform.v1.FeatureViewSync.SyncSummaryBàA? + SyncSummary + +row_synced (BàA + +total_slot (BàA:ÃêA¿ +)aiplatform.googleapis.com/FeatureViewSync‘projects/{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;aiplatformpbªGoogle.Cloud.AIPlatform.V1ÊGoogle\\Cloud\\AIPlatform\\V1êGoogle::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 new file mode 100644 index 0000000000000000000000000000000000000000..6a71a0beb645b1fecf967e686a0cebedeaef02f5 GIT binary patch literal 2187 zcmb7F-E!MR6vlR)w41ghV%iEbz|v+~mmzXpdeKpuGIs13&y>W2om_M@Bi8Gcv#q=m z(#liQ@eA=NaKS6UZFvcfR^;JTs({%hXt5=6Q8>*FfeYN;Nz14ZnwIFuK*f)Q9zlA$DTKKS&h10G^!EqyF@x( zFsV)JHHQ%y1uT?azzoHVkRTHl`h+sv={0{~l8lHXR!5OohcSuO$VjZS`aVL`C1Hq< za%AW|!tm!uLzhz=N+RLkE)Q)kxa7p;zd%F>*dcDnfZ+05ClXY0Pv97EA}Fgq#tCQq zcGvenfdjm7s~3v`f>>Q4Ss;jOwOB|4?n7WbcxswsCNnAHFV)AX*_e(yxSIHAnwOkB zz%qzf-a5ts1KGsB@;fG&XD4fgXbqoRN1VB%COaon?ggf~jA}{pU(g>}n#r|ME3#y@ z1r26?ENS0obbSvpX$KtYLXwHU8mm&W_mZaxXpBag-bYZM)l8vSuSe)Fg!cYdVQQ7+ zxuNRVSk|#Ityexxsff>OP|m9GlX|W^xxxy|G_gYvB}IIhB2+&>QPt!k^5nt&-#5|C ze6edg=vv%0dI1-zH=3nC8zt=-+M)q81hZqbUV@vgrxhcOVL@$VqGqVbhki>@*VaRU zd1%wIUS60lXkE17k|A?LeFK-k^0S5I73vxJSd3Q+))q3D#Xc3ZpU@poxLhzhWWkh+ zu}wYU@UgzBynC@W^NC{VCnSf8BeBp#<+%HpejONZKQ-27?8m4?xm|Q`;U)Au8H0k- zwMS$Y>bHQkoLKrEef+PS>qtfM^;I@6wvJ+|{9QnwtO!Wc(YC|iv5_sj5d)q4Jct5mRB_FpJL%_n)J( zN{x00?eqtYLEAn(?)Tb<-J@>1wf&KX&<1>NzG`n5w43PqX|L57bdNjRMf2wm4S^o! znmcJ2=z7F@r5znRH}>-D6?}#by9~u2?&p8}TC8-`PBqlDHX7Ytx|of#`frO% zE8V!(^4fx(`=R)G0ya&BHqGU|X`a=G8*0LQ`zV{b-y~ZsxAfwcPKA(#HL)kjNRG$Y z<4RrV1Hn^p%^UCnT<{c($3Ka--My$bH}U+O?>qCIzaM^#RuO!SPDw~&%!!ZYH;AtY zieko@#{x7@7Yh<2kF6sbkXS`%I6>oyjf|mbe6`pg| zKLYRqoFr(pg?mxK!f$}YFG}YD^-#hw7k@8k;!;6OaX{aQXC9*k4iX}u?%rLbp~oo; zQD!g+J<@%Ja?I@Ri--wXj#260G*e2bgGOb+8rm45sy={&5lq^gqGov^g9E%t-hpZ-@c}WAG+^Xv?CF_Zgnv;dkOyn zeE-m(DV^L>mEl%5;a0Ev2Y)o-`Te0eVc~)<6(61^A&!z2<1QA8-6S+=*HEpyduXcf z23Fq(s#*o2UH~e;LYuB57IU}EzYSSkl1&~=W=i1FpNcYoPMEGqOg$X9d?iwT#RA{; zNQmUvJDfdO!~5}7D+5=4 zhYk+eS|p_F6Ha6kaOXH70S!qz%bC5ypFTA8puj&EK_hqLb9idmx^1|#u{AYL%#mpf zTaT1o_+)5|^x3)Hs$~mftPjq`NnLpi&7o=KtDS>4&@3^PHhebFE#urAzm3*{$LE5> zvfYf!5|I1QxtNIcrEy}6#r9aAT4$5;ysjL;{`AtgGAA?3H7}-@=xS$=2D|WSRT_hTYOpV6%X>r}d{LHJHa<3OUiRH-?dR8d3o6?N zTlbc1d;Z{viV?KwP|^Hod+}$zb1El|DkqJqo6}-)saO5K%R{G_L(b;d5tHb@`j@$} srb%l}+nj6KRe%1m9C6>htXl6kc}L$G09jsB@1Eu_Z{~ge7H$Fl2Lk+(uK)l5 literal 0 HcmV?d00001 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 new file mode 100644 index 0000000000000000000000000000000000000000..f625104095d981b1bfa142d6fb54f2dc91c72a86 GIT binary patch literal 4831 zcmcIo&2QX96t6ewHhD=)VoIA>v~`!#ZcFNAODV-oQoKo;6j~BBAyBk*<=vg#7#!QR zXA^C!NQfIZB*Z^~5dQ<$a)VpNfdg>h%B>O-Z^mPgbz%PY+F2A0 z+=gEvx>|SLx=nHw+ig^Hrsdftt-1bYZY!Uw5tBB25>VGCCD*Ynhm->1Z&?+h@fQI& z<|YX|vqIFxmBL*@&8kVw;v&Z^&N0lQ5n~qD^EUu0wiyKKtpxTmhh7bl;W4QA<2A~* zRZ#uzQG#tleEVxdf>n)pF5ZwglY>PN_Z!)(mVpj`f!`!l5 ze{Z7qhzO~^mFy57MG+UP#3mJVLH{ar0$Xc(WDlgpv9M-gR8w=)>->5iLzibQ5iv%! z8VATNOtx(7Qs&?b@aHL*evvGbl~7vaIjXgCRNKlcCk3+US(wAj;bCejXA&DV=G9VJ zxK$jOOdP-@=jA|b<;50%VdtWNg&_2h5INsNgfchmQj6CQ%)1r&=b zP}=FiI^bcgBAK5gn7BvGYEtYV9r+x&O#NYQwfsJe)xxh!9HbKi+`2dVur8`Rp?kkO z43iyf2ra}=N^hWn#OGv=T$%2L-xWq%;u!Kracpl{WLr4oz5PLk@xG2Y${83J9%y~p zWPnr@k;;z}q=gEzu?mUwy4ZhiRpI4``fB_cjnZs!f2Oo4uY8#TXc;Jvw z5m~jczZbV&q0J+h^0fqm>_L7v${ALE_K-76hvZpE#|h75r+TR-Eaw&Qjup_QLxpr` zSmtL5&aP6Qn46YU?+{rBRxM8gkg(udqF(+FS@zc;j3$khj{}sk)e4IvPp%;(?*xoi zUF-{qSZ6se;rc5ug5Tn6SH<#STpkFI2h>M?#CjUnhjHD2F%E9}zS$IeN4O_n@8yjG zDr7JbgjfJsXp#gO;vmHfy-?=40TIp|jE9;hVMaL2`Ccg4tX{hsfuJ(N&LqlcAIe|^ zAw3Ze(pYX%5(r9;BETrxdJ{$wzEPoK{iXhZQGf?7BFw?irWg$-j&bRHFXNJtphYu< zG6O@=vz&*cbusyrSpOi(uM(j~&4m^>a)l!zXEPtb2$~&fCr`%-De+#QXF`U8yhrA? zW$we+?lpN72H8~fg5TH79T-az!SY|ezDwD@zt&g&O+&Yl%c+aWOa4cK@wQqbUyWGp z(0*!d$3>&2^z5lRNQs`|;Zq~o;C=P$AK#`v%Y4G7(Z`|=u`kmMdiZl35Q5yLob6V^ z=?I@|iK&w9g(9r&!~b@4e|I;cOPAztQlOv{yOdISrkDBMk(C)=mrR=F-kO&ZXqy#%=`dmSwy4+w-*RRRg|R3Rja#KXP-Qb7oWc&x+||GCZ1%+8Ky zeQEQOWapfJ&i|k9|NhH4bLlyI)rN`Ob=}k*&C_eS<&B)Ts^@IS@~o=W$SpVPb=}ET ztu@T?&nod>>1lagIvzZ)h$pPp?%6XO;2}Btx>+JyH&@qQO^Y&S}d;U zo^M(D%j7xnS}M+{=O+0Yi^YybUe0+=QxCp9mveNqqIr?6n+ka3|EnBhJJmMIs%cu( z3YO^>i*23SBDzhSYZ$ue^)~04p*LzJeN|gGET^}r_jG}x)QgNkMtR=!3~ys;!`9Qk zJx-25){Y2S)Ejyg@vtMpm;-H3(oJi7^Y7Y}ClFBS#oV&Y6{l&MhPhJqr}uzI-^~!@ z^J})Zk^a^GREEvln)_f2bC(QcC{J6n)6bzG3ET`QQhRnf;*g|II@jjF?JUf}^bK(%056&<32%eY&G<$ zavzRe*S+8@x%f-4hvpXHr9;Z4E1zUw{FdQ{B)d}dcI|Qi2I@uwa|ULSA#wH%+7~ji&IS)g)d9@0K!}tKRZdO`X;vw&I zpVEZmF*><6rUyEC4)zD_?4sfNd)X~A2BW6_hF1x!n{N1!@*aZhB^&d)Sdc|QLZQ|( zND46AWN+Z6;6O_<#VQ=Xid+%Dq-{Zm?1#OW_*Qkcxr53N_CogNnr%4}OZT+~dY8n~ zWf<1h9jn4ARJh1lxrs5PomX-AA|u=zkCAy8T{c$GU7Zanf_lgB>{OD7lCkn4o#Kn3 zS+%<^B~Z8x&we>c!koMAPktPTKu(2nPlZtwgX7SR44L&wfIS`G$Aow8jUQ%ljtawp zNFiK!nz7GWIMbbd=KTziqEU!2YGOs)XTIsn>+kO8eVJ)I4&R3`4 zSj}*?<%V9d%!Xl#ipN|TA41Is$q^WNXgLqijjL7@sdX5C-Afe6%2}8vA^Bp8Rnf4f z*l-PZe1y)-J`KZy=;+(XDD)v0a%N^siIO>rgucxCN`o-Ke=Qw_!=ZiRKPx}Wz=>D| z1u>k2qXxsTUaJU`@|Dw9_mea5xc^v+#{kpRg?@Au{p2_tGEDp#H^Z?Wibs^O`bi$n z`XQ@gH9gm;=@qPX=)2GeINTNEDK7h!KMugjlIB%c?;-UGgM@u*4hTgvqejET+zl%^ zml10ZsJ;zjzGp=wQ6Tl|VOM=O;IS|iQPYMcavO$g6dWeY!C71wp1qI+-JpT6Je5;9 zR#)J#jkR>eTXn4F$|}c=^oSRd#3pV)egTCpahWXokX1M&phL3|;duL)oPbZ`gGhbaf9mafRZU#^+~}WCS+c7sqCo_QNm(wPjN$Q~rrT zYW|I`LF!vD>YAGEu3BD2XTyXy%_qIRyTJUSkj95#9Q!&9*PD%ol+J^Mx<%>NP?9fs z2V%(%dtDqLIHhb45Chu)MAn4^;Y}eku;1TwO3*CSBsvpPdC>W~Wnq4#&%OrG-m6|` zlW7>#%^G)fo;4;p`T*=%vue6>mu7xG4~E?Wvj&j98g^ogUjgC`23Y02J{S{XSQrXO zCwJk9A4CH4g((Y3_?9_ZKpgrB3iRrZUd2M75){a7ohWeW+C4TeED#e&8Y_dcQY4U= z{)NO)J_(3WPQr;;@8>Cnl7my-0*Dy#iwunM!n94bGG*>kex(kg7sJ^lH(g@N-Cjcs z)d#B4dvFA+(e`M$;$o;4?J1E}{*ZxVv}$Wh^=pSqk@{Q+Ch0QdFRBW)VXQ+Rk!oIo z5xw0Zk|k)`t-+K(z5sm(!Nd#Dwh`slJRb%F=aH0e!dEM{4|R1U2VaT{S^Ycdx4iy^&{OpP)yP!AvAEn3%<_6lT_d&-^e0Sw;q-#cqc2 zlvN<+OAc>lxwvAQFFlpC;?NR=z1Z@VB{&hgNCDhuU{DxFf;Nq1lv{A9-My0g^VJYp zh~0tBcSrd&1BZkC9Vu`d8~z1x1jz!y^Fs{N6?#G@>pz+m?p5k=B&_AO_Mm&)>N^=Y zx~OYTbyWb_$K*vAY*|BP^b_pREu)`4z$&`ppT^+10&jfuE9-D3CVAa;<0%_Z zej+|C-u-u@&LM~64Yl2WuM4NSU$%3h-G8YKr$S_~`)@?^#-tCs|K7jvfo#maN;)l< zvBqadrlPYe(z>}Mvg_>Pi#(#;? zfc8S#HWM#7Dqq5m&)KCT?5Ohy8`o3fg>COWB|M989~icOe1X?j=;>sQotLpa8!R1w z5srhqyn*=s9yk#T43VY08U-3pA+Ac5;tskJ)SuZ!8J8;@nzA~<;p zCarp%pZtVO=O3T6Pe7;@`pJ_pA&-jUC-CzY7DKb&Ps9zzHav~ds(6)8dYL#p;jfy3 zbJ4|NSIodpcg*T|(4K}fk<~?K@a3`KT>@Hh@l99Wf`d`)lkiC+ozuga3|9DU7v#r` zEIlqAf>HS;Z9F~bYT2&W!1jfP~neIE1Hu7jjWL|ZBz%+Q+`(}F75B3tT2%&(y#n8v*Qr%%7zrz$h_=H**_{AIih z@EYDja|=@izd|WYJqq2-bc> zglj;LU%IS6ynNJ${4N8Bg2f@-c$XyR?j6JBx)Tu*GfRNJ)KbN*nUEU2Yy^29G1^%- zBxAI5yi{ZpjD8S@(N1YTsAaL#QpbbfoNl%+U@*<^%wAy-3=YcovYQb+{wD(@6cSQ6 zZs+)vM)@`xpWt(}4k!o$e^lZO%>|-d*65=nCCp z@PY{WFa!HTjdzmR<_is#MoQW9Rqg~yN+n#89$+2Rf>PG+k!C5Iw9W65M4F8Zmg`SM zM#mgMRtsUWlIkRqRpP#oe`nwzCy%y5$*7HvmI|fakT+ZESO8-kJoNJH*BICWV|t;X z$bN-^_Ze!-IVP>P(a}=dO-TCP9pxi+YTK~=ULWiarA5gu7aE#U=U<}E=U|^mp2#LO zdrLha$VUX6mU=w=gG`hp3%#Vg&^rr7;NUw$Q8q^j^7i4FVxN2^DR+vQkkU#t#hgn% zok-PtXsM&ZT#h&~VWI04<^B#DX_?;J;#eqVrU=%+(9Rmk`6LUq$4SGa=|3yq2-5W} z!gqYjbnS09Wo|r~9SP=vB=Pt?I8thm7^T7!1Yy4tCTyutPlVkK!sKrlMnj2TvQLMG zN|jP=$_Caq!b>~o`qkNc3~=K4)~PzUS8eb7FX|Y|3X^pV4V5}>!qx9=gR7a(-J04- zm{LB9ISfeVqnHUPwHJI8D}aNTq&k~uslgPF*`=bq9F62DE5iuni`XNHUdX0=^wT~# z#+bO{YAJa(iJRi*q%_#C5H2@2yAVTC9}TqBP#Mn*_mZ*@^eI+2rL^3mBIE21gHUr( zWW}76BqJ+kLP|pkWW@@Q$clLwQ>N`Avh>bdl+sioF5w3($)<{#(3`1Z1xQoHJp6o3 zRSSNA!R&52Wz+1uo;lK0QeuuI zA9Zn}Xk*O{T_ece{#ZTU^|H+;YJS!8Y`0h_Jbd_2DDGb)(3;*V|Hk^f{KC5Q=M0>} zZ?6(;R2mmaH1mAX30internalAddGeneratedFile( + ' +Ò +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)àAúA# +!locations.googleapis.com/Location> + +tuning_job ( 2%.google.cloud.aiplatform.v1.TuningJobBàA"P +GetTuningJobRequest9 +name ( B+àAúA% +#aiplatform.googleapis.com/TuningJob"˜ +ListTuningJobsRequest9 +parent ( B)àAúA# +!locations.googleapis.com/Location +filter ( BàA + page_size (BàA + +page_token ( BàA"m +ListTuningJobsResponse: + tuning_jobs ( 2%.google.cloud.aiplatform.v1.TuningJob +next_page_token ( "S +CancelTuningJobRequest9 +name ( B+àAúA% +#aiplatform.googleapis.com/TuningJob2¶ +GenAiTuningServiceÄ +CreateTuningJob2.google.cloud.aiplatform.v1.CreateTuningJobRequest%.google.cloud.aiplatform.v1.TuningJob"VÚAparent,tuning_job‚Óä“<"./v1/{parent=projects/*/locations/*}/tuningJobs: +tuning_job¥ + GetTuningJob/.google.cloud.aiplatform.v1.GetTuningJobRequest%.google.cloud.aiplatform.v1.TuningJob"=ÚAname‚Óä“0./v1/{name=projects/*/locations/*/tuningJobs/*}¸ +ListTuningJobs1.google.cloud.aiplatform.v1.ListTuningJobsRequest2.google.cloud.aiplatform.v1.ListTuningJobsResponse"?ÚAparent‚Óä“0./v1/{parent=projects/*/locations/*}/tuningJobs¦ +CancelTuningJob2.google.cloud.aiplatform.v1.CancelTuningJobRequest.google.protobuf.Empty"GÚAname‚Óä“:"5/v1/{name=projects/*/locations/*/tuningJobs/*}:cancel:*MÊAaiplatform.googleapis.comÒA.https://www.googleapis.com/auth/cloud-platformBÕ +com.google.cloud.aiplatform.v1BGenAiTuningServiceProtoPZ>cloud.google.com/go/aiplatform/apiv1/aiplatformpb;aiplatformpbªGoogle.Cloud.AIPlatform.V1ÊGoogle\\Cloud\\AIPlatform\\V1êGoogle::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 new file mode 100644 index 000000000000..5776dd7302da --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/HyperparameterTuningJob.php @@ -0,0 +1,59 @@ +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 ( BàA + display_name ( BàA> + +study_spec ( 2%.google.cloud.aiplatform.v1.StudySpecBàA +max_trial_count (BàA! +parallel_trial_count (BàA +max_failed_trial_count (F +trial_job_spec ( 2).google.cloud.aiplatform.v1.CustomJobSpecBàA6 +trials ( 2!.google.cloud.aiplatform.v1.TrialBàA8 +state + (2$.google.cloud.aiplatform.v1.JobStateBàA4 + create_time ( 2.google.protobuf.TimestampBàA3 + +start_time ( 2.google.protobuf.TimestampBàA1 +end_time ( 2.google.protobuf.TimestampBàA4 + update_time ( 2.google.protobuf.TimestampBàA& +error ( 2.google.rpc.StatusBàAO +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;aiplatformpbªGoogle.Cloud.AIPlatform.V1ÊGoogle\\Cloud\\AIPlatform\\V1êGoogle::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 new file mode 100644 index 0000000000000000000000000000000000000000..063476c6d99662974c4491686b1c7fb9f173df4c GIT binary patch literal 3316 zcmbtX-E!MR6t3;qiI3CNRZDTrPt~;3x=bsRmH|d3El#W?9@^NooeXr`(a6%;5y)DN ze$tvwo`riJgDZwR-hgX{hv4k4WIKroDdZ-~?tb5%J?DJqoP71vJMiF^yiHu<8zHge z{#XtVi0t_^q$YLbel!>mUpDE;vmN3qvRrS}G8!wCo?PoEt`t{K|Yl^LMv znxt}17M$$tZI9xc*X6{X7IOo-px1Ci;=6{^tCPU=Z7-yL3y-Smkc1QGv6afb_*zD1 z59ErlQB_YFxh{u(L}qW7WuJtR?>^>sGlHYZS8tBDYM$NOvWa7DkOSk;roO69Uo|E9 zCup0*u{$?vPI%BEo^h9blyx>wGJnY^9|uP_Sa9VJ?(1Y)6ve$|x=v zdSD)qk)cPvU0O(BS*Zd`$%#@9mkSTCDZ)fy4?aNIH=Kw_-$3!Wmq<`rlrxC9pCIN0 zL^+x5;vvhhfOZW_OWe$L$T>!zI6*1T2_KwA$ep7+IG ztx^%0Rvte3S0;t??QzSo86cF=W~CjtbRr*1m$`ADoJD!OdT^%l11QXTw*Z+R$XH~d zbP=+LEE`HZ^VIa0snu6-`IJf0Ex6Ixt!v-vd#!q{tLe|R?oP9=@9lP4+Gb;`q1B5Q zq#`VD)ViBH@u6Z0Q~qM7+tzB&lclu!>d)FsxG^Jgk)5dTK*1hc<#$V8V3fZnW*Ai8 z#$QKOhnm>zsEcdK=aJ~F1ea_k^rO|E7GZ@`)Um006sr{%S@MT&TT}g|r4L|bfQc6Q zL_fsasE>ZgRMO0EY3VyCVw?5@qLWddSeES$Q6NlG>RBN;e!J4)6k5W-s8iA|TD^A^0$6ZZsmuhovsz&2irKci`O>9H;1Cz_RJn*USStQ+bwq z;ax1=jNx5l$Sp2Eg-a(qgB35wb1}dOO@i<~fQ3cC4OrlLbTT|T&&;7}vv zMLCVj*I-#JTNKAK!s~Gg*XJ13hBWoK16Lky{jbm{O^;2i)L(rAOUbuXf~(Dz)~y9-hQ7UQL27VAYGN8fla zx3LJ>eO5lo_nsYbG09ZapPMZ0C0)$5{f4;3grd5Nh5SM>yA9c8R;fm zjRko82i&(qx`gTdHu(;fBc*-Z}S;m*<>@kQfsv0{{WQzwcnD>UOeIVrrSN7@&8PJB*3c5 r(W*M#SJnNsevY@jM|USv)_pNN&&=AagV{JSo|?1yNihu{!4bgUF3lg0 literal 0 HcmV?d00001 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 new file mode 100644 index 000000000000..8c865c23c3ab --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/IndexEndpoint.php @@ -0,0 +1,77 @@ +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 ( BàA + display_name ( BàA + description ( H +deployed_indexes ( 2).google.cloud.aiplatform.v1.DeployedIndexBàA +etag ( E +labels ( 25.google.cloud.aiplatform.v1.IndexEndpoint.LabelsEntry4 + create_time ( 2.google.protobuf.TimestampBàA4 + update_time ( 2.google.protobuf.TimestampBàA +network ( BàA- +enable_private_service_connect + (BàAd +private_service_connect_config ( 27.google.cloud.aiplatform.v1.PrivateServiceConnectConfigBàA$ +public_endpoint_enabled (BàA( +public_endpoint_domain_name ( BàAH +encryption_spec ( 2*.google.cloud.aiplatform.v1.EncryptionSpecBàA- + LabelsEntry +key (  +value ( :8:uêAr +\'aiplatform.googleapis.com/IndexEndpointGprojects/{project}/locations/{location}/indexEndpoints/{index_endpoint}"— + DeployedIndex +id ( BàA6 +index ( B\'àAúA! +aiplatform.googleapis.com/Index + display_name ( 4 + create_time ( 2.google.protobuf.TimestampBàAQ +private_endpoints ( 21.google.cloud.aiplatform.v1.IndexPrivateEndpointsBàA8 +index_sync_time ( 2.google.protobuf.TimestampBàAP +automatic_resources ( 2..google.cloud.aiplatform.v1.AutomaticResourcesBàAP +dedicated_resources ( 2..google.cloud.aiplatform.v1.DedicatedResourcesBàA" +enable_access_logging (BàA\\ +deployed_index_auth_config ( 23.google.cloud.aiplatform.v1.DeployedIndexAuthConfigBàA +reserved_ip_ranges + ( BàA +deployment_group ( BàA"® +DeployedIndexAuthConfigW + auth_provider ( 2@.google.cloud.aiplatform.v1.DeployedIndexAuthConfig.AuthProvider: + AuthProvider + audiences (  +allowed_issuers ( "² +IndexPrivateEndpoints +match_grpc_address ( BàA +service_attachment ( BàAW +psc_automated_endpoints ( 21.google.cloud.aiplatform.v1.PscAutomatedEndpointsBàABÐ +com.google.cloud.aiplatform.v1BIndexEndpointProtoPZ>cloud.google.com/go/aiplatform/apiv1/aiplatformpb;aiplatformpbªGoogle.Cloud.AIPlatform.V1ÊGoogle\\Cloud\\AIPlatform\\V1êGoogle::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 new file mode 100644 index 000000000000..a6d14ed038a1 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/IndexEndpointService.php @@ -0,0 +1,101 @@ +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)àAúA# +!locations.googleapis.com/LocationF +index_endpoint ( 2).google.cloud.aiplatform.v1.IndexEndpointBàA"v +$CreateIndexEndpointOperationMetadataN +generic_metadata ( 24.google.cloud.aiplatform.v1.GenericOperationMetadata"X +GetIndexEndpointRequest= +name ( B/àAúA) +\'aiplatform.googleapis.com/IndexEndpoint"Ð +ListIndexEndpointsRequest9 +parent ( B)àAúA# +!locations.googleapis.com/Location +filter ( BàA + page_size (BàA + +page_token ( BàA2 + read_mask ( 2.google.protobuf.FieldMaskBàA"y +ListIndexEndpointsResponseB +index_endpoints ( 2).google.cloud.aiplatform.v1.IndexEndpoint +next_page_token ( "š +UpdateIndexEndpointRequestF +index_endpoint ( 2).google.cloud.aiplatform.v1.IndexEndpointBàA4 + update_mask ( 2.google.protobuf.FieldMaskBàA"[ +DeleteIndexEndpointRequest= +name ( B/àAúA) +\'aiplatform.googleapis.com/IndexEndpoint"¥ +DeployIndexRequestG +index_endpoint ( B/àAúA) +\'aiplatform.googleapis.com/IndexEndpointF +deployed_index ( 2).google.cloud.aiplatform.v1.DeployedIndexBàA"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/àAúA) +\'aiplatform.googleapis.com/IndexEndpoint +deployed_index_id ( BàA" +UndeployIndexResponse"p +UndeployIndexOperationMetadataN +generic_metadata ( 24.google.cloud.aiplatform.v1.GenericOperationMetadata"­ +MutateDeployedIndexRequestG +index_endpoint ( B/àAúA) +\'aiplatform.googleapis.com/IndexEndpointF +deployed_index ( 2).google.cloud.aiplatform.v1.DeployedIndexBàA"` +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$CreateIndexEndpointOperationMetadataÚAparent,index_endpoint‚Óä“D"2/v1/{parent=projects/*/locations/*}/indexEndpoints:index_endpointµ +GetIndexEndpoint3.google.cloud.aiplatform.v1.GetIndexEndpointRequest).google.cloud.aiplatform.v1.IndexEndpoint"AÚAname‚Óä“42/v1/{name=projects/*/locations/*/indexEndpoints/*}È +ListIndexEndpoints5.google.cloud.aiplatform.v1.ListIndexEndpointsRequest6.google.cloud.aiplatform.v1.ListIndexEndpointsResponse"CÚAparent‚Óä“42/v1/{parent=projects/*/locations/*}/indexEndpointsð +UpdateIndexEndpoint6.google.cloud.aiplatform.v1.UpdateIndexEndpointRequest).google.cloud.aiplatform.v1.IndexEndpoint"vÚAindex_endpoint,update_mask‚Óä“S2A/v1/{index_endpoint.name=projects/*/locations/*/indexEndpoints/*}:index_endpointâ +DeleteIndexEndpoint6.google.cloud.aiplatform.v1.DeleteIndexEndpointRequest.google.longrunning.Operation"tÊA0 +google.protobuf.EmptyDeleteOperationMetadataÚAname‚Óä“4*2/v1/{name=projects/*/locations/*/indexEndpoints/*}ˆ + DeployIndex..google.cloud.aiplatform.v1.DeployIndexRequest.google.longrunning.Operation"©ÊA3 +DeployIndexResponseDeployIndexOperationMetadataÚAindex_endpoint,deployed_index‚Óä“M"H/v1/{index_endpoint=projects/*/locations/*/indexEndpoints/*}:deployIndex:*• + UndeployIndex0.google.cloud.aiplatform.v1.UndeployIndexRequest.google.longrunning.Operation"²ÊA7 +UndeployIndexResponseUndeployIndexOperationMetadataÚA index_endpoint,deployed_index_id‚Óä“O"J/v1/{index_endpoint=projects/*/locations/*/indexEndpoints/*}:undeployIndex:*½ +MutateDeployedIndex6.google.cloud.aiplatform.v1.MutateDeployedIndexRequest.google.longrunning.Operation"ÎÊAC +MutateDeployedIndexResponse$MutateDeployedIndexOperationMetadataÚAindex_endpoint,deployed_index‚Óä“b"P/v1/{index_endpoint=projects/*/locations/*/indexEndpoints/*}:mutateDeployedIndex:deployed_indexMÊAaiplatform.googleapis.comÒA.https://www.googleapis.com/auth/cloud-platformB× +com.google.cloud.aiplatform.v1BIndexEndpointServiceProtoPZ>cloud.google.com/go/aiplatform/apiv1/aiplatformpb;aiplatformpbªGoogle.Cloud.AIPlatform.V1ÊGoogle\\Cloud\\AIPlatform\\V1êGoogle::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 new file mode 100644 index 0000000000000000000000000000000000000000..47cb3300ef939bd59f302884ab2e1dee34d5c58f GIT binary patch literal 5825 zcmds5PjlPG6)z=A30JlRt^bIk;|8MLSXOMXQk>2dj@*GrSVkj)9Fo%18BQ@ExT4UI z00Mw=T*sHrv|pezJ@fqKJvclhzG%69&+ZXl62)>=)T>QV zEo;p+5DnacZxLDSx^A~eidN4Zbc&|!^~~_l_4~!+&7$pe$d^Vy{A1f95>t(kWA;hl znHCXuYdaMZnjJGVTf0n4t3GYXfn$ZX>xfjK>R4p`p2&4l-aDQPDcBZcw`w#i zkdc<=gv58uUaL$3%eTGI^=rT?%Uu#Cxujp#??q;*I{Q#u=RV5vh?Co5=nqKRx+wZ2 z9Qe*7<~LRFD*4qKlQhM%TZ-ejGz+d1$nr3zp^EbaOFf%7;l*U0*reClAxGx1?fMrJ zt&<2hQ#&~Z5>N(!!t{p6si=As_>iyZ)$F-W*B>~J?Q~m-_yy9Ppa^QH_Py}M^rjP0 zmimerd_G>50r$aUJA$dw=_IIp0>^kg!4XB(UG(oeNV?eh#d*#zvGXns&%1QInO})? znVt>(fZ~cD`uzJT!XX8Z(T>m)F|4K-{0Jfu>4S*G4329s5#PoHJ~u9Q#Ctp9?F}nh zOn8Eb>1M>l`W77iBB3>lh;iFXh&-%5REBdDew9JEMI5ZlkrHYw`0NRRoe4NYH+Zdl3PDjOJKJ&CP)1!q!^EIIa{Dv$-=1 z$_xL@p!ZUaB*=|>FV>OJrT2hs8U3gqGv^kz9!@gBkY!t=`i{|tLm(*VC>^1a$3b(w< zNw%4I;g3+fJv-paNbnYlw}|Es?H=47ta@3zjIy5DB}M>ORc;mvI)^br>{IA|PMq8& z3J?4MWdTDSg90lz$LgMsQx#)RN}58Ujjo<@JMiE_Ab1PC!;nJ)$i(ba*ug7k$su2c zM#?2xs%+sag!etTv`^zY0Vjp^)ZoNLv@l@Gc!V4blOm*OPMIG;!T$}KKSj7qdSoQc z{~MtHoIxx59*kmP8OANog&QJ4^$+5{!aLH`rvyJnhz@UD8{nEEYa>SImoG%FFf8(7q@=;79302kW#;!UOw%%Y{U z#`5TfTCZ2@M)O%sHTLyJO)Y6pG_@>z2QMO|R%*>>#-66DLIzsnRZTxo_O!C`<3?3C z8qf5m@)KbO-#|Dflo|)|_t~_7a!{|vgiBC>Yq5Y@*-^`7P2V-NvM`5lqLty7hW43i zRJ2A#X_lS}^N^WkU8$&zno?rl8z3gU19!@mno_5K7%UdyU23_!U)$44N>eow86k_W zqNQrh&~&4$G?iLa)0+aKA1nKNO|7=48W7*U+7K4-D!Lx~sP9+Qx>n*e;WDILh)Jqm zs#5QTEBF>#jlY72^@eJcwTh}Yw5r|^7SqXSRzFqsNZS&A59Q9tB^eL|8gon?eqPT1 zb_U%z2i>DUVGR!F5oSj%0!144;KMcB8AGMLX%-)%MHt@b1Jhv03;<-b>FICxB;Yl) z%6))`vLBGsj?yV$7T-oUV@Jm^%~PhWKP{lkY@msr&G>H_w2+zwu{6o?6k{|17o1YOY42m1Y zWHc^ryy8m*63BcO#=ps+cjKuKe;B(r?(&Jb;#l51KNsW^g$-4tW&?i-NtRT>#7 z@dP{ZYve>(W{|i)7>5348-V% zndwu`Y+xG6*&%9jBxkv&ieyyiTSelZnJ^)eeC4&WdhVn0YehN=Lobkv#plnTM}IA=qSc~xu5_^ZIwrQFHEnB1Zo#7VUo*G3uq-oaSsv15`Czj> f&mOEF-A$HI_xb8GwJAM!OUgL;HuDvFh0uQiW$~@4 literal 0 HcmV?d00001 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 new file mode 100644 index 000000000000..f62df8908f35 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/Io.php @@ -0,0 +1,51 @@ +internalAddGeneratedFile( + ' +Î +#google/cloud/aiplatform/v1/io.protogoogle.cloud.aiplatform.v1"L + +AvroSource> + +gcs_source ( 2%.google.cloud.aiplatform.v1.GcsSourceBàA"K + CsvSource> + +gcs_source ( 2%.google.cloud.aiplatform.v1.GcsSourceBàA" + GcsSource +uris ( BàA"0 +GcsDestination +output_uri_prefix ( BàA"( +BigQuerySource + input_uri ( BàA". +BigQueryDestination + +output_uri ( BàA"Z +CsvDestinationH +gcs_destination ( 2*.google.cloud.aiplatform.v1.GcsDestinationBàA"_ +TFRecordDestinationH +gcs_destination ( 2*.google.cloud.aiplatform.v1.GcsDestinationBàA"7 +ContainerRegistryDestination + +output_uri ( BàABÅ +com.google.cloud.aiplatform.v1BIoProtoPZ>cloud.google.com/go/aiplatform/apiv1/aiplatformpb;aiplatformpbªGoogle.Cloud.AIPlatform.V1ÊGoogle\\Cloud\\AIPlatform\\V1êGoogle::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 new file mode 100644 index 000000000000..8a68f916de4c --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/JobService.php @@ -0,0 +1,272 @@ +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)àAúA# +!locations.googleapis.com/Location> + +custom_job ( 2%.google.cloud.aiplatform.v1.CustomJobBàA"P +GetCustomJobRequest9 +name ( B+àAúA% +#aiplatform.googleapis.com/CustomJob"¸ +ListCustomJobsRequest9 +parent ( B)àAúA# +!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+àAúA% +#aiplatform.googleapis.com/CustomJob"S +CancelCustomJobRequest9 +name ( B+àAúA% +#aiplatform.googleapis.com/CustomJob"¦ +CreateDataLabelingJobRequest9 +parent ( B)àAúA# +!locations.googleapis.com/LocationK +data_labeling_job ( 2+.google.cloud.aiplatform.v1.DataLabelingJobBàA"\\ +GetDataLabelingJobRequest? +name ( B1àAúA+ +)aiplatform.googleapis.com/DataLabelingJob"Ð +ListDataLabelingJobsRequest9 +parent ( B)àAúA# +!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 ( B1àAúA+ +)aiplatform.googleapis.com/DataLabelingJob"_ +CancelDataLabelingJobRequest? +name ( B1àAúA+ +)aiplatform.googleapis.com/DataLabelingJob"¾ +$CreateHyperparameterTuningJobRequest9 +parent ( B)àAúA# +!locations.googleapis.com/Location[ +hyperparameter_tuning_job ( 23.google.cloud.aiplatform.v1.HyperparameterTuningJobBàA"l +!GetHyperparameterTuningJobRequestG +name ( B9àAúA3 +1aiplatform.googleapis.com/HyperparameterTuningJob"Æ +#ListHyperparameterTuningJobsRequest9 +parent ( B)àAúA# +!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 ( B9àAúA3 +1aiplatform.googleapis.com/HyperparameterTuningJob"o +$CancelHyperparameterTuningJobRequestG +name ( B9àAúA3 +1aiplatform.googleapis.com/HyperparameterTuningJob"Š +CreateNasJobRequest9 +parent ( B)àAúA# +!locations.googleapis.com/Location8 +nas_job ( 2".google.cloud.aiplatform.v1.NasJobBàA"J +GetNasJobRequest6 +name ( B(àAúA" + aiplatform.googleapis.com/NasJob"µ +ListNasJobsRequest9 +parent ( B)àAúA# +!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(àAúA" + aiplatform.googleapis.com/NasJob"M +CancelNasJobRequest6 +name ( B(àAúA" + aiplatform.googleapis.com/NasJob"Z +GetNasTrialDetailRequest> +name ( B0àAúA* +(aiplatform.googleapis.com/NasTrialDetail"} +ListNasTrialDetailsRequest8 +parent ( B(àAúA" + aiplatform.googleapis.com/NasJob + page_size ( + +page_token ( "} +ListNasTrialDetailsResponseE +nas_trial_details ( 2*.google.cloud.aiplatform.v1.NasTrialDetail +next_page_token ( "¯ +CreateBatchPredictionJobRequest9 +parent ( B)àAúA# +!locations.googleapis.com/LocationQ +batch_prediction_job ( 2..google.cloud.aiplatform.v1.BatchPredictionJobBàA"b +GetBatchPredictionJobRequestB +name ( B4àAúA. +,aiplatform.googleapis.com/BatchPredictionJob"Á +ListBatchPredictionJobsRequest9 +parent ( B)àAúA# +!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 ( B4àAúA. +,aiplatform.googleapis.com/BatchPredictionJob"e +CancelBatchPredictionJobRequestB +name ( B4àAúA. +,aiplatform.googleapis.com/BatchPredictionJob"Î +)CreateModelDeploymentMonitoringJobRequest9 +parent ( B)àAúA# +!locations.googleapis.com/Locationf +model_deployment_monitoring_job ( 28.google.cloud.aiplatform.v1.ModelDeploymentMonitoringJobBàA"ï +4SearchModelDeploymentMonitoringStatsAnomaliesRequestg +model_deployment_monitoring_job ( B>àAúA8 +6aiplatform.googleapis.com/ModelDeploymentMonitoringJob +deployed_model_id ( BàA +feature_display_name (  + +objectives ( 2h.google.cloud.aiplatform.v1.SearchModelDeploymentMonitoringStatsAnomaliesRequest.StatsAnomaliesObjectiveBàA + 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>àAúA8 +6aiplatform.googleapis.com/ModelDeploymentMonitoringJob"Ë +(ListModelDeploymentMonitoringJobsRequest9 +parent ( B)àAúA# +!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.ModelDeploymentMonitoringJobBàA4 + update_mask ( 2.google.protobuf.FieldMaskBàA"y +)DeleteModelDeploymentMonitoringJobRequestL +name ( B>àAúA8 +6aiplatform.googleapis.com/ModelDeploymentMonitoringJob"x +(PauseModelDeploymentMonitoringJobRequestL +name ( B>àAúA8 +6aiplatform.googleapis.com/ModelDeploymentMonitoringJob"y +)ResumeModelDeploymentMonitoringJobRequestL +name ( B>àAúA8 +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"VÚAparent,custom_job‚Óä“<"./v1/{parent=projects/*/locations/*}/customJobs: +custom_job¥ + GetCustomJob/.google.cloud.aiplatform.v1.GetCustomJobRequest%.google.cloud.aiplatform.v1.CustomJob"=ÚAname‚Óä“0./v1/{name=projects/*/locations/*/customJobs/*}¸ +ListCustomJobs1.google.cloud.aiplatform.v1.ListCustomJobsRequest2.google.cloud.aiplatform.v1.ListCustomJobsResponse"?ÚAparent‚Óä“0./v1/{parent=projects/*/locations/*}/customJobsÖ +DeleteCustomJob2.google.cloud.aiplatform.v1.DeleteCustomJobRequest.google.longrunning.Operation"pÊA0 +google.protobuf.EmptyDeleteOperationMetadataÚAname‚Óä“0*./v1/{name=projects/*/locations/*/customJobs/*}¦ +CancelCustomJob2.google.cloud.aiplatform.v1.CancelCustomJobRequest.google.protobuf.Empty"GÚAname‚Óä“:"5/v1/{name=projects/*/locations/*/customJobs/*}:cancel:*ê +CreateDataLabelingJob8.google.cloud.aiplatform.v1.CreateDataLabelingJobRequest+.google.cloud.aiplatform.v1.DataLabelingJob"jÚAparent,data_labeling_job‚Óä“I"4/v1/{parent=projects/*/locations/*}/dataLabelingJobs:data_labeling_job½ +GetDataLabelingJob5.google.cloud.aiplatform.v1.GetDataLabelingJobRequest+.google.cloud.aiplatform.v1.DataLabelingJob"CÚAname‚Óä“64/v1/{name=projects/*/locations/*/dataLabelingJobs/*}Ð +ListDataLabelingJobs7.google.cloud.aiplatform.v1.ListDataLabelingJobsRequest8.google.cloud.aiplatform.v1.ListDataLabelingJobsResponse"EÚAparent‚Óä“64/v1/{parent=projects/*/locations/*}/dataLabelingJobsè +DeleteDataLabelingJob8.google.cloud.aiplatform.v1.DeleteDataLabelingJobRequest.google.longrunning.Operation"vÊA0 +google.protobuf.EmptyDeleteOperationMetadataÚAname‚Óä“6*4/v1/{name=projects/*/locations/*/dataLabelingJobs/*}¸ +CancelDataLabelingJob8.google.cloud.aiplatform.v1.CancelDataLabelingJobRequest.google.protobuf.Empty"MÚAname‚Óä“@";/v1/{name=projects/*/locations/*/dataLabelingJobs/*}:cancel:*› +CreateHyperparameterTuningJob@.google.cloud.aiplatform.v1.CreateHyperparameterTuningJobRequest3.google.cloud.aiplatform.v1.HyperparameterTuningJob"‚ÚA parent,hyperparameter_tuning_job‚Óä“Y"*/v1/{name=projects/*/locations/*/batchPredictionJobs/*}:cancel:*» +"CreateModelDeploymentMonitoringJobE.google.cloud.aiplatform.v1.CreateModelDeploymentMonitoringJobRequest8.google.cloud.aiplatform.v1.ModelDeploymentMonitoringJob"“ÚA&parent,model_deployment_monitoring_job‚Óä“d"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"PÚAname‚Óä“CA/v1/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*}„ +!ListModelDeploymentMonitoringJobsD.google.cloud.aiplatform.v1.ListModelDeploymentMonitoringJobsRequestE.google.cloud.aiplatform.v1.ListModelDeploymentMonitoringJobsResponse"RÚAparent‚Óä“CA/v1/{parent=projects/*/locations/*}/modelDeploymentMonitoringJobsœ +"UpdateModelDeploymentMonitoringJobE.google.cloud.aiplatform.v1.UpdateModelDeploymentMonitoringJobRequest.google.longrunning.Operation"ÊAS +ModelDeploymentMonitoringJob3UpdateModelDeploymentMonitoringJobOperationMetadataÚA+model_deployment_monitoring_job,update_mask‚Óä“„2a/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.EmptyDeleteOperationMetadataÚAname‚Óä“C*A/v1/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*}Ü +!PauseModelDeploymentMonitoringJobD.google.cloud.aiplatform.v1.PauseModelDeploymentMonitoringJobRequest.google.protobuf.Empty"YÚAname‚Óä“L"G/v1/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*}:pause:*ß +"ResumeModelDeploymentMonitoringJobE.google.cloud.aiplatform.v1.ResumeModelDeploymentMonitoringJobRequest.google.protobuf.Empty"ZÚAname‚Óä“M"H/v1/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*}:resume:*†ÊAaiplatform.googleapis.comÒAghttps://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;aiplatformpbªGoogle.Cloud.AIPlatform.V1ÊGoogle\\Cloud\\AIPlatform\\V1êGoogle::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 new file mode 100644 index 0000000000000000000000000000000000000000..b641b42f5b013f8a290068faa08752bc7680c652 GIT binary patch literal 1150 zcma)5+iuf95GA3MvIr@dmP@6gt*F$r0!I;V4k>bCCvp`W)7Vi#mZG(@Nf$X@%U)Lk zlpo@izkpZ1g0EoLPU1vWCH!Lh%$&2cGjra(kFFx{3U+abW5nZl>V2g@UWD6x?CG0e~N%B!TDD8werr9YFp> zsTU9*3T^&6BFTt^gb@^wZ~Q7vI6*;zIr(PpBn^E=Xb1(NANsg@0&`7~dlXTA^(I`F zWQlI@PPj(Ma2%q*)o|j+Bw{qSc&egIFwOv(1wU;4E`gWaJM!&~Z9Q6c zHQO?)^!Y4r|B^yywJBY96p9EpRWY5&YpnnLDDQVOC&`(UWYw@1UX+LRU(2Ao@R?hL uUGB8M<%688C>dK(inyW->)v)|;kU=DMSGp^@7lWGy6RbGzSVOu2jCy!d16oi literal 0 HcmV?d00001 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 new file mode 100644 index 000000000000..b35e989672cf --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/LineageSubgraph.php @@ -0,0 +1,35 @@ +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;aiplatformpbªGoogle.Cloud.AIPlatform.V1ÊGoogle\\Cloud\\AIPlatform\\V1êGoogle::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 new file mode 100644 index 000000000000..1a1b04b59a69 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/LlmUtilityService.php @@ -0,0 +1,50 @@ +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*àAúA$ +"aiplatform.googleapis.com/Endpoint. + instances ( 2.google.protobuf.ValueBàA +model ( BàA: +contents ( 2#.google.cloud.aiplatform.v1.ContentBàA"B + +TokensInfo +tokens (  + token_ids ( +role ( BàA"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:*MÊAaiplatform.googleapis.comÒA.https://www.googleapis.com/auth/cloud-platformBÔ +com.google.cloud.aiplatform.v1BLlmUtilityServiceProtoPZ>cloud.google.com/go/aiplatform/apiv1/aiplatformpb;aiplatformpbªGoogle.Cloud.AIPlatform.V1ÊGoogle\\Cloud\\AIPlatform\\V1êGoogle::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 new file mode 100644 index 000000000000..cfb116767575 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/MachineResources.php @@ -0,0 +1,64 @@ +internalAddGeneratedFile( + ' +÷ + +2google/cloud/aiplatform/v1/machine_resources.protogoogle.cloud.aiplatform.v11google/cloud/aiplatform/v1/accelerator_type.proto"ª + MachineSpec + machine_type ( BàAJ +accelerator_type (2+.google.cloud.aiplatform.v1.AcceleratorTypeBàA +accelerator_count ( + tpu_topology ( BàA"ø +DedicatedResourcesE + machine_spec ( 2\'.google.cloud.aiplatform.v1.MachineSpecBàAàA! +min_replica_count (BàAàA +max_replica_count (BàAX +autoscaling_metric_specs ( 21.google.cloud.aiplatform.v1.AutoscalingMetricSpecBàA"T +AutomaticResources +min_replica_count (BàA +max_replica_count (BàA"¥ +BatchDedicatedResourcesE + machine_spec ( 2\'.google.cloud.aiplatform.v1.MachineSpecBàAàA# +starting_replica_count (BàA +max_replica_count (BàA"/ +ResourcesConsumed + replica_hours (BàA"= +DiskSpec +boot_disk_type (  +boot_disk_size_gb ("= +PersistentDiskSpec + disk_type (  + disk_size_gb ("L +NfsMount +server ( BàA +path ( BàA + mount_point ( BàA"A +AutoscalingMetricSpec + metric_name ( BàA +target (". +ShieldedVmConfig +enable_secure_boot (BÓ +com.google.cloud.aiplatform.v1BMachineResourcesProtoPZ>cloud.google.com/go/aiplatform/apiv1/aiplatformpb;aiplatformpbªGoogle.Cloud.AIPlatform.V1ÊGoogle\\Cloud\\AIPlatform\\V1êGoogle::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 new file mode 100644 index 000000000000..cebcc098c564 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/ManualBatchTuningParameters.php @@ -0,0 +1,31 @@ +internalAddGeneratedFile( + ' +þ +?google/cloud/aiplatform/v1/manual_batch_tuning_parameters.protogoogle.cloud.aiplatform.v1"6 +ManualBatchTuningParameters + +batch_size (BàABÞ +com.google.cloud.aiplatform.v1B ManualBatchTuningParametersProtoPZ>cloud.google.com/go/aiplatform/apiv1/aiplatformpb;aiplatformpbªGoogle.Cloud.AIPlatform.V1ÊGoogle\\Cloud\\AIPlatform\\V1êGoogle::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 new file mode 100644 index 0000000000000000000000000000000000000000..b4ce21284c9b1b31bc90d1eca9cc6f516580927f GIT binary patch literal 2973 zcmcguPjB2r6vw+sn@pf2hSJ2SFf66nM8r#i1d>CFcAF*yDajJr9Ke+|Ymava9FG}~ zlZGl6?i>)`f^WeMl>-tS;ZTX5_z0YMGxq*zvWZwKv6rw8hDInR2Q*EHPw{56u}vijh$QZ&MsaT| z6t~_(arc*35%MFFrg&SSeVT)zhX}(j$yyQfaVm*~zZ)#|Sj;3N5&IfKTEiiUQVIZP zWy37?CF3zx3cImSs|z^CRI)b`4iv26u3JsT3NYes#gdAcMD99GeZdmRMH56Fr%h## zOZBC?P?%M4EX38^N5?ti;Ue$gpfRo;nJA|})!rXcsbHxIWQ^)DY z)Q31v@pi;$EJxGXU^EIEv_lRV7o(}}(V}ktwUa|i0@4uB2g42P)Ggg&MWX6K(96pP z6mqr4q~diR{WOj2(JI)qa(P=#StBj`7+(cKjoJZpz;Xuu-fsN{9 zqxQI7`n$e>-1&hha$^ucYD4qaG}U(sJ#!At1T=~GF%6*Az_iDL*^&YSBbULNU^JaA z<8pOs<-LN~VMN)({Iov-{bTbwx|-L&7iLl9sqv6IJqC6rtUpRM)`5w_~<#afhPOL6hl)hix;74YSz2%DU_1=3c3;(^m{(ffNI6gxVePh zN~rLB!H)tKw>=`IV69A2@0561i&v0E5*U~d7|hT!GKz?C(?&N#LG%>!B1%Fp<^fGT z$zkFW0fUzxQXyDCXU9R_u;x%1f;CMvPNJkkbPbfW*NsVZS&;ZkaIErs30*yvoHT){ zLe2YVCI()|8`c4uKJAH#PzkD9w}`ooCc6nr0ZRotN~Pu0L9ls8R=zcmwMR+tbm{!R zjXH(OEXbR5vT`52I@F&c=eH2*wL~}BBlN_|cVp=J!F${M*+4HmRS@PoBh-!_XV&rv z8hIR*d*A%_;6rQzIck;pEi4(%7ZYop9 zSTz4M&`U$;GcO!{LllZZZM}a{WJC3e_&(S1-K#X8DL!$wG9gN9`%!)F+zaB@y4{g7 zNu65l=;)~Mzju3(Om_0saH+c(HhwYCYjCq%5Ncy)ux9k~)igf4m0!5|{iN@vHXmF# z!6+oR?`YCm9enwrWNqpt)7Be>UEgXJtE#=f{HS~A7AvURKXzdW{i}36S9Tn&?Ku5& k$Jt+QU4kN#{N4H9dhvF?)(vcd=Wc*nGT+or&uhX8;vl7Hl2FJ!Ayp**@NAl3H4^jd@4$PI%76g;h55~gB9DMv!Q~B=O8|!Y^uzw z$`o@nL>%>fdxED(4#5F%(G>e0vN3EM^}{&FYKJ&hBfzn=6vsNP?gL;u$oFBAdmO@n z3joE>n++UdL!Toq{&tApCobUxIpnjTRf8ks_*g((%^l5Ln-l87prGg4xUvf)%piBi zqhbs-m^5YtlMz#~Ixfe|MUK_PzRifoDKkW>s*W*F=NX(-cH?UUI5L8js7F=3(qs*C zHp8p8L&z|nF?T=gI{;XuPu4YK(>!9e2zG{bJVA3pnW`>XEkSN7J;L!i|G6q1he^aX zIhuOc-x!YZ3e%2I4r;R%%}Vf)JlD6VTxx(_x2`Ia&;Q@K;m{nB#M15k|g-JfIT3q6&x zK~UNP`RKfqOOmtF5h%pT{M^H(4G}5s)#RHA$mSu9QPW_g-)V^jw zWo2>EJjBj?SvZig-jhTGr%%}CzH$*iEfj~^!T_i%&XUJPYCy;08^t0rO${kHSc!** zvX&5@Eb2cq;IZf+8Rj(#t8cA$X9PZBWIi55xyfb)i!ojGM?p?l`^lo>m9>P!+GAr(fTT$bnW2 Q>qfH*Gb2k`fCT`50Hv7|jQ{`u literal 0 HcmV?d00001 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 new file mode 100644 index 000000000000..cfb6f2b04135 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/MetadataService.php @@ -0,0 +1,274 @@ +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)àAúA# +!locations.googleapis.com/LocationF +metadata_store ( 2).google.cloud.aiplatform.v1.MetadataStoreBàA +metadata_store_id ( "v +$CreateMetadataStoreOperationMetadataN +generic_metadata ( 24.google.cloud.aiplatform.v1.GenericOperationMetadata"X +GetMetadataStoreRequest= +name ( B/àAúA) +\'aiplatform.googleapis.com/MetadataStore"} +ListMetadataStoresRequest9 +parent ( B)àAúA# +!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/àAúA) +\'aiplatform.googleapis.com/MetadataStore +force (B"v +$DeleteMetadataStoreOperationMetadataN +generic_metadata ( 24.google.cloud.aiplatform.v1.GenericOperationMetadata"ª +CreateArtifactRequest? +parent ( B/àAúA) +\'aiplatform.googleapis.com/MetadataStore; +artifact ( 2$.google.cloud.aiplatform.v1.ArtifactBàA + artifact_id ( "N +GetArtifactRequest8 +name ( B*àAúA$ +"aiplatform.googleapis.com/Artifact"› +ListArtifactsRequest: +parent ( B*àAúA$"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.ArtifactBàA4 + update_mask ( 2.google.protobuf.FieldMaskBàA + allow_missing ("d +DeleteArtifactRequest8 +name ( B*àAúA$ +"aiplatform.googleapis.com/Artifact +etag ( BàA"| +PurgeArtifactsRequest: +parent ( B*àAúA$"aiplatform.googleapis.com/Artifact +filter ( BàA +force (BàA"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/àAúA) +\'aiplatform.googleapis.com/MetadataStore9 +context ( 2#.google.cloud.aiplatform.v1.ContextBàA + +context_id ( "L +GetContextRequest7 +name ( B)àAúA# +!aiplatform.googleapis.com/Context"™ +ListContextsRequest9 +parent ( B)àAúA#!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.ContextBàA4 + update_mask ( 2.google.protobuf.FieldMaskBàA + allow_missing ("q +DeleteContextRequest7 +name ( B)àAúA# +!aiplatform.googleapis.com/Context +force ( +etag ( BàA"z +PurgeContextsRequest9 +parent ( B)àAúA#!aiplatform.googleapis.com/Context +filter ( BàA +force (BàA"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)àAúA# +!aiplatform.googleapis.com/Context: + artifacts ( B\'úA$ +"aiplatform.googleapis.com/Artifact< + +executions ( B(úA% +#aiplatform.googleapis.com/Execution"* +(AddContextArtifactsAndExecutionsResponse"— +AddContextChildrenRequest: +context ( B)àAúA# +!aiplatform.googleapis.com/Context> +child_contexts ( B&úA# +!aiplatform.googleapis.com/Context" +AddContextChildrenResponse"š +RemoveContextChildrenRequest: +context ( B)àAúA# +!aiplatform.googleapis.com/Context> +child_contexts ( B&úA# +!aiplatform.googleapis.com/Context" +RemoveContextChildrenResponse"` +"QueryContextLineageSubgraphRequest: +context ( B)àAúA# +!aiplatform.googleapis.com/Context"® +CreateExecutionRequest? +parent ( B/àAúA) +\'aiplatform.googleapis.com/MetadataStore= + execution ( 2%.google.cloud.aiplatform.v1.ExecutionBàA + execution_id ( "P +GetExecutionRequest9 +name ( B+àAúA% +#aiplatform.googleapis.com/Execution" +ListExecutionsRequest; +parent ( B+àAúA%#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.ExecutionBàA4 + update_mask ( 2.google.protobuf.FieldMaskBàA + allow_missing ("f +DeleteExecutionRequest9 +name ( B+àAúA% +#aiplatform.googleapis.com/Execution +etag ( BàA"~ +PurgeExecutionsRequest; +parent ( B+àAúA%#aiplatform.googleapis.com/Execution +filter ( BàA +force (BàA"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+àAúA% +#aiplatform.googleapis.com/Execution1 +events ( 2!.google.cloud.aiplatform.v1.Event" +AddExecutionEventsResponse"g +%QueryExecutionInputsAndOutputsRequest> + execution ( B+àAúA% +#aiplatform.googleapis.com/Execution"Ä +CreateMetadataSchemaRequest? +parent ( B/àAúA) +\'aiplatform.googleapis.com/MetadataStoreH +metadata_schema ( 2*.google.cloud.aiplatform.v1.MetadataSchemaBàA +metadata_schema_id ( "Z +GetMetadataSchemaRequest> +name ( B0àAúA* +(aiplatform.googleapis.com/MetadataSchema"• +ListMetadataSchemasRequest@ +parent ( B0àAúA*(aiplatform.googleapis.com/MetadataSchema + page_size ( + +page_token (  +filter ( "| +ListMetadataSchemasResponseD +metadata_schemas ( 2*.google.cloud.aiplatform.v1.MetadataSchema +next_page_token ( "… +#QueryArtifactLineageSubgraphRequest< +artifact ( B*àAúA$ +"aiplatform.googleapis.com/Artifact +max_hops ( +filter ( 2±: +MetadataService› +CreateMetadataStore6.google.cloud.aiplatform.v1.CreateMetadataStoreRequest.google.longrunning.Operation"¬ÊA5 + MetadataStore$CreateMetadataStoreOperationMetadataÚA\'parent,metadata_store,metadata_store_id‚Óä“D"2/v1/{parent=projects/*/locations/*}/metadataStores:metadata_storeµ +GetMetadataStore3.google.cloud.aiplatform.v1.GetMetadataStoreRequest).google.cloud.aiplatform.v1.MetadataStore"AÚAname‚Óä“42/v1/{name=projects/*/locations/*/metadataStores/*}È +ListMetadataStores5.google.cloud.aiplatform.v1.ListMetadataStoresRequest6.google.cloud.aiplatform.v1.ListMetadataStoresResponse"CÚAparent‚Óä“42/v1/{parent=projects/*/locations/*}/metadataStoresð +DeleteMetadataStore6.google.cloud.aiplatform.v1.DeleteMetadataStoreRequest.google.longrunning.Operation"ÊA= +google.protobuf.Empty$DeleteMetadataStoreOperationMetadataÚAname‚Óä“4*2/v1/{name=projects/*/locations/*/metadataStores/*}Ù +CreateArtifact1.google.cloud.aiplatform.v1.CreateArtifactRequest$.google.cloud.aiplatform.v1.Artifact"nÚAparent,artifact,artifact_id‚Óä“J">/v1/{parent=projects/*/locations/*/metadataStores/*}/artifacts:artifact² + GetArtifact..google.cloud.aiplatform.v1.GetArtifactRequest$.google.cloud.aiplatform.v1.Artifact"MÚAname‚Óä“@>/v1/{name=projects/*/locations/*/metadataStores/*/artifacts/*}Å + ListArtifacts0.google.cloud.aiplatform.v1.ListArtifactsRequest1.google.cloud.aiplatform.v1.ListArtifactsResponse"OÚAparent‚Óä“@>/v1/{parent=projects/*/locations/*/metadataStores/*}/artifactsÛ +UpdateArtifact1.google.cloud.aiplatform.v1.UpdateArtifactRequest$.google.cloud.aiplatform.v1.Artifact"pÚAartifact,update_mask‚Óä“S2G/v1/{artifact.name=projects/*/locations/*/metadataStores/*/artifacts/*}:artifactå +DeleteArtifact1.google.cloud.aiplatform.v1.DeleteArtifactRequest.google.longrunning.Operation"€ÊA0 +google.protobuf.EmptyDeleteOperationMetadataÚAname‚Óä“@*>/v1/{name=projects/*/locations/*/metadataStores/*/artifacts/*}ð +PurgeArtifacts1.google.cloud.aiplatform.v1.PurgeArtifactsRequest.google.longrunning.Operation"‹ÊA0 +PurgeArtifactsResponsePurgeArtifactsMetadataÚAparent‚Óä“I"D/v1/{parent=projects/*/locations/*/metadataStores/*}/artifacts:purge:*Ò + CreateContext0.google.cloud.aiplatform.v1.CreateContextRequest#.google.cloud.aiplatform.v1.Context"jÚAparent,context,context_id‚Óä“H"=/v1/{parent=projects/*/locations/*/metadataStores/*}/contexts:context® + +GetContext-.google.cloud.aiplatform.v1.GetContextRequest#.google.cloud.aiplatform.v1.Context"LÚAname‚Óä“?=/v1/{name=projects/*/locations/*/metadataStores/*/contexts/*}Á + ListContexts/.google.cloud.aiplatform.v1.ListContextsRequest0.google.cloud.aiplatform.v1.ListContextsResponse"NÚAparent‚Óä“?=/v1/{parent=projects/*/locations/*/metadataStores/*}/contextsÔ + UpdateContext0.google.cloud.aiplatform.v1.UpdateContextRequest#.google.cloud.aiplatform.v1.Context"lÚAcontext,update_mask‚Óä“P2E/v1/{context.name=projects/*/locations/*/metadataStores/*/contexts/*}:contextá + DeleteContext0.google.cloud.aiplatform.v1.DeleteContextRequest.google.longrunning.Operation"ÊA0 +google.protobuf.EmptyDeleteOperationMetadataÚAname‚Óä“?*=/v1/{name=projects/*/locations/*/metadataStores/*/contexts/*}ë + PurgeContexts0.google.cloud.aiplatform.v1.PurgeContextsRequest.google.longrunning.Operation"ˆÊA. +PurgeContextsResponsePurgeContextsMetadataÚAparent‚Óä“H"C/v1/{parent=projects/*/locations/*/metadataStores/*}/contexts:purge:*» + AddContextArtifactsAndExecutionsC.google.cloud.aiplatform.v1.AddContextArtifactsAndExecutionsRequestD.google.cloud.aiplatform.v1.AddContextArtifactsAndExecutionsResponse"‹ÚAcontext,artifacts,executions‚Óä“f"a/v1/{context=projects/*/locations/*/metadataStores/*/contexts/*}:addContextArtifactsAndExecutions:*ü +AddContextChildren5.google.cloud.aiplatform.v1.AddContextChildrenRequest6.google.cloud.aiplatform.v1.AddContextChildrenResponse"wÚAcontext,child_contexts‚Óä“X"S/v1/{context=projects/*/locations/*/metadataStores/*/contexts/*}:addContextChildren:*ˆ +RemoveContextChildren8.google.cloud.aiplatform.v1.RemoveContextChildrenRequest9.google.cloud.aiplatform.v1.RemoveContextChildrenResponse"zÚAcontext,child_contexts‚Óä“["V/v1/{context=projects/*/locations/*/metadataStores/*/contexts/*}:removeContextChildren:*ú +QueryContextLineageSubgraph>.google.cloud.aiplatform.v1.QueryContextLineageSubgraphRequest+.google.cloud.aiplatform.v1.LineageSubgraph"nÚAcontext‚Óä“^\\/v1/{context=projects/*/locations/*/metadataStores/*/contexts/*}:queryContextLineageSubgraphà +CreateExecution2.google.cloud.aiplatform.v1.CreateExecutionRequest%.google.cloud.aiplatform.v1.Execution"rÚAparent,execution,execution_id‚Óä“L"?/v1/{parent=projects/*/locations/*/metadataStores/*}/executions: execution¶ + GetExecution/.google.cloud.aiplatform.v1.GetExecutionRequest%.google.cloud.aiplatform.v1.Execution"NÚAname‚Óä“A?/v1/{name=projects/*/locations/*/metadataStores/*/executions/*}É +ListExecutions1.google.cloud.aiplatform.v1.ListExecutionsRequest2.google.cloud.aiplatform.v1.ListExecutionsResponse"PÚAparent‚Óä“A?/v1/{parent=projects/*/locations/*/metadataStores/*}/executionsâ +UpdateExecution2.google.cloud.aiplatform.v1.UpdateExecutionRequest%.google.cloud.aiplatform.v1.Execution"tÚAexecution,update_mask‚Óä“V2I/v1/{execution.name=projects/*/locations/*/metadataStores/*/executions/*}: executionè +DeleteExecution2.google.cloud.aiplatform.v1.DeleteExecutionRequest.google.longrunning.Operation"ÊA0 +google.protobuf.EmptyDeleteOperationMetadataÚAname‚Óä“A*?/v1/{name=projects/*/locations/*/metadataStores/*/executions/*}õ +PurgeExecutions2.google.cloud.aiplatform.v1.PurgeExecutionsRequest.google.longrunning.Operation"ŽÊA2 +PurgeExecutionsResponsePurgeExecutionsMetadataÚAparent‚Óä“J"E/v1/{parent=projects/*/locations/*/metadataStores/*}/executions:purge:*ú +AddExecutionEvents5.google.cloud.aiplatform.v1.AddExecutionEventsRequest6.google.cloud.aiplatform.v1.AddExecutionEventsResponse"uÚAexecution,events‚Óä“\\"W/v1/{execution=projects/*/locations/*/metadataStores/*/executions/*}:addExecutionEvents:*‰ +QueryExecutionInputsAndOutputsA.google.cloud.aiplatform.v1.QueryExecutionInputsAndOutputsRequest+.google.cloud.aiplatform.v1.LineageSubgraph"wÚA execution‚Óä“ec/v1/{execution=projects/*/locations/*/metadataStores/*/executions/*}:queryExecutionInputsAndOutputs‡ +CreateMetadataSchema7.google.cloud.aiplatform.v1.CreateMetadataSchemaRequest*.google.cloud.aiplatform.v1.MetadataSchema"‰ÚA)parent,metadata_schema,metadata_schema_id‚Óä“W"D/v1/{parent=projects/*/locations/*/metadataStores/*}/metadataSchemas:metadata_schemaÊ +GetMetadataSchema4.google.cloud.aiplatform.v1.GetMetadataSchemaRequest*.google.cloud.aiplatform.v1.MetadataSchema"SÚAname‚Óä“FD/v1/{name=projects/*/locations/*/metadataStores/*/metadataSchemas/*}Ý +ListMetadataSchemas6.google.cloud.aiplatform.v1.ListMetadataSchemasRequest7.google.cloud.aiplatform.v1.ListMetadataSchemasResponse"UÚAparent‚Óä“FD/v1/{parent=projects/*/locations/*/metadataStores/*}/metadataSchemas€ +QueryArtifactLineageSubgraph?.google.cloud.aiplatform.v1.QueryArtifactLineageSubgraphRequest+.google.cloud.aiplatform.v1.LineageSubgraph"rÚAartifact‚Óä“a_/v1/{artifact=projects/*/locations/*/metadataStores/*/artifacts/*}:queryArtifactLineageSubgraphMÊAaiplatform.googleapis.comÒA.https://www.googleapis.com/auth/cloud-platformBÒ +com.google.cloud.aiplatform.v1BMetadataServiceProtoPZ>cloud.google.com/go/aiplatform/apiv1/aiplatformpb;aiplatformpbªGoogle.Cloud.AIPlatform.V1ÊGoogle\\Cloud\\AIPlatform\\V1êGoogle::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 new file mode 100644 index 000000000000..bfb232d4833b --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/MetadataStore.php @@ -0,0 +1,44 @@ +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 ( BàA4 + create_time ( 2.google.protobuf.TimestampBàA4 + update_time ( 2.google.protobuf.TimestampBàAC +encryption_spec ( 2*.google.cloud.aiplatform.v1.EncryptionSpec + description ( P +state ( 2<.google.cloud.aiplatform.v1.MetadataStore.MetadataStoreStateBàAV +dataplex_config ( 28.google.cloud.aiplatform.v1.MetadataStore.DataplexConfigBàA4 +MetadataStoreState +disk_utilization_bytes (8 +DataplexConfig& +enabled_pipelines_lineage (BàA:uêAr +\'aiplatform.googleapis.com/MetadataStoreGprojects/{project}/locations/{location}/metadataStores/{metadata_store}BË +com.google.cloud.aiplatform.v1B MetadataProtoPZ>cloud.google.com/go/aiplatform/apiv1/aiplatformpb;aiplatformpbªGoogle.Cloud.AIPlatform.V1ÊGoogle\\Cloud\\AIPlatform\\V1êGoogle::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 new file mode 100644 index 0000000000000000000000000000000000000000..42e10effc4510607b4e7c9cabec434012ea1ed1d GIT binary patch literal 2822 zcmbVO-EQ1O6ebC2yQhFsQ`FRL(xE?eD-~Oz6%tNUWOv&Tk&sZOL9~`EuRXgN@OmtJ zHd2Z90k}lsjyFI&3Aele*Lj4!;>`GGH@ll<)7xJX$k5tc~D)GooHf^ZSM(0Eqn#%@RMLWOL8ip~4UGqPwZE+-DNY zwJR+5U~L^Bi2N)gI~C^30uqja;9t^hMl2wi@CE+dWtqofCYT?wU+{Swq~%8$MVRrs zt!^9$#$zH4cH@B7ACMeV-o2Y}495m3o!gTU!sxhLv7l+}M{a{=LCO-r(>=UuS#2t+ zxXPXSgMwDVu@RFjn|dm5};SD+zFwx6Xw2PGzuMh=pQkj zTGrrI1CX;!%b3n?RfS`pVMc}DNhaH>Fn<1&6+yGZu!_+O6j;4_m3-rU_+tqkzl*Xo zJ-0HH9*uz>jiWXFdV%OC%seef{Z?_L)IDzbiNrDyHRm z#bBM2!B!9ozXW~*9~Ho|3^OX07Zmi9cYM+h(PJJgdoTwYWxddX5I*r@cX{M5dJC1u-9(7nR+!c3<6k8pKT*0d$K zMB^~wsCgxZnr6bqQXMjPHD|SN-+=3#sPGPjnHkt}%_8yoYq&g=F0^0FGcUDOb4cG_ zfg5?|MiEqgH61i%;Ds#1&ivMseOD#7rZ?fk9J`33_6RQG+g18={M&u|7OYIhFO6=( z)xzjBhfHow|7`(2mN!QdhS46Os`u@Ca7QAQG8ui)OoZC6b3i1@Ky7{;bNnXIu+&|K z?_a>m^h!xgXcdzxbHY1};XS(~Dm>MHpM#szE@<0uWz4%=Db8BoHsE16B_5-6+Gnsj zhITq9vZ!kgz@@VJIe#s}D(Y=YB%EvGO-l9ry}8#<^T?GA4t3k+!y^F78K;0j4^Eov z!~gs_uWzakzM($&hP|~{3=hV^+TZ1&TZ{wl;Mm21;ADO!H?}NgZCQhJ%ffT}`zeK` zJ;pxp6AeUW9v7>gsVW6G)Nju$Dit@1Rqw=pHND)voPZkf04EY2BTl&-r8=?S{9l<_ zvm#5$U;{_CVufCB&sJIYCU8uGJ3gl{znux!ti;=>o=|O-wcBf6Krq1{-LK|_hxyDj RG-91OUa6b;5Y&Snz<)_(&Q|~c literal 0 HcmV?d00001 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 new file mode 100644 index 0000000000000000000000000000000000000000..7c275e016949a72fa9300690c20544a57dfc05e2 GIT binary patch literal 4948 zcmcIo&u`mQ9LFi`)^9Y}yp6RPUEQ?X+Oj!nHqhp+Lr%MuYRww8Q;{Z1mgBsn2FEtG z({7AjhQxs@@K10-95{i*eMfd17lb$=IC9yE_sfp+b4eM!G|7A4U!U*i`+eW{ZocpB zdN3=kAqV+Jh$>R~kreJC$@AUNHCy?SOQu`*EF1Z*xXU_be01R6T%W)KTCWCX&`l zg(3=#iV+&x8r7t&5KWpIYtnX>ZUC6J5d=~((zwkO!efx|pVuhcmMH}xwq{CmR-jvs z6Fn!AlUB864DoPE7F{b2~`2}v4sI#ilJo8aeI-FdVLcf8M)+NbDVZ(QBP``klWog*bl(cCrgC zG)4!bY@=7BZ_^{yfWaF)m<`vd`3=XhoSGJk4}txbXKLFxV~rj%l!BLUS)6ccr4sY& z4ld03m=S~@7vcMJkRQGx#SD{?X%)-ODwg+_GH19x!?SRe6PBvJjda zz+|AX2N*9BNB-q;#4hoS6-ID|vcCho#o}yV7rzkTLS(mY>&U5D4$|vx1=;!@@&nu& zbklXJR*j}SoxeZ46C7hyv~N@OMWTI&DPN(wKX^^_;cVoG(Fk4a3v+@SCkaUB?;hT` zN|jR6vCTc0YO_g>UuDs2Q%s05Sigdi_lNs?e97RsWb8$cBMNcRtUV~#TB%vieUYMZ`;VkB|&7F=r z0Z+I%4I-1QSOK1$9_eH@V%1OCnsH%*yVa31F%P3un7cAd%}v2sMwxb#G}}E4(uyVq zh0H!=S`4-TCB6qocviU4^VH}xOm#QPrNtRI#pU#tNMpmP%+Djh2RuZix+Y4z*>3+G zYX3aU67>;t+Cv}M3qkx*06w@P%D*NX4K`b$N*gZ&oG#Lk4*myXM$IA#2%qs#g-68- zi6!qdSm4QfxrDe0Cpu!{S-nb8mElsQ5322s6vp8QZ_?R^FxBI1;D^+Qkg2nBi%)s- zfu3N|QFUb~M44>%ZvoD545FzJ|7R!T^>+4LpyzdB;AuOsImEalzZ=yWW9-}ubq1z; z3({i4Vt3&r3$x`crUgFqQCv6)Cpc!67_{uKBXFTB)bThP-LS-aaJ)ute3q%#`K^oQ zJDtDU4{17aT4tv{3*N*75V>d(cN%sWoz10w>IQRGE-}qGcUW=e9|4ZF{36c6DDr*R zr@c0v7bBB+mXp~;oy;1YrwW5+Ex{8ycohcc$x2)U9NNRoDMw+90h)g@3db3n@$A8G zz2aX2O!gcD#hVclU8Z@trx+iRGRudQ=GC|LT;)UYlV^W?m0HQ(A};}t*_^zL@Bbem zGYoQzxp+p-EgtZOo4m*cNNAtDT0YkS+ z6y1`C=+^1>3jp2JJWr}pE${{;{O1hXrlCuoule}jn&GL2W%!0>8b9J0_N1<6dIXWz zWxE4Q_YK>UD4=HPWaFvCbyC?i$Hp`7NufP;>IQT{t77@YwKTI;CZ6sZj&Hkl6fG2b z#2-43{$=B7uq{<*bfpb$W1(=($UVt-2PC??B)P;NxYi41H&t*s{A!Kymh2d-k4$5lm}Q;e+=5d1 zrLqp9x}+O`KAQj{!xU0I%%K3WF%faDo@;I(xj9L4ln#OPN+8X;8+M9(Cy05l{^;tu z#{wIyKDoN;htcB#*?%oVl2w*42UE0liZLm+F)L&M&WY<`ZmC8`d_@0NoPH}O-^vN$ z0W5@T*bp_3c;aIzfuNVL6fWp4!FI3G?ZhXDPVHoJ+!nquo+LNSq+)`qji3h(Hthf{ z-46W_<~oLl#dM*vW5k)ss5mYxL8=pURXmTFpew?MBU_`3D{N7LwBwSFq5G<*pOHRJ z5OIpx@o9L9FxiQ3tLeCPUMb!WPVg65=%5;C{G481USwW)28- zQBpVo(Hl69?cyX=$!q$d(jln%o_G&KklM+G@NxFBK<5;O+h;KD`6?{>u7<7M>Zy+5 z5Yw=Tc!ycJgOT}F-h^k7dgF1#QuA^+w)4#ZS`Uyy3FbmA>JN5X%ri|}Z{^spa%&wv ze!r?v#W!|a_!j1M+w##Y;<7>$XPJX;K4B?@(H2inI3-|qXs&N`HH;_?L57*cd}_kl z$fvv^^oiwTGvL$9Q~e7EQykF0^E+SM>|Z{xsE%*|dQH^8UA+lUM!Ol7Gr$bPS+DiT zFpw!)OI&&jq>;2e@W+YIjl`crDq44UnZItVJ48k6ZT@zsZ(!lw?&*mOECV+ud5HUF zG|c%ivD`43!#T)<{eYPXz>@76Jp*ZGFz}eVEK|2T$tr%fS^#FhMrv2k#<0tUMJ8^d(jbYy zgT*!uiC{~95OIfXx_$GeMTD{q`Dy4$VmO`ddPsb{u0cH2`Oy=1QQZtb<&`xmTICc2^FzD zvUOPGVv!Xg3oFX^_1bY$E*>gssdm&Rky(`&PxDOqd31JN$MfSNaMMq&mSb_U&qwDK*CMGgi1=n&< z_#Bd~G=k{0*4d<5g(vSHFD#ETKgVF&MnIH_5k^)$Cbtf1VO>eSB7o#TL^c!qxc z0rrl$9r4O=XgM=E2Gce5yC9?&oXj@7_;;-a_pINvIN%Zc3V0vP; z72CPpJHx z@bi-2^ihfh>oU6mONW}<;|&7uhQ!5|ON7NJm8CTo&+ft^i+(gxn0Jf(q96385&z|& zXON171u5fvq>)h?F>D<1>>F4ZL;nm5=Leb;rGGM;V7JjvK2XeoNB!XcaXdFHLJsV8*9}`>Ns?# zhZH%WAW7jlB#3p6?3c33?4%4U5b+?;p!;JQP{de+U+9SA&e3S zrXhnnBbw=-seFmkQ|6&B0D7*Yt9-}V-?L)@1kPd@<)gP1+!v`Ht=EU4(L*L4UblyV z@y;|1joK%D+r3add>m5yZ81fg7MIz>LFMC695^a!X%lgdsa_3Lk7Ma|D#+n4hll29 z&ggE5&aS`|^{sF}%A~22*cB+5{V5I$ENgh%p%Y!GLy9*Z#(G(T&+ojLWbPFWxyWxy zdnqf^ZRdjZsG00Pu=!qxIJUc6%C6=G(jL!^fdb{&pF8>ZCl}zz4f)&zww>KSo}{CBScu>@soy literal 0 HcmV?d00001 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 new file mode 100644 index 0000000000000000000000000000000000000000..1db4a9e3056ad18f9dda0c91bb7fac13a6436b33 GIT binary patch literal 5652 zcmb_gOLyDG6)q{umM(2sM*M&j$$@D#mKB?<)E?KRW4C-j3SEk1Nl31H*n@!Jh(ZDa zC>~1L9G%mBSKV~eRTka!w11&LAdCEkW}S6cUG>fbBqfowB2^oaoVnk8bKi46{<(MP z!9!(-IK($X(ox!dB|IdG=ewb6y0+4e4i1Q~m~PLrY~p7WrBqX@HBC`VW$giq25#h= zB&T#;w`-HEX}eJ;YgnFbga@wQ%N}iJdv1r=dWU$n+wT!4)O)UDg|2ToUHvn+oneOo zI7W{Io?#MYr(W14q0uoyqqW0uTSbc7$`5c``0kQ?|W3GO^=x8XD|+Hn;3Y1GPHOT4IEq!v+Q0@9-WS|AeTd7K0UnG`N0MrSc)*B zQOg$)ZK9)@;ROUW3qv?GdfxeE8=l#s`idr)jYZhgSC)vUe5W%ApKZ)Y>jQ_U?*9n> z^8kKv*;FJgbA${_W|?6!%N%VkF9~$Rv$DPj2%f=~e>CM_GVppmK(`kXKbs~a$ktB1ddrR+Yvq|)>lri2h6d= z>IbJ+!`OSohI?Xz@0nT3G!l1D|8o&mrX_vp7F?m#L{2D)_4&fgxA_@q39fgn0LxNe zXG_U=DJgvnbHwR*F8Y`}!+zfQHlO@&ehtziw&!Hf>_G;rVOA9q(sP()YLu^_=)%@o zhHo6_JefE*a7sN`2+Tv$iEP3xAU_i&viX%vb(=LTFu z)97Jn%eNTer5JfYI4-Y}23KvPP3%BUUBW>zGh`|ZMs-5JFZ~2krjHeX=rk+J*BOiD zGb{!Lm-9xc$iuc-NZmM})C-Ut^81k4ktHK`pSyFW+N_NHJ5aI~kfkqkw65IRxchxlMWkbAIG-qtWV<+L~fCDGgVt@}fYd zUN1`ZRS&n2HH(x1bAwQ5uRyQT~C_1U#EuCMQN6I=s}yXrfs@$bKn49cOLVWKMv;#UGFP3v$8>4>$6J zH@=Qwn{%B0*9?3(k;#epmp%ocq0e7BOw9{hmDnT3`R@5}GZnYnWKU(O)q**eUHTq3 z+``uD|IYy$B1-SWdndD_?it}BZ)`BFv>y2cQzte7*u8qLgQ1FKcopJ#{D}Agz8hFS z!<(mc0p^GNm*H-uhW=CAYZOoW&2^a58u>DF59T;cwXsiqC7FH+*ARnIl;Ji-(B9Th z%TvE=;Ao+!alcc4U9TVl0Ods=Q;fcZ+)i>0t2F>4Vh~A)~?K>DEF7U+$eo z7zWm<1Ji#=pkgP|i^EXV(C4ryiZj+w91~y&Gjge|$z_HY_f1%cCBLwoj{Ak6K3OjP zk1Mdshz-fpY!Kw*bS>?{{6HhZ;V)K52TEZ^9%}>EbxU{P2Co)Z^L3E|3=?d^V(hm zOVBUXHyH4D;MVA`rAB#M!;-TCa=bCGX^nDWPb=4|TxdpGg{5(;T=+`i-wC*n@3ko^ zEj*YQxLBm>bfQ;J{N@$U{qf@tUw~bAbk2znLmYJu3!&G3G5Y22$>kk3$;=e#Br}sQ z*TsZ1v%mRuyx0l T%EEEmnXw|<$%lW(a18K2k=uNj literal 0 HcmV?d00001 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 new file mode 100644 index 000000000000..8c595847da40 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/ModelEvaluation.php @@ -0,0 +1,49 @@ +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 ( BàA + display_name + (  +metrics_schema_uri ( \' +metrics ( 2.google.protobuf.Value4 + create_time ( 2.google.protobuf.TimestampBàA +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;aiplatformpbªGoogle.Cloud.AIPlatform.V1ÊGoogle\\Cloud\\AIPlatform\\V1êGoogle::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 new file mode 100644 index 0000000000000000000000000000000000000000..f3a1655b55be93e2ba8a2287f561d71d60d478d3 GIT binary patch literal 2635 zcmb_e-EJF26t4eLWgITLqLphwJCsUwrF0huM5_%6*!gQv(^yTE3Ru+|ugCV#_3mnR zoDz!PfeWsA0G@#tfEPgGitD}scbxgzUAJ+6l#mN&cjlb$ob#QZJzsnok7D#O-k~Ao zM9@C&onSGdIOdUv{3yV^$zVV^_M>sk0?KWSH}~jRT z@q=j6cL<9EA_fs3JI76D9QA3?rN<Ox^#hbbsPg{q<}+RofCFEgLGh45RS7bV&!GF5 zlQ^b4nXjs9;LbWT8E^IbS%SBrMH*R3WP)y?U*AJ_&)6GQT`StEsqDO|?BizrssSZ2 zbGXTrZmIh68|=|M9Y*>CBdyvIYS~E?=jQhMtG6O0)(BjCRp6OnPv778eG$DsuT!l{ zs4QE*R=|bEV!QNDt7LtRDrz*;if~q4`P|mn^WwMXVcKd2XsqkV8dJfUpL7#{M8~8% z;jC85jV+^#Mxa(!=B}jXQYP#pm{?T9eTJ$&r!XSBl7L!8Y1B_?WM!wd9-vER_~o?M z7L@LCsyipSCb(Qjq1FGcpo)snx`Gz_;6|9hq?#qrLKQg=sUpyj`VB&g)NT?}UlCAU z`ReV)U!JR)S^aweING5<%4ktJB#*2o=%OEm12#;+r4r3S}>o-tEfml^k3ZiE!=S6D?l}BtiQrRxn*HJ~OL3J!a53_KnE$IRQ^OsR|5JW_n zW7%ZI`xi1BKcS^rzNM+B^h9f0-=$>h)_ibovS%{s7Vj0@UkWc;KNryKl+)c011_;) z|8VAYy!8Z{^?T}z#CdL>rcMy~>U#rc>El!{A#kGlaq8sT2%P0FQ%Cg*oT>lQ_Fn~b z4UE4b-1gOZj&2uWDv$Mnq7||I@pl%(H{3!XJ39R)_2q8xq)o KOT-jS5&93cy=of( literal 0 HcmV?d00001 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 new file mode 100644 index 0000000000000000000000000000000000000000..b0f090b78a32547e62734758e3fb5c420d0b1c06 GIT binary patch literal 1974 zcmbVNOK;mo5H97kNEb-q5-1`INU~LoMll*PN}CHEJD@CCC16{E6{|o&fLKv0Y5|(d zE|)Trz?YnJ%P;7qhyIiRy|n11K!6;2>QCsY`=B0%WTUArA~`eP%zX2D@-!W%;4WqrXpV?MdA}r9&JC5n@A}1Q})%5@Jhv03bo9I7?B8VY}Nn#2gI~M}Av@ z`Fj$~cV}RJzrGDX7^5tMhZ3}{FnbyjyaZ7E(tHq;5M~^4@wZ8`fFy(y6q6Ssza2P2 zafSuVvhFBPLQZG`r9meNaqT|Tm{NB$rGk$gI1R2VDH8PfUcxa;Q0zBx7BZ4@%DO_; zaU#rT#L6$V`-NKxM@F!wV|1LQAa@{VIbQS*A;Uap$+n7H0-VpD{1w!>De>JTp^^of zWR5e>X%2Cj;a*H|!avMrpWt}dz+*Halzo`#F)o_uKL@#@G5oHqdp5>Qb;jxlR1F{O zlA>bna5yW_zG&~-j8aMPJ@D&w@c4iAwOP?-mKq0ZJ`UETUb$I7qLhenkxc7hsN7i) zj3k}Gpy0Dm*jP|t1!;xoVIf*Ie`+EmGl7~!ZBcz^fN~r2i?ki%A9I{>a~E8blUX*P zQTw#<@V#65$K3+8g+#PJkwa#Qwtg~zxomH40@yui z9C*F&TF1d*r`b9P`d;h%;N+;+ZS8scUaPtOk$D?bR%$iep0~Gdn76>jO8NfD!NGdT z{0dZ;#I56=*E!P8G|bwg*Ck*sFEaCI1AM+z8uQz$m|9XVDp}dO%IYFNRr^m@mHpN4 zf4wPHO(>W5OW6lI>2$a=@G|HgRBvjytL>T{|kWB&6%K zDHEnMWzj`DU3A+;*R1*gong~eU!iZ%C+M*1{m~z`5o8G2M7h#A=R4`h1 z(6H97F-7fFs;FIx6t(X!UkA`F&G)4Zs&FIH2aiD_KklGonY!d-4U=CNOAbx0s?NFlN&jSY!QyKZCT*_zd^ zAYb=Pmw4ACpDIcZ;V7c?WN|4lOVycOX^~@8lo60OBSvB>_<=S zF>x!oW_t?-Sy5t#V)=1WW1`)zJIYvj7LThp&A|JTVMNZZ5soZI@F>{J@ZSfpd|+~j z1uh~pKFKkkiG!g z1xZ+(Ub!Q`+Ps{uRo)I%R=7s-R{@qHGp>gWlW|S;AEIwm17Qluu~nU6%4eAUuMWX} zGcwg8mMWp4!1t#D%q74Wp4r8tXtE5=gSS8vqo`05!!UM0MBkEHVUs%>2VsJlU4IL+ z)mSNaxbRN~W`%b7r!VF;fJ?;K(&hSH))#zFoZ&Kjtz4JNGzk^jNH=)mc5 zHl`u_5bd#YI3+4Dv8!1F6jY~!=vOkI3Iz`q-o&p%wfX%7T!`5)w)p%gK#mu_M5Z|x z?X(cShKuP|WdzzzwHqEZB8;KjhyK!aOfy2O&s7huN`K z4wVf)Tzn(f4%O(NN8!{+BNFG}9I~~Jh14$6$Yh7qF!6|1LSb=Id;+t{uGk@y38~oO z^?RG)U<8hwI4K8q3O{7w^q6z;8e~b+3#veBuOi)!48_>weVw$tRhSH0UY<`C#WWU& zz3yctKM8QkjmDa=@6ni@TzQnH?lm_y;VZ9-X=WbDx}gejNN>p{8t7pkU=xWVtICm6KoxA3SZpht5UeQ zkZHB&Bo}cq#FAY+o^9RE_2eJVGKCu3yk)iv%B6ZUSmEXS%YTP2+reJmj$gOQX8v#H zJQr3JCaoy(dqpAdOU?nwAl@YZB%te>Uwj-q?H7}T3rIs=Cr?$Kb7{YGj7VYUlgrUI WdWEmniB0^KTR8iYFUYZnknRO~W>ukamkegJzwXZzg6P z+iQE$W~&PAzVL_;;*FJ%5MsqUPw)T|*Ybe0AS5Co^y#CNql6OYG}r1Yh& z{hi};e&>GXd-IOB;lX)z5j)s7LtInWx7Bb1tDf(MZq>Eb^=7?}eYNUtdX|m-qN>iX zsPC*iR2Sx#9-bqlf!p+}SXUda+puw|YP-!^$+SG%4C}7HS=yQ^ZMrpVR|4#BSyfzQ ztN|Qz69=AI#p>ef>@p6`ni-nqMaHE(N4b=Zh)em=)NO#OZ3cn5Ou0Sa%-|`guggl0(ox?lwr%dtYsw5<<`N;7KRv;#~S>^@s>I@Qo}9hDNSI8{7;N##80*$bXa zAed35SgRBjf=GGE39;{(c6lBLRp0VL*Iy+^b-jVZ2uu28{F3-AWoOmZaW12-?-FuG z4gDrgeqB|495#LDHj|q&cozMuoC2ERS!Kgef345ctYhk-K zi#NTi2g+Xo)5=9eIq*OqBFX$Zs+?vvpY5(5si#r_yA zx%;DM0doK>7C1r#?E_`@fP^mIAIBAsX0M(EyYD&;zv(!Z(O>YUOSzqd*cQH+vwd1TY=@S?OMg<(AW z3S)5Sg`uERaFji(SheB9@#E`om>(^WXZ_RX1nV>>FES}-3AX|ogX5w@shHKO+a$ss ziI{2*j3xAn5{B$s&^vIVL3=2xTGS)zTvs9iyvK zH;&_lFN||=HW9bndJ&3DJ#-pQaGbWVACM$T@uJxDQN<5w_u%*<4%ty@uj}v%ZO??Y z$`_frx_?Rgy#fRGt$;HNB)5H7|0{5$ZrP;Q;sT=q==015t^}m98$LvIIE)Ygdlb6w zV~4v3x(t0jHft5?nanl%r$?n3r1KV|?2AsoQP;0wzp}o~ZLYlsD5-})e+rH;AOix- zp@S)LR?7Z$?y{3P`dn$ z);P@_LFfh?#ZSyl&&C0B`Tpq((s5IYba6qP)tq=fYD{_H?Ux5*cLI@zT=J544G5OtVuZ%qaEUjwV?gC0EoDV>mNvR zMPG+6yUoyRhLx)8)UAf_kK5V)(f;}33ga=ySTKhk{euF>l26evoWM-(3Z3B1kQNM9 zaL_$CY5Jj6H>+W#Mk>3-=Np!a`==+eL|Lo`WLTCI=m88^n>3Xt+0b;MD>iLhd&d2|_o8-_kY zDhx*8i?23)i+z-ra$4y*sEOAspnP%G467Td!m>3)R1u6ek*8P-{5o9f(rm{cMUP;Jb&H8{kI!zrNc2x% z=|Kf19oORNf`iHI1F@e-p_7Dg%Zafr(0R#T@OB#K1+>4gZRR8dI1rPCm- zfQNY^CHzO^%p`b|xk|eGotEjTchAv&rNFCEKOOUru-|(;#hpLPimd~~LCsUzcVH}C ze1Z5~7-)A!Ia2i!)}4o|I-J>U9_DY-M)NH;+N1Moe^x+E(e%Jm$^XY}-&5dRhBm@@ zU+bLK_*C3;TI*=X=}%NR#&Ws%xd**apg*w}LB*`}kT@vJK6+Z7Pb|TTQ7P6wQl1-E z(>E`f>z^G%EU6}$Uw{19&wo(3p-s`>zMk^!)eKoXd>dE8pfpj6mR_ZaXZ*LZKyR|8 znXXKrA1ZKEIxor$2YE^=*L~Ba-P$qOP{t&jL=#Lxy6Wj5pAe4-iau2UBJT*$Wr<|k zSQ?*`vSk`7d7OKhc6-MVE5jC1bAgHem|R22-3rQF#6=>=<5KYJx%7;wg#34tK;J?) z^8>BhWUP_=&@Y(7M+=W`4j&zq;^***2RjB&$CHU=2t)nW^c5yIbLwI)H_`bb2K~4I z!<}XglsU3?qLLbQ3E`iS5MJ&+=b-%Sk{yHV#2{JH=3_{@1`P>oY7sI}$zKA+o`?qe zb7I=Wq9fb1iGw+Tu%8=O;1qAc_;#MG^NZ}KDm28|MTt+Yv6D_aInhgY_!n8sC1e!- zi!!5U_xYTveYj86^ocimh{qaRZApzjQ(!P(&cugxYyXLBR zdX=nZsD7U-a4L1WMVU*rR1&FoW)H%;vv@?&YCFb|P>EHI#PG}1n%C}hS1ay1N@5@* z(^a7JDUGW6X#v#4oZ2P?Z@*FI8m=3)RDM3oMY=N)-N5#aai#+*VhU&AtZBZb)bn~+nOs%4}{vpJPaBbGqrMLV5GjMJFFNf^F$DZo&AsIBZ7 zB>@tFs~xA`kOC$fY9S+Wy6ghB`@BS>rQ-fM9 z6?-B2kCOQ5G&Y$?VQ*$>mjXX0llsl|?OJ>^^<2Izi(9Pa_;s1w yWBqsGG$+<|My>1ddtHAtwSI)%P`G+Ay52R(Z-yo=l6JgA%1-jjp3mSJ!2bZ&oJ(H- literal 0 HcmV?d00001 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 new file mode 100644 index 0000000000000000000000000000000000000000..46be5f7bc39f9560958b7dc96f872958f110705b GIT binary patch literal 4737 zcmb_gOLN;)6t0~(B*$rz3Q~-xfCzo0JY*7BP_+%nj^c`m9b-Eg%9s(deC-HiN$Alb zbh2l`4`9QR4gY~93s~?ASaiXvYkmOd-YeNkYg|LfCYJ7bpYJ?$?|k4Ld+@qgB@Xe8 zko3gvi5MOe(evHVHC>GAKko9TW ze&m>;z3o0)4uema#X2;Cv3W_IP1#HfzxpLjGgEsvPzlZD2#5Ey0qChlRO0LJ7sp4fx{< zY|dJdLXlHStahbw?Me@}iZ8`d49_b0F@IA9c6+{6)*!Xz?7I^;=F2Ou) zVTFvC*<32mJyPa`mteVP1=#aWbas?Yj&K2hID8GGO;)*84T;h6Y5m4z_ zL4}n>gd2rk6c%z!$mX+!958xr3S(avFLF*z9XGm-v%*J&ca>VytzmRA2LgEc( zUTU$-b1!ya!8W?Y4hqZS9A-{R2q#oaoH=QqF{n=Hp9mFLeFEQwi%jDi(*&LEg+d8L z;uu|<=vafHZ<#o%b!%u0&}ZMkj_(W#D=2lboGWA=DVgHikWU+thq*7w2}i7O5poX< zJ0b;!QaSs6M*jS<@)?M!%IE0Bq7Nh-{iPWBw=mUT5Hk!)5942_CEGP|0=o{rOMafx ziH``vS21o+H-65-3QB4FIH7lO=3DlpIuZap!^h&nQ5$gk1R0hCV)*7Ux{Az&ITpRC z=uH#}w;<2r6SMN#n~7EaF7sIVHUpbegOYZq)A`TQq47$IisQ!I)q5;hryD;40QyA> z6B~ojgW@o_H~^;iOy=uw;&w##w7tR)uzT!a_@L8kB(tWUI?VRL1>c|MaTxgy+$1q2ip4Fgnu zTRX1~CX8jl83lnSE5NYD0Ii=>ON(KiWreDu%_u7jU@e8`^gyYdQ(c?3k&(9I?->AG z%`s@q&&#mHLrC*KntNG+!2H0)nxuI9ACfmxC{wl~`*_8BtT(qgh#;4&raV}ryN&r!u? z(dLya{*Zx{v$+!X;e|9P&gsQ8J87C@I}s6mpL`YJY&&6y=kGTxcz#0Z3)kSa+Tng% z)7woAlc(%g51Ly0UhRnt7U6PJ)#`f(&5Bx6>ur5sRho6JUd4Q_LcZG6cJ&s%s@z-4 zmR|sYcBQkeZ{zzcEc4#RcOSvTh^9Iv4Nts9Q6T5H?@UW`T2iXHU>8npR`)Ixzt5!o z9vurG!o@Vi0xTZ7M9egT`2O($ET^(dhvL5zP+o)u?(fE5Sy)7eSe0Wqv*}u%6LymI zkQejR^(2wPHYLIht-__gh2O{ekQhPalOe$Z;KRCeV_J-BV|p&>?Bd9W_A|H5^y0|Z z<7csK^dUz#JtC~brB+*MKiN+%!ctTH_)u-NvAtw)H(5|BZS6>1%hKl3Y9BNj6q<9m zQ7yF&D-~7UMZ$Su1pqOuDlM(Nude0Fzh>YS+@hw$pq%GGYtYMvM&{EUzFa2X2)Ka_ z-1MaiE@pVIGG0x*?(Ou$PuXIXU8hLwJ6lq;MtmJ39c}%V9CqT%md^ONgV!yOvoCXI xS!Ud_JU*A@qpj`&?m40R?v2qW=Ue<5BX#RRzcVcSgn#PBgHiH(iBmWQ_#5?K4DA2_ literal 0 HcmV?d00001 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 new file mode 100644 index 000000000000..300e7f561cbc --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/NetworkSpec.php @@ -0,0 +1,36 @@ +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;aiplatformpbªGoogle.Cloud.AIPlatform.V1ÊGoogle\\Cloud\\AIPlatform\\V1êGoogle::Cloud::AIPlatform::V1êAa +!compute.googleapis.com/SubnetworkinternalAddGeneratedFile( + ' +‚ +4google/cloud/aiplatform/v1/notebook_euc_config.protogoogle.cloud.aiplatform.v1"O +NotebookEucConfig + euc_disabled (BàA +bypass_actas_check (BàABÔ +com.google.cloud.aiplatform.v1BNotebookEucConfigProtoPZ>cloud.google.com/go/aiplatform/apiv1/aiplatformpb;aiplatformpbªGoogle.Cloud.AIPlatform.V1ÊGoogle\\Cloud\\AIPlatform\\V1êGoogle::Cloud::AIPlatform::V1bproto3' + , true); + + static::$is_initialized = true; + } +} + diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/NotebookExecutionJob.php b/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/NotebookExecutionJob.php new file mode 100644 index 0000000000000000000000000000000000000000..e4ec1b9713de91f00df736d7a01151705bc70812 GIT binary patch literal 2896 zcmbVOUr*as6kkZo#tntyvd%N@I6mk6&fnkh+4?Cw57D=Hj|MdI1nuDV z5Q}q)!-xw`xR2XOw@V{Tct2!5jVz3Jj_~2pDc;>VIK2<1F;5~wZQSF$=hGVTdD5wQ zEc89m#3?9iA*EEGIyfvRoy zsK|>e->j}_w-SzZ@oE~QZC?s<8;dBRlio3os7Rt6xJZ)xEv8RYA8LXvzt+fnMKtUeuigW)gbw38tqEhDvz-@cOpLA#r4+ zNnC8BdjIeV)17W~I(cKC0X0_hR>;Pzpx@`w51+^hqna98icHp+OxB=YUDBXl$ZC=9 zP)eoh`Um_0;aoXtRO{Z;x{8D_!L^Pqww8bMzFcG#)e2u}g(xI737o{K;K4r?v{*z< zgQKdXw%iJCL_;1kV9C%;hs-SF(rRVnz)E3@Qn!jwtsM<{oFks7jkN!n;h{S{61(~O z(VlK7PtA|^v`6ABg4{(9-R-c55^>4Pg7UKa(Oz~G+$Bd0IV*W0Q4+{@xPtcOo~2OE zG&ff+Q*#bn&osY(+jxZP6T_2M7Um|lV4c@87sn~ssm9tb877*Ob>oQ$6X7NiGry3C z`%_Xf-r-41BXdSc%El6!ho1vRsOu5J0n;?JXaU_&VU<)^<^LLGV-d}ESPZcb(}<^} z$astv#^^FZh`_uFqRPfnR>y2!t!z0M&(YnOoYPL?zh8%G$C&Kt?NDZcUYyvx25mDwq`&wUOBZNvw3Yq?(UWg+x?#PNr$jD(z~f zo#%L(aW1z?LZFbgx^+FP7iik|+SHHDJGcy`+{)Y(C6o=tL-@LieCu9~hkG(qX|h){^H@tMtp0 zbkwrd4$G&internalAddGeneratedFile( + ' +Ø +>google/cloud/aiplatform/v1/notebook_idle_shutdown_config.protogoogle.cloud.aiplatform.v1google/protobuf/duration.proto"r +NotebookIdleShutdownConfig4 + idle_timeout ( 2.google.protobuf.DurationBàA +idle_shutdown_disabled (BÝ +com.google.cloud.aiplatform.v1BNotebookIdleShutdownConfigProtoPZ>cloud.google.com/go/aiplatform/apiv1/aiplatformpb;aiplatformpbªGoogle.Cloud.AIPlatform.V1ÊGoogle\\Cloud\\AIPlatform\\V1êGoogle::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 new file mode 100644 index 0000000000000000000000000000000000000000..e7d1ec027f508dbe41004b3bd074022fbe661f10 GIT binary patch literal 4661 zcmb_g-Ez}L6s{c-$lCcqghufYDpEQGhR99Iw2UY)cC0uag6*-L%+OIsBg^YpjVx*O z69`Nmq8GjBWp8`g$LM9BfNS~^J-b@TisQHrkegW2p6{GJ=R4n#_Q&T=&p}@cWo%(r z^KnOLp9p>r3yy31wr-n3JLq5dn)mlrCOO@6gF!k)f)v+WT+V-J| z^SWsVoxEl^rsj8Tx1T@W%v-jP+qQkAx`E{zeJoORgeUBmHh zw+>4s=@9#IM#-J^`^+tYGrGch7^5Ve3-YPpy8%vm7X%mkfonaXaT9>k_?I#wZw1Ft zb_{HGinym88@4M+gIx_kE;4OkR?vy9MifesE!{nFNJ^Uy)+di(6xK^k?->@30`oo% zt&08EwtMvHVMQF21AW`Jy2jxr#>FUI>6p0L3;d4#+WMThtW{dLPdXE_*_}MznD8xV zUZ8H@8Es1&W#gH_+M>|u#9goh;;|m{mazC9`ZtF*FRdC}E;JFT(1-(}5sx=>D-2F^ zjJ(T;9Ewfu+cBPS%vRL{x-yHcF&6!hlWOF|V>TOOY^;!ZNf(dCEssPK2fC_LhA}74 zCb2SrN2 zQ8uaxDIq@%k1|`zJu!@R6k9|lEJO;5Gw%zj_l0Th0IiTAq&nF349~}wuR?%Fv}pV_ z3M!7ntjBgGFr&~AUy3WDY_k4*c7pg4QbjhI;+D~ZhuvdC$Ev35HVi+04sd2kQek=? z^7HhnhGtByjZKeV5T+mt&&LIPL7l`siXdCQd&0HQ(kMFd*Xbs{p9KEAtZ@Z|2Gr&` zinTEbR;;+(Bb3oy405It3i60zdEaG=V}Dl?hY0lH~LEg3h*iG%qY zU_ZZ=kGzi1C2=^(U=}m3jySJJ<~8o9$9>kR{1Of7;W*GHvpVR9b0S8Bri!=*r11Eg zzyjJ-DQ+7r42d1TOg%jq=jrS;&uySgk{uZ|b%ak?L(ie7FZy{JzhMrk4Xim| zGlqV;_E!ci47uj6C*>)m3#2oucL41d?uDHlLnpTZe1XLAzBN~MMVljBvLrP_4qO&vI-<(%%M3LH-U5L!ly~w#2~2g z#3{!ryGT{`QrSrM&tvGxH;w_HU%={6$UP>lM$o&nT3kZ*H;&e zfKWXqBKY|c5EJ2yT&)b`YWKWc-GYr~wk{!8p%bX22MPAN2KH3vt;eqpDmnDb;BUvz zE~#~EWt2$}9XQMH%7wkwuG(xBTC%!dZPw-O%1%WtEq=je(ADtitHl&Ihi3Py(Pet= z_Y}$|`N*xJmBxOxRe332gawbQm1-HVuA{l43_r=rMhkqUlecR1I^3Ef?whUf;tI#1 z`Osv)UTzdhuwa^-MbmPlQEM!A$l6Nvps-gdEn?~2hr%0le_}c3UVNmAk5KQ^2S1}5 zL(J)08Y3IUr6K=yavV@k{q!uH{Lu?1%(X*1c@P5Q4$eXbX>;07k{5rbb7gw+A<~av zu~4bABNXvq^Y7@P!p=pM!D9tZMn0rhLt{yz){-=ME=dQQ?HQinternalAddGeneratedFile( + ' +Û +>google/cloud/aiplatform/v1/notebook_runtime_template_ref.protogoogle.cloud.aiplatform.v1google/api/resource.proto"z +NotebookRuntimeTemplateRef\\ +notebook_runtime_template ( B9àAúA3 +1aiplatform.googleapis.com/NotebookRuntimeTemplateBÝ +com.google.cloud.aiplatform.v1BNotebookRuntimeTemplateRefProtoPZ>cloud.google.com/go/aiplatform/apiv1/aiplatformpb;aiplatformpbªGoogle.Cloud.AIPlatform.V1ÊGoogle\\Cloud\\AIPlatform\\V1êGoogle::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 new file mode 100644 index 0000000000000000000000000000000000000000..2eebcbd6383a66e745576ca2e06003a794565231 GIT binary patch literal 9848 zcmds7O>7)V6{aV<5q^pFFzxOo|*Ev zH{6$gODOOwC+t?Os=B}kT zu`P?@;+nX+_E;<~mL882QO9iAHLQpY(`+MuI7@zCUmEw8@j7&P5s-%umy2jYdV8-(=45kjtAR-ROk51~FGJ!%JR~q>i5R9eopKxJ>Bqbb>zVUjkfN z(Ve9A9Jb&wV*4tb-qxF>BKmkQN}wXKup z0(ukS)lOX=tF?1S`jG&y$2#f=`A0;{#y897= zoAC+mI!yIUa9-8A7?b4xmxT6R7>hTR^4Jo5z7rvgzWRY%GHq30ES9!TESlehOPf~1 z*6N)!bz&=gC_wpI{2DJZOGLOFzbSG>@{5%84Y;`BYIbJ@KQYJrP=Kp(3%p3LT!yi@ zErmY$lK|t!dD_zGgAMw)S?V_?2Q|^KofywenysU)d@Z->Gb_ZmbszrKM7FariUn zDvYO1&Z`@x!mxlQ!0VMJ>Rj4fSsBjE9=ryxuzk^%Ci+JPE=5zn<2H`oO5>hXQR>y~ zC8mLEE65?MNPia&)Dn!aopr9?=LPyuT?o1cZ-mh5>;NQ>5MKP=??3%8^Hu4t*HC^Q zXj&jg&UbOmb#l|Wu=kLg-VYnj9b0ykTEf>crFf`PF8GvQFZn#=@To4|*HGrQ#{exigtU|ytA!p9jn7ki&ZUrfuD zSP|x|E_gX0oIBU91{ANT$7}teTI`!+kCHCs+P9?n0l3ytG{04&2-E0e0nkxuL|;gA z-qHEYbNyUlr2?Nsx6!QtJiSvVDJlEtw*s7v;VlQxfOE0DmJaDy5oS~uNben!0&hP7>BOHVCLP$wVx&$HS(!TGT(wBI^%%i~8UQ&nOvtI>172pC-&5;S{ zZkknzV$818TSbaAEea2!MS+>wV^N42@^5ngiPAhjo}LrQa?H>!HRAa(YsCEY-~rA) zJWwwresK6im3Lg%a+F-|>C>k)*x`q5t>x|nPoCan51#U$kk%Oa=$(R#e3<<7w!iMZ zC|Vc3b}zVG((8iv<-B3?uMo((_%I)DYd0h3k%%wnBQG97dX^$())=c%Z|M~UiweV%f8^K#8?r9StSn~8L=2??J MGkAWq5BmWB1)Qp~!Tc#)@1?i;`TH zTpD%@|4=_AKhW1c_Y?ZmS&|Zk#!2HBi!*a(&deMRzxzI1gzzQlvw%fZGM7wmh+Hrd zMnVclcx0N)W-KC(@I&sg$ROl+M24dYv5p6mFAy4wByyNZ=0eOp)^d z{PtC+EkYL1kQ-@IfPnfe4ynUPf82Y;Bz38zc0a}2M+$FuS9trPa{%CYG>*wA%LBgy z!M`w>dfXwgq!Rx<;qfI8xa8F1zhNJTWJbN1A@=RqSrRysi-0J=C~#Qo8Od_0*e9XD zz7NTg(O8WF$6yZv$)bRI_A!f{h=)={V+=LTIg_gaDog8GURI^!Gt$a9n&w+14~dKt zwqBi(h{+@h4pQDK!R_joeaF1IA-7LB^V}X=&?_z?(=56wlH3JdHFkz19CPnnc>Kh1aWJV2Yl1q>2dSTOH z%gwiqg3&h%&qLS@63?Sk1k};InI(A+8!nsC#FP3Xv~KP1E*UL5F)pZ=P~fco}=gM2xK8tjaDld>&k8*oTO%6n1)@+jk55eWyLm;l%3WLq$FGMx&ps?yylsX biWg5;=jeHMS=SEnJCAT0nVrg8xCQtZW(FeD literal 0 HcmV?d00001 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 new file mode 100644 index 000000000000..21a3741fc0a1 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/Operation.php @@ -0,0 +1,36 @@ +internalAddGeneratedFile( + ' +€ +*google/cloud/aiplatform/v1/operation.protogoogle.cloud.aiplatform.v1google/protobuf/timestamp.protogoogle/rpc/status.proto"¹ +GenericOperationMetadata1 +partial_failures ( 2.google.rpc.StatusBàA4 + create_time ( 2.google.protobuf.TimestampBàA4 + update_time ( 2.google.protobuf.TimestampBàA"i +DeleteOperationMetadataN +generic_metadata ( 24.google.cloud.aiplatform.v1.GenericOperationMetadataBÌ +com.google.cloud.aiplatform.v1BOperationProtoPZ>cloud.google.com/go/aiplatform/apiv1/aiplatformpb;aiplatformpbªGoogle.Cloud.AIPlatform.V1ÊGoogle\\Cloud\\AIPlatform\\V1êGoogle::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 new file mode 100644 index 0000000000000000000000000000000000000000..870851844f441eb26310f908f1c0716c7f68a461 GIT binary patch literal 3921 zcmbtX&2!sC6tC)Gi~hJNtj_g)hP1D5w#`F zN(zKd4jdTx2RL!%#Gk^Q6Eh6wUb%7N?XDy{cIpJkCD!hHzxVdN-+OQO!KdDV2iMh2 z>QH6|w59GHslfqNJ>~|k<#yD)aDSgN)pEO@-JwiV)s3pURozz08H;j zyKcKf3s%PsTLshhI%cr%vTosUwct_a+kQZuz+hC$Yr+74V|J;#)iHfvttFWC2ohd{iho|X*Rd_t56l4nE!nn`#`>^J|@wt7h4;*pbIW+VH6L|FE8$)`9KN*fIb7 zXi1{BZRA>DcD?iK);+7)KqiH6u_s7z=aC&zpxA098GnN1vXbP8XKWdMT!4H3rA|m* zYH6anv|e>-hpYK35u)kYg_Gr#|7e6Unk2{YF*~v#^J^nCx-tbx4f~PKwMa*lG*(0* zhyxu7EJOm#vkIK^VWheE$0U&9LM9hsjQ53{qADv>rSzZ047mc+E!)SYa%70DRJ^5- zGR(%uHh7KtxiK}pl3iQTq}kJgro}wsb;&KH$WzF0-)Js_(6ejzMrjZGtZ|l5j+7=h zAVV2*S#BJWvTGzp!s83E(3f)eAZsy-Y6cHjZbC@sW9c}WT0&c?br%5rWPwzgJf9Mp z3O#JCk*TTkX;opoWA0ImD2Ryav2Ul)P&*|i&xCT>3D^<$T_GRCghPX`T=puLMHi+@ zH*oduq6+Wx`4R>+GJsU}HC!reNoh>Z+yGy5)8Y)bM!9sd|40`aa5-TM3mqPL!T;Qh zz$=Wxi%C;1^y;zm5wX*TOmOI=B}9Jnp+s z#2Mi#$%Py zm|@hzn}=ywF7hLn#{8!RJ)U0pK~cy9n8FVBN|J3%kYj0-kqs2?F$`G|`pAfrHh6;( zHqzvCm^Z_~^)0;UIBjV~c9i?0tn>#*EA{{q%lYpWm>bw2*WqHhZKrAt7JAt<>zs9Tzc*^_9CKP&J~e1g8BBro6+uOQo^hG~g($bfL`*)?rc zKpIl7DAkfM5FI8N4j-R$gr79Kc6}5~-8@Qk7yn9OMac#7E=<{7vrUbV**zXATR(@b6Em&CZTNkyx48`Y18TMm$8Avzqr8Skrdne7$o@h$VUC}) zO9N(G^1yP++&sexyuPDGa%}P#O9Fv9ZrhhIAmTQvb|8zCpuW!&;9~~P4sR5z2th+?p!yDKC*e)!SFuP=uAk}MOCZB!Be&ox zb%&vzHVc0F&5(IJWG70!3L|f^1*V z-y&7|O%X$S1O-Y9!#%ymA4xUki%0Ut5MRh}vbWv-MinternalAddGeneratedFile( + ' +š +/v1/{name=projects/*/locations/*/persistentResources/*}:reboot:*MÊAaiplatform.googleapis.comÒA.https://www.googleapis.com/auth/cloud-platformBÜ +com.google.cloud.aiplatform.v1BPersistentResourceServiceProtoPZ>cloud.google.com/go/aiplatform/apiv1/aiplatformpb;aiplatformpbªGoogle.Cloud.AIPlatform.V1ÊGoogle\\Cloud\\AIPlatform\\V1êGoogle::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 new file mode 100644 index 0000000000000000000000000000000000000000..fff5823b50d24747c167828bb77369ed05e5a05c GIT binary patch literal 1040 zcmbVL-HO^k7_An1F;^n=Mriq#-J)CCi1en!y2YO;0jr_9mX<&mi2JZY!Lld6Lkl3*1e9cHRWISCpF%=A}h|5j$w$&6=5JqDX zM3}Nvl0a}q!#m3~K`6!>k_a3U7-Ga|wwAu)T3?~VAJKkYV z>ls$`1A%@-y3{=&QCR8M1x*4PQ$;bO-}Naw5Mh=O&GfJ~O5;#b9zzD0#vy53Le81h zUI?zI(t*7`FB_B|lJCZf$QUz!K$1{Wp}6#Psco-`D#n}rXj6p2h z$BSR(+Q_8YGHJHDuD81#)}nR4-}HA`_Yd2?PWzwoiyUm*25sAiecN8Nme0&JdRH&} UeUr!LC}k%TW-9YAZP6B?zlUH}N&o-= literal 0 HcmV?d00001 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 new file mode 100644 index 0000000000000000000000000000000000000000..e804e667e7914a2660f681525023de8a6c043062 GIT binary patch literal 6383 zcmd5=OLN=S6*fh^cxX`)qSy#qx3Fx-vJ-<5opwBQlnzNzGF^pYCEAM)I~WkWq+me+ z1`jogN57-1F55+aLw`a0C%Ws5*Ijh7>bWln)Ptd-cBbA~#69Ob=bn2W-@RY`%0KYo zfwoOt5||O`YrPXKIv|=Kc#&s$j@F9@0}^PKcjVg+33N@{+|^pU9j&q1?A%Ay(2E0$ zRJ5Vz4INUl953#dOxt(NXy64$rQ`LIZ~MftU1GfRdOAY}aLpqU`ldy+?RM=O5}AE7 zGP~Ohq+6#T-D(2TeY^e=z;etm)Y<~brykKx(1 z8kbV!;yUYd`dOdTkJpQz2q@FHOM$2--tUS}##k{$(FoDCF`^c)3?cc&7)g?(zY${o z3yr7aG-Q$s*%xDEla4;%sciTxmxX3&5>46)iBR}-jKVQZOCk4DA;)G2cH&aVa!;)O z{QPPp6HEx)6#{{8p(f2DzOeeQ0_0_J;#^UdVVce-HKS$La<%L~s##?PZujjFr`n0Z zmZs>E@+IW0fZ#?9YD>-H$9%b{b2}Uy-PDsz=UC4H(0mYarRm9()?uEweXcSynF@Lr z`#4vHce9ge>9CL-FHIeFj_KXKuq$5p$_C7^vsC9%u26m=s(CGor}bP4 zj`J67={roT;YPuU@(mP%*rjJ~U`Y<_p?aHH{l%nUdt4hQ9V#nzSUgv+>Jr0yIu37i z!YOxQF(kpUZ4tw?EDsH+%Lqb~bj~Hw@4etqRp^J>gYT;v{ESk%7)y{REB35V$4{je z7gdU&U=Kq;(l>112uycKLiH1jS&kM%M2;xMBSsw9>PO5@2bPnsM}pC*D{LQMj@yS! zijIJkY>=N<5f(!0fb?UB@XEWx_P~mA6+ZR@GH~qSL1bW~urb+jN{4C@W#*}Vrugp} zSQw4=?*M!=!1_iO7h;XmEND#PAkBgiD7~HFu)L^EsTt)ytPHKt@Zt!=YxM1aSV$00 zRMs)5Pg6=CmJ$!B-!Vou%lvqKLqFIM4|$R{p)lH>RoZF_<@HHyjBpgC2aC2#wcKn=|kJ?7dx0OYg;B zrzOX;c=?sy%Rf((yB{i1+0;$&boDb(CFc3sR~BLJ7|Ro@nN8K)>W2(0OKAk-tzW5O zB}q&{j@a?%%MZpy5&JH^Vek&K1uF?g5WBRa(?yXtljAh8E1Kb<7-h1e^>Kd44Rug2 zHOyB3muH-8HRA#bMq(mzY)dkjjtK%$Q%$|gNb#O~*MzjmFHtokDQYShKE7!zjjfeL& zzP;bT9G`xYW4*j4;x3z=DahhqGouB;{ipmp&2TASpMZZSc|b?_P< z+?LaB#||UqE6B;wCK<@XaWRt0EWX8ekWa;Ybn3lM_w{`Fx{;TLsF!Sp9K!ANY5Y%( zt^PR!GxTH$&i>{7PPNl8-n91Hje2vd+1OmVh1TcVjn-zfwY`*~Kla|VTJ*=1vH-dL zH}!g>v5A6NMS()S+Nw8p3@JaY6ae_Q9jY=zRm5*pnN)ve+`Gq8Bh3B38uAE8s!Hs@Tm&+w}J zef1GMxSB=OCBE{Sv3J8VtpnQ~8c6c3Lx#nf^0lz;!4l=Vcvq1g@%bxm?@!^LSjPLp zMT;RaW4zb!>LR#N>7!s7FChCP_ozZ%7)F4!OSK%#_1X0`to>n%-NweGMr~f^MmzJ{ zuQ@Lij|}wAHuTaj?s%2MNB6T6@Ov-QKmIaR+-A@0dYwMA>(ypkyw&S(*Z(FLyW$bP zd$!!gXZR0O_qcMU!n7-uv-L^^*Q>1`yjgyJ33nViUe9z&;+~33QT%n`Qzm2 d?sNWBo_blQQ_;pJ-V3klOp?ESpTa4?e*m^ZEXx1@ literal 0 HcmV?d00001 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 new file mode 100644 index 000000000000..df49ca4888d0 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/PipelineService.php @@ -0,0 +1,118 @@ +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)àAúA# +!locations.googleapis.com/LocationL +training_pipeline ( 2,.google.cloud.aiplatform.v1.TrainingPipelineBàA"^ +GetTrainingPipelineRequest@ +name ( B2àAúA, +*aiplatform.googleapis.com/TrainingPipeline"¿ +ListTrainingPipelinesRequest9 +parent ( B)àAúA# +!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 ( B2àAúA, +*aiplatform.googleapis.com/TrainingPipeline"a +CancelTrainingPipelineRequest@ +name ( B2àAúA, +*aiplatform.googleapis.com/TrainingPipeline"² +CreatePipelineJobRequest9 +parent ( B)àAúA# +!locations.googleapis.com/LocationB + pipeline_job ( 2\'.google.cloud.aiplatform.v1.PipelineJobBàA +pipeline_job_id ( "T +GetPipelineJobRequest; +name ( B-àAúA\' +%aiplatform.googleapis.com/PipelineJob"Ì +ListPipelineJobsRequest9 +parent ( B)àAúA# +!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-àAúA\' +%aiplatform.googleapis.com/PipelineJob" +BatchDeletePipelineJobsRequest= +parent ( B-àAúA\'%aiplatform.googleapis.com/PipelineJob< +names ( B-àAúA\' +%aiplatform.googleapis.com/PipelineJob"a +BatchDeletePipelineJobsResponse> + pipeline_jobs ( 2\'.google.cloud.aiplatform.v1.PipelineJob"W +CancelPipelineJobRequest; +name ( B-àAúA\' +%aiplatform.googleapis.com/PipelineJob" +BatchCancelPipelineJobsRequest= +parent ( B-àAúA\'%aiplatform.googleapis.com/PipelineJob< +names ( B-àAúA\' +%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"kÚAparent,training_pipeline‚Óä“J"5/v1/{parent=projects/*/locations/*}/trainingPipelines:training_pipelineÁ +GetTrainingPipeline6.google.cloud.aiplatform.v1.GetTrainingPipelineRequest,.google.cloud.aiplatform.v1.TrainingPipeline"DÚAname‚Óä“75/v1/{name=projects/*/locations/*/trainingPipelines/*}Ô +ListTrainingPipelines8.google.cloud.aiplatform.v1.ListTrainingPipelinesRequest9.google.cloud.aiplatform.v1.ListTrainingPipelinesResponse"FÚAparent‚Óä“75/v1/{parent=projects/*/locations/*}/trainingPipelinesë +DeleteTrainingPipeline9.google.cloud.aiplatform.v1.DeleteTrainingPipelineRequest.google.longrunning.Operation"wÊA0 +google.protobuf.EmptyDeleteOperationMetadataÚAname‚Óä“7*5/v1/{name=projects/*/locations/*/trainingPipelines/*}» +CancelTrainingPipeline9.google.cloud.aiplatform.v1.CancelTrainingPipelineRequest.google.protobuf.Empty"NÚAname‚Óä“A"cloud.google.com/go/aiplatform/apiv1/aiplatformpb;aiplatformpbªGoogle.Cloud.AIPlatform.V1ÊGoogle\\Cloud\\AIPlatform\\V1êGoogle::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 new file mode 100644 index 0000000000000000000000000000000000000000..71674e10850e9522ea801d5812a56665224811f6 GIT binary patch literal 1138 zcmb7D-HOvd7`1g>Wk4taWw*G?hzr{lO)1``b|p>H5U6Ri&0a{LOw&nsAk7TPWI?4* z;am6+K7dy~hfm?;r)js_y|6cFd%knNFW>pj`w#4zfmhJP5sneZb2$47`89?trkwgT zgtIgVa14FAWF*9~452=P_GkhP-I}}<)P$z7j}^F}bP?jVAJTN*Mudfk2Q*%`Z#r#8 z7!FB(c(#Loat&8NHK_@n??8@W z>y~Xc>U*%yu5D-7L+J%L+To2|O*0H#s2=QTI8d#jfF4OF;CP3qskUYe#qeh1aF1>Y z3-aSVx{m6O1@xrEx#wH_T{qJ@tQ}M!mRBSAx1=yHWsj1cl*cB zdeh8@9Rm&;!Ctr1buR*VjmA8RC5v;%UlY*=$Ia^USxT0KjW`}uV-)=K~6(Fbz;(;HjssxW9MM6Bm3ol5#RXiX-AoA1)p8CdX9}wsM%*_5yW{pK4 zFG=>EbM86c`R=*r-aEJ6aCRJcL0zU6b#{+}YSdM$_O4^r zshd&N#dURUy{HxzSBsZX)w3IJm1fm#+up9znQGl`7&E%*)OEjRySp=cvonrM4YTT- zwpI41yJuEuhT8|Q^j+#XdX=in8~MA`*A3m*OUv9;X@Qw41=j?5gTgzu{Upx!=sdqwrs)F39B^vy`(eo1tJ^UN#%W6q)FyxKKB# z<@cwvWYW5kr#t$dX}kTYuK2!Fv5o!yv^J^aUE=^7 z-3%2uZ<3~}tA%}s_L1$7#9K(XYLAq2=1PKd8HhoSS)EyJ+3uC9KAL&a?12sm$az%1b3Y>2e*pWo*GUQ4&$)O3U z#eHe3WmQ2LDLEA*Nh4lJ=@(<9eN4U-dnrzgWmw96Udr)WinVCQ<7pJ5+G7PqWR={c zUu#g$C%51jwG79`T#hTMGBK2&{3Mt9EO!O8CcuSN#M;YX)t@Oy4U&N&)54;KrO_Kt zsRI+kb7L7HET%*kGWYa)gXRa&ESUswbQcRe7D#V=0O#wepuLxZlcBSogEfnimti>C zI6QPXW=3)zP8rmx+xyfg@7e~fmrVnm#2Cq|Fvx%5E)3;MS3k)Oe3rWmmwLy1msube zU{sje!vNUkg(e3%Y#84FxdcQE8>WX9V86^Zv+?I6foV8~!SgL`{778*46gz0T{yL= zKL}AcjFgqG!VsflAZM823@g5Q9Mj%Y;2c%~s_#BKAAYC6nMKp3RsT>y zn1dsxYlvRFpQMmu?<0XvA|BiAP1N)u;bb!jCW2hQ5bcwQ{Y0gGl$KG@h*H27?KuJ2xzXu z#a_1)y9$hpz?-9Z7JT?du-wp*!{$Pg+AtlgjkfuFr2nTW7~$=; zY5gzsFl=w{*~5@~aK5SKD|-&DmThbuT+^VuZy27t5x4a;og=nTcU`J>Z*5pRHKcv0 zz{wCFiQ#QH-sDEmHWCL*>nf7T4$b#Ll{GxpyH`T+*A6Av-UXEAm z{`yjdWZ{@>;yvuvSX22z95(WdD5}~j5O3e}=`LO?c)Z)jzECDNv6YqQ-d7az3JkKI z-^13B`Jl%6z)ptTf&5uGUGDTiTZ7XrSW7OPf#W`20@TYs&jH_b2gzkPFMh3<^}1fE z({gnO8}%yh(^;kmwZ9L*Sa8gf00apPQxLYosTN4Z$sj2hDbgL%V|=M4wW9n7kdiOJ zFiS)kNl`Pm$B*)vUwT?P5EYabtXPJVo?fH=K3;G6K9)9i++j(*7H4IPt857kVdxH= z+7>r)?6@Hv5>;m^&Xi0QDmA&)iz|N{gmWFam4unc`!(G%OuU8*4|y-f&Abpuvj7Ij zSKuU`Mt2>*T%**e=+*o3;Fpgx(!-k!-cO*ZC22{_@HUJzJbjy%!=shJCwGtu-eQ*S z$}?K}uejT^PD$>=@k-sU-Y?_H$itP+PR%288wZ)I)p91!%u-{M+ZCY|U_{aguVOii z#9Eq&n@+H3lPd@_m*Gsa&j^&q!j#8fe$?EB6D{+Ti;&LWSzmawuvp$KTS=}m*4v;Y*8=LDZtNGO; z8d_LiD;Cy@qtB;naH0iik_IAa!V42J9rp=Yoi4&yL_txwy2dhl6t; zjl(I~B;rz#7sKSoDL5*BC6jSbw)U6lmlMf~g`@pSd6K&jT&_%o_asx%IpUjt{>P6} z?_+@yAbJ~d_$r=wy_v}wWQ4e{#eWCm`1_-*BQCqM%H%sM+Cn0Ieh=>L;KcHNoZJP{-ER>dBMKyNeJZ?p;GzFO(QYMjJ<#V4yWx!pi~db* zDUpdD(YF{QAEsbbbmdWaB(_6qmyQSHH!)y*q-gm>k+gt;9Y@Or4TI!M+MPs(dO*^} zE2G~^=sA}7kC_C}(JTA(qS?~M=_@&^S*gSE8p8-Y*)^sEt_!67-_9?=w3v_;+LUiz1 zlDh4JN$SgC`SMGJQ}E}Cw$lH4V(+w_?z4jPWoTpl7E!^4k=g73;Vyoc|tPtd;17*UuDfu}{1_-b1uS!q)Ycw)S*W zJy7dq^tzJ%j`DHte9xD*KjpSrm*{0@W*$6vAn6xAJ?agAM|@B+9ehs0o66+k8Elx0 zY1^vr=l`O>MSRbUp?H2w?ikVG0S|4yy`j7_FW!peYbSda-L{(_hS6p0>Z357%FX8g zJWi#T`8O?@1^&F9TiuYK$7Jr!ejE&z3fr&-T{%|IS;s<(Q8p=b{*G$_COx-fSLA9PL zeckdYLR|i~KeCO$bZmtYG;D)zeWVCX_U%L0K{Gs6BEg!>GH8`<-43W{>sGf)eZw=| z!10>+X|XtL+n za?S2@lUltpJ<-oh$14`cT8%-jB5l#oo!^^kil4gsx^ZIKGy?O#zYJ5+n3JbNaNm6T z%nUtI>h)s7KgVd@icQ4~_Za^32tK=Rm=ak~PDxYYW zUjr)L=eqpt8qD@Md7DuSUTs*4OvrMUN*{8}>nLy}T!5fK2)YFluT|rMs0DP$>Lr!l zNBo6y<-b8(dO; z?q&^t3c$G!sBKbd{$`oAVZKLQ%Ml$UyYuXAty<+MA~C)K5TM%NluFB7gVGNJuAPQO zI0{R&4jX(i5j5Sz#xd%dj`Z%$8q0xYkN$4N>z83r-Q3%tri7VZI5cBGI8l zzhk3^sG<*GHU1)QilX!Jk9g`og7x^LWQSxq&&RXWZW>F3?7+$!qLD0QPU*Sm$>ash zF`v<}2Yqo3(_Csd#q{T?@+z#vW2eRyEUyC@A4M9K@4=n%X+j10_mEArOmYazy<}^T zy!iPwM4gxouJjF#FiVYOYa_pfg{VnKY;UMbr{zDT;2z^XrR0+{xHGN2-MCEuo`-o+ zFv&iw_1L6{-Mtt4&6h-v$c@9;q+19;KXSf2{_S3X2O*svLu`gIsZh* zu{43jo*E0t>H{ErE1>mEABW&`F?q)Cm=tNl9ZUBHR4fk=A)H>roG8pvZjTZ2EkT@S zqPM(&Wj1W;*uXu_cc~H1K{IvZK$VEBjZ^{*M^xPl%sxJIG&WC?0OFyPo6zZ@3uM+3?ICfmJQ}U;fO`J{E%B5tjT;SF2F06+S zDAwSkitLxyU{woE9=oMXAQv4*evp3x3qoTY9LRmh;UJ=&>qAS!;OUzKp|&s&FRi@I z#x<#YAKugW(bV#=`L7fZR#PV5&*UK}ji!2_wHt@6imFvg9kteIz0wX3+D)}me_mIs zxm#ofvdvbb*{Z9ZQtMSNMLve^<65Ip+f%j1%LBElHQH_MWxcbjg{PHWweq6bs2_B4 zY4RC-(%G%Is#>$u>b&~j6d8P<<=%wP-Nq;2ovApvxlNlni#^Esi<d4q)FE?w+=SNamR5^Er_ zD#3@SpT{L>VKObrhw)S2FT9Tbz9{gLhe!PPMfo2ocps@}WKVf*5}B_do2jp!iM>>` zut5n1PICQB&u({hb3T=RVOmM_(t;o>%bwEfrUvKy{ryW{IFE@Zz; y-xtKiBBw4E$M?nJ(f08?-}L_UalD87L@YQH`%t!5F^ws^Q2wRZSYE&dz<&X`1bZ+5 literal 0 HcmV?d00001 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 new file mode 100644 index 000000000000..ff6ba86c851c --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/SavedQuery.php @@ -0,0 +1,45 @@ +internalAddGeneratedFile( + ' +å +,google/cloud/aiplatform/v1/saved_query.protogoogle.cloud.aiplatform.v1google/api/resource.protogoogle/protobuf/struct.protogoogle/protobuf/timestamp.proto"æ + +SavedQuery +name ( BàA + display_name ( BàA( +metadata ( 2.google.protobuf.Value4 + create_time ( 2.google.protobuf.TimestampBàA4 + update_time ( 2.google.protobuf.TimestampBàA +annotation_filter ( BàA + problem_type ( BàA" +annotation_spec_count + (BàA +etag ( $ +support_automl_training (BàA:€ê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;aiplatformpbªGoogle.Cloud.AIPlatform.V1ÊGoogle\\Cloud\\AIPlatform\\V1êGoogle::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 new file mode 100644 index 0000000000000000000000000000000000000000..ef0b155696ac1b5be277e6383266aaa64f1d019d GIT binary patch literal 2359 zcma)8+in_17!F`N_K$JxZ6Xn@rc*an>?mD|6GiPhb_EzaL`{qg@kO%IY8eJI(Xz9h zopqB&T=ot66n&KTC3>Bw=*;W^st^lqn4OvLKYagbp8gz+0{9l45}$BakOAtyM`A=! zz?oo}d8i)^hlC@{#sT#RHxW8MLod&IsCC@#eIubEi#R40x@7FqBUS9NXi#-&;JISR z__%sitA=<)29ZZhEfv6b$0Q6~Owehk@q!3<;0o71)dK9M5@6Re0ro}h004V#7@}?> z2tELkzaZ*+6r)hMLjK*Op+kKtsO!<+r6-4I=z1ZM;7{)kBOeROe53$pJ|??+D3+=2 z-V2!Y{1Bxkbrczr2)peI!hP4Xk4cC*4FuyIdDXHmiO48aJG*;{S|yGS(Qa&`Wqo4g zArd?yv)U2jL`2*_&~_^UlWb+rA*>!y`-Bp2&>$oCiZX6lQ?I5%J_kJ~Ndy;0&54lR zp#kxzPr8I(QJD@43(L6eQJECN9S8HVIws#A(If)(!5}02L?-5LMv)@yKK!{3dkbfz zQHigbI(f}$@|st*%AG`v8_+6GxQY|GQoBY&kPza8F(V1&>ja`JL8eqyq;AI-cK%p{ z)ilkG4OqgQ`DH-4-L+>oj5n~2IgxehWa8hlzQf6{k>swtA+HtpADf@|#%yYM8m;H7 ze;#9><%}&@QiWO0DP@hqzx8F~4y+GoC`fr6BMz;!F<^d3%7!-ZhlL_} z9{IAlX`GH{O6+10h)~RFMhOKU|-fKCp zUUoaJX8WYwI^Mit0IbxTz4k?GGpE*_`m3(o&l@FJYo5L6{L<>l&w@oh*88wC(}Ln+ zmfa^bd1^eBMfR3p5mrAWt4Y;kl2SR=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)àAúA# +!locations.googleapis.com/Location; +schedule ( 2$.google.cloud.aiplatform.v1.ScheduleBàA"N +GetScheduleRequest8 +name ( B*àAúA$ +"aiplatform.googleapis.com/Schedule"š +ListSchedulesRequest9 +parent ( B)àAúA# +!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*àAúA$ +"aiplatform.googleapis.com/Schedule"P +PauseScheduleRequest8 +name ( B*àAúA$ +"aiplatform.googleapis.com/Schedule"h +ResumeScheduleRequest8 +name ( B*àAúA$ +"aiplatform.googleapis.com/Schedule +catch_up (BàA"Š +UpdateScheduleRequest; +schedule ( 2$.google.cloud.aiplatform.v1.ScheduleBàA4 + update_mask ( 2.google.protobuf.FieldMaskBàA2ö + +ScheduleService¼ +CreateSchedule1.google.cloud.aiplatform.v1.CreateScheduleRequest$.google.cloud.aiplatform.v1.Schedule"QÚAparent,schedule‚Óä“9"-/v1/{parent=projects/*/locations/*}/schedules:scheduleÓ +DeleteSchedule1.google.cloud.aiplatform.v1.DeleteScheduleRequest.google.longrunning.Operation"oÊA0 +google.protobuf.EmptyDeleteOperationMetadataÚAname‚Óä“/*-/v1/{name=projects/*/locations/*/schedules/*}¡ + GetSchedule..google.cloud.aiplatform.v1.GetScheduleRequest$.google.cloud.aiplatform.v1.Schedule"<ÚAname‚Óä“/-/v1/{name=projects/*/locations/*/schedules/*}´ + ListSchedules0.google.cloud.aiplatform.v1.ListSchedulesRequest1.google.cloud.aiplatform.v1.ListSchedulesResponse">ÚAparent‚Óä“/-/v1/{parent=projects/*/locations/*}/schedules  + PauseSchedule0.google.cloud.aiplatform.v1.PauseScheduleRequest.google.protobuf.Empty"EÚAname‚Óä“8"3/v1/{name=projects/*/locations/*/schedules/*}:pause:*³ +ResumeSchedule1.google.cloud.aiplatform.v1.ResumeScheduleRequest.google.protobuf.Empty"VÚAnameÚA name,catch_up‚Óä“9"4/v1/{name=projects/*/locations/*/schedules/*}:resume:*Ê +UpdateSchedule1.google.cloud.aiplatform.v1.UpdateScheduleRequest$.google.cloud.aiplatform.v1.Schedule"_ÚAschedule,update_mask‚Óä“B26/v1/{schedule.name=projects/*/locations/*/schedules/*}:scheduleMÊAaiplatform.googleapis.comÒA.https://www.googleapis.com/auth/cloud-platformBÒ +com.google.cloud.aiplatform.v1BScheduleServiceProtoPZ>cloud.google.com/go/aiplatform/apiv1/aiplatformpb;aiplatformpbªGoogle.Cloud.AIPlatform.V1ÊGoogle\\Cloud\\AIPlatform\\V1êGoogle::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 new file mode 100644 index 000000000000..95469558e098 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/ServiceNetworking.php @@ -0,0 +1,37 @@ +internalAddGeneratedFile( + ' +‡ +3google/cloud/aiplatform/v1/service_networking.protogoogle.cloud.aiplatform.v1google/api/resource.proto"e +PrivateServiceConnectConfig+ +enable_private_service_connect (BàA +project_allowlist ( "S +PscAutomatedEndpoints + +project_id (  +network (  + match_address ( BÔ +com.google.cloud.aiplatform.v1BServiceNetworkingProtoPZ>cloud.google.com/go/aiplatform/apiv1/aiplatformpb;aiplatformpbªGoogle.Cloud.AIPlatform.V1ÊGoogle\\Cloud\\AIPlatform\\V1êGoogle::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 new file mode 100644 index 000000000000..2ef44241a950 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/SpecialistPool.php @@ -0,0 +1,37 @@ +internalAddGeneratedFile( + ' +– +0google/cloud/aiplatform/v1/specialist_pool.protogoogle.cloud.aiplatform.v1google/api/resource.proto"Î +SpecialistPool +name ( BàA + display_name ( BàA& +specialist_managers_count (BàA! +specialist_manager_emails ( \' +pending_data_labeling_jobs ( BàA +specialist_worker_emails ( :xêAu +(aiplatform.googleapis.com/SpecialistPoolIprojects/{project}/locations/{location}/specialistPools/{specialist_pool}BÑ +com.google.cloud.aiplatform.v1BSpecialistPoolProtoPZ>cloud.google.com/go/aiplatform/apiv1/aiplatformpb;aiplatformpbªGoogle.Cloud.AIPlatform.V1ÊGoogle\\Cloud\\AIPlatform\\V1êGoogle::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 new file mode 100644 index 000000000000..2049a336bdb7 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/SpecialistPoolService.php @@ -0,0 +1,76 @@ +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)àAúA# +!locations.googleapis.com/LocationH +specialist_pool ( 2*.google.cloud.aiplatform.v1.SpecialistPoolBàA"w +%CreateSpecialistPoolOperationMetadataN +generic_metadata ( 24.google.cloud.aiplatform.v1.GenericOperationMetadata"Z +GetSpecialistPoolRequest> +name ( B0àAúA* +(aiplatform.googleapis.com/SpecialistPool"­ +ListSpecialistPoolsRequest9 +parent ( B)àAúA# +!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 ( B0àAúA* +(aiplatform.googleapis.com/SpecialistPool +force (" +UpdateSpecialistPoolRequestH +specialist_pool ( 2*.google.cloud.aiplatform.v1.SpecialistPoolBàA4 + update_mask ( 2.google.protobuf.FieldMaskBàA" +%UpdateSpecialistPoolOperationMetadataI +specialist_pool ( B0àAúA* +(aiplatform.googleapis.com/SpecialistPoolN +generic_metadata ( 24.google.cloud.aiplatform.v1.GenericOperationMetadata2” + +SpecialistPoolService +CreateSpecialistPool7.google.cloud.aiplatform.v1.CreateSpecialistPoolRequest.google.longrunning.Operation"ŸÊA7 +SpecialistPool%CreateSpecialistPoolOperationMetadataÚAparent,specialist_pool‚Óä“F"3/v1/{parent=projects/*/locations/*}/specialistPools:specialist_pool¹ +GetSpecialistPool4.google.cloud.aiplatform.v1.GetSpecialistPoolRequest*.google.cloud.aiplatform.v1.SpecialistPool"BÚAname‚Óä“53/v1/{name=projects/*/locations/*/specialistPools/*}Ì +ListSpecialistPools6.google.cloud.aiplatform.v1.ListSpecialistPoolsRequest7.google.cloud.aiplatform.v1.ListSpecialistPoolsResponse"DÚAparent‚Óä“53/v1/{parent=projects/*/locations/*}/specialistPoolså +DeleteSpecialistPool7.google.cloud.aiplatform.v1.DeleteSpecialistPoolRequest.google.longrunning.Operation"uÊA0 +google.protobuf.EmptyDeleteOperationMetadataÚAname‚Óä“5*3/v1/{name=projects/*/locations/*/specialistPools/*}¥ +UpdateSpecialistPool7.google.cloud.aiplatform.v1.UpdateSpecialistPoolRequest.google.longrunning.Operation"´ÊA7 +SpecialistPool%UpdateSpecialistPoolOperationMetadataÚAspecialist_pool,update_mask‚Óä“V2C/v1/{specialist_pool.name=projects/*/locations/*/specialistPools/*}:specialist_poolMÊAaiplatform.googleapis.comÒA.https://www.googleapis.com/auth/cloud-platformBØ +com.google.cloud.aiplatform.v1BSpecialistPoolServiceProtoPZ>cloud.google.com/go/aiplatform/apiv1/aiplatformpb;aiplatformpbªGoogle.Cloud.AIPlatform.V1ÊGoogle\\Cloud\\AIPlatform\\V1êGoogle::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 new file mode 100644 index 0000000000000000000000000000000000000000..3ae80bd2bebbbccddd994c67cdb2a08a32d86609 GIT binary patch literal 7520 zcmb_h&2QVt6_2Div7a2rW)iQgWD`coCf?mfUdutdm74_Ahh;5fNh`@tH_(=)sFBSq zC9)*tjT`t-dALo87>x~8TRD=CV(ide2R#C)#UxR0c^ z(YI8R77q>MP$wIzZuHw5ie~DH(=n{>#_{Hc?eyCxNd^hfQ@X@96_tpEYG#i(N?UQ1 zW`R*Rvy{3i`P9vW&20cxS8Q9XQxtd$BL12EmaeIy?I;fZd#Ks6*3%qK(Y4>=8J>w9 zMYjo3j<4I->GUCSeBsfN^-o>46i(}i>wJ&t^w=h!iH_ALLGGex5vOnUw%NWZz^VVMIYC;I zsWo>rqPH{TNIBLFE1e#kY5+2gv_@Rr%}nKsBiBc3K`GA8&?l|qsa59!gbfW1$5FcG z1!!MdifIzdo=nQL{^Ysl>R4*GeUu&ydk~%|lfD^osylF9 z>nRu#j){!aw$Y1S@lF&;6sRB&Qn&>x^@h~Q%lqYeHJ>f+6!W>|O9H?ZDcdL>!NvVE+~sScI`+m}_t)u$ zZm7)FaLoI8$|9;paEQtKH1W@?FxRj!{!P-@bqH(in6IbEK+aS}=gFDD2IZUsFck}} z0wbc0s*0eNKlj8u!O)W&q3Y3axffuigM!!PE(*PGkuK>uuFlTZ``%zZN6Nrr0K-Q0 z(H*@f$QCtS#d5gqT%FB!HesIh+MHy5Hj-6XP<0K@Dx*pkd_xoN!iv`G;L)^}?i(Tu z=3ihI?Awmfm0ugJSd>kCj_&wB=@WP`-K?^V<}0Hm)ZqH}q$Mk=N^D#1TbdnPWP*Bn zzUp3*mc;1xku2YHtP>{rcnubOt1g~)g0gkz#>1>hFa;V(mp&N+UH-dM|jy`QgBZwv+8HcZ{N-l$Zo#d2XeLfy8$ zpUvj;Ib3*ISOO@Pck)ubm?`C#=hFH+NjuApxexAK(2X}7>cZ&N?Eh(^4T}sgYhY%2 z;|Mn(+IGti%)PEO&@z0v+bH4pb;raXLU4nH9~v2v73LBJQ=zblex zhdj5?1QAW;y}e9|IzCb|M`5xQMe3smVK{HsT{OxG_x&B*?UJ^p^kl_bF~X2%6KOVv zdkpIgW_ajh@@6VC8W*Ce8JVHR5NjH<9k_~t+R{`T^+!$Pi&>9Ai3X{;G{MTYW`puW z!~iV=3yOYdSekRxWp%<*YGXDq$s-fKh83e_6YH2|N4aNcHesoIDfQFYuqp%cGNl$; z5D#P$*(N&XV)QiGIWb9$CWWQc^VzTiS*q^AG!RAj7H+YeJ+Ln{hK_c~VtO?7^V#6J zal1y07JvY|p+AN~@xMd>u&Hu&Ct$ka>K}^8VW9+<4-G|U0eNXwrUTq$0g35xXv_`^ zGF-Ej4sp;|`B`}Bm!0h_0oXc2;REieF40r{E(F5(oDhR$m#=e#74(sz^RyEZo`8sv zQnN@~?rJ@mu98tG7+mF!MXNmwpEN*)b}4@50o<3*Tc40%-a9rXyIX~dRFWItR7Xof z%qM%&FN=G{S8h?bS1j|daAp~n*j{`|#s9Gc*M=NK_%*Dw4Qy|T%yK4=cRZNRD9|Ci zWR8Kc4C_X_76`P}IV4t)1=m?_Hk}Q#pv^I&1$n%NRV-Tx^>G!8yueX-=-#~upX>lJ z$g2%Eup`0RA4~rLBObD6%n`!}%DHesE>r89Foq(q@swy{G)~a=VJY?OA_uHf6c#3a z1Gmwa+IXj7&?4FNif3jHb_`f7FI|KO`jrPebm+JN*GFuHg%5NeCRCRHL)_tMSi#bO zk262w<8ipwCLN`(JMJ7+w(Dcm_J=0pCM=Iy&N#=&6prrrM2->e)#Dt$ft!?}MVxh8?S=VdkoliNu;y|f3punurE=(e&|Qq$ zP;fU@Si;Tl?wH4J+6YBc7cQ3KPhfSj;3t|_d>vNCq%^XU`%e4|Sets15en`SnV4^G z%w1@@=dmQw!_wUkUU68hXQfhpQhLOTl>KtCA(x8fyi}9fI_$^sh_G>5rVPfZ`$mM1;TA1lf<-AOqoF7wJcK(s zQLG+qi|FlrAWg8VIcob0Q@2d>WYlVo7-Nz@vk`0C%01kc$5gOAV9=R zl{1N6u9xO`miQJ&kkFeq}>6zf9%aOollDyqwDDkIog@3X_jP;R2onr(8b>Q-i zRWy;z-$HN~FR{;Hm;u(YR_SwEHT3E^-;?(;fcM{rM)1uLuf_4%aB!_@wzh*GKZN52 z_FkCG()YroRIIwMjmd+}zk8ES_cgIOm~P^G;=Az2oH(6k)amqKKAk?;Y+YeKyY<+A c_4x^Zs0+O7(N_vho$#i|R`Qp(Q#b|qKY#;=u>b%7 literal 0 HcmV?d00001 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 new file mode 100644 index 000000000000..ab3c805a7865 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/Tensorboard.php @@ -0,0 +1,51 @@ +internalAddGeneratedFile( + ' +’ +,google/cloud/aiplatform/v1/tensorboard.protogoogle.cloud.aiplatform.v1google/api/resource.proto0google/cloud/aiplatform/v1/encryption_spec.protogoogle/protobuf/timestamp.proto"þ + Tensorboard +name ( BàA + display_name ( BàA + description ( C +encryption_spec ( 2*.google.cloud.aiplatform.v1.EncryptionSpec% +blob_storage_path_prefix + ( BàA + run_count (BàA4 + create_time ( 2.google.protobuf.TimestampBàA4 + update_time ( 2.google.protobuf.TimestampBàAC +labels ( 23.google.cloud.aiplatform.v1.Tensorboard.LabelsEntry +etag (  + +is_default ( + satisfies_pzs (BàA + satisfies_pzi (BàA- + LabelsEntry +key (  +value ( :8:nêAk +%aiplatform.googleapis.com/TensorboardBprojects/{project}/locations/{location}/tensorboards/{tensorboard}BÎ +com.google.cloud.aiplatform.v1BTensorboardProtoPZ>cloud.google.com/go/aiplatform/apiv1/aiplatformpb;aiplatformpbªGoogle.Cloud.AIPlatform.V1ÊGoogle\\Cloud\\AIPlatform\\V1êGoogle::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 new file mode 100644 index 0000000000000000000000000000000000000000..660cb8ac20035c8b0c8ebdce99487d8f4b7a0cfe GIT binary patch literal 1902 zcmb7_QEw7K5XU_zXt%XZPm>aix?+>kXphipVh-B|#9|+`Bqf-bOUT~cLN_^X&%HfN zHT@ob20x0AKKa;Z{Sxl(!EstjDlfq8%x`D@GdJ_{AUF-cW7xtzW{6`K+GmiTVi+*W zsY5+zNBur#(4oVCc$gUwHjm-E;|_e?JnB3Wt|5(>gH1S~bl~BN35p#Pk;>b{R0DLsWVSpSATkXbM%#l2_S_)*nk|3*|fUIt{27u$CFoc~c zuqj-?7XZa4h-{BIFyx4fuMHCRh)*~{9{DU1+k<`Ng;+2y+x8>h;e`57Ivo2BE^on@ zDQ!0bDumdBlgQdq8=;GJm|#qVh?3YkaN5kv=TPF`DM3 zAon0=5l-I@A;Uakeoe(K0q4mtYld$1fLMnFdu{`tq7k9YG^bfjA+ua(NN%O1?vNoq z!HnSW`p85p=`6Ay2D5#Y#@qX3tZ3bJ69ErJ-<6Y;r2w1Y_bpKU?}pQhv5TR4)R^|D zF{&0{TocDd9=%Yh5Vvvh;n-6(wP=fqG*PL>2Bn`GSea@k8&(PuA*cLzuj$_qJ}3BNgvF~bDBEE16Y{*Ctct3|(oS(gnpD}4S*t4R z%U~hoI8epOHg1BP(zUb>@^NDN?eQbU(n?LRb}4pUPuncVwZ8{eMwo?SF!lUsXk(_X z$jL*k)CKD)N;(6*mXuagrF}99en#V``$a-Z&%x?HTzwT}(oLDw*T8}t)hZkntJe6T zfd^tq%(-E}HR)+OtPE&+gP?$jB{F?o1G|>~^DR?ssg+@<`DN6P z+T-10bgSPdht_zZSkq%mtdw7w`?0fWDsR)Ao||U3YUfqKcQ=y(^faE(seyjwFjtoG K$UO(=0Q>=cPjAuy literal 0 HcmV?d00001 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 new file mode 100644 index 000000000000..cd680a6fb1a6 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/TensorboardExperiment.php @@ -0,0 +1,43 @@ +internalAddGeneratedFile( + ' +î +7google/cloud/aiplatform/v1/tensorboard_experiment.protogoogle.cloud.aiplatform.v1google/api/resource.protogoogle/protobuf/timestamp.proto"÷ +TensorboardExperiment +name ( BàA + display_name (  + description ( 4 + create_time ( 2.google.protobuf.TimestampBàA4 + update_time ( 2.google.protobuf.TimestampBàAM +labels ( 2=.google.cloud.aiplatform.v1.TensorboardExperiment.LabelsEntry +etag (  +source ( BàA- + 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;aiplatformpbªGoogle.Cloud.AIPlatform.V1ÊGoogle\\Cloud\\AIPlatform\\V1êGoogle::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 new file mode 100644 index 000000000000..e440dc1ca866 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/TensorboardRun.php @@ -0,0 +1,42 @@ +internalAddGeneratedFile( + ' +Æ +0google/cloud/aiplatform/v1/tensorboard_run.protogoogle.cloud.aiplatform.v1google/api/resource.protogoogle/protobuf/timestamp.proto"Ý +TensorboardRun +name ( BàA + display_name ( BàA + description ( 4 + create_time ( 2.google.protobuf.TimestampBàA4 + update_time ( 2.google.protobuf.TimestampBàAF +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;aiplatformpbªGoogle.Cloud.AIPlatform.V1ÊGoogle\\Cloud\\AIPlatform\\V1êGoogle::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 new file mode 100644 index 000000000000..1b0e9e7b3eb7 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/TensorboardService.php @@ -0,0 +1,252 @@ +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-àAúA\' +%aiplatform.googleapis.com/TensorboardA + tensorboard ( 2\'.google.cloud.aiplatform.v1.TensorboardBàA"T +GetTensorboardRequest; +name ( B-àAúA\' +%aiplatform.googleapis.com/Tensorboard"Ð +ListTensorboardsRequest= +parent ( B-àAúA\'%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.FieldMaskBàAA + tensorboard ( 2\'.google.cloud.aiplatform.v1.TensorboardBàA"W +DeleteTensorboardRequest; +name ( B-àAúA\' +%aiplatform.googleapis.com/Tensorboard"a +ReadTensorboardUsageRequestB + tensorboard ( B-àAúA\' +%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-àAúA\' +%aiplatform.googleapis.com/Tensorboard"8 +ReadTensorboardSizeResponse +storage_size_byte ("è +"CreateTensorboardExperimentRequestG +parent ( B7àAúA1 +/aiplatform.googleapis.com/TensorboardExperimentQ +tensorboard_experiment ( 21.google.cloud.aiplatform.v1.TensorboardExperiment& +tensorboard_experiment_id ( BàA"h +GetTensorboardExperimentRequestE +name ( B7àAúA1 +/aiplatform.googleapis.com/TensorboardExperiment"ä +!ListTensorboardExperimentsRequestG +parent ( B7àAúA1/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.FieldMaskBàAV +tensorboard_experiment ( 21.google.cloud.aiplatform.v1.TensorboardExperimentBàA"k +"DeleteTensorboardExperimentRequestE +name ( B7àAúA1 +/aiplatform.googleapis.com/TensorboardExperiment"¼ +!BatchCreateTensorboardRunsRequestG +parent ( B7àAúA1 +/aiplatform.googleapis.com/TensorboardExperimentN +requests ( 27.google.cloud.aiplatform.v1.CreateTensorboardRunRequestBàA"j +"BatchCreateTensorboardRunsResponseD +tensorboard_runs ( 2*.google.cloud.aiplatform.v1.TensorboardRun"Ê +CreateTensorboardRunRequest@ +parent ( B0àAúA* +(aiplatform.googleapis.com/TensorboardRunH +tensorboard_run ( 2*.google.cloud.aiplatform.v1.TensorboardRunBàA +tensorboard_run_id ( BàA"Z +GetTensorboardRunRequest> +name ( B0àAúA* +(aiplatform.googleapis.com/TensorboardRun"€ +ReadTensorboardBlobDataRequestL + time_series ( B7àAúA1 +/aiplatform.googleapis.com/TensorboardTimeSeries +blob_ids ( "] +ReadTensorboardBlobDataResponse: +blobs ( 2+.google.cloud.aiplatform.v1.TensorboardBlob"Ö +ListTensorboardRunsRequest@ +parent ( B0àAúA*(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.FieldMaskBàAH +tensorboard_run ( 2*.google.cloud.aiplatform.v1.TensorboardRunBàA"] +DeleteTensorboardRunRequest> +name ( B0àAúA* +(aiplatform.googleapis.com/TensorboardRun"É +\'BatchCreateTensorboardTimeSeriesRequestG +parent ( B7àAúA1 +/aiplatform.googleapis.com/TensorboardExperimentU +requests ( 2>.google.cloud.aiplatform.v1.CreateTensorboardTimeSeriesRequestBàA"~ +(BatchCreateTensorboardTimeSeriesResponseR +tensorboard_time_series ( 21.google.cloud.aiplatform.v1.TensorboardTimeSeries"ï +"CreateTensorboardTimeSeriesRequestG +parent ( B7àAúA1 +/aiplatform.googleapis.com/TensorboardTimeSeries\' +tensorboard_time_series_id ( BàAW +tensorboard_time_series ( 21.google.cloud.aiplatform.v1.TensorboardTimeSeriesBàA"h +GetTensorboardTimeSeriesRequestE +name ( B7àAúA1 +/aiplatform.googleapis.com/TensorboardTimeSeries"ã + ListTensorboardTimeSeriesRequestG +parent ( B7àAúA1/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.FieldMaskBàAW +tensorboard_time_series ( 21.google.cloud.aiplatform.v1.TensorboardTimeSeriesBàA"k +"DeleteTensorboardTimeSeriesRequestE +name ( B7àAúA1 +/aiplatform.googleapis.com/TensorboardTimeSeries"½ +)BatchReadTensorboardTimeSeriesDataRequestB + tensorboard ( B-àAúA\' +%aiplatform.googleapis.com/TensorboardL + time_series ( B7àAúA1 +/aiplatform.googleapis.com/TensorboardTimeSeries"r +*BatchReadTensorboardTimeSeriesDataResponseD +time_series_data ( 2*.google.cloud.aiplatform.v1.TimeSeriesData"© +$ReadTensorboardTimeSeriesDataRequestX +tensorboard_time_series ( B7àAúA1 +/aiplatform.googleapis.com/TensorboardTimeSeries +max_data_points ( +filter ( "m +%ReadTensorboardTimeSeriesDataResponseD +time_series_data ( 2*.google.cloud.aiplatform.v1.TimeSeriesData"â +%WriteTensorboardExperimentDataRequestW +tensorboard_experiment ( B7àAúA1 +/aiplatform.googleapis.com/TensorboardExperiment` +write_run_data_requests ( 2:.google.cloud.aiplatform.v1.WriteTensorboardRunDataRequestBàA"( +&WriteTensorboardExperimentDataResponse"¶ +WriteTensorboardRunDataRequestI +tensorboard_run ( B0àAúA* +(aiplatform.googleapis.com/TensorboardRunI +time_series_data ( 2*.google.cloud.aiplatform.v1.TimeSeriesDataBàA"! +WriteTensorboardRunDataResponse"Ë +&ExportTensorboardTimeSeriesDataRequestX +tensorboard_time_series ( B7àAúA1 +/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"CreateTensorboardOperationMetadataÚAparent,tensorboard‚Óä“?"0/v1/{parent=projects/*/locations/*}/tensorboards: tensorboard­ +GetTensorboard1.google.cloud.aiplatform.v1.GetTensorboardRequest\'.google.cloud.aiplatform.v1.Tensorboard"?ÚAname‚Óä“20/v1/{name=projects/*/locations/*/tensorboards/*}Š +UpdateTensorboard4.google.cloud.aiplatform.v1.UpdateTensorboardRequest.google.longrunning.Operation"ŸÊA1 + Tensorboard"UpdateTensorboardOperationMetadataÚAtensorboard,update_mask‚Óä“K2.google.cloud.aiplatform.v1.CreateTensorboardExperimentRequest1.google.cloud.aiplatform.v1.TensorboardExperiment"˜ÚA7parent,tensorboard_experiment,tensorboard_experiment_id‚Óä“X">/v1/{parent=projects/*/locations/*/tensorboards/*}/experiments:tensorboard_experimentÙ +GetTensorboardExperiment;.google.cloud.aiplatform.v1.GetTensorboardExperimentRequest1.google.cloud.aiplatform.v1.TensorboardExperiment"MÚAname‚Óä“@>/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*}­ +UpdateTensorboardExperiment>.google.cloud.aiplatform.v1.UpdateTensorboardExperimentRequest1.google.cloud.aiplatform.v1.TensorboardExperiment"šÚA"tensorboard_experiment,update_mask‚Óä“o2U/v1/{tensorboard_experiment.name=projects/*/locations/*/tensorboards/*/experiments/*}:tensorboard_experimentì +ListTensorboardExperiments=.google.cloud.aiplatform.v1.ListTensorboardExperimentsRequest>.google.cloud.aiplatform.v1.ListTensorboardExperimentsResponse"OÚAparent‚Óä“@>/v1/{parent=projects/*/locations/*/tensorboards/*}/experimentsÿ +DeleteTensorboardExperiment>.google.cloud.aiplatform.v1.DeleteTensorboardExperimentRequest.google.longrunning.Operation"€ÊA0 +google.protobuf.EmptyDeleteOperationMetadataÚAname‚Óä“@*>/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*}ˆ +CreateTensorboardRun7.google.cloud.aiplatform.v1.CreateTensorboardRunRequest*.google.cloud.aiplatform.v1.TensorboardRun"ŠÚA)parent,tensorboard_run,tensorboard_run_id‚Óä“X"E/v1/{parent=projects/*/locations/*/tensorboards/*/experiments/*}/runs:tensorboard_run‹ +BatchCreateTensorboardRuns=.google.cloud.aiplatform.v1.BatchCreateTensorboardRunsRequest>.google.cloud.aiplatform.v1.BatchCreateTensorboardRunsResponse"nÚAparent,requests‚Óä“V"Q/v1/{parent=projects/*/locations/*/tensorboards/*/experiments/*}/runs:batchCreate:*Ë +GetTensorboardRun4.google.cloud.aiplatform.v1.GetTensorboardRunRequest*.google.cloud.aiplatform.v1.TensorboardRun"TÚAname‚Óä“GE/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*}Š +UpdateTensorboardRun7.google.cloud.aiplatform.v1.UpdateTensorboardRunRequest*.google.cloud.aiplatform.v1.TensorboardRun"ŒÚAtensorboard_run,update_mask‚Óä“h2U/v1/{tensorboard_run.name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*}:tensorboard_runÞ +ListTensorboardRuns6.google.cloud.aiplatform.v1.ListTensorboardRunsRequest7.google.cloud.aiplatform.v1.ListTensorboardRunsResponse"VÚAparent‚Óä“GE/v1/{parent=projects/*/locations/*/tensorboards/*/experiments/*}/runsø +DeleteTensorboardRun7.google.cloud.aiplatform.v1.DeleteTensorboardRunRequest.google.longrunning.Operation"‡ÊA0 +google.protobuf.EmptyDeleteOperationMetadataÚAname‚Óä“G*E/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*}˜ + BatchCreateTensorboardTimeSeriesC.google.cloud.aiplatform.v1.BatchCreateTensorboardTimeSeriesRequestD.google.cloud.aiplatform.v1.BatchCreateTensorboardTimeSeriesResponse"iÚAparent,requests‚Óä“Q"L/v1/{parent=projects/*/locations/*/tensorboards/*/experiments/*}:batchCreate:*§ +CreateTensorboardTimeSeries>.google.cloud.aiplatform.v1.CreateTensorboardTimeSeriesRequest1.google.cloud.aiplatform.v1.TensorboardTimeSeries"”ÚAparent,tensorboard_time_series‚Óä“m"R/v1/{parent=projects/*/locations/*/tensorboards/*/experiments/*/runs/*}/timeSeries:tensorboard_time_seriesí +GetTensorboardTimeSeries;.google.cloud.aiplatform.v1.GetTensorboardTimeSeriesRequest1.google.cloud.aiplatform.v1.TensorboardTimeSeries"aÚAname‚Óä“TR/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*}Å +UpdateTensorboardTimeSeries>.google.cloud.aiplatform.v1.UpdateTensorboardTimeSeriesRequest1.google.cloud.aiplatform.v1.TensorboardTimeSeries"²ÚA#tensorboard_time_series,update_mask‚Óä“…2j/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"cÚAparent‚Óä“TR/v1/{parent=projects/*/locations/*/tensorboards/*/experiments/*/runs/*}/timeSeries“ +DeleteTensorboardTimeSeries>.google.cloud.aiplatform.v1.DeleteTensorboardTimeSeriesRequest.google.longrunning.Operation"”ÊA0 +google.protobuf.EmptyDeleteOperationMetadataÚAname‚Óä“T*R/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*}Œ +"BatchReadTensorboardTimeSeriesDataE.google.cloud.aiplatform.v1.BatchReadTensorboardTimeSeriesDataRequestF.google.cloud.aiplatform.v1.BatchReadTensorboardTimeSeriesDataResponse"WÚA tensorboard‚Óä“CA/v1/{tensorboard=projects/*/locations/*/tensorboards/*}:batchRead³ +ReadTensorboardTimeSeriesData@.google.cloud.aiplatform.v1.ReadTensorboardTimeSeriesDataRequestA.google.cloud.aiplatform.v1.ReadTensorboardTimeSeriesDataResponse"ŒÚAtensorboard_time_series‚Óä“lj/v1/{tensorboard_time_series=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*}:read’ +ReadTensorboardBlobData:.google.cloud.aiplatform.v1.ReadTensorboardBlobDataRequest;.google.cloud.aiplatform.v1.ReadTensorboardBlobDataResponse"|ÚA time_series‚Óä“hf/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.comÒAghttps://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;aiplatformpbªGoogle.Cloud.AIPlatform.V1ÊGoogle\\Cloud\\AIPlatform\\V1êGoogle::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 new file mode 100644 index 0000000000000000000000000000000000000000..79a7231e659156cf9c156e5e6d2c36147132175a GIT binary patch literal 1961 zcmbVN-)|!|5GF|*TDOPFqCn&GK5&S(o@&J##^B3^g=ld%ddw(R-rKlngiR1Bnp800x^H*QTmofSXpU{X3BIyK= zud%$OI2K&;fQNXTPN!7hfX`zVQek0y)Wc`JA?_S?haZA#!c!4Y2hTX4h13p0o=$AS z;*iKG7jyfnWlI_*T#Pvp6JN49^%E)>O)Py0LJ^tMBqjmHC;j#}RFVmi#5>V=-l4+t z+!D_lwe}GTLXsqSxWpX->_DTUmk7frPRAh&a3YC>pGPe5S;QnGA^RD!Jit>DCKQlf zKRZpMKr$X-<2yT*TK`L;*=&H5$)@^6~Llgd285nW9A(*8cy2ul3Xz^ z9A}x;667}5bDCH8&R!)QsvwZqJYIjJrt#BfEGNyKOiGT9q0gFSRw~EG=+ABR<^OFk zqmg-9x;3q3Yg$*W#)BM{#LO0Xwpm{`KFCeFOQFKHYF(XDcHrS(b##Ai3mR{u4b{|U z1y`Ee?b?l7GajJb2}@uqu6=E)7N)B44%(UIJp*lL)|AEg7NIK=rqq|$F*P?}@2#i% z*6o>CYa_8n3S$Tm?fQ*dy>T~<&(TgGD9pMZMROC7cb+y1tbc^b2%PZU02VFk?tn>JAKjj7;S>4*3}L?Z=dY za`+*QX7W;(G=qP5j<(C17!CC9$UVL2_`~n|9slBN(C-{}kGq|ty*CVm>Vre~)IHy; zsP(XOHt3!2RiU@;wNHC(f6#e;(K$Qp?A4q>~FyI^9!JdgTIKw*E z|3&+s3VI*H`;W4=8*4-FE7k2+zJHc=LNOMQ>5Q+?U;_d0{wzm69`CRI`K{VG(a(&f zpBc;T_VZ`U8nyl|j9&f-c}ueg&(N#tdzrK2Xm7_^+8t-q8rStOefGH2vQIKSUy=V? OrC*=S1bTrM2>lBY+lD>> literal 0 HcmV?d00001 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 new file mode 100644 index 0000000000000000000000000000000000000000..bd6a39c0b483fbb7e57684cf7b7ffa0f897631f7 GIT binary patch literal 2200 zcma)7U2oz>6kP+|hMQ`|dYcW6+G@(~YS~q5L@HIP(`*F+QXT?mNm8}4WDWKJBN>ln z8~UZF>RW$He@0&_^;h({ul)nPp0R<|Iw-t^Fmukm_uMo0e)V-Q58w$oXFdyQ%v>`0 ziNte8f>6Z55gwT=r&AUZM=S#FvCtr-GbDrICFyqhm!BXs63ftGCYcE_^H{_2#L{h0 z9(XjKig3|bH5;)Io*@|le7ay!KpjTTN9_w1Q57ZcG&fakNN$6^W@+c{jLPYb zH4K1#g+QolbntlppbWq6Iih9)o(U9obE~3}jWd;8h4pme; zVl;H-_J*t|$(p;!&gBapOXQoxwO`>;PR{y6C?&%HOV;Y;B!z-rg?%@DVW@_zL7r$j zKC1vlS}=TwQB~zr+m+AQnX?6zmDMiby)1z<>UnvQUqXq7vnZAAFk{ZzXehTTx+|z; zboht@Y#Ym?G++;HB#-YvTd4h}L3yp5-h;}Dg)#flraWy(%JMQxF2}^iwZydgsuADZ z(`)d^SuVz854iDaB&>urNna~lAyzN%i4&flT z{2V2z_>uP45B}Q#~4}sz+8J>gDR{Ii42||A#Di^~}*S;EzN8Pi2 zuix!d?&*6_YF%9pE1Lc;6kCJuDuv{y!En&66x)Ak@G)-I9VxcUiI{R|j+PH51ogG@~8n!ma7B1p{3m+-4 oX-c$dZq7~fx;eQoAIs;@*TeZ!wc@rm;;q|I-c&p525tcU2YSoJssI20 literal 0 HcmV?d00001 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 new file mode 100644 index 0000000000000000000000000000000000000000..0f3a5aaa4822c4b3bab664df858ea0df3e14fdb9 GIT binary patch literal 3926 zcmcIn-Ez}L6s{ct$uWtEN`i3t5e_AR7P*05P^E#1^G9Y%&(V_m3MK?SAK+J?A^$?)marbP~a`u}1>JTuxd> z^UUBU#E4kPLof7=X3}mGW_V#YqCR1!VQe25UmqM9JKOt5cMuwf3G;|$bi%OXlbYv; zNvr14$ai@=WZl~7T8%T81~lk65sipX17b?^0D;>japZc$*lW~Z5bm~I?%I3OlD#D? z*_*i~`*>{~!1LWWHjYw@jnp8#0R#U=ct%X%ls4TH0U^m{i9MtH)4bs4uXaGw9NMFME`{BRCzX)3dYcgpPMum_O z?GUL&CO4H6Mr*9YECXe zwH5ed5gz^h=GH0-V|t>E&7L5br)!n#sXaHMHI~v%X+q_*F|J6?DJMo!rHJJ*2pXoF z?v2^h74%5=)yC}0)XNdQn`&6)MhcLMhLTW=Wu;Sdw})4GR?c+8wR8iEJVc6`sfFrK zGjL^C<+KI3AS6>S7=_i@`qb~6Q`&X7+@dk6?U^H&irG?8+l2)hLV_b2);7rql#&5oQ#Y zw)Ca!CyYn38>Yz}M0Wdhm73lJ0pf#8wK}$jACWByfNrbFQqnn=$ z^&BqxZj<=2UN)wXgio^LjH=Ht_sy>)bSL2KOxuF;kQV5gjN!pJlY>`M%ZI)o_ z6**I_rOmAVKbM#3%AOkJVe?5-Dmx`0^CBi8$;Rp;?dA>))3QDqwwuhrSsX#12wY~ z_D_l^r8q416gFzE_y6&8v9c#8Lvu?$DL3~U>5OR}ul<@W+UeYA_m*v(9N!jiDzIfq sv}N_yE$eu#c~Rb}k5}@?@26@G>l@p|y-#tJd1qvkJJn!y4(9-W0$m{iKL7v# literal 0 HcmV?d00001 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 new file mode 100644 index 0000000000000000000000000000000000000000..0e09d7bebf6b372d363cb7e8b95fb223b680e91a GIT binary patch literal 4381 zcmb_g+i%lW7{^Il+Ap*ObD4>NnY7RrhC|DkShy{r>4gm%wFOPcljS(4t*K*M_Hjjr zDosdx*`Kn9Jx%);CQbVzc;<1Bd)jv{anjI+OwgAm=Y03?_gzlzJq)))nADeuPa>O= zrry}o={C{BD4>B8czPq*+$53i1g+5ZNMz{x!m9psbwjT$tZZCH);LHahm`fLAlULq z$?<}uS+d>Gv*~6KwMx5lC7SrIzh%7)8U~jO;M*+{hqgoXrF!)Vp?1@zwzR|a6CJX^$jlSanOL*pyOYdG(6YQV`@|UH|55b>$}voJ@-d+=DxmZdoe-o z_h~m1-=S{c>x^O5cgW1FE@U#=sW3q2@9S-w>MR}@3vRBk$`pN=UbMU5^M&BL6P8n+e!YKbeO_tP;BBqD#DH zm2BI)ZV;8r9j`hENml6H@b?XfI@WSr3Wxak3C4>xc_7 zxRf-@8!qCL+O2SK-nGy%nYtuCoQEUo#sgR4r_yYua9PC4nn@GP(mf4-6yW;*C@Hld zhz(wUMyLLa-MPYfDaa1pQY3RNDzPxrM~5R4Dk*RFp(JV6tQgZKIj;5Lz+Panf*_Li zb4knl1J+rIwlg3JK9dAd=#&^^5{rxCZ=*1lb_MkeK*NrS)e4%#(}r|qW^DPGx(4Us zBqY(U87Qsv~bJqi-u&^$KVx z9+hwdtfm`dBiyq%WrkB`-&Pb=gIrVg4}`jw?cCgfVICK41kWbsr}|me26z=^X4Nkt z=R^cUYO&a9$B{obUug5U18bzv7F@RgP+vp^)97GKb1+JL3?$PtHW&+9mxS2mrFAeE z*HsuMQ4~a4j?=4cZx98>I!A%yFt8IJE3RM?YTDLA?0ACXfeLyJT;$2drXd^ z-UlGB5Gd%FPqlGWI#!*<;Qm{ggv(t;CE$Yf6dO1hOT6{HqUtx0>&m`1!HvH90b5A( z2?MKeqsB8U19c;mc8<6V? zlbVC<4%ri^SI1#^*Y*;kacGw_ca-u^%Dc)wOdcJpH2Ug8#NJeey&cy2{F$^5mv`}R#;3~$rs-!0BD2^yZRLj zi)JAT*_`I-z6_rq?E=r2dXE=D7+^;i{#UPY)+s0+&06!DoTKo}7ZA7O{Qa z8|Bey7-^BFi-)Wo%EOb832*Z*)DabaeVg|cdE&tFM&j%c8f&Ax?4I<))d1caG6GdD zm3vTl4C4n*RTYMvAiMUH4=xT~Y zSmYJ102t43jA9*O+#-nM zn5`%z44my=@GES`@rWJqDa9U*Rx9x+zSdk4by|<2nkJmUcU{P;BF5(!FT{!Y%3wb9 zm}69gq;(X;qNo&qQ6SfKs9pfAvQVjS)Yh!^l@~SZ+0*rU?a|8ON^K#347auXf!o!m zwY;L9g;NJk7gwLHvYYnFHtRE8lO_YESb+#orY;(;I)bC#sj> z42^7jjLC_P?cGWuS8k2yNJgE6b2vm@ObqsWKK9#0T?^v|I4&*%PXUz+k)0JC##;_m?OG8YANxy-rC<<5P%{Cuu4!uQ-;)9GvK b3-P$_dW++_i@y~d@($;e; literal 0 HcmV?d00001 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 new file mode 100644 index 0000000000000000000000000000000000000000..23df6c6b78356010c9671adb8d3dde2951e152f4 GIT binary patch literal 1609 zcma)6?QYXZ6vauCCO2&{mXO%;p&=j$V%JehRUvl^N=O<-DosS)O1rXDO`J(;;d-p` zxKbANDR>8dtauQ_qwo~m87FB4 zm)z$e8K&bg6U67IaS$?L6VmRJ{k}^&?Vfudr3p`k&m1!0d=j#{AM$imr$HQ2Ip*TD ze%7eVY0MH^rv!-TDNADNGtwQjUNcEYR8p_2)!r+m_L>W|chuMh@I#s;#8p|~9T5D) z=`aj@l1M7?>tT=_2T>pc8V3Ji4?AQ`!-S#od+s=md>QbFC_z8+S?vkQaw_h_m}Ad7 zWM0oejR8mC^&-hcL_@F55?=(d7@k6EPiEJubitU^vKk%dyCQdp6e+uW zJ0XI}R7BglZk6DC5$VeQdJ)X(XpTmUYj<%mwFObh9>a$cJo>$jSnCmc>LOG=z>FzaFM9i?R!!j;N1Iq{$ zln#NdO%0V0(lw-WQW=p|l}RBp79h4{Z9*vwk}OpPk;+E(*L_~-0zIQErw7uLRERUrSCP4!mFRs#z9ZQ!7d-z(P1JvXW!4Ja*^ z^#|N+H{Is3`_G_re7Juw=)CIf_Bw6znpJ|OR=>Yz8dzHKz+mYK--k|je+s+i|kJ|f3f_uKH-$p#`z_8HxoOKRy)qcx#Ju)hDGhj&mJ$VinternalAddGeneratedFile( + ' +« +: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.ModelContainerSpecBàABÚ +com.google.cloud.aiplatform.v1BUnmanagedContainerModelProtoPZ>cloud.google.com/go/aiplatform/apiv1/aiplatformpb;aiplatformpbªGoogle.Cloud.AIPlatform.V1ÊGoogle\\Cloud\\AIPlatform\\V1êGoogle::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 new file mode 100644 index 0000000000000000000000000000000000000000..ece2093742f74b1270f48a9bfe761e05a0000b09 GIT binary patch literal 988 zcmbVL(TdYR6t%ms&=CZ?FJ(o!>cVzGQ;Oij)ULEvYag^l);>s}Op=>+WSSW!lLeK2 ziGSdy_yK-|U*XK8O$)pGVqTKWz31GMdrn@xR!c>m!U!|e%wPi1H!w>CrKORv6c80@ ziW*|MQe2=80EQFzIJtzk!|~-~3(aMrW2CT#+6_um3q~_>a>d-^_<0q z%WSUE(qR^3;71UWu@&Zu#R#M6-~$?#FvG%;XA9prwyw4XeU|l_VWzR48Mn^wMsCV^WvO#moBNtU;|+e}AX(fZTUR&jpK6@N6;vDx>DXrg)DWt_CW&6WHQMPOf$n|Qc&p+ z`6c3~_~17^)sD@_@OT*_RqkP2C)A>m38lS#b_*Mo3PM8yKv5}|^u zSg8nQFpDOim?0@KB%V2T{Jv(#5x(oV&z&@%<1gB6MV(jabm)E@D zh7-ZR+dGUPBcf!Mc^jKm1vOk2P!kpfW&SxdJ!|Z#lJ?Fc*y@SuHP{uz^TIG)5D`yV zNi|nS>c~Pd&Y9_!S6BS=c5K~_XW%y)F}@{o1V&eEe>#9>rqadG>8=}Wx-X~f^#yNr zjMKCm`_UTXcfgunwQHIJ*~wJ44`*jo%xzLFgaQUnY(K literal 0 HcmV?d00001 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 new file mode 100644 index 000000000000..a7932b25d3f0 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/VizierService.php @@ -0,0 +1,141 @@ +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\'àAúA! +aiplatform.googleapis.com/Study"† +CreateStudyRequest9 +parent ( B)àAúA# +!locations.googleapis.com/Location5 +study ( 2!.google.cloud.aiplatform.v1.StudyBàA"€ +ListStudiesRequest9 +parent ( B)àAúA# +!locations.googleapis.com/Location + +page_token ( BàA + page_size (BàA"b +ListStudiesResponse2 +studies ( 2!.google.cloud.aiplatform.v1.Study +next_page_token ( "K +DeleteStudyRequest5 +name ( B\'àAúA! +aiplatform.googleapis.com/Study"j +LookupStudyRequest9 +parent ( B)àAúA# +!locations.googleapis.com/Location + display_name ( BàA"Ç +SuggestTrialsRequest7 +parent ( B\'àAúA! +aiplatform.googleapis.com/Study +suggestion_count (BàA + client_id ( BàA? +contexts ( 2(.google.cloud.aiplatform.v1.TrialContextBàA"æ +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\'àAúA! +aiplatform.googleapis.com/Study5 +trial ( 2!.google.cloud.aiplatform.v1.TrialBàA"H +GetTrialRequest5 +name ( B\'àAúA! +aiplatform.googleapis.com/Trial"} +ListTrialsRequest7 +parent ( B\'àAúA! +aiplatform.googleapis.com/Study + +page_token ( BàA + page_size (BàA"` +ListTrialsResponse1 +trials ( 2!.google.cloud.aiplatform.v1.Trial +next_page_token ( "œ +AddTrialMeasurementRequest; + +trial_name ( B\'àAúA! +aiplatform.googleapis.com/TrialA + measurement ( 2\'.google.cloud.aiplatform.v1.MeasurementBàA"Õ +CompleteTrialRequest5 +name ( B\'àAúA! +aiplatform.googleapis.com/TrialG +final_measurement ( 2\'.google.cloud.aiplatform.v1.MeasurementBàA +trial_infeasible (BàA +infeasible_reason ( BàA"K +DeleteTrialRequest5 +name ( B\'àAúA! +aiplatform.googleapis.com/Trial"b +#CheckTrialEarlyStoppingStateRequest; + +trial_name ( B\'àAúA! +aiplatform.googleapis.com/Trial"; +$CheckTrialEarlyStoppingStateResponse + should_stop ("• +%CheckTrialEarlyStoppingStateMetatdataN +generic_metadata ( 24.google.cloud.aiplatform.v1.GenericOperationMetadata +study (  +trial ( "I +StopTrialRequest5 +name ( B\'àAúA! +aiplatform.googleapis.com/Trial"S +ListOptimalTrialsRequest7 +parent ( B\'àAúA! +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"IÚA parent,study‚Óä“4"+/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"<ÚAparent‚Óä“-+/v1/{parent=projects/*/locations/*}/studies‘ + DeleteStudy..google.cloud.aiplatform.v1.DeleteStudyRequest.google.protobuf.Empty":ÚAname‚Óä“-*+/v1/{name=projects/*/locations/*/studies/*}¨ + LookupStudy..google.cloud.aiplatform.v1.LookupStudyRequest!.google.cloud.aiplatform.v1.Study"FÚAparent‚Óä“7"2/v1/{parent=projects/*/locations/*}/studies:lookup:*Ú + SuggestTrials0.google.cloud.aiplatform.v1.SuggestTrialsRequest.google.longrunning.Operation"xÊA. +SuggestTrialsResponseSuggestTrialsMetadata‚Óä“A""9/v1/{name=projects/*/locations/*/studies/*/trials/*}:stop:*Ü +ListOptimalTrials4.google.cloud.aiplatform.v1.ListOptimalTrialsRequest5.google.cloud.aiplatform.v1.ListOptimalTrialsResponse"ZÚAparent‚Óä“K"F/v1/{parent=projects/*/locations/*/studies/*}/trials:listOptimalTrials:*MÊAaiplatform.googleapis.comÒA.https://www.googleapis.com/auth/cloud-platformBÐ +com.google.cloud.aiplatform.v1BVizierServiceProtoPZ>cloud.google.com/go/aiplatform/apiv1/aiplatformpb;aiplatformpbªGoogle.Cloud.AIPlatform.V1ÊGoogle\\Cloud\\AIPlatform\\V1êGoogle::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 new file mode 100644 index 000000000000..bd9880da7d47 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/AcceleratorType.php @@ -0,0 +1,138 @@ +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 [deprecated = true]; + */ + 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 new file mode 100644 index 000000000000..f9887ff8d0c8 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ActiveLearningConfig.php @@ -0,0 +1,210 @@ +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 new file mode 100644 index 000000000000..f48abf80c3d5 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/AddContextArtifactsAndExecutionsRequest.php @@ -0,0 +1,191 @@ +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 new file mode 100644 index 000000000000..d4517733526f --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/AddContextArtifactsAndExecutionsResponse.php @@ -0,0 +1,34 @@ +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 new file mode 100644 index 000000000000..ced1c8790978 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/AddContextChildrenRequest.php @@ -0,0 +1,129 @@ +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 new file mode 100644 index 000000000000..b684c3645241 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/AddContextChildrenResponse.php @@ -0,0 +1,34 @@ +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 new file mode 100644 index 000000000000..91504a57c913 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/AddExecutionEventsRequest.php @@ -0,0 +1,133 @@ +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 new file mode 100644 index 000000000000..d89b931a0efc --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/AddExecutionEventsResponse.php @@ -0,0 +1,34 @@ +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 new file mode 100644 index 000000000000..f2655af971ed --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/AddTrialMeasurementRequest.php @@ -0,0 +1,120 @@ +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 new file mode 100644 index 000000000000..e571d303444a --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/Annotation.php @@ -0,0 +1,446 @@ +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 new file mode 100644 index 000000000000..07c36621fab8 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/AnnotationSpec.php @@ -0,0 +1,235 @@ +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 new file mode 100644 index 000000000000..726926e474ca --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/Artifact.php @@ -0,0 +1,547 @@ +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 new file mode 100644 index 000000000000..63c2eea3f986 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/Artifact/State.php @@ -0,0 +1,66 @@ +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 new file mode 100644 index 000000000000..72e3b6bf3dc6 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/AssignNotebookRuntimeOperationMetadata.php @@ -0,0 +1,116 @@ +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 new file mode 100644 index 000000000000..c8ea820e441c --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/AssignNotebookRuntimeRequest.php @@ -0,0 +1,216 @@ +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 new file mode 100644 index 000000000000..457be211bfdd --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/Attribution.php @@ -0,0 +1,565 @@ +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 new file mode 100644 index 000000000000..19a15f9d5eb8 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/AutomaticResources.php @@ -0,0 +1,155 @@ +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 new file mode 100644 index 000000000000..68f5244c7a41 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/AutoscalingMetricSpec.php @@ -0,0 +1,131 @@ +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 new file mode 100644 index 000000000000..b0558cc5b603 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/AvroSource.php @@ -0,0 +1,77 @@ +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 new file mode 100644 index 000000000000..6311dfc7eb40 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/BatchCancelPipelineJobsOperationMetadata.php @@ -0,0 +1,78 @@ +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 new file mode 100644 index 000000000000..ace5b89bb75f --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/BatchCancelPipelineJobsRequest.php @@ -0,0 +1,139 @@ +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 new file mode 100644 index 000000000000..38115bb97b1f --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/BatchCancelPipelineJobsResponse.php @@ -0,0 +1,68 @@ +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 new file mode 100644 index 000000000000..6dabff519c11 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/BatchCreateFeaturesOperationMetadata.php @@ -0,0 +1,77 @@ +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 new file mode 100644 index 000000000000..f2115669730b --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/BatchCreateFeaturesRequest.php @@ -0,0 +1,148 @@ +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 new file mode 100644 index 000000000000..40b52284eaaa --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/BatchCreateFeaturesResponse.php @@ -0,0 +1,68 @@ +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 new file mode 100644 index 000000000000..ea8f9e456276 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/BatchCreateTensorboardRunsRequest.php @@ -0,0 +1,143 @@ +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 new file mode 100644 index 000000000000..e64e2efcc831 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/BatchCreateTensorboardRunsResponse.php @@ -0,0 +1,68 @@ +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 new file mode 100644 index 000000000000..4a4baef7fbe0 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/BatchCreateTensorboardTimeSeriesRequest.php @@ -0,0 +1,153 @@ +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 new file mode 100644 index 000000000000..d2a57f05f843 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/BatchCreateTensorboardTimeSeriesResponse.php @@ -0,0 +1,68 @@ +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 new file mode 100644 index 000000000000..ba3d80f6f880 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/BatchDedicatedResources.php @@ -0,0 +1,158 @@ +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 new file mode 100644 index 000000000000..d3e697f9a6b3 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/BatchDeletePipelineJobsRequest.php @@ -0,0 +1,139 @@ +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 new file mode 100644 index 000000000000..42c0da5961db --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/BatchDeletePipelineJobsResponse.php @@ -0,0 +1,68 @@ +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 new file mode 100644 index 000000000000..e300b7710e16 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/BatchImportEvaluatedAnnotationsRequest.php @@ -0,0 +1,128 @@ +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 new file mode 100644 index 000000000000..b38ba54de607 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/BatchImportEvaluatedAnnotationsResponse.php @@ -0,0 +1,68 @@ +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 new file mode 100644 index 000000000000..a9498d04017e --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/BatchImportModelEvaluationSlicesRequest.php @@ -0,0 +1,128 @@ +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 new file mode 100644 index 000000000000..89b2bd171381 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/BatchImportModelEvaluationSlicesResponse.php @@ -0,0 +1,72 @@ +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 new file mode 100644 index 000000000000..c0566f257330 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/BatchMigrateResourcesOperationMetadata.php @@ -0,0 +1,112 @@ +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 new file mode 100644 index 000000000000..8d97896ba5d2 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/BatchMigrateResourcesOperationMetadata/PartialResult.php @@ -0,0 +1,193 @@ +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 new file mode 100644 index 000000000000..c58534bdd59d --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/BatchMigrateResourcesRequest.php @@ -0,0 +1,133 @@ +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 new file mode 100644 index 000000000000..ec0fd4640b53 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/BatchMigrateResourcesResponse.php @@ -0,0 +1,68 @@ +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 new file mode 100644 index 000000000000..3c43ceb23356 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/BatchPredictionJob.php @@ -0,0 +1,1510 @@ +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 new file mode 100644 index 000000000000..9a5547973e1f --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/BatchPredictionJob/InputConfig.php @@ -0,0 +1,169 @@ +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 new file mode 100644 index 000000000000..84d4b665edfe --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/BatchPredictionJob/InstanceConfig.php @@ -0,0 +1,445 @@ +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 new file mode 100644 index 000000000000..593442b63f9b --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/BatchPredictionJob/OutputConfig.php @@ -0,0 +1,277 @@ +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 new file mode 100644 index 000000000000..6ed62fa2e9e4 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/BatchPredictionJob/OutputInfo.php @@ -0,0 +1,168 @@ +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 new file mode 100644 index 000000000000..1514117ac054 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/BatchReadFeatureValuesOperationMetadata.php @@ -0,0 +1,77 @@ +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 new file mode 100644 index 000000000000..ab375753fdc3 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/BatchReadFeatureValuesRequest.php @@ -0,0 +1,403 @@ +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 new file mode 100644 index 000000000000..21af7601cc07 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/BatchReadFeatureValuesRequest/EntityTypeSpec.php @@ -0,0 +1,165 @@ +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 new file mode 100644 index 000000000000..d46974bdde45 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/BatchReadFeatureValuesRequest/PassThroughField.php @@ -0,0 +1,78 @@ +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 new file mode 100644 index 000000000000..f1c2c8929965 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/BatchReadFeatureValuesResponse.php @@ -0,0 +1,34 @@ +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 new file mode 100644 index 000000000000..e2d1d43e92d3 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/BatchReadTensorboardTimeSeriesDataRequest.php @@ -0,0 +1,149 @@ +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 new file mode 100644 index 000000000000..0dca16805076 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/BatchReadTensorboardTimeSeriesDataResponse.php @@ -0,0 +1,68 @@ +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 new file mode 100644 index 000000000000..54f26730bb7a --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/BigQueryDestination.php @@ -0,0 +1,95 @@ +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 new file mode 100644 index 000000000000..21cde2f1e7fc --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/BigQuerySource.php @@ -0,0 +1,75 @@ +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 new file mode 100644 index 000000000000..e930d980dc15 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/Blob.php @@ -0,0 +1,103 @@ +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 new file mode 100644 index 000000000000..511227fc1dbd --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/BlurBaselineConfig.php @@ -0,0 +1,83 @@ +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 new file mode 100644 index 000000000000..597297556639 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/BoolArray.php @@ -0,0 +1,67 @@ +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 new file mode 100644 index 000000000000..5b0d4263f1ee --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CancelBatchPredictionJobRequest.php @@ -0,0 +1,92 @@ +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 new file mode 100644 index 000000000000..25ee68df6bf6 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CancelCustomJobRequest.php @@ -0,0 +1,92 @@ +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 new file mode 100644 index 000000000000..e8c568532703 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CancelDataLabelingJobRequest.php @@ -0,0 +1,92 @@ +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 new file mode 100644 index 000000000000..4705d020add8 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CancelHyperparameterTuningJobRequest.php @@ -0,0 +1,92 @@ +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 new file mode 100644 index 000000000000..f594cf23a0eb --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CancelNasJobRequest.php @@ -0,0 +1,92 @@ +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 new file mode 100644 index 000000000000..22cd0124a111 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CancelPipelineJobRequest.php @@ -0,0 +1,92 @@ +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 new file mode 100644 index 000000000000..2566bb7d2ba5 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CancelTrainingPipelineRequest.php @@ -0,0 +1,92 @@ +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 new file mode 100644 index 000000000000..446445bd9371 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CancelTuningJobRequest.php @@ -0,0 +1,87 @@ +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 new file mode 100644 index 000000000000..26f50955e2e5 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/Candidate.php @@ -0,0 +1,357 @@ +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. Confidence score of the candidate. + * + * Generated from protobuf field double score = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + protected $score = 0.0; + /** + * 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 float $score + * Output only. Confidence score 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. Confidence score of the candidate. + * + * Generated from protobuf field double score = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return float + */ + public function getScore() + { + return $this->score; + } + + /** + * Output only. Confidence score of the candidate. + * + * Generated from protobuf field double score = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @param float $var + * @return $this + */ + public function setScore($var) + { + GPBUtil::checkDouble($var); + $this->score = $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 new file mode 100644 index 000000000000..15cc54b2fd14 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/Candidate/FinishReason.php @@ -0,0 +1,120 @@ +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 new file mode 100644 index 000000000000..9a84e406a556 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CheckTrialEarlyStoppingStateMetatdata.php @@ -0,0 +1,147 @@ +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 new file mode 100644 index 000000000000..c27050cd570c --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CheckTrialEarlyStoppingStateRequest.php @@ -0,0 +1,76 @@ +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 new file mode 100644 index 000000000000..480a948c3d90 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CheckTrialEarlyStoppingStateResponse.php @@ -0,0 +1,68 @@ +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 new file mode 100644 index 000000000000..7fc4c4f8df49 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/Citation.php @@ -0,0 +1,247 @@ +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 new file mode 100644 index 000000000000..adf9d9d48024 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CitationMetadata.php @@ -0,0 +1,67 @@ +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 new file mode 100644 index 000000000000..4690f368b311 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CompleteTrialRequest.php @@ -0,0 +1,204 @@ +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 new file mode 100644 index 000000000000..a48d0f14ba2b --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CompletionStats.php @@ -0,0 +1,194 @@ +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 new file mode 100644 index 000000000000..32cd15e67194 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ComputeTokensRequest.php @@ -0,0 +1,208 @@ +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 new file mode 100644 index 000000000000..d62d19af34c2 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ComputeTokensResponse.php @@ -0,0 +1,75 @@ +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 new file mode 100644 index 000000000000..58fbb4c19983 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ContainerRegistryDestination.php @@ -0,0 +1,95 @@ +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 new file mode 100644 index 000000000000..52f22956c176 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ContainerSpec.php @@ -0,0 +1,181 @@ +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 new file mode 100644 index 000000000000..cac84e11bbd1 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/Content.php @@ -0,0 +1,116 @@ +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 new file mode 100644 index 000000000000..5350832124f1 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/Context.php @@ -0,0 +1,501 @@ +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 new file mode 100644 index 000000000000..96560fa2b4a5 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CopyModelOperationMetadata.php @@ -0,0 +1,79 @@ +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 new file mode 100644 index 000000000000..c194bc851e77 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CopyModelRequest.php @@ -0,0 +1,272 @@ +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 new file mode 100644 index 000000000000..b7009c3497ea --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CopyModelResponse.php @@ -0,0 +1,107 @@ +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 new file mode 100644 index 000000000000..799caf4c9d72 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CountTokensRequest.php @@ -0,0 +1,310 @@ +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 = ''; + /** + * 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. 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) = OPTIONAL]; + */ + private $instances; + /** + * Optional. Input content. + * + * Generated from protobuf field repeated .google.cloud.aiplatform.v1.Content contents = 4 [(.google.api.field_behavior) = OPTIONAL]; + */ + 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 = 5 [(.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; + + /** + * @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 Optional. 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 + * Optional. 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 + * Optional. 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 + * Optional. Input content. + * @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. + * } + */ + 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; + } + + /** + * 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. 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) = OPTIONAL]; + * @return \Google\Protobuf\Internal\RepeatedField + */ + public function getInstances() + { + return $this->instances; + } + + /** + * Optional. 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) = 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. 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; + } + + /** + * 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 = 5 [(.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 = 5 [(.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; + } + +} + 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 new file mode 100644 index 000000000000..b2b0f04d3679 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CountTokensResponse.php @@ -0,0 +1,105 @@ +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 new file mode 100644 index 000000000000..101d30793506 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CreateArtifactRequest.php @@ -0,0 +1,209 @@ +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 new file mode 100644 index 000000000000..5d648b95312a --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CreateBatchPredictionJobRequest.php @@ -0,0 +1,133 @@ +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 new file mode 100644 index 000000000000..136459c0e04e --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CreateContextRequest.php @@ -0,0 +1,204 @@ +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 new file mode 100644 index 000000000000..b277cb82d0c0 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CreateCustomJobRequest.php @@ -0,0 +1,133 @@ +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 new file mode 100644 index 000000000000..606b44afff62 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CreateDataLabelingJobRequest.php @@ -0,0 +1,133 @@ +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 new file mode 100644 index 000000000000..a4f1442b8b58 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CreateDatasetOperationMetadata.php @@ -0,0 +1,78 @@ +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 new file mode 100644 index 000000000000..56909d8b33e7 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CreateDatasetRequest.php @@ -0,0 +1,133 @@ +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 new file mode 100644 index 000000000000..42a9dfce633b --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CreateDatasetVersionOperationMetadata.php @@ -0,0 +1,78 @@ +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 new file mode 100644 index 000000000000..d52bc548f697 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CreateDatasetVersionRequest.php @@ -0,0 +1,148 @@ +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 new file mode 100644 index 000000000000..b3a73f8363b7 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CreateDeploymentResourcePoolOperationMetadata.php @@ -0,0 +1,77 @@ +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 new file mode 100644 index 000000000000..b2159a3fb47d --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CreateDeploymentResourcePoolRequest.php @@ -0,0 +1,189 @@ +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 new file mode 100644 index 000000000000..2541cb6f4554 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CreateEndpointOperationMetadata.php @@ -0,0 +1,78 @@ +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 new file mode 100644 index 000000000000..7b06487c5ec6 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CreateEndpointRequest.php @@ -0,0 +1,239 @@ +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 new file mode 100644 index 000000000000..cdd88cbab3d7 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CreateEntityTypeOperationMetadata.php @@ -0,0 +1,77 @@ +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 new file mode 100644 index 000000000000..33de6a198416 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CreateEntityTypeRequest.php @@ -0,0 +1,214 @@ +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 new file mode 100644 index 000000000000..d1cdc202c321 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CreateExecutionRequest.php @@ -0,0 +1,214 @@ +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 new file mode 100644 index 000000000000..4f2674eccbec --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CreateFeatureGroupOperationMetadata.php @@ -0,0 +1,77 @@ +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 new file mode 100644 index 000000000000..499466d08850 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CreateFeatureGroupRequest.php @@ -0,0 +1,196 @@ +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 new file mode 100644 index 000000000000..3b46d3c6c144 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CreateFeatureOnlineStoreOperationMetadata.php @@ -0,0 +1,77 @@ +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 new file mode 100644 index 000000000000..2e8f2f2c7493 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CreateFeatureOnlineStoreRequest.php @@ -0,0 +1,196 @@ +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 new file mode 100644 index 000000000000..6f4fb7c00ee0 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CreateFeatureOperationMetadata.php @@ -0,0 +1,77 @@ +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 new file mode 100644 index 000000000000..3088d4e892ec --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CreateFeatureRequest.php @@ -0,0 +1,228 @@ +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 new file mode 100644 index 000000000000..9afadfee20b9 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CreateFeatureViewOperationMetadata.php @@ -0,0 +1,77 @@ +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 new file mode 100644 index 000000000000..d7c4f8746c39 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CreateFeatureViewRequest.php @@ -0,0 +1,242 @@ +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 new file mode 100644 index 000000000000..cfbfb6e717be --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CreateFeaturestoreOperationMetadata.php @@ -0,0 +1,77 @@ +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 new file mode 100644 index 000000000000..65a3c26fa649 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CreateFeaturestoreRequest.php @@ -0,0 +1,214 @@ +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 new file mode 100644 index 000000000000..bbc29fe3a679 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CreateHyperparameterTuningJobRequest.php @@ -0,0 +1,138 @@ +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 new file mode 100644 index 000000000000..c87e3c1abf76 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CreateIndexEndpointOperationMetadata.php @@ -0,0 +1,78 @@ +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 new file mode 100644 index 000000000000..6649ba6db0a6 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CreateIndexEndpointRequest.php @@ -0,0 +1,133 @@ +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 new file mode 100644 index 000000000000..a7d66dd9462f --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CreateIndexOperationMetadata.php @@ -0,0 +1,122 @@ +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 new file mode 100644 index 000000000000..eb6fa1d4e365 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CreateIndexRequest.php @@ -0,0 +1,133 @@ +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 new file mode 100644 index 000000000000..f0730dff1318 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CreateMetadataSchemaRequest.php @@ -0,0 +1,209 @@ +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 new file mode 100644 index 000000000000..8a2e4b516b29 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CreateMetadataStoreOperationMetadata.php @@ -0,0 +1,78 @@ +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 new file mode 100644 index 000000000000..e6296df82838 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CreateMetadataStoreRequest.php @@ -0,0 +1,209 @@ +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 new file mode 100644 index 000000000000..42753eba208e --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CreateModelDeploymentMonitoringJobRequest.php @@ -0,0 +1,133 @@ +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 new file mode 100644 index 000000000000..12c1010b4376 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CreateNasJobRequest.php @@ -0,0 +1,133 @@ +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/CreateNotebookExecutionJobOperationMetadata.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CreateNotebookExecutionJobOperationMetadata.php new file mode 100644 index 000000000000..0b71e5286960 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CreateNotebookExecutionJobOperationMetadata.php @@ -0,0 +1,116 @@ +google.cloud.aiplatform.v1.CreateNotebookExecutionJobOperationMetadata + */ +class CreateNotebookExecutionJobOperationMetadata 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/CreateNotebookExecutionJobRequest.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CreateNotebookExecutionJobRequest.php new file mode 100644 index 000000000000..99b6895f59ce --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CreateNotebookExecutionJobRequest.php @@ -0,0 +1,168 @@ +google.cloud.aiplatform.v1.CreateNotebookExecutionJobRequest + */ +class CreateNotebookExecutionJobRequest extends \Google\Protobuf\Internal\Message +{ + /** + * Required. The resource name of the Location to create the + * NotebookExecutionJob. 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 NotebookExecutionJob to create. + * + * Generated from protobuf field .google.cloud.aiplatform.v1.NotebookExecutionJob notebook_execution_job = 2 [(.google.api.field_behavior) = REQUIRED]; + */ + protected $notebook_execution_job = null; + /** + * Optional. User specified ID for the NotebookExecutionJob. + * + * Generated from protobuf field string notebook_execution_job_id = 3 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $notebook_execution_job_id = ''; + + /** + * @param string $parent Required. The resource name of the Location to create the + * NotebookExecutionJob. Format: `projects/{project}/locations/{location}` + * Please see {@see NotebookServiceClient::locationName()} for help formatting this field. + * @param \Google\Cloud\AIPlatform\V1\NotebookExecutionJob $notebookExecutionJob Required. The NotebookExecutionJob to create. + * @param string $notebookExecutionJobId Optional. User specified ID for the NotebookExecutionJob. + * + * @return \Google\Cloud\AIPlatform\V1\CreateNotebookExecutionJobRequest + * + * @experimental + */ + public static function build(string $parent, \Google\Cloud\AIPlatform\V1\NotebookExecutionJob $notebookExecutionJob, string $notebookExecutionJobId): self + { + return (new self()) + ->setParent($parent) + ->setNotebookExecutionJob($notebookExecutionJob) + ->setNotebookExecutionJobId($notebookExecutionJobId); + } + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $parent + * Required. The resource name of the Location to create the + * NotebookExecutionJob. Format: `projects/{project}/locations/{location}` + * @type \Google\Cloud\AIPlatform\V1\NotebookExecutionJob $notebook_execution_job + * Required. The NotebookExecutionJob to create. + * @type string $notebook_execution_job_id + * Optional. User specified ID for the NotebookExecutionJob. + * } + */ + 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 + * NotebookExecutionJob. 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 + * NotebookExecutionJob. 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 NotebookExecutionJob to create. + * + * Generated from protobuf field .google.cloud.aiplatform.v1.NotebookExecutionJob notebook_execution_job = 2 [(.google.api.field_behavior) = REQUIRED]; + * @return \Google\Cloud\AIPlatform\V1\NotebookExecutionJob|null + */ + public function getNotebookExecutionJob() + { + return $this->notebook_execution_job; + } + + public function hasNotebookExecutionJob() + { + return isset($this->notebook_execution_job); + } + + public function clearNotebookExecutionJob() + { + unset($this->notebook_execution_job); + } + + /** + * Required. The NotebookExecutionJob to create. + * + * Generated from protobuf field .google.cloud.aiplatform.v1.NotebookExecutionJob notebook_execution_job = 2 [(.google.api.field_behavior) = REQUIRED]; + * @param \Google\Cloud\AIPlatform\V1\NotebookExecutionJob $var + * @return $this + */ + public function setNotebookExecutionJob($var) + { + GPBUtil::checkMessage($var, \Google\Cloud\AIPlatform\V1\NotebookExecutionJob::class); + $this->notebook_execution_job = $var; + + return $this; + } + + /** + * Optional. User specified ID for the NotebookExecutionJob. + * + * Generated from protobuf field string notebook_execution_job_id = 3 [(.google.api.field_behavior) = OPTIONAL]; + * @return string + */ + public function getNotebookExecutionJobId() + { + return $this->notebook_execution_job_id; + } + + /** + * Optional. User specified ID for the NotebookExecutionJob. + * + * Generated from protobuf field string notebook_execution_job_id = 3 [(.google.api.field_behavior) = OPTIONAL]; + * @param string $var + * @return $this + */ + public function setNotebookExecutionJobId($var) + { + GPBUtil::checkString($var, True); + $this->notebook_execution_job_id = $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 new file mode 100644 index 000000000000..37373db16dbe --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CreateNotebookRuntimeTemplateOperationMetadata.php @@ -0,0 +1,78 @@ +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 new file mode 100644 index 000000000000..3ca52baacf6f --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CreateNotebookRuntimeTemplateRequest.php @@ -0,0 +1,169 @@ +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 new file mode 100644 index 000000000000..b963a2703371 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CreatePersistentResourceOperationMetadata.php @@ -0,0 +1,111 @@ +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 new file mode 100644 index 000000000000..4010dc35ad9a --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CreatePersistentResourceRequest.php @@ -0,0 +1,185 @@ +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 new file mode 100644 index 000000000000..3f82ca54660f --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CreatePipelineJobRequest.php @@ -0,0 +1,190 @@ +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 new file mode 100644 index 000000000000..bd41c4b8e253 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CreateRegistryFeatureOperationMetadata.php @@ -0,0 +1,77 @@ +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 new file mode 100644 index 000000000000..1eedb9122b64 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CreateScheduleRequest.php @@ -0,0 +1,133 @@ +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 new file mode 100644 index 000000000000..09d7fb3f3f32 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CreateSpecialistPoolOperationMetadata.php @@ -0,0 +1,78 @@ +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 new file mode 100644 index 000000000000..99819c0e077d --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CreateSpecialistPoolRequest.php @@ -0,0 +1,133 @@ +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 new file mode 100644 index 000000000000..44171412c6f6 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CreateStudyRequest.php @@ -0,0 +1,133 @@ +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 new file mode 100644 index 000000000000..26fcd906e9ec --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CreateTensorboardExperimentRequest.php @@ -0,0 +1,190 @@ +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 new file mode 100644 index 000000000000..d616c1223d86 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CreateTensorboardOperationMetadata.php @@ -0,0 +1,77 @@ +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 new file mode 100644 index 000000000000..c90005dce05d --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CreateTensorboardRequest.php @@ -0,0 +1,133 @@ +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 new file mode 100644 index 000000000000..4e6f6e0f97ac --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CreateTensorboardRunRequest.php @@ -0,0 +1,190 @@ +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 new file mode 100644 index 000000000000..083318647e35 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CreateTensorboardTimeSeriesRequest.php @@ -0,0 +1,189 @@ +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 new file mode 100644 index 000000000000..e7ee7ee5ed66 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CreateTrainingPipelineRequest.php @@ -0,0 +1,133 @@ +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 new file mode 100644 index 000000000000..d2551167761d --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CreateTrialRequest.php @@ -0,0 +1,133 @@ +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 new file mode 100644 index 000000000000..345c2afa06f0 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CreateTuningJobRequest.php @@ -0,0 +1,133 @@ +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 new file mode 100644 index 000000000000..70c7a3eafe6e --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CsvDestination.php @@ -0,0 +1,77 @@ +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 new file mode 100644 index 000000000000..9831670ed928 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CsvSource.php @@ -0,0 +1,77 @@ +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 new file mode 100644 index 000000000000..116820996d64 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CustomJob.php @@ -0,0 +1,594 @@ +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 new file mode 100644 index 000000000000..5cb74488ed68 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CustomJobSpec.php @@ -0,0 +1,845 @@ +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 new file mode 100644 index 000000000000..91a3e21374be --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/DataItem.php @@ -0,0 +1,316 @@ +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 new file mode 100644 index 000000000000..fa12a0e7d8ad --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/DataItemView.php @@ -0,0 +1,173 @@ +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 new file mode 100644 index 000000000000..c416d3c5caa9 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/DataLabelingJob.php @@ -0,0 +1,852 @@ +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 new file mode 100644 index 000000000000..610462e755ad --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/Dataset.php @@ -0,0 +1,669 @@ +google.cloud.aiplatform.v1.Dataset + */ +class Dataset extends \Google\Protobuf\Internal\Message +{ + /** + * Output only. Identifier. The resource name of the Dataset. + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IDENTIFIER]; + */ + 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. Identifier. 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. Identifier. The resource name of the Dataset. + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IDENTIFIER]; + * @return string + */ + public function getName() + { + return $this->name; + } + + /** + * Output only. Identifier. The resource name of the Dataset. + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IDENTIFIER]; + * @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 new file mode 100644 index 000000000000..763d95afe916 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/DatasetVersion.php @@ -0,0 +1,351 @@ +google.cloud.aiplatform.v1.DatasetVersion + */ +class DatasetVersion extends \Google\Protobuf\Internal\Message +{ + /** + * Output only. Identifier. The resource name of the DatasetVersion. + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IDENTIFIER]; + */ + 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. Identifier. 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. Identifier. The resource name of the DatasetVersion. + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IDENTIFIER]; + * @return string + */ + public function getName() + { + return $this->name; + } + + /** + * Output only. Identifier. The resource name of the DatasetVersion. + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.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 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 new file mode 100644 index 000000000000..fb3935c5e29e --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/DedicatedResources.php @@ -0,0 +1,328 @@ +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 new file mode 100644 index 000000000000..69049a86d5d5 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/DeleteArtifactRequest.php @@ -0,0 +1,134 @@ +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 new file mode 100644 index 000000000000..93c65b3bac11 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/DeleteBatchPredictionJobRequest.php @@ -0,0 +1,92 @@ +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 new file mode 100644 index 000000000000..8f9511ceaaea --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/DeleteContextRequest.php @@ -0,0 +1,172 @@ +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 new file mode 100644 index 000000000000..dfed82fefc6c --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/DeleteCustomJobRequest.php @@ -0,0 +1,92 @@ +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 new file mode 100644 index 000000000000..9dd7c2d0b6de --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/DeleteDataLabelingJobRequest.php @@ -0,0 +1,92 @@ +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 new file mode 100644 index 000000000000..7741c711a0ed --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/DeleteDatasetRequest.php @@ -0,0 +1,92 @@ +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 new file mode 100644 index 000000000000..d4018dd2848e --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/DeleteDatasetVersionRequest.php @@ -0,0 +1,92 @@ +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 new file mode 100644 index 000000000000..486d65c04286 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/DeleteDeploymentResourcePoolRequest.php @@ -0,0 +1,91 @@ +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 new file mode 100644 index 000000000000..598ba0620f61 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/DeleteEndpointRequest.php @@ -0,0 +1,92 @@ +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 new file mode 100644 index 000000000000..092391e1e127 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/DeleteEntityTypeRequest.php @@ -0,0 +1,148 @@ +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 new file mode 100644 index 000000000000..cbd51947ca28 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/DeleteExecutionRequest.php @@ -0,0 +1,134 @@ +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 new file mode 100644 index 000000000000..0cb4f265ddfa --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/DeleteFeatureGroupRequest.php @@ -0,0 +1,138 @@ +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 new file mode 100644 index 000000000000..5fdd65765b87 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/DeleteFeatureOnlineStoreRequest.php @@ -0,0 +1,138 @@ +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 new file mode 100644 index 000000000000..e9e03c983ee1 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/DeleteFeatureRequest.php @@ -0,0 +1,99 @@ +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 new file mode 100644 index 000000000000..63ba9f807d6c --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/DeleteFeatureValuesOperationMetadata.php @@ -0,0 +1,77 @@ +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 new file mode 100644 index 000000000000..19b97fb35222 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/DeleteFeatureValuesRequest.php @@ -0,0 +1,170 @@ +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 new file mode 100644 index 000000000000..e70044c24764 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/DeleteFeatureValuesRequest/SelectEntity.php @@ -0,0 +1,86 @@ +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 new file mode 100644 index 000000000000..db8db2736814 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/DeleteFeatureValuesRequest/SelectTimeRangeAndFeature.php @@ -0,0 +1,179 @@ +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 new file mode 100644 index 000000000000..f0d0289e26ac --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/DeleteFeatureValuesResponse.php @@ -0,0 +1,109 @@ +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 new file mode 100644 index 000000000000..8c50ddaeb5bd --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/DeleteFeatureValuesResponse/SelectEntity.php @@ -0,0 +1,116 @@ +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 new file mode 100644 index 000000000000..1bf169b186df --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/DeleteFeatureValuesResponse/SelectTimeRangeAndFeature.php @@ -0,0 +1,170 @@ +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 new file mode 100644 index 000000000000..11a935f82552 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/DeleteFeatureViewRequest.php @@ -0,0 +1,91 @@ +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 new file mode 100644 index 000000000000..8a70176fcb87 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/DeleteFeaturestoreRequest.php @@ -0,0 +1,154 @@ +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 new file mode 100644 index 000000000000..284f7482f6fb --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/DeleteHyperparameterTuningJobRequest.php @@ -0,0 +1,92 @@ +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 new file mode 100644 index 000000000000..fb6aeef6104d --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/DeleteIndexEndpointRequest.php @@ -0,0 +1,92 @@ +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 new file mode 100644 index 000000000000..418d40a7f0e9 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/DeleteIndexRequest.php @@ -0,0 +1,92 @@ +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 new file mode 100644 index 000000000000..c8b6e4005039 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/DeleteMetadataStoreOperationMetadata.php @@ -0,0 +1,78 @@ +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 new file mode 100644 index 000000000000..1ff107a40ef7 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/DeleteMetadataStoreRequest.php @@ -0,0 +1,131 @@ +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 new file mode 100644 index 000000000000..3497dadbb97e --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/DeleteModelDeploymentMonitoringJobRequest.php @@ -0,0 +1,92 @@ +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 new file mode 100644 index 000000000000..1faeb4d0ff54 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/DeleteModelRequest.php @@ -0,0 +1,87 @@ +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 new file mode 100644 index 000000000000..594e38fefb09 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/DeleteModelVersionRequest.php @@ -0,0 +1,93 @@ +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 new file mode 100644 index 000000000000..3fc52e5916c0 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/DeleteNasJobRequest.php @@ -0,0 +1,92 @@ +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/DeleteNotebookExecutionJobRequest.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/DeleteNotebookExecutionJobRequest.php new file mode 100644 index 000000000000..aaacf8aaff4d --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/DeleteNotebookExecutionJobRequest.php @@ -0,0 +1,81 @@ +google.cloud.aiplatform.v1.DeleteNotebookExecutionJobRequest + */ +class DeleteNotebookExecutionJobRequest extends \Google\Protobuf\Internal\Message +{ + /** + * Required. The name of the NotebookExecutionJob resource to be deleted. + * + * 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 NotebookExecutionJob resource to be deleted. Please see + * {@see NotebookServiceClient::notebookExecutionJobName()} for help formatting this field. + * + * @return \Google\Cloud\AIPlatform\V1\DeleteNotebookExecutionJobRequest + * + * @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 NotebookExecutionJob resource to be deleted. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Cloud\Aiplatform\V1\NotebookService::initOnce(); + parent::__construct($data); + } + + /** + * Required. The name of the NotebookExecutionJob resource to be deleted. + * + * 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 NotebookExecutionJob resource to be deleted. + * + * 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 new file mode 100644 index 000000000000..82e4d93ff2a7 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/DeleteNotebookRuntimeRequest.php @@ -0,0 +1,97 @@ +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 new file mode 100644 index 000000000000..72f20a0d917d --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/DeleteNotebookRuntimeTemplateRequest.php @@ -0,0 +1,92 @@ +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 new file mode 100644 index 000000000000..550d06373645 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/DeleteOperationMetadata.php @@ -0,0 +1,77 @@ +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 new file mode 100644 index 000000000000..0ff38cba1d08 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/DeletePersistentResourceRequest.php @@ -0,0 +1,92 @@ +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 new file mode 100644 index 000000000000..b20e5935e894 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/DeletePipelineJobRequest.php @@ -0,0 +1,92 @@ +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 new file mode 100644 index 000000000000..c11454383354 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/DeleteSavedQueryRequest.php @@ -0,0 +1,92 @@ +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 new file mode 100644 index 000000000000..ea69f30d7497 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/DeleteScheduleRequest.php @@ -0,0 +1,92 @@ +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 new file mode 100644 index 000000000000..4f480e345c69 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/DeleteSpecialistPoolRequest.php @@ -0,0 +1,129 @@ +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 new file mode 100644 index 000000000000..64b41f042682 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/DeleteStudyRequest.php @@ -0,0 +1,87 @@ +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 new file mode 100644 index 000000000000..f35a73540e67 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/DeleteTensorboardExperimentRequest.php @@ -0,0 +1,92 @@ +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 new file mode 100644 index 000000000000..a7230c9e783a --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/DeleteTensorboardRequest.php @@ -0,0 +1,92 @@ +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 new file mode 100644 index 000000000000..f63d3f04fde3 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/DeleteTensorboardRunRequest.php @@ -0,0 +1,92 @@ +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 new file mode 100644 index 000000000000..489585d7153b --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/DeleteTensorboardTimeSeriesRequest.php @@ -0,0 +1,92 @@ +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 new file mode 100644 index 000000000000..544aa735599d --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/DeleteTrainingPipelineRequest.php @@ -0,0 +1,92 @@ +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 new file mode 100644 index 000000000000..a392aa91f814 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/DeleteTrialRequest.php @@ -0,0 +1,92 @@ +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 new file mode 100644 index 000000000000..359d23294621 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/DeployIndexOperationMetadata.php @@ -0,0 +1,112 @@ +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 new file mode 100644 index 000000000000..d47467ec9876 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/DeployIndexRequest.php @@ -0,0 +1,138 @@ +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 new file mode 100644 index 000000000000..fc3b10e89fb9 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/DeployIndexResponse.php @@ -0,0 +1,78 @@ +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 new file mode 100644 index 000000000000..96c212eb21e1 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/DeployModelOperationMetadata.php @@ -0,0 +1,78 @@ +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 new file mode 100644 index 000000000000..e044c3fef64d --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/DeployModelRequest.php @@ -0,0 +1,246 @@ +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 new file mode 100644 index 000000000000..affc801ec33e --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/DeployModelResponse.php @@ -0,0 +1,78 @@ +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 new file mode 100644 index 000000000000..ea468ed0facc --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/DeployedIndex.php @@ -0,0 +1,757 @@ +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 new file mode 100644 index 000000000000..fb9017e62156 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/DeployedIndexAuthConfig.php @@ -0,0 +1,77 @@ +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 new file mode 100644 index 000000000000..4397246103e2 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/DeployedIndexAuthConfig/AuthProvider.php @@ -0,0 +1,126 @@ +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 new file mode 100644 index 000000000000..a27c56b931f1 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/DeployedIndexRef.php @@ -0,0 +1,135 @@ +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 new file mode 100644 index 000000000000..13ddf1690b1d --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/DeployedModel.php @@ -0,0 +1,753 @@ +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 new file mode 100644 index 000000000000..1f270de80921 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/DeployedModelRef.php @@ -0,0 +1,101 @@ +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 new file mode 100644 index 000000000000..5eda0269b80f --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/DeploymentResourcePool.php @@ -0,0 +1,328 @@ +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 new file mode 100644 index 000000000000..4339ccffe57e --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/DestinationFeatureSetting.php @@ -0,0 +1,103 @@ +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 new file mode 100644 index 000000000000..7bbbeb3d74e1 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/DirectPredictRequest.php @@ -0,0 +1,154 @@ +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 new file mode 100644 index 000000000000..fc07726eb0db --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/DirectPredictResponse.php @@ -0,0 +1,112 @@ +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 new file mode 100644 index 000000000000..742455145cb6 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/DirectRawPredictRequest.php @@ -0,0 +1,164 @@ +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 new file mode 100644 index 000000000000..7c10eea0fc0f --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/DirectRawPredictResponse.php @@ -0,0 +1,68 @@ +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 new file mode 100644 index 000000000000..8d4b509db5ee --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/DiskSpec.php @@ -0,0 +1,109 @@ +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 new file mode 100644 index 000000000000..d1fb464ed9aa --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/DoubleArray.php @@ -0,0 +1,67 @@ +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 new file mode 100644 index 000000000000..61554ec16fe9 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/EncryptionSpec.php @@ -0,0 +1,84 @@ +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 new file mode 100644 index 000000000000..a332b1774f4c --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/Endpoint.php @@ -0,0 +1,939 @@ +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; + /** + * If true, the endpoint will be exposed through a dedicated + * DNS [Endpoint.dedicated_endpoint_dns]. Your request to the dedicated DNS + * will be isolated from other users' traffic and will have better performance + * and reliability. + * Note: Once you enabled dedicated endpoint, you won't be able to send + * request to the shared DNS {region}-aiplatform.googleapis.com. The + * limitation will be removed soon. + * + * Generated from protobuf field bool dedicated_endpoint_enabled = 24; + */ + protected $dedicated_endpoint_enabled = false; + /** + * Output only. DNS of the dedicated endpoint. Will only be populated if + * dedicated_endpoint_enabled is true. + * Format: + * `https://{endpoint_id}.{region}-{project_number}.prediction.vertexai.goog`. + * + * Generated from protobuf field string dedicated_endpoint_dns = 25 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + protected $dedicated_endpoint_dns = ''; + /** + * Output only. Reserved for future use. + * + * Generated from protobuf field bool satisfies_pzs = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + protected $satisfies_pzs = false; + /** + * Output only. Reserved for future use. + * + * Generated from protobuf field bool satisfies_pzi = 28 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + protected $satisfies_pzi = false; + + /** + * 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. + * @type bool $dedicated_endpoint_enabled + * If true, the endpoint will be exposed through a dedicated + * DNS [Endpoint.dedicated_endpoint_dns]. Your request to the dedicated DNS + * will be isolated from other users' traffic and will have better performance + * and reliability. + * Note: Once you enabled dedicated endpoint, you won't be able to send + * request to the shared DNS {region}-aiplatform.googleapis.com. The + * limitation will be removed soon. + * @type string $dedicated_endpoint_dns + * Output only. DNS of the dedicated endpoint. Will only be populated if + * dedicated_endpoint_enabled is true. + * Format: + * `https://{endpoint_id}.{region}-{project_number}.prediction.vertexai.goog`. + * @type bool $satisfies_pzs + * Output only. Reserved for future use. + * @type bool $satisfies_pzi + * Output only. Reserved for future use. + * } + */ + 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; + } + + /** + * If true, the endpoint will be exposed through a dedicated + * DNS [Endpoint.dedicated_endpoint_dns]. Your request to the dedicated DNS + * will be isolated from other users' traffic and will have better performance + * and reliability. + * Note: Once you enabled dedicated endpoint, you won't be able to send + * request to the shared DNS {region}-aiplatform.googleapis.com. The + * limitation will be removed soon. + * + * Generated from protobuf field bool dedicated_endpoint_enabled = 24; + * @return bool + */ + public function getDedicatedEndpointEnabled() + { + return $this->dedicated_endpoint_enabled; + } + + /** + * If true, the endpoint will be exposed through a dedicated + * DNS [Endpoint.dedicated_endpoint_dns]. Your request to the dedicated DNS + * will be isolated from other users' traffic and will have better performance + * and reliability. + * Note: Once you enabled dedicated endpoint, you won't be able to send + * request to the shared DNS {region}-aiplatform.googleapis.com. The + * limitation will be removed soon. + * + * Generated from protobuf field bool dedicated_endpoint_enabled = 24; + * @param bool $var + * @return $this + */ + public function setDedicatedEndpointEnabled($var) + { + GPBUtil::checkBool($var); + $this->dedicated_endpoint_enabled = $var; + + return $this; + } + + /** + * Output only. DNS of the dedicated endpoint. Will only be populated if + * dedicated_endpoint_enabled is true. + * Format: + * `https://{endpoint_id}.{region}-{project_number}.prediction.vertexai.goog`. + * + * Generated from protobuf field string dedicated_endpoint_dns = 25 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return string + */ + public function getDedicatedEndpointDns() + { + return $this->dedicated_endpoint_dns; + } + + /** + * Output only. DNS of the dedicated endpoint. Will only be populated if + * dedicated_endpoint_enabled is true. + * Format: + * `https://{endpoint_id}.{region}-{project_number}.prediction.vertexai.goog`. + * + * Generated from protobuf field string dedicated_endpoint_dns = 25 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @param string $var + * @return $this + */ + public function setDedicatedEndpointDns($var) + { + GPBUtil::checkString($var, True); + $this->dedicated_endpoint_dns = $var; + + return $this; + } + + /** + * Output only. Reserved for future use. + * + * Generated from protobuf field bool satisfies_pzs = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return bool + */ + public function getSatisfiesPzs() + { + return $this->satisfies_pzs; + } + + /** + * Output only. Reserved for future use. + * + * Generated from protobuf field bool satisfies_pzs = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @param bool $var + * @return $this + */ + public function setSatisfiesPzs($var) + { + GPBUtil::checkBool($var); + $this->satisfies_pzs = $var; + + return $this; + } + + /** + * Output only. Reserved for future use. + * + * Generated from protobuf field bool satisfies_pzi = 28 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return bool + */ + public function getSatisfiesPzi() + { + return $this->satisfies_pzi; + } + + /** + * Output only. Reserved for future use. + * + * Generated from protobuf field bool satisfies_pzi = 28 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @param bool $var + * @return $this + */ + public function setSatisfiesPzi($var) + { + GPBUtil::checkBool($var); + $this->satisfies_pzi = $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 new file mode 100644 index 000000000000..46e3c929417c --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/EntityIdSelector.php @@ -0,0 +1,113 @@ +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 new file mode 100644 index 000000000000..128f28a9b487 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/EntityType.php @@ -0,0 +1,445 @@ +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 new file mode 100644 index 000000000000..a189248f6cfc --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/EnvVar.php @@ -0,0 +1,125 @@ +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 new file mode 100644 index 000000000000..e063ef9eb60a --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ErrorAnalysisAnnotation.php @@ -0,0 +1,177 @@ +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 new file mode 100644 index 000000000000..4e09cb15a5bd --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ErrorAnalysisAnnotation/AttributedItem.php @@ -0,0 +1,109 @@ +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 new file mode 100644 index 000000000000..35b9e96e64d4 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ErrorAnalysisAnnotation/QueryType.php @@ -0,0 +1,71 @@ +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 new file mode 100644 index 000000000000..ecc61359bd46 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/EvaluatedAnnotation.php @@ -0,0 +1,431 @@ +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 new file mode 100644 index 000000000000..72e695b0d4a6 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/EvaluatedAnnotation/EvaluatedAnnotationType.php @@ -0,0 +1,74 @@ +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 new file mode 100644 index 000000000000..4752df122154 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/EvaluatedAnnotationExplanation.php @@ -0,0 +1,123 @@ +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 new file mode 100644 index 000000000000..665c415849ca --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/Event.php @@ -0,0 +1,246 @@ +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 new file mode 100644 index 000000000000..5a8441948304 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/Event/Type.php @@ -0,0 +1,64 @@ +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 new file mode 100644 index 000000000000..107491c628eb --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/Examples.php @@ -0,0 +1,197 @@ +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 new file mode 100644 index 000000000000..260ea83fd996 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/Examples/ExampleGcsSource.php @@ -0,0 +1,118 @@ +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 new file mode 100644 index 000000000000..e6c5c7ca42bf --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/Examples/ExampleGcsSource/DataFormat.php @@ -0,0 +1,57 @@ +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 new file mode 100644 index 000000000000..b08bb3b5152b --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ExamplesOverride.php @@ -0,0 +1,203 @@ +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 new file mode 100644 index 000000000000..77678de20eda --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ExamplesOverride/DataFormat.php @@ -0,0 +1,64 @@ +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 new file mode 100644 index 000000000000..07d719058697 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ExamplesRestrictionsNamespace.php @@ -0,0 +1,135 @@ +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 new file mode 100644 index 000000000000..42bf6f6e07ca --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/Execution.php @@ -0,0 +1,509 @@ +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 new file mode 100644 index 000000000000..93eb6a80419a --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/Execution/State.php @@ -0,0 +1,96 @@ +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 new file mode 100644 index 000000000000..d953774b600f --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ExplainRequest.php @@ -0,0 +1,352 @@ +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 new file mode 100644 index 000000000000..41d2fa09856e --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ExplainResponse.php @@ -0,0 +1,160 @@ +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 new file mode 100644 index 000000000000..cef78bb0e03b --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/Explanation.php @@ -0,0 +1,204 @@ +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 new file mode 100644 index 000000000000..4fe06824724e --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ExplanationMetadata.php @@ -0,0 +1,265 @@ +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 new file mode 100644 index 000000000000..7ffdb548a91e --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ExplanationMetadata/InputMetadata.php @@ -0,0 +1,636 @@ +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 new file mode 100644 index 000000000000..93ea792c4a57 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ExplanationMetadata/InputMetadata/Encoding.php @@ -0,0 +1,133 @@ +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 new file mode 100644 index 000000000000..2c727cadfa08 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ExplanationMetadata/InputMetadata/FeatureValueDomain.php @@ -0,0 +1,195 @@ +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 new file mode 100644 index 000000000000..d64573ba6675 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ExplanationMetadata/InputMetadata/Visualization.php @@ -0,0 +1,324 @@ +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 new file mode 100644 index 000000000000..913b6cf9b630 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ExplanationMetadata/InputMetadata/Visualization/ColorMap.php @@ -0,0 +1,94 @@ +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 new file mode 100644 index 000000000000..3e01b829207e --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ExplanationMetadata/InputMetadata/Visualization/OverlayType.php @@ -0,0 +1,80 @@ +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 new file mode 100644 index 000000000000..f4383506a80c --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ExplanationMetadata/InputMetadata/Visualization/Polarity.php @@ -0,0 +1,74 @@ +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 new file mode 100644 index 000000000000..6b932a0a4282 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ExplanationMetadata/InputMetadata/Visualization/Type.php @@ -0,0 +1,67 @@ +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 new file mode 100644 index 000000000000..d7c203c5f865 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ExplanationMetadata/OutputMetadata.php @@ -0,0 +1,197 @@ +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 new file mode 100644 index 000000000000..3529db4dc1c2 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ExplanationMetadataOverride.php @@ -0,0 +1,89 @@ +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 new file mode 100644 index 000000000000..eda3137a2e75 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ExplanationMetadataOverride/InputMetadataOverride.php @@ -0,0 +1,88 @@ +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 new file mode 100644 index 000000000000..c134d7f06b87 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ExplanationParameters.php @@ -0,0 +1,339 @@ +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 new file mode 100644 index 000000000000..d3a7c34016a6 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ExplanationSpec.php @@ -0,0 +1,121 @@ +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 new file mode 100644 index 000000000000..92a3b9487912 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ExplanationSpecOverride.php @@ -0,0 +1,175 @@ +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 new file mode 100644 index 000000000000..77a162111eb5 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ExportDataConfig.php @@ -0,0 +1,455 @@ +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 new file mode 100644 index 000000000000..847aae76c1c9 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ExportDataConfig/ExportUse.php @@ -0,0 +1,60 @@ +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 new file mode 100644 index 000000000000..42cce5b8a65d --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ExportDataOperationMetadata.php @@ -0,0 +1,116 @@ +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 new file mode 100644 index 000000000000..f228564f8a9d --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ExportDataRequest.php @@ -0,0 +1,138 @@ +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 new file mode 100644 index 000000000000..5d6d6fa42680 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ExportDataResponse.php @@ -0,0 +1,132 @@ +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 new file mode 100644 index 000000000000..5899b28bf347 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ExportFeatureValuesOperationMetadata.php @@ -0,0 +1,77 @@ +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 new file mode 100644 index 000000000000..d9dca89595c7 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ExportFeatureValuesRequest.php @@ -0,0 +1,295 @@ +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 new file mode 100644 index 000000000000..f713dc04956b --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ExportFeatureValuesRequest/FullExport.php @@ -0,0 +1,141 @@ +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 new file mode 100644 index 000000000000..9bca5403eaf1 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ExportFeatureValuesRequest/SnapshotExport.php @@ -0,0 +1,141 @@ +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 new file mode 100644 index 000000000000..fd563ca57cdb --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ExportFeatureValuesResponse.php @@ -0,0 +1,34 @@ +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 new file mode 100644 index 000000000000..99367b1b0952 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ExportFilterSplit.php @@ -0,0 +1,212 @@ +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 new file mode 100644 index 000000000000..5d54b7f05e07 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ExportFractionSplit.php @@ -0,0 +1,140 @@ +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 new file mode 100644 index 000000000000..20ea6285c14d --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ExportModelOperationMetadata.php @@ -0,0 +1,127 @@ +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 new file mode 100644 index 000000000000..19d80412c2f6 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ExportModelOperationMetadata/OutputInfo.php @@ -0,0 +1,117 @@ +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 new file mode 100644 index 000000000000..a5b3b13d0766 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ExportModelRequest.php @@ -0,0 +1,138 @@ +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 new file mode 100644 index 000000000000..285f72edb1f7 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ExportModelRequest/OutputConfig.php @@ -0,0 +1,214 @@ +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 new file mode 100644 index 000000000000..81110a3fb6f0 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ExportModelResponse.php @@ -0,0 +1,35 @@ +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 new file mode 100644 index 000000000000..7951fd4cd072 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ExportTensorboardTimeSeriesDataRequest.php @@ -0,0 +1,264 @@ +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 new file mode 100644 index 000000000000..664be2910658 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ExportTensorboardTimeSeriesDataResponse.php @@ -0,0 +1,114 @@ +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 new file mode 100644 index 000000000000..99e03e3bd4f5 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/Feature.php @@ -0,0 +1,548 @@ +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 new file mode 100644 index 000000000000..2c67039741a5 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/Feature/MonitoringStatsAnomaly.php @@ -0,0 +1,120 @@ +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 new file mode 100644 index 000000000000..0b58bdcd70f3 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/Feature/MonitoringStatsAnomaly/Objective.php @@ -0,0 +1,67 @@ +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 new file mode 100644 index 000000000000..73e64454a252 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/Feature/ValueType.php @@ -0,0 +1,121 @@ +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 new file mode 100644 index 000000000000..0893a31fd515 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/FeatureGroup.php @@ -0,0 +1,348 @@ +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 new file mode 100644 index 000000000000..6c38bbbf31e1 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/FeatureGroup/BigQuery.php @@ -0,0 +1,122 @@ +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 new file mode 100644 index 000000000000..bd9b905bc264 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/FeatureNoiseSigma.php @@ -0,0 +1,69 @@ +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 new file mode 100644 index 000000000000..1d2fdcd7d2a9 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/FeatureNoiseSigma/NoiseSigmaForFeature.php @@ -0,0 +1,128 @@ +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 new file mode 100644 index 000000000000..562b38e6599e --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/FeatureOnlineStore.php @@ -0,0 +1,488 @@ +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 new file mode 100644 index 000000000000..0ce31764013b --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/FeatureOnlineStore/Bigtable.php @@ -0,0 +1,78 @@ +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 new file mode 100644 index 000000000000..e2e0481b4b99 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/FeatureOnlineStore/Bigtable/AutoScaling.php @@ -0,0 +1,164 @@ +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 new file mode 100644 index 000000000000..f49172ba9b00 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/FeatureOnlineStore/DedicatedServingEndpoint.php @@ -0,0 +1,178 @@ +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 new file mode 100644 index 000000000000..b8f89ee0e9a1 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/FeatureOnlineStore/Optimized.php @@ -0,0 +1,36 @@ +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 new file mode 100644 index 000000000000..695f594f03d4 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/FeatureOnlineStore/State.php @@ -0,0 +1,69 @@ +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 new file mode 100644 index 000000000000..aa1986f0a09f --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/FeatureSelector.php @@ -0,0 +1,77 @@ +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 new file mode 100644 index 000000000000..5ccd30b5a112 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/FeatureStatsAnomaly.php @@ -0,0 +1,411 @@ +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 new file mode 100644 index 000000000000..12671a6e42df --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/FeatureValue.php @@ -0,0 +1,416 @@ +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 new file mode 100644 index 000000000000..16b13a89cddb --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/FeatureValue/Metadata.php @@ -0,0 +1,100 @@ +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 new file mode 100644 index 000000000000..baafabaa7932 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/FeatureValueDestination.php @@ -0,0 +1,180 @@ +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 new file mode 100644 index 000000000000..d5055a28ee0c --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/FeatureValueList.php @@ -0,0 +1,67 @@ +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 new file mode 100644 index 000000000000..bd02c1721b84 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/FeatureView.php @@ -0,0 +1,453 @@ +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 new file mode 100644 index 000000000000..2fb90cc13bb3 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/FeatureView/BigQuerySource.php @@ -0,0 +1,106 @@ +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 new file mode 100644 index 000000000000..51087e714759 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/FeatureView/FeatureRegistrySource.php @@ -0,0 +1,115 @@ +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 new file mode 100644 index 000000000000..e5a4d86d9879 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/FeatureView/FeatureRegistrySource/FeatureGroup.php @@ -0,0 +1,105 @@ +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 new file mode 100644 index 000000000000..07eecd52db8d --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/FeatureView/IndexConfig.php @@ -0,0 +1,350 @@ +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 new file mode 100644 index 000000000000..8a9c71a15b07 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/FeatureView/IndexConfig/BruteForceConfig.php @@ -0,0 +1,36 @@ +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 new file mode 100644 index 000000000000..c69d1202feb9 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/FeatureView/IndexConfig/DistanceMeasureType.php @@ -0,0 +1,76 @@ +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 new file mode 100644 index 000000000000..f7d9f3d7ae50 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/FeatureView/IndexConfig/TreeAHConfig.php @@ -0,0 +1,84 @@ +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 new file mode 100644 index 000000000000..44bf8710684a --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/FeatureView/SyncConfig.php @@ -0,0 +1,90 @@ +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 new file mode 100644 index 000000000000..621918058759 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/FeatureViewDataFormat.php @@ -0,0 +1,61 @@ +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 new file mode 100644 index 000000000000..901e9268fe9a --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/FeatureViewDataKey.php @@ -0,0 +1,111 @@ +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 new file mode 100644 index 000000000000..58e59cb4d7ff --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/FeatureViewDataKey/CompositeKey.php @@ -0,0 +1,74 @@ +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 new file mode 100644 index 000000000000..6a4897b4ac72 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/FeatureViewSync.php @@ -0,0 +1,256 @@ +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 new file mode 100644 index 000000000000..1ebb67121f90 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/FeatureViewSync/SyncSummary.php @@ -0,0 +1,105 @@ +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 new file mode 100644 index 000000000000..d538cfed35fc --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/Featurestore.php @@ -0,0 +1,461 @@ +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 new file mode 100644 index 000000000000..e8aa9efb9842 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/Featurestore/OnlineServingConfig.php @@ -0,0 +1,135 @@ +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 new file mode 100644 index 000000000000..7288d1864a30 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/Featurestore/OnlineServingConfig/Scaling.php @@ -0,0 +1,172 @@ +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 new file mode 100644 index 000000000000..b4ace3f62cda --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/Featurestore/State.php @@ -0,0 +1,75 @@ +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 new file mode 100644 index 000000000000..9d13f9c4ff78 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/FeaturestoreMonitoringConfig.php @@ -0,0 +1,241 @@ +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 new file mode 100644 index 000000000000..307885c89b26 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/FeaturestoreMonitoringConfig/ImportFeaturesAnalysis.php @@ -0,0 +1,116 @@ +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 new file mode 100644 index 000000000000..ce01e65960f5 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/FeaturestoreMonitoringConfig/ImportFeaturesAnalysis/Baseline.php @@ -0,0 +1,78 @@ +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 new file mode 100644 index 000000000000..f766570bd9f8 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/FeaturestoreMonitoringConfig/ImportFeaturesAnalysis/State.php @@ -0,0 +1,84 @@ +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 new file mode 100644 index 000000000000..2ac4de0e1255 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/FeaturestoreMonitoringConfig/SnapshotAnalysis.php @@ -0,0 +1,193 @@ +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 new file mode 100644 index 000000000000..a78a889c1656 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/FeaturestoreMonitoringConfig/ThresholdConfig.php @@ -0,0 +1,96 @@ +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 new file mode 100644 index 000000000000..85ef6d02996e --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/FetchFeatureValuesRequest.php @@ -0,0 +1,176 @@ +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 new file mode 100644 index 000000000000..ae7cc87c31b7 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/FetchFeatureValuesResponse.php @@ -0,0 +1,161 @@ +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 new file mode 100644 index 000000000000..9db5c798c125 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/FetchFeatureValuesResponse/FeatureNameValuePairList.php @@ -0,0 +1,71 @@ +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 new file mode 100644 index 000000000000..cc50bb1219cd --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/FetchFeatureValuesResponse/FeatureNameValuePairList/FeatureNameValuePair.php @@ -0,0 +1,112 @@ +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 new file mode 100644 index 000000000000..acd920e86eb8 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/FileData.php @@ -0,0 +1,101 @@ +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 new file mode 100644 index 000000000000..3c23a46820ed --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/FilterSplit.php @@ -0,0 +1,212 @@ +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 new file mode 100644 index 000000000000..0a3b79c5bbaa --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/FindNeighborsRequest.php @@ -0,0 +1,210 @@ +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 new file mode 100644 index 000000000000..516d907cecc6 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/FindNeighborsRequest/Query.php @@ -0,0 +1,315 @@ +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 new file mode 100644 index 000000000000..f1398297bce8 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/FindNeighborsRequest/Query/RRF.php @@ -0,0 +1,78 @@ +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 new file mode 100644 index 000000000000..8f145b754205 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/FindNeighborsResponse.php @@ -0,0 +1,68 @@ +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 new file mode 100644 index 000000000000..0decc79dd795 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/FindNeighborsResponse/NearestNeighbors.php @@ -0,0 +1,104 @@ +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 new file mode 100644 index 000000000000..12bdedf505fc --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/FindNeighborsResponse/Neighbor.php @@ -0,0 +1,160 @@ +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 new file mode 100644 index 000000000000..c122220bf0c8 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/FractionSplit.php @@ -0,0 +1,140 @@ +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 new file mode 100644 index 000000000000..601dafb65711 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/FunctionCall.php @@ -0,0 +1,121 @@ +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 new file mode 100644 index 000000000000..b65c4e1231cc --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/FunctionCallingConfig.php @@ -0,0 +1,109 @@ +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 new file mode 100644 index 000000000000..d1f625ccbee5 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/FunctionCallingConfig/Mode.php @@ -0,0 +1,76 @@ +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 new file mode 100644 index 000000000000..8499695959db --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/FunctionDeclaration.php @@ -0,0 +1,217 @@ +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 new file mode 100644 index 000000000000..0d62db7ae42d --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/FunctionResponse.php @@ -0,0 +1,118 @@ +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 new file mode 100644 index 000000000000..0ea937dbe464 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/GcsDestination.php @@ -0,0 +1,79 @@ +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 new file mode 100644 index 000000000000..b3ece9fe7015 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/GcsSource.php @@ -0,0 +1,75 @@ +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 new file mode 100644 index 000000000000..98502ac60fc4 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/GenerateContentRequest.php @@ -0,0 +1,374 @@ +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 new file mode 100644 index 000000000000..b694b187304a --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/GenerateContentResponse.php @@ -0,0 +1,163 @@ +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 new file mode 100644 index 000000000000..4b29d86ab0da --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/GenerateContentResponse/PromptFeedback.php @@ -0,0 +1,138 @@ +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 new file mode 100644 index 000000000000..6506ff07da71 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/GenerateContentResponse/PromptFeedback/BlockedReason.php @@ -0,0 +1,79 @@ +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 new file mode 100644 index 000000000000..dbe82e4fa571 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/GenerateContentResponse/UsageMetadata.php @@ -0,0 +1,131 @@ +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 new file mode 100644 index 000000000000..be034798850c --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/GenerationConfig.php @@ -0,0 +1,501 @@ +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 new file mode 100644 index 000000000000..274590cdf475 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/GenericOperationMetadata.php @@ -0,0 +1,175 @@ +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 new file mode 100644 index 000000000000..1bd25d3059f5 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/GenieSource.php @@ -0,0 +1,68 @@ +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 new file mode 100644 index 000000000000..43f3a3d1e4d6 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/GetAnnotationSpecRequest.php @@ -0,0 +1,136 @@ +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 new file mode 100644 index 000000000000..ec1059ebb820 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/GetArtifactRequest.php @@ -0,0 +1,92 @@ +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 new file mode 100644 index 000000000000..ee1cd6355e1f --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/GetBatchPredictionJobRequest.php @@ -0,0 +1,92 @@ +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 new file mode 100644 index 000000000000..b58000a8325d --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/GetContextRequest.php @@ -0,0 +1,92 @@ +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 new file mode 100644 index 000000000000..200ddf55023c --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/GetCustomJobRequest.php @@ -0,0 +1,92 @@ +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 new file mode 100644 index 000000000000..b6c5203977a1 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/GetDataLabelingJobRequest.php @@ -0,0 +1,92 @@ +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 new file mode 100644 index 000000000000..c566c1947c2d --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/GetDatasetRequest.php @@ -0,0 +1,126 @@ +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 new file mode 100644 index 000000000000..98c340f55dc6 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/GetDatasetVersionRequest.php @@ -0,0 +1,136 @@ +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 new file mode 100644 index 000000000000..e4f7285ca00b --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/GetDeploymentResourcePoolRequest.php @@ -0,0 +1,91 @@ +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 new file mode 100644 index 000000000000..f71b8c0f6c30 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/GetEndpointRequest.php @@ -0,0 +1,92 @@ +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 new file mode 100644 index 000000000000..d398ddd247d3 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/GetEntityTypeRequest.php @@ -0,0 +1,92 @@ +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 new file mode 100644 index 000000000000..3dfe973d79f7 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/GetExecutionRequest.php @@ -0,0 +1,92 @@ +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 new file mode 100644 index 000000000000..5cb13f154e77 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/GetFeatureGroupRequest.php @@ -0,0 +1,82 @@ +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 new file mode 100644 index 000000000000..721787c95c91 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/GetFeatureOnlineStoreRequest.php @@ -0,0 +1,82 @@ +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 new file mode 100644 index 000000000000..402b8ea33576 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/GetFeatureRequest.php @@ -0,0 +1,104 @@ +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 new file mode 100644 index 000000000000..0c977674e079 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/GetFeatureViewRequest.php @@ -0,0 +1,92 @@ +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 new file mode 100644 index 000000000000..57cea7ce033c --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/GetFeatureViewSyncRequest.php @@ -0,0 +1,92 @@ +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 new file mode 100644 index 000000000000..7e170fba6f55 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/GetFeaturestoreRequest.php @@ -0,0 +1,82 @@ +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 new file mode 100644 index 000000000000..1628b8cd9fa0 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/GetHyperparameterTuningJobRequest.php @@ -0,0 +1,92 @@ +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 new file mode 100644 index 000000000000..75de3b6fa86a --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/GetIndexEndpointRequest.php @@ -0,0 +1,92 @@ +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 new file mode 100644 index 000000000000..d5907d58b5a6 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/GetIndexRequest.php @@ -0,0 +1,92 @@ +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 new file mode 100644 index 000000000000..1a0bb95c0b44 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/GetMetadataSchemaRequest.php @@ -0,0 +1,92 @@ +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 new file mode 100644 index 000000000000..5e671ba44f5a --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/GetMetadataStoreRequest.php @@ -0,0 +1,92 @@ +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 new file mode 100644 index 000000000000..ba7626620ad8 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/GetModelDeploymentMonitoringJobRequest.php @@ -0,0 +1,92 @@ +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 new file mode 100644 index 000000000000..2f965443ec4e --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/GetModelEvaluationRequest.php @@ -0,0 +1,92 @@ +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 new file mode 100644 index 000000000000..d18eb9dbd8fc --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/GetModelEvaluationSliceRequest.php @@ -0,0 +1,92 @@ +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 new file mode 100644 index 000000000000..c5e1e32b8c6b --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/GetModelRequest.php @@ -0,0 +1,133 @@ +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 new file mode 100644 index 000000000000..9d1d2e617620 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/GetNasJobRequest.php @@ -0,0 +1,92 @@ +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 new file mode 100644 index 000000000000..773a9f4aac1c --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/GetNasTrialDetailRequest.php @@ -0,0 +1,92 @@ +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/GetNotebookExecutionJobRequest.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/GetNotebookExecutionJobRequest.php new file mode 100644 index 000000000000..67183519e565 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/GetNotebookExecutionJobRequest.php @@ -0,0 +1,115 @@ +google.cloud.aiplatform.v1.GetNotebookExecutionJobRequest + */ +class GetNotebookExecutionJobRequest extends \Google\Protobuf\Internal\Message +{ + /** + * Required. The name of the NotebookExecutionJob resource. + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + */ + protected $name = ''; + /** + * Optional. The NotebookExecutionJob view. Defaults to BASIC. + * + * Generated from protobuf field .google.cloud.aiplatform.v1.NotebookExecutionJobView view = 6 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $view = 0; + + /** + * @param string $name Required. The name of the NotebookExecutionJob resource. Please see + * {@see NotebookServiceClient::notebookExecutionJobName()} for help formatting this field. + * + * @return \Google\Cloud\AIPlatform\V1\GetNotebookExecutionJobRequest + * + * @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 NotebookExecutionJob resource. + * @type int $view + * Optional. The NotebookExecutionJob view. Defaults to BASIC. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Cloud\Aiplatform\V1\NotebookService::initOnce(); + parent::__construct($data); + } + + /** + * Required. The name of the NotebookExecutionJob 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 NotebookExecutionJob 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; + } + + /** + * Optional. The NotebookExecutionJob view. Defaults to BASIC. + * + * Generated from protobuf field .google.cloud.aiplatform.v1.NotebookExecutionJobView view = 6 [(.google.api.field_behavior) = OPTIONAL]; + * @return int + */ + public function getView() + { + return $this->view; + } + + /** + * Optional. The NotebookExecutionJob view. Defaults to BASIC. + * + * Generated from protobuf field .google.cloud.aiplatform.v1.NotebookExecutionJobView view = 6 [(.google.api.field_behavior) = OPTIONAL]; + * @param int $var + * @return $this + */ + public function setView($var) + { + GPBUtil::checkEnum($var, \Google\Cloud\AIPlatform\V1\NotebookExecutionJobView::class); + $this->view = $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 new file mode 100644 index 000000000000..7325674a1053 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/GetNotebookRuntimeRequest.php @@ -0,0 +1,97 @@ +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 new file mode 100644 index 000000000000..bfa39aba7da9 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/GetNotebookRuntimeTemplateRequest.php @@ -0,0 +1,92 @@ +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 new file mode 100644 index 000000000000..d9d335443ff4 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/GetPersistentResourceRequest.php @@ -0,0 +1,92 @@ +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 new file mode 100644 index 000000000000..7c328bd57067 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/GetPipelineJobRequest.php @@ -0,0 +1,92 @@ +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 new file mode 100644 index 000000000000..80ef5a08b744 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/GetPublisherModelRequest.php @@ -0,0 +1,202 @@ +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. + * + * 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; + /** + * Optional. Boolean indicates whether the requested model is a Hugging Face + * model. + * + * Generated from protobuf field bool is_hugging_face_model = 5 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $is_hugging_face_model = false; + + /** + * @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. + * @type int $view + * Optional. PublisherModel view specifying which fields to read. + * @type bool $is_hugging_face_model + * Optional. Boolean indicates whether the requested model is a Hugging Face + * model. + * } + */ + 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. + * + * 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. + * + * 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; + } + + /** + * Optional. Boolean indicates whether the requested model is a Hugging Face + * model. + * + * Generated from protobuf field bool is_hugging_face_model = 5 [(.google.api.field_behavior) = OPTIONAL]; + * @return bool + */ + public function getIsHuggingFaceModel() + { + return $this->is_hugging_face_model; + } + + /** + * Optional. Boolean indicates whether the requested model is a Hugging Face + * model. + * + * Generated from protobuf field bool is_hugging_face_model = 5 [(.google.api.field_behavior) = OPTIONAL]; + * @param bool $var + * @return $this + */ + public function setIsHuggingFaceModel($var) + { + GPBUtil::checkBool($var); + $this->is_hugging_face_model = $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 new file mode 100644 index 000000000000..e8f6202849fc --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/GetScheduleRequest.php @@ -0,0 +1,92 @@ +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 new file mode 100644 index 000000000000..4533f8d4d5dd --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/GetSpecialistPoolRequest.php @@ -0,0 +1,92 @@ +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 new file mode 100644 index 000000000000..607cd9a4be35 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/GetStudyRequest.php @@ -0,0 +1,87 @@ +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 new file mode 100644 index 000000000000..00114cdbde74 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/GetTensorboardExperimentRequest.php @@ -0,0 +1,92 @@ +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 new file mode 100644 index 000000000000..5d5bede56773 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/GetTensorboardRequest.php @@ -0,0 +1,92 @@ +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 new file mode 100644 index 000000000000..7ee1d379ed5f --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/GetTensorboardRunRequest.php @@ -0,0 +1,92 @@ +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 new file mode 100644 index 000000000000..0a11b588be2f --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/GetTensorboardTimeSeriesRequest.php @@ -0,0 +1,92 @@ +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 new file mode 100644 index 000000000000..f1acd31b04fa --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/GetTrainingPipelineRequest.php @@ -0,0 +1,92 @@ +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 new file mode 100644 index 000000000000..be443baeba8c --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/GetTrialRequest.php @@ -0,0 +1,92 @@ +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 new file mode 100644 index 000000000000..4a0333cdf321 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/GetTuningJobRequest.php @@ -0,0 +1,87 @@ +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 new file mode 100644 index 000000000000..cc36184fedd3 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/GoogleSearchRetrieval.php @@ -0,0 +1,33 @@ +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/GroundingChunk.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/GroundingChunk.php new file mode 100644 index 000000000000..7949df2c35b3 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/GroundingChunk.php @@ -0,0 +1,108 @@ +google.cloud.aiplatform.v1.GroundingChunk + */ +class GroundingChunk extends \Google\Protobuf\Internal\Message +{ + protected $chunk_type; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type \Google\Cloud\AIPlatform\V1\GroundingChunk\Web $web + * Grounding chunk from the web. + * @type \Google\Cloud\AIPlatform\V1\GroundingChunk\RetrievedContext $retrieved_context + * Grounding chunk from context retrieved by the retrieval tools. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Cloud\Aiplatform\V1\Content::initOnce(); + parent::__construct($data); + } + + /** + * Grounding chunk from the web. + * + * Generated from protobuf field .google.cloud.aiplatform.v1.GroundingChunk.Web web = 1; + * @return \Google\Cloud\AIPlatform\V1\GroundingChunk\Web|null + */ + public function getWeb() + { + return $this->readOneof(1); + } + + public function hasWeb() + { + return $this->hasOneof(1); + } + + /** + * Grounding chunk from the web. + * + * Generated from protobuf field .google.cloud.aiplatform.v1.GroundingChunk.Web web = 1; + * @param \Google\Cloud\AIPlatform\V1\GroundingChunk\Web $var + * @return $this + */ + public function setWeb($var) + { + GPBUtil::checkMessage($var, \Google\Cloud\AIPlatform\V1\GroundingChunk\Web::class); + $this->writeOneof(1, $var); + + return $this; + } + + /** + * Grounding chunk from context retrieved by the retrieval tools. + * + * Generated from protobuf field .google.cloud.aiplatform.v1.GroundingChunk.RetrievedContext retrieved_context = 2; + * @return \Google\Cloud\AIPlatform\V1\GroundingChunk\RetrievedContext|null + */ + public function getRetrievedContext() + { + return $this->readOneof(2); + } + + public function hasRetrievedContext() + { + return $this->hasOneof(2); + } + + /** + * Grounding chunk from context retrieved by the retrieval tools. + * + * Generated from protobuf field .google.cloud.aiplatform.v1.GroundingChunk.RetrievedContext retrieved_context = 2; + * @param \Google\Cloud\AIPlatform\V1\GroundingChunk\RetrievedContext $var + * @return $this + */ + public function setRetrievedContext($var) + { + GPBUtil::checkMessage($var, \Google\Cloud\AIPlatform\V1\GroundingChunk\RetrievedContext::class); + $this->writeOneof(2, $var); + + return $this; + } + + /** + * @return string + */ + public function getChunkType() + { + return $this->whichOneof("chunk_type"); + } + +} + diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/GroundingChunk/RetrievedContext.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/GroundingChunk/RetrievedContext.php new file mode 100644 index 000000000000..ce0a660c37a0 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/GroundingChunk/RetrievedContext.php @@ -0,0 +1,124 @@ +google.cloud.aiplatform.v1.GroundingChunk.RetrievedContext + */ +class RetrievedContext extends \Google\Protobuf\Internal\Message +{ + /** + * URI reference of the attribution. + * + * Generated from protobuf field optional string uri = 1; + */ + protected $uri = null; + /** + * Title of the attribution. + * + * Generated from protobuf field optional string title = 2; + */ + protected $title = null; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $uri + * URI reference of the attribution. + * @type string $title + * Title of the attribution. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Cloud\Aiplatform\V1\Content::initOnce(); + parent::__construct($data); + } + + /** + * URI reference of the attribution. + * + * Generated from protobuf field optional string uri = 1; + * @return string + */ + public function getUri() + { + return isset($this->uri) ? $this->uri : ''; + } + + public function hasUri() + { + return isset($this->uri); + } + + public function clearUri() + { + unset($this->uri); + } + + /** + * URI reference of the attribution. + * + * Generated from protobuf field optional string uri = 1; + * @param string $var + * @return $this + */ + public function setUri($var) + { + GPBUtil::checkString($var, True); + $this->uri = $var; + + return $this; + } + + /** + * Title of the attribution. + * + * Generated from protobuf field optional string title = 2; + * @return string + */ + public function getTitle() + { + return isset($this->title) ? $this->title : ''; + } + + public function hasTitle() + { + return isset($this->title); + } + + public function clearTitle() + { + unset($this->title); + } + + /** + * Title of the attribution. + * + * Generated from protobuf field optional string title = 2; + * @param string $var + * @return $this + */ + public function setTitle($var) + { + GPBUtil::checkString($var, True); + $this->title = $var; + + return $this; + } + +} + +// Adding a class alias for backwards compatibility with the previous class name. +class_alias(RetrievedContext::class, \Google\Cloud\AIPlatform\V1\GroundingChunk_RetrievedContext::class); + diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/GroundingChunk/Web.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/GroundingChunk/Web.php new file mode 100644 index 000000000000..6cfab8f6eab1 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/GroundingChunk/Web.php @@ -0,0 +1,124 @@ +google.cloud.aiplatform.v1.GroundingChunk.Web + */ +class Web extends \Google\Protobuf\Internal\Message +{ + /** + * URI reference of the chunk. + * + * Generated from protobuf field optional string uri = 1; + */ + protected $uri = null; + /** + * Title of the chunk. + * + * Generated from protobuf field optional string title = 2; + */ + protected $title = null; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $uri + * URI reference of the chunk. + * @type string $title + * Title of the chunk. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Cloud\Aiplatform\V1\Content::initOnce(); + parent::__construct($data); + } + + /** + * URI reference of the chunk. + * + * Generated from protobuf field optional string uri = 1; + * @return string + */ + public function getUri() + { + return isset($this->uri) ? $this->uri : ''; + } + + public function hasUri() + { + return isset($this->uri); + } + + public function clearUri() + { + unset($this->uri); + } + + /** + * URI reference of the chunk. + * + * Generated from protobuf field optional string uri = 1; + * @param string $var + * @return $this + */ + public function setUri($var) + { + GPBUtil::checkString($var, True); + $this->uri = $var; + + return $this; + } + + /** + * Title of the chunk. + * + * Generated from protobuf field optional string title = 2; + * @return string + */ + public function getTitle() + { + return isset($this->title) ? $this->title : ''; + } + + public function hasTitle() + { + return isset($this->title); + } + + public function clearTitle() + { + unset($this->title); + } + + /** + * Title of the chunk. + * + * Generated from protobuf field optional string title = 2; + * @param string $var + * @return $this + */ + public function setTitle($var) + { + GPBUtil::checkString($var, True); + $this->title = $var; + + return $this; + } + +} + +// Adding a class alias for backwards compatibility with the previous class name. +class_alias(Web::class, \Google\Cloud\AIPlatform\V1\GroundingChunk_Web::class); + 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 new file mode 100644 index 000000000000..3fa308284dd7 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/GroundingMetadata.php @@ -0,0 +1,179 @@ +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; + /** + * List of supporting references retrieved from specified grounding source. + * + * Generated from protobuf field repeated .google.cloud.aiplatform.v1.GroundingChunk grounding_chunks = 5; + */ + private $grounding_chunks; + /** + * Optional. List of grounding support. + * + * Generated from protobuf field repeated .google.cloud.aiplatform.v1.GroundingSupport grounding_supports = 6 [(.google.api.field_behavior) = OPTIONAL]; + */ + private $grounding_supports; + + /** + * 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. + * @type array<\Google\Cloud\AIPlatform\V1\GroundingChunk>|\Google\Protobuf\Internal\RepeatedField $grounding_chunks + * List of supporting references retrieved from specified grounding source. + * @type array<\Google\Cloud\AIPlatform\V1\GroundingSupport>|\Google\Protobuf\Internal\RepeatedField $grounding_supports + * Optional. List of grounding support. + * } + */ + 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; + } + + /** + * List of supporting references retrieved from specified grounding source. + * + * Generated from protobuf field repeated .google.cloud.aiplatform.v1.GroundingChunk grounding_chunks = 5; + * @return \Google\Protobuf\Internal\RepeatedField + */ + public function getGroundingChunks() + { + return $this->grounding_chunks; + } + + /** + * List of supporting references retrieved from specified grounding source. + * + * Generated from protobuf field repeated .google.cloud.aiplatform.v1.GroundingChunk grounding_chunks = 5; + * @param array<\Google\Cloud\AIPlatform\V1\GroundingChunk>|\Google\Protobuf\Internal\RepeatedField $var + * @return $this + */ + public function setGroundingChunks($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\AIPlatform\V1\GroundingChunk::class); + $this->grounding_chunks = $arr; + + return $this; + } + + /** + * Optional. List of grounding support. + * + * Generated from protobuf field repeated .google.cloud.aiplatform.v1.GroundingSupport grounding_supports = 6 [(.google.api.field_behavior) = OPTIONAL]; + * @return \Google\Protobuf\Internal\RepeatedField + */ + public function getGroundingSupports() + { + return $this->grounding_supports; + } + + /** + * Optional. List of grounding support. + * + * Generated from protobuf field repeated .google.cloud.aiplatform.v1.GroundingSupport grounding_supports = 6 [(.google.api.field_behavior) = OPTIONAL]; + * @param array<\Google\Cloud\AIPlatform\V1\GroundingSupport>|\Google\Protobuf\Internal\RepeatedField $var + * @return $this + */ + public function setGroundingSupports($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\AIPlatform\V1\GroundingSupport::class); + $this->grounding_supports = $arr; + + return $this; + } + +} + diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/GroundingSupport.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/GroundingSupport.php new file mode 100644 index 000000000000..aca65f189457 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/GroundingSupport.php @@ -0,0 +1,165 @@ +google.cloud.aiplatform.v1.GroundingSupport + */ +class GroundingSupport extends \Google\Protobuf\Internal\Message +{ + /** + * Segment of the content this support belongs to. + * + * Generated from protobuf field optional .google.cloud.aiplatform.v1.Segment segment = 1; + */ + protected $segment = null; + /** + * A list of indices (into 'grounding_chunk') specifying the + * citations associated with the claim. For instance [1,3,4] means + * that grounding_chunk[1], grounding_chunk[3], + * grounding_chunk[4] are the retrieved content attributed to the claim. + * + * Generated from protobuf field repeated int32 grounding_chunk_indices = 2; + */ + private $grounding_chunk_indices; + /** + * Confidence score of the support references. Ranges from 0 to 1. 1 is the + * most confident. This list must have the same size as the + * grounding_chunk_indices. + * + * Generated from protobuf field repeated float confidence_scores = 3; + */ + private $confidence_scores; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type \Google\Cloud\AIPlatform\V1\Segment $segment + * Segment of the content this support belongs to. + * @type array|\Google\Protobuf\Internal\RepeatedField $grounding_chunk_indices + * A list of indices (into 'grounding_chunk') specifying the + * citations associated with the claim. For instance [1,3,4] means + * that grounding_chunk[1], grounding_chunk[3], + * grounding_chunk[4] are the retrieved content attributed to the claim. + * @type array|\Google\Protobuf\Internal\RepeatedField $confidence_scores + * Confidence score of the support references. Ranges from 0 to 1. 1 is the + * most confident. This list must have the same size as the + * grounding_chunk_indices. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Cloud\Aiplatform\V1\Content::initOnce(); + parent::__construct($data); + } + + /** + * Segment of the content this support belongs to. + * + * Generated from protobuf field optional .google.cloud.aiplatform.v1.Segment segment = 1; + * @return \Google\Cloud\AIPlatform\V1\Segment|null + */ + public function getSegment() + { + return $this->segment; + } + + public function hasSegment() + { + return isset($this->segment); + } + + public function clearSegment() + { + unset($this->segment); + } + + /** + * Segment of the content this support belongs to. + * + * Generated from protobuf field optional .google.cloud.aiplatform.v1.Segment segment = 1; + * @param \Google\Cloud\AIPlatform\V1\Segment $var + * @return $this + */ + public function setSegment($var) + { + GPBUtil::checkMessage($var, \Google\Cloud\AIPlatform\V1\Segment::class); + $this->segment = $var; + + return $this; + } + + /** + * A list of indices (into 'grounding_chunk') specifying the + * citations associated with the claim. For instance [1,3,4] means + * that grounding_chunk[1], grounding_chunk[3], + * grounding_chunk[4] are the retrieved content attributed to the claim. + * + * Generated from protobuf field repeated int32 grounding_chunk_indices = 2; + * @return \Google\Protobuf\Internal\RepeatedField + */ + public function getGroundingChunkIndices() + { + return $this->grounding_chunk_indices; + } + + /** + * A list of indices (into 'grounding_chunk') specifying the + * citations associated with the claim. For instance [1,3,4] means + * that grounding_chunk[1], grounding_chunk[3], + * grounding_chunk[4] are the retrieved content attributed to the claim. + * + * Generated from protobuf field repeated int32 grounding_chunk_indices = 2; + * @param array|\Google\Protobuf\Internal\RepeatedField $var + * @return $this + */ + public function setGroundingChunkIndices($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::INT32); + $this->grounding_chunk_indices = $arr; + + return $this; + } + + /** + * Confidence score of the support references. Ranges from 0 to 1. 1 is the + * most confident. This list must have the same size as the + * grounding_chunk_indices. + * + * Generated from protobuf field repeated float confidence_scores = 3; + * @return \Google\Protobuf\Internal\RepeatedField + */ + public function getConfidenceScores() + { + return $this->confidence_scores; + } + + /** + * Confidence score of the support references. Ranges from 0 to 1. 1 is the + * most confident. This list must have the same size as the + * grounding_chunk_indices. + * + * Generated from protobuf field repeated float confidence_scores = 3; + * @param array|\Google\Protobuf\Internal\RepeatedField $var + * @return $this + */ + public function setConfidenceScores($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::FLOAT); + $this->confidence_scores = $arr; + + 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 new file mode 100644 index 000000000000..26d10e848ab9 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/HarmCategory.php @@ -0,0 +1,75 @@ +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 new file mode 100644 index 000000000000..2b4338d63c70 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/HyperparameterTuningJob.php @@ -0,0 +1,727 @@ +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 new file mode 100644 index 000000000000..28dd3636d879 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/IdMatcher.php @@ -0,0 +1,83 @@ +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 new file mode 100644 index 000000000000..df1309b1d648 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ImportDataConfig.php @@ -0,0 +1,274 @@ +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 new file mode 100644 index 000000000000..1a48b997790c --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ImportDataOperationMetadata.php @@ -0,0 +1,78 @@ +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 new file mode 100644 index 000000000000..ace093762889 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ImportDataRequest.php @@ -0,0 +1,133 @@ +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 new file mode 100644 index 000000000000..ceb2be4c7162 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ImportDataResponse.php @@ -0,0 +1,34 @@ +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 new file mode 100644 index 000000000000..76962935d539 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ImportFeatureValuesOperationMetadata.php @@ -0,0 +1,305 @@ +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 new file mode 100644 index 000000000000..fc918281d7f3 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ImportFeatureValuesRequest.php @@ -0,0 +1,476 @@ +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 new file mode 100644 index 000000000000..50dc0498070b --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ImportFeatureValuesRequest/FeatureSpec.php @@ -0,0 +1,112 @@ +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 new file mode 100644 index 000000000000..58c16ef19321 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ImportFeatureValuesResponse.php @@ -0,0 +1,190 @@ +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 new file mode 100644 index 000000000000..ff11a54b2eed --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ImportModelEvaluationRequest.php @@ -0,0 +1,133 @@ +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 new file mode 100644 index 000000000000..0a0de2535d09 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/Index.php @@ -0,0 +1,634 @@ +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 new file mode 100644 index 000000000000..5c4a33a3b824 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/Index/IndexUpdateMethod.php @@ -0,0 +1,67 @@ +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 new file mode 100644 index 000000000000..c9f76dc559b3 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/IndexDatapoint.php @@ -0,0 +1,285 @@ +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 new file mode 100644 index 000000000000..83385a04018f --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/IndexDatapoint/CrowdingTag.php @@ -0,0 +1,88 @@ +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 new file mode 100644 index 000000000000..46818e0ed735 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/IndexDatapoint/NumericRestriction.php @@ -0,0 +1,217 @@ +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 new file mode 100644 index 000000000000..580c19b56c6c --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/IndexDatapoint/NumericRestriction/Operator.php @@ -0,0 +1,95 @@ +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 new file mode 100644 index 000000000000..674e01b0bf9e --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/IndexDatapoint/Restriction.php @@ -0,0 +1,139 @@ +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 new file mode 100644 index 000000000000..4bb32612bd53 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/IndexDatapoint/SparseEmbedding.php @@ -0,0 +1,109 @@ +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 new file mode 100644 index 000000000000..4bdef3fded1e --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/IndexEndpoint.php @@ -0,0 +1,695 @@ +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 new file mode 100644 index 000000000000..131e84feb92f --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/IndexPrivateEndpoints.php @@ -0,0 +1,147 @@ +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 new file mode 100644 index 000000000000..c2a31be9f80a --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/IndexStats.php @@ -0,0 +1,135 @@ +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 new file mode 100644 index 000000000000..d29879a01bb4 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/InputDataConfig.php @@ -0,0 +1,741 @@ +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---qrXpV?MdA}r9&JC5n@A}1Q})%5@Jhv03bo9I7?B8VY}Nn#2gI~M}Av@ z`Fj$~cV}RJzrGDX7^5tMhZ3}{FnbyjyaZ7E(tHq;5M~^4@wZ8`fFy(y6q6Ssza2P2 zafSuVvhFBPLQZG`r9meNaqT|Tm{NB$rGk$gI1R2VDH8PfUcxa;Q0zBx7BZ4@%DO_; zaU#rT#L6$V`-NKxM@F!wV|1LQAa@{VIbQS*A;Uap$+n7H0-VpD{1w!>De>JTp^^of zWR5e>X%2Cj;a*H|!avMrpWt}dz+*Halzo`#F)o_uKL@#@G5oHqdp5>Qb;jxlR1F{O zlA>bna5yW_zG&~-j8aMPJ@D&w@c4iAwOP?-mKq0ZJ`UETUb$I7qLhenkxc7hsN7i) zj3k}Gpy0Dm*jP|t1!;xoVIf*Ie`+EmGl7~!ZBcz^fN~r2i?ki%A9I{>a~E8blUX*P zQTw#<@V#65$K3+8g+#PJkwa#Qwtg~zxomH40@yui z9C*F&TF1d*r`b9P`d;h%;N+;+ZS8scUaPtOk$D?bR%$iep0~Gdn76>jO8NfD!NGdT z{0dZ;#I56=*E!P8G|bwg*Ck*sFEaCI1AM+z8uQz$m|9XVDp}dO%IYFNRr^m@mHpN4 zf4wPHO(>W5OW6lI>2$a=@G|HgRBvjytL>T{|kWB&6%K zDHEnMWzj`DU3A+;*R1*gong~eU!iZ%C+M*1{m~z`5o8G2M7h#A=R4`h1 z(6H97F-7fFs;FIx6t(X!UkA`F&G)4Zs&FIH2aiD_KklGonY!d-4U=CNOAbx0s?NFlN&jSY!QyKZCT*_zd^ zAYb=Pmw4ACpDIcZ;V7c?WN|4lOVycOX^~@8lo60OBSvB>_<=S zF>x!oW_t?-Sy5t#V)=1WW1`)zJIYvj7LThp&A|JTVMNZZ5soZI@F>{J@ZSfpd|+~j z1uh~pKFKkkiG!g z1xZ+(Ub!Q`+Ps{uRo)I%R=7s-R{@qHGp>gWlW|S;AEIwm17Qluu~nU6%4eAUuMWX} zGcwg8mMWp4!1t#D%q74Wp4r8tXtE5=gSS8vqo`05!!UM0MBkEHVUs%>2VsJlU4IL+ z)mSNaxbRN~W`%b7r!VF;fJ?;K(&hSH))#zFoZ&Kjtz4JNGzk^jNH=)mc5 zHl`u_5bd#YI3+4Dv8!1F6jY~!=vOkI3Iz`q-o&p%wfX%7T!`5)w)p%gK#mu_M5Z|x z?X(cShKuP|WdzzzwHqEZB8;KjhyK!aOfy2O&s7huN`K z4wVf)Tzn(f4%O(NN8!{+BNFG}9I~~Jh14$6$Yh7qF!6|1LSb=Id;+t{uGk@y38~oO z^?RG)U<8hwI4K8q3O{7w^q6z;8e~b+3#veBuOi)!48_>weVw$tRhSH0UY<`C#WWU& zz3yctKM8QkjmDa=@6ni@TzQnH?lm_y;VZ9-X=WbDx}gejNN>p{8t7pkU=xWVtICm6KoxA3SZpht5UeQ zkZHB&Bo}cq#FAY+o^9RE_2eJVGKCu3yk)iv%B6ZUSmEXS%YTP2+reJmj$gOQX8v#H zJQr3JCaoy(dqpAdOU?nwAl@YZB%te>Uwj-q?H7}T3rIs=Cr?$Kb7{YGj7VYUlgrUI WdWEmniB0^KTR8iYFUYZnknRO~W>ukamkegJzwXZzg6P z+iQE$W~&PAzVL_;;*FJ%5MsqUPw)T|*Ybe0AS5Co^y#CNql6OYG}r1Yh& z{hi};e&>GXd-IOB;lX)z5j)s7LtInWx7Bb1tDf(MZq>Eb^=7?}eYNUtdX|m-qN>iX zsPC*iR2Sx#9-bqlf!p+}SXUda+puw|YP-!^$+SG%4C}7HS=yQ^ZMrpVR|4#BSyfzQ ztN|Qz69=AI#p>ef>@p6`ni-nqMaHE(N4b=Zh)em=)NO#OZ3cn5Ou0Sa%-|`guggl0(ox?lwr%dtYsw5<<`N;7KRv;#~S>^@s>I@Qo}9hDNSI8{7;N##80*$bXa zAed35SgRBjf=GGE39;{(c6lBLRp0VL*Iy+^b-jVZ2uu28{F3-AWoOmZaW12-?-FuG z4gDrgeqB|495#LDHj|q&cozMuoC2ERS!Kgef345ctYhk-K zi#NTi2g+Xo)5=9eIq*OqBFX$Zs+?vvpY5(5si#r_yA zx%;DM0doK>7C1r#?E_`@fP^mIAIBAsX0M(EyYD&;zv(!Z(O>YUOSzqd*cQH+vwd1TY=@S?OMg<(AW z3S)5Sg`uERaFji(SheB9@#E`om>(^WXZ_RX1nV>>FES}-3AX|ogX5w@shHKO+a$ss ziI{2*j3xAn5{B$s&^vIVL3=2xTGS)zTvs9iyvK zH;&_lFN||=HW9bndJ&3DJ#-pQaGbWVACM$T@uJxDQN<5w_u%*<4%ty@uj}v%ZO??Y z$`_frx_?Rgy#fRGt$;HNB)5H7|0{5$ZrP;Q;sT=q==015t^}m98$LvIIE)Ygdlb6w zV~4v3x(t0jHft5?nanl%r$?n3r1KV|?2AsoQP;0wzp}o~ZLYlsD5-})e+rH;AOix- zp@S)LR?7Z$?y{3P`dn$ z);P@_LFfh?#ZSyl&&C0B`Tpq((s5IYba6qP)tq=fYD{_H?Ux5*cLI@zT=J544G5OtVuZ%qaEUjwV?gC0EoDV>mNvR zMPG+6yUoyRhLx)8)UAf_kK5V)(f;}33ga=ySTKhk{euF>l26evoWM-(3Z3B1kQNM9 zaL_$CY5Jj6H>+W#Mk>3-=Np!a`==+eL|Lo`WLTCI=m88^n>3Xt+0b;MD>iLhd&d2|_o8-_kY zDhx*8i?23)i+z-ra$4y*sEOAspnP%G467Td!m>3)R1u6ek*8P-{5o9f(rm{cMUP;Jb&H8{kI!zrNc2x% z=|Kf19oORNf`iHI1F@e-p_7Dg%Zafr(0R#T@OB#K1+>4gZRR8dI1rPCm- zfQNY^CHzO^%p`b|xk|eGotEjTchAv&rNFCEKOOUru-|(;#hpLPimd~~LCsUzcVH}C ze1Z5~7-)A!Ia2i!)}4o|I-J>U9_DY-M)NH;+N1Moe^x+E(e%Jm$^XY}-&5dRhBm@@ zU+bLK_*C3;TI*=X=}%NR#&Ws%xd**apg*w}LB*`}kT@vJK6+Z7Pb|TTQ7P6wQl1-E z(>E`f>z^G%EU6}$Uw{19&wo(3p-s`>zMk^!)eKoXd>dE8pfpj6mR_ZaXZ*LZKyR|8 znXXKrA1ZKEIxor$2YE^=*L~Ba-P$qOP{t&jL=#Lxy6Wj5pAe4-iau2UBJT*$Wr<|k zSQ?*`vSk`7d7OKhc6-MVE5jC1bAgHem|R22-3rQF#6=>=<5KYJx%7;wg#34tK;J?) z^8>BhWUP_=&@Y(7M+=W`4j&zq;^***2RjB&$CHU=2t)nW^c5yIbLwI)H_`bb2K~4I z!<}XglsU3?qLLbQ3E`iS5MJ&+=b-%Sk{yHV#2{JH=3_{@1`P>oY7sI}$zKA+o`?qe zb7I=Wq9fb1iGw+Tu%8=O;1qAc_;#MG^NZ}KDm28|MTt+Yv6D_aInhgY_!n8sC1e!- zi!!5U_xYTveYj86^ocimh{qaRZApzjQ(!P(&cugxYyXLBR zdX=nZsD7U-a4L1WMVU*rR1&FoW)H%;vv@?&YCFb|P>EHI#PG}1n%C}hS1ay1N@5@* z(^a7JDUGW6X#v#4oZ2P?Z@*FI8m=3)RDM3oMY=N)-N5#aai#+*VhU&AtZBZb)bn~+nOs%4}{vpJPaBbGqrMLV5GjMJFFNf^F$DZo&AsIBZ7 zB>@tFs~xA`kOC$fY9S+Wy6ghB`@BS>rQ-fM9 z6?-B2kCOQ5G&Y$?VQ*$>mjXX0llsl|?OJ>^^<2Izi(9Pa_;s1w yWBqsGG$+<|My>1ddtHAtwSI)%P`G+Ay52R(Z-yo=l6JgA%1-jjp3mSJ!2bZ&oJ(H- 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 46be5f7bc39f9560958b7dc96f872958f110705b..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 4737 zcmb_gOLN;)6t0~(B*$rz3Q~-xfCzo0JY*7BP_+%nj^c`m9b-Eg%9s(deC-HiN$Alb zbh2l`4`9QR4gY~93s~?ASaiXvYkmOd-YeNkYg|LfCYJ7bpYJ?$?|k4Ld+@qgB@Xe8 zko3gvi5MOe(evHVHC>GAKko9TW ze&m>;z3o0)4uema#X2;Cv3W_IP1#HfzxpLjGgEsvPzlZD2#5Ey0qChlRO0LJ7sp4fx{< zY|dJdLXlHStahbw?Me@}iZ8`d49_b0F@IA9c6+{6)*!Xz?7I^;=F2Ou) zVTFvC*<32mJyPa`mteVP1=#aWbas?Yj&K2hID8GGO;)*84T;h6Y5m4z_ zL4}n>gd2rk6c%z!$mX+!958xr3S(avFLF*z9XGm-v%*J&ca>VytzmRA2LgEc( zUTU$-b1!ya!8W?Y4hqZS9A-{R2q#oaoH=QqF{n=Hp9mFLeFEQwi%jDi(*&LEg+d8L z;uu|<=vafHZ<#o%b!%u0&}ZMkj_(W#D=2lboGWA=DVgHikWU+thq*7w2}i7O5poX< zJ0b;!QaSs6M*jS<@)?M!%IE0Bq7Nh-{iPWBw=mUT5Hk!)5942_CEGP|0=o{rOMafx ziH``vS21o+H-65-3QB4FIH7lO=3DlpIuZap!^h&nQ5$gk1R0hCV)*7Ux{Az&ITpRC z=uH#}w;<2r6SMN#n~7EaF7sIVHUpbegOYZq)A`TQq47$IisQ!I)q5;hryD;40QyA> z6B~ojgW@o_H~^;iOy=uw;&w##w7tR)uzT!a_@L8kB(tWUI?VRL1>c|MaTxgy+$1q2ip4Fgnu zTRX1~CX8jl83lnSE5NYD0Ii=>ON(KiWreDu%_u7jU@e8`^gyYdQ(c?3k&(9I?->AG z%`s@q&&#mHLrC*KntNG+!2H0)nxuI9ACfmxC{wl~`*_8BtT(qgh#;4&raV}ryN&r!u? z(dLya{*Zx{v$+!X;e|9P&gsQ8J87C@I}s6mpL`YJY&&6y=kGTxcz#0Z3)kSa+Tng% z)7woAlc(%g51Ly0UhRnt7U6PJ)#`f(&5Bx6>ur5sRho6JUd4Q_LcZG6cJ&s%s@z-4 zmR|sYcBQkeZ{zzcEc4#RcOSvTh^9Iv4Nts9Q6T5H?@UW`T2iXHU>8npR`)Ixzt5!o z9vurG!o@Vi0xTZ7M9egT`2O($ET^(dhvL5zP+o)u?(fE5Sy)7eSe0Wqv*}u%6LymI zkQejR^(2wPHYLIht-__gh2O{ekQhPalOe$Z;KRCeV_J-BV|p&>?Bd9W_A|H5^y0|Z z<7csK^dUz#JtC~brB+*MKiN+%!ctTH_)u-NvAtw)H(5|BZS6>1%hKl3Y9BNj6q<9m zQ7yF&D-~7UMZ$Su1pqOuDlM(Nude0Fzh>YS+@hw$pq%GGYtYMvM&{EUzFa2X2)Ka_ z-1MaiE@pVIGG0x*?(Ou$PuXIXU8hLwJ6lq;MtmJ39c}%V9CqT%md^ONgV!yOvoCXI xS!Ud_JU*A@qpj`&?m40R?v2qW=Ue<5BX#RRzcVcSgn#PBgHiH(iBmWQ_#5?K4DA2_ 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;aiplatformpbªGoogle.Cloud.AIPlatform.V1ÊGoogle\\Cloud\\AIPlatform\\V1êGoogle::Cloud::AIPlatform::V1êAa -!compute.googleapis.com/SubnetworkinternalAddGeneratedFile( - ' -‚ -4google/cloud/aiplatform/v1/notebook_euc_config.protogoogle.cloud.aiplatform.v1"O -NotebookEucConfig - euc_disabled (BàA -bypass_actas_check (BàABÔ -com.google.cloud.aiplatform.v1BNotebookEucConfigProtoPZ>cloud.google.com/go/aiplatform/apiv1/aiplatformpb;aiplatformpbªGoogle.Cloud.AIPlatform.V1ÊGoogle\\Cloud\\AIPlatform\\V1êGoogle::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.DurationBàA -idle_shutdown_disabled (BÝ -com.google.cloud.aiplatform.v1BNotebookIdleShutdownConfigProtoPZ>cloud.google.com/go/aiplatform/apiv1/aiplatformpb;aiplatformpbªGoogle.Cloud.AIPlatform.V1ÊGoogle\\Cloud\\AIPlatform\\V1êGoogle::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 e7d1ec027f508dbe41004b3bd074022fbe661f10..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 4661 zcmb_g-Ez}L6s{c-$lCcqghufYDpEQGhR99Iw2UY)cC0uag6*-L%+OIsBg^YpjVx*O z69`Nmq8GjBWp8`g$LM9BfNS~^J-b@TisQHrkegW2p6{GJ=R4n#_Q&T=&p}@cWo%(r z^KnOLp9p>r3yy31wr-n3JLq5dn)mlrCOO@6gF!k)f)v+WT+V-J| z^SWsVoxEl^rsj8Tx1T@W%v-jP+qQkAx`E{zeJoORgeUBmHh zw+>4s=@9#IM#-J^`^+tYGrGch7^5Ve3-YPpy8%vm7X%mkfonaXaT9>k_?I#wZw1Ft zb_{HGinym88@4M+gIx_kE;4OkR?vy9MifesE!{nFNJ^Uy)+di(6xK^k?->@30`oo% zt&08EwtMvHVMQF21AW`Jy2jxr#>FUI>6p0L3;d4#+WMThtW{dLPdXE_*_}MznD8xV zUZ8H@8Es1&W#gH_+M>|u#9goh;;|m{mazC9`ZtF*FRdC}E;JFT(1-(}5sx=>D-2F^ zjJ(T;9Ewfu+cBPS%vRL{x-yHcF&6!hlWOF|V>TOOY^;!ZNf(dCEssPK2fC_LhA}74 zCb2SrN2 zQ8uaxDIq@%k1|`zJu!@R6k9|lEJO;5Gw%zj_l0Th0IiTAq&nF349~}wuR?%Fv}pV_ z3M!7ntjBgGFr&~AUy3WDY_k4*c7pg4QbjhI;+D~ZhuvdC$Ev35HVi+04sd2kQek=? z^7HhnhGtByjZKeV5T+mt&&LIPL7l`siXdCQd&0HQ(kMFd*Xbs{p9KEAtZ@Z|2Gr&` zinTEbR;;+(Bb3oy405It3i60zdEaG=V}Dl?hY0lH~LEg3h*iG%qY zU_ZZ=kGzi1C2=^(U=}m3jySJJ<~8o9$9>kR{1Of7;W*GHvpVR9b0S8Bri!=*r11Eg zzyjJ-DQ+7r42d1TOg%jq=jrS;&uySgk{uZ|b%ak?L(ie7FZy{JzhMrk4Xim| zGlqV;_E!ci47uj6C*>)m3#2oucL41d?uDHlLnpTZe1XLAzBN~MMVljBvLrP_4qO&vI-<(%%M3LH-U5L!ly~w#2~2g z#3{!ryGT{`QrSrM&tvGxH;w_HU%={6$UP>lM$o&nT3kZ*H;&e zfKWXqBKY|c5EJ2yT&)b`YWKWc-GYr~wk{!8p%bX22MPAN2KH3vt;eqpDmnDb;BUvz zE~#~EWt2$}9XQMH%7wkwuG(xBTC%!dZPw-O%1%WtEq=je(ADtitHl&Ihi3Py(Pet= z_Y}$|`N*xJmBxOxRe332gawbQm1-HVuA{l43_r=rMhkqUlecR1I^3Ef?whUf;tI#1 z`Osv)UTzdhuwa^-MbmPlQEM!A$l6Nvps-gdEn?~2hr%0le_}c3UVNmAk5KQ^2S1}5 zL(J)08Y3IUr6K=yavV@k{q!uH{Lu?1%(X*1c@P5Q4$eXbX>;07k{5rbb7gw+A<~av zu~4bABNXvq^Y7@P!p=pM!D9tZMn0rhLt{yz){-=ME=dQQ?HQinternalAddGeneratedFile( - ' -Û ->google/cloud/aiplatform/v1/notebook_runtime_template_ref.protogoogle.cloud.aiplatform.v1google/api/resource.proto"z -NotebookRuntimeTemplateRef\\ -notebook_runtime_template ( B9àAúA3 -1aiplatform.googleapis.com/NotebookRuntimeTemplateBÝ -com.google.cloud.aiplatform.v1BNotebookRuntimeTemplateRefProtoPZ>cloud.google.com/go/aiplatform/apiv1/aiplatformpb;aiplatformpbªGoogle.Cloud.AIPlatform.V1ÊGoogle\\Cloud\\AIPlatform\\V1êGoogle::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 2eebcbd6383a66e745576ca2e06003a794565231..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 9848 zcmds7O>7)V6{aV<5q^pFFzxOo|*Ev zH{6$gODOOwC+t?Os=B}kT zu`P?@;+nX+_E;<~mL882QO9iAHLQpY(`+MuI7@zCUmEw8@j7&P5s-%umy2jYdV8-(=45kjtAR-ROk51~FGJ!%JR~q>i5R9eopKxJ>Bqbb>zVUjkfN z(Ve9A9Jb&wV*4tb-qxF>BKmkQN}wXKup z0(ukS)lOX=tF?1S`jG&y$2#f=`A0;{#y897= zoAC+mI!yIUa9-8A7?b4xmxT6R7>hTR^4Jo5z7rvgzWRY%GHq30ES9!TESlehOPf~1 z*6N)!bz&=gC_wpI{2DJZOGLOFzbSG>@{5%84Y;`BYIbJ@KQYJrP=Kp(3%p3LT!yi@ zErmY$lK|t!dD_zGgAMw)S?V_?2Q|^KofywenysU)d@Z->Gb_ZmbszrKM7FariUn zDvYO1&Z`@x!mxlQ!0VMJ>Rj4fSsBjE9=ryxuzk^%Ci+JPE=5zn<2H`oO5>hXQR>y~ zC8mLEE65?MNPia&)Dn!aopr9?=LPyuT?o1cZ-mh5>;NQ>5MKP=??3%8^Hu4t*HC^Q zXj&jg&UbOmb#l|Wu=kLg-VYnj9b0ykTEf>crFf`PF8GvQFZn#=@To4|*HGrQ#{exigtU|ytA!p9jn7ki&ZUrfuD zSP|x|E_gX0oIBU91{ANT$7}teTI`!+kCHCs+P9?n0l3ytG{04&2-E0e0nkxuL|;gA z-qHEYbNyUlr2?Nsx6!QtJiSvVDJlEtw*s7v;VlQxfOE0DmJaDy5oS~uNben!0&hP7>BOHVCLP$wVx&$HS(!TGT(wBI^%%i~8UQ&nOvtI>172pC-&5;S{ zZkknzV$818TSbaAEea2!MS+>wV^N42@^5ngiPAhjo}LrQa?H>!HRAa(YsCEY-~rA) zJWwwresK6im3Lg%a+F-|>C>k)*x`q5t>x|nPoCan51#U$kk%Oa=$(R#e3<<7w!iMZ zC|Vc3b}zVG((8iv<-B3?uMo((_%I)DYd0h3k%%wnBQG97dX^$())=c%Z|M~UiweV%f8^K#8?r9StSn~8L=2??J MGkAWq5BmWB1)Qp~!Tc#)@1?i;`TH zTpD%@|4=_AKhW1c_Y?ZmS&|Zk#!2HBi!*a(&deMRzxzI1gzzQlvw%fZGM7wmh+Hrd zMnVclcx0N)W-KC(@I&sg$ROl+M24dYv5p6mFAy4wByyNZ=0eOp)^d z{PtC+EkYL1kQ-@IfPnfe4ynUPf82Y;Bz38zc0a}2M+$FuS9trPa{%CYG>*wA%LBgy z!M`w>dfXwgq!Rx<;qfI8xa8F1zhNJTWJbN1A@=RqSrRysi-0J=C~#Qo8Od_0*e9XD zz7NTg(O8WF$6yZv$)bRI_A!f{h=)={V+=LTIg_gaDog8GURI^!Gt$a9n&w+14~dKt zwqBi(h{+@h4pQDK!R_joeaF1IA-7LB^V}X=&?_z?(=56wlH3JdHFkz19CPnnc>Kh1aWJV2Yl1q>2dSTOH z%gwiqg3&h%&qLS@63?Sk1k};InI(A+8!nsC#FP3Xv~KP1E*UL5F)pZ=P~fco}=gM2xK8tjaDld>&k8*oTO%6n1)@+jk55eWyLm;l%3WLq$FGMx&ps?yylsX biWg5;=jeHMS=SEnJCAT0nVrg8xCQtZW(FeD 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.StatusBàA4 - create_time ( 2.google.protobuf.TimestampBàA4 - update_time ( 2.google.protobuf.TimestampBàA"i -DeleteOperationMetadataN -generic_metadata ( 24.google.cloud.aiplatform.v1.GenericOperationMetadataBÌ -com.google.cloud.aiplatform.v1BOperationProtoPZ>cloud.google.com/go/aiplatform/apiv1/aiplatformpb;aiplatformpbªGoogle.Cloud.AIPlatform.V1ÊGoogle\\Cloud\\AIPlatform\\V1êGoogle::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 870851844f441eb26310f908f1c0716c7f68a461..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 3921 zcmbtX&2!sC6tC)Gi~hJNtj_g)hP1D5w#`F zN(zKd4jdTx2RL!%#Gk^Q6Eh6wUb%7N?XDy{cIpJkCD!hHzxVdN-+OQO!KdDV2iMh2 z>QH6|w59GHslfqNJ>~|k<#yD)aDSgN)pEO@-JwiV)s3pURozz08H;j zyKcKf3s%PsTLshhI%cr%vTosUwct_a+kQZuz+hC$Yr+74V|J;#)iHfvttFWC2ohd{iho|X*Rd_t56l4nE!nn`#`>^J|@wt7h4;*pbIW+VH6L|FE8$)`9KN*fIb7 zXi1{BZRA>DcD?iK);+7)KqiH6u_s7z=aC&zpxA098GnN1vXbP8XKWdMT!4H3rA|m* zYH6anv|e>-hpYK35u)kYg_Gr#|7e6Unk2{YF*~v#^J^nCx-tbx4f~PKwMa*lG*(0* zhyxu7EJOm#vkIK^VWheE$0U&9LM9hsjQ53{qADv>rSzZ047mc+E!)SYa%70DRJ^5- zGR(%uHh7KtxiK}pl3iQTq}kJgro}wsb;&KH$WzF0-)Js_(6ejzMrjZGtZ|l5j+7=h zAVV2*S#BJWvTGzp!s83E(3f)eAZsy-Y6cHjZbC@sW9c}WT0&c?br%5rWPwzgJf9Mp z3O#JCk*TTkX;opoWA0ImD2Ryav2Ul)P&*|i&xCT>3D^<$T_GRCghPX`T=puLMHi+@ zH*oduq6+Wx`4R>+GJsU}HC!reNoh>Z+yGy5)8Y)bM!9sd|40`aa5-TM3mqPL!T;Qh zz$=Wxi%C;1^y;zm5wX*TOmOI=B}9Jnp+s z#2Mi#$%Py zm|@hzn}=ywF7hLn#{8!RJ)U0pK~cy9n8FVBN|J3%kYj0-kqs2?F$`G|`pAfrHh6;( zHqzvCm^Z_~^)0;UIBjV~c9i?0tn>#*EA{{q%lYpWm>bw2*WqHhZKrAt7JAt<>zs9Tzc*^_9CKP&J~e1g8BBro6+uOQo^hG~g($bfL`*)?rc zKpIl7DAkfM5FI8N4j-R$gr79Kc6}5~-8@Qk7yn9OMac#7E=<{7vrUbV**zXATR(@b6Em&CZTNkyx48`Y18TMm$8Avzqr8Skrdne7$o@h$VUC}) zO9N(G^1yP++&sexyuPDGa%}P#O9Fv9ZrhhIAmTQvb|8zCpuW!&;9~~P4sR5z2th+?p!yDKC*e)!SFuP=uAk}MOCZB!Be&ox zb%&vzHVc0F&5(IJWG70!3L|f^1*V z-y&7|O%X$S1O-Y9!#%ymA4xUki%0Ut5MRh}vbWv-MinternalAddGeneratedFile( - ' -š -/v1/{name=projects/*/locations/*/persistentResources/*}:reboot:*MÊAaiplatform.googleapis.comÒA.https://www.googleapis.com/auth/cloud-platformBÜ -com.google.cloud.aiplatform.v1BPersistentResourceServiceProtoPZ>cloud.google.com/go/aiplatform/apiv1/aiplatformpb;aiplatformpbªGoogle.Cloud.AIPlatform.V1ÊGoogle\\Cloud\\AIPlatform\\V1êGoogle::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 fff5823b50d24747c167828bb77369ed05e5a05c..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1040 zcmbVL-HO^k7_An1F;^n=Mriq#-J)CCi1en!y2YO;0jr_9mX<&mi2JZY!Lld6Lkl3*1e9cHRWISCpF%=A}h|5j$w$&6=5JqDX zM3}Nvl0a}q!#m3~K`6!>k_a3U7-Ga|wwAu)T3?~VAJKkYV z>ls$`1A%@-y3{=&QCR8M1x*4PQ$;bO-}Naw5Mh=O&GfJ~O5;#b9zzD0#vy53Le81h zUI?zI(t*7`FB_B|lJCZf$QUz!K$1{Wp}6#Psco-`D#n}rXj6p2h z$BSR(+Q_8YGHJHDuD81#)}nR4-}HA`_Yd2?PWzwoiyUm*25sAiecN8Nme0&JdRH&} UeUr!LC}k%TW-9YAZP6B?zlUH}N&o-= 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 e804e667e7914a2660f681525023de8a6c043062..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 6383 zcmd5=OLN=S6*fh^cxX`)qSy#qx3Fx-vJ-<5opwBQlnzNzGF^pYCEAM)I~WkWq+me+ z1`jogN57-1F55+aLw`a0C%Ws5*Ijh7>bWln)Ptd-cBbA~#69Ob=bn2W-@RY`%0KYo zfwoOt5||O`YrPXKIv|=Kc#&s$j@F9@0}^PKcjVg+33N@{+|^pU9j&q1?A%Ay(2E0$ zRJ5Vz4INUl953#dOxt(NXy64$rQ`LIZ~MftU1GfRdOAY}aLpqU`ldy+?RM=O5}AE7 zGP~Ohq+6#T-D(2TeY^e=z;etm)Y<~brykKx(1 z8kbV!;yUYd`dOdTkJpQz2q@FHOM$2--tUS}##k{$(FoDCF`^c)3?cc&7)g?(zY${o z3yr7aG-Q$s*%xDEla4;%sciTxmxX3&5>46)iBR}-jKVQZOCk4DA;)G2cH&aVa!;)O z{QPPp6HEx)6#{{8p(f2DzOeeQ0_0_J;#^UdVVce-HKS$La<%L~s##?PZujjFr`n0Z zmZs>E@+IW0fZ#?9YD>-H$9%b{b2}Uy-PDsz=UC4H(0mYarRm9()?uEweXcSynF@Lr z`#4vHce9ge>9CL-FHIeFj_KXKuq$5p$_C7^vsC9%u26m=s(CGor}bP4 zj`J67={roT;YPuU@(mP%*rjJ~U`Y<_p?aHH{l%nUdt4hQ9V#nzSUgv+>Jr0yIu37i z!YOxQF(kpUZ4tw?EDsH+%Lqb~bj~Hw@4etqRp^J>gYT;v{ESk%7)y{REB35V$4{je z7gdU&U=Kq;(l>112uycKLiH1jS&kM%M2;xMBSsw9>PO5@2bPnsM}pC*D{LQMj@yS! zijIJkY>=N<5f(!0fb?UB@XEWx_P~mA6+ZR@GH~qSL1bW~urb+jN{4C@W#*}Vrugp} zSQw4=?*M!=!1_iO7h;XmEND#PAkBgiD7~HFu)L^EsTt)ytPHKt@Zt!=YxM1aSV$00 zRMs)5Pg6=CmJ$!B-!Vou%lvqKLqFIM4|$R{p)lH>RoZF_<@HHyjBpgC2aC2#wcKn=|kJ?7dx0OYg;B zrzOX;c=?sy%Rf((yB{i1+0;$&boDb(CFc3sR~BLJ7|Ro@nN8K)>W2(0OKAk-tzW5O zB}q&{j@a?%%MZpy5&JH^Vek&K1uF?g5WBRa(?yXtljAh8E1Kb<7-h1e^>Kd44Rug2 zHOyB3muH-8HRA#bMq(mzY)dkjjtK%$Q%$|gNb#O~*MzjmFHtokDQYShKE7!zjjfeL& zzP;bT9G`xYW4*j4;x3z=DahhqGouB;{ipmp&2TASpMZZSc|b?_P< z+?LaB#||UqE6B;wCK<@XaWRt0EWX8ekWa;Ybn3lM_w{`Fx{;TLsF!Sp9K!ANY5Y%( zt^PR!GxTH$&i>{7PPNl8-n91Hje2vd+1OmVh1TcVjn-zfwY`*~Kla|VTJ*=1vH-dL zH}!g>v5A6NMS()S+Nw8p3@JaY6ae_Q9jY=zRm5*pnN)ve+`Gq8Bh3B38uAE8s!Hs@Tm&+w}J zef1GMxSB=OCBE{Sv3J8VtpnQ~8c6c3Lx#nf^0lz;!4l=Vcvq1g@%bxm?@!^LSjPLp zMT;RaW4zb!>LR#N>7!s7FChCP_ozZ%7)F4!OSK%#_1X0`to>n%-NweGMr~f^MmzJ{ zuQ@Lij|}wAHuTaj?s%2MNB6T6@Ov-QKmIaR+-A@0dYwMA>(ypkyw&S(*Z(FLyW$bP zd$!!gXZR0O_qcMU!n7-uv-L^^*Q>1`yjgyJ33nViUe9z&;+~33QT%n`Qzm2 d?sNWBo_blQQ_;pJ-V3klOp?ESpTa4?e*m^ZEXx1@ 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)àAúA# -!locations.googleapis.com/LocationL -training_pipeline ( 2,.google.cloud.aiplatform.v1.TrainingPipelineBàA"^ -GetTrainingPipelineRequest@ -name ( B2àAúA, -*aiplatform.googleapis.com/TrainingPipeline"¿ -ListTrainingPipelinesRequest9 -parent ( B)àAúA# -!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 ( B2àAúA, -*aiplatform.googleapis.com/TrainingPipeline"a -CancelTrainingPipelineRequest@ -name ( B2àAúA, -*aiplatform.googleapis.com/TrainingPipeline"² -CreatePipelineJobRequest9 -parent ( B)àAúA# -!locations.googleapis.com/LocationB - pipeline_job ( 2\'.google.cloud.aiplatform.v1.PipelineJobBàA -pipeline_job_id ( "T -GetPipelineJobRequest; -name ( B-àAúA\' -%aiplatform.googleapis.com/PipelineJob"Ì -ListPipelineJobsRequest9 -parent ( B)àAúA# -!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-àAúA\' -%aiplatform.googleapis.com/PipelineJob" -BatchDeletePipelineJobsRequest= -parent ( B-àAúA\'%aiplatform.googleapis.com/PipelineJob< -names ( B-àAúA\' -%aiplatform.googleapis.com/PipelineJob"a -BatchDeletePipelineJobsResponse> - pipeline_jobs ( 2\'.google.cloud.aiplatform.v1.PipelineJob"W -CancelPipelineJobRequest; -name ( B-àAúA\' -%aiplatform.googleapis.com/PipelineJob" -BatchCancelPipelineJobsRequest= -parent ( B-àAúA\'%aiplatform.googleapis.com/PipelineJob< -names ( B-àAúA\' -%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"kÚAparent,training_pipeline‚Óä“J"5/v1/{parent=projects/*/locations/*}/trainingPipelines:training_pipelineÁ -GetTrainingPipeline6.google.cloud.aiplatform.v1.GetTrainingPipelineRequest,.google.cloud.aiplatform.v1.TrainingPipeline"DÚAname‚Óä“75/v1/{name=projects/*/locations/*/trainingPipelines/*}Ô -ListTrainingPipelines8.google.cloud.aiplatform.v1.ListTrainingPipelinesRequest9.google.cloud.aiplatform.v1.ListTrainingPipelinesResponse"FÚAparent‚Óä“75/v1/{parent=projects/*/locations/*}/trainingPipelinesë -DeleteTrainingPipeline9.google.cloud.aiplatform.v1.DeleteTrainingPipelineRequest.google.longrunning.Operation"wÊA0 -google.protobuf.EmptyDeleteOperationMetadataÚAname‚Óä“7*5/v1/{name=projects/*/locations/*/trainingPipelines/*}» -CancelTrainingPipeline9.google.cloud.aiplatform.v1.CancelTrainingPipelineRequest.google.protobuf.Empty"NÚAname‚Óä“A"cloud.google.com/go/aiplatform/apiv1/aiplatformpb;aiplatformpbªGoogle.Cloud.AIPlatform.V1ÊGoogle\\Cloud\\AIPlatform\\V1êGoogle::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 71674e10850e9522ea801d5812a56665224811f6..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1138 zcmb7D-HOvd7`1g>Wk4taWw*G?hzr{lO)1``b|p>H5U6Ri&0a{LOw&nsAk7TPWI?4* z;am6+K7dy~hfm?;r)js_y|6cFd%knNFW>pj`w#4zfmhJP5sneZb2$47`89?trkwgT zgtIgVa14FAWF*9~452=P_GkhP-I}}<)P$z7j}^F}bP?jVAJTN*Mudfk2Q*%`Z#r#8 z7!FB(c(#Loat&8NHK_@n??8@W z>y~Xc>U*%yu5D-7L+J%L+To2|O*0H#s2=QTI8d#jfF4OF;CP3qskUYe#qeh1aF1>Y z3-aSVx{m6O1@xrEx#wH_T{qJ@tQ}M!mRBSAx1=yHWsj1cl*cB zdeh8@9Rm&;!Ctr1buR*VjmA8RC5v;%UlY*=$Ia^USxT0KjW`}uV-)=K~6(Fbz;(;HjssxW9MM6Bm3ol5#RXiX-AoA1)p8CdX9}wsM%*_5yW{pK4 zFG=>EbM86c`R=*r-aEJ6aCRJcL0zU6b#{+}YSdM$_O4^r zshd&N#dURUy{HxzSBsZX)w3IJm1fm#+up9znQGl`7&E%*)OEjRySp=cvonrM4YTT- zwpI41yJuEuhT8|Q^j+#XdX=in8~MA`*A3m*OUv9;X@Qw41=j?5gTgzu{Upx!=sdqwrs)F39B^vy`(eo1tJ^UN#%W6q)FyxKKB# z<@cwvWYW5kr#t$dX}kTYuK2!Fv5o!yv^J^aUE=^7 z-3%2uZ<3~}tA%}s_L1$7#9K(XYLAq2=1PKd8HhoSS)EyJ+3uC9KAL&a?12sm$az%1b3Y>2e*pWo*GUQ4&$)O3U z#eHe3WmQ2LDLEA*Nh4lJ=@(<9eN4U-dnrzgWmw96Udr)WinVCQ<7pJ5+G7PqWR={c zUu#g$C%51jwG79`T#hTMGBK2&{3Mt9EO!O8CcuSN#M;YX)t@Oy4U&N&)54;KrO_Kt zsRI+kb7L7HET%*kGWYa)gXRa&ESUswbQcRe7D#V=0O#wepuLxZlcBSogEfnimti>C zI6QPXW=3)zP8rmx+xyfg@7e~fmrVnm#2Cq|Fvx%5E)3;MS3k)Oe3rWmmwLy1msube zU{sje!vNUkg(e3%Y#84FxdcQE8>WX9V86^Zv+?I6foV8~!SgL`{778*46gz0T{yL= zKL}AcjFgqG!VsflAZM823@g5Q9Mj%Y;2c%~s_#BKAAYC6nMKp3RsT>y zn1dsxYlvRFpQMmu?<0XvA|BiAP1N)u;bb!jCW2hQ5bcwQ{Y0gGl$KG@h*H27?KuJ2xzXu z#a_1)y9$hpz?-9Z7JT?du-wp*!{$Pg+AtlgjkfuFr2nTW7~$=; zY5gzsFl=w{*~5@~aK5SKD|-&DmThbuT+^VuZy27t5x4a;og=nTcU`J>Z*5pRHKcv0 zz{wCFiQ#QH-sDEmHWCL*>nf7T4$b#Ll{GxpyH`T+*A6Av-UXEAm z{`yjdWZ{@>;yvuvSX22z95(WdD5}~j5O3e}=`LO?c)Z)jzECDNv6YqQ-d7az3JkKI z-^13B`Jl%6z)ptTf&5uGUGDTiTZ7XrSW7OPf#W`20@TYs&jH_b2gzkPFMh3<^}1fE z({gnO8}%yh(^;kmwZ9L*Sa8gf00apPQxLYosTN4Z$sj2hDbgL%V|=M4wW9n7kdiOJ zFiS)kNl`Pm$B*)vUwT?P5EYabtXPJVo?fH=K3;G6K9)9i++j(*7H4IPt857kVdxH= z+7>r)?6@Hv5>;m^&Xi0QDmA&)iz|N{gmWFam4unc`!(G%OuU8*4|y-f&Abpuvj7Ij zSKuU`Mt2>*T%**e=+*o3;Fpgx(!-k!-cO*ZC22{_@HUJzJbjy%!=shJCwGtu-eQ*S z$}?K}uejT^PD$>=@k-sU-Y?_H$itP+PR%288wZ)I)p91!%u-{M+ZCY|U_{aguVOii z#9Eq&n@+H3lPd@_m*Gsa&j^&q!j#8fe$?EB6D{+Ti;&LWSzmawuvp$KTS=}m*4v;Y*8=LDZtNGO; z8d_LiD;Cy@qtB;naH0iik_IAa!V42J9rp=Yoi4&yL_txwy2dhl6t; zjl(I~B;rz#7sKSoDL5*BC6jSbw)U6lmlMf~g`@pSd6K&jT&_%o_asx%IpUjt{>P6} z?_+@yAbJ~d_$r=wy_v}wWQ4e{#eWCm`1_-*BQCqM%H%sM+Cn0Ieh=>L;KcHNoZJP{-ER>dBMKyNeJZ?p;GzFO(QYMjJ<#V4yWx!pi~db* zDUpdD(YF{QAEsbbbmdWaB(_6qmyQSHH!)y*q-gm>k+gt;9Y@Or4TI!M+MPs(dO*^} zE2G~^=sA}7kC_C}(JTA(qS?~M=_@&^S*gSE8p8-Y*)^sEt_!67-_9?=w3v_;+LUiz1 zlDh4JN$SgC`SMGJQ}E}Cw$lH4V(+w_?z4jPWoTpl7E!^4k=g73;Vyoc|tPtd;17*UuDfu}{1_-b1uS!q)Ycw)S*W zJy7dq^tzJ%j`DHte9xD*KjpSrm*{0@W*$6vAn6xAJ?agAM|@B+9ehs0o66+k8Elx0 zY1^vr=l`O>MSRbUp?H2w?ikVG0S|4yy`j7_FW!peYbSda-L{(_hS6p0>Z357%FX8g zJWi#T`8O?@1^&F9TiuYK$7Jr!ejE&z3fr&-T{%|IS;s<(Q8p=b{*G$_COx-fSLA9PL zeckdYLR|i~KeCO$bZmtYG;D)zeWVCX_U%L0K{Gs6BEg!>GH8`<-43W{>sGf)eZw=| z!10>+X|XtL+n za?S2@lUltpJ<-oh$14`cT8%-jB5l#oo!^^kil4gsx^ZIKGy?O#zYJ5+n3JbNaNm6T z%nUtI>h)s7KgVd@icQ4~_Za^32tK=Rm=ak~PDxYYW zUjr)L=eqpt8qD@Md7DuSUTs*4OvrMUN*{8}>nLy}T!5fK2)YFluT|rMs0DP$>Lr!l zNBo6y<-b8(dO; z?q&^t3c$G!sBKbd{$`oAVZKLQ%Ml$UyYuXAty<+MA~C)K5TM%NluFB7gVGNJuAPQO zI0{R&4jX(i5j5Sz#xd%dj`Z%$8q0xYkN$4N>z83r-Q3%tri7VZI5cBGI8l zzhk3^sG<*GHU1)QilX!Jk9g`og7x^LWQSxq&&RXWZW>F3?7+$!qLD0QPU*Sm$>ash zF`v<}2Yqo3(_Csd#q{T?@+z#vW2eRyEUyC@A4M9K@4=n%X+j10_mEArOmYazy<}^T zy!iPwM4gxouJjF#FiVYOYa_pfg{VnKY;UMbr{zDT;2z^XrR0+{xHGN2-MCEuo`-o+ zFv&iw_1L6{-Mtt4&6h-v$c@9;q+19;KXSf2{_S3X2O*svLu`gIsZh* zu{43jo*E0t>H{ErE1>mEABW&`F?q)Cm=tNl9ZUBHR4fk=A)H>roG8pvZjTZ2EkT@S zqPM(&Wj1W;*uXu_cc~H1K{IvZK$VEBjZ^{*M^xPl%sxJIG&WC?0OFyPo6zZ@3uM+3?ICfmJQ}U;fO`J{E%B5tjT;SF2F06+S zDAwSkitLxyU{woE9=oMXAQv4*evp3x3qoTY9LRmh;UJ=&>qAS!;OUzKp|&s&FRi@I z#x<#YAKugW(bV#=`L7fZR#PV5&*UK}ji!2_wHt@6imFvg9kteIz0wX3+D)}me_mIs zxm#ofvdvbb*{Z9ZQtMSNMLve^<65Ip+f%j1%LBElHQH_MWxcbjg{PHWweq6bs2_B4 zY4RC-(%G%Is#>$u>b&~j6d8P<<=%wP-Nq;2ovApvxlNlni#^Esi<d4q)FE?w+=SNamR5^Er_ zD#3@SpT{L>VKObrhw)S2FT9Tbz9{gLhe!PPMfo2ocps@}WKVf*5}B_do2jp!iM>>` zut5n1PICQB&u({hb3T=RVOmM_(t;o>%bwEfrUvKy{ryW{IFE@Zz; y-xtKiBBw4E$M?nJ(f08?-}L_UalD87L@YQH`%t!5F^ws^Q2wRZSYE&dz<&X`1bZ+5 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 ( BàA - display_name ( BàA( -metadata ( 2.google.protobuf.Value4 - create_time ( 2.google.protobuf.TimestampBàA4 - update_time ( 2.google.protobuf.TimestampBàA -annotation_filter ( BàA - problem_type ( BàA" -annotation_spec_count - (BàA -etag ( $ -support_automl_training (BàA:€ê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;aiplatformpbªGoogle.Cloud.AIPlatform.V1ÊGoogle\\Cloud\\AIPlatform\\V1êGoogle::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 ef0b155696ac1b5be277e6383266aaa64f1d019d..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 2359 zcma)8+in_17!F`N_K$JxZ6Xn@rc*an>?mD|6GiPhb_EzaL`{qg@kO%IY8eJI(Xz9h zopqB&T=ot66n&KTC3>Bw=*;W^st^lqn4OvLKYagbp8gz+0{9l45}$BakOAtyM`A=! zz?oo}d8i)^hlC@{#sT#RHxW8MLod&IsCC@#eIubEi#R40x@7FqBUS9NXi#-&;JISR z__%sitA=<)29ZZhEfv6b$0Q6~Owehk@q!3<;0o71)dK9M5@6Re0ro}h004V#7@}?> z2tELkzaZ*+6r)hMLjK*Op+kKtsO!<+r6-4I=z1ZM;7{)kBOeROe53$pJ|??+D3+=2 z-V2!Y{1Bxkbrczr2)peI!hP4Xk4cC*4FuyIdDXHmiO48aJG*;{S|yGS(Qa&`Wqo4g zArd?yv)U2jL`2*_&~_^UlWb+rA*>!y`-Bp2&>$oCiZX6lQ?I5%J_kJ~Ndy;0&54lR zp#kxzPr8I(QJD@43(L6eQJECN9S8HVIws#A(If)(!5}02L?-5LMv)@yKK!{3dkbfz zQHigbI(f}$@|st*%AG`v8_+6GxQY|GQoBY&kPza8F(V1&>ja`JL8eqyq;AI-cK%p{ z)ilkG4OqgQ`DH-4-L+>oj5n~2IgxehWa8hlzQf6{k>swtA+HtpADf@|#%yYM8m;H7 ze;#9><%}&@QiWO0DP@hqzx8F~4y+GoC`fr6BMz;!F<^d3%7!-ZhlL_} z9{IAlX`GH{O6+10h)~RFMhOKU|-fKCp zUUoaJX8WYwI^Mit0IbxTz4k?GGpE*_`m3(o&l@FJYo5L6{L<>l&w@oh*88wC(}Ln+ zmfa^bd1^eBMfR3p5mrAWt4Y;kl2SR=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)àAúA# -!locations.googleapis.com/Location; -schedule ( 2$.google.cloud.aiplatform.v1.ScheduleBàA"N -GetScheduleRequest8 -name ( B*àAúA$ -"aiplatform.googleapis.com/Schedule"š -ListSchedulesRequest9 -parent ( B)àAúA# -!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*àAúA$ -"aiplatform.googleapis.com/Schedule"P -PauseScheduleRequest8 -name ( B*àAúA$ -"aiplatform.googleapis.com/Schedule"h -ResumeScheduleRequest8 -name ( B*àAúA$ -"aiplatform.googleapis.com/Schedule -catch_up (BàA"Š -UpdateScheduleRequest; -schedule ( 2$.google.cloud.aiplatform.v1.ScheduleBàA4 - update_mask ( 2.google.protobuf.FieldMaskBàA2ö - -ScheduleService¼ -CreateSchedule1.google.cloud.aiplatform.v1.CreateScheduleRequest$.google.cloud.aiplatform.v1.Schedule"QÚAparent,schedule‚Óä“9"-/v1/{parent=projects/*/locations/*}/schedules:scheduleÓ -DeleteSchedule1.google.cloud.aiplatform.v1.DeleteScheduleRequest.google.longrunning.Operation"oÊA0 -google.protobuf.EmptyDeleteOperationMetadataÚAname‚Óä“/*-/v1/{name=projects/*/locations/*/schedules/*}¡ - GetSchedule..google.cloud.aiplatform.v1.GetScheduleRequest$.google.cloud.aiplatform.v1.Schedule"<ÚAname‚Óä“/-/v1/{name=projects/*/locations/*/schedules/*}´ - ListSchedules0.google.cloud.aiplatform.v1.ListSchedulesRequest1.google.cloud.aiplatform.v1.ListSchedulesResponse">ÚAparent‚Óä“/-/v1/{parent=projects/*/locations/*}/schedules  - PauseSchedule0.google.cloud.aiplatform.v1.PauseScheduleRequest.google.protobuf.Empty"EÚAname‚Óä“8"3/v1/{name=projects/*/locations/*/schedules/*}:pause:*³ -ResumeSchedule1.google.cloud.aiplatform.v1.ResumeScheduleRequest.google.protobuf.Empty"VÚAnameÚA name,catch_up‚Óä“9"4/v1/{name=projects/*/locations/*/schedules/*}:resume:*Ê -UpdateSchedule1.google.cloud.aiplatform.v1.UpdateScheduleRequest$.google.cloud.aiplatform.v1.Schedule"_ÚAschedule,update_mask‚Óä“B26/v1/{schedule.name=projects/*/locations/*/schedules/*}:scheduleMÊAaiplatform.googleapis.comÒA.https://www.googleapis.com/auth/cloud-platformBÒ -com.google.cloud.aiplatform.v1BScheduleServiceProtoPZ>cloud.google.com/go/aiplatform/apiv1/aiplatformpb;aiplatformpbªGoogle.Cloud.AIPlatform.V1ÊGoogle\\Cloud\\AIPlatform\\V1êGoogle::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 (BàA -project_allowlist ( "S -PscAutomatedEndpoints - -project_id (  -network (  - match_address ( BÔ -com.google.cloud.aiplatform.v1BServiceNetworkingProtoPZ>cloud.google.com/go/aiplatform/apiv1/aiplatformpb;aiplatformpbªGoogle.Cloud.AIPlatform.V1ÊGoogle\\Cloud\\AIPlatform\\V1êGoogle::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 ( BàA - display_name ( BàA& -specialist_managers_count (BàA! -specialist_manager_emails ( \' -pending_data_labeling_jobs ( BàA -specialist_worker_emails ( :xêAu -(aiplatform.googleapis.com/SpecialistPoolIprojects/{project}/locations/{location}/specialistPools/{specialist_pool}BÑ -com.google.cloud.aiplatform.v1BSpecialistPoolProtoPZ>cloud.google.com/go/aiplatform/apiv1/aiplatformpb;aiplatformpbªGoogle.Cloud.AIPlatform.V1ÊGoogle\\Cloud\\AIPlatform\\V1êGoogle::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)àAúA# -!locations.googleapis.com/LocationH -specialist_pool ( 2*.google.cloud.aiplatform.v1.SpecialistPoolBàA"w -%CreateSpecialistPoolOperationMetadataN -generic_metadata ( 24.google.cloud.aiplatform.v1.GenericOperationMetadata"Z -GetSpecialistPoolRequest> -name ( B0àAúA* -(aiplatform.googleapis.com/SpecialistPool"­ -ListSpecialistPoolsRequest9 -parent ( B)àAúA# -!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 ( B0àAúA* -(aiplatform.googleapis.com/SpecialistPool -force (" -UpdateSpecialistPoolRequestH -specialist_pool ( 2*.google.cloud.aiplatform.v1.SpecialistPoolBàA4 - update_mask ( 2.google.protobuf.FieldMaskBàA" -%UpdateSpecialistPoolOperationMetadataI -specialist_pool ( B0àAúA* -(aiplatform.googleapis.com/SpecialistPoolN -generic_metadata ( 24.google.cloud.aiplatform.v1.GenericOperationMetadata2” - -SpecialistPoolService -CreateSpecialistPool7.google.cloud.aiplatform.v1.CreateSpecialistPoolRequest.google.longrunning.Operation"ŸÊA7 -SpecialistPool%CreateSpecialistPoolOperationMetadataÚAparent,specialist_pool‚Óä“F"3/v1/{parent=projects/*/locations/*}/specialistPools:specialist_pool¹ -GetSpecialistPool4.google.cloud.aiplatform.v1.GetSpecialistPoolRequest*.google.cloud.aiplatform.v1.SpecialistPool"BÚAname‚Óä“53/v1/{name=projects/*/locations/*/specialistPools/*}Ì -ListSpecialistPools6.google.cloud.aiplatform.v1.ListSpecialistPoolsRequest7.google.cloud.aiplatform.v1.ListSpecialistPoolsResponse"DÚAparent‚Óä“53/v1/{parent=projects/*/locations/*}/specialistPoolså -DeleteSpecialistPool7.google.cloud.aiplatform.v1.DeleteSpecialistPoolRequest.google.longrunning.Operation"uÊA0 -google.protobuf.EmptyDeleteOperationMetadataÚAname‚Óä“5*3/v1/{name=projects/*/locations/*/specialistPools/*}¥ -UpdateSpecialistPool7.google.cloud.aiplatform.v1.UpdateSpecialistPoolRequest.google.longrunning.Operation"´ÊA7 -SpecialistPool%UpdateSpecialistPoolOperationMetadataÚAspecialist_pool,update_mask‚Óä“V2C/v1/{specialist_pool.name=projects/*/locations/*/specialistPools/*}:specialist_poolMÊAaiplatform.googleapis.comÒA.https://www.googleapis.com/auth/cloud-platformBØ -com.google.cloud.aiplatform.v1BSpecialistPoolServiceProtoPZ>cloud.google.com/go/aiplatform/apiv1/aiplatformpb;aiplatformpbªGoogle.Cloud.AIPlatform.V1ÊGoogle\\Cloud\\AIPlatform\\V1êGoogle::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 3ae80bd2bebbbccddd994c67cdb2a08a32d86609..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 7520 zcmb_h&2QVt6_2Div7a2rW)iQgWD`coCf?mfUdutdm74_Ahh;5fNh`@tH_(=)sFBSq zC9)*tjT`t-dALo87>x~8TRD=CV(ide2R#C)#UxR0c^ z(YI8R77q>MP$wIzZuHw5ie~DH(=n{>#_{Hc?eyCxNd^hfQ@X@96_tpEYG#i(N?UQ1 zW`R*Rvy{3i`P9vW&20cxS8Q9XQxtd$BL12EmaeIy?I;fZd#Ks6*3%qK(Y4>=8J>w9 zMYjo3j<4I->GUCSeBsfN^-o>46i(}i>wJ&t^w=h!iH_ALLGGex5vOnUw%NWZz^VVMIYC;I zsWo>rqPH{TNIBLFE1e#kY5+2gv_@Rr%}nKsBiBc3K`GA8&?l|qsa59!gbfW1$5FcG z1!!MdifIzdo=nQL{^Ysl>R4*GeUu&ydk~%|lfD^osylF9 z>nRu#j){!aw$Y1S@lF&;6sRB&Qn&>x^@h~Q%lqYeHJ>f+6!W>|O9H?ZDcdL>!NvVE+~sScI`+m}_t)u$ zZm7)FaLoI8$|9;paEQtKH1W@?FxRj!{!P-@bqH(in6IbEK+aS}=gFDD2IZUsFck}} z0wbc0s*0eNKlj8u!O)W&q3Y3axffuigM!!PE(*PGkuK>uuFlTZ``%zZN6Nrr0K-Q0 z(H*@f$QCtS#d5gqT%FB!HesIh+MHy5Hj-6XP<0K@Dx*pkd_xoN!iv`G;L)^}?i(Tu z=3ihI?Awmfm0ugJSd>kCj_&wB=@WP`-K?^V<}0Hm)ZqH}q$Mk=N^D#1TbdnPWP*Bn zzUp3*mc;1xku2YHtP>{rcnubOt1g~)g0gkz#>1>hFa;V(mp&N+UH-dM|jy`QgBZwv+8HcZ{N-l$Zo#d2XeLfy8$ zpUvj;Ib3*ISOO@Pck)ubm?`C#=hFH+NjuApxexAK(2X}7>cZ&N?Eh(^4T}sgYhY%2 z;|Mn(+IGti%)PEO&@z0v+bH4pb;raXLU4nH9~v2v73LBJQ=zblex zhdj5?1QAW;y}e9|IzCb|M`5xQMe3smVK{HsT{OxG_x&B*?UJ^p^kl_bF~X2%6KOVv zdkpIgW_ajh@@6VC8W*Ce8JVHR5NjH<9k_~t+R{`T^+!$Pi&>9Ai3X{;G{MTYW`puW z!~iV=3yOYdSekRxWp%<*YGXDq$s-fKh83e_6YH2|N4aNcHesoIDfQFYuqp%cGNl$; z5D#P$*(N&XV)QiGIWb9$CWWQc^VzTiS*q^AG!RAj7H+YeJ+Ln{hK_c~VtO?7^V#6J zal1y07JvY|p+AN~@xMd>u&Hu&Ct$ka>K}^8VW9+<4-G|U0eNXwrUTq$0g35xXv_`^ zGF-Ej4sp;|`B`}Bm!0h_0oXc2;REieF40r{E(F5(oDhR$m#=e#74(sz^RyEZo`8sv zQnN@~?rJ@mu98tG7+mF!MXNmwpEN*)b}4@50o<3*Tc40%-a9rXyIX~dRFWItR7Xof z%qM%&FN=G{S8h?bS1j|daAp~n*j{`|#s9Gc*M=NK_%*Dw4Qy|T%yK4=cRZNRD9|Ci zWR8Kc4C_X_76`P}IV4t)1=m?_Hk}Q#pv^I&1$n%NRV-Tx^>G!8yueX-=-#~upX>lJ z$g2%Eup`0RA4~rLBObD6%n`!}%DHesE>r89Foq(q@swy{G)~a=VJY?OA_uHf6c#3a z1Gmwa+IXj7&?4FNif3jHb_`f7FI|KO`jrPebm+JN*GFuHg%5NeCRCRHL)_tMSi#bO zk262w<8ipwCLN`(JMJ7+w(Dcm_J=0pCM=Iy&N#=&6prrrM2->e)#Dt$ft!?}MVxh8?S=VdkoliNu;y|f3punurE=(e&|Qq$ zP;fU@Si;Tl?wH4J+6YBc7cQ3KPhfSj;3t|_d>vNCq%^XU`%e4|Sets15en`SnV4^G z%w1@@=dmQw!_wUkUU68hXQfhpQhLOTl>KtCA(x8fyi}9fI_$^sh_G>5rVPfZ`$mM1;TA1lf<-AOqoF7wJcK(s zQLG+qi|FlrAWg8VIcob0Q@2d>WYlVo7-Nz@vk`0C%01kc$5gOAV9=R zl{1N6u9xO`miQJ&kkFeq}>6zf9%aOollDyqwDDkIog@3X_jP;R2onr(8b>Q-i zRWy;z-$HN~FR{;Hm;u(YR_SwEHT3E^-;?(;fcM{rM)1uLuf_4%aB!_@wzh*GKZN52 z_FkCG()YroRIIwMjmd+}zk8ES_cgIOm~P^G;=Az2oH(6k)amqKKAk?;Y+YeKyY<+A c_4x^Zs0+O7(N_vho$#i|R`Qp(Q#b|qKY#;=u>b%7 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 ( BàA - display_name ( BàA - description ( C -encryption_spec ( 2*.google.cloud.aiplatform.v1.EncryptionSpec% -blob_storage_path_prefix - ( BàA - run_count (BàA4 - create_time ( 2.google.protobuf.TimestampBàA4 - update_time ( 2.google.protobuf.TimestampBàAC -labels ( 23.google.cloud.aiplatform.v1.Tensorboard.LabelsEntry -etag (  - -is_default ( - satisfies_pzs (BàA - satisfies_pzi (BàA- - LabelsEntry -key (  -value ( :8:nêAk -%aiplatform.googleapis.com/TensorboardBprojects/{project}/locations/{location}/tensorboards/{tensorboard}BÎ -com.google.cloud.aiplatform.v1BTensorboardProtoPZ>cloud.google.com/go/aiplatform/apiv1/aiplatformpb;aiplatformpbªGoogle.Cloud.AIPlatform.V1ÊGoogle\\Cloud\\AIPlatform\\V1êGoogle::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 660cb8ac20035c8b0c8ebdce99487d8f4b7a0cfe..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1902 zcmb7_QEw7K5XU_zXt%XZPm>aix?+>kXphipVh-B|#9|+`Bqf-bOUT~cLN_^X&%HfN zHT@ob20x0AKKa;Z{Sxl(!EstjDlfq8%x`D@GdJ_{AUF-cW7xtzW{6`K+GmiTVi+*W zsY5+zNBur#(4oVCc$gUwHjm-E;|_e?JnB3Wt|5(>gH1S~bl~BN35p#Pk;>b{R0DLsWVSpSATkXbM%#l2_S_)*nk|3*|fUIt{27u$CFoc~c zuqj-?7XZa4h-{BIFyx4fuMHCRh)*~{9{DU1+k<`Ng;+2y+x8>h;e`57Ivo2BE^on@ zDQ!0bDumdBlgQdq8=;GJm|#qVh?3YkaN5kv=TPF`DM3 zAon0=5l-I@A;Uakeoe(K0q4mtYld$1fLMnFdu{`tq7k9YG^bfjA+ua(NN%O1?vNoq z!HnSW`p85p=`6Ay2D5#Y#@qX3tZ3bJ69ErJ-<6Y;r2w1Y_bpKU?}pQhv5TR4)R^|D zF{&0{TocDd9=%Yh5Vvvh;n-6(wP=fqG*PL>2Bn`GSea@k8&(PuA*cLzuj$_qJ}3BNgvF~bDBEE16Y{*Ctct3|(oS(gnpD}4S*t4R z%U~hoI8epOHg1BP(zUb>@^NDN?eQbU(n?LRb}4pUPuncVwZ8{eMwo?SF!lUsXk(_X z$jL*k)CKD)N;(6*mXuagrF}99en#V``$a-Z&%x?HTzwT}(oLDw*T8}t)hZkntJe6T zfd^tq%(-E}HR)+OtPE&+gP?$jB{F?o1G|>~^DR?ssg+@<`DN6P z+T-10bgSPdht_zZSkq%mtdw7w`?0fWDsR)Ao||U3YUfqKcQ=y(^faE(seyjwFjtoG K$UO(=0Q>=cPjAuy 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 ( BàA - display_name (  - description ( 4 - create_time ( 2.google.protobuf.TimestampBàA4 - update_time ( 2.google.protobuf.TimestampBàAM -labels ( 2=.google.cloud.aiplatform.v1.TensorboardExperiment.LabelsEntry -etag (  -source ( BàA- - 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;aiplatformpbªGoogle.Cloud.AIPlatform.V1ÊGoogle\\Cloud\\AIPlatform\\V1êGoogle::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 ( BàA - display_name ( BàA - description ( 4 - create_time ( 2.google.protobuf.TimestampBàA4 - update_time ( 2.google.protobuf.TimestampBàAF -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;aiplatformpbªGoogle.Cloud.AIPlatform.V1ÊGoogle\\Cloud\\AIPlatform\\V1êGoogle::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-àAúA\' -%aiplatform.googleapis.com/TensorboardA - tensorboard ( 2\'.google.cloud.aiplatform.v1.TensorboardBàA"T -GetTensorboardRequest; -name ( B-àAúA\' -%aiplatform.googleapis.com/Tensorboard"Ð -ListTensorboardsRequest= -parent ( B-àAúA\'%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.FieldMaskBàAA - tensorboard ( 2\'.google.cloud.aiplatform.v1.TensorboardBàA"W -DeleteTensorboardRequest; -name ( B-àAúA\' -%aiplatform.googleapis.com/Tensorboard"a -ReadTensorboardUsageRequestB - tensorboard ( B-àAúA\' -%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-àAúA\' -%aiplatform.googleapis.com/Tensorboard"8 -ReadTensorboardSizeResponse -storage_size_byte ("è -"CreateTensorboardExperimentRequestG -parent ( B7àAúA1 -/aiplatform.googleapis.com/TensorboardExperimentQ -tensorboard_experiment ( 21.google.cloud.aiplatform.v1.TensorboardExperiment& -tensorboard_experiment_id ( BàA"h -GetTensorboardExperimentRequestE -name ( B7àAúA1 -/aiplatform.googleapis.com/TensorboardExperiment"ä -!ListTensorboardExperimentsRequestG -parent ( B7àAúA1/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.FieldMaskBàAV -tensorboard_experiment ( 21.google.cloud.aiplatform.v1.TensorboardExperimentBàA"k -"DeleteTensorboardExperimentRequestE -name ( B7àAúA1 -/aiplatform.googleapis.com/TensorboardExperiment"¼ -!BatchCreateTensorboardRunsRequestG -parent ( B7àAúA1 -/aiplatform.googleapis.com/TensorboardExperimentN -requests ( 27.google.cloud.aiplatform.v1.CreateTensorboardRunRequestBàA"j -"BatchCreateTensorboardRunsResponseD -tensorboard_runs ( 2*.google.cloud.aiplatform.v1.TensorboardRun"Ê -CreateTensorboardRunRequest@ -parent ( B0àAúA* -(aiplatform.googleapis.com/TensorboardRunH -tensorboard_run ( 2*.google.cloud.aiplatform.v1.TensorboardRunBàA -tensorboard_run_id ( BàA"Z -GetTensorboardRunRequest> -name ( B0àAúA* -(aiplatform.googleapis.com/TensorboardRun"€ -ReadTensorboardBlobDataRequestL - time_series ( B7àAúA1 -/aiplatform.googleapis.com/TensorboardTimeSeries -blob_ids ( "] -ReadTensorboardBlobDataResponse: -blobs ( 2+.google.cloud.aiplatform.v1.TensorboardBlob"Ö -ListTensorboardRunsRequest@ -parent ( B0àAúA*(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.FieldMaskBàAH -tensorboard_run ( 2*.google.cloud.aiplatform.v1.TensorboardRunBàA"] -DeleteTensorboardRunRequest> -name ( B0àAúA* -(aiplatform.googleapis.com/TensorboardRun"É -\'BatchCreateTensorboardTimeSeriesRequestG -parent ( B7àAúA1 -/aiplatform.googleapis.com/TensorboardExperimentU -requests ( 2>.google.cloud.aiplatform.v1.CreateTensorboardTimeSeriesRequestBàA"~ -(BatchCreateTensorboardTimeSeriesResponseR -tensorboard_time_series ( 21.google.cloud.aiplatform.v1.TensorboardTimeSeries"ï -"CreateTensorboardTimeSeriesRequestG -parent ( B7àAúA1 -/aiplatform.googleapis.com/TensorboardTimeSeries\' -tensorboard_time_series_id ( BàAW -tensorboard_time_series ( 21.google.cloud.aiplatform.v1.TensorboardTimeSeriesBàA"h -GetTensorboardTimeSeriesRequestE -name ( B7àAúA1 -/aiplatform.googleapis.com/TensorboardTimeSeries"ã - ListTensorboardTimeSeriesRequestG -parent ( B7àAúA1/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.FieldMaskBàAW -tensorboard_time_series ( 21.google.cloud.aiplatform.v1.TensorboardTimeSeriesBàA"k -"DeleteTensorboardTimeSeriesRequestE -name ( B7àAúA1 -/aiplatform.googleapis.com/TensorboardTimeSeries"½ -)BatchReadTensorboardTimeSeriesDataRequestB - tensorboard ( B-àAúA\' -%aiplatform.googleapis.com/TensorboardL - time_series ( B7àAúA1 -/aiplatform.googleapis.com/TensorboardTimeSeries"r -*BatchReadTensorboardTimeSeriesDataResponseD -time_series_data ( 2*.google.cloud.aiplatform.v1.TimeSeriesData"© -$ReadTensorboardTimeSeriesDataRequestX -tensorboard_time_series ( B7àAúA1 -/aiplatform.googleapis.com/TensorboardTimeSeries -max_data_points ( -filter ( "m -%ReadTensorboardTimeSeriesDataResponseD -time_series_data ( 2*.google.cloud.aiplatform.v1.TimeSeriesData"â -%WriteTensorboardExperimentDataRequestW -tensorboard_experiment ( B7àAúA1 -/aiplatform.googleapis.com/TensorboardExperiment` -write_run_data_requests ( 2:.google.cloud.aiplatform.v1.WriteTensorboardRunDataRequestBàA"( -&WriteTensorboardExperimentDataResponse"¶ -WriteTensorboardRunDataRequestI -tensorboard_run ( B0àAúA* -(aiplatform.googleapis.com/TensorboardRunI -time_series_data ( 2*.google.cloud.aiplatform.v1.TimeSeriesDataBàA"! -WriteTensorboardRunDataResponse"Ë -&ExportTensorboardTimeSeriesDataRequestX -tensorboard_time_series ( B7àAúA1 -/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"CreateTensorboardOperationMetadataÚAparent,tensorboard‚Óä“?"0/v1/{parent=projects/*/locations/*}/tensorboards: tensorboard­ -GetTensorboard1.google.cloud.aiplatform.v1.GetTensorboardRequest\'.google.cloud.aiplatform.v1.Tensorboard"?ÚAname‚Óä“20/v1/{name=projects/*/locations/*/tensorboards/*}Š -UpdateTensorboard4.google.cloud.aiplatform.v1.UpdateTensorboardRequest.google.longrunning.Operation"ŸÊA1 - Tensorboard"UpdateTensorboardOperationMetadataÚAtensorboard,update_mask‚Óä“K2.google.cloud.aiplatform.v1.CreateTensorboardExperimentRequest1.google.cloud.aiplatform.v1.TensorboardExperiment"˜ÚA7parent,tensorboard_experiment,tensorboard_experiment_id‚Óä“X">/v1/{parent=projects/*/locations/*/tensorboards/*}/experiments:tensorboard_experimentÙ -GetTensorboardExperiment;.google.cloud.aiplatform.v1.GetTensorboardExperimentRequest1.google.cloud.aiplatform.v1.TensorboardExperiment"MÚAname‚Óä“@>/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*}­ -UpdateTensorboardExperiment>.google.cloud.aiplatform.v1.UpdateTensorboardExperimentRequest1.google.cloud.aiplatform.v1.TensorboardExperiment"šÚA"tensorboard_experiment,update_mask‚Óä“o2U/v1/{tensorboard_experiment.name=projects/*/locations/*/tensorboards/*/experiments/*}:tensorboard_experimentì -ListTensorboardExperiments=.google.cloud.aiplatform.v1.ListTensorboardExperimentsRequest>.google.cloud.aiplatform.v1.ListTensorboardExperimentsResponse"OÚAparent‚Óä“@>/v1/{parent=projects/*/locations/*/tensorboards/*}/experimentsÿ -DeleteTensorboardExperiment>.google.cloud.aiplatform.v1.DeleteTensorboardExperimentRequest.google.longrunning.Operation"€ÊA0 -google.protobuf.EmptyDeleteOperationMetadataÚAname‚Óä“@*>/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*}ˆ -CreateTensorboardRun7.google.cloud.aiplatform.v1.CreateTensorboardRunRequest*.google.cloud.aiplatform.v1.TensorboardRun"ŠÚA)parent,tensorboard_run,tensorboard_run_id‚Óä“X"E/v1/{parent=projects/*/locations/*/tensorboards/*/experiments/*}/runs:tensorboard_run‹ -BatchCreateTensorboardRuns=.google.cloud.aiplatform.v1.BatchCreateTensorboardRunsRequest>.google.cloud.aiplatform.v1.BatchCreateTensorboardRunsResponse"nÚAparent,requests‚Óä“V"Q/v1/{parent=projects/*/locations/*/tensorboards/*/experiments/*}/runs:batchCreate:*Ë -GetTensorboardRun4.google.cloud.aiplatform.v1.GetTensorboardRunRequest*.google.cloud.aiplatform.v1.TensorboardRun"TÚAname‚Óä“GE/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*}Š -UpdateTensorboardRun7.google.cloud.aiplatform.v1.UpdateTensorboardRunRequest*.google.cloud.aiplatform.v1.TensorboardRun"ŒÚAtensorboard_run,update_mask‚Óä“h2U/v1/{tensorboard_run.name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*}:tensorboard_runÞ -ListTensorboardRuns6.google.cloud.aiplatform.v1.ListTensorboardRunsRequest7.google.cloud.aiplatform.v1.ListTensorboardRunsResponse"VÚAparent‚Óä“GE/v1/{parent=projects/*/locations/*/tensorboards/*/experiments/*}/runsø -DeleteTensorboardRun7.google.cloud.aiplatform.v1.DeleteTensorboardRunRequest.google.longrunning.Operation"‡ÊA0 -google.protobuf.EmptyDeleteOperationMetadataÚAname‚Óä“G*E/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*}˜ - BatchCreateTensorboardTimeSeriesC.google.cloud.aiplatform.v1.BatchCreateTensorboardTimeSeriesRequestD.google.cloud.aiplatform.v1.BatchCreateTensorboardTimeSeriesResponse"iÚAparent,requests‚Óä“Q"L/v1/{parent=projects/*/locations/*/tensorboards/*/experiments/*}:batchCreate:*§ -CreateTensorboardTimeSeries>.google.cloud.aiplatform.v1.CreateTensorboardTimeSeriesRequest1.google.cloud.aiplatform.v1.TensorboardTimeSeries"”ÚAparent,tensorboard_time_series‚Óä“m"R/v1/{parent=projects/*/locations/*/tensorboards/*/experiments/*/runs/*}/timeSeries:tensorboard_time_seriesí -GetTensorboardTimeSeries;.google.cloud.aiplatform.v1.GetTensorboardTimeSeriesRequest1.google.cloud.aiplatform.v1.TensorboardTimeSeries"aÚAname‚Óä“TR/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*}Å -UpdateTensorboardTimeSeries>.google.cloud.aiplatform.v1.UpdateTensorboardTimeSeriesRequest1.google.cloud.aiplatform.v1.TensorboardTimeSeries"²ÚA#tensorboard_time_series,update_mask‚Óä“…2j/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"cÚAparent‚Óä“TR/v1/{parent=projects/*/locations/*/tensorboards/*/experiments/*/runs/*}/timeSeries“ -DeleteTensorboardTimeSeries>.google.cloud.aiplatform.v1.DeleteTensorboardTimeSeriesRequest.google.longrunning.Operation"”ÊA0 -google.protobuf.EmptyDeleteOperationMetadataÚAname‚Óä“T*R/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*}Œ -"BatchReadTensorboardTimeSeriesDataE.google.cloud.aiplatform.v1.BatchReadTensorboardTimeSeriesDataRequestF.google.cloud.aiplatform.v1.BatchReadTensorboardTimeSeriesDataResponse"WÚA tensorboard‚Óä“CA/v1/{tensorboard=projects/*/locations/*/tensorboards/*}:batchRead³ -ReadTensorboardTimeSeriesData@.google.cloud.aiplatform.v1.ReadTensorboardTimeSeriesDataRequestA.google.cloud.aiplatform.v1.ReadTensorboardTimeSeriesDataResponse"ŒÚAtensorboard_time_series‚Óä“lj/v1/{tensorboard_time_series=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*}:read’ -ReadTensorboardBlobData:.google.cloud.aiplatform.v1.ReadTensorboardBlobDataRequest;.google.cloud.aiplatform.v1.ReadTensorboardBlobDataResponse"|ÚA time_series‚Óä“hf/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.comÒAghttps://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;aiplatformpbªGoogle.Cloud.AIPlatform.V1ÊGoogle\\Cloud\\AIPlatform\\V1êGoogle::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 79a7231e659156cf9c156e5e6d2c36147132175a..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1961 zcmbVN-)|!|5GF|*TDOPFqCn&GK5&S(o@&J##^B3^g=ld%ddw(R-rKlngiR1Bnp800x^H*QTmofSXpU{X3BIyK= zud%$OI2K&;fQNXTPN!7hfX`zVQek0y)Wc`JA?_S?haZA#!c!4Y2hTX4h13p0o=$AS z;*iKG7jyfnWlI_*T#Pvp6JN49^%E)>O)Py0LJ^tMBqjmHC;j#}RFVmi#5>V=-l4+t z+!D_lwe}GTLXsqSxWpX->_DTUmk7frPRAh&a3YC>pGPe5S;QnGA^RD!Jit>DCKQlf zKRZpMKr$X-<2yT*TK`L;*=&H5$)@^6~Llgd285nW9A(*8cy2ul3Xz^ z9A}x;667}5bDCH8&R!)QsvwZqJYIjJrt#BfEGNyKOiGT9q0gFSRw~EG=+ABR<^OFk zqmg-9x;3q3Yg$*W#)BM{#LO0Xwpm{`KFCeFOQFKHYF(XDcHrS(b##Ai3mR{u4b{|U z1y`Ee?b?l7GajJb2}@uqu6=E)7N)B44%(UIJp*lL)|AEg7NIK=rqq|$F*P?}@2#i% z*6o>CYa_8n3S$Tm?fQ*dy>T~<&(TgGD9pMZMROC7cb+y1tbc^b2%PZU02VFk?tn>JAKjj7;S>4*3}L?Z=dY za`+*QX7W;(G=qP5j<(C17!CC9$UVL2_`~n|9slBN(C-{}kGq|ty*CVm>Vre~)IHy; zsP(XOHt3!2RiU@;wNHC(f6#e;(K$Qp?A4q>~FyI^9!JdgTIKw*E z|3&+s3VI*H`;W4=8*4-FE7k2+zJHc=LNOMQ>5Q+?U;_d0{wzm69`CRI`K{VG(a(&f zpBc;T_VZ`U8nyl|j9&f-c}ueg&(N#tdzrK2Xm7_^+8t-q8rStOefGH2vQIKSUy=V? OrC*=S1bTrM2>lBY+lD>> 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 bd6a39c0b483fbb7e57684cf7b7ffa0f897631f7..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 2200 zcma)7U2oz>6kP+|hMQ`|dYcW6+G@(~YS~q5L@HIP(`*F+QXT?mNm8}4WDWKJBN>ln z8~UZF>RW$He@0&_^;h({ul)nPp0R<|Iw-t^Fmukm_uMo0e)V-Q58w$oXFdyQ%v>`0 ziNte8f>6Z55gwT=r&AUZM=S#FvCtr-GbDrICFyqhm!BXs63ftGCYcE_^H{_2#L{h0 z9(XjKig3|bH5;)Io*@|le7ay!KpjTTN9_w1Q57ZcG&fakNN$6^W@+c{jLPYb zH4K1#g+QolbntlppbWq6Iih9)o(U9obE~3}jWd;8h4pme; zVl;H-_J*t|$(p;!&gBapOXQoxwO`>;PR{y6C?&%HOV;Y;B!z-rg?%@DVW@_zL7r$j zKC1vlS}=TwQB~zr+m+AQnX?6zmDMiby)1z<>UnvQUqXq7vnZAAFk{ZzXehTTx+|z; zboht@Y#Ym?G++;HB#-YvTd4h}L3yp5-h;}Dg)#flraWy(%JMQxF2}^iwZydgsuADZ z(`)d^SuVz854iDaB&>urNna~lAyzN%i4&flT z{2V2z_>uP45B}Q#~4}sz+8J>gDR{Ii42||A#Di^~}*S;EzN8Pi2 zuix!d?&*6_YF%9pE1Lc;6kCJuDuv{y!En&66x)Ak@G)-I9VxcUiI{R|j+PH51ogG@~8n!ma7B1p{3m+-4 oX-c$dZq7~fx;eQoAIs;@*TeZ!wc@rm;;q|I-c&p525tcU2YSoJssI20 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 0f3a5aaa4822c4b3bab664df858ea0df3e14fdb9..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 3926 zcmcIn-Ez}L6s{ct$uWtEN`i3t5e_AR7P*05P^E#1^G9Y%&(V_m3MK?SAK+J?A^$?)marbP~a`u}1>JTuxd> z^UUBU#E4kPLof7=X3}mGW_V#YqCR1!VQe25UmqM9JKOt5cMuwf3G;|$bi%OXlbYv; zNvr14$ai@=WZl~7T8%T81~lk65sipX17b?^0D;>japZc$*lW~Z5bm~I?%I3OlD#D? z*_*i~`*>{~!1LWWHjYw@jnp8#0R#U=ct%X%ls4TH0U^m{i9MtH)4bs4uXaGw9NMFME`{BRCzX)3dYcgpPMum_O z?GUL&CO4H6Mr*9YECXe zwH5ed5gz^h=GH0-V|t>E&7L5br)!n#sXaHMHI~v%X+q_*F|J6?DJMo!rHJJ*2pXoF z?v2^h74%5=)yC}0)XNdQn`&6)MhcLMhLTW=Wu;Sdw})4GR?c+8wR8iEJVc6`sfFrK zGjL^C<+KI3AS6>S7=_i@`qb~6Q`&X7+@dk6?U^H&irG?8+l2)hLV_b2);7rql#&5oQ#Y zw)Ca!CyYn38>Yz}M0Wdhm73lJ0pf#8wK}$jACWByfNrbFQqnn=$ z^&BqxZj<=2UN)wXgio^LjH=Ht_sy>)bSL2KOxuF;kQV5gjN!pJlY>`M%ZI)o_ z6**I_rOmAVKbM#3%AOkJVe?5-Dmx`0^CBi8$;Rp;?dA>))3QDqwwuhrSsX#12wY~ z_D_l^r8q416gFzE_y6&8v9c#8Lvu?$DL3~U>5OR}ul<@W+UeYA_m*v(9N!jiDzIfq sv}N_yE$eu#c~Rb}k5}@?@26@G>l@p|y-#tJd1qvkJJn!y4(9-W0$m{iKL7v# 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 0e09d7bebf6b372d363cb7e8b95fb223b680e91a..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 4381 zcmb_g+i%lW7{^Il+Ap*ObD4>NnY7RrhC|DkShy{r>4gm%wFOPcljS(4t*K*M_Hjjr zDosdx*`Kn9Jx%);CQbVzc;<1Bd)jv{anjI+OwgAm=Y03?_gzlzJq)))nADeuPa>O= zrry}o={C{BD4>B8czPq*+$53i1g+5ZNMz{x!m9psbwjT$tZZCH);LHahm`fLAlULq z$?<}uS+d>Gv*~6KwMx5lC7SrIzh%7)8U~jO;M*+{hqgoXrF!)Vp?1@zwzR|a6CJX^$jlSanOL*pyOYdG(6YQV`@|UH|55b>$}voJ@-d+=DxmZdoe-o z_h~m1-=S{c>x^O5cgW1FE@U#=sW3q2@9S-w>MR}@3vRBk$`pN=UbMU5^M&BL6P8n+e!YKbeO_tP;BBqD#DH zm2BI)ZV;8r9j`hENml6H@b?XfI@WSr3Wxak3C4>xc_7 zxRf-@8!qCL+O2SK-nGy%nYtuCoQEUo#sgR4r_yYua9PC4nn@GP(mf4-6yW;*C@Hld zhz(wUMyLLa-MPYfDaa1pQY3RNDzPxrM~5R4Dk*RFp(JV6tQgZKIj;5Lz+Panf*_Li zb4knl1J+rIwlg3JK9dAd=#&^^5{rxCZ=*1lb_MkeK*NrS)e4%#(}r|qW^DPGx(4Us zBqY(U87Qsv~bJqi-u&^$KVx z9+hwdtfm`dBiyq%WrkB`-&Pb=gIrVg4}`jw?cCgfVICK41kWbsr}|me26z=^X4Nkt z=R^cUYO&a9$B{obUug5U18bzv7F@RgP+vp^)97GKb1+JL3?$PtHW&+9mxS2mrFAeE z*HsuMQ4~a4j?=4cZx98>I!A%yFt8IJE3RM?YTDLA?0ACXfeLyJT;$2drXd^ z-UlGB5Gd%FPqlGWI#!*<;Qm{ggv(t;CE$Yf6dO1hOT6{HqUtx0>&m`1!HvH90b5A( z2?MKeqsB8U19c;mc8<6V? zlbVC<4%ri^SI1#^*Y*;kacGw_ca-u^%Dc)wOdcJpH2Ug8#NJeey&cy2{F$^5mv`}R#;3~$rs-!0BD2^yZRLj zi)JAT*_`I-z6_rq?E=r2dXE=D7+^;i{#UPY)+s0+&06!DoTKo}7ZA7O{Qa z8|Bey7-^BFi-)Wo%EOb832*Z*)DabaeVg|cdE&tFM&j%c8f&Ax?4I<))d1caG6GdD zm3vTl4C4n*RTYMvAiMUH4=xT~Y zSmYJ102t43jA9*O+#-nM zn5`%z44my=@GES`@rWJqDa9U*Rx9x+zSdk4by|<2nkJmUcU{P;BF5(!FT{!Y%3wb9 zm}69gq;(X;qNo&qQ6SfKs9pfAvQVjS)Yh!^l@~SZ+0*rU?a|8ON^K#347auXf!o!m zwY;L9g;NJk7gwLHvYYnFHtRE8lO_YESb+#orY;(;I)bC#sj> z42^7jjLC_P?cGWuS8k2yNJgE6b2vm@ObqsWKK9#0T?^v|I4&*%PXUz+k)0JC##;_m?OG8YANxy-rC<<5P%{Cuu4!uQ-;)9GvK b3-P$_dW++_i@y~d@($;e; 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 23df6c6b78356010c9671adb8d3dde2951e152f4..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1609 zcma)6?QYXZ6vauCCO2&{mXO%;p&=j$V%JehRUvl^N=O<-DosS)O1rXDO`J(;;d-p` zxKbANDR>8dtauQ_qwo~m87FB4 zm)z$e8K&bg6U67IaS$?L6VmRJ{k}^&?Vfudr3p`k&m1!0d=j#{AM$imr$HQ2Ip*TD ze%7eVY0MH^rv!-TDNADNGtwQjUNcEYR8p_2)!r+m_L>W|chuMh@I#s;#8p|~9T5D) z=`aj@l1M7?>tT=_2T>pc8V3Ji4?AQ`!-S#od+s=md>QbFC_z8+S?vkQaw_h_m}Ad7 zWM0oejR8mC^&-hcL_@F55?=(d7@k6EPiEJubitU^vKk%dyCQdp6e+uW zJ0XI}R7BglZk6DC5$VeQdJ)X(XpTmUYj<%mwFObh9>a$cJo>$jSnCmc>LOG=z>FzaFM9i?R!!j;N1Iq{$ zln#NdO%0V0(lw-WQW=p|l}RBp79h4{Z9*vwk}OpPk;+E(*L_~-0zIQErw7uLRERUrSCP4!mFRs#z9ZQ!7d-z(P1JvXW!4Ja*^ z^#|N+H{Is3`_G_re7Juw=)CIf_Bw6znpJ|OR=>Yz8dzHKz+mYK--k|je+s+i|kJ|f3f_uKH-$p#`z_8HxoOKRy)qcx#Ju)hDGhj&mJ$VinternalAddGeneratedFile( - ' -« -: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.ModelContainerSpecBàABÚ -com.google.cloud.aiplatform.v1BUnmanagedContainerModelProtoPZ>cloud.google.com/go/aiplatform/apiv1/aiplatformpb;aiplatformpbªGoogle.Cloud.AIPlatform.V1ÊGoogle\\Cloud\\AIPlatform\\V1êGoogle::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 ece2093742f74b1270f48a9bfe761e05a0000b09..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 988 zcmbVL(TdYR6t%ms&=CZ?FJ(o!>cVzGQ;Oij)ULEvYag^l);>s}Op=>+WSSW!lLeK2 ziGSdy_yK-|U*XK8O$)pGVqTKWz31GMdrn@xR!c>m!U!|e%wPi1H!w>CrKORv6c80@ ziW*|MQe2=80EQFzIJtzk!|~-~3(aMrW2CT#+6_um3q~_>a>d-^_<0q z%WSUE(qR^3;71UWu@&Zu#R#M6-~$?#FvG%;XA9prwyw4XeU|l_VWzR48Mn^wMsCV^WvO#moBNtU;|+e}AX(fZTUR&jpK6@N6;vDx>DXrg)DWt_CW&6WHQMPOf$n|Qc&p+ z`6c3~_~17^)sD@_@OT*_RqkP2C)A>m38lS#b_*Mo3PM8yKv5}|^u zSg8nQFpDOim?0@KB%V2T{Jv(#5x(oV&z&@%<1gB6MV(jabm)E@D zh7-ZR+dGUPBcf!Mc^jKm1vOk2P!kpfW&SxdJ!|Z#lJ?Fc*y@SuHP{uz^TIG)5D`yV zNi|nS>c~Pd&Y9_!S6BS=c5K~_XW%y)F}@{o1V&eEe>#9>rqadG>8=}Wx-X~f^#yNr zjMKCm`_UTXcfgunwQHIJ*~wJ44`*jo%xzLFgaQUnY(K 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\'àAúA! -aiplatform.googleapis.com/Study"† -CreateStudyRequest9 -parent ( B)àAúA# -!locations.googleapis.com/Location5 -study ( 2!.google.cloud.aiplatform.v1.StudyBàA"€ -ListStudiesRequest9 -parent ( B)àAúA# -!locations.googleapis.com/Location - -page_token ( BàA - page_size (BàA"b -ListStudiesResponse2 -studies ( 2!.google.cloud.aiplatform.v1.Study -next_page_token ( "K -DeleteStudyRequest5 -name ( B\'àAúA! -aiplatform.googleapis.com/Study"j -LookupStudyRequest9 -parent ( B)àAúA# -!locations.googleapis.com/Location - display_name ( BàA"Ç -SuggestTrialsRequest7 -parent ( B\'àAúA! -aiplatform.googleapis.com/Study -suggestion_count (BàA - client_id ( BàA? -contexts ( 2(.google.cloud.aiplatform.v1.TrialContextBàA"æ -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\'àAúA! -aiplatform.googleapis.com/Study5 -trial ( 2!.google.cloud.aiplatform.v1.TrialBàA"H -GetTrialRequest5 -name ( B\'àAúA! -aiplatform.googleapis.com/Trial"} -ListTrialsRequest7 -parent ( B\'àAúA! -aiplatform.googleapis.com/Study - -page_token ( BàA - page_size (BàA"` -ListTrialsResponse1 -trials ( 2!.google.cloud.aiplatform.v1.Trial -next_page_token ( "œ -AddTrialMeasurementRequest; - -trial_name ( B\'àAúA! -aiplatform.googleapis.com/TrialA - measurement ( 2\'.google.cloud.aiplatform.v1.MeasurementBàA"Õ -CompleteTrialRequest5 -name ( B\'àAúA! -aiplatform.googleapis.com/TrialG -final_measurement ( 2\'.google.cloud.aiplatform.v1.MeasurementBàA -trial_infeasible (BàA -infeasible_reason ( BàA"K -DeleteTrialRequest5 -name ( B\'àAúA! -aiplatform.googleapis.com/Trial"b -#CheckTrialEarlyStoppingStateRequest; - -trial_name ( B\'àAúA! -aiplatform.googleapis.com/Trial"; -$CheckTrialEarlyStoppingStateResponse - should_stop ("• -%CheckTrialEarlyStoppingStateMetatdataN -generic_metadata ( 24.google.cloud.aiplatform.v1.GenericOperationMetadata -study (  -trial ( "I -StopTrialRequest5 -name ( B\'àAúA! -aiplatform.googleapis.com/Trial"S -ListOptimalTrialsRequest7 -parent ( B\'àAúA! -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"IÚA parent,study‚Óä“4"+/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"<ÚAparent‚Óä“-+/v1/{parent=projects/*/locations/*}/studies‘ - DeleteStudy..google.cloud.aiplatform.v1.DeleteStudyRequest.google.protobuf.Empty":ÚAname‚Óä“-*+/v1/{name=projects/*/locations/*/studies/*}¨ - LookupStudy..google.cloud.aiplatform.v1.LookupStudyRequest!.google.cloud.aiplatform.v1.Study"FÚAparent‚Óä“7"2/v1/{parent=projects/*/locations/*}/studies:lookup:*Ú - SuggestTrials0.google.cloud.aiplatform.v1.SuggestTrialsRequest.google.longrunning.Operation"xÊA. -SuggestTrialsResponseSuggestTrialsMetadata‚Óä“A""9/v1/{name=projects/*/locations/*/studies/*/trials/*}:stop:*Ü -ListOptimalTrials4.google.cloud.aiplatform.v1.ListOptimalTrialsRequest5.google.cloud.aiplatform.v1.ListOptimalTrialsResponse"ZÚAparent‚Óä“K"F/v1/{parent=projects/*/locations/*/studies/*}/trials:listOptimalTrials:*MÊAaiplatform.googleapis.comÒA.https://www.googleapis.com/auth/cloud-platformBÐ -com.google.cloud.aiplatform.v1BVizierServiceProtoPZ>cloud.google.com/go/aiplatform/apiv1/aiplatformpb;aiplatformpbªGoogle.Cloud.AIPlatform.V1ÊGoogle\\Cloud\\AIPlatform\\V1êGoogle::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 bd9880da7d47..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 [deprecated = true]; - */ - 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 26f50955e2e5..000000000000 --- a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/Candidate.php +++ /dev/null @@ -1,357 +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. Confidence score of the candidate. - * - * Generated from protobuf field double score = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $score = 0.0; - /** - * 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 float $score - * Output only. Confidence score 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. Confidence score of the candidate. - * - * Generated from protobuf field double score = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return float - */ - public function getScore() - { - return $this->score; - } - - /** - * Output only. Confidence score of the candidate. - * - * Generated from protobuf field double score = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param float $var - * @return $this - */ - public function setScore($var) - { - GPBUtil::checkDouble($var); - $this->score = $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 799caf4c9d72..000000000000 --- a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CountTokensRequest.php +++ /dev/null @@ -1,310 +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 = ''; - /** - * 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. 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) = OPTIONAL]; - */ - private $instances; - /** - * Optional. Input content. - * - * Generated from protobuf field repeated .google.cloud.aiplatform.v1.Content contents = 4 [(.google.api.field_behavior) = OPTIONAL]; - */ - 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 = 5 [(.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; - - /** - * @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 Optional. 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 - * Optional. 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 - * Optional. 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 - * Optional. Input content. - * @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. - * } - */ - 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; - } - - /** - * 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. 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) = OPTIONAL]; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getInstances() - { - return $this->instances; - } - - /** - * Optional. 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) = 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. 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; - } - - /** - * 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 = 5 [(.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 = 5 [(.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; - } - -} - 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 610462e755ad..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. Identifier. The resource name of the Dataset. - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IDENTIFIER]; - */ - 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. Identifier. 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. Identifier. The resource name of the Dataset. - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IDENTIFIER]; - * @return string - */ - public function getName() - { - return $this->name; - } - - /** - * Output only. Identifier. The resource name of the Dataset. - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IDENTIFIER]; - * @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 763d95afe916..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. Identifier. The resource name of the DatasetVersion. - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IDENTIFIER]; - */ - 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. Identifier. 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. Identifier. The resource name of the DatasetVersion. - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IDENTIFIER]; - * @return string - */ - public function getName() - { - return $this->name; - } - - /** - * Output only. Identifier. The resource name of the DatasetVersion. - * - * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.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 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 a332b1774f4c..000000000000 --- a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/Endpoint.php +++ /dev/null @@ -1,939 +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; - /** - * If true, the endpoint will be exposed through a dedicated - * DNS [Endpoint.dedicated_endpoint_dns]. Your request to the dedicated DNS - * will be isolated from other users' traffic and will have better performance - * and reliability. - * Note: Once you enabled dedicated endpoint, you won't be able to send - * request to the shared DNS {region}-aiplatform.googleapis.com. The - * limitation will be removed soon. - * - * Generated from protobuf field bool dedicated_endpoint_enabled = 24; - */ - protected $dedicated_endpoint_enabled = false; - /** - * Output only. DNS of the dedicated endpoint. Will only be populated if - * dedicated_endpoint_enabled is true. - * Format: - * `https://{endpoint_id}.{region}-{project_number}.prediction.vertexai.goog`. - * - * Generated from protobuf field string dedicated_endpoint_dns = 25 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $dedicated_endpoint_dns = ''; - /** - * Output only. Reserved for future use. - * - * Generated from protobuf field bool satisfies_pzs = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $satisfies_pzs = false; - /** - * Output only. Reserved for future use. - * - * Generated from protobuf field bool satisfies_pzi = 28 [(.google.api.field_behavior) = OUTPUT_ONLY]; - */ - protected $satisfies_pzi = false; - - /** - * 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. - * @type bool $dedicated_endpoint_enabled - * If true, the endpoint will be exposed through a dedicated - * DNS [Endpoint.dedicated_endpoint_dns]. Your request to the dedicated DNS - * will be isolated from other users' traffic and will have better performance - * and reliability. - * Note: Once you enabled dedicated endpoint, you won't be able to send - * request to the shared DNS {region}-aiplatform.googleapis.com. The - * limitation will be removed soon. - * @type string $dedicated_endpoint_dns - * Output only. DNS of the dedicated endpoint. Will only be populated if - * dedicated_endpoint_enabled is true. - * Format: - * `https://{endpoint_id}.{region}-{project_number}.prediction.vertexai.goog`. - * @type bool $satisfies_pzs - * Output only. Reserved for future use. - * @type bool $satisfies_pzi - * Output only. Reserved for future use. - * } - */ - 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; - } - - /** - * If true, the endpoint will be exposed through a dedicated - * DNS [Endpoint.dedicated_endpoint_dns]. Your request to the dedicated DNS - * will be isolated from other users' traffic and will have better performance - * and reliability. - * Note: Once you enabled dedicated endpoint, you won't be able to send - * request to the shared DNS {region}-aiplatform.googleapis.com. The - * limitation will be removed soon. - * - * Generated from protobuf field bool dedicated_endpoint_enabled = 24; - * @return bool - */ - public function getDedicatedEndpointEnabled() - { - return $this->dedicated_endpoint_enabled; - } - - /** - * If true, the endpoint will be exposed through a dedicated - * DNS [Endpoint.dedicated_endpoint_dns]. Your request to the dedicated DNS - * will be isolated from other users' traffic and will have better performance - * and reliability. - * Note: Once you enabled dedicated endpoint, you won't be able to send - * request to the shared DNS {region}-aiplatform.googleapis.com. The - * limitation will be removed soon. - * - * Generated from protobuf field bool dedicated_endpoint_enabled = 24; - * @param bool $var - * @return $this - */ - public function setDedicatedEndpointEnabled($var) - { - GPBUtil::checkBool($var); - $this->dedicated_endpoint_enabled = $var; - - return $this; - } - - /** - * Output only. DNS of the dedicated endpoint. Will only be populated if - * dedicated_endpoint_enabled is true. - * Format: - * `https://{endpoint_id}.{region}-{project_number}.prediction.vertexai.goog`. - * - * Generated from protobuf field string dedicated_endpoint_dns = 25 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return string - */ - public function getDedicatedEndpointDns() - { - return $this->dedicated_endpoint_dns; - } - - /** - * Output only. DNS of the dedicated endpoint. Will only be populated if - * dedicated_endpoint_enabled is true. - * Format: - * `https://{endpoint_id}.{region}-{project_number}.prediction.vertexai.goog`. - * - * Generated from protobuf field string dedicated_endpoint_dns = 25 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param string $var - * @return $this - */ - public function setDedicatedEndpointDns($var) - { - GPBUtil::checkString($var, True); - $this->dedicated_endpoint_dns = $var; - - return $this; - } - - /** - * Output only. Reserved for future use. - * - * Generated from protobuf field bool satisfies_pzs = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return bool - */ - public function getSatisfiesPzs() - { - return $this->satisfies_pzs; - } - - /** - * Output only. Reserved for future use. - * - * Generated from protobuf field bool satisfies_pzs = 27 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param bool $var - * @return $this - */ - public function setSatisfiesPzs($var) - { - GPBUtil::checkBool($var); - $this->satisfies_pzs = $var; - - return $this; - } - - /** - * Output only. Reserved for future use. - * - * Generated from protobuf field bool satisfies_pzi = 28 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @return bool - */ - public function getSatisfiesPzi() - { - return $this->satisfies_pzi; - } - - /** - * Output only. Reserved for future use. - * - * Generated from protobuf field bool satisfies_pzi = 28 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * @param bool $var - * @return $this - */ - public function setSatisfiesPzi($var) - { - GPBUtil::checkBool($var); - $this->satisfies_pzi = $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 80ef5a08b744..000000000000 --- a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/GetPublisherModelRequest.php +++ /dev/null @@ -1,202 +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. - * - * 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; - /** - * Optional. Boolean indicates whether the requested model is a Hugging Face - * model. - * - * Generated from protobuf field bool is_hugging_face_model = 5 [(.google.api.field_behavior) = OPTIONAL]; - */ - protected $is_hugging_face_model = false; - - /** - * @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. - * @type int $view - * Optional. PublisherModel view specifying which fields to read. - * @type bool $is_hugging_face_model - * Optional. Boolean indicates whether the requested model is a Hugging Face - * model. - * } - */ - 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. - * - * 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. - * - * 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; - } - - /** - * Optional. Boolean indicates whether the requested model is a Hugging Face - * model. - * - * Generated from protobuf field bool is_hugging_face_model = 5 [(.google.api.field_behavior) = OPTIONAL]; - * @return bool - */ - public function getIsHuggingFaceModel() - { - return $this->is_hugging_face_model; - } - - /** - * Optional. Boolean indicates whether the requested model is a Hugging Face - * model. - * - * Generated from protobuf field bool is_hugging_face_model = 5 [(.google.api.field_behavior) = OPTIONAL]; - * @param bool $var - * @return $this - */ - public function setIsHuggingFaceModel($var) - { - GPBUtil::checkBool($var); - $this->is_hugging_face_model = $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 3fa308284dd7..000000000000 --- a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/GroundingMetadata.php +++ /dev/null @@ -1,179 +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; - /** - * List of supporting references retrieved from specified grounding source. - * - * Generated from protobuf field repeated .google.cloud.aiplatform.v1.GroundingChunk grounding_chunks = 5; - */ - private $grounding_chunks; - /** - * Optional. List of grounding support. - * - * Generated from protobuf field repeated .google.cloud.aiplatform.v1.GroundingSupport grounding_supports = 6 [(.google.api.field_behavior) = OPTIONAL]; - */ - private $grounding_supports; - - /** - * 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. - * @type array<\Google\Cloud\AIPlatform\V1\GroundingChunk>|\Google\Protobuf\Internal\RepeatedField $grounding_chunks - * List of supporting references retrieved from specified grounding source. - * @type array<\Google\Cloud\AIPlatform\V1\GroundingSupport>|\Google\Protobuf\Internal\RepeatedField $grounding_supports - * Optional. List of grounding support. - * } - */ - 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; - } - - /** - * List of supporting references retrieved from specified grounding source. - * - * Generated from protobuf field repeated .google.cloud.aiplatform.v1.GroundingChunk grounding_chunks = 5; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getGroundingChunks() - { - return $this->grounding_chunks; - } - - /** - * List of supporting references retrieved from specified grounding source. - * - * Generated from protobuf field repeated .google.cloud.aiplatform.v1.GroundingChunk grounding_chunks = 5; - * @param array<\Google\Cloud\AIPlatform\V1\GroundingChunk>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setGroundingChunks($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\AIPlatform\V1\GroundingChunk::class); - $this->grounding_chunks = $arr; - - return $this; - } - - /** - * Optional. List of grounding support. - * - * Generated from protobuf field repeated .google.cloud.aiplatform.v1.GroundingSupport grounding_supports = 6 [(.google.api.field_behavior) = OPTIONAL]; - * @return \Google\Protobuf\Internal\RepeatedField - */ - public function getGroundingSupports() - { - return $this->grounding_supports; - } - - /** - * Optional. List of grounding support. - * - * Generated from protobuf field repeated .google.cloud.aiplatform.v1.GroundingSupport grounding_supports = 6 [(.google.api.field_behavior) = OPTIONAL]; - * @param array<\Google\Cloud\AIPlatform\V1\GroundingSupport>|\Google\Protobuf\Internal\RepeatedField $var - * @return $this - */ - public function setGroundingSupports($var) - { - $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\AIPlatform\V1\GroundingSupport::class); - $this->grounding_supports = $arr; - - 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---