metastorepb

package
v1.13.5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 14, 2024 License: Apache-2.0 Imports: 15 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

View Source
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.

View Source
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.

View Source
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.

View Source
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.

View Source
var (
	HiveMetastoreConfig_EndpointProtocol_name = map[int32]string{
		0: "ENDPOINT_PROTOCOL_UNSPECIFIED",
		1: "THRIFT",
		2: "GRPC",
	}
	HiveMetastoreConfig_EndpointProtocol_value = map[string]int32{
		"ENDPOINT_PROTOCOL_UNSPECIFIED": 0,
		"THRIFT":                        1,
		"GRPC":                          2,
	}
)

Enum value maps for HiveMetastoreConfig_EndpointProtocol.

View Source
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.

View Source
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.

View Source
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.

View Source
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.

View Source
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.

View Source
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.

View Source
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.

View Source
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.

View Source
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.

View Source
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.

View Source
var (
	BackendMetastore_MetastoreType_name = map[int32]string{
		0: "METASTORE_TYPE_UNSPECIFIED",
		1: "DATAPLEX",
		2: "BIGQUERY",
		3: "DATAPROC_METASTORE",
	}
	BackendMetastore_MetastoreType_value = map[string]int32{
		"METASTORE_TYPE_UNSPECIFIED": 0,
		"DATAPLEX":                   1,
		"BIGQUERY":                   2,
		"DATAPROC_METASTORE":         3,
	}
)

Enum value maps for BackendMetastore_MetastoreType.

View Source
var File_google_cloud_metastore_v1beta_metastore_federation_proto protoreflect.FileDescriptor
View Source
var File_google_cloud_metastore_v1beta_metastore_proto protoreflect.FileDescriptor

Functions

func RegisterDataprocMetastoreFederationServer added in v1.9.0

func RegisterDataprocMetastoreFederationServer(s *grpc.Server, srv DataprocMetastoreFederationServer)

func RegisterDataprocMetastoreServer

func RegisterDataprocMetastoreServer(s *grpc.Server, srv DataprocMetastoreServer)

Types

type AlterMetadataResourceLocationRequest added in v1.10.0

type AlterMetadataResourceLocationRequest struct {

	// Required. The relative resource name of the metastore service to mutate
	// metadata, in the following format:
	//
	// `projects/{project_id}/locations/{location_id}/services/{service_id}`.
	Service string `protobuf:"bytes,1,opt,name=service,proto3" json:"service,omitempty"`
	// Required. The relative metadata resource name in the following format.
	//
	// `databases/{database_id}`
	// or
	// `databases/{database_id}/tables/{table_id}`
	// or
	// `databases/{database_id}/tables/{table_id}/partitions/{partition_id}`
	ResourceName string `protobuf:"bytes,2,opt,name=resource_name,json=resourceName,proto3" json:"resource_name,omitempty"`
	// Required. The new location URI for the metadata resource.
	LocationUri string `protobuf:"bytes,3,opt,name=location_uri,json=locationUri,proto3" json:"location_uri,omitempty"`
	// contains filtered or unexported fields
}

Request message for [DataprocMetastore.AlterMetadataResourceLocation][google.cloud.metastore.v1beta.DataprocMetastore.AlterMetadataResourceLocation].

func (*AlterMetadataResourceLocationRequest) Descriptor deprecated added in v1.10.0

func (*AlterMetadataResourceLocationRequest) Descriptor() ([]byte, []int)

Deprecated: Use AlterMetadataResourceLocationRequest.ProtoReflect.Descriptor instead.

func (*AlterMetadataResourceLocationRequest) GetLocationUri added in v1.10.0

func (x *AlterMetadataResourceLocationRequest) GetLocationUri() string

func (*AlterMetadataResourceLocationRequest) GetResourceName added in v1.10.0

func (x *AlterMetadataResourceLocationRequest) GetResourceName() string

func (*AlterMetadataResourceLocationRequest) GetService added in v1.10.0

func (*AlterMetadataResourceLocationRequest) ProtoMessage added in v1.10.0

func (*AlterMetadataResourceLocationRequest) ProtoMessage()

func (*AlterMetadataResourceLocationRequest) ProtoReflect added in v1.10.0

func (*AlterMetadataResourceLocationRequest) Reset added in v1.10.0

func (*AlterMetadataResourceLocationRequest) String added in v1.10.0

type AlterMetadataResourceLocationResponse added in v1.10.0

type AlterMetadataResourceLocationResponse struct {
	// contains filtered or unexported fields
}

Response message for [DataprocMetastore.AlterMetadataResourceLocation][google.cloud.metastore.v1beta.DataprocMetastore.AlterMetadataResourceLocation].

func (*AlterMetadataResourceLocationResponse) Descriptor deprecated added in v1.10.0

func (*AlterMetadataResourceLocationResponse) Descriptor() ([]byte, []int)

Deprecated: Use AlterMetadataResourceLocationResponse.ProtoReflect.Descriptor instead.

func (*AlterMetadataResourceLocationResponse) ProtoMessage added in v1.10.0

func (*AlterMetadataResourceLocationResponse) ProtoMessage()

func (*AlterMetadataResourceLocationResponse) ProtoReflect added in v1.10.0

func (*AlterMetadataResourceLocationResponse) Reset added in v1.10.0

func (*AlterMetadataResourceLocationResponse) String added in v1.10.0

type AuxiliaryVersionConfig added in v1.9.0

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 added in v1.9.0

func (*AuxiliaryVersionConfig) Descriptor() ([]byte, []int)

Deprecated: Use AuxiliaryVersionConfig.ProtoReflect.Descriptor instead.

func (*AuxiliaryVersionConfig) GetConfigOverrides added in v1.9.0

func (x *AuxiliaryVersionConfig) GetConfigOverrides() map[string]string

func (*AuxiliaryVersionConfig) GetNetworkConfig added in v1.9.0

func (x *AuxiliaryVersionConfig) GetNetworkConfig() *NetworkConfig

func (*AuxiliaryVersionConfig) GetVersion added in v1.9.0

func (x *AuxiliaryVersionConfig) GetVersion() string

func (*AuxiliaryVersionConfig) ProtoMessage added in v1.9.0

func (*AuxiliaryVersionConfig) ProtoMessage()

func (*AuxiliaryVersionConfig) ProtoReflect added in v1.9.0

func (x *AuxiliaryVersionConfig) ProtoReflect() protoreflect.Message

func (*AuxiliaryVersionConfig) Reset added in v1.9.0

func (x *AuxiliaryVersionConfig) Reset()

func (*AuxiliaryVersionConfig) String added in v1.9.0

func (x *AuxiliaryVersionConfig) String() string

type BackendMetastore added in v1.9.0

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 `` /* 167-byte string literal not displayed */
	// contains filtered or unexported fields
}

Represents a backend metastore for the federation.

func (*BackendMetastore) Descriptor deprecated added in v1.9.0

func (*BackendMetastore) Descriptor() ([]byte, []int)

Deprecated: Use BackendMetastore.ProtoReflect.Descriptor instead.

func (*BackendMetastore) GetMetastoreType added in v1.9.0

func (x *BackendMetastore) GetMetastoreType() BackendMetastore_MetastoreType

func (*BackendMetastore) GetName added in v1.9.0

func (x *BackendMetastore) GetName() string

func (*BackendMetastore) ProtoMessage added in v1.9.0

func (*BackendMetastore) ProtoMessage()

func (*BackendMetastore) ProtoReflect added in v1.9.0

func (x *BackendMetastore) ProtoReflect() protoreflect.Message

func (*BackendMetastore) Reset added in v1.9.0

func (x *BackendMetastore) Reset()

func (*BackendMetastore) String added in v1.9.0

func (x *BackendMetastore) String() string

type BackendMetastore_MetastoreType added in v1.9.0

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 Dataplex.
	BackendMetastore_DATAPLEX BackendMetastore_MetastoreType = 1
	// The backend metastore is BigQuery.
	BackendMetastore_BIGQUERY BackendMetastore_MetastoreType = 2
	// The backend metastore is Dataproc Metastore.
	BackendMetastore_DATAPROC_METASTORE BackendMetastore_MetastoreType = 3
)

func (BackendMetastore_MetastoreType) Descriptor added in v1.9.0

func (BackendMetastore_MetastoreType) Enum added in v1.9.0

func (BackendMetastore_MetastoreType) EnumDescriptor deprecated added in v1.9.0

func (BackendMetastore_MetastoreType) EnumDescriptor() ([]byte, []int)

Deprecated: Use BackendMetastore_MetastoreType.Descriptor instead.

func (BackendMetastore_MetastoreType) Number added in v1.9.0

func (BackendMetastore_MetastoreType) String added in v1.9.0

func (BackendMetastore_MetastoreType) Type added in v1.9.0

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.cloud.metastore.v1beta.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) Descriptor() ([]byte, []int)

Deprecated: Use Backup.ProtoReflect.Descriptor instead.

func (*Backup) GetCreateTime

func (x *Backup) GetCreateTime() *timestamppb.Timestamp

func (*Backup) GetDescription

func (x *Backup) GetDescription() string

func (*Backup) GetEndTime

func (x *Backup) GetEndTime() *timestamppb.Timestamp

func (*Backup) GetName

func (x *Backup) GetName() string

func (*Backup) GetRestoringServices added in v1.9.0

func (x *Backup) GetRestoringServices() []string

func (*Backup) GetServiceRevision

func (x *Backup) GetServiceRevision() *Service

func (*Backup) GetState

func (x *Backup) GetState() Backup_State

func (*Backup) ProtoMessage

func (*Backup) ProtoMessage()

func (*Backup) ProtoReflect

func (x *Backup) ProtoReflect() protoreflect.Message

func (*Backup) Reset

func (x *Backup) Reset()

func (*Backup) String

func (x *Backup) 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) 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 (Backup_State) String

func (x Backup_State) String() string

func (Backup_State) Type

type CreateBackupRequest

type CreateBackupRequest struct {

	// Required. The relative resource name of the service in which to create a
	// backup of the following form:
	//
	// `projects/{project_number}/locations/{location_id}/services/{service_id}`.
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// Required. The ID of the backup, which is used as the final component of the
	// backup's name.
	//
	// This value must be between 1 and 64 characters long, begin with a letter,
	// end with a letter or number, and consist of alpha-numeric ASCII characters
	// or hyphens.
	BackupId string `protobuf:"bytes,2,opt,name=backup_id,json=backupId,proto3" json:"backup_id,omitempty"`
	// Required. The backup to create. The `name` field is ignored. The ID of the
	// created backup must be provided in the request's `backup_id` field.
	Backup *Backup `protobuf:"bytes,3,opt,name=backup,proto3" json:"backup,omitempty"`
	// Optional. A request ID. Specify a unique request ID to allow the server to
	// ignore the request if it has completed. The server will ignore subsequent
	// requests that provide a duplicate request ID for at least 60 minutes after
	// the first request.
	//
	// For example, if an initial request times out, followed by another request
	// with the same request ID, the server ignores the second request to prevent
	// the creation of duplicate commitments.
	//
	// The request ID must be a valid
	// [UUID](https://en.wikipedia.org/wiki/Universally_unique_identifier#Format)
	// A zero UUID (00000000-0000-0000-0000-000000000000) is not supported.
	RequestId string `protobuf:"bytes,4,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
	// contains filtered or unexported fields
}

Request message for [DataprocMetastore.CreateBackup][google.cloud.metastore.v1beta.DataprocMetastore.CreateBackup].

func (*CreateBackupRequest) Descriptor deprecated

func (*CreateBackupRequest) Descriptor() ([]byte, []int)

Deprecated: Use CreateBackupRequest.ProtoReflect.Descriptor instead.

func (*CreateBackupRequest) GetBackup

func (x *CreateBackupRequest) GetBackup() *Backup

func (*CreateBackupRequest) GetBackupId

func (x *CreateBackupRequest) GetBackupId() string

func (*CreateBackupRequest) GetParent

func (x *CreateBackupRequest) GetParent() string

func (*CreateBackupRequest) GetRequestId

func (x *CreateBackupRequest) GetRequestId() string

func (*CreateBackupRequest) ProtoMessage

func (*CreateBackupRequest) ProtoMessage()

func (*CreateBackupRequest) ProtoReflect

func (x *CreateBackupRequest) ProtoReflect() protoreflect.Message

func (*CreateBackupRequest) Reset

func (x *CreateBackupRequest) Reset()

func (*CreateBackupRequest) String

func (x *CreateBackupRequest) String() string

type CreateFederationRequest added in v1.9.0

type CreateFederationRequest struct {

	// Required. The relative resource name of the location in which to create a
	// federation service, in the following form:
	//
	// `projects/{project_number}/locations/{location_id}`.
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// Required. The ID of the metastore federation, which is used as the final
	// component of the metastore federation's name.
	//
	// This value must be between 2 and 63 characters long inclusive, begin with a
	// letter, end with a letter or number, and consist of alpha-numeric
	// ASCII characters or hyphens.
	FederationId string `protobuf:"bytes,2,opt,name=federation_id,json=federationId,proto3" json:"federation_id,omitempty"`
	// Required. The Metastore Federation to create. The `name` field is
	// ignored. The ID of the created metastore federation must be
	// provided in the request's `federation_id` field.
	Federation *Federation `protobuf:"bytes,3,opt,name=federation,proto3" json:"federation,omitempty"`
	// Optional. A request ID. Specify a unique request ID to allow the server to
	// ignore the request if it has completed. The server will ignore subsequent
	// requests that provide a duplicate request ID for at least 60 minutes after
	// the first request.
	//
	// For example, if an initial request times out, followed by another request
	// with the same request ID, the server ignores the second request to prevent
	// the creation of duplicate commitments.
	//
	// The request ID must be a valid
	// [UUID](https://en.wikipedia.org/wiki/Universally_unique_identifier#Format)
	// A zero UUID (00000000-0000-0000-0000-000000000000) is not supported.
	RequestId string `protobuf:"bytes,4,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
	// contains filtered or unexported fields
}

Request message for CreateFederation.

func (*CreateFederationRequest) Descriptor deprecated added in v1.9.0

func (*CreateFederationRequest) Descriptor() ([]byte, []int)

Deprecated: Use CreateFederationRequest.ProtoReflect.Descriptor instead.

func (*CreateFederationRequest) GetFederation added in v1.9.0

func (x *CreateFederationRequest) GetFederation() *Federation

func (*CreateFederationRequest) GetFederationId added in v1.9.0

func (x *CreateFederationRequest) GetFederationId() string

func (*CreateFederationRequest) GetParent added in v1.9.0

func (x *CreateFederationRequest) GetParent() string

func (*CreateFederationRequest) GetRequestId added in v1.9.0

func (x *CreateFederationRequest) GetRequestId() string

func (*CreateFederationRequest) ProtoMessage added in v1.9.0

func (*CreateFederationRequest) ProtoMessage()

func (*CreateFederationRequest) ProtoReflect added in v1.9.0

func (x *CreateFederationRequest) ProtoReflect() protoreflect.Message

func (*CreateFederationRequest) Reset added in v1.9.0

func (x *CreateFederationRequest) Reset()

func (*CreateFederationRequest) String added in v1.9.0

func (x *CreateFederationRequest) String() string

type CreateMetadataImportRequest

type CreateMetadataImportRequest struct {

	// Required. The relative resource name of the service in which to create a
	// metastore import, in the following form:
	//
	// `projects/{project_number}/locations/{location_id}/services/{service_id}`.
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// Required. The ID of the metadata import, which is used as the final
	// component of the metadata import's name.
	//
	// This value must be between 1 and 64 characters long, begin with a letter,
	// end with a letter or number, and consist of alpha-numeric ASCII characters
	// or hyphens.
	MetadataImportId string `protobuf:"bytes,2,opt,name=metadata_import_id,json=metadataImportId,proto3" json:"metadata_import_id,omitempty"`
	// Required. The metadata import to create. The `name` field is ignored. The
	// ID of the created metadata import must be provided in the request's
	// `metadata_import_id` field.
	MetadataImport *MetadataImport `protobuf:"bytes,3,opt,name=metadata_import,json=metadataImport,proto3" json:"metadata_import,omitempty"`
	// Optional. A request ID. Specify a unique request ID to allow the server to
	// ignore the request if it has completed. The server will ignore subsequent
	// requests that provide a duplicate request ID for at least 60 minutes after
	// the first request.
	//
	// For example, if an initial request times out, followed by another request
	// with the same request ID, the server ignores the second request to prevent
	// the creation of duplicate commitments.
	//
	// The request ID must be a valid
	// [UUID](https://en.wikipedia.org/wiki/Universally_unique_identifier#Format)
	// A zero UUID (00000000-0000-0000-0000-000000000000) is not supported.
	RequestId string `protobuf:"bytes,4,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
	// contains filtered or unexported fields
}

Request message for [DataprocMetastore.CreateMetadataImport][google.cloud.metastore.v1beta.DataprocMetastore.CreateMetadataImport].

func (*CreateMetadataImportRequest) Descriptor deprecated

func (*CreateMetadataImportRequest) Descriptor() ([]byte, []int)

Deprecated: Use CreateMetadataImportRequest.ProtoReflect.Descriptor instead.

func (*CreateMetadataImportRequest) GetMetadataImport

func (x *CreateMetadataImportRequest) GetMetadataImport() *MetadataImport

func (*CreateMetadataImportRequest) GetMetadataImportId

func (x *CreateMetadataImportRequest) GetMetadataImportId() string

func (*CreateMetadataImportRequest) GetParent

func (x *CreateMetadataImportRequest) GetParent() string

func (*CreateMetadataImportRequest) GetRequestId

func (x *CreateMetadataImportRequest) GetRequestId() string

func (*CreateMetadataImportRequest) ProtoMessage

func (*CreateMetadataImportRequest) ProtoMessage()

func (*CreateMetadataImportRequest) ProtoReflect

func (*CreateMetadataImportRequest) Reset

func (x *CreateMetadataImportRequest) Reset()

func (*CreateMetadataImportRequest) String

func (x *CreateMetadataImportRequest) String() string

type CreateServiceRequest

type CreateServiceRequest struct {

	// Required. The relative resource name of the location in which to create a
	// metastore service, in the following form:
	//
	// `projects/{project_number}/locations/{location_id}`.
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// Required. The ID of the metastore service, which is used as the final
	// component of the metastore service's name.
	//
	// This value must be between 2 and 63 characters long inclusive, begin with a
	// letter, end with a letter or number, and consist of alpha-numeric
	// ASCII characters or hyphens.
	ServiceId string `protobuf:"bytes,2,opt,name=service_id,json=serviceId,proto3" json:"service_id,omitempty"`
	// Required. The Metastore service to create. The `name` field is
	// ignored. The ID of the created metastore service must be provided in
	// the request's `service_id` field.
	Service *Service `protobuf:"bytes,3,opt,name=service,proto3" json:"service,omitempty"`
	// Optional. A request ID. Specify a unique request ID to allow the server to
	// ignore the request if it has completed. The server will ignore subsequent
	// requests that provide a duplicate request ID for at least 60 minutes after
	// the first request.
	//
	// For example, if an initial request times out, followed by another request
	// with the same request ID, the server ignores the second request to prevent
	// the creation of duplicate commitments.
	//
	// The request ID must be a valid
	// [UUID](https://en.wikipedia.org/wiki/Universally_unique_identifier#Format)
	// A zero UUID (00000000-0000-0000-0000-000000000000) is not supported.
	RequestId string `protobuf:"bytes,4,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
	// contains filtered or unexported fields
}

Request message for [DataprocMetastore.CreateService][google.cloud.metastore.v1beta.DataprocMetastore.CreateService].

func (*CreateServiceRequest) Descriptor deprecated

func (*CreateServiceRequest) Descriptor() ([]byte, []int)

Deprecated: Use CreateServiceRequest.ProtoReflect.Descriptor instead.

func (*CreateServiceRequest) GetParent

func (x *CreateServiceRequest) GetParent() string

func (*CreateServiceRequest) GetRequestId

func (x *CreateServiceRequest) GetRequestId() string

func (*CreateServiceRequest) GetService

func (x *CreateServiceRequest) GetService() *Service

func (*CreateServiceRequest) GetServiceId

func (x *CreateServiceRequest) GetServiceId() string

func (*CreateServiceRequest) ProtoMessage

func (*CreateServiceRequest) ProtoMessage()

func (*CreateServiceRequest) ProtoReflect

func (x *CreateServiceRequest) ProtoReflect() protoreflect.Message

func (*CreateServiceRequest) Reset

func (x *CreateServiceRequest) Reset()

func (*CreateServiceRequest) String

func (x *CreateServiceRequest) String() string

type DataCatalogConfig

type DataCatalogConfig struct {

	// Defines whether the metastore metadata should be synced to Data Catalog.
	// The default value is to disable syncing metastore metadata to Data Catalog.
	Enabled bool `protobuf:"varint,2,opt,name=enabled,proto3" json:"enabled,omitempty"`
	// contains filtered or unexported fields
}

Specifies how metastore metadata should be integrated with the Data Catalog service.

func (*DataCatalogConfig) Descriptor deprecated

func (*DataCatalogConfig) Descriptor() ([]byte, []int)

Deprecated: Use DataCatalogConfig.ProtoReflect.Descriptor instead.

func (*DataCatalogConfig) GetEnabled

func (x *DataCatalogConfig) GetEnabled() bool

func (*DataCatalogConfig) ProtoMessage

func (*DataCatalogConfig) ProtoMessage()

func (*DataCatalogConfig) ProtoReflect

func (x *DataCatalogConfig) ProtoReflect() protoreflect.Message

func (*DataCatalogConfig) Reset

func (x *DataCatalogConfig) Reset()

func (*DataCatalogConfig) String

func (x *DataCatalogConfig) String() string

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) Enum

func (DatabaseDumpSpec_Type) EnumDescriptor deprecated

func (DatabaseDumpSpec_Type) EnumDescriptor() ([]byte, []int)

Deprecated: Use DatabaseDumpSpec_Type.Descriptor instead.

func (DatabaseDumpSpec_Type) Number

func (DatabaseDumpSpec_Type) String

func (x DatabaseDumpSpec_Type) String() string

func (DatabaseDumpSpec_Type) Type

type DataplexConfig added in v1.9.0

type DataplexConfig struct {

	// A reference to the Lake resources that this metastore service is attached
	// to. The key is the lake resource name. Example:
	// `projects/{project_number}/locations/{location_id}/lakes/{lake_id}`.
	LakeResources map[string]*Lake `` /* 188-byte string literal not displayed */
	// contains filtered or unexported fields
}

Specifies how metastore metadata should be integrated with the Dataplex service.

func (*DataplexConfig) Descriptor deprecated added in v1.9.0

func (*DataplexConfig) Descriptor() ([]byte, []int)

Deprecated: Use DataplexConfig.ProtoReflect.Descriptor instead.

func (*DataplexConfig) GetLakeResources added in v1.9.0

func (x *DataplexConfig) GetLakeResources() map[string]*Lake

func (*DataplexConfig) ProtoMessage added in v1.9.0

func (*DataplexConfig) ProtoMessage()

func (*DataplexConfig) ProtoReflect added in v1.9.0

func (x *DataplexConfig) ProtoReflect() protoreflect.Message

func (*DataplexConfig) Reset added in v1.9.0

func (x *DataplexConfig) Reset()

func (*DataplexConfig) String added in v1.9.0

func (x *DataplexConfig) String() string

type DataprocMetastoreClient

type DataprocMetastoreClient interface {
	// Lists services in a project and location.
	ListServices(ctx context.Context, in *ListServicesRequest, opts ...grpc.CallOption) (*ListServicesResponse, error)
	// Gets the details of a single service.
	GetService(ctx context.Context, in *GetServiceRequest, opts ...grpc.CallOption) (*Service, error)
	// Creates a metastore service in a project and location.
	CreateService(ctx context.Context, in *CreateServiceRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
	// Updates the parameters of a single service.
	UpdateService(ctx context.Context, in *UpdateServiceRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
	// Deletes a single service.
	DeleteService(ctx context.Context, in *DeleteServiceRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
	// Lists imports in a service.
	ListMetadataImports(ctx context.Context, in *ListMetadataImportsRequest, opts ...grpc.CallOption) (*ListMetadataImportsResponse, error)
	// Gets details of a single import.
	GetMetadataImport(ctx context.Context, in *GetMetadataImportRequest, opts ...grpc.CallOption) (*MetadataImport, error)
	// Creates a new MetadataImport in a given project and location.
	CreateMetadataImport(ctx context.Context, in *CreateMetadataImportRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
	// Updates a single import.
	// Only the description field of MetadataImport is supported to be updated.
	UpdateMetadataImport(ctx context.Context, in *UpdateMetadataImportRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
	// Exports metadata from a service.
	ExportMetadata(ctx context.Context, in *ExportMetadataRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
	// Restores a service from a backup.
	RestoreService(ctx context.Context, in *RestoreServiceRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
	// Lists backups in a service.
	ListBackups(ctx context.Context, in *ListBackupsRequest, opts ...grpc.CallOption) (*ListBackupsResponse, error)
	// Gets details of a single backup.
	GetBackup(ctx context.Context, in *GetBackupRequest, opts ...grpc.CallOption) (*Backup, error)
	// Creates a new backup in a given project and location.
	CreateBackup(ctx context.Context, in *CreateBackupRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
	// Deletes a single backup.
	DeleteBackup(ctx context.Context, in *DeleteBackupRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
	// Removes the attached IAM policies for a resource
	RemoveIamPolicy(ctx context.Context, in *RemoveIamPolicyRequest, opts ...grpc.CallOption) (*RemoveIamPolicyResponse, error)
	// Query DPMS metadata.
	QueryMetadata(ctx context.Context, in *QueryMetadataRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
	// Move a table to another database.
	MoveTableToDatabase(ctx context.Context, in *MoveTableToDatabaseRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
	// Alter metadata resource location. The metadata resource can be a database,
	// table, or partition. This functionality only updates the parent directory
	// for the respective metadata resource and does not transfer any existing
	// data to the new location.
	AlterMetadataResourceLocation(ctx context.Context, in *AlterMetadataResourceLocationRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
}

DataprocMetastoreClient is the client API for DataprocMetastore service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

type DataprocMetastoreFederationClient added in v1.9.0

type DataprocMetastoreFederationClient interface {
	// Lists federations in a project and location.
	ListFederations(ctx context.Context, in *ListFederationsRequest, opts ...grpc.CallOption) (*ListFederationsResponse, error)
	// Gets the details of a single federation.
	GetFederation(ctx context.Context, in *GetFederationRequest, opts ...grpc.CallOption) (*Federation, error)
	// Creates a metastore federation in a project and location.
	CreateFederation(ctx context.Context, in *CreateFederationRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
	// Updates the fields of a federation.
	UpdateFederation(ctx context.Context, in *UpdateFederationRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
	// Deletes a single federation.
	DeleteFederation(ctx context.Context, in *DeleteFederationRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
}

DataprocMetastoreFederationClient is the client API for DataprocMetastoreFederation service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewDataprocMetastoreFederationClient added in v1.9.0

func NewDataprocMetastoreFederationClient(cc grpc.ClientConnInterface) DataprocMetastoreFederationClient

type DataprocMetastoreFederationServer added in v1.9.0

type DataprocMetastoreFederationServer interface {
	// Lists federations in a project and location.
	ListFederations(context.Context, *ListFederationsRequest) (*ListFederationsResponse, error)
	// Gets the details of a single federation.
	GetFederation(context.Context, *GetFederationRequest) (*Federation, error)
	// Creates a metastore federation in a project and location.
	CreateFederation(context.Context, *CreateFederationRequest) (*longrunningpb.Operation, error)
	// Updates the fields of a federation.
	UpdateFederation(context.Context, *UpdateFederationRequest) (*longrunningpb.Operation, error)
	// Deletes a single federation.
	DeleteFederation(context.Context, *DeleteFederationRequest) (*longrunningpb.Operation, error)
}

DataprocMetastoreFederationServer is the server API for DataprocMetastoreFederation service.

type DataprocMetastoreServer

type DataprocMetastoreServer interface {
	// Lists services in a project and location.
	ListServices(context.Context, *ListServicesRequest) (*ListServicesResponse, error)
	// Gets the details of a single service.
	GetService(context.Context, *GetServiceRequest) (*Service, error)
	// Creates a metastore service in a project and location.
	CreateService(context.Context, *CreateServiceRequest) (*longrunningpb.Operation, error)
	// Updates the parameters of a single service.
	UpdateService(context.Context, *UpdateServiceRequest) (*longrunningpb.Operation, error)
	// Deletes a single service.
	DeleteService(context.Context, *DeleteServiceRequest) (*longrunningpb.Operation, error)
	// Lists imports in a service.
	ListMetadataImports(context.Context, *ListMetadataImportsRequest) (*ListMetadataImportsResponse, error)
	// Gets details of a single import.
	GetMetadataImport(context.Context, *GetMetadataImportRequest) (*MetadataImport, error)
	// Creates a new MetadataImport in a given project and location.
	CreateMetadataImport(context.Context, *CreateMetadataImportRequest) (*longrunningpb.Operation, error)
	// Updates a single import.
	// Only the description field of MetadataImport is supported to be updated.
	UpdateMetadataImport(context.Context, *UpdateMetadataImportRequest) (*longrunningpb.Operation, error)
	// Exports metadata from a service.
	ExportMetadata(context.Context, *ExportMetadataRequest) (*longrunningpb.Operation, error)
	// Restores a service from a backup.
	RestoreService(context.Context, *RestoreServiceRequest) (*longrunningpb.Operation, error)
	// Lists backups in a service.
	ListBackups(context.Context, *ListBackupsRequest) (*ListBackupsResponse, error)
	// Gets details of a single backup.
	GetBackup(context.Context, *GetBackupRequest) (*Backup, error)
	// Creates a new backup in a given project and location.
	CreateBackup(context.Context, *CreateBackupRequest) (*longrunningpb.Operation, error)
	// Deletes a single backup.
	DeleteBackup(context.Context, *DeleteBackupRequest) (*longrunningpb.Operation, error)
	// Removes the attached IAM policies for a resource
	RemoveIamPolicy(context.Context, *RemoveIamPolicyRequest) (*RemoveIamPolicyResponse, error)
	// Query DPMS metadata.
	QueryMetadata(context.Context, *QueryMetadataRequest) (*longrunningpb.Operation, error)
	// Move a table to another database.
	MoveTableToDatabase(context.Context, *MoveTableToDatabaseRequest) (*longrunningpb.Operation, error)
	// Alter metadata resource location. The metadata resource can be a database,
	// table, or partition. This functionality only updates the parent directory
	// for the respective metadata resource and does not transfer any existing
	// data to the new location.
	AlterMetadataResourceLocation(context.Context, *AlterMetadataResourceLocationRequest) (*longrunningpb.Operation, error)
}

DataprocMetastoreServer is the server API for DataprocMetastore service.

type DeleteBackupRequest

type DeleteBackupRequest struct {

	// Required. The relative resource name of the backup to delete, 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"`
	// Optional. A request ID. Specify a unique request ID to allow the server to
	// ignore the request if it has completed. The server will ignore subsequent
	// requests that provide a duplicate request ID for at least 60 minutes after
	// the first request.
	//
	// For example, if an initial request times out, followed by another request
	// with the same request ID, the server ignores the second request to prevent
	// the creation of duplicate commitments.
	//
	// The request ID must be a valid
	// [UUID](https://en.wikipedia.org/wiki/Universally_unique_identifier#Format)
	// A zero UUID (00000000-0000-0000-0000-000000000000) is not supported.
	RequestId string `protobuf:"bytes,2,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
	// contains filtered or unexported fields
}

Request message for [DataprocMetastore.DeleteBackup][google.cloud.metastore.v1beta.DataprocMetastore.DeleteBackup].

func (*DeleteBackupRequest) Descriptor deprecated

func (*DeleteBackupRequest) Descriptor() ([]byte, []int)

Deprecated: Use DeleteBackupRequest.ProtoReflect.Descriptor instead.

func (*DeleteBackupRequest) GetName

func (x *DeleteBackupRequest) GetName() string

func (*DeleteBackupRequest) GetRequestId

func (x *DeleteBackupRequest) GetRequestId() string

func (*DeleteBackupRequest) ProtoMessage

func (*DeleteBackupRequest) ProtoMessage()

func (*DeleteBackupRequest) ProtoReflect

func (x *DeleteBackupRequest) ProtoReflect() protoreflect.Message

func (*DeleteBackupRequest) Reset

func (x *DeleteBackupRequest) Reset()

func (*DeleteBackupRequest) String

func (x *DeleteBackupRequest) String() string

type DeleteFederationRequest added in v1.9.0

type DeleteFederationRequest struct {

	// Required. The relative resource name of the metastore federation to delete,
	// in the following form:
	//
	// `projects/{project_number}/locations/{location_id}/federations/{federation_id}`.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Optional. A request ID. Specify a unique request ID to allow the server to
	// ignore the request if it has completed. The server will ignore subsequent
	// requests that provide a duplicate request ID for at least 60 minutes after
	// the first request.
	//
	// For example, if an initial request times out, followed by another request
	// with the same request ID, the server ignores the second request to prevent
	// the creation of duplicate commitments.
	//
	// The request ID must be a valid
	// [UUID](https://en.wikipedia.org/wiki/Universally_unique_identifier#Format)
	// A zero UUID (00000000-0000-0000-0000-000000000000) is not supported.
	RequestId string `protobuf:"bytes,2,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
	// contains filtered or unexported fields
}

Request message for DeleteFederation.

func (*DeleteFederationRequest) Descriptor deprecated added in v1.9.0

func (*DeleteFederationRequest) Descriptor() ([]byte, []int)

Deprecated: Use DeleteFederationRequest.ProtoReflect.Descriptor instead.

func (*DeleteFederationRequest) GetName added in v1.9.0

func (x *DeleteFederationRequest) GetName() string

func (*DeleteFederationRequest) GetRequestId added in v1.9.0

func (x *DeleteFederationRequest) GetRequestId() string

func (*DeleteFederationRequest) ProtoMessage added in v1.9.0

func (*DeleteFederationRequest) ProtoMessage()

func (*DeleteFederationRequest) ProtoReflect added in v1.9.0

func (x *DeleteFederationRequest) ProtoReflect() protoreflect.Message

func (*DeleteFederationRequest) Reset added in v1.9.0

func (x *DeleteFederationRequest) Reset()

func (*DeleteFederationRequest) String added in v1.9.0

func (x *DeleteFederationRequest) String() string

type DeleteServiceRequest

type DeleteServiceRequest struct {

	// Required. The relative resource name of the metastore service to delete, in
	// the following form:
	//
	// `projects/{project_number}/locations/{location_id}/services/{service_id}`.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Optional. A request ID. Specify a unique request ID to allow the server to
	// ignore the request if it has completed. The server will ignore subsequent
	// requests that provide a duplicate request ID for at least 60 minutes after
	// the first request.
	//
	// For example, if an initial request times out, followed by another request
	// with the same request ID, the server ignores the second request to prevent
	// the creation of duplicate commitments.
	//
	// The request ID must be a valid
	// [UUID](https://en.wikipedia.org/wiki/Universally_unique_identifier#Format)
	// A zero UUID (00000000-0000-0000-0000-000000000000) is not supported.
	RequestId string `protobuf:"bytes,2,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
	// contains filtered or unexported fields
}

Request message for [DataprocMetastore.DeleteService][google.cloud.metastore.v1beta.DataprocMetastore.DeleteService].

func (*DeleteServiceRequest) Descriptor deprecated

func (*DeleteServiceRequest) Descriptor() ([]byte, []int)

Deprecated: Use DeleteServiceRequest.ProtoReflect.Descriptor instead.

func (*DeleteServiceRequest) GetName

func (x *DeleteServiceRequest) GetName() string

func (*DeleteServiceRequest) GetRequestId

func (x *DeleteServiceRequest) GetRequestId() string

func (*DeleteServiceRequest) ProtoMessage

func (*DeleteServiceRequest) ProtoMessage()

func (*DeleteServiceRequest) ProtoReflect

func (x *DeleteServiceRequest) ProtoReflect() protoreflect.Message

func (*DeleteServiceRequest) Reset

func (x *DeleteServiceRequest) Reset()

func (*DeleteServiceRequest) String

func (x *DeleteServiceRequest) String() string

type EncryptionConfig added in v1.9.0

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 added in v1.9.0

func (*EncryptionConfig) Descriptor() ([]byte, []int)

Deprecated: Use EncryptionConfig.ProtoReflect.Descriptor instead.

func (*EncryptionConfig) GetKmsKey added in v1.9.0

func (x *EncryptionConfig) GetKmsKey() string

func (*EncryptionConfig) ProtoMessage added in v1.9.0

func (*EncryptionConfig) ProtoMessage()

func (*EncryptionConfig) ProtoReflect added in v1.9.0

func (x *EncryptionConfig) ProtoReflect() protoreflect.Message

func (*EncryptionConfig) Reset added in v1.9.0

func (x *EncryptionConfig) Reset()

func (*EncryptionConfig) String added in v1.9.0

func (x *EncryptionConfig) String() string

type ErrorDetails added in v1.12.0

type ErrorDetails struct {

	// Additional structured details about this error.
	//
	// Keys define the failure items.
	// Value describes the exception or details of the item.
	Details map[string]string `` /* 155-byte string literal not displayed */
	// contains filtered or unexported fields
}

Error details in public error message for [DataprocMetastore.QueryMetadata][google.cloud.metastore.v1beta.DataprocMetastore.QueryMetadata].

func (*ErrorDetails) Descriptor deprecated added in v1.12.0

func (*ErrorDetails) Descriptor() ([]byte, []int)

Deprecated: Use ErrorDetails.ProtoReflect.Descriptor instead.

func (*ErrorDetails) GetDetails added in v1.12.0

func (x *ErrorDetails) GetDetails() map[string]string

func (*ErrorDetails) ProtoMessage added in v1.12.0

func (*ErrorDetails) ProtoMessage()

func (*ErrorDetails) ProtoReflect added in v1.12.0

func (x *ErrorDetails) ProtoReflect() protoreflect.Message

func (*ErrorDetails) Reset added in v1.12.0

func (x *ErrorDetails) Reset()

func (*ErrorDetails) String added in v1.12.0

func (x *ErrorDetails) String() string

type ExportMetadataRequest

type ExportMetadataRequest struct {

	// Required. Destination that metadata is exported to.
	//
	// Types that are assignable to Destination:
	//
	//	*ExportMetadataRequest_DestinationGcsFolder
	Destination isExportMetadataRequest_Destination `protobuf_oneof:"destination"`
	// Required. The relative resource name of the metastore service to run
	// export, in the following form:
	//
	// `projects/{project_id}/locations/{location_id}/services/{service_id}`.
	Service string `protobuf:"bytes,1,opt,name=service,proto3" json:"service,omitempty"`
	// Optional. A request ID. Specify a unique request ID to allow the server to
	// ignore the request if it has completed. The server will ignore subsequent
	// requests that provide a duplicate request ID for at least 60 minutes after
	// the first request.
	//
	// For example, if an initial request times out, followed by another request
	// with the same request ID, the server ignores the second request to prevent
	// the creation of duplicate commitments.
	//
	// The request ID must be a valid
	// [UUID](https://en.wikipedia.org/wiki/Universally_unique_identifier#Format).
	// A zero UUID (00000000-0000-0000-0000-000000000000) is not supported.
	RequestId string `protobuf:"bytes,3,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
	// Optional. The type of the database dump. If unspecified, defaults to
	// `MYSQL`.
	DatabaseDumpType DatabaseDumpSpec_Type `` /* 169-byte string literal not displayed */
	// contains filtered or unexported fields
}

Request message for [DataprocMetastore.ExportMetadata][google.cloud.metastore.v1beta.DataprocMetastore.ExportMetadata].

func (*ExportMetadataRequest) Descriptor deprecated

func (*ExportMetadataRequest) Descriptor() ([]byte, []int)

Deprecated: Use ExportMetadataRequest.ProtoReflect.Descriptor instead.

func (*ExportMetadataRequest) GetDatabaseDumpType

func (x *ExportMetadataRequest) GetDatabaseDumpType() DatabaseDumpSpec_Type

func (*ExportMetadataRequest) GetDestination

func (m *ExportMetadataRequest) GetDestination() isExportMetadataRequest_Destination

func (*ExportMetadataRequest) GetDestinationGcsFolder

func (x *ExportMetadataRequest) GetDestinationGcsFolder() string

func (*ExportMetadataRequest) GetRequestId

func (x *ExportMetadataRequest) GetRequestId() string

func (*ExportMetadataRequest) GetService

func (x *ExportMetadataRequest) GetService() string

func (*ExportMetadataRequest) ProtoMessage

func (*ExportMetadataRequest) ProtoMessage()

func (*ExportMetadataRequest) ProtoReflect

func (x *ExportMetadataRequest) ProtoReflect() protoreflect.Message

func (*ExportMetadataRequest) Reset

func (x *ExportMetadataRequest) Reset()

func (*ExportMetadataRequest) String

func (x *ExportMetadataRequest) String() string

type ExportMetadataRequest_DestinationGcsFolder

type ExportMetadataRequest_DestinationGcsFolder struct {
	// A Cloud Storage URI of a folder, in the format
	// `gs://<bucket_name>/<path_inside_bucket>`. A sub-folder
	// `<export_folder>` containing exported files will be created below it.
	DestinationGcsFolder string `protobuf:"bytes,2,opt,name=destination_gcs_folder,json=destinationGcsFolder,proto3,oneof"`
}

type Federation added in v1.9.0

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.cloud.metastore.v1beta.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 added in v1.9.0

func (*Federation) Descriptor() ([]byte, []int)

Deprecated: Use Federation.ProtoReflect.Descriptor instead.

func (*Federation) GetBackendMetastores added in v1.9.0

func (x *Federation) GetBackendMetastores() map[int32]*BackendMetastore

func (*Federation) GetCreateTime added in v1.9.0

func (x *Federation) GetCreateTime() *timestamppb.Timestamp

func (*Federation) GetEndpointUri added in v1.9.0

func (x *Federation) GetEndpointUri() string

func (*Federation) GetLabels added in v1.9.0

func (x *Federation) GetLabels() map[string]string

func (*Federation) GetName added in v1.9.0

func (x *Federation) GetName() string

func (*Federation) GetState added in v1.9.0

func (x *Federation) GetState() Federation_State

func (*Federation) GetStateMessage added in v1.9.0

func (x *Federation) GetStateMessage() string

func (*Federation) GetUid added in v1.9.0

func (x *Federation) GetUid() string

func (*Federation) GetUpdateTime added in v1.9.0

func (x *Federation) GetUpdateTime() *timestamppb.Timestamp

func (*Federation) GetVersion added in v1.9.0

func (x *Federation) GetVersion() string

func (*Federation) ProtoMessage added in v1.9.0

func (*Federation) ProtoMessage()

func (*Federation) ProtoReflect added in v1.9.0

func (x *Federation) ProtoReflect() protoreflect.Message

func (*Federation) Reset added in v1.9.0

func (x *Federation) Reset()

func (*Federation) String added in v1.9.0

func (x *Federation) String() string

type Federation_State added in v1.9.0

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 added in v1.9.0

func (Federation_State) Enum added in v1.9.0

func (Federation_State) EnumDescriptor deprecated added in v1.9.0

func (Federation_State) EnumDescriptor() ([]byte, []int)

Deprecated: Use Federation_State.Descriptor instead.

func (Federation_State) Number added in v1.9.0

func (Federation_State) String added in v1.9.0

func (x Federation_State) String() string

func (Federation_State) Type added in v1.9.0

type GetBackupRequest

type GetBackupRequest struct {

	// Required. The relative resource name of the backup to retrieve, 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"`
	// contains filtered or unexported fields
}

Request message for [DataprocMetastore.GetBackup][google.cloud.metastore.v1beta.DataprocMetastore.GetBackup].

func (*GetBackupRequest) Descriptor deprecated

func (*GetBackupRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetBackupRequest.ProtoReflect.Descriptor instead.

func (*GetBackupRequest) GetName

func (x *GetBackupRequest) GetName() string

func (*GetBackupRequest) ProtoMessage

func (*GetBackupRequest) ProtoMessage()

func (*GetBackupRequest) ProtoReflect

func (x *GetBackupRequest) ProtoReflect() protoreflect.Message

func (*GetBackupRequest) Reset

func (x *GetBackupRequest) Reset()

func (*GetBackupRequest) String

func (x *GetBackupRequest) String() string

type GetFederationRequest added in v1.9.0

type GetFederationRequest struct {

	// Required. The relative resource name of the metastore federation to
	// retrieve, in the following form:
	//
	// `projects/{project_number}/locations/{location_id}/federations/{federation_id}`.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

Request message for GetFederation.

func (*GetFederationRequest) Descriptor deprecated added in v1.9.0

func (*GetFederationRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetFederationRequest.ProtoReflect.Descriptor instead.

func (*GetFederationRequest) GetName added in v1.9.0

func (x *GetFederationRequest) GetName() string

func (*GetFederationRequest) ProtoMessage added in v1.9.0

func (*GetFederationRequest) ProtoMessage()

func (*GetFederationRequest) ProtoReflect added in v1.9.0

func (x *GetFederationRequest) ProtoReflect() protoreflect.Message

func (*GetFederationRequest) Reset added in v1.9.0

func (x *GetFederationRequest) Reset()

func (*GetFederationRequest) String added in v1.9.0

func (x *GetFederationRequest) String() string

type GetMetadataImportRequest

type GetMetadataImportRequest struct {

	// Required. The relative resource name of the metadata import to retrieve, in
	// the following form:
	//
	// `projects/{project_number}/locations/{location_id}/services/{service_id}/metadataImports/{import_id}`.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

Request message for [DataprocMetastore.GetMetadataImport][google.cloud.metastore.v1beta.DataprocMetastore.GetMetadataImport].

func (*GetMetadataImportRequest) Descriptor deprecated

func (*GetMetadataImportRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetMetadataImportRequest.ProtoReflect.Descriptor instead.

func (*GetMetadataImportRequest) GetName

func (x *GetMetadataImportRequest) GetName() string

func (*GetMetadataImportRequest) ProtoMessage

func (*GetMetadataImportRequest) ProtoMessage()

func (*GetMetadataImportRequest) ProtoReflect

func (x *GetMetadataImportRequest) ProtoReflect() protoreflect.Message

func (*GetMetadataImportRequest) Reset

func (x *GetMetadataImportRequest) Reset()

func (*GetMetadataImportRequest) String

func (x *GetMetadataImportRequest) String() string

type GetServiceRequest

type GetServiceRequest struct {

	// Required. The relative resource name of the metastore service to retrieve,
	// in the following form:
	//
	// `projects/{project_number}/locations/{location_id}/services/{service_id}`.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

Request message for [DataprocMetastore.GetService][google.cloud.metastore.v1beta.DataprocMetastore.GetService].

func (*GetServiceRequest) Descriptor deprecated

func (*GetServiceRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetServiceRequest.ProtoReflect.Descriptor instead.

func (*GetServiceRequest) GetName

func (x *GetServiceRequest) GetName() string

func (*GetServiceRequest) ProtoMessage

func (*GetServiceRequest) ProtoMessage()

func (*GetServiceRequest) ProtoReflect

func (x *GetServiceRequest) ProtoReflect() protoreflect.Message

func (*GetServiceRequest) Reset

func (x *GetServiceRequest) Reset()

func (*GetServiceRequest) String

func (x *GetServiceRequest) String() string

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"`
	// The protocol to use for the metastore service endpoint. If unspecified,
	// defaults to `THRIFT`.
	EndpointProtocol HiveMetastoreConfig_EndpointProtocol `` /* 182-byte string literal not displayed */
	// 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 added in v1.9.0

func (x *HiveMetastoreConfig) GetAuxiliaryVersions() map[string]*AuxiliaryVersionConfig

func (*HiveMetastoreConfig) GetConfigOverrides

func (x *HiveMetastoreConfig) GetConfigOverrides() map[string]string

func (*HiveMetastoreConfig) GetEndpointProtocol added in v1.9.0

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 HiveMetastoreConfig_EndpointProtocol added in v1.9.0

type HiveMetastoreConfig_EndpointProtocol int32

Protocols available for serving the metastore service endpoint.

const (
	// The protocol is not set.
	HiveMetastoreConfig_ENDPOINT_PROTOCOL_UNSPECIFIED HiveMetastoreConfig_EndpointProtocol = 0
	// Use the legacy Apache Thrift protocol for the metastore service endpoint.
	HiveMetastoreConfig_THRIFT HiveMetastoreConfig_EndpointProtocol = 1
	// Use the modernized gRPC protocol for the metastore service endpoint.
	HiveMetastoreConfig_GRPC HiveMetastoreConfig_EndpointProtocol = 2
)

func (HiveMetastoreConfig_EndpointProtocol) Descriptor added in v1.9.0

func (HiveMetastoreConfig_EndpointProtocol) Enum added in v1.9.0

func (HiveMetastoreConfig_EndpointProtocol) EnumDescriptor deprecated added in v1.9.0

func (HiveMetastoreConfig_EndpointProtocol) EnumDescriptor() ([]byte, []int)

Deprecated: Use HiveMetastoreConfig_EndpointProtocol.Descriptor instead.

func (HiveMetastoreConfig_EndpointProtocol) Number added in v1.9.0

func (HiveMetastoreConfig_EndpointProtocol) String added in v1.9.0

func (HiveMetastoreConfig_EndpointProtocol) Type added in v1.9.0

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 Lake added in v1.9.0

type Lake struct {

	// The Lake resource name.
	// Example:
	// `projects/{project_number}/locations/{location_id}/lakes/{lake_id}`
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

Represents a Lake resource

func (*Lake) Descriptor deprecated added in v1.9.0

func (*Lake) Descriptor() ([]byte, []int)

Deprecated: Use Lake.ProtoReflect.Descriptor instead.

func (*Lake) GetName added in v1.9.0

func (x *Lake) GetName() string

func (*Lake) ProtoMessage added in v1.9.0

func (*Lake) ProtoMessage()

func (*Lake) ProtoReflect added in v1.9.0

func (x *Lake) ProtoReflect() protoreflect.Message

func (*Lake) Reset added in v1.9.0

func (x *Lake) Reset()

func (*Lake) String added in v1.9.0

func (x *Lake) String() string

type ListBackupsRequest

type ListBackupsRequest struct {

	// Required. The relative resource name of the service whose backups to
	// list, in the following form:
	//
	// `projects/{project_number}/locations/{location_id}/services/{service_id}/backups`.
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// Optional. The maximum number of backups to return. The response may contain
	// less than the maximum number. If unspecified, no more than 500 backups are
	// returned. The maximum value is 1000; values above 1000 are changed to 1000.
	PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	// Optional. A page token, received from a previous
	// [DataprocMetastore.ListBackups][google.cloud.metastore.v1beta.DataprocMetastore.ListBackups]
	// call. Provide this token to retrieve the subsequent page.
	//
	// To retrieve the first page, supply an empty page token.
	//
	// When paginating, other parameters provided to
	// [DataprocMetastore.ListBackups][google.cloud.metastore.v1beta.DataprocMetastore.ListBackups]
	// must match the call that provided the page token.
	PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
	// Optional. The filter to apply to list results.
	Filter string `protobuf:"bytes,4,opt,name=filter,proto3" json:"filter,omitempty"`
	// Optional. Specify the ordering of results as described in [Sorting
	// Order](https://cloud.google.com/apis/design/design_patterns#sorting_order).
	// If not specified, the results will be sorted in the default order.
	OrderBy string `protobuf:"bytes,5,opt,name=order_by,json=orderBy,proto3" json:"order_by,omitempty"`
	// contains filtered or unexported fields
}

Request message for [DataprocMetastore.ListBackups][google.cloud.metastore.v1beta.DataprocMetastore.ListBackups].

func (*ListBackupsRequest) Descriptor deprecated

func (*ListBackupsRequest) Descriptor() ([]byte, []int)

Deprecated: Use ListBackupsRequest.ProtoReflect.Descriptor instead.

func (*ListBackupsRequest) GetFilter

func (x *ListBackupsRequest) GetFilter() string

func (*ListBackupsRequest) GetOrderBy

func (x *ListBackupsRequest) GetOrderBy() string

func (*ListBackupsRequest) GetPageSize

func (x *ListBackupsRequest) GetPageSize() int32

func (*ListBackupsRequest) GetPageToken

func (x *ListBackupsRequest) GetPageToken() string

func (*ListBackupsRequest) GetParent

func (x *ListBackupsRequest) GetParent() string

func (*ListBackupsRequest) ProtoMessage

func (*ListBackupsRequest) ProtoMessage()

func (*ListBackupsRequest) ProtoReflect

func (x *ListBackupsRequest) ProtoReflect() protoreflect.Message

func (*ListBackupsRequest) Reset

func (x *ListBackupsRequest) Reset()

func (*ListBackupsRequest) String

func (x *ListBackupsRequest) String() string

type ListBackupsResponse

type ListBackupsResponse struct {

	// The backups of the specified service.
	Backups []*Backup `protobuf:"bytes,1,rep,name=backups,proto3" json:"backups,omitempty"`
	// A token that can be sent as `page_token` to retrieve the next page. If this
	// field is omitted, there are no subsequent pages.
	NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
	// Locations that could not be reached.
	Unreachable []string `protobuf:"bytes,3,rep,name=unreachable,proto3" json:"unreachable,omitempty"`
	// contains filtered or unexported fields
}

Response message for [DataprocMetastore.ListBackups][google.cloud.metastore.v1beta.DataprocMetastore.ListBackups].

func (*ListBackupsResponse) Descriptor deprecated

func (*ListBackupsResponse) Descriptor() ([]byte, []int)

Deprecated: Use ListBackupsResponse.ProtoReflect.Descriptor instead.

func (*ListBackupsResponse) GetBackups

func (x *ListBackupsResponse) GetBackups() []*Backup

func (*ListBackupsResponse) GetNextPageToken

func (x *ListBackupsResponse) GetNextPageToken() string

func (*ListBackupsResponse) GetUnreachable

func (x *ListBackupsResponse) GetUnreachable() []string

func (*ListBackupsResponse) ProtoMessage

func (*ListBackupsResponse) ProtoMessage()

func (*ListBackupsResponse) ProtoReflect

func (x *ListBackupsResponse) ProtoReflect() protoreflect.Message

func (*ListBackupsResponse) Reset

func (x *ListBackupsResponse) Reset()

func (*ListBackupsResponse) String

func (x *ListBackupsResponse) String() string

type ListFederationsRequest added in v1.9.0

type ListFederationsRequest struct {

	// Required. The relative resource name of the location of metastore
	// federations to list, in the following form:
	// `projects/{project_number}/locations/{location_id}`.
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// Optional. The maximum number of federations to return. The response may
	// contain less than the maximum number. If unspecified, no more than 500
	// services are returned. The maximum value is 1000; values above 1000 are
	// changed to 1000.
	PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	// Optional. A page token, received from a previous ListFederationServices
	// call. Provide this token to retrieve the subsequent page.
	//
	// To retrieve the first page, supply an empty page token.
	//
	// When paginating, other parameters provided to
	// ListFederationServices must match the call that provided the
	// page token.
	PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
	// Optional. The filter to apply to list results.
	Filter string `protobuf:"bytes,4,opt,name=filter,proto3" json:"filter,omitempty"`
	// Optional. Specify the ordering of results as described in [Sorting
	// Order](https://cloud.google.com/apis/design/design_patterns#sorting_order).
	// If not specified, the results will be sorted in the default order.
	OrderBy string `protobuf:"bytes,5,opt,name=order_by,json=orderBy,proto3" json:"order_by,omitempty"`
	// contains filtered or unexported fields
}

Request message for ListFederations.

func (*ListFederationsRequest) Descriptor deprecated added in v1.9.0

func (*ListFederationsRequest) Descriptor() ([]byte, []int)

Deprecated: Use ListFederationsRequest.ProtoReflect.Descriptor instead.

func (*ListFederationsRequest) GetFilter added in v1.9.0

func (x *ListFederationsRequest) GetFilter() string

func (*ListFederationsRequest) GetOrderBy added in v1.9.0

func (x *ListFederationsRequest) GetOrderBy() string

func (*ListFederationsRequest) GetPageSize added in v1.9.0

func (x *ListFederationsRequest) GetPageSize() int32

func (*ListFederationsRequest) GetPageToken added in v1.9.0

func (x *ListFederationsRequest) GetPageToken() string

func (*ListFederationsRequest) GetParent added in v1.9.0

func (x *ListFederationsRequest) GetParent() string

func (*ListFederationsRequest) ProtoMessage added in v1.9.0

func (*ListFederationsRequest) ProtoMessage()

func (*ListFederationsRequest) ProtoReflect added in v1.9.0

func (x *ListFederationsRequest) ProtoReflect() protoreflect.Message

func (*ListFederationsRequest) Reset added in v1.9.0

func (x *ListFederationsRequest) Reset()

func (*ListFederationsRequest) String added in v1.9.0

func (x *ListFederationsRequest) String() string

type ListFederationsResponse added in v1.9.0

type ListFederationsResponse struct {

	// The services in the specified location.
	Federations []*Federation `protobuf:"bytes,1,rep,name=federations,proto3" json:"federations,omitempty"`
	// A token that can be sent as `page_token` to retrieve the next page. If this
	// field is omitted, there are no subsequent pages.
	NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
	// Locations that could not be reached.
	Unreachable []string `protobuf:"bytes,3,rep,name=unreachable,proto3" json:"unreachable,omitempty"`
	// contains filtered or unexported fields
}

Response message for ListFederations

func (*ListFederationsResponse) Descriptor deprecated added in v1.9.0

func (*ListFederationsResponse) Descriptor() ([]byte, []int)

Deprecated: Use ListFederationsResponse.ProtoReflect.Descriptor instead.

func (*ListFederationsResponse) GetFederations added in v1.9.0

func (x *ListFederationsResponse) GetFederations() []*Federation

func (*ListFederationsResponse) GetNextPageToken added in v1.9.0

func (x *ListFederationsResponse) GetNextPageToken() string

func (*ListFederationsResponse) GetUnreachable added in v1.9.0

func (x *ListFederationsResponse) GetUnreachable() []string

func (*ListFederationsResponse) ProtoMessage added in v1.9.0

func (*ListFederationsResponse) ProtoMessage()

func (*ListFederationsResponse) ProtoReflect added in v1.9.0

func (x *ListFederationsResponse) ProtoReflect() protoreflect.Message

func (*ListFederationsResponse) Reset added in v1.9.0

func (x *ListFederationsResponse) Reset()

func (*ListFederationsResponse) String added in v1.9.0

func (x *ListFederationsResponse) String() string

type ListMetadataImportsRequest

type ListMetadataImportsRequest struct {

	// Required. The relative resource name of the service whose metadata imports
	// to list, in the following form:
	//
	// `projects/{project_number}/locations/{location_id}/services/{service_id}/metadataImports`.
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// Optional. The maximum number of imports to return. The response may contain
	// less than the maximum number. If unspecified, no more than 500 imports are
	// returned. The maximum value is 1000; values above 1000 are changed to 1000.
	PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	// Optional. A page token, received from a previous
	// [DataprocMetastore.ListServices][google.cloud.metastore.v1beta.DataprocMetastore.ListServices]
	// call. Provide this token to retrieve the subsequent page.
	//
	// To retrieve the first page, supply an empty page token.
	//
	// When paginating, other parameters provided to
	// [DataprocMetastore.ListServices][google.cloud.metastore.v1beta.DataprocMetastore.ListServices]
	// must match the call that provided the page token.
	PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
	// Optional. The filter to apply to list results.
	Filter string `protobuf:"bytes,4,opt,name=filter,proto3" json:"filter,omitempty"`
	// Optional. Specify the ordering of results as described in [Sorting
	// Order](https://cloud.google.com/apis/design/design_patterns#sorting_order).
	// If not specified, the results will be sorted in the default order.
	OrderBy string `protobuf:"bytes,5,opt,name=order_by,json=orderBy,proto3" json:"order_by,omitempty"`
	// contains filtered or unexported fields
}

Request message for [DataprocMetastore.ListMetadataImports][google.cloud.metastore.v1beta.DataprocMetastore.ListMetadataImports].

func (*ListMetadataImportsRequest) Descriptor deprecated

func (*ListMetadataImportsRequest) Descriptor() ([]byte, []int)

Deprecated: Use ListMetadataImportsRequest.ProtoReflect.Descriptor instead.

func (*ListMetadataImportsRequest) GetFilter

func (x *ListMetadataImportsRequest) GetFilter() string

func (*ListMetadataImportsRequest) GetOrderBy

func (x *ListMetadataImportsRequest) GetOrderBy() string

func (*ListMetadataImportsRequest) GetPageSize

func (x *ListMetadataImportsRequest) GetPageSize() int32

func (*ListMetadataImportsRequest) GetPageToken

func (x *ListMetadataImportsRequest) GetPageToken() string

func (*ListMetadataImportsRequest) GetParent

func (x *ListMetadataImportsRequest) GetParent() string

func (*ListMetadataImportsRequest) ProtoMessage

func (*ListMetadataImportsRequest) ProtoMessage()

func (*ListMetadataImportsRequest) ProtoReflect

func (*ListMetadataImportsRequest) Reset

func (x *ListMetadataImportsRequest) Reset()

func (*ListMetadataImportsRequest) String

func (x *ListMetadataImportsRequest) String() string

type ListMetadataImportsResponse

type ListMetadataImportsResponse struct {

	// The imports in the specified service.
	MetadataImports []*MetadataImport `protobuf:"bytes,1,rep,name=metadata_imports,json=metadataImports,proto3" json:"metadata_imports,omitempty"`
	// A token that can be sent as `page_token` to retrieve the next page. If this
	// field is omitted, there are no subsequent pages.
	NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
	// Locations that could not be reached.
	Unreachable []string `protobuf:"bytes,3,rep,name=unreachable,proto3" json:"unreachable,omitempty"`
	// contains filtered or unexported fields
}

Response message for [DataprocMetastore.ListMetadataImports][google.cloud.metastore.v1beta.DataprocMetastore.ListMetadataImports].

func (*ListMetadataImportsResponse) Descriptor deprecated

func (*ListMetadataImportsResponse) Descriptor() ([]byte, []int)

Deprecated: Use ListMetadataImportsResponse.ProtoReflect.Descriptor instead.

func (*ListMetadataImportsResponse) GetMetadataImports

func (x *ListMetadataImportsResponse) GetMetadataImports() []*MetadataImport

func (*ListMetadataImportsResponse) GetNextPageToken

func (x *ListMetadataImportsResponse) GetNextPageToken() string

func (*ListMetadataImportsResponse) GetUnreachable

func (x *ListMetadataImportsResponse) GetUnreachable() []string

func (*ListMetadataImportsResponse) ProtoMessage

func (*ListMetadataImportsResponse) ProtoMessage()

func (*ListMetadataImportsResponse) ProtoReflect

func (*ListMetadataImportsResponse) Reset

func (x *ListMetadataImportsResponse) Reset()

func (*ListMetadataImportsResponse) String

func (x *ListMetadataImportsResponse) String() string

type ListServicesRequest

type ListServicesRequest struct {

	// Required. The relative resource name of the location of metastore services
	// to list, in the following form:
	//
	// `projects/{project_number}/locations/{location_id}`.
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// Optional. The maximum number of services to return. The response may
	// contain less than the maximum number. If unspecified, no more than 500
	// services are returned. The maximum value is 1000; values above 1000 are
	// changed to 1000.
	PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	// Optional. A page token, received from a previous
	// [DataprocMetastore.ListServices][google.cloud.metastore.v1beta.DataprocMetastore.ListServices]
	// call. Provide this token to retrieve the subsequent page.
	//
	// To retrieve the first page, supply an empty page token.
	//
	// When paginating, other parameters provided to
	// [DataprocMetastore.ListServices][google.cloud.metastore.v1beta.DataprocMetastore.ListServices]
	// must match the call that provided the page token.
	PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
	// Optional. The filter to apply to list results.
	Filter string `protobuf:"bytes,4,opt,name=filter,proto3" json:"filter,omitempty"`
	// Optional. Specify the ordering of results as described in [Sorting
	// Order](https://cloud.google.com/apis/design/design_patterns#sorting_order).
	// If not specified, the results will be sorted in the default order.
	OrderBy string `protobuf:"bytes,5,opt,name=order_by,json=orderBy,proto3" json:"order_by,omitempty"`
	// contains filtered or unexported fields
}

Request message for [DataprocMetastore.ListServices][google.cloud.metastore.v1beta.DataprocMetastore.ListServices].

func (*ListServicesRequest) Descriptor deprecated

func (*ListServicesRequest) Descriptor() ([]byte, []int)

Deprecated: Use ListServicesRequest.ProtoReflect.Descriptor instead.

func (*ListServicesRequest) GetFilter

func (x *ListServicesRequest) GetFilter() string

func (*ListServicesRequest) GetOrderBy

func (x *ListServicesRequest) GetOrderBy() string

func (*ListServicesRequest) GetPageSize

func (x *ListServicesRequest) GetPageSize() int32

func (*ListServicesRequest) GetPageToken

func (x *ListServicesRequest) GetPageToken() string

func (*ListServicesRequest) GetParent

func (x *ListServicesRequest) GetParent() string

func (*ListServicesRequest) ProtoMessage

func (*ListServicesRequest) ProtoMessage()

func (*ListServicesRequest) ProtoReflect

func (x *ListServicesRequest) ProtoReflect() protoreflect.Message

func (*ListServicesRequest) Reset

func (x *ListServicesRequest) Reset()

func (*ListServicesRequest) String

func (x *ListServicesRequest) String() string

type ListServicesResponse

type ListServicesResponse struct {

	// The services in the specified location.
	Services []*Service `protobuf:"bytes,1,rep,name=services,proto3" json:"services,omitempty"`
	// A token that can be sent as `page_token` to retrieve the next page. If this
	// field is omitted, there are no subsequent pages.
	NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
	// Locations that could not be reached.
	Unreachable []string `protobuf:"bytes,3,rep,name=unreachable,proto3" json:"unreachable,omitempty"`
	// contains filtered or unexported fields
}

Response message for [DataprocMetastore.ListServices][google.cloud.metastore.v1beta.DataprocMetastore.ListServices].

func (*ListServicesResponse) Descriptor deprecated

func (*ListServicesResponse) Descriptor() ([]byte, []int)

Deprecated: Use ListServicesResponse.ProtoReflect.Descriptor instead.

func (*ListServicesResponse) GetNextPageToken

func (x *ListServicesResponse) GetNextPageToken() string

func (*ListServicesResponse) GetServices

func (x *ListServicesResponse) GetServices() []*Service

func (*ListServicesResponse) GetUnreachable

func (x *ListServicesResponse) GetUnreachable() []string

func (*ListServicesResponse) ProtoMessage

func (*ListServicesResponse) ProtoMessage()

func (*ListServicesResponse) ProtoReflect

func (x *ListServicesResponse) ProtoReflect() protoreflect.Message

func (*ListServicesResponse) Reset

func (x *ListServicesResponse) Reset()

func (*ListServicesResponse) String

func (x *ListServicesResponse) String() string

type LocationMetadata

type LocationMetadata struct {

	// The versions of Hive Metastore that can be used when creating a new
	// metastore service in this location. The server guarantees that exactly one
	// `HiveMetastoreVersion` in the list will set `is_default`.
	SupportedHiveMetastoreVersions []*LocationMetadata_HiveMetastoreVersion `` /* 155-byte string literal not displayed */
	// contains filtered or unexported fields
}

Metadata about the service in a location.

func (*LocationMetadata) Descriptor deprecated

func (*LocationMetadata) Descriptor() ([]byte, []int)

Deprecated: Use LocationMetadata.ProtoReflect.Descriptor instead.

func (*LocationMetadata) GetSupportedHiveMetastoreVersions

func (x *LocationMetadata) GetSupportedHiveMetastoreVersions() []*LocationMetadata_HiveMetastoreVersion

func (*LocationMetadata) ProtoMessage

func (*LocationMetadata) ProtoMessage()

func (*LocationMetadata) ProtoReflect

func (x *LocationMetadata) ProtoReflect() protoreflect.Message

func (*LocationMetadata) Reset

func (x *LocationMetadata) Reset()

func (*LocationMetadata) String

func (x *LocationMetadata) String() string

type LocationMetadata_HiveMetastoreVersion

type LocationMetadata_HiveMetastoreVersion struct {

	// The semantic version of the Hive Metastore software.
	Version string `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"`
	// Whether `version` will be chosen by the server if a metastore service is
	// created with a `HiveMetastoreConfig` that omits the `version`.
	IsDefault bool `protobuf:"varint,2,opt,name=is_default,json=isDefault,proto3" json:"is_default,omitempty"`
	// contains filtered or unexported fields
}

A specification of a supported version of the Hive Metastore software.

func (*LocationMetadata_HiveMetastoreVersion) Descriptor deprecated

func (*LocationMetadata_HiveMetastoreVersion) Descriptor() ([]byte, []int)

Deprecated: Use LocationMetadata_HiveMetastoreVersion.ProtoReflect.Descriptor instead.

func (*LocationMetadata_HiveMetastoreVersion) GetIsDefault

func (x *LocationMetadata_HiveMetastoreVersion) GetIsDefault() bool

func (*LocationMetadata_HiveMetastoreVersion) GetVersion

func (*LocationMetadata_HiveMetastoreVersion) ProtoMessage

func (*LocationMetadata_HiveMetastoreVersion) ProtoMessage()

func (*LocationMetadata_HiveMetastoreVersion) ProtoReflect

func (*LocationMetadata_HiveMetastoreVersion) Reset

func (*LocationMetadata_HiveMetastoreVersion) 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.cloud.metastore.v1beta.MetadataExport_State" json:"state,omitempty"`
	// Output only. The type of the database dump.
	DatabaseDumpType DatabaseDumpSpec_Type `` /* 169-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) Enum

func (MetadataExport_State) EnumDescriptor deprecated

func (MetadataExport_State) EnumDescriptor() ([]byte, []int)

Deprecated: Use MetadataExport_State.Descriptor instead.

func (MetadataExport_State) Number

func (MetadataExport_State) String

func (x MetadataExport_State) String() string

func (MetadataExport_State) Type

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.cloud.metastore.v1beta.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 added in v1.9.0

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 MetadataImport_DatabaseDump

type MetadataImport_DatabaseDump struct {

	// The type of the database.
	//
	// Deprecated: Marked as deprecated in google/cloud/metastore/v1beta/metastore.proto.
	DatabaseType MetadataImport_DatabaseDump_DatabaseType `` /* 174-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.
	//
	// Deprecated: Marked as deprecated in google/cloud/metastore/v1beta/metastore.proto.
	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.cloud.metastore.v1beta.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 deprecated

Deprecated: Marked as deprecated in google/cloud/metastore/v1beta/metastore.proto.

func (*MetadataImport_DatabaseDump) GetGcsUri

func (x *MetadataImport_DatabaseDump) GetGcsUri() string

func (*MetadataImport_DatabaseDump) GetSourceDatabase deprecated

func (x *MetadataImport_DatabaseDump) GetSourceDatabase() string

Deprecated: Marked as deprecated in google/cloud/metastore/v1beta/metastore.proto.

func (*MetadataImport_DatabaseDump) GetType

func (*MetadataImport_DatabaseDump) ProtoMessage

func (*MetadataImport_DatabaseDump) ProtoMessage()

func (*MetadataImport_DatabaseDump) ProtoReflect

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) Enum

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 (MetadataImport_DatabaseDump_DatabaseType) String

func (MetadataImport_DatabaseDump_DatabaseType) Type

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) Enum

func (MetadataImport_State) EnumDescriptor deprecated

func (MetadataImport_State) EnumDescriptor() ([]byte, []int)

Deprecated: Use MetadataImport_State.Descriptor instead.

func (MetadataImport_State) Number

func (MetadataImport_State) String

func (x MetadataImport_State) String() string

func (MetadataImport_State) Type

type MetadataIntegration

type MetadataIntegration struct {

	// The integration config for the Data Catalog service.
	DataCatalogConfig *DataCatalogConfig `protobuf:"bytes,1,opt,name=data_catalog_config,json=dataCatalogConfig,proto3" json:"data_catalog_config,omitempty"`
	// The integration config for the Dataplex service.
	DataplexConfig *DataplexConfig `protobuf:"bytes,2,opt,name=dataplex_config,json=dataplexConfig,proto3" json:"dataplex_config,omitempty"`
	// contains filtered or unexported fields
}

Specifies how metastore metadata should be integrated with external services.

func (*MetadataIntegration) Descriptor deprecated

func (*MetadataIntegration) Descriptor() ([]byte, []int)

Deprecated: Use MetadataIntegration.ProtoReflect.Descriptor instead.

func (*MetadataIntegration) GetDataCatalogConfig

func (x *MetadataIntegration) GetDataCatalogConfig() *DataCatalogConfig

func (*MetadataIntegration) GetDataplexConfig added in v1.9.0

func (x *MetadataIntegration) GetDataplexConfig() *DataplexConfig

func (*MetadataIntegration) ProtoMessage

func (*MetadataIntegration) ProtoMessage()

func (*MetadataIntegration) ProtoReflect

func (x *MetadataIntegration) ProtoReflect() protoreflect.Message

func (*MetadataIntegration) Reset

func (x *MetadataIntegration) Reset()

func (*MetadataIntegration) String

func (x *MetadataIntegration) String() string

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 (*MetadataManagementActivity) Reset

func (x *MetadataManagementActivity) Reset()

func (*MetadataManagementActivity) String

func (x *MetadataManagementActivity) String() string

type MoveTableToDatabaseRequest added in v1.10.0

type MoveTableToDatabaseRequest struct {

	// Required. The relative resource name of the metastore service to mutate
	// metadata, in the following format:
	//
	// `projects/{project_id}/locations/{location_id}/services/{service_id}`.
	Service string `protobuf:"bytes,1,opt,name=service,proto3" json:"service,omitempty"`
	// Required. The name of the table to be moved.
	TableName string `protobuf:"bytes,2,opt,name=table_name,json=tableName,proto3" json:"table_name,omitempty"`
	// Required. The name of the database where the table resides.
	DbName string `protobuf:"bytes,3,opt,name=db_name,json=dbName,proto3" json:"db_name,omitempty"`
	// Required. The name of the database where the table should be moved.
	DestinationDbName string `protobuf:"bytes,4,opt,name=destination_db_name,json=destinationDbName,proto3" json:"destination_db_name,omitempty"`
	// contains filtered or unexported fields
}

Request message for [DataprocMetastore.MoveTableToDatabase][google.cloud.metastore.v1beta.DataprocMetastore.MoveTableToDatabase].

func (*MoveTableToDatabaseRequest) Descriptor deprecated added in v1.10.0

func (*MoveTableToDatabaseRequest) Descriptor() ([]byte, []int)

Deprecated: Use MoveTableToDatabaseRequest.ProtoReflect.Descriptor instead.

func (*MoveTableToDatabaseRequest) GetDbName added in v1.10.0

func (x *MoveTableToDatabaseRequest) GetDbName() string

func (*MoveTableToDatabaseRequest) GetDestinationDbName added in v1.10.0

func (x *MoveTableToDatabaseRequest) GetDestinationDbName() string

func (*MoveTableToDatabaseRequest) GetService added in v1.10.0

func (x *MoveTableToDatabaseRequest) GetService() string

func (*MoveTableToDatabaseRequest) GetTableName added in v1.10.0

func (x *MoveTableToDatabaseRequest) GetTableName() string

func (*MoveTableToDatabaseRequest) ProtoMessage added in v1.10.0

func (*MoveTableToDatabaseRequest) ProtoMessage()

func (*MoveTableToDatabaseRequest) ProtoReflect added in v1.10.0

func (*MoveTableToDatabaseRequest) Reset added in v1.10.0

func (x *MoveTableToDatabaseRequest) Reset()

func (*MoveTableToDatabaseRequest) String added in v1.10.0

func (x *MoveTableToDatabaseRequest) String() string

type MoveTableToDatabaseResponse added in v1.10.0

type MoveTableToDatabaseResponse struct {
	// contains filtered or unexported fields
}

Response message for [DataprocMetastore.MoveTableToDatabase][google.cloud.metastore.v1beta.DataprocMetastore.MoveTableToDatabase].

func (*MoveTableToDatabaseResponse) Descriptor deprecated added in v1.10.0

func (*MoveTableToDatabaseResponse) Descriptor() ([]byte, []int)

Deprecated: Use MoveTableToDatabaseResponse.ProtoReflect.Descriptor instead.

func (*MoveTableToDatabaseResponse) ProtoMessage added in v1.10.0

func (*MoveTableToDatabaseResponse) ProtoMessage()

func (*MoveTableToDatabaseResponse) ProtoReflect added in v1.10.0

func (*MoveTableToDatabaseResponse) Reset added in v1.10.0

func (x *MoveTableToDatabaseResponse) Reset()

func (*MoveTableToDatabaseResponse) String added in v1.10.0

func (x *MoveTableToDatabaseResponse) String() string

type NetworkConfig added in v1.9.0

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"`
	// Enables custom routes to be imported and exported for the Dataproc
	// Metastore service's peered VPC network.
	CustomRoutesEnabled bool `protobuf:"varint,2,opt,name=custom_routes_enabled,json=customRoutesEnabled,proto3" json:"custom_routes_enabled,omitempty"`
	// contains filtered or unexported fields
}

Network configuration for the Dataproc Metastore service.

Next available ID: 4

func (*NetworkConfig) Descriptor deprecated added in v1.9.0

func (*NetworkConfig) Descriptor() ([]byte, []int)

Deprecated: Use NetworkConfig.ProtoReflect.Descriptor instead.

func (*NetworkConfig) GetConsumers added in v1.9.0

func (x *NetworkConfig) GetConsumers() []*NetworkConfig_Consumer

func (*NetworkConfig) GetCustomRoutesEnabled added in v1.10.1

func (x *NetworkConfig) GetCustomRoutesEnabled() bool

func (*NetworkConfig) ProtoMessage added in v1.9.0

func (*NetworkConfig) ProtoMessage()

func (*NetworkConfig) ProtoReflect added in v1.9.0

func (x *NetworkConfig) ProtoReflect() protoreflect.Message

func (*NetworkConfig) Reset added in v1.9.0

func (x *NetworkConfig) Reset()

func (*NetworkConfig) String added in v1.9.0

func (x *NetworkConfig) String() string

type NetworkConfig_Consumer added in v1.9.0

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"`
	// Output only. The location of the endpoint URI. Format:
	// `projects/{project}/locations/{location}`.
	EndpointLocation string `protobuf:"bytes,4,opt,name=endpoint_location,json=endpointLocation,proto3" json:"endpoint_location,omitempty"`
	// contains filtered or unexported fields
}

Contains information of the customer's network configurations.

Next available ID: 5

func (*NetworkConfig_Consumer) Descriptor deprecated added in v1.9.0

func (*NetworkConfig_Consumer) Descriptor() ([]byte, []int)

Deprecated: Use NetworkConfig_Consumer.ProtoReflect.Descriptor instead.

func (*NetworkConfig_Consumer) GetEndpointLocation added in v1.13.0

func (x *NetworkConfig_Consumer) GetEndpointLocation() string

func (*NetworkConfig_Consumer) GetEndpointUri added in v1.9.0

func (x *NetworkConfig_Consumer) GetEndpointUri() string

func (*NetworkConfig_Consumer) GetSubnetwork added in v1.9.0

func (x *NetworkConfig_Consumer) GetSubnetwork() string

func (*NetworkConfig_Consumer) GetVpcResource added in v1.9.0

func (m *NetworkConfig_Consumer) GetVpcResource() isNetworkConfig_Consumer_VpcResource

func (*NetworkConfig_Consumer) ProtoMessage added in v1.9.0

func (*NetworkConfig_Consumer) ProtoMessage()

func (*NetworkConfig_Consumer) ProtoReflect added in v1.9.0

func (x *NetworkConfig_Consumer) ProtoReflect() protoreflect.Message

func (*NetworkConfig_Consumer) Reset added in v1.9.0

func (x *NetworkConfig_Consumer) Reset()

func (*NetworkConfig_Consumer) String added in v1.9.0

func (x *NetworkConfig_Consumer) String() string

type NetworkConfig_Consumer_Subnetwork added in v1.9.0

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 OperationMetadata

type OperationMetadata struct {

	// Output only. The time the operation was created.
	CreateTime *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
	// Output only. The time the operation finished running.
	EndTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"`
	// Output only. Server-defined resource path for the target of the operation.
	Target string `protobuf:"bytes,3,opt,name=target,proto3" json:"target,omitempty"`
	// Output only. Name of the verb executed by the operation.
	Verb string `protobuf:"bytes,4,opt,name=verb,proto3" json:"verb,omitempty"`
	// Output only. Human-readable status of the operation, if any.
	StatusMessage string `protobuf:"bytes,5,opt,name=status_message,json=statusMessage,proto3" json:"status_message,omitempty"`
	// Output only. Identifies whether the caller has requested cancellation
	// of the operation. Operations that have successfully been cancelled
	// have [Operation.error][] value with a
	// [google.rpc.Status.code][google.rpc.Status.code] of 1, corresponding to
	// `Code.CANCELLED`.
	RequestedCancellation bool `protobuf:"varint,6,opt,name=requested_cancellation,json=requestedCancellation,proto3" json:"requested_cancellation,omitempty"`
	// Output only. API version used to start the operation.
	ApiVersion string `protobuf:"bytes,7,opt,name=api_version,json=apiVersion,proto3" json:"api_version,omitempty"`
	// contains filtered or unexported fields
}

Represents the metadata of a long-running operation.

func (*OperationMetadata) Descriptor deprecated

func (*OperationMetadata) Descriptor() ([]byte, []int)

Deprecated: Use OperationMetadata.ProtoReflect.Descriptor instead.

func (*OperationMetadata) GetApiVersion

func (x *OperationMetadata) GetApiVersion() string

func (*OperationMetadata) GetCreateTime

func (x *OperationMetadata) GetCreateTime() *timestamppb.Timestamp

func (*OperationMetadata) GetEndTime

func (x *OperationMetadata) GetEndTime() *timestamppb.Timestamp

func (*OperationMetadata) GetRequestedCancellation

func (x *OperationMetadata) GetRequestedCancellation() bool

func (*OperationMetadata) GetStatusMessage

func (x *OperationMetadata) GetStatusMessage() string

func (*OperationMetadata) GetTarget

func (x *OperationMetadata) GetTarget() string

func (*OperationMetadata) GetVerb

func (x *OperationMetadata) GetVerb() string

func (*OperationMetadata) ProtoMessage

func (*OperationMetadata) ProtoMessage()

func (*OperationMetadata) ProtoReflect

func (x *OperationMetadata) ProtoReflect() protoreflect.Message

func (*OperationMetadata) Reset

func (x *OperationMetadata) Reset()

func (*OperationMetadata) String

func (x *OperationMetadata) String() string

type QueryMetadataRequest added in v1.10.0

type QueryMetadataRequest struct {

	// Required. The relative resource name of the metastore service to query
	// metadata, in the following format:
	//
	// `projects/{project_id}/locations/{location_id}/services/{service_id}`.
	Service string `protobuf:"bytes,1,opt,name=service,proto3" json:"service,omitempty"`
	// Required. A read-only SQL query to execute against the metadata database.
	// The query cannot change or mutate the data.
	Query string `protobuf:"bytes,2,opt,name=query,proto3" json:"query,omitempty"`
	// contains filtered or unexported fields
}

Request message for [DataprocMetastore.QueryMetadata][google.cloud.metastore.v1beta.DataprocMetastore.QueryMetadata].

func (*QueryMetadataRequest) Descriptor deprecated added in v1.10.0

func (*QueryMetadataRequest) Descriptor() ([]byte, []int)

Deprecated: Use QueryMetadataRequest.ProtoReflect.Descriptor instead.

func (*QueryMetadataRequest) GetQuery added in v1.10.0

func (x *QueryMetadataRequest) GetQuery() string

func (*QueryMetadataRequest) GetService added in v1.10.0

func (x *QueryMetadataRequest) GetService() string

func (*QueryMetadataRequest) ProtoMessage added in v1.10.0

func (*QueryMetadataRequest) ProtoMessage()

func (*QueryMetadataRequest) ProtoReflect added in v1.10.0

func (x *QueryMetadataRequest) ProtoReflect() protoreflect.Message

func (*QueryMetadataRequest) Reset added in v1.10.0

func (x *QueryMetadataRequest) Reset()

func (*QueryMetadataRequest) String added in v1.10.0

func (x *QueryMetadataRequest) String() string

type QueryMetadataResponse added in v1.10.0

type QueryMetadataResponse struct {

	// The manifest URI  is link to a JSON instance in Cloud Storage.
	// This instance manifests immediately along with QueryMetadataResponse. The
	// content of the URI is not retriable until the long-running operation query
	// against the metadata finishes.
	ResultManifestUri string `protobuf:"bytes,1,opt,name=result_manifest_uri,json=resultManifestUri,proto3" json:"result_manifest_uri,omitempty"`
	// contains filtered or unexported fields
}

Response message for [DataprocMetastore.QueryMetadata][google.cloud.metastore.v1beta.DataprocMetastore.QueryMetadata].

func (*QueryMetadataResponse) Descriptor deprecated added in v1.10.0

func (*QueryMetadataResponse) Descriptor() ([]byte, []int)

Deprecated: Use QueryMetadataResponse.ProtoReflect.Descriptor instead.

func (*QueryMetadataResponse) GetResultManifestUri added in v1.10.0

func (x *QueryMetadataResponse) GetResultManifestUri() string

func (*QueryMetadataResponse) ProtoMessage added in v1.10.0

func (*QueryMetadataResponse) ProtoMessage()

func (*QueryMetadataResponse) ProtoReflect added in v1.10.0

func (x *QueryMetadataResponse) ProtoReflect() protoreflect.Message

func (*QueryMetadataResponse) Reset added in v1.10.0

func (x *QueryMetadataResponse) Reset()

func (*QueryMetadataResponse) String added in v1.10.0

func (x *QueryMetadataResponse) String() string

type RemoveIamPolicyRequest added in v1.10.0

type RemoveIamPolicyRequest struct {

	// Required. The relative resource name of the dataplane resource to remove
	// IAM policy, in the following form:
	//
	// `projects/{project_id}/locations/{location_id}/services/{service_id}/databases/{database_id}`
	// or
	// `projects/{project_id}/locations/{location_id}/services/{service_id}/databases/{database_id}/tables/{table_id}`.
	Resource string `protobuf:"bytes,1,opt,name=resource,proto3" json:"resource,omitempty"`
	// Optional. Removes IAM policy attached to database or table asynchronously
	// when it is set. The default is false.
	Asynchronous bool `protobuf:"varint,2,opt,name=asynchronous,proto3" json:"asynchronous,omitempty"`
	// contains filtered or unexported fields
}

Request message for [DataprocMetastore.RemoveIamPolicy][google.cloud.metastore.v1beta.DataprocMetastore.RemoveIamPolicy].

func (*RemoveIamPolicyRequest) Descriptor deprecated added in v1.10.0

func (*RemoveIamPolicyRequest) Descriptor() ([]byte, []int)

Deprecated: Use RemoveIamPolicyRequest.ProtoReflect.Descriptor instead.

func (*RemoveIamPolicyRequest) GetAsynchronous added in v1.10.0

func (x *RemoveIamPolicyRequest) GetAsynchronous() bool

func (*RemoveIamPolicyRequest) GetResource added in v1.10.0

func (x *RemoveIamPolicyRequest) GetResource() string

func (*RemoveIamPolicyRequest) ProtoMessage added in v1.10.0

func (*RemoveIamPolicyRequest) ProtoMessage()

func (*RemoveIamPolicyRequest) ProtoReflect added in v1.10.0

func (x *RemoveIamPolicyRequest) ProtoReflect() protoreflect.Message

func (*RemoveIamPolicyRequest) Reset added in v1.10.0

func (x *RemoveIamPolicyRequest) Reset()

func (*RemoveIamPolicyRequest) String added in v1.10.0

func (x *RemoveIamPolicyRequest) String() string

type RemoveIamPolicyResponse added in v1.10.0

type RemoveIamPolicyResponse struct {

	// True if the policy is successfully removed.
	Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"`
	// contains filtered or unexported fields
}

Response message for [DataprocMetastore.RemoveIamPolicy][google.cloud.metastore.v1beta.DataprocMetastore.RemoveIamPolicy].

func (*RemoveIamPolicyResponse) Descriptor deprecated added in v1.10.0

func (*RemoveIamPolicyResponse) Descriptor() ([]byte, []int)

Deprecated: Use RemoveIamPolicyResponse.ProtoReflect.Descriptor instead.

func (*RemoveIamPolicyResponse) GetSuccess added in v1.10.0

func (x *RemoveIamPolicyResponse) GetSuccess() bool

func (*RemoveIamPolicyResponse) ProtoMessage added in v1.10.0

func (*RemoveIamPolicyResponse) ProtoMessage()

func (*RemoveIamPolicyResponse) ProtoReflect added in v1.10.0

func (x *RemoveIamPolicyResponse) ProtoReflect() protoreflect.Message

func (*RemoveIamPolicyResponse) Reset added in v1.10.0

func (x *RemoveIamPolicyResponse) Reset()

func (*RemoveIamPolicyResponse) String added in v1.10.0

func (x *RemoveIamPolicyResponse) String() string

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.cloud.metastore.v1beta.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.cloud.metastore.v1beta.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) Descriptor() ([]byte, []int)

Deprecated: Use Restore.ProtoReflect.Descriptor instead.

func (*Restore) GetBackup

func (x *Restore) GetBackup() string

func (*Restore) GetDetails

func (x *Restore) GetDetails() string

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

func (*Restore) Reset

func (x *Restore) Reset()

func (*Restore) String

func (x *Restore) String() string

type RestoreServiceRequest

type RestoreServiceRequest struct {

	// Required. The relative resource name of the metastore service to run
	// restore, in the following form:
	//
	// `projects/{project_id}/locations/{location_id}/services/{service_id}`.
	Service string `protobuf:"bytes,1,opt,name=service,proto3" json:"service,omitempty"`
	// Required. 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,2,opt,name=backup,proto3" json:"backup,omitempty"`
	// Optional. The type of restore. If unspecified, defaults to `METADATA_ONLY`.
	RestoreType Restore_RestoreType `` /* 150-byte string literal not displayed */
	// Optional. A request ID. Specify a unique request ID to allow the server to
	// ignore the request if it has completed. The server will ignore subsequent
	// requests that provide a duplicate request ID for at least 60 minutes after
	// the first request.
	//
	// For example, if an initial request times out, followed by another request
	// with the same request ID, the server ignores the second request to prevent
	// the creation of duplicate commitments.
	//
	// The request ID must be a valid
	// [UUID](https://en.wikipedia.org/wiki/Universally_unique_identifier#Format).
	// A zero UUID (00000000-0000-0000-0000-000000000000) is not supported.
	RequestId string `protobuf:"bytes,4,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
	// contains filtered or unexported fields
}

Request message for [DataprocMetastore.Restore][].

func (*RestoreServiceRequest) Descriptor deprecated

func (*RestoreServiceRequest) Descriptor() ([]byte, []int)

Deprecated: Use RestoreServiceRequest.ProtoReflect.Descriptor instead.

func (*RestoreServiceRequest) GetBackup

func (x *RestoreServiceRequest) GetBackup() string

func (*RestoreServiceRequest) GetRequestId

func (x *RestoreServiceRequest) GetRequestId() string

func (*RestoreServiceRequest) GetRestoreType

func (x *RestoreServiceRequest) GetRestoreType() Restore_RestoreType

func (*RestoreServiceRequest) GetService

func (x *RestoreServiceRequest) GetService() string

func (*RestoreServiceRequest) ProtoMessage

func (*RestoreServiceRequest) ProtoMessage()

func (*RestoreServiceRequest) ProtoReflect

func (x *RestoreServiceRequest) ProtoReflect() protoreflect.Message

func (*RestoreServiceRequest) Reset

func (x *RestoreServiceRequest) Reset()

func (*RestoreServiceRequest) String

func (x *RestoreServiceRequest) String() string

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) Enum

func (Restore_RestoreType) EnumDescriptor deprecated

func (Restore_RestoreType) EnumDescriptor() ([]byte, []int)

Deprecated: Use Restore_RestoreType.Descriptor instead.

func (Restore_RestoreType) Number

func (Restore_RestoreType) String

func (x Restore_RestoreType) String() string

func (Restore_RestoreType) Type

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) 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 (Restore_State) String

func (x Restore_State) String() string

func (Restore_State) Type

type ScalingConfig added in v1.10.1

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 added in v1.10.1

func (*ScalingConfig) Descriptor() ([]byte, []int)

Deprecated: Use ScalingConfig.ProtoReflect.Descriptor instead.

func (*ScalingConfig) GetInstanceSize added in v1.10.1

func (x *ScalingConfig) GetInstanceSize() ScalingConfig_InstanceSize

func (*ScalingConfig) GetScalingFactor added in v1.10.1

func (x *ScalingConfig) GetScalingFactor() float32

func (*ScalingConfig) GetScalingModel added in v1.10.1

func (m *ScalingConfig) GetScalingModel() isScalingConfig_ScalingModel

func (*ScalingConfig) ProtoMessage added in v1.10.1

func (*ScalingConfig) ProtoMessage()

func (*ScalingConfig) ProtoReflect added in v1.10.1

func (x *ScalingConfig) ProtoReflect() protoreflect.Message

func (*ScalingConfig) Reset added in v1.10.1

func (x *ScalingConfig) Reset()

func (*ScalingConfig) String added in v1.10.1

func (x *ScalingConfig) String() string

type ScalingConfig_InstanceSize added in v1.10.1

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 added in v1.10.1

func (ScalingConfig_InstanceSize) Enum added in v1.10.1

func (ScalingConfig_InstanceSize) EnumDescriptor deprecated added in v1.10.1

func (ScalingConfig_InstanceSize) EnumDescriptor() ([]byte, []int)

Deprecated: Use ScalingConfig_InstanceSize.Descriptor instead.

func (ScalingConfig_InstanceSize) Number added in v1.10.1

func (ScalingConfig_InstanceSize) String added in v1.10.1

func (ScalingConfig_InstanceSize) Type added in v1.10.1

type ScalingConfig_InstanceSize_ added in v1.10.1

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 `` /* 135-byte string literal not displayed */
}

type ScalingConfig_ScalingFactor added in v1.10.1

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) Descriptor() ([]byte, []int)

Deprecated: Use Secret.ProtoReflect.Descriptor instead.

func (*Secret) GetCloudSecret

func (x *Secret) GetCloudSecret() string

func (*Secret) GetValue

func (m *Secret) GetValue() isSecret_Value

func (*Secret) ProtoMessage

func (*Secret) ProtoMessage()

func (*Secret) ProtoReflect

func (x *Secret) ProtoReflect() protoreflect.Message

func (*Secret) Reset

func (x *Secret) Reset()

func (*Secret) String

func (x *Secret) String() string

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.cloud.metastore.v1beta.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.cloud.metastore.v1beta.Service_Tier" json:"tier,omitempty"`
	// The setting that defines how metastore metadata should be integrated with
	// external services and systems.
	MetadataIntegration *MetadataIntegration `protobuf:"bytes,14,opt,name=metadata_integration,json=metadataIntegration,proto3" json:"metadata_integration,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 `` /* 163-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 `` /* 155-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) Descriptor() ([]byte, []int)

Deprecated: Use Service.ProtoReflect.Descriptor instead.

func (*Service) GetArtifactGcsUri

func (x *Service) GetArtifactGcsUri() string

func (*Service) GetCreateTime

func (x *Service) GetCreateTime() *timestamppb.Timestamp

func (*Service) GetDatabaseType added in v1.9.0

func (x *Service) GetDatabaseType() Service_DatabaseType

func (*Service) GetEncryptionConfig added in v1.9.0

func (x *Service) GetEncryptionConfig() *EncryptionConfig

func (*Service) GetEndpointUri

func (x *Service) GetEndpointUri() string

func (*Service) GetHiveMetastoreConfig

func (x *Service) GetHiveMetastoreConfig() *HiveMetastoreConfig

func (*Service) GetLabels

func (x *Service) GetLabels() map[string]string

func (*Service) GetMaintenanceWindow

func (x *Service) GetMaintenanceWindow() *MaintenanceWindow

func (*Service) GetMetadataIntegration

func (x *Service) GetMetadataIntegration() *MetadataIntegration

func (*Service) GetMetadataManagementActivity

func (x *Service) GetMetadataManagementActivity() *MetadataManagementActivity

func (*Service) GetMetastoreConfig

func (m *Service) GetMetastoreConfig() isService_MetastoreConfig

func (*Service) GetName

func (x *Service) GetName() string

func (*Service) GetNetwork

func (x *Service) GetNetwork() string

func (*Service) GetNetworkConfig added in v1.9.0

func (x *Service) GetNetworkConfig() *NetworkConfig

func (*Service) GetPort

func (x *Service) GetPort() int32

func (*Service) GetReleaseChannel

func (x *Service) GetReleaseChannel() Service_ReleaseChannel

func (*Service) GetScalingConfig added in v1.10.1

func (x *Service) GetScalingConfig() *ScalingConfig

func (*Service) GetState

func (x *Service) GetState() Service_State

func (*Service) GetStateMessage

func (x *Service) GetStateMessage() string

func (*Service) GetTelemetryConfig added in v1.9.0

func (x *Service) GetTelemetryConfig() *TelemetryConfig

func (*Service) GetTier

func (x *Service) GetTier() Service_Tier

func (*Service) GetUid

func (x *Service) GetUid() string

func (*Service) GetUpdateTime

func (x *Service) GetUpdateTime() *timestamppb.Timestamp

func (*Service) ProtoMessage

func (*Service) ProtoMessage()

func (*Service) ProtoReflect

func (x *Service) ProtoReflect() protoreflect.Message

func (*Service) Reset

func (x *Service) Reset()

func (*Service) String

func (x *Service) String() string

type Service_DatabaseType added in v1.9.0

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 added in v1.9.0

func (Service_DatabaseType) Enum added in v1.9.0

func (Service_DatabaseType) EnumDescriptor deprecated added in v1.9.0

func (Service_DatabaseType) EnumDescriptor() ([]byte, []int)

Deprecated: Use Service_DatabaseType.Descriptor instead.

func (Service_DatabaseType) Number added in v1.9.0

func (Service_DatabaseType) String added in v1.9.0

func (x Service_DatabaseType) String() string

func (Service_DatabaseType) Type added in v1.9.0

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) Enum

func (Service_ReleaseChannel) EnumDescriptor deprecated

func (Service_ReleaseChannel) EnumDescriptor() ([]byte, []int)

Deprecated: Use Service_ReleaseChannel.Descriptor instead.

func (Service_ReleaseChannel) Number

func (Service_ReleaseChannel) String

func (x Service_ReleaseChannel) String() string

func (Service_ReleaseChannel) Type

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) 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 (Service_State) String

func (x Service_State) String() string

func (Service_State) Type

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) 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 (Service_Tier) String

func (x Service_Tier) String() string

func (Service_Tier) Type

type TelemetryConfig added in v1.9.0

type TelemetryConfig struct {

	// The output format of the Dataproc Metastore service's logs.
	LogFormat TelemetryConfig_LogFormat `` /* 150-byte string literal not displayed */
	// contains filtered or unexported fields
}

Telemetry Configuration for the Dataproc Metastore service.

func (*TelemetryConfig) Descriptor deprecated added in v1.9.0

func (*TelemetryConfig) Descriptor() ([]byte, []int)

Deprecated: Use TelemetryConfig.ProtoReflect.Descriptor instead.

func (*TelemetryConfig) GetLogFormat added in v1.9.0

func (x *TelemetryConfig) GetLogFormat() TelemetryConfig_LogFormat

func (*TelemetryConfig) ProtoMessage added in v1.9.0

func (*TelemetryConfig) ProtoMessage()

func (*TelemetryConfig) ProtoReflect added in v1.9.0

func (x *TelemetryConfig) ProtoReflect() protoreflect.Message

func (*TelemetryConfig) Reset added in v1.9.0

func (x *TelemetryConfig) Reset()

func (*TelemetryConfig) String added in v1.9.0

func (x *TelemetryConfig) String() string

type TelemetryConfig_LogFormat added in v1.9.0

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 added in v1.9.0

func (TelemetryConfig_LogFormat) Enum added in v1.9.0

func (TelemetryConfig_LogFormat) EnumDescriptor deprecated added in v1.9.0

func (TelemetryConfig_LogFormat) EnumDescriptor() ([]byte, []int)

Deprecated: Use TelemetryConfig_LogFormat.Descriptor instead.

func (TelemetryConfig_LogFormat) Number added in v1.9.0

func (TelemetryConfig_LogFormat) String added in v1.9.0

func (x TelemetryConfig_LogFormat) String() string

func (TelemetryConfig_LogFormat) Type added in v1.9.0

type UnimplementedDataprocMetastoreFederationServer added in v1.9.0

type UnimplementedDataprocMetastoreFederationServer struct {
}

UnimplementedDataprocMetastoreFederationServer can be embedded to have forward compatible implementations.

func (*UnimplementedDataprocMetastoreFederationServer) CreateFederation added in v1.9.0

func (*UnimplementedDataprocMetastoreFederationServer) DeleteFederation added in v1.9.0

func (*UnimplementedDataprocMetastoreFederationServer) GetFederation added in v1.9.0

func (*UnimplementedDataprocMetastoreFederationServer) ListFederations added in v1.9.0

func (*UnimplementedDataprocMetastoreFederationServer) UpdateFederation added in v1.9.0

type UnimplementedDataprocMetastoreServer

type UnimplementedDataprocMetastoreServer struct {
}

UnimplementedDataprocMetastoreServer can be embedded to have forward compatible implementations.

func (*UnimplementedDataprocMetastoreServer) AlterMetadataResourceLocation added in v1.10.0

func (*UnimplementedDataprocMetastoreServer) CreateBackup

func (*UnimplementedDataprocMetastoreServer) CreateMetadataImport

func (*UnimplementedDataprocMetastoreServer) CreateService

func (*UnimplementedDataprocMetastoreServer) DeleteBackup

func (*UnimplementedDataprocMetastoreServer) DeleteService

func (*UnimplementedDataprocMetastoreServer) ExportMetadata

func (*UnimplementedDataprocMetastoreServer) GetBackup

func (*UnimplementedDataprocMetastoreServer) GetMetadataImport

func (*UnimplementedDataprocMetastoreServer) GetService

func (*UnimplementedDataprocMetastoreServer) ListBackups

func (*UnimplementedDataprocMetastoreServer) ListMetadataImports

func (*UnimplementedDataprocMetastoreServer) ListServices

func (*UnimplementedDataprocMetastoreServer) MoveTableToDatabase added in v1.10.0

func (*UnimplementedDataprocMetastoreServer) QueryMetadata added in v1.10.0

func (*UnimplementedDataprocMetastoreServer) RemoveIamPolicy added in v1.10.0

func (*UnimplementedDataprocMetastoreServer) RestoreService

func (*UnimplementedDataprocMetastoreServer) UpdateMetadataImport

func (*UnimplementedDataprocMetastoreServer) UpdateService

type UpdateFederationRequest added in v1.9.0

type UpdateFederationRequest struct {

	// Required. A field mask used to specify the fields to be overwritten in the
	// metastore federation resource by the update.
	// Fields specified in the `update_mask` are relative to the resource (not
	// to the full request). A field is overwritten if it is in the mask.
	UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,1,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
	// Required. The metastore federation to update. The server only merges fields
	// in the service if they are specified in `update_mask`.
	//
	// The metastore federation's `name` field is used to identify the
	// metastore service to be updated.
	Federation *Federation `protobuf:"bytes,2,opt,name=federation,proto3" json:"federation,omitempty"`
	// Optional. A request ID. Specify a unique request ID to allow the server to
	// ignore the request if it has completed. The server will ignore subsequent
	// requests that provide a duplicate request ID for at least 60 minutes after
	// the first request.
	//
	// For example, if an initial request times out, followed by another request
	// with the same request ID, the server ignores the second request to prevent
	// the creation of duplicate commitments.
	//
	// The request ID must be a valid
	// [UUID](https://en.wikipedia.org/wiki/Universally_unique_identifier#Format)
	// A zero UUID (00000000-0000-0000-0000-000000000000) is not supported.
	RequestId string `protobuf:"bytes,3,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
	// contains filtered or unexported fields
}

Request message for UpdateFederation.

func (*UpdateFederationRequest) Descriptor deprecated added in v1.9.0

func (*UpdateFederationRequest) Descriptor() ([]byte, []int)

Deprecated: Use UpdateFederationRequest.ProtoReflect.Descriptor instead.

func (*UpdateFederationRequest) GetFederation added in v1.9.0

func (x *UpdateFederationRequest) GetFederation() *Federation

func (*UpdateFederationRequest) GetRequestId added in v1.9.0

func (x *UpdateFederationRequest) GetRequestId() string

func (*UpdateFederationRequest) GetUpdateMask added in v1.9.0

func (x *UpdateFederationRequest) GetUpdateMask() *fieldmaskpb.FieldMask

func (*UpdateFederationRequest) ProtoMessage added in v1.9.0

func (*UpdateFederationRequest) ProtoMessage()

func (*UpdateFederationRequest) ProtoReflect added in v1.9.0

func (x *UpdateFederationRequest) ProtoReflect() protoreflect.Message

func (*UpdateFederationRequest) Reset added in v1.9.0

func (x *UpdateFederationRequest) Reset()

func (*UpdateFederationRequest) String added in v1.9.0

func (x *UpdateFederationRequest) String() string

type UpdateMetadataImportRequest

type UpdateMetadataImportRequest struct {

	// Required. A field mask used to specify the fields to be overwritten in the
	// metadata import resource by the update.
	// Fields specified in the `update_mask` are relative to the resource (not
	// to the full request). A field is overwritten if it is in the mask.
	UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,1,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
	// Required. The metadata import to update. The server only merges fields
	// in the import if they are specified in `update_mask`.
	//
	// The metadata import's `name` field is used to identify the metastore
	// import to be updated.
	MetadataImport *MetadataImport `protobuf:"bytes,2,opt,name=metadata_import,json=metadataImport,proto3" json:"metadata_import,omitempty"`
	// Optional. A request ID. Specify a unique request ID to allow the server to
	// ignore the request if it has completed. The server will ignore subsequent
	// requests that provide a duplicate request ID for at least 60 minutes after
	// the first request.
	//
	// For example, if an initial request times out, followed by another request
	// with the same request ID, the server ignores the second request to prevent
	// the creation of duplicate commitments.
	//
	// The request ID must be a valid
	// [UUID](https://en.wikipedia.org/wiki/Universally_unique_identifier#Format)
	// A zero UUID (00000000-0000-0000-0000-000000000000) is not supported.
	RequestId string `protobuf:"bytes,3,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
	// contains filtered or unexported fields
}

Request message for [DataprocMetastore.UpdateMetadataImport][google.cloud.metastore.v1beta.DataprocMetastore.UpdateMetadataImport].

func (*UpdateMetadataImportRequest) Descriptor deprecated

func (*UpdateMetadataImportRequest) Descriptor() ([]byte, []int)

Deprecated: Use UpdateMetadataImportRequest.ProtoReflect.Descriptor instead.

func (*UpdateMetadataImportRequest) GetMetadataImport

func (x *UpdateMetadataImportRequest) GetMetadataImport() *MetadataImport

func (*UpdateMetadataImportRequest) GetRequestId

func (x *UpdateMetadataImportRequest) GetRequestId() string

func (*UpdateMetadataImportRequest) GetUpdateMask

func (*UpdateMetadataImportRequest) ProtoMessage

func (*UpdateMetadataImportRequest) ProtoMessage()

func (*UpdateMetadataImportRequest) ProtoReflect

func (*UpdateMetadataImportRequest) Reset

func (x *UpdateMetadataImportRequest) Reset()

func (*UpdateMetadataImportRequest) String

func (x *UpdateMetadataImportRequest) String() string

type UpdateServiceRequest

type UpdateServiceRequest struct {

	// Required. A field mask used to specify the fields to be overwritten in the
	// metastore service resource by the update.
	// Fields specified in the `update_mask` are relative to the resource (not
	// to the full request). A field is overwritten if it is in the mask.
	UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,1,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
	// Required. The metastore service to update. The server only merges fields
	// in the service if they are specified in `update_mask`.
	//
	// The metastore service's `name` field is used to identify the metastore
	// service to be updated.
	Service *Service `protobuf:"bytes,2,opt,name=service,proto3" json:"service,omitempty"`
	// Optional. A request ID. Specify a unique request ID to allow the server to
	// ignore the request if it has completed. The server will ignore subsequent
	// requests that provide a duplicate request ID for at least 60 minutes after
	// the first request.
	//
	// For example, if an initial request times out, followed by another request
	// with the same request ID, the server ignores the second request to prevent
	// the creation of duplicate commitments.
	//
	// The request ID must be a valid
	// [UUID](https://en.wikipedia.org/wiki/Universally_unique_identifier#Format)
	// A zero UUID (00000000-0000-0000-0000-000000000000) is not supported.
	RequestId string `protobuf:"bytes,3,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
	// contains filtered or unexported fields
}

Request message for [DataprocMetastore.UpdateService][google.cloud.metastore.v1beta.DataprocMetastore.UpdateService].

func (*UpdateServiceRequest) Descriptor deprecated

func (*UpdateServiceRequest) Descriptor() ([]byte, []int)

Deprecated: Use UpdateServiceRequest.ProtoReflect.Descriptor instead.

func (*UpdateServiceRequest) GetRequestId

func (x *UpdateServiceRequest) GetRequestId() string

func (*UpdateServiceRequest) GetService

func (x *UpdateServiceRequest) GetService() *Service

func (*UpdateServiceRequest) GetUpdateMask

func (x *UpdateServiceRequest) GetUpdateMask() *fieldmaskpb.FieldMask

func (*UpdateServiceRequest) ProtoMessage

func (*UpdateServiceRequest) ProtoMessage()

func (*UpdateServiceRequest) ProtoReflect

func (x *UpdateServiceRequest) ProtoReflect() protoreflect.Message

func (*UpdateServiceRequest) Reset

func (x *UpdateServiceRequest) Reset()

func (*UpdateServiceRequest) String

func (x *UpdateServiceRequest) String() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL