Package cloud.google.com/go/metastore/apiv1/metastorepb (v1.8.0)

Stay organized with collections Save and categorize content based on your preferences.

Variables

Service_State_name, Service_State_value

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.

Service_Tier_name, Service_Tier_value

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.

Service_ReleaseChannel_name, Service_ReleaseChannel_value

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.

MetadataImport_State_name, MetadataImport_State_value

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.

MetadataImport_DatabaseDump_DatabaseType_name, MetadataImport_DatabaseDump_DatabaseType_value

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.

MetadataExport_State_name, MetadataExport_State_value

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.

Backup_State_name, Backup_State_value

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.

Restore_State_name, Restore_State_value

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.

Restore_RestoreType_name, Restore_RestoreType_value

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.

DatabaseDumpSpec_Type_name, DatabaseDumpSpec_Type_value

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.

File_google_cloud_metastore_v1_metastore_proto

var File_google_cloud_metastore_v1_metastore_proto protoreflect.FileDescriptor

Functions

func RegisterDataprocMetastoreServer

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

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.v1.Backup_State" json:"state,omitempty"`
	// Output only. The revision of the service at the time of backup.
	ServiceRevision *Service `protobuf:"bytes,5,opt,name=service_revision,json=serviceRevision,proto3" json:"service_revision,omitempty"`
	// The description of the backup.
	Description string `protobuf:"bytes,6,opt,name=description,proto3" json:"description,omitempty"`
	// Output only. Services that are restoring from the backup.
	RestoringServices []string `protobuf:"bytes,7,rep,name=restoring_services,json=restoringServices,proto3" json:"restoring_services,omitempty"`
	// contains filtered or unexported fields
}

The details of a backup resource.

func (*Backup) Descriptor

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

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

Backup_State

type Backup_State int32

The current state of the backup.

Backup_STATE_UNSPECIFIED, Backup_CREATING, Backup_DELETING, Backup_ACTIVE, Backup_FAILED, Backup_RESTORING

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

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

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.v1.DataprocMetastore.CreateBackup].

func (*CreateBackupRequest) Descriptor

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

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.v1.DataprocMetastore.CreateMetadataImport].

func (*CreateMetadataImportRequest) Descriptor

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

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.v1.DataprocMetastore.CreateService].

func (*CreateServiceRequest) Descriptor

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

DatabaseDumpSpec

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

The specification of database dump to import from or export to.

func (*DatabaseDumpSpec) Descriptor

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

DatabaseDumpSpec_Type

type DatabaseDumpSpec_Type int32

The type of the database dump.

DatabaseDumpSpec_TYPE_UNSPECIFIED, DatabaseDumpSpec_MYSQL, DatabaseDumpSpec_AVRO

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

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

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) (*longrunning.Operation, error)
	// Updates the parameters of a single service.
	UpdateService(ctx context.Context, in *UpdateServiceRequest, opts ...grpc.CallOption) (*longrunning.Operation, error)
	// Deletes a single service.
	DeleteService(ctx context.Context, in *DeleteServiceRequest, opts ...grpc.CallOption) (*longrunning.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) (*longrunning.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) (*longrunning.Operation, error)
	// Exports metadata from a service.
	ExportMetadata(ctx context.Context, in *ExportMetadataRequest, opts ...grpc.CallOption) (*longrunning.Operation, error)
	// Restores a service from a backup.
	RestoreService(ctx context.Context, in *RestoreServiceRequest, opts ...grpc.CallOption) (*longrunning.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) (*longrunning.Operation, error)
	// Deletes a single backup.
	DeleteBackup(ctx context.Context, in *DeleteBackupRequest, opts ...grpc.CallOption) (*longrunning.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.

func NewDataprocMetastoreClient

func NewDataprocMetastoreClient(cc grpc.ClientConnInterface) DataprocMetastoreClient

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) (*longrunning.Operation, error)
	// Updates the parameters of a single service.
	UpdateService(context.Context, *UpdateServiceRequest) (*longrunning.Operation, error)
	// Deletes a single service.
	DeleteService(context.Context, *DeleteServiceRequest) (*longrunning.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) (*longrunning.Operation, error)
	// Updates a single import.
	// Only the description field of MetadataImport is supported to be updated.
	UpdateMetadataImport(context.Context, *UpdateMetadataImportRequest) (*longrunning.Operation, error)
	// Exports metadata from a service.
	ExportMetadata(context.Context, *ExportMetadataRequest) (*longrunning.Operation, error)
	// Restores a service from a backup.
	RestoreService(context.Context, *RestoreServiceRequest) (*longrunning.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) (*longrunning.Operation, error)
	// Deletes a single backup.
	DeleteBackup(context.Context, *DeleteBackupRequest) (*longrunning.Operation, error)
}

DataprocMetastoreServer is the server API for DataprocMetastore service.

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.v1.DataprocMetastore.DeleteBackup].

func (*DeleteBackupRequest) Descriptor

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

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.v1.DataprocMetastore.DeleteService].

func (*DeleteServiceRequest) Descriptor

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

ExportMetadataRequest

type ExportMetadataRequest struct {
	Destination isExportMetadataRequest_Destination `protobuf_oneof:"destination"`

	Service string `protobuf:"bytes,1,opt,name=service,proto3" json:"service,omitempty"`

	RequestId string `protobuf:"bytes,3,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`

	DatabaseDumpType DatabaseDumpSpec_Type "" /* 165 byte string literal not displayed */

}

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

func (*ExportMetadataRequest) Descriptor

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

ExportMetadataRequest_DestinationGcsFolder

type ExportMetadataRequest_DestinationGcsFolder struct {
	// A Cloud Storage URI of a folder, in the format
	// `gs://

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.v1.DataprocMetastore.GetBackup].

func (*GetBackupRequest) Descriptor

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

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.v1.DataprocMetastore.GetMetadataImport].

func (*GetMetadataImportRequest) Descriptor

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

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.v1.DataprocMetastore.GetService].

func (*GetServiceRequest) Descriptor

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

HiveMetastoreConfig

type HiveMetastoreConfig struct {
	Version string `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"`

	ConfigOverrides map[string]string "" /* 194 byte string literal not displayed */

	KerberosConfig *KerberosConfig `protobuf:"bytes,3,opt,name=kerberos_config,json=kerberosConfig,proto3" json:"kerberos_config,omitempty"`

}

Specifies configuration information specific to running Hive metastore software as the metastore service.

func (*HiveMetastoreConfig) Descriptor

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

Deprecated: Use HiveMetastoreConfig.ProtoReflect.Descriptor instead.

func (*HiveMetastoreConfig) GetConfigOverrides

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

func (*HiveMetastoreConfig) GetKerberosConfig

func (x *HiveMetastoreConfig) GetKerberosConfig() *KerberosConfig

func (*HiveMetastoreConfig) GetVersion

func (x *HiveMetastoreConfig) GetVersion() string

func (*HiveMetastoreConfig) ProtoMessage

func (*HiveMetastoreConfig) ProtoMessage()

func (*HiveMetastoreConfig) ProtoReflect

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

func (*HiveMetastoreConfig) Reset

func (x *HiveMetastoreConfig) Reset()

func (*HiveMetastoreConfig) String

func (x *HiveMetastoreConfig) String() string

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

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

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.v1.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.v1.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.v1.DataprocMetastore.ListBackups].

func (*ListBackupsRequest) Descriptor

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

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.v1.DataprocMetastore.ListBackups].

func (*ListBackupsResponse) Descriptor

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

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.v1.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.v1.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.v1.DataprocMetastore.ListMetadataImports].

func (*ListMetadataImportsRequest) Descriptor

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

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.v1.DataprocMetastore.ListMetadataImports].

func (*ListMetadataImportsResponse) Descriptor

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

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.v1.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.v1.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.v1.DataprocMetastore.ListServices].

func (*ListServicesRequest) Descriptor

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

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.v1.DataprocMetastore.ListServices].

func (*ListServicesResponse) Descriptor

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

LocationMetadata

type LocationMetadata struct {
	SupportedHiveMetastoreVersions []*LocationMetadata_HiveMetastoreVersion "" /* 155 byte string literal not displayed */

}

Metadata about the service in a location.

func (*LocationMetadata) Descriptor

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

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

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

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

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

MetadataExport

type MetadataExport struct {
	Destination isMetadataExport_Destination `protobuf_oneof:"destination"`

	StartTime *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"`

	EndTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"`

	State MetadataExport_State `protobuf:"varint,3,opt,name=state,proto3,enum=google.cloud.metastore.v1.MetadataExport_State" json:"state,omitempty"`

	DatabaseDumpType DatabaseDumpSpec_Type "" /* 165 byte string literal not displayed */

}

The details of a metadata export operation.

func (*MetadataExport) Descriptor

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

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://

MetadataExport_State

type MetadataExport_State int32

The current state of the metadata export.

MetadataExport_STATE_UNSPECIFIED, MetadataExport_RUNNING, MetadataExport_SUCCEEDED, MetadataExport_FAILED, MetadataExport_CANCELLED

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

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

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.v1.MetadataImport_State" json:"state,omitempty"`
	// contains filtered or unexported fields
}

A metastore resource that imports metadata.

func (*MetadataImport) Descriptor

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

Deprecated: Use MetadataImport.ProtoReflect.Descriptor instead.

func (*MetadataImport) GetCreateTime

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

func (*MetadataImport) GetDatabaseDump

func (x *MetadataImport) GetDatabaseDump() *MetadataImport_DatabaseDump

func (*MetadataImport) GetDescription

func (x *MetadataImport) GetDescription() string

func (*MetadataImport) GetEndTime

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

func (*MetadataImport) GetMetadata

func (m *MetadataImport) GetMetadata() isMetadataImport_Metadata

func (*MetadataImport) GetName

func (x *MetadataImport) GetName() string

func (*MetadataImport) GetState

func (x *MetadataImport) GetState() MetadataImport_State

func (*MetadataImport) GetUpdateTime

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

func (*MetadataImport) ProtoMessage

func (*MetadataImport) ProtoMessage()

func (*MetadataImport) ProtoReflect

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

func (*MetadataImport) Reset

func (x *MetadataImport) Reset()

func (*MetadataImport) String

func (x *MetadataImport) String() string

MetadataImport_DatabaseDump

type MetadataImport_DatabaseDump struct {
	DatabaseType MetadataImport_DatabaseDump_DatabaseType "" /* 170 byte string literal not displayed */

	GcsUri string `protobuf:"bytes,2,opt,name=gcs_uri,json=gcsUri,proto3" json:"gcs_uri,omitempty"`

	Type DatabaseDumpSpec_Type `protobuf:"varint,4,opt,name=type,proto3,enum=google.cloud.metastore.v1.DatabaseDumpSpec_Type" json:"type,omitempty"`

}

A specification of the location of and metadata about a database dump from a relational database management system.

func (*MetadataImport_DatabaseDump) Descriptor

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

Deprecated: Use MetadataImport_DatabaseDump.ProtoReflect.Descriptor instead.

func (*MetadataImport_DatabaseDump) GetDatabaseType

Deprecated: Do not use.

func (*MetadataImport_DatabaseDump) GetGcsUri

func (x *MetadataImport_DatabaseDump) GetGcsUri() string

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

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"`
}

MetadataImport_DatabaseDump_DatabaseType

type MetadataImport_DatabaseDump_DatabaseType int32

The type of the database.

MetadataImport_DatabaseDump_DATABASE_TYPE_UNSPECIFIED, MetadataImport_DatabaseDump_MYSQL

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

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

MetadataImport_State

type MetadataImport_State int32

The current state of the metadata import.

MetadataImport_STATE_UNSPECIFIED, MetadataImport_RUNNING, MetadataImport_SUCCEEDED, MetadataImport_UPDATING, MetadataImport_FAILED

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

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

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

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

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

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

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.v1.Restore_State" json:"state,omitempty"`
	// Output only. The relative resource name of the metastore service backup to restore
	// from, in the following form:
	//
	// `projects/{project_id}/locations/{location_id}/services/{service_id}/backups/{backup_id}`.
	Backup string `protobuf:"bytes,4,opt,name=backup,proto3" json:"backup,omitempty"`
	// Output only. The type of restore.
	Type Restore_RestoreType `protobuf:"varint,5,opt,name=type,proto3,enum=google.cloud.metastore.v1.Restore_RestoreType" json:"type,omitempty"`
	// Output only. The restore details containing the revision of the service to be restored
	// to, in format of JSON.
	Details string `protobuf:"bytes,6,opt,name=details,proto3" json:"details,omitempty"`
	// contains filtered or unexported fields
}

The details of a metadata restore operation.

func (*Restore) Descriptor

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

RestoreServiceRequest

type RestoreServiceRequest struct {
	Service string `protobuf:"bytes,1,opt,name=service,proto3" json:"service,omitempty"`

	Backup string `protobuf:"bytes,2,opt,name=backup,proto3" json:"backup,omitempty"`

	RestoreType Restore_RestoreType "" /* 146 byte string literal not displayed */

	RequestId string `protobuf:"bytes,4,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`

}

Request message for [DataprocMetastore.Restore][].

func (*RestoreServiceRequest) Descriptor

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

Restore_RestoreType

type Restore_RestoreType int32

The type of restore. If unspecified, defaults to METADATA_ONLY.

Restore_RESTORE_TYPE_UNSPECIFIED, Restore_FULL, Restore_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

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

Restore_State

type Restore_State int32

The current state of the restore.

Restore_STATE_UNSPECIFIED, Restore_RUNNING, Restore_SUCCEEDED, Restore_FAILED, Restore_CANCELLED

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

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

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

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

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"`
}

Service

type Service struct {
	MetastoreConfig isService_MetastoreConfig `protobuf_oneof:"metastore_config"`

	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`

	CreateTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`

	UpdateTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`

	Labels map[string]string "" /* 153 byte string literal not displayed */

	Network string `protobuf:"bytes,7,opt,name=network,proto3" json:"network,omitempty"`

	EndpointUri string `protobuf:"bytes,8,opt,name=endpoint_uri,json=endpointUri,proto3" json:"endpoint_uri,omitempty"`

	Port int32 `protobuf:"varint,9,opt,name=port,proto3" json:"port,omitempty"`

	State Service_State `protobuf:"varint,10,opt,name=state,proto3,enum=google.cloud.metastore.v1.Service_State" json:"state,omitempty"`

	StateMessage string `protobuf:"bytes,11,opt,name=state_message,json=stateMessage,proto3" json:"state_message,omitempty"`

	ArtifactGcsUri string `protobuf:"bytes,12,opt,name=artifact_gcs_uri,json=artifactGcsUri,proto3" json:"artifact_gcs_uri,omitempty"`

	Tier Service_Tier `protobuf:"varint,13,opt,name=tier,proto3,enum=google.cloud.metastore.v1.Service_Tier" json:"tier,omitempty"`

	MaintenanceWindow *MaintenanceWindow `protobuf:"bytes,15,opt,name=maintenance_window,json=maintenanceWindow,proto3" json:"maintenance_window,omitempty"`

	Uid string `protobuf:"bytes,16,opt,name=uid,proto3" json:"uid,omitempty"`

	MetadataManagementActivity *MetadataManagementActivity "" /* 142 byte string literal not displayed */

	ReleaseChannel Service_ReleaseChannel "" /* 159 byte string literal not displayed */

}

A managed metastore service that serves metadata queries.

func (*Service) Descriptor

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

func (x *Service) GetPort() int32

func (*Service) GetReleaseChannel

func (x *Service) GetReleaseChannel() Service_ReleaseChannel

func (*Service) GetState

func (x *Service) GetState() Service_State

func (*Service) GetStateMessage

func (x *Service) GetStateMessage() string