diff --git a/README.md b/README.md index f9cc226..6595f92 100644 --- a/README.md +++ b/README.md @@ -16,7 +16,7 @@ MQL queries and Prism entity metadata. ## Installation Use Go 1.23 or newer and a Polypheny server with a compatible Prism 2.x -interface. The driver uses the released Prism 2.2 Go bindings as a Go module. +interface. The driver includes the generated Go bindings from the Prism 2.2 release. Document collection metadata requires server-side Prism 2.2 support. ```sh @@ -80,6 +80,8 @@ Import the driver as `polypheny` instead of the blank import and use queries an existing `employees` collection or table in the default namespace, then lists the entities in `public`. Call `SearchEntities` with a pattern pointer to filter the results. +The response types are available in +`github.com/polypheny/Polypheny-Go-Driver/prism`. ```go conn, err := db.Conn(ctx) @@ -121,6 +123,13 @@ that supports Prism 2.2. The tests create and remove their own fixtures. POLYPHENY_TEST_DSN='localhost:20590,pa:' go test -count=1 -run '^TestIntegration' ./... ``` +## Updating the Prism bindings + +When updating Prism, set the version and SHA-256 of its official Go release +archive in `scripts/update-prism-bindings.sh`, run the script, and commit the +generated `prism/` files. Run the script with `--check` to compare the tracked +files with the verified archive. Builds use the tracked files directly. + ## Resources - [Go package documentation](https://pkg.go.dev/github.com/polypheny/Polypheny-Go-Driver) diff --git a/conn.go b/conn.go index c92160e..9761fb9 100644 --- a/conn.go +++ b/conn.go @@ -11,7 +11,7 @@ import ( "sync/atomic" "time" - "github.com/polypheny/Polypheny-Prism-API/go/v2/prism" + "github.com/polypheny/Polypheny-Go-Driver/prism" "google.golang.org/protobuf/proto" ) diff --git a/connector.go b/connector.go index d3658ec..8072bed 100644 --- a/connector.go +++ b/connector.go @@ -7,7 +7,7 @@ import ( "fmt" "net" - "github.com/polypheny/Polypheny-Prism-API/go/v2/prism" + "github.com/polypheny/Polypheny-Go-Driver/prism" ) // Connector implements driver.Connector. diff --git a/connextra.go b/connextra.go index 02f5fdc..edcb2a8 100644 --- a/connextra.go +++ b/connextra.go @@ -3,7 +3,7 @@ package polypheny import ( "context" - "github.com/polypheny/Polypheny-Prism-API/go/v2/prism" + "github.com/polypheny/Polypheny-Go-Driver/prism" ) // QueryMongoContext executes an MQL query and returns all documents in its diff --git a/const.go b/const.go index 25f9027..e192318 100644 --- a/const.go +++ b/const.go @@ -1,7 +1,7 @@ package polypheny import ( - prism "github.com/polypheny/Polypheny-Prism-API/go/v2/prism" + prism "github.com/polypheny/Polypheny-Go-Driver/prism" ) // Connection/API versions diff --git a/go.mod b/go.mod index 4c29361..6da56fd 100644 --- a/go.mod +++ b/go.mod @@ -2,7 +2,4 @@ module github.com/polypheny/Polypheny-Go-Driver go 1.23 -require ( - github.com/polypheny/Polypheny-Prism-API/go/v2 v2.0.0-20261115170025-4b1e8393731c - google.golang.org/protobuf v1.36.11 -) +require google.golang.org/protobuf v1.36.11 diff --git a/go.sum b/go.sum index 5293753..296be18 100644 --- a/go.sum +++ b/go.sum @@ -1,6 +1,4 @@ github.com/google/go-cmp v0.7.0 h1:wk8382ETsv4JYUZwIsn6YpYiWiBsYLSJiTsyBybVuN8= github.com/google/go-cmp v0.7.0/go.mod h1:pXiqmnSA92OHEEa9HXL2W4E7lf9JzCmGVUdgjX3N/iU= -github.com/polypheny/Polypheny-Prism-API/go/v2 v2.0.0-20261115170025-4b1e8393731c h1:e9zEGrzstNqrGMCyG0gWhQFWxNjrBa37G7rBkHyjMjA= -github.com/polypheny/Polypheny-Prism-API/go/v2 v2.0.0-20261115170025-4b1e8393731c/go.mod h1:3l8pU9TK/UaUXUVdPX4QI1IsmeQlRWCOL6Nodor5dMc= google.golang.org/protobuf v1.36.11 h1:fV6ZwhNocDyBLK0dj+fg8ektcVegBBuEolpbTQyBNVE= google.golang.org/protobuf v1.36.11/go.mod h1:HTf+CrKn2C3g5S8VImy6tdcUvCska2kB7j23XfzDpco= diff --git a/metadata.go b/metadata.go index 6af79a7..18ee58c 100644 --- a/metadata.go +++ b/metadata.go @@ -3,7 +3,7 @@ package polypheny import ( "context" - "github.com/polypheny/Polypheny-Prism-API/go/v2/prism" + "github.com/polypheny/Polypheny-Go-Driver/prism" ) // SearchEntities returns metadata about the entities in namespace. A nil pattern diff --git a/preparedstatement.go b/preparedstatement.go index 5d3dddb..00163f9 100644 --- a/preparedstatement.go +++ b/preparedstatement.go @@ -7,7 +7,7 @@ import ( "sync/atomic" "time" - "github.com/polypheny/Polypheny-Prism-API/go/v2/prism" + "github.com/polypheny/Polypheny-Go-Driver/prism" ) // PreparedStatement implements driver.Stmt and its context-aware extensions. diff --git a/prism/connection_requests.pb.go b/prism/connection_requests.pb.go new file mode 100644 index 0000000..154ee57 --- /dev/null +++ b/prism/connection_requests.pb.go @@ -0,0 +1,483 @@ +// +//Messages related to establishing and maintaining a connection. + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.33.0 +// protoc v5.26.0 +// source: org/polypheny/prism/connection_requests.proto + +package prism + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// +//The ConnectionRequest message is designed to initiate a connection request from the client to the server. +//It contains information regarding the API version, client identity, and optional credentials, as well as properties associated with the connection. +type ConnectionRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Specifies the major version of the API that the client is using. + MajorApiVersion int32 `protobuf:"varint,1,opt,name=major_api_version,json=majorApiVersion,proto3" json:"major_api_version,omitempty"` + // Represents the minor version of the API in use. + MinorApiVersion int32 `protobuf:"varint,2,opt,name=minor_api_version,json=minorApiVersion,proto3" json:"minor_api_version,omitempty"` + // (Optional) The username for authentication when establishing the connection. + Username *string `protobuf:"bytes,5,opt,name=username,proto3,oneof" json:"username,omitempty"` + // (Optional) The password associated with the specified username for authentication purposes. + Password *string `protobuf:"bytes,6,opt,name=password,proto3,oneof" json:"password,omitempty"` + // (Optional) Contains specific properties related to the connection, such as timeout settings or database preferences. + ConnectionProperties *ConnectionProperties `protobuf:"bytes,4,opt,name=connection_properties,json=connectionProperties,proto3,oneof" json:"connection_properties,omitempty"` +} + +func (x *ConnectionRequest) Reset() { + *x = ConnectionRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_org_polypheny_prism_connection_requests_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ConnectionRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ConnectionRequest) ProtoMessage() {} + +func (x *ConnectionRequest) ProtoReflect() protoreflect.Message { + mi := &file_org_polypheny_prism_connection_requests_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ConnectionRequest.ProtoReflect.Descriptor instead. +func (*ConnectionRequest) Descriptor() ([]byte, []int) { + return file_org_polypheny_prism_connection_requests_proto_rawDescGZIP(), []int{0} +} + +func (x *ConnectionRequest) GetMajorApiVersion() int32 { + if x != nil { + return x.MajorApiVersion + } + return 0 +} + +func (x *ConnectionRequest) GetMinorApiVersion() int32 { + if x != nil { + return x.MinorApiVersion + } + return 0 +} + +func (x *ConnectionRequest) GetUsername() string { + if x != nil && x.Username != nil { + return *x.Username + } + return "" +} + +func (x *ConnectionRequest) GetPassword() string { + if x != nil && x.Password != nil { + return *x.Password + } + return "" +} + +func (x *ConnectionRequest) GetConnectionProperties() *ConnectionProperties { + if x != nil { + return x.ConnectionProperties + } + return nil +} + +// +//The ConnectionProperties message defines specific properties related to the client-server connection. +//It allows clients to specify certain behaviors and settings for the connection, such as transaction auto-commit status and target namespace preference. +type ConnectionPropertiesUpdateRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // + //Specifies the new settings for the connection. + //Contains properties such as transaction auto-commit status and target namespace preference. + ConnectionProperties *ConnectionProperties `protobuf:"bytes,4,opt,name=connection_properties,json=connectionProperties,proto3" json:"connection_properties,omitempty"` +} + +func (x *ConnectionPropertiesUpdateRequest) Reset() { + *x = ConnectionPropertiesUpdateRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_org_polypheny_prism_connection_requests_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ConnectionPropertiesUpdateRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ConnectionPropertiesUpdateRequest) ProtoMessage() {} + +func (x *ConnectionPropertiesUpdateRequest) ProtoReflect() protoreflect.Message { + mi := &file_org_polypheny_prism_connection_requests_proto_msgTypes[1] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ConnectionPropertiesUpdateRequest.ProtoReflect.Descriptor instead. +func (*ConnectionPropertiesUpdateRequest) Descriptor() ([]byte, []int) { + return file_org_polypheny_prism_connection_requests_proto_rawDescGZIP(), []int{1} +} + +func (x *ConnectionPropertiesUpdateRequest) GetConnectionProperties() *ConnectionProperties { + if x != nil { + return x.ConnectionProperties + } + return nil +} + +// +//The ConnectionProperties message defines specific properties related to the client-server connection. +//It allows clients to specify certain behaviors and settings for the connection, such as transaction auto-commit status and target namespace preference. +type ConnectionProperties struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // (Optional) Indicates whether transactions are automatically committed upon execution or require manual commitment. + IsAutoCommit *bool `protobuf:"varint,1,opt,name=is_auto_commit,json=isAutoCommit,proto3,oneof" json:"is_auto_commit,omitempty"` + // (Optional) Specifies the preferred namespace within the database or system that the client wants to interact with. + NamespaceName *string `protobuf:"bytes,2,opt,name=namespace_name,json=namespaceName,proto3,oneof" json:"namespace_name,omitempty"` +} + +func (x *ConnectionProperties) Reset() { + *x = ConnectionProperties{} + if protoimpl.UnsafeEnabled { + mi := &file_org_polypheny_prism_connection_requests_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ConnectionProperties) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ConnectionProperties) ProtoMessage() {} + +func (x *ConnectionProperties) ProtoReflect() protoreflect.Message { + mi := &file_org_polypheny_prism_connection_requests_proto_msgTypes[2] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ConnectionProperties.ProtoReflect.Descriptor instead. +func (*ConnectionProperties) Descriptor() ([]byte, []int) { + return file_org_polypheny_prism_connection_requests_proto_rawDescGZIP(), []int{2} +} + +func (x *ConnectionProperties) GetIsAutoCommit() bool { + if x != nil && x.IsAutoCommit != nil { + return *x.IsAutoCommit + } + return false +} + +func (x *ConnectionProperties) GetNamespaceName() string { + if x != nil && x.NamespaceName != nil { + return *x.NamespaceName + } + return "" +} + +// +//The ConnectionCheckRequest message in combination with the corresponding remote procedure call is utilized to verify the current state of an established connection. +//It acts as a simple “ping” request, enabling clients to ascertain if the server is responsive and if the connection is still valid. +//This message does not contain any fields. It simply acts as an indicator to prompt the server for a ConnectionCheckResponse. +type DisconnectRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *DisconnectRequest) Reset() { + *x = DisconnectRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_org_polypheny_prism_connection_requests_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *DisconnectRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*DisconnectRequest) ProtoMessage() {} + +func (x *DisconnectRequest) ProtoReflect() protoreflect.Message { + mi := &file_org_polypheny_prism_connection_requests_proto_msgTypes[3] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use DisconnectRequest.ProtoReflect.Descriptor instead. +func (*DisconnectRequest) Descriptor() ([]byte, []int) { + return file_org_polypheny_prism_connection_requests_proto_rawDescGZIP(), []int{3} +} + +// +//The ConnectionCheckRequest message in combination with the corresponding remote procedure call is utilized to verify the current state of an established connection. +//It acts as a simple “ping” request, enabling clients to ascertain if the server is responsive and if the connection is still valid. +type ConnectionCheckRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *ConnectionCheckRequest) Reset() { + *x = ConnectionCheckRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_org_polypheny_prism_connection_requests_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ConnectionCheckRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ConnectionCheckRequest) ProtoMessage() {} + +func (x *ConnectionCheckRequest) ProtoReflect() protoreflect.Message { + mi := &file_org_polypheny_prism_connection_requests_proto_msgTypes[4] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ConnectionCheckRequest.ProtoReflect.Descriptor instead. +func (*ConnectionCheckRequest) Descriptor() ([]byte, []int) { + return file_org_polypheny_prism_connection_requests_proto_rawDescGZIP(), []int{4} +} + +var File_org_polypheny_prism_connection_requests_proto protoreflect.FileDescriptor + +var file_org_polypheny_prism_connection_requests_proto_rawDesc = []byte{ + 0x0a, 0x2d, 0x6f, 0x72, 0x67, 0x2f, 0x70, 0x6f, 0x6c, 0x79, 0x70, 0x68, 0x65, 0x6e, 0x79, 0x2f, + 0x70, 0x72, 0x69, 0x73, 0x6d, 0x2f, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, + 0x5f, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, + 0x13, 0x6f, 0x72, 0x67, 0x2e, 0x70, 0x6f, 0x6c, 0x79, 0x70, 0x68, 0x65, 0x6e, 0x79, 0x2e, 0x70, + 0x72, 0x69, 0x73, 0x6d, 0x22, 0xc6, 0x02, 0x0a, 0x11, 0x43, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, + 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x2a, 0x0a, 0x11, 0x6d, 0x61, + 0x6a, 0x6f, 0x72, 0x5f, 0x61, 0x70, 0x69, 0x5f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0f, 0x6d, 0x61, 0x6a, 0x6f, 0x72, 0x41, 0x70, 0x69, 0x56, + 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x2a, 0x0a, 0x11, 0x6d, 0x69, 0x6e, 0x6f, 0x72, 0x5f, + 0x61, 0x70, 0x69, 0x5f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, + 0x05, 0x52, 0x0f, 0x6d, 0x69, 0x6e, 0x6f, 0x72, 0x41, 0x70, 0x69, 0x56, 0x65, 0x72, 0x73, 0x69, + 0x6f, 0x6e, 0x12, 0x1f, 0x0a, 0x08, 0x75, 0x73, 0x65, 0x72, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x05, + 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x08, 0x75, 0x73, 0x65, 0x72, 0x6e, 0x61, 0x6d, 0x65, + 0x88, 0x01, 0x01, 0x12, 0x1f, 0x0a, 0x08, 0x70, 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x18, + 0x06, 0x20, 0x01, 0x28, 0x09, 0x48, 0x01, 0x52, 0x08, 0x70, 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, + 0x64, 0x88, 0x01, 0x01, 0x12, 0x63, 0x0a, 0x15, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69, + 0x6f, 0x6e, 0x5f, 0x70, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x69, 0x65, 0x73, 0x18, 0x04, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x29, 0x2e, 0x6f, 0x72, 0x67, 0x2e, 0x70, 0x6f, 0x6c, 0x79, 0x70, 0x68, + 0x65, 0x6e, 0x79, 0x2e, 0x70, 0x72, 0x69, 0x73, 0x6d, 0x2e, 0x43, 0x6f, 0x6e, 0x6e, 0x65, 0x63, + 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x69, 0x65, 0x73, 0x48, 0x02, + 0x52, 0x14, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x72, 0x6f, 0x70, + 0x65, 0x72, 0x74, 0x69, 0x65, 0x73, 0x88, 0x01, 0x01, 0x42, 0x0b, 0x0a, 0x09, 0x5f, 0x75, 0x73, + 0x65, 0x72, 0x6e, 0x61, 0x6d, 0x65, 0x42, 0x0b, 0x0a, 0x09, 0x5f, 0x70, 0x61, 0x73, 0x73, 0x77, + 0x6f, 0x72, 0x64, 0x42, 0x18, 0x0a, 0x16, 0x5f, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69, + 0x6f, 0x6e, 0x5f, 0x70, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x69, 0x65, 0x73, 0x22, 0x83, 0x01, + 0x0a, 0x21, 0x43, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x72, 0x6f, 0x70, + 0x65, 0x72, 0x74, 0x69, 0x65, 0x73, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x12, 0x5e, 0x0a, 0x15, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69, 0x6f, + 0x6e, 0x5f, 0x70, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x69, 0x65, 0x73, 0x18, 0x04, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x29, 0x2e, 0x6f, 0x72, 0x67, 0x2e, 0x70, 0x6f, 0x6c, 0x79, 0x70, 0x68, 0x65, + 0x6e, 0x79, 0x2e, 0x70, 0x72, 0x69, 0x73, 0x6d, 0x2e, 0x43, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, + 0x69, 0x6f, 0x6e, 0x50, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x69, 0x65, 0x73, 0x52, 0x14, 0x63, + 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, + 0x69, 0x65, 0x73, 0x22, 0x93, 0x01, 0x0a, 0x14, 0x43, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69, + 0x6f, 0x6e, 0x50, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x69, 0x65, 0x73, 0x12, 0x29, 0x0a, 0x0e, + 0x69, 0x73, 0x5f, 0x61, 0x75, 0x74, 0x6f, 0x5f, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x08, 0x48, 0x00, 0x52, 0x0c, 0x69, 0x73, 0x41, 0x75, 0x74, 0x6f, 0x43, 0x6f, + 0x6d, 0x6d, 0x69, 0x74, 0x88, 0x01, 0x01, 0x12, 0x2a, 0x0a, 0x0e, 0x6e, 0x61, 0x6d, 0x65, 0x73, + 0x70, 0x61, 0x63, 0x65, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x48, + 0x01, 0x52, 0x0d, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x4e, 0x61, 0x6d, 0x65, + 0x88, 0x01, 0x01, 0x42, 0x11, 0x0a, 0x0f, 0x5f, 0x69, 0x73, 0x5f, 0x61, 0x75, 0x74, 0x6f, 0x5f, + 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x42, 0x11, 0x0a, 0x0f, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x73, + 0x70, 0x61, 0x63, 0x65, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x13, 0x0a, 0x11, 0x44, 0x69, 0x73, + 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x18, + 0x0a, 0x16, 0x43, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x68, 0x65, 0x63, + 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x42, 0x58, 0x0a, 0x13, 0x6f, 0x72, 0x67, 0x2e, + 0x70, 0x6f, 0x6c, 0x79, 0x70, 0x68, 0x65, 0x6e, 0x79, 0x2e, 0x70, 0x72, 0x69, 0x73, 0x6d, 0x42, + 0x12, 0x43, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x73, 0x50, 0x01, 0x5a, 0x19, 0x6f, 0x72, 0x67, 0x2f, 0x70, 0x6f, 0x6c, 0x79, 0x70, + 0x68, 0x65, 0x6e, 0x79, 0x2f, 0x70, 0x72, 0x69, 0x73, 0x6d, 0x3b, 0x70, 0x72, 0x69, 0x73, 0x6d, + 0xaa, 0x02, 0x0f, 0x50, 0x6f, 0x6c, 0x79, 0x70, 0x68, 0x65, 0x6e, 0x79, 0x2e, 0x50, 0x72, 0x69, + 0x73, 0x6d, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_org_polypheny_prism_connection_requests_proto_rawDescOnce sync.Once + file_org_polypheny_prism_connection_requests_proto_rawDescData = file_org_polypheny_prism_connection_requests_proto_rawDesc +) + +func file_org_polypheny_prism_connection_requests_proto_rawDescGZIP() []byte { + file_org_polypheny_prism_connection_requests_proto_rawDescOnce.Do(func() { + file_org_polypheny_prism_connection_requests_proto_rawDescData = protoimpl.X.CompressGZIP(file_org_polypheny_prism_connection_requests_proto_rawDescData) + }) + return file_org_polypheny_prism_connection_requests_proto_rawDescData +} + +var file_org_polypheny_prism_connection_requests_proto_msgTypes = make([]protoimpl.MessageInfo, 5) +var file_org_polypheny_prism_connection_requests_proto_goTypes = []interface{}{ + (*ConnectionRequest)(nil), // 0: org.polypheny.prism.ConnectionRequest + (*ConnectionPropertiesUpdateRequest)(nil), // 1: org.polypheny.prism.ConnectionPropertiesUpdateRequest + (*ConnectionProperties)(nil), // 2: org.polypheny.prism.ConnectionProperties + (*DisconnectRequest)(nil), // 3: org.polypheny.prism.DisconnectRequest + (*ConnectionCheckRequest)(nil), // 4: org.polypheny.prism.ConnectionCheckRequest +} +var file_org_polypheny_prism_connection_requests_proto_depIdxs = []int32{ + 2, // 0: org.polypheny.prism.ConnectionRequest.connection_properties:type_name -> org.polypheny.prism.ConnectionProperties + 2, // 1: org.polypheny.prism.ConnectionPropertiesUpdateRequest.connection_properties:type_name -> org.polypheny.prism.ConnectionProperties + 2, // [2:2] is the sub-list for method output_type + 2, // [2:2] is the sub-list for method input_type + 2, // [2:2] is the sub-list for extension type_name + 2, // [2:2] is the sub-list for extension extendee + 0, // [0:2] is the sub-list for field type_name +} + +func init() { file_org_polypheny_prism_connection_requests_proto_init() } +func file_org_polypheny_prism_connection_requests_proto_init() { + if File_org_polypheny_prism_connection_requests_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_org_polypheny_prism_connection_requests_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ConnectionRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_org_polypheny_prism_connection_requests_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ConnectionPropertiesUpdateRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_org_polypheny_prism_connection_requests_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ConnectionProperties); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_org_polypheny_prism_connection_requests_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DisconnectRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_org_polypheny_prism_connection_requests_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ConnectionCheckRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + file_org_polypheny_prism_connection_requests_proto_msgTypes[0].OneofWrappers = []interface{}{} + file_org_polypheny_prism_connection_requests_proto_msgTypes[2].OneofWrappers = []interface{}{} + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_org_polypheny_prism_connection_requests_proto_rawDesc, + NumEnums: 0, + NumMessages: 5, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_org_polypheny_prism_connection_requests_proto_goTypes, + DependencyIndexes: file_org_polypheny_prism_connection_requests_proto_depIdxs, + MessageInfos: file_org_polypheny_prism_connection_requests_proto_msgTypes, + }.Build() + File_org_polypheny_prism_connection_requests_proto = out.File + file_org_polypheny_prism_connection_requests_proto_rawDesc = nil + file_org_polypheny_prism_connection_requests_proto_goTypes = nil + file_org_polypheny_prism_connection_requests_proto_depIdxs = nil +} diff --git a/prism/connection_responses.pb.go b/prism/connection_responses.pb.go new file mode 100644 index 0000000..d5c6a58 --- /dev/null +++ b/prism/connection_responses.pb.go @@ -0,0 +1,355 @@ +// +//Messages related to establishing and maintaining a connection. + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.33.0 +// protoc v5.26.0 +// source: org/polypheny/prism/connection_responses.proto + +package prism + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// +//The ConnectionResponse message is sent by the server in response to a ConnectionRequest from the client. +//It provides feedback regarding the compatibility of the client’s API version with the server, as well as other important information about the connection. +type ConnectionResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // + //Indicates whether the client’s API version is compatible with the server. + //If true, the connection can proceed; if false, the client should consider updating or downgrading its API version. + IsCompatible bool `protobuf:"varint,1,opt,name=is_compatible,json=isCompatible,proto3" json:"is_compatible,omitempty"` + // The major version number of the server’s API. Helps the client ascertain the API level of the server. + MajorApiVersion int32 `protobuf:"varint,2,opt,name=major_api_version,json=majorApiVersion,proto3" json:"major_api_version,omitempty"` + // The minor version number of the server’s API. Provides finer granularity about the server’s capabilities. + MinorApiVersion int32 `protobuf:"varint,3,opt,name=minor_api_version,json=minorApiVersion,proto3" json:"minor_api_version,omitempty"` +} + +func (x *ConnectionResponse) Reset() { + *x = ConnectionResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_org_polypheny_prism_connection_responses_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ConnectionResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ConnectionResponse) ProtoMessage() {} + +func (x *ConnectionResponse) ProtoReflect() protoreflect.Message { + mi := &file_org_polypheny_prism_connection_responses_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ConnectionResponse.ProtoReflect.Descriptor instead. +func (*ConnectionResponse) Descriptor() ([]byte, []int) { + return file_org_polypheny_prism_connection_responses_proto_rawDescGZIP(), []int{0} +} + +func (x *ConnectionResponse) GetIsCompatible() bool { + if x != nil { + return x.IsCompatible + } + return false +} + +func (x *ConnectionResponse) GetMajorApiVersion() int32 { + if x != nil { + return x.MajorApiVersion + } + return 0 +} + +func (x *ConnectionResponse) GetMinorApiVersion() int32 { + if x != nil { + return x.MinorApiVersion + } + return 0 +} + +// +//The DisconnectionResponse message is sent by the server in response to a DisconnectRequest from the client. +//It provides an acknowledgment that the disconnection process has been acknowledged and processed by the server. +//This message does not contain any fields. It simply serves as an acknowledgment of the disconnection process. +type DisconnectResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *DisconnectResponse) Reset() { + *x = DisconnectResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_org_polypheny_prism_connection_responses_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *DisconnectResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*DisconnectResponse) ProtoMessage() {} + +func (x *DisconnectResponse) ProtoReflect() protoreflect.Message { + mi := &file_org_polypheny_prism_connection_responses_proto_msgTypes[1] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use DisconnectResponse.ProtoReflect.Descriptor instead. +func (*DisconnectResponse) Descriptor() ([]byte, []int) { + return file_org_polypheny_prism_connection_responses_proto_rawDescGZIP(), []int{1} +} + +// +//The ConnectionCheckResponse message is sent by the server in response to a ConnectionCheckRequest from the client. +//It acts as an affirmation that the server is responsive, and the connection is still valid. +//This message does not contain any fields. +//Its receipt by the client is an indicator of the server’s responsiveness and the validity of the connection. +type ConnectionCheckResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *ConnectionCheckResponse) Reset() { + *x = ConnectionCheckResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_org_polypheny_prism_connection_responses_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ConnectionCheckResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ConnectionCheckResponse) ProtoMessage() {} + +func (x *ConnectionCheckResponse) ProtoReflect() protoreflect.Message { + mi := &file_org_polypheny_prism_connection_responses_proto_msgTypes[2] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ConnectionCheckResponse.ProtoReflect.Descriptor instead. +func (*ConnectionCheckResponse) Descriptor() ([]byte, []int) { + return file_org_polypheny_prism_connection_responses_proto_rawDescGZIP(), []int{2} +} + +// +//The ConnectionPropertiesUpdateResponse message is sent by the server in response to a ConnectionPropertiesUpdateRequest from the client. +//It acknowledges the success of the requested connection properties update. +//This message does not contain any fields. It serves as an acknowledgment of the update process for the connection properties. +type ConnectionPropertiesUpdateResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *ConnectionPropertiesUpdateResponse) Reset() { + *x = ConnectionPropertiesUpdateResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_org_polypheny_prism_connection_responses_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ConnectionPropertiesUpdateResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ConnectionPropertiesUpdateResponse) ProtoMessage() {} + +func (x *ConnectionPropertiesUpdateResponse) ProtoReflect() protoreflect.Message { + mi := &file_org_polypheny_prism_connection_responses_proto_msgTypes[3] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ConnectionPropertiesUpdateResponse.ProtoReflect.Descriptor instead. +func (*ConnectionPropertiesUpdateResponse) Descriptor() ([]byte, []int) { + return file_org_polypheny_prism_connection_responses_proto_rawDescGZIP(), []int{3} +} + +var File_org_polypheny_prism_connection_responses_proto protoreflect.FileDescriptor + +var file_org_polypheny_prism_connection_responses_proto_rawDesc = []byte{ + 0x0a, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x70, 0x6f, 0x6c, 0x79, 0x70, 0x68, 0x65, 0x6e, 0x79, 0x2f, + 0x70, 0x72, 0x69, 0x73, 0x6d, 0x2f, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, + 0x5f, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x12, 0x13, 0x6f, 0x72, 0x67, 0x2e, 0x70, 0x6f, 0x6c, 0x79, 0x70, 0x68, 0x65, 0x6e, 0x79, 0x2e, + 0x70, 0x72, 0x69, 0x73, 0x6d, 0x22, 0x91, 0x01, 0x0a, 0x12, 0x43, 0x6f, 0x6e, 0x6e, 0x65, 0x63, + 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x23, 0x0a, 0x0d, + 0x69, 0x73, 0x5f, 0x63, 0x6f, 0x6d, 0x70, 0x61, 0x74, 0x69, 0x62, 0x6c, 0x65, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x08, 0x52, 0x0c, 0x69, 0x73, 0x43, 0x6f, 0x6d, 0x70, 0x61, 0x74, 0x69, 0x62, 0x6c, + 0x65, 0x12, 0x2a, 0x0a, 0x11, 0x6d, 0x61, 0x6a, 0x6f, 0x72, 0x5f, 0x61, 0x70, 0x69, 0x5f, 0x76, + 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0f, 0x6d, 0x61, + 0x6a, 0x6f, 0x72, 0x41, 0x70, 0x69, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x2a, 0x0a, + 0x11, 0x6d, 0x69, 0x6e, 0x6f, 0x72, 0x5f, 0x61, 0x70, 0x69, 0x5f, 0x76, 0x65, 0x72, 0x73, 0x69, + 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0f, 0x6d, 0x69, 0x6e, 0x6f, 0x72, 0x41, + 0x70, 0x69, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x22, 0x14, 0x0a, 0x12, 0x44, 0x69, 0x73, + 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, + 0x19, 0x0a, 0x17, 0x43, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x68, 0x65, + 0x63, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x24, 0x0a, 0x22, 0x43, 0x6f, + 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x69, + 0x65, 0x73, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, + 0x42, 0x59, 0x0a, 0x13, 0x6f, 0x72, 0x67, 0x2e, 0x70, 0x6f, 0x6c, 0x79, 0x70, 0x68, 0x65, 0x6e, + 0x79, 0x2e, 0x70, 0x72, 0x69, 0x73, 0x6d, 0x42, 0x13, 0x43, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, + 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x73, 0x50, 0x01, 0x5a, 0x19, + 0x6f, 0x72, 0x67, 0x2f, 0x70, 0x6f, 0x6c, 0x79, 0x70, 0x68, 0x65, 0x6e, 0x79, 0x2f, 0x70, 0x72, + 0x69, 0x73, 0x6d, 0x3b, 0x70, 0x72, 0x69, 0x73, 0x6d, 0xaa, 0x02, 0x0f, 0x50, 0x6f, 0x6c, 0x79, + 0x70, 0x68, 0x65, 0x6e, 0x79, 0x2e, 0x50, 0x72, 0x69, 0x73, 0x6d, 0x62, 0x06, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x33, +} + +var ( + file_org_polypheny_prism_connection_responses_proto_rawDescOnce sync.Once + file_org_polypheny_prism_connection_responses_proto_rawDescData = file_org_polypheny_prism_connection_responses_proto_rawDesc +) + +func file_org_polypheny_prism_connection_responses_proto_rawDescGZIP() []byte { + file_org_polypheny_prism_connection_responses_proto_rawDescOnce.Do(func() { + file_org_polypheny_prism_connection_responses_proto_rawDescData = protoimpl.X.CompressGZIP(file_org_polypheny_prism_connection_responses_proto_rawDescData) + }) + return file_org_polypheny_prism_connection_responses_proto_rawDescData +} + +var file_org_polypheny_prism_connection_responses_proto_msgTypes = make([]protoimpl.MessageInfo, 4) +var file_org_polypheny_prism_connection_responses_proto_goTypes = []interface{}{ + (*ConnectionResponse)(nil), // 0: org.polypheny.prism.ConnectionResponse + (*DisconnectResponse)(nil), // 1: org.polypheny.prism.DisconnectResponse + (*ConnectionCheckResponse)(nil), // 2: org.polypheny.prism.ConnectionCheckResponse + (*ConnectionPropertiesUpdateResponse)(nil), // 3: org.polypheny.prism.ConnectionPropertiesUpdateResponse +} +var file_org_polypheny_prism_connection_responses_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_org_polypheny_prism_connection_responses_proto_init() } +func file_org_polypheny_prism_connection_responses_proto_init() { + if File_org_polypheny_prism_connection_responses_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_org_polypheny_prism_connection_responses_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ConnectionResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_org_polypheny_prism_connection_responses_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DisconnectResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_org_polypheny_prism_connection_responses_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ConnectionCheckResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_org_polypheny_prism_connection_responses_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ConnectionPropertiesUpdateResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_org_polypheny_prism_connection_responses_proto_rawDesc, + NumEnums: 0, + NumMessages: 4, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_org_polypheny_prism_connection_responses_proto_goTypes, + DependencyIndexes: file_org_polypheny_prism_connection_responses_proto_depIdxs, + MessageInfos: file_org_polypheny_prism_connection_responses_proto_msgTypes, + }.Build() + File_org_polypheny_prism_connection_responses_proto = out.File + file_org_polypheny_prism_connection_responses_proto_rawDesc = nil + file_org_polypheny_prism_connection_responses_proto_goTypes = nil + file_org_polypheny_prism_connection_responses_proto_depIdxs = nil +} diff --git a/prism/document_frame.pb.go b/prism/document_frame.pb.go new file mode 100644 index 0000000..13f799a --- /dev/null +++ b/prism/document_frame.pb.go @@ -0,0 +1,163 @@ +// +//Messages pertaining to document frames as used to represent results from the document model. + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.33.0 +// protoc v5.26.0 +// source: org/polypheny/prism/document_frame.proto + +package prism + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// +//The DocumentFrame message represents a frame containing one or more documents and is used to relay results or data entries structured as documents from the server to the client. +type DocumentFrame struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // A list of documents contained within this frame. Each entry in this list is an instance of ProtoDocument, representing an individual document. + Documents []*ProtoDocument `protobuf:"bytes,1,rep,name=documents,proto3" json:"documents,omitempty"` +} + +func (x *DocumentFrame) Reset() { + *x = DocumentFrame{} + if protoimpl.UnsafeEnabled { + mi := &file_org_polypheny_prism_document_frame_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *DocumentFrame) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*DocumentFrame) ProtoMessage() {} + +func (x *DocumentFrame) ProtoReflect() protoreflect.Message { + mi := &file_org_polypheny_prism_document_frame_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use DocumentFrame.ProtoReflect.Descriptor instead. +func (*DocumentFrame) Descriptor() ([]byte, []int) { + return file_org_polypheny_prism_document_frame_proto_rawDescGZIP(), []int{0} +} + +func (x *DocumentFrame) GetDocuments() []*ProtoDocument { + if x != nil { + return x.Documents + } + return nil +} + +var File_org_polypheny_prism_document_frame_proto protoreflect.FileDescriptor + +var file_org_polypheny_prism_document_frame_proto_rawDesc = []byte{ + 0x0a, 0x28, 0x6f, 0x72, 0x67, 0x2f, 0x70, 0x6f, 0x6c, 0x79, 0x70, 0x68, 0x65, 0x6e, 0x79, 0x2f, + 0x70, 0x72, 0x69, 0x73, 0x6d, 0x2f, 0x64, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x5f, 0x66, + 0x72, 0x61, 0x6d, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x13, 0x6f, 0x72, 0x67, 0x2e, + 0x70, 0x6f, 0x6c, 0x79, 0x70, 0x68, 0x65, 0x6e, 0x79, 0x2e, 0x70, 0x72, 0x69, 0x73, 0x6d, 0x1a, + 0x1f, 0x6f, 0x72, 0x67, 0x2f, 0x70, 0x6f, 0x6c, 0x79, 0x70, 0x68, 0x65, 0x6e, 0x79, 0x2f, 0x70, + 0x72, 0x69, 0x73, 0x6d, 0x2f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x22, 0x51, 0x0a, 0x0d, 0x44, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x46, 0x72, 0x61, 0x6d, + 0x65, 0x12, 0x40, 0x0a, 0x09, 0x64, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x18, 0x01, + 0x20, 0x03, 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x6f, 0x72, 0x67, 0x2e, 0x70, 0x6f, 0x6c, 0x79, 0x70, + 0x68, 0x65, 0x6e, 0x79, 0x2e, 0x70, 0x72, 0x69, 0x73, 0x6d, 0x2e, 0x50, 0x72, 0x6f, 0x74, 0x6f, + 0x44, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x09, 0x64, 0x6f, 0x63, 0x75, 0x6d, 0x65, + 0x6e, 0x74, 0x73, 0x42, 0x59, 0x0a, 0x13, 0x6f, 0x72, 0x67, 0x2e, 0x70, 0x6f, 0x6c, 0x79, 0x70, + 0x68, 0x65, 0x6e, 0x79, 0x2e, 0x70, 0x72, 0x69, 0x73, 0x6d, 0x42, 0x13, 0x44, 0x6f, 0x63, 0x75, + 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, + 0x01, 0x5a, 0x19, 0x6f, 0x72, 0x67, 0x2f, 0x70, 0x6f, 0x6c, 0x79, 0x70, 0x68, 0x65, 0x6e, 0x79, + 0x2f, 0x70, 0x72, 0x69, 0x73, 0x6d, 0x3b, 0x70, 0x72, 0x69, 0x73, 0x6d, 0xaa, 0x02, 0x0f, 0x50, + 0x6f, 0x6c, 0x79, 0x70, 0x68, 0x65, 0x6e, 0x79, 0x2e, 0x50, 0x72, 0x69, 0x73, 0x6d, 0x62, 0x06, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_org_polypheny_prism_document_frame_proto_rawDescOnce sync.Once + file_org_polypheny_prism_document_frame_proto_rawDescData = file_org_polypheny_prism_document_frame_proto_rawDesc +) + +func file_org_polypheny_prism_document_frame_proto_rawDescGZIP() []byte { + file_org_polypheny_prism_document_frame_proto_rawDescOnce.Do(func() { + file_org_polypheny_prism_document_frame_proto_rawDescData = protoimpl.X.CompressGZIP(file_org_polypheny_prism_document_frame_proto_rawDescData) + }) + return file_org_polypheny_prism_document_frame_proto_rawDescData +} + +var file_org_polypheny_prism_document_frame_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_org_polypheny_prism_document_frame_proto_goTypes = []interface{}{ + (*DocumentFrame)(nil), // 0: org.polypheny.prism.DocumentFrame + (*ProtoDocument)(nil), // 1: org.polypheny.prism.ProtoDocument +} +var file_org_polypheny_prism_document_frame_proto_depIdxs = []int32{ + 1, // 0: org.polypheny.prism.DocumentFrame.documents:type_name -> org.polypheny.prism.ProtoDocument + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_org_polypheny_prism_document_frame_proto_init() } +func file_org_polypheny_prism_document_frame_proto_init() { + if File_org_polypheny_prism_document_frame_proto != nil { + return + } + file_org_polypheny_prism_value_proto_init() + if !protoimpl.UnsafeEnabled { + file_org_polypheny_prism_document_frame_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DocumentFrame); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_org_polypheny_prism_document_frame_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_org_polypheny_prism_document_frame_proto_goTypes, + DependencyIndexes: file_org_polypheny_prism_document_frame_proto_depIdxs, + MessageInfos: file_org_polypheny_prism_document_frame_proto_msgTypes, + }.Build() + File_org_polypheny_prism_document_frame_proto = out.File + file_org_polypheny_prism_document_frame_proto_rawDesc = nil + file_org_polypheny_prism_document_frame_proto_goTypes = nil + file_org_polypheny_prism_document_frame_proto_depIdxs = nil +} diff --git a/prism/error.pb.go b/prism/error.pb.go new file mode 100644 index 0000000..5d04e6c --- /dev/null +++ b/prism/error.pb.go @@ -0,0 +1,180 @@ +// +//Messages used to send errors to the client. + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.33.0 +// protoc v5.26.0 +// source: org/polypheny/prism/error.proto + +package prism + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// +//The ErrorDetails message conveys specific information about an error encountered during the processing of a request. +//This detailed feedback aids clients in understanding the nature and cause of an issue. +type ErrorDetails struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // A numeric code representing the specific error encountered. This code can be used programmatically to handle specific error cases. + ErrorCode *int32 `protobuf:"varint,1,opt,name=error_code,json=errorCode,proto3,oneof" json:"error_code,omitempty"` + // An optional state description in the form of an identifier that provides further context about the error. + State *string `protobuf:"bytes,2,opt,name=state,proto3,oneof" json:"state,omitempty"` + // A human-readable message describing the error in detail. This message offers clients a clear understanding of the issue. + Message *string `protobuf:"bytes,3,opt,name=message,proto3,oneof" json:"message,omitempty"` +} + +func (x *ErrorDetails) Reset() { + *x = ErrorDetails{} + if protoimpl.UnsafeEnabled { + mi := &file_org_polypheny_prism_error_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ErrorDetails) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ErrorDetails) ProtoMessage() {} + +func (x *ErrorDetails) ProtoReflect() protoreflect.Message { + mi := &file_org_polypheny_prism_error_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ErrorDetails.ProtoReflect.Descriptor instead. +func (*ErrorDetails) Descriptor() ([]byte, []int) { + return file_org_polypheny_prism_error_proto_rawDescGZIP(), []int{0} +} + +func (x *ErrorDetails) GetErrorCode() int32 { + if x != nil && x.ErrorCode != nil { + return *x.ErrorCode + } + return 0 +} + +func (x *ErrorDetails) GetState() string { + if x != nil && x.State != nil { + return *x.State + } + return "" +} + +func (x *ErrorDetails) GetMessage() string { + if x != nil && x.Message != nil { + return *x.Message + } + return "" +} + +var File_org_polypheny_prism_error_proto protoreflect.FileDescriptor + +var file_org_polypheny_prism_error_proto_rawDesc = []byte{ + 0x0a, 0x1f, 0x6f, 0x72, 0x67, 0x2f, 0x70, 0x6f, 0x6c, 0x79, 0x70, 0x68, 0x65, 0x6e, 0x79, 0x2f, + 0x70, 0x72, 0x69, 0x73, 0x6d, 0x2f, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x12, 0x13, 0x6f, 0x72, 0x67, 0x2e, 0x70, 0x6f, 0x6c, 0x79, 0x70, 0x68, 0x65, 0x6e, 0x79, + 0x2e, 0x70, 0x72, 0x69, 0x73, 0x6d, 0x22, 0x91, 0x01, 0x0a, 0x0c, 0x45, 0x72, 0x72, 0x6f, 0x72, + 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x12, 0x22, 0x0a, 0x0a, 0x65, 0x72, 0x72, 0x6f, 0x72, + 0x5f, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x48, 0x00, 0x52, 0x09, 0x65, + 0x72, 0x72, 0x6f, 0x72, 0x43, 0x6f, 0x64, 0x65, 0x88, 0x01, 0x01, 0x12, 0x19, 0x0a, 0x05, 0x73, + 0x74, 0x61, 0x74, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x48, 0x01, 0x52, 0x05, 0x73, 0x74, + 0x61, 0x74, 0x65, 0x88, 0x01, 0x01, 0x12, 0x1d, 0x0a, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, + 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x48, 0x02, 0x52, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, + 0x67, 0x65, 0x88, 0x01, 0x01, 0x42, 0x0d, 0x0a, 0x0b, 0x5f, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x5f, + 0x63, 0x6f, 0x64, 0x65, 0x42, 0x08, 0x0a, 0x06, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x65, 0x42, 0x0a, + 0x0a, 0x08, 0x5f, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x42, 0x4b, 0x0a, 0x13, 0x6f, 0x72, + 0x67, 0x2e, 0x70, 0x6f, 0x6c, 0x79, 0x70, 0x68, 0x65, 0x6e, 0x79, 0x2e, 0x70, 0x72, 0x69, 0x73, + 0x6d, 0x42, 0x05, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x50, 0x01, 0x5a, 0x19, 0x6f, 0x72, 0x67, 0x2f, + 0x70, 0x6f, 0x6c, 0x79, 0x70, 0x68, 0x65, 0x6e, 0x79, 0x2f, 0x70, 0x72, 0x69, 0x73, 0x6d, 0x3b, + 0x70, 0x72, 0x69, 0x73, 0x6d, 0xaa, 0x02, 0x0f, 0x50, 0x6f, 0x6c, 0x79, 0x70, 0x68, 0x65, 0x6e, + 0x79, 0x2e, 0x50, 0x72, 0x69, 0x73, 0x6d, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_org_polypheny_prism_error_proto_rawDescOnce sync.Once + file_org_polypheny_prism_error_proto_rawDescData = file_org_polypheny_prism_error_proto_rawDesc +) + +func file_org_polypheny_prism_error_proto_rawDescGZIP() []byte { + file_org_polypheny_prism_error_proto_rawDescOnce.Do(func() { + file_org_polypheny_prism_error_proto_rawDescData = protoimpl.X.CompressGZIP(file_org_polypheny_prism_error_proto_rawDescData) + }) + return file_org_polypheny_prism_error_proto_rawDescData +} + +var file_org_polypheny_prism_error_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_org_polypheny_prism_error_proto_goTypes = []interface{}{ + (*ErrorDetails)(nil), // 0: org.polypheny.prism.ErrorDetails +} +var file_org_polypheny_prism_error_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_org_polypheny_prism_error_proto_init() } +func file_org_polypheny_prism_error_proto_init() { + if File_org_polypheny_prism_error_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_org_polypheny_prism_error_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ErrorDetails); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + file_org_polypheny_prism_error_proto_msgTypes[0].OneofWrappers = []interface{}{} + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_org_polypheny_prism_error_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_org_polypheny_prism_error_proto_goTypes, + DependencyIndexes: file_org_polypheny_prism_error_proto_depIdxs, + MessageInfos: file_org_polypheny_prism_error_proto_msgTypes, + }.Build() + File_org_polypheny_prism_error_proto = out.File + file_org_polypheny_prism_error_proto_rawDesc = nil + file_org_polypheny_prism_error_proto_goTypes = nil + file_org_polypheny_prism_error_proto_depIdxs = nil +} diff --git a/prism/graph_frame.pb.go b/prism/graph_frame.pb.go new file mode 100644 index 0000000..0ffeabb --- /dev/null +++ b/prism/graph_frame.pb.go @@ -0,0 +1,279 @@ +// +//Messages related to graph frames as used to represent results form the labeled property graph model. + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.33.0 +// protoc v5.26.0 +// source: org/polypheny/prism/graph_frame.proto + +package prism + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// +// The GraphFrame represents the non-relational result of a query in the labeled property graph model. +// If the query returns a relational result, such as when aggregations are used or specific properties are returned, +// a relational frame is used. The GraphFrame is used for results where a set of nodes and/or edges is returned. +// The nodes or edges are wrapped in graph elements to allow them to be mixed as paths are returned as a mixed collection of both. +// If a result produces multiple frames (used to transmit large results), all results will be of the same type (relational vs. graph). +type GraphFrame struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Element []*GraphElement `protobuf:"bytes,1,rep,name=element,proto3" json:"element,omitempty"` +} + +func (x *GraphFrame) Reset() { + *x = GraphFrame{} + if protoimpl.UnsafeEnabled { + mi := &file_org_polypheny_prism_graph_frame_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GraphFrame) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GraphFrame) ProtoMessage() {} + +func (x *GraphFrame) ProtoReflect() protoreflect.Message { + mi := &file_org_polypheny_prism_graph_frame_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use GraphFrame.ProtoReflect.Descriptor instead. +func (*GraphFrame) Descriptor() ([]byte, []int) { + return file_org_polypheny_prism_graph_frame_proto_rawDescGZIP(), []int{0} +} + +func (x *GraphFrame) GetElement() []*GraphElement { + if x != nil { + return x.Element + } + return nil +} + +// +// Represents an element in a graph. Each element is either a node or an edge. +type GraphElement struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // This field stores the graph element itself which is either a node or an edge. + // + // Types that are assignable to Element: + // *GraphElement_Node + // *GraphElement_Edge + Element isGraphElement_Element `protobuf_oneof:"element"` +} + +func (x *GraphElement) Reset() { + *x = GraphElement{} + if protoimpl.UnsafeEnabled { + mi := &file_org_polypheny_prism_graph_frame_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GraphElement) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GraphElement) ProtoMessage() {} + +func (x *GraphElement) ProtoReflect() protoreflect.Message { + mi := &file_org_polypheny_prism_graph_frame_proto_msgTypes[1] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use GraphElement.ProtoReflect.Descriptor instead. +func (*GraphElement) Descriptor() ([]byte, []int) { + return file_org_polypheny_prism_graph_frame_proto_rawDescGZIP(), []int{1} +} + +func (m *GraphElement) GetElement() isGraphElement_Element { + if m != nil { + return m.Element + } + return nil +} + +func (x *GraphElement) GetNode() *ProtoNode { + if x, ok := x.GetElement().(*GraphElement_Node); ok { + return x.Node + } + return nil +} + +func (x *GraphElement) GetEdge() *ProtoEdge { + if x, ok := x.GetElement().(*GraphElement_Edge); ok { + return x.Edge + } + return nil +} + +type isGraphElement_Element interface { + isGraphElement_Element() +} + +type GraphElement_Node struct { + // This field stores the node if the graph element is a node. + Node *ProtoNode `protobuf:"bytes,1,opt,name=node,proto3,oneof"` +} + +type GraphElement_Edge struct { + // This field stores the edge if the graph element is an edge. + Edge *ProtoEdge `protobuf:"bytes,2,opt,name=edge,proto3,oneof"` +} + +func (*GraphElement_Node) isGraphElement_Element() {} + +func (*GraphElement_Edge) isGraphElement_Element() {} + +var File_org_polypheny_prism_graph_frame_proto protoreflect.FileDescriptor + +var file_org_polypheny_prism_graph_frame_proto_rawDesc = []byte{ + 0x0a, 0x25, 0x6f, 0x72, 0x67, 0x2f, 0x70, 0x6f, 0x6c, 0x79, 0x70, 0x68, 0x65, 0x6e, 0x79, 0x2f, + 0x70, 0x72, 0x69, 0x73, 0x6d, 0x2f, 0x67, 0x72, 0x61, 0x70, 0x68, 0x5f, 0x66, 0x72, 0x61, 0x6d, + 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x13, 0x6f, 0x72, 0x67, 0x2e, 0x70, 0x6f, 0x6c, + 0x79, 0x70, 0x68, 0x65, 0x6e, 0x79, 0x2e, 0x70, 0x72, 0x69, 0x73, 0x6d, 0x1a, 0x1f, 0x6f, 0x72, + 0x67, 0x2f, 0x70, 0x6f, 0x6c, 0x79, 0x70, 0x68, 0x65, 0x6e, 0x79, 0x2f, 0x70, 0x72, 0x69, 0x73, + 0x6d, 0x2f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x49, 0x0a, + 0x0a, 0x47, 0x72, 0x61, 0x70, 0x68, 0x46, 0x72, 0x61, 0x6d, 0x65, 0x12, 0x3b, 0x0a, 0x07, 0x65, + 0x6c, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x6f, + 0x72, 0x67, 0x2e, 0x70, 0x6f, 0x6c, 0x79, 0x70, 0x68, 0x65, 0x6e, 0x79, 0x2e, 0x70, 0x72, 0x69, + 0x73, 0x6d, 0x2e, 0x47, 0x72, 0x61, 0x70, 0x68, 0x45, 0x6c, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x52, + 0x07, 0x65, 0x6c, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x22, 0x85, 0x01, 0x0a, 0x0c, 0x47, 0x72, 0x61, + 0x70, 0x68, 0x45, 0x6c, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x34, 0x0a, 0x04, 0x6e, 0x6f, 0x64, + 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x6f, 0x72, 0x67, 0x2e, 0x70, 0x6f, + 0x6c, 0x79, 0x70, 0x68, 0x65, 0x6e, 0x79, 0x2e, 0x70, 0x72, 0x69, 0x73, 0x6d, 0x2e, 0x50, 0x72, + 0x6f, 0x74, 0x6f, 0x4e, 0x6f, 0x64, 0x65, 0x48, 0x00, 0x52, 0x04, 0x6e, 0x6f, 0x64, 0x65, 0x12, + 0x34, 0x0a, 0x04, 0x65, 0x64, 0x67, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, + 0x6f, 0x72, 0x67, 0x2e, 0x70, 0x6f, 0x6c, 0x79, 0x70, 0x68, 0x65, 0x6e, 0x79, 0x2e, 0x70, 0x72, + 0x69, 0x73, 0x6d, 0x2e, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x45, 0x64, 0x67, 0x65, 0x48, 0x00, 0x52, + 0x04, 0x65, 0x64, 0x67, 0x65, 0x42, 0x09, 0x0a, 0x07, 0x65, 0x6c, 0x65, 0x6d, 0x65, 0x6e, 0x74, + 0x42, 0x56, 0x0a, 0x13, 0x6f, 0x72, 0x67, 0x2e, 0x70, 0x6f, 0x6c, 0x79, 0x70, 0x68, 0x65, 0x6e, + 0x79, 0x2e, 0x70, 0x72, 0x69, 0x73, 0x6d, 0x42, 0x10, 0x47, 0x72, 0x61, 0x70, 0x68, 0x52, 0x65, + 0x73, 0x75, 0x6c, 0x74, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x19, 0x6f, 0x72, 0x67, + 0x2f, 0x70, 0x6f, 0x6c, 0x79, 0x70, 0x68, 0x65, 0x6e, 0x79, 0x2f, 0x70, 0x72, 0x69, 0x73, 0x6d, + 0x3b, 0x70, 0x72, 0x69, 0x73, 0x6d, 0xaa, 0x02, 0x0f, 0x50, 0x6f, 0x6c, 0x79, 0x70, 0x68, 0x65, + 0x6e, 0x79, 0x2e, 0x50, 0x72, 0x69, 0x73, 0x6d, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_org_polypheny_prism_graph_frame_proto_rawDescOnce sync.Once + file_org_polypheny_prism_graph_frame_proto_rawDescData = file_org_polypheny_prism_graph_frame_proto_rawDesc +) + +func file_org_polypheny_prism_graph_frame_proto_rawDescGZIP() []byte { + file_org_polypheny_prism_graph_frame_proto_rawDescOnce.Do(func() { + file_org_polypheny_prism_graph_frame_proto_rawDescData = protoimpl.X.CompressGZIP(file_org_polypheny_prism_graph_frame_proto_rawDescData) + }) + return file_org_polypheny_prism_graph_frame_proto_rawDescData +} + +var file_org_polypheny_prism_graph_frame_proto_msgTypes = make([]protoimpl.MessageInfo, 2) +var file_org_polypheny_prism_graph_frame_proto_goTypes = []interface{}{ + (*GraphFrame)(nil), // 0: org.polypheny.prism.GraphFrame + (*GraphElement)(nil), // 1: org.polypheny.prism.GraphElement + (*ProtoNode)(nil), // 2: org.polypheny.prism.ProtoNode + (*ProtoEdge)(nil), // 3: org.polypheny.prism.ProtoEdge +} +var file_org_polypheny_prism_graph_frame_proto_depIdxs = []int32{ + 1, // 0: org.polypheny.prism.GraphFrame.element:type_name -> org.polypheny.prism.GraphElement + 2, // 1: org.polypheny.prism.GraphElement.node:type_name -> org.polypheny.prism.ProtoNode + 3, // 2: org.polypheny.prism.GraphElement.edge:type_name -> org.polypheny.prism.ProtoEdge + 3, // [3:3] is the sub-list for method output_type + 3, // [3:3] is the sub-list for method input_type + 3, // [3:3] is the sub-list for extension type_name + 3, // [3:3] is the sub-list for extension extendee + 0, // [0:3] is the sub-list for field type_name +} + +func init() { file_org_polypheny_prism_graph_frame_proto_init() } +func file_org_polypheny_prism_graph_frame_proto_init() { + if File_org_polypheny_prism_graph_frame_proto != nil { + return + } + file_org_polypheny_prism_value_proto_init() + if !protoimpl.UnsafeEnabled { + file_org_polypheny_prism_graph_frame_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GraphFrame); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_org_polypheny_prism_graph_frame_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GraphElement); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + file_org_polypheny_prism_graph_frame_proto_msgTypes[1].OneofWrappers = []interface{}{ + (*GraphElement_Node)(nil), + (*GraphElement_Edge)(nil), + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_org_polypheny_prism_graph_frame_proto_rawDesc, + NumEnums: 0, + NumMessages: 2, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_org_polypheny_prism_graph_frame_proto_goTypes, + DependencyIndexes: file_org_polypheny_prism_graph_frame_proto_depIdxs, + MessageInfos: file_org_polypheny_prism_graph_frame_proto_msgTypes, + }.Build() + File_org_polypheny_prism_graph_frame_proto = out.File + file_org_polypheny_prism_graph_frame_proto_rawDesc = nil + file_org_polypheny_prism_graph_frame_proto_goTypes = nil + file_org_polypheny_prism_graph_frame_proto_depIdxs = nil +} diff --git a/prism/meta_requests.pb.go b/prism/meta_requests.pb.go new file mode 100644 index 0000000..7364b87 --- /dev/null +++ b/prism/meta_requests.pb.go @@ -0,0 +1,812 @@ +// +//Messages that are used for querying general metadata. + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.33.0 +// protoc v5.26.0 +// source: org/polypheny/prism/meta_requests.proto + +package prism + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// +//The DbmsVersionRequest message is utilized to request the version information of the database management system (DBMS) in use. +//It acts as a trigger for the server to respond with the specific version details of the DBMS. +//This message does not contain any fields. It simply acts as an indicator to prompt the server for DbmsVersionResponse. +type DbmsVersionRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *DbmsVersionRequest) Reset() { + *x = DbmsVersionRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_org_polypheny_prism_meta_requests_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *DbmsVersionRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*DbmsVersionRequest) ProtoMessage() {} + +func (x *DbmsVersionRequest) ProtoReflect() protoreflect.Message { + mi := &file_org_polypheny_prism_meta_requests_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use DbmsVersionRequest.ProtoReflect.Descriptor instead. +func (*DbmsVersionRequest) Descriptor() ([]byte, []int) { + return file_org_polypheny_prism_meta_requests_proto_rawDescGZIP(), []int{0} +} + +// Request the default namespace +type DefaultNamespaceRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *DefaultNamespaceRequest) Reset() { + *x = DefaultNamespaceRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_org_polypheny_prism_meta_requests_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *DefaultNamespaceRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*DefaultNamespaceRequest) ProtoMessage() {} + +func (x *DefaultNamespaceRequest) ProtoReflect() protoreflect.Message { + mi := &file_org_polypheny_prism_meta_requests_proto_msgTypes[1] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use DefaultNamespaceRequest.ProtoReflect.Descriptor instead. +func (*DefaultNamespaceRequest) Descriptor() ([]byte, []int) { + return file_org_polypheny_prism_meta_requests_proto_rawDescGZIP(), []int{1} +} + +// +//The TableTypesRequest message is designed to request information about the different types of tables that are supported or recognized by the DBMS. +//This message does not contain any fields. It’s a prompt for the server to respond with details about the supported table types in a TableTypesResponse. +type TableTypesRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *TableTypesRequest) Reset() { + *x = TableTypesRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_org_polypheny_prism_meta_requests_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *TableTypesRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*TableTypesRequest) ProtoMessage() {} + +func (x *TableTypesRequest) ProtoReflect() protoreflect.Message { + mi := &file_org_polypheny_prism_meta_requests_proto_msgTypes[2] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use TableTypesRequest.ProtoReflect.Descriptor instead. +func (*TableTypesRequest) Descriptor() ([]byte, []int) { + return file_org_polypheny_prism_meta_requests_proto_rawDescGZIP(), []int{2} +} + +// +//The TypesRequest message is deployed to obtain a list of data types supported by the database management system. +//This helps clients understand the range of data types they can utilize when defining or querying tables. +//This message does not contain any fields. It simply prompts the server to return a list of supported data types in a TypesResponse. +type TypesRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *TypesRequest) Reset() { + *x = TypesRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_org_polypheny_prism_meta_requests_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *TypesRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*TypesRequest) ProtoMessage() {} + +func (x *TypesRequest) ProtoReflect() protoreflect.Message { + mi := &file_org_polypheny_prism_meta_requests_proto_msgTypes[3] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use TypesRequest.ProtoReflect.Descriptor instead. +func (*TypesRequest) Descriptor() ([]byte, []int) { + return file_org_polypheny_prism_meta_requests_proto_rawDescGZIP(), []int{3} +} + +// +//The SqlStringFunctionsRequest message is used to solicit information about the string functions supported by the SQL implementation of the DBMS. +//This message is field less and prompts the server to return details of the available string functions in an SqlStringFunctionsResponse. +type SqlStringFunctionsRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *SqlStringFunctionsRequest) Reset() { + *x = SqlStringFunctionsRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_org_polypheny_prism_meta_requests_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SqlStringFunctionsRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SqlStringFunctionsRequest) ProtoMessage() {} + +func (x *SqlStringFunctionsRequest) ProtoReflect() protoreflect.Message { + mi := &file_org_polypheny_prism_meta_requests_proto_msgTypes[4] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SqlStringFunctionsRequest.ProtoReflect.Descriptor instead. +func (*SqlStringFunctionsRequest) Descriptor() ([]byte, []int) { + return file_org_polypheny_prism_meta_requests_proto_rawDescGZIP(), []int{4} +} + +// +//The SqlSystemFunctionsRequest message aims to retrieve the list of system functions provided by the SQL implementation of the DBMS. +//Without any fields, this message indicates the server to respond with details about the system functions in an SqlSystemFunctionsResponse. +type SqlSystemFunctionsRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *SqlSystemFunctionsRequest) Reset() { + *x = SqlSystemFunctionsRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_org_polypheny_prism_meta_requests_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SqlSystemFunctionsRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SqlSystemFunctionsRequest) ProtoMessage() {} + +func (x *SqlSystemFunctionsRequest) ProtoReflect() protoreflect.Message { + mi := &file_org_polypheny_prism_meta_requests_proto_msgTypes[5] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SqlSystemFunctionsRequest.ProtoReflect.Descriptor instead. +func (*SqlSystemFunctionsRequest) Descriptor() ([]byte, []int) { + return file_org_polypheny_prism_meta_requests_proto_rawDescGZIP(), []int{5} +} + +// +//The SqlTimeDateFunctionsRequest message is dispatched to fetch a list of time and date functions supported by the SQL implementation of the DBMS. +//This message, being field less, acts as a request for the server to list time and date functions in a SqlTimeDateFunctionsResponse. +type SqlTimeDateFunctionsRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *SqlTimeDateFunctionsRequest) Reset() { + *x = SqlTimeDateFunctionsRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_org_polypheny_prism_meta_requests_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SqlTimeDateFunctionsRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SqlTimeDateFunctionsRequest) ProtoMessage() {} + +func (x *SqlTimeDateFunctionsRequest) ProtoReflect() protoreflect.Message { + mi := &file_org_polypheny_prism_meta_requests_proto_msgTypes[6] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SqlTimeDateFunctionsRequest.ProtoReflect.Descriptor instead. +func (*SqlTimeDateFunctionsRequest) Descriptor() ([]byte, []int) { + return file_org_polypheny_prism_meta_requests_proto_rawDescGZIP(), []int{6} +} + +// +//The SqlNumericFunctionsRequest message endeavors to obtain details about the numeric functions provided by the SQL implementation of the DBMS. +//This message, devoid of fields, prompts the server to respond with information about numeric functions in an SqlNumericFunctionsResponse. +type SqlNumericFunctionsRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *SqlNumericFunctionsRequest) Reset() { + *x = SqlNumericFunctionsRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_org_polypheny_prism_meta_requests_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SqlNumericFunctionsRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SqlNumericFunctionsRequest) ProtoMessage() {} + +func (x *SqlNumericFunctionsRequest) ProtoReflect() protoreflect.Message { + mi := &file_org_polypheny_prism_meta_requests_proto_msgTypes[7] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SqlNumericFunctionsRequest.ProtoReflect.Descriptor instead. +func (*SqlNumericFunctionsRequest) Descriptor() ([]byte, []int) { + return file_org_polypheny_prism_meta_requests_proto_rawDescGZIP(), []int{7} +} + +// +//The SqlKeywordsRequest message is designed to request a list of reserved keywords utilized by the SQL implementation of the DBMS. +//With no fields, this message acts as an indicator for the server to provide the list of SQL keywords in an SqlKeywordsResponse. +type SqlKeywordsRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *SqlKeywordsRequest) Reset() { + *x = SqlKeywordsRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_org_polypheny_prism_meta_requests_proto_msgTypes[8] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SqlKeywordsRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SqlKeywordsRequest) ProtoMessage() {} + +func (x *SqlKeywordsRequest) ProtoReflect() protoreflect.Message { + mi := &file_org_polypheny_prism_meta_requests_proto_msgTypes[8] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use SqlKeywordsRequest.ProtoReflect.Descriptor instead. +func (*SqlKeywordsRequest) Descriptor() ([]byte, []int) { + return file_org_polypheny_prism_meta_requests_proto_rawDescGZIP(), []int{8} +} + +// +//The ProceduresRequest message is employed to retrieve a list of stored procedures in the database for a specified query language. +//The client can also narrow down the results by specifying a procedure name pattern. +type ProceduresRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // The query language for which the procedures are defined. This determines the set of procedures that will be retrieved. + Language string `protobuf:"bytes,1,opt,name=language,proto3" json:"language,omitempty"` + // + //A pattern to filter the names of procedures. For example, providing “get%” might retrieve procedures named getUser, getDetails, etc. + //If not specified, all procedures for the provided language will be returned. Like in sql, the symbol _ can be used to match a single character. + ProcedureNamePattern *string `protobuf:"bytes,3,opt,name=procedure_name_pattern,json=procedureNamePattern,proto3,oneof" json:"procedure_name_pattern,omitempty"` +} + +func (x *ProceduresRequest) Reset() { + *x = ProceduresRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_org_polypheny_prism_meta_requests_proto_msgTypes[9] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ProceduresRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ProceduresRequest) ProtoMessage() {} + +func (x *ProceduresRequest) ProtoReflect() protoreflect.Message { + mi := &file_org_polypheny_prism_meta_requests_proto_msgTypes[9] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ProceduresRequest.ProtoReflect.Descriptor instead. +func (*ProceduresRequest) Descriptor() ([]byte, []int) { + return file_org_polypheny_prism_meta_requests_proto_rawDescGZIP(), []int{9} +} + +func (x *ProceduresRequest) GetLanguage() string { + if x != nil { + return x.Language + } + return "" +} + +func (x *ProceduresRequest) GetProcedureNamePattern() string { + if x != nil && x.ProcedureNamePattern != nil { + return *x.ProcedureNamePattern + } + return "" +} + +// +//The ClientInfoPropertiesRequest message facilitates the acquisition of client information properties stored in the database. +//These properties can offer additional context about the connected client. +//This message doesn't possess any fields. +//It acts as a directive for the server to provide the associated client information properties in a ClientInfoPropertiesResponse. +type ClientInfoPropertiesRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *ClientInfoPropertiesRequest) Reset() { + *x = ClientInfoPropertiesRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_org_polypheny_prism_meta_requests_proto_msgTypes[10] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ClientInfoPropertiesRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ClientInfoPropertiesRequest) ProtoMessage() {} + +func (x *ClientInfoPropertiesRequest) ProtoReflect() protoreflect.Message { + mi := &file_org_polypheny_prism_meta_requests_proto_msgTypes[10] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ClientInfoPropertiesRequest.ProtoReflect.Descriptor instead. +func (*ClientInfoPropertiesRequest) Descriptor() ([]byte, []int) { + return file_org_polypheny_prism_meta_requests_proto_rawDescGZIP(), []int{10} +} + +// +//The FunctionsRequest message is wielded to obtain a list of functions from the database based on the specified query language and function category. +type FunctionsRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Defines the query language for which the functions are sought. This field determines the range of functions that will be retrieved. + QueryLanguage string `protobuf:"bytes,1,opt,name=query_language,json=queryLanguage,proto3" json:"query_language,omitempty"` + // + //Categorizes the function, allowing clients to filter results based on specific categories, such as “NUMERIC”, “STRING”, or “SYSTEM”. + //This helps in refining the search for specific types of functions. + FunctionCategory string `protobuf:"bytes,2,opt,name=function_category,json=functionCategory,proto3" json:"function_category,omitempty"` +} + +func (x *FunctionsRequest) Reset() { + *x = FunctionsRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_org_polypheny_prism_meta_requests_proto_msgTypes[11] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *FunctionsRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*FunctionsRequest) ProtoMessage() {} + +func (x *FunctionsRequest) ProtoReflect() protoreflect.Message { + mi := &file_org_polypheny_prism_meta_requests_proto_msgTypes[11] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use FunctionsRequest.ProtoReflect.Descriptor instead. +func (*FunctionsRequest) Descriptor() ([]byte, []int) { + return file_org_polypheny_prism_meta_requests_proto_rawDescGZIP(), []int{11} +} + +func (x *FunctionsRequest) GetQueryLanguage() string { + if x != nil { + return x.QueryLanguage + } + return "" +} + +func (x *FunctionsRequest) GetFunctionCategory() string { + if x != nil { + return x.FunctionCategory + } + return "" +} + +var File_org_polypheny_prism_meta_requests_proto protoreflect.FileDescriptor + +var file_org_polypheny_prism_meta_requests_proto_rawDesc = []byte{ + 0x0a, 0x27, 0x6f, 0x72, 0x67, 0x2f, 0x70, 0x6f, 0x6c, 0x79, 0x70, 0x68, 0x65, 0x6e, 0x79, 0x2f, + 0x70, 0x72, 0x69, 0x73, 0x6d, 0x2f, 0x6d, 0x65, 0x74, 0x61, 0x5f, 0x72, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x13, 0x6f, 0x72, 0x67, 0x2e, 0x70, + 0x6f, 0x6c, 0x79, 0x70, 0x68, 0x65, 0x6e, 0x79, 0x2e, 0x70, 0x72, 0x69, 0x73, 0x6d, 0x22, 0x14, + 0x0a, 0x12, 0x44, 0x62, 0x6d, 0x73, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, + 0x75, 0x65, 0x73, 0x74, 0x22, 0x19, 0x0a, 0x17, 0x44, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x4e, + 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, + 0x13, 0x0a, 0x11, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x54, 0x79, 0x70, 0x65, 0x73, 0x52, 0x65, 0x71, + 0x75, 0x65, 0x73, 0x74, 0x22, 0x0e, 0x0a, 0x0c, 0x54, 0x79, 0x70, 0x65, 0x73, 0x52, 0x65, 0x71, + 0x75, 0x65, 0x73, 0x74, 0x22, 0x1b, 0x0a, 0x19, 0x53, 0x71, 0x6c, 0x53, 0x74, 0x72, 0x69, 0x6e, + 0x67, 0x46, 0x75, 0x6e, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, + 0x74, 0x22, 0x1b, 0x0a, 0x19, 0x53, 0x71, 0x6c, 0x53, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x46, 0x75, + 0x6e, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x1d, + 0x0a, 0x1b, 0x53, 0x71, 0x6c, 0x54, 0x69, 0x6d, 0x65, 0x44, 0x61, 0x74, 0x65, 0x46, 0x75, 0x6e, + 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x1c, 0x0a, + 0x1a, 0x53, 0x71, 0x6c, 0x4e, 0x75, 0x6d, 0x65, 0x72, 0x69, 0x63, 0x46, 0x75, 0x6e, 0x63, 0x74, + 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x14, 0x0a, 0x12, 0x53, + 0x71, 0x6c, 0x4b, 0x65, 0x79, 0x77, 0x6f, 0x72, 0x64, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, + 0x74, 0x22, 0x85, 0x01, 0x0a, 0x11, 0x50, 0x72, 0x6f, 0x63, 0x65, 0x64, 0x75, 0x72, 0x65, 0x73, + 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1a, 0x0a, 0x08, 0x6c, 0x61, 0x6e, 0x67, 0x75, + 0x61, 0x67, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6c, 0x61, 0x6e, 0x67, 0x75, + 0x61, 0x67, 0x65, 0x12, 0x39, 0x0a, 0x16, 0x70, 0x72, 0x6f, 0x63, 0x65, 0x64, 0x75, 0x72, 0x65, + 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x5f, 0x70, 0x61, 0x74, 0x74, 0x65, 0x72, 0x6e, 0x18, 0x03, 0x20, + 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x14, 0x70, 0x72, 0x6f, 0x63, 0x65, 0x64, 0x75, 0x72, 0x65, + 0x4e, 0x61, 0x6d, 0x65, 0x50, 0x61, 0x74, 0x74, 0x65, 0x72, 0x6e, 0x88, 0x01, 0x01, 0x42, 0x19, + 0x0a, 0x17, 0x5f, 0x70, 0x72, 0x6f, 0x63, 0x65, 0x64, 0x75, 0x72, 0x65, 0x5f, 0x6e, 0x61, 0x6d, + 0x65, 0x5f, 0x70, 0x61, 0x74, 0x74, 0x65, 0x72, 0x6e, 0x22, 0x1d, 0x0a, 0x1b, 0x43, 0x6c, 0x69, + 0x65, 0x6e, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x50, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x69, 0x65, + 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x66, 0x0a, 0x10, 0x46, 0x75, 0x6e, 0x63, + 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x25, 0x0a, 0x0e, + 0x71, 0x75, 0x65, 0x72, 0x79, 0x5f, 0x6c, 0x61, 0x6e, 0x67, 0x75, 0x61, 0x67, 0x65, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x71, 0x75, 0x65, 0x72, 0x79, 0x4c, 0x61, 0x6e, 0x67, 0x75, + 0x61, 0x67, 0x65, 0x12, 0x2b, 0x0a, 0x11, 0x66, 0x75, 0x6e, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x5f, + 0x63, 0x61, 0x74, 0x65, 0x67, 0x6f, 0x72, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x10, + 0x66, 0x75, 0x6e, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x61, 0x74, 0x65, 0x67, 0x6f, 0x72, 0x79, + 0x42, 0x52, 0x0a, 0x13, 0x6f, 0x72, 0x67, 0x2e, 0x70, 0x6f, 0x6c, 0x79, 0x70, 0x68, 0x65, 0x6e, + 0x79, 0x2e, 0x70, 0x72, 0x69, 0x73, 0x6d, 0x42, 0x0c, 0x4d, 0x65, 0x74, 0x61, 0x52, 0x65, 0x71, + 0x75, 0x65, 0x73, 0x74, 0x73, 0x50, 0x01, 0x5a, 0x19, 0x6f, 0x72, 0x67, 0x2f, 0x70, 0x6f, 0x6c, + 0x79, 0x70, 0x68, 0x65, 0x6e, 0x79, 0x2f, 0x70, 0x72, 0x69, 0x73, 0x6d, 0x3b, 0x70, 0x72, 0x69, + 0x73, 0x6d, 0xaa, 0x02, 0x0f, 0x50, 0x6f, 0x6c, 0x79, 0x70, 0x68, 0x65, 0x6e, 0x79, 0x2e, 0x50, + 0x72, 0x69, 0x73, 0x6d, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_org_polypheny_prism_meta_requests_proto_rawDescOnce sync.Once + file_org_polypheny_prism_meta_requests_proto_rawDescData = file_org_polypheny_prism_meta_requests_proto_rawDesc +) + +func file_org_polypheny_prism_meta_requests_proto_rawDescGZIP() []byte { + file_org_polypheny_prism_meta_requests_proto_rawDescOnce.Do(func() { + file_org_polypheny_prism_meta_requests_proto_rawDescData = protoimpl.X.CompressGZIP(file_org_polypheny_prism_meta_requests_proto_rawDescData) + }) + return file_org_polypheny_prism_meta_requests_proto_rawDescData +} + +var file_org_polypheny_prism_meta_requests_proto_msgTypes = make([]protoimpl.MessageInfo, 12) +var file_org_polypheny_prism_meta_requests_proto_goTypes = []interface{}{ + (*DbmsVersionRequest)(nil), // 0: org.polypheny.prism.DbmsVersionRequest + (*DefaultNamespaceRequest)(nil), // 1: org.polypheny.prism.DefaultNamespaceRequest + (*TableTypesRequest)(nil), // 2: org.polypheny.prism.TableTypesRequest + (*TypesRequest)(nil), // 3: org.polypheny.prism.TypesRequest + (*SqlStringFunctionsRequest)(nil), // 4: org.polypheny.prism.SqlStringFunctionsRequest + (*SqlSystemFunctionsRequest)(nil), // 5: org.polypheny.prism.SqlSystemFunctionsRequest + (*SqlTimeDateFunctionsRequest)(nil), // 6: org.polypheny.prism.SqlTimeDateFunctionsRequest + (*SqlNumericFunctionsRequest)(nil), // 7: org.polypheny.prism.SqlNumericFunctionsRequest + (*SqlKeywordsRequest)(nil), // 8: org.polypheny.prism.SqlKeywordsRequest + (*ProceduresRequest)(nil), // 9: org.polypheny.prism.ProceduresRequest + (*ClientInfoPropertiesRequest)(nil), // 10: org.polypheny.prism.ClientInfoPropertiesRequest + (*FunctionsRequest)(nil), // 11: org.polypheny.prism.FunctionsRequest +} +var file_org_polypheny_prism_meta_requests_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_org_polypheny_prism_meta_requests_proto_init() } +func file_org_polypheny_prism_meta_requests_proto_init() { + if File_org_polypheny_prism_meta_requests_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_org_polypheny_prism_meta_requests_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DbmsVersionRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_org_polypheny_prism_meta_requests_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DefaultNamespaceRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_org_polypheny_prism_meta_requests_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*TableTypesRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_org_polypheny_prism_meta_requests_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*TypesRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_org_polypheny_prism_meta_requests_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SqlStringFunctionsRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_org_polypheny_prism_meta_requests_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SqlSystemFunctionsRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_org_polypheny_prism_meta_requests_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SqlTimeDateFunctionsRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_org_polypheny_prism_meta_requests_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SqlNumericFunctionsRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_org_polypheny_prism_meta_requests_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SqlKeywordsRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_org_polypheny_prism_meta_requests_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ProceduresRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_org_polypheny_prism_meta_requests_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ClientInfoPropertiesRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_org_polypheny_prism_meta_requests_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*FunctionsRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + file_org_polypheny_prism_meta_requests_proto_msgTypes[9].OneofWrappers = []interface{}{} + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_org_polypheny_prism_meta_requests_proto_rawDesc, + NumEnums: 0, + NumMessages: 12, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_org_polypheny_prism_meta_requests_proto_goTypes, + DependencyIndexes: file_org_polypheny_prism_meta_requests_proto_depIdxs, + MessageInfos: file_org_polypheny_prism_meta_requests_proto_msgTypes, + }.Build() + File_org_polypheny_prism_meta_requests_proto = out.File + file_org_polypheny_prism_meta_requests_proto_rawDesc = nil + file_org_polypheny_prism_meta_requests_proto_goTypes = nil + file_org_polypheny_prism_meta_requests_proto_depIdxs = nil +} diff --git a/prism/meta_responses.pb.go b/prism/meta_responses.pb.go new file mode 100644 index 0000000..efb18e2 --- /dev/null +++ b/prism/meta_responses.pb.go @@ -0,0 +1,1561 @@ +// +//Messages that are used for querying general metadata. + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.33.0 +// protoc v5.26.0 +// source: org/polypheny/prism/meta_responses.proto + +package prism + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// +//The return type enum is part of the message Procedure and indicates the possible types of return values for a stored procedure. +type Procedure_ReturnType int32 + +const ( + // Indicates that the return type is unspecified. + Procedure_UNSPECIFIED Procedure_ReturnType = 0 + // Indicates that the return type is unknown. + Procedure_UNKNOWN Procedure_ReturnType = 1 + // The procedure does not return a result. + Procedure_NO_RESULT Procedure_ReturnType = 2 + // The procedure returns a result. + Procedure_RESULT Procedure_ReturnType = 3 +) + +// Enum value maps for Procedure_ReturnType. +var ( + Procedure_ReturnType_name = map[int32]string{ + 0: "UNSPECIFIED", + 1: "UNKNOWN", + 2: "NO_RESULT", + 3: "RESULT", + } + Procedure_ReturnType_value = map[string]int32{ + "UNSPECIFIED": 0, + "UNKNOWN": 1, + "NO_RESULT": 2, + "RESULT": 3, + } +) + +func (x Procedure_ReturnType) Enum() *Procedure_ReturnType { + p := new(Procedure_ReturnType) + *p = x + return p +} + +func (x Procedure_ReturnType) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (Procedure_ReturnType) Descriptor() protoreflect.EnumDescriptor { + return file_org_polypheny_prism_meta_responses_proto_enumTypes[0].Descriptor() +} + +func (Procedure_ReturnType) Type() protoreflect.EnumType { + return &file_org_polypheny_prism_meta_responses_proto_enumTypes[0] +} + +func (x Procedure_ReturnType) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use Procedure_ReturnType.Descriptor instead. +func (Procedure_ReturnType) EnumDescriptor() ([]byte, []int) { + return file_org_polypheny_prism_meta_responses_proto_rawDescGZIP(), []int{10, 0} +} + +// +//The DbmsVersionResponse message relays details about the version and name of the database management system (DBMS) in response to a DbmsVersionRequest. +type DbmsVersionResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // The name of the database management system. + DbmsName string `protobuf:"bytes,1,opt,name=dbms_name,json=dbmsName,proto3" json:"dbms_name,omitempty"` + // The full version name of the DBMS. + VersionName string `protobuf:"bytes,2,opt,name=version_name,json=versionName,proto3" json:"version_name,omitempty"` + // The major version number of the DBMS. + MajorVersion int32 `protobuf:"varint,3,opt,name=major_version,json=majorVersion,proto3" json:"major_version,omitempty"` + // The minor version number of the DBMS. + MinorVersion int32 `protobuf:"varint,4,opt,name=minor_version,json=minorVersion,proto3" json:"minor_version,omitempty"` +} + +func (x *DbmsVersionResponse) Reset() { + *x = DbmsVersionResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_org_polypheny_prism_meta_responses_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *DbmsVersionResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*DbmsVersionResponse) ProtoMessage() {} + +func (x *DbmsVersionResponse) ProtoReflect() protoreflect.Message { + mi := &file_org_polypheny_prism_meta_responses_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use DbmsVersionResponse.ProtoReflect.Descriptor instead. +func (*DbmsVersionResponse) Descriptor() ([]byte, []int) { + return file_org_polypheny_prism_meta_responses_proto_rawDescGZIP(), []int{0} +} + +func (x *DbmsVersionResponse) GetDbmsName() string { + if x != nil { + return x.DbmsName + } + return "" +} + +func (x *DbmsVersionResponse) GetVersionName() string { + if x != nil { + return x.VersionName + } + return "" +} + +func (x *DbmsVersionResponse) GetMajorVersion() int32 { + if x != nil { + return x.MajorVersion + } + return 0 +} + +func (x *DbmsVersionResponse) GetMinorVersion() int32 { + if x != nil { + return x.MinorVersion + } + return 0 +} + +// The default namespace +type DefaultNamespaceResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + DefaultNamespace string `protobuf:"bytes,1,opt,name=default_namespace,json=defaultNamespace,proto3" json:"default_namespace,omitempty"` +} + +func (x *DefaultNamespaceResponse) Reset() { + *x = DefaultNamespaceResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_org_polypheny_prism_meta_responses_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *DefaultNamespaceResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*DefaultNamespaceResponse) ProtoMessage() {} + +func (x *DefaultNamespaceResponse) ProtoReflect() protoreflect.Message { + mi := &file_org_polypheny_prism_meta_responses_proto_msgTypes[1] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use DefaultNamespaceResponse.ProtoReflect.Descriptor instead. +func (*DefaultNamespaceResponse) Descriptor() ([]byte, []int) { + return file_org_polypheny_prism_meta_responses_proto_rawDescGZIP(), []int{1} +} + +func (x *DefaultNamespaceResponse) GetDefaultNamespace() string { + if x != nil { + return x.DefaultNamespace + } + return "" +} + +// +//The TableTypesResponse message conveys information about the various table types present in the system. +type TableTypesResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // A list of TableType objects detailing each table type present in the system. + TableTypes []*TableType `protobuf:"bytes,1,rep,name=table_types,json=tableTypes,proto3" json:"table_types,omitempty"` +} + +func (x *TableTypesResponse) Reset() { + *x = TableTypesResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_org_polypheny_prism_meta_responses_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *TableTypesResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*TableTypesResponse) ProtoMessage() {} + +func (x *TableTypesResponse) ProtoReflect() protoreflect.Message { + mi := &file_org_polypheny_prism_meta_responses_proto_msgTypes[2] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use TableTypesResponse.ProtoReflect.Descriptor instead. +func (*TableTypesResponse) Descriptor() ([]byte, []int) { + return file_org_polypheny_prism_meta_responses_proto_rawDescGZIP(), []int{2} +} + +func (x *TableTypesResponse) GetTableTypes() []*TableType { + if x != nil { + return x.TableTypes + } + return nil +} + +// +//The TableType message delineates the nature or category of a table. +type TableType struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // A descriptor denoting the type or category of a table, such as “BASE TABLE”, “VIEW”, or any other classification present in the system. + TableType string `protobuf:"bytes,1,opt,name=table_type,json=tableType,proto3" json:"table_type,omitempty"` +} + +func (x *TableType) Reset() { + *x = TableType{} + if protoimpl.UnsafeEnabled { + mi := &file_org_polypheny_prism_meta_responses_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *TableType) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*TableType) ProtoMessage() {} + +func (x *TableType) ProtoReflect() protoreflect.Message { + mi := &file_org_polypheny_prism_meta_responses_proto_msgTypes[3] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use TableType.ProtoReflect.Descriptor instead. +func (*TableType) Descriptor() ([]byte, []int) { + return file_org_polypheny_prism_meta_responses_proto_rawDescGZIP(), []int{3} +} + +func (x *TableType) GetTableType() string { + if x != nil { + return x.TableType + } + return "" +} + +// +//The TypesResponse message provides a list of native data types supported by the system. +type TypesResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // A list of Type objects detailing each native data type supported by the system. + Types []*Type `protobuf:"bytes,1,rep,name=types,proto3" json:"types,omitempty"` +} + +func (x *TypesResponse) Reset() { + *x = TypesResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_org_polypheny_prism_meta_responses_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *TypesResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*TypesResponse) ProtoMessage() {} + +func (x *TypesResponse) ProtoReflect() protoreflect.Message { + mi := &file_org_polypheny_prism_meta_responses_proto_msgTypes[4] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use TypesResponse.ProtoReflect.Descriptor instead. +func (*TypesResponse) Descriptor() ([]byte, []int) { + return file_org_polypheny_prism_meta_responses_proto_rawDescGZIP(), []int{4} +} + +func (x *TypesResponse) GetTypes() []*Type { + if x != nil { + return x.Types + } + return nil +} + +// +//The Type message describes the characteristics and specifications of a particular native data type. +type Type struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // The name of the data type. + TypeName string `protobuf:"bytes,1,opt,name=type_name,json=typeName,proto3" json:"type_name,omitempty"` + // The number of total digits for numeric types or the maximum length for string and binary types. + Precision int32 `protobuf:"varint,2,opt,name=precision,proto3" json:"precision,omitempty"` + // The character(s) used to prefix a literal of this type (e.g., a single quote for strings). + LiteralPrefix *string `protobuf:"bytes,3,opt,name=literal_prefix,json=literalPrefix,proto3,oneof" json:"literal_prefix,omitempty"` + // The character(s) used to suffix a literal of this type. + LiteralSuffix *string `protobuf:"bytes,4,opt,name=literal_suffix,json=literalSuffix,proto3,oneof" json:"literal_suffix,omitempty"` + // Indicates whether the data type is case sensitive. + IsCaseSensitive bool `protobuf:"varint,5,opt,name=is_case_sensitive,json=isCaseSensitive,proto3" json:"is_case_sensitive,omitempty"` + // Indicates how the data type can be used in WHERE clauses. + IsSearchable int32 `protobuf:"varint,6,opt,name=is_searchable,json=isSearchable,proto3" json:"is_searchable,omitempty"` + // Indicates whether columns of this data type auto-increment. + IsAutoIncrement bool `protobuf:"varint,7,opt,name=is_auto_increment,json=isAutoIncrement,proto3" json:"is_auto_increment,omitempty"` + // The minimum scale for this data type. + MinScale int32 `protobuf:"varint,8,opt,name=min_scale,json=minScale,proto3" json:"min_scale,omitempty"` + // The maximum scale for this data type. + MaxScale int32 `protobuf:"varint,9,opt,name=max_scale,json=maxScale,proto3" json:"max_scale,omitempty"` + // The base number used in representing numeric values. + Radix int32 `protobuf:"varint,10,opt,name=radix,proto3" json:"radix,omitempty"` +} + +func (x *Type) Reset() { + *x = Type{} + if protoimpl.UnsafeEnabled { + mi := &file_org_polypheny_prism_meta_responses_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Type) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Type) ProtoMessage() {} + +func (x *Type) ProtoReflect() protoreflect.Message { + mi := &file_org_polypheny_prism_meta_responses_proto_msgTypes[5] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Type.ProtoReflect.Descriptor instead. +func (*Type) Descriptor() ([]byte, []int) { + return file_org_polypheny_prism_meta_responses_proto_rawDescGZIP(), []int{5} +} + +func (x *Type) GetTypeName() string { + if x != nil { + return x.TypeName + } + return "" +} + +func (x *Type) GetPrecision() int32 { + if x != nil { + return x.Precision + } + return 0 +} + +func (x *Type) GetLiteralPrefix() string { + if x != nil && x.LiteralPrefix != nil { + return *x.LiteralPrefix + } + return "" +} + +func (x *Type) GetLiteralSuffix() string { + if x != nil && x.LiteralSuffix != nil { + return *x.LiteralSuffix + } + return "" +} + +func (x *Type) GetIsCaseSensitive() bool { + if x != nil { + return x.IsCaseSensitive + } + return false +} + +func (x *Type) GetIsSearchable() int32 { + if x != nil { + return x.IsSearchable + } + return 0 +} + +func (x *Type) GetIsAutoIncrement() bool { + if x != nil { + return x.IsAutoIncrement + } + return false +} + +func (x *Type) GetMinScale() int32 { + if x != nil { + return x.MinScale + } + return 0 +} + +func (x *Type) GetMaxScale() int32 { + if x != nil { + return x.MaxScale + } + return 0 +} + +func (x *Type) GetRadix() int32 { + if x != nil { + return x.Radix + } + return 0 +} + +// +//The UserDefinedType message encapsulates details about a specific user-defined data type. +type UserDefinedType struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // The name of the user-defined data type. + TypeName string `protobuf:"bytes,1,opt,name=type_name,json=typeName,proto3" json:"type_name,omitempty"` + // A list of ValueMeta objects detailing the metadata associated with fields of this data type. + ValueMetas []*ValueMeta `protobuf:"bytes,2,rep,name=value_metas,json=valueMetas,proto3" json:"value_metas,omitempty"` +} + +func (x *UserDefinedType) Reset() { + *x = UserDefinedType{} + if protoimpl.UnsafeEnabled { + mi := &file_org_polypheny_prism_meta_responses_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *UserDefinedType) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*UserDefinedType) ProtoMessage() {} + +func (x *UserDefinedType) ProtoReflect() protoreflect.Message { + mi := &file_org_polypheny_prism_meta_responses_proto_msgTypes[6] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use UserDefinedType.ProtoReflect.Descriptor instead. +func (*UserDefinedType) Descriptor() ([]byte, []int) { + return file_org_polypheny_prism_meta_responses_proto_rawDescGZIP(), []int{6} +} + +func (x *UserDefinedType) GetTypeName() string { + if x != nil { + return x.TypeName + } + return "" +} + +func (x *UserDefinedType) GetValueMetas() []*ValueMeta { + if x != nil { + return x.ValueMetas + } + return nil +} + +// +//The ValueMeta message offers insights into the metadata of a specific field related to a user-defined type. +type ValueMeta struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // The name or descriptor of the value’s metadata. + ValueName string `protobuf:"bytes,1,opt,name=value_name,json=valueName,proto3" json:"value_name,omitempty"` +} + +func (x *ValueMeta) Reset() { + *x = ValueMeta{} + if protoimpl.UnsafeEnabled { + mi := &file_org_polypheny_prism_meta_responses_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ValueMeta) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ValueMeta) ProtoMessage() {} + +func (x *ValueMeta) ProtoReflect() protoreflect.Message { + mi := &file_org_polypheny_prism_meta_responses_proto_msgTypes[7] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ValueMeta.ProtoReflect.Descriptor instead. +func (*ValueMeta) Descriptor() ([]byte, []int) { + return file_org_polypheny_prism_meta_responses_proto_rawDescGZIP(), []int{7} +} + +func (x *ValueMeta) GetValueName() string { + if x != nil { + return x.ValueName + } + return "" +} + +// +//The MetaStringResponse message encapsulates a string that represents some specific metadata information. +type MetaStringResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // A string representing the requested metadata information. + String_ string `protobuf:"bytes,1,opt,name=string,proto3" json:"string,omitempty"` +} + +func (x *MetaStringResponse) Reset() { + *x = MetaStringResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_org_polypheny_prism_meta_responses_proto_msgTypes[8] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *MetaStringResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*MetaStringResponse) ProtoMessage() {} + +func (x *MetaStringResponse) ProtoReflect() protoreflect.Message { + mi := &file_org_polypheny_prism_meta_responses_proto_msgTypes[8] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use MetaStringResponse.ProtoReflect.Descriptor instead. +func (*MetaStringResponse) Descriptor() ([]byte, []int) { + return file_org_polypheny_prism_meta_responses_proto_rawDescGZIP(), []int{8} +} + +func (x *MetaStringResponse) GetString_() string { + if x != nil { + return x.String_ + } + return "" +} + +// +//The ProceduresResponse message provides a list of stored procedures available within the system. +type ProceduresResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // A list of Procedure objects detailing each stored procedure present in the system. + Procedures []*Procedure `protobuf:"bytes,1,rep,name=procedures,proto3" json:"procedures,omitempty"` +} + +func (x *ProceduresResponse) Reset() { + *x = ProceduresResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_org_polypheny_prism_meta_responses_proto_msgTypes[9] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ProceduresResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ProceduresResponse) ProtoMessage() {} + +func (x *ProceduresResponse) ProtoReflect() protoreflect.Message { + mi := &file_org_polypheny_prism_meta_responses_proto_msgTypes[9] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ProceduresResponse.ProtoReflect.Descriptor instead. +func (*ProceduresResponse) Descriptor() ([]byte, []int) { + return file_org_polypheny_prism_meta_responses_proto_rawDescGZIP(), []int{9} +} + +func (x *ProceduresResponse) GetProcedures() []*Procedure { + if x != nil { + return x.Procedures + } + return nil +} + +// +//The Procedure message encapsulates details about a specific stored procedure in the system. +type Procedure struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // The simple name of the procedure. + TrivialName string `protobuf:"bytes,1,opt,name=trivial_name,json=trivialName,proto3" json:"trivial_name,omitempty"` + // The input parameters required by the procedure. + InputParameters string `protobuf:"bytes,2,opt,name=input_parameters,json=inputParameters,proto3" json:"input_parameters,omitempty"` + // A brief description or purpose of the procedure. + Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"` + // Enum indicating the return type of the procedure. It can be unspecified, unknown, no result, or result. + ReturnType Procedure_ReturnType `protobuf:"varint,4,opt,name=return_type,json=returnType,proto3,enum=org.polypheny.prism.Procedure_ReturnType" json:"return_type,omitempty"` + // A unique name or identifier for the procedure. + UniqueName string `protobuf:"bytes,5,opt,name=unique_name,json=uniqueName,proto3" json:"unique_name,omitempty"` +} + +func (x *Procedure) Reset() { + *x = Procedure{} + if protoimpl.UnsafeEnabled { + mi := &file_org_polypheny_prism_meta_responses_proto_msgTypes[10] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Procedure) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Procedure) ProtoMessage() {} + +func (x *Procedure) ProtoReflect() protoreflect.Message { + mi := &file_org_polypheny_prism_meta_responses_proto_msgTypes[10] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Procedure.ProtoReflect.Descriptor instead. +func (*Procedure) Descriptor() ([]byte, []int) { + return file_org_polypheny_prism_meta_responses_proto_rawDescGZIP(), []int{10} +} + +func (x *Procedure) GetTrivialName() string { + if x != nil { + return x.TrivialName + } + return "" +} + +func (x *Procedure) GetInputParameters() string { + if x != nil { + return x.InputParameters + } + return "" +} + +func (x *Procedure) GetDescription() string { + if x != nil { + return x.Description + } + return "" +} + +func (x *Procedure) GetReturnType() Procedure_ReturnType { + if x != nil { + return x.ReturnType + } + return Procedure_UNSPECIFIED +} + +func (x *Procedure) GetUniqueName() string { + if x != nil { + return x.UniqueName + } + return "" +} + +// +//The ClientInfoProperties message encapsulates key-value pairs representing client-specific information. +type ClientInfoProperties struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // A mapping of property names to their corresponding values, providing insights or settings related to the client. + Properties map[string]string `protobuf:"bytes,1,rep,name=properties,proto3" json:"properties,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` +} + +func (x *ClientInfoProperties) Reset() { + *x = ClientInfoProperties{} + if protoimpl.UnsafeEnabled { + mi := &file_org_polypheny_prism_meta_responses_proto_msgTypes[11] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ClientInfoProperties) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ClientInfoProperties) ProtoMessage() {} + +func (x *ClientInfoProperties) ProtoReflect() protoreflect.Message { + mi := &file_org_polypheny_prism_meta_responses_proto_msgTypes[11] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ClientInfoProperties.ProtoReflect.Descriptor instead. +func (*ClientInfoProperties) Descriptor() ([]byte, []int) { + return file_org_polypheny_prism_meta_responses_proto_rawDescGZIP(), []int{11} +} + +func (x *ClientInfoProperties) GetProperties() map[string]string { + if x != nil { + return x.Properties + } + return nil +} + +// +//The ClientInfoPropertyResponse message provides metadata about various client-specific properties. +type ClientInfoPropertiesResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *ClientInfoPropertiesResponse) Reset() { + *x = ClientInfoPropertiesResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_org_polypheny_prism_meta_responses_proto_msgTypes[12] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ClientInfoPropertiesResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ClientInfoPropertiesResponse) ProtoMessage() {} + +func (x *ClientInfoPropertiesResponse) ProtoReflect() protoreflect.Message { + mi := &file_org_polypheny_prism_meta_responses_proto_msgTypes[12] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ClientInfoPropertiesResponse.ProtoReflect.Descriptor instead. +func (*ClientInfoPropertiesResponse) Descriptor() ([]byte, []int) { + return file_org_polypheny_prism_meta_responses_proto_rawDescGZIP(), []int{12} +} + +// +//The ClientInfoPropertyMetaResponse message provides metadata about various client-specific properties. +type ClientInfoPropertyMetaResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // A list of ClientInfoPropertyMeta objects detailing metadata for each client-specific property. + ClientInfoPropertyMetas []*ClientInfoPropertyMeta `protobuf:"bytes,1,rep,name=client_info_property_metas,json=clientInfoPropertyMetas,proto3" json:"client_info_property_metas,omitempty"` +} + +func (x *ClientInfoPropertyMetaResponse) Reset() { + *x = ClientInfoPropertyMetaResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_org_polypheny_prism_meta_responses_proto_msgTypes[13] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ClientInfoPropertyMetaResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ClientInfoPropertyMetaResponse) ProtoMessage() {} + +func (x *ClientInfoPropertyMetaResponse) ProtoReflect() protoreflect.Message { + mi := &file_org_polypheny_prism_meta_responses_proto_msgTypes[13] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ClientInfoPropertyMetaResponse.ProtoReflect.Descriptor instead. +func (*ClientInfoPropertyMetaResponse) Descriptor() ([]byte, []int) { + return file_org_polypheny_prism_meta_responses_proto_rawDescGZIP(), []int{13} +} + +func (x *ClientInfoPropertyMetaResponse) GetClientInfoPropertyMetas() []*ClientInfoPropertyMeta { + if x != nil { + return x.ClientInfoPropertyMetas + } + return nil +} + +// +//The ClientInfoPropertyMeta message encapsulates metadata about a specific client property. +type ClientInfoPropertyMeta struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // The unique key identifier for the client property. + Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` + // The default value of the property. + DefaultValue string `protobuf:"bytes,2,opt,name=default_value,json=defaultValue,proto3" json:"default_value,omitempty"` + // Maximum length of the property value. Useful for validation purposes. + Maxlength int32 `protobuf:"varint,3,opt,name=maxlength,proto3" json:"maxlength,omitempty"` + // A brief description explaining the purpose or usage of the property. + Description string `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty"` +} + +func (x *ClientInfoPropertyMeta) Reset() { + *x = ClientInfoPropertyMeta{} + if protoimpl.UnsafeEnabled { + mi := &file_org_polypheny_prism_meta_responses_proto_msgTypes[14] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ClientInfoPropertyMeta) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ClientInfoPropertyMeta) ProtoMessage() {} + +func (x *ClientInfoPropertyMeta) ProtoReflect() protoreflect.Message { + mi := &file_org_polypheny_prism_meta_responses_proto_msgTypes[14] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ClientInfoPropertyMeta.ProtoReflect.Descriptor instead. +func (*ClientInfoPropertyMeta) Descriptor() ([]byte, []int) { + return file_org_polypheny_prism_meta_responses_proto_rawDescGZIP(), []int{14} +} + +func (x *ClientInfoPropertyMeta) GetKey() string { + if x != nil { + return x.Key + } + return "" +} + +func (x *ClientInfoPropertyMeta) GetDefaultValue() string { + if x != nil { + return x.DefaultValue + } + return "" +} + +func (x *ClientInfoPropertyMeta) GetMaxlength() int32 { + if x != nil { + return x.Maxlength + } + return 0 +} + +func (x *ClientInfoPropertyMeta) GetDescription() string { + if x != nil { + return x.Description + } + return "" +} + +// +//The FunctionsResponse message provides a list of functions available within the system. +type FunctionsResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // A list of Function objects detailing each function present in the system. + Functions []*Function `protobuf:"bytes,1,rep,name=functions,proto3" json:"functions,omitempty"` +} + +func (x *FunctionsResponse) Reset() { + *x = FunctionsResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_org_polypheny_prism_meta_responses_proto_msgTypes[15] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *FunctionsResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*FunctionsResponse) ProtoMessage() {} + +func (x *FunctionsResponse) ProtoReflect() protoreflect.Message { + mi := &file_org_polypheny_prism_meta_responses_proto_msgTypes[15] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use FunctionsResponse.ProtoReflect.Descriptor instead. +func (*FunctionsResponse) Descriptor() ([]byte, []int) { + return file_org_polypheny_prism_meta_responses_proto_rawDescGZIP(), []int{15} +} + +func (x *FunctionsResponse) GetFunctions() []*Function { + if x != nil { + return x.Functions + } + return nil +} + +// +//The Function message encapsulates details about a specific function in the system. +type Function struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // The name of the function. + Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` + // The expected syntax for using the function. + Syntax string `protobuf:"bytes,2,opt,name=syntax,proto3" json:"syntax,omitempty"` + // The category to which the function belongs. Helps in categorizing functions for better management and understanding. + FunctionCategory string `protobuf:"bytes,3,opt,name=function_category,json=functionCategory,proto3" json:"function_category,omitempty"` + // Indicates whether the function is a table function. If true, it means the function returns a table; otherwise, it returns a scalar value. + IsTableFunction bool `protobuf:"varint,4,opt,name=is_table_function,json=isTableFunction,proto3" json:"is_table_function,omitempty"` +} + +func (x *Function) Reset() { + *x = Function{} + if protoimpl.UnsafeEnabled { + mi := &file_org_polypheny_prism_meta_responses_proto_msgTypes[16] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Function) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Function) ProtoMessage() {} + +func (x *Function) ProtoReflect() protoreflect.Message { + mi := &file_org_polypheny_prism_meta_responses_proto_msgTypes[16] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Function.ProtoReflect.Descriptor instead. +func (*Function) Descriptor() ([]byte, []int) { + return file_org_polypheny_prism_meta_responses_proto_rawDescGZIP(), []int{16} +} + +func (x *Function) GetName() string { + if x != nil { + return x.Name + } + return "" +} + +func (x *Function) GetSyntax() string { + if x != nil { + return x.Syntax + } + return "" +} + +func (x *Function) GetFunctionCategory() string { + if x != nil { + return x.FunctionCategory + } + return "" +} + +func (x *Function) GetIsTableFunction() bool { + if x != nil { + return x.IsTableFunction + } + return false +} + +var File_org_polypheny_prism_meta_responses_proto protoreflect.FileDescriptor + +var file_org_polypheny_prism_meta_responses_proto_rawDesc = []byte{ + 0x0a, 0x28, 0x6f, 0x72, 0x67, 0x2f, 0x70, 0x6f, 0x6c, 0x79, 0x70, 0x68, 0x65, 0x6e, 0x79, 0x2f, + 0x70, 0x72, 0x69, 0x73, 0x6d, 0x2f, 0x6d, 0x65, 0x74, 0x61, 0x5f, 0x72, 0x65, 0x73, 0x70, 0x6f, + 0x6e, 0x73, 0x65, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x13, 0x6f, 0x72, 0x67, 0x2e, + 0x70, 0x6f, 0x6c, 0x79, 0x70, 0x68, 0x65, 0x6e, 0x79, 0x2e, 0x70, 0x72, 0x69, 0x73, 0x6d, 0x22, + 0x9f, 0x01, 0x0a, 0x13, 0x44, 0x62, 0x6d, 0x73, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x52, + 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x64, 0x62, 0x6d, 0x73, 0x5f, + 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x64, 0x62, 0x6d, 0x73, + 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x21, 0x0a, 0x0c, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x5f, + 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x76, 0x65, 0x72, 0x73, + 0x69, 0x6f, 0x6e, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x23, 0x0a, 0x0d, 0x6d, 0x61, 0x6a, 0x6f, 0x72, + 0x5f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0c, + 0x6d, 0x61, 0x6a, 0x6f, 0x72, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x23, 0x0a, 0x0d, + 0x6d, 0x69, 0x6e, 0x6f, 0x72, 0x5f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x04, 0x20, + 0x01, 0x28, 0x05, 0x52, 0x0c, 0x6d, 0x69, 0x6e, 0x6f, 0x72, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, + 0x6e, 0x22, 0x47, 0x0a, 0x18, 0x44, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x4e, 0x61, 0x6d, 0x65, + 0x73, 0x70, 0x61, 0x63, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2b, 0x0a, + 0x11, 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, + 0x63, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x10, 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, + 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x22, 0x55, 0x0a, 0x12, 0x54, 0x61, + 0x62, 0x6c, 0x65, 0x54, 0x79, 0x70, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, + 0x12, 0x3f, 0x0a, 0x0b, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x73, 0x18, + 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x6f, 0x72, 0x67, 0x2e, 0x70, 0x6f, 0x6c, 0x79, + 0x70, 0x68, 0x65, 0x6e, 0x79, 0x2e, 0x70, 0x72, 0x69, 0x73, 0x6d, 0x2e, 0x54, 0x61, 0x62, 0x6c, + 0x65, 0x54, 0x79, 0x70, 0x65, 0x52, 0x0a, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x54, 0x79, 0x70, 0x65, + 0x73, 0x22, 0x2a, 0x0a, 0x09, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x54, 0x79, 0x70, 0x65, 0x12, 0x1d, + 0x0a, 0x0a, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x09, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x54, 0x79, 0x70, 0x65, 0x22, 0x40, 0x0a, + 0x0d, 0x54, 0x79, 0x70, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2f, + 0x0a, 0x05, 0x74, 0x79, 0x70, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x19, 0x2e, + 0x6f, 0x72, 0x67, 0x2e, 0x70, 0x6f, 0x6c, 0x79, 0x70, 0x68, 0x65, 0x6e, 0x79, 0x2e, 0x70, 0x72, + 0x69, 0x73, 0x6d, 0x2e, 0x54, 0x79, 0x70, 0x65, 0x52, 0x05, 0x74, 0x79, 0x70, 0x65, 0x73, 0x22, + 0x8c, 0x03, 0x0a, 0x04, 0x54, 0x79, 0x70, 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x74, 0x79, 0x70, 0x65, + 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x74, 0x79, 0x70, + 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x70, 0x72, 0x65, 0x63, 0x69, 0x73, 0x69, + 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x09, 0x70, 0x72, 0x65, 0x63, 0x69, 0x73, + 0x69, 0x6f, 0x6e, 0x12, 0x2a, 0x0a, 0x0e, 0x6c, 0x69, 0x74, 0x65, 0x72, 0x61, 0x6c, 0x5f, 0x70, + 0x72, 0x65, 0x66, 0x69, 0x78, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x0d, 0x6c, + 0x69, 0x74, 0x65, 0x72, 0x61, 0x6c, 0x50, 0x72, 0x65, 0x66, 0x69, 0x78, 0x88, 0x01, 0x01, 0x12, + 0x2a, 0x0a, 0x0e, 0x6c, 0x69, 0x74, 0x65, 0x72, 0x61, 0x6c, 0x5f, 0x73, 0x75, 0x66, 0x66, 0x69, + 0x78, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x48, 0x01, 0x52, 0x0d, 0x6c, 0x69, 0x74, 0x65, 0x72, + 0x61, 0x6c, 0x53, 0x75, 0x66, 0x66, 0x69, 0x78, 0x88, 0x01, 0x01, 0x12, 0x2a, 0x0a, 0x11, 0x69, + 0x73, 0x5f, 0x63, 0x61, 0x73, 0x65, 0x5f, 0x73, 0x65, 0x6e, 0x73, 0x69, 0x74, 0x69, 0x76, 0x65, + 0x18, 0x05, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0f, 0x69, 0x73, 0x43, 0x61, 0x73, 0x65, 0x53, 0x65, + 0x6e, 0x73, 0x69, 0x74, 0x69, 0x76, 0x65, 0x12, 0x23, 0x0a, 0x0d, 0x69, 0x73, 0x5f, 0x73, 0x65, + 0x61, 0x72, 0x63, 0x68, 0x61, 0x62, 0x6c, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0c, + 0x69, 0x73, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x61, 0x62, 0x6c, 0x65, 0x12, 0x2a, 0x0a, 0x11, + 0x69, 0x73, 0x5f, 0x61, 0x75, 0x74, 0x6f, 0x5f, 0x69, 0x6e, 0x63, 0x72, 0x65, 0x6d, 0x65, 0x6e, + 0x74, 0x18, 0x07, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0f, 0x69, 0x73, 0x41, 0x75, 0x74, 0x6f, 0x49, + 0x6e, 0x63, 0x72, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x6d, 0x69, 0x6e, 0x5f, + 0x73, 0x63, 0x61, 0x6c, 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x6d, 0x69, 0x6e, + 0x53, 0x63, 0x61, 0x6c, 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x6d, 0x61, 0x78, 0x5f, 0x73, 0x63, 0x61, + 0x6c, 0x65, 0x18, 0x09, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x6d, 0x61, 0x78, 0x53, 0x63, 0x61, + 0x6c, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x72, 0x61, 0x64, 0x69, 0x78, 0x18, 0x0a, 0x20, 0x01, 0x28, + 0x05, 0x52, 0x05, 0x72, 0x61, 0x64, 0x69, 0x78, 0x42, 0x11, 0x0a, 0x0f, 0x5f, 0x6c, 0x69, 0x74, + 0x65, 0x72, 0x61, 0x6c, 0x5f, 0x70, 0x72, 0x65, 0x66, 0x69, 0x78, 0x42, 0x11, 0x0a, 0x0f, 0x5f, + 0x6c, 0x69, 0x74, 0x65, 0x72, 0x61, 0x6c, 0x5f, 0x73, 0x75, 0x66, 0x66, 0x69, 0x78, 0x22, 0x6f, + 0x0a, 0x0f, 0x55, 0x73, 0x65, 0x72, 0x44, 0x65, 0x66, 0x69, 0x6e, 0x65, 0x64, 0x54, 0x79, 0x70, + 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x74, 0x79, 0x70, 0x65, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x74, 0x79, 0x70, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x3f, + 0x0a, 0x0b, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x73, 0x18, 0x02, 0x20, + 0x03, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x6f, 0x72, 0x67, 0x2e, 0x70, 0x6f, 0x6c, 0x79, 0x70, 0x68, + 0x65, 0x6e, 0x79, 0x2e, 0x70, 0x72, 0x69, 0x73, 0x6d, 0x2e, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x4d, + 0x65, 0x74, 0x61, 0x52, 0x0a, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x4d, 0x65, 0x74, 0x61, 0x73, 0x22, + 0x2a, 0x0a, 0x09, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x4d, 0x65, 0x74, 0x61, 0x12, 0x1d, 0x0a, 0x0a, + 0x76, 0x61, 0x6c, 0x75, 0x65, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x09, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x22, 0x2c, 0x0a, 0x12, 0x4d, + 0x65, 0x74, 0x61, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, + 0x65, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x06, 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x22, 0x54, 0x0a, 0x12, 0x50, 0x72, 0x6f, + 0x63, 0x65, 0x64, 0x75, 0x72, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, + 0x3e, 0x0a, 0x0a, 0x70, 0x72, 0x6f, 0x63, 0x65, 0x64, 0x75, 0x72, 0x65, 0x73, 0x18, 0x01, 0x20, + 0x03, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x6f, 0x72, 0x67, 0x2e, 0x70, 0x6f, 0x6c, 0x79, 0x70, 0x68, + 0x65, 0x6e, 0x79, 0x2e, 0x70, 0x72, 0x69, 0x73, 0x6d, 0x2e, 0x50, 0x72, 0x6f, 0x63, 0x65, 0x64, + 0x75, 0x72, 0x65, 0x52, 0x0a, 0x70, 0x72, 0x6f, 0x63, 0x65, 0x64, 0x75, 0x72, 0x65, 0x73, 0x22, + 0xaf, 0x02, 0x0a, 0x09, 0x50, 0x72, 0x6f, 0x63, 0x65, 0x64, 0x75, 0x72, 0x65, 0x12, 0x21, 0x0a, + 0x0c, 0x74, 0x72, 0x69, 0x76, 0x69, 0x61, 0x6c, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x0b, 0x74, 0x72, 0x69, 0x76, 0x69, 0x61, 0x6c, 0x4e, 0x61, 0x6d, 0x65, + 0x12, 0x29, 0x0a, 0x10, 0x69, 0x6e, 0x70, 0x75, 0x74, 0x5f, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x65, + 0x74, 0x65, 0x72, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0f, 0x69, 0x6e, 0x70, 0x75, + 0x74, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x12, 0x20, 0x0a, 0x0b, 0x64, + 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x4a, 0x0a, + 0x0b, 0x72, 0x65, 0x74, 0x75, 0x72, 0x6e, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x04, 0x20, 0x01, + 0x28, 0x0e, 0x32, 0x29, 0x2e, 0x6f, 0x72, 0x67, 0x2e, 0x70, 0x6f, 0x6c, 0x79, 0x70, 0x68, 0x65, + 0x6e, 0x79, 0x2e, 0x70, 0x72, 0x69, 0x73, 0x6d, 0x2e, 0x50, 0x72, 0x6f, 0x63, 0x65, 0x64, 0x75, + 0x72, 0x65, 0x2e, 0x52, 0x65, 0x74, 0x75, 0x72, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x52, 0x0a, 0x72, + 0x65, 0x74, 0x75, 0x72, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x12, 0x1f, 0x0a, 0x0b, 0x75, 0x6e, 0x69, + 0x71, 0x75, 0x65, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, + 0x75, 0x6e, 0x69, 0x71, 0x75, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x22, 0x45, 0x0a, 0x0a, 0x52, 0x65, + 0x74, 0x75, 0x72, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x12, 0x0f, 0x0a, 0x0b, 0x55, 0x4e, 0x53, 0x50, + 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x0b, 0x0a, 0x07, 0x55, 0x4e, 0x4b, + 0x4e, 0x4f, 0x57, 0x4e, 0x10, 0x01, 0x12, 0x0d, 0x0a, 0x09, 0x4e, 0x4f, 0x5f, 0x52, 0x45, 0x53, + 0x55, 0x4c, 0x54, 0x10, 0x02, 0x12, 0x0a, 0x0a, 0x06, 0x52, 0x45, 0x53, 0x55, 0x4c, 0x54, 0x10, + 0x03, 0x22, 0xb0, 0x01, 0x0a, 0x14, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x49, 0x6e, 0x66, 0x6f, + 0x50, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x69, 0x65, 0x73, 0x12, 0x59, 0x0a, 0x0a, 0x70, 0x72, + 0x6f, 0x70, 0x65, 0x72, 0x74, 0x69, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x39, + 0x2e, 0x6f, 0x72, 0x67, 0x2e, 0x70, 0x6f, 0x6c, 0x79, 0x70, 0x68, 0x65, 0x6e, 0x79, 0x2e, 0x70, + 0x72, 0x69, 0x73, 0x6d, 0x2e, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x50, + 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x69, 0x65, 0x73, 0x2e, 0x50, 0x72, 0x6f, 0x70, 0x65, 0x72, + 0x74, 0x69, 0x65, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0a, 0x70, 0x72, 0x6f, 0x70, 0x65, + 0x72, 0x74, 0x69, 0x65, 0x73, 0x1a, 0x3d, 0x0a, 0x0f, 0x50, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, + 0x69, 0x65, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, + 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, + 0x3a, 0x02, 0x38, 0x01, 0x22, 0x1e, 0x0a, 0x1c, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x49, 0x6e, + 0x66, 0x6f, 0x50, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x69, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, + 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x8a, 0x01, 0x0a, 0x1e, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x49, + 0x6e, 0x66, 0x6f, 0x50, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x79, 0x4d, 0x65, 0x74, 0x61, 0x52, + 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x68, 0x0a, 0x1a, 0x63, 0x6c, 0x69, 0x65, 0x6e, + 0x74, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x5f, 0x70, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x79, 0x5f, + 0x6d, 0x65, 0x74, 0x61, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2b, 0x2e, 0x6f, 0x72, + 0x67, 0x2e, 0x70, 0x6f, 0x6c, 0x79, 0x70, 0x68, 0x65, 0x6e, 0x79, 0x2e, 0x70, 0x72, 0x69, 0x73, + 0x6d, 0x2e, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x50, 0x72, 0x6f, 0x70, + 0x65, 0x72, 0x74, 0x79, 0x4d, 0x65, 0x74, 0x61, 0x52, 0x17, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, + 0x49, 0x6e, 0x66, 0x6f, 0x50, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x79, 0x4d, 0x65, 0x74, 0x61, + 0x73, 0x22, 0x8f, 0x01, 0x0a, 0x16, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x49, 0x6e, 0x66, 0x6f, + 0x50, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x79, 0x4d, 0x65, 0x74, 0x61, 0x12, 0x10, 0x0a, 0x03, + 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x23, + 0x0a, 0x0d, 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, + 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x56, 0x61, + 0x6c, 0x75, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x6d, 0x61, 0x78, 0x6c, 0x65, 0x6e, 0x67, 0x74, 0x68, + 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x09, 0x6d, 0x61, 0x78, 0x6c, 0x65, 0x6e, 0x67, 0x74, + 0x68, 0x12, 0x20, 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, + 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, + 0x69, 0x6f, 0x6e, 0x22, 0x50, 0x0a, 0x11, 0x46, 0x75, 0x6e, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, + 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x3b, 0x0a, 0x09, 0x66, 0x75, 0x6e, 0x63, + 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x6f, 0x72, + 0x67, 0x2e, 0x70, 0x6f, 0x6c, 0x79, 0x70, 0x68, 0x65, 0x6e, 0x79, 0x2e, 0x70, 0x72, 0x69, 0x73, + 0x6d, 0x2e, 0x46, 0x75, 0x6e, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x09, 0x66, 0x75, 0x6e, 0x63, + 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x22, 0x8f, 0x01, 0x0a, 0x08, 0x46, 0x75, 0x6e, 0x63, 0x74, 0x69, + 0x6f, 0x6e, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x79, 0x6e, 0x74, 0x61, 0x78, + 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x73, 0x79, 0x6e, 0x74, 0x61, 0x78, 0x12, 0x2b, + 0x0a, 0x11, 0x66, 0x75, 0x6e, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x63, 0x61, 0x74, 0x65, 0x67, + 0x6f, 0x72, 0x79, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x10, 0x66, 0x75, 0x6e, 0x63, 0x74, + 0x69, 0x6f, 0x6e, 0x43, 0x61, 0x74, 0x65, 0x67, 0x6f, 0x72, 0x79, 0x12, 0x2a, 0x0a, 0x11, 0x69, + 0x73, 0x5f, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x66, 0x75, 0x6e, 0x63, 0x74, 0x69, 0x6f, 0x6e, + 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0f, 0x69, 0x73, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x46, + 0x75, 0x6e, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x53, 0x0a, 0x13, 0x6f, 0x72, 0x67, 0x2e, 0x70, + 0x6f, 0x6c, 0x79, 0x70, 0x68, 0x65, 0x6e, 0x79, 0x2e, 0x70, 0x72, 0x69, 0x73, 0x6d, 0x42, 0x0d, + 0x4d, 0x65, 0x74, 0x61, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x73, 0x50, 0x01, 0x5a, + 0x19, 0x6f, 0x72, 0x67, 0x2f, 0x70, 0x6f, 0x6c, 0x79, 0x70, 0x68, 0x65, 0x6e, 0x79, 0x2f, 0x70, + 0x72, 0x69, 0x73, 0x6d, 0x3b, 0x70, 0x72, 0x69, 0x73, 0x6d, 0xaa, 0x02, 0x0f, 0x50, 0x6f, 0x6c, + 0x79, 0x70, 0x68, 0x65, 0x6e, 0x79, 0x2e, 0x50, 0x72, 0x69, 0x73, 0x6d, 0x62, 0x06, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_org_polypheny_prism_meta_responses_proto_rawDescOnce sync.Once + file_org_polypheny_prism_meta_responses_proto_rawDescData = file_org_polypheny_prism_meta_responses_proto_rawDesc +) + +func file_org_polypheny_prism_meta_responses_proto_rawDescGZIP() []byte { + file_org_polypheny_prism_meta_responses_proto_rawDescOnce.Do(func() { + file_org_polypheny_prism_meta_responses_proto_rawDescData = protoimpl.X.CompressGZIP(file_org_polypheny_prism_meta_responses_proto_rawDescData) + }) + return file_org_polypheny_prism_meta_responses_proto_rawDescData +} + +var file_org_polypheny_prism_meta_responses_proto_enumTypes = make([]protoimpl.EnumInfo, 1) +var file_org_polypheny_prism_meta_responses_proto_msgTypes = make([]protoimpl.MessageInfo, 18) +var file_org_polypheny_prism_meta_responses_proto_goTypes = []interface{}{ + (Procedure_ReturnType)(0), // 0: org.polypheny.prism.Procedure.ReturnType + (*DbmsVersionResponse)(nil), // 1: org.polypheny.prism.DbmsVersionResponse + (*DefaultNamespaceResponse)(nil), // 2: org.polypheny.prism.DefaultNamespaceResponse + (*TableTypesResponse)(nil), // 3: org.polypheny.prism.TableTypesResponse + (*TableType)(nil), // 4: org.polypheny.prism.TableType + (*TypesResponse)(nil), // 5: org.polypheny.prism.TypesResponse + (*Type)(nil), // 6: org.polypheny.prism.Type + (*UserDefinedType)(nil), // 7: org.polypheny.prism.UserDefinedType + (*ValueMeta)(nil), // 8: org.polypheny.prism.ValueMeta + (*MetaStringResponse)(nil), // 9: org.polypheny.prism.MetaStringResponse + (*ProceduresResponse)(nil), // 10: org.polypheny.prism.ProceduresResponse + (*Procedure)(nil), // 11: org.polypheny.prism.Procedure + (*ClientInfoProperties)(nil), // 12: org.polypheny.prism.ClientInfoProperties + (*ClientInfoPropertiesResponse)(nil), // 13: org.polypheny.prism.ClientInfoPropertiesResponse + (*ClientInfoPropertyMetaResponse)(nil), // 14: org.polypheny.prism.ClientInfoPropertyMetaResponse + (*ClientInfoPropertyMeta)(nil), // 15: org.polypheny.prism.ClientInfoPropertyMeta + (*FunctionsResponse)(nil), // 16: org.polypheny.prism.FunctionsResponse + (*Function)(nil), // 17: org.polypheny.prism.Function + nil, // 18: org.polypheny.prism.ClientInfoProperties.PropertiesEntry +} +var file_org_polypheny_prism_meta_responses_proto_depIdxs = []int32{ + 4, // 0: org.polypheny.prism.TableTypesResponse.table_types:type_name -> org.polypheny.prism.TableType + 6, // 1: org.polypheny.prism.TypesResponse.types:type_name -> org.polypheny.prism.Type + 8, // 2: org.polypheny.prism.UserDefinedType.value_metas:type_name -> org.polypheny.prism.ValueMeta + 11, // 3: org.polypheny.prism.ProceduresResponse.procedures:type_name -> org.polypheny.prism.Procedure + 0, // 4: org.polypheny.prism.Procedure.return_type:type_name -> org.polypheny.prism.Procedure.ReturnType + 18, // 5: org.polypheny.prism.ClientInfoProperties.properties:type_name -> org.polypheny.prism.ClientInfoProperties.PropertiesEntry + 15, // 6: org.polypheny.prism.ClientInfoPropertyMetaResponse.client_info_property_metas:type_name -> org.polypheny.prism.ClientInfoPropertyMeta + 17, // 7: org.polypheny.prism.FunctionsResponse.functions:type_name -> org.polypheny.prism.Function + 8, // [8:8] is the sub-list for method output_type + 8, // [8:8] is the sub-list for method input_type + 8, // [8:8] is the sub-list for extension type_name + 8, // [8:8] is the sub-list for extension extendee + 0, // [0:8] is the sub-list for field type_name +} + +func init() { file_org_polypheny_prism_meta_responses_proto_init() } +func file_org_polypheny_prism_meta_responses_proto_init() { + if File_org_polypheny_prism_meta_responses_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_org_polypheny_prism_meta_responses_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DbmsVersionResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_org_polypheny_prism_meta_responses_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DefaultNamespaceResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_org_polypheny_prism_meta_responses_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*TableTypesResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_org_polypheny_prism_meta_responses_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*TableType); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_org_polypheny_prism_meta_responses_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*TypesResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_org_polypheny_prism_meta_responses_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Type); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_org_polypheny_prism_meta_responses_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*UserDefinedType); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_org_polypheny_prism_meta_responses_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ValueMeta); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_org_polypheny_prism_meta_responses_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*MetaStringResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_org_polypheny_prism_meta_responses_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ProceduresResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_org_polypheny_prism_meta_responses_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Procedure); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_org_polypheny_prism_meta_responses_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ClientInfoProperties); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_org_polypheny_prism_meta_responses_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ClientInfoPropertiesResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_org_polypheny_prism_meta_responses_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ClientInfoPropertyMetaResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_org_polypheny_prism_meta_responses_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ClientInfoPropertyMeta); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_org_polypheny_prism_meta_responses_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*FunctionsResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_org_polypheny_prism_meta_responses_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Function); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + file_org_polypheny_prism_meta_responses_proto_msgTypes[5].OneofWrappers = []interface{}{} + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_org_polypheny_prism_meta_responses_proto_rawDesc, + NumEnums: 1, + NumMessages: 18, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_org_polypheny_prism_meta_responses_proto_goTypes, + DependencyIndexes: file_org_polypheny_prism_meta_responses_proto_depIdxs, + EnumInfos: file_org_polypheny_prism_meta_responses_proto_enumTypes, + MessageInfos: file_org_polypheny_prism_meta_responses_proto_msgTypes, + }.Build() + File_org_polypheny_prism_meta_responses_proto = out.File + file_org_polypheny_prism_meta_responses_proto_rawDesc = nil + file_org_polypheny_prism_meta_responses_proto_goTypes = nil + file_org_polypheny_prism_meta_responses_proto_depIdxs = nil +} diff --git a/prism/namespace_meta_requests.pb.go b/prism/namespace_meta_requests.pb.go new file mode 100644 index 0000000..d4fd07e --- /dev/null +++ b/prism/namespace_meta_requests.pb.go @@ -0,0 +1,255 @@ +// +//Messages related to describing the metadata of namespaces and their entities. + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.33.0 +// protoc v5.26.0 +// source: org/polypheny/prism/namespace_meta_requests.proto + +package prism + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// +//The NamespacesRequest message allows querying for namespaces based on specific patterns in their names as well as their types. +type NamespacesRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // + //An optional pattern that can be used to filter the returned namespaces based on their names. + //For example, using a pattern like “user_*” might return all namespaces starting with “user_”. + NamespacePattern *string `protobuf:"bytes,1,opt,name=namespace_pattern,json=namespacePattern,proto3,oneof" json:"namespace_pattern,omitempty"` + // An optional type specifier that can be used to filter namespaces based on their type. This allows clients to request namespaces of a particular type. + NamespaceType *string `protobuf:"bytes,2,opt,name=namespace_type,json=namespaceType,proto3,oneof" json:"namespace_type,omitempty"` +} + +func (x *NamespacesRequest) Reset() { + *x = NamespacesRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_org_polypheny_prism_namespace_meta_requests_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *NamespacesRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*NamespacesRequest) ProtoMessage() {} + +func (x *NamespacesRequest) ProtoReflect() protoreflect.Message { + mi := &file_org_polypheny_prism_namespace_meta_requests_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use NamespacesRequest.ProtoReflect.Descriptor instead. +func (*NamespacesRequest) Descriptor() ([]byte, []int) { + return file_org_polypheny_prism_namespace_meta_requests_proto_rawDescGZIP(), []int{0} +} + +func (x *NamespacesRequest) GetNamespacePattern() string { + if x != nil && x.NamespacePattern != nil { + return *x.NamespacePattern + } + return "" +} + +func (x *NamespacesRequest) GetNamespaceType() string { + if x != nil && x.NamespaceType != nil { + return *x.NamespaceType + } + return "" +} + +// +//The EntitiesRequest message is meant for querying details about entities within a specific namespace, possibly using a pattern to narrow down the results. +type EntitiesRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // The name of the namespace within which entities are to be searched. + NamespaceName string `protobuf:"bytes,1,opt,name=namespace_name,json=namespaceName,proto3" json:"namespace_name,omitempty"` + // An optional pattern for filtering the returned entities. This can help in narrowing down the list of entities based on a naming pattern or other criteria. + EntityPattern *string `protobuf:"bytes,2,opt,name=entity_pattern,json=entityPattern,proto3,oneof" json:"entity_pattern,omitempty"` +} + +func (x *EntitiesRequest) Reset() { + *x = EntitiesRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_org_polypheny_prism_namespace_meta_requests_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *EntitiesRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*EntitiesRequest) ProtoMessage() {} + +func (x *EntitiesRequest) ProtoReflect() protoreflect.Message { + mi := &file_org_polypheny_prism_namespace_meta_requests_proto_msgTypes[1] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use EntitiesRequest.ProtoReflect.Descriptor instead. +func (*EntitiesRequest) Descriptor() ([]byte, []int) { + return file_org_polypheny_prism_namespace_meta_requests_proto_rawDescGZIP(), []int{1} +} + +func (x *EntitiesRequest) GetNamespaceName() string { + if x != nil { + return x.NamespaceName + } + return "" +} + +func (x *EntitiesRequest) GetEntityPattern() string { + if x != nil && x.EntityPattern != nil { + return *x.EntityPattern + } + return "" +} + +var File_org_polypheny_prism_namespace_meta_requests_proto protoreflect.FileDescriptor + +var file_org_polypheny_prism_namespace_meta_requests_proto_rawDesc = []byte{ + 0x0a, 0x31, 0x6f, 0x72, 0x67, 0x2f, 0x70, 0x6f, 0x6c, 0x79, 0x70, 0x68, 0x65, 0x6e, 0x79, 0x2f, + 0x70, 0x72, 0x69, 0x73, 0x6d, 0x2f, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x5f, + 0x6d, 0x65, 0x74, 0x61, 0x5f, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x73, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x12, 0x13, 0x6f, 0x72, 0x67, 0x2e, 0x70, 0x6f, 0x6c, 0x79, 0x70, 0x68, 0x65, + 0x6e, 0x79, 0x2e, 0x70, 0x72, 0x69, 0x73, 0x6d, 0x22, 0x9a, 0x01, 0x0a, 0x11, 0x4e, 0x61, 0x6d, + 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x30, + 0x0a, 0x11, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x5f, 0x70, 0x61, 0x74, 0x74, + 0x65, 0x72, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x10, 0x6e, 0x61, 0x6d, + 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x50, 0x61, 0x74, 0x74, 0x65, 0x72, 0x6e, 0x88, 0x01, 0x01, + 0x12, 0x2a, 0x0a, 0x0e, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x5f, 0x74, 0x79, + 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x48, 0x01, 0x52, 0x0d, 0x6e, 0x61, 0x6d, 0x65, + 0x73, 0x70, 0x61, 0x63, 0x65, 0x54, 0x79, 0x70, 0x65, 0x88, 0x01, 0x01, 0x42, 0x14, 0x0a, 0x12, + 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x5f, 0x70, 0x61, 0x74, 0x74, 0x65, + 0x72, 0x6e, 0x42, 0x11, 0x0a, 0x0f, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, + 0x5f, 0x74, 0x79, 0x70, 0x65, 0x22, 0x77, 0x0a, 0x0f, 0x45, 0x6e, 0x74, 0x69, 0x74, 0x69, 0x65, + 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x25, 0x0a, 0x0e, 0x6e, 0x61, 0x6d, 0x65, + 0x73, 0x70, 0x61, 0x63, 0x65, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x0d, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x12, + 0x2a, 0x0a, 0x0e, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x5f, 0x70, 0x61, 0x74, 0x74, 0x65, 0x72, + 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x0d, 0x65, 0x6e, 0x74, 0x69, 0x74, + 0x79, 0x50, 0x61, 0x74, 0x74, 0x65, 0x72, 0x6e, 0x88, 0x01, 0x01, 0x42, 0x11, 0x0a, 0x0f, 0x5f, + 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x5f, 0x70, 0x61, 0x74, 0x74, 0x65, 0x72, 0x6e, 0x42, 0x53, + 0x0a, 0x13, 0x6f, 0x72, 0x67, 0x2e, 0x70, 0x6f, 0x6c, 0x79, 0x70, 0x68, 0x65, 0x6e, 0x79, 0x2e, + 0x70, 0x72, 0x69, 0x73, 0x6d, 0x42, 0x0d, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, + 0x4d, 0x65, 0x74, 0x61, 0x50, 0x01, 0x5a, 0x19, 0x6f, 0x72, 0x67, 0x2f, 0x70, 0x6f, 0x6c, 0x79, + 0x70, 0x68, 0x65, 0x6e, 0x79, 0x2f, 0x70, 0x72, 0x69, 0x73, 0x6d, 0x3b, 0x70, 0x72, 0x69, 0x73, + 0x6d, 0xaa, 0x02, 0x0f, 0x50, 0x6f, 0x6c, 0x79, 0x70, 0x68, 0x65, 0x6e, 0x79, 0x2e, 0x50, 0x72, + 0x69, 0x73, 0x6d, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_org_polypheny_prism_namespace_meta_requests_proto_rawDescOnce sync.Once + file_org_polypheny_prism_namespace_meta_requests_proto_rawDescData = file_org_polypheny_prism_namespace_meta_requests_proto_rawDesc +) + +func file_org_polypheny_prism_namespace_meta_requests_proto_rawDescGZIP() []byte { + file_org_polypheny_prism_namespace_meta_requests_proto_rawDescOnce.Do(func() { + file_org_polypheny_prism_namespace_meta_requests_proto_rawDescData = protoimpl.X.CompressGZIP(file_org_polypheny_prism_namespace_meta_requests_proto_rawDescData) + }) + return file_org_polypheny_prism_namespace_meta_requests_proto_rawDescData +} + +var file_org_polypheny_prism_namespace_meta_requests_proto_msgTypes = make([]protoimpl.MessageInfo, 2) +var file_org_polypheny_prism_namespace_meta_requests_proto_goTypes = []interface{}{ + (*NamespacesRequest)(nil), // 0: org.polypheny.prism.NamespacesRequest + (*EntitiesRequest)(nil), // 1: org.polypheny.prism.EntitiesRequest +} +var file_org_polypheny_prism_namespace_meta_requests_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_org_polypheny_prism_namespace_meta_requests_proto_init() } +func file_org_polypheny_prism_namespace_meta_requests_proto_init() { + if File_org_polypheny_prism_namespace_meta_requests_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_org_polypheny_prism_namespace_meta_requests_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*NamespacesRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_org_polypheny_prism_namespace_meta_requests_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*EntitiesRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + file_org_polypheny_prism_namespace_meta_requests_proto_msgTypes[0].OneofWrappers = []interface{}{} + file_org_polypheny_prism_namespace_meta_requests_proto_msgTypes[1].OneofWrappers = []interface{}{} + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_org_polypheny_prism_namespace_meta_requests_proto_rawDesc, + NumEnums: 0, + NumMessages: 2, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_org_polypheny_prism_namespace_meta_requests_proto_goTypes, + DependencyIndexes: file_org_polypheny_prism_namespace_meta_requests_proto_depIdxs, + MessageInfos: file_org_polypheny_prism_namespace_meta_requests_proto_msgTypes, + }.Build() + File_org_polypheny_prism_namespace_meta_requests_proto = out.File + file_org_polypheny_prism_namespace_meta_requests_proto_rawDesc = nil + file_org_polypheny_prism_namespace_meta_requests_proto_goTypes = nil + file_org_polypheny_prism_namespace_meta_requests_proto_depIdxs = nil +} diff --git a/prism/namespace_meta_responses.pb.go b/prism/namespace_meta_responses.pb.go new file mode 100644 index 0000000..7316da8 --- /dev/null +++ b/prism/namespace_meta_responses.pb.go @@ -0,0 +1,1650 @@ +// +//Messages related to describing the metadata of namespaces and their entities. + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.33.0 +// protoc v5.26.0 +// source: org/polypheny/prism/namespace_meta_responses.proto + +package prism + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// +//The PrimaryKey message provides details about a table’s primary key. +type Column_ColumnType int32 + +const ( + // The database where the primary key’s table is located. + Column_UNSPECIFIED Column_ColumnType = 0 + // The namespace or schema of the primary key’s table. + Column_REGULAR Column_ColumnType = 1 + // The table with this primary key. + Column_CALCULATED Column_ColumnType = 2 + // The columns that make up the primary key. + Column_VERSION Column_ColumnType = 3 +) + +// Enum value maps for Column_ColumnType. +var ( + Column_ColumnType_name = map[int32]string{ + 0: "UNSPECIFIED", + 1: "REGULAR", + 2: "CALCULATED", + 3: "VERSION", + } + Column_ColumnType_value = map[string]int32{ + "UNSPECIFIED": 0, + "REGULAR": 1, + "CALCULATED": 2, + "VERSION": 3, + } +) + +func (x Column_ColumnType) Enum() *Column_ColumnType { + p := new(Column_ColumnType) + *p = x + return p +} + +func (x Column_ColumnType) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (Column_ColumnType) Descriptor() protoreflect.EnumDescriptor { + return file_org_polypheny_prism_namespace_meta_responses_proto_enumTypes[0].Descriptor() +} + +func (Column_ColumnType) Type() protoreflect.EnumType { + return &file_org_polypheny_prism_namespace_meta_responses_proto_enumTypes[0] +} + +func (x Column_ColumnType) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use Column_ColumnType.Descriptor instead. +func (Column_ColumnType) EnumDescriptor() ([]byte, []int) { + return file_org_polypheny_prism_namespace_meta_responses_proto_rawDescGZIP(), []int{5, 0} +} + +// +//The NamespacesResponse message delivers a list of namespaces based on the provided criteria in the NamespacesRequest. +type NamespacesResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // A list of Namespace messages containing information about each namespace that matches the search criteria. + Namespaces []*Namespace `protobuf:"bytes,1,rep,name=namespaces,proto3" json:"namespaces,omitempty"` +} + +func (x *NamespacesResponse) Reset() { + *x = NamespacesResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_org_polypheny_prism_namespace_meta_responses_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *NamespacesResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*NamespacesResponse) ProtoMessage() {} + +func (x *NamespacesResponse) ProtoReflect() protoreflect.Message { + mi := &file_org_polypheny_prism_namespace_meta_responses_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use NamespacesResponse.ProtoReflect.Descriptor instead. +func (*NamespacesResponse) Descriptor() ([]byte, []int) { + return file_org_polypheny_prism_namespace_meta_responses_proto_rawDescGZIP(), []int{0} +} + +func (x *NamespacesResponse) GetNamespaces() []*Namespace { + if x != nil { + return x.Namespaces + } + return nil +} + +// +//The EntitiesResponse message returns a list of entities that match the provided criteria from the EntitiesRequest. +type EntitiesResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // A list of Entity messages containing information about each entity within the requested namespace. + Entities []*Entity `protobuf:"bytes,1,rep,name=entities,proto3" json:"entities,omitempty"` +} + +func (x *EntitiesResponse) Reset() { + *x = EntitiesResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_org_polypheny_prism_namespace_meta_responses_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *EntitiesResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*EntitiesResponse) ProtoMessage() {} + +func (x *EntitiesResponse) ProtoReflect() protoreflect.Message { + mi := &file_org_polypheny_prism_namespace_meta_responses_proto_msgTypes[1] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use EntitiesResponse.ProtoReflect.Descriptor instead. +func (*EntitiesResponse) Descriptor() ([]byte, []int) { + return file_org_polypheny_prism_namespace_meta_responses_proto_rawDescGZIP(), []int{1} +} + +func (x *EntitiesResponse) GetEntities() []*Entity { + if x != nil { + return x.Entities + } + return nil +} + +// +//The Namespace message provides detailed information about a specific namespace. +type Namespace struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // The name of the namespace. + NamespaceName string `protobuf:"bytes,1,opt,name=namespace_name,json=namespaceName,proto3" json:"namespace_name,omitempty"` + // Indicates if the namespace name is case sensitive. + IsCaseSensitive bool `protobuf:"varint,4,opt,name=is_case_sensitive,json=isCaseSensitive,proto3" json:"is_case_sensitive,omitempty"` + // An optional field providing the type of the namespace, if applicable. + NamespaceType *string `protobuf:"bytes,5,opt,name=namespace_type,json=namespaceType,proto3,oneof" json:"namespace_type,omitempty"` +} + +func (x *Namespace) Reset() { + *x = Namespace{} + if protoimpl.UnsafeEnabled { + mi := &file_org_polypheny_prism_namespace_meta_responses_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Namespace) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Namespace) ProtoMessage() {} + +func (x *Namespace) ProtoReflect() protoreflect.Message { + mi := &file_org_polypheny_prism_namespace_meta_responses_proto_msgTypes[2] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Namespace.ProtoReflect.Descriptor instead. +func (*Namespace) Descriptor() ([]byte, []int) { + return file_org_polypheny_prism_namespace_meta_responses_proto_rawDescGZIP(), []int{2} +} + +func (x *Namespace) GetNamespaceName() string { + if x != nil { + return x.NamespaceName + } + return "" +} + +func (x *Namespace) GetIsCaseSensitive() bool { + if x != nil { + return x.IsCaseSensitive + } + return false +} + +func (x *Namespace) GetNamespaceType() string { + if x != nil && x.NamespaceType != nil { + return *x.NamespaceType + } + return "" +} + +// +//The Entity message acts as a generic wrapper for different of entities metadata messages. +//Only one of the entities metadata fields can be set for a given message instance. +//Different entity metadata messages are used to represent the metadata of different entity types. +//The available entity metadata messages are, Table for relational entities, Graph for labeled property graph entities and +//Document for entities in the document model. +type Entity struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Types that are assignable to Entity: + // *Entity_Table + // *Entity_Graph + // *Entity_Document + Entity isEntity_Entity `protobuf_oneof:"Entity"` +} + +func (x *Entity) Reset() { + *x = Entity{} + if protoimpl.UnsafeEnabled { + mi := &file_org_polypheny_prism_namespace_meta_responses_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Entity) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Entity) ProtoMessage() {} + +func (x *Entity) ProtoReflect() protoreflect.Message { + mi := &file_org_polypheny_prism_namespace_meta_responses_proto_msgTypes[3] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Entity.ProtoReflect.Descriptor instead. +func (*Entity) Descriptor() ([]byte, []int) { + return file_org_polypheny_prism_namespace_meta_responses_proto_rawDescGZIP(), []int{3} +} + +func (m *Entity) GetEntity() isEntity_Entity { + if m != nil { + return m.Entity + } + return nil +} + +func (x *Entity) GetTable() *Table { + if x, ok := x.GetEntity().(*Entity_Table); ok { + return x.Table + } + return nil +} + +func (x *Entity) GetGraph() *Graph { + if x, ok := x.GetEntity().(*Entity_Graph); ok { + return x.Graph + } + return nil +} + +func (x *Entity) GetDocument() *Document { + if x, ok := x.GetEntity().(*Entity_Document); ok { + return x.Document + } + return nil +} + +type isEntity_Entity interface { + isEntity_Entity() +} + +type Entity_Table struct { + // An entity of type Table. + Table *Table `protobuf:"bytes,1,opt,name=table,proto3,oneof"` +} + +type Entity_Graph struct { + // An entity of type Graph. + Graph *Graph `protobuf:"bytes,2,opt,name=graph,proto3,oneof"` +} + +type Entity_Document struct { + // An entity of type Document. + Document *Document `protobuf:"bytes,3,opt,name=document,proto3,oneof"` // add other entities known in other models +} + +func (*Entity_Table) isEntity_Entity() {} + +func (*Entity_Graph) isEntity_Entity() {} + +func (*Entity_Document) isEntity_Entity() {} + +// +//The Table message provides comprehensive information about a specific table within a database. +type Table struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // The namespace or schema where the table is located. + NamespaceName string `protobuf:"bytes,2,opt,name=namespace_name,json=namespaceName,proto3" json:"namespace_name,omitempty"` + // The name of the table. + TableName string `protobuf:"bytes,3,opt,name=table_name,json=tableName,proto3" json:"table_name,omitempty"` + // The type of the table (e.g., BASE TABLE, VIEW). + TableType string `protobuf:"bytes,4,opt,name=table_type,json=tableType,proto3" json:"table_type,omitempty"` + // A list of Column messages providing information about each column in the table. + Columns []*Column `protobuf:"bytes,6,rep,name=columns,proto3" json:"columns,omitempty"` + // An optional PrimaryKey message, providing details about the primary key of the table. + PrimaryKey *PrimaryKey `protobuf:"bytes,7,opt,name=primary_key,json=primaryKey,proto3,oneof" json:"primary_key,omitempty"` + // A list of ForeignKey messages detailing the foreign keys associated with the table. + ForeignKeys []*ForeignKey `protobuf:"bytes,8,rep,name=foreign_keys,json=foreignKeys,proto3" json:"foreign_keys,omitempty"` + // A list of ForeignKey messages detailing the keys in other tables that reference this table. + ExportedKeys []*ForeignKey `protobuf:"bytes,9,rep,name=exported_keys,json=exportedKeys,proto3" json:"exported_keys,omitempty"` + // A list of Index messages detailing the indexes defined on the table. + Indexes []*Index `protobuf:"bytes,10,rep,name=indexes,proto3" json:"indexes,omitempty"` +} + +func (x *Table) Reset() { + *x = Table{} + if protoimpl.UnsafeEnabled { + mi := &file_org_polypheny_prism_namespace_meta_responses_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Table) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Table) ProtoMessage() {} + +func (x *Table) ProtoReflect() protoreflect.Message { + mi := &file_org_polypheny_prism_namespace_meta_responses_proto_msgTypes[4] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Table.ProtoReflect.Descriptor instead. +func (*Table) Descriptor() ([]byte, []int) { + return file_org_polypheny_prism_namespace_meta_responses_proto_rawDescGZIP(), []int{4} +} + +func (x *Table) GetNamespaceName() string { + if x != nil { + return x.NamespaceName + } + return "" +} + +func (x *Table) GetTableName() string { + if x != nil { + return x.TableName + } + return "" +} + +func (x *Table) GetTableType() string { + if x != nil { + return x.TableType + } + return "" +} + +func (x *Table) GetColumns() []*Column { + if x != nil { + return x.Columns + } + return nil +} + +func (x *Table) GetPrimaryKey() *PrimaryKey { + if x != nil { + return x.PrimaryKey + } + return nil +} + +func (x *Table) GetForeignKeys() []*ForeignKey { + if x != nil { + return x.ForeignKeys + } + return nil +} + +func (x *Table) GetExportedKeys() []*ForeignKey { + if x != nil { + return x.ExportedKeys + } + return nil +} + +func (x *Table) GetIndexes() []*Index { + if x != nil { + return x.Indexes + } + return nil +} + +// +//The Column message describes the attributes of a specific column within a table. +type Column struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // The namespace or schema of the column’s table. + NamespaceName string `protobuf:"bytes,2,opt,name=namespace_name,json=namespaceName,proto3" json:"namespace_name,omitempty"` + // The table to which this column belongs. + TableName string `protobuf:"bytes,3,opt,name=table_name,json=tableName,proto3" json:"table_name,omitempty"` + // The name of the column. + ColumnName string `protobuf:"bytes,4,opt,name=column_name,json=columnName,proto3" json:"column_name,omitempty"` + // The data type of the column. + TypeName string `protobuf:"bytes,5,opt,name=type_name,json=typeName,proto3" json:"type_name,omitempty"` + // The length or size of the column type, if applicable. + TypeLength *int32 `protobuf:"varint,6,opt,name=type_length,json=typeLength,proto3,oneof" json:"type_length,omitempty"` + // The scale of the column type, if applicable. + TypeScale *int32 `protobuf:"varint,7,opt,name=type_scale,json=typeScale,proto3,oneof" json:"type_scale,omitempty"` + // Indicates if the column can contain null values. + IsNullable bool `protobuf:"varint,8,opt,name=is_nullable,json=isNullable,proto3" json:"is_nullable,omitempty"` + // The default value of the column, represented as a string. + DefaultValueAsString *string `protobuf:"bytes,9,opt,name=default_value_as_string,json=defaultValueAsString,proto3,oneof" json:"default_value_as_string,omitempty"` + // The positional index of the column in the table. + ColumnIndex int32 `protobuf:"varint,10,opt,name=column_index,json=columnIndex,proto3" json:"column_index,omitempty"` + // The collation name for the column, if applicable. + Collation *string `protobuf:"bytes,11,opt,name=collation,proto3,oneof" json:"collation,omitempty"` + // Indicates if the column is hidden. + IsHidden bool `protobuf:"varint,12,opt,name=is_hidden,json=isHidden,proto3" json:"is_hidden,omitempty"` + // An enumeration indicating the type of column (e.g., REGULAR, CALCULATED, VERSION). + ColumnType Column_ColumnType `protobuf:"varint,13,opt,name=column_type,json=columnType,proto3,enum=org.polypheny.prism.Column_ColumnType" json:"column_type,omitempty"` +} + +func (x *Column) Reset() { + *x = Column{} + if protoimpl.UnsafeEnabled { + mi := &file_org_polypheny_prism_namespace_meta_responses_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Column) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Column) ProtoMessage() {} + +func (x *Column) ProtoReflect() protoreflect.Message { + mi := &file_org_polypheny_prism_namespace_meta_responses_proto_msgTypes[5] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Column.ProtoReflect.Descriptor instead. +func (*Column) Descriptor() ([]byte, []int) { + return file_org_polypheny_prism_namespace_meta_responses_proto_rawDescGZIP(), []int{5} +} + +func (x *Column) GetNamespaceName() string { + if x != nil { + return x.NamespaceName + } + return "" +} + +func (x *Column) GetTableName() string { + if x != nil { + return x.TableName + } + return "" +} + +func (x *Column) GetColumnName() string { + if x != nil { + return x.ColumnName + } + return "" +} + +func (x *Column) GetTypeName() string { + if x != nil { + return x.TypeName + } + return "" +} + +func (x *Column) GetTypeLength() int32 { + if x != nil && x.TypeLength != nil { + return *x.TypeLength + } + return 0 +} + +func (x *Column) GetTypeScale() int32 { + if x != nil && x.TypeScale != nil { + return *x.TypeScale + } + return 0 +} + +func (x *Column) GetIsNullable() bool { + if x != nil { + return x.IsNullable + } + return false +} + +func (x *Column) GetDefaultValueAsString() string { + if x != nil && x.DefaultValueAsString != nil { + return *x.DefaultValueAsString + } + return "" +} + +func (x *Column) GetColumnIndex() int32 { + if x != nil { + return x.ColumnIndex + } + return 0 +} + +func (x *Column) GetCollation() string { + if x != nil && x.Collation != nil { + return *x.Collation + } + return "" +} + +func (x *Column) GetIsHidden() bool { + if x != nil { + return x.IsHidden + } + return false +} + +func (x *Column) GetColumnType() Column_ColumnType { + if x != nil { + return x.ColumnType + } + return Column_UNSPECIFIED +} + +// +//The PrimaryKey message provides details about a table’s primary key. +type PrimaryKey struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // The database where the primary key’s table is located. + DatabaseName string `protobuf:"bytes,1,opt,name=database_name,json=databaseName,proto3" json:"database_name,omitempty"` + // The namespace or schema of the primary key’s table. + NamespaceName string `protobuf:"bytes,2,opt,name=namespace_name,json=namespaceName,proto3" json:"namespace_name,omitempty"` + // The table with this primary key. + TableName string `protobuf:"bytes,3,opt,name=table_name,json=tableName,proto3" json:"table_name,omitempty"` + // The columns that make up the primary key. + Columns []*Column `protobuf:"bytes,4,rep,name=columns,proto3" json:"columns,omitempty"` +} + +func (x *PrimaryKey) Reset() { + *x = PrimaryKey{} + if protoimpl.UnsafeEnabled { + mi := &file_org_polypheny_prism_namespace_meta_responses_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *PrimaryKey) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PrimaryKey) ProtoMessage() {} + +func (x *PrimaryKey) ProtoReflect() protoreflect.Message { + mi := &file_org_polypheny_prism_namespace_meta_responses_proto_msgTypes[6] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use PrimaryKey.ProtoReflect.Descriptor instead. +func (*PrimaryKey) Descriptor() ([]byte, []int) { + return file_org_polypheny_prism_namespace_meta_responses_proto_rawDescGZIP(), []int{6} +} + +func (x *PrimaryKey) GetDatabaseName() string { + if x != nil { + return x.DatabaseName + } + return "" +} + +func (x *PrimaryKey) GetNamespaceName() string { + if x != nil { + return x.NamespaceName + } + return "" +} + +func (x *PrimaryKey) GetTableName() string { + if x != nil { + return x.TableName + } + return "" +} + +func (x *PrimaryKey) GetColumns() []*Column { + if x != nil { + return x.Columns + } + return nil +} + +// +//The ForeignKey message details a foreign key relationship between tables, providing information about the linkage between a table's column(s) and the column(s) of another table it references. +//This relationship is crucial for maintaining referential integrity within the database. +type ForeignKey struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // + //The namespace or schema of the referenced table. + //This indicates the specific namespace or schema within the database where the referenced table resides. + ReferencedNamespaceName *string `protobuf:"bytes,2,opt,name=referenced_namespace_name,json=referencedNamespaceName,proto3,oneof" json:"referenced_namespace_name,omitempty"` + // + //The table being referenced by the foreign key. + //This field identifies the target table that contains the referenced columns. + ReferencedTableName string `protobuf:"bytes,3,opt,name=referenced_table_name,json=referencedTableName,proto3" json:"referenced_table_name,omitempty"` + // The columns in the referenced table. These are the columns in the referenced table that the foreign key points to. + ReferencedColumns []*Column `protobuf:"bytes,4,rep,name=referenced_columns,json=referencedColumns,proto3" json:"referenced_columns,omitempty"` + // + //The columns in the current table that make up the foreign key. + //These columns in the table contain the foreign key constraint reference the corresponding columns in the referenced table. + ForeignColumns []*Column `protobuf:"bytes,8,rep,name=foreign_columns,json=foreignColumns,proto3" json:"foreign_columns,omitempty"` + // + //A numeric representation of the action taken when a referenced row is updated. + //This rule determines how changes to the referenced columns affect the rows that hold the foreign key. + UpdateRule int32 `protobuf:"varint,10,opt,name=update_rule,json=updateRule,proto3" json:"update_rule,omitempty"` + // + //A numeric representation of the action taken when a referenced row is deleted. + //Similar to the update rule, this defines the behavior of the foreign key relationship when rows in the referenced table are deleted. + DeleteRule int32 `protobuf:"varint,11,opt,name=delete_rule,json=deleteRule,proto3" json:"delete_rule,omitempty"` + // + //An optional name for the foreign key constraint. + //This allows for the naming of the foreign key constraint for easier reference and management within the database. + KeyName *string `protobuf:"bytes,12,opt,name=key_name,json=keyName,proto3,oneof" json:"key_name,omitempty"` +} + +func (x *ForeignKey) Reset() { + *x = ForeignKey{} + if protoimpl.UnsafeEnabled { + mi := &file_org_polypheny_prism_namespace_meta_responses_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ForeignKey) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ForeignKey) ProtoMessage() {} + +func (x *ForeignKey) ProtoReflect() protoreflect.Message { + mi := &file_org_polypheny_prism_namespace_meta_responses_proto_msgTypes[7] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ForeignKey.ProtoReflect.Descriptor instead. +func (*ForeignKey) Descriptor() ([]byte, []int) { + return file_org_polypheny_prism_namespace_meta_responses_proto_rawDescGZIP(), []int{7} +} + +func (x *ForeignKey) GetReferencedNamespaceName() string { + if x != nil && x.ReferencedNamespaceName != nil { + return *x.ReferencedNamespaceName + } + return "" +} + +func (x *ForeignKey) GetReferencedTableName() string { + if x != nil { + return x.ReferencedTableName + } + return "" +} + +func (x *ForeignKey) GetReferencedColumns() []*Column { + if x != nil { + return x.ReferencedColumns + } + return nil +} + +func (x *ForeignKey) GetForeignColumns() []*Column { + if x != nil { + return x.ForeignColumns + } + return nil +} + +func (x *ForeignKey) GetUpdateRule() int32 { + if x != nil { + return x.UpdateRule + } + return 0 +} + +func (x *ForeignKey) GetDeleteRule() int32 { + if x != nil { + return x.DeleteRule + } + return 0 +} + +func (x *ForeignKey) GetKeyName() string { + if x != nil && x.KeyName != nil { + return *x.KeyName + } + return "" +} + +// +//The Index message provides details about an index defined on a table. Indexes are crucial for improving the performance of data retrieval operations by effectively organizing the data stored in a database table. This message includes information about the index's database, namespace (or schema), table, uniqueness, name, columns involved, physical location, and type. +type Index struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // + //The namespace or schema of the indexed table. + //This indicates the specific namespace or schema within the database where the indexed table resides. + NamespaceName string `protobuf:"bytes,2,opt,name=namespace_name,json=namespaceName,proto3" json:"namespace_name,omitempty"` + // + //The table on which the index is defined. + //This field identifies the specific table within the namespace that the index belongs to. + TableName string `protobuf:"bytes,3,opt,name=table_name,json=tableName,proto3" json:"table_name,omitempty"` + // + //Indicates if the index enforces unique values. + //A boolean value where true means the index ensures that all values in the index are unique. + Unique bool `protobuf:"varint,4,opt,name=unique,proto3" json:"unique,omitempty"` + // + //The name of the index. + //This allows for the naming of the index for easier reference and management within the database. + IndexName string `protobuf:"bytes,5,opt,name=index_name,json=indexName,proto3" json:"index_name,omitempty"` + // + //The columns that are part of the index. + //This repeated field lists all the columns included in the index, defining the order and structure of the index. + Columns []*Column `protobuf:"bytes,6,rep,name=columns,proto3" json:"columns,omitempty"` + // + //A numeric identifier representing the location or storage of the index. + //This field is used to identify where the index is physically stored within the database system, if applicable. + Location int64 `protobuf:"varint,8,opt,name=location,proto3" json:"location,omitempty"` + // + //A numeric representation indicating the type or mechanism of the index. + //This could represent different types of indexing strategies used by the database system, such as B-tree, hash, etc. + IndexType int32 `protobuf:"varint,9,opt,name=index_type,json=indexType,proto3" json:"index_type,omitempty"` +} + +func (x *Index) Reset() { + *x = Index{} + if protoimpl.UnsafeEnabled { + mi := &file_org_polypheny_prism_namespace_meta_responses_proto_msgTypes[8] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Index) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Index) ProtoMessage() {} + +func (x *Index) ProtoReflect() protoreflect.Message { + mi := &file_org_polypheny_prism_namespace_meta_responses_proto_msgTypes[8] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Index.ProtoReflect.Descriptor instead. +func (*Index) Descriptor() ([]byte, []int) { + return file_org_polypheny_prism_namespace_meta_responses_proto_rawDescGZIP(), []int{8} +} + +func (x *Index) GetNamespaceName() string { + if x != nil { + return x.NamespaceName + } + return "" +} + +func (x *Index) GetTableName() string { + if x != nil { + return x.TableName + } + return "" +} + +func (x *Index) GetUnique() bool { + if x != nil { + return x.Unique + } + return false +} + +func (x *Index) GetIndexName() string { + if x != nil { + return x.IndexName + } + return "" +} + +func (x *Index) GetColumns() []*Column { + if x != nil { + return x.Columns + } + return nil +} + +func (x *Index) GetLocation() int64 { + if x != nil { + return x.Location + } + return 0 +} + +func (x *Index) GetIndexType() int32 { + if x != nil { + return x.IndexType + } + return 0 +} + +// +//The Graph message will be used to represent the metadata of a graph entity. +//As of now, the structure is empty but it is expected to encapsulate various attributes and details about graph entities in the future. +//As of now, the Graph message is a placeholder and does not contain any fields. +type Graph struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *Graph) Reset() { + *x = Graph{} + if protoimpl.UnsafeEnabled { + mi := &file_org_polypheny_prism_namespace_meta_responses_proto_msgTypes[9] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Graph) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Graph) ProtoMessage() {} + +func (x *Graph) ProtoReflect() protoreflect.Message { + mi := &file_org_polypheny_prism_namespace_meta_responses_proto_msgTypes[9] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Graph.ProtoReflect.Descriptor instead. +func (*Graph) Descriptor() ([]byte, []int) { + return file_org_polypheny_prism_namespace_meta_responses_proto_rawDescGZIP(), []int{9} +} + +// +//The Document message encapsulates metadata related to a document collection entity. +//Field metadata describes known fields and is not an enforced schema for a schemaless collection. +//When inferred from a sample, fields and their types need not describe every document in the collection. +type Document struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // The namespace where the document collection is located. + NamespaceName string `protobuf:"bytes,1,opt,name=namespace_name,json=namespaceName,proto3" json:"namespace_name,omitempty"` + // The name of the document collection (e.g., "symptoms"). + CollectionName string `protobuf:"bytes,2,opt,name=collection_name,json=collectionName,proto3" json:"collection_name,omitempty"` + // Known field paths or keys, which may be inferred from a bounded sample of documents. + Fields []*DocumentField `protobuf:"bytes,3,rep,name=fields,proto3" json:"fields,omitempty"` + // An optional sample document as JSON; absent when no sample is available, e.g., for an empty collection. + SampleDocumentJson *string `protobuf:"bytes,4,opt,name=sample_document_json,json=sampleDocumentJson,proto3,oneof" json:"sample_document_json,omitempty"` + // Indexes available to the server for this collection; an empty list means no index metadata is available. + DocumentIndexes []*DocumentIndex `protobuf:"bytes,5,rep,name=document_indexes,json=documentIndexes,proto3" json:"document_indexes,omitempty"` +} + +func (x *Document) Reset() { + *x = Document{} + if protoimpl.UnsafeEnabled { + mi := &file_org_polypheny_prism_namespace_meta_responses_proto_msgTypes[10] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Document) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Document) ProtoMessage() {} + +func (x *Document) ProtoReflect() protoreflect.Message { + mi := &file_org_polypheny_prism_namespace_meta_responses_proto_msgTypes[10] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Document.ProtoReflect.Descriptor instead. +func (*Document) Descriptor() ([]byte, []int) { + return file_org_polypheny_prism_namespace_meta_responses_proto_rawDescGZIP(), []int{10} +} + +func (x *Document) GetNamespaceName() string { + if x != nil { + return x.NamespaceName + } + return "" +} + +func (x *Document) GetCollectionName() string { + if x != nil { + return x.CollectionName + } + return "" +} + +func (x *Document) GetFields() []*DocumentField { + if x != nil { + return x.Fields + } + return nil +} + +func (x *Document) GetSampleDocumentJson() string { + if x != nil && x.SampleDocumentJson != nil { + return *x.SampleDocumentJson + } + return "" +} + +func (x *Document) GetDocumentIndexes() []*DocumentIndex { + if x != nil { + return x.DocumentIndexes + } + return nil +} + +// +//Describes a field or nested attribute within a document collection. +type DocumentField struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // The field path in dot notation (e.g., "complications.respiratory.onset_day"). + // Structural path segments are separated by '.'; literal '.' and '\' inside a key segment + // are escaped with a preceding '\', so a literal backslash is doubled. + FieldPath string `protobuf:"bytes,1,opt,name=field_path,json=fieldPath,proto3" json:"field_path,omitempty"` + // The inferred or declared type: "string", "int", "double", "bool", "array", "object", "null", or "mixed". + // A mixture of integer and floating-point values is represented as "double"; other heterogeneous types as "mixed". + TypeName string `protobuf:"bytes,2,opt,name=type_name,json=typeName,proto3" json:"type_name,omitempty"` + // True if this field was missing or null in the sample, or is declared optional. + // False describes the observed sample, not a guarantee that future documents contain a non-null value. + IsOptional bool `protobuf:"varint,3,opt,name=is_optional,json=isOptional,proto3" json:"is_optional,omitempty"` +} + +func (x *DocumentField) Reset() { + *x = DocumentField{} + if protoimpl.UnsafeEnabled { + mi := &file_org_polypheny_prism_namespace_meta_responses_proto_msgTypes[11] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *DocumentField) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*DocumentField) ProtoMessage() {} + +func (x *DocumentField) ProtoReflect() protoreflect.Message { + mi := &file_org_polypheny_prism_namespace_meta_responses_proto_msgTypes[11] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use DocumentField.ProtoReflect.Descriptor instead. +func (*DocumentField) Descriptor() ([]byte, []int) { + return file_org_polypheny_prism_namespace_meta_responses_proto_rawDescGZIP(), []int{11} +} + +func (x *DocumentField) GetFieldPath() string { + if x != nil { + return x.FieldPath + } + return "" +} + +func (x *DocumentField) GetTypeName() string { + if x != nil { + return x.TypeName + } + return "" +} + +func (x *DocumentField) GetIsOptional() bool { + if x != nil { + return x.IsOptional + } + return false +} + +// +//Describes an indexed field within a document collection. +type DocumentIndex struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // The indexed field path uses the same escaping as DocumentField.field_path (e.g., "patient_id"). + // Index wildcard segments (e.g., "$**") retain their usual meaning. + FieldPath string `protobuf:"bytes,1,opt,name=field_path,json=fieldPath,proto3" json:"field_path,omitempty"` + // The index method, e.g., "hash", "btree", or "wildcard". + IndexType string `protobuf:"bytes,2,opt,name=index_type,json=indexType,proto3" json:"index_type,omitempty"` + // True if a single-field index declares uniqueness for this field; false for compound-index components. + // Uniqueness applies only to documents covered by that index (e.g., a sparse or partial index), + // and is not a guarantee that every document in the collection has a distinct value for this field. + Unique bool `protobuf:"varint,3,opt,name=unique,proto3" json:"unique,omitempty"` +} + +func (x *DocumentIndex) Reset() { + *x = DocumentIndex{} + if protoimpl.UnsafeEnabled { + mi := &file_org_polypheny_prism_namespace_meta_responses_proto_msgTypes[12] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *DocumentIndex) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*DocumentIndex) ProtoMessage() {} + +func (x *DocumentIndex) ProtoReflect() protoreflect.Message { + mi := &file_org_polypheny_prism_namespace_meta_responses_proto_msgTypes[12] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use DocumentIndex.ProtoReflect.Descriptor instead. +func (*DocumentIndex) Descriptor() ([]byte, []int) { + return file_org_polypheny_prism_namespace_meta_responses_proto_rawDescGZIP(), []int{12} +} + +func (x *DocumentIndex) GetFieldPath() string { + if x != nil { + return x.FieldPath + } + return "" +} + +func (x *DocumentIndex) GetIndexType() string { + if x != nil { + return x.IndexType + } + return "" +} + +func (x *DocumentIndex) GetUnique() bool { + if x != nil { + return x.Unique + } + return false +} + +var File_org_polypheny_prism_namespace_meta_responses_proto protoreflect.FileDescriptor + +var file_org_polypheny_prism_namespace_meta_responses_proto_rawDesc = []byte{ + 0x0a, 0x32, 0x6f, 0x72, 0x67, 0x2f, 0x70, 0x6f, 0x6c, 0x79, 0x70, 0x68, 0x65, 0x6e, 0x79, 0x2f, + 0x70, 0x72, 0x69, 0x73, 0x6d, 0x2f, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x5f, + 0x6d, 0x65, 0x74, 0x61, 0x5f, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x73, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x13, 0x6f, 0x72, 0x67, 0x2e, 0x70, 0x6f, 0x6c, 0x79, 0x70, 0x68, + 0x65, 0x6e, 0x79, 0x2e, 0x70, 0x72, 0x69, 0x73, 0x6d, 0x22, 0x54, 0x0a, 0x12, 0x4e, 0x61, 0x6d, + 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, + 0x3e, 0x0a, 0x0a, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x73, 0x18, 0x01, 0x20, + 0x03, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x6f, 0x72, 0x67, 0x2e, 0x70, 0x6f, 0x6c, 0x79, 0x70, 0x68, + 0x65, 0x6e, 0x79, 0x2e, 0x70, 0x72, 0x69, 0x73, 0x6d, 0x2e, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, + 0x61, 0x63, 0x65, 0x52, 0x0a, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x73, 0x22, + 0x4b, 0x0a, 0x10, 0x45, 0x6e, 0x74, 0x69, 0x74, 0x69, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, + 0x6e, 0x73, 0x65, 0x12, 0x37, 0x0a, 0x08, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x69, 0x65, 0x73, 0x18, + 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x6f, 0x72, 0x67, 0x2e, 0x70, 0x6f, 0x6c, 0x79, + 0x70, 0x68, 0x65, 0x6e, 0x79, 0x2e, 0x70, 0x72, 0x69, 0x73, 0x6d, 0x2e, 0x45, 0x6e, 0x74, 0x69, + 0x74, 0x79, 0x52, 0x08, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x69, 0x65, 0x73, 0x22, 0x9d, 0x01, 0x0a, + 0x09, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x12, 0x25, 0x0a, 0x0e, 0x6e, 0x61, + 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x0d, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x4e, 0x61, 0x6d, + 0x65, 0x12, 0x2a, 0x0a, 0x11, 0x69, 0x73, 0x5f, 0x63, 0x61, 0x73, 0x65, 0x5f, 0x73, 0x65, 0x6e, + 0x73, 0x69, 0x74, 0x69, 0x76, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0f, 0x69, 0x73, + 0x43, 0x61, 0x73, 0x65, 0x53, 0x65, 0x6e, 0x73, 0x69, 0x74, 0x69, 0x76, 0x65, 0x12, 0x2a, 0x0a, + 0x0e, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, + 0x05, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x0d, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, + 0x63, 0x65, 0x54, 0x79, 0x70, 0x65, 0x88, 0x01, 0x01, 0x42, 0x11, 0x0a, 0x0f, 0x5f, 0x6e, 0x61, + 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x22, 0xb7, 0x01, 0x0a, + 0x06, 0x45, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x12, 0x32, 0x0a, 0x05, 0x74, 0x61, 0x62, 0x6c, 0x65, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x6f, 0x72, 0x67, 0x2e, 0x70, 0x6f, 0x6c, + 0x79, 0x70, 0x68, 0x65, 0x6e, 0x79, 0x2e, 0x70, 0x72, 0x69, 0x73, 0x6d, 0x2e, 0x54, 0x61, 0x62, + 0x6c, 0x65, 0x48, 0x00, 0x52, 0x05, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x12, 0x32, 0x0a, 0x05, 0x67, + 0x72, 0x61, 0x70, 0x68, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x6f, 0x72, 0x67, + 0x2e, 0x70, 0x6f, 0x6c, 0x79, 0x70, 0x68, 0x65, 0x6e, 0x79, 0x2e, 0x70, 0x72, 0x69, 0x73, 0x6d, + 0x2e, 0x47, 0x72, 0x61, 0x70, 0x68, 0x48, 0x00, 0x52, 0x05, 0x67, 0x72, 0x61, 0x70, 0x68, 0x12, + 0x3b, 0x0a, 0x08, 0x64, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x1d, 0x2e, 0x6f, 0x72, 0x67, 0x2e, 0x70, 0x6f, 0x6c, 0x79, 0x70, 0x68, 0x65, 0x6e, + 0x79, 0x2e, 0x70, 0x72, 0x69, 0x73, 0x6d, 0x2e, 0x44, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, + 0x48, 0x00, 0x52, 0x08, 0x64, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x42, 0x08, 0x0a, 0x06, + 0x45, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x22, 0xba, 0x03, 0x0a, 0x05, 0x54, 0x61, 0x62, 0x6c, 0x65, + 0x12, 0x25, 0x0a, 0x0e, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x5f, 0x6e, 0x61, + 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, + 0x61, 0x63, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x74, 0x61, 0x62, 0x6c, 0x65, + 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x74, 0x61, 0x62, + 0x6c, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x5f, + 0x74, 0x79, 0x70, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x74, 0x61, 0x62, 0x6c, + 0x65, 0x54, 0x79, 0x70, 0x65, 0x12, 0x35, 0x0a, 0x07, 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x73, + 0x18, 0x06, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x6f, 0x72, 0x67, 0x2e, 0x70, 0x6f, 0x6c, + 0x79, 0x70, 0x68, 0x65, 0x6e, 0x79, 0x2e, 0x70, 0x72, 0x69, 0x73, 0x6d, 0x2e, 0x43, 0x6f, 0x6c, + 0x75, 0x6d, 0x6e, 0x52, 0x07, 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x73, 0x12, 0x45, 0x0a, 0x0b, + 0x70, 0x72, 0x69, 0x6d, 0x61, 0x72, 0x79, 0x5f, 0x6b, 0x65, 0x79, 0x18, 0x07, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x1f, 0x2e, 0x6f, 0x72, 0x67, 0x2e, 0x70, 0x6f, 0x6c, 0x79, 0x70, 0x68, 0x65, 0x6e, + 0x79, 0x2e, 0x70, 0x72, 0x69, 0x73, 0x6d, 0x2e, 0x50, 0x72, 0x69, 0x6d, 0x61, 0x72, 0x79, 0x4b, + 0x65, 0x79, 0x48, 0x00, 0x52, 0x0a, 0x70, 0x72, 0x69, 0x6d, 0x61, 0x72, 0x79, 0x4b, 0x65, 0x79, + 0x88, 0x01, 0x01, 0x12, 0x42, 0x0a, 0x0c, 0x66, 0x6f, 0x72, 0x65, 0x69, 0x67, 0x6e, 0x5f, 0x6b, + 0x65, 0x79, 0x73, 0x18, 0x08, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x6f, 0x72, 0x67, 0x2e, + 0x70, 0x6f, 0x6c, 0x79, 0x70, 0x68, 0x65, 0x6e, 0x79, 0x2e, 0x70, 0x72, 0x69, 0x73, 0x6d, 0x2e, + 0x46, 0x6f, 0x72, 0x65, 0x69, 0x67, 0x6e, 0x4b, 0x65, 0x79, 0x52, 0x0b, 0x66, 0x6f, 0x72, 0x65, + 0x69, 0x67, 0x6e, 0x4b, 0x65, 0x79, 0x73, 0x12, 0x44, 0x0a, 0x0d, 0x65, 0x78, 0x70, 0x6f, 0x72, + 0x74, 0x65, 0x64, 0x5f, 0x6b, 0x65, 0x79, 0x73, 0x18, 0x09, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1f, + 0x2e, 0x6f, 0x72, 0x67, 0x2e, 0x70, 0x6f, 0x6c, 0x79, 0x70, 0x68, 0x65, 0x6e, 0x79, 0x2e, 0x70, + 0x72, 0x69, 0x73, 0x6d, 0x2e, 0x46, 0x6f, 0x72, 0x65, 0x69, 0x67, 0x6e, 0x4b, 0x65, 0x79, 0x52, + 0x0c, 0x65, 0x78, 0x70, 0x6f, 0x72, 0x74, 0x65, 0x64, 0x4b, 0x65, 0x79, 0x73, 0x12, 0x34, 0x0a, + 0x07, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x65, 0x73, 0x18, 0x0a, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1a, + 0x2e, 0x6f, 0x72, 0x67, 0x2e, 0x70, 0x6f, 0x6c, 0x79, 0x70, 0x68, 0x65, 0x6e, 0x79, 0x2e, 0x70, + 0x72, 0x69, 0x73, 0x6d, 0x2e, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x52, 0x07, 0x69, 0x6e, 0x64, 0x65, + 0x78, 0x65, 0x73, 0x42, 0x0e, 0x0a, 0x0c, 0x5f, 0x70, 0x72, 0x69, 0x6d, 0x61, 0x72, 0x79, 0x5f, + 0x6b, 0x65, 0x79, 0x22, 0xf1, 0x04, 0x0a, 0x06, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x12, 0x25, + 0x0a, 0x0e, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x5f, 0x6e, 0x61, 0x6d, 0x65, + 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, + 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x6e, + 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x74, 0x61, 0x62, 0x6c, 0x65, + 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x1f, 0x0a, 0x0b, 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x5f, 0x6e, + 0x61, 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x63, 0x6f, 0x6c, 0x75, 0x6d, + 0x6e, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x74, 0x79, 0x70, 0x65, 0x5f, 0x6e, 0x61, + 0x6d, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x74, 0x79, 0x70, 0x65, 0x4e, 0x61, + 0x6d, 0x65, 0x12, 0x24, 0x0a, 0x0b, 0x74, 0x79, 0x70, 0x65, 0x5f, 0x6c, 0x65, 0x6e, 0x67, 0x74, + 0x68, 0x18, 0x06, 0x20, 0x01, 0x28, 0x05, 0x48, 0x00, 0x52, 0x0a, 0x74, 0x79, 0x70, 0x65, 0x4c, + 0x65, 0x6e, 0x67, 0x74, 0x68, 0x88, 0x01, 0x01, 0x12, 0x22, 0x0a, 0x0a, 0x74, 0x79, 0x70, 0x65, + 0x5f, 0x73, 0x63, 0x61, 0x6c, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x05, 0x48, 0x01, 0x52, 0x09, + 0x74, 0x79, 0x70, 0x65, 0x53, 0x63, 0x61, 0x6c, 0x65, 0x88, 0x01, 0x01, 0x12, 0x1f, 0x0a, 0x0b, + 0x69, 0x73, 0x5f, 0x6e, 0x75, 0x6c, 0x6c, 0x61, 0x62, 0x6c, 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, + 0x08, 0x52, 0x0a, 0x69, 0x73, 0x4e, 0x75, 0x6c, 0x6c, 0x61, 0x62, 0x6c, 0x65, 0x12, 0x3a, 0x0a, + 0x17, 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x5f, 0x61, + 0x73, 0x5f, 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x18, 0x09, 0x20, 0x01, 0x28, 0x09, 0x48, 0x02, + 0x52, 0x14, 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x41, 0x73, + 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x88, 0x01, 0x01, 0x12, 0x21, 0x0a, 0x0c, 0x63, 0x6f, 0x6c, + 0x75, 0x6d, 0x6e, 0x5f, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x05, 0x52, + 0x0b, 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x12, 0x21, 0x0a, 0x09, + 0x63, 0x6f, 0x6c, 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x09, 0x48, + 0x03, 0x52, 0x09, 0x63, 0x6f, 0x6c, 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x88, 0x01, 0x01, 0x12, + 0x1b, 0x0a, 0x09, 0x69, 0x73, 0x5f, 0x68, 0x69, 0x64, 0x64, 0x65, 0x6e, 0x18, 0x0c, 0x20, 0x01, + 0x28, 0x08, 0x52, 0x08, 0x69, 0x73, 0x48, 0x69, 0x64, 0x64, 0x65, 0x6e, 0x12, 0x47, 0x0a, 0x0b, + 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x0d, 0x20, 0x01, 0x28, + 0x0e, 0x32, 0x26, 0x2e, 0x6f, 0x72, 0x67, 0x2e, 0x70, 0x6f, 0x6c, 0x79, 0x70, 0x68, 0x65, 0x6e, + 0x79, 0x2e, 0x70, 0x72, 0x69, 0x73, 0x6d, 0x2e, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x2e, 0x43, + 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x52, 0x0a, 0x63, 0x6f, 0x6c, 0x75, 0x6d, + 0x6e, 0x54, 0x79, 0x70, 0x65, 0x22, 0x47, 0x0a, 0x0a, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x54, + 0x79, 0x70, 0x65, 0x12, 0x0f, 0x0a, 0x0b, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, + 0x45, 0x44, 0x10, 0x00, 0x12, 0x0b, 0x0a, 0x07, 0x52, 0x45, 0x47, 0x55, 0x4c, 0x41, 0x52, 0x10, + 0x01, 0x12, 0x0e, 0x0a, 0x0a, 0x43, 0x41, 0x4c, 0x43, 0x55, 0x4c, 0x41, 0x54, 0x45, 0x44, 0x10, + 0x02, 0x12, 0x0b, 0x0a, 0x07, 0x56, 0x45, 0x52, 0x53, 0x49, 0x4f, 0x4e, 0x10, 0x03, 0x42, 0x0e, + 0x0a, 0x0c, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x5f, 0x6c, 0x65, 0x6e, 0x67, 0x74, 0x68, 0x42, 0x0d, + 0x0a, 0x0b, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x5f, 0x73, 0x63, 0x61, 0x6c, 0x65, 0x42, 0x1a, 0x0a, + 0x18, 0x5f, 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x5f, + 0x61, 0x73, 0x5f, 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x42, 0x0c, 0x0a, 0x0a, 0x5f, 0x63, 0x6f, + 0x6c, 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0xae, 0x01, 0x0a, 0x0a, 0x50, 0x72, 0x69, 0x6d, + 0x61, 0x72, 0x79, 0x4b, 0x65, 0x79, 0x12, 0x23, 0x0a, 0x0d, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, + 0x73, 0x65, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x64, + 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x25, 0x0a, 0x0e, 0x6e, + 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x0d, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x4e, 0x61, + 0x6d, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x6e, 0x61, 0x6d, 0x65, + 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x4e, 0x61, 0x6d, + 0x65, 0x12, 0x35, 0x0a, 0x07, 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x73, 0x18, 0x04, 0x20, 0x03, + 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x6f, 0x72, 0x67, 0x2e, 0x70, 0x6f, 0x6c, 0x79, 0x70, 0x68, 0x65, + 0x6e, 0x79, 0x2e, 0x70, 0x72, 0x69, 0x73, 0x6d, 0x2e, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x52, + 0x07, 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x73, 0x22, 0xa0, 0x03, 0x0a, 0x0a, 0x46, 0x6f, 0x72, + 0x65, 0x69, 0x67, 0x6e, 0x4b, 0x65, 0x79, 0x12, 0x3f, 0x0a, 0x19, 0x72, 0x65, 0x66, 0x65, 0x72, + 0x65, 0x6e, 0x63, 0x65, 0x64, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x5f, + 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x17, 0x72, 0x65, + 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x64, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, + 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x88, 0x01, 0x01, 0x12, 0x32, 0x0a, 0x15, 0x72, 0x65, 0x66, 0x65, + 0x72, 0x65, 0x6e, 0x63, 0x65, 0x64, 0x5f, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x6e, 0x61, 0x6d, + 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x13, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, + 0x63, 0x65, 0x64, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x4a, 0x0a, 0x12, + 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x64, 0x5f, 0x63, 0x6f, 0x6c, 0x75, 0x6d, + 0x6e, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x6f, 0x72, 0x67, 0x2e, 0x70, + 0x6f, 0x6c, 0x79, 0x70, 0x68, 0x65, 0x6e, 0x79, 0x2e, 0x70, 0x72, 0x69, 0x73, 0x6d, 0x2e, 0x43, + 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x52, 0x11, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, + 0x64, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x73, 0x12, 0x44, 0x0a, 0x0f, 0x66, 0x6f, 0x72, 0x65, + 0x69, 0x67, 0x6e, 0x5f, 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x73, 0x18, 0x08, 0x20, 0x03, 0x28, + 0x0b, 0x32, 0x1b, 0x2e, 0x6f, 0x72, 0x67, 0x2e, 0x70, 0x6f, 0x6c, 0x79, 0x70, 0x68, 0x65, 0x6e, + 0x79, 0x2e, 0x70, 0x72, 0x69, 0x73, 0x6d, 0x2e, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x52, 0x0e, + 0x66, 0x6f, 0x72, 0x65, 0x69, 0x67, 0x6e, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x73, 0x12, 0x1f, + 0x0a, 0x0b, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x72, 0x75, 0x6c, 0x65, 0x18, 0x0a, 0x20, + 0x01, 0x28, 0x05, 0x52, 0x0a, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x52, 0x75, 0x6c, 0x65, 0x12, + 0x1f, 0x0a, 0x0b, 0x64, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x5f, 0x72, 0x75, 0x6c, 0x65, 0x18, 0x0b, + 0x20, 0x01, 0x28, 0x05, 0x52, 0x0a, 0x64, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x52, 0x75, 0x6c, 0x65, + 0x12, 0x1e, 0x0a, 0x08, 0x6b, 0x65, 0x79, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x0c, 0x20, 0x01, + 0x28, 0x09, 0x48, 0x01, 0x52, 0x07, 0x6b, 0x65, 0x79, 0x4e, 0x61, 0x6d, 0x65, 0x88, 0x01, 0x01, + 0x42, 0x1c, 0x0a, 0x1a, 0x5f, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x64, 0x5f, + 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x42, 0x0b, + 0x0a, 0x09, 0x5f, 0x6b, 0x65, 0x79, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0xf6, 0x01, 0x0a, 0x05, + 0x49, 0x6e, 0x64, 0x65, 0x78, 0x12, 0x25, 0x0a, 0x0e, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, + 0x63, 0x65, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x6e, + 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x1d, 0x0a, 0x0a, + 0x74, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x09, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x75, + 0x6e, 0x69, 0x71, 0x75, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x06, 0x75, 0x6e, 0x69, + 0x71, 0x75, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x5f, 0x6e, 0x61, 0x6d, + 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x4e, 0x61, + 0x6d, 0x65, 0x12, 0x35, 0x0a, 0x07, 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x73, 0x18, 0x06, 0x20, + 0x03, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x6f, 0x72, 0x67, 0x2e, 0x70, 0x6f, 0x6c, 0x79, 0x70, 0x68, + 0x65, 0x6e, 0x79, 0x2e, 0x70, 0x72, 0x69, 0x73, 0x6d, 0x2e, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, + 0x52, 0x07, 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x73, 0x12, 0x1a, 0x0a, 0x08, 0x6c, 0x6f, 0x63, + 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x08, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x6c, 0x6f, 0x63, + 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x1d, 0x0a, 0x0a, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x5f, 0x74, + 0x79, 0x70, 0x65, 0x18, 0x09, 0x20, 0x01, 0x28, 0x05, 0x52, 0x09, 0x69, 0x6e, 0x64, 0x65, 0x78, + 0x54, 0x79, 0x70, 0x65, 0x22, 0x07, 0x0a, 0x05, 0x47, 0x72, 0x61, 0x70, 0x68, 0x22, 0xb5, 0x02, + 0x0a, 0x08, 0x44, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x25, 0x0a, 0x0e, 0x6e, 0x61, + 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x0d, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x4e, 0x61, 0x6d, + 0x65, 0x12, 0x27, 0x0a, 0x0f, 0x63, 0x6f, 0x6c, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x5f, + 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x63, 0x6f, 0x6c, 0x6c, + 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x3a, 0x0a, 0x06, 0x66, 0x69, + 0x65, 0x6c, 0x64, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x6f, 0x72, 0x67, + 0x2e, 0x70, 0x6f, 0x6c, 0x79, 0x70, 0x68, 0x65, 0x6e, 0x79, 0x2e, 0x70, 0x72, 0x69, 0x73, 0x6d, + 0x2e, 0x44, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x52, 0x06, + 0x66, 0x69, 0x65, 0x6c, 0x64, 0x73, 0x12, 0x35, 0x0a, 0x14, 0x73, 0x61, 0x6d, 0x70, 0x6c, 0x65, + 0x5f, 0x64, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x5f, 0x6a, 0x73, 0x6f, 0x6e, 0x18, 0x04, + 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x12, 0x73, 0x61, 0x6d, 0x70, 0x6c, 0x65, 0x44, 0x6f, + 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x4a, 0x73, 0x6f, 0x6e, 0x88, 0x01, 0x01, 0x12, 0x4d, 0x0a, + 0x10, 0x64, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x5f, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x65, + 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x6f, 0x72, 0x67, 0x2e, 0x70, 0x6f, + 0x6c, 0x79, 0x70, 0x68, 0x65, 0x6e, 0x79, 0x2e, 0x70, 0x72, 0x69, 0x73, 0x6d, 0x2e, 0x44, 0x6f, + 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x52, 0x0f, 0x64, 0x6f, 0x63, + 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x65, 0x73, 0x42, 0x17, 0x0a, 0x15, + 0x5f, 0x73, 0x61, 0x6d, 0x70, 0x6c, 0x65, 0x5f, 0x64, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, + 0x5f, 0x6a, 0x73, 0x6f, 0x6e, 0x22, 0x6c, 0x0a, 0x0d, 0x44, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, + 0x74, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x12, 0x1d, 0x0a, 0x0a, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, + 0x70, 0x61, 0x74, 0x68, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x66, 0x69, 0x65, 0x6c, + 0x64, 0x50, 0x61, 0x74, 0x68, 0x12, 0x1b, 0x0a, 0x09, 0x74, 0x79, 0x70, 0x65, 0x5f, 0x6e, 0x61, + 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x74, 0x79, 0x70, 0x65, 0x4e, 0x61, + 0x6d, 0x65, 0x12, 0x1f, 0x0a, 0x0b, 0x69, 0x73, 0x5f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x61, + 0x6c, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0a, 0x69, 0x73, 0x4f, 0x70, 0x74, 0x69, 0x6f, + 0x6e, 0x61, 0x6c, 0x22, 0x65, 0x0a, 0x0d, 0x44, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x49, + 0x6e, 0x64, 0x65, 0x78, 0x12, 0x1d, 0x0a, 0x0a, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x70, 0x61, + 0x74, 0x68, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x50, + 0x61, 0x74, 0x68, 0x12, 0x1d, 0x0a, 0x0a, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x5f, 0x74, 0x79, 0x70, + 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x54, 0x79, + 0x70, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x75, 0x6e, 0x69, 0x71, 0x75, 0x65, 0x18, 0x03, 0x20, 0x01, + 0x28, 0x08, 0x52, 0x06, 0x75, 0x6e, 0x69, 0x71, 0x75, 0x65, 0x42, 0x5c, 0x0a, 0x13, 0x6f, 0x72, + 0x67, 0x2e, 0x70, 0x6f, 0x6c, 0x79, 0x70, 0x68, 0x65, 0x6e, 0x79, 0x2e, 0x70, 0x72, 0x69, 0x73, + 0x6d, 0x42, 0x16, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x4d, 0x65, 0x74, 0x61, + 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x73, 0x50, 0x01, 0x5a, 0x19, 0x6f, 0x72, 0x67, + 0x2f, 0x70, 0x6f, 0x6c, 0x79, 0x70, 0x68, 0x65, 0x6e, 0x79, 0x2f, 0x70, 0x72, 0x69, 0x73, 0x6d, + 0x3b, 0x70, 0x72, 0x69, 0x73, 0x6d, 0xaa, 0x02, 0x0f, 0x50, 0x6f, 0x6c, 0x79, 0x70, 0x68, 0x65, + 0x6e, 0x79, 0x2e, 0x50, 0x72, 0x69, 0x73, 0x6d, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_org_polypheny_prism_namespace_meta_responses_proto_rawDescOnce sync.Once + file_org_polypheny_prism_namespace_meta_responses_proto_rawDescData = file_org_polypheny_prism_namespace_meta_responses_proto_rawDesc +) + +func file_org_polypheny_prism_namespace_meta_responses_proto_rawDescGZIP() []byte { + file_org_polypheny_prism_namespace_meta_responses_proto_rawDescOnce.Do(func() { + file_org_polypheny_prism_namespace_meta_responses_proto_rawDescData = protoimpl.X.CompressGZIP(file_org_polypheny_prism_namespace_meta_responses_proto_rawDescData) + }) + return file_org_polypheny_prism_namespace_meta_responses_proto_rawDescData +} + +var file_org_polypheny_prism_namespace_meta_responses_proto_enumTypes = make([]protoimpl.EnumInfo, 1) +var file_org_polypheny_prism_namespace_meta_responses_proto_msgTypes = make([]protoimpl.MessageInfo, 13) +var file_org_polypheny_prism_namespace_meta_responses_proto_goTypes = []interface{}{ + (Column_ColumnType)(0), // 0: org.polypheny.prism.Column.ColumnType + (*NamespacesResponse)(nil), // 1: org.polypheny.prism.NamespacesResponse + (*EntitiesResponse)(nil), // 2: org.polypheny.prism.EntitiesResponse + (*Namespace)(nil), // 3: org.polypheny.prism.Namespace + (*Entity)(nil), // 4: org.polypheny.prism.Entity + (*Table)(nil), // 5: org.polypheny.prism.Table + (*Column)(nil), // 6: org.polypheny.prism.Column + (*PrimaryKey)(nil), // 7: org.polypheny.prism.PrimaryKey + (*ForeignKey)(nil), // 8: org.polypheny.prism.ForeignKey + (*Index)(nil), // 9: org.polypheny.prism.Index + (*Graph)(nil), // 10: org.polypheny.prism.Graph + (*Document)(nil), // 11: org.polypheny.prism.Document + (*DocumentField)(nil), // 12: org.polypheny.prism.DocumentField + (*DocumentIndex)(nil), // 13: org.polypheny.prism.DocumentIndex +} +var file_org_polypheny_prism_namespace_meta_responses_proto_depIdxs = []int32{ + 3, // 0: org.polypheny.prism.NamespacesResponse.namespaces:type_name -> org.polypheny.prism.Namespace + 4, // 1: org.polypheny.prism.EntitiesResponse.entities:type_name -> org.polypheny.prism.Entity + 5, // 2: org.polypheny.prism.Entity.table:type_name -> org.polypheny.prism.Table + 10, // 3: org.polypheny.prism.Entity.graph:type_name -> org.polypheny.prism.Graph + 11, // 4: org.polypheny.prism.Entity.document:type_name -> org.polypheny.prism.Document + 6, // 5: org.polypheny.prism.Table.columns:type_name -> org.polypheny.prism.Column + 7, // 6: org.polypheny.prism.Table.primary_key:type_name -> org.polypheny.prism.PrimaryKey + 8, // 7: org.polypheny.prism.Table.foreign_keys:type_name -> org.polypheny.prism.ForeignKey + 8, // 8: org.polypheny.prism.Table.exported_keys:type_name -> org.polypheny.prism.ForeignKey + 9, // 9: org.polypheny.prism.Table.indexes:type_name -> org.polypheny.prism.Index + 0, // 10: org.polypheny.prism.Column.column_type:type_name -> org.polypheny.prism.Column.ColumnType + 6, // 11: org.polypheny.prism.PrimaryKey.columns:type_name -> org.polypheny.prism.Column + 6, // 12: org.polypheny.prism.ForeignKey.referenced_columns:type_name -> org.polypheny.prism.Column + 6, // 13: org.polypheny.prism.ForeignKey.foreign_columns:type_name -> org.polypheny.prism.Column + 6, // 14: org.polypheny.prism.Index.columns:type_name -> org.polypheny.prism.Column + 12, // 15: org.polypheny.prism.Document.fields:type_name -> org.polypheny.prism.DocumentField + 13, // 16: org.polypheny.prism.Document.document_indexes:type_name -> org.polypheny.prism.DocumentIndex + 17, // [17:17] is the sub-list for method output_type + 17, // [17:17] is the sub-list for method input_type + 17, // [17:17] is the sub-list for extension type_name + 17, // [17:17] is the sub-list for extension extendee + 0, // [0:17] is the sub-list for field type_name +} + +func init() { file_org_polypheny_prism_namespace_meta_responses_proto_init() } +func file_org_polypheny_prism_namespace_meta_responses_proto_init() { + if File_org_polypheny_prism_namespace_meta_responses_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_org_polypheny_prism_namespace_meta_responses_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*NamespacesResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_org_polypheny_prism_namespace_meta_responses_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*EntitiesResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_org_polypheny_prism_namespace_meta_responses_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Namespace); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_org_polypheny_prism_namespace_meta_responses_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Entity); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_org_polypheny_prism_namespace_meta_responses_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Table); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_org_polypheny_prism_namespace_meta_responses_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Column); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_org_polypheny_prism_namespace_meta_responses_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PrimaryKey); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_org_polypheny_prism_namespace_meta_responses_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ForeignKey); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_org_polypheny_prism_namespace_meta_responses_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Index); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_org_polypheny_prism_namespace_meta_responses_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Graph); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_org_polypheny_prism_namespace_meta_responses_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Document); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_org_polypheny_prism_namespace_meta_responses_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DocumentField); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_org_polypheny_prism_namespace_meta_responses_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DocumentIndex); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + file_org_polypheny_prism_namespace_meta_responses_proto_msgTypes[2].OneofWrappers = []interface{}{} + file_org_polypheny_prism_namespace_meta_responses_proto_msgTypes[3].OneofWrappers = []interface{}{ + (*Entity_Table)(nil), + (*Entity_Graph)(nil), + (*Entity_Document)(nil), + } + file_org_polypheny_prism_namespace_meta_responses_proto_msgTypes[4].OneofWrappers = []interface{}{} + file_org_polypheny_prism_namespace_meta_responses_proto_msgTypes[5].OneofWrappers = []interface{}{} + file_org_polypheny_prism_namespace_meta_responses_proto_msgTypes[7].OneofWrappers = []interface{}{} + file_org_polypheny_prism_namespace_meta_responses_proto_msgTypes[10].OneofWrappers = []interface{}{} + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_org_polypheny_prism_namespace_meta_responses_proto_rawDesc, + NumEnums: 1, + NumMessages: 13, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_org_polypheny_prism_namespace_meta_responses_proto_goTypes, + DependencyIndexes: file_org_polypheny_prism_namespace_meta_responses_proto_depIdxs, + EnumInfos: file_org_polypheny_prism_namespace_meta_responses_proto_enumTypes, + MessageInfos: file_org_polypheny_prism_namespace_meta_responses_proto_msgTypes, + }.Build() + File_org_polypheny_prism_namespace_meta_responses_proto = out.File + file_org_polypheny_prism_namespace_meta_responses_proto_rawDesc = nil + file_org_polypheny_prism_namespace_meta_responses_proto_goTypes = nil + file_org_polypheny_prism_namespace_meta_responses_proto_depIdxs = nil +} diff --git a/prism/protointerface.pb.go b/prism/protointerface.pb.go new file mode 100644 index 0000000..a4df20e --- /dev/null +++ b/prism/protointerface.pb.go @@ -0,0 +1,1767 @@ +// +//This file contains basic wrapper messages used for the communication between client and server. +//Examples for such messages are a response and a request wrapper that are used to wrap a specific response or request message. +//Further messages for error responses are included. + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.33.0 +// protoc v5.26.0 +// source: org/polypheny/prism/protointerface.proto + +package prism + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// +//Wrapper message wrapping a specific request message to be sent to the server. +type Request struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // The id of the request. Must be strictly greater than 0. + Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` + // Types that are assignable to Type: + // *Request_DbmsVersionRequest + // *Request_DefaultNamespaceRequest + // *Request_TableTypesRequest + // *Request_TypesRequest + // *Request_ProceduresRequest + // *Request_FunctionsRequest + // *Request_NamespacesRequest + // *Request_EntitiesRequest + // *Request_SqlStringFunctionsRequest + // *Request_SqlSystemFunctionsRequest + // *Request_SqlTimeDateFunctionsRequest + // *Request_SqlNumericFunctionsRequest + // *Request_SqlKeywordsRequest + // *Request_ConnectionRequest + // *Request_ConnectionCheckRequest + // *Request_DisconnectRequest + // *Request_ClientInfoPropertiesRequest + // *Request_SetClientInfoPropertiesRequest + // *Request_ExecuteUnparameterizedStatementRequest + // *Request_ExecuteUnparameterizedStatementBatchRequest + // *Request_PrepareIndexedStatementRequest + // *Request_ExecuteIndexedStatementRequest + // *Request_ExecuteIndexedStatementBatchRequest + // *Request_PrepareNamedStatementRequest + // *Request_ExecuteNamedStatementRequest + // *Request_FetchRequest + // *Request_CloseStatementRequest + // *Request_CommitRequest + // *Request_RollbackRequest + // *Request_ConnectionPropertiesUpdateRequest + // *Request_CloseResultRequest + Type isRequest_Type `protobuf_oneof:"type"` +} + +func (x *Request) Reset() { + *x = Request{} + if protoimpl.UnsafeEnabled { + mi := &file_org_polypheny_prism_protointerface_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Request) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Request) ProtoMessage() {} + +func (x *Request) ProtoReflect() protoreflect.Message { + mi := &file_org_polypheny_prism_protointerface_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Request.ProtoReflect.Descriptor instead. +func (*Request) Descriptor() ([]byte, []int) { + return file_org_polypheny_prism_protointerface_proto_rawDescGZIP(), []int{0} +} + +func (x *Request) GetId() uint64 { + if x != nil { + return x.Id + } + return 0 +} + +func (m *Request) GetType() isRequest_Type { + if m != nil { + return m.Type + } + return nil +} + +func (x *Request) GetDbmsVersionRequest() *DbmsVersionRequest { + if x, ok := x.GetType().(*Request_DbmsVersionRequest); ok { + return x.DbmsVersionRequest + } + return nil +} + +func (x *Request) GetDefaultNamespaceRequest() *DefaultNamespaceRequest { + if x, ok := x.GetType().(*Request_DefaultNamespaceRequest); ok { + return x.DefaultNamespaceRequest + } + return nil +} + +func (x *Request) GetTableTypesRequest() *TableTypesRequest { + if x, ok := x.GetType().(*Request_TableTypesRequest); ok { + return x.TableTypesRequest + } + return nil +} + +func (x *Request) GetTypesRequest() *TypesRequest { + if x, ok := x.GetType().(*Request_TypesRequest); ok { + return x.TypesRequest + } + return nil +} + +func (x *Request) GetProceduresRequest() *ProceduresRequest { + if x, ok := x.GetType().(*Request_ProceduresRequest); ok { + return x.ProceduresRequest + } + return nil +} + +func (x *Request) GetFunctionsRequest() *FunctionsRequest { + if x, ok := x.GetType().(*Request_FunctionsRequest); ok { + return x.FunctionsRequest + } + return nil +} + +func (x *Request) GetNamespacesRequest() *NamespacesRequest { + if x, ok := x.GetType().(*Request_NamespacesRequest); ok { + return x.NamespacesRequest + } + return nil +} + +func (x *Request) GetEntitiesRequest() *EntitiesRequest { + if x, ok := x.GetType().(*Request_EntitiesRequest); ok { + return x.EntitiesRequest + } + return nil +} + +func (x *Request) GetSqlStringFunctionsRequest() *SqlStringFunctionsRequest { + if x, ok := x.GetType().(*Request_SqlStringFunctionsRequest); ok { + return x.SqlStringFunctionsRequest + } + return nil +} + +func (x *Request) GetSqlSystemFunctionsRequest() *SqlSystemFunctionsRequest { + if x, ok := x.GetType().(*Request_SqlSystemFunctionsRequest); ok { + return x.SqlSystemFunctionsRequest + } + return nil +} + +func (x *Request) GetSqlTimeDateFunctionsRequest() *SqlTimeDateFunctionsRequest { + if x, ok := x.GetType().(*Request_SqlTimeDateFunctionsRequest); ok { + return x.SqlTimeDateFunctionsRequest + } + return nil +} + +func (x *Request) GetSqlNumericFunctionsRequest() *SqlNumericFunctionsRequest { + if x, ok := x.GetType().(*Request_SqlNumericFunctionsRequest); ok { + return x.SqlNumericFunctionsRequest + } + return nil +} + +func (x *Request) GetSqlKeywordsRequest() *SqlKeywordsRequest { + if x, ok := x.GetType().(*Request_SqlKeywordsRequest); ok { + return x.SqlKeywordsRequest + } + return nil +} + +func (x *Request) GetConnectionRequest() *ConnectionRequest { + if x, ok := x.GetType().(*Request_ConnectionRequest); ok { + return x.ConnectionRequest + } + return nil +} + +func (x *Request) GetConnectionCheckRequest() *ConnectionCheckRequest { + if x, ok := x.GetType().(*Request_ConnectionCheckRequest); ok { + return x.ConnectionCheckRequest + } + return nil +} + +func (x *Request) GetDisconnectRequest() *DisconnectRequest { + if x, ok := x.GetType().(*Request_DisconnectRequest); ok { + return x.DisconnectRequest + } + return nil +} + +func (x *Request) GetClientInfoPropertiesRequest() *ClientInfoPropertiesRequest { + if x, ok := x.GetType().(*Request_ClientInfoPropertiesRequest); ok { + return x.ClientInfoPropertiesRequest + } + return nil +} + +func (x *Request) GetSetClientInfoPropertiesRequest() *ClientInfoProperties { + if x, ok := x.GetType().(*Request_SetClientInfoPropertiesRequest); ok { + return x.SetClientInfoPropertiesRequest + } + return nil +} + +func (x *Request) GetExecuteUnparameterizedStatementRequest() *ExecuteUnparameterizedStatementRequest { + if x, ok := x.GetType().(*Request_ExecuteUnparameterizedStatementRequest); ok { + return x.ExecuteUnparameterizedStatementRequest + } + return nil +} + +func (x *Request) GetExecuteUnparameterizedStatementBatchRequest() *ExecuteUnparameterizedStatementBatchRequest { + if x, ok := x.GetType().(*Request_ExecuteUnparameterizedStatementBatchRequest); ok { + return x.ExecuteUnparameterizedStatementBatchRequest + } + return nil +} + +func (x *Request) GetPrepareIndexedStatementRequest() *PrepareStatementRequest { + if x, ok := x.GetType().(*Request_PrepareIndexedStatementRequest); ok { + return x.PrepareIndexedStatementRequest + } + return nil +} + +func (x *Request) GetExecuteIndexedStatementRequest() *ExecuteIndexedStatementRequest { + if x, ok := x.GetType().(*Request_ExecuteIndexedStatementRequest); ok { + return x.ExecuteIndexedStatementRequest + } + return nil +} + +func (x *Request) GetExecuteIndexedStatementBatchRequest() *ExecuteIndexedStatementBatchRequest { + if x, ok := x.GetType().(*Request_ExecuteIndexedStatementBatchRequest); ok { + return x.ExecuteIndexedStatementBatchRequest + } + return nil +} + +func (x *Request) GetPrepareNamedStatementRequest() *PrepareStatementRequest { + if x, ok := x.GetType().(*Request_PrepareNamedStatementRequest); ok { + return x.PrepareNamedStatementRequest + } + return nil +} + +func (x *Request) GetExecuteNamedStatementRequest() *ExecuteNamedStatementRequest { + if x, ok := x.GetType().(*Request_ExecuteNamedStatementRequest); ok { + return x.ExecuteNamedStatementRequest + } + return nil +} + +func (x *Request) GetFetchRequest() *FetchRequest { + if x, ok := x.GetType().(*Request_FetchRequest); ok { + return x.FetchRequest + } + return nil +} + +func (x *Request) GetCloseStatementRequest() *CloseStatementRequest { + if x, ok := x.GetType().(*Request_CloseStatementRequest); ok { + return x.CloseStatementRequest + } + return nil +} + +func (x *Request) GetCommitRequest() *CommitRequest { + if x, ok := x.GetType().(*Request_CommitRequest); ok { + return x.CommitRequest + } + return nil +} + +func (x *Request) GetRollbackRequest() *RollbackRequest { + if x, ok := x.GetType().(*Request_RollbackRequest); ok { + return x.RollbackRequest + } + return nil +} + +func (x *Request) GetConnectionPropertiesUpdateRequest() *ConnectionPropertiesUpdateRequest { + if x, ok := x.GetType().(*Request_ConnectionPropertiesUpdateRequest); ok { + return x.ConnectionPropertiesUpdateRequest + } + return nil +} + +func (x *Request) GetCloseResultRequest() *CloseResultRequest { + if x, ok := x.GetType().(*Request_CloseResultRequest); ok { + return x.CloseResultRequest + } + return nil +} + +type isRequest_Type interface { + isRequest_Type() +} + +type Request_DbmsVersionRequest struct { + DbmsVersionRequest *DbmsVersionRequest `protobuf:"bytes,2,opt,name=dbms_version_request,json=dbmsVersionRequest,proto3,oneof"` +} + +type Request_DefaultNamespaceRequest struct { + DefaultNamespaceRequest *DefaultNamespaceRequest `protobuf:"bytes,4,opt,name=default_namespace_request,json=defaultNamespaceRequest,proto3,oneof"` +} + +type Request_TableTypesRequest struct { + TableTypesRequest *TableTypesRequest `protobuf:"bytes,5,opt,name=table_types_request,json=tableTypesRequest,proto3,oneof"` +} + +type Request_TypesRequest struct { + TypesRequest *TypesRequest `protobuf:"bytes,6,opt,name=types_request,json=typesRequest,proto3,oneof"` +} + +type Request_ProceduresRequest struct { + ProceduresRequest *ProceduresRequest `protobuf:"bytes,9,opt,name=procedures_request,json=proceduresRequest,proto3,oneof"` +} + +type Request_FunctionsRequest struct { + FunctionsRequest *FunctionsRequest `protobuf:"bytes,10,opt,name=functions_request,json=functionsRequest,proto3,oneof"` +} + +type Request_NamespacesRequest struct { + NamespacesRequest *NamespacesRequest `protobuf:"bytes,11,opt,name=namespaces_request,json=namespacesRequest,proto3,oneof"` +} + +type Request_EntitiesRequest struct { + EntitiesRequest *EntitiesRequest `protobuf:"bytes,13,opt,name=entities_request,json=entitiesRequest,proto3,oneof"` +} + +type Request_SqlStringFunctionsRequest struct { + SqlStringFunctionsRequest *SqlStringFunctionsRequest `protobuf:"bytes,14,opt,name=sql_string_functions_request,json=sqlStringFunctionsRequest,proto3,oneof"` +} + +type Request_SqlSystemFunctionsRequest struct { + SqlSystemFunctionsRequest *SqlSystemFunctionsRequest `protobuf:"bytes,15,opt,name=sql_system_functions_request,json=sqlSystemFunctionsRequest,proto3,oneof"` +} + +type Request_SqlTimeDateFunctionsRequest struct { + SqlTimeDateFunctionsRequest *SqlTimeDateFunctionsRequest `protobuf:"bytes,16,opt,name=sql_time_date_functions_request,json=sqlTimeDateFunctionsRequest,proto3,oneof"` +} + +type Request_SqlNumericFunctionsRequest struct { + SqlNumericFunctionsRequest *SqlNumericFunctionsRequest `protobuf:"bytes,17,opt,name=sql_numeric_functions_request,json=sqlNumericFunctionsRequest,proto3,oneof"` +} + +type Request_SqlKeywordsRequest struct { + SqlKeywordsRequest *SqlKeywordsRequest `protobuf:"bytes,18,opt,name=sql_keywords_request,json=sqlKeywordsRequest,proto3,oneof"` +} + +type Request_ConnectionRequest struct { + ConnectionRequest *ConnectionRequest `protobuf:"bytes,19,opt,name=connection_request,json=connectionRequest,proto3,oneof"` +} + +type Request_ConnectionCheckRequest struct { + ConnectionCheckRequest *ConnectionCheckRequest `protobuf:"bytes,20,opt,name=connection_check_request,json=connectionCheckRequest,proto3,oneof"` +} + +type Request_DisconnectRequest struct { + DisconnectRequest *DisconnectRequest `protobuf:"bytes,21,opt,name=disconnect_request,json=disconnectRequest,proto3,oneof"` +} + +type Request_ClientInfoPropertiesRequest struct { + ClientInfoPropertiesRequest *ClientInfoPropertiesRequest `protobuf:"bytes,22,opt,name=client_info_properties_request,json=clientInfoPropertiesRequest,proto3,oneof"` +} + +type Request_SetClientInfoPropertiesRequest struct { + SetClientInfoPropertiesRequest *ClientInfoProperties `protobuf:"bytes,23,opt,name=set_client_info_properties_request,json=setClientInfoPropertiesRequest,proto3,oneof"` +} + +type Request_ExecuteUnparameterizedStatementRequest struct { + ExecuteUnparameterizedStatementRequest *ExecuteUnparameterizedStatementRequest `protobuf:"bytes,24,opt,name=execute_unparameterized_statement_request,json=executeUnparameterizedStatementRequest,proto3,oneof"` +} + +type Request_ExecuteUnparameterizedStatementBatchRequest struct { + ExecuteUnparameterizedStatementBatchRequest *ExecuteUnparameterizedStatementBatchRequest `protobuf:"bytes,25,opt,name=execute_unparameterized_statement_batch_request,json=executeUnparameterizedStatementBatchRequest,proto3,oneof"` +} + +type Request_PrepareIndexedStatementRequest struct { + PrepareIndexedStatementRequest *PrepareStatementRequest `protobuf:"bytes,26,opt,name=prepare_indexed_statement_request,json=prepareIndexedStatementRequest,proto3,oneof"` +} + +type Request_ExecuteIndexedStatementRequest struct { + ExecuteIndexedStatementRequest *ExecuteIndexedStatementRequest `protobuf:"bytes,27,opt,name=execute_indexed_statement_request,json=executeIndexedStatementRequest,proto3,oneof"` +} + +type Request_ExecuteIndexedStatementBatchRequest struct { + ExecuteIndexedStatementBatchRequest *ExecuteIndexedStatementBatchRequest `protobuf:"bytes,28,opt,name=execute_indexed_statement_batch_request,json=executeIndexedStatementBatchRequest,proto3,oneof"` +} + +type Request_PrepareNamedStatementRequest struct { + PrepareNamedStatementRequest *PrepareStatementRequest `protobuf:"bytes,29,opt,name=prepare_named_statement_request,json=prepareNamedStatementRequest,proto3,oneof"` +} + +type Request_ExecuteNamedStatementRequest struct { + ExecuteNamedStatementRequest *ExecuteNamedStatementRequest `protobuf:"bytes,30,opt,name=execute_named_statement_request,json=executeNamedStatementRequest,proto3,oneof"` +} + +type Request_FetchRequest struct { + FetchRequest *FetchRequest `protobuf:"bytes,31,opt,name=fetch_request,json=fetchRequest,proto3,oneof"` +} + +type Request_CloseStatementRequest struct { + CloseStatementRequest *CloseStatementRequest `protobuf:"bytes,32,opt,name=close_statement_request,json=closeStatementRequest,proto3,oneof"` +} + +type Request_CommitRequest struct { + CommitRequest *CommitRequest `protobuf:"bytes,33,opt,name=commit_request,json=commitRequest,proto3,oneof"` +} + +type Request_RollbackRequest struct { + RollbackRequest *RollbackRequest `protobuf:"bytes,34,opt,name=rollback_request,json=rollbackRequest,proto3,oneof"` +} + +type Request_ConnectionPropertiesUpdateRequest struct { + ConnectionPropertiesUpdateRequest *ConnectionPropertiesUpdateRequest `protobuf:"bytes,35,opt,name=connection_properties_update_request,json=connectionPropertiesUpdateRequest,proto3,oneof"` +} + +type Request_CloseResultRequest struct { + CloseResultRequest *CloseResultRequest `protobuf:"bytes,36,opt,name=close_result_request,json=closeResultRequest,proto3,oneof"` +} + +func (*Request_DbmsVersionRequest) isRequest_Type() {} + +func (*Request_DefaultNamespaceRequest) isRequest_Type() {} + +func (*Request_TableTypesRequest) isRequest_Type() {} + +func (*Request_TypesRequest) isRequest_Type() {} + +func (*Request_ProceduresRequest) isRequest_Type() {} + +func (*Request_FunctionsRequest) isRequest_Type() {} + +func (*Request_NamespacesRequest) isRequest_Type() {} + +func (*Request_EntitiesRequest) isRequest_Type() {} + +func (*Request_SqlStringFunctionsRequest) isRequest_Type() {} + +func (*Request_SqlSystemFunctionsRequest) isRequest_Type() {} + +func (*Request_SqlTimeDateFunctionsRequest) isRequest_Type() {} + +func (*Request_SqlNumericFunctionsRequest) isRequest_Type() {} + +func (*Request_SqlKeywordsRequest) isRequest_Type() {} + +func (*Request_ConnectionRequest) isRequest_Type() {} + +func (*Request_ConnectionCheckRequest) isRequest_Type() {} + +func (*Request_DisconnectRequest) isRequest_Type() {} + +func (*Request_ClientInfoPropertiesRequest) isRequest_Type() {} + +func (*Request_SetClientInfoPropertiesRequest) isRequest_Type() {} + +func (*Request_ExecuteUnparameterizedStatementRequest) isRequest_Type() {} + +func (*Request_ExecuteUnparameterizedStatementBatchRequest) isRequest_Type() {} + +func (*Request_PrepareIndexedStatementRequest) isRequest_Type() {} + +func (*Request_ExecuteIndexedStatementRequest) isRequest_Type() {} + +func (*Request_ExecuteIndexedStatementBatchRequest) isRequest_Type() {} + +func (*Request_PrepareNamedStatementRequest) isRequest_Type() {} + +func (*Request_ExecuteNamedStatementRequest) isRequest_Type() {} + +func (*Request_FetchRequest) isRequest_Type() {} + +func (*Request_CloseStatementRequest) isRequest_Type() {} + +func (*Request_CommitRequest) isRequest_Type() {} + +func (*Request_RollbackRequest) isRequest_Type() {} + +func (*Request_ConnectionPropertiesUpdateRequest) isRequest_Type() {} + +func (*Request_CloseResultRequest) isRequest_Type() {} + +// +//Response message sent to the client by the server in case of an error. +type ErrorResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Human readable error message + Message string `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"` +} + +func (x *ErrorResponse) Reset() { + *x = ErrorResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_org_polypheny_prism_protointerface_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ErrorResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ErrorResponse) ProtoMessage() {} + +func (x *ErrorResponse) ProtoReflect() protoreflect.Message { + mi := &file_org_polypheny_prism_protointerface_proto_msgTypes[1] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ErrorResponse.ProtoReflect.Descriptor instead. +func (*ErrorResponse) Descriptor() ([]byte, []int) { + return file_org_polypheny_prism_protointerface_proto_rawDescGZIP(), []int{1} +} + +func (x *ErrorResponse) GetMessage() string { + if x != nil { + return x.Message + } + return "" +} + +// +//Wrapper message wrapping a specific response message to be sent to the client. +type Response struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // The id of the request this response is related to. + Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` + // If a request triggers a stream of responses from the server, this flag represents a response to be the end of the stream. + Last bool `protobuf:"varint,2,opt,name=last,proto3" json:"last,omitempty"` + // Types that are assignable to Type: + // *Response_ErrorResponse + // *Response_DbmsVersionResponse + // *Response_DefaultNamespaceResponse + // *Response_TableTypesResponse + // *Response_TypesResponse + // *Response_ProceduresResponse + // *Response_FunctionsResponse + // *Response_NamespacesResponse + // *Response_EntitiesResponse + // *Response_SqlStringFunctionsResponse + // *Response_SqlSystemFunctionsResponse + // *Response_SqlTimeDateFunctionsResponse + // *Response_SqlNumericFunctionsResponse + // *Response_SqlKeywordsResponse + // *Response_ConnectionResponse + // *Response_ConnectionCheckResponse + // *Response_DisconnectResponse + // *Response_ClientInfoPropertiesResponse + // *Response_SetClientInfoPropertiesResponse + // *Response_StatementResponse + // *Response_StatementBatchResponse + // *Response_StatementResult + // *Response_PreparedStatementSignature + // *Response_Frame + // *Response_CloseStatementResponse + // *Response_CommitResponse + // *Response_RollbackResponse + // *Response_ConnectionPropertiesUpdateResponse + // *Response_CloseResultResponse + Type isResponse_Type `protobuf_oneof:"type"` +} + +func (x *Response) Reset() { + *x = Response{} + if protoimpl.UnsafeEnabled { + mi := &file_org_polypheny_prism_protointerface_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Response) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Response) ProtoMessage() {} + +func (x *Response) ProtoReflect() protoreflect.Message { + mi := &file_org_polypheny_prism_protointerface_proto_msgTypes[2] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Response.ProtoReflect.Descriptor instead. +func (*Response) Descriptor() ([]byte, []int) { + return file_org_polypheny_prism_protointerface_proto_rawDescGZIP(), []int{2} +} + +func (x *Response) GetId() uint64 { + if x != nil { + return x.Id + } + return 0 +} + +func (x *Response) GetLast() bool { + if x != nil { + return x.Last + } + return false +} + +func (m *Response) GetType() isResponse_Type { + if m != nil { + return m.Type + } + return nil +} + +func (x *Response) GetErrorResponse() *ErrorResponse { + if x, ok := x.GetType().(*Response_ErrorResponse); ok { + return x.ErrorResponse + } + return nil +} + +func (x *Response) GetDbmsVersionResponse() *DbmsVersionResponse { + if x, ok := x.GetType().(*Response_DbmsVersionResponse); ok { + return x.DbmsVersionResponse + } + return nil +} + +func (x *Response) GetDefaultNamespaceResponse() *DefaultNamespaceResponse { + if x, ok := x.GetType().(*Response_DefaultNamespaceResponse); ok { + return x.DefaultNamespaceResponse + } + return nil +} + +func (x *Response) GetTableTypesResponse() *TableTypesResponse { + if x, ok := x.GetType().(*Response_TableTypesResponse); ok { + return x.TableTypesResponse + } + return nil +} + +func (x *Response) GetTypesResponse() *TypesResponse { + if x, ok := x.GetType().(*Response_TypesResponse); ok { + return x.TypesResponse + } + return nil +} + +func (x *Response) GetProceduresResponse() *ProceduresResponse { + if x, ok := x.GetType().(*Response_ProceduresResponse); ok { + return x.ProceduresResponse + } + return nil +} + +func (x *Response) GetFunctionsResponse() *FunctionsResponse { + if x, ok := x.GetType().(*Response_FunctionsResponse); ok { + return x.FunctionsResponse + } + return nil +} + +func (x *Response) GetNamespacesResponse() *NamespacesResponse { + if x, ok := x.GetType().(*Response_NamespacesResponse); ok { + return x.NamespacesResponse + } + return nil +} + +func (x *Response) GetEntitiesResponse() *EntitiesResponse { + if x, ok := x.GetType().(*Response_EntitiesResponse); ok { + return x.EntitiesResponse + } + return nil +} + +func (x *Response) GetSqlStringFunctionsResponse() *MetaStringResponse { + if x, ok := x.GetType().(*Response_SqlStringFunctionsResponse); ok { + return x.SqlStringFunctionsResponse + } + return nil +} + +func (x *Response) GetSqlSystemFunctionsResponse() *MetaStringResponse { + if x, ok := x.GetType().(*Response_SqlSystemFunctionsResponse); ok { + return x.SqlSystemFunctionsResponse + } + return nil +} + +func (x *Response) GetSqlTimeDateFunctionsResponse() *MetaStringResponse { + if x, ok := x.GetType().(*Response_SqlTimeDateFunctionsResponse); ok { + return x.SqlTimeDateFunctionsResponse + } + return nil +} + +func (x *Response) GetSqlNumericFunctionsResponse() *MetaStringResponse { + if x, ok := x.GetType().(*Response_SqlNumericFunctionsResponse); ok { + return x.SqlNumericFunctionsResponse + } + return nil +} + +func (x *Response) GetSqlKeywordsResponse() *MetaStringResponse { + if x, ok := x.GetType().(*Response_SqlKeywordsResponse); ok { + return x.SqlKeywordsResponse + } + return nil +} + +func (x *Response) GetConnectionResponse() *ConnectionResponse { + if x, ok := x.GetType().(*Response_ConnectionResponse); ok { + return x.ConnectionResponse + } + return nil +} + +func (x *Response) GetConnectionCheckResponse() *ConnectionCheckResponse { + if x, ok := x.GetType().(*Response_ConnectionCheckResponse); ok { + return x.ConnectionCheckResponse + } + return nil +} + +func (x *Response) GetDisconnectResponse() *DisconnectResponse { + if x, ok := x.GetType().(*Response_DisconnectResponse); ok { + return x.DisconnectResponse + } + return nil +} + +func (x *Response) GetClientInfoPropertiesResponse() *ClientInfoProperties { + if x, ok := x.GetType().(*Response_ClientInfoPropertiesResponse); ok { + return x.ClientInfoPropertiesResponse + } + return nil +} + +func (x *Response) GetSetClientInfoPropertiesResponse() *ClientInfoPropertiesResponse { + if x, ok := x.GetType().(*Response_SetClientInfoPropertiesResponse); ok { + return x.SetClientInfoPropertiesResponse + } + return nil +} + +func (x *Response) GetStatementResponse() *StatementResponse { + if x, ok := x.GetType().(*Response_StatementResponse); ok { + return x.StatementResponse + } + return nil +} + +func (x *Response) GetStatementBatchResponse() *StatementBatchResponse { + if x, ok := x.GetType().(*Response_StatementBatchResponse); ok { + return x.StatementBatchResponse + } + return nil +} + +func (x *Response) GetStatementResult() *StatementResult { + if x, ok := x.GetType().(*Response_StatementResult); ok { + return x.StatementResult + } + return nil +} + +func (x *Response) GetPreparedStatementSignature() *PreparedStatementSignature { + if x, ok := x.GetType().(*Response_PreparedStatementSignature); ok { + return x.PreparedStatementSignature + } + return nil +} + +func (x *Response) GetFrame() *Frame { + if x, ok := x.GetType().(*Response_Frame); ok { + return x.Frame + } + return nil +} + +func (x *Response) GetCloseStatementResponse() *CloseStatementResponse { + if x, ok := x.GetType().(*Response_CloseStatementResponse); ok { + return x.CloseStatementResponse + } + return nil +} + +func (x *Response) GetCommitResponse() *CommitResponse { + if x, ok := x.GetType().(*Response_CommitResponse); ok { + return x.CommitResponse + } + return nil +} + +func (x *Response) GetRollbackResponse() *RollbackResponse { + if x, ok := x.GetType().(*Response_RollbackResponse); ok { + return x.RollbackResponse + } + return nil +} + +func (x *Response) GetConnectionPropertiesUpdateResponse() *ConnectionPropertiesUpdateResponse { + if x, ok := x.GetType().(*Response_ConnectionPropertiesUpdateResponse); ok { + return x.ConnectionPropertiesUpdateResponse + } + return nil +} + +func (x *Response) GetCloseResultResponse() *CloseResultResponse { + if x, ok := x.GetType().(*Response_CloseResultResponse); ok { + return x.CloseResultResponse + } + return nil +} + +type isResponse_Type interface { + isResponse_Type() +} + +type Response_ErrorResponse struct { + ErrorResponse *ErrorResponse `protobuf:"bytes,256,opt,name=error_response,json=errorResponse,proto3,oneof"` +} + +type Response_DbmsVersionResponse struct { + DbmsVersionResponse *DbmsVersionResponse `protobuf:"bytes,3,opt,name=dbms_version_response,json=dbmsVersionResponse,proto3,oneof"` +} + +type Response_DefaultNamespaceResponse struct { + DefaultNamespaceResponse *DefaultNamespaceResponse `protobuf:"bytes,24,opt,name=default_namespace_response,json=defaultNamespaceResponse,proto3,oneof"` +} + +type Response_TableTypesResponse struct { + TableTypesResponse *TableTypesResponse `protobuf:"bytes,5,opt,name=table_types_response,json=tableTypesResponse,proto3,oneof"` +} + +type Response_TypesResponse struct { + TypesResponse *TypesResponse `protobuf:"bytes,26,opt,name=types_response,json=typesResponse,proto3,oneof"` +} + +type Response_ProceduresResponse struct { + ProceduresResponse *ProceduresResponse `protobuf:"bytes,7,opt,name=procedures_response,json=proceduresResponse,proto3,oneof"` +} + +type Response_FunctionsResponse struct { + FunctionsResponse *FunctionsResponse `protobuf:"bytes,29,opt,name=functions_response,json=functionsResponse,proto3,oneof"` +} + +type Response_NamespacesResponse struct { + NamespacesResponse *NamespacesResponse `protobuf:"bytes,8,opt,name=namespaces_response,json=namespacesResponse,proto3,oneof"` +} + +type Response_EntitiesResponse struct { + EntitiesResponse *EntitiesResponse `protobuf:"bytes,9,opt,name=entities_response,json=entitiesResponse,proto3,oneof"` +} + +type Response_SqlStringFunctionsResponse struct { + SqlStringFunctionsResponse *MetaStringResponse `protobuf:"bytes,10,opt,name=sql_string_functions_response,json=sqlStringFunctionsResponse,proto3,oneof"` +} + +type Response_SqlSystemFunctionsResponse struct { + SqlSystemFunctionsResponse *MetaStringResponse `protobuf:"bytes,11,opt,name=sql_system_functions_response,json=sqlSystemFunctionsResponse,proto3,oneof"` +} + +type Response_SqlTimeDateFunctionsResponse struct { + SqlTimeDateFunctionsResponse *MetaStringResponse `protobuf:"bytes,30,opt,name=sql_time_date_functions_response,json=sqlTimeDateFunctionsResponse,proto3,oneof"` +} + +type Response_SqlNumericFunctionsResponse struct { + SqlNumericFunctionsResponse *MetaStringResponse `protobuf:"bytes,31,opt,name=sql_numeric_functions_response,json=sqlNumericFunctionsResponse,proto3,oneof"` +} + +type Response_SqlKeywordsResponse struct { + SqlKeywordsResponse *MetaStringResponse `protobuf:"bytes,32,opt,name=sql_keywords_response,json=sqlKeywordsResponse,proto3,oneof"` +} + +type Response_ConnectionResponse struct { + ConnectionResponse *ConnectionResponse `protobuf:"bytes,12,opt,name=connection_response,json=connectionResponse,proto3,oneof"` +} + +type Response_ConnectionCheckResponse struct { + ConnectionCheckResponse *ConnectionCheckResponse `protobuf:"bytes,25,opt,name=connection_check_response,json=connectionCheckResponse,proto3,oneof"` +} + +type Response_DisconnectResponse struct { + DisconnectResponse *DisconnectResponse `protobuf:"bytes,13,opt,name=disconnect_response,json=disconnectResponse,proto3,oneof"` +} + +type Response_ClientInfoPropertiesResponse struct { + ClientInfoPropertiesResponse *ClientInfoProperties `protobuf:"bytes,33,opt,name=client_info_properties_response,json=clientInfoPropertiesResponse,proto3,oneof"` +} + +type Response_SetClientInfoPropertiesResponse struct { + SetClientInfoPropertiesResponse *ClientInfoPropertiesResponse `protobuf:"bytes,14,opt,name=set_client_info_properties_response,json=setClientInfoPropertiesResponse,proto3,oneof"` +} + +type Response_StatementResponse struct { + StatementResponse *StatementResponse `protobuf:"bytes,15,opt,name=statement_response,json=statementResponse,proto3,oneof"` +} + +type Response_StatementBatchResponse struct { + StatementBatchResponse *StatementBatchResponse `protobuf:"bytes,16,opt,name=statement_batch_response,json=statementBatchResponse,proto3,oneof"` +} + +type Response_StatementResult struct { + StatementResult *StatementResult `protobuf:"bytes,17,opt,name=statement_result,json=statementResult,proto3,oneof"` +} + +type Response_PreparedStatementSignature struct { + PreparedStatementSignature *PreparedStatementSignature `protobuf:"bytes,18,opt,name=prepared_statement_signature,json=preparedStatementSignature,proto3,oneof"` +} + +type Response_Frame struct { + Frame *Frame `protobuf:"bytes,19,opt,name=frame,proto3,oneof"` +} + +type Response_CloseStatementResponse struct { + CloseStatementResponse *CloseStatementResponse `protobuf:"bytes,20,opt,name=close_statement_response,json=closeStatementResponse,proto3,oneof"` +} + +type Response_CommitResponse struct { + CommitResponse *CommitResponse `protobuf:"bytes,21,opt,name=commit_response,json=commitResponse,proto3,oneof"` +} + +type Response_RollbackResponse struct { + RollbackResponse *RollbackResponse `protobuf:"bytes,22,opt,name=rollback_response,json=rollbackResponse,proto3,oneof"` +} + +type Response_ConnectionPropertiesUpdateResponse struct { + ConnectionPropertiesUpdateResponse *ConnectionPropertiesUpdateResponse `protobuf:"bytes,23,opt,name=connection_properties_update_response,json=connectionPropertiesUpdateResponse,proto3,oneof"` +} + +type Response_CloseResultResponse struct { + CloseResultResponse *CloseResultResponse `protobuf:"bytes,34,opt,name=close_result_response,json=closeResultResponse,proto3,oneof"` +} + +func (*Response_ErrorResponse) isResponse_Type() {} + +func (*Response_DbmsVersionResponse) isResponse_Type() {} + +func (*Response_DefaultNamespaceResponse) isResponse_Type() {} + +func (*Response_TableTypesResponse) isResponse_Type() {} + +func (*Response_TypesResponse) isResponse_Type() {} + +func (*Response_ProceduresResponse) isResponse_Type() {} + +func (*Response_FunctionsResponse) isResponse_Type() {} + +func (*Response_NamespacesResponse) isResponse_Type() {} + +func (*Response_EntitiesResponse) isResponse_Type() {} + +func (*Response_SqlStringFunctionsResponse) isResponse_Type() {} + +func (*Response_SqlSystemFunctionsResponse) isResponse_Type() {} + +func (*Response_SqlTimeDateFunctionsResponse) isResponse_Type() {} + +func (*Response_SqlNumericFunctionsResponse) isResponse_Type() {} + +func (*Response_SqlKeywordsResponse) isResponse_Type() {} + +func (*Response_ConnectionResponse) isResponse_Type() {} + +func (*Response_ConnectionCheckResponse) isResponse_Type() {} + +func (*Response_DisconnectResponse) isResponse_Type() {} + +func (*Response_ClientInfoPropertiesResponse) isResponse_Type() {} + +func (*Response_SetClientInfoPropertiesResponse) isResponse_Type() {} + +func (*Response_StatementResponse) isResponse_Type() {} + +func (*Response_StatementBatchResponse) isResponse_Type() {} + +func (*Response_StatementResult) isResponse_Type() {} + +func (*Response_PreparedStatementSignature) isResponse_Type() {} + +func (*Response_Frame) isResponse_Type() {} + +func (*Response_CloseStatementResponse) isResponse_Type() {} + +func (*Response_CommitResponse) isResponse_Type() {} + +func (*Response_RollbackResponse) isResponse_Type() {} + +func (*Response_ConnectionPropertiesUpdateResponse) isResponse_Type() {} + +func (*Response_CloseResultResponse) isResponse_Type() {} + +var File_org_polypheny_prism_protointerface_proto protoreflect.FileDescriptor + +var file_org_polypheny_prism_protointerface_proto_rawDesc = []byte{ + 0x0a, 0x28, 0x6f, 0x72, 0x67, 0x2f, 0x70, 0x6f, 0x6c, 0x79, 0x70, 0x68, 0x65, 0x6e, 0x79, 0x2f, + 0x70, 0x72, 0x69, 0x73, 0x6d, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x69, 0x6e, 0x74, 0x65, 0x72, + 0x66, 0x61, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x13, 0x6f, 0x72, 0x67, 0x2e, + 0x70, 0x6f, 0x6c, 0x79, 0x70, 0x68, 0x65, 0x6e, 0x79, 0x2e, 0x70, 0x72, 0x69, 0x73, 0x6d, 0x1a, + 0x2d, 0x6f, 0x72, 0x67, 0x2f, 0x70, 0x6f, 0x6c, 0x79, 0x70, 0x68, 0x65, 0x6e, 0x79, 0x2f, 0x70, + 0x72, 0x69, 0x73, 0x6d, 0x2f, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x5f, + 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x2e, + 0x6f, 0x72, 0x67, 0x2f, 0x70, 0x6f, 0x6c, 0x79, 0x70, 0x68, 0x65, 0x6e, 0x79, 0x2f, 0x70, 0x72, + 0x69, 0x73, 0x6d, 0x2f, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x72, + 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x27, + 0x6f, 0x72, 0x67, 0x2f, 0x70, 0x6f, 0x6c, 0x79, 0x70, 0x68, 0x65, 0x6e, 0x79, 0x2f, 0x70, 0x72, + 0x69, 0x73, 0x6d, 0x2f, 0x6d, 0x65, 0x74, 0x61, 0x5f, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x28, 0x6f, 0x72, 0x67, 0x2f, 0x70, 0x6f, 0x6c, + 0x79, 0x70, 0x68, 0x65, 0x6e, 0x79, 0x2f, 0x70, 0x72, 0x69, 0x73, 0x6d, 0x2f, 0x6d, 0x65, 0x74, + 0x61, 0x5f, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x1a, 0x31, 0x6f, 0x72, 0x67, 0x2f, 0x70, 0x6f, 0x6c, 0x79, 0x70, 0x68, 0x65, 0x6e, 0x79, + 0x2f, 0x70, 0x72, 0x69, 0x73, 0x6d, 0x2f, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, + 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x5f, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x73, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x32, 0x6f, 0x72, 0x67, 0x2f, 0x70, 0x6f, 0x6c, 0x79, 0x70, 0x68, + 0x65, 0x6e, 0x79, 0x2f, 0x70, 0x72, 0x69, 0x73, 0x6d, 0x2f, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, + 0x61, 0x63, 0x65, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x5f, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, + 0x65, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x2c, 0x6f, 0x72, 0x67, 0x2f, 0x70, 0x6f, + 0x6c, 0x79, 0x70, 0x68, 0x65, 0x6e, 0x79, 0x2f, 0x70, 0x72, 0x69, 0x73, 0x6d, 0x2f, 0x73, 0x74, + 0x61, 0x74, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x5f, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x73, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x2d, 0x6f, 0x72, 0x67, 0x2f, 0x70, 0x6f, 0x6c, 0x79, + 0x70, 0x68, 0x65, 0x6e, 0x79, 0x2f, 0x70, 0x72, 0x69, 0x73, 0x6d, 0x2f, 0x73, 0x74, 0x61, 0x74, + 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x5f, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x73, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x70, 0x6f, 0x6c, 0x79, 0x70, + 0x68, 0x65, 0x6e, 0x79, 0x2f, 0x70, 0x72, 0x69, 0x73, 0x6d, 0x2f, 0x74, 0x72, 0x61, 0x6e, 0x73, + 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x73, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x2f, 0x6f, 0x72, 0x67, 0x2f, 0x70, 0x6f, 0x6c, 0x79, 0x70, + 0x68, 0x65, 0x6e, 0x79, 0x2f, 0x70, 0x72, 0x69, 0x73, 0x6d, 0x2f, 0x74, 0x72, 0x61, 0x6e, 0x73, + 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x73, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xac, 0x1a, 0x0a, 0x07, 0x52, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x02, + 0x69, 0x64, 0x12, 0x5b, 0x0a, 0x14, 0x64, 0x62, 0x6d, 0x73, 0x5f, 0x76, 0x65, 0x72, 0x73, 0x69, + 0x6f, 0x6e, 0x5f, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x27, 0x2e, 0x6f, 0x72, 0x67, 0x2e, 0x70, 0x6f, 0x6c, 0x79, 0x70, 0x68, 0x65, 0x6e, 0x79, + 0x2e, 0x70, 0x72, 0x69, 0x73, 0x6d, 0x2e, 0x44, 0x62, 0x6d, 0x73, 0x56, 0x65, 0x72, 0x73, 0x69, + 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x48, 0x00, 0x52, 0x12, 0x64, 0x62, 0x6d, + 0x73, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, + 0x6a, 0x0a, 0x19, 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x73, + 0x70, 0x61, 0x63, 0x65, 0x5f, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x18, 0x04, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x2c, 0x2e, 0x6f, 0x72, 0x67, 0x2e, 0x70, 0x6f, 0x6c, 0x79, 0x70, 0x68, 0x65, + 0x6e, 0x79, 0x2e, 0x70, 0x72, 0x69, 0x73, 0x6d, 0x2e, 0x44, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, + 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x48, 0x00, 0x52, 0x17, 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x73, + 0x70, 0x61, 0x63, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x58, 0x0a, 0x13, 0x74, + 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x73, 0x5f, 0x72, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x6f, 0x72, 0x67, 0x2e, 0x70, + 0x6f, 0x6c, 0x79, 0x70, 0x68, 0x65, 0x6e, 0x79, 0x2e, 0x70, 0x72, 0x69, 0x73, 0x6d, 0x2e, 0x54, + 0x61, 0x62, 0x6c, 0x65, 0x54, 0x79, 0x70, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x48, 0x00, 0x52, 0x11, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x54, 0x79, 0x70, 0x65, 0x73, 0x52, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x48, 0x0a, 0x0d, 0x74, 0x79, 0x70, 0x65, 0x73, 0x5f, 0x72, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x6f, + 0x72, 0x67, 0x2e, 0x70, 0x6f, 0x6c, 0x79, 0x70, 0x68, 0x65, 0x6e, 0x79, 0x2e, 0x70, 0x72, 0x69, + 0x73, 0x6d, 0x2e, 0x54, 0x79, 0x70, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x48, + 0x00, 0x52, 0x0c, 0x74, 0x79, 0x70, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, + 0x57, 0x0a, 0x12, 0x70, 0x72, 0x6f, 0x63, 0x65, 0x64, 0x75, 0x72, 0x65, 0x73, 0x5f, 0x72, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x6f, 0x72, + 0x67, 0x2e, 0x70, 0x6f, 0x6c, 0x79, 0x70, 0x68, 0x65, 0x6e, 0x79, 0x2e, 0x70, 0x72, 0x69, 0x73, + 0x6d, 0x2e, 0x50, 0x72, 0x6f, 0x63, 0x65, 0x64, 0x75, 0x72, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x48, 0x00, 0x52, 0x11, 0x70, 0x72, 0x6f, 0x63, 0x65, 0x64, 0x75, 0x72, 0x65, + 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x54, 0x0a, 0x11, 0x66, 0x75, 0x6e, 0x63, + 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x5f, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x18, 0x0a, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x6f, 0x72, 0x67, 0x2e, 0x70, 0x6f, 0x6c, 0x79, 0x70, 0x68, + 0x65, 0x6e, 0x79, 0x2e, 0x70, 0x72, 0x69, 0x73, 0x6d, 0x2e, 0x46, 0x75, 0x6e, 0x63, 0x74, 0x69, + 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x48, 0x00, 0x52, 0x10, 0x66, 0x75, + 0x6e, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x57, + 0x0a, 0x12, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x73, 0x5f, 0x72, 0x65, 0x71, + 0x75, 0x65, 0x73, 0x74, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x6f, 0x72, 0x67, + 0x2e, 0x70, 0x6f, 0x6c, 0x79, 0x70, 0x68, 0x65, 0x6e, 0x79, 0x2e, 0x70, 0x72, 0x69, 0x73, 0x6d, + 0x2e, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x48, 0x00, 0x52, 0x11, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x73, + 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x51, 0x0a, 0x10, 0x65, 0x6e, 0x74, 0x69, 0x74, + 0x69, 0x65, 0x73, 0x5f, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x18, 0x0d, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x24, 0x2e, 0x6f, 0x72, 0x67, 0x2e, 0x70, 0x6f, 0x6c, 0x79, 0x70, 0x68, 0x65, 0x6e, + 0x79, 0x2e, 0x70, 0x72, 0x69, 0x73, 0x6d, 0x2e, 0x45, 0x6e, 0x74, 0x69, 0x74, 0x69, 0x65, 0x73, + 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x48, 0x00, 0x52, 0x0f, 0x65, 0x6e, 0x74, 0x69, 0x74, + 0x69, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x71, 0x0a, 0x1c, 0x73, 0x71, + 0x6c, 0x5f, 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x5f, 0x66, 0x75, 0x6e, 0x63, 0x74, 0x69, 0x6f, + 0x6e, 0x73, 0x5f, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x2e, 0x2e, 0x6f, 0x72, 0x67, 0x2e, 0x70, 0x6f, 0x6c, 0x79, 0x70, 0x68, 0x65, 0x6e, 0x79, + 0x2e, 0x70, 0x72, 0x69, 0x73, 0x6d, 0x2e, 0x53, 0x71, 0x6c, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, + 0x46, 0x75, 0x6e, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x48, 0x00, 0x52, 0x19, 0x73, 0x71, 0x6c, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x46, 0x75, 0x6e, + 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x71, 0x0a, + 0x1c, 0x73, 0x71, 0x6c, 0x5f, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x5f, 0x66, 0x75, 0x6e, 0x63, + 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x5f, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x18, 0x0f, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x2e, 0x2e, 0x6f, 0x72, 0x67, 0x2e, 0x70, 0x6f, 0x6c, 0x79, 0x70, 0x68, + 0x65, 0x6e, 0x79, 0x2e, 0x70, 0x72, 0x69, 0x73, 0x6d, 0x2e, 0x53, 0x71, 0x6c, 0x53, 0x79, 0x73, + 0x74, 0x65, 0x6d, 0x46, 0x75, 0x6e, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x48, 0x00, 0x52, 0x19, 0x73, 0x71, 0x6c, 0x53, 0x79, 0x73, 0x74, 0x65, 0x6d, + 0x46, 0x75, 0x6e, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x12, 0x78, 0x0a, 0x1f, 0x73, 0x71, 0x6c, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x5f, 0x64, 0x61, 0x74, + 0x65, 0x5f, 0x66, 0x75, 0x6e, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x5f, 0x72, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x18, 0x10, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x30, 0x2e, 0x6f, 0x72, 0x67, 0x2e, + 0x70, 0x6f, 0x6c, 0x79, 0x70, 0x68, 0x65, 0x6e, 0x79, 0x2e, 0x70, 0x72, 0x69, 0x73, 0x6d, 0x2e, + 0x53, 0x71, 0x6c, 0x54, 0x69, 0x6d, 0x65, 0x44, 0x61, 0x74, 0x65, 0x46, 0x75, 0x6e, 0x63, 0x74, + 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x48, 0x00, 0x52, 0x1b, 0x73, + 0x71, 0x6c, 0x54, 0x69, 0x6d, 0x65, 0x44, 0x61, 0x74, 0x65, 0x46, 0x75, 0x6e, 0x63, 0x74, 0x69, + 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x74, 0x0a, 0x1d, 0x73, 0x71, + 0x6c, 0x5f, 0x6e, 0x75, 0x6d, 0x65, 0x72, 0x69, 0x63, 0x5f, 0x66, 0x75, 0x6e, 0x63, 0x74, 0x69, + 0x6f, 0x6e, 0x73, 0x5f, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x18, 0x11, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x2f, 0x2e, 0x6f, 0x72, 0x67, 0x2e, 0x70, 0x6f, 0x6c, 0x79, 0x70, 0x68, 0x65, 0x6e, + 0x79, 0x2e, 0x70, 0x72, 0x69, 0x73, 0x6d, 0x2e, 0x53, 0x71, 0x6c, 0x4e, 0x75, 0x6d, 0x65, 0x72, + 0x69, 0x63, 0x46, 0x75, 0x6e, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x48, 0x00, 0x52, 0x1a, 0x73, 0x71, 0x6c, 0x4e, 0x75, 0x6d, 0x65, 0x72, 0x69, 0x63, + 0x46, 0x75, 0x6e, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x12, 0x5b, 0x0a, 0x14, 0x73, 0x71, 0x6c, 0x5f, 0x6b, 0x65, 0x79, 0x77, 0x6f, 0x72, 0x64, 0x73, + 0x5f, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x18, 0x12, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x27, + 0x2e, 0x6f, 0x72, 0x67, 0x2e, 0x70, 0x6f, 0x6c, 0x79, 0x70, 0x68, 0x65, 0x6e, 0x79, 0x2e, 0x70, + 0x72, 0x69, 0x73, 0x6d, 0x2e, 0x53, 0x71, 0x6c, 0x4b, 0x65, 0x79, 0x77, 0x6f, 0x72, 0x64, 0x73, + 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x48, 0x00, 0x52, 0x12, 0x73, 0x71, 0x6c, 0x4b, 0x65, + 0x79, 0x77, 0x6f, 0x72, 0x64, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x57, 0x0a, + 0x12, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x72, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x18, 0x13, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x6f, 0x72, 0x67, 0x2e, + 0x70, 0x6f, 0x6c, 0x79, 0x70, 0x68, 0x65, 0x6e, 0x79, 0x2e, 0x70, 0x72, 0x69, 0x73, 0x6d, 0x2e, + 0x43, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, + 0x74, 0x48, 0x00, 0x52, 0x11, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x67, 0x0a, 0x18, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, + 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x63, 0x68, 0x65, 0x63, 0x6b, 0x5f, 0x72, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x18, 0x14, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2b, 0x2e, 0x6f, 0x72, 0x67, 0x2e, 0x70, + 0x6f, 0x6c, 0x79, 0x70, 0x68, 0x65, 0x6e, 0x79, 0x2e, 0x70, 0x72, 0x69, 0x73, 0x6d, 0x2e, 0x43, + 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x52, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x48, 0x00, 0x52, 0x16, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, + 0x69, 0x6f, 0x6e, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, + 0x57, 0x0a, 0x12, 0x64, 0x69, 0x73, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x5f, 0x72, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x18, 0x15, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x6f, 0x72, + 0x67, 0x2e, 0x70, 0x6f, 0x6c, 0x79, 0x70, 0x68, 0x65, 0x6e, 0x79, 0x2e, 0x70, 0x72, 0x69, 0x73, + 0x6d, 0x2e, 0x44, 0x69, 0x73, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x52, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x48, 0x00, 0x52, 0x11, 0x64, 0x69, 0x73, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, + 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x77, 0x0a, 0x1e, 0x63, 0x6c, 0x69, 0x65, + 0x6e, 0x74, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x5f, 0x70, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x69, + 0x65, 0x73, 0x5f, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x18, 0x16, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x30, 0x2e, 0x6f, 0x72, 0x67, 0x2e, 0x70, 0x6f, 0x6c, 0x79, 0x70, 0x68, 0x65, 0x6e, 0x79, + 0x2e, 0x70, 0x72, 0x69, 0x73, 0x6d, 0x2e, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x49, 0x6e, 0x66, + 0x6f, 0x50, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x69, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x48, 0x00, 0x52, 0x1b, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x49, 0x6e, 0x66, 0x6f, + 0x50, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x69, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, + 0x74, 0x12, 0x77, 0x0a, 0x22, 0x73, 0x65, 0x74, 0x5f, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x5f, + 0x69, 0x6e, 0x66, 0x6f, 0x5f, 0x70, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x69, 0x65, 0x73, 0x5f, + 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x18, 0x17, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x29, 0x2e, + 0x6f, 0x72, 0x67, 0x2e, 0x70, 0x6f, 0x6c, 0x79, 0x70, 0x68, 0x65, 0x6e, 0x79, 0x2e, 0x70, 0x72, + 0x69, 0x73, 0x6d, 0x2e, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x50, 0x72, + 0x6f, 0x70, 0x65, 0x72, 0x74, 0x69, 0x65, 0x73, 0x48, 0x00, 0x52, 0x1e, 0x73, 0x65, 0x74, 0x43, + 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x50, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, + 0x69, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x98, 0x01, 0x0a, 0x29, 0x65, + 0x78, 0x65, 0x63, 0x75, 0x74, 0x65, 0x5f, 0x75, 0x6e, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, + 0x65, 0x72, 0x69, 0x7a, 0x65, 0x64, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x65, 0x6d, 0x65, 0x6e, 0x74, + 0x5f, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x18, 0x18, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x3b, + 0x2e, 0x6f, 0x72, 0x67, 0x2e, 0x70, 0x6f, 0x6c, 0x79, 0x70, 0x68, 0x65, 0x6e, 0x79, 0x2e, 0x70, + 0x72, 0x69, 0x73, 0x6d, 0x2e, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x65, 0x55, 0x6e, 0x70, 0x61, + 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x69, 0x7a, 0x65, 0x64, 0x53, 0x74, 0x61, 0x74, 0x65, + 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x48, 0x00, 0x52, 0x26, 0x65, + 0x78, 0x65, 0x63, 0x75, 0x74, 0x65, 0x55, 0x6e, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, + 0x72, 0x69, 0x7a, 0x65, 0x64, 0x53, 0x74, 0x61, 0x74, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0xa8, 0x01, 0x0a, 0x2f, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, + 0x65, 0x5f, 0x75, 0x6e, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x69, 0x7a, 0x65, + 0x64, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x5f, 0x62, 0x61, 0x74, 0x63, + 0x68, 0x5f, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x18, 0x19, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x40, 0x2e, 0x6f, 0x72, 0x67, 0x2e, 0x70, 0x6f, 0x6c, 0x79, 0x70, 0x68, 0x65, 0x6e, 0x79, 0x2e, + 0x70, 0x72, 0x69, 0x73, 0x6d, 0x2e, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x65, 0x55, 0x6e, 0x70, + 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x69, 0x7a, 0x65, 0x64, 0x53, 0x74, 0x61, 0x74, + 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x42, 0x61, 0x74, 0x63, 0x68, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, + 0x74, 0x48, 0x00, 0x52, 0x2b, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x65, 0x55, 0x6e, 0x70, 0x61, + 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x69, 0x7a, 0x65, 0x64, 0x53, 0x74, 0x61, 0x74, 0x65, + 0x6d, 0x65, 0x6e, 0x74, 0x42, 0x61, 0x74, 0x63, 0x68, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x12, 0x79, 0x0a, 0x21, 0x70, 0x72, 0x65, 0x70, 0x61, 0x72, 0x65, 0x5f, 0x69, 0x6e, 0x64, 0x65, + 0x78, 0x65, 0x64, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x5f, 0x72, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x18, 0x1a, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2c, 0x2e, 0x6f, 0x72, + 0x67, 0x2e, 0x70, 0x6f, 0x6c, 0x79, 0x70, 0x68, 0x65, 0x6e, 0x79, 0x2e, 0x70, 0x72, 0x69, 0x73, + 0x6d, 0x2e, 0x50, 0x72, 0x65, 0x70, 0x61, 0x72, 0x65, 0x53, 0x74, 0x61, 0x74, 0x65, 0x6d, 0x65, + 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x48, 0x00, 0x52, 0x1e, 0x70, 0x72, 0x65, + 0x70, 0x61, 0x72, 0x65, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x65, 0x64, 0x53, 0x74, 0x61, 0x74, 0x65, + 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x80, 0x01, 0x0a, 0x21, + 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x65, 0x5f, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x65, 0x64, 0x5f, + 0x73, 0x74, 0x61, 0x74, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x5f, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, + 0x74, 0x18, 0x1b, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x33, 0x2e, 0x6f, 0x72, 0x67, 0x2e, 0x70, 0x6f, + 0x6c, 0x79, 0x70, 0x68, 0x65, 0x6e, 0x79, 0x2e, 0x70, 0x72, 0x69, 0x73, 0x6d, 0x2e, 0x45, 0x78, + 0x65, 0x63, 0x75, 0x74, 0x65, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x65, 0x64, 0x53, 0x74, 0x61, 0x74, + 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x48, 0x00, 0x52, 0x1e, + 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x65, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x65, 0x64, 0x53, 0x74, + 0x61, 0x74, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x90, + 0x01, 0x0a, 0x27, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x65, 0x5f, 0x69, 0x6e, 0x64, 0x65, 0x78, + 0x65, 0x64, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x5f, 0x62, 0x61, 0x74, + 0x63, 0x68, 0x5f, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x18, 0x1c, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x38, 0x2e, 0x6f, 0x72, 0x67, 0x2e, 0x70, 0x6f, 0x6c, 0x79, 0x70, 0x68, 0x65, 0x6e, 0x79, + 0x2e, 0x70, 0x72, 0x69, 0x73, 0x6d, 0x2e, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x65, 0x49, 0x6e, + 0x64, 0x65, 0x78, 0x65, 0x64, 0x53, 0x74, 0x61, 0x74, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x42, 0x61, + 0x74, 0x63, 0x68, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x48, 0x00, 0x52, 0x23, 0x65, 0x78, + 0x65, 0x63, 0x75, 0x74, 0x65, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x65, 0x64, 0x53, 0x74, 0x61, 0x74, + 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x42, 0x61, 0x74, 0x63, 0x68, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, + 0x74, 0x12, 0x75, 0x0a, 0x1f, 0x70, 0x72, 0x65, 0x70, 0x61, 0x72, 0x65, 0x5f, 0x6e, 0x61, 0x6d, + 0x65, 0x64, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x5f, 0x72, 0x65, 0x71, + 0x75, 0x65, 0x73, 0x74, 0x18, 0x1d, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2c, 0x2e, 0x6f, 0x72, 0x67, + 0x2e, 0x70, 0x6f, 0x6c, 0x79, 0x70, 0x68, 0x65, 0x6e, 0x79, 0x2e, 0x70, 0x72, 0x69, 0x73, 0x6d, + 0x2e, 0x50, 0x72, 0x65, 0x70, 0x61, 0x72, 0x65, 0x53, 0x74, 0x61, 0x74, 0x65, 0x6d, 0x65, 0x6e, + 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x48, 0x00, 0x52, 0x1c, 0x70, 0x72, 0x65, 0x70, + 0x61, 0x72, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x64, 0x53, 0x74, 0x61, 0x74, 0x65, 0x6d, 0x65, 0x6e, + 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x7a, 0x0a, 0x1f, 0x65, 0x78, 0x65, 0x63, + 0x75, 0x74, 0x65, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x64, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x65, 0x6d, + 0x65, 0x6e, 0x74, 0x5f, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x18, 0x1e, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x31, 0x2e, 0x6f, 0x72, 0x67, 0x2e, 0x70, 0x6f, 0x6c, 0x79, 0x70, 0x68, 0x65, 0x6e, + 0x79, 0x2e, 0x70, 0x72, 0x69, 0x73, 0x6d, 0x2e, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x65, 0x4e, + 0x61, 0x6d, 0x65, 0x64, 0x53, 0x74, 0x61, 0x74, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x71, + 0x75, 0x65, 0x73, 0x74, 0x48, 0x00, 0x52, 0x1c, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x65, 0x4e, + 0x61, 0x6d, 0x65, 0x64, 0x53, 0x74, 0x61, 0x74, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x71, + 0x75, 0x65, 0x73, 0x74, 0x12, 0x48, 0x0a, 0x0d, 0x66, 0x65, 0x74, 0x63, 0x68, 0x5f, 0x72, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x18, 0x1f, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x6f, 0x72, + 0x67, 0x2e, 0x70, 0x6f, 0x6c, 0x79, 0x70, 0x68, 0x65, 0x6e, 0x79, 0x2e, 0x70, 0x72, 0x69, 0x73, + 0x6d, 0x2e, 0x46, 0x65, 0x74, 0x63, 0x68, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x48, 0x00, + 0x52, 0x0c, 0x66, 0x65, 0x74, 0x63, 0x68, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x64, + 0x0a, 0x17, 0x63, 0x6c, 0x6f, 0x73, 0x65, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x65, 0x6d, 0x65, 0x6e, + 0x74, 0x5f, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x18, 0x20, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x2a, 0x2e, 0x6f, 0x72, 0x67, 0x2e, 0x70, 0x6f, 0x6c, 0x79, 0x70, 0x68, 0x65, 0x6e, 0x79, 0x2e, + 0x70, 0x72, 0x69, 0x73, 0x6d, 0x2e, 0x43, 0x6c, 0x6f, 0x73, 0x65, 0x53, 0x74, 0x61, 0x74, 0x65, + 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x48, 0x00, 0x52, 0x15, 0x63, + 0x6c, 0x6f, 0x73, 0x65, 0x53, 0x74, 0x61, 0x74, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x71, + 0x75, 0x65, 0x73, 0x74, 0x12, 0x4b, 0x0a, 0x0e, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x5f, 0x72, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x18, 0x21, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x6f, + 0x72, 0x67, 0x2e, 0x70, 0x6f, 0x6c, 0x79, 0x70, 0x68, 0x65, 0x6e, 0x79, 0x2e, 0x70, 0x72, 0x69, + 0x73, 0x6d, 0x2e, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x48, 0x00, 0x52, 0x0d, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, + 0x74, 0x12, 0x51, 0x0a, 0x10, 0x72, 0x6f, 0x6c, 0x6c, 0x62, 0x61, 0x63, 0x6b, 0x5f, 0x72, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x18, 0x22, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x6f, 0x72, + 0x67, 0x2e, 0x70, 0x6f, 0x6c, 0x79, 0x70, 0x68, 0x65, 0x6e, 0x79, 0x2e, 0x70, 0x72, 0x69, 0x73, + 0x6d, 0x2e, 0x52, 0x6f, 0x6c, 0x6c, 0x62, 0x61, 0x63, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, + 0x74, 0x48, 0x00, 0x52, 0x0f, 0x72, 0x6f, 0x6c, 0x6c, 0x62, 0x61, 0x63, 0x6b, 0x52, 0x65, 0x71, + 0x75, 0x65, 0x73, 0x74, 0x12, 0x89, 0x01, 0x0a, 0x24, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, + 0x69, 0x6f, 0x6e, 0x5f, 0x70, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x69, 0x65, 0x73, 0x5f, 0x75, + 0x70, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x18, 0x23, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x36, 0x2e, 0x6f, 0x72, 0x67, 0x2e, 0x70, 0x6f, 0x6c, 0x79, 0x70, 0x68, + 0x65, 0x6e, 0x79, 0x2e, 0x70, 0x72, 0x69, 0x73, 0x6d, 0x2e, 0x43, 0x6f, 0x6e, 0x6e, 0x65, 0x63, + 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x69, 0x65, 0x73, 0x55, 0x70, + 0x64, 0x61, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x48, 0x00, 0x52, 0x21, 0x63, + 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, + 0x69, 0x65, 0x73, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x12, 0x5b, 0x0a, 0x14, 0x63, 0x6c, 0x6f, 0x73, 0x65, 0x5f, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, + 0x5f, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x18, 0x24, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x27, + 0x2e, 0x6f, 0x72, 0x67, 0x2e, 0x70, 0x6f, 0x6c, 0x79, 0x70, 0x68, 0x65, 0x6e, 0x79, 0x2e, 0x70, + 0x72, 0x69, 0x73, 0x6d, 0x2e, 0x43, 0x6c, 0x6f, 0x73, 0x65, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, + 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x48, 0x00, 0x52, 0x12, 0x63, 0x6c, 0x6f, 0x73, 0x65, + 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x42, 0x06, 0x0a, + 0x04, 0x74, 0x79, 0x70, 0x65, 0x22, 0x29, 0x0a, 0x0d, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x52, 0x65, + 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, + 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, + 0x22, 0xda, 0x16, 0x0a, 0x08, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x0e, 0x0a, + 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x02, 0x69, 0x64, 0x12, 0x12, 0x0a, + 0x04, 0x6c, 0x61, 0x73, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x04, 0x6c, 0x61, 0x73, + 0x74, 0x12, 0x4c, 0x0a, 0x0e, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x5f, 0x72, 0x65, 0x73, 0x70, 0x6f, + 0x6e, 0x73, 0x65, 0x18, 0x80, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x6f, 0x72, 0x67, + 0x2e, 0x70, 0x6f, 0x6c, 0x79, 0x70, 0x68, 0x65, 0x6e, 0x79, 0x2e, 0x70, 0x72, 0x69, 0x73, 0x6d, + 0x2e, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x48, 0x00, + 0x52, 0x0d, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, + 0x5e, 0x0a, 0x15, 0x64, 0x62, 0x6d, 0x73, 0x5f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x5f, + 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x28, + 0x2e, 0x6f, 0x72, 0x67, 0x2e, 0x70, 0x6f, 0x6c, 0x79, 0x70, 0x68, 0x65, 0x6e, 0x79, 0x2e, 0x70, + 0x72, 0x69, 0x73, 0x6d, 0x2e, 0x44, 0x62, 0x6d, 0x73, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, + 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x48, 0x00, 0x52, 0x13, 0x64, 0x62, 0x6d, 0x73, + 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, + 0x6d, 0x0a, 0x1a, 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x73, + 0x70, 0x61, 0x63, 0x65, 0x5f, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x18, 0x18, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x2d, 0x2e, 0x6f, 0x72, 0x67, 0x2e, 0x70, 0x6f, 0x6c, 0x79, 0x70, 0x68, + 0x65, 0x6e, 0x79, 0x2e, 0x70, 0x72, 0x69, 0x73, 0x6d, 0x2e, 0x44, 0x65, 0x66, 0x61, 0x75, 0x6c, + 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, + 0x73, 0x65, 0x48, 0x00, 0x52, 0x18, 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x4e, 0x61, 0x6d, + 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x5b, + 0x0a, 0x14, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x73, 0x5f, 0x72, 0x65, + 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x6f, + 0x72, 0x67, 0x2e, 0x70, 0x6f, 0x6c, 0x79, 0x70, 0x68, 0x65, 0x6e, 0x79, 0x2e, 0x70, 0x72, 0x69, + 0x73, 0x6d, 0x2e, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x54, 0x79, 0x70, 0x65, 0x73, 0x52, 0x65, 0x73, + 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x48, 0x00, 0x52, 0x12, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x54, 0x79, + 0x70, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x4b, 0x0a, 0x0e, 0x74, + 0x79, 0x70, 0x65, 0x73, 0x5f, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x18, 0x1a, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x6f, 0x72, 0x67, 0x2e, 0x70, 0x6f, 0x6c, 0x79, 0x70, 0x68, + 0x65, 0x6e, 0x79, 0x2e, 0x70, 0x72, 0x69, 0x73, 0x6d, 0x2e, 0x54, 0x79, 0x70, 0x65, 0x73, 0x52, + 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x48, 0x00, 0x52, 0x0d, 0x74, 0x79, 0x70, 0x65, 0x73, + 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x5a, 0x0a, 0x13, 0x70, 0x72, 0x6f, 0x63, + 0x65, 0x64, 0x75, 0x72, 0x65, 0x73, 0x5f, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x18, + 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x6f, 0x72, 0x67, 0x2e, 0x70, 0x6f, 0x6c, 0x79, + 0x70, 0x68, 0x65, 0x6e, 0x79, 0x2e, 0x70, 0x72, 0x69, 0x73, 0x6d, 0x2e, 0x50, 0x72, 0x6f, 0x63, + 0x65, 0x64, 0x75, 0x72, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x48, 0x00, + 0x52, 0x12, 0x70, 0x72, 0x6f, 0x63, 0x65, 0x64, 0x75, 0x72, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, + 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x57, 0x0a, 0x12, 0x66, 0x75, 0x6e, 0x63, 0x74, 0x69, 0x6f, 0x6e, + 0x73, 0x5f, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x18, 0x1d, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x26, 0x2e, 0x6f, 0x72, 0x67, 0x2e, 0x70, 0x6f, 0x6c, 0x79, 0x70, 0x68, 0x65, 0x6e, 0x79, + 0x2e, 0x70, 0x72, 0x69, 0x73, 0x6d, 0x2e, 0x46, 0x75, 0x6e, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, + 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x48, 0x00, 0x52, 0x11, 0x66, 0x75, 0x6e, 0x63, + 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x5a, 0x0a, + 0x13, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x73, 0x5f, 0x72, 0x65, 0x73, 0x70, + 0x6f, 0x6e, 0x73, 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x6f, 0x72, 0x67, + 0x2e, 0x70, 0x6f, 0x6c, 0x79, 0x70, 0x68, 0x65, 0x6e, 0x79, 0x2e, 0x70, 0x72, 0x69, 0x73, 0x6d, + 0x2e, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, + 0x6e, 0x73, 0x65, 0x48, 0x00, 0x52, 0x12, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, + 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x54, 0x0a, 0x11, 0x65, 0x6e, 0x74, + 0x69, 0x74, 0x69, 0x65, 0x73, 0x5f, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x18, 0x09, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x6f, 0x72, 0x67, 0x2e, 0x70, 0x6f, 0x6c, 0x79, 0x70, + 0x68, 0x65, 0x6e, 0x79, 0x2e, 0x70, 0x72, 0x69, 0x73, 0x6d, 0x2e, 0x45, 0x6e, 0x74, 0x69, 0x74, + 0x69, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x48, 0x00, 0x52, 0x10, 0x65, + 0x6e, 0x74, 0x69, 0x74, 0x69, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, + 0x6c, 0x0a, 0x1d, 0x73, 0x71, 0x6c, 0x5f, 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x5f, 0x66, 0x75, + 0x6e, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x5f, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, + 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x6f, 0x72, 0x67, 0x2e, 0x70, 0x6f, 0x6c, + 0x79, 0x70, 0x68, 0x65, 0x6e, 0x79, 0x2e, 0x70, 0x72, 0x69, 0x73, 0x6d, 0x2e, 0x4d, 0x65, 0x74, + 0x61, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x48, + 0x00, 0x52, 0x1a, 0x73, 0x71, 0x6c, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x46, 0x75, 0x6e, 0x63, + 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x6c, 0x0a, + 0x1d, 0x73, 0x71, 0x6c, 0x5f, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x5f, 0x66, 0x75, 0x6e, 0x63, + 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x5f, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x18, 0x0b, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x6f, 0x72, 0x67, 0x2e, 0x70, 0x6f, 0x6c, 0x79, 0x70, + 0x68, 0x65, 0x6e, 0x79, 0x2e, 0x70, 0x72, 0x69, 0x73, 0x6d, 0x2e, 0x4d, 0x65, 0x74, 0x61, 0x53, + 0x74, 0x72, 0x69, 0x6e, 0x67, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x48, 0x00, 0x52, + 0x1a, 0x73, 0x71, 0x6c, 0x53, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x46, 0x75, 0x6e, 0x63, 0x74, 0x69, + 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x71, 0x0a, 0x20, 0x73, + 0x71, 0x6c, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x5f, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x66, 0x75, 0x6e, + 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x5f, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x18, + 0x1e, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x6f, 0x72, 0x67, 0x2e, 0x70, 0x6f, 0x6c, 0x79, + 0x70, 0x68, 0x65, 0x6e, 0x79, 0x2e, 0x70, 0x72, 0x69, 0x73, 0x6d, 0x2e, 0x4d, 0x65, 0x74, 0x61, + 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x48, 0x00, + 0x52, 0x1c, 0x73, 0x71, 0x6c, 0x54, 0x69, 0x6d, 0x65, 0x44, 0x61, 0x74, 0x65, 0x46, 0x75, 0x6e, + 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x6e, + 0x0a, 0x1e, 0x73, 0x71, 0x6c, 0x5f, 0x6e, 0x75, 0x6d, 0x65, 0x72, 0x69, 0x63, 0x5f, 0x66, 0x75, + 0x6e, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x5f, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, + 0x18, 0x1f, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x6f, 0x72, 0x67, 0x2e, 0x70, 0x6f, 0x6c, + 0x79, 0x70, 0x68, 0x65, 0x6e, 0x79, 0x2e, 0x70, 0x72, 0x69, 0x73, 0x6d, 0x2e, 0x4d, 0x65, 0x74, + 0x61, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x48, + 0x00, 0x52, 0x1b, 0x73, 0x71, 0x6c, 0x4e, 0x75, 0x6d, 0x65, 0x72, 0x69, 0x63, 0x46, 0x75, 0x6e, + 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x5d, + 0x0a, 0x15, 0x73, 0x71, 0x6c, 0x5f, 0x6b, 0x65, 0x79, 0x77, 0x6f, 0x72, 0x64, 0x73, 0x5f, 0x72, + 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x18, 0x20, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x27, 0x2e, + 0x6f, 0x72, 0x67, 0x2e, 0x70, 0x6f, 0x6c, 0x79, 0x70, 0x68, 0x65, 0x6e, 0x79, 0x2e, 0x70, 0x72, + 0x69, 0x73, 0x6d, 0x2e, 0x4d, 0x65, 0x74, 0x61, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x52, 0x65, + 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x48, 0x00, 0x52, 0x13, 0x73, 0x71, 0x6c, 0x4b, 0x65, 0x79, + 0x77, 0x6f, 0x72, 0x64, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x5a, 0x0a, + 0x13, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x72, 0x65, 0x73, 0x70, + 0x6f, 0x6e, 0x73, 0x65, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x6f, 0x72, 0x67, + 0x2e, 0x70, 0x6f, 0x6c, 0x79, 0x70, 0x68, 0x65, 0x6e, 0x79, 0x2e, 0x70, 0x72, 0x69, 0x73, 0x6d, + 0x2e, 0x43, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, + 0x6e, 0x73, 0x65, 0x48, 0x00, 0x52, 0x12, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69, 0x6f, + 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x6a, 0x0a, 0x19, 0x63, 0x6f, 0x6e, + 0x6e, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x63, 0x68, 0x65, 0x63, 0x6b, 0x5f, 0x72, 0x65, + 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x18, 0x19, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2c, 0x2e, 0x6f, + 0x72, 0x67, 0x2e, 0x70, 0x6f, 0x6c, 0x79, 0x70, 0x68, 0x65, 0x6e, 0x79, 0x2e, 0x70, 0x72, 0x69, + 0x73, 0x6d, 0x2e, 0x43, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x68, 0x65, + 0x63, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x48, 0x00, 0x52, 0x17, 0x63, 0x6f, + 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x52, 0x65, 0x73, + 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x5a, 0x0a, 0x13, 0x64, 0x69, 0x73, 0x63, 0x6f, 0x6e, 0x6e, + 0x65, 0x63, 0x74, 0x5f, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x18, 0x0d, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x6f, 0x72, 0x67, 0x2e, 0x70, 0x6f, 0x6c, 0x79, 0x70, 0x68, 0x65, + 0x6e, 0x79, 0x2e, 0x70, 0x72, 0x69, 0x73, 0x6d, 0x2e, 0x44, 0x69, 0x73, 0x63, 0x6f, 0x6e, 0x6e, + 0x65, 0x63, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x48, 0x00, 0x52, 0x12, 0x64, + 0x69, 0x73, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, + 0x65, 0x12, 0x72, 0x0a, 0x1f, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x5f, 0x69, 0x6e, 0x66, 0x6f, + 0x5f, 0x70, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x69, 0x65, 0x73, 0x5f, 0x72, 0x65, 0x73, 0x70, + 0x6f, 0x6e, 0x73, 0x65, 0x18, 0x21, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x29, 0x2e, 0x6f, 0x72, 0x67, + 0x2e, 0x70, 0x6f, 0x6c, 0x79, 0x70, 0x68, 0x65, 0x6e, 0x79, 0x2e, 0x70, 0x72, 0x69, 0x73, 0x6d, + 0x2e, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x50, 0x72, 0x6f, 0x70, 0x65, + 0x72, 0x74, 0x69, 0x65, 0x73, 0x48, 0x00, 0x52, 0x1c, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x49, + 0x6e, 0x66, 0x6f, 0x50, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x69, 0x65, 0x73, 0x52, 0x65, 0x73, + 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x81, 0x01, 0x0a, 0x23, 0x73, 0x65, 0x74, 0x5f, 0x63, 0x6c, + 0x69, 0x65, 0x6e, 0x74, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x5f, 0x70, 0x72, 0x6f, 0x70, 0x65, 0x72, + 0x74, 0x69, 0x65, 0x73, 0x5f, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x18, 0x0e, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x31, 0x2e, 0x6f, 0x72, 0x67, 0x2e, 0x70, 0x6f, 0x6c, 0x79, 0x70, 0x68, + 0x65, 0x6e, 0x79, 0x2e, 0x70, 0x72, 0x69, 0x73, 0x6d, 0x2e, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, + 0x49, 0x6e, 0x66, 0x6f, 0x50, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x69, 0x65, 0x73, 0x52, 0x65, + 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x48, 0x00, 0x52, 0x1f, 0x73, 0x65, 0x74, 0x43, 0x6c, 0x69, + 0x65, 0x6e, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x50, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x69, 0x65, + 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x57, 0x0a, 0x12, 0x73, 0x74, 0x61, + 0x74, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x5f, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x18, + 0x0f, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x6f, 0x72, 0x67, 0x2e, 0x70, 0x6f, 0x6c, 0x79, + 0x70, 0x68, 0x65, 0x6e, 0x79, 0x2e, 0x70, 0x72, 0x69, 0x73, 0x6d, 0x2e, 0x53, 0x74, 0x61, 0x74, + 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x48, 0x00, 0x52, + 0x11, 0x73, 0x74, 0x61, 0x74, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, + 0x73, 0x65, 0x12, 0x67, 0x0a, 0x18, 0x73, 0x74, 0x61, 0x74, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x5f, + 0x62, 0x61, 0x74, 0x63, 0x68, 0x5f, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x18, 0x10, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2b, 0x2e, 0x6f, 0x72, 0x67, 0x2e, 0x70, 0x6f, 0x6c, 0x79, 0x70, + 0x68, 0x65, 0x6e, 0x79, 0x2e, 0x70, 0x72, 0x69, 0x73, 0x6d, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x65, + 0x6d, 0x65, 0x6e, 0x74, 0x42, 0x61, 0x74, 0x63, 0x68, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, + 0x65, 0x48, 0x00, 0x52, 0x16, 0x73, 0x74, 0x61, 0x74, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x42, 0x61, + 0x74, 0x63, 0x68, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x51, 0x0a, 0x10, 0x73, + 0x74, 0x61, 0x74, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x5f, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x18, + 0x11, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x6f, 0x72, 0x67, 0x2e, 0x70, 0x6f, 0x6c, 0x79, + 0x70, 0x68, 0x65, 0x6e, 0x79, 0x2e, 0x70, 0x72, 0x69, 0x73, 0x6d, 0x2e, 0x53, 0x74, 0x61, 0x74, + 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x48, 0x00, 0x52, 0x0f, 0x73, + 0x74, 0x61, 0x74, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x12, 0x73, + 0x0a, 0x1c, 0x70, 0x72, 0x65, 0x70, 0x61, 0x72, 0x65, 0x64, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x65, + 0x6d, 0x65, 0x6e, 0x74, 0x5f, 0x73, 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 0x18, 0x12, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2f, 0x2e, 0x6f, 0x72, 0x67, 0x2e, 0x70, 0x6f, 0x6c, 0x79, 0x70, + 0x68, 0x65, 0x6e, 0x79, 0x2e, 0x70, 0x72, 0x69, 0x73, 0x6d, 0x2e, 0x50, 0x72, 0x65, 0x70, 0x61, + 0x72, 0x65, 0x64, 0x53, 0x74, 0x61, 0x74, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x53, 0x69, 0x67, 0x6e, + 0x61, 0x74, 0x75, 0x72, 0x65, 0x48, 0x00, 0x52, 0x1a, 0x70, 0x72, 0x65, 0x70, 0x61, 0x72, 0x65, + 0x64, 0x53, 0x74, 0x61, 0x74, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x53, 0x69, 0x67, 0x6e, 0x61, 0x74, + 0x75, 0x72, 0x65, 0x12, 0x32, 0x0a, 0x05, 0x66, 0x72, 0x61, 0x6d, 0x65, 0x18, 0x13, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x6f, 0x72, 0x67, 0x2e, 0x70, 0x6f, 0x6c, 0x79, 0x70, 0x68, 0x65, + 0x6e, 0x79, 0x2e, 0x70, 0x72, 0x69, 0x73, 0x6d, 0x2e, 0x46, 0x72, 0x61, 0x6d, 0x65, 0x48, 0x00, + 0x52, 0x05, 0x66, 0x72, 0x61, 0x6d, 0x65, 0x12, 0x67, 0x0a, 0x18, 0x63, 0x6c, 0x6f, 0x73, 0x65, + 0x5f, 0x73, 0x74, 0x61, 0x74, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x5f, 0x72, 0x65, 0x73, 0x70, 0x6f, + 0x6e, 0x73, 0x65, 0x18, 0x14, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2b, 0x2e, 0x6f, 0x72, 0x67, 0x2e, + 0x70, 0x6f, 0x6c, 0x79, 0x70, 0x68, 0x65, 0x6e, 0x79, 0x2e, 0x70, 0x72, 0x69, 0x73, 0x6d, 0x2e, + 0x43, 0x6c, 0x6f, 0x73, 0x65, 0x53, 0x74, 0x61, 0x74, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x65, + 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x48, 0x00, 0x52, 0x16, 0x63, 0x6c, 0x6f, 0x73, 0x65, 0x53, + 0x74, 0x61, 0x74, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, + 0x12, 0x4e, 0x0a, 0x0f, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x5f, 0x72, 0x65, 0x73, 0x70, 0x6f, + 0x6e, 0x73, 0x65, 0x18, 0x15, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x6f, 0x72, 0x67, 0x2e, + 0x70, 0x6f, 0x6c, 0x79, 0x70, 0x68, 0x65, 0x6e, 0x79, 0x2e, 0x70, 0x72, 0x69, 0x73, 0x6d, 0x2e, + 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x48, 0x00, + 0x52, 0x0e, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, + 0x12, 0x54, 0x0a, 0x11, 0x72, 0x6f, 0x6c, 0x6c, 0x62, 0x61, 0x63, 0x6b, 0x5f, 0x72, 0x65, 0x73, + 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x18, 0x16, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x6f, 0x72, + 0x67, 0x2e, 0x70, 0x6f, 0x6c, 0x79, 0x70, 0x68, 0x65, 0x6e, 0x79, 0x2e, 0x70, 0x72, 0x69, 0x73, + 0x6d, 0x2e, 0x52, 0x6f, 0x6c, 0x6c, 0x62, 0x61, 0x63, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, + 0x73, 0x65, 0x48, 0x00, 0x52, 0x10, 0x72, 0x6f, 0x6c, 0x6c, 0x62, 0x61, 0x63, 0x6b, 0x52, 0x65, + 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x8c, 0x01, 0x0a, 0x25, 0x63, 0x6f, 0x6e, 0x6e, 0x65, + 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x70, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x69, 0x65, 0x73, + 0x5f, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, + 0x18, 0x17, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x37, 0x2e, 0x6f, 0x72, 0x67, 0x2e, 0x70, 0x6f, 0x6c, + 0x79, 0x70, 0x68, 0x65, 0x6e, 0x79, 0x2e, 0x70, 0x72, 0x69, 0x73, 0x6d, 0x2e, 0x43, 0x6f, 0x6e, + 0x6e, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x69, 0x65, + 0x73, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x48, + 0x00, 0x52, 0x22, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x72, 0x6f, + 0x70, 0x65, 0x72, 0x74, 0x69, 0x65, 0x73, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x52, 0x65, 0x73, + 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x5e, 0x0a, 0x15, 0x63, 0x6c, 0x6f, 0x73, 0x65, 0x5f, 0x72, + 0x65, 0x73, 0x75, 0x6c, 0x74, 0x5f, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x18, 0x22, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x28, 0x2e, 0x6f, 0x72, 0x67, 0x2e, 0x70, 0x6f, 0x6c, 0x79, 0x70, + 0x68, 0x65, 0x6e, 0x79, 0x2e, 0x70, 0x72, 0x69, 0x73, 0x6d, 0x2e, 0x43, 0x6c, 0x6f, 0x73, 0x65, + 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x48, 0x00, + 0x52, 0x13, 0x63, 0x6c, 0x6f, 0x73, 0x65, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x52, 0x65, 0x73, + 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x42, 0x06, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x42, 0x59, 0x0a, + 0x13, 0x6f, 0x72, 0x67, 0x2e, 0x70, 0x6f, 0x6c, 0x79, 0x70, 0x68, 0x65, 0x6e, 0x79, 0x2e, 0x70, + 0x72, 0x69, 0x73, 0x6d, 0x42, 0x13, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x49, 0x6e, 0x74, 0x65, 0x72, + 0x66, 0x61, 0x63, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x19, 0x6f, 0x72, 0x67, + 0x2f, 0x70, 0x6f, 0x6c, 0x79, 0x70, 0x68, 0x65, 0x6e, 0x79, 0x2f, 0x70, 0x72, 0x69, 0x73, 0x6d, + 0x3b, 0x70, 0x72, 0x69, 0x73, 0x6d, 0xaa, 0x02, 0x0f, 0x50, 0x6f, 0x6c, 0x79, 0x70, 0x68, 0x65, + 0x6e, 0x79, 0x2e, 0x50, 0x72, 0x69, 0x73, 0x6d, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_org_polypheny_prism_protointerface_proto_rawDescOnce sync.Once + file_org_polypheny_prism_protointerface_proto_rawDescData = file_org_polypheny_prism_protointerface_proto_rawDesc +) + +func file_org_polypheny_prism_protointerface_proto_rawDescGZIP() []byte { + file_org_polypheny_prism_protointerface_proto_rawDescOnce.Do(func() { + file_org_polypheny_prism_protointerface_proto_rawDescData = protoimpl.X.CompressGZIP(file_org_polypheny_prism_protointerface_proto_rawDescData) + }) + return file_org_polypheny_prism_protointerface_proto_rawDescData +} + +var file_org_polypheny_prism_protointerface_proto_msgTypes = make([]protoimpl.MessageInfo, 3) +var file_org_polypheny_prism_protointerface_proto_goTypes = []interface{}{ + (*Request)(nil), // 0: org.polypheny.prism.Request + (*ErrorResponse)(nil), // 1: org.polypheny.prism.ErrorResponse + (*Response)(nil), // 2: org.polypheny.prism.Response + (*DbmsVersionRequest)(nil), // 3: org.polypheny.prism.DbmsVersionRequest + (*DefaultNamespaceRequest)(nil), // 4: org.polypheny.prism.DefaultNamespaceRequest + (*TableTypesRequest)(nil), // 5: org.polypheny.prism.TableTypesRequest + (*TypesRequest)(nil), // 6: org.polypheny.prism.TypesRequest + (*ProceduresRequest)(nil), // 7: org.polypheny.prism.ProceduresRequest + (*FunctionsRequest)(nil), // 8: org.polypheny.prism.FunctionsRequest + (*NamespacesRequest)(nil), // 9: org.polypheny.prism.NamespacesRequest + (*EntitiesRequest)(nil), // 10: org.polypheny.prism.EntitiesRequest + (*SqlStringFunctionsRequest)(nil), // 11: org.polypheny.prism.SqlStringFunctionsRequest + (*SqlSystemFunctionsRequest)(nil), // 12: org.polypheny.prism.SqlSystemFunctionsRequest + (*SqlTimeDateFunctionsRequest)(nil), // 13: org.polypheny.prism.SqlTimeDateFunctionsRequest + (*SqlNumericFunctionsRequest)(nil), // 14: org.polypheny.prism.SqlNumericFunctionsRequest + (*SqlKeywordsRequest)(nil), // 15: org.polypheny.prism.SqlKeywordsRequest + (*ConnectionRequest)(nil), // 16: org.polypheny.prism.ConnectionRequest + (*ConnectionCheckRequest)(nil), // 17: org.polypheny.prism.ConnectionCheckRequest + (*DisconnectRequest)(nil), // 18: org.polypheny.prism.DisconnectRequest + (*ClientInfoPropertiesRequest)(nil), // 19: org.polypheny.prism.ClientInfoPropertiesRequest + (*ClientInfoProperties)(nil), // 20: org.polypheny.prism.ClientInfoProperties + (*ExecuteUnparameterizedStatementRequest)(nil), // 21: org.polypheny.prism.ExecuteUnparameterizedStatementRequest + (*ExecuteUnparameterizedStatementBatchRequest)(nil), // 22: org.polypheny.prism.ExecuteUnparameterizedStatementBatchRequest + (*PrepareStatementRequest)(nil), // 23: org.polypheny.prism.PrepareStatementRequest + (*ExecuteIndexedStatementRequest)(nil), // 24: org.polypheny.prism.ExecuteIndexedStatementRequest + (*ExecuteIndexedStatementBatchRequest)(nil), // 25: org.polypheny.prism.ExecuteIndexedStatementBatchRequest + (*ExecuteNamedStatementRequest)(nil), // 26: org.polypheny.prism.ExecuteNamedStatementRequest + (*FetchRequest)(nil), // 27: org.polypheny.prism.FetchRequest + (*CloseStatementRequest)(nil), // 28: org.polypheny.prism.CloseStatementRequest + (*CommitRequest)(nil), // 29: org.polypheny.prism.CommitRequest + (*RollbackRequest)(nil), // 30: org.polypheny.prism.RollbackRequest + (*ConnectionPropertiesUpdateRequest)(nil), // 31: org.polypheny.prism.ConnectionPropertiesUpdateRequest + (*CloseResultRequest)(nil), // 32: org.polypheny.prism.CloseResultRequest + (*DbmsVersionResponse)(nil), // 33: org.polypheny.prism.DbmsVersionResponse + (*DefaultNamespaceResponse)(nil), // 34: org.polypheny.prism.DefaultNamespaceResponse + (*TableTypesResponse)(nil), // 35: org.polypheny.prism.TableTypesResponse + (*TypesResponse)(nil), // 36: org.polypheny.prism.TypesResponse + (*ProceduresResponse)(nil), // 37: org.polypheny.prism.ProceduresResponse + (*FunctionsResponse)(nil), // 38: org.polypheny.prism.FunctionsResponse + (*NamespacesResponse)(nil), // 39: org.polypheny.prism.NamespacesResponse + (*EntitiesResponse)(nil), // 40: org.polypheny.prism.EntitiesResponse + (*MetaStringResponse)(nil), // 41: org.polypheny.prism.MetaStringResponse + (*ConnectionResponse)(nil), // 42: org.polypheny.prism.ConnectionResponse + (*ConnectionCheckResponse)(nil), // 43: org.polypheny.prism.ConnectionCheckResponse + (*DisconnectResponse)(nil), // 44: org.polypheny.prism.DisconnectResponse + (*ClientInfoPropertiesResponse)(nil), // 45: org.polypheny.prism.ClientInfoPropertiesResponse + (*StatementResponse)(nil), // 46: org.polypheny.prism.StatementResponse + (*StatementBatchResponse)(nil), // 47: org.polypheny.prism.StatementBatchResponse + (*StatementResult)(nil), // 48: org.polypheny.prism.StatementResult + (*PreparedStatementSignature)(nil), // 49: org.polypheny.prism.PreparedStatementSignature + (*Frame)(nil), // 50: org.polypheny.prism.Frame + (*CloseStatementResponse)(nil), // 51: org.polypheny.prism.CloseStatementResponse + (*CommitResponse)(nil), // 52: org.polypheny.prism.CommitResponse + (*RollbackResponse)(nil), // 53: org.polypheny.prism.RollbackResponse + (*ConnectionPropertiesUpdateResponse)(nil), // 54: org.polypheny.prism.ConnectionPropertiesUpdateResponse + (*CloseResultResponse)(nil), // 55: org.polypheny.prism.CloseResultResponse +} +var file_org_polypheny_prism_protointerface_proto_depIdxs = []int32{ + 3, // 0: org.polypheny.prism.Request.dbms_version_request:type_name -> org.polypheny.prism.DbmsVersionRequest + 4, // 1: org.polypheny.prism.Request.default_namespace_request:type_name -> org.polypheny.prism.DefaultNamespaceRequest + 5, // 2: org.polypheny.prism.Request.table_types_request:type_name -> org.polypheny.prism.TableTypesRequest + 6, // 3: org.polypheny.prism.Request.types_request:type_name -> org.polypheny.prism.TypesRequest + 7, // 4: org.polypheny.prism.Request.procedures_request:type_name -> org.polypheny.prism.ProceduresRequest + 8, // 5: org.polypheny.prism.Request.functions_request:type_name -> org.polypheny.prism.FunctionsRequest + 9, // 6: org.polypheny.prism.Request.namespaces_request:type_name -> org.polypheny.prism.NamespacesRequest + 10, // 7: org.polypheny.prism.Request.entities_request:type_name -> org.polypheny.prism.EntitiesRequest + 11, // 8: org.polypheny.prism.Request.sql_string_functions_request:type_name -> org.polypheny.prism.SqlStringFunctionsRequest + 12, // 9: org.polypheny.prism.Request.sql_system_functions_request:type_name -> org.polypheny.prism.SqlSystemFunctionsRequest + 13, // 10: org.polypheny.prism.Request.sql_time_date_functions_request:type_name -> org.polypheny.prism.SqlTimeDateFunctionsRequest + 14, // 11: org.polypheny.prism.Request.sql_numeric_functions_request:type_name -> org.polypheny.prism.SqlNumericFunctionsRequest + 15, // 12: org.polypheny.prism.Request.sql_keywords_request:type_name -> org.polypheny.prism.SqlKeywordsRequest + 16, // 13: org.polypheny.prism.Request.connection_request:type_name -> org.polypheny.prism.ConnectionRequest + 17, // 14: org.polypheny.prism.Request.connection_check_request:type_name -> org.polypheny.prism.ConnectionCheckRequest + 18, // 15: org.polypheny.prism.Request.disconnect_request:type_name -> org.polypheny.prism.DisconnectRequest + 19, // 16: org.polypheny.prism.Request.client_info_properties_request:type_name -> org.polypheny.prism.ClientInfoPropertiesRequest + 20, // 17: org.polypheny.prism.Request.set_client_info_properties_request:type_name -> org.polypheny.prism.ClientInfoProperties + 21, // 18: org.polypheny.prism.Request.execute_unparameterized_statement_request:type_name -> org.polypheny.prism.ExecuteUnparameterizedStatementRequest + 22, // 19: org.polypheny.prism.Request.execute_unparameterized_statement_batch_request:type_name -> org.polypheny.prism.ExecuteUnparameterizedStatementBatchRequest + 23, // 20: org.polypheny.prism.Request.prepare_indexed_statement_request:type_name -> org.polypheny.prism.PrepareStatementRequest + 24, // 21: org.polypheny.prism.Request.execute_indexed_statement_request:type_name -> org.polypheny.prism.ExecuteIndexedStatementRequest + 25, // 22: org.polypheny.prism.Request.execute_indexed_statement_batch_request:type_name -> org.polypheny.prism.ExecuteIndexedStatementBatchRequest + 23, // 23: org.polypheny.prism.Request.prepare_named_statement_request:type_name -> org.polypheny.prism.PrepareStatementRequest + 26, // 24: org.polypheny.prism.Request.execute_named_statement_request:type_name -> org.polypheny.prism.ExecuteNamedStatementRequest + 27, // 25: org.polypheny.prism.Request.fetch_request:type_name -> org.polypheny.prism.FetchRequest + 28, // 26: org.polypheny.prism.Request.close_statement_request:type_name -> org.polypheny.prism.CloseStatementRequest + 29, // 27: org.polypheny.prism.Request.commit_request:type_name -> org.polypheny.prism.CommitRequest + 30, // 28: org.polypheny.prism.Request.rollback_request:type_name -> org.polypheny.prism.RollbackRequest + 31, // 29: org.polypheny.prism.Request.connection_properties_update_request:type_name -> org.polypheny.prism.ConnectionPropertiesUpdateRequest + 32, // 30: org.polypheny.prism.Request.close_result_request:type_name -> org.polypheny.prism.CloseResultRequest + 1, // 31: org.polypheny.prism.Response.error_response:type_name -> org.polypheny.prism.ErrorResponse + 33, // 32: org.polypheny.prism.Response.dbms_version_response:type_name -> org.polypheny.prism.DbmsVersionResponse + 34, // 33: org.polypheny.prism.Response.default_namespace_response:type_name -> org.polypheny.prism.DefaultNamespaceResponse + 35, // 34: org.polypheny.prism.Response.table_types_response:type_name -> org.polypheny.prism.TableTypesResponse + 36, // 35: org.polypheny.prism.Response.types_response:type_name -> org.polypheny.prism.TypesResponse + 37, // 36: org.polypheny.prism.Response.procedures_response:type_name -> org.polypheny.prism.ProceduresResponse + 38, // 37: org.polypheny.prism.Response.functions_response:type_name -> org.polypheny.prism.FunctionsResponse + 39, // 38: org.polypheny.prism.Response.namespaces_response:type_name -> org.polypheny.prism.NamespacesResponse + 40, // 39: org.polypheny.prism.Response.entities_response:type_name -> org.polypheny.prism.EntitiesResponse + 41, // 40: org.polypheny.prism.Response.sql_string_functions_response:type_name -> org.polypheny.prism.MetaStringResponse + 41, // 41: org.polypheny.prism.Response.sql_system_functions_response:type_name -> org.polypheny.prism.MetaStringResponse + 41, // 42: org.polypheny.prism.Response.sql_time_date_functions_response:type_name -> org.polypheny.prism.MetaStringResponse + 41, // 43: org.polypheny.prism.Response.sql_numeric_functions_response:type_name -> org.polypheny.prism.MetaStringResponse + 41, // 44: org.polypheny.prism.Response.sql_keywords_response:type_name -> org.polypheny.prism.MetaStringResponse + 42, // 45: org.polypheny.prism.Response.connection_response:type_name -> org.polypheny.prism.ConnectionResponse + 43, // 46: org.polypheny.prism.Response.connection_check_response:type_name -> org.polypheny.prism.ConnectionCheckResponse + 44, // 47: org.polypheny.prism.Response.disconnect_response:type_name -> org.polypheny.prism.DisconnectResponse + 20, // 48: org.polypheny.prism.Response.client_info_properties_response:type_name -> org.polypheny.prism.ClientInfoProperties + 45, // 49: org.polypheny.prism.Response.set_client_info_properties_response:type_name -> org.polypheny.prism.ClientInfoPropertiesResponse + 46, // 50: org.polypheny.prism.Response.statement_response:type_name -> org.polypheny.prism.StatementResponse + 47, // 51: org.polypheny.prism.Response.statement_batch_response:type_name -> org.polypheny.prism.StatementBatchResponse + 48, // 52: org.polypheny.prism.Response.statement_result:type_name -> org.polypheny.prism.StatementResult + 49, // 53: org.polypheny.prism.Response.prepared_statement_signature:type_name -> org.polypheny.prism.PreparedStatementSignature + 50, // 54: org.polypheny.prism.Response.frame:type_name -> org.polypheny.prism.Frame + 51, // 55: org.polypheny.prism.Response.close_statement_response:type_name -> org.polypheny.prism.CloseStatementResponse + 52, // 56: org.polypheny.prism.Response.commit_response:type_name -> org.polypheny.prism.CommitResponse + 53, // 57: org.polypheny.prism.Response.rollback_response:type_name -> org.polypheny.prism.RollbackResponse + 54, // 58: org.polypheny.prism.Response.connection_properties_update_response:type_name -> org.polypheny.prism.ConnectionPropertiesUpdateResponse + 55, // 59: org.polypheny.prism.Response.close_result_response:type_name -> org.polypheny.prism.CloseResultResponse + 60, // [60:60] is the sub-list for method output_type + 60, // [60:60] is the sub-list for method input_type + 60, // [60:60] is the sub-list for extension type_name + 60, // [60:60] is the sub-list for extension extendee + 0, // [0:60] is the sub-list for field type_name +} + +func init() { file_org_polypheny_prism_protointerface_proto_init() } +func file_org_polypheny_prism_protointerface_proto_init() { + if File_org_polypheny_prism_protointerface_proto != nil { + return + } + file_org_polypheny_prism_connection_requests_proto_init() + file_org_polypheny_prism_connection_responses_proto_init() + file_org_polypheny_prism_meta_requests_proto_init() + file_org_polypheny_prism_meta_responses_proto_init() + file_org_polypheny_prism_namespace_meta_requests_proto_init() + file_org_polypheny_prism_namespace_meta_responses_proto_init() + file_org_polypheny_prism_statement_requests_proto_init() + file_org_polypheny_prism_statement_responses_proto_init() + file_org_polypheny_prism_transaction_requests_proto_init() + file_org_polypheny_prism_transaction_responses_proto_init() + if !protoimpl.UnsafeEnabled { + file_org_polypheny_prism_protointerface_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Request); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_org_polypheny_prism_protointerface_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ErrorResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_org_polypheny_prism_protointerface_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Response); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + file_org_polypheny_prism_protointerface_proto_msgTypes[0].OneofWrappers = []interface{}{ + (*Request_DbmsVersionRequest)(nil), + (*Request_DefaultNamespaceRequest)(nil), + (*Request_TableTypesRequest)(nil), + (*Request_TypesRequest)(nil), + (*Request_ProceduresRequest)(nil), + (*Request_FunctionsRequest)(nil), + (*Request_NamespacesRequest)(nil), + (*Request_EntitiesRequest)(nil), + (*Request_SqlStringFunctionsRequest)(nil), + (*Request_SqlSystemFunctionsRequest)(nil), + (*Request_SqlTimeDateFunctionsRequest)(nil), + (*Request_SqlNumericFunctionsRequest)(nil), + (*Request_SqlKeywordsRequest)(nil), + (*Request_ConnectionRequest)(nil), + (*Request_ConnectionCheckRequest)(nil), + (*Request_DisconnectRequest)(nil), + (*Request_ClientInfoPropertiesRequest)(nil), + (*Request_SetClientInfoPropertiesRequest)(nil), + (*Request_ExecuteUnparameterizedStatementRequest)(nil), + (*Request_ExecuteUnparameterizedStatementBatchRequest)(nil), + (*Request_PrepareIndexedStatementRequest)(nil), + (*Request_ExecuteIndexedStatementRequest)(nil), + (*Request_ExecuteIndexedStatementBatchRequest)(nil), + (*Request_PrepareNamedStatementRequest)(nil), + (*Request_ExecuteNamedStatementRequest)(nil), + (*Request_FetchRequest)(nil), + (*Request_CloseStatementRequest)(nil), + (*Request_CommitRequest)(nil), + (*Request_RollbackRequest)(nil), + (*Request_ConnectionPropertiesUpdateRequest)(nil), + (*Request_CloseResultRequest)(nil), + } + file_org_polypheny_prism_protointerface_proto_msgTypes[2].OneofWrappers = []interface{}{ + (*Response_ErrorResponse)(nil), + (*Response_DbmsVersionResponse)(nil), + (*Response_DefaultNamespaceResponse)(nil), + (*Response_TableTypesResponse)(nil), + (*Response_TypesResponse)(nil), + (*Response_ProceduresResponse)(nil), + (*Response_FunctionsResponse)(nil), + (*Response_NamespacesResponse)(nil), + (*Response_EntitiesResponse)(nil), + (*Response_SqlStringFunctionsResponse)(nil), + (*Response_SqlSystemFunctionsResponse)(nil), + (*Response_SqlTimeDateFunctionsResponse)(nil), + (*Response_SqlNumericFunctionsResponse)(nil), + (*Response_SqlKeywordsResponse)(nil), + (*Response_ConnectionResponse)(nil), + (*Response_ConnectionCheckResponse)(nil), + (*Response_DisconnectResponse)(nil), + (*Response_ClientInfoPropertiesResponse)(nil), + (*Response_SetClientInfoPropertiesResponse)(nil), + (*Response_StatementResponse)(nil), + (*Response_StatementBatchResponse)(nil), + (*Response_StatementResult)(nil), + (*Response_PreparedStatementSignature)(nil), + (*Response_Frame)(nil), + (*Response_CloseStatementResponse)(nil), + (*Response_CommitResponse)(nil), + (*Response_RollbackResponse)(nil), + (*Response_ConnectionPropertiesUpdateResponse)(nil), + (*Response_CloseResultResponse)(nil), + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_org_polypheny_prism_protointerface_proto_rawDesc, + NumEnums: 0, + NumMessages: 3, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_org_polypheny_prism_protointerface_proto_goTypes, + DependencyIndexes: file_org_polypheny_prism_protointerface_proto_depIdxs, + MessageInfos: file_org_polypheny_prism_protointerface_proto_msgTypes, + }.Build() + File_org_polypheny_prism_protointerface_proto = out.File + file_org_polypheny_prism_protointerface_proto_rawDesc = nil + file_org_polypheny_prism_protointerface_proto_goTypes = nil + file_org_polypheny_prism_protointerface_proto_depIdxs = nil +} diff --git a/prism/relational_frame.pb.go b/prism/relational_frame.pb.go new file mode 100644 index 0000000..2dc087e --- /dev/null +++ b/prism/relational_frame.pb.go @@ -0,0 +1,806 @@ +// +//Messages related to relational frames as used to represent the results form the relational model. + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.33.0 +// protoc v5.26.0 +// source: org/polypheny/prism/relational_frame.proto + +package prism + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// +//The RelationalFrame message encapsulates the structure of a relational frame, which includes metadata about columns and rows of data within a relational table. +//This structure is essential for representing the schema and data of a table in a structured format, facilitating data manipulation and query operations. +type RelationalFrame struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // + //A collection of metadata about each column in the frame. + //This provides details such as index, nullability, length, precision, and type information, defining the schema of the table represented by the relational frame. + ColumnMeta []*ColumnMeta `protobuf:"bytes,1,rep,name=column_meta,json=columnMeta,proto3" json:"column_meta,omitempty"` + // + //The rows of data within the frame. + //Each row consists of a series of ProtoValue objects representing the values in the row, mirroring the actual data stored in the table's rows according to the schema defined by the column metadata. + Rows []*Row `protobuf:"bytes,2,rep,name=rows,proto3" json:"rows,omitempty"` +} + +func (x *RelationalFrame) Reset() { + *x = RelationalFrame{} + if protoimpl.UnsafeEnabled { + mi := &file_org_polypheny_prism_relational_frame_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *RelationalFrame) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*RelationalFrame) ProtoMessage() {} + +func (x *RelationalFrame) ProtoReflect() protoreflect.Message { + mi := &file_org_polypheny_prism_relational_frame_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use RelationalFrame.ProtoReflect.Descriptor instead. +func (*RelationalFrame) Descriptor() ([]byte, []int) { + return file_org_polypheny_prism_relational_frame_proto_rawDescGZIP(), []int{0} +} + +func (x *RelationalFrame) GetColumnMeta() []*ColumnMeta { + if x != nil { + return x.ColumnMeta + } + return nil +} + +func (x *RelationalFrame) GetRows() []*Row { + if x != nil { + return x.Rows + } + return nil +} + +// +//The ColumnMeta message holds metadata related to a specific column within a relational table. +type ColumnMeta struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Index of the column within the table. + ColumnIndex int32 `protobuf:"varint,1,opt,name=column_index,json=columnIndex,proto3" json:"column_index,omitempty"` + // Indicates whether the column can contain null values. + IsNullable bool `protobuf:"varint,2,opt,name=is_nullable,json=isNullable,proto3" json:"is_nullable,omitempty"` + // The length of the column values. + Length int32 `protobuf:"varint,3,opt,name=length,proto3" json:"length,omitempty"` + // Label associated with the column, if any. + ColumnLabel string `protobuf:"bytes,4,opt,name=column_label,json=columnLabel,proto3" json:"column_label,omitempty"` + // Name of the column. + ColumnName string `protobuf:"bytes,5,opt,name=column_name,json=columnName,proto3" json:"column_name,omitempty"` + // Precision of the column, usually for numerical values. + Precision int32 `protobuf:"varint,6,opt,name=precision,proto3" json:"precision,omitempty"` + // Name of the entity that the column represents. + EntityName string `protobuf:"bytes,7,opt,name=entity_name,json=entityName,proto3" json:"entity_name,omitempty"` + // Name of the schema that the column belongs to. + SchemaName string `protobuf:"bytes,8,opt,name=schema_name,json=schemaName,proto3" json:"schema_name,omitempty"` + // Metadata describing the type of the column. + TypeMeta *TypeMeta `protobuf:"bytes,9,opt,name=type_meta,json=typeMeta,proto3" json:"type_meta,omitempty"` + // Scale of the column, typically for numerical values. + Scale int32 `protobuf:"varint,10,opt,name=scale,proto3" json:"scale,omitempty"` + // Namespace the column resides in. + Namespace string `protobuf:"bytes,11,opt,name=namespace,proto3" json:"namespace,omitempty"` +} + +func (x *ColumnMeta) Reset() { + *x = ColumnMeta{} + if protoimpl.UnsafeEnabled { + mi := &file_org_polypheny_prism_relational_frame_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ColumnMeta) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ColumnMeta) ProtoMessage() {} + +func (x *ColumnMeta) ProtoReflect() protoreflect.Message { + mi := &file_org_polypheny_prism_relational_frame_proto_msgTypes[1] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ColumnMeta.ProtoReflect.Descriptor instead. +func (*ColumnMeta) Descriptor() ([]byte, []int) { + return file_org_polypheny_prism_relational_frame_proto_rawDescGZIP(), []int{1} +} + +func (x *ColumnMeta) GetColumnIndex() int32 { + if x != nil { + return x.ColumnIndex + } + return 0 +} + +func (x *ColumnMeta) GetIsNullable() bool { + if x != nil { + return x.IsNullable + } + return false +} + +func (x *ColumnMeta) GetLength() int32 { + if x != nil { + return x.Length + } + return 0 +} + +func (x *ColumnMeta) GetColumnLabel() string { + if x != nil { + return x.ColumnLabel + } + return "" +} + +func (x *ColumnMeta) GetColumnName() string { + if x != nil { + return x.ColumnName + } + return "" +} + +func (x *ColumnMeta) GetPrecision() int32 { + if x != nil { + return x.Precision + } + return 0 +} + +func (x *ColumnMeta) GetEntityName() string { + if x != nil { + return x.EntityName + } + return "" +} + +func (x *ColumnMeta) GetSchemaName() string { + if x != nil { + return x.SchemaName + } + return "" +} + +func (x *ColumnMeta) GetTypeMeta() *TypeMeta { + if x != nil { + return x.TypeMeta + } + return nil +} + +func (x *ColumnMeta) GetScale() int32 { + if x != nil { + return x.Scale + } + return 0 +} + +func (x *ColumnMeta) GetNamespace() string { + if x != nil { + return x.Namespace + } + return "" +} + +// +//The FieldMeta message provides metadata for individual fields, which can be part of complex structures like arrays or structs. +type FieldMeta struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Index of the field within its containing structure. + FieldIndex int32 `protobuf:"varint,1,opt,name=field_index,json=fieldIndex,proto3" json:"field_index,omitempty"` + // Indicates whether the field can contain null values. + IsNullable bool `protobuf:"varint,2,opt,name=is_nullable,json=isNullable,proto3" json:"is_nullable,omitempty"` + // Length of the field’s value. + Length int32 `protobuf:"varint,3,opt,name=length,proto3" json:"length,omitempty"` + // Name of the field. + FieldName string `protobuf:"bytes,4,opt,name=field_name,json=fieldName,proto3" json:"field_name,omitempty"` + // Precision of the field, usually for numerical values. + Precision int32 `protobuf:"varint,6,opt,name=precision,proto3" json:"precision,omitempty"` + // Metadata describing the type of the field. + TypeMeta *TypeMeta `protobuf:"bytes,9,opt,name=type_meta,json=typeMeta,proto3" json:"type_meta,omitempty"` + // Scale of the field, typically for numerical values. + Scale int32 `protobuf:"varint,10,opt,name=scale,proto3" json:"scale,omitempty"` +} + +func (x *FieldMeta) Reset() { + *x = FieldMeta{} + if protoimpl.UnsafeEnabled { + mi := &file_org_polypheny_prism_relational_frame_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *FieldMeta) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*FieldMeta) ProtoMessage() {} + +func (x *FieldMeta) ProtoReflect() protoreflect.Message { + mi := &file_org_polypheny_prism_relational_frame_proto_msgTypes[2] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use FieldMeta.ProtoReflect.Descriptor instead. +func (*FieldMeta) Descriptor() ([]byte, []int) { + return file_org_polypheny_prism_relational_frame_proto_rawDescGZIP(), []int{2} +} + +func (x *FieldMeta) GetFieldIndex() int32 { + if x != nil { + return x.FieldIndex + } + return 0 +} + +func (x *FieldMeta) GetIsNullable() bool { + if x != nil { + return x.IsNullable + } + return false +} + +func (x *FieldMeta) GetLength() int32 { + if x != nil { + return x.Length + } + return 0 +} + +func (x *FieldMeta) GetFieldName() string { + if x != nil { + return x.FieldName + } + return "" +} + +func (x *FieldMeta) GetPrecision() int32 { + if x != nil { + return x.Precision + } + return 0 +} + +func (x *FieldMeta) GetTypeMeta() *TypeMeta { + if x != nil { + return x.TypeMeta + } + return nil +} + +func (x *FieldMeta) GetScale() int32 { + if x != nil { + return x.Scale + } + return 0 +} + +// +//The TypeMeta message is a comprehensive descriptor for the data types used within the system. +//This message not only defines simple data types but also accommodates complex types such as structures and arrays. +//Its flexibility allows it to describe a wide range of data types and data structures. +type TypeMeta struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Represents the fundamental data type of the value. This can be any basic data type depending on the definitions within ProtoValue.ProtoValueType. + ProtoValueType ProtoPolyType `protobuf:"varint,1,opt,name=proto_value_type,json=protoValueType,proto3,enum=org.polypheny.prism.ProtoPolyType" json:"proto_value_type,omitempty"` + // If the proto_value_type indicates a structure, this field provides the metadata for that structure. Contains details about the fields within the structure. This field will be absent for non-structured types. + StructMeta *StructMeta `protobuf:"bytes,2,opt,name=struct_meta,json=structMeta,proto3,oneof" json:"struct_meta,omitempty"` + // If the proto_value_type indicates an array, this field provides metadata about the type of elements within the array. This field will be absent for non-array types. + ArrayMeta *ArrayMeta `protobuf:"bytes,3,opt,name=array_meta,json=arrayMeta,proto3,oneof" json:"array_meta,omitempty"` +} + +func (x *TypeMeta) Reset() { + *x = TypeMeta{} + if protoimpl.UnsafeEnabled { + mi := &file_org_polypheny_prism_relational_frame_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *TypeMeta) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*TypeMeta) ProtoMessage() {} + +func (x *TypeMeta) ProtoReflect() protoreflect.Message { + mi := &file_org_polypheny_prism_relational_frame_proto_msgTypes[3] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use TypeMeta.ProtoReflect.Descriptor instead. +func (*TypeMeta) Descriptor() ([]byte, []int) { + return file_org_polypheny_prism_relational_frame_proto_rawDescGZIP(), []int{3} +} + +func (x *TypeMeta) GetProtoValueType() ProtoPolyType { + if x != nil { + return x.ProtoValueType + } + return ProtoPolyType_UNSPECIFIED +} + +func (x *TypeMeta) GetStructMeta() *StructMeta { + if x != nil { + return x.StructMeta + } + return nil +} + +func (x *TypeMeta) GetArrayMeta() *ArrayMeta { + if x != nil { + return x.ArrayMeta + } + return nil +} + +// +//The StructMeta message provides metadata specific to structured types, giving details about the fields that make up the structure. +type StructMeta struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // + //A collection of metadata entries, one for each field within the structure. + //Each FieldMeta provides details like the field’s name, type, nullability, etc. + FieldMetas []*FieldMeta `protobuf:"bytes,1,rep,name=field_metas,json=fieldMetas,proto3" json:"field_metas,omitempty"` +} + +func (x *StructMeta) Reset() { + *x = StructMeta{} + if protoimpl.UnsafeEnabled { + mi := &file_org_polypheny_prism_relational_frame_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *StructMeta) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*StructMeta) ProtoMessage() {} + +func (x *StructMeta) ProtoReflect() protoreflect.Message { + mi := &file_org_polypheny_prism_relational_frame_proto_msgTypes[4] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use StructMeta.ProtoReflect.Descriptor instead. +func (*StructMeta) Descriptor() ([]byte, []int) { + return file_org_polypheny_prism_relational_frame_proto_rawDescGZIP(), []int{4} +} + +func (x *StructMeta) GetFieldMetas() []*FieldMeta { + if x != nil { + return x.FieldMetas + } + return nil +} + +// +//The ArrayMeta message provides metadata about array types, detailing the kind of elements they can hold. +type ArrayMeta struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // + //TypeMeta This field describes the type of elements contained within the array. + //It uses the TypeMeta message, meaning an array can contain any data type, including nested arrays or structures. + ElementType *TypeMeta `protobuf:"bytes,1,opt,name=element_type,json=elementType,proto3" json:"element_type,omitempty"` +} + +func (x *ArrayMeta) Reset() { + *x = ArrayMeta{} + if protoimpl.UnsafeEnabled { + mi := &file_org_polypheny_prism_relational_frame_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ArrayMeta) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ArrayMeta) ProtoMessage() {} + +func (x *ArrayMeta) ProtoReflect() protoreflect.Message { + mi := &file_org_polypheny_prism_relational_frame_proto_msgTypes[5] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ArrayMeta.ProtoReflect.Descriptor instead. +func (*ArrayMeta) Descriptor() ([]byte, []int) { + return file_org_polypheny_prism_relational_frame_proto_rawDescGZIP(), []int{5} +} + +func (x *ArrayMeta) GetElementType() *TypeMeta { + if x != nil { + return x.ElementType + } + return nil +} + +// +//The Row message represents a single row within a relational frame. +type Row struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // The values within the row, represented as a series of ProtoValue objects. + Values []*ProtoValue `protobuf:"bytes,1,rep,name=values,proto3" json:"values,omitempty"` +} + +func (x *Row) Reset() { + *x = Row{} + if protoimpl.UnsafeEnabled { + mi := &file_org_polypheny_prism_relational_frame_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Row) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Row) ProtoMessage() {} + +func (x *Row) ProtoReflect() protoreflect.Message { + mi := &file_org_polypheny_prism_relational_frame_proto_msgTypes[6] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Row.ProtoReflect.Descriptor instead. +func (*Row) Descriptor() ([]byte, []int) { + return file_org_polypheny_prism_relational_frame_proto_rawDescGZIP(), []int{6} +} + +func (x *Row) GetValues() []*ProtoValue { + if x != nil { + return x.Values + } + return nil +} + +var File_org_polypheny_prism_relational_frame_proto protoreflect.FileDescriptor + +var file_org_polypheny_prism_relational_frame_proto_rawDesc = []byte{ + 0x0a, 0x2a, 0x6f, 0x72, 0x67, 0x2f, 0x70, 0x6f, 0x6c, 0x79, 0x70, 0x68, 0x65, 0x6e, 0x79, 0x2f, + 0x70, 0x72, 0x69, 0x73, 0x6d, 0x2f, 0x72, 0x65, 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, + 0x5f, 0x66, 0x72, 0x61, 0x6d, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x13, 0x6f, 0x72, + 0x67, 0x2e, 0x70, 0x6f, 0x6c, 0x79, 0x70, 0x68, 0x65, 0x6e, 0x79, 0x2e, 0x70, 0x72, 0x69, 0x73, + 0x6d, 0x1a, 0x1f, 0x6f, 0x72, 0x67, 0x2f, 0x70, 0x6f, 0x6c, 0x79, 0x70, 0x68, 0x65, 0x6e, 0x79, + 0x2f, 0x70, 0x72, 0x69, 0x73, 0x6d, 0x2f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x22, 0x81, 0x01, 0x0a, 0x0f, 0x52, 0x65, 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x61, + 0x6c, 0x46, 0x72, 0x61, 0x6d, 0x65, 0x12, 0x40, 0x0a, 0x0b, 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, + 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x6f, 0x72, + 0x67, 0x2e, 0x70, 0x6f, 0x6c, 0x79, 0x70, 0x68, 0x65, 0x6e, 0x79, 0x2e, 0x70, 0x72, 0x69, 0x73, + 0x6d, 0x2e, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x4d, 0x65, 0x74, 0x61, 0x52, 0x0a, 0x63, 0x6f, + 0x6c, 0x75, 0x6d, 0x6e, 0x4d, 0x65, 0x74, 0x61, 0x12, 0x2c, 0x0a, 0x04, 0x72, 0x6f, 0x77, 0x73, + 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x6f, 0x72, 0x67, 0x2e, 0x70, 0x6f, 0x6c, + 0x79, 0x70, 0x68, 0x65, 0x6e, 0x79, 0x2e, 0x70, 0x72, 0x69, 0x73, 0x6d, 0x2e, 0x52, 0x6f, 0x77, + 0x52, 0x04, 0x72, 0x6f, 0x77, 0x73, 0x22, 0xfc, 0x02, 0x0a, 0x0a, 0x43, 0x6f, 0x6c, 0x75, 0x6d, + 0x6e, 0x4d, 0x65, 0x74, 0x61, 0x12, 0x21, 0x0a, 0x0c, 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x5f, + 0x69, 0x6e, 0x64, 0x65, 0x78, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0b, 0x63, 0x6f, 0x6c, + 0x75, 0x6d, 0x6e, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x12, 0x1f, 0x0a, 0x0b, 0x69, 0x73, 0x5f, 0x6e, + 0x75, 0x6c, 0x6c, 0x61, 0x62, 0x6c, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0a, 0x69, + 0x73, 0x4e, 0x75, 0x6c, 0x6c, 0x61, 0x62, 0x6c, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x6c, 0x65, 0x6e, + 0x67, 0x74, 0x68, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x06, 0x6c, 0x65, 0x6e, 0x67, 0x74, + 0x68, 0x12, 0x21, 0x0a, 0x0c, 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x5f, 0x6c, 0x61, 0x62, 0x65, + 0x6c, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x4c, + 0x61, 0x62, 0x65, 0x6c, 0x12, 0x1f, 0x0a, 0x0b, 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x5f, 0x6e, + 0x61, 0x6d, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x63, 0x6f, 0x6c, 0x75, 0x6d, + 0x6e, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x70, 0x72, 0x65, 0x63, 0x69, 0x73, 0x69, + 0x6f, 0x6e, 0x18, 0x06, 0x20, 0x01, 0x28, 0x05, 0x52, 0x09, 0x70, 0x72, 0x65, 0x63, 0x69, 0x73, + 0x69, 0x6f, 0x6e, 0x12, 0x1f, 0x0a, 0x0b, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x5f, 0x6e, 0x61, + 0x6d, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, + 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x1f, 0x0a, 0x0b, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x5f, 0x6e, + 0x61, 0x6d, 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x73, 0x63, 0x68, 0x65, 0x6d, + 0x61, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x3a, 0x0a, 0x09, 0x74, 0x79, 0x70, 0x65, 0x5f, 0x6d, 0x65, + 0x74, 0x61, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x6f, 0x72, 0x67, 0x2e, 0x70, + 0x6f, 0x6c, 0x79, 0x70, 0x68, 0x65, 0x6e, 0x79, 0x2e, 0x70, 0x72, 0x69, 0x73, 0x6d, 0x2e, 0x54, + 0x79, 0x70, 0x65, 0x4d, 0x65, 0x74, 0x61, 0x52, 0x08, 0x74, 0x79, 0x70, 0x65, 0x4d, 0x65, 0x74, + 0x61, 0x12, 0x14, 0x0a, 0x05, 0x73, 0x63, 0x61, 0x6c, 0x65, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x05, + 0x52, 0x05, 0x73, 0x63, 0x61, 0x6c, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x6e, 0x61, 0x6d, 0x65, 0x73, + 0x70, 0x61, 0x63, 0x65, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x6e, 0x61, 0x6d, 0x65, + 0x73, 0x70, 0x61, 0x63, 0x65, 0x22, 0xf4, 0x01, 0x0a, 0x09, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x4d, + 0x65, 0x74, 0x61, 0x12, 0x1f, 0x0a, 0x0b, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x69, 0x6e, 0x64, + 0x65, 0x78, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0a, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x49, + 0x6e, 0x64, 0x65, 0x78, 0x12, 0x1f, 0x0a, 0x0b, 0x69, 0x73, 0x5f, 0x6e, 0x75, 0x6c, 0x6c, 0x61, + 0x62, 0x6c, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0a, 0x69, 0x73, 0x4e, 0x75, 0x6c, + 0x6c, 0x61, 0x62, 0x6c, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x6c, 0x65, 0x6e, 0x67, 0x74, 0x68, 0x18, + 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x06, 0x6c, 0x65, 0x6e, 0x67, 0x74, 0x68, 0x12, 0x1d, 0x0a, + 0x0a, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x09, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x1c, 0x0a, 0x09, + 0x70, 0x72, 0x65, 0x63, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x06, 0x20, 0x01, 0x28, 0x05, 0x52, + 0x09, 0x70, 0x72, 0x65, 0x63, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x3a, 0x0a, 0x09, 0x74, 0x79, + 0x70, 0x65, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1d, 0x2e, + 0x6f, 0x72, 0x67, 0x2e, 0x70, 0x6f, 0x6c, 0x79, 0x70, 0x68, 0x65, 0x6e, 0x79, 0x2e, 0x70, 0x72, + 0x69, 0x73, 0x6d, 0x2e, 0x54, 0x79, 0x70, 0x65, 0x4d, 0x65, 0x74, 0x61, 0x52, 0x08, 0x74, 0x79, + 0x70, 0x65, 0x4d, 0x65, 0x74, 0x61, 0x12, 0x14, 0x0a, 0x05, 0x73, 0x63, 0x61, 0x6c, 0x65, 0x18, + 0x0a, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x73, 0x63, 0x61, 0x6c, 0x65, 0x22, 0x82, 0x02, 0x0a, + 0x08, 0x54, 0x79, 0x70, 0x65, 0x4d, 0x65, 0x74, 0x61, 0x12, 0x4c, 0x0a, 0x10, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x0e, 0x32, 0x22, 0x2e, 0x6f, 0x72, 0x67, 0x2e, 0x70, 0x6f, 0x6c, 0x79, 0x70, 0x68, + 0x65, 0x6e, 0x79, 0x2e, 0x70, 0x72, 0x69, 0x73, 0x6d, 0x2e, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, + 0x6f, 0x6c, 0x79, 0x54, 0x79, 0x70, 0x65, 0x52, 0x0e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x56, 0x61, + 0x6c, 0x75, 0x65, 0x54, 0x79, 0x70, 0x65, 0x12, 0x45, 0x0a, 0x0b, 0x73, 0x74, 0x72, 0x75, 0x63, + 0x74, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x6f, + 0x72, 0x67, 0x2e, 0x70, 0x6f, 0x6c, 0x79, 0x70, 0x68, 0x65, 0x6e, 0x79, 0x2e, 0x70, 0x72, 0x69, + 0x73, 0x6d, 0x2e, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x4d, 0x65, 0x74, 0x61, 0x48, 0x00, 0x52, + 0x0a, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x4d, 0x65, 0x74, 0x61, 0x88, 0x01, 0x01, 0x12, 0x42, + 0x0a, 0x0a, 0x61, 0x72, 0x72, 0x61, 0x79, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x18, 0x03, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x6f, 0x72, 0x67, 0x2e, 0x70, 0x6f, 0x6c, 0x79, 0x70, 0x68, 0x65, + 0x6e, 0x79, 0x2e, 0x70, 0x72, 0x69, 0x73, 0x6d, 0x2e, 0x41, 0x72, 0x72, 0x61, 0x79, 0x4d, 0x65, + 0x74, 0x61, 0x48, 0x01, 0x52, 0x09, 0x61, 0x72, 0x72, 0x61, 0x79, 0x4d, 0x65, 0x74, 0x61, 0x88, + 0x01, 0x01, 0x42, 0x0e, 0x0a, 0x0c, 0x5f, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x5f, 0x6d, 0x65, + 0x74, 0x61, 0x42, 0x0d, 0x0a, 0x0b, 0x5f, 0x61, 0x72, 0x72, 0x61, 0x79, 0x5f, 0x6d, 0x65, 0x74, + 0x61, 0x22, 0x4d, 0x0a, 0x0a, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x4d, 0x65, 0x74, 0x61, 0x12, + 0x3f, 0x0a, 0x0b, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x73, 0x18, 0x01, + 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x6f, 0x72, 0x67, 0x2e, 0x70, 0x6f, 0x6c, 0x79, 0x70, + 0x68, 0x65, 0x6e, 0x79, 0x2e, 0x70, 0x72, 0x69, 0x73, 0x6d, 0x2e, 0x46, 0x69, 0x65, 0x6c, 0x64, + 0x4d, 0x65, 0x74, 0x61, 0x52, 0x0a, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x4d, 0x65, 0x74, 0x61, 0x73, + 0x22, 0x4d, 0x0a, 0x09, 0x41, 0x72, 0x72, 0x61, 0x79, 0x4d, 0x65, 0x74, 0x61, 0x12, 0x40, 0x0a, + 0x0c, 0x65, 0x6c, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x6f, 0x72, 0x67, 0x2e, 0x70, 0x6f, 0x6c, 0x79, 0x70, 0x68, + 0x65, 0x6e, 0x79, 0x2e, 0x70, 0x72, 0x69, 0x73, 0x6d, 0x2e, 0x54, 0x79, 0x70, 0x65, 0x4d, 0x65, + 0x74, 0x61, 0x52, 0x0b, 0x65, 0x6c, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x54, 0x79, 0x70, 0x65, 0x22, + 0x3e, 0x0a, 0x03, 0x52, 0x6f, 0x77, 0x12, 0x37, 0x0a, 0x06, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x73, + 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x6f, 0x72, 0x67, 0x2e, 0x70, 0x6f, 0x6c, + 0x79, 0x70, 0x68, 0x65, 0x6e, 0x79, 0x2e, 0x70, 0x72, 0x69, 0x73, 0x6d, 0x2e, 0x50, 0x72, 0x6f, + 0x74, 0x6f, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x06, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x42, + 0x56, 0x0a, 0x13, 0x6f, 0x72, 0x67, 0x2e, 0x70, 0x6f, 0x6c, 0x79, 0x70, 0x68, 0x65, 0x6e, 0x79, + 0x2e, 0x70, 0x72, 0x69, 0x73, 0x6d, 0x42, 0x10, 0x52, 0x65, 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, + 0x61, 0x6c, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x50, 0x01, 0x5a, 0x19, 0x6f, 0x72, 0x67, 0x2f, + 0x70, 0x6f, 0x6c, 0x79, 0x70, 0x68, 0x65, 0x6e, 0x79, 0x2f, 0x70, 0x72, 0x69, 0x73, 0x6d, 0x3b, + 0x70, 0x72, 0x69, 0x73, 0x6d, 0xaa, 0x02, 0x0f, 0x50, 0x6f, 0x6c, 0x79, 0x70, 0x68, 0x65, 0x6e, + 0x79, 0x2e, 0x50, 0x72, 0x69, 0x73, 0x6d, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_org_polypheny_prism_relational_frame_proto_rawDescOnce sync.Once + file_org_polypheny_prism_relational_frame_proto_rawDescData = file_org_polypheny_prism_relational_frame_proto_rawDesc +) + +func file_org_polypheny_prism_relational_frame_proto_rawDescGZIP() []byte { + file_org_polypheny_prism_relational_frame_proto_rawDescOnce.Do(func() { + file_org_polypheny_prism_relational_frame_proto_rawDescData = protoimpl.X.CompressGZIP(file_org_polypheny_prism_relational_frame_proto_rawDescData) + }) + return file_org_polypheny_prism_relational_frame_proto_rawDescData +} + +var file_org_polypheny_prism_relational_frame_proto_msgTypes = make([]protoimpl.MessageInfo, 7) +var file_org_polypheny_prism_relational_frame_proto_goTypes = []interface{}{ + (*RelationalFrame)(nil), // 0: org.polypheny.prism.RelationalFrame + (*ColumnMeta)(nil), // 1: org.polypheny.prism.ColumnMeta + (*FieldMeta)(nil), // 2: org.polypheny.prism.FieldMeta + (*TypeMeta)(nil), // 3: org.polypheny.prism.TypeMeta + (*StructMeta)(nil), // 4: org.polypheny.prism.StructMeta + (*ArrayMeta)(nil), // 5: org.polypheny.prism.ArrayMeta + (*Row)(nil), // 6: org.polypheny.prism.Row + (ProtoPolyType)(0), // 7: org.polypheny.prism.ProtoPolyType + (*ProtoValue)(nil), // 8: org.polypheny.prism.ProtoValue +} +var file_org_polypheny_prism_relational_frame_proto_depIdxs = []int32{ + 1, // 0: org.polypheny.prism.RelationalFrame.column_meta:type_name -> org.polypheny.prism.ColumnMeta + 6, // 1: org.polypheny.prism.RelationalFrame.rows:type_name -> org.polypheny.prism.Row + 3, // 2: org.polypheny.prism.ColumnMeta.type_meta:type_name -> org.polypheny.prism.TypeMeta + 3, // 3: org.polypheny.prism.FieldMeta.type_meta:type_name -> org.polypheny.prism.TypeMeta + 7, // 4: org.polypheny.prism.TypeMeta.proto_value_type:type_name -> org.polypheny.prism.ProtoPolyType + 4, // 5: org.polypheny.prism.TypeMeta.struct_meta:type_name -> org.polypheny.prism.StructMeta + 5, // 6: org.polypheny.prism.TypeMeta.array_meta:type_name -> org.polypheny.prism.ArrayMeta + 2, // 7: org.polypheny.prism.StructMeta.field_metas:type_name -> org.polypheny.prism.FieldMeta + 3, // 8: org.polypheny.prism.ArrayMeta.element_type:type_name -> org.polypheny.prism.TypeMeta + 8, // 9: org.polypheny.prism.Row.values:type_name -> org.polypheny.prism.ProtoValue + 10, // [10:10] is the sub-list for method output_type + 10, // [10:10] is the sub-list for method input_type + 10, // [10:10] is the sub-list for extension type_name + 10, // [10:10] is the sub-list for extension extendee + 0, // [0:10] is the sub-list for field type_name +} + +func init() { file_org_polypheny_prism_relational_frame_proto_init() } +func file_org_polypheny_prism_relational_frame_proto_init() { + if File_org_polypheny_prism_relational_frame_proto != nil { + return + } + file_org_polypheny_prism_value_proto_init() + if !protoimpl.UnsafeEnabled { + file_org_polypheny_prism_relational_frame_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*RelationalFrame); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_org_polypheny_prism_relational_frame_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ColumnMeta); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_org_polypheny_prism_relational_frame_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*FieldMeta); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_org_polypheny_prism_relational_frame_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*TypeMeta); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_org_polypheny_prism_relational_frame_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*StructMeta); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_org_polypheny_prism_relational_frame_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ArrayMeta); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_org_polypheny_prism_relational_frame_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Row); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + file_org_polypheny_prism_relational_frame_proto_msgTypes[3].OneofWrappers = []interface{}{} + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_org_polypheny_prism_relational_frame_proto_rawDesc, + NumEnums: 0, + NumMessages: 7, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_org_polypheny_prism_relational_frame_proto_goTypes, + DependencyIndexes: file_org_polypheny_prism_relational_frame_proto_depIdxs, + MessageInfos: file_org_polypheny_prism_relational_frame_proto_msgTypes, + }.Build() + File_org_polypheny_prism_relational_frame_proto = out.File + file_org_polypheny_prism_relational_frame_proto_rawDesc = nil + file_org_polypheny_prism_relational_frame_proto_goTypes = nil + file_org_polypheny_prism_relational_frame_proto_depIdxs = nil +} diff --git a/prism/statement_requests.pb.go b/prism/statement_requests.pb.go new file mode 100644 index 0000000..771235e --- /dev/null +++ b/prism/statement_requests.pb.go @@ -0,0 +1,1018 @@ +// +//Messages related to statements in a query language and their results. + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.33.0 +// protoc v5.26.0 +// source: org/polypheny/prism/statement_requests.proto + +package prism + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// +//Closes the result set of the statement matching the specified statement id. If no such statement exists, or the result is already closed, this request is ignored. +type CloseResultRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // The id of the statement of which the result set should be closed. + StatementId int32 `protobuf:"varint,1,opt,name=statement_id,json=statementId,proto3" json:"statement_id,omitempty"` +} + +func (x *CloseResultRequest) Reset() { + *x = CloseResultRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_org_polypheny_prism_statement_requests_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *CloseResultRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*CloseResultRequest) ProtoMessage() {} + +func (x *CloseResultRequest) ProtoReflect() protoreflect.Message { + mi := &file_org_polypheny_prism_statement_requests_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use CloseResultRequest.ProtoReflect.Descriptor instead. +func (*CloseResultRequest) Descriptor() ([]byte, []int) { + return file_org_polypheny_prism_statement_requests_proto_rawDescGZIP(), []int{0} +} + +func (x *CloseResultRequest) GetStatementId() int32 { + if x != nil { + return x.StatementId + } + return 0 +} + +// +//Represents a request to execute a statement without any parameters. +//This message includes details about the language in which the statement is written, the statement itself, and optional attributes such as fetch size and namespace name to control how the statement is executed. +type ExecuteUnparameterizedStatementRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Specifies the query language of the statement being executed. + LanguageName string `protobuf:"bytes,1,opt,name=language_name,json=languageName,proto3" json:"language_name,omitempty"` + // The statement to be executed. + Statement string `protobuf:"bytes,2,opt,name=statement,proto3" json:"statement,omitempty"` + // + //(Optional) Number of rows to include into the response message of this call. + //More rows can be fetched afterwards. If not specified, a default value is used. + FetchSize *int32 `protobuf:"varint,3,opt,name=fetch_size,json=fetchSize,proto3,oneof" json:"fetch_size,omitempty"` + // + //(Optional) The namespace under which the statement should be executed. + //If not specified, the namespace specified for the connection is used. + NamespaceName *string `protobuf:"bytes,4,opt,name=namespace_name,json=namespaceName,proto3,oneof" json:"namespace_name,omitempty"` +} + +func (x *ExecuteUnparameterizedStatementRequest) Reset() { + *x = ExecuteUnparameterizedStatementRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_org_polypheny_prism_statement_requests_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ExecuteUnparameterizedStatementRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ExecuteUnparameterizedStatementRequest) ProtoMessage() {} + +func (x *ExecuteUnparameterizedStatementRequest) ProtoReflect() protoreflect.Message { + mi := &file_org_polypheny_prism_statement_requests_proto_msgTypes[1] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ExecuteUnparameterizedStatementRequest.ProtoReflect.Descriptor instead. +func (*ExecuteUnparameterizedStatementRequest) Descriptor() ([]byte, []int) { + return file_org_polypheny_prism_statement_requests_proto_rawDescGZIP(), []int{1} +} + +func (x *ExecuteUnparameterizedStatementRequest) GetLanguageName() string { + if x != nil { + return x.LanguageName + } + return "" +} + +func (x *ExecuteUnparameterizedStatementRequest) GetStatement() string { + if x != nil { + return x.Statement + } + return "" +} + +func (x *ExecuteUnparameterizedStatementRequest) GetFetchSize() int32 { + if x != nil && x.FetchSize != nil { + return *x.FetchSize + } + return 0 +} + +func (x *ExecuteUnparameterizedStatementRequest) GetNamespaceName() string { + if x != nil && x.NamespaceName != nil { + return *x.NamespaceName + } + return "" +} + +// +//Encapsulates a batch of unparameterized statements to be executed. +//This is useful for executing multiple statements in a single call, +//improving efficiency and performance by reducing the number of round trips to the server. +type ExecuteUnparameterizedStatementBatchRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // + //List of statements to be executed. Each statement is an instance of ExecuteUnparameterizedStatementRequest, + //allowing for individual control over the execution parameters of each statement in the batch. + Statements []*ExecuteUnparameterizedStatementRequest `protobuf:"bytes,1,rep,name=statements,proto3" json:"statements,omitempty"` +} + +func (x *ExecuteUnparameterizedStatementBatchRequest) Reset() { + *x = ExecuteUnparameterizedStatementBatchRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_org_polypheny_prism_statement_requests_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ExecuteUnparameterizedStatementBatchRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ExecuteUnparameterizedStatementBatchRequest) ProtoMessage() {} + +func (x *ExecuteUnparameterizedStatementBatchRequest) ProtoReflect() protoreflect.Message { + mi := &file_org_polypheny_prism_statement_requests_proto_msgTypes[2] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ExecuteUnparameterizedStatementBatchRequest.ProtoReflect.Descriptor instead. +func (*ExecuteUnparameterizedStatementBatchRequest) Descriptor() ([]byte, []int) { + return file_org_polypheny_prism_statement_requests_proto_rawDescGZIP(), []int{2} +} + +func (x *ExecuteUnparameterizedStatementBatchRequest) GetStatements() []*ExecuteUnparameterizedStatementRequest { + if x != nil { + return x.Statements + } + return nil +} + +// +//Represents a request to prepare a statement for execution. +//This message includes the language of the statement, the statement text itself, and optionally, +//the namespace where the statement should be prepared. Preparing a statement can improve performance for repeated execution. +type PrepareStatementRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Specifies the query language of the statement to be prepared. + LanguageName string `protobuf:"bytes,1,opt,name=language_name,json=languageName,proto3" json:"language_name,omitempty"` + // The statement to be prepared. + Statement string `protobuf:"bytes,2,opt,name=statement,proto3" json:"statement,omitempty"` + // (Optional) The namespace under which the statement should be prepared. + NamespaceName *string `protobuf:"bytes,3,opt,name=namespace_name,json=namespaceName,proto3,oneof" json:"namespace_name,omitempty"` +} + +func (x *PrepareStatementRequest) Reset() { + *x = PrepareStatementRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_org_polypheny_prism_statement_requests_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *PrepareStatementRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PrepareStatementRequest) ProtoMessage() {} + +func (x *PrepareStatementRequest) ProtoReflect() protoreflect.Message { + mi := &file_org_polypheny_prism_statement_requests_proto_msgTypes[3] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use PrepareStatementRequest.ProtoReflect.Descriptor instead. +func (*PrepareStatementRequest) Descriptor() ([]byte, []int) { + return file_org_polypheny_prism_statement_requests_proto_rawDescGZIP(), []int{3} +} + +func (x *PrepareStatementRequest) GetLanguageName() string { + if x != nil { + return x.LanguageName + } + return "" +} + +func (x *PrepareStatementRequest) GetStatement() string { + if x != nil { + return x.Statement + } + return "" +} + +func (x *PrepareStatementRequest) GetNamespaceName() string { + if x != nil && x.NamespaceName != nil { + return *x.NamespaceName + } + return "" +} + +// +//Represents a request to execute a previously prepared statement by its ID, using indexed parameters. +//his allows for efficient execution of prepared statements with the provided parameters. +type ExecuteIndexedStatementRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // The unique identifier of the prepared statement to be executed. + StatementId int32 `protobuf:"varint,1,opt,name=statement_id,json=statementId,proto3" json:"statement_id,omitempty"` + // The indexed parameters to be used with the statement. + Parameters *IndexedParameters `protobuf:"bytes,2,opt,name=parameters,proto3" json:"parameters,omitempty"` + // (Optional) Number of rows to include into the response message of this call. More rows can be fetched afterwards. + FetchSize *int32 `protobuf:"varint,3,opt,name=fetch_size,json=fetchSize,proto3,oneof" json:"fetch_size,omitempty"` +} + +func (x *ExecuteIndexedStatementRequest) Reset() { + *x = ExecuteIndexedStatementRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_org_polypheny_prism_statement_requests_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ExecuteIndexedStatementRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ExecuteIndexedStatementRequest) ProtoMessage() {} + +func (x *ExecuteIndexedStatementRequest) ProtoReflect() protoreflect.Message { + mi := &file_org_polypheny_prism_statement_requests_proto_msgTypes[4] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ExecuteIndexedStatementRequest.ProtoReflect.Descriptor instead. +func (*ExecuteIndexedStatementRequest) Descriptor() ([]byte, []int) { + return file_org_polypheny_prism_statement_requests_proto_rawDescGZIP(), []int{4} +} + +func (x *ExecuteIndexedStatementRequest) GetStatementId() int32 { + if x != nil { + return x.StatementId + } + return 0 +} + +func (x *ExecuteIndexedStatementRequest) GetParameters() *IndexedParameters { + if x != nil { + return x.Parameters + } + return nil +} + +func (x *ExecuteIndexedStatementRequest) GetFetchSize() int32 { + if x != nil && x.FetchSize != nil { + return *x.FetchSize + } + return 0 +} + +// +//Encapsulates a batch request to execute a prepared statement multiple times with different sets of indexed parameters. +//This is useful for executing the same statement with various parameter sets in a single operation, enhancing performance and efficiency. +type ExecuteIndexedStatementBatchRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // The unique identifier of the prepared statement to be executed. + StatementId int32 `protobuf:"varint,1,opt,name=statement_id,json=statementId,proto3" json:"statement_id,omitempty"` + // List of sets of indexed parameters for multiple executions of the statement. + Parameters []*IndexedParameters `protobuf:"bytes,2,rep,name=parameters,proto3" json:"parameters,omitempty"` +} + +func (x *ExecuteIndexedStatementBatchRequest) Reset() { + *x = ExecuteIndexedStatementBatchRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_org_polypheny_prism_statement_requests_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ExecuteIndexedStatementBatchRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ExecuteIndexedStatementBatchRequest) ProtoMessage() {} + +func (x *ExecuteIndexedStatementBatchRequest) ProtoReflect() protoreflect.Message { + mi := &file_org_polypheny_prism_statement_requests_proto_msgTypes[5] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ExecuteIndexedStatementBatchRequest.ProtoReflect.Descriptor instead. +func (*ExecuteIndexedStatementBatchRequest) Descriptor() ([]byte, []int) { + return file_org_polypheny_prism_statement_requests_proto_rawDescGZIP(), []int{5} +} + +func (x *ExecuteIndexedStatementBatchRequest) GetStatementId() int32 { + if x != nil { + return x.StatementId + } + return 0 +} + +func (x *ExecuteIndexedStatementBatchRequest) GetParameters() []*IndexedParameters { + if x != nil { + return x.Parameters + } + return nil +} + +// +//Represents a request to execute a previously prepared statement by its ID, using named parameters. +//This approach allows for parameter values to be associated with specific parameter names in the statement, +//providing clarity and reducing errors in parameter placement. +type ExecuteNamedStatementRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // The unique identifier of the prepared statement to be executed. + StatementId int32 `protobuf:"varint,1,opt,name=statement_id,json=statementId,proto3" json:"statement_id,omitempty"` + // The named parameters to be used with the statement. + Parameters *NamedParameters `protobuf:"bytes,2,opt,name=parameters,proto3" json:"parameters,omitempty"` + // (Optional) Number of rows to include into the response message of this call. More rows can be fetched afterwards. + FetchSize *int32 `protobuf:"varint,3,opt,name=fetch_size,json=fetchSize,proto3,oneof" json:"fetch_size,omitempty"` +} + +func (x *ExecuteNamedStatementRequest) Reset() { + *x = ExecuteNamedStatementRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_org_polypheny_prism_statement_requests_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ExecuteNamedStatementRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ExecuteNamedStatementRequest) ProtoMessage() {} + +func (x *ExecuteNamedStatementRequest) ProtoReflect() protoreflect.Message { + mi := &file_org_polypheny_prism_statement_requests_proto_msgTypes[6] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ExecuteNamedStatementRequest.ProtoReflect.Descriptor instead. +func (*ExecuteNamedStatementRequest) Descriptor() ([]byte, []int) { + return file_org_polypheny_prism_statement_requests_proto_rawDescGZIP(), []int{6} +} + +func (x *ExecuteNamedStatementRequest) GetStatementId() int32 { + if x != nil { + return x.StatementId + } + return 0 +} + +func (x *ExecuteNamedStatementRequest) GetParameters() *NamedParameters { + if x != nil { + return x.Parameters + } + return nil +} + +func (x *ExecuteNamedStatementRequest) GetFetchSize() int32 { + if x != nil && x.FetchSize != nil { + return *x.FetchSize + } + return 0 +} + +// +//Encapsulates indexed parameters for a prepared statement. +//This represents a list of parameter values to be used in the statement, where each parameter's position in the list +//corresponds to its position in the statement. +type IndexedParameters struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // List of values to be used as parameters, indexed by their position in the list. + Parameters []*ProtoValue `protobuf:"bytes,1,rep,name=parameters,proto3" json:"parameters,omitempty"` +} + +func (x *IndexedParameters) Reset() { + *x = IndexedParameters{} + if protoimpl.UnsafeEnabled { + mi := &file_org_polypheny_prism_statement_requests_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *IndexedParameters) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*IndexedParameters) ProtoMessage() {} + +func (x *IndexedParameters) ProtoReflect() protoreflect.Message { + mi := &file_org_polypheny_prism_statement_requests_proto_msgTypes[7] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use IndexedParameters.ProtoReflect.Descriptor instead. +func (*IndexedParameters) Descriptor() ([]byte, []int) { + return file_org_polypheny_prism_statement_requests_proto_rawDescGZIP(), []int{7} +} + +func (x *IndexedParameters) GetParameters() []*ProtoValue { + if x != nil { + return x.Parameters + } + return nil +} + +// +//Encapsulates named parameters for a prepared statement. This allows for parameters to be specified by name, +//providing a flexible and clear way to supply parameters to a prepared statement. +type NamedParameters struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Map of parameter names to their corresponding values. + Parameters map[string]*ProtoValue `protobuf:"bytes,1,rep,name=parameters,proto3" json:"parameters,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` +} + +func (x *NamedParameters) Reset() { + *x = NamedParameters{} + if protoimpl.UnsafeEnabled { + mi := &file_org_polypheny_prism_statement_requests_proto_msgTypes[8] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *NamedParameters) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*NamedParameters) ProtoMessage() {} + +func (x *NamedParameters) ProtoReflect() protoreflect.Message { + mi := &file_org_polypheny_prism_statement_requests_proto_msgTypes[8] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use NamedParameters.ProtoReflect.Descriptor instead. +func (*NamedParameters) Descriptor() ([]byte, []int) { + return file_org_polypheny_prism_statement_requests_proto_rawDescGZIP(), []int{8} +} + +func (x *NamedParameters) GetParameters() map[string]*ProtoValue { + if x != nil { + return x.Parameters + } + return nil +} + +// +//Represents a request to close a statement. +//This operation is used to release resources allocated to the statement on the server. +//Closing a statement when it is no longer needed is a good practice to manage resources efficiently. +type CloseStatementRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // The unique identifier of the statement to be closed. + StatementId int32 `protobuf:"varint,1,opt,name=statement_id,json=statementId,proto3" json:"statement_id,omitempty"` +} + +func (x *CloseStatementRequest) Reset() { + *x = CloseStatementRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_org_polypheny_prism_statement_requests_proto_msgTypes[9] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *CloseStatementRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*CloseStatementRequest) ProtoMessage() {} + +func (x *CloseStatementRequest) ProtoReflect() protoreflect.Message { + mi := &file_org_polypheny_prism_statement_requests_proto_msgTypes[9] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use CloseStatementRequest.ProtoReflect.Descriptor instead. +func (*CloseStatementRequest) Descriptor() ([]byte, []int) { + return file_org_polypheny_prism_statement_requests_proto_rawDescGZIP(), []int{9} +} + +func (x *CloseStatementRequest) GetStatementId() int32 { + if x != nil { + return x.StatementId + } + return 0 +} + +// +//Represents a request to fetch a batch of results for a previously executed statement. +//This is typically used in conjunction with large result sets, +//where the results are fetched in multiple batches to manage memory and network resources effectively. +type FetchRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // The unique identifier of the statement whose results are to be fetched. + StatementId int32 `protobuf:"varint,1,opt,name=statement_id,json=statementId,proto3" json:"statement_id,omitempty"` + // (Optional) Number of rows to retrieve in this batch. If no fetch size is specified, a default value is used. + FetchSize *int32 `protobuf:"varint,2,opt,name=fetch_size,json=fetchSize,proto3,oneof" json:"fetch_size,omitempty"` +} + +func (x *FetchRequest) Reset() { + *x = FetchRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_org_polypheny_prism_statement_requests_proto_msgTypes[10] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *FetchRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*FetchRequest) ProtoMessage() {} + +func (x *FetchRequest) ProtoReflect() protoreflect.Message { + mi := &file_org_polypheny_prism_statement_requests_proto_msgTypes[10] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use FetchRequest.ProtoReflect.Descriptor instead. +func (*FetchRequest) Descriptor() ([]byte, []int) { + return file_org_polypheny_prism_statement_requests_proto_rawDescGZIP(), []int{10} +} + +func (x *FetchRequest) GetStatementId() int32 { + if x != nil { + return x.StatementId + } + return 0 +} + +func (x *FetchRequest) GetFetchSize() int32 { + if x != nil && x.FetchSize != nil { + return *x.FetchSize + } + return 0 +} + +var File_org_polypheny_prism_statement_requests_proto protoreflect.FileDescriptor + +var file_org_polypheny_prism_statement_requests_proto_rawDesc = []byte{ + 0x0a, 0x2c, 0x6f, 0x72, 0x67, 0x2f, 0x70, 0x6f, 0x6c, 0x79, 0x70, 0x68, 0x65, 0x6e, 0x79, 0x2f, + 0x70, 0x72, 0x69, 0x73, 0x6d, 0x2f, 0x73, 0x74, 0x61, 0x74, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x5f, + 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x13, + 0x6f, 0x72, 0x67, 0x2e, 0x70, 0x6f, 0x6c, 0x79, 0x70, 0x68, 0x65, 0x6e, 0x79, 0x2e, 0x70, 0x72, + 0x69, 0x73, 0x6d, 0x1a, 0x1f, 0x6f, 0x72, 0x67, 0x2f, 0x70, 0x6f, 0x6c, 0x79, 0x70, 0x68, 0x65, + 0x6e, 0x79, 0x2f, 0x70, 0x72, 0x69, 0x73, 0x6d, 0x2f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x37, 0x0a, 0x12, 0x43, 0x6c, 0x6f, 0x73, 0x65, 0x52, 0x65, 0x73, + 0x75, 0x6c, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x21, 0x0a, 0x0c, 0x73, 0x74, + 0x61, 0x74, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, + 0x52, 0x0b, 0x73, 0x74, 0x61, 0x74, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x49, 0x64, 0x22, 0xdd, 0x01, + 0x0a, 0x26, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x65, 0x55, 0x6e, 0x70, 0x61, 0x72, 0x61, 0x6d, + 0x65, 0x74, 0x65, 0x72, 0x69, 0x7a, 0x65, 0x64, 0x53, 0x74, 0x61, 0x74, 0x65, 0x6d, 0x65, 0x6e, + 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x23, 0x0a, 0x0d, 0x6c, 0x61, 0x6e, 0x67, + 0x75, 0x61, 0x67, 0x65, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x0c, 0x6c, 0x61, 0x6e, 0x67, 0x75, 0x61, 0x67, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x1c, 0x0a, + 0x09, 0x73, 0x74, 0x61, 0x74, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x09, 0x73, 0x74, 0x61, 0x74, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x22, 0x0a, 0x0a, 0x66, + 0x65, 0x74, 0x63, 0x68, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x48, + 0x00, 0x52, 0x09, 0x66, 0x65, 0x74, 0x63, 0x68, 0x53, 0x69, 0x7a, 0x65, 0x88, 0x01, 0x01, 0x12, + 0x2a, 0x0a, 0x0e, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x5f, 0x6e, 0x61, 0x6d, + 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x48, 0x01, 0x52, 0x0d, 0x6e, 0x61, 0x6d, 0x65, 0x73, + 0x70, 0x61, 0x63, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x88, 0x01, 0x01, 0x42, 0x0d, 0x0a, 0x0b, 0x5f, + 0x66, 0x65, 0x74, 0x63, 0x68, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x42, 0x11, 0x0a, 0x0f, 0x5f, 0x6e, + 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x8a, 0x01, + 0x0a, 0x2b, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x65, 0x55, 0x6e, 0x70, 0x61, 0x72, 0x61, 0x6d, + 0x65, 0x74, 0x65, 0x72, 0x69, 0x7a, 0x65, 0x64, 0x53, 0x74, 0x61, 0x74, 0x65, 0x6d, 0x65, 0x6e, + 0x74, 0x42, 0x61, 0x74, 0x63, 0x68, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x5b, 0x0a, + 0x0a, 0x73, 0x74, 0x61, 0x74, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, + 0x0b, 0x32, 0x3b, 0x2e, 0x6f, 0x72, 0x67, 0x2e, 0x70, 0x6f, 0x6c, 0x79, 0x70, 0x68, 0x65, 0x6e, + 0x79, 0x2e, 0x70, 0x72, 0x69, 0x73, 0x6d, 0x2e, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x65, 0x55, + 0x6e, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x69, 0x7a, 0x65, 0x64, 0x53, 0x74, + 0x61, 0x74, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x52, 0x0a, + 0x73, 0x74, 0x61, 0x74, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x22, 0x9b, 0x01, 0x0a, 0x17, 0x50, + 0x72, 0x65, 0x70, 0x61, 0x72, 0x65, 0x53, 0x74, 0x61, 0x74, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x52, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x23, 0x0a, 0x0d, 0x6c, 0x61, 0x6e, 0x67, 0x75, 0x61, + 0x67, 0x65, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x6c, + 0x61, 0x6e, 0x67, 0x75, 0x61, 0x67, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x73, + 0x74, 0x61, 0x74, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, + 0x73, 0x74, 0x61, 0x74, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x2a, 0x0a, 0x0e, 0x6e, 0x61, 0x6d, + 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, + 0x09, 0x48, 0x00, 0x52, 0x0d, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x4e, 0x61, + 0x6d, 0x65, 0x88, 0x01, 0x01, 0x42, 0x11, 0x0a, 0x0f, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, + 0x61, 0x63, 0x65, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0xbe, 0x01, 0x0a, 0x1e, 0x45, 0x78, 0x65, + 0x63, 0x75, 0x74, 0x65, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x65, 0x64, 0x53, 0x74, 0x61, 0x74, 0x65, + 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x21, 0x0a, 0x0c, 0x73, + 0x74, 0x61, 0x74, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x05, 0x52, 0x0b, 0x73, 0x74, 0x61, 0x74, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x49, 0x64, 0x12, 0x46, + 0x0a, 0x0a, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x18, 0x02, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x6f, 0x72, 0x67, 0x2e, 0x70, 0x6f, 0x6c, 0x79, 0x70, 0x68, 0x65, + 0x6e, 0x79, 0x2e, 0x70, 0x72, 0x69, 0x73, 0x6d, 0x2e, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x65, 0x64, + 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x52, 0x0a, 0x70, 0x61, 0x72, 0x61, + 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x12, 0x22, 0x0a, 0x0a, 0x66, 0x65, 0x74, 0x63, 0x68, 0x5f, + 0x73, 0x69, 0x7a, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x48, 0x00, 0x52, 0x09, 0x66, 0x65, + 0x74, 0x63, 0x68, 0x53, 0x69, 0x7a, 0x65, 0x88, 0x01, 0x01, 0x42, 0x0d, 0x0a, 0x0b, 0x5f, 0x66, + 0x65, 0x74, 0x63, 0x68, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x22, 0x90, 0x01, 0x0a, 0x23, 0x45, 0x78, + 0x65, 0x63, 0x75, 0x74, 0x65, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x65, 0x64, 0x53, 0x74, 0x61, 0x74, + 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x42, 0x61, 0x74, 0x63, 0x68, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, + 0x74, 0x12, 0x21, 0x0a, 0x0c, 0x73, 0x74, 0x61, 0x74, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x5f, 0x69, + 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0b, 0x73, 0x74, 0x61, 0x74, 0x65, 0x6d, 0x65, + 0x6e, 0x74, 0x49, 0x64, 0x12, 0x46, 0x0a, 0x0a, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, + 0x72, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x6f, 0x72, 0x67, 0x2e, 0x70, + 0x6f, 0x6c, 0x79, 0x70, 0x68, 0x65, 0x6e, 0x79, 0x2e, 0x70, 0x72, 0x69, 0x73, 0x6d, 0x2e, 0x49, + 0x6e, 0x64, 0x65, 0x78, 0x65, 0x64, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, + 0x52, 0x0a, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x22, 0xba, 0x01, 0x0a, + 0x1c, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x64, 0x53, 0x74, 0x61, + 0x74, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x21, 0x0a, + 0x0c, 0x73, 0x74, 0x61, 0x74, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x05, 0x52, 0x0b, 0x73, 0x74, 0x61, 0x74, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x49, 0x64, + 0x12, 0x44, 0x0a, 0x0a, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x18, 0x02, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x6f, 0x72, 0x67, 0x2e, 0x70, 0x6f, 0x6c, 0x79, 0x70, + 0x68, 0x65, 0x6e, 0x79, 0x2e, 0x70, 0x72, 0x69, 0x73, 0x6d, 0x2e, 0x4e, 0x61, 0x6d, 0x65, 0x64, + 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x52, 0x0a, 0x70, 0x61, 0x72, 0x61, + 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x12, 0x22, 0x0a, 0x0a, 0x66, 0x65, 0x74, 0x63, 0x68, 0x5f, + 0x73, 0x69, 0x7a, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x48, 0x00, 0x52, 0x09, 0x66, 0x65, + 0x74, 0x63, 0x68, 0x53, 0x69, 0x7a, 0x65, 0x88, 0x01, 0x01, 0x42, 0x0d, 0x0a, 0x0b, 0x5f, 0x66, + 0x65, 0x74, 0x63, 0x68, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x22, 0x54, 0x0a, 0x11, 0x49, 0x6e, 0x64, + 0x65, 0x78, 0x65, 0x64, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x12, 0x3f, + 0x0a, 0x0a, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x18, 0x01, 0x20, 0x03, + 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x6f, 0x72, 0x67, 0x2e, 0x70, 0x6f, 0x6c, 0x79, 0x70, 0x68, 0x65, + 0x6e, 0x79, 0x2e, 0x70, 0x72, 0x69, 0x73, 0x6d, 0x2e, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x56, 0x61, + 0x6c, 0x75, 0x65, 0x52, 0x0a, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x22, + 0xc7, 0x01, 0x0a, 0x0f, 0x4e, 0x61, 0x6d, 0x65, 0x64, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, + 0x65, 0x72, 0x73, 0x12, 0x54, 0x0a, 0x0a, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, + 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x34, 0x2e, 0x6f, 0x72, 0x67, 0x2e, 0x70, 0x6f, + 0x6c, 0x79, 0x70, 0x68, 0x65, 0x6e, 0x79, 0x2e, 0x70, 0x72, 0x69, 0x73, 0x6d, 0x2e, 0x4e, 0x61, + 0x6d, 0x65, 0x64, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x2e, 0x50, 0x61, + 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0a, 0x70, + 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x1a, 0x5e, 0x0a, 0x0f, 0x50, 0x61, 0x72, + 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, + 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x35, + 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f, 0x2e, + 0x6f, 0x72, 0x67, 0x2e, 0x70, 0x6f, 0x6c, 0x79, 0x70, 0x68, 0x65, 0x6e, 0x79, 0x2e, 0x70, 0x72, + 0x69, 0x73, 0x6d, 0x2e, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x05, + 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x3a, 0x0a, 0x15, 0x43, 0x6c, 0x6f, + 0x73, 0x65, 0x53, 0x74, 0x61, 0x74, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x12, 0x21, 0x0a, 0x0c, 0x73, 0x74, 0x61, 0x74, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x5f, + 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0b, 0x73, 0x74, 0x61, 0x74, 0x65, 0x6d, + 0x65, 0x6e, 0x74, 0x49, 0x64, 0x22, 0x64, 0x0a, 0x0c, 0x46, 0x65, 0x74, 0x63, 0x68, 0x52, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x21, 0x0a, 0x0c, 0x73, 0x74, 0x61, 0x74, 0x65, 0x6d, 0x65, + 0x6e, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0b, 0x73, 0x74, 0x61, + 0x74, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x49, 0x64, 0x12, 0x22, 0x0a, 0x0a, 0x66, 0x65, 0x74, 0x63, + 0x68, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x48, 0x00, 0x52, 0x09, + 0x66, 0x65, 0x74, 0x63, 0x68, 0x53, 0x69, 0x7a, 0x65, 0x88, 0x01, 0x01, 0x42, 0x0d, 0x0a, 0x0b, + 0x5f, 0x66, 0x65, 0x74, 0x63, 0x68, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x42, 0x57, 0x0a, 0x13, 0x6f, + 0x72, 0x67, 0x2e, 0x70, 0x6f, 0x6c, 0x79, 0x70, 0x68, 0x65, 0x6e, 0x79, 0x2e, 0x70, 0x72, 0x69, + 0x73, 0x6d, 0x42, 0x11, 0x53, 0x74, 0x61, 0x74, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x71, + 0x75, 0x65, 0x73, 0x74, 0x73, 0x50, 0x01, 0x5a, 0x19, 0x6f, 0x72, 0x67, 0x2f, 0x70, 0x6f, 0x6c, + 0x79, 0x70, 0x68, 0x65, 0x6e, 0x79, 0x2f, 0x70, 0x72, 0x69, 0x73, 0x6d, 0x3b, 0x70, 0x72, 0x69, + 0x73, 0x6d, 0xaa, 0x02, 0x0f, 0x50, 0x6f, 0x6c, 0x79, 0x70, 0x68, 0x65, 0x6e, 0x79, 0x2e, 0x50, + 0x72, 0x69, 0x73, 0x6d, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_org_polypheny_prism_statement_requests_proto_rawDescOnce sync.Once + file_org_polypheny_prism_statement_requests_proto_rawDescData = file_org_polypheny_prism_statement_requests_proto_rawDesc +) + +func file_org_polypheny_prism_statement_requests_proto_rawDescGZIP() []byte { + file_org_polypheny_prism_statement_requests_proto_rawDescOnce.Do(func() { + file_org_polypheny_prism_statement_requests_proto_rawDescData = protoimpl.X.CompressGZIP(file_org_polypheny_prism_statement_requests_proto_rawDescData) + }) + return file_org_polypheny_prism_statement_requests_proto_rawDescData +} + +var file_org_polypheny_prism_statement_requests_proto_msgTypes = make([]protoimpl.MessageInfo, 12) +var file_org_polypheny_prism_statement_requests_proto_goTypes = []interface{}{ + (*CloseResultRequest)(nil), // 0: org.polypheny.prism.CloseResultRequest + (*ExecuteUnparameterizedStatementRequest)(nil), // 1: org.polypheny.prism.ExecuteUnparameterizedStatementRequest + (*ExecuteUnparameterizedStatementBatchRequest)(nil), // 2: org.polypheny.prism.ExecuteUnparameterizedStatementBatchRequest + (*PrepareStatementRequest)(nil), // 3: org.polypheny.prism.PrepareStatementRequest + (*ExecuteIndexedStatementRequest)(nil), // 4: org.polypheny.prism.ExecuteIndexedStatementRequest + (*ExecuteIndexedStatementBatchRequest)(nil), // 5: org.polypheny.prism.ExecuteIndexedStatementBatchRequest + (*ExecuteNamedStatementRequest)(nil), // 6: org.polypheny.prism.ExecuteNamedStatementRequest + (*IndexedParameters)(nil), // 7: org.polypheny.prism.IndexedParameters + (*NamedParameters)(nil), // 8: org.polypheny.prism.NamedParameters + (*CloseStatementRequest)(nil), // 9: org.polypheny.prism.CloseStatementRequest + (*FetchRequest)(nil), // 10: org.polypheny.prism.FetchRequest + nil, // 11: org.polypheny.prism.NamedParameters.ParametersEntry + (*ProtoValue)(nil), // 12: org.polypheny.prism.ProtoValue +} +var file_org_polypheny_prism_statement_requests_proto_depIdxs = []int32{ + 1, // 0: org.polypheny.prism.ExecuteUnparameterizedStatementBatchRequest.statements:type_name -> org.polypheny.prism.ExecuteUnparameterizedStatementRequest + 7, // 1: org.polypheny.prism.ExecuteIndexedStatementRequest.parameters:type_name -> org.polypheny.prism.IndexedParameters + 7, // 2: org.polypheny.prism.ExecuteIndexedStatementBatchRequest.parameters:type_name -> org.polypheny.prism.IndexedParameters + 8, // 3: org.polypheny.prism.ExecuteNamedStatementRequest.parameters:type_name -> org.polypheny.prism.NamedParameters + 12, // 4: org.polypheny.prism.IndexedParameters.parameters:type_name -> org.polypheny.prism.ProtoValue + 11, // 5: org.polypheny.prism.NamedParameters.parameters:type_name -> org.polypheny.prism.NamedParameters.ParametersEntry + 12, // 6: org.polypheny.prism.NamedParameters.ParametersEntry.value:type_name -> org.polypheny.prism.ProtoValue + 7, // [7:7] is the sub-list for method output_type + 7, // [7:7] is the sub-list for method input_type + 7, // [7:7] is the sub-list for extension type_name + 7, // [7:7] is the sub-list for extension extendee + 0, // [0:7] is the sub-list for field type_name +} + +func init() { file_org_polypheny_prism_statement_requests_proto_init() } +func file_org_polypheny_prism_statement_requests_proto_init() { + if File_org_polypheny_prism_statement_requests_proto != nil { + return + } + file_org_polypheny_prism_value_proto_init() + if !protoimpl.UnsafeEnabled { + file_org_polypheny_prism_statement_requests_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CloseResultRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_org_polypheny_prism_statement_requests_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ExecuteUnparameterizedStatementRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_org_polypheny_prism_statement_requests_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ExecuteUnparameterizedStatementBatchRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_org_polypheny_prism_statement_requests_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PrepareStatementRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_org_polypheny_prism_statement_requests_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ExecuteIndexedStatementRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_org_polypheny_prism_statement_requests_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ExecuteIndexedStatementBatchRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_org_polypheny_prism_statement_requests_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ExecuteNamedStatementRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_org_polypheny_prism_statement_requests_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*IndexedParameters); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_org_polypheny_prism_statement_requests_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*NamedParameters); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_org_polypheny_prism_statement_requests_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CloseStatementRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_org_polypheny_prism_statement_requests_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*FetchRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + file_org_polypheny_prism_statement_requests_proto_msgTypes[1].OneofWrappers = []interface{}{} + file_org_polypheny_prism_statement_requests_proto_msgTypes[3].OneofWrappers = []interface{}{} + file_org_polypheny_prism_statement_requests_proto_msgTypes[4].OneofWrappers = []interface{}{} + file_org_polypheny_prism_statement_requests_proto_msgTypes[6].OneofWrappers = []interface{}{} + file_org_polypheny_prism_statement_requests_proto_msgTypes[10].OneofWrappers = []interface{}{} + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_org_polypheny_prism_statement_requests_proto_rawDesc, + NumEnums: 0, + NumMessages: 12, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_org_polypheny_prism_statement_requests_proto_goTypes, + DependencyIndexes: file_org_polypheny_prism_statement_requests_proto_depIdxs, + MessageInfos: file_org_polypheny_prism_statement_requests_proto_msgTypes, + }.Build() + File_org_polypheny_prism_statement_requests_proto = out.File + file_org_polypheny_prism_statement_requests_proto_rawDesc = nil + file_org_polypheny_prism_statement_requests_proto_goTypes = nil + file_org_polypheny_prism_statement_requests_proto_depIdxs = nil +} diff --git a/prism/statement_responses.pb.go b/prism/statement_responses.pb.go new file mode 100644 index 0000000..7f7b5ea --- /dev/null +++ b/prism/statement_responses.pb.go @@ -0,0 +1,804 @@ +// +//Messages related to statements in a query language and their results. + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.33.0 +// protoc v5.26.0 +// source: org/polypheny/prism/statement_responses.proto + +package prism + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// +//Response of the server on the request of a client to close the result set of a specific statement. +//This message has no fields. It merely serves as an acknowledgement. +type CloseResultResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *CloseResultResponse) Reset() { + *x = CloseResultResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_org_polypheny_prism_statement_responses_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *CloseResultResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*CloseResultResponse) ProtoMessage() {} + +func (x *CloseResultResponse) ProtoReflect() protoreflect.Message { + mi := &file_org_polypheny_prism_statement_responses_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use CloseResultResponse.ProtoReflect.Descriptor instead. +func (*CloseResultResponse) Descriptor() ([]byte, []int) { + return file_org_polypheny_prism_statement_responses_proto_rawDescGZIP(), []int{0} +} + +// +//Represents the response after executing a statement. +//This message contains the identifier of the executed statement and optionally, the result of the execution. +//The result can vary based on the type of statement executed, ranging from scalar values to complex data frames. +type StatementResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // The unique identifier of the executed statement. + StatementId int32 `protobuf:"varint,1,opt,name=statement_id,json=statementId,proto3" json:"statement_id,omitempty"` + // + //(Optional) The result of the executed statement. + //This could be a scalar value or a data frame, depending on the type of statement executed. + Result *StatementResult `protobuf:"bytes,2,opt,name=result,proto3,oneof" json:"result,omitempty"` +} + +func (x *StatementResponse) Reset() { + *x = StatementResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_org_polypheny_prism_statement_responses_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *StatementResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*StatementResponse) ProtoMessage() {} + +func (x *StatementResponse) ProtoReflect() protoreflect.Message { + mi := &file_org_polypheny_prism_statement_responses_proto_msgTypes[1] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use StatementResponse.ProtoReflect.Descriptor instead. +func (*StatementResponse) Descriptor() ([]byte, []int) { + return file_org_polypheny_prism_statement_responses_proto_rawDescGZIP(), []int{1} +} + +func (x *StatementResponse) GetStatementId() int32 { + if x != nil { + return x.StatementId + } + return 0 +} + +func (x *StatementResponse) GetResult() *StatementResult { + if x != nil { + return x.Result + } + return nil +} + +// +//Encapsulates the result of an executed statement. +//This can include scalar values for simple queries or data frames for queries that return multiple rows or complex data. +type StatementResult struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // A scalar result value, often used to represent the number of rows affected by an operation. + Scalar int64 `protobuf:"varint,1,opt,name=scalar,proto3" json:"scalar,omitempty"` + // (Optional) A frame of data, which could be a relational table, a graph, or a set of documents. + Frame *Frame `protobuf:"bytes,2,opt,name=frame,proto3,oneof" json:"frame,omitempty"` +} + +func (x *StatementResult) Reset() { + *x = StatementResult{} + if protoimpl.UnsafeEnabled { + mi := &file_org_polypheny_prism_statement_responses_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *StatementResult) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*StatementResult) ProtoMessage() {} + +func (x *StatementResult) ProtoReflect() protoreflect.Message { + mi := &file_org_polypheny_prism_statement_responses_proto_msgTypes[2] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use StatementResult.ProtoReflect.Descriptor instead. +func (*StatementResult) Descriptor() ([]byte, []int) { + return file_org_polypheny_prism_statement_responses_proto_rawDescGZIP(), []int{2} +} + +func (x *StatementResult) GetScalar() int64 { + if x != nil { + return x.Scalar + } + return 0 +} + +func (x *StatementResult) GetFrame() *Frame { + if x != nil { + return x.Frame + } + return nil +} + +// +//Represents the response after executing a batch of statements. +//This includes the batch identifier and a list of scalar results for each statement in the batch, +//typically representing the number of rows affected by each operation. +type StatementBatchResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // The unique identifier of the executed batch. + BatchId int32 `protobuf:"varint,1,opt,name=batch_id,json=batchId,proto3" json:"batch_id,omitempty"` + // List of scalar results for each statement in the batch. + Scalars []int64 `protobuf:"varint,2,rep,packed,name=scalars,proto3" json:"scalars,omitempty"` +} + +func (x *StatementBatchResponse) Reset() { + *x = StatementBatchResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_org_polypheny_prism_statement_responses_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *StatementBatchResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*StatementBatchResponse) ProtoMessage() {} + +func (x *StatementBatchResponse) ProtoReflect() protoreflect.Message { + mi := &file_org_polypheny_prism_statement_responses_proto_msgTypes[3] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use StatementBatchResponse.ProtoReflect.Descriptor instead. +func (*StatementBatchResponse) Descriptor() ([]byte, []int) { + return file_org_polypheny_prism_statement_responses_proto_rawDescGZIP(), []int{3} +} + +func (x *StatementBatchResponse) GetBatchId() int32 { + if x != nil { + return x.BatchId + } + return 0 +} + +func (x *StatementBatchResponse) GetScalars() []int64 { + if x != nil { + return x.Scalars + } + return nil +} + +// +//Provides metadata about a prepared statement, including its parameters. +//This information is crucial for correctly binding parameters to the statement before execution. +type PreparedStatementSignature struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // The unique identifier of the prepared statement. + StatementId int32 `protobuf:"varint,1,opt,name=statement_id,json=statementId,proto3" json:"statement_id,omitempty"` + // Metadata about each parameter required by the statement, detailing type, name, and other characteristics. + ParameterMetas []*ParameterMeta `protobuf:"bytes,2,rep,name=parameter_metas,json=parameterMetas,proto3" json:"parameter_metas,omitempty"` +} + +func (x *PreparedStatementSignature) Reset() { + *x = PreparedStatementSignature{} + if protoimpl.UnsafeEnabled { + mi := &file_org_polypheny_prism_statement_responses_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *PreparedStatementSignature) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PreparedStatementSignature) ProtoMessage() {} + +func (x *PreparedStatementSignature) ProtoReflect() protoreflect.Message { + mi := &file_org_polypheny_prism_statement_responses_proto_msgTypes[4] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use PreparedStatementSignature.ProtoReflect.Descriptor instead. +func (*PreparedStatementSignature) Descriptor() ([]byte, []int) { + return file_org_polypheny_prism_statement_responses_proto_rawDescGZIP(), []int{4} +} + +func (x *PreparedStatementSignature) GetStatementId() int32 { + if x != nil { + return x.StatementId + } + return 0 +} + +func (x *PreparedStatementSignature) GetParameterMetas() []*ParameterMeta { + if x != nil { + return x.ParameterMetas + } + return nil +} + +// +//Provides metadata about a single parameter of a prepared statement. +//This includes details about the parameter's precision, scale, data type, and names. +type ParameterMeta struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Precision of the parameter, typically used for numeric types. + Precision int32 `protobuf:"varint,1,opt,name=precision,proto3" json:"precision,omitempty"` + // Scale of the parameter, typically used for decimal types. + Scale int32 `protobuf:"varint,2,opt,name=scale,proto3" json:"scale,omitempty"` + // The data type of the parameter. + TypeName string `protobuf:"bytes,3,opt,name=type_name,json=typeName,proto3" json:"type_name,omitempty"` + // (Optional) The name of the placeholder specified for this value. + ParameterName *string `protobuf:"bytes,4,opt,name=parameter_name,json=parameterName,proto3,oneof" json:"parameter_name,omitempty"` + // The name of the parameter, if specified. + Name string `protobuf:"bytes,5,opt,name=name,proto3" json:"name,omitempty"` +} + +func (x *ParameterMeta) Reset() { + *x = ParameterMeta{} + if protoimpl.UnsafeEnabled { + mi := &file_org_polypheny_prism_statement_responses_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ParameterMeta) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ParameterMeta) ProtoMessage() {} + +func (x *ParameterMeta) ProtoReflect() protoreflect.Message { + mi := &file_org_polypheny_prism_statement_responses_proto_msgTypes[5] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ParameterMeta.ProtoReflect.Descriptor instead. +func (*ParameterMeta) Descriptor() ([]byte, []int) { + return file_org_polypheny_prism_statement_responses_proto_rawDescGZIP(), []int{5} +} + +func (x *ParameterMeta) GetPrecision() int32 { + if x != nil { + return x.Precision + } + return 0 +} + +func (x *ParameterMeta) GetScale() int32 { + if x != nil { + return x.Scale + } + return 0 +} + +func (x *ParameterMeta) GetTypeName() string { + if x != nil { + return x.TypeName + } + return "" +} + +func (x *ParameterMeta) GetParameterName() string { + if x != nil && x.ParameterName != nil { + return *x.ParameterName + } + return "" +} + +func (x *ParameterMeta) GetName() string { + if x != nil { + return x.Name + } + return "" +} + +// +//Represents the response after closing a prepared statement. +//The message is currently empty, serving as a simple acknowledgment of the action. +//This message does not contain any fields. It simply serves as an acknowledgment. +type CloseStatementResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *CloseStatementResponse) Reset() { + *x = CloseStatementResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_org_polypheny_prism_statement_responses_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *CloseStatementResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*CloseStatementResponse) ProtoMessage() {} + +func (x *CloseStatementResponse) ProtoReflect() protoreflect.Message { + mi := &file_org_polypheny_prism_statement_responses_proto_msgTypes[6] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use CloseStatementResponse.ProtoReflect.Descriptor instead. +func (*CloseStatementResponse) Descriptor() ([]byte, []int) { + return file_org_polypheny_prism_statement_responses_proto_rawDescGZIP(), []int{6} +} + +// +//Represents a frame of data that could be one of several types, offering flexibility in representing different types of data responses. +//This structure allows for a more generic interface that can handle various data structures. +type Frame struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Indicates if this frame is the last in a series of frames, useful for paginated results. + IsLast bool `protobuf:"varint,1,opt,name=is_last,json=isLast,proto3" json:"is_last,omitempty"` + // The actual data frame. It could be a relational table (RelationalFrame), a graph (GraphFrame), or a document (DocumentFrame). + // + // Types that are assignable to Result: + // *Frame_RelationalFrame + // *Frame_GraphFrame + // *Frame_DocumentFrame + Result isFrame_Result `protobuf_oneof:"result"` +} + +func (x *Frame) Reset() { + *x = Frame{} + if protoimpl.UnsafeEnabled { + mi := &file_org_polypheny_prism_statement_responses_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Frame) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Frame) ProtoMessage() {} + +func (x *Frame) ProtoReflect() protoreflect.Message { + mi := &file_org_polypheny_prism_statement_responses_proto_msgTypes[7] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Frame.ProtoReflect.Descriptor instead. +func (*Frame) Descriptor() ([]byte, []int) { + return file_org_polypheny_prism_statement_responses_proto_rawDescGZIP(), []int{7} +} + +func (x *Frame) GetIsLast() bool { + if x != nil { + return x.IsLast + } + return false +} + +func (m *Frame) GetResult() isFrame_Result { + if m != nil { + return m.Result + } + return nil +} + +func (x *Frame) GetRelationalFrame() *RelationalFrame { + if x, ok := x.GetResult().(*Frame_RelationalFrame); ok { + return x.RelationalFrame + } + return nil +} + +func (x *Frame) GetGraphFrame() *GraphFrame { + if x, ok := x.GetResult().(*Frame_GraphFrame); ok { + return x.GraphFrame + } + return nil +} + +func (x *Frame) GetDocumentFrame() *DocumentFrame { + if x, ok := x.GetResult().(*Frame_DocumentFrame); ok { + return x.DocumentFrame + } + return nil +} + +type isFrame_Result interface { + isFrame_Result() +} + +type Frame_RelationalFrame struct { + RelationalFrame *RelationalFrame `protobuf:"bytes,2,opt,name=relational_frame,json=relationalFrame,proto3,oneof"` +} + +type Frame_GraphFrame struct { + GraphFrame *GraphFrame `protobuf:"bytes,3,opt,name=graph_frame,json=graphFrame,proto3,oneof"` +} + +type Frame_DocumentFrame struct { + DocumentFrame *DocumentFrame `protobuf:"bytes,4,opt,name=document_frame,json=documentFrame,proto3,oneof"` +} + +func (*Frame_RelationalFrame) isFrame_Result() {} + +func (*Frame_GraphFrame) isFrame_Result() {} + +func (*Frame_DocumentFrame) isFrame_Result() {} + +var File_org_polypheny_prism_statement_responses_proto protoreflect.FileDescriptor + +var file_org_polypheny_prism_statement_responses_proto_rawDesc = []byte{ + 0x0a, 0x2d, 0x6f, 0x72, 0x67, 0x2f, 0x70, 0x6f, 0x6c, 0x79, 0x70, 0x68, 0x65, 0x6e, 0x79, 0x2f, + 0x70, 0x72, 0x69, 0x73, 0x6d, 0x2f, 0x73, 0x74, 0x61, 0x74, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x5f, + 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, + 0x13, 0x6f, 0x72, 0x67, 0x2e, 0x70, 0x6f, 0x6c, 0x79, 0x70, 0x68, 0x65, 0x6e, 0x79, 0x2e, 0x70, + 0x72, 0x69, 0x73, 0x6d, 0x1a, 0x2a, 0x6f, 0x72, 0x67, 0x2f, 0x70, 0x6f, 0x6c, 0x79, 0x70, 0x68, + 0x65, 0x6e, 0x79, 0x2f, 0x70, 0x72, 0x69, 0x73, 0x6d, 0x2f, 0x72, 0x65, 0x6c, 0x61, 0x74, 0x69, + 0x6f, 0x6e, 0x61, 0x6c, 0x5f, 0x66, 0x72, 0x61, 0x6d, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x1a, 0x25, 0x6f, 0x72, 0x67, 0x2f, 0x70, 0x6f, 0x6c, 0x79, 0x70, 0x68, 0x65, 0x6e, 0x79, 0x2f, + 0x70, 0x72, 0x69, 0x73, 0x6d, 0x2f, 0x67, 0x72, 0x61, 0x70, 0x68, 0x5f, 0x66, 0x72, 0x61, 0x6d, + 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x28, 0x6f, 0x72, 0x67, 0x2f, 0x70, 0x6f, 0x6c, + 0x79, 0x70, 0x68, 0x65, 0x6e, 0x79, 0x2f, 0x70, 0x72, 0x69, 0x73, 0x6d, 0x2f, 0x64, 0x6f, 0x63, + 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x5f, 0x66, 0x72, 0x61, 0x6d, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x22, 0x15, 0x0a, 0x13, 0x43, 0x6c, 0x6f, 0x73, 0x65, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, + 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x84, 0x01, 0x0a, 0x11, 0x53, 0x74, 0x61, + 0x74, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x21, + 0x0a, 0x0c, 0x73, 0x74, 0x61, 0x74, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x05, 0x52, 0x0b, 0x73, 0x74, 0x61, 0x74, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x49, + 0x64, 0x12, 0x41, 0x0a, 0x06, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x24, 0x2e, 0x6f, 0x72, 0x67, 0x2e, 0x70, 0x6f, 0x6c, 0x79, 0x70, 0x68, 0x65, 0x6e, + 0x79, 0x2e, 0x70, 0x72, 0x69, 0x73, 0x6d, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x65, 0x6d, 0x65, 0x6e, + 0x74, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x48, 0x00, 0x52, 0x06, 0x72, 0x65, 0x73, 0x75, 0x6c, + 0x74, 0x88, 0x01, 0x01, 0x42, 0x09, 0x0a, 0x07, 0x5f, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x22, + 0x6a, 0x0a, 0x0f, 0x53, 0x74, 0x61, 0x74, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x75, + 0x6c, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x63, 0x61, 0x6c, 0x61, 0x72, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x03, 0x52, 0x06, 0x73, 0x63, 0x61, 0x6c, 0x61, 0x72, 0x12, 0x35, 0x0a, 0x05, 0x66, 0x72, + 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x6f, 0x72, 0x67, 0x2e, + 0x70, 0x6f, 0x6c, 0x79, 0x70, 0x68, 0x65, 0x6e, 0x79, 0x2e, 0x70, 0x72, 0x69, 0x73, 0x6d, 0x2e, + 0x46, 0x72, 0x61, 0x6d, 0x65, 0x48, 0x00, 0x52, 0x05, 0x66, 0x72, 0x61, 0x6d, 0x65, 0x88, 0x01, + 0x01, 0x42, 0x08, 0x0a, 0x06, 0x5f, 0x66, 0x72, 0x61, 0x6d, 0x65, 0x22, 0x4d, 0x0a, 0x16, 0x53, + 0x74, 0x61, 0x74, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x42, 0x61, 0x74, 0x63, 0x68, 0x52, 0x65, 0x73, + 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x19, 0x0a, 0x08, 0x62, 0x61, 0x74, 0x63, 0x68, 0x5f, 0x69, + 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x62, 0x61, 0x74, 0x63, 0x68, 0x49, 0x64, + 0x12, 0x18, 0x0a, 0x07, 0x73, 0x63, 0x61, 0x6c, 0x61, 0x72, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, + 0x03, 0x52, 0x07, 0x73, 0x63, 0x61, 0x6c, 0x61, 0x72, 0x73, 0x22, 0x8c, 0x01, 0x0a, 0x1a, 0x50, + 0x72, 0x65, 0x70, 0x61, 0x72, 0x65, 0x64, 0x53, 0x74, 0x61, 0x74, 0x65, 0x6d, 0x65, 0x6e, 0x74, + 0x53, 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 0x12, 0x21, 0x0a, 0x0c, 0x73, 0x74, 0x61, + 0x74, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, + 0x0b, 0x73, 0x74, 0x61, 0x74, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x49, 0x64, 0x12, 0x4b, 0x0a, 0x0f, + 0x70, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x73, 0x18, + 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x6f, 0x72, 0x67, 0x2e, 0x70, 0x6f, 0x6c, 0x79, + 0x70, 0x68, 0x65, 0x6e, 0x79, 0x2e, 0x70, 0x72, 0x69, 0x73, 0x6d, 0x2e, 0x50, 0x61, 0x72, 0x61, + 0x6d, 0x65, 0x74, 0x65, 0x72, 0x4d, 0x65, 0x74, 0x61, 0x52, 0x0e, 0x70, 0x61, 0x72, 0x61, 0x6d, + 0x65, 0x74, 0x65, 0x72, 0x4d, 0x65, 0x74, 0x61, 0x73, 0x22, 0xb3, 0x01, 0x0a, 0x0d, 0x50, 0x61, + 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x4d, 0x65, 0x74, 0x61, 0x12, 0x1c, 0x0a, 0x09, 0x70, + 0x72, 0x65, 0x63, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x09, + 0x70, 0x72, 0x65, 0x63, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x14, 0x0a, 0x05, 0x73, 0x63, 0x61, + 0x6c, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x73, 0x63, 0x61, 0x6c, 0x65, 0x12, + 0x1b, 0x0a, 0x09, 0x74, 0x79, 0x70, 0x65, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x08, 0x74, 0x79, 0x70, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x2a, 0x0a, 0x0e, + 0x70, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x04, + 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x0d, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, + 0x72, 0x4e, 0x61, 0x6d, 0x65, 0x88, 0x01, 0x01, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, + 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x42, 0x11, 0x0a, 0x0f, + 0x5f, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x22, + 0x18, 0x0a, 0x16, 0x43, 0x6c, 0x6f, 0x73, 0x65, 0x53, 0x74, 0x61, 0x74, 0x65, 0x6d, 0x65, 0x6e, + 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x8e, 0x02, 0x0a, 0x05, 0x46, 0x72, + 0x61, 0x6d, 0x65, 0x12, 0x17, 0x0a, 0x07, 0x69, 0x73, 0x5f, 0x6c, 0x61, 0x73, 0x74, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x08, 0x52, 0x06, 0x69, 0x73, 0x4c, 0x61, 0x73, 0x74, 0x12, 0x51, 0x0a, 0x10, + 0x72, 0x65, 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x5f, 0x66, 0x72, 0x61, 0x6d, 0x65, + 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x6f, 0x72, 0x67, 0x2e, 0x70, 0x6f, 0x6c, + 0x79, 0x70, 0x68, 0x65, 0x6e, 0x79, 0x2e, 0x70, 0x72, 0x69, 0x73, 0x6d, 0x2e, 0x52, 0x65, 0x6c, + 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x46, 0x72, 0x61, 0x6d, 0x65, 0x48, 0x00, 0x52, 0x0f, + 0x72, 0x65, 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x46, 0x72, 0x61, 0x6d, 0x65, 0x12, + 0x42, 0x0a, 0x0b, 0x67, 0x72, 0x61, 0x70, 0x68, 0x5f, 0x66, 0x72, 0x61, 0x6d, 0x65, 0x18, 0x03, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x6f, 0x72, 0x67, 0x2e, 0x70, 0x6f, 0x6c, 0x79, 0x70, + 0x68, 0x65, 0x6e, 0x79, 0x2e, 0x70, 0x72, 0x69, 0x73, 0x6d, 0x2e, 0x47, 0x72, 0x61, 0x70, 0x68, + 0x46, 0x72, 0x61, 0x6d, 0x65, 0x48, 0x00, 0x52, 0x0a, 0x67, 0x72, 0x61, 0x70, 0x68, 0x46, 0x72, + 0x61, 0x6d, 0x65, 0x12, 0x4b, 0x0a, 0x0e, 0x64, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x5f, + 0x66, 0x72, 0x61, 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x6f, 0x72, + 0x67, 0x2e, 0x70, 0x6f, 0x6c, 0x79, 0x70, 0x68, 0x65, 0x6e, 0x79, 0x2e, 0x70, 0x72, 0x69, 0x73, + 0x6d, 0x2e, 0x44, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x46, 0x72, 0x61, 0x6d, 0x65, 0x48, + 0x00, 0x52, 0x0d, 0x64, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x46, 0x72, 0x61, 0x6d, 0x65, + 0x42, 0x08, 0x0a, 0x06, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x42, 0x58, 0x0a, 0x13, 0x6f, 0x72, + 0x67, 0x2e, 0x70, 0x6f, 0x6c, 0x79, 0x70, 0x68, 0x65, 0x6e, 0x79, 0x2e, 0x70, 0x72, 0x69, 0x73, + 0x6d, 0x42, 0x12, 0x53, 0x74, 0x61, 0x74, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, + 0x6f, 0x6e, 0x73, 0x65, 0x73, 0x50, 0x01, 0x5a, 0x19, 0x6f, 0x72, 0x67, 0x2f, 0x70, 0x6f, 0x6c, + 0x79, 0x70, 0x68, 0x65, 0x6e, 0x79, 0x2f, 0x70, 0x72, 0x69, 0x73, 0x6d, 0x3b, 0x70, 0x72, 0x69, + 0x73, 0x6d, 0xaa, 0x02, 0x0f, 0x50, 0x6f, 0x6c, 0x79, 0x70, 0x68, 0x65, 0x6e, 0x79, 0x2e, 0x50, + 0x72, 0x69, 0x73, 0x6d, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_org_polypheny_prism_statement_responses_proto_rawDescOnce sync.Once + file_org_polypheny_prism_statement_responses_proto_rawDescData = file_org_polypheny_prism_statement_responses_proto_rawDesc +) + +func file_org_polypheny_prism_statement_responses_proto_rawDescGZIP() []byte { + file_org_polypheny_prism_statement_responses_proto_rawDescOnce.Do(func() { + file_org_polypheny_prism_statement_responses_proto_rawDescData = protoimpl.X.CompressGZIP(file_org_polypheny_prism_statement_responses_proto_rawDescData) + }) + return file_org_polypheny_prism_statement_responses_proto_rawDescData +} + +var file_org_polypheny_prism_statement_responses_proto_msgTypes = make([]protoimpl.MessageInfo, 8) +var file_org_polypheny_prism_statement_responses_proto_goTypes = []interface{}{ + (*CloseResultResponse)(nil), // 0: org.polypheny.prism.CloseResultResponse + (*StatementResponse)(nil), // 1: org.polypheny.prism.StatementResponse + (*StatementResult)(nil), // 2: org.polypheny.prism.StatementResult + (*StatementBatchResponse)(nil), // 3: org.polypheny.prism.StatementBatchResponse + (*PreparedStatementSignature)(nil), // 4: org.polypheny.prism.PreparedStatementSignature + (*ParameterMeta)(nil), // 5: org.polypheny.prism.ParameterMeta + (*CloseStatementResponse)(nil), // 6: org.polypheny.prism.CloseStatementResponse + (*Frame)(nil), // 7: org.polypheny.prism.Frame + (*RelationalFrame)(nil), // 8: org.polypheny.prism.RelationalFrame + (*GraphFrame)(nil), // 9: org.polypheny.prism.GraphFrame + (*DocumentFrame)(nil), // 10: org.polypheny.prism.DocumentFrame +} +var file_org_polypheny_prism_statement_responses_proto_depIdxs = []int32{ + 2, // 0: org.polypheny.prism.StatementResponse.result:type_name -> org.polypheny.prism.StatementResult + 7, // 1: org.polypheny.prism.StatementResult.frame:type_name -> org.polypheny.prism.Frame + 5, // 2: org.polypheny.prism.PreparedStatementSignature.parameter_metas:type_name -> org.polypheny.prism.ParameterMeta + 8, // 3: org.polypheny.prism.Frame.relational_frame:type_name -> org.polypheny.prism.RelationalFrame + 9, // 4: org.polypheny.prism.Frame.graph_frame:type_name -> org.polypheny.prism.GraphFrame + 10, // 5: org.polypheny.prism.Frame.document_frame:type_name -> org.polypheny.prism.DocumentFrame + 6, // [6:6] is the sub-list for method output_type + 6, // [6:6] is the sub-list for method input_type + 6, // [6:6] is the sub-list for extension type_name + 6, // [6:6] is the sub-list for extension extendee + 0, // [0:6] is the sub-list for field type_name +} + +func init() { file_org_polypheny_prism_statement_responses_proto_init() } +func file_org_polypheny_prism_statement_responses_proto_init() { + if File_org_polypheny_prism_statement_responses_proto != nil { + return + } + file_org_polypheny_prism_relational_frame_proto_init() + file_org_polypheny_prism_graph_frame_proto_init() + file_org_polypheny_prism_document_frame_proto_init() + if !protoimpl.UnsafeEnabled { + file_org_polypheny_prism_statement_responses_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CloseResultResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_org_polypheny_prism_statement_responses_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*StatementResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_org_polypheny_prism_statement_responses_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*StatementResult); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_org_polypheny_prism_statement_responses_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*StatementBatchResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_org_polypheny_prism_statement_responses_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PreparedStatementSignature); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_org_polypheny_prism_statement_responses_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ParameterMeta); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_org_polypheny_prism_statement_responses_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CloseStatementResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_org_polypheny_prism_statement_responses_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Frame); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + file_org_polypheny_prism_statement_responses_proto_msgTypes[1].OneofWrappers = []interface{}{} + file_org_polypheny_prism_statement_responses_proto_msgTypes[2].OneofWrappers = []interface{}{} + file_org_polypheny_prism_statement_responses_proto_msgTypes[5].OneofWrappers = []interface{}{} + file_org_polypheny_prism_statement_responses_proto_msgTypes[7].OneofWrappers = []interface{}{ + (*Frame_RelationalFrame)(nil), + (*Frame_GraphFrame)(nil), + (*Frame_DocumentFrame)(nil), + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_org_polypheny_prism_statement_responses_proto_rawDesc, + NumEnums: 0, + NumMessages: 8, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_org_polypheny_prism_statement_responses_proto_goTypes, + DependencyIndexes: file_org_polypheny_prism_statement_responses_proto_depIdxs, + MessageInfos: file_org_polypheny_prism_statement_responses_proto_msgTypes, + }.Build() + File_org_polypheny_prism_statement_responses_proto = out.File + file_org_polypheny_prism_statement_responses_proto_rawDesc = nil + file_org_polypheny_prism_statement_responses_proto_goTypes = nil + file_org_polypheny_prism_statement_responses_proto_depIdxs = nil +} diff --git a/prism/transaction_requests.pb.go b/prism/transaction_requests.pb.go new file mode 100644 index 0000000..467c8c1 --- /dev/null +++ b/prism/transaction_requests.pb.go @@ -0,0 +1,202 @@ +// +//Messages concerning the handling of transactions. + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.33.0 +// protoc v5.26.0 +// source: org/polypheny/prism/transaction_requests.proto + +package prism + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// +//Represents a request to commit a transaction. +//This message is used to signal the system to finalize all changes made during the transaction, +//making them permanent and visible to other transactions. +type CommitRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *CommitRequest) Reset() { + *x = CommitRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_org_polypheny_prism_transaction_requests_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *CommitRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*CommitRequest) ProtoMessage() {} + +func (x *CommitRequest) ProtoReflect() protoreflect.Message { + mi := &file_org_polypheny_prism_transaction_requests_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use CommitRequest.ProtoReflect.Descriptor instead. +func (*CommitRequest) Descriptor() ([]byte, []int) { + return file_org_polypheny_prism_transaction_requests_proto_rawDescGZIP(), []int{0} +} + +// +//Represents a request to rollback a transaction. +//This message is used to signal the system to undo all changes made during the transaction, +//returning the state of the database to what it was before the transaction began. +type RollbackRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *RollbackRequest) Reset() { + *x = RollbackRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_org_polypheny_prism_transaction_requests_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *RollbackRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*RollbackRequest) ProtoMessage() {} + +func (x *RollbackRequest) ProtoReflect() protoreflect.Message { + mi := &file_org_polypheny_prism_transaction_requests_proto_msgTypes[1] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use RollbackRequest.ProtoReflect.Descriptor instead. +func (*RollbackRequest) Descriptor() ([]byte, []int) { + return file_org_polypheny_prism_transaction_requests_proto_rawDescGZIP(), []int{1} +} + +var File_org_polypheny_prism_transaction_requests_proto protoreflect.FileDescriptor + +var file_org_polypheny_prism_transaction_requests_proto_rawDesc = []byte{ + 0x0a, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x70, 0x6f, 0x6c, 0x79, 0x70, 0x68, 0x65, 0x6e, 0x79, 0x2f, + 0x70, 0x72, 0x69, 0x73, 0x6d, 0x2f, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, + 0x6e, 0x5f, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x12, 0x13, 0x6f, 0x72, 0x67, 0x2e, 0x70, 0x6f, 0x6c, 0x79, 0x70, 0x68, 0x65, 0x6e, 0x79, 0x2e, + 0x70, 0x72, 0x69, 0x73, 0x6d, 0x22, 0x0f, 0x0a, 0x0d, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x52, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x11, 0x0a, 0x0f, 0x52, 0x6f, 0x6c, 0x6c, 0x62, 0x61, + 0x63, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x42, 0x59, 0x0a, 0x13, 0x6f, 0x72, 0x67, + 0x2e, 0x70, 0x6f, 0x6c, 0x79, 0x70, 0x68, 0x65, 0x6e, 0x79, 0x2e, 0x70, 0x72, 0x69, 0x73, 0x6d, + 0x42, 0x13, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, + 0x75, 0x65, 0x73, 0x74, 0x73, 0x50, 0x01, 0x5a, 0x19, 0x6f, 0x72, 0x67, 0x2f, 0x70, 0x6f, 0x6c, + 0x79, 0x70, 0x68, 0x65, 0x6e, 0x79, 0x2f, 0x70, 0x72, 0x69, 0x73, 0x6d, 0x3b, 0x70, 0x72, 0x69, + 0x73, 0x6d, 0xaa, 0x02, 0x0f, 0x50, 0x6f, 0x6c, 0x79, 0x70, 0x68, 0x65, 0x6e, 0x79, 0x2e, 0x50, + 0x72, 0x69, 0x73, 0x6d, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_org_polypheny_prism_transaction_requests_proto_rawDescOnce sync.Once + file_org_polypheny_prism_transaction_requests_proto_rawDescData = file_org_polypheny_prism_transaction_requests_proto_rawDesc +) + +func file_org_polypheny_prism_transaction_requests_proto_rawDescGZIP() []byte { + file_org_polypheny_prism_transaction_requests_proto_rawDescOnce.Do(func() { + file_org_polypheny_prism_transaction_requests_proto_rawDescData = protoimpl.X.CompressGZIP(file_org_polypheny_prism_transaction_requests_proto_rawDescData) + }) + return file_org_polypheny_prism_transaction_requests_proto_rawDescData +} + +var file_org_polypheny_prism_transaction_requests_proto_msgTypes = make([]protoimpl.MessageInfo, 2) +var file_org_polypheny_prism_transaction_requests_proto_goTypes = []interface{}{ + (*CommitRequest)(nil), // 0: org.polypheny.prism.CommitRequest + (*RollbackRequest)(nil), // 1: org.polypheny.prism.RollbackRequest +} +var file_org_polypheny_prism_transaction_requests_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_org_polypheny_prism_transaction_requests_proto_init() } +func file_org_polypheny_prism_transaction_requests_proto_init() { + if File_org_polypheny_prism_transaction_requests_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_org_polypheny_prism_transaction_requests_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CommitRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_org_polypheny_prism_transaction_requests_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*RollbackRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_org_polypheny_prism_transaction_requests_proto_rawDesc, + NumEnums: 0, + NumMessages: 2, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_org_polypheny_prism_transaction_requests_proto_goTypes, + DependencyIndexes: file_org_polypheny_prism_transaction_requests_proto_depIdxs, + MessageInfos: file_org_polypheny_prism_transaction_requests_proto_msgTypes, + }.Build() + File_org_polypheny_prism_transaction_requests_proto = out.File + file_org_polypheny_prism_transaction_requests_proto_rawDesc = nil + file_org_polypheny_prism_transaction_requests_proto_goTypes = nil + file_org_polypheny_prism_transaction_requests_proto_depIdxs = nil +} diff --git a/prism/transaction_responses.pb.go b/prism/transaction_responses.pb.go new file mode 100644 index 0000000..870442b --- /dev/null +++ b/prism/transaction_responses.pb.go @@ -0,0 +1,204 @@ +// +//Messages concerning the handling of transactions. + +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.33.0 +// protoc v5.26.0 +// source: org/polypheny/prism/transaction_responses.proto + +package prism + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// +//Represents the response after attempting to commit a transaction. +//This message serves as an acknowledgment that the commit request was received and processed, +//finalizing all changes made during the transaction. +//This message does not contain any fields. It simply serves as an acknowledgment of the commit. +type CommitResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *CommitResponse) Reset() { + *x = CommitResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_org_polypheny_prism_transaction_responses_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *CommitResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*CommitResponse) ProtoMessage() {} + +func (x *CommitResponse) ProtoReflect() protoreflect.Message { + mi := &file_org_polypheny_prism_transaction_responses_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use CommitResponse.ProtoReflect.Descriptor instead. +func (*CommitResponse) Descriptor() ([]byte, []int) { + return file_org_polypheny_prism_transaction_responses_proto_rawDescGZIP(), []int{0} +} + +// +//Represents the response after attempting to rollback a transaction. +//This message serves as an acknowledgment that the rollback request was received and processed, +//undoing all changes made during the transaction. +//This message does not contain any fields. It simply serves as an acknowledgment of the rollback. +type RollbackResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *RollbackResponse) Reset() { + *x = RollbackResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_org_polypheny_prism_transaction_responses_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *RollbackResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*RollbackResponse) ProtoMessage() {} + +func (x *RollbackResponse) ProtoReflect() protoreflect.Message { + mi := &file_org_polypheny_prism_transaction_responses_proto_msgTypes[1] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use RollbackResponse.ProtoReflect.Descriptor instead. +func (*RollbackResponse) Descriptor() ([]byte, []int) { + return file_org_polypheny_prism_transaction_responses_proto_rawDescGZIP(), []int{1} +} + +var File_org_polypheny_prism_transaction_responses_proto protoreflect.FileDescriptor + +var file_org_polypheny_prism_transaction_responses_proto_rawDesc = []byte{ + 0x0a, 0x2f, 0x6f, 0x72, 0x67, 0x2f, 0x70, 0x6f, 0x6c, 0x79, 0x70, 0x68, 0x65, 0x6e, 0x79, 0x2f, + 0x70, 0x72, 0x69, 0x73, 0x6d, 0x2f, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, + 0x6e, 0x5f, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x12, 0x13, 0x6f, 0x72, 0x67, 0x2e, 0x70, 0x6f, 0x6c, 0x79, 0x70, 0x68, 0x65, 0x6e, 0x79, + 0x2e, 0x70, 0x72, 0x69, 0x73, 0x6d, 0x22, 0x10, 0x0a, 0x0e, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, + 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x12, 0x0a, 0x10, 0x52, 0x6f, 0x6c, 0x6c, + 0x62, 0x61, 0x63, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x42, 0x5a, 0x0a, 0x13, + 0x6f, 0x72, 0x67, 0x2e, 0x70, 0x6f, 0x6c, 0x79, 0x70, 0x68, 0x65, 0x6e, 0x79, 0x2e, 0x70, 0x72, + 0x69, 0x73, 0x6d, 0x42, 0x14, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, + 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x73, 0x50, 0x01, 0x5a, 0x19, 0x6f, 0x72, 0x67, + 0x2f, 0x70, 0x6f, 0x6c, 0x79, 0x70, 0x68, 0x65, 0x6e, 0x79, 0x2f, 0x70, 0x72, 0x69, 0x73, 0x6d, + 0x3b, 0x70, 0x72, 0x69, 0x73, 0x6d, 0xaa, 0x02, 0x0f, 0x50, 0x6f, 0x6c, 0x79, 0x70, 0x68, 0x65, + 0x6e, 0x79, 0x2e, 0x50, 0x72, 0x69, 0x73, 0x6d, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_org_polypheny_prism_transaction_responses_proto_rawDescOnce sync.Once + file_org_polypheny_prism_transaction_responses_proto_rawDescData = file_org_polypheny_prism_transaction_responses_proto_rawDesc +) + +func file_org_polypheny_prism_transaction_responses_proto_rawDescGZIP() []byte { + file_org_polypheny_prism_transaction_responses_proto_rawDescOnce.Do(func() { + file_org_polypheny_prism_transaction_responses_proto_rawDescData = protoimpl.X.CompressGZIP(file_org_polypheny_prism_transaction_responses_proto_rawDescData) + }) + return file_org_polypheny_prism_transaction_responses_proto_rawDescData +} + +var file_org_polypheny_prism_transaction_responses_proto_msgTypes = make([]protoimpl.MessageInfo, 2) +var file_org_polypheny_prism_transaction_responses_proto_goTypes = []interface{}{ + (*CommitResponse)(nil), // 0: org.polypheny.prism.CommitResponse + (*RollbackResponse)(nil), // 1: org.polypheny.prism.RollbackResponse +} +var file_org_polypheny_prism_transaction_responses_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_org_polypheny_prism_transaction_responses_proto_init() } +func file_org_polypheny_prism_transaction_responses_proto_init() { + if File_org_polypheny_prism_transaction_responses_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_org_polypheny_prism_transaction_responses_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CommitResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_org_polypheny_prism_transaction_responses_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*RollbackResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_org_polypheny_prism_transaction_responses_proto_rawDesc, + NumEnums: 0, + NumMessages: 2, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_org_polypheny_prism_transaction_responses_proto_goTypes, + DependencyIndexes: file_org_polypheny_prism_transaction_responses_proto_depIdxs, + MessageInfos: file_org_polypheny_prism_transaction_responses_proto_msgTypes, + }.Build() + File_org_polypheny_prism_transaction_responses_proto = out.File + file_org_polypheny_prism_transaction_responses_proto_rawDesc = nil + file_org_polypheny_prism_transaction_responses_proto_goTypes = nil + file_org_polypheny_prism_transaction_responses_proto_depIdxs = nil +} diff --git a/prism/value.pb.go b/prism/value.pb.go new file mode 100644 index 0000000..ee234c2 --- /dev/null +++ b/prism/value.pb.go @@ -0,0 +1,2138 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.33.0 +// protoc v5.26.0 +// source: org/polypheny/prism/value.proto + +package prism + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +// Specifies the type of a proto value. This enum contains a value for each datatype supported by the DBMS. +type ProtoPolyType int32 + +const ( + // Default unspecified type. + ProtoPolyType_UNSPECIFIED ProtoPolyType = 0 + // Boolean type, true or false. + ProtoPolyType_BOOLEAN ProtoPolyType = 1 + // 8-bit integer. + ProtoPolyType_TINYINT ProtoPolyType = 2 + // 16-bit integer. + ProtoPolyType_SMALLINT ProtoPolyType = 3 + // 32-bit integer. + ProtoPolyType_INTEGER ProtoPolyType = 4 + // 64-bit integer. + ProtoPolyType_BIGINT ProtoPolyType = 5 + // Arbitrary precision number. + ProtoPolyType_DECIMAL ProtoPolyType = 6 + // Single precision floating point. + ProtoPolyType_REAL ProtoPolyType = 7 + // Alias for REAL. + ProtoPolyType_FLOAT ProtoPolyType = 8 + // Double precision floating point. + ProtoPolyType_DOUBLE ProtoPolyType = 9 + // + //Date value representing a specific day independent of time. + //Specified in days since epoch till the start of the specified day. + ProtoPolyType_DATE ProtoPolyType = 10 + // Time value without timezone in milliseconds since midnight. + ProtoPolyType_TIME ProtoPolyType = 11 + // Timestamp without timezone. Specified as milliseconds since epoch. + ProtoPolyType_TIMESTAMP ProtoPolyType = 13 + // Interval + ProtoPolyType_INTERVAL ProtoPolyType = 15 + // Fixed length character string. + ProtoPolyType_CHAR ProtoPolyType = 28 + // Variable length character string. + ProtoPolyType_VARCHAR ProtoPolyType = 29 + // Text data type. + ProtoPolyType_TEXT ProtoPolyType = 58 + // Binary data as byte string. + ProtoPolyType_BINARY ProtoPolyType = 30 + // Variable length binary data as byte string. + ProtoPolyType_VARBINARY ProtoPolyType = 31 + // Null type. + ProtoPolyType_NULL ProtoPolyType = 32 + // Array type containing elements of one of the ProtoPolyTypes. + ProtoPolyType_ARRAY ProtoPolyType = 33 + // Map type storing key value pairs. Key and value can be arbitrary values of one of the ProtoPolyTypes. + ProtoPolyType_MAP ProtoPolyType = 34 + // Document type similar to a map but used in the document model to represent documents returned as a result. + ProtoPolyType_DOCUMENT ProtoPolyType = 35 + // Graph type. Returned by a query in the graph data model. + ProtoPolyType_GRAPH ProtoPolyType = 36 + // Graph node type. Used inside the graph type to represent a graphs nodes. + ProtoPolyType_NODE ProtoPolyType = 37 + // Graph edge type. Used inside the graph type to represent a graphs edges. + ProtoPolyType_EDGE ProtoPolyType = 38 + // Graph path type. Used in results of the graph data model to return a the result of graph queries returning a path. + ProtoPolyType_PATH ProtoPolyType = 39 + // Image data type. Subtype of the file type. Same as binary but containing image data. + ProtoPolyType_IMAGE ProtoPolyType = 40 + // Video data type. Subtype of the file type. Same as binary but containing video data. + ProtoPolyType_VIDEO ProtoPolyType = 41 + // Audio data type. Subtype of the file type. Same as binary but containing audio data. + ProtoPolyType_AUDIO ProtoPolyType = 42 + // File data type. Same as binary but containing the data of an arbitrary file. + ProtoPolyType_FILE ProtoPolyType = 43 + // Distinct type (a named scalar type). Not supported yet! + ProtoPolyType_DISTINCT ProtoPolyType = 44 + // Structured type. Contains an arbitrary set of other ProtoValues of any of the ProtoValueTypes. Not supported yet! + ProtoPolyType_STRUCTURED ProtoPolyType = 45 + // Row type. + ProtoPolyType_ROW ProtoPolyType = 46 + // Other types not specifically listed. + ProtoPolyType_OTHER ProtoPolyType = 47 + // Cursor type. + ProtoPolyType_CURSOR ProtoPolyType = 48 + // Column list type. + ProtoPolyType_COLUMN_LIST ProtoPolyType = 49 + // Dynamic star type (used for dynamic column projection). + ProtoPolyType_DYNAMIC_STAR ProtoPolyType = 50 + // Geometric data type. + ProtoPolyType_GEOMETRY ProtoPolyType = 51 + // Symbol type. + ProtoPolyType_SYMBOL ProtoPolyType = 52 + // JSON data type. + ProtoPolyType_JSON ProtoPolyType = 53 + // Multiset type. + ProtoPolyType_MULTISET ProtoPolyType = 54 + // Any type (a type that can hold any value). + ProtoPolyType_ANY ProtoPolyType = 55 + // User-defined type. + ProtoPolyType_USER_DEFINED_TYPE ProtoPolyType = 56 + // Row identifier type. + ProtoPolyType_ROW_ID ProtoPolyType = 57 +) + +// Enum value maps for ProtoPolyType. +var ( + ProtoPolyType_name = map[int32]string{ + 0: "UNSPECIFIED", + 1: "BOOLEAN", + 2: "TINYINT", + 3: "SMALLINT", + 4: "INTEGER", + 5: "BIGINT", + 6: "DECIMAL", + 7: "REAL", + 8: "FLOAT", + 9: "DOUBLE", + 10: "DATE", + 11: "TIME", + 13: "TIMESTAMP", + 15: "INTERVAL", + 28: "CHAR", + 29: "VARCHAR", + 58: "TEXT", + 30: "BINARY", + 31: "VARBINARY", + 32: "NULL", + 33: "ARRAY", + 34: "MAP", + 35: "DOCUMENT", + 36: "GRAPH", + 37: "NODE", + 38: "EDGE", + 39: "PATH", + 40: "IMAGE", + 41: "VIDEO", + 42: "AUDIO", + 43: "FILE", + 44: "DISTINCT", + 45: "STRUCTURED", + 46: "ROW", + 47: "OTHER", + 48: "CURSOR", + 49: "COLUMN_LIST", + 50: "DYNAMIC_STAR", + 51: "GEOMETRY", + 52: "SYMBOL", + 53: "JSON", + 54: "MULTISET", + 55: "ANY", + 56: "USER_DEFINED_TYPE", + 57: "ROW_ID", + } + ProtoPolyType_value = map[string]int32{ + "UNSPECIFIED": 0, + "BOOLEAN": 1, + "TINYINT": 2, + "SMALLINT": 3, + "INTEGER": 4, + "BIGINT": 5, + "DECIMAL": 6, + "REAL": 7, + "FLOAT": 8, + "DOUBLE": 9, + "DATE": 10, + "TIME": 11, + "TIMESTAMP": 13, + "INTERVAL": 15, + "CHAR": 28, + "VARCHAR": 29, + "TEXT": 58, + "BINARY": 30, + "VARBINARY": 31, + "NULL": 32, + "ARRAY": 33, + "MAP": 34, + "DOCUMENT": 35, + "GRAPH": 36, + "NODE": 37, + "EDGE": 38, + "PATH": 39, + "IMAGE": 40, + "VIDEO": 41, + "AUDIO": 42, + "FILE": 43, + "DISTINCT": 44, + "STRUCTURED": 45, + "ROW": 46, + "OTHER": 47, + "CURSOR": 48, + "COLUMN_LIST": 49, + "DYNAMIC_STAR": 50, + "GEOMETRY": 51, + "SYMBOL": 52, + "JSON": 53, + "MULTISET": 54, + "ANY": 55, + "USER_DEFINED_TYPE": 56, + "ROW_ID": 57, + } +) + +func (x ProtoPolyType) Enum() *ProtoPolyType { + p := new(ProtoPolyType) + *p = x + return p +} + +func (x ProtoPolyType) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (ProtoPolyType) Descriptor() protoreflect.EnumDescriptor { + return file_org_polypheny_prism_value_proto_enumTypes[0].Descriptor() +} + +func (ProtoPolyType) Type() protoreflect.EnumType { + return &file_org_polypheny_prism_value_proto_enumTypes[0] +} + +func (x ProtoPolyType) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use ProtoPolyType.Descriptor instead. +func (ProtoPolyType) EnumDescriptor() ([]byte, []int) { + return file_org_polypheny_prism_value_proto_rawDescGZIP(), []int{0} +} + +type ProtoEdge_Direction int32 + +const ( + ProtoEdge_UNSPECIFIED ProtoEdge_Direction = 0 + ProtoEdge_LEFT_TO_RIGHT ProtoEdge_Direction = 1 + ProtoEdge_RIGHT_TO_LEFT ProtoEdge_Direction = 2 + ProtoEdge_NONE ProtoEdge_Direction = 3 +) + +// Enum value maps for ProtoEdge_Direction. +var ( + ProtoEdge_Direction_name = map[int32]string{ + 0: "UNSPECIFIED", + 1: "LEFT_TO_RIGHT", + 2: "RIGHT_TO_LEFT", + 3: "NONE", + } + ProtoEdge_Direction_value = map[string]int32{ + "UNSPECIFIED": 0, + "LEFT_TO_RIGHT": 1, + "RIGHT_TO_LEFT": 2, + "NONE": 3, + } +) + +func (x ProtoEdge_Direction) Enum() *ProtoEdge_Direction { + p := new(ProtoEdge_Direction) + *p = x + return p +} + +func (x ProtoEdge_Direction) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (ProtoEdge_Direction) Descriptor() protoreflect.EnumDescriptor { + return file_org_polypheny_prism_value_proto_enumTypes[1].Descriptor() +} + +func (ProtoEdge_Direction) Type() protoreflect.EnumType { + return &file_org_polypheny_prism_value_proto_enumTypes[1] +} + +func (x ProtoEdge_Direction) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use ProtoEdge_Direction.Descriptor instead. +func (ProtoEdge_Direction) EnumDescriptor() ([]byte, []int) { + return file_org_polypheny_prism_value_proto_rawDescGZIP(), []int{18, 0} +} + +// +//ProtoValue represents a single value supported by the DBMS. +//It contains a wide range of fields each corresponding to one supported data type. +//Only one field can be set at a time. +type ProtoValue struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Types that are assignable to Value: + // *ProtoValue_Boolean + // *ProtoValue_Integer + // *ProtoValue_Long + // *ProtoValue_BigDecimal + // *ProtoValue_Float + // *ProtoValue_Double + // *ProtoValue_Date + // *ProtoValue_Time + // *ProtoValue_Timestamp + // *ProtoValue_Interval + // *ProtoValue_String_ + // *ProtoValue_Binary + // *ProtoValue_Null + // *ProtoValue_List + // *ProtoValue_Document + // *ProtoValue_File + Value isProtoValue_Value `protobuf_oneof:"value"` +} + +func (x *ProtoValue) Reset() { + *x = ProtoValue{} + if protoimpl.UnsafeEnabled { + mi := &file_org_polypheny_prism_value_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ProtoValue) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ProtoValue) ProtoMessage() {} + +func (x *ProtoValue) ProtoReflect() protoreflect.Message { + mi := &file_org_polypheny_prism_value_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ProtoValue.ProtoReflect.Descriptor instead. +func (*ProtoValue) Descriptor() ([]byte, []int) { + return file_org_polypheny_prism_value_proto_rawDescGZIP(), []int{0} +} + +func (m *ProtoValue) GetValue() isProtoValue_Value { + if m != nil { + return m.Value + } + return nil +} + +func (x *ProtoValue) GetBoolean() *ProtoBoolean { + if x, ok := x.GetValue().(*ProtoValue_Boolean); ok { + return x.Boolean + } + return nil +} + +func (x *ProtoValue) GetInteger() *ProtoInteger { + if x, ok := x.GetValue().(*ProtoValue_Integer); ok { + return x.Integer + } + return nil +} + +func (x *ProtoValue) GetLong() *ProtoLong { + if x, ok := x.GetValue().(*ProtoValue_Long); ok { + return x.Long + } + return nil +} + +func (x *ProtoValue) GetBigDecimal() *ProtoBigDecimal { + if x, ok := x.GetValue().(*ProtoValue_BigDecimal); ok { + return x.BigDecimal + } + return nil +} + +func (x *ProtoValue) GetFloat() *ProtoFloat { + if x, ok := x.GetValue().(*ProtoValue_Float); ok { + return x.Float + } + return nil +} + +func (x *ProtoValue) GetDouble() *ProtoDouble { + if x, ok := x.GetValue().(*ProtoValue_Double); ok { + return x.Double + } + return nil +} + +func (x *ProtoValue) GetDate() *ProtoDate { + if x, ok := x.GetValue().(*ProtoValue_Date); ok { + return x.Date + } + return nil +} + +func (x *ProtoValue) GetTime() *ProtoTime { + if x, ok := x.GetValue().(*ProtoValue_Time); ok { + return x.Time + } + return nil +} + +func (x *ProtoValue) GetTimestamp() *ProtoTimestamp { + if x, ok := x.GetValue().(*ProtoValue_Timestamp); ok { + return x.Timestamp + } + return nil +} + +func (x *ProtoValue) GetInterval() *ProtoInterval { + if x, ok := x.GetValue().(*ProtoValue_Interval); ok { + return x.Interval + } + return nil +} + +func (x *ProtoValue) GetString_() *ProtoString { + if x, ok := x.GetValue().(*ProtoValue_String_); ok { + return x.String_ + } + return nil +} + +func (x *ProtoValue) GetBinary() *ProtoBinary { + if x, ok := x.GetValue().(*ProtoValue_Binary); ok { + return x.Binary + } + return nil +} + +func (x *ProtoValue) GetNull() *ProtoNull { + if x, ok := x.GetValue().(*ProtoValue_Null); ok { + return x.Null + } + return nil +} + +func (x *ProtoValue) GetList() *ProtoList { + if x, ok := x.GetValue().(*ProtoValue_List); ok { + return x.List + } + return nil +} + +func (x *ProtoValue) GetDocument() *ProtoDocument { + if x, ok := x.GetValue().(*ProtoValue_Document); ok { + return x.Document + } + return nil +} + +func (x *ProtoValue) GetFile() *ProtoFile { + if x, ok := x.GetValue().(*ProtoValue_File); ok { + return x.File + } + return nil +} + +type isProtoValue_Value interface { + isProtoValue_Value() +} + +type ProtoValue_Boolean struct { + // Field used to represent a boolean. If set, all other fields must be empty. + Boolean *ProtoBoolean `protobuf:"bytes,1,opt,name=boolean,proto3,oneof"` +} + +type ProtoValue_Integer struct { + // Field used to represent an integer of 32 bits.. If set, all other fields must be empty. + Integer *ProtoInteger `protobuf:"bytes,2,opt,name=integer,proto3,oneof"` +} + +type ProtoValue_Long struct { + // Field used to represent a long integer of 64 bits. If set, all other fields must be empty. + Long *ProtoLong `protobuf:"bytes,3,opt,name=long,proto3,oneof"` +} + +type ProtoValue_BigDecimal struct { + // Field used to represent a BigDecimal. The value is represented using an unscaled value (arbitrary length byte string), scale (32bit) and precision (32bit). If set, all other fields must be empty. + BigDecimal *ProtoBigDecimal `protobuf:"bytes,12,opt,name=big_decimal,json=bigDecimal,proto3,oneof"` +} + +type ProtoValue_Float struct { + // Field used to represent a floating-point number of 32 bits. If set, all other fields must be empty. + Float *ProtoFloat `protobuf:"bytes,7,opt,name=float,proto3,oneof"` +} + +type ProtoValue_Double struct { + // Field used to represent a double-precision (64 bit) floating-point number. If set, all other fields must be empty. + Double *ProtoDouble `protobuf:"bytes,6,opt,name=double,proto3,oneof"` +} + +type ProtoValue_Date struct { + // Field used to represent a date. Dates are stored in days since epoch till the start of the specified day. If set, all other fields must be empty. + Date *ProtoDate `protobuf:"bytes,5,opt,name=date,proto3,oneof"` +} + +type ProtoValue_Time struct { + // Field used to represent a time. The value is specified as milliseconds since midnight of a day. If set, all other fields must be empty. + Time *ProtoTime `protobuf:"bytes,9,opt,name=time,proto3,oneof"` +} + +type ProtoValue_Timestamp struct { + // Field used to represent a timestamp. The value is specified as milliseconds since epoch. If set, all other fields must be empty. + Timestamp *ProtoTimestamp `protobuf:"bytes,10,opt,name=timestamp,proto3,oneof"` +} + +type ProtoValue_Interval struct { + // Field used to represent a time interval. Intervals are either specified in milliseconds or months. The unit is specified along the value. If set, all other fields must be empty. + Interval *ProtoInterval `protobuf:"bytes,13,opt,name=interval,proto3,oneof"` +} + +type ProtoValue_String_ struct { + // Field used to represent an string of arbitrary length. If set, all other fields must be empty. + String_ *ProtoString `protobuf:"bytes,8,opt,name=string,proto3,oneof"` +} + +type ProtoValue_Binary struct { + // Field used to represent binary data of arbitrary length. If set, all other fields must be empty. + Binary *ProtoBinary `protobuf:"bytes,4,opt,name=binary,proto3,oneof"` +} + +type ProtoValue_Null struct { + // Field used to represent a null value. If set, all other fields must be empty. + Null *ProtoNull `protobuf:"bytes,11,opt,name=null,proto3,oneof"` +} + +type ProtoValue_List struct { + // Field used to represent a list of ProtoValues. If set, all other fields must be empty. + List *ProtoList `protobuf:"bytes,16,opt,name=list,proto3,oneof"` +} + +type ProtoValue_Document struct { + // Field used to represent a document consisting of key value pairs where keys and values are arbitrary ProtoValues. If set, all other fields must be empty. + Document *ProtoDocument `protobuf:"bytes,18,opt,name=document,proto3,oneof"` +} + +type ProtoValue_File struct { + // Field used to represent a FILE type such as FILE, IMAGE, VIDEO or AUDIO. + File *ProtoFile `protobuf:"bytes,19,opt,name=file,proto3,oneof"` +} + +func (*ProtoValue_Boolean) isProtoValue_Value() {} + +func (*ProtoValue_Integer) isProtoValue_Value() {} + +func (*ProtoValue_Long) isProtoValue_Value() {} + +func (*ProtoValue_BigDecimal) isProtoValue_Value() {} + +func (*ProtoValue_Float) isProtoValue_Value() {} + +func (*ProtoValue_Double) isProtoValue_Value() {} + +func (*ProtoValue_Date) isProtoValue_Value() {} + +func (*ProtoValue_Time) isProtoValue_Value() {} + +func (*ProtoValue_Timestamp) isProtoValue_Value() {} + +func (*ProtoValue_Interval) isProtoValue_Value() {} + +func (*ProtoValue_String_) isProtoValue_Value() {} + +func (*ProtoValue_Binary) isProtoValue_Value() {} + +func (*ProtoValue_Null) isProtoValue_Value() {} + +func (*ProtoValue_List) isProtoValue_Value() {} + +func (*ProtoValue_Document) isProtoValue_Value() {} + +func (*ProtoValue_File) isProtoValue_Value() {} + +// +//Represents a boolean value. +type ProtoBoolean struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // A boolean value. + Boolean bool `protobuf:"varint,1,opt,name=boolean,proto3" json:"boolean,omitempty"` +} + +func (x *ProtoBoolean) Reset() { + *x = ProtoBoolean{} + if protoimpl.UnsafeEnabled { + mi := &file_org_polypheny_prism_value_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ProtoBoolean) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ProtoBoolean) ProtoMessage() {} + +func (x *ProtoBoolean) ProtoReflect() protoreflect.Message { + mi := &file_org_polypheny_prism_value_proto_msgTypes[1] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ProtoBoolean.ProtoReflect.Descriptor instead. +func (*ProtoBoolean) Descriptor() ([]byte, []int) { + return file_org_polypheny_prism_value_proto_rawDescGZIP(), []int{1} +} + +func (x *ProtoBoolean) GetBoolean() bool { + if x != nil { + return x.Boolean + } + return false +} + +// +//Represents a 32-bit integer value. +type ProtoInteger struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // A 32-bit integer value. + Integer int32 `protobuf:"varint,1,opt,name=integer,proto3" json:"integer,omitempty"` +} + +func (x *ProtoInteger) Reset() { + *x = ProtoInteger{} + if protoimpl.UnsafeEnabled { + mi := &file_org_polypheny_prism_value_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ProtoInteger) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ProtoInteger) ProtoMessage() {} + +func (x *ProtoInteger) ProtoReflect() protoreflect.Message { + mi := &file_org_polypheny_prism_value_proto_msgTypes[2] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ProtoInteger.ProtoReflect.Descriptor instead. +func (*ProtoInteger) Descriptor() ([]byte, []int) { + return file_org_polypheny_prism_value_proto_rawDescGZIP(), []int{2} +} + +func (x *ProtoInteger) GetInteger() int32 { + if x != nil { + return x.Integer + } + return 0 +} + +// +//Represents a 64-bit long integer value. +type ProtoLong struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // A 64-bit long integer value. + Long int64 `protobuf:"varint,1,opt,name=long,proto3" json:"long,omitempty"` +} + +func (x *ProtoLong) Reset() { + *x = ProtoLong{} + if protoimpl.UnsafeEnabled { + mi := &file_org_polypheny_prism_value_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ProtoLong) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ProtoLong) ProtoMessage() {} + +func (x *ProtoLong) ProtoReflect() protoreflect.Message { + mi := &file_org_polypheny_prism_value_proto_msgTypes[3] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ProtoLong.ProtoReflect.Descriptor instead. +func (*ProtoLong) Descriptor() ([]byte, []int) { + return file_org_polypheny_prism_value_proto_rawDescGZIP(), []int{3} +} + +func (x *ProtoLong) GetLong() int64 { + if x != nil { + return x.Long + } + return 0 +} + +// +//Represents a BigDecimal value with specified precision and scale. +//The value is reconstructed by calculating unscaled_value * 10 ^ -scale. +type ProtoBigDecimal struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // The scale of the BigDecimal. + Scale int32 `protobuf:"varint,1,opt,name=scale,proto3" json:"scale,omitempty"` + // The unscaled value of the BigDecimal. + UnscaledValue []byte `protobuf:"bytes,3,opt,name=unscaled_value,json=unscaledValue,proto3" json:"unscaled_value,omitempty"` +} + +func (x *ProtoBigDecimal) Reset() { + *x = ProtoBigDecimal{} + if protoimpl.UnsafeEnabled { + mi := &file_org_polypheny_prism_value_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ProtoBigDecimal) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ProtoBigDecimal) ProtoMessage() {} + +func (x *ProtoBigDecimal) ProtoReflect() protoreflect.Message { + mi := &file_org_polypheny_prism_value_proto_msgTypes[4] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ProtoBigDecimal.ProtoReflect.Descriptor instead. +func (*ProtoBigDecimal) Descriptor() ([]byte, []int) { + return file_org_polypheny_prism_value_proto_rawDescGZIP(), []int{4} +} + +func (x *ProtoBigDecimal) GetScale() int32 { + if x != nil { + return x.Scale + } + return 0 +} + +func (x *ProtoBigDecimal) GetUnscaledValue() []byte { + if x != nil { + return x.UnscaledValue + } + return nil +} + +// +//Represents a single precision floating point number. +type ProtoFloat struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // A single precision floating point number. + Float float32 `protobuf:"fixed32,1,opt,name=float,proto3" json:"float,omitempty"` +} + +func (x *ProtoFloat) Reset() { + *x = ProtoFloat{} + if protoimpl.UnsafeEnabled { + mi := &file_org_polypheny_prism_value_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ProtoFloat) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ProtoFloat) ProtoMessage() {} + +func (x *ProtoFloat) ProtoReflect() protoreflect.Message { + mi := &file_org_polypheny_prism_value_proto_msgTypes[5] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ProtoFloat.ProtoReflect.Descriptor instead. +func (*ProtoFloat) Descriptor() ([]byte, []int) { + return file_org_polypheny_prism_value_proto_rawDescGZIP(), []int{5} +} + +func (x *ProtoFloat) GetFloat() float32 { + if x != nil { + return x.Float + } + return 0 +} + +// +//Represents a double precision floating point number. +type ProtoDouble struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // A double precision floating point number. + Double float64 `protobuf:"fixed64,1,opt,name=double,proto3" json:"double,omitempty"` +} + +func (x *ProtoDouble) Reset() { + *x = ProtoDouble{} + if protoimpl.UnsafeEnabled { + mi := &file_org_polypheny_prism_value_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ProtoDouble) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ProtoDouble) ProtoMessage() {} + +func (x *ProtoDouble) ProtoReflect() protoreflect.Message { + mi := &file_org_polypheny_prism_value_proto_msgTypes[6] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ProtoDouble.ProtoReflect.Descriptor instead. +func (*ProtoDouble) Descriptor() ([]byte, []int) { + return file_org_polypheny_prism_value_proto_rawDescGZIP(), []int{6} +} + +func (x *ProtoDouble) GetDouble() float64 { + if x != nil { + return x.Double + } + return 0 +} + +// +//Represents a date as a 64-bit integer. +type ProtoDate struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Days since epoch till start of the specified day. + Date int64 `protobuf:"varint,1,opt,name=date,proto3" json:"date,omitempty"` +} + +func (x *ProtoDate) Reset() { + *x = ProtoDate{} + if protoimpl.UnsafeEnabled { + mi := &file_org_polypheny_prism_value_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ProtoDate) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ProtoDate) ProtoMessage() {} + +func (x *ProtoDate) ProtoReflect() protoreflect.Message { + mi := &file_org_polypheny_prism_value_proto_msgTypes[7] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ProtoDate.ProtoReflect.Descriptor instead. +func (*ProtoDate) Descriptor() ([]byte, []int) { + return file_org_polypheny_prism_value_proto_rawDescGZIP(), []int{7} +} + +func (x *ProtoDate) GetDate() int64 { + if x != nil { + return x.Date + } + return 0 +} + +// +//Represents a time value. +type ProtoTime struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Milliseconds since midnight of an arbitrary day. + Time int32 `protobuf:"varint,1,opt,name=time,proto3" json:"time,omitempty"` +} + +func (x *ProtoTime) Reset() { + *x = ProtoTime{} + if protoimpl.UnsafeEnabled { + mi := &file_org_polypheny_prism_value_proto_msgTypes[8] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ProtoTime) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ProtoTime) ProtoMessage() {} + +func (x *ProtoTime) ProtoReflect() protoreflect.Message { + mi := &file_org_polypheny_prism_value_proto_msgTypes[8] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ProtoTime.ProtoReflect.Descriptor instead. +func (*ProtoTime) Descriptor() ([]byte, []int) { + return file_org_polypheny_prism_value_proto_rawDescGZIP(), []int{8} +} + +func (x *ProtoTime) GetTime() int32 { + if x != nil { + return x.Time + } + return 0 +} + +// +//Represents a timestamp value. +type ProtoTimestamp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // The timestamp value in milliseconds since epoch. + Timestamp int64 `protobuf:"varint,1,opt,name=timestamp,proto3" json:"timestamp,omitempty"` +} + +func (x *ProtoTimestamp) Reset() { + *x = ProtoTimestamp{} + if protoimpl.UnsafeEnabled { + mi := &file_org_polypheny_prism_value_proto_msgTypes[9] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ProtoTimestamp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ProtoTimestamp) ProtoMessage() {} + +func (x *ProtoTimestamp) ProtoReflect() protoreflect.Message { + mi := &file_org_polypheny_prism_value_proto_msgTypes[9] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ProtoTimestamp.ProtoReflect.Descriptor instead. +func (*ProtoTimestamp) Descriptor() ([]byte, []int) { + return file_org_polypheny_prism_value_proto_rawDescGZIP(), []int{9} +} + +func (x *ProtoTimestamp) GetTimestamp() int64 { + if x != nil { + return x.Timestamp + } + return 0 +} + +// +//Represents an interval value. +type ProtoInterval struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Milliseconds int64 `protobuf:"varint,1,opt,name=milliseconds,proto3" json:"milliseconds,omitempty"` + Months int64 `protobuf:"varint,2,opt,name=months,proto3" json:"months,omitempty"` +} + +func (x *ProtoInterval) Reset() { + *x = ProtoInterval{} + if protoimpl.UnsafeEnabled { + mi := &file_org_polypheny_prism_value_proto_msgTypes[10] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ProtoInterval) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ProtoInterval) ProtoMessage() {} + +func (x *ProtoInterval) ProtoReflect() protoreflect.Message { + mi := &file_org_polypheny_prism_value_proto_msgTypes[10] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ProtoInterval.ProtoReflect.Descriptor instead. +func (*ProtoInterval) Descriptor() ([]byte, []int) { + return file_org_polypheny_prism_value_proto_rawDescGZIP(), []int{10} +} + +func (x *ProtoInterval) GetMilliseconds() int64 { + if x != nil { + return x.Milliseconds + } + return 0 +} + +func (x *ProtoInterval) GetMonths() int64 { + if x != nil { + return x.Months + } + return 0 +} + +// +//Represents a string value. +type ProtoString struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // A string value of arbitrary length. + String_ string `protobuf:"bytes,1,opt,name=string,proto3" json:"string,omitempty"` +} + +func (x *ProtoString) Reset() { + *x = ProtoString{} + if protoimpl.UnsafeEnabled { + mi := &file_org_polypheny_prism_value_proto_msgTypes[11] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ProtoString) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ProtoString) ProtoMessage() {} + +func (x *ProtoString) ProtoReflect() protoreflect.Message { + mi := &file_org_polypheny_prism_value_proto_msgTypes[11] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ProtoString.ProtoReflect.Descriptor instead. +func (*ProtoString) Descriptor() ([]byte, []int) { + return file_org_polypheny_prism_value_proto_rawDescGZIP(), []int{11} +} + +func (x *ProtoString) GetString_() string { + if x != nil { + return x.String_ + } + return "" +} + +// +//Represents binary data. +type ProtoBinary struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Binary data of arbitrary length. + Binary []byte `protobuf:"bytes,1,opt,name=binary,proto3" json:"binary,omitempty"` +} + +func (x *ProtoBinary) Reset() { + *x = ProtoBinary{} + if protoimpl.UnsafeEnabled { + mi := &file_org_polypheny_prism_value_proto_msgTypes[12] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ProtoBinary) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ProtoBinary) ProtoMessage() {} + +func (x *ProtoBinary) ProtoReflect() protoreflect.Message { + mi := &file_org_polypheny_prism_value_proto_msgTypes[12] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ProtoBinary.ProtoReflect.Descriptor instead. +func (*ProtoBinary) Descriptor() ([]byte, []int) { + return file_org_polypheny_prism_value_proto_rawDescGZIP(), []int{12} +} + +func (x *ProtoBinary) GetBinary() []byte { + if x != nil { + return x.Binary + } + return nil +} + +// +//Represents a null value. This message does not contain any fields. +type ProtoNull struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *ProtoNull) Reset() { + *x = ProtoNull{} + if protoimpl.UnsafeEnabled { + mi := &file_org_polypheny_prism_value_proto_msgTypes[13] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ProtoNull) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ProtoNull) ProtoMessage() {} + +func (x *ProtoNull) ProtoReflect() protoreflect.Message { + mi := &file_org_polypheny_prism_value_proto_msgTypes[13] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ProtoNull.ProtoReflect.Descriptor instead. +func (*ProtoNull) Descriptor() ([]byte, []int) { + return file_org_polypheny_prism_value_proto_rawDescGZIP(), []int{13} +} + +// +//Represents a list of ProtoValue items. +type ProtoList struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // The list of ProtoValue items. + Values []*ProtoValue `protobuf:"bytes,1,rep,name=values,proto3" json:"values,omitempty"` +} + +func (x *ProtoList) Reset() { + *x = ProtoList{} + if protoimpl.UnsafeEnabled { + mi := &file_org_polypheny_prism_value_proto_msgTypes[14] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ProtoList) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ProtoList) ProtoMessage() {} + +func (x *ProtoList) ProtoReflect() protoreflect.Message { + mi := &file_org_polypheny_prism_value_proto_msgTypes[14] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ProtoList.ProtoReflect.Descriptor instead. +func (*ProtoList) Descriptor() ([]byte, []int) { + return file_org_polypheny_prism_value_proto_rawDescGZIP(), []int{14} +} + +func (x *ProtoList) GetValues() []*ProtoValue { + if x != nil { + return x.Values + } + return nil +} + +// +//Represents a document consisting of multiple key-value pairs. +//Keys are always strings while the values are arbitrary proto values. +type ProtoDocument struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // The map of key-value pairs representing the document. + Entries map[string]*ProtoValue `protobuf:"bytes,1,rep,name=entries,proto3" json:"entries,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` +} + +func (x *ProtoDocument) Reset() { + *x = ProtoDocument{} + if protoimpl.UnsafeEnabled { + mi := &file_org_polypheny_prism_value_proto_msgTypes[15] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ProtoDocument) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ProtoDocument) ProtoMessage() {} + +func (x *ProtoDocument) ProtoReflect() protoreflect.Message { + mi := &file_org_polypheny_prism_value_proto_msgTypes[15] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ProtoDocument.ProtoReflect.Descriptor instead. +func (*ProtoDocument) Descriptor() ([]byte, []int) { + return file_org_polypheny_prism_value_proto_rawDescGZIP(), []int{15} +} + +func (x *ProtoDocument) GetEntries() map[string]*ProtoValue { + if x != nil { + return x.Entries + } + return nil +} + +// +//Represents a file containing large binary data. +type ProtoFile struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // The content of the file in binary. + Binary []byte `protobuf:"bytes,1,opt,name=binary,proto3" json:"binary,omitempty"` +} + +func (x *ProtoFile) Reset() { + *x = ProtoFile{} + if protoimpl.UnsafeEnabled { + mi := &file_org_polypheny_prism_value_proto_msgTypes[16] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ProtoFile) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ProtoFile) ProtoMessage() {} + +func (x *ProtoFile) ProtoReflect() protoreflect.Message { + mi := &file_org_polypheny_prism_value_proto_msgTypes[16] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ProtoFile.ProtoReflect.Descriptor instead. +func (*ProtoFile) Descriptor() ([]byte, []int) { + return file_org_polypheny_prism_value_proto_rawDescGZIP(), []int{16} +} + +func (x *ProtoFile) GetBinary() []byte { + if x != nil { + return x.Binary + } + return nil +} + +// +// This message represents a node in the labeled property graph model. +// Apart form a unique identifier and a name, a set of entries and list are used to represent properties and labels. +type ProtoNode struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // The system internal unique identifier for that node. + Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` + // The name of the node as specified on creation. + Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` + // A map of key-value pairs of proto values. These are used as a map to store properties with their corresponding names. + Properties map[string]*ProtoValue `protobuf:"bytes,3,rep,name=properties,proto3" json:"properties,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + // This list contains all labels associated with this node. Normal strings are used instead of ProtoStrings. + Labels []string `protobuf:"bytes,4,rep,name=labels,proto3" json:"labels,omitempty"` +} + +func (x *ProtoNode) Reset() { + *x = ProtoNode{} + if protoimpl.UnsafeEnabled { + mi := &file_org_polypheny_prism_value_proto_msgTypes[17] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ProtoNode) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ProtoNode) ProtoMessage() {} + +func (x *ProtoNode) ProtoReflect() protoreflect.Message { + mi := &file_org_polypheny_prism_value_proto_msgTypes[17] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ProtoNode.ProtoReflect.Descriptor instead. +func (*ProtoNode) Descriptor() ([]byte, []int) { + return file_org_polypheny_prism_value_proto_rawDescGZIP(), []int{17} +} + +func (x *ProtoNode) GetId() string { + if x != nil { + return x.Id + } + return "" +} + +func (x *ProtoNode) GetName() string { + if x != nil { + return x.Name + } + return "" +} + +func (x *ProtoNode) GetProperties() map[string]*ProtoValue { + if x != nil { + return x.Properties + } + return nil +} + +func (x *ProtoNode) GetLabels() []string { + if x != nil { + return x.Labels + } + return nil +} + +// +// This message represents an edge in the labeled property graph model. +// Apart form a unique identifier and a name, a set of entries and list are used to represent properties and labels. +// Source, target and direction fields provide information about the nodes connected by this edge. +type ProtoEdge struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // The system internal unique identifier for that node. + Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` + // The name of the node as specified on creation. + Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` + // A map of key-value pairs of proto values. These are used as a map to store properties with their corresponding names. + Properties map[string]*ProtoValue `protobuf:"bytes,3,rep,name=properties,proto3" json:"properties,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + // This list contains all labels associated with this node. Normal strings are used instead of ProtoStrings. + Labels []string `protobuf:"bytes,4,rep,name=labels,proto3" json:"labels,omitempty"` + // The system internal unique identifier of the node from which this edge originates. + Left string `protobuf:"bytes,5,opt,name=left,proto3" json:"left,omitempty"` + // The system internal unique identifier of the node to which this edge is incident. + Right string `protobuf:"bytes,6,opt,name=right,proto3" json:"right,omitempty"` + // The direction of this edge. Possible options are LEFT_TO_RIGHT, RIGHT_TO_LEFT or NONE. + Direction ProtoEdge_Direction `protobuf:"varint,7,opt,name=direction,proto3,enum=org.polypheny.prism.ProtoEdge_Direction" json:"direction,omitempty"` +} + +func (x *ProtoEdge) Reset() { + *x = ProtoEdge{} + if protoimpl.UnsafeEnabled { + mi := &file_org_polypheny_prism_value_proto_msgTypes[18] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ProtoEdge) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ProtoEdge) ProtoMessage() {} + +func (x *ProtoEdge) ProtoReflect() protoreflect.Message { + mi := &file_org_polypheny_prism_value_proto_msgTypes[18] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ProtoEdge.ProtoReflect.Descriptor instead. +func (*ProtoEdge) Descriptor() ([]byte, []int) { + return file_org_polypheny_prism_value_proto_rawDescGZIP(), []int{18} +} + +func (x *ProtoEdge) GetId() string { + if x != nil { + return x.Id + } + return "" +} + +func (x *ProtoEdge) GetName() string { + if x != nil { + return x.Name + } + return "" +} + +func (x *ProtoEdge) GetProperties() map[string]*ProtoValue { + if x != nil { + return x.Properties + } + return nil +} + +func (x *ProtoEdge) GetLabels() []string { + if x != nil { + return x.Labels + } + return nil +} + +func (x *ProtoEdge) GetLeft() string { + if x != nil { + return x.Left + } + return "" +} + +func (x *ProtoEdge) GetRight() string { + if x != nil { + return x.Right + } + return "" +} + +func (x *ProtoEdge) GetDirection() ProtoEdge_Direction { + if x != nil { + return x.Direction + } + return ProtoEdge_UNSPECIFIED +} + +var File_org_polypheny_prism_value_proto protoreflect.FileDescriptor + +var file_org_polypheny_prism_value_proto_rawDesc = []byte{ + 0x0a, 0x1f, 0x6f, 0x72, 0x67, 0x2f, 0x70, 0x6f, 0x6c, 0x79, 0x70, 0x68, 0x65, 0x6e, 0x79, 0x2f, + 0x70, 0x72, 0x69, 0x73, 0x6d, 0x2f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x12, 0x13, 0x6f, 0x72, 0x67, 0x2e, 0x70, 0x6f, 0x6c, 0x79, 0x70, 0x68, 0x65, 0x6e, 0x79, + 0x2e, 0x70, 0x72, 0x69, 0x73, 0x6d, 0x22, 0xd6, 0x07, 0x0a, 0x0a, 0x50, 0x72, 0x6f, 0x74, 0x6f, + 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x3d, 0x0a, 0x07, 0x62, 0x6f, 0x6f, 0x6c, 0x65, 0x61, 0x6e, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x6f, 0x72, 0x67, 0x2e, 0x70, 0x6f, 0x6c, + 0x79, 0x70, 0x68, 0x65, 0x6e, 0x79, 0x2e, 0x70, 0x72, 0x69, 0x73, 0x6d, 0x2e, 0x50, 0x72, 0x6f, + 0x74, 0x6f, 0x42, 0x6f, 0x6f, 0x6c, 0x65, 0x61, 0x6e, 0x48, 0x00, 0x52, 0x07, 0x62, 0x6f, 0x6f, + 0x6c, 0x65, 0x61, 0x6e, 0x12, 0x3d, 0x0a, 0x07, 0x69, 0x6e, 0x74, 0x65, 0x67, 0x65, 0x72, 0x18, + 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x6f, 0x72, 0x67, 0x2e, 0x70, 0x6f, 0x6c, 0x79, + 0x70, 0x68, 0x65, 0x6e, 0x79, 0x2e, 0x70, 0x72, 0x69, 0x73, 0x6d, 0x2e, 0x50, 0x72, 0x6f, 0x74, + 0x6f, 0x49, 0x6e, 0x74, 0x65, 0x67, 0x65, 0x72, 0x48, 0x00, 0x52, 0x07, 0x69, 0x6e, 0x74, 0x65, + 0x67, 0x65, 0x72, 0x12, 0x34, 0x0a, 0x04, 0x6c, 0x6f, 0x6e, 0x67, 0x18, 0x03, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x1e, 0x2e, 0x6f, 0x72, 0x67, 0x2e, 0x70, 0x6f, 0x6c, 0x79, 0x70, 0x68, 0x65, 0x6e, + 0x79, 0x2e, 0x70, 0x72, 0x69, 0x73, 0x6d, 0x2e, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x4c, 0x6f, 0x6e, + 0x67, 0x48, 0x00, 0x52, 0x04, 0x6c, 0x6f, 0x6e, 0x67, 0x12, 0x47, 0x0a, 0x0b, 0x62, 0x69, 0x67, + 0x5f, 0x64, 0x65, 0x63, 0x69, 0x6d, 0x61, 0x6c, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x24, + 0x2e, 0x6f, 0x72, 0x67, 0x2e, 0x70, 0x6f, 0x6c, 0x79, 0x70, 0x68, 0x65, 0x6e, 0x79, 0x2e, 0x70, + 0x72, 0x69, 0x73, 0x6d, 0x2e, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x42, 0x69, 0x67, 0x44, 0x65, 0x63, + 0x69, 0x6d, 0x61, 0x6c, 0x48, 0x00, 0x52, 0x0a, 0x62, 0x69, 0x67, 0x44, 0x65, 0x63, 0x69, 0x6d, + 0x61, 0x6c, 0x12, 0x37, 0x0a, 0x05, 0x66, 0x6c, 0x6f, 0x61, 0x74, 0x18, 0x07, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x1f, 0x2e, 0x6f, 0x72, 0x67, 0x2e, 0x70, 0x6f, 0x6c, 0x79, 0x70, 0x68, 0x65, 0x6e, + 0x79, 0x2e, 0x70, 0x72, 0x69, 0x73, 0x6d, 0x2e, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x46, 0x6c, 0x6f, + 0x61, 0x74, 0x48, 0x00, 0x52, 0x05, 0x66, 0x6c, 0x6f, 0x61, 0x74, 0x12, 0x3a, 0x0a, 0x06, 0x64, + 0x6f, 0x75, 0x62, 0x6c, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x6f, 0x72, + 0x67, 0x2e, 0x70, 0x6f, 0x6c, 0x79, 0x70, 0x68, 0x65, 0x6e, 0x79, 0x2e, 0x70, 0x72, 0x69, 0x73, + 0x6d, 0x2e, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x44, 0x6f, 0x75, 0x62, 0x6c, 0x65, 0x48, 0x00, 0x52, + 0x06, 0x64, 0x6f, 0x75, 0x62, 0x6c, 0x65, 0x12, 0x34, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x65, 0x18, + 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x6f, 0x72, 0x67, 0x2e, 0x70, 0x6f, 0x6c, 0x79, + 0x70, 0x68, 0x65, 0x6e, 0x79, 0x2e, 0x70, 0x72, 0x69, 0x73, 0x6d, 0x2e, 0x50, 0x72, 0x6f, 0x74, + 0x6f, 0x44, 0x61, 0x74, 0x65, 0x48, 0x00, 0x52, 0x04, 0x64, 0x61, 0x74, 0x65, 0x12, 0x34, 0x0a, + 0x04, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x6f, 0x72, + 0x67, 0x2e, 0x70, 0x6f, 0x6c, 0x79, 0x70, 0x68, 0x65, 0x6e, 0x79, 0x2e, 0x70, 0x72, 0x69, 0x73, + 0x6d, 0x2e, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x54, 0x69, 0x6d, 0x65, 0x48, 0x00, 0x52, 0x04, 0x74, + 0x69, 0x6d, 0x65, 0x12, 0x43, 0x0a, 0x09, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, + 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x6f, 0x72, 0x67, 0x2e, 0x70, 0x6f, 0x6c, + 0x79, 0x70, 0x68, 0x65, 0x6e, 0x79, 0x2e, 0x70, 0x72, 0x69, 0x73, 0x6d, 0x2e, 0x50, 0x72, 0x6f, + 0x74, 0x6f, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x48, 0x00, 0x52, 0x09, 0x74, + 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x12, 0x40, 0x0a, 0x08, 0x69, 0x6e, 0x74, 0x65, + 0x72, 0x76, 0x61, 0x6c, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x6f, 0x72, 0x67, + 0x2e, 0x70, 0x6f, 0x6c, 0x79, 0x70, 0x68, 0x65, 0x6e, 0x79, 0x2e, 0x70, 0x72, 0x69, 0x73, 0x6d, + 0x2e, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x49, 0x6e, 0x74, 0x65, 0x72, 0x76, 0x61, 0x6c, 0x48, 0x00, + 0x52, 0x08, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x76, 0x61, 0x6c, 0x12, 0x3a, 0x0a, 0x06, 0x73, 0x74, + 0x72, 0x69, 0x6e, 0x67, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x6f, 0x72, 0x67, + 0x2e, 0x70, 0x6f, 0x6c, 0x79, 0x70, 0x68, 0x65, 0x6e, 0x79, 0x2e, 0x70, 0x72, 0x69, 0x73, 0x6d, + 0x2e, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x48, 0x00, 0x52, 0x06, + 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x12, 0x3a, 0x0a, 0x06, 0x62, 0x69, 0x6e, 0x61, 0x72, 0x79, + 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x6f, 0x72, 0x67, 0x2e, 0x70, 0x6f, 0x6c, + 0x79, 0x70, 0x68, 0x65, 0x6e, 0x79, 0x2e, 0x70, 0x72, 0x69, 0x73, 0x6d, 0x2e, 0x50, 0x72, 0x6f, + 0x74, 0x6f, 0x42, 0x69, 0x6e, 0x61, 0x72, 0x79, 0x48, 0x00, 0x52, 0x06, 0x62, 0x69, 0x6e, 0x61, + 0x72, 0x79, 0x12, 0x34, 0x0a, 0x04, 0x6e, 0x75, 0x6c, 0x6c, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x1e, 0x2e, 0x6f, 0x72, 0x67, 0x2e, 0x70, 0x6f, 0x6c, 0x79, 0x70, 0x68, 0x65, 0x6e, 0x79, + 0x2e, 0x70, 0x72, 0x69, 0x73, 0x6d, 0x2e, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x4e, 0x75, 0x6c, 0x6c, + 0x48, 0x00, 0x52, 0x04, 0x6e, 0x75, 0x6c, 0x6c, 0x12, 0x34, 0x0a, 0x04, 0x6c, 0x69, 0x73, 0x74, + 0x18, 0x10, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x6f, 0x72, 0x67, 0x2e, 0x70, 0x6f, 0x6c, + 0x79, 0x70, 0x68, 0x65, 0x6e, 0x79, 0x2e, 0x70, 0x72, 0x69, 0x73, 0x6d, 0x2e, 0x50, 0x72, 0x6f, + 0x74, 0x6f, 0x4c, 0x69, 0x73, 0x74, 0x48, 0x00, 0x52, 0x04, 0x6c, 0x69, 0x73, 0x74, 0x12, 0x40, + 0x0a, 0x08, 0x64, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x18, 0x12, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x22, 0x2e, 0x6f, 0x72, 0x67, 0x2e, 0x70, 0x6f, 0x6c, 0x79, 0x70, 0x68, 0x65, 0x6e, 0x79, + 0x2e, 0x70, 0x72, 0x69, 0x73, 0x6d, 0x2e, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x44, 0x6f, 0x63, 0x75, + 0x6d, 0x65, 0x6e, 0x74, 0x48, 0x00, 0x52, 0x08, 0x64, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, + 0x12, 0x34, 0x0a, 0x04, 0x66, 0x69, 0x6c, 0x65, 0x18, 0x13, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, + 0x2e, 0x6f, 0x72, 0x67, 0x2e, 0x70, 0x6f, 0x6c, 0x79, 0x70, 0x68, 0x65, 0x6e, 0x79, 0x2e, 0x70, + 0x72, 0x69, 0x73, 0x6d, 0x2e, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x46, 0x69, 0x6c, 0x65, 0x48, 0x00, + 0x52, 0x04, 0x66, 0x69, 0x6c, 0x65, 0x42, 0x07, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x22, + 0x28, 0x0a, 0x0c, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x42, 0x6f, 0x6f, 0x6c, 0x65, 0x61, 0x6e, 0x12, + 0x18, 0x0a, 0x07, 0x62, 0x6f, 0x6f, 0x6c, 0x65, 0x61, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, + 0x52, 0x07, 0x62, 0x6f, 0x6f, 0x6c, 0x65, 0x61, 0x6e, 0x22, 0x28, 0x0a, 0x0c, 0x50, 0x72, 0x6f, + 0x74, 0x6f, 0x49, 0x6e, 0x74, 0x65, 0x67, 0x65, 0x72, 0x12, 0x18, 0x0a, 0x07, 0x69, 0x6e, 0x74, + 0x65, 0x67, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x69, 0x6e, 0x74, 0x65, + 0x67, 0x65, 0x72, 0x22, 0x1f, 0x0a, 0x09, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x4c, 0x6f, 0x6e, 0x67, + 0x12, 0x12, 0x0a, 0x04, 0x6c, 0x6f, 0x6e, 0x67, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x04, + 0x6c, 0x6f, 0x6e, 0x67, 0x22, 0x4e, 0x0a, 0x0f, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x42, 0x69, 0x67, + 0x44, 0x65, 0x63, 0x69, 0x6d, 0x61, 0x6c, 0x12, 0x14, 0x0a, 0x05, 0x73, 0x63, 0x61, 0x6c, 0x65, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x73, 0x63, 0x61, 0x6c, 0x65, 0x12, 0x25, 0x0a, + 0x0e, 0x75, 0x6e, 0x73, 0x63, 0x61, 0x6c, 0x65, 0x64, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, + 0x03, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0d, 0x75, 0x6e, 0x73, 0x63, 0x61, 0x6c, 0x65, 0x64, 0x56, + 0x61, 0x6c, 0x75, 0x65, 0x22, 0x22, 0x0a, 0x0a, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x46, 0x6c, 0x6f, + 0x61, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x66, 0x6c, 0x6f, 0x61, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x02, 0x52, 0x05, 0x66, 0x6c, 0x6f, 0x61, 0x74, 0x22, 0x25, 0x0a, 0x0b, 0x50, 0x72, 0x6f, 0x74, + 0x6f, 0x44, 0x6f, 0x75, 0x62, 0x6c, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x64, 0x6f, 0x75, 0x62, 0x6c, + 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x01, 0x52, 0x06, 0x64, 0x6f, 0x75, 0x62, 0x6c, 0x65, 0x22, + 0x1f, 0x0a, 0x09, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x44, 0x61, 0x74, 0x65, 0x12, 0x12, 0x0a, 0x04, + 0x64, 0x61, 0x74, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x04, 0x64, 0x61, 0x74, 0x65, + 0x22, 0x1f, 0x0a, 0x09, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x12, 0x0a, + 0x04, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x04, 0x74, 0x69, 0x6d, + 0x65, 0x22, 0x2e, 0x0a, 0x0e, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, + 0x61, 0x6d, 0x70, 0x12, 0x1c, 0x0a, 0x09, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, + 0x70, 0x22, 0x4b, 0x0a, 0x0d, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x49, 0x6e, 0x74, 0x65, 0x72, 0x76, + 0x61, 0x6c, 0x12, 0x22, 0x0a, 0x0c, 0x6d, 0x69, 0x6c, 0x6c, 0x69, 0x73, 0x65, 0x63, 0x6f, 0x6e, + 0x64, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0c, 0x6d, 0x69, 0x6c, 0x6c, 0x69, 0x73, + 0x65, 0x63, 0x6f, 0x6e, 0x64, 0x73, 0x12, 0x16, 0x0a, 0x06, 0x6d, 0x6f, 0x6e, 0x74, 0x68, 0x73, + 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x6d, 0x6f, 0x6e, 0x74, 0x68, 0x73, 0x22, 0x25, + 0x0a, 0x0b, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x12, 0x16, 0x0a, + 0x06, 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x73, + 0x74, 0x72, 0x69, 0x6e, 0x67, 0x22, 0x25, 0x0a, 0x0b, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x42, 0x69, + 0x6e, 0x61, 0x72, 0x79, 0x12, 0x16, 0x0a, 0x06, 0x62, 0x69, 0x6e, 0x61, 0x72, 0x79, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x0c, 0x52, 0x06, 0x62, 0x69, 0x6e, 0x61, 0x72, 0x79, 0x22, 0x0b, 0x0a, 0x09, + 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x4e, 0x75, 0x6c, 0x6c, 0x22, 0x44, 0x0a, 0x09, 0x50, 0x72, 0x6f, + 0x74, 0x6f, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x37, 0x0a, 0x06, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x73, + 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x6f, 0x72, 0x67, 0x2e, 0x70, 0x6f, 0x6c, + 0x79, 0x70, 0x68, 0x65, 0x6e, 0x79, 0x2e, 0x70, 0x72, 0x69, 0x73, 0x6d, 0x2e, 0x50, 0x72, 0x6f, + 0x74, 0x6f, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x06, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x22, + 0xb7, 0x01, 0x0a, 0x0d, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x44, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, + 0x74, 0x12, 0x49, 0x0a, 0x07, 0x65, 0x6e, 0x74, 0x72, 0x69, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, + 0x28, 0x0b, 0x32, 0x2f, 0x2e, 0x6f, 0x72, 0x67, 0x2e, 0x70, 0x6f, 0x6c, 0x79, 0x70, 0x68, 0x65, + 0x6e, 0x79, 0x2e, 0x70, 0x72, 0x69, 0x73, 0x6d, 0x2e, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x44, 0x6f, + 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x2e, 0x45, 0x6e, 0x74, 0x72, 0x69, 0x65, 0x73, 0x45, 0x6e, + 0x74, 0x72, 0x79, 0x52, 0x07, 0x65, 0x6e, 0x74, 0x72, 0x69, 0x65, 0x73, 0x1a, 0x5b, 0x0a, 0x0c, + 0x45, 0x6e, 0x74, 0x72, 0x69, 0x65, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, + 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x35, + 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f, 0x2e, + 0x6f, 0x72, 0x67, 0x2e, 0x70, 0x6f, 0x6c, 0x79, 0x70, 0x68, 0x65, 0x6e, 0x79, 0x2e, 0x70, 0x72, + 0x69, 0x73, 0x6d, 0x2e, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x05, + 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x23, 0x0a, 0x09, 0x50, 0x72, 0x6f, + 0x74, 0x6f, 0x46, 0x69, 0x6c, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x62, 0x69, 0x6e, 0x61, 0x72, 0x79, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x06, 0x62, 0x69, 0x6e, 0x61, 0x72, 0x79, 0x22, 0xf7, + 0x01, 0x0a, 0x09, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x4e, 0x6f, 0x64, 0x65, 0x12, 0x0e, 0x0a, 0x02, + 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x12, 0x0a, 0x04, + 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, + 0x12, 0x4e, 0x0a, 0x0a, 0x70, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x69, 0x65, 0x73, 0x18, 0x03, + 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2e, 0x2e, 0x6f, 0x72, 0x67, 0x2e, 0x70, 0x6f, 0x6c, 0x79, 0x70, + 0x68, 0x65, 0x6e, 0x79, 0x2e, 0x70, 0x72, 0x69, 0x73, 0x6d, 0x2e, 0x50, 0x72, 0x6f, 0x74, 0x6f, + 0x4e, 0x6f, 0x64, 0x65, 0x2e, 0x50, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x69, 0x65, 0x73, 0x45, + 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0a, 0x70, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x69, 0x65, 0x73, + 0x12, 0x16, 0x0a, 0x06, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x09, + 0x52, 0x06, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x1a, 0x5e, 0x0a, 0x0f, 0x50, 0x72, 0x6f, 0x70, + 0x65, 0x72, 0x74, 0x69, 0x65, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, + 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x35, 0x0a, + 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x6f, + 0x72, 0x67, 0x2e, 0x70, 0x6f, 0x6c, 0x79, 0x70, 0x68, 0x65, 0x6e, 0x79, 0x2e, 0x70, 0x72, 0x69, + 0x73, 0x6d, 0x2e, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x05, 0x76, + 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0xb7, 0x03, 0x0a, 0x09, 0x50, 0x72, 0x6f, + 0x74, 0x6f, 0x45, 0x64, 0x67, 0x65, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x4e, 0x0a, 0x0a, 0x70, 0x72, + 0x6f, 0x70, 0x65, 0x72, 0x74, 0x69, 0x65, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2e, + 0x2e, 0x6f, 0x72, 0x67, 0x2e, 0x70, 0x6f, 0x6c, 0x79, 0x70, 0x68, 0x65, 0x6e, 0x79, 0x2e, 0x70, + 0x72, 0x69, 0x73, 0x6d, 0x2e, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x45, 0x64, 0x67, 0x65, 0x2e, 0x50, + 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x69, 0x65, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0a, + 0x70, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x69, 0x65, 0x73, 0x12, 0x16, 0x0a, 0x06, 0x6c, 0x61, + 0x62, 0x65, 0x6c, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x09, 0x52, 0x06, 0x6c, 0x61, 0x62, 0x65, + 0x6c, 0x73, 0x12, 0x12, 0x0a, 0x04, 0x6c, 0x65, 0x66, 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x04, 0x6c, 0x65, 0x66, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x72, 0x69, 0x67, 0x68, 0x74, 0x18, + 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x72, 0x69, 0x67, 0x68, 0x74, 0x12, 0x46, 0x0a, 0x09, + 0x64, 0x69, 0x72, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0e, 0x32, + 0x28, 0x2e, 0x6f, 0x72, 0x67, 0x2e, 0x70, 0x6f, 0x6c, 0x79, 0x70, 0x68, 0x65, 0x6e, 0x79, 0x2e, + 0x70, 0x72, 0x69, 0x73, 0x6d, 0x2e, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x45, 0x64, 0x67, 0x65, 0x2e, + 0x44, 0x69, 0x72, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x09, 0x64, 0x69, 0x72, 0x65, 0x63, + 0x74, 0x69, 0x6f, 0x6e, 0x1a, 0x5e, 0x0a, 0x0f, 0x50, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x69, + 0x65, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x35, 0x0a, 0x05, 0x76, 0x61, 0x6c, + 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x6f, 0x72, 0x67, 0x2e, 0x70, + 0x6f, 0x6c, 0x79, 0x70, 0x68, 0x65, 0x6e, 0x79, 0x2e, 0x70, 0x72, 0x69, 0x73, 0x6d, 0x2e, 0x50, + 0x72, 0x6f, 0x74, 0x6f, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, + 0x3a, 0x02, 0x38, 0x01, 0x22, 0x4c, 0x0a, 0x09, 0x44, 0x69, 0x72, 0x65, 0x63, 0x74, 0x69, 0x6f, + 0x6e, 0x12, 0x0f, 0x0a, 0x0b, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, + 0x10, 0x00, 0x12, 0x11, 0x0a, 0x0d, 0x4c, 0x45, 0x46, 0x54, 0x5f, 0x54, 0x4f, 0x5f, 0x52, 0x49, + 0x47, 0x48, 0x54, 0x10, 0x01, 0x12, 0x11, 0x0a, 0x0d, 0x52, 0x49, 0x47, 0x48, 0x54, 0x5f, 0x54, + 0x4f, 0x5f, 0x4c, 0x45, 0x46, 0x54, 0x10, 0x02, 0x12, 0x08, 0x0a, 0x04, 0x4e, 0x4f, 0x4e, 0x45, + 0x10, 0x03, 0x2a, 0xbb, 0x04, 0x0a, 0x0d, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x6f, 0x6c, 0x79, + 0x54, 0x79, 0x70, 0x65, 0x12, 0x0f, 0x0a, 0x0b, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, + 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x0b, 0x0a, 0x07, 0x42, 0x4f, 0x4f, 0x4c, 0x45, 0x41, 0x4e, + 0x10, 0x01, 0x12, 0x0b, 0x0a, 0x07, 0x54, 0x49, 0x4e, 0x59, 0x49, 0x4e, 0x54, 0x10, 0x02, 0x12, + 0x0c, 0x0a, 0x08, 0x53, 0x4d, 0x41, 0x4c, 0x4c, 0x49, 0x4e, 0x54, 0x10, 0x03, 0x12, 0x0b, 0x0a, + 0x07, 0x49, 0x4e, 0x54, 0x45, 0x47, 0x45, 0x52, 0x10, 0x04, 0x12, 0x0a, 0x0a, 0x06, 0x42, 0x49, + 0x47, 0x49, 0x4e, 0x54, 0x10, 0x05, 0x12, 0x0b, 0x0a, 0x07, 0x44, 0x45, 0x43, 0x49, 0x4d, 0x41, + 0x4c, 0x10, 0x06, 0x12, 0x08, 0x0a, 0x04, 0x52, 0x45, 0x41, 0x4c, 0x10, 0x07, 0x12, 0x09, 0x0a, + 0x05, 0x46, 0x4c, 0x4f, 0x41, 0x54, 0x10, 0x08, 0x12, 0x0a, 0x0a, 0x06, 0x44, 0x4f, 0x55, 0x42, + 0x4c, 0x45, 0x10, 0x09, 0x12, 0x08, 0x0a, 0x04, 0x44, 0x41, 0x54, 0x45, 0x10, 0x0a, 0x12, 0x08, + 0x0a, 0x04, 0x54, 0x49, 0x4d, 0x45, 0x10, 0x0b, 0x12, 0x0d, 0x0a, 0x09, 0x54, 0x49, 0x4d, 0x45, + 0x53, 0x54, 0x41, 0x4d, 0x50, 0x10, 0x0d, 0x12, 0x0c, 0x0a, 0x08, 0x49, 0x4e, 0x54, 0x45, 0x52, + 0x56, 0x41, 0x4c, 0x10, 0x0f, 0x12, 0x08, 0x0a, 0x04, 0x43, 0x48, 0x41, 0x52, 0x10, 0x1c, 0x12, + 0x0b, 0x0a, 0x07, 0x56, 0x41, 0x52, 0x43, 0x48, 0x41, 0x52, 0x10, 0x1d, 0x12, 0x08, 0x0a, 0x04, + 0x54, 0x45, 0x58, 0x54, 0x10, 0x3a, 0x12, 0x0a, 0x0a, 0x06, 0x42, 0x49, 0x4e, 0x41, 0x52, 0x59, + 0x10, 0x1e, 0x12, 0x0d, 0x0a, 0x09, 0x56, 0x41, 0x52, 0x42, 0x49, 0x4e, 0x41, 0x52, 0x59, 0x10, + 0x1f, 0x12, 0x08, 0x0a, 0x04, 0x4e, 0x55, 0x4c, 0x4c, 0x10, 0x20, 0x12, 0x09, 0x0a, 0x05, 0x41, + 0x52, 0x52, 0x41, 0x59, 0x10, 0x21, 0x12, 0x07, 0x0a, 0x03, 0x4d, 0x41, 0x50, 0x10, 0x22, 0x12, + 0x0c, 0x0a, 0x08, 0x44, 0x4f, 0x43, 0x55, 0x4d, 0x45, 0x4e, 0x54, 0x10, 0x23, 0x12, 0x09, 0x0a, + 0x05, 0x47, 0x52, 0x41, 0x50, 0x48, 0x10, 0x24, 0x12, 0x08, 0x0a, 0x04, 0x4e, 0x4f, 0x44, 0x45, + 0x10, 0x25, 0x12, 0x08, 0x0a, 0x04, 0x45, 0x44, 0x47, 0x45, 0x10, 0x26, 0x12, 0x08, 0x0a, 0x04, + 0x50, 0x41, 0x54, 0x48, 0x10, 0x27, 0x12, 0x09, 0x0a, 0x05, 0x49, 0x4d, 0x41, 0x47, 0x45, 0x10, + 0x28, 0x12, 0x09, 0x0a, 0x05, 0x56, 0x49, 0x44, 0x45, 0x4f, 0x10, 0x29, 0x12, 0x09, 0x0a, 0x05, + 0x41, 0x55, 0x44, 0x49, 0x4f, 0x10, 0x2a, 0x12, 0x08, 0x0a, 0x04, 0x46, 0x49, 0x4c, 0x45, 0x10, + 0x2b, 0x12, 0x0c, 0x0a, 0x08, 0x44, 0x49, 0x53, 0x54, 0x49, 0x4e, 0x43, 0x54, 0x10, 0x2c, 0x12, + 0x0e, 0x0a, 0x0a, 0x53, 0x54, 0x52, 0x55, 0x43, 0x54, 0x55, 0x52, 0x45, 0x44, 0x10, 0x2d, 0x12, + 0x07, 0x0a, 0x03, 0x52, 0x4f, 0x57, 0x10, 0x2e, 0x12, 0x09, 0x0a, 0x05, 0x4f, 0x54, 0x48, 0x45, + 0x52, 0x10, 0x2f, 0x12, 0x0a, 0x0a, 0x06, 0x43, 0x55, 0x52, 0x53, 0x4f, 0x52, 0x10, 0x30, 0x12, + 0x0f, 0x0a, 0x0b, 0x43, 0x4f, 0x4c, 0x55, 0x4d, 0x4e, 0x5f, 0x4c, 0x49, 0x53, 0x54, 0x10, 0x31, + 0x12, 0x10, 0x0a, 0x0c, 0x44, 0x59, 0x4e, 0x41, 0x4d, 0x49, 0x43, 0x5f, 0x53, 0x54, 0x41, 0x52, + 0x10, 0x32, 0x12, 0x0c, 0x0a, 0x08, 0x47, 0x45, 0x4f, 0x4d, 0x45, 0x54, 0x52, 0x59, 0x10, 0x33, + 0x12, 0x0a, 0x0a, 0x06, 0x53, 0x59, 0x4d, 0x42, 0x4f, 0x4c, 0x10, 0x34, 0x12, 0x08, 0x0a, 0x04, + 0x4a, 0x53, 0x4f, 0x4e, 0x10, 0x35, 0x12, 0x0c, 0x0a, 0x08, 0x4d, 0x55, 0x4c, 0x54, 0x49, 0x53, + 0x45, 0x54, 0x10, 0x36, 0x12, 0x07, 0x0a, 0x03, 0x41, 0x4e, 0x59, 0x10, 0x37, 0x12, 0x15, 0x0a, + 0x11, 0x55, 0x53, 0x45, 0x52, 0x5f, 0x44, 0x45, 0x46, 0x49, 0x4e, 0x45, 0x44, 0x5f, 0x54, 0x59, + 0x50, 0x45, 0x10, 0x38, 0x12, 0x0a, 0x0a, 0x06, 0x52, 0x4f, 0x57, 0x5f, 0x49, 0x44, 0x10, 0x39, + 0x42, 0x55, 0x0a, 0x13, 0x6f, 0x72, 0x67, 0x2e, 0x70, 0x6f, 0x6c, 0x79, 0x70, 0x68, 0x65, 0x6e, + 0x79, 0x2e, 0x70, 0x72, 0x69, 0x73, 0x6d, 0x42, 0x0f, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x56, 0x61, + 0x6c, 0x75, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x19, 0x6f, 0x72, 0x67, 0x2f, + 0x70, 0x6f, 0x6c, 0x79, 0x70, 0x68, 0x65, 0x6e, 0x79, 0x2f, 0x70, 0x72, 0x69, 0x73, 0x6d, 0x3b, + 0x70, 0x72, 0x69, 0x73, 0x6d, 0xaa, 0x02, 0x0f, 0x50, 0x6f, 0x6c, 0x79, 0x70, 0x68, 0x65, 0x6e, + 0x79, 0x2e, 0x50, 0x72, 0x69, 0x73, 0x6d, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_org_polypheny_prism_value_proto_rawDescOnce sync.Once + file_org_polypheny_prism_value_proto_rawDescData = file_org_polypheny_prism_value_proto_rawDesc +) + +func file_org_polypheny_prism_value_proto_rawDescGZIP() []byte { + file_org_polypheny_prism_value_proto_rawDescOnce.Do(func() { + file_org_polypheny_prism_value_proto_rawDescData = protoimpl.X.CompressGZIP(file_org_polypheny_prism_value_proto_rawDescData) + }) + return file_org_polypheny_prism_value_proto_rawDescData +} + +var file_org_polypheny_prism_value_proto_enumTypes = make([]protoimpl.EnumInfo, 2) +var file_org_polypheny_prism_value_proto_msgTypes = make([]protoimpl.MessageInfo, 22) +var file_org_polypheny_prism_value_proto_goTypes = []interface{}{ + (ProtoPolyType)(0), // 0: org.polypheny.prism.ProtoPolyType + (ProtoEdge_Direction)(0), // 1: org.polypheny.prism.ProtoEdge.Direction + (*ProtoValue)(nil), // 2: org.polypheny.prism.ProtoValue + (*ProtoBoolean)(nil), // 3: org.polypheny.prism.ProtoBoolean + (*ProtoInteger)(nil), // 4: org.polypheny.prism.ProtoInteger + (*ProtoLong)(nil), // 5: org.polypheny.prism.ProtoLong + (*ProtoBigDecimal)(nil), // 6: org.polypheny.prism.ProtoBigDecimal + (*ProtoFloat)(nil), // 7: org.polypheny.prism.ProtoFloat + (*ProtoDouble)(nil), // 8: org.polypheny.prism.ProtoDouble + (*ProtoDate)(nil), // 9: org.polypheny.prism.ProtoDate + (*ProtoTime)(nil), // 10: org.polypheny.prism.ProtoTime + (*ProtoTimestamp)(nil), // 11: org.polypheny.prism.ProtoTimestamp + (*ProtoInterval)(nil), // 12: org.polypheny.prism.ProtoInterval + (*ProtoString)(nil), // 13: org.polypheny.prism.ProtoString + (*ProtoBinary)(nil), // 14: org.polypheny.prism.ProtoBinary + (*ProtoNull)(nil), // 15: org.polypheny.prism.ProtoNull + (*ProtoList)(nil), // 16: org.polypheny.prism.ProtoList + (*ProtoDocument)(nil), // 17: org.polypheny.prism.ProtoDocument + (*ProtoFile)(nil), // 18: org.polypheny.prism.ProtoFile + (*ProtoNode)(nil), // 19: org.polypheny.prism.ProtoNode + (*ProtoEdge)(nil), // 20: org.polypheny.prism.ProtoEdge + nil, // 21: org.polypheny.prism.ProtoDocument.EntriesEntry + nil, // 22: org.polypheny.prism.ProtoNode.PropertiesEntry + nil, // 23: org.polypheny.prism.ProtoEdge.PropertiesEntry +} +var file_org_polypheny_prism_value_proto_depIdxs = []int32{ + 3, // 0: org.polypheny.prism.ProtoValue.boolean:type_name -> org.polypheny.prism.ProtoBoolean + 4, // 1: org.polypheny.prism.ProtoValue.integer:type_name -> org.polypheny.prism.ProtoInteger + 5, // 2: org.polypheny.prism.ProtoValue.long:type_name -> org.polypheny.prism.ProtoLong + 6, // 3: org.polypheny.prism.ProtoValue.big_decimal:type_name -> org.polypheny.prism.ProtoBigDecimal + 7, // 4: org.polypheny.prism.ProtoValue.float:type_name -> org.polypheny.prism.ProtoFloat + 8, // 5: org.polypheny.prism.ProtoValue.double:type_name -> org.polypheny.prism.ProtoDouble + 9, // 6: org.polypheny.prism.ProtoValue.date:type_name -> org.polypheny.prism.ProtoDate + 10, // 7: org.polypheny.prism.ProtoValue.time:type_name -> org.polypheny.prism.ProtoTime + 11, // 8: org.polypheny.prism.ProtoValue.timestamp:type_name -> org.polypheny.prism.ProtoTimestamp + 12, // 9: org.polypheny.prism.ProtoValue.interval:type_name -> org.polypheny.prism.ProtoInterval + 13, // 10: org.polypheny.prism.ProtoValue.string:type_name -> org.polypheny.prism.ProtoString + 14, // 11: org.polypheny.prism.ProtoValue.binary:type_name -> org.polypheny.prism.ProtoBinary + 15, // 12: org.polypheny.prism.ProtoValue.null:type_name -> org.polypheny.prism.ProtoNull + 16, // 13: org.polypheny.prism.ProtoValue.list:type_name -> org.polypheny.prism.ProtoList + 17, // 14: org.polypheny.prism.ProtoValue.document:type_name -> org.polypheny.prism.ProtoDocument + 18, // 15: org.polypheny.prism.ProtoValue.file:type_name -> org.polypheny.prism.ProtoFile + 2, // 16: org.polypheny.prism.ProtoList.values:type_name -> org.polypheny.prism.ProtoValue + 21, // 17: org.polypheny.prism.ProtoDocument.entries:type_name -> org.polypheny.prism.ProtoDocument.EntriesEntry + 22, // 18: org.polypheny.prism.ProtoNode.properties:type_name -> org.polypheny.prism.ProtoNode.PropertiesEntry + 23, // 19: org.polypheny.prism.ProtoEdge.properties:type_name -> org.polypheny.prism.ProtoEdge.PropertiesEntry + 1, // 20: org.polypheny.prism.ProtoEdge.direction:type_name -> org.polypheny.prism.ProtoEdge.Direction + 2, // 21: org.polypheny.prism.ProtoDocument.EntriesEntry.value:type_name -> org.polypheny.prism.ProtoValue + 2, // 22: org.polypheny.prism.ProtoNode.PropertiesEntry.value:type_name -> org.polypheny.prism.ProtoValue + 2, // 23: org.polypheny.prism.ProtoEdge.PropertiesEntry.value:type_name -> org.polypheny.prism.ProtoValue + 24, // [24:24] is the sub-list for method output_type + 24, // [24:24] is the sub-list for method input_type + 24, // [24:24] is the sub-list for extension type_name + 24, // [24:24] is the sub-list for extension extendee + 0, // [0:24] is the sub-list for field type_name +} + +func init() { file_org_polypheny_prism_value_proto_init() } +func file_org_polypheny_prism_value_proto_init() { + if File_org_polypheny_prism_value_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_org_polypheny_prism_value_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ProtoValue); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_org_polypheny_prism_value_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ProtoBoolean); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_org_polypheny_prism_value_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ProtoInteger); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_org_polypheny_prism_value_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ProtoLong); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_org_polypheny_prism_value_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ProtoBigDecimal); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_org_polypheny_prism_value_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ProtoFloat); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_org_polypheny_prism_value_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ProtoDouble); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_org_polypheny_prism_value_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ProtoDate); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_org_polypheny_prism_value_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ProtoTime); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_org_polypheny_prism_value_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ProtoTimestamp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_org_polypheny_prism_value_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ProtoInterval); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_org_polypheny_prism_value_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ProtoString); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_org_polypheny_prism_value_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ProtoBinary); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_org_polypheny_prism_value_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ProtoNull); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_org_polypheny_prism_value_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ProtoList); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_org_polypheny_prism_value_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ProtoDocument); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_org_polypheny_prism_value_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ProtoFile); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_org_polypheny_prism_value_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ProtoNode); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_org_polypheny_prism_value_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ProtoEdge); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + file_org_polypheny_prism_value_proto_msgTypes[0].OneofWrappers = []interface{}{ + (*ProtoValue_Boolean)(nil), + (*ProtoValue_Integer)(nil), + (*ProtoValue_Long)(nil), + (*ProtoValue_BigDecimal)(nil), + (*ProtoValue_Float)(nil), + (*ProtoValue_Double)(nil), + (*ProtoValue_Date)(nil), + (*ProtoValue_Time)(nil), + (*ProtoValue_Timestamp)(nil), + (*ProtoValue_Interval)(nil), + (*ProtoValue_String_)(nil), + (*ProtoValue_Binary)(nil), + (*ProtoValue_Null)(nil), + (*ProtoValue_List)(nil), + (*ProtoValue_Document)(nil), + (*ProtoValue_File)(nil), + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_org_polypheny_prism_value_proto_rawDesc, + NumEnums: 2, + NumMessages: 22, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_org_polypheny_prism_value_proto_goTypes, + DependencyIndexes: file_org_polypheny_prism_value_proto_depIdxs, + EnumInfos: file_org_polypheny_prism_value_proto_enumTypes, + MessageInfos: file_org_polypheny_prism_value_proto_msgTypes, + }.Build() + File_org_polypheny_prism_value_proto = out.File + file_org_polypheny_prism_value_proto_rawDesc = nil + file_org_polypheny_prism_value_proto_goTypes = nil + file_org_polypheny_prism_value_proto_depIdxs = nil +} diff --git a/prism/version.go b/prism/version.go new file mode 100644 index 0000000..6b19e18 --- /dev/null +++ b/prism/version.go @@ -0,0 +1,7 @@ +package prism + +// MajorVersion is the major component of the API version. +const MajorVersion = 2 + +// MinorVersion is the minor component of the API version. +const MinorVersion = 2 diff --git a/protocol_test.go b/protocol_test.go index 9669958..b48e673 100644 --- a/protocol_test.go +++ b/protocol_test.go @@ -11,7 +11,7 @@ import ( "testing" "time" - "github.com/polypheny/Polypheny-Prism-API/go/v2/prism" + "github.com/polypheny/Polypheny-Go-Driver/prism" "google.golang.org/protobuf/proto" ) diff --git a/scripts/update-prism-bindings.sh b/scripts/update-prism-bindings.sh new file mode 100755 index 0000000..b3f81d0 --- /dev/null +++ b/scripts/update-prism-bindings.sh @@ -0,0 +1,59 @@ +#!/usr/bin/env bash +# Refresh the checked-in Go bindings using the published Prism release. +set -euo pipefail + +if [[ $# -gt 1 || ( $# -eq 1 && $1 != --check ) ]]; then + printf 'Usage: %s [--check]\n' "${0##*/}" >&2 + exit 2 +fi + +version=2.2 +sha256=f3beb52a5ded21562aacdb097426fbc36f2d594f7a53e4c3fe64d71b668643df +release_url="https://github.com/polypheny/Polypheny-Prism-API/releases/download/${version}/go-api-files-${version}.tar.gz" +repo_dir=$(cd "$(dirname "${BASH_SOURCE[0]}")/.." && pwd -P) +target="$repo_dir/prism" +work_dir=$(mktemp -d "${TMPDIR:-/tmp}/polypheny-prism-go.XXXXXX") +trap 'rm -rf "$work_dir"' EXIT + +archive="$work_dir/prism.tar.gz" +curl --fail --silent --show-error --location --retry 3 --output "$archive" "$release_url" + +if command -v sha256sum >/dev/null 2>&1; then + printf '%s %s\n' "$sha256" "$archive" | sha256sum -c - +else + printf '%s %s\n' "$sha256" "$archive" | shasum -a 256 -c - +fi + +tar -xzf "$archive" -C "$work_dir" +generated="$work_dir/prism" +shopt -s nullglob +bindings=("$generated"/*.pb.go) +if [[ ${#bindings[@]} -eq 0 || ! -f "$generated/version.go" ]]; then + printf 'The verified Prism archive does not contain the expected Go bindings.\n' >&2 + exit 1 +fi +bindings+=("$generated/version.go") + +if [[ ${1:-} == --check ]]; then + status=0 + for file in "${bindings[@]}"; do + if ! diff -u "$target/${file##*/}" "$file"; then + status=1 + fi + done + for file in "$target"/*.pb.go; do + if [[ ! -f "$generated/${file##*/}" ]]; then + printf 'Unexpected generated binding: %s\n' "$file" >&2 + status=1 + fi + done + exit "$status" +fi + +mkdir -p "$target" +cp "${bindings[@]}" "$target/" +for file in "$target"/*.pb.go; do + if [[ ! -f "$generated/${file##*/}" ]]; then + rm "$file" + fi +done diff --git a/transaction.go b/transaction.go index bbc4602..1a9a02f 100644 --- a/transaction.go +++ b/transaction.go @@ -5,7 +5,7 @@ import ( "sync/atomic" "time" - "github.com/polypheny/Polypheny-Prism-API/go/v2/prism" + "github.com/polypheny/Polypheny-Go-Driver/prism" ) // PolyphenyTransaction implements driver.Tx. diff --git a/utils.go b/utils.go index 3c4fb0c..577c5b2 100644 --- a/utils.go +++ b/utils.go @@ -7,7 +7,7 @@ import ( "math/big" "time" - "github.com/polypheny/Polypheny-Prism-API/go/v2/prism" + "github.com/polypheny/Polypheny-Go-Driver/prism" ) // convertProtoValue converts a Prism value into a Go value. diff --git a/utils_test.go b/utils_test.go index 1eb9fe4..169d1cf 100644 --- a/utils_test.go +++ b/utils_test.go @@ -3,7 +3,7 @@ package polypheny import ( "testing" - prism "github.com/polypheny/Polypheny-Prism-API/go/v2/prism" + prism "github.com/polypheny/Polypheny-Go-Driver/prism" ) func TestMakeProtoValue1(t *testing.T) {