frameworks = $frameworks; } /** * @return string[] */ public function getFrameworks() { return $this->frameworks; } /** * Optional. Indicates the launch stage of the model. * * Accepted values: LAUNCH_STAGE_UNSPECIFIED, EXPERIMENTAL, PRIVATE_PREVIEW, * PUBLIC_PREVIEW, GA * * @param self::LAUNCH_STAGE_* $launchStage */ public function setLaunchStage($launchStage) { $this->launchStage = $launchStage; } /** * @return self::LAUNCH_STAGE_* */ public function getLaunchStage() { return $this->launchStage; } /** * Output only. Identifier. The resource name of the PublisherModel. * * @param string $name */ public function setName($name) { $this->name = $name; } /** * @return string */ public function getName() { return $this->name; } /** * Required. Indicates the open source category of the publisher model. * * Accepted values: OPEN_SOURCE_CATEGORY_UNSPECIFIED, PROPRIETARY, * GOOGLE_OWNED_OSS_WITH_GOOGLE_CHECKPOINT, * THIRD_PARTY_OWNED_OSS_WITH_GOOGLE_CHECKPOINT, GOOGLE_OWNED_OSS, * THIRD_PARTY_OWNED_OSS * * @param self::OPEN_SOURCE_CATEGORY_* $openSourceCategory */ public function setOpenSourceCategory($openSourceCategory) { $this->openSourceCategory = $openSourceCategory; } /** * @return self::OPEN_SOURCE_CATEGORY_* */ public function getOpenSourceCategory() { return $this->openSourceCategory; } /** * Optional. The schemata that describes formats of the PublisherModel's * predictions and explanations as given and returned via * PredictionService.Predict. * * @param GoogleCloudAiplatformV1PredictSchemata $predictSchemata */ public function setPredictSchemata(GoogleCloudAiplatformV1PredictSchemata $predictSchemata) { $this->predictSchemata = $predictSchemata; } /** * @return GoogleCloudAiplatformV1PredictSchemata */ public function getPredictSchemata() { return $this->predictSchemata; } /** * Optional. Output only. Immutable. Used to indicate this model has a * publisher model and provide the template of the publisher model resource * name. * * @param string $publisherModelTemplate */ public function setPublisherModelTemplate($publisherModelTemplate) { $this->publisherModelTemplate = $publisherModelTemplate; } /** * @return string */ public function getPublisherModelTemplate() { return $this->publisherModelTemplate; } /** * Optional. Supported call-to-action options. * * @param GoogleCloudAiplatformV1PublisherModelCallToAction $supportedActions */ public function setSupportedActions(GoogleCloudAiplatformV1PublisherModelCallToAction $supportedActions) { $this->supportedActions = $supportedActions; } /** * @return GoogleCloudAiplatformV1PublisherModelCallToAction */ public function getSupportedActions() { return $this->supportedActions; } /** * Output only. Immutable. The version ID of the PublisherModel. A new version * is committed when a new model version is uploaded under an existing model * id. It is an auto-incrementing decimal number in string representation. * * @param string $versionId */ public function setVersionId($versionId) { $this->versionId = $versionId; } /** * @return string */ public function getVersionId() { return $this->versionId; } /** * Optional. Indicates the state of the model version. * * Accepted values: VERSION_STATE_UNSPECIFIED, VERSION_STATE_STABLE, * VERSION_STATE_UNSTABLE * * @param self::VERSION_STATE_* $versionState */ public function setVersionState($versionState) { $this->versionState = $versionState; } /** * @return self::VERSION_STATE_* */ public function getVersionState() { return $this->versionState; } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(GoogleCloudAiplatformV1PublisherModel::class, 'Google_Service_Aiplatform_GoogleCloudAiplatformV1PublisherModel');