From 53b33fea560851e035d6cfad5ecf8e639041ab9a Mon Sep 17 00:00:00 2001 From: Owl Bot Date: Wed, 1 Apr 2026 02:07:42 +0000 Subject: [PATCH 1/2] feat: [Memorystore for Redis Cluster] Add support for Flexible CA feature PiperOrigin-RevId: 891808664 Source-Link: https://github.com/googleapis/googleapis/commit/4a5553840251e1a8395ea9ff2057cdc6e7aa99ae Source-Link: https://github.com/googleapis/googleapis-gen/commit/22c11cd7f00bf34f030012fb2ddb46cd92c809c7 Copy-Tag: eyJwIjoiQWlQbGF0Zm9ybS8uT3dsQm90LnlhbWwiLCJoIjoiMjJjMTFjZDdmMDBiZjM0ZjAzMDAxMmZiMmRkYjQ2Y2Q5MmM4MDljNyJ9 Copy-Tag: eyJwIjoiRGF0YWZsb3cvLk93bEJvdC55YW1sIiwiaCI6IjIyYzExY2Q3ZjAwYmYzNGYwMzAwMTJmYjJkZGI0NmNkOTJjODA5YzcifQ== Copy-Tag: eyJwIjoiTWVtb3J5c3RvcmUvLk93bEJvdC55YW1sIiwiaCI6IjIyYzExY2Q3ZjAwYmYzNGYwMzAwMTJmYjJkZGI0NmNkOTJjODA5YzcifQ== Copy-Tag: eyJwIjoiUmVkaXNDbHVzdGVyLy5Pd2xCb3QueWFtbCIsImgiOiIyMmMxMWNkN2YwMGJmMzRmMDMwMDEyZmIyZGRiNDZjZDkyYzgwOWM3In0= --- .../Cloud/Aiplatform/V1/AcceleratorType.php | 24 + .../Google/Cloud/Aiplatform/V1/Annotation.php | 29 + .../Cloud/Aiplatform/V1/AnnotationSpec.php | 27 + .../Google/Cloud/Aiplatform/V1/ApiAuth.php | 26 + .../Google/Cloud/Aiplatform/V1/Artifact.php | 28 + .../Aiplatform/V1/BatchPredictionJob.php | 37 + .../Cloud/Aiplatform/V1/CachedContent.php | 31 + .../Cloud/Aiplatform/V1/CompletionStats.php | 25 + .../Google/Cloud/Aiplatform/V1/Content.php | 32 + .../Google/Cloud/Aiplatform/V1/Context.php | 28 + .../Google/Cloud/Aiplatform/V1/CustomJob.php | 35 + .../Aiplatform/V1/DataFoundryService.php | 29 + .../Google/Cloud/Aiplatform/V1/DataItem.php | 28 + .../Cloud/Aiplatform/V1/DataLabelingJob.php | 32 + .../Google/Cloud/Aiplatform/V1/Dataset.php | 31 + .../Cloud/Aiplatform/V1/DatasetService.php | 39 + .../Cloud/Aiplatform/V1/DatasetVersion.php | 28 + .../Cloud/Aiplatform/V1/DeployedIndexRef.php | 26 + .../Cloud/Aiplatform/V1/DeployedModelRef.php | 26 + .../Aiplatform/V1/DeploymentResourcePool.php | 29 + .../V1/DeploymentResourcePoolService.php | 35 + .../Cloud/Aiplatform/V1/DeploymentStage.php | 24 + .../Cloud/Aiplatform/V1/EncryptionSpec.php | 25 + .../Google/Cloud/Aiplatform/V1/Endpoint.php | 33 + .../Cloud/Aiplatform/V1/EndpointService.php | 34 + .../Google/Cloud/Aiplatform/V1/EntityType.php | 28 + .../Google/Cloud/Aiplatform/V1/EnvVar.php | 25 + .../Aiplatform/V1/EvaluatedAnnotation.php | 27 + .../Cloud/Aiplatform/V1/EvaluationService.php | 28 + .../Google/Cloud/Aiplatform/V1/Event.php | 27 + .../Google/Cloud/Aiplatform/V1/Execution.php | 28 + .../Cloud/Aiplatform/V1/Explanation.php | 28 + .../Aiplatform/V1/ExplanationMetadata.php | 26 + .../Google/Cloud/Aiplatform/V1/Feature.php | 28 + .../Cloud/Aiplatform/V1/FeatureGroup.php | 28 + .../Aiplatform/V1/FeatureMonitoringStats.php | 25 + .../Aiplatform/V1/FeatureOnlineStore.php | 29 + .../V1/FeatureOnlineStoreAdminService.php | 35 + .../V1/FeatureOnlineStoreService.php | 32 + .../Aiplatform/V1/FeatureRegistryService.php | 35 + .../Cloud/Aiplatform/V1/FeatureSelector.php | 25 + .../Cloud/Aiplatform/V1/FeatureView.php | 28 + .../Cloud/Aiplatform/V1/FeatureViewSync.php | 29 + .../Cloud/Aiplatform/V1/Featurestore.php | 28 + .../Aiplatform/V1/FeaturestoreMonitoring.php | 24 + .../V1/FeaturestoreOnlineService.php | 31 + .../Aiplatform/V1/FeaturestoreService.php | 39 + .../Cloud/Aiplatform/V1/GenAiCacheService.php | 31 + .../Aiplatform/V1/GenaiTuningService.php | 33 + .../Aiplatform/V1/HyperparameterTuningJob.php | 32 + .../Google/Cloud/Aiplatform/V1/Index.php | 30 + .../Cloud/Aiplatform/V1/IndexEndpoint.php | 30 + .../Aiplatform/V1/IndexEndpointService.php | 33 + .../Cloud/Aiplatform/V1/IndexService.php | 33 + .../Google/Cloud/Aiplatform/V1/Io.php | 28 + .../Google/Cloud/Aiplatform/V1/JobService.php | 39 + .../Google/Cloud/Aiplatform/V1/JobState.php | 24 + .../Cloud/Aiplatform/V1/LineageSubgraph.php | 27 + .../Cloud/Aiplatform/V1/LlmUtilityService.php | 31 + .../Cloud/Aiplatform/V1/MachineResources.php | 27 + .../V1/ManualBatchTuningParameters.php | 25 + .../Cloud/Aiplatform/V1/MatchService.php | 29 + .../Cloud/Aiplatform/V1/MetadataSchema.php | 27 + .../Cloud/Aiplatform/V1/MetadataService.php | 39 + .../Cloud/Aiplatform/V1/MetadataStore.php | 28 + .../Aiplatform/V1/MigratableResource.php | 27 + .../Cloud/Aiplatform/V1/MigrationService.php | 32 + .../Google/Cloud/Aiplatform/V1/Model.php | 33 + .../V1/ModelDeploymentMonitoringJob.php | 35 + .../Cloud/Aiplatform/V1/ModelEvaluation.php | 29 + .../Aiplatform/V1/ModelEvaluationSlice.php | 30 + .../Aiplatform/V1/ModelGardenService.php | 33 + .../Cloud/Aiplatform/V1/ModelMonitoring.php | 26 + .../Cloud/Aiplatform/V1/ModelService.php | 39 + .../Google/Cloud/Aiplatform/V1/NasJob.php | 32 + .../Cloud/Aiplatform/V1/NetworkSpec.php | 25 + .../Cloud/Aiplatform/V1/NotebookEucConfig.php | 25 + .../Aiplatform/V1/NotebookExecutionJob.php | 33 + .../V1/NotebookIdleShutdownConfig.php | 26 + .../Cloud/Aiplatform/V1/NotebookRuntime.php | 34 + .../V1/NotebookRuntimeTemplateRef.php | 26 + .../Cloud/Aiplatform/V1/NotebookService.php | 34 + .../Aiplatform/V1/NotebookSoftwareConfig.php | 26 + .../Google/Cloud/Aiplatform/V1/Openapi.php | 26 + .../Google/Cloud/Aiplatform/V1/Operation.php | 27 + .../Aiplatform/V1/PersistentResource.php | 31 + .../V1/PersistentResourceService.php | 33 + .../Aiplatform/V1/PipelineFailurePolicy.php | 24 + .../Cloud/Aiplatform/V1/PipelineJob.php | 37 + .../Cloud/Aiplatform/V1/PipelineService.php | 34 + .../Cloud/Aiplatform/V1/PipelineState.php | 24 + .../Cloud/Aiplatform/V1/PredictionService.php | 36 + .../Cloud/Aiplatform/V1/PublisherModel.php | 28 + .../Cloud/Aiplatform/V1/ReasoningEngine.php | 31 + .../V1/ReasoningEngineExecutionService.php | 30 + .../Aiplatform/V1/ReasoningEngineService.php | 33 + .../Aiplatform/V1/ReservationAffinity.php | 26 + .../Google/Cloud/Aiplatform/V1/SavedQuery.php | 28 + .../Google/Cloud/Aiplatform/V1/Schedule.php | 29 + .../Cloud/Aiplatform/V1/ScheduleService.php | 33 + .../Cloud/Aiplatform/V1/ServiceNetworking.php | 26 + .../Google/Cloud/Aiplatform/V1/Session.php | 30 + .../Cloud/Aiplatform/V1/SessionService.php | 33 + .../Cloud/Aiplatform/V1/SpecialistPool.php | 26 + .../Aiplatform/V1/SpecialistPoolService.php | 33 + .../Google/Cloud/Aiplatform/V1/Study.php | 30 + .../Cloud/Aiplatform/V1/Tensorboard.php | 28 + .../Cloud/Aiplatform/V1/TensorboardData.php | 27 + .../Aiplatform/V1/TensorboardExperiment.php | 27 + .../Cloud/Aiplatform/V1/TensorboardRun.php | 27 + .../Aiplatform/V1/TensorboardService.php | 37 + .../Aiplatform/V1/TensorboardTimeSeries.php | 27 + .../Google/Cloud/Aiplatform/V1/Tool.php | 29 + .../Cloud/Aiplatform/V1/TrainingPipeline.php | 33 + .../Google/Cloud/Aiplatform/V1/TuningJob.php | 31 + .../Google/Cloud/Aiplatform/V1/Types.php | 24 + .../Aiplatform/V1/UnmanagedContainerModel.php | 26 + .../Cloud/Aiplatform/V1/UsageMetadata.php | 26 + .../Aiplatform/V1/UserActionReference.php | 24 + .../Google/Cloud/Aiplatform/V1/Value.php | 24 + .../Cloud/Aiplatform/V1/VertexRagData.php | 30 + .../Aiplatform/V1/VertexRagDataService.php | 33 + .../Cloud/Aiplatform/V1/VertexRagService.php | 33 + .../Cloud/Aiplatform/V1/VizierService.php | 33 + .../Cloud/AIPlatform/V1/AcceleratorType.php | 174 + .../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/ApiAuth.php | 75 + .../AIPlatform/V1/ApiAuth/ApiKeyConfig.php | 71 + .../AIPlatform/V1/AppendEventRequest.php | 138 + .../AIPlatform/V1/AppendEventResponse.php | 34 + .../Google/Cloud/AIPlatform/V1/Artifact.php | 547 +++ .../Cloud/AIPlatform/V1/Artifact/State.php | 63 + .../AIPlatform/V1/AskContextsRequest.php | 178 + .../AIPlatform/V1/AskContextsResponse.php | 112 + ...AssignNotebookRuntimeOperationMetadata.php | 116 + .../V1/AssignNotebookRuntimeRequest.php | 216 + ...AsyncRetrieveContextsOperationMetadata.php | 77 + .../V1/AsyncRetrieveContextsRequest.php | 177 + .../V1/AsyncRetrieveContextsResponse.php | 78 + .../Cloud/AIPlatform/V1/Attribution.php | 565 +++ .../AIPlatform/V1/AugmentPromptRequest.php | 220 + .../V1/AugmentPromptRequest/Model.php | 105 + .../AIPlatform/V1/AugmentPromptResponse.php | 101 + .../AIPlatform/V1/AutomaticResources.php | 151 + .../AIPlatform/V1/AutoscalingMetricSpec.php | 135 + .../Google/Cloud/AIPlatform/V1/AvroSource.php | 77 + ...tchCancelPipelineJobsOperationMetadata.php | 78 + .../V1/BatchCancelPipelineJobsRequest.php | 139 + .../V1/BatchCancelPipelineJobsResponse.php | 68 + .../BatchCreateFeaturesOperationMetadata.php | 77 + .../V1/BatchCreateFeaturesRequest.php | 155 + .../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 | 190 + .../V1/BatchMigrateResourcesRequest.php | 133 + .../V1/BatchMigrateResourcesResponse.php | 68 + .../AIPlatform/V1/BatchPredictionJob.php | 1578 ++++++++ .../V1/BatchPredictionJob/InputConfig.php | 202 + .../V1/BatchPredictionJob/InstanceConfig.php | 442 +++ .../V1/BatchPredictionJob/OutputConfig.php | 310 ++ .../V1/BatchPredictionJob/OutputInfo.php | 204 + ...atchReadFeatureValuesOperationMetadata.php | 77 + .../V1/BatchReadFeatureValuesRequest.php | 403 ++ .../EntityTypeSpec.php | 162 + .../PassThroughField.php | 75 + .../V1/BatchReadFeatureValuesResponse.php | 34 + ...chReadTensorboardTimeSeriesDataRequest.php | 149 + ...hReadTensorboardTimeSeriesDataResponse.php | 68 + .../AIPlatform/V1/BigQueryDestination.php | 95 + .../Cloud/AIPlatform/V1/BigQuerySource.php | 75 + .../Google/Cloud/AIPlatform/V1/BleuInput.php | 111 + .../Cloud/AIPlatform/V1/BleuInstance.php | 121 + .../Cloud/AIPlatform/V1/BleuMetricValue.php | 77 + .../Cloud/AIPlatform/V1/BleuResults.php | 67 + .../Google/Cloud/AIPlatform/V1/BleuSpec.php | 68 + .../src/Google/Cloud/AIPlatform/V1/Blob.php | 103 + .../AIPlatform/V1/BlurBaselineConfig.php | 83 + .../Google/Cloud/AIPlatform/V1/BoolArray.php | 67 + .../Cloud/AIPlatform/V1/CachedContent.php | 592 +++ .../V1/CachedContent/UsageMetadata.php | 203 + .../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 | 479 +++ .../AIPlatform/V1/Candidate/FinishReason.php | 124 + .../CheckTrialEarlyStoppingStateMetatdata.php | 147 + .../CheckTrialEarlyStoppingStateRequest.php | 76 + .../CheckTrialEarlyStoppingStateResponse.php | 68 + .../Google/Cloud/AIPlatform/V1/Checkpoint.php | 135 + .../Google/Cloud/AIPlatform/V1/Citation.php | 247 ++ .../Cloud/AIPlatform/V1/CitationMetadata.php | 67 + .../src/Google/Cloud/AIPlatform/V1/Claim.php | 199 + .../AIPlatform/V1/ClientConnectionConfig.php | 77 + .../AIPlatform/V1/CodeExecutionResult.php | 106 + .../V1/CodeExecutionResult/Outcome.php | 70 + .../Cloud/AIPlatform/V1/CoherenceInput.php | 121 + .../Cloud/AIPlatform/V1/CoherenceInstance.php | 77 + .../Cloud/AIPlatform/V1/CoherenceResult.php | 155 + .../Cloud/AIPlatform/V1/CoherenceSpec.php | 67 + .../Google/Cloud/AIPlatform/V1/ColabImage.php | 113 + .../Google/Cloud/AIPlatform/V1/CometInput.php | 121 + .../Cloud/AIPlatform/V1/CometInstance.php | 166 + .../Cloud/AIPlatform/V1/CometResult.php | 78 + .../Google/Cloud/AIPlatform/V1/CometSpec.php | 149 + .../AIPlatform/V1/CometSpec/CometVersion.php | 55 + .../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 + .../Cloud/AIPlatform/V1/CorpusStatus.php | 101 + .../AIPlatform/V1/CorpusStatus/State.php | 69 + .../V1/CorroborateContentRequest.php | 236 ++ .../CorroborateContentRequest/Parameters.php | 71 + .../V1/CorroborateContentResponse.php | 119 + .../AIPlatform/V1/CountTokensRequest.php | 358 ++ .../AIPlatform/V1/CountTokensResponse.php | 139 + .../AIPlatform/V1/CreateArtifactRequest.php | 209 + .../V1/CreateBatchPredictionJobRequest.php | 133 + .../V1/CreateCachedContentRequest.php | 128 + .../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 | 116 + .../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 + .../V1/CreateRagCorpusOperationMetadata.php | 78 + .../AIPlatform/V1/CreateRagCorpusRequest.php | 133 + ...CreateReasoningEngineOperationMetadata.php | 79 + .../V1/CreateReasoningEngineRequest.php | 133 + ...CreateRegistryFeatureOperationMetadata.php | 77 + .../AIPlatform/V1/CreateScheduleRequest.php | 133 + .../V1/CreateSessionOperationMetadata.php | 79 + .../AIPlatform/V1/CreateSessionRequest.php | 218 + .../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 | 662 ++++ .../Cloud/AIPlatform/V1/CustomJobSpec.php | 889 +++++ .../Google/Cloud/AIPlatform/V1/DataItem.php | 384 ++ .../Cloud/AIPlatform/V1/DataItemView.php | 173 + .../Cloud/AIPlatform/V1/DataLabelingJob.php | 852 ++++ .../Google/Cloud/AIPlatform/V1/Dataset.php | 745 ++++ .../Cloud/AIPlatform/V1/DatasetVersion.php | 427 ++ .../AIPlatform/V1/DedicatedResources.php | 404 ++ .../AIPlatform/V1/DeleteArtifactRequest.php | 134 + .../V1/DeleteBatchPredictionJobRequest.php | 92 + .../V1/DeleteCachedContentRequest.php | 82 + .../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 | 149 + .../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 | 83 + .../SelectTimeRangeAndFeature.php | 176 + .../V1/DeleteFeatureValuesResponse.php | 109 + .../SelectEntity.php | 113 + .../SelectTimeRangeAndFeature.php | 167 + .../V1/DeleteFeatureViewRequest.php | 92 + .../V1/DeleteFeaturestoreRequest.php | 154 + .../DeleteHyperparameterTuningJobRequest.php | 92 + .../V1/DeleteIndexEndpointRequest.php | 92 + .../AIPlatform/V1/DeleteIndexRequest.php | 92 + .../DeleteMetadataStoreOperationMetadata.php | 78 + .../V1/DeleteMetadataStoreRequest.php | 133 + ...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/DeleteRagCorpusRequest.php | 134 + .../AIPlatform/V1/DeleteRagFileRequest.php | 92 + .../V1/DeleteReasoningEngineRequest.php | 134 + .../AIPlatform/V1/DeleteSavedQueryRequest.php | 92 + .../AIPlatform/V1/DeleteScheduleRequest.php | 92 + .../AIPlatform/V1/DeleteSessionRequest.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 | 112 + .../AIPlatform/V1/DeployModelRequest.php | 246 ++ .../AIPlatform/V1/DeployModelResponse.php | 78 + .../AIPlatform/V1/DeployOperationMetadata.php | 218 + .../Cloud/AIPlatform/V1/DeployRequest.php | 303 ++ .../V1/DeployRequest/DeployConfig.php | 157 + .../V1/DeployRequest/EndpointConfig.php | 284 ++ .../V1/DeployRequest/ModelConfig.php | 291 ++ .../Cloud/AIPlatform/V1/DeployResponse.php | 156 + .../Cloud/AIPlatform/V1/DeployedIndex.php | 899 +++++ .../V1/DeployedIndex/DeploymentTier.php | 54 + .../AIPlatform/V1/DeployedIndexAuthConfig.php | 77 + .../DeployedIndexAuthConfig/AuthProvider.php | 123 + .../Cloud/AIPlatform/V1/DeployedIndexRef.php | 135 + .../Cloud/AIPlatform/V1/DeployedModel.php | 953 +++++ .../AIPlatform/V1/DeployedModel/Status.php | 145 + .../Cloud/AIPlatform/V1/DeployedModelRef.php | 101 + .../AIPlatform/V1/DeploymentResourcePool.php | 396 ++ .../Cloud/AIPlatform/V1/DeploymentStage.php | 117 + .../V1/DestinationFeatureSetting.php | 103 + .../AIPlatform/V1/DirectPredictRequest.php | 154 + .../AIPlatform/V1/DirectPredictResponse.php | 112 + .../AIPlatform/V1/DirectRawPredictRequest.php | 164 + .../V1/DirectRawPredictResponse.php | 68 + .../AIPlatform/V1/DirectUploadSource.php | 33 + .../Google/Cloud/AIPlatform/V1/DiskSpec.php | 113 + .../Cloud/AIPlatform/V1/DnsPeeringConfig.php | 158 + .../Cloud/AIPlatform/V1/DoubleArray.php | 67 + .../AIPlatform/V1/DynamicRetrievalConfig.php | 115 + .../V1/DynamicRetrievalConfig/Mode.php | 54 + .../AIPlatform/V1/EmbedContentRequest.php | 435 ++ .../EmbedContentConfig.php | 317 ++ .../EmbedContentRequest/EmbeddingTaskType.php | 103 + .../AIPlatform/V1/EmbedContentResponse.php | 156 + .../V1/EmbedContentResponse/Embedding.php | 67 + .../Cloud/AIPlatform/V1/EncryptionSpec.php | 84 + .../Google/Cloud/AIPlatform/V1/Endpoint.php | 1075 +++++ .../AIPlatform/V1/EnterpriseWebSearch.php | 120 + .../Cloud/AIPlatform/V1/EntityIdSelector.php | 113 + .../Google/Cloud/AIPlatform/V1/EntityType.php | 513 +++ .../src/Google/Cloud/AIPlatform/V1/EnvVar.php | 125 + .../AIPlatform/V1/ErrorAnalysisAnnotation.php | 177 + .../AttributedItem.php | 106 + .../V1/ErrorAnalysisAnnotation/QueryType.php | 68 + .../V1/EvaluateInstancesRequest.php | 926 +++++ .../V1/EvaluateInstancesResponse.php | 891 +++++ .../AIPlatform/V1/EvaluatedAnnotation.php | 431 ++ .../EvaluatedAnnotationType.php | 71 + .../V1/EvaluatedAnnotationExplanation.php | 123 + .../src/Google/Cloud/AIPlatform/V1/Event.php | 246 ++ .../Google/Cloud/AIPlatform/V1/Event/Type.php | 61 + .../Cloud/AIPlatform/V1/EventActions.php | 281 ++ .../Cloud/AIPlatform/V1/EventMetadata.php | 415 ++ .../Cloud/AIPlatform/V1/ExactMatchInput.php | 111 + .../AIPlatform/V1/ExactMatchInstance.php | 121 + .../AIPlatform/V1/ExactMatchMetricValue.php | 77 + .../Cloud/AIPlatform/V1/ExactMatchResults.php | 67 + .../Cloud/AIPlatform/V1/ExactMatchSpec.php | 34 + .../Google/Cloud/AIPlatform/V1/Examples.php | 197 + .../V1/Examples/ExampleGcsSource.php | 115 + .../Examples/ExampleGcsSource/DataFormat.php | 54 + .../Cloud/AIPlatform/V1/ExamplesOverride.php | 203 + .../V1/ExamplesOverride/DataFormat.php | 61 + .../V1/ExamplesRestrictionsNamespace.php | 135 + .../Cloud/AIPlatform/V1/ExecutableCode.php | 104 + .../AIPlatform/V1/ExecutableCode/Language.php | 54 + .../Google/Cloud/AIPlatform/V1/Execution.php | 509 +++ .../Cloud/AIPlatform/V1/Execution/State.php | 93 + .../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 | 633 +++ .../InputMetadata/Encoding.php | 130 + .../InputMetadata/FeatureValueDomain.php | 192 + .../InputMetadata/Visualization.php | 321 ++ .../InputMetadata/Visualization/ColorMap.php | 91 + .../Visualization/OverlayType.php | 77 + .../InputMetadata/Visualization/Polarity.php | 71 + .../InputMetadata/Visualization/Type.php | 64 + .../V1/ExplanationMetadata/OutputMetadata.php | 194 + .../V1/ExplanationMetadataOverride.php | 89 + .../InputMetadataOverride.php | 85 + .../AIPlatform/V1/ExplanationParameters.php | 339 ++ .../Cloud/AIPlatform/V1/ExplanationSpec.php | 121 + .../AIPlatform/V1/ExplanationSpecOverride.php | 175 + .../Cloud/AIPlatform/V1/ExportDataConfig.php | 463 +++ .../V1/ExportDataConfig/ExportUse.php | 57 + .../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 | 138 + .../SnapshotExport.php | 138 + .../V1/ExportFeatureValuesResponse.php | 34 + .../Cloud/AIPlatform/V1/ExportFilterSplit.php | 212 + .../AIPlatform/V1/ExportFractionSplit.php | 140 + .../V1/ExportModelOperationMetadata.php | 127 + .../OutputInfo.php | 114 + .../AIPlatform/V1/ExportModelRequest.php | 138 + .../V1/ExportModelRequest/OutputConfig.php | 211 + .../AIPlatform/V1/ExportModelResponse.php | 35 + ...ExportTensorboardTimeSeriesDataRequest.php | 264 ++ ...xportTensorboardTimeSeriesDataResponse.php | 114 + .../src/Google/Cloud/AIPlatform/V1/Fact.php | 376 ++ .../AIPlatform/V1/FasterDeploymentConfig.php | 67 + .../Google/Cloud/AIPlatform/V1/Feature.php | 548 +++ .../V1/Feature/MonitoringStatsAnomaly.php | 117 + .../MonitoringStatsAnomaly/Objective.php | 64 + .../Cloud/AIPlatform/V1/Feature/ValueType.php | 118 + .../Cloud/AIPlatform/V1/FeatureGroup.php | 348 ++ .../AIPlatform/V1/FeatureGroup/BigQuery.php | 287 ++ .../V1/FeatureGroup/BigQuery/TimeSeries.php | 77 + .../Cloud/AIPlatform/V1/FeatureNoiseSigma.php | 69 + .../NoiseSigmaForFeature.php | 125 + .../AIPlatform/V1/FeatureOnlineStore.php | 556 +++ .../V1/FeatureOnlineStore/Bigtable.php | 199 + .../Bigtable/AutoScaling.php | 161 + .../Bigtable/BigtableMetadata.php | 136 + .../DedicatedServingEndpoint.php | 175 + .../V1/FeatureOnlineStore/Optimized.php | 33 + .../V1/FeatureOnlineStore/State.php | 66 + .../Cloud/AIPlatform/V1/FeatureSelector.php | 77 + .../AIPlatform/V1/FeatureStatsAnomaly.php | 411 ++ .../Cloud/AIPlatform/V1/FeatureValue.php | 416 ++ .../AIPlatform/V1/FeatureValue/Metadata.php | 101 + .../AIPlatform/V1/FeatureValueDestination.php | 180 + .../Cloud/AIPlatform/V1/FeatureValueList.php | 67 + .../Cloud/AIPlatform/V1/FeatureView.php | 742 ++++ .../V1/FeatureView/BigQuerySource.php | 103 + .../V1/FeatureView/BigtableMetadata.php | 68 + .../V1/FeatureView/FeatureRegistrySource.php | 112 + .../FeatureRegistrySource/FeatureGroup.php | 102 + .../AIPlatform/V1/FeatureView/IndexConfig.php | 347 ++ .../IndexConfig/BruteForceConfig.php | 33 + .../IndexConfig/DistanceMeasureType.php | 73 + .../FeatureView/IndexConfig/TreeAHConfig.php | 81 + .../V1/FeatureView/OptimizedConfig.php | 93 + .../V1/FeatureView/ServiceAgentType.php | 65 + .../AIPlatform/V1/FeatureView/SyncConfig.php | 125 + .../V1/FeatureView/VertexRagSource.php | 138 + .../AIPlatform/V1/FeatureViewDataFormat.php | 61 + .../AIPlatform/V1/FeatureViewDataKey.php | 111 + .../V1/FeatureViewDataKey/CompositeKey.php | 71 + .../V1/FeatureViewDirectWriteRequest.php | 106 + .../DataKeyAndFeatureValues.php | 111 + .../DataKeyAndFeatureValues/Feature.php | 112 + .../V1/FeatureViewDirectWriteResponse.php | 160 + .../WriteResponse.php | 133 + .../Cloud/AIPlatform/V1/FeatureViewSync.php | 324 ++ .../V1/FeatureViewSync/SyncSummary.php | 150 + .../Cloud/AIPlatform/V1/Featurestore.php | 529 +++ .../V1/Featurestore/OnlineServingConfig.php | 132 + .../OnlineServingConfig/Scaling.php | 169 + .../AIPlatform/V1/Featurestore/State.php | 72 + .../V1/FeaturestoreMonitoringConfig.php | 241 ++ .../ImportFeaturesAnalysis.php | 113 + .../ImportFeaturesAnalysis/Baseline.php | 75 + .../ImportFeaturesAnalysis/State.php | 81 + .../SnapshotAnalysis.php | 190 + .../ThresholdConfig.php | 93 + .../V1/FetchFeatureValuesRequest.php | 176 + .../V1/FetchFeatureValuesResponse.php | 161 + .../FeatureNameValuePairList.php | 68 + .../FeatureNameValuePair.php | 109 + .../Google/Cloud/AIPlatform/V1/FileData.php | 101 + .../Google/Cloud/AIPlatform/V1/FileStatus.php | 101 + .../Cloud/AIPlatform/V1/FileStatus/State.php | 62 + .../Cloud/AIPlatform/V1/FilterSplit.php | 212 + .../AIPlatform/V1/FindNeighborsRequest.php | 210 + .../V1/FindNeighborsRequest/Query.php | 312 ++ .../V1/FindNeighborsRequest/Query/RRF.php | 75 + .../AIPlatform/V1/FindNeighborsResponse.php | 68 + .../NearestNeighbors.php | 101 + .../V1/FindNeighborsResponse/Neighbor.php | 157 + .../Cloud/AIPlatform/V1/FluencyInput.php | 121 + .../Cloud/AIPlatform/V1/FluencyInstance.php | 77 + .../Cloud/AIPlatform/V1/FluencyResult.php | 155 + .../Cloud/AIPlatform/V1/FluencySpec.php | 67 + .../Cloud/AIPlatform/V1/FractionSplit.php | 140 + .../Cloud/AIPlatform/V1/FulfillmentInput.php | 121 + .../AIPlatform/V1/FulfillmentInstance.php | 121 + .../Cloud/AIPlatform/V1/FulfillmentResult.php | 155 + .../Cloud/AIPlatform/V1/FulfillmentSpec.php | 67 + .../Cloud/AIPlatform/V1/FunctionCall.php | 205 + .../AIPlatform/V1/FunctionCallingConfig.php | 151 + .../V1/FunctionCallingConfig/Mode.php | 85 + .../AIPlatform/V1/FunctionDeclaration.php | 425 ++ .../Cloud/AIPlatform/V1/FunctionResponse.php | 168 + .../AIPlatform/V1/FunctionResponseBlob.php | 152 + .../V1/FunctionResponseFileData.php | 151 + .../AIPlatform/V1/FunctionResponsePart.php | 114 + .../Cloud/AIPlatform/V1/GcsDestination.php | 79 + .../Google/Cloud/AIPlatform/V1/GcsSource.php | 75 + .../V1/GenAiAdvancedFeaturesConfig.php | 77 + .../GenAiAdvancedFeaturesConfig/RagConfig.php | 75 + .../AIPlatform/V1/GenerateContentRequest.php | 543 +++ .../AIPlatform/V1/GenerateContentResponse.php | 279 ++ .../PromptFeedback.php | 135 + .../PromptFeedback/BlockedReason.php | 90 + .../GenerateContentResponse/UsageMetadata.php | 397 ++ .../UsageMetadata/TrafficType.php | 76 + .../V1/GenerateFetchAccessTokenRequest.php | 72 + .../V1/GenerateFetchAccessTokenResponse.php | 112 + .../V1/GenerateSyntheticDataRequest.php | 223 ++ .../V1/GenerateSyntheticDataResponse.php | 67 + .../Cloud/AIPlatform/V1/GenerationConfig.php | 1143 ++++++ .../V1/GenerationConfig/MediaResolution.php | 68 + .../V1/GenerationConfig/Modality.php | 68 + .../V1/GenerationConfig/RoutingConfig.php | 108 + .../RoutingConfig/AutoRoutingMode.php | 79 + .../ModelRoutingPreference.php | 68 + .../RoutingConfig/ManualRoutingMode.php | 81 + .../V1/GenerationConfig/ThinkingConfig.php | 173 + .../ThinkingConfig/ThinkingLevel.php | 75 + .../V1/GenericOperationMetadata.php | 175 + .../Cloud/AIPlatform/V1/GenieSource.php | 68 + .../V1/GetAnnotationSpecRequest.php | 136 + .../AIPlatform/V1/GetArtifactRequest.php | 92 + .../V1/GetBatchPredictionJobRequest.php | 92 + .../AIPlatform/V1/GetCachedContentRequest.php | 82 + .../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 | 236 ++ .../AIPlatform/V1/GetRagCorpusRequest.php | 92 + .../V1/GetRagEngineConfigRequest.php | 92 + .../Cloud/AIPlatform/V1/GetRagFileRequest.php | 92 + .../V1/GetReasoningEngineRequest.php | 92 + .../AIPlatform/V1/GetScheduleRequest.php | 92 + .../Cloud/AIPlatform/V1/GetSessionRequest.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 + .../Cloud/AIPlatform/V1/GoogleDriveSource.php | 67 + .../V1/GoogleDriveSource/ResourceId.php | 101 + .../ResourceId/ResourceType.php | 61 + .../Google/Cloud/AIPlatform/V1/GoogleMaps.php | 67 + .../AIPlatform/V1/GoogleSearchRetrieval.php | 77 + .../Cloud/AIPlatform/V1/GroundednessInput.php | 121 + .../AIPlatform/V1/GroundednessInstance.php | 125 + .../AIPlatform/V1/GroundednessResult.php | 155 + .../Cloud/AIPlatform/V1/GroundednessSpec.php | 67 + .../Cloud/AIPlatform/V1/GroundingChunk.php | 141 + .../AIPlatform/V1/GroundingChunk/Maps.php | 265 ++ .../Maps/PlaceAnswerSources.php | 65 + .../Maps/PlaceAnswerSources/ReviewSnippet.php | 135 + .../V1/GroundingChunk/RetrievedContext.php | 258 ++ .../AIPlatform/V1/GroundingChunk/Web.php | 121 + .../Cloud/AIPlatform/V1/GroundingMetadata.php | 313 ++ .../GroundingMetadata/SourceFlaggingUri.php | 114 + .../Cloud/AIPlatform/V1/GroundingSupport.php | 165 + .../Cloud/AIPlatform/V1/HarmCategory.php | 90 + .../AIPlatform/V1/HyperparameterTuningJob.php | 795 ++++ .../Google/Cloud/AIPlatform/V1/IdMatcher.php | 83 + .../Cloud/AIPlatform/V1/ImageConfig.php | 241 ++ .../V1/ImageConfig/ImageOutputOptions.php | 121 + .../V1/ImageConfig/PersonGeneration.php | 70 + .../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 | 109 + .../V1/ImportFeatureValuesResponse.php | 190 + .../V1/ImportModelEvaluationRequest.php | 133 + .../AIPlatform/V1/ImportRagFilesConfig.php | 619 +++ .../V1/ImportRagFilesOperationMetadata.php | 198 + .../AIPlatform/V1/ImportRagFilesRequest.php | 148 + .../AIPlatform/V1/ImportRagFilesResponse.php | 214 + .../src/Google/Cloud/AIPlatform/V1/Index.php | 702 ++++ .../AIPlatform/V1/Index/IndexUpdateMethod.php | 64 + .../Cloud/AIPlatform/V1/IndexDatapoint.php | 329 ++ .../V1/IndexDatapoint/CrowdingTag.php | 85 + .../V1/IndexDatapoint/NumericRestriction.php | 214 + .../NumericRestriction/Operator.php | 92 + .../V1/IndexDatapoint/Restriction.php | 136 + .../V1/IndexDatapoint/SparseEmbedding.php | 106 + .../Cloud/AIPlatform/V1/IndexEndpoint.php | 765 ++++ .../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/JiraSource.php | 67 + .../AIPlatform/V1/JiraSource/JiraQueries.php | 233 ++ .../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 + .../V1/ListCachedContentsRequest.php | 173 + .../V1/ListCachedContentsResponse.php | 105 + .../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 + .../Cloud/AIPlatform/V1/ListEventsRequest.php | 280 ++ .../AIPlatform/V1/ListEventsResponse.php | 118 + .../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/ListModelVersionCheckpointsRequest.php | 200 + .../ListModelVersionCheckpointsResponse.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 | 337 ++ .../V1/ListNotebookExecutionJobsResponse.php | 113 + .../ListNotebookRuntimeTemplatesRequest.php | 396 ++ .../ListNotebookRuntimeTemplatesResponse.php | 114 + .../V1/ListNotebookRuntimesRequest.php | 452 +++ .../V1/ListNotebookRuntimesResponse.php | 114 + .../V1/ListOptimalTrialsRequest.php | 82 + .../V1/ListOptimalTrialsResponse.php | 80 + .../V1/ListPersistentResourcesRequest.php | 167 + .../V1/ListPersistentResourcesResponse.php | 107 + .../AIPlatform/V1/ListPipelineJobsRequest.php | 443 +++ .../V1/ListPipelineJobsResponse.php | 114 + .../AIPlatform/V1/ListRagCorporaRequest.php | 175 + .../AIPlatform/V1/ListRagCorporaResponse.php | 114 + .../AIPlatform/V1/ListRagFilesRequest.php | 180 + .../AIPlatform/V1/ListRagFilesResponse.php | 114 + .../V1/ListReasoningEnginesRequest.php | 193 + .../V1/ListReasoningEnginesResponse.php | 114 + .../AIPlatform/V1/ListSavedQueriesRequest.php | 276 ++ .../V1/ListSavedQueriesResponse.php | 102 + .../AIPlatform/V1/ListSchedulesRequest.php | 391 ++ .../AIPlatform/V1/ListSchedulesResponse.php | 114 + .../AIPlatform/V1/ListSessionsRequest.php | 288 ++ .../AIPlatform/V1/ListSessionsResponse.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 | 201 + .../AIPlatform/V1/ListTuningJobsResponse.php | 114 + .../Cloud/AIPlatform/V1/LogprobsResult.php | 105 + .../V1/LogprobsResult/Candidate.php | 165 + .../V1/LogprobsResult/TopCandidates.php | 67 + .../AIPlatform/V1/LookupStudyRequest.php | 121 + .../Cloud/AIPlatform/V1/LustreMount.php | 173 + .../Cloud/AIPlatform/V1/MachineSpec.php | 339 ++ .../V1/ManualBatchTuningParameters.php | 91 + .../Cloud/AIPlatform/V1/Measurement.php | 159 + .../AIPlatform/V1/Measurement/Metric.php | 105 + .../V1/MergeVersionAliasesRequest.php | 180 + .../Cloud/AIPlatform/V1/MetadataSchema.php | 279 ++ .../V1/MetadataSchema/MetadataSchemaType.php | 68 + .../Cloud/AIPlatform/V1/MetadataStore.php | 330 ++ .../V1/MetadataStore/DataplexConfig.php | 71 + .../V1/MetadataStore/MetadataStoreState.php | 67 + .../Cloud/AIPlatform/V1/MetricxInput.php | 121 + .../Cloud/AIPlatform/V1/MetricxInstance.php | 166 + .../Cloud/AIPlatform/V1/MetricxResult.php | 78 + .../Cloud/AIPlatform/V1/MetricxSpec.php | 149 + .../V1/MetricxSpec/MetricxVersion.php | 69 + .../AIPlatform/V1/MigratableResource.php | 271 ++ .../V1/MigratableResource/AutomlDataset.php | 109 + .../V1/MigratableResource/AutomlModel.php | 109 + .../DataLabelingDataset.php | 147 + .../DataLabelingAnnotatedDataset.php | 109 + .../MlEngineModelVersion.php | 129 + .../AIPlatform/V1/MigrateResourceRequest.php | 184 + .../MigrateAutomlDatasetConfig.php | 114 + .../MigrateAutomlModelConfig.php | 113 + .../MigrateDataLabelingDatasetConfig.php | 156 + ...rateDataLabelingAnnotatedDatasetConfig.php | 76 + .../MigrateMlEngineModelVersionConfig.php | 163 + .../AIPlatform/V1/MigrateResourceResponse.php | 156 + .../Google/Cloud/AIPlatform/V1/Modality.php | 82 + .../AIPlatform/V1/ModalityTokenCount.php | 101 + .../src/Google/Cloud/AIPlatform/V1/Model.php | 2005 ++++++++++ .../AIPlatform/V1/Model/BaseModelSource.php | 109 + .../Cloud/AIPlatform/V1/Model/DataStats.php | 269 ++ .../V1/Model/DeploymentResourcesType.php | 75 + .../AIPlatform/V1/Model/ExportFormat.php | 158 + .../Model/ExportFormat/ExportableContent.php | 68 + .../AIPlatform/V1/Model/OriginalModelInfo.php | 75 + .../Cloud/AIPlatform/V1/ModelArmorConfig.php | 109 + .../AIPlatform/V1/ModelContainerSpec.php | 1271 ++++++ ...ModelDeploymentMonitoringBigQueryTable.php | 182 + .../LogSource.php | 61 + .../LogType.php | 61 + .../V1/ModelDeploymentMonitoringJob.php | 1185 ++++++ .../LatestMonitoringPipelineMetadata.php | 125 + .../MonitoringScheduleState.php | 68 + ...delDeploymentMonitoringObjectiveConfig.php | 112 + ...ModelDeploymentMonitoringObjectiveType.php | 79 + ...odelDeploymentMonitoringScheduleConfig.php | 157 + .../Cloud/AIPlatform/V1/ModelEvaluation.php | 568 +++ .../ModelEvaluationExplanationSpec.php | 121 + .../AIPlatform/V1/ModelEvaluationSlice.php | 314 ++ .../V1/ModelEvaluationSlice/Slice.php | 177 + .../ModelEvaluationSlice/Slice/SliceSpec.php | 79 + .../Slice/SliceSpec/Range.php | 102 + .../Slice/SliceSpec/SliceConfig.php | 226 ++ .../Slice/SliceSpec/Value.php | 108 + .../Cloud/AIPlatform/V1/ModelExplanation.php | 139 + .../Cloud/AIPlatform/V1/ModelGardenSource.php | 136 + .../V1/ModelMonitoringAlertConfig.php | 167 + .../EmailAlertConfig.php | 67 + .../V1/ModelMonitoringObjectiveConfig.php | 214 + .../ExplanationConfig.php | 120 + .../ExplanationConfig/ExplanationBaseline.php | 145 + .../ExplanationBaseline/PredictionFormat.php | 61 + .../PredictionDriftDetectionConfig.php | 169 + .../TrainingDataset.php | 303 ++ .../TrainingPredictionSkewDetectionConfig.php | 174 + .../V1/ModelMonitoringStatsAnomalies.php | 169 + .../FeatureHistoricStatsAnomalies.php | 193 + .../Cloud/AIPlatform/V1/ModelSourceInfo.php | 109 + .../V1/ModelSourceInfo/ModelSourceType.php | 100 + .../AIPlatform/V1/ModelVersionCheckpoint.php | 136 + .../AIPlatform/V1/MultiSpeakerVoiceConfig.php | 71 + .../MutateDeployedIndexOperationMetadata.php | 112 + .../V1/MutateDeployedIndexRequest.php | 158 + .../V1/MutateDeployedIndexResponse.php | 78 + .../MutateDeployedModelOperationMetadata.php | 78 + .../V1/MutateDeployedModelRequest.php | 250 ++ .../V1/MutateDeployedModelResponse.php | 78 + .../src/Google/Cloud/AIPlatform/V1/NasJob.php | 678 ++++ .../Cloud/AIPlatform/V1/NasJobOutput.php | 78 + .../V1/NasJobOutput/MultiTrialJobOutput.php | 101 + .../Google/Cloud/AIPlatform/V1/NasJobSpec.php | 155 + .../V1/NasJobSpec/MultiTrialAlgorithmSpec.php | 215 + .../MultiTrialAlgorithmSpec/MetricSpec.php | 101 + .../MetricSpec/GoalType.php | 61 + .../MultiTrialAlgorithm.php | 63 + .../SearchTrialSpec.php | 199 + .../TrainTrialSpec.php | 161 + .../Google/Cloud/AIPlatform/V1/NasTrial.php | 237 ++ .../Cloud/AIPlatform/V1/NasTrial/State.php | 85 + .../Cloud/AIPlatform/V1/NasTrialDetail.php | 206 + .../AIPlatform/V1/NearestNeighborQuery.php | 310 ++ .../V1/NearestNeighborQuery/Embedding.php | 67 + .../V1/NearestNeighborQuery/NumericFilter.php | 230 ++ .../NumericFilter/Operator.php | 90 + .../V1/NearestNeighborQuery/Parameters.php | 122 + .../V1/NearestNeighborQuery/StringFilter.php | 142 + ...NearestNeighborSearchOperationMetadata.php | 121 + .../ContentValidationStats.php | 243 ++ .../RecordError.php | 209 + .../RecordError/RecordErrorType.php | 166 + .../Cloud/AIPlatform/V1/NearestNeighbors.php | 67 + .../V1/NearestNeighbors/Neighbor.php | 157 + .../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 | 869 ++++ .../CustomEnvironmentSpec.php | 165 + .../DataformRepositorySource.php | 109 + .../DirectNotebookSource.php | 67 + .../GcsNotebookSource.php | 113 + .../NotebookExecutionJob/WorkbenchRuntime.php | 33 + .../V1/NotebookExecutionJobView.php | 61 + .../V1/NotebookIdleShutdownConfig.php | 120 + .../Cloud/AIPlatform/V1/NotebookRuntime.php | 1202 ++++++ .../V1/NotebookRuntime/HealthState.php | 61 + .../V1/NotebookRuntime/RuntimeState.php | 99 + .../AIPlatform/V1/NotebookRuntimeTemplate.php | 911 +++++ .../V1/NotebookRuntimeTemplateRef.php | 67 + .../AIPlatform/V1/NotebookRuntimeType.php | 62 + .../AIPlatform/V1/NotebookSoftwareConfig.php | 158 + .../Cloud/AIPlatform/V1/OutputFieldSpec.php | 147 + .../V1/OutputFieldSpec/FieldType.php | 75 + .../AIPlatform/V1/PSCAutomationConfig.php | 250 ++ .../AIPlatform/V1/PSCAutomationState.php | 61 + .../Cloud/AIPlatform/V1/PairwiseChoice.php | 68 + .../AIPlatform/V1/PairwiseMetricInput.php | 121 + .../AIPlatform/V1/PairwiseMetricInstance.php | 82 + .../AIPlatform/V1/PairwiseMetricResult.php | 101 + .../AIPlatform/V1/PairwiseMetricSpec.php | 77 + .../PairwiseQuestionAnsweringQualityInput.php | 121 + ...irwiseQuestionAnsweringQualityInstance.php | 253 ++ ...PairwiseQuestionAnsweringQualityResult.php | 145 + .../PairwiseQuestionAnsweringQualitySpec.php | 105 + .../V1/PairwiseSummarizationQualityInput.php | 121 + .../PairwiseSummarizationQualityInstance.php | 253 ++ .../V1/PairwiseSummarizationQualityResult.php | 145 + .../V1/PairwiseSummarizationQualitySpec.php | 105 + .../src/Google/Cloud/AIPlatform/V1/Part.php | 457 +++ .../AIPlatform/V1/Part/MediaResolution.php | 76 + .../V1/Part/MediaResolution/Level.php | 75 + .../Google/Cloud/AIPlatform/V1/PartialArg.php | 254 ++ ...useModelDeploymentMonitoringJobRequest.php | 92 + .../AIPlatform/V1/PauseScheduleRequest.php | 92 + .../AIPlatform/V1/PersistentDiskSpec.php | 118 + .../AIPlatform/V1/PersistentResource.php | 742 ++++ .../V1/PersistentResource/State.php | 93 + .../AIPlatform/V1/PipelineFailurePolicy.php | 68 + .../Cloud/AIPlatform/V1/PipelineJob.php | 1017 +++++ .../V1/PipelineJob/RuntimeConfig.php | 312 ++ .../RuntimeConfig/InputArtifact.php | 87 + .../Cloud/AIPlatform/V1/PipelineJobDetail.php | 155 + .../Cloud/AIPlatform/V1/PipelineState.php | 106 + .../AIPlatform/V1/PipelineTaskDetail.php | 613 +++ .../V1/PipelineTaskDetail/ArtifactList.php | 67 + .../PipelineTaskDetail/PipelineTaskStatus.php | 171 + .../V1/PipelineTaskDetail/State.php | 113 + .../V1/PipelineTaskExecutorDetail.php | 108 + .../ContainerDetail.php | 222 ++ .../CustomJobDetail.php | 113 + .../V1/PipelineTemplateMetadata.php | 86 + .../AIPlatform/V1/PointwiseMetricInput.php | 121 + .../AIPlatform/V1/PointwiseMetricInstance.php | 82 + .../AIPlatform/V1/PointwiseMetricResult.php | 111 + .../AIPlatform/V1/PointwiseMetricSpec.php | 77 + .../src/Google/Cloud/AIPlatform/V1/Port.php | 71 + .../AIPlatform/V1/PostStartupScriptConfig.php | 143 + .../PostStartupScriptBehavior.php | 68 + .../Cloud/AIPlatform/V1/PreTunedModel.php | 163 + .../AIPlatform/V1/PrebuiltVoiceConfig.php | 77 + .../Cloud/AIPlatform/V1/PredefinedSplit.php | 89 + .../Cloud/AIPlatform/V1/PredictRequest.php | 272 ++ .../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 | 68 + .../Cloud/AIPlatform/V1/Presets/Query.php | 54 + .../Cloud/AIPlatform/V1/PrivateEndpoints.php | 177 + .../V1/PrivateServiceConnectConfig.php | 185 + .../src/Google/Cloud/AIPlatform/V1/Probe.php | 391 ++ .../Cloud/AIPlatform/V1/Probe/ExecAction.php | 87 + .../Cloud/AIPlatform/V1/Probe/GrpcAction.php | 113 + .../AIPlatform/V1/Probe/HttpGetAction.php | 215 + .../Cloud/AIPlatform/V1/Probe/HttpHeader.php | 109 + .../AIPlatform/V1/Probe/TcpSocketAction.php | 110 + .../AIPlatform/V1/PscAutomatedEndpoints.php | 136 + .../AIPlatform/V1/PscInterfaceConfig.php | 141 + .../Cloud/AIPlatform/V1/PublisherModel.php | 387 ++ .../V1/PublisherModel/CallToAction.php | 605 +++ .../V1/PublisherModel/CallToAction/Deploy.php | 486 +++ .../CallToAction/Deploy/DeployMetadata.php | 106 + .../PublisherModel/CallToAction/DeployGke.php | 67 + .../CallToAction/OpenFineTuningPipelines.php | 67 + .../CallToAction/OpenNotebooks.php | 67 + .../RegionalResourceReferences.php | 234 ++ .../CallToAction/ViewRestApi.php | 101 + .../V1/PublisherModel/Documentation.php | 105 + .../V1/PublisherModel/LaunchStage.php | 82 + .../V1/PublisherModel/OpenSourceCategory.php | 85 + .../V1/PublisherModel/ResourceReference.php | 192 + .../V1/PublisherModel/VersionState.php | 61 + .../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 | 224 ++ .../QueryExecutionInputsAndOutputsRequest.php | 92 + .../V1/QueryReasoningEngineRequest.php | 161 + .../V1/QueryReasoningEngineResponse.php | 77 + .../V1/QuestionAnsweringCorrectnessInput.php | 121 + .../QuestionAnsweringCorrectnessInstance.php | 209 + .../V1/QuestionAnsweringCorrectnessResult.php | 155 + .../V1/QuestionAnsweringCorrectnessSpec.php | 105 + .../V1/QuestionAnsweringHelpfulnessInput.php | 121 + .../QuestionAnsweringHelpfulnessInstance.php | 209 + .../V1/QuestionAnsweringHelpfulnessResult.php | 155 + .../V1/QuestionAnsweringHelpfulnessSpec.php | 105 + .../V1/QuestionAnsweringQualityInput.php | 121 + .../V1/QuestionAnsweringQualityInstance.php | 209 + .../V1/QuestionAnsweringQualityResult.php | 155 + .../V1/QuestionAnsweringQualitySpec.php | 105 + .../V1/QuestionAnsweringRelevanceInput.php | 121 + .../V1/QuestionAnsweringRelevanceInstance.php | 209 + .../V1/QuestionAnsweringRelevanceResult.php | 155 + .../V1/QuestionAnsweringRelevanceSpec.php | 105 + .../Google/Cloud/AIPlatform/V1/RagChunk.php | 112 + .../Cloud/AIPlatform/V1/RagChunk/PageSpan.php | 101 + .../Cloud/AIPlatform/V1/RagContexts.php | 67 + .../AIPlatform/V1/RagContexts/Context.php | 255 ++ .../Google/Cloud/AIPlatform/V1/RagCorpus.php | 407 ++ .../AIPlatform/V1/RagEmbeddingModelConfig.php | 87 + .../VertexPredictionEndpoint.php | 167 + .../Cloud/AIPlatform/V1/RagEngineConfig.php | 119 + .../Google/Cloud/AIPlatform/V1/RagFile.php | 491 +++ .../AIPlatform/V1/RagFileChunkingConfig.php | 75 + .../FixedLengthChunking.php | 101 + .../AIPlatform/V1/RagFileParsingConfig.php | 108 + .../V1/RagFileParsingConfig/LayoutParser.php | 137 + .../V1/RagFileParsingConfig/LlmParser.php | 163 + .../V1/RagFileTransformationConfig.php | 77 + .../AIPlatform/V1/RagManagedDbConfig.php | 141 + .../V1/RagManagedDbConfig/Basic.php | 39 + .../V1/RagManagedDbConfig/Scaled.php | 35 + .../V1/RagManagedDbConfig/Unprovisioned.php | 37 + .../Google/Cloud/AIPlatform/V1/RagQuery.php | 119 + .../AIPlatform/V1/RagRetrievalConfig.php | 155 + .../V1/RagRetrievalConfig/Filter.php | 148 + .../V1/RagRetrievalConfig/Ranking.php | 108 + .../RagRetrievalConfig/Ranking/LlmRanker.php | 81 + .../Ranking/RankService.php | 81 + .../Cloud/AIPlatform/V1/RagVectorDbConfig.php | 229 ++ .../V1/RagVectorDbConfig/Pinecone.php | 71 + .../V1/RagVectorDbConfig/RagManagedDb.php | 114 + .../V1/RagVectorDbConfig/RagManagedDb/ANN.php | 137 + .../V1/RagVectorDbConfig/RagManagedDb/KNN.php | 33 + .../RagVectorDbConfig/VertexVectorSearch.php | 117 + .../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 | 121 + .../EntityView/Data.php | 118 + .../FeatureDescriptor.php | 67 + .../V1/ReadFeatureValuesResponse/Header.php | 119 + .../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 | 67 + .../PerUserUsageData.php | 101 + .../Cloud/AIPlatform/V1/ReasoningEngine.php | 400 ++ .../AIPlatform/V1/ReasoningEngineSpec.php | 323 ++ .../V1/ReasoningEngineSpec/DeploymentSpec.php | 379 ++ .../V1/ReasoningEngineSpec/PackageSpec.php | 178 + .../V1/ReasoningEngineSpec/SourceCodeSpec.php | 183 + .../SourceCodeSpec/DeveloperConnectConfig.php | 149 + .../SourceCodeSpec/DeveloperConnectSource.php | 86 + .../SourceCodeSpec/ImageSpec.php | 72 + .../SourceCodeSpec/InlineSource.php | 71 + .../SourceCodeSpec/PythonSpec.php | 205 + .../V1/RebaseTunedModelOperationMetadata.php | 78 + .../AIPlatform/V1/RebaseTunedModelRequest.php | 267 ++ ...ootPersistentResourceOperationMetadata.php | 111 + .../V1/RebootPersistentResourceRequest.php | 92 + .../V1/RemoveContextChildrenRequest.php | 129 + .../V1/RemoveContextChildrenResponse.php | 34 + .../AIPlatform/V1/RemoveDatapointsRequest.php | 110 + .../V1/RemoveDatapointsResponse.php | 34 + .../AIPlatform/V1/ReplicatedVoiceConfig.php | 113 + .../AIPlatform/V1/ReservationAffinity.php | 153 + .../V1/ReservationAffinity/Type.php | 69 + .../Cloud/AIPlatform/V1/ResourcePool.php | 290 ++ .../V1/ResourcePool/AutoscalingSpec.php | 153 + .../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 | 152 + .../Cloud/AIPlatform/V1/RetrievalConfig.php | 121 + .../Cloud/AIPlatform/V1/RetrievalMetadata.php | 83 + .../AIPlatform/V1/RetrieveContextsRequest.php | 185 + .../VertexRagStore.php | 138 + .../VertexRagStore/RagResource.php | 113 + .../V1/RetrieveContextsResponse.php | 78 + .../Google/Cloud/AIPlatform/V1/RougeInput.php | 111 + .../Cloud/AIPlatform/V1/RougeInstance.php | 121 + .../Cloud/AIPlatform/V1/RougeMetricValue.php | 77 + .../Cloud/AIPlatform/V1/RougeResults.php | 67 + .../Google/Cloud/AIPlatform/V1/RougeSpec.php | 136 + .../Cloud/AIPlatform/V1/SafetyInput.php | 121 + .../Cloud/AIPlatform/V1/SafetyInstance.php | 77 + .../Cloud/AIPlatform/V1/SafetyRating.php | 241 ++ .../V1/SafetyRating/HarmProbability.php | 75 + .../V1/SafetyRating/HarmSeverity.php | 75 + .../Cloud/AIPlatform/V1/SafetyResult.php | 155 + .../Cloud/AIPlatform/V1/SafetySetting.php | 139 + .../V1/SafetySetting/HarmBlockMethod.php | 61 + .../V1/SafetySetting/HarmBlockThreshold.php | 82 + .../Google/Cloud/AIPlatform/V1/SafetySpec.php | 67 + .../Cloud/AIPlatform/V1/SampleConfig.php | 159 + .../V1/SampleConfig/SampleStrategy.php | 55 + .../V1/SampledShapleyAttribution.php | 77 + .../Cloud/AIPlatform/V1/SamplingStrategy.php | 78 + .../SamplingStrategy/RandomSampleConfig.php | 67 + .../Google/Cloud/AIPlatform/V1/SavedQuery.php | 464 +++ .../src/Google/Cloud/AIPlatform/V1/Scalar.php | 67 + .../Google/Cloud/AIPlatform/V1/Schedule.php | 956 +++++ .../AIPlatform/V1/Schedule/RunResponse.php | 111 + .../Cloud/AIPlatform/V1/Schedule/State.php | 72 + .../Google/Cloud/AIPlatform/V1/Scheduling.php | 251 ++ .../AIPlatform/V1/Scheduling/Strategy.php | 86 + .../src/Google/Cloud/AIPlatform/V1/Schema.php | 1074 +++++ .../AIPlatform/V1/SearchDataItemsRequest.php | 649 +++ .../OrderByAnnotation.php | 113 + .../AIPlatform/V1/SearchDataItemsResponse.php | 114 + .../Cloud/AIPlatform/V1/SearchEntryPoint.php | 109 + .../AIPlatform/V1/SearchFeaturesRequest.php | 490 +++ .../AIPlatform/V1/SearchFeaturesResponse.php | 138 + .../V1/SearchMigratableResourcesRequest.php | 243 ++ .../V1/SearchMigratableResourcesResponse.php | 114 + ...loymentMonitoringStatsAnomaliesRequest.php | 385 ++ .../StatsAnomaliesObjective.php | 118 + ...oymentMonitoringStatsAnomaliesResponse.php | 122 + .../V1/SearchNearestEntitiesRequest.php | 162 + .../V1/SearchNearestEntitiesResponse.php | 78 + .../Cloud/AIPlatform/V1/SecretEnvVar.php | 116 + .../Google/Cloud/AIPlatform/V1/SecretRef.php | 114 + .../Google/Cloud/AIPlatform/V1/Segment.php | 177 + .../AIPlatform/V1/ServiceAccountSpec.php | 145 + .../Google/Cloud/AIPlatform/V1/Session.php | 412 ++ .../Cloud/AIPlatform/V1/SessionEvent.php | 431 ++ .../Cloud/AIPlatform/V1/SharePointSources.php | 67 + .../V1/SharePointSources/SharePointSource.php | 375 ++ .../Cloud/AIPlatform/V1/ShieldedVmConfig.php | 89 + .../Cloud/AIPlatform/V1/SlackSource.php | 67 + .../V1/SlackSource/SlackChannels.php | 123 + .../SlackChannels/SlackChannel.php | 155 + .../Cloud/AIPlatform/V1/SmoothGradConfig.php | 209 + .../AIPlatform/V1/SpeakerVoiceConfig.php | 115 + .../Cloud/AIPlatform/V1/SpecialistPool.php | 254 ++ .../AIPlatform/V1/SpeculativeDecodingSpec.php | 142 + .../DraftModelSpeculation.php | 68 + .../NgramSpeculation.php | 81 + .../Cloud/AIPlatform/V1/SpeechConfig.php | 159 + .../StartNotebookRuntimeOperationMetadata.php | 116 + .../V1/StartNotebookRuntimeRequest.php | 97 + .../V1/StartNotebookRuntimeResponse.php | 34 + .../StopNotebookRuntimeOperationMetadata.php | 78 + .../V1/StopNotebookRuntimeRequest.php | 97 + .../V1/StopNotebookRuntimeResponse.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 + .../V1/StreamQueryReasoningEngineRequest.php | 161 + .../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 | 69 + .../Google/Cloud/AIPlatform/V1/StudySpec.php | 367 ++ .../AIPlatform/V1/StudySpec/Algorithm.php | 64 + .../StudySpec/ConvexAutomatedStoppingSpec.php | 364 ++ .../DecayCurveAutomatedStoppingSpec.php | 87 + .../V1/StudySpec/MeasurementSelectionType.php | 73 + .../StudySpec/MedianAutomatedStoppingSpec.php | 87 + .../AIPlatform/V1/StudySpec/MetricSpec.php | 153 + .../V1/StudySpec/MetricSpec/GoalType.php | 61 + .../MetricSpec/SafetyMetricConfig.php | 135 + .../V1/StudySpec/ObservationNoise.php | 66 + .../AIPlatform/V1/StudySpec/ParameterSpec.php | 296 ++ .../ParameterSpec/CategoricalValueSpec.php | 127 + .../ConditionalParameterSpec.php | 194 + .../CategoricalValueCondition.php | 75 + .../DiscreteValueCondition.php | 75 + .../IntValueCondition.php | 71 + .../ParameterSpec/DiscreteValueSpec.php | 143 + .../ParameterSpec/DoubleValueSpec.php | 161 + .../ParameterSpec/IntegerValueSpec.php | 161 + .../V1/StudySpec/ParameterSpec/ScaleType.php | 72 + .../V1/StudySpec/StudyStoppingConfig.php | 576 +++ .../AIPlatform/V1/StudyTimeConstraint.php | 108 + .../AIPlatform/V1/SuggestTrialsMetadata.php | 123 + .../AIPlatform/V1/SuggestTrialsRequest.php | 318 ++ .../AIPlatform/V1/SuggestTrialsResponse.php | 190 + .../V1/SummarizationHelpfulnessInput.php | 121 + .../V1/SummarizationHelpfulnessInstance.php | 209 + .../V1/SummarizationHelpfulnessResult.php | 155 + .../V1/SummarizationHelpfulnessSpec.php | 105 + .../V1/SummarizationQualityInput.php | 121 + .../V1/SummarizationQualityInstance.php | 209 + .../V1/SummarizationQualityResult.php | 155 + .../V1/SummarizationQualitySpec.php | 105 + .../V1/SummarizationVerbosityInput.php | 121 + .../V1/SummarizationVerbosityInstance.php | 209 + .../V1/SummarizationVerbosityResult.php | 155 + .../V1/SummarizationVerbositySpec.php | 105 + .../V1/SupervisedHyperParameters.php | 139 + .../SupervisedHyperParameters/AdapterSize.php | 89 + .../V1/SupervisedTuningDataStats.php | 494 +++ .../SupervisedTuningDatasetDistribution.php | 339 ++ .../DatasetBucket.php | 136 + .../AIPlatform/V1/SupervisedTuningSpec.php | 195 + .../AIPlatform/V1/SyncFeatureViewRequest.php | 87 + .../AIPlatform/V1/SyncFeatureViewResponse.php | 72 + .../Cloud/AIPlatform/V1/SyntheticExample.php | 69 + .../Cloud/AIPlatform/V1/SyntheticField.php | 111 + .../AIPlatform/V1/TFRecordDestination.php | 77 + .../AIPlatform/V1/TaskDescriptionStrategy.php | 67 + .../src/Google/Cloud/AIPlatform/V1/Tensor.php | 541 +++ .../Cloud/AIPlatform/V1/Tensor/DataType.php | 111 + .../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 | 157 + .../V1/TensorboardTimeSeries/ValueType.php | 71 + .../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 | 496 +++ .../AIPlatform/V1/Tool/CodeExecution.php | 36 + .../Cloud/AIPlatform/V1/Tool/ComputerUse.php | 121 + .../V1/Tool/ComputerUse/Environment.php | 54 + .../Cloud/AIPlatform/V1/Tool/GoogleSearch.php | 124 + .../V1/Tool/PhishBlockThreshold.php | 92 + .../AIPlatform/V1/ToolCallValidInput.php | 111 + .../AIPlatform/V1/ToolCallValidInstance.php | 121 + .../V1/ToolCallValidMetricValue.php | 77 + .../AIPlatform/V1/ToolCallValidResults.php | 67 + .../Cloud/AIPlatform/V1/ToolCallValidSpec.php | 33 + .../Google/Cloud/AIPlatform/V1/ToolConfig.php | 121 + .../AIPlatform/V1/ToolNameMatchInput.php | 111 + .../AIPlatform/V1/ToolNameMatchInstance.php | 121 + .../V1/ToolNameMatchMetricValue.php | 77 + .../AIPlatform/V1/ToolNameMatchResults.php | 67 + .../Cloud/AIPlatform/V1/ToolNameMatchSpec.php | 33 + .../V1/ToolParameterKVMatchInput.php | 111 + .../V1/ToolParameterKVMatchInstance.php | 121 + .../V1/ToolParameterKVMatchMetricValue.php | 77 + .../V1/ToolParameterKVMatchResults.php | 67 + .../V1/ToolParameterKVMatchSpec.php | 67 + .../V1/ToolParameterKeyMatchInput.php | 111 + .../V1/ToolParameterKeyMatchInstance.php | 121 + .../V1/ToolParameterKeyMatchMetricValue.php | 77 + .../V1/ToolParameterKeyMatchResults.php | 67 + .../V1/ToolParameterKeyMatchSpec.php | 33 + .../Cloud/AIPlatform/V1/TrainingConfig.php | 73 + .../Cloud/AIPlatform/V1/TrainingPipeline.php | 939 +++++ .../Cloud/AIPlatform/V1/Transcription.php | 101 + .../src/Google/Cloud/AIPlatform/V1/Trial.php | 569 +++ .../Cloud/AIPlatform/V1/Trial/Parameter.php | 135 + .../Cloud/AIPlatform/V1/Trial/State.php | 85 + .../Cloud/AIPlatform/V1/TrialContext.php | 135 + .../Google/Cloud/AIPlatform/V1/TunedModel.php | 180 + .../AIPlatform/V1/TunedModelCheckpoint.php | 173 + .../Cloud/AIPlatform/V1/TunedModelRef.php | 147 + .../Cloud/AIPlatform/V1/TuningDataStats.php | 76 + .../Google/Cloud/AIPlatform/V1/TuningJob.php | 871 ++++ .../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 + .../V1/UpdateCachedContentRequest.php | 138 + .../AIPlatform/V1/UpdateContextRequest.php | 190 + .../AIPlatform/V1/UpdateDatasetRequest.php | 163 + .../V1/UpdateDatasetVersionRequest.php | 153 + ...eploymentResourcePoolOperationMetadata.php | 77 + .../UpdateDeploymentResourcePoolRequest.php | 157 + .../V1/UpdateEndpointLongRunningRequest.php | 101 + .../V1/UpdateEndpointOperationMetadata.php | 78 + .../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 | 234 ++ .../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 + .../V1/UpdateRagCorpusOperationMetadata.php | 78 + .../AIPlatform/V1/UpdateRagCorpusRequest.php | 91 + ...UpdateRagEngineConfigOperationMetadata.php | 78 + .../V1/UpdateRagEngineConfigRequest.php | 102 + ...UpdateReasoningEngineOperationMetadata.php | 79 + .../V1/UpdateReasoningEngineRequest.php | 137 + .../AIPlatform/V1/UpdateScheduleRequest.php | 163 + .../AIPlatform/V1/UpdateSessionRequest.php | 152 + .../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/UploadRagFileConfig.php | 77 + .../AIPlatform/V1/UploadRagFileRequest.php | 189 + .../AIPlatform/V1/UploadRagFileResponse.php | 109 + .../AIPlatform/V1/UpsertDatapointsRequest.php | 170 + .../V1/UpsertDatapointsResponse.php | 34 + .../Google/Cloud/AIPlatform/V1/UrlContext.php | 33 + .../AIPlatform/V1/UrlContextMetadata.php | 67 + .../Cloud/AIPlatform/V1/UrlMetadata.php | 101 + .../V1/UrlMetadata/UrlRetrievalStatus.php | 61 + .../Cloud/AIPlatform/V1/UsageMetadata.php | 453 +++ .../V1/UsageMetadata/TrafficType.php | 62 + .../AIPlatform/V1/UserActionReference.php | 165 + .../src/Google/Cloud/AIPlatform/V1/Value.php | 141 + .../Cloud/AIPlatform/V1/VertexAISearch.php | 241 ++ .../V1/VertexAISearch/DataStoreSpec.php | 119 + .../AIPlatform/V1/VertexAiSearchConfig.php | 79 + .../V1/VertexMultimodalDatasetDestination.php | 119 + .../V1/VertexMultimodalDatasetSource.php | 71 + .../Cloud/AIPlatform/V1/VertexRagStore.php | 237 ++ .../V1/VertexRagStore/RagResource.php | 113 + .../Cloud/AIPlatform/V1/VideoMetadata.php | 159 + .../Cloud/AIPlatform/V1/VoiceConfig.php | 111 + .../Cloud/AIPlatform/V1/WorkerPoolSpec.php | 298 ++ .../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 + .../generate_synthetic_data.php | 86 + .../get_iam_policy.php | 72 + .../DataFoundryServiceClient/get_location.php | 57 + .../list_locations.php | 62 + .../set_iam_policy.php | 77 + .../test_iam_permissions.php | 84 + .../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 | 114 + .../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 | 98 + .../EndpointServiceClient/create_endpoint.php | 91 + .../EndpointServiceClient/delete_endpoint.php | 82 + .../V1/EndpointServiceClient/deploy_model.php | 88 + .../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 | 94 + .../EndpointServiceClient/set_iam_policy.php | 77 + .../test_iam_permissions.php | 84 + .../EndpointServiceClient/undeploy_model.php | 89 + .../EndpointServiceClient/update_endpoint.php | 77 + .../update_endpoint_long_running.php | 86 + .../evaluate_instances.php | 72 + .../get_iam_policy.php | 72 + .../EvaluationServiceClient/get_location.php | 57 + .../list_locations.php | 62 + .../set_iam_policy.php | 77 + .../test_iam_permissions.php | 84 + .../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 + .../feature_view_direct_write.php | 68 + .../fetch_feature_values.php | 77 + .../generate_fetch_access_token.php | 58 + .../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 + .../batch_create_features.php | 123 + .../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 | 123 + .../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 + .../create_cached_content.php | 74 + .../delete_cached_content.php | 73 + .../get_cached_content.php | 75 + .../get_iam_policy.php | 72 + .../GenAiCacheServiceClient/get_location.php | 57 + .../list_cached_contents.php | 76 + .../list_locations.php | 62 + .../set_iam_policy.php | 77 + .../test_iam_permissions.php | 84 + .../update_cached_content.php | 62 + .../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 + .../rebase_tuned_model.php | 87 + .../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 + .../V1/ModelGardenServiceClient/deploy.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_version_checkpoints.php | 82 + .../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 + .../stop_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 + .../PredictionServiceClient/embed_content.php | 57 + .../V1/PredictionServiceClient/explain.php | 86 + .../generate_content.php | 84 + .../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 | 89 + .../stream_raw_predict.php | 78 + .../streaming_predict.php | 80 + .../streaming_raw_predict.php | 79 + .../test_iam_permissions.php | 84 + .../get_iam_policy.php | 72 + .../get_location.php | 57 + .../list_locations.php | 62 + .../query_reasoning_engine.php | 77 + .../set_iam_policy.php | 77 + .../stream_query_reasoning_engine.php | 82 + .../test_iam_permissions.php | 84 + .../create_reasoning_engine.php | 91 + .../delete_reasoning_engine.php | 86 + .../get_iam_policy.php | 72 + .../get_location.php | 57 + .../get_reasoning_engine.php | 77 + .../list_locations.php | 62 + .../list_reasoning_engines.php | 77 + .../set_iam_policy.php | 77 + .../test_iam_permissions.php | 84 + .../update_reasoning_engine.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 | 79 + .../ScheduleServiceClient/set_iam_policy.php | 77 + .../test_iam_permissions.php | 84 + .../ScheduleServiceClient/update_schedule.php | 90 + .../V1/SessionServiceClient/append_event.php | 94 + .../SessionServiceClient/create_session.php | 94 + .../SessionServiceClient/delete_session.php | 88 + .../SessionServiceClient/get_iam_policy.php | 72 + .../V1/SessionServiceClient/get_location.php | 57 + .../V1/SessionServiceClient/get_session.php | 78 + .../V1/SessionServiceClient/list_events.php | 83 + .../SessionServiceClient/list_locations.php | 62 + .../V1/SessionServiceClient/list_sessions.php | 83 + .../SessionServiceClient/set_iam_policy.php | 77 + .../test_iam_permissions.php | 84 + .../SessionServiceClient/update_session.php | 72 + .../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 + .../create_rag_corpus.php | 91 + .../delete_rag_corpus.php | 86 + .../delete_rag_file.php | 87 + .../get_iam_policy.php | 72 + .../get_location.php | 57 + .../get_rag_corpus.php | 77 + .../get_rag_engine_config.php | 73 + .../get_rag_file.php | 78 + .../import_rag_files.php | 92 + .../list_locations.php | 62 + .../list_rag_corpora.php | 77 + .../list_rag_files.php | 82 + .../set_iam_policy.php | 77 + .../test_iam_permissions.php | 84 + .../update_rag_corpus.php | 86 + .../update_rag_engine_config.php | 71 + .../upload_rag_file.php | 88 + .../VertexRagServiceClient/ask_contexts.php | 77 + .../async_retrieve_contexts.php | 89 + .../VertexRagServiceClient/augment_prompt.php | 75 + .../corroborate_content.php | 76 + .../VertexRagServiceClient/get_iam_policy.php | 72 + .../VertexRagServiceClient/get_location.php | 57 + .../VertexRagServiceClient/list_locations.php | 62 + .../retrieve_contexts.php | 77 + .../VertexRagServiceClient/set_iam_policy.php | 77 + .../test_iam_permissions.php | 84 + .../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/Client/DataFoundryServiceClient.php | 410 ++ .../v1/src/V1/Client/DatasetServiceClient.php | 1078 +++++ .../DeploymentResourcePoolServiceClient.php | 672 ++++ .../src/V1/Client/EndpointServiceClient.php | 854 ++++ .../src/V1/Client/EvaluationServiceClient.php | 408 ++ .../FeatureOnlineStoreAdminServiceClient.php | 885 +++++ .../FeatureOnlineStoreServiceClient.php | 505 +++ .../Client/FeatureRegistryServiceClient.php | 864 ++++ ...FeaturestoreOnlineServingServiceClient.php | 481 +++ .../V1/Client/FeaturestoreServiceClient.php | 1206 ++++++ .../src/V1/Client/GenAiCacheServiceClient.php | 562 +++ .../V1/Client/GenAiTuningServiceClient.php | 729 ++++ .../V1/Client/IndexEndpointServiceClient.php | 731 ++++ .../v1/src/V1/Client/IndexServiceClient.php | 675 ++++ .../v1/src/V1/Client/JobServiceClient.php | 1881 +++++++++ .../src/V1/Client/LlmUtilityServiceClient.php | 501 +++ .../v1/src/V1/Client/MatchServiceClient.php | 441 +++ .../src/V1/Client/MetadataServiceClient.php | 1472 +++++++ .../src/V1/Client/MigrationServiceClient.php | 576 +++ .../V1/Client/ModelGardenServiceClient.php | 530 +++ .../v1/src/V1/Client/ModelServiceClient.php | 1168 ++++++ .../src/V1/Client/NotebookServiceClient.php | 1038 +++++ .../PersistentResourceServiceClient.php | 691 ++++ .../src/V1/Client/PipelineServiceClient.php | 1077 +++++ .../src/V1/Client/PredictionServiceClient.php | 869 ++++ .../ReasoningEngineExecutionServiceClient.php | 441 +++ .../Client/ReasoningEngineServiceClient.php | 642 +++ .../src/V1/Client/ScheduleServiceClient.php | 908 +++++ .../v1/src/V1/Client/SessionServiceClient.php | 681 ++++ .../V1/Client/SpecialistPoolServiceClient.php | 605 +++ .../V1/Client/TensorboardServiceClient.php | 1413 +++++++ .../V1/Client/VertexRagDataServiceClient.php | 939 +++++ .../src/V1/Client/VertexRagServiceClient.php | 602 +++ .../v1/src/V1/Client/VizierServiceClient.php | 935 +++++ .../AiPlatform/v1/src/V1/gapic_metadata.json | 2880 ++++++++++++++ .../data_foundry_service_client_config.json | 52 + ...data_foundry_service_descriptor_config.php | 116 + ...ata_foundry_service_rest_client_config.php | 2295 +++++++++++ .../dataset_service_client_config.json | 142 + .../dataset_service_descriptor_config.php | 443 +++ .../dataset_service_rest_client_config.php | 2582 ++++++++++++ ...t_resource_pool_service_client_config.json | 77 + ...esource_pool_service_descriptor_config.php | 217 + ...source_pool_service_rest_client_config.php | 2355 +++++++++++ .../endpoint_service_client_config.json | 92 + .../endpoint_service_descriptor_config.php | 272 ++ .../endpoint_service_rest_client_config.php | 2393 +++++++++++ .../evaluation_service_client_config.json | 52 + .../evaluation_service_descriptor_config.php | 116 + .../evaluation_service_rest_client_config.php | 2295 +++++++++++ ...ine_store_admin_service_client_config.json | 112 + ..._store_admin_service_descriptor_config.php | 331 ++ ...store_admin_service_rest_client_config.php | 2439 ++++++++++++ ...re_online_store_service_client_config.json | 65 + ...online_store_service_descriptor_config.php | 155 + ...nline_store_service_rest_client_config.php | 2319 +++++++++++ ...eature_registry_service_client_config.json | 102 + ...ure_registry_service_descriptor_config.php | 308 ++ ...re_registry_service_rest_client_config.php | 2417 +++++++++++ ..._online_serving_service_client_config.json | 60 + ...line_serving_service_descriptor_config.php | 143 + ...ine_serving_service_rest_client_config.php | 2319 +++++++++++ .../featurestore_service_client_config.json | 152 + ...featurestore_service_descriptor_config.php | 481 +++ ...eaturestore_service_rest_client_config.php | 2537 ++++++++++++ .../gen_ai_cache_service_client_config.json | 72 + ...gen_ai_cache_service_descriptor_config.php | 175 + ...en_ai_cache_service_rest_client_config.php | 2344 +++++++++++ .../gen_ai_tuning_service_client_config.json | 72 + ...en_ai_tuning_service_descriptor_config.php | 186 + ...n_ai_tuning_service_rest_client_config.php | 2341 +++++++++++ .../index_endpoint_service_client_config.json | 87 + ...dex_endpoint_service_descriptor_config.php | 247 ++ ...ex_endpoint_service_rest_client_config.php | 2380 +++++++++++ .../index_service_client_config.json | 82 + .../index_service_descriptor_config.php | 220 + .../index_service_rest_client_config.php | 2365 +++++++++++ .../resources/job_service_client_config.json | 222 ++ .../job_service_descriptor_config.php | 658 +++ .../job_service_rest_client_config.php | 2687 +++++++++++++ .../llm_utility_service_client_config.json | 57 + .../llm_utility_service_descriptor_config.php | 131 + ...llm_utility_service_rest_client_config.php | 2341 +++++++++++ .../match_service_client_config.json | 57 + .../match_service_descriptor_config.php | 128 + .../match_service_rest_client_config.php | 2307 +++++++++++ .../metadata_service_client_config.json | 207 + .../metadata_service_descriptor_config.php | 592 +++ .../metadata_service_rest_client_config.php | 2653 +++++++++++++ .../migration_service_client_config.json | 57 + .../migration_service_descriptor_config.php | 147 + .../migration_service_rest_client_config.php | 2307 +++++++++++ .../model_garden_service_client_config.json | 57 + ...model_garden_service_descriptor_config.php | 137 + ...odel_garden_service_rest_client_config.php | 2306 +++++++++++ .../model_service_client_config.json | 142 + .../model_service_descriptor_config.php | 423 ++ .../model_service_rest_client_config.php | 2505 ++++++++++++ .../notebook_service_client_config.json | 127 + .../notebook_service_descriptor_config.php | 391 ++ .../notebook_service_rest_client_config.php | 2470 ++++++++++++ ...istent_resource_service_client_config.json | 77 + ...ent_resource_service_descriptor_config.php | 217 + ...nt_resource_service_rest_client_config.php | 2359 +++++++++++ .../pipeline_service_client_config.json | 107 + .../pipeline_service_descriptor_config.php | 305 ++ .../pipeline_service_rest_client_config.php | 2421 +++++++++++ .../prediction_service_client_config.json | 103 + .../prediction_service_descriptor_config.php | 266 ++ .../prediction_service_rest_client_config.php | 2465 ++++++++++++ ...ngine_execution_service_client_config.json | 55 + ...ne_execution_service_descriptor_config.php | 131 + ...e_execution_service_rest_client_config.php | 2307 +++++++++++ ...easoning_engine_service_client_config.json | 72 + ...oning_engine_service_descriptor_config.php | 197 + ...ning_engine_service_rest_client_config.php | 2341 +++++++++++ .../schedule_service_client_config.json | 82 + .../schedule_service_descriptor_config.php | 217 + .../schedule_service_rest_client_config.php | 2368 +++++++++++ .../session_service_client_config.json | 82 + .../session_service_descriptor_config.php | 221 ++ .../session_service_rest_client_config.php | 2364 +++++++++++ ...specialist_pool_service_client_config.json | 72 + ...cialist_pool_service_descriptor_config.php | 195 + ...ialist_pool_service_rest_client_config.php | 2344 +++++++++++ .../tensorboard_service_client_config.json | 195 + .../tensorboard_service_descriptor_config.php | 557 +++ ...tensorboard_service_rest_client_config.php | 2648 +++++++++++++ ...vertex_rag_data_service_client_config.json | 107 + ...tex_rag_data_service_descriptor_config.php | 316 ++ ...ex_rag_data_service_rest_client_config.php | 2422 +++++++++++ .../vertex_rag_service_client_config.json | 72 + .../vertex_rag_service_descriptor_config.php | 172 + .../vertex_rag_service_rest_client_config.php | 2343 +++++++++++ .../vizier_service_client_config.json | 122 + .../vizier_service_descriptor_config.php | 317 ++ .../vizier_service_rest_client_config.php | 2457 ++++++++++++ .../Client/DataFoundryServiceClientTest.php | 510 +++ .../V1/Client/DatasetServiceClientTest.php | 2435 ++++++++++++ ...eploymentResourcePoolServiceClientTest.php | 1150 ++++++ .../V1/Client/EndpointServiceClientTest.php | 1580 ++++++++ .../V1/Client/EvaluationServiceClientTest.php | 490 +++ ...atureOnlineStoreAdminServiceClientTest.php | 1780 +++++++++ .../FeatureOnlineStoreServiceClientTest.php | 716 ++++ .../FeatureRegistryServiceClientTest.php | 1687 ++++++++ ...urestoreOnlineServingServiceClientTest.php | 690 ++++ .../Client/FeaturestoreServiceClientTest.php | 2742 +++++++++++++ .../V1/Client/GenAiCacheServiceClientTest.php | 794 ++++ .../Client/GenAiTuningServiceClientTest.php | 864 ++++ .../Client/IndexEndpointServiceClientTest.php | 1424 +++++++ .../Unit/V1/Client/IndexServiceClientTest.php | 1176 ++++++ .../Unit/V1/Client/JobServiceClientTest.php | 3525 +++++++++++++++++ .../V1/Client/LlmUtilityServiceClientTest.php | 558 +++ .../Unit/V1/Client/MatchServiceClientTest.php | 554 +++ .../V1/Client/MetadataServiceClientTest.php | 3183 +++++++++++++++ .../V1/Client/MigrationServiceClientTest.php | 675 ++++ .../Client/ModelGardenServiceClientTest.php | 672 ++++ .../Unit/V1/Client/ModelServiceClientTest.php | 2229 +++++++++++ .../V1/Client/NotebookServiceClientTest.php | 2229 +++++++++++ .../PersistentResourceServiceClientTest.php | 1161 ++++++ .../V1/Client/PipelineServiceClientTest.php | 1583 ++++++++ .../V1/Client/PredictionServiceClientTest.php | 1557 ++++++++ ...soningEngineExecutionServiceClientTest.php | 579 +++ .../ReasoningEngineServiceClientTest.php | 1024 +++++ .../V1/Client/ScheduleServiceClientTest.php | 1050 +++++ .../V1/Client/SessionServiceClientTest.php | 1076 +++++ .../SpecialistPoolServiceClientTest.php | 1033 +++++ .../Client/TensorboardServiceClientTest.php | 3029 ++++++++++++++ .../Client/VertexRagDataServiceClientTest.php | 1691 ++++++++ .../V1/Client/VertexRagServiceClientTest.php | 838 ++++ .../V1/Client/VizierServiceClientTest.php | 1657 ++++++++ .../Google/Dataflow/V1Beta3/Environment.php | 27 + .../Google/Dataflow/V1Beta3/Jobs.php | 33 + .../Google/Dataflow/V1Beta3/Messages.php | 28 + .../Google/Dataflow/V1Beta3/Metrics.php | 29 + .../Google/Dataflow/V1Beta3/Snapshots.php | 28 + .../Google/Dataflow/V1Beta3/Streaming.php | 24 + .../Google/Dataflow/V1Beta3/Templates.php | 30 + .../Dataflow/V1beta3/AutoscalingAlgorithm.php | 64 + .../Dataflow/V1beta3/AutoscalingEvent.php | 270 ++ .../AutoscalingEvent/AutoscalingEventType.php | 85 + .../Dataflow/V1beta3/AutoscalingSettings.php | 101 + .../Dataflow/V1beta3/BigQueryIODetails.php | 169 + .../Dataflow/V1beta3/BigTableIODetails.php | 135 + .../V1beta3/CheckActiveJobsRequest.php | 67 + .../V1beta3/CheckActiveJobsResponse.php | 67 + .../Dataflow/V1beta3/ComputationTopology.php | 237 ++ .../Cloud/Dataflow/V1beta3/ContainerSpec.php | 301 ++ .../V1beta3/CreateJobFromTemplateRequest.php | 269 ++ .../Dataflow/V1beta3/CreateJobRequest.php | 221 ++ .../Dataflow/V1beta3/CustomSourceLocation.php | 67 + .../Dataflow/V1beta3/DataDiskAssignment.php | 117 + .../Dataflow/V1beta3/DataSamplingConfig.php | 95 + .../DataSamplingBehavior.php | 71 + .../Dataflow/V1beta3/DatastoreIODetails.php | 101 + .../Cloud/Dataflow/V1beta3/DebugOptions.php | 115 + .../Dataflow/V1beta3/DefaultPackageSet.php | 69 + .../V1beta3/DeleteSnapshotRequest.php | 135 + .../V1beta3/DeleteSnapshotResponse.php | 33 + .../Google/Cloud/Dataflow/V1beta3/Disk.php | 195 + .../Cloud/Dataflow/V1beta3/DisplayData.php | 483 +++ .../V1beta3/DynamicTemplateLaunchParams.php | 109 + .../Cloud/Dataflow/V1beta3/Environment.php | 947 +++++ .../Dataflow/V1beta3/ExecutionStageState.php | 145 + .../V1beta3/ExecutionStageSummary.php | 307 ++ .../ExecutionStageSummary/ComponentSource.php | 140 + .../ComponentTransform.php | 139 + .../ExecutionStageSummary/StageSource.php | 173 + .../Cloud/Dataflow/V1beta3/ExecutionState.php | 82 + .../Cloud/Dataflow/V1beta3/FailedLocation.php | 77 + .../Cloud/Dataflow/V1beta3/FileIODetails.php | 67 + .../V1beta3/FlexResourceSchedulingGoal.php | 61 + .../FlexTemplateRuntimeEnvironment.php | 1111 ++++++ .../V1beta3/GetJobExecutionDetailsRequest.php | 227 ++ .../Dataflow/V1beta3/GetJobMetricsRequest.php | 191 + .../Cloud/Dataflow/V1beta3/GetJobRequest.php | 177 + .../Dataflow/V1beta3/GetSnapshotRequest.php | 135 + .../GetStageExecutionDetailsRequest.php | 350 ++ .../Dataflow/V1beta3/GetTemplateRequest.php | 191 + .../GetTemplateRequest/TemplateView.php | 48 + .../Dataflow/V1beta3/GetTemplateResponse.php | 207 + .../GetTemplateResponse/TemplateType.php | 61 + .../Dataflow/V1beta3/HotKeyDebuggingInfo.php | 71 + .../HotKeyDebuggingInfo/HotKeyInfo.php | 157 + .../V1beta3/InvalidTemplateParameters.php | 68 + .../ParameterViolation.php | 101 + .../src/Google/Cloud/Dataflow/V1beta3/Job.php | 1404 +++++++ .../Dataflow/V1beta3/JobExecutionDetails.php | 109 + .../Dataflow/V1beta3/JobExecutionInfo.php | 68 + .../V1beta3/JobExecutionStageInfo.php | 77 + .../Cloud/Dataflow/V1beta3/JobMessage.php | 179 + .../Dataflow/V1beta3/JobMessageImportance.php | 100 + .../Cloud/Dataflow/V1beta3/JobMetadata.php | 316 ++ .../Cloud/Dataflow/V1beta3/JobMetrics.php | 117 + .../Cloud/Dataflow/V1beta3/JobState.php | 178 + .../Google/Cloud/Dataflow/V1beta3/JobType.php | 66 + .../Google/Cloud/Dataflow/V1beta3/JobView.php | 78 + .../V1beta3/KeyRangeDataDiskAssignment.php | 150 + .../Dataflow/V1beta3/KeyRangeLocation.php | 232 ++ .../Cloud/Dataflow/V1beta3/KindType.php | 103 + .../V1beta3/LaunchFlexTemplateParameter.php | 353 ++ .../V1beta3/LaunchFlexTemplateRequest.php | 191 + .../V1beta3/LaunchFlexTemplateResponse.php | 81 + .../V1beta3/LaunchTemplateParameters.php | 232 ++ .../V1beta3/LaunchTemplateRequest.php | 276 ++ .../V1beta3/LaunchTemplateResponse.php | 81 + .../V1beta3/ListJobMessagesRequest.php | 360 ++ .../V1beta3/ListJobMessagesResponse.php | 135 + .../Dataflow/V1beta3/ListJobsRequest.php | 312 ++ .../V1beta3/ListJobsRequest/Filter.php | 74 + .../Dataflow/V1beta3/ListJobsResponse.php | 147 + .../Dataflow/V1beta3/ListSnapshotsRequest.php | 135 + .../V1beta3/ListSnapshotsResponse.php | 67 + .../Dataflow/V1beta3/MetricStructuredName.php | 156 + .../Cloud/Dataflow/V1beta3/MetricUpdate.php | 689 ++++ .../Dataflow/V1beta3/MountedDataDisk.php | 79 + .../Google/Cloud/Dataflow/V1beta3/Package.php | 120 + .../Dataflow/V1beta3/ParameterMetadata.php | 523 +++ .../V1beta3/ParameterMetadataEnumOption.php | 135 + .../Cloud/Dataflow/V1beta3/ParameterType.php | 209 + .../Dataflow/V1beta3/PipelineDescription.php | 171 + .../Dataflow/V1beta3/ProgressTimeseries.php | 105 + .../V1beta3/ProgressTimeseries/Point.php | 111 + .../Dataflow/V1beta3/PubSubIODetails.php | 101 + .../Cloud/Dataflow/V1beta3/PubsubLocation.php | 326 ++ .../V1beta3/PubsubSnapshotMetadata.php | 145 + .../Dataflow/V1beta3/RuntimeEnvironment.php | 845 ++++ .../Dataflow/V1beta3/RuntimeMetadata.php | 111 + .../V1beta3/RuntimeUpdatableParams.php | 306 ++ .../Google/Cloud/Dataflow/V1beta3/SDKInfo.php | 101 + .../Dataflow/V1beta3/SDKInfo/Language.php | 75 + .../Google/Cloud/Dataflow/V1beta3/SdkBug.php | 135 + .../Dataflow/V1beta3/SdkBug/Severity.php | 72 + .../Cloud/Dataflow/V1beta3/SdkBug/Type.php | 69 + .../V1beta3/SdkHarnessContainerImage.php | 193 + .../Cloud/Dataflow/V1beta3/SdkVersion.php | 169 + .../V1beta3/SdkVersion/SdkSupportStatus.php | 76 + .../Dataflow/V1beta3/ServiceResources.php | 71 + .../Cloud/Dataflow/V1beta3/ShuffleMode.php | 64 + .../Cloud/Dataflow/V1beta3/Snapshot.php | 397 ++ .../Dataflow/V1beta3/SnapshotJobRequest.php | 247 ++ .../Cloud/Dataflow/V1beta3/SnapshotState.php | 83 + .../Dataflow/V1beta3/SpannerIODetails.php | 135 + .../V1beta3/StageExecutionDetails.php | 109 + .../Cloud/Dataflow/V1beta3/StageSummary.php | 323 ++ .../Dataflow/V1beta3/StateFamilyConfig.php | 101 + .../Google/Cloud/Dataflow/V1beta3/Step.php | 174 + .../Cloud/Dataflow/V1beta3/Straggler.php | 108 + .../Cloud/Dataflow/V1beta3/StragglerInfo.php | 119 + .../StragglerInfo/StragglerDebuggingInfo.php | 77 + .../Dataflow/V1beta3/StragglerSummary.php | 139 + .../Cloud/Dataflow/V1beta3/StreamLocation.php | 178 + .../StreamingApplianceSnapshotConfig.php | 101 + .../V1beta3/StreamingComputationRanges.php | 102 + .../Cloud/Dataflow/V1beta3/StreamingMode.php | 72 + .../V1beta3/StreamingSideInputLocation.php | 101 + .../V1beta3/StreamingStageLocation.php | 72 + .../V1beta3/StreamingStragglerInfo.php | 243 ++ .../Dataflow/V1beta3/StructuredMessage.php | 141 + .../V1beta3/StructuredMessage/Parameter.php | 111 + .../Dataflow/V1beta3/TaskRunnerSettings.php | 769 ++++ .../Cloud/Dataflow/V1beta3/TeardownPolicy.php | 71 + .../Dataflow/V1beta3/TemplateMetadata.php | 279 ++ .../Cloud/Dataflow/V1beta3/TopologyConfig.php | 204 + .../Dataflow/V1beta3/TransformSummary.php | 237 ++ .../Dataflow/V1beta3/UpdateJobRequest.php | 255 ++ .../Dataflow/V1beta3/WorkItemDetails.php | 353 ++ .../Cloud/Dataflow/V1beta3/WorkerDetails.php | 101 + .../V1beta3/WorkerIPAddressConfiguration.php | 64 + .../Cloud/Dataflow/V1beta3/WorkerPool.php | 1019 +++++ .../Cloud/Dataflow/V1beta3/WorkerSettings.php | 289 ++ .../launch_flex_template.php | 57 + .../aggregated_list_jobs.php | 65 + .../JobsV1Beta3Client/check_active_jobs.php | 57 + .../V1beta3/JobsV1Beta3Client/create_job.php | 66 + .../V1beta3/JobsV1Beta3Client/get_job.php | 63 + .../V1beta3/JobsV1Beta3Client/list_jobs.php | 73 + .../JobsV1Beta3Client/snapshot_job.php | 57 + .../V1beta3/JobsV1Beta3Client/update_job.php | 63 + .../list_job_messages.php | 68 + .../get_job_execution_details.php | 64 + .../MetricsV1Beta3Client/get_job_metrics.php | 63 + .../get_stage_execution_details.php | 65 + .../delete_snapshot.php | 57 + .../SnapshotsV1Beta3Client/get_snapshot.php | 57 + .../SnapshotsV1Beta3Client/list_snapshots.php | 57 + .../create_job_from_template.php | 64 + .../TemplatesServiceClient/get_template.php | 63 + .../launch_template.php | 63 + .../Client/FlexTemplatesServiceClient.php | 215 + .../src/V1beta3/Client/JobsV1Beta3Client.php | 432 ++ .../V1beta3/Client/MessagesV1Beta3Client.php | 220 + .../V1beta3/Client/MetricsV1Beta3Client.php | 288 ++ .../V1beta3/Client/SnapshotsV1Beta3Client.php | 276 ++ .../V1beta3/Client/TemplatesServiceClient.php | 296 ++ .../v1beta3/src/V1beta3/gapic_metadata.json | 153 + .../flex_templates_service_client_config.json | 27 + ...ex_templates_service_descriptor_config.php | 46 + ...x_templates_service_rest_client_config.php | 46 + .../jobs_v1_beta3_client_config.json | 67 + .../jobs_v1_beta3_descriptor_config.php | 168 + .../jobs_v1_beta3_rest_client_config.php | 171 + .../messages_v1_beta3_client_config.json | 37 + .../messages_v1_beta3_descriptor_config.php | 60 + .../messages_v1_beta3_rest_client_config.php | 56 + .../metrics_v1_beta3_client_config.json | 47 + .../metrics_v1_beta3_descriptor_config.php | 122 + .../metrics_v1_beta3_rest_client_config.php | 103 + .../snapshots_v1_beta3_client_config.json | 47 + .../snapshots_v1_beta3_descriptor_config.php | 100 + .../snapshots_v1_beta3_rest_client_config.php | 114 + .../templates_service_client_config.json | 47 + .../templates_service_descriptor_config.php | 82 + .../templates_service_rest_client_config.php | 99 + .../Client/FlexTemplatesServiceClientTest.php | 138 + .../V1beta3/Client/JobsV1Beta3ClientTest.php | 586 +++ .../Client/MessagesV1Beta3ClientTest.php | 159 + .../Client/MetricsV1Beta3ClientTest.php | 282 ++ .../Client/SnapshotsV1Beta3ClientTest.php | 262 ++ .../Client/TemplatesServiceClientTest.php | 298 ++ .../Cloud/Memorystore/V1/Memorystore.php | 36 + .../Memorystore/V1/AutomatedBackupConfig.php | 165 + .../AutomatedBackupMode.php | 61 + .../FixedFrequencySchedule.php | 82 + .../Google/Cloud/Memorystore/V1/Backup.php | 585 +++ .../Memorystore/V1/Backup/BackupType.php | 61 + .../Cloud/Memorystore/V1/Backup/State.php | 76 + .../Cloud/Memorystore/V1/BackupCollection.php | 371 ++ .../Cloud/Memorystore/V1/BackupFile.php | 145 + .../Memorystore/V1/BackupInstanceRequest.php | 187 + .../Memorystore/V1/CertificateAuthority.php | 117 + .../ManagedCertificateAuthority.php | 67 + .../ManagedCertificateAuthority/CertChain.php | 67 + .../Cloud/Memorystore/V1/ConnectionType.php | 68 + .../Memorystore/V1/CreateInstanceRequest.php | 279 ++ .../V1/CrossInstanceReplicationConfig.php | 285 ++ .../InstanceRole.php | 73 + .../Membership.php | 120 + .../RemoteInstance.php | 106 + .../Memorystore/V1/DeleteBackupRequest.php | 120 + .../Memorystore/V1/DeleteInstanceRequest.php | 160 + .../Memorystore/V1/DiscoveryEndpoint.php | 143 + .../Cloud/Memorystore/V1/EncryptionInfo.php | 187 + .../V1/EncryptionInfo/KmsKeyState.php | 104 + .../Memorystore/V1/EncryptionInfo/Type.php | 63 + .../Memorystore/V1/ExportBackupRequest.php | 113 + .../V1/GetBackupCollectionRequest.php | 91 + .../Cloud/Memorystore/V1/GetBackupRequest.php | 86 + .../V1/GetCertificateAuthorityRequest.php | 91 + .../Memorystore/V1/GetInstanceRequest.php | 86 + .../Google/Cloud/Memorystore/V1/Instance.php | 1778 +++++++++ .../V1/Instance/AuthorizationMode.php | 61 + .../V1/Instance/ConnectionDetail.php | 111 + .../V1/Instance/GcsBackupSource.php | 68 + .../V1/Instance/InstanceEndpoint.php | 73 + .../V1/Instance/ManagedBackupSource.php | 87 + .../Cloud/Memorystore/V1/Instance/Mode.php | 68 + .../Memorystore/V1/Instance/NodeType.php | 77 + .../Cloud/Memorystore/V1/Instance/State.php | 75 + .../Memorystore/V1/Instance/StateInfo.php | 75 + .../V1/Instance/StateInfo/UpdateInfo.php | 209 + .../V1/Instance/TransitEncryptionMode.php | 61 + .../V1/ListBackupCollectionsRequest.php | 188 + .../V1/ListBackupCollectionsResponse.php | 171 + .../Memorystore/V1/ListBackupsRequest.php | 178 + .../Memorystore/V1/ListBackupsResponse.php | 139 + .../Memorystore/V1/ListInstancesRequest.php | 230 ++ .../Memorystore/V1/ListInstancesResponse.php | 147 + .../Memorystore/V1/MaintenancePolicy.php | 163 + .../Memorystore/V1/MaintenanceSchedule.php | 129 + .../Cloud/Memorystore/V1/NodeConfig.php | 67 + .../Memorystore/V1/OperationMetadata.php | 307 ++ .../Memorystore/V1/PersistenceConfig.php | 155 + .../V1/PersistenceConfig/AOFConfig.php | 67 + .../AOFConfig/AppendFsync.php | 71 + .../V1/PersistenceConfig/PersistenceMode.php | 68 + .../V1/PersistenceConfig/RDBConfig.php | 119 + .../RDBConfig/SnapshotPeriod.php | 75 + .../Memorystore/V1/PscAttachmentDetail.php | 106 + .../Memorystore/V1/PscAutoConnection.php | 391 ++ .../Cloud/Memorystore/V1/PscConnection.php | 391 ++ .../Memorystore/V1/PscConnectionStatus.php | 61 + .../V1/RescheduleMaintenanceRequest.php | 179 + .../RescheduleType.php | 61 + .../Memorystore/V1/UpdateInstanceRequest.php | 215 + .../V1/WeeklyMaintenanceWindow.php | 111 + .../Memorystore/V1/ZoneDistributionConfig.php | 105 + .../ZoneDistributionMode.php | 62 + .../V1/MemorystoreClient/backup_instance.php | 96 + .../V1/MemorystoreClient/create_instance.php | 98 + .../V1/MemorystoreClient/delete_backup.php | 86 + .../V1/MemorystoreClient/delete_instance.php | 81 + .../V1/MemorystoreClient/export_backup.php | 89 + .../V1/MemorystoreClient/get_backup.php | 77 + .../get_backup_collection.php | 77 + .../get_certificate_authority.php | 73 + .../V1/MemorystoreClient/get_instance.php | 72 + .../V1/MemorystoreClient/get_location.php | 57 + .../list_backup_collections.php | 81 + .../V1/MemorystoreClient/list_backups.php | 79 + .../V1/MemorystoreClient/list_instances.php | 75 + .../V1/MemorystoreClient/list_locations.php | 60 + .../reschedule_maintenance.php | 88 + .../V1/MemorystoreClient/update_instance.php | 71 + .../v1/src/V1/Client/MemorystoreClient.php | 924 +++++ .../Memorystore/v1/src/V1/gapic_metadata.json | 98 + .../resources/memorystore_client_config.json | 124 + .../memorystore_descriptor_config.php | 315 ++ .../memorystore_rest_client_config.php | 262 ++ .../Unit/V1/Client/MemorystoreClientTest.php | 1848 +++++++++ .../Cloud/Memorystore/V1Beta/Memorystore.php | 33 + .../V1beta/CertificateAuthority.php | 117 + .../ManagedCertificateAuthority.php | 67 + .../ManagedCertificateAuthority/CertChain.php | 67 + .../Memorystore/V1beta/ConnectionType.php | 68 + .../V1beta/CreateInstanceRequest.php | 279 ++ .../V1beta/DeleteInstanceRequest.php | 160 + .../Memorystore/V1beta/DiscoveryEndpoint.php | 143 + .../V1beta/GetCertificateAuthorityRequest.php | 91 + .../Memorystore/V1beta/GetInstanceRequest.php | 86 + .../Cloud/Memorystore/V1beta/Instance.php | 881 ++++ .../V1beta/Instance/AuthorizationMode.php | 61 + .../V1beta/Instance/ConnectionDetail.php | 111 + .../V1beta/Instance/InstanceEndpoint.php | 73 + .../Memorystore/V1beta/Instance/Mode.php | 68 + .../Memorystore/V1beta/Instance/NodeType.php | 77 + .../Memorystore/V1beta/Instance/State.php | 75 + .../Memorystore/V1beta/Instance/StateInfo.php | 75 + .../V1beta/Instance/StateInfo/UpdateInfo.php | 121 + .../V1beta/Instance/TransitEncryptionMode.php | 61 + .../V1beta/ListInstancesRequest.php | 230 ++ .../V1beta/ListInstancesResponse.php | 147 + .../Cloud/Memorystore/V1beta/NodeConfig.php | 67 + .../Memorystore/V1beta/OperationMetadata.php | 307 ++ .../Memorystore/V1beta/PersistenceConfig.php | 155 + .../V1beta/PersistenceConfig/AOFConfig.php | 67 + .../AOFConfig/AppendFsync.php | 71 + .../PersistenceConfig/PersistenceMode.php | 68 + .../V1beta/PersistenceConfig/RDBConfig.php | 119 + .../RDBConfig/SnapshotPeriod.php | 75 + .../Memorystore/V1beta/PscAutoConnection.php | 394 ++ .../Memorystore/V1beta/PscConnection.php | 349 ++ .../V1beta/PscConnectionStatus.php | 61 + .../V1beta/UpdateInstanceRequest.php | 215 + .../V1beta/ZoneDistributionConfig.php | 105 + .../ZoneDistributionMode.php | 62 + .../MemorystoreClient/create_instance.php | 123 + .../MemorystoreClient/delete_instance.php | 81 + .../get_certificate_authority.php | 73 + .../V1beta/MemorystoreClient/get_instance.php | 72 + .../V1beta/MemorystoreClient/get_location.php | 57 + .../MemorystoreClient/list_instances.php | 75 + .../MemorystoreClient/list_locations.php | 60 + .../MemorystoreClient/update_instance.php | 102 + .../src/V1beta/Client/MemorystoreClient.php | 633 +++ .../v1beta/src/V1beta/gapic_metadata.json | 58 + .../resources/memorystore_client_config.json | 84 + .../memorystore_descriptor_config.php | 171 + .../memorystore_rest_client_config.php | 171 + .../V1beta/Client/MemorystoreClientTest.php | 905 +++++ .../Redis/Cluster/V1/CloudRedisCluster.php | 37 + .../Redis/Cluster/V1/AuthorizationMode.php | 61 + .../Cluster/V1/AutomatedBackupConfig.php | 165 + .../AutomatedBackupMode.php | 61 + .../FixedFrequencySchedule.php | 82 + .../Google/Cloud/Redis/Cluster/V1/Backup.php | 585 +++ .../Redis/Cluster/V1/Backup/BackupType.php | 61 + .../Cloud/Redis/Cluster/V1/Backup/State.php | 76 + .../Redis/Cluster/V1/BackupClusterRequest.php | 187 + .../Redis/Cluster/V1/BackupCollection.php | 215 + .../Cloud/Redis/Cluster/V1/BackupFile.php | 145 + .../Redis/Cluster/V1/CertificateAuthority.php | 112 + .../ManagedCertificateAuthority.php | 69 + .../ManagedCertificateAuthority/CertChain.php | 65 + .../Google/Cloud/Redis/Cluster/V1/Cluster.php | 1293 ++++++ .../Cluster/V1/Cluster/GcsBackupSource.php | 72 + .../V1/Cluster/ManagedBackupSource.php | 87 + .../Cloud/Redis/Cluster/V1/Cluster/State.php | 75 + .../Redis/Cluster/V1/Cluster/StateInfo.php | 75 + .../V1/Cluster/StateInfo/UpdateInfo.php | 121 + .../Redis/Cluster/V1/ClusterEndpoint.php | 73 + .../Cluster/V1/ClusterMaintenancePolicy.php | 171 + .../Cluster/V1/ClusterMaintenanceSchedule.php | 129 + .../Cluster/V1/ClusterPersistenceConfig.php | 155 + .../V1/ClusterPersistenceConfig/AOFConfig.php | 67 + .../AOFConfig/AppendFsync.php | 71 + .../PersistenceMode.php | 68 + .../V1/ClusterPersistenceConfig/RDBConfig.php | 119 + .../RDBConfig/SnapshotPeriod.php | 75 + .../V1/ClusterWeeklyMaintenanceWindow.php | 111 + .../Redis/Cluster/V1/ConnectionDetail.php | 114 + .../Cloud/Redis/Cluster/V1/ConnectionType.php | 68 + .../Redis/Cluster/V1/CreateClusterRequest.php | 238 ++ .../V1/CrossClusterReplicationConfig.php | 277 ++ .../ClusterRole.php | 72 + .../Membership.php | 120 + .../RemoteCluster.php | 106 + .../Redis/Cluster/V1/DeleteBackupRequest.php | 120 + .../Redis/Cluster/V1/DeleteClusterRequest.php | 125 + .../Redis/Cluster/V1/DiscoveryEndpoint.php | 153 + .../Cloud/Redis/Cluster/V1/EncryptionInfo.php | 187 + .../Cluster/V1/EncryptionInfo/KmsKeyState.php | 104 + .../Redis/Cluster/V1/EncryptionInfo/Type.php | 63 + .../Redis/Cluster/V1/ExportBackupRequest.php | 113 + .../Cluster/V1/GetBackupCollectionRequest.php | 91 + .../Redis/Cluster/V1/GetBackupRequest.php | 86 + .../GetClusterCertificateAuthorityRequest.php | 92 + .../Redis/Cluster/V1/GetClusterRequest.php | 91 + .../V1/ListBackupCollectionsRequest.php | 188 + .../V1/ListBackupCollectionsResponse.php | 171 + .../Redis/Cluster/V1/ListBackupsRequest.php | 178 + .../Redis/Cluster/V1/ListBackupsResponse.php | 139 + .../Redis/Cluster/V1/ListClustersRequest.php | 183 + .../Redis/Cluster/V1/ListClustersResponse.php | 175 + .../Cloud/Redis/Cluster/V1/NodeType.php | 75 + .../Redis/Cluster/V1/OperationMetadata.php | 307 ++ .../Redis/Cluster/V1/PscAutoConnection.php | 346 ++ .../Cloud/Redis/Cluster/V1/PscConfig.php | 73 + .../Cloud/Redis/Cluster/V1/PscConnection.php | 349 ++ .../Redis/Cluster/V1/PscConnectionStatus.php | 61 + .../Redis/Cluster/V1/PscServiceAttachment.php | 106 + .../RescheduleClusterMaintenanceRequest.php | 189 + .../RescheduleType.php | 61 + .../Cluster/V1/TransitEncryptionMode.php | 61 + .../Redis/Cluster/V1/UpdateClusterRequest.php | 196 + .../Cluster/V1/ZoneDistributionConfig.php | 113 + .../ZoneDistributionMode.php | 63 + .../backup_cluster.php | 96 + .../create_cluster.php | 112 + .../CloudRedisClusterClient/delete_backup.php | 86 + .../delete_cluster.php | 83 + .../CloudRedisClusterClient/export_backup.php | 89 + .../V1/CloudRedisClusterClient/get_backup.php | 77 + .../get_backup_collection.php | 77 + .../CloudRedisClusterClient/get_cluster.php | 73 + .../get_cluster_certificate_authority.php | 77 + .../CloudRedisClusterClient/get_location.php | 57 + .../list_backup_collections.php | 83 + .../CloudRedisClusterClient/list_backups.php | 81 + .../CloudRedisClusterClient/list_clusters.php | 86 + .../list_locations.php | 62 + .../reschedule_cluster_maintenance.php | 90 + .../update_cluster.php | 93 + .../src/V1/Client/CloudRedisClusterClient.php | 972 +++++ .../v1/src/V1/gapic_metadata.json | 98 + .../cloud_redis_cluster_client_config.json | 112 + .../cloud_redis_cluster_descriptor_config.php | 316 ++ ...cloud_redis_cluster_rest_client_config.php | 265 ++ .../V1/Client/CloudRedisClusterClientTest.php | 1775 +++++++++ 2529 files changed, 504969 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/ApiAuth.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/CachedContent.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/DataFoundryService.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/DeploymentStage.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/EvaluationService.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/GenAiCacheService.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/NotebookSoftwareConfig.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/ReasoningEngine.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/ReasoningEngineExecutionService.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/ReasoningEngineService.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/ReservationAffinity.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/Session.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/SessionService.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/UsageMetadata.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/VertexRagData.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/VertexRagDataService.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/VertexRagService.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/ApiAuth.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ApiAuth/ApiKeyConfig.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/AppendEventRequest.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/AppendEventResponse.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/AskContextsRequest.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/AskContextsResponse.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/AsyncRetrieveContextsOperationMetadata.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/AsyncRetrieveContextsRequest.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/AsyncRetrieveContextsResponse.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/AugmentPromptRequest.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/AugmentPromptRequest/Model.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/AugmentPromptResponse.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/BleuInput.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/BleuInstance.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/BleuMetricValue.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/BleuResults.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/BleuSpec.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/CachedContent.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CachedContent/UsageMetadata.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/Checkpoint.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/Claim.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ClientConnectionConfig.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CodeExecutionResult.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CodeExecutionResult/Outcome.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CoherenceInput.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CoherenceInstance.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CoherenceResult.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CoherenceSpec.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ColabImage.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CometInput.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CometInstance.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CometResult.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CometSpec.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CometSpec/CometVersion.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/CorpusStatus.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CorpusStatus/State.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CorroborateContentRequest.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CorroborateContentRequest/Parameters.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CorroborateContentResponse.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/CreateCachedContentRequest.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/CreateRagCorpusOperationMetadata.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CreateRagCorpusRequest.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CreateReasoningEngineOperationMetadata.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CreateReasoningEngineRequest.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/CreateSessionOperationMetadata.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CreateSessionRequest.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/DeleteCachedContentRequest.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/DeleteRagCorpusRequest.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/DeleteRagFileRequest.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/DeleteReasoningEngineRequest.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/DeleteSessionRequest.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/DeployOperationMetadata.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/DeployRequest.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/DeployRequest/DeployConfig.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/DeployRequest/EndpointConfig.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/DeployRequest/ModelConfig.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/DeployResponse.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/DeployedIndex/DeploymentTier.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/DeployedModel/Status.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/DeploymentStage.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/DirectUploadSource.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/DnsPeeringConfig.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/DynamicRetrievalConfig.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/DynamicRetrievalConfig/Mode.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/EmbedContentRequest.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/EmbedContentRequest/EmbedContentConfig.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/EmbedContentRequest/EmbeddingTaskType.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/EmbedContentResponse.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/EmbedContentResponse/Embedding.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/EnterpriseWebSearch.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/EvaluateInstancesRequest.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/EvaluateInstancesResponse.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/EventActions.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/EventMetadata.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ExactMatchInput.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ExactMatchInstance.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ExactMatchMetricValue.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ExactMatchResults.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ExactMatchSpec.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/ExecutableCode.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ExecutableCode/Language.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/Fact.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/FasterDeploymentConfig.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/FeatureGroup/BigQuery/TimeSeries.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/Bigtable/BigtableMetadata.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/BigtableMetadata.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/OptimizedConfig.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/FeatureView/ServiceAgentType.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/FeatureView/VertexRagSource.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/FeatureViewDirectWriteRequest.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/FeatureViewDirectWriteRequest/DataKeyAndFeatureValues.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/FeatureViewDirectWriteRequest/DataKeyAndFeatureValues/Feature.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/FeatureViewDirectWriteResponse.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/FeatureViewDirectWriteResponse/WriteResponse.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/FileStatus.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/FileStatus/State.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/FluencyInput.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/FluencyInstance.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/FluencyResult.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/FluencySpec.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/FulfillmentInput.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/FulfillmentInstance.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/FulfillmentResult.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/FulfillmentSpec.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/FunctionResponseBlob.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/FunctionResponseFileData.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/FunctionResponsePart.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/GenAiAdvancedFeaturesConfig.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/GenAiAdvancedFeaturesConfig/RagConfig.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/GenerateContentResponse/UsageMetadata/TrafficType.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/GenerateFetchAccessTokenRequest.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/GenerateFetchAccessTokenResponse.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/GenerateSyntheticDataRequest.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/GenerateSyntheticDataResponse.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/GenerationConfig/MediaResolution.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/GenerationConfig/Modality.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/GenerationConfig/RoutingConfig.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/GenerationConfig/RoutingConfig/AutoRoutingMode.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/GenerationConfig/RoutingConfig/AutoRoutingMode/ModelRoutingPreference.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/GenerationConfig/RoutingConfig/ManualRoutingMode.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/GenerationConfig/ThinkingConfig.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/GenerationConfig/ThinkingConfig/ThinkingLevel.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/GetCachedContentRequest.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/GetRagCorpusRequest.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/GetRagEngineConfigRequest.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/GetRagFileRequest.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/GetReasoningEngineRequest.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/GetSessionRequest.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/GoogleDriveSource.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/GoogleDriveSource/ResourceId.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/GoogleDriveSource/ResourceId/ResourceType.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/GoogleMaps.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/GroundednessInput.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/GroundednessInstance.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/GroundednessResult.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/GroundednessSpec.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/Maps.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/GroundingChunk/Maps/PlaceAnswerSources.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/GroundingChunk/Maps/PlaceAnswerSources/ReviewSnippet.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/GroundingMetadata/SourceFlaggingUri.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/ImageConfig.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ImageConfig/ImageOutputOptions.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ImageConfig/PersonGeneration.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/ImportRagFilesConfig.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ImportRagFilesOperationMetadata.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ImportRagFilesRequest.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ImportRagFilesResponse.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/JiraSource.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/JiraSource/JiraQueries.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/ListCachedContentsRequest.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ListCachedContentsResponse.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/ListEventsRequest.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ListEventsResponse.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/ListModelVersionCheckpointsRequest.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ListModelVersionCheckpointsResponse.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/ListRagCorporaRequest.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ListRagCorporaResponse.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ListRagFilesRequest.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ListRagFilesResponse.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ListReasoningEnginesRequest.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ListReasoningEnginesResponse.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/ListSessionsRequest.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ListSessionsResponse.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/LogprobsResult.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/LogprobsResult/Candidate.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/LogprobsResult/TopCandidates.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/LustreMount.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/MetricxInput.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/MetricxInstance.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/MetricxResult.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/MetricxSpec.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/MetricxSpec/MetricxVersion.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/Modality.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ModalityTokenCount.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/ModelArmorConfig.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/ModelVersionCheckpoint.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/MultiSpeakerVoiceConfig.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/CustomEnvironmentSpec.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/NotebookExecutionJob/WorkbenchRuntime.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/NotebookSoftwareConfig.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/OutputFieldSpec.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/OutputFieldSpec/FieldType.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/PSCAutomationConfig.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/PSCAutomationState.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/PairwiseChoice.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/PairwiseMetricInput.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/PairwiseMetricInstance.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/PairwiseMetricResult.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/PairwiseMetricSpec.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/PairwiseQuestionAnsweringQualityInput.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/PairwiseQuestionAnsweringQualityInstance.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/PairwiseQuestionAnsweringQualityResult.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/PairwiseQuestionAnsweringQualitySpec.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/PairwiseSummarizationQualityInput.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/PairwiseSummarizationQualityInstance.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/PairwiseSummarizationQualityResult.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/PairwiseSummarizationQualitySpec.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/Part/MediaResolution.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/Part/MediaResolution/Level.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/PartialArg.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/PointwiseMetricInput.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/PointwiseMetricInstance.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/PointwiseMetricResult.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/PointwiseMetricSpec.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/PostStartupScriptConfig.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/PostStartupScriptConfig/PostStartupScriptBehavior.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/PreTunedModel.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/PrebuiltVoiceConfig.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/Probe/GrpcAction.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/Probe/HttpGetAction.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/Probe/HttpHeader.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/Probe/TcpSocketAction.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/PscInterfaceConfig.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/QueryReasoningEngineRequest.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/QueryReasoningEngineResponse.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/QuestionAnsweringCorrectnessInput.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/QuestionAnsweringCorrectnessInstance.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/QuestionAnsweringCorrectnessResult.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/QuestionAnsweringCorrectnessSpec.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/QuestionAnsweringHelpfulnessInput.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/QuestionAnsweringHelpfulnessInstance.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/QuestionAnsweringHelpfulnessResult.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/QuestionAnsweringHelpfulnessSpec.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/QuestionAnsweringQualityInput.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/QuestionAnsweringQualityInstance.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/QuestionAnsweringQualityResult.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/QuestionAnsweringQualitySpec.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/QuestionAnsweringRelevanceInput.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/QuestionAnsweringRelevanceInstance.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/QuestionAnsweringRelevanceResult.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/QuestionAnsweringRelevanceSpec.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/RagChunk.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/RagChunk/PageSpan.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/RagContexts.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/RagContexts/Context.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/RagCorpus.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/RagEmbeddingModelConfig.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/RagEmbeddingModelConfig/VertexPredictionEndpoint.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/RagEngineConfig.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/RagFile.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/RagFileChunkingConfig.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/RagFileChunkingConfig/FixedLengthChunking.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/RagFileParsingConfig.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/RagFileParsingConfig/LayoutParser.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/RagFileParsingConfig/LlmParser.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/RagFileTransformationConfig.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/RagManagedDbConfig.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/RagManagedDbConfig/Basic.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/RagManagedDbConfig/Scaled.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/RagManagedDbConfig/Unprovisioned.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/RagQuery.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/RagRetrievalConfig.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/RagRetrievalConfig/Filter.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/RagRetrievalConfig/Ranking.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/RagRetrievalConfig/Ranking/LlmRanker.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/RagRetrievalConfig/Ranking/RankService.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/RagVectorDbConfig.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/RagVectorDbConfig/Pinecone.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/RagVectorDbConfig/RagManagedDb.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/RagVectorDbConfig/RagManagedDb/ANN.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/RagVectorDbConfig/RagManagedDb/KNN.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/RagVectorDbConfig/VertexVectorSearch.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/ReasoningEngine.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ReasoningEngineSpec.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ReasoningEngineSpec/DeploymentSpec.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ReasoningEngineSpec/PackageSpec.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ReasoningEngineSpec/SourceCodeSpec.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ReasoningEngineSpec/SourceCodeSpec/DeveloperConnectConfig.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ReasoningEngineSpec/SourceCodeSpec/DeveloperConnectSource.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ReasoningEngineSpec/SourceCodeSpec/ImageSpec.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ReasoningEngineSpec/SourceCodeSpec/InlineSource.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ReasoningEngineSpec/SourceCodeSpec/PythonSpec.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/RebaseTunedModelOperationMetadata.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/RebaseTunedModelRequest.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/ReplicatedVoiceConfig.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ReservationAffinity.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ReservationAffinity/Type.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/RetrievalConfig.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/RetrievalMetadata.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/RetrieveContextsRequest.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/RetrieveContextsRequest/VertexRagStore.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/RetrieveContextsRequest/VertexRagStore/RagResource.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/RetrieveContextsResponse.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/RougeInput.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/RougeInstance.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/RougeMetricValue.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/RougeResults.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/RougeSpec.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/SafetyInput.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/SafetyInstance.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/SafetyResult.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/SafetySpec.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/SecretEnvVar.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/SecretRef.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/Session.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/SessionEvent.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/SharePointSources.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/SharePointSources/SharePointSource.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/SlackSource.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/SlackSource/SlackChannels.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/SlackSource/SlackChannels/SlackChannel.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/SpeakerVoiceConfig.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/SpeculativeDecodingSpec.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/SpeculativeDecodingSpec/DraftModelSpeculation.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/SpeculativeDecodingSpec/NgramSpeculation.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/SpeechConfig.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/StopNotebookRuntimeOperationMetadata.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/StopNotebookRuntimeRequest.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/StopNotebookRuntimeResponse.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/StreamQueryReasoningEngineRequest.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/SummarizationHelpfulnessInput.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/SummarizationHelpfulnessInstance.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/SummarizationHelpfulnessResult.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/SummarizationHelpfulnessSpec.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/SummarizationQualityInput.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/SummarizationQualityInstance.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/SummarizationQualityResult.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/SummarizationQualitySpec.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/SummarizationVerbosityInput.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/SummarizationVerbosityInstance.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/SummarizationVerbosityResult.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/SummarizationVerbositySpec.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/SyntheticExample.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/SyntheticField.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/TaskDescriptionStrategy.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/Tool/CodeExecution.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/Tool/ComputerUse.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/Tool/ComputerUse/Environment.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/Tool/GoogleSearch.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/Tool/PhishBlockThreshold.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ToolCallValidInput.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ToolCallValidInstance.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ToolCallValidMetricValue.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ToolCallValidResults.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ToolCallValidSpec.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/ToolNameMatchInput.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ToolNameMatchInstance.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ToolNameMatchMetricValue.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ToolNameMatchResults.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ToolNameMatchSpec.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ToolParameterKVMatchInput.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ToolParameterKVMatchInstance.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ToolParameterKVMatchMetricValue.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ToolParameterKVMatchResults.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ToolParameterKVMatchSpec.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ToolParameterKeyMatchInput.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ToolParameterKeyMatchInstance.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ToolParameterKeyMatchMetricValue.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ToolParameterKeyMatchResults.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ToolParameterKeyMatchSpec.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/Transcription.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/TunedModelCheckpoint.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/TunedModelRef.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/UpdateCachedContentRequest.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/UpdateEndpointLongRunningRequest.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/UpdateEndpointOperationMetadata.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/UpdateRagCorpusOperationMetadata.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/UpdateRagCorpusRequest.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/UpdateRagEngineConfigOperationMetadata.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/UpdateRagEngineConfigRequest.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/UpdateReasoningEngineOperationMetadata.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/UpdateReasoningEngineRequest.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/UpdateSessionRequest.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/UploadRagFileConfig.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/UploadRagFileRequest.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/UploadRagFileResponse.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/UrlContext.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/UrlContextMetadata.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/UrlMetadata.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/UrlMetadata/UrlRetrievalStatus.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/UsageMetadata.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/UsageMetadata/TrafficType.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/VertexAISearch/DataStoreSpec.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/VertexAiSearchConfig.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/VertexMultimodalDatasetDestination.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/VertexMultimodalDatasetSource.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/VertexRagStore.php create mode 100644 owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/VertexRagStore/RagResource.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/VoiceConfig.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/DataFoundryServiceClient/generate_synthetic_data.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/DataFoundryServiceClient/get_iam_policy.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/DataFoundryServiceClient/get_location.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/DataFoundryServiceClient/list_locations.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/DataFoundryServiceClient/set_iam_policy.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/DataFoundryServiceClient/test_iam_permissions.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/EndpointServiceClient/update_endpoint_long_running.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/EvaluationServiceClient/evaluate_instances.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/EvaluationServiceClient/get_iam_policy.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/EvaluationServiceClient/get_location.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/EvaluationServiceClient/list_locations.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/EvaluationServiceClient/set_iam_policy.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/EvaluationServiceClient/test_iam_permissions.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/feature_view_direct_write.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/generate_fetch_access_token.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/batch_create_features.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/GenAiCacheServiceClient/create_cached_content.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/GenAiCacheServiceClient/delete_cached_content.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/GenAiCacheServiceClient/get_cached_content.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/GenAiCacheServiceClient/get_iam_policy.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/GenAiCacheServiceClient/get_location.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/GenAiCacheServiceClient/list_cached_contents.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/GenAiCacheServiceClient/list_locations.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/GenAiCacheServiceClient/set_iam_policy.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/GenAiCacheServiceClient/test_iam_permissions.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/GenAiCacheServiceClient/update_cached_content.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/rebase_tuned_model.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/deploy.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_version_checkpoints.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/stop_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/embed_content.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/ReasoningEngineExecutionServiceClient/get_iam_policy.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/ReasoningEngineExecutionServiceClient/get_location.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/ReasoningEngineExecutionServiceClient/list_locations.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/ReasoningEngineExecutionServiceClient/query_reasoning_engine.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/ReasoningEngineExecutionServiceClient/set_iam_policy.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/ReasoningEngineExecutionServiceClient/stream_query_reasoning_engine.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/ReasoningEngineExecutionServiceClient/test_iam_permissions.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/ReasoningEngineServiceClient/create_reasoning_engine.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/ReasoningEngineServiceClient/delete_reasoning_engine.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/ReasoningEngineServiceClient/get_iam_policy.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/ReasoningEngineServiceClient/get_location.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/ReasoningEngineServiceClient/get_reasoning_engine.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/ReasoningEngineServiceClient/list_locations.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/ReasoningEngineServiceClient/list_reasoning_engines.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/ReasoningEngineServiceClient/set_iam_policy.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/ReasoningEngineServiceClient/test_iam_permissions.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/ReasoningEngineServiceClient/update_reasoning_engine.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/SessionServiceClient/append_event.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/SessionServiceClient/create_session.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/SessionServiceClient/delete_session.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/SessionServiceClient/get_iam_policy.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/SessionServiceClient/get_location.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/SessionServiceClient/get_session.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/SessionServiceClient/list_events.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/SessionServiceClient/list_locations.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/SessionServiceClient/list_sessions.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/SessionServiceClient/set_iam_policy.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/SessionServiceClient/test_iam_permissions.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/SessionServiceClient/update_session.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/VertexRagDataServiceClient/create_rag_corpus.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/VertexRagDataServiceClient/delete_rag_corpus.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/VertexRagDataServiceClient/delete_rag_file.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/VertexRagDataServiceClient/get_iam_policy.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/VertexRagDataServiceClient/get_location.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/VertexRagDataServiceClient/get_rag_corpus.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/VertexRagDataServiceClient/get_rag_engine_config.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/VertexRagDataServiceClient/get_rag_file.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/VertexRagDataServiceClient/import_rag_files.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/VertexRagDataServiceClient/list_locations.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/VertexRagDataServiceClient/list_rag_corpora.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/VertexRagDataServiceClient/list_rag_files.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/VertexRagDataServiceClient/set_iam_policy.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/VertexRagDataServiceClient/test_iam_permissions.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/VertexRagDataServiceClient/update_rag_corpus.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/VertexRagDataServiceClient/update_rag_engine_config.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/VertexRagDataServiceClient/upload_rag_file.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/VertexRagServiceClient/ask_contexts.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/VertexRagServiceClient/async_retrieve_contexts.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/VertexRagServiceClient/augment_prompt.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/VertexRagServiceClient/corroborate_content.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/VertexRagServiceClient/get_iam_policy.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/VertexRagServiceClient/get_location.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/VertexRagServiceClient/list_locations.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/VertexRagServiceClient/retrieve_contexts.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/VertexRagServiceClient/set_iam_policy.php create mode 100644 owl-bot-staging/AiPlatform/v1/samples/V1/VertexRagServiceClient/test_iam_permissions.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/DataFoundryServiceClient.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/EvaluationServiceClient.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/GenAiCacheServiceClient.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/ReasoningEngineExecutionServiceClient.php create mode 100644 owl-bot-staging/AiPlatform/v1/src/V1/Client/ReasoningEngineServiceClient.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/SessionServiceClient.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/VertexRagDataServiceClient.php create mode 100644 owl-bot-staging/AiPlatform/v1/src/V1/Client/VertexRagServiceClient.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/data_foundry_service_client_config.json create mode 100644 owl-bot-staging/AiPlatform/v1/src/V1/resources/data_foundry_service_descriptor_config.php create mode 100644 owl-bot-staging/AiPlatform/v1/src/V1/resources/data_foundry_service_rest_client_config.php 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/evaluation_service_client_config.json create mode 100644 owl-bot-staging/AiPlatform/v1/src/V1/resources/evaluation_service_descriptor_config.php create mode 100644 owl-bot-staging/AiPlatform/v1/src/V1/resources/evaluation_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_cache_service_client_config.json create mode 100644 owl-bot-staging/AiPlatform/v1/src/V1/resources/gen_ai_cache_service_descriptor_config.php create mode 100644 owl-bot-staging/AiPlatform/v1/src/V1/resources/gen_ai_cache_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/reasoning_engine_execution_service_client_config.json create mode 100644 owl-bot-staging/AiPlatform/v1/src/V1/resources/reasoning_engine_execution_service_descriptor_config.php create mode 100644 owl-bot-staging/AiPlatform/v1/src/V1/resources/reasoning_engine_execution_service_rest_client_config.php create mode 100644 owl-bot-staging/AiPlatform/v1/src/V1/resources/reasoning_engine_service_client_config.json create mode 100644 owl-bot-staging/AiPlatform/v1/src/V1/resources/reasoning_engine_service_descriptor_config.php create mode 100644 owl-bot-staging/AiPlatform/v1/src/V1/resources/reasoning_engine_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/session_service_client_config.json create mode 100644 owl-bot-staging/AiPlatform/v1/src/V1/resources/session_service_descriptor_config.php create mode 100644 owl-bot-staging/AiPlatform/v1/src/V1/resources/session_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/vertex_rag_data_service_client_config.json create mode 100644 owl-bot-staging/AiPlatform/v1/src/V1/resources/vertex_rag_data_service_descriptor_config.php create mode 100644 owl-bot-staging/AiPlatform/v1/src/V1/resources/vertex_rag_data_service_rest_client_config.php create mode 100644 owl-bot-staging/AiPlatform/v1/src/V1/resources/vertex_rag_service_client_config.json create mode 100644 owl-bot-staging/AiPlatform/v1/src/V1/resources/vertex_rag_service_descriptor_config.php create mode 100644 owl-bot-staging/AiPlatform/v1/src/V1/resources/vertex_rag_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/DataFoundryServiceClientTest.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/EvaluationServiceClientTest.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/GenAiCacheServiceClientTest.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/ReasoningEngineExecutionServiceClientTest.php create mode 100644 owl-bot-staging/AiPlatform/v1/tests/Unit/V1/Client/ReasoningEngineServiceClientTest.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/SessionServiceClientTest.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/VertexRagDataServiceClientTest.php create mode 100644 owl-bot-staging/AiPlatform/v1/tests/Unit/V1/Client/VertexRagServiceClientTest.php create mode 100644 owl-bot-staging/AiPlatform/v1/tests/Unit/V1/Client/VizierServiceClientTest.php create mode 100644 owl-bot-staging/Dataflow/v1beta3/proto/src/GPBMetadata/Google/Dataflow/V1Beta3/Environment.php create mode 100644 owl-bot-staging/Dataflow/v1beta3/proto/src/GPBMetadata/Google/Dataflow/V1Beta3/Jobs.php create mode 100644 owl-bot-staging/Dataflow/v1beta3/proto/src/GPBMetadata/Google/Dataflow/V1Beta3/Messages.php create mode 100644 owl-bot-staging/Dataflow/v1beta3/proto/src/GPBMetadata/Google/Dataflow/V1Beta3/Metrics.php create mode 100644 owl-bot-staging/Dataflow/v1beta3/proto/src/GPBMetadata/Google/Dataflow/V1Beta3/Snapshots.php create mode 100644 owl-bot-staging/Dataflow/v1beta3/proto/src/GPBMetadata/Google/Dataflow/V1Beta3/Streaming.php create mode 100644 owl-bot-staging/Dataflow/v1beta3/proto/src/GPBMetadata/Google/Dataflow/V1Beta3/Templates.php create mode 100644 owl-bot-staging/Dataflow/v1beta3/proto/src/Google/Cloud/Dataflow/V1beta3/AutoscalingAlgorithm.php create mode 100644 owl-bot-staging/Dataflow/v1beta3/proto/src/Google/Cloud/Dataflow/V1beta3/AutoscalingEvent.php create mode 100644 owl-bot-staging/Dataflow/v1beta3/proto/src/Google/Cloud/Dataflow/V1beta3/AutoscalingEvent/AutoscalingEventType.php create mode 100644 owl-bot-staging/Dataflow/v1beta3/proto/src/Google/Cloud/Dataflow/V1beta3/AutoscalingSettings.php create mode 100644 owl-bot-staging/Dataflow/v1beta3/proto/src/Google/Cloud/Dataflow/V1beta3/BigQueryIODetails.php create mode 100644 owl-bot-staging/Dataflow/v1beta3/proto/src/Google/Cloud/Dataflow/V1beta3/BigTableIODetails.php create mode 100644 owl-bot-staging/Dataflow/v1beta3/proto/src/Google/Cloud/Dataflow/V1beta3/CheckActiveJobsRequest.php create mode 100644 owl-bot-staging/Dataflow/v1beta3/proto/src/Google/Cloud/Dataflow/V1beta3/CheckActiveJobsResponse.php create mode 100644 owl-bot-staging/Dataflow/v1beta3/proto/src/Google/Cloud/Dataflow/V1beta3/ComputationTopology.php create mode 100644 owl-bot-staging/Dataflow/v1beta3/proto/src/Google/Cloud/Dataflow/V1beta3/ContainerSpec.php create mode 100644 owl-bot-staging/Dataflow/v1beta3/proto/src/Google/Cloud/Dataflow/V1beta3/CreateJobFromTemplateRequest.php create mode 100644 owl-bot-staging/Dataflow/v1beta3/proto/src/Google/Cloud/Dataflow/V1beta3/CreateJobRequest.php create mode 100644 owl-bot-staging/Dataflow/v1beta3/proto/src/Google/Cloud/Dataflow/V1beta3/CustomSourceLocation.php create mode 100644 owl-bot-staging/Dataflow/v1beta3/proto/src/Google/Cloud/Dataflow/V1beta3/DataDiskAssignment.php create mode 100644 owl-bot-staging/Dataflow/v1beta3/proto/src/Google/Cloud/Dataflow/V1beta3/DataSamplingConfig.php create mode 100644 owl-bot-staging/Dataflow/v1beta3/proto/src/Google/Cloud/Dataflow/V1beta3/DataSamplingConfig/DataSamplingBehavior.php create mode 100644 owl-bot-staging/Dataflow/v1beta3/proto/src/Google/Cloud/Dataflow/V1beta3/DatastoreIODetails.php create mode 100644 owl-bot-staging/Dataflow/v1beta3/proto/src/Google/Cloud/Dataflow/V1beta3/DebugOptions.php create mode 100644 owl-bot-staging/Dataflow/v1beta3/proto/src/Google/Cloud/Dataflow/V1beta3/DefaultPackageSet.php create mode 100644 owl-bot-staging/Dataflow/v1beta3/proto/src/Google/Cloud/Dataflow/V1beta3/DeleteSnapshotRequest.php create mode 100644 owl-bot-staging/Dataflow/v1beta3/proto/src/Google/Cloud/Dataflow/V1beta3/DeleteSnapshotResponse.php create mode 100644 owl-bot-staging/Dataflow/v1beta3/proto/src/Google/Cloud/Dataflow/V1beta3/Disk.php create mode 100644 owl-bot-staging/Dataflow/v1beta3/proto/src/Google/Cloud/Dataflow/V1beta3/DisplayData.php create mode 100644 owl-bot-staging/Dataflow/v1beta3/proto/src/Google/Cloud/Dataflow/V1beta3/DynamicTemplateLaunchParams.php create mode 100644 owl-bot-staging/Dataflow/v1beta3/proto/src/Google/Cloud/Dataflow/V1beta3/Environment.php create mode 100644 owl-bot-staging/Dataflow/v1beta3/proto/src/Google/Cloud/Dataflow/V1beta3/ExecutionStageState.php create mode 100644 owl-bot-staging/Dataflow/v1beta3/proto/src/Google/Cloud/Dataflow/V1beta3/ExecutionStageSummary.php create mode 100644 owl-bot-staging/Dataflow/v1beta3/proto/src/Google/Cloud/Dataflow/V1beta3/ExecutionStageSummary/ComponentSource.php create mode 100644 owl-bot-staging/Dataflow/v1beta3/proto/src/Google/Cloud/Dataflow/V1beta3/ExecutionStageSummary/ComponentTransform.php create mode 100644 owl-bot-staging/Dataflow/v1beta3/proto/src/Google/Cloud/Dataflow/V1beta3/ExecutionStageSummary/StageSource.php create mode 100644 owl-bot-staging/Dataflow/v1beta3/proto/src/Google/Cloud/Dataflow/V1beta3/ExecutionState.php create mode 100644 owl-bot-staging/Dataflow/v1beta3/proto/src/Google/Cloud/Dataflow/V1beta3/FailedLocation.php create mode 100644 owl-bot-staging/Dataflow/v1beta3/proto/src/Google/Cloud/Dataflow/V1beta3/FileIODetails.php create mode 100644 owl-bot-staging/Dataflow/v1beta3/proto/src/Google/Cloud/Dataflow/V1beta3/FlexResourceSchedulingGoal.php create mode 100644 owl-bot-staging/Dataflow/v1beta3/proto/src/Google/Cloud/Dataflow/V1beta3/FlexTemplateRuntimeEnvironment.php create mode 100644 owl-bot-staging/Dataflow/v1beta3/proto/src/Google/Cloud/Dataflow/V1beta3/GetJobExecutionDetailsRequest.php create mode 100644 owl-bot-staging/Dataflow/v1beta3/proto/src/Google/Cloud/Dataflow/V1beta3/GetJobMetricsRequest.php create mode 100644 owl-bot-staging/Dataflow/v1beta3/proto/src/Google/Cloud/Dataflow/V1beta3/GetJobRequest.php create mode 100644 owl-bot-staging/Dataflow/v1beta3/proto/src/Google/Cloud/Dataflow/V1beta3/GetSnapshotRequest.php create mode 100644 owl-bot-staging/Dataflow/v1beta3/proto/src/Google/Cloud/Dataflow/V1beta3/GetStageExecutionDetailsRequest.php create mode 100644 owl-bot-staging/Dataflow/v1beta3/proto/src/Google/Cloud/Dataflow/V1beta3/GetTemplateRequest.php create mode 100644 owl-bot-staging/Dataflow/v1beta3/proto/src/Google/Cloud/Dataflow/V1beta3/GetTemplateRequest/TemplateView.php create mode 100644 owl-bot-staging/Dataflow/v1beta3/proto/src/Google/Cloud/Dataflow/V1beta3/GetTemplateResponse.php create mode 100644 owl-bot-staging/Dataflow/v1beta3/proto/src/Google/Cloud/Dataflow/V1beta3/GetTemplateResponse/TemplateType.php create mode 100644 owl-bot-staging/Dataflow/v1beta3/proto/src/Google/Cloud/Dataflow/V1beta3/HotKeyDebuggingInfo.php create mode 100644 owl-bot-staging/Dataflow/v1beta3/proto/src/Google/Cloud/Dataflow/V1beta3/HotKeyDebuggingInfo/HotKeyInfo.php create mode 100644 owl-bot-staging/Dataflow/v1beta3/proto/src/Google/Cloud/Dataflow/V1beta3/InvalidTemplateParameters.php create mode 100644 owl-bot-staging/Dataflow/v1beta3/proto/src/Google/Cloud/Dataflow/V1beta3/InvalidTemplateParameters/ParameterViolation.php create mode 100644 owl-bot-staging/Dataflow/v1beta3/proto/src/Google/Cloud/Dataflow/V1beta3/Job.php create mode 100644 owl-bot-staging/Dataflow/v1beta3/proto/src/Google/Cloud/Dataflow/V1beta3/JobExecutionDetails.php create mode 100644 owl-bot-staging/Dataflow/v1beta3/proto/src/Google/Cloud/Dataflow/V1beta3/JobExecutionInfo.php create mode 100644 owl-bot-staging/Dataflow/v1beta3/proto/src/Google/Cloud/Dataflow/V1beta3/JobExecutionStageInfo.php create mode 100644 owl-bot-staging/Dataflow/v1beta3/proto/src/Google/Cloud/Dataflow/V1beta3/JobMessage.php create mode 100644 owl-bot-staging/Dataflow/v1beta3/proto/src/Google/Cloud/Dataflow/V1beta3/JobMessageImportance.php create mode 100644 owl-bot-staging/Dataflow/v1beta3/proto/src/Google/Cloud/Dataflow/V1beta3/JobMetadata.php create mode 100644 owl-bot-staging/Dataflow/v1beta3/proto/src/Google/Cloud/Dataflow/V1beta3/JobMetrics.php create mode 100644 owl-bot-staging/Dataflow/v1beta3/proto/src/Google/Cloud/Dataflow/V1beta3/JobState.php create mode 100644 owl-bot-staging/Dataflow/v1beta3/proto/src/Google/Cloud/Dataflow/V1beta3/JobType.php create mode 100644 owl-bot-staging/Dataflow/v1beta3/proto/src/Google/Cloud/Dataflow/V1beta3/JobView.php create mode 100644 owl-bot-staging/Dataflow/v1beta3/proto/src/Google/Cloud/Dataflow/V1beta3/KeyRangeDataDiskAssignment.php create mode 100644 owl-bot-staging/Dataflow/v1beta3/proto/src/Google/Cloud/Dataflow/V1beta3/KeyRangeLocation.php create mode 100644 owl-bot-staging/Dataflow/v1beta3/proto/src/Google/Cloud/Dataflow/V1beta3/KindType.php create mode 100644 owl-bot-staging/Dataflow/v1beta3/proto/src/Google/Cloud/Dataflow/V1beta3/LaunchFlexTemplateParameter.php create mode 100644 owl-bot-staging/Dataflow/v1beta3/proto/src/Google/Cloud/Dataflow/V1beta3/LaunchFlexTemplateRequest.php create mode 100644 owl-bot-staging/Dataflow/v1beta3/proto/src/Google/Cloud/Dataflow/V1beta3/LaunchFlexTemplateResponse.php create mode 100644 owl-bot-staging/Dataflow/v1beta3/proto/src/Google/Cloud/Dataflow/V1beta3/LaunchTemplateParameters.php create mode 100644 owl-bot-staging/Dataflow/v1beta3/proto/src/Google/Cloud/Dataflow/V1beta3/LaunchTemplateRequest.php create mode 100644 owl-bot-staging/Dataflow/v1beta3/proto/src/Google/Cloud/Dataflow/V1beta3/LaunchTemplateResponse.php create mode 100644 owl-bot-staging/Dataflow/v1beta3/proto/src/Google/Cloud/Dataflow/V1beta3/ListJobMessagesRequest.php create mode 100644 owl-bot-staging/Dataflow/v1beta3/proto/src/Google/Cloud/Dataflow/V1beta3/ListJobMessagesResponse.php create mode 100644 owl-bot-staging/Dataflow/v1beta3/proto/src/Google/Cloud/Dataflow/V1beta3/ListJobsRequest.php create mode 100644 owl-bot-staging/Dataflow/v1beta3/proto/src/Google/Cloud/Dataflow/V1beta3/ListJobsRequest/Filter.php create mode 100644 owl-bot-staging/Dataflow/v1beta3/proto/src/Google/Cloud/Dataflow/V1beta3/ListJobsResponse.php create mode 100644 owl-bot-staging/Dataflow/v1beta3/proto/src/Google/Cloud/Dataflow/V1beta3/ListSnapshotsRequest.php create mode 100644 owl-bot-staging/Dataflow/v1beta3/proto/src/Google/Cloud/Dataflow/V1beta3/ListSnapshotsResponse.php create mode 100644 owl-bot-staging/Dataflow/v1beta3/proto/src/Google/Cloud/Dataflow/V1beta3/MetricStructuredName.php create mode 100644 owl-bot-staging/Dataflow/v1beta3/proto/src/Google/Cloud/Dataflow/V1beta3/MetricUpdate.php create mode 100644 owl-bot-staging/Dataflow/v1beta3/proto/src/Google/Cloud/Dataflow/V1beta3/MountedDataDisk.php create mode 100644 owl-bot-staging/Dataflow/v1beta3/proto/src/Google/Cloud/Dataflow/V1beta3/Package.php create mode 100644 owl-bot-staging/Dataflow/v1beta3/proto/src/Google/Cloud/Dataflow/V1beta3/ParameterMetadata.php create mode 100644 owl-bot-staging/Dataflow/v1beta3/proto/src/Google/Cloud/Dataflow/V1beta3/ParameterMetadataEnumOption.php create mode 100644 owl-bot-staging/Dataflow/v1beta3/proto/src/Google/Cloud/Dataflow/V1beta3/ParameterType.php create mode 100644 owl-bot-staging/Dataflow/v1beta3/proto/src/Google/Cloud/Dataflow/V1beta3/PipelineDescription.php create mode 100644 owl-bot-staging/Dataflow/v1beta3/proto/src/Google/Cloud/Dataflow/V1beta3/ProgressTimeseries.php create mode 100644 owl-bot-staging/Dataflow/v1beta3/proto/src/Google/Cloud/Dataflow/V1beta3/ProgressTimeseries/Point.php create mode 100644 owl-bot-staging/Dataflow/v1beta3/proto/src/Google/Cloud/Dataflow/V1beta3/PubSubIODetails.php create mode 100644 owl-bot-staging/Dataflow/v1beta3/proto/src/Google/Cloud/Dataflow/V1beta3/PubsubLocation.php create mode 100644 owl-bot-staging/Dataflow/v1beta3/proto/src/Google/Cloud/Dataflow/V1beta3/PubsubSnapshotMetadata.php create mode 100644 owl-bot-staging/Dataflow/v1beta3/proto/src/Google/Cloud/Dataflow/V1beta3/RuntimeEnvironment.php create mode 100644 owl-bot-staging/Dataflow/v1beta3/proto/src/Google/Cloud/Dataflow/V1beta3/RuntimeMetadata.php create mode 100644 owl-bot-staging/Dataflow/v1beta3/proto/src/Google/Cloud/Dataflow/V1beta3/RuntimeUpdatableParams.php create mode 100644 owl-bot-staging/Dataflow/v1beta3/proto/src/Google/Cloud/Dataflow/V1beta3/SDKInfo.php create mode 100644 owl-bot-staging/Dataflow/v1beta3/proto/src/Google/Cloud/Dataflow/V1beta3/SDKInfo/Language.php create mode 100644 owl-bot-staging/Dataflow/v1beta3/proto/src/Google/Cloud/Dataflow/V1beta3/SdkBug.php create mode 100644 owl-bot-staging/Dataflow/v1beta3/proto/src/Google/Cloud/Dataflow/V1beta3/SdkBug/Severity.php create mode 100644 owl-bot-staging/Dataflow/v1beta3/proto/src/Google/Cloud/Dataflow/V1beta3/SdkBug/Type.php create mode 100644 owl-bot-staging/Dataflow/v1beta3/proto/src/Google/Cloud/Dataflow/V1beta3/SdkHarnessContainerImage.php create mode 100644 owl-bot-staging/Dataflow/v1beta3/proto/src/Google/Cloud/Dataflow/V1beta3/SdkVersion.php create mode 100644 owl-bot-staging/Dataflow/v1beta3/proto/src/Google/Cloud/Dataflow/V1beta3/SdkVersion/SdkSupportStatus.php create mode 100644 owl-bot-staging/Dataflow/v1beta3/proto/src/Google/Cloud/Dataflow/V1beta3/ServiceResources.php create mode 100644 owl-bot-staging/Dataflow/v1beta3/proto/src/Google/Cloud/Dataflow/V1beta3/ShuffleMode.php create mode 100644 owl-bot-staging/Dataflow/v1beta3/proto/src/Google/Cloud/Dataflow/V1beta3/Snapshot.php create mode 100644 owl-bot-staging/Dataflow/v1beta3/proto/src/Google/Cloud/Dataflow/V1beta3/SnapshotJobRequest.php create mode 100644 owl-bot-staging/Dataflow/v1beta3/proto/src/Google/Cloud/Dataflow/V1beta3/SnapshotState.php create mode 100644 owl-bot-staging/Dataflow/v1beta3/proto/src/Google/Cloud/Dataflow/V1beta3/SpannerIODetails.php create mode 100644 owl-bot-staging/Dataflow/v1beta3/proto/src/Google/Cloud/Dataflow/V1beta3/StageExecutionDetails.php create mode 100644 owl-bot-staging/Dataflow/v1beta3/proto/src/Google/Cloud/Dataflow/V1beta3/StageSummary.php create mode 100644 owl-bot-staging/Dataflow/v1beta3/proto/src/Google/Cloud/Dataflow/V1beta3/StateFamilyConfig.php create mode 100644 owl-bot-staging/Dataflow/v1beta3/proto/src/Google/Cloud/Dataflow/V1beta3/Step.php create mode 100644 owl-bot-staging/Dataflow/v1beta3/proto/src/Google/Cloud/Dataflow/V1beta3/Straggler.php create mode 100644 owl-bot-staging/Dataflow/v1beta3/proto/src/Google/Cloud/Dataflow/V1beta3/StragglerInfo.php create mode 100644 owl-bot-staging/Dataflow/v1beta3/proto/src/Google/Cloud/Dataflow/V1beta3/StragglerInfo/StragglerDebuggingInfo.php create mode 100644 owl-bot-staging/Dataflow/v1beta3/proto/src/Google/Cloud/Dataflow/V1beta3/StragglerSummary.php create mode 100644 owl-bot-staging/Dataflow/v1beta3/proto/src/Google/Cloud/Dataflow/V1beta3/StreamLocation.php create mode 100644 owl-bot-staging/Dataflow/v1beta3/proto/src/Google/Cloud/Dataflow/V1beta3/StreamingApplianceSnapshotConfig.php create mode 100644 owl-bot-staging/Dataflow/v1beta3/proto/src/Google/Cloud/Dataflow/V1beta3/StreamingComputationRanges.php create mode 100644 owl-bot-staging/Dataflow/v1beta3/proto/src/Google/Cloud/Dataflow/V1beta3/StreamingMode.php create mode 100644 owl-bot-staging/Dataflow/v1beta3/proto/src/Google/Cloud/Dataflow/V1beta3/StreamingSideInputLocation.php create mode 100644 owl-bot-staging/Dataflow/v1beta3/proto/src/Google/Cloud/Dataflow/V1beta3/StreamingStageLocation.php create mode 100644 owl-bot-staging/Dataflow/v1beta3/proto/src/Google/Cloud/Dataflow/V1beta3/StreamingStragglerInfo.php create mode 100644 owl-bot-staging/Dataflow/v1beta3/proto/src/Google/Cloud/Dataflow/V1beta3/StructuredMessage.php create mode 100644 owl-bot-staging/Dataflow/v1beta3/proto/src/Google/Cloud/Dataflow/V1beta3/StructuredMessage/Parameter.php create mode 100644 owl-bot-staging/Dataflow/v1beta3/proto/src/Google/Cloud/Dataflow/V1beta3/TaskRunnerSettings.php create mode 100644 owl-bot-staging/Dataflow/v1beta3/proto/src/Google/Cloud/Dataflow/V1beta3/TeardownPolicy.php create mode 100644 owl-bot-staging/Dataflow/v1beta3/proto/src/Google/Cloud/Dataflow/V1beta3/TemplateMetadata.php create mode 100644 owl-bot-staging/Dataflow/v1beta3/proto/src/Google/Cloud/Dataflow/V1beta3/TopologyConfig.php create mode 100644 owl-bot-staging/Dataflow/v1beta3/proto/src/Google/Cloud/Dataflow/V1beta3/TransformSummary.php create mode 100644 owl-bot-staging/Dataflow/v1beta3/proto/src/Google/Cloud/Dataflow/V1beta3/UpdateJobRequest.php create mode 100644 owl-bot-staging/Dataflow/v1beta3/proto/src/Google/Cloud/Dataflow/V1beta3/WorkItemDetails.php create mode 100644 owl-bot-staging/Dataflow/v1beta3/proto/src/Google/Cloud/Dataflow/V1beta3/WorkerDetails.php create mode 100644 owl-bot-staging/Dataflow/v1beta3/proto/src/Google/Cloud/Dataflow/V1beta3/WorkerIPAddressConfiguration.php create mode 100644 owl-bot-staging/Dataflow/v1beta3/proto/src/Google/Cloud/Dataflow/V1beta3/WorkerPool.php create mode 100644 owl-bot-staging/Dataflow/v1beta3/proto/src/Google/Cloud/Dataflow/V1beta3/WorkerSettings.php create mode 100644 owl-bot-staging/Dataflow/v1beta3/samples/V1beta3/FlexTemplatesServiceClient/launch_flex_template.php create mode 100644 owl-bot-staging/Dataflow/v1beta3/samples/V1beta3/JobsV1Beta3Client/aggregated_list_jobs.php create mode 100644 owl-bot-staging/Dataflow/v1beta3/samples/V1beta3/JobsV1Beta3Client/check_active_jobs.php create mode 100644 owl-bot-staging/Dataflow/v1beta3/samples/V1beta3/JobsV1Beta3Client/create_job.php create mode 100644 owl-bot-staging/Dataflow/v1beta3/samples/V1beta3/JobsV1Beta3Client/get_job.php create mode 100644 owl-bot-staging/Dataflow/v1beta3/samples/V1beta3/JobsV1Beta3Client/list_jobs.php create mode 100644 owl-bot-staging/Dataflow/v1beta3/samples/V1beta3/JobsV1Beta3Client/snapshot_job.php create mode 100644 owl-bot-staging/Dataflow/v1beta3/samples/V1beta3/JobsV1Beta3Client/update_job.php create mode 100644 owl-bot-staging/Dataflow/v1beta3/samples/V1beta3/MessagesV1Beta3Client/list_job_messages.php create mode 100644 owl-bot-staging/Dataflow/v1beta3/samples/V1beta3/MetricsV1Beta3Client/get_job_execution_details.php create mode 100644 owl-bot-staging/Dataflow/v1beta3/samples/V1beta3/MetricsV1Beta3Client/get_job_metrics.php create mode 100644 owl-bot-staging/Dataflow/v1beta3/samples/V1beta3/MetricsV1Beta3Client/get_stage_execution_details.php create mode 100644 owl-bot-staging/Dataflow/v1beta3/samples/V1beta3/SnapshotsV1Beta3Client/delete_snapshot.php create mode 100644 owl-bot-staging/Dataflow/v1beta3/samples/V1beta3/SnapshotsV1Beta3Client/get_snapshot.php create mode 100644 owl-bot-staging/Dataflow/v1beta3/samples/V1beta3/SnapshotsV1Beta3Client/list_snapshots.php create mode 100644 owl-bot-staging/Dataflow/v1beta3/samples/V1beta3/TemplatesServiceClient/create_job_from_template.php create mode 100644 owl-bot-staging/Dataflow/v1beta3/samples/V1beta3/TemplatesServiceClient/get_template.php create mode 100644 owl-bot-staging/Dataflow/v1beta3/samples/V1beta3/TemplatesServiceClient/launch_template.php create mode 100644 owl-bot-staging/Dataflow/v1beta3/src/V1beta3/Client/FlexTemplatesServiceClient.php create mode 100644 owl-bot-staging/Dataflow/v1beta3/src/V1beta3/Client/JobsV1Beta3Client.php create mode 100644 owl-bot-staging/Dataflow/v1beta3/src/V1beta3/Client/MessagesV1Beta3Client.php create mode 100644 owl-bot-staging/Dataflow/v1beta3/src/V1beta3/Client/MetricsV1Beta3Client.php create mode 100644 owl-bot-staging/Dataflow/v1beta3/src/V1beta3/Client/SnapshotsV1Beta3Client.php create mode 100644 owl-bot-staging/Dataflow/v1beta3/src/V1beta3/Client/TemplatesServiceClient.php create mode 100644 owl-bot-staging/Dataflow/v1beta3/src/V1beta3/gapic_metadata.json create mode 100644 owl-bot-staging/Dataflow/v1beta3/src/V1beta3/resources/flex_templates_service_client_config.json create mode 100644 owl-bot-staging/Dataflow/v1beta3/src/V1beta3/resources/flex_templates_service_descriptor_config.php create mode 100644 owl-bot-staging/Dataflow/v1beta3/src/V1beta3/resources/flex_templates_service_rest_client_config.php create mode 100644 owl-bot-staging/Dataflow/v1beta3/src/V1beta3/resources/jobs_v1_beta3_client_config.json create mode 100644 owl-bot-staging/Dataflow/v1beta3/src/V1beta3/resources/jobs_v1_beta3_descriptor_config.php create mode 100644 owl-bot-staging/Dataflow/v1beta3/src/V1beta3/resources/jobs_v1_beta3_rest_client_config.php create mode 100644 owl-bot-staging/Dataflow/v1beta3/src/V1beta3/resources/messages_v1_beta3_client_config.json create mode 100644 owl-bot-staging/Dataflow/v1beta3/src/V1beta3/resources/messages_v1_beta3_descriptor_config.php create mode 100644 owl-bot-staging/Dataflow/v1beta3/src/V1beta3/resources/messages_v1_beta3_rest_client_config.php create mode 100644 owl-bot-staging/Dataflow/v1beta3/src/V1beta3/resources/metrics_v1_beta3_client_config.json create mode 100644 owl-bot-staging/Dataflow/v1beta3/src/V1beta3/resources/metrics_v1_beta3_descriptor_config.php create mode 100644 owl-bot-staging/Dataflow/v1beta3/src/V1beta3/resources/metrics_v1_beta3_rest_client_config.php create mode 100644 owl-bot-staging/Dataflow/v1beta3/src/V1beta3/resources/snapshots_v1_beta3_client_config.json create mode 100644 owl-bot-staging/Dataflow/v1beta3/src/V1beta3/resources/snapshots_v1_beta3_descriptor_config.php create mode 100644 owl-bot-staging/Dataflow/v1beta3/src/V1beta3/resources/snapshots_v1_beta3_rest_client_config.php create mode 100644 owl-bot-staging/Dataflow/v1beta3/src/V1beta3/resources/templates_service_client_config.json create mode 100644 owl-bot-staging/Dataflow/v1beta3/src/V1beta3/resources/templates_service_descriptor_config.php create mode 100644 owl-bot-staging/Dataflow/v1beta3/src/V1beta3/resources/templates_service_rest_client_config.php create mode 100644 owl-bot-staging/Dataflow/v1beta3/tests/Unit/V1beta3/Client/FlexTemplatesServiceClientTest.php create mode 100644 owl-bot-staging/Dataflow/v1beta3/tests/Unit/V1beta3/Client/JobsV1Beta3ClientTest.php create mode 100644 owl-bot-staging/Dataflow/v1beta3/tests/Unit/V1beta3/Client/MessagesV1Beta3ClientTest.php create mode 100644 owl-bot-staging/Dataflow/v1beta3/tests/Unit/V1beta3/Client/MetricsV1Beta3ClientTest.php create mode 100644 owl-bot-staging/Dataflow/v1beta3/tests/Unit/V1beta3/Client/SnapshotsV1Beta3ClientTest.php create mode 100644 owl-bot-staging/Dataflow/v1beta3/tests/Unit/V1beta3/Client/TemplatesServiceClientTest.php create mode 100644 owl-bot-staging/Memorystore/v1/proto/src/GPBMetadata/Google/Cloud/Memorystore/V1/Memorystore.php create mode 100644 owl-bot-staging/Memorystore/v1/proto/src/Google/Cloud/Memorystore/V1/AutomatedBackupConfig.php create mode 100644 owl-bot-staging/Memorystore/v1/proto/src/Google/Cloud/Memorystore/V1/AutomatedBackupConfig/AutomatedBackupMode.php create mode 100644 owl-bot-staging/Memorystore/v1/proto/src/Google/Cloud/Memorystore/V1/AutomatedBackupConfig/FixedFrequencySchedule.php create mode 100644 owl-bot-staging/Memorystore/v1/proto/src/Google/Cloud/Memorystore/V1/Backup.php create mode 100644 owl-bot-staging/Memorystore/v1/proto/src/Google/Cloud/Memorystore/V1/Backup/BackupType.php create mode 100644 owl-bot-staging/Memorystore/v1/proto/src/Google/Cloud/Memorystore/V1/Backup/State.php create mode 100644 owl-bot-staging/Memorystore/v1/proto/src/Google/Cloud/Memorystore/V1/BackupCollection.php create mode 100644 owl-bot-staging/Memorystore/v1/proto/src/Google/Cloud/Memorystore/V1/BackupFile.php create mode 100644 owl-bot-staging/Memorystore/v1/proto/src/Google/Cloud/Memorystore/V1/BackupInstanceRequest.php create mode 100644 owl-bot-staging/Memorystore/v1/proto/src/Google/Cloud/Memorystore/V1/CertificateAuthority.php create mode 100644 owl-bot-staging/Memorystore/v1/proto/src/Google/Cloud/Memorystore/V1/CertificateAuthority/ManagedCertificateAuthority.php create mode 100644 owl-bot-staging/Memorystore/v1/proto/src/Google/Cloud/Memorystore/V1/CertificateAuthority/ManagedCertificateAuthority/CertChain.php create mode 100644 owl-bot-staging/Memorystore/v1/proto/src/Google/Cloud/Memorystore/V1/ConnectionType.php create mode 100644 owl-bot-staging/Memorystore/v1/proto/src/Google/Cloud/Memorystore/V1/CreateInstanceRequest.php create mode 100644 owl-bot-staging/Memorystore/v1/proto/src/Google/Cloud/Memorystore/V1/CrossInstanceReplicationConfig.php create mode 100644 owl-bot-staging/Memorystore/v1/proto/src/Google/Cloud/Memorystore/V1/CrossInstanceReplicationConfig/InstanceRole.php create mode 100644 owl-bot-staging/Memorystore/v1/proto/src/Google/Cloud/Memorystore/V1/CrossInstanceReplicationConfig/Membership.php create mode 100644 owl-bot-staging/Memorystore/v1/proto/src/Google/Cloud/Memorystore/V1/CrossInstanceReplicationConfig/RemoteInstance.php create mode 100644 owl-bot-staging/Memorystore/v1/proto/src/Google/Cloud/Memorystore/V1/DeleteBackupRequest.php create mode 100644 owl-bot-staging/Memorystore/v1/proto/src/Google/Cloud/Memorystore/V1/DeleteInstanceRequest.php create mode 100644 owl-bot-staging/Memorystore/v1/proto/src/Google/Cloud/Memorystore/V1/DiscoveryEndpoint.php create mode 100644 owl-bot-staging/Memorystore/v1/proto/src/Google/Cloud/Memorystore/V1/EncryptionInfo.php create mode 100644 owl-bot-staging/Memorystore/v1/proto/src/Google/Cloud/Memorystore/V1/EncryptionInfo/KmsKeyState.php create mode 100644 owl-bot-staging/Memorystore/v1/proto/src/Google/Cloud/Memorystore/V1/EncryptionInfo/Type.php create mode 100644 owl-bot-staging/Memorystore/v1/proto/src/Google/Cloud/Memorystore/V1/ExportBackupRequest.php create mode 100644 owl-bot-staging/Memorystore/v1/proto/src/Google/Cloud/Memorystore/V1/GetBackupCollectionRequest.php create mode 100644 owl-bot-staging/Memorystore/v1/proto/src/Google/Cloud/Memorystore/V1/GetBackupRequest.php create mode 100644 owl-bot-staging/Memorystore/v1/proto/src/Google/Cloud/Memorystore/V1/GetCertificateAuthorityRequest.php create mode 100644 owl-bot-staging/Memorystore/v1/proto/src/Google/Cloud/Memorystore/V1/GetInstanceRequest.php create mode 100644 owl-bot-staging/Memorystore/v1/proto/src/Google/Cloud/Memorystore/V1/Instance.php create mode 100644 owl-bot-staging/Memorystore/v1/proto/src/Google/Cloud/Memorystore/V1/Instance/AuthorizationMode.php create mode 100644 owl-bot-staging/Memorystore/v1/proto/src/Google/Cloud/Memorystore/V1/Instance/ConnectionDetail.php create mode 100644 owl-bot-staging/Memorystore/v1/proto/src/Google/Cloud/Memorystore/V1/Instance/GcsBackupSource.php create mode 100644 owl-bot-staging/Memorystore/v1/proto/src/Google/Cloud/Memorystore/V1/Instance/InstanceEndpoint.php create mode 100644 owl-bot-staging/Memorystore/v1/proto/src/Google/Cloud/Memorystore/V1/Instance/ManagedBackupSource.php create mode 100644 owl-bot-staging/Memorystore/v1/proto/src/Google/Cloud/Memorystore/V1/Instance/Mode.php create mode 100644 owl-bot-staging/Memorystore/v1/proto/src/Google/Cloud/Memorystore/V1/Instance/NodeType.php create mode 100644 owl-bot-staging/Memorystore/v1/proto/src/Google/Cloud/Memorystore/V1/Instance/State.php create mode 100644 owl-bot-staging/Memorystore/v1/proto/src/Google/Cloud/Memorystore/V1/Instance/StateInfo.php create mode 100644 owl-bot-staging/Memorystore/v1/proto/src/Google/Cloud/Memorystore/V1/Instance/StateInfo/UpdateInfo.php create mode 100644 owl-bot-staging/Memorystore/v1/proto/src/Google/Cloud/Memorystore/V1/Instance/TransitEncryptionMode.php create mode 100644 owl-bot-staging/Memorystore/v1/proto/src/Google/Cloud/Memorystore/V1/ListBackupCollectionsRequest.php create mode 100644 owl-bot-staging/Memorystore/v1/proto/src/Google/Cloud/Memorystore/V1/ListBackupCollectionsResponse.php create mode 100644 owl-bot-staging/Memorystore/v1/proto/src/Google/Cloud/Memorystore/V1/ListBackupsRequest.php create mode 100644 owl-bot-staging/Memorystore/v1/proto/src/Google/Cloud/Memorystore/V1/ListBackupsResponse.php create mode 100644 owl-bot-staging/Memorystore/v1/proto/src/Google/Cloud/Memorystore/V1/ListInstancesRequest.php create mode 100644 owl-bot-staging/Memorystore/v1/proto/src/Google/Cloud/Memorystore/V1/ListInstancesResponse.php create mode 100644 owl-bot-staging/Memorystore/v1/proto/src/Google/Cloud/Memorystore/V1/MaintenancePolicy.php create mode 100644 owl-bot-staging/Memorystore/v1/proto/src/Google/Cloud/Memorystore/V1/MaintenanceSchedule.php create mode 100644 owl-bot-staging/Memorystore/v1/proto/src/Google/Cloud/Memorystore/V1/NodeConfig.php create mode 100644 owl-bot-staging/Memorystore/v1/proto/src/Google/Cloud/Memorystore/V1/OperationMetadata.php create mode 100644 owl-bot-staging/Memorystore/v1/proto/src/Google/Cloud/Memorystore/V1/PersistenceConfig.php create mode 100644 owl-bot-staging/Memorystore/v1/proto/src/Google/Cloud/Memorystore/V1/PersistenceConfig/AOFConfig.php create mode 100644 owl-bot-staging/Memorystore/v1/proto/src/Google/Cloud/Memorystore/V1/PersistenceConfig/AOFConfig/AppendFsync.php create mode 100644 owl-bot-staging/Memorystore/v1/proto/src/Google/Cloud/Memorystore/V1/PersistenceConfig/PersistenceMode.php create mode 100644 owl-bot-staging/Memorystore/v1/proto/src/Google/Cloud/Memorystore/V1/PersistenceConfig/RDBConfig.php create mode 100644 owl-bot-staging/Memorystore/v1/proto/src/Google/Cloud/Memorystore/V1/PersistenceConfig/RDBConfig/SnapshotPeriod.php create mode 100644 owl-bot-staging/Memorystore/v1/proto/src/Google/Cloud/Memorystore/V1/PscAttachmentDetail.php create mode 100644 owl-bot-staging/Memorystore/v1/proto/src/Google/Cloud/Memorystore/V1/PscAutoConnection.php create mode 100644 owl-bot-staging/Memorystore/v1/proto/src/Google/Cloud/Memorystore/V1/PscConnection.php create mode 100644 owl-bot-staging/Memorystore/v1/proto/src/Google/Cloud/Memorystore/V1/PscConnectionStatus.php create mode 100644 owl-bot-staging/Memorystore/v1/proto/src/Google/Cloud/Memorystore/V1/RescheduleMaintenanceRequest.php create mode 100644 owl-bot-staging/Memorystore/v1/proto/src/Google/Cloud/Memorystore/V1/RescheduleMaintenanceRequest/RescheduleType.php create mode 100644 owl-bot-staging/Memorystore/v1/proto/src/Google/Cloud/Memorystore/V1/UpdateInstanceRequest.php create mode 100644 owl-bot-staging/Memorystore/v1/proto/src/Google/Cloud/Memorystore/V1/WeeklyMaintenanceWindow.php create mode 100644 owl-bot-staging/Memorystore/v1/proto/src/Google/Cloud/Memorystore/V1/ZoneDistributionConfig.php create mode 100644 owl-bot-staging/Memorystore/v1/proto/src/Google/Cloud/Memorystore/V1/ZoneDistributionConfig/ZoneDistributionMode.php create mode 100644 owl-bot-staging/Memorystore/v1/samples/V1/MemorystoreClient/backup_instance.php create mode 100644 owl-bot-staging/Memorystore/v1/samples/V1/MemorystoreClient/create_instance.php create mode 100644 owl-bot-staging/Memorystore/v1/samples/V1/MemorystoreClient/delete_backup.php create mode 100644 owl-bot-staging/Memorystore/v1/samples/V1/MemorystoreClient/delete_instance.php create mode 100644 owl-bot-staging/Memorystore/v1/samples/V1/MemorystoreClient/export_backup.php create mode 100644 owl-bot-staging/Memorystore/v1/samples/V1/MemorystoreClient/get_backup.php create mode 100644 owl-bot-staging/Memorystore/v1/samples/V1/MemorystoreClient/get_backup_collection.php create mode 100644 owl-bot-staging/Memorystore/v1/samples/V1/MemorystoreClient/get_certificate_authority.php create mode 100644 owl-bot-staging/Memorystore/v1/samples/V1/MemorystoreClient/get_instance.php create mode 100644 owl-bot-staging/Memorystore/v1/samples/V1/MemorystoreClient/get_location.php create mode 100644 owl-bot-staging/Memorystore/v1/samples/V1/MemorystoreClient/list_backup_collections.php create mode 100644 owl-bot-staging/Memorystore/v1/samples/V1/MemorystoreClient/list_backups.php create mode 100644 owl-bot-staging/Memorystore/v1/samples/V1/MemorystoreClient/list_instances.php create mode 100644 owl-bot-staging/Memorystore/v1/samples/V1/MemorystoreClient/list_locations.php create mode 100644 owl-bot-staging/Memorystore/v1/samples/V1/MemorystoreClient/reschedule_maintenance.php create mode 100644 owl-bot-staging/Memorystore/v1/samples/V1/MemorystoreClient/update_instance.php create mode 100644 owl-bot-staging/Memorystore/v1/src/V1/Client/MemorystoreClient.php create mode 100644 owl-bot-staging/Memorystore/v1/src/V1/gapic_metadata.json create mode 100644 owl-bot-staging/Memorystore/v1/src/V1/resources/memorystore_client_config.json create mode 100644 owl-bot-staging/Memorystore/v1/src/V1/resources/memorystore_descriptor_config.php create mode 100644 owl-bot-staging/Memorystore/v1/src/V1/resources/memorystore_rest_client_config.php create mode 100644 owl-bot-staging/Memorystore/v1/tests/Unit/V1/Client/MemorystoreClientTest.php create mode 100644 owl-bot-staging/Memorystore/v1beta/proto/src/GPBMetadata/Google/Cloud/Memorystore/V1Beta/Memorystore.php create mode 100644 owl-bot-staging/Memorystore/v1beta/proto/src/Google/Cloud/Memorystore/V1beta/CertificateAuthority.php create mode 100644 owl-bot-staging/Memorystore/v1beta/proto/src/Google/Cloud/Memorystore/V1beta/CertificateAuthority/ManagedCertificateAuthority.php create mode 100644 owl-bot-staging/Memorystore/v1beta/proto/src/Google/Cloud/Memorystore/V1beta/CertificateAuthority/ManagedCertificateAuthority/CertChain.php create mode 100644 owl-bot-staging/Memorystore/v1beta/proto/src/Google/Cloud/Memorystore/V1beta/ConnectionType.php create mode 100644 owl-bot-staging/Memorystore/v1beta/proto/src/Google/Cloud/Memorystore/V1beta/CreateInstanceRequest.php create mode 100644 owl-bot-staging/Memorystore/v1beta/proto/src/Google/Cloud/Memorystore/V1beta/DeleteInstanceRequest.php create mode 100644 owl-bot-staging/Memorystore/v1beta/proto/src/Google/Cloud/Memorystore/V1beta/DiscoveryEndpoint.php create mode 100644 owl-bot-staging/Memorystore/v1beta/proto/src/Google/Cloud/Memorystore/V1beta/GetCertificateAuthorityRequest.php create mode 100644 owl-bot-staging/Memorystore/v1beta/proto/src/Google/Cloud/Memorystore/V1beta/GetInstanceRequest.php create mode 100644 owl-bot-staging/Memorystore/v1beta/proto/src/Google/Cloud/Memorystore/V1beta/Instance.php create mode 100644 owl-bot-staging/Memorystore/v1beta/proto/src/Google/Cloud/Memorystore/V1beta/Instance/AuthorizationMode.php create mode 100644 owl-bot-staging/Memorystore/v1beta/proto/src/Google/Cloud/Memorystore/V1beta/Instance/ConnectionDetail.php create mode 100644 owl-bot-staging/Memorystore/v1beta/proto/src/Google/Cloud/Memorystore/V1beta/Instance/InstanceEndpoint.php create mode 100644 owl-bot-staging/Memorystore/v1beta/proto/src/Google/Cloud/Memorystore/V1beta/Instance/Mode.php create mode 100644 owl-bot-staging/Memorystore/v1beta/proto/src/Google/Cloud/Memorystore/V1beta/Instance/NodeType.php create mode 100644 owl-bot-staging/Memorystore/v1beta/proto/src/Google/Cloud/Memorystore/V1beta/Instance/State.php create mode 100644 owl-bot-staging/Memorystore/v1beta/proto/src/Google/Cloud/Memorystore/V1beta/Instance/StateInfo.php create mode 100644 owl-bot-staging/Memorystore/v1beta/proto/src/Google/Cloud/Memorystore/V1beta/Instance/StateInfo/UpdateInfo.php create mode 100644 owl-bot-staging/Memorystore/v1beta/proto/src/Google/Cloud/Memorystore/V1beta/Instance/TransitEncryptionMode.php create mode 100644 owl-bot-staging/Memorystore/v1beta/proto/src/Google/Cloud/Memorystore/V1beta/ListInstancesRequest.php create mode 100644 owl-bot-staging/Memorystore/v1beta/proto/src/Google/Cloud/Memorystore/V1beta/ListInstancesResponse.php create mode 100644 owl-bot-staging/Memorystore/v1beta/proto/src/Google/Cloud/Memorystore/V1beta/NodeConfig.php create mode 100644 owl-bot-staging/Memorystore/v1beta/proto/src/Google/Cloud/Memorystore/V1beta/OperationMetadata.php create mode 100644 owl-bot-staging/Memorystore/v1beta/proto/src/Google/Cloud/Memorystore/V1beta/PersistenceConfig.php create mode 100644 owl-bot-staging/Memorystore/v1beta/proto/src/Google/Cloud/Memorystore/V1beta/PersistenceConfig/AOFConfig.php create mode 100644 owl-bot-staging/Memorystore/v1beta/proto/src/Google/Cloud/Memorystore/V1beta/PersistenceConfig/AOFConfig/AppendFsync.php create mode 100644 owl-bot-staging/Memorystore/v1beta/proto/src/Google/Cloud/Memorystore/V1beta/PersistenceConfig/PersistenceMode.php create mode 100644 owl-bot-staging/Memorystore/v1beta/proto/src/Google/Cloud/Memorystore/V1beta/PersistenceConfig/RDBConfig.php create mode 100644 owl-bot-staging/Memorystore/v1beta/proto/src/Google/Cloud/Memorystore/V1beta/PersistenceConfig/RDBConfig/SnapshotPeriod.php create mode 100644 owl-bot-staging/Memorystore/v1beta/proto/src/Google/Cloud/Memorystore/V1beta/PscAutoConnection.php create mode 100644 owl-bot-staging/Memorystore/v1beta/proto/src/Google/Cloud/Memorystore/V1beta/PscConnection.php create mode 100644 owl-bot-staging/Memorystore/v1beta/proto/src/Google/Cloud/Memorystore/V1beta/PscConnectionStatus.php create mode 100644 owl-bot-staging/Memorystore/v1beta/proto/src/Google/Cloud/Memorystore/V1beta/UpdateInstanceRequest.php create mode 100644 owl-bot-staging/Memorystore/v1beta/proto/src/Google/Cloud/Memorystore/V1beta/ZoneDistributionConfig.php create mode 100644 owl-bot-staging/Memorystore/v1beta/proto/src/Google/Cloud/Memorystore/V1beta/ZoneDistributionConfig/ZoneDistributionMode.php create mode 100644 owl-bot-staging/Memorystore/v1beta/samples/V1beta/MemorystoreClient/create_instance.php create mode 100644 owl-bot-staging/Memorystore/v1beta/samples/V1beta/MemorystoreClient/delete_instance.php create mode 100644 owl-bot-staging/Memorystore/v1beta/samples/V1beta/MemorystoreClient/get_certificate_authority.php create mode 100644 owl-bot-staging/Memorystore/v1beta/samples/V1beta/MemorystoreClient/get_instance.php create mode 100644 owl-bot-staging/Memorystore/v1beta/samples/V1beta/MemorystoreClient/get_location.php create mode 100644 owl-bot-staging/Memorystore/v1beta/samples/V1beta/MemorystoreClient/list_instances.php create mode 100644 owl-bot-staging/Memorystore/v1beta/samples/V1beta/MemorystoreClient/list_locations.php create mode 100644 owl-bot-staging/Memorystore/v1beta/samples/V1beta/MemorystoreClient/update_instance.php create mode 100644 owl-bot-staging/Memorystore/v1beta/src/V1beta/Client/MemorystoreClient.php create mode 100644 owl-bot-staging/Memorystore/v1beta/src/V1beta/gapic_metadata.json create mode 100644 owl-bot-staging/Memorystore/v1beta/src/V1beta/resources/memorystore_client_config.json create mode 100644 owl-bot-staging/Memorystore/v1beta/src/V1beta/resources/memorystore_descriptor_config.php create mode 100644 owl-bot-staging/Memorystore/v1beta/src/V1beta/resources/memorystore_rest_client_config.php create mode 100644 owl-bot-staging/Memorystore/v1beta/tests/Unit/V1beta/Client/MemorystoreClientTest.php create mode 100644 owl-bot-staging/RedisCluster/v1/proto/src/GPBMetadata/Google/Cloud/Redis/Cluster/V1/CloudRedisCluster.php create mode 100644 owl-bot-staging/RedisCluster/v1/proto/src/Google/Cloud/Redis/Cluster/V1/AuthorizationMode.php create mode 100644 owl-bot-staging/RedisCluster/v1/proto/src/Google/Cloud/Redis/Cluster/V1/AutomatedBackupConfig.php create mode 100644 owl-bot-staging/RedisCluster/v1/proto/src/Google/Cloud/Redis/Cluster/V1/AutomatedBackupConfig/AutomatedBackupMode.php create mode 100644 owl-bot-staging/RedisCluster/v1/proto/src/Google/Cloud/Redis/Cluster/V1/AutomatedBackupConfig/FixedFrequencySchedule.php create mode 100644 owl-bot-staging/RedisCluster/v1/proto/src/Google/Cloud/Redis/Cluster/V1/Backup.php create mode 100644 owl-bot-staging/RedisCluster/v1/proto/src/Google/Cloud/Redis/Cluster/V1/Backup/BackupType.php create mode 100644 owl-bot-staging/RedisCluster/v1/proto/src/Google/Cloud/Redis/Cluster/V1/Backup/State.php create mode 100644 owl-bot-staging/RedisCluster/v1/proto/src/Google/Cloud/Redis/Cluster/V1/BackupClusterRequest.php create mode 100644 owl-bot-staging/RedisCluster/v1/proto/src/Google/Cloud/Redis/Cluster/V1/BackupCollection.php create mode 100644 owl-bot-staging/RedisCluster/v1/proto/src/Google/Cloud/Redis/Cluster/V1/BackupFile.php create mode 100644 owl-bot-staging/RedisCluster/v1/proto/src/Google/Cloud/Redis/Cluster/V1/CertificateAuthority.php create mode 100644 owl-bot-staging/RedisCluster/v1/proto/src/Google/Cloud/Redis/Cluster/V1/CertificateAuthority/ManagedCertificateAuthority.php create mode 100644 owl-bot-staging/RedisCluster/v1/proto/src/Google/Cloud/Redis/Cluster/V1/CertificateAuthority/ManagedCertificateAuthority/CertChain.php create mode 100644 owl-bot-staging/RedisCluster/v1/proto/src/Google/Cloud/Redis/Cluster/V1/Cluster.php create mode 100644 owl-bot-staging/RedisCluster/v1/proto/src/Google/Cloud/Redis/Cluster/V1/Cluster/GcsBackupSource.php create mode 100644 owl-bot-staging/RedisCluster/v1/proto/src/Google/Cloud/Redis/Cluster/V1/Cluster/ManagedBackupSource.php create mode 100644 owl-bot-staging/RedisCluster/v1/proto/src/Google/Cloud/Redis/Cluster/V1/Cluster/State.php create mode 100644 owl-bot-staging/RedisCluster/v1/proto/src/Google/Cloud/Redis/Cluster/V1/Cluster/StateInfo.php create mode 100644 owl-bot-staging/RedisCluster/v1/proto/src/Google/Cloud/Redis/Cluster/V1/Cluster/StateInfo/UpdateInfo.php create mode 100644 owl-bot-staging/RedisCluster/v1/proto/src/Google/Cloud/Redis/Cluster/V1/ClusterEndpoint.php create mode 100644 owl-bot-staging/RedisCluster/v1/proto/src/Google/Cloud/Redis/Cluster/V1/ClusterMaintenancePolicy.php create mode 100644 owl-bot-staging/RedisCluster/v1/proto/src/Google/Cloud/Redis/Cluster/V1/ClusterMaintenanceSchedule.php create mode 100644 owl-bot-staging/RedisCluster/v1/proto/src/Google/Cloud/Redis/Cluster/V1/ClusterPersistenceConfig.php create mode 100644 owl-bot-staging/RedisCluster/v1/proto/src/Google/Cloud/Redis/Cluster/V1/ClusterPersistenceConfig/AOFConfig.php create mode 100644 owl-bot-staging/RedisCluster/v1/proto/src/Google/Cloud/Redis/Cluster/V1/ClusterPersistenceConfig/AOFConfig/AppendFsync.php create mode 100644 owl-bot-staging/RedisCluster/v1/proto/src/Google/Cloud/Redis/Cluster/V1/ClusterPersistenceConfig/PersistenceMode.php create mode 100644 owl-bot-staging/RedisCluster/v1/proto/src/Google/Cloud/Redis/Cluster/V1/ClusterPersistenceConfig/RDBConfig.php create mode 100644 owl-bot-staging/RedisCluster/v1/proto/src/Google/Cloud/Redis/Cluster/V1/ClusterPersistenceConfig/RDBConfig/SnapshotPeriod.php create mode 100644 owl-bot-staging/RedisCluster/v1/proto/src/Google/Cloud/Redis/Cluster/V1/ClusterWeeklyMaintenanceWindow.php create mode 100644 owl-bot-staging/RedisCluster/v1/proto/src/Google/Cloud/Redis/Cluster/V1/ConnectionDetail.php create mode 100644 owl-bot-staging/RedisCluster/v1/proto/src/Google/Cloud/Redis/Cluster/V1/ConnectionType.php create mode 100644 owl-bot-staging/RedisCluster/v1/proto/src/Google/Cloud/Redis/Cluster/V1/CreateClusterRequest.php create mode 100644 owl-bot-staging/RedisCluster/v1/proto/src/Google/Cloud/Redis/Cluster/V1/CrossClusterReplicationConfig.php create mode 100644 owl-bot-staging/RedisCluster/v1/proto/src/Google/Cloud/Redis/Cluster/V1/CrossClusterReplicationConfig/ClusterRole.php create mode 100644 owl-bot-staging/RedisCluster/v1/proto/src/Google/Cloud/Redis/Cluster/V1/CrossClusterReplicationConfig/Membership.php create mode 100644 owl-bot-staging/RedisCluster/v1/proto/src/Google/Cloud/Redis/Cluster/V1/CrossClusterReplicationConfig/RemoteCluster.php create mode 100644 owl-bot-staging/RedisCluster/v1/proto/src/Google/Cloud/Redis/Cluster/V1/DeleteBackupRequest.php create mode 100644 owl-bot-staging/RedisCluster/v1/proto/src/Google/Cloud/Redis/Cluster/V1/DeleteClusterRequest.php create mode 100644 owl-bot-staging/RedisCluster/v1/proto/src/Google/Cloud/Redis/Cluster/V1/DiscoveryEndpoint.php create mode 100644 owl-bot-staging/RedisCluster/v1/proto/src/Google/Cloud/Redis/Cluster/V1/EncryptionInfo.php create mode 100644 owl-bot-staging/RedisCluster/v1/proto/src/Google/Cloud/Redis/Cluster/V1/EncryptionInfo/KmsKeyState.php create mode 100644 owl-bot-staging/RedisCluster/v1/proto/src/Google/Cloud/Redis/Cluster/V1/EncryptionInfo/Type.php create mode 100644 owl-bot-staging/RedisCluster/v1/proto/src/Google/Cloud/Redis/Cluster/V1/ExportBackupRequest.php create mode 100644 owl-bot-staging/RedisCluster/v1/proto/src/Google/Cloud/Redis/Cluster/V1/GetBackupCollectionRequest.php create mode 100644 owl-bot-staging/RedisCluster/v1/proto/src/Google/Cloud/Redis/Cluster/V1/GetBackupRequest.php create mode 100644 owl-bot-staging/RedisCluster/v1/proto/src/Google/Cloud/Redis/Cluster/V1/GetClusterCertificateAuthorityRequest.php create mode 100644 owl-bot-staging/RedisCluster/v1/proto/src/Google/Cloud/Redis/Cluster/V1/GetClusterRequest.php create mode 100644 owl-bot-staging/RedisCluster/v1/proto/src/Google/Cloud/Redis/Cluster/V1/ListBackupCollectionsRequest.php create mode 100644 owl-bot-staging/RedisCluster/v1/proto/src/Google/Cloud/Redis/Cluster/V1/ListBackupCollectionsResponse.php create mode 100644 owl-bot-staging/RedisCluster/v1/proto/src/Google/Cloud/Redis/Cluster/V1/ListBackupsRequest.php create mode 100644 owl-bot-staging/RedisCluster/v1/proto/src/Google/Cloud/Redis/Cluster/V1/ListBackupsResponse.php create mode 100644 owl-bot-staging/RedisCluster/v1/proto/src/Google/Cloud/Redis/Cluster/V1/ListClustersRequest.php create mode 100644 owl-bot-staging/RedisCluster/v1/proto/src/Google/Cloud/Redis/Cluster/V1/ListClustersResponse.php create mode 100644 owl-bot-staging/RedisCluster/v1/proto/src/Google/Cloud/Redis/Cluster/V1/NodeType.php create mode 100644 owl-bot-staging/RedisCluster/v1/proto/src/Google/Cloud/Redis/Cluster/V1/OperationMetadata.php create mode 100644 owl-bot-staging/RedisCluster/v1/proto/src/Google/Cloud/Redis/Cluster/V1/PscAutoConnection.php create mode 100644 owl-bot-staging/RedisCluster/v1/proto/src/Google/Cloud/Redis/Cluster/V1/PscConfig.php create mode 100644 owl-bot-staging/RedisCluster/v1/proto/src/Google/Cloud/Redis/Cluster/V1/PscConnection.php create mode 100644 owl-bot-staging/RedisCluster/v1/proto/src/Google/Cloud/Redis/Cluster/V1/PscConnectionStatus.php create mode 100644 owl-bot-staging/RedisCluster/v1/proto/src/Google/Cloud/Redis/Cluster/V1/PscServiceAttachment.php create mode 100644 owl-bot-staging/RedisCluster/v1/proto/src/Google/Cloud/Redis/Cluster/V1/RescheduleClusterMaintenanceRequest.php create mode 100644 owl-bot-staging/RedisCluster/v1/proto/src/Google/Cloud/Redis/Cluster/V1/RescheduleClusterMaintenanceRequest/RescheduleType.php create mode 100644 owl-bot-staging/RedisCluster/v1/proto/src/Google/Cloud/Redis/Cluster/V1/TransitEncryptionMode.php create mode 100644 owl-bot-staging/RedisCluster/v1/proto/src/Google/Cloud/Redis/Cluster/V1/UpdateClusterRequest.php create mode 100644 owl-bot-staging/RedisCluster/v1/proto/src/Google/Cloud/Redis/Cluster/V1/ZoneDistributionConfig.php create mode 100644 owl-bot-staging/RedisCluster/v1/proto/src/Google/Cloud/Redis/Cluster/V1/ZoneDistributionConfig/ZoneDistributionMode.php create mode 100644 owl-bot-staging/RedisCluster/v1/samples/V1/CloudRedisClusterClient/backup_cluster.php create mode 100644 owl-bot-staging/RedisCluster/v1/samples/V1/CloudRedisClusterClient/create_cluster.php create mode 100644 owl-bot-staging/RedisCluster/v1/samples/V1/CloudRedisClusterClient/delete_backup.php create mode 100644 owl-bot-staging/RedisCluster/v1/samples/V1/CloudRedisClusterClient/delete_cluster.php create mode 100644 owl-bot-staging/RedisCluster/v1/samples/V1/CloudRedisClusterClient/export_backup.php create mode 100644 owl-bot-staging/RedisCluster/v1/samples/V1/CloudRedisClusterClient/get_backup.php create mode 100644 owl-bot-staging/RedisCluster/v1/samples/V1/CloudRedisClusterClient/get_backup_collection.php create mode 100644 owl-bot-staging/RedisCluster/v1/samples/V1/CloudRedisClusterClient/get_cluster.php create mode 100644 owl-bot-staging/RedisCluster/v1/samples/V1/CloudRedisClusterClient/get_cluster_certificate_authority.php create mode 100644 owl-bot-staging/RedisCluster/v1/samples/V1/CloudRedisClusterClient/get_location.php create mode 100644 owl-bot-staging/RedisCluster/v1/samples/V1/CloudRedisClusterClient/list_backup_collections.php create mode 100644 owl-bot-staging/RedisCluster/v1/samples/V1/CloudRedisClusterClient/list_backups.php create mode 100644 owl-bot-staging/RedisCluster/v1/samples/V1/CloudRedisClusterClient/list_clusters.php create mode 100644 owl-bot-staging/RedisCluster/v1/samples/V1/CloudRedisClusterClient/list_locations.php create mode 100644 owl-bot-staging/RedisCluster/v1/samples/V1/CloudRedisClusterClient/reschedule_cluster_maintenance.php create mode 100644 owl-bot-staging/RedisCluster/v1/samples/V1/CloudRedisClusterClient/update_cluster.php create mode 100644 owl-bot-staging/RedisCluster/v1/src/V1/Client/CloudRedisClusterClient.php create mode 100644 owl-bot-staging/RedisCluster/v1/src/V1/gapic_metadata.json create mode 100644 owl-bot-staging/RedisCluster/v1/src/V1/resources/cloud_redis_cluster_client_config.json create mode 100644 owl-bot-staging/RedisCluster/v1/src/V1/resources/cloud_redis_cluster_descriptor_config.php create mode 100644 owl-bot-staging/RedisCluster/v1/src/V1/resources/cloud_redis_cluster_rest_client_config.php create mode 100644 owl-bot-staging/RedisCluster/v1/tests/Unit/V1/Client/CloudRedisClusterClientTest.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 000000000000..8155226373dd --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/AcceleratorType.php @@ -0,0 +1,24 @@ +internalAddGeneratedFile( + "\x0A\xD0\x05\x0A1google/cloud/aiplatform/v1/accelerator_type.proto\x12\x1Agoogle.cloud.aiplatform.v1*\xA1\x03\x0A\x0FAcceleratorType\x12 \x0A\x1CACCELERATOR_TYPE_UNSPECIFIED\x10\x00\x12\x18\x0A\x10NVIDIA_TESLA_K80\x10\x01\x1A\x02\x08\x01\x12\x15\x0A\x11NVIDIA_TESLA_P100\x10\x02\x12\x15\x0A\x11NVIDIA_TESLA_V100\x10\x03\x12\x13\x0A\x0FNVIDIA_TESLA_P4\x10\x04\x12\x13\x0A\x0FNVIDIA_TESLA_T4\x10\x05\x12\x15\x0A\x11NVIDIA_TESLA_A100\x10\x08\x12\x14\x0A\x10NVIDIA_A100_80GB\x10\x09\x12\x0D\x0A\x09NVIDIA_L4\x10\x0B\x12\x14\x0A\x10NVIDIA_H100_80GB\x10\x0D\x12\x19\x0A\x15NVIDIA_H100_MEGA_80GB\x10\x0E\x12\x15\x0A\x11NVIDIA_H200_141GB\x10\x0F\x12\x0F\x0A\x0BNVIDIA_B200\x10\x10\x12\x10\x0A\x0CNVIDIA_GB200\x10\x11\x12\x17\x0A\x13NVIDIA_RTX_PRO_6000\x10\x12\x12\x0A\x0A\x06TPU_V2\x10\x06\x12\x0A\x0A\x06TPU_V3\x10\x07\x12\x0E\x0A\x0ATPU_V4_POD\x10\x0A\x12\x12\x0A\x0ETPU_V5_LITEPOD\x10\x0CB\xD2\x01\x0A\x1Ecom.google.cloud.aiplatform.v1B\x14AcceleratorTypeProtoP\x01Z>cloud.google.com/go/aiplatform/apiv1/aiplatformpb;aiplatformpb\xAA\x02\x1AGoogle.Cloud.AIPlatform.V1\xCA\x02\x1AGoogle\\Cloud\\AIPlatform\\V1\xEA\x02\x1DGoogle::Cloud::AIPlatform::V1b\x06proto3" + , true); + + static::$is_initialized = true; + } +} + 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..0bfe8a332e9c --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/Annotation.php @@ -0,0 +1,29 @@ +internalAddGeneratedFile( + "\x0A\x84\x08\x0A+google/cloud/aiplatform/v1/annotation.proto\x12\x1Agoogle.cloud.aiplatform.v1\x1A\x19google/api/resource.proto\x1A6google/cloud/aiplatform/v1/user_action_reference.proto\x1A\x1Cgoogle/protobuf/struct.proto\x1A\x1Fgoogle/protobuf/timestamp.proto\"\xCE\x04\x0A\x0AAnnotation\x12\x11\x0A\x04name\x18\x01 \x01(\x09B\x03\xE0A\x03\x12\x1F\x0A\x12payload_schema_uri\x18\x02 \x01(\x09B\x03\xE0A\x02\x12,\x0A\x07payload\x18\x03 \x01(\x0B2\x16.google.protobuf.ValueB\x03\xE0A\x02\x124\x0A\x0Bcreate_time\x18\x04 \x01(\x0B2\x1A.google.protobuf.TimestampB\x03\xE0A\x03\x124\x0A\x0Bupdate_time\x18\x07 \x01(\x0B2\x1A.google.protobuf.TimestampB\x03\xE0A\x03\x12\x11\x0A\x04etag\x18\x08 \x01(\x09B\x03\xE0A\x01\x12O\x0A\x11annotation_source\x18\x05 \x01(\x0B2/.google.cloud.aiplatform.v1.UserActionReferenceB\x03\xE0A\x03\x12G\x0A\x06labels\x18\x06 \x03(\x0B22.google.cloud.aiplatform.v1.Annotation.LabelsEntryB\x03\xE0A\x01\x1A-\x0A\x0BLabelsEntry\x12\x0B\x0A\x03key\x18\x01 \x01(\x09\x12\x0D\x0A\x05value\x18\x02 \x01(\x09:\x028\x01:\x95\x01\xEAA\x91\x01\x0A\$aiplatform.googleapis.com/Annotation\x12iprojects/{project}/locations/{location}/datasets/{dataset}/dataItems/{data_item}/annotations/{annotation}B\xCD\x01\x0A\x1Ecom.google.cloud.aiplatform.v1B\x0FAnnotationProtoP\x01Z>cloud.google.com/go/aiplatform/apiv1/aiplatformpb;aiplatformpb\xAA\x02\x1AGoogle.Cloud.AIPlatform.V1\xCA\x02\x1AGoogle\\Cloud\\AIPlatform\\V1\xEA\x02\x1DGoogle::Cloud::AIPlatform::V1b\x06proto3" + , 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..350dd1fd7252 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/AnnotationSpec.php @@ -0,0 +1,27 @@ +internalAddGeneratedFile( + "\x0A\xB5\x05\x0A0google/cloud/aiplatform/v1/annotation_spec.proto\x12\x1Agoogle.cloud.aiplatform.v1\x1A\x19google/api/resource.proto\x1A\x1Fgoogle/protobuf/timestamp.proto\"\xCC\x02\x0A\x0EAnnotationSpec\x12\x11\x0A\x04name\x18\x01 \x01(\x09B\x03\xE0A\x03\x12\x19\x0A\x0Cdisplay_name\x18\x02 \x01(\x09B\x03\xE0A\x02\x124\x0A\x0Bcreate_time\x18\x03 \x01(\x0B2\x1A.google.protobuf.TimestampB\x03\xE0A\x03\x124\x0A\x0Bupdate_time\x18\x04 \x01(\x0B2\x1A.google.protobuf.TimestampB\x03\xE0A\x03\x12\x11\x0A\x04etag\x18\x05 \x01(\x09B\x03\xE0A\x01:\x8C\x01\xEAA\x88\x01\x0A(aiplatform.googleapis.com/AnnotationSpec\x12\\projects/{project}/locations/{location}/datasets/{dataset}/annotationSpecs/{annotation_spec}B\xD1\x01\x0A\x1Ecom.google.cloud.aiplatform.v1B\x13AnnotationSpecProtoP\x01Z>cloud.google.com/go/aiplatform/apiv1/aiplatformpb;aiplatformpb\xAA\x02\x1AGoogle.Cloud.AIPlatform.V1\xCA\x02\x1AGoogle\\Cloud\\AIPlatform\\V1\xEA\x02\x1DGoogle::Cloud::AIPlatform::V1b\x06proto3" + , true); + + static::$is_initialized = true; + } +} + diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/ApiAuth.php b/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/ApiAuth.php new file mode 100644 index 000000000000..d7dd158df8de --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/ApiAuth.php @@ -0,0 +1,26 @@ +internalAddGeneratedFile( + "\x0A\xF0\x04\x0A)google/cloud/aiplatform/v1/api_auth.proto\x12\x1Agoogle.cloud.aiplatform.v1\x1A\x19google/api/resource.proto\"\xC8\x01\x0A\x07ApiAuth\x12J\x0A\x0Eapi_key_config\x18\x01 \x01(\x0B20.google.cloud.aiplatform.v1.ApiAuth.ApiKeyConfigH\x00\x1Ab\x0A\x0CApiKeyConfig\x12R\x0A\x16api_key_secret_version\x18\x01 \x01(\x09B2\xE0A\x02\xFAA,\x0A*secretmanager.googleapis.com/SecretVersionB\x0D\x0A\x0Bauth_configB\xB8\x02\x0A\x1Ecom.google.cloud.aiplatform.v1B\x0CApiAuthProtoP\x01Z>cloud.google.com/go/aiplatform/apiv1/aiplatformpb;aiplatformpb\xAA\x02\x1AGoogle.Cloud.AIPlatform.V1\xCA\x02\x1AGoogle\\Cloud\\AIPlatform\\V1\xEA\x02\x1DGoogle::Cloud::AIPlatform::V1\xEAAk\x0A*secretmanager.googleapis.com/SecretVersion\x12=projects/{project}/secrets/{secret}/versions/{secret_version}b\x06proto3" + , 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 000000000000..b813050f8c20 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/Artifact.php @@ -0,0 +1,28 @@ +internalAddGeneratedFile( + "\x0A\x8E\x08\x0A)google/cloud/aiplatform/v1/artifact.proto\x12\x1Agoogle.cloud.aiplatform.v1\x1A\x19google/api/resource.proto\x1A\x1Cgoogle/protobuf/struct.proto\x1A\x1Fgoogle/protobuf/timestamp.proto\"\x94\x05\x0A\x08Artifact\x12\x11\x0A\x04name\x18\x01 \x01(\x09B\x03\xE0A\x03\x12\x14\x0A\x0Cdisplay_name\x18\x02 \x01(\x09\x12\x0B\x0A\x03uri\x18\x06 \x01(\x09\x12\x0C\x0A\x04etag\x18\x09 \x01(\x09\x12@\x0A\x06labels\x18\x0A \x03(\x0B20.google.cloud.aiplatform.v1.Artifact.LabelsEntry\x124\x0A\x0Bcreate_time\x18\x0B \x01(\x0B2\x1A.google.protobuf.TimestampB\x03\xE0A\x03\x124\x0A\x0Bupdate_time\x18\x0C \x01(\x0B2\x1A.google.protobuf.TimestampB\x03\xE0A\x03\x129\x0A\x05state\x18\x0D \x01(\x0E2*.google.cloud.aiplatform.v1.Artifact.State\x12\x14\x0A\x0Cschema_title\x18\x0E \x01(\x09\x12\x16\x0A\x0Eschema_version\x18\x0F \x01(\x09\x12)\x0A\x08metadata\x18\x10 \x01(\x0B2\x17.google.protobuf.Struct\x12\x13\x0A\x0Bdescription\x18\x11 \x01(\x09\x1A-\x0A\x0BLabelsEntry\x12\x0B\x0A\x03key\x18\x01 \x01(\x09\x12\x0D\x0A\x05value\x18\x02 \x01(\x09:\x028\x01\"5\x0A\x05State\x12\x15\x0A\x11STATE_UNSPECIFIED\x10\x00\x12\x0B\x0A\x07PENDING\x10\x01\x12\x08\x0A\x04LIVE\x10\x02:\x86\x01\xEAA\x82\x01\x0A\"aiplatform.googleapis.com/Artifact\x12\\projects/{project}/locations/{location}/metadataStores/{metadata_store}/artifacts/{artifact}B\xCB\x01\x0A\x1Ecom.google.cloud.aiplatform.v1B\x0DArtifactProtoP\x01Z>cloud.google.com/go/aiplatform/apiv1/aiplatformpb;aiplatformpb\xAA\x02\x1AGoogle.Cloud.AIPlatform.V1\xCA\x02\x1AGoogle\\Cloud\\AIPlatform\\V1\xEA\x02\x1DGoogle::Cloud::AIPlatform::V1b\x06proto3" + , true); + + static::$is_initialized = true; + } +} + 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 000000000000..3cfecff13bf3 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/BatchPredictionJob.php @@ -0,0 +1,37 @@ +internalAddGeneratedFile( + "\x0A\xDE\x1C\x0A5google/cloud/aiplatform/v1/batch_prediction_job.proto\x12\x1Agoogle.cloud.aiplatform.v1\x1A\x19google/api/resource.proto\x1A1google/cloud/aiplatform/v1/completion_stats.proto\x1A0google/cloud/aiplatform/v1/encryption_spec.proto\x1A,google/cloud/aiplatform/v1/explanation.proto\x1A#google/cloud/aiplatform/v1/io.proto\x1A*google/cloud/aiplatform/v1/job_state.proto\x1A2google/cloud/aiplatform/v1/machine_resources.proto\x1A?google/cloud/aiplatform/v1/manual_batch_tuning_parameters.proto\x1A:google/cloud/aiplatform/v1/unmanaged_container_model.proto\x1A\x1Cgoogle/protobuf/struct.proto\x1A\x1Fgoogle/protobuf/timestamp.proto\x1A\x17google/rpc/status.proto\"\xA0\x16\x0A\x12BatchPredictionJob\x12\x11\x0A\x04name\x18\x01 \x01(\x09B\x03\xE0A\x03\x12\x19\x0A\x0Cdisplay_name\x18\x02 \x01(\x09B\x03\xE0A\x02\x123\x0A\x05model\x18\x03 \x01(\x09B\$\xFAA!\x0A\x1Faiplatform.googleapis.com/Model\x12\x1D\x0A\x10model_version_id\x18\x1E \x01(\x09B\x03\xE0A\x03\x12V\x0A\x19unmanaged_container_model\x18\x1C \x01(\x0B23.google.cloud.aiplatform.v1.UnmanagedContainerModel\x12U\x0A\x0Cinput_config\x18\x04 \x01(\x0B2:.google.cloud.aiplatform.v1.BatchPredictionJob.InputConfigB\x03\xE0A\x02\x12V\x0A\x0Finstance_config\x18\x1B \x01(\x0B2=.google.cloud.aiplatform.v1.BatchPredictionJob.InstanceConfig\x120\x0A\x10model_parameters\x18\x05 \x01(\x0B2\x16.google.protobuf.Value\x12W\x0A\x0Doutput_config\x18\x06 \x01(\x0B2;.google.cloud.aiplatform.v1.BatchPredictionJob.OutputConfigB\x03\xE0A\x02\x12P\x0A\x13dedicated_resources\x18\x07 \x01(\x0B23.google.cloud.aiplatform.v1.BatchDedicatedResources\x12\x17\x0A\x0Fservice_account\x18\x1D \x01(\x09\x12d\x0A\x1Emanual_batch_tuning_parameters\x18\x08 \x01(\x0B27.google.cloud.aiplatform.v1.ManualBatchTuningParametersB\x03\xE0A\x05\x12\x1C\x0A\x14generate_explanation\x18\x17 \x01(\x08\x12E\x0A\x10explanation_spec\x18\x19 \x01(\x0B2+.google.cloud.aiplatform.v1.ExplanationSpec\x12S\x0A\x0Boutput_info\x18\x09 \x01(\x0B29.google.cloud.aiplatform.v1.BatchPredictionJob.OutputInfoB\x03\xE0A\x03\x128\x0A\x05state\x18\x0A \x01(\x0E2\$.google.cloud.aiplatform.v1.JobStateB\x03\xE0A\x03\x12&\x0A\x05error\x18\x0B \x01(\x0B2\x12.google.rpc.StatusB\x03\xE0A\x03\x121\x0A\x10partial_failures\x18\x0C \x03(\x0B2\x12.google.rpc.StatusB\x03\xE0A\x03\x12N\x0A\x12resources_consumed\x18\x0D \x01(\x0B2-.google.cloud.aiplatform.v1.ResourcesConsumedB\x03\xE0A\x03\x12J\x0A\x10completion_stats\x18\x0E \x01(\x0B2+.google.cloud.aiplatform.v1.CompletionStatsB\x03\xE0A\x03\x124\x0A\x0Bcreate_time\x18\x0F \x01(\x0B2\x1A.google.protobuf.TimestampB\x03\xE0A\x03\x123\x0A\x0Astart_time\x18\x10 \x01(\x0B2\x1A.google.protobuf.TimestampB\x03\xE0A\x03\x121\x0A\x08end_time\x18\x11 \x01(\x0B2\x1A.google.protobuf.TimestampB\x03\xE0A\x03\x124\x0A\x0Bupdate_time\x18\x12 \x01(\x0B2\x1A.google.protobuf.TimestampB\x03\xE0A\x03\x12J\x0A\x06labels\x18\x13 \x03(\x0B2:.google.cloud.aiplatform.v1.BatchPredictionJob.LabelsEntry\x12C\x0A\x0Fencryption_spec\x18\x18 \x01(\x0B2*.google.cloud.aiplatform.v1.EncryptionSpec\x12!\x0A\x19disable_container_logging\x18\" \x01(\x08\x12\x1A\x0A\x0Dsatisfies_pzs\x18\$ \x01(\x08B\x03\xE0A\x03\x12\x1A\x0A\x0Dsatisfies_pzi\x18% \x01(\x08B\x03\xE0A\x03\x1A\xA1\x02\x0A\x0BInputConfig\x12;\x0A\x0Agcs_source\x18\x02 \x01(\x0B2%.google.cloud.aiplatform.v1.GcsSourceH\x00\x12E\x0A\x0Fbigquery_source\x18\x03 \x01(\x0B2*.google.cloud.aiplatform.v1.BigQuerySourceH\x00\x12e\x0A vertex_multimodal_dataset_source\x18\x04 \x01(\x0B29.google.cloud.aiplatform.v1.VertexMultimodalDatasetSourceH\x00\x12\x1D\x0A\x10instances_format\x18\x01 \x01(\x09B\x03\xE0A\x02B\x08\x0A\x06source\x1Al\x0A\x0EInstanceConfig\x12\x15\x0A\x0Dinstance_type\x18\x01 \x01(\x09\x12\x11\x0A\x09key_field\x18\x02 \x01(\x09\x12\x17\x0A\x0Fincluded_fields\x18\x03 \x03(\x09\x12\x17\x0A\x0Fexcluded_fields\x18\x04 \x03(\x09\x1A\xC7\x02\x0A\x0COutputConfig\x12E\x0A\x0Fgcs_destination\x18\x02 \x01(\x0B2*.google.cloud.aiplatform.v1.GcsDestinationH\x00\x12O\x0A\x14bigquery_destination\x18\x03 \x01(\x0B2/.google.cloud.aiplatform.v1.BigQueryDestinationH\x00\x12o\x0A%vertex_multimodal_dataset_destination\x18\x06 \x01(\x0B2>.google.cloud.aiplatform.v1.VertexMultimodalDatasetDestinationH\x00\x12\x1F\x0A\x12predictions_format\x18\x01 \x01(\x09B\x03\xE0A\x02B\x0D\x0A\x0Bdestination\x1A\xE5\x01\x0A\x0AOutputInfo\x12#\x0A\x14gcs_output_directory\x18\x01 \x01(\x09B\x03\xE0A\x03H\x00\x12&\x0A\x17bigquery_output_dataset\x18\x02 \x01(\x09B\x03\xE0A\x03H\x00\x12S\x0A\x1Evertex_multimodal_dataset_name\x18\x05 \x01(\x09B)\xE0A\x03\xFAA#\x0A!aiplatform.googleapis.com/DatasetH\x00\x12\"\x0A\x15bigquery_output_table\x18\x04 \x01(\x09B\x03\xE0A\x03B\x11\x0A\x0Foutput_location\x1A-\x0A\x0BLabelsEntry\x12\x0B\x0A\x03key\x18\x01 \x01(\x09\x12\x0D\x0A\x05value\x18\x02 \x01(\x09:\x028\x01:\x86\x01\xEAA\x82\x01\x0A,aiplatform.googleapis.com/BatchPredictionJob\x12Rprojects/{project}/locations/{location}/batchPredictionJobs/{batch_prediction_job}B\xD5\x01\x0A\x1Ecom.google.cloud.aiplatform.v1B\x17BatchPredictionJobProtoP\x01Z>cloud.google.com/go/aiplatform/apiv1/aiplatformpb;aiplatformpb\xAA\x02\x1AGoogle.Cloud.AIPlatform.V1\xCA\x02\x1AGoogle\\Cloud\\AIPlatform\\V1\xEA\x02\x1DGoogle::Cloud::AIPlatform::V1b\x06proto3" + , true); + + static::$is_initialized = true; + } +} + diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/CachedContent.php b/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/CachedContent.php new file mode 100644 index 000000000000..1b736c135035 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/CachedContent.php @@ -0,0 +1,31 @@ +internalAddGeneratedFile( + "\x0A\xA0\x0C\x0A/google/cloud/aiplatform/v1/cached_content.proto\x12\x1Agoogle.cloud.aiplatform.v1\x1A\x19google/api/resource.proto\x1A(google/cloud/aiplatform/v1/content.proto\x1A0google/cloud/aiplatform/v1/encryption_spec.proto\x1A%google/cloud/aiplatform/v1/tool.proto\x1A\x1Egoogle/protobuf/duration.proto\x1A\x1Fgoogle/protobuf/timestamp.proto\"\x96\x08\x0A\x0DCachedContent\x121\x0A\x0Bexpire_time\x18\x09 \x01(\x0B2\x1A.google.protobuf.TimestampH\x00\x12-\x0A\x03ttl\x18\x0A \x01(\x0B2\x19.google.protobuf.DurationB\x03\xE0A\x04H\x00\x12\x14\x0A\x04name\x18\x01 \x01(\x09B\x06\xE0A\x08\xE0A\x05\x12\x1C\x0A\x0Cdisplay_name\x18\x0B \x01(\x09B\x06\xE0A\x01\xE0A\x05\x12\x12\x0A\x05model\x18\x02 \x01(\x09B\x03\xE0A\x05\x12J\x0A\x12system_instruction\x18\x03 \x01(\x0B2#.google.cloud.aiplatform.v1.ContentB\x09\xE0A\x01\xE0A\x05\xE0A\x04\x12@\x0A\x08contents\x18\x04 \x03(\x0B2#.google.cloud.aiplatform.v1.ContentB\x09\xE0A\x01\xE0A\x05\xE0A\x04\x12:\x0A\x05tools\x18\x05 \x03(\x0B2 .google.cloud.aiplatform.v1.ToolB\x09\xE0A\x01\xE0A\x05\xE0A\x04\x12F\x0A\x0Btool_config\x18\x06 \x01(\x0B2&.google.cloud.aiplatform.v1.ToolConfigB\x09\xE0A\x01\xE0A\x05\xE0A\x04\x124\x0A\x0Bcreate_time\x18\x07 \x01(\x0B2\x1A.google.protobuf.TimestampB\x03\xE0A\x03\x124\x0A\x0Bupdate_time\x18\x08 \x01(\x0B2\x1A.google.protobuf.TimestampB\x03\xE0A\x03\x12T\x0A\x0Eusage_metadata\x18\x0C \x01(\x0B27.google.cloud.aiplatform.v1.CachedContent.UsageMetadataB\x03\xE0A\x03\x12K\x0A\x0Fencryption_spec\x18\x0D \x01(\x0B2*.google.cloud.aiplatform.v1.EncryptionSpecB\x06\xE0A\x04\xE0A\x05\x1A\x93\x01\x0A\x0DUsageMetadata\x12\x19\x0A\x11total_token_count\x18\x01 \x01(\x05\x12\x12\x0A\x0Atext_count\x18\x02 \x01(\x05\x12\x13\x0A\x0Bimage_count\x18\x03 \x01(\x05\x12\x1E\x0A\x16video_duration_seconds\x18\x04 \x01(\x05\x12\x1E\x0A\x16audio_duration_seconds\x18\x05 \x01(\x05:\x95\x01\xEAA\x91\x01\x0A'aiplatform.googleapis.com/CachedContent\x12Gprojects/{project}/locations/{location}/cachedContents/{cached_content}*\x0EcachedContents2\x0DcachedContentB\x0C\x0A\x0AexpirationB\xD0\x01\x0A\x1Ecom.google.cloud.aiplatform.v1B\x12CachedContentProtoP\x01Z>cloud.google.com/go/aiplatform/apiv1/aiplatformpb;aiplatformpb\xAA\x02\x1AGoogle.Cloud.AIPlatform.V1\xCA\x02\x1AGoogle\\Cloud\\AIPlatform\\V1\xEA\x02\x1DGoogle::Cloud::AIPlatform::V1b\x06proto3" + , true); + + static::$is_initialized = true; + } +} + diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/CompletionStats.php b/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/CompletionStats.php new file mode 100644 index 000000000000..579f59bc39e3 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/CompletionStats.php @@ -0,0 +1,25 @@ +internalAddGeneratedFile( + "\x0A\xC7\x03\x0A1google/cloud/aiplatform/v1/completion_stats.proto\x12\x1Agoogle.cloud.aiplatform.v1\"\x98\x01\x0A\x0FCompletionStats\x12\x1D\x0A\x10successful_count\x18\x01 \x01(\x03B\x03\xE0A\x03\x12\x19\x0A\x0Cfailed_count\x18\x02 \x01(\x03B\x03\xE0A\x03\x12\x1D\x0A\x10incomplete_count\x18\x03 \x01(\x03B\x03\xE0A\x03\x12,\x0A\x1Fsuccessful_forecast_point_count\x18\x05 \x01(\x03B\x03\xE0A\x03B\xD2\x01\x0A\x1Ecom.google.cloud.aiplatform.v1B\x14CompletionStatsProtoP\x01Z>cloud.google.com/go/aiplatform/apiv1/aiplatformpb;aiplatformpb\xAA\x02\x1AGoogle.Cloud.AIPlatform.V1\xCA\x02\x1AGoogle\\Cloud\\AIPlatform\\V1\xEA\x02\x1DGoogle::Cloud::AIPlatform::V1b\x06proto3" + , 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 000000000000..2b91d53ee987 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/Content.php @@ -0,0 +1,32 @@ +internalAddGeneratedFile( + "\x0A\x9EY\x0A(google/cloud/aiplatform/v1/content.proto\x12\x1Agoogle.cloud.aiplatform.v1\x1A\x19google/api/resource.proto\x1A(google/cloud/aiplatform/v1/openapi.proto\x1A%google/cloud/aiplatform/v1/tool.proto\x1A0google/cloud/aiplatform/v1/vertex_rag_data.proto\x1A\x1Egoogle/protobuf/duration.proto\x1A\x1Cgoogle/protobuf/struct.proto\x1A\x16google/type/date.proto\"R\x0A\x07Content\x12\x11\x0A\x04role\x18\x01 \x01(\x09B\x03\xE0A\x01\x124\x0A\x05parts\x18\x02 \x03(\x0B2 .google.cloud.aiplatform.v1.PartB\x03\xE0A\x02\"\xB9\x07\x0A\x04Part\x12\x13\x0A\x04text\x18\x01 \x01(\x09B\x03\xE0A\x01H\x00\x12<\x0A\x0Binline_data\x18\x02 \x01(\x0B2 .google.cloud.aiplatform.v1.BlobB\x03\xE0A\x01H\x00\x12>\x0A\x09file_data\x18\x03 \x01(\x0B2\$.google.cloud.aiplatform.v1.FileDataB\x03\xE0A\x01H\x00\x12F\x0A\x0Dfunction_call\x18\x05 \x01(\x0B2(.google.cloud.aiplatform.v1.FunctionCallB\x03\xE0A\x01H\x00\x12N\x0A\x11function_response\x18\x06 \x01(\x0B2,.google.cloud.aiplatform.v1.FunctionResponseB\x03\xE0A\x01H\x00\x12J\x0A\x0Fexecutable_code\x18\x08 \x01(\x0B2*.google.cloud.aiplatform.v1.ExecutableCodeB\x03\xE0A\x01H\x00\x12U\x0A\x15code_execution_result\x18\x09 \x01(\x0B2/.google.cloud.aiplatform.v1.CodeExecutionResultB\x03\xE0A\x01H\x00\x12\x14\x0A\x07thought\x18\x0A \x01(\x08B\x03\xE0A\x01\x12\x1E\x0A\x11thought_signature\x18\x0B \x01(\x0CB\x03\xE0A\x01\x12H\x0A\x0Evideo_metadata\x18\x04 \x01(\x0B2).google.cloud.aiplatform.v1.VideoMetadataB\x03\xE0A\x01H\x01\x12J\x0A\x10media_resolution\x18\x0C \x01(\x0B20.google.cloud.aiplatform.v1.Part.MediaResolution\x1A\x82\x02\x0A\x0FMediaResolution\x12G\x0A\x05level\x18\x01 \x01(\x0E26.google.cloud.aiplatform.v1.Part.MediaResolution.LevelH\x00\"\x9C\x01\x0A\x05Level\x12 \x0A\x1CMEDIA_RESOLUTION_UNSPECIFIED\x10\x00\x12\x18\x0A\x14MEDIA_RESOLUTION_LOW\x10\x01\x12\x1B\x0A\x17MEDIA_RESOLUTION_MEDIUM\x10\x02\x12\x19\x0A\x15MEDIA_RESOLUTION_HIGH\x10\x03\x12\x1F\x0A\x1BMEDIA_RESOLUTION_ULTRA_HIGH\x10\x04B\x07\x0A\x05valueB\x06\x0A\x04dataB\x0A\x0A\x08metadata\"1\x0A\x04Blob\x12\x16\x0A\x09mime_type\x18\x01 \x01(\x09B\x03\xE0A\x02\x12\x11\x0A\x04data\x18\x02 \x01(\x0CB\x03\xE0A\x02\"9\x0A\x08FileData\x12\x16\x0A\x09mime_type\x18\x01 \x01(\x09B\x03\xE0A\x02\x12\x15\x0A\x08file_uri\x18\x02 \x01(\x09B\x03\xE0A\x02\"\x8B\x01\x0A\x0DVideoMetadata\x124\x0A\x0Cstart_offset\x18\x01 \x01(\x0B2\x19.google.protobuf.DurationB\x03\xE0A\x01\x122\x0A\x0Aend_offset\x18\x02 \x01(\x0B2\x19.google.protobuf.DurationB\x03\xE0A\x01\x12\x10\x0A\x03fps\x18\x03 \x01(\x01B\x03\xE0A\x01\"=\x0A\x13PrebuiltVoiceConfig\x12\x17\x0A\x0Avoice_name\x18\x01 \x01(\x09H\x00\x88\x01\x01B\x0D\x0A\x0B_voice_name\"P\x0A\x15ReplicatedVoiceConfig\x12\x16\x0A\x09mime_type\x18\x01 \x01(\x09B\x03\xE0A\x01\x12\x1F\x0A\x12voice_sample_audio\x18\x02 \x01(\x0CB\x03\xE0A\x01\"\xCA\x01\x0A\x0BVoiceConfig\x12P\x0A\x15prebuilt_voice_config\x18\x01 \x01(\x0B2/.google.cloud.aiplatform.v1.PrebuiltVoiceConfigH\x00\x12Y\x0A\x17replicated_voice_config\x18\x03 \x01(\x0B21.google.cloud.aiplatform.v1.ReplicatedVoiceConfigB\x03\xE0A\x01H\x00B\x0E\x0A\x0Cvoice_config\"n\x0A\x12SpeakerVoiceConfig\x12\x14\x0A\x07speaker\x18\x01 \x01(\x09B\x03\xE0A\x02\x12B\x0A\x0Cvoice_config\x18\x02 \x01(\x0B2'.google.cloud.aiplatform.v1.VoiceConfigB\x03\xE0A\x02\"m\x0A\x17MultiSpeakerVoiceConfig\x12R\x0A\x15speaker_voice_configs\x18\x02 \x03(\x0B2..google.cloud.aiplatform.v1.SpeakerVoiceConfigB\x03\xE0A\x02\"\xC2\x01\x0A\x0CSpeechConfig\x12=\x0A\x0Cvoice_config\x18\x01 \x01(\x0B2'.google.cloud.aiplatform.v1.VoiceConfig\x12\x1A\x0A\x0Dlanguage_code\x18\x02 \x01(\x09B\x03\xE0A\x01\x12W\x0A\x1Amulti_speaker_voice_config\x18\x03 \x01(\x0B23.google.cloud.aiplatform.v1.MultiSpeakerVoiceConfig\"\xC4\x04\x0A\x0BImageConfig\x12b\x0A\x14image_output_options\x18\x01 \x01(\x0B2:.google.cloud.aiplatform.v1.ImageConfig.ImageOutputOptionsB\x03\xE0A\x01H\x00\x88\x01\x01\x12\x1E\x0A\x0Caspect_ratio\x18\x02 \x01(\x09B\x03\xE0A\x01H\x01\x88\x01\x01\x12]\x0A\x11person_generation\x18\x03 \x01(\x0E28.google.cloud.aiplatform.v1.ImageConfig.PersonGenerationB\x03\xE0A\x01H\x02\x88\x01\x01\x12\x1C\x0A\x0Aimage_size\x18\x04 \x01(\x09B\x03\xE0A\x01H\x03\x88\x01\x01\x1A~\x0A\x12ImageOutputOptions\x12\x1B\x0A\x09mime_type\x18\x01 \x01(\x09B\x03\xE0A\x01H\x00\x88\x01\x01\x12%\x0A\x13compression_quality\x18\x02 \x01(\x05B\x03\xE0A\x01H\x01\x88\x01\x01B\x0C\x0A\x0A_mime_typeB\x16\x0A\x14_compression_quality\"e\x0A\x10PersonGeneration\x12!\x0A\x1DPERSON_GENERATION_UNSPECIFIED\x10\x00\x12\x0D\x0A\x09ALLOW_ALL\x10\x01\x12\x0F\x0A\x0BALLOW_ADULT\x10\x02\x12\x0E\x0A\x0AALLOW_NONE\x10\x03B\x17\x0A\x15_image_output_optionsB\x0F\x0A\x0D_aspect_ratioB\x14\x0A\x12_person_generationB\x0D\x0A\x0B_image_size\"\xE1\x13\x0A\x10GenerationConfig\x12\x1D\x0A\x0Btemperature\x18\x01 \x01(\x02B\x03\xE0A\x01H\x00\x88\x01\x01\x12\x17\x0A\x05top_p\x18\x02 \x01(\x02B\x03\xE0A\x01H\x01\x88\x01\x01\x12\x17\x0A\x05top_k\x18\x03 \x01(\x02B\x03\xE0A\x01H\x02\x88\x01\x01\x12!\x0A\x0Fcandidate_count\x18\x04 \x01(\x05B\x03\xE0A\x01H\x03\x88\x01\x01\x12#\x0A\x11max_output_tokens\x18\x05 \x01(\x05B\x03\xE0A\x01H\x04\x88\x01\x01\x12\x1B\x0A\x0Estop_sequences\x18\x06 \x03(\x09B\x03\xE0A\x01\x12#\x0A\x11response_logprobs\x18\x12 \x01(\x08B\x03\xE0A\x01H\x05\x88\x01\x01\x12\x1A\x0A\x08logprobs\x18\x07 \x01(\x05B\x03\xE0A\x01H\x06\x88\x01\x01\x12\"\x0A\x10presence_penalty\x18\x08 \x01(\x02B\x03\xE0A\x01H\x07\x88\x01\x01\x12#\x0A\x11frequency_penalty\x18\x09 \x01(\x02B\x03\xE0A\x01H\x08\x88\x01\x01\x12\x16\x0A\x04seed\x18\x0C \x01(\x05B\x03\xE0A\x01H\x09\x88\x01\x01\x12\x1F\x0A\x12response_mime_type\x18\x0D \x01(\x09B\x03\xE0A\x01\x12E\x0A\x0Fresponse_schema\x18\x10 \x01(\x0B2\".google.cloud.aiplatform.v1.SchemaB\x03\xE0A\x01H\x0A\x88\x01\x01\x12>\x0A\x14response_json_schema\x18\x1C \x01(\x0B2\x16.google.protobuf.ValueB\x03\xE0A\x01H\x0B\x88\x01\x01\x12\\\x0A\x0Erouting_config\x18\x11 \x01(\x0B2:.google.cloud.aiplatform.v1.GenerationConfig.RoutingConfigB\x03\xE0A\x01H\x0C\x88\x01\x01\x12!\x0A\x0Faudio_timestamp\x18\x14 \x01(\x08B\x03\xE0A\x01H\x0D\x88\x01\x01\x12W\x0A\x13response_modalities\x18\x15 \x03(\x0E25.google.cloud.aiplatform.v1.GenerationConfig.ModalityB\x03\xE0A\x01\x12`\x0A\x10media_resolution\x18\x16 \x01(\x0E2<.google.cloud.aiplatform.v1.GenerationConfig.MediaResolutionB\x03\xE0A\x01H\x0E\x88\x01\x01\x12I\x0A\x0Dspeech_config\x18\x17 \x01(\x0B2(.google.cloud.aiplatform.v1.SpeechConfigB\x03\xE0A\x01H\x0F\x88\x01\x01\x12Y\x0A\x0Fthinking_config\x18\x19 \x01(\x0B2;.google.cloud.aiplatform.v1.GenerationConfig.ThinkingConfigB\x03\xE0A\x01\x12G\x0A\x0Cimage_config\x18\x1E \x01(\x0B2'.google.cloud.aiplatform.v1.ImageConfigB\x03\xE0A\x01H\x10\x88\x01\x01\x1A\xC2\x04\x0A\x0DRoutingConfig\x12_\x0A\x09auto_mode\x18\x01 \x01(\x0B2J.google.cloud.aiplatform.v1.GenerationConfig.RoutingConfig.AutoRoutingModeH\x00\x12c\x0A\x0Bmanual_mode\x18\x02 \x01(\x0B2L.google.cloud.aiplatform.v1.GenerationConfig.RoutingConfig.ManualRoutingModeH\x00\x1A\x9B\x02\x0A\x0FAutoRoutingMode\x12\x88\x01\x0A\x18model_routing_preference\x18\x01 \x01(\x0E2a.google.cloud.aiplatform.v1.GenerationConfig.RoutingConfig.AutoRoutingMode.ModelRoutingPreferenceH\x00\x88\x01\x01\"`\x0A\x16ModelRoutingPreference\x12\x0B\x0A\x07UNKNOWN\x10\x00\x12\x16\x0A\x12PRIORITIZE_QUALITY\x10\x01\x12\x0C\x0A\x08BALANCED\x10\x02\x12\x13\x0A\x0FPRIORITIZE_COST\x10\x03B\x1B\x0A\x19_model_routing_preference\x1A;\x0A\x11ManualRoutingMode\x12\x17\x0A\x0Amodel_name\x18\x01 \x01(\x09H\x00\x88\x01\x01B\x0D\x0A\x0B_model_nameB\x10\x0A\x0Erouting_config\x1A\xDD\x02\x0A\x0EThinkingConfig\x12\"\x0A\x10include_thoughts\x18\x01 \x01(\x08B\x03\xE0A\x01H\x00\x88\x01\x01\x12!\x0A\x0Fthinking_budget\x18\x03 \x01(\x05B\x03\xE0A\x01H\x01\x88\x01\x01\x12k\x0A\x0Ethinking_level\x18\x04 \x01(\x0E2I.google.cloud.aiplatform.v1.GenerationConfig.ThinkingConfig.ThinkingLevelB\x03\xE0A\x01H\x02\x88\x01\x01\"[\x0A\x0DThinkingLevel\x12\x1E\x0A\x1ATHINKING_LEVEL_UNSPECIFIED\x10\x00\x12\x07\x0A\x03LOW\x10\x01\x12\x0A\x0A\x06MEDIUM\x10\x02\x12\x08\x0A\x04HIGH\x10\x03\x12\x0B\x0A\x07MINIMAL\x10\x04B\x13\x0A\x11_include_thoughtsB\x12\x0A\x10_thinking_budgetB\x11\x0A\x0F_thinking_level\"D\x0A\x08Modality\x12\x18\x0A\x14MODALITY_UNSPECIFIED\x10\x00\x12\x08\x0A\x04TEXT\x10\x01\x12\x09\x0A\x05IMAGE\x10\x02\x12\x09\x0A\x05AUDIO\x10\x03\"\x85\x01\x0A\x0FMediaResolution\x12 \x0A\x1CMEDIA_RESOLUTION_UNSPECIFIED\x10\x00\x12\x18\x0A\x14MEDIA_RESOLUTION_LOW\x10\x01\x12\x1B\x0A\x17MEDIA_RESOLUTION_MEDIUM\x10\x02\x12\x19\x0A\x15MEDIA_RESOLUTION_HIGH\x10\x03B\x0E\x0A\x0C_temperatureB\x08\x0A\x06_top_pB\x08\x0A\x06_top_kB\x12\x0A\x10_candidate_countB\x14\x0A\x12_max_output_tokensB\x14\x0A\x12_response_logprobsB\x0B\x0A\x09_logprobsB\x13\x0A\x11_presence_penaltyB\x14\x0A\x12_frequency_penaltyB\x07\x0A\x05_seedB\x12\x0A\x10_response_schemaB\x17\x0A\x15_response_json_schemaB\x11\x0A\x0F_routing_configB\x12\x0A\x10_audio_timestampB\x13\x0A\x11_media_resolutionB\x10\x0A\x0E_speech_configB\x0F\x0A\x0D_image_config\"\xEB\x03\x0A\x0DSafetySetting\x12?\x0A\x08category\x18\x01 \x01(\x0E2(.google.cloud.aiplatform.v1.HarmCategoryB\x03\xE0A\x02\x12T\x0A\x09threshold\x18\x02 \x01(\x0E2<.google.cloud.aiplatform.v1.SafetySetting.HarmBlockThresholdB\x03\xE0A\x02\x12N\x0A\x06method\x18\x04 \x01(\x0E29.google.cloud.aiplatform.v1.SafetySetting.HarmBlockMethodB\x03\xE0A\x01\"\x9D\x01\x0A\x12HarmBlockThreshold\x12\$\x0A HARM_BLOCK_THRESHOLD_UNSPECIFIED\x10\x00\x12\x17\x0A\x13BLOCK_LOW_AND_ABOVE\x10\x01\x12\x1A\x0A\x16BLOCK_MEDIUM_AND_ABOVE\x10\x02\x12\x13\x0A\x0FBLOCK_ONLY_HIGH\x10\x03\x12\x0E\x0A\x0ABLOCK_NONE\x10\x04\x12\x07\x0A\x03OFF\x10\x05\"S\x0A\x0FHarmBlockMethod\x12!\x0A\x1DHARM_BLOCK_METHOD_UNSPECIFIED\x10\x00\x12\x0C\x0A\x08SEVERITY\x10\x01\x12\x0F\x0A\x0BPROBABILITY\x10\x02\"\xBF\x04\x0A\x0CSafetyRating\x12?\x0A\x08category\x18\x01 \x01(\x0E2(.google.cloud.aiplatform.v1.HarmCategoryB\x03\xE0A\x03\x12R\x0A\x0Bprobability\x18\x02 \x01(\x0E28.google.cloud.aiplatform.v1.SafetyRating.HarmProbabilityB\x03\xE0A\x03\x12\x1E\x0A\x11probability_score\x18\x05 \x01(\x02B\x03\xE0A\x03\x12L\x0A\x08severity\x18\x06 \x01(\x0E25.google.cloud.aiplatform.v1.SafetyRating.HarmSeverityB\x03\xE0A\x03\x12\x1B\x0A\x0Eseverity_score\x18\x07 \x01(\x02B\x03\xE0A\x03\x12\x14\x0A\x07blocked\x18\x03 \x01(\x08B\x03\xE0A\x03\"b\x0A\x0FHarmProbability\x12 \x0A\x1CHARM_PROBABILITY_UNSPECIFIED\x10\x00\x12\x0E\x0A\x0ANEGLIGIBLE\x10\x01\x12\x07\x0A\x03LOW\x10\x02\x12\x0A\x0A\x06MEDIUM\x10\x03\x12\x08\x0A\x04HIGH\x10\x04\"\x94\x01\x0A\x0CHarmSeverity\x12\x1D\x0A\x19HARM_SEVERITY_UNSPECIFIED\x10\x00\x12\x1C\x0A\x18HARM_SEVERITY_NEGLIGIBLE\x10\x01\x12\x15\x0A\x11HARM_SEVERITY_LOW\x10\x02\x12\x18\x0A\x14HARM_SEVERITY_MEDIUM\x10\x03\x12\x16\x0A\x12HARM_SEVERITY_HIGH\x10\x04\"P\x0A\x10CitationMetadata\x12<\x0A\x09citations\x18\x01 \x03(\x0B2\$.google.cloud.aiplatform.v1.CitationB\x03\xE0A\x03\"\xAA\x01\x0A\x08Citation\x12\x18\x0A\x0Bstart_index\x18\x01 \x01(\x05B\x03\xE0A\x03\x12\x16\x0A\x09end_index\x18\x02 \x01(\x05B\x03\xE0A\x03\x12\x10\x0A\x03uri\x18\x03 \x01(\x09B\x03\xE0A\x03\x12\x12\x0A\x05title\x18\x04 \x01(\x09B\x03\xE0A\x03\x12\x14\x0A\x07license\x18\x05 \x01(\x09B\x03\xE0A\x03\x120\x0A\x10publication_date\x18\x06 \x01(\x0B2\x11.google.type.DateB\x03\xE0A\x03\"\xE0\x06\x0A\x09Candidate\x12\x12\x0A\x05index\x18\x01 \x01(\x05B\x03\xE0A\x03\x129\x0A\x07content\x18\x02 \x01(\x0B2#.google.cloud.aiplatform.v1.ContentB\x03\xE0A\x03\x12\x12\x0A\x05score\x18\x08 \x01(\x01B\x03\xE0A\x03\x12\x19\x0A\x0Cavg_logprobs\x18\x09 \x01(\x01B\x03\xE0A\x03\x12H\x0A\x0Flogprobs_result\x18\x0A \x01(\x0B2*.google.cloud.aiplatform.v1.LogprobsResultB\x03\xE0A\x03\x12N\x0A\x0Dfinish_reason\x18\x03 \x01(\x0E22.google.cloud.aiplatform.v1.Candidate.FinishReasonB\x03\xE0A\x03\x12E\x0A\x0Esafety_ratings\x18\x04 \x03(\x0B2(.google.cloud.aiplatform.v1.SafetyRatingB\x03\xE0A\x03\x12 \x0A\x0Efinish_message\x18\x05 \x01(\x09B\x03\xE0A\x03H\x00\x88\x01\x01\x12L\x0A\x11citation_metadata\x18\x06 \x01(\x0B2,.google.cloud.aiplatform.v1.CitationMetadataB\x03\xE0A\x03\x12N\x0A\x12grounding_metadata\x18\x07 \x01(\x0B2-.google.cloud.aiplatform.v1.GroundingMetadataB\x03\xE0A\x03\x12Q\x0A\x14url_context_metadata\x18\x0B \x01(\x0B2..google.cloud.aiplatform.v1.UrlContextMetadataB\x03\xE0A\x03\"\xCD\x01\x0A\x0CFinishReason\x12\x1D\x0A\x19FINISH_REASON_UNSPECIFIED\x10\x00\x12\x08\x0A\x04STOP\x10\x01\x12\x0E\x0A\x0AMAX_TOKENS\x10\x02\x12\x0A\x0A\x06SAFETY\x10\x03\x12\x0E\x0A\x0ARECITATION\x10\x04\x12\x09\x0A\x05OTHER\x10\x05\x12\x0D\x0A\x09BLOCKLIST\x10\x06\x12\x16\x0A\x12PROHIBITED_CONTENT\x10\x07\x12\x08\x0A\x04SPII\x10\x08\x12\x1B\x0A\x17MALFORMED_FUNCTION_CALL\x10\x09\x12\x0F\x0A\x0BMODEL_ARMOR\x10\x0AB\x11\x0A\x0F_finish_message\"X\x0A\x12UrlContextMetadata\x12B\x0A\x0Curl_metadata\x18\x01 \x03(\x0B2'.google.cloud.aiplatform.v1.UrlMetadataB\x03\xE0A\x03\"\xFC\x01\x0A\x0BUrlMetadata\x12\x15\x0A\x0Dretrieved_url\x18\x01 \x01(\x09\x12X\x0A\x14url_retrieval_status\x18\x02 \x01(\x0E2:.google.cloud.aiplatform.v1.UrlMetadata.UrlRetrievalStatus\"|\x0A\x12UrlRetrievalStatus\x12\$\x0A URL_RETRIEVAL_STATUS_UNSPECIFIED\x10\x00\x12 \x0A\x1CURL_RETRIEVAL_STATUS_SUCCESS\x10\x01\x12\x1E\x0A\x1AURL_RETRIEVAL_STATUS_ERROR\x10\x02\"\x8F\x03\x0A\x0ELogprobsResult\x12P\x0A\x0Etop_candidates\x18\x01 \x03(\x0B28.google.cloud.aiplatform.v1.LogprobsResult.TopCandidates\x12O\x0A\x11chosen_candidates\x18\x02 \x03(\x0B24.google.cloud.aiplatform.v1.LogprobsResult.Candidate\x1A\x7F\x0A\x09Candidate\x12\x12\x0A\x05token\x18\x01 \x01(\x09H\x00\x88\x01\x01\x12\x15\x0A\x08token_id\x18\x03 \x01(\x05H\x01\x88\x01\x01\x12\x1C\x0A\x0Flog_probability\x18\x02 \x01(\x02H\x02\x88\x01\x01B\x08\x0A\x06_tokenB\x0B\x0A\x09_token_idB\x12\x0A\x10_log_probability\x1AY\x0A\x0DTopCandidates\x12H\x0A\x0Acandidates\x18\x01 \x03(\x0B24.google.cloud.aiplatform.v1.LogprobsResult.Candidate\"g\x0A\x07Segment\x12\x17\x0A\x0Apart_index\x18\x01 \x01(\x05B\x03\xE0A\x03\x12\x18\x0A\x0Bstart_index\x18\x02 \x01(\x05B\x03\xE0A\x03\x12\x16\x0A\x09end_index\x18\x03 \x01(\x05B\x03\xE0A\x03\x12\x11\x0A\x04text\x18\x04 \x01(\x09B\x03\xE0A\x03\"\xD2\x07\x0A\x0EGroundingChunk\x12=\x0A\x03web\x18\x01 \x01(\x0B2..google.cloud.aiplatform.v1.GroundingChunk.WebH\x00\x12X\x0A\x11retrieved_context\x18\x02 \x01(\x0B2;.google.cloud.aiplatform.v1.GroundingChunk.RetrievedContextH\x00\x12?\x0A\x04maps\x18\x03 \x01(\x0B2/.google.cloud.aiplatform.v1.GroundingChunk.MapsH\x00\x1A=\x0A\x03Web\x12\x10\x0A\x03uri\x18\x01 \x01(\x09H\x00\x88\x01\x01\x12\x12\x0A\x05title\x18\x02 \x01(\x09H\x01\x88\x01\x01B\x06\x0A\x04_uriB\x08\x0A\x06_title\x1A\xE7\x01\x0A\x10RetrievedContext\x129\x0A\x09rag_chunk\x18\x04 \x01(\x0B2\$.google.cloud.aiplatform.v1.RagChunkH\x00\x12\x10\x0A\x03uri\x18\x01 \x01(\x09H\x01\x88\x01\x01\x12\x12\x0A\x05title\x18\x02 \x01(\x09H\x02\x88\x01\x01\x12\x11\x0A\x04text\x18\x03 \x01(\x09H\x03\x88\x01\x01\x12\x1F\x0A\x0Ddocument_name\x18\x06 \x01(\x09B\x03\xE0A\x03H\x04\x88\x01\x01B\x11\x0A\x0Fcontext_detailsB\x06\x0A\x04_uriB\x08\x0A\x06_titleB\x07\x0A\x05_textB\x10\x0A\x0E_document_name\x1A\xAE\x03\x0A\x04Maps\x12\x10\x0A\x03uri\x18\x01 \x01(\x09H\x00\x88\x01\x01\x12\x12\x0A\x05title\x18\x02 \x01(\x09H\x01\x88\x01\x01\x12\x11\x0A\x04text\x18\x03 \x01(\x09H\x02\x88\x01\x01\x12\x15\x0A\x08place_id\x18\x04 \x01(\x09H\x03\x88\x01\x01\x12`\x0A\x14place_answer_sources\x18\x05 \x01(\x0B2B.google.cloud.aiplatform.v1.GroundingChunk.Maps.PlaceAnswerSources\x1A\xCB\x01\x0A\x12PlaceAnswerSources\x12i\x0A\x0Freview_snippets\x18\x01 \x03(\x0B2P.google.cloud.aiplatform.v1.GroundingChunk.Maps.PlaceAnswerSources.ReviewSnippet\x1AJ\x0A\x0DReviewSnippet\x12\x11\x0A\x09review_id\x18\x01 \x01(\x09\x12\x17\x0A\x0Fgoogle_maps_uri\x18\x02 \x01(\x09\x12\x0D\x0A\x05title\x18\x03 \x01(\x09B\x06\x0A\x04_uriB\x08\x0A\x06_titleB\x07\x0A\x05_textB\x0B\x0A\x09_place_idB\x0C\x0A\x0Achunk_type\"\x95\x01\x0A\x10GroundingSupport\x129\x0A\x07segment\x18\x01 \x01(\x0B2#.google.cloud.aiplatform.v1.SegmentH\x00\x88\x01\x01\x12\x1F\x0A\x17grounding_chunk_indices\x18\x02 \x03(\x05\x12\x19\x0A\x11confidence_scores\x18\x03 \x03(\x02B\x0A\x0A\x08_segment\"\xA0\x05\x0A\x11GroundingMetadata\x12\x1F\x0A\x12web_search_queries\x18\x01 \x03(\x09B\x03\xE0A\x01\x12R\x0A\x12search_entry_point\x18\x04 \x01(\x0B2,.google.cloud.aiplatform.v1.SearchEntryPointB\x03\xE0A\x01H\x00\x88\x01\x01\x12D\x0A\x10grounding_chunks\x18\x05 \x03(\x0B2*.google.cloud.aiplatform.v1.GroundingChunk\x12M\x0A\x12grounding_supports\x18\x06 \x03(\x0B2,.google.cloud.aiplatform.v1.GroundingSupportB\x03\xE0A\x01\x12V\x0A\x12retrieval_metadata\x18\x07 \x01(\x0B2-.google.cloud.aiplatform.v1.RetrievalMetadataB\x06\xE0A\x01\xE0A\x03H\x01\x88\x01\x01\x125\x0A google_maps_widget_context_token\x18\x08 \x01(\x09B\x06\xE0A\x01\xE0A\x03H\x02\x88\x01\x01\x12]\x0A\x14source_flagging_uris\x18\x09 \x03(\x0B2?.google.cloud.aiplatform.v1.GroundingMetadata.SourceFlaggingUri\x1A@\x0A\x11SourceFlaggingUri\x12\x11\x0A\x09source_id\x18\x01 \x01(\x09\x12\x18\x0A\x10flag_content_uri\x18\x02 \x01(\x09B\x15\x0A\x13_search_entry_pointB\x15\x0A\x13_retrieval_metadataB#\x0A!_google_maps_widget_context_token\"H\x0A\x10SearchEntryPoint\x12\x1D\x0A\x10rendered_content\x18\x01 \x01(\x09B\x03\xE0A\x01\x12\x15\x0A\x08sdk_blob\x18\x02 \x01(\x0CB\x03\xE0A\x01\"G\x0A\x11RetrievalMetadata\x122\x0A%google_search_dynamic_retrieval_score\x18\x02 \x01(\x02B\x03\xE0A\x01\"\xA8\x01\x0A\x10ModelArmorConfig\x12H\x0A\x14prompt_template_name\x18\x01 \x01(\x09B*\xE0A\x01\xFAA\$\x0A\"modelarmor.googleapis.com/Template\x12J\x0A\x16response_template_name\x18\x02 \x01(\x09B*\xE0A\x01\xFAA\$\x0A\"modelarmor.googleapis.com/Template\"a\x0A\x12ModalityTokenCount\x126\x0A\x08modality\x18\x01 \x01(\x0E2\$.google.cloud.aiplatform.v1.Modality\x12\x13\x0A\x0Btoken_count\x18\x02 \x01(\x05*\xF8\x01\x0A\x0CHarmCategory\x12\x1D\x0A\x19HARM_CATEGORY_UNSPECIFIED\x10\x00\x12\x1D\x0A\x19HARM_CATEGORY_HATE_SPEECH\x10\x01\x12#\x0A\x1FHARM_CATEGORY_DANGEROUS_CONTENT\x10\x02\x12\x1C\x0A\x18HARM_CATEGORY_HARASSMENT\x10\x03\x12#\x0A\x1FHARM_CATEGORY_SEXUALLY_EXPLICIT\x10\x04\x12%\x0A\x1DHARM_CATEGORY_CIVIC_INTEGRITY\x10\x05\x1A\x02\x08\x01\x12\x1B\x0A\x17HARM_CATEGORY_JAILBREAK\x10\x06*]\x0A\x08Modality\x12\x18\x0A\x14MODALITY_UNSPECIFIED\x10\x00\x12\x08\x0A\x04TEXT\x10\x01\x12\x09\x0A\x05IMAGE\x10\x02\x12\x09\x0A\x05VIDEO\x10\x03\x12\x09\x0A\x05AUDIO\x10\x04\x12\x0C\x0A\x08DOCUMENT\x10\x05B\xAF\x02\x0A\x1Ecom.google.cloud.aiplatform.v1B\x0CContentProtoP\x01Z>cloud.google.com/go/aiplatform/apiv1/aiplatformpb;aiplatformpb\xAA\x02\x1AGoogle.Cloud.AIPlatform.V1\xCA\x02\x1AGoogle\\Cloud\\AIPlatform\\V1\xEA\x02\x1DGoogle::Cloud::AIPlatform::V1\xEAAb\x0A\"modelarmor.googleapis.com/Template\x12internalAddGeneratedFile( + "\x0A\xCB\x07\x0A(google/cloud/aiplatform/v1/context.proto\x12\x1Agoogle.cloud.aiplatform.v1\x1A\x19google/api/resource.proto\x1A\x1Cgoogle/protobuf/struct.proto\x1A\x1Fgoogle/protobuf/timestamp.proto\"\xD3\x04\x0A\x07Context\x12\x11\x0A\x04name\x18\x01 \x01(\x09B\x03\xE0A\x05\x12\x14\x0A\x0Cdisplay_name\x18\x02 \x01(\x09\x12\x0C\x0A\x04etag\x18\x08 \x01(\x09\x12?\x0A\x06labels\x18\x09 \x03(\x0B2/.google.cloud.aiplatform.v1.Context.LabelsEntry\x124\x0A\x0Bcreate_time\x18\x0A \x01(\x0B2\x1A.google.protobuf.TimestampB\x03\xE0A\x03\x124\x0A\x0Bupdate_time\x18\x0B \x01(\x0B2\x1A.google.protobuf.TimestampB\x03\xE0A\x03\x12B\x0A\x0Fparent_contexts\x18\x0C \x03(\x09B)\xE0A\x03\xFAA#\x0A!aiplatform.googleapis.com/Context\x12\x14\x0A\x0Cschema_title\x18\x0D \x01(\x09\x12\x16\x0A\x0Eschema_version\x18\x0E \x01(\x09\x12)\x0A\x08metadata\x18\x0F \x01(\x0B2\x17.google.protobuf.Struct\x12\x13\x0A\x0Bdescription\x18\x10 \x01(\x09\x1A-\x0A\x0BLabelsEntry\x12\x0B\x0A\x03key\x18\x01 \x01(\x09\x12\x0D\x0A\x05value\x18\x02 \x01(\x09:\x028\x01:\x82\x01\xEAA\x7F\x0A!aiplatform.googleapis.com/Context\x12Zprojects/{project}/locations/{location}/metadataStores/{metadata_store}/contexts/{context}B\xCA\x01\x0A\x1Ecom.google.cloud.aiplatform.v1B\x0CContextProtoP\x01Z>cloud.google.com/go/aiplatform/apiv1/aiplatformpb;aiplatformpb\xAA\x02\x1AGoogle.Cloud.AIPlatform.V1\xCA\x02\x1AGoogle\\Cloud\\AIPlatform\\V1\xEA\x02\x1DGoogle::Cloud::AIPlatform::V1b\x06proto3" + , 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 000000000000..ff6972efdae8 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/CustomJob.php @@ -0,0 +1,35 @@ +internalAddGeneratedFile( + "\x0A\x9F\x1C\x0A+google/cloud/aiplatform/v1/custom_job.proto\x12\x1Agoogle.cloud.aiplatform.v1\x1A\x19google/api/resource.proto\x1A0google/cloud/aiplatform/v1/encryption_spec.proto\x1A(google/cloud/aiplatform/v1/env_var.proto\x1A#google/cloud/aiplatform/v1/io.proto\x1A*google/cloud/aiplatform/v1/job_state.proto\x1A2google/cloud/aiplatform/v1/machine_resources.proto\x1A3google/cloud/aiplatform/v1/service_networking.proto\x1A\x1Egoogle/protobuf/duration.proto\x1A\x1Fgoogle/protobuf/timestamp.proto\x1A\x17google/rpc/status.proto\"\x99\x07\x0A\x09CustomJob\x12\x11\x0A\x04name\x18\x01 \x01(\x09B\x03\xE0A\x03\x12\x19\x0A\x0Cdisplay_name\x18\x02 \x01(\x09B\x03\xE0A\x02\x12@\x0A\x08job_spec\x18\x04 \x01(\x0B2).google.cloud.aiplatform.v1.CustomJobSpecB\x03\xE0A\x02\x128\x0A\x05state\x18\x05 \x01(\x0E2\$.google.cloud.aiplatform.v1.JobStateB\x03\xE0A\x03\x124\x0A\x0Bcreate_time\x18\x06 \x01(\x0B2\x1A.google.protobuf.TimestampB\x03\xE0A\x03\x123\x0A\x0Astart_time\x18\x07 \x01(\x0B2\x1A.google.protobuf.TimestampB\x03\xE0A\x03\x121\x0A\x08end_time\x18\x08 \x01(\x0B2\x1A.google.protobuf.TimestampB\x03\xE0A\x03\x124\x0A\x0Bupdate_time\x18\x09 \x01(\x0B2\x1A.google.protobuf.TimestampB\x03\xE0A\x03\x12&\x0A\x05error\x18\x0A \x01(\x0B2\x12.google.rpc.StatusB\x03\xE0A\x03\x12A\x0A\x06labels\x18\x0B \x03(\x0B21.google.cloud.aiplatform.v1.CustomJob.LabelsEntry\x12C\x0A\x0Fencryption_spec\x18\x0C \x01(\x0B2*.google.cloud.aiplatform.v1.EncryptionSpec\x12V\x0A\x0Fweb_access_uris\x18\x10 \x03(\x0B28.google.cloud.aiplatform.v1.CustomJob.WebAccessUrisEntryB\x03\xE0A\x03\x12\x1A\x0A\x0Dsatisfies_pzs\x18\x12 \x01(\x08B\x03\xE0A\x03\x12\x1A\x0A\x0Dsatisfies_pzi\x18\x13 \x01(\x08B\x03\xE0A\x03\x1A-\x0A\x0BLabelsEntry\x12\x0B\x0A\x03key\x18\x01 \x01(\x09\x12\x0D\x0A\x05value\x18\x02 \x01(\x09:\x028\x01\x1A4\x0A\x12WebAccessUrisEntry\x12\x0B\x0A\x03key\x18\x01 \x01(\x09\x12\x0D\x0A\x05value\x18\x02 \x01(\x09:\x028\x01:i\xEAAf\x0A#aiplatform.googleapis.com/CustomJob\x12?projects/{project}/locations/{location}/customJobs/{custom_job}\"\xEB\x06\x0A\x0DCustomJobSpec\x12T\x0A\x16persistent_resource_id\x18\x0E \x01(\x09B4\xE0A\x01\xFAA.\x0A,aiplatform.googleapis.com/PersistentResource\x12J\x0A\x11worker_pool_specs\x18\x01 \x03(\x0B2*.google.cloud.aiplatform.v1.WorkerPoolSpecB\x03\xE0A\x02\x12:\x0A\x0Ascheduling\x18\x03 \x01(\x0B2&.google.cloud.aiplatform.v1.Scheduling\x12\x17\x0A\x0Fservice_account\x18\x04 \x01(\x09\x127\x0A\x07network\x18\x05 \x01(\x09B&\xE0A\x01\xFAA \x0A\x1Ecompute.googleapis.com/Network\x12\x1F\x0A\x12reserved_ip_ranges\x18\x0D \x03(\x09B\x03\xE0A\x01\x12Q\x0A\x14psc_interface_config\x18\x15 \x01(\x0B2..google.cloud.aiplatform.v1.PscInterfaceConfigB\x03\xE0A\x01\x12I\x0A\x15base_output_directory\x18\x06 \x01(\x0B2*.google.cloud.aiplatform.v1.GcsDestination\x12&\x0A\x1Eprotected_artifact_location_id\x18\x13 \x01(\x09\x12B\x0A\x0Btensorboard\x18\x07 \x01(\x09B-\xE0A\x01\xFAA'\x0A%aiplatform.googleapis.com/Tensorboard\x12\x1E\x0A\x11enable_web_access\x18\x0A \x01(\x08B\x03\xE0A\x01\x12\$\x0A\x17enable_dashboard_access\x18\x10 \x01(\x08B\x03\xE0A\x01\x12=\x0A\x0Aexperiment\x18\x11 \x01(\x09B)\xE0A\x01\xFAA#\x0A!aiplatform.googleapis.com/Context\x12A\x0A\x0Eexperiment_run\x18\x12 \x01(\x09B)\xE0A\x01\xFAA#\x0A!aiplatform.googleapis.com/Context\x127\x0A\x06models\x18\x14 \x03(\x09B'\xE0A\x01\xFAA!\x0A\x1Faiplatform.googleapis.com/Model\"\xCB\x03\x0A\x0EWorkerPoolSpec\x12C\x0A\x0Econtainer_spec\x18\x06 \x01(\x0B2).google.cloud.aiplatform.v1.ContainerSpecH\x00\x12L\x0A\x13python_package_spec\x18\x07 \x01(\x0B2-.google.cloud.aiplatform.v1.PythonPackageSpecH\x00\x12E\x0A\x0Cmachine_spec\x18\x01 \x01(\x0B2'.google.cloud.aiplatform.v1.MachineSpecB\x06\xE0A\x01\xE0A\x05\x12\x1A\x0A\x0Dreplica_count\x18\x02 \x01(\x03B\x03\xE0A\x01\x12=\x0A\x0Anfs_mounts\x18\x04 \x03(\x0B2\$.google.cloud.aiplatform.v1.NfsMountB\x03\xE0A\x01\x12C\x0A\x0Dlustre_mounts\x18\x09 \x03(\x0B2'.google.cloud.aiplatform.v1.LustreMountB\x03\xE0A\x01\x127\x0A\x09disk_spec\x18\x05 \x01(\x0B2\$.google.cloud.aiplatform.v1.DiskSpecB\x06\x0A\x04task\"w\x0A\x0DContainerSpec\x12\x16\x0A\x09image_uri\x18\x01 \x01(\x09B\x03\xE0A\x02\x12\x0F\x0A\x07command\x18\x02 \x03(\x09\x12\x0C\x0A\x04args\x18\x03 \x03(\x09\x12/\x0A\x03env\x18\x04 \x03(\x0B2\".google.cloud.aiplatform.v1.EnvVar\"\xAA\x01\x0A\x11PythonPackageSpec\x12\x1F\x0A\x12executor_image_uri\x18\x01 \x01(\x09B\x03\xE0A\x02\x12\x19\x0A\x0Cpackage_uris\x18\x02 \x03(\x09B\x03\xE0A\x02\x12\x1A\x0A\x0Dpython_module\x18\x03 \x01(\x09B\x03\xE0A\x02\x12\x0C\x0A\x04args\x18\x04 \x03(\x09\x12/\x0A\x03env\x18\x05 \x03(\x0B2\".google.cloud.aiplatform.v1.EnvVar\"\xF3\x02\x0A\x0AScheduling\x12*\x0A\x07timeout\x18\x01 \x01(\x0B2\x19.google.protobuf.Duration\x12%\x0A\x1Drestart_job_on_worker_restart\x18\x03 \x01(\x08\x12F\x0A\x08strategy\x18\x04 \x01(\x0E2/.google.cloud.aiplatform.v1.Scheduling.StrategyB\x03\xE0A\x01\x12\x1C\x0A\x0Fdisable_retries\x18\x05 \x01(\x08B\x03\xE0A\x01\x129\x0A\x11max_wait_duration\x18\x06 \x01(\x0B2\x19.google.protobuf.DurationB\x03\xE0A\x01\"q\x0A\x08Strategy\x12\x18\x0A\x14STRATEGY_UNSPECIFIED\x10\x00\x12\x11\x0A\x09ON_DEMAND\x10\x01\x1A\x02\x08\x01\x12\x10\x0A\x08LOW_COST\x10\x02\x1A\x02\x08\x01\x12\x0C\x0A\x08STANDARD\x10\x03\x12\x08\x0A\x04SPOT\x10\x04\x12\x0E\x0A\x0AFLEX_START\x10\x06B\xCC\x01\x0A\x1Ecom.google.cloud.aiplatform.v1B\x0ECustomJobProtoP\x01Z>cloud.google.com/go/aiplatform/apiv1/aiplatformpb;aiplatformpb\xAA\x02\x1AGoogle.Cloud.AIPlatform.V1\xCA\x02\x1AGoogle\\Cloud\\AIPlatform\\V1\xEA\x02\x1DGoogle::Cloud::AIPlatform::V1b\x06proto3" + , true); + + static::$is_initialized = true; + } +} + diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/DataFoundryService.php b/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/DataFoundryService.php new file mode 100644 index 000000000000..c2c7e3303d6c --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/DataFoundryService.php @@ -0,0 +1,29 @@ +internalAddGeneratedFile( + "\x0A\x9B\x0D\x0A5google/cloud/aiplatform/v1/data_foundry_service.proto\x12\x1Agoogle.cloud.aiplatform.v1\x1A\x17google/api/client.proto\x1A\x1Fgoogle/api/field_behavior.proto\x1A\x19google/api/resource.proto\x1A(google/cloud/aiplatform/v1/content.proto\"\xDF\x02\x0A\x1CGenerateSyntheticDataRequest\x12O\x0A\x10task_description\x18\x03 \x01(\x0B23.google.cloud.aiplatform.v1.TaskDescriptionStrategyH\x00\x12;\x0A\x08location\x18\x01 \x01(\x09B)\xE0A\x02\xFAA#\x0A!locations.googleapis.com/Location\x12\x12\x0A\x05count\x18\x02 \x01(\x05B\x03\xE0A\x02\x12L\x0A\x12output_field_specs\x18\x04 \x03(\x0B2+.google.cloud.aiplatform.v1.OutputFieldSpecB\x03\xE0A\x02\x12C\x0A\x08examples\x18\x05 \x03(\x0B2,.google.cloud.aiplatform.v1.SyntheticExampleB\x03\xE0A\x01B\x0A\x0A\x08strategy\"d\x0A\x0ESyntheticField\x12\x17\x0A\x0Afield_name\x18\x01 \x01(\x09B\x03\xE0A\x01\x129\x0A\x07content\x18\x02 \x01(\x0B2#.google.cloud.aiplatform.v1.ContentB\x03\xE0A\x02\"S\x0A\x10SyntheticExample\x12?\x0A\x06fields\x18\x01 \x03(\x0B2*.google.cloud.aiplatform.v1.SyntheticFieldB\x03\xE0A\x02\"\xE7\x01\x0A\x0FOutputFieldSpec\x12\x17\x0A\x0Afield_name\x18\x01 \x01(\x09B\x03\xE0A\x02\x12\x15\x0A\x08guidance\x18\x02 \x01(\x09B\x03\xE0A\x01\x12N\x0A\x0Afield_type\x18\x03 \x01(\x0E25.google.cloud.aiplatform.v1.OutputFieldSpec.FieldTypeB\x03\xE0A\x01\"T\x0A\x09FieldType\x12\x1A\x0A\x16FIELD_TYPE_UNSPECIFIED\x10\x00\x12\x0B\x0A\x07CONTENT\x10\x01\x12\x08\x0A\x04TEXT\x10\x02\x12\x09\x0A\x05IMAGE\x10\x03\x12\x09\x0A\x05AUDIO\x10\x04\"8\x0A\x17TaskDescriptionStrategy\x12\x1D\x0A\x10task_description\x18\x01 \x01(\x09B\x03\xE0A\x02\"i\x0A\x1DGenerateSyntheticDataResponse\x12H\x0A\x12synthetic_examples\x18\x01 \x03(\x0B2,.google.cloud.aiplatform.v1.SyntheticExample2\xBA\x02\x0A\x12DataFoundryService\x12\xD4\x01\x0A\x15GenerateSyntheticData\x128.google.cloud.aiplatform.v1.GenerateSyntheticDataRequest\x1A9.google.cloud.aiplatform.v1.GenerateSyntheticDataResponse\"F\x82\xD3\xE4\x93\x02@\";/v1/{location=projects/*/locations/*}:generateSyntheticData:\x01*\x1AM\xCAA\x19aiplatform.googleapis.com\xD2A.https://www.googleapis.com/auth/cloud-platformB\xD5\x01\x0A\x1Ecom.google.cloud.aiplatform.v1B\x17DataFoundryServiceProtoP\x01Z>cloud.google.com/go/aiplatform/apiv1/aiplatformpb;aiplatformpb\xAA\x02\x1AGoogle.Cloud.AIPlatform.V1\xCA\x02\x1AGoogle\\Cloud\\AIPlatform\\V1\xEA\x02\x1DGoogle::Cloud::AIPlatform::V1b\x06proto3" + , true); + + static::$is_initialized = true; + } +} + 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..9f94fdf2562d --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/DataItem.php @@ -0,0 +1,28 @@ +internalAddGeneratedFile( + "\x0A\xEE\x06\x0A*google/cloud/aiplatform/v1/data_item.proto\x12\x1Agoogle.cloud.aiplatform.v1\x1A\x19google/api/resource.proto\x1A\x1Cgoogle/protobuf/struct.proto\x1A\x1Fgoogle/protobuf/timestamp.proto\"\xF3\x03\x0A\x08DataItem\x12\x11\x0A\x04name\x18\x01 \x01(\x09B\x03\xE0A\x03\x124\x0A\x0Bcreate_time\x18\x02 \x01(\x0B2\x1A.google.protobuf.TimestampB\x03\xE0A\x03\x124\x0A\x0Bupdate_time\x18\x06 \x01(\x0B2\x1A.google.protobuf.TimestampB\x03\xE0A\x03\x12E\x0A\x06labels\x18\x03 \x03(\x0B20.google.cloud.aiplatform.v1.DataItem.LabelsEntryB\x03\xE0A\x01\x12,\x0A\x07payload\x18\x04 \x01(\x0B2\x16.google.protobuf.ValueB\x03\xE0A\x02\x12\x11\x0A\x04etag\x18\x07 \x01(\x09B\x03\xE0A\x01\x12\x1A\x0A\x0Dsatisfies_pzs\x18\x0A \x01(\x08B\x03\xE0A\x03\x12\x1A\x0A\x0Dsatisfies_pzi\x18\x0B \x01(\x08B\x03\xE0A\x03\x1A-\x0A\x0BLabelsEntry\x12\x0B\x0A\x03key\x18\x01 \x01(\x09\x12\x0D\x0A\x05value\x18\x02 \x01(\x09:\x028\x01:y\xEAAv\x0A\"aiplatform.googleapis.com/DataItem\x12Pprojects/{project}/locations/{location}/datasets/{dataset}/dataItems/{data_item}B\xCB\x01\x0A\x1Ecom.google.cloud.aiplatform.v1B\x0DDataItemProtoP\x01Z>cloud.google.com/go/aiplatform/apiv1/aiplatformpb;aiplatformpb\xAA\x02\x1AGoogle.Cloud.AIPlatform.V1\xCA\x02\x1AGoogle\\Cloud\\AIPlatform\\V1\xEA\x02\x1DGoogle::Cloud::AIPlatform::V1b\x06proto3" + , 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 000000000000..880c26e8bcea --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/DataLabelingJob.php @@ -0,0 +1,32 @@ +internalAddGeneratedFile( + "\x0A\xE7\x11\x0A2google/cloud/aiplatform/v1/data_labeling_job.proto\x12\x1Agoogle.cloud.aiplatform.v1\x1A\x19google/api/resource.proto\x1A0google/cloud/aiplatform/v1/encryption_spec.proto\x1A*google/cloud/aiplatform/v1/job_state.proto\x1A\x1Cgoogle/protobuf/struct.proto\x1A\x1Fgoogle/protobuf/timestamp.proto\x1A\x17google/rpc/status.proto\x1A\x17google/type/money.proto\"\xDF\x08\x0A\x0FDataLabelingJob\x12\x11\x0A\x04name\x18\x01 \x01(\x09B\x03\xE0A\x03\x12\x19\x0A\x0Cdisplay_name\x18\x02 \x01(\x09B\x03\xE0A\x02\x12;\x0A\x08datasets\x18\x03 \x03(\x09B)\xE0A\x02\xFAA#\x0A!aiplatform.googleapis.com/Dataset\x12\\\x0A\x11annotation_labels\x18\x0C \x03(\x0B2A.google.cloud.aiplatform.v1.DataLabelingJob.AnnotationLabelsEntry\x12\x1A\x0A\x0Dlabeler_count\x18\x04 \x01(\x05B\x03\xE0A\x02\x12\x1C\x0A\x0Finstruction_uri\x18\x05 \x01(\x09B\x03\xE0A\x02\x12\x1E\x0A\x11inputs_schema_uri\x18\x06 \x01(\x09B\x03\xE0A\x02\x12+\x0A\x06inputs\x18\x07 \x01(\x0B2\x16.google.protobuf.ValueB\x03\xE0A\x02\x128\x0A\x05state\x18\x08 \x01(\x0E2\$.google.cloud.aiplatform.v1.JobStateB\x03\xE0A\x03\x12\x1E\x0A\x11labeling_progress\x18\x0D \x01(\x05B\x03\xE0A\x03\x12.\x0A\x0Dcurrent_spend\x18\x0E \x01(\x0B2\x12.google.type.MoneyB\x03\xE0A\x03\x124\x0A\x0Bcreate_time\x18\x09 \x01(\x0B2\x1A.google.protobuf.TimestampB\x03\xE0A\x03\x124\x0A\x0Bupdate_time\x18\x0A \x01(\x0B2\x1A.google.protobuf.TimestampB\x03\xE0A\x03\x12&\x0A\x05error\x18\x16 \x01(\x0B2\x12.google.rpc.StatusB\x03\xE0A\x03\x12G\x0A\x06labels\x18\x0B \x03(\x0B27.google.cloud.aiplatform.v1.DataLabelingJob.LabelsEntry\x12\x18\x0A\x10specialist_pools\x18\x10 \x03(\x09\x12C\x0A\x0Fencryption_spec\x18\x14 \x01(\x0B2*.google.cloud.aiplatform.v1.EncryptionSpec\x12P\x0A\x16active_learning_config\x18\x15 \x01(\x0B20.google.cloud.aiplatform.v1.ActiveLearningConfig\x1A7\x0A\x15AnnotationLabelsEntry\x12\x0B\x0A\x03key\x18\x01 \x01(\x09\x12\x0D\x0A\x05value\x18\x02 \x01(\x09:\x028\x01\x1A-\x0A\x0BLabelsEntry\x12\x0B\x0A\x03key\x18\x01 \x01(\x09\x12\x0D\x0A\x05value\x18\x02 \x01(\x09:\x028\x01:|\xEAAy\x0A)aiplatform.googleapis.com/DataLabelingJob\x12Lprojects/{project}/locations/{location}/dataLabelingJobs/{data_labeling_job}\"\xF8\x01\x0A\x14ActiveLearningConfig\x12\x1D\x0A\x13max_data_item_count\x18\x01 \x01(\x03H\x00\x12\"\x0A\x18max_data_item_percentage\x18\x02 \x01(\x05H\x00\x12?\x0A\x0Dsample_config\x18\x03 \x01(\x0B2(.google.cloud.aiplatform.v1.SampleConfig\x12C\x0A\x0Ftraining_config\x18\x04 \x01(\x0B2*.google.cloud.aiplatform.v1.TrainingConfigB\x17\x0A\x15human_labeling_budget\"\xB8\x02\x0A\x0CSampleConfig\x12)\x0A\x1Finitial_batch_sample_percentage\x18\x01 \x01(\x05H\x00\x12+\x0A!following_batch_sample_percentage\x18\x03 \x01(\x05H\x01\x12P\x0A\x0Fsample_strategy\x18\x05 \x01(\x0E27.google.cloud.aiplatform.v1.SampleConfig.SampleStrategy\"B\x0A\x0ESampleStrategy\x12\x1F\x0A\x1BSAMPLE_STRATEGY_UNSPECIFIED\x10\x00\x12\x0F\x0A\x0BUNCERTAINTY\x10\x01B\x1B\x0A\x19initial_batch_sample_sizeB\x1D\x0A\x1Bfollowing_batch_sample_size\"6\x0A\x0ETrainingConfig\x12\$\x0A\x1Ctimeout_training_milli_hours\x18\x01 \x01(\x03B\xD2\x01\x0A\x1Ecom.google.cloud.aiplatform.v1B\x14DataLabelingJobProtoP\x01Z>cloud.google.com/go/aiplatform/apiv1/aiplatformpb;aiplatformpb\xAA\x02\x1AGoogle.Cloud.AIPlatform.V1\xCA\x02\x1AGoogle\\Cloud\\AIPlatform\\V1\xEA\x02\x1DGoogle::Cloud::AIPlatform::V1b\x06proto3" + , true); + + static::$is_initialized = true; + } +} + 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 000000000000..2735b9769748 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/Dataset.php @@ -0,0 +1,31 @@ +internalAddGeneratedFile( + "\x0A\x8B\x13\x0A(google/cloud/aiplatform/v1/dataset.proto\x12\x1Agoogle.cloud.aiplatform.v1\x1A\x19google/api/resource.proto\x1A0google/cloud/aiplatform/v1/encryption_spec.proto\x1A#google/cloud/aiplatform/v1/io.proto\x1A,google/cloud/aiplatform/v1/saved_query.proto\x1A\x1Cgoogle/protobuf/struct.proto\x1A\x1Fgoogle/protobuf/timestamp.proto\"\xAC\x06\x0A\x07Dataset\x12:\x0A\x04name\x18\x01 \x01(\x09B,\xE0A\x03\xE0A\x08\xFAA#\x0A!aiplatform.googleapis.com/Dataset\x12\x19\x0A\x0Cdisplay_name\x18\x02 \x01(\x09B\x03\xE0A\x02\x12\x13\x0A\x0Bdescription\x18\x10 \x01(\x09\x12 \x0A\x13metadata_schema_uri\x18\x03 \x01(\x09B\x03\xE0A\x02\x12-\x0A\x08metadata\x18\x08 \x01(\x0B2\x16.google.protobuf.ValueB\x03\xE0A\x02\x12\x1C\x0A\x0Fdata_item_count\x18\x0A \x01(\x03B\x03\xE0A\x03\x124\x0A\x0Bcreate_time\x18\x04 \x01(\x0B2\x1A.google.protobuf.TimestampB\x03\xE0A\x03\x124\x0A\x0Bupdate_time\x18\x05 \x01(\x0B2\x1A.google.protobuf.TimestampB\x03\xE0A\x03\x12\x0C\x0A\x04etag\x18\x06 \x01(\x09\x12?\x0A\x06labels\x18\x07 \x03(\x0B2/.google.cloud.aiplatform.v1.Dataset.LabelsEntry\x12=\x0A\x0Dsaved_queries\x18\x09 \x03(\x0B2&.google.cloud.aiplatform.v1.SavedQuery\x12C\x0A\x0Fencryption_spec\x18\x0B \x01(\x0B2*.google.cloud.aiplatform.v1.EncryptionSpec\x12\x1E\x0A\x11metadata_artifact\x18\x11 \x01(\x09B\x03\xE0A\x03\x12\x1C\x0A\x0Fmodel_reference\x18\x12 \x01(\x09B\x03\xE0A\x01\x12\x1A\x0A\x0Dsatisfies_pzs\x18\x13 \x01(\x08B\x03\xE0A\x03\x12\x1A\x0A\x0Dsatisfies_pzi\x18\x14 \x01(\x08B\x03\xE0A\x03\x1A-\x0A\x0BLabelsEntry\x12\x0B\x0A\x03key\x18\x01 \x01(\x09\x12\x0D\x0A\x05value\x18\x02 \x01(\x09:\x028\x01:b\xEAA_\x0A!aiplatform.googleapis.com/Dataset\x12:projects/{project}/locations/{location}/datasets/{dataset}\"\xA4\x03\x0A\x10ImportDataConfig\x12;\x0A\x0Agcs_source\x18\x01 \x01(\x0B2%.google.cloud.aiplatform.v1.GcsSourceH\x00\x12Z\x0A\x10data_item_labels\x18\x02 \x03(\x0B2@.google.cloud.aiplatform.v1.ImportDataConfig.DataItemLabelsEntry\x12]\x0A\x11annotation_labels\x18\x03 \x03(\x0B2B.google.cloud.aiplatform.v1.ImportDataConfig.AnnotationLabelsEntry\x12\x1E\x0A\x11import_schema_uri\x18\x04 \x01(\x09B\x03\xE0A\x02\x1A5\x0A\x13DataItemLabelsEntry\x12\x0B\x0A\x03key\x18\x01 \x01(\x09\x12\x0D\x0A\x05value\x18\x02 \x01(\x09:\x028\x01\x1A7\x0A\x15AnnotationLabelsEntry\x12\x0B\x0A\x03key\x18\x01 \x01(\x09\x12\x0D\x0A\x05value\x18\x02 \x01(\x09:\x028\x01B\x08\x0A\x06source\"\xE5\x03\x0A\x10ExportDataConfig\x12E\x0A\x0Fgcs_destination\x18\x01 \x01(\x0B2*.google.cloud.aiplatform.v1.GcsDestinationH\x00\x12I\x0A\x0Efraction_split\x18\x05 \x01(\x0B2/.google.cloud.aiplatform.v1.ExportFractionSplitH\x01\x12E\x0A\x0Cfilter_split\x18\x07 \x01(\x0B2-.google.cloud.aiplatform.v1.ExportFilterSplitH\x01\x12\x1A\x0A\x12annotations_filter\x18\x02 \x01(\x09\x12\x16\x0A\x0Esaved_query_id\x18\x0B \x01(\x09\x12\x1D\x0A\x15annotation_schema_uri\x18\x0C \x01(\x09\x12J\x0A\x0Aexport_use\x18\x04 \x01(\x0E26.google.cloud.aiplatform.v1.ExportDataConfig.ExportUse\"A\x0A\x09ExportUse\x12\x1A\x0A\x16EXPORT_USE_UNSPECIFIED\x10\x00\x12\x18\x0A\x14CUSTOM_CODE_TRAINING\x10\x06B\x0D\x0A\x0BdestinationB\x07\x0A\x05split\"d\x0A\x13ExportFractionSplit\x12\x19\x0A\x11training_fraction\x18\x01 \x01(\x01\x12\x1B\x0A\x13validation_fraction\x18\x02 \x01(\x01\x12\x15\x0A\x0Dtest_fraction\x18\x03 \x01(\x01\"k\x0A\x11ExportFilterSplit\x12\x1C\x0A\x0Ftraining_filter\x18\x01 \x01(\x09B\x03\xE0A\x02\x12\x1E\x0A\x11validation_filter\x18\x02 \x01(\x09B\x03\xE0A\x02\x12\x18\x0A\x0Btest_filter\x18\x03 \x01(\x09B\x03\xE0A\x02B\xCA\x01\x0A\x1Ecom.google.cloud.aiplatform.v1B\x0CDatasetProtoP\x01Z>cloud.google.com/go/aiplatform/apiv1/aiplatformpb;aiplatformpb\xAA\x02\x1AGoogle.Cloud.AIPlatform.V1\xCA\x02\x1AGoogle\\Cloud\\AIPlatform\\V1\xEA\x02\x1DGoogle::Cloud::AIPlatform::V1b\x06proto3" + , true); + + static::$is_initialized = true; + } +} + diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/DatasetService.php b/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/DatasetService.php new file mode 100644 index 000000000000..2d3db11917ff --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/DatasetService.php @@ -0,0 +1,39 @@ +internalAddGeneratedFile( + "\x0A\xF3Q\x0A0google/cloud/aiplatform/v1/dataset_service.proto\x12\x1Agoogle.cloud.aiplatform.v1\x1A\x17google/api/client.proto\x1A\x1Fgoogle/api/field_behavior.proto\x1A\x19google/api/resource.proto\x1A+google/cloud/aiplatform/v1/annotation.proto\x1A0google/cloud/aiplatform/v1/annotation_spec.proto\x1A*google/cloud/aiplatform/v1/data_item.proto\x1A(google/cloud/aiplatform/v1/dataset.proto\x1A0google/cloud/aiplatform/v1/dataset_version.proto\x1A&google/cloud/aiplatform/v1/model.proto\x1A*google/cloud/aiplatform/v1/operation.proto\x1A,google/cloud/aiplatform/v1/saved_query.proto\x1A#google/longrunning/operations.proto\x1A\x1Bgoogle/protobuf/empty.proto\x1A google/protobuf/field_mask.proto\"\x8C\x01\x0A\x14CreateDatasetRequest\x129\x0A\x06parent\x18\x01 \x01(\x09B)\xE0A\x02\xFAA#\x0A!locations.googleapis.com/Location\x129\x0A\x07dataset\x18\x02 \x01(\x0B2#.google.cloud.aiplatform.v1.DatasetB\x03\xE0A\x02\"p\x0A\x1ECreateDatasetOperationMetadata\x12N\x0A\x10generic_metadata\x18\x01 \x01(\x0B24.google.cloud.aiplatform.v1.GenericOperationMetadata\"{\x0A\x11GetDatasetRequest\x127\x0A\x04name\x18\x01 \x01(\x09B)\xE0A\x02\xFAA#\x0A!aiplatform.googleapis.com/Dataset\x12-\x0A\x09read_mask\x18\x02 \x01(\x0B2\x1A.google.protobuf.FieldMask\"\x87\x01\x0A\x14UpdateDatasetRequest\x129\x0A\x07dataset\x18\x01 \x01(\x0B2#.google.cloud.aiplatform.v1.DatasetB\x03\xE0A\x02\x124\x0A\x0Bupdate_mask\x18\x02 \x01(\x0B2\x1A.google.protobuf.FieldMaskB\x03\xE0A\x02\"\x9D\x01\x0A\x1BUpdateDatasetVersionRequest\x12H\x0A\x0Fdataset_version\x18\x01 \x01(\x0B2*.google.cloud.aiplatform.v1.DatasetVersionB\x03\xE0A\x02\x124\x0A\x0Bupdate_mask\x18\x02 \x01(\x0B2\x1A.google.protobuf.FieldMaskB\x03\xE0A\x02\"\xC8\x01\x0A\x13ListDatasetsRequest\x129\x0A\x06parent\x18\x01 \x01(\x09B)\xE0A\x02\xFAA#\x0A!locations.googleapis.com/Location\x12\x0E\x0A\x06filter\x18\x02 \x01(\x09\x12\x11\x0A\x09page_size\x18\x03 \x01(\x05\x12\x12\x0A\x0Apage_token\x18\x04 \x01(\x09\x12-\x0A\x09read_mask\x18\x05 \x01(\x0B2\x1A.google.protobuf.FieldMask\x12\x10\x0A\x08order_by\x18\x06 \x01(\x09\"f\x0A\x14ListDatasetsResponse\x125\x0A\x08datasets\x18\x01 \x03(\x0B2#.google.cloud.aiplatform.v1.Dataset\x12\x17\x0A\x0Fnext_page_token\x18\x02 \x01(\x09\"O\x0A\x14DeleteDatasetRequest\x127\x0A\x04name\x18\x01 \x01(\x09B)\xE0A\x02\xFAA#\x0A!aiplatform.googleapis.com/Dataset\"\x97\x01\x0A\x11ImportDataRequest\x127\x0A\x04name\x18\x01 \x01(\x09B)\xE0A\x02\xFAA#\x0A!aiplatform.googleapis.com/Dataset\x12I\x0A\x0Eimport_configs\x18\x02 \x03(\x0B2,.google.cloud.aiplatform.v1.ImportDataConfigB\x03\xE0A\x02\"\x14\x0A\x12ImportDataResponse\"m\x0A\x1BImportDataOperationMetadata\x12N\x0A\x10generic_metadata\x18\x01 \x01(\x0B24.google.cloud.aiplatform.v1.GenericOperationMetadata\"\x96\x01\x0A\x11ExportDataRequest\x127\x0A\x04name\x18\x01 \x01(\x09B)\xE0A\x02\xFAA#\x0A!aiplatform.googleapis.com/Dataset\x12H\x0A\x0Dexport_config\x18\x02 \x01(\x0B2,.google.cloud.aiplatform.v1.ExportDataConfigB\x03\xE0A\x02\"m\x0A\x12ExportDataResponse\x12\x16\x0A\x0Eexported_files\x18\x01 \x03(\x09\x12?\x0A\x0Adata_stats\x18\x02 \x01(\x0B2+.google.cloud.aiplatform.v1.Model.DataStats\"\x8B\x01\x0A\x1BExportDataOperationMetadata\x12N\x0A\x10generic_metadata\x18\x01 \x01(\x0B24.google.cloud.aiplatform.v1.GenericOperationMetadata\x12\x1C\x0A\x14gcs_output_directory\x18\x02 \x01(\x09\"\xA2\x01\x0A\x1BCreateDatasetVersionRequest\x129\x0A\x06parent\x18\x01 \x01(\x09B)\xE0A\x02\xFAA#\x0A!aiplatform.googleapis.com/Dataset\x12H\x0A\x0Fdataset_version\x18\x02 \x01(\x0B2*.google.cloud.aiplatform.v1.DatasetVersionB\x03\xE0A\x02\"w\x0A%CreateDatasetVersionOperationMetadata\x12N\x0A\x10generic_metadata\x18\x01 \x01(\x0B24.google.cloud.aiplatform.v1.GenericOperationMetadata\"]\x0A\x1BDeleteDatasetVersionRequest\x12>\x0A\x04name\x18\x01 \x01(\x09B0\xE0A\x02\xFAA*\x0A(aiplatform.googleapis.com/DatasetVersion\"\x89\x01\x0A\x18GetDatasetVersionRequest\x12>\x0A\x04name\x18\x01 \x01(\x09B0\xE0A\x02\xFAA*\x0A(aiplatform.googleapis.com/DatasetVersion\x12-\x0A\x09read_mask\x18\x02 \x01(\x0B2\x1A.google.protobuf.FieldMask\"\xE8\x01\x0A\x1AListDatasetVersionsRequest\x129\x0A\x06parent\x18\x01 \x01(\x09B)\xE0A\x02\xFAA#\x0A!aiplatform.googleapis.com/Dataset\x12\x13\x0A\x06filter\x18\x02 \x01(\x09B\x03\xE0A\x01\x12\x16\x0A\x09page_size\x18\x03 \x01(\x05B\x03\xE0A\x01\x12\x17\x0A\x0Apage_token\x18\x04 \x01(\x09B\x03\xE0A\x01\x122\x0A\x09read_mask\x18\x05 \x01(\x0B2\x1A.google.protobuf.FieldMaskB\x03\xE0A\x01\x12\x15\x0A\x08order_by\x18\x06 \x01(\x09B\x03\xE0A\x01\"|\x0A\x1BListDatasetVersionsResponse\x12D\x0A\x10dataset_versions\x18\x01 \x03(\x0B2*.google.cloud.aiplatform.v1.DatasetVersion\x12\x17\x0A\x0Fnext_page_token\x18\x02 \x01(\x09\"^\x0A\x1CRestoreDatasetVersionRequest\x12>\x0A\x04name\x18\x01 \x01(\x09B0\xE0A\x02\xFAA*\x0A(aiplatform.googleapis.com/DatasetVersion\"x\x0A&RestoreDatasetVersionOperationMetadata\x12N\x0A\x10generic_metadata\x18\x01 \x01(\x0B24.google.cloud.aiplatform.v1.GenericOperationMetadata\"\xC9\x01\x0A\x14ListDataItemsRequest\x129\x0A\x06parent\x18\x01 \x01(\x09B)\xE0A\x02\xFAA#\x0A!aiplatform.googleapis.com/Dataset\x12\x0E\x0A\x06filter\x18\x02 \x01(\x09\x12\x11\x0A\x09page_size\x18\x03 \x01(\x05\x12\x12\x0A\x0Apage_token\x18\x04 \x01(\x09\x12-\x0A\x09read_mask\x18\x05 \x01(\x0B2\x1A.google.protobuf.FieldMask\x12\x10\x0A\x08order_by\x18\x06 \x01(\x09\"j\x0A\x15ListDataItemsResponse\x128\x0A\x0Adata_items\x18\x01 \x03(\x0B2\$.google.cloud.aiplatform.v1.DataItem\x12\x17\x0A\x0Fnext_page_token\x18\x02 \x01(\x09\"\xDC\x04\x0A\x16SearchDataItemsRequest\x12\x1C\x0A\x12order_by_data_item\x18\x0C \x01(\x09H\x00\x12c\x0A\x13order_by_annotation\x18\x0D \x01(\x0B2D.google.cloud.aiplatform.v1.SearchDataItemsRequest.OrderByAnnotationH\x00\x12:\x0A\x07dataset\x18\x01 \x01(\x09B)\xE0A\x02\xFAA#\x0A!aiplatform.googleapis.com/Dataset\x12@\x0A\x0Bsaved_query\x18\x02 \x01(\x09B+\x18\x01\xFAA&\x0A\$aiplatform.googleapis.com/SavedQuery\x12\x19\x0A\x11data_labeling_job\x18\x03 \x01(\x09\x12\x18\x0A\x10data_item_filter\x18\x04 \x01(\x09\x12\x1E\x0A\x12annotations_filter\x18\x05 \x01(\x09B\x02\x18\x01\x12\x1A\x0A\x12annotation_filters\x18\x0B \x03(\x09\x12.\x0A\x0Afield_mask\x18\x06 \x01(\x0B2\x1A.google.protobuf.FieldMask\x12\x19\x0A\x11annotations_limit\x18\x07 \x01(\x05\x12\x11\x0A\x09page_size\x18\x08 \x01(\x05\x12\x14\x0A\x08order_by\x18\x09 \x01(\x09B\x02\x18\x01\x12\x12\x0A\x0Apage_token\x18\x0A \x01(\x09\x1A?\x0A\x11OrderByAnnotation\x12\x18\x0A\x0Bsaved_query\x18\x01 \x01(\x09B\x03\xE0A\x02\x12\x10\x0A\x08order_by\x18\x02 \x01(\x09B\x07\x0A\x05order\"u\x0A\x17SearchDataItemsResponse\x12A\x0A\x0Fdata_item_views\x18\x01 \x03(\x0B2(.google.cloud.aiplatform.v1.DataItemView\x12\x17\x0A\x0Fnext_page_token\x18\x02 \x01(\x09\"\xA7\x01\x0A\x0CDataItemView\x127\x0A\x09data_item\x18\x01 \x01(\x0B2\$.google.cloud.aiplatform.v1.DataItem\x12;\x0A\x0Bannotations\x18\x02 \x03(\x0B2&.google.cloud.aiplatform.v1.Annotation\x12!\x0A\x19has_truncated_annotations\x18\x03 \x01(\x08\"\xCC\x01\x0A\x17ListSavedQueriesRequest\x129\x0A\x06parent\x18\x01 \x01(\x09B)\xE0A\x02\xFAA#\x0A!aiplatform.googleapis.com/Dataset\x12\x0E\x0A\x06filter\x18\x02 \x01(\x09\x12\x11\x0A\x09page_size\x18\x03 \x01(\x05\x12\x12\x0A\x0Apage_token\x18\x04 \x01(\x09\x12-\x0A\x09read_mask\x18\x05 \x01(\x0B2\x1A.google.protobuf.FieldMask\x12\x10\x0A\x08order_by\x18\x06 \x01(\x09\"r\x0A\x18ListSavedQueriesResponse\x12=\x0A\x0Dsaved_queries\x18\x01 \x03(\x0B2&.google.cloud.aiplatform.v1.SavedQuery\x12\x17\x0A\x0Fnext_page_token\x18\x02 \x01(\x09\"U\x0A\x17DeleteSavedQueryRequest\x12:\x0A\x04name\x18\x01 \x01(\x09B,\xE0A\x02\xFAA&\x0A\$aiplatform.googleapis.com/SavedQuery\"\x89\x01\x0A\x18GetAnnotationSpecRequest\x12>\x0A\x04name\x18\x01 \x01(\x09B0\xE0A\x02\xFAA*\x0A(aiplatform.googleapis.com/AnnotationSpec\x12-\x0A\x09read_mask\x18\x02 \x01(\x0B2\x1A.google.protobuf.FieldMask\"\xCC\x01\x0A\x16ListAnnotationsRequest\x12:\x0A\x06parent\x18\x01 \x01(\x09B*\xE0A\x02\xFAA\$\x0A\"aiplatform.googleapis.com/DataItem\x12\x0E\x0A\x06filter\x18\x02 \x01(\x09\x12\x11\x0A\x09page_size\x18\x03 \x01(\x05\x12\x12\x0A\x0Apage_token\x18\x04 \x01(\x09\x12-\x0A\x09read_mask\x18\x05 \x01(\x0B2\x1A.google.protobuf.FieldMask\x12\x10\x0A\x08order_by\x18\x06 \x01(\x09\"o\x0A\x17ListAnnotationsResponse\x12;\x0A\x0Bannotations\x18\x01 \x03(\x0B2&.google.cloud.aiplatform.v1.Annotation\x12\x17\x0A\x0Fnext_page_token\x18\x02 \x01(\x092\xD9\$\x0A\x0EDatasetService\x12\xF6\x01\x0A\x0DCreateDataset\x120.google.cloud.aiplatform.v1.CreateDatasetRequest\x1A\x1D.google.longrunning.Operation\"\x93\x01\xCAA)\x0A\x07Dataset\x12\x1ECreateDatasetOperationMetadata\xDAA\x0Eparent,dataset\x82\xD3\xE4\x93\x02P\",/v1/{parent=projects/*/locations/*}/datasets:\x07datasetZ\x17\"\x0C/v1/datasets:\x07dataset\x12\xB6\x01\x0A\x0AGetDataset\x12-.google.cloud.aiplatform.v1.GetDatasetRequest\x1A#.google.cloud.aiplatform.v1.Dataset\"T\xDAA\x04name\x82\xD3\xE4\x93\x02G\x12,/v1/{name=projects/*/locations/*/datasets/*}Z\x17\x12\x15/v1/{name=datasets/*}\x12\xEE\x01\x0A\x0DUpdateDataset\x120.google.cloud.aiplatform.v1.UpdateDatasetRequest\x1A#.google.cloud.aiplatform.v1.Dataset\"\x85\x01\xDAA\x13dataset,update_mask\x82\xD3\xE4\x93\x02i24/v1/{dataset.name=projects/*/locations/*/datasets/*}:\x07datasetZ(2\x1D/v1/{dataset.name=datasets/*}:\x07dataset\x12\xC0\x01\x0A\x0CListDatasets\x12/.google.cloud.aiplatform.v1.ListDatasetsRequest\x1A0.google.cloud.aiplatform.v1.ListDatasetsResponse\"M\xDAA\x06parent\x82\xD3\xE4\x93\x02>\x12,/v1/{parent=projects/*/locations/*}/datasetsZ\x0E\x12\x0C/v1/datasets\x12\xEA\x01\x0A\x0DDeleteDataset\x120.google.cloud.aiplatform.v1.DeleteDatasetRequest\x1A\x1D.google.longrunning.Operation\"\x87\x01\xCAA0\x0A\x15google.protobuf.Empty\x12\x17DeleteOperationMetadata\xDAA\x04name\x82\xD3\xE4\x93\x02G*,/v1/{name=projects/*/locations/*/datasets/*}Z\x17*\x15/v1/{name=datasets/*}\x12\xE5\x01\x0A\x0AImportData\x12-.google.cloud.aiplatform.v1.ImportDataRequest\x1A\x1D.google.longrunning.Operation\"\x88\x01\xCAA1\x0A\x12ImportDataResponse\x12\x1BImportDataOperationMetadata\xDAA\x13name,import_configs\x82\xD3\xE4\x93\x028\"3/v1/{name=projects/*/locations/*/datasets/*}:import:\x01*\x12\xE4\x01\x0A\x0AExportData\x12-.google.cloud.aiplatform.v1.ExportDataRequest\x1A\x1D.google.longrunning.Operation\"\x87\x01\xCAA1\x0A\x12ExportDataResponse\x12\x1BExportDataOperationMetadata\xDAA\x12name,export_config\x82\xD3\xE4\x93\x028\"3/v1/{name=projects/*/locations/*/datasets/*}:export:\x01*\x12\xD8\x02\x0A\x14CreateDatasetVersion\x127.google.cloud.aiplatform.v1.CreateDatasetVersionRequest\x1A\x1D.google.longrunning.Operation\"\xE7\x01\xCAA7\x0A\x0EDatasetVersion\x12%CreateDatasetVersionOperationMetadata\xDAA\x16parent,dataset_version\x82\xD3\xE4\x93\x02\x8D\x01\">/v1/{parent=projects/*/locations/*/datasets/*}/datasetVersions:\x0Fdataset_versionZ:\"'/v1/{parent=datasets/*}/datasetVersions:\x0Fdataset_version\x12\xD0\x02\x0A\x14UpdateDatasetVersion\x127.google.cloud.aiplatform.v1.UpdateDatasetVersionRequest\x1A*.google.cloud.aiplatform.v1.DatasetVersion\"\xD2\x01\xDAA\x1Bdataset_version,update_mask\x82\xD3\xE4\x93\x02\xAD\x012N/v1/{dataset_version.name=projects/*/locations/*/datasets/*/datasetVersions/*}:\x0Fdataset_versionZJ27/v1/{dataset_version.name=datasets/*/datasetVersions/*}:\x0Fdataset_version\x12\x9C\x02\x0A\x14DeleteDatasetVersion\x127.google.cloud.aiplatform.v1.DeleteDatasetVersionRequest\x1A\x1D.google.longrunning.Operation\"\xAB\x01\xCAA0\x0A\x15google.protobuf.Empty\x12\x17DeleteOperationMetadata\xDAA\x04name\x82\xD3\xE4\x93\x02k*>/v1/{name=projects/*/locations/*/datasets/*/datasetVersions/*}Z)*'/v1/{name=datasets/*/datasetVersions/*}\x12\xEF\x01\x0A\x11GetDatasetVersion\x124.google.cloud.aiplatform.v1.GetDatasetVersionRequest\x1A*.google.cloud.aiplatform.v1.DatasetVersion\"x\xDAA\x04name\x82\xD3\xE4\x93\x02k\x12>/v1/{name=projects/*/locations/*/datasets/*/datasetVersions/*}Z)\x12'/v1/{name=datasets/*/datasetVersions/*}\x12\x82\x02\x0A\x13ListDatasetVersions\x126.google.cloud.aiplatform.v1.ListDatasetVersionsRequest\x1A7.google.cloud.aiplatform.v1.ListDatasetVersionsResponse\"z\xDAA\x06parent\x82\xD3\xE4\x93\x02k\x12>/v1/{parent=projects/*/locations/*/datasets/*}/datasetVersionsZ)\x12'/v1/{parent=datasets/*}/datasetVersions\x12\xB6\x02\x0A\x15RestoreDatasetVersion\x128.google.cloud.aiplatform.v1.RestoreDatasetVersionRequest\x1A\x1D.google.longrunning.Operation\"\xC3\x01\xCAA8\x0A\x0EDatasetVersion\x12&RestoreDatasetVersionOperationMetadata\xDAA\x04name\x82\xD3\xE4\x93\x02{\x12F/v1/{name=projects/*/locations/*/datasets/*/datasetVersions/*}:restoreZ1\x12//v1/{name=datasets/*/datasetVersions/*}:restore\x12\xBF\x01\x0A\x0DListDataItems\x120.google.cloud.aiplatform.v1.ListDataItemsRequest\x1A1.google.cloud.aiplatform.v1.ListDataItemsResponse\"I\xDAA\x06parent\x82\xD3\xE4\x93\x02:\x128/v1/{parent=projects/*/locations/*/datasets/*}/dataItems\x12\xC3\x01\x0A\x0FSearchDataItems\x122.google.cloud.aiplatform.v1.SearchDataItemsRequest\x1A3.google.cloud.aiplatform.v1.SearchDataItemsResponse\"G\x82\xD3\xE4\x93\x02A\x12?/v1/{dataset=projects/*/locations/*/datasets/*}:searchDataItems\x12\xCB\x01\x0A\x10ListSavedQueries\x123.google.cloud.aiplatform.v1.ListSavedQueriesRequest\x1A4.google.cloud.aiplatform.v1.ListSavedQueriesResponse\"L\xDAA\x06parent\x82\xD3\xE4\x93\x02=\x12;/v1/{parent=projects/*/locations/*/datasets/*}/savedQueries\x12\xE5\x01\x0A\x10DeleteSavedQuery\x123.google.cloud.aiplatform.v1.DeleteSavedQueryRequest\x1A\x1D.google.longrunning.Operation\"}\xCAA0\x0A\x15google.protobuf.Empty\x12\x17DeleteOperationMetadata\xDAA\x04name\x82\xD3\xE4\x93\x02=*;/v1/{name=projects/*/locations/*/datasets/*/savedQueries/*}\x12\xC4\x01\x0A\x11GetAnnotationSpec\x124.google.cloud.aiplatform.v1.GetAnnotationSpecRequest\x1A*.google.cloud.aiplatform.v1.AnnotationSpec\"M\xDAA\x04name\x82\xD3\xE4\x93\x02@\x12>/v1/{name=projects/*/locations/*/datasets/*/annotationSpecs/*}\x12\xD3\x01\x0A\x0FListAnnotations\x122.google.cloud.aiplatform.v1.ListAnnotationsRequest\x1A3.google.cloud.aiplatform.v1.ListAnnotationsResponse\"W\xDAA\x06parent\x82\xD3\xE4\x93\x02H\x12F/v1/{parent=projects/*/locations/*/datasets/*/dataItems/*}/annotations\x1AM\xCAA\x19aiplatform.googleapis.com\xD2A.https://www.googleapis.com/auth/cloud-platformB\xD1\x01\x0A\x1Ecom.google.cloud.aiplatform.v1B\x13DatasetServiceProtoP\x01Z>cloud.google.com/go/aiplatform/apiv1/aiplatformpb;aiplatformpb\xAA\x02\x1AGoogle.Cloud.AIPlatform.V1\xCA\x02\x1AGoogle\\Cloud\\AIPlatform\\V1\xEA\x02\x1DGoogle::Cloud::AIPlatform::V1b\x06proto3" + , true); + + static::$is_initialized = true; + } +} + diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/DatasetVersion.php b/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/DatasetVersion.php new file mode 100644 index 000000000000..30bb88608ca3 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/DatasetVersion.php @@ -0,0 +1,28 @@ +internalAddGeneratedFile( + "\x0A\xA6\x07\x0A0google/cloud/aiplatform/v1/dataset_version.proto\x12\x1Agoogle.cloud.aiplatform.v1\x1A\x19google/api/resource.proto\x1A\x1Cgoogle/protobuf/struct.proto\x1A\x1Fgoogle/protobuf/timestamp.proto\"\x9F\x04\x0A\x0EDatasetVersion\x12A\x0A\x04name\x18\x01 \x01(\x09B3\xE0A\x03\xE0A\x08\xFAA*\x0A(aiplatform.googleapis.com/DatasetVersion\x124\x0A\x0Bcreate_time\x18\x02 \x01(\x0B2\x1A.google.protobuf.TimestampB\x03\xE0A\x03\x124\x0A\x0Bupdate_time\x18\x06 \x01(\x0B2\x1A.google.protobuf.TimestampB\x03\xE0A\x03\x12\x0C\x0A\x04etag\x18\x03 \x01(\x09\x12#\x0A\x16big_query_dataset_name\x18\x04 \x01(\x09B\x03\xE0A\x03\x12\x14\x0A\x0Cdisplay_name\x18\x07 \x01(\x09\x120\x0A\x08metadata\x18\x08 \x01(\x0B2\x16.google.protobuf.ValueB\x06\xE0A\x03\xE0A\x02\x12\x1C\x0A\x0Fmodel_reference\x18\x09 \x01(\x09B\x03\xE0A\x03\x12\x1A\x0A\x0Dsatisfies_pzs\x18\x0A \x01(\x08B\x03\xE0A\x03\x12\x1A\x0A\x0Dsatisfies_pzi\x18\x0B \x01(\x08B\x03\xE0A\x03:\x8C\x01\xEAA\x88\x01\x0A(aiplatform.googleapis.com/DatasetVersion\x12\\projects/{project}/locations/{location}/datasets/{dataset}/datasetVersions/{dataset_version}B\xD1\x01\x0A\x1Ecom.google.cloud.aiplatform.v1B\x13DatasetVersionProtoP\x01Z>cloud.google.com/go/aiplatform/apiv1/aiplatformpb;aiplatformpb\xAA\x02\x1AGoogle.Cloud.AIPlatform.V1\xCA\x02\x1AGoogle\\Cloud\\AIPlatform\\V1\xEA\x02\x1DGoogle::Cloud::AIPlatform::V1b\x06proto3" + , 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..bf02b7206b6f --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/DeployedIndexRef.php @@ -0,0 +1,26 @@ +internalAddGeneratedFile( + "\x0A\xE3\x03\x0A3google/cloud/aiplatform/v1/deployed_index_ref.proto\x12\x1Agoogle.cloud.aiplatform.v1\x1A\x19google/api/resource.proto\"\x96\x01\x0A\x10DeployedIndexRef\x12G\x0A\x0Eindex_endpoint\x18\x01 \x01(\x09B/\xE0A\x05\xFAA)\x0A'aiplatform.googleapis.com/IndexEndpoint\x12\x1E\x0A\x11deployed_index_id\x18\x02 \x01(\x09B\x03\xE0A\x05\x12\x19\x0A\x0Cdisplay_name\x18\x03 \x01(\x09B\x03\xE0A\x03B\xD3\x01\x0A\x1Ecom.google.cloud.aiplatform.v1B\x15DeployedIndexRefProtoP\x01Z>cloud.google.com/go/aiplatform/apiv1/aiplatformpb;aiplatformpb\xAA\x02\x1AGoogle.Cloud.AIPlatform.V1\xCA\x02\x1AGoogle\\Cloud\\AIPlatform\\V1\xEA\x02\x1DGoogle::Cloud::AIPlatform::V1b\x06proto3" + , 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..ec39523a945c --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/DeployedModelRef.php @@ -0,0 +1,26 @@ +internalAddGeneratedFile( + "\x0A\xBD\x03\x0A3google/cloud/aiplatform/v1/deployed_model_ref.proto\x12\x1Agoogle.cloud.aiplatform.v1\x1A\x19google/api/resource.proto\"p\x0A\x10DeployedModelRef\x12<\x0A\x08endpoint\x18\x01 \x01(\x09B*\xE0A\x05\xFAA\$\x0A\"aiplatform.googleapis.com/Endpoint\x12\x1E\x0A\x11deployed_model_id\x18\x02 \x01(\x09B\x03\xE0A\x05B\xD4\x01\x0A\x1Ecom.google.cloud.aiplatform.v1B\x16DeployedModelNameProtoP\x01Z>cloud.google.com/go/aiplatform/apiv1/aiplatformpb;aiplatformpb\xAA\x02\x1AGoogle.Cloud.AIPlatform.V1\xCA\x02\x1AGoogle\\Cloud\\AIPlatform\\V1\xEA\x02\x1DGoogle::Cloud::AIPlatform::V1b\x06proto3" + , 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..365c7fcd68bf --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/DeploymentResourcePool.php @@ -0,0 +1,29 @@ +internalAddGeneratedFile( + "\x0A\xE1\x07\x0A9google/cloud/aiplatform/v1/deployment_resource_pool.proto\x12\x1Agoogle.cloud.aiplatform.v1\x1A\x19google/api/resource.proto\x1A0google/cloud/aiplatform/v1/encryption_spec.proto\x1A2google/cloud/aiplatform/v1/machine_resources.proto\x1A\x1Fgoogle/protobuf/timestamp.proto\"\x81\x04\x0A\x16DeploymentResourcePool\x12\x11\x0A\x04name\x18\x01 \x01(\x09B\x03\xE0A\x05\x12P\x0A\x13dedicated_resources\x18\x02 \x01(\x0B2..google.cloud.aiplatform.v1.DedicatedResourcesB\x03\xE0A\x02\x12C\x0A\x0Fencryption_spec\x18\x05 \x01(\x0B2*.google.cloud.aiplatform.v1.EncryptionSpec\x12\x17\x0A\x0Fservice_account\x18\x06 \x01(\x09\x12!\x0A\x19disable_container_logging\x18\x07 \x01(\x08\x124\x0A\x0Bcreate_time\x18\x04 \x01(\x0B2\x1A.google.protobuf.TimestampB\x03\xE0A\x03\x12\x1A\x0A\x0Dsatisfies_pzs\x18\x08 \x01(\x08B\x03\xE0A\x03\x12\x1A\x0A\x0Dsatisfies_pzi\x18\x09 \x01(\x08B\x03\xE0A\x03:\x92\x01\xEAA\x8E\x01\x0A0aiplatform.googleapis.com/DeploymentResourcePool\x12Zprojects/{project}/locations/{location}/deploymentResourcePools/{deployment_resource_pool}B\xD9\x01\x0A\x1Ecom.google.cloud.aiplatform.v1B\x1BDeploymentResourcePoolProtoP\x01Z>cloud.google.com/go/aiplatform/apiv1/aiplatformpb;aiplatformpb\xAA\x02\x1AGoogle.Cloud.AIPlatform.V1\xCA\x02\x1AGoogle\\Cloud\\AIPlatform\\V1\xEA\x02\x1DGoogle::Cloud::AIPlatform::V1b\x06proto3" + , 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..96e1449ef361 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/DeploymentResourcePoolService.php @@ -0,0 +1,35 @@ +internalAddGeneratedFile( + "\x0A\xEE\x1F\x0AAgoogle/cloud/aiplatform/v1/deployment_resource_pool_service.proto\x12\x1Agoogle.cloud.aiplatform.v1\x1A\x17google/api/client.proto\x1A\x1Fgoogle/api/field_behavior.proto\x1A\x19google/api/resource.proto\x1A3google/cloud/aiplatform/v1/deployed_model_ref.proto\x1A9google/cloud/aiplatform/v1/deployment_resource_pool.proto\x1A)google/cloud/aiplatform/v1/endpoint.proto\x1A*google/cloud/aiplatform/v1/operation.proto\x1A#google/longrunning/operations.proto\x1A\x1Bgoogle/protobuf/empty.proto\x1A google/protobuf/field_mask.proto\"\xE5\x01\x0A#CreateDeploymentResourcePoolRequest\x129\x0A\x06parent\x18\x01 \x01(\x09B)\xE0A\x02\xFAA#\x0A!locations.googleapis.com/Location\x12Y\x0A\x18deployment_resource_pool\x18\x02 \x01(\x0B22.google.cloud.aiplatform.v1.DeploymentResourcePoolB\x03\xE0A\x02\x12(\x0A\x1Bdeployment_resource_pool_id\x18\x03 \x01(\x09B\x03\xE0A\x02\"\x7F\x0A-CreateDeploymentResourcePoolOperationMetadata\x12N\x0A\x10generic_metadata\x18\x01 \x01(\x0B24.google.cloud.aiplatform.v1.GenericOperationMetadata\"j\x0A GetDeploymentResourcePoolRequest\x12F\x0A\x04name\x18\x01 \x01(\x09B8\xE0A\x02\xFAA2\x0A0aiplatform.googleapis.com/DeploymentResourcePool\"\x86\x01\x0A\"ListDeploymentResourcePoolsRequest\x129\x0A\x06parent\x18\x01 \x01(\x09B)\xE0A\x02\xFAA#\x12!locations.googleapis.com/Location\x12\x11\x0A\x09page_size\x18\x02 \x01(\x05\x12\x12\x0A\x0Apage_token\x18\x03 \x01(\x09\"\x95\x01\x0A#ListDeploymentResourcePoolsResponse\x12U\x0A\x19deployment_resource_pools\x18\x01 \x03(\x0B22.google.cloud.aiplatform.v1.DeploymentResourcePool\x12\x17\x0A\x0Fnext_page_token\x18\x02 \x01(\x09\"\xB6\x01\x0A#UpdateDeploymentResourcePoolRequest\x12Y\x0A\x18deployment_resource_pool\x18\x01 \x01(\x0B22.google.cloud.aiplatform.v1.DeploymentResourcePoolB\x03\xE0A\x02\x124\x0A\x0Bupdate_mask\x18\x02 \x01(\x0B2\x1A.google.protobuf.FieldMaskB\x03\xE0A\x02\"\x7F\x0A-UpdateDeploymentResourcePoolOperationMetadata\x12N\x0A\x10generic_metadata\x18\x01 \x01(\x0B24.google.cloud.aiplatform.v1.GenericOperationMetadata\"m\x0A#DeleteDeploymentResourcePoolRequest\x12F\x0A\x04name\x18\x01 \x01(\x09B8\xE0A\x02\xFAA2\x0A0aiplatform.googleapis.com/DeploymentResourcePool\"j\x0A\x1AQueryDeployedModelsRequest\x12%\x0A\x18deployment_resource_pool\x18\x01 \x01(\x09B\x03\xE0A\x02\x12\x11\x0A\x09page_size\x18\x02 \x01(\x05\x12\x12\x0A\x0Apage_token\x18\x03 \x01(\x09\"\x8B\x02\x0A\x1BQueryDeployedModelsResponse\x12F\x0A\x0Fdeployed_models\x18\x01 \x03(\x0B2).google.cloud.aiplatform.v1.DeployedModelB\x02\x18\x01\x12\x17\x0A\x0Fnext_page_token\x18\x02 \x01(\x09\x12I\x0A\x13deployed_model_refs\x18\x03 \x03(\x0B2,.google.cloud.aiplatform.v1.DeployedModelRef\x12\"\x0A\x1Atotal_deployed_model_count\x18\x04 \x01(\x05\x12\x1C\x0A\x14total_endpoint_count\x18\x05 \x01(\x052\x88\x0E\x0A\x1DDeploymentResourcePoolService\x12\xCF\x02\x0A\x1CCreateDeploymentResourcePool\x12?.google.cloud.aiplatform.v1.CreateDeploymentResourcePoolRequest\x1A\x1D.google.longrunning.Operation\"\xCE\x01\xCAAG\x0A\x16DeploymentResourcePool\x12-CreateDeploymentResourcePoolOperationMetadata\xDAA;parent,deployment_resource_pool,deployment_resource_pool_id\x82\xD3\xE4\x93\x02@\";/v1/{parent=projects/*/locations/*}/deploymentResourcePools:\x01*\x12\xD9\x01\x0A\x19GetDeploymentResourcePool\x12<.google.cloud.aiplatform.v1.GetDeploymentResourcePoolRequest\x1A2.google.cloud.aiplatform.v1.DeploymentResourcePool\"J\xDAA\x04name\x82\xD3\xE4\x93\x02=\x12;/v1/{name=projects/*/locations/*/deploymentResourcePools/*}\x12\xEC\x01\x0A\x1BListDeploymentResourcePools\x12>.google.cloud.aiplatform.v1.ListDeploymentResourcePoolsRequest\x1A?.google.cloud.aiplatform.v1.ListDeploymentResourcePoolsResponse\"L\xDAA\x06parent\x82\xD3\xE4\x93\x02=\x12;/v1/{parent=projects/*/locations/*}/deploymentResourcePools\x12\xE8\x02\x0A\x1CUpdateDeploymentResourcePool\x12?.google.cloud.aiplatform.v1.UpdateDeploymentResourcePoolRequest\x1A\x1D.google.longrunning.Operation\"\xE7\x01\xCAAG\x0A\x16DeploymentResourcePool\x12-UpdateDeploymentResourcePoolOperationMetadata\xDAA\$deployment_resource_pool,update_mask\x82\xD3\xE4\x93\x02p2T/v1/{deployment_resource_pool.name=projects/*/locations/*/deploymentResourcePools/*}:\x18deployment_resource_pool\x12\xFD\x01\x0A\x1CDeleteDeploymentResourcePool\x12?.google.cloud.aiplatform.v1.DeleteDeploymentResourcePoolRequest\x1A\x1D.google.longrunning.Operation\"}\xCAA0\x0A\x15google.protobuf.Empty\x12\x17DeleteOperationMetadata\xDAA\x04name\x82\xD3\xE4\x93\x02=*;/v1/{name=projects/*/locations/*/deploymentResourcePools/*}\x12\x8F\x02\x0A\x13QueryDeployedModels\x126.google.cloud.aiplatform.v1.QueryDeployedModelsRequest\x1A7.google.cloud.aiplatform.v1.QueryDeployedModelsResponse\"\x86\x01\xDAA\x18deployment_resource_pool\x82\xD3\xE4\x93\x02e\x12c/v1/{deployment_resource_pool=projects/*/locations/*/deploymentResourcePools/*}:queryDeployedModels\x1AM\xCAA\x19aiplatform.googleapis.com\xD2A.https://www.googleapis.com/auth/cloud-platformB\xE0\x01\x0A\x1Ecom.google.cloud.aiplatform.v1B\"DeploymentResourcePoolServiceProtoP\x01Z>cloud.google.com/go/aiplatform/apiv1/aiplatformpb;aiplatformpb\xAA\x02\x1AGoogle.Cloud.AIPlatform.V1\xCA\x02\x1AGoogle\\Cloud\\AIPlatform\\V1\xEA\x02\x1DGoogle::Cloud::AIPlatform::V1b\x06proto3" + , true); + + static::$is_initialized = true; + } +} + diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/DeploymentStage.php b/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/DeploymentStage.php new file mode 100644 index 000000000000..1a256bba2489 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/DeploymentStage.php @@ -0,0 +1,24 @@ +internalAddGeneratedFile( + "\x0A\xE1\x04\x0A1google/cloud/aiplatform/v1/deployment_stage.proto\x12\x1Agoogle.cloud.aiplatform.v1*\xB2\x02\x0A\x0FDeploymentStage\x12 \x0A\x1CDEPLOYMENT_STAGE_UNSPECIFIED\x10\x00\x12\x17\x0A\x13STARTING_DEPLOYMENT\x10\x05\x12\x13\x0A\x0FPREPARING_MODEL\x10\x06\x12\x1C\x0A\x18CREATING_SERVING_CLUSTER\x10\x07\x12\x1B\x0A\x17ADDING_NODES_TO_CLUSTER\x10\x08\x12\x1B\x0A\x17GETTING_CONTAINER_IMAGE\x10\x09\x12\x19\x0A\x15STARTING_MODEL_SERVER\x10\x03\x12\x10\x0A\x0CFINISHING_UP\x10\x04\x12\x19\x0A\x15DEPLOYMENT_TERMINATED\x10\x0A\x12\x19\x0A\x15SUCCESSFULLY_DEPLOYED\x10\x0B\x12\x14\x0A\x10FAILED_TO_DEPLOY\x10\x0CB\xD2\x01\x0A\x1Ecom.google.cloud.aiplatform.v1B\x14DeploymentStageProtoP\x01Z>cloud.google.com/go/aiplatform/apiv1/aiplatformpb;aiplatformpb\xAA\x02\x1AGoogle.Cloud.AIPlatform.V1\xCA\x02\x1AGoogle\\Cloud\\AIPlatform\\V1\xEA\x02\x1DGoogle::Cloud::AIPlatform::V1b\x06proto3" + , 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..e86ff482fb01 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/EncryptionSpec.php @@ -0,0 +1,25 @@ +internalAddGeneratedFile( + "\x0A\xD7\x02\x0A0google/cloud/aiplatform/v1/encryption_spec.proto\x12\x1Agoogle.cloud.aiplatform.v1\"+\x0A\x0EEncryptionSpec\x12\x19\x0A\x0Ckms_key_name\x18\x01 \x01(\x09B\x03\xE0A\x02B\xD1\x01\x0A\x1Ecom.google.cloud.aiplatform.v1B\x13EncryptionSpecProtoP\x01Z>cloud.google.com/go/aiplatform/apiv1/aiplatformpb;aiplatformpb\xAA\x02\x1AGoogle.Cloud.AIPlatform.V1\xCA\x02\x1AGoogle\\Cloud\\AIPlatform\\V1\xEA\x02\x1DGoogle::Cloud::AIPlatform::V1b\x06proto3" + , 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 000000000000..977862408d54 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/Endpoint.php @@ -0,0 +1,33 @@ +internalAddGeneratedFile( + "\x0A\xD7\"\x0A)google/cloud/aiplatform/v1/endpoint.proto\x12\x1Agoogle.cloud.aiplatform.v1\x1A\x19google/api/resource.proto\x1A0google/cloud/aiplatform/v1/encryption_spec.proto\x1A,google/cloud/aiplatform/v1/explanation.proto\x1A#google/cloud/aiplatform/v1/io.proto\x1A2google/cloud/aiplatform/v1/machine_resources.proto\x1A3google/cloud/aiplatform/v1/service_networking.proto\x1A\x1Egoogle/protobuf/duration.proto\x1A\x1Fgoogle/protobuf/timestamp.proto\"\x8C\x0C\x0A\x08Endpoint\x12\x11\x0A\x04name\x18\x01 \x01(\x09B\x03\xE0A\x03\x12\x19\x0A\x0Cdisplay_name\x18\x02 \x01(\x09B\x03\xE0A\x02\x12\x13\x0A\x0Bdescription\x18\x03 \x01(\x09\x12G\x0A\x0Fdeployed_models\x18\x04 \x03(\x0B2).google.cloud.aiplatform.v1.DeployedModelB\x03\xE0A\x03\x12M\x0A\x0Dtraffic_split\x18\x05 \x03(\x0B26.google.cloud.aiplatform.v1.Endpoint.TrafficSplitEntry\x12\x0C\x0A\x04etag\x18\x06 \x01(\x09\x12@\x0A\x06labels\x18\x07 \x03(\x0B20.google.cloud.aiplatform.v1.Endpoint.LabelsEntry\x124\x0A\x0Bcreate_time\x18\x08 \x01(\x0B2\x1A.google.protobuf.TimestampB\x03\xE0A\x03\x124\x0A\x0Bupdate_time\x18\x09 \x01(\x0B2\x1A.google.protobuf.TimestampB\x03\xE0A\x03\x12C\x0A\x0Fencryption_spec\x18\x0A \x01(\x0B2*.google.cloud.aiplatform.v1.EncryptionSpec\x127\x0A\x07network\x18\x0D \x01(\x09B&\xE0A\x01\xFAA \x0A\x1Ecompute.googleapis.com/Network\x12*\x0A\x1Eenable_private_service_connect\x18\x11 \x01(\x08B\x02\x18\x01\x12d\x0A\x1Eprivate_service_connect_config\x18\x15 \x01(\x0B27.google.cloud.aiplatform.v1.PrivateServiceConnectConfigB\x03\xE0A\x01\x12g\x0A\x1Fmodel_deployment_monitoring_job\x18\x0E \x01(\x09B>\xE0A\x03\xFAA8\x0A6aiplatform.googleapis.com/ModelDeploymentMonitoringJob\x12p\x0A'predict_request_response_logging_config\x18\x12 \x01(\x0B2?.google.cloud.aiplatform.v1.PredictRequestResponseLoggingConfig\x12\"\x0A\x1Adedicated_endpoint_enabled\x18\x18 \x01(\x08\x12#\x0A\x16dedicated_endpoint_dns\x18\x19 \x01(\x09B\x03\xE0A\x03\x12T\x0A\x18client_connection_config\x18\x17 \x01(\x0B22.google.cloud.aiplatform.v1.ClientConnectionConfig\x12\x1A\x0A\x0Dsatisfies_pzs\x18\x1B \x01(\x08B\x03\xE0A\x03\x12\x1A\x0A\x0Dsatisfies_pzi\x18\x1C \x01(\x08B\x03\xE0A\x03\x12e\x0A\x1Fgen_ai_advanced_features_config\x18\x1D \x01(\x0B27.google.cloud.aiplatform.v1.GenAiAdvancedFeaturesConfigB\x03\xE0A\x01\x12\$\x0A\x1Cprivate_model_server_enabled\x18\x1E \x01(\x08\x1A3\x0A\x11TrafficSplitEntry\x12\x0B\x0A\x03key\x18\x01 \x01(\x09\x12\x0D\x0A\x05value\x18\x02 \x01(\x05:\x028\x01\x1A-\x0A\x0BLabelsEntry\x12\x0B\x0A\x03key\x18\x01 \x01(\x09\x12\x0D\x0A\x05value\x18\x02 \x01(\x09:\x028\x01:\xB5\x01\xEAA\xB1\x01\x0A\"aiplatform.googleapis.com/Endpoint\x12cloud.google.com/go/aiplatform/apiv1/aiplatformpb;aiplatformpb\xAA\x02\x1AGoogle.Cloud.AIPlatform.V1\xCA\x02\x1AGoogle\\Cloud\\AIPlatform\\V1\xEA\x02\x1DGoogle::Cloud::AIPlatform::V1b\x06proto3" + , true); + + static::$is_initialized = true; + } +} + 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..9c74a029a872 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/EndpointService.php @@ -0,0 +1,34 @@ +internalAddGeneratedFile( + "\x0A\xE3*\x0A1google/cloud/aiplatform/v1/endpoint_service.proto\x12\x1Agoogle.cloud.aiplatform.v1\x1A\x17google/api/client.proto\x1A\x1Fgoogle/api/field_behavior.proto\x1A\x19google/api/resource.proto\x1A1google/cloud/aiplatform/v1/deployment_stage.proto\x1A)google/cloud/aiplatform/v1/endpoint.proto\x1A*google/cloud/aiplatform/v1/operation.proto\x1A#google/longrunning/operations.proto\x1A\x1Bgoogle/protobuf/empty.proto\x1A google/protobuf/field_mask.proto\"\xA9\x01\x0A\x15CreateEndpointRequest\x129\x0A\x06parent\x18\x01 \x01(\x09B)\xE0A\x02\xFAA#\x0A!locations.googleapis.com/Location\x12;\x0A\x08endpoint\x18\x02 \x01(\x0B2\$.google.cloud.aiplatform.v1.EndpointB\x03\xE0A\x02\x12\x18\x0A\x0Bendpoint_id\x18\x04 \x01(\x09B\x03\xE0A\x05\"\xBD\x01\x0A\x1FCreateEndpointOperationMetadata\x12N\x0A\x10generic_metadata\x18\x01 \x01(\x0B24.google.cloud.aiplatform.v1.GenericOperationMetadata\x12J\x0A\x10deployment_stage\x18\x02 \x01(\x0E2+.google.cloud.aiplatform.v1.DeploymentStageB\x03\xE0A\x03\"N\x0A\x12GetEndpointRequest\x128\x0A\x04name\x18\x01 \x01(\x09B*\xE0A\x02\xFAA\$\x0A\"aiplatform.googleapis.com/Endpoint\"\xDD\x01\x0A\x14ListEndpointsRequest\x129\x0A\x06parent\x18\x01 \x01(\x09B)\xE0A\x02\xFAA#\x0A!locations.googleapis.com/Location\x12\x13\x0A\x06filter\x18\x02 \x01(\x09B\x03\xE0A\x01\x12\x16\x0A\x09page_size\x18\x03 \x01(\x05B\x03\xE0A\x01\x12\x17\x0A\x0Apage_token\x18\x04 \x01(\x09B\x03\xE0A\x01\x122\x0A\x09read_mask\x18\x05 \x01(\x0B2\x1A.google.protobuf.FieldMaskB\x03\xE0A\x01\x12\x10\x0A\x08order_by\x18\x06 \x01(\x09\"i\x0A\x15ListEndpointsResponse\x127\x0A\x09endpoints\x18\x01 \x03(\x0B2\$.google.cloud.aiplatform.v1.Endpoint\x12\x17\x0A\x0Fnext_page_token\x18\x02 \x01(\x09\"\x8A\x01\x0A\x15UpdateEndpointRequest\x12;\x0A\x08endpoint\x18\x01 \x01(\x0B2\$.google.cloud.aiplatform.v1.EndpointB\x03\xE0A\x02\x124\x0A\x0Bupdate_mask\x18\x02 \x01(\x0B2\x1A.google.protobuf.FieldMaskB\x03\xE0A\x02\"_\x0A UpdateEndpointLongRunningRequest\x12;\x0A\x08endpoint\x18\x01 \x01(\x0B2\$.google.cloud.aiplatform.v1.EndpointB\x03\xE0A\x02\"q\x0A\x1FUpdateEndpointOperationMetadata\x12N\x0A\x10generic_metadata\x18\x01 \x01(\x0B24.google.cloud.aiplatform.v1.GenericOperationMetadata\"Q\x0A\x15DeleteEndpointRequest\x128\x0A\x04name\x18\x01 \x01(\x09B*\xE0A\x02\xFAA\$\x0A\"aiplatform.googleapis.com/Endpoint\"\xA8\x02\x0A\x12DeployModelRequest\x12<\x0A\x08endpoint\x18\x01 \x01(\x09B*\xE0A\x02\xFAA\$\x0A\"aiplatform.googleapis.com/Endpoint\x12F\x0A\x0Edeployed_model\x18\x02 \x01(\x0B2).google.cloud.aiplatform.v1.DeployedModelB\x03\xE0A\x02\x12W\x0A\x0Dtraffic_split\x18\x03 \x03(\x0B2@.google.cloud.aiplatform.v1.DeployModelRequest.TrafficSplitEntry\x1A3\x0A\x11TrafficSplitEntry\x12\x0B\x0A\x03key\x18\x01 \x01(\x09\x12\x0D\x0A\x05value\x18\x02 \x01(\x05:\x028\x01\"X\x0A\x13DeployModelResponse\x12A\x0A\x0Edeployed_model\x18\x01 \x01(\x0B2).google.cloud.aiplatform.v1.DeployedModel\"\xBA\x01\x0A\x1CDeployModelOperationMetadata\x12N\x0A\x10generic_metadata\x18\x01 \x01(\x0B24.google.cloud.aiplatform.v1.GenericOperationMetadata\x12J\x0A\x10deployment_stage\x18\x02 \x01(\x0E2+.google.cloud.aiplatform.v1.DeploymentStageB\x03\xE0A\x03\"\x84\x02\x0A\x14UndeployModelRequest\x12<\x0A\x08endpoint\x18\x01 \x01(\x09B*\xE0A\x02\xFAA\$\x0A\"aiplatform.googleapis.com/Endpoint\x12\x1E\x0A\x11deployed_model_id\x18\x02 \x01(\x09B\x03\xE0A\x02\x12Y\x0A\x0Dtraffic_split\x18\x03 \x03(\x0B2B.google.cloud.aiplatform.v1.UndeployModelRequest.TrafficSplitEntry\x1A3\x0A\x11TrafficSplitEntry\x12\x0B\x0A\x03key\x18\x01 \x01(\x09\x12\x0D\x0A\x05value\x18\x02 \x01(\x05:\x028\x01\"\x17\x0A\x15UndeployModelResponse\"p\x0A\x1EUndeployModelOperationMetadata\x12N\x0A\x10generic_metadata\x18\x01 \x01(\x0B24.google.cloud.aiplatform.v1.GenericOperationMetadata\"\xD8\x01\x0A\x1AMutateDeployedModelRequest\x12<\x0A\x08endpoint\x18\x01 \x01(\x09B*\xE0A\x02\xFAA\$\x0A\"aiplatform.googleapis.com/Endpoint\x12F\x0A\x0Edeployed_model\x18\x02 \x01(\x0B2).google.cloud.aiplatform.v1.DeployedModelB\x03\xE0A\x02\x124\x0A\x0Bupdate_mask\x18\x04 \x01(\x0B2\x1A.google.protobuf.FieldMaskB\x03\xE0A\x02\"`\x0A\x1BMutateDeployedModelResponse\x12A\x0A\x0Edeployed_model\x18\x01 \x01(\x0B2).google.cloud.aiplatform.v1.DeployedModel\"v\x0A\$MutateDeployedModelOperationMetadata\x12N\x0A\x10generic_metadata\x18\x01 \x01(\x0B24.google.cloud.aiplatform.v1.GenericOperationMetadata2\xAD\x11\x0A\x0FEndpointService\x12\x82\x02\x0A\x0ECreateEndpoint\x121.google.cloud.aiplatform.v1.CreateEndpointRequest\x1A\x1D.google.longrunning.Operation\"\x9D\x01\xCAA+\x0A\x08Endpoint\x12\x1FCreateEndpointOperationMetadata\xDAA\x0Fparent,endpoint\xDAA\x1Bparent,endpoint,endpoint_id\x82\xD3\xE4\x93\x029\"-/v1/{parent=projects/*/locations/*}/endpoints:\x08endpoint\x12\xA1\x01\x0A\x0BGetEndpoint\x12..google.cloud.aiplatform.v1.GetEndpointRequest\x1A\$.google.cloud.aiplatform.v1.Endpoint\"<\xDAA\x04name\x82\xD3\xE4\x93\x02/\x12-/v1/{name=projects/*/locations/*/endpoints/*}\x12\xB4\x01\x0A\x0DListEndpoints\x120.google.cloud.aiplatform.v1.ListEndpointsRequest\x1A1.google.cloud.aiplatform.v1.ListEndpointsResponse\">\xDAA\x06parent\x82\xD3\xE4\x93\x02/\x12-/v1/{parent=projects/*/locations/*}/endpoints\x12\xCA\x01\x0A\x0EUpdateEndpoint\x121.google.cloud.aiplatform.v1.UpdateEndpointRequest\x1A\$.google.cloud.aiplatform.v1.Endpoint\"_\xDAA\x14endpoint,update_mask\x82\xD3\xE4\x93\x02B26/v1/{endpoint.name=projects/*/locations/*/endpoints/*}:\x08endpoint\x12\xFC\x01\x0A\x19UpdateEndpointLongRunning\x12<.google.cloud.aiplatform.v1.UpdateEndpointLongRunningRequest\x1A\x1D.google.longrunning.Operation\"\x81\x01\xCAA+\x0A\x08Endpoint\x12\x1FUpdateEndpointOperationMetadata\xDAA\x08endpoint\x82\xD3\xE4\x93\x02B\"=/v1/{endpoint.name=projects/*/locations/*/endpoints/*}:update:\x01*\x12\xD3\x01\x0A\x0EDeleteEndpoint\x121.google.cloud.aiplatform.v1.DeleteEndpointRequest\x1A\x1D.google.longrunning.Operation\"o\xCAA0\x0A\x15google.protobuf.Empty\x12\x17DeleteOperationMetadata\xDAA\x04name\x82\xD3\xE4\x93\x02/*-/v1/{name=projects/*/locations/*/endpoints/*}\x12\x85\x02\x0A\x0BDeployModel\x12..google.cloud.aiplatform.v1.DeployModelRequest\x1A\x1D.google.longrunning.Operation\"\xA6\x01\xCAA3\x0A\x13DeployModelResponse\x12\x1CDeployModelOperationMetadata\xDAA%endpoint,deployed_model,traffic_split\x82\xD3\xE4\x93\x02B\"=/v1/{endpoint=projects/*/locations/*/endpoints/*}:deployModel:\x01*\x12\x92\x02\x0A\x0DUndeployModel\x120.google.cloud.aiplatform.v1.UndeployModelRequest\x1A\x1D.google.longrunning.Operation\"\xAF\x01\xCAA7\x0A\x15UndeployModelResponse\x12\x1EUndeployModelOperationMetadata\xDAA(endpoint,deployed_model_id,traffic_split\x82\xD3\xE4\x93\x02D\"?/v1/{endpoint=projects/*/locations/*/endpoints/*}:undeployModel:\x01*\x12\xAB\x02\x0A\x13MutateDeployedModel\x126.google.cloud.aiplatform.v1.MutateDeployedModelRequest\x1A\x1D.google.longrunning.Operation\"\xBC\x01\xCAAC\x0A\x1BMutateDeployedModelResponse\x12\$MutateDeployedModelOperationMetadata\xDAA#endpoint,deployed_model,update_mask\x82\xD3\xE4\x93\x02J\"E/v1/{endpoint=projects/*/locations/*/endpoints/*}:mutateDeployedModel:\x01*\x1AM\xCAA\x19aiplatform.googleapis.com\xD2A.https://www.googleapis.com/auth/cloud-platformB\xD2\x01\x0A\x1Ecom.google.cloud.aiplatform.v1B\x14EndpointServiceProtoP\x01Z>cloud.google.com/go/aiplatform/apiv1/aiplatformpb;aiplatformpb\xAA\x02\x1AGoogle.Cloud.AIPlatform.V1\xCA\x02\x1AGoogle\\Cloud\\AIPlatform\\V1\xEA\x02\x1DGoogle::Cloud::AIPlatform::V1b\x06proto3" + , 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..32b937615b05 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/EntityType.php @@ -0,0 +1,28 @@ +internalAddGeneratedFile( + "\x0A\x91\x08\x0A,google/cloud/aiplatform/v1/entity_type.proto\x12\x1Agoogle.cloud.aiplatform.v1\x1A\x19google/api/resource.proto\x1A8google/cloud/aiplatform/v1/featurestore_monitoring.proto\x1A\x1Fgoogle/protobuf/timestamp.proto\"\xF6\x04\x0A\x0AEntityType\x12\x11\x0A\x04name\x18\x01 \x01(\x09B\x03\xE0A\x05\x12\x18\x0A\x0Bdescription\x18\x02 \x01(\x09B\x03\xE0A\x01\x124\x0A\x0Bcreate_time\x18\x03 \x01(\x0B2\x1A.google.protobuf.TimestampB\x03\xE0A\x03\x124\x0A\x0Bupdate_time\x18\x04 \x01(\x0B2\x1A.google.protobuf.TimestampB\x03\xE0A\x03\x12G\x0A\x06labels\x18\x06 \x03(\x0B22.google.cloud.aiplatform.v1.EntityType.LabelsEntryB\x03\xE0A\x01\x12\x11\x0A\x04etag\x18\x07 \x01(\x09B\x03\xE0A\x01\x12X\x0A\x11monitoring_config\x18\x08 \x01(\x0B28.google.cloud.aiplatform.v1.FeaturestoreMonitoringConfigB\x03\xE0A\x01\x12%\x0A\x18offline_storage_ttl_days\x18\x0A \x01(\x05B\x03\xE0A\x01\x12\x1A\x0A\x0Dsatisfies_pzs\x18\x0B \x01(\x08B\x03\xE0A\x03\x12\x1A\x0A\x0Dsatisfies_pzi\x18\x0C \x01(\x08B\x03\xE0A\x03\x1A-\x0A\x0BLabelsEntry\x12\x0B\x0A\x03key\x18\x01 \x01(\x09\x12\x0D\x0A\x05value\x18\x02 \x01(\x09:\x028\x01:\x8A\x01\xEAA\x86\x01\x0A\$aiplatform.googleapis.com/EntityType\x12^projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entity_type}B\xCD\x01\x0A\x1Ecom.google.cloud.aiplatform.v1B\x0FEntityTypeProtoP\x01Z>cloud.google.com/go/aiplatform/apiv1/aiplatformpb;aiplatformpb\xAA\x02\x1AGoogle.Cloud.AIPlatform.V1\xCA\x02\x1AGoogle\\Cloud\\AIPlatform\\V1\xEA\x02\x1DGoogle::Cloud::AIPlatform::V1b\x06proto3" + , 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..37f81174d6df --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/EnvVar.php @@ -0,0 +1,25 @@ +internalAddGeneratedFile( + "\x0A\xE1\x03\x0A(google/cloud/aiplatform/v1/env_var.proto\x12\x1Agoogle.cloud.aiplatform.v1\"/\x0A\x06EnvVar\x12\x11\x0A\x04name\x18\x01 \x01(\x09B\x03\xE0A\x02\x12\x12\x0A\x05value\x18\x02 \x01(\x09B\x03\xE0A\x02\"1\x0A\x09SecretRef\x12\x13\x0A\x06secret\x18\x01 \x01(\x09B\x03\xE0A\x02\x12\x0F\x0A\x07version\x18\x02 \x01(\x09\"a\x0A\x0CSecretEnvVar\x12\x11\x0A\x04name\x18\x01 \x01(\x09B\x03\xE0A\x02\x12>\x0A\x0Asecret_ref\x18\x02 \x01(\x0B2%.google.cloud.aiplatform.v1.SecretRefB\x03\xE0A\x02B\xC9\x01\x0A\x1Ecom.google.cloud.aiplatform.v1B\x0BEnvVarProtoP\x01Z>cloud.google.com/go/aiplatform/apiv1/aiplatformpb;aiplatformpb\xAA\x02\x1AGoogle.Cloud.AIPlatform.V1\xCA\x02\x1AGoogle\\Cloud\\AIPlatform\\V1\xEA\x02\x1DGoogle::Cloud::AIPlatform::V1b\x06proto3" + , 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 000000000000..9d3688db73ee --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/EvaluatedAnnotation.php @@ -0,0 +1,27 @@ +internalAddGeneratedFile( + "\x0A\x94\x0C\x0A5google/cloud/aiplatform/v1/evaluated_annotation.proto\x12\x1Agoogle.cloud.aiplatform.v1\x1A,google/cloud/aiplatform/v1/explanation.proto\x1A\x1Cgoogle/protobuf/struct.proto\"\xE5\x04\x0A\x13EvaluatedAnnotation\x12Z\x0A\x04type\x18\x01 \x01(\x0E2G.google.cloud.aiplatform.v1.EvaluatedAnnotation.EvaluatedAnnotationTypeB\x03\xE0A\x03\x120\x0A\x0Bpredictions\x18\x02 \x03(\x0B2\x16.google.protobuf.ValueB\x03\xE0A\x03\x122\x0A\x0Dground_truths\x18\x03 \x03(\x0B2\x16.google.protobuf.ValueB\x03\xE0A\x03\x126\x0A\x11data_item_payload\x18\x05 \x01(\x0B2\x16.google.protobuf.ValueB\x03\xE0A\x03\x12(\x0A\x1Bevaluated_data_item_view_id\x18\x06 \x01(\x09B\x03\xE0A\x03\x12P\x0A\x0Cexplanations\x18\x08 \x03(\x0B2:.google.cloud.aiplatform.v1.EvaluatedAnnotationExplanation\x12W\x0A\x1Aerror_analysis_annotations\x18\x09 \x03(\x0B23.google.cloud.aiplatform.v1.ErrorAnalysisAnnotation\"\x7F\x0A\x17EvaluatedAnnotationType\x12)\x0A%EVALUATED_ANNOTATION_TYPE_UNSPECIFIED\x10\x00\x12\x11\x0A\x0DTRUE_POSITIVE\x10\x01\x12\x12\x0A\x0EFALSE_POSITIVE\x10\x02\x12\x12\x0A\x0EFALSE_NEGATIVE\x10\x03\"x\x0A\x1EEvaluatedAnnotationExplanation\x12\x18\x0A\x10explanation_type\x18\x01 \x01(\x09\x12<\x0A\x0Bexplanation\x18\x02 \x01(\x0B2'.google.cloud.aiplatform.v1.Explanation\"\xAF\x03\x0A\x17ErrorAnalysisAnnotation\x12\\\x0A\x10attributed_items\x18\x01 \x03(\x0B2B.google.cloud.aiplatform.v1.ErrorAnalysisAnnotation.AttributedItem\x12Q\x0A\x0Aquery_type\x18\x02 \x01(\x0E2=.google.cloud.aiplatform.v1.ErrorAnalysisAnnotation.QueryType\x12\x15\x0A\x0Doutlier_score\x18\x03 \x01(\x01\x12\x19\x0A\x11outlier_threshold\x18\x04 \x01(\x01\x1AD\x0A\x0EAttributedItem\x12 \x0A\x18annotation_resource_name\x18\x01 \x01(\x09\x12\x10\x0A\x08distance\x18\x02 \x01(\x01\"k\x0A\x09QueryType\x12\x1A\x0A\x16QUERY_TYPE_UNSPECIFIED\x10\x00\x12\x0F\x0A\x0BALL_SIMILAR\x10\x01\x12\x16\x0A\x12SAME_CLASS_SIMILAR\x10\x02\x12\x19\x0A\x15SAME_CLASS_DISSIMILAR\x10\x03B\xD6\x01\x0A\x1Ecom.google.cloud.aiplatform.v1B\x18EvaluatedAnnotationProtoP\x01Z>cloud.google.com/go/aiplatform/apiv1/aiplatformpb;aiplatformpb\xAA\x02\x1AGoogle.Cloud.AIPlatform.V1\xCA\x02\x1AGoogle\\Cloud\\AIPlatform\\V1\xEA\x02\x1DGoogle::Cloud::AIPlatform::V1b\x06proto3" + , true); + + static::$is_initialized = true; + } +} + diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/EvaluationService.php b/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/EvaluationService.php new file mode 100644 index 000000000000..4aca63e43270 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/EvaluationService.php @@ -0,0 +1,28 @@ +internalAddGeneratedFile( + "\x0A\xB6\x94\x01\x0A3google/cloud/aiplatform/v1/evaluation_service.proto\x12\x1Agoogle.cloud.aiplatform.v1\x1A\x17google/api/client.proto\x1A\x1Fgoogle/api/field_behavior.proto\x1A\x19google/api/resource.proto\"\xDA\x11\x0A\x18EvaluateInstancesRequest\x12H\x0A\x11exact_match_input\x18\x02 \x01(\x0B2+.google.cloud.aiplatform.v1.ExactMatchInputH\x00\x12;\x0A\x0Ableu_input\x18\x03 \x01(\x0B2%.google.cloud.aiplatform.v1.BleuInputH\x00\x12=\x0A\x0Brouge_input\x18\x04 \x01(\x0B2&.google.cloud.aiplatform.v1.RougeInputH\x00\x12A\x0A\x0Dfluency_input\x18\x05 \x01(\x0B2(.google.cloud.aiplatform.v1.FluencyInputH\x00\x12E\x0A\x0Fcoherence_input\x18\x06 \x01(\x0B2*.google.cloud.aiplatform.v1.CoherenceInputH\x00\x12?\x0A\x0Csafety_input\x18\x08 \x01(\x0B2'.google.cloud.aiplatform.v1.SafetyInputH\x00\x12K\x0A\x12groundedness_input\x18\x09 \x01(\x0B2-.google.cloud.aiplatform.v1.GroundednessInputH\x00\x12I\x0A\x11fulfillment_input\x18\x0C \x01(\x0B2,.google.cloud.aiplatform.v1.FulfillmentInputH\x00\x12\\\x0A\x1Bsummarization_quality_input\x18\x07 \x01(\x0B25.google.cloud.aiplatform.v1.SummarizationQualityInputH\x00\x12m\x0A\$pairwise_summarization_quality_input\x18\x17 \x01(\x0B2=.google.cloud.aiplatform.v1.PairwiseSummarizationQualityInputH\x00\x12d\x0A\x1Fsummarization_helpfulness_input\x18\x0E \x01(\x0B29.google.cloud.aiplatform.v1.SummarizationHelpfulnessInputH\x00\x12`\x0A\x1Dsummarization_verbosity_input\x18\x0F \x01(\x0B27.google.cloud.aiplatform.v1.SummarizationVerbosityInputH\x00\x12e\x0A question_answering_quality_input\x18\x0A \x01(\x0B29.google.cloud.aiplatform.v1.QuestionAnsweringQualityInputH\x00\x12v\x0A)pairwise_question_answering_quality_input\x18\x18 \x01(\x0B2A.google.cloud.aiplatform.v1.PairwiseQuestionAnsweringQualityInputH\x00\x12i\x0A\"question_answering_relevance_input\x18\x10 \x01(\x0B2;.google.cloud.aiplatform.v1.QuestionAnsweringRelevanceInputH\x00\x12m\x0A\$question_answering_helpfulness_input\x18\x11 \x01(\x0B2=.google.cloud.aiplatform.v1.QuestionAnsweringHelpfulnessInputH\x00\x12m\x0A\$question_answering_correctness_input\x18\x12 \x01(\x0B2=.google.cloud.aiplatform.v1.QuestionAnsweringCorrectnessInputH\x00\x12R\x0A\x16pointwise_metric_input\x18\x1C \x01(\x0B20.google.cloud.aiplatform.v1.PointwiseMetricInputH\x00\x12P\x0A\x15pairwise_metric_input\x18\x1D \x01(\x0B2/.google.cloud.aiplatform.v1.PairwiseMetricInputH\x00\x12O\x0A\x15tool_call_valid_input\x18\x13 \x01(\x0B2..google.cloud.aiplatform.v1.ToolCallValidInputH\x00\x12O\x0A\x15tool_name_match_input\x18\x14 \x01(\x0B2..google.cloud.aiplatform.v1.ToolNameMatchInputH\x00\x12`\x0A\x1Etool_parameter_key_match_input\x18\x15 \x01(\x0B26.google.cloud.aiplatform.v1.ToolParameterKeyMatchInputH\x00\x12^\x0A\x1Dtool_parameter_kv_match_input\x18\x16 \x01(\x0B25.google.cloud.aiplatform.v1.ToolParameterKVMatchInputH\x00\x12=\x0A\x0Bcomet_input\x18\x1F \x01(\x0B2&.google.cloud.aiplatform.v1.CometInputH\x00\x12A\x0A\x0Dmetricx_input\x18 \x01(\x0B2(.google.cloud.aiplatform.v1.MetricxInputH\x00\x12;\x0A\x08location\x18\x01 \x01(\x09B)\xE0A\x02\xFAA#\x0A!locations.googleapis.com/LocationB\x0F\x0A\x0Dmetric_inputs\"\xE3\x11\x0A\x19EvaluateInstancesResponse\x12L\x0A\x13exact_match_results\x18\x01 \x01(\x0B2-.google.cloud.aiplatform.v1.ExactMatchResultsH\x00\x12?\x0A\x0Cbleu_results\x18\x02 \x01(\x0B2'.google.cloud.aiplatform.v1.BleuResultsH\x00\x12A\x0A\x0Drouge_results\x18\x03 \x01(\x0B2(.google.cloud.aiplatform.v1.RougeResultsH\x00\x12C\x0A\x0Efluency_result\x18\x04 \x01(\x0B2).google.cloud.aiplatform.v1.FluencyResultH\x00\x12G\x0A\x10coherence_result\x18\x05 \x01(\x0B2+.google.cloud.aiplatform.v1.CoherenceResultH\x00\x12A\x0A\x0Dsafety_result\x18\x07 \x01(\x0B2(.google.cloud.aiplatform.v1.SafetyResultH\x00\x12M\x0A\x13groundedness_result\x18\x08 \x01(\x0B2..google.cloud.aiplatform.v1.GroundednessResultH\x00\x12K\x0A\x12fulfillment_result\x18\x0B \x01(\x0B2-.google.cloud.aiplatform.v1.FulfillmentResultH\x00\x12^\x0A\x1Csummarization_quality_result\x18\x06 \x01(\x0B26.google.cloud.aiplatform.v1.SummarizationQualityResultH\x00\x12o\x0A%pairwise_summarization_quality_result\x18\x16 \x01(\x0B2>.google.cloud.aiplatform.v1.PairwiseSummarizationQualityResultH\x00\x12f\x0A summarization_helpfulness_result\x18\x0D \x01(\x0B2:.google.cloud.aiplatform.v1.SummarizationHelpfulnessResultH\x00\x12b\x0A\x1Esummarization_verbosity_result\x18\x0E \x01(\x0B28.google.cloud.aiplatform.v1.SummarizationVerbosityResultH\x00\x12g\x0A!question_answering_quality_result\x18\x09 \x01(\x0B2:.google.cloud.aiplatform.v1.QuestionAnsweringQualityResultH\x00\x12x\x0A*pairwise_question_answering_quality_result\x18\x17 \x01(\x0B2B.google.cloud.aiplatform.v1.PairwiseQuestionAnsweringQualityResultH\x00\x12k\x0A#question_answering_relevance_result\x18\x0F \x01(\x0B2<.google.cloud.aiplatform.v1.QuestionAnsweringRelevanceResultH\x00\x12o\x0A%question_answering_helpfulness_result\x18\x10 \x01(\x0B2>.google.cloud.aiplatform.v1.QuestionAnsweringHelpfulnessResultH\x00\x12o\x0A%question_answering_correctness_result\x18\x11 \x01(\x0B2>.google.cloud.aiplatform.v1.QuestionAnsweringCorrectnessResultH\x00\x12T\x0A\x17pointwise_metric_result\x18\x1B \x01(\x0B21.google.cloud.aiplatform.v1.PointwiseMetricResultH\x00\x12R\x0A\x16pairwise_metric_result\x18\x1C \x01(\x0B20.google.cloud.aiplatform.v1.PairwiseMetricResultH\x00\x12S\x0A\x17tool_call_valid_results\x18\x12 \x01(\x0B20.google.cloud.aiplatform.v1.ToolCallValidResultsH\x00\x12S\x0A\x17tool_name_match_results\x18\x13 \x01(\x0B20.google.cloud.aiplatform.v1.ToolNameMatchResultsH\x00\x12d\x0A tool_parameter_key_match_results\x18\x14 \x01(\x0B28.google.cloud.aiplatform.v1.ToolParameterKeyMatchResultsH\x00\x12b\x0A\x1Ftool_parameter_kv_match_results\x18\x15 \x01(\x0B27.google.cloud.aiplatform.v1.ToolParameterKVMatchResultsH\x00\x12?\x0A\x0Ccomet_result\x18\x1D \x01(\x0B2'.google.cloud.aiplatform.v1.CometResultH\x00\x12C\x0A\x0Emetricx_result\x18\x1E \x01(\x0B2).google.cloud.aiplatform.v1.MetricxResultH\x00B\x14\x0A\x12evaluation_results\"\x9F\x01\x0A\x0FExactMatchInput\x12D\x0A\x0Bmetric_spec\x18\x01 \x01(\x0B2*.google.cloud.aiplatform.v1.ExactMatchSpecB\x03\xE0A\x02\x12F\x0A\x09instances\x18\x02 \x03(\x0B2..google.cloud.aiplatform.v1.ExactMatchInstanceB\x03\xE0A\x02\"l\x0A\x12ExactMatchInstance\x12\x1C\x0A\x0Aprediction\x18\x01 \x01(\x09B\x03\xE0A\x02H\x00\x88\x01\x01\x12\x1B\x0A\x09reference\x18\x02 \x01(\x09B\x03\xE0A\x02H\x01\x88\x01\x01B\x0D\x0A\x0B_predictionB\x0C\x0A\x0A_reference\"\x10\x0A\x0EExactMatchSpec\"n\x0A\x11ExactMatchResults\x12Y\x0A\x19exact_match_metric_values\x18\x01 \x03(\x0B21.google.cloud.aiplatform.v1.ExactMatchMetricValueB\x03\xE0A\x03\":\x0A\x15ExactMatchMetricValue\x12\x17\x0A\x05score\x18\x01 \x01(\x02B\x03\xE0A\x03H\x00\x88\x01\x01B\x08\x0A\x06_score\"\x8D\x01\x0A\x09BleuInput\x12>\x0A\x0Bmetric_spec\x18\x01 \x01(\x0B2\$.google.cloud.aiplatform.v1.BleuSpecB\x03\xE0A\x02\x12@\x0A\x09instances\x18\x02 \x03(\x0B2(.google.cloud.aiplatform.v1.BleuInstanceB\x03\xE0A\x02\"f\x0A\x0CBleuInstance\x12\x1C\x0A\x0Aprediction\x18\x01 \x01(\x09B\x03\xE0A\x02H\x00\x88\x01\x01\x12\x1B\x0A\x09reference\x18\x02 \x01(\x09B\x03\xE0A\x02H\x01\x88\x01\x01B\x0D\x0A\x0B_predictionB\x0C\x0A\x0A_reference\",\x0A\x08BleuSpec\x12 \x0A\x13use_effective_order\x18\x01 \x01(\x08B\x03\xE0A\x01\"[\x0A\x0BBleuResults\x12L\x0A\x12bleu_metric_values\x18\x01 \x03(\x0B2+.google.cloud.aiplatform.v1.BleuMetricValueB\x03\xE0A\x03\"4\x0A\x0FBleuMetricValue\x12\x17\x0A\x05score\x18\x01 \x01(\x02B\x03\xE0A\x03H\x00\x88\x01\x01B\x08\x0A\x06_score\"\x90\x01\x0A\x0ARougeInput\x12?\x0A\x0Bmetric_spec\x18\x01 \x01(\x0B2%.google.cloud.aiplatform.v1.RougeSpecB\x03\xE0A\x02\x12A\x0A\x09instances\x18\x02 \x03(\x0B2).google.cloud.aiplatform.v1.RougeInstanceB\x03\xE0A\x02\"g\x0A\x0DRougeInstance\x12\x1C\x0A\x0Aprediction\x18\x01 \x01(\x09B\x03\xE0A\x02H\x00\x88\x01\x01\x12\x1B\x0A\x09reference\x18\x02 \x01(\x09B\x03\xE0A\x02H\x01\x88\x01\x01B\x0D\x0A\x0B_predictionB\x0C\x0A\x0A_reference\"\\\x0A\x09RougeSpec\x12\x17\x0A\x0Arouge_type\x18\x01 \x01(\x09B\x03\xE0A\x01\x12\x18\x0A\x0Buse_stemmer\x18\x02 \x01(\x08B\x03\xE0A\x01\x12\x1C\x0A\x0Fsplit_summaries\x18\x03 \x01(\x08B\x03\xE0A\x01\"^\x0A\x0CRougeResults\x12N\x0A\x13rouge_metric_values\x18\x01 \x03(\x0B2,.google.cloud.aiplatform.v1.RougeMetricValueB\x03\xE0A\x03\"5\x0A\x10RougeMetricValue\x12\x17\x0A\x05score\x18\x01 \x01(\x02B\x03\xE0A\x03H\x00\x88\x01\x01B\x08\x0A\x06_score\"\x9B\x01\x0A\x0ECoherenceInput\x12C\x0A\x0Bmetric_spec\x18\x01 \x01(\x0B2).google.cloud.aiplatform.v1.CoherenceSpecB\x03\xE0A\x02\x12D\x0A\x08instance\x18\x02 \x01(\x0B2-.google.cloud.aiplatform.v1.CoherenceInstanceB\x03\xE0A\x02\"@\x0A\x11CoherenceInstance\x12\x1C\x0A\x0Aprediction\x18\x01 \x01(\x09B\x03\xE0A\x02H\x00\x88\x01\x01B\x0D\x0A\x0B_prediction\"%\x0A\x0DCoherenceSpec\x12\x14\x0A\x07version\x18\x01 \x01(\x05B\x03\xE0A\x01\"{\x0A\x0FCoherenceResult\x12\x17\x0A\x05score\x18\x01 \x01(\x02B\x03\xE0A\x03H\x00\x88\x01\x01\x12\x18\x0A\x0Bexplanation\x18\x02 \x01(\x09B\x03\xE0A\x03\x12\x1C\x0A\x0Aconfidence\x18\x03 \x01(\x02B\x03\xE0A\x03H\x01\x88\x01\x01B\x08\x0A\x06_scoreB\x0D\x0A\x0B_confidence\"\x95\x01\x0A\x0CFluencyInput\x12A\x0A\x0Bmetric_spec\x18\x01 \x01(\x0B2'.google.cloud.aiplatform.v1.FluencySpecB\x03\xE0A\x02\x12B\x0A\x08instance\x18\x02 \x01(\x0B2+.google.cloud.aiplatform.v1.FluencyInstanceB\x03\xE0A\x02\">\x0A\x0FFluencyInstance\x12\x1C\x0A\x0Aprediction\x18\x01 \x01(\x09B\x03\xE0A\x02H\x00\x88\x01\x01B\x0D\x0A\x0B_prediction\"#\x0A\x0BFluencySpec\x12\x14\x0A\x07version\x18\x01 \x01(\x05B\x03\xE0A\x01\"y\x0A\x0DFluencyResult\x12\x17\x0A\x05score\x18\x01 \x01(\x02B\x03\xE0A\x03H\x00\x88\x01\x01\x12\x18\x0A\x0Bexplanation\x18\x02 \x01(\x09B\x03\xE0A\x03\x12\x1C\x0A\x0Aconfidence\x18\x03 \x01(\x02B\x03\xE0A\x03H\x01\x88\x01\x01B\x08\x0A\x06_scoreB\x0D\x0A\x0B_confidence\"\x92\x01\x0A\x0BSafetyInput\x12@\x0A\x0Bmetric_spec\x18\x01 \x01(\x0B2&.google.cloud.aiplatform.v1.SafetySpecB\x03\xE0A\x02\x12A\x0A\x08instance\x18\x02 \x01(\x0B2*.google.cloud.aiplatform.v1.SafetyInstanceB\x03\xE0A\x02\"=\x0A\x0ESafetyInstance\x12\x1C\x0A\x0Aprediction\x18\x01 \x01(\x09B\x03\xE0A\x02H\x00\x88\x01\x01B\x0D\x0A\x0B_prediction\"\"\x0A\x0ASafetySpec\x12\x14\x0A\x07version\x18\x01 \x01(\x05B\x03\xE0A\x01\"x\x0A\x0CSafetyResult\x12\x17\x0A\x05score\x18\x01 \x01(\x02B\x03\xE0A\x03H\x00\x88\x01\x01\x12\x18\x0A\x0Bexplanation\x18\x02 \x01(\x09B\x03\xE0A\x03\x12\x1C\x0A\x0Aconfidence\x18\x03 \x01(\x02B\x03\xE0A\x03H\x01\x88\x01\x01B\x08\x0A\x06_scoreB\x0D\x0A\x0B_confidence\"\xA4\x01\x0A\x11GroundednessInput\x12F\x0A\x0Bmetric_spec\x18\x01 \x01(\x0B2,.google.cloud.aiplatform.v1.GroundednessSpecB\x03\xE0A\x02\x12G\x0A\x08instance\x18\x02 \x01(\x0B20.google.cloud.aiplatform.v1.GroundednessInstanceB\x03\xE0A\x02\"j\x0A\x14GroundednessInstance\x12\x1C\x0A\x0Aprediction\x18\x01 \x01(\x09B\x03\xE0A\x02H\x00\x88\x01\x01\x12\x19\x0A\x07context\x18\x02 \x01(\x09B\x03\xE0A\x02H\x01\x88\x01\x01B\x0D\x0A\x0B_predictionB\x0A\x0A\x08_context\"(\x0A\x10GroundednessSpec\x12\x14\x0A\x07version\x18\x01 \x01(\x05B\x03\xE0A\x01\"~\x0A\x12GroundednessResult\x12\x17\x0A\x05score\x18\x01 \x01(\x02B\x03\xE0A\x03H\x00\x88\x01\x01\x12\x18\x0A\x0Bexplanation\x18\x02 \x01(\x09B\x03\xE0A\x03\x12\x1C\x0A\x0Aconfidence\x18\x03 \x01(\x02B\x03\xE0A\x03H\x01\x88\x01\x01B\x08\x0A\x06_scoreB\x0D\x0A\x0B_confidence\"\xA1\x01\x0A\x10FulfillmentInput\x12E\x0A\x0Bmetric_spec\x18\x01 \x01(\x0B2+.google.cloud.aiplatform.v1.FulfillmentSpecB\x03\xE0A\x02\x12F\x0A\x08instance\x18\x02 \x01(\x0B2/.google.cloud.aiplatform.v1.FulfillmentInstanceB\x03\xE0A\x02\"q\x0A\x13FulfillmentInstance\x12\x1C\x0A\x0Aprediction\x18\x01 \x01(\x09B\x03\xE0A\x02H\x00\x88\x01\x01\x12\x1D\x0A\x0Binstruction\x18\x02 \x01(\x09B\x03\xE0A\x02H\x01\x88\x01\x01B\x0D\x0A\x0B_predictionB\x0E\x0A\x0C_instruction\"'\x0A\x0FFulfillmentSpec\x12\x14\x0A\x07version\x18\x01 \x01(\x05B\x03\xE0A\x01\"}\x0A\x11FulfillmentResult\x12\x17\x0A\x05score\x18\x01 \x01(\x02B\x03\xE0A\x03H\x00\x88\x01\x01\x12\x18\x0A\x0Bexplanation\x18\x02 \x01(\x09B\x03\xE0A\x03\x12\x1C\x0A\x0Aconfidence\x18\x03 \x01(\x02B\x03\xE0A\x03H\x01\x88\x01\x01B\x08\x0A\x06_scoreB\x0D\x0A\x0B_confidence\"\xBC\x01\x0A\x19SummarizationQualityInput\x12N\x0A\x0Bmetric_spec\x18\x01 \x01(\x0B24.google.cloud.aiplatform.v1.SummarizationQualitySpecB\x03\xE0A\x02\x12O\x0A\x08instance\x18\x02 \x01(\x0B28.google.cloud.aiplatform.v1.SummarizationQualityInstanceB\x03\xE0A\x02\"\xCC\x01\x0A\x1CSummarizationQualityInstance\x12\x1C\x0A\x0Aprediction\x18\x01 \x01(\x09B\x03\xE0A\x02H\x00\x88\x01\x01\x12\x1B\x0A\x09reference\x18\x02 \x01(\x09B\x03\xE0A\x01H\x01\x88\x01\x01\x12\x19\x0A\x07context\x18\x03 \x01(\x09B\x03\xE0A\x02H\x02\x88\x01\x01\x12\x1D\x0A\x0Binstruction\x18\x04 \x01(\x09B\x03\xE0A\x02H\x03\x88\x01\x01B\x0D\x0A\x0B_predictionB\x0C\x0A\x0A_referenceB\x0A\x0A\x08_contextB\x0E\x0A\x0C_instruction\"L\x0A\x18SummarizationQualitySpec\x12\x1A\x0A\x0Duse_reference\x18\x01 \x01(\x08B\x03\xE0A\x01\x12\x14\x0A\x07version\x18\x02 \x01(\x05B\x03\xE0A\x01\"\x86\x01\x0A\x1ASummarizationQualityResult\x12\x17\x0A\x05score\x18\x01 \x01(\x02B\x03\xE0A\x03H\x00\x88\x01\x01\x12\x18\x0A\x0Bexplanation\x18\x02 \x01(\x09B\x03\xE0A\x03\x12\x1C\x0A\x0Aconfidence\x18\x03 \x01(\x02B\x03\xE0A\x03H\x01\x88\x01\x01B\x08\x0A\x06_scoreB\x0D\x0A\x0B_confidence\"\xD4\x01\x0A!PairwiseSummarizationQualityInput\x12V\x0A\x0Bmetric_spec\x18\x01 \x01(\x0B2<.google.cloud.aiplatform.v1.PairwiseSummarizationQualitySpecB\x03\xE0A\x02\x12W\x0A\x08instance\x18\x02 \x01(\x0B2@.google.cloud.aiplatform.v1.PairwiseSummarizationQualityInstanceB\x03\xE0A\x02\"\x93\x02\x0A\$PairwiseSummarizationQualityInstance\x12\x1C\x0A\x0Aprediction\x18\x01 \x01(\x09B\x03\xE0A\x02H\x00\x88\x01\x01\x12%\x0A\x13baseline_prediction\x18\x02 \x01(\x09B\x03\xE0A\x02H\x01\x88\x01\x01\x12\x1B\x0A\x09reference\x18\x03 \x01(\x09B\x03\xE0A\x01H\x02\x88\x01\x01\x12\x19\x0A\x07context\x18\x04 \x01(\x09B\x03\xE0A\x02H\x03\x88\x01\x01\x12\x1D\x0A\x0Binstruction\x18\x05 \x01(\x09B\x03\xE0A\x02H\x04\x88\x01\x01B\x0D\x0A\x0B_predictionB\x16\x0A\x14_baseline_predictionB\x0C\x0A\x0A_referenceB\x0A\x0A\x08_contextB\x0E\x0A\x0C_instruction\"T\x0A PairwiseSummarizationQualitySpec\x12\x1A\x0A\x0Duse_reference\x18\x01 \x01(\x08B\x03\xE0A\x01\x12\x14\x0A\x07version\x18\x02 \x01(\x05B\x03\xE0A\x01\"\xB5\x01\x0A\"PairwiseSummarizationQualityResult\x12H\x0A\x0Fpairwise_choice\x18\x01 \x01(\x0E2*.google.cloud.aiplatform.v1.PairwiseChoiceB\x03\xE0A\x03\x12\x18\x0A\x0Bexplanation\x18\x02 \x01(\x09B\x03\xE0A\x03\x12\x1C\x0A\x0Aconfidence\x18\x03 \x01(\x02B\x03\xE0A\x03H\x00\x88\x01\x01B\x0D\x0A\x0B_confidence\"\xC8\x01\x0A\x1DSummarizationHelpfulnessInput\x12R\x0A\x0Bmetric_spec\x18\x01 \x01(\x0B28.google.cloud.aiplatform.v1.SummarizationHelpfulnessSpecB\x03\xE0A\x02\x12S\x0A\x08instance\x18\x02 \x01(\x0B2<.google.cloud.aiplatform.v1.SummarizationHelpfulnessInstanceB\x03\xE0A\x02\"\xD0\x01\x0A SummarizationHelpfulnessInstance\x12\x1C\x0A\x0Aprediction\x18\x01 \x01(\x09B\x03\xE0A\x02H\x00\x88\x01\x01\x12\x1B\x0A\x09reference\x18\x02 \x01(\x09B\x03\xE0A\x01H\x01\x88\x01\x01\x12\x19\x0A\x07context\x18\x03 \x01(\x09B\x03\xE0A\x02H\x02\x88\x01\x01\x12\x1D\x0A\x0Binstruction\x18\x04 \x01(\x09B\x03\xE0A\x01H\x03\x88\x01\x01B\x0D\x0A\x0B_predictionB\x0C\x0A\x0A_referenceB\x0A\x0A\x08_contextB\x0E\x0A\x0C_instruction\"P\x0A\x1CSummarizationHelpfulnessSpec\x12\x1A\x0A\x0Duse_reference\x18\x01 \x01(\x08B\x03\xE0A\x01\x12\x14\x0A\x07version\x18\x02 \x01(\x05B\x03\xE0A\x01\"\x8A\x01\x0A\x1ESummarizationHelpfulnessResult\x12\x17\x0A\x05score\x18\x01 \x01(\x02B\x03\xE0A\x03H\x00\x88\x01\x01\x12\x18\x0A\x0Bexplanation\x18\x02 \x01(\x09B\x03\xE0A\x03\x12\x1C\x0A\x0Aconfidence\x18\x03 \x01(\x02B\x03\xE0A\x03H\x01\x88\x01\x01B\x08\x0A\x06_scoreB\x0D\x0A\x0B_confidence\"\xC2\x01\x0A\x1BSummarizationVerbosityInput\x12P\x0A\x0Bmetric_spec\x18\x01 \x01(\x0B26.google.cloud.aiplatform.v1.SummarizationVerbositySpecB\x03\xE0A\x02\x12Q\x0A\x08instance\x18\x02 \x01(\x0B2:.google.cloud.aiplatform.v1.SummarizationVerbosityInstanceB\x03\xE0A\x02\"\xCE\x01\x0A\x1ESummarizationVerbosityInstance\x12\x1C\x0A\x0Aprediction\x18\x01 \x01(\x09B\x03\xE0A\x02H\x00\x88\x01\x01\x12\x1B\x0A\x09reference\x18\x02 \x01(\x09B\x03\xE0A\x01H\x01\x88\x01\x01\x12\x19\x0A\x07context\x18\x03 \x01(\x09B\x03\xE0A\x02H\x02\x88\x01\x01\x12\x1D\x0A\x0Binstruction\x18\x04 \x01(\x09B\x03\xE0A\x01H\x03\x88\x01\x01B\x0D\x0A\x0B_predictionB\x0C\x0A\x0A_referenceB\x0A\x0A\x08_contextB\x0E\x0A\x0C_instruction\"N\x0A\x1ASummarizationVerbositySpec\x12\x1A\x0A\x0Duse_reference\x18\x01 \x01(\x08B\x03\xE0A\x01\x12\x14\x0A\x07version\x18\x02 \x01(\x05B\x03\xE0A\x01\"\x88\x01\x0A\x1CSummarizationVerbosityResult\x12\x17\x0A\x05score\x18\x01 \x01(\x02B\x03\xE0A\x03H\x00\x88\x01\x01\x12\x18\x0A\x0Bexplanation\x18\x02 \x01(\x09B\x03\xE0A\x03\x12\x1C\x0A\x0Aconfidence\x18\x03 \x01(\x02B\x03\xE0A\x03H\x01\x88\x01\x01B\x08\x0A\x06_scoreB\x0D\x0A\x0B_confidence\"\xC8\x01\x0A\x1DQuestionAnsweringQualityInput\x12R\x0A\x0Bmetric_spec\x18\x01 \x01(\x0B28.google.cloud.aiplatform.v1.QuestionAnsweringQualitySpecB\x03\xE0A\x02\x12S\x0A\x08instance\x18\x02 \x01(\x0B2<.google.cloud.aiplatform.v1.QuestionAnsweringQualityInstanceB\x03\xE0A\x02\"\xD0\x01\x0A QuestionAnsweringQualityInstance\x12\x1C\x0A\x0Aprediction\x18\x01 \x01(\x09B\x03\xE0A\x02H\x00\x88\x01\x01\x12\x1B\x0A\x09reference\x18\x02 \x01(\x09B\x03\xE0A\x01H\x01\x88\x01\x01\x12\x19\x0A\x07context\x18\x03 \x01(\x09B\x03\xE0A\x02H\x02\x88\x01\x01\x12\x1D\x0A\x0Binstruction\x18\x04 \x01(\x09B\x03\xE0A\x02H\x03\x88\x01\x01B\x0D\x0A\x0B_predictionB\x0C\x0A\x0A_referenceB\x0A\x0A\x08_contextB\x0E\x0A\x0C_instruction\"P\x0A\x1CQuestionAnsweringQualitySpec\x12\x1A\x0A\x0Duse_reference\x18\x01 \x01(\x08B\x03\xE0A\x01\x12\x14\x0A\x07version\x18\x02 \x01(\x05B\x03\xE0A\x01\"\x8A\x01\x0A\x1EQuestionAnsweringQualityResult\x12\x17\x0A\x05score\x18\x01 \x01(\x02B\x03\xE0A\x03H\x00\x88\x01\x01\x12\x18\x0A\x0Bexplanation\x18\x02 \x01(\x09B\x03\xE0A\x03\x12\x1C\x0A\x0Aconfidence\x18\x03 \x01(\x02B\x03\xE0A\x03H\x01\x88\x01\x01B\x08\x0A\x06_scoreB\x0D\x0A\x0B_confidence\"\xE0\x01\x0A%PairwiseQuestionAnsweringQualityInput\x12Z\x0A\x0Bmetric_spec\x18\x01 \x01(\x0B2@.google.cloud.aiplatform.v1.PairwiseQuestionAnsweringQualitySpecB\x03\xE0A\x02\x12[\x0A\x08instance\x18\x02 \x01(\x0B2D.google.cloud.aiplatform.v1.PairwiseQuestionAnsweringQualityInstanceB\x03\xE0A\x02\"\x97\x02\x0A(PairwiseQuestionAnsweringQualityInstance\x12\x1C\x0A\x0Aprediction\x18\x01 \x01(\x09B\x03\xE0A\x02H\x00\x88\x01\x01\x12%\x0A\x13baseline_prediction\x18\x02 \x01(\x09B\x03\xE0A\x02H\x01\x88\x01\x01\x12\x1B\x0A\x09reference\x18\x03 \x01(\x09B\x03\xE0A\x01H\x02\x88\x01\x01\x12\x19\x0A\x07context\x18\x04 \x01(\x09B\x03\xE0A\x02H\x03\x88\x01\x01\x12\x1D\x0A\x0Binstruction\x18\x05 \x01(\x09B\x03\xE0A\x02H\x04\x88\x01\x01B\x0D\x0A\x0B_predictionB\x16\x0A\x14_baseline_predictionB\x0C\x0A\x0A_referenceB\x0A\x0A\x08_contextB\x0E\x0A\x0C_instruction\"X\x0A\$PairwiseQuestionAnsweringQualitySpec\x12\x1A\x0A\x0Duse_reference\x18\x01 \x01(\x08B\x03\xE0A\x01\x12\x14\x0A\x07version\x18\x02 \x01(\x05B\x03\xE0A\x01\"\xB9\x01\x0A&PairwiseQuestionAnsweringQualityResult\x12H\x0A\x0Fpairwise_choice\x18\x01 \x01(\x0E2*.google.cloud.aiplatform.v1.PairwiseChoiceB\x03\xE0A\x03\x12\x18\x0A\x0Bexplanation\x18\x02 \x01(\x09B\x03\xE0A\x03\x12\x1C\x0A\x0Aconfidence\x18\x03 \x01(\x02B\x03\xE0A\x03H\x00\x88\x01\x01B\x0D\x0A\x0B_confidence\"\xCE\x01\x0A\x1FQuestionAnsweringRelevanceInput\x12T\x0A\x0Bmetric_spec\x18\x01 \x01(\x0B2:.google.cloud.aiplatform.v1.QuestionAnsweringRelevanceSpecB\x03\xE0A\x02\x12U\x0A\x08instance\x18\x02 \x01(\x0B2>.google.cloud.aiplatform.v1.QuestionAnsweringRelevanceInstanceB\x03\xE0A\x02\"\xD2\x01\x0A\"QuestionAnsweringRelevanceInstance\x12\x1C\x0A\x0Aprediction\x18\x01 \x01(\x09B\x03\xE0A\x02H\x00\x88\x01\x01\x12\x1B\x0A\x09reference\x18\x02 \x01(\x09B\x03\xE0A\x01H\x01\x88\x01\x01\x12\x19\x0A\x07context\x18\x03 \x01(\x09B\x03\xE0A\x01H\x02\x88\x01\x01\x12\x1D\x0A\x0Binstruction\x18\x04 \x01(\x09B\x03\xE0A\x02H\x03\x88\x01\x01B\x0D\x0A\x0B_predictionB\x0C\x0A\x0A_referenceB\x0A\x0A\x08_contextB\x0E\x0A\x0C_instruction\"R\x0A\x1EQuestionAnsweringRelevanceSpec\x12\x1A\x0A\x0Duse_reference\x18\x01 \x01(\x08B\x03\xE0A\x01\x12\x14\x0A\x07version\x18\x02 \x01(\x05B\x03\xE0A\x01\"\x8C\x01\x0A QuestionAnsweringRelevanceResult\x12\x17\x0A\x05score\x18\x01 \x01(\x02B\x03\xE0A\x03H\x00\x88\x01\x01\x12\x18\x0A\x0Bexplanation\x18\x02 \x01(\x09B\x03\xE0A\x03\x12\x1C\x0A\x0Aconfidence\x18\x03 \x01(\x02B\x03\xE0A\x03H\x01\x88\x01\x01B\x08\x0A\x06_scoreB\x0D\x0A\x0B_confidence\"\xD4\x01\x0A!QuestionAnsweringHelpfulnessInput\x12V\x0A\x0Bmetric_spec\x18\x01 \x01(\x0B2<.google.cloud.aiplatform.v1.QuestionAnsweringHelpfulnessSpecB\x03\xE0A\x02\x12W\x0A\x08instance\x18\x02 \x01(\x0B2@.google.cloud.aiplatform.v1.QuestionAnsweringHelpfulnessInstanceB\x03\xE0A\x02\"\xD4\x01\x0A\$QuestionAnsweringHelpfulnessInstance\x12\x1C\x0A\x0Aprediction\x18\x01 \x01(\x09B\x03\xE0A\x02H\x00\x88\x01\x01\x12\x1B\x0A\x09reference\x18\x02 \x01(\x09B\x03\xE0A\x01H\x01\x88\x01\x01\x12\x19\x0A\x07context\x18\x03 \x01(\x09B\x03\xE0A\x01H\x02\x88\x01\x01\x12\x1D\x0A\x0Binstruction\x18\x04 \x01(\x09B\x03\xE0A\x02H\x03\x88\x01\x01B\x0D\x0A\x0B_predictionB\x0C\x0A\x0A_referenceB\x0A\x0A\x08_contextB\x0E\x0A\x0C_instruction\"T\x0A QuestionAnsweringHelpfulnessSpec\x12\x1A\x0A\x0Duse_reference\x18\x01 \x01(\x08B\x03\xE0A\x01\x12\x14\x0A\x07version\x18\x02 \x01(\x05B\x03\xE0A\x01\"\x8E\x01\x0A\"QuestionAnsweringHelpfulnessResult\x12\x17\x0A\x05score\x18\x01 \x01(\x02B\x03\xE0A\x03H\x00\x88\x01\x01\x12\x18\x0A\x0Bexplanation\x18\x02 \x01(\x09B\x03\xE0A\x03\x12\x1C\x0A\x0Aconfidence\x18\x03 \x01(\x02B\x03\xE0A\x03H\x01\x88\x01\x01B\x08\x0A\x06_scoreB\x0D\x0A\x0B_confidence\"\xD4\x01\x0A!QuestionAnsweringCorrectnessInput\x12V\x0A\x0Bmetric_spec\x18\x01 \x01(\x0B2<.google.cloud.aiplatform.v1.QuestionAnsweringCorrectnessSpecB\x03\xE0A\x02\x12W\x0A\x08instance\x18\x02 \x01(\x0B2@.google.cloud.aiplatform.v1.QuestionAnsweringCorrectnessInstanceB\x03\xE0A\x02\"\xD4\x01\x0A\$QuestionAnsweringCorrectnessInstance\x12\x1C\x0A\x0Aprediction\x18\x01 \x01(\x09B\x03\xE0A\x02H\x00\x88\x01\x01\x12\x1B\x0A\x09reference\x18\x02 \x01(\x09B\x03\xE0A\x01H\x01\x88\x01\x01\x12\x19\x0A\x07context\x18\x03 \x01(\x09B\x03\xE0A\x01H\x02\x88\x01\x01\x12\x1D\x0A\x0Binstruction\x18\x04 \x01(\x09B\x03\xE0A\x02H\x03\x88\x01\x01B\x0D\x0A\x0B_predictionB\x0C\x0A\x0A_referenceB\x0A\x0A\x08_contextB\x0E\x0A\x0C_instruction\"T\x0A QuestionAnsweringCorrectnessSpec\x12\x1A\x0A\x0Duse_reference\x18\x01 \x01(\x08B\x03\xE0A\x01\x12\x14\x0A\x07version\x18\x02 \x01(\x05B\x03\xE0A\x01\"\x8E\x01\x0A\"QuestionAnsweringCorrectnessResult\x12\x17\x0A\x05score\x18\x01 \x01(\x02B\x03\xE0A\x03H\x00\x88\x01\x01\x12\x18\x0A\x0Bexplanation\x18\x02 \x01(\x09B\x03\xE0A\x03\x12\x1C\x0A\x0Aconfidence\x18\x03 \x01(\x02B\x03\xE0A\x03H\x01\x88\x01\x01B\x08\x0A\x06_scoreB\x0D\x0A\x0B_confidence\"\xAD\x01\x0A\x14PointwiseMetricInput\x12I\x0A\x0Bmetric_spec\x18\x01 \x01(\x0B2/.google.cloud.aiplatform.v1.PointwiseMetricSpecB\x03\xE0A\x02\x12J\x0A\x08instance\x18\x02 \x01(\x0B23.google.cloud.aiplatform.v1.PointwiseMetricInstanceB\x03\xE0A\x02\">\x0A\x17PointwiseMetricInstance\x12\x17\x0A\x0Djson_instance\x18\x01 \x01(\x09H\x00B\x0A\x0A\x08instance\"Z\x0A\x13PointwiseMetricSpec\x12(\x0A\x16metric_prompt_template\x18\x01 \x01(\x09B\x03\xE0A\x02H\x00\x88\x01\x01B\x19\x0A\x17_metric_prompt_template\"T\x0A\x15PointwiseMetricResult\x12\x17\x0A\x05score\x18\x01 \x01(\x02B\x03\xE0A\x03H\x00\x88\x01\x01\x12\x18\x0A\x0Bexplanation\x18\x02 \x01(\x09B\x03\xE0A\x03B\x08\x0A\x06_score\"\xAA\x01\x0A\x13PairwiseMetricInput\x12H\x0A\x0Bmetric_spec\x18\x01 \x01(\x0B2..google.cloud.aiplatform.v1.PairwiseMetricSpecB\x03\xE0A\x02\x12I\x0A\x08instance\x18\x02 \x01(\x0B22.google.cloud.aiplatform.v1.PairwiseMetricInstanceB\x03\xE0A\x02\"=\x0A\x16PairwiseMetricInstance\x12\x17\x0A\x0Djson_instance\x18\x01 \x01(\x09H\x00B\x0A\x0A\x08instance\"Y\x0A\x12PairwiseMetricSpec\x12(\x0A\x16metric_prompt_template\x18\x01 \x01(\x09B\x03\xE0A\x02H\x00\x88\x01\x01B\x19\x0A\x17_metric_prompt_template\"z\x0A\x14PairwiseMetricResult\x12H\x0A\x0Fpairwise_choice\x18\x01 \x01(\x0E2*.google.cloud.aiplatform.v1.PairwiseChoiceB\x03\xE0A\x03\x12\x18\x0A\x0Bexplanation\x18\x02 \x01(\x09B\x03\xE0A\x03\"\xA8\x01\x0A\x12ToolCallValidInput\x12G\x0A\x0Bmetric_spec\x18\x01 \x01(\x0B2-.google.cloud.aiplatform.v1.ToolCallValidSpecB\x03\xE0A\x02\x12I\x0A\x09instances\x18\x02 \x03(\x0B21.google.cloud.aiplatform.v1.ToolCallValidInstanceB\x03\xE0A\x02\"\x13\x0A\x11ToolCallValidSpec\"o\x0A\x15ToolCallValidInstance\x12\x1C\x0A\x0Aprediction\x18\x01 \x01(\x09B\x03\xE0A\x02H\x00\x88\x01\x01\x12\x1B\x0A\x09reference\x18\x02 \x01(\x09B\x03\xE0A\x02H\x01\x88\x01\x01B\x0D\x0A\x0B_predictionB\x0C\x0A\x0A_reference\"x\x0A\x14ToolCallValidResults\x12`\x0A\x1Dtool_call_valid_metric_values\x18\x01 \x03(\x0B24.google.cloud.aiplatform.v1.ToolCallValidMetricValueB\x03\xE0A\x03\"=\x0A\x18ToolCallValidMetricValue\x12\x17\x0A\x05score\x18\x01 \x01(\x02B\x03\xE0A\x03H\x00\x88\x01\x01B\x08\x0A\x06_score\"\xA8\x01\x0A\x12ToolNameMatchInput\x12G\x0A\x0Bmetric_spec\x18\x01 \x01(\x0B2-.google.cloud.aiplatform.v1.ToolNameMatchSpecB\x03\xE0A\x02\x12I\x0A\x09instances\x18\x02 \x03(\x0B21.google.cloud.aiplatform.v1.ToolNameMatchInstanceB\x03\xE0A\x02\"\x13\x0A\x11ToolNameMatchSpec\"o\x0A\x15ToolNameMatchInstance\x12\x1C\x0A\x0Aprediction\x18\x01 \x01(\x09B\x03\xE0A\x02H\x00\x88\x01\x01\x12\x1B\x0A\x09reference\x18\x02 \x01(\x09B\x03\xE0A\x02H\x01\x88\x01\x01B\x0D\x0A\x0B_predictionB\x0C\x0A\x0A_reference\"x\x0A\x14ToolNameMatchResults\x12`\x0A\x1Dtool_name_match_metric_values\x18\x01 \x03(\x0B24.google.cloud.aiplatform.v1.ToolNameMatchMetricValueB\x03\xE0A\x03\"=\x0A\x18ToolNameMatchMetricValue\x12\x17\x0A\x05score\x18\x01 \x01(\x02B\x03\xE0A\x03H\x00\x88\x01\x01B\x08\x0A\x06_score\"\xC0\x01\x0A\x1AToolParameterKeyMatchInput\x12O\x0A\x0Bmetric_spec\x18\x01 \x01(\x0B25.google.cloud.aiplatform.v1.ToolParameterKeyMatchSpecB\x03\xE0A\x02\x12Q\x0A\x09instances\x18\x02 \x03(\x0B29.google.cloud.aiplatform.v1.ToolParameterKeyMatchInstanceB\x03\xE0A\x02\"\x1B\x0A\x19ToolParameterKeyMatchSpec\"w\x0A\x1DToolParameterKeyMatchInstance\x12\x1C\x0A\x0Aprediction\x18\x01 \x01(\x09B\x03\xE0A\x02H\x00\x88\x01\x01\x12\x1B\x0A\x09reference\x18\x02 \x01(\x09B\x03\xE0A\x02H\x01\x88\x01\x01B\x0D\x0A\x0B_predictionB\x0C\x0A\x0A_reference\"\x91\x01\x0A\x1CToolParameterKeyMatchResults\x12q\x0A&tool_parameter_key_match_metric_values\x18\x01 \x03(\x0B2<.google.cloud.aiplatform.v1.ToolParameterKeyMatchMetricValueB\x03\xE0A\x03\"E\x0A ToolParameterKeyMatchMetricValue\x12\x17\x0A\x05score\x18\x01 \x01(\x02B\x03\xE0A\x03H\x00\x88\x01\x01B\x08\x0A\x06_score\"\xBD\x01\x0A\x19ToolParameterKVMatchInput\x12N\x0A\x0Bmetric_spec\x18\x01 \x01(\x0B24.google.cloud.aiplatform.v1.ToolParameterKVMatchSpecB\x03\xE0A\x02\x12P\x0A\x09instances\x18\x02 \x03(\x0B28.google.cloud.aiplatform.v1.ToolParameterKVMatchInstanceB\x03\xE0A\x02\"@\x0A\x18ToolParameterKVMatchSpec\x12\$\x0A\x17use_strict_string_match\x18\x01 \x01(\x08B\x03\xE0A\x01\"v\x0A\x1CToolParameterKVMatchInstance\x12\x1C\x0A\x0Aprediction\x18\x01 \x01(\x09B\x03\xE0A\x02H\x00\x88\x01\x01\x12\x1B\x0A\x09reference\x18\x02 \x01(\x09B\x03\xE0A\x02H\x01\x88\x01\x01B\x0D\x0A\x0B_predictionB\x0C\x0A\x0A_reference\"\x8E\x01\x0A\x1BToolParameterKVMatchResults\x12o\x0A%tool_parameter_kv_match_metric_values\x18\x01 \x03(\x0B2;.google.cloud.aiplatform.v1.ToolParameterKVMatchMetricValueB\x03\xE0A\x03\"D\x0A\x1FToolParameterKVMatchMetricValue\x12\x17\x0A\x05score\x18\x01 \x01(\x02B\x03\xE0A\x03H\x00\x88\x01\x01B\x08\x0A\x06_score\"\x8F\x01\x0A\x0ACometInput\x12?\x0A\x0Bmetric_spec\x18\x01 \x01(\x0B2%.google.cloud.aiplatform.v1.CometSpecB\x03\xE0A\x02\x12@\x0A\x08instance\x18\x02 \x01(\x0B2).google.cloud.aiplatform.v1.CometInstanceB\x03\xE0A\x02\"\xE7\x01\x0A\x09CometSpec\x12M\x0A\x07version\x18\x01 \x01(\x0E22.google.cloud.aiplatform.v1.CometSpec.CometVersionB\x03\xE0A\x02H\x00\x88\x01\x01\x12\x1C\x0A\x0Fsource_language\x18\x02 \x01(\x09B\x03\xE0A\x01\x12\x1C\x0A\x0Ftarget_language\x18\x03 \x01(\x09B\x03\xE0A\x01\"C\x0A\x0CCometVersion\x12\x1D\x0A\x19COMET_VERSION_UNSPECIFIED\x10\x00\x12\x14\x0A\x10COMET_22_SRC_REF\x10\x02B\x0A\x0A\x08_version\"\x8C\x01\x0A\x0DCometInstance\x12\x1C\x0A\x0Aprediction\x18\x01 \x01(\x09B\x03\xE0A\x02H\x00\x88\x01\x01\x12\x1B\x0A\x09reference\x18\x02 \x01(\x09B\x03\xE0A\x01H\x01\x88\x01\x01\x12\x18\x0A\x06source\x18\x03 \x01(\x09B\x03\xE0A\x01H\x02\x88\x01\x01B\x0D\x0A\x0B_predictionB\x0C\x0A\x0A_referenceB\x09\x0A\x07_source\"0\x0A\x0BCometResult\x12\x17\x0A\x05score\x18\x01 \x01(\x02B\x03\xE0A\x03H\x00\x88\x01\x01B\x08\x0A\x06_score\"\x95\x01\x0A\x0CMetricxInput\x12A\x0A\x0Bmetric_spec\x18\x01 \x01(\x0B2'.google.cloud.aiplatform.v1.MetricxSpecB\x03\xE0A\x02\x12B\x0A\x08instance\x18\x02 \x01(\x0B2+.google.cloud.aiplatform.v1.MetricxInstanceB\x03\xE0A\x02\"\x9B\x02\x0A\x0BMetricxSpec\x12Q\x0A\x07version\x18\x01 \x01(\x0E26.google.cloud.aiplatform.v1.MetricxSpec.MetricxVersionB\x03\xE0A\x02H\x00\x88\x01\x01\x12\x1C\x0A\x0Fsource_language\x18\x02 \x01(\x09B\x03\xE0A\x01\x12\x1C\x0A\x0Ftarget_language\x18\x03 \x01(\x09B\x03\xE0A\x01\"q\x0A\x0EMetricxVersion\x12\x1F\x0A\x1BMETRICX_VERSION_UNSPECIFIED\x10\x00\x12\x12\x0A\x0EMETRICX_24_REF\x10\x01\x12\x12\x0A\x0EMETRICX_24_SRC\x10\x02\x12\x16\x0A\x12METRICX_24_SRC_REF\x10\x03B\x0A\x0A\x08_version\"\x8E\x01\x0A\x0FMetricxInstance\x12\x1C\x0A\x0Aprediction\x18\x01 \x01(\x09B\x03\xE0A\x02H\x00\x88\x01\x01\x12\x1B\x0A\x09reference\x18\x02 \x01(\x09B\x03\xE0A\x01H\x01\x88\x01\x01\x12\x18\x0A\x06source\x18\x03 \x01(\x09B\x03\xE0A\x01H\x02\x88\x01\x01B\x0D\x0A\x0B_predictionB\x0C\x0A\x0A_referenceB\x09\x0A\x07_source\"2\x0A\x0DMetricxResult\x12\x17\x0A\x05score\x18\x01 \x01(\x02B\x03\xE0A\x03H\x00\x88\x01\x01B\x08\x0A\x06_score*W\x0A\x0EPairwiseChoice\x12\x1F\x0A\x1BPAIRWISE_CHOICE_UNSPECIFIED\x10\x00\x12\x0C\x0A\x08BASELINE\x10\x01\x12\x0D\x0A\x09CANDIDATE\x10\x02\x12\x07\x0A\x03TIE\x10\x032\xA9\x02\x0A\x11EvaluationService\x12\xC4\x01\x0A\x11EvaluateInstances\x124.google.cloud.aiplatform.v1.EvaluateInstancesRequest\x1A5.google.cloud.aiplatform.v1.EvaluateInstancesResponse\"B\x82\xD3\xE4\x93\x02<\"7/v1/{location=projects/*/locations/*}:evaluateInstances:\x01*\x1AM\xCAA\x19aiplatform.googleapis.com\xD2A.https://www.googleapis.com/auth/cloud-platformB\xD4\x01\x0A\x1Ecom.google.cloud.aiplatform.v1B\x16EvaluationServiceProtoP\x01Z>cloud.google.com/go/aiplatform/apiv1/aiplatformpb;aiplatformpb\xAA\x02\x1AGoogle.Cloud.AIPlatform.V1\xCA\x02\x1AGoogle\\Cloud\\AIPlatform\\V1\xEA\x02\x1DGoogle::Cloud::AIPlatform::V1b\x06proto3" + , true); + + static::$is_initialized = true; + } +} + 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 000000000000..2165f612379c --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/Event.php @@ -0,0 +1,27 @@ +internalAddGeneratedFile( + "\x0A\xEE\x05\x0A&google/cloud/aiplatform/v1/event.proto\x12\x1Agoogle.cloud.aiplatform.v1\x1A\x19google/api/resource.proto\x1A\x1Fgoogle/protobuf/timestamp.proto\"\x98\x03\x0A\x05Event\x12<\x0A\x08artifact\x18\x01 \x01(\x09B*\xE0A\x02\xFAA\$\x0A\"aiplatform.googleapis.com/Artifact\x12>\x0A\x09execution\x18\x02 \x01(\x09B+\xE0A\x03\xFAA%\x0A#aiplatform.googleapis.com/Execution\x123\x0A\x0Aevent_time\x18\x03 \x01(\x0B2\x1A.google.protobuf.TimestampB\x03\xE0A\x03\x129\x0A\x04type\x18\x04 \x01(\x0E2&.google.cloud.aiplatform.v1.Event.TypeB\x03\xE0A\x02\x12=\x0A\x06labels\x18\x05 \x03(\x0B2-.google.cloud.aiplatform.v1.Event.LabelsEntry\x1A-\x0A\x0BLabelsEntry\x12\x0B\x0A\x03key\x18\x01 \x01(\x09\x12\x0D\x0A\x05value\x18\x02 \x01(\x09:\x028\x01\"3\x0A\x04Type\x12\x14\x0A\x10TYPE_UNSPECIFIED\x10\x00\x12\x09\x0A\x05INPUT\x10\x01\x12\x0A\x0A\x06OUTPUT\x10\x02B\xC8\x01\x0A\x1Ecom.google.cloud.aiplatform.v1B\x0AEventProtoP\x01Z>cloud.google.com/go/aiplatform/apiv1/aiplatformpb;aiplatformpb\xAA\x02\x1AGoogle.Cloud.AIPlatform.V1\xCA\x02\x1AGoogle\\Cloud\\AIPlatform\\V1\xEA\x02\x1DGoogle::Cloud::AIPlatform::V1b\x06proto3" + , true); + + static::$is_initialized = true; + } +} + 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 000000000000..b0f870c65e11 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/Execution.php @@ -0,0 +1,28 @@ +internalAddGeneratedFile( + "\x0A\xBD\x08\x0A*google/cloud/aiplatform/v1/execution.proto\x12\x1Agoogle.cloud.aiplatform.v1\x1A\x19google/api/resource.proto\x1A\x1Cgoogle/protobuf/struct.proto\x1A\x1Fgoogle/protobuf/timestamp.proto\"\xC1\x05\x0A\x09Execution\x12\x11\x0A\x04name\x18\x01 \x01(\x09B\x03\xE0A\x03\x12\x14\x0A\x0Cdisplay_name\x18\x02 \x01(\x09\x12:\x0A\x05state\x18\x06 \x01(\x0E2+.google.cloud.aiplatform.v1.Execution.State\x12\x0C\x0A\x04etag\x18\x09 \x01(\x09\x12A\x0A\x06labels\x18\x0A \x03(\x0B21.google.cloud.aiplatform.v1.Execution.LabelsEntry\x124\x0A\x0Bcreate_time\x18\x0B \x01(\x0B2\x1A.google.protobuf.TimestampB\x03\xE0A\x03\x124\x0A\x0Bupdate_time\x18\x0C \x01(\x0B2\x1A.google.protobuf.TimestampB\x03\xE0A\x03\x12\x14\x0A\x0Cschema_title\x18\x0D \x01(\x09\x12\x16\x0A\x0Eschema_version\x18\x0E \x01(\x09\x12)\x0A\x08metadata\x18\x0F \x01(\x0B2\x17.google.protobuf.Struct\x12\x13\x0A\x0Bdescription\x18\x10 \x01(\x09\x1A-\x0A\x0BLabelsEntry\x12\x0B\x0A\x03key\x18\x01 \x01(\x09\x12\x0D\x0A\x05value\x18\x02 \x01(\x09:\x028\x01\"i\x0A\x05State\x12\x15\x0A\x11STATE_UNSPECIFIED\x10\x00\x12\x07\x0A\x03NEW\x10\x01\x12\x0B\x0A\x07RUNNING\x10\x02\x12\x0C\x0A\x08COMPLETE\x10\x03\x12\x0A\x0A\x06FAILED\x10\x04\x12\x0A\x0A\x06CACHED\x10\x05\x12\x0D\x0A\x09CANCELLED\x10\x06:\x89\x01\xEAA\x85\x01\x0A#aiplatform.googleapis.com/Execution\x12^projects/{project}/locations/{location}/metadataStores/{metadata_store}/executions/{execution}B\xCC\x01\x0A\x1Ecom.google.cloud.aiplatform.v1B\x0EExecutionProtoP\x01Z>cloud.google.com/go/aiplatform/apiv1/aiplatformpb;aiplatformpb\xAA\x02\x1AGoogle.Cloud.AIPlatform.V1\xCA\x02\x1AGoogle\\Cloud\\AIPlatform\\V1\xEA\x02\x1DGoogle::Cloud::AIPlatform::V1b\x06proto3" + , true); + + static::$is_initialized = true; + } +} + 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 000000000000..be5de048c7d9 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/Explanation.php @@ -0,0 +1,28 @@ +internalAddGeneratedFile( + "\x0A\xBD \x0A,google/cloud/aiplatform/v1/explanation.proto\x12\x1Agoogle.cloud.aiplatform.v1\x1A5google/cloud/aiplatform/v1/explanation_metadata.proto\x1A#google/cloud/aiplatform/v1/io.proto\x1A\x1Cgoogle/protobuf/struct.proto\"\x8F\x01\x0A\x0BExplanation\x12B\x0A\x0Cattributions\x18\x01 \x03(\x0B2'.google.cloud.aiplatform.v1.AttributionB\x03\xE0A\x03\x12<\x0A\x09neighbors\x18\x02 \x03(\x0B2\$.google.cloud.aiplatform.v1.NeighborB\x03\xE0A\x03\"[\x0A\x10ModelExplanation\x12G\x0A\x11mean_attributions\x18\x01 \x03(\x0B2'.google.cloud.aiplatform.v1.AttributionB\x03\xE0A\x03\"\x89\x02\x0A\x0BAttribution\x12\"\x0A\x15baseline_output_value\x18\x01 \x01(\x01B\x03\xE0A\x03\x12\"\x0A\x15instance_output_value\x18\x02 \x01(\x01B\x03\xE0A\x03\x129\x0A\x14feature_attributions\x18\x03 \x01(\x0B2\x16.google.protobuf.ValueB\x03\xE0A\x03\x12\x19\x0A\x0Coutput_index\x18\x04 \x03(\x05B\x03\xE0A\x03\x12 \x0A\x13output_display_name\x18\x05 \x01(\x09B\x03\xE0A\x03\x12 \x0A\x13approximation_error\x18\x06 \x01(\x01B\x03\xE0A\x03\x12\x18\x0A\x0Boutput_name\x18\x07 \x01(\x09B\x03\xE0A\x03\"D\x0A\x08Neighbor\x12\x18\x0A\x0Bneighbor_id\x18\x01 \x01(\x09B\x03\xE0A\x03\x12\x1E\x0A\x11neighbor_distance\x18\x02 \x01(\x01B\x03\xE0A\x03\"\xA5\x01\x0A\x0FExplanationSpec\x12J\x0A\x0Aparameters\x18\x01 \x01(\x0B21.google.cloud.aiplatform.v1.ExplanationParametersB\x03\xE0A\x02\x12F\x0A\x08metadata\x18\x02 \x01(\x0B2/.google.cloud.aiplatform.v1.ExplanationMetadataB\x03\xE0A\x01\"\xAD\x03\x0A\x15ExplanationParameters\x12\\\x0A\x1Bsampled_shapley_attribution\x18\x01 \x01(\x0B25.google.cloud.aiplatform.v1.SampledShapleyAttributionH\x00\x12f\x0A integrated_gradients_attribution\x18\x02 \x01(\x0B2:.google.cloud.aiplatform.v1.IntegratedGradientsAttributionH\x00\x12G\x0A\x10xrai_attribution\x18\x03 \x01(\x0B2+.google.cloud.aiplatform.v1.XraiAttributionH\x00\x128\x0A\x08examples\x18\x07 \x01(\x0B2\$.google.cloud.aiplatform.v1.ExamplesH\x00\x12\x0D\x0A\x05top_k\x18\x04 \x01(\x05\x122\x0A\x0Eoutput_indices\x18\x05 \x01(\x0B2\x1A.google.protobuf.ListValueB\x08\x0A\x06method\"4\x0A\x19SampledShapleyAttribution\x12\x17\x0A\x0Apath_count\x18\x01 \x01(\x05B\x03\xE0A\x02\"\xD1\x01\x0A\x1EIntegratedGradientsAttribution\x12\x17\x0A\x0Astep_count\x18\x01 \x01(\x05B\x03\xE0A\x02\x12H\x0A\x12smooth_grad_config\x18\x02 \x01(\x0B2,.google.cloud.aiplatform.v1.SmoothGradConfig\x12L\x0A\x14blur_baseline_config\x18\x03 \x01(\x0B2..google.cloud.aiplatform.v1.BlurBaselineConfig\"\xC2\x01\x0A\x0FXraiAttribution\x12\x17\x0A\x0Astep_count\x18\x01 \x01(\x05B\x03\xE0A\x02\x12H\x0A\x12smooth_grad_config\x18\x02 \x01(\x0B2,.google.cloud.aiplatform.v1.SmoothGradConfig\x12L\x0A\x14blur_baseline_config\x18\x03 \x01(\x0B2..google.cloud.aiplatform.v1.BlurBaselineConfig\"\xA9\x01\x0A\x10SmoothGradConfig\x12\x15\x0A\x0Bnoise_sigma\x18\x01 \x01(\x02H\x00\x12L\x0A\x13feature_noise_sigma\x18\x02 \x01(\x0B2-.google.cloud.aiplatform.v1.FeatureNoiseSigmaH\x00\x12\x1A\x0A\x12noisy_sample_count\x18\x03 \x01(\x05B\x14\x0A\x12GradientNoiseSigma\"\xA1\x01\x0A\x11FeatureNoiseSigma\x12W\x0A\x0Bnoise_sigma\x18\x01 \x03(\x0B2B.google.cloud.aiplatform.v1.FeatureNoiseSigma.NoiseSigmaForFeature\x1A3\x0A\x14NoiseSigmaForFeature\x12\x0C\x0A\x04name\x18\x01 \x01(\x09\x12\x0D\x0A\x05sigma\x18\x02 \x01(\x02\",\x0A\x12BlurBaselineConfig\x12\x16\x0A\x0Emax_blur_sigma\x18\x01 \x01(\x02\"\xE2\x03\x0A\x08Examples\x12S\x0A\x12example_gcs_source\x18\x05 \x01(\x0B25.google.cloud.aiplatform.v1.Examples.ExampleGcsSourceH\x00\x12@\x0A\x1Enearest_neighbor_search_config\x18\x02 \x01(\x0B2\x16.google.protobuf.ValueH\x01\x126\x0A\x07presets\x18\x04 \x01(\x0B2#.google.cloud.aiplatform.v1.PresetsH\x01\x12\x16\x0A\x0Eneighbor_count\x18\x03 \x01(\x05\x1A\xDA\x01\x0A\x10ExampleGcsSource\x12U\x0A\x0Bdata_format\x18\x01 \x01(\x0E2@.google.cloud.aiplatform.v1.Examples.ExampleGcsSource.DataFormat\x129\x0A\x0Agcs_source\x18\x02 \x01(\x0B2%.google.cloud.aiplatform.v1.GcsSource\"4\x0A\x0ADataFormat\x12\x1B\x0A\x17DATA_FORMAT_UNSPECIFIED\x10\x00\x12\x09\x0A\x05JSONL\x10\x01B\x08\x0A\x06sourceB\x08\x0A\x06config\"\xFA\x01\x0A\x07Presets\x12=\x0A\x05query\x18\x01 \x01(\x0E2).google.cloud.aiplatform.v1.Presets.QueryH\x00\x88\x01\x01\x12>\x0A\x08modality\x18\x02 \x01(\x0E2,.google.cloud.aiplatform.v1.Presets.Modality\"\x1E\x0A\x05Query\x12\x0B\x0A\x07PRECISE\x10\x00\x12\x08\x0A\x04FAST\x10\x01\"F\x0A\x08Modality\x12\x18\x0A\x14MODALITY_UNSPECIFIED\x10\x00\x12\x09\x0A\x05IMAGE\x10\x01\x12\x08\x0A\x04TEXT\x10\x02\x12\x0B\x0A\x07TABULAR\x10\x03B\x08\x0A\x06_query\"\xF4\x01\x0A\x17ExplanationSpecOverride\x12E\x0A\x0Aparameters\x18\x01 \x01(\x0B21.google.cloud.aiplatform.v1.ExplanationParameters\x12I\x0A\x08metadata\x18\x02 \x01(\x0B27.google.cloud.aiplatform.v1.ExplanationMetadataOverride\x12G\x0A\x11examples_override\x18\x03 \x01(\x0B2,.google.cloud.aiplatform.v1.ExamplesOverride\"\xBF\x02\x0A\x1BExplanationMetadataOverride\x12X\x0A\x06inputs\x18\x01 \x03(\x0B2C.google.cloud.aiplatform.v1.ExplanationMetadataOverride.InputsEntryB\x03\xE0A\x02\x1AH\x0A\x15InputMetadataOverride\x12/\x0A\x0Finput_baselines\x18\x01 \x03(\x0B2\x16.google.protobuf.Value\x1A|\x0A\x0BInputsEntry\x12\x0B\x0A\x03key\x18\x01 \x01(\x09\x12\\\x0A\x05value\x18\x02 \x01(\x0B2M.google.cloud.aiplatform.v1.ExplanationMetadataOverride.InputMetadataOverride:\x028\x01\"\xC6\x02\x0A\x10ExamplesOverride\x12\x16\x0A\x0Eneighbor_count\x18\x01 \x01(\x05\x12\x16\x0A\x0Ecrowding_count\x18\x02 \x01(\x05\x12O\x0A\x0Crestrictions\x18\x03 \x03(\x0B29.google.cloud.aiplatform.v1.ExamplesRestrictionsNamespace\x12\x19\x0A\x11return_embeddings\x18\x04 \x01(\x08\x12L\x0A\x0Bdata_format\x18\x05 \x01(\x0E27.google.cloud.aiplatform.v1.ExamplesOverride.DataFormat\"H\x0A\x0ADataFormat\x12\x1B\x0A\x17DATA_FORMAT_UNSPECIFIED\x10\x00\x12\x0D\x0A\x09INSTANCES\x10\x01\x12\x0E\x0A\x0AEMBEDDINGS\x10\x02\"T\x0A\x1DExamplesRestrictionsNamespace\x12\x16\x0A\x0Enamespace_name\x18\x01 \x01(\x09\x12\x0D\x0A\x05allow\x18\x02 \x03(\x09\x12\x0C\x0A\x04deny\x18\x03 \x03(\x09B\xCE\x01\x0A\x1Ecom.google.cloud.aiplatform.v1B\x10ExplanationProtoP\x01Z>cloud.google.com/go/aiplatform/apiv1/aiplatformpb;aiplatformpb\xAA\x02\x1AGoogle.Cloud.AIPlatform.V1\xCA\x02\x1AGoogle\\Cloud\\AIPlatform\\V1\xEA\x02\x1DGoogle::Cloud::AIPlatform::V1b\x06proto3" + , true); + + static::$is_initialized = true; + } +} + 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 000000000000..d6756e0a649c --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/ExplanationMetadata.php @@ -0,0 +1,26 @@ +internalAddGeneratedFile( + "\x0A\xA4\x15\x0A5google/cloud/aiplatform/v1/explanation_metadata.proto\x12\x1Agoogle.cloud.aiplatform.v1\x1A\x1Cgoogle/protobuf/struct.proto\"\xCF\x12\x0A\x13ExplanationMetadata\x12P\x0A\x06inputs\x18\x01 \x03(\x0B2;.google.cloud.aiplatform.v1.ExplanationMetadata.InputsEntryB\x03\xE0A\x02\x12R\x0A\x07outputs\x18\x02 \x03(\x0B2<.google.cloud.aiplatform.v1.ExplanationMetadata.OutputsEntryB\x03\xE0A\x02\x12'\x0A\x1Ffeature_attributions_schema_uri\x18\x03 \x01(\x09\x12\x1B\x0A\x13latent_space_source\x18\x05 \x01(\x09\x1A\xC4\x0D\x0A\x0DInputMetadata\x12/\x0A\x0Finput_baselines\x18\x01 \x03(\x0B2\x16.google.protobuf.Value\x12\x19\x0A\x11input_tensor_name\x18\x02 \x01(\x09\x12X\x0A\x08encoding\x18\x03 \x01(\x0E2F.google.cloud.aiplatform.v1.ExplanationMetadata.InputMetadata.Encoding\x12\x10\x0A\x08modality\x18\x04 \x01(\x09\x12n\x0A\x14feature_value_domain\x18\x05 \x01(\x0B2P.google.cloud.aiplatform.v1.ExplanationMetadata.InputMetadata.FeatureValueDomain\x12\x1B\x0A\x13indices_tensor_name\x18\x06 \x01(\x09\x12\x1F\x0A\x17dense_shape_tensor_name\x18\x07 \x01(\x09\x12\x1D\x0A\x15index_feature_mapping\x18\x08 \x03(\x09\x12\x1B\x0A\x13encoded_tensor_name\x18\x09 \x01(\x09\x121\x0A\x11encoded_baselines\x18\x0A \x03(\x0B2\x16.google.protobuf.Value\x12b\x0A\x0Dvisualization\x18\x0B \x01(\x0B2K.google.cloud.aiplatform.v1.ExplanationMetadata.InputMetadata.Visualization\x12\x12\x0A\x0Agroup_name\x18\x0C \x01(\x09\x1Aj\x0A\x12FeatureValueDomain\x12\x11\x0A\x09min_value\x18\x01 \x01(\x02\x12\x11\x0A\x09max_value\x18\x02 \x01(\x02\x12\x15\x0A\x0Doriginal_mean\x18\x03 \x01(\x02\x12\x17\x0A\x0Foriginal_stddev\x18\x04 \x01(\x02\x1A\xD6\x06\x0A\x0DVisualization\x12^\x0A\x04type\x18\x01 \x01(\x0E2P.google.cloud.aiplatform.v1.ExplanationMetadata.InputMetadata.Visualization.Type\x12f\x0A\x08polarity\x18\x02 \x01(\x0E2T.google.cloud.aiplatform.v1.ExplanationMetadata.InputMetadata.Visualization.Polarity\x12g\x0A\x09color_map\x18\x03 \x01(\x0E2T.google.cloud.aiplatform.v1.ExplanationMetadata.InputMetadata.Visualization.ColorMap\x12\x1F\x0A\x17clip_percent_upperbound\x18\x04 \x01(\x02\x12\x1F\x0A\x17clip_percent_lowerbound\x18\x05 \x01(\x02\x12m\x0A\x0Coverlay_type\x18\x06 \x01(\x0E2W.google.cloud.aiplatform.v1.ExplanationMetadata.InputMetadata.Visualization.OverlayType\"6\x0A\x04Type\x12\x14\x0A\x10TYPE_UNSPECIFIED\x10\x00\x12\x0A\x0A\x06PIXELS\x10\x01\x12\x0C\x0A\x08OUTLINES\x10\x02\"J\x0A\x08Polarity\x12\x18\x0A\x14POLARITY_UNSPECIFIED\x10\x00\x12\x0C\x0A\x08POSITIVE\x10\x01\x12\x0C\x0A\x08NEGATIVE\x10\x02\x12\x08\x0A\x04BOTH\x10\x03\"{\x0A\x08ColorMap\x12\x19\x0A\x15COLOR_MAP_UNSPECIFIED\x10\x00\x12\x0E\x0A\x0APINK_GREEN\x10\x01\x12\x0B\x0A\x07VIRIDIS\x10\x02\x12\x07\x0A\x03RED\x10\x03\x12\x09\x0A\x05GREEN\x10\x04\x12\x0D\x0A\x09RED_GREEN\x10\x06\x12\x14\x0A\x10PINK_WHITE_GREEN\x10\x05\"b\x0A\x0BOverlayType\x12\x1C\x0A\x18OVERLAY_TYPE_UNSPECIFIED\x10\x00\x12\x08\x0A\x04NONE\x10\x01\x12\x0C\x0A\x08ORIGINAL\x10\x02\x12\x0D\x0A\x09GRAYSCALE\x10\x03\x12\x0E\x0A\x0AMASK_BLACK\x10\x04\"\xA0\x01\x0A\x08Encoding\x12\x18\x0A\x14ENCODING_UNSPECIFIED\x10\x00\x12\x0C\x0A\x08IDENTITY\x10\x01\x12\x13\x0A\x0FBAG_OF_FEATURES\x10\x02\x12\x1A\x0A\x16BAG_OF_FEATURES_SPARSE\x10\x03\x12\x0D\x0A\x09INDICATOR\x10\x04\x12\x16\x0A\x12COMBINED_EMBEDDING\x10\x05\x12\x14\x0A\x10CONCAT_EMBEDDING\x10\x06\x1A\xA6\x01\x0A\x0EOutputMetadata\x12<\x0A\x1Aindex_display_name_mapping\x18\x01 \x01(\x0B2\x16.google.protobuf.ValueH\x00\x12\"\x0A\x18display_name_mapping_key\x18\x02 \x01(\x09H\x00\x12\x1A\x0A\x12output_tensor_name\x18\x03 \x01(\x09B\x16\x0A\x14display_name_mapping\x1Al\x0A\x0BInputsEntry\x12\x0B\x0A\x03key\x18\x01 \x01(\x09\x12L\x0A\x05value\x18\x02 \x01(\x0B2=.google.cloud.aiplatform.v1.ExplanationMetadata.InputMetadata:\x028\x01\x1An\x0A\x0COutputsEntry\x12\x0B\x0A\x03key\x18\x01 \x01(\x09\x12M\x0A\x05value\x18\x02 \x01(\x0B2>.google.cloud.aiplatform.v1.ExplanationMetadata.OutputMetadata:\x028\x01B\xD6\x01\x0A\x1Ecom.google.cloud.aiplatform.v1B\x18ExplanationMetadataProtoP\x01Z>cloud.google.com/go/aiplatform/apiv1/aiplatformpb;aiplatformpb\xAA\x02\x1AGoogle.Cloud.AIPlatform.V1\xCA\x02\x1AGoogle\\Cloud\\AIPlatform\\V1\xEA\x02\x1DGoogle::Cloud::AIPlatform::V1b\x06proto3" + , true); + + static::$is_initialized = true; + } +} + 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 000000000000..d6051750d4a6 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/Feature.php @@ -0,0 +1,28 @@ +internalAddGeneratedFile( + "\x0A\xA1\x0D\x0A(google/cloud/aiplatform/v1/feature.proto\x12\x1Agoogle.cloud.aiplatform.v1\x1A\x19google/api/resource.proto\x1A9google/cloud/aiplatform/v1/feature_monitoring_stats.proto\x1A\x1Fgoogle/protobuf/timestamp.proto\"\x8C\x0A\x0A\x07Feature\x12\x11\x0A\x04name\x18\x01 \x01(\x09B\x03\xE0A\x05\x12\x13\x0A\x0Bdescription\x18\x02 \x01(\x09\x12F\x0A\x0Avalue_type\x18\x03 \x01(\x0E2-.google.cloud.aiplatform.v1.Feature.ValueTypeB\x03\xE0A\x05\x124\x0A\x0Bcreate_time\x18\x04 \x01(\x0B2\x1A.google.protobuf.TimestampB\x03\xE0A\x03\x124\x0A\x0Bupdate_time\x18\x05 \x01(\x0B2\x1A.google.protobuf.TimestampB\x03\xE0A\x03\x12D\x0A\x06labels\x18\x06 \x03(\x0B2/.google.cloud.aiplatform.v1.Feature.LabelsEntryB\x03\xE0A\x01\x12\x0C\x0A\x04etag\x18\x07 \x01(\x09\x12\x1F\x0A\x12disable_monitoring\x18\x0C \x01(\x08B\x03\xE0A\x01\x12c\x0A\x1Amonitoring_stats_anomalies\x18\x0B \x03(\x0B2:.google.cloud.aiplatform.v1.Feature.MonitoringStatsAnomalyB\x03\xE0A\x03\x12\x1B\x0A\x13version_column_name\x18j \x01(\x09\x12\x18\x0A\x10point_of_contact\x18k \x01(\x09\x1A\xA7\x02\x0A\x16MonitoringStatsAnomaly\x12\\\x0A\x09objective\x18\x01 \x01(\x0E2D.google.cloud.aiplatform.v1.Feature.MonitoringStatsAnomaly.ObjectiveB\x03\xE0A\x03\x12S\x0A\x15feature_stats_anomaly\x18\x02 \x01(\x0B2/.google.cloud.aiplatform.v1.FeatureStatsAnomalyB\x03\xE0A\x03\"Z\x0A\x09Objective\x12\x19\x0A\x15OBJECTIVE_UNSPECIFIED\x10\x00\x12\x1B\x0A\x17IMPORT_FEATURE_ANALYSIS\x10\x01\x12\x15\x0A\x11SNAPSHOT_ANALYSIS\x10\x02\x1A-\x0A\x0BLabelsEntry\x12\x0B\x0A\x03key\x18\x01 \x01(\x09\x12\x0D\x0A\x05value\x18\x02 \x01(\x09:\x028\x01\"\xB0\x01\x0A\x09ValueType\x12\x1A\x0A\x16VALUE_TYPE_UNSPECIFIED\x10\x00\x12\x08\x0A\x04BOOL\x10\x01\x12\x0E\x0A\x0ABOOL_ARRAY\x10\x02\x12\x0A\x0A\x06DOUBLE\x10\x03\x12\x10\x0A\x0CDOUBLE_ARRAY\x10\x04\x12\x09\x0A\x05INT64\x10\x09\x12\x0F\x0A\x0BINT64_ARRAY\x10\x0A\x12\x0A\x0A\x06STRING\x10\x0B\x12\x10\x0A\x0CSTRING_ARRAY\x10\x0C\x12\x09\x0A\x05BYTES\x10\x0D\x12\x0A\x0A\x06STRUCT\x10\x0E:\x87\x02\xEAA\x83\x02\x0A!aiplatform.googleapis.com/Feature\x12qprojects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entity_type}/features/{feature}\x12Xprojects/{project}/locations/{location}/featureGroups/{feature_group}/features/{feature}*\x08features2\x07featureB\xCA\x01\x0A\x1Ecom.google.cloud.aiplatform.v1B\x0CFeatureProtoP\x01Z>cloud.google.com/go/aiplatform/apiv1/aiplatformpb;aiplatformpb\xAA\x02\x1AGoogle.Cloud.AIPlatform.V1\xCA\x02\x1AGoogle\\Cloud\\AIPlatform\\V1\xEA\x02\x1DGoogle::Cloud::AIPlatform::V1b\x06proto3" + , true); + + static::$is_initialized = true; + } +} + 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 000000000000..020a6ba072b6 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/FeatureGroup.php @@ -0,0 +1,28 @@ +internalAddGeneratedFile( + "\x0A\xD8\x09\x0A.google/cloud/aiplatform/v1/feature_group.proto\x12\x1Agoogle.cloud.aiplatform.v1\x1A\x19google/api/resource.proto\x1A#google/cloud/aiplatform/v1/io.proto\x1A\x1Fgoogle/protobuf/timestamp.proto\"\xCE\x06\x0A\x0CFeatureGroup\x12F\x0A\x09big_query\x18\x07 \x01(\x0B21.google.cloud.aiplatform.v1.FeatureGroup.BigQueryH\x00\x12\x11\x0A\x04name\x18\x01 \x01(\x09B\x03\xE0A\x08\x124\x0A\x0Bcreate_time\x18\x02 \x01(\x0B2\x1A.google.protobuf.TimestampB\x03\xE0A\x03\x124\x0A\x0Bupdate_time\x18\x03 \x01(\x0B2\x1A.google.protobuf.TimestampB\x03\xE0A\x03\x12\x11\x0A\x04etag\x18\x04 \x01(\x09B\x03\xE0A\x01\x12I\x0A\x06labels\x18\x05 \x03(\x0B24.google.cloud.aiplatform.v1.FeatureGroup.LabelsEntryB\x03\xE0A\x01\x12\x18\x0A\x0Bdescription\x18\x06 \x01(\x09B\x03\xE0A\x01\x1A\xB2\x02\x0A\x08BigQuery\x12L\x0A\x10big_query_source\x18\x01 \x01(\x0B2*.google.cloud.aiplatform.v1.BigQuerySourceB\x06\xE0A\x05\xE0A\x02\x12\x1E\x0A\x11entity_id_columns\x18\x02 \x03(\x09B\x03\xE0A\x01\x12\x1F\x0A\x12static_data_source\x18\x03 \x01(\x08B\x03\xE0A\x01\x12V\x0A\x0Btime_series\x18\x04 \x01(\x0B2<.google.cloud.aiplatform.v1.FeatureGroup.BigQuery.TimeSeriesB\x03\xE0A\x01\x12\x12\x0A\x05dense\x18\x05 \x01(\x08B\x03\xE0A\x01\x1A+\x0A\x0ATimeSeries\x12\x1D\x0A\x10timestamp_column\x18\x01 \x01(\x09B\x03\xE0A\x01\x1A-\x0A\x0BLabelsEntry\x12\x0B\x0A\x03key\x18\x01 \x01(\x09\x12\x0D\x0A\x05value\x18\x02 \x01(\x09:\x028\x01:\x90\x01\xEAA\x8C\x01\x0A&aiplatform.googleapis.com/FeatureGroup\x12Eprojects/{project}/locations/{location}/featureGroups/{feature_group}*\x0DfeatureGroups2\x0CfeatureGroupB\x08\x0A\x06sourceB\xCF\x01\x0A\x1Ecom.google.cloud.aiplatform.v1B\x11FeatureGroupProtoP\x01Z>cloud.google.com/go/aiplatform/apiv1/aiplatformpb;aiplatformpb\xAA\x02\x1AGoogle.Cloud.AIPlatform.V1\xCA\x02\x1AGoogle\\Cloud\\AIPlatform\\V1\xEA\x02\x1DGoogle::Cloud::AIPlatform::V1b\x06proto3" + , true); + + static::$is_initialized = true; + } +} + 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..ca74737a4bce --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/FeatureMonitoringStats.php @@ -0,0 +1,25 @@ +internalAddGeneratedFile( + "\x0A\xAD\x04\x0A9google/cloud/aiplatform/v1/feature_monitoring_stats.proto\x12\x1Agoogle.cloud.aiplatform.v1\"\xEF\x01\x0A\x13FeatureStatsAnomaly\x12\x0D\x0A\x05score\x18\x01 \x01(\x01\x12\x11\x0A\x09stats_uri\x18\x03 \x01(\x09\x12\x13\x0A\x0Banomaly_uri\x18\x04 \x01(\x09\x12\x1E\x0A\x16distribution_deviation\x18\x05 \x01(\x01\x12#\x0A\x1Banomaly_detection_threshold\x18\x09 \x01(\x01\x12.\x0A\x0Astart_time\x18\x07 \x01(\x0B2\x1A.google.protobuf.Timestamp\x12,\x0A\x08end_time\x18\x08 \x01(\x0B2\x1A.google.protobuf.TimestampB\xD9\x01\x0A\x1Ecom.google.cloud.aiplatform.v1B\x1BFeatureMonitoringStatsProtoP\x01Z>cloud.google.com/go/aiplatform/apiv1/aiplatformpb;aiplatformpb\xAA\x02\x1AGoogle.Cloud.AIPlatform.V1\xCA\x02\x1AGoogle\\Cloud\\AIPlatform\\V1\xEA\x02\x1DGoogle::Cloud::AIPlatform::V1b\x06proto3" + , 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 000000000000..b80aac92b9ab --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/FeatureOnlineStore.php @@ -0,0 +1,29 @@ +internalAddGeneratedFile( + "\x0A\xE1\x10\x0A5google/cloud/aiplatform/v1/feature_online_store.proto\x12\x1Agoogle.cloud.aiplatform.v1\x1A\x19google/api/resource.proto\x1A0google/cloud/aiplatform/v1/encryption_spec.proto\x1A3google/cloud/aiplatform/v1/service_networking.proto\x1A\x1Fgoogle/protobuf/timestamp.proto\"\x88\x0D\x0A\x12FeatureOnlineStore\x12K\x0A\x08bigtable\x18\x08 \x01(\x0B27.google.cloud.aiplatform.v1.FeatureOnlineStore.BigtableH\x00\x12M\x0A\x09optimized\x18\x0C \x01(\x0B28.google.cloud.aiplatform.v1.FeatureOnlineStore.OptimizedH\x00\x12\x11\x0A\x04name\x18\x01 \x01(\x09B\x03\xE0A\x08\x124\x0A\x0Bcreate_time\x18\x03 \x01(\x0B2\x1A.google.protobuf.TimestampB\x03\xE0A\x03\x124\x0A\x0Bupdate_time\x18\x04 \x01(\x0B2\x1A.google.protobuf.TimestampB\x03\xE0A\x03\x12\x11\x0A\x04etag\x18\x05 \x01(\x09B\x03\xE0A\x01\x12O\x0A\x06labels\x18\x06 \x03(\x0B2:.google.cloud.aiplatform.v1.FeatureOnlineStore.LabelsEntryB\x03\xE0A\x01\x12H\x0A\x05state\x18\x07 \x01(\x0E24.google.cloud.aiplatform.v1.FeatureOnlineStore.StateB\x03\xE0A\x03\x12p\x0A\x1Adedicated_serving_endpoint\x18\x0A \x01(\x0B2G.google.cloud.aiplatform.v1.FeatureOnlineStore.DedicatedServingEndpointB\x03\xE0A\x01\x12H\x0A\x0Fencryption_spec\x18\x0D \x01(\x0B2*.google.cloud.aiplatform.v1.EncryptionSpecB\x03\xE0A\x01\x12\x1A\x0A\x0Dsatisfies_pzs\x18\x0F \x01(\x08B\x03\xE0A\x03\x12\x1A\x0A\x0Dsatisfies_pzi\x18\x10 \x01(\x08B\x03\xE0A\x03\x1A\xD7\x03\x0A\x08Bigtable\x12^\x0A\x0Cauto_scaling\x18\x01 \x01(\x0B2C.google.cloud.aiplatform.v1.FeatureOnlineStore.Bigtable.AutoScalingB\x03\xE0A\x02\x12*\x0A\x1Denable_direct_bigtable_access\x18\x03 \x01(\x08B\x03\xE0A\x01\x12h\x0A\x11bigtable_metadata\x18\x04 \x01(\x0B2H.google.cloud.aiplatform.v1.FeatureOnlineStore.Bigtable.BigtableMetadataB\x03\xE0A\x03\x12\x11\x0A\x04zone\x18\x05 \x01(\x09B\x03\xE0A\x01\x1Al\x0A\x0BAutoScaling\x12\x1B\x0A\x0Emin_node_count\x18\x01 \x01(\x05B\x03\xE0A\x02\x12\x1B\x0A\x0Emax_node_count\x18\x02 \x01(\x05B\x03\xE0A\x02\x12#\x0A\x16cpu_utilization_target\x18\x03 \x01(\x05B\x03\xE0A\x01\x1AT\x0A\x10BigtableMetadata\x12\x19\x0A\x11tenant_project_id\x18\x01 \x01(\x09\x12\x13\x0A\x0Binstance_id\x18\x02 \x01(\x09\x12\x10\x0A\x08table_id\x18\x03 \x01(\x09\x1A\x0B\x0A\x09Optimized\x1A\xCB\x01\x0A\x18DedicatedServingEndpoint\x12(\x0A\x1Bpublic_endpoint_domain_name\x18\x02 \x01(\x09B\x03\xE0A\x03\x12d\x0A\x1Eprivate_service_connect_config\x18\x03 \x01(\x0B27.google.cloud.aiplatform.v1.PrivateServiceConnectConfigB\x03\xE0A\x01\x12\x1F\x0A\x12service_attachment\x18\x04 \x01(\x09B\x03\xE0A\x03\x1A-\x0A\x0BLabelsEntry\x12\x0B\x0A\x03key\x18\x01 \x01(\x09\x12\x0D\x0A\x05value\x18\x02 \x01(\x09:\x028\x01\"8\x0A\x05State\x12\x15\x0A\x11STATE_UNSPECIFIED\x10\x00\x12\x0A\x0A\x06STABLE\x10\x01\x12\x0C\x0A\x08UPDATING\x10\x02:\x86\x01\xEAA\x82\x01\x0A,aiplatform.googleapis.com/FeatureOnlineStore\x12Rprojects/{project}/locations/{location}/featureOnlineStores/{feature_online_store}B\x0E\x0A\x0Cstorage_typeB\xD5\x01\x0A\x1Ecom.google.cloud.aiplatform.v1B\x17FeatureOnlineStoreProtoP\x01Z>cloud.google.com/go/aiplatform/apiv1/aiplatformpb;aiplatformpb\xAA\x02\x1AGoogle.Cloud.AIPlatform.V1\xCA\x02\x1AGoogle\\Cloud\\AIPlatform\\V1\xEA\x02\x1DGoogle::Cloud::AIPlatform::V1b\x06proto3" + , true); + + static::$is_initialized = true; + } +} + diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/FeatureOnlineStoreAdminService.php b/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/FeatureOnlineStoreAdminService.php new file mode 100644 index 000000000000..1236a6e90ea0 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/FeatureOnlineStoreAdminService.php @@ -0,0 +1,35 @@ +internalAddGeneratedFile( + "\x0A\x886\x0ACgoogle/cloud/aiplatform/v1/feature_online_store_admin_service.proto\x12\x1Agoogle.cloud.aiplatform.v1\x1A\x17google/api/client.proto\x1A\x1Fgoogle/api/field_behavior.proto\x1A\x19google/api/resource.proto\x1A5google/cloud/aiplatform/v1/feature_online_store.proto\x1A-google/cloud/aiplatform/v1/feature_view.proto\x1A2google/cloud/aiplatform/v1/feature_view_sync.proto\x1A*google/cloud/aiplatform/v1/operation.proto\x1A#google/longrunning/operations.proto\x1A\x1Bgoogle/protobuf/empty.proto\x1A google/protobuf/field_mask.proto\"\xE0\x01\x0A\x1FCreateFeatureOnlineStoreRequest\x12D\x0A\x06parent\x18\x01 \x01(\x09B4\xE0A\x02\xFAA.\x12,aiplatform.googleapis.com/FeatureOnlineStore\x12Q\x0A\x14feature_online_store\x18\x02 \x01(\x0B2..google.cloud.aiplatform.v1.FeatureOnlineStoreB\x03\xE0A\x02\x12\$\x0A\x17feature_online_store_id\x18\x03 \x01(\x09B\x03\xE0A\x02\"b\x0A\x1CGetFeatureOnlineStoreRequest\x12B\x0A\x04name\x18\x01 \x01(\x09B4\xE0A\x02\xFAA.\x0A,aiplatform.googleapis.com/FeatureOnlineStore\"\xAF\x01\x0A\x1EListFeatureOnlineStoresRequest\x12D\x0A\x06parent\x18\x01 \x01(\x09B4\xE0A\x02\xFAA.\x12,aiplatform.googleapis.com/FeatureOnlineStore\x12\x0E\x0A\x06filter\x18\x02 \x01(\x09\x12\x11\x0A\x09page_size\x18\x03 \x01(\x05\x12\x12\x0A\x0Apage_token\x18\x04 \x01(\x09\x12\x10\x0A\x08order_by\x18\x05 \x01(\x09\"\x89\x01\x0A\x1FListFeatureOnlineStoresResponse\x12M\x0A\x15feature_online_stores\x18\x01 \x03(\x0B2..google.cloud.aiplatform.v1.FeatureOnlineStore\x12\x17\x0A\x0Fnext_page_token\x18\x02 \x01(\x09\"\xA5\x01\x0A\x1FUpdateFeatureOnlineStoreRequest\x12Q\x0A\x14feature_online_store\x18\x01 \x01(\x0B2..google.cloud.aiplatform.v1.FeatureOnlineStoreB\x03\xE0A\x02\x12/\x0A\x0Bupdate_mask\x18\x02 \x01(\x0B2\x1A.google.protobuf.FieldMask\"t\x0A\x1FDeleteFeatureOnlineStoreRequest\x12B\x0A\x04name\x18\x01 \x01(\x09B4\xE0A\x02\xFAA.\x0A,aiplatform.googleapis.com/FeatureOnlineStore\x12\x0D\x0A\x05force\x18\x02 \x01(\x08\"\xE5\x01\x0A\x18CreateFeatureViewRequest\x12D\x0A\x06parent\x18\x01 \x01(\x09B4\xE0A\x02\xFAA.\x0A,aiplatform.googleapis.com/FeatureOnlineStore\x12B\x0A\x0Cfeature_view\x18\x02 \x01(\x0B2'.google.cloud.aiplatform.v1.FeatureViewB\x03\xE0A\x02\x12\x1C\x0A\x0Ffeature_view_id\x18\x03 \x01(\x09B\x03\xE0A\x02\x12!\x0A\x14run_sync_immediately\x18\x04 \x01(\x08B\x03\xE0A\x05\"T\x0A\x15GetFeatureViewRequest\x12;\x0A\x04name\x18\x01 \x01(\x09B-\xE0A\x02\xFAA'\x0A%aiplatform.googleapis.com/FeatureView\"\xA1\x01\x0A\x17ListFeatureViewsRequest\x12=\x0A\x06parent\x18\x01 \x01(\x09B-\xE0A\x02\xFAA'\x12%aiplatform.googleapis.com/FeatureView\x12\x0E\x0A\x06filter\x18\x02 \x01(\x09\x12\x11\x0A\x09page_size\x18\x03 \x01(\x05\x12\x12\x0A\x0Apage_token\x18\x04 \x01(\x09\x12\x10\x0A\x08order_by\x18\x05 \x01(\x09\"s\x0A\x18ListFeatureViewsResponse\x12>\x0A\x0Dfeature_views\x18\x01 \x03(\x0B2'.google.cloud.aiplatform.v1.FeatureView\x12\x17\x0A\x0Fnext_page_token\x18\x02 \x01(\x09\"\x8F\x01\x0A\x18UpdateFeatureViewRequest\x12B\x0A\x0Cfeature_view\x18\x01 \x01(\x0B2'.google.cloud.aiplatform.v1.FeatureViewB\x03\xE0A\x02\x12/\x0A\x0Bupdate_mask\x18\x02 \x01(\x0B2\x1A.google.protobuf.FieldMask\"W\x0A\x18DeleteFeatureViewRequest\x12;\x0A\x04name\x18\x01 \x01(\x09B-\xE0A\x02\xFAA'\x0A%aiplatform.googleapis.com/FeatureView\"{\x0A)CreateFeatureOnlineStoreOperationMetadata\x12N\x0A\x10generic_metadata\x18\x01 \x01(\x0B24.google.cloud.aiplatform.v1.GenericOperationMetadata\"{\x0A)UpdateFeatureOnlineStoreOperationMetadata\x12N\x0A\x10generic_metadata\x18\x01 \x01(\x0B24.google.cloud.aiplatform.v1.GenericOperationMetadata\"t\x0A\"CreateFeatureViewOperationMetadata\x12N\x0A\x10generic_metadata\x18\x01 \x01(\x0B24.google.cloud.aiplatform.v1.GenericOperationMetadata\"t\x0A\"UpdateFeatureViewOperationMetadata\x12N\x0A\x10generic_metadata\x18\x01 \x01(\x0B24.google.cloud.aiplatform.v1.GenericOperationMetadata\"]\x0A\x16SyncFeatureViewRequest\x12C\x0A\x0Cfeature_view\x18\x01 \x01(\x09B-\xE0A\x02\xFAA'\x0A%aiplatform.googleapis.com/FeatureView\"4\x0A\x17SyncFeatureViewResponse\x12\x19\x0A\x11feature_view_sync\x18\x01 \x01(\x09\"\\\x0A\x19GetFeatureViewSyncRequest\x12?\x0A\x04name\x18\x01 \x01(\x09B1\xE0A\x02\xFAA+\x0A)aiplatform.googleapis.com/FeatureViewSync\"\xA5\x01\x0A\x1BListFeatureViewSyncsRequest\x12=\x0A\x06parent\x18\x01 \x01(\x09B-\xE0A\x02\xFAA'\x0A%aiplatform.googleapis.com/FeatureView\x12\x0E\x0A\x06filter\x18\x02 \x01(\x09\x12\x11\x0A\x09page_size\x18\x03 \x01(\x05\x12\x12\x0A\x0Apage_token\x18\x04 \x01(\x09\x12\x10\x0A\x08order_by\x18\x05 \x01(\x09\"\x80\x01\x0A\x1CListFeatureViewSyncsResponse\x12G\x0A\x12feature_view_syncs\x18\x01 \x03(\x0B2+.google.cloud.aiplatform.v1.FeatureViewSync\x12\x17\x0A\x0Fnext_page_token\x18\x02 \x01(\x092\xD0\x1A\x0A\x1EFeatureOnlineStoreAdminService\x12\xC6\x02\x0A\x18CreateFeatureOnlineStore\x12;.google.cloud.aiplatform.v1.CreateFeatureOnlineStoreRequest\x1A\x1D.google.longrunning.Operation\"\xCD\x01\xCAA?\x0A\x12FeatureOnlineStore\x12)CreateFeatureOnlineStoreOperationMetadata\xDAA3parent,feature_online_store,feature_online_store_id\x82\xD3\xE4\x93\x02O\"7/v1/{parent=projects/*/locations/*}/featureOnlineStores:\x14feature_online_store\x12\xC9\x01\x0A\x15GetFeatureOnlineStore\x128.google.cloud.aiplatform.v1.GetFeatureOnlineStoreRequest\x1A..google.cloud.aiplatform.v1.FeatureOnlineStore\"F\xDAA\x04name\x82\xD3\xE4\x93\x029\x127/v1/{name=projects/*/locations/*/featureOnlineStores/*}\x12\xDC\x01\x0A\x17ListFeatureOnlineStores\x12:.google.cloud.aiplatform.v1.ListFeatureOnlineStoresRequest\x1A;.google.cloud.aiplatform.v1.ListFeatureOnlineStoresResponse\"H\xDAA\x06parent\x82\xD3\xE4\x93\x029\x127/v1/{parent=projects/*/locations/*}/featureOnlineStores\x12\xC8\x02\x0A\x18UpdateFeatureOnlineStore\x12;.google.cloud.aiplatform.v1.UpdateFeatureOnlineStoreRequest\x1A\x1D.google.longrunning.Operation\"\xCF\x01\xCAA?\x0A\x12FeatureOnlineStore\x12)UpdateFeatureOnlineStoreOperationMetadata\xDAA feature_online_store,update_mask\x82\xD3\xE4\x93\x02d2L/v1/{feature_online_store.name=projects/*/locations/*/featureOnlineStores/*}:\x14feature_online_store\x12\xF7\x01\x0A\x18DeleteFeatureOnlineStore\x12;.google.cloud.aiplatform.v1.DeleteFeatureOnlineStoreRequest\x1A\x1D.google.longrunning.Operation\"\x7F\xCAA0\x0A\x15google.protobuf.Empty\x12\x17DeleteOperationMetadata\xDAA\x0Aname,force\x82\xD3\xE4\x93\x029*7/v1/{name=projects/*/locations/*/featureOnlineStores/*}\x12\xA1\x02\x0A\x11CreateFeatureView\x124.google.cloud.aiplatform.v1.CreateFeatureViewRequest\x1A\x1D.google.longrunning.Operation\"\xB6\x01\xCAA1\x0A\x0BFeatureView\x12\"CreateFeatureViewOperationMetadata\xDAA#parent,feature_view,feature_view_id\x82\xD3\xE4\x93\x02V\"F/v1/{parent=projects/*/locations/*/featureOnlineStores/*}/featureViews:\x0Cfeature_view\x12\xC3\x01\x0A\x0EGetFeatureView\x121.google.cloud.aiplatform.v1.GetFeatureViewRequest\x1A'.google.cloud.aiplatform.v1.FeatureView\"U\xDAA\x04name\x82\xD3\xE4\x93\x02H\x12F/v1/{name=projects/*/locations/*/featureOnlineStores/*/featureViews/*}\x12\xD6\x01\x0A\x10ListFeatureViews\x123.google.cloud.aiplatform.v1.ListFeatureViewsRequest\x1A4.google.cloud.aiplatform.v1.ListFeatureViewsResponse\"W\xDAA\x06parent\x82\xD3\xE4\x93\x02H\x12F/v1/{parent=projects/*/locations/*/featureOnlineStores/*}/featureViews\x12\xA3\x02\x0A\x11UpdateFeatureView\x124.google.cloud.aiplatform.v1.UpdateFeatureViewRequest\x1A\x1D.google.longrunning.Operation\"\xB8\x01\xCAA1\x0A\x0BFeatureView\x12\"UpdateFeatureViewOperationMetadata\xDAA\x18feature_view,update_mask\x82\xD3\xE4\x93\x02c2S/v1/{feature_view.name=projects/*/locations/*/featureOnlineStores/*/featureViews/*}:\x0Cfeature_view\x12\xF3\x01\x0A\x11DeleteFeatureView\x124.google.cloud.aiplatform.v1.DeleteFeatureViewRequest\x1A\x1D.google.longrunning.Operation\"\x88\x01\xCAA0\x0A\x15google.protobuf.Empty\x12\x17DeleteOperationMetadata\xDAA\x04name\x82\xD3\xE4\x93\x02H*F/v1/{name=projects/*/locations/*/featureOnlineStores/*/featureViews/*}\x12\xE9\x01\x0A\x0FSyncFeatureView\x122.google.cloud.aiplatform.v1.SyncFeatureViewRequest\x1A3.google.cloud.aiplatform.v1.SyncFeatureViewResponse\"m\xDAA\x0Cfeature_view\x82\xD3\xE4\x93\x02X\"S/v1/{feature_view=projects/*/locations/*/featureOnlineStores/*/featureViews/*}:sync:\x01*\x12\xE2\x01\x0A\x12GetFeatureViewSync\x125.google.cloud.aiplatform.v1.GetFeatureViewSyncRequest\x1A+.google.cloud.aiplatform.v1.FeatureViewSync\"h\xDAA\x04name\x82\xD3\xE4\x93\x02[\x12Y/v1/{name=projects/*/locations/*/featureOnlineStores/*/featureViews/*/featureViewSyncs/*}\x12\xF5\x01\x0A\x14ListFeatureViewSyncs\x127.google.cloud.aiplatform.v1.ListFeatureViewSyncsRequest\x1A8.google.cloud.aiplatform.v1.ListFeatureViewSyncsResponse\"j\xDAA\x06parent\x82\xD3\xE4\x93\x02[\x12Y/v1/{parent=projects/*/locations/*/featureOnlineStores/*/featureViews/*}/featureViewSyncs\x1AM\xCAA\x19aiplatform.googleapis.com\xD2A.https://www.googleapis.com/auth/cloud-platformB\xE1\x01\x0A\x1Ecom.google.cloud.aiplatform.v1B#FeatureOnlineStoreAdminServiceProtoP\x01Z>cloud.google.com/go/aiplatform/apiv1/aiplatformpb;aiplatformpb\xAA\x02\x1AGoogle.Cloud.AIPlatform.V1\xCA\x02\x1AGoogle\\Cloud\\AIPlatform\\V1\xEA\x02\x1DGoogle::Cloud::AIPlatform::V1b\x06proto3" + , 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 000000000000..8a33e640523f --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/FeatureOnlineStoreService.php @@ -0,0 +1,32 @@ +internalAddGeneratedFile( + "\x0A\x8F*\x0A=google/cloud/aiplatform/v1/feature_online_store_service.proto\x12\x1Agoogle.cloud.aiplatform.v1\x1A\x17google/api/client.proto\x1A\x1Fgoogle/api/field_behavior.proto\x1A\x19google/api/resource.proto\x1A.google.cloud.aiplatform.v1.NearestNeighborQuery.NumericFilterB\x03\xE0A\x01\x122\x0A%per_crowding_attribute_neighbor_count\x18\x05 \x01(\x05B\x03\xE0A\x01\x12T\x0A\x0Aparameters\x18\x07 \x01(\x0B2;.google.cloud.aiplatform.v1.NearestNeighborQuery.ParametersB\x03\xE0A\x01\x1A\x1F\x0A\x09Embedding\x12\x12\x0A\x05value\x18\x01 \x03(\x02B\x03\xE0A\x01\x1AV\x0A\x0CStringFilter\x12\x11\x0A\x04name\x18\x01 \x01(\x09B\x03\xE0A\x02\x12\x19\x0A\x0Callow_tokens\x18\x02 \x03(\x09B\x03\xE0A\x01\x12\x18\x0A\x0Bdeny_tokens\x18\x03 \x03(\x09B\x03\xE0A\x01\x1A\xCF\x02\x0A\x0DNumericFilter\x12\x13\x0A\x09value_int\x18\x02 \x01(\x03H\x00\x12\x15\x0A\x0Bvalue_float\x18\x03 \x01(\x02H\x00\x12\x16\x0A\x0Cvalue_double\x18\x04 \x01(\x01H\x00\x12\x11\x0A\x04name\x18\x01 \x01(\x09B\x03\xE0A\x02\x12]\x0A\x02op\x18\x05 \x01(\x0E2G.google.cloud.aiplatform.v1.NearestNeighborQuery.NumericFilter.OperatorB\x03\xE0A\x01H\x01\x88\x01\x01\"x\x0A\x08Operator\x12\x18\x0A\x14OPERATOR_UNSPECIFIED\x10\x00\x12\x08\x0A\x04LESS\x10\x01\x12\x0E\x0A\x0ALESS_EQUAL\x10\x02\x12\x09\x0A\x05EQUAL\x10\x03\x12\x11\x0A\x0DGREATER_EQUAL\x10\x04\x12\x0B\x0A\x07GREATER\x10\x05\x12\x0D\x0A\x09NOT_EQUAL\x10\x06B\x07\x0A\x05ValueB\x05\x0A\x03_op\x1Ac\x0A\x0AParameters\x12,\x0A\x1Fapproximate_neighbor_candidates\x18\x01 \x01(\x05B\x03\xE0A\x01\x12'\x0A\x1Aleaf_nodes_search_fraction\x18\x02 \x01(\x01B\x03\xE0A\x01B\x0A\x0A\x08instance\"\xCA\x01\x0A\x1CSearchNearestEntitiesRequest\x12C\x0A\x0Cfeature_view\x18\x01 \x01(\x09B-\xE0A\x02\xFAA'\x0A%aiplatform.googleapis.com/FeatureView\x12D\x0A\x05query\x18\x02 \x01(\x0B20.google.cloud.aiplatform.v1.NearestNeighborQueryB\x03\xE0A\x02\x12\x1F\x0A\x12return_full_entity\x18\x03 \x01(\x08B\x03\xE0A\x01\"\xE1\x01\x0A\x10NearestNeighbors\x12H\x0A\x09neighbors\x18\x01 \x03(\x0B25.google.cloud.aiplatform.v1.NearestNeighbors.Neighbor\x1A\x82\x01\x0A\x08Neighbor\x12\x11\x0A\x09entity_id\x18\x01 \x01(\x09\x12\x10\x0A\x08distance\x18\x02 \x01(\x01\x12Q\x0A\x11entity_key_values\x18\x03 \x01(\x0B26.google.cloud.aiplatform.v1.FetchFeatureValuesResponse\"h\x0A\x1DSearchNearestEntitiesResponse\x12G\x0A\x11nearest_neighbors\x18\x01 \x01(\x0B2,.google.cloud.aiplatform.v1.NearestNeighbors\"\x8B\x04\x0A\x1DFeatureViewDirectWriteRequest\x12@\x0A\x0Cfeature_view\x18\x01 \x01(\x09B*\xFAA'\x0A%aiplatform.googleapis.com/FeatureView\x12{\x0A\x1Bdata_key_and_feature_values\x18\x02 \x03(\x0B2Q.google.cloud.aiplatform.v1.FeatureViewDirectWriteRequest.DataKeyAndFeatureValuesB\x03\xE0A\x02\x1A\xAA\x02\x0A\x17DataKeyAndFeatureValues\x12@\x0A\x08data_key\x18\x01 \x01(\x0B2..google.cloud.aiplatform.v1.FeatureViewDataKey\x12k\x0A\x08features\x18\x02 \x03(\x0B2Y.google.cloud.aiplatform.v1.FeatureViewDirectWriteRequest.DataKeyAndFeatureValues.Feature\x1A`\x0A\x07Feature\x129\x0A\x05value\x18\x03 \x01(\x0B2(.google.cloud.aiplatform.v1.FeatureValueH\x00\x12\x0C\x0A\x04name\x18\x01 \x01(\x09B\x0C\x0A\x0Adata_oneof\"\xB8\x02\x0A\x1EFeatureViewDirectWriteResponse\x12\"\x0A\x06status\x18\x01 \x01(\x0B2\x12.google.rpc.Status\x12a\x0A\x0Fwrite_responses\x18\x02 \x03(\x0B2H.google.cloud.aiplatform.v1.FeatureViewDirectWriteResponse.WriteResponse\x1A\x8E\x01\x0A\x0DWriteResponse\x12@\x0A\x08data_key\x18\x01 \x01(\x0B2..google.cloud.aiplatform.v1.FeatureViewDataKey\x12;\x0A\x17online_store_write_time\x18\x02 \x01(\x0B2\x1A.google.protobuf.Timestamp\"c\x0A\x1FGenerateFetchAccessTokenRequest\x12@\x0A\x0Cfeature_view\x18\x01 \x01(\x09B*\xFAA'\x0A%aiplatform.googleapis.com/FeatureView\"i\x0A GenerateFetchAccessTokenResponse\x12\x14\x0A\x0Caccess_token\x18\x01 \x01(\x09\x12/\x0A\x0Bexpire_time\x18\x02 \x01(\x0B2\x1A.google.protobuf.Timestamp*b\x0A\x15FeatureViewDataFormat\x12(\x0A\$FEATURE_VIEW_DATA_FORMAT_UNSPECIFIED\x10\x00\x12\x0D\x0A\x09KEY_VALUE\x10\x01\x12\x10\x0A\x0CPROTO_STRUCT\x10\x022\x81\x09\x0A\x19FeatureOnlineStoreService\x12\x8B\x02\x0A\x12FetchFeatureValues\x125.google.cloud.aiplatform.v1.FetchFeatureValuesRequest\x1A6.google.cloud.aiplatform.v1.FetchFeatureValuesResponse\"\x85\x01\xDAA\x16feature_view, data_key\x82\xD3\xE4\x93\x02f\"a/v1/{feature_view=projects/*/locations/*/featureOnlineStores/*/featureViews/*}:fetchFeatureValues:\x01*\x12\xFD\x01\x0A\x15SearchNearestEntities\x128.google.cloud.aiplatform.v1.SearchNearestEntitiesRequest\x1A9.google.cloud.aiplatform.v1.SearchNearestEntitiesResponse\"o\x82\xD3\xE4\x93\x02i\"d/v1/{feature_view=projects/*/locations/*/featureOnlineStores/*/featureViews/*}:searchNearestEntities:\x01*\x12\xFA\x01\x0A\x16FeatureViewDirectWrite\x129.google.cloud.aiplatform.v1.FeatureViewDirectWriteRequest\x1A:.google.cloud.aiplatform.v1.FeatureViewDirectWriteResponse\"e\x82\xD3\xE4\x93\x02_\"Z/v1/{feature_view=projects/*/locations/*/featureOnlineStores/*/featureViews/*}:directWrite:\x01*(\x010\x01\x12\x89\x02\x0A\x18GenerateFetchAccessToken\x12;.google.cloud.aiplatform.v1.GenerateFetchAccessTokenRequest\x1A<.google.cloud.aiplatform.v1.GenerateFetchAccessTokenResponse\"r\x82\xD3\xE4\x93\x02l\"g/v1/{feature_view=projects/*/locations/*/featureOnlineStores/*/featureViews/*}:generateFetchAccessToken:\x01*\x1AM\xCAA\x19aiplatform.googleapis.com\xD2A.https://www.googleapis.com/auth/cloud-platformB\xDC\x01\x0A\x1Ecom.google.cloud.aiplatform.v1B\x1EFeatureOnlineStoreServiceProtoP\x01Z>cloud.google.com/go/aiplatform/apiv1/aiplatformpb;aiplatformpb\xAA\x02\x1AGoogle.Cloud.AIPlatform.V1\xCA\x02\x1AGoogle\\Cloud\\AIPlatform\\V1\xEA\x02\x1DGoogle::Cloud::AIPlatform::V1b\x06proto3" + , true); + + static::$is_initialized = true; + } +} + diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/FeatureRegistryService.php b/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/FeatureRegistryService.php new file mode 100644 index 000000000000..53e43598f865 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/FeatureRegistryService.php @@ -0,0 +1,35 @@ +internalAddGeneratedFile( + "\x0A\xA9\$\x0A9google/cloud/aiplatform/v1/feature_registry_service.proto\x12\x1Agoogle.cloud.aiplatform.v1\x1A\x17google/api/client.proto\x1A\x1Fgoogle/api/field_behavior.proto\x1A\x19google/api/resource.proto\x1A(google/cloud/aiplatform/v1/feature.proto\x1A.google/cloud/aiplatform/v1/feature_group.proto\x1A5google/cloud/aiplatform/v1/featurestore_service.proto\x1A*google/cloud/aiplatform/v1/operation.proto\x1A#google/longrunning/operations.proto\x1A\x1Bgoogle/protobuf/empty.proto\x1A google/protobuf/field_mask.proto\"\xC0\x01\x0A\x19CreateFeatureGroupRequest\x12>\x0A\x06parent\x18\x01 \x01(\x09B.\xE0A\x02\xFAA(\x12&aiplatform.googleapis.com/FeatureGroup\x12D\x0A\x0Dfeature_group\x18\x02 \x01(\x0B2(.google.cloud.aiplatform.v1.FeatureGroupB\x03\xE0A\x02\x12\x1D\x0A\x10feature_group_id\x18\x03 \x01(\x09B\x03\xE0A\x02\"V\x0A\x16GetFeatureGroupRequest\x12<\x0A\x04name\x18\x01 \x01(\x09B.\xE0A\x02\xFAA(\x0A&aiplatform.googleapis.com/FeatureGroup\"\xA3\x01\x0A\x18ListFeatureGroupsRequest\x12>\x0A\x06parent\x18\x01 \x01(\x09B.\xE0A\x02\xFAA(\x12&aiplatform.googleapis.com/FeatureGroup\x12\x0E\x0A\x06filter\x18\x02 \x01(\x09\x12\x11\x0A\x09page_size\x18\x03 \x01(\x05\x12\x12\x0A\x0Apage_token\x18\x04 \x01(\x09\x12\x10\x0A\x08order_by\x18\x05 \x01(\x09\"v\x0A\x19ListFeatureGroupsResponse\x12@\x0A\x0Efeature_groups\x18\x01 \x03(\x0B2(.google.cloud.aiplatform.v1.FeatureGroup\x12\x17\x0A\x0Fnext_page_token\x18\x02 \x01(\x09\"\x92\x01\x0A\x19UpdateFeatureGroupRequest\x12D\x0A\x0Dfeature_group\x18\x01 \x01(\x0B2(.google.cloud.aiplatform.v1.FeatureGroupB\x03\xE0A\x02\x12/\x0A\x0Bupdate_mask\x18\x02 \x01(\x0B2\x1A.google.protobuf.FieldMask\"h\x0A\x19DeleteFeatureGroupRequest\x12<\x0A\x04name\x18\x01 \x01(\x09B.\xE0A\x02\xFAA(\x0A&aiplatform.googleapis.com/FeatureGroup\x12\x0D\x0A\x05force\x18\x02 \x01(\x08\"u\x0A#CreateFeatureGroupOperationMetadata\x12N\x0A\x10generic_metadata\x18\x01 \x01(\x0B24.google.cloud.aiplatform.v1.GenericOperationMetadata\"u\x0A#UpdateFeatureGroupOperationMetadata\x12N\x0A\x10generic_metadata\x18\x01 \x01(\x0B24.google.cloud.aiplatform.v1.GenericOperationMetadata\"x\x0A&CreateRegistryFeatureOperationMetadata\x12N\x0A\x10generic_metadata\x18\x01 \x01(\x0B24.google.cloud.aiplatform.v1.GenericOperationMetadata\"p\x0A\x1EUpdateFeatureOperationMetadata\x12N\x0A\x10generic_metadata\x18\x01 \x01(\x0B24.google.cloud.aiplatform.v1.GenericOperationMetadata2\xE3\x14\x0A\x16FeatureRegistryService\x12\x93\x02\x0A\x12CreateFeatureGroup\x125.google.cloud.aiplatform.v1.CreateFeatureGroupRequest\x1A\x1D.google.longrunning.Operation\"\xA6\x01\xCAA3\x0A\x0CFeatureGroup\x12#CreateFeatureGroupOperationMetadata\xDAA%parent,feature_group,feature_group_id\x82\xD3\xE4\x93\x02B\"1/v1/{parent=projects/*/locations/*}/featureGroups:\x0Dfeature_group\x12\xB1\x01\x0A\x0FGetFeatureGroup\x122.google.cloud.aiplatform.v1.GetFeatureGroupRequest\x1A(.google.cloud.aiplatform.v1.FeatureGroup\"@\xDAA\x04name\x82\xD3\xE4\x93\x023\x121/v1/{name=projects/*/locations/*/featureGroups/*}\x12\xC4\x01\x0A\x11ListFeatureGroups\x124.google.cloud.aiplatform.v1.ListFeatureGroupsRequest\x1A5.google.cloud.aiplatform.v1.ListFeatureGroupsResponse\"B\xDAA\x06parent\x82\xD3\xE4\x93\x023\x121/v1/{parent=projects/*/locations/*}/featureGroups\x12\x95\x02\x0A\x12UpdateFeatureGroup\x125.google.cloud.aiplatform.v1.UpdateFeatureGroupRequest\x1A\x1D.google.longrunning.Operation\"\xA8\x01\xCAA3\x0A\x0CFeatureGroup\x12#UpdateFeatureGroupOperationMetadata\xDAA\x19feature_group,update_mask\x82\xD3\xE4\x93\x02P2?/v1/{feature_group.name=projects/*/locations/*/featureGroups/*}:\x0Dfeature_group\x12\xE5\x01\x0A\x12DeleteFeatureGroup\x125.google.cloud.aiplatform.v1.DeleteFeatureGroupRequest\x1A\x1D.google.longrunning.Operation\"y\xCAA0\x0A\x15google.protobuf.Empty\x12\x17DeleteOperationMetadata\xDAA\x0Aname,force\x82\xD3\xE4\x93\x023*1/v1/{name=projects/*/locations/*/featureGroups/*}\x12\xF8\x01\x0A\x0DCreateFeature\x120.google.cloud.aiplatform.v1.CreateFeatureRequest\x1A\x1D.google.longrunning.Operation\"\x95\x01\xCAA)\x0A\x07Feature\x12\x1ECreateFeatureOperationMetadata\xDAA\x19parent,feature,feature_id\x82\xD3\xE4\x93\x02G\"\x12\x12*cloud.google.com/go/aiplatform/apiv1/aiplatformpb;aiplatformpb\xAA\x02\x1AGoogle.Cloud.AIPlatform.V1\xCA\x02\x1AGoogle\\Cloud\\AIPlatform\\V1\xEA\x02\x1DGoogle::Cloud::AIPlatform::V1b\x06proto3" + , 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..007af7b434e1 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/FeatureSelector.php @@ -0,0 +1,25 @@ +internalAddGeneratedFile( + "\x0A\x9E\x03\x0A1google/cloud/aiplatform/v1/feature_selector.proto\x12\x1Agoogle.cloud.aiplatform.v1\"\x1D\x0A\x09IdMatcher\x12\x10\x0A\x03ids\x18\x01 \x03(\x09B\x03\xE0A\x02\"Q\x0A\x0FFeatureSelector\x12>\x0A\x0Aid_matcher\x18\x01 \x01(\x0B2%.google.cloud.aiplatform.v1.IdMatcherB\x03\xE0A\x02B\xD2\x01\x0A\x1Ecom.google.cloud.aiplatform.v1B\x14FeatureSelectorProtoP\x01Z>cloud.google.com/go/aiplatform/apiv1/aiplatformpb;aiplatformpb\xAA\x02\x1AGoogle.Cloud.AIPlatform.V1\xCA\x02\x1AGoogle\\Cloud\\AIPlatform\\V1\xEA\x02\x1DGoogle::Cloud::AIPlatform::V1b\x06proto3" + , 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 000000000000..4494dd1f6263 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/FeatureView.php @@ -0,0 +1,28 @@ +internalAddGeneratedFile( + "\x0A\xAE\x18\x0A-google/cloud/aiplatform/v1/feature_view.proto\x12\x1Agoogle.cloud.aiplatform.v1\x1A\x19google/api/resource.proto\x1A2google/cloud/aiplatform/v1/machine_resources.proto\x1A\x1Fgoogle/protobuf/timestamp.proto\"\x97\x15\x0A\x0BFeatureView\x12W\x0A\x10big_query_source\x18\x06 \x01(\x0B26.google.cloud.aiplatform.v1.FeatureView.BigQuerySourceB\x03\xE0A\x01H\x00\x12e\x0A\x17feature_registry_source\x18\x09 \x01(\x0B2=.google.cloud.aiplatform.v1.FeatureView.FeatureRegistrySourceB\x03\xE0A\x01H\x00\x12Y\x0A\x11vertex_rag_source\x18\x12 \x01(\x0B27.google.cloud.aiplatform.v1.FeatureView.VertexRagSourceB\x03\xE0A\x01H\x00\x12\x11\x0A\x04name\x18\x01 \x01(\x09B\x03\xE0A\x08\x124\x0A\x0Bcreate_time\x18\x02 \x01(\x0B2\x1A.google.protobuf.TimestampB\x03\xE0A\x03\x124\x0A\x0Bupdate_time\x18\x03 \x01(\x0B2\x1A.google.protobuf.TimestampB\x03\xE0A\x03\x12\x11\x0A\x04etag\x18\x04 \x01(\x09B\x03\xE0A\x01\x12H\x0A\x06labels\x18\x05 \x03(\x0B23.google.cloud.aiplatform.v1.FeatureView.LabelsEntryB\x03\xE0A\x01\x12G\x0A\x0Bsync_config\x18\x07 \x01(\x0B22.google.cloud.aiplatform.v1.FeatureView.SyncConfig\x12N\x0A\x0Cindex_config\x18\x0F \x01(\x0B23.google.cloud.aiplatform.v1.FeatureView.IndexConfigB\x03\xE0A\x01\x12V\x0A\x10optimized_config\x18\x10 \x01(\x0B27.google.cloud.aiplatform.v1.FeatureView.OptimizedConfigB\x03\xE0A\x01\x12Y\x0A\x12service_agent_type\x18\x0E \x01(\x0E28.google.cloud.aiplatform.v1.FeatureView.ServiceAgentTypeB\x03\xE0A\x01\x12\"\x0A\x15service_account_email\x18\x0D \x01(\x09B\x03\xE0A\x03\x12\x1A\x0A\x0Dsatisfies_pzs\x18\x13 \x01(\x08B\x03\xE0A\x03\x12\x1A\x0A\x0Dsatisfies_pzi\x18\x14 \x01(\x08B\x03\xE0A\x03\x12X\x0A\x11bigtable_metadata\x18\x16 \x01(\x0B28.google.cloud.aiplatform.v1.FeatureView.BigtableMetadataB\x03\xE0A\x03\x1AB\x0A\x0EBigQuerySource\x12\x10\x0A\x03uri\x18\x01 \x01(\x09B\x03\xE0A\x02\x12\x1E\x0A\x11entity_id_columns\x18\x02 \x03(\x09B\x03\xE0A\x02\x1A3\x0A\x0ASyncConfig\x12\x0C\x0A\x04cron\x18\x01 \x01(\x09\x12\x17\x0A\x0Acontinuous\x18\x02 \x01(\x08B\x03\xE0A\x01\x1A\xE7\x05\x0A\x0BIndexConfig\x12_\x0A\x0Etree_ah_config\x18\x06 \x01(\x0B2@.google.cloud.aiplatform.v1.FeatureView.IndexConfig.TreeAHConfigB\x03\xE0A\x01H\x00\x12g\x0A\x12brute_force_config\x18\x07 \x01(\x0B2D.google.cloud.aiplatform.v1.FeatureView.IndexConfig.BruteForceConfigB\x03\xE0A\x01H\x00\x12\x1D\x0A\x10embedding_column\x18\x01 \x01(\x09B\x03\xE0A\x01\x12\x1B\x0A\x0Efilter_columns\x18\x02 \x03(\x09B\x03\xE0A\x01\x12\x1C\x0A\x0Fcrowding_column\x18\x03 \x01(\x09B\x03\xE0A\x01\x12%\x0A\x13embedding_dimension\x18\x04 \x01(\x05B\x03\xE0A\x01H\x01\x88\x01\x01\x12k\x0A\x15distance_measure_type\x18\x05 \x01(\x0E2G.google.cloud.aiplatform.v1.FeatureView.IndexConfig.DistanceMeasureTypeB\x03\xE0A\x01\x1A\x12\x0A\x10BruteForceConfig\x1AY\x0A\x0CTreeAHConfig\x12+\x0A\x19leaf_node_embedding_count\x18\x01 \x01(\x03B\x03\xE0A\x01H\x00\x88\x01\x01B\x1C\x0A\x1A_leaf_node_embedding_count\"\x84\x01\x0A\x13DistanceMeasureType\x12%\x0A!DISTANCE_MEASURE_TYPE_UNSPECIFIED\x10\x00\x12\x17\x0A\x13SQUARED_L2_DISTANCE\x10\x01\x12\x13\x0A\x0FCOSINE_DISTANCE\x10\x02\x12\x18\x0A\x14DOT_PRODUCT_DISTANCE\x10\x03B\x12\x0A\x10algorithm_configB\x16\x0A\x14_embedding_dimension\x1A\xFE\x01\x0A\x15FeatureRegistrySource\x12g\x0A\x0Efeature_groups\x18\x01 \x03(\x0B2J.google.cloud.aiplatform.v1.FeatureView.FeatureRegistrySource.FeatureGroupB\x03\xE0A\x02\x12 \x0A\x0Eproject_number\x18\x02 \x01(\x03B\x03\xE0A\x01H\x00\x88\x01\x01\x1AG\x0A\x0CFeatureGroup\x12\x1D\x0A\x10feature_group_id\x18\x01 \x01(\x09B\x03\xE0A\x02\x12\x18\x0A\x0Bfeature_ids\x18\x02 \x03(\x09B\x03\xE0A\x02B\x11\x0A\x0F_project_number\x1A?\x0A\x0FVertexRagSource\x12\x10\x0A\x03uri\x18\x01 \x01(\x09B\x03\xE0A\x02\x12\x1A\x0A\x0Drag_corpus_id\x18\x02 \x01(\x03B\x03\xE0A\x01\x1Ac\x0A\x0FOptimizedConfig\x12P\x0A\x13automatic_resources\x18\x07 \x01(\x0B2..google.cloud.aiplatform.v1.AutomaticResourcesB\x03\xE0A\x01\x1A-\x0A\x0BLabelsEntry\x12\x0B\x0A\x03key\x18\x01 \x01(\x09\x12\x0D\x0A\x05value\x18\x02 \x01(\x09:\x028\x01\x1A1\x0A\x10BigtableMetadata\x12\x1D\x0A\x10read_app_profile\x18\x01 \x01(\x09B\x03\xE0A\x03\"{\x0A\x10ServiceAgentType\x12\"\x0A\x1ESERVICE_AGENT_TYPE_UNSPECIFIED\x10\x00\x12\x1E\x0A\x1ASERVICE_AGENT_TYPE_PROJECT\x10\x01\x12#\x0A\x1FSERVICE_AGENT_TYPE_FEATURE_VIEW\x10\x02:\x9B\x01\xEAA\x97\x01\x0A%aiplatform.googleapis.com/FeatureView\x12nprojects/{project}/locations/{location}/featureOnlineStores/{feature_online_store}/featureViews/{feature_view}B\x08\x0A\x06sourceB\xCE\x01\x0A\x1Ecom.google.cloud.aiplatform.v1B\x10FeatureViewProtoP\x01Z>cloud.google.com/go/aiplatform/apiv1/aiplatformpb;aiplatformpb\xAA\x02\x1AGoogle.Cloud.AIPlatform.V1\xCA\x02\x1AGoogle\\Cloud\\AIPlatform\\V1\xEA\x02\x1DGoogle::Cloud::AIPlatform::V1b\x06proto3" + , true); + + static::$is_initialized = true; + } +} + 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..4e55591b9635 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/FeatureViewSync.php @@ -0,0 +1,29 @@ +internalAddGeneratedFile( + "\x0A\xA6\x08\x0A2google/cloud/aiplatform/v1/feature_view_sync.proto\x12\x1Agoogle.cloud.aiplatform.v1\x1A\x19google/api/resource.proto\x1A\x1Fgoogle/protobuf/timestamp.proto\x1A\x17google/rpc/status.proto\x1A\x1Agoogle/type/interval.proto\"\x85\x05\x0A\x0FFeatureViewSync\x12\x11\x0A\x04name\x18\x01 \x01(\x09B\x03\xE0A\x08\x124\x0A\x0Bcreate_time\x18\x02 \x01(\x0B2\x1A.google.protobuf.TimestampB\x03\xE0A\x03\x12,\x0A\x08run_time\x18\x05 \x01(\x0B2\x15.google.type.IntervalB\x03\xE0A\x03\x12-\x0A\x0Cfinal_status\x18\x04 \x01(\x0B2\x12.google.rpc.StatusB\x03\xE0A\x03\x12R\x0A\x0Csync_summary\x18\x06 \x01(\x0B27.google.cloud.aiplatform.v1.FeatureViewSync.SyncSummaryB\x03\xE0A\x03\x12\x1A\x0A\x0Dsatisfies_pzs\x18\x07 \x01(\x08B\x03\xE0A\x03\x12\x1A\x0A\x0Dsatisfies_pzi\x18\x08 \x01(\x08B\x03\xE0A\x03\x1Az\x0A\x0BSyncSummary\x12\x17\x0A\x0Arow_synced\x18\x01 \x01(\x03B\x03\xE0A\x03\x12\x17\x0A\x0Atotal_slot\x18\x02 \x01(\x03B\x03\xE0A\x03\x129\x0A\x15system_watermark_time\x18\x05 \x01(\x0B2\x1A.google.protobuf.Timestamp:\xC3\x01\xEAA\xBF\x01\x0A)aiplatform.googleapis.com/FeatureViewSync\x12\x91\x01projects/{project}/locations/{location}/featureOnlineStores/{feature_online_store}/featureViews/{feature_view}/featureViewSyncs/feature_view_syncB\xD2\x01\x0A\x1Ecom.google.cloud.aiplatform.v1B\x14FeatureViewSyncProtoP\x01Z>cloud.google.com/go/aiplatform/apiv1/aiplatformpb;aiplatformpb\xAA\x02\x1AGoogle.Cloud.AIPlatform.V1\xCA\x02\x1AGoogle\\Cloud\\AIPlatform\\V1\xEA\x02\x1DGoogle::Cloud::Aiplatform::V1b\x06proto3" + , 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 000000000000..ad1c172b69f6 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/Featurestore.php @@ -0,0 +1,28 @@ +internalAddGeneratedFile( + "\x0A\x99\x0B\x0A-google/cloud/aiplatform/v1/featurestore.proto\x12\x1Agoogle.cloud.aiplatform.v1\x1A\x19google/api/resource.proto\x1A0google/cloud/aiplatform/v1/encryption_spec.proto\x1A\x1Fgoogle/protobuf/timestamp.proto\"\x83\x08\x0A\x0CFeaturestore\x12\x11\x0A\x04name\x18\x01 \x01(\x09B\x03\xE0A\x03\x124\x0A\x0Bcreate_time\x18\x03 \x01(\x0B2\x1A.google.protobuf.TimestampB\x03\xE0A\x03\x124\x0A\x0Bupdate_time\x18\x04 \x01(\x0B2\x1A.google.protobuf.TimestampB\x03\xE0A\x03\x12\x11\x0A\x04etag\x18\x05 \x01(\x09B\x03\xE0A\x01\x12I\x0A\x06labels\x18\x06 \x03(\x0B24.google.cloud.aiplatform.v1.Featurestore.LabelsEntryB\x03\xE0A\x01\x12`\x0A\x15online_serving_config\x18\x07 \x01(\x0B2<.google.cloud.aiplatform.v1.Featurestore.OnlineServingConfigB\x03\xE0A\x01\x12B\x0A\x05state\x18\x08 \x01(\x0E2..google.cloud.aiplatform.v1.Featurestore.StateB\x03\xE0A\x03\x12\$\x0A\x17online_storage_ttl_days\x18\x0D \x01(\x05B\x03\xE0A\x01\x12H\x0A\x0Fencryption_spec\x18\x0A \x01(\x0B2*.google.cloud.aiplatform.v1.EncryptionSpecB\x03\xE0A\x01\x12\x1A\x0A\x0Dsatisfies_pzs\x18\x0E \x01(\x08B\x03\xE0A\x03\x12\x1A\x0A\x0Dsatisfies_pzi\x18\x0F \x01(\x08B\x03\xE0A\x03\x1A\xEB\x01\x0A\x13OnlineServingConfig\x12\x18\x0A\x10fixed_node_count\x18\x02 \x01(\x05\x12U\x0A\x07scaling\x18\x04 \x01(\x0B2D.google.cloud.aiplatform.v1.Featurestore.OnlineServingConfig.Scaling\x1Ac\x0A\x07Scaling\x12\x1B\x0A\x0Emin_node_count\x18\x01 \x01(\x05B\x03\xE0A\x02\x12\x16\x0A\x0Emax_node_count\x18\x02 \x01(\x05\x12#\x0A\x16cpu_utilization_target\x18\x03 \x01(\x05B\x03\xE0A\x01\x1A-\x0A\x0BLabelsEntry\x12\x0B\x0A\x03key\x18\x01 \x01(\x09\x12\x0D\x0A\x05value\x18\x02 \x01(\x09:\x028\x01\"8\x0A\x05State\x12\x15\x0A\x11STATE_UNSPECIFIED\x10\x00\x12\x0A\x0A\x06STABLE\x10\x01\x12\x0C\x0A\x08UPDATING\x10\x02:q\xEAAn\x0A&aiplatform.googleapis.com/Featurestore\x12Dprojects/{project}/locations/{location}/featurestores/{featurestore}B\xCF\x01\x0A\x1Ecom.google.cloud.aiplatform.v1B\x11FeaturestoreProtoP\x01Z>cloud.google.com/go/aiplatform/apiv1/aiplatformpb;aiplatformpb\xAA\x02\x1AGoogle.Cloud.AIPlatform.V1\xCA\x02\x1AGoogle\\Cloud\\AIPlatform\\V1\xEA\x02\x1DGoogle::Cloud::AIPlatform::V1b\x06proto3" + , true); + + static::$is_initialized = true; + } +} + diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/FeaturestoreMonitoring.php b/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/FeaturestoreMonitoring.php new file mode 100644 index 000000000000..7494e98e8be5 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/FeaturestoreMonitoring.php @@ -0,0 +1,24 @@ +internalAddGeneratedFile( + "\x0A\xE6\x0A\x0A8google/cloud/aiplatform/v1/featurestore_monitoring.proto\x12\x1Agoogle.cloud.aiplatform.v1\"\xA9\x08\x0A\x1CFeaturestoreMonitoringConfig\x12d\x0A\x11snapshot_analysis\x18\x01 \x01(\x0B2I.google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.SnapshotAnalysis\x12q\x0A\x18import_features_analysis\x18\x02 \x01(\x0B2O.google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.ImportFeaturesAnalysis\x12l\x0A\x1Anumerical_threshold_config\x18\x03 \x01(\x0B2H.google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.ThresholdConfig\x12n\x0A\x1Ccategorical_threshold_config\x18\x04 \x01(\x0B2H.google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.ThresholdConfig\x1A^\x0A\x10SnapshotAnalysis\x12\x10\x0A\x08disabled\x18\x01 \x01(\x08\x12 \x0A\x18monitoring_interval_days\x18\x03 \x01(\x05\x12\x16\x0A\x0Estaleness_days\x18\x04 \x01(\x05\x1A\xC0\x03\x0A\x16ImportFeaturesAnalysis\x12d\x0A\x05state\x18\x01 \x01(\x0E2U.google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.ImportFeaturesAnalysis.State\x12|\x0A\x1Aanomaly_detection_baseline\x18\x02 \x01(\x0E2X.google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.ImportFeaturesAnalysis.Baseline\"F\x0A\x05State\x12\x15\x0A\x11STATE_UNSPECIFIED\x10\x00\x12\x0B\x0A\x07DEFAULT\x10\x01\x12\x0B\x0A\x07ENABLED\x10\x02\x12\x0C\x0A\x08DISABLED\x10\x03\"z\x0A\x08Baseline\x12\x18\x0A\x14BASELINE_UNSPECIFIED\x10\x00\x12\x10\x0A\x0CLATEST_STATS\x10\x01\x12\x1E\x0A\x1AMOST_RECENT_SNAPSHOT_STATS\x10\x02\x12\"\x0A\x1EPREVIOUS_IMPORT_FEATURES_STATS\x10\x03\x1A/\x0A\x0FThresholdConfig\x12\x0F\x0A\x05value\x18\x01 \x01(\x01H\x00B\x0B\x0A\x09thresholdB\xD9\x01\x0A\x1Ecom.google.cloud.aiplatform.v1B\x1BFeaturestoreMonitoringProtoP\x01Z>cloud.google.com/go/aiplatform/apiv1/aiplatformpb;aiplatformpb\xAA\x02\x1AGoogle.Cloud.AIPlatform.V1\xCA\x02\x1AGoogle\\Cloud\\AIPlatform\\V1\xEA\x02\x1DGoogle::Cloud::AIPlatform::V1b\x06proto3" + , true); + + static::$is_initialized = true; + } +} + 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 000000000000..0209119d4106 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/FeaturestoreOnlineService.php @@ -0,0 +1,31 @@ +internalAddGeneratedFile( + "\x0A\xE5\x1D\x0A\x0A\x0Bentity_type\x18\x01 \x01(\x09B)\xFAA&\x0A\$aiplatform.googleapis.com/EntityType\x12d\x0A\x13feature_descriptors\x18\x02 \x03(\x0B2G.google.cloud.aiplatform.v1.ReadFeatureValuesResponse.FeatureDescriptor\x1A\x80\x02\x0A\x0AEntityView\x12\x11\x0A\x09entity_id\x18\x01 \x01(\x09\x12S\x0A\x04data\x18\x02 \x03(\x0B2E.google.cloud.aiplatform.v1.ReadFeatureValuesResponse.EntityView.Data\x1A\x89\x01\x0A\x04Data\x129\x0A\x05value\x18\x01 \x01(\x0B2(.google.cloud.aiplatform.v1.FeatureValueH\x00\x12>\x0A\x06values\x18\x02 \x01(\x0B2,.google.cloud.aiplatform.v1.FeatureValueListH\x00B\x06\x0A\x04data\"\xCB\x01\x0A!StreamingReadFeatureValuesRequest\x12A\x0A\x0Bentity_type\x18\x01 \x01(\x09B,\xE0A\x02\xFAA&\x0A\$aiplatform.googleapis.com/EntityType\x12\x17\x0A\x0Aentity_ids\x18\x02 \x03(\x09B\x03\xE0A\x02\x12J\x0A\x10feature_selector\x18\x03 \x01(\x0B2+.google.cloud.aiplatform.v1.FeatureSelectorB\x03\xE0A\x02\"\xE6\x04\x0A\x0CFeatureValue\x12\x14\x0A\x0Abool_value\x18\x01 \x01(\x08H\x00\x12\x16\x0A\x0Cdouble_value\x18\x02 \x01(\x01H\x00\x12\x15\x0A\x0Bint64_value\x18\x05 \x01(\x03H\x00\x12\x16\x0A\x0Cstring_value\x18\x06 \x01(\x09H\x00\x12A\x0A\x10bool_array_value\x18\x07 \x01(\x0B2%.google.cloud.aiplatform.v1.BoolArrayH\x00\x12E\x0A\x12double_array_value\x18\x08 \x01(\x0B2'.google.cloud.aiplatform.v1.DoubleArrayH\x00\x12C\x0A\x11int64_array_value\x18\x0B \x01(\x0B2&.google.cloud.aiplatform.v1.Int64ArrayH\x00\x12E\x0A\x12string_array_value\x18\x0C \x01(\x0B2'.google.cloud.aiplatform.v1.StringArrayH\x00\x12\x15\x0A\x0Bbytes_value\x18\x0D \x01(\x0CH\x00\x12?\x0A\x0Cstruct_value\x18\x0F \x01(\x0B2'.google.cloud.aiplatform.v1.StructValueH\x00\x12C\x0A\x08metadata\x18\x0E \x01(\x0B21.google.cloud.aiplatform.v1.FeatureValue.Metadata\x1A=\x0A\x08Metadata\x121\x0A\x0Dgenerate_time\x18\x01 \x01(\x0B2\x1A.google.protobuf.TimestampB\x07\x0A\x05value\"K\x0A\x0BStructValue\x12<\x0A\x06values\x18\x01 \x03(\x0B2,.google.cloud.aiplatform.v1.StructFieldValue\"Y\x0A\x10StructFieldValue\x12\x0C\x0A\x04name\x18\x01 \x01(\x09\x127\x0A\x05value\x18\x02 \x01(\x0B2(.google.cloud.aiplatform.v1.FeatureValue\"L\x0A\x10FeatureValueList\x128\x0A\x06values\x18\x01 \x03(\x0B2(.google.cloud.aiplatform.v1.FeatureValue2\xFD\x06\x0A FeaturestoreOnlineServingService\x12\xF3\x01\x0A\x11ReadFeatureValues\x124.google.cloud.aiplatform.v1.ReadFeatureValuesRequest\x1A5.google.cloud.aiplatform.v1.ReadFeatureValuesResponse\"q\xDAA\x0Bentity_type\x82\xD3\xE4\x93\x02]\"X/v1/{entity_type=projects/*/locations/*/featurestores/*/entityTypes/*}:readFeatureValues:\x01*\x12\x90\x02\x0A\x1AStreamingReadFeatureValues\x12=.google.cloud.aiplatform.v1.StreamingReadFeatureValuesRequest\x1A5.google.cloud.aiplatform.v1.ReadFeatureValuesResponse\"z\xDAA\x0Bentity_type\x82\xD3\xE4\x93\x02f\"a/v1/{entity_type=projects/*/locations/*/featurestores/*/entityTypes/*}:streamingReadFeatureValues:\x01*0\x01\x12\x80\x02\x0A\x12WriteFeatureValues\x125.google.cloud.aiplatform.v1.WriteFeatureValuesRequest\x1A6.google.cloud.aiplatform.v1.WriteFeatureValuesResponse\"{\xDAA\x14entity_type,payloads\x82\xD3\xE4\x93\x02^\"Y/v1/{entity_type=projects/*/locations/*/featurestores/*/entityTypes/*}:writeFeatureValues:\x01*\x1AM\xCAA\x19aiplatform.googleapis.com\xD2A.https://www.googleapis.com/auth/cloud-platformB\xDC\x01\x0A\x1Ecom.google.cloud.aiplatform.v1B\x1EFeaturestoreOnlineServiceProtoP\x01Z>cloud.google.com/go/aiplatform/apiv1/aiplatformpb;aiplatformpb\xAA\x02\x1AGoogle.Cloud.AIPlatform.V1\xCA\x02\x1AGoogle\\Cloud\\AIPlatform\\V1\xEA\x02\x1DGoogle::Cloud::AIPlatform::V1b\x06proto3" + , true); + + static::$is_initialized = true; + } +} + diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/FeaturestoreService.php b/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/FeaturestoreService.php new file mode 100644 index 000000000000..925d91cf369e --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/FeaturestoreService.php @@ -0,0 +1,39 @@ +internalAddGeneratedFile( + "\x0A\xF4q\x0A5google/cloud/aiplatform/v1/featurestore_service.proto\x12\x1Agoogle.cloud.aiplatform.v1\x1A\x17google/api/client.proto\x1A\x1Fgoogle/api/field_behavior.proto\x1A\x19google/api/resource.proto\x1A,google/cloud/aiplatform/v1/entity_type.proto\x1A(google/cloud/aiplatform/v1/feature.proto\x1A1google/cloud/aiplatform/v1/feature_selector.proto\x1A-google/cloud/aiplatform/v1/featurestore.proto\x1A#google/cloud/aiplatform/v1/io.proto\x1A*google/cloud/aiplatform/v1/operation.proto\x1A#google/longrunning/operations.proto\x1A\x1Bgoogle/protobuf/empty.proto\x1A google/protobuf/field_mask.proto\x1A\x1Fgoogle/protobuf/timestamp.proto\x1A\x1Agoogle/type/interval.proto\"\xBE\x01\x0A\x19CreateFeaturestoreRequest\x12>\x0A\x06parent\x18\x01 \x01(\x09B.\xE0A\x02\xFAA(\x12&aiplatform.googleapis.com/Featurestore\x12C\x0A\x0Cfeaturestore\x18\x02 \x01(\x0B2(.google.cloud.aiplatform.v1.FeaturestoreB\x03\xE0A\x02\x12\x1C\x0A\x0Ffeaturestore_id\x18\x03 \x01(\x09B\x03\xE0A\x02\"V\x0A\x16GetFeaturestoreRequest\x12<\x0A\x04name\x18\x01 \x01(\x09B.\xE0A\x02\xFAA(\x0A&aiplatform.googleapis.com/Featurestore\"\xD2\x01\x0A\x18ListFeaturestoresRequest\x12>\x0A\x06parent\x18\x01 \x01(\x09B.\xE0A\x02\xFAA(\x12&aiplatform.googleapis.com/Featurestore\x12\x0E\x0A\x06filter\x18\x02 \x01(\x09\x12\x11\x0A\x09page_size\x18\x03 \x01(\x05\x12\x12\x0A\x0Apage_token\x18\x04 \x01(\x09\x12\x10\x0A\x08order_by\x18\x05 \x01(\x09\x12-\x0A\x09read_mask\x18\x06 \x01(\x0B2\x1A.google.protobuf.FieldMask\"u\x0A\x19ListFeaturestoresResponse\x12?\x0A\x0Dfeaturestores\x18\x01 \x03(\x0B2(.google.cloud.aiplatform.v1.Featurestore\x12\x17\x0A\x0Fnext_page_token\x18\x02 \x01(\x09\"\x91\x01\x0A\x19UpdateFeaturestoreRequest\x12C\x0A\x0Cfeaturestore\x18\x01 \x01(\x0B2(.google.cloud.aiplatform.v1.FeaturestoreB\x03\xE0A\x02\x12/\x0A\x0Bupdate_mask\x18\x02 \x01(\x0B2\x1A.google.protobuf.FieldMask\"h\x0A\x19DeleteFeaturestoreRequest\x12<\x0A\x04name\x18\x01 \x01(\x09B.\xE0A\x02\xFAA(\x0A&aiplatform.googleapis.com/Featurestore\x12\x0D\x0A\x05force\x18\x02 \x01(\x08\"\x9E\x05\x0A\x1AImportFeatureValuesRequest\x12=\x0A\x0Bavro_source\x18\x02 \x01(\x0B2&.google.cloud.aiplatform.v1.AvroSourceH\x00\x12E\x0A\x0Fbigquery_source\x18\x03 \x01(\x0B2*.google.cloud.aiplatform.v1.BigQuerySourceH\x00\x12;\x0A\x0Acsv_source\x18\x04 \x01(\x0B2%.google.cloud.aiplatform.v1.CsvSourceH\x00\x12\x1C\x0A\x12feature_time_field\x18\x06 \x01(\x09H\x01\x122\x0A\x0Cfeature_time\x18\x07 \x01(\x0B2\x1A.google.protobuf.TimestampH\x01\x12A\x0A\x0Bentity_type\x18\x01 \x01(\x09B,\xE0A\x02\xFAA&\x0A\$aiplatform.googleapis.com/EntityType\x12\x17\x0A\x0Fentity_id_field\x18\x05 \x01(\x09\x12^\x0A\x0Dfeature_specs\x18\x08 \x03(\x0B2B.google.cloud.aiplatform.v1.ImportFeatureValuesRequest.FeatureSpecB\x03\xE0A\x02\x12\x1E\x0A\x16disable_online_serving\x18\x09 \x01(\x08\x12\x14\x0A\x0Cworker_count\x18\x0B \x01(\x05\x12\"\x0A\x1Adisable_ingestion_analysis\x18\x0C \x01(\x08\x1A4\x0A\x0BFeatureSpec\x12\x0F\x0A\x02id\x18\x01 \x01(\x09B\x03\xE0A\x02\x12\x14\x0A\x0Csource_field\x18\x02 \x01(\x09B\x08\x0A\x06sourceB\x15\x0A\x13feature_time_source\"\xAD\x01\x0A\x1BImportFeatureValuesResponse\x12\x1D\x0A\x15imported_entity_count\x18\x01 \x01(\x03\x12\$\x0A\x1Cimported_feature_value_count\x18\x02 \x01(\x03\x12\x19\x0A\x11invalid_row_count\x18\x06 \x01(\x03\x12.\x0A×tamp_outside_retention_rows_count\x18\x04 \x01(\x03\"\xD1\x06\x0A\x1DBatchReadFeatureValuesRequest\x12C\x0A\x12csv_read_instances\x18\x03 \x01(\x0B2%.google.cloud.aiplatform.v1.CsvSourceH\x00\x12M\x0A\x17bigquery_read_instances\x18\x05 \x01(\x0B2*.google.cloud.aiplatform.v1.BigQuerySourceH\x00\x12D\x0A\x0Cfeaturestore\x18\x01 \x01(\x09B.\xE0A\x02\xFAA(\x0A&aiplatform.googleapis.com/Featurestore\x12M\x0A\x0Bdestination\x18\x04 \x01(\x0B23.google.cloud.aiplatform.v1.FeatureValueDestinationB\x03\xE0A\x02\x12g\x0A\x13pass_through_fields\x18\x08 \x03(\x0B2J.google.cloud.aiplatform.v1.BatchReadFeatureValuesRequest.PassThroughField\x12h\x0A\x11entity_type_specs\x18\x07 \x03(\x0B2H.google.cloud.aiplatform.v1.BatchReadFeatureValuesRequest.EntityTypeSpecB\x03\xE0A\x02\x123\x0A\x0Astart_time\x18\x0B \x01(\x0B2\x1A.google.protobuf.TimestampB\x03\xE0A\x01\x1A+\x0A\x10PassThroughField\x12\x17\x0A\x0Afield_name\x18\x01 \x01(\x09B\x03\xE0A\x02\x1A\xC2\x01\x0A\x0EEntityTypeSpec\x12\x1B\x0A\x0Eentity_type_id\x18\x01 \x01(\x09B\x03\xE0A\x02\x12J\x0A\x10feature_selector\x18\x02 \x01(\x0B2+.google.cloud.aiplatform.v1.FeatureSelectorB\x03\xE0A\x02\x12G\x0A\x08settings\x18\x03 \x03(\x0B25.google.cloud.aiplatform.v1.DestinationFeatureSettingB\x0D\x0A\x0Bread_option\"\xE8\x05\x0A\x1AExportFeatureValuesRequest\x12`\x0A\x0Fsnapshot_export\x18\x03 \x01(\x0B2E.google.cloud.aiplatform.v1.ExportFeatureValuesRequest.SnapshotExportH\x00\x12X\x0A\x0Bfull_export\x18\x07 \x01(\x0B2A.google.cloud.aiplatform.v1.ExportFeatureValuesRequest.FullExportH\x00\x12A\x0A\x0Bentity_type\x18\x01 \x01(\x09B,\xE0A\x02\xFAA&\x0A\$aiplatform.googleapis.com/EntityType\x12M\x0A\x0Bdestination\x18\x04 \x01(\x0B23.google.cloud.aiplatform.v1.FeatureValueDestinationB\x03\xE0A\x02\x12J\x0A\x10feature_selector\x18\x05 \x01(\x0B2+.google.cloud.aiplatform.v1.FeatureSelectorB\x03\xE0A\x02\x12G\x0A\x08settings\x18\x06 \x03(\x0B25.google.cloud.aiplatform.v1.DestinationFeatureSetting\x1As\x0A\x0ESnapshotExport\x121\x0A\x0Dsnapshot_time\x18\x01 \x01(\x0B2\x1A.google.protobuf.Timestamp\x12.\x0A\x0Astart_time\x18\x02 \x01(\x0B2\x1A.google.protobuf.Timestamp\x1Aj\x0A\x0AFullExport\x12.\x0A\x0Astart_time\x18\x02 \x01(\x0B2\x1A.google.protobuf.Timestamp\x12,\x0A\x08end_time\x18\x01 \x01(\x0B2\x1A.google.protobuf.TimestampB\x06\x0A\x04mode\"O\x0A\x19DestinationFeatureSetting\x12\x17\x0A\x0Afeature_id\x18\x01 \x01(\x09B\x03\xE0A\x02\x12\x19\x0A\x11destination_field\x18\x02 \x01(\x09\"\x91\x02\x0A\x17FeatureValueDestination\x12O\x0A\x14bigquery_destination\x18\x01 \x01(\x0B2/.google.cloud.aiplatform.v1.BigQueryDestinationH\x00\x12O\x0A\x14tfrecord_destination\x18\x02 \x01(\x0B2/.google.cloud.aiplatform.v1.TFRecordDestinationH\x00\x12E\x0A\x0Fcsv_destination\x18\x03 \x01(\x0B2*.google.cloud.aiplatform.v1.CsvDestinationH\x00B\x0D\x0A\x0Bdestination\"\x1D\x0A\x1BExportFeatureValuesResponse\" \x0A\x1EBatchReadFeatureValuesResponse\"\xB3\x01\x0A\x17CreateEntityTypeRequest\x12>\x0A\x06parent\x18\x01 \x01(\x09B.\xE0A\x02\xFAA(\x0A&aiplatform.googleapis.com/Featurestore\x12;\x0A\x0Bentity_type\x18\x02 \x01(\x0B2&.google.cloud.aiplatform.v1.EntityType\x12\x1B\x0A\x0Eentity_type_id\x18\x03 \x01(\x09B\x03\xE0A\x02\"R\x0A\x14GetEntityTypeRequest\x12:\x0A\x04name\x18\x01 \x01(\x09B,\xE0A\x02\xFAA&\x0A\$aiplatform.googleapis.com/EntityType\"\xCE\x01\x0A\x16ListEntityTypesRequest\x12<\x0A\x06parent\x18\x01 \x01(\x09B,\xE0A\x02\xFAA&\x12\$aiplatform.googleapis.com/EntityType\x12\x0E\x0A\x06filter\x18\x02 \x01(\x09\x12\x11\x0A\x09page_size\x18\x03 \x01(\x05\x12\x12\x0A\x0Apage_token\x18\x04 \x01(\x09\x12\x10\x0A\x08order_by\x18\x05 \x01(\x09\x12-\x0A\x09read_mask\x18\x06 \x01(\x0B2\x1A.google.protobuf.FieldMask\"p\x0A\x17ListEntityTypesResponse\x12<\x0A\x0Centity_types\x18\x01 \x03(\x0B2&.google.cloud.aiplatform.v1.EntityType\x12\x17\x0A\x0Fnext_page_token\x18\x02 \x01(\x09\"\x8C\x01\x0A\x17UpdateEntityTypeRequest\x12@\x0A\x0Bentity_type\x18\x01 \x01(\x0B2&.google.cloud.aiplatform.v1.EntityTypeB\x03\xE0A\x02\x12/\x0A\x0Bupdate_mask\x18\x02 \x01(\x0B2\x1A.google.protobuf.FieldMask\"d\x0A\x17DeleteEntityTypeRequest\x12:\x0A\x04name\x18\x01 \x01(\x09B,\xE0A\x02\xFAA&\x0A\$aiplatform.googleapis.com/EntityType\x12\x0D\x0A\x05force\x18\x02 \x01(\x08\"\xA5\x01\x0A\x14CreateFeatureRequest\x129\x0A\x06parent\x18\x01 \x01(\x09B)\xE0A\x02\xFAA#\x12!aiplatform.googleapis.com/Feature\x129\x0A\x07feature\x18\x02 \x01(\x0B2#.google.cloud.aiplatform.v1.FeatureB\x03\xE0A\x02\x12\x17\x0A\x0Afeature_id\x18\x03 \x01(\x09B\x03\xE0A\x02\"\xA0\x01\x0A\x1ABatchCreateFeaturesRequest\x129\x0A\x06parent\x18\x01 \x01(\x09B)\xE0A\x02\xFAA#\x12!aiplatform.googleapis.com/Feature\x12G\x0A\x08requests\x18\x02 \x03(\x0B20.google.cloud.aiplatform.v1.CreateFeatureRequestB\x03\xE0A\x02\"T\x0A\x1BBatchCreateFeaturesResponse\x125\x0A\x08features\x18\x01 \x03(\x0B2#.google.cloud.aiplatform.v1.Feature\"L\x0A\x11GetFeatureRequest\x127\x0A\x04name\x18\x01 \x01(\x09B)\xE0A\x02\xFAA#\x0A!aiplatform.googleapis.com/Feature\"\xE4\x01\x0A\x13ListFeaturesRequest\x129\x0A\x06parent\x18\x01 \x01(\x09B)\xE0A\x02\xFAA#\x12!aiplatform.googleapis.com/Feature\x12\x0E\x0A\x06filter\x18\x02 \x01(\x09\x12\x11\x0A\x09page_size\x18\x03 \x01(\x05\x12\x12\x0A\x0Apage_token\x18\x04 \x01(\x09\x12\x10\x0A\x08order_by\x18\x05 \x01(\x09\x12-\x0A\x09read_mask\x18\x06 \x01(\x0B2\x1A.google.protobuf.FieldMask\x12\x1A\x0A\x12latest_stats_count\x18\x07 \x01(\x05\"f\x0A\x14ListFeaturesResponse\x125\x0A\x08features\x18\x01 \x03(\x0B2#.google.cloud.aiplatform.v1.Feature\x12\x17\x0A\x0Fnext_page_token\x18\x02 \x01(\x09\"\x8A\x01\x0A\x15SearchFeaturesRequest\x12;\x0A\x08location\x18\x01 \x01(\x09B)\xE0A\x02\xFAA#\x0A!locations.googleapis.com/Location\x12\x0D\x0A\x05query\x18\x03 \x01(\x09\x12\x11\x0A\x09page_size\x18\x04 \x01(\x05\x12\x12\x0A\x0Apage_token\x18\x05 \x01(\x09\"h\x0A\x16SearchFeaturesResponse\x125\x0A\x08features\x18\x01 \x03(\x0B2#.google.cloud.aiplatform.v1.Feature\x12\x17\x0A\x0Fnext_page_token\x18\x02 \x01(\x09\"\x82\x01\x0A\x14UpdateFeatureRequest\x129\x0A\x07feature\x18\x01 \x01(\x0B2#.google.cloud.aiplatform.v1.FeatureB\x03\xE0A\x02\x12/\x0A\x0Bupdate_mask\x18\x02 \x01(\x0B2\x1A.google.protobuf.FieldMask\"O\x0A\x14DeleteFeatureRequest\x127\x0A\x04name\x18\x01 \x01(\x09B)\xE0A\x02\xFAA#\x0A!aiplatform.googleapis.com/Feature\"u\x0A#CreateFeaturestoreOperationMetadata\x12N\x0A\x10generic_metadata\x18\x01 \x01(\x0B24.google.cloud.aiplatform.v1.GenericOperationMetadata\"u\x0A#UpdateFeaturestoreOperationMetadata\x12N\x0A\x10generic_metadata\x18\x01 \x01(\x0B24.google.cloud.aiplatform.v1.GenericOperationMetadata\"\xBB\x02\x0A\$ImportFeatureValuesOperationMetadata\x12N\x0A\x10generic_metadata\x18\x01 \x01(\x0B24.google.cloud.aiplatform.v1.GenericOperationMetadata\x12\x1D\x0A\x15imported_entity_count\x18\x02 \x01(\x03\x12\$\x0A\x1Cimported_feature_value_count\x18\x03 \x01(\x03\x12\x13\x0A\x0Bsource_uris\x18\x04 \x03(\x09\x12\x19\x0A\x11invalid_row_count\x18\x06 \x01(\x03\x12.\x0A×tamp_outside_retention_rows_count\x18\x07 \x01(\x03\x12\x1E\x0A\x16blocking_operation_ids\x18\x08 \x03(\x03\"v\x0A\$ExportFeatureValuesOperationMetadata\x12N\x0A\x10generic_metadata\x18\x01 \x01(\x0B24.google.cloud.aiplatform.v1.GenericOperationMetadata\"y\x0A'BatchReadFeatureValuesOperationMetadata\x12N\x0A\x10generic_metadata\x18\x01 \x01(\x0B24.google.cloud.aiplatform.v1.GenericOperationMetadata\"v\x0A\$DeleteFeatureValuesOperationMetadata\x12N\x0A\x10generic_metadata\x18\x01 \x01(\x0B24.google.cloud.aiplatform.v1.GenericOperationMetadata\"s\x0A!CreateEntityTypeOperationMetadata\x12N\x0A\x10generic_metadata\x18\x01 \x01(\x0B24.google.cloud.aiplatform.v1.GenericOperationMetadata\"p\x0A\x1ECreateFeatureOperationMetadata\x12N\x0A\x10generic_metadata\x18\x01 \x01(\x0B24.google.cloud.aiplatform.v1.GenericOperationMetadata\"v\x0A\$BatchCreateFeaturesOperationMetadata\x12N\x0A\x10generic_metadata\x18\x01 \x01(\x0B24.google.cloud.aiplatform.v1.GenericOperationMetadata\"\xE5\x04\x0A\x1ADeleteFeatureValuesRequest\x12\\\x0A\x0Dselect_entity\x18\x02 \x01(\x0B2C.google.cloud.aiplatform.v1.DeleteFeatureValuesRequest.SelectEntityH\x00\x12y\x0A\x1Dselect_time_range_and_feature\x18\x03 \x01(\x0B2P.google.cloud.aiplatform.v1.DeleteFeatureValuesRequest.SelectTimeRangeAndFeatureH\x00\x12A\x0A\x0Bentity_type\x18\x01 \x01(\x09B,\xE0A\x02\xFAA&\x0A\$aiplatform.googleapis.com/EntityType\x1A]\x0A\x0CSelectEntity\x12M\x0A\x12entity_id_selector\x18\x01 \x01(\x0B2,.google.cloud.aiplatform.v1.EntityIdSelectorB\x03\xE0A\x02\x1A\xBB\x01\x0A\x19SelectTimeRangeAndFeature\x12.\x0A\x0Atime_range\x18\x01 \x01(\x0B2\x15.google.type.IntervalB\x03\xE0A\x02\x12J\x0A\x10feature_selector\x18\x02 \x01(\x0B2+.google.cloud.aiplatform.v1.FeatureSelectorB\x03\xE0A\x02\x12\"\x0A\x1Askip_online_storage_delete\x18\x03 \x01(\x08B\x0E\x0A\x0CDeleteOption\"\x92\x04\x0A\x1BDeleteFeatureValuesResponse\x12]\x0A\x0Dselect_entity\x18\x01 \x01(\x0B2D.google.cloud.aiplatform.v1.DeleteFeatureValuesResponse.SelectEntityH\x00\x12z\x0A\x1Dselect_time_range_and_feature\x18\x02 \x01(\x0B2Q.google.cloud.aiplatform.v1.DeleteFeatureValuesResponse.SelectTimeRangeAndFeatureH\x00\x1Am\x0A\x0CSelectEntity\x120\x0A(offline_storage_deleted_entity_row_count\x18\x01 \x01(\x03\x12+\x0A#online_storage_deleted_entity_count\x18\x02 \x01(\x03\x1A\x9C\x01\x0A\x19SelectTimeRangeAndFeature\x12\x1E\x0A\x16impacted_feature_count\x18\x01 \x01(\x03\x121\x0A)offline_storage_modified_entity_row_count\x18\x02 \x01(\x03\x12,\x0A\$online_storage_modified_entity_count\x18\x03 \x01(\x03B\x0A\x0A\x08response\"{\x0A\x10EntityIdSelector\x12;\x0A\x0Acsv_source\x18\x03 \x01(\x0B2%.google.cloud.aiplatform.v1.CsvSourceH\x00\x12\x17\x0A\x0Fentity_id_field\x18\x05 \x01(\x09B\x11\x0A\x0FEntityIdsSource2\xE6)\x0A\x13FeaturestoreService\x12\xA6\x02\x0A\x12CreateFeaturestore\x125.google.cloud.aiplatform.v1.CreateFeaturestoreRequest\x1A\x1D.google.longrunning.Operation\"\xB9\x01\xCAA3\x0A\x0CFeaturestore\x12#CreateFeaturestoreOperationMetadata\xDAA\x13parent,featurestore\xDAA#parent,featurestore,featurestore_id\x82\xD3\xE4\x93\x02A\"1/v1/{parent=projects/*/locations/*}/featurestores:\x0Cfeaturestore\x12\xB1\x01\x0A\x0FGetFeaturestore\x122.google.cloud.aiplatform.v1.GetFeaturestoreRequest\x1A(.google.cloud.aiplatform.v1.Featurestore\"@\xDAA\x04name\x82\xD3\xE4\x93\x023\x121/v1/{name=projects/*/locations/*/featurestores/*}\x12\xC4\x01\x0A\x11ListFeaturestores\x124.google.cloud.aiplatform.v1.ListFeaturestoresRequest\x1A5.google.cloud.aiplatform.v1.ListFeaturestoresResponse\"B\xDAA\x06parent\x82\xD3\xE4\x93\x023\x121/v1/{parent=projects/*/locations/*}/featurestores\x12\x92\x02\x0A\x12UpdateFeaturestore\x125.google.cloud.aiplatform.v1.UpdateFeaturestoreRequest\x1A\x1D.google.longrunning.Operation\"\xA5\x01\xCAA3\x0A\x0CFeaturestore\x12#UpdateFeaturestoreOperationMetadata\xDAA\x18featurestore,update_mask\x82\xD3\xE4\x93\x02N2>/v1/{featurestore.name=projects/*/locations/*/featurestores/*}:\x0Cfeaturestore\x12\xED\x01\x0A\x12DeleteFeaturestore\x125.google.cloud.aiplatform.v1.DeleteFeaturestoreRequest\x1A\x1D.google.longrunning.Operation\"\x80\x01\xCAA0\x0A\x15google.protobuf.Empty\x12\x17DeleteOperationMetadata\xDAA\x04name\xDAA\x0Aname,force\x82\xD3\xE4\x93\x023*1/v1/{name=projects/*/locations/*/featurestores/*}\x12\xA8\x02\x0A\x10CreateEntityType\x123.google.cloud.aiplatform.v1.CreateEntityTypeRequest\x1A\x1D.google.longrunning.Operation\"\xBF\x01\xCAA/\x0A\x0AEntityType\x12!CreateEntityTypeOperationMetadata\xDAA\x12parent,entity_type\xDAA!parent,entity_type,entity_type_id\x82\xD3\xE4\x93\x02N\"?/v1/{parent=projects/*/locations/*/featurestores/*}/entityTypes:\x0Bentity_type\x12\xB9\x01\x0A\x0DGetEntityType\x120.google.cloud.aiplatform.v1.GetEntityTypeRequest\x1A&.google.cloud.aiplatform.v1.EntityType\"N\xDAA\x04name\x82\xD3\xE4\x93\x02A\x12?/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*}\x12\xCC\x01\x0A\x0FListEntityTypes\x122.google.cloud.aiplatform.v1.ListEntityTypesRequest\x1A3.google.cloud.aiplatform.v1.ListEntityTypesResponse\"P\xDAA\x06parent\x82\xD3\xE4\x93\x02A\x12?/v1/{parent=projects/*/locations/*/featurestores/*}/entityTypes\x12\xEB\x01\x0A\x10UpdateEntityType\x123.google.cloud.aiplatform.v1.UpdateEntityTypeRequest\x1A&.google.cloud.aiplatform.v1.EntityType\"z\xDAA\x17entity_type,update_mask\x82\xD3\xE4\x93\x02Z2K/v1/{entity_type.name=projects/*/locations/*/featurestores/*/entityTypes/*}:\x0Bentity_type\x12\xF7\x01\x0A\x10DeleteEntityType\x123.google.cloud.aiplatform.v1.DeleteEntityTypeRequest\x1A\x1D.google.longrunning.Operation\"\x8E\x01\xCAA0\x0A\x15google.protobuf.Empty\x12\x17DeleteOperationMetadata\xDAA\x04name\xDAA\x0Aname,force\x82\xD3\xE4\x93\x02A*?/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*}\x12\x97\x02\x0A\x0DCreateFeature\x120.google.cloud.aiplatform.v1.CreateFeatureRequest\x1A\x1D.google.longrunning.Operation\"\xB4\x01\xCAA)\x0A\x07Feature\x12\x1ECreateFeatureOperationMetadata\xDAA\x0Eparent,feature\xDAA\x19parent,feature,feature_id\x82\xD3\xE4\x93\x02U\"J/v1/{parent=projects/*/locations/*/featurestores/*/entityTypes/*}/features:\x07feature\x12\xA8\x02\x0A\x13BatchCreateFeatures\x126.google.cloud.aiplatform.v1.BatchCreateFeaturesRequest\x1A\x1D.google.longrunning.Operation\"\xB9\x01\xCAAC\x0A\x1BBatchCreateFeaturesResponse\x12\$BatchCreateFeaturesOperationMetadata\xDAA\x0Fparent,requests\x82\xD3\xE4\x93\x02[\"V/v1/{parent=projects/*/locations/*/featurestores/*/entityTypes/*}/features:batchCreate:\x01*\x12\xBB\x01\x0A\x0AGetFeature\x12-.google.cloud.aiplatform.v1.GetFeatureRequest\x1A#.google.cloud.aiplatform.v1.Feature\"Y\xDAA\x04name\x82\xD3\xE4\x93\x02L\x12J/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*}\x12\xCE\x01\x0A\x0CListFeatures\x12/.google.cloud.aiplatform.v1.ListFeaturesRequest\x1A0.google.cloud.aiplatform.v1.ListFeaturesResponse\"[\xDAA\x06parent\x82\xD3\xE4\x93\x02L\x12J/v1/{parent=projects/*/locations/*/featurestores/*/entityTypes/*}/features\x12\xE1\x01\x0A\x0DUpdateFeature\x120.google.cloud.aiplatform.v1.UpdateFeatureRequest\x1A#.google.cloud.aiplatform.v1.Feature\"y\xDAA\x13feature,update_mask\x82\xD3\xE4\x93\x02]2R/v1/{feature.name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*}:\x07feature\x12\xEF\x01\x0A\x0DDeleteFeature\x120.google.cloud.aiplatform.v1.DeleteFeatureRequest\x1A\x1D.google.longrunning.Operation\"\x8C\x01\xCAA0\x0A\x15google.protobuf.Empty\x12\x17DeleteOperationMetadata\xDAA\x04name\x82\xD3\xE4\x93\x02L*J/v1/{name=projects/*/locations/*/featurestores/*/entityTypes/*/features/*}\x12\xA8\x02\x0A\x13ImportFeatureValues\x126.google.cloud.aiplatform.v1.ImportFeatureValuesRequest\x1A\x1D.google.longrunning.Operation\"\xB9\x01\xCAAC\x0A\x1BImportFeatureValuesResponse\x12\$ImportFeatureValuesOperationMetadata\xDAA\x0Bentity_type\x82\xD3\xE4\x93\x02_\"Z/v1/{entity_type=projects/*/locations/*/featurestores/*/entityTypes/*}:importFeatureValues:\x01*\x12\xAB\x02\x0A\x16BatchReadFeatureValues\x129.google.cloud.aiplatform.v1.BatchReadFeatureValuesRequest\x1A\x1D.google.longrunning.Operation\"\xB6\x01\xCAAI\x0A\x1EBatchReadFeatureValuesResponse\x12'BatchReadFeatureValuesOperationMetadata\xDAA\x0Cfeaturestore\x82\xD3\xE4\x93\x02U\"P/v1/{featurestore=projects/*/locations/*/featurestores/*}:batchReadFeatureValues:\x01*\x12\xA8\x02\x0A\x13ExportFeatureValues\x126.google.cloud.aiplatform.v1.ExportFeatureValuesRequest\x1A\x1D.google.longrunning.Operation\"\xB9\x01\xCAAC\x0A\x1BExportFeatureValuesResponse\x12\$ExportFeatureValuesOperationMetadata\xDAA\x0Bentity_type\x82\xD3\xE4\x93\x02_\"Z/v1/{entity_type=projects/*/locations/*/featurestores/*/entityTypes/*}:exportFeatureValues:\x01*\x12\xA8\x02\x0A\x13DeleteFeatureValues\x126.google.cloud.aiplatform.v1.DeleteFeatureValuesRequest\x1A\x1D.google.longrunning.Operation\"\xB9\x01\xCAAC\x0A\x1BDeleteFeatureValuesResponse\x12\$DeleteFeatureValuesOperationMetadata\xDAA\x0Bentity_type\x82\xD3\xE4\x93\x02_\"Z/v1/{entity_type=projects/*/locations/*/featurestores/*/entityTypes/*}:deleteFeatureValues:\x01*\x12\xDF\x01\x0A\x0ESearchFeatures\x121.google.cloud.aiplatform.v1.SearchFeaturesRequest\x1A2.google.cloud.aiplatform.v1.SearchFeaturesResponse\"f\xDAA\x08location\xDAA\x0Elocation,query\x82\xD3\xE4\x93\x02D\x12B/v1/{location=projects/*/locations/*}/featurestores:searchFeatures\x1AM\xCAA\x19aiplatform.googleapis.com\xD2A.https://www.googleapis.com/auth/cloud-platformB\xD6\x01\x0A\x1Ecom.google.cloud.aiplatform.v1B\x18FeaturestoreServiceProtoP\x01Z>cloud.google.com/go/aiplatform/apiv1/aiplatformpb;aiplatformpb\xAA\x02\x1AGoogle.Cloud.AIPlatform.V1\xCA\x02\x1AGoogle\\Cloud\\AIPlatform\\V1\xEA\x02\x1DGoogle::Cloud::AIPlatform::V1b\x06proto3" + , true); + + static::$is_initialized = true; + } +} + diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/GenAiCacheService.php b/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/GenAiCacheService.php new file mode 100644 index 000000000000..a990959bfafb --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/GenAiCacheService.php @@ -0,0 +1,31 @@ +internalAddGeneratedFile( + "\x0A\xE3\x12\x0A5google/cloud/aiplatform/v1/gen_ai_cache_service.proto\x12\x1Agoogle.cloud.aiplatform.v1\x1A\x17google/api/client.proto\x1A\x1Fgoogle/api/field_behavior.proto\x1A\x19google/api/resource.proto\x1A/google/cloud/aiplatform/v1/cached_content.proto\x1A\x1Bgoogle/protobuf/empty.proto\x1A google/protobuf/field_mask.proto\"\xA5\x01\x0A\x1ACreateCachedContentRequest\x12?\x0A\x06parent\x18\x01 \x01(\x09B/\xE0A\x02\xFAA)\x12'aiplatform.googleapis.com/CachedContent\x12F\x0A\x0Ecached_content\x18\x02 \x01(\x0B2).google.cloud.aiplatform.v1.CachedContentB\x03\xE0A\x02\"X\x0A\x17GetCachedContentRequest\x12=\x0A\x04name\x18\x01 \x01(\x09B/\xE0A\x02\xFAA)\x0A'aiplatform.googleapis.com/CachedContent\"\x9A\x01\x0A\x1AUpdateCachedContentRequest\x12F\x0A\x0Ecached_content\x18\x01 \x01(\x0B2).google.cloud.aiplatform.v1.CachedContentB\x03\xE0A\x02\x124\x0A\x0Bupdate_mask\x18\x02 \x01(\x0B2\x1A.google.protobuf.FieldMaskB\x03\xE0A\x02\"[\x0A\x1ADeleteCachedContentRequest\x12=\x0A\x04name\x18\x01 \x01(\x09B/\xE0A\x02\xFAA)\x0A'aiplatform.googleapis.com/CachedContent\"\x8D\x01\x0A\x19ListCachedContentsRequest\x12?\x0A\x06parent\x18\x01 \x01(\x09B/\xE0A\x02\xFAA)\x12'aiplatform.googleapis.com/CachedContent\x12\x16\x0A\x09page_size\x18\x02 \x01(\x05B\x03\xE0A\x01\x12\x17\x0A\x0Apage_token\x18\x03 \x01(\x09B\x03\xE0A\x01\"y\x0A\x1AListCachedContentsResponse\x12B\x0A\x0Fcached_contents\x18\x01 \x03(\x0B2).google.cloud.aiplatform.v1.CachedContent\x12\x17\x0A\x0Fnext_page_token\x18\x02 \x01(\x092\xE2\x08\x0A\x11GenAiCacheService\x12\xDC\x01\x0A\x13CreateCachedContent\x126.google.cloud.aiplatform.v1.CreateCachedContentRequest\x1A).google.cloud.aiplatform.v1.CachedContent\"b\xDAA\x15parent,cached_content\x82\xD3\xE4\x93\x02D\"2/v1/{parent=projects/*/locations/*}/cachedContents:\x0Ecached_content\x12\xB5\x01\x0A\x10GetCachedContent\x123.google.cloud.aiplatform.v1.GetCachedContentRequest\x1A).google.cloud.aiplatform.v1.CachedContent\"A\xDAA\x04name\x82\xD3\xE4\x93\x024\x122/v1/{name=projects/*/locations/*/cachedContents/*}\x12\xF0\x01\x0A\x13UpdateCachedContent\x126.google.cloud.aiplatform.v1.UpdateCachedContentRequest\x1A).google.cloud.aiplatform.v1.CachedContent\"v\xDAA\x1Acached_content,update_mask\x82\xD3\xE4\x93\x02S2A/v1/{cached_content.name=projects/*/locations/*/cachedContents/*}:\x0Ecached_content\x12\xA8\x01\x0A\x13DeleteCachedContent\x126.google.cloud.aiplatform.v1.DeleteCachedContentRequest\x1A\x16.google.protobuf.Empty\"A\xDAA\x04name\x82\xD3\xE4\x93\x024*2/v1/{name=projects/*/locations/*/cachedContents/*}\x12\xC8\x01\x0A\x12ListCachedContents\x125.google.cloud.aiplatform.v1.ListCachedContentsRequest\x1A6.google.cloud.aiplatform.v1.ListCachedContentsResponse\"C\xDAA\x06parent\x82\xD3\xE4\x93\x024\x122/v1/{parent=projects/*/locations/*}/cachedContents\x1AM\xCAA\x19aiplatform.googleapis.com\xD2A.https://www.googleapis.com/auth/cloud-platformB\xD4\x01\x0A\x1Ecom.google.cloud.aiplatform.v1B\x16GenAiCacheServiceProtoP\x01Z>cloud.google.com/go/aiplatform/apiv1/aiplatformpb;aiplatformpb\xAA\x02\x1AGoogle.Cloud.AIPlatform.V1\xCA\x02\x1AGoogle\\Cloud\\AIPlatform\\V1\xEA\x02\x1DGoogle::Cloud::AIPlatform::V1b\x06proto3" + , true); + + static::$is_initialized = true; + } +} + diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/GenaiTuningService.php b/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/GenaiTuningService.php new file mode 100644 index 000000000000..9822e08b7940 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/GenaiTuningService.php @@ -0,0 +1,33 @@ +internalAddGeneratedFile( + "\x0A\x92\x15\x0A5google/cloud/aiplatform/v1/genai_tuning_service.proto\x12\x1Agoogle.cloud.aiplatform.v1\x1A\x17google/api/client.proto\x1A\x1Fgoogle/api/field_behavior.proto\x1A\x19google/api/resource.proto\x1A#google/cloud/aiplatform/v1/io.proto\x1A*google/cloud/aiplatform/v1/operation.proto\x1A+google/cloud/aiplatform/v1/tuning_job.proto\x1A#google/longrunning/operations.proto\x1A\x1Bgoogle/protobuf/empty.proto\"\x93\x01\x0A\x16CreateTuningJobRequest\x129\x0A\x06parent\x18\x01 \x01(\x09B)\xE0A\x02\xFAA#\x0A!locations.googleapis.com/Location\x12>\x0A\x0Atuning_job\x18\x02 \x01(\x0B2%.google.cloud.aiplatform.v1.TuningJobB\x03\xE0A\x02\"P\x0A\x13GetTuningJobRequest\x129\x0A\x04name\x18\x01 \x01(\x09B+\xE0A\x02\xFAA%\x0A#aiplatform.googleapis.com/TuningJob\"\x98\x01\x0A\x15ListTuningJobsRequest\x129\x0A\x06parent\x18\x01 \x01(\x09B)\xE0A\x02\xFAA#\x0A!locations.googleapis.com/Location\x12\x13\x0A\x06filter\x18\x02 \x01(\x09B\x03\xE0A\x01\x12\x16\x0A\x09page_size\x18\x03 \x01(\x05B\x03\xE0A\x01\x12\x17\x0A\x0Apage_token\x18\x04 \x01(\x09B\x03\xE0A\x01\"m\x0A\x16ListTuningJobsResponse\x12:\x0A\x0Btuning_jobs\x18\x01 \x03(\x0B2%.google.cloud.aiplatform.v1.TuningJob\x12\x17\x0A\x0Fnext_page_token\x18\x02 \x01(\x09\"S\x0A\x16CancelTuningJobRequest\x129\x0A\x04name\x18\x01 \x01(\x09B+\xE0A\x02\xFAA%\x0A#aiplatform.googleapis.com/TuningJob\"\xD2\x02\x0A\x17RebaseTunedModelRequest\x129\x0A\x06parent\x18\x01 \x01(\x09B)\xE0A\x02\xFAA#\x0A!locations.googleapis.com/Location\x12G\x0A\x0Ftuned_model_ref\x18\x02 \x01(\x0B2).google.cloud.aiplatform.v1.TunedModelRefB\x03\xE0A\x02\x12>\x0A\x0Atuning_job\x18\x03 \x01(\x0B2%.google.cloud.aiplatform.v1.TuningJobB\x03\xE0A\x01\x12M\x0A\x14artifact_destination\x18\x04 \x01(\x0B2*.google.cloud.aiplatform.v1.GcsDestinationB\x03\xE0A\x01\x12\$\x0A\x17deploy_to_same_endpoint\x18\x05 \x01(\x08B\x03\xE0A\x01\"s\x0A!RebaseTunedModelOperationMetadata\x12N\x0A\x10generic_metadata\x18\x01 \x01(\x0B24.google.cloud.aiplatform.v1.GenericOperationMetadata2\xB6\x08\x0A\x12GenAiTuningService\x12\xC4\x01\x0A\x0FCreateTuningJob\x122.google.cloud.aiplatform.v1.CreateTuningJobRequest\x1A%.google.cloud.aiplatform.v1.TuningJob\"V\xDAA\x11parent,tuning_job\x82\xD3\xE4\x93\x02<\"./v1/{parent=projects/*/locations/*}/tuningJobs:\x0Atuning_job\x12\xA5\x01\x0A\x0CGetTuningJob\x12/.google.cloud.aiplatform.v1.GetTuningJobRequest\x1A%.google.cloud.aiplatform.v1.TuningJob\"=\xDAA\x04name\x82\xD3\xE4\x93\x020\x12./v1/{name=projects/*/locations/*/tuningJobs/*}\x12\xB8\x01\x0A\x0EListTuningJobs\x121.google.cloud.aiplatform.v1.ListTuningJobsRequest\x1A2.google.cloud.aiplatform.v1.ListTuningJobsResponse\"?\xDAA\x06parent\x82\xD3\xE4\x93\x020\x12./v1/{parent=projects/*/locations/*}/tuningJobs\x12\xA6\x01\x0A\x0FCancelTuningJob\x122.google.cloud.aiplatform.v1.CancelTuningJobRequest\x1A\x16.google.protobuf.Empty\"G\xDAA\x04name\x82\xD3\xE4\x93\x02:\"5/v1/{name=projects/*/locations/*/tuningJobs/*}:cancel:\x01*\x12\xFD\x01\x0A\x10RebaseTunedModel\x123.google.cloud.aiplatform.v1.RebaseTunedModelRequest\x1A\x1D.google.longrunning.Operation\"\x94\x01\xCAA.\x0A\x09TuningJob\x12!RebaseTunedModelOperationMetadata\xDAA\x16parent,tuned_model_ref\x82\xD3\xE4\x93\x02D\"?/v1/{parent=projects/*/locations/*}/tuningJobs:rebaseTunedModel:\x01*\x1AM\xCAA\x19aiplatform.googleapis.com\xD2A.https://www.googleapis.com/auth/cloud-platformB\xD5\x01\x0A\x1Ecom.google.cloud.aiplatform.v1B\x17GenAiTuningServiceProtoP\x01Z>cloud.google.com/go/aiplatform/apiv1/aiplatformpb;aiplatformpb\xAA\x02\x1AGoogle.Cloud.AIPlatform.V1\xCA\x02\x1AGoogle\\Cloud\\AIPlatform\\V1\xEA\x02\x1DGoogle::Cloud::AIPlatform::V1b\x06proto3" + , 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..d2a94b1b372c --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/HyperparameterTuningJob.php @@ -0,0 +1,32 @@ +internalAddGeneratedFile( + "\x0A\xFB\x0C\x0A:google/cloud/aiplatform/v1/hyperparameter_tuning_job.proto\x12\x1Agoogle.cloud.aiplatform.v1\x1A\x19google/api/resource.proto\x1A+google/cloud/aiplatform/v1/custom_job.proto\x1A0google/cloud/aiplatform/v1/encryption_spec.proto\x1A*google/cloud/aiplatform/v1/job_state.proto\x1A&google/cloud/aiplatform/v1/study.proto\x1A\x1Fgoogle/protobuf/timestamp.proto\x1A\x17google/rpc/status.proto\"\xB3\x08\x0A\x17HyperparameterTuningJob\x12\x11\x0A\x04name\x18\x01 \x01(\x09B\x03\xE0A\x03\x12\x19\x0A\x0Cdisplay_name\x18\x02 \x01(\x09B\x03\xE0A\x02\x12>\x0A\x0Astudy_spec\x18\x04 \x01(\x0B2%.google.cloud.aiplatform.v1.StudySpecB\x03\xE0A\x02\x12\x1C\x0A\x0Fmax_trial_count\x18\x05 \x01(\x05B\x03\xE0A\x02\x12!\x0A\x14parallel_trial_count\x18\x06 \x01(\x05B\x03\xE0A\x02\x12\x1E\x0A\x16max_failed_trial_count\x18\x07 \x01(\x05\x12F\x0A\x0Etrial_job_spec\x18\x08 \x01(\x0B2).google.cloud.aiplatform.v1.CustomJobSpecB\x03\xE0A\x02\x126\x0A\x06trials\x18\x09 \x03(\x0B2!.google.cloud.aiplatform.v1.TrialB\x03\xE0A\x03\x128\x0A\x05state\x18\x0A \x01(\x0E2\$.google.cloud.aiplatform.v1.JobStateB\x03\xE0A\x03\x124\x0A\x0Bcreate_time\x18\x0B \x01(\x0B2\x1A.google.protobuf.TimestampB\x03\xE0A\x03\x123\x0A\x0Astart_time\x18\x0C \x01(\x0B2\x1A.google.protobuf.TimestampB\x03\xE0A\x03\x121\x0A\x08end_time\x18\x0D \x01(\x0B2\x1A.google.protobuf.TimestampB\x03\xE0A\x03\x124\x0A\x0Bupdate_time\x18\x0E \x01(\x0B2\x1A.google.protobuf.TimestampB\x03\xE0A\x03\x12&\x0A\x05error\x18\x0F \x01(\x0B2\x12.google.rpc.StatusB\x03\xE0A\x03\x12O\x0A\x06labels\x18\x10 \x03(\x0B2?.google.cloud.aiplatform.v1.HyperparameterTuningJob.LabelsEntry\x12C\x0A\x0Fencryption_spec\x18\x11 \x01(\x0B2*.google.cloud.aiplatform.v1.EncryptionSpec\x12\x1A\x0A\x0Dsatisfies_pzs\x18\x13 \x01(\x08B\x03\xE0A\x03\x12\x1A\x0A\x0Dsatisfies_pzi\x18\x14 \x01(\x08B\x03\xE0A\x03\x1A-\x0A\x0BLabelsEntry\x12\x0B\x0A\x03key\x18\x01 \x01(\x09\x12\x0D\x0A\x05value\x18\x02 \x01(\x09:\x028\x01:\x95\x01\xEAA\x91\x01\x0A1aiplatform.googleapis.com/HyperparameterTuningJob\x12\\projects/{project}/locations/{location}/hyperparameterTuningJobs/{hyperparameter_tuning_job}B\xDA\x01\x0A\x1Ecom.google.cloud.aiplatform.v1B\x1CHyperparameterTuningJobProtoP\x01Z>cloud.google.com/go/aiplatform/apiv1/aiplatformpb;aiplatformpb\xAA\x02\x1AGoogle.Cloud.AIPlatform.V1\xCA\x02\x1AGoogle\\Cloud\\AIPlatform\\V1\xEA\x02\x1DGoogle::Cloud::AIPlatform::V1b\x06proto3" + , 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 000000000000..c48bd47fb05f --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/Index.php @@ -0,0 +1,30 @@ +internalAddGeneratedFile( + "\x0A\xC3\x13\x0A&google/cloud/aiplatform/v1/index.proto\x12\x1Agoogle.cloud.aiplatform.v1\x1A\x19google/api/resource.proto\x1A3google/cloud/aiplatform/v1/deployed_index_ref.proto\x1A0google/cloud/aiplatform/v1/encryption_spec.proto\x1A\x1Cgoogle/protobuf/struct.proto\x1A\x1Fgoogle/protobuf/timestamp.proto\"\xA4\x07\x0A\x05Index\x12\x11\x0A\x04name\x18\x01 \x01(\x09B\x03\xE0A\x03\x12\x19\x0A\x0Cdisplay_name\x18\x02 \x01(\x09B\x03\xE0A\x02\x12\x13\x0A\x0Bdescription\x18\x03 \x01(\x09\x12 \x0A\x13metadata_schema_uri\x18\x04 \x01(\x09B\x03\xE0A\x05\x12(\x0A\x08metadata\x18\x06 \x01(\x0B2\x16.google.protobuf.Value\x12K\x0A\x10deployed_indexes\x18\x07 \x03(\x0B2,.google.cloud.aiplatform.v1.DeployedIndexRefB\x03\xE0A\x03\x12\x0C\x0A\x04etag\x18\x08 \x01(\x09\x12=\x0A\x06labels\x18\x09 \x03(\x0B2-.google.cloud.aiplatform.v1.Index.LabelsEntry\x124\x0A\x0Bcreate_time\x18\x0A \x01(\x0B2\x1A.google.protobuf.TimestampB\x03\xE0A\x03\x124\x0A\x0Bupdate_time\x18\x0B \x01(\x0B2\x1A.google.protobuf.TimestampB\x03\xE0A\x03\x12@\x0A\x0Bindex_stats\x18\x0E \x01(\x0B2&.google.cloud.aiplatform.v1.IndexStatsB\x03\xE0A\x03\x12U\x0A\x13index_update_method\x18\x10 \x01(\x0E23.google.cloud.aiplatform.v1.Index.IndexUpdateMethodB\x03\xE0A\x05\x12H\x0A\x0Fencryption_spec\x18\x11 \x01(\x0B2*.google.cloud.aiplatform.v1.EncryptionSpecB\x03\xE0A\x05\x12\x1A\x0A\x0Dsatisfies_pzs\x18\x12 \x01(\x08B\x03\xE0A\x03\x12\x1A\x0A\x0Dsatisfies_pzi\x18\x13 \x01(\x08B\x03\xE0A\x03\x1A-\x0A\x0BLabelsEntry\x12\x0B\x0A\x03key\x18\x01 \x01(\x09\x12\x0D\x0A\x05value\x18\x02 \x01(\x09:\x028\x01\"]\x0A\x11IndexUpdateMethod\x12#\x0A\x1FINDEX_UPDATE_METHOD_UNSPECIFIED\x10\x00\x12\x10\x0A\x0CBATCH_UPDATE\x10\x01\x12\x11\x0A\x0DSTREAM_UPDATE\x10\x02:]\xEAAZ\x0A\x1Faiplatform.googleapis.com/Index\x127projects/{project}/locations/{location}/indexes/{index}\"\xD9\x07\x0A\x0EIndexDatapoint\x12\x19\x0A\x0Cdatapoint_id\x18\x01 \x01(\x09B\x03\xE0A\x02\x12\x1B\x0A\x0Efeature_vector\x18\x02 \x03(\x02B\x03\xE0A\x02\x12Y\x0A\x10sparse_embedding\x18\x07 \x01(\x0B2:.google.cloud.aiplatform.v1.IndexDatapoint.SparseEmbeddingB\x03\xE0A\x01\x12N\x0A\x09restricts\x18\x04 \x03(\x0B26.google.cloud.aiplatform.v1.IndexDatapoint.RestrictionB\x03\xE0A\x01\x12]\x0A\x11numeric_restricts\x18\x06 \x03(\x0B2=.google.cloud.aiplatform.v1.IndexDatapoint.NumericRestrictionB\x03\xE0A\x01\x12Q\x0A\x0Ccrowding_tag\x18\x05 \x01(\x0B26.google.cloud.aiplatform.v1.IndexDatapoint.CrowdingTagB\x03\xE0A\x01\x128\x0A\x12embedding_metadata\x18\x08 \x01(\x0B2\x17.google.protobuf.StructB\x03\xE0A\x01\x1A?\x0A\x0FSparseEmbedding\x12\x13\x0A\x06values\x18\x01 \x03(\x02B\x03\xE0A\x02\x12\x17\x0A\x0Adimensions\x18\x02 \x03(\x03B\x03\xE0A\x02\x1AG\x0A\x0BRestriction\x12\x11\x0A\x09namespace\x18\x01 \x01(\x09\x12\x12\x0A\x0Aallow_list\x18\x02 \x03(\x09\x12\x11\x0A\x09deny_list\x18\x03 \x03(\x09\x1A\xC2\x02\x0A\x12NumericRestriction\x12\x13\x0A\x09value_int\x18\x02 \x01(\x03H\x00\x12\x15\x0A\x0Bvalue_float\x18\x03 \x01(\x02H\x00\x12\x16\x0A\x0Cvalue_double\x18\x04 \x01(\x01H\x00\x12\x11\x0A\x09namespace\x18\x01 \x01(\x09\x12R\x0A\x02op\x18\x05 \x01(\x0E2F.google.cloud.aiplatform.v1.IndexDatapoint.NumericRestriction.Operator\"x\x0A\x08Operator\x12\x18\x0A\x14OPERATOR_UNSPECIFIED\x10\x00\x12\x08\x0A\x04LESS\x10\x01\x12\x0E\x0A\x0ALESS_EQUAL\x10\x02\x12\x09\x0A\x05EQUAL\x10\x03\x12\x11\x0A\x0DGREATER_EQUAL\x10\x04\x12\x0B\x0A\x07GREATER\x10\x05\x12\x0D\x0A\x09NOT_EQUAL\x10\x06B\x07\x0A\x05Value\x1A)\x0A\x0BCrowdingTag\x12\x1A\x0A\x12crowding_attribute\x18\x01 \x01(\x09\"f\x0A\x0AIndexStats\x12\x1A\x0A\x0Dvectors_count\x18\x01 \x01(\x03B\x03\xE0A\x03\x12!\x0A\x14sparse_vectors_count\x18\x03 \x01(\x03B\x03\xE0A\x03\x12\x19\x0A\x0Cshards_count\x18\x02 \x01(\x05B\x03\xE0A\x03B\xC8\x01\x0A\x1Ecom.google.cloud.aiplatform.v1B\x0AIndexProtoP\x01Z>cloud.google.com/go/aiplatform/apiv1/aiplatformpb;aiplatformpb\xAA\x02\x1AGoogle.Cloud.AIPlatform.V1\xCA\x02\x1AGoogle\\Cloud\\AIPlatform\\V1\xEA\x02\x1DGoogle::Cloud::AIPlatform::V1b\x06proto3" + , true); + + static::$is_initialized = true; + } +} + 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..ab38349ee0f1 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/IndexEndpoint.php @@ -0,0 +1,30 @@ +internalAddGeneratedFile( + "\x0A\x9E\x15\x0A/google/cloud/aiplatform/v1/index_endpoint.proto\x12\x1Agoogle.cloud.aiplatform.v1\x1A\x19google/api/resource.proto\x1A0google/cloud/aiplatform/v1/encryption_spec.proto\x1A2google/cloud/aiplatform/v1/machine_resources.proto\x1A3google/cloud/aiplatform/v1/service_networking.proto\x1A\x1Fgoogle/protobuf/timestamp.proto\"\x80\x07\x0A\x0DIndexEndpoint\x12\x11\x0A\x04name\x18\x01 \x01(\x09B\x03\xE0A\x03\x12\x19\x0A\x0Cdisplay_name\x18\x02 \x01(\x09B\x03\xE0A\x02\x12\x13\x0A\x0Bdescription\x18\x03 \x01(\x09\x12H\x0A\x10deployed_indexes\x18\x04 \x03(\x0B2).google.cloud.aiplatform.v1.DeployedIndexB\x03\xE0A\x03\x12\x0C\x0A\x04etag\x18\x05 \x01(\x09\x12E\x0A\x06labels\x18\x06 \x03(\x0B25.google.cloud.aiplatform.v1.IndexEndpoint.LabelsEntry\x124\x0A\x0Bcreate_time\x18\x07 \x01(\x0B2\x1A.google.protobuf.TimestampB\x03\xE0A\x03\x124\x0A\x0Bupdate_time\x18\x08 \x01(\x0B2\x1A.google.protobuf.TimestampB\x03\xE0A\x03\x12\x14\x0A\x07network\x18\x09 \x01(\x09B\x03\xE0A\x01\x12-\x0A\x1Eenable_private_service_connect\x18\x0A \x01(\x08B\x05\x18\x01\xE0A\x01\x12d\x0A\x1Eprivate_service_connect_config\x18\x0C \x01(\x0B27.google.cloud.aiplatform.v1.PrivateServiceConnectConfigB\x03\xE0A\x01\x12\$\x0A\x17public_endpoint_enabled\x18\x0D \x01(\x08B\x03\xE0A\x01\x12(\x0A\x1Bpublic_endpoint_domain_name\x18\x0E \x01(\x09B\x03\xE0A\x03\x12H\x0A\x0Fencryption_spec\x18\x0F \x01(\x0B2*.google.cloud.aiplatform.v1.EncryptionSpecB\x03\xE0A\x05\x12\x1A\x0A\x0Dsatisfies_pzs\x18\x11 \x01(\x08B\x03\xE0A\x03\x12\x1A\x0A\x0Dsatisfies_pzi\x18\x12 \x01(\x08B\x03\xE0A\x03\x1A-\x0A\x0BLabelsEntry\x12\x0B\x0A\x03key\x18\x01 \x01(\x09\x12\x0D\x0A\x05value\x18\x02 \x01(\x09:\x028\x01:u\xEAAr\x0A'aiplatform.googleapis.com/IndexEndpoint\x12Gprojects/{project}/locations/{location}/indexEndpoints/{index_endpoint}\"\xB3\x07\x0A\x0DDeployedIndex\x12\x0F\x0A\x02id\x18\x01 \x01(\x09B\x03\xE0A\x02\x126\x0A\x05index\x18\x02 \x01(\x09B'\xE0A\x02\xFAA!\x0A\x1Faiplatform.googleapis.com/Index\x12\x14\x0A\x0Cdisplay_name\x18\x03 \x01(\x09\x124\x0A\x0Bcreate_time\x18\x04 \x01(\x0B2\x1A.google.protobuf.TimestampB\x03\xE0A\x03\x12Q\x0A\x11private_endpoints\x18\x05 \x01(\x0B21.google.cloud.aiplatform.v1.IndexPrivateEndpointsB\x03\xE0A\x03\x128\x0A\x0Findex_sync_time\x18\x06 \x01(\x0B2\x1A.google.protobuf.TimestampB\x03\xE0A\x03\x12P\x0A\x13automatic_resources\x18\x07 \x01(\x0B2..google.cloud.aiplatform.v1.AutomaticResourcesB\x03\xE0A\x01\x12P\x0A\x13dedicated_resources\x18\x10 \x01(\x0B2..google.cloud.aiplatform.v1.DedicatedResourcesB\x03\xE0A\x01\x12\"\x0A\x15enable_access_logging\x18\x08 \x01(\x08B\x03\xE0A\x01\x12,\x0A\x1Fenable_datapoint_upsert_logging\x18\x14 \x01(\x08B\x03\xE0A\x01\x12\\\x0A\x1Adeployed_index_auth_config\x18\x09 \x01(\x0B23.google.cloud.aiplatform.v1.DeployedIndexAuthConfigB\x03\xE0A\x01\x12\x1F\x0A\x12reserved_ip_ranges\x18\x0A \x03(\x09B\x03\xE0A\x01\x12\x1D\x0A\x10deployment_group\x18\x0B \x01(\x09B\x03\xE0A\x01\x12V\x0A\x0Fdeployment_tier\x18\x12 \x01(\x0E28.google.cloud.aiplatform.v1.DeployedIndex.DeploymentTierB\x03\xE0A\x01\x12T\x0A\x16psc_automation_configs\x18\x13 \x03(\x0B2/.google.cloud.aiplatform.v1.PSCAutomationConfigB\x03\xE0A\x01\">\x0A\x0EDeploymentTier\x12\x1F\x0A\x1BDEPLOYMENT_TIER_UNSPECIFIED\x10\x00\x12\x0B\x0A\x07STORAGE\x10\x02\"\xAE\x01\x0A\x17DeployedIndexAuthConfig\x12W\x0A\x0Dauth_provider\x18\x01 \x01(\x0B2@.google.cloud.aiplatform.v1.DeployedIndexAuthConfig.AuthProvider\x1A:\x0A\x0CAuthProvider\x12\x11\x0A\x09audiences\x18\x01 \x03(\x09\x12\x17\x0A\x0Fallowed_issuers\x18\x02 \x03(\x09\"\xB2\x01\x0A\x15IndexPrivateEndpoints\x12\x1F\x0A\x12match_grpc_address\x18\x01 \x01(\x09B\x03\xE0A\x03\x12\x1F\x0A\x12service_attachment\x18\x02 \x01(\x09B\x03\xE0A\x03\x12W\x0A\x17psc_automated_endpoints\x18\x03 \x03(\x0B21.google.cloud.aiplatform.v1.PscAutomatedEndpointsB\x03\xE0A\x03B\xD0\x01\x0A\x1Ecom.google.cloud.aiplatform.v1B\x12IndexEndpointProtoP\x01Z>cloud.google.com/go/aiplatform/apiv1/aiplatformpb;aiplatformpb\xAA\x02\x1AGoogle.Cloud.AIPlatform.V1\xCA\x02\x1AGoogle\\Cloud\\AIPlatform\\V1\xEA\x02\x1DGoogle::Cloud::AIPlatform::V1b\x06proto3" + , 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..dd06c75dadf3 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/IndexEndpointService.php @@ -0,0 +1,33 @@ +internalAddGeneratedFile( + "\x0A\xFB\$\x0A7google/cloud/aiplatform/v1/index_endpoint_service.proto\x12\x1Agoogle.cloud.aiplatform.v1\x1A\x17google/api/client.proto\x1A\x1Fgoogle/api/field_behavior.proto\x1A\x19google/api/resource.proto\x1A/google/cloud/aiplatform/v1/index_endpoint.proto\x1A*google/cloud/aiplatform/v1/operation.proto\x1A#google/longrunning/operations.proto\x1A\x1Bgoogle/protobuf/empty.proto\x1A google/protobuf/field_mask.proto\"\x9F\x01\x0A\x1ACreateIndexEndpointRequest\x129\x0A\x06parent\x18\x01 \x01(\x09B)\xE0A\x02\xFAA#\x0A!locations.googleapis.com/Location\x12F\x0A\x0Eindex_endpoint\x18\x02 \x01(\x0B2).google.cloud.aiplatform.v1.IndexEndpointB\x03\xE0A\x02\"v\x0A\$CreateIndexEndpointOperationMetadata\x12N\x0A\x10generic_metadata\x18\x01 \x01(\x0B24.google.cloud.aiplatform.v1.GenericOperationMetadata\"X\x0A\x17GetIndexEndpointRequest\x12=\x0A\x04name\x18\x01 \x01(\x09B/\xE0A\x02\xFAA)\x0A'aiplatform.googleapis.com/IndexEndpoint\"\xD0\x01\x0A\x19ListIndexEndpointsRequest\x129\x0A\x06parent\x18\x01 \x01(\x09B)\xE0A\x02\xFAA#\x0A!locations.googleapis.com/Location\x12\x13\x0A\x06filter\x18\x02 \x01(\x09B\x03\xE0A\x01\x12\x16\x0A\x09page_size\x18\x03 \x01(\x05B\x03\xE0A\x01\x12\x17\x0A\x0Apage_token\x18\x04 \x01(\x09B\x03\xE0A\x01\x122\x0A\x09read_mask\x18\x05 \x01(\x0B2\x1A.google.protobuf.FieldMaskB\x03\xE0A\x01\"y\x0A\x1AListIndexEndpointsResponse\x12B\x0A\x0Findex_endpoints\x18\x01 \x03(\x0B2).google.cloud.aiplatform.v1.IndexEndpoint\x12\x17\x0A\x0Fnext_page_token\x18\x02 \x01(\x09\"\x9A\x01\x0A\x1AUpdateIndexEndpointRequest\x12F\x0A\x0Eindex_endpoint\x18\x01 \x01(\x0B2).google.cloud.aiplatform.v1.IndexEndpointB\x03\xE0A\x02\x124\x0A\x0Bupdate_mask\x18\x02 \x01(\x0B2\x1A.google.protobuf.FieldMaskB\x03\xE0A\x02\"[\x0A\x1ADeleteIndexEndpointRequest\x12=\x0A\x04name\x18\x01 \x01(\x09B/\xE0A\x02\xFAA)\x0A'aiplatform.googleapis.com/IndexEndpoint\"\xA5\x01\x0A\x12DeployIndexRequest\x12G\x0A\x0Eindex_endpoint\x18\x01 \x01(\x09B/\xE0A\x02\xFAA)\x0A'aiplatform.googleapis.com/IndexEndpoint\x12F\x0A\x0Edeployed_index\x18\x02 \x01(\x0B2).google.cloud.aiplatform.v1.DeployedIndexB\x03\xE0A\x02\"X\x0A\x13DeployIndexResponse\x12A\x0A\x0Edeployed_index\x18\x01 \x01(\x0B2).google.cloud.aiplatform.v1.DeployedIndex\"\x89\x01\x0A\x1CDeployIndexOperationMetadata\x12N\x0A\x10generic_metadata\x18\x01 \x01(\x0B24.google.cloud.aiplatform.v1.GenericOperationMetadata\x12\x19\x0A\x11deployed_index_id\x18\x02 \x01(\x09\"\x7F\x0A\x14UndeployIndexRequest\x12G\x0A\x0Eindex_endpoint\x18\x01 \x01(\x09B/\xE0A\x02\xFAA)\x0A'aiplatform.googleapis.com/IndexEndpoint\x12\x1E\x0A\x11deployed_index_id\x18\x02 \x01(\x09B\x03\xE0A\x02\"\x17\x0A\x15UndeployIndexResponse\"p\x0A\x1EUndeployIndexOperationMetadata\x12N\x0A\x10generic_metadata\x18\x01 \x01(\x0B24.google.cloud.aiplatform.v1.GenericOperationMetadata\"\xAD\x01\x0A\x1AMutateDeployedIndexRequest\x12G\x0A\x0Eindex_endpoint\x18\x01 \x01(\x09B/\xE0A\x02\xFAA)\x0A'aiplatform.googleapis.com/IndexEndpoint\x12F\x0A\x0Edeployed_index\x18\x02 \x01(\x0B2).google.cloud.aiplatform.v1.DeployedIndexB\x03\xE0A\x02\"`\x0A\x1BMutateDeployedIndexResponse\x12A\x0A\x0Edeployed_index\x18\x01 \x01(\x0B2).google.cloud.aiplatform.v1.DeployedIndex\"\x91\x01\x0A\$MutateDeployedIndexOperationMetadata\x12N\x0A\x10generic_metadata\x18\x01 \x01(\x0B24.google.cloud.aiplatform.v1.GenericOperationMetadata\x12\x19\x0A\x11deployed_index_id\x18\x02 \x01(\x092\xAF\x10\x0A\x14IndexEndpointService\x12\x89\x02\x0A\x13CreateIndexEndpoint\x126.google.cloud.aiplatform.v1.CreateIndexEndpointRequest\x1A\x1D.google.longrunning.Operation\"\x9A\x01\xCAA5\x0A\x0DIndexEndpoint\x12\$CreateIndexEndpointOperationMetadata\xDAA\x15parent,index_endpoint\x82\xD3\xE4\x93\x02D\"2/v1/{parent=projects/*/locations/*}/indexEndpoints:\x0Eindex_endpoint\x12\xB5\x01\x0A\x10GetIndexEndpoint\x123.google.cloud.aiplatform.v1.GetIndexEndpointRequest\x1A).google.cloud.aiplatform.v1.IndexEndpoint\"A\xDAA\x04name\x82\xD3\xE4\x93\x024\x122/v1/{name=projects/*/locations/*/indexEndpoints/*}\x12\xC8\x01\x0A\x12ListIndexEndpoints\x125.google.cloud.aiplatform.v1.ListIndexEndpointsRequest\x1A6.google.cloud.aiplatform.v1.ListIndexEndpointsResponse\"C\xDAA\x06parent\x82\xD3\xE4\x93\x024\x122/v1/{parent=projects/*/locations/*}/indexEndpoints\x12\xF0\x01\x0A\x13UpdateIndexEndpoint\x126.google.cloud.aiplatform.v1.UpdateIndexEndpointRequest\x1A).google.cloud.aiplatform.v1.IndexEndpoint\"v\xDAA\x1Aindex_endpoint,update_mask\x82\xD3\xE4\x93\x02S2A/v1/{index_endpoint.name=projects/*/locations/*/indexEndpoints/*}:\x0Eindex_endpoint\x12\xE2\x01\x0A\x13DeleteIndexEndpoint\x126.google.cloud.aiplatform.v1.DeleteIndexEndpointRequest\x1A\x1D.google.longrunning.Operation\"t\xCAA0\x0A\x15google.protobuf.Empty\x12\x17DeleteOperationMetadata\xDAA\x04name\x82\xD3\xE4\x93\x024*2/v1/{name=projects/*/locations/*/indexEndpoints/*}\x12\x88\x02\x0A\x0BDeployIndex\x12..google.cloud.aiplatform.v1.DeployIndexRequest\x1A\x1D.google.longrunning.Operation\"\xA9\x01\xCAA3\x0A\x13DeployIndexResponse\x12\x1CDeployIndexOperationMetadata\xDAA\x1Dindex_endpoint,deployed_index\x82\xD3\xE4\x93\x02M\"H/v1/{index_endpoint=projects/*/locations/*/indexEndpoints/*}:deployIndex:\x01*\x12\x95\x02\x0A\x0DUndeployIndex\x120.google.cloud.aiplatform.v1.UndeployIndexRequest\x1A\x1D.google.longrunning.Operation\"\xB2\x01\xCAA7\x0A\x15UndeployIndexResponse\x12\x1EUndeployIndexOperationMetadata\xDAA index_endpoint,deployed_index_id\x82\xD3\xE4\x93\x02O\"J/v1/{index_endpoint=projects/*/locations/*/indexEndpoints/*}:undeployIndex:\x01*\x12\xBD\x02\x0A\x13MutateDeployedIndex\x126.google.cloud.aiplatform.v1.MutateDeployedIndexRequest\x1A\x1D.google.longrunning.Operation\"\xCE\x01\xCAAC\x0A\x1BMutateDeployedIndexResponse\x12\$MutateDeployedIndexOperationMetadata\xDAA\x1Dindex_endpoint,deployed_index\x82\xD3\xE4\x93\x02b\"P/v1/{index_endpoint=projects/*/locations/*/indexEndpoints/*}:mutateDeployedIndex:\x0Edeployed_index\x1AM\xCAA\x19aiplatform.googleapis.com\xD2A.https://www.googleapis.com/auth/cloud-platformB\xD7\x01\x0A\x1Ecom.google.cloud.aiplatform.v1B\x19IndexEndpointServiceProtoP\x01Z>cloud.google.com/go/aiplatform/apiv1/aiplatformpb;aiplatformpb\xAA\x02\x1AGoogle.Cloud.AIPlatform.V1\xCA\x02\x1AGoogle\\Cloud\\AIPlatform\\V1\xEA\x02\x1DGoogle::Cloud::AIPlatform::V1b\x06proto3" + , 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 000000000000..01d0a4743032 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/IndexService.php @@ -0,0 +1,33 @@ +internalAddGeneratedFile( + "\x0A\xEC\$\x0A.google/cloud/aiplatform/v1/index_service.proto\x12\x1Agoogle.cloud.aiplatform.v1\x1A\x17google/api/client.proto\x1A\x1Fgoogle/api/field_behavior.proto\x1A\x19google/api/resource.proto\x1A&google/cloud/aiplatform/v1/index.proto\x1A*google/cloud/aiplatform/v1/operation.proto\x1A#google/longrunning/operations.proto\x1A\x1Bgoogle/protobuf/empty.proto\x1A google/protobuf/field_mask.proto\"\x86\x01\x0A\x12CreateIndexRequest\x129\x0A\x06parent\x18\x01 \x01(\x09B)\xE0A\x02\xFAA#\x0A!locations.googleapis.com/Location\x125\x0A\x05index\x18\x02 \x01(\x0B2!.google.cloud.aiplatform.v1.IndexB\x03\xE0A\x02\"\xE6\x01\x0A\x1CCreateIndexOperationMetadata\x12N\x0A\x10generic_metadata\x18\x01 \x01(\x0B24.google.cloud.aiplatform.v1.GenericOperationMetadata\x12v\x0A*nearest_neighbor_search_operation_metadata\x18\x02 \x01(\x0B2B.google.cloud.aiplatform.v1.NearestNeighborSearchOperationMetadata\"H\x0A\x0FGetIndexRequest\x125\x0A\x04name\x18\x01 \x01(\x09B'\xE0A\x02\xFAA!\x0A\x1Faiplatform.googleapis.com/Index\"\xB5\x01\x0A\x12ListIndexesRequest\x129\x0A\x06parent\x18\x01 \x01(\x09B)\xE0A\x02\xFAA#\x0A!locations.googleapis.com/Location\x12\x0E\x0A\x06filter\x18\x02 \x01(\x09\x12\x11\x0A\x09page_size\x18\x03 \x01(\x05\x12\x12\x0A\x0Apage_token\x18\x04 \x01(\x09\x12-\x0A\x09read_mask\x18\x05 \x01(\x0B2\x1A.google.protobuf.FieldMask\"b\x0A\x13ListIndexesResponse\x122\x0A\x07indexes\x18\x01 \x03(\x0B2!.google.cloud.aiplatform.v1.Index\x12\x17\x0A\x0Fnext_page_token\x18\x02 \x01(\x09\"|\x0A\x12UpdateIndexRequest\x125\x0A\x05index\x18\x01 \x01(\x0B2!.google.cloud.aiplatform.v1.IndexB\x03\xE0A\x02\x12/\x0A\x0Bupdate_mask\x18\x02 \x01(\x0B2\x1A.google.protobuf.FieldMask\"\xE6\x01\x0A\x1CUpdateIndexOperationMetadata\x12N\x0A\x10generic_metadata\x18\x01 \x01(\x0B24.google.cloud.aiplatform.v1.GenericOperationMetadata\x12v\x0A*nearest_neighbor_search_operation_metadata\x18\x02 \x01(\x0B2B.google.cloud.aiplatform.v1.NearestNeighborSearchOperationMetadata\"K\x0A\x12DeleteIndexRequest\x125\x0A\x04name\x18\x01 \x01(\x09B'\xE0A\x02\xFAA!\x0A\x1Faiplatform.googleapis.com/Index\"\xC7\x01\x0A\x17UpsertDatapointsRequest\x126\x0A\x05index\x18\x01 \x01(\x09B'\xE0A\x02\xFAA!\x0A\x1Faiplatform.googleapis.com/Index\x12>\x0A\x0Adatapoints\x18\x02 \x03(\x0B2*.google.cloud.aiplatform.v1.IndexDatapoint\x124\x0A\x0Bupdate_mask\x18\x03 \x01(\x0B2\x1A.google.protobuf.FieldMaskB\x03\xE0A\x01\"\x1A\x0A\x18UpsertDatapointsResponse\"h\x0A\x17RemoveDatapointsRequest\x126\x0A\x05index\x18\x01 \x01(\x09B'\xE0A\x02\xFAA!\x0A\x1Faiplatform.googleapis.com/Index\x12\x15\x0A\x0Ddatapoint_ids\x18\x02 \x03(\x09\"\x1A\x0A\x18RemoveDatapointsResponse\"\x85\x09\x0A&NearestNeighborSearchOperationMetadata\x12{\x0A\x18content_validation_stats\x18\x01 \x03(\x0B2Y.google.cloud.aiplatform.v1.NearestNeighborSearchOperationMetadata.ContentValidationStats\x12\x18\x0A\x10data_bytes_count\x18\x02 \x01(\x03\x1A\xA6\x05\x0A\x0BRecordError\x12r\x0A\x0Aerror_type\x18\x01 \x01(\x0E2^.google.cloud.aiplatform.v1.NearestNeighborSearchOperationMetadata.RecordError.RecordErrorType\x12\x15\x0A\x0Derror_message\x18\x02 \x01(\x09\x12\x16\x0A\x0Esource_gcs_uri\x18\x03 \x01(\x09\x12\x14\x0A\x0Cembedding_id\x18\x04 \x01(\x09\x12\x12\x0A\x0Araw_record\x18\x05 \x01(\x09\"\xC9\x03\x0A\x0FRecordErrorType\x12\x1A\x0A\x16ERROR_TYPE_UNSPECIFIED\x10\x00\x12\x0E\x0A\x0AEMPTY_LINE\x10\x01\x12\x17\x0A\x13INVALID_JSON_SYNTAX\x10\x02\x12\x16\x0A\x12INVALID_CSV_SYNTAX\x10\x03\x12\x17\x0A\x13INVALID_AVRO_SYNTAX\x10\x04\x12\x18\x0A\x14INVALID_EMBEDDING_ID\x10\x05\x12\x1B\x0A\x17EMBEDDING_SIZE_MISMATCH\x10\x06\x12\x15\x0A\x11NAMESPACE_MISSING\x10\x07\x12\x11\x0A\x0DPARSING_ERROR\x10\x08\x12\x17\x0A\x13DUPLICATE_NAMESPACE\x10\x09\x12\x13\x0A\x0FOP_IN_DATAPOINT\x10\x0A\x12\x13\x0A\x0FMULTIPLE_VALUES\x10\x0B\x12\x19\x0A\x15INVALID_NUMERIC_VALUE\x10\x0C\x12\x14\x0A\x10INVALID_ENCODING\x10\x0D\x12\x1D\x0A\x19INVALID_SPARSE_DIMENSIONS\x10\x0E\x12\x17\x0A\x13INVALID_TOKEN_VALUE\x10\x0F\x12\x1C\x0A\x18INVALID_SPARSE_EMBEDDING\x10\x10\x12\x15\x0A\x11INVALID_EMBEDDING\x10\x11\x1A\x9A\x02\x0A\x16ContentValidationStats\x12\x16\x0A\x0Esource_gcs_uri\x18\x01 \x01(\x09\x12\x1A\x0A\x12valid_record_count\x18\x02 \x01(\x03\x12\x1C\x0A\x14invalid_record_count\x18\x03 \x01(\x03\x12f\x0A\x0Epartial_errors\x18\x04 \x03(\x0B2N.google.cloud.aiplatform.v1.NearestNeighborSearchOperationMetadata.RecordError\x12!\x0A\x19valid_sparse_record_count\x18\x05 \x01(\x03\x12#\x0A\x1Binvalid_sparse_record_count\x18\x06 \x01(\x032\xB6\x0B\x0A\x0CIndexService\x12\xCF\x01\x0A\x0BCreateIndex\x12..google.cloud.aiplatform.v1.CreateIndexRequest\x1A\x1D.google.longrunning.Operation\"q\xCAA%\x0A\x05Index\x12\x1CCreateIndexOperationMetadata\xDAA\x0Cparent,index\x82\xD3\xE4\x93\x024\"+/v1/{parent=projects/*/locations/*}/indexes:\x05index\x12\x96\x01\x0A\x08GetIndex\x12+.google.cloud.aiplatform.v1.GetIndexRequest\x1A!.google.cloud.aiplatform.v1.Index\":\xDAA\x04name\x82\xD3\xE4\x93\x02-\x12+/v1/{name=projects/*/locations/*/indexes/*}\x12\xAC\x01\x0A\x0BListIndexes\x12..google.cloud.aiplatform.v1.ListIndexesRequest\x1A/.google.cloud.aiplatform.v1.ListIndexesResponse\"<\xDAA\x06parent\x82\xD3\xE4\x93\x02-\x12+/v1/{parent=projects/*/locations/*}/indexes\x12\xDA\x01\x0A\x0BUpdateIndex\x12..google.cloud.aiplatform.v1.UpdateIndexRequest\x1A\x1D.google.longrunning.Operation\"|\xCAA%\x0A\x05Index\x12\x1CUpdateIndexOperationMetadata\xDAA\x11index,update_mask\x82\xD3\xE4\x93\x02:21/v1/{index.name=projects/*/locations/*/indexes/*}:\x05index\x12\xCB\x01\x0A\x0BDeleteIndex\x12..google.cloud.aiplatform.v1.DeleteIndexRequest\x1A\x1D.google.longrunning.Operation\"m\xCAA0\x0A\x15google.protobuf.Empty\x12\x17DeleteOperationMetadata\xDAA\x04name\x82\xD3\xE4\x93\x02-*+/v1/{name=projects/*/locations/*/indexes/*}\x12\xC7\x01\x0A\x10UpsertDatapoints\x123.google.cloud.aiplatform.v1.UpsertDatapointsRequest\x1A4.google.cloud.aiplatform.v1.UpsertDatapointsResponse\"H\x82\xD3\xE4\x93\x02B\"=/v1/{index=projects/*/locations/*/indexes/*}:upsertDatapoints:\x01*\x12\xC7\x01\x0A\x10RemoveDatapoints\x123.google.cloud.aiplatform.v1.RemoveDatapointsRequest\x1A4.google.cloud.aiplatform.v1.RemoveDatapointsResponse\"H\x82\xD3\xE4\x93\x02B\"=/v1/{index=projects/*/locations/*/indexes/*}:removeDatapoints:\x01*\x1AM\xCAA\x19aiplatform.googleapis.com\xD2A.https://www.googleapis.com/auth/cloud-platformB\xCF\x01\x0A\x1Ecom.google.cloud.aiplatform.v1B\x11IndexServiceProtoP\x01Z>cloud.google.com/go/aiplatform/apiv1/aiplatformpb;aiplatformpb\xAA\x02\x1AGoogle.Cloud.AIPlatform.V1\xCA\x02\x1AGoogle\\Cloud\\AIPlatform\\V1\xEA\x02\x1DGoogle::Cloud::AIPlatform::V1b\x06proto3" + , true); + + static::$is_initialized = true; + } +} + 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..2081ae2c091a --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/Io.php @@ -0,0 +1,28 @@ +internalAddGeneratedFile( + "\x0A\x93\x15\x0A#google/cloud/aiplatform/v1/io.proto\x12\x1Agoogle.cloud.aiplatform.v1\x1A\x19google/api/resource.proto\x1A)google/cloud/aiplatform/v1/api_auth.proto\x1A\x1Fgoogle/protobuf/timestamp.proto\"L\x0A\x0AAvroSource\x12>\x0A\x0Agcs_source\x18\x01 \x01(\x0B2%.google.cloud.aiplatform.v1.GcsSourceB\x03\xE0A\x02\"K\x0A\x09CsvSource\x12>\x0A\x0Agcs_source\x18\x01 \x01(\x0B2%.google.cloud.aiplatform.v1.GcsSourceB\x03\xE0A\x02\"\x1E\x0A\x09GcsSource\x12\x11\x0A\x04uris\x18\x01 \x03(\x09B\x03\xE0A\x02\"0\x0A\x0EGcsDestination\x12\x1E\x0A\x11output_uri_prefix\x18\x01 \x01(\x09B\x03\xE0A\x02\"(\x0A\x0EBigQuerySource\x12\x16\x0A\x09input_uri\x18\x01 \x01(\x09B\x03\xE0A\x02\".\x0A\x13BigQueryDestination\x12\x17\x0A\x0Aoutput_uri\x18\x01 \x01(\x09B\x03\xE0A\x02\"`\x0A\x1DVertexMultimodalDatasetSource\x12?\x0A\x0Cdataset_name\x18\x01 \x01(\x09B)\xE0A\x02\xFAA#\x0A!aiplatform.googleapis.com/Dataset\"\x93\x01\x0A\"VertexMultimodalDatasetDestination\x12R\x0A\x14bigquery_destination\x18\x01 \x01(\x0B2/.google.cloud.aiplatform.v1.BigQueryDestinationB\x03\xE0A\x01\x12\x19\x0A\x0Cdisplay_name\x18\x02 \x01(\x09B\x03\xE0A\x01\"Z\x0A\x0ECsvDestination\x12H\x0A\x0Fgcs_destination\x18\x01 \x01(\x0B2*.google.cloud.aiplatform.v1.GcsDestinationB\x03\xE0A\x02\"_\x0A\x13TFRecordDestination\x12H\x0A\x0Fgcs_destination\x18\x01 \x01(\x0B2*.google.cloud.aiplatform.v1.GcsDestinationB\x03\xE0A\x02\"7\x0A\x1CContainerRegistryDestination\x12\x17\x0A\x0Aoutput_uri\x18\x01 \x01(\x09B\x03\xE0A\x02\"\xD5\x02\x0A\x11GoogleDriveSource\x12S\x0A\x0Cresource_ids\x18\x01 \x03(\x0B28.google.cloud.aiplatform.v1.GoogleDriveSource.ResourceIdB\x03\xE0A\x02\x1A\xEA\x01\x0A\x0AResourceId\x12a\x0A\x0Dresource_type\x18\x01 \x01(\x0E2E.google.cloud.aiplatform.v1.GoogleDriveSource.ResourceId.ResourceTypeB\x03\xE0A\x02\x12\x18\x0A\x0Bresource_id\x18\x02 \x01(\x09B\x03\xE0A\x02\"_\x0A\x0CResourceType\x12\x1D\x0A\x19RESOURCE_TYPE_UNSPECIFIED\x10\x00\x12\x16\x0A\x12RESOURCE_TYPE_FILE\x10\x01\x12\x18\x0A\x14RESOURCE_TYPE_FOLDER\x10\x02\"\x14\x0A\x12DirectUploadSource\"\xA9\x03\x0A\x0BSlackSource\x12L\x0A\x08channels\x18\x01 \x03(\x0B25.google.cloud.aiplatform.v1.SlackSource.SlackChannelsB\x03\xE0A\x02\x1A\xCB\x02\x0A\x0DSlackChannels\x12Y\x0A\x08channels\x18\x01 \x03(\x0B2B.google.cloud.aiplatform.v1.SlackSource.SlackChannels.SlackChannelB\x03\xE0A\x02\x12M\x0A\x0Eapi_key_config\x18\x03 \x01(\x0B20.google.cloud.aiplatform.v1.ApiAuth.ApiKeyConfigB\x03\xE0A\x02\x1A\x8F\x01\x0A\x0CSlackChannel\x12\x17\x0A\x0Achannel_id\x18\x01 \x01(\x09B\x03\xE0A\x02\x123\x0A\x0Astart_time\x18\x02 \x01(\x0B2\x1A.google.protobuf.TimestampB\x03\xE0A\x01\x121\x0A\x08end_time\x18\x03 \x01(\x0B2\x1A.google.protobuf.TimestampB\x03\xE0A\x01\"\x91\x02\x0A\x0AJiraSource\x12M\x0A\x0Cjira_queries\x18\x01 \x03(\x0B22.google.cloud.aiplatform.v1.JiraSource.JiraQueriesB\x03\xE0A\x02\x1A\xB3\x01\x0A\x0BJiraQueries\x12\x10\x0A\x08projects\x18\x03 \x03(\x09\x12\x16\x0A\x0Ecustom_queries\x18\x04 \x03(\x09\x12\x12\x0A\x05email\x18\x05 \x01(\x09B\x03\xE0A\x02\x12\x17\x0A\x0Aserver_uri\x18\x06 \x01(\x09B\x03\xE0A\x02\x12M\x0A\x0Eapi_key_config\x18\x07 \x01(\x0B20.google.cloud.aiplatform.v1.ApiAuth.ApiKeyConfigB\x03\xE0A\x02\"\xB5\x03\x0A\x11SharePointSources\x12[\x0A\x13share_point_sources\x18\x01 \x03(\x0B2>.google.cloud.aiplatform.v1.SharePointSources.SharePointSource\x1A\xC2\x02\x0A\x10SharePointSource\x12 \x0A\x16sharepoint_folder_path\x18\x05 \x01(\x09H\x00\x12\x1E\x0A\x14sharepoint_folder_id\x18\x06 \x01(\x09H\x00\x12\x14\x0A\x0Adrive_name\x18\x07 \x01(\x09H\x01\x12\x12\x0A\x08drive_id\x18\x08 \x01(\x09H\x01\x12\x11\x0A\x09client_id\x18\x01 \x01(\x09\x12G\x0A\x0Dclient_secret\x18\x02 \x01(\x0B20.google.cloud.aiplatform.v1.ApiAuth.ApiKeyConfig\x12\x11\x0A\x09tenant_id\x18\x03 \x01(\x09\x12\x1C\x0A\x14sharepoint_site_name\x18\x04 \x01(\x09\x12\x14\x0A\x07file_id\x18\x09 \x01(\x09B\x03\xE0A\x03B\x0F\x0A\x0Dfolder_sourceB\x0E\x0A\x0Cdrive_sourceB\xC5\x01\x0A\x1Ecom.google.cloud.aiplatform.v1B\x07IoProtoP\x01Z>cloud.google.com/go/aiplatform/apiv1/aiplatformpb;aiplatformpb\xAA\x02\x1AGoogle.Cloud.AIPlatform.V1\xCA\x02\x1AGoogle\\Cloud\\AIPlatform\\V1\xEA\x02\x1DGoogle::Cloud::AIPlatform::V1b\x06proto3" + , 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..0d7b1579939f --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/JobService.php @@ -0,0 +1,39 @@ +internalAddGeneratedFile( + "\x0A\xEEx\x0A,google/cloud/aiplatform/v1/job_service.proto\x12\x1Agoogle.cloud.aiplatform.v1\x1A\x17google/api/client.proto\x1A\x1Fgoogle/api/field_behavior.proto\x1A\x19google/api/resource.proto\x1A5google/cloud/aiplatform/v1/batch_prediction_job.proto\x1A+google/cloud/aiplatform/v1/custom_job.proto\x1A2google/cloud/aiplatform/v1/data_labeling_job.proto\x1A:google/cloud/aiplatform/v1/hyperparameter_tuning_job.proto\x1A@google/cloud/aiplatform/v1/model_deployment_monitoring_job.proto\x1A(google/cloud/aiplatform/v1/nas_job.proto\x1A*google/cloud/aiplatform/v1/operation.proto\x1A#google/longrunning/operations.proto\x1A\x1Bgoogle/protobuf/empty.proto\x1A google/protobuf/field_mask.proto\x1A\x1Fgoogle/protobuf/timestamp.proto\"\x93\x01\x0A\x16CreateCustomJobRequest\x129\x0A\x06parent\x18\x01 \x01(\x09B)\xE0A\x02\xFAA#\x0A!locations.googleapis.com/Location\x12>\x0A\x0Acustom_job\x18\x02 \x01(\x0B2%.google.cloud.aiplatform.v1.CustomJobB\x03\xE0A\x02\"P\x0A\x13GetCustomJobRequest\x129\x0A\x04name\x18\x01 \x01(\x09B+\xE0A\x02\xFAA%\x0A#aiplatform.googleapis.com/CustomJob\"\xB8\x01\x0A\x15ListCustomJobsRequest\x129\x0A\x06parent\x18\x01 \x01(\x09B)\xE0A\x02\xFAA#\x0A!locations.googleapis.com/Location\x12\x0E\x0A\x06filter\x18\x02 \x01(\x09\x12\x11\x0A\x09page_size\x18\x03 \x01(\x05\x12\x12\x0A\x0Apage_token\x18\x04 \x01(\x09\x12-\x0A\x09read_mask\x18\x05 \x01(\x0B2\x1A.google.protobuf.FieldMask\"m\x0A\x16ListCustomJobsResponse\x12:\x0A\x0Bcustom_jobs\x18\x01 \x03(\x0B2%.google.cloud.aiplatform.v1.CustomJob\x12\x17\x0A\x0Fnext_page_token\x18\x02 \x01(\x09\"S\x0A\x16DeleteCustomJobRequest\x129\x0A\x04name\x18\x01 \x01(\x09B+\xE0A\x02\xFAA%\x0A#aiplatform.googleapis.com/CustomJob\"S\x0A\x16CancelCustomJobRequest\x129\x0A\x04name\x18\x01 \x01(\x09B+\xE0A\x02\xFAA%\x0A#aiplatform.googleapis.com/CustomJob\"\xA6\x01\x0A\x1CCreateDataLabelingJobRequest\x129\x0A\x06parent\x18\x01 \x01(\x09B)\xE0A\x02\xFAA#\x0A!locations.googleapis.com/Location\x12K\x0A\x11data_labeling_job\x18\x02 \x01(\x0B2+.google.cloud.aiplatform.v1.DataLabelingJobB\x03\xE0A\x02\"\\\x0A\x19GetDataLabelingJobRequest\x12?\x0A\x04name\x18\x01 \x01(\x09B1\xE0A\x02\xFAA+\x0A)aiplatform.googleapis.com/DataLabelingJob\"\xD0\x01\x0A\x1BListDataLabelingJobsRequest\x129\x0A\x06parent\x18\x01 \x01(\x09B)\xE0A\x02\xFAA#\x0A!locations.googleapis.com/Location\x12\x0E\x0A\x06filter\x18\x02 \x01(\x09\x12\x11\x0A\x09page_size\x18\x03 \x01(\x05\x12\x12\x0A\x0Apage_token\x18\x04 \x01(\x09\x12-\x0A\x09read_mask\x18\x05 \x01(\x0B2\x1A.google.protobuf.FieldMask\x12\x10\x0A\x08order_by\x18\x06 \x01(\x09\"\x80\x01\x0A\x1CListDataLabelingJobsResponse\x12G\x0A\x12data_labeling_jobs\x18\x01 \x03(\x0B2+.google.cloud.aiplatform.v1.DataLabelingJob\x12\x17\x0A\x0Fnext_page_token\x18\x02 \x01(\x09\"_\x0A\x1CDeleteDataLabelingJobRequest\x12?\x0A\x04name\x18\x01 \x01(\x09B1\xE0A\x02\xFAA+\x0A)aiplatform.googleapis.com/DataLabelingJob\"_\x0A\x1CCancelDataLabelingJobRequest\x12?\x0A\x04name\x18\x01 \x01(\x09B1\xE0A\x02\xFAA+\x0A)aiplatform.googleapis.com/DataLabelingJob\"\xBE\x01\x0A\$CreateHyperparameterTuningJobRequest\x129\x0A\x06parent\x18\x01 \x01(\x09B)\xE0A\x02\xFAA#\x0A!locations.googleapis.com/Location\x12[\x0A\x19hyperparameter_tuning_job\x18\x02 \x01(\x0B23.google.cloud.aiplatform.v1.HyperparameterTuningJobB\x03\xE0A\x02\"l\x0A!GetHyperparameterTuningJobRequest\x12G\x0A\x04name\x18\x01 \x01(\x09B9\xE0A\x02\xFAA3\x0A1aiplatform.googleapis.com/HyperparameterTuningJob\"\xC6\x01\x0A#ListHyperparameterTuningJobsRequest\x129\x0A\x06parent\x18\x01 \x01(\x09B)\xE0A\x02\xFAA#\x0A!locations.googleapis.com/Location\x12\x0E\x0A\x06filter\x18\x02 \x01(\x09\x12\x11\x0A\x09page_size\x18\x03 \x01(\x05\x12\x12\x0A\x0Apage_token\x18\x04 \x01(\x09\x12-\x0A\x09read_mask\x18\x05 \x01(\x0B2\x1A.google.protobuf.FieldMask\"\x98\x01\x0A\$ListHyperparameterTuningJobsResponse\x12W\x0A\x1Ahyperparameter_tuning_jobs\x18\x01 \x03(\x0B23.google.cloud.aiplatform.v1.HyperparameterTuningJob\x12\x17\x0A\x0Fnext_page_token\x18\x02 \x01(\x09\"o\x0A\$DeleteHyperparameterTuningJobRequest\x12G\x0A\x04name\x18\x01 \x01(\x09B9\xE0A\x02\xFAA3\x0A1aiplatform.googleapis.com/HyperparameterTuningJob\"o\x0A\$CancelHyperparameterTuningJobRequest\x12G\x0A\x04name\x18\x01 \x01(\x09B9\xE0A\x02\xFAA3\x0A1aiplatform.googleapis.com/HyperparameterTuningJob\"\x8A\x01\x0A\x13CreateNasJobRequest\x129\x0A\x06parent\x18\x01 \x01(\x09B)\xE0A\x02\xFAA#\x0A!locations.googleapis.com/Location\x128\x0A\x07nas_job\x18\x02 \x01(\x0B2\".google.cloud.aiplatform.v1.NasJobB\x03\xE0A\x02\"J\x0A\x10GetNasJobRequest\x126\x0A\x04name\x18\x01 \x01(\x09B(\xE0A\x02\xFAA\"\x0A aiplatform.googleapis.com/NasJob\"\xB5\x01\x0A\x12ListNasJobsRequest\x129\x0A\x06parent\x18\x01 \x01(\x09B)\xE0A\x02\xFAA#\x0A!locations.googleapis.com/Location\x12\x0E\x0A\x06filter\x18\x02 \x01(\x09\x12\x11\x0A\x09page_size\x18\x03 \x01(\x05\x12\x12\x0A\x0Apage_token\x18\x04 \x01(\x09\x12-\x0A\x09read_mask\x18\x05 \x01(\x0B2\x1A.google.protobuf.FieldMask\"d\x0A\x13ListNasJobsResponse\x124\x0A\x08nas_jobs\x18\x01 \x03(\x0B2\".google.cloud.aiplatform.v1.NasJob\x12\x17\x0A\x0Fnext_page_token\x18\x02 \x01(\x09\"M\x0A\x13DeleteNasJobRequest\x126\x0A\x04name\x18\x01 \x01(\x09B(\xE0A\x02\xFAA\"\x0A aiplatform.googleapis.com/NasJob\"M\x0A\x13CancelNasJobRequest\x126\x0A\x04name\x18\x01 \x01(\x09B(\xE0A\x02\xFAA\"\x0A aiplatform.googleapis.com/NasJob\"Z\x0A\x18GetNasTrialDetailRequest\x12>\x0A\x04name\x18\x01 \x01(\x09B0\xE0A\x02\xFAA*\x0A(aiplatform.googleapis.com/NasTrialDetail\"}\x0A\x1AListNasTrialDetailsRequest\x128\x0A\x06parent\x18\x01 \x01(\x09B(\xE0A\x02\xFAA\"\x0A aiplatform.googleapis.com/NasJob\x12\x11\x0A\x09page_size\x18\x02 \x01(\x05\x12\x12\x0A\x0Apage_token\x18\x03 \x01(\x09\"}\x0A\x1BListNasTrialDetailsResponse\x12E\x0A\x11nas_trial_details\x18\x01 \x03(\x0B2*.google.cloud.aiplatform.v1.NasTrialDetail\x12\x17\x0A\x0Fnext_page_token\x18\x02 \x01(\x09\"\xAF\x01\x0A\x1FCreateBatchPredictionJobRequest\x129\x0A\x06parent\x18\x01 \x01(\x09B)\xE0A\x02\xFAA#\x0A!locations.googleapis.com/Location\x12Q\x0A\x14batch_prediction_job\x18\x02 \x01(\x0B2..google.cloud.aiplatform.v1.BatchPredictionJobB\x03\xE0A\x02\"b\x0A\x1CGetBatchPredictionJobRequest\x12B\x0A\x04name\x18\x01 \x01(\x09B4\xE0A\x02\xFAA.\x0A,aiplatform.googleapis.com/BatchPredictionJob\"\xC1\x01\x0A\x1EListBatchPredictionJobsRequest\x129\x0A\x06parent\x18\x01 \x01(\x09B)\xE0A\x02\xFAA#\x0A!locations.googleapis.com/Location\x12\x0E\x0A\x06filter\x18\x02 \x01(\x09\x12\x11\x0A\x09page_size\x18\x03 \x01(\x05\x12\x12\x0A\x0Apage_token\x18\x04 \x01(\x09\x12-\x0A\x09read_mask\x18\x05 \x01(\x0B2\x1A.google.protobuf.FieldMask\"\x89\x01\x0A\x1FListBatchPredictionJobsResponse\x12M\x0A\x15batch_prediction_jobs\x18\x01 \x03(\x0B2..google.cloud.aiplatform.v1.BatchPredictionJob\x12\x17\x0A\x0Fnext_page_token\x18\x02 \x01(\x09\"e\x0A\x1FDeleteBatchPredictionJobRequest\x12B\x0A\x04name\x18\x01 \x01(\x09B4\xE0A\x02\xFAA.\x0A,aiplatform.googleapis.com/BatchPredictionJob\"e\x0A\x1FCancelBatchPredictionJobRequest\x12B\x0A\x04name\x18\x01 \x01(\x09B4\xE0A\x02\xFAA.\x0A,aiplatform.googleapis.com/BatchPredictionJob\"\xCE\x01\x0A)CreateModelDeploymentMonitoringJobRequest\x129\x0A\x06parent\x18\x01 \x01(\x09B)\xE0A\x02\xFAA#\x0A!locations.googleapis.com/Location\x12f\x0A\x1Fmodel_deployment_monitoring_job\x18\x02 \x01(\x0B28.google.cloud.aiplatform.v1.ModelDeploymentMonitoringJobB\x03\xE0A\x02\"\xEF\x04\x0A4SearchModelDeploymentMonitoringStatsAnomaliesRequest\x12g\x0A\x1Fmodel_deployment_monitoring_job\x18\x01 \x01(\x09B>\xE0A\x02\xFAA8\x0A6aiplatform.googleapis.com/ModelDeploymentMonitoringJob\x12\x1E\x0A\x11deployed_model_id\x18\x02 \x01(\x09B\x03\xE0A\x02\x12\x1C\x0A\x14feature_display_name\x18\x03 \x01(\x09\x12\x81\x01\x0A\x0Aobjectives\x18\x04 \x03(\x0B2h.google.cloud.aiplatform.v1.SearchModelDeploymentMonitoringStatsAnomaliesRequest.StatsAnomaliesObjectiveB\x03\xE0A\x02\x12\x11\x0A\x09page_size\x18\x05 \x01(\x05\x12\x12\x0A\x0Apage_token\x18\x06 \x01(\x09\x12.\x0A\x0Astart_time\x18\x07 \x01(\x0B2\x1A.google.protobuf.Timestamp\x12,\x0A\x08end_time\x18\x08 \x01(\x0B2\x1A.google.protobuf.Timestamp\x1A\x86\x01\x0A\x17StatsAnomaliesObjective\x12P\x0A\x04type\x18\x01 \x01(\x0E2B.google.cloud.aiplatform.v1.ModelDeploymentMonitoringObjectiveType\x12\x19\x0A\x11top_feature_count\x18\x04 \x01(\x05\"\xA5\x01\x0A5SearchModelDeploymentMonitoringStatsAnomaliesResponse\x12S\x0A\x10monitoring_stats\x18\x01 \x03(\x0B29.google.cloud.aiplatform.v1.ModelMonitoringStatsAnomalies\x12\x17\x0A\x0Fnext_page_token\x18\x02 \x01(\x09\"v\x0A&GetModelDeploymentMonitoringJobRequest\x12L\x0A\x04name\x18\x01 \x01(\x09B>\xE0A\x02\xFAA8\x0A6aiplatform.googleapis.com/ModelDeploymentMonitoringJob\"\xCB\x01\x0A(ListModelDeploymentMonitoringJobsRequest\x129\x0A\x06parent\x18\x01 \x01(\x09B)\xE0A\x02\xFAA#\x0A!locations.googleapis.com/Location\x12\x0E\x0A\x06filter\x18\x02 \x01(\x09\x12\x11\x0A\x09page_size\x18\x03 \x01(\x05\x12\x12\x0A\x0Apage_token\x18\x04 \x01(\x09\x12-\x0A\x09read_mask\x18\x05 \x01(\x0B2\x1A.google.protobuf.FieldMask\"\xA8\x01\x0A)ListModelDeploymentMonitoringJobsResponse\x12b\x0A model_deployment_monitoring_jobs\x18\x01 \x03(\x0B28.google.cloud.aiplatform.v1.ModelDeploymentMonitoringJob\x12\x17\x0A\x0Fnext_page_token\x18\x02 \x01(\x09\"\xC9\x01\x0A)UpdateModelDeploymentMonitoringJobRequest\x12f\x0A\x1Fmodel_deployment_monitoring_job\x18\x01 \x01(\x0B28.google.cloud.aiplatform.v1.ModelDeploymentMonitoringJobB\x03\xE0A\x02\x124\x0A\x0Bupdate_mask\x18\x02 \x01(\x0B2\x1A.google.protobuf.FieldMaskB\x03\xE0A\x02\"y\x0A)DeleteModelDeploymentMonitoringJobRequest\x12L\x0A\x04name\x18\x01 \x01(\x09B>\xE0A\x02\xFAA8\x0A6aiplatform.googleapis.com/ModelDeploymentMonitoringJob\"x\x0A(PauseModelDeploymentMonitoringJobRequest\x12L\x0A\x04name\x18\x01 \x01(\x09B>\xE0A\x02\xFAA8\x0A6aiplatform.googleapis.com/ModelDeploymentMonitoringJob\"y\x0A)ResumeModelDeploymentMonitoringJobRequest\x12L\x0A\x04name\x18\x01 \x01(\x09B>\xE0A\x02\xFAA8\x0A6aiplatform.googleapis.com/ModelDeploymentMonitoringJob\"\x85\x01\x0A3UpdateModelDeploymentMonitoringJobOperationMetadata\x12N\x0A\x10generic_metadata\x18\x01 \x01(\x0B24.google.cloud.aiplatform.v1.GenericOperationMetadata2\xF0?\x0A\x0AJobService\x12\xC4\x01\x0A\x0FCreateCustomJob\x122.google.cloud.aiplatform.v1.CreateCustomJobRequest\x1A%.google.cloud.aiplatform.v1.CustomJob\"V\xDAA\x11parent,custom_job\x82\xD3\xE4\x93\x02<\"./v1/{parent=projects/*/locations/*}/customJobs:\x0Acustom_job\x12\xA5\x01\x0A\x0CGetCustomJob\x12/.google.cloud.aiplatform.v1.GetCustomJobRequest\x1A%.google.cloud.aiplatform.v1.CustomJob\"=\xDAA\x04name\x82\xD3\xE4\x93\x020\x12./v1/{name=projects/*/locations/*/customJobs/*}\x12\xB8\x01\x0A\x0EListCustomJobs\x121.google.cloud.aiplatform.v1.ListCustomJobsRequest\x1A2.google.cloud.aiplatform.v1.ListCustomJobsResponse\"?\xDAA\x06parent\x82\xD3\xE4\x93\x020\x12./v1/{parent=projects/*/locations/*}/customJobs\x12\xD6\x01\x0A\x0FDeleteCustomJob\x122.google.cloud.aiplatform.v1.DeleteCustomJobRequest\x1A\x1D.google.longrunning.Operation\"p\xCAA0\x0A\x15google.protobuf.Empty\x12\x17DeleteOperationMetadata\xDAA\x04name\x82\xD3\xE4\x93\x020*./v1/{name=projects/*/locations/*/customJobs/*}\x12\xA6\x01\x0A\x0FCancelCustomJob\x122.google.cloud.aiplatform.v1.CancelCustomJobRequest\x1A\x16.google.protobuf.Empty\"G\xDAA\x04name\x82\xD3\xE4\x93\x02:\"5/v1/{name=projects/*/locations/*/customJobs/*}:cancel:\x01*\x12\xEA\x01\x0A\x15CreateDataLabelingJob\x128.google.cloud.aiplatform.v1.CreateDataLabelingJobRequest\x1A+.google.cloud.aiplatform.v1.DataLabelingJob\"j\xDAA\x18parent,data_labeling_job\x82\xD3\xE4\x93\x02I\"4/v1/{parent=projects/*/locations/*}/dataLabelingJobs:\x11data_labeling_job\x12\xBD\x01\x0A\x12GetDataLabelingJob\x125.google.cloud.aiplatform.v1.GetDataLabelingJobRequest\x1A+.google.cloud.aiplatform.v1.DataLabelingJob\"C\xDAA\x04name\x82\xD3\xE4\x93\x026\x124/v1/{name=projects/*/locations/*/dataLabelingJobs/*}\x12\xD0\x01\x0A\x14ListDataLabelingJobs\x127.google.cloud.aiplatform.v1.ListDataLabelingJobsRequest\x1A8.google.cloud.aiplatform.v1.ListDataLabelingJobsResponse\"E\xDAA\x06parent\x82\xD3\xE4\x93\x026\x124/v1/{parent=projects/*/locations/*}/dataLabelingJobs\x12\xE8\x01\x0A\x15DeleteDataLabelingJob\x128.google.cloud.aiplatform.v1.DeleteDataLabelingJobRequest\x1A\x1D.google.longrunning.Operation\"v\xCAA0\x0A\x15google.protobuf.Empty\x12\x17DeleteOperationMetadata\xDAA\x04name\x82\xD3\xE4\x93\x026*4/v1/{name=projects/*/locations/*/dataLabelingJobs/*}\x12\xB8\x01\x0A\x15CancelDataLabelingJob\x128.google.cloud.aiplatform.v1.CancelDataLabelingJobRequest\x1A\x16.google.protobuf.Empty\"M\xDAA\x04name\x82\xD3\xE4\x93\x02@\";/v1/{name=projects/*/locations/*/dataLabelingJobs/*}:cancel:\x01*\x12\x9B\x02\x0A\x1DCreateHyperparameterTuningJob\x12@.google.cloud.aiplatform.v1.CreateHyperparameterTuningJobRequest\x1A3.google.cloud.aiplatform.v1.HyperparameterTuningJob\"\x82\x01\xDAA parent,hyperparameter_tuning_job\x82\xD3\xE4\x93\x02Y\"\x12\x12*/v1/{name=projects/*/locations/*/batchPredictionJobs/*}:cancel:\x01*\x12\xBB\x02\x0A\"CreateModelDeploymentMonitoringJob\x12E.google.cloud.aiplatform.v1.CreateModelDeploymentMonitoringJobRequest\x1A8.google.cloud.aiplatform.v1.ModelDeploymentMonitoringJob\"\x93\x01\xDAA&parent,model_deployment_monitoring_job\x82\xD3\xE4\x93\x02d\"A/v1/{parent=projects/*/locations/*}/modelDeploymentMonitoringJobs:\x1Fmodel_deployment_monitoring_job\x12\xA2\x03\x0A-SearchModelDeploymentMonitoringStatsAnomalies\x12P.google.cloud.aiplatform.v1.SearchModelDeploymentMonitoringStatsAnomaliesRequest\x1AQ.google.cloud.aiplatform.v1.SearchModelDeploymentMonitoringStatsAnomaliesResponse\"\xCB\x01\xDAA1model_deployment_monitoring_job,deployed_model_id\x82\xD3\xE4\x93\x02\x90\x01\"\x8A\x01/v1/{model_deployment_monitoring_job=projects/*/locations/*/modelDeploymentMonitoringJobs/*}:searchModelDeploymentMonitoringStatsAnomalies:\x01*\x12\xF1\x01\x0A\x1FGetModelDeploymentMonitoringJob\x12B.google.cloud.aiplatform.v1.GetModelDeploymentMonitoringJobRequest\x1A8.google.cloud.aiplatform.v1.ModelDeploymentMonitoringJob\"P\xDAA\x04name\x82\xD3\xE4\x93\x02C\x12A/v1/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*}\x12\x84\x02\x0A!ListModelDeploymentMonitoringJobs\x12D.google.cloud.aiplatform.v1.ListModelDeploymentMonitoringJobsRequest\x1AE.google.cloud.aiplatform.v1.ListModelDeploymentMonitoringJobsResponse\"R\xDAA\x06parent\x82\xD3\xE4\x93\x02C\x12A/v1/{parent=projects/*/locations/*}/modelDeploymentMonitoringJobs\x12\x9C\x03\x0A\"UpdateModelDeploymentMonitoringJob\x12E.google.cloud.aiplatform.v1.UpdateModelDeploymentMonitoringJobRequest\x1A\x1D.google.longrunning.Operation\"\x8F\x02\xCAAS\x0A\x1CModelDeploymentMonitoringJob\x123UpdateModelDeploymentMonitoringJobOperationMetadata\xDAA+model_deployment_monitoring_job,update_mask\x82\xD3\xE4\x93\x02\x84\x012a/v1/{model_deployment_monitoring_job.name=projects/*/locations/*/modelDeploymentMonitoringJobs/*}:\x1Fmodel_deployment_monitoring_job\x12\x90\x02\x0A\"DeleteModelDeploymentMonitoringJob\x12E.google.cloud.aiplatform.v1.DeleteModelDeploymentMonitoringJobRequest\x1A\x1D.google.longrunning.Operation\"\x83\x01\xCAA0\x0A\x15google.protobuf.Empty\x12\x17DeleteOperationMetadata\xDAA\x04name\x82\xD3\xE4\x93\x02C*A/v1/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*}\x12\xDC\x01\x0A!PauseModelDeploymentMonitoringJob\x12D.google.cloud.aiplatform.v1.PauseModelDeploymentMonitoringJobRequest\x1A\x16.google.protobuf.Empty\"Y\xDAA\x04name\x82\xD3\xE4\x93\x02L\"G/v1/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*}:pause:\x01*\x12\xDF\x01\x0A\"ResumeModelDeploymentMonitoringJob\x12E.google.cloud.aiplatform.v1.ResumeModelDeploymentMonitoringJobRequest\x1A\x16.google.protobuf.Empty\"Z\xDAA\x04name\x82\xD3\xE4\x93\x02M\"H/v1/{name=projects/*/locations/*/modelDeploymentMonitoringJobs/*}:resume:\x01*\x1A\x86\x01\xCAA\x19aiplatform.googleapis.com\xD2Aghttps://www.googleapis.com/auth/cloud-platform,https://www.googleapis.com/auth/cloud-platform.read-onlyB\xCD\x01\x0A\x1Ecom.google.cloud.aiplatform.v1B\x0FJobServiceProtoP\x01Z>cloud.google.com/go/aiplatform/apiv1/aiplatformpb;aiplatformpb\xAA\x02\x1AGoogle.Cloud.AIPlatform.V1\xCA\x02\x1AGoogle\\Cloud\\AIPlatform\\V1\xEA\x02\x1DGoogle::Cloud::AIPlatform::V1b\x06proto3" + , 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 000000000000..074b1bc55e94 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/JobState.php @@ -0,0 +1,24 @@ +internalAddGeneratedFile( + "\x0A\xD4\x04\x0A*google/cloud/aiplatform/v1/job_state.proto\x12\x1Agoogle.cloud.aiplatform.v1*\xB3\x02\x0A\x08JobState\x12\x19\x0A\x15JOB_STATE_UNSPECIFIED\x10\x00\x12\x14\x0A\x10JOB_STATE_QUEUED\x10\x01\x12\x15\x0A\x11JOB_STATE_PENDING\x10\x02\x12\x15\x0A\x11JOB_STATE_RUNNING\x10\x03\x12\x17\x0A\x13JOB_STATE_SUCCEEDED\x10\x04\x12\x14\x0A\x10JOB_STATE_FAILED\x10\x05\x12\x18\x0A\x14JOB_STATE_CANCELLING\x10\x06\x12\x17\x0A\x13JOB_STATE_CANCELLED\x10\x07\x12\x14\x0A\x10JOB_STATE_PAUSED\x10\x08\x12\x15\x0A\x11JOB_STATE_EXPIRED\x10\x09\x12\x16\x0A\x12JOB_STATE_UPDATING\x10\x0A\x12!\x0A\x1DJOB_STATE_PARTIALLY_SUCCEEDED\x10\x0BB\xCB\x01\x0A\x1Ecom.google.cloud.aiplatform.v1B\x0DJobStateProtoP\x01Z>cloud.google.com/go/aiplatform/apiv1/aiplatformpb;aiplatformpb\xAA\x02\x1AGoogle.Cloud.AIPlatform.V1\xCA\x02\x1AGoogle\\Cloud\\AIPlatform\\V1\xEA\x02\x1DGoogle::Cloud::AIPlatform::V1b\x06proto3" + , true); + + static::$is_initialized = true; + } +} + 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..937e301d35a0 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/LineageSubgraph.php @@ -0,0 +1,27 @@ +internalAddGeneratedFile( + "\x0A\xBB\x04\x0A1google/cloud/aiplatform/v1/lineage_subgraph.proto\x12\x1Agoogle.cloud.aiplatform.v1\x1A&google/cloud/aiplatform/v1/event.proto\x1A*google/cloud/aiplatform/v1/execution.proto\"\xB8\x01\x0A\x0FLineageSubgraph\x127\x0A\x09artifacts\x18\x01 \x03(\x0B2\$.google.cloud.aiplatform.v1.Artifact\x129\x0A\x0Aexecutions\x18\x02 \x03(\x0B2%.google.cloud.aiplatform.v1.Execution\x121\x0A\x06events\x18\x03 \x03(\x0B2!.google.cloud.aiplatform.v1.EventB\xD2\x01\x0A\x1Ecom.google.cloud.aiplatform.v1B\x14LineageSubgraphProtoP\x01Z>cloud.google.com/go/aiplatform/apiv1/aiplatformpb;aiplatformpb\xAA\x02\x1AGoogle.Cloud.AIPlatform.V1\xCA\x02\x1AGoogle\\Cloud\\AIPlatform\\V1\xEA\x02\x1DGoogle::Cloud::AIPlatform::V1b\x06proto3" + , 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..bca4b24eab13 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/LlmUtilityService.php @@ -0,0 +1,31 @@ +internalAddGeneratedFile( + "\x0A\xEF\x0D\x0A4google/cloud/aiplatform/v1/llm_utility_service.proto\x12\x1Agoogle.cloud.aiplatform.v1\x1A\x17google/api/client.proto\x1A\x1Fgoogle/api/field_behavior.proto\x1A\x19google/api/resource.proto\x1A(google/cloud/aiplatform/v1/content.proto\x1A3google/cloud/aiplatform/v1/prediction_service.proto\x1A\x1Cgoogle/protobuf/struct.proto\"\xD4\x01\x0A\x14ComputeTokensRequest\x12<\x0A\x08endpoint\x18\x01 \x01(\x09B*\xE0A\x02\xFAA\$\x0A\"aiplatform.googleapis.com/Endpoint\x12.\x0A\x09instances\x18\x02 \x03(\x0B2\x16.google.protobuf.ValueB\x03\xE0A\x01\x12\x12\x0A\x05model\x18\x03 \x01(\x09B\x03\xE0A\x01\x12:\x0A\x08contents\x18\x04 \x03(\x0B2#.google.cloud.aiplatform.v1.ContentB\x03\xE0A\x01\"B\x0A\x0ATokensInfo\x12\x0E\x0A\x06tokens\x18\x01 \x03(\x0C\x12\x11\x0A\x09token_ids\x18\x02 \x03(\x03\x12\x11\x0A\x04role\x18\x03 \x01(\x09B\x03\xE0A\x01\"T\x0A\x15ComputeTokensResponse\x12;\x0A\x0Btokens_info\x18\x01 \x03(\x0B2&.google.cloud.aiplatform.v1.TokensInfo2\xF8\x06\x0A\x11LlmUtilityService\x12\x81\x03\x0A\x0BCountTokens\x12..google.cloud.aiplatform.v1.CountTokensRequest\x1A/.google.cloud.aiplatform.v1.CountTokensResponse\"\x90\x02\xDAA\x12endpoint,instances\x82\xD3\xE4\x93\x02\xF4\x01\"=/v1/{endpoint=projects/*/locations/*/endpoints/*}:countTokens:\x01*ZL\"G/v1/{endpoint=projects/*/locations/*/publishers/*/models/*}:countTokens:\x01*Z+\"&/v1/{endpoint=endpoints/*}:countTokens:\x01*Z5\"0/v1/{endpoint=publishers/*/models/*}:countTokens:\x01*\x12\x8F\x03\x0A\x0DComputeTokens\x120.google.cloud.aiplatform.v1.ComputeTokensRequest\x1A1.google.cloud.aiplatform.v1.ComputeTokensResponse\"\x98\x02\xDAA\x12endpoint,instances\x82\xD3\xE4\x93\x02\xFC\x01\"?/v1/{endpoint=projects/*/locations/*/endpoints/*}:computeTokens:\x01*ZN\"I/v1/{endpoint=projects/*/locations/*/publishers/*/models/*}:computeTokens:\x01*Z-\"(/v1/{endpoint=endpoints/*}:computeTokens:\x01*Z7\"2/v1/{endpoint=publishers/*/models/*}:computeTokens:\x01*\x1AM\xCAA\x19aiplatform.googleapis.com\xD2A.https://www.googleapis.com/auth/cloud-platformB\xD4\x01\x0A\x1Ecom.google.cloud.aiplatform.v1B\x16LlmUtilityServiceProtoP\x01Z>cloud.google.com/go/aiplatform/apiv1/aiplatformpb;aiplatformpb\xAA\x02\x1AGoogle.Cloud.AIPlatform.V1\xCA\x02\x1AGoogle\\Cloud\\AIPlatform\\V1\xEA\x02\x1DGoogle::Cloud::AIPlatform::V1b\x06proto3" + , 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..f8e5c311aa14 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/MachineResources.php @@ -0,0 +1,27 @@ +internalAddGeneratedFile( + "\x0A\xD9\x0D\x0A2google/cloud/aiplatform/v1/machine_resources.proto\x12\x1Agoogle.cloud.aiplatform.v1\x1A1google/cloud/aiplatform/v1/accelerator_type.proto\x1A5google/cloud/aiplatform/v1/reservation_affinity.proto\"\xA5\x02\x0A\x0BMachineSpec\x12\x19\x0A\x0Cmachine_type\x18\x01 \x01(\x09B\x03\xE0A\x05\x12J\x0A\x10accelerator_type\x18\x02 \x01(\x0E2+.google.cloud.aiplatform.v1.AcceleratorTypeB\x03\xE0A\x05\x12\x19\x0A\x11accelerator_count\x18\x03 \x01(\x05\x12\"\x0A\x12gpu_partition_size\x18\x07 \x01(\x09B\x06\xE0A\x05\xE0A\x01\x12\x19\x0A\x0Ctpu_topology\x18\x04 \x01(\x09B\x03\xE0A\x05\x12U\x0A\x14reservation_affinity\x18\x05 \x01(\x0B2/.google.cloud.aiplatform.v1.ReservationAffinityB\x06\xE0A\x05\xE0A\x01\"\xB0\x02\x0A\x12DedicatedResources\x12E\x0A\x0Cmachine_spec\x18\x01 \x01(\x0B2'.google.cloud.aiplatform.v1.MachineSpecB\x06\xE0A\x02\xE0A\x05\x12!\x0A\x11min_replica_count\x18\x02 \x01(\x05B\x06\xE0A\x02\xE0A\x05\x12\x1E\x0A\x11max_replica_count\x18\x03 \x01(\x05B\x03\xE0A\x05\x12#\x0A\x16required_replica_count\x18\x09 \x01(\x05B\x03\xE0A\x01\x12X\x0A\x18autoscaling_metric_specs\x18\x04 \x03(\x0B21.google.cloud.aiplatform.v1.AutoscalingMetricSpecB\x03\xE0A\x05\x12\x11\x0A\x04spot\x18\x05 \x01(\x08B\x03\xE0A\x01\"T\x0A\x12AutomaticResources\x12\x1E\x0A\x11min_replica_count\x18\x01 \x01(\x05B\x03\xE0A\x05\x12\x1E\x0A\x11max_replica_count\x18\x02 \x01(\x05B\x03\xE0A\x05\"\xA5\x01\x0A\x17BatchDedicatedResources\x12E\x0A\x0Cmachine_spec\x18\x01 \x01(\x0B2'.google.cloud.aiplatform.v1.MachineSpecB\x06\xE0A\x02\xE0A\x05\x12#\x0A\x16starting_replica_count\x18\x02 \x01(\x05B\x03\xE0A\x05\x12\x1E\x0A\x11max_replica_count\x18\x03 \x01(\x05B\x03\xE0A\x05\"/\x0A\x11ResourcesConsumed\x12\x1A\x0A\x0Dreplica_hours\x18\x01 \x01(\x01B\x03\xE0A\x03\"=\x0A\x08DiskSpec\x12\x16\x0A\x0Eboot_disk_type\x18\x01 \x01(\x09\x12\x19\x0A\x11boot_disk_size_gb\x18\x02 \x01(\x05\"=\x0A\x12PersistentDiskSpec\x12\x11\x0A\x09disk_type\x18\x01 \x01(\x09\x12\x14\x0A\x0Cdisk_size_gb\x18\x02 \x01(\x03\"L\x0A\x08NfsMount\x12\x13\x0A\x06server\x18\x01 \x01(\x09B\x03\xE0A\x02\x12\x11\x0A\x04path\x18\x02 \x01(\x09B\x03\xE0A\x02\x12\x18\x0A\x0Bmount_point\x18\x03 \x01(\x09B\x03\xE0A\x02\"v\x0A\x0BLustreMount\x12\x18\x0A\x0Binstance_ip\x18\x01 \x01(\x09B\x03\xE0A\x02\x12\x1A\x0A\x0Dvolume_handle\x18\x02 \x01(\x09B\x03\xE0A\x02\x12\x17\x0A\x0Afilesystem\x18\x03 \x01(\x09B\x03\xE0A\x02\x12\x18\x0A\x0Bmount_point\x18\x04 \x01(\x09B\x03\xE0A\x02\"A\x0A\x15AutoscalingMetricSpec\x12\x18\x0A\x0Bmetric_name\x18\x01 \x01(\x09B\x03\xE0A\x02\x12\x0E\x0A\x06target\x18\x02 \x01(\x05\".\x0A\x10ShieldedVmConfig\x12\x1A\x0A\x12enable_secure_boot\x18\x01 \x01(\x08B\xD3\x01\x0A\x1Ecom.google.cloud.aiplatform.v1B\x15MachineResourcesProtoP\x01Z>cloud.google.com/go/aiplatform/apiv1/aiplatformpb;aiplatformpb\xAA\x02\x1AGoogle.Cloud.AIPlatform.V1\xCA\x02\x1AGoogle\\Cloud\\AIPlatform\\V1\xEA\x02\x1DGoogle::Cloud::AIPlatform::V1b\x06proto3" + , 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..0c2929b91192 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/ManualBatchTuningParameters.php @@ -0,0 +1,25 @@ +internalAddGeneratedFile( + "\x0A\xFE\x02\x0A?google/cloud/aiplatform/v1/manual_batch_tuning_parameters.proto\x12\x1Agoogle.cloud.aiplatform.v1\"6\x0A\x1BManualBatchTuningParameters\x12\x17\x0A\x0Abatch_size\x18\x01 \x01(\x05B\x03\xE0A\x05B\xDE\x01\x0A\x1Ecom.google.cloud.aiplatform.v1B ManualBatchTuningParametersProtoP\x01Z>cloud.google.com/go/aiplatform/apiv1/aiplatformpb;aiplatformpb\xAA\x02\x1AGoogle.Cloud.AIPlatform.V1\xCA\x02\x1AGoogle\\Cloud\\AIPlatform\\V1\xEA\x02\x1DGoogle::Cloud::AIPlatform::V1b\x06proto3" + , 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 000000000000..90d51f6eae9c --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/MatchService.php @@ -0,0 +1,29 @@ +internalAddGeneratedFile( + "\x0A\xC8\x10\x0A.google/cloud/aiplatform/v1/match_service.proto\x12\x1Agoogle.cloud.aiplatform.v1\x1A\x17google/api/client.proto\x1A\x1Fgoogle/api/field_behavior.proto\x1A\x19google/api/resource.proto\x1A&google/cloud/aiplatform/v1/index.proto\"\xC1\x04\x0A\x14FindNeighborsRequest\x12G\x0A\x0Eindex_endpoint\x18\x01 \x01(\x09B/\xE0A\x02\xFAA)\x0A'aiplatform.googleapis.com/IndexEndpoint\x12\x19\x0A\x11deployed_index_id\x18\x02 \x01(\x09\x12G\x0A\x07queries\x18\x03 \x03(\x0B26.google.cloud.aiplatform.v1.FindNeighborsRequest.Query\x12\x1D\x0A\x15return_full_datapoint\x18\x04 \x01(\x08\x1A\xDC\x02\x0A\x05Query\x12N\x0A\x03rrf\x18\x06 \x01(\x0B2:.google.cloud.aiplatform.v1.FindNeighborsRequest.Query.RRFB\x03\xE0A\x01H\x00\x12B\x0A\x09datapoint\x18\x01 \x01(\x0B2*.google.cloud.aiplatform.v1.IndexDatapointB\x03\xE0A\x02\x12\x16\x0A\x0Eneighbor_count\x18\x02 \x01(\x05\x12-\x0A%per_crowding_attribute_neighbor_count\x18\x03 \x01(\x05\x12\"\x0A\x1Aapproximate_neighbor_count\x18\x04 \x01(\x05\x12.\x0A&fraction_leaf_nodes_to_search_override\x18\x05 \x01(\x01\x1A\x19\x0A\x03RRF\x12\x12\x0A\x05alpha\x18\x01 \x01(\x02B\x03\xE0A\x02B\x09\x0A\x07ranking\"\xDB\x02\x0A\x15FindNeighborsResponse\x12]\x0A\x11nearest_neighbors\x18\x01 \x03(\x0B2B.google.cloud.aiplatform.v1.FindNeighborsResponse.NearestNeighbors\x1At\x0A\x08Neighbor\x12=\x0A\x09datapoint\x18\x01 \x01(\x0B2*.google.cloud.aiplatform.v1.IndexDatapoint\x12\x10\x0A\x08distance\x18\x02 \x01(\x01\x12\x17\x0A\x0Fsparse_distance\x18\x03 \x01(\x01\x1Am\x0A\x10NearestNeighbors\x12\x0A\x0A\x02id\x18\x01 \x01(\x09\x12M\x0A\x09neighbors\x18\x02 \x03(\x0B2:.google.cloud.aiplatform.v1.FindNeighborsResponse.Neighbor\"\x8D\x01\x0A\x1AReadIndexDatapointsRequest\x12G\x0A\x0Eindex_endpoint\x18\x01 \x01(\x09B/\xE0A\x02\xFAA)\x0A'aiplatform.googleapis.com/IndexEndpoint\x12\x19\x0A\x11deployed_index_id\x18\x02 \x01(\x09\x12\x0B\x0A\x03ids\x18\x03 \x03(\x09\"]\x0A\x1BReadIndexDatapointsResponse\x12>\x0A\x0Adatapoints\x18\x01 \x03(\x0B2*.google.cloud.aiplatform.v1.IndexDatapoint2\x91\x04\x0A\x0CMatchService\x12\xCB\x01\x0A\x0DFindNeighbors\x120.google.cloud.aiplatform.v1.FindNeighborsRequest\x1A1.google.cloud.aiplatform.v1.FindNeighborsResponse\"U\x82\xD3\xE4\x93\x02O\"J/v1/{index_endpoint=projects/*/locations/*/indexEndpoints/*}:findNeighbors:\x01*\x12\xE3\x01\x0A\x13ReadIndexDatapoints\x126.google.cloud.aiplatform.v1.ReadIndexDatapointsRequest\x1A7.google.cloud.aiplatform.v1.ReadIndexDatapointsResponse\"[\x82\xD3\xE4\x93\x02U\"P/v1/{index_endpoint=projects/*/locations/*/indexEndpoints/*}:readIndexDatapoints:\x01*\x1AM\xCAA\x19aiplatform.googleapis.com\xD2A.https://www.googleapis.com/auth/cloud-platformB\xCF\x01\x0A\x1Ecom.google.cloud.aiplatform.v1B\x11MatchServiceProtoP\x01Z>cloud.google.com/go/aiplatform/apiv1/aiplatformpb;aiplatformpb\xAA\x02\x1AGoogle.Cloud.AIPlatform.V1\xCA\x02\x1AGoogle\\Cloud\\AIPlatform\\V1\xEA\x02\x1DGoogle::Cloud::AIPlatform::V1b\x06proto3" + , true); + + static::$is_initialized = true; + } +} + diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/MetadataSchema.php b/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/MetadataSchema.php new file mode 100644 index 000000000000..73849bc14777 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/MetadataSchema.php @@ -0,0 +1,27 @@ +internalAddGeneratedFile( + "\x0A\xE9\x06\x0A0google/cloud/aiplatform/v1/metadata_schema.proto\x12\x1Agoogle.cloud.aiplatform.v1\x1A\x19google/api/resource.proto\x1A\x1Fgoogle/protobuf/timestamp.proto\"\x80\x04\x0A\x0EMetadataSchema\x12\x11\x0A\x04name\x18\x01 \x01(\x09B\x03\xE0A\x03\x12\x16\x0A\x0Eschema_version\x18\x02 \x01(\x09\x12\x13\x0A\x06schema\x18\x03 \x01(\x09B\x03\xE0A\x02\x12R\x0A\x0Bschema_type\x18\x04 \x01(\x0E2=.google.cloud.aiplatform.v1.MetadataSchema.MetadataSchemaType\x124\x0A\x0Bcreate_time\x18\x05 \x01(\x0B2\x1A.google.protobuf.TimestampB\x03\xE0A\x03\x12\x13\x0A\x0Bdescription\x18\x06 \x01(\x09\"s\x0A\x12MetadataSchemaType\x12\$\x0A METADATA_SCHEMA_TYPE_UNSPECIFIED\x10\x00\x12\x11\x0A\x0DARTIFACT_TYPE\x10\x01\x12\x12\x0A\x0EEXECUTION_TYPE\x10\x02\x12\x10\x0A\x0CCONTEXT_TYPE\x10\x03:\x99\x01\xEAA\x95\x01\x0A(aiplatform.googleapis.com/MetadataSchema\x12iprojects/{project}/locations/{location}/metadataStores/{metadata_store}/metadataSchemas/{metadata_schema}B\xD1\x01\x0A\x1Ecom.google.cloud.aiplatform.v1B\x13MetadataSchemaProtoP\x01Z>cloud.google.com/go/aiplatform/apiv1/aiplatformpb;aiplatformpb\xAA\x02\x1AGoogle.Cloud.AIPlatform.V1\xCA\x02\x1AGoogle\\Cloud\\AIPlatform\\V1\xEA\x02\x1DGoogle::Cloud::AIPlatform::V1b\x06proto3" + , true); + + static::$is_initialized = true; + } +} + 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..4cc1e7a107fb --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/MetadataService.php @@ -0,0 +1,39 @@ +internalAddGeneratedFile( + "\x0A\xF5o\x0A1google/cloud/aiplatform/v1/metadata_service.proto\x12\x1Agoogle.cloud.aiplatform.v1\x1A\x17google/api/client.proto\x1A\x1Fgoogle/api/field_behavior.proto\x1A\x19google/api/resource.proto\x1A)google/cloud/aiplatform/v1/artifact.proto\x1A(google/cloud/aiplatform/v1/context.proto\x1A&google/cloud/aiplatform/v1/event.proto\x1A*google/cloud/aiplatform/v1/execution.proto\x1A1google/cloud/aiplatform/v1/lineage_subgraph.proto\x1A0google/cloud/aiplatform/v1/metadata_schema.proto\x1A/google/cloud/aiplatform/v1/metadata_store.proto\x1A*google/cloud/aiplatform/v1/operation.proto\x1A#google/longrunning/operations.proto\x1A\x1Bgoogle/protobuf/empty.proto\x1A google/protobuf/field_mask.proto\"\xBA\x01\x0A\x1ACreateMetadataStoreRequest\x129\x0A\x06parent\x18\x01 \x01(\x09B)\xE0A\x02\xFAA#\x0A!locations.googleapis.com/Location\x12F\x0A\x0Emetadata_store\x18\x02 \x01(\x0B2).google.cloud.aiplatform.v1.MetadataStoreB\x03\xE0A\x02\x12\x19\x0A\x11metadata_store_id\x18\x03 \x01(\x09\"v\x0A\$CreateMetadataStoreOperationMetadata\x12N\x0A\x10generic_metadata\x18\x01 \x01(\x0B24.google.cloud.aiplatform.v1.GenericOperationMetadata\"X\x0A\x17GetMetadataStoreRequest\x12=\x0A\x04name\x18\x01 \x01(\x09B/\xE0A\x02\xFAA)\x0A'aiplatform.googleapis.com/MetadataStore\"}\x0A\x19ListMetadataStoresRequest\x129\x0A\x06parent\x18\x01 \x01(\x09B)\xE0A\x02\xFAA#\x0A!locations.googleapis.com/Location\x12\x11\x0A\x09page_size\x18\x02 \x01(\x05\x12\x12\x0A\x0Apage_token\x18\x03 \x01(\x09\"y\x0A\x1AListMetadataStoresResponse\x12B\x0A\x0Fmetadata_stores\x18\x01 \x03(\x0B2).google.cloud.aiplatform.v1.MetadataStore\x12\x17\x0A\x0Fnext_page_token\x18\x02 \x01(\x09\"n\x0A\x1ADeleteMetadataStoreRequest\x12=\x0A\x04name\x18\x01 \x01(\x09B/\xE0A\x02\xFAA)\x0A'aiplatform.googleapis.com/MetadataStore\x12\x11\x0A\x05force\x18\x02 \x01(\x08B\x02\x18\x01\"v\x0A\$DeleteMetadataStoreOperationMetadata\x12N\x0A\x10generic_metadata\x18\x01 \x01(\x0B24.google.cloud.aiplatform.v1.GenericOperationMetadata\"\xAA\x01\x0A\x15CreateArtifactRequest\x12?\x0A\x06parent\x18\x01 \x01(\x09B/\xE0A\x02\xFAA)\x0A'aiplatform.googleapis.com/MetadataStore\x12;\x0A\x08artifact\x18\x02 \x01(\x0B2\$.google.cloud.aiplatform.v1.ArtifactB\x03\xE0A\x02\x12\x13\x0A\x0Bartifact_id\x18\x03 \x01(\x09\"N\x0A\x12GetArtifactRequest\x128\x0A\x04name\x18\x01 \x01(\x09B*\xE0A\x02\xFAA\$\x0A\"aiplatform.googleapis.com/Artifact\"\x9B\x01\x0A\x14ListArtifactsRequest\x12:\x0A\x06parent\x18\x01 \x01(\x09B*\xE0A\x02\xFAA\$\x12\"aiplatform.googleapis.com/Artifact\x12\x11\x0A\x09page_size\x18\x02 \x01(\x05\x12\x12\x0A\x0Apage_token\x18\x03 \x01(\x09\x12\x0E\x0A\x06filter\x18\x04 \x01(\x09\x12\x10\x0A\x08order_by\x18\x05 \x01(\x09\"i\x0A\x15ListArtifactsResponse\x127\x0A\x09artifacts\x18\x01 \x03(\x0B2\$.google.cloud.aiplatform.v1.Artifact\x12\x17\x0A\x0Fnext_page_token\x18\x02 \x01(\x09\"\xA1\x01\x0A\x15UpdateArtifactRequest\x12;\x0A\x08artifact\x18\x01 \x01(\x0B2\$.google.cloud.aiplatform.v1.ArtifactB\x03\xE0A\x02\x124\x0A\x0Bupdate_mask\x18\x02 \x01(\x0B2\x1A.google.protobuf.FieldMaskB\x03\xE0A\x01\x12\x15\x0A\x0Dallow_missing\x18\x03 \x01(\x08\"d\x0A\x15DeleteArtifactRequest\x128\x0A\x04name\x18\x01 \x01(\x09B*\xE0A\x02\xFAA\$\x0A\"aiplatform.googleapis.com/Artifact\x12\x11\x0A\x04etag\x18\x02 \x01(\x09B\x03\xE0A\x01\"|\x0A\x15PurgeArtifactsRequest\x12:\x0A\x06parent\x18\x01 \x01(\x09B*\xE0A\x02\xFAA\$\x12\"aiplatform.googleapis.com/Artifact\x12\x13\x0A\x06filter\x18\x02 \x01(\x09B\x03\xE0A\x02\x12\x12\x0A\x05force\x18\x03 \x01(\x08B\x03\xE0A\x01\"l\x0A\x16PurgeArtifactsResponse\x12\x13\x0A\x0Bpurge_count\x18\x01 \x01(\x03\x12=\x0A\x0Cpurge_sample\x18\x02 \x03(\x09B'\xFAA\$\x0A\"aiplatform.googleapis.com/Artifact\"h\x0A\x16PurgeArtifactsMetadata\x12N\x0A\x10generic_metadata\x18\x01 \x01(\x0B24.google.cloud.aiplatform.v1.GenericOperationMetadata\"\xA6\x01\x0A\x14CreateContextRequest\x12?\x0A\x06parent\x18\x01 \x01(\x09B/\xE0A\x02\xFAA)\x0A'aiplatform.googleapis.com/MetadataStore\x129\x0A\x07context\x18\x02 \x01(\x0B2#.google.cloud.aiplatform.v1.ContextB\x03\xE0A\x02\x12\x12\x0A\x0Acontext_id\x18\x03 \x01(\x09\"L\x0A\x11GetContextRequest\x127\x0A\x04name\x18\x01 \x01(\x09B)\xE0A\x02\xFAA#\x0A!aiplatform.googleapis.com/Context\"\x99\x01\x0A\x13ListContextsRequest\x129\x0A\x06parent\x18\x01 \x01(\x09B)\xE0A\x02\xFAA#\x12!aiplatform.googleapis.com/Context\x12\x11\x0A\x09page_size\x18\x02 \x01(\x05\x12\x12\x0A\x0Apage_token\x18\x03 \x01(\x09\x12\x0E\x0A\x06filter\x18\x04 \x01(\x09\x12\x10\x0A\x08order_by\x18\x05 \x01(\x09\"f\x0A\x14ListContextsResponse\x125\x0A\x08contexts\x18\x01 \x03(\x0B2#.google.cloud.aiplatform.v1.Context\x12\x17\x0A\x0Fnext_page_token\x18\x02 \x01(\x09\"\x9E\x01\x0A\x14UpdateContextRequest\x129\x0A\x07context\x18\x01 \x01(\x0B2#.google.cloud.aiplatform.v1.ContextB\x03\xE0A\x02\x124\x0A\x0Bupdate_mask\x18\x02 \x01(\x0B2\x1A.google.protobuf.FieldMaskB\x03\xE0A\x01\x12\x15\x0A\x0Dallow_missing\x18\x03 \x01(\x08\"q\x0A\x14DeleteContextRequest\x127\x0A\x04name\x18\x01 \x01(\x09B)\xE0A\x02\xFAA#\x0A!aiplatform.googleapis.com/Context\x12\x0D\x0A\x05force\x18\x02 \x01(\x08\x12\x11\x0A\x04etag\x18\x03 \x01(\x09B\x03\xE0A\x01\"z\x0A\x14PurgeContextsRequest\x129\x0A\x06parent\x18\x01 \x01(\x09B)\xE0A\x02\xFAA#\x12!aiplatform.googleapis.com/Context\x12\x13\x0A\x06filter\x18\x02 \x01(\x09B\x03\xE0A\x02\x12\x12\x0A\x05force\x18\x03 \x01(\x08B\x03\xE0A\x01\"j\x0A\x15PurgeContextsResponse\x12\x13\x0A\x0Bpurge_count\x18\x01 \x01(\x03\x12<\x0A\x0Cpurge_sample\x18\x02 \x03(\x09B&\xFAA#\x0A!aiplatform.googleapis.com/Context\"g\x0A\x15PurgeContextsMetadata\x12N\x0A\x10generic_metadata\x18\x01 \x01(\x0B24.google.cloud.aiplatform.v1.GenericOperationMetadata\"\xDF\x01\x0A'AddContextArtifactsAndExecutionsRequest\x12:\x0A\x07context\x18\x01 \x01(\x09B)\xE0A\x02\xFAA#\x0A!aiplatform.googleapis.com/Context\x12:\x0A\x09artifacts\x18\x02 \x03(\x09B'\xFAA\$\x0A\"aiplatform.googleapis.com/Artifact\x12<\x0A\x0Aexecutions\x18\x03 \x03(\x09B(\xFAA%\x0A#aiplatform.googleapis.com/Execution\"*\x0A(AddContextArtifactsAndExecutionsResponse\"\x97\x01\x0A\x19AddContextChildrenRequest\x12:\x0A\x07context\x18\x01 \x01(\x09B)\xE0A\x02\xFAA#\x0A!aiplatform.googleapis.com/Context\x12>\x0A\x0Echild_contexts\x18\x02 \x03(\x09B&\xFAA#\x0A!aiplatform.googleapis.com/Context\"\x1C\x0A\x1AAddContextChildrenResponse\"\x9A\x01\x0A\x1CRemoveContextChildrenRequest\x12:\x0A\x07context\x18\x01 \x01(\x09B)\xE0A\x02\xFAA#\x0A!aiplatform.googleapis.com/Context\x12>\x0A\x0Echild_contexts\x18\x02 \x03(\x09B&\xFAA#\x0A!aiplatform.googleapis.com/Context\"\x1F\x0A\x1DRemoveContextChildrenResponse\"`\x0A\"QueryContextLineageSubgraphRequest\x12:\x0A\x07context\x18\x01 \x01(\x09B)\xE0A\x02\xFAA#\x0A!aiplatform.googleapis.com/Context\"\xAE\x01\x0A\x16CreateExecutionRequest\x12?\x0A\x06parent\x18\x01 \x01(\x09B/\xE0A\x02\xFAA)\x0A'aiplatform.googleapis.com/MetadataStore\x12=\x0A\x09execution\x18\x02 \x01(\x0B2%.google.cloud.aiplatform.v1.ExecutionB\x03\xE0A\x02\x12\x14\x0A\x0Cexecution_id\x18\x03 \x01(\x09\"P\x0A\x13GetExecutionRequest\x129\x0A\x04name\x18\x01 \x01(\x09B+\xE0A\x02\xFAA%\x0A#aiplatform.googleapis.com/Execution\"\x9D\x01\x0A\x15ListExecutionsRequest\x12;\x0A\x06parent\x18\x01 \x01(\x09B+\xE0A\x02\xFAA%\x12#aiplatform.googleapis.com/Execution\x12\x11\x0A\x09page_size\x18\x02 \x01(\x05\x12\x12\x0A\x0Apage_token\x18\x03 \x01(\x09\x12\x0E\x0A\x06filter\x18\x04 \x01(\x09\x12\x10\x0A\x08order_by\x18\x05 \x01(\x09\"l\x0A\x16ListExecutionsResponse\x129\x0A\x0Aexecutions\x18\x01 \x03(\x0B2%.google.cloud.aiplatform.v1.Execution\x12\x17\x0A\x0Fnext_page_token\x18\x02 \x01(\x09\"\xA4\x01\x0A\x16UpdateExecutionRequest\x12=\x0A\x09execution\x18\x01 \x01(\x0B2%.google.cloud.aiplatform.v1.ExecutionB\x03\xE0A\x02\x124\x0A\x0Bupdate_mask\x18\x02 \x01(\x0B2\x1A.google.protobuf.FieldMaskB\x03\xE0A\x01\x12\x15\x0A\x0Dallow_missing\x18\x03 \x01(\x08\"f\x0A\x16DeleteExecutionRequest\x129\x0A\x04name\x18\x01 \x01(\x09B+\xE0A\x02\xFAA%\x0A#aiplatform.googleapis.com/Execution\x12\x11\x0A\x04etag\x18\x02 \x01(\x09B\x03\xE0A\x01\"~\x0A\x16PurgeExecutionsRequest\x12;\x0A\x06parent\x18\x01 \x01(\x09B+\xE0A\x02\xFAA%\x12#aiplatform.googleapis.com/Execution\x12\x13\x0A\x06filter\x18\x02 \x01(\x09B\x03\xE0A\x02\x12\x12\x0A\x05force\x18\x03 \x01(\x08B\x03\xE0A\x01\"n\x0A\x17PurgeExecutionsResponse\x12\x13\x0A\x0Bpurge_count\x18\x01 \x01(\x03\x12>\x0A\x0Cpurge_sample\x18\x02 \x03(\x09B(\xFAA%\x0A#aiplatform.googleapis.com/Execution\"i\x0A\x17PurgeExecutionsMetadata\x12N\x0A\x10generic_metadata\x18\x01 \x01(\x0B24.google.cloud.aiplatform.v1.GenericOperationMetadata\"\x8E\x01\x0A\x19AddExecutionEventsRequest\x12>\x0A\x09execution\x18\x01 \x01(\x09B+\xE0A\x02\xFAA%\x0A#aiplatform.googleapis.com/Execution\x121\x0A\x06events\x18\x02 \x03(\x0B2!.google.cloud.aiplatform.v1.Event\"\x1C\x0A\x1AAddExecutionEventsResponse\"g\x0A%QueryExecutionInputsAndOutputsRequest\x12>\x0A\x09execution\x18\x01 \x01(\x09B+\xE0A\x02\xFAA%\x0A#aiplatform.googleapis.com/Execution\"\xC4\x01\x0A\x1BCreateMetadataSchemaRequest\x12?\x0A\x06parent\x18\x01 \x01(\x09B/\xE0A\x02\xFAA)\x0A'aiplatform.googleapis.com/MetadataStore\x12H\x0A\x0Fmetadata_schema\x18\x02 \x01(\x0B2*.google.cloud.aiplatform.v1.MetadataSchemaB\x03\xE0A\x02\x12\x1A\x0A\x12metadata_schema_id\x18\x03 \x01(\x09\"Z\x0A\x18GetMetadataSchemaRequest\x12>\x0A\x04name\x18\x01 \x01(\x09B0\xE0A\x02\xFAA*\x0A(aiplatform.googleapis.com/MetadataSchema\"\x95\x01\x0A\x1AListMetadataSchemasRequest\x12@\x0A\x06parent\x18\x01 \x01(\x09B0\xE0A\x02\xFAA*\x12(aiplatform.googleapis.com/MetadataSchema\x12\x11\x0A\x09page_size\x18\x02 \x01(\x05\x12\x12\x0A\x0Apage_token\x18\x03 \x01(\x09\x12\x0E\x0A\x06filter\x18\x04 \x01(\x09\"|\x0A\x1BListMetadataSchemasResponse\x12D\x0A\x10metadata_schemas\x18\x01 \x03(\x0B2*.google.cloud.aiplatform.v1.MetadataSchema\x12\x17\x0A\x0Fnext_page_token\x18\x02 \x01(\x09\"\x85\x01\x0A#QueryArtifactLineageSubgraphRequest\x12<\x0A\x08artifact\x18\x01 \x01(\x09B*\xE0A\x02\xFAA\$\x0A\"aiplatform.googleapis.com/Artifact\x12\x10\x0A\x08max_hops\x18\x02 \x01(\x05\x12\x0E\x0A\x06filter\x18\x03 \x01(\x092\xB1:\x0A\x0FMetadataService\x12\x9B\x02\x0A\x13CreateMetadataStore\x126.google.cloud.aiplatform.v1.CreateMetadataStoreRequest\x1A\x1D.google.longrunning.Operation\"\xAC\x01\xCAA5\x0A\x0DMetadataStore\x12\$CreateMetadataStoreOperationMetadata\xDAA'parent,metadata_store,metadata_store_id\x82\xD3\xE4\x93\x02D\"2/v1/{parent=projects/*/locations/*}/metadataStores:\x0Emetadata_store\x12\xB5\x01\x0A\x10GetMetadataStore\x123.google.cloud.aiplatform.v1.GetMetadataStoreRequest\x1A).google.cloud.aiplatform.v1.MetadataStore\"A\xDAA\x04name\x82\xD3\xE4\x93\x024\x122/v1/{name=projects/*/locations/*/metadataStores/*}\x12\xC8\x01\x0A\x12ListMetadataStores\x125.google.cloud.aiplatform.v1.ListMetadataStoresRequest\x1A6.google.cloud.aiplatform.v1.ListMetadataStoresResponse\"C\xDAA\x06parent\x82\xD3\xE4\x93\x024\x122/v1/{parent=projects/*/locations/*}/metadataStores\x12\xF0\x01\x0A\x13DeleteMetadataStore\x126.google.cloud.aiplatform.v1.DeleteMetadataStoreRequest\x1A\x1D.google.longrunning.Operation\"\x81\x01\xCAA=\x0A\x15google.protobuf.Empty\x12\$DeleteMetadataStoreOperationMetadata\xDAA\x04name\x82\xD3\xE4\x93\x024*2/v1/{name=projects/*/locations/*/metadataStores/*}\x12\xD9\x01\x0A\x0ECreateArtifact\x121.google.cloud.aiplatform.v1.CreateArtifactRequest\x1A\$.google.cloud.aiplatform.v1.Artifact\"n\xDAA\x1Bparent,artifact,artifact_id\x82\xD3\xE4\x93\x02J\">/v1/{parent=projects/*/locations/*/metadataStores/*}/artifacts:\x08artifact\x12\xB2\x01\x0A\x0BGetArtifact\x12..google.cloud.aiplatform.v1.GetArtifactRequest\x1A\$.google.cloud.aiplatform.v1.Artifact\"M\xDAA\x04name\x82\xD3\xE4\x93\x02@\x12>/v1/{name=projects/*/locations/*/metadataStores/*/artifacts/*}\x12\xC5\x01\x0A\x0DListArtifacts\x120.google.cloud.aiplatform.v1.ListArtifactsRequest\x1A1.google.cloud.aiplatform.v1.ListArtifactsResponse\"O\xDAA\x06parent\x82\xD3\xE4\x93\x02@\x12>/v1/{parent=projects/*/locations/*/metadataStores/*}/artifacts\x12\xDB\x01\x0A\x0EUpdateArtifact\x121.google.cloud.aiplatform.v1.UpdateArtifactRequest\x1A\$.google.cloud.aiplatform.v1.Artifact\"p\xDAA\x14artifact,update_mask\x82\xD3\xE4\x93\x02S2G/v1/{artifact.name=projects/*/locations/*/metadataStores/*/artifacts/*}:\x08artifact\x12\xE5\x01\x0A\x0EDeleteArtifact\x121.google.cloud.aiplatform.v1.DeleteArtifactRequest\x1A\x1D.google.longrunning.Operation\"\x80\x01\xCAA0\x0A\x15google.protobuf.Empty\x12\x17DeleteOperationMetadata\xDAA\x04name\x82\xD3\xE4\x93\x02@*>/v1/{name=projects/*/locations/*/metadataStores/*/artifacts/*}\x12\xF0\x01\x0A\x0EPurgeArtifacts\x121.google.cloud.aiplatform.v1.PurgeArtifactsRequest\x1A\x1D.google.longrunning.Operation\"\x8B\x01\xCAA0\x0A\x16PurgeArtifactsResponse\x12\x16PurgeArtifactsMetadata\xDAA\x06parent\x82\xD3\xE4\x93\x02I\"D/v1/{parent=projects/*/locations/*/metadataStores/*}/artifacts:purge:\x01*\x12\xD2\x01\x0A\x0DCreateContext\x120.google.cloud.aiplatform.v1.CreateContextRequest\x1A#.google.cloud.aiplatform.v1.Context\"j\xDAA\x19parent,context,context_id\x82\xD3\xE4\x93\x02H\"=/v1/{parent=projects/*/locations/*/metadataStores/*}/contexts:\x07context\x12\xAE\x01\x0A\x0AGetContext\x12-.google.cloud.aiplatform.v1.GetContextRequest\x1A#.google.cloud.aiplatform.v1.Context\"L\xDAA\x04name\x82\xD3\xE4\x93\x02?\x12=/v1/{name=projects/*/locations/*/metadataStores/*/contexts/*}\x12\xC1\x01\x0A\x0CListContexts\x12/.google.cloud.aiplatform.v1.ListContextsRequest\x1A0.google.cloud.aiplatform.v1.ListContextsResponse\"N\xDAA\x06parent\x82\xD3\xE4\x93\x02?\x12=/v1/{parent=projects/*/locations/*/metadataStores/*}/contexts\x12\xD4\x01\x0A\x0DUpdateContext\x120.google.cloud.aiplatform.v1.UpdateContextRequest\x1A#.google.cloud.aiplatform.v1.Context\"l\xDAA\x13context,update_mask\x82\xD3\xE4\x93\x02P2E/v1/{context.name=projects/*/locations/*/metadataStores/*/contexts/*}:\x07context\x12\xE1\x01\x0A\x0DDeleteContext\x120.google.cloud.aiplatform.v1.DeleteContextRequest\x1A\x1D.google.longrunning.Operation\"\x7F\xCAA0\x0A\x15google.protobuf.Empty\x12\x17DeleteOperationMetadata\xDAA\x04name\x82\xD3\xE4\x93\x02?*=/v1/{name=projects/*/locations/*/metadataStores/*/contexts/*}\x12\xEB\x01\x0A\x0DPurgeContexts\x120.google.cloud.aiplatform.v1.PurgeContextsRequest\x1A\x1D.google.longrunning.Operation\"\x88\x01\xCAA.\x0A\x15PurgeContextsResponse\x12\x15PurgeContextsMetadata\xDAA\x06parent\x82\xD3\xE4\x93\x02H\"C/v1/{parent=projects/*/locations/*/metadataStores/*}/contexts:purge:\x01*\x12\xBB\x02\x0A AddContextArtifactsAndExecutions\x12C.google.cloud.aiplatform.v1.AddContextArtifactsAndExecutionsRequest\x1AD.google.cloud.aiplatform.v1.AddContextArtifactsAndExecutionsResponse\"\x8B\x01\xDAA\x1Ccontext,artifacts,executions\x82\xD3\xE4\x93\x02f\"a/v1/{context=projects/*/locations/*/metadataStores/*/contexts/*}:addContextArtifactsAndExecutions:\x01*\x12\xFC\x01\x0A\x12AddContextChildren\x125.google.cloud.aiplatform.v1.AddContextChildrenRequest\x1A6.google.cloud.aiplatform.v1.AddContextChildrenResponse\"w\xDAA\x16context,child_contexts\x82\xD3\xE4\x93\x02X\"S/v1/{context=projects/*/locations/*/metadataStores/*/contexts/*}:addContextChildren:\x01*\x12\x88\x02\x0A\x15RemoveContextChildren\x128.google.cloud.aiplatform.v1.RemoveContextChildrenRequest\x1A9.google.cloud.aiplatform.v1.RemoveContextChildrenResponse\"z\xDAA\x16context,child_contexts\x82\xD3\xE4\x93\x02[\"V/v1/{context=projects/*/locations/*/metadataStores/*/contexts/*}:removeContextChildren:\x01*\x12\xFA\x01\x0A\x1BQueryContextLineageSubgraph\x12>.google.cloud.aiplatform.v1.QueryContextLineageSubgraphRequest\x1A+.google.cloud.aiplatform.v1.LineageSubgraph\"n\xDAA\x07context\x82\xD3\xE4\x93\x02^\x12\\/v1/{context=projects/*/locations/*/metadataStores/*/contexts/*}:queryContextLineageSubgraph\x12\xE0\x01\x0A\x0FCreateExecution\x122.google.cloud.aiplatform.v1.CreateExecutionRequest\x1A%.google.cloud.aiplatform.v1.Execution\"r\xDAA\x1Dparent,execution,execution_id\x82\xD3\xE4\x93\x02L\"?/v1/{parent=projects/*/locations/*/metadataStores/*}/executions:\x09execution\x12\xB6\x01\x0A\x0CGetExecution\x12/.google.cloud.aiplatform.v1.GetExecutionRequest\x1A%.google.cloud.aiplatform.v1.Execution\"N\xDAA\x04name\x82\xD3\xE4\x93\x02A\x12?/v1/{name=projects/*/locations/*/metadataStores/*/executions/*}\x12\xC9\x01\x0A\x0EListExecutions\x121.google.cloud.aiplatform.v1.ListExecutionsRequest\x1A2.google.cloud.aiplatform.v1.ListExecutionsResponse\"P\xDAA\x06parent\x82\xD3\xE4\x93\x02A\x12?/v1/{parent=projects/*/locations/*/metadataStores/*}/executions\x12\xE2\x01\x0A\x0FUpdateExecution\x122.google.cloud.aiplatform.v1.UpdateExecutionRequest\x1A%.google.cloud.aiplatform.v1.Execution\"t\xDAA\x15execution,update_mask\x82\xD3\xE4\x93\x02V2I/v1/{execution.name=projects/*/locations/*/metadataStores/*/executions/*}:\x09execution\x12\xE8\x01\x0A\x0FDeleteExecution\x122.google.cloud.aiplatform.v1.DeleteExecutionRequest\x1A\x1D.google.longrunning.Operation\"\x81\x01\xCAA0\x0A\x15google.protobuf.Empty\x12\x17DeleteOperationMetadata\xDAA\x04name\x82\xD3\xE4\x93\x02A*?/v1/{name=projects/*/locations/*/metadataStores/*/executions/*}\x12\xF5\x01\x0A\x0FPurgeExecutions\x122.google.cloud.aiplatform.v1.PurgeExecutionsRequest\x1A\x1D.google.longrunning.Operation\"\x8E\x01\xCAA2\x0A\x17PurgeExecutionsResponse\x12\x17PurgeExecutionsMetadata\xDAA\x06parent\x82\xD3\xE4\x93\x02J\"E/v1/{parent=projects/*/locations/*/metadataStores/*}/executions:purge:\x01*\x12\xFA\x01\x0A\x12AddExecutionEvents\x125.google.cloud.aiplatform.v1.AddExecutionEventsRequest\x1A6.google.cloud.aiplatform.v1.AddExecutionEventsResponse\"u\xDAA\x10execution,events\x82\xD3\xE4\x93\x02\\\"W/v1/{execution=projects/*/locations/*/metadataStores/*/executions/*}:addExecutionEvents:\x01*\x12\x89\x02\x0A\x1EQueryExecutionInputsAndOutputs\x12A.google.cloud.aiplatform.v1.QueryExecutionInputsAndOutputsRequest\x1A+.google.cloud.aiplatform.v1.LineageSubgraph\"w\xDAA\x09execution\x82\xD3\xE4\x93\x02e\x12c/v1/{execution=projects/*/locations/*/metadataStores/*/executions/*}:queryExecutionInputsAndOutputs\x12\x87\x02\x0A\x14CreateMetadataSchema\x127.google.cloud.aiplatform.v1.CreateMetadataSchemaRequest\x1A*.google.cloud.aiplatform.v1.MetadataSchema\"\x89\x01\xDAA)parent,metadata_schema,metadata_schema_id\x82\xD3\xE4\x93\x02W\"D/v1/{parent=projects/*/locations/*/metadataStores/*}/metadataSchemas:\x0Fmetadata_schema\x12\xCA\x01\x0A\x11GetMetadataSchema\x124.google.cloud.aiplatform.v1.GetMetadataSchemaRequest\x1A*.google.cloud.aiplatform.v1.MetadataSchema\"S\xDAA\x04name\x82\xD3\xE4\x93\x02F\x12D/v1/{name=projects/*/locations/*/metadataStores/*/metadataSchemas/*}\x12\xDD\x01\x0A\x13ListMetadataSchemas\x126.google.cloud.aiplatform.v1.ListMetadataSchemasRequest\x1A7.google.cloud.aiplatform.v1.ListMetadataSchemasResponse\"U\xDAA\x06parent\x82\xD3\xE4\x93\x02F\x12D/v1/{parent=projects/*/locations/*/metadataStores/*}/metadataSchemas\x12\x80\x02\x0A\x1CQueryArtifactLineageSubgraph\x12?.google.cloud.aiplatform.v1.QueryArtifactLineageSubgraphRequest\x1A+.google.cloud.aiplatform.v1.LineageSubgraph\"r\xDAA\x08artifact\x82\xD3\xE4\x93\x02a\x12_/v1/{artifact=projects/*/locations/*/metadataStores/*/artifacts/*}:queryArtifactLineageSubgraph\x1AM\xCAA\x19aiplatform.googleapis.com\xD2A.https://www.googleapis.com/auth/cloud-platformB\xD2\x01\x0A\x1Ecom.google.cloud.aiplatform.v1B\x14MetadataServiceProtoP\x01Z>cloud.google.com/go/aiplatform/apiv1/aiplatformpb;aiplatformpb\xAA\x02\x1AGoogle.Cloud.AIPlatform.V1\xCA\x02\x1AGoogle\\Cloud\\AIPlatform\\V1\xEA\x02\x1DGoogle::Cloud::AIPlatform::V1b\x06proto3" + , 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..5dc00de59472 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/MetadataStore.php @@ -0,0 +1,28 @@ +internalAddGeneratedFile( + "\x0A\x8D\x08\x0A/google/cloud/aiplatform/v1/metadata_store.proto\x12\x1Agoogle.cloud.aiplatform.v1\x1A\x19google/api/resource.proto\x1A0google/cloud/aiplatform/v1/encryption_spec.proto\x1A\x1Fgoogle/protobuf/timestamp.proto\"\xF9\x04\x0A\x0DMetadataStore\x12\x11\x0A\x04name\x18\x01 \x01(\x09B\x03\xE0A\x03\x124\x0A\x0Bcreate_time\x18\x03 \x01(\x0B2\x1A.google.protobuf.TimestampB\x03\xE0A\x03\x124\x0A\x0Bupdate_time\x18\x04 \x01(\x0B2\x1A.google.protobuf.TimestampB\x03\xE0A\x03\x12C\x0A\x0Fencryption_spec\x18\x05 \x01(\x0B2*.google.cloud.aiplatform.v1.EncryptionSpec\x12\x13\x0A\x0Bdescription\x18\x06 \x01(\x09\x12P\x0A\x05state\x18\x07 \x01(\x0B2<.google.cloud.aiplatform.v1.MetadataStore.MetadataStoreStateB\x03\xE0A\x03\x12V\x0A\x0Fdataplex_config\x18\x08 \x01(\x0B28.google.cloud.aiplatform.v1.MetadataStore.DataplexConfigB\x03\xE0A\x01\x1A4\x0A\x12MetadataStoreState\x12\x1E\x0A\x16disk_utilization_bytes\x18\x01 \x01(\x03\x1A8\x0A\x0EDataplexConfig\x12&\x0A\x19enabled_pipelines_lineage\x18\x01 \x01(\x08B\x03\xE0A\x01:u\xEAAr\x0A'aiplatform.googleapis.com/MetadataStore\x12Gprojects/{project}/locations/{location}/metadataStores/{metadata_store}B\xCB\x01\x0A\x1Ecom.google.cloud.aiplatform.v1B\x0DMetadataProtoP\x01Z>cloud.google.com/go/aiplatform/apiv1/aiplatformpb;aiplatformpb\xAA\x02\x1AGoogle.Cloud.AIPlatform.V1\xCA\x02\x1AGoogle\\Cloud\\AIPlatform\\V1\xEA\x02\x1DGoogle::Cloud::AIPlatform::V1b\x06proto3" + , 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 000000000000..408a1b0fe137 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/MigratableResource.php @@ -0,0 +1,27 @@ +internalAddGeneratedFile( + "\x0A\x9B\x10\x0A4google/cloud/aiplatform/v1/migratable_resource.proto\x12\x1Agoogle.cloud.aiplatform.v1\x1A\x19google/api/resource.proto\x1A\x1Fgoogle/protobuf/timestamp.proto\"\xD3\x09\x0A\x12MigratableResource\x12k\x0A\x17ml_engine_model_version\x18\x01 \x01(\x0B2C.google.cloud.aiplatform.v1.MigratableResource.MlEngineModelVersionB\x03\xE0A\x03H\x00\x12W\x0A\x0Cautoml_model\x18\x02 \x01(\x0B2:.google.cloud.aiplatform.v1.MigratableResource.AutomlModelB\x03\xE0A\x03H\x00\x12[\x0A\x0Eautoml_dataset\x18\x03 \x01(\x0B2<.google.cloud.aiplatform.v1.MigratableResource.AutomlDatasetB\x03\xE0A\x03H\x00\x12h\x0A\x15data_labeling_dataset\x18\x04 \x01(\x0B2B.google.cloud.aiplatform.v1.MigratableResource.DataLabelingDatasetB\x03\xE0A\x03H\x00\x12:\x0A\x11last_migrate_time\x18\x05 \x01(\x0B2\x1A.google.protobuf.TimestampB\x03\xE0A\x03\x129\x0A\x10last_update_time\x18\x06 \x01(\x0B2\x1A.google.protobuf.TimestampB\x03\xE0A\x03\x1AY\x0A\x14MlEngineModelVersion\x12\x10\x0A\x08endpoint\x18\x01 \x01(\x09\x12/\x0A\x07version\x18\x02 \x01(\x09B\x1E\xFAA\x1B\x0A\x19ml.googleapis.com/Version\x1AZ\x0A\x0BAutomlModel\x12/\x0A\x05model\x18\x01 \x01(\x09B \xFAA\x1D\x0A\x1Bautoml.googleapis.com/Model\x12\x1A\x0A\x12model_display_name\x18\x03 \x01(\x09\x1Ab\x0A\x0DAutomlDataset\x123\x0A\x07dataset\x18\x01 \x01(\x09B\"\xFAA\x1F\x0A\x1Dautoml.googleapis.com/Dataset\x12\x1C\x0A\x14dataset_display_name\x18\x04 \x01(\x09\x1A\x91\x03\x0A\x13DataLabelingDataset\x129\x0A\x07dataset\x18\x01 \x01(\x09B(\xFAA%\x0A#datalabeling.googleapis.com/Dataset\x12\x1C\x0A\x14dataset_display_name\x18\x04 \x01(\x09\x12\x89\x01\x0A data_labeling_annotated_datasets\x18\x03 \x03(\x0B2_.google.cloud.aiplatform.v1.MigratableResource.DataLabelingDataset.DataLabelingAnnotatedDataset\x1A\x94\x01\x0A\x1CDataLabelingAnnotatedDataset\x12L\x0A\x11annotated_dataset\x18\x01 \x01(\x09B1\xFAA.\x0A,datalabeling.googleapis.com/AnnotatedDataset\x12&\x0A\x1Eannotated_dataset_display_name\x18\x03 \x01(\x09B\x0A\x0A\x08resourceB\xAC\x05\x0A\x1Ecom.google.cloud.aiplatform.v1B\x17MigratableResourceProtoP\x01Z>cloud.google.com/go/aiplatform/apiv1/aiplatformpb;aiplatformpb\xAA\x02\x1AGoogle.Cloud.AIPlatform.V1\xCA\x02\x1AGoogle\\Cloud\\AIPlatform\\V1\xEA\x02\x1DGoogle::Cloud::AIPlatform::V1\xEAAQ\x0A\x19ml.googleapis.com/Version\x124projects/{project}/models/{model}/versions/{version}\xEAAU\x0A\x1Bautoml.googleapis.com/Model\x126projects/{project}/locations/{location}/models/{model}\xEAA[\x0A\x1Dautoml.googleapis.com/Dataset\x12:projects/{project}/locations/{location}/datasets/{dataset}\xEAAL\x0A#datalabeling.googleapis.com/Dataset\x12%projects/{project}/datasets/{dataset}\xEAA{\x0A,datalabeling.googleapis.com/AnnotatedDataset\x12Kprojects/{project}/datasets/{dataset}/annotatedDatasets/{annotated_dataset}b\x06proto3" + , true); + + static::$is_initialized = true; + } +} + 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 000000000000..f357ff4cd1d6 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/MigrationService.php @@ -0,0 +1,32 @@ +internalAddGeneratedFile( + "\x0A\xB1\x1E\x0A2google/cloud/aiplatform/v1/migration_service.proto\x12\x1Agoogle.cloud.aiplatform.v1\x1A\x17google/api/client.proto\x1A\x1Fgoogle/api/field_behavior.proto\x1A\x19google/api/resource.proto\x1A4google/cloud/aiplatform/v1/migratable_resource.proto\x1A*google/cloud/aiplatform/v1/operation.proto\x1A#google/longrunning/operations.proto\x1A\x17google/rpc/status.proto\"\x94\x01\x0A SearchMigratableResourcesRequest\x129\x0A\x06parent\x18\x01 \x01(\x09B)\xE0A\x02\xFAA#\x0A!locations.googleapis.com/Location\x12\x11\x0A\x09page_size\x18\x02 \x01(\x05\x12\x12\x0A\x0Apage_token\x18\x03 \x01(\x09\x12\x0E\x0A\x06filter\x18\x04 \x01(\x09\"\x8A\x01\x0A!SearchMigratableResourcesResponse\x12L\x0A\x14migratable_resources\x18\x01 \x03(\x0B2..google.cloud.aiplatform.v1.MigratableResource\x12\x17\x0A\x0Fnext_page_token\x18\x02 \x01(\x09\"\xB5\x01\x0A\x1CBatchMigrateResourcesRequest\x129\x0A\x06parent\x18\x01 \x01(\x09B)\xE0A\x02\xFAA#\x0A!locations.googleapis.com/Location\x12Z\x0A\x19migrate_resource_requests\x18\x02 \x03(\x0B22.google.cloud.aiplatform.v1.MigrateResourceRequestB\x03\xE0A\x02\"\xE2\x0A\x0A\x16MigrateResourceRequest\x12\x86\x01\x0A&migrate_ml_engine_model_version_config\x18\x01 \x01(\x0B2T.google.cloud.aiplatform.v1.MigrateResourceRequest.MigrateMlEngineModelVersionConfigH\x00\x12r\x0A\x1Bmigrate_automl_model_config\x18\x02 \x01(\x0B2K.google.cloud.aiplatform.v1.MigrateResourceRequest.MigrateAutomlModelConfigH\x00\x12v\x0A\x1Dmigrate_automl_dataset_config\x18\x03 \x01(\x0B2M.google.cloud.aiplatform.v1.MigrateResourceRequest.MigrateAutomlDatasetConfigH\x00\x12\x83\x01\x0A\$migrate_data_labeling_dataset_config\x18\x04 \x01(\x0B2S.google.cloud.aiplatform.v1.MigrateResourceRequest.MigrateDataLabelingDatasetConfigH\x00\x1A\x95\x01\x0A!MigrateMlEngineModelVersionConfig\x12\x15\x0A\x08endpoint\x18\x01 \x01(\x09B\x03\xE0A\x02\x128\x0A\x0Dmodel_version\x18\x02 \x01(\x09B!\xE0A\x02\xFAA\x1B\x0A\x19ml.googleapis.com/Version\x12\x1F\x0A\x12model_display_name\x18\x03 \x01(\x09B\x03\xE0A\x02\x1Ao\x0A\x18MigrateAutomlModelConfig\x122\x0A\x05model\x18\x01 \x01(\x09B#\xE0A\x02\xFAA\x1D\x0A\x1Bautoml.googleapis.com/Model\x12\x1F\x0A\x12model_display_name\x18\x02 \x01(\x09B\x03\xE0A\x01\x1Aw\x0A\x1AMigrateAutomlDatasetConfig\x126\x0A\x07dataset\x18\x01 \x01(\x09B%\xE0A\x02\xFAA\x1F\x0A\x1Dautoml.googleapis.com/Dataset\x12!\x0A\x14dataset_display_name\x18\x02 \x01(\x09B\x03\xE0A\x02\x1A\xBF\x03\x0A MigrateDataLabelingDatasetConfig\x12<\x0A\x07dataset\x18\x01 \x01(\x09B+\xE0A\x02\xFAA%\x0A#datalabeling.googleapis.com/Dataset\x12!\x0A\x14dataset_display_name\x18\x02 \x01(\x09B\x03\xE0A\x01\x12\xBB\x01\x0A/migrate_data_labeling_annotated_dataset_configs\x18\x03 \x03(\x0B2}.google.cloud.aiplatform.v1.MigrateResourceRequest.MigrateDataLabelingDatasetConfig.MigrateDataLabelingAnnotatedDatasetConfigB\x03\xE0A\x01\x1A|\x0A)MigrateDataLabelingAnnotatedDatasetConfig\x12O\x0A\x11annotated_dataset\x18\x01 \x01(\x09B4\xE0A\x02\xFAA.\x0A,datalabeling.googleapis.com/AnnotatedDatasetB\x09\x0A\x07request\"x\x0A\x1DBatchMigrateResourcesResponse\x12W\x0A\x1Amigrate_resource_responses\x18\x01 \x03(\x0B23.google.cloud.aiplatform.v1.MigrateResourceResponse\"\xED\x01\x0A\x17MigrateResourceResponse\x129\x0A\x07dataset\x18\x01 \x01(\x09B&\xFAA#\x0A!aiplatform.googleapis.com/DatasetH\x00\x125\x0A\x05model\x18\x02 \x01(\x09B\$\xFAA!\x0A\x1Faiplatform.googleapis.com/ModelH\x00\x12K\x0A\x13migratable_resource\x18\x03 \x01(\x0B2..google.cloud.aiplatform.v1.MigratableResourceB\x13\x0A\x11migrated_resource\"\xDB\x03\x0A&BatchMigrateResourcesOperationMetadata\x12N\x0A\x10generic_metadata\x18\x01 \x01(\x0B24.google.cloud.aiplatform.v1.GenericOperationMetadata\x12i\x0A\x0Fpartial_results\x18\x02 \x03(\x0B2P.google.cloud.aiplatform.v1.BatchMigrateResourcesOperationMetadata.PartialResult\x1A\xF5\x01\x0A\x0DPartialResult\x12#\x0A\x05error\x18\x02 \x01(\x0B2\x12.google.rpc.StatusH\x00\x125\x0A\x05model\x18\x03 \x01(\x09B\$\xFAA!\x0A\x1Faiplatform.googleapis.com/ModelH\x00\x129\x0A\x07dataset\x18\x04 \x01(\x09B&\xFAA#\x0A!aiplatform.googleapis.com/DatasetH\x00\x12C\x0A\x07request\x18\x01 \x01(\x0B22.google.cloud.aiplatform.v1.MigrateResourceRequestB\x08\x0A\x06result2\x82\x05\x0A\x10MigrationService\x12\xEC\x01\x0A\x19SearchMigratableResources\x12<.google.cloud.aiplatform.v1.SearchMigratableResourcesRequest\x1A=.google.cloud.aiplatform.v1.SearchMigratableResourcesResponse\"R\xDAA\x06parent\x82\xD3\xE4\x93\x02C\">/v1/{parent=projects/*/locations/*}/migratableResources:search:\x01*\x12\xAF\x02\x0A\x15BatchMigrateResources\x128.google.cloud.aiplatform.v1.BatchMigrateResourcesRequest\x1A\x1D.google.longrunning.Operation\"\xBC\x01\xCAAG\x0A\x1DBatchMigrateResourcesResponse\x12&BatchMigrateResourcesOperationMetadata\xDAA parent,migrate_resource_requests\x82\xD3\xE4\x93\x02I\"D/v1/{parent=projects/*/locations/*}/migratableResources:batchMigrate:\x01*\x1AM\xCAA\x19aiplatform.googleapis.com\xD2A.https://www.googleapis.com/auth/cloud-platformB\xD3\x01\x0A\x1Ecom.google.cloud.aiplatform.v1B\x15MigrationServiceProtoP\x01Z>cloud.google.com/go/aiplatform/apiv1/aiplatformpb;aiplatformpb\xAA\x02\x1AGoogle.Cloud.AIPlatform.V1\xCA\x02\x1AGoogle\\Cloud\\AIPlatform\\V1\xEA\x02\x1DGoogle::Cloud::AIPlatform::V1b\x06proto3" + , true); + + static::$is_initialized = true; + } +} + diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/Model.php b/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/Model.php new file mode 100644 index 000000000000..73ffd376f7cf --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/Model.php @@ -0,0 +1,33 @@ +internalAddGeneratedFile( + "\x0A\xFF*\x0A&google/cloud/aiplatform/v1/model.proto\x12\x1Agoogle.cloud.aiplatform.v1\x1A\x19google/api/resource.proto\x1A3google/cloud/aiplatform/v1/deployed_model_ref.proto\x1A0google/cloud/aiplatform/v1/encryption_spec.proto\x1A(google/cloud/aiplatform/v1/env_var.proto\x1A,google/cloud/aiplatform/v1/explanation.proto\x1A\x1Egoogle/protobuf/duration.proto\x1A\x1Cgoogle/protobuf/struct.proto\x1A\x1Fgoogle/protobuf/timestamp.proto\"\x9B\x16\x0A\x05Model\x12\x0C\x0A\x04name\x18\x01 \x01(\x09\x12\x1A\x0A\x0Aversion_id\x18\x1C \x01(\x09B\x06\xE0A\x05\xE0A\x03\x12\x17\x0A\x0Fversion_aliases\x18\x1D \x03(\x09\x12<\x0A\x13version_create_time\x18\x1F \x01(\x0B2\x1A.google.protobuf.TimestampB\x03\xE0A\x03\x12<\x0A\x13version_update_time\x18 \x01(\x0B2\x1A.google.protobuf.TimestampB\x03\xE0A\x03\x12\x19\x0A\x0Cdisplay_name\x18\x02 \x01(\x09B\x03\xE0A\x02\x12\x13\x0A\x0Bdescription\x18\x03 \x01(\x09\x12\x1B\x0A\x13version_description\x18\x1E \x01(\x09\x12\x1D\x0A\x15default_checkpoint_id\x185 \x01(\x09\x12E\x0A\x10predict_schemata\x18\x04 \x01(\x0B2+.google.cloud.aiplatform.v1.PredictSchemata\x12 \x0A\x13metadata_schema_uri\x18\x05 \x01(\x09B\x03\xE0A\x05\x12-\x0A\x08metadata\x18\x06 \x01(\x0B2\x16.google.protobuf.ValueB\x03\xE0A\x05\x12U\x0A\x18supported_export_formats\x18\x14 \x03(\x0B2..google.cloud.aiplatform.v1.Model.ExportFormatB\x03\xE0A\x03\x12M\x0A\x11training_pipeline\x18\x07 \x01(\x09B2\xE0A\x03\xFAA,\x0A*aiplatform.googleapis.com/TrainingPipeline\x12C\x0A\x0Cpipeline_job\x18/ \x01(\x09B-\xE0A\x01\xFAA'\x0A%aiplatform.googleapis.com/PipelineJob\x12K\x0A\x0Econtainer_spec\x18\x09 \x01(\x0B2..google.cloud.aiplatform.v1.ModelContainerSpecB\x03\xE0A\x04\x12\x19\x0A\x0Cartifact_uri\x18\x1A \x01(\x09B\x03\xE0A\x05\x12l\x0A\$supported_deployment_resources_types\x18\x0A \x03(\x0E29.google.cloud.aiplatform.v1.Model.DeploymentResourcesTypeB\x03\xE0A\x03\x12,\x0A\x1Fsupported_input_storage_formats\x18\x0B \x03(\x09B\x03\xE0A\x03\x12-\x0A supported_output_storage_formats\x18\x0C \x03(\x09B\x03\xE0A\x03\x124\x0A\x0Bcreate_time\x18\x0D \x01(\x0B2\x1A.google.protobuf.TimestampB\x03\xE0A\x03\x124\x0A\x0Bupdate_time\x18\x0E \x01(\x0B2\x1A.google.protobuf.TimestampB\x03\xE0A\x03\x12J\x0A\x0Fdeployed_models\x18\x0F \x03(\x0B2,.google.cloud.aiplatform.v1.DeployedModelRefB\x03\xE0A\x03\x12E\x0A\x10explanation_spec\x18\x17 \x01(\x0B2+.google.cloud.aiplatform.v1.ExplanationSpec\x12\x0C\x0A\x04etag\x18\x10 \x01(\x09\x12=\x0A\x06labels\x18\x11 \x03(\x0B2-.google.cloud.aiplatform.v1.Model.LabelsEntry\x12?\x0A\x0Adata_stats\x18\x15 \x01(\x0B2+.google.cloud.aiplatform.v1.Model.DataStats\x12C\x0A\x0Fencryption_spec\x18\x18 \x01(\x0B2*.google.cloud.aiplatform.v1.EncryptionSpec\x12K\x0A\x11model_source_info\x18& \x01(\x0B2+.google.cloud.aiplatform.v1.ModelSourceInfoB\x03\xE0A\x03\x12U\x0A\x13original_model_info\x18\" \x01(\x0B23.google.cloud.aiplatform.v1.Model.OriginalModelInfoB\x03\xE0A\x03\x12\x1E\x0A\x11metadata_artifact\x18, \x01(\x09B\x03\xE0A\x03\x12Q\x0A\x11base_model_source\x182 \x01(\x0B21.google.cloud.aiplatform.v1.Model.BaseModelSourceB\x03\xE0A\x01\x12\x1A\x0A\x0Dsatisfies_pzs\x183 \x01(\x08B\x03\xE0A\x03\x12\x1A\x0A\x0Dsatisfies_pzi\x184 \x01(\x08B\x03\xE0A\x03\x12C\x0A\x0Bcheckpoints\x189 \x03(\x0B2&.google.cloud.aiplatform.v1.CheckpointB\x06\xE0A\x03\xE0A\x01\x1A\xD5\x01\x0A\x0CExportFormat\x12\x0F\x0A\x02id\x18\x01 \x01(\x09B\x03\xE0A\x03\x12b\x0A\x13exportable_contents\x18\x02 \x03(\x0E2@.google.cloud.aiplatform.v1.Model.ExportFormat.ExportableContentB\x03\xE0A\x03\"P\x0A\x11ExportableContent\x12\"\x0A\x1EEXPORTABLE_CONTENT_UNSPECIFIED\x10\x00\x12\x0C\x0A\x08ARTIFACT\x10\x01\x12\x09\x0A\x05IMAGE\x10\x02\x1A\xDC\x01\x0A\x09DataStats\x12!\x0A\x19training_data_items_count\x18\x01 \x01(\x03\x12#\x0A\x1Bvalidation_data_items_count\x18\x02 \x01(\x03\x12\x1D\x0A\x15test_data_items_count\x18\x03 \x01(\x03\x12\"\x0A\x1Atraining_annotations_count\x18\x04 \x01(\x03\x12\$\x0A\x1Cvalidation_annotations_count\x18\x05 \x01(\x03\x12\x1E\x0A\x16test_annotations_count\x18\x06 \x01(\x03\x1AK\x0A\x11OriginalModelInfo\x126\x0A\x05model\x18\x01 \x01(\x09B'\xE0A\x03\xFAA!\x0A\x1Faiplatform.googleapis.com/Model\x1A\xAA\x01\x0A\x0FBaseModelSource\x12L\x0A\x13model_garden_source\x18\x01 \x01(\x0B2-.google.cloud.aiplatform.v1.ModelGardenSourceH\x00\x12?\x0A\x0Cgenie_source\x18\x02 \x01(\x0B2'.google.cloud.aiplatform.v1.GenieSourceH\x00B\x08\x0A\x06source\x1A-\x0A\x0BLabelsEntry\x12\x0B\x0A\x03key\x18\x01 \x01(\x09\x12\x0D\x0A\x05value\x18\x02 \x01(\x09:\x028\x01\"\x8C\x01\x0A\x17DeploymentResourcesType\x12)\x0A%DEPLOYMENT_RESOURCES_TYPE_UNSPECIFIED\x10\x00\x12\x17\x0A\x13DEDICATED_RESOURCES\x10\x01\x12\x17\x0A\x13AUTOMATIC_RESOURCES\x10\x02\x12\x14\x0A\x10SHARED_RESOURCES\x10\x03:\\\xEAAY\x0A\x1Faiplatform.googleapis.com/Model\x126projects/{project}/locations/{location}/models/{model}\"(\x0A\x13LargeModelReference\x12\x11\x0A\x04name\x18\x01 \x01(\x09B\x03\xE0A\x02\"n\x0A\x11ModelGardenSource\x12\x1E\x0A\x11public_model_name\x18\x01 \x01(\x09B\x03\xE0A\x02\x12\x17\x0A\x0Aversion_id\x18\x03 \x01(\x09B\x03\xE0A\x01\x12 \x0A\x13skip_hf_model_cache\x18\x04 \x01(\x08B\x03\xE0A\x01\"*\x0A\x0BGenieSource\x12\x1B\x0A\x0Ebase_model_uri\x18\x01 \x01(\x09B\x03\xE0A\x02\"{\x0A\x0FPredictSchemata\x12 \x0A\x13instance_schema_uri\x18\x01 \x01(\x09B\x03\xE0A\x05\x12\"\x0A\x15parameters_schema_uri\x18\x02 \x01(\x09B\x03\xE0A\x05\x12\"\x0A\x15prediction_schema_uri\x18\x03 \x01(\x09B\x03\xE0A\x05\"\xF5\x04\x0A\x12ModelContainerSpec\x12\x19\x0A\x09image_uri\x18\x01 \x01(\x09B\x06\xE0A\x02\xE0A\x05\x12\x14\x0A\x07command\x18\x02 \x03(\x09B\x03\xE0A\x05\x12\x11\x0A\x04args\x18\x03 \x03(\x09B\x03\xE0A\x05\x124\x0A\x03env\x18\x04 \x03(\x0B2\".google.cloud.aiplatform.v1.EnvVarB\x03\xE0A\x05\x124\x0A\x05ports\x18\x05 \x03(\x0B2 .google.cloud.aiplatform.v1.PortB\x03\xE0A\x05\x12\x1A\x0A\x0Dpredict_route\x18\x06 \x01(\x09B\x03\xE0A\x05\x12\x19\x0A\x0Chealth_route\x18\x07 \x01(\x09B\x03\xE0A\x05\x12 \x0A\x13invoke_route_prefix\x18\x0F \x01(\x09B\x03\xE0A\x05\x129\x0A\x0Agrpc_ports\x18\x09 \x03(\x0B2 .google.cloud.aiplatform.v1.PortB\x03\xE0A\x05\x12:\x0A\x12deployment_timeout\x18\x0A \x01(\x0B2\x19.google.protobuf.DurationB\x03\xE0A\x05\x12\"\x0A\x15shared_memory_size_mb\x18\x0B \x01(\x03B\x03\xE0A\x05\x12=\x0A\x0Dstartup_probe\x18\x0C \x01(\x0B2!.google.cloud.aiplatform.v1.ProbeB\x03\xE0A\x05\x12<\x0A\x0Chealth_probe\x18\x0D \x01(\x0B2!.google.cloud.aiplatform.v1.ProbeB\x03\xE0A\x05\x12>\x0A\x0Eliveness_probe\x18\x0E \x01(\x0B2!.google.cloud.aiplatform.v1.ProbeB\x03\xE0A\x05\"\x1E\x0A\x04Port\x12\x16\x0A\x0Econtainer_port\x18\x03 \x01(\x05\"\x93\x02\x0A\x0FModelSourceInfo\x12P\x0A\x0Bsource_type\x18\x01 \x01(\x0E2;.google.cloud.aiplatform.v1.ModelSourceInfo.ModelSourceType\x12\x0C\x0A\x04copy\x18\x02 \x01(\x08\"\x9F\x01\x0A\x0FModelSourceType\x12!\x0A\x1DMODEL_SOURCE_TYPE_UNSPECIFIED\x10\x00\x12\x0A\x0A\x06AUTOML\x10\x01\x12\x0A\x0A\x06CUSTOM\x10\x02\x12\x08\x0A\x04BQML\x10\x03\x12\x10\x0A\x0CMODEL_GARDEN\x10\x04\x12\x09\x0A\x05GENIE\x10\x05\x12\x19\x0A\x15CUSTOM_TEXT_EMBEDDING\x10\x06\x12\x0F\x0A\x0BMARKETPLACE\x10\x07\"\xDB\x05\x0A\x05Probe\x12<\x0A\x04exec\x18\x01 \x01(\x0B2,.google.cloud.aiplatform.v1.Probe.ExecActionH\x00\x12C\x0A\x08http_get\x18\x04 \x01(\x0B2/.google.cloud.aiplatform.v1.Probe.HttpGetActionH\x00\x12<\x0A\x04grpc\x18\x05 \x01(\x0B2,.google.cloud.aiplatform.v1.Probe.GrpcActionH\x00\x12G\x0A\x0Atcp_socket\x18\x06 \x01(\x0B21.google.cloud.aiplatform.v1.Probe.TcpSocketActionH\x00\x12\x16\x0A\x0Eperiod_seconds\x18\x02 \x01(\x05\x12\x17\x0A\x0Ftimeout_seconds\x18\x03 \x01(\x05\x12\x19\x0A\x11failure_threshold\x18\x07 \x01(\x05\x12\x19\x0A\x11success_threshold\x18\x08 \x01(\x05\x12\x1D\x0A\x15initial_delay_seconds\x18\x09 \x01(\x05\x1A\x1D\x0A\x0AExecAction\x12\x0F\x0A\x07command\x18\x01 \x03(\x09\x1A\x8D\x01\x0A\x0DHttpGetAction\x12\x0C\x0A\x04path\x18\x01 \x01(\x09\x12\x0C\x0A\x04port\x18\x02 \x01(\x05\x12\x0C\x0A\x04host\x18\x03 \x01(\x09\x12\x0E\x0A\x06scheme\x18\x04 \x01(\x09\x12B\x0A\x0Chttp_headers\x18\x05 \x03(\x0B2,.google.cloud.aiplatform.v1.Probe.HttpHeader\x1A+\x0A\x0AGrpcAction\x12\x0C\x0A\x04port\x18\x01 \x01(\x05\x12\x0F\x0A\x07service\x18\x02 \x01(\x09\x1A-\x0A\x0FTcpSocketAction\x12\x0C\x0A\x04port\x18\x01 \x01(\x05\x12\x0C\x0A\x04host\x18\x02 \x01(\x09\x1A)\x0A\x0AHttpHeader\x12\x0C\x0A\x04name\x18\x01 \x01(\x09\x12\x0D\x0A\x05value\x18\x02 \x01(\x09B\x0C\x0A\x0Aprobe_type\"@\x0A\x0ACheckpoint\x12\x15\x0A\x0Dcheckpoint_id\x18\x01 \x01(\x09\x12\x0D\x0A\x05epoch\x18\x02 \x01(\x03\x12\x0C\x0A\x04step\x18\x03 \x01(\x03B\xC8\x01\x0A\x1Ecom.google.cloud.aiplatform.v1B\x0AModelProtoP\x01Z>cloud.google.com/go/aiplatform/apiv1/aiplatformpb;aiplatformpb\xAA\x02\x1AGoogle.Cloud.AIPlatform.V1\xCA\x02\x1AGoogle\\Cloud\\AIPlatform\\V1\xEA\x02\x1DGoogle::Cloud::AIPlatform::V1b\x06proto3" + , true); + + static::$is_initialized = true; + } +} + 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 000000000000..9fd0c3fecb4e --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/ModelDeploymentMonitoringJob.php @@ -0,0 +1,35 @@ +internalAddGeneratedFile( + "\x0A\xAC\"\x0A@google/cloud/aiplatform/v1/model_deployment_monitoring_job.proto\x12\x1Agoogle.cloud.aiplatform.v1\x1A\x19google/api/resource.proto\x1A0google/cloud/aiplatform/v1/encryption_spec.proto\x1A9google/cloud/aiplatform/v1/feature_monitoring_stats.proto\x1A#google/cloud/aiplatform/v1/io.proto\x1A*google/cloud/aiplatform/v1/job_state.proto\x1A1google/cloud/aiplatform/v1/model_monitoring.proto\x1A\x1Egoogle/protobuf/duration.proto\x1A\x1Cgoogle/protobuf/struct.proto\x1A\x1Fgoogle/protobuf/timestamp.proto\x1A\x17google/rpc/status.proto\"\xE5\x10\x0A\x1CModelDeploymentMonitoringJob\x12\x11\x0A\x04name\x18\x01 \x01(\x09B\x03\xE0A\x03\x12\x19\x0A\x0Cdisplay_name\x18\x02 \x01(\x09B\x03\xE0A\x02\x12<\x0A\x08endpoint\x18\x03 \x01(\x09B*\xE0A\x02\xFAA\$\x0A\"aiplatform.googleapis.com/Endpoint\x128\x0A\x05state\x18\x04 \x01(\x0E2\$.google.cloud.aiplatform.v1.JobStateB\x03\xE0A\x03\x12m\x0A\x0Eschedule_state\x18\x05 \x01(\x0E2P.google.cloud.aiplatform.v1.ModelDeploymentMonitoringJob.MonitoringScheduleStateB\x03\xE0A\x03\x12\x8B\x01\x0A#latest_monitoring_pipeline_metadata\x18\x19 \x01(\x0B2Y.google.cloud.aiplatform.v1.ModelDeploymentMonitoringJob.LatestMonitoringPipelineMetadataB\x03\xE0A\x03\x12\x80\x01\x0A-model_deployment_monitoring_objective_configs\x18\x06 \x03(\x0B2D.google.cloud.aiplatform.v1.ModelDeploymentMonitoringObjectiveConfigB\x03\xE0A\x02\x12}\x0A+model_deployment_monitoring_schedule_config\x18\x07 \x01(\x0B2C.google.cloud.aiplatform.v1.ModelDeploymentMonitoringScheduleConfigB\x03\xE0A\x02\x12T\x0A\x19logging_sampling_strategy\x18\x08 \x01(\x0B2,.google.cloud.aiplatform.v1.SamplingStrategyB\x03\xE0A\x02\x12]\x0A\x1Dmodel_monitoring_alert_config\x18\x0F \x01(\x0B26.google.cloud.aiplatform.v1.ModelMonitoringAlertConfig\x12#\x0A\x1Bpredict_instance_schema_uri\x18\x09 \x01(\x09\x127\x0A\x17sample_predict_instance\x18\x13 \x01(\x0B2\x16.google.protobuf.Value\x12\$\x0A\x1Canalysis_instance_schema_uri\x18\x10 \x01(\x09\x12`\x0A\x0Fbigquery_tables\x18\x0A \x03(\x0B2B.google.cloud.aiplatform.v1.ModelDeploymentMonitoringBigQueryTableB\x03\xE0A\x03\x12*\x0A\x07log_ttl\x18\x11 \x01(\x0B2\x19.google.protobuf.Duration\x12T\x0A\x06labels\x18\x0B \x03(\x0B2D.google.cloud.aiplatform.v1.ModelDeploymentMonitoringJob.LabelsEntry\x124\x0A\x0Bcreate_time\x18\x0C \x01(\x0B2\x1A.google.protobuf.TimestampB\x03\xE0A\x03\x124\x0A\x0Bupdate_time\x18\x0D \x01(\x0B2\x1A.google.protobuf.TimestampB\x03\xE0A\x03\x12;\x0A\x12next_schedule_time\x18\x0E \x01(\x0B2\x1A.google.protobuf.TimestampB\x03\xE0A\x03\x12R\x0A\x1Estats_anomalies_base_directory\x18\x14 \x01(\x0B2*.google.cloud.aiplatform.v1.GcsDestination\x12C\x0A\x0Fencryption_spec\x18\x15 \x01(\x0B2*.google.cloud.aiplatform.v1.EncryptionSpec\x12'\x0A\x1Fenable_monitoring_pipeline_logs\x18\x16 \x01(\x08\x12&\x0A\x05error\x18\x17 \x01(\x0B2\x12.google.rpc.StatusB\x03\xE0A\x03\x12\x1A\x0A\x0Dsatisfies_pzs\x18\x1A \x01(\x08B\x03\xE0A\x03\x12\x1A\x0A\x0Dsatisfies_pzi\x18\x1B \x01(\x08B\x03\xE0A\x03\x1At\x0A LatestMonitoringPipelineMetadata\x12,\x0A\x08run_time\x18\x01 \x01(\x0B2\x1A.google.protobuf.Timestamp\x12\"\x0A\x06status\x18\x02 \x01(\x0B2\x12.google.rpc.Status\x1A-\x0A\x0BLabelsEntry\x12\x0B\x0A\x03key\x18\x01 \x01(\x09\x12\x0D\x0A\x05value\x18\x02 \x01(\x09:\x028\x01\"k\x0A\x17MonitoringScheduleState\x12)\x0A%MONITORING_SCHEDULE_STATE_UNSPECIFIED\x10\x00\x12\x0B\x0A\x07PENDING\x10\x01\x12\x0B\x0A\x07OFFLINE\x10\x02\x12\x0B\x0A\x07RUNNING\x10\x03:\xA5\x01\xEAA\xA1\x01\x0A6aiplatform.googleapis.com/ModelDeploymentMonitoringJob\x12gprojects/{project}/locations/{location}/modelDeploymentMonitoringJobs/{model_deployment_monitoring_job}\"\xBE\x03\x0A&ModelDeploymentMonitoringBigQueryTable\x12`\x0A\x0Alog_source\x18\x01 \x01(\x0E2L.google.cloud.aiplatform.v1.ModelDeploymentMonitoringBigQueryTable.LogSource\x12\\\x0A\x08log_type\x18\x02 \x01(\x0E2J.google.cloud.aiplatform.v1.ModelDeploymentMonitoringBigQueryTable.LogType\x12\x1B\x0A\x13bigquery_table_path\x18\x03 \x01(\x09\x124\x0A'request_response_logging_schema_version\x18\x04 \x01(\x09B\x03\xE0A\x03\"B\x0A\x09LogSource\x12\x1A\x0A\x16LOG_SOURCE_UNSPECIFIED\x10\x00\x12\x0C\x0A\x08TRAINING\x10\x01\x12\x0B\x0A\x07SERVING\x10\x02\"=\x0A\x07LogType\x12\x18\x0A\x14LOG_TYPE_UNSPECIFIED\x10\x00\x12\x0B\x0A\x07PREDICT\x10\x01\x12\x0B\x0A\x07EXPLAIN\x10\x02\"\x9B\x01\x0A(ModelDeploymentMonitoringObjectiveConfig\x12\x19\x0A\x11deployed_model_id\x18\x01 \x01(\x09\x12T\x0A\x10objective_config\x18\x02 \x01(\x0B2:.google.cloud.aiplatform.v1.ModelMonitoringObjectiveConfig\"\x96\x01\x0A'ModelDeploymentMonitoringScheduleConfig\x128\x0A\x10monitor_interval\x18\x01 \x01(\x0B2\x19.google.protobuf.DurationB\x03\xE0A\x02\x121\x0A\x0Emonitor_window\x18\x02 \x01(\x0B2\x19.google.protobuf.Duration\"\xAC\x04\x0A\x1DModelMonitoringStatsAnomalies\x12U\x0A\x09objective\x18\x01 \x01(\x0E2B.google.cloud.aiplatform.v1.ModelDeploymentMonitoringObjectiveType\x12\x19\x0A\x11deployed_model_id\x18\x02 \x01(\x09\x12\x15\x0A\x0Danomaly_count\x18\x03 \x01(\x05\x12n\x0A\x0Dfeature_stats\x18\x04 \x03(\x0B2W.google.cloud.aiplatform.v1.ModelMonitoringStatsAnomalies.FeatureHistoricStatsAnomalies\x1A\x91\x02\x0A\x1DFeatureHistoricStatsAnomalies\x12\x1C\x0A\x14feature_display_name\x18\x01 \x01(\x09\x12>\x0A\x09threshold\x18\x03 \x01(\x0B2+.google.cloud.aiplatform.v1.ThresholdConfig\x12G\x0A\x0Etraining_stats\x18\x04 \x01(\x0B2/.google.cloud.aiplatform.v1.FeatureStatsAnomaly\x12I\x0A\x10prediction_stats\x18\x05 \x03(\x0B2/.google.cloud.aiplatform.v1.FeatureStatsAnomaly*\xCE\x01\x0A&ModelDeploymentMonitoringObjectiveType\x12:\x0A6MODEL_DEPLOYMENT_MONITORING_OBJECTIVE_TYPE_UNSPECIFIED\x10\x00\x12\x14\x0A\x10RAW_FEATURE_SKEW\x10\x01\x12\x15\x0A\x11RAW_FEATURE_DRIFT\x10\x02\x12\x1C\x0A\x18FEATURE_ATTRIBUTION_SKEW\x10\x03\x12\x1D\x0A\x19FEATURE_ATTRIBUTION_DRIFT\x10\x04B\xDF\x01\x0A\x1Ecom.google.cloud.aiplatform.v1B!ModelDeploymentMonitoringJobProtoP\x01Z>cloud.google.com/go/aiplatform/apiv1/aiplatformpb;aiplatformpb\xAA\x02\x1AGoogle.Cloud.AIPlatform.V1\xCA\x02\x1AGoogle\\Cloud\\AIPlatform\\V1\xEA\x02\x1DGoogle::Cloud::AIPlatform::V1b\x06proto3" + , true); + + static::$is_initialized = true; + } +} + 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..45bc1f840cb7 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/ModelEvaluation.php @@ -0,0 +1,29 @@ +internalAddGeneratedFile( + "\x0A\xA2\x09\x0A1google/cloud/aiplatform/v1/model_evaluation.proto\x12\x1Agoogle.cloud.aiplatform.v1\x1A\x19google/api/resource.proto\x1A,google/cloud/aiplatform/v1/explanation.proto\x1A\x1Cgoogle/protobuf/struct.proto\x1A\x1Fgoogle/protobuf/timestamp.proto\"\xEB\x05\x0A\x0FModelEvaluation\x12\x11\x0A\x04name\x18\x01 \x01(\x09B\x03\xE0A\x03\x12\x14\x0A\x0Cdisplay_name\x18\x0A \x01(\x09\x12\x1A\x0A\x12metrics_schema_uri\x18\x02 \x01(\x09\x12'\x0A\x07metrics\x18\x03 \x01(\x0B2\x16.google.protobuf.Value\x124\x0A\x0Bcreate_time\x18\x04 \x01(\x0B2\x1A.google.protobuf.TimestampB\x03\xE0A\x03\x12\x18\x0A\x10slice_dimensions\x18\x05 \x03(\x09\x12\x1C\x0A\x14data_item_schema_uri\x18\x06 \x01(\x09\x12\x1D\x0A\x15annotation_schema_uri\x18\x07 \x01(\x09\x12G\x0A\x11model_explanation\x18\x08 \x01(\x0B2,.google.cloud.aiplatform.v1.ModelExplanation\x12e\x0A\x11explanation_specs\x18\x09 \x03(\x0B2J.google.cloud.aiplatform.v1.ModelEvaluation.ModelEvaluationExplanationSpec\x12(\x0A\x08metadata\x18\x0B \x01(\x0B2\x16.google.protobuf.Value\x1A\x81\x01\x0A\x1EModelEvaluationExplanationSpec\x12\x18\x0A\x10explanation_type\x18\x01 \x01(\x09\x12E\x0A\x10explanation_spec\x18\x02 \x01(\x0B2+.google.cloud.aiplatform.v1.ExplanationSpec:\x7F\xEAA|\x0A)aiplatform.googleapis.com/ModelEvaluation\x12Oprojects/{project}/locations/{location}/models/{model}/evaluations/{evaluation}B\xD2\x01\x0A\x1Ecom.google.cloud.aiplatform.v1B\x14ModelEvaluationProtoP\x01Z>cloud.google.com/go/aiplatform/apiv1/aiplatformpb;aiplatformpb\xAA\x02\x1AGoogle.Cloud.AIPlatform.V1\xCA\x02\x1AGoogle\\Cloud\\AIPlatform\\V1\xEA\x02\x1DGoogle::Cloud::AIPlatform::V1b\x06proto3" + , 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 000000000000..4f788baca56e --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/ModelEvaluationSlice.php @@ -0,0 +1,30 @@ +internalAddGeneratedFile( + "\x0A\x9E\x0D\x0A7google/cloud/aiplatform/v1/model_evaluation_slice.proto\x12\x1Agoogle.cloud.aiplatform.v1\x1A\x19google/api/resource.proto\x1A,google/cloud/aiplatform/v1/explanation.proto\x1A\x1Cgoogle/protobuf/struct.proto\x1A\x1Fgoogle/protobuf/timestamp.proto\x1A\x1Egoogle/protobuf/wrappers.proto\"\xBC\x09\x0A\x14ModelEvaluationSlice\x12\x11\x0A\x04name\x18\x01 \x01(\x09B\x03\xE0A\x03\x12J\x0A\x05slice\x18\x02 \x01(\x0B26.google.cloud.aiplatform.v1.ModelEvaluationSlice.SliceB\x03\xE0A\x03\x12\x1F\x0A\x12metrics_schema_uri\x18\x03 \x01(\x09B\x03\xE0A\x03\x12,\x0A\x07metrics\x18\x04 \x01(\x0B2\x16.google.protobuf.ValueB\x03\xE0A\x03\x124\x0A\x0Bcreate_time\x18\x05 \x01(\x0B2\x1A.google.protobuf.TimestampB\x03\xE0A\x03\x12L\x0A\x11model_explanation\x18\x06 \x01(\x0B2,.google.cloud.aiplatform.v1.ModelExplanationB\x03\xE0A\x03\x1A\xDA\x05\x0A\x05Slice\x12\x16\x0A\x09dimension\x18\x01 \x01(\x09B\x03\xE0A\x03\x12\x12\x0A\x05value\x18\x02 \x01(\x09B\x03\xE0A\x03\x12Y\x0A\x0Aslice_spec\x18\x03 \x01(\x0B2@.google.cloud.aiplatform.v1.ModelEvaluationSlice.Slice.SliceSpecB\x03\xE0A\x03\x1A\xC9\x04\x0A\x09SliceSpec\x12^\x0A\x07configs\x18\x01 \x03(\x0B2M.google.cloud.aiplatform.v1.ModelEvaluationSlice.Slice.SliceSpec.ConfigsEntry\x1A\xF9\x01\x0A\x0BSliceConfig\x12W\x0A\x05value\x18\x01 \x01(\x0B2F.google.cloud.aiplatform.v1.ModelEvaluationSlice.Slice.SliceSpec.ValueH\x00\x12W\x0A\x05range\x18\x02 \x01(\x0B2F.google.cloud.aiplatform.v1.ModelEvaluationSlice.Slice.SliceSpec.RangeH\x00\x120\x0A\x0Aall_values\x18\x03 \x01(\x0B2\x1A.google.protobuf.BoolValueH\x00B\x06\x0A\x04kind\x1A\"\x0A\x05Range\x12\x0B\x0A\x03low\x18\x01 \x01(\x02\x12\x0C\x0A\x04high\x18\x02 \x01(\x02\x1A>\x0A\x05Value\x12\x16\x0A\x0Cstring_value\x18\x01 \x01(\x09H\x00\x12\x15\x0A\x0Bfloat_value\x18\x02 \x01(\x02H\x00B\x06\x0A\x04kind\x1A|\x0A\x0CConfigsEntry\x12\x0B\x0A\x03key\x18\x01 \x01(\x09\x12[\x0A\x05value\x18\x02 \x01(\x0B2L.google.cloud.aiplatform.v1.ModelEvaluationSlice.Slice.SliceSpec.SliceConfig:\x028\x01:\x94\x01\xEAA\x90\x01\x0A.aiplatform.googleapis.com/ModelEvaluationSlice\x12^projects/{project}/locations/{location}/models/{model}/evaluations/{evaluation}/slices/{slice}B\xD7\x01\x0A\x1Ecom.google.cloud.aiplatform.v1B\x19ModelEvaluationSliceProtoP\x01Z>cloud.google.com/go/aiplatform/apiv1/aiplatformpb;aiplatformpb\xAA\x02\x1AGoogle.Cloud.AIPlatform.V1\xCA\x02\x1AGoogle\\Cloud\\AIPlatform\\V1\xEA\x02\x1DGoogle::Cloud::AIPlatform::V1b\x06proto3" + , true); + + static::$is_initialized = true; + } +} + 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 000000000000..39bc02472577 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/ModelGardenService.php @@ -0,0 +1,33 @@ +internalAddGeneratedFile( + "\x0A\xF7\x18\x0A5google/cloud/aiplatform/v1/model_garden_service.proto\x12\x1Agoogle.cloud.aiplatform.v1\x1A\x17google/api/client.proto\x1A\x1Fgoogle/api/field_behavior.proto\x1A\x19google/api/resource.proto\x1A2google/cloud/aiplatform/v1/machine_resources.proto\x1A&google/cloud/aiplatform/v1/model.proto\x1A*google/cloud/aiplatform/v1/operation.proto\x1A0google/cloud/aiplatform/v1/publisher_model.proto\x1A#google/longrunning/operations.proto\"\xFE\x01\x0A\x18GetPublisherModelRequest\x12>\x0A\x04name\x18\x01 \x01(\x09B0\xE0A\x02\xFAA*\x0A(aiplatform.googleapis.com/PublisherModel\x12\x1A\x0A\x0Dlanguage_code\x18\x02 \x01(\x09B\x03\xE0A\x01\x12A\x0A\x04view\x18\x03 \x01(\x0E2..google.cloud.aiplatform.v1.PublisherModelViewB\x03\xE0A\x01\x12\"\x0A\x15is_hugging_face_model\x18\x05 \x01(\x08B\x03\xE0A\x01\x12\x1F\x0A\x12hugging_face_token\x18\x06 \x01(\x09B\x03\xE0A\x01\"\x9D\x09\x0A\x0DDeployRequest\x12M\x0A\x14publisher_model_name\x18\x01 \x01(\x09B-\xFAA*\x0A(aiplatform.googleapis.com/PublisherModelH\x00\x12\x1F\x0A\x15hugging_face_model_id\x18\x02 \x01(\x09H\x00\x12>\x0A\x0Bdestination\x18\x04 \x01(\x09B)\xE0A\x02\xFAA#\x0A!locations.googleapis.com/Location\x12P\x0A\x0Cmodel_config\x18\x05 \x01(\x0B25.google.cloud.aiplatform.v1.DeployRequest.ModelConfigB\x03\xE0A\x01\x12V\x0A\x0Fendpoint_config\x18\x06 \x01(\x0B28.google.cloud.aiplatform.v1.DeployRequest.EndpointConfigB\x03\xE0A\x01\x12R\x0A\x0Ddeploy_config\x18\x07 \x01(\x0B26.google.cloud.aiplatform.v1.DeployRequest.DeployConfigB\x03\xE0A\x01\x1A\x82\x02\x0A\x0BModelConfig\x12\x18\x0A\x0Baccept_eula\x18\x01 \x01(\x08B\x03\xE0A\x01\x12&\x0A\x19hugging_face_access_token\x18\x02 \x01(\x09B\x03\xE0A\x01\x12'\x0A\x1Ahugging_face_cache_enabled\x18\x03 \x01(\x08B\x03\xE0A\x01\x12\x1F\x0A\x12model_display_name\x18\x04 \x01(\x09B\x03\xE0A\x01\x12K\x0A\x0Econtainer_spec\x18\x05 \x01(\x0B2..google.cloud.aiplatform.v1.ModelContainerSpecB\x03\xE0A\x01\x12\x1A\x0A\x0Dmodel_user_id\x18\x06 \x01(\x09B\x03\xE0A\x01\x1A\xAB\x01\x0A\x0EEndpointConfig\x12\"\x0A\x15endpoint_display_name\x18\x01 \x01(\x09B\x03\xE0A\x01\x12)\x0A\x1Adedicated_endpoint_enabled\x18\x02 \x01(\x08B\x05\x18\x01\xE0A\x01\x12(\x0A\x1Bdedicated_endpoint_disabled\x18\x04 \x01(\x08B\x03\xE0A\x01\x12 \x0A\x10endpoint_user_id\x18\x03 \x01(\x09B\x06\xE0A\x05\xE0A\x01\x1A\x9D\x02\x0A\x0CDeployConfig\x12P\x0A\x13dedicated_resources\x18\x01 \x01(\x0B2..google.cloud.aiplatform.v1.DedicatedResourcesB\x03\xE0A\x01\x12 \x0A\x13fast_tryout_enabled\x18\x02 \x01(\x08B\x03\xE0A\x01\x12d\x0A\x0Dsystem_labels\x18\x03 \x03(\x0B2H.google.cloud.aiplatform.v1.DeployRequest.DeployConfig.SystemLabelsEntryB\x03\xE0A\x01\x1A3\x0A\x11SystemLabelsEntry\x12\x0B\x0A\x03key\x18\x01 \x01(\x09\x12\x0D\x0A\x05value\x18\x02 \x01(\x09:\x028\x01B\x0B\x0A\x09artifacts\"\xD1\x01\x0A\x0EDeployResponse\x12I\x0A\x0Fpublisher_model\x18\x01 \x01(\x09B0\xE0A\x03\xFAA*\x0A(aiplatform.googleapis.com/PublisherModel\x12<\x0A\x08endpoint\x18\x02 \x01(\x09B*\xE0A\x03\xFAA\$\x0A\"aiplatform.googleapis.com/Endpoint\x126\x0A\x05model\x18\x03 \x01(\x09B'\xE0A\x03\xFAA!\x0A\x1Faiplatform.googleapis.com/Model\"\xA8\x02\x0A\x17DeployOperationMetadata\x12N\x0A\x10generic_metadata\x18\x01 \x01(\x0B24.google.cloud.aiplatform.v1.GenericOperationMetadata\x12I\x0A\x0Fpublisher_model\x18\x02 \x01(\x09B0\xE0A\x03\xFAA*\x0A(aiplatform.googleapis.com/PublisherModel\x12>\x0A\x0Bdestination\x18\x03 \x01(\x09B)\xE0A\x03\xFAA#\x0A!locations.googleapis.com/Location\x12\x1B\x0A\x0Eproject_number\x18\x04 \x01(\x03B\x03\xE0A\x03\x12\x15\x0A\x08model_id\x18\x05 \x01(\x09B\x03\xE0A\x03*\xA1\x01\x0A\x12PublisherModelView\x12\$\x0A PUBLISHER_MODEL_VIEW_UNSPECIFIED\x10\x00\x12\x1E\x0A\x1APUBLISHER_MODEL_VIEW_BASIC\x10\x01\x12\x1D\x0A\x19PUBLISHER_MODEL_VIEW_FULL\x10\x02\x12&\x0A\"PUBLISHER_MODEL_VERSION_VIEW_BASIC\x10\x032\xC9\x03\x0A\x12ModelGardenService\x12\xA6\x01\x0A\x11GetPublisherModel\x124.google.cloud.aiplatform.v1.GetPublisherModelRequest\x1A*.google.cloud.aiplatform.v1.PublisherModel\"/\xDAA\x04name\x82\xD3\xE4\x93\x02\"\x12 /v1/{name=publishers/*/models/*}\x12\xBA\x01\x0A\x06Deploy\x12).google.cloud.aiplatform.v1.DeployRequest\x1A\x1D.google.longrunning.Operation\"f\xCAA)\x0A\x0EDeployResponse\x12\x17DeployOperationMetadata\x82\xD3\xE4\x93\x024\"//v1/{destination=projects/*/locations/*}:deploy:\x01*\x1AM\xCAA\x19aiplatform.googleapis.com\xD2A.https://www.googleapis.com/auth/cloud-platformB\xD5\x01\x0A\x1Ecom.google.cloud.aiplatform.v1B\x17ModelGardenServiceProtoP\x01Z>cloud.google.com/go/aiplatform/apiv1/aiplatformpb;aiplatformpb\xAA\x02\x1AGoogle.Cloud.AIPlatform.V1\xCA\x02\x1AGoogle\\Cloud\\AIPlatform\\V1\xEA\x02\x1DGoogle::Cloud::AIPlatform::V1b\x06proto3" + , true); + + static::$is_initialized = true; + } +} + diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/ModelMonitoring.php b/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/ModelMonitoring.php new file mode 100644 index 000000000000..d7e6cc96f809 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/ModelMonitoring.php @@ -0,0 +1,26 @@ +internalAddGeneratedFile( + "\x0A\xF8\x1C\x0A1google/cloud/aiplatform/v1/model_monitoring.proto\x12\x1Agoogle.cloud.aiplatform.v1\x1A#google/cloud/aiplatform/v1/io.proto\"\xBF\x15\x0A\x1EModelMonitoringObjectiveConfig\x12d\x0A\x10training_dataset\x18\x01 \x01(\x0B2J.google.cloud.aiplatform.v1.ModelMonitoringObjectiveConfig.TrainingDataset\x12\x93\x01\x0A)training_prediction_skew_detection_config\x18\x02 \x01(\x0B2`.google.cloud.aiplatform.v1.ModelMonitoringObjectiveConfig.TrainingPredictionSkewDetectionConfig\x12\x84\x01\x0A!prediction_drift_detection_config\x18\x03 \x01(\x0B2Y.google.cloud.aiplatform.v1.ModelMonitoringObjectiveConfig.PredictionDriftDetectionConfig\x12h\x0A\x12explanation_config\x18\x05 \x01(\x0B2L.google.cloud.aiplatform.v1.ModelMonitoringObjectiveConfig.ExplanationConfig\x1A\xDB\x02\x0A\x0FTrainingDataset\x129\x0A\x07dataset\x18\x03 \x01(\x09B&\xFAA#\x0A!aiplatform.googleapis.com/DatasetH\x00\x12;\x0A\x0Agcs_source\x18\x04 \x01(\x0B2%.google.cloud.aiplatform.v1.GcsSourceH\x00\x12E\x0A\x0Fbigquery_source\x18\x05 \x01(\x0B2*.google.cloud.aiplatform.v1.BigQuerySourceH\x00\x12\x13\x0A\x0Bdata_format\x18\x02 \x01(\x09\x12\x14\x0A\x0Ctarget_field\x18\x06 \x01(\x09\x12O\x0A\x19logging_sampling_strategy\x18\x07 \x01(\x0B2,.google.cloud.aiplatform.v1.SamplingStrategyB\x0D\x0A\x0Bdata_source\x1A\x8F\x05\x0A%TrainingPredictionSkewDetectionConfig\x12\x8D\x01\x0A\x0Fskew_thresholds\x18\x01 \x03(\x0B2t.google.cloud.aiplatform.v1.ModelMonitoringObjectiveConfig.TrainingPredictionSkewDetectionConfig.SkewThresholdsEntry\x12\xB0\x01\x0A!attribution_score_skew_thresholds\x18\x02 \x03(\x0B2\x84\x01.google.cloud.aiplatform.v1.ModelMonitoringObjectiveConfig.TrainingPredictionSkewDetectionConfig.AttributionScoreSkewThresholdsEntry\x12K\x0A\x16default_skew_threshold\x18\x06 \x01(\x0B2+.google.cloud.aiplatform.v1.ThresholdConfig\x1Ab\x0A\x13SkewThresholdsEntry\x12\x0B\x0A\x03key\x18\x01 \x01(\x09\x12:\x0A\x05value\x18\x02 \x01(\x0B2+.google.cloud.aiplatform.v1.ThresholdConfig:\x028\x01\x1Ar\x0A#AttributionScoreSkewThresholdsEntry\x12\x0B\x0A\x03key\x18\x01 \x01(\x09\x12:\x0A\x05value\x18\x02 \x01(\x0B2+.google.cloud.aiplatform.v1.ThresholdConfig:\x028\x01\x1A\x80\x05\x0A\x1EPredictionDriftDetectionConfig\x12\x88\x01\x0A\x10drift_thresholds\x18\x01 \x03(\x0B2n.google.cloud.aiplatform.v1.ModelMonitoringObjectiveConfig.PredictionDriftDetectionConfig.DriftThresholdsEntry\x12\xAA\x01\x0A\"attribution_score_drift_thresholds\x18\x02 \x03(\x0B2~.google.cloud.aiplatform.v1.ModelMonitoringObjectiveConfig.PredictionDriftDetectionConfig.AttributionScoreDriftThresholdsEntry\x12L\x0A\x17default_drift_threshold\x18\x05 \x01(\x0B2+.google.cloud.aiplatform.v1.ThresholdConfig\x1Ac\x0A\x14DriftThresholdsEntry\x12\x0B\x0A\x03key\x18\x01 \x01(\x09\x12:\x0A\x05value\x18\x02 \x01(\x0B2+.google.cloud.aiplatform.v1.ThresholdConfig:\x028\x01\x1As\x0A\$AttributionScoreDriftThresholdsEntry\x12\x0B\x0A\x03key\x18\x01 \x01(\x09\x12:\x0A\x05value\x18\x02 \x01(\x0B2+.google.cloud.aiplatform.v1.ThresholdConfig:\x028\x01\x1A\xBC\x04\x0A\x11ExplanationConfig\x12!\x0A\x19enable_feature_attributes\x18\x01 \x01(\x08\x12~\x0A\x14explanation_baseline\x18\x02 \x01(\x0B2`.google.cloud.aiplatform.v1.ModelMonitoringObjectiveConfig.ExplanationConfig.ExplanationBaseline\x1A\x83\x03\x0A\x13ExplanationBaseline\x129\x0A\x03gcs\x18\x02 \x01(\x0B2*.google.cloud.aiplatform.v1.GcsDestinationH\x00\x12C\x0A\x08bigquery\x18\x03 \x01(\x0B2/.google.cloud.aiplatform.v1.BigQueryDestinationH\x00\x12\x8C\x01\x0A\x11prediction_format\x18\x01 \x01(\x0E2q.google.cloud.aiplatform.v1.ModelMonitoringObjectiveConfig.ExplanationConfig.ExplanationBaseline.PredictionFormat\"N\x0A\x10PredictionFormat\x12!\x0A\x1DPREDICTION_FORMAT_UNSPECIFIED\x10\x00\x12\x09\x0A\x05JSONL\x10\x02\x12\x0C\x0A\x08BIGQUERY\x10\x03B\x0D\x0A\x0Bdestination\"\xA0\x02\x0A\x1AModelMonitoringAlertConfig\x12e\x0A\x12email_alert_config\x18\x01 \x01(\x0B2G.google.cloud.aiplatform.v1.ModelMonitoringAlertConfig.EmailAlertConfigH\x00\x12\x16\x0A\x0Eenable_logging\x18\x02 \x01(\x08\x12Q\x0A\x15notification_channels\x18\x03 \x03(\x09B2\xFAA/\x0A-monitoring.googleapis.com/NotificationChannel\x1A'\x0A\x10EmailAlertConfig\x12\x13\x0A\x0Buser_emails\x18\x01 \x03(\x09B\x07\x0A\x05alert\"/\x0A\x0FThresholdConfig\x12\x0F\x0A\x05value\x18\x01 \x01(\x01H\x00B\x0B\x0A\x09threshold\"\x9C\x01\x0A\x10SamplingStrategy\x12]\x0A\x14random_sample_config\x18\x01 \x01(\x0B2?.google.cloud.aiplatform.v1.SamplingStrategy.RandomSampleConfig\x1A)\x0A\x12RandomSampleConfig\x12\x13\x0A\x0Bsample_rate\x18\x01 \x01(\x01B\xC4\x02\x0A\x1Ecom.google.cloud.aiplatform.v1B\x14ModelMonitoringProtoP\x01Z>cloud.google.com/go/aiplatform/apiv1/aiplatformpb;aiplatformpb\xAA\x02\x1AGoogle.Cloud.AIPlatform.V1\xCA\x02\x1AGoogle\\Cloud\\AIPlatform\\V1\xEA\x02\x1DGoogle::Cloud::AIPlatform::V1\xEAAo\x0A-monitoring.googleapis.com/NotificationChannel\x12>projects/{project}/notificationChannels/{notification_channel}b\x06proto3" + , true); + + static::$is_initialized = true; + } +} + diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/ModelService.php b/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/ModelService.php new file mode 100644 index 000000000000..4d828d49cc08 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/ModelService.php @@ -0,0 +1,39 @@ +internalAddGeneratedFile( + "\x0A\x8EP\x0A.google/cloud/aiplatform/v1/model_service.proto\x12\x1Agoogle.cloud.aiplatform.v1\x1A\x17google/api/client.proto\x1A\x1Fgoogle/api/field_behavior.proto\x1A\x19google/api/resource.proto\x1A0google/cloud/aiplatform/v1/encryption_spec.proto\x1A5google/cloud/aiplatform/v1/evaluated_annotation.proto\x1A,google/cloud/aiplatform/v1/explanation.proto\x1A#google/cloud/aiplatform/v1/io.proto\x1A&google/cloud/aiplatform/v1/model.proto\x1A1google/cloud/aiplatform/v1/model_evaluation.proto\x1A7google/cloud/aiplatform/v1/model_evaluation_slice.proto\x1A*google/cloud/aiplatform/v1/operation.proto\x1A#google/longrunning/operations.proto\x1A\x1Bgoogle/protobuf/empty.proto\x1A google/protobuf/field_mask.proto\"\xD6\x01\x0A\x12UploadModelRequest\x129\x0A\x06parent\x18\x01 \x01(\x09B)\xE0A\x02\xFAA#\x0A!locations.googleapis.com/Location\x12\x19\x0A\x0Cparent_model\x18\x04 \x01(\x09B\x03\xE0A\x01\x12\x15\x0A\x08model_id\x18\x05 \x01(\x09B\x03\xE0A\x01\x125\x0A\x05model\x18\x02 \x01(\x0B2!.google.cloud.aiplatform.v1.ModelB\x03\xE0A\x02\x12\x1C\x0A\x0Fservice_account\x18\x06 \x01(\x09B\x03\xE0A\x01\"n\x0A\x1CUploadModelOperationMetadata\x12N\x0A\x10generic_metadata\x18\x01 \x01(\x0B24.google.cloud.aiplatform.v1.GenericOperationMetadata\"i\x0A\x13UploadModelResponse\x123\x0A\x05model\x18\x01 \x01(\x09B\$\xFAA!\x0A\x1Faiplatform.googleapis.com/Model\x12\x1D\x0A\x10model_version_id\x18\x02 \x01(\x09B\x03\xE0A\x03\"H\x0A\x0FGetModelRequest\x125\x0A\x04name\x18\x01 \x01(\x09B'\xE0A\x02\xFAA!\x0A\x1Faiplatform.googleapis.com/Model\"\xC6\x01\x0A\x11ListModelsRequest\x129\x0A\x06parent\x18\x01 \x01(\x09B)\xE0A\x02\xFAA#\x0A!locations.googleapis.com/Location\x12\x0E\x0A\x06filter\x18\x02 \x01(\x09\x12\x11\x0A\x09page_size\x18\x03 \x01(\x05\x12\x12\x0A\x0Apage_token\x18\x04 \x01(\x09\x12-\x0A\x09read_mask\x18\x05 \x01(\x0B2\x1A.google.protobuf.FieldMask\x12\x10\x0A\x08order_by\x18\x06 \x01(\x09\"`\x0A\x12ListModelsResponse\x121\x0A\x06models\x18\x01 \x03(\x0B2!.google.cloud.aiplatform.v1.Model\x12\x17\x0A\x0Fnext_page_token\x18\x02 \x01(\x09\"\xC9\x01\x0A\x18ListModelVersionsRequest\x125\x0A\x04name\x18\x01 \x01(\x09B'\xE0A\x02\xFAA!\x0A\x1Faiplatform.googleapis.com/Model\x12\x11\x0A\x09page_size\x18\x02 \x01(\x05\x12\x12\x0A\x0Apage_token\x18\x03 \x01(\x09\x12\x0E\x0A\x06filter\x18\x04 \x01(\x09\x12-\x0A\x09read_mask\x18\x05 \x01(\x0B2\x1A.google.protobuf.FieldMask\x12\x10\x0A\x08order_by\x18\x06 \x01(\x09\"g\x0A\x19ListModelVersionsResponse\x121\x0A\x06models\x18\x01 \x03(\x0B2!.google.cloud.aiplatform.v1.Model\x12\x17\x0A\x0Fnext_page_token\x18\x02 \x01(\x09\"\x8C\x01\x0A\"ListModelVersionCheckpointsRequest\x125\x0A\x04name\x18\x01 \x01(\x09B'\xE0A\x02\xFAA!\x0A\x1Faiplatform.googleapis.com/Model\x12\x16\x0A\x09page_size\x18\x02 \x01(\x05B\x03\xE0A\x01\x12\x17\x0A\x0Apage_token\x18\x03 \x01(\x09B\x03\xE0A\x01\"L\x0A\x16ModelVersionCheckpoint\x12\x15\x0A\x0Dcheckpoint_id\x18\x01 \x01(\x09\x12\x0D\x0A\x05epoch\x18\x02 \x01(\x03\x12\x0C\x0A\x04step\x18\x03 \x01(\x03\"\x87\x01\x0A#ListModelVersionCheckpointsResponse\x12G\x0A\x0Bcheckpoints\x18\x01 \x03(\x0B22.google.cloud.aiplatform.v1.ModelVersionCheckpoint\x12\x17\x0A\x0Fnext_page_token\x18\x02 \x01(\x09\"\x81\x01\x0A\x12UpdateModelRequest\x125\x0A\x05model\x18\x01 \x01(\x0B2!.google.cloud.aiplatform.v1.ModelB\x03\xE0A\x02\x124\x0A\x0Bupdate_mask\x18\x02 \x01(\x0B2\x1A.google.protobuf.FieldMaskB\x03\xE0A\x02\"\x91\x01\x0A\x1FUpdateExplanationDatasetRequest\x126\x0A\x05model\x18\x01 \x01(\x09B'\xE0A\x02\xFAA!\x0A\x1Faiplatform.googleapis.com/Model\x126\x0A\x08examples\x18\x02 \x01(\x0B2\$.google.cloud.aiplatform.v1.Examples\"{\x0A)UpdateExplanationDatasetOperationMetadata\x12N\x0A\x10generic_metadata\x18\x01 \x01(\x0B24.google.cloud.aiplatform.v1.GenericOperationMetadata\"K\x0A\x12DeleteModelRequest\x125\x0A\x04name\x18\x01 \x01(\x09B'\xE0A\x02\xFAA!\x0A\x1Faiplatform.googleapis.com/Model\"R\x0A\x19DeleteModelVersionRequest\x125\x0A\x04name\x18\x01 \x01(\x09B'\xE0A\x02\xFAA!\x0A\x1Faiplatform.googleapis.com/Model\"q\x0A\x1AMergeVersionAliasesRequest\x125\x0A\x04name\x18\x01 \x01(\x09B'\xE0A\x02\xFAA!\x0A\x1Faiplatform.googleapis.com/Model\x12\x1C\x0A\x0Fversion_aliases\x18\x02 \x03(\x09B\x03\xE0A\x02\"\xEE\x02\x0A\x12ExportModelRequest\x125\x0A\x04name\x18\x01 \x01(\x09B'\xE0A\x02\xFAA!\x0A\x1Faiplatform.googleapis.com/Model\x12W\x0A\x0Doutput_config\x18\x02 \x01(\x0B2;.google.cloud.aiplatform.v1.ExportModelRequest.OutputConfigB\x03\xE0A\x02\x1A\xC7\x01\x0A\x0COutputConfig\x12\x18\x0A\x10export_format_id\x18\x01 \x01(\x09\x12H\x0A\x14artifact_destination\x18\x03 \x01(\x0B2*.google.cloud.aiplatform.v1.GcsDestination\x12S\x0A\x11image_destination\x18\x04 \x01(\x0B28.google.cloud.aiplatform.v1.ContainerRegistryDestination\"\x9C\x02\x0A\x1CExportModelOperationMetadata\x12N\x0A\x10generic_metadata\x18\x01 \x01(\x0B24.google.cloud.aiplatform.v1.GenericOperationMetadata\x12]\x0A\x0Boutput_info\x18\x02 \x01(\x0B2C.google.cloud.aiplatform.v1.ExportModelOperationMetadata.OutputInfoB\x03\xE0A\x03\x1AM\x0A\x0AOutputInfo\x12 \x0A\x13artifact_output_uri\x18\x02 \x01(\x09B\x03\xE0A\x03\x12\x1D\x0A\x10image_output_uri\x18\x03 \x01(\x09B\x03\xE0A\x03\"\"\x0A UpdateExplanationDatasetResponse\"\x15\x0A\x13ExportModelResponse\"\xC0\x02\x0A\x10CopyModelRequest\x12\x17\x0A\x08model_id\x18\x04 \x01(\x09B\x03\xE0A\x01H\x00\x12?\x0A\x0Cparent_model\x18\x05 \x01(\x09B'\xE0A\x01\xFAA!\x0A\x1Faiplatform.googleapis.com/ModelH\x00\x129\x0A\x06parent\x18\x01 \x01(\x09B)\xE0A\x02\xFAA#\x0A!locations.googleapis.com/Location\x12=\x0A\x0Csource_model\x18\x02 \x01(\x09B'\xE0A\x02\xFAA!\x0A\x1Faiplatform.googleapis.com/Model\x12C\x0A\x0Fencryption_spec\x18\x03 \x01(\x0B2*.google.cloud.aiplatform.v1.EncryptionSpecB\x13\x0A\x11destination_model\"l\x0A\x1ACopyModelOperationMetadata\x12N\x0A\x10generic_metadata\x18\x01 \x01(\x0B24.google.cloud.aiplatform.v1.GenericOperationMetadata\"g\x0A\x11CopyModelResponse\x123\x0A\x05model\x18\x01 \x01(\x09B\$\xFAA!\x0A\x1Faiplatform.googleapis.com/Model\x12\x1D\x0A\x10model_version_id\x18\x02 \x01(\x09B\x03\xE0A\x03\"\xA3\x01\x0A\x1CImportModelEvaluationRequest\x127\x0A\x06parent\x18\x01 \x01(\x09B'\xE0A\x02\xFAA!\x0A\x1Faiplatform.googleapis.com/Model\x12J\x0A\x10model_evaluation\x18\x02 \x01(\x0B2+.google.cloud.aiplatform.v1.ModelEvaluationB\x03\xE0A\x02\"\xC4\x01\x0A'BatchImportModelEvaluationSlicesRequest\x12A\x0A\x06parent\x18\x01 \x01(\x09B1\xE0A\x02\xFAA+\x0A)aiplatform.googleapis.com/ModelEvaluation\x12V\x0A\x17model_evaluation_slices\x18\x02 \x03(\x0B20.google.cloud.aiplatform.v1.ModelEvaluationSliceB\x03\xE0A\x02\"Y\x0A(BatchImportModelEvaluationSlicesResponse\x12-\x0A imported_model_evaluation_slices\x18\x01 \x03(\x09B\x03\xE0A\x03\"\xC5\x01\x0A&BatchImportEvaluatedAnnotationsRequest\x12F\x0A\x06parent\x18\x01 \x01(\x09B6\xE0A\x02\xFAA0\x0A.aiplatform.googleapis.com/ModelEvaluationSlice\x12S\x0A\x15evaluated_annotations\x18\x02 \x03(\x0B2/.google.cloud.aiplatform.v1.EvaluatedAnnotationB\x03\xE0A\x02\"\\\x0A'BatchImportEvaluatedAnnotationsResponse\x121\x0A\$imported_evaluated_annotations_count\x18\x01 \x01(\x05B\x03\xE0A\x03\"\\\x0A\x19GetModelEvaluationRequest\x12?\x0A\x04name\x18\x01 \x01(\x09B1\xE0A\x02\xFAA+\x0A)aiplatform.googleapis.com/ModelEvaluation\"\xBC\x01\x0A\x1BListModelEvaluationsRequest\x127\x0A\x06parent\x18\x01 \x01(\x09B'\xE0A\x02\xFAA!\x0A\x1Faiplatform.googleapis.com/Model\x12\x0E\x0A\x06filter\x18\x02 \x01(\x09\x12\x11\x0A\x09page_size\x18\x03 \x01(\x05\x12\x12\x0A\x0Apage_token\x18\x04 \x01(\x09\x12-\x0A\x09read_mask\x18\x05 \x01(\x0B2\x1A.google.protobuf.FieldMask\"\x7F\x0A\x1CListModelEvaluationsResponse\x12F\x0A\x11model_evaluations\x18\x01 \x03(\x0B2+.google.cloud.aiplatform.v1.ModelEvaluation\x12\x17\x0A\x0Fnext_page_token\x18\x02 \x01(\x09\"f\x0A\x1EGetModelEvaluationSliceRequest\x12D\x0A\x04name\x18\x01 \x01(\x09B6\xE0A\x02\xFAA0\x0A.aiplatform.googleapis.com/ModelEvaluationSlice\"\xCB\x01\x0A ListModelEvaluationSlicesRequest\x12A\x0A\x06parent\x18\x01 \x01(\x09B1\xE0A\x02\xFAA+\x0A)aiplatform.googleapis.com/ModelEvaluation\x12\x0E\x0A\x06filter\x18\x02 \x01(\x09\x12\x11\x0A\x09page_size\x18\x03 \x01(\x05\x12\x12\x0A\x0Apage_token\x18\x04 \x01(\x09\x12-\x0A\x09read_mask\x18\x05 \x01(\x0B2\x1A.google.protobuf.FieldMask\"\x8F\x01\x0A!ListModelEvaluationSlicesResponse\x12Q\x0A\x17model_evaluation_slices\x18\x01 \x03(\x0B20.google.cloud.aiplatform.v1.ModelEvaluationSlice\x12\x17\x0A\x0Fnext_page_token\x18\x02 \x01(\x092\x89\"\x0A\x0CModelService\x12\xE0\x01\x0A\x0BUploadModel\x12..google.cloud.aiplatform.v1.UploadModelRequest\x1A\x1D.google.longrunning.Operation\"\x81\x01\xCAA3\x0A\x13UploadModelResponse\x12\x1CUploadModelOperationMetadata\xDAA\x0Cparent,model\x82\xD3\xE4\x93\x026\"1/v1/{parent=projects/*/locations/*}/models:upload:\x01*\x12\x95\x01\x0A\x08GetModel\x12+.google.cloud.aiplatform.v1.GetModelRequest\x1A!.google.cloud.aiplatform.v1.Model\"9\xDAA\x04name\x82\xD3\xE4\x93\x02,\x12*/v1/{name=projects/*/locations/*/models/*}\x12\xA8\x01\x0A\x0AListModels\x12-.google.cloud.aiplatform.v1.ListModelsRequest\x1A..google.cloud.aiplatform.v1.ListModelsResponse\";\xDAA\x06parent\x82\xD3\xE4\x93\x02,\x12*/v1/{parent=projects/*/locations/*}/models\x12\xC8\x01\x0A\x11ListModelVersions\x124.google.cloud.aiplatform.v1.ListModelVersionsRequest\x1A5.google.cloud.aiplatform.v1.ListModelVersionsResponse\"F\xDAA\x04name\x82\xD3\xE4\x93\x029\x127/v1/{name=projects/*/locations/*/models/*}:listVersions\x12\xE9\x01\x0A\x1BListModelVersionCheckpoints\x12>.google.cloud.aiplatform.v1.ListModelVersionCheckpointsRequest\x1A?.google.cloud.aiplatform.v1.ListModelVersionCheckpointsResponse\"I\xDAA\x04name\x82\xD3\xE4\x93\x02<\x12:/v1/{name=projects/*/locations/*/models/*}:listCheckpoints\x12\xB5\x01\x0A\x0BUpdateModel\x12..google.cloud.aiplatform.v1.UpdateModelRequest\x1A!.google.cloud.aiplatform.v1.Model\"S\xDAA\x11model,update_mask\x82\xD3\xE4\x93\x02920/v1/{model.name=projects/*/locations/*/models/*}:\x05model\x12\xA0\x02\x0A\x18UpdateExplanationDataset\x12;.google.cloud.aiplatform.v1.UpdateExplanationDatasetRequest\x1A\x1D.google.longrunning.Operation\"\xA7\x01\xCAAM\x0A UpdateExplanationDatasetResponse\x12)UpdateExplanationDatasetOperationMetadata\xDAA\x05model\x82\xD3\xE4\x93\x02I\"D/v1/{model=projects/*/locations/*/models/*}:updateExplanationDataset:\x01*\x12\xCA\x01\x0A\x0BDeleteModel\x12..google.cloud.aiplatform.v1.DeleteModelRequest\x1A\x1D.google.longrunning.Operation\"l\xCAA0\x0A\x15google.protobuf.Empty\x12\x17DeleteOperationMetadata\xDAA\x04name\x82\xD3\xE4\x93\x02,**/v1/{name=projects/*/locations/*/models/*}\x12\xE6\x01\x0A\x12DeleteModelVersion\x125.google.cloud.aiplatform.v1.DeleteModelVersionRequest\x1A\x1D.google.longrunning.Operation\"z\xCAA0\x0A\x15google.protobuf.Empty\x12\x17DeleteOperationMetadata\xDAA\x04name\x82\xD3\xE4\x93\x02:*8/v1/{name=projects/*/locations/*/models/*}:deleteVersion\x12\xD2\x01\x0A\x13MergeVersionAliases\x126.google.cloud.aiplatform.v1.MergeVersionAliasesRequest\x1A!.google.cloud.aiplatform.v1.Model\"`\xDAA\x14name,version_aliases\x82\xD3\xE4\x93\x02C\">/v1/{name=projects/*/locations/*/models/*}:mergeVersionAliases:\x01*\x12\xE6\x01\x0A\x0BExportModel\x12..google.cloud.aiplatform.v1.ExportModelRequest\x1A\x1D.google.longrunning.Operation\"\x87\x01\xCAA3\x0A\x13ExportModelResponse\x12\x1CExportModelOperationMetadata\xDAA\x12name,output_config\x82\xD3\xE4\x93\x026\"1/v1/{name=projects/*/locations/*/models/*}:export:\x01*\x12\xDD\x01\x0A\x09CopyModel\x12,.google.cloud.aiplatform.v1.CopyModelRequest\x1A\x1D.google.longrunning.Operation\"\x82\x01\xCAA/\x0A\x11CopyModelResponse\x12\x1ACopyModelOperationMetadata\xDAA\x13parent,source_model\x82\xD3\xE4\x93\x024\"//v1/{parent=projects/*/locations/*}/models:copy:\x01*\x12\xE4\x01\x0A\x15ImportModelEvaluation\x128.google.cloud.aiplatform.v1.ImportModelEvaluationRequest\x1A+.google.cloud.aiplatform.v1.ModelEvaluation\"d\xDAA\x17parent,model_evaluation\x82\xD3\xE4\x93\x02D\"?/v1/{parent=projects/*/locations/*/models/*}/evaluations:import:\x01*\x12\xA8\x02\x0A BatchImportModelEvaluationSlices\x12C.google.cloud.aiplatform.v1.BatchImportModelEvaluationSlicesRequest\x1AD.google.cloud.aiplatform.v1.BatchImportModelEvaluationSlicesResponse\"y\xDAA\x1Eparent,model_evaluation_slices\x82\xD3\xE4\x93\x02R\"M/v1/{parent=projects/*/locations/*/models/*/evaluations/*}/slices:batchImport:\x01*\x12\xA5\x02\x0A\x1FBatchImportEvaluatedAnnotations\x12B.google.cloud.aiplatform.v1.BatchImportEvaluatedAnnotationsRequest\x1AC.google.cloud.aiplatform.v1.BatchImportEvaluatedAnnotationsResponse\"y\xDAA\x1Cparent,evaluated_annotations\x82\xD3\xE4\x93\x02T\"O/v1/{parent=projects/*/locations/*/models/*/evaluations/*/slices/*}:batchImport:\x01*\x12\xC1\x01\x0A\x12GetModelEvaluation\x125.google.cloud.aiplatform.v1.GetModelEvaluationRequest\x1A+.google.cloud.aiplatform.v1.ModelEvaluation\"G\xDAA\x04name\x82\xD3\xE4\x93\x02:\x128/v1/{name=projects/*/locations/*/models/*/evaluations/*}\x12\xD4\x01\x0A\x14ListModelEvaluations\x127.google.cloud.aiplatform.v1.ListModelEvaluationsRequest\x1A8.google.cloud.aiplatform.v1.ListModelEvaluationsResponse\"I\xDAA\x06parent\x82\xD3\xE4\x93\x02:\x128/v1/{parent=projects/*/locations/*/models/*}/evaluations\x12\xD9\x01\x0A\x17GetModelEvaluationSlice\x12:.google.cloud.aiplatform.v1.GetModelEvaluationSliceRequest\x1A0.google.cloud.aiplatform.v1.ModelEvaluationSlice\"P\xDAA\x04name\x82\xD3\xE4\x93\x02C\x12A/v1/{name=projects/*/locations/*/models/*/evaluations/*/slices/*}\x12\xEC\x01\x0A\x19ListModelEvaluationSlices\x12<.google.cloud.aiplatform.v1.ListModelEvaluationSlicesRequest\x1A=.google.cloud.aiplatform.v1.ListModelEvaluationSlicesResponse\"R\xDAA\x06parent\x82\xD3\xE4\x93\x02C\x12A/v1/{parent=projects/*/locations/*/models/*/evaluations/*}/slices\x1AM\xCAA\x19aiplatform.googleapis.com\xD2A.https://www.googleapis.com/auth/cloud-platformB\xCF\x01\x0A\x1Ecom.google.cloud.aiplatform.v1B\x11ModelServiceProtoP\x01Z>cloud.google.com/go/aiplatform/apiv1/aiplatformpb;aiplatformpb\xAA\x02\x1AGoogle.Cloud.AIPlatform.V1\xCA\x02\x1AGoogle\\Cloud\\AIPlatform\\V1\xEA\x02\x1DGoogle::Cloud::AIPlatform::V1b\x06proto3" + , true); + + static::$is_initialized = true; + } +} + 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 000000000000..27a1c26de114 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/NasJob.php @@ -0,0 +1,32 @@ +internalAddGeneratedFile( + "\x0A\x94\x1D\x0A(google/cloud/aiplatform/v1/nas_job.proto\x12\x1Agoogle.cloud.aiplatform.v1\x1A\x19google/api/resource.proto\x1A+google/cloud/aiplatform/v1/custom_job.proto\x1A0google/cloud/aiplatform/v1/encryption_spec.proto\x1A*google/cloud/aiplatform/v1/job_state.proto\x1A&google/cloud/aiplatform/v1/study.proto\x1A\x1Fgoogle/protobuf/timestamp.proto\x1A\x17google/rpc/status.proto\"\xF5\x06\x0A\x06NasJob\x12\x11\x0A\x04name\x18\x01 \x01(\x09B\x03\xE0A\x03\x12\x19\x0A\x0Cdisplay_name\x18\x02 \x01(\x09B\x03\xE0A\x02\x12A\x0A\x0Cnas_job_spec\x18\x04 \x01(\x0B2&.google.cloud.aiplatform.v1.NasJobSpecB\x03\xE0A\x02\x12E\x0A\x0Enas_job_output\x18\x05 \x01(\x0B2(.google.cloud.aiplatform.v1.NasJobOutputB\x03\xE0A\x03\x128\x0A\x05state\x18\x06 \x01(\x0E2\$.google.cloud.aiplatform.v1.JobStateB\x03\xE0A\x03\x124\x0A\x0Bcreate_time\x18\x07 \x01(\x0B2\x1A.google.protobuf.TimestampB\x03\xE0A\x03\x123\x0A\x0Astart_time\x18\x08 \x01(\x0B2\x1A.google.protobuf.TimestampB\x03\xE0A\x03\x121\x0A\x08end_time\x18\x09 \x01(\x0B2\x1A.google.protobuf.TimestampB\x03\xE0A\x03\x124\x0A\x0Bupdate_time\x18\x0A \x01(\x0B2\x1A.google.protobuf.TimestampB\x03\xE0A\x03\x12&\x0A\x05error\x18\x0B \x01(\x0B2\x12.google.rpc.StatusB\x03\xE0A\x03\x12>\x0A\x06labels\x18\x0C \x03(\x0B2..google.cloud.aiplatform.v1.NasJob.LabelsEntry\x12C\x0A\x0Fencryption_spec\x18\x0D \x01(\x0B2*.google.cloud.aiplatform.v1.EncryptionSpec\x12/\x0A enable_restricted_image_training\x18\x0E \x01(\x08B\x05\x18\x01\xE0A\x01\x12\x1A\x0A\x0Dsatisfies_pzs\x18\x0F \x01(\x08B\x03\xE0A\x03\x12\x1A\x0A\x0Dsatisfies_pzi\x18\x10 \x01(\x08B\x03\xE0A\x03\x1A-\x0A\x0BLabelsEntry\x12\x0B\x0A\x03key\x18\x01 \x01(\x09\x12\x0D\x0A\x05value\x18\x02 \x01(\x09:\x028\x01:`\xEAA]\x0A aiplatform.googleapis.com/NasJob\x129projects/{project}/locations/{location}/nasJobs/{nas_job}\"\xBD\x02\x0A\x0ENasTrialDetail\x12\x11\x0A\x04name\x18\x01 \x01(\x09B\x03\xE0A\x03\x12\x12\x0A\x0Aparameters\x18\x02 \x01(\x09\x12:\x0A\x0Csearch_trial\x18\x03 \x01(\x0B2\$.google.cloud.aiplatform.v1.NasTrial\x129\x0A\x0Btrain_trial\x18\x04 \x01(\x0B2\$.google.cloud.aiplatform.v1.NasTrial:\x8C\x01\xEAA\x88\x01\x0A(aiplatform.googleapis.com/NasTrialDetail\x12\\projects/{project}/locations/{location}/nasJobs/{nas_job}/nasTrialDetails/{nas_trial_detail}\"\xA5\x0A\x0A\x0ANasJobSpec\x12d\x0A\x1Amulti_trial_algorithm_spec\x18\x02 \x01(\x0B2>.google.cloud.aiplatform.v1.NasJobSpec.MultiTrialAlgorithmSpecH\x00\x12\x19\x0A\x11resume_nas_job_id\x18\x03 \x01(\x09\x12\x19\x0A\x11search_space_spec\x18\x01 \x01(\x09\x1A\xE4\x08\x0A\x17MultiTrialAlgorithmSpec\x12q\x0A\x15multi_trial_algorithm\x18\x01 \x01(\x0E2R.google.cloud.aiplatform.v1.NasJobSpec.MultiTrialAlgorithmSpec.MultiTrialAlgorithm\x12Y\x0A\x06metric\x18\x02 \x01(\x0B2I.google.cloud.aiplatform.v1.NasJobSpec.MultiTrialAlgorithmSpec.MetricSpec\x12n\x0A\x11search_trial_spec\x18\x03 \x01(\x0B2N.google.cloud.aiplatform.v1.NasJobSpec.MultiTrialAlgorithmSpec.SearchTrialSpecB\x03\xE0A\x02\x12g\x0A\x10train_trial_spec\x18\x04 \x01(\x0B2M.google.cloud.aiplatform.v1.NasJobSpec.MultiTrialAlgorithmSpec.TrainTrialSpec\x1A\xCE\x01\x0A\x0AMetricSpec\x12\x16\x0A\x09metric_id\x18\x01 \x01(\x09B\x03\xE0A\x02\x12e\x0A\x04goal\x18\x02 \x01(\x0E2R.google.cloud.aiplatform.v1.NasJobSpec.MultiTrialAlgorithmSpec.MetricSpec.GoalTypeB\x03\xE0A\x02\"A\x0A\x08GoalType\x12\x19\x0A\x15GOAL_TYPE_UNSPECIFIED\x10\x00\x12\x0C\x0A\x08MAXIMIZE\x10\x01\x12\x0C\x0A\x08MINIMIZE\x10\x02\x1A\xC5\x01\x0A\x0FSearchTrialSpec\x12M\x0A\x15search_trial_job_spec\x18\x01 \x01(\x0B2).google.cloud.aiplatform.v1.CustomJobSpecB\x03\xE0A\x02\x12\x1C\x0A\x0Fmax_trial_count\x18\x02 \x01(\x05B\x03\xE0A\x02\x12%\x0A\x18max_parallel_trial_count\x18\x03 \x01(\x05B\x03\xE0A\x02\x12\x1E\x0A\x16max_failed_trial_count\x18\x04 \x01(\x05\x1A\x9D\x01\x0A\x0ETrainTrialSpec\x12L\x0A\x14train_trial_job_spec\x18\x01 \x01(\x0B2).google.cloud.aiplatform.v1.CustomJobSpecB\x03\xE0A\x02\x12%\x0A\x18max_parallel_trial_count\x18\x02 \x01(\x05B\x03\xE0A\x02\x12\x16\x0A\x09frequency\x18\x03 \x01(\x05B\x03\xE0A\x02\"i\x0A\x13MultiTrialAlgorithm\x12%\x0A!MULTI_TRIAL_ALGORITHM_UNSPECIFIED\x10\x00\x12\x1A\x0A\x16REINFORCEMENT_LEARNING\x10\x01\x12\x0F\x0A\x0BGRID_SEARCH\x10\x02B\x14\x0A\x12nas_algorithm_spec\"\x98\x02\x0A\x0CNasJobOutput\x12c\x0A\x16multi_trial_job_output\x18\x01 \x01(\x0B2<.google.cloud.aiplatform.v1.NasJobOutput.MultiTrialJobOutputB\x03\xE0A\x03H\x00\x1A\x98\x01\x0A\x13MultiTrialJobOutput\x12@\x0A\x0Dsearch_trials\x18\x01 \x03(\x0B2\$.google.cloud.aiplatform.v1.NasTrialB\x03\xE0A\x03\x12?\x0A\x0Ctrain_trials\x18\x02 \x03(\x0B2\$.google.cloud.aiplatform.v1.NasTrialB\x03\xE0A\x03B\x08\x0A\x06output\"\xF4\x02\x0A\x08NasTrial\x12\x0F\x0A\x02id\x18\x01 \x01(\x09B\x03\xE0A\x03\x12>\x0A\x05state\x18\x02 \x01(\x0E2*.google.cloud.aiplatform.v1.NasTrial.StateB\x03\xE0A\x03\x12G\x0A\x11final_measurement\x18\x03 \x01(\x0B2'.google.cloud.aiplatform.v1.MeasurementB\x03\xE0A\x03\x123\x0A\x0Astart_time\x18\x04 \x01(\x0B2\x1A.google.protobuf.TimestampB\x03\xE0A\x03\x121\x0A\x08end_time\x18\x05 \x01(\x0B2\x1A.google.protobuf.TimestampB\x03\xE0A\x03\"f\x0A\x05State\x12\x15\x0A\x11STATE_UNSPECIFIED\x10\x00\x12\x0D\x0A\x09REQUESTED\x10\x01\x12\x0A\x0A\x06ACTIVE\x10\x02\x12\x0C\x0A\x08STOPPING\x10\x03\x12\x0D\x0A\x09SUCCEEDED\x10\x04\x12\x0E\x0A\x0AINFEASIBLE\x10\x05B\xC9\x01\x0A\x1Ecom.google.cloud.aiplatform.v1B\x0BNasJobProtoP\x01Z>cloud.google.com/go/aiplatform/apiv1/aiplatformpb;aiplatformpb\xAA\x02\x1AGoogle.Cloud.AIPlatform.V1\xCA\x02\x1AGoogle\\Cloud\\AIPlatform\\V1\xEA\x02\x1DGoogle::Cloud::AIPlatform::V1b\x06proto3" + , true); + + static::$is_initialized = true; + } +} + 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..da653fff9de6 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/NetworkSpec.php @@ -0,0 +1,25 @@ +internalAddGeneratedFile( + "\x0A\xAA\x04\x0A-google/cloud/aiplatform/v1/network_spec.proto\x12\x1Agoogle.cloud.aiplatform.v1\"\x9F\x01\x0A\x0BNetworkSpec\x12\x1E\x0A\x16enable_internet_access\x18\x01 \x01(\x08\x124\x0A\x07network\x18\x02 \x01(\x09B#\xFAA \x0A\x1Ecompute.googleapis.com/Network\x12:\x0A\x0Asubnetwork\x18\x03 \x01(\x09B&\xFAA#\x0A!compute.googleapis.com/SubnetworkB\xB2\x02\x0A\x1Ecom.google.cloud.aiplatform.v1B\x10NetworkSpecProtoP\x01Z>cloud.google.com/go/aiplatform/apiv1/aiplatformpb;aiplatformpb\xAA\x02\x1AGoogle.Cloud.AIPlatform.V1\xCA\x02\x1AGoogle\\Cloud\\AIPlatform\\V1\xEA\x02\x1DGoogle::Cloud::AIPlatform::V1\xEAAa\x0A!compute.googleapis.com/Subnetwork\x12internalAddGeneratedFile( + "\x0A\x82\x03\x0A4google/cloud/aiplatform/v1/notebook_euc_config.proto\x12\x1Agoogle.cloud.aiplatform.v1\"O\x0A\x11NotebookEucConfig\x12\x19\x0A\x0Ceuc_disabled\x18\x01 \x01(\x08B\x03\xE0A\x04\x12\x1F\x0A\x12bypass_actas_check\x18\x02 \x01(\x08B\x03\xE0A\x03B\xD4\x01\x0A\x1Ecom.google.cloud.aiplatform.v1B\x16NotebookEucConfigProtoP\x01Z>cloud.google.com/go/aiplatform/apiv1/aiplatformpb;aiplatformpb\xAA\x02\x1AGoogle.Cloud.AIPlatform.V1\xCA\x02\x1AGoogle\\Cloud\\AIPlatform\\V1\xEA\x02\x1DGoogle::Cloud::AIPlatform::V1b\x06proto3" + , 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 000000000000..f639ab50a2f0 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/NotebookExecutionJob.php @@ -0,0 +1,33 @@ +internalAddGeneratedFile( + "\x0A\xF0\x14\x0A7google/cloud/aiplatform/v1/notebook_execution_job.proto\x12\x1Agoogle.cloud.aiplatform.v1\x1A\x19google/api/resource.proto\x1A0google/cloud/aiplatform/v1/encryption_spec.proto\x1A*google/cloud/aiplatform/v1/job_state.proto\x1A2google/cloud/aiplatform/v1/machine_resources.proto\x1A-google/cloud/aiplatform/v1/network_spec.proto\x1A\x1Egoogle/protobuf/duration.proto\x1A\x1Fgoogle/protobuf/timestamp.proto\x1A\x17google/rpc/status.proto\"\x80\x10\x0A\x14NotebookExecutionJob\x12o\x0A\x1Adataform_repository_source\x18\x03 \x01(\x0B2I.google.cloud.aiplatform.v1.NotebookExecutionJob.DataformRepositorySourceH\x00\x12a\x0A\x13gcs_notebook_source\x18\x04 \x01(\x0B2B.google.cloud.aiplatform.v1.NotebookExecutionJob.GcsNotebookSourceH\x00\x12g\x0A\x16direct_notebook_source\x18\x11 \x01(\x0B2E.google.cloud.aiplatform.v1.NotebookExecutionJob.DirectNotebookSourceH\x00\x12i\x0A'notebook_runtime_template_resource_name\x18\x0E \x01(\x09B6\xFAA3\x0A1aiplatform.googleapis.com/NotebookRuntimeTemplateH\x01\x12i\x0A\x17custom_environment_spec\x18\x10 \x01(\x0B2F.google.cloud.aiplatform.v1.NotebookExecutionJob.CustomEnvironmentSpecH\x01\x12\x18\x0A\x0Egcs_output_uri\x18\x08 \x01(\x09H\x02\x12\x18\x0A\x0Eexecution_user\x18\x09 \x01(\x09H\x03\x12\x19\x0A\x0Fservice_account\x18\x12 \x01(\x09H\x03\x12^\x0A\x11workbench_runtime\x18\x17 \x01(\x0B2A.google.cloud.aiplatform.v1.NotebookExecutionJob.WorkbenchRuntimeH\x04\x12\x11\x0A\x04name\x18\x01 \x01(\x09B\x03\xE0A\x03\x12\x14\x0A\x0Cdisplay_name\x18\x02 \x01(\x09\x124\x0A\x11execution_timeout\x18\x05 \x01(\x0B2\x19.google.protobuf.Duration\x12G\x0A\x16schedule_resource_name\x18\x06 \x01(\x09B'\xFAA\$\x0A\"aiplatform.googleapis.com/Schedule\x12<\x0A\x09job_state\x18\x0A \x01(\x0E2\$.google.cloud.aiplatform.v1.JobStateB\x03\xE0A\x03\x12'\x0A\x06status\x18\x0B \x01(\x0B2\x12.google.rpc.StatusB\x03\xE0A\x03\x124\x0A\x0Bcreate_time\x18\x0C \x01(\x0B2\x1A.google.protobuf.TimestampB\x03\xE0A\x03\x124\x0A\x0Bupdate_time\x18\x0D \x01(\x0B2\x1A.google.protobuf.TimestampB\x03\xE0A\x03\x12L\x0A\x06labels\x18\x13 \x03(\x0B2<.google.cloud.aiplatform.v1.NotebookExecutionJob.LabelsEntry\x12\x13\x0A\x0Bkernel_name\x18\x14 \x01(\x09\x12C\x0A\x0Fencryption_spec\x18\x16 \x01(\x0B2*.google.cloud.aiplatform.v1.EncryptionSpec\x1AY\x0A\x18DataformRepositorySource\x12)\x0A!dataform_repository_resource_name\x18\x01 \x01(\x09\x12\x12\x0A\x0Acommit_sha\x18\x02 \x01(\x09\x1A4\x0A\x11GcsNotebookSource\x12\x0B\x0A\x03uri\x18\x01 \x01(\x09\x12\x12\x0A\x0Ageneration\x18\x02 \x01(\x09\x1A'\x0A\x14DirectNotebookSource\x12\x0F\x0A\x07content\x18\x01 \x01(\x0C\x1A\xE3\x01\x0A\x15CustomEnvironmentSpec\x12=\x0A\x0Cmachine_spec\x18\x01 \x01(\x0B2'.google.cloud.aiplatform.v1.MachineSpec\x12L\x0A\x14persistent_disk_spec\x18\x02 \x01(\x0B2..google.cloud.aiplatform.v1.PersistentDiskSpec\x12=\x0A\x0Cnetwork_spec\x18\x03 \x01(\x0B2'.google.cloud.aiplatform.v1.NetworkSpec\x1A\x12\x0A\x10WorkbenchRuntime\x1A-\x0A\x0BLabelsEntry\x12\x0B\x0A\x03key\x18\x01 \x01(\x09\x12\x0D\x0A\x05value\x18\x02 \x01(\x09:\x028\x01:\xB9\x01\xEAA\xB5\x01\x0A.aiplatform.googleapis.com/NotebookExecutionJob\x12Vprojects/{project}/locations/{location}/notebookExecutionJobs/{notebook_execution_job}*\x15notebookExecutionJobs2\x14notebookExecutionJobB\x11\x0A\x0Fnotebook_sourceB\x12\x0A\x10environment_specB\x10\x0A\x0Eexecution_sinkB\x14\x0A\x12execution_identityB\x15\x0A\x13runtime_environmentB\xD7\x01\x0A\x1Ecom.google.cloud.aiplatform.v1B\x19NotebookExecutionJobProtoP\x01Z>cloud.google.com/go/aiplatform/apiv1/aiplatformpb;aiplatformpb\xAA\x02\x1AGoogle.Cloud.AIPlatform.V1\xCA\x02\x1AGoogle\\Cloud\\AIPlatform\\V1\xEA\x02\x1DGoogle::Cloud::AIPlatform::V1b\x06proto3" + , 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 new file mode 100644 index 000000000000..456cb4790a6c --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/NotebookIdleShutdownConfig.php @@ -0,0 +1,26 @@ +internalAddGeneratedFile( + "\x0A\xD8\x03\x0A>google/cloud/aiplatform/v1/notebook_idle_shutdown_config.proto\x12\x1Agoogle.cloud.aiplatform.v1\x1A\x1Egoogle/protobuf/duration.proto\"r\x0A\x1ANotebookIdleShutdownConfig\x124\x0A\x0Cidle_timeout\x18\x01 \x01(\x0B2\x19.google.protobuf.DurationB\x03\xE0A\x02\x12\x1E\x0A\x16idle_shutdown_disabled\x18\x02 \x01(\x08B\xDD\x01\x0A\x1Ecom.google.cloud.aiplatform.v1B\x1FNotebookIdleShutdownConfigProtoP\x01Z>cloud.google.com/go/aiplatform/apiv1/aiplatformpb;aiplatformpb\xAA\x02\x1AGoogle.Cloud.AIPlatform.V1\xCA\x02\x1AGoogle\\Cloud\\AIPlatform\\V1\xEA\x02\x1DGoogle::Cloud::AIPlatform::V1b\x06proto3" + , 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 000000000000..d5409fc4910e --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/NotebookRuntime.php @@ -0,0 +1,34 @@ +internalAddGeneratedFile( + "\x0A\xC7\x1F\x0A1google/cloud/aiplatform/v1/notebook_runtime.proto\x12\x1Agoogle.cloud.aiplatform.v1\x1A\x19google/api/resource.proto\x1A0google/cloud/aiplatform/v1/encryption_spec.proto\x1A2google/cloud/aiplatform/v1/machine_resources.proto\x1A-google/cloud/aiplatform/v1/network_spec.proto\x1A4google/cloud/aiplatform/v1/notebook_euc_config.proto\x1A>google/cloud/aiplatform/v1/notebook_idle_shutdown_config.proto\x1A>google/cloud/aiplatform/v1/notebook_runtime_template_ref.proto\x1A9google/cloud/aiplatform/v1/notebook_software_config.proto\x1A\x1Fgoogle/protobuf/timestamp.proto\"\xF9\x09\x0A\x17NotebookRuntimeTemplate\x12\x0C\x0A\x04name\x18\x01 \x01(\x09\x12\x19\x0A\x0Cdisplay_name\x18\x02 \x01(\x09B\x03\xE0A\x02\x12\x13\x0A\x0Bdescription\x18\x03 \x01(\x09\x12\x19\x0A\x0Ais_default\x18\x04 \x01(\x08B\x05\x18\x01\xE0A\x03\x12E\x0A\x0Cmachine_spec\x18\x05 \x01(\x0B2'.google.cloud.aiplatform.v1.MachineSpecB\x06\xE0A\x01\xE0A\x05\x12V\x0A\x19data_persistent_disk_spec\x18\x08 \x01(\x0B2..google.cloud.aiplatform.v1.PersistentDiskSpecB\x03\xE0A\x01\x12B\x0A\x0Cnetwork_spec\x18\x0C \x01(\x0B2'.google.cloud.aiplatform.v1.NetworkSpecB\x03\xE0A\x01\x12\x1B\x0A\x0Fservice_account\x18\x0D \x01(\x09B\x02\x18\x01\x12\x0C\x0A\x04etag\x18\x0E \x01(\x09\x12O\x0A\x06labels\x18\x0F \x03(\x0B2?.google.cloud.aiplatform.v1.NotebookRuntimeTemplate.LabelsEntry\x12T\x0A\x14idle_shutdown_config\x18\x11 \x01(\x0B26.google.cloud.aiplatform.v1.NotebookIdleShutdownConfig\x12A\x0A\x0Aeuc_config\x18\x12 \x01(\x0B2-.google.cloud.aiplatform.v1.NotebookEucConfig\x124\x0A\x0Bcreate_time\x18\x0A \x01(\x0B2\x1A.google.protobuf.TimestampB\x03\xE0A\x03\x124\x0A\x0Bupdate_time\x18\x0B \x01(\x0B2\x1A.google.protobuf.TimestampB\x03\xE0A\x03\x12V\x0A\x15notebook_runtime_type\x18\x13 \x01(\x0E2/.google.cloud.aiplatform.v1.NotebookRuntimeTypeB\x06\xE0A\x01\xE0A\x05\x12P\x0A\x12shielded_vm_config\x18\x14 \x01(\x0B2,.google.cloud.aiplatform.v1.ShieldedVmConfigB\x06\xE0A\x01\xE0A\x05\x12\x19\x0A\x0Cnetwork_tags\x18\x15 \x03(\x09B\x03\xE0A\x01\x12C\x0A\x0Fencryption_spec\x18\x17 \x01(\x0B2*.google.cloud.aiplatform.v1.EncryptionSpec\x12P\x0A\x0Fsoftware_config\x18\x18 \x01(\x0B22.google.cloud.aiplatform.v1.NotebookSoftwareConfigB\x03\xE0A\x01\x1A-\x0A\x0BLabelsEntry\x12\x0B\x0A\x03key\x18\x01 \x01(\x09\x12\x0D\x0A\x05value\x18\x02 \x01(\x09:\x028\x01:\x95\x01\xEAA\x91\x01\x0A1aiplatform.googleapis.com/NotebookRuntimeTemplate\x12\\projects/{project}/locations/{location}/notebookRuntimeTemplates/{notebook_runtime_template}\"\xFB\x0E\x0A\x0FNotebookRuntime\x12\x11\x0A\x04name\x18\x01 \x01(\x09B\x03\xE0A\x03\x12\x19\x0A\x0Cruntime_user\x18\x02 \x01(\x09B\x03\xE0A\x02\x12b\x0A\x1Dnotebook_runtime_template_ref\x18\x03 \x01(\x0B26.google.cloud.aiplatform.v1.NotebookRuntimeTemplateRefB\x03\xE0A\x03\x12\x16\x0A\x09proxy_uri\x18\x05 \x01(\x09B\x03\xE0A\x03\x124\x0A\x0Bcreate_time\x18\x06 \x01(\x0B2\x1A.google.protobuf.TimestampB\x03\xE0A\x03\x124\x0A\x0Bupdate_time\x18\x07 \x01(\x0B2\x1A.google.protobuf.TimestampB\x03\xE0A\x03\x12R\x0A\x0Chealth_state\x18\x08 \x01(\x0E27.google.cloud.aiplatform.v1.NotebookRuntime.HealthStateB\x03\xE0A\x03\x12\x19\x0A\x0Cdisplay_name\x18\x0A \x01(\x09B\x03\xE0A\x02\x12\x13\x0A\x0Bdescription\x18\x0B \x01(\x09\x12\x1C\x0A\x0Fservice_account\x18\x0D \x01(\x09B\x03\xE0A\x03\x12T\x0A\x0Druntime_state\x18\x0E \x01(\x0E28.google.cloud.aiplatform.v1.NotebookRuntime.RuntimeStateB\x03\xE0A\x03\x12\x1A\x0A\x0Dis_upgradable\x18\x0F \x01(\x08B\x03\xE0A\x03\x12G\x0A\x06labels\x18\x10 \x03(\x0B27.google.cloud.aiplatform.v1.NotebookRuntime.LabelsEntry\x128\x0A\x0Fexpiration_time\x18\x11 \x01(\x0B2\x1A.google.protobuf.TimestampB\x03\xE0A\x03\x12\x14\x0A\x07version\x18\x12 \x01(\x09B\x03\xE0A\x03\x12S\x0A\x15notebook_runtime_type\x18\x13 \x01(\x0E2/.google.cloud.aiplatform.v1.NotebookRuntimeTypeB\x03\xE0A\x03\x12B\x0A\x0Cmachine_spec\x18\x14 \x01(\x0B2'.google.cloud.aiplatform.v1.MachineSpecB\x03\xE0A\x03\x12V\x0A\x19data_persistent_disk_spec\x18\x15 \x01(\x0B2..google.cloud.aiplatform.v1.PersistentDiskSpecB\x03\xE0A\x03\x12B\x0A\x0Cnetwork_spec\x18\x16 \x01(\x0B2'.google.cloud.aiplatform.v1.NetworkSpecB\x03\xE0A\x03\x12Y\x0A\x14idle_shutdown_config\x18\x17 \x01(\x0B26.google.cloud.aiplatform.v1.NotebookIdleShutdownConfigB\x03\xE0A\x03\x12F\x0A\x0Aeuc_config\x18\x18 \x01(\x0B2-.google.cloud.aiplatform.v1.NotebookEucConfigB\x03\xE0A\x03\x12M\x0A\x12shielded_vm_config\x18 \x01(\x0B2,.google.cloud.aiplatform.v1.ShieldedVmConfigB\x03\xE0A\x03\x12\x19\x0A\x0Cnetwork_tags\x18\x19 \x03(\x09B\x03\xE0A\x01\x12P\x0A\x0Fsoftware_config\x18\x1F \x01(\x0B22.google.cloud.aiplatform.v1.NotebookSoftwareConfigB\x03\xE0A\x03\x12H\x0A\x0Fencryption_spec\x18\x1C \x01(\x0B2*.google.cloud.aiplatform.v1.EncryptionSpecB\x03\xE0A\x03\x12\x1A\x0A\x0Dsatisfies_pzs\x18\x1D \x01(\x08B\x03\xE0A\x03\x12\x1A\x0A\x0Dsatisfies_pzi\x18\x1E \x01(\x08B\x03\xE0A\x03\x1A-\x0A\x0BLabelsEntry\x12\x0B\x0A\x03key\x18\x01 \x01(\x09\x12\x0D\x0A\x05value\x18\x02 \x01(\x09:\x028\x01\"G\x0A\x0BHealthState\x12\x1C\x0A\x18HEALTH_STATE_UNSPECIFIED\x10\x00\x12\x0B\x0A\x07HEALTHY\x10\x01\x12\x0D\x0A\x09UNHEALTHY\x10\x02\"\x99\x01\x0A\x0CRuntimeState\x12\x1D\x0A\x19RUNTIME_STATE_UNSPECIFIED\x10\x00\x12\x0B\x0A\x07RUNNING\x10\x01\x12\x11\x0A\x0DBEING_STARTED\x10\x02\x12\x11\x0A\x0DBEING_STOPPED\x10\x03\x12\x0B\x0A\x07STOPPED\x10\x04\x12\x12\x0A\x0EBEING_UPGRADED\x10\x05\x12\x09\x0A\x05ERROR\x10d\x12\x0B\x0A\x07INVALID\x10e:{\xEAAx\x0A)aiplatform.googleapis.com/NotebookRuntime\x12Kprojects/{project}/locations/{location}/notebookRuntimes/{notebook_runtime}*]\x0A\x13NotebookRuntimeType\x12%\x0A!NOTEBOOK_RUNTIME_TYPE_UNSPECIFIED\x10\x00\x12\x10\x0A\x0CUSER_DEFINED\x10\x01\x12\x0D\x0A\x09ONE_CLICK\x10\x02B\xD2\x01\x0A\x1Ecom.google.cloud.aiplatform.v1B\x14NotebookRuntimeProtoP\x01Z>cloud.google.com/go/aiplatform/apiv1/aiplatformpb;aiplatformpb\xAA\x02\x1AGoogle.Cloud.AIPlatform.V1\xCA\x02\x1AGoogle\\Cloud\\AIPlatform\\V1\xEA\x02\x1DGoogle::Cloud::AIPlatform::V1b\x06proto3" + , true); + + static::$is_initialized = true; + } +} + diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/NotebookRuntimeTemplateRef.php b/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/NotebookRuntimeTemplateRef.php new file mode 100644 index 000000000000..61693dc2cb00 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/NotebookRuntimeTemplateRef.php @@ -0,0 +1,26 @@ +internalAddGeneratedFile( + "\x0A\xDB\x03\x0A>google/cloud/aiplatform/v1/notebook_runtime_template_ref.proto\x12\x1Agoogle.cloud.aiplatform.v1\x1A\x19google/api/resource.proto\"z\x0A\x1ANotebookRuntimeTemplateRef\x12\\\x0A\x19notebook_runtime_template\x18\x01 \x01(\x09B9\xE0A\x05\xFAA3\x0A1aiplatform.googleapis.com/NotebookRuntimeTemplateB\xDD\x01\x0A\x1Ecom.google.cloud.aiplatform.v1B\x1FNotebookRuntimeTemplateRefProtoP\x01Z>cloud.google.com/go/aiplatform/apiv1/aiplatformpb;aiplatformpb\xAA\x02\x1AGoogle.Cloud.AIPlatform.V1\xCA\x02\x1AGoogle\\Cloud\\AIPlatform\\V1\xEA\x02\x1DGoogle::Cloud::AIPlatform::V1b\x06proto3" + , 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 000000000000..24e56c790ab2 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/NotebookService.php @@ -0,0 +1,34 @@ +internalAddGeneratedFile( + "\x0A\xB9G\x0A1google/cloud/aiplatform/v1/notebook_service.proto\x12\x1Agoogle.cloud.aiplatform.v1\x1A\x17google/api/client.proto\x1A\x1Fgoogle/api/field_behavior.proto\x1A\x19google/api/resource.proto\x1A7google/cloud/aiplatform/v1/notebook_execution_job.proto\x1A1google/cloud/aiplatform/v1/notebook_runtime.proto\x1A*google/cloud/aiplatform/v1/operation.proto\x1A#google/longrunning/operations.proto\x1A\x1Bgoogle/protobuf/empty.proto\x1A google/protobuf/field_mask.proto\"\xE9\x01\x0A\$CreateNotebookRuntimeTemplateRequest\x129\x0A\x06parent\x18\x01 \x01(\x09B)\xE0A\x02\xFAA#\x0A!locations.googleapis.com/Location\x12[\x0A\x19notebook_runtime_template\x18\x02 \x01(\x0B23.google.cloud.aiplatform.v1.NotebookRuntimeTemplateB\x03\xE0A\x02\x12)\x0A\x1Cnotebook_runtime_template_id\x18\x03 \x01(\x09B\x03\xE0A\x01\"\x80\x01\x0A.CreateNotebookRuntimeTemplateOperationMetadata\x12N\x0A\x10generic_metadata\x18\x01 \x01(\x0B24.google.cloud.aiplatform.v1.GenericOperationMetadata\"l\x0A!GetNotebookRuntimeTemplateRequest\x12G\x0A\x04name\x18\x01 \x01(\x09B9\xE0A\x02\xFAA3\x0A1aiplatform.googleapis.com/NotebookRuntimeTemplate\"\xF1\x01\x0A#ListNotebookRuntimeTemplatesRequest\x129\x0A\x06parent\x18\x01 \x01(\x09B)\xE0A\x02\xFAA#\x0A!locations.googleapis.com/Location\x12\x13\x0A\x06filter\x18\x02 \x01(\x09B\x03\xE0A\x01\x12\x16\x0A\x09page_size\x18\x03 \x01(\x05B\x03\xE0A\x01\x12\x17\x0A\x0Apage_token\x18\x04 \x01(\x09B\x03\xE0A\x01\x122\x0A\x09read_mask\x18\x05 \x01(\x0B2\x1A.google.protobuf.FieldMaskB\x03\xE0A\x01\x12\x15\x0A\x08order_by\x18\x06 \x01(\x09B\x03\xE0A\x01\"\x98\x01\x0A\$ListNotebookRuntimeTemplatesResponse\x12W\x0A\x1Anotebook_runtime_templates\x18\x01 \x03(\x0B23.google.cloud.aiplatform.v1.NotebookRuntimeTemplate\x12\x17\x0A\x0Fnext_page_token\x18\x02 \x01(\x09\"o\x0A\$DeleteNotebookRuntimeTemplateRequest\x12G\x0A\x04name\x18\x01 \x01(\x09B9\xE0A\x02\xFAA3\x0A1aiplatform.googleapis.com/NotebookRuntimeTemplate\"\xB9\x01\x0A\$UpdateNotebookRuntimeTemplateRequest\x12[\x0A\x19notebook_runtime_template\x18\x01 \x01(\x0B23.google.cloud.aiplatform.v1.NotebookRuntimeTemplateB\x03\xE0A\x02\x124\x0A\x0Bupdate_mask\x18\x02 \x01(\x0B2\x1A.google.protobuf.FieldMaskB\x03\xE0A\x02\"\xA5\x02\x0A\x1CAssignNotebookRuntimeRequest\x129\x0A\x06parent\x18\x01 \x01(\x09B)\xE0A\x02\xFAA#\x0A!locations.googleapis.com/Location\x12\\\x0A\x19notebook_runtime_template\x18\x02 \x01(\x09B9\xE0A\x02\xFAA3\x0A1aiplatform.googleapis.com/NotebookRuntimeTemplate\x12J\x0A\x10notebook_runtime\x18\x03 \x01(\x0B2+.google.cloud.aiplatform.v1.NotebookRuntimeB\x03\xE0A\x02\x12 \x0A\x13notebook_runtime_id\x18\x04 \x01(\x09B\x03\xE0A\x01\"\x92\x01\x0A&AssignNotebookRuntimeOperationMetadata\x12N\x0A\x10generic_metadata\x18\x01 \x01(\x0B24.google.cloud.aiplatform.v1.GenericOperationMetadata\x12\x18\x0A\x10progress_message\x18\x02 \x01(\x09\"\\\x0A\x19GetNotebookRuntimeRequest\x12?\x0A\x04name\x18\x01 \x01(\x09B1\xE0A\x02\xFAA+\x0A)aiplatform.googleapis.com/NotebookRuntime\"\xE9\x01\x0A\x1BListNotebookRuntimesRequest\x129\x0A\x06parent\x18\x01 \x01(\x09B)\xE0A\x02\xFAA#\x0A!locations.googleapis.com/Location\x12\x13\x0A\x06filter\x18\x02 \x01(\x09B\x03\xE0A\x01\x12\x16\x0A\x09page_size\x18\x03 \x01(\x05B\x03\xE0A\x01\x12\x17\x0A\x0Apage_token\x18\x04 \x01(\x09B\x03\xE0A\x01\x122\x0A\x09read_mask\x18\x05 \x01(\x0B2\x1A.google.protobuf.FieldMaskB\x03\xE0A\x01\x12\x15\x0A\x08order_by\x18\x06 \x01(\x09B\x03\xE0A\x01\"\x7F\x0A\x1CListNotebookRuntimesResponse\x12F\x0A\x11notebook_runtimes\x18\x01 \x03(\x0B2+.google.cloud.aiplatform.v1.NotebookRuntime\x12\x17\x0A\x0Fnext_page_token\x18\x02 \x01(\x09\"_\x0A\x1CDeleteNotebookRuntimeRequest\x12?\x0A\x04name\x18\x01 \x01(\x09B1\xE0A\x02\xFAA+\x0A)aiplatform.googleapis.com/NotebookRuntime\"`\x0A\x1DUpgradeNotebookRuntimeRequest\x12?\x0A\x04name\x18\x01 \x01(\x09B1\xE0A\x02\xFAA+\x0A)aiplatform.googleapis.com/NotebookRuntime\"\x93\x01\x0A'UpgradeNotebookRuntimeOperationMetadata\x12N\x0A\x10generic_metadata\x18\x01 \x01(\x0B24.google.cloud.aiplatform.v1.GenericOperationMetadata\x12\x18\x0A\x10progress_message\x18\x02 \x01(\x09\" \x0A\x1EUpgradeNotebookRuntimeResponse\"^\x0A\x1BStartNotebookRuntimeRequest\x12?\x0A\x04name\x18\x01 \x01(\x09B1\xE0A\x02\xFAA+\x0A)aiplatform.googleapis.com/NotebookRuntime\"\x91\x01\x0A%StartNotebookRuntimeOperationMetadata\x12N\x0A\x10generic_metadata\x18\x01 \x01(\x0B24.google.cloud.aiplatform.v1.GenericOperationMetadata\x12\x18\x0A\x10progress_message\x18\x02 \x01(\x09\"\x1E\x0A\x1CStartNotebookRuntimeResponse\"]\x0A\x1AStopNotebookRuntimeRequest\x12?\x0A\x04name\x18\x01 \x01(\x09B1\xE0A\x02\xFAA+\x0A)aiplatform.googleapis.com/NotebookRuntime\"v\x0A\$StopNotebookRuntimeOperationMetadata\x12N\x0A\x10generic_metadata\x18\x01 \x01(\x0B24.google.cloud.aiplatform.v1.GenericOperationMetadata\"\x1D\x0A\x1BStopNotebookRuntimeResponse\"\xDD\x01\x0A!CreateNotebookExecutionJobRequest\x129\x0A\x06parent\x18\x01 \x01(\x09B)\xE0A\x02\xFAA#\x0A!locations.googleapis.com/Location\x12U\x0A\x16notebook_execution_job\x18\x02 \x01(\x0B20.google.cloud.aiplatform.v1.NotebookExecutionJobB\x03\xE0A\x02\x12&\x0A\x19notebook_execution_job_id\x18\x03 \x01(\x09B\x03\xE0A\x01\"\x97\x01\x0A+CreateNotebookExecutionJobOperationMetadata\x12N\x0A\x10generic_metadata\x18\x01 \x01(\x0B24.google.cloud.aiplatform.v1.GenericOperationMetadata\x12\x18\x0A\x10progress_message\x18\x02 \x01(\x09\"\xAF\x01\x0A\x1EGetNotebookExecutionJobRequest\x12D\x0A\x04name\x18\x01 \x01(\x09B6\xE0A\x02\xFAA0\x0A.aiplatform.googleapis.com/NotebookExecutionJob\x12G\x0A\x04view\x18\x06 \x01(\x0E24.google.cloud.aiplatform.v1.NotebookExecutionJobViewB\x03\xE0A\x01\"\x83\x02\x0A ListNotebookExecutionJobsRequest\x129\x0A\x06parent\x18\x01 \x01(\x09B)\xE0A\x02\xFAA#\x0A!locations.googleapis.com/Location\x12\x13\x0A\x06filter\x18\x02 \x01(\x09B\x03\xE0A\x01\x12\x16\x0A\x09page_size\x18\x03 \x01(\x05B\x03\xE0A\x01\x12\x17\x0A\x0Apage_token\x18\x04 \x01(\x09B\x03\xE0A\x01\x12\x15\x0A\x08order_by\x18\x05 \x01(\x09B\x03\xE0A\x01\x12G\x0A\x04view\x18\x06 \x01(\x0E24.google.cloud.aiplatform.v1.NotebookExecutionJobViewB\x03\xE0A\x01\"\x8F\x01\x0A!ListNotebookExecutionJobsResponse\x12Q\x0A\x17notebook_execution_jobs\x18\x01 \x03(\x0B20.google.cloud.aiplatform.v1.NotebookExecutionJob\x12\x17\x0A\x0Fnext_page_token\x18\x02 \x01(\x09\"i\x0A!DeleteNotebookExecutionJobRequest\x12D\x0A\x04name\x18\x01 \x01(\x09B6\xE0A\x02\xFAA0\x0A.aiplatform.googleapis.com/NotebookExecutionJob*\x94\x01\x0A\x18NotebookExecutionJobView\x12+\x0A'NOTEBOOK_EXECUTION_JOB_VIEW_UNSPECIFIED\x10\x00\x12%\x0A!NOTEBOOK_EXECUTION_JOB_VIEW_BASIC\x10\x01\x12\$\x0A NOTEBOOK_EXECUTION_JOB_VIEW_FULL\x10\x022\xCD!\x0A\x0FNotebookService\x12\xEE\x02\x0A\x1DCreateNotebookRuntimeTemplate\x12@.google.cloud.aiplatform.v1.CreateNotebookRuntimeTemplateRequest\x1A\x1D.google.longrunning.Operation\"\xEB\x01\xCAAI\x0A\x17NotebookRuntimeTemplate\x12.CreateNotebookRuntimeTemplateOperationMetadata\xDAA=parent,notebook_runtime_template,notebook_runtime_template_id\x82\xD3\xE4\x93\x02Y\"\x12\x12*\"9/v1/{name=projects/*/locations/*/notebookRuntimes/*}:stop:\x01*\x12\xD6\x02\x0A\x1ACreateNotebookExecutionJob\x12=.google.cloud.aiplatform.v1.CreateNotebookExecutionJobRequest\x1A\x1D.google.longrunning.Operation\"\xD9\x01\xCAAC\x0A\x14NotebookExecutionJob\x12+CreateNotebookExecutionJobOperationMetadata\xDAA7parent,notebook_execution_job,notebook_execution_job_id\x82\xD3\xE4\x93\x02S\"9/v1/{parent=projects/*/locations/*}/notebookExecutionJobs:\x16notebook_execution_job\x12\xD1\x01\x0A\x17GetNotebookExecutionJob\x12:.google.cloud.aiplatform.v1.GetNotebookExecutionJobRequest\x1A0.google.cloud.aiplatform.v1.NotebookExecutionJob\"H\xDAA\x04name\x82\xD3\xE4\x93\x02;\x129/v1/{name=projects/*/locations/*/notebookExecutionJobs/*}\x12\xE4\x01\x0A\x19ListNotebookExecutionJobs\x12<.google.cloud.aiplatform.v1.ListNotebookExecutionJobsRequest\x1A=.google.cloud.aiplatform.v1.ListNotebookExecutionJobsResponse\"J\xDAA\x06parent\x82\xD3\xE4\x93\x02;\x129/v1/{parent=projects/*/locations/*}/notebookExecutionJobs\x12\xF7\x01\x0A\x1ADeleteNotebookExecutionJob\x12=.google.cloud.aiplatform.v1.DeleteNotebookExecutionJobRequest\x1A\x1D.google.longrunning.Operation\"{\xCAA0\x0A\x15google.protobuf.Empty\x12\x17DeleteOperationMetadata\xDAA\x04name\x82\xD3\xE4\x93\x02;*9/v1/{name=projects/*/locations/*/notebookExecutionJobs/*}\x1AM\xCAA\x19aiplatform.googleapis.com\xD2A.https://www.googleapis.com/auth/cloud-platformB\xD2\x01\x0A\x1Ecom.google.cloud.aiplatform.v1B\x14NotebookServiceProtoP\x01Z>cloud.google.com/go/aiplatform/apiv1/aiplatformpb;aiplatformpb\xAA\x02\x1AGoogle.Cloud.AIPlatform.V1\xCA\x02\x1AGoogle\\Cloud\\AIPlatform\\V1\xEA\x02\x1DGoogle::Cloud::AIPlatform::V1b\x06proto3" + , true); + + static::$is_initialized = true; + } +} + diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/NotebookSoftwareConfig.php b/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/NotebookSoftwareConfig.php new file mode 100644 index 000000000000..45fc5d20b167 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/NotebookSoftwareConfig.php @@ -0,0 +1,26 @@ +internalAddGeneratedFile( + "\x0A\x9B\x08\x0A9google/cloud/aiplatform/v1/notebook_software_config.proto\x12\x1Agoogle.cloud.aiplatform.v1\x1A(google/cloud/aiplatform/v1/env_var.proto\"\xEC\x02\x0A\x17PostStartupScriptConfig\x12 \x0A\x13post_startup_script\x18\x01 \x01(\x09B\x03\xE0A\x01\x12\$\x0A\x17post_startup_script_url\x18\x02 \x01(\x09B\x03\xE0A\x01\x12x\x0A\x1Cpost_startup_script_behavior\x18\x03 \x01(\x0E2M.google.cloud.aiplatform.v1.PostStartupScriptConfig.PostStartupScriptBehaviorB\x03\xE0A\x01\"\x8E\x01\x0A\x19PostStartupScriptBehavior\x12,\x0A(POST_STARTUP_SCRIPT_BEHAVIOR_UNSPECIFIED\x10\x00\x12\x0C\x0A\x08RUN_ONCE\x10\x01\x12\x13\x0A\x0FRUN_EVERY_START\x10\x02\x12 \x0A\x1CDOWNLOAD_AND_RUN_EVERY_START\x10\x03\"A\x0A\x0AColabImage\x12\x19\x0A\x0Crelease_name\x18\x01 \x01(\x09B\x03\xE0A\x01\x12\x18\x0A\x0Bdescription\x18\x02 \x01(\x09B\x03\xE0A\x03\"\x81\x02\x0A\x16NotebookSoftwareConfig\x12B\x0A\x0Bcolab_image\x18\x05 \x01(\x0B2&.google.cloud.aiplatform.v1.ColabImageB\x03\xE0A\x01H\x00\x124\x0A\x03env\x18\x01 \x03(\x0B2\".google.cloud.aiplatform.v1.EnvVarB\x03\xE0A\x01\x12\\\x0A\x1Apost_startup_script_config\x18\x02 \x01(\x0B23.google.cloud.aiplatform.v1.PostStartupScriptConfigB\x03\xE0A\x01B\x0F\x0A\x0Druntime_imageB\xD9\x01\x0A\x1Ecom.google.cloud.aiplatform.v1B\x1BNotebookSoftwareConfigProtoP\x01Z>cloud.google.com/go/aiplatform/apiv1/aiplatformpb;aiplatformpb\xAA\x02\x1AGoogle.Cloud.AIPlatform.V1\xCA\x02\x1AGoogle\\Cloud\\AIPlatform\\V1\xEA\x02\x1DGoogle::Cloud::AIPlatform::V1b\x06proto3" + , true); + + static::$is_initialized = true; + } +} + diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/Openapi.php b/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/Openapi.php new file mode 100644 index 000000000000..870b977904e2 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/Openapi.php @@ -0,0 +1,26 @@ +internalAddGeneratedFile( + "\x0A\xB3\x0B\x0A(google/cloud/aiplatform/v1/openapi.proto\x12\x1Agoogle.cloud.aiplatform.v1\x1A\x1Cgoogle/protobuf/struct.proto\"\x90\x08\x0A\x06Schema\x123\x0A\x04type\x18\x01 \x01(\x0E2 .google.cloud.aiplatform.v1.TypeB\x03\xE0A\x01\x12\x13\x0A\x06format\x18\x07 \x01(\x09B\x03\xE0A\x01\x12\x12\x0A\x05title\x18\x18 \x01(\x09B\x03\xE0A\x01\x12\x18\x0A\x0Bdescription\x18\x08 \x01(\x09B\x03\xE0A\x01\x12\x15\x0A\x08nullable\x18\x06 \x01(\x08B\x03\xE0A\x01\x12,\x0A\x07default\x18\x17 \x01(\x0B2\x16.google.protobuf.ValueB\x03\xE0A\x01\x126\x0A\x05items\x18\x02 \x01(\x0B2\".google.cloud.aiplatform.v1.SchemaB\x03\xE0A\x01\x12\x16\x0A\x09min_items\x18\x15 \x01(\x03B\x03\xE0A\x01\x12\x16\x0A\x09max_items\x18\x16 \x01(\x03B\x03\xE0A\x01\x12\x11\x0A\x04enum\x18\x09 \x03(\x09B\x03\xE0A\x01\x12K\x0A\x0Aproperties\x18\x03 \x03(\x0B22.google.cloud.aiplatform.v1.Schema.PropertiesEntryB\x03\xE0A\x01\x12\x1E\x0A\x11property_ordering\x18\x19 \x03(\x09B\x03\xE0A\x01\x12\x15\x0A\x08required\x18\x05 \x03(\x09B\x03\xE0A\x01\x12\x1B\x0A\x0Emin_properties\x18\x0E \x01(\x03B\x03\xE0A\x01\x12\x1B\x0A\x0Emax_properties\x18\x0F \x01(\x03B\x03\xE0A\x01\x12\x14\x0A\x07minimum\x18\x10 \x01(\x01B\x03\xE0A\x01\x12\x14\x0A\x07maximum\x18\x11 \x01(\x01B\x03\xE0A\x01\x12\x17\x0A\x0Amin_length\x18\x12 \x01(\x03B\x03\xE0A\x01\x12\x17\x0A\x0Amax_length\x18\x13 \x01(\x03B\x03\xE0A\x01\x12\x14\x0A\x07pattern\x18\x14 \x01(\x09B\x03\xE0A\x01\x12,\x0A\x07example\x18\x04 \x01(\x0B2\x16.google.protobuf.ValueB\x03\xE0A\x01\x127\x0A\x06any_of\x18\x0B \x03(\x0B2\".google.cloud.aiplatform.v1.SchemaB\x03\xE0A\x01\x12:\x0A\x15additional_properties\x18\x1A \x01(\x0B2\x16.google.protobuf.ValueB\x03\xE0A\x01\x12\x10\x0A\x03ref\x18\x1B \x01(\x09B\x03\xE0A\x01\x12?\x0A\x04defs\x18\x1C \x03(\x0B2,.google.cloud.aiplatform.v1.Schema.DefsEntryB\x03\xE0A\x01\x1AU\x0A\x0FPropertiesEntry\x12\x0B\x0A\x03key\x18\x01 \x01(\x09\x121\x0A\x05value\x18\x02 \x01(\x0B2\".google.cloud.aiplatform.v1.Schema:\x028\x01\x1AO\x0A\x09DefsEntry\x12\x0B\x0A\x03key\x18\x01 \x01(\x09\x121\x0A\x05value\x18\x02 \x01(\x0B2\".google.cloud.aiplatform.v1.Schema:\x028\x01*e\x0A\x04Type\x12\x14\x0A\x10TYPE_UNSPECIFIED\x10\x00\x12\x0A\x0A\x06STRING\x10\x01\x12\x0A\x0A\x06NUMBER\x10\x02\x12\x0B\x0A\x07INTEGER\x10\x03\x12\x0B\x0A\x07BOOLEAN\x10\x04\x12\x09\x0A\x05ARRAY\x10\x05\x12\x0A\x0A\x06OBJECT\x10\x06B\xCA\x01\x0A\x1Ecom.google.cloud.aiplatform.v1B\x0COpenApiProtoP\x01Z>cloud.google.com/go/aiplatform/apiv1/aiplatformpb;aiplatformpb\xAA\x02\x1AGoogle.Cloud.AIPlatform.V1\xCA\x02\x1AGoogle\\Cloud\\AIPlatform\\V1\xEA\x02\x1DGoogle::Cloud::AIPlatform::V1b\x06proto3" + , true); + + static::$is_initialized = true; + } +} + 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..7bcc2cf0d020 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/Operation.php @@ -0,0 +1,27 @@ +internalAddGeneratedFile( + "\x0A\x80\x05\x0A*google/cloud/aiplatform/v1/operation.proto\x12\x1Agoogle.cloud.aiplatform.v1\x1A\x1Fgoogle/protobuf/timestamp.proto\x1A\x17google/rpc/status.proto\"\xB9\x01\x0A\x18GenericOperationMetadata\x121\x0A\x10partial_failures\x18\x01 \x03(\x0B2\x12.google.rpc.StatusB\x03\xE0A\x03\x124\x0A\x0Bcreate_time\x18\x02 \x01(\x0B2\x1A.google.protobuf.TimestampB\x03\xE0A\x03\x124\x0A\x0Bupdate_time\x18\x03 \x01(\x0B2\x1A.google.protobuf.TimestampB\x03\xE0A\x03\"i\x0A\x17DeleteOperationMetadata\x12N\x0A\x10generic_metadata\x18\x01 \x01(\x0B24.google.cloud.aiplatform.v1.GenericOperationMetadataB\xCC\x01\x0A\x1Ecom.google.cloud.aiplatform.v1B\x0EOperationProtoP\x01Z>cloud.google.com/go/aiplatform/apiv1/aiplatformpb;aiplatformpb\xAA\x02\x1AGoogle.Cloud.AIPlatform.V1\xCA\x02\x1AGoogle\\Cloud\\AIPlatform\\V1\xEA\x02\x1DGoogle::Cloud::AIPlatform::V1b\x06proto3" + , 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 000000000000..152be9fa4f5c --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/PersistentResource.php @@ -0,0 +1,31 @@ +internalAddGeneratedFile( + "\x0A\x9D\x18\x0A4google/cloud/aiplatform/v1/persistent_resource.proto\x12\x1Agoogle.cloud.aiplatform.v1\x1A\x19google/api/resource.proto\x1A0google/cloud/aiplatform/v1/encryption_spec.proto\x1A2google/cloud/aiplatform/v1/machine_resources.proto\x1A3google/cloud/aiplatform/v1/service_networking.proto\x1A\x1Fgoogle/protobuf/timestamp.proto\x1A\x17google/rpc/status.proto\"\xB1\x09\x0A\x12PersistentResource\x12\x11\x0A\x04name\x18\x01 \x01(\x09B\x03\xE0A\x05\x12\x19\x0A\x0Cdisplay_name\x18\x02 \x01(\x09B\x03\xE0A\x01\x12E\x0A\x0Eresource_pools\x18\x04 \x03(\x0B2(.google.cloud.aiplatform.v1.ResourcePoolB\x03\xE0A\x02\x12H\x0A\x05state\x18\x05 \x01(\x0E24.google.cloud.aiplatform.v1.PersistentResource.StateB\x03\xE0A\x03\x12&\x0A\x05error\x18\x06 \x01(\x0B2\x12.google.rpc.StatusB\x03\xE0A\x03\x124\x0A\x0Bcreate_time\x18\x07 \x01(\x0B2\x1A.google.protobuf.TimestampB\x03\xE0A\x03\x123\x0A\x0Astart_time\x18\x08 \x01(\x0B2\x1A.google.protobuf.TimestampB\x03\xE0A\x03\x124\x0A\x0Bupdate_time\x18\x09 \x01(\x0B2\x1A.google.protobuf.TimestampB\x03\xE0A\x03\x12O\x0A\x06labels\x18\x0A \x03(\x0B2:.google.cloud.aiplatform.v1.PersistentResource.LabelsEntryB\x03\xE0A\x01\x127\x0A\x07network\x18\x0B \x01(\x09B&\xE0A\x01\xFAA \x0A\x1Ecompute.googleapis.com/Network\x12Q\x0A\x14psc_interface_config\x18\x11 \x01(\x0B2..google.cloud.aiplatform.v1.PscInterfaceConfigB\x03\xE0A\x01\x12H\x0A\x0Fencryption_spec\x18\x0C \x01(\x0B2*.google.cloud.aiplatform.v1.EncryptionSpecB\x03\xE0A\x01\x12S\x0A\x15resource_runtime_spec\x18\x0D \x01(\x0B2/.google.cloud.aiplatform.v1.ResourceRuntimeSpecB\x03\xE0A\x01\x12J\x0A\x10resource_runtime\x18\x0E \x01(\x0B2+.google.cloud.aiplatform.v1.ResourceRuntimeB\x03\xE0A\x03\x12\x1F\x0A\x12reserved_ip_ranges\x18\x0F \x03(\x09B\x03\xE0A\x01\x1A-\x0A\x0BLabelsEntry\x12\x0B\x0A\x03key\x18\x01 \x01(\x09\x12\x0D\x0A\x05value\x18\x02 \x01(\x09:\x028\x01\"s\x0A\x05State\x12\x15\x0A\x11STATE_UNSPECIFIED\x10\x00\x12\x10\x0A\x0CPROVISIONING\x10\x01\x12\x0B\x0A\x07RUNNING\x10\x03\x12\x0C\x0A\x08STOPPING\x10\x04\x12\x09\x0A\x05ERROR\x10\x05\x12\x0D\x0A\x09REBOOTING\x10\x06\x12\x0C\x0A\x08UPDATING\x10\x07:\x85\x01\xEAA\x81\x01\x0A,aiplatform.googleapis.com/PersistentResource\x12Qprojects/{project}/locations/{location}/persistentResources/{persistent_resource}\"\xDB\x03\x0A\x0CResourcePool\x12\x0F\x0A\x02id\x18\x01 \x01(\x09B\x03\xE0A\x05\x12E\x0A\x0Cmachine_spec\x18\x02 \x01(\x0B2'.google.cloud.aiplatform.v1.MachineSpecB\x06\xE0A\x02\xE0A\x05\x12\x1F\x0A\x0Dreplica_count\x18\x03 \x01(\x03B\x03\xE0A\x01H\x00\x88\x01\x01\x12<\x0A\x09disk_spec\x18\x04 \x01(\x0B2\$.google.cloud.aiplatform.v1.DiskSpecB\x03\xE0A\x01\x12\x1F\x0A\x12used_replica_count\x18\x06 \x01(\x03B\x03\xE0A\x03\x12W\x0A\x10autoscaling_spec\x18\x07 \x01(\x0B28.google.cloud.aiplatform.v1.ResourcePool.AutoscalingSpecB\x03\xE0A\x01\x1A\x87\x01\x0A\x0FAutoscalingSpec\x12#\x0A\x11min_replica_count\x18\x01 \x01(\x03B\x03\xE0A\x01H\x00\x88\x01\x01\x12#\x0A\x11max_replica_count\x18\x02 \x01(\x03B\x03\xE0A\x01H\x01\x88\x01\x01B\x14\x0A\x12_min_replica_countB\x14\x0A\x12_max_replica_countB\x10\x0A\x0E_replica_count\"\xA4\x01\x0A\x13ResourceRuntimeSpec\x12Q\x0A\x14service_account_spec\x18\x02 \x01(\x0B2..google.cloud.aiplatform.v1.ServiceAccountSpecB\x03\xE0A\x01\x12:\x0A\x08ray_spec\x18\x01 \x01(\x0B2#.google.cloud.aiplatform.v1.RaySpecB\x03\xE0A\x01\"\xF3\x02\x0A\x07RaySpec\x12\x16\x0A\x09image_uri\x18\x01 \x01(\x09B\x03\xE0A\x01\x12^\x0A\x14resource_pool_images\x18\x06 \x03(\x0B2;.google.cloud.aiplatform.v1.RaySpec.ResourcePoolImagesEntryB\x03\xE0A\x01\x12'\x0A\x1Ahead_node_resource_pool_id\x18\x07 \x01(\x09B\x03\xE0A\x01\x12G\x0A\x0Fray_metric_spec\x18\x08 \x01(\x0B2).google.cloud.aiplatform.v1.RayMetricSpecB\x03\xE0A\x01\x12C\x0A\x0Dray_logs_spec\x18\x0A \x01(\x0B2'.google.cloud.aiplatform.v1.RayLogsSpecB\x03\xE0A\x01\x1A9\x0A\x17ResourcePoolImagesEntry\x12\x0B\x0A\x03key\x18\x01 \x01(\x09\x12\x0D\x0A\x05value\x18\x02 \x01(\x09:\x028\x01\"\x9B\x01\x0A\x0FResourceRuntime\x12U\x0A\x0Baccess_uris\x18\x01 \x03(\x0B2;.google.cloud.aiplatform.v1.ResourceRuntime.AccessUrisEntryB\x03\xE0A\x03\x1A1\x0A\x0FAccessUrisEntry\x12\x0B\x0A\x03key\x18\x01 \x01(\x09\x12\x0D\x0A\x05value\x18\x02 \x01(\x09:\x028\x01\"^\x0A\x12ServiceAccountSpec\x12*\x0A\x1Denable_custom_service_account\x18\x01 \x01(\x08B\x03\xE0A\x02\x12\x1C\x0A\x0Fservice_account\x18\x02 \x01(\x09B\x03\xE0A\x01\"&\x0A\x0DRayMetricSpec\x12\x15\x0A\x08disabled\x18\x01 \x01(\x08B\x03\xE0A\x01\"\$\x0A\x0BRayLogsSpec\x12\x15\x0A\x08disabled\x18\x01 \x01(\x08B\x03\xE0A\x01B\xD5\x01\x0A\x1Ecom.google.cloud.aiplatform.v1B\x17PersistentResourceProtoP\x01Z>cloud.google.com/go/aiplatform/apiv1/aiplatformpb;aiplatformpb\xAA\x02\x1AGoogle.Cloud.AIPlatform.V1\xCA\x02\x1AGoogle\\Cloud\\AIPlatform\\V1\xEA\x02\x1DGoogle::Cloud::AIPlatform::V1b\x06proto3" + , true); + + static::$is_initialized = true; + } +} + diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/PersistentResourceService.php b/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/PersistentResourceService.php new file mode 100644 index 000000000000..326ea92210a1 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/PersistentResourceService.php @@ -0,0 +1,33 @@ +internalAddGeneratedFile( + "\x0A\x9A\x1D\x0A/v1/{name=projects/*/locations/*/persistentResources/*}:reboot:\x01*\x1AM\xCAA\x19aiplatform.googleapis.com\xD2A.https://www.googleapis.com/auth/cloud-platformB\xDC\x01\x0A\x1Ecom.google.cloud.aiplatform.v1B\x1EPersistentResourceServiceProtoP\x01Z>cloud.google.com/go/aiplatform/apiv1/aiplatformpb;aiplatformpb\xAA\x02\x1AGoogle.Cloud.AIPlatform.V1\xCA\x02\x1AGoogle\\Cloud\\AIPlatform\\V1\xEA\x02\x1DGoogle::Cloud::AIPlatform::V1b\x06proto3" + , 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 000000000000..e827db834025 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/PipelineFailurePolicy.php @@ -0,0 +1,24 @@ +internalAddGeneratedFile( + "\x0A\xCA\x03\x0A8google/cloud/aiplatform/v1/pipeline_failure_policy.proto\x12\x1Agoogle.cloud.aiplatform.v1*\x8E\x01\x0A\x15PipelineFailurePolicy\x12'\x0A#PIPELINE_FAILURE_POLICY_UNSPECIFIED\x10\x00\x12%\x0A!PIPELINE_FAILURE_POLICY_FAIL_SLOW\x10\x01\x12%\x0A!PIPELINE_FAILURE_POLICY_FAIL_FAST\x10\x02B\xD8\x01\x0A\x1Ecom.google.cloud.aiplatform.v1B\x1APipelineFailurePolicyProtoP\x01Z>cloud.google.com/go/aiplatform/apiv1/aiplatformpb;aiplatformpb\xAA\x02\x1AGoogle.Cloud.AIPlatform.V1\xCA\x02\x1AGoogle\\Cloud\\AIPlatform\\V1\xEA\x02\x1DGoogle::Cloud::AIPlatform::V1b\x06proto3" + , true); + + static::$is_initialized = true; + } +} + 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 000000000000..a60f7226fc7c --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/PipelineJob.php @@ -0,0 +1,37 @@ +internalAddGeneratedFile( + "\x0A\xCC(\x0A-google/cloud/aiplatform/v1/pipeline_job.proto\x12\x1Agoogle.cloud.aiplatform.v1\x1A\x19google/api/resource.proto\x1A)google/cloud/aiplatform/v1/artifact.proto\x1A(google/cloud/aiplatform/v1/context.proto\x1A0google/cloud/aiplatform/v1/encryption_spec.proto\x1A*google/cloud/aiplatform/v1/execution.proto\x1A8google/cloud/aiplatform/v1/pipeline_failure_policy.proto\x1A/google/cloud/aiplatform/v1/pipeline_state.proto\x1A3google/cloud/aiplatform/v1/service_networking.proto\x1A&google/cloud/aiplatform/v1/value.proto\x1A\x1Cgoogle/protobuf/struct.proto\x1A\x1Fgoogle/protobuf/timestamp.proto\x1A\x17google/rpc/status.proto\"\xC7\x0F\x0A\x0BPipelineJob\x12\x11\x0A\x04name\x18\x01 \x01(\x09B\x03\xE0A\x03\x12\x14\x0A\x0Cdisplay_name\x18\x02 \x01(\x09\x124\x0A\x0Bcreate_time\x18\x03 \x01(\x0B2\x1A.google.protobuf.TimestampB\x03\xE0A\x03\x123\x0A\x0Astart_time\x18\x04 \x01(\x0B2\x1A.google.protobuf.TimestampB\x03\xE0A\x03\x121\x0A\x08end_time\x18\x05 \x01(\x0B2\x1A.google.protobuf.TimestampB\x03\xE0A\x03\x124\x0A\x0Bupdate_time\x18\x06 \x01(\x0B2\x1A.google.protobuf.TimestampB\x03\xE0A\x03\x12.\x0A\x0Dpipeline_spec\x18\x07 \x01(\x0B2\x17.google.protobuf.Struct\x12=\x0A\x05state\x18\x08 \x01(\x0E2).google.cloud.aiplatform.v1.PipelineStateB\x03\xE0A\x03\x12F\x0A\x0Ajob_detail\x18\x09 \x01(\x0B2-.google.cloud.aiplatform.v1.PipelineJobDetailB\x03\xE0A\x03\x12&\x0A\x05error\x18\x0A \x01(\x0B2\x12.google.rpc.StatusB\x03\xE0A\x03\x12C\x0A\x06labels\x18\x0B \x03(\x0B23.google.cloud.aiplatform.v1.PipelineJob.LabelsEntry\x12M\x0A\x0Eruntime_config\x18\x0C \x01(\x0B25.google.cloud.aiplatform.v1.PipelineJob.RuntimeConfig\x12C\x0A\x0Fencryption_spec\x18\x10 \x01(\x0B2*.google.cloud.aiplatform.v1.EncryptionSpec\x12\x17\x0A\x0Fservice_account\x18\x11 \x01(\x09\x124\x0A\x07network\x18\x12 \x01(\x09B#\xFAA \x0A\x1Ecompute.googleapis.com/Network\x12\x1A\x0A\x12reserved_ip_ranges\x18\x19 \x03(\x09\x12Q\x0A\x14psc_interface_config\x18\x1F \x01(\x0B2..google.cloud.aiplatform.v1.PscInterfaceConfigB\x03\xE0A\x01\x12\x14\x0A\x0Ctemplate_uri\x18\x13 \x01(\x09\x12T\x0A\x11template_metadata\x18\x14 \x01(\x0B24.google.cloud.aiplatform.v1.PipelineTemplateMetadataB\x03\xE0A\x03\x12\x1A\x0A\x0Dschedule_name\x18\x16 \x01(\x09B\x03\xE0A\x03\x12\"\x0A\x15preflight_validations\x18\x1A \x01(\x08B\x03\xE0A\x01\x1A\xF8\x05\x0A\x0DRuntimeConfig\x12]\x0A\x0Aparameters\x18\x01 \x03(\x0B2E.google.cloud.aiplatform.v1.PipelineJob.RuntimeConfig.ParametersEntryB\x02\x18\x01\x12!\x0A\x14gcs_output_directory\x18\x02 \x01(\x09B\x03\xE0A\x02\x12d\x0A\x10parameter_values\x18\x03 \x03(\x0B2J.google.cloud.aiplatform.v1.PipelineJob.RuntimeConfig.ParameterValuesEntry\x12I\x0A\x0Efailure_policy\x18\x04 \x01(\x0E21.google.cloud.aiplatform.v1.PipelineFailurePolicy\x12b\x0A\x0Finput_artifacts\x18\x05 \x03(\x0B2I.google.cloud.aiplatform.v1.PipelineJob.RuntimeConfig.InputArtifactsEntry\x1A.\x0A\x0DInputArtifact\x12\x15\x0A\x0Bartifact_id\x18\x01 \x01(\x09H\x00B\x06\x0A\x04kind\x1AT\x0A\x0FParametersEntry\x12\x0B\x0A\x03key\x18\x01 \x01(\x09\x120\x0A\x05value\x18\x02 \x01(\x0B2!.google.cloud.aiplatform.v1.Value:\x028\x01\x1AN\x0A\x14ParameterValuesEntry\x12\x0B\x0A\x03key\x18\x01 \x01(\x09\x12%\x0A\x05value\x18\x02 \x01(\x0B2\x16.google.protobuf.Value:\x028\x01\x1Az\x0A\x13InputArtifactsEntry\x12\x0B\x0A\x03key\x18\x01 \x01(\x09\x12R\x0A\x05value\x18\x02 \x01(\x0B2C.google.cloud.aiplatform.v1.PipelineJob.RuntimeConfig.InputArtifact:\x028\x01\x1A-\x0A\x0BLabelsEntry\x12\x0B\x0A\x03key\x18\x01 \x01(\x09\x12\x0D\x0A\x05value\x18\x02 \x01(\x09:\x028\x01:o\xEAAl\x0A%aiplatform.googleapis.com/PipelineJob\x12Cprojects/{project}/locations/{location}/pipelineJobs/{pipeline_job}\"+\x0A\x18PipelineTemplateMetadata\x12\x0F\x0A\x07version\x18\x03 \x01(\x09\"\xEA\x01\x0A\x11PipelineJobDetail\x12B\x0A\x10pipeline_context\x18\x01 \x01(\x0B2#.google.cloud.aiplatform.v1.ContextB\x03\xE0A\x03\x12F\x0A\x14pipeline_run_context\x18\x02 \x01(\x0B2#.google.cloud.aiplatform.v1.ContextB\x03\xE0A\x03\x12I\x0A\x0Ctask_details\x18\x03 \x03(\x0B2..google.cloud.aiplatform.v1.PipelineTaskDetailB\x03\xE0A\x03\"\xBC\x0B\x0A\x12PipelineTaskDetail\x12\x14\x0A\x07task_id\x18\x01 \x01(\x03B\x03\xE0A\x03\x12\x1B\x0A\x0Eparent_task_id\x18\x0C \x01(\x03B\x03\xE0A\x03\x12\x16\x0A\x09task_name\x18\x02 \x01(\x09B\x03\xE0A\x03\x124\x0A\x0Bcreate_time\x18\x03 \x01(\x0B2\x1A.google.protobuf.TimestampB\x03\xE0A\x03\x123\x0A\x0Astart_time\x18\x04 \x01(\x0B2\x1A.google.protobuf.TimestampB\x03\xE0A\x03\x121\x0A\x08end_time\x18\x05 \x01(\x0B2\x1A.google.protobuf.TimestampB\x03\xE0A\x03\x12T\x0A\x0Fexecutor_detail\x18\x06 \x01(\x0B26.google.cloud.aiplatform.v1.PipelineTaskExecutorDetailB\x03\xE0A\x03\x12H\x0A\x05state\x18\x07 \x01(\x0E24.google.cloud.aiplatform.v1.PipelineTaskDetail.StateB\x03\xE0A\x03\x12=\x0A\x09execution\x18\x08 \x01(\x0B2%.google.cloud.aiplatform.v1.ExecutionB\x03\xE0A\x03\x12&\x0A\x05error\x18\x09 \x01(\x0B2\x12.google.rpc.StatusB\x03\xE0A\x03\x12d\x0A\x14pipeline_task_status\x18\x0D \x03(\x0B2A.google.cloud.aiplatform.v1.PipelineTaskDetail.PipelineTaskStatusB\x03\xE0A\x03\x12O\x0A\x06inputs\x18\x0A \x03(\x0B2:.google.cloud.aiplatform.v1.PipelineTaskDetail.InputsEntryB\x03\xE0A\x03\x12Q\x0A\x07outputs\x18\x0B \x03(\x0B2;.google.cloud.aiplatform.v1.PipelineTaskDetail.OutputsEntryB\x03\xE0A\x03\x12\x1D\x0A\x10task_unique_name\x18\x0E \x01(\x09B\x03\xE0A\x03\x1A\xBC\x01\x0A\x12PipelineTaskStatus\x124\x0A\x0Bupdate_time\x18\x01 \x01(\x0B2\x1A.google.protobuf.TimestampB\x03\xE0A\x03\x12H\x0A\x05state\x18\x02 \x01(\x0E24.google.cloud.aiplatform.v1.PipelineTaskDetail.StateB\x03\xE0A\x03\x12&\x0A\x05error\x18\x03 \x01(\x0B2\x12.google.rpc.StatusB\x03\xE0A\x03\x1AL\x0A\x0CArtifactList\x12<\x0A\x09artifacts\x18\x01 \x03(\x0B2\$.google.cloud.aiplatform.v1.ArtifactB\x03\xE0A\x03\x1Aj\x0A\x0BInputsEntry\x12\x0B\x0A\x03key\x18\x01 \x01(\x09\x12J\x0A\x05value\x18\x02 \x01(\x0B2;.google.cloud.aiplatform.v1.PipelineTaskDetail.ArtifactList:\x028\x01\x1Ak\x0A\x0COutputsEntry\x12\x0B\x0A\x03key\x18\x01 \x01(\x09\x12J\x0A\x05value\x18\x02 \x01(\x0B2;.google.cloud.aiplatform.v1.PipelineTaskDetail.ArtifactList:\x028\x01\"\xA6\x01\x0A\x05State\x12\x15\x0A\x11STATE_UNSPECIFIED\x10\x00\x12\x0B\x0A\x07PENDING\x10\x01\x12\x0B\x0A\x07RUNNING\x10\x02\x12\x0D\x0A\x09SUCCEEDED\x10\x03\x12\x12\x0A\x0ECANCEL_PENDING\x10\x04\x12\x0E\x0A\x0ACANCELLING\x10\x05\x12\x0D\x0A\x09CANCELLED\x10\x06\x12\x0A\x0A\x06FAILED\x10\x07\x12\x0B\x0A\x07SKIPPED\x10\x08\x12\x11\x0A\x0DNOT_TRIGGERED\x10\x09\"\xCB\x04\x0A\x1APipelineTaskExecutorDetail\x12g\x0A\x10container_detail\x18\x01 \x01(\x0B2F.google.cloud.aiplatform.v1.PipelineTaskExecutorDetail.ContainerDetailB\x03\xE0A\x03H\x00\x12h\x0A\x11custom_job_detail\x18\x02 \x01(\x0B2F.google.cloud.aiplatform.v1.PipelineTaskExecutorDetail.CustomJobDetailB\x03\xE0A\x03H\x00\x1A\xE7\x01\x0A\x0FContainerDetail\x12=\x0A\x08main_job\x18\x01 \x01(\x09B+\xE0A\x03\xFAA%\x0A#aiplatform.googleapis.com/CustomJob\x12J\x0A\x15pre_caching_check_job\x18\x02 \x01(\x09B+\xE0A\x03\xFAA%\x0A#aiplatform.googleapis.com/CustomJob\x12\x1D\x0A\x10failed_main_jobs\x18\x03 \x03(\x09B\x03\xE0A\x03\x12*\x0A\x1Dfailed_pre_caching_check_jobs\x18\x04 \x03(\x09B\x03\xE0A\x03\x1Ae\x0A\x0FCustomJobDetail\x128\x0A\x03job\x18\x01 \x01(\x09B+\xE0A\x03\xFAA%\x0A#aiplatform.googleapis.com/CustomJob\x12\x18\x0A\x0Bfailed_jobs\x18\x03 \x03(\x09B\x03\xE0A\x03B\x09\x0A\x07detailsB\x97\x02\x0A\x1Ecom.google.cloud.aiplatform.v1B\x08PipelineP\x01Z>cloud.google.com/go/aiplatform/apiv1/aiplatformpb;aiplatformpb\xAA\x02\x1AGoogle.Cloud.AIPlatform.V1\xCA\x02\x1AGoogle\\Cloud\\AIPlatform\\V1\xEA\x02\x1DGoogle::Cloud::AIPlatform::V1\xEAAN\x0A\x1Ecompute.googleapis.com/Network\x12,projects/{project}/global/networks/{network}b\x06proto3" + , true); + + static::$is_initialized = true; + } +} + 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..91673b5ecc58 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/PipelineService.php @@ -0,0 +1,34 @@ +internalAddGeneratedFile( + "\x0A\xB9+\x0A1google/cloud/aiplatform/v1/pipeline_service.proto\x12\x1Agoogle.cloud.aiplatform.v1\x1A\x17google/api/client.proto\x1A\x1Fgoogle/api/field_behavior.proto\x1A\x19google/api/resource.proto\x1A*google/cloud/aiplatform/v1/operation.proto\x1A-google/cloud/aiplatform/v1/pipeline_job.proto\x1A2google/cloud/aiplatform/v1/training_pipeline.proto\x1A#google/longrunning/operations.proto\x1A\x1Bgoogle/protobuf/empty.proto\x1A google/protobuf/field_mask.proto\"z\x0A(BatchCancelPipelineJobsOperationMetadata\x12N\x0A\x10generic_metadata\x18\x01 \x01(\x0B24.google.cloud.aiplatform.v1.GenericOperationMetadata\"\xA8\x01\x0A\x1DCreateTrainingPipelineRequest\x129\x0A\x06parent\x18\x01 \x01(\x09B)\xE0A\x02\xFAA#\x0A!locations.googleapis.com/Location\x12L\x0A\x11training_pipeline\x18\x02 \x01(\x0B2,.google.cloud.aiplatform.v1.TrainingPipelineB\x03\xE0A\x02\"^\x0A\x1AGetTrainingPipelineRequest\x12@\x0A\x04name\x18\x01 \x01(\x09B2\xE0A\x02\xFAA,\x0A*aiplatform.googleapis.com/TrainingPipeline\"\xBF\x01\x0A\x1CListTrainingPipelinesRequest\x129\x0A\x06parent\x18\x01 \x01(\x09B)\xE0A\x02\xFAA#\x0A!locations.googleapis.com/Location\x12\x0E\x0A\x06filter\x18\x02 \x01(\x09\x12\x11\x0A\x09page_size\x18\x03 \x01(\x05\x12\x12\x0A\x0Apage_token\x18\x04 \x01(\x09\x12-\x0A\x09read_mask\x18\x05 \x01(\x0B2\x1A.google.protobuf.FieldMask\"\x82\x01\x0A\x1DListTrainingPipelinesResponse\x12H\x0A\x12training_pipelines\x18\x01 \x03(\x0B2,.google.cloud.aiplatform.v1.TrainingPipeline\x12\x17\x0A\x0Fnext_page_token\x18\x02 \x01(\x09\"a\x0A\x1DDeleteTrainingPipelineRequest\x12@\x0A\x04name\x18\x01 \x01(\x09B2\xE0A\x02\xFAA,\x0A*aiplatform.googleapis.com/TrainingPipeline\"a\x0A\x1DCancelTrainingPipelineRequest\x12@\x0A\x04name\x18\x01 \x01(\x09B2\xE0A\x02\xFAA,\x0A*aiplatform.googleapis.com/TrainingPipeline\"\xB2\x01\x0A\x18CreatePipelineJobRequest\x129\x0A\x06parent\x18\x01 \x01(\x09B)\xE0A\x02\xFAA#\x0A!locations.googleapis.com/Location\x12B\x0A\x0Cpipeline_job\x18\x02 \x01(\x0B2'.google.cloud.aiplatform.v1.PipelineJobB\x03\xE0A\x02\x12\x17\x0A\x0Fpipeline_job_id\x18\x03 \x01(\x09\"T\x0A\x15GetPipelineJobRequest\x12;\x0A\x04name\x18\x01 \x01(\x09B-\xE0A\x02\xFAA'\x0A%aiplatform.googleapis.com/PipelineJob\"\xCC\x01\x0A\x17ListPipelineJobsRequest\x129\x0A\x06parent\x18\x01 \x01(\x09B)\xE0A\x02\xFAA#\x0A!locations.googleapis.com/Location\x12\x0E\x0A\x06filter\x18\x02 \x01(\x09\x12\x11\x0A\x09page_size\x18\x03 \x01(\x05\x12\x12\x0A\x0Apage_token\x18\x04 \x01(\x09\x12\x10\x0A\x08order_by\x18\x06 \x01(\x09\x12-\x0A\x09read_mask\x18\x07 \x01(\x0B2\x1A.google.protobuf.FieldMask\"s\x0A\x18ListPipelineJobsResponse\x12>\x0A\x0Dpipeline_jobs\x18\x01 \x03(\x0B2'.google.cloud.aiplatform.v1.PipelineJob\x12\x17\x0A\x0Fnext_page_token\x18\x02 \x01(\x09\"W\x0A\x18DeletePipelineJobRequest\x12;\x0A\x04name\x18\x01 \x01(\x09B-\xE0A\x02\xFAA'\x0A%aiplatform.googleapis.com/PipelineJob\"\x9D\x01\x0A\x1EBatchDeletePipelineJobsRequest\x12=\x0A\x06parent\x18\x01 \x01(\x09B-\xE0A\x02\xFAA'\x12%aiplatform.googleapis.com/PipelineJob\x12<\x0A\x05names\x18\x02 \x03(\x09B-\xE0A\x02\xFAA'\x0A%aiplatform.googleapis.com/PipelineJob\"a\x0A\x1FBatchDeletePipelineJobsResponse\x12>\x0A\x0Dpipeline_jobs\x18\x01 \x03(\x0B2'.google.cloud.aiplatform.v1.PipelineJob\"W\x0A\x18CancelPipelineJobRequest\x12;\x0A\x04name\x18\x01 \x01(\x09B-\xE0A\x02\xFAA'\x0A%aiplatform.googleapis.com/PipelineJob\"\x9D\x01\x0A\x1EBatchCancelPipelineJobsRequest\x12=\x0A\x06parent\x18\x01 \x01(\x09B-\xE0A\x02\xFAA'\x12%aiplatform.googleapis.com/PipelineJob\x12<\x0A\x05names\x18\x02 \x03(\x09B-\xE0A\x02\xFAA'\x0A%aiplatform.googleapis.com/PipelineJob\"a\x0A\x1FBatchCancelPipelineJobsResponse\x12>\x0A\x0Dpipeline_jobs\x18\x01 \x03(\x0B2'.google.cloud.aiplatform.v1.PipelineJob2\xA7\x15\x0A\x0FPipelineService\x12\xEE\x01\x0A\x16CreateTrainingPipeline\x129.google.cloud.aiplatform.v1.CreateTrainingPipelineRequest\x1A,.google.cloud.aiplatform.v1.TrainingPipeline\"k\xDAA\x18parent,training_pipeline\x82\xD3\xE4\x93\x02J\"5/v1/{parent=projects/*/locations/*}/trainingPipelines:\x11training_pipeline\x12\xC1\x01\x0A\x13GetTrainingPipeline\x126.google.cloud.aiplatform.v1.GetTrainingPipelineRequest\x1A,.google.cloud.aiplatform.v1.TrainingPipeline\"D\xDAA\x04name\x82\xD3\xE4\x93\x027\x125/v1/{name=projects/*/locations/*/trainingPipelines/*}\x12\xD4\x01\x0A\x15ListTrainingPipelines\x128.google.cloud.aiplatform.v1.ListTrainingPipelinesRequest\x1A9.google.cloud.aiplatform.v1.ListTrainingPipelinesResponse\"F\xDAA\x06parent\x82\xD3\xE4\x93\x027\x125/v1/{parent=projects/*/locations/*}/trainingPipelines\x12\xEB\x01\x0A\x16DeleteTrainingPipeline\x129.google.cloud.aiplatform.v1.DeleteTrainingPipelineRequest\x1A\x1D.google.longrunning.Operation\"w\xCAA0\x0A\x15google.protobuf.Empty\x12\x17DeleteOperationMetadata\xDAA\x04name\x82\xD3\xE4\x93\x027*5/v1/{name=projects/*/locations/*/trainingPipelines/*}\x12\xBB\x01\x0A\x16CancelTrainingPipeline\x129.google.cloud.aiplatform.v1.CancelTrainingPipelineRequest\x1A\x16.google.protobuf.Empty\"N\xDAA\x04name\x82\xD3\xE4\x93\x02A\"cloud.google.com/go/aiplatform/apiv1/aiplatformpb;aiplatformpb\xAA\x02\x1AGoogle.Cloud.AIPlatform.V1\xCA\x02\x1AGoogle\\Cloud\\AIPlatform\\V1\xEA\x02\x1DGoogle::Cloud::AIPlatform::V1b\x06proto3" + , 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 000000000000..1816aabb3715 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/PipelineState.php @@ -0,0 +1,24 @@ +internalAddGeneratedFile( + "\x0A\xBE\x04\x0A/google/cloud/aiplatform/v1/pipeline_state.proto\x12\x1Agoogle.cloud.aiplatform.v1*\x93\x02\x0A\x0DPipelineState\x12\x1E\x0A\x1APIPELINE_STATE_UNSPECIFIED\x10\x00\x12\x19\x0A\x15PIPELINE_STATE_QUEUED\x10\x01\x12\x1A\x0A\x16PIPELINE_STATE_PENDING\x10\x02\x12\x1A\x0A\x16PIPELINE_STATE_RUNNING\x10\x03\x12\x1C\x0A\x18PIPELINE_STATE_SUCCEEDED\x10\x04\x12\x19\x0A\x15PIPELINE_STATE_FAILED\x10\x05\x12\x1D\x0A\x19PIPELINE_STATE_CANCELLING\x10\x06\x12\x1C\x0A\x18PIPELINE_STATE_CANCELLED\x10\x07\x12\x19\x0A\x15PIPELINE_STATE_PAUSED\x10\x08B\xD0\x01\x0A\x1Ecom.google.cloud.aiplatform.v1B\x12PipelineStateProtoP\x01Z>cloud.google.com/go/aiplatform/apiv1/aiplatformpb;aiplatformpb\xAA\x02\x1AGoogle.Cloud.AIPlatform.V1\xCA\x02\x1AGoogle\\Cloud\\AIPlatform\\V1\xEA\x02\x1DGoogle::Cloud::AIPlatform::V1b\x06proto3" + , true); + + static::$is_initialized = true; + } +} + diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/PredictionService.php b/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/PredictionService.php new file mode 100644 index 000000000000..0352e5578b22 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/PredictionService.php @@ -0,0 +1,36 @@ +internalAddGeneratedFile( + "\x0A\xEFX\x0A3google/cloud/aiplatform/v1/prediction_service.proto\x12\x1Agoogle.cloud.aiplatform.v1\x1A\x17google/api/client.proto\x1A\x1Fgoogle/api/field_behavior.proto\x1A\x19google/api/httpbody.proto\x1A\x19google/api/resource.proto\x1A(google/cloud/aiplatform/v1/content.proto\x1A,google/cloud/aiplatform/v1/explanation.proto\x1A%google/cloud/aiplatform/v1/tool.proto\x1A&google/cloud/aiplatform/v1/types.proto\x1A/google/cloud/aiplatform/v1/usage_metadata.proto\x1A\x1Cgoogle/protobuf/struct.proto\x1A\x1Fgoogle/protobuf/timestamp.proto\"\xA6\x02\x0A\x0EPredictRequest\x12<\x0A\x08endpoint\x18\x01 \x01(\x09B*\xE0A\x02\xFAA\$\x0A\"aiplatform.googleapis.com/Endpoint\x12.\x0A\x09instances\x18\x02 \x03(\x0B2\x16.google.protobuf.ValueB\x03\xE0A\x02\x12*\x0A\x0Aparameters\x18\x03 \x01(\x0B2\x16.google.protobuf.Value\x12K\x0A\x06labels\x18\x04 \x03(\x0B26.google.cloud.aiplatform.v1.PredictRequest.LabelsEntryB\x03\xE0A\x01\x1A-\x0A\x0BLabelsEntry\x12\x0B\x0A\x03key\x18\x01 \x01(\x09\x12\x0D\x0A\x05value\x18\x02 \x01(\x09:\x028\x01\"\x80\x02\x0A\x0FPredictResponse\x12+\x0A\x0Bpredictions\x18\x01 \x03(\x0B2\x16.google.protobuf.Value\x12\x19\x0A\x11deployed_model_id\x18\x02 \x01(\x09\x126\x0A\x05model\x18\x03 \x01(\x09B'\xE0A\x03\xFAA!\x0A\x1Faiplatform.googleapis.com/Model\x12\x1D\x0A\x10model_version_id\x18\x05 \x01(\x09B\x03\xE0A\x03\x12\x1F\x0A\x12model_display_name\x18\x04 \x01(\x09B\x03\xE0A\x03\x12-\x0A\x08metadata\x18\x06 \x01(\x0B2\x16.google.protobuf.ValueB\x03\xE0A\x03\"z\x0A\x11RawPredictRequest\x12<\x0A\x08endpoint\x18\x01 \x01(\x09B*\xE0A\x02\xFAA\$\x0A\"aiplatform.googleapis.com/Endpoint\x12'\x0A\x09http_body\x18\x02 \x01(\x0B2\x14.google.api.HttpBody\"\x80\x01\x0A\x17StreamRawPredictRequest\x12<\x0A\x08endpoint\x18\x01 \x01(\x09B*\xE0A\x02\xFAA\$\x0A\"aiplatform.googleapis.com/Endpoint\x12'\x0A\x09http_body\x18\x02 \x01(\x0B2\x14.google.api.HttpBody\"\xC0\x01\x0A\x14DirectPredictRequest\x12<\x0A\x08endpoint\x18\x01 \x01(\x09B*\xE0A\x02\xFAA\$\x0A\"aiplatform.googleapis.com/Endpoint\x122\x0A\x06inputs\x18\x02 \x03(\x0B2\".google.cloud.aiplatform.v1.Tensor\x126\x0A\x0Aparameters\x18\x03 \x01(\x0B2\".google.cloud.aiplatform.v1.Tensor\"\x84\x01\x0A\x15DirectPredictResponse\x123\x0A\x07outputs\x18\x01 \x03(\x0B2\".google.cloud.aiplatform.v1.Tensor\x126\x0A\x0Aparameters\x18\x02 \x01(\x0B2\".google.cloud.aiplatform.v1.Tensor\"{\x0A\x17DirectRawPredictRequest\x12<\x0A\x08endpoint\x18\x01 \x01(\x09B*\xE0A\x02\xFAA\$\x0A\"aiplatform.googleapis.com/Endpoint\x12\x13\x0A\x0Bmethod_name\x18\x02 \x01(\x09\x12\x0D\x0A\x05input\x18\x03 \x01(\x0C\"*\x0A\x18DirectRawPredictResponse\x12\x0E\x0A\x06output\x18\x01 \x01(\x0C\"\xD0\x01\x0A\x1AStreamDirectPredictRequest\x12<\x0A\x08endpoint\x18\x01 \x01(\x09B*\xE0A\x02\xFAA\$\x0A\"aiplatform.googleapis.com/Endpoint\x127\x0A\x06inputs\x18\x02 \x03(\x0B2\".google.cloud.aiplatform.v1.TensorB\x03\xE0A\x01\x12;\x0A\x0Aparameters\x18\x03 \x01(\x0B2\".google.cloud.aiplatform.v1.TensorB\x03\xE0A\x01\"\x8A\x01\x0A\x1BStreamDirectPredictResponse\x123\x0A\x07outputs\x18\x01 \x03(\x0B2\".google.cloud.aiplatform.v1.Tensor\x126\x0A\x0Aparameters\x18\x02 \x01(\x0B2\".google.cloud.aiplatform.v1.Tensor\"\x8B\x01\x0A\x1DStreamDirectRawPredictRequest\x12<\x0A\x08endpoint\x18\x01 \x01(\x09B*\xE0A\x02\xFAA\$\x0A\"aiplatform.googleapis.com/Endpoint\x12\x18\x0A\x0Bmethod_name\x18\x02 \x01(\x09B\x03\xE0A\x01\x12\x12\x0A\x05input\x18\x03 \x01(\x0CB\x03\xE0A\x01\"0\x0A\x1EStreamDirectRawPredictResponse\x12\x0E\x0A\x06output\x18\x01 \x01(\x0C\"\xC3\x01\x0A\x17StreamingPredictRequest\x12<\x0A\x08endpoint\x18\x01 \x01(\x09B*\xE0A\x02\xFAA\$\x0A\"aiplatform.googleapis.com/Endpoint\x122\x0A\x06inputs\x18\x02 \x03(\x0B2\".google.cloud.aiplatform.v1.Tensor\x126\x0A\x0Aparameters\x18\x03 \x01(\x0B2\".google.cloud.aiplatform.v1.Tensor\"\x87\x01\x0A\x18StreamingPredictResponse\x123\x0A\x07outputs\x18\x01 \x03(\x0B2\".google.cloud.aiplatform.v1.Tensor\x126\x0A\x0Aparameters\x18\x02 \x01(\x0B2\".google.cloud.aiplatform.v1.Tensor\"~\x0A\x1AStreamingRawPredictRequest\x12<\x0A\x08endpoint\x18\x01 \x01(\x09B*\xE0A\x02\xFAA\$\x0A\"aiplatform.googleapis.com/Endpoint\x12\x13\x0A\x0Bmethod_name\x18\x02 \x01(\x09\x12\x0D\x0A\x05input\x18\x03 \x01(\x0C\"-\x0A\x1BStreamingRawPredictResponse\x12\x0E\x0A\x06output\x18\x01 \x01(\x0C\"\x9D\x02\x0A\x0EExplainRequest\x12<\x0A\x08endpoint\x18\x01 \x01(\x09B*\xE0A\x02\xFAA\$\x0A\"aiplatform.googleapis.com/Endpoint\x12.\x0A\x09instances\x18\x02 \x03(\x0B2\x16.google.protobuf.ValueB\x03\xE0A\x02\x12*\x0A\x0Aparameters\x18\x04 \x01(\x0B2\x16.google.protobuf.Value\x12V\x0A\x19explanation_spec_override\x18\x05 \x01(\x0B23.google.cloud.aiplatform.v1.ExplanationSpecOverride\x12\x19\x0A\x11deployed_model_id\x18\x03 \x01(\x09\"\x98\x01\x0A\x0FExplainResponse\x12=\x0A\x0Cexplanations\x18\x01 \x03(\x0B2'.google.cloud.aiplatform.v1.Explanation\x12\x19\x0A\x11deployed_model_id\x18\x02 \x01(\x09\x12+\x0A\x0Bpredictions\x18\x03 \x03(\x0B2\x16.google.protobuf.Value\"\xD3\x03\x0A\x12CountTokensRequest\x12<\x0A\x08endpoint\x18\x01 \x01(\x09B*\xE0A\x02\xFAA\$\x0A\"aiplatform.googleapis.com/Endpoint\x12\x12\x0A\x05model\x18\x03 \x01(\x09B\x03\xE0A\x01\x12.\x0A\x09instances\x18\x02 \x03(\x0B2\x16.google.protobuf.ValueB\x03\xE0A\x01\x12:\x0A\x08contents\x18\x04 \x03(\x0B2#.google.cloud.aiplatform.v1.ContentB\x03\xE0A\x01\x12I\x0A\x12system_instruction\x18\x05 \x01(\x0B2#.google.cloud.aiplatform.v1.ContentB\x03\xE0A\x01H\x00\x88\x01\x01\x124\x0A\x05tools\x18\x06 \x03(\x0B2 .google.cloud.aiplatform.v1.ToolB\x03\xE0A\x01\x12Q\x0A\x11generation_config\x18\x07 \x01(\x0B2,.google.cloud.aiplatform.v1.GenerationConfigB\x03\xE0A\x01H\x01\x88\x01\x01B\x15\x0A\x13_system_instructionB\x14\x0A\x12_generation_config\"\xA2\x01\x0A\x13CountTokensResponse\x12\x14\x0A\x0Ctotal_tokens\x18\x01 \x01(\x05\x12!\x0A\x19total_billable_characters\x18\x02 \x01(\x05\x12R\x0A\x15prompt_tokens_details\x18\x03 \x03(\x0B2..google.cloud.aiplatform.v1.ModalityTokenCountB\x03\xE0A\x03\"\xF5\x05\x0A\x16GenerateContentRequest\x12\x12\x0A\x05model\x18\x05 \x01(\x09B\x03\xE0A\x02\x12:\x0A\x08contents\x18\x02 \x03(\x0B2#.google.cloud.aiplatform.v1.ContentB\x03\xE0A\x02\x12I\x0A\x12system_instruction\x18\x08 \x01(\x0B2#.google.cloud.aiplatform.v1.ContentB\x03\xE0A\x01H\x00\x88\x01\x01\x12G\x0A\x0Ecached_content\x18\x09 \x01(\x09B/\xE0A\x01\xFAA)\x0A'aiplatform.googleapis.com/CachedContent\x124\x0A\x05tools\x18\x06 \x03(\x0B2 .google.cloud.aiplatform.v1.ToolB\x03\xE0A\x01\x12@\x0A\x0Btool_config\x18\x07 \x01(\x0B2&.google.cloud.aiplatform.v1.ToolConfigB\x03\xE0A\x01\x12S\x0A\x06labels\x18\x0A \x03(\x0B2>.google.cloud.aiplatform.v1.GenerateContentRequest.LabelsEntryB\x03\xE0A\x01\x12G\x0A\x0Fsafety_settings\x18\x03 \x03(\x0B2).google.cloud.aiplatform.v1.SafetySettingB\x03\xE0A\x01\x12M\x0A\x12model_armor_config\x18\x0B \x01(\x0B2,.google.cloud.aiplatform.v1.ModelArmorConfigB\x03\xE0A\x01\x12L\x0A\x11generation_config\x18\x04 \x01(\x0B2,.google.cloud.aiplatform.v1.GenerationConfigB\x03\xE0A\x01\x1A-\x0A\x0BLabelsEntry\x12\x0B\x0A\x03key\x18\x01 \x01(\x09\x12\x0D\x0A\x05value\x18\x02 \x01(\x09:\x028\x01B\x15\x0A\x13_system_instruction\"\xFC\x0B\x0A\x17GenerateContentResponse\x12>\x0A\x0Acandidates\x18\x02 \x03(\x0B2%.google.cloud.aiplatform.v1.CandidateB\x03\xE0A\x03\x12\x1A\x0A\x0Dmodel_version\x18\x0B \x01(\x09B\x03\xE0A\x03\x124\x0A\x0Bcreate_time\x18\x0C \x01(\x0B2\x1A.google.protobuf.TimestampB\x03\xE0A\x03\x12\x18\x0A\x0Bresponse_id\x18\x0D \x01(\x09B\x03\xE0A\x03\x12`\x0A\x0Fprompt_feedback\x18\x03 \x01(\x0B2B.google.cloud.aiplatform.v1.GenerateContentResponse.PromptFeedbackB\x03\xE0A\x03\x12Y\x0A\x0Eusage_metadata\x18\x04 \x01(\x0B2A.google.cloud.aiplatform.v1.GenerateContentResponse.UsageMetadata\x1A\xF7\x02\x0A\x0EPromptFeedback\x12k\x0A\x0Cblock_reason\x18\x01 \x01(\x0E2P.google.cloud.aiplatform.v1.GenerateContentResponse.PromptFeedback.BlockedReasonB\x03\xE0A\x03\x12E\x0A\x0Esafety_ratings\x18\x02 \x03(\x0B2(.google.cloud.aiplatform.v1.SafetyRatingB\x03\xE0A\x03\x12!\x0A\x14block_reason_message\x18\x03 \x01(\x09B\x03\xE0A\x03\"\x8D\x01\x0A\x0DBlockedReason\x12\x1E\x0A\x1ABLOCKED_REASON_UNSPECIFIED\x10\x00\x12\x0A\x0A\x06SAFETY\x10\x01\x12\x09\x0A\x05OTHER\x10\x02\x12\x0D\x0A\x09BLOCKLIST\x10\x03\x12\x16\x0A\x12PROHIBITED_CONTENT\x10\x04\x12\x0F\x0A\x0BMODEL_ARMOR\x10\x05\x12\x0D\x0A\x09JAILBREAK\x10\x06\x1A\xFD\x05\x0A\x0DUsageMetadata\x12\x1A\x0A\x12prompt_token_count\x18\x01 \x01(\x05\x12\x1E\x0A\x16candidates_token_count\x18\x02 \x01(\x05\x12!\x0A\x14thoughts_token_count\x18\x0E \x01(\x05B\x03\xE0A\x03\x12\x19\x0A\x11total_token_count\x18\x03 \x01(\x05\x12'\x0A\x1Acached_content_token_count\x18\x05 \x01(\x05B\x03\xE0A\x03\x12R\x0A\x15prompt_tokens_details\x18\x09 \x03(\x0B2..google.cloud.aiplatform.v1.ModalityTokenCountB\x03\xE0A\x03\x12Q\x0A\x14cache_tokens_details\x18\x0A \x03(\x0B2..google.cloud.aiplatform.v1.ModalityTokenCountB\x03\xE0A\x03\x12V\x0A\x19candidates_tokens_details\x18\x0B \x03(\x0B2..google.cloud.aiplatform.v1.ModalityTokenCountB\x03\xE0A\x03\x12[\x0A\x1Etool_use_prompt_tokens_details\x18\x0C \x03(\x0B2..google.cloud.aiplatform.v1.ModalityTokenCountB\x03\xE0A\x03\x12h\x0A\x0Ctraffic_type\x18\x08 \x01(\x0E2M.google.cloud.aiplatform.v1.GenerateContentResponse.UsageMetadata.TrafficTypeB\x03\xE0A\x03\"\x82\x01\x0A\x0BTrafficType\x12\x1C\x0A\x18TRAFFIC_TYPE_UNSPECIFIED\x10\x00\x12\x0D\x0A\x09ON_DEMAND\x10\x01\x12\x16\x0A\x12ON_DEMAND_PRIORITY\x10\x03\x12\x12\x0A\x0EON_DEMAND_FLEX\x10\x04\x12\x1A\x0A\x16PROVISIONED_THROUGHPUT\x10\x02\"\xA5\x09\x0A\x13EmbedContentRequest\x12;\x0A\x05model\x18\x01 \x01(\x09B'\xFAA\$\x0A\"aiplatform.googleapis.com/EndpointH\x00\x88\x01\x01\x129\x0A\x07content\x18\x02 \x01(\x0B2#.google.cloud.aiplatform.v1.ContentH\x01\x88\x01\x01\x12\x19\x0A\x05title\x18\x04 \x01(\x09B\x05\x18\x01\xE0A\x01H\x02\x88\x01\x01\x12`\x0A\x09task_type\x18\x05 \x01(\x0E2A.google.cloud.aiplatform.v1.EmbedContentRequest.EmbeddingTaskTypeB\x05\x18\x01\xE0A\x01H\x03\x88\x01\x01\x12)\x0A\x15output_dimensionality\x18\x06 \x01(\x05B\x05\x18\x01\xE0A\x01H\x04\x88\x01\x01\x12!\x0A\x0Dauto_truncate\x18\x07 \x01(\x08B\x05\x18\x01\xE0A\x01H\x05\x88\x01\x01\x12j\x0A\x14embed_content_config\x18\x08 \x01(\x0B2B.google.cloud.aiplatform.v1.EmbedContentRequest.EmbedContentConfigB\x03\xE0A\x01H\x06\x88\x01\x01\x1A\x91\x03\x0A\x12EmbedContentConfig\x12\x17\x0A\x05title\x18\x01 \x01(\x09B\x03\xE0A\x01H\x00\x88\x01\x01\x12^\x0A\x09task_type\x18\x02 \x01(\x0E2A.google.cloud.aiplatform.v1.EmbedContentRequest.EmbeddingTaskTypeB\x03\xE0A\x01H\x01\x88\x01\x01\x12\x1F\x0A\x0Dauto_truncate\x18\x03 \x01(\x08B\x03\xE0A\x01H\x02\x88\x01\x01\x12'\x0A\x15output_dimensionality\x18\x04 \x01(\x05B\x03\xE0A\x01H\x03\x88\x01\x01\x12\x1E\x0A\x0Cdocument_ocr\x18\x05 \x01(\x08B\x03\xE0A\x01H\x04\x88\x01\x01\x12(\x0A\x16audio_track_extraction\x18\x06 \x01(\x08B\x03\xE0A\x01H\x05\x88\x01\x01B\x08\x0A\x06_titleB\x0C\x0A\x0A_task_typeB\x10\x0A\x0E_auto_truncateB\x18\x0A\x16_output_dimensionalityB\x0F\x0A\x0D_document_ocrB\x19\x0A\x17_audio_track_extraction\"\xD7\x01\x0A\x11EmbeddingTaskType\x12\x0F\x0A\x0BUNSPECIFIED\x10\x00\x12\x13\x0A\x0FRETRIEVAL_QUERY\x10\x02\x12\x16\x0A\x12RETRIEVAL_DOCUMENT\x10\x03\x12\x17\x0A\x13SEMANTIC_SIMILARITY\x10\x04\x12\x12\x0A\x0ECLASSIFICATION\x10\x05\x12\x0E\x0A\x0ACLUSTERING\x10\x06\x12\x16\x0A\x12QUESTION_ANSWERING\x10\x07\x12\x15\x0A\x11FACT_VERIFICATION\x10\x08\x12\x18\x0A\x14CODE_RETRIEVAL_QUERY\x10\x09B\x08\x0A\x06_modelB\x0A\x0A\x08_contentB\x08\x0A\x06_titleB\x0C\x0A\x0A_task_typeB\x18\x0A\x16_output_dimensionalityB\x10\x0A\x0E_auto_truncateB\x17\x0A\x15_embed_content_config\"\xD8\x01\x0A\x14EmbedContentResponse\x12M\x0A\x09embedding\x18\x01 \x01(\x0B2:.google.cloud.aiplatform.v1.EmbedContentResponse.Embedding\x12A\x0A\x0Eusage_metadata\x18\x02 \x01(\x0B2).google.cloud.aiplatform.v1.UsageMetadata\x12\x11\x0A\x09truncated\x18\x04 \x01(\x08\x1A\x1B\x0A\x09Embedding\x12\x0E\x0A\x06values\x18\x01 \x03(\x022\xC8\x1B\x0A\x11PredictionService\x12\x94\x02\x0A\x07Predict\x12*.google.cloud.aiplatform.v1.PredictRequest\x1A+.google.cloud.aiplatform.v1.PredictResponse\"\xAF\x01\xDAA\x1Dendpoint,instances,parameters\x82\xD3\xE4\x93\x02\x88\x01\"9/v1/{endpoint=projects/*/locations/*/endpoints/*}:predict:\x01*ZH\"C/v1/{endpoint=projects/*/locations/*/publishers/*/models/*}:predict:\x01*\x12\xFE\x01\x0A\x0ARawPredict\x12-.google.cloud.aiplatform.v1.RawPredictRequest\x1A\x14.google.api.HttpBody\"\xAA\x01\xDAA\x12endpoint,http_body\x82\xD3\xE4\x93\x02\x8E\x01\"\"9/v1/{endpoint=projects/*/locations/*/endpoints/*}:explain:\x01*\x12\x8D\x03\x0A\x0FGenerateContent\x122.google.cloud.aiplatform.v1.GenerateContentRequest\x1A3.google.cloud.aiplatform.v1.GenerateContentResponse\"\x90\x02\xDAA\x0Emodel,contents\x82\xD3\xE4\x93\x02\xF8\x01\">/v1/{model=projects/*/locations/*/endpoints/*}:generateContent:\x01*ZM\"H/v1/{model=projects/*/locations/*/publishers/*/models/*}:generateContent:\x01*Z,\"'/v1/{model=endpoints/*}:generateContent:\x01*Z6\"1/v1/{model=publishers/*/models/*}:generateContent:\x01*\x12\xAD\x03\x0A\x15StreamGenerateContent\x122.google.cloud.aiplatform.v1.GenerateContentRequest\x1A3.google.cloud.aiplatform.v1.GenerateContentResponse\"\xA8\x02\xDAA\x0Emodel,contents\x82\xD3\xE4\x93\x02\x90\x02\"D/v1/{model=projects/*/locations/*/endpoints/*}:streamGenerateContent:\x01*ZS\"N/v1/{model=projects/*/locations/*/publishers/*/models/*}:streamGenerateContent:\x01*Z2\"-/v1/{model=endpoints/*}:streamGenerateContent:\x01*Z<\"7/v1/{model=publishers/*/models/*}:streamGenerateContent:\x01*0\x01\x12\xD3\x01\x0A\x0CEmbedContent\x12/.google.cloud.aiplatform.v1.EmbedContentRequest\x1A0.google.cloud.aiplatform.v1.EmbedContentResponse\"`\xDAA\x0Dmodel,content\x82\xD3\xE4\x93\x02J\"E/v1/{model=projects/*/locations/*/publishers/*/models/*}:embedContent:\x01*\x1A\x86\x01\xCAA\x19aiplatform.googleapis.com\xD2Aghttps://www.googleapis.com/auth/cloud-platform,https://www.googleapis.com/auth/cloud-platform.read-onlyB\xD4\x01\x0A\x1Ecom.google.cloud.aiplatform.v1B\x16PredictionServiceProtoP\x01Z>cloud.google.com/go/aiplatform/apiv1/aiplatformpb;aiplatformpb\xAA\x02\x1AGoogle.Cloud.AIPlatform.V1\xCA\x02\x1AGoogle\\Cloud\\AIPlatform\\V1\xEA\x02\x1DGoogle::Cloud::AIPlatform::V1b\x06proto3" + , true); + + static::$is_initialized = true; + } +} + diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/PublisherModel.php b/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/PublisherModel.php new file mode 100644 index 000000000000..daad6fc7324d --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/PublisherModel.php @@ -0,0 +1,28 @@ +internalAddGeneratedFile( + "\x0A\x8F'\x0A0google/cloud/aiplatform/v1/publisher_model.proto\x12\x1Agoogle.cloud.aiplatform.v1\x1A\x19google/api/resource.proto\x1A2google/cloud/aiplatform/v1/machine_resources.proto\x1A&google/cloud/aiplatform/v1/model.proto\"\xEB#\x0A\x0EPublisherModel\x12\x11\x0A\x04name\x18\x01 \x01(\x09B\x03\xE0A\x03\x12\x1A\x0A\x0Aversion_id\x18\x02 \x01(\x09B\x06\xE0A\x05\xE0A\x03\x12`\x0A\x14open_source_category\x18\x07 \x01(\x0E2=.google.cloud.aiplatform.v1.PublisherModel.OpenSourceCategoryB\x03\xE0A\x02\x12W\x0A\x11supported_actions\x18\x13 \x01(\x0B27.google.cloud.aiplatform.v1.PublisherModel.CallToActionB\x03\xE0A\x01\x12\x17\x0A\x0Aframeworks\x18\x17 \x03(\x09B\x03\xE0A\x01\x12Q\x0A\x0Claunch_stage\x18\x1D \x01(\x0E26.google.cloud.aiplatform.v1.PublisherModel.LaunchStageB\x03\xE0A\x01\x12S\x0A\x0Dversion_state\x18% \x01(\x0E27.google.cloud.aiplatform.v1.PublisherModel.VersionStateB\x03\xE0A\x01\x12(\x0A\x18publisher_model_template\x18\x1E \x01(\x09B\x06\xE0A\x05\xE0A\x03\x12J\x0A\x10predict_schemata\x18\x1F \x01(\x0B2+.google.cloud.aiplatform.v1.PredictSchemataB\x03\xE0A\x01\x1A{\x0A\x11ResourceReference\x12\x0D\x0A\x03uri\x18\x01 \x01(\x09H\x00\x12\x17\x0A\x0Dresource_name\x18\x02 \x01(\x09H\x00\x12\x16\x0A\x08use_case\x18\x03 \x01(\x09B\x02\x18\x01H\x00\x12\x19\x0A\x0Bdescription\x18\x04 \x01(\x09B\x02\x18\x01H\x00B\x0B\x0A\x09reference\x1A9\x0A\x0DDocumentation\x12\x12\x0A\x05title\x18\x01 \x01(\x09B\x03\xE0A\x02\x12\x14\x0A\x07content\x18\x02 \x01(\x09B\x03\xE0A\x02\x1A\xF6\x19\x0A\x0CCallToAction\x12_\x0A\x0Dview_rest_api\x18\x01 \x01(\x0B2C.google.cloud.aiplatform.v1.PublisherModel.CallToAction.ViewRestApiB\x03\xE0A\x01\x12n\x0A\x0Dopen_notebook\x18\x02 \x01(\x0B2R.google.cloud.aiplatform.v1.PublisherModel.CallToAction.RegionalResourceReferencesB\x03\xE0A\x01\x12g\x0A\x0Eopen_notebooks\x18\x0C \x01(\x0B2E.google.cloud.aiplatform.v1.PublisherModel.CallToAction.OpenNotebooksB\x03\xE0A\x01H\x00\x88\x01\x01\x12s\x0A\x12create_application\x18\x03 \x01(\x0B2R.google.cloud.aiplatform.v1.PublisherModel.CallToAction.RegionalResourceReferencesB\x03\xE0A\x01\x12z\x0A\x19open_fine_tuning_pipeline\x18\x04 \x01(\x0B2R.google.cloud.aiplatform.v1.PublisherModel.CallToAction.RegionalResourceReferencesB\x03\xE0A\x01\x12}\x0A\x1Aopen_fine_tuning_pipelines\x18\x0D \x01(\x0B2O.google.cloud.aiplatform.v1.PublisherModel.CallToAction.OpenFineTuningPipelinesB\x03\xE0A\x01H\x01\x88\x01\x01\x12|\x0A\x1Bopen_prompt_tuning_pipeline\x18\x05 \x01(\x0B2R.google.cloud.aiplatform.v1.PublisherModel.CallToAction.RegionalResourceReferencesB\x03\xE0A\x01\x12k\x0A\x0Aopen_genie\x18\x06 \x01(\x0B2R.google.cloud.aiplatform.v1.PublisherModel.CallToAction.RegionalResourceReferencesB\x03\xE0A\x01\x12S\x0A\x06deploy\x18\x07 \x01(\x0B2>.google.cloud.aiplatform.v1.PublisherModel.CallToAction.DeployB\x03\xE0A\x01\x12Z\x0A\x0Adeploy_gke\x18\x0E \x01(\x0B2A.google.cloud.aiplatform.v1.PublisherModel.CallToAction.DeployGkeB\x03\xE0A\x01\x12z\x0A\x19open_generation_ai_studio\x18\x08 \x01(\x0B2R.google.cloud.aiplatform.v1.PublisherModel.CallToAction.RegionalResourceReferencesB\x03\xE0A\x01\x12o\x0A\x0Erequest_access\x18\x09 \x01(\x0B2R.google.cloud.aiplatform.v1.PublisherModel.CallToAction.RegionalResourceReferencesB\x03\xE0A\x01\x12y\x0A\x18open_evaluation_pipeline\x18\x0B \x01(\x0B2R.google.cloud.aiplatform.v1.PublisherModel.CallToAction.RegionalResourceReferencesB\x03\xE0A\x01\x1A\xCF\x03\x0A\x1ARegionalResourceReferences\x12{\x0A\x0Areferences\x18\x01 \x03(\x0B2b.google.cloud.aiplatform.v1.PublisherModel.CallToAction.RegionalResourceReferences.ReferencesEntryB\x03\xE0A\x02\x12\x12\x0A\x05title\x18\x02 \x01(\x09B\x03\xE0A\x02\x12 \x0A\x0Eresource_title\x18\x03 \x01(\x09B\x03\xE0A\x01H\x00\x88\x01\x01\x12#\x0A\x11resource_use_case\x18\x04 \x01(\x09B\x03\xE0A\x01H\x01\x88\x01\x01\x12&\x0A\x14resource_description\x18\x05 \x01(\x09B\x03\xE0A\x01H\x02\x88\x01\x01\x1Ao\x0A\x0FReferencesEntry\x12\x0B\x0A\x03key\x18\x01 \x01(\x09\x12K\x0A\x05value\x18\x02 \x01(\x0B2<.google.cloud.aiplatform.v1.PublisherModel.ResourceReference:\x028\x01B\x11\x0A\x0F_resource_titleB\x14\x0A\x12_resource_use_caseB\x17\x0A\x15_resource_description\x1Ax\x0A\x0BViewRestApi\x12U\x0A\x0Edocumentations\x18\x01 \x03(\x0B28.google.cloud.aiplatform.v1.PublisherModel.DocumentationB\x03\xE0A\x02\x12\x12\x0A\x05title\x18\x02 \x01(\x09B\x03\xE0A\x02\x1A{\x0A\x0DOpenNotebooks\x12j\x0A\x09notebooks\x18\x01 \x03(\x0B2R.google.cloud.aiplatform.v1.PublisherModel.CallToAction.RegionalResourceReferencesB\x03\xE0A\x02\x1A\x91\x01\x0A\x17OpenFineTuningPipelines\x12v\x0A\x15fine_tuning_pipelines\x18\x01 \x03(\x0B2R.google.cloud.aiplatform.v1.PublisherModel.CallToAction.RegionalResourceReferencesB\x03\xE0A\x02\x1A\xFC\x06\x0A\x06Deploy\x12M\x0A\x13dedicated_resources\x18\x05 \x01(\x0B2..google.cloud.aiplatform.v1.DedicatedResourcesH\x00\x12M\x0A\x13automatic_resources\x18\x06 \x01(\x0B2..google.cloud.aiplatform.v1.AutomaticResourcesH\x00\x12\x1A\x0A\x10shared_resources\x18\x07 \x01(\x09H\x00\x12\x1F\x0A\x12model_display_name\x18\x01 \x01(\x09B\x03\xE0A\x01\x12S\x0A\x15large_model_reference\x18\x02 \x01(\x0B2/.google.cloud.aiplatform.v1.LargeModelReferenceB\x03\xE0A\x01\x12K\x0A\x0Econtainer_spec\x18\x03 \x01(\x0B2..google.cloud.aiplatform.v1.ModelContainerSpecB\x03\xE0A\x01\x12\x19\x0A\x0Cartifact_uri\x18\x04 \x01(\x09B\x03\xE0A\x01\x12\"\x0A\x10deploy_task_name\x18\x0A \x01(\x09B\x03\xE0A\x01H\x01\x88\x01\x01\x12p\x0A\x0Fdeploy_metadata\x18\x0B \x01(\x0B2M.google.cloud.aiplatform.v1.PublisherModel.CallToAction.Deploy.DeployMetadataB\x03\xE0A\x01H\x02\x88\x01\x01\x12\x12\x0A\x05title\x18\x08 \x01(\x09B\x03\xE0A\x02\x12 \x0A\x13public_artifact_uri\x18\x09 \x01(\x09B\x03\xE0A\x01\x1A\xCC\x01\x0A\x0EDeployMetadata\x12n\x0A\x06labels\x18\x01 \x03(\x0B2Y.google.cloud.aiplatform.v1.PublisherModel.CallToAction.Deploy.DeployMetadata.LabelsEntryB\x03\xE0A\x01\x12\x1B\x0A\x0Esample_request\x18\x02 \x01(\x09B\x03\xE0A\x01\x1A-\x0A\x0BLabelsEntry\x12\x0B\x0A\x03key\x18\x01 \x01(\x09\x12\x0D\x0A\x05value\x18\x02 \x01(\x09:\x028\x01B\x16\x0A\x14prediction_resourcesB\x13\x0A\x11_deploy_task_nameB\x12\x0A\x10_deploy_metadata\x1A*\x0A\x09DeployGke\x12\x1D\x0A\x10gke_yaml_configs\x18\x01 \x03(\x09B\x03\xE0A\x01B\x11\x0A\x0F_open_notebooksB\x1D\x0A\x1B_open_fine_tuning_pipelines\"\xDB\x01\x0A\x12OpenSourceCategory\x12\$\x0A OPEN_SOURCE_CATEGORY_UNSPECIFIED\x10\x00\x12\x0F\x0A\x0BPROPRIETARY\x10\x01\x12+\x0A'GOOGLE_OWNED_OSS_WITH_GOOGLE_CHECKPOINT\x10\x02\x120\x0A,THIRD_PARTY_OWNED_OSS_WITH_GOOGLE_CHECKPOINT\x10\x03\x12\x14\x0A\x10GOOGLE_OWNED_OSS\x10\x04\x12\x19\x0A\x15THIRD_PARTY_OWNED_OSS\x10\x05\"n\x0A\x0BLaunchStage\x12\x1C\x0A\x18LAUNCH_STAGE_UNSPECIFIED\x10\x00\x12\x10\x0A\x0CEXPERIMENTAL\x10\x01\x12\x13\x0A\x0FPRIVATE_PREVIEW\x10\x02\x12\x12\x0A\x0EPUBLIC_PREVIEW\x10\x03\x12\x06\x0A\x02GA\x10\x04\"c\x0A\x0CVersionState\x12\x1D\x0A\x19VERSION_STATE_UNSPECIFIED\x10\x00\x12\x18\x0A\x14VERSION_STATE_STABLE\x10\x01\x12\x1A\x0A\x16VERSION_STATE_UNSTABLE\x10\x02:T\xEAAQ\x0A(aiplatform.googleapis.com/PublisherModel\x12%publishers/{publisher}/models/{model}B\xD1\x01\x0A\x1Ecom.google.cloud.aiplatform.v1B\x13PublisherModelProtoP\x01Z>cloud.google.com/go/aiplatform/apiv1/aiplatformpb;aiplatformpb\xAA\x02\x1AGoogle.Cloud.AIPlatform.V1\xCA\x02\x1AGoogle\\Cloud\\AIPlatform\\V1\xEA\x02\x1DGoogle::Cloud::AIPlatform::V1b\x06proto3" + , true); + + static::$is_initialized = true; + } +} + diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/ReasoningEngine.php b/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/ReasoningEngine.php new file mode 100644 index 000000000000..57cf5e424576 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/ReasoningEngine.php @@ -0,0 +1,31 @@ +internalAddGeneratedFile( + "\x0A\xAC\x1C\x0A1google/cloud/aiplatform/v1/reasoning_engine.proto\x12\x1Agoogle.cloud.aiplatform.v1\x1A\x19google/api/resource.proto\x1A0google/cloud/aiplatform/v1/encryption_spec.proto\x1A(google/cloud/aiplatform/v1/env_var.proto\x1A3google/cloud/aiplatform/v1/service_networking.proto\x1A\x1Cgoogle/protobuf/struct.proto\x1A\x1Fgoogle/protobuf/timestamp.proto\"\xF2\x11\x0A\x13ReasoningEngineSpec\x12Z\x0A\x10source_code_spec\x18\x0B \x01(\x0B2>.google.cloud.aiplatform.v1.ReasoningEngineSpec.SourceCodeSpecH\x00\x12!\x0A\x0Fservice_account\x18\x01 \x01(\x09B\x03\xE0A\x01H\x01\x88\x01\x01\x12V\x0A\x0Cpackage_spec\x18\x02 \x01(\x0B2;.google.cloud.aiplatform.v1.ReasoningEngineSpec.PackageSpecB\x03\xE0A\x01\x12\\\x0A\x0Fdeployment_spec\x18\x04 \x01(\x0B2>.google.cloud.aiplatform.v1.ReasoningEngineSpec.DeploymentSpecB\x03\xE0A\x01\x123\x0A\x0Dclass_methods\x18\x03 \x03(\x0B2\x17.google.protobuf.StructB\x03\xE0A\x01\x12\x1C\x0A\x0Fagent_framework\x18\x05 \x01(\x09B\x03\xE0A\x01\x1A\x98\x01\x0A\x0BPackageSpec\x12\"\x0A\x15pickle_object_gcs_uri\x18\x01 \x01(\x09B\x03\xE0A\x01\x12%\x0A\x18dependency_files_gcs_uri\x18\x02 \x01(\x09B\x03\xE0A\x01\x12!\x0A\x14requirements_gcs_uri\x18\x03 \x01(\x09B\x03\xE0A\x01\x12\x1B\x0A\x0Epython_version\x18\x04 \x01(\x09B\x03\xE0A\x01\x1A\xAE\x04\x0A\x0EDeploymentSpec\x124\x0A\x03env\x18\x01 \x03(\x0B2\".google.cloud.aiplatform.v1.EnvVarB\x03\xE0A\x01\x12A\x0A\x0Asecret_env\x18\x02 \x03(\x0B2(.google.cloud.aiplatform.v1.SecretEnvVarB\x03\xE0A\x01\x12Q\x0A\x14psc_interface_config\x18\x04 \x01(\x0B2..google.cloud.aiplatform.v1.PscInterfaceConfigB\x03\xE0A\x01\x12\x1F\x0A\x0Dmin_instances\x18\x05 \x01(\x05B\x03\xE0A\x01H\x00\x88\x01\x01\x12\x1F\x0A\x0Dmax_instances\x18\x06 \x01(\x05B\x03\xE0A\x01H\x01\x88\x01\x01\x12p\x0A\x0Fresource_limits\x18\x07 \x03(\x0B2R.google.cloud.aiplatform.v1.ReasoningEngineSpec.DeploymentSpec.ResourceLimitsEntryB\x03\xE0A\x01\x12'\x0A\x15container_concurrency\x18\x08 \x01(\x05B\x03\xE0A\x01H\x02\x88\x01\x01\x1A5\x0A\x13ResourceLimitsEntry\x12\x0B\x0A\x03key\x18\x01 \x01(\x09\x12\x0D\x0A\x05value\x18\x02 \x01(\x09:\x028\x01B\x10\x0A\x0E_min_instancesB\x10\x0A\x0E_max_instancesB\x18\x0A\x16_container_concurrency\x1A\xDD\x08\x0A\x0ESourceCodeSpec\x12d\x0A\x0Dinline_source\x18\x01 \x01(\x0B2K.google.cloud.aiplatform.v1.ReasoningEngineSpec.SourceCodeSpec.InlineSourceH\x00\x12y\x0A\x18developer_connect_source\x18\x03 \x01(\x0B2U.google.cloud.aiplatform.v1.ReasoningEngineSpec.SourceCodeSpec.DeveloperConnectSourceH\x00\x12`\x0A\x0Bpython_spec\x18\x02 \x01(\x0B2I.google.cloud.aiplatform.v1.ReasoningEngineSpec.SourceCodeSpec.PythonSpecH\x01\x12c\x0A\x0Aimage_spec\x18\x05 \x01(\x0B2H.google.cloud.aiplatform.v1.ReasoningEngineSpec.SourceCodeSpec.ImageSpecB\x03\xE0A\x01H\x01\x1A.\x0A\x0CInlineSource\x12\x1E\x0A\x0Esource_archive\x18\x01 \x01(\x0CB\x06\xE0A\x02\xE0A\x04\x1A\xAF\x01\x0A\x09ImageSpec\x12p\x0A\x0Abuild_args\x18\x01 \x03(\x0B2W.google.cloud.aiplatform.v1.ReasoningEngineSpec.SourceCodeSpec.ImageSpec.BuildArgsEntryB\x03\xE0A\x01\x1A0\x0A\x0EBuildArgsEntry\x12\x0B\x0A\x03key\x18\x01 \x01(\x09\x12\x0D\x0A\x05value\x18\x02 \x01(\x09:\x028\x01\x1A\x99\x01\x0A\x16DeveloperConnectConfig\x12V\x0A\x13git_repository_link\x18\x01 \x01(\x09B9\xE0A\x02\xFAA3\x0A1developerconnect.googleapis.com/GitRepositoryLink\x12\x10\x0A\x03dir\x18\x02 \x01(\x09B\x03\xE0A\x02\x12\x15\x0A\x08revision\x18\x03 \x01(\x09B\x03\xE0A\x02\x1A\x84\x01\x0A\x16DeveloperConnectSource\x12j\x0A\x06config\x18\x01 \x01(\x0B2U.google.cloud.aiplatform.v1.ReasoningEngineSpec.SourceCodeSpec.DeveloperConnectConfigB\x03\xE0A\x02\x1A\x82\x01\x0A\x0APythonSpec\x12\x14\x0A\x07version\x18\x01 \x01(\x09B\x03\xE0A\x01\x12\x1E\x0A\x11entrypoint_module\x18\x02 \x01(\x09B\x03\xE0A\x01\x12\x1E\x0A\x11entrypoint_object\x18\x03 \x01(\x09B\x03\xE0A\x01\x12\x1E\x0A\x11requirements_file\x18\x04 \x01(\x09B\x03\xE0A\x01B\x08\x0A\x06sourceB\x0F\x0A\x0Dlanguage_specB\x13\x0A\x11deployment_sourceB\x12\x0A\x10_service_account\"\xFB\x04\x0A\x0FReasoningEngine\x12\x11\x0A\x04name\x18\x01 \x01(\x09B\x03\xE0A\x08\x12\x19\x0A\x0Cdisplay_name\x18\x02 \x01(\x09B\x03\xE0A\x02\x12\x18\x0A\x0Bdescription\x18\x07 \x01(\x09B\x03\xE0A\x01\x12B\x0A\x04spec\x18\x03 \x01(\x0B2/.google.cloud.aiplatform.v1.ReasoningEngineSpecB\x03\xE0A\x01\x124\x0A\x0Bcreate_time\x18\x04 \x01(\x0B2\x1A.google.protobuf.TimestampB\x03\xE0A\x03\x124\x0A\x0Bupdate_time\x18\x05 \x01(\x0B2\x1A.google.protobuf.TimestampB\x03\xE0A\x03\x12\x11\x0A\x04etag\x18\x06 \x01(\x09B\x03\xE0A\x01\x12C\x0A\x0Fencryption_spec\x18\x0B \x01(\x0B2*.google.cloud.aiplatform.v1.EncryptionSpec\x12G\x0A\x06labels\x18\x11 \x03(\x0B27.google.cloud.aiplatform.v1.ReasoningEngine.LabelsEntry\x1A-\x0A\x0BLabelsEntry\x12\x0B\x0A\x03key\x18\x01 \x01(\x09\x12\x0D\x0A\x05value\x18\x02 \x01(\x09:\x028\x01:\x9F\x01\xEAA\x9B\x01\x0A)aiplatform.googleapis.com/ReasoningEngine\x12Kprojects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}*\x10reasoningEngines2\x0FreasoningEngineB\xF4\x02\x0A\x1Ecom.google.cloud.aiplatform.v1B\x14ReasoningEngineProtoP\x01Z>cloud.google.com/go/aiplatform/apiv1/aiplatformpb;aiplatformpb\xAA\x02\x1AGoogle.Cloud.AIPlatform.V1\xCA\x02\x1AGoogle\\Cloud\\AIPlatform\\V1\xEA\x02\x1DGoogle::Cloud::AIPlatform::V1\xEAA\x9E\x01\x0A1developerconnect.googleapis.com/GitRepositoryLink\x12iprojects/{project}/locations/{location}/connections/{connection}/gitRepositoryLinks/{git_repository_link}b\x06proto3" + , true); + + static::$is_initialized = true; + } +} + diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/ReasoningEngineExecutionService.php b/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/ReasoningEngineExecutionService.php new file mode 100644 index 000000000000..784a4dbc4765 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/ReasoningEngineExecutionService.php @@ -0,0 +1,30 @@ +internalAddGeneratedFile( + "\x0A\x85\x0B\x0ACgoogle/cloud/aiplatform/v1/reasoning_engine_execution_service.proto\x12\x1Agoogle.cloud.aiplatform.v1\x1A\x17google/api/client.proto\x1A\x1Fgoogle/api/field_behavior.proto\x1A\x19google/api/httpbody.proto\x1A\x19google/api/resource.proto\x1A\x1Cgoogle/protobuf/struct.proto\"\xA6\x01\x0A\x1BQueryReasoningEngineRequest\x12?\x0A\x04name\x18\x01 \x01(\x09B1\xE0A\x02\xFAA+\x0A)aiplatform.googleapis.com/ReasoningEngine\x12+\x0A\x05input\x18\x02 \x01(\x0B2\x17.google.protobuf.StructB\x03\xE0A\x01\x12\x19\x0A\x0Cclass_method\x18\x03 \x01(\x09B\x03\xE0A\x01\"F\x0A\x1CQueryReasoningEngineResponse\x12&\x0A\x06output\x18\x01 \x01(\x0B2\x16.google.protobuf.Value\"\xAC\x01\x0A!StreamQueryReasoningEngineRequest\x12?\x0A\x04name\x18\x01 \x01(\x09B1\xE0A\x02\xFAA+\x0A)aiplatform.googleapis.com/ReasoningEngine\x12+\x0A\x05input\x18\x02 \x01(\x0B2\x17.google.protobuf.StructB\x03\xE0A\x01\x12\x19\x0A\x0Cclass_method\x18\x03 \x01(\x09B\x03\xE0A\x012\x86\x04\x0A\x1FReasoningEngineExecutionService\x12\xD0\x01\x0A\x14QueryReasoningEngine\x127.google.cloud.aiplatform.v1.QueryReasoningEngineRequest\x1A8.google.cloud.aiplatform.v1.QueryReasoningEngineResponse\"E\x82\xD3\xE4\x93\x02?\":/v1/{name=projects/*/locations/*/reasoningEngines/*}:query:\x01*\x12\xC0\x01\x0A\x1AStreamQueryReasoningEngine\x12=.google.cloud.aiplatform.v1.StreamQueryReasoningEngineRequest\x1A\x14.google.api.HttpBody\"K\x82\xD3\xE4\x93\x02E\"@/v1/{name=projects/*/locations/*/reasoningEngines/*}:streamQuery:\x01*0\x01\x1AM\xCAA\x19aiplatform.googleapis.com\xD2A.https://www.googleapis.com/auth/cloud-platformB\xE2\x01\x0A\x1Ecom.google.cloud.aiplatform.v1B\$ReasoningEngineExecutionServiceProtoP\x01Z>cloud.google.com/go/aiplatform/apiv1/aiplatformpb;aiplatformpb\xAA\x02\x1AGoogle.Cloud.AIPlatform.V1\xCA\x02\x1AGoogle\\Cloud\\AIPlatform\\V1\xEA\x02\x1DGoogle::Cloud::AIPlatform::V1b\x06proto3" + , true); + + static::$is_initialized = true; + } +} + diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/ReasoningEngineService.php b/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/ReasoningEngineService.php new file mode 100644 index 000000000000..03cc378bd8a1 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/ReasoningEngineService.php @@ -0,0 +1,33 @@ +internalAddGeneratedFile( + "\x0A\xB9\x17\x0A9google/cloud/aiplatform/v1/reasoning_engine_service.proto\x12\x1Agoogle.cloud.aiplatform.v1\x1A\x17google/api/client.proto\x1A\x1Fgoogle/api/field_behavior.proto\x1A\x19google/api/resource.proto\x1A*google/cloud/aiplatform/v1/operation.proto\x1A1google/cloud/aiplatform/v1/reasoning_engine.proto\x1A#google/longrunning/operations.proto\x1A\x1Bgoogle/protobuf/empty.proto\x1A google/protobuf/field_mask.proto\"\xA5\x01\x0A\x1CCreateReasoningEngineRequest\x129\x0A\x06parent\x18\x01 \x01(\x09B)\xE0A\x02\xFAA#\x0A!locations.googleapis.com/Location\x12J\x0A\x10reasoning_engine\x18\x02 \x01(\x0B2+.google.cloud.aiplatform.v1.ReasoningEngineB\x03\xE0A\x02\"x\x0A&CreateReasoningEngineOperationMetadata\x12N\x0A\x10generic_metadata\x18\x01 \x01(\x0B24.google.cloud.aiplatform.v1.GenericOperationMetadata\"\\\x0A\x19GetReasoningEngineRequest\x12?\x0A\x04name\x18\x01 \x01(\x09B1\xE0A\x02\xFAA+\x0A)aiplatform.googleapis.com/ReasoningEngine\"\xA0\x01\x0A\x1CUpdateReasoningEngineRequest\x12J\x0A\x10reasoning_engine\x18\x01 \x01(\x0B2+.google.cloud.aiplatform.v1.ReasoningEngineB\x03\xE0A\x02\x124\x0A\x0Bupdate_mask\x18\x02 \x01(\x0B2\x1A.google.protobuf.FieldMaskB\x03\xE0A\x01\"x\x0A&UpdateReasoningEngineOperationMetadata\x12N\x0A\x10generic_metadata\x18\x01 \x01(\x0B24.google.cloud.aiplatform.v1.GenericOperationMetadata\"\x9E\x01\x0A\x1BListReasoningEnginesRequest\x129\x0A\x06parent\x18\x01 \x01(\x09B)\xE0A\x02\xFAA#\x0A!locations.googleapis.com/Location\x12\x13\x0A\x06filter\x18\x02 \x01(\x09B\x03\xE0A\x01\x12\x16\x0A\x09page_size\x18\x03 \x01(\x05B\x03\xE0A\x01\x12\x17\x0A\x0Apage_token\x18\x04 \x01(\x09B\x03\xE0A\x01\"\x7F\x0A\x1CListReasoningEnginesResponse\x12F\x0A\x11reasoning_engines\x18\x01 \x03(\x0B2+.google.cloud.aiplatform.v1.ReasoningEngine\x12\x17\x0A\x0Fnext_page_token\x18\x02 \x01(\x09\"s\x0A\x1CDeleteReasoningEngineRequest\x12?\x0A\x04name\x18\x01 \x01(\x09B1\xE0A\x02\xFAA+\x0A)aiplatform.googleapis.com/ReasoningEngine\x12\x12\x0A\x05force\x18\x02 \x01(\x08B\x03\xE0A\x012\xAF\x0A\x0A\x16ReasoningEngineService\x12\x97\x02\x0A\x15CreateReasoningEngine\x128.google.cloud.aiplatform.v1.CreateReasoningEngineRequest\x1A\x1D.google.longrunning.Operation\"\xA4\x01\xCAA9\x0A\x0FReasoningEngine\x12&CreateReasoningEngineOperationMetadata\xDAA\x17parent,reasoning_engine\x82\xD3\xE4\x93\x02H\"4/v1/{parent=projects/*/locations/*}/reasoningEngines:\x10reasoning_engine\x12\xBD\x01\x0A\x12GetReasoningEngine\x125.google.cloud.aiplatform.v1.GetReasoningEngineRequest\x1A+.google.cloud.aiplatform.v1.ReasoningEngine\"C\xDAA\x04name\x82\xD3\xE4\x93\x026\x124/v1/{name=projects/*/locations/*/reasoningEngines/*}\x12\xD0\x01\x0A\x14ListReasoningEngines\x127.google.cloud.aiplatform.v1.ListReasoningEnginesRequest\x1A8.google.cloud.aiplatform.v1.ListReasoningEnginesResponse\"E\xDAA\x06parent\x82\xD3\xE4\x93\x026\x124/v1/{parent=projects/*/locations/*}/reasoningEngines\x12\xAD\x02\x0A\x15UpdateReasoningEngine\x128.google.cloud.aiplatform.v1.UpdateReasoningEngineRequest\x1A\x1D.google.longrunning.Operation\"\xBA\x01\xCAA9\x0A\x0FReasoningEngine\x12&UpdateReasoningEngineOperationMetadata\xDAA\x1Creasoning_engine,update_mask\x82\xD3\xE4\x93\x02Y2E/v1/{reasoning_engine.name=projects/*/locations/*/reasoningEngines/*}:\x10reasoning_engine\x12\xE8\x01\x0A\x15DeleteReasoningEngine\x128.google.cloud.aiplatform.v1.DeleteReasoningEngineRequest\x1A\x1D.google.longrunning.Operation\"v\xCAA0\x0A\x15google.protobuf.Empty\x12\x17DeleteOperationMetadata\xDAA\x04name\x82\xD3\xE4\x93\x026*4/v1/{name=projects/*/locations/*/reasoningEngines/*}\x1AM\xCAA\x19aiplatform.googleapis.com\xD2A.https://www.googleapis.com/auth/cloud-platformB\xD9\x01\x0A\x1Ecom.google.cloud.aiplatform.v1B\x1BReasoningEngineServiceProtoP\x01Z>cloud.google.com/go/aiplatform/apiv1/aiplatformpb;aiplatformpb\xAA\x02\x1AGoogle.Cloud.AIPlatform.V1\xCA\x02\x1AGoogle\\Cloud\\AIPlatform\\V1\xEA\x02\x1DGoogle::Cloud::AIPlatform::V1b\x06proto3" + , true); + + static::$is_initialized = true; + } +} + diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/ReservationAffinity.php b/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/ReservationAffinity.php new file mode 100644 index 000000000000..fd230d0fba34 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/ReservationAffinity.php @@ -0,0 +1,26 @@ +internalAddGeneratedFile( + "\x0A\xE9\x05\x0A5google/cloud/aiplatform/v1/reservation_affinity.proto\x12\x1Agoogle.cloud.aiplatform.v1\x1A\x19google/api/resource.proto\"\xA2\x02\x0A\x13ReservationAffinity\x12\\\x0A\x19reservation_affinity_type\x18\x01 \x01(\x0E24.google.cloud.aiplatform.v1.ReservationAffinity.TypeB\x03\xE0A\x02\x12\x10\x0A\x03key\x18\x02 \x01(\x09B\x03\xE0A\x01\x12:\x0A\x06values\x18\x03 \x03(\x09B*\xE0A\x01\xFAA\$\x0A\"compute.googleapis.com/Reservation\"_\x0A\x04Type\x12\x14\x0A\x10TYPE_UNSPECIFIED\x10\x00\x12\x12\x0A\x0ENO_RESERVATION\x10\x01\x12\x13\x0A\x0FANY_RESERVATION\x10\x02\x12\x18\x0A\x14SPECIFIC_RESERVATION\x10\x03B\xCB\x02\x0A\x1Ecom.google.cloud.aiplatform.v1B\x18ReservationAffinityProtoP\x01Z>cloud.google.com/go/aiplatform/apiv1/aiplatformpb;aiplatformpb\xAA\x02\x1AGoogle.Cloud.AIPlatform.V1\xCA\x02\x1AGoogle\\Cloud\\AIPlatform\\V1\xEA\x02\x1DGoogle::Cloud::AIPlatform::V1\xEAAr\x0A\"compute.googleapis.com/Reservation\x12Lprojects/{project_id_or_number}/zones/{zone}/reservations/{reservation_name}b\x06proto3" + , true); + + static::$is_initialized = true; + } +} + 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..de7ffe9c00a1 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/SavedQuery.php @@ -0,0 +1,28 @@ +internalAddGeneratedFile( + "\x0A\xE5\x06\x0A,google/cloud/aiplatform/v1/saved_query.proto\x12\x1Agoogle.cloud.aiplatform.v1\x1A\x19google/api/resource.proto\x1A\x1Cgoogle/protobuf/struct.proto\x1A\x1Fgoogle/protobuf/timestamp.proto\"\xE6\x03\x0A\x0ASavedQuery\x12\x11\x0A\x04name\x18\x01 \x01(\x09B\x03\xE0A\x03\x12\x19\x0A\x0Cdisplay_name\x18\x02 \x01(\x09B\x03\xE0A\x02\x12(\x0A\x08metadata\x18\x0C \x01(\x0B2\x16.google.protobuf.Value\x124\x0A\x0Bcreate_time\x18\x03 \x01(\x0B2\x1A.google.protobuf.TimestampB\x03\xE0A\x03\x124\x0A\x0Bupdate_time\x18\x04 \x01(\x0B2\x1A.google.protobuf.TimestampB\x03\xE0A\x03\x12\x1E\x0A\x11annotation_filter\x18\x05 \x01(\x09B\x03\xE0A\x03\x12\x19\x0A\x0Cproblem_type\x18\x06 \x01(\x09B\x03\xE0A\x02\x12\"\x0A\x15annotation_spec_count\x18\x0A \x01(\x05B\x03\xE0A\x03\x12\x0C\x0A\x04etag\x18\x08 \x01(\x09\x12\$\x0A\x17support_automl_training\x18\x09 \x01(\x08B\x03\xE0A\x03:\x80\x01\xEAA}\x0A\$aiplatform.googleapis.com/SavedQuery\x12Uprojects/{project}/locations/{location}/datasets/{dataset}/savedQueries/{saved_query}B\xCD\x01\x0A\x1Ecom.google.cloud.aiplatform.v1B\x0FSavedQueryProtoP\x01Z>cloud.google.com/go/aiplatform/apiv1/aiplatformpb;aiplatformpb\xAA\x02\x1AGoogle.Cloud.AIPlatform.V1\xCA\x02\x1AGoogle\\Cloud\\AIPlatform\\V1\xEA\x02\x1DGoogle::Cloud::AIPlatform::V1b\x06proto3" + , 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 000000000000..12b728bfe60c --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/Schedule.php @@ -0,0 +1,29 @@ +internalAddGeneratedFile( + "\x0A\xE5\x0D\x0A)google/cloud/aiplatform/v1/schedule.proto\x12\x1Agoogle.cloud.aiplatform.v1\x1A\x19google/api/resource.proto\x1A1google/cloud/aiplatform/v1/notebook_service.proto\x1A1google/cloud/aiplatform/v1/pipeline_service.proto\x1A\x1Fgoogle/protobuf/timestamp.proto\"\xA3\x0A\x0A\x08Schedule\x12\x0E\x0A\x04cron\x18\x0A \x01(\x09H\x00\x12[\x0A\x1Bcreate_pipeline_job_request\x18\x0E \x01(\x0B24.google.cloud.aiplatform.v1.CreatePipelineJobRequestH\x01\x12n\x0A%create_notebook_execution_job_request\x18\x14 \x01(\x0B2=.google.cloud.aiplatform.v1.CreateNotebookExecutionJobRequestH\x01\x12\x11\x0A\x04name\x18\x01 \x01(\x09B\x03\xE0A\x05\x12\x19\x0A\x0Cdisplay_name\x18\x02 \x01(\x09B\x03\xE0A\x02\x123\x0A\x0Astart_time\x18\x03 \x01(\x0B2\x1A.google.protobuf.TimestampB\x03\xE0A\x01\x121\x0A\x08end_time\x18\x04 \x01(\x0B2\x1A.google.protobuf.TimestampB\x03\xE0A\x01\x12\x1A\x0A\x0Dmax_run_count\x18\x10 \x01(\x03B\x03\xE0A\x01\x12\x1E\x0A\x11started_run_count\x18\x11 \x01(\x03B\x03\xE0A\x03\x12>\x0A\x05state\x18\x05 \x01(\x0E2*.google.cloud.aiplatform.v1.Schedule.StateB\x03\xE0A\x03\x124\x0A\x0Bcreate_time\x18\x06 \x01(\x0B2\x1A.google.protobuf.TimestampB\x03\xE0A\x03\x124\x0A\x0Bupdate_time\x18\x13 \x01(\x0B2\x1A.google.protobuf.TimestampB\x03\xE0A\x03\x126\x0A\x0Dnext_run_time\x18\x07 \x01(\x0B2\x1A.google.protobuf.TimestampB\x03\xE0A\x03\x128\x0A\x0Flast_pause_time\x18\x08 \x01(\x0B2\x1A.google.protobuf.TimestampB\x03\xE0A\x03\x129\x0A\x10last_resume_time\x18\x09 \x01(\x0B2\x1A.google.protobuf.TimestampB\x03\xE0A\x03\x12%\x0A\x18max_concurrent_run_count\x18\x0B \x01(\x03B\x03\xE0A\x02\x12,\x0A\x1Fmax_concurrent_active_run_count\x18\x15 \x01(\x03B\x03\xE0A\x01\x12\x1B\x0A\x0Eallow_queueing\x18\x0C \x01(\x08B\x03\xE0A\x01\x12\x15\x0A\x08catch_up\x18\x0D \x01(\x08B\x03\xE0A\x03\x12Z\x0A\x1Blast_scheduled_run_response\x18\x12 \x01(\x0B20.google.cloud.aiplatform.v1.Schedule.RunResponseB\x03\xE0A\x03\x1A[\x0A\x0BRunResponse\x126\x0A\x12scheduled_run_time\x18\x01 \x01(\x0B2\x1A.google.protobuf.Timestamp\x12\x14\x0A\x0Crun_response\x18\x02 \x01(\x09\"E\x0A\x05State\x12\x15\x0A\x11STATE_UNSPECIFIED\x10\x00\x12\x0A\x0A\x06ACTIVE\x10\x01\x12\x0A\x0A\x06PAUSED\x10\x02\x12\x0D\x0A\x09COMPLETED\x10\x03:e\xEAAb\x0A\"aiplatform.googleapis.com/Schedule\x12cloud.google.com/go/aiplatform/apiv1/aiplatformpb;aiplatformpb\xAA\x02\x1AGoogle.Cloud.AIPlatform.V1\xCA\x02\x1AGoogle\\Cloud\\AIPlatform\\V1\xEA\x02\x1DGoogle::Cloud::AIPlatform::V1b\x06proto3" + , true); + + static::$is_initialized = true; + } +} + diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/ScheduleService.php b/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/ScheduleService.php new file mode 100644 index 000000000000..5dfd62a8ab9c --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/ScheduleService.php @@ -0,0 +1,33 @@ +internalAddGeneratedFile( + "\x0A\xBB\x16\x0A1google/cloud/aiplatform/v1/schedule_service.proto\x12\x1Agoogle.cloud.aiplatform.v1\x1A\x17google/api/client.proto\x1A\x1Fgoogle/api/field_behavior.proto\x1A\x19google/api/resource.proto\x1A*google/cloud/aiplatform/v1/operation.proto\x1A)google/cloud/aiplatform/v1/schedule.proto\x1A#google/longrunning/operations.proto\x1A\x1Bgoogle/protobuf/empty.proto\x1A google/protobuf/field_mask.proto\"\x8F\x01\x0A\x15CreateScheduleRequest\x129\x0A\x06parent\x18\x01 \x01(\x09B)\xE0A\x02\xFAA#\x0A!locations.googleapis.com/Location\x12;\x0A\x08schedule\x18\x02 \x01(\x0B2\$.google.cloud.aiplatform.v1.ScheduleB\x03\xE0A\x02\"N\x0A\x12GetScheduleRequest\x128\x0A\x04name\x18\x01 \x01(\x09B*\xE0A\x02\xFAA\$\x0A\"aiplatform.googleapis.com/Schedule\"\x9A\x01\x0A\x14ListSchedulesRequest\x129\x0A\x06parent\x18\x01 \x01(\x09B)\xE0A\x02\xFAA#\x0A!locations.googleapis.com/Location\x12\x0E\x0A\x06filter\x18\x02 \x01(\x09\x12\x11\x0A\x09page_size\x18\x03 \x01(\x05\x12\x12\x0A\x0Apage_token\x18\x04 \x01(\x09\x12\x10\x0A\x08order_by\x18\x05 \x01(\x09\"i\x0A\x15ListSchedulesResponse\x127\x0A\x09schedules\x18\x01 \x03(\x0B2\$.google.cloud.aiplatform.v1.Schedule\x12\x17\x0A\x0Fnext_page_token\x18\x02 \x01(\x09\"Q\x0A\x15DeleteScheduleRequest\x128\x0A\x04name\x18\x01 \x01(\x09B*\xE0A\x02\xFAA\$\x0A\"aiplatform.googleapis.com/Schedule\"P\x0A\x14PauseScheduleRequest\x128\x0A\x04name\x18\x01 \x01(\x09B*\xE0A\x02\xFAA\$\x0A\"aiplatform.googleapis.com/Schedule\"h\x0A\x15ResumeScheduleRequest\x128\x0A\x04name\x18\x01 \x01(\x09B*\xE0A\x02\xFAA\$\x0A\"aiplatform.googleapis.com/Schedule\x12\x15\x0A\x08catch_up\x18\x02 \x01(\x08B\x03\xE0A\x01\"\x8A\x01\x0A\x15UpdateScheduleRequest\x12;\x0A\x08schedule\x18\x01 \x01(\x0B2\$.google.cloud.aiplatform.v1.ScheduleB\x03\xE0A\x02\x124\x0A\x0Bupdate_mask\x18\x02 \x01(\x0B2\x1A.google.protobuf.FieldMaskB\x03\xE0A\x022\xF6\x0A\x0A\x0FScheduleService\x12\xBC\x01\x0A\x0ECreateSchedule\x121.google.cloud.aiplatform.v1.CreateScheduleRequest\x1A\$.google.cloud.aiplatform.v1.Schedule\"Q\xDAA\x0Fparent,schedule\x82\xD3\xE4\x93\x029\"-/v1/{parent=projects/*/locations/*}/schedules:\x08schedule\x12\xD3\x01\x0A\x0EDeleteSchedule\x121.google.cloud.aiplatform.v1.DeleteScheduleRequest\x1A\x1D.google.longrunning.Operation\"o\xCAA0\x0A\x15google.protobuf.Empty\x12\x17DeleteOperationMetadata\xDAA\x04name\x82\xD3\xE4\x93\x02/*-/v1/{name=projects/*/locations/*/schedules/*}\x12\xA1\x01\x0A\x0BGetSchedule\x12..google.cloud.aiplatform.v1.GetScheduleRequest\x1A\$.google.cloud.aiplatform.v1.Schedule\"<\xDAA\x04name\x82\xD3\xE4\x93\x02/\x12-/v1/{name=projects/*/locations/*/schedules/*}\x12\xB4\x01\x0A\x0DListSchedules\x120.google.cloud.aiplatform.v1.ListSchedulesRequest\x1A1.google.cloud.aiplatform.v1.ListSchedulesResponse\">\xDAA\x06parent\x82\xD3\xE4\x93\x02/\x12-/v1/{parent=projects/*/locations/*}/schedules\x12\xA0\x01\x0A\x0DPauseSchedule\x120.google.cloud.aiplatform.v1.PauseScheduleRequest\x1A\x16.google.protobuf.Empty\"E\xDAA\x04name\x82\xD3\xE4\x93\x028\"3/v1/{name=projects/*/locations/*/schedules/*}:pause:\x01*\x12\xB3\x01\x0A\x0EResumeSchedule\x121.google.cloud.aiplatform.v1.ResumeScheduleRequest\x1A\x16.google.protobuf.Empty\"V\xDAA\x04name\xDAA\x0Dname,catch_up\x82\xD3\xE4\x93\x029\"4/v1/{name=projects/*/locations/*/schedules/*}:resume:\x01*\x12\xCA\x01\x0A\x0EUpdateSchedule\x121.google.cloud.aiplatform.v1.UpdateScheduleRequest\x1A\$.google.cloud.aiplatform.v1.Schedule\"_\xDAA\x14schedule,update_mask\x82\xD3\xE4\x93\x02B26/v1/{schedule.name=projects/*/locations/*/schedules/*}:\x08schedule\x1AM\xCAA\x19aiplatform.googleapis.com\xD2A.https://www.googleapis.com/auth/cloud-platformB\xD2\x01\x0A\x1Ecom.google.cloud.aiplatform.v1B\x14ScheduleServiceProtoP\x01Z>cloud.google.com/go/aiplatform/apiv1/aiplatformpb;aiplatformpb\xAA\x02\x1AGoogle.Cloud.AIPlatform.V1\xCA\x02\x1AGoogle\\Cloud\\AIPlatform\\V1\xEA\x02\x1DGoogle::Cloud::AIPlatform::V1b\x06proto3" + , 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..27f6de854b97 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/ServiceNetworking.php @@ -0,0 +1,26 @@ +internalAddGeneratedFile( + "\x0A\xF1\x0A\x0A3google/cloud/aiplatform/v1/service_networking.proto\x12\x1Agoogle.cloud.aiplatform.v1\x1A\x19google/api/resource.proto\"\xDB\x01\x0A\x13PSCAutomationConfig\x12\x17\x0A\x0Aproject_id\x18\x01 \x01(\x09B\x03\xE0A\x02\x12\x14\x0A\x07network\x18\x02 \x01(\x09B\x03\xE0A\x02\x12\x17\x0A\x0Aip_address\x18\x03 \x01(\x09B\x03\xE0A\x03\x12\x1C\x0A\x0Fforwarding_rule\x18\x04 \x01(\x09B\x03\xE0A\x03\x12B\x0A\x05state\x18\x05 \x01(\x0E2..google.cloud.aiplatform.v1.PSCAutomationStateB\x03\xE0A\x03\x12\x1A\x0A\x0Derror_message\x18\x06 \x01(\x09B\x03\xE0A\x03\"\xDC\x01\x0A\x1BPrivateServiceConnectConfig\x12+\x0A\x1Eenable_private_service_connect\x18\x01 \x01(\x08B\x03\xE0A\x02\x12\x19\x0A\x11project_allowlist\x18\x02 \x03(\x09\x12T\x0A\x16psc_automation_configs\x18\x03 \x03(\x0B2/.google.cloud.aiplatform.v1.PSCAutomationConfigB\x03\xE0A\x01\x12\x1F\x0A\x12service_attachment\x18\x05 \x01(\x09B\x03\xE0A\x03\"S\x0A\x15PscAutomatedEndpoints\x12\x12\x0A\x0Aproject_id\x18\x01 \x01(\x09\x12\x0F\x0A\x07network\x18\x02 \x01(\x09\x12\x15\x0A\x0Dmatch_address\x18\x03 \x01(\x09\"\xB2\x01\x0A\x12PscInterfaceConfig\x12L\x0A\x12network_attachment\x18\x01 \x01(\x09B0\xE0A\x01\xFAA*\x0A(compute.googleapis.com/NetworkAttachment\x12N\x0A\x13dns_peering_configs\x18\x02 \x03(\x0B2,.google.cloud.aiplatform.v1.DnsPeeringConfigB\x03\xE0A\x01\"a\x0A\x10DnsPeeringConfig\x12\x13\x0A\x06domain\x18\x01 \x01(\x09B\x03\xE0A\x02\x12\x1B\x0A\x0Etarget_project\x18\x02 \x01(\x09B\x03\xE0A\x02\x12\x1B\x0A\x0Etarget_network\x18\x03 \x01(\x09B\x03\xE0A\x02*\x80\x01\x0A\x12PSCAutomationState\x12\$\x0A PSC_AUTOMATION_STATE_UNSPECIFIED\x10\x00\x12#\x0A\x1FPSC_AUTOMATION_STATE_SUCCESSFUL\x10\x01\x12\x1F\x0A\x1BPSC_AUTOMATION_STATE_FAILED\x10\x02B\xCD\x02\x0A\x1Ecom.google.cloud.aiplatform.v1B\x16ServiceNetworkingProtoP\x01Z>cloud.google.com/go/aiplatform/apiv1/aiplatformpb;aiplatformpb\xAA\x02\x1AGoogle.Cloud.AIPlatform.V1\xCA\x02\x1AGoogle\\Cloud\\AIPlatform\\V1\xEA\x02\x1DGoogle::Cloud::AIPlatform::V1\xEAAv\x0A(compute.googleapis.com/NetworkAttachment\x12Jprojects/{project}/regions/{region}/networkAttachments/{networkattachment}b\x06proto3" + , true); + + static::$is_initialized = true; + } +} + diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/Session.php b/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/Session.php new file mode 100644 index 000000000000..f92eecbc301d --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/Session.php @@ -0,0 +1,30 @@ +internalAddGeneratedFile( + "\x0A\xFB\x13\x0A(google/cloud/aiplatform/v1/session.proto\x12\x1Agoogle.cloud.aiplatform.v1\x1A\x19google/api/resource.proto\x1A(google/cloud/aiplatform/v1/content.proto\x1A\x1Egoogle/protobuf/duration.proto\x1A\x1Cgoogle/protobuf/struct.proto\x1A\x1Fgoogle/protobuf/timestamp.proto\"\xF6\x04\x0A\x07Session\x126\x0A\x0Bexpire_time\x18\x0D \x01(\x0B2\x1A.google.protobuf.TimestampB\x03\xE0A\x01H\x00\x120\x0A\x03ttl\x18\x0E \x01(\x0B2\x19.google.protobuf.DurationB\x06\xE0A\x01\xE0A\x04H\x00\x12\x11\x0A\x04name\x18\x01 \x01(\x09B\x03\xE0A\x08\x124\x0A\x0Bcreate_time\x18\x03 \x01(\x0B2\x1A.google.protobuf.TimestampB\x03\xE0A\x03\x124\x0A\x0Bupdate_time\x18\x04 \x01(\x0B2\x1A.google.protobuf.TimestampB\x03\xE0A\x03\x12\x19\x0A\x0Cdisplay_name\x18\x05 \x01(\x09B\x03\xE0A\x01\x12?\x0A\x06labels\x18\x08 \x03(\x0B2/.google.cloud.aiplatform.v1.Session.LabelsEntry\x123\x0A\x0Dsession_state\x18\x0A \x01(\x0B2\x17.google.protobuf.StructB\x03\xE0A\x01\x12\x17\x0A\x07user_id\x18\x0C \x01(\x09B\x06\xE0A\x05\xE0A\x02\x1A-\x0A\x0BLabelsEntry\x12\x0B\x0A\x03key\x18\x01 \x01(\x09\x12\x0D\x0A\x05value\x18\x02 \x01(\x09:\x028\x01:\x9A\x01\xEAA\x96\x01\x0A!aiplatform.googleapis.com/Session\x12^projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}/sessions/{session}*\x08sessions2\x07sessionB\x0C\x0A\x0Aexpiration\"\xEA\x04\x0A\x0CSessionEvent\x12\x11\x0A\x04name\x18\x01 \x01(\x09B\x03\xE0A\x08\x12\x13\x0A\x06author\x18\x03 \x01(\x09B\x03\xE0A\x02\x129\x0A\x07content\x18\x04 \x01(\x0B2#.google.cloud.aiplatform.v1.ContentB\x03\xE0A\x01\x12\x1A\x0A\x0Dinvocation_id\x18\x05 \x01(\x09B\x03\xE0A\x02\x12>\x0A\x07actions\x18\x06 \x01(\x0B2(.google.cloud.aiplatform.v1.EventActionsB\x03\xE0A\x01\x122\x0A\x09timestamp\x18\x08 \x01(\x0B2\x1A.google.protobuf.TimestampB\x03\xE0A\x02\x12\x17\x0A\x0Aerror_code\x18\x09 \x01(\x09B\x03\xE0A\x01\x12\x1A\x0A\x0Derror_message\x18\x0A \x01(\x09B\x03\xE0A\x01\x12F\x0A\x0Eevent_metadata\x18\x0B \x01(\x0B2).google.cloud.aiplatform.v1.EventMetadataB\x03\xE0A\x01\x12/\x0A\x09raw_event\x18\x0C \x01(\x0B2\x17.google.protobuf.StructB\x03\xE0A\x01:\xB8\x01\xEAA\xB4\x01\x0A&aiplatform.googleapis.com/SessionEvent\x12mprojects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}/sessions/{session}/events/{event}*\x0DsessionEvents2\x0CsessionEvent\"\xB1\x03\x0A\x0DEventMetadata\x12N\x0A\x12grounding_metadata\x18\x01 \x01(\x0B2-.google.cloud.aiplatform.v1.GroundingMetadataB\x03\xE0A\x01\x12\x14\x0A\x07partial\x18\x02 \x01(\x08B\x03\xE0A\x01\x12\x1A\x0A\x0Dturn_complete\x18\x03 \x01(\x08B\x03\xE0A\x01\x12\x18\x0A\x0Binterrupted\x18\x04 \x01(\x08B\x03\xE0A\x01\x12\"\x0A\x15long_running_tool_ids\x18\x05 \x03(\x09B\x03\xE0A\x01\x12\x13\x0A\x06branch\x18\x06 \x01(\x09B\x03\xE0A\x01\x120\x0A\x0Fcustom_metadata\x18\x07 \x01(\x0B2\x17.google.protobuf.Struct\x12K\x0A\x13input_transcription\x18\x0A \x01(\x0B2).google.cloud.aiplatform.v1.TranscriptionB\x03\xE0A\x01\x12L\x0A\x14output_transcription\x18\x0B \x01(\x0B2).google.cloud.aiplatform.v1.TranscriptionB\x03\xE0A\x01\"\xE4\x02\x0A\x0CEventActions\x12\x1F\x0A\x12skip_summarization\x18\x01 \x01(\x08B\x03\xE0A\x01\x121\x0A\x0Bstate_delta\x18\x02 \x01(\x0B2\x17.google.protobuf.StructB\x03\xE0A\x01\x12X\x0A\x0Eartifact_delta\x18\x03 \x03(\x0B2;.google.cloud.aiplatform.v1.EventActions.ArtifactDeltaEntryB\x03\xE0A\x01\x12\x15\x0A\x08escalate\x18\x06 \x01(\x08B\x03\xE0A\x01\x12<\x0A\x16requested_auth_configs\x18\x07 \x01(\x0B2\x17.google.protobuf.StructB\x03\xE0A\x01\x12\x1B\x0A\x0Etransfer_agent\x18\x08 \x01(\x09B\x03\xE0A\x01\x1A4\x0A\x12ArtifactDeltaEntry\x12\x0B\x0A\x03key\x18\x01 \x01(\x09\x12\x0D\x0A\x05value\x18\x02 \x01(\x05:\x028\x01\"9\x0A\x0DTranscription\x12\x11\x0A\x04text\x18\x01 \x01(\x09B\x03\xE0A\x01\x12\x15\x0A\x08finished\x18\x02 \x01(\x08B\x03\xE0A\x01B\xCA\x01\x0A\x1Ecom.google.cloud.aiplatform.v1B\x0CSessionProtoP\x01Z>cloud.google.com/go/aiplatform/apiv1/aiplatformpb;aiplatformpb\xAA\x02\x1AGoogle.Cloud.AIPlatform.V1\xCA\x02\x1AGoogle\\Cloud\\AIPlatform\\V1\xEA\x02\x1DGoogle::Cloud::AIPlatform::V1b\x06proto3" + , true); + + static::$is_initialized = true; + } +} + diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/SessionService.php b/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/SessionService.php new file mode 100644 index 000000000000..5dd6c3987e12 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/SessionService.php @@ -0,0 +1,33 @@ +internalAddGeneratedFile( + "\x0A\xB5\x1B\x0A0google/cloud/aiplatform/v1/session_service.proto\x12\x1Agoogle.cloud.aiplatform.v1\x1A\x17google/api/client.proto\x1A\x1Fgoogle/api/field_behavior.proto\x1A\x19google/api/resource.proto\x1A*google/cloud/aiplatform/v1/operation.proto\x1A(google/cloud/aiplatform/v1/session.proto\x1A#google/longrunning/operations.proto\x1A\x1Bgoogle/protobuf/empty.proto\x1A google/protobuf/field_mask.proto\"\xAD\x01\x0A\x14CreateSessionRequest\x12A\x0A\x06parent\x18\x01 \x01(\x09B1\xE0A\x02\xFAA+\x0A)aiplatform.googleapis.com/ReasoningEngine\x129\x0A\x07session\x18\x02 \x01(\x0B2#.google.cloud.aiplatform.v1.SessionB\x03\xE0A\x02\x12\x17\x0A\x0Asession_id\x18\x03 \x01(\x09B\x03\xE0A\x01\"p\x0A\x1ECreateSessionOperationMetadata\x12N\x0A\x10generic_metadata\x18\x01 \x01(\x0B24.google.cloud.aiplatform.v1.GenericOperationMetadata\"L\x0A\x11GetSessionRequest\x127\x0A\x04name\x18\x01 \x01(\x09B)\xE0A\x02\xFAA#\x0A!aiplatform.googleapis.com/Session\"\xB5\x01\x0A\x13ListSessionsRequest\x12A\x0A\x06parent\x18\x01 \x01(\x09B1\xE0A\x02\xFAA+\x0A)aiplatform.googleapis.com/ReasoningEngine\x12\x16\x0A\x09page_size\x18\x02 \x01(\x05B\x03\xE0A\x01\x12\x17\x0A\x0Apage_token\x18\x03 \x01(\x09B\x03\xE0A\x01\x12\x13\x0A\x06filter\x18\x04 \x01(\x09B\x03\xE0A\x01\x12\x15\x0A\x08order_by\x18\x05 \x01(\x09B\x03\xE0A\x01\"f\x0A\x14ListSessionsResponse\x125\x0A\x08sessions\x18\x01 \x03(\x0B2#.google.cloud.aiplatform.v1.Session\x12\x17\x0A\x0Fnext_page_token\x18\x02 \x01(\x09\"\x87\x01\x0A\x14UpdateSessionRequest\x129\x0A\x07session\x18\x01 \x01(\x0B2#.google.cloud.aiplatform.v1.SessionB\x03\xE0A\x02\x124\x0A\x0Bupdate_mask\x18\x02 \x01(\x0B2\x1A.google.protobuf.FieldMaskB\x03\xE0A\x01\"O\x0A\x14DeleteSessionRequest\x127\x0A\x04name\x18\x01 \x01(\x09B)\xE0A\x02\xFAA#\x0A!aiplatform.googleapis.com/Session\"\xAB\x01\x0A\x11ListEventsRequest\x129\x0A\x06parent\x18\x01 \x01(\x09B)\xE0A\x02\xFAA#\x0A!aiplatform.googleapis.com/Session\x12\x16\x0A\x09page_size\x18\x02 \x01(\x05B\x03\xE0A\x01\x12\x17\x0A\x0Apage_token\x18\x03 \x01(\x09B\x03\xE0A\x01\x12\x13\x0A\x06filter\x18\x04 \x01(\x09B\x03\xE0A\x01\x12\x15\x0A\x08order_by\x18\x05 \x01(\x09B\x03\xE0A\x01\"o\x0A\x12ListEventsResponse\x12@\x0A\x0Esession_events\x18\x01 \x03(\x0B2(.google.cloud.aiplatform.v1.SessionEvent\x12\x17\x0A\x0Fnext_page_token\x18\x02 \x01(\x09\"\x8B\x01\x0A\x12AppendEventRequest\x127\x0A\x04name\x18\x01 \x01(\x09B)\xE0A\x02\xFAA#\x0A!aiplatform.googleapis.com/Session\x12<\x0A\x05event\x18\x02 \x01(\x0B2(.google.cloud.aiplatform.v1.SessionEventB\x03\xE0A\x02\"\x15\x0A\x13AppendEventResponse2\xCA\x0C\x0A\x0ESessionService\x12\x8C\x02\x0A\x0DCreateSession\x120.google.cloud.aiplatform.v1.CreateSessionRequest\x1A\x1D.google.longrunning.Operation\"\xA9\x01\xCAA)\x0A\x07Session\x12\x1ECreateSessionOperationMetadata\xDAA\x0Eparent,session\xDAA\x19parent,session,session_id\x82\xD3\xE4\x93\x02J\"?/v1/{parent=projects/*/locations/*/reasoningEngines/*}/sessions:\x07session\x12\xB0\x01\x0A\x0AGetSession\x12-.google.cloud.aiplatform.v1.GetSessionRequest\x1A#.google.cloud.aiplatform.v1.Session\"N\xDAA\x04name\x82\xD3\xE4\x93\x02A\x12?/v1/{name=projects/*/locations/*/reasoningEngines/*/sessions/*}\x12\xC3\x01\x0A\x0CListSessions\x12/.google.cloud.aiplatform.v1.ListSessionsRequest\x1A0.google.cloud.aiplatform.v1.ListSessionsResponse\"P\xDAA\x06parent\x82\xD3\xE4\x93\x02A\x12?/v1/{parent=projects/*/locations/*/reasoningEngines/*}/sessions\x12\xD6\x01\x0A\x0DUpdateSession\x120.google.cloud.aiplatform.v1.UpdateSessionRequest\x1A#.google.cloud.aiplatform.v1.Session\"n\xDAA\x13session,update_mask\x82\xD3\xE4\x93\x02R2G/v1/{session.name=projects/*/locations/*/reasoningEngines/*/sessions/*}:\x07session\x12\xE4\x01\x0A\x0DDeleteSession\x120.google.cloud.aiplatform.v1.DeleteSessionRequest\x1A\x1D.google.longrunning.Operation\"\x81\x01\xCAA0\x0A\x15google.protobuf.Empty\x12\x17DeleteOperationMetadata\xDAA\x04name\x82\xD3\xE4\x93\x02A*?/v1/{name=projects/*/locations/*/reasoningEngines/*/sessions/*}\x12\xC6\x01\x0A\x0AListEvents\x12-.google.cloud.aiplatform.v1.ListEventsRequest\x1A..google.cloud.aiplatform.v1.ListEventsResponse\"Y\xDAA\x06parent\x82\xD3\xE4\x93\x02J\x12H/v1/{parent=projects/*/locations/*/reasoningEngines/*/sessions/*}/events\x12\xD7\x01\x0A\x0BAppendEvent\x12..google.cloud.aiplatform.v1.AppendEventRequest\x1A/.google.cloud.aiplatform.v1.AppendEventResponse\"g\xDAA\x0Aname,event\x82\xD3\xE4\x93\x02T\"K/v1/{name=projects/*/locations/*/reasoningEngines/*/sessions/*}:appendEvent:\x05event\x1AM\xCAA\x19aiplatform.googleapis.com\xD2A.https://www.googleapis.com/auth/cloud-platformB\xD1\x01\x0A\x1Ecom.google.cloud.aiplatform.v1B\x13SessionServiceProtoP\x01Z>cloud.google.com/go/aiplatform/apiv1/aiplatformpb;aiplatformpb\xAA\x02\x1AGoogle.Cloud.AIPlatform.V1\xCA\x02\x1AGoogle\\Cloud\\AIPlatform\\V1\xEA\x02\x1DGoogle::Cloud::AIPlatform::V1b\x06proto3" + , 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..fe3ae24ceeba --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/SpecialistPool.php @@ -0,0 +1,26 @@ +internalAddGeneratedFile( + "\x0A\x96\x05\x0A0google/cloud/aiplatform/v1/specialist_pool.proto\x12\x1Agoogle.cloud.aiplatform.v1\x1A\x19google/api/resource.proto\"\xCE\x02\x0A\x0ESpecialistPool\x12\x11\x0A\x04name\x18\x01 \x01(\x09B\x03\xE0A\x02\x12\x19\x0A\x0Cdisplay_name\x18\x02 \x01(\x09B\x03\xE0A\x02\x12&\x0A\x19specialist_managers_count\x18\x03 \x01(\x05B\x03\xE0A\x03\x12!\x0A\x19specialist_manager_emails\x18\x04 \x03(\x09\x12'\x0A\x1Apending_data_labeling_jobs\x18\x05 \x03(\x09B\x03\xE0A\x03\x12 \x0A\x18specialist_worker_emails\x18\x07 \x03(\x09:x\xEAAu\x0A(aiplatform.googleapis.com/SpecialistPool\x12Iprojects/{project}/locations/{location}/specialistPools/{specialist_pool}B\xD1\x01\x0A\x1Ecom.google.cloud.aiplatform.v1B\x13SpecialistPoolProtoP\x01Z>cloud.google.com/go/aiplatform/apiv1/aiplatformpb;aiplatformpb\xAA\x02\x1AGoogle.Cloud.AIPlatform.V1\xCA\x02\x1AGoogle\\Cloud\\AIPlatform\\V1\xEA\x02\x1DGoogle::Cloud::AIPlatform::V1b\x06proto3" + , 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..3be08da5879f --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/SpecialistPoolService.php @@ -0,0 +1,33 @@ +internalAddGeneratedFile( + "\x0A\xE2\x17\x0A8google/cloud/aiplatform/v1/specialist_pool_service.proto\x12\x1Agoogle.cloud.aiplatform.v1\x1A\x17google/api/client.proto\x1A\x1Fgoogle/api/field_behavior.proto\x1A\x19google/api/resource.proto\x1A*google/cloud/aiplatform/v1/operation.proto\x1A0google/cloud/aiplatform/v1/specialist_pool.proto\x1A#google/longrunning/operations.proto\x1A\x1Bgoogle/protobuf/empty.proto\x1A google/protobuf/field_mask.proto\"\xA2\x01\x0A\x1BCreateSpecialistPoolRequest\x129\x0A\x06parent\x18\x01 \x01(\x09B)\xE0A\x02\xFAA#\x0A!locations.googleapis.com/Location\x12H\x0A\x0Fspecialist_pool\x18\x02 \x01(\x0B2*.google.cloud.aiplatform.v1.SpecialistPoolB\x03\xE0A\x02\"w\x0A%CreateSpecialistPoolOperationMetadata\x12N\x0A\x10generic_metadata\x18\x01 \x01(\x0B24.google.cloud.aiplatform.v1.GenericOperationMetadata\"Z\x0A\x18GetSpecialistPoolRequest\x12>\x0A\x04name\x18\x01 \x01(\x09B0\xE0A\x02\xFAA*\x0A(aiplatform.googleapis.com/SpecialistPool\"\xAD\x01\x0A\x1AListSpecialistPoolsRequest\x129\x0A\x06parent\x18\x01 \x01(\x09B)\xE0A\x02\xFAA#\x0A!locations.googleapis.com/Location\x12\x11\x0A\x09page_size\x18\x02 \x01(\x05\x12\x12\x0A\x0Apage_token\x18\x03 \x01(\x09\x12-\x0A\x09read_mask\x18\x04 \x01(\x0B2\x1A.google.protobuf.FieldMask\"|\x0A\x1BListSpecialistPoolsResponse\x12D\x0A\x10specialist_pools\x18\x01 \x03(\x0B2*.google.cloud.aiplatform.v1.SpecialistPool\x12\x17\x0A\x0Fnext_page_token\x18\x02 \x01(\x09\"l\x0A\x1BDeleteSpecialistPoolRequest\x12>\x0A\x04name\x18\x01 \x01(\x09B0\xE0A\x02\xFAA*\x0A(aiplatform.googleapis.com/SpecialistPool\x12\x0D\x0A\x05force\x18\x02 \x01(\x08\"\x9D\x01\x0A\x1BUpdateSpecialistPoolRequest\x12H\x0A\x0Fspecialist_pool\x18\x01 \x01(\x0B2*.google.cloud.aiplatform.v1.SpecialistPoolB\x03\xE0A\x02\x124\x0A\x0Bupdate_mask\x18\x02 \x01(\x0B2\x1A.google.protobuf.FieldMaskB\x03\xE0A\x02\"\xC2\x01\x0A%UpdateSpecialistPoolOperationMetadata\x12I\x0A\x0Fspecialist_pool\x18\x01 \x01(\x09B0\xE0A\x03\xFAA*\x0A(aiplatform.googleapis.com/SpecialistPool\x12N\x0A\x10generic_metadata\x18\x02 \x01(\x0B24.google.cloud.aiplatform.v1.GenericOperationMetadata2\x94\x0A\x0A\x15SpecialistPoolService\x12\x90\x02\x0A\x14CreateSpecialistPool\x127.google.cloud.aiplatform.v1.CreateSpecialistPoolRequest\x1A\x1D.google.longrunning.Operation\"\x9F\x01\xCAA7\x0A\x0ESpecialistPool\x12%CreateSpecialistPoolOperationMetadata\xDAA\x16parent,specialist_pool\x82\xD3\xE4\x93\x02F\"3/v1/{parent=projects/*/locations/*}/specialistPools:\x0Fspecialist_pool\x12\xB9\x01\x0A\x11GetSpecialistPool\x124.google.cloud.aiplatform.v1.GetSpecialistPoolRequest\x1A*.google.cloud.aiplatform.v1.SpecialistPool\"B\xDAA\x04name\x82\xD3\xE4\x93\x025\x123/v1/{name=projects/*/locations/*/specialistPools/*}\x12\xCC\x01\x0A\x13ListSpecialistPools\x126.google.cloud.aiplatform.v1.ListSpecialistPoolsRequest\x1A7.google.cloud.aiplatform.v1.ListSpecialistPoolsResponse\"D\xDAA\x06parent\x82\xD3\xE4\x93\x025\x123/v1/{parent=projects/*/locations/*}/specialistPools\x12\xE5\x01\x0A\x14DeleteSpecialistPool\x127.google.cloud.aiplatform.v1.DeleteSpecialistPoolRequest\x1A\x1D.google.longrunning.Operation\"u\xCAA0\x0A\x15google.protobuf.Empty\x12\x17DeleteOperationMetadata\xDAA\x04name\x82\xD3\xE4\x93\x025*3/v1/{name=projects/*/locations/*/specialistPools/*}\x12\xA5\x02\x0A\x14UpdateSpecialistPool\x127.google.cloud.aiplatform.v1.UpdateSpecialistPoolRequest\x1A\x1D.google.longrunning.Operation\"\xB4\x01\xCAA7\x0A\x0ESpecialistPool\x12%UpdateSpecialistPoolOperationMetadata\xDAA\x1Bspecialist_pool,update_mask\x82\xD3\xE4\x93\x02V2C/v1/{specialist_pool.name=projects/*/locations/*/specialistPools/*}:\x0Fspecialist_pool\x1AM\xCAA\x19aiplatform.googleapis.com\xD2A.https://www.googleapis.com/auth/cloud-platformB\xD8\x01\x0A\x1Ecom.google.cloud.aiplatform.v1B\x1ASpecialistPoolServiceProtoP\x01Z>cloud.google.com/go/aiplatform/apiv1/aiplatformpb;aiplatformpb\xAA\x02\x1AGoogle.Cloud.AIPlatform.V1\xCA\x02\x1AGoogle\\Cloud\\AIPlatform\\V1\xEA\x02\x1DGoogle::Cloud::AIPlatform::V1b\x06proto3" + , 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 000000000000..44d2b5d87b19 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/Study.php @@ -0,0 +1,30 @@ +internalAddGeneratedFile( + "\x0A\xDD3\x0A&google/cloud/aiplatform/v1/study.proto\x12\x1Agoogle.cloud.aiplatform.v1\x1A\x19google/api/resource.proto\x1A\x1Egoogle/protobuf/duration.proto\x1A\x1Cgoogle/protobuf/struct.proto\x1A\x1Fgoogle/protobuf/timestamp.proto\x1A\x1Egoogle/protobuf/wrappers.proto\"\xAE\x03\x0A\x05Study\x12\x11\x0A\x04name\x18\x01 \x01(\x09B\x03\xE0A\x03\x12\x19\x0A\x0Cdisplay_name\x18\x02 \x01(\x09B\x03\xE0A\x02\x12>\x0A\x0Astudy_spec\x18\x03 \x01(\x0B2%.google.cloud.aiplatform.v1.StudySpecB\x03\xE0A\x02\x12;\x0A\x05state\x18\x04 \x01(\x0E2'.google.cloud.aiplatform.v1.Study.StateB\x03\xE0A\x03\x124\x0A\x0Bcreate_time\x18\x05 \x01(\x0B2\x1A.google.protobuf.TimestampB\x03\xE0A\x03\x12\x1C\x0A\x0Finactive_reason\x18\x06 \x01(\x09B\x03\xE0A\x03\"G\x0A\x05State\x12\x15\x0A\x11STATE_UNSPECIFIED\x10\x00\x12\x0A\x0A\x06ACTIVE\x10\x01\x12\x0C\x0A\x08INACTIVE\x10\x02\x12\x0D\x0A\x09COMPLETED\x10\x03:]\xEAAZ\x0A\x1Faiplatform.googleapis.com/Study\x127projects/{project}/locations/{location}/studies/{study}\"\xD0\x07\x0A\x05Trial\x12\x11\x0A\x04name\x18\x01 \x01(\x09B\x03\xE0A\x03\x12\x0F\x0A\x02id\x18\x02 \x01(\x09B\x03\xE0A\x03\x12;\x0A\x05state\x18\x03 \x01(\x0E2'.google.cloud.aiplatform.v1.Trial.StateB\x03\xE0A\x03\x12D\x0A\x0Aparameters\x18\x04 \x03(\x0B2+.google.cloud.aiplatform.v1.Trial.ParameterB\x03\xE0A\x03\x12G\x0A\x11final_measurement\x18\x05 \x01(\x0B2'.google.cloud.aiplatform.v1.MeasurementB\x03\xE0A\x03\x12B\x0A\x0Cmeasurements\x18\x06 \x03(\x0B2'.google.cloud.aiplatform.v1.MeasurementB\x03\xE0A\x03\x123\x0A\x0Astart_time\x18\x07 \x01(\x0B2\x1A.google.protobuf.TimestampB\x03\xE0A\x03\x121\x0A\x08end_time\x18\x08 \x01(\x0B2\x1A.google.protobuf.TimestampB\x03\xE0A\x03\x12\x16\x0A\x09client_id\x18\x09 \x01(\x09B\x03\xE0A\x03\x12\x1E\x0A\x11infeasible_reason\x18\x0A \x01(\x09B\x03\xE0A\x03\x12?\x0A\x0Acustom_job\x18\x0B \x01(\x09B+\xE0A\x03\xFAA%\x0A#aiplatform.googleapis.com/CustomJob\x12R\x0A\x0Fweb_access_uris\x18\x0C \x03(\x0B24.google.cloud.aiplatform.v1.Trial.WebAccessUrisEntryB\x03\xE0A\x03\x1AR\x0A\x09Parameter\x12\x19\x0A\x0Cparameter_id\x18\x01 \x01(\x09B\x03\xE0A\x03\x12*\x0A\x05value\x18\x02 \x01(\x0B2\x16.google.protobuf.ValueB\x03\xE0A\x03\x1A4\x0A\x12WebAccessUrisEntry\x12\x0B\x0A\x03key\x18\x01 \x01(\x09\x12\x0D\x0A\x05value\x18\x02 \x01(\x09:\x028\x01\"f\x0A\x05State\x12\x15\x0A\x11STATE_UNSPECIFIED\x10\x00\x12\x0D\x0A\x09REQUESTED\x10\x01\x12\x0A\x0A\x06ACTIVE\x10\x02\x12\x0C\x0A\x08STOPPING\x10\x03\x12\x0D\x0A\x09SUCCEEDED\x10\x04\x12\x0E\x0A\x0AINFEASIBLE\x10\x05:l\xEAAi\x0A\x1Faiplatform.googleapis.com/Trial\x12Fprojects/{project}/locations/{location}/studies/{study}/trials/{trial}\"d\x0A\x0CTrialContext\x12\x13\x0A\x0Bdescription\x18\x01 \x01(\x09\x12?\x0A\x0Aparameters\x18\x02 \x03(\x0B2+.google.cloud.aiplatform.v1.Trial.Parameter\"\x86\x01\x0A\x13StudyTimeConstraint\x121\x0A\x0Cmax_duration\x18\x01 \x01(\x0B2\x19.google.protobuf.DurationH\x00\x12.\x0A\x08end_time\x18\x02 \x01(\x0B2\x1A.google.protobuf.TimestampH\x00B\x0C\x0A\x0Aconstraint\"\xD7!\x0A\x09StudySpec\x12j\x0A\x19decay_curve_stopping_spec\x18\x04 \x01(\x0B2E.google.cloud.aiplatform.v1.StudySpec.DecayCurveAutomatedStoppingSpecH\x00\x12k\x0A\x1Emedian_automated_stopping_spec\x18\x05 \x01(\x0B2A.google.cloud.aiplatform.v1.StudySpec.MedianAutomatedStoppingSpecH\x00\x12k\x0A\x1Econvex_automated_stopping_spec\x18\x09 \x01(\x0B2A.google.cloud.aiplatform.v1.StudySpec.ConvexAutomatedStoppingSpecH\x00\x12F\x0A\x07metrics\x18\x01 \x03(\x0B20.google.cloud.aiplatform.v1.StudySpec.MetricSpecB\x03\xE0A\x02\x12L\x0A\x0Aparameters\x18\x02 \x03(\x0B23.google.cloud.aiplatform.v1.StudySpec.ParameterSpecB\x03\xE0A\x02\x12B\x0A\x09algorithm\x18\x03 \x01(\x0E2/.google.cloud.aiplatform.v1.StudySpec.Algorithm\x12Q\x0A\x11observation_noise\x18\x06 \x01(\x0E26.google.cloud.aiplatform.v1.StudySpec.ObservationNoise\x12b\x0A\x1Ameasurement_selection_type\x18\x07 \x01(\x0E2>.google.cloud.aiplatform.v1.StudySpec.MeasurementSelectionType\x12]\x0A\x15study_stopping_config\x18\x0B \x01(\x0B29.google.cloud.aiplatform.v1.StudySpec.StudyStoppingConfigH\x01\x88\x01\x01\x1A\xAD\x03\x0A\x0AMetricSpec\x12\x16\x0A\x09metric_id\x18\x01 \x01(\x09B\x03\xE0A\x02\x12L\x0A\x04goal\x18\x02 \x01(\x0E29.google.cloud.aiplatform.v1.StudySpec.MetricSpec.GoalTypeB\x03\xE0A\x02\x12_\x0A\x0Dsafety_config\x18\x03 \x01(\x0B2C.google.cloud.aiplatform.v1.StudySpec.MetricSpec.SafetyMetricConfigH\x00\x88\x01\x01\x1A\x82\x01\x0A\x12SafetyMetricConfig\x12\x18\x0A\x10safety_threshold\x18\x01 \x01(\x01\x12-\x0A desired_min_safe_trials_fraction\x18\x02 \x01(\x01H\x00\x88\x01\x01B#\x0A!_desired_min_safe_trials_fraction\"A\x0A\x08GoalType\x12\x19\x0A\x15GOAL_TYPE_UNSPECIFIED\x10\x00\x12\x0C\x0A\x08MAXIMIZE\x10\x01\x12\x0C\x0A\x08MINIMIZE\x10\x02B\x10\x0A\x0E_safety_config\x1A\xCD\x0E\x0A\x0DParameterSpec\x12`\x0A\x11double_value_spec\x18\x02 \x01(\x0B2C.google.cloud.aiplatform.v1.StudySpec.ParameterSpec.DoubleValueSpecH\x00\x12b\x0A\x12integer_value_spec\x18\x03 \x01(\x0B2D.google.cloud.aiplatform.v1.StudySpec.ParameterSpec.IntegerValueSpecH\x00\x12j\x0A\x16categorical_value_spec\x18\x04 \x01(\x0B2H.google.cloud.aiplatform.v1.StudySpec.ParameterSpec.CategoricalValueSpecH\x00\x12d\x0A\x13discrete_value_spec\x18\x05 \x01(\x0B2E.google.cloud.aiplatform.v1.StudySpec.ParameterSpec.DiscreteValueSpecH\x00\x12\x19\x0A\x0Cparameter_id\x18\x01 \x01(\x09B\x03\xE0A\x02\x12Q\x0A\x0Ascale_type\x18\x06 \x01(\x0E2=.google.cloud.aiplatform.v1.StudySpec.ParameterSpec.ScaleType\x12q\x0A\x1Bconditional_parameter_specs\x18\x0A \x03(\x0B2L.google.cloud.aiplatform.v1.StudySpec.ParameterSpec.ConditionalParameterSpec\x1Ao\x0A\x0FDoubleValueSpec\x12\x16\x0A\x09min_value\x18\x01 \x01(\x01B\x03\xE0A\x02\x12\x16\x0A\x09max_value\x18\x02 \x01(\x01B\x03\xE0A\x02\x12\x1A\x0A\x0Ddefault_value\x18\x04 \x01(\x01H\x00\x88\x01\x01B\x10\x0A\x0E_default_value\x1Ap\x0A\x10IntegerValueSpec\x12\x16\x0A\x09min_value\x18\x01 \x01(\x03B\x03\xE0A\x02\x12\x16\x0A\x09max_value\x18\x02 \x01(\x03B\x03\xE0A\x02\x12\x1A\x0A\x0Ddefault_value\x18\x04 \x01(\x03H\x00\x88\x01\x01B\x10\x0A\x0E_default_value\x1AY\x0A\x14CategoricalValueSpec\x12\x13\x0A\x06values\x18\x01 \x03(\x09B\x03\xE0A\x02\x12\x1A\x0A\x0Ddefault_value\x18\x03 \x01(\x09H\x00\x88\x01\x01B\x10\x0A\x0E_default_value\x1AV\x0A\x11DiscreteValueSpec\x12\x13\x0A\x06values\x18\x01 \x03(\x01B\x03\xE0A\x02\x12\x1A\x0A\x0Ddefault_value\x18\x03 \x01(\x01H\x00\x88\x01\x01B\x10\x0A\x0E_default_value\x1A\xA4\x05\x0A\x18ConditionalParameterSpec\x12\x85\x01\x0A\x16parent_discrete_values\x18\x02 \x01(\x0B2c.google.cloud.aiplatform.v1.StudySpec.ParameterSpec.ConditionalParameterSpec.DiscreteValueConditionH\x00\x12{\x0A\x11parent_int_values\x18\x03 \x01(\x0B2^.google.cloud.aiplatform.v1.StudySpec.ParameterSpec.ConditionalParameterSpec.IntValueConditionH\x00\x12\x8B\x01\x0A\x19parent_categorical_values\x18\x04 \x01(\x0B2f.google.cloud.aiplatform.v1.StudySpec.ParameterSpec.ConditionalParameterSpec.CategoricalValueConditionH\x00\x12P\x0A\x0Eparameter_spec\x18\x01 \x01(\x0B23.google.cloud.aiplatform.v1.StudySpec.ParameterSpecB\x03\xE0A\x02\x1A-\x0A\x16DiscreteValueCondition\x12\x13\x0A\x06values\x18\x01 \x03(\x01B\x03\xE0A\x02\x1A(\x0A\x11IntValueCondition\x12\x13\x0A\x06values\x18\x01 \x03(\x03B\x03\xE0A\x02\x1A0\x0A\x19CategoricalValueCondition\x12\x13\x0A\x06values\x18\x01 \x03(\x09B\x03\xE0A\x02B\x18\x0A\x16parent_value_condition\"n\x0A\x09ScaleType\x12\x1A\x0A\x16SCALE_TYPE_UNSPECIFIED\x10\x00\x12\x15\x0A\x11UNIT_LINEAR_SCALE\x10\x01\x12\x12\x0A\x0EUNIT_LOG_SCALE\x10\x02\x12\x1A\x0A\x16UNIT_REVERSE_LOG_SCALE\x10\x03B\x16\x0A\x14parameter_value_spec\x1A?\x0A\x1FDecayCurveAutomatedStoppingSpec\x12\x1C\x0A\x14use_elapsed_duration\x18\x01 \x01(\x08\x1A;\x0A\x1BMedianAutomatedStoppingSpec\x12\x1C\x0A\x14use_elapsed_duration\x18\x01 \x01(\x08\x1A\xF6\x01\x0A\x1BConvexAutomatedStoppingSpec\x12\x16\x0A\x0Emax_step_count\x18\x01 \x01(\x03\x12\x16\x0A\x0Emin_step_count\x18\x02 \x01(\x03\x12\x1D\x0A\x15min_measurement_count\x18\x03 \x01(\x03\x12\$\x0A\x1Clearning_rate_parameter_name\x18\x04 \x01(\x09\x12\x1C\x0A\x14use_elapsed_duration\x18\x05 \x01(\x08\x12&\x0A\x19update_all_stopped_trials\x18\x06 \x01(\x08H\x00\x88\x01\x01B\x1C\x0A\x1A_update_all_stopped_trials\x1A\xDD\x03\x0A\x13StudyStoppingConfig\x124\x0A\x10should_stop_asap\x18\x01 \x01(\x0B2\x1A.google.protobuf.BoolValue\x12S\x0A\x1Aminimum_runtime_constraint\x18\x02 \x01(\x0B2/.google.cloud.aiplatform.v1.StudyTimeConstraint\x12S\x0A\x1Amaximum_runtime_constraint\x18\x03 \x01(\x0B2/.google.cloud.aiplatform.v1.StudyTimeConstraint\x123\x0A\x0Emin_num_trials\x18\x04 \x01(\x0B2\x1B.google.protobuf.Int32Value\x123\x0A\x0Emax_num_trials\x18\x05 \x01(\x0B2\x1B.google.protobuf.Int32Value\x12?\x0A\x1Amax_num_trials_no_progress\x18\x06 \x01(\x0B2\x1B.google.protobuf.Int32Value\x12;\x0A\x18max_duration_no_progress\x18\x07 \x01(\x0B2\x19.google.protobuf.Duration\"J\x0A\x09Algorithm\x12\x19\x0A\x15ALGORITHM_UNSPECIFIED\x10\x00\x12\x0F\x0A\x0BGRID_SEARCH\x10\x02\x12\x11\x0A\x0DRANDOM_SEARCH\x10\x03\"H\x0A\x10ObservationNoise\x12!\x0A\x1DOBSERVATION_NOISE_UNSPECIFIED\x10\x00\x12\x07\x0A\x03LOW\x10\x01\x12\x08\x0A\x04HIGH\x10\x02\"r\x0A\x18MeasurementSelectionType\x12*\x0A&MEASUREMENT_SELECTION_TYPE_UNSPECIFIED\x10\x00\x12\x14\x0A\x10LAST_MEASUREMENT\x10\x01\x12\x14\x0A\x10BEST_MEASUREMENT\x10\x02B\x19\x0A\x17automated_stopping_specB\x18\x0A\x16_study_stopping_config\"\xDC\x01\x0A\x0BMeasurement\x128\x0A\x10elapsed_duration\x18\x01 \x01(\x0B2\x19.google.protobuf.DurationB\x03\xE0A\x03\x12\x17\x0A\x0Astep_count\x18\x02 \x01(\x03B\x03\xE0A\x03\x12D\x0A\x07metrics\x18\x03 \x03(\x0B2..google.cloud.aiplatform.v1.Measurement.MetricB\x03\xE0A\x03\x1A4\x0A\x06Metric\x12\x16\x0A\x09metric_id\x18\x01 \x01(\x09B\x03\xE0A\x03\x12\x12\x0A\x05value\x18\x02 \x01(\x01B\x03\xE0A\x03B\xC8\x01\x0A\x1Ecom.google.cloud.aiplatform.v1B\x0AStudyProtoP\x01Z>cloud.google.com/go/aiplatform/apiv1/aiplatformpb;aiplatformpb\xAA\x02\x1AGoogle.Cloud.AIPlatform.V1\xCA\x02\x1AGoogle\\Cloud\\AIPlatform\\V1\xEA\x02\x1DGoogle::Cloud::AIPlatform::V1b\x06proto3" + , true); + + static::$is_initialized = true; + } +} + 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..ae2b8542f495 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/Tensorboard.php @@ -0,0 +1,28 @@ +internalAddGeneratedFile( + "\x0A\x92\x08\x0A,google/cloud/aiplatform/v1/tensorboard.proto\x12\x1Agoogle.cloud.aiplatform.v1\x1A\x19google/api/resource.proto\x1A0google/cloud/aiplatform/v1/encryption_spec.proto\x1A\x1Fgoogle/protobuf/timestamp.proto\"\xFE\x04\x0A\x0BTensorboard\x12\x11\x0A\x04name\x18\x01 \x01(\x09B\x03\xE0A\x03\x12\x19\x0A\x0Cdisplay_name\x18\x02 \x01(\x09B\x03\xE0A\x02\x12\x13\x0A\x0Bdescription\x18\x03 \x01(\x09\x12C\x0A\x0Fencryption_spec\x18\x0B \x01(\x0B2*.google.cloud.aiplatform.v1.EncryptionSpec\x12%\x0A\x18blob_storage_path_prefix\x18\x0A \x01(\x09B\x03\xE0A\x03\x12\x16\x0A\x09run_count\x18\x05 \x01(\x05B\x03\xE0A\x03\x124\x0A\x0Bcreate_time\x18\x06 \x01(\x0B2\x1A.google.protobuf.TimestampB\x03\xE0A\x03\x124\x0A\x0Bupdate_time\x18\x07 \x01(\x0B2\x1A.google.protobuf.TimestampB\x03\xE0A\x03\x12C\x0A\x06labels\x18\x08 \x03(\x0B23.google.cloud.aiplatform.v1.Tensorboard.LabelsEntry\x12\x0C\x0A\x04etag\x18\x09 \x01(\x09\x12\x12\x0A\x0Ais_default\x18\x0C \x01(\x08\x12\x1A\x0A\x0Dsatisfies_pzs\x18\x0D \x01(\x08B\x03\xE0A\x03\x12\x1A\x0A\x0Dsatisfies_pzi\x18\x0E \x01(\x08B\x03\xE0A\x03\x1A-\x0A\x0BLabelsEntry\x12\x0B\x0A\x03key\x18\x01 \x01(\x09\x12\x0D\x0A\x05value\x18\x02 \x01(\x09:\x028\x01:n\xEAAk\x0A%aiplatform.googleapis.com/Tensorboard\x12Bprojects/{project}/locations/{location}/tensorboards/{tensorboard}B\xCE\x01\x0A\x1Ecom.google.cloud.aiplatform.v1B\x10TensorboardProtoP\x01Z>cloud.google.com/go/aiplatform/apiv1/aiplatformpb;aiplatformpb\xAA\x02\x1AGoogle.Cloud.AIPlatform.V1\xCA\x02\x1AGoogle\\Cloud\\AIPlatform\\V1\xEA\x02\x1DGoogle::Cloud::AIPlatform::V1b\x06proto3" + , 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 000000000000..f847f9ea9f99 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/TensorboardData.php @@ -0,0 +1,27 @@ +internalAddGeneratedFile( + "\x0A\xEB\x08\x0A1google/cloud/aiplatform/v1/tensorboard_data.proto\x12\x1Agoogle.cloud.aiplatform.v1\x1A8google/cloud/aiplatform/v1/tensorboard_time_series.proto\x1A\x1Fgoogle/protobuf/timestamp.proto\"\xD8\x01\x0A\x0ETimeSeriesData\x12'\x0A\x1Atensorboard_time_series_id\x18\x01 \x01(\x09B\x03\xE0A\x02\x12W\x0A\x0Avalue_type\x18\x02 \x01(\x0E2;.google.cloud.aiplatform.v1.TensorboardTimeSeries.ValueTypeB\x06\xE0A\x02\xE0A\x05\x12D\x0A\x06values\x18\x03 \x03(\x0B2/.google.cloud.aiplatform.v1.TimeSeriesDataPointB\x03\xE0A\x02\"\x98\x02\x0A\x13TimeSeriesDataPoint\x124\x0A\x06scalar\x18\x03 \x01(\x0B2\".google.cloud.aiplatform.v1.ScalarH\x00\x12?\x0A\x06tensor\x18\x04 \x01(\x0B2-.google.cloud.aiplatform.v1.TensorboardTensorH\x00\x12D\x0A\x05blobs\x18\x05 \x01(\x0B23.google.cloud.aiplatform.v1.TensorboardBlobSequenceH\x00\x12-\x0A\x09wall_time\x18\x01 \x01(\x0B2\x1A.google.protobuf.Timestamp\x12\x0C\x0A\x04step\x18\x02 \x01(\x03B\x07\x0A\x05value\"\x17\x0A\x06Scalar\x12\x0D\x0A\x05value\x18\x01 \x01(\x01\"D\x0A\x11TensorboardTensor\x12\x12\x0A\x05value\x18\x01 \x01(\x0CB\x03\xE0A\x02\x12\x1B\x0A\x0Eversion_number\x18\x02 \x01(\x05B\x03\xE0A\x01\"V\x0A\x17TensorboardBlobSequence\x12;\x0A\x06values\x18\x01 \x03(\x0B2+.google.cloud.aiplatform.v1.TensorboardBlob\"5\x0A\x0FTensorboardBlob\x12\x0F\x0A\x02id\x18\x01 \x01(\x09B\x03\xE0A\x03\x12\x11\x0A\x04data\x18\x02 \x01(\x0CB\x03\xE0A\x01B\xD2\x01\x0A\x1Ecom.google.cloud.aiplatform.v1B\x14TensorboardDataProtoP\x01Z>cloud.google.com/go/aiplatform/apiv1/aiplatformpb;aiplatformpb\xAA\x02\x1AGoogle.Cloud.AIPlatform.V1\xCA\x02\x1AGoogle\\Cloud\\AIPlatform\\V1\xEA\x02\x1DGoogle::Cloud::AIPlatform::V1b\x06proto3" + , true); + + static::$is_initialized = true; + } +} + 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..80242d476d2a --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/TensorboardExperiment.php @@ -0,0 +1,27 @@ +internalAddGeneratedFile( + "\x0A\xEE\x06\x0A7google/cloud/aiplatform/v1/tensorboard_experiment.proto\x12\x1Agoogle.cloud.aiplatform.v1\x1A\x19google/api/resource.proto\x1A\x1Fgoogle/protobuf/timestamp.proto\"\xF7\x03\x0A\x15TensorboardExperiment\x12\x11\x0A\x04name\x18\x01 \x01(\x09B\x03\xE0A\x03\x12\x14\x0A\x0Cdisplay_name\x18\x02 \x01(\x09\x12\x13\x0A\x0Bdescription\x18\x03 \x01(\x09\x124\x0A\x0Bcreate_time\x18\x04 \x01(\x0B2\x1A.google.protobuf.TimestampB\x03\xE0A\x03\x124\x0A\x0Bupdate_time\x18\x05 \x01(\x0B2\x1A.google.protobuf.TimestampB\x03\xE0A\x03\x12M\x0A\x06labels\x18\x06 \x03(\x0B2=.google.cloud.aiplatform.v1.TensorboardExperiment.LabelsEntry\x12\x0C\x0A\x04etag\x18\x07 \x01(\x09\x12\x13\x0A\x06source\x18\x08 \x01(\x09B\x03\xE0A\x05\x1A-\x0A\x0BLabelsEntry\x12\x0B\x0A\x03key\x18\x01 \x01(\x09\x12\x0D\x0A\x05value\x18\x02 \x01(\x09:\x028\x01:\x92\x01\xEAA\x8E\x01\x0A/aiplatform.googleapis.com/TensorboardExperiment\x12[projects/{project}/locations/{location}/tensorboards/{tensorboard}/experiments/{experiment}B\xD8\x01\x0A\x1Ecom.google.cloud.aiplatform.v1B\x1ATensorboardExperimentProtoP\x01Z>cloud.google.com/go/aiplatform/apiv1/aiplatformpb;aiplatformpb\xAA\x02\x1AGoogle.Cloud.AIPlatform.V1\xCA\x02\x1AGoogle\\Cloud\\AIPlatform\\V1\xEA\x02\x1DGoogle::Cloud::AIPlatform::V1b\x06proto3" + , 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..776ddb128f3d --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/TensorboardRun.php @@ -0,0 +1,27 @@ +internalAddGeneratedFile( + "\x0A\xC6\x06\x0A0google/cloud/aiplatform/v1/tensorboard_run.proto\x12\x1Agoogle.cloud.aiplatform.v1\x1A\x19google/api/resource.proto\x1A\x1Fgoogle/protobuf/timestamp.proto\"\xDD\x03\x0A\x0ETensorboardRun\x12\x11\x0A\x04name\x18\x01 \x01(\x09B\x03\xE0A\x03\x12\x19\x0A\x0Cdisplay_name\x18\x02 \x01(\x09B\x03\xE0A\x02\x12\x13\x0A\x0Bdescription\x18\x03 \x01(\x09\x124\x0A\x0Bcreate_time\x18\x06 \x01(\x0B2\x1A.google.protobuf.TimestampB\x03\xE0A\x03\x124\x0A\x0Bupdate_time\x18\x07 \x01(\x0B2\x1A.google.protobuf.TimestampB\x03\xE0A\x03\x12F\x0A\x06labels\x18\x08 \x03(\x0B26.google.cloud.aiplatform.v1.TensorboardRun.LabelsEntry\x12\x0C\x0A\x04etag\x18\x09 \x01(\x09\x1A-\x0A\x0BLabelsEntry\x12\x0B\x0A\x03key\x18\x01 \x01(\x09\x12\x0D\x0A\x05value\x18\x02 \x01(\x09:\x028\x01:\x96\x01\xEAA\x92\x01\x0A(aiplatform.googleapis.com/TensorboardRun\x12fprojects/{project}/locations/{location}/tensorboards/{tensorboard}/experiments/{experiment}/runs/{run}B\xD1\x01\x0A\x1Ecom.google.cloud.aiplatform.v1B\x13TensorboardRunProtoP\x01Z>cloud.google.com/go/aiplatform/apiv1/aiplatformpb;aiplatformpb\xAA\x02\x1AGoogle.Cloud.AIPlatform.V1\xCA\x02\x1AGoogle\\Cloud\\AIPlatform\\V1\xEA\x02\x1DGoogle::Cloud::AIPlatform::V1b\x06proto3" + , 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..efcaf4548bbe --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/TensorboardService.php @@ -0,0 +1,37 @@ +internalAddGeneratedFile( + "\x0A\xB6{\x0A4google/cloud/aiplatform/v1/tensorboard_service.proto\x12\x1Agoogle.cloud.aiplatform.v1\x1A\x17google/api/client.proto\x1A\x1Fgoogle/api/field_behavior.proto\x1A\x19google/api/resource.proto\x1A*google/cloud/aiplatform/v1/operation.proto\x1A,google/cloud/aiplatform/v1/tensorboard.proto\x1A1google/cloud/aiplatform/v1/tensorboard_data.proto\x1A7google/cloud/aiplatform/v1/tensorboard_experiment.proto\x1A0google/cloud/aiplatform/v1/tensorboard_run.proto\x1A8google/cloud/aiplatform/v1/tensorboard_time_series.proto\x1A#google/longrunning/operations.proto\x1A\x1Bgoogle/protobuf/empty.proto\x1A google/protobuf/field_mask.proto\"\x9C\x01\x0A\x18CreateTensorboardRequest\x12=\x0A\x06parent\x18\x01 \x01(\x09B-\xE0A\x02\xFAA'\x0A%aiplatform.googleapis.com/Tensorboard\x12A\x0A\x0Btensorboard\x18\x02 \x01(\x0B2'.google.cloud.aiplatform.v1.TensorboardB\x03\xE0A\x02\"T\x0A\x15GetTensorboardRequest\x12;\x0A\x04name\x18\x01 \x01(\x09B-\xE0A\x02\xFAA'\x0A%aiplatform.googleapis.com/Tensorboard\"\xD0\x01\x0A\x17ListTensorboardsRequest\x12=\x0A\x06parent\x18\x01 \x01(\x09B-\xE0A\x02\xFAA'\x12%aiplatform.googleapis.com/Tensorboard\x12\x0E\x0A\x06filter\x18\x02 \x01(\x09\x12\x11\x0A\x09page_size\x18\x03 \x01(\x05\x12\x12\x0A\x0Apage_token\x18\x04 \x01(\x09\x12\x10\x0A\x08order_by\x18\x05 \x01(\x09\x12-\x0A\x09read_mask\x18\x06 \x01(\x0B2\x1A.google.protobuf.FieldMask\"r\x0A\x18ListTensorboardsResponse\x12=\x0A\x0Ctensorboards\x18\x01 \x03(\x0B2'.google.cloud.aiplatform.v1.Tensorboard\x12\x17\x0A\x0Fnext_page_token\x18\x02 \x01(\x09\"\x93\x01\x0A\x18UpdateTensorboardRequest\x124\x0A\x0Bupdate_mask\x18\x01 \x01(\x0B2\x1A.google.protobuf.FieldMaskB\x03\xE0A\x02\x12A\x0A\x0Btensorboard\x18\x02 \x01(\x0B2'.google.cloud.aiplatform.v1.TensorboardB\x03\xE0A\x02\"W\x0A\x18DeleteTensorboardRequest\x12;\x0A\x04name\x18\x01 \x01(\x09B-\xE0A\x02\xFAA'\x0A%aiplatform.googleapis.com/Tensorboard\"a\x0A\x1BReadTensorboardUsageRequest\x12B\x0A\x0Btensorboard\x18\x01 \x01(\x09B-\xE0A\x02\xFAA'\x0A%aiplatform.googleapis.com/Tensorboard\"\xC3\x03\x0A\x1CReadTensorboardUsageResponse\x12j\x0A\x12monthly_usage_data\x18\x01 \x03(\x0B2N.google.cloud.aiplatform.v1.ReadTensorboardUsageResponse.MonthlyUsageDataEntry\x1A8\x0A\x10PerUserUsageData\x12\x10\x0A\x08username\x18\x01 \x01(\x09\x12\x12\x0A\x0Aview_count\x18\x02 \x01(\x03\x1Aw\x0A\x11PerMonthUsageData\x12b\x0A\x0Fuser_usage_data\x18\x01 \x03(\x0B2I.google.cloud.aiplatform.v1.ReadTensorboardUsageResponse.PerUserUsageData\x1A\x83\x01\x0A\x15MonthlyUsageDataEntry\x12\x0B\x0A\x03key\x18\x01 \x01(\x09\x12Y\x0A\x05value\x18\x02 \x01(\x0B2J.google.cloud.aiplatform.v1.ReadTensorboardUsageResponse.PerMonthUsageData:\x028\x01\"`\x0A\x1AReadTensorboardSizeRequest\x12B\x0A\x0Btensorboard\x18\x01 \x01(\x09B-\xE0A\x02\xFAA'\x0A%aiplatform.googleapis.com/Tensorboard\"8\x0A\x1BReadTensorboardSizeResponse\x12\x19\x0A\x11storage_size_byte\x18\x01 \x01(\x03\"\xE8\x01\x0A\"CreateTensorboardExperimentRequest\x12G\x0A\x06parent\x18\x01 \x01(\x09B7\xE0A\x02\xFAA1\x0A/aiplatform.googleapis.com/TensorboardExperiment\x12Q\x0A\x16tensorboard_experiment\x18\x02 \x01(\x0B21.google.cloud.aiplatform.v1.TensorboardExperiment\x12&\x0A\x19tensorboard_experiment_id\x18\x03 \x01(\x09B\x03\xE0A\x02\"h\x0A\x1FGetTensorboardExperimentRequest\x12E\x0A\x04name\x18\x01 \x01(\x09B7\xE0A\x02\xFAA1\x0A/aiplatform.googleapis.com/TensorboardExperiment\"\xE4\x01\x0A!ListTensorboardExperimentsRequest\x12G\x0A\x06parent\x18\x01 \x01(\x09B7\xE0A\x02\xFAA1\x12/aiplatform.googleapis.com/TensorboardExperiment\x12\x0E\x0A\x06filter\x18\x02 \x01(\x09\x12\x11\x0A\x09page_size\x18\x03 \x01(\x05\x12\x12\x0A\x0Apage_token\x18\x04 \x01(\x09\x12\x10\x0A\x08order_by\x18\x05 \x01(\x09\x12-\x0A\x09read_mask\x18\x06 \x01(\x0B2\x1A.google.protobuf.FieldMask\"\x91\x01\x0A\"ListTensorboardExperimentsResponse\x12R\x0A\x17tensorboard_experiments\x18\x01 \x03(\x0B21.google.cloud.aiplatform.v1.TensorboardExperiment\x12\x17\x0A\x0Fnext_page_token\x18\x02 \x01(\x09\"\xB2\x01\x0A\"UpdateTensorboardExperimentRequest\x124\x0A\x0Bupdate_mask\x18\x01 \x01(\x0B2\x1A.google.protobuf.FieldMaskB\x03\xE0A\x02\x12V\x0A\x16tensorboard_experiment\x18\x02 \x01(\x0B21.google.cloud.aiplatform.v1.TensorboardExperimentB\x03\xE0A\x02\"k\x0A\"DeleteTensorboardExperimentRequest\x12E\x0A\x04name\x18\x01 \x01(\x09B7\xE0A\x02\xFAA1\x0A/aiplatform.googleapis.com/TensorboardExperiment\"\xBC\x01\x0A!BatchCreateTensorboardRunsRequest\x12G\x0A\x06parent\x18\x01 \x01(\x09B7\xE0A\x02\xFAA1\x0A/aiplatform.googleapis.com/TensorboardExperiment\x12N\x0A\x08requests\x18\x02 \x03(\x0B27.google.cloud.aiplatform.v1.CreateTensorboardRunRequestB\x03\xE0A\x02\"j\x0A\"BatchCreateTensorboardRunsResponse\x12D\x0A\x10tensorboard_runs\x18\x01 \x03(\x0B2*.google.cloud.aiplatform.v1.TensorboardRun\"\xCA\x01\x0A\x1BCreateTensorboardRunRequest\x12@\x0A\x06parent\x18\x01 \x01(\x09B0\xE0A\x02\xFAA*\x0A(aiplatform.googleapis.com/TensorboardRun\x12H\x0A\x0Ftensorboard_run\x18\x02 \x01(\x0B2*.google.cloud.aiplatform.v1.TensorboardRunB\x03\xE0A\x02\x12\x1F\x0A\x12tensorboard_run_id\x18\x03 \x01(\x09B\x03\xE0A\x02\"Z\x0A\x18GetTensorboardRunRequest\x12>\x0A\x04name\x18\x01 \x01(\x09B0\xE0A\x02\xFAA*\x0A(aiplatform.googleapis.com/TensorboardRun\"\x80\x01\x0A\x1EReadTensorboardBlobDataRequest\x12L\x0A\x0Btime_series\x18\x01 \x01(\x09B7\xE0A\x02\xFAA1\x0A/aiplatform.googleapis.com/TensorboardTimeSeries\x12\x10\x0A\x08blob_ids\x18\x02 \x03(\x09\"]\x0A\x1FReadTensorboardBlobDataResponse\x12:\x0A\x05blobs\x18\x01 \x03(\x0B2+.google.cloud.aiplatform.v1.TensorboardBlob\"\xD6\x01\x0A\x1AListTensorboardRunsRequest\x12@\x0A\x06parent\x18\x01 \x01(\x09B0\xE0A\x02\xFAA*\x12(aiplatform.googleapis.com/TensorboardRun\x12\x0E\x0A\x06filter\x18\x02 \x01(\x09\x12\x11\x0A\x09page_size\x18\x03 \x01(\x05\x12\x12\x0A\x0Apage_token\x18\x04 \x01(\x09\x12\x10\x0A\x08order_by\x18\x05 \x01(\x09\x12-\x0A\x09read_mask\x18\x06 \x01(\x0B2\x1A.google.protobuf.FieldMask\"|\x0A\x1BListTensorboardRunsResponse\x12D\x0A\x10tensorboard_runs\x18\x01 \x03(\x0B2*.google.cloud.aiplatform.v1.TensorboardRun\x12\x17\x0A\x0Fnext_page_token\x18\x02 \x01(\x09\"\x9D\x01\x0A\x1BUpdateTensorboardRunRequest\x124\x0A\x0Bupdate_mask\x18\x01 \x01(\x0B2\x1A.google.protobuf.FieldMaskB\x03\xE0A\x02\x12H\x0A\x0Ftensorboard_run\x18\x02 \x01(\x0B2*.google.cloud.aiplatform.v1.TensorboardRunB\x03\xE0A\x02\"]\x0A\x1BDeleteTensorboardRunRequest\x12>\x0A\x04name\x18\x01 \x01(\x09B0\xE0A\x02\xFAA*\x0A(aiplatform.googleapis.com/TensorboardRun\"\xC9\x01\x0A'BatchCreateTensorboardTimeSeriesRequest\x12G\x0A\x06parent\x18\x01 \x01(\x09B7\xE0A\x02\xFAA1\x0A/aiplatform.googleapis.com/TensorboardExperiment\x12U\x0A\x08requests\x18\x02 \x03(\x0B2>.google.cloud.aiplatform.v1.CreateTensorboardTimeSeriesRequestB\x03\xE0A\x02\"~\x0A(BatchCreateTensorboardTimeSeriesResponse\x12R\x0A\x17tensorboard_time_series\x18\x01 \x03(\x0B21.google.cloud.aiplatform.v1.TensorboardTimeSeries\"\xEF\x01\x0A\"CreateTensorboardTimeSeriesRequest\x12G\x0A\x06parent\x18\x01 \x01(\x09B7\xE0A\x02\xFAA1\x0A/aiplatform.googleapis.com/TensorboardTimeSeries\x12'\x0A\x1Atensorboard_time_series_id\x18\x03 \x01(\x09B\x03\xE0A\x01\x12W\x0A\x17tensorboard_time_series\x18\x02 \x01(\x0B21.google.cloud.aiplatform.v1.TensorboardTimeSeriesB\x03\xE0A\x02\"h\x0A\x1FGetTensorboardTimeSeriesRequest\x12E\x0A\x04name\x18\x01 \x01(\x09B7\xE0A\x02\xFAA1\x0A/aiplatform.googleapis.com/TensorboardTimeSeries\"\xE3\x01\x0A ListTensorboardTimeSeriesRequest\x12G\x0A\x06parent\x18\x01 \x01(\x09B7\xE0A\x02\xFAA1\x12/aiplatform.googleapis.com/TensorboardTimeSeries\x12\x0E\x0A\x06filter\x18\x02 \x01(\x09\x12\x11\x0A\x09page_size\x18\x03 \x01(\x05\x12\x12\x0A\x0Apage_token\x18\x04 \x01(\x09\x12\x10\x0A\x08order_by\x18\x05 \x01(\x09\x12-\x0A\x09read_mask\x18\x06 \x01(\x0B2\x1A.google.protobuf.FieldMask\"\x90\x01\x0A!ListTensorboardTimeSeriesResponse\x12R\x0A\x17tensorboard_time_series\x18\x01 \x03(\x0B21.google.cloud.aiplatform.v1.TensorboardTimeSeries\x12\x17\x0A\x0Fnext_page_token\x18\x02 \x01(\x09\"\xB3\x01\x0A\"UpdateTensorboardTimeSeriesRequest\x124\x0A\x0Bupdate_mask\x18\x01 \x01(\x0B2\x1A.google.protobuf.FieldMaskB\x03\xE0A\x02\x12W\x0A\x17tensorboard_time_series\x18\x02 \x01(\x0B21.google.cloud.aiplatform.v1.TensorboardTimeSeriesB\x03\xE0A\x02\"k\x0A\"DeleteTensorboardTimeSeriesRequest\x12E\x0A\x04name\x18\x01 \x01(\x09B7\xE0A\x02\xFAA1\x0A/aiplatform.googleapis.com/TensorboardTimeSeries\"\xBD\x01\x0A)BatchReadTensorboardTimeSeriesDataRequest\x12B\x0A\x0Btensorboard\x18\x01 \x01(\x09B-\xE0A\x02\xFAA'\x0A%aiplatform.googleapis.com/Tensorboard\x12L\x0A\x0Btime_series\x18\x02 \x03(\x09B7\xE0A\x02\xFAA1\x0A/aiplatform.googleapis.com/TensorboardTimeSeries\"r\x0A*BatchReadTensorboardTimeSeriesDataResponse\x12D\x0A\x10time_series_data\x18\x01 \x03(\x0B2*.google.cloud.aiplatform.v1.TimeSeriesData\"\xA9\x01\x0A\$ReadTensorboardTimeSeriesDataRequest\x12X\x0A\x17tensorboard_time_series\x18\x01 \x01(\x09B7\xE0A\x02\xFAA1\x0A/aiplatform.googleapis.com/TensorboardTimeSeries\x12\x17\x0A\x0Fmax_data_points\x18\x02 \x01(\x05\x12\x0E\x0A\x06filter\x18\x03 \x01(\x09\"m\x0A%ReadTensorboardTimeSeriesDataResponse\x12D\x0A\x10time_series_data\x18\x01 \x01(\x0B2*.google.cloud.aiplatform.v1.TimeSeriesData\"\xE2\x01\x0A%WriteTensorboardExperimentDataRequest\x12W\x0A\x16tensorboard_experiment\x18\x01 \x01(\x09B7\xE0A\x02\xFAA1\x0A/aiplatform.googleapis.com/TensorboardExperiment\x12`\x0A\x17write_run_data_requests\x18\x02 \x03(\x0B2:.google.cloud.aiplatform.v1.WriteTensorboardRunDataRequestB\x03\xE0A\x02\"(\x0A&WriteTensorboardExperimentDataResponse\"\xB6\x01\x0A\x1EWriteTensorboardRunDataRequest\x12I\x0A\x0Ftensorboard_run\x18\x01 \x01(\x09B0\xE0A\x02\xFAA*\x0A(aiplatform.googleapis.com/TensorboardRun\x12I\x0A\x10time_series_data\x18\x02 \x03(\x0B2*.google.cloud.aiplatform.v1.TimeSeriesDataB\x03\xE0A\x02\"!\x0A\x1FWriteTensorboardRunDataResponse\"\xCB\x01\x0A&ExportTensorboardTimeSeriesDataRequest\x12X\x0A\x17tensorboard_time_series\x18\x01 \x01(\x09B7\xE0A\x02\xFAA1\x0A/aiplatform.googleapis.com/TensorboardTimeSeries\x12\x0E\x0A\x06filter\x18\x02 \x01(\x09\x12\x11\x0A\x09page_size\x18\x03 \x01(\x05\x12\x12\x0A\x0Apage_token\x18\x04 \x01(\x09\x12\x10\x0A\x08order_by\x18\x05 \x01(\x09\"\x94\x01\x0A'ExportTensorboardTimeSeriesDataResponse\x12P\x0A\x17time_series_data_points\x18\x01 \x03(\x0B2/.google.cloud.aiplatform.v1.TimeSeriesDataPoint\x12\x17\x0A\x0Fnext_page_token\x18\x02 \x01(\x09\"t\x0A\"CreateTensorboardOperationMetadata\x12N\x0A\x10generic_metadata\x18\x01 \x01(\x0B24.google.cloud.aiplatform.v1.GenericOperationMetadata\"t\x0A\"UpdateTensorboardOperationMetadata\x12N\x0A\x10generic_metadata\x18\x01 \x01(\x0B24.google.cloud.aiplatform.v1.GenericOperationMetadata2\xD9>\x0A\x12TensorboardService\x12\xF9\x01\x0A\x11CreateTensorboard\x124.google.cloud.aiplatform.v1.CreateTensorboardRequest\x1A\x1D.google.longrunning.Operation\"\x8E\x01\xCAA1\x0A\x0BTensorboard\x12\"CreateTensorboardOperationMetadata\xDAA\x12parent,tensorboard\x82\xD3\xE4\x93\x02?\"0/v1/{parent=projects/*/locations/*}/tensorboards:\x0Btensorboard\x12\xAD\x01\x0A\x0EGetTensorboard\x121.google.cloud.aiplatform.v1.GetTensorboardRequest\x1A'.google.cloud.aiplatform.v1.Tensorboard\"?\xDAA\x04name\x82\xD3\xE4\x93\x022\x120/v1/{name=projects/*/locations/*/tensorboards/*}\x12\x8A\x02\x0A\x11UpdateTensorboard\x124.google.cloud.aiplatform.v1.UpdateTensorboardRequest\x1A\x1D.google.longrunning.Operation\"\x9F\x01\xCAA1\x0A\x0BTensorboard\x12\"UpdateTensorboardOperationMetadata\xDAA\x17tensorboard,update_mask\x82\xD3\xE4\x93\x02K2.google.cloud.aiplatform.v1.CreateTensorboardExperimentRequest\x1A1.google.cloud.aiplatform.v1.TensorboardExperiment\"\x98\x01\xDAA7parent,tensorboard_experiment,tensorboard_experiment_id\x82\xD3\xE4\x93\x02X\">/v1/{parent=projects/*/locations/*/tensorboards/*}/experiments:\x16tensorboard_experiment\x12\xD9\x01\x0A\x18GetTensorboardExperiment\x12;.google.cloud.aiplatform.v1.GetTensorboardExperimentRequest\x1A1.google.cloud.aiplatform.v1.TensorboardExperiment\"M\xDAA\x04name\x82\xD3\xE4\x93\x02@\x12>/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*}\x12\xAD\x02\x0A\x1BUpdateTensorboardExperiment\x12>.google.cloud.aiplatform.v1.UpdateTensorboardExperimentRequest\x1A1.google.cloud.aiplatform.v1.TensorboardExperiment\"\x9A\x01\xDAA\"tensorboard_experiment,update_mask\x82\xD3\xE4\x93\x02o2U/v1/{tensorboard_experiment.name=projects/*/locations/*/tensorboards/*/experiments/*}:\x16tensorboard_experiment\x12\xEC\x01\x0A\x1AListTensorboardExperiments\x12=.google.cloud.aiplatform.v1.ListTensorboardExperimentsRequest\x1A>.google.cloud.aiplatform.v1.ListTensorboardExperimentsResponse\"O\xDAA\x06parent\x82\xD3\xE4\x93\x02@\x12>/v1/{parent=projects/*/locations/*/tensorboards/*}/experiments\x12\xFF\x01\x0A\x1BDeleteTensorboardExperiment\x12>.google.cloud.aiplatform.v1.DeleteTensorboardExperimentRequest\x1A\x1D.google.longrunning.Operation\"\x80\x01\xCAA0\x0A\x15google.protobuf.Empty\x12\x17DeleteOperationMetadata\xDAA\x04name\x82\xD3\xE4\x93\x02@*>/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*}\x12\x88\x02\x0A\x14CreateTensorboardRun\x127.google.cloud.aiplatform.v1.CreateTensorboardRunRequest\x1A*.google.cloud.aiplatform.v1.TensorboardRun\"\x8A\x01\xDAA)parent,tensorboard_run,tensorboard_run_id\x82\xD3\xE4\x93\x02X\"E/v1/{parent=projects/*/locations/*/tensorboards/*/experiments/*}/runs:\x0Ftensorboard_run\x12\x8B\x02\x0A\x1ABatchCreateTensorboardRuns\x12=.google.cloud.aiplatform.v1.BatchCreateTensorboardRunsRequest\x1A>.google.cloud.aiplatform.v1.BatchCreateTensorboardRunsResponse\"n\xDAA\x0Fparent,requests\x82\xD3\xE4\x93\x02V\"Q/v1/{parent=projects/*/locations/*/tensorboards/*/experiments/*}/runs:batchCreate:\x01*\x12\xCB\x01\x0A\x11GetTensorboardRun\x124.google.cloud.aiplatform.v1.GetTensorboardRunRequest\x1A*.google.cloud.aiplatform.v1.TensorboardRun\"T\xDAA\x04name\x82\xD3\xE4\x93\x02G\x12E/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*}\x12\x8A\x02\x0A\x14UpdateTensorboardRun\x127.google.cloud.aiplatform.v1.UpdateTensorboardRunRequest\x1A*.google.cloud.aiplatform.v1.TensorboardRun\"\x8C\x01\xDAA\x1Btensorboard_run,update_mask\x82\xD3\xE4\x93\x02h2U/v1/{tensorboard_run.name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*}:\x0Ftensorboard_run\x12\xDE\x01\x0A\x13ListTensorboardRuns\x126.google.cloud.aiplatform.v1.ListTensorboardRunsRequest\x1A7.google.cloud.aiplatform.v1.ListTensorboardRunsResponse\"V\xDAA\x06parent\x82\xD3\xE4\x93\x02G\x12E/v1/{parent=projects/*/locations/*/tensorboards/*/experiments/*}/runs\x12\xF8\x01\x0A\x14DeleteTensorboardRun\x127.google.cloud.aiplatform.v1.DeleteTensorboardRunRequest\x1A\x1D.google.longrunning.Operation\"\x87\x01\xCAA0\x0A\x15google.protobuf.Empty\x12\x17DeleteOperationMetadata\xDAA\x04name\x82\xD3\xE4\x93\x02G*E/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*}\x12\x98\x02\x0A BatchCreateTensorboardTimeSeries\x12C.google.cloud.aiplatform.v1.BatchCreateTensorboardTimeSeriesRequest\x1AD.google.cloud.aiplatform.v1.BatchCreateTensorboardTimeSeriesResponse\"i\xDAA\x0Fparent,requests\x82\xD3\xE4\x93\x02Q\"L/v1/{parent=projects/*/locations/*/tensorboards/*/experiments/*}:batchCreate:\x01*\x12\xA7\x02\x0A\x1BCreateTensorboardTimeSeries\x12>.google.cloud.aiplatform.v1.CreateTensorboardTimeSeriesRequest\x1A1.google.cloud.aiplatform.v1.TensorboardTimeSeries\"\x94\x01\xDAA\x1Eparent,tensorboard_time_series\x82\xD3\xE4\x93\x02m\"R/v1/{parent=projects/*/locations/*/tensorboards/*/experiments/*/runs/*}/timeSeries:\x17tensorboard_time_series\x12\xED\x01\x0A\x18GetTensorboardTimeSeries\x12;.google.cloud.aiplatform.v1.GetTensorboardTimeSeriesRequest\x1A1.google.cloud.aiplatform.v1.TensorboardTimeSeries\"a\xDAA\x04name\x82\xD3\xE4\x93\x02T\x12R/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*}\x12\xC5\x02\x0A\x1BUpdateTensorboardTimeSeries\x12>.google.cloud.aiplatform.v1.UpdateTensorboardTimeSeriesRequest\x1A1.google.cloud.aiplatform.v1.TensorboardTimeSeries\"\xB2\x01\xDAA#tensorboard_time_series,update_mask\x82\xD3\xE4\x93\x02\x85\x012j/v1/{tensorboard_time_series.name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*}:\x17tensorboard_time_series\x12\xFD\x01\x0A\x19ListTensorboardTimeSeries\x12<.google.cloud.aiplatform.v1.ListTensorboardTimeSeriesRequest\x1A=.google.cloud.aiplatform.v1.ListTensorboardTimeSeriesResponse\"c\xDAA\x06parent\x82\xD3\xE4\x93\x02T\x12R/v1/{parent=projects/*/locations/*/tensorboards/*/experiments/*/runs/*}/timeSeries\x12\x93\x02\x0A\x1BDeleteTensorboardTimeSeries\x12>.google.cloud.aiplatform.v1.DeleteTensorboardTimeSeriesRequest\x1A\x1D.google.longrunning.Operation\"\x94\x01\xCAA0\x0A\x15google.protobuf.Empty\x12\x17DeleteOperationMetadata\xDAA\x04name\x82\xD3\xE4\x93\x02T*R/v1/{name=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*}\x12\x8C\x02\x0A\"BatchReadTensorboardTimeSeriesData\x12E.google.cloud.aiplatform.v1.BatchReadTensorboardTimeSeriesDataRequest\x1AF.google.cloud.aiplatform.v1.BatchReadTensorboardTimeSeriesDataResponse\"W\xDAA\x0Btensorboard\x82\xD3\xE4\x93\x02C\x12A/v1/{tensorboard=projects/*/locations/*/tensorboards/*}:batchRead\x12\xB3\x02\x0A\x1DReadTensorboardTimeSeriesData\x12@.google.cloud.aiplatform.v1.ReadTensorboardTimeSeriesDataRequest\x1AA.google.cloud.aiplatform.v1.ReadTensorboardTimeSeriesDataResponse\"\x8C\x01\xDAA\x17tensorboard_time_series\x82\xD3\xE4\x93\x02l\x12j/v1/{tensorboard_time_series=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*}:read\x12\x92\x02\x0A\x17ReadTensorboardBlobData\x12:.google.cloud.aiplatform.v1.ReadTensorboardBlobDataRequest\x1A;.google.cloud.aiplatform.v1.ReadTensorboardBlobDataResponse\"|\xDAA\x0Btime_series\x82\xD3\xE4\x93\x02h\x12f/v1/{time_series=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*}:readBlobData0\x01\x12\xBC\x02\x0A\x1EWriteTensorboardExperimentData\x12A.google.cloud.aiplatform.v1.WriteTensorboardExperimentDataRequest\x1AB.google.cloud.aiplatform.v1.WriteTensorboardExperimentDataResponse\"\x92\x01\xDAA.tensorboard_experiment,write_run_data_requests\x82\xD3\xE4\x93\x02[\"V/v1/{tensorboard_experiment=projects/*/locations/*/tensorboards/*/experiments/*}:write:\x01*\x12\x99\x02\x0A\x17WriteTensorboardRunData\x12:.google.cloud.aiplatform.v1.WriteTensorboardRunDataRequest\x1A;.google.cloud.aiplatform.v1.WriteTensorboardRunDataResponse\"\x84\x01\xDAA tensorboard_run,time_series_data\x82\xD3\xE4\x93\x02[\"V/v1/{tensorboard_run=projects/*/locations/*/tensorboards/*/experiments/*/runs/*}:write:\x01*\x12\xD5\x02\x0A\x1FExportTensorboardTimeSeriesData\x12B.google.cloud.aiplatform.v1.ExportTensorboardTimeSeriesDataRequest\x1AC.google.cloud.aiplatform.v1.ExportTensorboardTimeSeriesDataResponse\"\xA8\x01\xDAA\x17tensorboard_time_series\x82\xD3\xE4\x93\x02\x87\x01\"\x81\x01/v1/{tensorboard_time_series=projects/*/locations/*/tensorboards/*/experiments/*/runs/*/timeSeries/*}:exportTensorboardTimeSeries:\x01*\x1A\x86\x01\xCAA\x19aiplatform.googleapis.com\xD2Aghttps://www.googleapis.com/auth/cloud-platform,https://www.googleapis.com/auth/cloud-platform.read-onlyB\xD5\x01\x0A\x1Ecom.google.cloud.aiplatform.v1B\x17TensorboardServiceProtoP\x01Z>cloud.google.com/go/aiplatform/apiv1/aiplatformpb;aiplatformpb\xAA\x02\x1AGoogle.Cloud.AIPlatform.V1\xCA\x02\x1AGoogle\\Cloud\\AIPlatform\\V1\xEA\x02\x1DGoogle::Cloud::AIPlatform::V1b\x06proto3" + , 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 000000000000..4b9eaec56f8a --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/TensorboardTimeSeries.php @@ -0,0 +1,27 @@ +internalAddGeneratedFile( + "\x0A\xB7\x09\x0A8google/cloud/aiplatform/v1/tensorboard_time_series.proto\x12\x1Agoogle.cloud.aiplatform.v1\x1A\x19google/api/resource.proto\x1A\x1Fgoogle/protobuf/timestamp.proto\"\xBF\x06\x0A\x15TensorboardTimeSeries\x12\x11\x0A\x04name\x18\x01 \x01(\x09B\x03\xE0A\x03\x12\x19\x0A\x0Cdisplay_name\x18\x02 \x01(\x09B\x03\xE0A\x02\x12\x13\x0A\x0Bdescription\x18\x03 \x01(\x09\x12W\x0A\x0Avalue_type\x18\x04 \x01(\x0E2;.google.cloud.aiplatform.v1.TensorboardTimeSeries.ValueTypeB\x06\xE0A\x02\xE0A\x05\x124\x0A\x0Bcreate_time\x18\x05 \x01(\x0B2\x1A.google.protobuf.TimestampB\x03\xE0A\x03\x124\x0A\x0Bupdate_time\x18\x06 \x01(\x0B2\x1A.google.protobuf.TimestampB\x03\xE0A\x03\x12\x0C\x0A\x04etag\x18\x07 \x01(\x09\x12\x18\x0A\x0Bplugin_name\x18\x08 \x01(\x09B\x03\xE0A\x05\x12\x13\x0A\x0Bplugin_data\x18\x09 \x01(\x0C\x12Q\x0A\x08metadata\x18\x0A \x01(\x0B2:.google.cloud.aiplatform.v1.TensorboardTimeSeries.MetadataB\x03\xE0A\x03\x1A\x80\x01\x0A\x08Metadata\x12\x15\x0A\x08max_step\x18\x01 \x01(\x03B\x03\xE0A\x03\x126\x0A\x0Dmax_wall_time\x18\x02 \x01(\x0B2\x1A.google.protobuf.TimestampB\x03\xE0A\x03\x12%\x0A\x18max_blob_sequence_length\x18\x03 \x01(\x03B\x03\xE0A\x03\"R\x0A\x09ValueType\x12\x1A\x0A\x16VALUE_TYPE_UNSPECIFIED\x10\x00\x12\x0A\x0A\x06SCALAR\x10\x01\x12\x0A\x0A\x06TENSOR\x10\x02\x12\x11\x0A\x0DBLOB_SEQUENCE\x10\x03:\xB6\x01\xEAA\xB2\x01\x0A/aiplatform.googleapis.com/TensorboardTimeSeries\x12\x7Fprojects/{project}/locations/{location}/tensorboards/{tensorboard}/experiments/{experiment}/runs/{run}/timeSeries/{time_series}B\xD8\x01\x0A\x1Ecom.google.cloud.aiplatform.v1B\x1ATensorboardTimeSeriesProtoP\x01Z>cloud.google.com/go/aiplatform/apiv1/aiplatformpb;aiplatformpb\xAA\x02\x1AGoogle.Cloud.AIPlatform.V1\xCA\x02\x1AGoogle\\Cloud\\AIPlatform\\V1\xEA\x02\x1DGoogle::Cloud::AIPlatform::V1b\x06proto3" + , true); + + static::$is_initialized = true; + } +} + 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 000000000000..bb6004b3c459 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/Tool.php @@ -0,0 +1,29 @@ +internalAddGeneratedFile( + "\x0A\x8F/\x0A%google/cloud/aiplatform/v1/tool.proto\x12\x1Agoogle.cloud.aiplatform.v1\x1A\x19google/api/resource.proto\x1A(google/cloud/aiplatform/v1/openapi.proto\x1A\x1Cgoogle/protobuf/struct.proto\x1A\x18google/type/latlng.proto\"\xAB\x0A\x0A\x04Tool\x12S\x0A\x15function_declarations\x18\x01 \x03(\x0B2/.google.cloud.aiplatform.v1.FunctionDeclarationB\x03\xE0A\x01\x12=\x0A\x09retrieval\x18\x02 \x01(\x0B2%.google.cloud.aiplatform.v1.RetrievalB\x03\xE0A\x01\x12I\x0A\x0Dgoogle_search\x18\x07 \x01(\x0B2-.google.cloud.aiplatform.v1.Tool.GoogleSearchB\x03\xE0A\x01\x12W\x0A\x17google_search_retrieval\x18\x03 \x01(\x0B21.google.cloud.aiplatform.v1.GoogleSearchRetrievalB\x03\xE0A\x01\x12@\x0A\x0Bgoogle_maps\x18\x05 \x01(\x0B2&.google.cloud.aiplatform.v1.GoogleMapsB\x03\xE0A\x01\x12S\x0A\x15enterprise_web_search\x18\x06 \x01(\x0B2/.google.cloud.aiplatform.v1.EnterpriseWebSearchB\x03\xE0A\x01\x12K\x0A\x0Ecode_execution\x18\x04 \x01(\x0B2..google.cloud.aiplatform.v1.Tool.CodeExecutionB\x03\xE0A\x01\x12@\x0A\x0Burl_context\x18\x0A \x01(\x0B2&.google.cloud.aiplatform.v1.UrlContextB\x03\xE0A\x01\x12G\x0A\x0Ccomputer_use\x18\x0B \x01(\x0B2,.google.cloud.aiplatform.v1.Tool.ComputerUseB\x03\xE0A\x01\x1A\xA1\x01\x0A\x0CGoogleSearch\x12\x1C\x0A\x0Fexclude_domains\x18\x03 \x03(\x09B\x03\xE0A\x01\x12[\x0A\x13blocking_confidence\x18\x04 \x01(\x0E24.google.cloud.aiplatform.v1.Tool.PhishBlockThresholdB\x03\xE0A\x01H\x00\x88\x01\x01B\x16\x0A\x14_blocking_confidence\x1A\x0F\x0A\x0DCodeExecution\x1A\xD2\x01\x0A\x0BComputerUse\x12R\x0A\x0Benvironment\x18\x01 \x01(\x0E28.google.cloud.aiplatform.v1.Tool.ComputerUse.EnvironmentB\x03\xE0A\x02\x12*\x0A\x1Dexcluded_predefined_functions\x18\x02 \x03(\x09B\x03\xE0A\x01\"C\x0A\x0BEnvironment\x12\x1B\x0A\x17ENVIRONMENT_UNSPECIFIED\x10\x00\x12\x17\x0A\x13ENVIRONMENT_BROWSER\x10\x01\"\xE5\x01\x0A\x13PhishBlockThreshold\x12%\x0A!PHISH_BLOCK_THRESHOLD_UNSPECIFIED\x10\x00\x12\x17\x0A\x13BLOCK_LOW_AND_ABOVE\x10\x1E\x12\x1A\x0A\x16BLOCK_MEDIUM_AND_ABOVE\x10(\x12\x18\x0A\x14BLOCK_HIGH_AND_ABOVE\x102\x12\x1A\x0A\x16BLOCK_HIGHER_AND_ABOVE\x107\x12\x1D\x0A\x19BLOCK_VERY_HIGH_AND_ABOVE\x10<\x12\x1D\x0A\x19BLOCK_ONLY_EXTREMELY_HIGH\x10dJ\x04\x08\x08\x10\x09J\x04\x08\x09\x10\x0A\"\x0C\x0A\x0AUrlContext\"\xB2\x02\x0A\x13FunctionDeclaration\x12\x11\x0A\x04name\x18\x01 \x01(\x09B\x03\xE0A\x02\x12\x18\x0A\x0Bdescription\x18\x02 \x01(\x09B\x03\xE0A\x01\x12;\x0A\x0Aparameters\x18\x03 \x01(\x0B2\".google.cloud.aiplatform.v1.SchemaB\x03\xE0A\x01\x12;\x0A\x16parameters_json_schema\x18\x05 \x01(\x0B2\x16.google.protobuf.ValueB\x03\xE0A\x01\x129\x0A\x08response\x18\x04 \x01(\x0B2\".google.cloud.aiplatform.v1.SchemaB\x03\xE0A\x01\x129\x0A\x14response_json_schema\x18\x06 \x01(\x0B2\x16.google.protobuf.ValueB\x03\xE0A\x01\"\xAC\x01\x0A\x0CFunctionCall\x12\x11\x0A\x04name\x18\x01 \x01(\x09B\x03\xE0A\x01\x12*\x0A\x04args\x18\x02 \x01(\x0B2\x17.google.protobuf.StructB\x03\xE0A\x01\x12A\x0A\x0Cpartial_args\x18\x04 \x03(\x0B2&.google.cloud.aiplatform.v1.PartialArgB\x03\xE0A\x01\x12\x1A\x0A\x0Dwill_continue\x18\x05 \x01(\x08B\x03\xE0A\x01\"\xD5\x01\x0A\x0APartialArg\x125\x0A\x0Anull_value\x18\x02 \x01(\x0E2\x1A.google.protobuf.NullValueB\x03\xE0A\x01H\x00\x12\x1B\x0A\x0Cnumber_value\x18\x03 \x01(\x01B\x03\xE0A\x01H\x00\x12\x1B\x0A\x0Cstring_value\x18\x04 \x01(\x09B\x03\xE0A\x01H\x00\x12\x19\x0A\x0Abool_value\x18\x05 \x01(\x08B\x03\xE0A\x01H\x00\x12\x16\x0A\x09json_path\x18\x01 \x01(\x09B\x03\xE0A\x02\x12\x1A\x0A\x0Dwill_continue\x18\x06 \x01(\x08B\x03\xE0A\x01B\x07\x0A\x05delta\"\xB2\x01\x0A\x14FunctionResponsePart\x12G\x0A\x0Binline_data\x18\x01 \x01(\x0B20.google.cloud.aiplatform.v1.FunctionResponseBlobH\x00\x12I\x0A\x09file_data\x18\x02 \x01(\x0B24.google.cloud.aiplatform.v1.FunctionResponseFileDataH\x00B\x06\x0A\x04data\"\\\x0A\x14FunctionResponseBlob\x12\x16\x0A\x09mime_type\x18\x01 \x01(\x09B\x03\xE0A\x02\x12\x11\x0A\x04data\x18\x02 \x01(\x0CB\x03\xE0A\x02\x12\x19\x0A\x0Cdisplay_name\x18\x04 \x01(\x09B\x03\xE0A\x01\"d\x0A\x18FunctionResponseFileData\x12\x16\x0A\x09mime_type\x18\x01 \x01(\x09B\x03\xE0A\x02\x12\x15\x0A\x08file_uri\x18\x02 \x01(\x09B\x03\xE0A\x02\x12\x19\x0A\x0Cdisplay_name\x18\x03 \x01(\x09B\x03\xE0A\x01\"\x9B\x01\x0A\x10FunctionResponse\x12\x11\x0A\x04name\x18\x01 \x01(\x09B\x03\xE0A\x02\x12.\x0A\x08response\x18\x02 \x01(\x0B2\x17.google.protobuf.StructB\x03\xE0A\x02\x12D\x0A\x05parts\x18\x04 \x03(\x0B20.google.cloud.aiplatform.v1.FunctionResponsePartB\x03\xE0A\x01\"\xA1\x01\x0A\x0EExecutableCode\x12J\x0A\x08language\x18\x01 \x01(\x0E23.google.cloud.aiplatform.v1.ExecutableCode.LanguageB\x03\xE0A\x02\x12\x11\x0A\x04code\x18\x02 \x01(\x09B\x03\xE0A\x02\"0\x0A\x08Language\x12\x18\x0A\x14LANGUAGE_UNSPECIFIED\x10\x00\x12\x0A\x0A\x06PYTHON\x10\x01\"\xE0\x01\x0A\x13CodeExecutionResult\x12M\x0A\x07outcome\x18\x01 \x01(\x0E27.google.cloud.aiplatform.v1.CodeExecutionResult.OutcomeB\x03\xE0A\x02\x12\x13\x0A\x06output\x18\x02 \x01(\x09B\x03\xE0A\x01\"e\x0A\x07Outcome\x12\x17\x0A\x13OUTCOME_UNSPECIFIED\x10\x00\x12\x0E\x0A\x0AOUTCOME_OK\x10\x01\x12\x12\x0A\x0EOUTCOME_FAILED\x10\x02\x12\x1D\x0A\x19OUTCOME_DEADLINE_EXCEEDED\x10\x03\"\xC9\x01\x0A\x09Retrieval\x12F\x0A\x10vertex_ai_search\x18\x02 \x01(\x0B2*.google.cloud.aiplatform.v1.VertexAISearchH\x00\x12F\x0A\x10vertex_rag_store\x18\x04 \x01(\x0B2*.google.cloud.aiplatform.v1.VertexRagStoreH\x00\x12\"\x0A\x13disable_attribution\x18\x03 \x01(\x08B\x05\x18\x01\xE0A\x01B\x08\x0A\x06source\"\xAA\x03\x0A\x0EVertexRagStore\x12R\x0A\x0Drag_resources\x18\x04 \x03(\x0B26.google.cloud.aiplatform.v1.VertexRagStore.RagResourceB\x03\xE0A\x01\x12\$\x0A\x10similarity_top_k\x18\x02 \x01(\x05B\x05\x18\x01\xE0A\x01H\x00\x88\x01\x01\x12-\x0A\x19vector_distance_threshold\x18\x03 \x01(\x01B\x05\x18\x01\xE0A\x01H\x01\x88\x01\x01\x12Q\x0A\x14rag_retrieval_config\x18\x06 \x01(\x0B2..google.cloud.aiplatform.v1.RagRetrievalConfigB\x03\xE0A\x01\x1Ai\x0A\x0BRagResource\x12?\x0A\x0Arag_corpus\x18\x01 \x01(\x09B+\xE0A\x01\xFAA%\x0A#aiplatform.googleapis.com/RagCorpus\x12\x19\x0A\x0Crag_file_ids\x18\x02 \x03(\x09B\x03\xE0A\x01B\x13\x0A\x11_similarity_top_kB\x1C\x0A\x1A_vector_distance_threshold\"\xFA\x01\x0A\x0EVertexAISearch\x12\x16\x0A\x09datastore\x18\x01 \x01(\x09B\x03\xE0A\x01\x12\x13\x0A\x06engine\x18\x02 \x01(\x09B\x03\xE0A\x01\x12\x18\x0A\x0Bmax_results\x18\x03 \x01(\x05B\x03\xE0A\x01\x12\x13\x0A\x06filter\x18\x04 \x01(\x09B\x03\xE0A\x01\x12R\x0A\x10data_store_specs\x18\x05 \x03(\x0B28.google.cloud.aiplatform.v1.VertexAISearch.DataStoreSpec\x1A8\x0A\x0DDataStoreSpec\x12\x12\x0A\x0Adata_store\x18\x01 \x01(\x09\x12\x13\x0A\x06filter\x18\x02 \x01(\x09B\x03\xE0A\x01\"m\x0A\x15GoogleSearchRetrieval\x12T\x0A\x18dynamic_retrieval_config\x18\x02 \x01(\x0B22.google.cloud.aiplatform.v1.DynamicRetrievalConfig\"(\x0A\x0AGoogleMaps\x12\x1A\x0A\x0Denable_widget\x18\x01 \x01(\x08B\x03\xE0A\x01\"\xA8\x01\x0A\x13EnterpriseWebSearch\x12\x1C\x0A\x0Fexclude_domains\x18\x01 \x03(\x09B\x03\xE0A\x01\x12[\x0A\x13blocking_confidence\x18\x02 \x01(\x0E24.google.cloud.aiplatform.v1.Tool.PhishBlockThresholdB\x03\xE0A\x01H\x00\x88\x01\x01B\x16\x0A\x14_blocking_confidence\"\xCA\x01\x0A\x16DynamicRetrievalConfig\x12E\x0A\x04mode\x18\x01 \x01(\x0E27.google.cloud.aiplatform.v1.DynamicRetrievalConfig.Mode\x12#\x0A\x11dynamic_threshold\x18\x02 \x01(\x02B\x03\xE0A\x01H\x00\x88\x01\x01\".\x0A\x04Mode\x12\x14\x0A\x10MODE_UNSPECIFIED\x10\x00\x12\x10\x0A\x0CMODE_DYNAMIC\x10\x01B\x14\x0A\x12_dynamic_threshold\"\xB1\x01\x0A\x0AToolConfig\x12W\x0A\x17function_calling_config\x18\x01 \x01(\x0B21.google.cloud.aiplatform.v1.FunctionCallingConfigB\x03\xE0A\x01\x12J\x0A\x10retrieval_config\x18\x02 \x01(\x0B2+.google.cloud.aiplatform.v1.RetrievalConfigB\x03\xE0A\x01\"\x84\x02\x0A\x15FunctionCallingConfig\x12I\x0A\x04mode\x18\x01 \x01(\x0E26.google.cloud.aiplatform.v1.FunctionCallingConfig.ModeB\x03\xE0A\x01\x12#\x0A\x16allowed_function_names\x18\x02 \x03(\x09B\x03\xE0A\x01\x12+\x0A\x1Estream_function_call_arguments\x18\x04 \x01(\x08B\x03\xE0A\x01\"N\x0A\x04Mode\x12\x14\x0A\x10MODE_UNSPECIFIED\x10\x00\x12\x08\x0A\x04AUTO\x10\x01\x12\x07\x0A\x03ANY\x10\x02\x12\x08\x0A\x04NONE\x10\x03\x12\x0D\x0A\x09VALIDATED\x10\x05\"\x04\x08\x04\x10\x04\"v\x0A\x0FRetrievalConfig\x12)\x0A\x07lat_lng\x18\x01 \x01(\x0B2\x13.google.type.LatLngH\x00\x88\x01\x01\x12\x1A\x0A\x0Dlanguage_code\x18\x02 \x01(\x09H\x01\x88\x01\x01B\x0A\x0A\x08_lat_lngB\x10\x0A\x0E_language_code\"\xAA\x05\x0A\x12RagRetrievalConfig\x12\x12\x0A\x05top_k\x18\x01 \x01(\x05B\x03\xE0A\x01\x12J\x0A\x06filter\x18\x03 \x01(\x0B25.google.cloud.aiplatform.v1.RagRetrievalConfig.FilterB\x03\xE0A\x01\x12L\x0A\x07ranking\x18\x04 \x01(\x0B26.google.cloud.aiplatform.v1.RagRetrievalConfig.RankingB\x03\xE0A\x01\x1A\x93\x01\x0A\x06Filter\x12(\x0A\x19vector_distance_threshold\x18\x03 \x01(\x01B\x03\xE0A\x01H\x00\x12*\x0A\x1Bvector_similarity_threshold\x18\x04 \x01(\x01B\x03\xE0A\x01H\x00\x12\x1C\x0A\x0Fmetadata_filter\x18\x02 \x01(\x09B\x03\xE0A\x01B\x15\x0A\x13vector_db_threshold\x1A\xCF\x02\x0A\x07Ranking\x12_\x0A\x0Crank_service\x18\x01 \x01(\x0B2B.google.cloud.aiplatform.v1.RagRetrievalConfig.Ranking.RankServiceB\x03\xE0A\x01H\x00\x12[\x0A\x0Allm_ranker\x18\x03 \x01(\x0B2@.google.cloud.aiplatform.v1.RagRetrievalConfig.Ranking.LlmRankerB\x03\xE0A\x01H\x00\x1A:\x0A\x0BRankService\x12\x1C\x0A\x0Amodel_name\x18\x01 \x01(\x09B\x03\xE0A\x01H\x00\x88\x01\x01B\x0D\x0A\x0B_model_name\x1A8\x0A\x09LlmRanker\x12\x1C\x0A\x0Amodel_name\x18\x01 \x01(\x09B\x03\xE0A\x01H\x00\x88\x01\x01B\x0D\x0A\x0B_model_nameB\x10\x0A\x0Eranking_configB\xC7\x01\x0A\x1Ecom.google.cloud.aiplatform.v1B\x09ToolProtoP\x01Z>cloud.google.com/go/aiplatform/apiv1/aiplatformpb;aiplatformpb\xAA\x02\x1AGoogle.Cloud.AIPlatform.V1\xCA\x02\x1AGoogle\\Cloud\\AIPlatform\\V1\xEA\x02\x1DGoogle::Cloud::AIPlatform::V1b\x06proto3" + , true); + + static::$is_initialized = true; + } +} + 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 000000000000..57b0d28aea79 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/TrainingPipeline.php @@ -0,0 +1,33 @@ +internalAddGeneratedFile( + "\x0A\xE7\x15\x0A2google/cloud/aiplatform/v1/training_pipeline.proto\x12\x1Agoogle.cloud.aiplatform.v1\x1A\x19google/api/resource.proto\x1A0google/cloud/aiplatform/v1/encryption_spec.proto\x1A#google/cloud/aiplatform/v1/io.proto\x1A&google/cloud/aiplatform/v1/model.proto\x1A/google/cloud/aiplatform/v1/pipeline_state.proto\x1A\x1Cgoogle/protobuf/struct.proto\x1A\x1Fgoogle/protobuf/timestamp.proto\x1A\x17google/rpc/status.proto\"\x8E\x08\x0A\x10TrainingPipeline\x12\x11\x0A\x04name\x18\x01 \x01(\x09B\x03\xE0A\x03\x12\x19\x0A\x0Cdisplay_name\x18\x02 \x01(\x09B\x03\xE0A\x02\x12F\x0A\x11input_data_config\x18\x03 \x01(\x0B2+.google.cloud.aiplatform.v1.InputDataConfig\x12%\x0A\x18training_task_definition\x18\x04 \x01(\x09B\x03\xE0A\x02\x129\x0A\x14training_task_inputs\x18\x05 \x01(\x0B2\x16.google.protobuf.ValueB\x03\xE0A\x02\x12;\x0A\x16training_task_metadata\x18\x06 \x01(\x0B2\x16.google.protobuf.ValueB\x03\xE0A\x03\x12:\x0A\x0Fmodel_to_upload\x18\x07 \x01(\x0B2!.google.cloud.aiplatform.v1.Model\x12\x15\x0A\x08model_id\x18\x16 \x01(\x09B\x03\xE0A\x01\x12\x19\x0A\x0Cparent_model\x18\x15 \x01(\x09B\x03\xE0A\x01\x12=\x0A\x05state\x18\x09 \x01(\x0E2).google.cloud.aiplatform.v1.PipelineStateB\x03\xE0A\x03\x12&\x0A\x05error\x18\x0A \x01(\x0B2\x12.google.rpc.StatusB\x03\xE0A\x03\x124\x0A\x0Bcreate_time\x18\x0B \x01(\x0B2\x1A.google.protobuf.TimestampB\x03\xE0A\x03\x123\x0A\x0Astart_time\x18\x0C \x01(\x0B2\x1A.google.protobuf.TimestampB\x03\xE0A\x03\x121\x0A\x08end_time\x18\x0D \x01(\x0B2\x1A.google.protobuf.TimestampB\x03\xE0A\x03\x124\x0A\x0Bupdate_time\x18\x0E \x01(\x0B2\x1A.google.protobuf.TimestampB\x03\xE0A\x03\x12H\x0A\x06labels\x18\x0F \x03(\x0B28.google.cloud.aiplatform.v1.TrainingPipeline.LabelsEntry\x12C\x0A\x0Fencryption_spec\x18\x12 \x01(\x0B2*.google.cloud.aiplatform.v1.EncryptionSpec\x1A-\x0A\x0BLabelsEntry\x12\x0B\x0A\x03key\x18\x01 \x01(\x09\x12\x0D\x0A\x05value\x18\x02 \x01(\x09:\x028\x01:~\xEAA{\x0A*aiplatform.googleapis.com/TrainingPipeline\x12Mprojects/{project}/locations/{location}/trainingPipelines/{training_pipeline}\"\xAF\x05\x0A\x0FInputDataConfig\x12C\x0A\x0Efraction_split\x18\x02 \x01(\x0B2).google.cloud.aiplatform.v1.FractionSplitH\x00\x12?\x0A\x0Cfilter_split\x18\x03 \x01(\x0B2'.google.cloud.aiplatform.v1.FilterSplitH\x00\x12G\x0A\x10predefined_split\x18\x04 \x01(\x0B2+.google.cloud.aiplatform.v1.PredefinedSplitH\x00\x12E\x0A\x0Ftimestamp_split\x18\x05 \x01(\x0B2*.google.cloud.aiplatform.v1.TimestampSplitH\x00\x12G\x0A\x10stratified_split\x18\x0C \x01(\x0B2+.google.cloud.aiplatform.v1.StratifiedSplitH\x00\x12E\x0A\x0Fgcs_destination\x18\x08 \x01(\x0B2*.google.cloud.aiplatform.v1.GcsDestinationH\x01\x12O\x0A\x14bigquery_destination\x18\x0A \x01(\x0B2/.google.cloud.aiplatform.v1.BigQueryDestinationH\x01\x12\x17\x0A\x0Adataset_id\x18\x01 \x01(\x09B\x03\xE0A\x02\x12\x1A\x0A\x12annotations_filter\x18\x06 \x01(\x09\x12\x1D\x0A\x15annotation_schema_uri\x18\x09 \x01(\x09\x12\x16\x0A\x0Esaved_query_id\x18\x07 \x01(\x09\x12!\x0A\x19persist_ml_use_assignment\x18\x0B \x01(\x08B\x07\x0A\x05splitB\x0D\x0A\x0Bdestination\"^\x0A\x0DFractionSplit\x12\x19\x0A\x11training_fraction\x18\x01 \x01(\x01\x12\x1B\x0A\x13validation_fraction\x18\x02 \x01(\x01\x12\x15\x0A\x0Dtest_fraction\x18\x03 \x01(\x01\"e\x0A\x0BFilterSplit\x12\x1C\x0A\x0Ftraining_filter\x18\x01 \x01(\x09B\x03\xE0A\x02\x12\x1E\x0A\x11validation_filter\x18\x02 \x01(\x09B\x03\xE0A\x02\x12\x18\x0A\x0Btest_filter\x18\x03 \x01(\x09B\x03\xE0A\x02\"#\x0A\x0FPredefinedSplit\x12\x10\x0A\x03key\x18\x01 \x01(\x09B\x03\xE0A\x02\"q\x0A\x0ETimestampSplit\x12\x19\x0A\x11training_fraction\x18\x01 \x01(\x01\x12\x1B\x0A\x13validation_fraction\x18\x02 \x01(\x01\x12\x15\x0A\x0Dtest_fraction\x18\x03 \x01(\x01\x12\x10\x0A\x03key\x18\x04 \x01(\x09B\x03\xE0A\x02\"r\x0A\x0FStratifiedSplit\x12\x19\x0A\x11training_fraction\x18\x01 \x01(\x01\x12\x1B\x0A\x13validation_fraction\x18\x02 \x01(\x01\x12\x15\x0A\x0Dtest_fraction\x18\x03 \x01(\x01\x12\x10\x0A\x03key\x18\x04 \x01(\x09B\x03\xE0A\x02B\xD3\x01\x0A\x1Ecom.google.cloud.aiplatform.v1B\x15TrainingPipelineProtoP\x01Z>cloud.google.com/go/aiplatform/apiv1/aiplatformpb;aiplatformpb\xAA\x02\x1AGoogle.Cloud.AIPlatform.V1\xCA\x02\x1AGoogle\\Cloud\\AIPlatform\\V1\xEA\x02\x1DGoogle::Cloud::AIPlatform::V1b\x06proto3" + , true); + + static::$is_initialized = true; + } +} + 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 000000000000..ab92fa2d2aea --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/TuningJob.php @@ -0,0 +1,31 @@ +internalAddGeneratedFile( + "\x0A\x83!\x0A+google/cloud/aiplatform/v1/tuning_job.proto\x12\x1Agoogle.cloud.aiplatform.v1\x1A\x19google/api/resource.proto\x1A(google/cloud/aiplatform/v1/content.proto\x1A0google/cloud/aiplatform/v1/encryption_spec.proto\x1A*google/cloud/aiplatform/v1/job_state.proto\x1A\x1Fgoogle/protobuf/timestamp.proto\x1A\x17google/rpc/status.proto\"\x8D\x09\x0A\x09TuningJob\x12\x14\x0A\x0Abase_model\x18\x04 \x01(\x09H\x00\x12D\x0A\x0Fpre_tuned_model\x18\x1F \x01(\x0B2).google.cloud.aiplatform.v1.PreTunedModelH\x00\x12R\x0A\x16supervised_tuning_spec\x18\x05 \x01(\x0B20.google.cloud.aiplatform.v1.SupervisedTuningSpecH\x01\x12\x14\x0A\x04name\x18\x01 \x01(\x09B\x06\xE0A\x08\xE0A\x03\x12%\x0A\x18tuned_model_display_name\x18\x02 \x01(\x09B\x03\xE0A\x01\x12\x18\x0A\x0Bdescription\x18\x03 \x01(\x09B\x03\xE0A\x01\x128\x0A\x05state\x18\x06 \x01(\x0E2\$.google.cloud.aiplatform.v1.JobStateB\x03\xE0A\x03\x124\x0A\x0Bcreate_time\x18\x07 \x01(\x0B2\x1A.google.protobuf.TimestampB\x03\xE0A\x03\x123\x0A\x0Astart_time\x18\x08 \x01(\x0B2\x1A.google.protobuf.TimestampB\x03\xE0A\x03\x121\x0A\x08end_time\x18\x09 \x01(\x0B2\x1A.google.protobuf.TimestampB\x03\xE0A\x03\x124\x0A\x0Bupdate_time\x18\x0A \x01(\x0B2\x1A.google.protobuf.TimestampB\x03\xE0A\x03\x12&\x0A\x05error\x18\x0B \x01(\x0B2\x12.google.rpc.StatusB\x03\xE0A\x03\x12F\x0A\x06labels\x18\x0C \x03(\x0B21.google.cloud.aiplatform.v1.TuningJob.LabelsEntryB\x03\xE0A\x01\x12=\x0A\x0Aexperiment\x18\x0D \x01(\x09B)\xE0A\x03\xFAA#\x0A!aiplatform.googleapis.com/Context\x12@\x0A\x0Btuned_model\x18\x0E \x01(\x0B2&.google.cloud.aiplatform.v1.TunedModelB\x03\xE0A\x03\x12K\x0A\x11tuning_data_stats\x18\x0F \x01(\x0B2+.google.cloud.aiplatform.v1.TuningDataStatsB\x03\xE0A\x03\x12C\x0A\x0Fencryption_spec\x18\x10 \x01(\x0B2*.google.cloud.aiplatform.v1.EncryptionSpec\x12\x17\x0A\x0Fservice_account\x18\x16 \x01(\x09\x1A-\x0A\x0BLabelsEntry\x12\x0B\x0A\x03key\x18\x01 \x01(\x09\x12\x0D\x0A\x05value\x18\x02 \x01(\x09:\x028\x01:\x80\x01\xEAA}\x0A#aiplatform.googleapis.com/TuningJob\x12?projects/{project}/locations/{location}/tuningJobs/{tuning_job}*\x0AtuningJobs2\x09tuningJobB\x0E\x0A\x0Csource_modelB\x0D\x0A\x0Btuning_spec\"\xCE\x01\x0A\x0ATunedModel\x126\x0A\x05model\x18\x01 \x01(\x09B'\xE0A\x03\xFAA!\x0A\x1Faiplatform.googleapis.com/Model\x12<\x0A\x08endpoint\x18\x02 \x01(\x09B*\xE0A\x03\xFAA\$\x0A\"aiplatform.googleapis.com/Endpoint\x12J\x0A\x0Bcheckpoints\x18\x03 \x03(\x0B20.google.cloud.aiplatform.v1.TunedModelCheckpointB\x03\xE0A\x03\"\xF2\x02\x0A#SupervisedTuningDatasetDistribution\x12\x10\x0A\x03sum\x18\x01 \x01(\x03B\x03\xE0A\x03\x12\x19\x0A\x0Cbillable_sum\x18\x09 \x01(\x03B\x03\xE0A\x03\x12\x10\x0A\x03min\x18\x02 \x01(\x01B\x03\xE0A\x03\x12\x10\x0A\x03max\x18\x03 \x01(\x01B\x03\xE0A\x03\x12\x11\x0A\x04mean\x18\x04 \x01(\x01B\x03\xE0A\x03\x12\x13\x0A\x06median\x18\x05 \x01(\x01B\x03\xE0A\x03\x12\x0F\x0A\x02p5\x18\x06 \x01(\x01B\x03\xE0A\x03\x12\x10\x0A\x03p95\x18\x07 \x01(\x01B\x03\xE0A\x03\x12c\x0A\x07buckets\x18\x08 \x03(\x0B2M.google.cloud.aiplatform.v1.SupervisedTuningDatasetDistribution.DatasetBucketB\x03\xE0A\x03\x1AJ\x0A\x0DDatasetBucket\x12\x12\x0A\x05count\x18\x01 \x01(\x01B\x03\xE0A\x03\x12\x11\x0A\x04left\x18\x02 \x01(\x01B\x03\xE0A\x03\x12\x12\x0A\x05right\x18\x03 \x01(\x01B\x03\xE0A\x03\"\xFC\x05\x0A\x19SupervisedTuningDataStats\x12)\x0A\x1Ctuning_dataset_example_count\x18\x01 \x01(\x03B\x03\xE0A\x03\x12)\x0A\x1Ctotal_tuning_character_count\x18\x02 \x01(\x03B\x03\xE0A\x03\x12-\x0A\x1Etotal_billable_character_count\x18\x03 \x01(\x03B\x05\x18\x01\xE0A\x03\x12'\x0A\x1Atotal_billable_token_count\x18\x09 \x01(\x03B\x03\xE0A\x03\x12\x1E\x0A\x11tuning_step_count\x18\x04 \x01(\x03B\x03\xE0A\x03\x12k\x0A\x1Duser_input_token_distribution\x18\x05 \x01(\x0B2?.google.cloud.aiplatform.v1.SupervisedTuningDatasetDistributionB\x03\xE0A\x03\x12l\x0A\x1Euser_output_token_distribution\x18\x06 \x01(\x0B2?.google.cloud.aiplatform.v1.SupervisedTuningDatasetDistributionB\x03\xE0A\x03\x12s\x0A%user_message_per_example_distribution\x18\x07 \x01(\x0B2?.google.cloud.aiplatform.v1.SupervisedTuningDatasetDistributionB\x03\xE0A\x03\x12G\x0A\x15user_dataset_examples\x18\x08 \x03(\x0B2#.google.cloud.aiplatform.v1.ContentB\x03\xE0A\x03\x12*\x0A\x1Dtotal_truncated_example_count\x18\x0A \x01(\x03B\x03\xE0A\x03\x12&\x0A\x19truncated_example_indices\x18\x0B \x03(\x03B\x03\xE0A\x03\x12\$\x0A\x17dropped_example_reasons\x18\x0C \x03(\x09B\x03\xE0A\x03\"\x85\x01\x0A\x0FTuningDataStats\x12]\x0A\x1Csupervised_tuning_data_stats\x18\x01 \x01(\x0B25.google.cloud.aiplatform.v1.SupervisedTuningDataStatsH\x00B\x13\x0A\x11tuning_data_stats\"\xFA\x02\x0A\x19SupervisedHyperParameters\x12\x18\x0A\x0Bepoch_count\x18\x01 \x01(\x03B\x03\xE0A\x01\x12%\x0A\x18learning_rate_multiplier\x18\x02 \x01(\x01B\x03\xE0A\x01\x12\\\x0A\x0Cadapter_size\x18\x03 \x01(\x0E2A.google.cloud.aiplatform.v1.SupervisedHyperParameters.AdapterSizeB\x03\xE0A\x01\"\xBD\x01\x0A\x0BAdapterSize\x12\x1C\x0A\x18ADAPTER_SIZE_UNSPECIFIED\x10\x00\x12\x14\x0A\x10ADAPTER_SIZE_ONE\x10\x01\x12\x14\x0A\x10ADAPTER_SIZE_TWO\x10\x06\x12\x15\x0A\x11ADAPTER_SIZE_FOUR\x10\x02\x12\x16\x0A\x12ADAPTER_SIZE_EIGHT\x10\x03\x12\x18\x0A\x14ADAPTER_SIZE_SIXTEEN\x10\x04\x12\x1B\x0A\x17ADAPTER_SIZE_THIRTY_TWO\x10\x05\"\xDE\x01\x0A\x14SupervisedTuningSpec\x12!\x0A\x14training_dataset_uri\x18\x01 \x01(\x09B\x03\xE0A\x02\x12#\x0A\x16validation_dataset_uri\x18\x02 \x01(\x09B\x03\xE0A\x01\x12T\x0A\x10hyper_parameters\x18\x03 \x01(\x0B25.google.cloud.aiplatform.v1.SupervisedHyperParametersB\x03\xE0A\x01\x12(\x0A\x1Bexport_last_checkpoint_only\x18\x06 \x01(\x08B\x03\xE0A\x01\"\xE3\x01\x0A\x0DTunedModelRef\x12;\x0A\x0Btuned_model\x18\x01 \x01(\x09B\$\xFAA!\x0A\x1Faiplatform.googleapis.com/ModelH\x00\x12>\x0A\x0Atuning_job\x18\x02 \x01(\x09B(\xFAA%\x0A#aiplatform.googleapis.com/TuningJobH\x00\x12B\x0A\x0Cpipeline_job\x18\x03 \x01(\x09B*\xFAA'\x0A%aiplatform.googleapis.com/PipelineJobH\x00B\x11\x0A\x0Ftuned_model_ref\"\\\x0A\x14TunedModelCheckpoint\x12\x15\x0A\x0Dcheckpoint_id\x18\x01 \x01(\x09\x12\x0D\x0A\x05epoch\x18\x02 \x01(\x03\x12\x0C\x0A\x04step\x18\x03 \x01(\x03\x12\x10\x0A\x08endpoint\x18\x04 \x01(\x09\"\x84\x01\x0A\x0DPreTunedModel\x12>\x0A\x10tuned_model_name\x18\x01 \x01(\x09B\$\xFAA!\x0A\x1Faiplatform.googleapis.com/Model\x12\x1A\x0A\x0Dcheckpoint_id\x18\x02 \x01(\x09B\x03\xE0A\x01\x12\x17\x0A\x0Abase_model\x18\x03 \x01(\x09B\x03\xE0A\x03B\xCC\x01\x0A\x1Ecom.google.cloud.aiplatform.v1B\x0ETuningJobProtoP\x01Z>cloud.google.com/go/aiplatform/apiv1/aiplatformpb;aiplatformpb\xAA\x02\x1AGoogle.Cloud.AIPlatform.V1\xCA\x02\x1AGoogle\\Cloud\\AIPlatform\\V1\xEA\x02\x1DGoogle::Cloud::AIPlatform::V1b\x06proto3" + , true); + + static::$is_initialized = true; + } +} + 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 000000000000..bc60abfc1053 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/Types.php @@ -0,0 +1,24 @@ +internalAddGeneratedFile( + "\x0A\xA6\x08\x0A&google/cloud/aiplatform/v1/types.proto\x12\x1Agoogle.cloud.aiplatform.v1\"\x1B\x0A\x09BoolArray\x12\x0E\x0A\x06values\x18\x01 \x03(\x08\"\x1D\x0A\x0BDoubleArray\x12\x0E\x0A\x06values\x18\x01 \x03(\x01\"\x1C\x0A\x0AInt64Array\x12\x0E\x0A\x06values\x18\x01 \x03(\x03\"\x1D\x0A\x0BStringArray\x12\x0E\x0A\x06values\x18\x01 \x03(\x09\"\x93\x05\x0A\x06Tensor\x12:\x0A\x05dtype\x18\x01 \x01(\x0E2+.google.cloud.aiplatform.v1.Tensor.DataType\x12\x0D\x0A\x05shape\x18\x02 \x03(\x03\x12\x10\x0A\x08bool_val\x18\x03 \x03(\x08\x12\x12\x0A\x0Astring_val\x18\x0E \x03(\x09\x12\x11\x0A\x09bytes_val\x18\x0F \x03(\x0C\x12\x11\x0A\x09float_val\x18\x05 \x03(\x02\x12\x12\x0A\x0Adouble_val\x18\x06 \x03(\x01\x12\x0F\x0A\x07int_val\x18\x07 \x03(\x05\x12\x11\x0A\x09int64_val\x18\x08 \x03(\x03\x12\x10\x0A\x08uint_val\x18\x09 \x03(\x0D\x12\x12\x0A\x0Auint64_val\x18\x0A \x03(\x04\x124\x0A\x08list_val\x18\x0B \x03(\x0B2\".google.cloud.aiplatform.v1.Tensor\x12E\x0A\x0Astruct_val\x18\x0C \x03(\x0B21.google.cloud.aiplatform.v1.Tensor.StructValEntry\x12\x12\x0A\x0Atensor_val\x18\x0D \x01(\x0C\x1AT\x0A\x0EStructValEntry\x12\x0B\x0A\x03key\x18\x01 \x01(\x09\x121\x0A\x05value\x18\x02 \x01(\x0B2\".google.cloud.aiplatform.v1.Tensor:\x028\x01\"\xAC\x01\x0A\x08DataType\x12\x19\x0A\x15DATA_TYPE_UNSPECIFIED\x10\x00\x12\x08\x0A\x04BOOL\x10\x01\x12\x0A\x0A\x06STRING\x10\x02\x12\x09\x0A\x05FLOAT\x10\x03\x12\x0A\x0A\x06DOUBLE\x10\x04\x12\x08\x0A\x04INT8\x10\x05\x12\x09\x0A\x05INT16\x10\x06\x12\x09\x0A\x05INT32\x10\x07\x12\x09\x0A\x05INT64\x10\x08\x12\x09\x0A\x05UINT8\x10\x09\x12\x0A\x0A\x06UINT16\x10\x0A\x12\x0A\x0A\x06UINT32\x10\x0B\x12\x0A\x0A\x06UINT64\x10\x0CB\xC8\x01\x0A\x1Ecom.google.cloud.aiplatform.v1B\x0ATypesProtoP\x01Z>cloud.google.com/go/aiplatform/apiv1/aiplatformpb;aiplatformpb\xAA\x02\x1AGoogle.Cloud.AIPlatform.V1\xCA\x02\x1AGoogle\\Cloud\\AIPlatform\\V1\xEA\x02\x1DGoogle::Cloud::AIPlatform::V1b\x06proto3" + , true); + + static::$is_initialized = true; + } +} + diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/UnmanagedContainerModel.php b/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/UnmanagedContainerModel.php new file mode 100644 index 000000000000..88227176966e --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/UnmanagedContainerModel.php @@ -0,0 +1,26 @@ +internalAddGeneratedFile( + "\x0A\xAB\x04\x0A:google/cloud/aiplatform/v1/unmanaged_container_model.proto\x12\x1Agoogle.cloud.aiplatform.v1\x1A&google/cloud/aiplatform/v1/model.proto\"\xC3\x01\x0A\x17UnmanagedContainerModel\x12\x14\x0A\x0Cartifact_uri\x18\x01 \x01(\x09\x12E\x0A\x10predict_schemata\x18\x02 \x01(\x0B2+.google.cloud.aiplatform.v1.PredictSchemata\x12K\x0A\x0Econtainer_spec\x18\x03 \x01(\x0B2..google.cloud.aiplatform.v1.ModelContainerSpecB\x03\xE0A\x04B\xDA\x01\x0A\x1Ecom.google.cloud.aiplatform.v1B\x1CUnmanagedContainerModelProtoP\x01Z>cloud.google.com/go/aiplatform/apiv1/aiplatformpb;aiplatformpb\xAA\x02\x1AGoogle.Cloud.AIPlatform.V1\xCA\x02\x1AGoogle\\Cloud\\AIPlatform\\V1\xEA\x02\x1DGoogle::Cloud::AIPlatform::V1b\x06proto3" + , true); + + static::$is_initialized = true; + } +} + diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/UsageMetadata.php b/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/UsageMetadata.php new file mode 100644 index 000000000000..98112e44ec31 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/UsageMetadata.php @@ -0,0 +1,26 @@ +internalAddGeneratedFile( + "\x0A\xB7\x08\x0A/google/cloud/aiplatform/v1/usage_metadata.proto\x12\x1Agoogle.cloud.aiplatform.v1\x1A(google/cloud/aiplatform/v1/content.proto\"\xE2\x05\x0A\x0DUsageMetadata\x12\x1A\x0A\x12prompt_token_count\x18\x01 \x01(\x05\x12\x1E\x0A\x16candidates_token_count\x18\x02 \x01(\x05\x12\x19\x0A\x11total_token_count\x18\x03 \x01(\x05\x12(\x0A\x1Btool_use_prompt_token_count\x18\x0D \x01(\x05B\x03\xE0A\x03\x12!\x0A\x14thoughts_token_count\x18\x0E \x01(\x05B\x03\xE0A\x03\x12'\x0A\x1Acached_content_token_count\x18\x05 \x01(\x05B\x03\xE0A\x03\x12R\x0A\x15prompt_tokens_details\x18\x09 \x03(\x0B2..google.cloud.aiplatform.v1.ModalityTokenCountB\x03\xE0A\x03\x12Q\x0A\x14cache_tokens_details\x18\x0A \x03(\x0B2..google.cloud.aiplatform.v1.ModalityTokenCountB\x03\xE0A\x03\x12V\x0A\x19candidates_tokens_details\x18\x0B \x03(\x0B2..google.cloud.aiplatform.v1.ModalityTokenCountB\x03\xE0A\x03\x12[\x0A\x1Etool_use_prompt_tokens_details\x18\x0C \x03(\x0B2..google.cloud.aiplatform.v1.ModalityTokenCountB\x03\xE0A\x03\x12P\x0A\x0Ctraffic_type\x18\x08 \x01(\x0E25.google.cloud.aiplatform.v1.UsageMetadata.TrafficTypeB\x03\xE0A\x03\"V\x0A\x0BTrafficType\x12\x1C\x0A\x18TRAFFIC_TYPE_UNSPECIFIED\x10\x00\x12\x0D\x0A\x09ON_DEMAND\x10\x01\x12\x1A\x0A\x16PROVISIONED_THROUGHPUT\x10\x02B\xD0\x01\x0A\x1Ecom.google.cloud.aiplatform.v1B\x12UsageMetadataProtoP\x01Z>cloud.google.com/go/aiplatform/apiv1/aiplatformpb;aiplatformpb\xAA\x02\x1AGoogle.Cloud.AIPlatform.V1\xCA\x02\x1AGoogle\\Cloud\\AIPlatform\\V1\xEA\x02\x1DGoogle::Cloud::AIPlatform::V1b\x06proto3" + , 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 000000000000..505980faee9d --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/UserActionReference.php @@ -0,0 +1,24 @@ +internalAddGeneratedFile( + "\x0A\x9B\x03\x0A6google/cloud/aiplatform/v1/user_action_reference.proto\x12\x1Agoogle.cloud.aiplatform.v1\"d\x0A\x13UserActionReference\x12\x13\x0A\x09operation\x18\x01 \x01(\x09H\x00\x12\x1B\x0A\x11data_labeling_job\x18\x02 \x01(\x09H\x00\x12\x0E\x0A\x06method\x18\x03 \x01(\x09B\x0B\x0A\x09referenceB\xD6\x01\x0A\x1Ecom.google.cloud.aiplatform.v1B\x18UserActionReferenceProtoP\x01Z>cloud.google.com/go/aiplatform/apiv1/aiplatformpb;aiplatformpb\xAA\x02\x1AGoogle.Cloud.AIPlatform.V1\xCA\x02\x1AGoogle\\Cloud\\AIPlatform\\V1\xEA\x02\x1DGoogle::Cloud::AIPlatform::V1b\x06proto3" + , true); + + static::$is_initialized = true; + } +} + diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/Value.php b/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/Value.php new file mode 100644 index 000000000000..be23483b8b03 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/Value.php @@ -0,0 +1,24 @@ +internalAddGeneratedFile( + "\x0A\xEE\x02\x0A&google/cloud/aiplatform/v1/value.proto\x12\x1Agoogle.cloud.aiplatform.v1\"U\x0A\x05Value\x12\x13\x0A\x09int_value\x18\x01 \x01(\x03H\x00\x12\x16\x0A\x0Cdouble_value\x18\x02 \x01(\x01H\x00\x12\x16\x0A\x0Cstring_value\x18\x03 \x01(\x09H\x00B\x07\x0A\x05valueB\xC8\x01\x0A\x1Ecom.google.cloud.aiplatform.v1B\x0AValueProtoP\x01Z>cloud.google.com/go/aiplatform/apiv1/aiplatformpb;aiplatformpb\xAA\x02\x1AGoogle.Cloud.AIPlatform.V1\xCA\x02\x1AGoogle\\Cloud\\AIPlatform\\V1\xEA\x02\x1DGoogle::Cloud::AIPlatform::V1b\x06proto3" + , true); + + static::$is_initialized = true; + } +} + diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/VertexRagData.php b/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/VertexRagData.php new file mode 100644 index 000000000000..756e35cff1a0 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/VertexRagData.php @@ -0,0 +1,30 @@ +internalAddGeneratedFile( + "\x0A\xE9/\x0A0google/cloud/aiplatform/v1/vertex_rag_data.proto\x12\x1Agoogle.cloud.aiplatform.v1\x1A\x19google/api/resource.proto\x1A)google/cloud/aiplatform/v1/api_auth.proto\x1A0google/cloud/aiplatform/v1/encryption_spec.proto\x1A#google/cloud/aiplatform/v1/io.proto\x1A\x1Fgoogle/protobuf/timestamp.proto\"\xCF\x02\x0A\x17RagEmbeddingModelConfig\x12r\x0A\x1Avertex_prediction_endpoint\x18\x01 \x01(\x0B2L.google.cloud.aiplatform.v1.RagEmbeddingModelConfig.VertexPredictionEndpointH\x00\x1A\xAF\x01\x0A\x18VertexPredictionEndpoint\x12<\x0A\x08endpoint\x18\x01 \x01(\x09B*\xE0A\x02\xFAA\$\x0A\"aiplatform.googleapis.com/Endpoint\x126\x0A\x05model\x18\x02 \x01(\x09B'\xE0A\x03\xFAA!\x0A\x1Faiplatform.googleapis.com/Model\x12\x1D\x0A\x10model_version_id\x18\x03 \x01(\x09B\x03\xE0A\x03B\x0E\x0A\x0Cmodel_config\"\x94\x06\x0A\x11RagVectorDbConfig\x12T\x0A\x0Erag_managed_db\x18\x01 \x01(\x0B2:.google.cloud.aiplatform.v1.RagVectorDbConfig.RagManagedDbH\x00\x12J\x0A\x08pinecone\x18\x03 \x01(\x0B26.google.cloud.aiplatform.v1.RagVectorDbConfig.PineconeH\x00\x12`\x0A\x14vertex_vector_search\x18\x06 \x01(\x0B2@.google.cloud.aiplatform.v1.RagVectorDbConfig.VertexVectorSearchH\x00\x125\x0A\x08api_auth\x18\x05 \x01(\x0B2#.google.cloud.aiplatform.v1.ApiAuth\x12_\x0A\x1Arag_embedding_model_config\x18\x07 \x01(\x0B23.google.cloud.aiplatform.v1.RagEmbeddingModelConfigB\x06\xE0A\x01\xE0A\x05\x1A\xF8\x01\x0A\x0CRagManagedDb\x12M\x0A\x03knn\x18\x01 \x01(\x0B2>.google.cloud.aiplatform.v1.RagVectorDbConfig.RagManagedDb.KNNH\x00\x12M\x0A\x03ann\x18\x02 \x01(\x0B2>.google.cloud.aiplatform.v1.RagVectorDbConfig.RagManagedDb.ANNH\x00\x1A\x05\x0A\x03KNN\x1A-\x0A\x03ANN\x12\x12\x0A\x0Atree_depth\x18\x01 \x01(\x05\x12\x12\x0A\x0Aleaf_count\x18\x02 \x01(\x05B\x14\x0A\x12retrieval_strategy\x1A\x1E\x0A\x08Pinecone\x12\x12\x0A\x0Aindex_name\x18\x01 \x01(\x09\x1A;\x0A\x12VertexVectorSearch\x12\x16\x0A\x0Eindex_endpoint\x18\x01 \x01(\x09\x12\x0D\x0A\x05index\x18\x02 \x01(\x09B\x0B\x0A\x09vector_db\"\xA0\x01\x0A\x0AFileStatus\x12@\x0A\x05state\x18\x01 \x01(\x0E2,.google.cloud.aiplatform.v1.FileStatus.StateB\x03\xE0A\x03\x12\x19\x0A\x0Cerror_status\x18\x02 \x01(\x09B\x03\xE0A\x03\"5\x0A\x05State\x12\x15\x0A\x11STATE_UNSPECIFIED\x10\x00\x12\x0A\x0A\x06ACTIVE\x10\x01\x12\x09\x0A\x05ERROR\x10\x02\".\x0A\x14VertexAiSearchConfig\x12\x16\x0A\x0Eserving_config\x18\x01 \x01(\x09\"\xAB\x01\x0A\x0CCorpusStatus\x12B\x0A\x05state\x18\x01 \x01(\x0E2..google.cloud.aiplatform.v1.CorpusStatus.StateB\x03\xE0A\x03\x12\x19\x0A\x0Cerror_status\x18\x02 \x01(\x09B\x03\xE0A\x03\"<\x0A\x05State\x12\x0B\x0A\x07UNKNOWN\x10\x00\x12\x0F\x0A\x0BINITIALIZED\x10\x01\x12\x0A\x0A\x06ACTIVE\x10\x02\x12\x09\x0A\x05ERROR\x10\x03\"\x97\x05\x0A\x09RagCorpus\x12Q\x0A\x10vector_db_config\x18\x09 \x01(\x0B2-.google.cloud.aiplatform.v1.RagVectorDbConfigB\x06\xE0A\x01\xE0A\x05H\x00\x12[\x0A\x17vertex_ai_search_config\x18\x0A \x01(\x0B20.google.cloud.aiplatform.v1.VertexAiSearchConfigB\x06\xE0A\x01\xE0A\x05H\x00\x12\x11\x0A\x04name\x18\x01 \x01(\x09B\x03\xE0A\x03\x12\x19\x0A\x0Cdisplay_name\x18\x02 \x01(\x09B\x03\xE0A\x02\x12\x18\x0A\x0Bdescription\x18\x03 \x01(\x09B\x03\xE0A\x01\x124\x0A\x0Bcreate_time\x18\x04 \x01(\x0B2\x1A.google.protobuf.TimestampB\x03\xE0A\x03\x124\x0A\x0Bupdate_time\x18\x05 \x01(\x0B2\x1A.google.protobuf.TimestampB\x03\xE0A\x03\x12D\x0A\x0Dcorpus_status\x18\x08 \x01(\x0B2(.google.cloud.aiplatform.v1.CorpusStatusB\x03\xE0A\x03\x12K\x0A\x0Fencryption_spec\x18\x0C \x01(\x0B2*.google.cloud.aiplatform.v1.EncryptionSpecB\x06\xE0A\x05\xE0A\x01:\x80\x01\xEAA}\x0A#aiplatform.googleapis.com/RagCorpus\x12?projects/{project}/locations/{location}/ragCorpora/{rag_corpus}*\x0AragCorpora2\x09ragCorpusB\x10\x0A\x0Ebackend_config\"\xDC\x06\x0A\x07RagFile\x12@\x0A\x0Agcs_source\x18\x08 \x01(\x0B2%.google.cloud.aiplatform.v1.GcsSourceB\x03\xE0A\x03H\x00\x12Q\x0A\x13google_drive_source\x18\x09 \x01(\x0B2-.google.cloud.aiplatform.v1.GoogleDriveSourceB\x03\xE0A\x03H\x00\x12S\x0A\x14direct_upload_source\x18\x0A \x01(\x0B2..google.cloud.aiplatform.v1.DirectUploadSourceB\x03\xE0A\x03H\x00\x12?\x0A\x0Cslack_source\x18\x0B \x01(\x0B2'.google.cloud.aiplatform.v1.SlackSourceH\x00\x12=\x0A\x0Bjira_source\x18\x0C \x01(\x0B2&.google.cloud.aiplatform.v1.JiraSourceH\x00\x12L\x0A\x13share_point_sources\x18\x0E \x01(\x0B2-.google.cloud.aiplatform.v1.SharePointSourcesH\x00\x12\x11\x0A\x04name\x18\x01 \x01(\x09B\x03\xE0A\x03\x12\x19\x0A\x0Cdisplay_name\x18\x02 \x01(\x09B\x03\xE0A\x02\x12\x18\x0A\x0Bdescription\x18\x03 \x01(\x09B\x03\xE0A\x01\x124\x0A\x0Bcreate_time\x18\x06 \x01(\x0B2\x1A.google.protobuf.TimestampB\x03\xE0A\x03\x124\x0A\x0Bupdate_time\x18\x07 \x01(\x0B2\x1A.google.protobuf.TimestampB\x03\xE0A\x03\x12@\x0A\x0Bfile_status\x18\x0D \x01(\x0B2&.google.cloud.aiplatform.v1.FileStatusB\x03\xE0A\x03:\x8F\x01\xEAA\x8B\x01\x0A!aiplatform.googleapis.com/RagFile\x12Sprojects/{project}/locations/{location}/ragCorpora/{rag_corpus}/ragFiles/{rag_file}*\x08ragFiles2\x07ragFileB\x11\x0A\x0Frag_file_source\"\xA0\x01\x0A\x08RagChunk\x12\x0C\x0A\x04text\x18\x01 \x01(\x09\x12E\x0A\x09page_span\x18\x02 \x01(\x0B2-.google.cloud.aiplatform.v1.RagChunk.PageSpanH\x00\x88\x01\x01\x1A1\x0A\x08PageSpan\x12\x12\x0A\x0Afirst_page\x18\x01 \x01(\x05\x12\x11\x0A\x09last_page\x18\x02 \x01(\x05B\x0C\x0A\x0A_page_span\"\xD4\x01\x0A\x15RagFileChunkingConfig\x12f\x0A\x15fixed_length_chunking\x18\x03 \x01(\x0B2E.google.cloud.aiplatform.v1.RagFileChunkingConfig.FixedLengthChunkingH\x00\x1A@\x0A\x13FixedLengthChunking\x12\x12\x0A\x0Achunk_size\x18\x01 \x01(\x05\x12\x15\x0A\x0Dchunk_overlap\x18\x02 \x01(\x05B\x11\x0A\x0Fchunking_config\"r\x0A\x1BRagFileTransformationConfig\x12S\x0A\x18rag_file_chunking_config\x18\x01 \x01(\x0B21.google.cloud.aiplatform.v1.RagFileChunkingConfig\"\xFE\x02\x0A\x14RagFileParsingConfig\x12V\x0A\x0Dlayout_parser\x18\x04 \x01(\x0B2=.google.cloud.aiplatform.v1.RagFileParsingConfig.LayoutParserH\x00\x12P\x0A\x0Allm_parser\x18\x05 \x01(\x0B2:.google.cloud.aiplatform.v1.RagFileParsingConfig.LlmParserH\x00\x1AL\x0A\x0CLayoutParser\x12\x16\x0A\x0Eprocessor_name\x18\x01 \x01(\x09\x12\$\x0A\x1Cmax_parsing_requests_per_min\x18\x02 \x01(\x05\x1Ad\x0A\x09LlmParser\x12\x12\x0A\x0Amodel_name\x18\x01 \x01(\x09\x12\$\x0A\x1Cmax_parsing_requests_per_min\x18\x02 \x01(\x05\x12\x1D\x0A\x15custom_parsing_prompt\x18\x03 \x01(\x09B\x08\x0A\x06parser\"v\x0A\x13UploadRagFileConfig\x12_\x0A\x1Erag_file_transformation_config\x18\x03 \x01(\x0B27.google.cloud.aiplatform.v1.RagFileTransformationConfig\"\x87\x08\x0A\x14ImportRagFilesConfig\x12;\x0A\x0Agcs_source\x18\x02 \x01(\x0B2%.google.cloud.aiplatform.v1.GcsSourceH\x00\x12L\x0A\x13google_drive_source\x18\x03 \x01(\x0B2-.google.cloud.aiplatform.v1.GoogleDriveSourceH\x00\x12?\x0A\x0Cslack_source\x18\x06 \x01(\x0B2'.google.cloud.aiplatform.v1.SlackSourceH\x00\x12=\x0A\x0Bjira_source\x18\x07 \x01(\x0B2&.google.cloud.aiplatform.v1.JiraSourceH\x00\x12L\x0A\x13share_point_sources\x18\x0D \x01(\x0B2-.google.cloud.aiplatform.v1.SharePointSourcesH\x00\x12R\x0A\x18partial_failure_gcs_sink\x18\x0B \x01(\x0B2*.google.cloud.aiplatform.v1.GcsDestinationB\x02\x18\x01H\x01\x12\\\x0A\x1Dpartial_failure_bigquery_sink\x18\x0C \x01(\x0B2/.google.cloud.aiplatform.v1.BigQueryDestinationB\x02\x18\x01H\x01\x12L\x0A\x16import_result_gcs_sink\x18\x0E \x01(\x0B2*.google.cloud.aiplatform.v1.GcsDestinationH\x02\x12V\x0A\x1Bimport_result_bigquery_sink\x18\x0F \x01(\x0B2/.google.cloud.aiplatform.v1.BigQueryDestinationH\x02\x12_\x0A\x1Erag_file_transformation_config\x18\x10 \x01(\x0B27.google.cloud.aiplatform.v1.RagFileTransformationConfig\x12V\x0A\x17rag_file_parsing_config\x18\x08 \x01(\x0B20.google.cloud.aiplatform.v1.RagFileParsingConfigB\x03\xE0A\x01\x12+\x0A\x1Emax_embedding_requests_per_min\x18\x05 \x01(\x05B\x03\xE0A\x01\x12\x19\x0A\x11rebuild_ann_index\x18\x13 \x01(\x08B\x0F\x0A\x0Dimport_sourceB\x16\x0A\x14partial_failure_sinkB\x14\x0A\x12import_result_sink\"\xA7\x02\x0A\x12RagManagedDbConfig\x12G\x0A\x06scaled\x18\x04 \x01(\x0B25.google.cloud.aiplatform.v1.RagManagedDbConfig.ScaledH\x00\x12E\x0A\x05basic\x18\x02 \x01(\x0B24.google.cloud.aiplatform.v1.RagManagedDbConfig.BasicH\x00\x12U\x0A\x0Dunprovisioned\x18\x03 \x01(\x0B2<.google.cloud.aiplatform.v1.RagManagedDbConfig.UnprovisionedH\x00\x1A\x08\x0A\x06Scaled\x1A\x07\x0A\x05Basic\x1A\x0F\x0A\x0DUnprovisionedB\x06\x0A\x04tier\"\x81\x02\x0A\x0FRagEngineConfig\x12\x11\x0A\x04name\x18\x01 \x01(\x09B\x03\xE0A\x08\x12M\x0A\x15rag_managed_db_config\x18\x02 \x01(\x0B2..google.cloud.aiplatform.v1.RagManagedDbConfig:\x8B\x01\xEAA\x87\x01\x0A)aiplatform.googleapis.com/RagEngineConfig\x127projects/{project}/locations/{location}/ragEngineConfig*\x10ragEngineConfigs2\x0FragEngineConfigB\xD0\x01\x0A\x1Ecom.google.cloud.aiplatform.v1B\x12VertexRagDataProtoP\x01Z>cloud.google.com/go/aiplatform/apiv1/aiplatformpb;aiplatformpb\xAA\x02\x1AGoogle.Cloud.AIPlatform.V1\xCA\x02\x1AGoogle\\Cloud\\AIPlatform\\V1\xEA\x02\x1DGoogle::Cloud::AIPlatform::V1b\x06proto3" + , true); + + static::$is_initialized = true; + } +} + diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/VertexRagDataService.php b/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/VertexRagDataService.php new file mode 100644 index 000000000000..00f87c1b8c2b --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/VertexRagDataService.php @@ -0,0 +1,33 @@ +internalAddGeneratedFile( + "\x0A\xD2.\x0A8google/cloud/aiplatform/v1/vertex_rag_data_service.proto\x12\x1Agoogle.cloud.aiplatform.v1\x1A\x17google/api/client.proto\x1A\x1Fgoogle/api/field_behavior.proto\x1A\x19google/api/resource.proto\x1A*google/cloud/aiplatform/v1/operation.proto\x1A0google/cloud/aiplatform/v1/vertex_rag_data.proto\x1A#google/longrunning/operations.proto\x1A\x1Bgoogle/protobuf/empty.proto\x1A\x17google/rpc/status.proto\"\x93\x01\x0A\x16CreateRagCorpusRequest\x129\x0A\x06parent\x18\x01 \x01(\x09B)\xE0A\x02\xFAA#\x0A!locations.googleapis.com/Location\x12>\x0A\x0Arag_corpus\x18\x02 \x01(\x0B2%.google.cloud.aiplatform.v1.RagCorpusB\x03\xE0A\x02\"P\x0A\x13GetRagCorpusRequest\x129\x0A\x04name\x18\x01 \x01(\x09B+\xE0A\x02\xFAA%\x0A#aiplatform.googleapis.com/RagCorpus\"\x83\x01\x0A\x15ListRagCorporaRequest\x129\x0A\x06parent\x18\x01 \x01(\x09B)\xE0A\x02\xFAA#\x0A!locations.googleapis.com/Location\x12\x16\x0A\x09page_size\x18\x02 \x01(\x05B\x03\xE0A\x01\x12\x17\x0A\x0Apage_token\x18\x03 \x01(\x09B\x03\xE0A\x01\"m\x0A\x16ListRagCorporaResponse\x12:\x0A\x0Brag_corpora\x18\x01 \x03(\x0B2%.google.cloud.aiplatform.v1.RagCorpus\x12\x17\x0A\x0Fnext_page_token\x18\x02 \x01(\x09\"g\x0A\x16DeleteRagCorpusRequest\x129\x0A\x04name\x18\x01 \x01(\x09B+\xE0A\x02\xFAA%\x0A#aiplatform.googleapis.com/RagCorpus\x12\x12\x0A\x05force\x18\x02 \x01(\x08B\x03\xE0A\x01\"\xE5\x01\x0A\x14UploadRagFileRequest\x12;\x0A\x06parent\x18\x01 \x01(\x09B+\xE0A\x02\xFAA%\x0A#aiplatform.googleapis.com/RagCorpus\x12:\x0A\x08rag_file\x18\x02 \x01(\x0B2#.google.cloud.aiplatform.v1.RagFileB\x03\xE0A\x02\x12T\x0A\x16upload_rag_file_config\x18\x05 \x01(\x0B2/.google.cloud.aiplatform.v1.UploadRagFileConfigB\x03\xE0A\x02\"\x7F\x0A\x15UploadRagFileResponse\x127\x0A\x08rag_file\x18\x01 \x01(\x0B2#.google.cloud.aiplatform.v1.RagFileH\x00\x12#\x0A\x05error\x18\x04 \x01(\x0B2\x12.google.rpc.StatusH\x00B\x08\x0A\x06result\"\xAC\x01\x0A\x15ImportRagFilesRequest\x12;\x0A\x06parent\x18\x01 \x01(\x09B+\xE0A\x02\xFAA%\x0A#aiplatform.googleapis.com/RagCorpus\x12V\x0A\x17import_rag_files_config\x18\x02 \x01(\x0B20.google.cloud.aiplatform.v1.ImportRagFilesConfigB\x03\xE0A\x02\"\xE3\x01\x0A\x16ImportRagFilesResponse\x12#\x0A\x19partial_failures_gcs_path\x18\x04 \x01(\x09H\x00\x12)\x0A\x1Fpartial_failures_bigquery_table\x18\x05 \x01(\x09H\x00\x12 \x0A\x18imported_rag_files_count\x18\x01 \x01(\x03\x12\x1E\x0A\x16failed_rag_files_count\x18\x02 \x01(\x03\x12\x1F\x0A\x17skipped_rag_files_count\x18\x03 \x01(\x03B\x16\x0A\x14partial_failure_sink\"L\x0A\x11GetRagFileRequest\x127\x0A\x04name\x18\x01 \x01(\x09B)\xE0A\x02\xFAA#\x0A!aiplatform.googleapis.com/RagFile\"\x83\x01\x0A\x13ListRagFilesRequest\x12;\x0A\x06parent\x18\x01 \x01(\x09B+\xE0A\x02\xFAA%\x0A#aiplatform.googleapis.com/RagCorpus\x12\x16\x0A\x09page_size\x18\x02 \x01(\x05B\x03\xE0A\x01\x12\x17\x0A\x0Apage_token\x18\x03 \x01(\x09B\x03\xE0A\x01\"g\x0A\x14ListRagFilesResponse\x126\x0A\x09rag_files\x18\x01 \x03(\x0B2#.google.cloud.aiplatform.v1.RagFile\x12\x17\x0A\x0Fnext_page_token\x18\x02 \x01(\x09\"O\x0A\x14DeleteRagFileRequest\x127\x0A\x04name\x18\x01 \x01(\x09B)\xE0A\x02\xFAA#\x0A!aiplatform.googleapis.com/RagFile\"r\x0A CreateRagCorpusOperationMetadata\x12N\x0A\x10generic_metadata\x18\x01 \x01(\x0B24.google.cloud.aiplatform.v1.GenericOperationMetadata\"\\\x0A\x19GetRagEngineConfigRequest\x12?\x0A\x04name\x18\x01 \x01(\x09B1\xE0A\x02\xFAA+\x0A)aiplatform.googleapis.com/RagEngineConfig\"X\x0A\x16UpdateRagCorpusRequest\x12>\x0A\x0Arag_corpus\x18\x01 \x01(\x0B2%.google.cloud.aiplatform.v1.RagCorpusB\x03\xE0A\x02\"r\x0A UpdateRagCorpusOperationMetadata\x12N\x0A\x10generic_metadata\x18\x01 \x01(\x0B24.google.cloud.aiplatform.v1.GenericOperationMetadata\"\xFD\x01\x0A\x1FImportRagFilesOperationMetadata\x12N\x0A\x10generic_metadata\x18\x01 \x01(\x0B24.google.cloud.aiplatform.v1.GenericOperationMetadata\x12\x15\x0A\x0Drag_corpus_id\x18\x02 \x01(\x03\x12V\x0A\x17import_rag_files_config\x18\x03 \x01(\x0B20.google.cloud.aiplatform.v1.ImportRagFilesConfigB\x03\xE0A\x03\x12\x1B\x0A\x13progress_percentage\x18\x04 \x01(\x05\"k\x0A\x1CUpdateRagEngineConfigRequest\x12K\x0A\x11rag_engine_config\x18\x01 \x01(\x0B2+.google.cloud.aiplatform.v1.RagEngineConfigB\x03\xE0A\x02\"x\x0A&UpdateRagEngineConfigOperationMetadata\x12N\x0A\x10generic_metadata\x18\x01 \x01(\x0B24.google.cloud.aiplatform.v1.GenericOperationMetadata2\xB0\x15\x0A\x14VertexRagDataService\x12\xED\x01\x0A\x0FCreateRagCorpus\x122.google.cloud.aiplatform.v1.CreateRagCorpusRequest\x1A\x1D.google.longrunning.Operation\"\x86\x01\xCAA-\x0A\x09RagCorpus\x12 CreateRagCorpusOperationMetadata\xDAA\x11parent,rag_corpus\x82\xD3\xE4\x93\x02<\"./v1/{parent=projects/*/locations/*}/ragCorpora:\x0Arag_corpus\x12\xF1\x01\x0A\x0FUpdateRagCorpus\x122.google.cloud.aiplatform.v1.UpdateRagCorpusRequest\x1A\x1D.google.longrunning.Operation\"\x8A\x01\xCAA-\x0A\x09RagCorpus\x12 UpdateRagCorpusOperationMetadata\xDAA\x0Arag_corpus\x82\xD3\xE4\x93\x02G29/v1/{rag_corpus.name=projects/*/locations/*/ragCorpora/*}:\x0Arag_corpus\x12\xA5\x01\x0A\x0CGetRagCorpus\x12/.google.cloud.aiplatform.v1.GetRagCorpusRequest\x1A%.google.cloud.aiplatform.v1.RagCorpus\"=\xDAA\x04name\x82\xD3\xE4\x93\x020\x12./v1/{name=projects/*/locations/*/ragCorpora/*}\x12\xB8\x01\x0A\x0EListRagCorpora\x121.google.cloud.aiplatform.v1.ListRagCorporaRequest\x1A2.google.cloud.aiplatform.v1.ListRagCorporaResponse\"?\xDAA\x06parent\x82\xD3\xE4\x93\x020\x12./v1/{parent=projects/*/locations/*}/ragCorpora\x12\xD6\x01\x0A\x0FDeleteRagCorpus\x122.google.cloud.aiplatform.v1.DeleteRagCorpusRequest\x1A\x1D.google.longrunning.Operation\"p\xCAA0\x0A\x15google.protobuf.Empty\x12\x17DeleteOperationMetadata\xDAA\x04name\x82\xD3\xE4\x93\x020*./v1/{name=projects/*/locations/*/ragCorpora/*}\x12\xEA\x01\x0A\x0DUploadRagFile\x120.google.cloud.aiplatform.v1.UploadRagFileRequest\x1A1.google.cloud.aiplatform.v1.UploadRagFileResponse\"t\xDAA&parent,rag_file,upload_rag_file_config\x82\xD3\xE4\x93\x02E\"@/v1/{parent=projects/*/locations/*/ragCorpora/*}/ragFiles:upload:\x01*\x12\x8D\x02\x0A\x0EImportRagFiles\x121.google.cloud.aiplatform.v1.ImportRagFilesRequest\x1A\x1D.google.longrunning.Operation\"\xA8\x01\xCAA9\x0A\x16ImportRagFilesResponse\x12\x1FImportRagFilesOperationMetadata\xDAA\x1Eparent,import_rag_files_config\x82\xD3\xE4\x93\x02E\"@/v1/{parent=projects/*/locations/*/ragCorpora/*}/ragFiles:import:\x01*\x12\xAA\x01\x0A\x0AGetRagFile\x12-.google.cloud.aiplatform.v1.GetRagFileRequest\x1A#.google.cloud.aiplatform.v1.RagFile\"H\xDAA\x04name\x82\xD3\xE4\x93\x02;\x129/v1/{name=projects/*/locations/*/ragCorpora/*/ragFiles/*}\x12\xBD\x01\x0A\x0CListRagFiles\x12/.google.cloud.aiplatform.v1.ListRagFilesRequest\x1A0.google.cloud.aiplatform.v1.ListRagFilesResponse\"J\xDAA\x06parent\x82\xD3\xE4\x93\x02;\x129/v1/{parent=projects/*/locations/*/ragCorpora/*}/ragFiles\x12\xDD\x01\x0A\x0DDeleteRagFile\x120.google.cloud.aiplatform.v1.DeleteRagFileRequest\x1A\x1D.google.longrunning.Operation\"{\xCAA0\x0A\x15google.protobuf.Empty\x12\x17DeleteOperationMetadata\xDAA\x04name\x82\xD3\xE4\x93\x02;*9/v1/{name=projects/*/locations/*/ragCorpora/*/ragFiles/*}\x12\xA1\x02\x0A\x15UpdateRagEngineConfig\x128.google.cloud.aiplatform.v1.UpdateRagEngineConfigRequest\x1A\x1D.google.longrunning.Operation\"\xAE\x01\xCAA9\x0A\x0FRagEngineConfig\x12&UpdateRagEngineConfigOperationMetadata\xDAA\x11rag_engine_config\x82\xD3\xE4\x93\x02X2C/v1/{rag_engine_config.name=projects/*/locations/*/ragEngineConfig}:\x11rag_engine_config\x12\xBA\x01\x0A\x12GetRagEngineConfig\x125.google.cloud.aiplatform.v1.GetRagEngineConfigRequest\x1A+.google.cloud.aiplatform.v1.RagEngineConfig\"@\xDAA\x04name\x82\xD3\xE4\x93\x023\x121/v1/{name=projects/*/locations/*/ragEngineConfig}\x1AM\xCAA\x19aiplatform.googleapis.com\xD2A.https://www.googleapis.com/auth/cloud-platformB\xD7\x01\x0A\x1Ecom.google.cloud.aiplatform.v1B\x19VertexRagDataServiceProtoP\x01Z>cloud.google.com/go/aiplatform/apiv1/aiplatformpb;aiplatformpb\xAA\x02\x1AGoogle.Cloud.AIPlatform.V1\xCA\x02\x1AGoogle\\Cloud\\AIPlatform\\V1\xEA\x02\x1DGoogle::Cloud::AIPlatform::V1b\x06proto3" + , true); + + static::$is_initialized = true; + } +} + diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/VertexRagService.php b/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/VertexRagService.php new file mode 100644 index 000000000000..b89be3e3cda6 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/VertexRagService.php @@ -0,0 +1,33 @@ +internalAddGeneratedFile( + "\x0A\xE7&\x0A3google/cloud/aiplatform/v1/vertex_rag_service.proto\x12\x1Agoogle.cloud.aiplatform.v1\x1A\x17google/api/client.proto\x1A\x1Fgoogle/api/field_behavior.proto\x1A\x19google/api/resource.proto\x1A(google/cloud/aiplatform/v1/content.proto\x1A*google/cloud/aiplatform/v1/operation.proto\x1A%google/cloud/aiplatform/v1/tool.proto\x1A0google/cloud/aiplatform/v1/vertex_rag_data.proto\x1A#google/longrunning/operations.proto\"{\x0A\x08RagQuery\x12\x13\x0A\x04text\x18\x01 \x01(\x09B\x03\xE0A\x01H\x00\x12Q\x0A\x14rag_retrieval_config\x18\x06 \x01(\x0B2..google.cloud.aiplatform.v1.RagRetrievalConfigB\x03\xE0A\x01B\x07\x0A\x05query\"\xB4\x04\x0A\x17RetrieveContextsRequest\x12^\x0A\x10vertex_rag_store\x18\x02 \x01(\x0B2B.google.cloud.aiplatform.v1.RetrieveContextsRequest.VertexRagStoreH\x00\x129\x0A\x06parent\x18\x01 \x01(\x09B)\xE0A\x02\xFAA#\x0A!locations.googleapis.com/Location\x128\x0A\x05query\x18\x03 \x01(\x0B2\$.google.cloud.aiplatform.v1.RagQueryB\x03\xE0A\x02\x1A\xB4\x02\x0A\x0EVertexRagStore\x12j\x0A\x0Drag_resources\x18\x03 \x03(\x0B2N.google.cloud.aiplatform.v1.RetrieveContextsRequest.VertexRagStore.RagResourceB\x03\xE0A\x01\x12-\x0A\x19vector_distance_threshold\x18\x02 \x01(\x01B\x05\x18\x01\xE0A\x01H\x00\x88\x01\x01\x1Ai\x0A\x0BRagResource\x12?\x0A\x0Arag_corpus\x18\x01 \x01(\x09B+\xE0A\x01\xFAA%\x0A#aiplatform.googleapis.com/RagCorpus\x12\x19\x0A\x0Crag_file_ids\x18\x02 \x03(\x09B\x03\xE0A\x01B\x1C\x0A\x1A_vector_distance_thresholdB\x0D\x0A\x0Bdata_source\"\xEE\x01\x0A\x0BRagContexts\x12A\x0A\x08contexts\x18\x01 \x03(\x0B2/.google.cloud.aiplatform.v1.RagContexts.Context\x1A\x9B\x01\x0A\x07Context\x12\x12\x0A\x0Asource_uri\x18\x01 \x01(\x09\x12\x1B\x0A\x13source_display_name\x18\x05 \x01(\x09\x12\x0C\x0A\x04text\x18\x02 \x01(\x09\x12\x12\x0A\x05score\x18\x06 \x01(\x01H\x00\x88\x01\x01\x123\x0A\x05chunk\x18\x07 \x01(\x0B2\$.google.cloud.aiplatform.v1.RagChunkB\x08\x0A\x06_score\"U\x0A\x18RetrieveContextsResponse\x129\x0A\x08contexts\x18\x01 \x01(\x0B2'.google.cloud.aiplatform.v1.RagContexts\"\xEE\x02\x0A\x14AugmentPromptRequest\x12K\x0A\x10vertex_rag_store\x18\x04 \x01(\x0B2*.google.cloud.aiplatform.v1.VertexRagStoreB\x03\xE0A\x01H\x00\x129\x0A\x06parent\x18\x01 \x01(\x09B)\xE0A\x02\xFAA#\x0A!locations.googleapis.com/Location\x12:\x0A\x08contents\x18\x02 \x03(\x0B2#.google.cloud.aiplatform.v1.ContentB\x03\xE0A\x01\x12J\x0A\x05model\x18\x03 \x01(\x0B26.google.cloud.aiplatform.v1.AugmentPromptRequest.ModelB\x03\xE0A\x01\x1A7\x0A\x05Model\x12\x12\x0A\x05model\x18\x01 \x01(\x09B\x03\xE0A\x01\x12\x1A\x0A\x0Dmodel_version\x18\x02 \x01(\x09B\x03\xE0A\x01B\x0D\x0A\x0Bdata_source\"\x87\x01\x0A\x15AugmentPromptResponse\x12=\x0A\x10augmented_prompt\x18\x01 \x03(\x0B2#.google.cloud.aiplatform.v1.Content\x12/\x0A\x05facts\x18\x02 \x03(\x0B2 .google.cloud.aiplatform.v1.Fact\"\xE2\x02\x0A\x19CorroborateContentRequest\x129\x0A\x06parent\x18\x01 \x01(\x09B)\xE0A\x02\xFAA#\x0A!locations.googleapis.com/Location\x12>\x0A\x07content\x18\x02 \x01(\x0B2#.google.cloud.aiplatform.v1.ContentB\x03\xE0A\x01H\x00\x88\x01\x01\x124\x0A\x05facts\x18\x03 \x03(\x0B2 .google.cloud.aiplatform.v1.FactB\x03\xE0A\x01\x12Y\x0A\x0Aparameters\x18\x04 \x01(\x0B2@.google.cloud.aiplatform.v1.CorroborateContentRequest.ParametersB\x03\xE0A\x01\x1A-\x0A\x0AParameters\x12\x1F\x0A\x12citation_threshold\x18\x01 \x01(\x01B\x03\xE0A\x01B\x0A\x0A\x08_content\"\x89\x01\x0A\x1ACorroborateContentResponse\x12 \x0A\x13corroboration_score\x18\x01 \x01(\x02H\x00\x88\x01\x01\x121\x0A\x06claims\x18\x02 \x03(\x0B2!.google.cloud.aiplatform.v1.ClaimB\x16\x0A\x14_corroboration_score\"\x96\x02\x0A\x04Fact\x12\x12\x0A\x05query\x18\x01 \x01(\x09H\x00\x88\x01\x01\x12\x12\x0A\x05title\x18\x02 \x01(\x09H\x01\x88\x01\x01\x12\x10\x0A\x03uri\x18\x03 \x01(\x09H\x02\x88\x01\x01\x12\x14\x0A\x07summary\x18\x04 \x01(\x09H\x03\x88\x01\x01\x12 \x0A\x0Fvector_distance\x18\x05 \x01(\x01B\x02\x18\x01H\x04\x88\x01\x01\x12\x12\x0A\x05score\x18\x06 \x01(\x01H\x05\x88\x01\x01\x128\x0A\x05chunk\x18\x07 \x01(\x0B2\$.google.cloud.aiplatform.v1.RagChunkH\x06\x88\x01\x01B\x08\x0A\x06_queryB\x08\x0A\x06_titleB\x06\x0A\x04_uriB\x0A\x0A\x08_summaryB\x12\x0A\x10_vector_distanceB\x08\x0A\x06_scoreB\x08\x0A\x06_chunk\"\x8B\x01\x0A\x05Claim\x12\x18\x0A\x0Bstart_index\x18\x01 \x01(\x05H\x00\x88\x01\x01\x12\x16\x0A\x09end_index\x18\x02 \x01(\x05H\x01\x88\x01\x01\x12\x14\x0A\x0Cfact_indexes\x18\x03 \x03(\x05\x12\x12\x0A\x05score\x18\x04 \x01(\x02H\x02\x88\x01\x01B\x0E\x0A\x0C_start_indexB\x0C\x0A\x0A_end_indexB\x08\x0A\x06_score\"\xBF\x01\x0A\x12AskContextsRequest\x129\x0A\x06parent\x18\x01 \x01(\x09B)\xE0A\x02\xFAA#\x0A!locations.googleapis.com/Location\x128\x0A\x05query\x18\x02 \x01(\x0B2\$.google.cloud.aiplatform.v1.RagQueryB\x03\xE0A\x02\x124\x0A\x05tools\x18\x03 \x03(\x0B2 .google.cloud.aiplatform.v1.ToolB\x03\xE0A\x01\"b\x0A\x13AskContextsResponse\x12\x10\x0A\x08response\x18\x01 \x01(\x09\x129\x0A\x08contexts\x18\x02 \x01(\x0B2'.google.cloud.aiplatform.v1.RagContexts\"\xC9\x01\x0A\x1CAsyncRetrieveContextsRequest\x129\x0A\x06parent\x18\x01 \x01(\x09B)\xE0A\x02\xFAA#\x0A!locations.googleapis.com/Location\x128\x0A\x05query\x18\x02 \x01(\x0B2\$.google.cloud.aiplatform.v1.RagQueryB\x03\xE0A\x02\x124\x0A\x05tools\x18\x03 \x03(\x0B2 .google.cloud.aiplatform.v1.ToolB\x03\xE0A\x01\"Z\x0A\x1DAsyncRetrieveContextsResponse\x129\x0A\x08contexts\x18\x01 \x01(\x0B2'.google.cloud.aiplatform.v1.RagContexts\"x\x0A&AsyncRetrieveContextsOperationMetadata\x12N\x0A\x10generic_metadata\x18\x01 \x01(\x0B24.google.cloud.aiplatform.v1.GenericOperationMetadata2\xB5\x09\x0A\x10VertexRagService\x12\xCD\x01\x0A\x10RetrieveContexts\x123.google.cloud.aiplatform.v1.RetrieveContextsRequest\x1A4.google.cloud.aiplatform.v1.RetrieveContextsResponse\"N\xDAA\x0Cparent,query\x82\xD3\xE4\x93\x029\"4/v1/{parent=projects/*/locations/*}:retrieveContexts:\x01*\x12\xD2\x01\x0A\x0DAugmentPrompt\x120.google.cloud.aiplatform.v1.AugmentPromptRequest\x1A1.google.cloud.aiplatform.v1.AugmentPromptResponse\"\\\xDAA\x1Dparent,model,vertex_rag_store\x82\xD3\xE4\x93\x026\"1/v1/{parent=projects/*/locations/*}:augmentPrompt:\x01*\x12\xDD\x01\x0A\x12CorroborateContent\x125.google.cloud.aiplatform.v1.CorroborateContentRequest\x1A6.google.cloud.aiplatform.v1.CorroborateContentResponse\"X\xDAA\x14parent,content,facts\x82\xD3\xE4\x93\x02;\"6/v1/{parent=projects/*/locations/*}:corroborateContent:\x01*\x12\xB9\x01\x0A\x0BAskContexts\x12..google.cloud.aiplatform.v1.AskContextsRequest\x1A/.google.cloud.aiplatform.v1.AskContextsResponse\"I\xDAA\x0Cparent,query\x82\xD3\xE4\x93\x024\"//v1/{parent=projects/*/locations/*}:askContexts:\x01*\x12\x90\x02\x0A\x15AsyncRetrieveContexts\x128.google.cloud.aiplatform.v1.AsyncRetrieveContextsRequest\x1A\x1D.google.longrunning.Operation\"\x9D\x01\xCAAG\x0A\x1DAsyncRetrieveContextsResponse\x12&AsyncRetrieveContextsOperationMetadata\xDAA\x0Cparent,query\x82\xD3\xE4\x93\x02>\"9/v1/{parent=projects/*/locations/*}:asyncRetrieveContexts:\x01*\x1AM\xCAA\x19aiplatform.googleapis.com\xD2A.https://www.googleapis.com/auth/cloud-platformB\xD3\x01\x0A\x1Ecom.google.cloud.aiplatform.v1B\x15VertexRagServiceProtoP\x01Z>cloud.google.com/go/aiplatform/apiv1/aiplatformpb;aiplatformpb\xAA\x02\x1AGoogle.Cloud.AIPlatform.V1\xCA\x02\x1AGoogle\\Cloud\\AIPlatform\\V1\xEA\x02\x1DGoogle::Cloud::AIPlatform::V1b\x06proto3" + , true); + + static::$is_initialized = true; + } +} + 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..c7b9a5db758d --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/GPBMetadata/Google/Cloud/Aiplatform/V1/VizierService.php @@ -0,0 +1,33 @@ +internalAddGeneratedFile( + "\x0A\xD4/\x0A/google/cloud/aiplatform/v1/vizier_service.proto\x12\x1Agoogle.cloud.aiplatform.v1\x1A\x17google/api/client.proto\x1A\x1Fgoogle/api/field_behavior.proto\x1A\x19google/api/resource.proto\x1A*google/cloud/aiplatform/v1/operation.proto\x1A&google/cloud/aiplatform/v1/study.proto\x1A#google/longrunning/operations.proto\x1A\x1Bgoogle/protobuf/empty.proto\x1A\x1Fgoogle/protobuf/timestamp.proto\"H\x0A\x0FGetStudyRequest\x125\x0A\x04name\x18\x01 \x01(\x09B'\xE0A\x02\xFAA!\x0A\x1Faiplatform.googleapis.com/Study\"\x86\x01\x0A\x12CreateStudyRequest\x129\x0A\x06parent\x18\x01 \x01(\x09B)\xE0A\x02\xFAA#\x0A!locations.googleapis.com/Location\x125\x0A\x05study\x18\x02 \x01(\x0B2!.google.cloud.aiplatform.v1.StudyB\x03\xE0A\x02\"\x80\x01\x0A\x12ListStudiesRequest\x129\x0A\x06parent\x18\x01 \x01(\x09B)\xE0A\x02\xFAA#\x0A!locations.googleapis.com/Location\x12\x17\x0A\x0Apage_token\x18\x02 \x01(\x09B\x03\xE0A\x01\x12\x16\x0A\x09page_size\x18\x03 \x01(\x05B\x03\xE0A\x01\"b\x0A\x13ListStudiesResponse\x122\x0A\x07studies\x18\x01 \x03(\x0B2!.google.cloud.aiplatform.v1.Study\x12\x17\x0A\x0Fnext_page_token\x18\x02 \x01(\x09\"K\x0A\x12DeleteStudyRequest\x125\x0A\x04name\x18\x01 \x01(\x09B'\xE0A\x02\xFAA!\x0A\x1Faiplatform.googleapis.com/Study\"j\x0A\x12LookupStudyRequest\x129\x0A\x06parent\x18\x01 \x01(\x09B)\xE0A\x02\xFAA#\x0A!locations.googleapis.com/Location\x12\x19\x0A\x0Cdisplay_name\x18\x02 \x01(\x09B\x03\xE0A\x02\"\xC7\x01\x0A\x14SuggestTrialsRequest\x127\x0A\x06parent\x18\x01 \x01(\x09B'\xE0A\x02\xFAA!\x0A\x1Faiplatform.googleapis.com/Study\x12\x1D\x0A\x10suggestion_count\x18\x02 \x01(\x05B\x03\xE0A\x02\x12\x16\x0A\x09client_id\x18\x03 \x01(\x09B\x03\xE0A\x02\x12?\x0A\x08contexts\x18\x04 \x03(\x0B2(.google.cloud.aiplatform.v1.TrialContextB\x03\xE0A\x01\"\xE6\x01\x0A\x15SuggestTrialsResponse\x121\x0A\x06trials\x18\x01 \x03(\x0B2!.google.cloud.aiplatform.v1.Trial\x12<\x0A\x0Bstudy_state\x18\x02 \x01(\x0E2'.google.cloud.aiplatform.v1.Study.State\x12.\x0A\x0Astart_time\x18\x03 \x01(\x0B2\x1A.google.protobuf.Timestamp\x12,\x0A\x08end_time\x18\x04 \x01(\x0B2\x1A.google.protobuf.Timestamp\"z\x0A\x15SuggestTrialsMetadata\x12N\x0A\x10generic_metadata\x18\x01 \x01(\x0B24.google.cloud.aiplatform.v1.GenericOperationMetadata\x12\x11\x0A\x09client_id\x18\x02 \x01(\x09\"\x84\x01\x0A\x12CreateTrialRequest\x127\x0A\x06parent\x18\x01 \x01(\x09B'\xE0A\x02\xFAA!\x0A\x1Faiplatform.googleapis.com/Study\x125\x0A\x05trial\x18\x02 \x01(\x0B2!.google.cloud.aiplatform.v1.TrialB\x03\xE0A\x02\"H\x0A\x0FGetTrialRequest\x125\x0A\x04name\x18\x01 \x01(\x09B'\xE0A\x02\xFAA!\x0A\x1Faiplatform.googleapis.com/Trial\"}\x0A\x11ListTrialsRequest\x127\x0A\x06parent\x18\x01 \x01(\x09B'\xE0A\x02\xFAA!\x0A\x1Faiplatform.googleapis.com/Study\x12\x17\x0A\x0Apage_token\x18\x02 \x01(\x09B\x03\xE0A\x01\x12\x16\x0A\x09page_size\x18\x03 \x01(\x05B\x03\xE0A\x01\"`\x0A\x12ListTrialsResponse\x121\x0A\x06trials\x18\x01 \x03(\x0B2!.google.cloud.aiplatform.v1.Trial\x12\x17\x0A\x0Fnext_page_token\x18\x02 \x01(\x09\"\x9C\x01\x0A\x1AAddTrialMeasurementRequest\x12;\x0A\x0Atrial_name\x18\x01 \x01(\x09B'\xE0A\x02\xFAA!\x0A\x1Faiplatform.googleapis.com/Trial\x12A\x0A\x0Bmeasurement\x18\x03 \x01(\x0B2'.google.cloud.aiplatform.v1.MeasurementB\x03\xE0A\x02\"\xD5\x01\x0A\x14CompleteTrialRequest\x125\x0A\x04name\x18\x01 \x01(\x09B'\xE0A\x02\xFAA!\x0A\x1Faiplatform.googleapis.com/Trial\x12G\x0A\x11final_measurement\x18\x02 \x01(\x0B2'.google.cloud.aiplatform.v1.MeasurementB\x03\xE0A\x01\x12\x1D\x0A\x10trial_infeasible\x18\x03 \x01(\x08B\x03\xE0A\x01\x12\x1E\x0A\x11infeasible_reason\x18\x04 \x01(\x09B\x03\xE0A\x01\"K\x0A\x12DeleteTrialRequest\x125\x0A\x04name\x18\x01 \x01(\x09B'\xE0A\x02\xFAA!\x0A\x1Faiplatform.googleapis.com/Trial\"b\x0A#CheckTrialEarlyStoppingStateRequest\x12;\x0A\x0Atrial_name\x18\x01 \x01(\x09B'\xE0A\x02\xFAA!\x0A\x1Faiplatform.googleapis.com/Trial\";\x0A\$CheckTrialEarlyStoppingStateResponse\x12\x13\x0A\x0Bshould_stop\x18\x01 \x01(\x08\"\x95\x01\x0A%CheckTrialEarlyStoppingStateMetatdata\x12N\x0A\x10generic_metadata\x18\x01 \x01(\x0B24.google.cloud.aiplatform.v1.GenericOperationMetadata\x12\x0D\x0A\x05study\x18\x02 \x01(\x09\x12\x0D\x0A\x05trial\x18\x03 \x01(\x09\"I\x0A\x10StopTrialRequest\x125\x0A\x04name\x18\x01 \x01(\x09B'\xE0A\x02\xFAA!\x0A\x1Faiplatform.googleapis.com/Trial\"S\x0A\x18ListOptimalTrialsRequest\x127\x0A\x06parent\x18\x01 \x01(\x09B'\xE0A\x02\xFAA!\x0A\x1Faiplatform.googleapis.com/Study\"V\x0A\x19ListOptimalTrialsResponse\x129\x0A\x0Eoptimal_trials\x18\x01 \x03(\x0B2!.google.cloud.aiplatform.v1.Trial2\xD4\x16\x0A\x0DVizierService\x12\xAB\x01\x0A\x0BCreateStudy\x12..google.cloud.aiplatform.v1.CreateStudyRequest\x1A!.google.cloud.aiplatform.v1.Study\"I\xDAA\x0Cparent,study\x82\xD3\xE4\x93\x024\"+/v1/{parent=projects/*/locations/*}/studies:\x05study\x12\x96\x01\x0A\x08GetStudy\x12+.google.cloud.aiplatform.v1.GetStudyRequest\x1A!.google.cloud.aiplatform.v1.Study\":\xDAA\x04name\x82\xD3\xE4\x93\x02-\x12+/v1/{name=projects/*/locations/*/studies/*}\x12\xAC\x01\x0A\x0BListStudies\x12..google.cloud.aiplatform.v1.ListStudiesRequest\x1A/.google.cloud.aiplatform.v1.ListStudiesResponse\"<\xDAA\x06parent\x82\xD3\xE4\x93\x02-\x12+/v1/{parent=projects/*/locations/*}/studies\x12\x91\x01\x0A\x0BDeleteStudy\x12..google.cloud.aiplatform.v1.DeleteStudyRequest\x1A\x16.google.protobuf.Empty\":\xDAA\x04name\x82\xD3\xE4\x93\x02-*+/v1/{name=projects/*/locations/*/studies/*}\x12\xA8\x01\x0A\x0BLookupStudy\x12..google.cloud.aiplatform.v1.LookupStudyRequest\x1A!.google.cloud.aiplatform.v1.Study\"F\xDAA\x06parent\x82\xD3\xE4\x93\x027\"2/v1/{parent=projects/*/locations/*}/studies:lookup:\x01*\x12\xDA\x01\x0A\x0DSuggestTrials\x120.google.cloud.aiplatform.v1.SuggestTrialsRequest\x1A\x1D.google.longrunning.Operation\"x\xCAA.\x0A\x15SuggestTrialsResponse\x12\x15SuggestTrialsMetadata\x82\xD3\xE4\x93\x02A\"\"9/v1/{name=projects/*/locations/*/studies/*/trials/*}:stop:\x01*\x12\xDC\x01\x0A\x11ListOptimalTrials\x124.google.cloud.aiplatform.v1.ListOptimalTrialsRequest\x1A5.google.cloud.aiplatform.v1.ListOptimalTrialsResponse\"Z\xDAA\x06parent\x82\xD3\xE4\x93\x02K\"F/v1/{parent=projects/*/locations/*/studies/*}/trials:listOptimalTrials:\x01*\x1AM\xCAA\x19aiplatform.googleapis.com\xD2A.https://www.googleapis.com/auth/cloud-platformB\xD0\x01\x0A\x1Ecom.google.cloud.aiplatform.v1B\x12VizierServiceProtoP\x01Z>cloud.google.com/go/aiplatform/apiv1/aiplatformpb;aiplatformpb\xAA\x02\x1AGoogle.Cloud.AIPlatform.V1\xCA\x02\x1AGoogle\\Cloud\\AIPlatform\\V1\xEA\x02\x1DGoogle::Cloud::AIPlatform::V1b\x06proto3" + , 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..77aad11c7624 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/AcceleratorType.php @@ -0,0 +1,174 @@ +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; + /** + * Deprecated: Nvidia Tesla K80 GPU has reached end of support, + * see https://cloud.google.com/compute/docs/eol/k80-eol. + * + * 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; + /** + * Nvidia H100 Mega 80Gb GPU. + * + * Generated from protobuf enum NVIDIA_H100_MEGA_80GB = 14; + */ + const NVIDIA_H100_MEGA_80GB = 14; + /** + * Nvidia H200 141Gb GPU. + * + * Generated from protobuf enum NVIDIA_H200_141GB = 15; + */ + const NVIDIA_H200_141GB = 15; + /** + * Nvidia B200 GPU. + * + * Generated from protobuf enum NVIDIA_B200 = 16; + */ + const NVIDIA_B200 = 16; + /** + * Nvidia GB200 GPU. + * + * Generated from protobuf enum NVIDIA_GB200 = 17; + */ + const NVIDIA_GB200 = 17; + /** + * Nvidia RTX Pro 6000 GPU. + * + * Generated from protobuf enum NVIDIA_RTX_PRO_6000 = 18; + */ + const NVIDIA_RTX_PRO_6000 = 18; + /** + * 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::NVIDIA_H100_MEGA_80GB => 'NVIDIA_H100_MEGA_80GB', + self::NVIDIA_H200_141GB => 'NVIDIA_H200_141GB', + self::NVIDIA_B200 => 'NVIDIA_B200', + self::NVIDIA_GB200 => 'NVIDIA_GB200', + self::NVIDIA_RTX_PRO_6000 => 'NVIDIA_RTX_PRO_6000', + 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..9050055c3873 --- /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..65706b588db5 --- /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 string[] $artifacts + * The resource names of the Artifacts to attribute to the Context. + * Format: + * `projects/{project}/locations/{location}/metadataStores/{metadatastore}/artifacts/{artifact}` + * @type string[] $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 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 string[] $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 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 string[] $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..d0e162649129 --- /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..20be6614a580 --- /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 string[] $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 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 string[] $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..dd9592d3339c --- /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..81b640b9cff0 --- /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 \Google\Cloud\AIPlatform\V1\Event[] $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 RepeatedField<\Google\Cloud\AIPlatform\V1\Event> + */ + 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 \Google\Cloud\AIPlatform\V1\Event[] $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..41f56648ff51 --- /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..3280d1460a7e --- /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..75c39d5e210b --- /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..d3644f74a4c3 --- /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/ApiAuth.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ApiAuth.php new file mode 100644 index 000000000000..7433e28aaf23 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ApiAuth.php @@ -0,0 +1,75 @@ +google.cloud.aiplatform.v1.ApiAuth + */ +class ApiAuth extends \Google\Protobuf\Internal\Message +{ + protected $auth_config; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type \Google\Cloud\AIPlatform\V1\ApiAuth\ApiKeyConfig $api_key_config + * The API secret. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Cloud\Aiplatform\V1\ApiAuth::initOnce(); + parent::__construct($data); + } + + /** + * The API secret. + * + * Generated from protobuf field .google.cloud.aiplatform.v1.ApiAuth.ApiKeyConfig api_key_config = 1; + * @return \Google\Cloud\AIPlatform\V1\ApiAuth\ApiKeyConfig|null + */ + public function getApiKeyConfig() + { + return $this->readOneof(1); + } + + public function hasApiKeyConfig() + { + return $this->hasOneof(1); + } + + /** + * The API secret. + * + * Generated from protobuf field .google.cloud.aiplatform.v1.ApiAuth.ApiKeyConfig api_key_config = 1; + * @param \Google\Cloud\AIPlatform\V1\ApiAuth\ApiKeyConfig $var + * @return $this + */ + public function setApiKeyConfig($var) + { + GPBUtil::checkMessage($var, \Google\Cloud\AIPlatform\V1\ApiAuth\ApiKeyConfig::class); + $this->writeOneof(1, $var); + + return $this; + } + + /** + * @return string + */ + public function getAuthConfig() + { + return $this->whichOneof("auth_config"); + } + +} + diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ApiAuth/ApiKeyConfig.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ApiAuth/ApiKeyConfig.php new file mode 100644 index 000000000000..3c1b9341ca62 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ApiAuth/ApiKeyConfig.php @@ -0,0 +1,71 @@ +google.cloud.aiplatform.v1.ApiAuth.ApiKeyConfig + */ +class ApiKeyConfig extends \Google\Protobuf\Internal\Message +{ + /** + * Required. The SecretManager secret version resource name storing API key. + * e.g. projects/{project}/secrets/{secret}/versions/{version} + * + * Generated from protobuf field string api_key_secret_version = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + */ + protected $api_key_secret_version = ''; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $api_key_secret_version + * Required. The SecretManager secret version resource name storing API key. + * e.g. projects/{project}/secrets/{secret}/versions/{version} + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Cloud\Aiplatform\V1\ApiAuth::initOnce(); + parent::__construct($data); + } + + /** + * Required. The SecretManager secret version resource name storing API key. + * e.g. projects/{project}/secrets/{secret}/versions/{version} + * + * Generated from protobuf field string api_key_secret_version = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @return string + */ + public function getApiKeySecretVersion() + { + return $this->api_key_secret_version; + } + + /** + * Required. The SecretManager secret version resource name storing API key. + * e.g. projects/{project}/secrets/{secret}/versions/{version} + * + * Generated from protobuf field string api_key_secret_version = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @param string $var + * @return $this + */ + public function setApiKeySecretVersion($var) + { + GPBUtil::checkString($var, True); + $this->api_key_secret_version = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/AppendEventRequest.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/AppendEventRequest.php new file mode 100644 index 000000000000..743128b43219 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/AppendEventRequest.php @@ -0,0 +1,138 @@ +google.cloud.aiplatform.v1.AppendEventRequest + */ +class AppendEventRequest extends \Google\Protobuf\Internal\Message +{ + /** + * Required. The resource name of the session to append event to. + * Format: + * `projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}/sessions/{session}` + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + */ + protected $name = ''; + /** + * Required. The event to append to the session. + * + * Generated from protobuf field .google.cloud.aiplatform.v1.SessionEvent event = 2 [(.google.api.field_behavior) = REQUIRED]; + */ + protected $event = null; + + /** + * @param string $name Required. The resource name of the session to append event to. + * Format: + * `projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}/sessions/{session}` + * Please see {@see SessionServiceClient::sessionName()} for help formatting this field. + * @param \Google\Cloud\AIPlatform\V1\SessionEvent $event Required. The event to append to the session. + * + * @return \Google\Cloud\AIPlatform\V1\AppendEventRequest + * + * @experimental + */ + public static function build(string $name, \Google\Cloud\AIPlatform\V1\SessionEvent $event): self + { + return (new self()) + ->setName($name) + ->setEvent($event); + } + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $name + * Required. The resource name of the session to append event to. + * Format: + * `projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}/sessions/{session}` + * @type \Google\Cloud\AIPlatform\V1\SessionEvent $event + * Required. The event to append to the session. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Cloud\Aiplatform\V1\SessionService::initOnce(); + parent::__construct($data); + } + + /** + * Required. The resource name of the session to append event to. + * Format: + * `projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}/sessions/{session}` + * + * Generated from 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 session to append event to. + * Format: + * `projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}/sessions/{session}` + * + * Generated from protobuf field string name = 1 [(.google.api.field_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 event to append to the session. + * + * Generated from protobuf field .google.cloud.aiplatform.v1.SessionEvent event = 2 [(.google.api.field_behavior) = REQUIRED]; + * @return \Google\Cloud\AIPlatform\V1\SessionEvent|null + */ + public function getEvent() + { + return $this->event; + } + + public function hasEvent() + { + return isset($this->event); + } + + public function clearEvent() + { + unset($this->event); + } + + /** + * Required. The event to append to the session. + * + * Generated from protobuf field .google.cloud.aiplatform.v1.SessionEvent event = 2 [(.google.api.field_behavior) = REQUIRED]; + * @param \Google\Cloud\AIPlatform\V1\SessionEvent $var + * @return $this + */ + public function setEvent($var) + { + GPBUtil::checkMessage($var, \Google\Cloud\AIPlatform\V1\SessionEvent::class); + $this->event = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/AppendEventResponse.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/AppendEventResponse.php new file mode 100644 index 000000000000..de63bef53077 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/AppendEventResponse.php @@ -0,0 +1,34 @@ +google.cloud.aiplatform.v1.AppendEventResponse + */ +class AppendEventResponse 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\SessionService::initOnce(); + parent::__construct($data); + } + +} + 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..ed99f49f4c37 --- /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..e818312af250 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/Artifact/State.php @@ -0,0 +1,63 @@ +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); + } +} + diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/AskContextsRequest.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/AskContextsRequest.php new file mode 100644 index 000000000000..91d5bee4f3d7 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/AskContextsRequest.php @@ -0,0 +1,178 @@ +google.cloud.aiplatform.v1.AskContextsRequest + */ +class AskContextsRequest extends \Google\Protobuf\Internal\Message +{ + /** + * Required. The resource name of the Location from which to retrieve + * RagContexts. The users must have permission to make a call in the project. + * Format: + * `projects/{project}/locations/{location}`. + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + */ + protected $parent = ''; + /** + * Required. Single RAG retrieve query. + * + * Generated from protobuf field .google.cloud.aiplatform.v1.RagQuery query = 2 [(.google.api.field_behavior) = REQUIRED]; + */ + protected $query = null; + /** + * Optional. The tools to use for AskContexts. + * + * Generated from protobuf field repeated .google.cloud.aiplatform.v1.Tool tools = 3 [(.google.api.field_behavior) = OPTIONAL]; + */ + private $tools; + + /** + * @param string $parent Required. The resource name of the Location from which to retrieve + * RagContexts. The users must have permission to make a call in the project. + * Format: + * `projects/{project}/locations/{location}`. Please see + * {@see VertexRagServiceClient::locationName()} for help formatting this field. + * @param \Google\Cloud\AIPlatform\V1\RagQuery $query Required. Single RAG retrieve query. + * + * @return \Google\Cloud\AIPlatform\V1\AskContextsRequest + * + * @experimental + */ + public static function build(string $parent, \Google\Cloud\AIPlatform\V1\RagQuery $query): self + { + return (new self()) + ->setParent($parent) + ->setQuery($query); + } + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $parent + * Required. The resource name of the Location from which to retrieve + * RagContexts. The users must have permission to make a call in the project. + * Format: + * `projects/{project}/locations/{location}`. + * @type \Google\Cloud\AIPlatform\V1\RagQuery $query + * Required. Single RAG retrieve query. + * @type \Google\Cloud\AIPlatform\V1\Tool[] $tools + * Optional. The tools to use for AskContexts. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Cloud\Aiplatform\V1\VertexRagService::initOnce(); + parent::__construct($data); + } + + /** + * Required. The resource name of the Location from which to retrieve + * RagContexts. The users must have permission to make a call in the project. + * 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 from which to retrieve + * RagContexts. The users must have permission to make a call in the project. + * 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. Single RAG retrieve query. + * + * Generated from protobuf field .google.cloud.aiplatform.v1.RagQuery query = 2 [(.google.api.field_behavior) = REQUIRED]; + * @return \Google\Cloud\AIPlatform\V1\RagQuery|null + */ + public function getQuery() + { + return $this->query; + } + + public function hasQuery() + { + return isset($this->query); + } + + public function clearQuery() + { + unset($this->query); + } + + /** + * Required. Single RAG retrieve query. + * + * Generated from protobuf field .google.cloud.aiplatform.v1.RagQuery query = 2 [(.google.api.field_behavior) = REQUIRED]; + * @param \Google\Cloud\AIPlatform\V1\RagQuery $var + * @return $this + */ + public function setQuery($var) + { + GPBUtil::checkMessage($var, \Google\Cloud\AIPlatform\V1\RagQuery::class); + $this->query = $var; + + return $this; + } + + /** + * Optional. The tools to use for AskContexts. + * + * Generated from protobuf field repeated .google.cloud.aiplatform.v1.Tool tools = 3 [(.google.api.field_behavior) = OPTIONAL]; + * @return RepeatedField<\Google\Cloud\AIPlatform\V1\Tool> + */ + public function getTools() + { + return $this->tools; + } + + /** + * Optional. The tools to use for AskContexts. + * + * Generated from protobuf field repeated .google.cloud.aiplatform.v1.Tool tools = 3 [(.google.api.field_behavior) = OPTIONAL]; + * @param \Google\Cloud\AIPlatform\V1\Tool[] $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/AskContextsResponse.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/AskContextsResponse.php new file mode 100644 index 000000000000..657c32270f37 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/AskContextsResponse.php @@ -0,0 +1,112 @@ +google.cloud.aiplatform.v1.AskContextsResponse + */ +class AskContextsResponse extends \Google\Protobuf\Internal\Message +{ + /** + * The Retrieval Response. + * + * Generated from protobuf field string response = 1; + */ + protected $response = ''; + /** + * The contexts of the query. + * + * Generated from protobuf field .google.cloud.aiplatform.v1.RagContexts contexts = 2; + */ + protected $contexts = null; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $response + * The Retrieval Response. + * @type \Google\Cloud\AIPlatform\V1\RagContexts $contexts + * The contexts of the query. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Cloud\Aiplatform\V1\VertexRagService::initOnce(); + parent::__construct($data); + } + + /** + * The Retrieval Response. + * + * Generated from protobuf field string response = 1; + * @return string + */ + public function getResponse() + { + return $this->response; + } + + /** + * The Retrieval Response. + * + * Generated from protobuf field string response = 1; + * @param string $var + * @return $this + */ + public function setResponse($var) + { + GPBUtil::checkString($var, True); + $this->response = $var; + + return $this; + } + + /** + * The contexts of the query. + * + * Generated from protobuf field .google.cloud.aiplatform.v1.RagContexts contexts = 2; + * @return \Google\Cloud\AIPlatform\V1\RagContexts|null + */ + public function getContexts() + { + return $this->contexts; + } + + public function hasContexts() + { + return isset($this->contexts); + } + + public function clearContexts() + { + unset($this->contexts); + } + + /** + * The contexts of the query. + * + * Generated from protobuf field .google.cloud.aiplatform.v1.RagContexts contexts = 2; + * @param \Google\Cloud\AIPlatform\V1\RagContexts $var + * @return $this + */ + public function setContexts($var) + { + GPBUtil::checkMessage($var, \Google\Cloud\AIPlatform\V1\RagContexts::class); + $this->contexts = $var; + + return $this; + } + +} + 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..beac7c8959eb --- /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..85fbf7bf96ab --- /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/AsyncRetrieveContextsOperationMetadata.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/AsyncRetrieveContextsOperationMetadata.php new file mode 100644 index 000000000000..b53ec27959dc --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/AsyncRetrieveContextsOperationMetadata.php @@ -0,0 +1,77 @@ +google.cloud.aiplatform.v1.AsyncRetrieveContextsOperationMetadata + */ +class AsyncRetrieveContextsOperationMetadata 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\VertexRagService::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/AsyncRetrieveContextsRequest.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/AsyncRetrieveContextsRequest.php new file mode 100644 index 000000000000..ac764c2f444c --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/AsyncRetrieveContextsRequest.php @@ -0,0 +1,177 @@ +google.cloud.aiplatform.v1.AsyncRetrieveContextsRequest + */ +class AsyncRetrieveContextsRequest extends \Google\Protobuf\Internal\Message +{ + /** + * Required. The resource name of the Location from which to retrieve + * RagContexts. The users must have permission to make a call in the project. + * Format: + * `projects/{project}/locations/{location}`. + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + */ + protected $parent = ''; + /** + * Required. Single RAG retrieve query. + * + * Generated from protobuf field .google.cloud.aiplatform.v1.RagQuery query = 2 [(.google.api.field_behavior) = REQUIRED]; + */ + protected $query = null; + /** + * Optional. The tools to use for AskContexts. + * + * Generated from protobuf field repeated .google.cloud.aiplatform.v1.Tool tools = 3 [(.google.api.field_behavior) = OPTIONAL]; + */ + private $tools; + + /** + * @param string $parent Required. The resource name of the Location from which to retrieve + * RagContexts. The users must have permission to make a call in the project. + * Format: + * `projects/{project}/locations/{location}`. Please see + * {@see VertexRagServiceClient::locationName()} for help formatting this field. + * @param \Google\Cloud\AIPlatform\V1\RagQuery $query Required. Single RAG retrieve query. + * + * @return \Google\Cloud\AIPlatform\V1\AsyncRetrieveContextsRequest + * + * @experimental + */ + public static function build(string $parent, \Google\Cloud\AIPlatform\V1\RagQuery $query): self + { + return (new self()) + ->setParent($parent) + ->setQuery($query); + } + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $parent + * Required. The resource name of the Location from which to retrieve + * RagContexts. The users must have permission to make a call in the project. + * Format: + * `projects/{project}/locations/{location}`. + * @type \Google\Cloud\AIPlatform\V1\RagQuery $query + * Required. Single RAG retrieve query. + * @type \Google\Cloud\AIPlatform\V1\Tool[] $tools + * Optional. The tools to use for AskContexts. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Cloud\Aiplatform\V1\VertexRagService::initOnce(); + parent::__construct($data); + } + + /** + * Required. The resource name of the Location from which to retrieve + * RagContexts. The users must have permission to make a call in the project. + * 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 from which to retrieve + * RagContexts. The users must have permission to make a call in the project. + * 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. Single RAG retrieve query. + * + * Generated from protobuf field .google.cloud.aiplatform.v1.RagQuery query = 2 [(.google.api.field_behavior) = REQUIRED]; + * @return \Google\Cloud\AIPlatform\V1\RagQuery|null + */ + public function getQuery() + { + return $this->query; + } + + public function hasQuery() + { + return isset($this->query); + } + + public function clearQuery() + { + unset($this->query); + } + + /** + * Required. Single RAG retrieve query. + * + * Generated from protobuf field .google.cloud.aiplatform.v1.RagQuery query = 2 [(.google.api.field_behavior) = REQUIRED]; + * @param \Google\Cloud\AIPlatform\V1\RagQuery $var + * @return $this + */ + public function setQuery($var) + { + GPBUtil::checkMessage($var, \Google\Cloud\AIPlatform\V1\RagQuery::class); + $this->query = $var; + + return $this; + } + + /** + * Optional. The tools to use for AskContexts. + * + * Generated from protobuf field repeated .google.cloud.aiplatform.v1.Tool tools = 3 [(.google.api.field_behavior) = OPTIONAL]; + * @return RepeatedField<\Google\Cloud\AIPlatform\V1\Tool> + */ + public function getTools() + { + return $this->tools; + } + + /** + * Optional. The tools to use for AskContexts. + * + * Generated from protobuf field repeated .google.cloud.aiplatform.v1.Tool tools = 3 [(.google.api.field_behavior) = OPTIONAL]; + * @param \Google\Cloud\AIPlatform\V1\Tool[] $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/AsyncRetrieveContextsResponse.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/AsyncRetrieveContextsResponse.php new file mode 100644 index 000000000000..f906eea410dc --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/AsyncRetrieveContextsResponse.php @@ -0,0 +1,78 @@ +google.cloud.aiplatform.v1.AsyncRetrieveContextsResponse + */ +class AsyncRetrieveContextsResponse extends \Google\Protobuf\Internal\Message +{ + /** + * The contexts of the query. + * + * Generated from protobuf field .google.cloud.aiplatform.v1.RagContexts contexts = 1; + */ + protected $contexts = null; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type \Google\Cloud\AIPlatform\V1\RagContexts $contexts + * The contexts of the query. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Cloud\Aiplatform\V1\VertexRagService::initOnce(); + parent::__construct($data); + } + + /** + * The contexts of the query. + * + * Generated from protobuf field .google.cloud.aiplatform.v1.RagContexts contexts = 1; + * @return \Google\Cloud\AIPlatform\V1\RagContexts|null + */ + public function getContexts() + { + return $this->contexts; + } + + public function hasContexts() + { + return isset($this->contexts); + } + + public function clearContexts() + { + unset($this->contexts); + } + + /** + * The contexts of the query. + * + * Generated from protobuf field .google.cloud.aiplatform.v1.RagContexts contexts = 1; + * @param \Google\Cloud\AIPlatform\V1\RagContexts $var + * @return $this + */ + public function setContexts($var) + { + GPBUtil::checkMessage($var, \Google\Cloud\AIPlatform\V1\RagContexts::class); + $this->contexts = $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..155b9a32998d --- /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 int[] $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 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 int[] $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/AugmentPromptRequest.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/AugmentPromptRequest.php new file mode 100644 index 000000000000..4dbd59f13616 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/AugmentPromptRequest.php @@ -0,0 +1,220 @@ +google.cloud.aiplatform.v1.AugmentPromptRequest + */ +class AugmentPromptRequest extends \Google\Protobuf\Internal\Message +{ + /** + * Required. The resource name of the Location from which to augment prompt. + * The users must have permission to make a call in the project. + * Format: + * `projects/{project}/locations/{location}`. + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + */ + protected $parent = ''; + /** + * Optional. Input content to augment, only text format is supported for now. + * + * Generated from protobuf field repeated .google.cloud.aiplatform.v1.Content contents = 2 [(.google.api.field_behavior) = OPTIONAL]; + */ + private $contents; + /** + * Optional. Metadata of the backend deployed model. + * + * Generated from protobuf field .google.cloud.aiplatform.v1.AugmentPromptRequest.Model model = 3 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $model = null; + protected $data_source; + + /** + * @param string $parent Required. The resource name of the Location from which to augment prompt. + * The users must have permission to make a call in the project. + * Format: + * `projects/{project}/locations/{location}`. Please see + * {@see VertexRagServiceClient::locationName()} for help formatting this field. + * @param \Google\Cloud\AIPlatform\V1\AugmentPromptRequest\Model $model Optional. Metadata of the backend deployed model. + * @param \Google\Cloud\AIPlatform\V1\VertexRagStore $vertexRagStore Optional. Retrieves contexts from the Vertex RagStore. + * + * @return \Google\Cloud\AIPlatform\V1\AugmentPromptRequest + * + * @experimental + */ + public static function build(string $parent, \Google\Cloud\AIPlatform\V1\AugmentPromptRequest\Model $model, \Google\Cloud\AIPlatform\V1\VertexRagStore $vertexRagStore): self + { + return (new self()) + ->setParent($parent) + ->setModel($model) + ->setVertexRagStore($vertexRagStore); + } + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type \Google\Cloud\AIPlatform\V1\VertexRagStore $vertex_rag_store + * Optional. Retrieves contexts from the Vertex RagStore. + * @type string $parent + * Required. The resource name of the Location from which to augment prompt. + * The users must have permission to make a call in the project. + * Format: + * `projects/{project}/locations/{location}`. + * @type \Google\Cloud\AIPlatform\V1\Content[] $contents + * Optional. Input content to augment, only text format is supported for now. + * @type \Google\Cloud\AIPlatform\V1\AugmentPromptRequest\Model $model + * Optional. Metadata of the backend deployed model. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Cloud\Aiplatform\V1\VertexRagService::initOnce(); + parent::__construct($data); + } + + /** + * Optional. Retrieves contexts from the Vertex RagStore. + * + * Generated from protobuf field .google.cloud.aiplatform.v1.VertexRagStore vertex_rag_store = 4 [(.google.api.field_behavior) = OPTIONAL]; + * @return \Google\Cloud\AIPlatform\V1\VertexRagStore|null + */ + public function getVertexRagStore() + { + return $this->readOneof(4); + } + + public function hasVertexRagStore() + { + return $this->hasOneof(4); + } + + /** + * Optional. Retrieves contexts from the Vertex RagStore. + * + * Generated from protobuf field .google.cloud.aiplatform.v1.VertexRagStore vertex_rag_store = 4 [(.google.api.field_behavior) = OPTIONAL]; + * @param \Google\Cloud\AIPlatform\V1\VertexRagStore $var + * @return $this + */ + public function setVertexRagStore($var) + { + GPBUtil::checkMessage($var, \Google\Cloud\AIPlatform\V1\VertexRagStore::class); + $this->writeOneof(4, $var); + + return $this; + } + + /** + * Required. The resource name of the Location from which to augment prompt. + * The users must have permission to make a call in the project. + * 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 from which to augment prompt. + * The users must have permission to make a call in the project. + * 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; + } + + /** + * Optional. Input content to augment, only text format is supported for now. + * + * Generated from protobuf field repeated .google.cloud.aiplatform.v1.Content contents = 2 [(.google.api.field_behavior) = OPTIONAL]; + * @return RepeatedField<\Google\Cloud\AIPlatform\V1\Content> + */ + public function getContents() + { + return $this->contents; + } + + /** + * Optional. Input content to augment, only text format is supported for now. + * + * Generated from protobuf field repeated .google.cloud.aiplatform.v1.Content contents = 2 [(.google.api.field_behavior) = OPTIONAL]; + * @param \Google\Cloud\AIPlatform\V1\Content[] $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. Metadata of the backend deployed model. + * + * Generated from protobuf field .google.cloud.aiplatform.v1.AugmentPromptRequest.Model model = 3 [(.google.api.field_behavior) = OPTIONAL]; + * @return \Google\Cloud\AIPlatform\V1\AugmentPromptRequest\Model|null + */ + public function getModel() + { + return $this->model; + } + + public function hasModel() + { + return isset($this->model); + } + + public function clearModel() + { + unset($this->model); + } + + /** + * Optional. Metadata of the backend deployed model. + * + * Generated from protobuf field .google.cloud.aiplatform.v1.AugmentPromptRequest.Model model = 3 [(.google.api.field_behavior) = OPTIONAL]; + * @param \Google\Cloud\AIPlatform\V1\AugmentPromptRequest\Model $var + * @return $this + */ + public function setModel($var) + { + GPBUtil::checkMessage($var, \Google\Cloud\AIPlatform\V1\AugmentPromptRequest\Model::class); + $this->model = $var; + + return $this; + } + + /** + * @return string + */ + public function getDataSource() + { + return $this->whichOneof("data_source"); + } + +} + diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/AugmentPromptRequest/Model.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/AugmentPromptRequest/Model.php new file mode 100644 index 000000000000..2ad9d0d10ff9 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/AugmentPromptRequest/Model.php @@ -0,0 +1,105 @@ +google.cloud.aiplatform.v1.AugmentPromptRequest.Model + */ +class Model extends \Google\Protobuf\Internal\Message +{ + /** + * Optional. The model that the user will send the augmented prompt for + * content generation. + * + * Generated from protobuf field string model = 1 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $model = ''; + /** + * Optional. The model version of the backend deployed model. + * + * Generated from protobuf field string model_version = 2 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $model_version = ''; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $model + * Optional. The model that the user will send the augmented prompt for + * content generation. + * @type string $model_version + * Optional. The model version of the backend deployed model. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Cloud\Aiplatform\V1\VertexRagService::initOnce(); + parent::__construct($data); + } + + /** + * Optional. The model that the user will send the augmented prompt for + * content generation. + * + * Generated from protobuf field string model = 1 [(.google.api.field_behavior) = OPTIONAL]; + * @return string + */ + public function getModel() + { + return $this->model; + } + + /** + * Optional. The model that the user will send the augmented prompt for + * content generation. + * + * Generated from protobuf field string model = 1 [(.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 model version of the backend deployed model. + * + * Generated from protobuf field string model_version = 2 [(.google.api.field_behavior) = OPTIONAL]; + * @return string + */ + public function getModelVersion() + { + return $this->model_version; + } + + /** + * Optional. The model version of the backend deployed model. + * + * Generated from protobuf field string model_version = 2 [(.google.api.field_behavior) = OPTIONAL]; + * @param string $var + * @return $this + */ + public function setModelVersion($var) + { + GPBUtil::checkString($var, True); + $this->model_version = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/AugmentPromptResponse.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/AugmentPromptResponse.php new file mode 100644 index 000000000000..508fa0079f19 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/AugmentPromptResponse.php @@ -0,0 +1,101 @@ +google.cloud.aiplatform.v1.AugmentPromptResponse + */ +class AugmentPromptResponse extends \Google\Protobuf\Internal\Message +{ + /** + * Augmented prompt, only text format is supported for now. + * + * Generated from protobuf field repeated .google.cloud.aiplatform.v1.Content augmented_prompt = 1; + */ + private $augmented_prompt; + /** + * Retrieved facts from RAG data sources. + * + * Generated from protobuf field repeated .google.cloud.aiplatform.v1.Fact facts = 2; + */ + private $facts; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type \Google\Cloud\AIPlatform\V1\Content[] $augmented_prompt + * Augmented prompt, only text format is supported for now. + * @type \Google\Cloud\AIPlatform\V1\Fact[] $facts + * Retrieved facts from RAG data sources. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Cloud\Aiplatform\V1\VertexRagService::initOnce(); + parent::__construct($data); + } + + /** + * Augmented prompt, only text format is supported for now. + * + * Generated from protobuf field repeated .google.cloud.aiplatform.v1.Content augmented_prompt = 1; + * @return RepeatedField<\Google\Cloud\AIPlatform\V1\Content> + */ + public function getAugmentedPrompt() + { + return $this->augmented_prompt; + } + + /** + * Augmented prompt, only text format is supported for now. + * + * Generated from protobuf field repeated .google.cloud.aiplatform.v1.Content augmented_prompt = 1; + * @param \Google\Cloud\AIPlatform\V1\Content[] $var + * @return $this + */ + public function setAugmentedPrompt($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\AIPlatform\V1\Content::class); + $this->augmented_prompt = $arr; + + return $this; + } + + /** + * Retrieved facts from RAG data sources. + * + * Generated from protobuf field repeated .google.cloud.aiplatform.v1.Fact facts = 2; + * @return RepeatedField<\Google\Cloud\AIPlatform\V1\Fact> + */ + public function getFacts() + { + return $this->facts; + } + + /** + * Retrieved facts from RAG data sources. + * + * Generated from protobuf field repeated .google.cloud.aiplatform.v1.Fact facts = 2; + * @param \Google\Cloud\AIPlatform\V1\Fact[] $var + * @return $this + */ + public function setFacts($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\AIPlatform\V1\Fact::class); + $this->facts = $arr; + + 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..50615299ca7d --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/AutomaticResources.php @@ -0,0 +1,151 @@ +google.cloud.aiplatform.v1.AutomaticResources + */ +class AutomaticResources extends \Google\Protobuf\Internal\Message +{ + /** + * Immutable. The minimum number of replicas that 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 that 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 + * to that many replicas is guaranteed (barring service outages). If traffic + * 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 that 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 that 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 + * to that many replicas is guaranteed (barring service outages). If traffic + * 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 that 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 that 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 that 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 + * to that many replicas is guaranteed (barring service outages). If traffic + * 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 that 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 + * to that many replicas is guaranteed (barring service outages). If traffic + * 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..aa8b02cea873 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/AutoscalingMetricSpec.php @@ -0,0 +1,135 @@ +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` + * * `aiplatform.googleapis.com/prediction/online/request_count` + * + * 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` + * * `aiplatform.googleapis.com/prediction/online/request_count` + * @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` + * * `aiplatform.googleapis.com/prediction/online/request_count` + * + * 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` + * * `aiplatform.googleapis.com/prediction/online/request_count` + * + * 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..9c578539edb9 --- /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..f09a2332c629 --- /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..aa2211582973 --- /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 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}` + * } + */ + 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 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 string[] $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..7758a152e118 --- /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 \Google\Cloud\AIPlatform\V1\PipelineJob[] $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 RepeatedField<\Google\Cloud\AIPlatform\V1\PipelineJob> + */ + public function getPipelineJobs() + { + return $this->pipeline_jobs; + } + + /** + * PipelineJobs cancelled. + * + * Generated from protobuf field repeated .google.cloud.aiplatform.v1.PipelineJob pipeline_jobs = 1; + * @param \Google\Cloud\AIPlatform\V1\PipelineJob[] $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..fd2545b64057 --- /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..0644b5211036 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/BatchCreateFeaturesRequest.php @@ -0,0 +1,155 @@ +google.cloud.aiplatform.v1.BatchCreateFeaturesRequest + */ +class BatchCreateFeaturesRequest extends \Google\Protobuf\Internal\Message +{ + /** + * Required. The resource name of the EntityType/FeatureGroup to create the + * batch of Features under. Format: + * `projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entity_type}` + * `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 request message specifying the Features to create. All + * Features must be created under the same parent EntityType / FeatureGroup. + * 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/FeatureGroup to create the + * batch of Features under. Format: + * `projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entity_type}` + * `projects/{project}/locations/{location}/featureGroups/{feature_group}` + * 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 / FeatureGroup. + * 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/FeatureGroup to create the + * batch of Features under. Format: + * `projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entity_type}` + * `projects/{project}/locations/{location}/featureGroups/{feature_group}` + * @type \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 / FeatureGroup. + * 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/FeatureGroup to create the + * batch of Features under. Format: + * `projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entity_type}` + * `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/FeatureGroup to create the + * batch of Features under. Format: + * `projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entity_type}` + * `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 request message specifying the Features to create. All + * Features must be created under the same parent EntityType / FeatureGroup. + * 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 RepeatedField<\Google\Cloud\AIPlatform\V1\CreateFeatureRequest> + */ + 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 / FeatureGroup. + * 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 \Google\Cloud\AIPlatform\V1\CreateFeatureRequest[] $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..fb44f65fb40f --- /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 \Google\Cloud\AIPlatform\V1\Feature[] $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 RepeatedField<\Google\Cloud\AIPlatform\V1\Feature> + */ + public function getFeatures() + { + return $this->features; + } + + /** + * The Features created. + * + * Generated from protobuf field repeated .google.cloud.aiplatform.v1.Feature features = 1; + * @param \Google\Cloud\AIPlatform\V1\Feature[] $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..71a7de72452f --- /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 \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. + * } + */ + 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 RepeatedField<\Google\Cloud\AIPlatform\V1\CreateTensorboardRunRequest> + */ + 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 \Google\Cloud\AIPlatform\V1\CreateTensorboardRunRequest[] $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..fe0fee08e182 --- /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 \Google\Cloud\AIPlatform\V1\TensorboardRun[] $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 RepeatedField<\Google\Cloud\AIPlatform\V1\TensorboardRun> + */ + public function getTensorboardRuns() + { + return $this->tensorboard_runs; + } + + /** + * The created TensorboardRuns. + * + * Generated from protobuf field repeated .google.cloud.aiplatform.v1.TensorboardRun tensorboard_runs = 1; + * @param \Google\Cloud\AIPlatform\V1\TensorboardRun[] $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..b2ce23c93305 --- /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 \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. + * } + */ + 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 RepeatedField<\Google\Cloud\AIPlatform\V1\CreateTensorboardTimeSeriesRequest> + */ + 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 \Google\Cloud\AIPlatform\V1\CreateTensorboardTimeSeriesRequest[] $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..f911ca67b64e --- /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 \Google\Cloud\AIPlatform\V1\TensorboardTimeSeries[] $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 RepeatedField<\Google\Cloud\AIPlatform\V1\TensorboardTimeSeries> + */ + 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 \Google\Cloud\AIPlatform\V1\TensorboardTimeSeries[] $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..fa9b8539f5f7 --- /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..71126f339c40 --- /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 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}` + * } + */ + 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 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 string[] $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..5b8451aea2e5 --- /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 \Google\Cloud\AIPlatform\V1\PipelineJob[] $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 RepeatedField<\Google\Cloud\AIPlatform\V1\PipelineJob> + */ + public function getPipelineJobs() + { + return $this->pipeline_jobs; + } + + /** + * PipelineJobs deleted. + * + * Generated from protobuf field repeated .google.cloud.aiplatform.v1.PipelineJob pipeline_jobs = 1; + * @param \Google\Cloud\AIPlatform\V1\PipelineJob[] $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..28343d004707 --- /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 \Google\Cloud\AIPlatform\V1\EvaluatedAnnotation[] $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 RepeatedField<\Google\Cloud\AIPlatform\V1\EvaluatedAnnotation> + */ + 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 \Google\Cloud\AIPlatform\V1\EvaluatedAnnotation[] $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..e5573f774f01 --- /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..129412682625 --- /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 \Google\Cloud\AIPlatform\V1\ModelEvaluationSlice[] $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 RepeatedField<\Google\Cloud\AIPlatform\V1\ModelEvaluationSlice> + */ + 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 \Google\Cloud\AIPlatform\V1\ModelEvaluationSlice[] $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..a1fc2f9e7d53 --- /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 string[] $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 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 string[] $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..a535e4eec8ff --- /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 \Google\Cloud\AIPlatform\V1\BatchMigrateResourcesOperationMetadata\PartialResult[] $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 RepeatedField<\Google\Cloud\AIPlatform\V1\BatchMigrateResourcesOperationMetadata\PartialResult> + */ + 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 \Google\Cloud\AIPlatform\V1\BatchMigrateResourcesOperationMetadata\PartialResult[] $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..92ab1e4452bd --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/BatchMigrateResourcesOperationMetadata/PartialResult.php @@ -0,0 +1,190 @@ +google.cloud.aiplatform.v1.BatchMigrateResourcesOperationMetadata.PartialResult + */ +class PartialResult extends \Google\Protobuf\Internal\Message +{ + /** + * It's the same as the value in + * [BatchMigrateResourcesRequest.migrate_resource_requests][google.cloud.aiplatform.v1.BatchMigrateResourcesRequest.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 + * [BatchMigrateResourcesRequest.migrate_resource_requests][google.cloud.aiplatform.v1.BatchMigrateResourcesRequest.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 + * [BatchMigrateResourcesRequest.migrate_resource_requests][google.cloud.aiplatform.v1.BatchMigrateResourcesRequest.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 + * [BatchMigrateResourcesRequest.migrate_resource_requests][google.cloud.aiplatform.v1.BatchMigrateResourcesRequest.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"); + } + +} + 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..d90b4cd40440 --- /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 \Google\Cloud\AIPlatform\V1\MigrateResourceRequest[] $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 RepeatedField<\Google\Cloud\AIPlatform\V1\MigrateResourceRequest> + */ + 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 \Google\Cloud\AIPlatform\V1\MigrateResourceRequest[] $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..9c7b9038427c --- /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 \Google\Cloud\AIPlatform\V1\MigrateResourceResponse[] $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 RepeatedField<\Google\Cloud\AIPlatform\V1\MigrateResourceResponse> + */ + 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 \Google\Cloud\AIPlatform\V1\MigrateResourceResponse[] $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..599ef52151a5 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/BatchPredictionJob.php @@ -0,0 +1,1578 @@ +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; + /** + * Output only. Reserved for future use. + * + * Generated from protobuf field bool satisfies_pzs = 36 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + protected $satisfies_pzs = false; + /** + * Output only. Reserved for future use. + * + * Generated from protobuf field bool satisfies_pzi = 37 [(.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. 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 \Google\Rpc\Status[] $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. + * @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\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 RepeatedField<\Google\Rpc\Status> + */ + 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 \Google\Rpc\Status[] $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; + } + + /** + * Output only. Reserved for future use. + * + * Generated from protobuf field bool satisfies_pzs = 36 [(.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 = 36 [(.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 = 37 [(.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 = 37 [(.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/BatchPredictionJob/InputConfig.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/BatchPredictionJob/InputConfig.php new file mode 100644 index 000000000000..390f696fbc2d --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/BatchPredictionJob/InputConfig.php @@ -0,0 +1,202 @@ +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 \Google\Cloud\AIPlatform\V1\VertexMultimodalDatasetSource $vertex_multimodal_dataset_source + * A Vertex Managed Dataset. Currently, only datasets of type Multimodal + * are supported. + * @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; + } + + /** + * A Vertex Managed Dataset. Currently, only datasets of type Multimodal + * are supported. + * + * Generated from protobuf field .google.cloud.aiplatform.v1.VertexMultimodalDatasetSource vertex_multimodal_dataset_source = 4; + * @return \Google\Cloud\AIPlatform\V1\VertexMultimodalDatasetSource|null + */ + public function getVertexMultimodalDatasetSource() + { + return $this->readOneof(4); + } + + public function hasVertexMultimodalDatasetSource() + { + return $this->hasOneof(4); + } + + /** + * A Vertex Managed Dataset. Currently, only datasets of type Multimodal + * are supported. + * + * Generated from protobuf field .google.cloud.aiplatform.v1.VertexMultimodalDatasetSource vertex_multimodal_dataset_source = 4; + * @param \Google\Cloud\AIPlatform\V1\VertexMultimodalDatasetSource $var + * @return $this + */ + public function setVertexMultimodalDatasetSource($var) + { + GPBUtil::checkMessage($var, \Google\Cloud\AIPlatform\V1\VertexMultimodalDatasetSource::class); + $this->writeOneof(4, $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"); + } + +} + 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..7b39c31144f3 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/BatchPredictionJob/InstanceConfig.php @@ -0,0 +1,442 @@ +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 string[] $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 string[] $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 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 string[] $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 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 string[] $var + * @return $this + */ + public function setExcludedFields($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING); + $this->excluded_fields = $arr; + + return $this; + } + +} + 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..20b058c7c5bd --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/BatchPredictionJob/OutputConfig.php @@ -0,0 +1,310 @@ +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 \Google\Cloud\AIPlatform\V1\VertexMultimodalDatasetDestination $vertex_multimodal_dataset_destination + * The details for a Vertex Multimodal Dataset that will be created for + * the output. + * @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; + } + + /** + * The details for a Vertex Multimodal Dataset that will be created for + * the output. + * + * Generated from protobuf field .google.cloud.aiplatform.v1.VertexMultimodalDatasetDestination vertex_multimodal_dataset_destination = 6; + * @return \Google\Cloud\AIPlatform\V1\VertexMultimodalDatasetDestination|null + */ + public function getVertexMultimodalDatasetDestination() + { + return $this->readOneof(6); + } + + public function hasVertexMultimodalDatasetDestination() + { + return $this->hasOneof(6); + } + + /** + * The details for a Vertex Multimodal Dataset that will be created for + * the output. + * + * Generated from protobuf field .google.cloud.aiplatform.v1.VertexMultimodalDatasetDestination vertex_multimodal_dataset_destination = 6; + * @param \Google\Cloud\AIPlatform\V1\VertexMultimodalDatasetDestination $var + * @return $this + */ + public function setVertexMultimodalDatasetDestination($var) + { + GPBUtil::checkMessage($var, \Google\Cloud\AIPlatform\V1\VertexMultimodalDatasetDestination::class); + $this->writeOneof(6, $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"); + } + +} + 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..2f312c005961 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/BatchPredictionJob/OutputInfo.php @@ -0,0 +1,204 @@ +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 $vertex_multimodal_dataset_name + * Output only. The resource name of the Vertex Managed Dataset created, + * into which the prediction output is written. Format: + * `projects/{project}/locations/{location}/datasets/{dataset}` + * @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 resource name of the Vertex Managed Dataset created, + * into which the prediction output is written. Format: + * `projects/{project}/locations/{location}/datasets/{dataset}` + * + * Generated from protobuf field string vertex_multimodal_dataset_name = 5 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { + * @return string + */ + public function getVertexMultimodalDatasetName() + { + return $this->readOneof(5); + } + + public function hasVertexMultimodalDatasetName() + { + return $this->hasOneof(5); + } + + /** + * Output only. The resource name of the Vertex Managed Dataset created, + * into which the prediction output is written. Format: + * `projects/{project}/locations/{location}/datasets/{dataset}` + * + * Generated from protobuf field string vertex_multimodal_dataset_name = 5 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { + * @param string $var + * @return $this + */ + public function setVertexMultimodalDatasetName($var) + { + GPBUtil::checkString($var, True); + $this->writeOneof(5, $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"); + } + +} + 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..2dc591b0c149 --- /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..b44736d73503 --- /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 \Google\Cloud\AIPlatform\V1\BatchReadFeatureValuesRequest\PassThroughField[] $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 \Google\Cloud\AIPlatform\V1\BatchReadFeatureValuesRequest\EntityTypeSpec[] $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 RepeatedField<\Google\Cloud\AIPlatform\V1\BatchReadFeatureValuesRequest\PassThroughField> + */ + 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 \Google\Cloud\AIPlatform\V1\BatchReadFeatureValuesRequest\PassThroughField[] $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 RepeatedField<\Google\Cloud\AIPlatform\V1\BatchReadFeatureValuesRequest\EntityTypeSpec> + */ + 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 \Google\Cloud\AIPlatform\V1\BatchReadFeatureValuesRequest\EntityTypeSpec[] $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..b24531c22ea0 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/BatchReadFeatureValuesRequest/EntityTypeSpec.php @@ -0,0 +1,162 @@ +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 \Google\Cloud\AIPlatform\V1\DestinationFeatureSetting[] $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 RepeatedField<\Google\Cloud\AIPlatform\V1\DestinationFeatureSetting> + */ + 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 \Google\Cloud\AIPlatform\V1\DestinationFeatureSetting[] $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; + } + +} + 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..7df1ebbf1a1f --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/BatchReadFeatureValuesRequest/PassThroughField.php @@ -0,0 +1,75 @@ +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; + } + +} + 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..84cbc6a45354 --- /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..7301af99d9a9 --- /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 string[] $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 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 string[] $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..e642b45c971f --- /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 \Google\Cloud\AIPlatform\V1\TimeSeriesData[] $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 RepeatedField<\Google\Cloud\AIPlatform\V1\TimeSeriesData> + */ + 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 \Google\Cloud\AIPlatform\V1\TimeSeriesData[] $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..d23ef48f196e --- /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..18fcb184cee4 --- /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/BleuInput.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/BleuInput.php new file mode 100644 index 000000000000..15bb618d0462 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/BleuInput.php @@ -0,0 +1,111 @@ +google.cloud.aiplatform.v1.BleuInput + */ +class BleuInput extends \Google\Protobuf\Internal\Message +{ + /** + * Required. Spec for bleu score metric. + * + * Generated from protobuf field .google.cloud.aiplatform.v1.BleuSpec metric_spec = 1 [(.google.api.field_behavior) = REQUIRED]; + */ + protected $metric_spec = null; + /** + * Required. Repeated bleu instances. + * + * Generated from protobuf field repeated .google.cloud.aiplatform.v1.BleuInstance instances = 2 [(.google.api.field_behavior) = REQUIRED]; + */ + private $instances; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type \Google\Cloud\AIPlatform\V1\BleuSpec $metric_spec + * Required. Spec for bleu score metric. + * @type \Google\Cloud\AIPlatform\V1\BleuInstance[] $instances + * Required. Repeated bleu instances. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Cloud\Aiplatform\V1\EvaluationService::initOnce(); + parent::__construct($data); + } + + /** + * Required. Spec for bleu score metric. + * + * Generated from protobuf field .google.cloud.aiplatform.v1.BleuSpec metric_spec = 1 [(.google.api.field_behavior) = REQUIRED]; + * @return \Google\Cloud\AIPlatform\V1\BleuSpec|null + */ + public function getMetricSpec() + { + return $this->metric_spec; + } + + public function hasMetricSpec() + { + return isset($this->metric_spec); + } + + public function clearMetricSpec() + { + unset($this->metric_spec); + } + + /** + * Required. Spec for bleu score metric. + * + * Generated from protobuf field .google.cloud.aiplatform.v1.BleuSpec metric_spec = 1 [(.google.api.field_behavior) = REQUIRED]; + * @param \Google\Cloud\AIPlatform\V1\BleuSpec $var + * @return $this + */ + public function setMetricSpec($var) + { + GPBUtil::checkMessage($var, \Google\Cloud\AIPlatform\V1\BleuSpec::class); + $this->metric_spec = $var; + + return $this; + } + + /** + * Required. Repeated bleu instances. + * + * Generated from protobuf field repeated .google.cloud.aiplatform.v1.BleuInstance instances = 2 [(.google.api.field_behavior) = REQUIRED]; + * @return RepeatedField<\Google\Cloud\AIPlatform\V1\BleuInstance> + */ + public function getInstances() + { + return $this->instances; + } + + /** + * Required. Repeated bleu instances. + * + * Generated from protobuf field repeated .google.cloud.aiplatform.v1.BleuInstance instances = 2 [(.google.api.field_behavior) = REQUIRED]; + * @param \Google\Cloud\AIPlatform\V1\BleuInstance[] $var + * @return $this + */ + public function setInstances($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\AIPlatform\V1\BleuInstance::class); + $this->instances = $arr; + + return $this; + } + +} + diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/BleuInstance.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/BleuInstance.php new file mode 100644 index 000000000000..77540d050432 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/BleuInstance.php @@ -0,0 +1,121 @@ +google.cloud.aiplatform.v1.BleuInstance + */ +class BleuInstance extends \Google\Protobuf\Internal\Message +{ + /** + * Required. Output of the evaluated model. + * + * Generated from protobuf field optional string prediction = 1 [(.google.api.field_behavior) = REQUIRED]; + */ + protected $prediction = null; + /** + * Required. Ground truth used to compare against the prediction. + * + * Generated from protobuf field optional string reference = 2 [(.google.api.field_behavior) = REQUIRED]; + */ + protected $reference = null; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $prediction + * Required. Output of the evaluated model. + * @type string $reference + * Required. Ground truth used to compare against the prediction. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Cloud\Aiplatform\V1\EvaluationService::initOnce(); + parent::__construct($data); + } + + /** + * Required. Output of the evaluated model. + * + * Generated from protobuf field optional string prediction = 1 [(.google.api.field_behavior) = REQUIRED]; + * @return string + */ + public function getPrediction() + { + return isset($this->prediction) ? $this->prediction : ''; + } + + public function hasPrediction() + { + return isset($this->prediction); + } + + public function clearPrediction() + { + unset($this->prediction); + } + + /** + * Required. Output of the evaluated model. + * + * Generated from protobuf field optional string prediction = 1 [(.google.api.field_behavior) = REQUIRED]; + * @param string $var + * @return $this + */ + public function setPrediction($var) + { + GPBUtil::checkString($var, True); + $this->prediction = $var; + + return $this; + } + + /** + * Required. Ground truth used to compare against the prediction. + * + * Generated from protobuf field optional string reference = 2 [(.google.api.field_behavior) = REQUIRED]; + * @return string + */ + public function getReference() + { + return isset($this->reference) ? $this->reference : ''; + } + + public function hasReference() + { + return isset($this->reference); + } + + public function clearReference() + { + unset($this->reference); + } + + /** + * Required. Ground truth used to compare against the prediction. + * + * Generated from protobuf field optional string reference = 2 [(.google.api.field_behavior) = REQUIRED]; + * @param string $var + * @return $this + */ + public function setReference($var) + { + GPBUtil::checkString($var, True); + $this->reference = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/BleuMetricValue.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/BleuMetricValue.php new file mode 100644 index 000000000000..7b4886827cf9 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/BleuMetricValue.php @@ -0,0 +1,77 @@ +google.cloud.aiplatform.v1.BleuMetricValue + */ +class BleuMetricValue extends \Google\Protobuf\Internal\Message +{ + /** + * Output only. Bleu score. + * + * Generated from protobuf field optional float score = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + protected $score = null; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type float $score + * Output only. Bleu score. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Cloud\Aiplatform\V1\EvaluationService::initOnce(); + parent::__construct($data); + } + + /** + * Output only. Bleu score. + * + * Generated from protobuf field optional float score = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return float + */ + public function getScore() + { + return isset($this->score) ? $this->score : 0.0; + } + + public function hasScore() + { + return isset($this->score); + } + + public function clearScore() + { + unset($this->score); + } + + /** + * Output only. Bleu score. + * + * Generated from protobuf field optional float score = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @param float $var + * @return $this + */ + public function setScore($var) + { + GPBUtil::checkFloat($var); + $this->score = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/BleuResults.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/BleuResults.php new file mode 100644 index 000000000000..699f14cba3ee --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/BleuResults.php @@ -0,0 +1,67 @@ +google.cloud.aiplatform.v1.BleuResults + */ +class BleuResults extends \Google\Protobuf\Internal\Message +{ + /** + * Output only. Bleu metric values. + * + * Generated from protobuf field repeated .google.cloud.aiplatform.v1.BleuMetricValue bleu_metric_values = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + private $bleu_metric_values; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type \Google\Cloud\AIPlatform\V1\BleuMetricValue[] $bleu_metric_values + * Output only. Bleu metric values. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Cloud\Aiplatform\V1\EvaluationService::initOnce(); + parent::__construct($data); + } + + /** + * Output only. Bleu metric values. + * + * Generated from protobuf field repeated .google.cloud.aiplatform.v1.BleuMetricValue bleu_metric_values = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return RepeatedField<\Google\Cloud\AIPlatform\V1\BleuMetricValue> + */ + public function getBleuMetricValues() + { + return $this->bleu_metric_values; + } + + /** + * Output only. Bleu metric values. + * + * Generated from protobuf field repeated .google.cloud.aiplatform.v1.BleuMetricValue bleu_metric_values = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @param \Google\Cloud\AIPlatform\V1\BleuMetricValue[] $var + * @return $this + */ + public function setBleuMetricValues($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\AIPlatform\V1\BleuMetricValue::class); + $this->bleu_metric_values = $arr; + + return $this; + } + +} + diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/BleuSpec.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/BleuSpec.php new file mode 100644 index 000000000000..05947b4d3d26 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/BleuSpec.php @@ -0,0 +1,68 @@ +google.cloud.aiplatform.v1.BleuSpec + */ +class BleuSpec extends \Google\Protobuf\Internal\Message +{ + /** + * Optional. Whether to use_effective_order to compute bleu score. + * + * Generated from protobuf field bool use_effective_order = 1 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $use_effective_order = false; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type bool $use_effective_order + * Optional. Whether to use_effective_order to compute bleu score. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Cloud\Aiplatform\V1\EvaluationService::initOnce(); + parent::__construct($data); + } + + /** + * Optional. Whether to use_effective_order to compute bleu score. + * + * Generated from protobuf field bool use_effective_order = 1 [(.google.api.field_behavior) = OPTIONAL]; + * @return bool + */ + public function getUseEffectiveOrder() + { + return $this->use_effective_order; + } + + /** + * Optional. Whether to use_effective_order to compute bleu score. + * + * Generated from protobuf field bool use_effective_order = 1 [(.google.api.field_behavior) = OPTIONAL]; + * @param bool $var + * @return $this + */ + public function setUseEffectiveOrder($var) + { + GPBUtil::checkBool($var); + $this->use_effective_order = $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..dc2a27660945 --- /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..1b5c01244839 --- /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..00d8f855b5a4 --- /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 bool[] $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 RepeatedField + */ + public function getValues() + { + return $this->values; + } + + /** + * A list of bool values. + * + * Generated from protobuf field repeated bool values = 1; + * @param bool[] $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/CachedContent.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CachedContent.php new file mode 100644 index 000000000000..6dbb5cf68875 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CachedContent.php @@ -0,0 +1,592 @@ +google.cloud.aiplatform.v1.CachedContent + */ +class CachedContent extends \Google\Protobuf\Internal\Message +{ + /** + * Immutable. Identifier. The server-generated resource name of the cached + * content Format: + * projects/{project}/locations/{location}/cachedContents/{cached_content} + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = IDENTIFIER, (.google.api.field_behavior) = IMMUTABLE]; + */ + protected $name = ''; + /** + * Optional. Immutable. The user-generated meaningful display name of the + * cached content. + * + * Generated from protobuf field string display_name = 11 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE]; + */ + protected $display_name = ''; + /** + * Immutable. The name of the `Model` to use for cached content. Currently, + * only the published Gemini base models are supported, in form of + * projects/{PROJECT}/locations/{LOCATION}/publishers/google/models/{MODEL} + * + * Generated from protobuf field string model = 2 [(.google.api.field_behavior) = IMMUTABLE]; + */ + protected $model = ''; + /** + * Optional. Input only. Immutable. Developer set system instruction. + * Currently, text only + * + * Generated from protobuf field .google.cloud.aiplatform.v1.Content system_instruction = 3 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = INPUT_ONLY]; + */ + protected $system_instruction = null; + /** + * Optional. Input only. Immutable. The content to cache + * + * Generated from protobuf field repeated .google.cloud.aiplatform.v1.Content contents = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = INPUT_ONLY]; + */ + private $contents; + /** + * Optional. Input only. Immutable. A list of `Tools` the model may use to + * generate the next response + * + * Generated from protobuf field repeated .google.cloud.aiplatform.v1.Tool tools = 5 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = INPUT_ONLY]; + */ + private $tools; + /** + * Optional. Input only. Immutable. Tool config. This config is shared for all + * tools + * + * Generated from protobuf field .google.cloud.aiplatform.v1.ToolConfig tool_config = 6 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = INPUT_ONLY]; + */ + protected $tool_config = null; + /** + * Output only. Creation time of the cache entry. + * + * Generated from protobuf field .google.protobuf.Timestamp create_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + protected $create_time = null; + /** + * Output only. When the cache entry was last updated in UTC time. + * + * Generated from protobuf field .google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + protected $update_time = null; + /** + * Output only. Metadata on the usage of the cached content. + * + * Generated from protobuf field .google.cloud.aiplatform.v1.CachedContent.UsageMetadata usage_metadata = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + protected $usage_metadata = null; + /** + * Input only. Immutable. Customer-managed encryption key spec for a + * `CachedContent`. If set, this `CachedContent` and all its sub-resources + * will be secured by this key. + * + * Generated from protobuf field .google.cloud.aiplatform.v1.EncryptionSpec encryption_spec = 13 [(.google.api.field_behavior) = INPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE]; + */ + protected $encryption_spec = null; + protected $expiration; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type \Google\Protobuf\Timestamp $expire_time + * Timestamp of when this resource is considered expired. + * This is *always* provided on output, regardless of what was sent + * on input. + * @type \Google\Protobuf\Duration $ttl + * Input only. The TTL for this resource. The expiration time is computed: + * now + TTL. + * @type string $name + * Immutable. Identifier. The server-generated resource name of the cached + * content Format: + * projects/{project}/locations/{location}/cachedContents/{cached_content} + * @type string $display_name + * Optional. Immutable. The user-generated meaningful display name of the + * cached content. + * @type string $model + * Immutable. The name of the `Model` to use for cached content. Currently, + * only the published Gemini base models are supported, in form of + * projects/{PROJECT}/locations/{LOCATION}/publishers/google/models/{MODEL} + * @type \Google\Cloud\AIPlatform\V1\Content $system_instruction + * Optional. Input only. Immutable. Developer set system instruction. + * Currently, text only + * @type \Google\Cloud\AIPlatform\V1\Content[] $contents + * Optional. Input only. Immutable. The content to cache + * @type \Google\Cloud\AIPlatform\V1\Tool[] $tools + * Optional. Input only. Immutable. A list of `Tools` the model may use to + * generate the next response + * @type \Google\Cloud\AIPlatform\V1\ToolConfig $tool_config + * Optional. Input only. Immutable. Tool config. This config is shared for all + * tools + * @type \Google\Protobuf\Timestamp $create_time + * Output only. Creation time of the cache entry. + * @type \Google\Protobuf\Timestamp $update_time + * Output only. When the cache entry was last updated in UTC time. + * @type \Google\Cloud\AIPlatform\V1\CachedContent\UsageMetadata $usage_metadata + * Output only. Metadata on the usage of the cached content. + * @type \Google\Cloud\AIPlatform\V1\EncryptionSpec $encryption_spec + * Input only. Immutable. Customer-managed encryption key spec for a + * `CachedContent`. If set, this `CachedContent` and all its sub-resources + * will be secured by this key. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Cloud\Aiplatform\V1\CachedContent::initOnce(); + parent::__construct($data); + } + + /** + * Timestamp of when this resource is considered expired. + * This is *always* provided on output, regardless of what was sent + * on input. + * + * Generated from protobuf field .google.protobuf.Timestamp expire_time = 9; + * @return \Google\Protobuf\Timestamp|null + */ + public function getExpireTime() + { + return $this->readOneof(9); + } + + public function hasExpireTime() + { + return $this->hasOneof(9); + } + + /** + * Timestamp of when this resource is considered expired. + * This is *always* provided on output, regardless of what was sent + * on input. + * + * Generated from protobuf field .google.protobuf.Timestamp expire_time = 9; + * @param \Google\Protobuf\Timestamp $var + * @return $this + */ + public function setExpireTime($var) + { + GPBUtil::checkMessage($var, \Google\Protobuf\Timestamp::class); + $this->writeOneof(9, $var); + + return $this; + } + + /** + * Input only. The TTL for this resource. The expiration time is computed: + * now + TTL. + * + * Generated from protobuf field .google.protobuf.Duration ttl = 10 [(.google.api.field_behavior) = INPUT_ONLY]; + * @return \Google\Protobuf\Duration|null + */ + public function getTtl() + { + return $this->readOneof(10); + } + + public function hasTtl() + { + return $this->hasOneof(10); + } + + /** + * Input only. The TTL for this resource. The expiration time is computed: + * now + TTL. + * + * Generated from protobuf field .google.protobuf.Duration ttl = 10 [(.google.api.field_behavior) = INPUT_ONLY]; + * @param \Google\Protobuf\Duration $var + * @return $this + */ + public function setTtl($var) + { + GPBUtil::checkMessage($var, \Google\Protobuf\Duration::class); + $this->writeOneof(10, $var); + + return $this; + } + + /** + * Immutable. Identifier. The server-generated resource name of the cached + * content Format: + * projects/{project}/locations/{location}/cachedContents/{cached_content} + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = IDENTIFIER, (.google.api.field_behavior) = IMMUTABLE]; + * @return string + */ + public function getName() + { + return $this->name; + } + + /** + * Immutable. Identifier. The server-generated resource name of the cached + * content Format: + * projects/{project}/locations/{location}/cachedContents/{cached_content} + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = IDENTIFIER, (.google.api.field_behavior) = IMMUTABLE]; + * @param string $var + * @return $this + */ + public function setName($var) + { + GPBUtil::checkString($var, True); + $this->name = $var; + + return $this; + } + + /** + * Optional. Immutable. The user-generated meaningful display name of the + * cached content. + * + * Generated from protobuf field string display_name = 11 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE]; + * @return string + */ + public function getDisplayName() + { + return $this->display_name; + } + + /** + * Optional. Immutable. The user-generated meaningful display name of the + * cached content. + * + * Generated from protobuf field string display_name = 11 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE]; + * @param string $var + * @return $this + */ + public function setDisplayName($var) + { + GPBUtil::checkString($var, True); + $this->display_name = $var; + + return $this; + } + + /** + * Immutable. The name of the `Model` to use for cached content. Currently, + * only the published Gemini base models are supported, in form of + * projects/{PROJECT}/locations/{LOCATION}/publishers/google/models/{MODEL} + * + * Generated from protobuf field string model = 2 [(.google.api.field_behavior) = IMMUTABLE]; + * @return string + */ + public function getModel() + { + return $this->model; + } + + /** + * Immutable. The name of the `Model` to use for cached content. Currently, + * only the published Gemini base models are supported, in form of + * projects/{PROJECT}/locations/{LOCATION}/publishers/google/models/{MODEL} + * + * Generated from protobuf field string model = 2 [(.google.api.field_behavior) = IMMUTABLE]; + * @param string $var + * @return $this + */ + public function setModel($var) + { + GPBUtil::checkString($var, True); + $this->model = $var; + + return $this; + } + + /** + * Optional. Input only. Immutable. Developer set system instruction. + * Currently, text only + * + * Generated from protobuf field .google.cloud.aiplatform.v1.Content system_instruction = 3 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = INPUT_ONLY]; + * @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. Input only. Immutable. Developer set system instruction. + * Currently, text only + * + * Generated from protobuf field .google.cloud.aiplatform.v1.Content system_instruction = 3 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = INPUT_ONLY]; + * @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. Input only. Immutable. The content to cache + * + * Generated from protobuf field repeated .google.cloud.aiplatform.v1.Content contents = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = INPUT_ONLY]; + * @return RepeatedField<\Google\Cloud\AIPlatform\V1\Content> + */ + public function getContents() + { + return $this->contents; + } + + /** + * Optional. Input only. Immutable. The content to cache + * + * Generated from protobuf field repeated .google.cloud.aiplatform.v1.Content contents = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = INPUT_ONLY]; + * @param \Google\Cloud\AIPlatform\V1\Content[] $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. Input only. Immutable. A list of `Tools` the model may use to + * generate the next response + * + * Generated from protobuf field repeated .google.cloud.aiplatform.v1.Tool tools = 5 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = INPUT_ONLY]; + * @return RepeatedField<\Google\Cloud\AIPlatform\V1\Tool> + */ + public function getTools() + { + return $this->tools; + } + + /** + * Optional. Input only. Immutable. A list of `Tools` the model may use to + * generate the next response + * + * Generated from protobuf field repeated .google.cloud.aiplatform.v1.Tool tools = 5 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = INPUT_ONLY]; + * @param \Google\Cloud\AIPlatform\V1\Tool[] $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. Input only. Immutable. Tool config. This config is shared for all + * tools + * + * Generated from protobuf field .google.cloud.aiplatform.v1.ToolConfig tool_config = 6 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = INPUT_ONLY]; + * @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. Input only. Immutable. Tool config. This config is shared for all + * tools + * + * Generated from protobuf field .google.cloud.aiplatform.v1.ToolConfig tool_config = 6 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = INPUT_ONLY]; + * @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; + } + + /** + * Output only. Creation time of the cache entry. + * + * 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. Creation time of the cache entry. + * + * 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. When the cache entry was last updated in UTC time. + * + * 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. When the cache entry was last updated in UTC time. + * + * 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; + } + + /** + * Output only. Metadata on the usage of the cached content. + * + * Generated from protobuf field .google.cloud.aiplatform.v1.CachedContent.UsageMetadata usage_metadata = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return \Google\Cloud\AIPlatform\V1\CachedContent\UsageMetadata|null + */ + public function getUsageMetadata() + { + return $this->usage_metadata; + } + + public function hasUsageMetadata() + { + return isset($this->usage_metadata); + } + + public function clearUsageMetadata() + { + unset($this->usage_metadata); + } + + /** + * Output only. Metadata on the usage of the cached content. + * + * Generated from protobuf field .google.cloud.aiplatform.v1.CachedContent.UsageMetadata usage_metadata = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @param \Google\Cloud\AIPlatform\V1\CachedContent\UsageMetadata $var + * @return $this + */ + public function setUsageMetadata($var) + { + GPBUtil::checkMessage($var, \Google\Cloud\AIPlatform\V1\CachedContent\UsageMetadata::class); + $this->usage_metadata = $var; + + return $this; + } + + /** + * Input only. Immutable. Customer-managed encryption key spec for a + * `CachedContent`. If set, this `CachedContent` and all its sub-resources + * will be secured by this key. + * + * Generated from protobuf field .google.cloud.aiplatform.v1.EncryptionSpec encryption_spec = 13 [(.google.api.field_behavior) = INPUT_ONLY, (.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); + } + + /** + * Input only. Immutable. Customer-managed encryption key spec for a + * `CachedContent`. If set, this `CachedContent` and all its sub-resources + * will be secured by this key. + * + * Generated from protobuf field .google.cloud.aiplatform.v1.EncryptionSpec encryption_spec = 13 [(.google.api.field_behavior) = INPUT_ONLY, (.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; + } + + /** + * @return string + */ + public function getExpiration() + { + return $this->whichOneof("expiration"); + } + +} + diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CachedContent/UsageMetadata.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CachedContent/UsageMetadata.php new file mode 100644 index 000000000000..3f69eb6d374c --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CachedContent/UsageMetadata.php @@ -0,0 +1,203 @@ +google.cloud.aiplatform.v1.CachedContent.UsageMetadata + */ +class UsageMetadata extends \Google\Protobuf\Internal\Message +{ + /** + * Total number of tokens that the cached content consumes. + * + * Generated from protobuf field int32 total_token_count = 1; + */ + protected $total_token_count = 0; + /** + * Number of text characters. + * + * Generated from protobuf field int32 text_count = 2; + */ + protected $text_count = 0; + /** + * Number of images. + * + * Generated from protobuf field int32 image_count = 3; + */ + protected $image_count = 0; + /** + * Duration of video in seconds. + * + * Generated from protobuf field int32 video_duration_seconds = 4; + */ + protected $video_duration_seconds = 0; + /** + * Duration of audio in seconds. + * + * Generated from protobuf field int32 audio_duration_seconds = 5; + */ + protected $audio_duration_seconds = 0; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type int $total_token_count + * Total number of tokens that the cached content consumes. + * @type int $text_count + * Number of text characters. + * @type int $image_count + * Number of images. + * @type int $video_duration_seconds + * Duration of video in seconds. + * @type int $audio_duration_seconds + * Duration of audio in seconds. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Cloud\Aiplatform\V1\CachedContent::initOnce(); + parent::__construct($data); + } + + /** + * Total number of tokens that the cached content consumes. + * + * Generated from protobuf field int32 total_token_count = 1; + * @return int + */ + public function getTotalTokenCount() + { + return $this->total_token_count; + } + + /** + * Total number of tokens that the cached content consumes. + * + * Generated from protobuf field int32 total_token_count = 1; + * @param int $var + * @return $this + */ + public function setTotalTokenCount($var) + { + GPBUtil::checkInt32($var); + $this->total_token_count = $var; + + return $this; + } + + /** + * Number of text characters. + * + * Generated from protobuf field int32 text_count = 2; + * @return int + */ + public function getTextCount() + { + return $this->text_count; + } + + /** + * Number of text characters. + * + * Generated from protobuf field int32 text_count = 2; + * @param int $var + * @return $this + */ + public function setTextCount($var) + { + GPBUtil::checkInt32($var); + $this->text_count = $var; + + return $this; + } + + /** + * Number of images. + * + * Generated from protobuf field int32 image_count = 3; + * @return int + */ + public function getImageCount() + { + return $this->image_count; + } + + /** + * Number of images. + * + * Generated from protobuf field int32 image_count = 3; + * @param int $var + * @return $this + */ + public function setImageCount($var) + { + GPBUtil::checkInt32($var); + $this->image_count = $var; + + return $this; + } + + /** + * Duration of video in seconds. + * + * Generated from protobuf field int32 video_duration_seconds = 4; + * @return int + */ + public function getVideoDurationSeconds() + { + return $this->video_duration_seconds; + } + + /** + * Duration of video in seconds. + * + * Generated from protobuf field int32 video_duration_seconds = 4; + * @param int $var + * @return $this + */ + public function setVideoDurationSeconds($var) + { + GPBUtil::checkInt32($var); + $this->video_duration_seconds = $var; + + return $this; + } + + /** + * Duration of audio in seconds. + * + * Generated from protobuf field int32 audio_duration_seconds = 5; + * @return int + */ + public function getAudioDurationSeconds() + { + return $this->audio_duration_seconds; + } + + /** + * Duration of audio in seconds. + * + * Generated from protobuf field int32 audio_duration_seconds = 5; + * @param int $var + * @return $this + */ + public function setAudioDurationSeconds($var) + { + GPBUtil::checkInt32($var); + $this->audio_duration_seconds = $var; + + 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..5ca4a1506155 --- /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..7340696fc972 --- /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..8af2270a5602 --- /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..b0c0897c7c1d --- /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..dd23f1e2eca7 --- /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..0c0eacb1044d --- /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..d7a4af77e86e --- /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..c68753ce005c --- /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..3b2e0751e965 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/Candidate.php @@ -0,0 +1,479 @@ +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. Average log probability score of the candidate. + * + * Generated from protobuf field double avg_logprobs = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + protected $avg_logprobs = 0.0; + /** + * Output only. Log-likelihood scores for the response tokens and top tokens + * + * Generated from protobuf field .google.cloud.aiplatform.v1.LogprobsResult logprobs_result = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + protected $logprobs_result = null; + /** + * Output only. The reason why the model stopped generating tokens. + * If empty, the model has not stopped generating the tokens. + * + * Generated from protobuf field .google.cloud.aiplatform.v1.Candidate.FinishReason finish_reason = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + protected $finish_reason = 0; + /** + * Output only. List of ratings for the safety of a response candidate. + * There is at most one rating per category. + * + * Generated from protobuf field repeated .google.cloud.aiplatform.v1.SafetyRating safety_ratings = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + private $safety_ratings; + /** + * Output only. Describes the reason the mode stopped generating tokens in + * more detail. This is only filled when `finish_reason` is set. + * + * Generated from protobuf field optional string finish_message = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + protected $finish_message = null; + /** + * Output only. Source attribution of the generated content. + * + * Generated from protobuf field .google.cloud.aiplatform.v1.CitationMetadata citation_metadata = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + protected $citation_metadata = null; + /** + * Output only. Metadata specifies sources used to ground generated content. + * + * Generated from protobuf field .google.cloud.aiplatform.v1.GroundingMetadata grounding_metadata = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + protected $grounding_metadata = null; + /** + * Output only. Metadata related to url context retrieval tool. + * + * Generated from protobuf field .google.cloud.aiplatform.v1.UrlContextMetadata url_context_metadata = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + protected $url_context_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 float $avg_logprobs + * Output only. Average log probability score of the candidate. + * @type \Google\Cloud\AIPlatform\V1\LogprobsResult $logprobs_result + * Output only. Log-likelihood scores for the response tokens and top tokens + * @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 \Google\Cloud\AIPlatform\V1\SafetyRating[] $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. + * @type \Google\Cloud\AIPlatform\V1\UrlContextMetadata $url_context_metadata + * Output only. Metadata related to url context retrieval tool. + * } + */ + 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. Average log probability score of the candidate. + * + * Generated from protobuf field double avg_logprobs = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return float + */ + public function getAvgLogprobs() + { + return $this->avg_logprobs; + } + + /** + * Output only. Average log probability score of the candidate. + * + * Generated from protobuf field double avg_logprobs = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @param float $var + * @return $this + */ + public function setAvgLogprobs($var) + { + GPBUtil::checkDouble($var); + $this->avg_logprobs = $var; + + return $this; + } + + /** + * Output only. Log-likelihood scores for the response tokens and top tokens + * + * Generated from protobuf field .google.cloud.aiplatform.v1.LogprobsResult logprobs_result = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return \Google\Cloud\AIPlatform\V1\LogprobsResult|null + */ + public function getLogprobsResult() + { + return $this->logprobs_result; + } + + public function hasLogprobsResult() + { + return isset($this->logprobs_result); + } + + public function clearLogprobsResult() + { + unset($this->logprobs_result); + } + + /** + * Output only. Log-likelihood scores for the response tokens and top tokens + * + * Generated from protobuf field .google.cloud.aiplatform.v1.LogprobsResult logprobs_result = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @param \Google\Cloud\AIPlatform\V1\LogprobsResult $var + * @return $this + */ + public function setLogprobsResult($var) + { + GPBUtil::checkMessage($var, \Google\Cloud\AIPlatform\V1\LogprobsResult::class); + $this->logprobs_result = $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 RepeatedField<\Google\Cloud\AIPlatform\V1\SafetyRating> + */ + 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 \Google\Cloud\AIPlatform\V1\SafetyRating[] $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; + } + + /** + * Output only. Metadata related to url context retrieval tool. + * + * Generated from protobuf field .google.cloud.aiplatform.v1.UrlContextMetadata url_context_metadata = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return \Google\Cloud\AIPlatform\V1\UrlContextMetadata|null + */ + public function getUrlContextMetadata() + { + return $this->url_context_metadata; + } + + public function hasUrlContextMetadata() + { + return isset($this->url_context_metadata); + } + + public function clearUrlContextMetadata() + { + unset($this->url_context_metadata); + } + + /** + * Output only. Metadata related to url context retrieval tool. + * + * Generated from protobuf field .google.cloud.aiplatform.v1.UrlContextMetadata url_context_metadata = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @param \Google\Cloud\AIPlatform\V1\UrlContextMetadata $var + * @return $this + */ + public function setUrlContextMetadata($var) + { + GPBUtil::checkMessage($var, \Google\Cloud\AIPlatform\V1\UrlContextMetadata::class); + $this->url_context_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..854c5dd27ce4 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/Candidate/FinishReason.php @@ -0,0 +1,124 @@ +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; + /** + * Token generation reached a natural stopping point or a configured stop + * sequence. + * + * Generated from protobuf enum STOP = 1; + */ + const STOP = 1; + /** + * Token generation reached the configured maximum output tokens. + * + * Generated from protobuf enum MAX_TOKENS = 2; + */ + const MAX_TOKENS = 2; + /** + * Token generation stopped because the content potentially contains safety + * violations. NOTE: When streaming, + * [content][google.cloud.aiplatform.v1.Candidate.content] is empty if + * content filters blocks the output. + * + * Generated from protobuf enum SAFETY = 3; + */ + const SAFETY = 3; + /** + * Token generation stopped because the content potentially contains + * copyright violations. + * + * 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; + /** + * Token generation stopped because the content contains forbidden terms. + * + * Generated from protobuf enum BLOCKLIST = 6; + */ + const BLOCKLIST = 6; + /** + * Token generation stopped for potentially containing prohibited content. + * + * Generated from protobuf enum PROHIBITED_CONTENT = 7; + */ + const PROHIBITED_CONTENT = 7; + /** + * Token generation stopped because the content potentially contains + * Sensitive Personally Identifiable Information (SPII). + * + * 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; + /** + * The model response was blocked by Model Armor. + * + * Generated from protobuf enum MODEL_ARMOR = 10; + */ + const MODEL_ARMOR = 10; + + 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', + self::MODEL_ARMOR => 'MODEL_ARMOR', + ]; + + 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/CheckTrialEarlyStoppingStateMetatdata.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CheckTrialEarlyStoppingStateMetatdata.php new file mode 100644 index 000000000000..9b91ed2a813f --- /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..04b1bc87bfe3 --- /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..c67861d22249 --- /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/Checkpoint.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/Checkpoint.php new file mode 100644 index 000000000000..2a7e97dd4064 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/Checkpoint.php @@ -0,0 +1,135 @@ +google.cloud.aiplatform.v1.Checkpoint + */ +class Checkpoint extends \Google\Protobuf\Internal\Message +{ + /** + * The ID of the checkpoint. + * + * Generated from protobuf field string checkpoint_id = 1; + */ + protected $checkpoint_id = ''; + /** + * The epoch of the checkpoint. + * + * Generated from protobuf field int64 epoch = 2; + */ + protected $epoch = 0; + /** + * The step of the checkpoint. + * + * Generated from protobuf field int64 step = 3; + */ + protected $step = 0; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $checkpoint_id + * The ID of the checkpoint. + * @type int|string $epoch + * The epoch of the checkpoint. + * @type int|string $step + * The step of the checkpoint. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Cloud\Aiplatform\V1\Model::initOnce(); + parent::__construct($data); + } + + /** + * The ID of the checkpoint. + * + * Generated from protobuf field string checkpoint_id = 1; + * @return string + */ + public function getCheckpointId() + { + return $this->checkpoint_id; + } + + /** + * The ID of the checkpoint. + * + * Generated from protobuf field string checkpoint_id = 1; + * @param string $var + * @return $this + */ + public function setCheckpointId($var) + { + GPBUtil::checkString($var, True); + $this->checkpoint_id = $var; + + return $this; + } + + /** + * The epoch of the checkpoint. + * + * Generated from protobuf field int64 epoch = 2; + * @return int|string + */ + public function getEpoch() + { + return $this->epoch; + } + + /** + * The epoch of the checkpoint. + * + * Generated from protobuf field int64 epoch = 2; + * @param int|string $var + * @return $this + */ + public function setEpoch($var) + { + GPBUtil::checkInt64($var); + $this->epoch = $var; + + return $this; + } + + /** + * The step of the checkpoint. + * + * Generated from protobuf field int64 step = 3; + * @return int|string + */ + public function getStep() + { + return $this->step; + } + + /** + * The step of the checkpoint. + * + * Generated from protobuf field int64 step = 3; + * @param int|string $var + * @return $this + */ + public function setStep($var) + { + GPBUtil::checkInt64($var); + $this->step = $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..f856ad84ab20 --- /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..acf402bb6762 --- /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 \Google\Cloud\AIPlatform\V1\Citation[] $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 RepeatedField<\Google\Cloud\AIPlatform\V1\Citation> + */ + 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 \Google\Cloud\AIPlatform\V1\Citation[] $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/Claim.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/Claim.php new file mode 100644 index 000000000000..effd28a06313 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/Claim.php @@ -0,0 +1,199 @@ +google.cloud.aiplatform.v1.Claim + */ +class Claim extends \Google\Protobuf\Internal\Message +{ + /** + * Index in the input text where the claim starts (inclusive). + * + * Generated from protobuf field optional int32 start_index = 1; + */ + protected $start_index = null; + /** + * Index in the input text where the claim ends (exclusive). + * + * Generated from protobuf field optional int32 end_index = 2; + */ + protected $end_index = null; + /** + * Indexes of the facts supporting this claim. + * + * Generated from protobuf field repeated int32 fact_indexes = 3; + */ + private $fact_indexes; + /** + * Confidence score of this corroboration. + * + * Generated from protobuf field optional float score = 4; + */ + protected $score = null; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type int $start_index + * Index in the input text where the claim starts (inclusive). + * @type int $end_index + * Index in the input text where the claim ends (exclusive). + * @type int[] $fact_indexes + * Indexes of the facts supporting this claim. + * @type float $score + * Confidence score of this corroboration. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Cloud\Aiplatform\V1\VertexRagService::initOnce(); + parent::__construct($data); + } + + /** + * Index in the input text where the claim starts (inclusive). + * + * Generated from protobuf field optional int32 start_index = 1; + * @return int + */ + public function getStartIndex() + { + return isset($this->start_index) ? $this->start_index : 0; + } + + public function hasStartIndex() + { + return isset($this->start_index); + } + + public function clearStartIndex() + { + unset($this->start_index); + } + + /** + * Index in the input text where the claim starts (inclusive). + * + * Generated from protobuf field optional int32 start_index = 1; + * @param int $var + * @return $this + */ + public function setStartIndex($var) + { + GPBUtil::checkInt32($var); + $this->start_index = $var; + + return $this; + } + + /** + * Index in the input text where the claim ends (exclusive). + * + * Generated from protobuf field optional int32 end_index = 2; + * @return int + */ + public function getEndIndex() + { + return isset($this->end_index) ? $this->end_index : 0; + } + + public function hasEndIndex() + { + return isset($this->end_index); + } + + public function clearEndIndex() + { + unset($this->end_index); + } + + /** + * Index in the input text where the claim ends (exclusive). + * + * Generated from protobuf field optional int32 end_index = 2; + * @param int $var + * @return $this + */ + public function setEndIndex($var) + { + GPBUtil::checkInt32($var); + $this->end_index = $var; + + return $this; + } + + /** + * Indexes of the facts supporting this claim. + * + * Generated from protobuf field repeated int32 fact_indexes = 3; + * @return RepeatedField + */ + public function getFactIndexes() + { + return $this->fact_indexes; + } + + /** + * Indexes of the facts supporting this claim. + * + * Generated from protobuf field repeated int32 fact_indexes = 3; + * @param int[] $var + * @return $this + */ + public function setFactIndexes($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::INT32); + $this->fact_indexes = $arr; + + return $this; + } + + /** + * Confidence score of this corroboration. + * + * Generated from protobuf field optional float score = 4; + * @return float + */ + public function getScore() + { + return isset($this->score) ? $this->score : 0.0; + } + + public function hasScore() + { + return isset($this->score); + } + + public function clearScore() + { + unset($this->score); + } + + /** + * Confidence score of this corroboration. + * + * Generated from protobuf field optional float score = 4; + * @param float $var + * @return $this + */ + public function setScore($var) + { + GPBUtil::checkFloat($var); + $this->score = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ClientConnectionConfig.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ClientConnectionConfig.php new file mode 100644 index 000000000000..5174b9b11f6b --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ClientConnectionConfig.php @@ -0,0 +1,77 @@ +google.cloud.aiplatform.v1.ClientConnectionConfig + */ +class ClientConnectionConfig extends \Google\Protobuf\Internal\Message +{ + /** + * Customizable online prediction request timeout. + * + * Generated from protobuf field .google.protobuf.Duration inference_timeout = 1; + */ + protected $inference_timeout = null; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type \Google\Protobuf\Duration $inference_timeout + * Customizable online prediction request timeout. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Cloud\Aiplatform\V1\Endpoint::initOnce(); + parent::__construct($data); + } + + /** + * Customizable online prediction request timeout. + * + * Generated from protobuf field .google.protobuf.Duration inference_timeout = 1; + * @return \Google\Protobuf\Duration|null + */ + public function getInferenceTimeout() + { + return $this->inference_timeout; + } + + public function hasInferenceTimeout() + { + return isset($this->inference_timeout); + } + + public function clearInferenceTimeout() + { + unset($this->inference_timeout); + } + + /** + * Customizable online prediction request timeout. + * + * Generated from protobuf field .google.protobuf.Duration inference_timeout = 1; + * @param \Google\Protobuf\Duration $var + * @return $this + */ + public function setInferenceTimeout($var) + { + GPBUtil::checkMessage($var, \Google\Protobuf\Duration::class); + $this->inference_timeout = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CodeExecutionResult.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CodeExecutionResult.php new file mode 100644 index 000000000000..5f05995e9e62 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CodeExecutionResult.php @@ -0,0 +1,106 @@ +google.cloud.aiplatform.v1.CodeExecutionResult + */ +class CodeExecutionResult extends \Google\Protobuf\Internal\Message +{ + /** + * Required. Outcome of the code execution. + * + * Generated from protobuf field .google.cloud.aiplatform.v1.CodeExecutionResult.Outcome outcome = 1 [(.google.api.field_behavior) = REQUIRED]; + */ + protected $outcome = 0; + /** + * Optional. Contains stdout when code execution is successful, stderr or + * other description otherwise. + * + * Generated from protobuf field string output = 2 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $output = ''; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type int $outcome + * Required. Outcome of the code execution. + * @type string $output + * Optional. Contains stdout when code execution is successful, stderr or + * other description otherwise. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Cloud\Aiplatform\V1\Tool::initOnce(); + parent::__construct($data); + } + + /** + * Required. Outcome of the code execution. + * + * Generated from protobuf field .google.cloud.aiplatform.v1.CodeExecutionResult.Outcome outcome = 1 [(.google.api.field_behavior) = REQUIRED]; + * @return int + */ + public function getOutcome() + { + return $this->outcome; + } + + /** + * Required. Outcome of the code execution. + * + * Generated from protobuf field .google.cloud.aiplatform.v1.CodeExecutionResult.Outcome outcome = 1 [(.google.api.field_behavior) = REQUIRED]; + * @param int $var + * @return $this + */ + public function setOutcome($var) + { + GPBUtil::checkEnum($var, \Google\Cloud\AIPlatform\V1\CodeExecutionResult\Outcome::class); + $this->outcome = $var; + + return $this; + } + + /** + * Optional. Contains stdout when code execution is successful, stderr or + * other description otherwise. + * + * Generated from protobuf field string output = 2 [(.google.api.field_behavior) = OPTIONAL]; + * @return string + */ + public function getOutput() + { + return $this->output; + } + + /** + * Optional. Contains stdout when code execution is successful, stderr or + * other description otherwise. + * + * Generated from protobuf field string output = 2 [(.google.api.field_behavior) = OPTIONAL]; + * @param string $var + * @return $this + */ + public function setOutput($var) + { + GPBUtil::checkString($var, True); + $this->output = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CodeExecutionResult/Outcome.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CodeExecutionResult/Outcome.php new file mode 100644 index 000000000000..c168cf50e654 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CodeExecutionResult/Outcome.php @@ -0,0 +1,70 @@ +google.cloud.aiplatform.v1.CodeExecutionResult.Outcome + */ +class Outcome +{ + /** + * Unspecified status. This value should not be used. + * + * Generated from protobuf enum OUTCOME_UNSPECIFIED = 0; + */ + const OUTCOME_UNSPECIFIED = 0; + /** + * Code execution completed successfully. + * + * Generated from protobuf enum OUTCOME_OK = 1; + */ + const OUTCOME_OK = 1; + /** + * Code execution finished but with a failure. `stderr` should contain the + * reason. + * + * Generated from protobuf enum OUTCOME_FAILED = 2; + */ + const OUTCOME_FAILED = 2; + /** + * Code execution ran for too long, and was cancelled. There may or may not + * be a partial output present. + * + * Generated from protobuf enum OUTCOME_DEADLINE_EXCEEDED = 3; + */ + const OUTCOME_DEADLINE_EXCEEDED = 3; + + private static $valueToName = [ + self::OUTCOME_UNSPECIFIED => 'OUTCOME_UNSPECIFIED', + self::OUTCOME_OK => 'OUTCOME_OK', + self::OUTCOME_FAILED => 'OUTCOME_FAILED', + self::OUTCOME_DEADLINE_EXCEEDED => 'OUTCOME_DEADLINE_EXCEEDED', + ]; + + 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/CoherenceInput.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CoherenceInput.php new file mode 100644 index 000000000000..450c8b993882 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CoherenceInput.php @@ -0,0 +1,121 @@ +google.cloud.aiplatform.v1.CoherenceInput + */ +class CoherenceInput extends \Google\Protobuf\Internal\Message +{ + /** + * Required. Spec for coherence score metric. + * + * Generated from protobuf field .google.cloud.aiplatform.v1.CoherenceSpec metric_spec = 1 [(.google.api.field_behavior) = REQUIRED]; + */ + protected $metric_spec = null; + /** + * Required. Coherence instance. + * + * Generated from protobuf field .google.cloud.aiplatform.v1.CoherenceInstance instance = 2 [(.google.api.field_behavior) = REQUIRED]; + */ + protected $instance = null; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type \Google\Cloud\AIPlatform\V1\CoherenceSpec $metric_spec + * Required. Spec for coherence score metric. + * @type \Google\Cloud\AIPlatform\V1\CoherenceInstance $instance + * Required. Coherence instance. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Cloud\Aiplatform\V1\EvaluationService::initOnce(); + parent::__construct($data); + } + + /** + * Required. Spec for coherence score metric. + * + * Generated from protobuf field .google.cloud.aiplatform.v1.CoherenceSpec metric_spec = 1 [(.google.api.field_behavior) = REQUIRED]; + * @return \Google\Cloud\AIPlatform\V1\CoherenceSpec|null + */ + public function getMetricSpec() + { + return $this->metric_spec; + } + + public function hasMetricSpec() + { + return isset($this->metric_spec); + } + + public function clearMetricSpec() + { + unset($this->metric_spec); + } + + /** + * Required. Spec for coherence score metric. + * + * Generated from protobuf field .google.cloud.aiplatform.v1.CoherenceSpec metric_spec = 1 [(.google.api.field_behavior) = REQUIRED]; + * @param \Google\Cloud\AIPlatform\V1\CoherenceSpec $var + * @return $this + */ + public function setMetricSpec($var) + { + GPBUtil::checkMessage($var, \Google\Cloud\AIPlatform\V1\CoherenceSpec::class); + $this->metric_spec = $var; + + return $this; + } + + /** + * Required. Coherence instance. + * + * Generated from protobuf field .google.cloud.aiplatform.v1.CoherenceInstance instance = 2 [(.google.api.field_behavior) = REQUIRED]; + * @return \Google\Cloud\AIPlatform\V1\CoherenceInstance|null + */ + public function getInstance() + { + return $this->instance; + } + + public function hasInstance() + { + return isset($this->instance); + } + + public function clearInstance() + { + unset($this->instance); + } + + /** + * Required. Coherence instance. + * + * Generated from protobuf field .google.cloud.aiplatform.v1.CoherenceInstance instance = 2 [(.google.api.field_behavior) = REQUIRED]; + * @param \Google\Cloud\AIPlatform\V1\CoherenceInstance $var + * @return $this + */ + public function setInstance($var) + { + GPBUtil::checkMessage($var, \Google\Cloud\AIPlatform\V1\CoherenceInstance::class); + $this->instance = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CoherenceInstance.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CoherenceInstance.php new file mode 100644 index 000000000000..f91bdc497231 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CoherenceInstance.php @@ -0,0 +1,77 @@ +google.cloud.aiplatform.v1.CoherenceInstance + */ +class CoherenceInstance extends \Google\Protobuf\Internal\Message +{ + /** + * Required. Output of the evaluated model. + * + * Generated from protobuf field optional string prediction = 1 [(.google.api.field_behavior) = REQUIRED]; + */ + protected $prediction = null; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $prediction + * Required. Output of the evaluated model. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Cloud\Aiplatform\V1\EvaluationService::initOnce(); + parent::__construct($data); + } + + /** + * Required. Output of the evaluated model. + * + * Generated from protobuf field optional string prediction = 1 [(.google.api.field_behavior) = REQUIRED]; + * @return string + */ + public function getPrediction() + { + return isset($this->prediction) ? $this->prediction : ''; + } + + public function hasPrediction() + { + return isset($this->prediction); + } + + public function clearPrediction() + { + unset($this->prediction); + } + + /** + * Required. Output of the evaluated model. + * + * Generated from protobuf field optional string prediction = 1 [(.google.api.field_behavior) = REQUIRED]; + * @param string $var + * @return $this + */ + public function setPrediction($var) + { + GPBUtil::checkString($var, True); + $this->prediction = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CoherenceResult.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CoherenceResult.php new file mode 100644 index 000000000000..513e46977fed --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CoherenceResult.php @@ -0,0 +1,155 @@ +google.cloud.aiplatform.v1.CoherenceResult + */ +class CoherenceResult extends \Google\Protobuf\Internal\Message +{ + /** + * Output only. Coherence score. + * + * Generated from protobuf field optional float score = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + protected $score = null; + /** + * Output only. Explanation for coherence score. + * + * Generated from protobuf field string explanation = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + protected $explanation = ''; + /** + * Output only. Confidence for coherence score. + * + * Generated from protobuf field optional float confidence = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + protected $confidence = null; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type float $score + * Output only. Coherence score. + * @type string $explanation + * Output only. Explanation for coherence score. + * @type float $confidence + * Output only. Confidence for coherence score. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Cloud\Aiplatform\V1\EvaluationService::initOnce(); + parent::__construct($data); + } + + /** + * Output only. Coherence score. + * + * Generated from protobuf field optional float score = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return float + */ + public function getScore() + { + return isset($this->score) ? $this->score : 0.0; + } + + public function hasScore() + { + return isset($this->score); + } + + public function clearScore() + { + unset($this->score); + } + + /** + * Output only. Coherence score. + * + * Generated from protobuf field optional float score = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @param float $var + * @return $this + */ + public function setScore($var) + { + GPBUtil::checkFloat($var); + $this->score = $var; + + return $this; + } + + /** + * Output only. Explanation for coherence score. + * + * Generated from protobuf field string explanation = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return string + */ + public function getExplanation() + { + return $this->explanation; + } + + /** + * Output only. Explanation for coherence score. + * + * Generated from protobuf field string explanation = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @param string $var + * @return $this + */ + public function setExplanation($var) + { + GPBUtil::checkString($var, True); + $this->explanation = $var; + + return $this; + } + + /** + * Output only. Confidence for coherence score. + * + * Generated from protobuf field optional float confidence = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return float + */ + public function getConfidence() + { + return isset($this->confidence) ? $this->confidence : 0.0; + } + + public function hasConfidence() + { + return isset($this->confidence); + } + + public function clearConfidence() + { + unset($this->confidence); + } + + /** + * Output only. Confidence for coherence score. + * + * Generated from protobuf field optional float confidence = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @param float $var + * @return $this + */ + public function setConfidence($var) + { + GPBUtil::checkFloat($var); + $this->confidence = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CoherenceSpec.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CoherenceSpec.php new file mode 100644 index 000000000000..dfbae7a5749f --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CoherenceSpec.php @@ -0,0 +1,67 @@ +google.cloud.aiplatform.v1.CoherenceSpec + */ +class CoherenceSpec extends \Google\Protobuf\Internal\Message +{ + /** + * Optional. Which version to use for evaluation. + * + * Generated from protobuf field int32 version = 1 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $version = 0; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type int $version + * Optional. Which version to use for evaluation. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Cloud\Aiplatform\V1\EvaluationService::initOnce(); + parent::__construct($data); + } + + /** + * Optional. Which version to use for evaluation. + * + * Generated from protobuf field int32 version = 1 [(.google.api.field_behavior) = OPTIONAL]; + * @return int + */ + public function getVersion() + { + return $this->version; + } + + /** + * Optional. Which version to use for evaluation. + * + * Generated from protobuf field int32 version = 1 [(.google.api.field_behavior) = OPTIONAL]; + * @param int $var + * @return $this + */ + public function setVersion($var) + { + GPBUtil::checkInt32($var); + $this->version = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ColabImage.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ColabImage.php new file mode 100644 index 000000000000..b9724536d993 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ColabImage.php @@ -0,0 +1,113 @@ +google.cloud.aiplatform.v1.ColabImage + */ +class ColabImage extends \Google\Protobuf\Internal\Message +{ + /** + * Optional. The release name of the NotebookRuntime Colab image, e.g. + * "py310". If not specified, detault to the latest release. + * + * Generated from protobuf field string release_name = 1 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $release_name = ''; + /** + * Output only. A human-readable description of the specified colab image + * release, populated by the system. Example: "Python 3.10", "Latest - current + * Python 3.11" + * + * Generated from protobuf field string description = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + protected $description = ''; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $release_name + * Optional. The release name of the NotebookRuntime Colab image, e.g. + * "py310". If not specified, detault to the latest release. + * @type string $description + * Output only. A human-readable description of the specified colab image + * release, populated by the system. Example: "Python 3.10", "Latest - current + * Python 3.11" + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Cloud\Aiplatform\V1\NotebookSoftwareConfig::initOnce(); + parent::__construct($data); + } + + /** + * Optional. The release name of the NotebookRuntime Colab image, e.g. + * "py310". If not specified, detault to the latest release. + * + * Generated from protobuf field string release_name = 1 [(.google.api.field_behavior) = OPTIONAL]; + * @return string + */ + public function getReleaseName() + { + return $this->release_name; + } + + /** + * Optional. The release name of the NotebookRuntime Colab image, e.g. + * "py310". If not specified, detault to the latest release. + * + * Generated from protobuf field string release_name = 1 [(.google.api.field_behavior) = OPTIONAL]; + * @param string $var + * @return $this + */ + public function setReleaseName($var) + { + GPBUtil::checkString($var, True); + $this->release_name = $var; + + return $this; + } + + /** + * Output only. A human-readable description of the specified colab image + * release, populated by the system. Example: "Python 3.10", "Latest - current + * Python 3.11" + * + * Generated from protobuf field string description = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return string + */ + public function getDescription() + { + return $this->description; + } + + /** + * Output only. A human-readable description of the specified colab image + * release, populated by the system. Example: "Python 3.10", "Latest - current + * Python 3.11" + * + * Generated from protobuf field string description = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @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/CometInput.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CometInput.php new file mode 100644 index 000000000000..b202e61b9309 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CometInput.php @@ -0,0 +1,121 @@ +google.cloud.aiplatform.v1.CometInput + */ +class CometInput extends \Google\Protobuf\Internal\Message +{ + /** + * Required. Spec for comet metric. + * + * Generated from protobuf field .google.cloud.aiplatform.v1.CometSpec metric_spec = 1 [(.google.api.field_behavior) = REQUIRED]; + */ + protected $metric_spec = null; + /** + * Required. Comet instance. + * + * Generated from protobuf field .google.cloud.aiplatform.v1.CometInstance instance = 2 [(.google.api.field_behavior) = REQUIRED]; + */ + protected $instance = null; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type \Google\Cloud\AIPlatform\V1\CometSpec $metric_spec + * Required. Spec for comet metric. + * @type \Google\Cloud\AIPlatform\V1\CometInstance $instance + * Required. Comet instance. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Cloud\Aiplatform\V1\EvaluationService::initOnce(); + parent::__construct($data); + } + + /** + * Required. Spec for comet metric. + * + * Generated from protobuf field .google.cloud.aiplatform.v1.CometSpec metric_spec = 1 [(.google.api.field_behavior) = REQUIRED]; + * @return \Google\Cloud\AIPlatform\V1\CometSpec|null + */ + public function getMetricSpec() + { + return $this->metric_spec; + } + + public function hasMetricSpec() + { + return isset($this->metric_spec); + } + + public function clearMetricSpec() + { + unset($this->metric_spec); + } + + /** + * Required. Spec for comet metric. + * + * Generated from protobuf field .google.cloud.aiplatform.v1.CometSpec metric_spec = 1 [(.google.api.field_behavior) = REQUIRED]; + * @param \Google\Cloud\AIPlatform\V1\CometSpec $var + * @return $this + */ + public function setMetricSpec($var) + { + GPBUtil::checkMessage($var, \Google\Cloud\AIPlatform\V1\CometSpec::class); + $this->metric_spec = $var; + + return $this; + } + + /** + * Required. Comet instance. + * + * Generated from protobuf field .google.cloud.aiplatform.v1.CometInstance instance = 2 [(.google.api.field_behavior) = REQUIRED]; + * @return \Google\Cloud\AIPlatform\V1\CometInstance|null + */ + public function getInstance() + { + return $this->instance; + } + + public function hasInstance() + { + return isset($this->instance); + } + + public function clearInstance() + { + unset($this->instance); + } + + /** + * Required. Comet instance. + * + * Generated from protobuf field .google.cloud.aiplatform.v1.CometInstance instance = 2 [(.google.api.field_behavior) = REQUIRED]; + * @param \Google\Cloud\AIPlatform\V1\CometInstance $var + * @return $this + */ + public function setInstance($var) + { + GPBUtil::checkMessage($var, \Google\Cloud\AIPlatform\V1\CometInstance::class); + $this->instance = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CometInstance.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CometInstance.php new file mode 100644 index 000000000000..a4d0c4881ed4 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CometInstance.php @@ -0,0 +1,166 @@ +google.cloud.aiplatform.v1.CometInstance + */ +class CometInstance extends \Google\Protobuf\Internal\Message +{ + /** + * Required. Output of the evaluated model. + * + * Generated from protobuf field optional string prediction = 1 [(.google.api.field_behavior) = REQUIRED]; + */ + protected $prediction = null; + /** + * Optional. Ground truth used to compare against the prediction. + * + * Generated from protobuf field optional string reference = 2 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $reference = null; + /** + * Optional. Source text in original language. + * + * Generated from protobuf field optional string source = 3 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $source = null; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $prediction + * Required. Output of the evaluated model. + * @type string $reference + * Optional. Ground truth used to compare against the prediction. + * @type string $source + * Optional. Source text in original language. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Cloud\Aiplatform\V1\EvaluationService::initOnce(); + parent::__construct($data); + } + + /** + * Required. Output of the evaluated model. + * + * Generated from protobuf field optional string prediction = 1 [(.google.api.field_behavior) = REQUIRED]; + * @return string + */ + public function getPrediction() + { + return isset($this->prediction) ? $this->prediction : ''; + } + + public function hasPrediction() + { + return isset($this->prediction); + } + + public function clearPrediction() + { + unset($this->prediction); + } + + /** + * Required. Output of the evaluated model. + * + * Generated from protobuf field optional string prediction = 1 [(.google.api.field_behavior) = REQUIRED]; + * @param string $var + * @return $this + */ + public function setPrediction($var) + { + GPBUtil::checkString($var, True); + $this->prediction = $var; + + return $this; + } + + /** + * Optional. Ground truth used to compare against the prediction. + * + * Generated from protobuf field optional string reference = 2 [(.google.api.field_behavior) = OPTIONAL]; + * @return string + */ + public function getReference() + { + return isset($this->reference) ? $this->reference : ''; + } + + public function hasReference() + { + return isset($this->reference); + } + + public function clearReference() + { + unset($this->reference); + } + + /** + * Optional. Ground truth used to compare against the prediction. + * + * Generated from protobuf field optional string reference = 2 [(.google.api.field_behavior) = OPTIONAL]; + * @param string $var + * @return $this + */ + public function setReference($var) + { + GPBUtil::checkString($var, True); + $this->reference = $var; + + return $this; + } + + /** + * Optional. Source text in original language. + * + * Generated from protobuf field optional string source = 3 [(.google.api.field_behavior) = OPTIONAL]; + * @return string + */ + public function getSource() + { + return isset($this->source) ? $this->source : ''; + } + + public function hasSource() + { + return isset($this->source); + } + + public function clearSource() + { + unset($this->source); + } + + /** + * Optional. Source text in original language. + * + * Generated from protobuf field optional string source = 3 [(.google.api.field_behavior) = OPTIONAL]; + * @param string $var + * @return $this + */ + public function setSource($var) + { + GPBUtil::checkString($var, True); + $this->source = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CometResult.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CometResult.php new file mode 100644 index 000000000000..1cacfd9bbaa1 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CometResult.php @@ -0,0 +1,78 @@ +google.cloud.aiplatform.v1.CometResult + */ +class CometResult extends \Google\Protobuf\Internal\Message +{ + /** + * Output only. Comet score. Range depends on version. + * + * Generated from protobuf field optional float score = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + protected $score = null; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type float $score + * Output only. Comet score. Range depends on version. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Cloud\Aiplatform\V1\EvaluationService::initOnce(); + parent::__construct($data); + } + + /** + * Output only. Comet score. Range depends on version. + * + * Generated from protobuf field optional float score = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return float + */ + public function getScore() + { + return isset($this->score) ? $this->score : 0.0; + } + + public function hasScore() + { + return isset($this->score); + } + + public function clearScore() + { + unset($this->score); + } + + /** + * Output only. Comet score. Range depends on version. + * + * Generated from protobuf field optional float score = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @param float $var + * @return $this + */ + public function setScore($var) + { + GPBUtil::checkFloat($var); + $this->score = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CometSpec.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CometSpec.php new file mode 100644 index 000000000000..dfabd3527df7 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CometSpec.php @@ -0,0 +1,149 @@ +google.cloud.aiplatform.v1.CometSpec + */ +class CometSpec extends \Google\Protobuf\Internal\Message +{ + /** + * Required. Which version to use for evaluation. + * + * Generated from protobuf field optional .google.cloud.aiplatform.v1.CometSpec.CometVersion version = 1 [(.google.api.field_behavior) = REQUIRED]; + */ + protected $version = null; + /** + * Optional. Source language in BCP-47 format. + * + * Generated from protobuf field string source_language = 2 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $source_language = ''; + /** + * Optional. Target language in BCP-47 format. Covers both prediction and + * reference. + * + * Generated from protobuf field string target_language = 3 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $target_language = ''; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type int $version + * Required. Which version to use for evaluation. + * @type string $source_language + * Optional. Source language in BCP-47 format. + * @type string $target_language + * Optional. Target language in BCP-47 format. Covers both prediction and + * reference. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Cloud\Aiplatform\V1\EvaluationService::initOnce(); + parent::__construct($data); + } + + /** + * Required. Which version to use for evaluation. + * + * Generated from protobuf field optional .google.cloud.aiplatform.v1.CometSpec.CometVersion version = 1 [(.google.api.field_behavior) = REQUIRED]; + * @return int + */ + public function getVersion() + { + return isset($this->version) ? $this->version : 0; + } + + public function hasVersion() + { + return isset($this->version); + } + + public function clearVersion() + { + unset($this->version); + } + + /** + * Required. Which version to use for evaluation. + * + * Generated from protobuf field optional .google.cloud.aiplatform.v1.CometSpec.CometVersion version = 1 [(.google.api.field_behavior) = REQUIRED]; + * @param int $var + * @return $this + */ + public function setVersion($var) + { + GPBUtil::checkEnum($var, \Google\Cloud\AIPlatform\V1\CometSpec\CometVersion::class); + $this->version = $var; + + return $this; + } + + /** + * Optional. Source language in BCP-47 format. + * + * Generated from protobuf field string source_language = 2 [(.google.api.field_behavior) = OPTIONAL]; + * @return string + */ + public function getSourceLanguage() + { + return $this->source_language; + } + + /** + * Optional. Source language in BCP-47 format. + * + * Generated from protobuf field string source_language = 2 [(.google.api.field_behavior) = OPTIONAL]; + * @param string $var + * @return $this + */ + public function setSourceLanguage($var) + { + GPBUtil::checkString($var, True); + $this->source_language = $var; + + return $this; + } + + /** + * Optional. Target language in BCP-47 format. Covers both prediction and + * reference. + * + * Generated from protobuf field string target_language = 3 [(.google.api.field_behavior) = OPTIONAL]; + * @return string + */ + public function getTargetLanguage() + { + return $this->target_language; + } + + /** + * Optional. Target language in BCP-47 format. Covers both prediction and + * reference. + * + * Generated from protobuf field string target_language = 3 [(.google.api.field_behavior) = OPTIONAL]; + * @param string $var + * @return $this + */ + public function setTargetLanguage($var) + { + GPBUtil::checkString($var, True); + $this->target_language = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CometSpec/CometVersion.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CometSpec/CometVersion.php new file mode 100644 index 000000000000..bd9ff8fb280f --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CometSpec/CometVersion.php @@ -0,0 +1,55 @@ +google.cloud.aiplatform.v1.CometSpec.CometVersion + */ +class CometVersion +{ + /** + * Comet version unspecified. + * + * Generated from protobuf enum COMET_VERSION_UNSPECIFIED = 0; + */ + const COMET_VERSION_UNSPECIFIED = 0; + /** + * Comet 22 for translation + source + reference + * (source-reference-combined). + * + * Generated from protobuf enum COMET_22_SRC_REF = 2; + */ + const COMET_22_SRC_REF = 2; + + private static $valueToName = [ + self::COMET_VERSION_UNSPECIFIED => 'COMET_VERSION_UNSPECIFIED', + self::COMET_22_SRC_REF => 'COMET_22_SRC_REF', + ]; + + 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/CompleteTrialRequest.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CompleteTrialRequest.php new file mode 100644 index 000000000000..b6a44366adc4 --- /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..a7d40ee15543 --- /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..43d4506e5010 --- /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 \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. + * @type string $model + * Optional. The name of the publisher model requested to serve the + * prediction. Format: + * projects/{project}/locations/{location}/publishers/{@*}models/* + * @type \Google\Cloud\AIPlatform\V1\Content[] $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 RepeatedField<\Google\Protobuf\Value> + */ + 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 \Google\Protobuf\Value[] $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 RepeatedField<\Google\Cloud\AIPlatform\V1\Content> + */ + 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 \Google\Cloud\AIPlatform\V1\Content[] $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..d792d0e66e70 --- /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 \Google\Cloud\AIPlatform\V1\TokensInfo[] $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 RepeatedField<\Google\Cloud\AIPlatform\V1\TokensInfo> + */ + 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 \Google\Cloud\AIPlatform\V1\TokensInfo[] $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..a019898c0207 --- /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..f9327b751ef9 --- /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 string[] $command + * The command to be invoked when the container is started. + * It overrides the entrypoint instruction in Dockerfile when provided. + * @type string[] $args + * The arguments to be passed when starting the container. + * @type \Google\Cloud\AIPlatform\V1\EnvVar[] $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 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 string[] $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 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 string[] $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 RepeatedField<\Google\Cloud\AIPlatform\V1\EnvVar> + */ + 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 \Google\Cloud\AIPlatform\V1\EnvVar[] $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..35f89b9afefe --- /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 \Google\Cloud\AIPlatform\V1\Part[] $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 RepeatedField<\Google\Cloud\AIPlatform\V1\Part> + */ + 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 \Google\Cloud\AIPlatform\V1\Part[] $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..0e815b6c9753 --- /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 string[] $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 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 string[] $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..bb07bcc8b0ee --- /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..9c820984d4d6 --- /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..e393e51ab978 --- /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/CorpusStatus.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CorpusStatus.php new file mode 100644 index 000000000000..0807ee52cc9d --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CorpusStatus.php @@ -0,0 +1,101 @@ +google.cloud.aiplatform.v1.CorpusStatus + */ +class CorpusStatus extends \Google\Protobuf\Internal\Message +{ + /** + * Output only. RagCorpus life state. + * + * Generated from protobuf field .google.cloud.aiplatform.v1.CorpusStatus.State state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + protected $state = 0; + /** + * Output only. Only when the `state` field is ERROR. + * + * Generated from protobuf field string error_status = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + protected $error_status = ''; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type int $state + * Output only. RagCorpus life state. + * @type string $error_status + * Output only. Only when the `state` field is ERROR. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Cloud\Aiplatform\V1\VertexRagData::initOnce(); + parent::__construct($data); + } + + /** + * Output only. RagCorpus life state. + * + * Generated from protobuf field .google.cloud.aiplatform.v1.CorpusStatus.State state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return int + */ + public function getState() + { + return $this->state; + } + + /** + * Output only. RagCorpus life state. + * + * Generated from protobuf field .google.cloud.aiplatform.v1.CorpusStatus.State state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @param int $var + * @return $this + */ + public function setState($var) + { + GPBUtil::checkEnum($var, \Google\Cloud\AIPlatform\V1\CorpusStatus\State::class); + $this->state = $var; + + return $this; + } + + /** + * Output only. Only when the `state` field is ERROR. + * + * Generated from protobuf field string error_status = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return string + */ + public function getErrorStatus() + { + return $this->error_status; + } + + /** + * Output only. Only when the `state` field is ERROR. + * + * Generated from protobuf field string error_status = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @param string $var + * @return $this + */ + public function setErrorStatus($var) + { + GPBUtil::checkString($var, True); + $this->error_status = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CorpusStatus/State.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CorpusStatus/State.php new file mode 100644 index 000000000000..b973cd165aee --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CorpusStatus/State.php @@ -0,0 +1,69 @@ +google.cloud.aiplatform.v1.CorpusStatus.State + */ +class State +{ + /** + * This state is not supposed to happen. + * + * Generated from protobuf enum UNKNOWN = 0; + */ + const UNKNOWN = 0; + /** + * RagCorpus resource entry is initialized, but hasn't done validation. + * + * Generated from protobuf enum INITIALIZED = 1; + */ + const INITIALIZED = 1; + /** + * RagCorpus is provisioned successfully and is ready to serve. + * + * Generated from protobuf enum ACTIVE = 2; + */ + const ACTIVE = 2; + /** + * RagCorpus is in a problematic situation. + * See `error_message` field for details. + * + * Generated from protobuf enum ERROR = 3; + */ + const ERROR = 3; + + private static $valueToName = [ + self::UNKNOWN => 'UNKNOWN', + self::INITIALIZED => 'INITIALIZED', + self::ACTIVE => 'ACTIVE', + self::ERROR => 'ERROR', + ]; + + 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/CorroborateContentRequest.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CorroborateContentRequest.php new file mode 100644 index 000000000000..5249d6437b4d --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CorroborateContentRequest.php @@ -0,0 +1,236 @@ +google.cloud.aiplatform.v1.CorroborateContentRequest + */ +class CorroborateContentRequest extends \Google\Protobuf\Internal\Message +{ + /** + * Required. The resource name of the Location from which to corroborate text. + * The users must have permission to make a call in the project. + * Format: + * `projects/{project}/locations/{location}`. + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + */ + protected $parent = ''; + /** + * Optional. Input content to corroborate, only text format is supported for + * now. + * + * Generated from protobuf field optional .google.cloud.aiplatform.v1.Content content = 2 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $content = null; + /** + * Optional. Facts used to generate the text can also be used to corroborate + * the text. + * + * Generated from protobuf field repeated .google.cloud.aiplatform.v1.Fact facts = 3 [(.google.api.field_behavior) = OPTIONAL]; + */ + private $facts; + /** + * Optional. Parameters that can be set to override default settings per + * request. + * + * Generated from protobuf field .google.cloud.aiplatform.v1.CorroborateContentRequest.Parameters parameters = 4 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $parameters = null; + + /** + * @param string $parent Required. The resource name of the Location from which to corroborate text. + * The users must have permission to make a call in the project. + * Format: + * `projects/{project}/locations/{location}`. Please see + * {@see VertexRagServiceClient::locationName()} for help formatting this field. + * @param \Google\Cloud\AIPlatform\V1\Content $content Optional. Input content to corroborate, only text format is supported for + * now. + * @param \Google\Cloud\AIPlatform\V1\Fact[] $facts Optional. Facts used to generate the text can also be used to corroborate + * the text. + * + * @return \Google\Cloud\AIPlatform\V1\CorroborateContentRequest + * + * @experimental + */ + public static function build(string $parent, \Google\Cloud\AIPlatform\V1\Content $content, array $facts): self + { + return (new self()) + ->setParent($parent) + ->setContent($content) + ->setFacts($facts); + } + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $parent + * Required. The resource name of the Location from which to corroborate text. + * The users must have permission to make a call in the project. + * Format: + * `projects/{project}/locations/{location}`. + * @type \Google\Cloud\AIPlatform\V1\Content $content + * Optional. Input content to corroborate, only text format is supported for + * now. + * @type \Google\Cloud\AIPlatform\V1\Fact[] $facts + * Optional. Facts used to generate the text can also be used to corroborate + * the text. + * @type \Google\Cloud\AIPlatform\V1\CorroborateContentRequest\Parameters $parameters + * Optional. Parameters that can be set to override default settings per + * request. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Cloud\Aiplatform\V1\VertexRagService::initOnce(); + parent::__construct($data); + } + + /** + * Required. The resource name of the Location from which to corroborate text. + * The users must have permission to make a call in the project. + * 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 from which to corroborate text. + * The users must have permission to make a call in the project. + * 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; + } + + /** + * Optional. Input content to corroborate, only text format is supported for + * now. + * + * Generated from protobuf field optional .google.cloud.aiplatform.v1.Content content = 2 [(.google.api.field_behavior) = OPTIONAL]; + * @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); + } + + /** + * Optional. Input content to corroborate, only text format is supported for + * now. + * + * Generated from protobuf field optional .google.cloud.aiplatform.v1.Content content = 2 [(.google.api.field_behavior) = OPTIONAL]; + * @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; + } + + /** + * Optional. Facts used to generate the text can also be used to corroborate + * the text. + * + * Generated from protobuf field repeated .google.cloud.aiplatform.v1.Fact facts = 3 [(.google.api.field_behavior) = OPTIONAL]; + * @return RepeatedField<\Google\Cloud\AIPlatform\V1\Fact> + */ + public function getFacts() + { + return $this->facts; + } + + /** + * Optional. Facts used to generate the text can also be used to corroborate + * the text. + * + * Generated from protobuf field repeated .google.cloud.aiplatform.v1.Fact facts = 3 [(.google.api.field_behavior) = OPTIONAL]; + * @param \Google\Cloud\AIPlatform\V1\Fact[] $var + * @return $this + */ + public function setFacts($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\AIPlatform\V1\Fact::class); + $this->facts = $arr; + + return $this; + } + + /** + * Optional. Parameters that can be set to override default settings per + * request. + * + * Generated from protobuf field .google.cloud.aiplatform.v1.CorroborateContentRequest.Parameters parameters = 4 [(.google.api.field_behavior) = OPTIONAL]; + * @return \Google\Cloud\AIPlatform\V1\CorroborateContentRequest\Parameters|null + */ + public function getParameters() + { + return $this->parameters; + } + + public function hasParameters() + { + return isset($this->parameters); + } + + public function clearParameters() + { + unset($this->parameters); + } + + /** + * Optional. Parameters that can be set to override default settings per + * request. + * + * Generated from protobuf field .google.cloud.aiplatform.v1.CorroborateContentRequest.Parameters parameters = 4 [(.google.api.field_behavior) = OPTIONAL]; + * @param \Google\Cloud\AIPlatform\V1\CorroborateContentRequest\Parameters $var + * @return $this + */ + public function setParameters($var) + { + GPBUtil::checkMessage($var, \Google\Cloud\AIPlatform\V1\CorroborateContentRequest\Parameters::class); + $this->parameters = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CorroborateContentRequest/Parameters.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CorroborateContentRequest/Parameters.php new file mode 100644 index 000000000000..a43117fb899c --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CorroborateContentRequest/Parameters.php @@ -0,0 +1,71 @@ +google.cloud.aiplatform.v1.CorroborateContentRequest.Parameters + */ +class Parameters extends \Google\Protobuf\Internal\Message +{ + /** + * Optional. Only return claims with citation score larger than the + * threshold. + * + * Generated from protobuf field double citation_threshold = 1 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $citation_threshold = 0.0; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type float $citation_threshold + * Optional. Only return claims with citation score larger than the + * threshold. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Cloud\Aiplatform\V1\VertexRagService::initOnce(); + parent::__construct($data); + } + + /** + * Optional. Only return claims with citation score larger than the + * threshold. + * + * Generated from protobuf field double citation_threshold = 1 [(.google.api.field_behavior) = OPTIONAL]; + * @return float + */ + public function getCitationThreshold() + { + return $this->citation_threshold; + } + + /** + * Optional. Only return claims with citation score larger than the + * threshold. + * + * Generated from protobuf field double citation_threshold = 1 [(.google.api.field_behavior) = OPTIONAL]; + * @param float $var + * @return $this + */ + public function setCitationThreshold($var) + { + GPBUtil::checkDouble($var); + $this->citation_threshold = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CorroborateContentResponse.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CorroborateContentResponse.php new file mode 100644 index 000000000000..f41193d8c174 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CorroborateContentResponse.php @@ -0,0 +1,119 @@ +google.cloud.aiplatform.v1.CorroborateContentResponse + */ +class CorroborateContentResponse extends \Google\Protobuf\Internal\Message +{ + /** + * Confidence score of corroborating content. Value is [0,1] with 1 is the + * most confidence. + * + * Generated from protobuf field optional float corroboration_score = 1; + */ + protected $corroboration_score = null; + /** + * Claims that are extracted from the input content and facts that support the + * claims. + * + * Generated from protobuf field repeated .google.cloud.aiplatform.v1.Claim claims = 2; + */ + private $claims; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type float $corroboration_score + * Confidence score of corroborating content. Value is [0,1] with 1 is the + * most confidence. + * @type \Google\Cloud\AIPlatform\V1\Claim[] $claims + * Claims that are extracted from the input content and facts that support the + * claims. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Cloud\Aiplatform\V1\VertexRagService::initOnce(); + parent::__construct($data); + } + + /** + * Confidence score of corroborating content. Value is [0,1] with 1 is the + * most confidence. + * + * Generated from protobuf field optional float corroboration_score = 1; + * @return float + */ + public function getCorroborationScore() + { + return isset($this->corroboration_score) ? $this->corroboration_score : 0.0; + } + + public function hasCorroborationScore() + { + return isset($this->corroboration_score); + } + + public function clearCorroborationScore() + { + unset($this->corroboration_score); + } + + /** + * Confidence score of corroborating content. Value is [0,1] with 1 is the + * most confidence. + * + * Generated from protobuf field optional float corroboration_score = 1; + * @param float $var + * @return $this + */ + public function setCorroborationScore($var) + { + GPBUtil::checkFloat($var); + $this->corroboration_score = $var; + + return $this; + } + + /** + * Claims that are extracted from the input content and facts that support the + * claims. + * + * Generated from protobuf field repeated .google.cloud.aiplatform.v1.Claim claims = 2; + * @return RepeatedField<\Google\Cloud\AIPlatform\V1\Claim> + */ + public function getClaims() + { + return $this->claims; + } + + /** + * Claims that are extracted from the input content and facts that support the + * claims. + * + * Generated from protobuf field repeated .google.cloud.aiplatform.v1.Claim claims = 2; + * @param \Google\Cloud\AIPlatform\V1\Claim[] $var + * @return $this + */ + public function setClaims($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\AIPlatform\V1\Claim::class); + $this->claims = $arr; + + 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..332bdaaf52c9 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CountTokensRequest.php @@ -0,0 +1,358 @@ +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; + /** + * Optional. Generation config that the model will use to generate the + * response. + * + * Generated from protobuf field optional .google.cloud.aiplatform.v1.GenerationConfig generation_config = 7 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $generation_config = null; + + /** + * @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 \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. + * @type \Google\Cloud\AIPlatform\V1\Content[] $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 \Google\Cloud\AIPlatform\V1\Tool[] $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\GenerationConfig $generation_config + * Optional. Generation config that the model will use to generate the + * response. + * } + */ + 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 RepeatedField<\Google\Protobuf\Value> + */ + 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 \Google\Protobuf\Value[] $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 RepeatedField<\Google\Cloud\AIPlatform\V1\Content> + */ + 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 \Google\Cloud\AIPlatform\V1\Content[] $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 RepeatedField<\Google\Cloud\AIPlatform\V1\Tool> + */ + 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 \Google\Cloud\AIPlatform\V1\Tool[] $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. Generation config that the model will use to generate the + * response. + * + * Generated from protobuf field optional .google.cloud.aiplatform.v1.GenerationConfig generation_config = 7 [(.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 that the model will use to generate the + * response. + * + * Generated from protobuf field optional .google.cloud.aiplatform.v1.GenerationConfig generation_config = 7 [(.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/CountTokensResponse.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CountTokensResponse.php new file mode 100644 index 000000000000..7a8deba316b3 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CountTokensResponse.php @@ -0,0 +1,139 @@ +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; + /** + * Output only. List of modalities that were processed in the request input. + * + * Generated from protobuf field repeated .google.cloud.aiplatform.v1.ModalityTokenCount prompt_tokens_details = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + private $prompt_tokens_details; + + /** + * 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. + * @type \Google\Cloud\AIPlatform\V1\ModalityTokenCount[] $prompt_tokens_details + * Output only. List of modalities that were processed in the request input. + * } + */ + 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; + } + + /** + * Output only. List of modalities that were processed in the request input. + * + * Generated from protobuf field repeated .google.cloud.aiplatform.v1.ModalityTokenCount prompt_tokens_details = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return RepeatedField<\Google\Cloud\AIPlatform\V1\ModalityTokenCount> + */ + public function getPromptTokensDetails() + { + return $this->prompt_tokens_details; + } + + /** + * Output only. List of modalities that were processed in the request input. + * + * Generated from protobuf field repeated .google.cloud.aiplatform.v1.ModalityTokenCount prompt_tokens_details = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @param \Google\Cloud\AIPlatform\V1\ModalityTokenCount[] $var + * @return $this + */ + public function setPromptTokensDetails($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\AIPlatform\V1\ModalityTokenCount::class); + $this->prompt_tokens_details = $arr; + + 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..85fe6ce8b0fa --- /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..97210620319f --- /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/CreateCachedContentRequest.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CreateCachedContentRequest.php new file mode 100644 index 000000000000..573ae145fceb --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CreateCachedContentRequest.php @@ -0,0 +1,128 @@ +google.cloud.aiplatform.v1.CreateCachedContentRequest + */ +class CreateCachedContentRequest extends \Google\Protobuf\Internal\Message +{ + /** + * Required. The parent resource where the cached content will be created + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + */ + protected $parent = ''; + /** + * Required. The cached content to create + * + * Generated from protobuf field .google.cloud.aiplatform.v1.CachedContent cached_content = 2 [(.google.api.field_behavior) = REQUIRED]; + */ + protected $cached_content = null; + + /** + * @param string $parent Required. The parent resource where the cached content will be created + * Please see {@see GenAiCacheServiceClient::locationName()} for help formatting this field. + * @param \Google\Cloud\AIPlatform\V1\CachedContent $cachedContent Required. The cached content to create + * + * @return \Google\Cloud\AIPlatform\V1\CreateCachedContentRequest + * + * @experimental + */ + public static function build(string $parent, \Google\Cloud\AIPlatform\V1\CachedContent $cachedContent): self + { + return (new self()) + ->setParent($parent) + ->setCachedContent($cachedContent); + } + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $parent + * Required. The parent resource where the cached content will be created + * @type \Google\Cloud\AIPlatform\V1\CachedContent $cached_content + * Required. The cached content to create + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Cloud\Aiplatform\V1\GenAiCacheService::initOnce(); + parent::__construct($data); + } + + /** + * Required. The parent resource where the cached content will be created + * + * 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 resource where the cached content will be created + * + * 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 cached content to create + * + * Generated from protobuf field .google.cloud.aiplatform.v1.CachedContent cached_content = 2 [(.google.api.field_behavior) = REQUIRED]; + * @return \Google\Cloud\AIPlatform\V1\CachedContent|null + */ + public function getCachedContent() + { + return $this->cached_content; + } + + public function hasCachedContent() + { + return isset($this->cached_content); + } + + public function clearCachedContent() + { + unset($this->cached_content); + } + + /** + * Required. The cached content to create + * + * Generated from protobuf field .google.cloud.aiplatform.v1.CachedContent cached_content = 2 [(.google.api.field_behavior) = REQUIRED]; + * @param \Google\Cloud\AIPlatform\V1\CachedContent $var + * @return $this + */ + public function setCachedContent($var) + { + GPBUtil::checkMessage($var, \Google\Cloud\AIPlatform\V1\CachedContent::class); + $this->cached_content = $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..e7bd9be47672 --- /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..44264f7af944 --- /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..303d4e00c3db --- /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..825284bdaefa --- /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..199edad5a6a3 --- /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..14ac2cf9a919 --- /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..41bc9f1dd976 --- /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..8115c7df76cd --- /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..91ea4c05ff13 --- /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..df0a509b2b1b --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CreateEndpointOperationMetadata.php @@ -0,0 +1,116 @@ +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; + /** + * Output only. The deployment stage of the model. Only populated if this + * CreateEndpoint request deploys a model at the same time. + * + * Generated from protobuf field .google.cloud.aiplatform.v1.DeploymentStage deployment_stage = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + protected $deployment_stage = 0; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type \Google\Cloud\AIPlatform\V1\GenericOperationMetadata $generic_metadata + * The operation generic information. + * @type int $deployment_stage + * Output only. The deployment stage of the model. Only populated if this + * CreateEndpoint request deploys a model at the same time. + * } + */ + 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; + } + + /** + * Output only. The deployment stage of the model. Only populated if this + * CreateEndpoint request deploys a model at the same time. + * + * Generated from protobuf field .google.cloud.aiplatform.v1.DeploymentStage deployment_stage = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return int + */ + public function getDeploymentStage() + { + return $this->deployment_stage; + } + + /** + * Output only. The deployment stage of the model. Only populated if this + * CreateEndpoint request deploys a model at the same time. + * + * Generated from protobuf field .google.cloud.aiplatform.v1.DeploymentStage deployment_stage = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @param int $var + * @return $this + */ + public function setDeploymentStage($var) + { + GPBUtil::checkEnum($var, \Google\Cloud\AIPlatform\V1\DeploymentStage::class); + $this->deployment_stage = $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..f3b8c0379620 --- /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..7070a71da39a --- /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..91d4558218e2 --- /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..e0ae2d1a1f01 --- /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..73ea7286a272 --- /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..93da25b3a637 --- /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 128 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 128 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 128 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 128 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 128 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..442b73028e5a --- /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..9dfc82586c1b --- /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..46e5b08313a2 --- /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..18c311ea4007 --- /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..afba6e5b0af4 --- /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..839d9039a470 --- /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..7190de8742f7 --- /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..54bb5feefdc7 --- /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..fa662a246c74 --- /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..04fd32a7b555 --- /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..2c9ec72ac8d7 --- /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..5a86055e7039 --- /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..c92588f8db5c --- /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..7ac25c79e17d --- /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..900f2dc948dc --- /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..2f983be6a5d9 --- /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..3b18f03fd894 --- /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..db034b21de5f --- /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..bd8ab29ac139 --- /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..c28b79de41a1 --- /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..37e7d9bf3201 --- /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..38311276e712 --- /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..3b11a9f24ee1 --- /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..db5fb9a4cb5f --- /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..832cdd276202 --- /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/CreateRagCorpusOperationMetadata.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CreateRagCorpusOperationMetadata.php new file mode 100644 index 000000000000..0276b8ad8feb --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CreateRagCorpusOperationMetadata.php @@ -0,0 +1,78 @@ +google.cloud.aiplatform.v1.CreateRagCorpusOperationMetadata + */ +class CreateRagCorpusOperationMetadata 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\VertexRagDataService::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/CreateRagCorpusRequest.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CreateRagCorpusRequest.php new file mode 100644 index 000000000000..bb0eca1522f4 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CreateRagCorpusRequest.php @@ -0,0 +1,133 @@ +google.cloud.aiplatform.v1.CreateRagCorpusRequest + */ +class CreateRagCorpusRequest extends \Google\Protobuf\Internal\Message +{ + /** + * Required. The resource name of the Location to create the RagCorpus 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 RagCorpus to create. + * + * Generated from protobuf field .google.cloud.aiplatform.v1.RagCorpus rag_corpus = 2 [(.google.api.field_behavior) = REQUIRED]; + */ + protected $rag_corpus = null; + + /** + * @param string $parent Required. The resource name of the Location to create the RagCorpus in. + * Format: `projects/{project}/locations/{location}` + * Please see {@see VertexRagDataServiceClient::locationName()} for help formatting this field. + * @param \Google\Cloud\AIPlatform\V1\RagCorpus $ragCorpus Required. The RagCorpus to create. + * + * @return \Google\Cloud\AIPlatform\V1\CreateRagCorpusRequest + * + * @experimental + */ + public static function build(string $parent, \Google\Cloud\AIPlatform\V1\RagCorpus $ragCorpus): self + { + return (new self()) + ->setParent($parent) + ->setRagCorpus($ragCorpus); + } + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $parent + * Required. The resource name of the Location to create the RagCorpus in. + * Format: `projects/{project}/locations/{location}` + * @type \Google\Cloud\AIPlatform\V1\RagCorpus $rag_corpus + * Required. The RagCorpus to create. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Cloud\Aiplatform\V1\VertexRagDataService::initOnce(); + parent::__construct($data); + } + + /** + * Required. The resource name of the Location to create the RagCorpus 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 RagCorpus 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 RagCorpus to create. + * + * Generated from protobuf field .google.cloud.aiplatform.v1.RagCorpus rag_corpus = 2 [(.google.api.field_behavior) = REQUIRED]; + * @return \Google\Cloud\AIPlatform\V1\RagCorpus|null + */ + public function getRagCorpus() + { + return $this->rag_corpus; + } + + public function hasRagCorpus() + { + return isset($this->rag_corpus); + } + + public function clearRagCorpus() + { + unset($this->rag_corpus); + } + + /** + * Required. The RagCorpus to create. + * + * Generated from protobuf field .google.cloud.aiplatform.v1.RagCorpus rag_corpus = 2 [(.google.api.field_behavior) = REQUIRED]; + * @param \Google\Cloud\AIPlatform\V1\RagCorpus $var + * @return $this + */ + public function setRagCorpus($var) + { + GPBUtil::checkMessage($var, \Google\Cloud\AIPlatform\V1\RagCorpus::class); + $this->rag_corpus = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CreateReasoningEngineOperationMetadata.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CreateReasoningEngineOperationMetadata.php new file mode 100644 index 000000000000..4486f179d56f --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CreateReasoningEngineOperationMetadata.php @@ -0,0 +1,79 @@ +google.cloud.aiplatform.v1.CreateReasoningEngineOperationMetadata + */ +class CreateReasoningEngineOperationMetadata 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\ReasoningEngineService::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/CreateReasoningEngineRequest.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CreateReasoningEngineRequest.php new file mode 100644 index 000000000000..12fbdae18d6a --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CreateReasoningEngineRequest.php @@ -0,0 +1,133 @@ +google.cloud.aiplatform.v1.CreateReasoningEngineRequest + */ +class CreateReasoningEngineRequest extends \Google\Protobuf\Internal\Message +{ + /** + * Required. The resource name of the Location to create the ReasoningEngine + * 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 ReasoningEngine to create. + * + * Generated from protobuf field .google.cloud.aiplatform.v1.ReasoningEngine reasoning_engine = 2 [(.google.api.field_behavior) = REQUIRED]; + */ + protected $reasoning_engine = null; + + /** + * @param string $parent Required. The resource name of the Location to create the ReasoningEngine + * in. Format: `projects/{project}/locations/{location}` + * Please see {@see ReasoningEngineServiceClient::locationName()} for help formatting this field. + * @param \Google\Cloud\AIPlatform\V1\ReasoningEngine $reasoningEngine Required. The ReasoningEngine to create. + * + * @return \Google\Cloud\AIPlatform\V1\CreateReasoningEngineRequest + * + * @experimental + */ + public static function build(string $parent, \Google\Cloud\AIPlatform\V1\ReasoningEngine $reasoningEngine): self + { + return (new self()) + ->setParent($parent) + ->setReasoningEngine($reasoningEngine); + } + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $parent + * Required. The resource name of the Location to create the ReasoningEngine + * in. Format: `projects/{project}/locations/{location}` + * @type \Google\Cloud\AIPlatform\V1\ReasoningEngine $reasoning_engine + * Required. The ReasoningEngine to create. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Cloud\Aiplatform\V1\ReasoningEngineService::initOnce(); + parent::__construct($data); + } + + /** + * Required. The resource name of the Location to create the ReasoningEngine + * 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 ReasoningEngine + * 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 ReasoningEngine to create. + * + * Generated from protobuf field .google.cloud.aiplatform.v1.ReasoningEngine reasoning_engine = 2 [(.google.api.field_behavior) = REQUIRED]; + * @return \Google\Cloud\AIPlatform\V1\ReasoningEngine|null + */ + public function getReasoningEngine() + { + return $this->reasoning_engine; + } + + public function hasReasoningEngine() + { + return isset($this->reasoning_engine); + } + + public function clearReasoningEngine() + { + unset($this->reasoning_engine); + } + + /** + * Required. The ReasoningEngine to create. + * + * Generated from protobuf field .google.cloud.aiplatform.v1.ReasoningEngine reasoning_engine = 2 [(.google.api.field_behavior) = REQUIRED]; + * @param \Google\Cloud\AIPlatform\V1\ReasoningEngine $var + * @return $this + */ + public function setReasoningEngine($var) + { + GPBUtil::checkMessage($var, \Google\Cloud\AIPlatform\V1\ReasoningEngine::class); + $this->reasoning_engine = $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..3ee8b27eee31 --- /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..ae11833ec6d4 --- /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/CreateSessionOperationMetadata.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CreateSessionOperationMetadata.php new file mode 100644 index 000000000000..ca782ada6121 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CreateSessionOperationMetadata.php @@ -0,0 +1,79 @@ +google.cloud.aiplatform.v1.CreateSessionOperationMetadata + */ +class CreateSessionOperationMetadata 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\SessionService::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/CreateSessionRequest.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CreateSessionRequest.php new file mode 100644 index 000000000000..2e26608d84d6 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CreateSessionRequest.php @@ -0,0 +1,218 @@ +google.cloud.aiplatform.v1.CreateSessionRequest + */ +class CreateSessionRequest extends \Google\Protobuf\Internal\Message +{ + /** + * Required. The resource name of the location to create the session in. + * Format: + * `projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}` + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + */ + protected $parent = ''; + /** + * Required. The session to create. + * + * Generated from protobuf field .google.cloud.aiplatform.v1.Session session = 2 [(.google.api.field_behavior) = REQUIRED]; + */ + protected $session = null; + /** + * Optional. The user defined ID to use for session, which will become the + * final component of the session resource name. If not provided, Vertex AI + * will generate a value for this ID. + * This value may be up to 63 characters, and valid characters are + * `[a-z0-9-]`. The first character must be a letter, and the last character + * must be a letter or number. + * + * Generated from protobuf field string session_id = 3 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $session_id = ''; + + /** + * @param string $parent Required. The resource name of the location to create the session in. + * Format: + * `projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}` + * Please see {@see SessionServiceClient::reasoningEngineName()} for help formatting this field. + * @param \Google\Cloud\AIPlatform\V1\Session $session Required. The session to create. + * + * @return \Google\Cloud\AIPlatform\V1\CreateSessionRequest + * + * @experimental + */ + public static function build(string $parent, \Google\Cloud\AIPlatform\V1\Session $session): self + { + return (new self()) + ->setParent($parent) + ->setSession($session); + } + + /** + * @param string $parent Required. The resource name of the location to create the session in. + * Format: + * `projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}` + * Please see {@see SessionServiceClient::reasoningEngineName()} for help formatting this field. + * @param \Google\Cloud\AIPlatform\V1\Session $session Required. The session to create. + * @param string $sessionId Optional. The user defined ID to use for session, which will become the + * final component of the session resource name. If not provided, Vertex AI + * will generate a value for this ID. + * + * This value may be up to 63 characters, and valid characters are + * `[a-z0-9-]`. The first character must be a letter, and the last character + * must be a letter or number. + * + * @return \Google\Cloud\AIPlatform\V1\CreateSessionRequest + * + * @experimental + */ + public static function buildFromParentSessionSessionId(string $parent, \Google\Cloud\AIPlatform\V1\Session $session, string $sessionId): self + { + return (new self()) + ->setParent($parent) + ->setSession($session) + ->setSessionId($sessionId); + } + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $parent + * Required. The resource name of the location to create the session in. + * Format: + * `projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}` + * @type \Google\Cloud\AIPlatform\V1\Session $session + * Required. The session to create. + * @type string $session_id + * Optional. The user defined ID to use for session, which will become the + * final component of the session resource name. If not provided, Vertex AI + * will generate a value for this ID. + * This value may be up to 63 characters, and valid characters are + * `[a-z0-9-]`. The first character must be a letter, and the last character + * must be a letter or number. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Cloud\Aiplatform\V1\SessionService::initOnce(); + parent::__construct($data); + } + + /** + * Required. The resource name of the location to create the session in. + * Format: + * `projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}` + * + * 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 session in. + * Format: + * `projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}` + * + * 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 session to create. + * + * Generated from protobuf field .google.cloud.aiplatform.v1.Session session = 2 [(.google.api.field_behavior) = REQUIRED]; + * @return \Google\Cloud\AIPlatform\V1\Session|null + */ + public function getSession() + { + return $this->session; + } + + public function hasSession() + { + return isset($this->session); + } + + public function clearSession() + { + unset($this->session); + } + + /** + * Required. The session to create. + * + * Generated from protobuf field .google.cloud.aiplatform.v1.Session session = 2 [(.google.api.field_behavior) = REQUIRED]; + * @param \Google\Cloud\AIPlatform\V1\Session $var + * @return $this + */ + public function setSession($var) + { + GPBUtil::checkMessage($var, \Google\Cloud\AIPlatform\V1\Session::class); + $this->session = $var; + + return $this; + } + + /** + * Optional. The user defined ID to use for session, which will become the + * final component of the session resource name. If not provided, Vertex AI + * will generate a value for this ID. + * This value may be up to 63 characters, and valid characters are + * `[a-z0-9-]`. The first character must be a letter, and the last character + * must be a letter or number. + * + * Generated from protobuf field string session_id = 3 [(.google.api.field_behavior) = OPTIONAL]; + * @return string + */ + public function getSessionId() + { + return $this->session_id; + } + + /** + * Optional. The user defined ID to use for session, which will become the + * final component of the session resource name. If not provided, Vertex AI + * will generate a value for this ID. + * This value may be up to 63 characters, and valid characters are + * `[a-z0-9-]`. The first character must be a letter, and the last character + * must be a letter or number. + * + * Generated from protobuf field string session_id = 3 [(.google.api.field_behavior) = OPTIONAL]; + * @param string $var + * @return $this + */ + public function setSessionId($var) + { + GPBUtil::checkString($var, True); + $this->session_id = $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..7f49bb2a6fe6 --- /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..ee5f7bd69e2b --- /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..5d1d1b66527c --- /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..5c7b383efaf4 --- /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..bc4a8087abb6 --- /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..42f6a788f7d3 --- /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..62d02cdfabc7 --- /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..d7f07e1e17d1 --- /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..73689ef75197 --- /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..fec1a10e5818 --- /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..5bc5d406f36d --- /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..adf53549c591 --- /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..56d8dd4058c2 --- /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..881917980e40 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CustomJob.php @@ -0,0 +1,662 @@ +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; + /** + * Output only. Reserved for future use. + * + * Generated from protobuf field bool satisfies_pzs = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + protected $satisfies_pzs = false; + /** + * Output only. Reserved for future use. + * + * Generated from protobuf field bool satisfies_pzi = 19 [(.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. 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. + * @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\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; + } + + /** + * Output only. Reserved for future use. + * + * Generated from protobuf field bool satisfies_pzs = 18 [(.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 = 18 [(.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 = 19 [(.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 = 19 [(.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/CustomJobSpec.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CustomJobSpec.php new file mode 100644 index 000000000000..ad380601350f --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/CustomJobSpec.php @@ -0,0 +1,889 @@ +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; + /** + * Optional. Configuration for PSC-I for CustomJob. + * + * Generated from protobuf field .google.cloud.aiplatform.v1.PscInterfaceConfig psc_interface_config = 21 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $psc_interface_config = null; + /** + * 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 \Google\Cloud\AIPlatform\V1\WorkerPoolSpec[] $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 string[] $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\PscInterfaceConfig $psc_interface_config + * Optional. Configuration for PSC-I for CustomJob. + * @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 string[] $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 RepeatedField<\Google\Cloud\AIPlatform\V1\WorkerPoolSpec> + */ + 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 \Google\Cloud\AIPlatform\V1\WorkerPoolSpec[] $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 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 string[] $var + * @return $this + */ + public function setReservedIpRanges($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING); + $this->reserved_ip_ranges = $arr; + + return $this; + } + + /** + * Optional. Configuration for PSC-I for CustomJob. + * + * Generated from protobuf field .google.cloud.aiplatform.v1.PscInterfaceConfig psc_interface_config = 21 [(.google.api.field_behavior) = OPTIONAL]; + * @return \Google\Cloud\AIPlatform\V1\PscInterfaceConfig|null + */ + public function getPscInterfaceConfig() + { + return $this->psc_interface_config; + } + + public function hasPscInterfaceConfig() + { + return isset($this->psc_interface_config); + } + + public function clearPscInterfaceConfig() + { + unset($this->psc_interface_config); + } + + /** + * Optional. Configuration for PSC-I for CustomJob. + * + * Generated from protobuf field .google.cloud.aiplatform.v1.PscInterfaceConfig psc_interface_config = 21 [(.google.api.field_behavior) = OPTIONAL]; + * @param \Google\Cloud\AIPlatform\V1\PscInterfaceConfig $var + * @return $this + */ + public function setPscInterfaceConfig($var) + { + GPBUtil::checkMessage($var, \Google\Cloud\AIPlatform\V1\PscInterfaceConfig::class); + $this->psc_interface_config = $var; + + 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 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 string[] $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..4c0c11a48d19 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/DataItem.php @@ -0,0 +1,384 @@ +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 = ''; + /** + * Output only. Reserved for future use. + * + * Generated from protobuf field bool satisfies_pzs = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + protected $satisfies_pzs = false; + /** + * Output only. Reserved for future use. + * + * Generated from protobuf field bool satisfies_pzi = 11 [(.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 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. + * @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\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; + } + + /** + * Output only. Reserved for future use. + * + * Generated from protobuf field bool satisfies_pzs = 10 [(.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 = 10 [(.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 = 11 [(.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 = 11 [(.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/DataItemView.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/DataItemView.php new file mode 100644 index 000000000000..3ed7a378662a --- /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 \Google\Cloud\AIPlatform\V1\Annotation[] $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 RepeatedField<\Google\Cloud\AIPlatform\V1\Annotation> + */ + 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 \Google\Cloud\AIPlatform\V1\Annotation[] $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..2d0bcb05ef6e --- /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 string[] $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 string[] $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 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 string[] $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 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 string[] $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..384912040855 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/Dataset.php @@ -0,0 +1,745 @@ +google.cloud.aiplatform.v1.Dataset + */ +class Dataset extends \Google\Protobuf\Internal\Message +{ + /** + * Output only. Identifier. The resource name of the Dataset. + * Format: + * `projects/{project}/locations/{location}/datasets/{dataset}` + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IDENTIFIER, (.google.api.resource_reference) = { + */ + 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 = ''; + /** + * Output only. Reserved for future use. + * + * Generated from protobuf field bool satisfies_pzs = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + protected $satisfies_pzs = false; + /** + * Output only. Reserved for future use. + * + * Generated from protobuf field bool satisfies_pzi = 20 [(.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. Identifier. The resource name of the Dataset. + * Format: + * `projects/{project}/locations/{location}/datasets/{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 \Google\Cloud\AIPlatform\V1\SavedQuery[] $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. + * @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\Dataset::initOnce(); + parent::__construct($data); + } + + /** + * Output only. Identifier. The resource name of the Dataset. + * Format: + * `projects/{project}/locations/{location}/datasets/{dataset}` + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IDENTIFIER, (.google.api.resource_reference) = { + * @return string + */ + public function getName() + { + return $this->name; + } + + /** + * Output only. Identifier. The resource name of the Dataset. + * Format: + * `projects/{project}/locations/{location}/datasets/{dataset}` + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IDENTIFIER, (.google.api.resource_reference) = { + * @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 RepeatedField<\Google\Cloud\AIPlatform\V1\SavedQuery> + */ + 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 \Google\Cloud\AIPlatform\V1\SavedQuery[] $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; + } + + /** + * Output only. Reserved for future use. + * + * Generated from protobuf field bool satisfies_pzs = 19 [(.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 = 19 [(.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 = 20 [(.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 = 20 [(.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/DatasetVersion.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/DatasetVersion.php new file mode 100644 index 000000000000..51a3f9fd2839 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/DatasetVersion.php @@ -0,0 +1,427 @@ +google.cloud.aiplatform.v1.DatasetVersion + */ +class DatasetVersion extends \Google\Protobuf\Internal\Message +{ + /** + * Output only. Identifier. The resource name of the DatasetVersion. + * Format: + * `projects/{project}/locations/{location}/datasets/{dataset}/datasetVersions/{dataset_version}` + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IDENTIFIER, (.google.api.resource_reference) = { + */ + 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 = ''; + /** + * Output only. Reserved for future use. + * + * Generated from protobuf field bool satisfies_pzs = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + protected $satisfies_pzs = false; + /** + * Output only. Reserved for future use. + * + * Generated from protobuf field bool satisfies_pzi = 11 [(.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. Identifier. The resource name of the DatasetVersion. + * Format: + * `projects/{project}/locations/{location}/datasets/{dataset}/datasetVersions/{dataset_version}` + * @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. + * @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\DatasetVersion::initOnce(); + parent::__construct($data); + } + + /** + * Output only. Identifier. The resource name of the DatasetVersion. + * Format: + * `projects/{project}/locations/{location}/datasets/{dataset}/datasetVersions/{dataset_version}` + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IDENTIFIER, (.google.api.resource_reference) = { + * @return string + */ + public function getName() + { + return $this->name; + } + + /** + * Output only. Identifier. The resource name of the DatasetVersion. + * Format: + * `projects/{project}/locations/{location}/datasets/{dataset}/datasetVersions/{dataset_version}` + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IDENTIFIER, (.google.api.resource_reference) = { + * @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; + } + + /** + * Output only. Reserved for future use. + * + * Generated from protobuf field bool satisfies_pzs = 10 [(.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 = 10 [(.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 = 11 [(.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 = 11 [(.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/DedicatedResources.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/DedicatedResources.php new file mode 100644 index 000000000000..187312e222e4 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/DedicatedResources.php @@ -0,0 +1,404 @@ +google.cloud.aiplatform.v1.DedicatedResources + */ +class DedicatedResources extends \Google\Protobuf\Internal\Message +{ + /** + * Required. Immutable. The specification of a single machine being used. + * + * 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 that will be + * always deployed on. This value must be greater than or equal to 1. + * If traffic 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 that 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 + * to that many replicas is guaranteed (barring service outages). If traffic + * 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; + /** + * Optional. Number of required available replicas for the deployment to + * succeed. This field is only needed when partial deployment/mutation is + * desired. If set, the deploy/mutate operation will succeed once + * available_replica_count reaches required_replica_count, and the rest of + * the replicas will be retried. If not set, the default + * required_replica_count will be min_replica_count. + * + * Generated from protobuf field int32 required_replica_count = 9 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $required_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; + /** + * Optional. If true, schedule the deployment workload on [spot + * VMs](https://cloud.google.com/kubernetes-engine/docs/concepts/spot-vms). + * + * Generated from protobuf field bool spot = 5 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $spot = false; + + /** + * 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 being used. + * @type int $min_replica_count + * Required. Immutable. The minimum number of machine replicas that will be + * always deployed on. This value must be greater than or equal to 1. + * If traffic 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 that 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 + * to that many replicas is guaranteed (barring service outages). If traffic + * 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 int $required_replica_count + * Optional. Number of required available replicas for the deployment to + * succeed. This field is only needed when partial deployment/mutation is + * desired. If set, the deploy/mutate operation will succeed once + * available_replica_count reaches required_replica_count, and the rest of + * the replicas will be retried. If not set, the default + * required_replica_count will be min_replica_count. + * @type \Google\Cloud\AIPlatform\V1\AutoscalingMetricSpec[] $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`. + * @type bool $spot + * Optional. If true, schedule the deployment workload on [spot + * VMs](https://cloud.google.com/kubernetes-engine/docs/concepts/spot-vms). + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Cloud\Aiplatform\V1\MachineResources::initOnce(); + parent::__construct($data); + } + + /** + * Required. Immutable. The specification of a single machine being used. + * + * 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 being used. + * + * 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 that will be + * always deployed on. This value must be greater than or equal to 1. + * If traffic 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 that will be + * always deployed on. This value must be greater than or equal to 1. + * If traffic 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 that 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 + * to that many replicas is guaranteed (barring service outages). If traffic + * 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 that 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 + * to that many replicas is guaranteed (barring service outages). If traffic + * 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; + } + + /** + * Optional. Number of required available replicas for the deployment to + * succeed. This field is only needed when partial deployment/mutation is + * desired. If set, the deploy/mutate operation will succeed once + * available_replica_count reaches required_replica_count, and the rest of + * the replicas will be retried. If not set, the default + * required_replica_count will be min_replica_count. + * + * Generated from protobuf field int32 required_replica_count = 9 [(.google.api.field_behavior) = OPTIONAL]; + * @return int + */ + public function getRequiredReplicaCount() + { + return $this->required_replica_count; + } + + /** + * Optional. Number of required available replicas for the deployment to + * succeed. This field is only needed when partial deployment/mutation is + * desired. If set, the deploy/mutate operation will succeed once + * available_replica_count reaches required_replica_count, and the rest of + * the replicas will be retried. If not set, the default + * required_replica_count will be min_replica_count. + * + * Generated from protobuf field int32 required_replica_count = 9 [(.google.api.field_behavior) = OPTIONAL]; + * @param int $var + * @return $this + */ + public function setRequiredReplicaCount($var) + { + GPBUtil::checkInt32($var); + $this->required_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 RepeatedField<\Google\Cloud\AIPlatform\V1\AutoscalingMetricSpec> + */ + 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 \Google\Cloud\AIPlatform\V1\AutoscalingMetricSpec[] $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; + } + + /** + * Optional. If true, schedule the deployment workload on [spot + * VMs](https://cloud.google.com/kubernetes-engine/docs/concepts/spot-vms). + * + * Generated from protobuf field bool spot = 5 [(.google.api.field_behavior) = OPTIONAL]; + * @return bool + */ + public function getSpot() + { + return $this->spot; + } + + /** + * Optional. If true, schedule the deployment workload on [spot + * VMs](https://cloud.google.com/kubernetes-engine/docs/concepts/spot-vms). + * + * Generated from protobuf field bool spot = 5 [(.google.api.field_behavior) = OPTIONAL]; + * @param bool $var + * @return $this + */ + public function setSpot($var) + { + GPBUtil::checkBool($var); + $this->spot = $var; + + 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..5c9d9d1fa034 --- /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..6c2ae9a6bba5 --- /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/DeleteCachedContentRequest.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/DeleteCachedContentRequest.php new file mode 100644 index 000000000000..599267f71991 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/DeleteCachedContentRequest.php @@ -0,0 +1,82 @@ +google.cloud.aiplatform.v1.DeleteCachedContentRequest + */ +class DeleteCachedContentRequest extends \Google\Protobuf\Internal\Message +{ + /** + * Required. The resource name referring to the cached content + * + * 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 referring to the cached content + * Please see {@see GenAiCacheServiceClient::cachedContentName()} for help formatting this field. + * + * @return \Google\Cloud\AIPlatform\V1\DeleteCachedContentRequest + * + * @experimental + */ + public static function build(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 referring to the cached content + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Cloud\Aiplatform\V1\GenAiCacheService::initOnce(); + parent::__construct($data); + } + + /** + * Required. The resource name referring to the cached content + * + * Generated from 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 referring to the cached content + * + * Generated from protobuf field string name = 1 [(.google.api.field_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..e75c374dfea3 --- /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..44dc82ef65f6 --- /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..cd7264ebdf2c --- /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..ea0a4090eccc --- /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..31492f625d34 --- /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..bea8770910ed --- /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..464714a8727d --- /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..207cd256322d --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/DeleteEntityTypeRequest.php @@ -0,0 +1,149 @@ +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..67277e271823 --- /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..65c2aab3f1ef --- /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..2b8ac8382be9 --- /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..4009b2b8413b --- /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..40b08eaaaca3 --- /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..251cf75f6ef6 --- /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..83f1b66d9889 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/DeleteFeatureValuesRequest/SelectEntity.php @@ -0,0 +1,83 @@ +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; + } + +} + 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..84a6655fe619 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/DeleteFeatureValuesRequest/SelectTimeRangeAndFeature.php @@ -0,0 +1,176 @@ +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; + } + +} + 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..d7bcab7d785a --- /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..4581b13400d0 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/DeleteFeatureValuesResponse/SelectEntity.php @@ -0,0 +1,113 @@ +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; + } + +} + 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..4fc676279846 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/DeleteFeatureValuesResponse/SelectTimeRangeAndFeature.php @@ -0,0 +1,167 @@ +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; + } + +} + 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..6ec164b076a5 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/DeleteFeatureViewRequest.php @@ -0,0 +1,92 @@ +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..d0f920655663 --- /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..d2df4c7c3a65 --- /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..7419f7cfdb38 --- /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..5980b05cce8a --- /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..36c98160349b --- /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..453e28d16a07 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/DeleteMetadataStoreRequest.php @@ -0,0 +1,133 @@ +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() + { + if ($this->force !== false) { + @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..0b052442ebaf --- /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..39c5dae414c0 --- /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..ac8920031d0a --- /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..f62eabde8256 --- /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..ff0658be0f57 --- /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..4c517f77c4e5 --- /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..be2f1d1389bb --- /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..5e257315e173 --- /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..edfae94825d9 --- /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..c83108d2d346 --- /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/DeleteRagCorpusRequest.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/DeleteRagCorpusRequest.php new file mode 100644 index 000000000000..a5cf57e3aaf2 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/DeleteRagCorpusRequest.php @@ -0,0 +1,134 @@ +google.cloud.aiplatform.v1.DeleteRagCorpusRequest + */ +class DeleteRagCorpusRequest extends \Google\Protobuf\Internal\Message +{ + /** + * Required. The name of the RagCorpus resource to be deleted. + * Format: + * `projects/{project}/locations/{location}/ragCorpora/{rag_corpus}` + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + */ + protected $name = ''; + /** + * Optional. If set to true, any RagFiles in this RagCorpus will also be + * deleted. Otherwise, the request will only work if the RagCorpus has no + * RagFiles. + * + * Generated from protobuf field bool force = 2 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $force = false; + + /** + * @param string $name Required. The name of the RagCorpus resource to be deleted. + * Format: + * `projects/{project}/locations/{location}/ragCorpora/{rag_corpus}` + * Please see {@see VertexRagDataServiceClient::ragCorpusName()} for help formatting this field. + * + * @return \Google\Cloud\AIPlatform\V1\DeleteRagCorpusRequest + * + * @experimental + */ + public static function build(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 RagCorpus resource to be deleted. + * Format: + * `projects/{project}/locations/{location}/ragCorpora/{rag_corpus}` + * @type bool $force + * Optional. If set to true, any RagFiles in this RagCorpus will also be + * deleted. Otherwise, the request will only work if the RagCorpus has no + * RagFiles. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Cloud\Aiplatform\V1\VertexRagDataService::initOnce(); + parent::__construct($data); + } + + /** + * Required. The name of the RagCorpus resource to be deleted. + * Format: + * `projects/{project}/locations/{location}/ragCorpora/{rag_corpus}` + * + * Generated from 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 RagCorpus resource to be deleted. + * Format: + * `projects/{project}/locations/{location}/ragCorpora/{rag_corpus}` + * + * Generated from protobuf field string name = 1 [(.google.api.field_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 set to true, any RagFiles in this RagCorpus will also be + * deleted. Otherwise, the request will only work if the RagCorpus has no + * RagFiles. + * + * Generated from protobuf field bool force = 2 [(.google.api.field_behavior) = OPTIONAL]; + * @return bool + */ + public function getForce() + { + return $this->force; + } + + /** + * Optional. If set to true, any RagFiles in this RagCorpus will also be + * deleted. Otherwise, the request will only work if the RagCorpus has no + * RagFiles. + * + * Generated from protobuf field bool force = 2 [(.google.api.field_behavior) = OPTIONAL]; + * @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/DeleteRagFileRequest.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/DeleteRagFileRequest.php new file mode 100644 index 000000000000..9cbd9467a5ec --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/DeleteRagFileRequest.php @@ -0,0 +1,92 @@ +google.cloud.aiplatform.v1.DeleteRagFileRequest + */ +class DeleteRagFileRequest extends \Google\Protobuf\Internal\Message +{ + /** + * Required. The name of the RagFile resource to be deleted. + * Format: + * `projects/{project}/locations/{location}/ragCorpora/{rag_corpus}/ragFiles/{rag_file}` + * + * 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 RagFile resource to be deleted. + * Format: + * `projects/{project}/locations/{location}/ragCorpora/{rag_corpus}/ragFiles/{rag_file}` + * Please see {@see VertexRagDataServiceClient::ragFileName()} for help formatting this field. + * + * @return \Google\Cloud\AIPlatform\V1\DeleteRagFileRequest + * + * @experimental + */ + public static function build(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 RagFile resource to be deleted. + * Format: + * `projects/{project}/locations/{location}/ragCorpora/{rag_corpus}/ragFiles/{rag_file}` + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Cloud\Aiplatform\V1\VertexRagDataService::initOnce(); + parent::__construct($data); + } + + /** + * Required. The name of the RagFile resource to be deleted. + * Format: + * `projects/{project}/locations/{location}/ragCorpora/{rag_corpus}/ragFiles/{rag_file}` + * + * Generated from 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 RagFile resource to be deleted. + * Format: + * `projects/{project}/locations/{location}/ragCorpora/{rag_corpus}/ragFiles/{rag_file}` + * + * Generated from protobuf field string name = 1 [(.google.api.field_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/DeleteReasoningEngineRequest.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/DeleteReasoningEngineRequest.php new file mode 100644 index 000000000000..20d062600c7d --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/DeleteReasoningEngineRequest.php @@ -0,0 +1,134 @@ +google.cloud.aiplatform.v1.DeleteReasoningEngineRequest + */ +class DeleteReasoningEngineRequest extends \Google\Protobuf\Internal\Message +{ + /** + * Required. The name of the ReasoningEngine resource to be deleted. + * Format: + * `projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}` + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + */ + protected $name = ''; + /** + * Optional. If set to true, child resources of this reasoning engine will + * also be deleted. Otherwise, the request will fail with FAILED_PRECONDITION + * error when the reasoning engine has undeleted child resources. + * + * Generated from protobuf field bool force = 2 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $force = false; + + /** + * @param string $name Required. The name of the ReasoningEngine resource to be deleted. + * Format: + * `projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}` + * Please see {@see ReasoningEngineServiceClient::reasoningEngineName()} for help formatting this field. + * + * @return \Google\Cloud\AIPlatform\V1\DeleteReasoningEngineRequest + * + * @experimental + */ + public static function build(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 ReasoningEngine resource to be deleted. + * Format: + * `projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}` + * @type bool $force + * Optional. If set to true, child resources of this reasoning engine will + * also be deleted. Otherwise, the request will fail with FAILED_PRECONDITION + * error when the reasoning engine has undeleted child resources. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Cloud\Aiplatform\V1\ReasoningEngineService::initOnce(); + parent::__construct($data); + } + + /** + * Required. The name of the ReasoningEngine resource to be deleted. + * Format: + * `projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}` + * + * Generated from 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 ReasoningEngine resource to be deleted. + * Format: + * `projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}` + * + * Generated from protobuf field string name = 1 [(.google.api.field_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 set to true, child resources of this reasoning engine will + * also be deleted. Otherwise, the request will fail with FAILED_PRECONDITION + * error when the reasoning engine has undeleted child resources. + * + * Generated from protobuf field bool force = 2 [(.google.api.field_behavior) = OPTIONAL]; + * @return bool + */ + public function getForce() + { + return $this->force; + } + + /** + * Optional. If set to true, child resources of this reasoning engine will + * also be deleted. Otherwise, the request will fail with FAILED_PRECONDITION + * error when the reasoning engine has undeleted child resources. + * + * Generated from protobuf field bool force = 2 [(.google.api.field_behavior) = OPTIONAL]; + * @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/DeleteSavedQueryRequest.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/DeleteSavedQueryRequest.php new file mode 100644 index 000000000000..6248ba0fd576 --- /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..1e93afe2d810 --- /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/DeleteSessionRequest.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/DeleteSessionRequest.php new file mode 100644 index 000000000000..ef024f3404db --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/DeleteSessionRequest.php @@ -0,0 +1,92 @@ +google.cloud.aiplatform.v1.DeleteSessionRequest + */ +class DeleteSessionRequest extends \Google\Protobuf\Internal\Message +{ + /** + * Required. The resource name of the session. + * Format: + * `projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}/sessions/{session}` + * + * 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 session. + * Format: + * `projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}/sessions/{session}` + * Please see {@see SessionServiceClient::sessionName()} for help formatting this field. + * + * @return \Google\Cloud\AIPlatform\V1\DeleteSessionRequest + * + * @experimental + */ + public static function build(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 session. + * Format: + * `projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}/sessions/{session}` + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Cloud\Aiplatform\V1\SessionService::initOnce(); + parent::__construct($data); + } + + /** + * Required. The resource name of the session. + * Format: + * `projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}/sessions/{session}` + * + * Generated from 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 session. + * Format: + * `projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}/sessions/{session}` + * + * Generated from protobuf field string name = 1 [(.google.api.field_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..84eff5d01576 --- /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..608505dc3725 --- /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..3130d296741d --- /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..0b98504e7ce1 --- /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..d959215750ef --- /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..51ff6926f96e --- /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..19cdc574693b --- /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..d9f8a593efdb --- /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..48692beb2bc5 --- /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..85fa3395ffaf --- /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..2be64bf2df40 --- /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..211b4b96658e --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/DeployModelOperationMetadata.php @@ -0,0 +1,112 @@ +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; + /** + * Output only. The deployment stage of the model. + * + * Generated from protobuf field .google.cloud.aiplatform.v1.DeploymentStage deployment_stage = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + protected $deployment_stage = 0; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type \Google\Cloud\AIPlatform\V1\GenericOperationMetadata $generic_metadata + * The operation generic information. + * @type int $deployment_stage + * Output only. The deployment stage of the model. + * } + */ + 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; + } + + /** + * Output only. The deployment stage of the model. + * + * Generated from protobuf field .google.cloud.aiplatform.v1.DeploymentStage deployment_stage = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return int + */ + public function getDeploymentStage() + { + return $this->deployment_stage; + } + + /** + * Output only. The deployment stage of the model. + * + * Generated from protobuf field .google.cloud.aiplatform.v1.DeploymentStage deployment_stage = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @param int $var + * @return $this + */ + public function setDeploymentStage($var) + { + GPBUtil::checkEnum($var, \Google\Cloud\AIPlatform\V1\DeploymentStage::class); + $this->deployment_stage = $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..6ebfc80d9296 --- /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..b1acf360b85a --- /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/DeployOperationMetadata.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/DeployOperationMetadata.php new file mode 100644 index 000000000000..d211118c3405 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/DeployOperationMetadata.php @@ -0,0 +1,218 @@ +google.cloud.aiplatform.v1.DeployOperationMetadata + */ +class DeployOperationMetadata 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; + /** + * Output only. The name of the model resource. + * + * Generated from protobuf field string publisher_model = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { + */ + protected $publisher_model = ''; + /** + * Output only. The resource name of the Location to deploy the model in. + * Format: `projects/{project}/locations/{location}` + * + * Generated from protobuf field string destination = 3 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { + */ + protected $destination = ''; + /** + * Output only. The project number where the deploy model request is sent. + * + * Generated from protobuf field int64 project_number = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + protected $project_number = 0; + /** + * Output only. The model id to be used at query time. + * + * Generated from protobuf field string model_id = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + protected $model_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 $publisher_model + * Output only. The name of the model resource. + * @type string $destination + * Output only. The resource name of the Location to deploy the model in. + * Format: `projects/{project}/locations/{location}` + * @type int|string $project_number + * Output only. The project number where the deploy model request is sent. + * @type string $model_id + * Output only. The model id to be used at query time. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Cloud\Aiplatform\V1\ModelGardenService::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; + } + + /** + * Output only. The name of the model resource. + * + * Generated from protobuf field string publisher_model = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { + * @return string + */ + public function getPublisherModel() + { + return $this->publisher_model; + } + + /** + * Output only. The name of the model resource. + * + * Generated from protobuf field string publisher_model = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { + * @param string $var + * @return $this + */ + public function setPublisherModel($var) + { + GPBUtil::checkString($var, True); + $this->publisher_model = $var; + + return $this; + } + + /** + * Output only. The resource name of the Location to deploy the model in. + * Format: `projects/{project}/locations/{location}` + * + * Generated from protobuf field string destination = 3 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { + * @return string + */ + public function getDestination() + { + return $this->destination; + } + + /** + * Output only. The resource name of the Location to deploy the model in. + * Format: `projects/{project}/locations/{location}` + * + * Generated from protobuf field string destination = 3 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { + * @param string $var + * @return $this + */ + public function setDestination($var) + { + GPBUtil::checkString($var, True); + $this->destination = $var; + + return $this; + } + + /** + * Output only. The project number where the deploy model request is sent. + * + * Generated from protobuf field int64 project_number = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return int|string + */ + public function getProjectNumber() + { + return $this->project_number; + } + + /** + * Output only. The project number where the deploy model request is sent. + * + * Generated from protobuf field int64 project_number = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @param int|string $var + * @return $this + */ + public function setProjectNumber($var) + { + GPBUtil::checkInt64($var); + $this->project_number = $var; + + return $this; + } + + /** + * Output only. The model id to be used at query time. + * + * Generated from protobuf field string model_id = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return string + */ + public function getModelId() + { + return $this->model_id; + } + + /** + * Output only. The model id to be used at query time. + * + * Generated from protobuf field string model_id = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @param string $var + * @return $this + */ + public function setModelId($var) + { + GPBUtil::checkString($var, True); + $this->model_id = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/DeployRequest.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/DeployRequest.php new file mode 100644 index 000000000000..63d78f757aec --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/DeployRequest.php @@ -0,0 +1,303 @@ +google.cloud.aiplatform.v1.DeployRequest + */ +class DeployRequest extends \Google\Protobuf\Internal\Message +{ + /** + * Required. The resource name of the Location to deploy the model in. + * Format: `projects/{project}/locations/{location}` + * + * Generated from protobuf field string destination = 4 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + */ + protected $destination = ''; + /** + * Optional. The model config to use for the deployment. + * If not specified, the default model config will be used. + * + * Generated from protobuf field .google.cloud.aiplatform.v1.DeployRequest.ModelConfig model_config = 5 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $model_config = null; + /** + * Optional. The endpoint config to use for the deployment. + * If not specified, the default endpoint config will be used. + * + * Generated from protobuf field .google.cloud.aiplatform.v1.DeployRequest.EndpointConfig endpoint_config = 6 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $endpoint_config = null; + /** + * Optional. The deploy config to use for the deployment. + * If not specified, the default deploy config will be used. + * + * Generated from protobuf field .google.cloud.aiplatform.v1.DeployRequest.DeployConfig deploy_config = 7 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $deploy_config = null; + protected $artifacts; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $publisher_model_name + * The Model Garden model to deploy. + * Format: + * `publishers/{publisher}/models/{publisher_model}\@{version_id}`, or + * `publishers/hf-{hugging-face-author}/models/{hugging-face-model-name}\@001`. + * @type string $hugging_face_model_id + * The Hugging Face model to deploy. + * Format: Hugging Face model ID like `google/gemma-2-2b-it`. + * @type string $destination + * Required. The resource name of the Location to deploy the model in. + * Format: `projects/{project}/locations/{location}` + * @type \Google\Cloud\AIPlatform\V1\DeployRequest\ModelConfig $model_config + * Optional. The model config to use for the deployment. + * If not specified, the default model config will be used. + * @type \Google\Cloud\AIPlatform\V1\DeployRequest\EndpointConfig $endpoint_config + * Optional. The endpoint config to use for the deployment. + * If not specified, the default endpoint config will be used. + * @type \Google\Cloud\AIPlatform\V1\DeployRequest\DeployConfig $deploy_config + * Optional. The deploy config to use for the deployment. + * If not specified, the default deploy config will be used. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Cloud\Aiplatform\V1\ModelGardenService::initOnce(); + parent::__construct($data); + } + + /** + * The Model Garden model to deploy. + * Format: + * `publishers/{publisher}/models/{publisher_model}\@{version_id}`, or + * `publishers/hf-{hugging-face-author}/models/{hugging-face-model-name}\@001`. + * + * Generated from protobuf field string publisher_model_name = 1 [(.google.api.resource_reference) = { + * @return string + */ + public function getPublisherModelName() + { + return $this->readOneof(1); + } + + public function hasPublisherModelName() + { + return $this->hasOneof(1); + } + + /** + * The Model Garden model to deploy. + * Format: + * `publishers/{publisher}/models/{publisher_model}\@{version_id}`, or + * `publishers/hf-{hugging-face-author}/models/{hugging-face-model-name}\@001`. + * + * Generated from protobuf field string publisher_model_name = 1 [(.google.api.resource_reference) = { + * @param string $var + * @return $this + */ + public function setPublisherModelName($var) + { + GPBUtil::checkString($var, True); + $this->writeOneof(1, $var); + + return $this; + } + + /** + * The Hugging Face model to deploy. + * Format: Hugging Face model ID like `google/gemma-2-2b-it`. + * + * Generated from protobuf field string hugging_face_model_id = 2; + * @return string + */ + public function getHuggingFaceModelId() + { + return $this->readOneof(2); + } + + public function hasHuggingFaceModelId() + { + return $this->hasOneof(2); + } + + /** + * The Hugging Face model to deploy. + * Format: Hugging Face model ID like `google/gemma-2-2b-it`. + * + * Generated from protobuf field string hugging_face_model_id = 2; + * @param string $var + * @return $this + */ + public function setHuggingFaceModelId($var) + { + GPBUtil::checkString($var, True); + $this->writeOneof(2, $var); + + return $this; + } + + /** + * Required. The resource name of the Location to deploy the model in. + * Format: `projects/{project}/locations/{location}` + * + * Generated from protobuf field string destination = 4 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @return string + */ + public function getDestination() + { + return $this->destination; + } + + /** + * Required. The resource name of the Location to deploy the model in. + * Format: `projects/{project}/locations/{location}` + * + * Generated from protobuf field string destination = 4 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @param string $var + * @return $this + */ + public function setDestination($var) + { + GPBUtil::checkString($var, True); + $this->destination = $var; + + return $this; + } + + /** + * Optional. The model config to use for the deployment. + * If not specified, the default model config will be used. + * + * Generated from protobuf field .google.cloud.aiplatform.v1.DeployRequest.ModelConfig model_config = 5 [(.google.api.field_behavior) = OPTIONAL]; + * @return \Google\Cloud\AIPlatform\V1\DeployRequest\ModelConfig|null + */ + public function getModelConfig() + { + return $this->model_config; + } + + public function hasModelConfig() + { + return isset($this->model_config); + } + + public function clearModelConfig() + { + unset($this->model_config); + } + + /** + * Optional. The model config to use for the deployment. + * If not specified, the default model config will be used. + * + * Generated from protobuf field .google.cloud.aiplatform.v1.DeployRequest.ModelConfig model_config = 5 [(.google.api.field_behavior) = OPTIONAL]; + * @param \Google\Cloud\AIPlatform\V1\DeployRequest\ModelConfig $var + * @return $this + */ + public function setModelConfig($var) + { + GPBUtil::checkMessage($var, \Google\Cloud\AIPlatform\V1\DeployRequest\ModelConfig::class); + $this->model_config = $var; + + return $this; + } + + /** + * Optional. The endpoint config to use for the deployment. + * If not specified, the default endpoint config will be used. + * + * Generated from protobuf field .google.cloud.aiplatform.v1.DeployRequest.EndpointConfig endpoint_config = 6 [(.google.api.field_behavior) = OPTIONAL]; + * @return \Google\Cloud\AIPlatform\V1\DeployRequest\EndpointConfig|null + */ + public function getEndpointConfig() + { + return $this->endpoint_config; + } + + public function hasEndpointConfig() + { + return isset($this->endpoint_config); + } + + public function clearEndpointConfig() + { + unset($this->endpoint_config); + } + + /** + * Optional. The endpoint config to use for the deployment. + * If not specified, the default endpoint config will be used. + * + * Generated from protobuf field .google.cloud.aiplatform.v1.DeployRequest.EndpointConfig endpoint_config = 6 [(.google.api.field_behavior) = OPTIONAL]; + * @param \Google\Cloud\AIPlatform\V1\DeployRequest\EndpointConfig $var + * @return $this + */ + public function setEndpointConfig($var) + { + GPBUtil::checkMessage($var, \Google\Cloud\AIPlatform\V1\DeployRequest\EndpointConfig::class); + $this->endpoint_config = $var; + + return $this; + } + + /** + * Optional. The deploy config to use for the deployment. + * If not specified, the default deploy config will be used. + * + * Generated from protobuf field .google.cloud.aiplatform.v1.DeployRequest.DeployConfig deploy_config = 7 [(.google.api.field_behavior) = OPTIONAL]; + * @return \Google\Cloud\AIPlatform\V1\DeployRequest\DeployConfig|null + */ + public function getDeployConfig() + { + return $this->deploy_config; + } + + public function hasDeployConfig() + { + return isset($this->deploy_config); + } + + public function clearDeployConfig() + { + unset($this->deploy_config); + } + + /** + * Optional. The deploy config to use for the deployment. + * If not specified, the default deploy config will be used. + * + * Generated from protobuf field .google.cloud.aiplatform.v1.DeployRequest.DeployConfig deploy_config = 7 [(.google.api.field_behavior) = OPTIONAL]; + * @param \Google\Cloud\AIPlatform\V1\DeployRequest\DeployConfig $var + * @return $this + */ + public function setDeployConfig($var) + { + GPBUtil::checkMessage($var, \Google\Cloud\AIPlatform\V1\DeployRequest\DeployConfig::class); + $this->deploy_config = $var; + + return $this; + } + + /** + * @return string + */ + public function getArtifacts() + { + return $this->whichOneof("artifacts"); + } + +} + diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/DeployRequest/DeployConfig.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/DeployRequest/DeployConfig.php new file mode 100644 index 000000000000..5119ab435428 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/DeployRequest/DeployConfig.php @@ -0,0 +1,157 @@ +google.cloud.aiplatform.v1.DeployRequest.DeployConfig + */ +class DeployConfig extends \Google\Protobuf\Internal\Message +{ + /** + * Optional. The dedicated resources to use for the endpoint. If not set, + * the default resources will be used. + * + * Generated from protobuf field .google.cloud.aiplatform.v1.DedicatedResources dedicated_resources = 1 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $dedicated_resources = null; + /** + * Optional. If true, enable the QMT fast tryout feature for this model if + * possible. + * + * Generated from protobuf field bool fast_tryout_enabled = 2 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $fast_tryout_enabled = false; + /** + * Optional. System labels for Model Garden deployments. + * These labels are managed by Google and for tracking purposes only. + * + * Generated from protobuf field map system_labels = 3 [(.google.api.field_behavior) = OPTIONAL]; + */ + private $system_labels; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type \Google\Cloud\AIPlatform\V1\DedicatedResources $dedicated_resources + * Optional. The dedicated resources to use for the endpoint. If not set, + * the default resources will be used. + * @type bool $fast_tryout_enabled + * Optional. If true, enable the QMT fast tryout feature for this model if + * possible. + * @type array|\Google\Protobuf\Internal\MapField $system_labels + * Optional. System labels for Model Garden deployments. + * These labels are managed by Google and for tracking purposes only. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Cloud\Aiplatform\V1\ModelGardenService::initOnce(); + parent::__construct($data); + } + + /** + * Optional. The dedicated resources to use for the endpoint. If not set, + * the default resources will be used. + * + * Generated from protobuf field .google.cloud.aiplatform.v1.DedicatedResources dedicated_resources = 1 [(.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. The dedicated resources to use for the endpoint. If not set, + * the default resources will be used. + * + * Generated from protobuf field .google.cloud.aiplatform.v1.DedicatedResources dedicated_resources = 1 [(.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, enable the QMT fast tryout feature for this model if + * possible. + * + * Generated from protobuf field bool fast_tryout_enabled = 2 [(.google.api.field_behavior) = OPTIONAL]; + * @return bool + */ + public function getFastTryoutEnabled() + { + return $this->fast_tryout_enabled; + } + + /** + * Optional. If true, enable the QMT fast tryout feature for this model if + * possible. + * + * Generated from protobuf field bool fast_tryout_enabled = 2 [(.google.api.field_behavior) = OPTIONAL]; + * @param bool $var + * @return $this + */ + public function setFastTryoutEnabled($var) + { + GPBUtil::checkBool($var); + $this->fast_tryout_enabled = $var; + + return $this; + } + + /** + * Optional. System labels for Model Garden deployments. + * These labels are managed by Google and for tracking purposes only. + * + * Generated from protobuf field map system_labels = 3 [(.google.api.field_behavior) = OPTIONAL]; + * @return \Google\Protobuf\Internal\MapField + */ + public function getSystemLabels() + { + return $this->system_labels; + } + + /** + * Optional. System labels for Model Garden deployments. + * These labels are managed by Google and for tracking purposes only. + * + * Generated from protobuf field map system_labels = 3 [(.google.api.field_behavior) = OPTIONAL]; + * @param array|\Google\Protobuf\Internal\MapField $var + * @return $this + */ + public function setSystemLabels($var) + { + $arr = GPBUtil::checkMapField($var, \Google\Protobuf\Internal\GPBType::STRING, \Google\Protobuf\Internal\GPBType::STRING); + $this->system_labels = $arr; + + return $this; + } + +} + diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/DeployRequest/EndpointConfig.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/DeployRequest/EndpointConfig.php new file mode 100644 index 000000000000..c13aae9fc758 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/DeployRequest/EndpointConfig.php @@ -0,0 +1,284 @@ +google.cloud.aiplatform.v1.DeployRequest.EndpointConfig + */ +class EndpointConfig extends \Google\Protobuf\Internal\Message +{ + /** + * Optional. The user-specified display name of the endpoint. If not set, a + * default name will be used. + * + * Generated from protobuf field string endpoint_display_name = 1 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $endpoint_display_name = ''; + /** + * Optional. Deprecated. Use dedicated_endpoint_disabled instead. + * 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 limitations will be removed soon. + * + * Generated from protobuf field bool dedicated_endpoint_enabled = 2 [deprecated = true, (.google.api.field_behavior) = OPTIONAL]; + * @deprecated + */ + protected $dedicated_endpoint_enabled = false; + /** + * Optional. By default, if dedicated endpoint is enabled, 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 limitations will be + * removed soon. + * If this field is set to true, the dedicated endpoint will be disabled + * and the deployed model will be exposed through the shared DNS + * {region}-aiplatform.googleapis.com. + * + * Generated from protobuf field bool dedicated_endpoint_disabled = 4 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $dedicated_endpoint_disabled = false; + /** + * Optional. 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_user_id = 3 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = OPTIONAL]; + */ + protected $endpoint_user_id = ''; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $endpoint_display_name + * Optional. The user-specified display name of the endpoint. If not set, a + * default name will be used. + * @type bool $dedicated_endpoint_enabled + * Optional. Deprecated. Use dedicated_endpoint_disabled instead. + * 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 limitations will be removed soon. + * @type bool $dedicated_endpoint_disabled + * Optional. By default, if dedicated endpoint is enabled, 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 limitations will be + * removed soon. + * If this field is set to true, the dedicated endpoint will be disabled + * and the deployed model will be exposed through the shared DNS + * {region}-aiplatform.googleapis.com. + * @type string $endpoint_user_id + * Optional. 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\ModelGardenService::initOnce(); + parent::__construct($data); + } + + /** + * Optional. The user-specified display name of the endpoint. If not set, a + * default name will be used. + * + * Generated from protobuf field string endpoint_display_name = 1 [(.google.api.field_behavior) = OPTIONAL]; + * @return string + */ + public function getEndpointDisplayName() + { + return $this->endpoint_display_name; + } + + /** + * Optional. The user-specified display name of the endpoint. If not set, a + * default name will be used. + * + * Generated from protobuf field string endpoint_display_name = 1 [(.google.api.field_behavior) = OPTIONAL]; + * @param string $var + * @return $this + */ + public function setEndpointDisplayName($var) + { + GPBUtil::checkString($var, True); + $this->endpoint_display_name = $var; + + return $this; + } + + /** + * Optional. Deprecated. Use dedicated_endpoint_disabled instead. + * 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 limitations will be removed soon. + * + * Generated from protobuf field bool dedicated_endpoint_enabled = 2 [deprecated = true, (.google.api.field_behavior) = OPTIONAL]; + * @return bool + * @deprecated + */ + public function getDedicatedEndpointEnabled() + { + if ($this->dedicated_endpoint_enabled !== false) { + @trigger_error('dedicated_endpoint_enabled is deprecated.', E_USER_DEPRECATED); + } + return $this->dedicated_endpoint_enabled; + } + + /** + * Optional. Deprecated. Use dedicated_endpoint_disabled instead. + * 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 limitations will be removed soon. + * + * Generated from protobuf field bool dedicated_endpoint_enabled = 2 [deprecated = true, (.google.api.field_behavior) = OPTIONAL]; + * @param bool $var + * @return $this + * @deprecated + */ + public function setDedicatedEndpointEnabled($var) + { + @trigger_error('dedicated_endpoint_enabled is deprecated.', E_USER_DEPRECATED); + GPBUtil::checkBool($var); + $this->dedicated_endpoint_enabled = $var; + + return $this; + } + + /** + * Optional. By default, if dedicated endpoint is enabled, 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 limitations will be + * removed soon. + * If this field is set to true, the dedicated endpoint will be disabled + * and the deployed model will be exposed through the shared DNS + * {region}-aiplatform.googleapis.com. + * + * Generated from protobuf field bool dedicated_endpoint_disabled = 4 [(.google.api.field_behavior) = OPTIONAL]; + * @return bool + */ + public function getDedicatedEndpointDisabled() + { + return $this->dedicated_endpoint_disabled; + } + + /** + * Optional. By default, if dedicated endpoint is enabled, 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 limitations will be + * removed soon. + * If this field is set to true, the dedicated endpoint will be disabled + * and the deployed model will be exposed through the shared DNS + * {region}-aiplatform.googleapis.com. + * + * Generated from protobuf field bool dedicated_endpoint_disabled = 4 [(.google.api.field_behavior) = OPTIONAL]; + * @param bool $var + * @return $this + */ + public function setDedicatedEndpointDisabled($var) + { + GPBUtil::checkBool($var); + $this->dedicated_endpoint_disabled = $var; + + return $this; + } + + /** + * Optional. 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_user_id = 3 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = OPTIONAL]; + * @return string + */ + public function getEndpointUserId() + { + return $this->endpoint_user_id; + } + + /** + * Optional. 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_user_id = 3 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = OPTIONAL]; + * @param string $var + * @return $this + */ + public function setEndpointUserId($var) + { + GPBUtil::checkString($var, True); + $this->endpoint_user_id = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/DeployRequest/ModelConfig.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/DeployRequest/ModelConfig.php new file mode 100644 index 000000000000..8b1b47a7d5ba --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/DeployRequest/ModelConfig.php @@ -0,0 +1,291 @@ +google.cloud.aiplatform.v1.DeployRequest.ModelConfig + */ +class ModelConfig extends \Google\Protobuf\Internal\Message +{ + /** + * Optional. Whether the user accepts the End User License Agreement (EULA) + * for the model. + * + * Generated from protobuf field bool accept_eula = 1 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $accept_eula = false; + /** + * Optional. The Hugging Face read access token used to access the model + * artifacts of gated models. + * + * Generated from protobuf field string hugging_face_access_token = 2 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $hugging_face_access_token = ''; + /** + * Optional. If true, the model will deploy with a cached version instead of + * directly downloading the model artifacts from Hugging Face. This is + * suitable for VPC-SC users with limited internet access. + * + * Generated from protobuf field bool hugging_face_cache_enabled = 3 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $hugging_face_cache_enabled = false; + /** + * Optional. The user-specified display name of the uploaded model. If not + * set, a default name will be used. + * + * Generated from protobuf field string model_display_name = 4 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $model_display_name = ''; + /** + * Optional. The specification of the container that is to be used when + * deploying. If not set, the default container spec will be used. + * + * Generated from protobuf field .google.cloud.aiplatform.v1.ModelContainerSpec container_spec = 5 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $container_spec = null; + /** + * Optional. The ID to use for the uploaded Model, which will become the + * final component of the model resource name. When not provided, Vertex AI + * will generate a value for this ID. When Model Registry model is provided, + * this field will be ignored. + * 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_user_id = 6 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $model_user_id = ''; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type bool $accept_eula + * Optional. Whether the user accepts the End User License Agreement (EULA) + * for the model. + * @type string $hugging_face_access_token + * Optional. The Hugging Face read access token used to access the model + * artifacts of gated models. + * @type bool $hugging_face_cache_enabled + * Optional. If true, the model will deploy with a cached version instead of + * directly downloading the model artifacts from Hugging Face. This is + * suitable for VPC-SC users with limited internet access. + * @type string $model_display_name + * Optional. The user-specified display name of the uploaded model. If not + * set, a default name will be used. + * @type \Google\Cloud\AIPlatform\V1\ModelContainerSpec $container_spec + * Optional. The specification of the container that is to be used when + * deploying. If not set, the default container spec will be used. + * @type string $model_user_id + * Optional. The ID to use for the uploaded Model, which will become the + * final component of the model resource name. When not provided, Vertex AI + * will generate a value for this ID. When Model Registry model is provided, + * this field will be ignored. + * This value may be up to 63 characters, and valid characters are + * `[a-z0-9_-]`. The first character cannot be a number or hyphen. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Cloud\Aiplatform\V1\ModelGardenService::initOnce(); + parent::__construct($data); + } + + /** + * Optional. Whether the user accepts the End User License Agreement (EULA) + * for the model. + * + * Generated from protobuf field bool accept_eula = 1 [(.google.api.field_behavior) = OPTIONAL]; + * @return bool + */ + public function getAcceptEula() + { + return $this->accept_eula; + } + + /** + * Optional. Whether the user accepts the End User License Agreement (EULA) + * for the model. + * + * Generated from protobuf field bool accept_eula = 1 [(.google.api.field_behavior) = OPTIONAL]; + * @param bool $var + * @return $this + */ + public function setAcceptEula($var) + { + GPBUtil::checkBool($var); + $this->accept_eula = $var; + + return $this; + } + + /** + * Optional. The Hugging Face read access token used to access the model + * artifacts of gated models. + * + * Generated from protobuf field string hugging_face_access_token = 2 [(.google.api.field_behavior) = OPTIONAL]; + * @return string + */ + public function getHuggingFaceAccessToken() + { + return $this->hugging_face_access_token; + } + + /** + * Optional. The Hugging Face read access token used to access the model + * artifacts of gated models. + * + * Generated from protobuf field string hugging_face_access_token = 2 [(.google.api.field_behavior) = OPTIONAL]; + * @param string $var + * @return $this + */ + public function setHuggingFaceAccessToken($var) + { + GPBUtil::checkString($var, True); + $this->hugging_face_access_token = $var; + + return $this; + } + + /** + * Optional. If true, the model will deploy with a cached version instead of + * directly downloading the model artifacts from Hugging Face. This is + * suitable for VPC-SC users with limited internet access. + * + * Generated from protobuf field bool hugging_face_cache_enabled = 3 [(.google.api.field_behavior) = OPTIONAL]; + * @return bool + */ + public function getHuggingFaceCacheEnabled() + { + return $this->hugging_face_cache_enabled; + } + + /** + * Optional. If true, the model will deploy with a cached version instead of + * directly downloading the model artifacts from Hugging Face. This is + * suitable for VPC-SC users with limited internet access. + * + * Generated from protobuf field bool hugging_face_cache_enabled = 3 [(.google.api.field_behavior) = OPTIONAL]; + * @param bool $var + * @return $this + */ + public function setHuggingFaceCacheEnabled($var) + { + GPBUtil::checkBool($var); + $this->hugging_face_cache_enabled = $var; + + return $this; + } + + /** + * Optional. The user-specified display name of the uploaded model. If not + * set, a default name will be used. + * + * Generated from protobuf field string model_display_name = 4 [(.google.api.field_behavior) = OPTIONAL]; + * @return string + */ + public function getModelDisplayName() + { + return $this->model_display_name; + } + + /** + * Optional. The user-specified display name of the uploaded model. If not + * set, a default name will be used. + * + * Generated from protobuf field string model_display_name = 4 [(.google.api.field_behavior) = OPTIONAL]; + * @param string $var + * @return $this + */ + public function setModelDisplayName($var) + { + GPBUtil::checkString($var, True); + $this->model_display_name = $var; + + return $this; + } + + /** + * Optional. The specification of the container that is to be used when + * deploying. If not set, the default container spec will be used. + * + * Generated from protobuf field .google.cloud.aiplatform.v1.ModelContainerSpec container_spec = 5 [(.google.api.field_behavior) = OPTIONAL]; + * @return \Google\Cloud\AIPlatform\V1\ModelContainerSpec|null + */ + public function getContainerSpec() + { + return $this->container_spec; + } + + public function hasContainerSpec() + { + return isset($this->container_spec); + } + + public function clearContainerSpec() + { + unset($this->container_spec); + } + + /** + * Optional. The specification of the container that is to be used when + * deploying. If not set, the default container spec will be used. + * + * Generated from protobuf field .google.cloud.aiplatform.v1.ModelContainerSpec container_spec = 5 [(.google.api.field_behavior) = OPTIONAL]; + * @param \Google\Cloud\AIPlatform\V1\ModelContainerSpec $var + * @return $this + */ + public function setContainerSpec($var) + { + GPBUtil::checkMessage($var, \Google\Cloud\AIPlatform\V1\ModelContainerSpec::class); + $this->container_spec = $var; + + return $this; + } + + /** + * Optional. The ID to use for the uploaded Model, which will become the + * final component of the model resource name. When not provided, Vertex AI + * will generate a value for this ID. When Model Registry model is provided, + * this field will be ignored. + * 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_user_id = 6 [(.google.api.field_behavior) = OPTIONAL]; + * @return string + */ + public function getModelUserId() + { + return $this->model_user_id; + } + + /** + * Optional. The ID to use for the uploaded Model, which will become the + * final component of the model resource name. When not provided, Vertex AI + * will generate a value for this ID. When Model Registry model is provided, + * this field will be ignored. + * 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_user_id = 6 [(.google.api.field_behavior) = OPTIONAL]; + * @param string $var + * @return $this + */ + public function setModelUserId($var) + { + GPBUtil::checkString($var, True); + $this->model_user_id = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/DeployResponse.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/DeployResponse.php new file mode 100644 index 000000000000..a64878a9accf --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/DeployResponse.php @@ -0,0 +1,156 @@ +google.cloud.aiplatform.v1.DeployResponse + */ +class DeployResponse extends \Google\Protobuf\Internal\Message +{ + /** + * Output only. The name of the PublisherModel resource. + * Format: + * `publishers/{publisher}/models/{publisher_model}\@{version_id}`, or + * `publishers/hf-{hugging-face-author}/models/{hugging-face-model-name}\@001` + * + * Generated from protobuf field string publisher_model = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { + */ + protected $publisher_model = ''; + /** + * Output only. The name of the Endpoint created. + * Format: `projects/{project}/locations/{location}/endpoints/{endpoint}` + * + * Generated from protobuf field string endpoint = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { + */ + protected $endpoint = ''; + /** + * Output only. The name of the Model created. + * Format: `projects/{project}/locations/{location}/models/{model}` + * + * Generated from protobuf field string model = 3 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { + */ + protected $model = ''; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $publisher_model + * Output only. The name of the PublisherModel resource. + * Format: + * `publishers/{publisher}/models/{publisher_model}\@{version_id}`, or + * `publishers/hf-{hugging-face-author}/models/{hugging-face-model-name}\@001` + * @type string $endpoint + * Output only. The name of the Endpoint created. + * Format: `projects/{project}/locations/{location}/endpoints/{endpoint}` + * @type string $model + * Output only. The name of the Model created. + * Format: `projects/{project}/locations/{location}/models/{model}` + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Cloud\Aiplatform\V1\ModelGardenService::initOnce(); + parent::__construct($data); + } + + /** + * Output only. The name of the PublisherModel resource. + * Format: + * `publishers/{publisher}/models/{publisher_model}\@{version_id}`, or + * `publishers/hf-{hugging-face-author}/models/{hugging-face-model-name}\@001` + * + * Generated from protobuf field string publisher_model = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { + * @return string + */ + public function getPublisherModel() + { + return $this->publisher_model; + } + + /** + * Output only. The name of the PublisherModel resource. + * Format: + * `publishers/{publisher}/models/{publisher_model}\@{version_id}`, or + * `publishers/hf-{hugging-face-author}/models/{hugging-face-model-name}\@001` + * + * Generated from protobuf field string publisher_model = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { + * @param string $var + * @return $this + */ + public function setPublisherModel($var) + { + GPBUtil::checkString($var, True); + $this->publisher_model = $var; + + return $this; + } + + /** + * Output only. The name of the Endpoint created. + * Format: `projects/{project}/locations/{location}/endpoints/{endpoint}` + * + * Generated from protobuf field string endpoint = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { + * @return string + */ + public function getEndpoint() + { + return $this->endpoint; + } + + /** + * Output only. The name of the Endpoint created. + * Format: `projects/{project}/locations/{location}/endpoints/{endpoint}` + * + * Generated from protobuf field string endpoint = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { + * @param string $var + * @return $this + */ + public function setEndpoint($var) + { + GPBUtil::checkString($var, True); + $this->endpoint = $var; + + return $this; + } + + /** + * Output only. The name of the Model created. + * Format: `projects/{project}/locations/{location}/models/{model}` + * + * Generated from protobuf field string model = 3 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { + * @return string + */ + public function getModel() + { + return $this->model; + } + + /** + * Output only. The name of the Model created. + * Format: `projects/{project}/locations/{location}/models/{model}` + * + * Generated from protobuf field string model = 3 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { + * @param string $var + * @return $this + */ + public function setModel($var) + { + GPBUtil::checkString($var, True); + $this->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..3773fab16435 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/DeployedIndex.php @@ -0,0 +1,899 @@ +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 true, logs to Cloud Logging errors relating to datapoint + * upserts. + * Under normal operation conditions, these log entries should be very rare. + * However, if incompatible datapoint updates are being uploaded to an index, + * a high volume of log entries may be generated in a short period of time. + * Note that logs may incur a cost, especially if the deployed index receives + * a high volume of datapoint upserts. Estimate your costs before enabling + * this option. + * + * Generated from protobuf field bool enable_datapoint_upsert_logging = 20 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $enable_datapoint_upsert_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 = ''; + /** + * Optional. The deployment tier that the index is deployed to. + * DEPLOYMENT_TIER_UNSPECIFIED will use a system-chosen default tier. + * + * Generated from protobuf field .google.cloud.aiplatform.v1.DeployedIndex.DeploymentTier deployment_tier = 18 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $deployment_tier = 0; + /** + * Optional. If set for PSC deployed index, PSC connection will be + * automatically created after deployment is done and the endpoint information + * is populated in private_endpoints.psc_automated_endpoints. + * + * Generated from protobuf field repeated .google.cloud.aiplatform.v1.PSCAutomationConfig psc_automation_configs = 19 [(.google.api.field_behavior) = OPTIONAL]; + */ + private $psc_automation_configs; + + /** + * 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 bool $enable_datapoint_upsert_logging + * Optional. If true, logs to Cloud Logging errors relating to datapoint + * upserts. + * Under normal operation conditions, these log entries should be very rare. + * However, if incompatible datapoint updates are being uploaded to an index, + * a high volume of log entries may be generated in a short period of time. + * Note that logs may incur a cost, especially if the deployed index receives + * a high volume of datapoint upserts. 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 string[] $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'). + * @type int $deployment_tier + * Optional. The deployment tier that the index is deployed to. + * DEPLOYMENT_TIER_UNSPECIFIED will use a system-chosen default tier. + * @type \Google\Cloud\AIPlatform\V1\PSCAutomationConfig[] $psc_automation_configs + * Optional. If set for PSC deployed index, PSC connection will be + * automatically created after deployment is done and the endpoint information + * is populated in private_endpoints.psc_automated_endpoints. + * } + */ + 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 true, logs to Cloud Logging errors relating to datapoint + * upserts. + * Under normal operation conditions, these log entries should be very rare. + * However, if incompatible datapoint updates are being uploaded to an index, + * a high volume of log entries may be generated in a short period of time. + * Note that logs may incur a cost, especially if the deployed index receives + * a high volume of datapoint upserts. Estimate your costs before enabling + * this option. + * + * Generated from protobuf field bool enable_datapoint_upsert_logging = 20 [(.google.api.field_behavior) = OPTIONAL]; + * @return bool + */ + public function getEnableDatapointUpsertLogging() + { + return $this->enable_datapoint_upsert_logging; + } + + /** + * Optional. If true, logs to Cloud Logging errors relating to datapoint + * upserts. + * Under normal operation conditions, these log entries should be very rare. + * However, if incompatible datapoint updates are being uploaded to an index, + * a high volume of log entries may be generated in a short period of time. + * Note that logs may incur a cost, especially if the deployed index receives + * a high volume of datapoint upserts. Estimate your costs before enabling + * this option. + * + * Generated from protobuf field bool enable_datapoint_upsert_logging = 20 [(.google.api.field_behavior) = OPTIONAL]; + * @param bool $var + * @return $this + */ + public function setEnableDatapointUpsertLogging($var) + { + GPBUtil::checkBool($var); + $this->enable_datapoint_upsert_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 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 string[] $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; + } + + /** + * Optional. The deployment tier that the index is deployed to. + * DEPLOYMENT_TIER_UNSPECIFIED will use a system-chosen default tier. + * + * Generated from protobuf field .google.cloud.aiplatform.v1.DeployedIndex.DeploymentTier deployment_tier = 18 [(.google.api.field_behavior) = OPTIONAL]; + * @return int + */ + public function getDeploymentTier() + { + return $this->deployment_tier; + } + + /** + * Optional. The deployment tier that the index is deployed to. + * DEPLOYMENT_TIER_UNSPECIFIED will use a system-chosen default tier. + * + * Generated from protobuf field .google.cloud.aiplatform.v1.DeployedIndex.DeploymentTier deployment_tier = 18 [(.google.api.field_behavior) = OPTIONAL]; + * @param int $var + * @return $this + */ + public function setDeploymentTier($var) + { + GPBUtil::checkEnum($var, \Google\Cloud\AIPlatform\V1\DeployedIndex\DeploymentTier::class); + $this->deployment_tier = $var; + + return $this; + } + + /** + * Optional. If set for PSC deployed index, PSC connection will be + * automatically created after deployment is done and the endpoint information + * is populated in private_endpoints.psc_automated_endpoints. + * + * Generated from protobuf field repeated .google.cloud.aiplatform.v1.PSCAutomationConfig psc_automation_configs = 19 [(.google.api.field_behavior) = OPTIONAL]; + * @return RepeatedField<\Google\Cloud\AIPlatform\V1\PSCAutomationConfig> + */ + public function getPscAutomationConfigs() + { + return $this->psc_automation_configs; + } + + /** + * Optional. If set for PSC deployed index, PSC connection will be + * automatically created after deployment is done and the endpoint information + * is populated in private_endpoints.psc_automated_endpoints. + * + * Generated from protobuf field repeated .google.cloud.aiplatform.v1.PSCAutomationConfig psc_automation_configs = 19 [(.google.api.field_behavior) = OPTIONAL]; + * @param \Google\Cloud\AIPlatform\V1\PSCAutomationConfig[] $var + * @return $this + */ + public function setPscAutomationConfigs($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\AIPlatform\V1\PSCAutomationConfig::class); + $this->psc_automation_configs = $arr; + + return $this; + } + +} + diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/DeployedIndex/DeploymentTier.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/DeployedIndex/DeploymentTier.php new file mode 100644 index 000000000000..63e03e310732 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/DeployedIndex/DeploymentTier.php @@ -0,0 +1,54 @@ +google.cloud.aiplatform.v1.DeployedIndex.DeploymentTier + */ +class DeploymentTier +{ + /** + * Default deployment tier. + * + * Generated from protobuf enum DEPLOYMENT_TIER_UNSPECIFIED = 0; + */ + const DEPLOYMENT_TIER_UNSPECIFIED = 0; + /** + * Optimized for costs. + * + * Generated from protobuf enum STORAGE = 2; + */ + const STORAGE = 2; + + private static $valueToName = [ + self::DEPLOYMENT_TIER_UNSPECIFIED => 'DEPLOYMENT_TIER_UNSPECIFIED', + self::STORAGE => 'STORAGE', + ]; + + 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/DeployedIndexAuthConfig.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/DeployedIndexAuthConfig.php new file mode 100644 index 000000000000..2006b25ac49c --- /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..99af5705ef9e --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/DeployedIndexAuthConfig/AuthProvider.php @@ -0,0 +1,123 @@ +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 string[] $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 string[] $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 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 string[] $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 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 string[] $var + * @return $this + */ + public function setAllowedIssuers($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING); + $this->allowed_issuers = $arr; + + return $this; + } + +} + 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..c9ec6288b47f --- /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..81a6c705bec8 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/DeployedModel.php @@ -0,0 +1,953 @@ +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 = ''; + /** + * 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.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; + /** + * Configuration for faster model deployment. + * + * Generated from protobuf field .google.cloud.aiplatform.v1.FasterDeploymentConfig faster_deployment_config = 23; + */ + protected $faster_deployment_config = null; + /** + * Output only. Runtime status of the deployed model. + * + * Generated from protobuf field .google.cloud.aiplatform.v1.DeployedModel.Status status = 26 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + protected $status = null; + /** + * System labels to apply to Model Garden deployments. + * System labels are managed by Google for internal use only. + * + * Generated from protobuf field map system_labels = 28; + */ + private $system_labels; + /** + * The checkpoint id of the model. + * + * Generated from protobuf field string checkpoint_id = 29; + */ + protected $checkpoint_id = ''; + /** + * Optional. Spec for configuring speculative decoding. + * + * Generated from protobuf field .google.cloud.aiplatform.v1.SpeculativeDecodingSpec speculative_decoding_spec = 30 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $speculative_decoding_spec = 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 + * 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. + * @type \Google\Cloud\AIPlatform\V1\FasterDeploymentConfig $faster_deployment_config + * Configuration for faster model deployment. + * @type \Google\Cloud\AIPlatform\V1\DeployedModel\Status $status + * Output only. Runtime status of the deployed model. + * @type array|\Google\Protobuf\Internal\MapField $system_labels + * System labels to apply to Model Garden deployments. + * System labels are managed by Google for internal use only. + * @type string $checkpoint_id + * The checkpoint id of the model. + * @type \Google\Cloud\AIPlatform\V1\SpeculativeDecodingSpec $speculative_decoding_spec + * Optional. Spec for configuring speculative decoding. + * } + */ + 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; + } + + /** + * 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.resource_reference) = { + * @return string + */ + public function getModel() + { + return $this->model; + } + + /** + * 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.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; + } + + /** + * Configuration for faster model deployment. + * + * Generated from protobuf field .google.cloud.aiplatform.v1.FasterDeploymentConfig faster_deployment_config = 23; + * @return \Google\Cloud\AIPlatform\V1\FasterDeploymentConfig|null + */ + public function getFasterDeploymentConfig() + { + return $this->faster_deployment_config; + } + + public function hasFasterDeploymentConfig() + { + return isset($this->faster_deployment_config); + } + + public function clearFasterDeploymentConfig() + { + unset($this->faster_deployment_config); + } + + /** + * Configuration for faster model deployment. + * + * Generated from protobuf field .google.cloud.aiplatform.v1.FasterDeploymentConfig faster_deployment_config = 23; + * @param \Google\Cloud\AIPlatform\V1\FasterDeploymentConfig $var + * @return $this + */ + public function setFasterDeploymentConfig($var) + { + GPBUtil::checkMessage($var, \Google\Cloud\AIPlatform\V1\FasterDeploymentConfig::class); + $this->faster_deployment_config = $var; + + return $this; + } + + /** + * Output only. Runtime status of the deployed model. + * + * Generated from protobuf field .google.cloud.aiplatform.v1.DeployedModel.Status status = 26 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return \Google\Cloud\AIPlatform\V1\DeployedModel\Status|null + */ + public function getStatus() + { + return $this->status; + } + + public function hasStatus() + { + return isset($this->status); + } + + public function clearStatus() + { + unset($this->status); + } + + /** + * Output only. Runtime status of the deployed model. + * + * Generated from protobuf field .google.cloud.aiplatform.v1.DeployedModel.Status status = 26 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @param \Google\Cloud\AIPlatform\V1\DeployedModel\Status $var + * @return $this + */ + public function setStatus($var) + { + GPBUtil::checkMessage($var, \Google\Cloud\AIPlatform\V1\DeployedModel\Status::class); + $this->status = $var; + + return $this; + } + + /** + * System labels to apply to Model Garden deployments. + * System labels are managed by Google for internal use only. + * + * Generated from protobuf field map system_labels = 28; + * @return \Google\Protobuf\Internal\MapField + */ + public function getSystemLabels() + { + return $this->system_labels; + } + + /** + * System labels to apply to Model Garden deployments. + * System labels are managed by Google for internal use only. + * + * Generated from protobuf field map system_labels = 28; + * @param array|\Google\Protobuf\Internal\MapField $var + * @return $this + */ + public function setSystemLabels($var) + { + $arr = GPBUtil::checkMapField($var, \Google\Protobuf\Internal\GPBType::STRING, \Google\Protobuf\Internal\GPBType::STRING); + $this->system_labels = $arr; + + return $this; + } + + /** + * The checkpoint id of the model. + * + * Generated from protobuf field string checkpoint_id = 29; + * @return string + */ + public function getCheckpointId() + { + return $this->checkpoint_id; + } + + /** + * The checkpoint id of the model. + * + * Generated from protobuf field string checkpoint_id = 29; + * @param string $var + * @return $this + */ + public function setCheckpointId($var) + { + GPBUtil::checkString($var, True); + $this->checkpoint_id = $var; + + return $this; + } + + /** + * Optional. Spec for configuring speculative decoding. + * + * Generated from protobuf field .google.cloud.aiplatform.v1.SpeculativeDecodingSpec speculative_decoding_spec = 30 [(.google.api.field_behavior) = OPTIONAL]; + * @return \Google\Cloud\AIPlatform\V1\SpeculativeDecodingSpec|null + */ + public function getSpeculativeDecodingSpec() + { + return $this->speculative_decoding_spec; + } + + public function hasSpeculativeDecodingSpec() + { + return isset($this->speculative_decoding_spec); + } + + public function clearSpeculativeDecodingSpec() + { + unset($this->speculative_decoding_spec); + } + + /** + * Optional. Spec for configuring speculative decoding. + * + * Generated from protobuf field .google.cloud.aiplatform.v1.SpeculativeDecodingSpec speculative_decoding_spec = 30 [(.google.api.field_behavior) = OPTIONAL]; + * @param \Google\Cloud\AIPlatform\V1\SpeculativeDecodingSpec $var + * @return $this + */ + public function setSpeculativeDecodingSpec($var) + { + GPBUtil::checkMessage($var, \Google\Cloud\AIPlatform\V1\SpeculativeDecodingSpec::class); + $this->speculative_decoding_spec = $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/DeployedModel/Status.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/DeployedModel/Status.php new file mode 100644 index 000000000000..0b4469d90ee2 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/DeployedModel/Status.php @@ -0,0 +1,145 @@ +google.cloud.aiplatform.v1.DeployedModel.Status + */ +class Status extends \Google\Protobuf\Internal\Message +{ + /** + * Output only. The latest deployed model's status message (if any). + * + * Generated from protobuf field string message = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + protected $message = ''; + /** + * Output only. The time at which the status was last updated. + * + * Generated from protobuf field .google.protobuf.Timestamp last_update_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + protected $last_update_time = null; + /** + * Output only. The number of available replicas of the deployed model. + * + * Generated from protobuf field int32 available_replica_count = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + protected $available_replica_count = 0; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $message + * Output only. The latest deployed model's status message (if any). + * @type \Google\Protobuf\Timestamp $last_update_time + * Output only. The time at which the status was last updated. + * @type int $available_replica_count + * Output only. The number of available replicas of the deployed model. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Cloud\Aiplatform\V1\Endpoint::initOnce(); + parent::__construct($data); + } + + /** + * Output only. The latest deployed model's status message (if any). + * + * Generated from protobuf field string message = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return string + */ + public function getMessage() + { + return $this->message; + } + + /** + * Output only. The latest deployed model's status message (if any). + * + * Generated from protobuf field string message = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @param string $var + * @return $this + */ + public function setMessage($var) + { + GPBUtil::checkString($var, True); + $this->message = $var; + + return $this; + } + + /** + * Output only. The time at which the status was last updated. + * + * Generated from protobuf field .google.protobuf.Timestamp last_update_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return \Google\Protobuf\Timestamp|null + */ + public function getLastUpdateTime() + { + return $this->last_update_time; + } + + public function hasLastUpdateTime() + { + return isset($this->last_update_time); + } + + public function clearLastUpdateTime() + { + unset($this->last_update_time); + } + + /** + * Output only. The time at which the status was last updated. + * + * Generated from protobuf field .google.protobuf.Timestamp last_update_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @param \Google\Protobuf\Timestamp $var + * @return $this + */ + public function setLastUpdateTime($var) + { + GPBUtil::checkMessage($var, \Google\Protobuf\Timestamp::class); + $this->last_update_time = $var; + + return $this; + } + + /** + * Output only. The number of available replicas of the deployed model. + * + * Generated from protobuf field int32 available_replica_count = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return int + */ + public function getAvailableReplicaCount() + { + return $this->available_replica_count; + } + + /** + * Output only. The number of available replicas of the deployed model. + * + * Generated from protobuf field int32 available_replica_count = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @param int $var + * @return $this + */ + public function setAvailableReplicaCount($var) + { + GPBUtil::checkInt32($var); + $this->available_replica_count = $var; + + return $this; + } + +} + 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..ff92209e3058 --- /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..649e840493ad --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/DeploymentResourcePool.php @@ -0,0 +1,396 @@ +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; + /** + * Output only. Reserved for future use. + * + * Generated from protobuf field bool satisfies_pzs = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + protected $satisfies_pzs = false; + /** + * Output only. Reserved for future use. + * + * Generated from protobuf field bool satisfies_pzi = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + protected $satisfies_pzi = false; + + /** + * 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. + * @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\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; + } + + /** + * Output only. Reserved for future use. + * + * Generated from protobuf field bool satisfies_pzs = 8 [(.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 = 8 [(.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 = 9 [(.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 = 9 [(.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/DeploymentStage.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/DeploymentStage.php new file mode 100644 index 000000000000..0de54d4e378c --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/DeploymentStage.php @@ -0,0 +1,117 @@ +google.cloud.aiplatform.v1.DeploymentStage + */ +class DeploymentStage +{ + /** + * Default value. This value is unused. + * + * Generated from protobuf enum DEPLOYMENT_STAGE_UNSPECIFIED = 0; + */ + const DEPLOYMENT_STAGE_UNSPECIFIED = 0; + /** + * The deployment is initializing and setting up the environment. + * + * Generated from protobuf enum STARTING_DEPLOYMENT = 5; + */ + const STARTING_DEPLOYMENT = 5; + /** + * The deployment is preparing the model assets. + * + * Generated from protobuf enum PREPARING_MODEL = 6; + */ + const PREPARING_MODEL = 6; + /** + * The deployment is creating the underlying serving cluster. + * + * Generated from protobuf enum CREATING_SERVING_CLUSTER = 7; + */ + const CREATING_SERVING_CLUSTER = 7; + /** + * The deployment is adding nodes to the serving cluster. + * + * Generated from protobuf enum ADDING_NODES_TO_CLUSTER = 8; + */ + const ADDING_NODES_TO_CLUSTER = 8; + /** + * The deployment is getting the container image for the model server. + * + * Generated from protobuf enum GETTING_CONTAINER_IMAGE = 9; + */ + const GETTING_CONTAINER_IMAGE = 9; + /** + * The deployment is starting the model server. + * + * Generated from protobuf enum STARTING_MODEL_SERVER = 3; + */ + const STARTING_MODEL_SERVER = 3; + /** + * The deployment is performing finalization steps. + * + * Generated from protobuf enum FINISHING_UP = 4; + */ + const FINISHING_UP = 4; + /** + * The deployment has terminated. + * + * Generated from protobuf enum DEPLOYMENT_TERMINATED = 10; + */ + const DEPLOYMENT_TERMINATED = 10; + /** + * The deployment has succeeded. + * + * Generated from protobuf enum SUCCESSFULLY_DEPLOYED = 11; + */ + const SUCCESSFULLY_DEPLOYED = 11; + /** + * The deployment has failed. + * + * Generated from protobuf enum FAILED_TO_DEPLOY = 12; + */ + const FAILED_TO_DEPLOY = 12; + + private static $valueToName = [ + self::DEPLOYMENT_STAGE_UNSPECIFIED => 'DEPLOYMENT_STAGE_UNSPECIFIED', + self::STARTING_DEPLOYMENT => 'STARTING_DEPLOYMENT', + self::PREPARING_MODEL => 'PREPARING_MODEL', + self::CREATING_SERVING_CLUSTER => 'CREATING_SERVING_CLUSTER', + self::ADDING_NODES_TO_CLUSTER => 'ADDING_NODES_TO_CLUSTER', + self::GETTING_CONTAINER_IMAGE => 'GETTING_CONTAINER_IMAGE', + self::STARTING_MODEL_SERVER => 'STARTING_MODEL_SERVER', + self::FINISHING_UP => 'FINISHING_UP', + self::DEPLOYMENT_TERMINATED => 'DEPLOYMENT_TERMINATED', + self::SUCCESSFULLY_DEPLOYED => 'SUCCESSFULLY_DEPLOYED', + self::FAILED_TO_DEPLOY => 'FAILED_TO_DEPLOY', + ]; + + 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/DestinationFeatureSetting.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/DestinationFeatureSetting.php new file mode 100644 index 000000000000..c12f36f86d3b --- /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..a83465d2d649 --- /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 \Google\Cloud\AIPlatform\V1\Tensor[] $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 RepeatedField<\Google\Cloud\AIPlatform\V1\Tensor> + */ + public function getInputs() + { + return $this->inputs; + } + + /** + * The prediction input. + * + * Generated from protobuf field repeated .google.cloud.aiplatform.v1.Tensor inputs = 2; + * @param \Google\Cloud\AIPlatform\V1\Tensor[] $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..08037c4383e5 --- /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 \Google\Cloud\AIPlatform\V1\Tensor[] $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 RepeatedField<\Google\Cloud\AIPlatform\V1\Tensor> + */ + public function getOutputs() + { + return $this->outputs; + } + + /** + * The prediction output. + * + * Generated from protobuf field repeated .google.cloud.aiplatform.v1.Tensor outputs = 1; + * @param \Google\Cloud\AIPlatform\V1\Tensor[] $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..8671e597d1ef --- /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..99ebc5d2f4e6 --- /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/DirectUploadSource.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/DirectUploadSource.php new file mode 100644 index 000000000000..7ab343384539 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/DirectUploadSource.php @@ -0,0 +1,33 @@ +google.cloud.aiplatform.v1.DirectUploadSource + */ +class DirectUploadSource 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\Io::initOnce(); + parent::__construct($data); + } + +} + 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..bee6938e0ac5 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/DiskSpec.php @@ -0,0 +1,113 @@ +google.cloud.aiplatform.v1.DiskSpec + */ +class DiskSpec extends \Google\Protobuf\Internal\Message +{ + /** + * Type of the boot disk. For non-A3U machines, the default value is + * "pd-ssd", for A3U machines, the default value is "hyperdisk-balanced". + * Valid values: "pd-ssd" (Persistent Disk Solid State Drive), + * "pd-standard" (Persistent Disk Hard Disk Drive) or "hyperdisk-balanced". + * + * 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. For non-A3U machines, the default value is + * "pd-ssd", for A3U machines, the default value is "hyperdisk-balanced". + * Valid values: "pd-ssd" (Persistent Disk Solid State Drive), + * "pd-standard" (Persistent Disk Hard Disk Drive) or "hyperdisk-balanced". + * @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. For non-A3U machines, the default value is + * "pd-ssd", for A3U machines, the default value is "hyperdisk-balanced". + * Valid values: "pd-ssd" (Persistent Disk Solid State Drive), + * "pd-standard" (Persistent Disk Hard Disk Drive) or "hyperdisk-balanced". + * + * Generated from protobuf field string boot_disk_type = 1; + * @return string + */ + public function getBootDiskType() + { + return $this->boot_disk_type; + } + + /** + * Type of the boot disk. For non-A3U machines, the default value is + * "pd-ssd", for A3U machines, the default value is "hyperdisk-balanced". + * Valid values: "pd-ssd" (Persistent Disk Solid State Drive), + * "pd-standard" (Persistent Disk Hard Disk Drive) or "hyperdisk-balanced". + * + * 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/DnsPeeringConfig.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/DnsPeeringConfig.php new file mode 100644 index 000000000000..716df534ac71 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/DnsPeeringConfig.php @@ -0,0 +1,158 @@ +google.cloud.aiplatform.v1.DnsPeeringConfig + */ +class DnsPeeringConfig extends \Google\Protobuf\Internal\Message +{ + /** + * Required. The DNS name suffix of the zone being peered to, e.g., + * "my-internal-domain.corp.". Must end with a dot. + * + * Generated from protobuf field string domain = 1 [(.google.api.field_behavior) = REQUIRED]; + */ + protected $domain = ''; + /** + * Required. The project ID hosting the Cloud DNS managed zone that + * contains the 'domain'. The Vertex AI Service Agent requires the + * dns.peer role on this project. + * + * Generated from protobuf field string target_project = 2 [(.google.api.field_behavior) = REQUIRED]; + */ + protected $target_project = ''; + /** + * Required. The VPC network name + * in the target_project where the DNS zone specified by 'domain' is + * visible. + * + * Generated from protobuf field string target_network = 3 [(.google.api.field_behavior) = REQUIRED]; + */ + protected $target_network = ''; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $domain + * Required. The DNS name suffix of the zone being peered to, e.g., + * "my-internal-domain.corp.". Must end with a dot. + * @type string $target_project + * Required. The project ID hosting the Cloud DNS managed zone that + * contains the 'domain'. The Vertex AI Service Agent requires the + * dns.peer role on this project. + * @type string $target_network + * Required. The VPC network name + * in the target_project where the DNS zone specified by 'domain' is + * visible. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Cloud\Aiplatform\V1\ServiceNetworking::initOnce(); + parent::__construct($data); + } + + /** + * Required. The DNS name suffix of the zone being peered to, e.g., + * "my-internal-domain.corp.". Must end with a dot. + * + * Generated from protobuf field string domain = 1 [(.google.api.field_behavior) = REQUIRED]; + * @return string + */ + public function getDomain() + { + return $this->domain; + } + + /** + * Required. The DNS name suffix of the zone being peered to, e.g., + * "my-internal-domain.corp.". Must end with a dot. + * + * Generated from protobuf field string domain = 1 [(.google.api.field_behavior) = REQUIRED]; + * @param string $var + * @return $this + */ + public function setDomain($var) + { + GPBUtil::checkString($var, True); + $this->domain = $var; + + return $this; + } + + /** + * Required. The project ID hosting the Cloud DNS managed zone that + * contains the 'domain'. The Vertex AI Service Agent requires the + * dns.peer role on this project. + * + * Generated from protobuf field string target_project = 2 [(.google.api.field_behavior) = REQUIRED]; + * @return string + */ + public function getTargetProject() + { + return $this->target_project; + } + + /** + * Required. The project ID hosting the Cloud DNS managed zone that + * contains the 'domain'. The Vertex AI Service Agent requires the + * dns.peer role on this project. + * + * Generated from protobuf field string target_project = 2 [(.google.api.field_behavior) = REQUIRED]; + * @param string $var + * @return $this + */ + public function setTargetProject($var) + { + GPBUtil::checkString($var, True); + $this->target_project = $var; + + return $this; + } + + /** + * Required. The VPC network name + * in the target_project where the DNS zone specified by 'domain' is + * visible. + * + * Generated from protobuf field string target_network = 3 [(.google.api.field_behavior) = REQUIRED]; + * @return string + */ + public function getTargetNetwork() + { + return $this->target_network; + } + + /** + * Required. The VPC network name + * in the target_project where the DNS zone specified by 'domain' is + * visible. + * + * Generated from protobuf field string target_network = 3 [(.google.api.field_behavior) = REQUIRED]; + * @param string $var + * @return $this + */ + public function setTargetNetwork($var) + { + GPBUtil::checkString($var, True); + $this->target_network = $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..bc6157c51405 --- /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 float[] $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 RepeatedField + */ + public function getValues() + { + return $this->values; + } + + /** + * A list of double values. + * + * Generated from protobuf field repeated double values = 1; + * @param float[] $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/DynamicRetrievalConfig.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/DynamicRetrievalConfig.php new file mode 100644 index 000000000000..60684b6b3863 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/DynamicRetrievalConfig.php @@ -0,0 +1,115 @@ +google.cloud.aiplatform.v1.DynamicRetrievalConfig + */ +class DynamicRetrievalConfig extends \Google\Protobuf\Internal\Message +{ + /** + * The mode of the predictor to be used in dynamic retrieval. + * + * Generated from protobuf field .google.cloud.aiplatform.v1.DynamicRetrievalConfig.Mode mode = 1; + */ + protected $mode = 0; + /** + * Optional. The threshold to be used in dynamic retrieval. + * If not set, a system default value is used. + * + * Generated from protobuf field optional float dynamic_threshold = 2 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $dynamic_threshold = null; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type int $mode + * The mode of the predictor to be used in dynamic retrieval. + * @type float $dynamic_threshold + * Optional. The threshold to be used in dynamic retrieval. + * If not set, a system default value is used. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Cloud\Aiplatform\V1\Tool::initOnce(); + parent::__construct($data); + } + + /** + * The mode of the predictor to be used in dynamic retrieval. + * + * Generated from protobuf field .google.cloud.aiplatform.v1.DynamicRetrievalConfig.Mode mode = 1; + * @return int + */ + public function getMode() + { + return $this->mode; + } + + /** + * The mode of the predictor to be used in dynamic retrieval. + * + * Generated from protobuf field .google.cloud.aiplatform.v1.DynamicRetrievalConfig.Mode mode = 1; + * @param int $var + * @return $this + */ + public function setMode($var) + { + GPBUtil::checkEnum($var, \Google\Cloud\AIPlatform\V1\DynamicRetrievalConfig\Mode::class); + $this->mode = $var; + + return $this; + } + + /** + * Optional. The threshold to be used in dynamic retrieval. + * If not set, a system default value is used. + * + * Generated from protobuf field optional float dynamic_threshold = 2 [(.google.api.field_behavior) = OPTIONAL]; + * @return float + */ + public function getDynamicThreshold() + { + return isset($this->dynamic_threshold) ? $this->dynamic_threshold : 0.0; + } + + public function hasDynamicThreshold() + { + return isset($this->dynamic_threshold); + } + + public function clearDynamicThreshold() + { + unset($this->dynamic_threshold); + } + + /** + * Optional. The threshold to be used in dynamic retrieval. + * If not set, a system default value is used. + * + * Generated from protobuf field optional float dynamic_threshold = 2 [(.google.api.field_behavior) = OPTIONAL]; + * @param float $var + * @return $this + */ + public function setDynamicThreshold($var) + { + GPBUtil::checkFloat($var); + $this->dynamic_threshold = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/DynamicRetrievalConfig/Mode.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/DynamicRetrievalConfig/Mode.php new file mode 100644 index 000000000000..4a7676d7c2b7 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/DynamicRetrievalConfig/Mode.php @@ -0,0 +1,54 @@ +google.cloud.aiplatform.v1.DynamicRetrievalConfig.Mode + */ +class Mode +{ + /** + * Always trigger retrieval. + * + * Generated from protobuf enum MODE_UNSPECIFIED = 0; + */ + const MODE_UNSPECIFIED = 0; + /** + * Run retrieval only when system decides it is necessary. + * + * Generated from protobuf enum MODE_DYNAMIC = 1; + */ + const MODE_DYNAMIC = 1; + + private static $valueToName = [ + self::MODE_UNSPECIFIED => 'MODE_UNSPECIFIED', + self::MODE_DYNAMIC => 'MODE_DYNAMIC', + ]; + + 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/EmbedContentRequest.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/EmbedContentRequest.php new file mode 100644 index 000000000000..8bdf7ad73e36 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/EmbedContentRequest.php @@ -0,0 +1,435 @@ +google.cloud.aiplatform.v1.EmbedContentRequest + */ +class EmbedContentRequest 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 optional string model = 1 [(.google.api.resource_reference) = { + */ + protected $model = null; + /** + * Required. Input content to be embedded. + * + * Generated from protobuf field optional .google.cloud.aiplatform.v1.Content content = 2; + */ + protected $content = null; + /** + * Optional. Deprecated: Please use EmbedContentConfig.title instead. + * The title for the text. + * + * Generated from protobuf field optional string title = 4 [deprecated = true, (.google.api.field_behavior) = OPTIONAL]; + * @deprecated + */ + protected $title = null; + /** + * Optional. Deprecated: Please use EmbedContentConfig.task_type instead. + * The task type of the embedding. + * + * Generated from protobuf field optional .google.cloud.aiplatform.v1.EmbedContentRequest.EmbeddingTaskType task_type = 5 [deprecated = true, (.google.api.field_behavior) = OPTIONAL]; + * @deprecated + */ + protected $task_type = null; + /** + * Optional. Deprecated: Please use EmbedContentConfig.output_dimensionality + * instead. Reduced dimension for the output embedding. If set, excessive + * values in the output embedding are truncated from the end. + * + * Generated from protobuf field optional int32 output_dimensionality = 6 [deprecated = true, (.google.api.field_behavior) = OPTIONAL]; + * @deprecated + */ + protected $output_dimensionality = null; + /** + * Optional. Deprecated: Please use EmbedContentConfig.auto_truncate instead. + * Whether to silently truncate the input content if it's longer + * than the maximum sequence length. + * + * Generated from protobuf field optional bool auto_truncate = 7 [deprecated = true, (.google.api.field_behavior) = OPTIONAL]; + * @deprecated + */ + protected $auto_truncate = null; + /** + * Optional. Configuration for the EmbedContent request. + * + * Generated from protobuf field optional .google.cloud.aiplatform.v1.EmbedContentRequest.EmbedContentConfig embed_content_config = 8 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $embed_content_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 $content Required. Input content to be embedded. + * + * @return \Google\Cloud\AIPlatform\V1\EmbedContentRequest + * + * @experimental + */ + public static function build(string $model, \Google\Cloud\AIPlatform\V1\Content $content): self + { + return (new self()) + ->setModel($model) + ->setContent($content); + } + + /** + * 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 \Google\Cloud\AIPlatform\V1\Content $content + * Required. Input content to be embedded. + * @type string $title + * Optional. Deprecated: Please use EmbedContentConfig.title instead. + * The title for the text. + * @type int $task_type + * Optional. Deprecated: Please use EmbedContentConfig.task_type instead. + * The task type of the embedding. + * @type int $output_dimensionality + * Optional. Deprecated: Please use EmbedContentConfig.output_dimensionality + * instead. Reduced dimension for the output embedding. If set, excessive + * values in the output embedding are truncated from the end. + * @type bool $auto_truncate + * Optional. Deprecated: Please use EmbedContentConfig.auto_truncate instead. + * Whether to silently truncate the input content if it's longer + * than the maximum sequence length. + * @type \Google\Cloud\AIPlatform\V1\EmbedContentRequest\EmbedContentConfig $embed_content_config + * Optional. Configuration for the EmbedContent request. + * } + */ + 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 optional string model = 1 [(.google.api.resource_reference) = { + * @return string + */ + public function getModel() + { + return isset($this->model) ? $this->model : ''; + } + + public function hasModel() + { + return isset($this->model); + } + + public function clearModel() + { + unset($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 optional 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; + } + + /** + * Required. Input content to be embedded. + * + * Generated from protobuf field optional .google.cloud.aiplatform.v1.Content content = 2; + * @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); + } + + /** + * Required. Input content to be embedded. + * + * Generated from protobuf field optional .google.cloud.aiplatform.v1.Content content = 2; + * @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; + } + + /** + * Optional. Deprecated: Please use EmbedContentConfig.title instead. + * The title for the text. + * + * Generated from protobuf field optional string title = 4 [deprecated = true, (.google.api.field_behavior) = OPTIONAL]; + * @return string + * @deprecated + */ + public function getTitle() + { + if (isset($this->title)) { + @trigger_error('title is deprecated.', E_USER_DEPRECATED); + } + return isset($this->title) ? $this->title : ''; + } + + public function hasTitle() + { + if (isset($this->title)) { + @trigger_error('title is deprecated.', E_USER_DEPRECATED); + } + return isset($this->title); + } + + public function clearTitle() + { + @trigger_error('title is deprecated.', E_USER_DEPRECATED); + unset($this->title); + } + + /** + * Optional. Deprecated: Please use EmbedContentConfig.title instead. + * The title for the text. + * + * Generated from protobuf field optional string title = 4 [deprecated = true, (.google.api.field_behavior) = OPTIONAL]; + * @param string $var + * @return $this + * @deprecated + */ + public function setTitle($var) + { + @trigger_error('title is deprecated.', E_USER_DEPRECATED); + GPBUtil::checkString($var, True); + $this->title = $var; + + return $this; + } + + /** + * Optional. Deprecated: Please use EmbedContentConfig.task_type instead. + * The task type of the embedding. + * + * Generated from protobuf field optional .google.cloud.aiplatform.v1.EmbedContentRequest.EmbeddingTaskType task_type = 5 [deprecated = true, (.google.api.field_behavior) = OPTIONAL]; + * @return int + * @deprecated + */ + public function getTaskType() + { + if (isset($this->task_type)) { + @trigger_error('task_type is deprecated.', E_USER_DEPRECATED); + } + return isset($this->task_type) ? $this->task_type : 0; + } + + public function hasTaskType() + { + if (isset($this->task_type)) { + @trigger_error('task_type is deprecated.', E_USER_DEPRECATED); + } + return isset($this->task_type); + } + + public function clearTaskType() + { + @trigger_error('task_type is deprecated.', E_USER_DEPRECATED); + unset($this->task_type); + } + + /** + * Optional. Deprecated: Please use EmbedContentConfig.task_type instead. + * The task type of the embedding. + * + * Generated from protobuf field optional .google.cloud.aiplatform.v1.EmbedContentRequest.EmbeddingTaskType task_type = 5 [deprecated = true, (.google.api.field_behavior) = OPTIONAL]; + * @param int $var + * @return $this + * @deprecated + */ + public function setTaskType($var) + { + @trigger_error('task_type is deprecated.', E_USER_DEPRECATED); + GPBUtil::checkEnum($var, \Google\Cloud\AIPlatform\V1\EmbedContentRequest\EmbeddingTaskType::class); + $this->task_type = $var; + + return $this; + } + + /** + * Optional. Deprecated: Please use EmbedContentConfig.output_dimensionality + * instead. Reduced dimension for the output embedding. If set, excessive + * values in the output embedding are truncated from the end. + * + * Generated from protobuf field optional int32 output_dimensionality = 6 [deprecated = true, (.google.api.field_behavior) = OPTIONAL]; + * @return int + * @deprecated + */ + public function getOutputDimensionality() + { + if (isset($this->output_dimensionality)) { + @trigger_error('output_dimensionality is deprecated.', E_USER_DEPRECATED); + } + return isset($this->output_dimensionality) ? $this->output_dimensionality : 0; + } + + public function hasOutputDimensionality() + { + if (isset($this->output_dimensionality)) { + @trigger_error('output_dimensionality is deprecated.', E_USER_DEPRECATED); + } + return isset($this->output_dimensionality); + } + + public function clearOutputDimensionality() + { + @trigger_error('output_dimensionality is deprecated.', E_USER_DEPRECATED); + unset($this->output_dimensionality); + } + + /** + * Optional. Deprecated: Please use EmbedContentConfig.output_dimensionality + * instead. Reduced dimension for the output embedding. If set, excessive + * values in the output embedding are truncated from the end. + * + * Generated from protobuf field optional int32 output_dimensionality = 6 [deprecated = true, (.google.api.field_behavior) = OPTIONAL]; + * @param int $var + * @return $this + * @deprecated + */ + public function setOutputDimensionality($var) + { + @trigger_error('output_dimensionality is deprecated.', E_USER_DEPRECATED); + GPBUtil::checkInt32($var); + $this->output_dimensionality = $var; + + return $this; + } + + /** + * Optional. Deprecated: Please use EmbedContentConfig.auto_truncate instead. + * Whether to silently truncate the input content if it's longer + * than the maximum sequence length. + * + * Generated from protobuf field optional bool auto_truncate = 7 [deprecated = true, (.google.api.field_behavior) = OPTIONAL]; + * @return bool + * @deprecated + */ + public function getAutoTruncate() + { + if (isset($this->auto_truncate)) { + @trigger_error('auto_truncate is deprecated.', E_USER_DEPRECATED); + } + return isset($this->auto_truncate) ? $this->auto_truncate : false; + } + + public function hasAutoTruncate() + { + if (isset($this->auto_truncate)) { + @trigger_error('auto_truncate is deprecated.', E_USER_DEPRECATED); + } + return isset($this->auto_truncate); + } + + public function clearAutoTruncate() + { + @trigger_error('auto_truncate is deprecated.', E_USER_DEPRECATED); + unset($this->auto_truncate); + } + + /** + * Optional. Deprecated: Please use EmbedContentConfig.auto_truncate instead. + * Whether to silently truncate the input content if it's longer + * than the maximum sequence length. + * + * Generated from protobuf field optional bool auto_truncate = 7 [deprecated = true, (.google.api.field_behavior) = OPTIONAL]; + * @param bool $var + * @return $this + * @deprecated + */ + public function setAutoTruncate($var) + { + @trigger_error('auto_truncate is deprecated.', E_USER_DEPRECATED); + GPBUtil::checkBool($var); + $this->auto_truncate = $var; + + return $this; + } + + /** + * Optional. Configuration for the EmbedContent request. + * + * Generated from protobuf field optional .google.cloud.aiplatform.v1.EmbedContentRequest.EmbedContentConfig embed_content_config = 8 [(.google.api.field_behavior) = OPTIONAL]; + * @return \Google\Cloud\AIPlatform\V1\EmbedContentRequest\EmbedContentConfig|null + */ + public function getEmbedContentConfig() + { + return $this->embed_content_config; + } + + public function hasEmbedContentConfig() + { + return isset($this->embed_content_config); + } + + public function clearEmbedContentConfig() + { + unset($this->embed_content_config); + } + + /** + * Optional. Configuration for the EmbedContent request. + * + * Generated from protobuf field optional .google.cloud.aiplatform.v1.EmbedContentRequest.EmbedContentConfig embed_content_config = 8 [(.google.api.field_behavior) = OPTIONAL]; + * @param \Google\Cloud\AIPlatform\V1\EmbedContentRequest\EmbedContentConfig $var + * @return $this + */ + public function setEmbedContentConfig($var) + { + GPBUtil::checkMessage($var, \Google\Cloud\AIPlatform\V1\EmbedContentRequest\EmbedContentConfig::class); + $this->embed_content_config = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/EmbedContentRequest/EmbedContentConfig.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/EmbedContentRequest/EmbedContentConfig.php new file mode 100644 index 000000000000..0a4f4b844334 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/EmbedContentRequest/EmbedContentConfig.php @@ -0,0 +1,317 @@ +google.cloud.aiplatform.v1.EmbedContentRequest.EmbedContentConfig + */ +class EmbedContentConfig extends \Google\Protobuf\Internal\Message +{ + /** + * Optional. The title for the text. + * Only applicable to text-only embedding models. + * + * Generated from protobuf field optional string title = 1 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $title = null; + /** + * Optional. The task type of the embedding. + * Only applicable to text-only embedding models. + * + * Generated from protobuf field optional .google.cloud.aiplatform.v1.EmbedContentRequest.EmbeddingTaskType task_type = 2 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $task_type = null; + /** + * Optional. Whether to silently truncate the input content if it's longer + * than the maximum sequence length. + * Only applicable to text-only embedding models. + * + * Generated from protobuf field optional bool auto_truncate = 3 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $auto_truncate = null; + /** + * Optional. Reduced dimension for the output embedding. If set, excessive + * values in the output embedding are truncated from the end. + * + * Generated from protobuf field optional int32 output_dimensionality = 4 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $output_dimensionality = null; + /** + * Optional. Whether to enable OCR for document content. + * + * Generated from protobuf field optional bool document_ocr = 5 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $document_ocr = null; + /** + * Optional. Whether to extract audio from video content. + * + * Generated from protobuf field optional bool audio_track_extraction = 6 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $audio_track_extraction = null; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $title + * Optional. The title for the text. + * Only applicable to text-only embedding models. + * @type int $task_type + * Optional. The task type of the embedding. + * Only applicable to text-only embedding models. + * @type bool $auto_truncate + * Optional. Whether to silently truncate the input content if it's longer + * than the maximum sequence length. + * Only applicable to text-only embedding models. + * @type int $output_dimensionality + * Optional. Reduced dimension for the output embedding. If set, excessive + * values in the output embedding are truncated from the end. + * @type bool $document_ocr + * Optional. Whether to enable OCR for document content. + * @type bool $audio_track_extraction + * Optional. Whether to extract audio from video content. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Cloud\Aiplatform\V1\PredictionService::initOnce(); + parent::__construct($data); + } + + /** + * Optional. The title for the text. + * Only applicable to text-only embedding models. + * + * Generated from protobuf field optional string title = 1 [(.google.api.field_behavior) = OPTIONAL]; + * @return string + */ + public function getTitle() + { + return isset($this->title) ? $this->title : ''; + } + + public function hasTitle() + { + return isset($this->title); + } + + public function clearTitle() + { + unset($this->title); + } + + /** + * Optional. The title for the text. + * Only applicable to text-only embedding models. + * + * Generated from protobuf field optional string title = 1 [(.google.api.field_behavior) = OPTIONAL]; + * @param string $var + * @return $this + */ + public function setTitle($var) + { + GPBUtil::checkString($var, True); + $this->title = $var; + + return $this; + } + + /** + * Optional. The task type of the embedding. + * Only applicable to text-only embedding models. + * + * Generated from protobuf field optional .google.cloud.aiplatform.v1.EmbedContentRequest.EmbeddingTaskType task_type = 2 [(.google.api.field_behavior) = OPTIONAL]; + * @return int + */ + public function getTaskType() + { + return isset($this->task_type) ? $this->task_type : 0; + } + + public function hasTaskType() + { + return isset($this->task_type); + } + + public function clearTaskType() + { + unset($this->task_type); + } + + /** + * Optional. The task type of the embedding. + * Only applicable to text-only embedding models. + * + * Generated from protobuf field optional .google.cloud.aiplatform.v1.EmbedContentRequest.EmbeddingTaskType task_type = 2 [(.google.api.field_behavior) = OPTIONAL]; + * @param int $var + * @return $this + */ + public function setTaskType($var) + { + GPBUtil::checkEnum($var, \Google\Cloud\AIPlatform\V1\EmbedContentRequest\EmbeddingTaskType::class); + $this->task_type = $var; + + return $this; + } + + /** + * Optional. Whether to silently truncate the input content if it's longer + * than the maximum sequence length. + * Only applicable to text-only embedding models. + * + * Generated from protobuf field optional bool auto_truncate = 3 [(.google.api.field_behavior) = OPTIONAL]; + * @return bool + */ + public function getAutoTruncate() + { + return isset($this->auto_truncate) ? $this->auto_truncate : false; + } + + public function hasAutoTruncate() + { + return isset($this->auto_truncate); + } + + public function clearAutoTruncate() + { + unset($this->auto_truncate); + } + + /** + * Optional. Whether to silently truncate the input content if it's longer + * than the maximum sequence length. + * Only applicable to text-only embedding models. + * + * Generated from protobuf field optional bool auto_truncate = 3 [(.google.api.field_behavior) = OPTIONAL]; + * @param bool $var + * @return $this + */ + public function setAutoTruncate($var) + { + GPBUtil::checkBool($var); + $this->auto_truncate = $var; + + return $this; + } + + /** + * Optional. Reduced dimension for the output embedding. If set, excessive + * values in the output embedding are truncated from the end. + * + * Generated from protobuf field optional int32 output_dimensionality = 4 [(.google.api.field_behavior) = OPTIONAL]; + * @return int + */ + public function getOutputDimensionality() + { + return isset($this->output_dimensionality) ? $this->output_dimensionality : 0; + } + + public function hasOutputDimensionality() + { + return isset($this->output_dimensionality); + } + + public function clearOutputDimensionality() + { + unset($this->output_dimensionality); + } + + /** + * Optional. Reduced dimension for the output embedding. If set, excessive + * values in the output embedding are truncated from the end. + * + * Generated from protobuf field optional int32 output_dimensionality = 4 [(.google.api.field_behavior) = OPTIONAL]; + * @param int $var + * @return $this + */ + public function setOutputDimensionality($var) + { + GPBUtil::checkInt32($var); + $this->output_dimensionality = $var; + + return $this; + } + + /** + * Optional. Whether to enable OCR for document content. + * + * Generated from protobuf field optional bool document_ocr = 5 [(.google.api.field_behavior) = OPTIONAL]; + * @return bool + */ + public function getDocumentOcr() + { + return isset($this->document_ocr) ? $this->document_ocr : false; + } + + public function hasDocumentOcr() + { + return isset($this->document_ocr); + } + + public function clearDocumentOcr() + { + unset($this->document_ocr); + } + + /** + * Optional. Whether to enable OCR for document content. + * + * Generated from protobuf field optional bool document_ocr = 5 [(.google.api.field_behavior) = OPTIONAL]; + * @param bool $var + * @return $this + */ + public function setDocumentOcr($var) + { + GPBUtil::checkBool($var); + $this->document_ocr = $var; + + return $this; + } + + /** + * Optional. Whether to extract audio from video content. + * + * Generated from protobuf field optional bool audio_track_extraction = 6 [(.google.api.field_behavior) = OPTIONAL]; + * @return bool + */ + public function getAudioTrackExtraction() + { + return isset($this->audio_track_extraction) ? $this->audio_track_extraction : false; + } + + public function hasAudioTrackExtraction() + { + return isset($this->audio_track_extraction); + } + + public function clearAudioTrackExtraction() + { + unset($this->audio_track_extraction); + } + + /** + * Optional. Whether to extract audio from video content. + * + * Generated from protobuf field optional bool audio_track_extraction = 6 [(.google.api.field_behavior) = OPTIONAL]; + * @param bool $var + * @return $this + */ + public function setAudioTrackExtraction($var) + { + GPBUtil::checkBool($var); + $this->audio_track_extraction = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/EmbedContentRequest/EmbeddingTaskType.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/EmbedContentRequest/EmbeddingTaskType.php new file mode 100644 index 000000000000..7906389f62e3 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/EmbedContentRequest/EmbeddingTaskType.php @@ -0,0 +1,103 @@ +google.cloud.aiplatform.v1.EmbedContentRequest.EmbeddingTaskType + */ +class EmbeddingTaskType +{ + /** + * Unset value, which will default to one of the other enum values. + * + * Generated from protobuf enum UNSPECIFIED = 0; + */ + const UNSPECIFIED = 0; + /** + * Specifies the given text is a query in a search/retrieval setting. + * + * Generated from protobuf enum RETRIEVAL_QUERY = 2; + */ + const RETRIEVAL_QUERY = 2; + /** + * Specifies the given text is a document from the corpus being searched. + * + * Generated from protobuf enum RETRIEVAL_DOCUMENT = 3; + */ + const RETRIEVAL_DOCUMENT = 3; + /** + * Specifies the given text will be used for STS. + * + * Generated from protobuf enum SEMANTIC_SIMILARITY = 4; + */ + const SEMANTIC_SIMILARITY = 4; + /** + * Specifies that the given text will be classified. + * + * Generated from protobuf enum CLASSIFICATION = 5; + */ + const CLASSIFICATION = 5; + /** + * Specifies that the embeddings will be used for clustering. + * + * Generated from protobuf enum CLUSTERING = 6; + */ + const CLUSTERING = 6; + /** + * Specifies that the embeddings will be used for question answering. + * + * Generated from protobuf enum QUESTION_ANSWERING = 7; + */ + const QUESTION_ANSWERING = 7; + /** + * Specifies that the embeddings will be used for fact verification. + * + * Generated from protobuf enum FACT_VERIFICATION = 8; + */ + const FACT_VERIFICATION = 8; + /** + * Specifies that the embeddings will be used for code retrieval. + * + * Generated from protobuf enum CODE_RETRIEVAL_QUERY = 9; + */ + const CODE_RETRIEVAL_QUERY = 9; + + private static $valueToName = [ + self::UNSPECIFIED => 'UNSPECIFIED', + self::RETRIEVAL_QUERY => 'RETRIEVAL_QUERY', + self::RETRIEVAL_DOCUMENT => 'RETRIEVAL_DOCUMENT', + self::SEMANTIC_SIMILARITY => 'SEMANTIC_SIMILARITY', + self::CLASSIFICATION => 'CLASSIFICATION', + self::CLUSTERING => 'CLUSTERING', + self::QUESTION_ANSWERING => 'QUESTION_ANSWERING', + self::FACT_VERIFICATION => 'FACT_VERIFICATION', + self::CODE_RETRIEVAL_QUERY => 'CODE_RETRIEVAL_QUERY', + ]; + + 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/EmbedContentResponse.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/EmbedContentResponse.php new file mode 100644 index 000000000000..8fc0e3be4431 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/EmbedContentResponse.php @@ -0,0 +1,156 @@ +google.cloud.aiplatform.v1.EmbedContentResponse + */ +class EmbedContentResponse extends \Google\Protobuf\Internal\Message +{ + /** + * The embedding generated from the input content. + * + * Generated from protobuf field .google.cloud.aiplatform.v1.EmbedContentResponse.Embedding embedding = 1; + */ + protected $embedding = null; + /** + * Usage metadata about the response(s). + * + * Generated from protobuf field .google.cloud.aiplatform.v1.UsageMetadata usage_metadata = 2; + */ + protected $usage_metadata = null; + /** + * Whether the input content was truncated before generating the embedding. + * + * Generated from protobuf field bool truncated = 4; + */ + protected $truncated = false; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type \Google\Cloud\AIPlatform\V1\EmbedContentResponse\Embedding $embedding + * The embedding generated from the input content. + * @type \Google\Cloud\AIPlatform\V1\UsageMetadata $usage_metadata + * Usage metadata about the response(s). + * @type bool $truncated + * Whether the input content was truncated before generating the embedding. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Cloud\Aiplatform\V1\PredictionService::initOnce(); + parent::__construct($data); + } + + /** + * The embedding generated from the input content. + * + * Generated from protobuf field .google.cloud.aiplatform.v1.EmbedContentResponse.Embedding embedding = 1; + * @return \Google\Cloud\AIPlatform\V1\EmbedContentResponse\Embedding|null + */ + public function getEmbedding() + { + return $this->embedding; + } + + public function hasEmbedding() + { + return isset($this->embedding); + } + + public function clearEmbedding() + { + unset($this->embedding); + } + + /** + * The embedding generated from the input content. + * + * Generated from protobuf field .google.cloud.aiplatform.v1.EmbedContentResponse.Embedding embedding = 1; + * @param \Google\Cloud\AIPlatform\V1\EmbedContentResponse\Embedding $var + * @return $this + */ + public function setEmbedding($var) + { + GPBUtil::checkMessage($var, \Google\Cloud\AIPlatform\V1\EmbedContentResponse\Embedding::class); + $this->embedding = $var; + + return $this; + } + + /** + * Usage metadata about the response(s). + * + * Generated from protobuf field .google.cloud.aiplatform.v1.UsageMetadata usage_metadata = 2; + * @return \Google\Cloud\AIPlatform\V1\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.UsageMetadata usage_metadata = 2; + * @param \Google\Cloud\AIPlatform\V1\UsageMetadata $var + * @return $this + */ + public function setUsageMetadata($var) + { + GPBUtil::checkMessage($var, \Google\Cloud\AIPlatform\V1\UsageMetadata::class); + $this->usage_metadata = $var; + + return $this; + } + + /** + * Whether the input content was truncated before generating the embedding. + * + * Generated from protobuf field bool truncated = 4; + * @return bool + */ + public function getTruncated() + { + return $this->truncated; + } + + /** + * Whether the input content was truncated before generating the embedding. + * + * Generated from protobuf field bool truncated = 4; + * @param bool $var + * @return $this + */ + public function setTruncated($var) + { + GPBUtil::checkBool($var); + $this->truncated = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/EmbedContentResponse/Embedding.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/EmbedContentResponse/Embedding.php new file mode 100644 index 000000000000..b8773d8c5391 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/EmbedContentResponse/Embedding.php @@ -0,0 +1,67 @@ +google.cloud.aiplatform.v1.EmbedContentResponse.Embedding + */ +class Embedding extends \Google\Protobuf\Internal\Message +{ + /** + * Embedding vector values. + * + * Generated from protobuf field repeated float values = 1; + */ + private $values; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type float[] $values + * Embedding vector values. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Cloud\Aiplatform\V1\PredictionService::initOnce(); + parent::__construct($data); + } + + /** + * Embedding vector values. + * + * Generated from protobuf field repeated float values = 1; + * @return RepeatedField + */ + public function getValues() + { + return $this->values; + } + + /** + * Embedding vector values. + * + * Generated from protobuf field repeated float values = 1; + * @param float[] $var + * @return $this + */ + public function setValues($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::FLOAT); + $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..c43b0614b032 --- /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..21b08e0b7e94 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/Endpoint.php @@ -0,0 +1,1075 @@ +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. Depending on the features enabled, uid + * might be a random number or a string. For example, if fast_tryout is + * enabled, uid will be fasttryout. Format: + * `https://{endpoint_id}.{region}-{uid}.prediction.vertexai.goog`. + * + * Generated from protobuf field string dedicated_endpoint_dns = 25 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + protected $dedicated_endpoint_dns = ''; + /** + * Configurations that are applied to the endpoint for online prediction. + * + * Generated from protobuf field .google.cloud.aiplatform.v1.ClientConnectionConfig client_connection_config = 23; + */ + protected $client_connection_config = null; + /** + * 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; + /** + * Optional. Configuration for GenAiAdvancedFeatures. If the endpoint is + * serving GenAI models, advanced features like native RAG integration can be + * configured. Currently, only Model Garden models are supported. + * + * Generated from protobuf field .google.cloud.aiplatform.v1.GenAiAdvancedFeaturesConfig gen_ai_advanced_features_config = 29 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $gen_ai_advanced_features_config = null; + /** + * If true, the model server will be isolated from the external internet. + * + * Generated from protobuf field bool private_model_server_enabled = 30; + */ + protected $private_model_server_enabled = 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 \Google\Cloud\AIPlatform\V1\DeployedModel[] $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. Depending on the features enabled, uid + * might be a random number or a string. For example, if fast_tryout is + * enabled, uid will be fasttryout. Format: + * `https://{endpoint_id}.{region}-{uid}.prediction.vertexai.goog`. + * @type \Google\Cloud\AIPlatform\V1\ClientConnectionConfig $client_connection_config + * Configurations that are applied to the endpoint for online prediction. + * @type bool $satisfies_pzs + * Output only. Reserved for future use. + * @type bool $satisfies_pzi + * Output only. Reserved for future use. + * @type \Google\Cloud\AIPlatform\V1\GenAiAdvancedFeaturesConfig $gen_ai_advanced_features_config + * Optional. Configuration for GenAiAdvancedFeatures. If the endpoint is + * serving GenAI models, advanced features like native RAG integration can be + * configured. Currently, only Model Garden models are supported. + * @type bool $private_model_server_enabled + * If true, the model server will be isolated from the external internet. + * } + */ + 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 RepeatedField<\Google\Cloud\AIPlatform\V1\DeployedModel> + */ + 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 \Google\Cloud\AIPlatform\V1\DeployedModel[] $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() + { + if ($this->enable_private_service_connect !== false) { + @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. Depending on the features enabled, uid + * might be a random number or a string. For example, if fast_tryout is + * enabled, uid will be fasttryout. Format: + * `https://{endpoint_id}.{region}-{uid}.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. Depending on the features enabled, uid + * might be a random number or a string. For example, if fast_tryout is + * enabled, uid will be fasttryout. Format: + * `https://{endpoint_id}.{region}-{uid}.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; + } + + /** + * Configurations that are applied to the endpoint for online prediction. + * + * Generated from protobuf field .google.cloud.aiplatform.v1.ClientConnectionConfig client_connection_config = 23; + * @return \Google\Cloud\AIPlatform\V1\ClientConnectionConfig|null + */ + public function getClientConnectionConfig() + { + return $this->client_connection_config; + } + + public function hasClientConnectionConfig() + { + return isset($this->client_connection_config); + } + + public function clearClientConnectionConfig() + { + unset($this->client_connection_config); + } + + /** + * Configurations that are applied to the endpoint for online prediction. + * + * Generated from protobuf field .google.cloud.aiplatform.v1.ClientConnectionConfig client_connection_config = 23; + * @param \Google\Cloud\AIPlatform\V1\ClientConnectionConfig $var + * @return $this + */ + public function setClientConnectionConfig($var) + { + GPBUtil::checkMessage($var, \Google\Cloud\AIPlatform\V1\ClientConnectionConfig::class); + $this->client_connection_config = $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; + } + + /** + * Optional. Configuration for GenAiAdvancedFeatures. If the endpoint is + * serving GenAI models, advanced features like native RAG integration can be + * configured. Currently, only Model Garden models are supported. + * + * Generated from protobuf field .google.cloud.aiplatform.v1.GenAiAdvancedFeaturesConfig gen_ai_advanced_features_config = 29 [(.google.api.field_behavior) = OPTIONAL]; + * @return \Google\Cloud\AIPlatform\V1\GenAiAdvancedFeaturesConfig|null + */ + public function getGenAiAdvancedFeaturesConfig() + { + return $this->gen_ai_advanced_features_config; + } + + public function hasGenAiAdvancedFeaturesConfig() + { + return isset($this->gen_ai_advanced_features_config); + } + + public function clearGenAiAdvancedFeaturesConfig() + { + unset($this->gen_ai_advanced_features_config); + } + + /** + * Optional. Configuration for GenAiAdvancedFeatures. If the endpoint is + * serving GenAI models, advanced features like native RAG integration can be + * configured. Currently, only Model Garden models are supported. + * + * Generated from protobuf field .google.cloud.aiplatform.v1.GenAiAdvancedFeaturesConfig gen_ai_advanced_features_config = 29 [(.google.api.field_behavior) = OPTIONAL]; + * @param \Google\Cloud\AIPlatform\V1\GenAiAdvancedFeaturesConfig $var + * @return $this + */ + public function setGenAiAdvancedFeaturesConfig($var) + { + GPBUtil::checkMessage($var, \Google\Cloud\AIPlatform\V1\GenAiAdvancedFeaturesConfig::class); + $this->gen_ai_advanced_features_config = $var; + + return $this; + } + + /** + * If true, the model server will be isolated from the external internet. + * + * Generated from protobuf field bool private_model_server_enabled = 30; + * @return bool + */ + public function getPrivateModelServerEnabled() + { + return $this->private_model_server_enabled; + } + + /** + * If true, the model server will be isolated from the external internet. + * + * Generated from protobuf field bool private_model_server_enabled = 30; + * @param bool $var + * @return $this + */ + public function setPrivateModelServerEnabled($var) + { + GPBUtil::checkBool($var); + $this->private_model_server_enabled = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/EnterpriseWebSearch.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/EnterpriseWebSearch.php new file mode 100644 index 000000000000..327c323f8ff9 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/EnterpriseWebSearch.php @@ -0,0 +1,120 @@ +google.cloud.aiplatform.v1.EnterpriseWebSearch + */ +class EnterpriseWebSearch extends \Google\Protobuf\Internal\Message +{ + /** + * Optional. List of domains to be excluded from the search results. + * The default limit is 2000 domains. + * + * Generated from protobuf field repeated string exclude_domains = 1 [(.google.api.field_behavior) = OPTIONAL]; + */ + private $exclude_domains; + /** + * Optional. Sites with confidence level chosen & above this value will be + * blocked from the search results. + * + * Generated from protobuf field optional .google.cloud.aiplatform.v1.Tool.PhishBlockThreshold blocking_confidence = 2 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $blocking_confidence = null; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string[] $exclude_domains + * Optional. List of domains to be excluded from the search results. + * The default limit is 2000 domains. + * @type int $blocking_confidence + * Optional. Sites with confidence level chosen & above this value will be + * blocked from the search results. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Cloud\Aiplatform\V1\Tool::initOnce(); + parent::__construct($data); + } + + /** + * Optional. List of domains to be excluded from the search results. + * The default limit is 2000 domains. + * + * Generated from protobuf field repeated string exclude_domains = 1 [(.google.api.field_behavior) = OPTIONAL]; + * @return RepeatedField + */ + public function getExcludeDomains() + { + return $this->exclude_domains; + } + + /** + * Optional. List of domains to be excluded from the search results. + * The default limit is 2000 domains. + * + * Generated from protobuf field repeated string exclude_domains = 1 [(.google.api.field_behavior) = OPTIONAL]; + * @param string[] $var + * @return $this + */ + public function setExcludeDomains($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING); + $this->exclude_domains = $arr; + + return $this; + } + + /** + * Optional. Sites with confidence level chosen & above this value will be + * blocked from the search results. + * + * Generated from protobuf field optional .google.cloud.aiplatform.v1.Tool.PhishBlockThreshold blocking_confidence = 2 [(.google.api.field_behavior) = OPTIONAL]; + * @return int + */ + public function getBlockingConfidence() + { + return isset($this->blocking_confidence) ? $this->blocking_confidence : 0; + } + + public function hasBlockingConfidence() + { + return isset($this->blocking_confidence); + } + + public function clearBlockingConfidence() + { + unset($this->blocking_confidence); + } + + /** + * Optional. Sites with confidence level chosen & above this value will be + * blocked from the search results. + * + * Generated from protobuf field optional .google.cloud.aiplatform.v1.Tool.PhishBlockThreshold blocking_confidence = 2 [(.google.api.field_behavior) = OPTIONAL]; + * @param int $var + * @return $this + */ + public function setBlockingConfidence($var) + { + GPBUtil::checkEnum($var, \Google\Cloud\AIPlatform\V1\Tool\PhishBlockThreshold::class); + $this->blocking_confidence = $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..e27ce60052a6 --- /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..97282a4fe534 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/EntityType.php @@ -0,0 +1,513 @@ +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; + /** + * Output only. Reserved for future use. + * + * Generated from protobuf field bool satisfies_pzs = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + protected $satisfies_pzs = false; + /** + * Output only. Reserved for future use. + * + * Generated from protobuf field bool satisfies_pzi = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + protected $satisfies_pzi = false; + + /** + * 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. + * @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\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; + } + + /** + * Output only. Reserved for future use. + * + * Generated from protobuf field bool satisfies_pzs = 11 [(.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 = 11 [(.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 = 12 [(.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 = 12 [(.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/EnvVar.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/EnvVar.php new file mode 100644 index 000000000000..954150cc9199 --- /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..47102f9a3bd2 --- /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 \Google\Cloud\AIPlatform\V1\ErrorAnalysisAnnotation\AttributedItem[] $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 RepeatedField<\Google\Cloud\AIPlatform\V1\ErrorAnalysisAnnotation\AttributedItem> + */ + 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 \Google\Cloud\AIPlatform\V1\ErrorAnalysisAnnotation\AttributedItem[] $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..748aabe66945 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ErrorAnalysisAnnotation/AttributedItem.php @@ -0,0 +1,106 @@ +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; + } + +} + 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..a05afe451e9d --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ErrorAnalysisAnnotation/QueryType.php @@ -0,0 +1,68 @@ +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); + } +} + diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/EvaluateInstancesRequest.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/EvaluateInstancesRequest.php new file mode 100644 index 000000000000..dc85ef9e31ab --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/EvaluateInstancesRequest.php @@ -0,0 +1,926 @@ +google.cloud.aiplatform.v1.EvaluateInstancesRequest + */ +class EvaluateInstancesRequest extends \Google\Protobuf\Internal\Message +{ + /** + * Required. The resource name of the Location to evaluate the instances. + * Format: `projects/{project}/locations/{location}` + * + * Generated from protobuf field string location = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + */ + protected $location = ''; + protected $metric_inputs; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type \Google\Cloud\AIPlatform\V1\ExactMatchInput $exact_match_input + * Auto metric instances. + * Instances and metric spec for exact match metric. + * @type \Google\Cloud\AIPlatform\V1\BleuInput $bleu_input + * Instances and metric spec for bleu metric. + * @type \Google\Cloud\AIPlatform\V1\RougeInput $rouge_input + * Instances and metric spec for rouge metric. + * @type \Google\Cloud\AIPlatform\V1\FluencyInput $fluency_input + * LLM-based metric instance. + * General text generation metrics, applicable to other categories. + * Input for fluency metric. + * @type \Google\Cloud\AIPlatform\V1\CoherenceInput $coherence_input + * Input for coherence metric. + * @type \Google\Cloud\AIPlatform\V1\SafetyInput $safety_input + * Input for safety metric. + * @type \Google\Cloud\AIPlatform\V1\GroundednessInput $groundedness_input + * Input for groundedness metric. + * @type \Google\Cloud\AIPlatform\V1\FulfillmentInput $fulfillment_input + * Input for fulfillment metric. + * @type \Google\Cloud\AIPlatform\V1\SummarizationQualityInput $summarization_quality_input + * Input for summarization quality metric. + * @type \Google\Cloud\AIPlatform\V1\PairwiseSummarizationQualityInput $pairwise_summarization_quality_input + * Input for pairwise summarization quality metric. + * @type \Google\Cloud\AIPlatform\V1\SummarizationHelpfulnessInput $summarization_helpfulness_input + * Input for summarization helpfulness metric. + * @type \Google\Cloud\AIPlatform\V1\SummarizationVerbosityInput $summarization_verbosity_input + * Input for summarization verbosity metric. + * @type \Google\Cloud\AIPlatform\V1\QuestionAnsweringQualityInput $question_answering_quality_input + * Input for question answering quality metric. + * @type \Google\Cloud\AIPlatform\V1\PairwiseQuestionAnsweringQualityInput $pairwise_question_answering_quality_input + * Input for pairwise question answering quality metric. + * @type \Google\Cloud\AIPlatform\V1\QuestionAnsweringRelevanceInput $question_answering_relevance_input + * Input for question answering relevance metric. + * @type \Google\Cloud\AIPlatform\V1\QuestionAnsweringHelpfulnessInput $question_answering_helpfulness_input + * Input for question answering helpfulness + * metric. + * @type \Google\Cloud\AIPlatform\V1\QuestionAnsweringCorrectnessInput $question_answering_correctness_input + * Input for question answering correctness + * metric. + * @type \Google\Cloud\AIPlatform\V1\PointwiseMetricInput $pointwise_metric_input + * Input for pointwise metric. + * @type \Google\Cloud\AIPlatform\V1\PairwiseMetricInput $pairwise_metric_input + * Input for pairwise metric. + * @type \Google\Cloud\AIPlatform\V1\ToolCallValidInput $tool_call_valid_input + * Tool call metric instances. + * Input for tool call valid metric. + * @type \Google\Cloud\AIPlatform\V1\ToolNameMatchInput $tool_name_match_input + * Input for tool name match metric. + * @type \Google\Cloud\AIPlatform\V1\ToolParameterKeyMatchInput $tool_parameter_key_match_input + * Input for tool parameter key match metric. + * @type \Google\Cloud\AIPlatform\V1\ToolParameterKVMatchInput $tool_parameter_kv_match_input + * Input for tool parameter key value match metric. + * @type \Google\Cloud\AIPlatform\V1\CometInput $comet_input + * Translation metrics. + * Input for Comet metric. + * @type \Google\Cloud\AIPlatform\V1\MetricxInput $metricx_input + * Input for Metricx metric. + * @type string $location + * Required. The resource name of the Location to evaluate the instances. + * Format: `projects/{project}/locations/{location}` + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Cloud\Aiplatform\V1\EvaluationService::initOnce(); + parent::__construct($data); + } + + /** + * Auto metric instances. + * Instances and metric spec for exact match metric. + * + * Generated from protobuf field .google.cloud.aiplatform.v1.ExactMatchInput exact_match_input = 2; + * @return \Google\Cloud\AIPlatform\V1\ExactMatchInput|null + */ + public function getExactMatchInput() + { + return $this->readOneof(2); + } + + public function hasExactMatchInput() + { + return $this->hasOneof(2); + } + + /** + * Auto metric instances. + * Instances and metric spec for exact match metric. + * + * Generated from protobuf field .google.cloud.aiplatform.v1.ExactMatchInput exact_match_input = 2; + * @param \Google\Cloud\AIPlatform\V1\ExactMatchInput $var + * @return $this + */ + public function setExactMatchInput($var) + { + GPBUtil::checkMessage($var, \Google\Cloud\AIPlatform\V1\ExactMatchInput::class); + $this->writeOneof(2, $var); + + return $this; + } + + /** + * Instances and metric spec for bleu metric. + * + * Generated from protobuf field .google.cloud.aiplatform.v1.BleuInput bleu_input = 3; + * @return \Google\Cloud\AIPlatform\V1\BleuInput|null + */ + public function getBleuInput() + { + return $this->readOneof(3); + } + + public function hasBleuInput() + { + return $this->hasOneof(3); + } + + /** + * Instances and metric spec for bleu metric. + * + * Generated from protobuf field .google.cloud.aiplatform.v1.BleuInput bleu_input = 3; + * @param \Google\Cloud\AIPlatform\V1\BleuInput $var + * @return $this + */ + public function setBleuInput($var) + { + GPBUtil::checkMessage($var, \Google\Cloud\AIPlatform\V1\BleuInput::class); + $this->writeOneof(3, $var); + + return $this; + } + + /** + * Instances and metric spec for rouge metric. + * + * Generated from protobuf field .google.cloud.aiplatform.v1.RougeInput rouge_input = 4; + * @return \Google\Cloud\AIPlatform\V1\RougeInput|null + */ + public function getRougeInput() + { + return $this->readOneof(4); + } + + public function hasRougeInput() + { + return $this->hasOneof(4); + } + + /** + * Instances and metric spec for rouge metric. + * + * Generated from protobuf field .google.cloud.aiplatform.v1.RougeInput rouge_input = 4; + * @param \Google\Cloud\AIPlatform\V1\RougeInput $var + * @return $this + */ + public function setRougeInput($var) + { + GPBUtil::checkMessage($var, \Google\Cloud\AIPlatform\V1\RougeInput::class); + $this->writeOneof(4, $var); + + return $this; + } + + /** + * LLM-based metric instance. + * General text generation metrics, applicable to other categories. + * Input for fluency metric. + * + * Generated from protobuf field .google.cloud.aiplatform.v1.FluencyInput fluency_input = 5; + * @return \Google\Cloud\AIPlatform\V1\FluencyInput|null + */ + public function getFluencyInput() + { + return $this->readOneof(5); + } + + public function hasFluencyInput() + { + return $this->hasOneof(5); + } + + /** + * LLM-based metric instance. + * General text generation metrics, applicable to other categories. + * Input for fluency metric. + * + * Generated from protobuf field .google.cloud.aiplatform.v1.FluencyInput fluency_input = 5; + * @param \Google\Cloud\AIPlatform\V1\FluencyInput $var + * @return $this + */ + public function setFluencyInput($var) + { + GPBUtil::checkMessage($var, \Google\Cloud\AIPlatform\V1\FluencyInput::class); + $this->writeOneof(5, $var); + + return $this; + } + + /** + * Input for coherence metric. + * + * Generated from protobuf field .google.cloud.aiplatform.v1.CoherenceInput coherence_input = 6; + * @return \Google\Cloud\AIPlatform\V1\CoherenceInput|null + */ + public function getCoherenceInput() + { + return $this->readOneof(6); + } + + public function hasCoherenceInput() + { + return $this->hasOneof(6); + } + + /** + * Input for coherence metric. + * + * Generated from protobuf field .google.cloud.aiplatform.v1.CoherenceInput coherence_input = 6; + * @param \Google\Cloud\AIPlatform\V1\CoherenceInput $var + * @return $this + */ + public function setCoherenceInput($var) + { + GPBUtil::checkMessage($var, \Google\Cloud\AIPlatform\V1\CoherenceInput::class); + $this->writeOneof(6, $var); + + return $this; + } + + /** + * Input for safety metric. + * + * Generated from protobuf field .google.cloud.aiplatform.v1.SafetyInput safety_input = 8; + * @return \Google\Cloud\AIPlatform\V1\SafetyInput|null + */ + public function getSafetyInput() + { + return $this->readOneof(8); + } + + public function hasSafetyInput() + { + return $this->hasOneof(8); + } + + /** + * Input for safety metric. + * + * Generated from protobuf field .google.cloud.aiplatform.v1.SafetyInput safety_input = 8; + * @param \Google\Cloud\AIPlatform\V1\SafetyInput $var + * @return $this + */ + public function setSafetyInput($var) + { + GPBUtil::checkMessage($var, \Google\Cloud\AIPlatform\V1\SafetyInput::class); + $this->writeOneof(8, $var); + + return $this; + } + + /** + * Input for groundedness metric. + * + * Generated from protobuf field .google.cloud.aiplatform.v1.GroundednessInput groundedness_input = 9; + * @return \Google\Cloud\AIPlatform\V1\GroundednessInput|null + */ + public function getGroundednessInput() + { + return $this->readOneof(9); + } + + public function hasGroundednessInput() + { + return $this->hasOneof(9); + } + + /** + * Input for groundedness metric. + * + * Generated from protobuf field .google.cloud.aiplatform.v1.GroundednessInput groundedness_input = 9; + * @param \Google\Cloud\AIPlatform\V1\GroundednessInput $var + * @return $this + */ + public function setGroundednessInput($var) + { + GPBUtil::checkMessage($var, \Google\Cloud\AIPlatform\V1\GroundednessInput::class); + $this->writeOneof(9, $var); + + return $this; + } + + /** + * Input for fulfillment metric. + * + * Generated from protobuf field .google.cloud.aiplatform.v1.FulfillmentInput fulfillment_input = 12; + * @return \Google\Cloud\AIPlatform\V1\FulfillmentInput|null + */ + public function getFulfillmentInput() + { + return $this->readOneof(12); + } + + public function hasFulfillmentInput() + { + return $this->hasOneof(12); + } + + /** + * Input for fulfillment metric. + * + * Generated from protobuf field .google.cloud.aiplatform.v1.FulfillmentInput fulfillment_input = 12; + * @param \Google\Cloud\AIPlatform\V1\FulfillmentInput $var + * @return $this + */ + public function setFulfillmentInput($var) + { + GPBUtil::checkMessage($var, \Google\Cloud\AIPlatform\V1\FulfillmentInput::class); + $this->writeOneof(12, $var); + + return $this; + } + + /** + * Input for summarization quality metric. + * + * Generated from protobuf field .google.cloud.aiplatform.v1.SummarizationQualityInput summarization_quality_input = 7; + * @return \Google\Cloud\AIPlatform\V1\SummarizationQualityInput|null + */ + public function getSummarizationQualityInput() + { + return $this->readOneof(7); + } + + public function hasSummarizationQualityInput() + { + return $this->hasOneof(7); + } + + /** + * Input for summarization quality metric. + * + * Generated from protobuf field .google.cloud.aiplatform.v1.SummarizationQualityInput summarization_quality_input = 7; + * @param \Google\Cloud\AIPlatform\V1\SummarizationQualityInput $var + * @return $this + */ + public function setSummarizationQualityInput($var) + { + GPBUtil::checkMessage($var, \Google\Cloud\AIPlatform\V1\SummarizationQualityInput::class); + $this->writeOneof(7, $var); + + return $this; + } + + /** + * Input for pairwise summarization quality metric. + * + * Generated from protobuf field .google.cloud.aiplatform.v1.PairwiseSummarizationQualityInput pairwise_summarization_quality_input = 23; + * @return \Google\Cloud\AIPlatform\V1\PairwiseSummarizationQualityInput|null + */ + public function getPairwiseSummarizationQualityInput() + { + return $this->readOneof(23); + } + + public function hasPairwiseSummarizationQualityInput() + { + return $this->hasOneof(23); + } + + /** + * Input for pairwise summarization quality metric. + * + * Generated from protobuf field .google.cloud.aiplatform.v1.PairwiseSummarizationQualityInput pairwise_summarization_quality_input = 23; + * @param \Google\Cloud\AIPlatform\V1\PairwiseSummarizationQualityInput $var + * @return $this + */ + public function setPairwiseSummarizationQualityInput($var) + { + GPBUtil::checkMessage($var, \Google\Cloud\AIPlatform\V1\PairwiseSummarizationQualityInput::class); + $this->writeOneof(23, $var); + + return $this; + } + + /** + * Input for summarization helpfulness metric. + * + * Generated from protobuf field .google.cloud.aiplatform.v1.SummarizationHelpfulnessInput summarization_helpfulness_input = 14; + * @return \Google\Cloud\AIPlatform\V1\SummarizationHelpfulnessInput|null + */ + public function getSummarizationHelpfulnessInput() + { + return $this->readOneof(14); + } + + public function hasSummarizationHelpfulnessInput() + { + return $this->hasOneof(14); + } + + /** + * Input for summarization helpfulness metric. + * + * Generated from protobuf field .google.cloud.aiplatform.v1.SummarizationHelpfulnessInput summarization_helpfulness_input = 14; + * @param \Google\Cloud\AIPlatform\V1\SummarizationHelpfulnessInput $var + * @return $this + */ + public function setSummarizationHelpfulnessInput($var) + { + GPBUtil::checkMessage($var, \Google\Cloud\AIPlatform\V1\SummarizationHelpfulnessInput::class); + $this->writeOneof(14, $var); + + return $this; + } + + /** + * Input for summarization verbosity metric. + * + * Generated from protobuf field .google.cloud.aiplatform.v1.SummarizationVerbosityInput summarization_verbosity_input = 15; + * @return \Google\Cloud\AIPlatform\V1\SummarizationVerbosityInput|null + */ + public function getSummarizationVerbosityInput() + { + return $this->readOneof(15); + } + + public function hasSummarizationVerbosityInput() + { + return $this->hasOneof(15); + } + + /** + * Input for summarization verbosity metric. + * + * Generated from protobuf field .google.cloud.aiplatform.v1.SummarizationVerbosityInput summarization_verbosity_input = 15; + * @param \Google\Cloud\AIPlatform\V1\SummarizationVerbosityInput $var + * @return $this + */ + public function setSummarizationVerbosityInput($var) + { + GPBUtil::checkMessage($var, \Google\Cloud\AIPlatform\V1\SummarizationVerbosityInput::class); + $this->writeOneof(15, $var); + + return $this; + } + + /** + * Input for question answering quality metric. + * + * Generated from protobuf field .google.cloud.aiplatform.v1.QuestionAnsweringQualityInput question_answering_quality_input = 10; + * @return \Google\Cloud\AIPlatform\V1\QuestionAnsweringQualityInput|null + */ + public function getQuestionAnsweringQualityInput() + { + return $this->readOneof(10); + } + + public function hasQuestionAnsweringQualityInput() + { + return $this->hasOneof(10); + } + + /** + * Input for question answering quality metric. + * + * Generated from protobuf field .google.cloud.aiplatform.v1.QuestionAnsweringQualityInput question_answering_quality_input = 10; + * @param \Google\Cloud\AIPlatform\V1\QuestionAnsweringQualityInput $var + * @return $this + */ + public function setQuestionAnsweringQualityInput($var) + { + GPBUtil::checkMessage($var, \Google\Cloud\AIPlatform\V1\QuestionAnsweringQualityInput::class); + $this->writeOneof(10, $var); + + return $this; + } + + /** + * Input for pairwise question answering quality metric. + * + * Generated from protobuf field .google.cloud.aiplatform.v1.PairwiseQuestionAnsweringQualityInput pairwise_question_answering_quality_input = 24; + * @return \Google\Cloud\AIPlatform\V1\PairwiseQuestionAnsweringQualityInput|null + */ + public function getPairwiseQuestionAnsweringQualityInput() + { + return $this->readOneof(24); + } + + public function hasPairwiseQuestionAnsweringQualityInput() + { + return $this->hasOneof(24); + } + + /** + * Input for pairwise question answering quality metric. + * + * Generated from protobuf field .google.cloud.aiplatform.v1.PairwiseQuestionAnsweringQualityInput pairwise_question_answering_quality_input = 24; + * @param \Google\Cloud\AIPlatform\V1\PairwiseQuestionAnsweringQualityInput $var + * @return $this + */ + public function setPairwiseQuestionAnsweringQualityInput($var) + { + GPBUtil::checkMessage($var, \Google\Cloud\AIPlatform\V1\PairwiseQuestionAnsweringQualityInput::class); + $this->writeOneof(24, $var); + + return $this; + } + + /** + * Input for question answering relevance metric. + * + * Generated from protobuf field .google.cloud.aiplatform.v1.QuestionAnsweringRelevanceInput question_answering_relevance_input = 16; + * @return \Google\Cloud\AIPlatform\V1\QuestionAnsweringRelevanceInput|null + */ + public function getQuestionAnsweringRelevanceInput() + { + return $this->readOneof(16); + } + + public function hasQuestionAnsweringRelevanceInput() + { + return $this->hasOneof(16); + } + + /** + * Input for question answering relevance metric. + * + * Generated from protobuf field .google.cloud.aiplatform.v1.QuestionAnsweringRelevanceInput question_answering_relevance_input = 16; + * @param \Google\Cloud\AIPlatform\V1\QuestionAnsweringRelevanceInput $var + * @return $this + */ + public function setQuestionAnsweringRelevanceInput($var) + { + GPBUtil::checkMessage($var, \Google\Cloud\AIPlatform\V1\QuestionAnsweringRelevanceInput::class); + $this->writeOneof(16, $var); + + return $this; + } + + /** + * Input for question answering helpfulness + * metric. + * + * Generated from protobuf field .google.cloud.aiplatform.v1.QuestionAnsweringHelpfulnessInput question_answering_helpfulness_input = 17; + * @return \Google\Cloud\AIPlatform\V1\QuestionAnsweringHelpfulnessInput|null + */ + public function getQuestionAnsweringHelpfulnessInput() + { + return $this->readOneof(17); + } + + public function hasQuestionAnsweringHelpfulnessInput() + { + return $this->hasOneof(17); + } + + /** + * Input for question answering helpfulness + * metric. + * + * Generated from protobuf field .google.cloud.aiplatform.v1.QuestionAnsweringHelpfulnessInput question_answering_helpfulness_input = 17; + * @param \Google\Cloud\AIPlatform\V1\QuestionAnsweringHelpfulnessInput $var + * @return $this + */ + public function setQuestionAnsweringHelpfulnessInput($var) + { + GPBUtil::checkMessage($var, \Google\Cloud\AIPlatform\V1\QuestionAnsweringHelpfulnessInput::class); + $this->writeOneof(17, $var); + + return $this; + } + + /** + * Input for question answering correctness + * metric. + * + * Generated from protobuf field .google.cloud.aiplatform.v1.QuestionAnsweringCorrectnessInput question_answering_correctness_input = 18; + * @return \Google\Cloud\AIPlatform\V1\QuestionAnsweringCorrectnessInput|null + */ + public function getQuestionAnsweringCorrectnessInput() + { + return $this->readOneof(18); + } + + public function hasQuestionAnsweringCorrectnessInput() + { + return $this->hasOneof(18); + } + + /** + * Input for question answering correctness + * metric. + * + * Generated from protobuf field .google.cloud.aiplatform.v1.QuestionAnsweringCorrectnessInput question_answering_correctness_input = 18; + * @param \Google\Cloud\AIPlatform\V1\QuestionAnsweringCorrectnessInput $var + * @return $this + */ + public function setQuestionAnsweringCorrectnessInput($var) + { + GPBUtil::checkMessage($var, \Google\Cloud\AIPlatform\V1\QuestionAnsweringCorrectnessInput::class); + $this->writeOneof(18, $var); + + return $this; + } + + /** + * Input for pointwise metric. + * + * Generated from protobuf field .google.cloud.aiplatform.v1.PointwiseMetricInput pointwise_metric_input = 28; + * @return \Google\Cloud\AIPlatform\V1\PointwiseMetricInput|null + */ + public function getPointwiseMetricInput() + { + return $this->readOneof(28); + } + + public function hasPointwiseMetricInput() + { + return $this->hasOneof(28); + } + + /** + * Input for pointwise metric. + * + * Generated from protobuf field .google.cloud.aiplatform.v1.PointwiseMetricInput pointwise_metric_input = 28; + * @param \Google\Cloud\AIPlatform\V1\PointwiseMetricInput $var + * @return $this + */ + public function setPointwiseMetricInput($var) + { + GPBUtil::checkMessage($var, \Google\Cloud\AIPlatform\V1\PointwiseMetricInput::class); + $this->writeOneof(28, $var); + + return $this; + } + + /** + * Input for pairwise metric. + * + * Generated from protobuf field .google.cloud.aiplatform.v1.PairwiseMetricInput pairwise_metric_input = 29; + * @return \Google\Cloud\AIPlatform\V1\PairwiseMetricInput|null + */ + public function getPairwiseMetricInput() + { + return $this->readOneof(29); + } + + public function hasPairwiseMetricInput() + { + return $this->hasOneof(29); + } + + /** + * Input for pairwise metric. + * + * Generated from protobuf field .google.cloud.aiplatform.v1.PairwiseMetricInput pairwise_metric_input = 29; + * @param \Google\Cloud\AIPlatform\V1\PairwiseMetricInput $var + * @return $this + */ + public function setPairwiseMetricInput($var) + { + GPBUtil::checkMessage($var, \Google\Cloud\AIPlatform\V1\PairwiseMetricInput::class); + $this->writeOneof(29, $var); + + return $this; + } + + /** + * Tool call metric instances. + * Input for tool call valid metric. + * + * Generated from protobuf field .google.cloud.aiplatform.v1.ToolCallValidInput tool_call_valid_input = 19; + * @return \Google\Cloud\AIPlatform\V1\ToolCallValidInput|null + */ + public function getToolCallValidInput() + { + return $this->readOneof(19); + } + + public function hasToolCallValidInput() + { + return $this->hasOneof(19); + } + + /** + * Tool call metric instances. + * Input for tool call valid metric. + * + * Generated from protobuf field .google.cloud.aiplatform.v1.ToolCallValidInput tool_call_valid_input = 19; + * @param \Google\Cloud\AIPlatform\V1\ToolCallValidInput $var + * @return $this + */ + public function setToolCallValidInput($var) + { + GPBUtil::checkMessage($var, \Google\Cloud\AIPlatform\V1\ToolCallValidInput::class); + $this->writeOneof(19, $var); + + return $this; + } + + /** + * Input for tool name match metric. + * + * Generated from protobuf field .google.cloud.aiplatform.v1.ToolNameMatchInput tool_name_match_input = 20; + * @return \Google\Cloud\AIPlatform\V1\ToolNameMatchInput|null + */ + public function getToolNameMatchInput() + { + return $this->readOneof(20); + } + + public function hasToolNameMatchInput() + { + return $this->hasOneof(20); + } + + /** + * Input for tool name match metric. + * + * Generated from protobuf field .google.cloud.aiplatform.v1.ToolNameMatchInput tool_name_match_input = 20; + * @param \Google\Cloud\AIPlatform\V1\ToolNameMatchInput $var + * @return $this + */ + public function setToolNameMatchInput($var) + { + GPBUtil::checkMessage($var, \Google\Cloud\AIPlatform\V1\ToolNameMatchInput::class); + $this->writeOneof(20, $var); + + return $this; + } + + /** + * Input for tool parameter key match metric. + * + * Generated from protobuf field .google.cloud.aiplatform.v1.ToolParameterKeyMatchInput tool_parameter_key_match_input = 21; + * @return \Google\Cloud\AIPlatform\V1\ToolParameterKeyMatchInput|null + */ + public function getToolParameterKeyMatchInput() + { + return $this->readOneof(21); + } + + public function hasToolParameterKeyMatchInput() + { + return $this->hasOneof(21); + } + + /** + * Input for tool parameter key match metric. + * + * Generated from protobuf field .google.cloud.aiplatform.v1.ToolParameterKeyMatchInput tool_parameter_key_match_input = 21; + * @param \Google\Cloud\AIPlatform\V1\ToolParameterKeyMatchInput $var + * @return $this + */ + public function setToolParameterKeyMatchInput($var) + { + GPBUtil::checkMessage($var, \Google\Cloud\AIPlatform\V1\ToolParameterKeyMatchInput::class); + $this->writeOneof(21, $var); + + return $this; + } + + /** + * Input for tool parameter key value match metric. + * + * Generated from protobuf field .google.cloud.aiplatform.v1.ToolParameterKVMatchInput tool_parameter_kv_match_input = 22; + * @return \Google\Cloud\AIPlatform\V1\ToolParameterKVMatchInput|null + */ + public function getToolParameterKvMatchInput() + { + return $this->readOneof(22); + } + + public function hasToolParameterKvMatchInput() + { + return $this->hasOneof(22); + } + + /** + * Input for tool parameter key value match metric. + * + * Generated from protobuf field .google.cloud.aiplatform.v1.ToolParameterKVMatchInput tool_parameter_kv_match_input = 22; + * @param \Google\Cloud\AIPlatform\V1\ToolParameterKVMatchInput $var + * @return $this + */ + public function setToolParameterKvMatchInput($var) + { + GPBUtil::checkMessage($var, \Google\Cloud\AIPlatform\V1\ToolParameterKVMatchInput::class); + $this->writeOneof(22, $var); + + return $this; + } + + /** + * Translation metrics. + * Input for Comet metric. + * + * Generated from protobuf field .google.cloud.aiplatform.v1.CometInput comet_input = 31; + * @return \Google\Cloud\AIPlatform\V1\CometInput|null + */ + public function getCometInput() + { + return $this->readOneof(31); + } + + public function hasCometInput() + { + return $this->hasOneof(31); + } + + /** + * Translation metrics. + * Input for Comet metric. + * + * Generated from protobuf field .google.cloud.aiplatform.v1.CometInput comet_input = 31; + * @param \Google\Cloud\AIPlatform\V1\CometInput $var + * @return $this + */ + public function setCometInput($var) + { + GPBUtil::checkMessage($var, \Google\Cloud\AIPlatform\V1\CometInput::class); + $this->writeOneof(31, $var); + + return $this; + } + + /** + * Input for Metricx metric. + * + * Generated from protobuf field .google.cloud.aiplatform.v1.MetricxInput metricx_input = 32; + * @return \Google\Cloud\AIPlatform\V1\MetricxInput|null + */ + public function getMetricxInput() + { + return $this->readOneof(32); + } + + public function hasMetricxInput() + { + return $this->hasOneof(32); + } + + /** + * Input for Metricx metric. + * + * Generated from protobuf field .google.cloud.aiplatform.v1.MetricxInput metricx_input = 32; + * @param \Google\Cloud\AIPlatform\V1\MetricxInput $var + * @return $this + */ + public function setMetricxInput($var) + { + GPBUtil::checkMessage($var, \Google\Cloud\AIPlatform\V1\MetricxInput::class); + $this->writeOneof(32, $var); + + return $this; + } + + /** + * Required. The resource name of the Location to evaluate the instances. + * Format: `projects/{project}/locations/{location}` + * + * Generated from protobuf field string location = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @return string + */ + public function getLocation() + { + return $this->location; + } + + /** + * Required. The resource name of the Location to evaluate the instances. + * Format: `projects/{project}/locations/{location}` + * + * Generated from protobuf field string location = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @param string $var + * @return $this + */ + public function setLocation($var) + { + GPBUtil::checkString($var, True); + $this->location = $var; + + return $this; + } + + /** + * @return string + */ + public function getMetricInputs() + { + return $this->whichOneof("metric_inputs"); + } + +} + diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/EvaluateInstancesResponse.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/EvaluateInstancesResponse.php new file mode 100644 index 000000000000..32ead6c03bef --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/EvaluateInstancesResponse.php @@ -0,0 +1,891 @@ +google.cloud.aiplatform.v1.EvaluateInstancesResponse + */ +class EvaluateInstancesResponse extends \Google\Protobuf\Internal\Message +{ + protected $evaluation_results; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type \Google\Cloud\AIPlatform\V1\ExactMatchResults $exact_match_results + * Auto metric evaluation results. + * Results for exact match metric. + * @type \Google\Cloud\AIPlatform\V1\BleuResults $bleu_results + * Results for bleu metric. + * @type \Google\Cloud\AIPlatform\V1\RougeResults $rouge_results + * Results for rouge metric. + * @type \Google\Cloud\AIPlatform\V1\FluencyResult $fluency_result + * LLM-based metric evaluation result. + * General text generation metrics, applicable to other categories. + * Result for fluency metric. + * @type \Google\Cloud\AIPlatform\V1\CoherenceResult $coherence_result + * Result for coherence metric. + * @type \Google\Cloud\AIPlatform\V1\SafetyResult $safety_result + * Result for safety metric. + * @type \Google\Cloud\AIPlatform\V1\GroundednessResult $groundedness_result + * Result for groundedness metric. + * @type \Google\Cloud\AIPlatform\V1\FulfillmentResult $fulfillment_result + * Result for fulfillment metric. + * @type \Google\Cloud\AIPlatform\V1\SummarizationQualityResult $summarization_quality_result + * Summarization only metrics. + * Result for summarization quality metric. + * @type \Google\Cloud\AIPlatform\V1\PairwiseSummarizationQualityResult $pairwise_summarization_quality_result + * Result for pairwise summarization quality metric. + * @type \Google\Cloud\AIPlatform\V1\SummarizationHelpfulnessResult $summarization_helpfulness_result + * Result for summarization helpfulness metric. + * @type \Google\Cloud\AIPlatform\V1\SummarizationVerbosityResult $summarization_verbosity_result + * Result for summarization verbosity metric. + * @type \Google\Cloud\AIPlatform\V1\QuestionAnsweringQualityResult $question_answering_quality_result + * Question answering only metrics. + * Result for question answering quality metric. + * @type \Google\Cloud\AIPlatform\V1\PairwiseQuestionAnsweringQualityResult $pairwise_question_answering_quality_result + * Result for pairwise question answering quality metric. + * @type \Google\Cloud\AIPlatform\V1\QuestionAnsweringRelevanceResult $question_answering_relevance_result + * Result for question answering relevance metric. + * @type \Google\Cloud\AIPlatform\V1\QuestionAnsweringHelpfulnessResult $question_answering_helpfulness_result + * Result for question answering helpfulness metric. + * @type \Google\Cloud\AIPlatform\V1\QuestionAnsweringCorrectnessResult $question_answering_correctness_result + * Result for question answering correctness metric. + * @type \Google\Cloud\AIPlatform\V1\PointwiseMetricResult $pointwise_metric_result + * Generic metrics. + * Result for pointwise metric. + * @type \Google\Cloud\AIPlatform\V1\PairwiseMetricResult $pairwise_metric_result + * Result for pairwise metric. + * @type \Google\Cloud\AIPlatform\V1\ToolCallValidResults $tool_call_valid_results + * Tool call metrics. + * Results for tool call valid metric. + * @type \Google\Cloud\AIPlatform\V1\ToolNameMatchResults $tool_name_match_results + * Results for tool name match metric. + * @type \Google\Cloud\AIPlatform\V1\ToolParameterKeyMatchResults $tool_parameter_key_match_results + * Results for tool parameter key match metric. + * @type \Google\Cloud\AIPlatform\V1\ToolParameterKVMatchResults $tool_parameter_kv_match_results + * Results for tool parameter key value match metric. + * @type \Google\Cloud\AIPlatform\V1\CometResult $comet_result + * Translation metrics. + * Result for Comet metric. + * @type \Google\Cloud\AIPlatform\V1\MetricxResult $metricx_result + * Result for Metricx metric. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Cloud\Aiplatform\V1\EvaluationService::initOnce(); + parent::__construct($data); + } + + /** + * Auto metric evaluation results. + * Results for exact match metric. + * + * Generated from protobuf field .google.cloud.aiplatform.v1.ExactMatchResults exact_match_results = 1; + * @return \Google\Cloud\AIPlatform\V1\ExactMatchResults|null + */ + public function getExactMatchResults() + { + return $this->readOneof(1); + } + + public function hasExactMatchResults() + { + return $this->hasOneof(1); + } + + /** + * Auto metric evaluation results. + * Results for exact match metric. + * + * Generated from protobuf field .google.cloud.aiplatform.v1.ExactMatchResults exact_match_results = 1; + * @param \Google\Cloud\AIPlatform\V1\ExactMatchResults $var + * @return $this + */ + public function setExactMatchResults($var) + { + GPBUtil::checkMessage($var, \Google\Cloud\AIPlatform\V1\ExactMatchResults::class); + $this->writeOneof(1, $var); + + return $this; + } + + /** + * Results for bleu metric. + * + * Generated from protobuf field .google.cloud.aiplatform.v1.BleuResults bleu_results = 2; + * @return \Google\Cloud\AIPlatform\V1\BleuResults|null + */ + public function getBleuResults() + { + return $this->readOneof(2); + } + + public function hasBleuResults() + { + return $this->hasOneof(2); + } + + /** + * Results for bleu metric. + * + * Generated from protobuf field .google.cloud.aiplatform.v1.BleuResults bleu_results = 2; + * @param \Google\Cloud\AIPlatform\V1\BleuResults $var + * @return $this + */ + public function setBleuResults($var) + { + GPBUtil::checkMessage($var, \Google\Cloud\AIPlatform\V1\BleuResults::class); + $this->writeOneof(2, $var); + + return $this; + } + + /** + * Results for rouge metric. + * + * Generated from protobuf field .google.cloud.aiplatform.v1.RougeResults rouge_results = 3; + * @return \Google\Cloud\AIPlatform\V1\RougeResults|null + */ + public function getRougeResults() + { + return $this->readOneof(3); + } + + public function hasRougeResults() + { + return $this->hasOneof(3); + } + + /** + * Results for rouge metric. + * + * Generated from protobuf field .google.cloud.aiplatform.v1.RougeResults rouge_results = 3; + * @param \Google\Cloud\AIPlatform\V1\RougeResults $var + * @return $this + */ + public function setRougeResults($var) + { + GPBUtil::checkMessage($var, \Google\Cloud\AIPlatform\V1\RougeResults::class); + $this->writeOneof(3, $var); + + return $this; + } + + /** + * LLM-based metric evaluation result. + * General text generation metrics, applicable to other categories. + * Result for fluency metric. + * + * Generated from protobuf field .google.cloud.aiplatform.v1.FluencyResult fluency_result = 4; + * @return \Google\Cloud\AIPlatform\V1\FluencyResult|null + */ + public function getFluencyResult() + { + return $this->readOneof(4); + } + + public function hasFluencyResult() + { + return $this->hasOneof(4); + } + + /** + * LLM-based metric evaluation result. + * General text generation metrics, applicable to other categories. + * Result for fluency metric. + * + * Generated from protobuf field .google.cloud.aiplatform.v1.FluencyResult fluency_result = 4; + * @param \Google\Cloud\AIPlatform\V1\FluencyResult $var + * @return $this + */ + public function setFluencyResult($var) + { + GPBUtil::checkMessage($var, \Google\Cloud\AIPlatform\V1\FluencyResult::class); + $this->writeOneof(4, $var); + + return $this; + } + + /** + * Result for coherence metric. + * + * Generated from protobuf field .google.cloud.aiplatform.v1.CoherenceResult coherence_result = 5; + * @return \Google\Cloud\AIPlatform\V1\CoherenceResult|null + */ + public function getCoherenceResult() + { + return $this->readOneof(5); + } + + public function hasCoherenceResult() + { + return $this->hasOneof(5); + } + + /** + * Result for coherence metric. + * + * Generated from protobuf field .google.cloud.aiplatform.v1.CoherenceResult coherence_result = 5; + * @param \Google\Cloud\AIPlatform\V1\CoherenceResult $var + * @return $this + */ + public function setCoherenceResult($var) + { + GPBUtil::checkMessage($var, \Google\Cloud\AIPlatform\V1\CoherenceResult::class); + $this->writeOneof(5, $var); + + return $this; + } + + /** + * Result for safety metric. + * + * Generated from protobuf field .google.cloud.aiplatform.v1.SafetyResult safety_result = 7; + * @return \Google\Cloud\AIPlatform\V1\SafetyResult|null + */ + public function getSafetyResult() + { + return $this->readOneof(7); + } + + public function hasSafetyResult() + { + return $this->hasOneof(7); + } + + /** + * Result for safety metric. + * + * Generated from protobuf field .google.cloud.aiplatform.v1.SafetyResult safety_result = 7; + * @param \Google\Cloud\AIPlatform\V1\SafetyResult $var + * @return $this + */ + public function setSafetyResult($var) + { + GPBUtil::checkMessage($var, \Google\Cloud\AIPlatform\V1\SafetyResult::class); + $this->writeOneof(7, $var); + + return $this; + } + + /** + * Result for groundedness metric. + * + * Generated from protobuf field .google.cloud.aiplatform.v1.GroundednessResult groundedness_result = 8; + * @return \Google\Cloud\AIPlatform\V1\GroundednessResult|null + */ + public function getGroundednessResult() + { + return $this->readOneof(8); + } + + public function hasGroundednessResult() + { + return $this->hasOneof(8); + } + + /** + * Result for groundedness metric. + * + * Generated from protobuf field .google.cloud.aiplatform.v1.GroundednessResult groundedness_result = 8; + * @param \Google\Cloud\AIPlatform\V1\GroundednessResult $var + * @return $this + */ + public function setGroundednessResult($var) + { + GPBUtil::checkMessage($var, \Google\Cloud\AIPlatform\V1\GroundednessResult::class); + $this->writeOneof(8, $var); + + return $this; + } + + /** + * Result for fulfillment metric. + * + * Generated from protobuf field .google.cloud.aiplatform.v1.FulfillmentResult fulfillment_result = 11; + * @return \Google\Cloud\AIPlatform\V1\FulfillmentResult|null + */ + public function getFulfillmentResult() + { + return $this->readOneof(11); + } + + public function hasFulfillmentResult() + { + return $this->hasOneof(11); + } + + /** + * Result for fulfillment metric. + * + * Generated from protobuf field .google.cloud.aiplatform.v1.FulfillmentResult fulfillment_result = 11; + * @param \Google\Cloud\AIPlatform\V1\FulfillmentResult $var + * @return $this + */ + public function setFulfillmentResult($var) + { + GPBUtil::checkMessage($var, \Google\Cloud\AIPlatform\V1\FulfillmentResult::class); + $this->writeOneof(11, $var); + + return $this; + } + + /** + * Summarization only metrics. + * Result for summarization quality metric. + * + * Generated from protobuf field .google.cloud.aiplatform.v1.SummarizationQualityResult summarization_quality_result = 6; + * @return \Google\Cloud\AIPlatform\V1\SummarizationQualityResult|null + */ + public function getSummarizationQualityResult() + { + return $this->readOneof(6); + } + + public function hasSummarizationQualityResult() + { + return $this->hasOneof(6); + } + + /** + * Summarization only metrics. + * Result for summarization quality metric. + * + * Generated from protobuf field .google.cloud.aiplatform.v1.SummarizationQualityResult summarization_quality_result = 6; + * @param \Google\Cloud\AIPlatform\V1\SummarizationQualityResult $var + * @return $this + */ + public function setSummarizationQualityResult($var) + { + GPBUtil::checkMessage($var, \Google\Cloud\AIPlatform\V1\SummarizationQualityResult::class); + $this->writeOneof(6, $var); + + return $this; + } + + /** + * Result for pairwise summarization quality metric. + * + * Generated from protobuf field .google.cloud.aiplatform.v1.PairwiseSummarizationQualityResult pairwise_summarization_quality_result = 22; + * @return \Google\Cloud\AIPlatform\V1\PairwiseSummarizationQualityResult|null + */ + public function getPairwiseSummarizationQualityResult() + { + return $this->readOneof(22); + } + + public function hasPairwiseSummarizationQualityResult() + { + return $this->hasOneof(22); + } + + /** + * Result for pairwise summarization quality metric. + * + * Generated from protobuf field .google.cloud.aiplatform.v1.PairwiseSummarizationQualityResult pairwise_summarization_quality_result = 22; + * @param \Google\Cloud\AIPlatform\V1\PairwiseSummarizationQualityResult $var + * @return $this + */ + public function setPairwiseSummarizationQualityResult($var) + { + GPBUtil::checkMessage($var, \Google\Cloud\AIPlatform\V1\PairwiseSummarizationQualityResult::class); + $this->writeOneof(22, $var); + + return $this; + } + + /** + * Result for summarization helpfulness metric. + * + * Generated from protobuf field .google.cloud.aiplatform.v1.SummarizationHelpfulnessResult summarization_helpfulness_result = 13; + * @return \Google\Cloud\AIPlatform\V1\SummarizationHelpfulnessResult|null + */ + public function getSummarizationHelpfulnessResult() + { + return $this->readOneof(13); + } + + public function hasSummarizationHelpfulnessResult() + { + return $this->hasOneof(13); + } + + /** + * Result for summarization helpfulness metric. + * + * Generated from protobuf field .google.cloud.aiplatform.v1.SummarizationHelpfulnessResult summarization_helpfulness_result = 13; + * @param \Google\Cloud\AIPlatform\V1\SummarizationHelpfulnessResult $var + * @return $this + */ + public function setSummarizationHelpfulnessResult($var) + { + GPBUtil::checkMessage($var, \Google\Cloud\AIPlatform\V1\SummarizationHelpfulnessResult::class); + $this->writeOneof(13, $var); + + return $this; + } + + /** + * Result for summarization verbosity metric. + * + * Generated from protobuf field .google.cloud.aiplatform.v1.SummarizationVerbosityResult summarization_verbosity_result = 14; + * @return \Google\Cloud\AIPlatform\V1\SummarizationVerbosityResult|null + */ + public function getSummarizationVerbosityResult() + { + return $this->readOneof(14); + } + + public function hasSummarizationVerbosityResult() + { + return $this->hasOneof(14); + } + + /** + * Result for summarization verbosity metric. + * + * Generated from protobuf field .google.cloud.aiplatform.v1.SummarizationVerbosityResult summarization_verbosity_result = 14; + * @param \Google\Cloud\AIPlatform\V1\SummarizationVerbosityResult $var + * @return $this + */ + public function setSummarizationVerbosityResult($var) + { + GPBUtil::checkMessage($var, \Google\Cloud\AIPlatform\V1\SummarizationVerbosityResult::class); + $this->writeOneof(14, $var); + + return $this; + } + + /** + * Question answering only metrics. + * Result for question answering quality metric. + * + * Generated from protobuf field .google.cloud.aiplatform.v1.QuestionAnsweringQualityResult question_answering_quality_result = 9; + * @return \Google\Cloud\AIPlatform\V1\QuestionAnsweringQualityResult|null + */ + public function getQuestionAnsweringQualityResult() + { + return $this->readOneof(9); + } + + public function hasQuestionAnsweringQualityResult() + { + return $this->hasOneof(9); + } + + /** + * Question answering only metrics. + * Result for question answering quality metric. + * + * Generated from protobuf field .google.cloud.aiplatform.v1.QuestionAnsweringQualityResult question_answering_quality_result = 9; + * @param \Google\Cloud\AIPlatform\V1\QuestionAnsweringQualityResult $var + * @return $this + */ + public function setQuestionAnsweringQualityResult($var) + { + GPBUtil::checkMessage($var, \Google\Cloud\AIPlatform\V1\QuestionAnsweringQualityResult::class); + $this->writeOneof(9, $var); + + return $this; + } + + /** + * Result for pairwise question answering quality metric. + * + * Generated from protobuf field .google.cloud.aiplatform.v1.PairwiseQuestionAnsweringQualityResult pairwise_question_answering_quality_result = 23; + * @return \Google\Cloud\AIPlatform\V1\PairwiseQuestionAnsweringQualityResult|null + */ + public function getPairwiseQuestionAnsweringQualityResult() + { + return $this->readOneof(23); + } + + public function hasPairwiseQuestionAnsweringQualityResult() + { + return $this->hasOneof(23); + } + + /** + * Result for pairwise question answering quality metric. + * + * Generated from protobuf field .google.cloud.aiplatform.v1.PairwiseQuestionAnsweringQualityResult pairwise_question_answering_quality_result = 23; + * @param \Google\Cloud\AIPlatform\V1\PairwiseQuestionAnsweringQualityResult $var + * @return $this + */ + public function setPairwiseQuestionAnsweringQualityResult($var) + { + GPBUtil::checkMessage($var, \Google\Cloud\AIPlatform\V1\PairwiseQuestionAnsweringQualityResult::class); + $this->writeOneof(23, $var); + + return $this; + } + + /** + * Result for question answering relevance metric. + * + * Generated from protobuf field .google.cloud.aiplatform.v1.QuestionAnsweringRelevanceResult question_answering_relevance_result = 15; + * @return \Google\Cloud\AIPlatform\V1\QuestionAnsweringRelevanceResult|null + */ + public function getQuestionAnsweringRelevanceResult() + { + return $this->readOneof(15); + } + + public function hasQuestionAnsweringRelevanceResult() + { + return $this->hasOneof(15); + } + + /** + * Result for question answering relevance metric. + * + * Generated from protobuf field .google.cloud.aiplatform.v1.QuestionAnsweringRelevanceResult question_answering_relevance_result = 15; + * @param \Google\Cloud\AIPlatform\V1\QuestionAnsweringRelevanceResult $var + * @return $this + */ + public function setQuestionAnsweringRelevanceResult($var) + { + GPBUtil::checkMessage($var, \Google\Cloud\AIPlatform\V1\QuestionAnsweringRelevanceResult::class); + $this->writeOneof(15, $var); + + return $this; + } + + /** + * Result for question answering helpfulness metric. + * + * Generated from protobuf field .google.cloud.aiplatform.v1.QuestionAnsweringHelpfulnessResult question_answering_helpfulness_result = 16; + * @return \Google\Cloud\AIPlatform\V1\QuestionAnsweringHelpfulnessResult|null + */ + public function getQuestionAnsweringHelpfulnessResult() + { + return $this->readOneof(16); + } + + public function hasQuestionAnsweringHelpfulnessResult() + { + return $this->hasOneof(16); + } + + /** + * Result for question answering helpfulness metric. + * + * Generated from protobuf field .google.cloud.aiplatform.v1.QuestionAnsweringHelpfulnessResult question_answering_helpfulness_result = 16; + * @param \Google\Cloud\AIPlatform\V1\QuestionAnsweringHelpfulnessResult $var + * @return $this + */ + public function setQuestionAnsweringHelpfulnessResult($var) + { + GPBUtil::checkMessage($var, \Google\Cloud\AIPlatform\V1\QuestionAnsweringHelpfulnessResult::class); + $this->writeOneof(16, $var); + + return $this; + } + + /** + * Result for question answering correctness metric. + * + * Generated from protobuf field .google.cloud.aiplatform.v1.QuestionAnsweringCorrectnessResult question_answering_correctness_result = 17; + * @return \Google\Cloud\AIPlatform\V1\QuestionAnsweringCorrectnessResult|null + */ + public function getQuestionAnsweringCorrectnessResult() + { + return $this->readOneof(17); + } + + public function hasQuestionAnsweringCorrectnessResult() + { + return $this->hasOneof(17); + } + + /** + * Result for question answering correctness metric. + * + * Generated from protobuf field .google.cloud.aiplatform.v1.QuestionAnsweringCorrectnessResult question_answering_correctness_result = 17; + * @param \Google\Cloud\AIPlatform\V1\QuestionAnsweringCorrectnessResult $var + * @return $this + */ + public function setQuestionAnsweringCorrectnessResult($var) + { + GPBUtil::checkMessage($var, \Google\Cloud\AIPlatform\V1\QuestionAnsweringCorrectnessResult::class); + $this->writeOneof(17, $var); + + return $this; + } + + /** + * Generic metrics. + * Result for pointwise metric. + * + * Generated from protobuf field .google.cloud.aiplatform.v1.PointwiseMetricResult pointwise_metric_result = 27; + * @return \Google\Cloud\AIPlatform\V1\PointwiseMetricResult|null + */ + public function getPointwiseMetricResult() + { + return $this->readOneof(27); + } + + public function hasPointwiseMetricResult() + { + return $this->hasOneof(27); + } + + /** + * Generic metrics. + * Result for pointwise metric. + * + * Generated from protobuf field .google.cloud.aiplatform.v1.PointwiseMetricResult pointwise_metric_result = 27; + * @param \Google\Cloud\AIPlatform\V1\PointwiseMetricResult $var + * @return $this + */ + public function setPointwiseMetricResult($var) + { + GPBUtil::checkMessage($var, \Google\Cloud\AIPlatform\V1\PointwiseMetricResult::class); + $this->writeOneof(27, $var); + + return $this; + } + + /** + * Result for pairwise metric. + * + * Generated from protobuf field .google.cloud.aiplatform.v1.PairwiseMetricResult pairwise_metric_result = 28; + * @return \Google\Cloud\AIPlatform\V1\PairwiseMetricResult|null + */ + public function getPairwiseMetricResult() + { + return $this->readOneof(28); + } + + public function hasPairwiseMetricResult() + { + return $this->hasOneof(28); + } + + /** + * Result for pairwise metric. + * + * Generated from protobuf field .google.cloud.aiplatform.v1.PairwiseMetricResult pairwise_metric_result = 28; + * @param \Google\Cloud\AIPlatform\V1\PairwiseMetricResult $var + * @return $this + */ + public function setPairwiseMetricResult($var) + { + GPBUtil::checkMessage($var, \Google\Cloud\AIPlatform\V1\PairwiseMetricResult::class); + $this->writeOneof(28, $var); + + return $this; + } + + /** + * Tool call metrics. + * Results for tool call valid metric. + * + * Generated from protobuf field .google.cloud.aiplatform.v1.ToolCallValidResults tool_call_valid_results = 18; + * @return \Google\Cloud\AIPlatform\V1\ToolCallValidResults|null + */ + public function getToolCallValidResults() + { + return $this->readOneof(18); + } + + public function hasToolCallValidResults() + { + return $this->hasOneof(18); + } + + /** + * Tool call metrics. + * Results for tool call valid metric. + * + * Generated from protobuf field .google.cloud.aiplatform.v1.ToolCallValidResults tool_call_valid_results = 18; + * @param \Google\Cloud\AIPlatform\V1\ToolCallValidResults $var + * @return $this + */ + public function setToolCallValidResults($var) + { + GPBUtil::checkMessage($var, \Google\Cloud\AIPlatform\V1\ToolCallValidResults::class); + $this->writeOneof(18, $var); + + return $this; + } + + /** + * Results for tool name match metric. + * + * Generated from protobuf field .google.cloud.aiplatform.v1.ToolNameMatchResults tool_name_match_results = 19; + * @return \Google\Cloud\AIPlatform\V1\ToolNameMatchResults|null + */ + public function getToolNameMatchResults() + { + return $this->readOneof(19); + } + + public function hasToolNameMatchResults() + { + return $this->hasOneof(19); + } + + /** + * Results for tool name match metric. + * + * Generated from protobuf field .google.cloud.aiplatform.v1.ToolNameMatchResults tool_name_match_results = 19; + * @param \Google\Cloud\AIPlatform\V1\ToolNameMatchResults $var + * @return $this + */ + public function setToolNameMatchResults($var) + { + GPBUtil::checkMessage($var, \Google\Cloud\AIPlatform\V1\ToolNameMatchResults::class); + $this->writeOneof(19, $var); + + return $this; + } + + /** + * Results for tool parameter key match metric. + * + * Generated from protobuf field .google.cloud.aiplatform.v1.ToolParameterKeyMatchResults tool_parameter_key_match_results = 20; + * @return \Google\Cloud\AIPlatform\V1\ToolParameterKeyMatchResults|null + */ + public function getToolParameterKeyMatchResults() + { + return $this->readOneof(20); + } + + public function hasToolParameterKeyMatchResults() + { + return $this->hasOneof(20); + } + + /** + * Results for tool parameter key match metric. + * + * Generated from protobuf field .google.cloud.aiplatform.v1.ToolParameterKeyMatchResults tool_parameter_key_match_results = 20; + * @param \Google\Cloud\AIPlatform\V1\ToolParameterKeyMatchResults $var + * @return $this + */ + public function setToolParameterKeyMatchResults($var) + { + GPBUtil::checkMessage($var, \Google\Cloud\AIPlatform\V1\ToolParameterKeyMatchResults::class); + $this->writeOneof(20, $var); + + return $this; + } + + /** + * Results for tool parameter key value match metric. + * + * Generated from protobuf field .google.cloud.aiplatform.v1.ToolParameterKVMatchResults tool_parameter_kv_match_results = 21; + * @return \Google\Cloud\AIPlatform\V1\ToolParameterKVMatchResults|null + */ + public function getToolParameterKvMatchResults() + { + return $this->readOneof(21); + } + + public function hasToolParameterKvMatchResults() + { + return $this->hasOneof(21); + } + + /** + * Results for tool parameter key value match metric. + * + * Generated from protobuf field .google.cloud.aiplatform.v1.ToolParameterKVMatchResults tool_parameter_kv_match_results = 21; + * @param \Google\Cloud\AIPlatform\V1\ToolParameterKVMatchResults $var + * @return $this + */ + public function setToolParameterKvMatchResults($var) + { + GPBUtil::checkMessage($var, \Google\Cloud\AIPlatform\V1\ToolParameterKVMatchResults::class); + $this->writeOneof(21, $var); + + return $this; + } + + /** + * Translation metrics. + * Result for Comet metric. + * + * Generated from protobuf field .google.cloud.aiplatform.v1.CometResult comet_result = 29; + * @return \Google\Cloud\AIPlatform\V1\CometResult|null + */ + public function getCometResult() + { + return $this->readOneof(29); + } + + public function hasCometResult() + { + return $this->hasOneof(29); + } + + /** + * Translation metrics. + * Result for Comet metric. + * + * Generated from protobuf field .google.cloud.aiplatform.v1.CometResult comet_result = 29; + * @param \Google\Cloud\AIPlatform\V1\CometResult $var + * @return $this + */ + public function setCometResult($var) + { + GPBUtil::checkMessage($var, \Google\Cloud\AIPlatform\V1\CometResult::class); + $this->writeOneof(29, $var); + + return $this; + } + + /** + * Result for Metricx metric. + * + * Generated from protobuf field .google.cloud.aiplatform.v1.MetricxResult metricx_result = 30; + * @return \Google\Cloud\AIPlatform\V1\MetricxResult|null + */ + public function getMetricxResult() + { + return $this->readOneof(30); + } + + public function hasMetricxResult() + { + return $this->hasOneof(30); + } + + /** + * Result for Metricx metric. + * + * Generated from protobuf field .google.cloud.aiplatform.v1.MetricxResult metricx_result = 30; + * @param \Google\Cloud\AIPlatform\V1\MetricxResult $var + * @return $this + */ + public function setMetricxResult($var) + { + GPBUtil::checkMessage($var, \Google\Cloud\AIPlatform\V1\MetricxResult::class); + $this->writeOneof(30, $var); + + return $this; + } + + /** + * @return string + */ + public function getEvaluationResults() + { + return $this->whichOneof("evaluation_results"); + } + +} + 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..6bdbe63e8fc1 --- /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][google.cloud.aiplatform.v1.EvaluatedAnnotation.evaluated_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 \Google\Protobuf\Value[] $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][google.cloud.aiplatform.v1.EvaluatedAnnotation.evaluated_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 \Google\Protobuf\Value[] $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 \Google\Cloud\AIPlatform\V1\EvaluatedAnnotationExplanation[] $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 \Google\Cloud\AIPlatform\V1\ErrorAnalysisAnnotation[] $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][google.cloud.aiplatform.v1.EvaluatedAnnotation.evaluated_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 RepeatedField<\Google\Protobuf\Value> + */ + 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][google.cloud.aiplatform.v1.EvaluatedAnnotation.evaluated_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 \Google\Protobuf\Value[] $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 RepeatedField<\Google\Protobuf\Value> + */ + 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 \Google\Protobuf\Value[] $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 RepeatedField<\Google\Cloud\AIPlatform\V1\EvaluatedAnnotationExplanation> + */ + 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 \Google\Cloud\AIPlatform\V1\EvaluatedAnnotationExplanation[] $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 RepeatedField<\Google\Cloud\AIPlatform\V1\ErrorAnalysisAnnotation> + */ + 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 \Google\Cloud\AIPlatform\V1\ErrorAnalysisAnnotation[] $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..dd9874056d50 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/EvaluatedAnnotation/EvaluatedAnnotationType.php @@ -0,0 +1,71 @@ +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); + } +} + 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..1c5b6eb7b06b --- /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..c977794bd7d7 --- /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..391b65f3018d --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/Event/Type.php @@ -0,0 +1,61 @@ +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); + } +} + diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/EventActions.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/EventActions.php new file mode 100644 index 000000000000..a0aed66e11b6 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/EventActions.php @@ -0,0 +1,281 @@ +google.cloud.aiplatform.v1.EventActions + */ +class EventActions extends \Google\Protobuf\Internal\Message +{ + /** + * Optional. If true, it won't call model to summarize function response. + * Only used for function_response event. + * + * Generated from protobuf field bool skip_summarization = 1 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $skip_summarization = false; + /** + * Optional. Indicates that the event is updating the state with the given + * delta. + * + * Generated from protobuf field .google.protobuf.Struct state_delta = 2 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $state_delta = null; + /** + * Optional. Indicates that the event is updating an artifact. key is the + * filename, value is the version. + * + * Generated from protobuf field map artifact_delta = 3 [(.google.api.field_behavior) = OPTIONAL]; + */ + private $artifact_delta; + /** + * Optional. The agent is escalating to a higher level agent. + * + * Generated from protobuf field bool escalate = 6 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $escalate = false; + /** + * Optional. Will only be set by a tool response indicating tool request euc. + * Struct key is the function call id since one function call response (from + * model) could correspond to multiple function calls. Struct value is the + * required auth config, which can be another struct. + * + * Generated from protobuf field .google.protobuf.Struct requested_auth_configs = 7 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $requested_auth_configs = null; + /** + * Optional. If set, the event transfers to the specified agent. + * + * Generated from protobuf field string transfer_agent = 8 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $transfer_agent = ''; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type bool $skip_summarization + * Optional. If true, it won't call model to summarize function response. + * Only used for function_response event. + * @type \Google\Protobuf\Struct $state_delta + * Optional. Indicates that the event is updating the state with the given + * delta. + * @type array|\Google\Protobuf\Internal\MapField $artifact_delta + * Optional. Indicates that the event is updating an artifact. key is the + * filename, value is the version. + * @type bool $escalate + * Optional. The agent is escalating to a higher level agent. + * @type \Google\Protobuf\Struct $requested_auth_configs + * Optional. Will only be set by a tool response indicating tool request euc. + * Struct key is the function call id since one function call response (from + * model) could correspond to multiple function calls. Struct value is the + * required auth config, which can be another struct. + * @type string $transfer_agent + * Optional. If set, the event transfers to the specified agent. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Cloud\Aiplatform\V1\Session::initOnce(); + parent::__construct($data); + } + + /** + * Optional. If true, it won't call model to summarize function response. + * Only used for function_response event. + * + * Generated from protobuf field bool skip_summarization = 1 [(.google.api.field_behavior) = OPTIONAL]; + * @return bool + */ + public function getSkipSummarization() + { + return $this->skip_summarization; + } + + /** + * Optional. If true, it won't call model to summarize function response. + * Only used for function_response event. + * + * Generated from protobuf field bool skip_summarization = 1 [(.google.api.field_behavior) = OPTIONAL]; + * @param bool $var + * @return $this + */ + public function setSkipSummarization($var) + { + GPBUtil::checkBool($var); + $this->skip_summarization = $var; + + return $this; + } + + /** + * Optional. Indicates that the event is updating the state with the given + * delta. + * + * Generated from protobuf field .google.protobuf.Struct state_delta = 2 [(.google.api.field_behavior) = OPTIONAL]; + * @return \Google\Protobuf\Struct|null + */ + public function getStateDelta() + { + return $this->state_delta; + } + + public function hasStateDelta() + { + return isset($this->state_delta); + } + + public function clearStateDelta() + { + unset($this->state_delta); + } + + /** + * Optional. Indicates that the event is updating the state with the given + * delta. + * + * Generated from protobuf field .google.protobuf.Struct state_delta = 2 [(.google.api.field_behavior) = OPTIONAL]; + * @param \Google\Protobuf\Struct $var + * @return $this + */ + public function setStateDelta($var) + { + GPBUtil::checkMessage($var, \Google\Protobuf\Struct::class); + $this->state_delta = $var; + + return $this; + } + + /** + * Optional. Indicates that the event is updating an artifact. key is the + * filename, value is the version. + * + * Generated from protobuf field map artifact_delta = 3 [(.google.api.field_behavior) = OPTIONAL]; + * @return \Google\Protobuf\Internal\MapField + */ + public function getArtifactDelta() + { + return $this->artifact_delta; + } + + /** + * Optional. Indicates that the event is updating an artifact. key is the + * filename, value is the version. + * + * Generated from protobuf field map artifact_delta = 3 [(.google.api.field_behavior) = OPTIONAL]; + * @param array|\Google\Protobuf\Internal\MapField $var + * @return $this + */ + public function setArtifactDelta($var) + { + $arr = GPBUtil::checkMapField($var, \Google\Protobuf\Internal\GPBType::STRING, \Google\Protobuf\Internal\GPBType::INT32); + $this->artifact_delta = $arr; + + return $this; + } + + /** + * Optional. The agent is escalating to a higher level agent. + * + * Generated from protobuf field bool escalate = 6 [(.google.api.field_behavior) = OPTIONAL]; + * @return bool + */ + public function getEscalate() + { + return $this->escalate; + } + + /** + * Optional. The agent is escalating to a higher level agent. + * + * Generated from protobuf field bool escalate = 6 [(.google.api.field_behavior) = OPTIONAL]; + * @param bool $var + * @return $this + */ + public function setEscalate($var) + { + GPBUtil::checkBool($var); + $this->escalate = $var; + + return $this; + } + + /** + * Optional. Will only be set by a tool response indicating tool request euc. + * Struct key is the function call id since one function call response (from + * model) could correspond to multiple function calls. Struct value is the + * required auth config, which can be another struct. + * + * Generated from protobuf field .google.protobuf.Struct requested_auth_configs = 7 [(.google.api.field_behavior) = OPTIONAL]; + * @return \Google\Protobuf\Struct|null + */ + public function getRequestedAuthConfigs() + { + return $this->requested_auth_configs; + } + + public function hasRequestedAuthConfigs() + { + return isset($this->requested_auth_configs); + } + + public function clearRequestedAuthConfigs() + { + unset($this->requested_auth_configs); + } + + /** + * Optional. Will only be set by a tool response indicating tool request euc. + * Struct key is the function call id since one function call response (from + * model) could correspond to multiple function calls. Struct value is the + * required auth config, which can be another struct. + * + * Generated from protobuf field .google.protobuf.Struct requested_auth_configs = 7 [(.google.api.field_behavior) = OPTIONAL]; + * @param \Google\Protobuf\Struct $var + * @return $this + */ + public function setRequestedAuthConfigs($var) + { + GPBUtil::checkMessage($var, \Google\Protobuf\Struct::class); + $this->requested_auth_configs = $var; + + return $this; + } + + /** + * Optional. If set, the event transfers to the specified agent. + * + * Generated from protobuf field string transfer_agent = 8 [(.google.api.field_behavior) = OPTIONAL]; + * @return string + */ + public function getTransferAgent() + { + return $this->transfer_agent; + } + + /** + * Optional. If set, the event transfers to the specified agent. + * + * Generated from protobuf field string transfer_agent = 8 [(.google.api.field_behavior) = OPTIONAL]; + * @param string $var + * @return $this + */ + public function setTransferAgent($var) + { + GPBUtil::checkString($var, True); + $this->transfer_agent = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/EventMetadata.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/EventMetadata.php new file mode 100644 index 000000000000..4f7fb5649c36 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/EventMetadata.php @@ -0,0 +1,415 @@ +google.cloud.aiplatform.v1.EventMetadata + */ +class EventMetadata extends \Google\Protobuf\Internal\Message +{ + /** + * Optional. Metadata returned to client when grounding is enabled. + * + * Generated from protobuf field .google.cloud.aiplatform.v1.GroundingMetadata grounding_metadata = 1 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $grounding_metadata = null; + /** + * Optional. Indicates whether the text content is part of a unfinished text + * stream. Only used for streaming mode and when the content is plain text. + * + * Generated from protobuf field bool partial = 2 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $partial = false; + /** + * Optional. Indicates whether the response from the model is complete. + * Only used for streaming mode. + * + * Generated from protobuf field bool turn_complete = 3 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $turn_complete = false; + /** + * Optional. Flag indicating that LLM was interrupted when generating the + * content. Usually it's due to user interruption during a bidi streaming. + * + * Generated from protobuf field bool interrupted = 4 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $interrupted = false; + /** + * Optional. Set of ids of the long running function calls. + * Agent client will know from this field about which function call is long + * running. Only valid for function call event. + * + * Generated from protobuf field repeated string long_running_tool_ids = 5 [(.google.api.field_behavior) = OPTIONAL]; + */ + private $long_running_tool_ids; + /** + * Optional. The branch of the event. + * The format is like agent_1.agent_2.agent_3, where agent_1 is the parent of + * agent_2, and agent_2 is the parent of agent_3. + * Branch is used when multiple child agents shouldn't see their siblings' + * conversation history. + * + * Generated from protobuf field string branch = 6 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $branch = ''; + /** + * The custom metadata of the LlmResponse. + * + * Generated from protobuf field .google.protobuf.Struct custom_metadata = 7; + */ + protected $custom_metadata = null; + /** + * Optional. Audio transcription of user input. + * + * Generated from protobuf field .google.cloud.aiplatform.v1.Transcription input_transcription = 10 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $input_transcription = null; + /** + * Optional. Audio transcription of model output. + * + * Generated from protobuf field .google.cloud.aiplatform.v1.Transcription output_transcription = 11 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $output_transcription = null; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type \Google\Cloud\AIPlatform\V1\GroundingMetadata $grounding_metadata + * Optional. Metadata returned to client when grounding is enabled. + * @type bool $partial + * Optional. Indicates whether the text content is part of a unfinished text + * stream. Only used for streaming mode and when the content is plain text. + * @type bool $turn_complete + * Optional. Indicates whether the response from the model is complete. + * Only used for streaming mode. + * @type bool $interrupted + * Optional. Flag indicating that LLM was interrupted when generating the + * content. Usually it's due to user interruption during a bidi streaming. + * @type string[] $long_running_tool_ids + * Optional. Set of ids of the long running function calls. + * Agent client will know from this field about which function call is long + * running. Only valid for function call event. + * @type string $branch + * Optional. The branch of the event. + * The format is like agent_1.agent_2.agent_3, where agent_1 is the parent of + * agent_2, and agent_2 is the parent of agent_3. + * Branch is used when multiple child agents shouldn't see their siblings' + * conversation history. + * @type \Google\Protobuf\Struct $custom_metadata + * The custom metadata of the LlmResponse. + * @type \Google\Cloud\AIPlatform\V1\Transcription $input_transcription + * Optional. Audio transcription of user input. + * @type \Google\Cloud\AIPlatform\V1\Transcription $output_transcription + * Optional. Audio transcription of model output. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Cloud\Aiplatform\V1\Session::initOnce(); + parent::__construct($data); + } + + /** + * Optional. Metadata returned to client when grounding is enabled. + * + * Generated from protobuf field .google.cloud.aiplatform.v1.GroundingMetadata grounding_metadata = 1 [(.google.api.field_behavior) = OPTIONAL]; + * @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); + } + + /** + * Optional. Metadata returned to client when grounding is enabled. + * + * Generated from protobuf field .google.cloud.aiplatform.v1.GroundingMetadata grounding_metadata = 1 [(.google.api.field_behavior) = OPTIONAL]; + * @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; + } + + /** + * Optional. Indicates whether the text content is part of a unfinished text + * stream. Only used for streaming mode and when the content is plain text. + * + * Generated from protobuf field bool partial = 2 [(.google.api.field_behavior) = OPTIONAL]; + * @return bool + */ + public function getPartial() + { + return $this->partial; + } + + /** + * Optional. Indicates whether the text content is part of a unfinished text + * stream. Only used for streaming mode and when the content is plain text. + * + * Generated from protobuf field bool partial = 2 [(.google.api.field_behavior) = OPTIONAL]; + * @param bool $var + * @return $this + */ + public function setPartial($var) + { + GPBUtil::checkBool($var); + $this->partial = $var; + + return $this; + } + + /** + * Optional. Indicates whether the response from the model is complete. + * Only used for streaming mode. + * + * Generated from protobuf field bool turn_complete = 3 [(.google.api.field_behavior) = OPTIONAL]; + * @return bool + */ + public function getTurnComplete() + { + return $this->turn_complete; + } + + /** + * Optional. Indicates whether the response from the model is complete. + * Only used for streaming mode. + * + * Generated from protobuf field bool turn_complete = 3 [(.google.api.field_behavior) = OPTIONAL]; + * @param bool $var + * @return $this + */ + public function setTurnComplete($var) + { + GPBUtil::checkBool($var); + $this->turn_complete = $var; + + return $this; + } + + /** + * Optional. Flag indicating that LLM was interrupted when generating the + * content. Usually it's due to user interruption during a bidi streaming. + * + * Generated from protobuf field bool interrupted = 4 [(.google.api.field_behavior) = OPTIONAL]; + * @return bool + */ + public function getInterrupted() + { + return $this->interrupted; + } + + /** + * Optional. Flag indicating that LLM was interrupted when generating the + * content. Usually it's due to user interruption during a bidi streaming. + * + * Generated from protobuf field bool interrupted = 4 [(.google.api.field_behavior) = OPTIONAL]; + * @param bool $var + * @return $this + */ + public function setInterrupted($var) + { + GPBUtil::checkBool($var); + $this->interrupted = $var; + + return $this; + } + + /** + * Optional. Set of ids of the long running function calls. + * Agent client will know from this field about which function call is long + * running. Only valid for function call event. + * + * Generated from protobuf field repeated string long_running_tool_ids = 5 [(.google.api.field_behavior) = OPTIONAL]; + * @return RepeatedField + */ + public function getLongRunningToolIds() + { + return $this->long_running_tool_ids; + } + + /** + * Optional. Set of ids of the long running function calls. + * Agent client will know from this field about which function call is long + * running. Only valid for function call event. + * + * Generated from protobuf field repeated string long_running_tool_ids = 5 [(.google.api.field_behavior) = OPTIONAL]; + * @param string[] $var + * @return $this + */ + public function setLongRunningToolIds($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING); + $this->long_running_tool_ids = $arr; + + return $this; + } + + /** + * Optional. The branch of the event. + * The format is like agent_1.agent_2.agent_3, where agent_1 is the parent of + * agent_2, and agent_2 is the parent of agent_3. + * Branch is used when multiple child agents shouldn't see their siblings' + * conversation history. + * + * Generated from protobuf field string branch = 6 [(.google.api.field_behavior) = OPTIONAL]; + * @return string + */ + public function getBranch() + { + return $this->branch; + } + + /** + * Optional. The branch of the event. + * The format is like agent_1.agent_2.agent_3, where agent_1 is the parent of + * agent_2, and agent_2 is the parent of agent_3. + * Branch is used when multiple child agents shouldn't see their siblings' + * conversation history. + * + * Generated from protobuf field string branch = 6 [(.google.api.field_behavior) = OPTIONAL]; + * @param string $var + * @return $this + */ + public function setBranch($var) + { + GPBUtil::checkString($var, True); + $this->branch = $var; + + return $this; + } + + /** + * The custom metadata of the LlmResponse. + * + * Generated from protobuf field .google.protobuf.Struct custom_metadata = 7; + * @return \Google\Protobuf\Struct|null + */ + public function getCustomMetadata() + { + return $this->custom_metadata; + } + + public function hasCustomMetadata() + { + return isset($this->custom_metadata); + } + + public function clearCustomMetadata() + { + unset($this->custom_metadata); + } + + /** + * The custom metadata of the LlmResponse. + * + * Generated from protobuf field .google.protobuf.Struct custom_metadata = 7; + * @param \Google\Protobuf\Struct $var + * @return $this + */ + public function setCustomMetadata($var) + { + GPBUtil::checkMessage($var, \Google\Protobuf\Struct::class); + $this->custom_metadata = $var; + + return $this; + } + + /** + * Optional. Audio transcription of user input. + * + * Generated from protobuf field .google.cloud.aiplatform.v1.Transcription input_transcription = 10 [(.google.api.field_behavior) = OPTIONAL]; + * @return \Google\Cloud\AIPlatform\V1\Transcription|null + */ + public function getInputTranscription() + { + return $this->input_transcription; + } + + public function hasInputTranscription() + { + return isset($this->input_transcription); + } + + public function clearInputTranscription() + { + unset($this->input_transcription); + } + + /** + * Optional. Audio transcription of user input. + * + * Generated from protobuf field .google.cloud.aiplatform.v1.Transcription input_transcription = 10 [(.google.api.field_behavior) = OPTIONAL]; + * @param \Google\Cloud\AIPlatform\V1\Transcription $var + * @return $this + */ + public function setInputTranscription($var) + { + GPBUtil::checkMessage($var, \Google\Cloud\AIPlatform\V1\Transcription::class); + $this->input_transcription = $var; + + return $this; + } + + /** + * Optional. Audio transcription of model output. + * + * Generated from protobuf field .google.cloud.aiplatform.v1.Transcription output_transcription = 11 [(.google.api.field_behavior) = OPTIONAL]; + * @return \Google\Cloud\AIPlatform\V1\Transcription|null + */ + public function getOutputTranscription() + { + return $this->output_transcription; + } + + public function hasOutputTranscription() + { + return isset($this->output_transcription); + } + + public function clearOutputTranscription() + { + unset($this->output_transcription); + } + + /** + * Optional. Audio transcription of model output. + * + * Generated from protobuf field .google.cloud.aiplatform.v1.Transcription output_transcription = 11 [(.google.api.field_behavior) = OPTIONAL]; + * @param \Google\Cloud\AIPlatform\V1\Transcription $var + * @return $this + */ + public function setOutputTranscription($var) + { + GPBUtil::checkMessage($var, \Google\Cloud\AIPlatform\V1\Transcription::class); + $this->output_transcription = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ExactMatchInput.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ExactMatchInput.php new file mode 100644 index 000000000000..b3c2ff182d8e --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ExactMatchInput.php @@ -0,0 +1,111 @@ +google.cloud.aiplatform.v1.ExactMatchInput + */ +class ExactMatchInput extends \Google\Protobuf\Internal\Message +{ + /** + * Required. Spec for exact match metric. + * + * Generated from protobuf field .google.cloud.aiplatform.v1.ExactMatchSpec metric_spec = 1 [(.google.api.field_behavior) = REQUIRED]; + */ + protected $metric_spec = null; + /** + * Required. Repeated exact match instances. + * + * Generated from protobuf field repeated .google.cloud.aiplatform.v1.ExactMatchInstance instances = 2 [(.google.api.field_behavior) = REQUIRED]; + */ + private $instances; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type \Google\Cloud\AIPlatform\V1\ExactMatchSpec $metric_spec + * Required. Spec for exact match metric. + * @type \Google\Cloud\AIPlatform\V1\ExactMatchInstance[] $instances + * Required. Repeated exact match instances. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Cloud\Aiplatform\V1\EvaluationService::initOnce(); + parent::__construct($data); + } + + /** + * Required. Spec for exact match metric. + * + * Generated from protobuf field .google.cloud.aiplatform.v1.ExactMatchSpec metric_spec = 1 [(.google.api.field_behavior) = REQUIRED]; + * @return \Google\Cloud\AIPlatform\V1\ExactMatchSpec|null + */ + public function getMetricSpec() + { + return $this->metric_spec; + } + + public function hasMetricSpec() + { + return isset($this->metric_spec); + } + + public function clearMetricSpec() + { + unset($this->metric_spec); + } + + /** + * Required. Spec for exact match metric. + * + * Generated from protobuf field .google.cloud.aiplatform.v1.ExactMatchSpec metric_spec = 1 [(.google.api.field_behavior) = REQUIRED]; + * @param \Google\Cloud\AIPlatform\V1\ExactMatchSpec $var + * @return $this + */ + public function setMetricSpec($var) + { + GPBUtil::checkMessage($var, \Google\Cloud\AIPlatform\V1\ExactMatchSpec::class); + $this->metric_spec = $var; + + return $this; + } + + /** + * Required. Repeated exact match instances. + * + * Generated from protobuf field repeated .google.cloud.aiplatform.v1.ExactMatchInstance instances = 2 [(.google.api.field_behavior) = REQUIRED]; + * @return RepeatedField<\Google\Cloud\AIPlatform\V1\ExactMatchInstance> + */ + public function getInstances() + { + return $this->instances; + } + + /** + * Required. Repeated exact match instances. + * + * Generated from protobuf field repeated .google.cloud.aiplatform.v1.ExactMatchInstance instances = 2 [(.google.api.field_behavior) = REQUIRED]; + * @param \Google\Cloud\AIPlatform\V1\ExactMatchInstance[] $var + * @return $this + */ + public function setInstances($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\AIPlatform\V1\ExactMatchInstance::class); + $this->instances = $arr; + + return $this; + } + +} + diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ExactMatchInstance.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ExactMatchInstance.php new file mode 100644 index 000000000000..c4c0b2759643 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ExactMatchInstance.php @@ -0,0 +1,121 @@ +google.cloud.aiplatform.v1.ExactMatchInstance + */ +class ExactMatchInstance extends \Google\Protobuf\Internal\Message +{ + /** + * Required. Output of the evaluated model. + * + * Generated from protobuf field optional string prediction = 1 [(.google.api.field_behavior) = REQUIRED]; + */ + protected $prediction = null; + /** + * Required. Ground truth used to compare against the prediction. + * + * Generated from protobuf field optional string reference = 2 [(.google.api.field_behavior) = REQUIRED]; + */ + protected $reference = null; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $prediction + * Required. Output of the evaluated model. + * @type string $reference + * Required. Ground truth used to compare against the prediction. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Cloud\Aiplatform\V1\EvaluationService::initOnce(); + parent::__construct($data); + } + + /** + * Required. Output of the evaluated model. + * + * Generated from protobuf field optional string prediction = 1 [(.google.api.field_behavior) = REQUIRED]; + * @return string + */ + public function getPrediction() + { + return isset($this->prediction) ? $this->prediction : ''; + } + + public function hasPrediction() + { + return isset($this->prediction); + } + + public function clearPrediction() + { + unset($this->prediction); + } + + /** + * Required. Output of the evaluated model. + * + * Generated from protobuf field optional string prediction = 1 [(.google.api.field_behavior) = REQUIRED]; + * @param string $var + * @return $this + */ + public function setPrediction($var) + { + GPBUtil::checkString($var, True); + $this->prediction = $var; + + return $this; + } + + /** + * Required. Ground truth used to compare against the prediction. + * + * Generated from protobuf field optional string reference = 2 [(.google.api.field_behavior) = REQUIRED]; + * @return string + */ + public function getReference() + { + return isset($this->reference) ? $this->reference : ''; + } + + public function hasReference() + { + return isset($this->reference); + } + + public function clearReference() + { + unset($this->reference); + } + + /** + * Required. Ground truth used to compare against the prediction. + * + * Generated from protobuf field optional string reference = 2 [(.google.api.field_behavior) = REQUIRED]; + * @param string $var + * @return $this + */ + public function setReference($var) + { + GPBUtil::checkString($var, True); + $this->reference = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ExactMatchMetricValue.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ExactMatchMetricValue.php new file mode 100644 index 000000000000..0b63b35b8d55 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ExactMatchMetricValue.php @@ -0,0 +1,77 @@ +google.cloud.aiplatform.v1.ExactMatchMetricValue + */ +class ExactMatchMetricValue extends \Google\Protobuf\Internal\Message +{ + /** + * Output only. Exact match score. + * + * Generated from protobuf field optional float score = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + protected $score = null; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type float $score + * Output only. Exact match score. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Cloud\Aiplatform\V1\EvaluationService::initOnce(); + parent::__construct($data); + } + + /** + * Output only. Exact match score. + * + * Generated from protobuf field optional float score = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return float + */ + public function getScore() + { + return isset($this->score) ? $this->score : 0.0; + } + + public function hasScore() + { + return isset($this->score); + } + + public function clearScore() + { + unset($this->score); + } + + /** + * Output only. Exact match score. + * + * Generated from protobuf field optional float score = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @param float $var + * @return $this + */ + public function setScore($var) + { + GPBUtil::checkFloat($var); + $this->score = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ExactMatchResults.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ExactMatchResults.php new file mode 100644 index 000000000000..fa0c632f48ce --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ExactMatchResults.php @@ -0,0 +1,67 @@ +google.cloud.aiplatform.v1.ExactMatchResults + */ +class ExactMatchResults extends \Google\Protobuf\Internal\Message +{ + /** + * Output only. Exact match metric values. + * + * Generated from protobuf field repeated .google.cloud.aiplatform.v1.ExactMatchMetricValue exact_match_metric_values = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + private $exact_match_metric_values; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type \Google\Cloud\AIPlatform\V1\ExactMatchMetricValue[] $exact_match_metric_values + * Output only. Exact match metric values. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Cloud\Aiplatform\V1\EvaluationService::initOnce(); + parent::__construct($data); + } + + /** + * Output only. Exact match metric values. + * + * Generated from protobuf field repeated .google.cloud.aiplatform.v1.ExactMatchMetricValue exact_match_metric_values = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return RepeatedField<\Google\Cloud\AIPlatform\V1\ExactMatchMetricValue> + */ + public function getExactMatchMetricValues() + { + return $this->exact_match_metric_values; + } + + /** + * Output only. Exact match metric values. + * + * Generated from protobuf field repeated .google.cloud.aiplatform.v1.ExactMatchMetricValue exact_match_metric_values = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @param \Google\Cloud\AIPlatform\V1\ExactMatchMetricValue[] $var + * @return $this + */ + public function setExactMatchMetricValues($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\AIPlatform\V1\ExactMatchMetricValue::class); + $this->exact_match_metric_values = $arr; + + return $this; + } + +} + diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ExactMatchSpec.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ExactMatchSpec.php new file mode 100644 index 000000000000..582131b14636 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ExactMatchSpec.php @@ -0,0 +1,34 @@ +google.cloud.aiplatform.v1.ExactMatchSpec + */ +class ExactMatchSpec 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\EvaluationService::initOnce(); + parent::__construct($data); + } + +} + 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..bed36f928b5b --- /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..b6a7cc9e0e06 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/Examples/ExampleGcsSource.php @@ -0,0 +1,115 @@ +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; + } + +} + 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..f6e97af99797 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/Examples/ExampleGcsSource/DataFormat.php @@ -0,0 +1,54 @@ +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); + } +} + 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..f9a9975abd33 --- /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 \Google\Cloud\AIPlatform\V1\ExamplesRestrictionsNamespace[] $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 RepeatedField<\Google\Cloud\AIPlatform\V1\ExamplesRestrictionsNamespace> + */ + 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 \Google\Cloud\AIPlatform\V1\ExamplesRestrictionsNamespace[] $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..40702f629609 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ExamplesOverride/DataFormat.php @@ -0,0 +1,61 @@ +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); + } +} + 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..610bc1f82fb7 --- /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 string[] $allow + * The list of allowed tags. + * @type string[] $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 RepeatedField + */ + public function getAllow() + { + return $this->allow; + } + + /** + * The list of allowed tags. + * + * Generated from protobuf field repeated string allow = 2; + * @param string[] $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 RepeatedField + */ + public function getDeny() + { + return $this->deny; + } + + /** + * The list of deny tags. + * + * Generated from protobuf field repeated string deny = 3; + * @param string[] $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/ExecutableCode.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ExecutableCode.php new file mode 100644 index 000000000000..7bf51ab9f68b --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ExecutableCode.php @@ -0,0 +1,104 @@ +google.cloud.aiplatform.v1.ExecutableCode + */ +class ExecutableCode extends \Google\Protobuf\Internal\Message +{ + /** + * Required. Programming language of the `code`. + * + * Generated from protobuf field .google.cloud.aiplatform.v1.ExecutableCode.Language language = 1 [(.google.api.field_behavior) = REQUIRED]; + */ + protected $language = 0; + /** + * Required. The code to be executed. + * + * Generated from protobuf field string code = 2 [(.google.api.field_behavior) = REQUIRED]; + */ + protected $code = ''; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type int $language + * Required. Programming language of the `code`. + * @type string $code + * Required. The code to be executed. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Cloud\Aiplatform\V1\Tool::initOnce(); + parent::__construct($data); + } + + /** + * Required. Programming language of the `code`. + * + * Generated from protobuf field .google.cloud.aiplatform.v1.ExecutableCode.Language language = 1 [(.google.api.field_behavior) = REQUIRED]; + * @return int + */ + public function getLanguage() + { + return $this->language; + } + + /** + * Required. Programming language of the `code`. + * + * Generated from protobuf field .google.cloud.aiplatform.v1.ExecutableCode.Language language = 1 [(.google.api.field_behavior) = REQUIRED]; + * @param int $var + * @return $this + */ + public function setLanguage($var) + { + GPBUtil::checkEnum($var, \Google\Cloud\AIPlatform\V1\ExecutableCode\Language::class); + $this->language = $var; + + return $this; + } + + /** + * Required. The code to be executed. + * + * Generated from protobuf field string code = 2 [(.google.api.field_behavior) = REQUIRED]; + * @return string + */ + public function getCode() + { + return $this->code; + } + + /** + * Required. The code to be executed. + * + * Generated from protobuf field string code = 2 [(.google.api.field_behavior) = REQUIRED]; + * @param string $var + * @return $this + */ + public function setCode($var) + { + GPBUtil::checkString($var, True); + $this->code = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ExecutableCode/Language.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ExecutableCode/Language.php new file mode 100644 index 000000000000..3a37930ebdc8 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ExecutableCode/Language.php @@ -0,0 +1,54 @@ +google.cloud.aiplatform.v1.ExecutableCode.Language + */ +class Language +{ + /** + * Unspecified language. This value should not be used. + * + * Generated from protobuf enum LANGUAGE_UNSPECIFIED = 0; + */ + const LANGUAGE_UNSPECIFIED = 0; + /** + * Python >= 3.10, with numpy and simpy available. + * + * Generated from protobuf enum PYTHON = 1; + */ + const PYTHON = 1; + + private static $valueToName = [ + self::LANGUAGE_UNSPECIFIED => 'LANGUAGE_UNSPECIFIED', + self::PYTHON => 'PYTHON', + ]; + + 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/Execution.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/Execution.php new file mode 100644 index 000000000000..622862661d04 --- /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..9dbdff889f80 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/Execution/State.php @@ -0,0 +1,93 @@ +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); + } +} + 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..5519e8839583 --- /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 \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]. + * @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 RepeatedField<\Google\Protobuf\Value> + */ + 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 \Google\Protobuf\Value[] $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..7e6eb129f19e --- /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 \Google\Cloud\AIPlatform\V1\Explanation[] $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 \Google\Protobuf\Value[] $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 RepeatedField<\Google\Cloud\AIPlatform\V1\Explanation> + */ + 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 \Google\Cloud\AIPlatform\V1\Explanation[] $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 RepeatedField<\Google\Protobuf\Value> + */ + 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 \Google\Protobuf\Value[] $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..89bbad476ced --- /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][google.cloud.aiplatform.v1.Attribution.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 \Google\Cloud\AIPlatform\V1\Attribution[] $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][google.cloud.aiplatform.v1.Attribution.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 \Google\Cloud\AIPlatform\V1\Neighbor[] $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][google.cloud.aiplatform.v1.Attribution.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 RepeatedField<\Google\Cloud\AIPlatform\V1\Attribution> + */ + 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][google.cloud.aiplatform.v1.Attribution.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 \Google\Cloud\AIPlatform\V1\Attribution[] $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 RepeatedField<\Google\Cloud\AIPlatform\V1\Neighbor> + */ + 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 \Google\Cloud\AIPlatform\V1\Neighbor[] $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..25a49bff1314 --- /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..b9fe714d0096 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ExplanationMetadata/InputMetadata.php @@ -0,0 +1,633 @@ +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 \Google\Protobuf\Value[] $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 string[] $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 \Google\Protobuf\Value[] $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 RepeatedField<\Google\Protobuf\Value> + */ + 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 \Google\Protobuf\Value[] $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 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 string[] $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 RepeatedField<\Google\Protobuf\Value> + */ + 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 \Google\Protobuf\Value[] $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; + } + +} + 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..dd22c6e2e2b9 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ExplanationMetadata/InputMetadata/Encoding.php @@ -0,0 +1,130 @@ +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); + } +} + 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..7787bde52143 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ExplanationMetadata/InputMetadata/FeatureValueDomain.php @@ -0,0 +1,192 @@ +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; + } + +} + 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..56db8d1f0005 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ExplanationMetadata/InputMetadata/Visualization.php @@ -0,0 +1,321 @@ +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; + } + +} + 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..c506bb9c61bb --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ExplanationMetadata/InputMetadata/Visualization/ColorMap.php @@ -0,0 +1,91 @@ +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); + } +} + 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..bb6305c16259 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ExplanationMetadata/InputMetadata/Visualization/OverlayType.php @@ -0,0 +1,77 @@ +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); + } +} + 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..2cb7a3d310ee --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ExplanationMetadata/InputMetadata/Visualization/Polarity.php @@ -0,0 +1,71 @@ +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); + } +} + 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..96e5389cfb33 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ExplanationMetadata/InputMetadata/Visualization/Type.php @@ -0,0 +1,64 @@ +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); + } +} + 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..1c22969ae90a --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ExplanationMetadata/OutputMetadata.php @@ -0,0 +1,194 @@ +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"); + } + +} + 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..2b7f905f39e8 --- /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..1ad4e6d92f1c --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ExplanationMetadataOverride/InputMetadataOverride.php @@ -0,0 +1,85 @@ +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 \Google\Protobuf\Value[] $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 RepeatedField<\Google\Protobuf\Value> + */ + 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 \Google\Protobuf\Value[] $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; + } + +} + 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..139ca42eb6d4 --- /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..0c300df8d596 --- /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..3610a5b54205 --- /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..f7ed0eb2209e --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ExportDataConfig.php @@ -0,0 +1,463 @@ +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 + * [ExportDataRequest.name][google.cloud.aiplatform.v1.ExportDataRequest.name] + * 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 + * [ExportDataRequest.name][google.cloud.aiplatform.v1.ExportDataRequest.name]. + * 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 + * [ExportDataRequest.name][google.cloud.aiplatform.v1.ExportDataRequest.name] + * 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 + * [ExportDataRequest.name][google.cloud.aiplatform.v1.ExportDataRequest.name]. + * 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 + * [ExportDataRequest.name][google.cloud.aiplatform.v1.ExportDataRequest.name] + * 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 + * [ExportDataRequest.name][google.cloud.aiplatform.v1.ExportDataRequest.name] + * 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 + * [ExportDataRequest.name][google.cloud.aiplatform.v1.ExportDataRequest.name]. + * 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 + * [ExportDataRequest.name][google.cloud.aiplatform.v1.ExportDataRequest.name]. + * 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..f3822e2a8064 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ExportDataConfig/ExportUse.php @@ -0,0 +1,57 @@ +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); + } +} + 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..a5740594377d --- /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..84b98862fa54 --- /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..6054c776c3d7 --- /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 string[] $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 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 string[] $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..79e173c12f66 --- /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..203560cb10e9 --- /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 \Google\Cloud\AIPlatform\V1\DestinationFeatureSetting[] $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 RepeatedField<\Google\Cloud\AIPlatform\V1\DestinationFeatureSetting> + */ + public function getSettings() + { + return $this->settings; + } + + /** + * Per-Feature export settings. + * + * Generated from protobuf field repeated .google.cloud.aiplatform.v1.DestinationFeatureSetting settings = 6; + * @param \Google\Cloud\AIPlatform\V1\DestinationFeatureSetting[] $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..33159a7e4136 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ExportFeatureValuesRequest/FullExport.php @@ -0,0 +1,138 @@ +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; + } + +} + 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..92c7ffc2ce57 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ExportFeatureValuesRequest/SnapshotExport.php @@ -0,0 +1,138 @@ +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; + } + +} + 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..ef062155a701 --- /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..f5d7a799c93a --- /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..2a1bc623915c --- /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..2238dae7ec7e --- /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..13ae41bc61a0 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ExportModelOperationMetadata/OutputInfo.php @@ -0,0 +1,114 @@ +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; + } + +} + 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..82f3b5bdb5d8 --- /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..51164569228b --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ExportModelRequest/OutputConfig.php @@ -0,0 +1,211 @@ +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; + } + +} + 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..093d1bbc7a25 --- /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..3e7239f59be8 --- /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..187e94032a50 --- /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 \Google\Cloud\AIPlatform\V1\TimeSeriesDataPoint[] $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 RepeatedField<\Google\Cloud\AIPlatform\V1\TimeSeriesDataPoint> + */ + 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 \Google\Cloud\AIPlatform\V1\TimeSeriesDataPoint[] $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/Fact.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/Fact.php new file mode 100644 index 000000000000..fc32e3d0945f --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/Fact.php @@ -0,0 +1,376 @@ +google.cloud.aiplatform.v1.Fact + */ +class Fact extends \Google\Protobuf\Internal\Message +{ + /** + * Query that is used to retrieve this fact. + * + * Generated from protobuf field optional string query = 1; + */ + protected $query = null; + /** + * If present, it refers to the title of this fact. + * + * Generated from protobuf field optional string title = 2; + */ + protected $title = null; + /** + * If present, this uri links to the source of the fact. + * + * Generated from protobuf field optional string uri = 3; + */ + protected $uri = null; + /** + * If present, the summary/snippet of the fact. + * + * Generated from protobuf field optional string summary = 4; + */ + protected $summary = null; + /** + * If present, the distance between the query vector and this fact vector. + * + * Generated from protobuf field optional double vector_distance = 5 [deprecated = true]; + * @deprecated + */ + protected $vector_distance = null; + /** + * If present, according to the underlying Vector DB and the selected metric + * type, the score can be either the distance or the similarity between the + * query and the fact and its range depends on the metric type. + * For example, if the metric type is COSINE_DISTANCE, it represents the + * distance between the query and the fact. The larger the distance, the less + * relevant the fact is to the query. The range is [0, 2], while 0 means the + * most relevant and 2 means the least relevant. + * + * Generated from protobuf field optional double score = 6; + */ + protected $score = null; + /** + * If present, chunk properties. + * + * Generated from protobuf field optional .google.cloud.aiplatform.v1.RagChunk chunk = 7; + */ + protected $chunk = null; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $query + * Query that is used to retrieve this fact. + * @type string $title + * If present, it refers to the title of this fact. + * @type string $uri + * If present, this uri links to the source of the fact. + * @type string $summary + * If present, the summary/snippet of the fact. + * @type float $vector_distance + * If present, the distance between the query vector and this fact vector. + * @type float $score + * If present, according to the underlying Vector DB and the selected metric + * type, the score can be either the distance or the similarity between the + * query and the fact and its range depends on the metric type. + * For example, if the metric type is COSINE_DISTANCE, it represents the + * distance between the query and the fact. The larger the distance, the less + * relevant the fact is to the query. The range is [0, 2], while 0 means the + * most relevant and 2 means the least relevant. + * @type \Google\Cloud\AIPlatform\V1\RagChunk $chunk + * If present, chunk properties. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Cloud\Aiplatform\V1\VertexRagService::initOnce(); + parent::__construct($data); + } + + /** + * Query that is used to retrieve this fact. + * + * Generated from protobuf field optional string query = 1; + * @return string + */ + public function getQuery() + { + return isset($this->query) ? $this->query : ''; + } + + public function hasQuery() + { + return isset($this->query); + } + + public function clearQuery() + { + unset($this->query); + } + + /** + * Query that is used to retrieve this fact. + * + * Generated from protobuf field optional string query = 1; + * @param string $var + * @return $this + */ + public function setQuery($var) + { + GPBUtil::checkString($var, True); + $this->query = $var; + + return $this; + } + + /** + * If present, it refers to the title of this fact. + * + * 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); + } + + /** + * If present, it refers to the title of this fact. + * + * 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; + } + + /** + * If present, this uri links to the source of the fact. + * + * Generated from protobuf field optional string uri = 3; + * @return string + */ + public function getUri() + { + return isset($this->uri) ? $this->uri : ''; + } + + public function hasUri() + { + return isset($this->uri); + } + + public function clearUri() + { + unset($this->uri); + } + + /** + * If present, this uri links to the source of the fact. + * + * Generated from protobuf field optional string uri = 3; + * @param string $var + * @return $this + */ + public function setUri($var) + { + GPBUtil::checkString($var, True); + $this->uri = $var; + + return $this; + } + + /** + * If present, the summary/snippet of the fact. + * + * Generated from protobuf field optional string summary = 4; + * @return string + */ + public function getSummary() + { + return isset($this->summary) ? $this->summary : ''; + } + + public function hasSummary() + { + return isset($this->summary); + } + + public function clearSummary() + { + unset($this->summary); + } + + /** + * If present, the summary/snippet of the fact. + * + * Generated from protobuf field optional string summary = 4; + * @param string $var + * @return $this + */ + public function setSummary($var) + { + GPBUtil::checkString($var, True); + $this->summary = $var; + + return $this; + } + + /** + * If present, the distance between the query vector and this fact vector. + * + * Generated from protobuf field optional double vector_distance = 5 [deprecated = true]; + * @return float + * @deprecated + */ + public function getVectorDistance() + { + if (isset($this->vector_distance)) { + @trigger_error('vector_distance is deprecated.', E_USER_DEPRECATED); + } + return isset($this->vector_distance) ? $this->vector_distance : 0.0; + } + + public function hasVectorDistance() + { + if (isset($this->vector_distance)) { + @trigger_error('vector_distance is deprecated.', E_USER_DEPRECATED); + } + return isset($this->vector_distance); + } + + public function clearVectorDistance() + { + @trigger_error('vector_distance is deprecated.', E_USER_DEPRECATED); + unset($this->vector_distance); + } + + /** + * If present, the distance between the query vector and this fact vector. + * + * Generated from protobuf field optional double vector_distance = 5 [deprecated = true]; + * @param float $var + * @return $this + * @deprecated + */ + public function setVectorDistance($var) + { + @trigger_error('vector_distance is deprecated.', E_USER_DEPRECATED); + GPBUtil::checkDouble($var); + $this->vector_distance = $var; + + return $this; + } + + /** + * If present, according to the underlying Vector DB and the selected metric + * type, the score can be either the distance or the similarity between the + * query and the fact and its range depends on the metric type. + * For example, if the metric type is COSINE_DISTANCE, it represents the + * distance between the query and the fact. The larger the distance, the less + * relevant the fact is to the query. The range is [0, 2], while 0 means the + * most relevant and 2 means the least relevant. + * + * Generated from protobuf field optional double score = 6; + * @return float + */ + public function getScore() + { + return isset($this->score) ? $this->score : 0.0; + } + + public function hasScore() + { + return isset($this->score); + } + + public function clearScore() + { + unset($this->score); + } + + /** + * If present, according to the underlying Vector DB and the selected metric + * type, the score can be either the distance or the similarity between the + * query and the fact and its range depends on the metric type. + * For example, if the metric type is COSINE_DISTANCE, it represents the + * distance between the query and the fact. The larger the distance, the less + * relevant the fact is to the query. The range is [0, 2], while 0 means the + * most relevant and 2 means the least relevant. + * + * Generated from protobuf field optional double score = 6; + * @param float $var + * @return $this + */ + public function setScore($var) + { + GPBUtil::checkDouble($var); + $this->score = $var; + + return $this; + } + + /** + * If present, chunk properties. + * + * Generated from protobuf field optional .google.cloud.aiplatform.v1.RagChunk chunk = 7; + * @return \Google\Cloud\AIPlatform\V1\RagChunk|null + */ + public function getChunk() + { + return $this->chunk; + } + + public function hasChunk() + { + return isset($this->chunk); + } + + public function clearChunk() + { + unset($this->chunk); + } + + /** + * If present, chunk properties. + * + * Generated from protobuf field optional .google.cloud.aiplatform.v1.RagChunk chunk = 7; + * @param \Google\Cloud\AIPlatform\V1\RagChunk $var + * @return $this + */ + public function setChunk($var) + { + GPBUtil::checkMessage($var, \Google\Cloud\AIPlatform\V1\RagChunk::class); + $this->chunk = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/FasterDeploymentConfig.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/FasterDeploymentConfig.php new file mode 100644 index 000000000000..dc16026e4f5a --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/FasterDeploymentConfig.php @@ -0,0 +1,67 @@ +google.cloud.aiplatform.v1.FasterDeploymentConfig + */ +class FasterDeploymentConfig extends \Google\Protobuf\Internal\Message +{ + /** + * If true, enable fast tryout feature for this deployed model. + * + * Generated from protobuf field bool fast_tryout_enabled = 2; + */ + protected $fast_tryout_enabled = false; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type bool $fast_tryout_enabled + * If true, enable fast tryout feature for this deployed model. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Cloud\Aiplatform\V1\Endpoint::initOnce(); + parent::__construct($data); + } + + /** + * If true, enable fast tryout feature for this deployed model. + * + * Generated from protobuf field bool fast_tryout_enabled = 2; + * @return bool + */ + public function getFastTryoutEnabled() + { + return $this->fast_tryout_enabled; + } + + /** + * If true, enable fast tryout feature for this deployed model. + * + * Generated from protobuf field bool fast_tryout_enabled = 2; + * @param bool $var + * @return $this + */ + public function setFastTryoutEnabled($var) + { + GPBUtil::checkBool($var); + $this->fast_tryout_enabled = $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..46ddae05573f --- /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 \Google\Cloud\AIPlatform\V1\Feature\MonitoringStatsAnomaly[] $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 RepeatedField<\Google\Cloud\AIPlatform\V1\Feature\MonitoringStatsAnomaly> + */ + 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 \Google\Cloud\AIPlatform\V1\Feature\MonitoringStatsAnomaly[] $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..46a9245eba62 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/Feature/MonitoringStatsAnomaly.php @@ -0,0 +1,117 @@ +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; + } + +} + 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..94a6cd76725a --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/Feature/MonitoringStatsAnomaly/Objective.php @@ -0,0 +1,64 @@ +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); + } +} + 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..9d62198f39d3 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/Feature/ValueType.php @@ -0,0 +1,118 @@ +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); + } +} + 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..1bee0f255c83 --- /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..ad96b5b48ad3 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/FeatureGroup/BigQuery.php @@ -0,0 +1,287 @@ +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; + /** + * Optional. Set if the data source is not a time-series. + * + * Generated from protobuf field bool static_data_source = 3 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $static_data_source = false; + /** + * Optional. If the source is a time-series source, this can be set to + * control how downstream sources (ex: + * [FeatureView][google.cloud.aiplatform.v1.FeatureView] ) will treat + * time-series sources. If not set, will treat the source as a time-series + * source with `feature_timestamp` as timestamp column and no scan boundary. + * + * Generated from protobuf field .google.cloud.aiplatform.v1.FeatureGroup.BigQuery.TimeSeries time_series = 4 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $time_series = null; + /** + * Optional. If set, all feature values will be fetched + * from a single row per unique entityId including nulls. + * If not set, will collapse all rows for each unique entityId into a singe + * row with any non-null values if present, if no non-null values are + * present will sync null. + * ex: If source has schema + * `(entity_id, feature_timestamp, f0, f1)` and the following rows: + * `(e1, 2020-01-01T10:00:00.123Z, 10, 15)` + * `(e1, 2020-02-01T10:00:00.123Z, 20, null)` + * If dense is set, `(e1, 20, null)` is synced to online stores. If dense is + * not set, `(e1, 20, 15)` is synced to online stores. + * + * Generated from protobuf field bool dense = 5 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $dense = false; + + /** + * 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 string[] $entity_id_columns + * Optional. Columns to construct entity_id / row keys. + * If not provided defaults to `entity_id`. + * @type bool $static_data_source + * Optional. Set if the data source is not a time-series. + * @type \Google\Cloud\AIPlatform\V1\FeatureGroup\BigQuery\TimeSeries $time_series + * Optional. If the source is a time-series source, this can be set to + * control how downstream sources (ex: + * [FeatureView][google.cloud.aiplatform.v1.FeatureView] ) will treat + * time-series sources. If not set, will treat the source as a time-series + * source with `feature_timestamp` as timestamp column and no scan boundary. + * @type bool $dense + * Optional. If set, all feature values will be fetched + * from a single row per unique entityId including nulls. + * If not set, will collapse all rows for each unique entityId into a singe + * row with any non-null values if present, if no non-null values are + * present will sync null. + * ex: If source has schema + * `(entity_id, feature_timestamp, f0, f1)` and the following rows: + * `(e1, 2020-01-01T10:00:00.123Z, 10, 15)` + * `(e1, 2020-02-01T10:00:00.123Z, 20, null)` + * If dense is set, `(e1, 20, null)` is synced to online stores. If dense is + * not set, `(e1, 20, 15)` is synced to online stores. + * } + */ + 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 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 string[] $var + * @return $this + */ + public function setEntityIdColumns($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING); + $this->entity_id_columns = $arr; + + return $this; + } + + /** + * Optional. Set if the data source is not a time-series. + * + * Generated from protobuf field bool static_data_source = 3 [(.google.api.field_behavior) = OPTIONAL]; + * @return bool + */ + public function getStaticDataSource() + { + return $this->static_data_source; + } + + /** + * Optional. Set if the data source is not a time-series. + * + * Generated from protobuf field bool static_data_source = 3 [(.google.api.field_behavior) = OPTIONAL]; + * @param bool $var + * @return $this + */ + public function setStaticDataSource($var) + { + GPBUtil::checkBool($var); + $this->static_data_source = $var; + + return $this; + } + + /** + * Optional. If the source is a time-series source, this can be set to + * control how downstream sources (ex: + * [FeatureView][google.cloud.aiplatform.v1.FeatureView] ) will treat + * time-series sources. If not set, will treat the source as a time-series + * source with `feature_timestamp` as timestamp column and no scan boundary. + * + * Generated from protobuf field .google.cloud.aiplatform.v1.FeatureGroup.BigQuery.TimeSeries time_series = 4 [(.google.api.field_behavior) = OPTIONAL]; + * @return \Google\Cloud\AIPlatform\V1\FeatureGroup\BigQuery\TimeSeries|null + */ + public function getTimeSeries() + { + return $this->time_series; + } + + public function hasTimeSeries() + { + return isset($this->time_series); + } + + public function clearTimeSeries() + { + unset($this->time_series); + } + + /** + * Optional. If the source is a time-series source, this can be set to + * control how downstream sources (ex: + * [FeatureView][google.cloud.aiplatform.v1.FeatureView] ) will treat + * time-series sources. If not set, will treat the source as a time-series + * source with `feature_timestamp` as timestamp column and no scan boundary. + * + * Generated from protobuf field .google.cloud.aiplatform.v1.FeatureGroup.BigQuery.TimeSeries time_series = 4 [(.google.api.field_behavior) = OPTIONAL]; + * @param \Google\Cloud\AIPlatform\V1\FeatureGroup\BigQuery\TimeSeries $var + * @return $this + */ + public function setTimeSeries($var) + { + GPBUtil::checkMessage($var, \Google\Cloud\AIPlatform\V1\FeatureGroup\BigQuery\TimeSeries::class); + $this->time_series = $var; + + return $this; + } + + /** + * Optional. If set, all feature values will be fetched + * from a single row per unique entityId including nulls. + * If not set, will collapse all rows for each unique entityId into a singe + * row with any non-null values if present, if no non-null values are + * present will sync null. + * ex: If source has schema + * `(entity_id, feature_timestamp, f0, f1)` and the following rows: + * `(e1, 2020-01-01T10:00:00.123Z, 10, 15)` + * `(e1, 2020-02-01T10:00:00.123Z, 20, null)` + * If dense is set, `(e1, 20, null)` is synced to online stores. If dense is + * not set, `(e1, 20, 15)` is synced to online stores. + * + * Generated from protobuf field bool dense = 5 [(.google.api.field_behavior) = OPTIONAL]; + * @return bool + */ + public function getDense() + { + return $this->dense; + } + + /** + * Optional. If set, all feature values will be fetched + * from a single row per unique entityId including nulls. + * If not set, will collapse all rows for each unique entityId into a singe + * row with any non-null values if present, if no non-null values are + * present will sync null. + * ex: If source has schema + * `(entity_id, feature_timestamp, f0, f1)` and the following rows: + * `(e1, 2020-01-01T10:00:00.123Z, 10, 15)` + * `(e1, 2020-02-01T10:00:00.123Z, 20, null)` + * If dense is set, `(e1, 20, null)` is synced to online stores. If dense is + * not set, `(e1, 20, 15)` is synced to online stores. + * + * Generated from protobuf field bool dense = 5 [(.google.api.field_behavior) = OPTIONAL]; + * @param bool $var + * @return $this + */ + public function setDense($var) + { + GPBUtil::checkBool($var); + $this->dense = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/FeatureGroup/BigQuery/TimeSeries.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/FeatureGroup/BigQuery/TimeSeries.php new file mode 100644 index 000000000000..fc88ff9c1329 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/FeatureGroup/BigQuery/TimeSeries.php @@ -0,0 +1,77 @@ +google.cloud.aiplatform.v1.FeatureGroup.BigQuery.TimeSeries + */ +class TimeSeries extends \Google\Protobuf\Internal\Message +{ + /** + * Optional. Column hosting timestamp values for a time-series source. + * Will be used to determine the latest `feature_values` for each entity. + * Optional. If not provided, column named `feature_timestamp` of + * type `TIMESTAMP` will be used. + * + * Generated from protobuf field string timestamp_column = 1 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $timestamp_column = ''; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $timestamp_column + * Optional. Column hosting timestamp values for a time-series source. + * Will be used to determine the latest `feature_values` for each entity. + * Optional. If not provided, column named `feature_timestamp` of + * type `TIMESTAMP` will be used. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Cloud\Aiplatform\V1\FeatureGroup::initOnce(); + parent::__construct($data); + } + + /** + * Optional. Column hosting timestamp values for a time-series source. + * Will be used to determine the latest `feature_values` for each entity. + * Optional. If not provided, column named `feature_timestamp` of + * type `TIMESTAMP` will be used. + * + * Generated from protobuf field string timestamp_column = 1 [(.google.api.field_behavior) = OPTIONAL]; + * @return string + */ + public function getTimestampColumn() + { + return $this->timestamp_column; + } + + /** + * Optional. Column hosting timestamp values for a time-series source. + * Will be used to determine the latest `feature_values` for each entity. + * Optional. If not provided, column named `feature_timestamp` of + * type `TIMESTAMP` will be used. + * + * Generated from protobuf field string timestamp_column = 1 [(.google.api.field_behavior) = OPTIONAL]; + * @param string $var + * @return $this + */ + public function setTimestampColumn($var) + { + GPBUtil::checkString($var, True); + $this->timestamp_column = $var; + + return $this; + } + +} + 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..83d5cecf9b2e --- /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 \Google\Cloud\AIPlatform\V1\FeatureNoiseSigma\NoiseSigmaForFeature[] $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 RepeatedField<\Google\Cloud\AIPlatform\V1\FeatureNoiseSigma\NoiseSigmaForFeature> + */ + 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 \Google\Cloud\AIPlatform\V1\FeatureNoiseSigma\NoiseSigmaForFeature[] $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..c75fa6950cfb --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/FeatureNoiseSigma/NoiseSigmaForFeature.php @@ -0,0 +1,125 @@ +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; + } + +} + 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..ccf1d0e875ea --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/FeatureOnlineStore.php @@ -0,0 +1,556 @@ +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; + /** + * Output only. Reserved for future use. + * + * Generated from protobuf field bool satisfies_pzs = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + protected $satisfies_pzs = false; + /** + * Output only. Reserved for future use. + * + * Generated from protobuf field bool satisfies_pzi = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + protected $satisfies_pzi = false; + 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. + * @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\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; + } + + /** + * Output only. Reserved for future use. + * + * Generated from protobuf field bool satisfies_pzs = 15 [(.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 = 15 [(.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 = 16 [(.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 = 16 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @param bool $var + * @return $this + */ + public function setSatisfiesPzi($var) + { + GPBUtil::checkBool($var); + $this->satisfies_pzi = $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..446bab5119cd --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/FeatureOnlineStore/Bigtable.php @@ -0,0 +1,199 @@ +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; + /** + * Optional. Whether direct access to the Bigtable instance is enabled or + * not. + * + * Generated from protobuf field bool enable_direct_bigtable_access = 3 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $enable_direct_bigtable_access = false; + /** + * Output only. Metadata of the Bigtable instance. Output only. + * + * Generated from protobuf field .google.cloud.aiplatform.v1.FeatureOnlineStore.Bigtable.BigtableMetadata bigtable_metadata = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + protected $bigtable_metadata = null; + /** + * Optional. The zone where the underlying Bigtable cluster for the primary + * Bigtable instance will be provisioned. Only the zone must be provided. + * For example, only "us-central1-a" should be provided. + * + * Generated from protobuf field string zone = 5 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $zone = ''; + + /** + * 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. + * @type bool $enable_direct_bigtable_access + * Optional. Whether direct access to the Bigtable instance is enabled or + * not. + * @type \Google\Cloud\AIPlatform\V1\FeatureOnlineStore\Bigtable\BigtableMetadata $bigtable_metadata + * Output only. Metadata of the Bigtable instance. Output only. + * @type string $zone + * Optional. The zone where the underlying Bigtable cluster for the primary + * Bigtable instance will be provisioned. Only the zone must be provided. + * For example, only "us-central1-a" should be provided. + * } + */ + 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; + } + + /** + * Optional. Whether direct access to the Bigtable instance is enabled or + * not. + * + * Generated from protobuf field bool enable_direct_bigtable_access = 3 [(.google.api.field_behavior) = OPTIONAL]; + * @return bool + */ + public function getEnableDirectBigtableAccess() + { + return $this->enable_direct_bigtable_access; + } + + /** + * Optional. Whether direct access to the Bigtable instance is enabled or + * not. + * + * Generated from protobuf field bool enable_direct_bigtable_access = 3 [(.google.api.field_behavior) = OPTIONAL]; + * @param bool $var + * @return $this + */ + public function setEnableDirectBigtableAccess($var) + { + GPBUtil::checkBool($var); + $this->enable_direct_bigtable_access = $var; + + return $this; + } + + /** + * Output only. Metadata of the Bigtable instance. Output only. + * + * Generated from protobuf field .google.cloud.aiplatform.v1.FeatureOnlineStore.Bigtable.BigtableMetadata bigtable_metadata = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return \Google\Cloud\AIPlatform\V1\FeatureOnlineStore\Bigtable\BigtableMetadata|null + */ + public function getBigtableMetadata() + { + return $this->bigtable_metadata; + } + + public function hasBigtableMetadata() + { + return isset($this->bigtable_metadata); + } + + public function clearBigtableMetadata() + { + unset($this->bigtable_metadata); + } + + /** + * Output only. Metadata of the Bigtable instance. Output only. + * + * Generated from protobuf field .google.cloud.aiplatform.v1.FeatureOnlineStore.Bigtable.BigtableMetadata bigtable_metadata = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @param \Google\Cloud\AIPlatform\V1\FeatureOnlineStore\Bigtable\BigtableMetadata $var + * @return $this + */ + public function setBigtableMetadata($var) + { + GPBUtil::checkMessage($var, \Google\Cloud\AIPlatform\V1\FeatureOnlineStore\Bigtable\BigtableMetadata::class); + $this->bigtable_metadata = $var; + + return $this; + } + + /** + * Optional. The zone where the underlying Bigtable cluster for the primary + * Bigtable instance will be provisioned. Only the zone must be provided. + * For example, only "us-central1-a" should be provided. + * + * Generated from protobuf field string zone = 5 [(.google.api.field_behavior) = OPTIONAL]; + * @return string + */ + public function getZone() + { + return $this->zone; + } + + /** + * Optional. The zone where the underlying Bigtable cluster for the primary + * Bigtable instance will be provisioned. Only the zone must be provided. + * For example, only "us-central1-a" should be provided. + * + * Generated from protobuf field string zone = 5 [(.google.api.field_behavior) = OPTIONAL]; + * @param string $var + * @return $this + */ + public function setZone($var) + { + GPBUtil::checkString($var, True); + $this->zone = $var; + + return $this; + } + +} + 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..db96e41a4a67 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/FeatureOnlineStore/Bigtable/AutoScaling.php @@ -0,0 +1,161 @@ +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; + } + +} + diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/FeatureOnlineStore/Bigtable/BigtableMetadata.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/FeatureOnlineStore/Bigtable/BigtableMetadata.php new file mode 100644 index 000000000000..da8febe144c1 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/FeatureOnlineStore/Bigtable/BigtableMetadata.php @@ -0,0 +1,136 @@ +google.cloud.aiplatform.v1.FeatureOnlineStore.Bigtable.BigtableMetadata + */ +class BigtableMetadata extends \Google\Protobuf\Internal\Message +{ + /** + * Tenant project ID. + * + * Generated from protobuf field string tenant_project_id = 1; + */ + protected $tenant_project_id = ''; + /** + * The Cloud Bigtable instance id. + * + * Generated from protobuf field string instance_id = 2; + */ + protected $instance_id = ''; + /** + * The Cloud Bigtable table id. + * + * Generated from protobuf field string table_id = 3; + */ + protected $table_id = ''; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $tenant_project_id + * Tenant project ID. + * @type string $instance_id + * The Cloud Bigtable instance id. + * @type string $table_id + * The Cloud Bigtable table id. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Cloud\Aiplatform\V1\FeatureOnlineStore::initOnce(); + parent::__construct($data); + } + + /** + * Tenant project ID. + * + * Generated from protobuf field string tenant_project_id = 1; + * @return string + */ + public function getTenantProjectId() + { + return $this->tenant_project_id; + } + + /** + * Tenant project ID. + * + * Generated from protobuf field string tenant_project_id = 1; + * @param string $var + * @return $this + */ + public function setTenantProjectId($var) + { + GPBUtil::checkString($var, True); + $this->tenant_project_id = $var; + + return $this; + } + + /** + * The Cloud Bigtable instance id. + * + * Generated from protobuf field string instance_id = 2; + * @return string + */ + public function getInstanceId() + { + return $this->instance_id; + } + + /** + * The Cloud Bigtable instance id. + * + * Generated from protobuf field string instance_id = 2; + * @param string $var + * @return $this + */ + public function setInstanceId($var) + { + GPBUtil::checkString($var, True); + $this->instance_id = $var; + + return $this; + } + + /** + * The Cloud Bigtable table id. + * + * Generated from protobuf field string table_id = 3; + * @return string + */ + public function getTableId() + { + return $this->table_id; + } + + /** + * The Cloud Bigtable table id. + * + * Generated from protobuf field string table_id = 3; + * @param string $var + * @return $this + */ + public function setTableId($var) + { + GPBUtil::checkString($var, True); + $this->table_id = $var; + + return $this; + } + +} + 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..b0c9cedd231a --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/FeatureOnlineStore/DedicatedServingEndpoint.php @@ -0,0 +1,175 @@ +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; + } + +} + 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..aa3b9235e945 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/FeatureOnlineStore/Optimized.php @@ -0,0 +1,33 @@ +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); + } + +} + 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..e53979e71ba3 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/FeatureOnlineStore/State.php @@ -0,0 +1,66 @@ +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); + } +} + 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..d0d45408ff2f --- /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..e365dade9a3b --- /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..24fd96396358 --- /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..8c4e5f5e35ab --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/FeatureValue/Metadata.php @@ -0,0 +1,101 @@ +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. + * Legacy 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. + * Legacy 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. + * Legacy 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. + * Legacy 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; + } + +} + 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..cdfb1a6624d5 --- /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..cc688e28959a --- /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 \Google\Cloud\AIPlatform\V1\FeatureValue[] $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 RepeatedField<\Google\Cloud\AIPlatform\V1\FeatureValue> + */ + 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 \Google\Cloud\AIPlatform\V1\FeatureValue[] $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..ffafd51e8ca6 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/FeatureView.php @@ -0,0 +1,742 @@ +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; + /** + * Optional. Configuration for FeatureView created under Optimized + * FeatureOnlineStore. + * + * Generated from protobuf field .google.cloud.aiplatform.v1.FeatureView.OptimizedConfig optimized_config = 16 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $optimized_config = null; + /** + * Optional. Service agent type used during data sync. By default, the Vertex + * AI Service Agent is used. When using an IAM Policy to isolate this + * FeatureView within a project, a separate service account should be + * provisioned by setting this field to `SERVICE_AGENT_TYPE_FEATURE_VIEW`. + * This will generate a separate service account to access the BigQuery source + * table. + * + * Generated from protobuf field .google.cloud.aiplatform.v1.FeatureView.ServiceAgentType service_agent_type = 14 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $service_agent_type = 0; + /** + * Output only. A Service Account unique to this FeatureView. The role + * bigquery.dataViewer should be granted to this service account to allow + * Vertex AI Feature Store to sync data to the online store. + * + * Generated from protobuf field string service_account_email = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + protected $service_account_email = ''; + /** + * Output only. Reserved for future use. + * + * Generated from protobuf field bool satisfies_pzs = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + protected $satisfies_pzs = false; + /** + * Output only. Reserved for future use. + * + * Generated from protobuf field bool satisfies_pzi = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + protected $satisfies_pzi = false; + /** + * Metadata containing information about the Cloud Bigtable. + * + * Generated from protobuf field .google.cloud.aiplatform.v1.FeatureView.BigtableMetadata bigtable_metadata = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + protected $bigtable_metadata = 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 \Google\Cloud\AIPlatform\V1\FeatureView\VertexRagSource $vertex_rag_source + * Optional. The Vertex RAG Source that the FeatureView is linked to. + * @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. + * @type \Google\Cloud\AIPlatform\V1\FeatureView\OptimizedConfig $optimized_config + * Optional. Configuration for FeatureView created under Optimized + * FeatureOnlineStore. + * @type int $service_agent_type + * Optional. Service agent type used during data sync. By default, the Vertex + * AI Service Agent is used. When using an IAM Policy to isolate this + * FeatureView within a project, a separate service account should be + * provisioned by setting this field to `SERVICE_AGENT_TYPE_FEATURE_VIEW`. + * This will generate a separate service account to access the BigQuery source + * table. + * @type string $service_account_email + * Output only. A Service Account unique to this FeatureView. The role + * bigquery.dataViewer should be granted to this service account to allow + * Vertex AI Feature Store to sync data to the online store. + * @type bool $satisfies_pzs + * Output only. Reserved for future use. + * @type bool $satisfies_pzi + * Output only. Reserved for future use. + * @type \Google\Cloud\AIPlatform\V1\FeatureView\BigtableMetadata $bigtable_metadata + * Metadata containing information about the Cloud Bigtable. + * } + */ + 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; + } + + /** + * Optional. The Vertex RAG Source that the FeatureView is linked to. + * + * Generated from protobuf field .google.cloud.aiplatform.v1.FeatureView.VertexRagSource vertex_rag_source = 18 [(.google.api.field_behavior) = OPTIONAL]; + * @return \Google\Cloud\AIPlatform\V1\FeatureView\VertexRagSource|null + */ + public function getVertexRagSource() + { + return $this->readOneof(18); + } + + public function hasVertexRagSource() + { + return $this->hasOneof(18); + } + + /** + * Optional. The Vertex RAG Source that the FeatureView is linked to. + * + * Generated from protobuf field .google.cloud.aiplatform.v1.FeatureView.VertexRagSource vertex_rag_source = 18 [(.google.api.field_behavior) = OPTIONAL]; + * @param \Google\Cloud\AIPlatform\V1\FeatureView\VertexRagSource $var + * @return $this + */ + public function setVertexRagSource($var) + { + GPBUtil::checkMessage($var, \Google\Cloud\AIPlatform\V1\FeatureView\VertexRagSource::class); + $this->writeOneof(18, $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; + } + + /** + * Optional. Configuration for FeatureView created under Optimized + * FeatureOnlineStore. + * + * Generated from protobuf field .google.cloud.aiplatform.v1.FeatureView.OptimizedConfig optimized_config = 16 [(.google.api.field_behavior) = OPTIONAL]; + * @return \Google\Cloud\AIPlatform\V1\FeatureView\OptimizedConfig|null + */ + public function getOptimizedConfig() + { + return $this->optimized_config; + } + + public function hasOptimizedConfig() + { + return isset($this->optimized_config); + } + + public function clearOptimizedConfig() + { + unset($this->optimized_config); + } + + /** + * Optional. Configuration for FeatureView created under Optimized + * FeatureOnlineStore. + * + * Generated from protobuf field .google.cloud.aiplatform.v1.FeatureView.OptimizedConfig optimized_config = 16 [(.google.api.field_behavior) = OPTIONAL]; + * @param \Google\Cloud\AIPlatform\V1\FeatureView\OptimizedConfig $var + * @return $this + */ + public function setOptimizedConfig($var) + { + GPBUtil::checkMessage($var, \Google\Cloud\AIPlatform\V1\FeatureView\OptimizedConfig::class); + $this->optimized_config = $var; + + return $this; + } + + /** + * Optional. Service agent type used during data sync. By default, the Vertex + * AI Service Agent is used. When using an IAM Policy to isolate this + * FeatureView within a project, a separate service account should be + * provisioned by setting this field to `SERVICE_AGENT_TYPE_FEATURE_VIEW`. + * This will generate a separate service account to access the BigQuery source + * table. + * + * Generated from protobuf field .google.cloud.aiplatform.v1.FeatureView.ServiceAgentType service_agent_type = 14 [(.google.api.field_behavior) = OPTIONAL]; + * @return int + */ + public function getServiceAgentType() + { + return $this->service_agent_type; + } + + /** + * Optional. Service agent type used during data sync. By default, the Vertex + * AI Service Agent is used. When using an IAM Policy to isolate this + * FeatureView within a project, a separate service account should be + * provisioned by setting this field to `SERVICE_AGENT_TYPE_FEATURE_VIEW`. + * This will generate a separate service account to access the BigQuery source + * table. + * + * Generated from protobuf field .google.cloud.aiplatform.v1.FeatureView.ServiceAgentType service_agent_type = 14 [(.google.api.field_behavior) = OPTIONAL]; + * @param int $var + * @return $this + */ + public function setServiceAgentType($var) + { + GPBUtil::checkEnum($var, \Google\Cloud\AIPlatform\V1\FeatureView\ServiceAgentType::class); + $this->service_agent_type = $var; + + return $this; + } + + /** + * Output only. A Service Account unique to this FeatureView. The role + * bigquery.dataViewer should be granted to this service account to allow + * Vertex AI Feature Store to sync data to the online store. + * + * Generated from protobuf field string service_account_email = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return string + */ + public function getServiceAccountEmail() + { + return $this->service_account_email; + } + + /** + * Output only. A Service Account unique to this FeatureView. The role + * bigquery.dataViewer should be granted to this service account to allow + * Vertex AI Feature Store to sync data to the online store. + * + * Generated from protobuf field string service_account_email = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @param string $var + * @return $this + */ + public function setServiceAccountEmail($var) + { + GPBUtil::checkString($var, True); + $this->service_account_email = $var; + + return $this; + } + + /** + * Output only. Reserved for future use. + * + * Generated from protobuf field bool satisfies_pzs = 19 [(.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 = 19 [(.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 = 20 [(.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 = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @param bool $var + * @return $this + */ + public function setSatisfiesPzi($var) + { + GPBUtil::checkBool($var); + $this->satisfies_pzi = $var; + + return $this; + } + + /** + * Metadata containing information about the Cloud Bigtable. + * + * Generated from protobuf field .google.cloud.aiplatform.v1.FeatureView.BigtableMetadata bigtable_metadata = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return \Google\Cloud\AIPlatform\V1\FeatureView\BigtableMetadata|null + */ + public function getBigtableMetadata() + { + return $this->bigtable_metadata; + } + + public function hasBigtableMetadata() + { + return isset($this->bigtable_metadata); + } + + public function clearBigtableMetadata() + { + unset($this->bigtable_metadata); + } + + /** + * Metadata containing information about the Cloud Bigtable. + * + * Generated from protobuf field .google.cloud.aiplatform.v1.FeatureView.BigtableMetadata bigtable_metadata = 22 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @param \Google\Cloud\AIPlatform\V1\FeatureView\BigtableMetadata $var + * @return $this + */ + public function setBigtableMetadata($var) + { + GPBUtil::checkMessage($var, \Google\Cloud\AIPlatform\V1\FeatureView\BigtableMetadata::class); + $this->bigtable_metadata = $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..565a2342579d --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/FeatureView/BigQuerySource.php @@ -0,0 +1,103 @@ +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 string[] $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 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 string[] $var + * @return $this + */ + public function setEntityIdColumns($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING); + $this->entity_id_columns = $arr; + + return $this; + } + +} + diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/FeatureView/BigtableMetadata.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/FeatureView/BigtableMetadata.php new file mode 100644 index 000000000000..83ad0dab5163 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/FeatureView/BigtableMetadata.php @@ -0,0 +1,68 @@ +google.cloud.aiplatform.v1.FeatureView.BigtableMetadata + */ +class BigtableMetadata extends \Google\Protobuf\Internal\Message +{ + /** + * The Bigtable App Profile to use for reading from Bigtable. + * + * Generated from protobuf field string read_app_profile = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + protected $read_app_profile = ''; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $read_app_profile + * The Bigtable App Profile to use for reading from Bigtable. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Cloud\Aiplatform\V1\FeatureView::initOnce(); + parent::__construct($data); + } + + /** + * The Bigtable App Profile to use for reading from Bigtable. + * + * Generated from protobuf field string read_app_profile = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return string + */ + public function getReadAppProfile() + { + return $this->read_app_profile; + } + + /** + * The Bigtable App Profile to use for reading from Bigtable. + * + * Generated from protobuf field string read_app_profile = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @param string $var + * @return $this + */ + public function setReadAppProfile($var) + { + GPBUtil::checkString($var, True); + $this->read_app_profile = $var; + + return $this; + } + +} + 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..bdb53913bc05 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/FeatureView/FeatureRegistrySource.php @@ -0,0 +1,112 @@ +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 \Google\Cloud\AIPlatform\V1\FeatureView\FeatureRegistrySource\FeatureGroup[] $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 RepeatedField<\Google\Cloud\AIPlatform\V1\FeatureView\FeatureRegistrySource\FeatureGroup> + */ + 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 \Google\Cloud\AIPlatform\V1\FeatureView\FeatureRegistrySource\FeatureGroup[] $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; + } + +} + 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..e34a52b6095c --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/FeatureView/FeatureRegistrySource/FeatureGroup.php @@ -0,0 +1,102 @@ +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 string[] $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 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 string[] $var + * @return $this + */ + public function setFeatureIds($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING); + $this->feature_ids = $arr; + + return $this; + } + +} + 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..acdc8bc14c89 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/FeatureView/IndexConfig.php @@ -0,0 +1,347 @@ +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 string[] $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 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 string[] $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"); + } + +} + 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..c338576a656d --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/FeatureView/IndexConfig/BruteForceConfig.php @@ -0,0 +1,33 @@ +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); + } + +} + 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..38f8e4c37b7c --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/FeatureView/IndexConfig/DistanceMeasureType.php @@ -0,0 +1,73 @@ +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); + } +} + 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..582b4ccf9a51 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/FeatureView/IndexConfig/TreeAHConfig.php @@ -0,0 +1,81 @@ +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; + } + +} + diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/FeatureView/OptimizedConfig.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/FeatureView/OptimizedConfig.php new file mode 100644 index 000000000000..15ec08a2bad0 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/FeatureView/OptimizedConfig.php @@ -0,0 +1,93 @@ +google.cloud.aiplatform.v1.FeatureView.OptimizedConfig + */ +class OptimizedConfig extends \Google\Protobuf\Internal\Message +{ + /** + * Optional. A description of resources that the FeatureView 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. If max_replica_count is not set, the default value + * is 6. 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; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type \Google\Cloud\AIPlatform\V1\AutomaticResources $automatic_resources + * Optional. A description of resources that the FeatureView 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. If max_replica_count is not set, the default value + * is 6. The max allowed replica count is 1000. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Cloud\Aiplatform\V1\FeatureView::initOnce(); + parent::__construct($data); + } + + /** + * Optional. A description of resources that the FeatureView 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. If max_replica_count is not set, the default value + * is 6. 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 FeatureView 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. If max_replica_count is not set, the default value + * is 6. 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; + } + +} + diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/FeatureView/ServiceAgentType.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/FeatureView/ServiceAgentType.php new file mode 100644 index 000000000000..552f1d8cfe77 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/FeatureView/ServiceAgentType.php @@ -0,0 +1,65 @@ +google.cloud.aiplatform.v1.FeatureView.ServiceAgentType + */ +class ServiceAgentType +{ + /** + * By default, the project-level Vertex AI Service Agent is enabled. + * + * Generated from protobuf enum SERVICE_AGENT_TYPE_UNSPECIFIED = 0; + */ + const SERVICE_AGENT_TYPE_UNSPECIFIED = 0; + /** + * Indicates the project-level Vertex AI Service Agent + * (https://cloud.google.com/vertex-ai/docs/general/access-control#service-agents) + * will be used during sync jobs. + * + * Generated from protobuf enum SERVICE_AGENT_TYPE_PROJECT = 1; + */ + const SERVICE_AGENT_TYPE_PROJECT = 1; + /** + * Enable a FeatureView service account to be created by Vertex AI and + * output in the field `service_account_email`. This service account will + * be used to read from the source BigQuery table during sync. + * + * Generated from protobuf enum SERVICE_AGENT_TYPE_FEATURE_VIEW = 2; + */ + const SERVICE_AGENT_TYPE_FEATURE_VIEW = 2; + + private static $valueToName = [ + self::SERVICE_AGENT_TYPE_UNSPECIFIED => 'SERVICE_AGENT_TYPE_UNSPECIFIED', + self::SERVICE_AGENT_TYPE_PROJECT => 'SERVICE_AGENT_TYPE_PROJECT', + self::SERVICE_AGENT_TYPE_FEATURE_VIEW => 'SERVICE_AGENT_TYPE_FEATURE_VIEW', + ]; + + 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/FeatureView/SyncConfig.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/FeatureView/SyncConfig.php new file mode 100644 index 000000000000..b362737b0eaa --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/FeatureView/SyncConfig.php @@ -0,0 +1,125 @@ +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 = ''; + /** + * Optional. If true, syncs the FeatureView in a continuous manner to Online + * Store. + * + * Generated from protobuf field bool continuous = 2 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $continuous = false; + + /** + * 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 * * * *". + * @type bool $continuous + * Optional. If true, syncs the FeatureView in a continuous manner to Online + * Store. + * } + */ + 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; + } + + /** + * Optional. If true, syncs the FeatureView in a continuous manner to Online + * Store. + * + * Generated from protobuf field bool continuous = 2 [(.google.api.field_behavior) = OPTIONAL]; + * @return bool + */ + public function getContinuous() + { + return $this->continuous; + } + + /** + * Optional. If true, syncs the FeatureView in a continuous manner to Online + * Store. + * + * Generated from protobuf field bool continuous = 2 [(.google.api.field_behavior) = OPTIONAL]; + * @param bool $var + * @return $this + */ + public function setContinuous($var) + { + GPBUtil::checkBool($var); + $this->continuous = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/FeatureView/VertexRagSource.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/FeatureView/VertexRagSource.php new file mode 100644 index 000000000000..0febea3d5a5b --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/FeatureView/VertexRagSource.php @@ -0,0 +1,138 @@ +google.cloud.aiplatform.v1.FeatureView.VertexRagSource + */ +class VertexRagSource extends \Google\Protobuf\Internal\Message +{ + /** + * Required. The BigQuery view/table URI that will be materialized on each + * manual sync trigger. The table/view is expected to have the following + * columns and types at least: + * - `corpus_id` (STRING, NULLABLE/REQUIRED) + * - `file_id` (STRING, NULLABLE/REQUIRED) + * - `chunk_id` (STRING, NULLABLE/REQUIRED) + * - `chunk_data_type` (STRING, NULLABLE/REQUIRED) + * - `chunk_data` (STRING, NULLABLE/REQUIRED) + * - `embeddings` (FLOAT, REPEATED) + * - `file_original_uri` (STRING, NULLABLE/REQUIRED) + * + * Generated from protobuf field string uri = 1 [(.google.api.field_behavior) = REQUIRED]; + */ + protected $uri = ''; + /** + * Optional. The RAG corpus id corresponding to this FeatureView. + * + * Generated from protobuf field int64 rag_corpus_id = 2 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $rag_corpus_id = 0; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $uri + * Required. The BigQuery view/table URI that will be materialized on each + * manual sync trigger. The table/view is expected to have the following + * columns and types at least: + * - `corpus_id` (STRING, NULLABLE/REQUIRED) + * - `file_id` (STRING, NULLABLE/REQUIRED) + * - `chunk_id` (STRING, NULLABLE/REQUIRED) + * - `chunk_data_type` (STRING, NULLABLE/REQUIRED) + * - `chunk_data` (STRING, NULLABLE/REQUIRED) + * - `embeddings` (FLOAT, REPEATED) + * - `file_original_uri` (STRING, NULLABLE/REQUIRED) + * @type int|string $rag_corpus_id + * Optional. The RAG corpus id corresponding to this FeatureView. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Cloud\Aiplatform\V1\FeatureView::initOnce(); + parent::__construct($data); + } + + /** + * Required. The BigQuery view/table URI that will be materialized on each + * manual sync trigger. The table/view is expected to have the following + * columns and types at least: + * - `corpus_id` (STRING, NULLABLE/REQUIRED) + * - `file_id` (STRING, NULLABLE/REQUIRED) + * - `chunk_id` (STRING, NULLABLE/REQUIRED) + * - `chunk_data_type` (STRING, NULLABLE/REQUIRED) + * - `chunk_data` (STRING, NULLABLE/REQUIRED) + * - `embeddings` (FLOAT, REPEATED) + * - `file_original_uri` (STRING, NULLABLE/REQUIRED) + * + * Generated from protobuf field string uri = 1 [(.google.api.field_behavior) = REQUIRED]; + * @return string + */ + public function getUri() + { + return $this->uri; + } + + /** + * Required. The BigQuery view/table URI that will be materialized on each + * manual sync trigger. The table/view is expected to have the following + * columns and types at least: + * - `corpus_id` (STRING, NULLABLE/REQUIRED) + * - `file_id` (STRING, NULLABLE/REQUIRED) + * - `chunk_id` (STRING, NULLABLE/REQUIRED) + * - `chunk_data_type` (STRING, NULLABLE/REQUIRED) + * - `chunk_data` (STRING, NULLABLE/REQUIRED) + * - `embeddings` (FLOAT, REPEATED) + * - `file_original_uri` (STRING, NULLABLE/REQUIRED) + * + * 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; + } + + /** + * Optional. The RAG corpus id corresponding to this FeatureView. + * + * Generated from protobuf field int64 rag_corpus_id = 2 [(.google.api.field_behavior) = OPTIONAL]; + * @return int|string + */ + public function getRagCorpusId() + { + return $this->rag_corpus_id; + } + + /** + * Optional. The RAG corpus id corresponding to this FeatureView. + * + * Generated from protobuf field int64 rag_corpus_id = 2 [(.google.api.field_behavior) = OPTIONAL]; + * @param int|string $var + * @return $this + */ + public function setRagCorpusId($var) + { + GPBUtil::checkInt64($var); + $this->rag_corpus_id = $var; + + return $this; + } + +} + 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..6734aa08080d --- /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..e74882b13630 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/FeatureViewDataKey/CompositeKey.php @@ -0,0 +1,71 @@ +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 string[] $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 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 string[] $var + * @return $this + */ + public function setParts($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING); + $this->parts = $arr; + + return $this; + } + +} + diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/FeatureViewDirectWriteRequest.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/FeatureViewDirectWriteRequest.php new file mode 100644 index 000000000000..9ab64d25441f --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/FeatureViewDirectWriteRequest.php @@ -0,0 +1,106 @@ +google.cloud.aiplatform.v1.FeatureViewDirectWriteRequest + */ +class FeatureViewDirectWriteRequest extends \Google\Protobuf\Internal\Message +{ + /** + * FeatureView resource format + * `projects/{project}/locations/{location}/featureOnlineStores/{featureOnlineStore}/featureViews/{featureView}` + * + * Generated from protobuf field string feature_view = 1 [(.google.api.resource_reference) = { + */ + protected $feature_view = ''; + /** + * Required. The data keys and associated feature values. + * + * Generated from protobuf field repeated .google.cloud.aiplatform.v1.FeatureViewDirectWriteRequest.DataKeyAndFeatureValues data_key_and_feature_values = 2 [(.google.api.field_behavior) = REQUIRED]; + */ + private $data_key_and_feature_values; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $feature_view + * FeatureView resource format + * `projects/{project}/locations/{location}/featureOnlineStores/{featureOnlineStore}/featureViews/{featureView}` + * @type \Google\Cloud\AIPlatform\V1\FeatureViewDirectWriteRequest\DataKeyAndFeatureValues[] $data_key_and_feature_values + * Required. The data keys and associated feature values. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Cloud\Aiplatform\V1\FeatureOnlineStoreService::initOnce(); + parent::__construct($data); + } + + /** + * FeatureView resource format + * `projects/{project}/locations/{location}/featureOnlineStores/{featureOnlineStore}/featureViews/{featureView}` + * + * Generated from protobuf field string feature_view = 1 [(.google.api.resource_reference) = { + * @return string + */ + public function getFeatureView() + { + return $this->feature_view; + } + + /** + * FeatureView resource format + * `projects/{project}/locations/{location}/featureOnlineStores/{featureOnlineStore}/featureViews/{featureView}` + * + * Generated from protobuf field string feature_view = 1 [(.google.api.resource_reference) = { + * @param string $var + * @return $this + */ + public function setFeatureView($var) + { + GPBUtil::checkString($var, True); + $this->feature_view = $var; + + return $this; + } + + /** + * Required. The data keys and associated feature values. + * + * Generated from protobuf field repeated .google.cloud.aiplatform.v1.FeatureViewDirectWriteRequest.DataKeyAndFeatureValues data_key_and_feature_values = 2 [(.google.api.field_behavior) = REQUIRED]; + * @return RepeatedField<\Google\Cloud\AIPlatform\V1\FeatureViewDirectWriteRequest\DataKeyAndFeatureValues> + */ + public function getDataKeyAndFeatureValues() + { + return $this->data_key_and_feature_values; + } + + /** + * Required. The data keys and associated feature values. + * + * Generated from protobuf field repeated .google.cloud.aiplatform.v1.FeatureViewDirectWriteRequest.DataKeyAndFeatureValues data_key_and_feature_values = 2 [(.google.api.field_behavior) = REQUIRED]; + * @param \Google\Cloud\AIPlatform\V1\FeatureViewDirectWriteRequest\DataKeyAndFeatureValues[] $var + * @return $this + */ + public function setDataKeyAndFeatureValues($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\AIPlatform\V1\FeatureViewDirectWriteRequest\DataKeyAndFeatureValues::class); + $this->data_key_and_feature_values = $arr; + + return $this; + } + +} + diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/FeatureViewDirectWriteRequest/DataKeyAndFeatureValues.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/FeatureViewDirectWriteRequest/DataKeyAndFeatureValues.php new file mode 100644 index 000000000000..388ed61d1e22 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/FeatureViewDirectWriteRequest/DataKeyAndFeatureValues.php @@ -0,0 +1,111 @@ +google.cloud.aiplatform.v1.FeatureViewDirectWriteRequest.DataKeyAndFeatureValues + */ +class DataKeyAndFeatureValues extends \Google\Protobuf\Internal\Message +{ + /** + * The data key. + * + * Generated from protobuf field .google.cloud.aiplatform.v1.FeatureViewDataKey data_key = 1; + */ + protected $data_key = null; + /** + * List of features to write. + * + * Generated from protobuf field repeated .google.cloud.aiplatform.v1.FeatureViewDirectWriteRequest.DataKeyAndFeatureValues.Feature features = 2; + */ + private $features; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type \Google\Cloud\AIPlatform\V1\FeatureViewDataKey $data_key + * The data key. + * @type \Google\Cloud\AIPlatform\V1\FeatureViewDirectWriteRequest\DataKeyAndFeatureValues\Feature[] $features + * List of features to write. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Cloud\Aiplatform\V1\FeatureOnlineStoreService::initOnce(); + parent::__construct($data); + } + + /** + * The data key. + * + * Generated from protobuf field .google.cloud.aiplatform.v1.FeatureViewDataKey data_key = 1; + * @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. + * + * Generated from protobuf field .google.cloud.aiplatform.v1.FeatureViewDataKey data_key = 1; + * @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; + } + + /** + * List of features to write. + * + * Generated from protobuf field repeated .google.cloud.aiplatform.v1.FeatureViewDirectWriteRequest.DataKeyAndFeatureValues.Feature features = 2; + * @return RepeatedField<\Google\Cloud\AIPlatform\V1\FeatureViewDirectWriteRequest\DataKeyAndFeatureValues\Feature> + */ + public function getFeatures() + { + return $this->features; + } + + /** + * List of features to write. + * + * Generated from protobuf field repeated .google.cloud.aiplatform.v1.FeatureViewDirectWriteRequest.DataKeyAndFeatureValues.Feature features = 2; + * @param \Google\Cloud\AIPlatform\V1\FeatureViewDirectWriteRequest\DataKeyAndFeatureValues\Feature[] $var + * @return $this + */ + public function setFeatures($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\AIPlatform\V1\FeatureViewDirectWriteRequest\DataKeyAndFeatureValues\Feature::class); + $this->features = $arr; + + return $this; + } + +} + diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/FeatureViewDirectWriteRequest/DataKeyAndFeatureValues/Feature.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/FeatureViewDirectWriteRequest/DataKeyAndFeatureValues/Feature.php new file mode 100644 index 000000000000..fd55bbcdebd2 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/FeatureViewDirectWriteRequest/DataKeyAndFeatureValues/Feature.php @@ -0,0 +1,112 @@ +google.cloud.aiplatform.v1.FeatureViewDirectWriteRequest.DataKeyAndFeatureValues.Feature + */ +class Feature extends \Google\Protobuf\Internal\Message +{ + /** + * Feature short name. + * + * Generated from protobuf field string name = 1; + */ + protected $name = ''; + protected $data_oneof; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type \Google\Cloud\AIPlatform\V1\FeatureValue $value + * Feature value. A user provided timestamp may be set in the + * `FeatureValue.metadata.generate_time` field. + * @type string $name + * Feature short name. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Cloud\Aiplatform\V1\FeatureOnlineStoreService::initOnce(); + parent::__construct($data); + } + + /** + * Feature value. A user provided timestamp may be set in the + * `FeatureValue.metadata.generate_time` field. + * + * Generated from protobuf field .google.cloud.aiplatform.v1.FeatureValue value = 3; + * @return \Google\Cloud\AIPlatform\V1\FeatureValue|null + */ + public function getValue() + { + return $this->readOneof(3); + } + + public function hasValue() + { + return $this->hasOneof(3); + } + + /** + * Feature value. A user provided timestamp may be set in the + * `FeatureValue.metadata.generate_time` field. + * + * Generated from protobuf field .google.cloud.aiplatform.v1.FeatureValue value = 3; + * @param \Google\Cloud\AIPlatform\V1\FeatureValue $var + * @return $this + */ + public function setValue($var) + { + GPBUtil::checkMessage($var, \Google\Cloud\AIPlatform\V1\FeatureValue::class); + $this->writeOneof(3, $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 getDataOneof() + { + return $this->whichOneof("data_oneof"); + } + +} + diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/FeatureViewDirectWriteResponse.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/FeatureViewDirectWriteResponse.php new file mode 100644 index 000000000000..fb818a9b6cd7 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/FeatureViewDirectWriteResponse.php @@ -0,0 +1,160 @@ +google.cloud.aiplatform.v1.FeatureViewDirectWriteResponse + */ +class FeatureViewDirectWriteResponse extends \Google\Protobuf\Internal\Message +{ + /** + * Response status for the keys listed in + * [FeatureViewDirectWriteResponse.write_responses][google.cloud.aiplatform.v1.FeatureViewDirectWriteResponse.write_responses]. + * The error only applies to the + * listed data keys - the stream will remain open for further + * [FeatureOnlineStoreService.FeatureViewDirectWriteRequest][] requests. + * Partial failures (e.g. if the first 10 keys of a request fail, but the + * rest succeed) from a single request may result in multiple responses - + * there will be one response for the successful request keys and one response + * for the failing request keys. + * + * Generated from protobuf field .google.rpc.Status status = 1; + */ + protected $status = null; + /** + * Details about write for each key. If status is not OK, + * [WriteResponse.data_key][google.cloud.aiplatform.v1.FeatureViewDirectWriteResponse.WriteResponse.data_key] + * will have the key with error, but + * [WriteResponse.online_store_write_time][google.cloud.aiplatform.v1.FeatureViewDirectWriteResponse.WriteResponse.online_store_write_time] + * will not be present. + * + * Generated from protobuf field repeated .google.cloud.aiplatform.v1.FeatureViewDirectWriteResponse.WriteResponse write_responses = 2; + */ + private $write_responses; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type \Google\Rpc\Status $status + * Response status for the keys listed in + * [FeatureViewDirectWriteResponse.write_responses][google.cloud.aiplatform.v1.FeatureViewDirectWriteResponse.write_responses]. + * The error only applies to the + * listed data keys - the stream will remain open for further + * [FeatureOnlineStoreService.FeatureViewDirectWriteRequest][] requests. + * Partial failures (e.g. if the first 10 keys of a request fail, but the + * rest succeed) from a single request may result in multiple responses - + * there will be one response for the successful request keys and one response + * for the failing request keys. + * @type \Google\Cloud\AIPlatform\V1\FeatureViewDirectWriteResponse\WriteResponse[] $write_responses + * Details about write for each key. If status is not OK, + * [WriteResponse.data_key][google.cloud.aiplatform.v1.FeatureViewDirectWriteResponse.WriteResponse.data_key] + * will have the key with error, but + * [WriteResponse.online_store_write_time][google.cloud.aiplatform.v1.FeatureViewDirectWriteResponse.WriteResponse.online_store_write_time] + * will not be present. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Cloud\Aiplatform\V1\FeatureOnlineStoreService::initOnce(); + parent::__construct($data); + } + + /** + * Response status for the keys listed in + * [FeatureViewDirectWriteResponse.write_responses][google.cloud.aiplatform.v1.FeatureViewDirectWriteResponse.write_responses]. + * The error only applies to the + * listed data keys - the stream will remain open for further + * [FeatureOnlineStoreService.FeatureViewDirectWriteRequest][] requests. + * Partial failures (e.g. if the first 10 keys of a request fail, but the + * rest succeed) from a single request may result in multiple responses - + * there will be one response for the successful request keys and one response + * for the failing request keys. + * + * Generated from protobuf field .google.rpc.Status status = 1; + * @return \Google\Rpc\Status|null + */ + public function getStatus() + { + return $this->status; + } + + public function hasStatus() + { + return isset($this->status); + } + + public function clearStatus() + { + unset($this->status); + } + + /** + * Response status for the keys listed in + * [FeatureViewDirectWriteResponse.write_responses][google.cloud.aiplatform.v1.FeatureViewDirectWriteResponse.write_responses]. + * The error only applies to the + * listed data keys - the stream will remain open for further + * [FeatureOnlineStoreService.FeatureViewDirectWriteRequest][] requests. + * Partial failures (e.g. if the first 10 keys of a request fail, but the + * rest succeed) from a single request may result in multiple responses - + * there will be one response for the successful request keys and one response + * for the failing request keys. + * + * Generated from protobuf field .google.rpc.Status status = 1; + * @param \Google\Rpc\Status $var + * @return $this + */ + public function setStatus($var) + { + GPBUtil::checkMessage($var, \Google\Rpc\Status::class); + $this->status = $var; + + return $this; + } + + /** + * Details about write for each key. If status is not OK, + * [WriteResponse.data_key][google.cloud.aiplatform.v1.FeatureViewDirectWriteResponse.WriteResponse.data_key] + * will have the key with error, but + * [WriteResponse.online_store_write_time][google.cloud.aiplatform.v1.FeatureViewDirectWriteResponse.WriteResponse.online_store_write_time] + * will not be present. + * + * Generated from protobuf field repeated .google.cloud.aiplatform.v1.FeatureViewDirectWriteResponse.WriteResponse write_responses = 2; + * @return RepeatedField<\Google\Cloud\AIPlatform\V1\FeatureViewDirectWriteResponse\WriteResponse> + */ + public function getWriteResponses() + { + return $this->write_responses; + } + + /** + * Details about write for each key. If status is not OK, + * [WriteResponse.data_key][google.cloud.aiplatform.v1.FeatureViewDirectWriteResponse.WriteResponse.data_key] + * will have the key with error, but + * [WriteResponse.online_store_write_time][google.cloud.aiplatform.v1.FeatureViewDirectWriteResponse.WriteResponse.online_store_write_time] + * will not be present. + * + * Generated from protobuf field repeated .google.cloud.aiplatform.v1.FeatureViewDirectWriteResponse.WriteResponse write_responses = 2; + * @param \Google\Cloud\AIPlatform\V1\FeatureViewDirectWriteResponse\WriteResponse[] $var + * @return $this + */ + public function setWriteResponses($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\AIPlatform\V1\FeatureViewDirectWriteResponse\WriteResponse::class); + $this->write_responses = $arr; + + return $this; + } + +} + diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/FeatureViewDirectWriteResponse/WriteResponse.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/FeatureViewDirectWriteResponse/WriteResponse.php new file mode 100644 index 000000000000..67c1ebe8841b --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/FeatureViewDirectWriteResponse/WriteResponse.php @@ -0,0 +1,133 @@ +google.cloud.aiplatform.v1.FeatureViewDirectWriteResponse.WriteResponse + */ +class WriteResponse extends \Google\Protobuf\Internal\Message +{ + /** + * What key is this write response associated with. + * + * Generated from protobuf field .google.cloud.aiplatform.v1.FeatureViewDataKey data_key = 1; + */ + protected $data_key = null; + /** + * When the feature values were written to the online store. + * If + * [FeatureViewDirectWriteResponse.status][google.cloud.aiplatform.v1.FeatureViewDirectWriteResponse.status] + * is not OK, this field is not populated. + * + * Generated from protobuf field .google.protobuf.Timestamp online_store_write_time = 2; + */ + protected $online_store_write_time = null; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type \Google\Cloud\AIPlatform\V1\FeatureViewDataKey $data_key + * What key is this write response associated with. + * @type \Google\Protobuf\Timestamp $online_store_write_time + * When the feature values were written to the online store. + * If + * [FeatureViewDirectWriteResponse.status][google.cloud.aiplatform.v1.FeatureViewDirectWriteResponse.status] + * is not OK, this field is not populated. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Cloud\Aiplatform\V1\FeatureOnlineStoreService::initOnce(); + parent::__construct($data); + } + + /** + * What key is this write response associated with. + * + * Generated from protobuf field .google.cloud.aiplatform.v1.FeatureViewDataKey data_key = 1; + * @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); + } + + /** + * What key is this write response associated with. + * + * Generated from protobuf field .google.cloud.aiplatform.v1.FeatureViewDataKey data_key = 1; + * @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; + } + + /** + * When the feature values were written to the online store. + * If + * [FeatureViewDirectWriteResponse.status][google.cloud.aiplatform.v1.FeatureViewDirectWriteResponse.status] + * is not OK, this field is not populated. + * + * Generated from protobuf field .google.protobuf.Timestamp online_store_write_time = 2; + * @return \Google\Protobuf\Timestamp|null + */ + public function getOnlineStoreWriteTime() + { + return $this->online_store_write_time; + } + + public function hasOnlineStoreWriteTime() + { + return isset($this->online_store_write_time); + } + + public function clearOnlineStoreWriteTime() + { + unset($this->online_store_write_time); + } + + /** + * When the feature values were written to the online store. + * If + * [FeatureViewDirectWriteResponse.status][google.cloud.aiplatform.v1.FeatureViewDirectWriteResponse.status] + * is not OK, this field is not populated. + * + * Generated from protobuf field .google.protobuf.Timestamp online_store_write_time = 2; + * @param \Google\Protobuf\Timestamp $var + * @return $this + */ + public function setOnlineStoreWriteTime($var) + { + GPBUtil::checkMessage($var, \Google\Protobuf\Timestamp::class); + $this->online_store_write_time = $var; + + return $this; + } + +} + 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..3172a94cb6bb --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/FeatureViewSync.php @@ -0,0 +1,324 @@ +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; + /** + * Output only. Reserved for future use. + * + * Generated from protobuf field bool satisfies_pzs = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + protected $satisfies_pzs = false; + /** + * Output only. Reserved for future use. + * + * Generated from protobuf field bool satisfies_pzi = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + protected $satisfies_pzi = false; + + /** + * 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. + * @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\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; + } + + /** + * Output only. Reserved for future use. + * + * Generated from protobuf field bool satisfies_pzs = 7 [(.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 = 7 [(.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 = 8 [(.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 = 8 [(.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/FeatureViewSync/SyncSummary.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/FeatureViewSync/SyncSummary.php new file mode 100644 index 000000000000..09d1c1fc2bdf --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/FeatureViewSync/SyncSummary.php @@ -0,0 +1,150 @@ +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; + /** + * Lower bound of the system time watermark for the sync job. This is only + * set for continuously syncing feature views. + * + * Generated from protobuf field .google.protobuf.Timestamp system_watermark_time = 5; + */ + protected $system_watermark_time = null; + + /** + * 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. + * @type \Google\Protobuf\Timestamp $system_watermark_time + * Lower bound of the system time watermark for the sync job. This is only + * set for continuously syncing feature views. + * } + */ + 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; + } + + /** + * Lower bound of the system time watermark for the sync job. This is only + * set for continuously syncing feature views. + * + * Generated from protobuf field .google.protobuf.Timestamp system_watermark_time = 5; + * @return \Google\Protobuf\Timestamp|null + */ + public function getSystemWatermarkTime() + { + return $this->system_watermark_time; + } + + public function hasSystemWatermarkTime() + { + return isset($this->system_watermark_time); + } + + public function clearSystemWatermarkTime() + { + unset($this->system_watermark_time); + } + + /** + * Lower bound of the system time watermark for the sync job. This is only + * set for continuously syncing feature views. + * + * Generated from protobuf field .google.protobuf.Timestamp system_watermark_time = 5; + * @param \Google\Protobuf\Timestamp $var + * @return $this + */ + public function setSystemWatermarkTime($var) + { + GPBUtil::checkMessage($var, \Google\Protobuf\Timestamp::class); + $this->system_watermark_time = $var; + + return $this; + } + +} + 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..fbc1da6966ca --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/Featurestore.php @@ -0,0 +1,529 @@ +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; + /** + * Output only. Reserved for future use. + * + * Generated from protobuf field bool satisfies_pzs = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + protected $satisfies_pzs = false; + /** + * Output only. Reserved for future use. + * + * Generated from protobuf field bool satisfies_pzi = 15 [(.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. 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. + * @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\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; + } + + /** + * Output only. Reserved for future use. + * + * Generated from protobuf field bool satisfies_pzs = 14 [(.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 = 14 [(.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 = 15 [(.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 = 15 [(.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/Featurestore/OnlineServingConfig.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/Featurestore/OnlineServingConfig.php new file mode 100644 index 000000000000..256790a7ded4 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/Featurestore/OnlineServingConfig.php @@ -0,0 +1,132 @@ +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; + } + +} + 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..4345fe005246 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/Featurestore/OnlineServingConfig/Scaling.php @@ -0,0 +1,169 @@ +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; + } + +} + 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..c99b49b49bea --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/Featurestore/State.php @@ -0,0 +1,72 @@ +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); + } +} + 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..a951f0472625 --- /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..3498acf80899 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/FeaturestoreMonitoringConfig/ImportFeaturesAnalysis.php @@ -0,0 +1,113 @@ +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; + } + +} + 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..043a96a1f044 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/FeaturestoreMonitoringConfig/ImportFeaturesAnalysis/Baseline.php @@ -0,0 +1,75 @@ +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); + } +} + 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..b44ca2f12686 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/FeaturestoreMonitoringConfig/ImportFeaturesAnalysis/State.php @@ -0,0 +1,81 @@ +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); + } +} + 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..45c6419e8d6e --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/FeaturestoreMonitoringConfig/SnapshotAnalysis.php @@ -0,0 +1,190 @@ +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; + } + +} + 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..477761bff14c --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/FeaturestoreMonitoringConfig/ThresholdConfig.php @@ -0,0 +1,93 @@ +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"); + } + +} + 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..7b4edd4bbb84 --- /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..99466cdc3619 --- /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..0e37eb29100b --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/FetchFeatureValuesResponse/FeatureNameValuePairList.php @@ -0,0 +1,68 @@ +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 \Google\Cloud\AIPlatform\V1\FetchFeatureValuesResponse\FeatureNameValuePairList\FeatureNameValuePair[] $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 RepeatedField<\Google\Cloud\AIPlatform\V1\FetchFeatureValuesResponse\FeatureNameValuePairList\FeatureNameValuePair> + */ + 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 \Google\Cloud\AIPlatform\V1\FetchFeatureValuesResponse\FeatureNameValuePairList\FeatureNameValuePair[] $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; + } + +} + 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..241b2a606a0b --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/FetchFeatureValuesResponse/FeatureNameValuePairList/FeatureNameValuePair.php @@ -0,0 +1,109 @@ +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"); + } + +} + 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..1bcda79ccba6 --- /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/FileStatus.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/FileStatus.php new file mode 100644 index 000000000000..d051882954f2 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/FileStatus.php @@ -0,0 +1,101 @@ +google.cloud.aiplatform.v1.FileStatus + */ +class FileStatus extends \Google\Protobuf\Internal\Message +{ + /** + * Output only. RagFile state. + * + * Generated from protobuf field .google.cloud.aiplatform.v1.FileStatus.State state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + protected $state = 0; + /** + * Output only. Only when the `state` field is ERROR. + * + * Generated from protobuf field string error_status = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + protected $error_status = ''; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type int $state + * Output only. RagFile state. + * @type string $error_status + * Output only. Only when the `state` field is ERROR. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Cloud\Aiplatform\V1\VertexRagData::initOnce(); + parent::__construct($data); + } + + /** + * Output only. RagFile state. + * + * Generated from protobuf field .google.cloud.aiplatform.v1.FileStatus.State state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return int + */ + public function getState() + { + return $this->state; + } + + /** + * Output only. RagFile state. + * + * Generated from protobuf field .google.cloud.aiplatform.v1.FileStatus.State state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @param int $var + * @return $this + */ + public function setState($var) + { + GPBUtil::checkEnum($var, \Google\Cloud\AIPlatform\V1\FileStatus\State::class); + $this->state = $var; + + return $this; + } + + /** + * Output only. Only when the `state` field is ERROR. + * + * Generated from protobuf field string error_status = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return string + */ + public function getErrorStatus() + { + return $this->error_status; + } + + /** + * Output only. Only when the `state` field is ERROR. + * + * Generated from protobuf field string error_status = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @param string $var + * @return $this + */ + public function setErrorStatus($var) + { + GPBUtil::checkString($var, True); + $this->error_status = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/FileStatus/State.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/FileStatus/State.php new file mode 100644 index 000000000000..382cf5259920 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/FileStatus/State.php @@ -0,0 +1,62 @@ +google.cloud.aiplatform.v1.FileStatus.State + */ +class State +{ + /** + * RagFile state is unspecified. + * + * Generated from protobuf enum STATE_UNSPECIFIED = 0; + */ + const STATE_UNSPECIFIED = 0; + /** + * RagFile resource has been created and indexed successfully. + * + * Generated from protobuf enum ACTIVE = 1; + */ + const ACTIVE = 1; + /** + * RagFile resource is in a problematic state. + * See `error_message` field for details. + * + * Generated from protobuf enum ERROR = 2; + */ + const ERROR = 2; + + private static $valueToName = [ + self::STATE_UNSPECIFIED => 'STATE_UNSPECIFIED', + self::ACTIVE => 'ACTIVE', + self::ERROR => 'ERROR', + ]; + + 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/FilterSplit.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/FilterSplit.php new file mode 100644 index 000000000000..f2a374d07420 --- /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..de42f7e8069d --- /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 \Google\Cloud\AIPlatform\V1\FindNeighborsRequest\Query[] $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 RepeatedField<\Google\Cloud\AIPlatform\V1\FindNeighborsRequest\Query> + */ + public function getQueries() + { + return $this->queries; + } + + /** + * The list of queries. + * + * Generated from protobuf field repeated .google.cloud.aiplatform.v1.FindNeighborsRequest.Query queries = 3; + * @param \Google\Cloud\AIPlatform\V1\FindNeighborsRequest\Query[] $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..e654274a36b9 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/FindNeighborsRequest/Query.php @@ -0,0 +1,312 @@ +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"); + } + +} + 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..b14e4c671b7f --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/FindNeighborsRequest/Query/RRF.php @@ -0,0 +1,75 @@ +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; + } + +} + 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..a518ce3e8d19 --- /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 \Google\Cloud\AIPlatform\V1\FindNeighborsResponse\NearestNeighbors[] $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 RepeatedField<\Google\Cloud\AIPlatform\V1\FindNeighborsResponse\NearestNeighbors> + */ + 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 \Google\Cloud\AIPlatform\V1\FindNeighborsResponse\NearestNeighbors[] $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..6bfef9966e6d --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/FindNeighborsResponse/NearestNeighbors.php @@ -0,0 +1,101 @@ +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 \Google\Cloud\AIPlatform\V1\FindNeighborsResponse\Neighbor[] $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 RepeatedField<\Google\Cloud\AIPlatform\V1\FindNeighborsResponse\Neighbor> + */ + public function getNeighbors() + { + return $this->neighbors; + } + + /** + * All its neighbors. + * + * Generated from protobuf field repeated .google.cloud.aiplatform.v1.FindNeighborsResponse.Neighbor neighbors = 2; + * @param \Google\Cloud\AIPlatform\V1\FindNeighborsResponse\Neighbor[] $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; + } + +} + 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..9389e4d74e02 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/FindNeighborsResponse/Neighbor.php @@ -0,0 +1,157 @@ +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; + } + +} + diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/FluencyInput.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/FluencyInput.php new file mode 100644 index 000000000000..63a75bc04c1a --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/FluencyInput.php @@ -0,0 +1,121 @@ +google.cloud.aiplatform.v1.FluencyInput + */ +class FluencyInput extends \Google\Protobuf\Internal\Message +{ + /** + * Required. Spec for fluency score metric. + * + * Generated from protobuf field .google.cloud.aiplatform.v1.FluencySpec metric_spec = 1 [(.google.api.field_behavior) = REQUIRED]; + */ + protected $metric_spec = null; + /** + * Required. Fluency instance. + * + * Generated from protobuf field .google.cloud.aiplatform.v1.FluencyInstance instance = 2 [(.google.api.field_behavior) = REQUIRED]; + */ + protected $instance = null; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type \Google\Cloud\AIPlatform\V1\FluencySpec $metric_spec + * Required. Spec for fluency score metric. + * @type \Google\Cloud\AIPlatform\V1\FluencyInstance $instance + * Required. Fluency instance. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Cloud\Aiplatform\V1\EvaluationService::initOnce(); + parent::__construct($data); + } + + /** + * Required. Spec for fluency score metric. + * + * Generated from protobuf field .google.cloud.aiplatform.v1.FluencySpec metric_spec = 1 [(.google.api.field_behavior) = REQUIRED]; + * @return \Google\Cloud\AIPlatform\V1\FluencySpec|null + */ + public function getMetricSpec() + { + return $this->metric_spec; + } + + public function hasMetricSpec() + { + return isset($this->metric_spec); + } + + public function clearMetricSpec() + { + unset($this->metric_spec); + } + + /** + * Required. Spec for fluency score metric. + * + * Generated from protobuf field .google.cloud.aiplatform.v1.FluencySpec metric_spec = 1 [(.google.api.field_behavior) = REQUIRED]; + * @param \Google\Cloud\AIPlatform\V1\FluencySpec $var + * @return $this + */ + public function setMetricSpec($var) + { + GPBUtil::checkMessage($var, \Google\Cloud\AIPlatform\V1\FluencySpec::class); + $this->metric_spec = $var; + + return $this; + } + + /** + * Required. Fluency instance. + * + * Generated from protobuf field .google.cloud.aiplatform.v1.FluencyInstance instance = 2 [(.google.api.field_behavior) = REQUIRED]; + * @return \Google\Cloud\AIPlatform\V1\FluencyInstance|null + */ + public function getInstance() + { + return $this->instance; + } + + public function hasInstance() + { + return isset($this->instance); + } + + public function clearInstance() + { + unset($this->instance); + } + + /** + * Required. Fluency instance. + * + * Generated from protobuf field .google.cloud.aiplatform.v1.FluencyInstance instance = 2 [(.google.api.field_behavior) = REQUIRED]; + * @param \Google\Cloud\AIPlatform\V1\FluencyInstance $var + * @return $this + */ + public function setInstance($var) + { + GPBUtil::checkMessage($var, \Google\Cloud\AIPlatform\V1\FluencyInstance::class); + $this->instance = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/FluencyInstance.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/FluencyInstance.php new file mode 100644 index 000000000000..da60510b31cf --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/FluencyInstance.php @@ -0,0 +1,77 @@ +google.cloud.aiplatform.v1.FluencyInstance + */ +class FluencyInstance extends \Google\Protobuf\Internal\Message +{ + /** + * Required. Output of the evaluated model. + * + * Generated from protobuf field optional string prediction = 1 [(.google.api.field_behavior) = REQUIRED]; + */ + protected $prediction = null; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $prediction + * Required. Output of the evaluated model. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Cloud\Aiplatform\V1\EvaluationService::initOnce(); + parent::__construct($data); + } + + /** + * Required. Output of the evaluated model. + * + * Generated from protobuf field optional string prediction = 1 [(.google.api.field_behavior) = REQUIRED]; + * @return string + */ + public function getPrediction() + { + return isset($this->prediction) ? $this->prediction : ''; + } + + public function hasPrediction() + { + return isset($this->prediction); + } + + public function clearPrediction() + { + unset($this->prediction); + } + + /** + * Required. Output of the evaluated model. + * + * Generated from protobuf field optional string prediction = 1 [(.google.api.field_behavior) = REQUIRED]; + * @param string $var + * @return $this + */ + public function setPrediction($var) + { + GPBUtil::checkString($var, True); + $this->prediction = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/FluencyResult.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/FluencyResult.php new file mode 100644 index 000000000000..caf29b2830d2 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/FluencyResult.php @@ -0,0 +1,155 @@ +google.cloud.aiplatform.v1.FluencyResult + */ +class FluencyResult extends \Google\Protobuf\Internal\Message +{ + /** + * Output only. Fluency score. + * + * Generated from protobuf field optional float score = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + protected $score = null; + /** + * Output only. Explanation for fluency score. + * + * Generated from protobuf field string explanation = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + protected $explanation = ''; + /** + * Output only. Confidence for fluency score. + * + * Generated from protobuf field optional float confidence = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + protected $confidence = null; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type float $score + * Output only. Fluency score. + * @type string $explanation + * Output only. Explanation for fluency score. + * @type float $confidence + * Output only. Confidence for fluency score. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Cloud\Aiplatform\V1\EvaluationService::initOnce(); + parent::__construct($data); + } + + /** + * Output only. Fluency score. + * + * Generated from protobuf field optional float score = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return float + */ + public function getScore() + { + return isset($this->score) ? $this->score : 0.0; + } + + public function hasScore() + { + return isset($this->score); + } + + public function clearScore() + { + unset($this->score); + } + + /** + * Output only. Fluency score. + * + * Generated from protobuf field optional float score = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @param float $var + * @return $this + */ + public function setScore($var) + { + GPBUtil::checkFloat($var); + $this->score = $var; + + return $this; + } + + /** + * Output only. Explanation for fluency score. + * + * Generated from protobuf field string explanation = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return string + */ + public function getExplanation() + { + return $this->explanation; + } + + /** + * Output only. Explanation for fluency score. + * + * Generated from protobuf field string explanation = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @param string $var + * @return $this + */ + public function setExplanation($var) + { + GPBUtil::checkString($var, True); + $this->explanation = $var; + + return $this; + } + + /** + * Output only. Confidence for fluency score. + * + * Generated from protobuf field optional float confidence = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return float + */ + public function getConfidence() + { + return isset($this->confidence) ? $this->confidence : 0.0; + } + + public function hasConfidence() + { + return isset($this->confidence); + } + + public function clearConfidence() + { + unset($this->confidence); + } + + /** + * Output only. Confidence for fluency score. + * + * Generated from protobuf field optional float confidence = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @param float $var + * @return $this + */ + public function setConfidence($var) + { + GPBUtil::checkFloat($var); + $this->confidence = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/FluencySpec.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/FluencySpec.php new file mode 100644 index 000000000000..25ecfd7c0f9b --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/FluencySpec.php @@ -0,0 +1,67 @@ +google.cloud.aiplatform.v1.FluencySpec + */ +class FluencySpec extends \Google\Protobuf\Internal\Message +{ + /** + * Optional. Which version to use for evaluation. + * + * Generated from protobuf field int32 version = 1 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $version = 0; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type int $version + * Optional. Which version to use for evaluation. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Cloud\Aiplatform\V1\EvaluationService::initOnce(); + parent::__construct($data); + } + + /** + * Optional. Which version to use for evaluation. + * + * Generated from protobuf field int32 version = 1 [(.google.api.field_behavior) = OPTIONAL]; + * @return int + */ + public function getVersion() + { + return $this->version; + } + + /** + * Optional. Which version to use for evaluation. + * + * Generated from protobuf field int32 version = 1 [(.google.api.field_behavior) = OPTIONAL]; + * @param int $var + * @return $this + */ + public function setVersion($var) + { + GPBUtil::checkInt32($var); + $this->version = $var; + + return $this; + } + +} + 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..a39c6db0f203 --- /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/FulfillmentInput.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/FulfillmentInput.php new file mode 100644 index 000000000000..3c6a97595c52 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/FulfillmentInput.php @@ -0,0 +1,121 @@ +google.cloud.aiplatform.v1.FulfillmentInput + */ +class FulfillmentInput extends \Google\Protobuf\Internal\Message +{ + /** + * Required. Spec for fulfillment score metric. + * + * Generated from protobuf field .google.cloud.aiplatform.v1.FulfillmentSpec metric_spec = 1 [(.google.api.field_behavior) = REQUIRED]; + */ + protected $metric_spec = null; + /** + * Required. Fulfillment instance. + * + * Generated from protobuf field .google.cloud.aiplatform.v1.FulfillmentInstance instance = 2 [(.google.api.field_behavior) = REQUIRED]; + */ + protected $instance = null; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type \Google\Cloud\AIPlatform\V1\FulfillmentSpec $metric_spec + * Required. Spec for fulfillment score metric. + * @type \Google\Cloud\AIPlatform\V1\FulfillmentInstance $instance + * Required. Fulfillment instance. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Cloud\Aiplatform\V1\EvaluationService::initOnce(); + parent::__construct($data); + } + + /** + * Required. Spec for fulfillment score metric. + * + * Generated from protobuf field .google.cloud.aiplatform.v1.FulfillmentSpec metric_spec = 1 [(.google.api.field_behavior) = REQUIRED]; + * @return \Google\Cloud\AIPlatform\V1\FulfillmentSpec|null + */ + public function getMetricSpec() + { + return $this->metric_spec; + } + + public function hasMetricSpec() + { + return isset($this->metric_spec); + } + + public function clearMetricSpec() + { + unset($this->metric_spec); + } + + /** + * Required. Spec for fulfillment score metric. + * + * Generated from protobuf field .google.cloud.aiplatform.v1.FulfillmentSpec metric_spec = 1 [(.google.api.field_behavior) = REQUIRED]; + * @param \Google\Cloud\AIPlatform\V1\FulfillmentSpec $var + * @return $this + */ + public function setMetricSpec($var) + { + GPBUtil::checkMessage($var, \Google\Cloud\AIPlatform\V1\FulfillmentSpec::class); + $this->metric_spec = $var; + + return $this; + } + + /** + * Required. Fulfillment instance. + * + * Generated from protobuf field .google.cloud.aiplatform.v1.FulfillmentInstance instance = 2 [(.google.api.field_behavior) = REQUIRED]; + * @return \Google\Cloud\AIPlatform\V1\FulfillmentInstance|null + */ + public function getInstance() + { + return $this->instance; + } + + public function hasInstance() + { + return isset($this->instance); + } + + public function clearInstance() + { + unset($this->instance); + } + + /** + * Required. Fulfillment instance. + * + * Generated from protobuf field .google.cloud.aiplatform.v1.FulfillmentInstance instance = 2 [(.google.api.field_behavior) = REQUIRED]; + * @param \Google\Cloud\AIPlatform\V1\FulfillmentInstance $var + * @return $this + */ + public function setInstance($var) + { + GPBUtil::checkMessage($var, \Google\Cloud\AIPlatform\V1\FulfillmentInstance::class); + $this->instance = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/FulfillmentInstance.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/FulfillmentInstance.php new file mode 100644 index 000000000000..f05f46e8265e --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/FulfillmentInstance.php @@ -0,0 +1,121 @@ +google.cloud.aiplatform.v1.FulfillmentInstance + */ +class FulfillmentInstance extends \Google\Protobuf\Internal\Message +{ + /** + * Required. Output of the evaluated model. + * + * Generated from protobuf field optional string prediction = 1 [(.google.api.field_behavior) = REQUIRED]; + */ + protected $prediction = null; + /** + * Required. Inference instruction prompt to compare prediction with. + * + * Generated from protobuf field optional string instruction = 2 [(.google.api.field_behavior) = REQUIRED]; + */ + protected $instruction = null; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $prediction + * Required. Output of the evaluated model. + * @type string $instruction + * Required. Inference instruction prompt to compare prediction with. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Cloud\Aiplatform\V1\EvaluationService::initOnce(); + parent::__construct($data); + } + + /** + * Required. Output of the evaluated model. + * + * Generated from protobuf field optional string prediction = 1 [(.google.api.field_behavior) = REQUIRED]; + * @return string + */ + public function getPrediction() + { + return isset($this->prediction) ? $this->prediction : ''; + } + + public function hasPrediction() + { + return isset($this->prediction); + } + + public function clearPrediction() + { + unset($this->prediction); + } + + /** + * Required. Output of the evaluated model. + * + * Generated from protobuf field optional string prediction = 1 [(.google.api.field_behavior) = REQUIRED]; + * @param string $var + * @return $this + */ + public function setPrediction($var) + { + GPBUtil::checkString($var, True); + $this->prediction = $var; + + return $this; + } + + /** + * Required. Inference instruction prompt to compare prediction with. + * + * Generated from protobuf field optional string instruction = 2 [(.google.api.field_behavior) = REQUIRED]; + * @return string + */ + public function getInstruction() + { + return isset($this->instruction) ? $this->instruction : ''; + } + + public function hasInstruction() + { + return isset($this->instruction); + } + + public function clearInstruction() + { + unset($this->instruction); + } + + /** + * Required. Inference instruction prompt to compare prediction with. + * + * Generated from protobuf field optional string instruction = 2 [(.google.api.field_behavior) = REQUIRED]; + * @param string $var + * @return $this + */ + public function setInstruction($var) + { + GPBUtil::checkString($var, True); + $this->instruction = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/FulfillmentResult.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/FulfillmentResult.php new file mode 100644 index 000000000000..c01904eb8e43 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/FulfillmentResult.php @@ -0,0 +1,155 @@ +google.cloud.aiplatform.v1.FulfillmentResult + */ +class FulfillmentResult extends \Google\Protobuf\Internal\Message +{ + /** + * Output only. Fulfillment score. + * + * Generated from protobuf field optional float score = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + protected $score = null; + /** + * Output only. Explanation for fulfillment score. + * + * Generated from protobuf field string explanation = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + protected $explanation = ''; + /** + * Output only. Confidence for fulfillment score. + * + * Generated from protobuf field optional float confidence = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + protected $confidence = null; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type float $score + * Output only. Fulfillment score. + * @type string $explanation + * Output only. Explanation for fulfillment score. + * @type float $confidence + * Output only. Confidence for fulfillment score. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Cloud\Aiplatform\V1\EvaluationService::initOnce(); + parent::__construct($data); + } + + /** + * Output only. Fulfillment score. + * + * Generated from protobuf field optional float score = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return float + */ + public function getScore() + { + return isset($this->score) ? $this->score : 0.0; + } + + public function hasScore() + { + return isset($this->score); + } + + public function clearScore() + { + unset($this->score); + } + + /** + * Output only. Fulfillment score. + * + * Generated from protobuf field optional float score = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @param float $var + * @return $this + */ + public function setScore($var) + { + GPBUtil::checkFloat($var); + $this->score = $var; + + return $this; + } + + /** + * Output only. Explanation for fulfillment score. + * + * Generated from protobuf field string explanation = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return string + */ + public function getExplanation() + { + return $this->explanation; + } + + /** + * Output only. Explanation for fulfillment score. + * + * Generated from protobuf field string explanation = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @param string $var + * @return $this + */ + public function setExplanation($var) + { + GPBUtil::checkString($var, True); + $this->explanation = $var; + + return $this; + } + + /** + * Output only. Confidence for fulfillment score. + * + * Generated from protobuf field optional float confidence = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return float + */ + public function getConfidence() + { + return isset($this->confidence) ? $this->confidence : 0.0; + } + + public function hasConfidence() + { + return isset($this->confidence); + } + + public function clearConfidence() + { + unset($this->confidence); + } + + /** + * Output only. Confidence for fulfillment score. + * + * Generated from protobuf field optional float confidence = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @param float $var + * @return $this + */ + public function setConfidence($var) + { + GPBUtil::checkFloat($var); + $this->confidence = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/FulfillmentSpec.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/FulfillmentSpec.php new file mode 100644 index 000000000000..c4eda80c68f4 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/FulfillmentSpec.php @@ -0,0 +1,67 @@ +google.cloud.aiplatform.v1.FulfillmentSpec + */ +class FulfillmentSpec extends \Google\Protobuf\Internal\Message +{ + /** + * Optional. Which version to use for evaluation. + * + * Generated from protobuf field int32 version = 1 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $version = 0; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type int $version + * Optional. Which version to use for evaluation. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Cloud\Aiplatform\V1\EvaluationService::initOnce(); + parent::__construct($data); + } + + /** + * Optional. Which version to use for evaluation. + * + * Generated from protobuf field int32 version = 1 [(.google.api.field_behavior) = OPTIONAL]; + * @return int + */ + public function getVersion() + { + return $this->version; + } + + /** + * Optional. Which version to use for evaluation. + * + * Generated from protobuf field int32 version = 1 [(.google.api.field_behavior) = OPTIONAL]; + * @param int $var + * @return $this + */ + public function setVersion($var) + { + GPBUtil::checkInt32($var); + $this->version = $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..0ef5b57fccdf --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/FunctionCall.php @@ -0,0 +1,205 @@ +google.cloud.aiplatform.v1.FunctionCall + */ +class FunctionCall extends \Google\Protobuf\Internal\Message +{ + /** + * Optional. The name of the function to call. + * Matches [FunctionDeclaration.name]. + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $name = ''; + /** + * Optional. 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; + /** + * Optional. The partial argument value of the function call. + * If provided, represents the arguments/fields that are streamed + * incrementally. + * + * Generated from protobuf field repeated .google.cloud.aiplatform.v1.PartialArg partial_args = 4 [(.google.api.field_behavior) = OPTIONAL]; + */ + private $partial_args; + /** + * Optional. Whether this is the last part of the FunctionCall. + * If true, another partial message for the current FunctionCall is expected + * to follow. + * + * Generated from protobuf field bool will_continue = 5 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $will_continue = false; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $name + * Optional. The name of the function to call. + * Matches [FunctionDeclaration.name]. + * @type \Google\Protobuf\Struct $args + * Optional. The function parameters and values in JSON object format. + * See [FunctionDeclaration.parameters] for parameter details. + * @type \Google\Cloud\AIPlatform\V1\PartialArg[] $partial_args + * Optional. The partial argument value of the function call. + * If provided, represents the arguments/fields that are streamed + * incrementally. + * @type bool $will_continue + * Optional. Whether this is the last part of the FunctionCall. + * If true, another partial message for the current FunctionCall is expected + * to follow. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Cloud\Aiplatform\V1\Tool::initOnce(); + parent::__construct($data); + } + + /** + * Optional. The name of the function to call. + * Matches [FunctionDeclaration.name]. + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = OPTIONAL]; + * @return string + */ + public function getName() + { + return $this->name; + } + + /** + * Optional. The name of the function to call. + * Matches [FunctionDeclaration.name]. + * + * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = OPTIONAL]; + * @param string $var + * @return $this + */ + public function setName($var) + { + GPBUtil::checkString($var, True); + $this->name = $var; + + return $this; + } + + /** + * Optional. 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. 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; + } + + /** + * Optional. The partial argument value of the function call. + * If provided, represents the arguments/fields that are streamed + * incrementally. + * + * Generated from protobuf field repeated .google.cloud.aiplatform.v1.PartialArg partial_args = 4 [(.google.api.field_behavior) = OPTIONAL]; + * @return RepeatedField<\Google\Cloud\AIPlatform\V1\PartialArg> + */ + public function getPartialArgs() + { + return $this->partial_args; + } + + /** + * Optional. The partial argument value of the function call. + * If provided, represents the arguments/fields that are streamed + * incrementally. + * + * Generated from protobuf field repeated .google.cloud.aiplatform.v1.PartialArg partial_args = 4 [(.google.api.field_behavior) = OPTIONAL]; + * @param \Google\Cloud\AIPlatform\V1\PartialArg[] $var + * @return $this + */ + public function setPartialArgs($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\AIPlatform\V1\PartialArg::class); + $this->partial_args = $arr; + + return $this; + } + + /** + * Optional. Whether this is the last part of the FunctionCall. + * If true, another partial message for the current FunctionCall is expected + * to follow. + * + * Generated from protobuf field bool will_continue = 5 [(.google.api.field_behavior) = OPTIONAL]; + * @return bool + */ + public function getWillContinue() + { + return $this->will_continue; + } + + /** + * Optional. Whether this is the last part of the FunctionCall. + * If true, another partial message for the current FunctionCall is expected + * to follow. + * + * Generated from protobuf field bool will_continue = 5 [(.google.api.field_behavior) = OPTIONAL]; + * @param bool $var + * @return $this + */ + public function setWillContinue($var) + { + GPBUtil::checkBool($var); + $this->will_continue = $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..f54c7e03010d --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/FunctionCallingConfig.php @@ -0,0 +1,151 @@ +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; + /** + * Optional. When set to true, arguments of a single function call will be + * streamed out in multiple parts/contents/responses. Partial parameter + * results will be returned in the [FunctionCall.partial_args] field. + * + * Generated from protobuf field bool stream_function_call_arguments = 4 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $stream_function_call_arguments = false; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type int $mode + * Optional. Function calling mode. + * @type string[] $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. + * @type bool $stream_function_call_arguments + * Optional. When set to true, arguments of a single function call will be + * streamed out in multiple parts/contents/responses. Partial parameter + * results will be returned in the [FunctionCall.partial_args] field. + * } + */ + 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 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 string[] $var + * @return $this + */ + public function setAllowedFunctionNames($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING); + $this->allowed_function_names = $arr; + + return $this; + } + + /** + * Optional. When set to true, arguments of a single function call will be + * streamed out in multiple parts/contents/responses. Partial parameter + * results will be returned in the [FunctionCall.partial_args] field. + * + * Generated from protobuf field bool stream_function_call_arguments = 4 [(.google.api.field_behavior) = OPTIONAL]; + * @return bool + */ + public function getStreamFunctionCallArguments() + { + return $this->stream_function_call_arguments; + } + + /** + * Optional. When set to true, arguments of a single function call will be + * streamed out in multiple parts/contents/responses. Partial parameter + * results will be returned in the [FunctionCall.partial_args] field. + * + * Generated from protobuf field bool stream_function_call_arguments = 4 [(.google.api.field_behavior) = OPTIONAL]; + * @param bool $var + * @return $this + */ + public function setStreamFunctionCallArguments($var) + { + GPBUtil::checkBool($var); + $this->stream_function_call_arguments = $var; + + 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..16fc79102f1f --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/FunctionCallingConfig/Mode.php @@ -0,0 +1,85 @@ +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 function calls + * or natural language response. + * + * Generated from protobuf enum AUTO = 1; + */ + const AUTO = 1; + /** + * Model is constrained to always predicting function calls only. + * If "allowed_function_names" are set, the predicted function calls will be + * limited to any one of "allowed_function_names", else the predicted + * function calls will be any one of the provided "function_declarations". + * + * Generated from protobuf enum ANY = 2; + */ + const ANY = 2; + /** + * Model will not predict any function calls. Model behavior is same as when + * not passing any function declarations. + * + * Generated from protobuf enum NONE = 3; + */ + const NONE = 3; + /** + * Model is constrained to predict either function calls or natural language + * response. + * If [allowed_function_names][FunctionCallingConfig.allowed_function_names] + * are set, the predicted function calls will be limited to any one of + * `allowed_function_names`, else the predicted function calls will be any + * one of the provided [FunctionDeclaration]. + * + * Generated from protobuf enum VALIDATED = 5; + */ + const VALIDATED = 5; + + private static $valueToName = [ + self::MODE_UNSPECIFIED => 'MODE_UNSPECIFIED', + self::AUTO => 'AUTO', + self::ANY => 'ANY', + self::NONE => 'NONE', + self::VALIDATED => 'VALIDATED', + ]; + + 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/FunctionDeclaration.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/FunctionDeclaration.php new file mode 100644 index 000000000000..50d7f2b48d2d --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/FunctionDeclaration.php @@ -0,0 +1,425 @@ +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; + /** + * Optional. Describes the parameters to the function in JSON Schema format. + * The schema must describe an object where the properties are the parameters + * to the function. For example: + * ``` + * { + * "type": "object", + * "properties": { + * "name": { "type": "string" }, + * "age": { "type": "integer" } + * }, + * "additionalProperties": false, + * "required": ["name", "age"], + * "propertyOrdering": ["name", "age"] + * } + * ``` + * This field is mutually exclusive with `parameters`. + * + * Generated from protobuf field .google.protobuf.Value parameters_json_schema = 5 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $parameters_json_schema = null; + /** + * Optional. Describes the output from this function in JSON Schema format. + * Reflects the Open API 3.03 Response Object. The Schema defines the type + * used for the response value of the function. + * + * Generated from protobuf field .google.cloud.aiplatform.v1.Schema response = 4 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $response = null; + /** + * Optional. Describes the output from this function in JSON Schema format. + * The value specified by the schema is the response value of the function. + * This field is mutually exclusive with `response`. + * + * Generated from protobuf field .google.protobuf.Value response_json_schema = 6 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $response_json_schema = 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 + * @type \Google\Protobuf\Value $parameters_json_schema + * Optional. Describes the parameters to the function in JSON Schema format. + * The schema must describe an object where the properties are the parameters + * to the function. For example: + * ``` + * { + * "type": "object", + * "properties": { + * "name": { "type": "string" }, + * "age": { "type": "integer" } + * }, + * "additionalProperties": false, + * "required": ["name", "age"], + * "propertyOrdering": ["name", "age"] + * } + * ``` + * This field is mutually exclusive with `parameters`. + * @type \Google\Cloud\AIPlatform\V1\Schema $response + * Optional. Describes the output from this function in JSON Schema format. + * Reflects the Open API 3.03 Response Object. The Schema defines the type + * used for the response value of the function. + * @type \Google\Protobuf\Value $response_json_schema + * Optional. Describes the output from this function in JSON Schema format. + * The value specified by the schema is the response value of the function. + * This field is mutually exclusive with `response`. + * } + */ + 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; + } + + /** + * Optional. Describes the parameters to the function in JSON Schema format. + * The schema must describe an object where the properties are the parameters + * to the function. For example: + * ``` + * { + * "type": "object", + * "properties": { + * "name": { "type": "string" }, + * "age": { "type": "integer" } + * }, + * "additionalProperties": false, + * "required": ["name", "age"], + * "propertyOrdering": ["name", "age"] + * } + * ``` + * This field is mutually exclusive with `parameters`. + * + * Generated from protobuf field .google.protobuf.Value parameters_json_schema = 5 [(.google.api.field_behavior) = OPTIONAL]; + * @return \Google\Protobuf\Value|null + */ + public function getParametersJsonSchema() + { + return $this->parameters_json_schema; + } + + public function hasParametersJsonSchema() + { + return isset($this->parameters_json_schema); + } + + public function clearParametersJsonSchema() + { + unset($this->parameters_json_schema); + } + + /** + * Optional. Describes the parameters to the function in JSON Schema format. + * The schema must describe an object where the properties are the parameters + * to the function. For example: + * ``` + * { + * "type": "object", + * "properties": { + * "name": { "type": "string" }, + * "age": { "type": "integer" } + * }, + * "additionalProperties": false, + * "required": ["name", "age"], + * "propertyOrdering": ["name", "age"] + * } + * ``` + * This field is mutually exclusive with `parameters`. + * + * Generated from protobuf field .google.protobuf.Value parameters_json_schema = 5 [(.google.api.field_behavior) = OPTIONAL]; + * @param \Google\Protobuf\Value $var + * @return $this + */ + public function setParametersJsonSchema($var) + { + GPBUtil::checkMessage($var, \Google\Protobuf\Value::class); + $this->parameters_json_schema = $var; + + return $this; + } + + /** + * Optional. Describes the output from this function in JSON Schema format. + * Reflects the Open API 3.03 Response Object. The Schema defines the type + * used for the response value of the function. + * + * Generated from protobuf field .google.cloud.aiplatform.v1.Schema response = 4 [(.google.api.field_behavior) = OPTIONAL]; + * @return \Google\Cloud\AIPlatform\V1\Schema|null + */ + public function getResponse() + { + return $this->response; + } + + public function hasResponse() + { + return isset($this->response); + } + + public function clearResponse() + { + unset($this->response); + } + + /** + * Optional. Describes the output from this function in JSON Schema format. + * Reflects the Open API 3.03 Response Object. The Schema defines the type + * used for the response value of the function. + * + * Generated from protobuf field .google.cloud.aiplatform.v1.Schema response = 4 [(.google.api.field_behavior) = OPTIONAL]; + * @param \Google\Cloud\AIPlatform\V1\Schema $var + * @return $this + */ + public function setResponse($var) + { + GPBUtil::checkMessage($var, \Google\Cloud\AIPlatform\V1\Schema::class); + $this->response = $var; + + return $this; + } + + /** + * Optional. Describes the output from this function in JSON Schema format. + * The value specified by the schema is the response value of the function. + * This field is mutually exclusive with `response`. + * + * Generated from protobuf field .google.protobuf.Value response_json_schema = 6 [(.google.api.field_behavior) = OPTIONAL]; + * @return \Google\Protobuf\Value|null + */ + public function getResponseJsonSchema() + { + return $this->response_json_schema; + } + + public function hasResponseJsonSchema() + { + return isset($this->response_json_schema); + } + + public function clearResponseJsonSchema() + { + unset($this->response_json_schema); + } + + /** + * Optional. Describes the output from this function in JSON Schema format. + * The value specified by the schema is the response value of the function. + * This field is mutually exclusive with `response`. + * + * Generated from protobuf field .google.protobuf.Value response_json_schema = 6 [(.google.api.field_behavior) = OPTIONAL]; + * @param \Google\Protobuf\Value $var + * @return $this + */ + public function setResponseJsonSchema($var) + { + GPBUtil::checkMessage($var, \Google\Protobuf\Value::class); + $this->response_json_schema = $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..066402f6ba6f --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/FunctionResponse.php @@ -0,0 +1,168 @@ +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. + * Use "output" key to specify function output and "error" key to specify + * error details (if any). If "output" and "error" keys are not specified, + * then whole "response" is treated as function output. + * + * Generated from protobuf field .google.protobuf.Struct response = 2 [(.google.api.field_behavior) = REQUIRED]; + */ + protected $response = null; + /** + * Optional. Ordered `Parts` that constitute a function response. Parts may + * have different IANA MIME types. + * + * Generated from protobuf field repeated .google.cloud.aiplatform.v1.FunctionResponsePart parts = 4 [(.google.api.field_behavior) = OPTIONAL]; + */ + private $parts; + + /** + * 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. + * Use "output" key to specify function output and "error" key to specify + * error details (if any). If "output" and "error" keys are not specified, + * then whole "response" is treated as function output. + * @type \Google\Cloud\AIPlatform\V1\FunctionResponsePart[] $parts + * Optional. Ordered `Parts` that constitute a function response. Parts may + * have different IANA MIME types. + * } + */ + 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. + * Use "output" key to specify function output and "error" key to specify + * error details (if any). If "output" and "error" keys are not specified, + * then whole "response" is treated as function output. + * + * 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. + * Use "output" key to specify function output and "error" key to specify + * error details (if any). If "output" and "error" keys are not specified, + * then whole "response" is treated as function output. + * + * 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; + } + + /** + * Optional. Ordered `Parts` that constitute a function response. Parts may + * have different IANA MIME types. + * + * Generated from protobuf field repeated .google.cloud.aiplatform.v1.FunctionResponsePart parts = 4 [(.google.api.field_behavior) = OPTIONAL]; + * @return RepeatedField<\Google\Cloud\AIPlatform\V1\FunctionResponsePart> + */ + public function getParts() + { + return $this->parts; + } + + /** + * Optional. Ordered `Parts` that constitute a function response. Parts may + * have different IANA MIME types. + * + * Generated from protobuf field repeated .google.cloud.aiplatform.v1.FunctionResponsePart parts = 4 [(.google.api.field_behavior) = OPTIONAL]; + * @param \Google\Cloud\AIPlatform\V1\FunctionResponsePart[] $var + * @return $this + */ + public function setParts($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\AIPlatform\V1\FunctionResponsePart::class); + $this->parts = $arr; + + return $this; + } + +} + diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/FunctionResponseBlob.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/FunctionResponseBlob.php new file mode 100644 index 000000000000..78c5f8f22b38 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/FunctionResponseBlob.php @@ -0,0 +1,152 @@ +google.cloud.aiplatform.v1.FunctionResponseBlob + */ +class FunctionResponseBlob 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 = ''; + /** + * Optional. Display name of the blob. + * Used to provide a label or filename to distinguish blobs. + * This field is only returned in PromptMessage for prompt management. + * It is currently used in the Gemini GenerateContent calls only when server + * side tools (code_execution, google_search, and url_context) are enabled. + * + * Generated from protobuf field string display_name = 4 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $display_name = ''; + + /** + * 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. + * @type string $display_name + * Optional. Display name of the blob. + * Used to provide a label or filename to distinguish blobs. + * This field is only returned in PromptMessage for prompt management. + * It is currently used in the Gemini GenerateContent calls only when server + * side tools (code_execution, google_search, and url_context) are enabled. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Cloud\Aiplatform\V1\Tool::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; + } + + /** + * Optional. Display name of the blob. + * Used to provide a label or filename to distinguish blobs. + * This field is only returned in PromptMessage for prompt management. + * It is currently used in the Gemini GenerateContent calls only when server + * side tools (code_execution, google_search, and url_context) are enabled. + * + * Generated from protobuf field string display_name = 4 [(.google.api.field_behavior) = OPTIONAL]; + * @return string + */ + public function getDisplayName() + { + return $this->display_name; + } + + /** + * Optional. Display name of the blob. + * Used to provide a label or filename to distinguish blobs. + * This field is only returned in PromptMessage for prompt management. + * It is currently used in the Gemini GenerateContent calls only when server + * side tools (code_execution, google_search, and url_context) are enabled. + * + * Generated from protobuf field string display_name = 4 [(.google.api.field_behavior) = OPTIONAL]; + * @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/FunctionResponseFileData.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/FunctionResponseFileData.php new file mode 100644 index 000000000000..eea6a2b920ed --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/FunctionResponseFileData.php @@ -0,0 +1,151 @@ +google.cloud.aiplatform.v1.FunctionResponseFileData + */ +class FunctionResponseFileData 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 = ''; + /** + * Optional. Display name of the file data. + * Used to provide a label or filename to distinguish file datas. + * This field is only returned in PromptMessage for prompt management. + * It is currently used in the Gemini GenerateContent calls only when server + * side tools (code_execution, google_search, and url_context) are enabled. + * + * Generated from protobuf field string display_name = 3 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $display_name = ''; + + /** + * 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. + * @type string $display_name + * Optional. Display name of the file data. + * Used to provide a label or filename to distinguish file datas. + * This field is only returned in PromptMessage for prompt management. + * It is currently used in the Gemini GenerateContent calls only when server + * side tools (code_execution, google_search, and url_context) are enabled. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Cloud\Aiplatform\V1\Tool::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; + } + + /** + * Optional. Display name of the file data. + * Used to provide a label or filename to distinguish file datas. + * This field is only returned in PromptMessage for prompt management. + * It is currently used in the Gemini GenerateContent calls only when server + * side tools (code_execution, google_search, and url_context) are enabled. + * + * Generated from protobuf field string display_name = 3 [(.google.api.field_behavior) = OPTIONAL]; + * @return string + */ + public function getDisplayName() + { + return $this->display_name; + } + + /** + * Optional. Display name of the file data. + * Used to provide a label or filename to distinguish file datas. + * This field is only returned in PromptMessage for prompt management. + * It is currently used in the Gemini GenerateContent calls only when server + * side tools (code_execution, google_search, and url_context) are enabled. + * + * Generated from protobuf field string display_name = 3 [(.google.api.field_behavior) = OPTIONAL]; + * @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/FunctionResponsePart.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/FunctionResponsePart.php new file mode 100644 index 000000000000..414a83b28ab6 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/FunctionResponsePart.php @@ -0,0 +1,114 @@ +google.cloud.aiplatform.v1.FunctionResponsePart + */ +class FunctionResponsePart extends \Google\Protobuf\Internal\Message +{ + protected $data; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type \Google\Cloud\AIPlatform\V1\FunctionResponseBlob $inline_data + * Inline media bytes. + * @type \Google\Cloud\AIPlatform\V1\FunctionResponseFileData $file_data + * URI based data. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Cloud\Aiplatform\V1\Tool::initOnce(); + parent::__construct($data); + } + + /** + * Inline media bytes. + * + * Generated from protobuf field .google.cloud.aiplatform.v1.FunctionResponseBlob inline_data = 1; + * @return \Google\Cloud\AIPlatform\V1\FunctionResponseBlob|null + */ + public function getInlineData() + { + return $this->readOneof(1); + } + + public function hasInlineData() + { + return $this->hasOneof(1); + } + + /** + * Inline media bytes. + * + * Generated from protobuf field .google.cloud.aiplatform.v1.FunctionResponseBlob inline_data = 1; + * @param \Google\Cloud\AIPlatform\V1\FunctionResponseBlob $var + * @return $this + */ + public function setInlineData($var) + { + GPBUtil::checkMessage($var, \Google\Cloud\AIPlatform\V1\FunctionResponseBlob::class); + $this->writeOneof(1, $var); + + return $this; + } + + /** + * URI based data. + * + * Generated from protobuf field .google.cloud.aiplatform.v1.FunctionResponseFileData file_data = 2; + * @return \Google\Cloud\AIPlatform\V1\FunctionResponseFileData|null + */ + public function getFileData() + { + return $this->readOneof(2); + } + + public function hasFileData() + { + return $this->hasOneof(2); + } + + /** + * URI based data. + * + * Generated from protobuf field .google.cloud.aiplatform.v1.FunctionResponseFileData file_data = 2; + * @param \Google\Cloud\AIPlatform\V1\FunctionResponseFileData $var + * @return $this + */ + public function setFileData($var) + { + GPBUtil::checkMessage($var, \Google\Cloud\AIPlatform\V1\FunctionResponseFileData::class); + $this->writeOneof(2, $var); + + return $this; + } + + /** + * @return string + */ + public function getData() + { + return $this->whichOneof("data"); + } + +} + 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..11f0b0504db9 --- /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..930fce9d34b4 --- /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/wildcards. + * + * 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 string[] $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/wildcards. + * } + */ + 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/wildcards. + * + * Generated from protobuf field repeated string uris = 1 [(.google.api.field_behavior) = REQUIRED]; + * @return 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/wildcards. + * + * Generated from protobuf field repeated string uris = 1 [(.google.api.field_behavior) = REQUIRED]; + * @param string[] $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/GenAiAdvancedFeaturesConfig.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/GenAiAdvancedFeaturesConfig.php new file mode 100644 index 000000000000..fa86e7e16a8d --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/GenAiAdvancedFeaturesConfig.php @@ -0,0 +1,77 @@ +google.cloud.aiplatform.v1.GenAiAdvancedFeaturesConfig + */ +class GenAiAdvancedFeaturesConfig extends \Google\Protobuf\Internal\Message +{ + /** + * Configuration for Retrieval Augmented Generation feature. + * + * Generated from protobuf field .google.cloud.aiplatform.v1.GenAiAdvancedFeaturesConfig.RagConfig rag_config = 1; + */ + protected $rag_config = null; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type \Google\Cloud\AIPlatform\V1\GenAiAdvancedFeaturesConfig\RagConfig $rag_config + * Configuration for Retrieval Augmented Generation feature. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Cloud\Aiplatform\V1\Endpoint::initOnce(); + parent::__construct($data); + } + + /** + * Configuration for Retrieval Augmented Generation feature. + * + * Generated from protobuf field .google.cloud.aiplatform.v1.GenAiAdvancedFeaturesConfig.RagConfig rag_config = 1; + * @return \Google\Cloud\AIPlatform\V1\GenAiAdvancedFeaturesConfig\RagConfig|null + */ + public function getRagConfig() + { + return $this->rag_config; + } + + public function hasRagConfig() + { + return isset($this->rag_config); + } + + public function clearRagConfig() + { + unset($this->rag_config); + } + + /** + * Configuration for Retrieval Augmented Generation feature. + * + * Generated from protobuf field .google.cloud.aiplatform.v1.GenAiAdvancedFeaturesConfig.RagConfig rag_config = 1; + * @param \Google\Cloud\AIPlatform\V1\GenAiAdvancedFeaturesConfig\RagConfig $var + * @return $this + */ + public function setRagConfig($var) + { + GPBUtil::checkMessage($var, \Google\Cloud\AIPlatform\V1\GenAiAdvancedFeaturesConfig\RagConfig::class); + $this->rag_config = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/GenAiAdvancedFeaturesConfig/RagConfig.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/GenAiAdvancedFeaturesConfig/RagConfig.php new file mode 100644 index 000000000000..1e11ca3194ba --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/GenAiAdvancedFeaturesConfig/RagConfig.php @@ -0,0 +1,75 @@ +google.cloud.aiplatform.v1.GenAiAdvancedFeaturesConfig.RagConfig + */ +class RagConfig extends \Google\Protobuf\Internal\Message +{ + /** + * If true, enable Retrieval Augmented Generation in ChatCompletion request. + * Once enabled, the endpoint will be identified as GenAI endpoint and + * Arthedain router will be used. + * + * Generated from protobuf field bool enable_rag = 1; + */ + protected $enable_rag = false; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type bool $enable_rag + * If true, enable Retrieval Augmented Generation in ChatCompletion request. + * Once enabled, the endpoint will be identified as GenAI endpoint and + * Arthedain router will be used. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Cloud\Aiplatform\V1\Endpoint::initOnce(); + parent::__construct($data); + } + + /** + * If true, enable Retrieval Augmented Generation in ChatCompletion request. + * Once enabled, the endpoint will be identified as GenAI endpoint and + * Arthedain router will be used. + * + * Generated from protobuf field bool enable_rag = 1; + * @return bool + */ + public function getEnableRag() + { + return $this->enable_rag; + } + + /** + * If true, enable Retrieval Augmented Generation in ChatCompletion request. + * Once enabled, the endpoint will be identified as GenAI endpoint and + * Arthedain router will be used. + * + * Generated from protobuf field bool enable_rag = 1; + * @param bool $var + * @return $this + */ + public function setEnableRag($var) + { + GPBUtil::checkBool($var); + $this->enable_rag = $var; + + 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..a659e7e15693 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/GenerateContentRequest.php @@ -0,0 +1,543 @@ +google.cloud.aiplatform.v1.GenerateContentRequest + */ +class GenerateContentRequest extends \Google\Protobuf\Internal\Message +{ + /** + * Required. The fully qualified name of the publisher model or tuned model + * endpoint to use. + * Publisher model format: + * `projects/{project}/locations/{location}/publishers/{@*}models/*` + * Tuned model endpoint format: + * `projects/{project}/locations/{location}/endpoints/{endpoint}` + * + * 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. The name of the cached content used as context to serve the + * prediction. Note: only used in explicit caching, where users can have + * control over caching (e.g. what content to cache) and enjoy guaranteed cost + * savings. Format: + * `projects/{project}/locations/{location}/cachedContents/{cachedContent}` + * + * Generated from protobuf field string cached_content = 9 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { + */ + protected $cached_content = ''; + /** + * 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. The labels with user-defined metadata for the request. It is used + * for billing and reporting only. + * Label keys and values can be no longer than 63 characters + * (Unicode codepoints) and can only contain lowercase letters, numeric + * characters, underscores, and dashes. International characters are allowed. + * Label values are optional. Label keys must start with a letter. + * + * Generated from protobuf field map labels = 10 [(.google.api.field_behavior) = OPTIONAL]; + */ + private $labels; + /** + * 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. Settings for prompt and response sanitization using the Model + * Armor service. If supplied, safety_settings must not be supplied. + * + * Generated from protobuf field .google.cloud.aiplatform.v1.ModelArmorConfig model_armor_config = 11 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $model_armor_config = null; + /** + * 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 fully qualified name of the publisher model or tuned model + * endpoint to use. + * + * Publisher model format: + * `projects/{project}/locations/{location}/publishers/*/models/*` + * + * Tuned model endpoint format: + * `projects/{project}/locations/{location}/endpoints/{endpoint}` + * @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 fully qualified name of the publisher model or tuned model + * endpoint to use. + * Publisher model format: + * `projects/{project}/locations/{location}/publishers/{@*}models/*` + * Tuned model endpoint format: + * `projects/{project}/locations/{location}/endpoints/{endpoint}` + * @type \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. + * @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 string $cached_content + * Optional. The name of the cached content used as context to serve the + * prediction. Note: only used in explicit caching, where users can have + * control over caching (e.g. what content to cache) and enjoy guaranteed cost + * savings. Format: + * `projects/{project}/locations/{location}/cachedContents/{cachedContent}` + * @type \Google\Cloud\AIPlatform\V1\Tool[] $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\Protobuf\Internal\MapField $labels + * Optional. The labels with user-defined metadata for the request. It is used + * for billing and reporting only. + * Label keys and values can be no longer than 63 characters + * (Unicode codepoints) and can only contain lowercase letters, numeric + * characters, underscores, and dashes. International characters are allowed. + * Label values are optional. Label keys must start with a letter. + * @type \Google\Cloud\AIPlatform\V1\SafetySetting[] $safety_settings + * Optional. Per request settings for blocking unsafe content. + * Enforced on GenerateContentResponse.candidates. + * @type \Google\Cloud\AIPlatform\V1\ModelArmorConfig $model_armor_config + * Optional. Settings for prompt and response sanitization using the Model + * Armor service. If supplied, safety_settings must not be supplied. + * @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 fully qualified name of the publisher model or tuned model + * endpoint to use. + * Publisher model format: + * `projects/{project}/locations/{location}/publishers/{@*}models/*` + * Tuned model endpoint format: + * `projects/{project}/locations/{location}/endpoints/{endpoint}` + * + * Generated from protobuf field string model = 5 [(.google.api.field_behavior) = REQUIRED]; + * @return string + */ + public function getModel() + { + return $this->model; + } + + /** + * Required. The fully qualified name of the publisher model or tuned model + * endpoint to use. + * Publisher model format: + * `projects/{project}/locations/{location}/publishers/{@*}models/*` + * Tuned model endpoint format: + * `projects/{project}/locations/{location}/endpoints/{endpoint}` + * + * 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 RepeatedField<\Google\Cloud\AIPlatform\V1\Content> + */ + 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 \Google\Cloud\AIPlatform\V1\Content[] $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. The name of the cached content used as context to serve the + * prediction. Note: only used in explicit caching, where users can have + * control over caching (e.g. what content to cache) and enjoy guaranteed cost + * savings. Format: + * `projects/{project}/locations/{location}/cachedContents/{cachedContent}` + * + * Generated from protobuf field string cached_content = 9 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { + * @return string + */ + public function getCachedContent() + { + return $this->cached_content; + } + + /** + * Optional. The name of the cached content used as context to serve the + * prediction. Note: only used in explicit caching, where users can have + * control over caching (e.g. what content to cache) and enjoy guaranteed cost + * savings. Format: + * `projects/{project}/locations/{location}/cachedContents/{cachedContent}` + * + * Generated from protobuf field string cached_content = 9 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { + * @param string $var + * @return $this + */ + public function setCachedContent($var) + { + GPBUtil::checkString($var, True); + $this->cached_content = $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 RepeatedField<\Google\Cloud\AIPlatform\V1\Tool> + */ + 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 \Google\Cloud\AIPlatform\V1\Tool[] $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. The labels with user-defined metadata for the request. It is used + * for billing and reporting only. + * Label keys and values can be no longer than 63 characters + * (Unicode codepoints) and can only contain lowercase letters, numeric + * characters, underscores, and dashes. International characters are allowed. + * Label values are optional. Label keys must start with a letter. + * + * Generated from protobuf field map labels = 10 [(.google.api.field_behavior) = OPTIONAL]; + * @return \Google\Protobuf\Internal\MapField + */ + public function getLabels() + { + return $this->labels; + } + + /** + * Optional. The labels with user-defined metadata for the request. It is used + * for billing and reporting only. + * Label keys and values can be no longer than 63 characters + * (Unicode codepoints) and can only contain lowercase letters, numeric + * characters, underscores, and dashes. International characters are allowed. + * Label values are optional. Label keys must start with a letter. + * + * Generated from protobuf field map labels = 10 [(.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. 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 RepeatedField<\Google\Cloud\AIPlatform\V1\SafetySetting> + */ + 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 \Google\Cloud\AIPlatform\V1\SafetySetting[] $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. Settings for prompt and response sanitization using the Model + * Armor service. If supplied, safety_settings must not be supplied. + * + * Generated from protobuf field .google.cloud.aiplatform.v1.ModelArmorConfig model_armor_config = 11 [(.google.api.field_behavior) = OPTIONAL]; + * @return \Google\Cloud\AIPlatform\V1\ModelArmorConfig|null + */ + public function getModelArmorConfig() + { + return $this->model_armor_config; + } + + public function hasModelArmorConfig() + { + return isset($this->model_armor_config); + } + + public function clearModelArmorConfig() + { + unset($this->model_armor_config); + } + + /** + * Optional. Settings for prompt and response sanitization using the Model + * Armor service. If supplied, safety_settings must not be supplied. + * + * Generated from protobuf field .google.cloud.aiplatform.v1.ModelArmorConfig model_armor_config = 11 [(.google.api.field_behavior) = OPTIONAL]; + * @param \Google\Cloud\AIPlatform\V1\ModelArmorConfig $var + * @return $this + */ + public function setModelArmorConfig($var) + { + GPBUtil::checkMessage($var, \Google\Cloud\AIPlatform\V1\ModelArmorConfig::class); + $this->model_armor_config = $var; + + 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..8a066378e992 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/GenerateContentResponse.php @@ -0,0 +1,279 @@ +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. The model version used to generate the response. + * + * Generated from protobuf field string model_version = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + protected $model_version = ''; + /** + * Output only. Timestamp when the request is made to the server. + * + * Generated from protobuf field .google.protobuf.Timestamp create_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + protected $create_time = null; + /** + * Output only. response_id is used to identify each response. It is the + * encoding of the event_id. + * + * Generated from protobuf field string response_id = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + protected $response_id = ''; + /** + * 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 \Google\Cloud\AIPlatform\V1\Candidate[] $candidates + * Output only. Generated candidates. + * @type string $model_version + * Output only. The model version used to generate the response. + * @type \Google\Protobuf\Timestamp $create_time + * Output only. Timestamp when the request is made to the server. + * @type string $response_id + * Output only. response_id is used to identify each response. It is the + * encoding of the event_id. + * @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 RepeatedField<\Google\Cloud\AIPlatform\V1\Candidate> + */ + 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 \Google\Cloud\AIPlatform\V1\Candidate[] $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. The model version used to generate the response. + * + * Generated from protobuf field string model_version = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return string + */ + public function getModelVersion() + { + return $this->model_version; + } + + /** + * Output only. The model version used to generate the response. + * + * Generated from protobuf field string model_version = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @param string $var + * @return $this + */ + public function setModelVersion($var) + { + GPBUtil::checkString($var, True); + $this->model_version = $var; + + return $this; + } + + /** + * Output only. Timestamp when the request is made to the server. + * + * Generated from protobuf field .google.protobuf.Timestamp create_time = 12 [(.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 request is made to the server. + * + * Generated from protobuf field .google.protobuf.Timestamp create_time = 12 [(.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. response_id is used to identify each response. It is the + * encoding of the event_id. + * + * Generated from protobuf field string response_id = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return string + */ + public function getResponseId() + { + return $this->response_id; + } + + /** + * Output only. response_id is used to identify each response. It is the + * encoding of the event_id. + * + * Generated from protobuf field string response_id = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @param string $var + * @return $this + */ + public function setResponseId($var) + { + GPBUtil::checkString($var, True); + $this->response_id = $var; + + 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..b15f9e37a4f2 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/GenerateContentResponse/PromptFeedback.php @@ -0,0 +1,135 @@ +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 \Google\Cloud\AIPlatform\V1\SafetyRating[] $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 RepeatedField<\Google\Cloud\AIPlatform\V1\SafetyRating> + */ + 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 \Google\Cloud\AIPlatform\V1\SafetyRating[] $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; + } + +} + 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..f41e1095be69 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/GenerateContentResponse/PromptFeedback/BlockedReason.php @@ -0,0 +1,90 @@ +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; + /** + * The user prompt was blocked by Model Armor. + * + * Generated from protobuf enum MODEL_ARMOR = 5; + */ + const MODEL_ARMOR = 5; + /** + * The user prompt was blocked due to jailbreak. + * + * Generated from protobuf enum JAILBREAK = 6; + */ + const JAILBREAK = 6; + + private static $valueToName = [ + self::BLOCKED_REASON_UNSPECIFIED => 'BLOCKED_REASON_UNSPECIFIED', + self::SAFETY => 'SAFETY', + self::OTHER => 'OTHER', + self::BLOCKLIST => 'BLOCKLIST', + self::PROHIBITED_CONTENT => 'PROHIBITED_CONTENT', + self::MODEL_ARMOR => 'MODEL_ARMOR', + self::JAILBREAK => 'JAILBREAK', + ]; + + 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/GenerateContentResponse/UsageMetadata.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/GenerateContentResponse/UsageMetadata.php new file mode 100644 index 000000000000..ba9e1d4a8d7d --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/GenerateContentResponse/UsageMetadata.php @@ -0,0 +1,397 @@ +google.cloud.aiplatform.v1.GenerateContentResponse.UsageMetadata + */ +class UsageMetadata extends \Google\Protobuf\Internal\Message +{ + /** + * Number of tokens in the request. When `cached_content` is set, this is + * still the total effective prompt size meaning this includes the number of + * tokens in the cached content. + * + * 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; + /** + * Output only. Number of tokens present in thoughts output. + * + * Generated from protobuf field int32 thoughts_token_count = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + protected $thoughts_token_count = 0; + /** + * Total token count for prompt and response candidates. + * + * Generated from protobuf field int32 total_token_count = 3; + */ + protected $total_token_count = 0; + /** + * Output only. Number of tokens in the cached part in the input (the cached + * content). + * + * Generated from protobuf field int32 cached_content_token_count = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + protected $cached_content_token_count = 0; + /** + * Output only. List of modalities that were processed in the request input. + * + * Generated from protobuf field repeated .google.cloud.aiplatform.v1.ModalityTokenCount prompt_tokens_details = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + private $prompt_tokens_details; + /** + * Output only. List of modalities of the cached content in the request + * input. + * + * Generated from protobuf field repeated .google.cloud.aiplatform.v1.ModalityTokenCount cache_tokens_details = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + private $cache_tokens_details; + /** + * Output only. List of modalities that were returned in the response. + * + * Generated from protobuf field repeated .google.cloud.aiplatform.v1.ModalityTokenCount candidates_tokens_details = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + private $candidates_tokens_details; + /** + * Output only. A detailed breakdown by modality of the token counts from + * the results of tool executions, which are provided back to the model as + * input. + * + * Generated from protobuf field repeated .google.cloud.aiplatform.v1.ModalityTokenCount tool_use_prompt_tokens_details = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + private $tool_use_prompt_tokens_details; + /** + * Output only. The traffic type for this request. + * + * Generated from protobuf field .google.cloud.aiplatform.v1.GenerateContentResponse.UsageMetadata.TrafficType traffic_type = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + protected $traffic_type = 0; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type int $prompt_token_count + * Number of tokens in the request. When `cached_content` is set, this is + * still the total effective prompt size meaning this includes the number of + * tokens in the cached content. + * @type int $candidates_token_count + * Number of tokens in the response(s). + * @type int $thoughts_token_count + * Output only. Number of tokens present in thoughts output. + * @type int $total_token_count + * Total token count for prompt and response candidates. + * @type int $cached_content_token_count + * Output only. Number of tokens in the cached part in the input (the cached + * content). + * @type \Google\Cloud\AIPlatform\V1\ModalityTokenCount[] $prompt_tokens_details + * Output only. List of modalities that were processed in the request input. + * @type \Google\Cloud\AIPlatform\V1\ModalityTokenCount[] $cache_tokens_details + * Output only. List of modalities of the cached content in the request + * input. + * @type \Google\Cloud\AIPlatform\V1\ModalityTokenCount[] $candidates_tokens_details + * Output only. List of modalities that were returned in the response. + * @type \Google\Cloud\AIPlatform\V1\ModalityTokenCount[] $tool_use_prompt_tokens_details + * Output only. A detailed breakdown by modality of the token counts from + * the results of tool executions, which are provided back to the model as + * input. + * @type int $traffic_type + * Output only. The traffic type for this request. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Cloud\Aiplatform\V1\PredictionService::initOnce(); + parent::__construct($data); + } + + /** + * Number of tokens in the request. When `cached_content` is set, this is + * still the total effective prompt size meaning this includes the number of + * tokens in the cached content. + * + * 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. When `cached_content` is set, this is + * still the total effective prompt size meaning this includes the number of + * tokens in the cached content. + * + * 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; + } + + /** + * Output only. Number of tokens present in thoughts output. + * + * Generated from protobuf field int32 thoughts_token_count = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return int + */ + public function getThoughtsTokenCount() + { + return $this->thoughts_token_count; + } + + /** + * Output only. Number of tokens present in thoughts output. + * + * Generated from protobuf field int32 thoughts_token_count = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @param int $var + * @return $this + */ + public function setThoughtsTokenCount($var) + { + GPBUtil::checkInt32($var); + $this->thoughts_token_count = $var; + + return $this; + } + + /** + * Total token count for prompt and response candidates. + * + * Generated from protobuf field int32 total_token_count = 3; + * @return int + */ + public function getTotalTokenCount() + { + return $this->total_token_count; + } + + /** + * Total token count for prompt and response candidates. + * + * 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; + } + + /** + * Output only. Number of tokens in the cached part in the input (the cached + * content). + * + * Generated from protobuf field int32 cached_content_token_count = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return int + */ + public function getCachedContentTokenCount() + { + return $this->cached_content_token_count; + } + + /** + * Output only. Number of tokens in the cached part in the input (the cached + * content). + * + * Generated from protobuf field int32 cached_content_token_count = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @param int $var + * @return $this + */ + public function setCachedContentTokenCount($var) + { + GPBUtil::checkInt32($var); + $this->cached_content_token_count = $var; + + return $this; + } + + /** + * Output only. List of modalities that were processed in the request input. + * + * Generated from protobuf field repeated .google.cloud.aiplatform.v1.ModalityTokenCount prompt_tokens_details = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return RepeatedField<\Google\Cloud\AIPlatform\V1\ModalityTokenCount> + */ + public function getPromptTokensDetails() + { + return $this->prompt_tokens_details; + } + + /** + * Output only. List of modalities that were processed in the request input. + * + * Generated from protobuf field repeated .google.cloud.aiplatform.v1.ModalityTokenCount prompt_tokens_details = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @param \Google\Cloud\AIPlatform\V1\ModalityTokenCount[] $var + * @return $this + */ + public function setPromptTokensDetails($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\AIPlatform\V1\ModalityTokenCount::class); + $this->prompt_tokens_details = $arr; + + return $this; + } + + /** + * Output only. List of modalities of the cached content in the request + * input. + * + * Generated from protobuf field repeated .google.cloud.aiplatform.v1.ModalityTokenCount cache_tokens_details = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return RepeatedField<\Google\Cloud\AIPlatform\V1\ModalityTokenCount> + */ + public function getCacheTokensDetails() + { + return $this->cache_tokens_details; + } + + /** + * Output only. List of modalities of the cached content in the request + * input. + * + * Generated from protobuf field repeated .google.cloud.aiplatform.v1.ModalityTokenCount cache_tokens_details = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @param \Google\Cloud\AIPlatform\V1\ModalityTokenCount[] $var + * @return $this + */ + public function setCacheTokensDetails($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\AIPlatform\V1\ModalityTokenCount::class); + $this->cache_tokens_details = $arr; + + return $this; + } + + /** + * Output only. List of modalities that were returned in the response. + * + * Generated from protobuf field repeated .google.cloud.aiplatform.v1.ModalityTokenCount candidates_tokens_details = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return RepeatedField<\Google\Cloud\AIPlatform\V1\ModalityTokenCount> + */ + public function getCandidatesTokensDetails() + { + return $this->candidates_tokens_details; + } + + /** + * Output only. List of modalities that were returned in the response. + * + * Generated from protobuf field repeated .google.cloud.aiplatform.v1.ModalityTokenCount candidates_tokens_details = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @param \Google\Cloud\AIPlatform\V1\ModalityTokenCount[] $var + * @return $this + */ + public function setCandidatesTokensDetails($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\AIPlatform\V1\ModalityTokenCount::class); + $this->candidates_tokens_details = $arr; + + return $this; + } + + /** + * Output only. A detailed breakdown by modality of the token counts from + * the results of tool executions, which are provided back to the model as + * input. + * + * Generated from protobuf field repeated .google.cloud.aiplatform.v1.ModalityTokenCount tool_use_prompt_tokens_details = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return RepeatedField<\Google\Cloud\AIPlatform\V1\ModalityTokenCount> + */ + public function getToolUsePromptTokensDetails() + { + return $this->tool_use_prompt_tokens_details; + } + + /** + * Output only. A detailed breakdown by modality of the token counts from + * the results of tool executions, which are provided back to the model as + * input. + * + * Generated from protobuf field repeated .google.cloud.aiplatform.v1.ModalityTokenCount tool_use_prompt_tokens_details = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @param \Google\Cloud\AIPlatform\V1\ModalityTokenCount[] $var + * @return $this + */ + public function setToolUsePromptTokensDetails($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\AIPlatform\V1\ModalityTokenCount::class); + $this->tool_use_prompt_tokens_details = $arr; + + return $this; + } + + /** + * Output only. The traffic type for this request. + * + * Generated from protobuf field .google.cloud.aiplatform.v1.GenerateContentResponse.UsageMetadata.TrafficType traffic_type = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return int + */ + public function getTrafficType() + { + return $this->traffic_type; + } + + /** + * Output only. The traffic type for this request. + * + * Generated from protobuf field .google.cloud.aiplatform.v1.GenerateContentResponse.UsageMetadata.TrafficType traffic_type = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @param int $var + * @return $this + */ + public function setTrafficType($var) + { + GPBUtil::checkEnum($var, \Google\Cloud\AIPlatform\V1\GenerateContentResponse\UsageMetadata\TrafficType::class); + $this->traffic_type = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/GenerateContentResponse/UsageMetadata/TrafficType.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/GenerateContentResponse/UsageMetadata/TrafficType.php new file mode 100644 index 000000000000..5cf9b66afd07 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/GenerateContentResponse/UsageMetadata/TrafficType.php @@ -0,0 +1,76 @@ +google.cloud.aiplatform.v1.GenerateContentResponse.UsageMetadata.TrafficType + */ +class TrafficType +{ + /** + * Unspecified request traffic type. + * + * Generated from protobuf enum TRAFFIC_TYPE_UNSPECIFIED = 0; + */ + const TRAFFIC_TYPE_UNSPECIFIED = 0; + /** + * The request was processed using Pay-As-You-Go quota. + * + * Generated from protobuf enum ON_DEMAND = 1; + */ + const ON_DEMAND = 1; + /** + * Type for Priority Pay-As-You-Go traffic. + * + * Generated from protobuf enum ON_DEMAND_PRIORITY = 3; + */ + const ON_DEMAND_PRIORITY = 3; + /** + * Type for Flex traffic. + * + * Generated from protobuf enum ON_DEMAND_FLEX = 4; + */ + const ON_DEMAND_FLEX = 4; + /** + * Type for Provisioned Throughput traffic. + * + * Generated from protobuf enum PROVISIONED_THROUGHPUT = 2; + */ + const PROVISIONED_THROUGHPUT = 2; + + private static $valueToName = [ + self::TRAFFIC_TYPE_UNSPECIFIED => 'TRAFFIC_TYPE_UNSPECIFIED', + self::ON_DEMAND => 'ON_DEMAND', + self::ON_DEMAND_PRIORITY => 'ON_DEMAND_PRIORITY', + self::ON_DEMAND_FLEX => 'ON_DEMAND_FLEX', + self::PROVISIONED_THROUGHPUT => 'PROVISIONED_THROUGHPUT', + ]; + + 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/GenerateFetchAccessTokenRequest.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/GenerateFetchAccessTokenRequest.php new file mode 100644 index 000000000000..4b9b41663b9a --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/GenerateFetchAccessTokenRequest.php @@ -0,0 +1,72 @@ +google.cloud.aiplatform.v1.GenerateFetchAccessTokenRequest + */ +class GenerateFetchAccessTokenRequest extends \Google\Protobuf\Internal\Message +{ + /** + * FeatureView resource format + * `projects/{project}/locations/{location}/featureOnlineStores/{featureOnlineStore}/featureViews/{featureView}` + * + * Generated from protobuf field string feature_view = 1 [(.google.api.resource_reference) = { + */ + protected $feature_view = ''; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $feature_view + * FeatureView resource format + * `projects/{project}/locations/{location}/featureOnlineStores/{featureOnlineStore}/featureViews/{featureView}` + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Cloud\Aiplatform\V1\FeatureOnlineStoreService::initOnce(); + parent::__construct($data); + } + + /** + * FeatureView resource format + * `projects/{project}/locations/{location}/featureOnlineStores/{featureOnlineStore}/featureViews/{featureView}` + * + * Generated from protobuf field string feature_view = 1 [(.google.api.resource_reference) = { + * @return string + */ + public function getFeatureView() + { + return $this->feature_view; + } + + /** + * FeatureView resource format + * `projects/{project}/locations/{location}/featureOnlineStores/{featureOnlineStore}/featureViews/{featureView}` + * + * Generated from protobuf field string feature_view = 1 [(.google.api.resource_reference) = { + * @param string $var + * @return $this + */ + public function setFeatureView($var) + { + GPBUtil::checkString($var, True); + $this->feature_view = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/GenerateFetchAccessTokenResponse.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/GenerateFetchAccessTokenResponse.php new file mode 100644 index 000000000000..39db862da4d5 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/GenerateFetchAccessTokenResponse.php @@ -0,0 +1,112 @@ +google.cloud.aiplatform.v1.GenerateFetchAccessTokenResponse + */ +class GenerateFetchAccessTokenResponse extends \Google\Protobuf\Internal\Message +{ + /** + * The OAuth 2.0 access token. + * + * Generated from protobuf field string access_token = 1; + */ + protected $access_token = ''; + /** + * Token expiration time. This is always set + * + * Generated from protobuf field .google.protobuf.Timestamp expire_time = 2; + */ + protected $expire_time = null; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $access_token + * The OAuth 2.0 access token. + * @type \Google\Protobuf\Timestamp $expire_time + * Token expiration time. This is always set + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Cloud\Aiplatform\V1\FeatureOnlineStoreService::initOnce(); + parent::__construct($data); + } + + /** + * The OAuth 2.0 access token. + * + * Generated from protobuf field string access_token = 1; + * @return string + */ + public function getAccessToken() + { + return $this->access_token; + } + + /** + * The OAuth 2.0 access token. + * + * Generated from protobuf field string access_token = 1; + * @param string $var + * @return $this + */ + public function setAccessToken($var) + { + GPBUtil::checkString($var, True); + $this->access_token = $var; + + return $this; + } + + /** + * Token expiration time. This is always set + * + * Generated from protobuf field .google.protobuf.Timestamp expire_time = 2; + * @return \Google\Protobuf\Timestamp|null + */ + public function getExpireTime() + { + return $this->expire_time; + } + + public function hasExpireTime() + { + return isset($this->expire_time); + } + + public function clearExpireTime() + { + unset($this->expire_time); + } + + /** + * Token expiration time. This is always set + * + * Generated from protobuf field .google.protobuf.Timestamp expire_time = 2; + * @param \Google\Protobuf\Timestamp $var + * @return $this + */ + public function setExpireTime($var) + { + GPBUtil::checkMessage($var, \Google\Protobuf\Timestamp::class); + $this->expire_time = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/GenerateSyntheticDataRequest.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/GenerateSyntheticDataRequest.php new file mode 100644 index 000000000000..9b46e077ba68 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/GenerateSyntheticDataRequest.php @@ -0,0 +1,223 @@ +google.cloud.aiplatform.v1.GenerateSyntheticDataRequest + */ +class GenerateSyntheticDataRequest extends \Google\Protobuf\Internal\Message +{ + /** + * Required. The resource name of the Location to run the job. + * Format: `projects/{project}/locations/{location}` + * + * Generated from protobuf field string location = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + */ + protected $location = ''; + /** + * Required. The number of synthetic examples to generate. + * For this stateless API, the count is limited to a small number. + * + * Generated from protobuf field int32 count = 2 [(.google.api.field_behavior) = REQUIRED]; + */ + protected $count = 0; + /** + * Required. The schema of the desired output, defined by a list of fields. + * + * Generated from protobuf field repeated .google.cloud.aiplatform.v1.OutputFieldSpec output_field_specs = 4 [(.google.api.field_behavior) = REQUIRED]; + */ + private $output_field_specs; + /** + * Optional. A list of few-shot examples to guide the model's output style + * and format. + * + * Generated from protobuf field repeated .google.cloud.aiplatform.v1.SyntheticExample examples = 5 [(.google.api.field_behavior) = OPTIONAL]; + */ + private $examples; + protected $strategy; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type \Google\Cloud\AIPlatform\V1\TaskDescriptionStrategy $task_description + * Generate data from a high-level task description. + * @type string $location + * Required. The resource name of the Location to run the job. + * Format: `projects/{project}/locations/{location}` + * @type int $count + * Required. The number of synthetic examples to generate. + * For this stateless API, the count is limited to a small number. + * @type \Google\Cloud\AIPlatform\V1\OutputFieldSpec[] $output_field_specs + * Required. The schema of the desired output, defined by a list of fields. + * @type \Google\Cloud\AIPlatform\V1\SyntheticExample[] $examples + * Optional. A list of few-shot examples to guide the model's output style + * and format. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Cloud\Aiplatform\V1\DataFoundryService::initOnce(); + parent::__construct($data); + } + + /** + * Generate data from a high-level task description. + * + * Generated from protobuf field .google.cloud.aiplatform.v1.TaskDescriptionStrategy task_description = 3; + * @return \Google\Cloud\AIPlatform\V1\TaskDescriptionStrategy|null + */ + public function getTaskDescription() + { + return $this->readOneof(3); + } + + public function hasTaskDescription() + { + return $this->hasOneof(3); + } + + /** + * Generate data from a high-level task description. + * + * Generated from protobuf field .google.cloud.aiplatform.v1.TaskDescriptionStrategy task_description = 3; + * @param \Google\Cloud\AIPlatform\V1\TaskDescriptionStrategy $var + * @return $this + */ + public function setTaskDescription($var) + { + GPBUtil::checkMessage($var, \Google\Cloud\AIPlatform\V1\TaskDescriptionStrategy::class); + $this->writeOneof(3, $var); + + return $this; + } + + /** + * Required. The resource name of the Location to run the job. + * Format: `projects/{project}/locations/{location}` + * + * Generated from protobuf field string location = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @return string + */ + public function getLocation() + { + return $this->location; + } + + /** + * Required. The resource name of the Location to run the job. + * Format: `projects/{project}/locations/{location}` + * + * Generated from protobuf field string location = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + * @param string $var + * @return $this + */ + public function setLocation($var) + { + GPBUtil::checkString($var, True); + $this->location = $var; + + return $this; + } + + /** + * Required. The number of synthetic examples to generate. + * For this stateless API, the count is limited to a small number. + * + * Generated from protobuf field int32 count = 2 [(.google.api.field_behavior) = REQUIRED]; + * @return int + */ + public function getCount() + { + return $this->count; + } + + /** + * Required. The number of synthetic examples to generate. + * For this stateless API, the count is limited to a small number. + * + * Generated from protobuf field int32 count = 2 [(.google.api.field_behavior) = REQUIRED]; + * @param int $var + * @return $this + */ + public function setCount($var) + { + GPBUtil::checkInt32($var); + $this->count = $var; + + return $this; + } + + /** + * Required. The schema of the desired output, defined by a list of fields. + * + * Generated from protobuf field repeated .google.cloud.aiplatform.v1.OutputFieldSpec output_field_specs = 4 [(.google.api.field_behavior) = REQUIRED]; + * @return RepeatedField<\Google\Cloud\AIPlatform\V1\OutputFieldSpec> + */ + public function getOutputFieldSpecs() + { + return $this->output_field_specs; + } + + /** + * Required. The schema of the desired output, defined by a list of fields. + * + * Generated from protobuf field repeated .google.cloud.aiplatform.v1.OutputFieldSpec output_field_specs = 4 [(.google.api.field_behavior) = REQUIRED]; + * @param \Google\Cloud\AIPlatform\V1\OutputFieldSpec[] $var + * @return $this + */ + public function setOutputFieldSpecs($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\AIPlatform\V1\OutputFieldSpec::class); + $this->output_field_specs = $arr; + + return $this; + } + + /** + * Optional. A list of few-shot examples to guide the model's output style + * and format. + * + * Generated from protobuf field repeated .google.cloud.aiplatform.v1.SyntheticExample examples = 5 [(.google.api.field_behavior) = OPTIONAL]; + * @return RepeatedField<\Google\Cloud\AIPlatform\V1\SyntheticExample> + */ + public function getExamples() + { + return $this->examples; + } + + /** + * Optional. A list of few-shot examples to guide the model's output style + * and format. + * + * Generated from protobuf field repeated .google.cloud.aiplatform.v1.SyntheticExample examples = 5 [(.google.api.field_behavior) = OPTIONAL]; + * @param \Google\Cloud\AIPlatform\V1\SyntheticExample[] $var + * @return $this + */ + public function setExamples($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\AIPlatform\V1\SyntheticExample::class); + $this->examples = $arr; + + return $this; + } + + /** + * @return string + */ + public function getStrategy() + { + return $this->whichOneof("strategy"); + } + +} + diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/GenerateSyntheticDataResponse.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/GenerateSyntheticDataResponse.php new file mode 100644 index 000000000000..a3cb74c541ed --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/GenerateSyntheticDataResponse.php @@ -0,0 +1,67 @@ +google.cloud.aiplatform.v1.GenerateSyntheticDataResponse + */ +class GenerateSyntheticDataResponse extends \Google\Protobuf\Internal\Message +{ + /** + * A list of generated synthetic examples. + * + * Generated from protobuf field repeated .google.cloud.aiplatform.v1.SyntheticExample synthetic_examples = 1; + */ + private $synthetic_examples; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type \Google\Cloud\AIPlatform\V1\SyntheticExample[] $synthetic_examples + * A list of generated synthetic examples. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Cloud\Aiplatform\V1\DataFoundryService::initOnce(); + parent::__construct($data); + } + + /** + * A list of generated synthetic examples. + * + * Generated from protobuf field repeated .google.cloud.aiplatform.v1.SyntheticExample synthetic_examples = 1; + * @return RepeatedField<\Google\Cloud\AIPlatform\V1\SyntheticExample> + */ + public function getSyntheticExamples() + { + return $this->synthetic_examples; + } + + /** + * A list of generated synthetic examples. + * + * Generated from protobuf field repeated .google.cloud.aiplatform.v1.SyntheticExample synthetic_examples = 1; + * @param \Google\Cloud\AIPlatform\V1\SyntheticExample[] $var + * @return $this + */ + public function setSyntheticExamples($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\AIPlatform\V1\SyntheticExample::class); + $this->synthetic_examples = $arr; + + return $this; + } + +} + 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..9c9844ba7c5b --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/GenerationConfig.php @@ -0,0 +1,1143 @@ +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. If true, export the logprobs results in response. + * + * Generated from protobuf field optional bool response_logprobs = 18 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $response_logprobs = null; + /** + * Optional. Logit probabilities. + * + * Generated from protobuf field optional int32 logprobs = 7 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $logprobs = null; + /** + * 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. Seed. + * + * Generated from protobuf field optional int32 seed = 12 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $seed = 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; + /** + * Optional. Output schema of the generated response. This is an alternative + * to `response_schema` that accepts [JSON Schema](https://json-schema.org/). + * If set, `response_schema` must be omitted, but `response_mime_type` is + * required. + * While the full JSON Schema may be sent, not all features are supported. + * Specifically, only the following properties are supported: + * - `$id` + * - `$defs` + * - `$ref` + * - `$anchor` + * - `type` + * - `format` + * - `title` + * - `description` + * - `enum` (for strings and numbers) + * - `items` + * - `prefixItems` + * - `minItems` + * - `maxItems` + * - `minimum` + * - `maximum` + * - `anyOf` + * - `oneOf` (interpreted the same as `anyOf`) + * - `properties` + * - `additionalProperties` + * - `required` + * The non-standard `propertyOrdering` property may also be set. + * Cyclic references are unrolled to a limited degree and, as such, may only + * be used within non-required properties. (Nullable properties are not + * sufficient.) If `$ref` is set on a sub-schema, no other properties, except + * for than those starting as a `$`, may be set. + * + * Generated from protobuf field optional .google.protobuf.Value response_json_schema = 28 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $response_json_schema = null; + /** + * Optional. Routing configuration. + * + * Generated from protobuf field optional .google.cloud.aiplatform.v1.GenerationConfig.RoutingConfig routing_config = 17 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $routing_config = null; + /** + * Optional. If enabled, audio timestamps will be included in the request to + * the model. This can be useful for synchronizing audio with other modalities + * in the response. + * + * Generated from protobuf field optional bool audio_timestamp = 20 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $audio_timestamp = null; + /** + * Optional. The modalities of the response. The model will generate a + * response that includes all the specified modalities. For example, if this + * is set to `[TEXT, IMAGE]`, the response will include both text and an + * image. + * + * Generated from protobuf field repeated .google.cloud.aiplatform.v1.GenerationConfig.Modality response_modalities = 21 [(.google.api.field_behavior) = OPTIONAL]; + */ + private $response_modalities; + /** + * Optional. The token resolution at which input media content is sampled. + * This is used to control the trade-off between the quality of the response + * and the number of tokens used to represent the media. A higher resolution + * allows the model to perceive more detail, which can lead to a more nuanced + * response, but it will also use more tokens. This does not affect the + * image dimensions sent to the model. + * + * Generated from protobuf field optional .google.cloud.aiplatform.v1.GenerationConfig.MediaResolution media_resolution = 22 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $media_resolution = null; + /** + * Optional. The speech generation config. + * + * Generated from protobuf field optional .google.cloud.aiplatform.v1.SpeechConfig speech_config = 23 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $speech_config = null; + /** + * Optional. Config for thinking features. + * An error will be returned if this field is set for models that don't + * support thinking. + * + * Generated from protobuf field .google.cloud.aiplatform.v1.GenerationConfig.ThinkingConfig thinking_config = 25 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $thinking_config = null; + /** + * Optional. Config for image generation features. + * + * Generated from protobuf field optional .google.cloud.aiplatform.v1.ImageConfig image_config = 30 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $image_config = 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 string[] $stop_sequences + * Optional. Stop sequences. + * @type bool $response_logprobs + * Optional. If true, export the logprobs results in response. + * @type int $logprobs + * Optional. Logit probabilities. + * @type float $presence_penalty + * Optional. Positive penalties. + * @type float $frequency_penalty + * Optional. Frequency penalties. + * @type int $seed + * Optional. Seed. + * @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. + * @type \Google\Protobuf\Value $response_json_schema + * Optional. Output schema of the generated response. This is an alternative + * to `response_schema` that accepts [JSON Schema](https://json-schema.org/). + * If set, `response_schema` must be omitted, but `response_mime_type` is + * required. + * While the full JSON Schema may be sent, not all features are supported. + * Specifically, only the following properties are supported: + * - `$id` + * - `$defs` + * - `$ref` + * - `$anchor` + * - `type` + * - `format` + * - `title` + * - `description` + * - `enum` (for strings and numbers) + * - `items` + * - `prefixItems` + * - `minItems` + * - `maxItems` + * - `minimum` + * - `maximum` + * - `anyOf` + * - `oneOf` (interpreted the same as `anyOf`) + * - `properties` + * - `additionalProperties` + * - `required` + * The non-standard `propertyOrdering` property may also be set. + * Cyclic references are unrolled to a limited degree and, as such, may only + * be used within non-required properties. (Nullable properties are not + * sufficient.) If `$ref` is set on a sub-schema, no other properties, except + * for than those starting as a `$`, may be set. + * @type \Google\Cloud\AIPlatform\V1\GenerationConfig\RoutingConfig $routing_config + * Optional. Routing configuration. + * @type bool $audio_timestamp + * Optional. If enabled, audio timestamps will be included in the request to + * the model. This can be useful for synchronizing audio with other modalities + * in the response. + * @type int[] $response_modalities + * Optional. The modalities of the response. The model will generate a + * response that includes all the specified modalities. For example, if this + * is set to `[TEXT, IMAGE]`, the response will include both text and an + * image. + * @type int $media_resolution + * Optional. The token resolution at which input media content is sampled. + * This is used to control the trade-off between the quality of the response + * and the number of tokens used to represent the media. A higher resolution + * allows the model to perceive more detail, which can lead to a more nuanced + * response, but it will also use more tokens. This does not affect the + * image dimensions sent to the model. + * @type \Google\Cloud\AIPlatform\V1\SpeechConfig $speech_config + * Optional. The speech generation config. + * @type \Google\Cloud\AIPlatform\V1\GenerationConfig\ThinkingConfig $thinking_config + * Optional. Config for thinking features. + * An error will be returned if this field is set for models that don't + * support thinking. + * @type \Google\Cloud\AIPlatform\V1\ImageConfig $image_config + * Optional. Config for image generation features. + * } + */ + 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 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 string[] $var + * @return $this + */ + public function setStopSequences($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING); + $this->stop_sequences = $arr; + + return $this; + } + + /** + * Optional. If true, export the logprobs results in response. + * + * Generated from protobuf field optional bool response_logprobs = 18 [(.google.api.field_behavior) = OPTIONAL]; + * @return bool + */ + public function getResponseLogprobs() + { + return isset($this->response_logprobs) ? $this->response_logprobs : false; + } + + public function hasResponseLogprobs() + { + return isset($this->response_logprobs); + } + + public function clearResponseLogprobs() + { + unset($this->response_logprobs); + } + + /** + * Optional. If true, export the logprobs results in response. + * + * Generated from protobuf field optional bool response_logprobs = 18 [(.google.api.field_behavior) = OPTIONAL]; + * @param bool $var + * @return $this + */ + public function setResponseLogprobs($var) + { + GPBUtil::checkBool($var); + $this->response_logprobs = $var; + + return $this; + } + + /** + * Optional. Logit probabilities. + * + * Generated from protobuf field optional int32 logprobs = 7 [(.google.api.field_behavior) = OPTIONAL]; + * @return int + */ + public function getLogprobs() + { + return isset($this->logprobs) ? $this->logprobs : 0; + } + + public function hasLogprobs() + { + return isset($this->logprobs); + } + + public function clearLogprobs() + { + unset($this->logprobs); + } + + /** + * Optional. Logit probabilities. + * + * Generated from protobuf field optional int32 logprobs = 7 [(.google.api.field_behavior) = OPTIONAL]; + * @param int $var + * @return $this + */ + public function setLogprobs($var) + { + GPBUtil::checkInt32($var); + $this->logprobs = $var; + + 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. Seed. + * + * Generated from protobuf field optional int32 seed = 12 [(.google.api.field_behavior) = OPTIONAL]; + * @return int + */ + public function getSeed() + { + return isset($this->seed) ? $this->seed : 0; + } + + public function hasSeed() + { + return isset($this->seed); + } + + public function clearSeed() + { + unset($this->seed); + } + + /** + * Optional. Seed. + * + * Generated from protobuf field optional int32 seed = 12 [(.google.api.field_behavior) = OPTIONAL]; + * @param int $var + * @return $this + */ + public function setSeed($var) + { + GPBUtil::checkInt32($var); + $this->seed = $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; + } + + /** + * Optional. Output schema of the generated response. This is an alternative + * to `response_schema` that accepts [JSON Schema](https://json-schema.org/). + * If set, `response_schema` must be omitted, but `response_mime_type` is + * required. + * While the full JSON Schema may be sent, not all features are supported. + * Specifically, only the following properties are supported: + * - `$id` + * - `$defs` + * - `$ref` + * - `$anchor` + * - `type` + * - `format` + * - `title` + * - `description` + * - `enum` (for strings and numbers) + * - `items` + * - `prefixItems` + * - `minItems` + * - `maxItems` + * - `minimum` + * - `maximum` + * - `anyOf` + * - `oneOf` (interpreted the same as `anyOf`) + * - `properties` + * - `additionalProperties` + * - `required` + * The non-standard `propertyOrdering` property may also be set. + * Cyclic references are unrolled to a limited degree and, as such, may only + * be used within non-required properties. (Nullable properties are not + * sufficient.) If `$ref` is set on a sub-schema, no other properties, except + * for than those starting as a `$`, may be set. + * + * Generated from protobuf field optional .google.protobuf.Value response_json_schema = 28 [(.google.api.field_behavior) = OPTIONAL]; + * @return \Google\Protobuf\Value|null + */ + public function getResponseJsonSchema() + { + return $this->response_json_schema; + } + + public function hasResponseJsonSchema() + { + return isset($this->response_json_schema); + } + + public function clearResponseJsonSchema() + { + unset($this->response_json_schema); + } + + /** + * Optional. Output schema of the generated response. This is an alternative + * to `response_schema` that accepts [JSON Schema](https://json-schema.org/). + * If set, `response_schema` must be omitted, but `response_mime_type` is + * required. + * While the full JSON Schema may be sent, not all features are supported. + * Specifically, only the following properties are supported: + * - `$id` + * - `$defs` + * - `$ref` + * - `$anchor` + * - `type` + * - `format` + * - `title` + * - `description` + * - `enum` (for strings and numbers) + * - `items` + * - `prefixItems` + * - `minItems` + * - `maxItems` + * - `minimum` + * - `maximum` + * - `anyOf` + * - `oneOf` (interpreted the same as `anyOf`) + * - `properties` + * - `additionalProperties` + * - `required` + * The non-standard `propertyOrdering` property may also be set. + * Cyclic references are unrolled to a limited degree and, as such, may only + * be used within non-required properties. (Nullable properties are not + * sufficient.) If `$ref` is set on a sub-schema, no other properties, except + * for than those starting as a `$`, may be set. + * + * Generated from protobuf field optional .google.protobuf.Value response_json_schema = 28 [(.google.api.field_behavior) = OPTIONAL]; + * @param \Google\Protobuf\Value $var + * @return $this + */ + public function setResponseJsonSchema($var) + { + GPBUtil::checkMessage($var, \Google\Protobuf\Value::class); + $this->response_json_schema = $var; + + return $this; + } + + /** + * Optional. Routing configuration. + * + * Generated from protobuf field optional .google.cloud.aiplatform.v1.GenerationConfig.RoutingConfig routing_config = 17 [(.google.api.field_behavior) = OPTIONAL]; + * @return \Google\Cloud\AIPlatform\V1\GenerationConfig\RoutingConfig|null + */ + public function getRoutingConfig() + { + return $this->routing_config; + } + + public function hasRoutingConfig() + { + return isset($this->routing_config); + } + + public function clearRoutingConfig() + { + unset($this->routing_config); + } + + /** + * Optional. Routing configuration. + * + * Generated from protobuf field optional .google.cloud.aiplatform.v1.GenerationConfig.RoutingConfig routing_config = 17 [(.google.api.field_behavior) = OPTIONAL]; + * @param \Google\Cloud\AIPlatform\V1\GenerationConfig\RoutingConfig $var + * @return $this + */ + public function setRoutingConfig($var) + { + GPBUtil::checkMessage($var, \Google\Cloud\AIPlatform\V1\GenerationConfig\RoutingConfig::class); + $this->routing_config = $var; + + return $this; + } + + /** + * Optional. If enabled, audio timestamps will be included in the request to + * the model. This can be useful for synchronizing audio with other modalities + * in the response. + * + * Generated from protobuf field optional bool audio_timestamp = 20 [(.google.api.field_behavior) = OPTIONAL]; + * @return bool + */ + public function getAudioTimestamp() + { + return isset($this->audio_timestamp) ? $this->audio_timestamp : false; + } + + public function hasAudioTimestamp() + { + return isset($this->audio_timestamp); + } + + public function clearAudioTimestamp() + { + unset($this->audio_timestamp); + } + + /** + * Optional. If enabled, audio timestamps will be included in the request to + * the model. This can be useful for synchronizing audio with other modalities + * in the response. + * + * Generated from protobuf field optional bool audio_timestamp = 20 [(.google.api.field_behavior) = OPTIONAL]; + * @param bool $var + * @return $this + */ + public function setAudioTimestamp($var) + { + GPBUtil::checkBool($var); + $this->audio_timestamp = $var; + + return $this; + } + + /** + * Optional. The modalities of the response. The model will generate a + * response that includes all the specified modalities. For example, if this + * is set to `[TEXT, IMAGE]`, the response will include both text and an + * image. + * + * Generated from protobuf field repeated .google.cloud.aiplatform.v1.GenerationConfig.Modality response_modalities = 21 [(.google.api.field_behavior) = OPTIONAL]; + * @return RepeatedField + */ + public function getResponseModalities() + { + return $this->response_modalities; + } + + /** + * Optional. The modalities of the response. The model will generate a + * response that includes all the specified modalities. For example, if this + * is set to `[TEXT, IMAGE]`, the response will include both text and an + * image. + * + * Generated from protobuf field repeated .google.cloud.aiplatform.v1.GenerationConfig.Modality response_modalities = 21 [(.google.api.field_behavior) = OPTIONAL]; + * @param int[] $var + * @return $this + */ + public function setResponseModalities($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::ENUM, \Google\Cloud\AIPlatform\V1\GenerationConfig\Modality::class); + $this->response_modalities = $arr; + + return $this; + } + + /** + * Optional. The token resolution at which input media content is sampled. + * This is used to control the trade-off between the quality of the response + * and the number of tokens used to represent the media. A higher resolution + * allows the model to perceive more detail, which can lead to a more nuanced + * response, but it will also use more tokens. This does not affect the + * image dimensions sent to the model. + * + * Generated from protobuf field optional .google.cloud.aiplatform.v1.GenerationConfig.MediaResolution media_resolution = 22 [(.google.api.field_behavior) = OPTIONAL]; + * @return int + */ + public function getMediaResolution() + { + return isset($this->media_resolution) ? $this->media_resolution : 0; + } + + public function hasMediaResolution() + { + return isset($this->media_resolution); + } + + public function clearMediaResolution() + { + unset($this->media_resolution); + } + + /** + * Optional. The token resolution at which input media content is sampled. + * This is used to control the trade-off between the quality of the response + * and the number of tokens used to represent the media. A higher resolution + * allows the model to perceive more detail, which can lead to a more nuanced + * response, but it will also use more tokens. This does not affect the + * image dimensions sent to the model. + * + * Generated from protobuf field optional .google.cloud.aiplatform.v1.GenerationConfig.MediaResolution media_resolution = 22 [(.google.api.field_behavior) = OPTIONAL]; + * @param int $var + * @return $this + */ + public function setMediaResolution($var) + { + GPBUtil::checkEnum($var, \Google\Cloud\AIPlatform\V1\GenerationConfig\MediaResolution::class); + $this->media_resolution = $var; + + return $this; + } + + /** + * Optional. The speech generation config. + * + * Generated from protobuf field optional .google.cloud.aiplatform.v1.SpeechConfig speech_config = 23 [(.google.api.field_behavior) = OPTIONAL]; + * @return \Google\Cloud\AIPlatform\V1\SpeechConfig|null + */ + public function getSpeechConfig() + { + return $this->speech_config; + } + + public function hasSpeechConfig() + { + return isset($this->speech_config); + } + + public function clearSpeechConfig() + { + unset($this->speech_config); + } + + /** + * Optional. The speech generation config. + * + * Generated from protobuf field optional .google.cloud.aiplatform.v1.SpeechConfig speech_config = 23 [(.google.api.field_behavior) = OPTIONAL]; + * @param \Google\Cloud\AIPlatform\V1\SpeechConfig $var + * @return $this + */ + public function setSpeechConfig($var) + { + GPBUtil::checkMessage($var, \Google\Cloud\AIPlatform\V1\SpeechConfig::class); + $this->speech_config = $var; + + return $this; + } + + /** + * Optional. Config for thinking features. + * An error will be returned if this field is set for models that don't + * support thinking. + * + * Generated from protobuf field .google.cloud.aiplatform.v1.GenerationConfig.ThinkingConfig thinking_config = 25 [(.google.api.field_behavior) = OPTIONAL]; + * @return \Google\Cloud\AIPlatform\V1\GenerationConfig\ThinkingConfig|null + */ + public function getThinkingConfig() + { + return $this->thinking_config; + } + + public function hasThinkingConfig() + { + return isset($this->thinking_config); + } + + public function clearThinkingConfig() + { + unset($this->thinking_config); + } + + /** + * Optional. Config for thinking features. + * An error will be returned if this field is set for models that don't + * support thinking. + * + * Generated from protobuf field .google.cloud.aiplatform.v1.GenerationConfig.ThinkingConfig thinking_config = 25 [(.google.api.field_behavior) = OPTIONAL]; + * @param \Google\Cloud\AIPlatform\V1\GenerationConfig\ThinkingConfig $var + * @return $this + */ + public function setThinkingConfig($var) + { + GPBUtil::checkMessage($var, \Google\Cloud\AIPlatform\V1\GenerationConfig\ThinkingConfig::class); + $this->thinking_config = $var; + + return $this; + } + + /** + * Optional. Config for image generation features. + * + * Generated from protobuf field optional .google.cloud.aiplatform.v1.ImageConfig image_config = 30 [(.google.api.field_behavior) = OPTIONAL]; + * @return \Google\Cloud\AIPlatform\V1\ImageConfig|null + */ + public function getImageConfig() + { + return $this->image_config; + } + + public function hasImageConfig() + { + return isset($this->image_config); + } + + public function clearImageConfig() + { + unset($this->image_config); + } + + /** + * Optional. Config for image generation features. + * + * Generated from protobuf field optional .google.cloud.aiplatform.v1.ImageConfig image_config = 30 [(.google.api.field_behavior) = OPTIONAL]; + * @param \Google\Cloud\AIPlatform\V1\ImageConfig $var + * @return $this + */ + public function setImageConfig($var) + { + GPBUtil::checkMessage($var, \Google\Cloud\AIPlatform\V1\ImageConfig::class); + $this->image_config = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/GenerationConfig/MediaResolution.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/GenerationConfig/MediaResolution.php new file mode 100644 index 000000000000..aa1f84ccc9c1 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/GenerationConfig/MediaResolution.php @@ -0,0 +1,68 @@ +google.cloud.aiplatform.v1.GenerationConfig.MediaResolution + */ +class MediaResolution +{ + /** + * Media resolution has not been set. + * + * Generated from protobuf enum MEDIA_RESOLUTION_UNSPECIFIED = 0; + */ + const MEDIA_RESOLUTION_UNSPECIFIED = 0; + /** + * Media resolution set to low (64 tokens). + * + * Generated from protobuf enum MEDIA_RESOLUTION_LOW = 1; + */ + const MEDIA_RESOLUTION_LOW = 1; + /** + * Media resolution set to medium (256 tokens). + * + * Generated from protobuf enum MEDIA_RESOLUTION_MEDIUM = 2; + */ + const MEDIA_RESOLUTION_MEDIUM = 2; + /** + * Media resolution set to high (zoomed reframing with 256 tokens). + * + * Generated from protobuf enum MEDIA_RESOLUTION_HIGH = 3; + */ + const MEDIA_RESOLUTION_HIGH = 3; + + private static $valueToName = [ + self::MEDIA_RESOLUTION_UNSPECIFIED => 'MEDIA_RESOLUTION_UNSPECIFIED', + self::MEDIA_RESOLUTION_LOW => 'MEDIA_RESOLUTION_LOW', + self::MEDIA_RESOLUTION_MEDIUM => 'MEDIA_RESOLUTION_MEDIUM', + self::MEDIA_RESOLUTION_HIGH => 'MEDIA_RESOLUTION_HIGH', + ]; + + 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/GenerationConfig/Modality.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/GenerationConfig/Modality.php new file mode 100644 index 000000000000..e0d2a11e2fb7 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/GenerationConfig/Modality.php @@ -0,0 +1,68 @@ +google.cloud.aiplatform.v1.GenerationConfig.Modality + */ +class Modality +{ + /** + * Unspecified modality. Will be processed as text. + * + * Generated from protobuf enum MODALITY_UNSPECIFIED = 0; + */ + const MODALITY_UNSPECIFIED = 0; + /** + * Text modality. + * + * Generated from protobuf enum TEXT = 1; + */ + const TEXT = 1; + /** + * Image modality. + * + * Generated from protobuf enum IMAGE = 2; + */ + const IMAGE = 2; + /** + * Audio modality. + * + * Generated from protobuf enum AUDIO = 3; + */ + const AUDIO = 3; + + private static $valueToName = [ + self::MODALITY_UNSPECIFIED => 'MODALITY_UNSPECIFIED', + self::TEXT => 'TEXT', + self::IMAGE => 'IMAGE', + self::AUDIO => 'AUDIO', + ]; + + 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/GenerationConfig/RoutingConfig.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/GenerationConfig/RoutingConfig.php new file mode 100644 index 000000000000..56032d00a494 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/GenerationConfig/RoutingConfig.php @@ -0,0 +1,108 @@ +google.cloud.aiplatform.v1.GenerationConfig.RoutingConfig + */ +class RoutingConfig extends \Google\Protobuf\Internal\Message +{ + protected $routing_config; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type \Google\Cloud\AIPlatform\V1\GenerationConfig\RoutingConfig\AutoRoutingMode $auto_mode + * Automated routing. + * @type \Google\Cloud\AIPlatform\V1\GenerationConfig\RoutingConfig\ManualRoutingMode $manual_mode + * Manual routing. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Cloud\Aiplatform\V1\Content::initOnce(); + parent::__construct($data); + } + + /** + * Automated routing. + * + * Generated from protobuf field .google.cloud.aiplatform.v1.GenerationConfig.RoutingConfig.AutoRoutingMode auto_mode = 1; + * @return \Google\Cloud\AIPlatform\V1\GenerationConfig\RoutingConfig\AutoRoutingMode|null + */ + public function getAutoMode() + { + return $this->readOneof(1); + } + + public function hasAutoMode() + { + return $this->hasOneof(1); + } + + /** + * Automated routing. + * + * Generated from protobuf field .google.cloud.aiplatform.v1.GenerationConfig.RoutingConfig.AutoRoutingMode auto_mode = 1; + * @param \Google\Cloud\AIPlatform\V1\GenerationConfig\RoutingConfig\AutoRoutingMode $var + * @return $this + */ + public function setAutoMode($var) + { + GPBUtil::checkMessage($var, \Google\Cloud\AIPlatform\V1\GenerationConfig\RoutingConfig\AutoRoutingMode::class); + $this->writeOneof(1, $var); + + return $this; + } + + /** + * Manual routing. + * + * Generated from protobuf field .google.cloud.aiplatform.v1.GenerationConfig.RoutingConfig.ManualRoutingMode manual_mode = 2; + * @return \Google\Cloud\AIPlatform\V1\GenerationConfig\RoutingConfig\ManualRoutingMode|null + */ + public function getManualMode() + { + return $this->readOneof(2); + } + + public function hasManualMode() + { + return $this->hasOneof(2); + } + + /** + * Manual routing. + * + * Generated from protobuf field .google.cloud.aiplatform.v1.GenerationConfig.RoutingConfig.ManualRoutingMode manual_mode = 2; + * @param \Google\Cloud\AIPlatform\V1\GenerationConfig\RoutingConfig\ManualRoutingMode $var + * @return $this + */ + public function setManualMode($var) + { + GPBUtil::checkMessage($var, \Google\Cloud\AIPlatform\V1\GenerationConfig\RoutingConfig\ManualRoutingMode::class); + $this->writeOneof(2, $var); + + return $this; + } + + /** + * @return string + */ + public function getRoutingConfig() + { + return $this->whichOneof("routing_config"); + } + +} + diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/GenerationConfig/RoutingConfig/AutoRoutingMode.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/GenerationConfig/RoutingConfig/AutoRoutingMode.php new file mode 100644 index 000000000000..a78b8e1710ff --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/GenerationConfig/RoutingConfig/AutoRoutingMode.php @@ -0,0 +1,79 @@ +google.cloud.aiplatform.v1.GenerationConfig.RoutingConfig.AutoRoutingMode + */ +class AutoRoutingMode extends \Google\Protobuf\Internal\Message +{ + /** + * The model routing preference. + * + * Generated from protobuf field optional .google.cloud.aiplatform.v1.GenerationConfig.RoutingConfig.AutoRoutingMode.ModelRoutingPreference model_routing_preference = 1; + */ + protected $model_routing_preference = null; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type int $model_routing_preference + * The model routing preference. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Cloud\Aiplatform\V1\Content::initOnce(); + parent::__construct($data); + } + + /** + * The model routing preference. + * + * Generated from protobuf field optional .google.cloud.aiplatform.v1.GenerationConfig.RoutingConfig.AutoRoutingMode.ModelRoutingPreference model_routing_preference = 1; + * @return int + */ + public function getModelRoutingPreference() + { + return isset($this->model_routing_preference) ? $this->model_routing_preference : 0; + } + + public function hasModelRoutingPreference() + { + return isset($this->model_routing_preference); + } + + public function clearModelRoutingPreference() + { + unset($this->model_routing_preference); + } + + /** + * The model routing preference. + * + * Generated from protobuf field optional .google.cloud.aiplatform.v1.GenerationConfig.RoutingConfig.AutoRoutingMode.ModelRoutingPreference model_routing_preference = 1; + * @param int $var + * @return $this + */ + public function setModelRoutingPreference($var) + { + GPBUtil::checkEnum($var, \Google\Cloud\AIPlatform\V1\GenerationConfig\RoutingConfig\AutoRoutingMode\ModelRoutingPreference::class); + $this->model_routing_preference = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/GenerationConfig/RoutingConfig/AutoRoutingMode/ModelRoutingPreference.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/GenerationConfig/RoutingConfig/AutoRoutingMode/ModelRoutingPreference.php new file mode 100644 index 000000000000..0366ee1cd770 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/GenerationConfig/RoutingConfig/AutoRoutingMode/ModelRoutingPreference.php @@ -0,0 +1,68 @@ +google.cloud.aiplatform.v1.GenerationConfig.RoutingConfig.AutoRoutingMode.ModelRoutingPreference + */ +class ModelRoutingPreference +{ + /** + * Unspecified model routing preference. + * + * Generated from protobuf enum UNKNOWN = 0; + */ + const UNKNOWN = 0; + /** + * Prefer higher quality over low cost. + * + * Generated from protobuf enum PRIORITIZE_QUALITY = 1; + */ + const PRIORITIZE_QUALITY = 1; + /** + * Balanced model routing preference. + * + * Generated from protobuf enum BALANCED = 2; + */ + const BALANCED = 2; + /** + * Prefer lower cost over higher quality. + * + * Generated from protobuf enum PRIORITIZE_COST = 3; + */ + const PRIORITIZE_COST = 3; + + private static $valueToName = [ + self::UNKNOWN => 'UNKNOWN', + self::PRIORITIZE_QUALITY => 'PRIORITIZE_QUALITY', + self::BALANCED => 'BALANCED', + self::PRIORITIZE_COST => 'PRIORITIZE_COST', + ]; + + 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/GenerationConfig/RoutingConfig/ManualRoutingMode.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/GenerationConfig/RoutingConfig/ManualRoutingMode.php new file mode 100644 index 000000000000..87f23b2f2f64 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/GenerationConfig/RoutingConfig/ManualRoutingMode.php @@ -0,0 +1,81 @@ +google.cloud.aiplatform.v1.GenerationConfig.RoutingConfig.ManualRoutingMode + */ +class ManualRoutingMode extends \Google\Protobuf\Internal\Message +{ + /** + * The model name to use. Only the public LLM models are accepted. e.g. + * 'gemini-1.5-pro-001'. + * + * Generated from protobuf field optional string model_name = 1; + */ + protected $model_name = null; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $model_name + * The model name to use. Only the public LLM models are accepted. e.g. + * 'gemini-1.5-pro-001'. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Cloud\Aiplatform\V1\Content::initOnce(); + parent::__construct($data); + } + + /** + * The model name to use. Only the public LLM models are accepted. e.g. + * 'gemini-1.5-pro-001'. + * + * Generated from protobuf field optional string model_name = 1; + * @return string + */ + public function getModelName() + { + return isset($this->model_name) ? $this->model_name : ''; + } + + public function hasModelName() + { + return isset($this->model_name); + } + + public function clearModelName() + { + unset($this->model_name); + } + + /** + * The model name to use. Only the public LLM models are accepted. e.g. + * 'gemini-1.5-pro-001'. + * + * Generated from protobuf field optional string model_name = 1; + * @param string $var + * @return $this + */ + public function setModelName($var) + { + GPBUtil::checkString($var, True); + $this->model_name = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/GenerationConfig/ThinkingConfig.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/GenerationConfig/ThinkingConfig.php new file mode 100644 index 000000000000..8b3876f36d94 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/GenerationConfig/ThinkingConfig.php @@ -0,0 +1,173 @@ +google.cloud.aiplatform.v1.GenerationConfig.ThinkingConfig + */ +class ThinkingConfig extends \Google\Protobuf\Internal\Message +{ + /** + * Indicates whether to include thoughts in the response. + * If true, thoughts are returned only when available. + * + * Generated from protobuf field optional bool include_thoughts = 1 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $include_thoughts = null; + /** + * Optional. Indicates the thinking budget in tokens. + * This is only applied when enable_thinking is true. + * + * Generated from protobuf field optional int32 thinking_budget = 3 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $thinking_budget = null; + /** + * Optional. The number of thoughts tokens that the model should generate. + * + * Generated from protobuf field optional .google.cloud.aiplatform.v1.GenerationConfig.ThinkingConfig.ThinkingLevel thinking_level = 4 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $thinking_level = null; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type bool $include_thoughts + * Indicates whether to include thoughts in the response. + * If true, thoughts are returned only when available. + * @type int $thinking_budget + * Optional. Indicates the thinking budget in tokens. + * This is only applied when enable_thinking is true. + * @type int $thinking_level + * Optional. The number of thoughts tokens that the model should generate. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Cloud\Aiplatform\V1\Content::initOnce(); + parent::__construct($data); + } + + /** + * Indicates whether to include thoughts in the response. + * If true, thoughts are returned only when available. + * + * Generated from protobuf field optional bool include_thoughts = 1 [(.google.api.field_behavior) = OPTIONAL]; + * @return bool + */ + public function getIncludeThoughts() + { + return isset($this->include_thoughts) ? $this->include_thoughts : false; + } + + public function hasIncludeThoughts() + { + return isset($this->include_thoughts); + } + + public function clearIncludeThoughts() + { + unset($this->include_thoughts); + } + + /** + * Indicates whether to include thoughts in the response. + * If true, thoughts are returned only when available. + * + * Generated from protobuf field optional bool include_thoughts = 1 [(.google.api.field_behavior) = OPTIONAL]; + * @param bool $var + * @return $this + */ + public function setIncludeThoughts($var) + { + GPBUtil::checkBool($var); + $this->include_thoughts = $var; + + return $this; + } + + /** + * Optional. Indicates the thinking budget in tokens. + * This is only applied when enable_thinking is true. + * + * Generated from protobuf field optional int32 thinking_budget = 3 [(.google.api.field_behavior) = OPTIONAL]; + * @return int + */ + public function getThinkingBudget() + { + return isset($this->thinking_budget) ? $this->thinking_budget : 0; + } + + public function hasThinkingBudget() + { + return isset($this->thinking_budget); + } + + public function clearThinkingBudget() + { + unset($this->thinking_budget); + } + + /** + * Optional. Indicates the thinking budget in tokens. + * This is only applied when enable_thinking is true. + * + * Generated from protobuf field optional int32 thinking_budget = 3 [(.google.api.field_behavior) = OPTIONAL]; + * @param int $var + * @return $this + */ + public function setThinkingBudget($var) + { + GPBUtil::checkInt32($var); + $this->thinking_budget = $var; + + return $this; + } + + /** + * Optional. The number of thoughts tokens that the model should generate. + * + * Generated from protobuf field optional .google.cloud.aiplatform.v1.GenerationConfig.ThinkingConfig.ThinkingLevel thinking_level = 4 [(.google.api.field_behavior) = OPTIONAL]; + * @return int + */ + public function getThinkingLevel() + { + return isset($this->thinking_level) ? $this->thinking_level : 0; + } + + public function hasThinkingLevel() + { + return isset($this->thinking_level); + } + + public function clearThinkingLevel() + { + unset($this->thinking_level); + } + + /** + * Optional. The number of thoughts tokens that the model should generate. + * + * Generated from protobuf field optional .google.cloud.aiplatform.v1.GenerationConfig.ThinkingConfig.ThinkingLevel thinking_level = 4 [(.google.api.field_behavior) = OPTIONAL]; + * @param int $var + * @return $this + */ + public function setThinkingLevel($var) + { + GPBUtil::checkEnum($var, \Google\Cloud\AIPlatform\V1\GenerationConfig\ThinkingConfig\ThinkingLevel::class); + $this->thinking_level = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/GenerationConfig/ThinkingConfig/ThinkingLevel.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/GenerationConfig/ThinkingConfig/ThinkingLevel.php new file mode 100644 index 000000000000..19a7a37121b2 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/GenerationConfig/ThinkingConfig/ThinkingLevel.php @@ -0,0 +1,75 @@ +google.cloud.aiplatform.v1.GenerationConfig.ThinkingConfig.ThinkingLevel + */ +class ThinkingLevel +{ + /** + * Unspecified thinking level. + * + * Generated from protobuf enum THINKING_LEVEL_UNSPECIFIED = 0; + */ + const THINKING_LEVEL_UNSPECIFIED = 0; + /** + * Low thinking level. + * + * Generated from protobuf enum LOW = 1; + */ + const LOW = 1; + /** + * Medium thinking level. + * + * Generated from protobuf enum MEDIUM = 2; + */ + const MEDIUM = 2; + /** + * High thinking level. + * + * Generated from protobuf enum HIGH = 3; + */ + const HIGH = 3; + /** + * MINIMAL thinking level. + * + * Generated from protobuf enum MINIMAL = 4; + */ + const MINIMAL = 4; + + private static $valueToName = [ + self::THINKING_LEVEL_UNSPECIFIED => 'THINKING_LEVEL_UNSPECIFIED', + self::LOW => 'LOW', + self::MEDIUM => 'MEDIUM', + self::HIGH => 'HIGH', + self::MINIMAL => 'MINIMAL', + ]; + + 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/GenericOperationMetadata.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/GenericOperationMetadata.php new file mode 100644 index 000000000000..d7cb843cf6f8 --- /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 \Google\Rpc\Status[] $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 RepeatedField<\Google\Rpc\Status> + */ + 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 \Google\Rpc\Status[] $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..34917e428b9f --- /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..b088f799123d --- /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..34a4c4627395 --- /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..3438793b6fb9 --- /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/GetCachedContentRequest.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/GetCachedContentRequest.php new file mode 100644 index 000000000000..292ee53f4c5d --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/GetCachedContentRequest.php @@ -0,0 +1,82 @@ +google.cloud.aiplatform.v1.GetCachedContentRequest + */ +class GetCachedContentRequest extends \Google\Protobuf\Internal\Message +{ + /** + * Required. The resource name referring to the cached content + * + * 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 referring to the cached content + * Please see {@see GenAiCacheServiceClient::cachedContentName()} for help formatting this field. + * + * @return \Google\Cloud\AIPlatform\V1\GetCachedContentRequest + * + * @experimental + */ + public static function build(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 referring to the cached content + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Cloud\Aiplatform\V1\GenAiCacheService::initOnce(); + parent::__construct($data); + } + + /** + * Required. The resource name referring to the cached content + * + * Generated from 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 referring to the cached content + * + * Generated from protobuf field string name = 1 [(.google.api.field_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..0945ab2a2f23 --- /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..6b0b1d22ec34 --- /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..834c331b2550 --- /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..f3c9959c94f7 --- /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..6bd9bc84326d --- /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..2529eb54cc0b --- /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..0a56ff3074ec --- /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..4d52fb4bddd0 --- /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..8cff1d8b04b0 --- /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..8399b52b4351 --- /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..e2490e42bff0 --- /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..aa024b82a7d5 --- /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..fb0755d41a7c --- /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..5fb52d1e769d --- /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..6774639ed0a9 --- /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..7bb967d5b146 --- /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..f259d0743444 --- /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..2e8690fde5de --- /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..ed7432d3e74a --- /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..89e0b1c5d41e --- /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..020a277deea9 --- /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..f337b8cdee75 --- /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..56ddda0df4ac --- /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..f00e6cc0e598 --- /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..fc3f1cfb9839 --- /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..26aec42e7152 --- /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..c585c5138d38 --- /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..7356260c3796 --- /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..2f79dd3ef91a --- /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..27b429ba6d64 --- /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..01d148baaf82 --- /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..cc054c56c9d4 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/GetPublisherModelRequest.php @@ -0,0 +1,236 @@ +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; + /** + * Optional. Token used to access Hugging Face gated models. + * + * Generated from protobuf field string hugging_face_token = 6 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $hugging_face_token = ''; + + /** + * @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. + * @type string $hugging_face_token + * Optional. Token used to access Hugging Face gated models. + * } + */ + 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; + } + + /** + * Optional. Token used to access Hugging Face gated models. + * + * Generated from protobuf field string hugging_face_token = 6 [(.google.api.field_behavior) = OPTIONAL]; + * @return string + */ + public function getHuggingFaceToken() + { + return $this->hugging_face_token; + } + + /** + * Optional. Token used to access Hugging Face gated models. + * + * Generated from protobuf field string hugging_face_token = 6 [(.google.api.field_behavior) = OPTIONAL]; + * @param string $var + * @return $this + */ + public function setHuggingFaceToken($var) + { + GPBUtil::checkString($var, True); + $this->hugging_face_token = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/GetRagCorpusRequest.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/GetRagCorpusRequest.php new file mode 100644 index 000000000000..a43fe1d1023b --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/GetRagCorpusRequest.php @@ -0,0 +1,92 @@ +google.cloud.aiplatform.v1.GetRagCorpusRequest + */ +class GetRagCorpusRequest extends \Google\Protobuf\Internal\Message +{ + /** + * Required. The name of the RagCorpus resource. + * Format: + * `projects/{project}/locations/{location}/ragCorpora/{rag_corpus}` + * + * 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 RagCorpus resource. + * Format: + * `projects/{project}/locations/{location}/ragCorpora/{rag_corpus}` + * Please see {@see VertexRagDataServiceClient::ragCorpusName()} for help formatting this field. + * + * @return \Google\Cloud\AIPlatform\V1\GetRagCorpusRequest + * + * @experimental + */ + public static function build(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 RagCorpus resource. + * Format: + * `projects/{project}/locations/{location}/ragCorpora/{rag_corpus}` + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Cloud\Aiplatform\V1\VertexRagDataService::initOnce(); + parent::__construct($data); + } + + /** + * Required. The name of the RagCorpus resource. + * Format: + * `projects/{project}/locations/{location}/ragCorpora/{rag_corpus}` + * + * Generated from 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 RagCorpus resource. + * Format: + * `projects/{project}/locations/{location}/ragCorpora/{rag_corpus}` + * + * Generated from protobuf field string name = 1 [(.google.api.field_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/GetRagEngineConfigRequest.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/GetRagEngineConfigRequest.php new file mode 100644 index 000000000000..1e25115d1b71 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/GetRagEngineConfigRequest.php @@ -0,0 +1,92 @@ +google.cloud.aiplatform.v1.GetRagEngineConfigRequest + */ +class GetRagEngineConfigRequest extends \Google\Protobuf\Internal\Message +{ + /** + * Required. The name of the RagEngineConfig resource. + * Format: + * `projects/{project}/locations/{location}/ragEngineConfig` + * + * 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 RagEngineConfig resource. + * Format: + * `projects/{project}/locations/{location}/ragEngineConfig` + * Please see {@see VertexRagDataServiceClient::ragEngineConfigName()} for help formatting this field. + * + * @return \Google\Cloud\AIPlatform\V1\GetRagEngineConfigRequest + * + * @experimental + */ + public static function build(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 RagEngineConfig resource. + * Format: + * `projects/{project}/locations/{location}/ragEngineConfig` + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Cloud\Aiplatform\V1\VertexRagDataService::initOnce(); + parent::__construct($data); + } + + /** + * Required. The name of the RagEngineConfig resource. + * Format: + * `projects/{project}/locations/{location}/ragEngineConfig` + * + * Generated from 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 RagEngineConfig resource. + * Format: + * `projects/{project}/locations/{location}/ragEngineConfig` + * + * Generated from protobuf field string name = 1 [(.google.api.field_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/GetRagFileRequest.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/GetRagFileRequest.php new file mode 100644 index 000000000000..d266b5223556 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/GetRagFileRequest.php @@ -0,0 +1,92 @@ +google.cloud.aiplatform.v1.GetRagFileRequest + */ +class GetRagFileRequest extends \Google\Protobuf\Internal\Message +{ + /** + * Required. The name of the RagFile resource. + * Format: + * `projects/{project}/locations/{location}/ragCorpora/{rag_corpus}/ragFiles/{rag_file}` + * + * 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 RagFile resource. + * Format: + * `projects/{project}/locations/{location}/ragCorpora/{rag_corpus}/ragFiles/{rag_file}` + * Please see {@see VertexRagDataServiceClient::ragFileName()} for help formatting this field. + * + * @return \Google\Cloud\AIPlatform\V1\GetRagFileRequest + * + * @experimental + */ + public static function build(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 RagFile resource. + * Format: + * `projects/{project}/locations/{location}/ragCorpora/{rag_corpus}/ragFiles/{rag_file}` + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Cloud\Aiplatform\V1\VertexRagDataService::initOnce(); + parent::__construct($data); + } + + /** + * Required. The name of the RagFile resource. + * Format: + * `projects/{project}/locations/{location}/ragCorpora/{rag_corpus}/ragFiles/{rag_file}` + * + * Generated from 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 RagFile resource. + * Format: + * `projects/{project}/locations/{location}/ragCorpora/{rag_corpus}/ragFiles/{rag_file}` + * + * Generated from protobuf field string name = 1 [(.google.api.field_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/GetReasoningEngineRequest.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/GetReasoningEngineRequest.php new file mode 100644 index 000000000000..f77ab4aa0eac --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/GetReasoningEngineRequest.php @@ -0,0 +1,92 @@ +google.cloud.aiplatform.v1.GetReasoningEngineRequest + */ +class GetReasoningEngineRequest extends \Google\Protobuf\Internal\Message +{ + /** + * Required. The name of the ReasoningEngine resource. + * Format: + * `projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}` + * + * 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 ReasoningEngine resource. + * Format: + * `projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}` + * Please see {@see ReasoningEngineServiceClient::reasoningEngineName()} for help formatting this field. + * + * @return \Google\Cloud\AIPlatform\V1\GetReasoningEngineRequest + * + * @experimental + */ + public static function build(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 ReasoningEngine resource. + * Format: + * `projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}` + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Cloud\Aiplatform\V1\ReasoningEngineService::initOnce(); + parent::__construct($data); + } + + /** + * Required. The name of the ReasoningEngine resource. + * Format: + * `projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}` + * + * Generated from 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 ReasoningEngine resource. + * Format: + * `projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}` + * + * Generated from protobuf field string name = 1 [(.google.api.field_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/GetScheduleRequest.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/GetScheduleRequest.php new file mode 100644 index 000000000000..0098a8899f3b --- /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/GetSessionRequest.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/GetSessionRequest.php new file mode 100644 index 000000000000..eb19ef3f07bf --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/GetSessionRequest.php @@ -0,0 +1,92 @@ +google.cloud.aiplatform.v1.GetSessionRequest + */ +class GetSessionRequest extends \Google\Protobuf\Internal\Message +{ + /** + * Required. The resource name of the session. + * Format: + * `projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}/sessions/{session}` + * + * 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 session. + * Format: + * `projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}/sessions/{session}` + * Please see {@see SessionServiceClient::sessionName()} for help formatting this field. + * + * @return \Google\Cloud\AIPlatform\V1\GetSessionRequest + * + * @experimental + */ + public static function build(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 session. + * Format: + * `projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}/sessions/{session}` + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Cloud\Aiplatform\V1\SessionService::initOnce(); + parent::__construct($data); + } + + /** + * Required. The resource name of the session. + * Format: + * `projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}/sessions/{session}` + * + * Generated from 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 session. + * Format: + * `projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}/sessions/{session}` + * + * Generated from protobuf field string name = 1 [(.google.api.field_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..c707f6256dcf --- /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..404f66d074cb --- /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..f7133484a120 --- /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..2caa67537078 --- /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..41a2cd60d6f9 --- /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..732aea4650f9 --- /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..72abf24e875c --- /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..caab01099d82 --- /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..ed176f2e3ada --- /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/GoogleDriveSource.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/GoogleDriveSource.php new file mode 100644 index 000000000000..0d2865dd279a --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/GoogleDriveSource.php @@ -0,0 +1,67 @@ +google.cloud.aiplatform.v1.GoogleDriveSource + */ +class GoogleDriveSource extends \Google\Protobuf\Internal\Message +{ + /** + * Required. Google Drive resource IDs. + * + * Generated from protobuf field repeated .google.cloud.aiplatform.v1.GoogleDriveSource.ResourceId resource_ids = 1 [(.google.api.field_behavior) = REQUIRED]; + */ + private $resource_ids; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type \Google\Cloud\AIPlatform\V1\GoogleDriveSource\ResourceId[] $resource_ids + * Required. Google Drive resource IDs. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Cloud\Aiplatform\V1\Io::initOnce(); + parent::__construct($data); + } + + /** + * Required. Google Drive resource IDs. + * + * Generated from protobuf field repeated .google.cloud.aiplatform.v1.GoogleDriveSource.ResourceId resource_ids = 1 [(.google.api.field_behavior) = REQUIRED]; + * @return RepeatedField<\Google\Cloud\AIPlatform\V1\GoogleDriveSource\ResourceId> + */ + public function getResourceIds() + { + return $this->resource_ids; + } + + /** + * Required. Google Drive resource IDs. + * + * Generated from protobuf field repeated .google.cloud.aiplatform.v1.GoogleDriveSource.ResourceId resource_ids = 1 [(.google.api.field_behavior) = REQUIRED]; + * @param \Google\Cloud\AIPlatform\V1\GoogleDriveSource\ResourceId[] $var + * @return $this + */ + public function setResourceIds($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\AIPlatform\V1\GoogleDriveSource\ResourceId::class); + $this->resource_ids = $arr; + + return $this; + } + +} + diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/GoogleDriveSource/ResourceId.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/GoogleDriveSource/ResourceId.php new file mode 100644 index 000000000000..c405e1ed4df8 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/GoogleDriveSource/ResourceId.php @@ -0,0 +1,101 @@ +google.cloud.aiplatform.v1.GoogleDriveSource.ResourceId + */ +class ResourceId extends \Google\Protobuf\Internal\Message +{ + /** + * Required. The type of the Google Drive resource. + * + * Generated from protobuf field .google.cloud.aiplatform.v1.GoogleDriveSource.ResourceId.ResourceType resource_type = 1 [(.google.api.field_behavior) = REQUIRED]; + */ + protected $resource_type = 0; + /** + * Required. The ID of the Google Drive resource. + * + * Generated from protobuf field string resource_id = 2 [(.google.api.field_behavior) = REQUIRED]; + */ + protected $resource_id = ''; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type int $resource_type + * Required. The type of the Google Drive resource. + * @type string $resource_id + * Required. The ID of the Google Drive resource. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Cloud\Aiplatform\V1\Io::initOnce(); + parent::__construct($data); + } + + /** + * Required. The type of the Google Drive resource. + * + * Generated from protobuf field .google.cloud.aiplatform.v1.GoogleDriveSource.ResourceId.ResourceType resource_type = 1 [(.google.api.field_behavior) = REQUIRED]; + * @return int + */ + public function getResourceType() + { + return $this->resource_type; + } + + /** + * Required. The type of the Google Drive resource. + * + * Generated from protobuf field .google.cloud.aiplatform.v1.GoogleDriveSource.ResourceId.ResourceType resource_type = 1 [(.google.api.field_behavior) = REQUIRED]; + * @param int $var + * @return $this + */ + public function setResourceType($var) + { + GPBUtil::checkEnum($var, \Google\Cloud\AIPlatform\V1\GoogleDriveSource\ResourceId\ResourceType::class); + $this->resource_type = $var; + + return $this; + } + + /** + * Required. The ID of the Google Drive resource. + * + * Generated from protobuf field string resource_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * @return string + */ + public function getResourceId() + { + return $this->resource_id; + } + + /** + * Required. The ID of the Google Drive resource. + * + * Generated from protobuf field string resource_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * @param string $var + * @return $this + */ + public function setResourceId($var) + { + GPBUtil::checkString($var, True); + $this->resource_id = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/GoogleDriveSource/ResourceId/ResourceType.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/GoogleDriveSource/ResourceId/ResourceType.php new file mode 100644 index 000000000000..17ae73355303 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/GoogleDriveSource/ResourceId/ResourceType.php @@ -0,0 +1,61 @@ +google.cloud.aiplatform.v1.GoogleDriveSource.ResourceId.ResourceType + */ +class ResourceType +{ + /** + * Unspecified resource type. + * + * Generated from protobuf enum RESOURCE_TYPE_UNSPECIFIED = 0; + */ + const RESOURCE_TYPE_UNSPECIFIED = 0; + /** + * File resource type. + * + * Generated from protobuf enum RESOURCE_TYPE_FILE = 1; + */ + const RESOURCE_TYPE_FILE = 1; + /** + * Folder resource type. + * + * Generated from protobuf enum RESOURCE_TYPE_FOLDER = 2; + */ + const RESOURCE_TYPE_FOLDER = 2; + + private static $valueToName = [ + self::RESOURCE_TYPE_UNSPECIFIED => 'RESOURCE_TYPE_UNSPECIFIED', + self::RESOURCE_TYPE_FILE => 'RESOURCE_TYPE_FILE', + self::RESOURCE_TYPE_FOLDER => 'RESOURCE_TYPE_FOLDER', + ]; + + 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/GoogleMaps.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/GoogleMaps.php new file mode 100644 index 000000000000..074de82f050d --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/GoogleMaps.php @@ -0,0 +1,67 @@ +google.cloud.aiplatform.v1.GoogleMaps + */ +class GoogleMaps extends \Google\Protobuf\Internal\Message +{ + /** + * If true, include the widget context token in the response. + * + * Generated from protobuf field bool enable_widget = 1 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $enable_widget = false; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type bool $enable_widget + * If true, include the widget context token in the response. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Cloud\Aiplatform\V1\Tool::initOnce(); + parent::__construct($data); + } + + /** + * If true, include the widget context token in the response. + * + * Generated from protobuf field bool enable_widget = 1 [(.google.api.field_behavior) = OPTIONAL]; + * @return bool + */ + public function getEnableWidget() + { + return $this->enable_widget; + } + + /** + * If true, include the widget context token in the response. + * + * Generated from protobuf field bool enable_widget = 1 [(.google.api.field_behavior) = OPTIONAL]; + * @param bool $var + * @return $this + */ + public function setEnableWidget($var) + { + GPBUtil::checkBool($var); + $this->enable_widget = $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..ff03b8a00e47 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/GoogleSearchRetrieval.php @@ -0,0 +1,77 @@ +google.cloud.aiplatform.v1.GoogleSearchRetrieval + */ +class GoogleSearchRetrieval extends \Google\Protobuf\Internal\Message +{ + /** + * Specifies the dynamic retrieval configuration for the given source. + * + * Generated from protobuf field .google.cloud.aiplatform.v1.DynamicRetrievalConfig dynamic_retrieval_config = 2; + */ + protected $dynamic_retrieval_config = null; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type \Google\Cloud\AIPlatform\V1\DynamicRetrievalConfig $dynamic_retrieval_config + * Specifies the dynamic retrieval configuration for the given source. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Cloud\Aiplatform\V1\Tool::initOnce(); + parent::__construct($data); + } + + /** + * Specifies the dynamic retrieval configuration for the given source. + * + * Generated from protobuf field .google.cloud.aiplatform.v1.DynamicRetrievalConfig dynamic_retrieval_config = 2; + * @return \Google\Cloud\AIPlatform\V1\DynamicRetrievalConfig|null + */ + public function getDynamicRetrievalConfig() + { + return $this->dynamic_retrieval_config; + } + + public function hasDynamicRetrievalConfig() + { + return isset($this->dynamic_retrieval_config); + } + + public function clearDynamicRetrievalConfig() + { + unset($this->dynamic_retrieval_config); + } + + /** + * Specifies the dynamic retrieval configuration for the given source. + * + * Generated from protobuf field .google.cloud.aiplatform.v1.DynamicRetrievalConfig dynamic_retrieval_config = 2; + * @param \Google\Cloud\AIPlatform\V1\DynamicRetrievalConfig $var + * @return $this + */ + public function setDynamicRetrievalConfig($var) + { + GPBUtil::checkMessage($var, \Google\Cloud\AIPlatform\V1\DynamicRetrievalConfig::class); + $this->dynamic_retrieval_config = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/GroundednessInput.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/GroundednessInput.php new file mode 100644 index 000000000000..f639917190d6 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/GroundednessInput.php @@ -0,0 +1,121 @@ +google.cloud.aiplatform.v1.GroundednessInput + */ +class GroundednessInput extends \Google\Protobuf\Internal\Message +{ + /** + * Required. Spec for groundedness metric. + * + * Generated from protobuf field .google.cloud.aiplatform.v1.GroundednessSpec metric_spec = 1 [(.google.api.field_behavior) = REQUIRED]; + */ + protected $metric_spec = null; + /** + * Required. Groundedness instance. + * + * Generated from protobuf field .google.cloud.aiplatform.v1.GroundednessInstance instance = 2 [(.google.api.field_behavior) = REQUIRED]; + */ + protected $instance = null; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type \Google\Cloud\AIPlatform\V1\GroundednessSpec $metric_spec + * Required. Spec for groundedness metric. + * @type \Google\Cloud\AIPlatform\V1\GroundednessInstance $instance + * Required. Groundedness instance. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Cloud\Aiplatform\V1\EvaluationService::initOnce(); + parent::__construct($data); + } + + /** + * Required. Spec for groundedness metric. + * + * Generated from protobuf field .google.cloud.aiplatform.v1.GroundednessSpec metric_spec = 1 [(.google.api.field_behavior) = REQUIRED]; + * @return \Google\Cloud\AIPlatform\V1\GroundednessSpec|null + */ + public function getMetricSpec() + { + return $this->metric_spec; + } + + public function hasMetricSpec() + { + return isset($this->metric_spec); + } + + public function clearMetricSpec() + { + unset($this->metric_spec); + } + + /** + * Required. Spec for groundedness metric. + * + * Generated from protobuf field .google.cloud.aiplatform.v1.GroundednessSpec metric_spec = 1 [(.google.api.field_behavior) = REQUIRED]; + * @param \Google\Cloud\AIPlatform\V1\GroundednessSpec $var + * @return $this + */ + public function setMetricSpec($var) + { + GPBUtil::checkMessage($var, \Google\Cloud\AIPlatform\V1\GroundednessSpec::class); + $this->metric_spec = $var; + + return $this; + } + + /** + * Required. Groundedness instance. + * + * Generated from protobuf field .google.cloud.aiplatform.v1.GroundednessInstance instance = 2 [(.google.api.field_behavior) = REQUIRED]; + * @return \Google\Cloud\AIPlatform\V1\GroundednessInstance|null + */ + public function getInstance() + { + return $this->instance; + } + + public function hasInstance() + { + return isset($this->instance); + } + + public function clearInstance() + { + unset($this->instance); + } + + /** + * Required. Groundedness instance. + * + * Generated from protobuf field .google.cloud.aiplatform.v1.GroundednessInstance instance = 2 [(.google.api.field_behavior) = REQUIRED]; + * @param \Google\Cloud\AIPlatform\V1\GroundednessInstance $var + * @return $this + */ + public function setInstance($var) + { + GPBUtil::checkMessage($var, \Google\Cloud\AIPlatform\V1\GroundednessInstance::class); + $this->instance = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/GroundednessInstance.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/GroundednessInstance.php new file mode 100644 index 000000000000..4e403a27edc8 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/GroundednessInstance.php @@ -0,0 +1,125 @@ +google.cloud.aiplatform.v1.GroundednessInstance + */ +class GroundednessInstance extends \Google\Protobuf\Internal\Message +{ + /** + * Required. Output of the evaluated model. + * + * Generated from protobuf field optional string prediction = 1 [(.google.api.field_behavior) = REQUIRED]; + */ + protected $prediction = null; + /** + * Required. Background information provided in context used to compare + * against the prediction. + * + * Generated from protobuf field optional string context = 2 [(.google.api.field_behavior) = REQUIRED]; + */ + protected $context = null; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $prediction + * Required. Output of the evaluated model. + * @type string $context + * Required. Background information provided in context used to compare + * against the prediction. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Cloud\Aiplatform\V1\EvaluationService::initOnce(); + parent::__construct($data); + } + + /** + * Required. Output of the evaluated model. + * + * Generated from protobuf field optional string prediction = 1 [(.google.api.field_behavior) = REQUIRED]; + * @return string + */ + public function getPrediction() + { + return isset($this->prediction) ? $this->prediction : ''; + } + + public function hasPrediction() + { + return isset($this->prediction); + } + + public function clearPrediction() + { + unset($this->prediction); + } + + /** + * Required. Output of the evaluated model. + * + * Generated from protobuf field optional string prediction = 1 [(.google.api.field_behavior) = REQUIRED]; + * @param string $var + * @return $this + */ + public function setPrediction($var) + { + GPBUtil::checkString($var, True); + $this->prediction = $var; + + return $this; + } + + /** + * Required. Background information provided in context used to compare + * against the prediction. + * + * Generated from protobuf field optional string context = 2 [(.google.api.field_behavior) = REQUIRED]; + * @return string + */ + public function getContext() + { + return isset($this->context) ? $this->context : ''; + } + + public function hasContext() + { + return isset($this->context); + } + + public function clearContext() + { + unset($this->context); + } + + /** + * Required. Background information provided in context used to compare + * against the prediction. + * + * Generated from protobuf field optional string context = 2 [(.google.api.field_behavior) = REQUIRED]; + * @param string $var + * @return $this + */ + public function setContext($var) + { + GPBUtil::checkString($var, True); + $this->context = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/GroundednessResult.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/GroundednessResult.php new file mode 100644 index 000000000000..23fc798f6485 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/GroundednessResult.php @@ -0,0 +1,155 @@ +google.cloud.aiplatform.v1.GroundednessResult + */ +class GroundednessResult extends \Google\Protobuf\Internal\Message +{ + /** + * Output only. Groundedness score. + * + * Generated from protobuf field optional float score = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + protected $score = null; + /** + * Output only. Explanation for groundedness score. + * + * Generated from protobuf field string explanation = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + protected $explanation = ''; + /** + * Output only. Confidence for groundedness score. + * + * Generated from protobuf field optional float confidence = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + protected $confidence = null; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type float $score + * Output only. Groundedness score. + * @type string $explanation + * Output only. Explanation for groundedness score. + * @type float $confidence + * Output only. Confidence for groundedness score. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Cloud\Aiplatform\V1\EvaluationService::initOnce(); + parent::__construct($data); + } + + /** + * Output only. Groundedness score. + * + * Generated from protobuf field optional float score = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return float + */ + public function getScore() + { + return isset($this->score) ? $this->score : 0.0; + } + + public function hasScore() + { + return isset($this->score); + } + + public function clearScore() + { + unset($this->score); + } + + /** + * Output only. Groundedness score. + * + * Generated from protobuf field optional float score = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @param float $var + * @return $this + */ + public function setScore($var) + { + GPBUtil::checkFloat($var); + $this->score = $var; + + return $this; + } + + /** + * Output only. Explanation for groundedness score. + * + * Generated from protobuf field string explanation = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return string + */ + public function getExplanation() + { + return $this->explanation; + } + + /** + * Output only. Explanation for groundedness score. + * + * Generated from protobuf field string explanation = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @param string $var + * @return $this + */ + public function setExplanation($var) + { + GPBUtil::checkString($var, True); + $this->explanation = $var; + + return $this; + } + + /** + * Output only. Confidence for groundedness score. + * + * Generated from protobuf field optional float confidence = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return float + */ + public function getConfidence() + { + return isset($this->confidence) ? $this->confidence : 0.0; + } + + public function hasConfidence() + { + return isset($this->confidence); + } + + public function clearConfidence() + { + unset($this->confidence); + } + + /** + * Output only. Confidence for groundedness score. + * + * Generated from protobuf field optional float confidence = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @param float $var + * @return $this + */ + public function setConfidence($var) + { + GPBUtil::checkFloat($var); + $this->confidence = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/GroundednessSpec.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/GroundednessSpec.php new file mode 100644 index 000000000000..69bf802ea8e3 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/GroundednessSpec.php @@ -0,0 +1,67 @@ +google.cloud.aiplatform.v1.GroundednessSpec + */ +class GroundednessSpec extends \Google\Protobuf\Internal\Message +{ + /** + * Optional. Which version to use for evaluation. + * + * Generated from protobuf field int32 version = 1 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $version = 0; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type int $version + * Optional. Which version to use for evaluation. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Cloud\Aiplatform\V1\EvaluationService::initOnce(); + parent::__construct($data); + } + + /** + * Optional. Which version to use for evaluation. + * + * Generated from protobuf field int32 version = 1 [(.google.api.field_behavior) = OPTIONAL]; + * @return int + */ + public function getVersion() + { + return $this->version; + } + + /** + * Optional. Which version to use for evaluation. + * + * Generated from protobuf field int32 version = 1 [(.google.api.field_behavior) = OPTIONAL]; + * @param int $var + * @return $this + */ + public function setVersion($var) + { + GPBUtil::checkInt32($var); + $this->version = $var; + + return $this; + } + +} + 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..8b61ded4ce44 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/GroundingChunk.php @@ -0,0 +1,141 @@ +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. + * @type \Google\Cloud\AIPlatform\V1\GroundingChunk\Maps $maps + * Grounding chunk from Google Maps. + * } + */ + 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; + } + + /** + * Grounding chunk from Google Maps. + * + * Generated from protobuf field .google.cloud.aiplatform.v1.GroundingChunk.Maps maps = 3; + * @return \Google\Cloud\AIPlatform\V1\GroundingChunk\Maps|null + */ + public function getMaps() + { + return $this->readOneof(3); + } + + public function hasMaps() + { + return $this->hasOneof(3); + } + + /** + * Grounding chunk from Google Maps. + * + * Generated from protobuf field .google.cloud.aiplatform.v1.GroundingChunk.Maps maps = 3; + * @param \Google\Cloud\AIPlatform\V1\GroundingChunk\Maps $var + * @return $this + */ + public function setMaps($var) + { + GPBUtil::checkMessage($var, \Google\Cloud\AIPlatform\V1\GroundingChunk\Maps::class); + $this->writeOneof(3, $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/Maps.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/GroundingChunk/Maps.php new file mode 100644 index 000000000000..cfdab2e07a3c --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/GroundingChunk/Maps.php @@ -0,0 +1,265 @@ +google.cloud.aiplatform.v1.GroundingChunk.Maps + */ +class Maps 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; + /** + * Text of the chunk. + * + * Generated from protobuf field optional string text = 3; + */ + protected $text = null; + /** + * This Place's resource name, in `places/{place_id}` format. Can be used + * to look up the Place. + * + * Generated from protobuf field optional string place_id = 4; + */ + protected $place_id = null; + /** + * Sources used to generate the place answer. + * This includes review snippets and photos that were used to generate the + * answer, as well as uris to flag content. + * + * Generated from protobuf field .google.cloud.aiplatform.v1.GroundingChunk.Maps.PlaceAnswerSources place_answer_sources = 5; + */ + protected $place_answer_sources = 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. + * @type string $text + * Text of the chunk. + * @type string $place_id + * This Place's resource name, in `places/{place_id}` format. Can be used + * to look up the Place. + * @type \Google\Cloud\AIPlatform\V1\GroundingChunk\Maps\PlaceAnswerSources $place_answer_sources + * Sources used to generate the place answer. + * This includes review snippets and photos that were used to generate the + * answer, as well as uris to flag content. + * } + */ + 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; + } + + /** + * Text of the chunk. + * + * Generated from protobuf field optional string text = 3; + * @return string + */ + public function getText() + { + return isset($this->text) ? $this->text : ''; + } + + public function hasText() + { + return isset($this->text); + } + + public function clearText() + { + unset($this->text); + } + + /** + * Text of the chunk. + * + * Generated from protobuf field optional string text = 3; + * @param string $var + * @return $this + */ + public function setText($var) + { + GPBUtil::checkString($var, True); + $this->text = $var; + + return $this; + } + + /** + * This Place's resource name, in `places/{place_id}` format. Can be used + * to look up the Place. + * + * Generated from protobuf field optional string place_id = 4; + * @return string + */ + public function getPlaceId() + { + return isset($this->place_id) ? $this->place_id : ''; + } + + public function hasPlaceId() + { + return isset($this->place_id); + } + + public function clearPlaceId() + { + unset($this->place_id); + } + + /** + * This Place's resource name, in `places/{place_id}` format. Can be used + * to look up the Place. + * + * Generated from protobuf field optional string place_id = 4; + * @param string $var + * @return $this + */ + public function setPlaceId($var) + { + GPBUtil::checkString($var, True); + $this->place_id = $var; + + return $this; + } + + /** + * Sources used to generate the place answer. + * This includes review snippets and photos that were used to generate the + * answer, as well as uris to flag content. + * + * Generated from protobuf field .google.cloud.aiplatform.v1.GroundingChunk.Maps.PlaceAnswerSources place_answer_sources = 5; + * @return \Google\Cloud\AIPlatform\V1\GroundingChunk\Maps\PlaceAnswerSources|null + */ + public function getPlaceAnswerSources() + { + return $this->place_answer_sources; + } + + public function hasPlaceAnswerSources() + { + return isset($this->place_answer_sources); + } + + public function clearPlaceAnswerSources() + { + unset($this->place_answer_sources); + } + + /** + * Sources used to generate the place answer. + * This includes review snippets and photos that were used to generate the + * answer, as well as uris to flag content. + * + * Generated from protobuf field .google.cloud.aiplatform.v1.GroundingChunk.Maps.PlaceAnswerSources place_answer_sources = 5; + * @param \Google\Cloud\AIPlatform\V1\GroundingChunk\Maps\PlaceAnswerSources $var + * @return $this + */ + public function setPlaceAnswerSources($var) + { + GPBUtil::checkMessage($var, \Google\Cloud\AIPlatform\V1\GroundingChunk\Maps\PlaceAnswerSources::class); + $this->place_answer_sources = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/GroundingChunk/Maps/PlaceAnswerSources.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/GroundingChunk/Maps/PlaceAnswerSources.php new file mode 100644 index 000000000000..85e80c45f55d --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/GroundingChunk/Maps/PlaceAnswerSources.php @@ -0,0 +1,65 @@ +google.cloud.aiplatform.v1.GroundingChunk.Maps.PlaceAnswerSources + */ +class PlaceAnswerSources extends \Google\Protobuf\Internal\Message +{ + /** + * Snippets of reviews that are used to generate the answer. + * + * Generated from protobuf field repeated .google.cloud.aiplatform.v1.GroundingChunk.Maps.PlaceAnswerSources.ReviewSnippet review_snippets = 1; + */ + private $review_snippets; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type \Google\Cloud\AIPlatform\V1\GroundingChunk\Maps\PlaceAnswerSources\ReviewSnippet[] $review_snippets + * Snippets of reviews that are used to generate the answer. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Cloud\Aiplatform\V1\Content::initOnce(); + parent::__construct($data); + } + + /** + * Snippets of reviews that are used to generate the answer. + * + * Generated from protobuf field repeated .google.cloud.aiplatform.v1.GroundingChunk.Maps.PlaceAnswerSources.ReviewSnippet review_snippets = 1; + * @return RepeatedField<\Google\Cloud\AIPlatform\V1\GroundingChunk\Maps\PlaceAnswerSources\ReviewSnippet> + */ + public function getReviewSnippets() + { + return $this->review_snippets; + } + + /** + * Snippets of reviews that are used to generate the answer. + * + * Generated from protobuf field repeated .google.cloud.aiplatform.v1.GroundingChunk.Maps.PlaceAnswerSources.ReviewSnippet review_snippets = 1; + * @param \Google\Cloud\AIPlatform\V1\GroundingChunk\Maps\PlaceAnswerSources\ReviewSnippet[] $var + * @return $this + */ + public function setReviewSnippets($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\AIPlatform\V1\GroundingChunk\Maps\PlaceAnswerSources\ReviewSnippet::class); + $this->review_snippets = $arr; + + return $this; + } + +} + diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/GroundingChunk/Maps/PlaceAnswerSources/ReviewSnippet.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/GroundingChunk/Maps/PlaceAnswerSources/ReviewSnippet.php new file mode 100644 index 000000000000..09df0514d24e --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/GroundingChunk/Maps/PlaceAnswerSources/ReviewSnippet.php @@ -0,0 +1,135 @@ +google.cloud.aiplatform.v1.GroundingChunk.Maps.PlaceAnswerSources.ReviewSnippet + */ +class ReviewSnippet extends \Google\Protobuf\Internal\Message +{ + /** + * Id of the review referencing the place. + * + * Generated from protobuf field string review_id = 1; + */ + protected $review_id = ''; + /** + * A link to show the review on Google Maps. + * + * Generated from protobuf field string google_maps_uri = 2; + */ + protected $google_maps_uri = ''; + /** + * Title of the review. + * + * Generated from protobuf field string title = 3; + */ + protected $title = ''; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $review_id + * Id of the review referencing the place. + * @type string $google_maps_uri + * A link to show the review on Google Maps. + * @type string $title + * Title of the review. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Cloud\Aiplatform\V1\Content::initOnce(); + parent::__construct($data); + } + + /** + * Id of the review referencing the place. + * + * Generated from protobuf field string review_id = 1; + * @return string + */ + public function getReviewId() + { + return $this->review_id; + } + + /** + * Id of the review referencing the place. + * + * Generated from protobuf field string review_id = 1; + * @param string $var + * @return $this + */ + public function setReviewId($var) + { + GPBUtil::checkString($var, True); + $this->review_id = $var; + + return $this; + } + + /** + * A link to show the review on Google Maps. + * + * Generated from protobuf field string google_maps_uri = 2; + * @return string + */ + public function getGoogleMapsUri() + { + return $this->google_maps_uri; + } + + /** + * A link to show the review on Google Maps. + * + * Generated from protobuf field string google_maps_uri = 2; + * @param string $var + * @return $this + */ + public function setGoogleMapsUri($var) + { + GPBUtil::checkString($var, True); + $this->google_maps_uri = $var; + + return $this; + } + + /** + * Title of the review. + * + * Generated from protobuf field string title = 3; + * @return string + */ + public function getTitle() + { + return $this->title; + } + + /** + * Title of the review. + * + * Generated from protobuf field string title = 3; + * @param string $var + * @return $this + */ + public function setTitle($var) + { + GPBUtil::checkString($var, True); + $this->title = $var; + + return $this; + } + +} + 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..62ae3d7db55a --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/GroundingChunk/RetrievedContext.php @@ -0,0 +1,258 @@ +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; + /** + * Text of the attribution. + * + * Generated from protobuf field optional string text = 3; + */ + protected $text = null; + /** + * Output only. The full document name for the referenced Vertex AI Search + * document. + * + * Generated from protobuf field optional string document_name = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + protected $document_name = null; + protected $context_details; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type \Google\Cloud\AIPlatform\V1\RagChunk $rag_chunk + * Additional context for the RAG retrieval result. This is only populated + * when using the RAG retrieval tool. + * @type string $uri + * URI reference of the attribution. + * @type string $title + * Title of the attribution. + * @type string $text + * Text of the attribution. + * @type string $document_name + * Output only. The full document name for the referenced Vertex AI Search + * document. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Cloud\Aiplatform\V1\Content::initOnce(); + parent::__construct($data); + } + + /** + * Additional context for the RAG retrieval result. This is only populated + * when using the RAG retrieval tool. + * + * Generated from protobuf field .google.cloud.aiplatform.v1.RagChunk rag_chunk = 4; + * @return \Google\Cloud\AIPlatform\V1\RagChunk|null + */ + public function getRagChunk() + { + return $this->readOneof(4); + } + + public function hasRagChunk() + { + return $this->hasOneof(4); + } + + /** + * Additional context for the RAG retrieval result. This is only populated + * when using the RAG retrieval tool. + * + * Generated from protobuf field .google.cloud.aiplatform.v1.RagChunk rag_chunk = 4; + * @param \Google\Cloud\AIPlatform\V1\RagChunk $var + * @return $this + */ + public function setRagChunk($var) + { + GPBUtil::checkMessage($var, \Google\Cloud\AIPlatform\V1\RagChunk::class); + $this->writeOneof(4, $var); + + return $this; + } + + /** + * 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; + } + + /** + * Text of the attribution. + * + * Generated from protobuf field optional string text = 3; + * @return string + */ + public function getText() + { + return isset($this->text) ? $this->text : ''; + } + + public function hasText() + { + return isset($this->text); + } + + public function clearText() + { + unset($this->text); + } + + /** + * Text of the attribution. + * + * Generated from protobuf field optional string text = 3; + * @param string $var + * @return $this + */ + public function setText($var) + { + GPBUtil::checkString($var, True); + $this->text = $var; + + return $this; + } + + /** + * Output only. The full document name for the referenced Vertex AI Search + * document. + * + * Generated from protobuf field optional string document_name = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return string + */ + public function getDocumentName() + { + return isset($this->document_name) ? $this->document_name : ''; + } + + public function hasDocumentName() + { + return isset($this->document_name); + } + + public function clearDocumentName() + { + unset($this->document_name); + } + + /** + * Output only. The full document name for the referenced Vertex AI Search + * document. + * + * Generated from protobuf field optional string document_name = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @param string $var + * @return $this + */ + public function setDocumentName($var) + { + GPBUtil::checkString($var, True); + $this->document_name = $var; + + return $this; + } + + /** + * @return string + */ + public function getContextDetails() + { + return $this->whichOneof("context_details"); + } + +} + 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..e24f285682e3 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/GroundingChunk/Web.php @@ -0,0 +1,121 @@ +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; + } + +} + 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..764ff35b7f36 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/GroundingMetadata.php @@ -0,0 +1,313 @@ +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; + /** + * Optional. Output only. Retrieval metadata. + * + * Generated from protobuf field optional .google.cloud.aiplatform.v1.RetrievalMetadata retrieval_metadata = 7 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = OUTPUT_ONLY]; + */ + protected $retrieval_metadata = null; + /** + * Optional. Output only. Resource name of the Google Maps widget context + * token to be used with the PlacesContextElement widget to render contextual + * data. This is populated only for Google Maps grounding. + * + * Generated from protobuf field optional string google_maps_widget_context_token = 8 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = OUTPUT_ONLY]; + */ + protected $google_maps_widget_context_token = null; + /** + * List of source flagging uris. This is currently populated only for Google + * Maps grounding. + * + * Generated from protobuf field repeated .google.cloud.aiplatform.v1.GroundingMetadata.SourceFlaggingUri source_flagging_uris = 9; + */ + private $source_flagging_uris; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string[] $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 \Google\Cloud\AIPlatform\V1\GroundingChunk[] $grounding_chunks + * List of supporting references retrieved from specified grounding source. + * @type \Google\Cloud\AIPlatform\V1\GroundingSupport[] $grounding_supports + * Optional. List of grounding support. + * @type \Google\Cloud\AIPlatform\V1\RetrievalMetadata $retrieval_metadata + * Optional. Output only. Retrieval metadata. + * @type string $google_maps_widget_context_token + * Optional. Output only. Resource name of the Google Maps widget context + * token to be used with the PlacesContextElement widget to render contextual + * data. This is populated only for Google Maps grounding. + * @type \Google\Cloud\AIPlatform\V1\GroundingMetadata\SourceFlaggingUri[] $source_flagging_uris + * List of source flagging uris. This is currently populated only for Google + * Maps grounding. + * } + */ + 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 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 string[] $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 RepeatedField<\Google\Cloud\AIPlatform\V1\GroundingChunk> + */ + 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 \Google\Cloud\AIPlatform\V1\GroundingChunk[] $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 RepeatedField<\Google\Cloud\AIPlatform\V1\GroundingSupport> + */ + 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 \Google\Cloud\AIPlatform\V1\GroundingSupport[] $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; + } + + /** + * Optional. Output only. Retrieval metadata. + * + * Generated from protobuf field optional .google.cloud.aiplatform.v1.RetrievalMetadata retrieval_metadata = 7 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = OUTPUT_ONLY]; + * @return \Google\Cloud\AIPlatform\V1\RetrievalMetadata|null + */ + public function getRetrievalMetadata() + { + return $this->retrieval_metadata; + } + + public function hasRetrievalMetadata() + { + return isset($this->retrieval_metadata); + } + + public function clearRetrievalMetadata() + { + unset($this->retrieval_metadata); + } + + /** + * Optional. Output only. Retrieval metadata. + * + * Generated from protobuf field optional .google.cloud.aiplatform.v1.RetrievalMetadata retrieval_metadata = 7 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = OUTPUT_ONLY]; + * @param \Google\Cloud\AIPlatform\V1\RetrievalMetadata $var + * @return $this + */ + public function setRetrievalMetadata($var) + { + GPBUtil::checkMessage($var, \Google\Cloud\AIPlatform\V1\RetrievalMetadata::class); + $this->retrieval_metadata = $var; + + return $this; + } + + /** + * Optional. Output only. Resource name of the Google Maps widget context + * token to be used with the PlacesContextElement widget to render contextual + * data. This is populated only for Google Maps grounding. + * + * Generated from protobuf field optional string google_maps_widget_context_token = 8 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = OUTPUT_ONLY]; + * @return string + */ + public function getGoogleMapsWidgetContextToken() + { + return isset($this->google_maps_widget_context_token) ? $this->google_maps_widget_context_token : ''; + } + + public function hasGoogleMapsWidgetContextToken() + { + return isset($this->google_maps_widget_context_token); + } + + public function clearGoogleMapsWidgetContextToken() + { + unset($this->google_maps_widget_context_token); + } + + /** + * Optional. Output only. Resource name of the Google Maps widget context + * token to be used with the PlacesContextElement widget to render contextual + * data. This is populated only for Google Maps grounding. + * + * Generated from protobuf field optional string google_maps_widget_context_token = 8 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = OUTPUT_ONLY]; + * @param string $var + * @return $this + */ + public function setGoogleMapsWidgetContextToken($var) + { + GPBUtil::checkString($var, True); + $this->google_maps_widget_context_token = $var; + + return $this; + } + + /** + * List of source flagging uris. This is currently populated only for Google + * Maps grounding. + * + * Generated from protobuf field repeated .google.cloud.aiplatform.v1.GroundingMetadata.SourceFlaggingUri source_flagging_uris = 9; + * @return RepeatedField<\Google\Cloud\AIPlatform\V1\GroundingMetadata\SourceFlaggingUri> + */ + public function getSourceFlaggingUris() + { + return $this->source_flagging_uris; + } + + /** + * List of source flagging uris. This is currently populated only for Google + * Maps grounding. + * + * Generated from protobuf field repeated .google.cloud.aiplatform.v1.GroundingMetadata.SourceFlaggingUri source_flagging_uris = 9; + * @param \Google\Cloud\AIPlatform\V1\GroundingMetadata\SourceFlaggingUri[] $var + * @return $this + */ + public function setSourceFlaggingUris($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\AIPlatform\V1\GroundingMetadata\SourceFlaggingUri::class); + $this->source_flagging_uris = $arr; + + return $this; + } + +} + diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/GroundingMetadata/SourceFlaggingUri.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/GroundingMetadata/SourceFlaggingUri.php new file mode 100644 index 000000000000..fa04bb27cd24 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/GroundingMetadata/SourceFlaggingUri.php @@ -0,0 +1,114 @@ +google.cloud.aiplatform.v1.GroundingMetadata.SourceFlaggingUri + */ +class SourceFlaggingUri extends \Google\Protobuf\Internal\Message +{ + /** + * Id of the place or review. + * + * Generated from protobuf field string source_id = 1; + */ + protected $source_id = ''; + /** + * A link where users can flag a problem with the source (place or review). + * (-- The link is generated by Google and it does not contain + * information from the user query. It may contain information of the + * content it is flagging, which can be used to identify places. --) + * + * Generated from protobuf field string flag_content_uri = 2; + */ + protected $flag_content_uri = ''; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $source_id + * Id of the place or review. + * @type string $flag_content_uri + * A link where users can flag a problem with the source (place or review). + * (-- The link is generated by Google and it does not contain + * information from the user query. It may contain information of the + * content it is flagging, which can be used to identify places. --) + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Cloud\Aiplatform\V1\Content::initOnce(); + parent::__construct($data); + } + + /** + * Id of the place or review. + * + * Generated from protobuf field string source_id = 1; + * @return string + */ + public function getSourceId() + { + return $this->source_id; + } + + /** + * Id of the place or review. + * + * Generated from protobuf field string source_id = 1; + * @param string $var + * @return $this + */ + public function setSourceId($var) + { + GPBUtil::checkString($var, True); + $this->source_id = $var; + + return $this; + } + + /** + * A link where users can flag a problem with the source (place or review). + * (-- The link is generated by Google and it does not contain + * information from the user query. It may contain information of the + * content it is flagging, which can be used to identify places. --) + * + * Generated from protobuf field string flag_content_uri = 2; + * @return string + */ + public function getFlagContentUri() + { + return $this->flag_content_uri; + } + + /** + * A link where users can flag a problem with the source (place or review). + * (-- The link is generated by Google and it does not contain + * information from the user query. It may contain information of the + * content it is flagging, which can be used to identify places. --) + * + * Generated from protobuf field string flag_content_uri = 2; + * @param string $var + * @return $this + */ + public function setFlagContentUri($var) + { + GPBUtil::checkString($var, True); + $this->flag_content_uri = $var; + + 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..2c0903684c78 --- /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 int[] $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 float[] $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 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 int[] $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 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 float[] $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..a5e85ba48ef5 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/HarmCategory.php @@ -0,0 +1,90 @@ +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; + /** + * Deprecated: Election filter is not longer supported. + * The harm category is civic integrity. + * + * Generated from protobuf enum HARM_CATEGORY_CIVIC_INTEGRITY = 5 [deprecated = true]; + */ + const HARM_CATEGORY_CIVIC_INTEGRITY = 5; + /** + * The harm category is for jailbreak prompts. + * + * Generated from protobuf enum HARM_CATEGORY_JAILBREAK = 6; + */ + const HARM_CATEGORY_JAILBREAK = 6; + + 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', + self::HARM_CATEGORY_CIVIC_INTEGRITY => 'HARM_CATEGORY_CIVIC_INTEGRITY', + self::HARM_CATEGORY_JAILBREAK => 'HARM_CATEGORY_JAILBREAK', + ]; + + 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..20628901eddd --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/HyperparameterTuningJob.php @@ -0,0 +1,795 @@ +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; + /** + * Output only. Reserved for future use. + * + * Generated from protobuf field bool satisfies_pzs = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + protected $satisfies_pzs = false; + /** + * Output only. Reserved for future use. + * + * Generated from protobuf field bool satisfies_pzi = 20 [(.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. 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 \Google\Cloud\AIPlatform\V1\Trial[] $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. + * @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\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 RepeatedField<\Google\Cloud\AIPlatform\V1\Trial> + */ + 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 \Google\Cloud\AIPlatform\V1\Trial[] $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; + } + + /** + * Output only. Reserved for future use. + * + * Generated from protobuf field bool satisfies_pzs = 19 [(.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 = 19 [(.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 = 20 [(.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 = 20 [(.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/IdMatcher.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/IdMatcher.php new file mode 100644 index 000000000000..6868b91a04f5 --- /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 string[] $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 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 string[] $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/ImageConfig.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ImageConfig.php new file mode 100644 index 000000000000..f11695044a98 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ImageConfig.php @@ -0,0 +1,241 @@ +google.cloud.aiplatform.v1.ImageConfig + */ +class ImageConfig extends \Google\Protobuf\Internal\Message +{ + /** + * Optional. The image output format for generated images. + * + * Generated from protobuf field optional .google.cloud.aiplatform.v1.ImageConfig.ImageOutputOptions image_output_options = 1 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $image_output_options = null; + /** + * Optional. The desired aspect ratio for the generated images. The following + * aspect ratios are supported: + * "1:1" + * "2:3", "3:2" + * "3:4", "4:3" + * "4:5", "5:4" + * "9:16", "16:9" + * "21:9" + * + * Generated from protobuf field optional string aspect_ratio = 2 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $aspect_ratio = null; + /** + * Optional. Controls whether the model can generate people. + * + * Generated from protobuf field optional .google.cloud.aiplatform.v1.ImageConfig.PersonGeneration person_generation = 3 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $person_generation = null; + /** + * Optional. Specifies the size of generated images. Supported values are + * `1K`, `2K`, `4K`. If not specified, the model will use default value `1K`. + * + * Generated from protobuf field optional string image_size = 4 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $image_size = null; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type \Google\Cloud\AIPlatform\V1\ImageConfig\ImageOutputOptions $image_output_options + * Optional. The image output format for generated images. + * @type string $aspect_ratio + * Optional. The desired aspect ratio for the generated images. The following + * aspect ratios are supported: + * "1:1" + * "2:3", "3:2" + * "3:4", "4:3" + * "4:5", "5:4" + * "9:16", "16:9" + * "21:9" + * @type int $person_generation + * Optional. Controls whether the model can generate people. + * @type string $image_size + * Optional. Specifies the size of generated images. Supported values are + * `1K`, `2K`, `4K`. If not specified, the model will use default value `1K`. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Cloud\Aiplatform\V1\Content::initOnce(); + parent::__construct($data); + } + + /** + * Optional. The image output format for generated images. + * + * Generated from protobuf field optional .google.cloud.aiplatform.v1.ImageConfig.ImageOutputOptions image_output_options = 1 [(.google.api.field_behavior) = OPTIONAL]; + * @return \Google\Cloud\AIPlatform\V1\ImageConfig\ImageOutputOptions|null + */ + public function getImageOutputOptions() + { + return $this->image_output_options; + } + + public function hasImageOutputOptions() + { + return isset($this->image_output_options); + } + + public function clearImageOutputOptions() + { + unset($this->image_output_options); + } + + /** + * Optional. The image output format for generated images. + * + * Generated from protobuf field optional .google.cloud.aiplatform.v1.ImageConfig.ImageOutputOptions image_output_options = 1 [(.google.api.field_behavior) = OPTIONAL]; + * @param \Google\Cloud\AIPlatform\V1\ImageConfig\ImageOutputOptions $var + * @return $this + */ + public function setImageOutputOptions($var) + { + GPBUtil::checkMessage($var, \Google\Cloud\AIPlatform\V1\ImageConfig\ImageOutputOptions::class); + $this->image_output_options = $var; + + return $this; + } + + /** + * Optional. The desired aspect ratio for the generated images. The following + * aspect ratios are supported: + * "1:1" + * "2:3", "3:2" + * "3:4", "4:3" + * "4:5", "5:4" + * "9:16", "16:9" + * "21:9" + * + * Generated from protobuf field optional string aspect_ratio = 2 [(.google.api.field_behavior) = OPTIONAL]; + * @return string + */ + public function getAspectRatio() + { + return isset($this->aspect_ratio) ? $this->aspect_ratio : ''; + } + + public function hasAspectRatio() + { + return isset($this->aspect_ratio); + } + + public function clearAspectRatio() + { + unset($this->aspect_ratio); + } + + /** + * Optional. The desired aspect ratio for the generated images. The following + * aspect ratios are supported: + * "1:1" + * "2:3", "3:2" + * "3:4", "4:3" + * "4:5", "5:4" + * "9:16", "16:9" + * "21:9" + * + * Generated from protobuf field optional string aspect_ratio = 2 [(.google.api.field_behavior) = OPTIONAL]; + * @param string $var + * @return $this + */ + public function setAspectRatio($var) + { + GPBUtil::checkString($var, True); + $this->aspect_ratio = $var; + + return $this; + } + + /** + * Optional. Controls whether the model can generate people. + * + * Generated from protobuf field optional .google.cloud.aiplatform.v1.ImageConfig.PersonGeneration person_generation = 3 [(.google.api.field_behavior) = OPTIONAL]; + * @return int + */ + public function getPersonGeneration() + { + return isset($this->person_generation) ? $this->person_generation : 0; + } + + public function hasPersonGeneration() + { + return isset($this->person_generation); + } + + public function clearPersonGeneration() + { + unset($this->person_generation); + } + + /** + * Optional. Controls whether the model can generate people. + * + * Generated from protobuf field optional .google.cloud.aiplatform.v1.ImageConfig.PersonGeneration person_generation = 3 [(.google.api.field_behavior) = OPTIONAL]; + * @param int $var + * @return $this + */ + public function setPersonGeneration($var) + { + GPBUtil::checkEnum($var, \Google\Cloud\AIPlatform\V1\ImageConfig\PersonGeneration::class); + $this->person_generation = $var; + + return $this; + } + + /** + * Optional. Specifies the size of generated images. Supported values are + * `1K`, `2K`, `4K`. If not specified, the model will use default value `1K`. + * + * Generated from protobuf field optional string image_size = 4 [(.google.api.field_behavior) = OPTIONAL]; + * @return string + */ + public function getImageSize() + { + return isset($this->image_size) ? $this->image_size : ''; + } + + public function hasImageSize() + { + return isset($this->image_size); + } + + public function clearImageSize() + { + unset($this->image_size); + } + + /** + * Optional. Specifies the size of generated images. Supported values are + * `1K`, `2K`, `4K`. If not specified, the model will use default value `1K`. + * + * Generated from protobuf field optional string image_size = 4 [(.google.api.field_behavior) = OPTIONAL]; + * @param string $var + * @return $this + */ + public function setImageSize($var) + { + GPBUtil::checkString($var, True); + $this->image_size = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ImageConfig/ImageOutputOptions.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ImageConfig/ImageOutputOptions.php new file mode 100644 index 000000000000..120f7d3dfe36 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ImageConfig/ImageOutputOptions.php @@ -0,0 +1,121 @@ +google.cloud.aiplatform.v1.ImageConfig.ImageOutputOptions + */ +class ImageOutputOptions extends \Google\Protobuf\Internal\Message +{ + /** + * Optional. The image format that the output should be saved as. + * + * Generated from protobuf field optional string mime_type = 1 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $mime_type = null; + /** + * Optional. The compression quality of the output image. + * + * Generated from protobuf field optional int32 compression_quality = 2 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $compression_quality = null; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $mime_type + * Optional. The image format that the output should be saved as. + * @type int $compression_quality + * Optional. The compression quality of the output image. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Cloud\Aiplatform\V1\Content::initOnce(); + parent::__construct($data); + } + + /** + * Optional. The image format that the output should be saved as. + * + * Generated from protobuf field optional string mime_type = 1 [(.google.api.field_behavior) = OPTIONAL]; + * @return string + */ + public function getMimeType() + { + return isset($this->mime_type) ? $this->mime_type : ''; + } + + public function hasMimeType() + { + return isset($this->mime_type); + } + + public function clearMimeType() + { + unset($this->mime_type); + } + + /** + * Optional. The image format that the output should be saved as. + * + * Generated from protobuf field optional string mime_type = 1 [(.google.api.field_behavior) = OPTIONAL]; + * @param string $var + * @return $this + */ + public function setMimeType($var) + { + GPBUtil::checkString($var, True); + $this->mime_type = $var; + + return $this; + } + + /** + * Optional. The compression quality of the output image. + * + * Generated from protobuf field optional int32 compression_quality = 2 [(.google.api.field_behavior) = OPTIONAL]; + * @return int + */ + public function getCompressionQuality() + { + return isset($this->compression_quality) ? $this->compression_quality : 0; + } + + public function hasCompressionQuality() + { + return isset($this->compression_quality); + } + + public function clearCompressionQuality() + { + unset($this->compression_quality); + } + + /** + * Optional. The compression quality of the output image. + * + * Generated from protobuf field optional int32 compression_quality = 2 [(.google.api.field_behavior) = OPTIONAL]; + * @param int $var + * @return $this + */ + public function setCompressionQuality($var) + { + GPBUtil::checkInt32($var); + $this->compression_quality = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ImageConfig/PersonGeneration.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ImageConfig/PersonGeneration.php new file mode 100644 index 000000000000..159f494494d0 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ImageConfig/PersonGeneration.php @@ -0,0 +1,70 @@ +google.cloud.aiplatform.v1.ImageConfig.PersonGeneration + */ +class PersonGeneration +{ + /** + * The default behavior is unspecified. The model will decide whether to + * generate images of people. + * + * Generated from protobuf enum PERSON_GENERATION_UNSPECIFIED = 0; + */ + const PERSON_GENERATION_UNSPECIFIED = 0; + /** + * Allows the model to generate images of people, including adults and + * children. + * + * Generated from protobuf enum ALLOW_ALL = 1; + */ + const ALLOW_ALL = 1; + /** + * Allows the model to generate images of adults, but not children. + * + * Generated from protobuf enum ALLOW_ADULT = 2; + */ + const ALLOW_ADULT = 2; + /** + * Prevents the model from generating images of people. + * + * Generated from protobuf enum ALLOW_NONE = 3; + */ + const ALLOW_NONE = 3; + + private static $valueToName = [ + self::PERSON_GENERATION_UNSPECIFIED => 'PERSON_GENERATION_UNSPECIFIED', + self::ALLOW_ALL => 'ALLOW_ALL', + self::ALLOW_ADULT => 'ALLOW_ADULT', + self::ALLOW_NONE => 'ALLOW_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); + } +} + 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..61fd8b1bf166 --- /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..073887711f96 --- /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..35cefe5e7b76 --- /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 \Google\Cloud\AIPlatform\V1\ImportDataConfig[] $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 RepeatedField<\Google\Cloud\AIPlatform\V1\ImportDataConfig> + */ + 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 \Google\Cloud\AIPlatform\V1\ImportDataConfig[] $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..25da664ad12c --- /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..1730ce5c5c28 --- /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 string[] $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 int[]|string[] $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 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 string[] $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 RepeatedField|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 int[]|string[] $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..a6971eb45a31 --- /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 \Google\Cloud\AIPlatform\V1\ImportFeatureValuesRequest\FeatureSpec[] $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 RepeatedField<\Google\Cloud\AIPlatform\V1\ImportFeatureValuesRequest\FeatureSpec> + */ + 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 \Google\Cloud\AIPlatform\V1\ImportFeatureValuesRequest\FeatureSpec[] $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..8eebc9b782aa --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ImportFeatureValuesRequest/FeatureSpec.php @@ -0,0 +1,109 @@ +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; + } + +} + 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..0223c19709c3 --- /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..bcea9ab05589 --- /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/ImportRagFilesConfig.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ImportRagFilesConfig.php new file mode 100644 index 000000000000..5201a2d0db2e --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ImportRagFilesConfig.php @@ -0,0 +1,619 @@ +google.cloud.aiplatform.v1.ImportRagFilesConfig + */ +class ImportRagFilesConfig extends \Google\Protobuf\Internal\Message +{ + /** + * Specifies the transformation config for RagFiles. + * + * Generated from protobuf field .google.cloud.aiplatform.v1.RagFileTransformationConfig rag_file_transformation_config = 16; + */ + protected $rag_file_transformation_config = null; + /** + * Optional. Specifies the parsing config for RagFiles. + * RAG will use the default parser if this field is not set. + * + * Generated from protobuf field .google.cloud.aiplatform.v1.RagFileParsingConfig rag_file_parsing_config = 8 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $rag_file_parsing_config = null; + /** + * Optional. The max number of queries per minute that this job is allowed to + * make to the embedding model specified on the corpus. This value is specific + * to this job and not shared across other import jobs. Consult the Quotas + * page on the project to set an appropriate value here. + * If unspecified, a default value of 1,000 QPM would be used. + * + * Generated from protobuf field int32 max_embedding_requests_per_min = 5 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $max_embedding_requests_per_min = 0; + /** + * Rebuilds the ANN index to optimize for recall on the imported data. + * Only applicable for RagCorpora running on RagManagedDb with + * `retrieval_strategy` set to `ANN`. The rebuild will be performed using the + * existing ANN config set on the RagCorpus. To change the ANN config, please + * use the UpdateRagCorpus API. + * Default is false, i.e., index is not rebuilt. + * + * Generated from protobuf field bool rebuild_ann_index = 19; + */ + protected $rebuild_ann_index = false; + protected $import_source; + protected $partial_failure_sink; + protected $import_result_sink; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type \Google\Cloud\AIPlatform\V1\GcsSource $gcs_source + * Google Cloud Storage location. Supports importing individual files as + * well as entire Google Cloud Storage directories. Sample formats: + * - `gs://bucket_name/my_directory/object_name/my_file.txt` + * - `gs://bucket_name/my_directory` + * @type \Google\Cloud\AIPlatform\V1\GoogleDriveSource $google_drive_source + * Google Drive location. Supports importing individual files as + * well as Google Drive folders. + * @type \Google\Cloud\AIPlatform\V1\SlackSource $slack_source + * Slack channels with their corresponding access tokens. + * @type \Google\Cloud\AIPlatform\V1\JiraSource $jira_source + * Jira queries with their corresponding authentication. + * @type \Google\Cloud\AIPlatform\V1\SharePointSources $share_point_sources + * SharePoint sources. + * @type \Google\Cloud\AIPlatform\V1\GcsDestination $partial_failure_gcs_sink + * The Cloud Storage path to write partial failures to. + * Deprecated. Prefer to use `import_result_gcs_sink`. + * @type \Google\Cloud\AIPlatform\V1\BigQueryDestination $partial_failure_bigquery_sink + * The BigQuery destination to write partial failures to. It should be a + * bigquery table resource name (e.g. + * "bq://projectId.bqDatasetId.bqTableId"). The dataset must exist. If the + * table does not exist, it will be created with the expected schema. If the + * table exists, the schema will be validated and data will be added to this + * existing table. + * Deprecated. Prefer to use `import_result_bq_sink`. + * @type \Google\Cloud\AIPlatform\V1\GcsDestination $import_result_gcs_sink + * The Cloud Storage path to write import result to. + * @type \Google\Cloud\AIPlatform\V1\BigQueryDestination $import_result_bigquery_sink + * The BigQuery destination to write import result to. It should be a + * bigquery table resource name (e.g. + * "bq://projectId.bqDatasetId.bqTableId"). The dataset must exist. If the + * table does not exist, it will be created with the expected schema. If the + * table exists, the schema will be validated and data will be added to this + * existing table. + * @type \Google\Cloud\AIPlatform\V1\RagFileTransformationConfig $rag_file_transformation_config + * Specifies the transformation config for RagFiles. + * @type \Google\Cloud\AIPlatform\V1\RagFileParsingConfig $rag_file_parsing_config + * Optional. Specifies the parsing config for RagFiles. + * RAG will use the default parser if this field is not set. + * @type int $max_embedding_requests_per_min + * Optional. The max number of queries per minute that this job is allowed to + * make to the embedding model specified on the corpus. This value is specific + * to this job and not shared across other import jobs. Consult the Quotas + * page on the project to set an appropriate value here. + * If unspecified, a default value of 1,000 QPM would be used. + * @type bool $rebuild_ann_index + * Rebuilds the ANN index to optimize for recall on the imported data. + * Only applicable for RagCorpora running on RagManagedDb with + * `retrieval_strategy` set to `ANN`. The rebuild will be performed using the + * existing ANN config set on the RagCorpus. To change the ANN config, please + * use the UpdateRagCorpus API. + * Default is false, i.e., index is not rebuilt. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Cloud\Aiplatform\V1\VertexRagData::initOnce(); + parent::__construct($data); + } + + /** + * Google Cloud Storage location. Supports importing individual files as + * well as entire Google Cloud Storage directories. Sample formats: + * - `gs://bucket_name/my_directory/object_name/my_file.txt` + * - `gs://bucket_name/my_directory` + * + * 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); + } + + /** + * Google Cloud Storage location. Supports importing individual files as + * well as entire Google Cloud Storage directories. Sample formats: + * - `gs://bucket_name/my_directory/object_name/my_file.txt` + * - `gs://bucket_name/my_directory` + * + * 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; + } + + /** + * Google Drive location. Supports importing individual files as + * well as Google Drive folders. + * + * Generated from protobuf field .google.cloud.aiplatform.v1.GoogleDriveSource google_drive_source = 3; + * @return \Google\Cloud\AIPlatform\V1\GoogleDriveSource|null + */ + public function getGoogleDriveSource() + { + return $this->readOneof(3); + } + + public function hasGoogleDriveSource() + { + return $this->hasOneof(3); + } + + /** + * Google Drive location. Supports importing individual files as + * well as Google Drive folders. + * + * Generated from protobuf field .google.cloud.aiplatform.v1.GoogleDriveSource google_drive_source = 3; + * @param \Google\Cloud\AIPlatform\V1\GoogleDriveSource $var + * @return $this + */ + public function setGoogleDriveSource($var) + { + GPBUtil::checkMessage($var, \Google\Cloud\AIPlatform\V1\GoogleDriveSource::class); + $this->writeOneof(3, $var); + + return $this; + } + + /** + * Slack channels with their corresponding access tokens. + * + * Generated from protobuf field .google.cloud.aiplatform.v1.SlackSource slack_source = 6; + * @return \Google\Cloud\AIPlatform\V1\SlackSource|null + */ + public function getSlackSource() + { + return $this->readOneof(6); + } + + public function hasSlackSource() + { + return $this->hasOneof(6); + } + + /** + * Slack channels with their corresponding access tokens. + * + * Generated from protobuf field .google.cloud.aiplatform.v1.SlackSource slack_source = 6; + * @param \Google\Cloud\AIPlatform\V1\SlackSource $var + * @return $this + */ + public function setSlackSource($var) + { + GPBUtil::checkMessage($var, \Google\Cloud\AIPlatform\V1\SlackSource::class); + $this->writeOneof(6, $var); + + return $this; + } + + /** + * Jira queries with their corresponding authentication. + * + * Generated from protobuf field .google.cloud.aiplatform.v1.JiraSource jira_source = 7; + * @return \Google\Cloud\AIPlatform\V1\JiraSource|null + */ + public function getJiraSource() + { + return $this->readOneof(7); + } + + public function hasJiraSource() + { + return $this->hasOneof(7); + } + + /** + * Jira queries with their corresponding authentication. + * + * Generated from protobuf field .google.cloud.aiplatform.v1.JiraSource jira_source = 7; + * @param \Google\Cloud\AIPlatform\V1\JiraSource $var + * @return $this + */ + public function setJiraSource($var) + { + GPBUtil::checkMessage($var, \Google\Cloud\AIPlatform\V1\JiraSource::class); + $this->writeOneof(7, $var); + + return $this; + } + + /** + * SharePoint sources. + * + * Generated from protobuf field .google.cloud.aiplatform.v1.SharePointSources share_point_sources = 13; + * @return \Google\Cloud\AIPlatform\V1\SharePointSources|null + */ + public function getSharePointSources() + { + return $this->readOneof(13); + } + + public function hasSharePointSources() + { + return $this->hasOneof(13); + } + + /** + * SharePoint sources. + * + * Generated from protobuf field .google.cloud.aiplatform.v1.SharePointSources share_point_sources = 13; + * @param \Google\Cloud\AIPlatform\V1\SharePointSources $var + * @return $this + */ + public function setSharePointSources($var) + { + GPBUtil::checkMessage($var, \Google\Cloud\AIPlatform\V1\SharePointSources::class); + $this->writeOneof(13, $var); + + return $this; + } + + /** + * The Cloud Storage path to write partial failures to. + * Deprecated. Prefer to use `import_result_gcs_sink`. + * + * Generated from protobuf field .google.cloud.aiplatform.v1.GcsDestination partial_failure_gcs_sink = 11 [deprecated = true]; + * @return \Google\Cloud\AIPlatform\V1\GcsDestination|null + * @deprecated + */ + public function getPartialFailureGcsSink() + { + if ($this->hasOneof(11)) { + @trigger_error('partial_failure_gcs_sink is deprecated.', E_USER_DEPRECATED); + } + return $this->readOneof(11); + } + + public function hasPartialFailureGcsSink() + { + if ($this->hasOneof(11)) { + @trigger_error('partial_failure_gcs_sink is deprecated.', E_USER_DEPRECATED); + } + return $this->hasOneof(11); + } + + /** + * The Cloud Storage path to write partial failures to. + * Deprecated. Prefer to use `import_result_gcs_sink`. + * + * Generated from protobuf field .google.cloud.aiplatform.v1.GcsDestination partial_failure_gcs_sink = 11 [deprecated = true]; + * @param \Google\Cloud\AIPlatform\V1\GcsDestination $var + * @return $this + * @deprecated + */ + public function setPartialFailureGcsSink($var) + { + @trigger_error('partial_failure_gcs_sink is deprecated.', E_USER_DEPRECATED); + GPBUtil::checkMessage($var, \Google\Cloud\AIPlatform\V1\GcsDestination::class); + $this->writeOneof(11, $var); + + return $this; + } + + /** + * The BigQuery destination to write partial failures to. It should be a + * bigquery table resource name (e.g. + * "bq://projectId.bqDatasetId.bqTableId"). The dataset must exist. If the + * table does not exist, it will be created with the expected schema. If the + * table exists, the schema will be validated and data will be added to this + * existing table. + * Deprecated. Prefer to use `import_result_bq_sink`. + * + * Generated from protobuf field .google.cloud.aiplatform.v1.BigQueryDestination partial_failure_bigquery_sink = 12 [deprecated = true]; + * @return \Google\Cloud\AIPlatform\V1\BigQueryDestination|null + * @deprecated + */ + public function getPartialFailureBigquerySink() + { + if ($this->hasOneof(12)) { + @trigger_error('partial_failure_bigquery_sink is deprecated.', E_USER_DEPRECATED); + } + return $this->readOneof(12); + } + + public function hasPartialFailureBigquerySink() + { + if ($this->hasOneof(12)) { + @trigger_error('partial_failure_bigquery_sink is deprecated.', E_USER_DEPRECATED); + } + return $this->hasOneof(12); + } + + /** + * The BigQuery destination to write partial failures to. It should be a + * bigquery table resource name (e.g. + * "bq://projectId.bqDatasetId.bqTableId"). The dataset must exist. If the + * table does not exist, it will be created with the expected schema. If the + * table exists, the schema will be validated and data will be added to this + * existing table. + * Deprecated. Prefer to use `import_result_bq_sink`. + * + * Generated from protobuf field .google.cloud.aiplatform.v1.BigQueryDestination partial_failure_bigquery_sink = 12 [deprecated = true]; + * @param \Google\Cloud\AIPlatform\V1\BigQueryDestination $var + * @return $this + * @deprecated + */ + public function setPartialFailureBigquerySink($var) + { + @trigger_error('partial_failure_bigquery_sink is deprecated.', E_USER_DEPRECATED); + GPBUtil::checkMessage($var, \Google\Cloud\AIPlatform\V1\BigQueryDestination::class); + $this->writeOneof(12, $var); + + return $this; + } + + /** + * The Cloud Storage path to write import result to. + * + * Generated from protobuf field .google.cloud.aiplatform.v1.GcsDestination import_result_gcs_sink = 14; + * @return \Google\Cloud\AIPlatform\V1\GcsDestination|null + */ + public function getImportResultGcsSink() + { + return $this->readOneof(14); + } + + public function hasImportResultGcsSink() + { + return $this->hasOneof(14); + } + + /** + * The Cloud Storage path to write import result to. + * + * Generated from protobuf field .google.cloud.aiplatform.v1.GcsDestination import_result_gcs_sink = 14; + * @param \Google\Cloud\AIPlatform\V1\GcsDestination $var + * @return $this + */ + public function setImportResultGcsSink($var) + { + GPBUtil::checkMessage($var, \Google\Cloud\AIPlatform\V1\GcsDestination::class); + $this->writeOneof(14, $var); + + return $this; + } + + /** + * The BigQuery destination to write import result to. It should be a + * bigquery table resource name (e.g. + * "bq://projectId.bqDatasetId.bqTableId"). The dataset must exist. If the + * table does not exist, it will be created with the expected schema. If the + * table exists, the schema will be validated and data will be added to this + * existing table. + * + * Generated from protobuf field .google.cloud.aiplatform.v1.BigQueryDestination import_result_bigquery_sink = 15; + * @return \Google\Cloud\AIPlatform\V1\BigQueryDestination|null + */ + public function getImportResultBigquerySink() + { + return $this->readOneof(15); + } + + public function hasImportResultBigquerySink() + { + return $this->hasOneof(15); + } + + /** + * The BigQuery destination to write import result to. It should be a + * bigquery table resource name (e.g. + * "bq://projectId.bqDatasetId.bqTableId"). The dataset must exist. If the + * table does not exist, it will be created with the expected schema. If the + * table exists, the schema will be validated and data will be added to this + * existing table. + * + * Generated from protobuf field .google.cloud.aiplatform.v1.BigQueryDestination import_result_bigquery_sink = 15; + * @param \Google\Cloud\AIPlatform\V1\BigQueryDestination $var + * @return $this + */ + public function setImportResultBigquerySink($var) + { + GPBUtil::checkMessage($var, \Google\Cloud\AIPlatform\V1\BigQueryDestination::class); + $this->writeOneof(15, $var); + + return $this; + } + + /** + * Specifies the transformation config for RagFiles. + * + * Generated from protobuf field .google.cloud.aiplatform.v1.RagFileTransformationConfig rag_file_transformation_config = 16; + * @return \Google\Cloud\AIPlatform\V1\RagFileTransformationConfig|null + */ + public function getRagFileTransformationConfig() + { + return $this->rag_file_transformation_config; + } + + public function hasRagFileTransformationConfig() + { + return isset($this->rag_file_transformation_config); + } + + public function clearRagFileTransformationConfig() + { + unset($this->rag_file_transformation_config); + } + + /** + * Specifies the transformation config for RagFiles. + * + * Generated from protobuf field .google.cloud.aiplatform.v1.RagFileTransformationConfig rag_file_transformation_config = 16; + * @param \Google\Cloud\AIPlatform\V1\RagFileTransformationConfig $var + * @return $this + */ + public function setRagFileTransformationConfig($var) + { + GPBUtil::checkMessage($var, \Google\Cloud\AIPlatform\V1\RagFileTransformationConfig::class); + $this->rag_file_transformation_config = $var; + + return $this; + } + + /** + * Optional. Specifies the parsing config for RagFiles. + * RAG will use the default parser if this field is not set. + * + * Generated from protobuf field .google.cloud.aiplatform.v1.RagFileParsingConfig rag_file_parsing_config = 8 [(.google.api.field_behavior) = OPTIONAL]; + * @return \Google\Cloud\AIPlatform\V1\RagFileParsingConfig|null + */ + public function getRagFileParsingConfig() + { + return $this->rag_file_parsing_config; + } + + public function hasRagFileParsingConfig() + { + return isset($this->rag_file_parsing_config); + } + + public function clearRagFileParsingConfig() + { + unset($this->rag_file_parsing_config); + } + + /** + * Optional. Specifies the parsing config for RagFiles. + * RAG will use the default parser if this field is not set. + * + * Generated from protobuf field .google.cloud.aiplatform.v1.RagFileParsingConfig rag_file_parsing_config = 8 [(.google.api.field_behavior) = OPTIONAL]; + * @param \Google\Cloud\AIPlatform\V1\RagFileParsingConfig $var + * @return $this + */ + public function setRagFileParsingConfig($var) + { + GPBUtil::checkMessage($var, \Google\Cloud\AIPlatform\V1\RagFileParsingConfig::class); + $this->rag_file_parsing_config = $var; + + return $this; + } + + /** + * Optional. The max number of queries per minute that this job is allowed to + * make to the embedding model specified on the corpus. This value is specific + * to this job and not shared across other import jobs. Consult the Quotas + * page on the project to set an appropriate value here. + * If unspecified, a default value of 1,000 QPM would be used. + * + * Generated from protobuf field int32 max_embedding_requests_per_min = 5 [(.google.api.field_behavior) = OPTIONAL]; + * @return int + */ + public function getMaxEmbeddingRequestsPerMin() + { + return $this->max_embedding_requests_per_min; + } + + /** + * Optional. The max number of queries per minute that this job is allowed to + * make to the embedding model specified on the corpus. This value is specific + * to this job and not shared across other import jobs. Consult the Quotas + * page on the project to set an appropriate value here. + * If unspecified, a default value of 1,000 QPM would be used. + * + * Generated from protobuf field int32 max_embedding_requests_per_min = 5 [(.google.api.field_behavior) = OPTIONAL]; + * @param int $var + * @return $this + */ + public function setMaxEmbeddingRequestsPerMin($var) + { + GPBUtil::checkInt32($var); + $this->max_embedding_requests_per_min = $var; + + return $this; + } + + /** + * Rebuilds the ANN index to optimize for recall on the imported data. + * Only applicable for RagCorpora running on RagManagedDb with + * `retrieval_strategy` set to `ANN`. The rebuild will be performed using the + * existing ANN config set on the RagCorpus. To change the ANN config, please + * use the UpdateRagCorpus API. + * Default is false, i.e., index is not rebuilt. + * + * Generated from protobuf field bool rebuild_ann_index = 19; + * @return bool + */ + public function getRebuildAnnIndex() + { + return $this->rebuild_ann_index; + } + + /** + * Rebuilds the ANN index to optimize for recall on the imported data. + * Only applicable for RagCorpora running on RagManagedDb with + * `retrieval_strategy` set to `ANN`. The rebuild will be performed using the + * existing ANN config set on the RagCorpus. To change the ANN config, please + * use the UpdateRagCorpus API. + * Default is false, i.e., index is not rebuilt. + * + * Generated from protobuf field bool rebuild_ann_index = 19; + * @param bool $var + * @return $this + */ + public function setRebuildAnnIndex($var) + { + GPBUtil::checkBool($var); + $this->rebuild_ann_index = $var; + + return $this; + } + + /** + * @return string + */ + public function getImportSource() + { + return $this->whichOneof("import_source"); + } + + /** + * @return string + */ + public function getPartialFailureSink() + { + return $this->whichOneof("partial_failure_sink"); + } + + /** + * @return string + */ + public function getImportResultSink() + { + return $this->whichOneof("import_result_sink"); + } + +} + diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ImportRagFilesOperationMetadata.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ImportRagFilesOperationMetadata.php new file mode 100644 index 000000000000..27af52dce985 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ImportRagFilesOperationMetadata.php @@ -0,0 +1,198 @@ +google.cloud.aiplatform.v1.ImportRagFilesOperationMetadata + */ +class ImportRagFilesOperationMetadata 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 resource ID of RagCorpus that this operation is executed on. + * + * Generated from protobuf field int64 rag_corpus_id = 2; + */ + protected $rag_corpus_id = 0; + /** + * Output only. The config that was passed in the ImportRagFilesRequest. + * + * Generated from protobuf field .google.cloud.aiplatform.v1.ImportRagFilesConfig import_rag_files_config = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + protected $import_rag_files_config = null; + /** + * The progress percentage of the operation. Value is in the range [0, 100]. + * This percentage is calculated as follows: + * progress_percentage = 100 * (successes + failures + skips) / total + * + * Generated from protobuf field int32 progress_percentage = 4; + */ + protected $progress_percentage = 0; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type \Google\Cloud\AIPlatform\V1\GenericOperationMetadata $generic_metadata + * The operation generic information. + * @type int|string $rag_corpus_id + * The resource ID of RagCorpus that this operation is executed on. + * @type \Google\Cloud\AIPlatform\V1\ImportRagFilesConfig $import_rag_files_config + * Output only. The config that was passed in the ImportRagFilesRequest. + * @type int $progress_percentage + * The progress percentage of the operation. Value is in the range [0, 100]. + * This percentage is calculated as follows: + * progress_percentage = 100 * (successes + failures + skips) / total + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Cloud\Aiplatform\V1\VertexRagDataService::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 resource ID of RagCorpus that this operation is executed on. + * + * Generated from protobuf field int64 rag_corpus_id = 2; + * @return int|string + */ + public function getRagCorpusId() + { + return $this->rag_corpus_id; + } + + /** + * The resource ID of RagCorpus that this operation is executed on. + * + * Generated from protobuf field int64 rag_corpus_id = 2; + * @param int|string $var + * @return $this + */ + public function setRagCorpusId($var) + { + GPBUtil::checkInt64($var); + $this->rag_corpus_id = $var; + + return $this; + } + + /** + * Output only. The config that was passed in the ImportRagFilesRequest. + * + * Generated from protobuf field .google.cloud.aiplatform.v1.ImportRagFilesConfig import_rag_files_config = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return \Google\Cloud\AIPlatform\V1\ImportRagFilesConfig|null + */ + public function getImportRagFilesConfig() + { + return $this->import_rag_files_config; + } + + public function hasImportRagFilesConfig() + { + return isset($this->import_rag_files_config); + } + + public function clearImportRagFilesConfig() + { + unset($this->import_rag_files_config); + } + + /** + * Output only. The config that was passed in the ImportRagFilesRequest. + * + * Generated from protobuf field .google.cloud.aiplatform.v1.ImportRagFilesConfig import_rag_files_config = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @param \Google\Cloud\AIPlatform\V1\ImportRagFilesConfig $var + * @return $this + */ + public function setImportRagFilesConfig($var) + { + GPBUtil::checkMessage($var, \Google\Cloud\AIPlatform\V1\ImportRagFilesConfig::class); + $this->import_rag_files_config = $var; + + return $this; + } + + /** + * The progress percentage of the operation. Value is in the range [0, 100]. + * This percentage is calculated as follows: + * progress_percentage = 100 * (successes + failures + skips) / total + * + * Generated from protobuf field int32 progress_percentage = 4; + * @return int + */ + public function getProgressPercentage() + { + return $this->progress_percentage; + } + + /** + * The progress percentage of the operation. Value is in the range [0, 100]. + * This percentage is calculated as follows: + * progress_percentage = 100 * (successes + failures + skips) / total + * + * Generated from protobuf field int32 progress_percentage = 4; + * @param int $var + * @return $this + */ + public function setProgressPercentage($var) + { + GPBUtil::checkInt32($var); + $this->progress_percentage = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ImportRagFilesRequest.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ImportRagFilesRequest.php new file mode 100644 index 000000000000..1f4696bee4c0 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ImportRagFilesRequest.php @@ -0,0 +1,148 @@ +google.cloud.aiplatform.v1.ImportRagFilesRequest + */ +class ImportRagFilesRequest extends \Google\Protobuf\Internal\Message +{ + /** + * Required. The name of the RagCorpus resource into which to import files. + * Format: + * `projects/{project}/locations/{location}/ragCorpora/{rag_corpus}` + * + * Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { + */ + protected $parent = ''; + /** + * Required. The config for the RagFiles to be synced and imported into the + * RagCorpus. + * [VertexRagDataService.ImportRagFiles][google.cloud.aiplatform.v1.VertexRagDataService.ImportRagFiles]. + * + * Generated from protobuf field .google.cloud.aiplatform.v1.ImportRagFilesConfig import_rag_files_config = 2 [(.google.api.field_behavior) = REQUIRED]; + */ + protected $import_rag_files_config = null; + + /** + * @param string $parent Required. The name of the RagCorpus resource into which to import files. + * Format: + * `projects/{project}/locations/{location}/ragCorpora/{rag_corpus}` + * Please see {@see VertexRagDataServiceClient::ragCorpusName()} for help formatting this field. + * @param \Google\Cloud\AIPlatform\V1\ImportRagFilesConfig $importRagFilesConfig Required. The config for the RagFiles to be synced and imported into the + * RagCorpus. + * [VertexRagDataService.ImportRagFiles][google.cloud.aiplatform.v1.VertexRagDataService.ImportRagFiles]. + * + * @return \Google\Cloud\AIPlatform\V1\ImportRagFilesRequest + * + * @experimental + */ + public static function build(string $parent, \Google\Cloud\AIPlatform\V1\ImportRagFilesConfig $importRagFilesConfig): self + { + return (new self()) + ->setParent($parent) + ->setImportRagFilesConfig($importRagFilesConfig); + } + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $parent + * Required. The name of the RagCorpus resource into which to import files. + * Format: + * `projects/{project}/locations/{location}/ragCorpora/{rag_corpus}` + * @type \Google\Cloud\AIPlatform\V1\ImportRagFilesConfig $import_rag_files_config + * Required. The config for the RagFiles to be synced and imported into the + * RagCorpus. + * [VertexRagDataService.ImportRagFiles][google.cloud.aiplatform.v1.VertexRagDataService.ImportRagFiles]. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Cloud\Aiplatform\V1\VertexRagDataService::initOnce(); + parent::__construct($data); + } + + /** + * Required. The name of the RagCorpus resource into which to import files. + * Format: + * `projects/{project}/locations/{location}/ragCorpora/{rag_corpus}` + * + * 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 RagCorpus resource into which to import files. + * Format: + * `projects/{project}/locations/{location}/ragCorpora/{rag_corpus}` + * + * 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 config for the RagFiles to be synced and imported into the + * RagCorpus. + * [VertexRagDataService.ImportRagFiles][google.cloud.aiplatform.v1.VertexRagDataService.ImportRagFiles]. + * + * Generated from protobuf field .google.cloud.aiplatform.v1.ImportRagFilesConfig import_rag_files_config = 2 [(.google.api.field_behavior) = REQUIRED]; + * @return \Google\Cloud\AIPlatform\V1\ImportRagFilesConfig|null + */ + public function getImportRagFilesConfig() + { + return $this->import_rag_files_config; + } + + public function hasImportRagFilesConfig() + { + return isset($this->import_rag_files_config); + } + + public function clearImportRagFilesConfig() + { + unset($this->import_rag_files_config); + } + + /** + * Required. The config for the RagFiles to be synced and imported into the + * RagCorpus. + * [VertexRagDataService.ImportRagFiles][google.cloud.aiplatform.v1.VertexRagDataService.ImportRagFiles]. + * + * Generated from protobuf field .google.cloud.aiplatform.v1.ImportRagFilesConfig import_rag_files_config = 2 [(.google.api.field_behavior) = REQUIRED]; + * @param \Google\Cloud\AIPlatform\V1\ImportRagFilesConfig $var + * @return $this + */ + public function setImportRagFilesConfig($var) + { + GPBUtil::checkMessage($var, \Google\Cloud\AIPlatform\V1\ImportRagFilesConfig::class); + $this->import_rag_files_config = $var; + + return $this; + } + +} + diff --git a/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ImportRagFilesResponse.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ImportRagFilesResponse.php new file mode 100644 index 000000000000..641379ac7248 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/ImportRagFilesResponse.php @@ -0,0 +1,214 @@ +google.cloud.aiplatform.v1.ImportRagFilesResponse + */ +class ImportRagFilesResponse extends \Google\Protobuf\Internal\Message +{ + /** + * The number of RagFiles that had been imported into the RagCorpus. + * + * Generated from protobuf field int64 imported_rag_files_count = 1; + */ + protected $imported_rag_files_count = 0; + /** + * The number of RagFiles that had failed while importing into the RagCorpus. + * + * Generated from protobuf field int64 failed_rag_files_count = 2; + */ + protected $failed_rag_files_count = 0; + /** + * The number of RagFiles that was skipped while importing into the RagCorpus. + * + * Generated from protobuf field int64 skipped_rag_files_count = 3; + */ + protected $skipped_rag_files_count = 0; + protected $partial_failure_sink; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $partial_failures_gcs_path + * The Google Cloud Storage path into which the partial failures were + * written. + * @type string $partial_failures_bigquery_table + * The BigQuery table into which the partial failures were written. + * @type int|string $imported_rag_files_count + * The number of RagFiles that had been imported into the RagCorpus. + * @type int|string $failed_rag_files_count + * The number of RagFiles that had failed while importing into the RagCorpus. + * @type int|string $skipped_rag_files_count + * The number of RagFiles that was skipped while importing into the RagCorpus. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Cloud\Aiplatform\V1\VertexRagDataService::initOnce(); + parent::__construct($data); + } + + /** + * The Google Cloud Storage path into which the partial failures were + * written. + * + * Generated from protobuf field string partial_failures_gcs_path = 4; + * @return string + */ + public function getPartialFailuresGcsPath() + { + return $this->readOneof(4); + } + + public function hasPartialFailuresGcsPath() + { + return $this->hasOneof(4); + } + + /** + * The Google Cloud Storage path into which the partial failures were + * written. + * + * Generated from protobuf field string partial_failures_gcs_path = 4; + * @param string $var + * @return $this + */ + public function setPartialFailuresGcsPath($var) + { + GPBUtil::checkString($var, True); + $this->writeOneof(4, $var); + + return $this; + } + + /** + * The BigQuery table into which the partial failures were written. + * + * Generated from protobuf field string partial_failures_bigquery_table = 5; + * @return string + */ + public function getPartialFailuresBigqueryTable() + { + return $this->readOneof(5); + } + + public function hasPartialFailuresBigqueryTable() + { + return $this->hasOneof(5); + } + + /** + * The BigQuery table into which the partial failures were written. + * + * Generated from protobuf field string partial_failures_bigquery_table = 5; + * @param string $var + * @return $this + */ + public function setPartialFailuresBigqueryTable($var) + { + GPBUtil::checkString($var, True); + $this->writeOneof(5, $var); + + return $this; + } + + /** + * The number of RagFiles that had been imported into the RagCorpus. + * + * Generated from protobuf field int64 imported_rag_files_count = 1; + * @return int|string + */ + public function getImportedRagFilesCount() + { + return $this->imported_rag_files_count; + } + + /** + * The number of RagFiles that had been imported into the RagCorpus. + * + * Generated from protobuf field int64 imported_rag_files_count = 1; + * @param int|string $var + * @return $this + */ + public function setImportedRagFilesCount($var) + { + GPBUtil::checkInt64($var); + $this->imported_rag_files_count = $var; + + return $this; + } + + /** + * The number of RagFiles that had failed while importing into the RagCorpus. + * + * Generated from protobuf field int64 failed_rag_files_count = 2; + * @return int|string + */ + public function getFailedRagFilesCount() + { + return $this->failed_rag_files_count; + } + + /** + * The number of RagFiles that had failed while importing into the RagCorpus. + * + * Generated from protobuf field int64 failed_rag_files_count = 2; + * @param int|string $var + * @return $this + */ + public function setFailedRagFilesCount($var) + { + GPBUtil::checkInt64($var); + $this->failed_rag_files_count = $var; + + return $this; + } + + /** + * The number of RagFiles that was skipped while importing into the RagCorpus. + * + * Generated from protobuf field int64 skipped_rag_files_count = 3; + * @return int|string + */ + public function getSkippedRagFilesCount() + { + return $this->skipped_rag_files_count; + } + + /** + * The number of RagFiles that was skipped while importing into the RagCorpus. + * + * Generated from protobuf field int64 skipped_rag_files_count = 3; + * @param int|string $var + * @return $this + */ + public function setSkippedRagFilesCount($var) + { + GPBUtil::checkInt64($var); + $this->skipped_rag_files_count = $var; + + return $this; + } + + /** + * @return string + */ + public function getPartialFailureSink() + { + return $this->whichOneof("partial_failure_sink"); + } + +} + 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..b59683d691b3 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/Index.php @@ -0,0 +1,702 @@ +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; + /** + * Output only. Reserved for future use. + * + * Generated from protobuf field bool satisfies_pzs = 18 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + protected $satisfies_pzs = false; + /** + * Output only. Reserved for future use. + * + * Generated from protobuf field bool satisfies_pzi = 19 [(.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 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 \Google\Cloud\AIPlatform\V1\DeployedIndexRef[] $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. + * @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\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 RepeatedField<\Google\Cloud\AIPlatform\V1\DeployedIndexRef> + */ + 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 \Google\Cloud\AIPlatform\V1\DeployedIndexRef[] $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; + } + + /** + * Output only. Reserved for future use. + * + * Generated from protobuf field bool satisfies_pzs = 18 [(.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 = 18 [(.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 = 19 [(.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 = 19 [(.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/Index/IndexUpdateMethod.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/Index/IndexUpdateMethod.php new file mode 100644 index 000000000000..9f957ea6084b --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/Index/IndexUpdateMethod.php @@ -0,0 +1,64 @@ +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); + } +} + 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..9bf792fe478b --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/IndexDatapoint.php @@ -0,0 +1,329 @@ +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; + /** + * Optional. The key-value map of additional metadata for the datapoint. + * + * Generated from protobuf field .google.protobuf.Struct embedding_metadata = 8 [(.google.api.field_behavior) = OPTIONAL]; + */ + protected $embedding_metadata = null; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $datapoint_id + * Required. Unique identifier of the datapoint. + * @type float[] $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 \Google\Cloud\AIPlatform\V1\IndexDatapoint\Restriction[] $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 \Google\Cloud\AIPlatform\V1\IndexDatapoint\NumericRestriction[] $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. + * @type \Google\Protobuf\Struct $embedding_metadata + * Optional. The key-value map of additional metadata for the datapoint. + * } + */ + 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 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 float[] $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 RepeatedField<\Google\Cloud\AIPlatform\V1\IndexDatapoint\Restriction> + */ + 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 \Google\Cloud\AIPlatform\V1\IndexDatapoint\Restriction[] $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 RepeatedField<\Google\Cloud\AIPlatform\V1\IndexDatapoint\NumericRestriction> + */ + 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 \Google\Cloud\AIPlatform\V1\IndexDatapoint\NumericRestriction[] $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; + } + + /** + * Optional. The key-value map of additional metadata for the datapoint. + * + * Generated from protobuf field .google.protobuf.Struct embedding_metadata = 8 [(.google.api.field_behavior) = OPTIONAL]; + * @return \Google\Protobuf\Struct|null + */ + public function getEmbeddingMetadata() + { + return $this->embedding_metadata; + } + + public function hasEmbeddingMetadata() + { + return isset($this->embedding_metadata); + } + + public function clearEmbeddingMetadata() + { + unset($this->embedding_metadata); + } + + /** + * Optional. The key-value map of additional metadata for the datapoint. + * + * Generated from protobuf field .google.protobuf.Struct embedding_metadata = 8 [(.google.api.field_behavior) = OPTIONAL]; + * @param \Google\Protobuf\Struct $var + * @return $this + */ + public function setEmbeddingMetadata($var) + { + GPBUtil::checkMessage($var, \Google\Protobuf\Struct::class); + $this->embedding_metadata = $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..0dad3656873a --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/IndexDatapoint/CrowdingTag.php @@ -0,0 +1,85 @@ +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; + } + +} + 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..d645530350a0 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/IndexDatapoint/NumericRestriction.php @@ -0,0 +1,214 @@ +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"); + } + +} + 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..997c0ea10550 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/IndexDatapoint/NumericRestriction/Operator.php @@ -0,0 +1,92 @@ +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); + } +} + 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..04de1e0263e2 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/IndexDatapoint/Restriction.php @@ -0,0 +1,136 @@ +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 string[] $allow_list + * The attributes to allow in this namespace. e.g.: 'red' + * @type string[] $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 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 string[] $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 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 string[] $var + * @return $this + */ + public function setDenyList($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING); + $this->deny_list = $arr; + + return $this; + } + +} + 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..61de76de5edc --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/IndexDatapoint/SparseEmbedding.php @@ -0,0 +1,106 @@ +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 float[] $values + * Required. The list of embedding values of the sparse vector. + * @type int[]|string[] $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 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 float[] $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 RepeatedField|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 int[]|string[] $var + * @return $this + */ + public function setDimensions($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::INT64); + $this->dimensions = $arr; + + return $this; + } + +} + 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..66ab4dc14005 --- /dev/null +++ b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/IndexEndpoint.php @@ -0,0 +1,765 @@ +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; + /** + * Output only. Reserved for future use. + * + * Generated from protobuf field bool satisfies_pzs = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + protected $satisfies_pzs = false; + /** + * Output only. Reserved for future use. + * + * Generated from protobuf field bool satisfies_pzi = 18 [(.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 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 \Google\Cloud\AIPlatform\V1\DeployedIndex[] $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. + * @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\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 RepeatedField<\Google\Cloud\AIPlatform\V1\DeployedIndex> + */ + 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 \Google\Cloud\AIPlatform\V1\DeployedIndex[] $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() + { + if ($this->enable_private_service_connect !== false) { + @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; + } + + /** + * Output only. Reserved for future use. + * + * Generated from protobuf field bool satisfies_pzs = 17 [(.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 = 17 [(.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 = 18 [(.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 = 18 [(.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/IndexPrivateEndpoints.php b/owl-bot-staging/AiPlatform/v1/proto/src/Google/Cloud/AIPlatform/V1/IndexPrivateEndpoints.php new file mode 100644 index 000000000000..f2181cb30e7d --- /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 \Google\Cloud\AIPlatform\V1\PscAutomatedEndpoints[] $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 RepeatedField<\Google\Cloud\AIPlatform\V1\PscAutomatedEndpoints> + */ + 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 \Google\Cloud\AIPlatform\V1\PscAutomatedEndpoints[] $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..afb1ad6850f9 --- /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..8e5feea5216c --- /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---