📂 File Browser

AgentAI/vendor/google/apiclient-services/src/DataprocMetastore
☀️ Light Mode
🎯 Quick Launch:

📁 Directories

📁 Resource/ 🔓 Open

📄 Files

🐘 AlterMetadataResourceLocationRequest.php
▶ Open 📄 View Source
🐘 AlterMetadataResourceLocationResponse.php
▶ Open 📄 View Source
🐘 AlterTablePropertiesRequest.php
▶ Open 📄 View Source
🐘 AuditConfig.php
▶ Open 📄 View Source
🐘 AuditLogConfig.php
▶ Open 📄 View Source
🐘 AutoscalingConfig.php
▶ Open 📄 View Source
🐘 AuxiliaryVersionConfig.php
▶ Open 📄 View Source
🐘 BackendMetastore.php
▶ Open 📄 View Source
🐘 Backup.php
▶ Open 📄 View Source
🐘 Binding.php
▶ Open 📄 View Source
🐘 CancelMigrationRequest.php
▶ Open 📄 View Source
🐘 CancelOperationRequest.php
▶ Open 📄 View Source
🐘 CdcConfig.php
▶ Open 📄 View Source
🐘 CloudSQLConnectionConfig.php
▶ Open 📄 View Source
🐘 CloudSQLMigrationConfig.php
▶ Open 📄 View Source
🐘 CompleteMigrationRequest.php
▶ Open 📄 View Source
🐘 Consumer.php
▶ Open 📄 View Source
🐘 CustomRegionMetadata.php
▶ Open 📄 View Source
🐘 DataCatalogConfig.php
▶ Open 📄 View Source
🐘 DatabaseDump.php
▶ Open 📄 View Source
🐘 DataplexConfig.php
▶ Open 📄 View Source
🐘 EncryptionConfig.php
▶ Open 📄 View Source
🐘 ErrorDetails.php
▶ Open 📄 View Source
🐘 ExportMetadataRequest.php
▶ Open 📄 View Source
🐘 Expr.php
▶ Open 📄 View Source
🐘 Federation.php
▶ Open 📄 View Source
🐘 GoogleCloudMetastoreV1AlterMetadataResourceLocationResponse.php
▶ Open 📄 View Source
🐘 GoogleCloudMetastoreV1CustomRegionMetadata.php
▶ Open 📄 View Source
🐘 GoogleCloudMetastoreV1ErrorDetails.php
▶ Open 📄 View Source
🐘 GoogleCloudMetastoreV1HiveMetastoreVersion.php
▶ Open 📄 View Source
🐘 GoogleCloudMetastoreV1LocationMetadata.php
▶ Open 📄 View Source
🐘 GoogleCloudMetastoreV1MoveTableToDatabaseResponse.php
▶ Open 📄 View Source
🐘 GoogleCloudMetastoreV1MultiRegionMetadata.php
▶ Open 📄 View Source
🐘 GoogleCloudMetastoreV1OperationMetadata.php
▶ Open 📄 View Source
🐘 GoogleCloudMetastoreV1QueryMetadataResponse.php
▶ Open 📄 View Source
🐘 GoogleCloudMetastoreV1alphaAlterMetadataResourceLocationResponse.php
▶ Open 📄 View Source
🐘 GoogleCloudMetastoreV1alphaCancelMigrationResponse.php
▶ Open 📄 View Source
🐘 GoogleCloudMetastoreV1alphaCompleteMigrationResponse.php
▶ Open 📄 View Source
🐘 GoogleCloudMetastoreV1alphaCustomRegionMetadata.php
▶ Open 📄 View Source
🐘 GoogleCloudMetastoreV1alphaErrorDetails.php
▶ Open 📄 View Source
🐘 GoogleCloudMetastoreV1alphaHiveMetastoreVersion.php
▶ Open 📄 View Source
🐘 GoogleCloudMetastoreV1alphaLocationMetadata.php
▶ Open 📄 View Source
🐘 GoogleCloudMetastoreV1alphaMoveTableToDatabaseResponse.php
▶ Open 📄 View Source
🐘 GoogleCloudMetastoreV1alphaMultiRegionMetadata.php
▶ Open 📄 View Source
🐘 GoogleCloudMetastoreV1alphaOperationMetadata.php
▶ Open 📄 View Source
🐘 GoogleCloudMetastoreV1alphaQueryMetadataResponse.php
▶ Open 📄 View Source
🐘 GoogleCloudMetastoreV1betaAlterMetadataResourceLocationResponse.php
▶ Open 📄 View Source
🐘 GoogleCloudMetastoreV1betaCancelMigrationResponse.php
▶ Open 📄 View Source
🐘 GoogleCloudMetastoreV1betaCompleteMigrationResponse.php
▶ Open 📄 View Source
🐘 GoogleCloudMetastoreV1betaCustomRegionMetadata.php
▶ Open 📄 View Source
🐘 GoogleCloudMetastoreV1betaErrorDetails.php
▶ Open 📄 View Source
🐘 GoogleCloudMetastoreV1betaHiveMetastoreVersion.php
▶ Open 📄 View Source
🐘 GoogleCloudMetastoreV1betaLocationMetadata.php
▶ Open 📄 View Source
🐘 GoogleCloudMetastoreV1betaMoveTableToDatabaseResponse.php
▶ Open 📄 View Source
🐘 GoogleCloudMetastoreV1betaMultiRegionMetadata.php
▶ Open 📄 View Source
🐘 GoogleCloudMetastoreV1betaOperationMetadata.php
▶ Open 📄 View Source
🐘 GoogleCloudMetastoreV1betaQueryMetadataResponse.php
▶ Open 📄 View Source
🐘 GoogleCloudMetastoreV2AlterMetadataResourceLocationRequest.php
▶ Open 📄 View Source
🐘 GoogleCloudMetastoreV2AlterTablePropertiesRequest.php
▶ Open 📄 View Source
🐘 GoogleCloudMetastoreV2AuxiliaryVersionConfig.php
▶ Open 📄 View Source
🐘 GoogleCloudMetastoreV2Backup.php
▶ Open 📄 View Source
🐘 GoogleCloudMetastoreV2DataCatalogConfig.php
▶ Open 📄 View Source
🐘 GoogleCloudMetastoreV2DatabaseDump.php
▶ Open 📄 View Source
🐘 GoogleCloudMetastoreV2EncryptionConfig.php
▶ Open 📄 View Source
🐘 GoogleCloudMetastoreV2Endpoint.php
▶ Open 📄 View Source
🐘 GoogleCloudMetastoreV2ExportMetadataRequest.php
▶ Open 📄 View Source
🐘 GoogleCloudMetastoreV2HiveMetastoreConfig.php
▶ Open 📄 View Source
🐘 GoogleCloudMetastoreV2ImportMetadataRequest.php
▶ Open 📄 View Source
🐘 GoogleCloudMetastoreV2LatestBackup.php
▶ Open 📄 View Source
🐘 GoogleCloudMetastoreV2ListBackupsResponse.php
▶ Open 📄 View Source
🐘 GoogleCloudMetastoreV2ListServicesResponse.php
▶ Open 📄 View Source
🐘 GoogleCloudMetastoreV2MetadataIntegration.php
▶ Open 📄 View Source
🐘 GoogleCloudMetastoreV2MoveTableToDatabaseRequest.php
▶ Open 📄 View Source
🐘 GoogleCloudMetastoreV2QueryMetadataRequest.php
▶ Open 📄 View Source
🐘 GoogleCloudMetastoreV2RestoreServiceRequest.php
▶ Open 📄 View Source
🐘 GoogleCloudMetastoreV2ScalingConfig.php
▶ Open 📄 View Source
🐘 GoogleCloudMetastoreV2ScheduledBackup.php
▶ Open 📄 View Source
🐘 GoogleCloudMetastoreV2Service.php
▶ Open 📄 View Source
🐘 GoogleLongrunningOperation.php
▶ Open 📄 View Source
🐘 GoogleRpcStatus.php
▶ Open 📄 View Source
🐘 HiveMetastoreConfig.php
▶ Open 📄 View Source
🐘 HiveMetastoreVersion.php
▶ Open 📄 View Source
🐘 KerberosConfig.php
▶ Open 📄 View Source
🐘 Lake.php
▶ Open 📄 View Source
🐘 LatestBackup.php
▶ Open 📄 View Source
🐘 LimitConfig.php
▶ Open 📄 View Source
🐘 ListBackupsResponse.php
▶ Open 📄 View Source
🐘 ListFederationsResponse.php
▶ Open 📄 View Source
🐘 ListLocationsResponse.php
▶ Open 📄 View Source
🐘 ListMetadataImportsResponse.php
▶ Open 📄 View Source
🐘 ListMigrationExecutionsResponse.php
▶ Open 📄 View Source
🐘 ListOperationsResponse.php
▶ Open 📄 View Source
🐘 ListServicesResponse.php
▶ Open 📄 View Source
🐘 Location.php
▶ Open 📄 View Source
🐘 LocationMetadata.php
▶ Open 📄 View Source
🐘 MaintenanceWindow.php
▶ Open 📄 View Source
🐘 MessageSet.php
▶ Open 📄 View Source
🐘 MetadataExport.php
▶ Open 📄 View Source
🐘 MetadataImport.php
▶ Open 📄 View Source
🐘 MetadataIntegration.php
▶ Open 📄 View Source
🐘 MetadataManagementActivity.php
▶ Open 📄 View Source
🐘 MetastoreEmpty.php
▶ Open 📄 View Source
🐘 MigrationExecution.php
▶ Open 📄 View Source
🐘 MoveTableToDatabaseRequest.php
▶ Open 📄 View Source
🐘 MoveTableToDatabaseResponse.php
▶ Open 📄 View Source
🐘 MultiRegionMetadata.php
▶ Open 📄 View Source
🐘 NetworkConfig.php
▶ Open 📄 View Source
🐘 Operation.php
▶ Open 📄 View Source
🐘 OperationMetadata.php
▶ Open 📄 View Source
🐘 Policy.php
▶ Open 📄 View Source
🐘 QueryMetadataRequest.php
▶ Open 📄 View Source
🐘 QueryMetadataResponse.php
▶ Open 📄 View Source
🐘 RemoveIamPolicyRequest.php
▶ Open 📄 View Source
🐘 RemoveIamPolicyResponse.php
▶ Open 📄 View Source
🐘 Restore.php
▶ Open 📄 View Source
🐘 RestoreServiceRequest.php
▶ Open 📄 View Source
🐘 ScalingConfig.php
▶ Open 📄 View Source
🐘 ScheduledBackup.php
▶ Open 📄 View Source
🐘 Secret.php
▶ Open 📄 View Source
🐘 Service.php
▶ Open 📄 View Source
🐘 SetIamPolicyRequest.php
▶ Open 📄 View Source
🐘 StartMigrationRequest.php
▶ Open 📄 View Source
🐘 Status.php
▶ Open 📄 View Source
🐘 StatusProto.php
▶ Open 📄 View Source
🐘 TelemetryConfig.php
▶ Open 📄 View Source
🐘 TestIamPermissionsRequest.php
▶ Open 📄 View Source
🐘 TestIamPermissionsResponse.php
▶ Open 📄 View Source

📄 Source: HiveMetastoreConfig.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\DataprocMetastore;

class HiveMetastoreConfig extends \Google\Model
{
  /**
   * The protocol is not set.
   */
  public const ENDPOINT_PROTOCOL_ENDPOINT_PROTOCOL_UNSPECIFIED = 'ENDPOINT_PROTOCOL_UNSPECIFIED';
  /**
   * Use the legacy Apache Thrift protocol for the metastore service endpoint.
   */
  public const ENDPOINT_PROTOCOL_THRIFT = 'THRIFT';
  /**
   * Use the modernized gRPC protocol for the metastore service endpoint.
   */
  public const ENDPOINT_PROTOCOL_GRPC = 'GRPC';
  protected $auxiliaryVersionsType = AuxiliaryVersionConfig::class;
  protected $auxiliaryVersionsDataType = 'map';
  /**
   * Optional. A mapping of Hive metastore configuration key-value pairs to
   * apply to the Hive metastore (configured in hive-site.xml). The mappings
   * override system defaults (some keys cannot be overridden). These overrides
   * are also applied to auxiliary versions and can be further customized in the
   * auxiliary version's AuxiliaryVersionConfig.
   *
   * @var string[]
   */
  public $configOverrides;
  /**
   * Optional. The protocol to use for the metastore service endpoint. If
   * unspecified, defaults to THRIFT.
   *
   * @var string
   */
  public $endpointProtocol;
  protected $kerberosConfigType = KerberosConfig::class;
  protected $kerberosConfigDataType = '';
  /**
   * Immutable. The Hive metastore schema version.
   *
   * @var string
   */
  public $version;

  /**
   * Optional. A mapping of Hive metastore version to the auxiliary version
   * configuration. When specified, a secondary Hive metastore service is
   * created along with the primary service. All auxiliary versions must be less
   * than the service's primary version. The key is the auxiliary service name
   * and it must match the regular expression a-z?. This means that the first
   * character must be a lowercase letter, and all the following characters must
   * be hyphens, lowercase letters, or digits, except the last character, which
   * cannot be a hyphen.
   *
   * @param AuxiliaryVersionConfig[] $auxiliaryVersions
   */
  public function setAuxiliaryVersions($auxiliaryVersions)
  {
    $this->auxiliaryVersions = $auxiliaryVersions;
  }
  /**
   * @return AuxiliaryVersionConfig[]
   */
  public function getAuxiliaryVersions()
  {
    return $this->auxiliaryVersions;
  }
  /**
   * Optional. A mapping of Hive metastore configuration key-value pairs to
   * apply to the Hive metastore (configured in hive-site.xml). The mappings
   * override system defaults (some keys cannot be overridden). These overrides
   * are also applied to auxiliary versions and can be further customized in the
   * auxiliary version's AuxiliaryVersionConfig.
   *
   * @param string[] $configOverrides
   */
  public function setConfigOverrides($configOverrides)
  {
    $this->configOverrides = $configOverrides;
  }
  /**
   * @return string[]
   */
  public function getConfigOverrides()
  {
    return $this->configOverrides;
  }
  /**
   * Optional. The protocol to use for the metastore service endpoint. If
   * unspecified, defaults to THRIFT.
   *
   * Accepted values: ENDPOINT_PROTOCOL_UNSPECIFIED, THRIFT, GRPC
   *
   * @param self::ENDPOINT_PROTOCOL_* $endpointProtocol
   */
  public function setEndpointProtocol($endpointProtocol)
  {
    $this->endpointProtocol = $endpointProtocol;
  }
  /**
   * @return self::ENDPOINT_PROTOCOL_*
   */
  public function getEndpointProtocol()
  {
    return $this->endpointProtocol;
  }
  /**
   * Optional. Information used to configure the Hive metastore service as a
   * service principal in a Kerberos realm. To disable Kerberos, use the
   * UpdateService method and specify this field's path
   * (hive_metastore_config.kerberos_config) in the request's update_mask while
   * omitting this field from the request's service.
   *
   * @param KerberosConfig $kerberosConfig
   */
  public function setKerberosConfig(KerberosConfig $kerberosConfig)
  {
    $this->kerberosConfig = $kerberosConfig;
  }
  /**
   * @return KerberosConfig
   */
  public function getKerberosConfig()
  {
    return $this->kerberosConfig;
  }
  /**
   * Immutable. The Hive metastore schema version.
   *
   * @param string $version
   */
  public function setVersion($version)
  {
    $this->version = $version;
  }
  /**
   * @return string
   */
  public function getVersion()
  {
    return $this->version;
  }
}

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