store

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: Oct 18, 2026 License: Apache-2.0 Imports: 9 Imported by: 1 module, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	AuditLogSeverity_name = map[int32]string{
		0: "AUDIT_SEVERITY_UNSPECIFIED",
		1: "INFO",
		2: "WARNING",
		3: "ERROR",
	}
	AuditLogSeverity_value = map[string]int32{
		"AUDIT_SEVERITY_UNSPECIFIED": 0,
		"INFO":                       1,
		"WARNING":                    2,
		"ERROR":                      3,
	}
)

Enum value maps for AuditLogSeverity.

View Source
var (
	Engine_name = map[int32]string{
		0:  "ENGINE_UNSPECIFIED",
		1:  "MSSQL",
		2:  "MYSQL",
		3:  "POSTGRES",
		6:  "TIDB",
		13: "MARIADB",
		14: "OCEANBASE",
		15: "STARROCKS",
		16: "DORIS",
	}
	Engine_value = map[string]int32{
		"ENGINE_UNSPECIFIED": 0,
		"MSSQL":              1,
		"MYSQL":              2,
		"POSTGRES":           3,
		"TIDB":               6,
		"MARIADB":            13,
		"OCEANBASE":          14,
		"STARROCKS":          15,
		"DORIS":              16,
	}
)

Enum value maps for Engine.

View Source
var (
	TablePartitionMetadata_Type_name = map[int32]string{
		0: "TYPE_UNSPECIFIED",
		1: "RANGE",
		2: "RANGE_COLUMNS",
		3: "LIST",
		4: "LIST_COLUMNS",
		5: "HASH",
		6: "LINEAR_HASH",
		7: "KEY",
		8: "LINEAR_KEY",
	}
	TablePartitionMetadata_Type_value = map[string]int32{
		"TYPE_UNSPECIFIED": 0,
		"RANGE":            1,
		"RANGE_COLUMNS":    2,
		"LIST":             3,
		"LIST_COLUMNS":     4,
		"HASH":             5,
		"LINEAR_HASH":      6,
		"KEY":              7,
		"LINEAR_KEY":       8,
	}
)

Enum value maps for TablePartitionMetadata_Type.

View Source
var (
	ColumnMetadata_IdentityGeneration_name = map[int32]string{
		0: "IDENTITY_GENERATION_UNSPECIFIED",
		1: "ALWAYS",
		2: "BY_DEFAULT",
	}
	ColumnMetadata_IdentityGeneration_value = map[string]int32{
		"IDENTITY_GENERATION_UNSPECIFIED": 0,
		"ALWAYS":                          1,
		"BY_DEFAULT":                      2,
	}
)

Enum value maps for ColumnMetadata_IdentityGeneration.

View Source
var (
	GenerationMetadata_Type_name = map[int32]string{
		0: "TYPE_UNSPECIFIED",
		1: "TYPE_VIRTUAL",
		2: "TYPE_STORED",
	}
	GenerationMetadata_Type_value = map[string]int32{
		"TYPE_UNSPECIFIED": 0,
		"TYPE_VIRTUAL":     1,
		"TYPE_STORED":      2,
	}
)

Enum value maps for GenerationMetadata_Type.

View Source
var (
	GroupMember_Role_name = map[int32]string{
		0: "ROLE_UNSPECIFIED",
		1: "OWNER",
		2: "MEMBER",
	}
	GroupMember_Role_value = map[string]int32{
		"ROLE_UNSPECIFIED": 0,
		"OWNER":            1,
		"MEMBER":           2,
	}
)

Enum value maps for GroupMember_Role.

View Source
var (
	IdentityProviderType_name = map[int32]string{
		0: "IDENTITY_PROVIDER_TYPE_UNSPECIFIED",
		1: "OAUTH2",
	}
	IdentityProviderType_value = map[string]int32{
		"IDENTITY_PROVIDER_TYPE_UNSPECIFIED": 0,
		"OAUTH2":                             1,
	}
)

Enum value maps for IdentityProviderType.

View Source
var (
	OAuth2AuthStyle_name = map[int32]string{
		0: "OAUTH2_AUTH_STYLE_UNSPECIFIED",
		1: "IN_PARAMS",
		2: "IN_HEADER",
	}
	OAuth2AuthStyle_value = map[string]int32{
		"OAUTH2_AUTH_STYLE_UNSPECIFIED": 0,
		"IN_PARAMS":                     1,
		"IN_HEADER":                     2,
	}
)

Enum value maps for OAuth2AuthStyle.

View Source
var (
	DataSourceType_name = map[int32]string{
		0: "DATA_SOURCE_UNSPECIFIED",
		1: "ADMIN",
		2: "READ_ONLY",
	}
	DataSourceType_value = map[string]int32{
		"DATA_SOURCE_UNSPECIFIED": 0,
		"ADMIN":                   1,
		"READ_ONLY":               2,
	}
)

Enum value maps for DataSourceType.

View Source
var (
	LLMProviderType_name = map[int32]string{
		0: "LLM_PROVIDER_TYPE_UNSPECIFIED",
		1: "LLM_PROVIDER_TYPE_OPENAI",
		2: "LLM_PROVIDER_TYPE_DEEPSEEK",
		3: "LLM_PROVIDER_TYPE_OPENROUTER",
		4: "LLM_PROVIDER_TYPE_CUSTOM",
	}
	LLMProviderType_value = map[string]int32{
		"LLM_PROVIDER_TYPE_UNSPECIFIED": 0,
		"LLM_PROVIDER_TYPE_OPENAI":      1,
		"LLM_PROVIDER_TYPE_DEEPSEEK":    2,
		"LLM_PROVIDER_TYPE_OPENROUTER":  3,
		"LLM_PROVIDER_TYPE_CUSTOM":      4,
	}
)

Enum value maps for LLMProviderType.

View Source
var (
	MetaType_name = map[int32]string{
		0:   "UNSPECIFIED",
		1:   "INSTANCE",
		2:   "DATABASE",
		3:   "SCHEMA",
		4:   "TABLE",
		16:  "EXTERNAL_TABLE",
		17:  "EXTERNAL_DATASET",
		18:  "MANUAL_SQL",
		19:  "APPLICATION_SQL",
		5:   "VIEW",
		6:   "MATERIALIZED_VIEW",
		7:   "COLUMN",
		8:   "INDEX",
		9:   "FOREIGN_KEY",
		10:  "PROCEDURE",
		11:  "FUNCTION",
		12:  "SEQUENCE",
		100: "OPENLINEAGE",
	}
	MetaType_value = map[string]int32{
		"UNSPECIFIED":       0,
		"INSTANCE":          1,
		"DATABASE":          2,
		"SCHEMA":            3,
		"TABLE":             4,
		"EXTERNAL_TABLE":    16,
		"EXTERNAL_DATASET":  17,
		"MANUAL_SQL":        18,
		"APPLICATION_SQL":   19,
		"VIEW":              5,
		"MATERIALIZED_VIEW": 6,
		"COLUMN":            7,
		"INDEX":             8,
		"FOREIGN_KEY":       9,
		"PROCEDURE":         10,
		"FUNCTION":          11,
		"SEQUENCE":          12,
		"OPENLINEAGE":       100,
	}
)

Enum value maps for MetaType.

View Source
var (
	NotificationType_name = map[int32]string{
		0: "NOTIFICATION_TYPE_UNSPECIFIED",
		1: "NOTIFICATION_TYPE_SCHEMA_SYNC",
		2: "NOTIFICATION_TYPE_OPENLINEAGE",
	}
	NotificationType_value = map[string]int32{
		"NOTIFICATION_TYPE_UNSPECIFIED": 0,
		"NOTIFICATION_TYPE_SCHEMA_SYNC": 1,
		"NOTIFICATION_TYPE_OPENLINEAGE": 2,
	}
)

Enum value maps for NotificationType.

View Source
var (
	NotificationSeverity_name = map[int32]string{
		0: "NOTIFICATION_SEVERITY_UNSPECIFIED",
		1: "NOTIFICATION_SEVERITY_INFO",
		2: "NOTIFICATION_SEVERITY_WARNING",
		3: "NOTIFICATION_SEVERITY_ERROR",
	}
	NotificationSeverity_value = map[string]int32{
		"NOTIFICATION_SEVERITY_UNSPECIFIED": 0,
		"NOTIFICATION_SEVERITY_INFO":        1,
		"NOTIFICATION_SEVERITY_WARNING":     2,
		"NOTIFICATION_SEVERITY_ERROR":       3,
	}
)

Enum value maps for NotificationSeverity.

View Source
var (
	SyncTrigger_name = map[int32]string{
		0: "SYNC_TRIGGER_UNSPECIFIED",
		1: "SYNC_TRIGGER_MANUAL",
		2: "SYNC_TRIGGER_BACKGROUND",
	}
	SyncTrigger_value = map[string]int32{
		"SYNC_TRIGGER_UNSPECIFIED": 0,
		"SYNC_TRIGGER_MANUAL":      1,
		"SYNC_TRIGGER_BACKGROUND":  2,
	}
)

Enum value maps for SyncTrigger.

View Source
var (
	SyncDatabaseState_name = map[int32]string{
		0: "SYNC_DATABASE_STATE_UNSPECIFIED",
		1: "SYNC_DATABASE_STATE_SUCCEEDED",
		2: "SYNC_DATABASE_STATE_FAILED",
		3: "SYNC_DATABASE_STATE_UNFINISHED",
	}
	SyncDatabaseState_value = map[string]int32{
		"SYNC_DATABASE_STATE_UNSPECIFIED": 0,
		"SYNC_DATABASE_STATE_SUCCEEDED":   1,
		"SYNC_DATABASE_STATE_FAILED":      2,
		"SYNC_DATABASE_STATE_UNFINISHED":  3,
	}
)

Enum value maps for SyncDatabaseState.

View Source
var (
	OpenLineageFailureKind_name = map[int32]string{
		0: "OPENLINEAGE_FAILURE_KIND_UNSPECIFIED",
		1: "OPENLINEAGE_FAILURE_KIND_INVALID_EVENT",
		2: "OPENLINEAGE_FAILURE_KIND_LIMIT_EXCEEDED",
		3: "OPENLINEAGE_FAILURE_KIND_SCOPE_MISMATCH",
		4: "OPENLINEAGE_FAILURE_KIND_PERSIST_FAILED",
		5: "OPENLINEAGE_FAILURE_KIND_PROCESS_FAILED",
		6: "OPENLINEAGE_FAILURE_KIND_NAMESPACE_UNMAPPED",
	}
	OpenLineageFailureKind_value = map[string]int32{
		"OPENLINEAGE_FAILURE_KIND_UNSPECIFIED":        0,
		"OPENLINEAGE_FAILURE_KIND_INVALID_EVENT":      1,
		"OPENLINEAGE_FAILURE_KIND_LIMIT_EXCEEDED":     2,
		"OPENLINEAGE_FAILURE_KIND_SCOPE_MISMATCH":     3,
		"OPENLINEAGE_FAILURE_KIND_PERSIST_FAILED":     4,
		"OPENLINEAGE_FAILURE_KIND_PROCESS_FAILED":     5,
		"OPENLINEAGE_FAILURE_KIND_NAMESPACE_UNMAPPED": 6,
	}
)

Enum value maps for OpenLineageFailureKind.

View Source
var (
	Policy_Type_name = map[int32]string{
		0: "TYPE_UNSPECIFIED",
		1: "IAM",
		2: "TAG",
	}
	Policy_Type_value = map[string]int32{
		"TYPE_UNSPECIFIED": 0,
		"IAM":              1,
		"TAG":              2,
	}
)

Enum value maps for Policy_Type.

View Source
var (
	Policy_Resource_name = map[int32]string{
		0: "RESOURCE_UNSPECIFIED",
		1: "WORKSPACE",
		2: "ENVIRONMENT",
		3: "PROJECT",
	}
	Policy_Resource_value = map[string]int32{
		"RESOURCE_UNSPECIFIED": 0,
		"WORKSPACE":            1,
		"ENVIRONMENT":          2,
		"PROJECT":              3,
	}
)

Enum value maps for Policy_Resource.

View Source
var (
	SettingName_name = map[int32]string{
		0:  "SETTING_NAME_UNSPECIFIED",
		1:  "AUTH_SECRET",
		2:  "BRANDING_LOGO",
		3:  "WORKSPACE_ID",
		4:  "WORKSPACE_PROFILE",
		14: "PASSWORD_RESTRICTION",
		15: "ENVIRONMENT",
		16: "ENCRYPTION_KEY",
	}
	SettingName_value = map[string]int32{
		"SETTING_NAME_UNSPECIFIED": 0,
		"AUTH_SECRET":              1,
		"BRANDING_LOGO":            2,
		"WORKSPACE_ID":             3,
		"WORKSPACE_PROFILE":        4,
		"PASSWORD_RESTRICTION":     14,
		"ENVIRONMENT":              15,
		"ENCRYPTION_KEY":           16,
	}
)

Enum value maps for SettingName.

View Source
var (
	PrincipalType_name = map[int32]string{
		0: "PRINCIPAL_TYPE_UNSPECIFIED",
		1: "END_USER",
		2: "SERVICE_ACCOUNT",
		3: "SYSTEM_BOT",
	}
	PrincipalType_value = map[string]int32{
		"PRINCIPAL_TYPE_UNSPECIFIED": 0,
		"END_USER":                   1,
		"SERVICE_ACCOUNT":            2,
		"SYSTEM_BOT":                 3,
	}
)

Enum value maps for PrincipalType.

View Source
var File_store_audit_log_proto protoreflect.FileDescriptor
View Source
var File_store_common_proto protoreflect.FileDescriptor
View Source
var File_store_database_proto protoreflect.FileDescriptor
View Source
var File_store_group_proto protoreflect.FileDescriptor
View Source
var File_store_idp_proto protoreflect.FileDescriptor
View Source
var File_store_instance_proto protoreflect.FileDescriptor
View Source
var File_store_llm_proto protoreflect.FileDescriptor
View Source
var File_store_meta_proto protoreflect.FileDescriptor
View Source
var File_store_notification_proto protoreflect.FileDescriptor
View Source
var File_store_openlineage_proto protoreflect.FileDescriptor
View Source
var File_store_policy_proto protoreflect.FileDescriptor
View Source
var File_store_role_proto protoreflect.FileDescriptor
View Source
var File_store_setting_proto protoreflect.FileDescriptor
View Source
var File_store_user_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type ApplicationSQLMetadata

type ApplicationSQLMetadata struct {

	// The stable identifier of the statement, generated when it is first received. It
	// survives a change to the fingerprint rules, which is what keeps the object's lineage
	// and history attached.
	ApplicationSqlId string `protobuf:"bytes,1,opt,name=application_sql_id,json=applicationSqlId,proto3" json:"application_sql_id,omitempty"`
	// A display label taken from the statement's first line. The full text is in
	// sql_text.
	Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	// The parameterized statement. This is the only form ever stored: the text an
	// application sends is rewritten before it reaches this table.
	SqlText string `protobuf:"bytes,3,opt,name=sql_text,json=sqlText,proto3" json:"sql_text,omitempty"`
	// The instance that reported it. Format: instances/{instance}
	InstanceResource string `protobuf:"bytes,4,opt,name=instance_resource,json=instanceResource,proto3" json:"instance_resource,omitempty"`
	// The database the statement ran against.
	DatabaseName string `protobuf:"bytes,5,opt,name=database_name,json=databaseName,proto3" json:"database_name,omitempty"`
	// The schema, empty for the MySQL family.
	SchemaName string `protobuf:"bytes,6,opt,name=schema_name,json=schemaName,proto3" json:"schema_name,omitempty"`
	// contains filtered or unexported fields
}

ApplicationSQLMetadata is one statement an application reported, with every literal already replaced by `?`. The row is per distinct statement, not per application: which applications ran it is recorded in application_sql_observation.

func (*ApplicationSQLMetadata) Descriptor deprecated

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

Deprecated: Use ApplicationSQLMetadata.ProtoReflect.Descriptor instead.

func (*ApplicationSQLMetadata) GetApplicationSqlId

func (x *ApplicationSQLMetadata) GetApplicationSqlId() string

func (*ApplicationSQLMetadata) GetDatabaseName

func (x *ApplicationSQLMetadata) GetDatabaseName() string

func (*ApplicationSQLMetadata) GetInstanceResource

func (x *ApplicationSQLMetadata) GetInstanceResource() string

func (*ApplicationSQLMetadata) GetName

func (x *ApplicationSQLMetadata) GetName() string

func (*ApplicationSQLMetadata) GetSchemaName

func (x *ApplicationSQLMetadata) GetSchemaName() string

func (*ApplicationSQLMetadata) GetSqlText

func (x *ApplicationSQLMetadata) GetSqlText() string

func (*ApplicationSQLMetadata) ProtoMessage

func (*ApplicationSQLMetadata) ProtoMessage()

func (*ApplicationSQLMetadata) ProtoReflect

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

func (*ApplicationSQLMetadata) Reset

func (x *ApplicationSQLMetadata) Reset()

func (*ApplicationSQLMetadata) String

func (x *ApplicationSQLMetadata) String() string

type AuditLog

type AuditLog struct {

	// The audit_log row's primary key. The public v1 AuditLog exposes it as the
	// resource name "{parent}/auditLogs/{id}" instead, because audit rows are
	// identified by an opaque server-generated id.
	Id              int64                  `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	CreateTime      *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
	Parent          string                 `protobuf:"bytes,3,opt,name=parent,proto3" json:"parent,omitempty"`
	Method          string                 `protobuf:"bytes,4,opt,name=method,proto3" json:"method,omitempty"`
	Resource        string                 `protobuf:"bytes,5,opt,name=resource,proto3" json:"resource,omitempty"`
	User            string                 `protobuf:"bytes,6,opt,name=user,proto3" json:"user,omitempty"`
	Severity        AuditLogSeverity       `protobuf:"varint,7,opt,name=severity,proto3,enum=metaxisdata.store.AuditLogSeverity" json:"severity,omitempty"`
	Request         *structpb.Struct       `protobuf:"bytes,8,opt,name=request,proto3" json:"request,omitempty"`
	Response        *structpb.Struct       `protobuf:"bytes,9,opt,name=response,proto3" json:"response,omitempty"`
	Status          *AuditLogStatus        `protobuf:"bytes,10,opt,name=status,proto3" json:"status,omitempty"`
	LatencyMs       int64                  `protobuf:"varint,11,opt,name=latency_ms,json=latencyMs,proto3" json:"latency_ms,omitempty"`
	ServiceData     *structpb.Struct       `protobuf:"bytes,12,opt,name=service_data,json=serviceData,proto3" json:"service_data,omitempty"`
	RequestMetadata *AuditRequestMetadata  `protobuf:"bytes,13,opt,name=request_metadata,json=requestMetadata,proto3" json:"request_metadata,omitempty"`
	// contains filtered or unexported fields
}

func (*AuditLog) Descriptor deprecated

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

Deprecated: Use AuditLog.ProtoReflect.Descriptor instead.

func (*AuditLog) GetCreateTime

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

func (*AuditLog) GetId

func (x *AuditLog) GetId() int64

func (*AuditLog) GetLatencyMs

func (x *AuditLog) GetLatencyMs() int64

func (*AuditLog) GetMethod

func (x *AuditLog) GetMethod() string

func (*AuditLog) GetParent

func (x *AuditLog) GetParent() string

func (*AuditLog) GetRequest

func (x *AuditLog) GetRequest() *structpb.Struct

func (*AuditLog) GetRequestMetadata

func (x *AuditLog) GetRequestMetadata() *AuditRequestMetadata

func (*AuditLog) GetResource

func (x *AuditLog) GetResource() string

func (*AuditLog) GetResponse

func (x *AuditLog) GetResponse() *structpb.Struct

func (*AuditLog) GetServiceData

func (x *AuditLog) GetServiceData() *structpb.Struct

func (*AuditLog) GetSeverity

func (x *AuditLog) GetSeverity() AuditLogSeverity

func (*AuditLog) GetStatus

func (x *AuditLog) GetStatus() *AuditLogStatus

func (*AuditLog) GetUser

func (x *AuditLog) GetUser() string

func (*AuditLog) ProtoMessage

func (*AuditLog) ProtoMessage()

func (*AuditLog) ProtoReflect

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

func (*AuditLog) Reset

func (x *AuditLog) Reset()

func (*AuditLog) String

func (x *AuditLog) String() string

type AuditLogSeverity

type AuditLogSeverity int32
const (
	AuditLogSeverity_AUDIT_SEVERITY_UNSPECIFIED AuditLogSeverity = 0
	AuditLogSeverity_INFO                       AuditLogSeverity = 1
	AuditLogSeverity_WARNING                    AuditLogSeverity = 2
	AuditLogSeverity_ERROR                      AuditLogSeverity = 3
)

func (AuditLogSeverity) Descriptor

func (AuditLogSeverity) Enum

func (AuditLogSeverity) EnumDescriptor deprecated

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

Deprecated: Use AuditLogSeverity.Descriptor instead.

func (AuditLogSeverity) Number

func (AuditLogSeverity) String

func (x AuditLogSeverity) String() string

func (AuditLogSeverity) Type

type AuditLogStatus

type AuditLogStatus struct {
	Code    int32  `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"`
	Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
	// contains filtered or unexported fields
}

func (*AuditLogStatus) Descriptor deprecated

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

Deprecated: Use AuditLogStatus.ProtoReflect.Descriptor instead.

func (*AuditLogStatus) GetCode

func (x *AuditLogStatus) GetCode() int32

func (*AuditLogStatus) GetMessage

func (x *AuditLogStatus) GetMessage() string

func (*AuditLogStatus) ProtoMessage

func (*AuditLogStatus) ProtoMessage()

func (*AuditLogStatus) ProtoReflect

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

func (*AuditLogStatus) Reset

func (x *AuditLogStatus) Reset()

func (*AuditLogStatus) String

func (x *AuditLogStatus) String() string

type AuditRequestMetadata

type AuditRequestMetadata struct {
	Ip        string `protobuf:"bytes,1,opt,name=ip,proto3" json:"ip,omitempty"`
	UserAgent string `protobuf:"bytes,2,opt,name=user_agent,json=userAgent,proto3" json:"user_agent,omitempty"`
	// contains filtered or unexported fields
}

func (*AuditRequestMetadata) Descriptor deprecated

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

Deprecated: Use AuditRequestMetadata.ProtoReflect.Descriptor instead.

func (*AuditRequestMetadata) GetIp

func (x *AuditRequestMetadata) GetIp() string

func (*AuditRequestMetadata) GetUserAgent

func (x *AuditRequestMetadata) GetUserAgent() string

func (*AuditRequestMetadata) ProtoMessage

func (*AuditRequestMetadata) ProtoMessage()

func (*AuditRequestMetadata) ProtoReflect

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

func (*AuditRequestMetadata) Reset

func (x *AuditRequestMetadata) Reset()

func (*AuditRequestMetadata) String

func (x *AuditRequestMetadata) String() string

type Binding

type Binding struct {

	// The role that is assigned to the members.
	// Format: roles/{role}
	Role string `protobuf:"bytes,1,opt,name=role,proto3" json:"role,omitempty"`
	// Specifies the principals requesting access for a resource.
	// For users, the member should be: users/{userUID}
	// For groups, the member should be: groups/{email}
	Members []string `protobuf:"bytes,2,rep,name=members,proto3" json:"members,omitempty"`
	// The condition that is associated with this binding.
	// If the condition evaluates to true, then this binding applies to the current request.
	// If the condition evaluates to false, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the principals in this binding.
	Condition *expr.Expr `protobuf:"bytes,3,opt,name=condition,proto3" json:"condition,omitempty"`
	// contains filtered or unexported fields
}

The policy table stores the workspace IAM policy as IamPolicy. TagPolicy and EnvironmentTierPolicy were deleted: no code ever produced or consumed them.

func (*Binding) Descriptor deprecated

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

Deprecated: Use Binding.ProtoReflect.Descriptor instead.

func (*Binding) GetCondition

func (x *Binding) GetCondition() *expr.Expr

func (*Binding) GetMembers

func (x *Binding) GetMembers() []string

func (*Binding) GetRole

func (x *Binding) GetRole() string

func (*Binding) ProtoMessage

func (*Binding) ProtoMessage()

func (*Binding) ProtoReflect

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

func (*Binding) Reset

func (x *Binding) Reset()

func (*Binding) String

func (x *Binding) String() string

type BoundingBox

type BoundingBox struct {
	Xmin float64 `protobuf:"fixed64,1,opt,name=xmin,proto3" json:"xmin,omitempty"`
	Ymin float64 `protobuf:"fixed64,2,opt,name=ymin,proto3" json:"ymin,omitempty"`
	Xmax float64 `protobuf:"fixed64,3,opt,name=xmax,proto3" json:"xmax,omitempty"`
	Ymax float64 `protobuf:"fixed64,4,opt,name=ymax,proto3" json:"ymax,omitempty"`
	// contains filtered or unexported fields
}

BoundingBox is the bounding box of a spatial index.

func (*BoundingBox) Descriptor deprecated

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

Deprecated: Use BoundingBox.ProtoReflect.Descriptor instead.

func (*BoundingBox) GetXmax

func (x *BoundingBox) GetXmax() float64

func (*BoundingBox) GetXmin

func (x *BoundingBox) GetXmin() float64

func (*BoundingBox) GetYmax

func (x *BoundingBox) GetYmax() float64

func (*BoundingBox) GetYmin

func (x *BoundingBox) GetYmin() float64

func (*BoundingBox) ProtoMessage

func (*BoundingBox) ProtoMessage()

func (*BoundingBox) ProtoReflect

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

func (*BoundingBox) Reset

func (x *BoundingBox) Reset()

func (*BoundingBox) String

func (x *BoundingBox) String() string

type CheckConstraintMetadata

type CheckConstraintMetadata struct {

	// The name of the check constraint.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// The expression is the expression of a check constraint.
	Expression string `protobuf:"bytes,2,opt,name=expression,proto3" json:"expression,omitempty"`
	// contains filtered or unexported fields
}

func (*CheckConstraintMetadata) Descriptor deprecated

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

Deprecated: Use CheckConstraintMetadata.ProtoReflect.Descriptor instead.

func (*CheckConstraintMetadata) GetExpression

func (x *CheckConstraintMetadata) GetExpression() string

func (*CheckConstraintMetadata) GetName

func (x *CheckConstraintMetadata) GetName() string

func (*CheckConstraintMetadata) ProtoMessage

func (*CheckConstraintMetadata) ProtoMessage()

func (*CheckConstraintMetadata) ProtoReflect

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

func (*CheckConstraintMetadata) Reset

func (x *CheckConstraintMetadata) Reset()

func (*CheckConstraintMetadata) String

func (x *CheckConstraintMetadata) String() string

type ColumnMetadata

type ColumnMetadata struct {

	// The name of the column.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// The position is the position in columns.
	Position int32 `protobuf:"varint,2,opt,name=position,proto3" json:"position,omitempty"`
	// The default value of the column.
	Default string `protobuf:"bytes,3,opt,name=default,proto3" json:"default,omitempty"`
	// Oracle specific metadata.
	// The default_on_null is the default on null of a column.
	DefaultOnNull bool `protobuf:"varint,16,opt,name=default_on_null,json=defaultOnNull,proto3" json:"default_on_null,omitempty"`
	// The on_update is the on update action of a column.
	// For MySQL like databases, it's only supported for TIMESTAMP columns with
	// CURRENT_TIMESTAMP as on update value.
	OnUpdate string `protobuf:"bytes,13,opt,name=on_update,json=onUpdate,proto3" json:"on_update,omitempty"`
	// The nullable is the nullable of a column.
	Nullable bool `protobuf:"varint,6,opt,name=nullable,proto3" json:"nullable,omitempty"`
	// The type is the type of a column.
	Type string `protobuf:"bytes,7,opt,name=type,proto3" json:"type,omitempty"`
	// The character_set is the character_set of a column.
	CharacterSet string `protobuf:"bytes,8,opt,name=character_set,json=characterSet,proto3" json:"character_set,omitempty"`
	// The collation is the collation of a column.
	Collation string `protobuf:"bytes,9,opt,name=collation,proto3" json:"collation,omitempty"`
	// The comment is the comment of a column.
	// classification and user_comment is parsed from the comment.
	Comment string `protobuf:"bytes,10,opt,name=comment,proto3" json:"comment,omitempty"`
	// The user_comment is the user comment of a table parsed from the comment.
	UserComment string `protobuf:"bytes,12,opt,name=user_comment,json=userComment,proto3" json:"user_comment,omitempty"`
	// The generation is for generated columns.
	Generation *GenerationMetadata `protobuf:"bytes,14,opt,name=generation,proto3" json:"generation,omitempty"`
	IsIdentity bool                `protobuf:"varint,17,opt,name=is_identity,json=isIdentity,proto3" json:"is_identity,omitempty"`
	// The identity_generation is for identity columns, PG only.
	IdentityGeneration ColumnMetadata_IdentityGeneration `` /* 174-byte string literal not displayed */
	// The identity_seed is for identity columns, MSSQL only.
	IdentitySeed int64 `protobuf:"varint,18,opt,name=identity_seed,json=identitySeed,proto3" json:"identity_seed,omitempty"`
	// The identity_increment is for identity columns, MSSQL only.
	IdentityIncrement int64 `protobuf:"varint,19,opt,name=identity_increment,json=identityIncrement,proto3" json:"identity_increment,omitempty"`
	// The default_constraint_name is the name of the default constraint, MSSQL only.
	// In MSSQL, default values are implemented as named constraints. When modifying or
	// dropping a column's default value, you must reference the constraint by name.
	// This field stores the actual constraint name from the database.
	//
	// Example: A column definition like:
	//
	//	CREATE TABLE employees (
	//	  status NVARCHAR(20) DEFAULT 'active'
	//	)
	//
	// Will create a constraint with an auto-generated name like 'DF__employees__statu__3B75D760'
	// or a user-defined name if specified:
	//
	//	ALTER TABLE employees ADD CONSTRAINT DF_employees_status DEFAULT 'active' FOR status
	//
	// To modify the default, you must first drop the existing constraint by name:
	//
	//	ALTER TABLE employees DROP CONSTRAINT DF__employees__statu__3B75D760
	//	ALTER TABLE employees ADD CONSTRAINT DF_employees_status DEFAULT 'inactive' FOR status
	//
	// This field is populated when syncing from the database. When empty (e.g., when parsing
	// from SQL files), the system cannot automatically drop the constraint.
	DefaultConstraintName string `` /* 127-byte string literal not displayed */
	// contains filtered or unexported fields
}

ColumnMetadata is the metadata for columns.

func (*ColumnMetadata) Descriptor deprecated

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

Deprecated: Use ColumnMetadata.ProtoReflect.Descriptor instead.

func (*ColumnMetadata) GetCharacterSet

func (x *ColumnMetadata) GetCharacterSet() string

func (*ColumnMetadata) GetCollation

func (x *ColumnMetadata) GetCollation() string

func (*ColumnMetadata) GetComment

func (x *ColumnMetadata) GetComment() string

func (*ColumnMetadata) GetDefault

func (x *ColumnMetadata) GetDefault() string

func (*ColumnMetadata) GetDefaultConstraintName

func (x *ColumnMetadata) GetDefaultConstraintName() string

func (*ColumnMetadata) GetDefaultOnNull

func (x *ColumnMetadata) GetDefaultOnNull() bool

func (*ColumnMetadata) GetGeneration

func (x *ColumnMetadata) GetGeneration() *GenerationMetadata

func (*ColumnMetadata) GetIdentityGeneration

func (x *ColumnMetadata) GetIdentityGeneration() ColumnMetadata_IdentityGeneration

func (*ColumnMetadata) GetIdentityIncrement

func (x *ColumnMetadata) GetIdentityIncrement() int64

func (*ColumnMetadata) GetIdentitySeed

func (x *ColumnMetadata) GetIdentitySeed() int64

func (*ColumnMetadata) GetIsIdentity

func (x *ColumnMetadata) GetIsIdentity() bool

func (*ColumnMetadata) GetName

func (x *ColumnMetadata) GetName() string

func (*ColumnMetadata) GetNullable

func (x *ColumnMetadata) GetNullable() bool

func (*ColumnMetadata) GetOnUpdate

func (x *ColumnMetadata) GetOnUpdate() string

func (*ColumnMetadata) GetPosition

func (x *ColumnMetadata) GetPosition() int32

func (*ColumnMetadata) GetType

func (x *ColumnMetadata) GetType() string

func (*ColumnMetadata) GetUserComment

func (x *ColumnMetadata) GetUserComment() string

func (*ColumnMetadata) ProtoMessage

func (*ColumnMetadata) ProtoMessage()

func (*ColumnMetadata) ProtoReflect

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

func (*ColumnMetadata) Reset

func (x *ColumnMetadata) Reset()

func (*ColumnMetadata) String

func (x *ColumnMetadata) String() string

type ColumnMetadata_IdentityGeneration

type ColumnMetadata_IdentityGeneration int32
const (
	ColumnMetadata_IDENTITY_GENERATION_UNSPECIFIED ColumnMetadata_IdentityGeneration = 0
	ColumnMetadata_ALWAYS                          ColumnMetadata_IdentityGeneration = 1
	ColumnMetadata_BY_DEFAULT                      ColumnMetadata_IdentityGeneration = 2
)

func (ColumnMetadata_IdentityGeneration) Descriptor

func (ColumnMetadata_IdentityGeneration) Enum

func (ColumnMetadata_IdentityGeneration) EnumDescriptor deprecated

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

Deprecated: Use ColumnMetadata_IdentityGeneration.Descriptor instead.

func (ColumnMetadata_IdentityGeneration) Number

func (ColumnMetadata_IdentityGeneration) String

func (ColumnMetadata_IdentityGeneration) Type

type DataSource

type DataSource struct {
	Id       string         `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Type     DataSourceType `protobuf:"varint,2,opt,name=type,proto3,enum=metaxisdata.store.DataSourceType" json:"type,omitempty"`
	Username string         `protobuf:"bytes,3,opt,name=username,proto3" json:"username,omitempty"`
	Password string         `protobuf:"bytes,37,opt,name=password,proto3" json:"password,omitempty"`
	// A credential is persisted only as its ciphertext: the *_ciphertext field of
	// a pair holds a v1 AES-256-GCM value (backend/common/crypto) and the
	// plaintext field beside it exists for the duration of a read or write, never
	// in the stored row.
	PasswordCiphertext string `protobuf:"bytes,4,opt,name=password_ciphertext,json=passwordCiphertext,proto3" json:"password_ciphertext,omitempty"`
	// Use SSL to connect to the data source. By default, we use the system's SSL configuration.
	UseSsl            bool   `protobuf:"varint,30,opt,name=use_ssl,json=useSsl,proto3" json:"use_ssl,omitempty"`
	SslCa             string `protobuf:"bytes,38,opt,name=ssl_ca,json=sslCa,proto3" json:"ssl_ca,omitempty"`
	SslCaCiphertext   string `protobuf:"bytes,5,opt,name=ssl_ca_ciphertext,json=sslCaCiphertext,proto3" json:"ssl_ca_ciphertext,omitempty"`
	SslCert           string `protobuf:"bytes,39,opt,name=ssl_cert,json=sslCert,proto3" json:"ssl_cert,omitempty"`
	SslCertCiphertext string `protobuf:"bytes,6,opt,name=ssl_cert_ciphertext,json=sslCertCiphertext,proto3" json:"ssl_cert_ciphertext,omitempty"`
	SslKey            string `protobuf:"bytes,40,opt,name=ssl_key,json=sslKey,proto3" json:"ssl_key,omitempty"`
	SslKeyCiphertext  string `protobuf:"bytes,7,opt,name=ssl_key_ciphertext,json=sslKeyCiphertext,proto3" json:"ssl_key_ciphertext,omitempty"`
	// verify_tls_certificate enables TLS certificate verification for SSL connections.
	// Default is false (no verification) for backward compatibility.
	// Set to true for secure connections (recommended for production).
	// Only set to false for development or when certificates cannot be properly
	// validated (e.g., self-signed certs, VPN environments).
	VerifyTlsCertificate bool   `protobuf:"varint,47,opt,name=verify_tls_certificate,json=verifyTlsCertificate,proto3" json:"verify_tls_certificate,omitempty"`
	Host                 string `protobuf:"bytes,8,opt,name=host,proto3" json:"host,omitempty"`
	Port                 string `protobuf:"bytes,9,opt,name=port,proto3" json:"port,omitempty"`
	Database             string `protobuf:"bytes,10,opt,name=database,proto3" json:"database,omitempty"`
	// SSH related
	// The hostname of the SSH server agent.
	SshHost string `protobuf:"bytes,15,opt,name=ssh_host,json=sshHost,proto3" json:"ssh_host,omitempty"`
	// The port of the SSH server agent. It's 22 typically.
	SshPort string `protobuf:"bytes,16,opt,name=ssh_port,json=sshPort,proto3" json:"ssh_port,omitempty"`
	// The user to login the server.
	SshUser string `protobuf:"bytes,17,opt,name=ssh_user,json=sshUser,proto3" json:"ssh_user,omitempty"`
	// The password to login the server. If it's empty string, no password is required.
	SshPassword           string `protobuf:"bytes,41,opt,name=ssh_password,json=sshPassword,proto3" json:"ssh_password,omitempty"`
	SshPasswordCiphertext string `` /* 127-byte string literal not displayed */
	// The private key to login the server. If it's empty string, we will use the system default private key from os.Getenv("SSH_AUTH_SOCK").
	SshPrivateKey           string `protobuf:"bytes,42,opt,name=ssh_private_key,json=sshPrivateKey,proto3" json:"ssh_private_key,omitempty"`
	SshPrivateKeyCiphertext string `` /* 135-byte string literal not displayed */
	// The trusted SSH host key(s) for ssh_host, one entry per line. An entry is
	// either a fingerprint (SHA256:... or MD5:...) or a known_hosts /
	// authorized_keys public key line, as printed by ssh-keyscan. Empty means the
	// SSH host is not trusted: the connection is refused instead of accepting
	// whatever host key answers.
	SshHostKey string `protobuf:"bytes,48,opt,name=ssh_host_key,json=sshHostKey,proto3" json:"ssh_host_key,omitempty"`
	// Extra connection parameters for the database connection.
	// For PostgreSQL HA, this can be used to set target_session_attrs=read-write
	ExtraConnectionParameters map[string]string `` /* 213-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*DataSource) Descriptor deprecated

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

Deprecated: Use DataSource.ProtoReflect.Descriptor instead.

func (*DataSource) GetDatabase

func (x *DataSource) GetDatabase() string

func (*DataSource) GetExtraConnectionParameters

func (x *DataSource) GetExtraConnectionParameters() map[string]string

func (*DataSource) GetHost

func (x *DataSource) GetHost() string

func (*DataSource) GetId

func (x *DataSource) GetId() string

func (*DataSource) GetPassword

func (x *DataSource) GetPassword() string

func (*DataSource) GetPasswordCiphertext

func (x *DataSource) GetPasswordCiphertext() string

func (*DataSource) GetPort

func (x *DataSource) GetPort() string

func (*DataSource) GetSshHost

func (x *DataSource) GetSshHost() string

func (*DataSource) GetSshHostKey

func (x *DataSource) GetSshHostKey() string

func (*DataSource) GetSshPassword

func (x *DataSource) GetSshPassword() string

func (*DataSource) GetSshPasswordCiphertext

func (x *DataSource) GetSshPasswordCiphertext() string

func (*DataSource) GetSshPort

func (x *DataSource) GetSshPort() string

func (*DataSource) GetSshPrivateKey

func (x *DataSource) GetSshPrivateKey() string

func (*DataSource) GetSshPrivateKeyCiphertext

func (x *DataSource) GetSshPrivateKeyCiphertext() string

func (*DataSource) GetSshUser

func (x *DataSource) GetSshUser() string

func (*DataSource) GetSslCa

func (x *DataSource) GetSslCa() string

func (*DataSource) GetSslCaCiphertext

func (x *DataSource) GetSslCaCiphertext() string

func (*DataSource) GetSslCert

func (x *DataSource) GetSslCert() string

func (*DataSource) GetSslCertCiphertext

func (x *DataSource) GetSslCertCiphertext() string

func (*DataSource) GetSslKey

func (x *DataSource) GetSslKey() string

func (*DataSource) GetSslKeyCiphertext

func (x *DataSource) GetSslKeyCiphertext() string

func (*DataSource) GetType

func (x *DataSource) GetType() DataSourceType

func (*DataSource) GetUseSsl

func (x *DataSource) GetUseSsl() bool

func (*DataSource) GetUsername

func (x *DataSource) GetUsername() string

func (*DataSource) GetVerifyTlsCertificate

func (x *DataSource) GetVerifyTlsCertificate() bool

func (*DataSource) ProtoMessage

func (*DataSource) ProtoMessage()

func (*DataSource) ProtoReflect

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

func (*DataSource) Reset

func (x *DataSource) Reset()

func (*DataSource) String

func (x *DataSource) String() string

type DataSourceType

type DataSourceType int32
const (
	DataSourceType_DATA_SOURCE_UNSPECIFIED DataSourceType = 0
	DataSourceType_ADMIN                   DataSourceType = 1
	DataSourceType_READ_ONLY               DataSourceType = 2
)

func (DataSourceType) Descriptor

func (DataSourceType) Enum

func (x DataSourceType) Enum() *DataSourceType

func (DataSourceType) EnumDescriptor deprecated

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

Deprecated: Use DataSourceType.Descriptor instead.

func (DataSourceType) Number

func (DataSourceType) String

func (x DataSourceType) String() string

func (DataSourceType) Type

type DatabaseMetadata

type DatabaseMetadata struct {
	Labels       map[string]string      `` /* 139-byte string literal not displayed */
	LastSyncTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=last_sync_time,json=lastSyncTime,proto3" json:"last_sync_time,omitempty"`
	Datashare    bool                   `protobuf:"varint,4,opt,name=datashare,proto3" json:"datashare,omitempty"`
	// The schema has drifted from the source of truth.
	Drifted bool `protobuf:"varint,6,opt,name=drifted,proto3" json:"drifted,omitempty"`
	// The version of database schema.
	Version string `protobuf:"bytes,7,opt,name=version,proto3" json:"version,omitempty"`
	// contains filtered or unexported fields
}

DatabaseMetadata is the metadata for databases.

func (*DatabaseMetadata) Descriptor deprecated

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

Deprecated: Use DatabaseMetadata.ProtoReflect.Descriptor instead.

func (*DatabaseMetadata) GetDatashare

func (x *DatabaseMetadata) GetDatashare() bool

func (*DatabaseMetadata) GetDrifted

func (x *DatabaseMetadata) GetDrifted() bool

func (*DatabaseMetadata) GetLabels

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

func (*DatabaseMetadata) GetLastSyncTime

func (x *DatabaseMetadata) GetLastSyncTime() *timestamppb.Timestamp

func (*DatabaseMetadata) GetVersion

func (x *DatabaseMetadata) GetVersion() string

func (*DatabaseMetadata) ProtoMessage

func (*DatabaseMetadata) ProtoMessage()

func (*DatabaseMetadata) ProtoReflect

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

func (*DatabaseMetadata) Reset

func (x *DatabaseMetadata) Reset()

func (*DatabaseMetadata) String

func (x *DatabaseMetadata) String() string

type DatabaseSchemaMetadata

type DatabaseSchemaMetadata struct {
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// The list of schemas in a database.
	Schemas []*SchemaMetadata `protobuf:"bytes,2,rep,name=schemas,proto3" json:"schemas,omitempty"`
	// The character set of the database.
	CharacterSet string `protobuf:"bytes,3,opt,name=character_set,json=characterSet,proto3" json:"character_set,omitempty"`
	// The collation of the database.
	Collation string `protobuf:"bytes,4,opt,name=collation,proto3" json:"collation,omitempty"`
	// The list of extensions in a database.
	Extensions []*ExtensionMetadata `protobuf:"bytes,5,rep,name=extensions,proto3" json:"extensions,omitempty"`
	// The database belongs to a datashare.
	Datashare bool   `protobuf:"varint,6,opt,name=datashare,proto3" json:"datashare,omitempty"`
	Owner     string `protobuf:"bytes,9,opt,name=owner,proto3" json:"owner,omitempty"`
	// The search_path is the search path of a PostgreSQL database.
	SearchPath string `protobuf:"bytes,10,opt,name=search_path,json=searchPath,proto3" json:"search_path,omitempty"`
	// The list of event triggers in a database (PostgreSQL specific).
	// Event triggers are database-level objects, not schema-scoped.
	EventTriggers []*EventTriggerMetadata `protobuf:"bytes,11,rep,name=event_triggers,json=eventTriggers,proto3" json:"event_triggers,omitempty"`
	// contains filtered or unexported fields
}

DatabaseSchemaMetadata is the schema metadata for databases.

func (*DatabaseSchemaMetadata) Descriptor deprecated

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

Deprecated: Use DatabaseSchemaMetadata.ProtoReflect.Descriptor instead.

func (*DatabaseSchemaMetadata) GetCharacterSet

func (x *DatabaseSchemaMetadata) GetCharacterSet() string

func (*DatabaseSchemaMetadata) GetCollation

func (x *DatabaseSchemaMetadata) GetCollation() string

func (*DatabaseSchemaMetadata) GetDatashare

func (x *DatabaseSchemaMetadata) GetDatashare() bool

func (*DatabaseSchemaMetadata) GetEventTriggers

func (x *DatabaseSchemaMetadata) GetEventTriggers() []*EventTriggerMetadata

func (*DatabaseSchemaMetadata) GetExtensions

func (x *DatabaseSchemaMetadata) GetExtensions() []*ExtensionMetadata

func (*DatabaseSchemaMetadata) GetName

func (x *DatabaseSchemaMetadata) GetName() string

func (*DatabaseSchemaMetadata) GetOwner

func (x *DatabaseSchemaMetadata) GetOwner() string

func (*DatabaseSchemaMetadata) GetSchemas

func (x *DatabaseSchemaMetadata) GetSchemas() []*SchemaMetadata

func (*DatabaseSchemaMetadata) GetSearchPath

func (x *DatabaseSchemaMetadata) GetSearchPath() string

func (*DatabaseSchemaMetadata) ProtoMessage

func (*DatabaseSchemaMetadata) ProtoMessage()

func (*DatabaseSchemaMetadata) ProtoReflect

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

func (*DatabaseSchemaMetadata) Reset

func (x *DatabaseSchemaMetadata) Reset()

func (*DatabaseSchemaMetadata) String

func (x *DatabaseSchemaMetadata) String() string

type DependencyColumn

type DependencyColumn struct {

	// The schema is the schema of a reference column.
	Schema string `protobuf:"bytes,1,opt,name=schema,proto3" json:"schema,omitempty"`
	// The table is the table of a reference column.
	Table string `protobuf:"bytes,2,opt,name=table,proto3" json:"table,omitempty"`
	// The column is the name of a reference column.
	Column string `protobuf:"bytes,3,opt,name=column,proto3" json:"column,omitempty"`
	// contains filtered or unexported fields
}

DependencyColumn is the metadata for dependency columns.

func (*DependencyColumn) Descriptor deprecated

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

Deprecated: Use DependencyColumn.ProtoReflect.Descriptor instead.

func (*DependencyColumn) GetColumn

func (x *DependencyColumn) GetColumn() string

func (*DependencyColumn) GetSchema

func (x *DependencyColumn) GetSchema() string

func (*DependencyColumn) GetTable

func (x *DependencyColumn) GetTable() string

func (*DependencyColumn) ProtoMessage

func (*DependencyColumn) ProtoMessage()

func (*DependencyColumn) ProtoReflect

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

func (*DependencyColumn) Reset

func (x *DependencyColumn) Reset()

func (*DependencyColumn) String

func (x *DependencyColumn) String() string

type DependencyTable

type DependencyTable struct {

	// The schema is the schema of a reference table.
	Schema string `protobuf:"bytes,1,opt,name=schema,proto3" json:"schema,omitempty"`
	// The table is the name of a reference table.
	Table string `protobuf:"bytes,2,opt,name=table,proto3" json:"table,omitempty"`
	// contains filtered or unexported fields
}

func (*DependencyTable) Descriptor deprecated

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

Deprecated: Use DependencyTable.ProtoReflect.Descriptor instead.

func (*DependencyTable) GetSchema

func (x *DependencyTable) GetSchema() string

func (*DependencyTable) GetTable

func (x *DependencyTable) GetTable() string

func (*DependencyTable) ProtoMessage

func (*DependencyTable) ProtoMessage()

func (*DependencyTable) ProtoReflect

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

func (*DependencyTable) Reset

func (x *DependencyTable) Reset()

func (*DependencyTable) String

func (x *DependencyTable) String() string

type DimensionalConfig

type DimensionalConfig struct {

	// The number of dimensions, 2 to 4, default 2.
	Dimensions int32 `protobuf:"varint,1,opt,name=dimensions,proto3" json:"dimensions,omitempty"`
	// The spatial data type, such as GEOMETRY or GEOGRAPHY.
	DataType string `protobuf:"bytes,2,opt,name=data_type,json=dataType,proto3" json:"data_type,omitempty"`
	// The operator class. (PostgreSQL specific).
	OperatorClass string `protobuf:"bytes,3,opt,name=operator_class,json=operatorClass,proto3" json:"operator_class,omitempty"`
	// The geometry type constraint. (Oracle specific).
	LayerGtype string `protobuf:"bytes,4,opt,name=layer_gtype,json=layerGtype,proto3" json:"layer_gtype,omitempty"`
	// Whether the index is built in parallel.
	ParallelBuild bool `protobuf:"varint,5,opt,name=parallel_build,json=parallelBuild,proto3" json:"parallel_build,omitempty"`
	// contains filtered or unexported fields
}

DimensionalConfig holds dimensional parameters of a spatial index.

func (*DimensionalConfig) Descriptor deprecated

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

Deprecated: Use DimensionalConfig.ProtoReflect.Descriptor instead.

func (*DimensionalConfig) GetDataType

func (x *DimensionalConfig) GetDataType() string

func (*DimensionalConfig) GetDimensions

func (x *DimensionalConfig) GetDimensions() int32

func (*DimensionalConfig) GetLayerGtype

func (x *DimensionalConfig) GetLayerGtype() string

func (*DimensionalConfig) GetOperatorClass

func (x *DimensionalConfig) GetOperatorClass() string

func (*DimensionalConfig) GetParallelBuild

func (x *DimensionalConfig) GetParallelBuild() bool

func (*DimensionalConfig) ProtoMessage

func (*DimensionalConfig) ProtoMessage()

func (*DimensionalConfig) ProtoReflect

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

func (*DimensionalConfig) Reset

func (x *DimensionalConfig) Reset()

func (*DimensionalConfig) String

func (x *DimensionalConfig) String() string

type Engine

type Engine int32

Engine is the database engine of an instance. It must stay value-compatible with metaxisdata.v1.Engine.

const (
	Engine_ENGINE_UNSPECIFIED Engine = 0
	Engine_MSSQL              Engine = 1
	Engine_MYSQL              Engine = 2
	Engine_POSTGRES           Engine = 3
	Engine_TIDB               Engine = 6
	Engine_MARIADB            Engine = 13
	Engine_OCEANBASE          Engine = 14
	Engine_STARROCKS          Engine = 15
	Engine_DORIS              Engine = 16
)

func (Engine) Descriptor

func (Engine) Descriptor() protoreflect.EnumDescriptor

func (Engine) Enum

func (x Engine) Enum() *Engine

func (Engine) EnumDescriptor deprecated

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

Deprecated: Use Engine.Descriptor instead.

func (Engine) Number

func (x Engine) Number() protoreflect.EnumNumber

func (Engine) String

func (x Engine) String() string

func (Engine) Type

func (Engine) Type() protoreflect.EnumType

type EnumTypeMetadata

type EnumTypeMetadata struct {

	// The name of the enum type.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// The enum values of the type.
	Values   []string `protobuf:"bytes,2,rep,name=values,proto3" json:"values,omitempty"`
	Comment  string   `protobuf:"bytes,3,opt,name=comment,proto3" json:"comment,omitempty"`
	SkipDump bool     `protobuf:"varint,4,opt,name=skip_dump,json=skipDump,proto3" json:"skip_dump,omitempty"`
	// contains filtered or unexported fields
}

func (*EnumTypeMetadata) Descriptor deprecated

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

Deprecated: Use EnumTypeMetadata.ProtoReflect.Descriptor instead.

func (*EnumTypeMetadata) GetComment

func (x *EnumTypeMetadata) GetComment() string

func (*EnumTypeMetadata) GetName

func (x *EnumTypeMetadata) GetName() string

func (*EnumTypeMetadata) GetSkipDump

func (x *EnumTypeMetadata) GetSkipDump() bool

func (*EnumTypeMetadata) GetValues

func (x *EnumTypeMetadata) GetValues() []string

func (*EnumTypeMetadata) ProtoMessage

func (*EnumTypeMetadata) ProtoMessage()

func (*EnumTypeMetadata) ProtoReflect

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

func (*EnumTypeMetadata) Reset

func (x *EnumTypeMetadata) Reset()

func (*EnumTypeMetadata) String

func (x *EnumTypeMetadata) String() string

type EnvironmentSetting

type EnvironmentSetting struct {
	Environments []*EnvironmentSetting_Environment `protobuf:"bytes,1,rep,name=environments,proto3" json:"environments,omitempty"`
	// contains filtered or unexported fields
}

func (*EnvironmentSetting) Descriptor deprecated

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

Deprecated: Use EnvironmentSetting.ProtoReflect.Descriptor instead.

func (*EnvironmentSetting) GetEnvironments

func (x *EnvironmentSetting) GetEnvironments() []*EnvironmentSetting_Environment

func (*EnvironmentSetting) ProtoMessage

func (*EnvironmentSetting) ProtoMessage()

func (*EnvironmentSetting) ProtoReflect

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

func (*EnvironmentSetting) Reset

func (x *EnvironmentSetting) Reset()

func (*EnvironmentSetting) String

func (x *EnvironmentSetting) String() string

type EnvironmentSetting_Environment

type EnvironmentSetting_Environment struct {

	// The resource id of the environment.
	// This value should be 4-63 characters, and valid characters
	// are /[a-z0-9-]/.
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// The display name of the environment.
	Title string            `protobuf:"bytes,2,opt,name=title,proto3" json:"title,omitempty"`
	Tags  map[string]string `` /* 135-byte string literal not displayed */
	Color string            `protobuf:"bytes,4,opt,name=color,proto3" json:"color,omitempty"`
	// contains filtered or unexported fields
}

func (*EnvironmentSetting_Environment) Descriptor deprecated

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

Deprecated: Use EnvironmentSetting_Environment.ProtoReflect.Descriptor instead.

func (*EnvironmentSetting_Environment) GetColor

func (x *EnvironmentSetting_Environment) GetColor() string

func (*EnvironmentSetting_Environment) GetId

func (*EnvironmentSetting_Environment) GetTags

func (x *EnvironmentSetting_Environment) GetTags() map[string]string

func (*EnvironmentSetting_Environment) GetTitle

func (x *EnvironmentSetting_Environment) GetTitle() string

func (*EnvironmentSetting_Environment) ProtoMessage

func (*EnvironmentSetting_Environment) ProtoMessage()

func (*EnvironmentSetting_Environment) ProtoReflect

func (*EnvironmentSetting_Environment) Reset

func (x *EnvironmentSetting_Environment) Reset()

func (*EnvironmentSetting_Environment) String

type EventMetadata

type EventMetadata struct {

	// The name of the event.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// The schedule of the event.
	Definition string `protobuf:"bytes,2,opt,name=definition,proto3" json:"definition,omitempty"`
	// The time zone of the event.
	TimeZone            string `protobuf:"bytes,3,opt,name=time_zone,json=timeZone,proto3" json:"time_zone,omitempty"`
	SqlMode             string `protobuf:"bytes,4,opt,name=sql_mode,json=sqlMode,proto3" json:"sql_mode,omitempty"`
	CharacterSetClient  string `protobuf:"bytes,5,opt,name=character_set_client,json=characterSetClient,proto3" json:"character_set_client,omitempty"`
	CollationConnection string `protobuf:"bytes,6,opt,name=collation_connection,json=collationConnection,proto3" json:"collation_connection,omitempty"`
	Comment             string `protobuf:"bytes,7,opt,name=comment,proto3" json:"comment,omitempty"`
	// contains filtered or unexported fields
}

func (*EventMetadata) Descriptor deprecated

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

Deprecated: Use EventMetadata.ProtoReflect.Descriptor instead.

func (*EventMetadata) GetCharacterSetClient

func (x *EventMetadata) GetCharacterSetClient() string

func (*EventMetadata) GetCollationConnection

func (x *EventMetadata) GetCollationConnection() string

func (*EventMetadata) GetComment

func (x *EventMetadata) GetComment() string

func (*EventMetadata) GetDefinition

func (x *EventMetadata) GetDefinition() string

func (*EventMetadata) GetName

func (x *EventMetadata) GetName() string

func (*EventMetadata) GetSqlMode

func (x *EventMetadata) GetSqlMode() string

func (*EventMetadata) GetTimeZone

func (x *EventMetadata) GetTimeZone() string

func (*EventMetadata) ProtoMessage

func (*EventMetadata) ProtoMessage()

func (*EventMetadata) ProtoReflect

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

func (*EventMetadata) Reset

func (x *EventMetadata) Reset()

func (*EventMetadata) String

func (x *EventMetadata) String() string

type EventTriggerMetadata

type EventTriggerMetadata struct {

	// The name of the event trigger.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// The event type: DDL_COMMAND_START, DDL_COMMAND_END, SQL_DROP, TABLE_REWRITE.
	Event string `protobuf:"bytes,2,opt,name=event,proto3" json:"event,omitempty"`
	// The tags filter (e.g., ['CREATE TABLE', 'DROP TABLE']).
	Tags []string `protobuf:"bytes,3,rep,name=tags,proto3" json:"tags,omitempty"`
	// The schema of the function to execute.
	FunctionSchema string `protobuf:"bytes,4,opt,name=function_schema,json=functionSchema,proto3" json:"function_schema,omitempty"`
	// The name of the function to execute.
	FunctionName string `protobuf:"bytes,5,opt,name=function_name,json=functionName,proto3" json:"function_name,omitempty"`
	// Whether the trigger is enabled.
	Enabled bool `protobuf:"varint,6,opt,name=enabled,proto3" json:"enabled,omitempty"`
	// The full CREATE EVENT TRIGGER definition from pg_get_event_trigger_def().
	// SDL output should prefer using this field.
	Definition string `protobuf:"bytes,7,opt,name=definition,proto3" json:"definition,omitempty"`
	// The comment on the event trigger.
	Comment string `protobuf:"bytes,8,opt,name=comment,proto3" json:"comment,omitempty"`
	// Skip dump flag (for extension-owned triggers).
	SkipDump bool `protobuf:"varint,9,opt,name=skip_dump,json=skipDump,proto3" json:"skip_dump,omitempty"`
	// contains filtered or unexported fields
}

EventTriggerMetadata is the metadata for PostgreSQL event triggers. Event triggers are database-level objects that fire on DDL events.

func (*EventTriggerMetadata) Descriptor deprecated

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

Deprecated: Use EventTriggerMetadata.ProtoReflect.Descriptor instead.

func (*EventTriggerMetadata) GetComment

func (x *EventTriggerMetadata) GetComment() string

func (*EventTriggerMetadata) GetDefinition

func (x *EventTriggerMetadata) GetDefinition() string

func (*EventTriggerMetadata) GetEnabled

func (x *EventTriggerMetadata) GetEnabled() bool

func (*EventTriggerMetadata) GetEvent

func (x *EventTriggerMetadata) GetEvent() string

func (*EventTriggerMetadata) GetFunctionName

func (x *EventTriggerMetadata) GetFunctionName() string

func (*EventTriggerMetadata) GetFunctionSchema

func (x *EventTriggerMetadata) GetFunctionSchema() string

func (*EventTriggerMetadata) GetName

func (x *EventTriggerMetadata) GetName() string

func (*EventTriggerMetadata) GetSkipDump

func (x *EventTriggerMetadata) GetSkipDump() bool

func (*EventTriggerMetadata) GetTags

func (x *EventTriggerMetadata) GetTags() []string

func (*EventTriggerMetadata) ProtoMessage

func (*EventTriggerMetadata) ProtoMessage()

func (*EventTriggerMetadata) ProtoReflect

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

func (*EventTriggerMetadata) Reset

func (x *EventTriggerMetadata) Reset()

func (*EventTriggerMetadata) String

func (x *EventTriggerMetadata) String() string

type ExcludeConstraintMetadata

type ExcludeConstraintMetadata struct {

	// The name of the EXCLUDE constraint.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// The expression is the full EXCLUDE constraint definition including "EXCLUDE" keyword.
	// Example: "EXCLUDE USING gist (room_id WITH =, during WITH &&)"
	Expression string `protobuf:"bytes,2,opt,name=expression,proto3" json:"expression,omitempty"`
	// contains filtered or unexported fields
}

func (*ExcludeConstraintMetadata) Descriptor deprecated

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

Deprecated: Use ExcludeConstraintMetadata.ProtoReflect.Descriptor instead.

func (*ExcludeConstraintMetadata) GetExpression

func (x *ExcludeConstraintMetadata) GetExpression() string

func (*ExcludeConstraintMetadata) GetName

func (x *ExcludeConstraintMetadata) GetName() string

func (*ExcludeConstraintMetadata) ProtoMessage

func (*ExcludeConstraintMetadata) ProtoMessage()

func (*ExcludeConstraintMetadata) ProtoReflect

func (*ExcludeConstraintMetadata) Reset

func (x *ExcludeConstraintMetadata) Reset()

func (*ExcludeConstraintMetadata) String

func (x *ExcludeConstraintMetadata) String() string

type ExtensionMetadata

type ExtensionMetadata struct {

	// The name of the extension.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// The schema where the extension is installed. However, the extension usage
	// is not limited to the schema.
	Schema string `protobuf:"bytes,2,opt,name=schema,proto3" json:"schema,omitempty"`
	// The version is the version of an extension.
	Version string `protobuf:"bytes,3,opt,name=version,proto3" json:"version,omitempty"`
	// The description is the description of an extension.
	Description string `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty"`
	// contains filtered or unexported fields
}

ExtensionMetadata is the metadata for extensions.

func (*ExtensionMetadata) Descriptor deprecated

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

Deprecated: Use ExtensionMetadata.ProtoReflect.Descriptor instead.

func (*ExtensionMetadata) GetDescription

func (x *ExtensionMetadata) GetDescription() string

func (*ExtensionMetadata) GetName

func (x *ExtensionMetadata) GetName() string

func (*ExtensionMetadata) GetSchema

func (x *ExtensionMetadata) GetSchema() string

func (*ExtensionMetadata) GetVersion

func (x *ExtensionMetadata) GetVersion() string

func (*ExtensionMetadata) ProtoMessage

func (*ExtensionMetadata) ProtoMessage()

func (*ExtensionMetadata) ProtoReflect

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

func (*ExtensionMetadata) Reset

func (x *ExtensionMetadata) Reset()

func (*ExtensionMetadata) String

func (x *ExtensionMetadata) String() string

type ExternalTableMetadata

type ExternalTableMetadata struct {

	// The name of the external table.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// The external_server_name is the name of the external server.
	ExternalServerName string `protobuf:"bytes,2,opt,name=external_server_name,json=externalServerName,proto3" json:"external_server_name,omitempty"`
	// The external_database_name is the name of the external database.
	ExternalDatabaseName string `protobuf:"bytes,3,opt,name=external_database_name,json=externalDatabaseName,proto3" json:"external_database_name,omitempty"`
	// The columns is the ordered list of columns in a foreign table.
	Columns []*ColumnMetadata `protobuf:"bytes,4,rep,name=columns,proto3" json:"columns,omitempty"`
	// contains filtered or unexported fields
}

func (*ExternalTableMetadata) Descriptor deprecated

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

Deprecated: Use ExternalTableMetadata.ProtoReflect.Descriptor instead.

func (*ExternalTableMetadata) GetColumns

func (x *ExternalTableMetadata) GetColumns() []*ColumnMetadata

func (*ExternalTableMetadata) GetExternalDatabaseName

func (x *ExternalTableMetadata) GetExternalDatabaseName() string

func (*ExternalTableMetadata) GetExternalServerName

func (x *ExternalTableMetadata) GetExternalServerName() string

func (*ExternalTableMetadata) GetName

func (x *ExternalTableMetadata) GetName() string

func (*ExternalTableMetadata) ProtoMessage

func (*ExternalTableMetadata) ProtoMessage()

func (*ExternalTableMetadata) ProtoReflect

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

func (*ExternalTableMetadata) Reset

func (x *ExternalTableMetadata) Reset()

func (*ExternalTableMetadata) String

func (x *ExternalTableMetadata) String() string

type FieldMapping

type FieldMapping struct {

	// Identifier is the field name of the unique identifier in 3rd-party idp user info. Required.
	Identifier string `protobuf:"bytes,1,opt,name=identifier,proto3" json:"identifier,omitempty"`
	// DisplayName is the field name of display name in 3rd-party idp user info. Optional.
	DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
	// Phone is the field name of primary phone in 3rd-party idp user info. Optional.
	Phone string `protobuf:"bytes,4,opt,name=phone,proto3" json:"phone,omitempty"`
	// Subject is the field name of the provider-assigned subject in 3rd-party
	// idp user info, such as the OIDC "sub" claim. An account is bound to this
	// value and a repeat login resolves against that binding, never against the
	// identifier (email) claim, which is mutable.
	//
	// Required unless the workspace has turned on the email-identity switch
	// (allow_sso_email_identity), which accepts a provider that maps no subject
	// and identifies its users by the address claim.
	Subject string `protobuf:"bytes,6,opt,name=subject,proto3" json:"subject,omitempty"`
	// Groups is the field name of groups in 3rd-party idp user info. Optional.
	// Mainly used for OIDC: https://developer.okta.com/docs/guides/customize-tokens-groups-claim/main/
	Groups string `protobuf:"bytes,5,opt,name=groups,proto3" json:"groups,omitempty"`
	// contains filtered or unexported fields
}

FieldMapping maps the field names of the identity provider user info response onto the user info consumed at login time. Nothing is persisted: the raw response and the mapped values only live for the duration of a login.

func (*FieldMapping) Descriptor deprecated

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

Deprecated: Use FieldMapping.ProtoReflect.Descriptor instead.

func (*FieldMapping) GetDisplayName

func (x *FieldMapping) GetDisplayName() string

func (*FieldMapping) GetGroups

func (x *FieldMapping) GetGroups() string

func (*FieldMapping) GetIdentifier

func (x *FieldMapping) GetIdentifier() string

func (*FieldMapping) GetPhone

func (x *FieldMapping) GetPhone() string

func (*FieldMapping) GetSubject

func (x *FieldMapping) GetSubject() string

func (*FieldMapping) ProtoMessage

func (*FieldMapping) ProtoMessage()

func (*FieldMapping) ProtoReflect

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

func (*FieldMapping) Reset

func (x *FieldMapping) Reset()

func (*FieldMapping) String

func (x *FieldMapping) String() string

type ForeignKeyMetadata

type ForeignKeyMetadata struct {

	// The name of the foreign key.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// The columns are the ordered referencing columns of a foreign key.
	Columns []string `protobuf:"bytes,2,rep,name=columns,proto3" json:"columns,omitempty"`
	// The referenced_schema is the referenced schema name of a foreign key.
	// It is an empty string for databases without such concept such as MySQL.
	ReferencedSchema string `protobuf:"bytes,3,opt,name=referenced_schema,json=referencedSchema,proto3" json:"referenced_schema,omitempty"`
	// The referenced_table is the referenced table name of a foreign key.
	ReferencedTable string `protobuf:"bytes,4,opt,name=referenced_table,json=referencedTable,proto3" json:"referenced_table,omitempty"`
	// The referenced_columns are the ordered referenced columns of a foreign key.
	ReferencedColumns []string `protobuf:"bytes,5,rep,name=referenced_columns,json=referencedColumns,proto3" json:"referenced_columns,omitempty"`
	// The on_delete is the on delete action of a foreign key.
	OnDelete string `protobuf:"bytes,6,opt,name=on_delete,json=onDelete,proto3" json:"on_delete,omitempty"`
	// The on_update is the on update action of a foreign key.
	OnUpdate string `protobuf:"bytes,7,opt,name=on_update,json=onUpdate,proto3" json:"on_update,omitempty"`
	// The match_type is the match type of a foreign key.
	// The match_type is the PostgreSQL specific field.
	// It's empty string for other databases.
	MatchType string `protobuf:"bytes,8,opt,name=match_type,json=matchType,proto3" json:"match_type,omitempty"`
	// contains filtered or unexported fields
}

ForeignKeyMetadata is the metadata for foreign keys.

func (*ForeignKeyMetadata) Descriptor deprecated

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

Deprecated: Use ForeignKeyMetadata.ProtoReflect.Descriptor instead.

func (*ForeignKeyMetadata) GetColumns

func (x *ForeignKeyMetadata) GetColumns() []string

func (*ForeignKeyMetadata) GetMatchType

func (x *ForeignKeyMetadata) GetMatchType() string

func (*ForeignKeyMetadata) GetName

func (x *ForeignKeyMetadata) GetName() string

func (*ForeignKeyMetadata) GetOnDelete

func (x *ForeignKeyMetadata) GetOnDelete() string

func (*ForeignKeyMetadata) GetOnUpdate

func (x *ForeignKeyMetadata) GetOnUpdate() string

func (*ForeignKeyMetadata) GetReferencedColumns

func (x *ForeignKeyMetadata) GetReferencedColumns() []string

func (*ForeignKeyMetadata) GetReferencedSchema

func (x *ForeignKeyMetadata) GetReferencedSchema() string

func (*ForeignKeyMetadata) GetReferencedTable

func (x *ForeignKeyMetadata) GetReferencedTable() string

func (*ForeignKeyMetadata) ProtoMessage

func (*ForeignKeyMetadata) ProtoMessage()

func (*ForeignKeyMetadata) ProtoReflect

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

func (*ForeignKeyMetadata) Reset

func (x *ForeignKeyMetadata) Reset()

func (*ForeignKeyMetadata) String

func (x *ForeignKeyMetadata) String() string

type FunctionMetadata

type FunctionMetadata struct {

	// The name of the function.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// The definition is the definition of a function.
	Definition string `protobuf:"bytes,2,opt,name=definition,proto3" json:"definition,omitempty"`
	// The signature is the name with the number and type of input arguments the
	// function takes.
	Signature string `protobuf:"bytes,3,opt,name=signature,proto3" json:"signature,omitempty"`
	// MySQL specific metadata.
	CharacterSetClient  string `protobuf:"bytes,4,opt,name=character_set_client,json=characterSetClient,proto3" json:"character_set_client,omitempty"`
	CollationConnection string `protobuf:"bytes,5,opt,name=collation_connection,json=collationConnection,proto3" json:"collation_connection,omitempty"`
	DatabaseCollation   string `protobuf:"bytes,6,opt,name=database_collation,json=databaseCollation,proto3" json:"database_collation,omitempty"`
	SqlMode             string `protobuf:"bytes,7,opt,name=sql_mode,json=sqlMode,proto3" json:"sql_mode,omitempty"`
	Comment             string `protobuf:"bytes,8,opt,name=comment,proto3" json:"comment,omitempty"`
	// The dependency_tables is the list of dependency tables of a function.
	// For PostgreSQL, it's the list of tables that the function depends on the return type definition.
	DependencyTables []*DependencyTable `protobuf:"bytes,9,rep,name=dependency_tables,json=dependencyTables,proto3" json:"dependency_tables,omitempty"`
	SkipDump         bool               `protobuf:"varint,10,opt,name=skip_dump,json=skipDump,proto3" json:"skip_dump,omitempty"`
	// contains filtered or unexported fields
}

FunctionMetadata is the metadata for functions.

func (*FunctionMetadata) Descriptor deprecated

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

Deprecated: Use FunctionMetadata.ProtoReflect.Descriptor instead.

func (*FunctionMetadata) GetCharacterSetClient

func (x *FunctionMetadata) GetCharacterSetClient() string

func (*FunctionMetadata) GetCollationConnection

func (x *FunctionMetadata) GetCollationConnection() string

func (*FunctionMetadata) GetComment

func (x *FunctionMetadata) GetComment() string

func (*FunctionMetadata) GetDatabaseCollation

func (x *FunctionMetadata) GetDatabaseCollation() string

func (*FunctionMetadata) GetDefinition

func (x *FunctionMetadata) GetDefinition() string

func (*FunctionMetadata) GetDependencyTables

func (x *FunctionMetadata) GetDependencyTables() []*DependencyTable

func (*FunctionMetadata) GetName

func (x *FunctionMetadata) GetName() string

func (*FunctionMetadata) GetSignature

func (x *FunctionMetadata) GetSignature() string

func (*FunctionMetadata) GetSkipDump

func (x *FunctionMetadata) GetSkipDump() bool

func (*FunctionMetadata) GetSqlMode

func (x *FunctionMetadata) GetSqlMode() string

func (*FunctionMetadata) ProtoMessage

func (*FunctionMetadata) ProtoMessage()

func (*FunctionMetadata) ProtoReflect

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

func (*FunctionMetadata) Reset

func (x *FunctionMetadata) Reset()

func (*FunctionMetadata) String

func (x *FunctionMetadata) String() string

type GenerationMetadata

type GenerationMetadata struct {
	Type       GenerationMetadata_Type `protobuf:"varint,1,opt,name=type,proto3,enum=metaxisdata.store.GenerationMetadata_Type" json:"type,omitempty"`
	Expression string                  `protobuf:"bytes,2,opt,name=expression,proto3" json:"expression,omitempty"`
	// contains filtered or unexported fields
}

func (*GenerationMetadata) Descriptor deprecated

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

Deprecated: Use GenerationMetadata.ProtoReflect.Descriptor instead.

func (*GenerationMetadata) GetExpression

func (x *GenerationMetadata) GetExpression() string

func (*GenerationMetadata) GetType

func (*GenerationMetadata) ProtoMessage

func (*GenerationMetadata) ProtoMessage()

func (*GenerationMetadata) ProtoReflect

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

func (*GenerationMetadata) Reset

func (x *GenerationMetadata) Reset()

func (*GenerationMetadata) String

func (x *GenerationMetadata) String() string

type GenerationMetadata_Type

type GenerationMetadata_Type int32
const (
	GenerationMetadata_TYPE_UNSPECIFIED GenerationMetadata_Type = 0
	GenerationMetadata_TYPE_VIRTUAL     GenerationMetadata_Type = 1
	GenerationMetadata_TYPE_STORED      GenerationMetadata_Type = 2
)

func (GenerationMetadata_Type) Descriptor

func (GenerationMetadata_Type) Enum

func (GenerationMetadata_Type) EnumDescriptor deprecated

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

Deprecated: Use GenerationMetadata_Type.Descriptor instead.

func (GenerationMetadata_Type) Number

func (GenerationMetadata_Type) String

func (x GenerationMetadata_Type) String() string

func (GenerationMetadata_Type) Type

type GridLevel

type GridLevel struct {

	// The level, 1 to 4 for SQL Server.
	Level int32 `protobuf:"varint,1,opt,name=level,proto3" json:"level,omitempty"`
	// The density, such as LOW, MEDIUM or HIGH.
	Density string `protobuf:"bytes,2,opt,name=density,proto3" json:"density,omitempty"`
	// contains filtered or unexported fields
}

GridLevel is one grid level of a spatial tessellation.

func (*GridLevel) Descriptor deprecated

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

Deprecated: Use GridLevel.ProtoReflect.Descriptor instead.

func (*GridLevel) GetDensity

func (x *GridLevel) GetDensity() string

func (*GridLevel) GetLevel

func (x *GridLevel) GetLevel() int32

func (*GridLevel) ProtoMessage

func (*GridLevel) ProtoMessage()

func (*GridLevel) ProtoReflect

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

func (*GridLevel) Reset

func (x *GridLevel) Reset()

func (*GridLevel) String

func (x *GridLevel) String() string

type GroupMember

type GroupMember struct {

	// Member is the principal who belong to this group.
	//
	// Format: users/{userUID}.
	Member string           `protobuf:"bytes,1,opt,name=member,proto3" json:"member,omitempty"`
	Role   GroupMember_Role `protobuf:"varint,2,opt,name=role,proto3,enum=metaxisdata.store.GroupMember_Role" json:"role,omitempty"`
	// contains filtered or unexported fields
}

func (*GroupMember) Descriptor deprecated

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

Deprecated: Use GroupMember.ProtoReflect.Descriptor instead.

func (*GroupMember) GetMember

func (x *GroupMember) GetMember() string

func (*GroupMember) GetRole

func (x *GroupMember) GetRole() GroupMember_Role

func (*GroupMember) ProtoMessage

func (*GroupMember) ProtoMessage()

func (*GroupMember) ProtoReflect

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

func (*GroupMember) Reset

func (x *GroupMember) Reset()

func (*GroupMember) String

func (x *GroupMember) String() string

type GroupMember_Role

type GroupMember_Role int32
const (
	GroupMember_ROLE_UNSPECIFIED GroupMember_Role = 0
	GroupMember_OWNER            GroupMember_Role = 1
	GroupMember_MEMBER           GroupMember_Role = 2
)

func (GroupMember_Role) Descriptor

func (GroupMember_Role) Enum

func (GroupMember_Role) EnumDescriptor deprecated

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

Deprecated: Use GroupMember_Role.Descriptor instead.

func (GroupMember_Role) Number

func (GroupMember_Role) String

func (x GroupMember_Role) String() string

func (GroupMember_Role) Type

type GroupPayload

type GroupPayload struct {
	Members []*GroupMember `protobuf:"bytes,1,rep,name=members,proto3" json:"members,omitempty"`
	// contains filtered or unexported fields
}

func (*GroupPayload) Descriptor deprecated

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

Deprecated: Use GroupPayload.ProtoReflect.Descriptor instead.

func (*GroupPayload) GetMembers

func (x *GroupPayload) GetMembers() []*GroupMember

func (*GroupPayload) ProtoMessage

func (*GroupPayload) ProtoMessage()

func (*GroupPayload) ProtoReflect

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

func (*GroupPayload) Reset

func (x *GroupPayload) Reset()

func (*GroupPayload) String

func (x *GroupPayload) String() string

type IamPolicy

type IamPolicy struct {

	// Collection of binding.
	// A binding binds one or more members or groups to a single role.
	Bindings []*Binding `protobuf:"bytes,1,rep,name=bindings,proto3" json:"bindings,omitempty"`
	// contains filtered or unexported fields
}

func (*IamPolicy) Descriptor deprecated

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

Deprecated: Use IamPolicy.ProtoReflect.Descriptor instead.

func (*IamPolicy) GetBindings

func (x *IamPolicy) GetBindings() []*Binding

func (*IamPolicy) ProtoMessage

func (*IamPolicy) ProtoMessage()

func (*IamPolicy) ProtoReflect

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

func (*IamPolicy) Reset

func (x *IamPolicy) Reset()

func (*IamPolicy) String

func (x *IamPolicy) String() string

type IdentityProviderConfig

type IdentityProviderConfig struct {

	// Types that are valid to be assigned to Config:
	//
	//	*IdentityProviderConfig_Oauth2Config
	Config isIdentityProviderConfig_Config `protobuf_oneof:"config"`
	// contains filtered or unexported fields
}

func (*IdentityProviderConfig) Descriptor deprecated

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

Deprecated: Use IdentityProviderConfig.ProtoReflect.Descriptor instead.

func (*IdentityProviderConfig) GetConfig

func (x *IdentityProviderConfig) GetConfig() isIdentityProviderConfig_Config

func (*IdentityProviderConfig) GetOauth2Config

func (*IdentityProviderConfig) ProtoMessage

func (*IdentityProviderConfig) ProtoMessage()

func (*IdentityProviderConfig) ProtoReflect

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

func (*IdentityProviderConfig) Reset

func (x *IdentityProviderConfig) Reset()

func (*IdentityProviderConfig) String

func (x *IdentityProviderConfig) String() string

type IdentityProviderConfig_Oauth2Config

type IdentityProviderConfig_Oauth2Config struct {
	Oauth2Config *OAuth2IdentityProviderConfig `protobuf:"bytes,1,opt,name=oauth2_config,json=oauth2Config,proto3,oneof"`
}

type IdentityProviderType

type IdentityProviderType int32

IdentityProviderType is the type of a configured identity provider. Only OAuth2 is implemented: the login path rejects anything else, and IdentityProviderService creates nothing else.

const (
	IdentityProviderType_IDENTITY_PROVIDER_TYPE_UNSPECIFIED IdentityProviderType = 0
	IdentityProviderType_OAUTH2                             IdentityProviderType = 1
)

func (IdentityProviderType) Descriptor

func (IdentityProviderType) Enum

func (IdentityProviderType) EnumDescriptor deprecated

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

Deprecated: Use IdentityProviderType.Descriptor instead.

func (IdentityProviderType) Number

func (IdentityProviderType) String

func (x IdentityProviderType) String() string

func (IdentityProviderType) Type

type IdentityProviderUserInfo

type IdentityProviderUserInfo struct {

	// Identifier is the value of the unique identifier in 3rd-party idp user info,
	// normally the email address. It names the account but does not identify it.
	Identifier string `protobuf:"bytes,1,opt,name=identifier,proto3" json:"identifier,omitempty"`
	// Subject is the value of the provider-assigned subject in 3rd-party idp user
	// info. It is the identity a login is bound to.
	Subject string `protobuf:"bytes,7,opt,name=subject,proto3" json:"subject,omitempty"`
	// DisplayName is the value of display name in 3rd-party idp user info.
	DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
	// Phone is the value of primary phone in 3rd-party idp user info.
	Phone string `protobuf:"bytes,4,opt,name=phone,proto3" json:"phone,omitempty"`
	// Groups is the value of groups in 3rd-party idp user info.
	// Mainly used for OIDC: https://developer.okta.com/docs/guides/customize-tokens-groups-claim/main/
	Groups    []string `protobuf:"bytes,5,rep,name=groups,proto3" json:"groups,omitempty"`
	HasGroups bool     `protobuf:"varint,6,opt,name=has_groups,json=hasGroups,proto3" json:"has_groups,omitempty"`
	// contains filtered or unexported fields
}

func (*IdentityProviderUserInfo) Descriptor deprecated

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

Deprecated: Use IdentityProviderUserInfo.ProtoReflect.Descriptor instead.

func (*IdentityProviderUserInfo) GetDisplayName

func (x *IdentityProviderUserInfo) GetDisplayName() string

func (*IdentityProviderUserInfo) GetGroups

func (x *IdentityProviderUserInfo) GetGroups() []string

func (*IdentityProviderUserInfo) GetHasGroups

func (x *IdentityProviderUserInfo) GetHasGroups() bool

func (*IdentityProviderUserInfo) GetIdentifier

func (x *IdentityProviderUserInfo) GetIdentifier() string

func (*IdentityProviderUserInfo) GetPhone

func (x *IdentityProviderUserInfo) GetPhone() string

func (*IdentityProviderUserInfo) GetSubject

func (x *IdentityProviderUserInfo) GetSubject() string

func (*IdentityProviderUserInfo) ProtoMessage

func (*IdentityProviderUserInfo) ProtoMessage()

func (*IdentityProviderUserInfo) ProtoReflect

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

func (*IdentityProviderUserInfo) Reset

func (x *IdentityProviderUserInfo) Reset()

func (*IdentityProviderUserInfo) String

func (x *IdentityProviderUserInfo) String() string

type IndexMetadata

type IndexMetadata struct {

	// The name of the index.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// The expressions are the ordered columns or expressions of an index.
	// This could refer to a column or an expression.
	Expressions []string `protobuf:"bytes,2,rep,name=expressions,proto3" json:"expressions,omitempty"`
	// The ordered list of key lengths for the index.
	// If the key length is not specified, it is -1.
	KeyLength []int64 `protobuf:"varint,9,rep,packed,name=key_length,json=keyLength,proto3" json:"key_length,omitempty"`
	// The ordered list of descending flags for the index columns.
	Descending []bool `protobuf:"varint,10,rep,packed,name=descending,proto3" json:"descending,omitempty"`
	// The type is the type of an index.
	Type string `protobuf:"bytes,3,opt,name=type,proto3" json:"type,omitempty"`
	// The unique is whether the index is unique.
	Unique bool `protobuf:"varint,4,opt,name=unique,proto3" json:"unique,omitempty"`
	// The primary is whether the index is a primary key index.
	Primary bool `protobuf:"varint,5,opt,name=primary,proto3" json:"primary,omitempty"`
	// The visible is whether the index is visible.
	Visible bool `protobuf:"varint,6,opt,name=visible,proto3" json:"visible,omitempty"`
	// The comment is the comment of an index.
	Comment string `protobuf:"bytes,7,opt,name=comment,proto3" json:"comment,omitempty"`
	// The definition of an index.
	Definition string `protobuf:"bytes,8,opt,name=definition,proto3" json:"definition,omitempty"`
	// The schema name of the parent index.
	ParentIndexSchema string `protobuf:"bytes,11,opt,name=parent_index_schema,json=parentIndexSchema,proto3" json:"parent_index_schema,omitempty"`
	// The index name of the parent index.
	ParentIndexName string `protobuf:"bytes,12,opt,name=parent_index_name,json=parentIndexName,proto3" json:"parent_index_name,omitempty"`
	// It's a PostgreSQL specific field.
	// The unique constraint and unique index are not the same thing in PostgreSQL.
	IsConstraint bool `protobuf:"varint,14,opt,name=is_constraint,json=isConstraint,proto3" json:"is_constraint,omitempty"`
	// https://www.postgresql.org/docs/current/catalog-pg-opclass.html
	// Name of the operator class for each column. (PostgreSQL specific).
	OpclassNames []string `protobuf:"bytes,16,rep,name=opclass_names,json=opclassNames,proto3" json:"opclass_names,omitempty"`
	// True if the operator class is the default. (PostgreSQL specific).
	OpclassDefaults []bool `protobuf:"varint,17,rep,packed,name=opclass_defaults,json=opclassDefaults,proto3" json:"opclass_defaults,omitempty"`
	// The spatial index configuration. (SQL Server and other engines).
	SpatialConfig *SpatialIndexConfig `protobuf:"bytes,15,opt,name=spatial_config,json=spatialConfig,proto3" json:"spatial_config,omitempty"`
	// contains filtered or unexported fields
}

IndexMetadata is the metadata for indexes.

func (*IndexMetadata) Descriptor deprecated

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

Deprecated: Use IndexMetadata.ProtoReflect.Descriptor instead.

func (*IndexMetadata) GetComment

func (x *IndexMetadata) GetComment() string

func (*IndexMetadata) GetDefinition

func (x *IndexMetadata) GetDefinition() string

func (*IndexMetadata) GetDescending

func (x *IndexMetadata) GetDescending() []bool

func (*IndexMetadata) GetExpressions

func (x *IndexMetadata) GetExpressions() []string

func (*IndexMetadata) GetIsConstraint

func (x *IndexMetadata) GetIsConstraint() bool

func (*IndexMetadata) GetKeyLength

func (x *IndexMetadata) GetKeyLength() []int64

func (*IndexMetadata) GetName

func (x *IndexMetadata) GetName() string

func (*IndexMetadata) GetOpclassDefaults

func (x *IndexMetadata) GetOpclassDefaults() []bool

func (*IndexMetadata) GetOpclassNames

func (x *IndexMetadata) GetOpclassNames() []string

func (*IndexMetadata) GetParentIndexName

func (x *IndexMetadata) GetParentIndexName() string

func (*IndexMetadata) GetParentIndexSchema

func (x *IndexMetadata) GetParentIndexSchema() string

func (*IndexMetadata) GetPrimary

func (x *IndexMetadata) GetPrimary() bool

func (*IndexMetadata) GetSpatialConfig

func (x *IndexMetadata) GetSpatialConfig() *SpatialIndexConfig

func (*IndexMetadata) GetType

func (x *IndexMetadata) GetType() string

func (*IndexMetadata) GetUnique

func (x *IndexMetadata) GetUnique() bool

func (*IndexMetadata) GetVisible

func (x *IndexMetadata) GetVisible() bool

func (*IndexMetadata) ProtoMessage

func (*IndexMetadata) ProtoMessage()

func (*IndexMetadata) ProtoReflect

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

func (*IndexMetadata) Reset

func (x *IndexMetadata) Reset()

func (*IndexMetadata) String

func (x *IndexMetadata) String() string

type Instance

type Instance struct {
	Title        string        `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"`
	Engine       Engine        `protobuf:"varint,2,opt,name=engine,proto3,enum=metaxisdata.store.Engine" json:"engine,omitempty"`
	Activation   bool          `protobuf:"varint,3,opt,name=activation,proto3" json:"activation,omitempty"`
	Version      string        `protobuf:"bytes,4,opt,name=version,proto3" json:"version,omitempty"`
	ExternalLink string        `protobuf:"bytes,5,opt,name=external_link,json=externalLink,proto3" json:"external_link,omitempty"`
	DataSources  []*DataSource `protobuf:"bytes,6,rep,name=data_sources,json=dataSources,proto3" json:"data_sources,omitempty"`
	// The interval between automatic instance synchronizations.
	SyncInterval *durationpb.Duration `protobuf:"bytes,7,opt,name=sync_interval,json=syncInterval,proto3" json:"sync_interval,omitempty"`
	// The maximum number of connections.
	// The default is 10 if the value is unset or zero.
	MaximumConnections int32 `protobuf:"varint,8,opt,name=maximum_connections,json=maximumConnections,proto3" json:"maximum_connections,omitempty"`
	// The lower_case_table_names config for MySQL instances.
	// It is used to determine whether the table names and database names are case sensitive.
	MysqlLowerCaseTableNames int32                  `` /* 141-byte string literal not displayed */
	LastSyncTime             *timestamppb.Timestamp `protobuf:"bytes,11,opt,name=last_sync_time,json=lastSyncTime,proto3" json:"last_sync_time,omitempty"`
	// contains filtered or unexported fields
}

Instance is the proto for instances.

func (*Instance) Descriptor deprecated

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

Deprecated: Use Instance.ProtoReflect.Descriptor instead.

func (*Instance) GetActivation

func (x *Instance) GetActivation() bool

func (*Instance) GetDataSources

func (x *Instance) GetDataSources() []*DataSource

func (*Instance) GetEngine

func (x *Instance) GetEngine() Engine
func (x *Instance) GetExternalLink() string

func (*Instance) GetLastSyncTime

func (x *Instance) GetLastSyncTime() *timestamppb.Timestamp

func (*Instance) GetMaximumConnections

func (x *Instance) GetMaximumConnections() int32

func (*Instance) GetMysqlLowerCaseTableNames

func (x *Instance) GetMysqlLowerCaseTableNames() int32

func (*Instance) GetSyncInterval

func (x *Instance) GetSyncInterval() *durationpb.Duration

func (*Instance) GetTitle

func (x *Instance) GetTitle() string

func (*Instance) GetVersion

func (x *Instance) GetVersion() string

func (*Instance) ProtoMessage

func (*Instance) ProtoMessage()

func (*Instance) ProtoReflect

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

func (*Instance) Reset

func (x *Instance) Reset()

func (*Instance) String

func (x *Instance) String() string

type LLMProviderType

type LLMProviderType int32
const (
	LLMProviderType_LLM_PROVIDER_TYPE_UNSPECIFIED LLMProviderType = 0
	LLMProviderType_LLM_PROVIDER_TYPE_OPENAI      LLMProviderType = 1
	LLMProviderType_LLM_PROVIDER_TYPE_DEEPSEEK    LLMProviderType = 2
	LLMProviderType_LLM_PROVIDER_TYPE_OPENROUTER  LLMProviderType = 3
	LLMProviderType_LLM_PROVIDER_TYPE_CUSTOM      LLMProviderType = 4
)

func (LLMProviderType) Descriptor

func (LLMProviderType) Enum

func (x LLMProviderType) Enum() *LLMProviderType

func (LLMProviderType) EnumDescriptor deprecated

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

Deprecated: Use LLMProviderType.Descriptor instead.

func (LLMProviderType) Number

func (LLMProviderType) String

func (x LLMProviderType) String() string

func (LLMProviderType) Type

type LlmProviderModel

type LlmProviderModel struct {
	Name    string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Enabled bool   `protobuf:"varint,2,opt,name=enabled,proto3" json:"enabled,omitempty"`
	// contains filtered or unexported fields
}

func (*LlmProviderModel) Descriptor deprecated

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

Deprecated: Use LlmProviderModel.ProtoReflect.Descriptor instead.

func (*LlmProviderModel) GetEnabled

func (x *LlmProviderModel) GetEnabled() bool

func (*LlmProviderModel) GetName

func (x *LlmProviderModel) GetName() string

func (*LlmProviderModel) ProtoMessage

func (*LlmProviderModel) ProtoMessage()

func (*LlmProviderModel) ProtoReflect

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

func (*LlmProviderModel) Reset

func (x *LlmProviderModel) Reset()

func (*LlmProviderModel) String

func (x *LlmProviderModel) String() string

type LlmProviderProfile

type LlmProviderProfile struct {
	Name    string          `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Title   string          `protobuf:"bytes,2,opt,name=title,proto3" json:"title,omitempty"`
	Type    LLMProviderType `protobuf:"varint,3,opt,name=type,proto3,enum=metaxisdata.store.LLMProviderType" json:"type,omitempty"`
	BaseUrl string          `protobuf:"bytes,4,opt,name=base_url,json=baseUrl,proto3" json:"base_url,omitempty"`
	// api_key_ciphertext holds the provider key as a v1 AES-256-GCM value
	// (backend/common/crypto); the store decrypts it for its callers and never
	// exposes the ciphertext through the API.
	ApiKeyCiphertext string                 `protobuf:"bytes,5,opt,name=api_key_ciphertext,json=apiKeyCiphertext,proto3" json:"api_key_ciphertext,omitempty"`
	Models           []*LlmProviderModel    `protobuf:"bytes,6,rep,name=models,proto3" json:"models,omitempty"`
	CreateTime       *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
	UpdateTime       *timestamppb.Timestamp `protobuf:"bytes,8,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
	// contains filtered or unexported fields
}

func (*LlmProviderProfile) Descriptor deprecated

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

Deprecated: Use LlmProviderProfile.ProtoReflect.Descriptor instead.

func (*LlmProviderProfile) GetApiKeyCiphertext

func (x *LlmProviderProfile) GetApiKeyCiphertext() string

func (*LlmProviderProfile) GetBaseUrl

func (x *LlmProviderProfile) GetBaseUrl() string

func (*LlmProviderProfile) GetCreateTime

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

func (*LlmProviderProfile) GetModels

func (x *LlmProviderProfile) GetModels() []*LlmProviderModel

func (*LlmProviderProfile) GetName

func (x *LlmProviderProfile) GetName() string

func (*LlmProviderProfile) GetTitle

func (x *LlmProviderProfile) GetTitle() string

func (*LlmProviderProfile) GetType

func (x *LlmProviderProfile) GetType() LLMProviderType

func (*LlmProviderProfile) GetUpdateTime

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

func (*LlmProviderProfile) ProtoMessage

func (*LlmProviderProfile) ProtoMessage()

func (*LlmProviderProfile) ProtoReflect

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

func (*LlmProviderProfile) Reset

func (x *LlmProviderProfile) Reset()

func (*LlmProviderProfile) String

func (x *LlmProviderProfile) String() string

type ManualSQLMetadata

type ManualSQLMetadata struct {

	// The stable identifier of the manual SQL entry.
	ManualSqlId string `protobuf:"bytes,1,opt,name=manual_sql_id,json=manualSqlId,proto3" json:"manual_sql_id,omitempty"`
	// The display name of the manual SQL entry.
	Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	// The title is optional display text for UI surfaces.
	Title string `protobuf:"bytes,3,opt,name=title,proto3" json:"title,omitempty"`
	// The comment is a free-form description.
	Comment string `protobuf:"bytes,4,opt,name=comment,proto3" json:"comment,omitempty"`
	// The SQL text provided by the user.
	SqlText string `protobuf:"bytes,5,opt,name=sql_text,json=sqlText,proto3" json:"sql_text,omitempty"`
	// Tags support exact filtering in the dedicated manual SQL query path.
	Tags []string `protobuf:"bytes,6,rep,name=tags,proto3" json:"tags,omitempty"`
	// Attributes provide custom key/value annotations.
	Attributes map[string]string `` /* 147-byte string literal not displayed */
	// The optional schema context used during analysis.
	SchemaName string `protobuf:"bytes,8,opt,name=schema_name,json=schemaName,proto3" json:"schema_name,omitempty"`
	// The instance resource. Format: instances/{instance}
	InstanceResource string `protobuf:"bytes,9,opt,name=instance_resource,json=instanceResource,proto3" json:"instance_resource,omitempty"`
	// The database name in the instance.
	DatabaseName string `protobuf:"bytes,10,opt,name=database_name,json=databaseName,proto3" json:"database_name,omitempty"`
	// contains filtered or unexported fields
}

ManualSQLMetadata is the metadata for a user-maintained SQL definition.

func (*ManualSQLMetadata) Descriptor deprecated

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

Deprecated: Use ManualSQLMetadata.ProtoReflect.Descriptor instead.

func (*ManualSQLMetadata) GetAttributes

func (x *ManualSQLMetadata) GetAttributes() map[string]string

func (*ManualSQLMetadata) GetComment

func (x *ManualSQLMetadata) GetComment() string

func (*ManualSQLMetadata) GetDatabaseName

func (x *ManualSQLMetadata) GetDatabaseName() string

func (*ManualSQLMetadata) GetInstanceResource

func (x *ManualSQLMetadata) GetInstanceResource() string

func (*ManualSQLMetadata) GetManualSqlId

func (x *ManualSQLMetadata) GetManualSqlId() string

func (*ManualSQLMetadata) GetName

func (x *ManualSQLMetadata) GetName() string

func (*ManualSQLMetadata) GetSchemaName

func (x *ManualSQLMetadata) GetSchemaName() string

func (*ManualSQLMetadata) GetSqlText

func (x *ManualSQLMetadata) GetSqlText() string

func (*ManualSQLMetadata) GetTags

func (x *ManualSQLMetadata) GetTags() []string

func (*ManualSQLMetadata) GetTitle

func (x *ManualSQLMetadata) GetTitle() string

func (*ManualSQLMetadata) ProtoMessage

func (*ManualSQLMetadata) ProtoMessage()

func (*ManualSQLMetadata) ProtoReflect

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

func (*ManualSQLMetadata) Reset

func (x *ManualSQLMetadata) Reset()

func (*ManualSQLMetadata) String

func (x *ManualSQLMetadata) String() string

type MaterializedViewMetadata

type MaterializedViewMetadata struct {

	// The name of the materialized view.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// The definition is the definition of a view.
	Definition string `protobuf:"bytes,2,opt,name=definition,proto3" json:"definition,omitempty"`
	// The comment is the comment of a view.
	Comment string `protobuf:"bytes,3,opt,name=comment,proto3" json:"comment,omitempty"`
	// The list of dependency columns of the view.
	DependencyColumns []*DependencyColumn `protobuf:"bytes,4,rep,name=dependency_columns,json=dependencyColumns,proto3" json:"dependency_columns,omitempty"`
	// The ordered list of columns in the materialized view.
	Columns []*ColumnMetadata `protobuf:"bytes,5,rep,name=columns,proto3" json:"columns,omitempty"`
	// The list of indexes in the materialized view.
	Indexes  []*IndexMetadata `protobuf:"bytes,6,rep,name=indexes,proto3" json:"indexes,omitempty"`
	SkipDump bool             `protobuf:"varint,7,opt,name=skip_dump,json=skipDump,proto3" json:"skip_dump,omitempty"`
	// contains filtered or unexported fields
}

MaterializedViewMetadata is the metadata for materialized views.

func (*MaterializedViewMetadata) Descriptor deprecated

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

Deprecated: Use MaterializedViewMetadata.ProtoReflect.Descriptor instead.

func (*MaterializedViewMetadata) GetColumns

func (x *MaterializedViewMetadata) GetColumns() []*ColumnMetadata

func (*MaterializedViewMetadata) GetComment

func (x *MaterializedViewMetadata) GetComment() string

func (*MaterializedViewMetadata) GetDefinition

func (x *MaterializedViewMetadata) GetDefinition() string

func (*MaterializedViewMetadata) GetDependencyColumns

func (x *MaterializedViewMetadata) GetDependencyColumns() []*DependencyColumn

func (*MaterializedViewMetadata) GetIndexes

func (x *MaterializedViewMetadata) GetIndexes() []*IndexMetadata

func (*MaterializedViewMetadata) GetName

func (x *MaterializedViewMetadata) GetName() string

func (*MaterializedViewMetadata) GetSkipDump

func (x *MaterializedViewMetadata) GetSkipDump() bool

func (*MaterializedViewMetadata) ProtoMessage

func (*MaterializedViewMetadata) ProtoMessage()

func (*MaterializedViewMetadata) ProtoReflect

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

func (*MaterializedViewMetadata) Reset

func (x *MaterializedViewMetadata) Reset()

func (*MaterializedViewMetadata) String

func (x *MaterializedViewMetadata) String() string

type MetaType

type MetaType int32
const (
	MetaType_UNSPECIFIED       MetaType = 0
	MetaType_INSTANCE          MetaType = 1
	MetaType_DATABASE          MetaType = 2
	MetaType_SCHEMA            MetaType = 3
	MetaType_TABLE             MetaType = 4
	MetaType_EXTERNAL_TABLE    MetaType = 16
	MetaType_EXTERNAL_DATASET  MetaType = 17
	MetaType_MANUAL_SQL        MetaType = 18
	MetaType_APPLICATION_SQL   MetaType = 19
	MetaType_VIEW              MetaType = 5
	MetaType_MATERIALIZED_VIEW MetaType = 6
	MetaType_COLUMN            MetaType = 7
	MetaType_INDEX             MetaType = 8
	MetaType_FOREIGN_KEY       MetaType = 9
	MetaType_PROCEDURE         MetaType = 10
	MetaType_FUNCTION          MetaType = 11
	MetaType_SEQUENCE          MetaType = 12
	// for Non-database internal structure
	MetaType_OPENLINEAGE MetaType = 100
)

func (MetaType) Descriptor

func (MetaType) Descriptor() protoreflect.EnumDescriptor

func (MetaType) Enum

func (x MetaType) Enum() *MetaType

func (MetaType) EnumDescriptor deprecated

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

Deprecated: Use MetaType.Descriptor instead.

func (MetaType) Number

func (x MetaType) Number() protoreflect.EnumNumber

func (MetaType) String

func (x MetaType) String() string

func (MetaType) Type

type Notification

type Notification struct {

	// The notification row's primary key.
	Id         int64                  `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	CreateTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
	// Format: workspaces/{workspace}
	Parent string `protobuf:"bytes,3,opt,name=parent,proto3" json:"parent,omitempty"`
	// The principal id this message is for.
	RecipientId int32                `protobuf:"varint,4,opt,name=recipient_id,json=recipientId,proto3" json:"recipient_id,omitempty"`
	Type        NotificationType     `protobuf:"varint,5,opt,name=type,proto3,enum=metaxisdata.store.NotificationType" json:"type,omitempty"`
	Severity    NotificationSeverity `protobuf:"varint,6,opt,name=severity,proto3,enum=metaxisdata.store.NotificationSeverity" json:"severity,omitempty"`
	// When the recipient read it. Unset means unread. Backed by notification.read_at,
	// not by the payload, so the unread count can be answered from a partial index.
	ReadTime *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=read_time,json=readTime,proto3" json:"read_time,omitempty"`
	// Notification deduplication key, empty when the message is not deduplicated.
	// Format: <event>:<target>:<bucket>, where the bucket is a timestamp aligned
	// to the event's suppression window.
	DedupeKey string `protobuf:"bytes,8,opt,name=dedupe_key,json=dedupeKey,proto3" json:"dedupe_key,omitempty"`
	// The body, interpreted by type. The server stores no prose: the client
	// renders the localized text from the detail and its own catalogs.
	//
	// Types that are valid to be assigned to Detail:
	//
	//	*Notification_SchemaSync
	//	*Notification_Openlineage
	Detail isNotification_Detail `protobuf_oneof:"detail"`
	// contains filtered or unexported fields
}

Notification is one in-app message for one recipient: the outcome of a sync operation the recipient asked for, or an ingestion failure the workspace administrators need to see. It is personal data, so every read is scoped by recipient_id rather than by the workspace.

id, create_time, recipient_id, read_time and dedupe_key are columns of the notification table and are not written into the payload; the store stamps them on insert and fills them from the row on read, so the payload and the columns cannot disagree. The payload holds only the message proper.

func (*Notification) Descriptor deprecated

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

Deprecated: Use Notification.ProtoReflect.Descriptor instead.

func (*Notification) GetCreateTime

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

func (*Notification) GetDedupeKey

func (x *Notification) GetDedupeKey() string

func (*Notification) GetDetail

func (x *Notification) GetDetail() isNotification_Detail

func (*Notification) GetId

func (x *Notification) GetId() int64

func (*Notification) GetOpenlineage

func (x *Notification) GetOpenlineage() *OpenLineageDetail

func (*Notification) GetParent

func (x *Notification) GetParent() string

func (*Notification) GetReadTime

func (x *Notification) GetReadTime() *timestamppb.Timestamp

func (*Notification) GetRecipientId

func (x *Notification) GetRecipientId() int32

func (*Notification) GetSchemaSync

func (x *Notification) GetSchemaSync() *SchemaSyncDetail

func (*Notification) GetSeverity

func (x *Notification) GetSeverity() NotificationSeverity

func (*Notification) GetType

func (x *Notification) GetType() NotificationType

func (*Notification) ProtoMessage

func (*Notification) ProtoMessage()

func (*Notification) ProtoReflect

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

func (*Notification) Reset

func (x *Notification) Reset()

func (*Notification) String

func (x *Notification) String() string

type NotificationSeverity

type NotificationSeverity int32

NotificationSeverity ranks a notification for the recipient.

const (
	NotificationSeverity_NOTIFICATION_SEVERITY_UNSPECIFIED NotificationSeverity = 0
	NotificationSeverity_NOTIFICATION_SEVERITY_INFO        NotificationSeverity = 1
	NotificationSeverity_NOTIFICATION_SEVERITY_WARNING     NotificationSeverity = 2
	NotificationSeverity_NOTIFICATION_SEVERITY_ERROR       NotificationSeverity = 3
)

func (NotificationSeverity) Descriptor

func (NotificationSeverity) Enum

func (NotificationSeverity) EnumDescriptor deprecated

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

Deprecated: Use NotificationSeverity.Descriptor instead.

func (NotificationSeverity) Number

func (NotificationSeverity) String

func (x NotificationSeverity) String() string

func (NotificationSeverity) Type

type NotificationType

type NotificationType int32

NotificationType is what a notification is about. It selects which detail message the notification carries.

const (
	NotificationType_NOTIFICATION_TYPE_UNSPECIFIED NotificationType = 0
	// The outcome of one schema sync operation.
	NotificationType_NOTIFICATION_TYPE_SCHEMA_SYNC NotificationType = 1
	// An OpenLineage ingestion failure, or a dataset that could not be matched
	// to a registered instance.
	NotificationType_NOTIFICATION_TYPE_OPENLINEAGE NotificationType = 2
)

func (NotificationType) Descriptor

func (NotificationType) Enum

func (NotificationType) EnumDescriptor deprecated

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

Deprecated: Use NotificationType.Descriptor instead.

func (NotificationType) Number

func (NotificationType) String

func (x NotificationType) String() string

func (NotificationType) Type

type Notification_Openlineage

type Notification_Openlineage struct {
	Openlineage *OpenLineageDetail `protobuf:"bytes,10,opt,name=openlineage,proto3,oneof"`
}

type Notification_SchemaSync

type Notification_SchemaSync struct {
	SchemaSync *SchemaSyncDetail `protobuf:"bytes,9,opt,name=schema_sync,json=schemaSync,proto3,oneof"`
}

type OAuth2AuthStyle

type OAuth2AuthStyle int32
const (
	OAuth2AuthStyle_OAUTH2_AUTH_STYLE_UNSPECIFIED OAuth2AuthStyle = 0
	// IN_PARAMS sends the "client_id" and "client_secret" in the POST body
	// as application/x-www-form-urlencoded parameters.
	OAuth2AuthStyle_IN_PARAMS OAuth2AuthStyle = 1
	// IN_HEADER sends the client_id and client_password using HTTP Basic Authorization.
	// This is an optional style described in the OAuth2 RFC 6749 section 2.3.1.
	OAuth2AuthStyle_IN_HEADER OAuth2AuthStyle = 2
)

func (OAuth2AuthStyle) Descriptor

func (OAuth2AuthStyle) Enum

func (x OAuth2AuthStyle) Enum() *OAuth2AuthStyle

func (OAuth2AuthStyle) EnumDescriptor deprecated

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

Deprecated: Use OAuth2AuthStyle.Descriptor instead.

func (OAuth2AuthStyle) Number

func (OAuth2AuthStyle) String

func (x OAuth2AuthStyle) String() string

func (OAuth2AuthStyle) Type

type OAuth2IdentityProviderConfig

type OAuth2IdentityProviderConfig struct {
	AuthUrl       string          `protobuf:"bytes,1,opt,name=auth_url,json=authUrl,proto3" json:"auth_url,omitempty"`
	TokenUrl      string          `protobuf:"bytes,2,opt,name=token_url,json=tokenUrl,proto3" json:"token_url,omitempty"`
	UserInfoUrl   string          `protobuf:"bytes,3,opt,name=user_info_url,json=userInfoUrl,proto3" json:"user_info_url,omitempty"`
	ClientId      string          `protobuf:"bytes,4,opt,name=client_id,json=clientId,proto3" json:"client_id,omitempty"`
	ClientSecret  string          `protobuf:"bytes,5,opt,name=client_secret,json=clientSecret,proto3" json:"client_secret,omitempty"`
	Scopes        []string        `protobuf:"bytes,6,rep,name=scopes,proto3" json:"scopes,omitempty"`
	FieldMapping  *FieldMapping   `protobuf:"bytes,7,opt,name=field_mapping,json=fieldMapping,proto3" json:"field_mapping,omitempty"`
	SkipTlsVerify bool            `protobuf:"varint,8,opt,name=skip_tls_verify,json=skipTlsVerify,proto3" json:"skip_tls_verify,omitempty"`
	AuthStyle     OAuth2AuthStyle `` /* 128-byte string literal not displayed */
	// contains filtered or unexported fields
}

OAuth2IdentityProviderConfig is the structure for OAuth2 identity provider config.

func (*OAuth2IdentityProviderConfig) Descriptor deprecated

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

Deprecated: Use OAuth2IdentityProviderConfig.ProtoReflect.Descriptor instead.

func (*OAuth2IdentityProviderConfig) GetAuthStyle

func (*OAuth2IdentityProviderConfig) GetAuthUrl

func (x *OAuth2IdentityProviderConfig) GetAuthUrl() string

func (*OAuth2IdentityProviderConfig) GetClientId

func (x *OAuth2IdentityProviderConfig) GetClientId() string

func (*OAuth2IdentityProviderConfig) GetClientSecret

func (x *OAuth2IdentityProviderConfig) GetClientSecret() string

func (*OAuth2IdentityProviderConfig) GetFieldMapping

func (x *OAuth2IdentityProviderConfig) GetFieldMapping() *FieldMapping

func (*OAuth2IdentityProviderConfig) GetScopes

func (x *OAuth2IdentityProviderConfig) GetScopes() []string

func (*OAuth2IdentityProviderConfig) GetSkipTlsVerify

func (x *OAuth2IdentityProviderConfig) GetSkipTlsVerify() bool

func (*OAuth2IdentityProviderConfig) GetTokenUrl

func (x *OAuth2IdentityProviderConfig) GetTokenUrl() string

func (*OAuth2IdentityProviderConfig) GetUserInfoUrl

func (x *OAuth2IdentityProviderConfig) GetUserInfoUrl() string

func (*OAuth2IdentityProviderConfig) ProtoMessage

func (*OAuth2IdentityProviderConfig) ProtoMessage()

func (*OAuth2IdentityProviderConfig) ProtoReflect

func (*OAuth2IdentityProviderConfig) Reset

func (x *OAuth2IdentityProviderConfig) Reset()

func (*OAuth2IdentityProviderConfig) String

type OpenLineageDetail

type OpenLineageDetail struct {
	Kind OpenLineageFailureKind `protobuf:"varint,1,opt,name=kind,proto3,enum=metaxisdata.store.OpenLineageFailureKind" json:"kind,omitempty"`
	// The namespace named by the event. Empty when the event did not parse.
	Namespace string `protobuf:"bytes,2,opt,name=namespace,proto3" json:"namespace,omitempty"`
	Job       string `protobuf:"bytes,3,opt,name=job,proto3" json:"job,omitempty"`
	RunId     string `protobuf:"bytes,4,opt,name=run_id,json=runId,proto3" json:"run_id,omitempty"`
	// The dataset that did not resolve. Only set for NAMESPACE_UNMAPPED.
	Dataset string `protobuf:"bytes,5,opt,name=dataset,proto3" json:"dataset,omitempty"`
	// The masked identifier of the ingestion key that submitted the request.
	ApiKey string `protobuf:"bytes,6,opt,name=api_key,json=apiKey,proto3" json:"api_key,omitempty"`
	// How many events this request carried and how many of them failed.
	ReceivedCount int32 `protobuf:"varint,7,opt,name=received_count,json=receivedCount,proto3" json:"received_count,omitempty"`
	FailedCount   int32 `protobuf:"varint,8,opt,name=failed_count,json=failedCount,proto3" json:"failed_count,omitempty"`
	// Truncated before it is stored.
	Error string `protobuf:"bytes,9,opt,name=error,proto3" json:"error,omitempty"`
	// contains filtered or unexported fields
}

OpenLineageDetail reports an OpenLineage ingestion failure, or a dataset that fell through to an external dataset.

func (*OpenLineageDetail) Descriptor deprecated

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

Deprecated: Use OpenLineageDetail.ProtoReflect.Descriptor instead.

func (*OpenLineageDetail) GetApiKey

func (x *OpenLineageDetail) GetApiKey() string

func (*OpenLineageDetail) GetDataset

func (x *OpenLineageDetail) GetDataset() string

func (*OpenLineageDetail) GetError

func (x *OpenLineageDetail) GetError() string

func (*OpenLineageDetail) GetFailedCount

func (x *OpenLineageDetail) GetFailedCount() int32

func (*OpenLineageDetail) GetJob

func (x *OpenLineageDetail) GetJob() string

func (*OpenLineageDetail) GetKind

func (*OpenLineageDetail) GetNamespace

func (x *OpenLineageDetail) GetNamespace() string

func (*OpenLineageDetail) GetReceivedCount

func (x *OpenLineageDetail) GetReceivedCount() int32

func (*OpenLineageDetail) GetRunId

func (x *OpenLineageDetail) GetRunId() string

func (*OpenLineageDetail) ProtoMessage

func (*OpenLineageDetail) ProtoMessage()

func (*OpenLineageDetail) ProtoReflect

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

func (*OpenLineageDetail) Reset

func (x *OpenLineageDetail) Reset()

func (*OpenLineageDetail) String

func (x *OpenLineageDetail) String() string

type OpenLineageFailureKind

type OpenLineageFailureKind int32

OpenLineageFailureKind is why an OpenLineage request produced no lineage.

const (
	OpenLineageFailureKind_OPENLINEAGE_FAILURE_KIND_UNSPECIFIED OpenLineageFailureKind = 0
	// The event could not be parsed, or crossed a per-event limit.
	OpenLineageFailureKind_OPENLINEAGE_FAILURE_KIND_INVALID_EVENT OpenLineageFailureKind = 1
	// The request body or the batch crossed a transport limit.
	OpenLineageFailureKind_OPENLINEAGE_FAILURE_KIND_LIMIT_EXCEEDED OpenLineageFailureKind = 2
	// The event's namespace is not the one the ingestion key is scoped to.
	OpenLineageFailureKind_OPENLINEAGE_FAILURE_KIND_SCOPE_MISMATCH OpenLineageFailureKind = 3
	// The event could not be persisted.
	OpenLineageFailureKind_OPENLINEAGE_FAILURE_KIND_PERSIST_FAILED OpenLineageFailureKind = 4
	// The event was persisted but its lineage could not be derived.
	OpenLineageFailureKind_OPENLINEAGE_FAILURE_KIND_PROCESS_FAILED OpenLineageFailureKind = 5
	// The dataset matched no registered instance and was stored as an external
	// dataset, so any lineage naming it points at something the registry does not
	// describe.
	OpenLineageFailureKind_OPENLINEAGE_FAILURE_KIND_NAMESPACE_UNMAPPED OpenLineageFailureKind = 6
)

func (OpenLineageFailureKind) Descriptor

func (OpenLineageFailureKind) Enum

func (OpenLineageFailureKind) EnumDescriptor deprecated

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

Deprecated: Use OpenLineageFailureKind.Descriptor instead.

func (OpenLineageFailureKind) Number

func (OpenLineageFailureKind) String

func (x OpenLineageFailureKind) String() string

func (OpenLineageFailureKind) Type

type OpenLineageRunSummary

type OpenLineageRunSummary struct {
	Guid               string                 `protobuf:"bytes,1,opt,name=guid,proto3" json:"guid,omitempty"`
	TaskGuid           string                 `protobuf:"bytes,2,opt,name=task_guid,json=taskGuid,proto3" json:"task_guid,omitempty"`
	RunId              string                 `protobuf:"bytes,3,opt,name=run_id,json=runId,proto3" json:"run_id,omitempty"`
	JobNamespace       string                 `protobuf:"bytes,4,opt,name=job_namespace,json=jobNamespace,proto3" json:"job_namespace,omitempty"`
	JobName            string                 `protobuf:"bytes,5,opt,name=job_name,json=jobName,proto3" json:"job_name,omitempty"`
	JobType            string                 `protobuf:"bytes,6,opt,name=job_type,json=jobType,proto3" json:"job_type,omitempty"`
	EventType          string                 `protobuf:"bytes,7,opt,name=event_type,json=eventType,proto3" json:"event_type,omitempty"`
	EventTime          *timestamppb.Timestamp `protobuf:"bytes,8,opt,name=event_time,json=eventTime,proto3" json:"event_time,omitempty"`
	Producer           string                 `protobuf:"bytes,9,opt,name=producer,proto3" json:"producer,omitempty"`
	Source             string                 `protobuf:"bytes,10,opt,name=source,proto3" json:"source,omitempty"`
	Integration        string                 `protobuf:"bytes,11,opt,name=integration,proto3" json:"integration,omitempty"`
	ProcessingType     string                 `protobuf:"bytes,12,opt,name=processing_type,json=processingType,proto3" json:"processing_type,omitempty"`
	ParentJobNamespace string                 `protobuf:"bytes,13,opt,name=parent_job_namespace,json=parentJobNamespace,proto3" json:"parent_job_namespace,omitempty"`
	ParentJobName      string                 `protobuf:"bytes,14,opt,name=parent_job_name,json=parentJobName,proto3" json:"parent_job_name,omitempty"`
	ParentRunId        string                 `protobuf:"bytes,15,opt,name=parent_run_id,json=parentRunId,proto3" json:"parent_run_id,omitempty"`
	RootJobNamespace   string                 `protobuf:"bytes,16,opt,name=root_job_namespace,json=rootJobNamespace,proto3" json:"root_job_namespace,omitempty"`
	RootJobName        string                 `protobuf:"bytes,17,opt,name=root_job_name,json=rootJobName,proto3" json:"root_job_name,omitempty"`
	RootRunId          string                 `protobuf:"bytes,18,opt,name=root_run_id,json=rootRunId,proto3" json:"root_run_id,omitempty"`
	// contains filtered or unexported fields
}

OpenLineageRunSummary stores what one persisted OpenLineage run is: its identity, the task it belongs to, and the state it was last seen in.

What its payload yields about datasets (input_count, output_count, has_lineage) and when the row was written (created_at, updated_at) are deliberately absent. They are the run table's to hold. Keeping them here gave one run's state more than one fingerprint, since updated_at moves on every delivery.

func (*OpenLineageRunSummary) Descriptor deprecated

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

Deprecated: Use OpenLineageRunSummary.ProtoReflect.Descriptor instead.

func (*OpenLineageRunSummary) GetEventTime

func (x *OpenLineageRunSummary) GetEventTime() *timestamppb.Timestamp

func (*OpenLineageRunSummary) GetEventType

func (x *OpenLineageRunSummary) GetEventType() string

func (*OpenLineageRunSummary) GetGuid

func (x *OpenLineageRunSummary) GetGuid() string

func (*OpenLineageRunSummary) GetIntegration

func (x *OpenLineageRunSummary) GetIntegration() string

func (*OpenLineageRunSummary) GetJobName

func (x *OpenLineageRunSummary) GetJobName() string

func (*OpenLineageRunSummary) GetJobNamespace

func (x *OpenLineageRunSummary) GetJobNamespace() string

func (*OpenLineageRunSummary) GetJobType

func (x *OpenLineageRunSummary) GetJobType() string

func (*OpenLineageRunSummary) GetParentJobName

func (x *OpenLineageRunSummary) GetParentJobName() string

func (*OpenLineageRunSummary) GetParentJobNamespace

func (x *OpenLineageRunSummary) GetParentJobNamespace() string

func (*OpenLineageRunSummary) GetParentRunId

func (x *OpenLineageRunSummary) GetParentRunId() string

func (*OpenLineageRunSummary) GetProcessingType

func (x *OpenLineageRunSummary) GetProcessingType() string

func (*OpenLineageRunSummary) GetProducer

func (x *OpenLineageRunSummary) GetProducer() string

func (*OpenLineageRunSummary) GetRootJobName

func (x *OpenLineageRunSummary) GetRootJobName() string

func (*OpenLineageRunSummary) GetRootJobNamespace

func (x *OpenLineageRunSummary) GetRootJobNamespace() string

func (*OpenLineageRunSummary) GetRootRunId

func (x *OpenLineageRunSummary) GetRootRunId() string

func (*OpenLineageRunSummary) GetRunId

func (x *OpenLineageRunSummary) GetRunId() string

func (*OpenLineageRunSummary) GetSource

func (x *OpenLineageRunSummary) GetSource() string

func (*OpenLineageRunSummary) GetTaskGuid

func (x *OpenLineageRunSummary) GetTaskGuid() string

func (*OpenLineageRunSummary) ProtoMessage

func (*OpenLineageRunSummary) ProtoMessage()

func (*OpenLineageRunSummary) ProtoReflect

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

func (*OpenLineageRunSummary) Reset

func (x *OpenLineageRunSummary) Reset()

func (*OpenLineageRunSummary) String

func (x *OpenLineageRunSummary) String() string

type OpenLineageTaskSummary

type OpenLineageTaskSummary struct {
	Guid               string `protobuf:"bytes,1,opt,name=guid,proto3" json:"guid,omitempty"`
	JobNamespace       string `protobuf:"bytes,2,opt,name=job_namespace,json=jobNamespace,proto3" json:"job_namespace,omitempty"`
	JobName            string `protobuf:"bytes,3,opt,name=job_name,json=jobName,proto3" json:"job_name,omitempty"`
	JobType            string `protobuf:"bytes,4,opt,name=job_type,json=jobType,proto3" json:"job_type,omitempty"`
	Integration        string `protobuf:"bytes,5,opt,name=integration,proto3" json:"integration,omitempty"`
	ProcessingType     string `protobuf:"bytes,6,opt,name=processing_type,json=processingType,proto3" json:"processing_type,omitempty"`
	ParentJobNamespace string `protobuf:"bytes,7,opt,name=parent_job_namespace,json=parentJobNamespace,proto3" json:"parent_job_namespace,omitempty"`
	ParentJobName      string `protobuf:"bytes,8,opt,name=parent_job_name,json=parentJobName,proto3" json:"parent_job_name,omitempty"`
	RootJobNamespace   string `protobuf:"bytes,9,opt,name=root_job_namespace,json=rootJobNamespace,proto3" json:"root_job_namespace,omitempty"`
	RootJobName        string `protobuf:"bytes,10,opt,name=root_job_name,json=rootJobName,proto3" json:"root_job_name,omitempty"`
	// contains filtered or unexported fields
}

OpenLineageTaskSummary stores what an aggregated task/job is: its identity and the job-level facets its runs report.

Everything the task table derives from its runs - the latest run it saw and the counters over them - is deliberately absent. Mirroring them made the snapshot a second copy of the event stream, with a fingerprint that moved on every ingested event instead of when the job changed. The read path joins the run for those.

func (*OpenLineageTaskSummary) Descriptor deprecated

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

Deprecated: Use OpenLineageTaskSummary.ProtoReflect.Descriptor instead.

func (*OpenLineageTaskSummary) GetGuid

func (x *OpenLineageTaskSummary) GetGuid() string

func (*OpenLineageTaskSummary) GetIntegration

func (x *OpenLineageTaskSummary) GetIntegration() string

func (*OpenLineageTaskSummary) GetJobName

func (x *OpenLineageTaskSummary) GetJobName() string

func (*OpenLineageTaskSummary) GetJobNamespace

func (x *OpenLineageTaskSummary) GetJobNamespace() string

func (*OpenLineageTaskSummary) GetJobType

func (x *OpenLineageTaskSummary) GetJobType() string

func (*OpenLineageTaskSummary) GetParentJobName

func (x *OpenLineageTaskSummary) GetParentJobName() string

func (*OpenLineageTaskSummary) GetParentJobNamespace

func (x *OpenLineageTaskSummary) GetParentJobNamespace() string

func (*OpenLineageTaskSummary) GetProcessingType

func (x *OpenLineageTaskSummary) GetProcessingType() string

func (*OpenLineageTaskSummary) GetRootJobName

func (x *OpenLineageTaskSummary) GetRootJobName() string

func (*OpenLineageTaskSummary) GetRootJobNamespace

func (x *OpenLineageTaskSummary) GetRootJobNamespace() string

func (*OpenLineageTaskSummary) ProtoMessage

func (*OpenLineageTaskSummary) ProtoMessage()

func (*OpenLineageTaskSummary) ProtoReflect

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

func (*OpenLineageTaskSummary) Reset

func (x *OpenLineageTaskSummary) Reset()

func (*OpenLineageTaskSummary) String

func (x *OpenLineageTaskSummary) String() string

type PageToken

type PageToken struct {
	Limit  int64 `protobuf:"varint,1,opt,name=limit,proto3" json:"limit,omitempty"`
	Offset int64 `protobuf:"varint,2,opt,name=offset,proto3" json:"offset,omitempty"`
	// contains filtered or unexported fields
}

Used internally for obfuscating the page token. The fields are int64 so an offset cannot overflow int32 after a forged or very large token.

func (*PageToken) Descriptor deprecated

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

Deprecated: Use PageToken.ProtoReflect.Descriptor instead.

func (*PageToken) GetLimit

func (x *PageToken) GetLimit() int64

func (*PageToken) GetOffset

func (x *PageToken) GetOffset() int64

func (*PageToken) ProtoMessage

func (*PageToken) ProtoMessage()

func (*PageToken) ProtoReflect

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

func (*PageToken) Reset

func (x *PageToken) Reset()

func (*PageToken) String

func (x *PageToken) String() string

type PasswordRestrictionSetting

type PasswordRestrictionSetting struct {

	// min_length is the minimum length for password, should no less than 8.
	MinLength int32 `protobuf:"varint,1,opt,name=min_length,json=minLength,proto3" json:"min_length,omitempty"`
	// require_number requires the password must contains at least one number.
	RequireNumber bool `protobuf:"varint,2,opt,name=require_number,json=requireNumber,proto3" json:"require_number,omitempty"`
	// require_letter requires the password must contains at least one letter, regardless of upper case or lower case
	RequireLetter bool `protobuf:"varint,3,opt,name=require_letter,json=requireLetter,proto3" json:"require_letter,omitempty"`
	// require_uppercase_letter requires the password must contains at least one upper case letter.
	RequireUppercaseLetter bool `` /* 130-byte string literal not displayed */
	// require_uppercase_letter requires the password must contains at least one special character.
	RequireSpecialCharacter bool `` /* 133-byte string literal not displayed */
	// require_reset_password_for_first_login requires users to reset their password after the 1st login.
	RequireResetPasswordForFirstLogin bool `` /* 169-byte string literal not displayed */
	// password_rotation requires users to reset their password after the duration.
	PasswordRotation *durationpb.Duration `protobuf:"bytes,7,opt,name=password_rotation,json=passwordRotation,proto3" json:"password_rotation,omitempty"`
	// contains filtered or unexported fields
}

func (*PasswordRestrictionSetting) Descriptor deprecated

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

Deprecated: Use PasswordRestrictionSetting.ProtoReflect.Descriptor instead.

func (*PasswordRestrictionSetting) GetMinLength

func (x *PasswordRestrictionSetting) GetMinLength() int32

func (*PasswordRestrictionSetting) GetPasswordRotation

func (x *PasswordRestrictionSetting) GetPasswordRotation() *durationpb.Duration

func (*PasswordRestrictionSetting) GetRequireLetter

func (x *PasswordRestrictionSetting) GetRequireLetter() bool

func (*PasswordRestrictionSetting) GetRequireNumber

func (x *PasswordRestrictionSetting) GetRequireNumber() bool

func (*PasswordRestrictionSetting) GetRequireResetPasswordForFirstLogin

func (x *PasswordRestrictionSetting) GetRequireResetPasswordForFirstLogin() bool

func (*PasswordRestrictionSetting) GetRequireSpecialCharacter

func (x *PasswordRestrictionSetting) GetRequireSpecialCharacter() bool

func (*PasswordRestrictionSetting) GetRequireUppercaseLetter

func (x *PasswordRestrictionSetting) GetRequireUppercaseLetter() bool

func (*PasswordRestrictionSetting) ProtoMessage

func (*PasswordRestrictionSetting) ProtoMessage()

func (*PasswordRestrictionSetting) ProtoReflect

func (*PasswordRestrictionSetting) Reset

func (x *PasswordRestrictionSetting) Reset()

func (*PasswordRestrictionSetting) String

func (x *PasswordRestrictionSetting) String() string

type Policy

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

Policy enumerates the policy rows the store can query. Only the IAM type and the WORKSPACE resource are produced; the enum values are kept because they are written to the policy table's text columns and legacy rows may carry the others.

func (*Policy) Descriptor deprecated

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

Deprecated: Use Policy.ProtoReflect.Descriptor instead.

func (*Policy) ProtoMessage

func (*Policy) ProtoMessage()

func (*Policy) ProtoReflect

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

func (*Policy) Reset

func (x *Policy) Reset()

func (*Policy) String

func (x *Policy) String() string

type Policy_Resource

type Policy_Resource int32
const (
	Policy_RESOURCE_UNSPECIFIED Policy_Resource = 0
	Policy_WORKSPACE            Policy_Resource = 1
	Policy_ENVIRONMENT          Policy_Resource = 2
	Policy_PROJECT              Policy_Resource = 3
)

func (Policy_Resource) Descriptor

func (Policy_Resource) Enum

func (x Policy_Resource) Enum() *Policy_Resource

func (Policy_Resource) EnumDescriptor deprecated

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

Deprecated: Use Policy_Resource.Descriptor instead.

func (Policy_Resource) Number

func (Policy_Resource) String

func (x Policy_Resource) String() string

func (Policy_Resource) Type

type Policy_Type

type Policy_Type int32
const (
	Policy_TYPE_UNSPECIFIED Policy_Type = 0
	Policy_IAM              Policy_Type = 1
	Policy_TAG              Policy_Type = 2
)

func (Policy_Type) Descriptor

func (Policy_Type) Enum

func (x Policy_Type) Enum() *Policy_Type

func (Policy_Type) EnumDescriptor deprecated

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

Deprecated: Use Policy_Type.Descriptor instead.

func (Policy_Type) Number

func (x Policy_Type) Number() protoreflect.EnumNumber

func (Policy_Type) String

func (x Policy_Type) String() string

func (Policy_Type) Type

type PrincipalType

type PrincipalType int32

PrincipalType is the type of a principal.

const (
	PrincipalType_PRINCIPAL_TYPE_UNSPECIFIED PrincipalType = 0
	// END_USER represents the human being.
	PrincipalType_END_USER PrincipalType = 1
	// SERVICE_ACCOUNT represents the external service calling OpenAPI.
	PrincipalType_SERVICE_ACCOUNT PrincipalType = 2
	// SYSTEM_BOT represents the internal system bot performing operations.
	PrincipalType_SYSTEM_BOT PrincipalType = 3
)

func (PrincipalType) Descriptor

func (PrincipalType) Enum

func (x PrincipalType) Enum() *PrincipalType

func (PrincipalType) EnumDescriptor deprecated

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

Deprecated: Use PrincipalType.Descriptor instead.

func (PrincipalType) Number

func (PrincipalType) String

func (x PrincipalType) String() string

func (PrincipalType) Type

type ProcedureMetadata

type ProcedureMetadata struct {

	// The name of the procedure.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// The definition is the definition of a procedure.
	Definition string `protobuf:"bytes,2,opt,name=definition,proto3" json:"definition,omitempty"`
	// The signature is the name with the number and type of input arguments the
	// function takes.
	Signature string `protobuf:"bytes,3,opt,name=signature,proto3" json:"signature,omitempty"`
	// MySQL specific metadata.
	CharacterSetClient  string `protobuf:"bytes,4,opt,name=character_set_client,json=characterSetClient,proto3" json:"character_set_client,omitempty"`
	CollationConnection string `protobuf:"bytes,5,opt,name=collation_connection,json=collationConnection,proto3" json:"collation_connection,omitempty"`
	DatabaseCollation   string `protobuf:"bytes,6,opt,name=database_collation,json=databaseCollation,proto3" json:"database_collation,omitempty"`
	SqlMode             string `protobuf:"bytes,7,opt,name=sql_mode,json=sqlMode,proto3" json:"sql_mode,omitempty"`
	Comment             string `protobuf:"bytes,9,opt,name=comment,proto3" json:"comment,omitempty"`
	SkipDump            bool   `protobuf:"varint,8,opt,name=skip_dump,json=skipDump,proto3" json:"skip_dump,omitempty"`
	// contains filtered or unexported fields
}

ProcedureMetadata is the metadata for procedures.

func (*ProcedureMetadata) Descriptor deprecated

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

Deprecated: Use ProcedureMetadata.ProtoReflect.Descriptor instead.

func (*ProcedureMetadata) GetCharacterSetClient

func (x *ProcedureMetadata) GetCharacterSetClient() string

func (*ProcedureMetadata) GetCollationConnection

func (x *ProcedureMetadata) GetCollationConnection() string

func (*ProcedureMetadata) GetComment

func (x *ProcedureMetadata) GetComment() string

func (*ProcedureMetadata) GetDatabaseCollation

func (x *ProcedureMetadata) GetDatabaseCollation() string

func (*ProcedureMetadata) GetDefinition

func (x *ProcedureMetadata) GetDefinition() string

func (*ProcedureMetadata) GetName

func (x *ProcedureMetadata) GetName() string

func (*ProcedureMetadata) GetSignature

func (x *ProcedureMetadata) GetSignature() string

func (*ProcedureMetadata) GetSkipDump

func (x *ProcedureMetadata) GetSkipDump() bool

func (*ProcedureMetadata) GetSqlMode

func (x *ProcedureMetadata) GetSqlMode() string

func (*ProcedureMetadata) ProtoMessage

func (*ProcedureMetadata) ProtoMessage()

func (*ProcedureMetadata) ProtoReflect

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

func (*ProcedureMetadata) Reset

func (x *ProcedureMetadata) Reset()

func (*ProcedureMetadata) String

func (x *ProcedureMetadata) String() string

type RolePermissions

type RolePermissions struct {
	Permissions []string `protobuf:"bytes,1,rep,name=permissions,proto3" json:"permissions,omitempty"`
	// contains filtered or unexported fields
}

RolePermissions is the payload stored in the role table's permissions JSONB column: the permission bundle of a custom role. Predefined roles are defined in Go (backend/store/predefined_roles.go) and never stored, so only custom roles have a row here.

func (*RolePermissions) Descriptor deprecated

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

Deprecated: Use RolePermissions.ProtoReflect.Descriptor instead.

func (*RolePermissions) GetPermissions

func (x *RolePermissions) GetPermissions() []string

func (*RolePermissions) ProtoMessage

func (*RolePermissions) ProtoMessage()

func (*RolePermissions) ProtoReflect

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

func (*RolePermissions) Reset

func (x *RolePermissions) Reset()

func (*RolePermissions) String

func (x *RolePermissions) String() string

type RuleMetadata

type RuleMetadata struct {

	// The name of the rule.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// The event type of the rule: SELECT, INSERT, UPDATE, or DELETE.
	Event string `protobuf:"bytes,2,opt,name=event,proto3" json:"event,omitempty"`
	// The WHERE condition of the rule (optional).
	Condition string `protobuf:"bytes,3,opt,name=condition,proto3" json:"condition,omitempty"`
	// The command(s) to execute when the rule fires.
	Action string `protobuf:"bytes,4,opt,name=action,proto3" json:"action,omitempty"`
	// The is_instead indicates whether this is an INSTEAD rule.
	IsInstead bool `protobuf:"varint,5,opt,name=is_instead,json=isInstead,proto3" json:"is_instead,omitempty"`
	// The is_enabled indicates whether the rule is enabled.
	IsEnabled bool `protobuf:"varint,6,opt,name=is_enabled,json=isEnabled,proto3" json:"is_enabled,omitempty"`
	// The full CREATE RULE statement.
	Definition string `protobuf:"bytes,7,opt,name=definition,proto3" json:"definition,omitempty"`
	// contains filtered or unexported fields
}

RuleMetadata is the metadata for PostgreSQL rules.

func (*RuleMetadata) Descriptor deprecated

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

Deprecated: Use RuleMetadata.ProtoReflect.Descriptor instead.

func (*RuleMetadata) GetAction

func (x *RuleMetadata) GetAction() string

func (*RuleMetadata) GetCondition

func (x *RuleMetadata) GetCondition() string

func (*RuleMetadata) GetDefinition

func (x *RuleMetadata) GetDefinition() string

func (*RuleMetadata) GetEvent

func (x *RuleMetadata) GetEvent() string

func (*RuleMetadata) GetIsEnabled

func (x *RuleMetadata) GetIsEnabled() bool

func (*RuleMetadata) GetIsInstead

func (x *RuleMetadata) GetIsInstead() bool

func (*RuleMetadata) GetName

func (x *RuleMetadata) GetName() string

func (*RuleMetadata) ProtoMessage

func (*RuleMetadata) ProtoMessage()

func (*RuleMetadata) ProtoReflect

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

func (*RuleMetadata) Reset

func (x *RuleMetadata) Reset()

func (*RuleMetadata) String

func (x *RuleMetadata) String() string

type SchemaMetadata

type SchemaMetadata struct {

	// The schema name.
	// It is an empty string for databases without such concept such as MySQL.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// The list of tables in a schema.
	Tables []*TableMetadata `protobuf:"bytes,2,rep,name=tables,proto3" json:"tables,omitempty"`
	// The list of external tables in a schema.
	ExternalTables []*ExternalTableMetadata `protobuf:"bytes,3,rep,name=external_tables,json=externalTables,proto3" json:"external_tables,omitempty"`
	// The list of views in a schema.
	Views []*ViewMetadata `protobuf:"bytes,4,rep,name=views,proto3" json:"views,omitempty"`
	// The list of functions in a schema.
	Functions []*FunctionMetadata `protobuf:"bytes,5,rep,name=functions,proto3" json:"functions,omitempty"`
	// The list of procedures in a schema.
	Procedures []*ProcedureMetadata `protobuf:"bytes,6,rep,name=procedures,proto3" json:"procedures,omitempty"`
	// The list of materialized views in a schema.
	MaterializedViews []*MaterializedViewMetadata `protobuf:"bytes,9,rep,name=materialized_views,json=materializedViews,proto3" json:"materialized_views,omitempty"`
	// The list of sequences in a schema.
	Sequences []*SequenceMetadata `protobuf:"bytes,10,rep,name=sequences,proto3" json:"sequences,omitempty"`
	Owner     string              `protobuf:"bytes,12,opt,name=owner,proto3" json:"owner,omitempty"`
	Comment   string              `protobuf:"bytes,13,opt,name=comment,proto3" json:"comment,omitempty"`
	Events    []*EventMetadata    `protobuf:"bytes,14,rep,name=events,proto3" json:"events,omitempty"`
	EnumTypes []*EnumTypeMetadata `protobuf:"bytes,15,rep,name=enum_types,json=enumTypes,proto3" json:"enum_types,omitempty"`
	SkipDump  bool                `protobuf:"varint,16,opt,name=skip_dump,json=skipDump,proto3" json:"skip_dump,omitempty"`
	// contains filtered or unexported fields
}

SchemaMetadata is the metadata for schemas. This is the concept of schema in Postgres, but it's a no-op for MySQL.

func (*SchemaMetadata) Descriptor deprecated

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

Deprecated: Use SchemaMetadata.ProtoReflect.Descriptor instead.

func (*SchemaMetadata) GetComment

func (x *SchemaMetadata) GetComment() string

func (*SchemaMetadata) GetEnumTypes

func (x *SchemaMetadata) GetEnumTypes() []*EnumTypeMetadata

func (*SchemaMetadata) GetEvents

func (x *SchemaMetadata) GetEvents() []*EventMetadata

func (*SchemaMetadata) GetExternalTables

func (x *SchemaMetadata) GetExternalTables() []*ExternalTableMetadata

func (*SchemaMetadata) GetFunctions

func (x *SchemaMetadata) GetFunctions() []*FunctionMetadata

func (*SchemaMetadata) GetMaterializedViews

func (x *SchemaMetadata) GetMaterializedViews() []*MaterializedViewMetadata

func (*SchemaMetadata) GetName

func (x *SchemaMetadata) GetName() string

func (*SchemaMetadata) GetOwner

func (x *SchemaMetadata) GetOwner() string

func (*SchemaMetadata) GetProcedures

func (x *SchemaMetadata) GetProcedures() []*ProcedureMetadata

func (*SchemaMetadata) GetSequences

func (x *SchemaMetadata) GetSequences() []*SequenceMetadata

func (*SchemaMetadata) GetSkipDump

func (x *SchemaMetadata) GetSkipDump() bool

func (*SchemaMetadata) GetTables

func (x *SchemaMetadata) GetTables() []*TableMetadata

func (*SchemaMetadata) GetViews

func (x *SchemaMetadata) GetViews() []*ViewMetadata

func (*SchemaMetadata) ProtoMessage

func (*SchemaMetadata) ProtoMessage()

func (*SchemaMetadata) ProtoReflect

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

func (*SchemaMetadata) Reset

func (x *SchemaMetadata) Reset()

func (*SchemaMetadata) String

func (x *SchemaMetadata) String() string

type SchemaSyncDetail

type SchemaSyncDetail struct {

	// Format: instances/{instance}
	Instance string `protobuf:"bytes,1,opt,name=instance,proto3" json:"instance,omitempty"`
	// The instance's display name, so a client can render the message without a
	// second read.
	InstanceTitle string      `protobuf:"bytes,2,opt,name=instance_title,json=instanceTitle,proto3" json:"instance_title,omitempty"`
	Trigger       SyncTrigger `protobuf:"varint,3,opt,name=trigger,proto3,enum=metaxisdata.store.SyncTrigger" json:"trigger,omitempty"`
	// Why the instance metadata step failed. Empty when it succeeded.
	InstanceError string `protobuf:"bytes,4,opt,name=instance_error,json=instanceError,proto3" json:"instance_error,omitempty"`
	// The databases this message names, each with its outcome: the ones that failed
	// or never reported for an instance-wide sync, and the database itself for a sync
	// of one database. Successful databases are counted rather than listed, and the
	// list is capped; the counts below carry the whole picture.
	Databases       []*SyncDatabaseResult `protobuf:"bytes,5,rep,name=databases,proto3" json:"databases,omitempty"`
	SucceededCount  int32                 `protobuf:"varint,6,opt,name=succeeded_count,json=succeededCount,proto3" json:"succeeded_count,omitempty"`
	FailedCount     int32                 `protobuf:"varint,7,opt,name=failed_count,json=failedCount,proto3" json:"failed_count,omitempty"`
	UnfinishedCount int32                 `protobuf:"varint,8,opt,name=unfinished_count,json=unfinishedCount,proto3" json:"unfinished_count,omitempty"`
	// contains filtered or unexported fields
}

SchemaSyncDetail reports one sync operation: the instance metadata step plus every database that was queued by it.

func (*SchemaSyncDetail) Descriptor deprecated

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

Deprecated: Use SchemaSyncDetail.ProtoReflect.Descriptor instead.

func (*SchemaSyncDetail) GetDatabases

func (x *SchemaSyncDetail) GetDatabases() []*SyncDatabaseResult

func (*SchemaSyncDetail) GetFailedCount

func (x *SchemaSyncDetail) GetFailedCount() int32

func (*SchemaSyncDetail) GetInstance

func (x *SchemaSyncDetail) GetInstance() string

func (*SchemaSyncDetail) GetInstanceError

func (x *SchemaSyncDetail) GetInstanceError() string

func (*SchemaSyncDetail) GetInstanceTitle

func (x *SchemaSyncDetail) GetInstanceTitle() string

func (*SchemaSyncDetail) GetSucceededCount

func (x *SchemaSyncDetail) GetSucceededCount() int32

func (*SchemaSyncDetail) GetTrigger

func (x *SchemaSyncDetail) GetTrigger() SyncTrigger

func (*SchemaSyncDetail) GetUnfinishedCount

func (x *SchemaSyncDetail) GetUnfinishedCount() int32

func (*SchemaSyncDetail) ProtoMessage

func (*SchemaSyncDetail) ProtoMessage()

func (*SchemaSyncDetail) ProtoReflect

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

func (*SchemaSyncDetail) Reset

func (x *SchemaSyncDetail) Reset()

func (*SchemaSyncDetail) String

func (x *SchemaSyncDetail) String() string

type SequenceMetadata

type SequenceMetadata struct {

	// The name of a sequence.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// The data type of a sequence.
	DataType string `protobuf:"bytes,2,opt,name=data_type,json=dataType,proto3" json:"data_type,omitempty"`
	// The start value of a sequence.
	Start string `protobuf:"bytes,3,opt,name=start,proto3" json:"start,omitempty"`
	// The minimum value of a sequence.
	MinValue string `protobuf:"bytes,4,opt,name=min_value,json=minValue,proto3" json:"min_value,omitempty"`
	// The maximum value of a sequence.
	MaxValue string `protobuf:"bytes,5,opt,name=max_value,json=maxValue,proto3" json:"max_value,omitempty"`
	// The increment value of a sequence.
	Increment string `protobuf:"bytes,6,opt,name=increment,proto3" json:"increment,omitempty"`
	// Whether the sequence cycles.
	Cycle bool `protobuf:"varint,7,opt,name=cycle,proto3" json:"cycle,omitempty"`
	// Cache size of a sequence.
	CacheSize string `protobuf:"bytes,8,opt,name=cache_size,json=cacheSize,proto3" json:"cache_size,omitempty"`
	// The last value of a sequence.
	LastValue string `protobuf:"bytes,9,opt,name=last_value,json=lastValue,proto3" json:"last_value,omitempty"`
	// The table that owns the sequence.
	OwnerTable string `protobuf:"bytes,10,opt,name=owner_table,json=ownerTable,proto3" json:"owner_table,omitempty"`
	// The column that owns the sequence.
	OwnerColumn string `protobuf:"bytes,11,opt,name=owner_column,json=ownerColumn,proto3" json:"owner_column,omitempty"`
	Comment     string `protobuf:"bytes,12,opt,name=comment,proto3" json:"comment,omitempty"`
	SkipDump    bool   `protobuf:"varint,13,opt,name=skip_dump,json=skipDump,proto3" json:"skip_dump,omitempty"`
	// contains filtered or unexported fields
}

func (*SequenceMetadata) Descriptor deprecated

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

Deprecated: Use SequenceMetadata.ProtoReflect.Descriptor instead.

func (*SequenceMetadata) GetCacheSize

func (x *SequenceMetadata) GetCacheSize() string

func (*SequenceMetadata) GetComment

func (x *SequenceMetadata) GetComment() string

func (*SequenceMetadata) GetCycle

func (x *SequenceMetadata) GetCycle() bool

func (*SequenceMetadata) GetDataType

func (x *SequenceMetadata) GetDataType() string

func (*SequenceMetadata) GetIncrement

func (x *SequenceMetadata) GetIncrement() string

func (*SequenceMetadata) GetLastValue

func (x *SequenceMetadata) GetLastValue() string

func (*SequenceMetadata) GetMaxValue

func (x *SequenceMetadata) GetMaxValue() string

func (*SequenceMetadata) GetMinValue

func (x *SequenceMetadata) GetMinValue() string

func (*SequenceMetadata) GetName

func (x *SequenceMetadata) GetName() string

func (*SequenceMetadata) GetOwnerColumn

func (x *SequenceMetadata) GetOwnerColumn() string

func (*SequenceMetadata) GetOwnerTable

func (x *SequenceMetadata) GetOwnerTable() string

func (*SequenceMetadata) GetSkipDump

func (x *SequenceMetadata) GetSkipDump() bool

func (*SequenceMetadata) GetStart

func (x *SequenceMetadata) GetStart() string

func (*SequenceMetadata) ProtoMessage

func (*SequenceMetadata) ProtoMessage()

func (*SequenceMetadata) ProtoReflect

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

func (*SequenceMetadata) Reset

func (x *SequenceMetadata) Reset()

func (*SequenceMetadata) String

func (x *SequenceMetadata) String() string

type SettingName

type SettingName int32

SettingName is the name of a workspace setting. Only the settings the server actually reads or writes are kept; the approval/IM/watermark/AI/CEL/SCIM leftovers keep their numbers reserved.

const (
	SettingName_SETTING_NAME_UNSPECIFIED SettingName = 0
	SettingName_AUTH_SECRET              SettingName = 1
	SettingName_WORKSPACE_ID             SettingName = 3
	SettingName_WORKSPACE_PROFILE        SettingName = 4
	SettingName_PASSWORD_RESTRICTION     SettingName = 14
	SettingName_ENVIRONMENT              SettingName = 15
	// ENCRYPTION_KEY is the deployment's credential data key, in the bare base64
	// of 32 random bytes when no key-encryption key is configured, or a v1
	// ciphertext under METAXISDATA_ENCRYPTION_KEY when one is. It is generated on
	// first startup and never leaves the process otherwise.
	SettingName_ENCRYPTION_KEY SettingName = 16
)

func (SettingName) Descriptor

func (SettingName) Enum

func (x SettingName) Enum() *SettingName

func (SettingName) EnumDescriptor deprecated

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

Deprecated: Use SettingName.Descriptor instead.

func (SettingName) Number

func (x SettingName) Number() protoreflect.EnumNumber

func (SettingName) String

func (x SettingName) String() string

func (SettingName) Type

type SpatialIndexConfig

type SpatialIndexConfig struct {

	// The index method, such as "SPATIAL" or "GIST".
	Method string `protobuf:"bytes,1,opt,name=method,proto3" json:"method,omitempty"`
	// The tessellation configuration. (SQL Server specific).
	Tessellation *TessellationConfig `protobuf:"bytes,2,opt,name=tessellation,proto3" json:"tessellation,omitempty"`
	// The storage and performance parameters.
	Storage *StorageConfig `protobuf:"bytes,3,opt,name=storage,proto3" json:"storage,omitempty"`
	// The dimensional parameters.
	Dimensional *DimensionalConfig `protobuf:"bytes,4,opt,name=dimensional,proto3" json:"dimensional,omitempty"`
	// Engine specific parameters.
	EngineSpecific map[string]string `` /* 177-byte string literal not displayed */
	// contains filtered or unexported fields
}

SpatialIndexConfig is the configuration of a spatial index.

func (*SpatialIndexConfig) Descriptor deprecated

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

Deprecated: Use SpatialIndexConfig.ProtoReflect.Descriptor instead.

func (*SpatialIndexConfig) GetDimensional

func (x *SpatialIndexConfig) GetDimensional() *DimensionalConfig

func (*SpatialIndexConfig) GetEngineSpecific

func (x *SpatialIndexConfig) GetEngineSpecific() map[string]string

func (*SpatialIndexConfig) GetMethod

func (x *SpatialIndexConfig) GetMethod() string

func (*SpatialIndexConfig) GetStorage

func (x *SpatialIndexConfig) GetStorage() *StorageConfig

func (*SpatialIndexConfig) GetTessellation

func (x *SpatialIndexConfig) GetTessellation() *TessellationConfig

func (*SpatialIndexConfig) ProtoMessage

func (*SpatialIndexConfig) ProtoMessage()

func (*SpatialIndexConfig) ProtoReflect

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

func (*SpatialIndexConfig) Reset

func (x *SpatialIndexConfig) Reset()

func (*SpatialIndexConfig) String

func (x *SpatialIndexConfig) String() string

type StorageConfig

type StorageConfig struct {

	// PostgreSQL parameters.
	Fillfactor int32  `protobuf:"varint,1,opt,name=fillfactor,proto3" json:"fillfactor,omitempty"`
	Buffering  string `protobuf:"bytes,2,opt,name=buffering,proto3" json:"buffering,omitempty"`
	// Oracle parameters.
	Tablespace     string `protobuf:"bytes,3,opt,name=tablespace,proto3" json:"tablespace,omitempty"`
	WorkTablespace string `protobuf:"bytes,4,opt,name=work_tablespace,json=workTablespace,proto3" json:"work_tablespace,omitempty"`
	SdoLevel       int32  `protobuf:"varint,5,opt,name=sdo_level,json=sdoLevel,proto3" json:"sdo_level,omitempty"`
	CommitInterval int32  `protobuf:"varint,6,opt,name=commit_interval,json=commitInterval,proto3" json:"commit_interval,omitempty"`
	// SQL Server parameters.
	PadIndex        bool   `protobuf:"varint,7,opt,name=pad_index,json=padIndex,proto3" json:"pad_index,omitempty"`
	SortInTempdb    string `protobuf:"bytes,8,opt,name=sort_in_tempdb,json=sortInTempdb,proto3" json:"sort_in_tempdb,omitempty"`
	DropExisting    bool   `protobuf:"varint,9,opt,name=drop_existing,json=dropExisting,proto3" json:"drop_existing,omitempty"`
	Online          bool   `protobuf:"varint,10,opt,name=online,proto3" json:"online,omitempty"`
	AllowRowLocks   bool   `protobuf:"varint,11,opt,name=allow_row_locks,json=allowRowLocks,proto3" json:"allow_row_locks,omitempty"`
	AllowPageLocks  bool   `protobuf:"varint,12,opt,name=allow_page_locks,json=allowPageLocks,proto3" json:"allow_page_locks,omitempty"`
	Maxdop          int32  `protobuf:"varint,13,opt,name=maxdop,proto3" json:"maxdop,omitempty"`
	DataCompression string `protobuf:"bytes,14,opt,name=data_compression,json=dataCompression,proto3" json:"data_compression,omitempty"`
	// contains filtered or unexported fields
}

StorageConfig holds storage and performance parameters of an index.

func (*StorageConfig) Descriptor deprecated

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

Deprecated: Use StorageConfig.ProtoReflect.Descriptor instead.

func (*StorageConfig) GetAllowPageLocks

func (x *StorageConfig) GetAllowPageLocks() bool

func (*StorageConfig) GetAllowRowLocks

func (x *StorageConfig) GetAllowRowLocks() bool

func (*StorageConfig) GetBuffering

func (x *StorageConfig) GetBuffering() string

func (*StorageConfig) GetCommitInterval

func (x *StorageConfig) GetCommitInterval() int32

func (*StorageConfig) GetDataCompression

func (x *StorageConfig) GetDataCompression() string

func (*StorageConfig) GetDropExisting

func (x *StorageConfig) GetDropExisting() bool

func (*StorageConfig) GetFillfactor

func (x *StorageConfig) GetFillfactor() int32

func (*StorageConfig) GetMaxdop

func (x *StorageConfig) GetMaxdop() int32

func (*StorageConfig) GetOnline

func (x *StorageConfig) GetOnline() bool

func (*StorageConfig) GetPadIndex

func (x *StorageConfig) GetPadIndex() bool

func (*StorageConfig) GetSdoLevel

func (x *StorageConfig) GetSdoLevel() int32

func (*StorageConfig) GetSortInTempdb

func (x *StorageConfig) GetSortInTempdb() string

func (*StorageConfig) GetTablespace

func (x *StorageConfig) GetTablespace() string

func (*StorageConfig) GetWorkTablespace

func (x *StorageConfig) GetWorkTablespace() string

func (*StorageConfig) ProtoMessage

func (*StorageConfig) ProtoMessage()

func (*StorageConfig) ProtoReflect

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

func (*StorageConfig) Reset

func (x *StorageConfig) Reset()

func (*StorageConfig) String

func (x *StorageConfig) String() string

type StoredMetadata

type StoredMetadata struct {

	// Types that are valid to be assigned to Type:
	//
	//	*StoredMetadata_DatabaseSchemaMetadata
	//	*StoredMetadata_SchemaMetadata
	//	*StoredMetadata_TableMetadata
	//	*StoredMetadata_ExternalTableMetadata
	//	*StoredMetadata_ViewMetadata
	//	*StoredMetadata_MaterializedViewMetadata
	//	*StoredMetadata_FunctionMetadata
	//	*StoredMetadata_ProcedureMetadata
	//	*StoredMetadata_SequenceMetadata
	//	*StoredMetadata_OpenlineageRunSummary
	//	*StoredMetadata_OpenlineageTaskSummary
	//	*StoredMetadata_ManualSqlMetadata
	//	*StoredMetadata_ColumnMetadata
	//	*StoredMetadata_ApplicationSqlMetadata
	Type isStoredMetadata_Type `protobuf_oneof:"type"`
	// contains filtered or unexported fields
}

func (*StoredMetadata) Descriptor deprecated

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

Deprecated: Use StoredMetadata.ProtoReflect.Descriptor instead.

func (*StoredMetadata) GetApplicationSqlMetadata

func (x *StoredMetadata) GetApplicationSqlMetadata() *ApplicationSQLMetadata

func (*StoredMetadata) GetColumnMetadata

func (x *StoredMetadata) GetColumnMetadata() *ColumnMetadata

func (*StoredMetadata) GetDatabaseSchemaMetadata

func (x *StoredMetadata) GetDatabaseSchemaMetadata() *DatabaseSchemaMetadata

func (*StoredMetadata) GetExternalTableMetadata

func (x *StoredMetadata) GetExternalTableMetadata() *ExternalTableMetadata

func (*StoredMetadata) GetFunctionMetadata

func (x *StoredMetadata) GetFunctionMetadata() *FunctionMetadata

func (*StoredMetadata) GetManualSqlMetadata

func (x *StoredMetadata) GetManualSqlMetadata() *ManualSQLMetadata

func (*StoredMetadata) GetMaterializedViewMetadata

func (x *StoredMetadata) GetMaterializedViewMetadata() *MaterializedViewMetadata

func (*StoredMetadata) GetOpenlineageRunSummary

func (x *StoredMetadata) GetOpenlineageRunSummary() *OpenLineageRunSummary

func (*StoredMetadata) GetOpenlineageTaskSummary

func (x *StoredMetadata) GetOpenlineageTaskSummary() *OpenLineageTaskSummary

func (*StoredMetadata) GetProcedureMetadata

func (x *StoredMetadata) GetProcedureMetadata() *ProcedureMetadata

func (*StoredMetadata) GetSchemaMetadata

func (x *StoredMetadata) GetSchemaMetadata() *SchemaMetadata

func (*StoredMetadata) GetSequenceMetadata

func (x *StoredMetadata) GetSequenceMetadata() *SequenceMetadata

func (*StoredMetadata) GetTableMetadata

func (x *StoredMetadata) GetTableMetadata() *TableMetadata

func (*StoredMetadata) GetType

func (x *StoredMetadata) GetType() isStoredMetadata_Type

func (*StoredMetadata) GetViewMetadata

func (x *StoredMetadata) GetViewMetadata() *ViewMetadata

func (*StoredMetadata) ProtoMessage

func (*StoredMetadata) ProtoMessage()

func (*StoredMetadata) ProtoReflect

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

func (*StoredMetadata) Reset

func (x *StoredMetadata) Reset()

func (*StoredMetadata) String

func (x *StoredMetadata) String() string

type StoredMetadata_ApplicationSqlMetadata

type StoredMetadata_ApplicationSqlMetadata struct {
	ApplicationSqlMetadata *ApplicationSQLMetadata `protobuf:"bytes,17,opt,name=application_sql_metadata,json=applicationSqlMetadata,proto3,oneof"`
}

type StoredMetadata_ColumnMetadata

type StoredMetadata_ColumnMetadata struct {
	ColumnMetadata *ColumnMetadata `protobuf:"bytes,16,opt,name=column_metadata,json=columnMetadata,proto3,oneof"`
}

type StoredMetadata_DatabaseSchemaMetadata

type StoredMetadata_DatabaseSchemaMetadata struct {
	DatabaseSchemaMetadata *DatabaseSchemaMetadata `protobuf:"bytes,1,opt,name=database_schema_metadata,json=databaseSchemaMetadata,proto3,oneof"`
}

type StoredMetadata_ExternalTableMetadata

type StoredMetadata_ExternalTableMetadata struct {
	ExternalTableMetadata *ExternalTableMetadata `protobuf:"bytes,4,opt,name=external_table_metadata,json=externalTableMetadata,proto3,oneof"`
}

type StoredMetadata_FunctionMetadata

type StoredMetadata_FunctionMetadata struct {
	FunctionMetadata *FunctionMetadata `protobuf:"bytes,7,opt,name=function_metadata,json=functionMetadata,proto3,oneof"`
}

type StoredMetadata_ManualSqlMetadata

type StoredMetadata_ManualSqlMetadata struct {
	ManualSqlMetadata *ManualSQLMetadata `protobuf:"bytes,15,opt,name=manual_sql_metadata,json=manualSqlMetadata,proto3,oneof"`
}

type StoredMetadata_MaterializedViewMetadata

type StoredMetadata_MaterializedViewMetadata struct {
	MaterializedViewMetadata *MaterializedViewMetadata `protobuf:"bytes,6,opt,name=materialized_view_metadata,json=materializedViewMetadata,proto3,oneof"`
}

type StoredMetadata_OpenlineageRunSummary

type StoredMetadata_OpenlineageRunSummary struct {
	OpenlineageRunSummary *OpenLineageRunSummary `protobuf:"bytes,13,opt,name=openlineage_run_summary,json=openlineageRunSummary,proto3,oneof"`
}

type StoredMetadata_OpenlineageTaskSummary

type StoredMetadata_OpenlineageTaskSummary struct {
	OpenlineageTaskSummary *OpenLineageTaskSummary `protobuf:"bytes,14,opt,name=openlineage_task_summary,json=openlineageTaskSummary,proto3,oneof"`
}

type StoredMetadata_ProcedureMetadata

type StoredMetadata_ProcedureMetadata struct {
	ProcedureMetadata *ProcedureMetadata `protobuf:"bytes,8,opt,name=procedure_metadata,json=procedureMetadata,proto3,oneof"`
}

type StoredMetadata_SchemaMetadata

type StoredMetadata_SchemaMetadata struct {
	SchemaMetadata *SchemaMetadata `protobuf:"bytes,2,opt,name=schema_metadata,json=schemaMetadata,proto3,oneof"`
}

type StoredMetadata_SequenceMetadata

type StoredMetadata_SequenceMetadata struct {
	SequenceMetadata *SequenceMetadata `protobuf:"bytes,10,opt,name=sequence_metadata,json=sequenceMetadata,proto3,oneof"`
}

type StoredMetadata_TableMetadata

type StoredMetadata_TableMetadata struct {
	TableMetadata *TableMetadata `protobuf:"bytes,3,opt,name=table_metadata,json=tableMetadata,proto3,oneof"`
}

type StoredMetadata_ViewMetadata

type StoredMetadata_ViewMetadata struct {
	ViewMetadata *ViewMetadata `protobuf:"bytes,5,opt,name=view_metadata,json=viewMetadata,proto3,oneof"`
}

type SyncDatabaseResult

type SyncDatabaseResult struct {

	// Format: instances/{instance}/databases/{database}
	Database string            `protobuf:"bytes,1,opt,name=database,proto3" json:"database,omitempty"`
	State    SyncDatabaseState `protobuf:"varint,2,opt,name=state,proto3,enum=metaxisdata.store.SyncDatabaseState" json:"state,omitempty"`
	// Truncated before it is stored, so one runaway error cannot bloat the row.
	Error string `protobuf:"bytes,3,opt,name=error,proto3" json:"error,omitempty"`
	// contains filtered or unexported fields
}

SyncDatabaseResult is one database's outcome in a schema sync operation.

func (*SyncDatabaseResult) Descriptor deprecated

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

Deprecated: Use SyncDatabaseResult.ProtoReflect.Descriptor instead.

func (*SyncDatabaseResult) GetDatabase

func (x *SyncDatabaseResult) GetDatabase() string

func (*SyncDatabaseResult) GetError

func (x *SyncDatabaseResult) GetError() string

func (*SyncDatabaseResult) GetState

func (x *SyncDatabaseResult) GetState() SyncDatabaseState

func (*SyncDatabaseResult) ProtoMessage

func (*SyncDatabaseResult) ProtoMessage()

func (*SyncDatabaseResult) ProtoReflect

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

func (*SyncDatabaseResult) Reset

func (x *SyncDatabaseResult) Reset()

func (*SyncDatabaseResult) String

func (x *SyncDatabaseResult) String() string

type SyncDatabaseState

type SyncDatabaseState int32

SyncDatabaseState is one database's outcome within a sync operation.

const (
	SyncDatabaseState_SYNC_DATABASE_STATE_UNSPECIFIED SyncDatabaseState = 0
	SyncDatabaseState_SYNC_DATABASE_STATE_SUCCEEDED   SyncDatabaseState = 1
	SyncDatabaseState_SYNC_DATABASE_STATE_FAILED      SyncDatabaseState = 2
	// The operation ended before this database produced a result, because its
	// deadline passed or its instance disappeared.
	SyncDatabaseState_SYNC_DATABASE_STATE_UNFINISHED SyncDatabaseState = 3
)

func (SyncDatabaseState) Descriptor

func (SyncDatabaseState) Enum

func (SyncDatabaseState) EnumDescriptor deprecated

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

Deprecated: Use SyncDatabaseState.Descriptor instead.

func (SyncDatabaseState) Number

func (SyncDatabaseState) String

func (x SyncDatabaseState) String() string

func (SyncDatabaseState) Type

type SyncTrigger

type SyncTrigger int32

SyncTrigger is what started the sync operation a notification reports.

const (
	SyncTrigger_SYNC_TRIGGER_UNSPECIFIED SyncTrigger = 0
	// A user asked for it, through an API call or in the UI. The initiator is the
	// recipient.
	SyncTrigger_SYNC_TRIGGER_MANUAL SyncTrigger = 1
	// The periodic scan asked for it, so there is no initiator; the workspace
	// administrators are the recipients.
	SyncTrigger_SYNC_TRIGGER_BACKGROUND SyncTrigger = 2
)

func (SyncTrigger) Descriptor

func (SyncTrigger) Enum

func (x SyncTrigger) Enum() *SyncTrigger

func (SyncTrigger) EnumDescriptor deprecated

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

Deprecated: Use SyncTrigger.Descriptor instead.

func (SyncTrigger) Number

func (x SyncTrigger) Number() protoreflect.EnumNumber

func (SyncTrigger) String

func (x SyncTrigger) String() string

func (SyncTrigger) Type

type TableMetadata

type TableMetadata struct {

	// The name of the table.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// The columns is the ordered list of columns in a table.
	Columns []*ColumnMetadata `protobuf:"bytes,2,rep,name=columns,proto3" json:"columns,omitempty"`
	// The indexes is the list of indexes in a table.
	Indexes []*IndexMetadata `protobuf:"bytes,3,rep,name=indexes,proto3" json:"indexes,omitempty"`
	// The engine is the engine of a table.
	Engine string `protobuf:"bytes,4,opt,name=engine,proto3" json:"engine,omitempty"`
	// The collation is the collation of a table.
	Collation string `protobuf:"bytes,5,opt,name=collation,proto3" json:"collation,omitempty"`
	// The character set of the table.
	Charset string `protobuf:"bytes,17,opt,name=charset,proto3" json:"charset,omitempty"`
	// The row_count is the estimated number of rows of a table.
	RowCount int64 `protobuf:"varint,6,opt,name=row_count,json=rowCount,proto3" json:"row_count,omitempty"`
	// The data_size is the estimated data size of a table.
	DataSize int64 `protobuf:"varint,7,opt,name=data_size,json=dataSize,proto3" json:"data_size,omitempty"`
	// The index_size is the estimated index size of a table.
	IndexSize int64 `protobuf:"varint,8,opt,name=index_size,json=indexSize,proto3" json:"index_size,omitempty"`
	// The data_free is the estimated free data size of a table.
	DataFree int64 `protobuf:"varint,9,opt,name=data_free,json=dataFree,proto3" json:"data_free,omitempty"`
	// The create_options is the create option of a table.
	CreateOptions string `protobuf:"bytes,10,opt,name=create_options,json=createOptions,proto3" json:"create_options,omitempty"`
	// The comment is the comment of a table.
	// classification and user_comment is parsed from the comment.
	Comment string `protobuf:"bytes,11,opt,name=comment,proto3" json:"comment,omitempty"`
	// The user_comment is the user comment of a table parsed from the comment.
	UserComment string `protobuf:"bytes,14,opt,name=user_comment,json=userComment,proto3" json:"user_comment,omitempty"`
	// The foreign_keys is the list of foreign keys in a table.
	ForeignKeys []*ForeignKeyMetadata `protobuf:"bytes,12,rep,name=foreign_keys,json=foreignKeys,proto3" json:"foreign_keys,omitempty"`
	// The partitions is the list of partitions in a table.
	Partitions []*TablePartitionMetadata `protobuf:"bytes,15,rep,name=partitions,proto3" json:"partitions,omitempty"`
	// The check_constraints is the list of check constraints in a table.
	CheckConstraints []*CheckConstraintMetadata `protobuf:"bytes,16,rep,name=check_constraints,json=checkConstraints,proto3" json:"check_constraints,omitempty"`
	Owner            string                     `protobuf:"bytes,18,opt,name=owner,proto3" json:"owner,omitempty"`
	// The sorting_keys is a tuple of column names or arbitrary expressions. ClickHouse specific field.
	// Reference: https://clickhouse.com/docs/en/engines/table-engines/mergetree-family/mergetree#order_by
	SortingKeys []string           `protobuf:"bytes,19,rep,name=sorting_keys,json=sortingKeys,proto3" json:"sorting_keys,omitempty"`
	Triggers    []*TriggerMetadata `protobuf:"bytes,20,rep,name=triggers,proto3" json:"triggers,omitempty"`
	SkipDump    bool               `protobuf:"varint,21,opt,name=skip_dump,json=skipDump,proto3" json:"skip_dump,omitempty"`
	// The rules is the list of rules in a table (PostgreSQL specific).
	Rules []*RuleMetadata `protobuf:"bytes,24,rep,name=rules,proto3" json:"rules,omitempty"`
	// https://docs.pingcap.com/tidb/stable/information-schema-tables/
	ShardingInfo string `protobuf:"bytes,22,opt,name=sharding_info,json=shardingInfo,proto3" json:"sharding_info,omitempty"`
	// https://docs.pingcap.com/tidb/stable/clustered-indexes/#clustered-indexes
	// CLUSTERED or NONCLUSTERED.
	PrimaryKeyType string `protobuf:"bytes,23,opt,name=primary_key_type,json=primaryKeyType,proto3" json:"primary_key_type,omitempty"`
	// The exclude_constraints is the list of EXCLUDE constraints in a table (PostgreSQL specific).
	ExcludeConstraints []*ExcludeConstraintMetadata `protobuf:"bytes,25,rep,name=exclude_constraints,json=excludeConstraints,proto3" json:"exclude_constraints,omitempty"`
	// contains filtered or unexported fields
}

TableMetadata is the metadata for tables.

func (*TableMetadata) Descriptor deprecated

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

Deprecated: Use TableMetadata.ProtoReflect.Descriptor instead.

func (*TableMetadata) GetCharset

func (x *TableMetadata) GetCharset() string

func (*TableMetadata) GetCheckConstraints

func (x *TableMetadata) GetCheckConstraints() []*CheckConstraintMetadata

func (*TableMetadata) GetCollation

func (x *TableMetadata) GetCollation() string

func (*TableMetadata) GetColumns

func (x *TableMetadata) GetColumns() []*ColumnMetadata

func (*TableMetadata) GetComment

func (x *TableMetadata) GetComment() string

func (*TableMetadata) GetCreateOptions

func (x *TableMetadata) GetCreateOptions() string

func (*TableMetadata) GetDataFree

func (x *TableMetadata) GetDataFree() int64

func (*TableMetadata) GetDataSize

func (x *TableMetadata) GetDataSize() int64

func (*TableMetadata) GetEngine

func (x *TableMetadata) GetEngine() string

func (*TableMetadata) GetExcludeConstraints

func (x *TableMetadata) GetExcludeConstraints() []*ExcludeConstraintMetadata

func (*TableMetadata) GetForeignKeys

func (x *TableMetadata) GetForeignKeys() []*ForeignKeyMetadata

func (*TableMetadata) GetIndexSize

func (x *TableMetadata) GetIndexSize() int64

func (*TableMetadata) GetIndexes

func (x *TableMetadata) GetIndexes() []*IndexMetadata

func (*TableMetadata) GetName

func (x *TableMetadata) GetName() string

func (*TableMetadata) GetOwner

func (x *TableMetadata) GetOwner() string

func (*TableMetadata) GetPartitions

func (x *TableMetadata) GetPartitions() []*TablePartitionMetadata

func (*TableMetadata) GetPrimaryKeyType

func (x *TableMetadata) GetPrimaryKeyType() string

func (*TableMetadata) GetRowCount

func (x *TableMetadata) GetRowCount() int64

func (*TableMetadata) GetRules

func (x *TableMetadata) GetRules() []*RuleMetadata

func (*TableMetadata) GetShardingInfo

func (x *TableMetadata) GetShardingInfo() string

func (*TableMetadata) GetSkipDump

func (x *TableMetadata) GetSkipDump() bool

func (*TableMetadata) GetSortingKeys

func (x *TableMetadata) GetSortingKeys() []string

func (*TableMetadata) GetTriggers

func (x *TableMetadata) GetTriggers() []*TriggerMetadata

func (*TableMetadata) GetUserComment

func (x *TableMetadata) GetUserComment() string

func (*TableMetadata) ProtoMessage

func (*TableMetadata) ProtoMessage()

func (*TableMetadata) ProtoReflect

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

func (*TableMetadata) Reset

func (x *TableMetadata) Reset()

func (*TableMetadata) String

func (x *TableMetadata) String() string

type TablePartitionMetadata

type TablePartitionMetadata struct {

	// The name of the table partition.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// The type of a table partition.
	Type TablePartitionMetadata_Type `protobuf:"varint,2,opt,name=type,proto3,enum=metaxisdata.store.TablePartitionMetadata_Type" json:"type,omitempty"`
	// The expression is the expression of a table partition.
	// For PostgreSQL, the expression is the text of {FOR VALUES
	// partition_bound_spec}, see
	// https://www.postgresql.org/docs/current/sql-createtable.html. For MySQL,
	// the expression is the `expr` or `column_list` of the following syntax.
	// PARTITION BY
	//
	//	{ [LINEAR] HASH(expr)
	//	| [LINEAR] KEY [ALGORITHM={1 | 2}] (column_list)
	//	| RANGE{(expr) | COLUMNS(column_list)}
	//	| LIST{(expr) | COLUMNS(column_list)} }.
	Expression string `protobuf:"bytes,3,opt,name=expression,proto3" json:"expression,omitempty"`
	// The value is the value of a table partition.
	// For MySQL, the value is for RANGE and LIST partition types,
	// - For a RANGE partition, it contains the value set in the partition's
	// VALUES LESS THAN clause, which can be either an integer or MAXVALUE.
	// - For a LIST partition, this column contains the values defined in the
	// partition's VALUES IN clause, which is a list of comma-separated integer
	// values.
	// - For others, it's an empty string.
	Value string `protobuf:"bytes,4,opt,name=value,proto3" json:"value,omitempty"`
	// The use_default is whether the users use the default partition, it stores
	// the different value for different database engines. For MySQL, it's [INT]
	// type, 0 means not use default partition, otherwise, it's equals to number
	// in syntax [SUB]PARTITION {number}.
	UseDefault string `protobuf:"bytes,5,opt,name=use_default,json=useDefault,proto3" json:"use_default,omitempty"`
	// The subpartitions is the list of subpartitions in a table partition.
	Subpartitions      []*TablePartitionMetadata    `protobuf:"bytes,6,rep,name=subpartitions,proto3" json:"subpartitions,omitempty"`
	Indexes            []*IndexMetadata             `protobuf:"bytes,7,rep,name=indexes,proto3" json:"indexes,omitempty"`
	CheckConstraints   []*CheckConstraintMetadata   `protobuf:"bytes,8,rep,name=check_constraints,json=checkConstraints,proto3" json:"check_constraints,omitempty"`
	ExcludeConstraints []*ExcludeConstraintMetadata `protobuf:"bytes,9,rep,name=exclude_constraints,json=excludeConstraints,proto3" json:"exclude_constraints,omitempty"`
	// contains filtered or unexported fields
}

TablePartitionMetadata is the metadata for table partitions.

func (*TablePartitionMetadata) Descriptor deprecated

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

Deprecated: Use TablePartitionMetadata.ProtoReflect.Descriptor instead.

func (*TablePartitionMetadata) GetCheckConstraints

func (x *TablePartitionMetadata) GetCheckConstraints() []*CheckConstraintMetadata

func (*TablePartitionMetadata) GetExcludeConstraints

func (x *TablePartitionMetadata) GetExcludeConstraints() []*ExcludeConstraintMetadata

func (*TablePartitionMetadata) GetExpression

func (x *TablePartitionMetadata) GetExpression() string

func (*TablePartitionMetadata) GetIndexes

func (x *TablePartitionMetadata) GetIndexes() []*IndexMetadata

func (*TablePartitionMetadata) GetName

func (x *TablePartitionMetadata) GetName() string

func (*TablePartitionMetadata) GetSubpartitions

func (x *TablePartitionMetadata) GetSubpartitions() []*TablePartitionMetadata

func (*TablePartitionMetadata) GetType

func (*TablePartitionMetadata) GetUseDefault

func (x *TablePartitionMetadata) GetUseDefault() string

func (*TablePartitionMetadata) GetValue

func (x *TablePartitionMetadata) GetValue() string

func (*TablePartitionMetadata) ProtoMessage

func (*TablePartitionMetadata) ProtoMessage()

func (*TablePartitionMetadata) ProtoReflect

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

func (*TablePartitionMetadata) Reset

func (x *TablePartitionMetadata) Reset()

func (*TablePartitionMetadata) String

func (x *TablePartitionMetadata) String() string

type TablePartitionMetadata_Type

type TablePartitionMetadata_Type int32

The type is the type of a table partition. Some database engines may not support all types. Only available for the following database engines now: MySQL: RANGE, RANGE COLUMNS, LIST, LIST COLUMNS, HASH, LINEAR HASH, KEY, LINEAR_KEY (https://dev.mysql.com/doc/refman/8.0/en/partitioning-types.html) TiDB: RANGE, RANGE COLUMNS, LIST, LIST COLUMNS, HASH, KEY PostgreSQL: RANGE, LIST, HASH (https://www.postgresql.org/docs/current/ddl-partitioning.html)

const (
	TablePartitionMetadata_TYPE_UNSPECIFIED TablePartitionMetadata_Type = 0
	TablePartitionMetadata_RANGE            TablePartitionMetadata_Type = 1
	TablePartitionMetadata_RANGE_COLUMNS    TablePartitionMetadata_Type = 2
	TablePartitionMetadata_LIST             TablePartitionMetadata_Type = 3
	TablePartitionMetadata_LIST_COLUMNS     TablePartitionMetadata_Type = 4
	TablePartitionMetadata_HASH             TablePartitionMetadata_Type = 5
	TablePartitionMetadata_LINEAR_HASH      TablePartitionMetadata_Type = 6
	TablePartitionMetadata_KEY              TablePartitionMetadata_Type = 7
	TablePartitionMetadata_LINEAR_KEY       TablePartitionMetadata_Type = 8
)

func (TablePartitionMetadata_Type) Descriptor

func (TablePartitionMetadata_Type) Enum

func (TablePartitionMetadata_Type) EnumDescriptor deprecated

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

Deprecated: Use TablePartitionMetadata_Type.Descriptor instead.

func (TablePartitionMetadata_Type) Number

func (TablePartitionMetadata_Type) String

func (TablePartitionMetadata_Type) Type

type TessellationConfig

type TessellationConfig struct {

	// The tessellation scheme, such as GEOMETRY_GRID or GEOGRAPHY_GRID.
	Scheme string `protobuf:"bytes,1,opt,name=scheme,proto3" json:"scheme,omitempty"`
	// The bounding box. (SQL Server specific).
	BoundingBox *BoundingBox `protobuf:"bytes,2,opt,name=bounding_box,json=boundingBox,proto3" json:"bounding_box,omitempty"`
	// The grid levels. (SQL Server specific).
	GridLevels []*GridLevel `protobuf:"bytes,3,rep,name=grid_levels,json=gridLevels,proto3" json:"grid_levels,omitempty"`
	// The number of cells per object. (SQL Server specific).
	CellsPerObject int32 `protobuf:"varint,4,opt,name=cells_per_object,json=cellsPerObject,proto3" json:"cells_per_object,omitempty"`
	// contains filtered or unexported fields
}

TessellationConfig is the tessellation configuration of a spatial index.

func (*TessellationConfig) Descriptor deprecated

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

Deprecated: Use TessellationConfig.ProtoReflect.Descriptor instead.

func (*TessellationConfig) GetBoundingBox

func (x *TessellationConfig) GetBoundingBox() *BoundingBox

func (*TessellationConfig) GetCellsPerObject

func (x *TessellationConfig) GetCellsPerObject() int32

func (*TessellationConfig) GetGridLevels

func (x *TessellationConfig) GetGridLevels() []*GridLevel

func (*TessellationConfig) GetScheme

func (x *TessellationConfig) GetScheme() string

func (*TessellationConfig) ProtoMessage

func (*TessellationConfig) ProtoMessage()

func (*TessellationConfig) ProtoReflect

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

func (*TessellationConfig) Reset

func (x *TessellationConfig) Reset()

func (*TessellationConfig) String

func (x *TessellationConfig) String() string

type TriggerMetadata

type TriggerMetadata struct {

	// The name of the trigger.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// The event that triggers this action, such as INSERT, UPDATE, DELETE, or TRUNCATE.
	Event string `protobuf:"bytes,3,opt,name=event,proto3" json:"event,omitempty"`
	// The timing of when the trigger fires, such as BEFORE or AFTER.
	Timing string `protobuf:"bytes,4,opt,name=timing,proto3" json:"timing,omitempty"`
	// The body of the trigger.
	Body                string `protobuf:"bytes,5,opt,name=body,proto3" json:"body,omitempty"`
	SqlMode             string `protobuf:"bytes,6,opt,name=sql_mode,json=sqlMode,proto3" json:"sql_mode,omitempty"`
	CharacterSetClient  string `protobuf:"bytes,7,opt,name=character_set_client,json=characterSetClient,proto3" json:"character_set_client,omitempty"`
	CollationConnection string `protobuf:"bytes,8,opt,name=collation_connection,json=collationConnection,proto3" json:"collation_connection,omitempty"`
	Comment             string `protobuf:"bytes,9,opt,name=comment,proto3" json:"comment,omitempty"`
	SkipDump            bool   `protobuf:"varint,10,opt,name=skip_dump,json=skipDump,proto3" json:"skip_dump,omitempty"`
	// contains filtered or unexported fields
}

func (*TriggerMetadata) Descriptor deprecated

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

Deprecated: Use TriggerMetadata.ProtoReflect.Descriptor instead.

func (*TriggerMetadata) GetBody

func (x *TriggerMetadata) GetBody() string

func (*TriggerMetadata) GetCharacterSetClient

func (x *TriggerMetadata) GetCharacterSetClient() string

func (*TriggerMetadata) GetCollationConnection

func (x *TriggerMetadata) GetCollationConnection() string

func (*TriggerMetadata) GetComment

func (x *TriggerMetadata) GetComment() string

func (*TriggerMetadata) GetEvent

func (x *TriggerMetadata) GetEvent() string

func (*TriggerMetadata) GetName

func (x *TriggerMetadata) GetName() string

func (*TriggerMetadata) GetSkipDump

func (x *TriggerMetadata) GetSkipDump() bool

func (*TriggerMetadata) GetSqlMode

func (x *TriggerMetadata) GetSqlMode() string

func (*TriggerMetadata) GetTiming

func (x *TriggerMetadata) GetTiming() string

func (*TriggerMetadata) ProtoMessage

func (*TriggerMetadata) ProtoMessage()

func (*TriggerMetadata) ProtoReflect

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

func (*TriggerMetadata) Reset

func (x *TriggerMetadata) Reset()

func (*TriggerMetadata) String

func (x *TriggerMetadata) String() string

type UserProfile

type UserProfile struct {
	LastLoginTime          *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=last_login_time,json=lastLoginTime,proto3" json:"last_login_time,omitempty"`
	LastChangePasswordTime *timestamppb.Timestamp `` /* 131-byte string literal not displayed */
	// The BCP-47 tag of the language the user reads the UI in, so server-side
	// prose — the Explain SQL answer — comes back in the same language. Empty
	// means never chosen, which reads as the default language.
	Language string `protobuf:"bytes,4,opt,name=language,proto3" json:"language,omitempty"`
	// contains filtered or unexported fields
}

func (*UserProfile) Descriptor deprecated

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

Deprecated: Use UserProfile.ProtoReflect.Descriptor instead.

func (*UserProfile) GetLanguage

func (x *UserProfile) GetLanguage() string

func (*UserProfile) GetLastChangePasswordTime

func (x *UserProfile) GetLastChangePasswordTime() *timestamppb.Timestamp

func (*UserProfile) GetLastLoginTime

func (x *UserProfile) GetLastLoginTime() *timestamppb.Timestamp

func (*UserProfile) ProtoMessage

func (*UserProfile) ProtoMessage()

func (*UserProfile) ProtoReflect

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

func (*UserProfile) Reset

func (x *UserProfile) Reset()

func (*UserProfile) String

func (x *UserProfile) String() string

type ViewMetadata

type ViewMetadata struct {

	// The name of the view.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// The definition is the definition of a view.
	Definition string `protobuf:"bytes,2,opt,name=definition,proto3" json:"definition,omitempty"`
	// The comment is the comment of a view.
	Comment string `protobuf:"bytes,3,opt,name=comment,proto3" json:"comment,omitempty"`
	// The list of dependency columns of a view.
	DependencyColumns []*DependencyColumn `protobuf:"bytes,4,rep,name=dependency_columns,json=dependencyColumns,proto3" json:"dependency_columns,omitempty"`
	// The ordered list of columns in the view.
	Columns []*ColumnMetadata `protobuf:"bytes,5,rep,name=columns,proto3" json:"columns,omitempty"`
	// The list of triggers in the view.
	Triggers []*TriggerMetadata `protobuf:"bytes,6,rep,name=triggers,proto3" json:"triggers,omitempty"`
	SkipDump bool               `protobuf:"varint,7,opt,name=skip_dump,json=skipDump,proto3" json:"skip_dump,omitempty"`
	// The rules is the list of rules in a view (PostgreSQL specific).
	Rules []*RuleMetadata `protobuf:"bytes,8,rep,name=rules,proto3" json:"rules,omitempty"`
	// contains filtered or unexported fields
}

ViewMetadata is the metadata for views.

func (*ViewMetadata) Descriptor deprecated

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

Deprecated: Use ViewMetadata.ProtoReflect.Descriptor instead.

func (*ViewMetadata) GetColumns

func (x *ViewMetadata) GetColumns() []*ColumnMetadata

func (*ViewMetadata) GetComment

func (x *ViewMetadata) GetComment() string

func (*ViewMetadata) GetDefinition

func (x *ViewMetadata) GetDefinition() string

func (*ViewMetadata) GetDependencyColumns

func (x *ViewMetadata) GetDependencyColumns() []*DependencyColumn

func (*ViewMetadata) GetName

func (x *ViewMetadata) GetName() string

func (*ViewMetadata) GetRules

func (x *ViewMetadata) GetRules() []*RuleMetadata

func (*ViewMetadata) GetSkipDump

func (x *ViewMetadata) GetSkipDump() bool

func (*ViewMetadata) GetTriggers

func (x *ViewMetadata) GetTriggers() []*TriggerMetadata

func (*ViewMetadata) ProtoMessage

func (*ViewMetadata) ProtoMessage()

func (*ViewMetadata) ProtoReflect

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

func (*ViewMetadata) Reset

func (x *ViewMetadata) Reset()

func (*ViewMetadata) String

func (x *ViewMetadata) String() string

type WorkspaceProfileSetting

type WorkspaceProfileSetting struct {

	// The external URL is used for sso authentication callback.
	ExternalUrl string `protobuf:"bytes,1,opt,name=external_url,json=externalUrl,proto3" json:"external_url,omitempty"`
	// Disallow self-service signup, users can only be invited by the owner.
	DisallowSignup bool `protobuf:"varint,2,opt,name=disallow_signup,json=disallowSignup,proto3" json:"disallow_signup,omitempty"`
	// The workspace domain, e.g. example.com.
	Domains []string `protobuf:"bytes,9,rep,name=domains,proto3" json:"domains,omitempty"`
	// Only user and group from the domains can be created and login.
	EnforceIdentityDomain bool `` /* 128-byte string literal not displayed */
	// Whether to disallow password signin. (Except workspace admins)
	DisallowPasswordSignin bool `` /* 131-byte string literal not displayed */
	// openlineage_retention_days bounds how long persisted OpenLineage runs are
	// kept. Zero (the default) keeps them forever: they are audit data.
	OpenlineageRetentionDays int32 `` /* 137-byte string literal not displayed */
	// The LLM provider profiles ExplainSQL may use, as profile resource names.
	// Empty means every enabled profile is allowed.
	AllowedLlmProviderProfiles []string `` /* 144-byte string literal not displayed */
	// Whether the MCP endpoint and its OAuth 2.1 authorization server are served.
	// Off by default: the surface is new, and enabling it requires a configured
	// external_url, which is where its issuer and resource identifiers come from.
	McpEnabled bool `protobuf:"varint,16,opt,name=mcp_enabled,json=mcpEnabled,proto3" json:"mcp_enabled,omitempty"`
	// The identity providers whose email claim may stand in for a subject, by the
	// resource id that idps/{idp} names. The settings page picks them from
	// IdentityProviderService.ListIdentityProviders.
	//
	// For those providers — and only those, because one workspace can configure
	// several, trusted to different degrees — an SSO login may be identified by the
	// address claim instead of a stable subject, and may make an existing account
	// with that address reachable through the provider. An account that had no
	// provider binding is adopted by doing so: its password is replaced with a
	// random one.
	//
	// Empty (the default) turns the feature off everywhere. The address claim is
	// mutable, so listing a provider asserts that it verifies addresses — an
	// unverified claim lets whoever can set it sign in as the account it names —
	// and that its configuration, which only an administrator can write, is
	// trusted. For a listed provider, field_mapping.subject becomes optional and
	// falls back to the identifier claim.
	SsoEmailIdentityIdps []string `` /* 126-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*WorkspaceProfileSetting) Descriptor deprecated

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

Deprecated: Use WorkspaceProfileSetting.ProtoReflect.Descriptor instead.

func (*WorkspaceProfileSetting) GetAllowedLlmProviderProfiles

func (x *WorkspaceProfileSetting) GetAllowedLlmProviderProfiles() []string

func (*WorkspaceProfileSetting) GetDisallowPasswordSignin

func (x *WorkspaceProfileSetting) GetDisallowPasswordSignin() bool

func (*WorkspaceProfileSetting) GetDisallowSignup

func (x *WorkspaceProfileSetting) GetDisallowSignup() bool

func (*WorkspaceProfileSetting) GetDomains

func (x *WorkspaceProfileSetting) GetDomains() []string

func (*WorkspaceProfileSetting) GetEnforceIdentityDomain

func (x *WorkspaceProfileSetting) GetEnforceIdentityDomain() bool

func (*WorkspaceProfileSetting) GetExternalUrl

func (x *WorkspaceProfileSetting) GetExternalUrl() string

func (*WorkspaceProfileSetting) GetMcpEnabled

func (x *WorkspaceProfileSetting) GetMcpEnabled() bool

func (*WorkspaceProfileSetting) GetOpenlineageRetentionDays

func (x *WorkspaceProfileSetting) GetOpenlineageRetentionDays() int32

func (*WorkspaceProfileSetting) GetSsoEmailIdentityIdps

func (x *WorkspaceProfileSetting) GetSsoEmailIdentityIdps() []string

func (*WorkspaceProfileSetting) ProtoMessage

func (*WorkspaceProfileSetting) ProtoMessage()

func (*WorkspaceProfileSetting) ProtoReflect

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

func (*WorkspaceProfileSetting) Reset

func (x *WorkspaceProfileSetting) Reset()

func (*WorkspaceProfileSetting) String

func (x *WorkspaceProfileSetting) String() string

Jump to

Keyboard shortcuts

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