📂 File Browser

/AgentAI/vendor/google/apiclient-services/src/CloudNaturalLanguage
🌙 Dark Mode
🎯 Quick Launch:

📁 Directories

📁 Resource/ 🔓 Open

📄 Files

🐘 AnalyzeEntitiesRequest.php
▶ Open 📄 View Source
🐘 AnalyzeEntitiesResponse.php
▶ Open 📄 View Source
🐘 AnalyzeEntitySentimentRequest.php
▶ Open 📄 View Source
🐘 AnalyzeEntitySentimentResponse.php
▶ Open 📄 View Source
🐘 AnalyzeSentimentRequest.php
▶ Open 📄 View Source
🐘 AnalyzeSentimentResponse.php
▶ Open 📄 View Source
🐘 AnalyzeSyntaxRequest.php
▶ Open 📄 View Source
🐘 AnalyzeSyntaxResponse.php
▶ Open 📄 View Source
🐘 AnnotateTextRequest.php
▶ Open 📄 View Source
🐘 AnnotateTextRequestFeatures.php
▶ Open 📄 View Source
🐘 AnnotateTextResponse.php
▶ Open 📄 View Source
🐘 ClassificationCategory.php
▶ Open 📄 View Source
🐘 ClassificationModelOptions.php
▶ Open 📄 View Source
🐘 ClassifyTextRequest.php
▶ Open 📄 View Source
🐘 ClassifyTextResponse.php
▶ Open 📄 View Source
🐘 Color.php
▶ Open 📄 View Source
🐘 CpuMetric.php
▶ Open 📄 View Source
🐘 DependencyEdge.php
▶ Open 📄 View Source
🐘 DiskMetric.php
▶ Open 📄 View Source
🐘 Document.php
▶ Open 📄 View Source
🐘 Entity.php
▶ Open 📄 View Source
🐘 EntityMention.php
▶ Open 📄 View Source
🐘 Features.php
▶ Open 📄 View Source
🐘 GpuMetric.php
▶ Open 📄 View Source
🐘 InfraUsage.php
▶ Open 📄 View Source
🐘 ModerateTextRequest.php
▶ Open 📄 View Source
🐘 ModerateTextResponse.php
▶ Open 📄 View Source
🐘 PartOfSpeech.php
▶ Open 📄 View Source
🐘 RamMetric.php
▶ Open 📄 View Source
🐘 Sentence.php
▶ Open 📄 View Source
🐘 Sentiment.php
▶ Open 📄 View Source
🐘 Status.php
▶ Open 📄 View Source
🐘 TextSpan.php
▶ Open 📄 View Source
🐘 Token.php
▶ Open 📄 View Source
🐘 TpuMetric.php
▶ Open 📄 View Source
🐘 V1Model.php
▶ Open 📄 View Source
🐘 V2Model.php
▶ Open 📄 View Source
🐘 XPSArrayStats.php
▶ Open 📄 View Source
🐘 XPSBatchPredictResponse.php
▶ Open 📄 View Source
🐘 XPSBoundingBoxMetricsEntry.php
▶ Open 📄 View Source
🐘 XPSBoundingBoxMetricsEntryConfidenceMetricsEntry.php
▶ Open 📄 View Source
🐘 XPSCategoryStats.php
▶ Open 📄 View Source
🐘 XPSCategoryStatsSingleCategoryStats.php
▶ Open 📄 View Source
🐘 XPSClassificationEvaluationMetrics.php
▶ Open 📄 View Source
🐘 XPSColorMap.php
▶ Open 📄 View Source
🐘 XPSColorMapIntColor.php
▶ Open 📄 View Source
🐘 XPSColumnSpec.php
▶ Open 📄 View Source
🐘 XPSColumnSpecCorrelatedColumn.php
▶ Open 📄 View Source
🐘 XPSColumnSpecForecastingMetadata.php
▶ Open 📄 View Source
🐘 XPSCommonStats.php
▶ Open 📄 View Source
🐘 XPSConfidenceMetricsEntry.php
▶ Open 📄 View Source
🐘 XPSConfusionMatrix.php
▶ Open 📄 View Source
🐘 XPSConfusionMatrixRow.php
▶ Open 📄 View Source
🐘 XPSCoreMlFormat.php
▶ Open 📄 View Source
🐘 XPSCorrelationStats.php
▶ Open 📄 View Source
🐘 XPSDataErrors.php
▶ Open 📄 View Source
🐘 XPSDataStats.php
▶ Open 📄 View Source
🐘 XPSDataType.php
▶ Open 📄 View Source
🐘 XPSDockerFormat.php
▶ Open 📄 View Source
🐘 XPSEdgeTpuTfLiteFormat.php
▶ Open 📄 View Source
🐘 XPSEvaluationMetrics.php
▶ Open 📄 View Source
🐘 XPSEvaluationMetricsSet.php
▶ Open 📄 View Source
🐘 XPSExampleSet.php
▶ Open 📄 View Source
🐘 XPSExportModelOutputConfig.php
▶ Open 📄 View Source
🐘 XPSFileSpec.php
▶ Open 📄 View Source
🐘 XPSFloat64Stats.php
▶ Open 📄 View Source
🐘 XPSFloat64StatsHistogramBucket.php
▶ Open 📄 View Source
🐘 XPSImageClassificationTrainResponse.php
▶ Open 📄 View Source
🐘 XPSImageExportModelSpec.php
▶ Open 📄 View Source
🐘 XPSImageModelArtifactSpec.php
▶ Open 📄 View Source
🐘 XPSImageModelServingSpec.php
▶ Open 📄 View Source
🐘 XPSImageModelServingSpecModelThroughputEstimation.php
▶ Open 📄 View Source
🐘 XPSImageObjectDetectionEvaluationMetrics.php
▶ Open 📄 View Source
🐘 XPSImageObjectDetectionModelSpec.php
▶ Open 📄 View Source
🐘 XPSImageSegmentationEvaluationMetrics.php
▶ Open 📄 View Source
🐘 XPSImageSegmentationEvaluationMetricsConfidenceMetricsEntry.php
▶ Open 📄 View Source
🐘 XPSImageSegmentationTrainResponse.php
▶ Open 📄 View Source
🐘 XPSIntegratedGradientsAttribution.php
▶ Open 📄 View Source
🐘 XPSMetricEntry.php
▶ Open 📄 View Source
🐘 XPSMetricEntryLabel.php
▶ Open 📄 View Source
🐘 XPSModelArtifactItem.php
▶ Open 📄 View Source
🐘 XPSPreprocessResponse.php
▶ Open 📄 View Source
🐘 XPSRegressionEvaluationMetrics.php
▶ Open 📄 View Source
🐘 XPSRegressionMetricsEntry.php
▶ Open 📄 View Source
🐘 XPSReportingMetrics.php
▶ Open 📄 View Source
🐘 XPSResponseExplanationMetadata.php
▶ Open 📄 View Source
🐘 XPSResponseExplanationMetadataInputMetadata.php
▶ Open 📄 View Source
🐘 XPSResponseExplanationMetadataOutputMetadata.php
▶ Open 📄 View Source
🐘 XPSResponseExplanationParameters.php
▶ Open 📄 View Source
🐘 XPSResponseExplanationSpec.php
▶ Open 📄 View Source
🐘 XPSRow.php
▶ Open 📄 View Source
🐘 XPSSpeechEvaluationMetrics.php
▶ Open 📄 View Source
🐘 XPSSpeechEvaluationMetricsSubModelEvaluationMetric.php
▶ Open 📄 View Source
🐘 XPSSpeechModelSpec.php
▶ Open 📄 View Source
🐘 XPSSpeechModelSpecSubModelSpec.php
▶ Open 📄 View Source
🐘 XPSSpeechPreprocessResponse.php
▶ Open 📄 View Source
🐘 XPSSpeechPreprocessStats.php
▶ Open 📄 View Source
🐘 XPSStringStats.php
▶ Open 📄 View Source
🐘 XPSStringStatsUnigramStats.php
▶ Open 📄 View Source
🐘 XPSStructStats.php
▶ Open 📄 View Source
🐘 XPSStructType.php
▶ Open 📄 View Source
🐘 XPSTableSpec.php
▶ Open 📄 View Source
🐘 XPSTablesClassificationMetrics.php
▶ Open 📄 View Source
🐘 XPSTablesClassificationMetricsCurveMetrics.php
▶ Open 📄 View Source
🐘 XPSTablesConfidenceMetricsEntry.php
▶ Open 📄 View Source
🐘 XPSTablesDatasetMetadata.php
▶ Open 📄 View Source
🐘 XPSTablesEvaluationMetrics.php
▶ Open 📄 View Source
🐘 XPSTablesModelColumnInfo.php
▶ Open 📄 View Source
🐘 XPSTablesModelStructure.php
▶ Open 📄 View Source
🐘 XPSTablesModelStructureModelParameters.php
▶ Open 📄 View Source
🐘 XPSTablesModelStructureModelParametersParameter.php
▶ Open 📄 View Source
🐘 XPSTablesPreprocessResponse.php
▶ Open 📄 View Source
🐘 XPSTablesRegressionMetrics.php
▶ Open 📄 View Source
🐘 XPSTablesTrainResponse.php
▶ Open 📄 View Source
🐘 XPSTablesTrainingOperationMetadata.php
▶ Open 📄 View Source
🐘 XPSTextComponentModel.php
▶ Open 📄 View Source
🐘 XPSTextExtractionEvaluationMetrics.php
▶ Open 📄 View Source
🐘 XPSTextSentimentEvaluationMetrics.php
▶ Open 📄 View Source
🐘 XPSTextToSpeechTrainResponse.php
▶ Open 📄 View Source
🐘 XPSTextTrainResponse.php
▶ Open 📄 View Source
🐘 XPSTfJsFormat.php
▶ Open 📄 View Source
🐘 XPSTfLiteFormat.php
▶ Open 📄 View Source
🐘 XPSTfSavedModelFormat.php
▶ Open 📄 View Source
🐘 XPSTimestampStats.php
▶ Open 📄 View Source
🐘 XPSTimestampStatsGranularStats.php
▶ Open 📄 View Source
🐘 XPSTrackMetricsEntry.php
▶ Open 📄 View Source
🐘 XPSTrackMetricsEntryConfidenceMetricsEntry.php
▶ Open 📄 View Source
🐘 XPSTrainResponse.php
▶ Open 📄 View Source
🐘 XPSTrainingObjectivePoint.php
▶ Open 📄 View Source
🐘 XPSTranslationEvaluationMetrics.php
▶ Open 📄 View Source
🐘 XPSTranslationPreprocessResponse.php
▶ Open 📄 View Source
🐘 XPSTranslationTrainResponse.php
▶ Open 📄 View Source
🐘 XPSTuningTrial.php
▶ Open 📄 View Source
🐘 XPSVideoActionMetricsEntry.php
▶ Open 📄 View Source
🐘 XPSVideoActionMetricsEntryConfidenceMetricsEntry.php
▶ Open 📄 View Source
🐘 XPSVideoActionRecognitionEvaluationMetrics.php
▶ Open 📄 View Source
🐘 XPSVideoActionRecognitionTrainResponse.php
▶ Open 📄 View Source
🐘 XPSVideoBatchPredictOperationMetadata.php
▶ Open 📄 View Source
🐘 XPSVideoClassificationTrainResponse.php
▶ Open 📄 View Source
🐘 XPSVideoExportModelSpec.php
▶ Open 📄 View Source
🐘 XPSVideoModelArtifactSpec.php
▶ Open 📄 View Source
🐘 XPSVideoObjectTrackingEvaluationMetrics.php
▶ Open 📄 View Source
🐘 XPSVideoObjectTrackingTrainResponse.php
▶ Open 📄 View Source
🐘 XPSVideoTrainingOperationMetadata.php
▶ Open 📄 View Source
🐘 XPSVisionErrorAnalysisConfig.php
▶ Open 📄 View Source
🐘 XPSVisionTrainingOperationMetadata.php
▶ Open 📄 View Source
🐘 XPSVisualization.php
▶ Open 📄 View Source
🐘 XPSXpsOperationMetadata.php
▶ Open 📄 View Source
🐘 XPSXraiAttribution.php
▶ Open 📄 View Source

📄 Source: XPSTrainResponse.php

<?php
/*
 * Copyright 2014 Google Inc.
 *
 * Licensed under the Apache License, Version 2.0 (the "License"); you may not
 * use this file except in compliance with the License. You may obtain a copy of
 * the License at
 *
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
 * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
 * License for the specific language governing permissions and limitations under
 * the License.
 */

namespace Google\Service\CloudNaturalLanguage;

class XPSTrainResponse extends \Google\Collection
{
  protected $collection_key = 'explanationConfigs';
  /**
   * Estimated model size in bytes once deployed.
   *
   * @var string
   */
  public $deployedModelSizeBytes;
  protected $errorAnalysisConfigsType = XPSVisionErrorAnalysisConfig::class;
  protected $errorAnalysisConfigsDataType = 'array';
  protected $evaluatedExampleSetType = XPSExampleSet::class;
  protected $evaluatedExampleSetDataType = '';
  protected $evaluationMetricsSetType = XPSEvaluationMetricsSet::class;
  protected $evaluationMetricsSetDataType = '';
  protected $explanationConfigsType = XPSResponseExplanationSpec::class;
  protected $explanationConfigsDataType = 'array';
  protected $imageClassificationTrainRespType = XPSImageClassificationTrainResponse::class;
  protected $imageClassificationTrainRespDataType = '';
  protected $imageObjectDetectionTrainRespType = XPSImageObjectDetectionModelSpec::class;
  protected $imageObjectDetectionTrainRespDataType = '';
  protected $imageSegmentationTrainRespType = XPSImageSegmentationTrainResponse::class;
  protected $imageSegmentationTrainRespDataType = '';
  /**
   * Token that represents the trained model. This is considered immutable and
   * is persisted in AutoML. xPS can put their own proto in the byte string, to
   * e.g. point to the model checkpoints. The token is passed to other xPS APIs
   * to refer to the model.
   *
   * @var string
   */
  public $modelToken;
  protected $speechTrainRespType = XPSSpeechModelSpec::class;
  protected $speechTrainRespDataType = '';
  protected $tablesTrainRespType = XPSTablesTrainResponse::class;
  protected $tablesTrainRespDataType = '';
  protected $textToSpeechTrainRespType = XPSTextToSpeechTrainResponse::class;
  protected $textToSpeechTrainRespDataType = '';
  protected $textTrainRespType = XPSTextTrainResponse::class;
  protected $textTrainRespDataType = '';
  protected $translationTrainRespType = XPSTranslationTrainResponse::class;
  protected $translationTrainRespDataType = '';
  protected $videoActionRecognitionTrainRespType = XPSVideoActionRecognitionTrainResponse::class;
  protected $videoActionRecognitionTrainRespDataType = '';
  protected $videoClassificationTrainRespType = XPSVideoClassificationTrainResponse::class;
  protected $videoClassificationTrainRespDataType = '';
  protected $videoObjectTrackingTrainRespType = XPSVideoObjectTrackingTrainResponse::class;
  protected $videoObjectTrackingTrainRespDataType = '';

  /**
   * Estimated model size in bytes once deployed.
   *
   * @param string $deployedModelSizeBytes
   */
  public function setDeployedModelSizeBytes($deployedModelSizeBytes)
  {
    $this->deployedModelSizeBytes = $deployedModelSizeBytes;
  }
  /**
   * @return string
   */
  public function getDeployedModelSizeBytes()
  {
    return $this->deployedModelSizeBytes;
  }
  /**
   * Optional vision model error analysis configuration. The field is set when
   * model error analysis is enabled in the training request. The results of
   * error analysis will be binded together with evaluation results (in the
   * format of AnnotatedExample).
   *
   * @param XPSVisionErrorAnalysisConfig[] $errorAnalysisConfigs
   */
  public function setErrorAnalysisConfigs($errorAnalysisConfigs)
  {
    $this->errorAnalysisConfigs = $errorAnalysisConfigs;
  }
  /**
   * @return XPSVisionErrorAnalysisConfig[]
   */
  public function getErrorAnalysisConfigs()
  {
    return $this->errorAnalysisConfigs;
  }
  /**
   * Examples used to evaluate the model (usually the test set), with the
   * predicted annotations. The file_spec should point to recordio file(s) of
   * AnnotatedExample. For each returned example, the example_id_token and
   * annotations predicted by the model must be set. The example payload can and
   * is recommended to be omitted.
   *
   * @param XPSExampleSet $evaluatedExampleSet
   */
  public function setEvaluatedExampleSet(XPSExampleSet $evaluatedExampleSet)
  {
    $this->evaluatedExampleSet = $evaluatedExampleSet;
  }
  /**
   * @return XPSExampleSet
   */
  public function getEvaluatedExampleSet()
  {
    return $this->evaluatedExampleSet;
  }
  /**
   * The trained model evaluation metrics. This can be optionally returned.
   *
   * @param XPSEvaluationMetricsSet $evaluationMetricsSet
   */
  public function setEvaluationMetricsSet(XPSEvaluationMetricsSet $evaluationMetricsSet)
  {
    $this->evaluationMetricsSet = $evaluationMetricsSet;
  }
  /**
   * @return XPSEvaluationMetricsSet
   */
  public function getEvaluationMetricsSet()
  {
    return $this->evaluationMetricsSet;
  }
  /**
   * VisionExplanationConfig for XAI on test set. Optional for when XAI is
   * enable in training request.
   *
   * @deprecated
   * @param XPSResponseExplanationSpec[] $explanationConfigs
   */
  public function setExplanationConfigs($explanationConfigs)
  {
    $this->explanationConfigs = $explanationConfigs;
  }
  /**
   * @deprecated
   * @return XPSResponseExplanationSpec[]
   */
  public function getExplanationConfigs()
  {
    return $this->explanationConfigs;
  }
  /**
   * @param XPSImageClassificationTrainResponse $imageClassificationTrainResp
   */
  public function setImageClassificationTrainResp(XPSImageClassificationTrainResponse $imageClassificationTrainResp)
  {
    $this->imageClassificationTrainResp = $imageClassificationTrainResp;
  }
  /**
   * @return XPSImageClassificationTrainResponse
   */
  public function getImageClassificationTrainResp()
  {
    return $this->imageClassificationTrainResp;
  }
  /**
   * @param XPSImageObjectDetectionModelSpec $imageObjectDetectionTrainResp
   */
  public function setImageObjectDetectionTrainResp(XPSImageObjectDetectionModelSpec $imageObjectDetectionTrainResp)
  {
    $this->imageObjectDetectionTrainResp = $imageObjectDetectionTrainResp;
  }
  /**
   * @return XPSImageObjectDetectionModelSpec
   */
  public function getImageObjectDetectionTrainResp()
  {
    return $this->imageObjectDetectionTrainResp;
  }
  /**
   * @param XPSImageSegmentationTrainResponse $imageSegmentationTrainResp
   */
  public function setImageSegmentationTrainResp(XPSImageSegmentationTrainResponse $imageSegmentationTrainResp)
  {
    $this->imageSegmentationTrainResp = $imageSegmentationTrainResp;
  }
  /**
   * @return XPSImageSegmentationTrainResponse
   */
  public function getImageSegmentationTrainResp()
  {
    return $this->imageSegmentationTrainResp;
  }
  /**
   * Token that represents the trained model. This is considered immutable and
   * is persisted in AutoML. xPS can put their own proto in the byte string, to
   * e.g. point to the model checkpoints. The token is passed to other xPS APIs
   * to refer to the model.
   *
   * @param string $modelToken
   */
  public function setModelToken($modelToken)
  {
    $this->modelToken = $modelToken;
  }
  /**
   * @return string
   */
  public function getModelToken()
  {
    return $this->modelToken;
  }
  /**
   * @param XPSSpeechModelSpec $speechTrainResp
   */
  public function setSpeechTrainResp(XPSSpeechModelSpec $speechTrainResp)
  {
    $this->speechTrainResp = $speechTrainResp;
  }
  /**
   * @return XPSSpeechModelSpec
   */
  public function getSpeechTrainResp()
  {
    return $this->speechTrainResp;
  }
  /**
   * @param XPSTablesTrainResponse $tablesTrainResp
   */
  public function setTablesTrainResp(XPSTablesTrainResponse $tablesTrainResp)
  {
    $this->tablesTrainResp = $tablesTrainResp;
  }
  /**
   * @return XPSTablesTrainResponse
   */
  public function getTablesTrainResp()
  {
    return $this->tablesTrainResp;
  }
  /**
   * @param XPSTextToSpeechTrainResponse $textToSpeechTrainResp
   */
  public function setTextToSpeechTrainResp(XPSTextToSpeechTrainResponse $textToSpeechTrainResp)
  {
    $this->textToSpeechTrainResp = $textToSpeechTrainResp;
  }
  /**
   * @return XPSTextToSpeechTrainResponse
   */
  public function getTextToSpeechTrainResp()
  {
    return $this->textToSpeechTrainResp;
  }
  /**
   * Will only be needed for uCAIP from Beta.
   *
   * @param XPSTextTrainResponse $textTrainResp
   */
  public function setTextTrainResp(XPSTextTrainResponse $textTrainResp)
  {
    $this->textTrainResp = $textTrainResp;
  }
  /**
   * @return XPSTextTrainResponse
   */
  public function getTextTrainResp()
  {
    return $this->textTrainResp;
  }
  /**
   * @param XPSTranslationTrainResponse $translationTrainResp
   */
  public function setTranslationTrainResp(XPSTranslationTrainResponse $translationTrainResp)
  {
    $this->translationTrainResp = $translationTrainResp;
  }
  /**
   * @return XPSTranslationTrainResponse
   */
  public function getTranslationTrainResp()
  {
    return $this->translationTrainResp;
  }
  /**
   * @param XPSVideoActionRecognitionTrainResponse $videoActionRecognitionTrainResp
   */
  public function setVideoActionRecognitionTrainResp(XPSVideoActionRecognitionTrainResponse $videoActionRecognitionTrainResp)
  {
    $this->videoActionRecognitionTrainResp = $videoActionRecognitionTrainResp;
  }
  /**
   * @return XPSVideoActionRecognitionTrainResponse
   */
  public function getVideoActionRecognitionTrainResp()
  {
    return $this->videoActionRecognitionTrainResp;
  }
  /**
   * @param XPSVideoClassificationTrainResponse $videoClassificationTrainResp
   */
  public function setVideoClassificationTrainResp(XPSVideoClassificationTrainResponse $videoClassificationTrainResp)
  {
    $this->videoClassificationTrainResp = $videoClassificationTrainResp;
  }
  /**
   * @return XPSVideoClassificationTrainResponse
   */
  public function getVideoClassificationTrainResp()
  {
    return $this->videoClassificationTrainResp;
  }
  /**
   * @param XPSVideoObjectTrackingTrainResponse $videoObjectTrackingTrainResp
   */
  public function setVideoObjectTrackingTrainResp(XPSVideoObjectTrackingTrainResponse $videoObjectTrackingTrainResp)
  {
    $this->videoObjectTrackingTrainResp = $videoObjectTrackingTrainResp;
  }
  /**
   * @return XPSVideoObjectTrackingTrainResponse
   */
  public function getVideoObjectTrackingTrainResp()
  {
    return $this->videoObjectTrackingTrainResp;
  }
}

// Adding a class alias for backwards compatibility with the previous class name.
class_alias(XPSTrainResponse::class, 'Google_Service_CloudNaturalLanguage_XPSTrainResponse');
← Back