Documentation ¶
Overview ¶
Package metastoredata provides Dataproc Metastore type definitions for CloudEvent data payloads.
Supported CloudEvent Types ¶
- google.cloud.metastore.federation.v1.created
- google.cloud.metastore.federation.v1.updated
- google.cloud.metastore.federation.v1.deleted
- google.cloud.metastore.service.v1.created
- google.cloud.metastore.service.v1.updated
- google.cloud.metastore.service.v1.deleted
- google.cloud.metastore.metadataImport.v1.created
- google.cloud.metastore.metadataImport.v1.updated
- google.cloud.metastore.backup.v1.created
- google.cloud.metastore.backup.v1.deleted
Index ¶
- Variables
- type AuxiliaryVersionConfig
- func (*AuxiliaryVersionConfig) Descriptor() ([]byte, []int)deprecated
- func (x *AuxiliaryVersionConfig) GetConfigOverrides() map[string]string
- func (x *AuxiliaryVersionConfig) GetNetworkConfig() *NetworkConfig
- func (x *AuxiliaryVersionConfig) GetVersion() string
- func (*AuxiliaryVersionConfig) ProtoMessage()
- func (x *AuxiliaryVersionConfig) ProtoReflect() protoreflect.Message
- func (x *AuxiliaryVersionConfig) Reset()
- func (x *AuxiliaryVersionConfig) String() string
- type BackendMetastore
- func (*BackendMetastore) Descriptor() ([]byte, []int)deprecated
- func (x *BackendMetastore) GetMetastoreType() BackendMetastore_MetastoreType
- func (x *BackendMetastore) GetName() string
- func (*BackendMetastore) ProtoMessage()
- func (x *BackendMetastore) ProtoReflect() protoreflect.Message
- func (x *BackendMetastore) Reset()
- func (x *BackendMetastore) String() string
- type BackendMetastore_MetastoreType
- func (BackendMetastore_MetastoreType) Descriptor() protoreflect.EnumDescriptor
- func (x BackendMetastore_MetastoreType) Enum() *BackendMetastore_MetastoreType
- func (BackendMetastore_MetastoreType) EnumDescriptor() ([]byte, []int)deprecated
- func (x BackendMetastore_MetastoreType) Number() protoreflect.EnumNumber
- func (x BackendMetastore_MetastoreType) String() string
- func (BackendMetastore_MetastoreType) Type() protoreflect.EnumType
- type Backup
- func (*Backup) Descriptor() ([]byte, []int)deprecated
- func (x *Backup) GetCreateTime() *timestamppb.Timestamp
- func (x *Backup) GetDescription() string
- func (x *Backup) GetEndTime() *timestamppb.Timestamp
- func (x *Backup) GetName() string
- func (x *Backup) GetRestoringServices() []string
- func (x *Backup) GetServiceRevision() *Service
- func (x *Backup) GetState() Backup_State
- func (*Backup) ProtoMessage()
- func (x *Backup) ProtoReflect() protoreflect.Message
- func (x *Backup) Reset()
- func (x *Backup) String() string
- type BackupEventData
- type Backup_State
- func (Backup_State) Descriptor() protoreflect.EnumDescriptor
- func (x Backup_State) Enum() *Backup_State
- func (Backup_State) EnumDescriptor() ([]byte, []int)deprecated
- func (x Backup_State) Number() protoreflect.EnumNumber
- func (x Backup_State) String() string
- func (Backup_State) Type() protoreflect.EnumType
- type DatabaseDumpSpec
- type DatabaseDumpSpec_Type
- func (DatabaseDumpSpec_Type) Descriptor() protoreflect.EnumDescriptor
- func (x DatabaseDumpSpec_Type) Enum() *DatabaseDumpSpec_Type
- func (DatabaseDumpSpec_Type) EnumDescriptor() ([]byte, []int)deprecated
- func (x DatabaseDumpSpec_Type) Number() protoreflect.EnumNumber
- func (x DatabaseDumpSpec_Type) String() string
- func (DatabaseDumpSpec_Type) Type() protoreflect.EnumType
- type EncryptionConfig
- type Federation
- func (*Federation) Descriptor() ([]byte, []int)deprecated
- func (x *Federation) GetBackendMetastores() map[int32]*BackendMetastore
- func (x *Federation) GetCreateTime() *timestamppb.Timestamp
- func (x *Federation) GetEndpointUri() string
- func (x *Federation) GetLabels() map[string]string
- func (x *Federation) GetName() string
- func (x *Federation) GetState() Federation_State
- func (x *Federation) GetStateMessage() string
- func (x *Federation) GetUid() string
- func (x *Federation) GetUpdateTime() *timestamppb.Timestamp
- func (x *Federation) GetVersion() string
- func (*Federation) ProtoMessage()
- func (x *Federation) ProtoReflect() protoreflect.Message
- func (x *Federation) Reset()
- func (x *Federation) String() string
- type FederationEventData
- func (*FederationEventData) Descriptor() ([]byte, []int)deprecated
- func (x *FederationEventData) GetPayload() *Federation
- func (*FederationEventData) ProtoMessage()
- func (x *FederationEventData) ProtoReflect() protoreflect.Message
- func (x *FederationEventData) Reset()
- func (x *FederationEventData) String() string
- type Federation_State
- func (Federation_State) Descriptor() protoreflect.EnumDescriptor
- func (x Federation_State) Enum() *Federation_State
- func (Federation_State) EnumDescriptor() ([]byte, []int)deprecated
- func (x Federation_State) Number() protoreflect.EnumNumber
- func (x Federation_State) String() string
- func (Federation_State) Type() protoreflect.EnumType
- type HiveMetastoreConfig
- func (*HiveMetastoreConfig) Descriptor() ([]byte, []int)deprecated
- func (x *HiveMetastoreConfig) GetAuxiliaryVersions() map[string]*AuxiliaryVersionConfig
- func (x *HiveMetastoreConfig) GetConfigOverrides() map[string]string
- func (x *HiveMetastoreConfig) GetKerberosConfig() *KerberosConfig
- func (x *HiveMetastoreConfig) GetVersion() string
- func (*HiveMetastoreConfig) ProtoMessage()
- func (x *HiveMetastoreConfig) ProtoReflect() protoreflect.Message
- func (x *HiveMetastoreConfig) Reset()
- func (x *HiveMetastoreConfig) String() string
- type KerberosConfig
- func (*KerberosConfig) Descriptor() ([]byte, []int)deprecated
- func (x *KerberosConfig) GetKeytab() *Secret
- func (x *KerberosConfig) GetKrb5ConfigGcsUri() string
- func (x *KerberosConfig) GetPrincipal() string
- func (*KerberosConfig) ProtoMessage()
- func (x *KerberosConfig) ProtoReflect() protoreflect.Message
- func (x *KerberosConfig) Reset()
- func (x *KerberosConfig) String() string
- type MaintenanceWindow
- func (*MaintenanceWindow) Descriptor() ([]byte, []int)deprecated
- func (x *MaintenanceWindow) GetDayOfWeek() dayofweek.DayOfWeek
- func (x *MaintenanceWindow) GetHourOfDay() *wrapperspb.Int32Value
- func (*MaintenanceWindow) ProtoMessage()
- func (x *MaintenanceWindow) ProtoReflect() protoreflect.Message
- func (x *MaintenanceWindow) Reset()
- func (x *MaintenanceWindow) String() string
- type MetadataExport
- func (*MetadataExport) Descriptor() ([]byte, []int)deprecated
- func (x *MetadataExport) GetDatabaseDumpType() DatabaseDumpSpec_Type
- func (m *MetadataExport) GetDestination() isMetadataExport_Destination
- func (x *MetadataExport) GetDestinationGcsUri() string
- func (x *MetadataExport) GetEndTime() *timestamppb.Timestamp
- func (x *MetadataExport) GetStartTime() *timestamppb.Timestamp
- func (x *MetadataExport) GetState() MetadataExport_State
- func (*MetadataExport) ProtoMessage()
- func (x *MetadataExport) ProtoReflect() protoreflect.Message
- func (x *MetadataExport) Reset()
- func (x *MetadataExport) String() string
- type MetadataExport_DestinationGcsUri
- type MetadataExport_State
- func (MetadataExport_State) Descriptor() protoreflect.EnumDescriptor
- func (x MetadataExport_State) Enum() *MetadataExport_State
- func (MetadataExport_State) EnumDescriptor() ([]byte, []int)deprecated
- func (x MetadataExport_State) Number() protoreflect.EnumNumber
- func (x MetadataExport_State) String() string
- func (MetadataExport_State) Type() protoreflect.EnumType
- type MetadataImport
- func (*MetadataImport) Descriptor() ([]byte, []int)deprecated
- func (x *MetadataImport) GetCreateTime() *timestamppb.Timestamp
- func (x *MetadataImport) GetDatabaseDump() *MetadataImport_DatabaseDump
- func (x *MetadataImport) GetDescription() string
- func (x *MetadataImport) GetEndTime() *timestamppb.Timestamp
- func (m *MetadataImport) GetMetadata() isMetadataImport_Metadata
- func (x *MetadataImport) GetName() string
- func (x *MetadataImport) GetState() MetadataImport_State
- func (x *MetadataImport) GetUpdateTime() *timestamppb.Timestamp
- func (*MetadataImport) ProtoMessage()
- func (x *MetadataImport) ProtoReflect() protoreflect.Message
- func (x *MetadataImport) Reset()
- func (x *MetadataImport) String() string
- type MetadataImportEventData
- func (*MetadataImportEventData) Descriptor() ([]byte, []int)deprecated
- func (x *MetadataImportEventData) GetPayload() *MetadataImport
- func (*MetadataImportEventData) ProtoMessage()
- func (x *MetadataImportEventData) ProtoReflect() protoreflect.Message
- func (x *MetadataImportEventData) Reset()
- func (x *MetadataImportEventData) String() string
- type MetadataImport_DatabaseDump
- func (*MetadataImport_DatabaseDump) Descriptor() ([]byte, []int)deprecated
- func (x *MetadataImport_DatabaseDump) GetDatabaseType() MetadataImport_DatabaseDump_DatabaseType
- func (x *MetadataImport_DatabaseDump) GetGcsUri() string
- func (x *MetadataImport_DatabaseDump) GetSourceDatabase() string
- func (x *MetadataImport_DatabaseDump) GetType() DatabaseDumpSpec_Type
- func (*MetadataImport_DatabaseDump) ProtoMessage()
- func (x *MetadataImport_DatabaseDump) ProtoReflect() protoreflect.Message
- func (x *MetadataImport_DatabaseDump) Reset()
- func (x *MetadataImport_DatabaseDump) String() string
- type MetadataImport_DatabaseDump_
- type MetadataImport_DatabaseDump_DatabaseType
- func (MetadataImport_DatabaseDump_DatabaseType) Descriptor() protoreflect.EnumDescriptor
- func (x MetadataImport_DatabaseDump_DatabaseType) Enum() *MetadataImport_DatabaseDump_DatabaseType
- func (MetadataImport_DatabaseDump_DatabaseType) EnumDescriptor() ([]byte, []int)deprecated
- func (x MetadataImport_DatabaseDump_DatabaseType) Number() protoreflect.EnumNumber
- func (x MetadataImport_DatabaseDump_DatabaseType) String() string
- func (MetadataImport_DatabaseDump_DatabaseType) Type() protoreflect.EnumType
- type MetadataImport_State
- func (MetadataImport_State) Descriptor() protoreflect.EnumDescriptor
- func (x MetadataImport_State) Enum() *MetadataImport_State
- func (MetadataImport_State) EnumDescriptor() ([]byte, []int)deprecated
- func (x MetadataImport_State) Number() protoreflect.EnumNumber
- func (x MetadataImport_State) String() string
- func (MetadataImport_State) Type() protoreflect.EnumType
- type MetadataManagementActivity
- func (*MetadataManagementActivity) Descriptor() ([]byte, []int)deprecated
- func (x *MetadataManagementActivity) GetMetadataExports() []*MetadataExport
- func (x *MetadataManagementActivity) GetRestores() []*Restore
- func (*MetadataManagementActivity) ProtoMessage()
- func (x *MetadataManagementActivity) ProtoReflect() protoreflect.Message
- func (x *MetadataManagementActivity) Reset()
- func (x *MetadataManagementActivity) String() string
- type NetworkConfig
- type NetworkConfig_Consumer
- func (*NetworkConfig_Consumer) Descriptor() ([]byte, []int)deprecated
- func (x *NetworkConfig_Consumer) GetEndpointUri() string
- func (x *NetworkConfig_Consumer) GetSubnetwork() string
- func (m *NetworkConfig_Consumer) GetVpcResource() isNetworkConfig_Consumer_VpcResource
- func (*NetworkConfig_Consumer) ProtoMessage()
- func (x *NetworkConfig_Consumer) ProtoReflect() protoreflect.Message
- func (x *NetworkConfig_Consumer) Reset()
- func (x *NetworkConfig_Consumer) String() string
- type NetworkConfig_Consumer_Subnetwork
- type Restore
- func (*Restore) Descriptor() ([]byte, []int)deprecated
- func (x *Restore) GetBackup() string
- func (x *Restore) GetDetails() string
- func (x *Restore) GetEndTime() *timestamppb.Timestamp
- func (x *Restore) GetStartTime() *timestamppb.Timestamp
- func (x *Restore) GetState() Restore_State
- func (x *Restore) GetType() Restore_RestoreType
- func (*Restore) ProtoMessage()
- func (x *Restore) ProtoReflect() protoreflect.Message
- func (x *Restore) Reset()
- func (x *Restore) String() string
- type Restore_RestoreType
- func (Restore_RestoreType) Descriptor() protoreflect.EnumDescriptor
- func (x Restore_RestoreType) Enum() *Restore_RestoreType
- func (Restore_RestoreType) EnumDescriptor() ([]byte, []int)deprecated
- func (x Restore_RestoreType) Number() protoreflect.EnumNumber
- func (x Restore_RestoreType) String() string
- func (Restore_RestoreType) Type() protoreflect.EnumType
- type Restore_State
- func (Restore_State) Descriptor() protoreflect.EnumDescriptor
- func (x Restore_State) Enum() *Restore_State
- func (Restore_State) EnumDescriptor() ([]byte, []int)deprecated
- func (x Restore_State) Number() protoreflect.EnumNumber
- func (x Restore_State) String() string
- func (Restore_State) Type() protoreflect.EnumType
- type ScalingConfig
- func (*ScalingConfig) Descriptor() ([]byte, []int)deprecated
- func (x *ScalingConfig) GetInstanceSize() ScalingConfig_InstanceSize
- func (x *ScalingConfig) GetScalingFactor() float32
- func (m *ScalingConfig) GetScalingModel() isScalingConfig_ScalingModel
- func (*ScalingConfig) ProtoMessage()
- func (x *ScalingConfig) ProtoReflect() protoreflect.Message
- func (x *ScalingConfig) Reset()
- func (x *ScalingConfig) String() string
- type ScalingConfig_InstanceSize
- func (ScalingConfig_InstanceSize) Descriptor() protoreflect.EnumDescriptor
- func (x ScalingConfig_InstanceSize) Enum() *ScalingConfig_InstanceSize
- func (ScalingConfig_InstanceSize) EnumDescriptor() ([]byte, []int)deprecated
- func (x ScalingConfig_InstanceSize) Number() protoreflect.EnumNumber
- func (x ScalingConfig_InstanceSize) String() string
- func (ScalingConfig_InstanceSize) Type() protoreflect.EnumType
- type ScalingConfig_InstanceSize_
- type ScalingConfig_ScalingFactor
- type Secret
- type Secret_CloudSecret
- type Service
- func (*Service) Descriptor() ([]byte, []int)deprecated
- func (x *Service) GetArtifactGcsUri() string
- func (x *Service) GetCreateTime() *timestamppb.Timestamp
- func (x *Service) GetDatabaseType() Service_DatabaseType
- func (x *Service) GetEncryptionConfig() *EncryptionConfig
- func (x *Service) GetEndpointUri() string
- func (x *Service) GetHiveMetastoreConfig() *HiveMetastoreConfig
- func (x *Service) GetLabels() map[string]string
- func (x *Service) GetMaintenanceWindow() *MaintenanceWindow
- func (x *Service) GetMetadataManagementActivity() *MetadataManagementActivity
- func (m *Service) GetMetastoreConfig() isService_MetastoreConfig
- func (x *Service) GetName() string
- func (x *Service) GetNetwork() string
- func (x *Service) GetNetworkConfig() *NetworkConfig
- func (x *Service) GetPort() int32
- func (x *Service) GetReleaseChannel() Service_ReleaseChannel
- func (x *Service) GetScalingConfig() *ScalingConfig
- func (x *Service) GetState() Service_State
- func (x *Service) GetStateMessage() string
- func (x *Service) GetTelemetryConfig() *TelemetryConfig
- func (x *Service) GetTier() Service_Tier
- func (x *Service) GetUid() string
- func (x *Service) GetUpdateTime() *timestamppb.Timestamp
- func (*Service) ProtoMessage()
- func (x *Service) ProtoReflect() protoreflect.Message
- func (x *Service) Reset()
- func (x *Service) String() string
- type ServiceEventData
- type Service_DatabaseType
- func (Service_DatabaseType) Descriptor() protoreflect.EnumDescriptor
- func (x Service_DatabaseType) Enum() *Service_DatabaseType
- func (Service_DatabaseType) EnumDescriptor() ([]byte, []int)deprecated
- func (x Service_DatabaseType) Number() protoreflect.EnumNumber
- func (x Service_DatabaseType) String() string
- func (Service_DatabaseType) Type() protoreflect.EnumType
- type Service_HiveMetastoreConfig
- type Service_ReleaseChannel
- func (Service_ReleaseChannel) Descriptor() protoreflect.EnumDescriptor
- func (x Service_ReleaseChannel) Enum() *Service_ReleaseChannel
- func (Service_ReleaseChannel) EnumDescriptor() ([]byte, []int)deprecated
- func (x Service_ReleaseChannel) Number() protoreflect.EnumNumber
- func (x Service_ReleaseChannel) String() string
- func (Service_ReleaseChannel) Type() protoreflect.EnumType
- type Service_State
- func (Service_State) Descriptor() protoreflect.EnumDescriptor
- func (x Service_State) Enum() *Service_State
- func (Service_State) EnumDescriptor() ([]byte, []int)deprecated
- func (x Service_State) Number() protoreflect.EnumNumber
- func (x Service_State) String() string
- func (Service_State) Type() protoreflect.EnumType
- type Service_Tier
- func (Service_Tier) Descriptor() protoreflect.EnumDescriptor
- func (x Service_Tier) Enum() *Service_Tier
- func (Service_Tier) EnumDescriptor() ([]byte, []int)deprecated
- func (x Service_Tier) Number() protoreflect.EnumNumber
- func (x Service_Tier) String() string
- func (Service_Tier) Type() protoreflect.EnumType
- type TelemetryConfig
- func (*TelemetryConfig) Descriptor() ([]byte, []int)deprecated
- func (x *TelemetryConfig) GetLogFormat() TelemetryConfig_LogFormat
- func (*TelemetryConfig) ProtoMessage()
- func (x *TelemetryConfig) ProtoReflect() protoreflect.Message
- func (x *TelemetryConfig) Reset()
- func (x *TelemetryConfig) String() string
- type TelemetryConfig_LogFormat
- func (TelemetryConfig_LogFormat) Descriptor() protoreflect.EnumDescriptor
- func (x TelemetryConfig_LogFormat) Enum() *TelemetryConfig_LogFormat
- func (TelemetryConfig_LogFormat) EnumDescriptor() ([]byte, []int)deprecated
- func (x TelemetryConfig_LogFormat) Number() protoreflect.EnumNumber
- func (x TelemetryConfig_LogFormat) String() string
- func (TelemetryConfig_LogFormat) Type() protoreflect.EnumType
Constants ¶
This section is empty.
Variables ¶
var ( Federation_State_name = map[int32]string{ 0: "STATE_UNSPECIFIED", 1: "CREATING", 2: "ACTIVE", 3: "UPDATING", 4: "DELETING", 5: "ERROR", } Federation_State_value = map[string]int32{ "STATE_UNSPECIFIED": 0, "CREATING": 1, "ACTIVE": 2, "UPDATING": 3, "DELETING": 4, "ERROR": 5, } )
Enum value maps for Federation_State.
var ( BackendMetastore_MetastoreType_name = map[int32]string{ 0: "METASTORE_TYPE_UNSPECIFIED", 3: "DATAPROC_METASTORE", } BackendMetastore_MetastoreType_value = map[string]int32{ "METASTORE_TYPE_UNSPECIFIED": 0, "DATAPROC_METASTORE": 3, } )
Enum value maps for BackendMetastore_MetastoreType.
var ( Service_State_name = map[int32]string{ 0: "STATE_UNSPECIFIED", 1: "CREATING", 2: "ACTIVE", 3: "SUSPENDING", 4: "SUSPENDED", 5: "UPDATING", 6: "DELETING", 7: "ERROR", } Service_State_value = map[string]int32{ "STATE_UNSPECIFIED": 0, "CREATING": 1, "ACTIVE": 2, "SUSPENDING": 3, "SUSPENDED": 4, "UPDATING": 5, "DELETING": 6, "ERROR": 7, } )
Enum value maps for Service_State.
var ( Service_Tier_name = map[int32]string{ 0: "TIER_UNSPECIFIED", 1: "DEVELOPER", 3: "ENTERPRISE", } Service_Tier_value = map[string]int32{ "TIER_UNSPECIFIED": 0, "DEVELOPER": 1, "ENTERPRISE": 3, } )
Enum value maps for Service_Tier.
var ( Service_ReleaseChannel_name = map[int32]string{ 0: "RELEASE_CHANNEL_UNSPECIFIED", 1: "CANARY", 2: "STABLE", } Service_ReleaseChannel_value = map[string]int32{ "RELEASE_CHANNEL_UNSPECIFIED": 0, "CANARY": 1, "STABLE": 2, } )
Enum value maps for Service_ReleaseChannel.
var ( Service_DatabaseType_name = map[int32]string{ 0: "DATABASE_TYPE_UNSPECIFIED", 1: "MYSQL", 2: "SPANNER", } Service_DatabaseType_value = map[string]int32{ "DATABASE_TYPE_UNSPECIFIED": 0, "MYSQL": 1, "SPANNER": 2, } )
Enum value maps for Service_DatabaseType.
var ( TelemetryConfig_LogFormat_name = map[int32]string{ 0: "LOG_FORMAT_UNSPECIFIED", 1: "LEGACY", 2: "JSON", } TelemetryConfig_LogFormat_value = map[string]int32{ "LOG_FORMAT_UNSPECIFIED": 0, "LEGACY": 1, "JSON": 2, } )
Enum value maps for TelemetryConfig_LogFormat.
var ( MetadataImport_State_name = map[int32]string{ 0: "STATE_UNSPECIFIED", 1: "RUNNING", 2: "SUCCEEDED", 3: "UPDATING", 4: "FAILED", } MetadataImport_State_value = map[string]int32{ "STATE_UNSPECIFIED": 0, "RUNNING": 1, "SUCCEEDED": 2, "UPDATING": 3, "FAILED": 4, } )
Enum value maps for MetadataImport_State.
var ( MetadataImport_DatabaseDump_DatabaseType_name = map[int32]string{ 0: "DATABASE_TYPE_UNSPECIFIED", 1: "MYSQL", } MetadataImport_DatabaseDump_DatabaseType_value = map[string]int32{ "DATABASE_TYPE_UNSPECIFIED": 0, "MYSQL": 1, } )
Enum value maps for MetadataImport_DatabaseDump_DatabaseType.
var ( MetadataExport_State_name = map[int32]string{ 0: "STATE_UNSPECIFIED", 1: "RUNNING", 2: "SUCCEEDED", 3: "FAILED", 4: "CANCELLED", } MetadataExport_State_value = map[string]int32{ "STATE_UNSPECIFIED": 0, "RUNNING": 1, "SUCCEEDED": 2, "FAILED": 3, "CANCELLED": 4, } )
Enum value maps for MetadataExport_State.
var ( Backup_State_name = map[int32]string{ 0: "STATE_UNSPECIFIED", 1: "CREATING", 2: "DELETING", 3: "ACTIVE", 4: "FAILED", 5: "RESTORING", } Backup_State_value = map[string]int32{ "STATE_UNSPECIFIED": 0, "CREATING": 1, "DELETING": 2, "ACTIVE": 3, "FAILED": 4, "RESTORING": 5, } )
Enum value maps for Backup_State.
var ( Restore_State_name = map[int32]string{ 0: "STATE_UNSPECIFIED", 1: "RUNNING", 2: "SUCCEEDED", 3: "FAILED", 4: "CANCELLED", } Restore_State_value = map[string]int32{ "STATE_UNSPECIFIED": 0, "RUNNING": 1, "SUCCEEDED": 2, "FAILED": 3, "CANCELLED": 4, } )
Enum value maps for Restore_State.
var ( Restore_RestoreType_name = map[int32]string{ 0: "RESTORE_TYPE_UNSPECIFIED", 1: "FULL", 2: "METADATA_ONLY", } Restore_RestoreType_value = map[string]int32{ "RESTORE_TYPE_UNSPECIFIED": 0, "FULL": 1, "METADATA_ONLY": 2, } )
Enum value maps for Restore_RestoreType.
var ( ScalingConfig_InstanceSize_name = map[int32]string{ 0: "INSTANCE_SIZE_UNSPECIFIED", 1: "EXTRA_SMALL", 2: "SMALL", 3: "MEDIUM", 4: "LARGE", 5: "EXTRA_LARGE", } ScalingConfig_InstanceSize_value = map[string]int32{ "INSTANCE_SIZE_UNSPECIFIED": 0, "EXTRA_SMALL": 1, "SMALL": 2, "MEDIUM": 3, "LARGE": 4, "EXTRA_LARGE": 5, } )
Enum value maps for ScalingConfig_InstanceSize.
var ( DatabaseDumpSpec_Type_name = map[int32]string{ 0: "TYPE_UNSPECIFIED", 1: "MYSQL", 2: "AVRO", } DatabaseDumpSpec_Type_value = map[string]int32{ "TYPE_UNSPECIFIED": 0, "MYSQL": 1, "AVRO": 2, } )
Enum value maps for DatabaseDumpSpec_Type.
var File_cloud_metastore_v1_data_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type AuxiliaryVersionConfig ¶
type AuxiliaryVersionConfig struct { // The Hive metastore version of the auxiliary service. It must be less // than the primary Hive metastore service's version. Version string `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"` // A mapping of Hive metastore configuration key-value pairs to apply to the // auxiliary Hive metastore (configured in `hive-site.xml`) in addition to // the primary version's overrides. If keys are present in both the auxiliary // version's overrides and the primary version's overrides, the value from // the auxiliary version's overrides takes precedence. ConfigOverrides map[string]string `` /* 194-byte string literal not displayed */ // Output only. The network configuration contains the endpoint URI(s) of the // auxiliary Hive metastore service. NetworkConfig *NetworkConfig `protobuf:"bytes,3,opt,name=network_config,json=networkConfig,proto3" json:"network_config,omitempty"` // contains filtered or unexported fields }
Configuration information for the auxiliary service versions.
func (*AuxiliaryVersionConfig) Descriptor
deprecated
func (*AuxiliaryVersionConfig) Descriptor() ([]byte, []int)
Deprecated: Use AuxiliaryVersionConfig.ProtoReflect.Descriptor instead.
func (*AuxiliaryVersionConfig) GetConfigOverrides ¶
func (x *AuxiliaryVersionConfig) GetConfigOverrides() map[string]string
func (*AuxiliaryVersionConfig) GetNetworkConfig ¶
func (x *AuxiliaryVersionConfig) GetNetworkConfig() *NetworkConfig
func (*AuxiliaryVersionConfig) GetVersion ¶
func (x *AuxiliaryVersionConfig) GetVersion() string
func (*AuxiliaryVersionConfig) ProtoMessage ¶
func (*AuxiliaryVersionConfig) ProtoMessage()
func (*AuxiliaryVersionConfig) ProtoReflect ¶
func (x *AuxiliaryVersionConfig) ProtoReflect() protoreflect.Message
func (*AuxiliaryVersionConfig) Reset ¶
func (x *AuxiliaryVersionConfig) Reset()
func (*AuxiliaryVersionConfig) String ¶
func (x *AuxiliaryVersionConfig) String() string
type BackendMetastore ¶
type BackendMetastore struct { // The relative resource name of the metastore that is being federated. // The formats of the relative resource names for the currently supported // metastores are listed below: // // * BigQuery // - `projects/{project_id}` // // * Dataproc Metastore // - `projects/{project_id}/locations/{location}/services/{service_id}` Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // The type of the backend metastore. MetastoreType BackendMetastore_MetastoreType `` /* 170-byte string literal not displayed */ // contains filtered or unexported fields }
Represents a backend metastore for the federation.
func (*BackendMetastore) Descriptor
deprecated
func (*BackendMetastore) Descriptor() ([]byte, []int)
Deprecated: Use BackendMetastore.ProtoReflect.Descriptor instead.
func (*BackendMetastore) GetMetastoreType ¶
func (x *BackendMetastore) GetMetastoreType() BackendMetastore_MetastoreType
func (*BackendMetastore) GetName ¶
func (x *BackendMetastore) GetName() string
func (*BackendMetastore) ProtoMessage ¶
func (*BackendMetastore) ProtoMessage()
func (*BackendMetastore) ProtoReflect ¶
func (x *BackendMetastore) ProtoReflect() protoreflect.Message
func (*BackendMetastore) Reset ¶
func (x *BackendMetastore) Reset()
func (*BackendMetastore) String ¶
func (x *BackendMetastore) String() string
type BackendMetastore_MetastoreType ¶
type BackendMetastore_MetastoreType int32
The type of the backend metastore.
const ( // The metastore type is not set. BackendMetastore_METASTORE_TYPE_UNSPECIFIED BackendMetastore_MetastoreType = 0 // The backend metastore is Dataproc Metastore. BackendMetastore_DATAPROC_METASTORE BackendMetastore_MetastoreType = 3 )
func (BackendMetastore_MetastoreType) Descriptor ¶
func (BackendMetastore_MetastoreType) Descriptor() protoreflect.EnumDescriptor
func (BackendMetastore_MetastoreType) Enum ¶
func (x BackendMetastore_MetastoreType) Enum() *BackendMetastore_MetastoreType
func (BackendMetastore_MetastoreType) EnumDescriptor
deprecated
func (BackendMetastore_MetastoreType) EnumDescriptor() ([]byte, []int)
Deprecated: Use BackendMetastore_MetastoreType.Descriptor instead.
func (BackendMetastore_MetastoreType) Number ¶
func (x BackendMetastore_MetastoreType) Number() protoreflect.EnumNumber
func (BackendMetastore_MetastoreType) String ¶
func (x BackendMetastore_MetastoreType) String() string
func (BackendMetastore_MetastoreType) Type ¶
func (BackendMetastore_MetastoreType) Type() protoreflect.EnumType
type Backup ¶
type Backup struct { // Immutable. The relative resource name of the backup, in the following form: // // `projects/{project_number}/locations/{location_id}/services/{service_id}/backups/{backup_id}` Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Output only. The time when the backup was started. CreateTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` // Output only. The time when the backup finished creating. EndTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"` // Output only. The current state of the backup. State Backup_State `protobuf:"varint,4,opt,name=state,proto3,enum=google.events.cloud.metastore.v1.Backup_State" json:"state,omitempty"` // Output only. The revision of the service at the time of backup. ServiceRevision *Service `protobuf:"bytes,5,opt,name=service_revision,json=serviceRevision,proto3" json:"service_revision,omitempty"` // The description of the backup. Description string `protobuf:"bytes,6,opt,name=description,proto3" json:"description,omitempty"` // Output only. Services that are restoring from the backup. RestoringServices []string `protobuf:"bytes,7,rep,name=restoring_services,json=restoringServices,proto3" json:"restoring_services,omitempty"` // contains filtered or unexported fields }
The details of a backup resource.
func (*Backup) Descriptor
deprecated
func (*Backup) GetCreateTime ¶
func (x *Backup) GetCreateTime() *timestamppb.Timestamp
func (*Backup) GetDescription ¶
func (*Backup) GetEndTime ¶
func (x *Backup) GetEndTime() *timestamppb.Timestamp
func (*Backup) GetRestoringServices ¶
func (*Backup) GetServiceRevision ¶
func (*Backup) GetState ¶
func (x *Backup) GetState() Backup_State
func (*Backup) ProtoMessage ¶
func (*Backup) ProtoMessage()
func (*Backup) ProtoReflect ¶
func (x *Backup) ProtoReflect() protoreflect.Message
type BackupEventData ¶
type BackupEventData struct { // Optional. The Backup event payload. Unset for deletion events. Payload *Backup `protobuf:"bytes,1,opt,name=payload,proto3,oneof" json:"payload,omitempty"` // contains filtered or unexported fields }
The data within all Backup events.
func (*BackupEventData) Descriptor
deprecated
func (*BackupEventData) Descriptor() ([]byte, []int)
Deprecated: Use BackupEventData.ProtoReflect.Descriptor instead.
func (*BackupEventData) GetPayload ¶
func (x *BackupEventData) GetPayload() *Backup
func (*BackupEventData) ProtoMessage ¶
func (*BackupEventData) ProtoMessage()
func (*BackupEventData) ProtoReflect ¶
func (x *BackupEventData) ProtoReflect() protoreflect.Message
func (*BackupEventData) Reset ¶
func (x *BackupEventData) Reset()
func (*BackupEventData) String ¶
func (x *BackupEventData) String() string
type Backup_State ¶
type Backup_State int32
The current state of the backup.
const ( // The state of the backup is unknown. Backup_STATE_UNSPECIFIED Backup_State = 0 // The backup is being created. Backup_CREATING Backup_State = 1 // The backup is being deleted. Backup_DELETING Backup_State = 2 // The backup is active and ready to use. Backup_ACTIVE Backup_State = 3 // The backup failed. Backup_FAILED Backup_State = 4 // The backup is being restored. Backup_RESTORING Backup_State = 5 )
func (Backup_State) Descriptor ¶
func (Backup_State) Descriptor() protoreflect.EnumDescriptor
func (Backup_State) Enum ¶
func (x Backup_State) Enum() *Backup_State
func (Backup_State) EnumDescriptor
deprecated
func (Backup_State) EnumDescriptor() ([]byte, []int)
Deprecated: Use Backup_State.Descriptor instead.
func (Backup_State) Number ¶
func (x Backup_State) Number() protoreflect.EnumNumber
func (Backup_State) String ¶
func (x Backup_State) String() string
func (Backup_State) Type ¶
func (Backup_State) Type() protoreflect.EnumType
type DatabaseDumpSpec ¶
type DatabaseDumpSpec struct {
// contains filtered or unexported fields
}
The specification of database dump to import from or export to.
func (*DatabaseDumpSpec) Descriptor
deprecated
func (*DatabaseDumpSpec) Descriptor() ([]byte, []int)
Deprecated: Use DatabaseDumpSpec.ProtoReflect.Descriptor instead.
func (*DatabaseDumpSpec) ProtoMessage ¶
func (*DatabaseDumpSpec) ProtoMessage()
func (*DatabaseDumpSpec) ProtoReflect ¶
func (x *DatabaseDumpSpec) ProtoReflect() protoreflect.Message
func (*DatabaseDumpSpec) Reset ¶
func (x *DatabaseDumpSpec) Reset()
func (*DatabaseDumpSpec) String ¶
func (x *DatabaseDumpSpec) String() string
type DatabaseDumpSpec_Type ¶
type DatabaseDumpSpec_Type int32
The type of the database dump.
const ( // The type of the database dump is unknown. DatabaseDumpSpec_TYPE_UNSPECIFIED DatabaseDumpSpec_Type = 0 // Database dump is a MySQL dump file. DatabaseDumpSpec_MYSQL DatabaseDumpSpec_Type = 1 // Database dump contains Avro files. DatabaseDumpSpec_AVRO DatabaseDumpSpec_Type = 2 )
func (DatabaseDumpSpec_Type) Descriptor ¶
func (DatabaseDumpSpec_Type) Descriptor() protoreflect.EnumDescriptor
func (DatabaseDumpSpec_Type) Enum ¶
func (x DatabaseDumpSpec_Type) Enum() *DatabaseDumpSpec_Type
func (DatabaseDumpSpec_Type) EnumDescriptor
deprecated
func (DatabaseDumpSpec_Type) EnumDescriptor() ([]byte, []int)
Deprecated: Use DatabaseDumpSpec_Type.Descriptor instead.
func (DatabaseDumpSpec_Type) Number ¶
func (x DatabaseDumpSpec_Type) Number() protoreflect.EnumNumber
func (DatabaseDumpSpec_Type) String ¶
func (x DatabaseDumpSpec_Type) String() string
func (DatabaseDumpSpec_Type) Type ¶
func (DatabaseDumpSpec_Type) Type() protoreflect.EnumType
type EncryptionConfig ¶
type EncryptionConfig struct { // The fully qualified customer provided Cloud KMS key name to use for // customer data encryption, in the following form: // // `projects/{project_number}/locations/{location_id}/keyRings/{key_ring_id}/cryptoKeys/{crypto_key_id}`. KmsKey string `protobuf:"bytes,1,opt,name=kms_key,json=kmsKey,proto3" json:"kms_key,omitempty"` // contains filtered or unexported fields }
Encryption settings for the service.
func (*EncryptionConfig) Descriptor
deprecated
func (*EncryptionConfig) Descriptor() ([]byte, []int)
Deprecated: Use EncryptionConfig.ProtoReflect.Descriptor instead.
func (*EncryptionConfig) GetKmsKey ¶
func (x *EncryptionConfig) GetKmsKey() string
func (*EncryptionConfig) ProtoMessage ¶
func (*EncryptionConfig) ProtoMessage()
func (*EncryptionConfig) ProtoReflect ¶
func (x *EncryptionConfig) ProtoReflect() protoreflect.Message
func (*EncryptionConfig) Reset ¶
func (x *EncryptionConfig) Reset()
func (*EncryptionConfig) String ¶
func (x *EncryptionConfig) String() string
type Federation ¶
type Federation struct { // Immutable. The relative resource name of the federation, of the // form: // projects/{project_number}/locations/{location_id}/federations/{federation_id}`. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Output only. The time when the metastore federation was created. CreateTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` // Output only. The time when the metastore federation was last updated. UpdateTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` // User-defined labels for the metastore federation. Labels map[string]string `` /* 153-byte string literal not displayed */ // Immutable. The Apache Hive metastore version of the federation. All backend // metastore versions must be compatible with the federation version. Version string `protobuf:"bytes,5,opt,name=version,proto3" json:"version,omitempty"` // A map from `BackendMetastore` rank to `BackendMetastore`s from which the // federation service serves metadata at query time. The map key represents // the order in which `BackendMetastore`s should be evaluated to resolve // database names at query time and should be greater than or equal to zero. A // `BackendMetastore` with a lower number will be evaluated before a // `BackendMetastore` with a higher number. BackendMetastores map[int32]*BackendMetastore `` /* 201-byte string literal not displayed */ // Output only. The federation endpoint. EndpointUri string `protobuf:"bytes,7,opt,name=endpoint_uri,json=endpointUri,proto3" json:"endpoint_uri,omitempty"` // Output only. The current state of the federation. State Federation_State `protobuf:"varint,8,opt,name=state,proto3,enum=google.events.cloud.metastore.v1.Federation_State" json:"state,omitempty"` // Output only. Additional information about the current state of the // metastore federation, if available. StateMessage string `protobuf:"bytes,9,opt,name=state_message,json=stateMessage,proto3" json:"state_message,omitempty"` // Output only. The globally unique resource identifier of the metastore // federation. Uid string `protobuf:"bytes,10,opt,name=uid,proto3" json:"uid,omitempty"` // contains filtered or unexported fields }
Represents a federation of multiple backend metastores.
func (*Federation) Descriptor
deprecated
func (*Federation) Descriptor() ([]byte, []int)
Deprecated: Use Federation.ProtoReflect.Descriptor instead.
func (*Federation) GetBackendMetastores ¶
func (x *Federation) GetBackendMetastores() map[int32]*BackendMetastore
func (*Federation) GetCreateTime ¶
func (x *Federation) GetCreateTime() *timestamppb.Timestamp
func (*Federation) GetEndpointUri ¶
func (x *Federation) GetEndpointUri() string
func (*Federation) GetLabels ¶
func (x *Federation) GetLabels() map[string]string
func (*Federation) GetName ¶
func (x *Federation) GetName() string
func (*Federation) GetState ¶
func (x *Federation) GetState() Federation_State
func (*Federation) GetStateMessage ¶
func (x *Federation) GetStateMessage() string
func (*Federation) GetUid ¶
func (x *Federation) GetUid() string
func (*Federation) GetUpdateTime ¶
func (x *Federation) GetUpdateTime() *timestamppb.Timestamp
func (*Federation) GetVersion ¶
func (x *Federation) GetVersion() string
func (*Federation) ProtoMessage ¶
func (*Federation) ProtoMessage()
func (*Federation) ProtoReflect ¶
func (x *Federation) ProtoReflect() protoreflect.Message
func (*Federation) Reset ¶
func (x *Federation) Reset()
func (*Federation) String ¶
func (x *Federation) String() string
type FederationEventData ¶
type FederationEventData struct { // Optional. The Federation event payload. Unset for deletion events. Payload *Federation `protobuf:"bytes,1,opt,name=payload,proto3,oneof" json:"payload,omitempty"` // contains filtered or unexported fields }
The data within all Federation events.
func (*FederationEventData) Descriptor
deprecated
func (*FederationEventData) Descriptor() ([]byte, []int)
Deprecated: Use FederationEventData.ProtoReflect.Descriptor instead.
func (*FederationEventData) GetPayload ¶
func (x *FederationEventData) GetPayload() *Federation
func (*FederationEventData) ProtoMessage ¶
func (*FederationEventData) ProtoMessage()
func (*FederationEventData) ProtoReflect ¶
func (x *FederationEventData) ProtoReflect() protoreflect.Message
func (*FederationEventData) Reset ¶
func (x *FederationEventData) Reset()
func (*FederationEventData) String ¶
func (x *FederationEventData) String() string
type Federation_State ¶
type Federation_State int32
The current state of the federation.
const ( // The state of the metastore federation is unknown. Federation_STATE_UNSPECIFIED Federation_State = 0 // The metastore federation is in the process of being created. Federation_CREATING Federation_State = 1 // The metastore federation is running and ready to serve queries. Federation_ACTIVE Federation_State = 2 // The metastore federation is being updated. It remains usable but cannot // accept additional update requests or be deleted at this time. Federation_UPDATING Federation_State = 3 // The metastore federation is undergoing deletion. It cannot be used. Federation_DELETING Federation_State = 4 // The metastore federation has encountered an error and cannot be used. The // metastore federation should be deleted. Federation_ERROR Federation_State = 5 )
func (Federation_State) Descriptor ¶
func (Federation_State) Descriptor() protoreflect.EnumDescriptor
func (Federation_State) Enum ¶
func (x Federation_State) Enum() *Federation_State
func (Federation_State) EnumDescriptor
deprecated
func (Federation_State) EnumDescriptor() ([]byte, []int)
Deprecated: Use Federation_State.Descriptor instead.
func (Federation_State) Number ¶
func (x Federation_State) Number() protoreflect.EnumNumber
func (Federation_State) String ¶
func (x Federation_State) String() string
func (Federation_State) Type ¶
func (Federation_State) Type() protoreflect.EnumType
type HiveMetastoreConfig ¶
type HiveMetastoreConfig struct { // Immutable. The Hive metastore schema version. Version string `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"` // 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`. ConfigOverrides map[string]string `` /* 194-byte string literal not displayed */ // 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`. KerberosConfig *KerberosConfig `protobuf:"bytes,3,opt,name=kerberos_config,json=kerberosConfig,proto3" json:"kerberos_config,omitempty"` // 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]([-a-z0-9]*[a-z0-9])?. 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. AuxiliaryVersions map[string]*AuxiliaryVersionConfig `` /* 200-byte string literal not displayed */ // contains filtered or unexported fields }
Specifies configuration information specific to running Hive metastore software as the metastore service.
func (*HiveMetastoreConfig) Descriptor
deprecated
func (*HiveMetastoreConfig) Descriptor() ([]byte, []int)
Deprecated: Use HiveMetastoreConfig.ProtoReflect.Descriptor instead.
func (*HiveMetastoreConfig) GetAuxiliaryVersions ¶
func (x *HiveMetastoreConfig) GetAuxiliaryVersions() map[string]*AuxiliaryVersionConfig
func (*HiveMetastoreConfig) GetConfigOverrides ¶
func (x *HiveMetastoreConfig) GetConfigOverrides() map[string]string
func (*HiveMetastoreConfig) GetKerberosConfig ¶
func (x *HiveMetastoreConfig) GetKerberosConfig() *KerberosConfig
func (*HiveMetastoreConfig) GetVersion ¶
func (x *HiveMetastoreConfig) GetVersion() string
func (*HiveMetastoreConfig) ProtoMessage ¶
func (*HiveMetastoreConfig) ProtoMessage()
func (*HiveMetastoreConfig) ProtoReflect ¶
func (x *HiveMetastoreConfig) ProtoReflect() protoreflect.Message
func (*HiveMetastoreConfig) Reset ¶
func (x *HiveMetastoreConfig) Reset()
func (*HiveMetastoreConfig) String ¶
func (x *HiveMetastoreConfig) String() string
type KerberosConfig ¶
type KerberosConfig struct { // A Kerberos keytab file that can be used to authenticate a service principal // with a Kerberos Key Distribution Center (KDC). Keytab *Secret `protobuf:"bytes,1,opt,name=keytab,proto3" json:"keytab,omitempty"` // A Kerberos principal that exists in the both the keytab the KDC // to authenticate as. A typical principal is of the form // `primary/instance@REALM`, but there is no exact format. Principal string `protobuf:"bytes,2,opt,name=principal,proto3" json:"principal,omitempty"` // A Cloud Storage URI that specifies the path to a // krb5.conf file. It is of the form `gs://{bucket_name}/path/to/krb5.conf`, // although the file does not need to be named krb5.conf explicitly. Krb5ConfigGcsUri string `protobuf:"bytes,3,opt,name=krb5_config_gcs_uri,json=krb5ConfigGcsUri,proto3" json:"krb5_config_gcs_uri,omitempty"` // contains filtered or unexported fields }
Configuration information for a Kerberos principal.
func (*KerberosConfig) Descriptor
deprecated
func (*KerberosConfig) Descriptor() ([]byte, []int)
Deprecated: Use KerberosConfig.ProtoReflect.Descriptor instead.
func (*KerberosConfig) GetKeytab ¶
func (x *KerberosConfig) GetKeytab() *Secret
func (*KerberosConfig) GetKrb5ConfigGcsUri ¶
func (x *KerberosConfig) GetKrb5ConfigGcsUri() string
func (*KerberosConfig) GetPrincipal ¶
func (x *KerberosConfig) GetPrincipal() string
func (*KerberosConfig) ProtoMessage ¶
func (*KerberosConfig) ProtoMessage()
func (*KerberosConfig) ProtoReflect ¶
func (x *KerberosConfig) ProtoReflect() protoreflect.Message
func (*KerberosConfig) Reset ¶
func (x *KerberosConfig) Reset()
func (*KerberosConfig) String ¶
func (x *KerberosConfig) String() string
type MaintenanceWindow ¶
type MaintenanceWindow struct { // The hour of day (0-23) when the window starts. HourOfDay *wrapperspb.Int32Value `protobuf:"bytes,1,opt,name=hour_of_day,json=hourOfDay,proto3" json:"hour_of_day,omitempty"` // The day of week, when the window starts. DayOfWeek dayofweek.DayOfWeek `protobuf:"varint,2,opt,name=day_of_week,json=dayOfWeek,proto3,enum=google.type.DayOfWeek" json:"day_of_week,omitempty"` // contains filtered or unexported fields }
Maintenance window. This specifies when Dataproc Metastore may perform system maintenance operation to the service.
func (*MaintenanceWindow) Descriptor
deprecated
func (*MaintenanceWindow) Descriptor() ([]byte, []int)
Deprecated: Use MaintenanceWindow.ProtoReflect.Descriptor instead.
func (*MaintenanceWindow) GetDayOfWeek ¶
func (x *MaintenanceWindow) GetDayOfWeek() dayofweek.DayOfWeek
func (*MaintenanceWindow) GetHourOfDay ¶
func (x *MaintenanceWindow) GetHourOfDay() *wrapperspb.Int32Value
func (*MaintenanceWindow) ProtoMessage ¶
func (*MaintenanceWindow) ProtoMessage()
func (*MaintenanceWindow) ProtoReflect ¶
func (x *MaintenanceWindow) ProtoReflect() protoreflect.Message
func (*MaintenanceWindow) Reset ¶
func (x *MaintenanceWindow) Reset()
func (*MaintenanceWindow) String ¶
func (x *MaintenanceWindow) String() string
type MetadataExport ¶
type MetadataExport struct { // Types that are assignable to Destination: // // *MetadataExport_DestinationGcsUri Destination isMetadataExport_Destination `protobuf_oneof:"destination"` // Output only. The time when the export started. StartTime *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"` // Output only. The time when the export ended. EndTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"` // Output only. The current state of the export. State MetadataExport_State `protobuf:"varint,3,opt,name=state,proto3,enum=google.events.cloud.metastore.v1.MetadataExport_State" json:"state,omitempty"` // Output only. The type of the database dump. DatabaseDumpType DatabaseDumpSpec_Type `` /* 172-byte string literal not displayed */ // contains filtered or unexported fields }
The details of a metadata export operation.
func (*MetadataExport) Descriptor
deprecated
func (*MetadataExport) Descriptor() ([]byte, []int)
Deprecated: Use MetadataExport.ProtoReflect.Descriptor instead.
func (*MetadataExport) GetDatabaseDumpType ¶
func (x *MetadataExport) GetDatabaseDumpType() DatabaseDumpSpec_Type
func (*MetadataExport) GetDestination ¶
func (m *MetadataExport) GetDestination() isMetadataExport_Destination
func (*MetadataExport) GetDestinationGcsUri ¶
func (x *MetadataExport) GetDestinationGcsUri() string
func (*MetadataExport) GetEndTime ¶
func (x *MetadataExport) GetEndTime() *timestamppb.Timestamp
func (*MetadataExport) GetStartTime ¶
func (x *MetadataExport) GetStartTime() *timestamppb.Timestamp
func (*MetadataExport) GetState ¶
func (x *MetadataExport) GetState() MetadataExport_State
func (*MetadataExport) ProtoMessage ¶
func (*MetadataExport) ProtoMessage()
func (*MetadataExport) ProtoReflect ¶
func (x *MetadataExport) ProtoReflect() protoreflect.Message
func (*MetadataExport) Reset ¶
func (x *MetadataExport) Reset()
func (*MetadataExport) String ¶
func (x *MetadataExport) String() string
type MetadataExport_DestinationGcsUri ¶
type MetadataExport_DestinationGcsUri struct { // Output only. A Cloud Storage URI of a folder that metadata are exported // to, in the form of // `gs://<bucket_name>/<path_inside_bucket>/<export_folder>`, where // `<export_folder>` is automatically generated. DestinationGcsUri string `protobuf:"bytes,4,opt,name=destination_gcs_uri,json=destinationGcsUri,proto3,oneof"` }
type MetadataExport_State ¶
type MetadataExport_State int32
The current state of the metadata export.
const ( // The state of the metadata export is unknown. MetadataExport_STATE_UNSPECIFIED MetadataExport_State = 0 // The metadata export is running. MetadataExport_RUNNING MetadataExport_State = 1 // The metadata export completed successfully. MetadataExport_SUCCEEDED MetadataExport_State = 2 // The metadata export failed. MetadataExport_FAILED MetadataExport_State = 3 // The metadata export is cancelled. MetadataExport_CANCELLED MetadataExport_State = 4 )
func (MetadataExport_State) Descriptor ¶
func (MetadataExport_State) Descriptor() protoreflect.EnumDescriptor
func (MetadataExport_State) Enum ¶
func (x MetadataExport_State) Enum() *MetadataExport_State
func (MetadataExport_State) EnumDescriptor
deprecated
func (MetadataExport_State) EnumDescriptor() ([]byte, []int)
Deprecated: Use MetadataExport_State.Descriptor instead.
func (MetadataExport_State) Number ¶
func (x MetadataExport_State) Number() protoreflect.EnumNumber
func (MetadataExport_State) String ¶
func (x MetadataExport_State) String() string
func (MetadataExport_State) Type ¶
func (MetadataExport_State) Type() protoreflect.EnumType
type MetadataImport ¶
type MetadataImport struct { // The metadata to be imported. // // Types that are assignable to Metadata: // // *MetadataImport_DatabaseDump_ Metadata isMetadataImport_Metadata `protobuf_oneof:"metadata"` // Immutable. The relative resource name of the metadata import, of the form: // // `projects/{project_number}/locations/{location_id}/services/{service_id}/metadataImports/{metadata_import_id}`. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // The description of the metadata import. Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"` // Output only. The time when the metadata import was started. CreateTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` // Output only. The time when the metadata import was last updated. UpdateTime *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` // Output only. The time when the metadata import finished. EndTime *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"` // Output only. The current state of the metadata import. State MetadataImport_State `protobuf:"varint,5,opt,name=state,proto3,enum=google.events.cloud.metastore.v1.MetadataImport_State" json:"state,omitempty"` // contains filtered or unexported fields }
A metastore resource that imports metadata.
func (*MetadataImport) Descriptor
deprecated
func (*MetadataImport) Descriptor() ([]byte, []int)
Deprecated: Use MetadataImport.ProtoReflect.Descriptor instead.
func (*MetadataImport) GetCreateTime ¶
func (x *MetadataImport) GetCreateTime() *timestamppb.Timestamp
func (*MetadataImport) GetDatabaseDump ¶
func (x *MetadataImport) GetDatabaseDump() *MetadataImport_DatabaseDump
func (*MetadataImport) GetDescription ¶
func (x *MetadataImport) GetDescription() string
func (*MetadataImport) GetEndTime ¶
func (x *MetadataImport) GetEndTime() *timestamppb.Timestamp
func (*MetadataImport) GetMetadata ¶
func (m *MetadataImport) GetMetadata() isMetadataImport_Metadata
func (*MetadataImport) GetName ¶
func (x *MetadataImport) GetName() string
func (*MetadataImport) GetState ¶
func (x *MetadataImport) GetState() MetadataImport_State
func (*MetadataImport) GetUpdateTime ¶
func (x *MetadataImport) GetUpdateTime() *timestamppb.Timestamp
func (*MetadataImport) ProtoMessage ¶
func (*MetadataImport) ProtoMessage()
func (*MetadataImport) ProtoReflect ¶
func (x *MetadataImport) ProtoReflect() protoreflect.Message
func (*MetadataImport) Reset ¶
func (x *MetadataImport) Reset()
func (*MetadataImport) String ¶
func (x *MetadataImport) String() string
type MetadataImportEventData ¶
type MetadataImportEventData struct { // The MetadataImport event payload. Payload *MetadataImport `protobuf:"bytes,1,opt,name=payload,proto3" json:"payload,omitempty"` // contains filtered or unexported fields }
The data within all MetadataImport events.
func (*MetadataImportEventData) Descriptor
deprecated
func (*MetadataImportEventData) Descriptor() ([]byte, []int)
Deprecated: Use MetadataImportEventData.ProtoReflect.Descriptor instead.
func (*MetadataImportEventData) GetPayload ¶
func (x *MetadataImportEventData) GetPayload() *MetadataImport
func (*MetadataImportEventData) ProtoMessage ¶
func (*MetadataImportEventData) ProtoMessage()
func (*MetadataImportEventData) ProtoReflect ¶
func (x *MetadataImportEventData) ProtoReflect() protoreflect.Message
func (*MetadataImportEventData) Reset ¶
func (x *MetadataImportEventData) Reset()
func (*MetadataImportEventData) String ¶
func (x *MetadataImportEventData) String() string
type MetadataImport_DatabaseDump ¶
type MetadataImport_DatabaseDump struct { // The type of the database. DatabaseType MetadataImport_DatabaseDump_DatabaseType `` /* 177-byte string literal not displayed */ // A Cloud Storage object or folder URI that specifies the source from which // to import metadata. It must begin with `gs://`. GcsUri string `protobuf:"bytes,2,opt,name=gcs_uri,json=gcsUri,proto3" json:"gcs_uri,omitempty"` // The name of the source database. SourceDatabase string `protobuf:"bytes,3,opt,name=source_database,json=sourceDatabase,proto3" json:"source_database,omitempty"` // Optional. The type of the database dump. If unspecified, defaults to // `MYSQL`. Type DatabaseDumpSpec_Type `protobuf:"varint,4,opt,name=type,proto3,enum=google.events.cloud.metastore.v1.DatabaseDumpSpec_Type" json:"type,omitempty"` // contains filtered or unexported fields }
A specification of the location of and metadata about a database dump from a relational database management system.
func (*MetadataImport_DatabaseDump) Descriptor
deprecated
func (*MetadataImport_DatabaseDump) Descriptor() ([]byte, []int)
Deprecated: Use MetadataImport_DatabaseDump.ProtoReflect.Descriptor instead.
func (*MetadataImport_DatabaseDump) GetDatabaseType ¶
func (x *MetadataImport_DatabaseDump) GetDatabaseType() MetadataImport_DatabaseDump_DatabaseType
func (*MetadataImport_DatabaseDump) GetGcsUri ¶
func (x *MetadataImport_DatabaseDump) GetGcsUri() string
func (*MetadataImport_DatabaseDump) GetSourceDatabase ¶
func (x *MetadataImport_DatabaseDump) GetSourceDatabase() string
func (*MetadataImport_DatabaseDump) GetType ¶
func (x *MetadataImport_DatabaseDump) GetType() DatabaseDumpSpec_Type
func (*MetadataImport_DatabaseDump) ProtoMessage ¶
func (*MetadataImport_DatabaseDump) ProtoMessage()
func (*MetadataImport_DatabaseDump) ProtoReflect ¶
func (x *MetadataImport_DatabaseDump) ProtoReflect() protoreflect.Message
func (*MetadataImport_DatabaseDump) Reset ¶
func (x *MetadataImport_DatabaseDump) Reset()
func (*MetadataImport_DatabaseDump) String ¶
func (x *MetadataImport_DatabaseDump) String() string
type MetadataImport_DatabaseDump_ ¶
type MetadataImport_DatabaseDump_ struct { // Immutable. A database dump from a pre-existing metastore's database. DatabaseDump *MetadataImport_DatabaseDump `protobuf:"bytes,6,opt,name=database_dump,json=databaseDump,proto3,oneof"` }
type MetadataImport_DatabaseDump_DatabaseType ¶
type MetadataImport_DatabaseDump_DatabaseType int32
The type of the database.
const ( // The type of the source database is unknown. MetadataImport_DatabaseDump_DATABASE_TYPE_UNSPECIFIED MetadataImport_DatabaseDump_DatabaseType = 0 // The type of the source database is MySQL. MetadataImport_DatabaseDump_MYSQL MetadataImport_DatabaseDump_DatabaseType = 1 )
func (MetadataImport_DatabaseDump_DatabaseType) Descriptor ¶
func (MetadataImport_DatabaseDump_DatabaseType) Descriptor() protoreflect.EnumDescriptor
func (MetadataImport_DatabaseDump_DatabaseType) EnumDescriptor
deprecated
func (MetadataImport_DatabaseDump_DatabaseType) EnumDescriptor() ([]byte, []int)
Deprecated: Use MetadataImport_DatabaseDump_DatabaseType.Descriptor instead.
func (MetadataImport_DatabaseDump_DatabaseType) Number ¶
func (x MetadataImport_DatabaseDump_DatabaseType) Number() protoreflect.EnumNumber
func (MetadataImport_DatabaseDump_DatabaseType) String ¶
func (x MetadataImport_DatabaseDump_DatabaseType) String() string
func (MetadataImport_DatabaseDump_DatabaseType) Type ¶
func (MetadataImport_DatabaseDump_DatabaseType) Type() protoreflect.EnumType
type MetadataImport_State ¶
type MetadataImport_State int32
The current state of the metadata import.
const ( // The state of the metadata import is unknown. MetadataImport_STATE_UNSPECIFIED MetadataImport_State = 0 // The metadata import is running. MetadataImport_RUNNING MetadataImport_State = 1 // The metadata import completed successfully. MetadataImport_SUCCEEDED MetadataImport_State = 2 // The metadata import is being updated. MetadataImport_UPDATING MetadataImport_State = 3 // The metadata import failed, and attempted metadata changes were rolled // back. MetadataImport_FAILED MetadataImport_State = 4 )
func (MetadataImport_State) Descriptor ¶
func (MetadataImport_State) Descriptor() protoreflect.EnumDescriptor
func (MetadataImport_State) Enum ¶
func (x MetadataImport_State) Enum() *MetadataImport_State
func (MetadataImport_State) EnumDescriptor
deprecated
func (MetadataImport_State) EnumDescriptor() ([]byte, []int)
Deprecated: Use MetadataImport_State.Descriptor instead.
func (MetadataImport_State) Number ¶
func (x MetadataImport_State) Number() protoreflect.EnumNumber
func (MetadataImport_State) String ¶
func (x MetadataImport_State) String() string
func (MetadataImport_State) Type ¶
func (MetadataImport_State) Type() protoreflect.EnumType
type MetadataManagementActivity ¶
type MetadataManagementActivity struct { // Output only. The latest metadata exports of the metastore service. MetadataExports []*MetadataExport `protobuf:"bytes,1,rep,name=metadata_exports,json=metadataExports,proto3" json:"metadata_exports,omitempty"` // Output only. The latest restores of the metastore service. Restores []*Restore `protobuf:"bytes,2,rep,name=restores,proto3" json:"restores,omitempty"` // contains filtered or unexported fields }
The metadata management activities of the metastore service.
func (*MetadataManagementActivity) Descriptor
deprecated
func (*MetadataManagementActivity) Descriptor() ([]byte, []int)
Deprecated: Use MetadataManagementActivity.ProtoReflect.Descriptor instead.
func (*MetadataManagementActivity) GetMetadataExports ¶
func (x *MetadataManagementActivity) GetMetadataExports() []*MetadataExport
func (*MetadataManagementActivity) GetRestores ¶
func (x *MetadataManagementActivity) GetRestores() []*Restore
func (*MetadataManagementActivity) ProtoMessage ¶
func (*MetadataManagementActivity) ProtoMessage()
func (*MetadataManagementActivity) ProtoReflect ¶
func (x *MetadataManagementActivity) ProtoReflect() protoreflect.Message
func (*MetadataManagementActivity) Reset ¶
func (x *MetadataManagementActivity) Reset()
func (*MetadataManagementActivity) String ¶
func (x *MetadataManagementActivity) String() string
type NetworkConfig ¶
type NetworkConfig struct { // Immutable. The consumer-side network configuration for the Dataproc // Metastore instance. Consumers []*NetworkConfig_Consumer `protobuf:"bytes,1,rep,name=consumers,proto3" json:"consumers,omitempty"` // contains filtered or unexported fields }
Network configuration for the Dataproc Metastore service.
func (*NetworkConfig) Descriptor
deprecated
func (*NetworkConfig) Descriptor() ([]byte, []int)
Deprecated: Use NetworkConfig.ProtoReflect.Descriptor instead.
func (*NetworkConfig) GetConsumers ¶
func (x *NetworkConfig) GetConsumers() []*NetworkConfig_Consumer
func (*NetworkConfig) ProtoMessage ¶
func (*NetworkConfig) ProtoMessage()
func (*NetworkConfig) ProtoReflect ¶
func (x *NetworkConfig) ProtoReflect() protoreflect.Message
func (*NetworkConfig) Reset ¶
func (x *NetworkConfig) Reset()
func (*NetworkConfig) String ¶
func (x *NetworkConfig) String() string
type NetworkConfig_Consumer ¶
type NetworkConfig_Consumer struct { // Types that are assignable to VpcResource: // // *NetworkConfig_Consumer_Subnetwork VpcResource isNetworkConfig_Consumer_VpcResource `protobuf_oneof:"vpc_resource"` // Output only. The URI of the endpoint used to access the metastore // service. EndpointUri string `protobuf:"bytes,3,opt,name=endpoint_uri,json=endpointUri,proto3" json:"endpoint_uri,omitempty"` // contains filtered or unexported fields }
Contains information of the customer's network configurations.
func (*NetworkConfig_Consumer) Descriptor
deprecated
func (*NetworkConfig_Consumer) Descriptor() ([]byte, []int)
Deprecated: Use NetworkConfig_Consumer.ProtoReflect.Descriptor instead.
func (*NetworkConfig_Consumer) GetEndpointUri ¶
func (x *NetworkConfig_Consumer) GetEndpointUri() string
func (*NetworkConfig_Consumer) GetSubnetwork ¶
func (x *NetworkConfig_Consumer) GetSubnetwork() string
func (*NetworkConfig_Consumer) GetVpcResource ¶
func (m *NetworkConfig_Consumer) GetVpcResource() isNetworkConfig_Consumer_VpcResource
func (*NetworkConfig_Consumer) ProtoMessage ¶
func (*NetworkConfig_Consumer) ProtoMessage()
func (*NetworkConfig_Consumer) ProtoReflect ¶
func (x *NetworkConfig_Consumer) ProtoReflect() protoreflect.Message
func (*NetworkConfig_Consumer) Reset ¶
func (x *NetworkConfig_Consumer) Reset()
func (*NetworkConfig_Consumer) String ¶
func (x *NetworkConfig_Consumer) String() string
type NetworkConfig_Consumer_Subnetwork ¶
type NetworkConfig_Consumer_Subnetwork struct { // Immutable. The subnetwork of the customer project from which an IP // address is reserved and used as the Dataproc Metastore service's // endpoint. It is accessible to hosts in the subnet and to all // hosts in a subnet in the same region and same network. There must // be at least one IP address available in the subnet's primary range. The // subnet is specified in the following form: // // `projects/{project_number}/regions/{region_id}/subnetworks/{subnetwork_id}` Subnetwork string `protobuf:"bytes,1,opt,name=subnetwork,proto3,oneof"` }
type Restore ¶
type Restore struct { // Output only. The time when the restore started. StartTime *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"` // Output only. The time when the restore ended. EndTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"` // Output only. The current state of the restore. State Restore_State `protobuf:"varint,3,opt,name=state,proto3,enum=google.events.cloud.metastore.v1.Restore_State" json:"state,omitempty"` // Output only. The relative resource name of the metastore service backup to // restore from, in the following form: // // `projects/{project_id}/locations/{location_id}/services/{service_id}/backups/{backup_id}`. Backup string `protobuf:"bytes,4,opt,name=backup,proto3" json:"backup,omitempty"` // Output only. The type of restore. Type Restore_RestoreType `protobuf:"varint,5,opt,name=type,proto3,enum=google.events.cloud.metastore.v1.Restore_RestoreType" json:"type,omitempty"` // Output only. The restore details containing the revision of the service to // be restored to, in format of JSON. Details string `protobuf:"bytes,6,opt,name=details,proto3" json:"details,omitempty"` // contains filtered or unexported fields }
The details of a metadata restore operation.
func (*Restore) Descriptor
deprecated
func (*Restore) GetDetails ¶
func (*Restore) GetEndTime ¶
func (x *Restore) GetEndTime() *timestamppb.Timestamp
func (*Restore) GetStartTime ¶
func (x *Restore) GetStartTime() *timestamppb.Timestamp
func (*Restore) GetState ¶
func (x *Restore) GetState() Restore_State
func (*Restore) GetType ¶
func (x *Restore) GetType() Restore_RestoreType
func (*Restore) ProtoMessage ¶
func (*Restore) ProtoMessage()
func (*Restore) ProtoReflect ¶
func (x *Restore) ProtoReflect() protoreflect.Message
type Restore_RestoreType ¶
type Restore_RestoreType int32
The type of restore. If unspecified, defaults to `METADATA_ONLY`.
const ( // The restore type is unknown. Restore_RESTORE_TYPE_UNSPECIFIED Restore_RestoreType = 0 // The service's metadata and configuration are restored. Restore_FULL Restore_RestoreType = 1 // Only the service's metadata is restored. Restore_METADATA_ONLY Restore_RestoreType = 2 )
func (Restore_RestoreType) Descriptor ¶
func (Restore_RestoreType) Descriptor() protoreflect.EnumDescriptor
func (Restore_RestoreType) Enum ¶
func (x Restore_RestoreType) Enum() *Restore_RestoreType
func (Restore_RestoreType) EnumDescriptor
deprecated
func (Restore_RestoreType) EnumDescriptor() ([]byte, []int)
Deprecated: Use Restore_RestoreType.Descriptor instead.
func (Restore_RestoreType) Number ¶
func (x Restore_RestoreType) Number() protoreflect.EnumNumber
func (Restore_RestoreType) String ¶
func (x Restore_RestoreType) String() string
func (Restore_RestoreType) Type ¶
func (Restore_RestoreType) Type() protoreflect.EnumType
type Restore_State ¶
type Restore_State int32
The current state of the restore.
const ( // The state of the metadata restore is unknown. Restore_STATE_UNSPECIFIED Restore_State = 0 // The metadata restore is running. Restore_RUNNING Restore_State = 1 // The metadata restore completed successfully. Restore_SUCCEEDED Restore_State = 2 // The metadata restore failed. Restore_FAILED Restore_State = 3 // The metadata restore is cancelled. Restore_CANCELLED Restore_State = 4 )
func (Restore_State) Descriptor ¶
func (Restore_State) Descriptor() protoreflect.EnumDescriptor
func (Restore_State) Enum ¶
func (x Restore_State) Enum() *Restore_State
func (Restore_State) EnumDescriptor
deprecated
func (Restore_State) EnumDescriptor() ([]byte, []int)
Deprecated: Use Restore_State.Descriptor instead.
func (Restore_State) Number ¶
func (x Restore_State) Number() protoreflect.EnumNumber
func (Restore_State) String ¶
func (x Restore_State) String() string
func (Restore_State) Type ¶
func (Restore_State) Type() protoreflect.EnumType
type ScalingConfig ¶
type ScalingConfig struct { // Represents either a predetermined instance size or a numeric // scaling factor. // // Types that are assignable to ScalingModel: // // *ScalingConfig_InstanceSize_ // *ScalingConfig_ScalingFactor ScalingModel isScalingConfig_ScalingModel `protobuf_oneof:"scaling_model"` // contains filtered or unexported fields }
Represents the scaling configuration of a metastore service.
func (*ScalingConfig) Descriptor
deprecated
func (*ScalingConfig) Descriptor() ([]byte, []int)
Deprecated: Use ScalingConfig.ProtoReflect.Descriptor instead.
func (*ScalingConfig) GetInstanceSize ¶
func (x *ScalingConfig) GetInstanceSize() ScalingConfig_InstanceSize
func (*ScalingConfig) GetScalingFactor ¶
func (x *ScalingConfig) GetScalingFactor() float32
func (*ScalingConfig) GetScalingModel ¶
func (m *ScalingConfig) GetScalingModel() isScalingConfig_ScalingModel
func (*ScalingConfig) ProtoMessage ¶
func (*ScalingConfig) ProtoMessage()
func (*ScalingConfig) ProtoReflect ¶
func (x *ScalingConfig) ProtoReflect() protoreflect.Message
func (*ScalingConfig) Reset ¶
func (x *ScalingConfig) Reset()
func (*ScalingConfig) String ¶
func (x *ScalingConfig) String() string
type ScalingConfig_InstanceSize ¶
type ScalingConfig_InstanceSize int32
Metastore instance sizes.
const ( // Unspecified instance size ScalingConfig_INSTANCE_SIZE_UNSPECIFIED ScalingConfig_InstanceSize = 0 // Extra small instance size, maps to a scaling factor of 0.1. ScalingConfig_EXTRA_SMALL ScalingConfig_InstanceSize = 1 // Small instance size, maps to a scaling factor of 0.5. ScalingConfig_SMALL ScalingConfig_InstanceSize = 2 // Medium instance size, maps to a scaling factor of 1.0. ScalingConfig_MEDIUM ScalingConfig_InstanceSize = 3 // Large instance size, maps to a scaling factor of 3.0. ScalingConfig_LARGE ScalingConfig_InstanceSize = 4 // Extra large instance size, maps to a scaling factor of 6.0. ScalingConfig_EXTRA_LARGE ScalingConfig_InstanceSize = 5 )
func (ScalingConfig_InstanceSize) Descriptor ¶
func (ScalingConfig_InstanceSize) Descriptor() protoreflect.EnumDescriptor
func (ScalingConfig_InstanceSize) Enum ¶
func (x ScalingConfig_InstanceSize) Enum() *ScalingConfig_InstanceSize
func (ScalingConfig_InstanceSize) EnumDescriptor
deprecated
func (ScalingConfig_InstanceSize) EnumDescriptor() ([]byte, []int)
Deprecated: Use ScalingConfig_InstanceSize.Descriptor instead.
func (ScalingConfig_InstanceSize) Number ¶
func (x ScalingConfig_InstanceSize) Number() protoreflect.EnumNumber
func (ScalingConfig_InstanceSize) String ¶
func (x ScalingConfig_InstanceSize) String() string
func (ScalingConfig_InstanceSize) Type ¶
func (ScalingConfig_InstanceSize) Type() protoreflect.EnumType
type ScalingConfig_InstanceSize_ ¶
type ScalingConfig_InstanceSize_ struct { // An enum of readable instance sizes, with each instance size mapping to a // float value (e.g. InstanceSize.EXTRA_SMALL = scaling_factor(0.1)) InstanceSize ScalingConfig_InstanceSize `` /* 138-byte string literal not displayed */ }
type ScalingConfig_ScalingFactor ¶
type ScalingConfig_ScalingFactor struct { // Scaling factor, increments of 0.1 for values less than 1.0, and // increments of 1.0 for values greater than 1.0. ScalingFactor float32 `protobuf:"fixed32,2,opt,name=scaling_factor,json=scalingFactor,proto3,oneof"` }
type Secret ¶
type Secret struct { // Types that are assignable to Value: // // *Secret_CloudSecret Value isSecret_Value `protobuf_oneof:"value"` // contains filtered or unexported fields }
A securely stored value.
func (*Secret) Descriptor
deprecated
func (*Secret) GetCloudSecret ¶
func (*Secret) ProtoMessage ¶
func (*Secret) ProtoMessage()
func (*Secret) ProtoReflect ¶
func (x *Secret) ProtoReflect() protoreflect.Message
type Secret_CloudSecret ¶
type Secret_CloudSecret struct { // The relative resource name of a Secret Manager secret version, in the // following form: // // `projects/{project_number}/secrets/{secret_id}/versions/{version_id}`. CloudSecret string `protobuf:"bytes,2,opt,name=cloud_secret,json=cloudSecret,proto3,oneof"` }
type Service ¶
type Service struct { // Configuration properties specific to the underlying metastore service // technology (the software that serves metastore queries). // // Types that are assignable to MetastoreConfig: // // *Service_HiveMetastoreConfig MetastoreConfig isService_MetastoreConfig `protobuf_oneof:"metastore_config"` // Immutable. The relative resource name of the metastore service, in the // following format: // // `projects/{project_number}/locations/{location_id}/services/{service_id}`. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Output only. The time when the metastore service was created. CreateTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` // Output only. The time when the metastore service was last updated. UpdateTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` // User-defined labels for the metastore service. Labels map[string]string `` /* 153-byte string literal not displayed */ // Immutable. The relative resource name of the VPC network on which the // instance can be accessed. It is specified in the following form: // // `projects/{project_number}/global/networks/{network_id}`. Network string `protobuf:"bytes,7,opt,name=network,proto3" json:"network,omitempty"` // Output only. The URI of the endpoint used to access the metastore service. EndpointUri string `protobuf:"bytes,8,opt,name=endpoint_uri,json=endpointUri,proto3" json:"endpoint_uri,omitempty"` // The TCP port at which the metastore service is reached. Default: 9083. Port int32 `protobuf:"varint,9,opt,name=port,proto3" json:"port,omitempty"` // Output only. The current state of the metastore service. State Service_State `protobuf:"varint,10,opt,name=state,proto3,enum=google.events.cloud.metastore.v1.Service_State" json:"state,omitempty"` // Output only. Additional information about the current state of the // metastore service, if available. StateMessage string `protobuf:"bytes,11,opt,name=state_message,json=stateMessage,proto3" json:"state_message,omitempty"` // Output only. A Cloud Storage URI (starting with `gs://`) that specifies // where artifacts related to the metastore service are stored. ArtifactGcsUri string `protobuf:"bytes,12,opt,name=artifact_gcs_uri,json=artifactGcsUri,proto3" json:"artifact_gcs_uri,omitempty"` // The tier of the service. Tier Service_Tier `protobuf:"varint,13,opt,name=tier,proto3,enum=google.events.cloud.metastore.v1.Service_Tier" json:"tier,omitempty"` // The one hour maintenance window of the metastore service. This specifies // when the service can be restarted for maintenance purposes in UTC time. // Maintenance window is not needed for services with the SPANNER // database type. MaintenanceWindow *MaintenanceWindow `protobuf:"bytes,15,opt,name=maintenance_window,json=maintenanceWindow,proto3" json:"maintenance_window,omitempty"` // Output only. The globally unique resource identifier of the metastore // service. Uid string `protobuf:"bytes,16,opt,name=uid,proto3" json:"uid,omitempty"` // Output only. The metadata management activities of the metastore service. MetadataManagementActivity *MetadataManagementActivity `` /* 142-byte string literal not displayed */ // Immutable. The release channel of the service. // If unspecified, defaults to `STABLE`. ReleaseChannel Service_ReleaseChannel `` /* 166-byte string literal not displayed */ // Immutable. Information used to configure the Dataproc Metastore service to // encrypt customer data at rest. Cannot be updated. EncryptionConfig *EncryptionConfig `protobuf:"bytes,20,opt,name=encryption_config,json=encryptionConfig,proto3" json:"encryption_config,omitempty"` // The configuration specifying the network settings for the // Dataproc Metastore service. NetworkConfig *NetworkConfig `protobuf:"bytes,21,opt,name=network_config,json=networkConfig,proto3" json:"network_config,omitempty"` // Immutable. The database type that the Metastore service stores its data. DatabaseType Service_DatabaseType `` /* 158-byte string literal not displayed */ // The configuration specifying telemetry settings for the Dataproc Metastore // service. If unspecified defaults to `JSON`. TelemetryConfig *TelemetryConfig `protobuf:"bytes,23,opt,name=telemetry_config,json=telemetryConfig,proto3" json:"telemetry_config,omitempty"` // Scaling configuration of the metastore service. ScalingConfig *ScalingConfig `protobuf:"bytes,24,opt,name=scaling_config,json=scalingConfig,proto3" json:"scaling_config,omitempty"` // contains filtered or unexported fields }
A managed metastore service that serves metadata queries.
func (*Service) Descriptor
deprecated
func (*Service) GetArtifactGcsUri ¶
func (*Service) GetCreateTime ¶
func (x *Service) GetCreateTime() *timestamppb.Timestamp
func (*Service) GetDatabaseType ¶
func (x *Service) GetDatabaseType() Service_DatabaseType
func (*Service) GetEncryptionConfig ¶
func (x *Service) GetEncryptionConfig() *EncryptionConfig
func (*Service) GetEndpointUri ¶
func (*Service) GetHiveMetastoreConfig ¶
func (x *Service) GetHiveMetastoreConfig() *HiveMetastoreConfig
func (*Service) GetMaintenanceWindow ¶
func (x *Service) GetMaintenanceWindow() *MaintenanceWindow
func (*Service) GetMetadataManagementActivity ¶
func (x *Service) GetMetadataManagementActivity() *MetadataManagementActivity
func (*Service) GetMetastoreConfig ¶
func (m *Service) GetMetastoreConfig() isService_MetastoreConfig
func (*Service) GetNetwork ¶
func (*Service) GetNetworkConfig ¶
func (x *Service) GetNetworkConfig() *NetworkConfig
func (*Service) GetReleaseChannel ¶
func (x *Service) GetReleaseChannel() Service_ReleaseChannel
func (*Service) GetScalingConfig ¶
func (x *Service) GetScalingConfig() *ScalingConfig
func (*Service) GetState ¶
func (x *Service) GetState() Service_State
func (*Service) GetStateMessage ¶
func (*Service) GetTelemetryConfig ¶
func (x *Service) GetTelemetryConfig() *TelemetryConfig
func (*Service) GetTier ¶
func (x *Service) GetTier() Service_Tier
func (*Service) GetUpdateTime ¶
func (x *Service) GetUpdateTime() *timestamppb.Timestamp
func (*Service) ProtoMessage ¶
func (*Service) ProtoMessage()
func (*Service) ProtoReflect ¶
func (x *Service) ProtoReflect() protoreflect.Message
type ServiceEventData ¶
type ServiceEventData struct { // Optional. The Service event payload. Unset for deletion events. Payload *Service `protobuf:"bytes,1,opt,name=payload,proto3,oneof" json:"payload,omitempty"` // contains filtered or unexported fields }
The data within all Service events.
func (*ServiceEventData) Descriptor
deprecated
func (*ServiceEventData) Descriptor() ([]byte, []int)
Deprecated: Use ServiceEventData.ProtoReflect.Descriptor instead.
func (*ServiceEventData) GetPayload ¶
func (x *ServiceEventData) GetPayload() *Service
func (*ServiceEventData) ProtoMessage ¶
func (*ServiceEventData) ProtoMessage()
func (*ServiceEventData) ProtoReflect ¶
func (x *ServiceEventData) ProtoReflect() protoreflect.Message
func (*ServiceEventData) Reset ¶
func (x *ServiceEventData) Reset()
func (*ServiceEventData) String ¶
func (x *ServiceEventData) String() string
type Service_DatabaseType ¶
type Service_DatabaseType int32
The backend database type for the metastore service.
const ( // The DATABASE_TYPE is not set. Service_DATABASE_TYPE_UNSPECIFIED Service_DatabaseType = 0 // MySQL is used to persist the metastore data. Service_MYSQL Service_DatabaseType = 1 // Spanner is used to persist the metastore data. Service_SPANNER Service_DatabaseType = 2 )
func (Service_DatabaseType) Descriptor ¶
func (Service_DatabaseType) Descriptor() protoreflect.EnumDescriptor
func (Service_DatabaseType) Enum ¶
func (x Service_DatabaseType) Enum() *Service_DatabaseType
func (Service_DatabaseType) EnumDescriptor
deprecated
func (Service_DatabaseType) EnumDescriptor() ([]byte, []int)
Deprecated: Use Service_DatabaseType.Descriptor instead.
func (Service_DatabaseType) Number ¶
func (x Service_DatabaseType) Number() protoreflect.EnumNumber
func (Service_DatabaseType) String ¶
func (x Service_DatabaseType) String() string
func (Service_DatabaseType) Type ¶
func (Service_DatabaseType) Type() protoreflect.EnumType
type Service_HiveMetastoreConfig ¶
type Service_HiveMetastoreConfig struct { // Configuration information specific to running Hive metastore // software as the metastore service. HiveMetastoreConfig *HiveMetastoreConfig `protobuf:"bytes,5,opt,name=hive_metastore_config,json=hiveMetastoreConfig,proto3,oneof"` }
type Service_ReleaseChannel ¶
type Service_ReleaseChannel int32
Release channels bundle features of varying levels of stability. Newer features may be introduced initially into less stable release channels and can be automatically promoted into more stable release channels.
const ( // Release channel is not specified. Service_RELEASE_CHANNEL_UNSPECIFIED Service_ReleaseChannel = 0 // The `CANARY` release channel contains the newest features, which may be // unstable and subject to unresolved issues with no known workarounds. // Services using the `CANARY` release channel are not subject to any SLAs. Service_CANARY Service_ReleaseChannel = 1 // The `STABLE` release channel contains features that are considered stable // and have been validated for production use. Service_STABLE Service_ReleaseChannel = 2 )
func (Service_ReleaseChannel) Descriptor ¶
func (Service_ReleaseChannel) Descriptor() protoreflect.EnumDescriptor
func (Service_ReleaseChannel) Enum ¶
func (x Service_ReleaseChannel) Enum() *Service_ReleaseChannel
func (Service_ReleaseChannel) EnumDescriptor
deprecated
func (Service_ReleaseChannel) EnumDescriptor() ([]byte, []int)
Deprecated: Use Service_ReleaseChannel.Descriptor instead.
func (Service_ReleaseChannel) Number ¶
func (x Service_ReleaseChannel) Number() protoreflect.EnumNumber
func (Service_ReleaseChannel) String ¶
func (x Service_ReleaseChannel) String() string
func (Service_ReleaseChannel) Type ¶
func (Service_ReleaseChannel) Type() protoreflect.EnumType
type Service_State ¶
type Service_State int32
The current state of the metastore service.
const ( // The state of the metastore service is unknown. Service_STATE_UNSPECIFIED Service_State = 0 // The metastore service is in the process of being created. Service_CREATING Service_State = 1 // The metastore service is running and ready to serve queries. Service_ACTIVE Service_State = 2 // The metastore service is entering suspension. Its query-serving // availability may cease unexpectedly. Service_SUSPENDING Service_State = 3 // The metastore service is suspended and unable to serve queries. Service_SUSPENDED Service_State = 4 // The metastore service is being updated. It remains usable but cannot // accept additional update requests or be deleted at this time. Service_UPDATING Service_State = 5 // The metastore service is undergoing deletion. It cannot be used. Service_DELETING Service_State = 6 // The metastore service has encountered an error and cannot be used. The // metastore service should be deleted. Service_ERROR Service_State = 7 )
func (Service_State) Descriptor ¶
func (Service_State) Descriptor() protoreflect.EnumDescriptor
func (Service_State) Enum ¶
func (x Service_State) Enum() *Service_State
func (Service_State) EnumDescriptor
deprecated
func (Service_State) EnumDescriptor() ([]byte, []int)
Deprecated: Use Service_State.Descriptor instead.
func (Service_State) Number ¶
func (x Service_State) Number() protoreflect.EnumNumber
func (Service_State) String ¶
func (x Service_State) String() string
func (Service_State) Type ¶
func (Service_State) Type() protoreflect.EnumType
type Service_Tier ¶
type Service_Tier int32
Available service tiers.
const ( // The tier is not set. Service_TIER_UNSPECIFIED Service_Tier = 0 // The developer tier provides limited scalability and no fault tolerance. // Good for low-cost proof-of-concept. Service_DEVELOPER Service_Tier = 1 // The enterprise tier provides multi-zone high availability, and sufficient // scalability for enterprise-level Dataproc Metastore workloads. Service_ENTERPRISE Service_Tier = 3 )
func (Service_Tier) Descriptor ¶
func (Service_Tier) Descriptor() protoreflect.EnumDescriptor
func (Service_Tier) Enum ¶
func (x Service_Tier) Enum() *Service_Tier
func (Service_Tier) EnumDescriptor
deprecated
func (Service_Tier) EnumDescriptor() ([]byte, []int)
Deprecated: Use Service_Tier.Descriptor instead.
func (Service_Tier) Number ¶
func (x Service_Tier) Number() protoreflect.EnumNumber
func (Service_Tier) String ¶
func (x Service_Tier) String() string
func (Service_Tier) Type ¶
func (Service_Tier) Type() protoreflect.EnumType
type TelemetryConfig ¶
type TelemetryConfig struct { // The output format of the Dataproc Metastore service's logs. LogFormat TelemetryConfig_LogFormat `` /* 153-byte string literal not displayed */ // contains filtered or unexported fields }
Telemetry Configuration for the Dataproc Metastore service.
func (*TelemetryConfig) Descriptor
deprecated
func (*TelemetryConfig) Descriptor() ([]byte, []int)
Deprecated: Use TelemetryConfig.ProtoReflect.Descriptor instead.
func (*TelemetryConfig) GetLogFormat ¶
func (x *TelemetryConfig) GetLogFormat() TelemetryConfig_LogFormat
func (*TelemetryConfig) ProtoMessage ¶
func (*TelemetryConfig) ProtoMessage()
func (*TelemetryConfig) ProtoReflect ¶
func (x *TelemetryConfig) ProtoReflect() protoreflect.Message
func (*TelemetryConfig) Reset ¶
func (x *TelemetryConfig) Reset()
func (*TelemetryConfig) String ¶
func (x *TelemetryConfig) String() string
type TelemetryConfig_LogFormat ¶
type TelemetryConfig_LogFormat int32
const ( // The LOG_FORMAT is not set. TelemetryConfig_LOG_FORMAT_UNSPECIFIED TelemetryConfig_LogFormat = 0 // Logging output uses the legacy `textPayload` format. TelemetryConfig_LEGACY TelemetryConfig_LogFormat = 1 // Logging output uses the `jsonPayload` format. TelemetryConfig_JSON TelemetryConfig_LogFormat = 2 )
func (TelemetryConfig_LogFormat) Descriptor ¶
func (TelemetryConfig_LogFormat) Descriptor() protoreflect.EnumDescriptor
func (TelemetryConfig_LogFormat) Enum ¶
func (x TelemetryConfig_LogFormat) Enum() *TelemetryConfig_LogFormat
func (TelemetryConfig_LogFormat) EnumDescriptor
deprecated
func (TelemetryConfig_LogFormat) EnumDescriptor() ([]byte, []int)
Deprecated: Use TelemetryConfig_LogFormat.Descriptor instead.
func (TelemetryConfig_LogFormat) Number ¶
func (x TelemetryConfig_LogFormat) Number() protoreflect.EnumNumber
func (TelemetryConfig_LogFormat) String ¶
func (x TelemetryConfig_LogFormat) String() string
func (TelemetryConfig_LogFormat) Type ¶
func (TelemetryConfig_LogFormat) Type() protoreflect.EnumType