pb

package
v0.0.0-...-9753c4d Latest Latest
Warning

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

Go to latest
Published: Apr 5, 2024 License: Apache-2.0 Imports: 37 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ProtoDB_Get_FullMethodName             = "/linka.cloud.protodb.ProtoDB/Get"
	ProtoDB_Set_FullMethodName             = "/linka.cloud.protodb.ProtoDB/Set"
	ProtoDB_Delete_FullMethodName          = "/linka.cloud.protodb.ProtoDB/Delete"
	ProtoDB_Tx_FullMethodName              = "/linka.cloud.protodb.ProtoDB/Tx"
	ProtoDB_Watch_FullMethodName           = "/linka.cloud.protodb.ProtoDB/Watch"
	ProtoDB_Register_FullMethodName        = "/linka.cloud.protodb.ProtoDB/Register"
	ProtoDB_Descriptors_FullMethodName     = "/linka.cloud.protodb.ProtoDB/Descriptors"
	ProtoDB_FileDescriptors_FullMethodName = "/linka.cloud.protodb.ProtoDB/FileDescriptors"
)
View Source
const ReadOnlyTxKey = "protodb-read-only"

Variables

View Source
var (
	WatchEventType_name = map[int32]string{
		0: "UNKNOWN",
		1: "ENTER",
		2: "LEAVE",
		3: "UPDATE",
	}
	WatchEventType_value = map[string]int32{
		"UNKNOWN": 0,
		"ENTER":   1,
		"LEAVE":   2,
		"UPDATE":  3,
	}
)

Enum value maps for WatchEvent_Type.

View Source
var CommitResponseFields = struct {
	Error string
}{
	Error: "error",
}
View Source
var DeleteRequestFields = struct {
	Payload string
}{
	Payload: "payload",
}
View Source
var DeleteResponseFields = struct {
}{}
View Source
var DescriptorsRequestFields = struct {
}{}
View Source
var DescriptorsResponseFields = struct {
	Results string
}{
	Results: "results",
}
View Source
var FieldDiffFields = struct {
	From string
	To   string
}{
	From: "from",
	To:   "to",
}
View Source
var FileDescriptorsRequestFields = struct {
}{}
View Source
var FileDescriptorsResponseFields = struct {
	Results string
}{
	Results: "results",
}
View Source
var File_pb_protodb_proto protoreflect.FileDescriptor
View Source
var GetRequestFields = struct {
	Search    string
	Filter    string
	Paging    string
	FieldMask string
}{
	Search:    "search",
	Filter:    "filter",
	Paging:    "paging",
	FieldMask: "field_mask",
}
View Source
var GetResponseFields = struct {
	Results string
	Paging  string
}{
	Results: "results",
	Paging:  "paging",
}
View Source
var MessageDiffFields = struct {
	Fields string
}{
	Fields: "fields",
}
View Source
var PagingFields = struct {
	Limit  string
	Offset string
	Token  string
}{
	Limit:  "limit",
	Offset: "offset",
	Token:  "token",
}
View Source
var PagingInfoFields = struct {
	HasNext string
	Token   string
}{
	HasNext: "has_next",
	Token:   "token",
}
View Source
var ProtoDBMethods = struct {
	Get             string
	Set             string
	Delete          string
	Tx              string
	Watch           string
	Register        string
	Descriptors     string
	FileDescriptors string
}{
	Get:             "/linka.cloud.protodb.ProtoDB/Get",
	Set:             "/linka.cloud.protodb.ProtoDB/Set",
	Delete:          "/linka.cloud.protodb.ProtoDB/Delete",
	Tx:              "/linka.cloud.protodb.ProtoDB/Tx",
	Watch:           "/linka.cloud.protodb.ProtoDB/Watch",
	Register:        "/linka.cloud.protodb.ProtoDB/Register",
	Descriptors:     "/linka.cloud.protodb.ProtoDB/Descriptors",
	FileDescriptors: "/linka.cloud.protodb.ProtoDB/FileDescriptors",
}
View Source
var ProtoDB_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "linka.cloud.protodb.ProtoDB",
	HandlerType: (*ProtoDBServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "Get",
			Handler:    _ProtoDB_Get_Handler,
		},
		{
			MethodName: "Set",
			Handler:    _ProtoDB_Set_Handler,
		},
		{
			MethodName: "Delete",
			Handler:    _ProtoDB_Delete_Handler,
		},
		{
			MethodName: "Register",
			Handler:    _ProtoDB_Register_Handler,
		},
		{
			MethodName: "Descriptors",
			Handler:    _ProtoDB_Descriptors_Handler,
		},
		{
			MethodName: "FileDescriptors",
			Handler:    _ProtoDB_FileDescriptors_Handler,
		},
	},
	Streams: []grpc.StreamDesc{
		{
			StreamName:    "Tx",
			Handler:       _ProtoDB_Tx_Handler,
			ServerStreams: true,
			ClientStreams: true,
		},
		{
			StreamName:    "Watch",
			Handler:       _ProtoDB_Watch_Handler,
			ServerStreams: true,
		},
	},
	Metadata: "pb/protodb.proto",
}

ProtoDB_ServiceDesc is the grpc.ServiceDesc for ProtoDB service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var RegisterRequestFields = struct {
	File string
}{
	File: "file",
}
View Source
var RegisterResponseFields = struct {
}{}
View Source
var SetRequestFields = struct {
	Payload   string
	TTL       string
	FieldMask string
}{
	Payload:   "payload",
	TTL:       "ttl",
	FieldMask: "field_mask",
}
View Source
var SetResponseFields = struct {
	Result string
}{
	Result: "result",
}
View Source
var TxRequestFields = struct {
	Get    string
	Set    string
	Delete string
	Commit string
}{
	Get:    "get",
	Set:    "set",
	Delete: "delete",
	Commit: "commit",
}
View Source
var TxResponseFields = struct {
	Get    string
	Set    string
	Delete string
	Commit string
}{
	Get:    "get",
	Set:    "set",
	Delete: "delete",
	Commit: "commit",
}
View Source
var WatchEventFields = struct {
	Type string
	Old  string
	New  string
}{
	Type: "type",
	Old:  "old",
	New:  "new",
}
View Source
var WatchRequestFields = struct {
	Search string
	Filter string
}{
	Search: "search",
	Filter: "filter",
}

Functions

func RegisterProtoDBServer

func RegisterProtoDBServer(s grpc.ServiceRegistrar, srv ProtoDBServer)

Types

type CommitResponse

type CommitResponse struct {
	Error *wrapperspb.StringValue `protobuf:"bytes,1,opt,name=error,proto3" json:"error,omitempty"`
	// contains filtered or unexported fields
}

func (*CommitResponse) CloneMessageVT

func (m *CommitResponse) CloneMessageVT() proto.Message

func (*CommitResponse) CloneVT

func (m *CommitResponse) CloneVT() *CommitResponse

func (*CommitResponse) Default

func (x *CommitResponse) Default()

func (*CommitResponse) Descriptor deprecated

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

Deprecated: Use CommitResponse.ProtoReflect.Descriptor instead.

func (*CommitResponse) EqualMessageVT

func (this *CommitResponse) EqualMessageVT(thatMsg proto.Message) bool

func (*CommitResponse) EqualVT

func (this *CommitResponse) EqualVT(that *CommitResponse) bool

func (*CommitResponse) GetError

func (x *CommitResponse) GetError() *wrapperspb.StringValue

func (*CommitResponse) MarshalToSizedBufferVT

func (m *CommitResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*CommitResponse) MarshalToVT

func (m *CommitResponse) MarshalToVT(dAtA []byte) (int, error)

func (*CommitResponse) MarshalVT

func (m *CommitResponse) MarshalVT() (dAtA []byte, err error)

func (*CommitResponse) ProtoMessage

func (*CommitResponse) ProtoMessage()

func (*CommitResponse) ProtoReflect

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

func (*CommitResponse) Reset

func (x *CommitResponse) Reset()

func (*CommitResponse) SizeVT

func (m *CommitResponse) SizeVT() (n int)

func (*CommitResponse) String

func (x *CommitResponse) String() string

func (*CommitResponse) UnmarshalVT

func (m *CommitResponse) UnmarshalVT(dAtA []byte) error

func (*CommitResponse) Validate

func (m *CommitResponse) Validate() error

Validate checks the field values on CommitResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*CommitResponse) ValidateAll

func (m *CommitResponse) ValidateAll() error

ValidateAll checks the field values on CommitResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in CommitResponseMultiError, or nil if none found.

type CommitResponseMultiError

type CommitResponseMultiError []error

CommitResponseMultiError is an error wrapping multiple validation errors returned by CommitResponse.ValidateAll() if the designated constraints aren't met.

func (CommitResponseMultiError) AllErrors

func (m CommitResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (CommitResponseMultiError) Error

func (m CommitResponseMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type CommitResponseValidationError

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

CommitResponseValidationError is the validation error returned by CommitResponse.Validate if the designated constraints aren't met.

func (CommitResponseValidationError) Cause

Cause function returns cause value.

func (CommitResponseValidationError) Error

Error satisfies the builtin error interface

func (CommitResponseValidationError) ErrorName

func (e CommitResponseValidationError) ErrorName() string

ErrorName returns error name.

func (CommitResponseValidationError) Field

Field function returns field value.

func (CommitResponseValidationError) Key

Key function returns key value.

func (CommitResponseValidationError) Reason

Reason function returns reason value.

type DeleteRequest

type DeleteRequest struct {
	Payload *anypb.Any `protobuf:"bytes,1,opt,name=payload,proto3" json:"payload,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteRequest) CloneMessageVT

func (m *DeleteRequest) CloneMessageVT() proto.Message

func (*DeleteRequest) CloneVT

func (m *DeleteRequest) CloneVT() *DeleteRequest

func (*DeleteRequest) Default

func (x *DeleteRequest) Default()

func (*DeleteRequest) Descriptor deprecated

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

Deprecated: Use DeleteRequest.ProtoReflect.Descriptor instead.

func (*DeleteRequest) EqualMessageVT

func (this *DeleteRequest) EqualMessageVT(thatMsg proto.Message) bool

func (*DeleteRequest) EqualVT

func (this *DeleteRequest) EqualVT(that *DeleteRequest) bool

func (*DeleteRequest) GetPayload

func (x *DeleteRequest) GetPayload() *anypb.Any

func (*DeleteRequest) MarshalToSizedBufferVT

func (m *DeleteRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*DeleteRequest) MarshalToVT

func (m *DeleteRequest) MarshalToVT(dAtA []byte) (int, error)

func (*DeleteRequest) MarshalVT

func (m *DeleteRequest) MarshalVT() (dAtA []byte, err error)

func (*DeleteRequest) ProtoMessage

func (*DeleteRequest) ProtoMessage()

func (*DeleteRequest) ProtoReflect

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

func (*DeleteRequest) Reset

func (x *DeleteRequest) Reset()

func (*DeleteRequest) SizeVT

func (m *DeleteRequest) SizeVT() (n int)

func (*DeleteRequest) String

func (x *DeleteRequest) String() string

func (*DeleteRequest) UnmarshalVT

func (m *DeleteRequest) UnmarshalVT(dAtA []byte) error

func (*DeleteRequest) Validate

func (m *DeleteRequest) Validate() error

Validate checks the field values on DeleteRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*DeleteRequest) ValidateAll

func (m *DeleteRequest) ValidateAll() error

ValidateAll checks the field values on DeleteRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in DeleteRequestMultiError, or nil if none found.

type DeleteRequestMultiError

type DeleteRequestMultiError []error

DeleteRequestMultiError is an error wrapping multiple validation errors returned by DeleteRequest.ValidateAll() if the designated constraints aren't met.

func (DeleteRequestMultiError) AllErrors

func (m DeleteRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (DeleteRequestMultiError) Error

func (m DeleteRequestMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type DeleteRequestValidationError

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

DeleteRequestValidationError is the validation error returned by DeleteRequest.Validate if the designated constraints aren't met.

func (DeleteRequestValidationError) Cause

Cause function returns cause value.

func (DeleteRequestValidationError) Error

Error satisfies the builtin error interface

func (DeleteRequestValidationError) ErrorName

func (e DeleteRequestValidationError) ErrorName() string

ErrorName returns error name.

func (DeleteRequestValidationError) Field

Field function returns field value.

func (DeleteRequestValidationError) Key

Key function returns key value.

func (DeleteRequestValidationError) Reason

Reason function returns reason value.

type DeleteResponse

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

func (*DeleteResponse) CloneMessageVT

func (m *DeleteResponse) CloneMessageVT() proto.Message

func (*DeleteResponse) CloneVT

func (m *DeleteResponse) CloneVT() *DeleteResponse

func (*DeleteResponse) Default

func (x *DeleteResponse) Default()

func (*DeleteResponse) Descriptor deprecated

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

Deprecated: Use DeleteResponse.ProtoReflect.Descriptor instead.

func (*DeleteResponse) EqualMessageVT

func (this *DeleteResponse) EqualMessageVT(thatMsg proto.Message) bool

func (*DeleteResponse) EqualVT

func (this *DeleteResponse) EqualVT(that *DeleteResponse) bool

func (*DeleteResponse) MarshalToSizedBufferVT

func (m *DeleteResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*DeleteResponse) MarshalToVT

func (m *DeleteResponse) MarshalToVT(dAtA []byte) (int, error)

func (*DeleteResponse) MarshalVT

func (m *DeleteResponse) MarshalVT() (dAtA []byte, err error)

func (*DeleteResponse) ProtoMessage

func (*DeleteResponse) ProtoMessage()

func (*DeleteResponse) ProtoReflect

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

func (*DeleteResponse) Reset

func (x *DeleteResponse) Reset()

func (*DeleteResponse) SizeVT

func (m *DeleteResponse) SizeVT() (n int)

func (*DeleteResponse) String

func (x *DeleteResponse) String() string

func (*DeleteResponse) UnmarshalVT

func (m *DeleteResponse) UnmarshalVT(dAtA []byte) error

func (*DeleteResponse) Validate

func (m *DeleteResponse) Validate() error

Validate checks the field values on DeleteResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*DeleteResponse) ValidateAll

func (m *DeleteResponse) ValidateAll() error

ValidateAll checks the field values on DeleteResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in DeleteResponseMultiError, or nil if none found.

type DeleteResponseMultiError

type DeleteResponseMultiError []error

DeleteResponseMultiError is an error wrapping multiple validation errors returned by DeleteResponse.ValidateAll() if the designated constraints aren't met.

func (DeleteResponseMultiError) AllErrors

func (m DeleteResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (DeleteResponseMultiError) Error

func (m DeleteResponseMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type DeleteResponseValidationError

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

DeleteResponseValidationError is the validation error returned by DeleteResponse.Validate if the designated constraints aren't met.

func (DeleteResponseValidationError) Cause

Cause function returns cause value.

func (DeleteResponseValidationError) Error

Error satisfies the builtin error interface

func (DeleteResponseValidationError) ErrorName

func (e DeleteResponseValidationError) ErrorName() string

ErrorName returns error name.

func (DeleteResponseValidationError) Field

Field function returns field value.

func (DeleteResponseValidationError) Key

Key function returns key value.

func (DeleteResponseValidationError) Reason

Reason function returns reason value.

type DescriptorsRequest

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

func (*DescriptorsRequest) CloneMessageVT

func (m *DescriptorsRequest) CloneMessageVT() proto.Message

func (*DescriptorsRequest) CloneVT

func (m *DescriptorsRequest) CloneVT() *DescriptorsRequest

func (*DescriptorsRequest) Default

func (x *DescriptorsRequest) Default()

func (*DescriptorsRequest) Descriptor deprecated

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

Deprecated: Use DescriptorsRequest.ProtoReflect.Descriptor instead.

func (*DescriptorsRequest) EqualMessageVT

func (this *DescriptorsRequest) EqualMessageVT(thatMsg proto.Message) bool

func (*DescriptorsRequest) EqualVT

func (this *DescriptorsRequest) EqualVT(that *DescriptorsRequest) bool

func (*DescriptorsRequest) MarshalToSizedBufferVT

func (m *DescriptorsRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*DescriptorsRequest) MarshalToVT

func (m *DescriptorsRequest) MarshalToVT(dAtA []byte) (int, error)

func (*DescriptorsRequest) MarshalVT

func (m *DescriptorsRequest) MarshalVT() (dAtA []byte, err error)

func (*DescriptorsRequest) ProtoMessage

func (*DescriptorsRequest) ProtoMessage()

func (*DescriptorsRequest) ProtoReflect

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

func (*DescriptorsRequest) Reset

func (x *DescriptorsRequest) Reset()

func (*DescriptorsRequest) SizeVT

func (m *DescriptorsRequest) SizeVT() (n int)

func (*DescriptorsRequest) String

func (x *DescriptorsRequest) String() string

func (*DescriptorsRequest) UnmarshalVT

func (m *DescriptorsRequest) UnmarshalVT(dAtA []byte) error

func (*DescriptorsRequest) Validate

func (m *DescriptorsRequest) Validate() error

Validate checks the field values on DescriptorsRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*DescriptorsRequest) ValidateAll

func (m *DescriptorsRequest) ValidateAll() error

ValidateAll checks the field values on DescriptorsRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in DescriptorsRequestMultiError, or nil if none found.

type DescriptorsRequestMultiError

type DescriptorsRequestMultiError []error

DescriptorsRequestMultiError is an error wrapping multiple validation errors returned by DescriptorsRequest.ValidateAll() if the designated constraints aren't met.

func (DescriptorsRequestMultiError) AllErrors

func (m DescriptorsRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (DescriptorsRequestMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type DescriptorsRequestValidationError

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

DescriptorsRequestValidationError is the validation error returned by DescriptorsRequest.Validate if the designated constraints aren't met.

func (DescriptorsRequestValidationError) Cause

Cause function returns cause value.

func (DescriptorsRequestValidationError) Error

Error satisfies the builtin error interface

func (DescriptorsRequestValidationError) ErrorName

ErrorName returns error name.

func (DescriptorsRequestValidationError) Field

Field function returns field value.

func (DescriptorsRequestValidationError) Key

Key function returns key value.

func (DescriptorsRequestValidationError) Reason

Reason function returns reason value.

type DescriptorsResponse

type DescriptorsResponse struct {
	Results []*descriptorpb.DescriptorProto `protobuf:"bytes,1,rep,name=results,proto3" json:"results,omitempty"`
	// contains filtered or unexported fields
}

func (*DescriptorsResponse) CloneMessageVT

func (m *DescriptorsResponse) CloneMessageVT() proto.Message

func (*DescriptorsResponse) CloneVT

func (*DescriptorsResponse) Default

func (x *DescriptorsResponse) Default()

func (*DescriptorsResponse) Descriptor deprecated

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

Deprecated: Use DescriptorsResponse.ProtoReflect.Descriptor instead.

func (*DescriptorsResponse) EqualMessageVT

func (this *DescriptorsResponse) EqualMessageVT(thatMsg proto.Message) bool

func (*DescriptorsResponse) EqualVT

func (this *DescriptorsResponse) EqualVT(that *DescriptorsResponse) bool

func (*DescriptorsResponse) GetResults

func (*DescriptorsResponse) MarshalToSizedBufferVT

func (m *DescriptorsResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*DescriptorsResponse) MarshalToVT

func (m *DescriptorsResponse) MarshalToVT(dAtA []byte) (int, error)

func (*DescriptorsResponse) MarshalVT

func (m *DescriptorsResponse) MarshalVT() (dAtA []byte, err error)

func (*DescriptorsResponse) ProtoMessage

func (*DescriptorsResponse) ProtoMessage()

func (*DescriptorsResponse) ProtoReflect

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

func (*DescriptorsResponse) Reset

func (x *DescriptorsResponse) Reset()

func (*DescriptorsResponse) SizeVT

func (m *DescriptorsResponse) SizeVT() (n int)

func (*DescriptorsResponse) String

func (x *DescriptorsResponse) String() string

func (*DescriptorsResponse) UnmarshalVT

func (m *DescriptorsResponse) UnmarshalVT(dAtA []byte) error

func (*DescriptorsResponse) Validate

func (m *DescriptorsResponse) Validate() error

Validate checks the field values on DescriptorsResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*DescriptorsResponse) ValidateAll

func (m *DescriptorsResponse) ValidateAll() error

ValidateAll checks the field values on DescriptorsResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in DescriptorsResponseMultiError, or nil if none found.

type DescriptorsResponseMultiError

type DescriptorsResponseMultiError []error

DescriptorsResponseMultiError is an error wrapping multiple validation errors returned by DescriptorsResponse.ValidateAll() if the designated constraints aren't met.

func (DescriptorsResponseMultiError) AllErrors

func (m DescriptorsResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (DescriptorsResponseMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type DescriptorsResponseValidationError

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

DescriptorsResponseValidationError is the validation error returned by DescriptorsResponse.Validate if the designated constraints aren't met.

func (DescriptorsResponseValidationError) Cause

Cause function returns cause value.

func (DescriptorsResponseValidationError) Error

Error satisfies the builtin error interface

func (DescriptorsResponseValidationError) ErrorName

ErrorName returns error name.

func (DescriptorsResponseValidationError) Field

Field function returns field value.

func (DescriptorsResponseValidationError) Key

Key function returns key value.

func (DescriptorsResponseValidationError) Reason

Reason function returns reason value.

type FieldDiff

type FieldDiff struct {
	From *structpb.Value `protobuf:"bytes,1,opt,name=from,proto3" json:"from,omitempty"`
	To   *structpb.Value `protobuf:"bytes,2,opt,name=to,proto3" json:"to,omitempty"`
	// contains filtered or unexported fields
}

func (*FieldDiff) CloneMessageVT

func (m *FieldDiff) CloneMessageVT() proto.Message

func (*FieldDiff) CloneVT

func (m *FieldDiff) CloneVT() *FieldDiff

func (*FieldDiff) Default

func (x *FieldDiff) Default()

func (*FieldDiff) Descriptor deprecated

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

Deprecated: Use FieldDiff.ProtoReflect.Descriptor instead.

func (*FieldDiff) EqualMessageVT

func (this *FieldDiff) EqualMessageVT(thatMsg proto.Message) bool

func (*FieldDiff) EqualVT

func (this *FieldDiff) EqualVT(that *FieldDiff) bool

func (*FieldDiff) GetFrom

func (x *FieldDiff) GetFrom() *structpb.Value

func (*FieldDiff) GetTo

func (x *FieldDiff) GetTo() *structpb.Value

func (*FieldDiff) MarshalToSizedBufferVT

func (m *FieldDiff) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*FieldDiff) MarshalToVT

func (m *FieldDiff) MarshalToVT(dAtA []byte) (int, error)

func (*FieldDiff) MarshalVT

func (m *FieldDiff) MarshalVT() (dAtA []byte, err error)

func (*FieldDiff) ProtoMessage

func (*FieldDiff) ProtoMessage()

func (*FieldDiff) ProtoReflect

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

func (*FieldDiff) Reset

func (x *FieldDiff) Reset()

func (*FieldDiff) SizeVT

func (m *FieldDiff) SizeVT() (n int)

func (*FieldDiff) String

func (x *FieldDiff) String() string

func (*FieldDiff) UnmarshalVT

func (m *FieldDiff) UnmarshalVT(dAtA []byte) error

func (*FieldDiff) Validate

func (m *FieldDiff) Validate() error

Validate checks the field values on FieldDiff with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*FieldDiff) ValidateAll

func (m *FieldDiff) ValidateAll() error

ValidateAll checks the field values on FieldDiff with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in FieldDiffMultiError, or nil if none found.

type FieldDiffMultiError

type FieldDiffMultiError []error

FieldDiffMultiError is an error wrapping multiple validation errors returned by FieldDiff.ValidateAll() if the designated constraints aren't met.

func (FieldDiffMultiError) AllErrors

func (m FieldDiffMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (FieldDiffMultiError) Error

func (m FieldDiffMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type FieldDiffValidationError

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

FieldDiffValidationError is the validation error returned by FieldDiff.Validate if the designated constraints aren't met.

func (FieldDiffValidationError) Cause

func (e FieldDiffValidationError) Cause() error

Cause function returns cause value.

func (FieldDiffValidationError) Error

func (e FieldDiffValidationError) Error() string

Error satisfies the builtin error interface

func (FieldDiffValidationError) ErrorName

func (e FieldDiffValidationError) ErrorName() string

ErrorName returns error name.

func (FieldDiffValidationError) Field

func (e FieldDiffValidationError) Field() string

Field function returns field value.

func (FieldDiffValidationError) Key

Key function returns key value.

func (FieldDiffValidationError) Reason

func (e FieldDiffValidationError) Reason() string

Reason function returns reason value.

type FileDescriptorsRequest

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

func (*FileDescriptorsRequest) CloneMessageVT

func (m *FileDescriptorsRequest) CloneMessageVT() proto.Message

func (*FileDescriptorsRequest) CloneVT

func (*FileDescriptorsRequest) Default

func (x *FileDescriptorsRequest) Default()

func (*FileDescriptorsRequest) Descriptor deprecated

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

Deprecated: Use FileDescriptorsRequest.ProtoReflect.Descriptor instead.

func (*FileDescriptorsRequest) EqualMessageVT

func (this *FileDescriptorsRequest) EqualMessageVT(thatMsg proto.Message) bool

func (*FileDescriptorsRequest) EqualVT

func (this *FileDescriptorsRequest) EqualVT(that *FileDescriptorsRequest) bool

func (*FileDescriptorsRequest) MarshalToSizedBufferVT

func (m *FileDescriptorsRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*FileDescriptorsRequest) MarshalToVT

func (m *FileDescriptorsRequest) MarshalToVT(dAtA []byte) (int, error)

func (*FileDescriptorsRequest) MarshalVT

func (m *FileDescriptorsRequest) MarshalVT() (dAtA []byte, err error)

func (*FileDescriptorsRequest) ProtoMessage

func (*FileDescriptorsRequest) ProtoMessage()

func (*FileDescriptorsRequest) ProtoReflect

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

func (*FileDescriptorsRequest) Reset

func (x *FileDescriptorsRequest) Reset()

func (*FileDescriptorsRequest) SizeVT

func (m *FileDescriptorsRequest) SizeVT() (n int)

func (*FileDescriptorsRequest) String

func (x *FileDescriptorsRequest) String() string

func (*FileDescriptorsRequest) UnmarshalVT

func (m *FileDescriptorsRequest) UnmarshalVT(dAtA []byte) error

func (*FileDescriptorsRequest) Validate

func (m *FileDescriptorsRequest) Validate() error

Validate checks the field values on FileDescriptorsRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*FileDescriptorsRequest) ValidateAll

func (m *FileDescriptorsRequest) ValidateAll() error

ValidateAll checks the field values on FileDescriptorsRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in FileDescriptorsRequestMultiError, or nil if none found.

type FileDescriptorsRequestMultiError

type FileDescriptorsRequestMultiError []error

FileDescriptorsRequestMultiError is an error wrapping multiple validation errors returned by FileDescriptorsRequest.ValidateAll() if the designated constraints aren't met.

func (FileDescriptorsRequestMultiError) AllErrors

func (m FileDescriptorsRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (FileDescriptorsRequestMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type FileDescriptorsRequestValidationError

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

FileDescriptorsRequestValidationError is the validation error returned by FileDescriptorsRequest.Validate if the designated constraints aren't met.

func (FileDescriptorsRequestValidationError) Cause

Cause function returns cause value.

func (FileDescriptorsRequestValidationError) Error

Error satisfies the builtin error interface

func (FileDescriptorsRequestValidationError) ErrorName

ErrorName returns error name.

func (FileDescriptorsRequestValidationError) Field

Field function returns field value.

func (FileDescriptorsRequestValidationError) Key

Key function returns key value.

func (FileDescriptorsRequestValidationError) Reason

Reason function returns reason value.

type FileDescriptorsResponse

type FileDescriptorsResponse struct {
	Results []*descriptorpb.FileDescriptorProto `protobuf:"bytes,1,rep,name=results,proto3" json:"results,omitempty"`
	// contains filtered or unexported fields
}

func (*FileDescriptorsResponse) CloneMessageVT

func (m *FileDescriptorsResponse) CloneMessageVT() proto.Message

func (*FileDescriptorsResponse) CloneVT

func (*FileDescriptorsResponse) Default

func (x *FileDescriptorsResponse) Default()

func (*FileDescriptorsResponse) Descriptor deprecated

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

Deprecated: Use FileDescriptorsResponse.ProtoReflect.Descriptor instead.

func (*FileDescriptorsResponse) EqualMessageVT

func (this *FileDescriptorsResponse) EqualMessageVT(thatMsg proto.Message) bool

func (*FileDescriptorsResponse) EqualVT

func (*FileDescriptorsResponse) GetResults

func (*FileDescriptorsResponse) MarshalToSizedBufferVT

func (m *FileDescriptorsResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*FileDescriptorsResponse) MarshalToVT

func (m *FileDescriptorsResponse) MarshalToVT(dAtA []byte) (int, error)

func (*FileDescriptorsResponse) MarshalVT

func (m *FileDescriptorsResponse) MarshalVT() (dAtA []byte, err error)

func (*FileDescriptorsResponse) ProtoMessage

func (*FileDescriptorsResponse) ProtoMessage()

func (*FileDescriptorsResponse) ProtoReflect

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

func (*FileDescriptorsResponse) Reset

func (x *FileDescriptorsResponse) Reset()

func (*FileDescriptorsResponse) SizeVT

func (m *FileDescriptorsResponse) SizeVT() (n int)

func (*FileDescriptorsResponse) String

func (x *FileDescriptorsResponse) String() string

func (*FileDescriptorsResponse) UnmarshalVT

func (m *FileDescriptorsResponse) UnmarshalVT(dAtA []byte) error

func (*FileDescriptorsResponse) Validate

func (m *FileDescriptorsResponse) Validate() error

Validate checks the field values on FileDescriptorsResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*FileDescriptorsResponse) ValidateAll

func (m *FileDescriptorsResponse) ValidateAll() error

ValidateAll checks the field values on FileDescriptorsResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in FileDescriptorsResponseMultiError, or nil if none found.

type FileDescriptorsResponseMultiError

type FileDescriptorsResponseMultiError []error

FileDescriptorsResponseMultiError is an error wrapping multiple validation errors returned by FileDescriptorsResponse.ValidateAll() if the designated constraints aren't met.

func (FileDescriptorsResponseMultiError) AllErrors

func (m FileDescriptorsResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (FileDescriptorsResponseMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type FileDescriptorsResponseValidationError

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

FileDescriptorsResponseValidationError is the validation error returned by FileDescriptorsResponse.Validate if the designated constraints aren't met.

func (FileDescriptorsResponseValidationError) Cause

Cause function returns cause value.

func (FileDescriptorsResponseValidationError) Error

Error satisfies the builtin error interface

func (FileDescriptorsResponseValidationError) ErrorName

ErrorName returns error name.

func (FileDescriptorsResponseValidationError) Field

Field function returns field value.

func (FileDescriptorsResponseValidationError) Key

Key function returns key value.

func (FileDescriptorsResponseValidationError) Reason

Reason function returns reason value.

type GetRequest

type GetRequest struct {
	Search    *anypb.Any             `protobuf:"bytes,1,opt,name=search,proto3" json:"search,omitempty"`
	Filter    *filters.Expression    `protobuf:"bytes,2,opt,name=filter,proto3" json:"filter,omitempty"`
	Paging    *Paging                `protobuf:"bytes,3,opt,name=paging,proto3" json:"paging,omitempty"`
	FieldMask *fieldmaskpb.FieldMask `protobuf:"bytes,4,opt,name=field_mask,json=fieldMask,proto3" json:"field_mask,omitempty"`
	// contains filtered or unexported fields
}

func (*GetRequest) CloneMessageVT

func (m *GetRequest) CloneMessageVT() proto.Message

func (*GetRequest) CloneVT

func (m *GetRequest) CloneVT() *GetRequest

func (*GetRequest) Default

func (x *GetRequest) Default()

func (*GetRequest) Descriptor deprecated

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

Deprecated: Use GetRequest.ProtoReflect.Descriptor instead.

func (*GetRequest) EqualMessageVT

func (this *GetRequest) EqualMessageVT(thatMsg proto.Message) bool

func (*GetRequest) EqualVT

func (this *GetRequest) EqualVT(that *GetRequest) bool

func (*GetRequest) GetFieldMask

func (x *GetRequest) GetFieldMask() *fieldmaskpb.FieldMask

func (*GetRequest) GetFilter

func (x *GetRequest) GetFilter() *filters.Expression

func (*GetRequest) GetPaging

func (x *GetRequest) GetPaging() *Paging

func (*GetRequest) GetSearch

func (x *GetRequest) GetSearch() *anypb.Any

func (*GetRequest) MarshalToSizedBufferVT

func (m *GetRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*GetRequest) MarshalToVT

func (m *GetRequest) MarshalToVT(dAtA []byte) (int, error)

func (*GetRequest) MarshalVT

func (m *GetRequest) MarshalVT() (dAtA []byte, err error)

func (*GetRequest) ProtoMessage

func (*GetRequest) ProtoMessage()

func (*GetRequest) ProtoReflect

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

func (*GetRequest) Reset

func (x *GetRequest) Reset()

func (*GetRequest) SizeVT

func (m *GetRequest) SizeVT() (n int)

func (*GetRequest) String

func (x *GetRequest) String() string

func (*GetRequest) UnmarshalVT

func (m *GetRequest) UnmarshalVT(dAtA []byte) error

func (*GetRequest) Validate

func (m *GetRequest) Validate() error

Validate checks the field values on GetRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*GetRequest) ValidateAll

func (m *GetRequest) ValidateAll() error

ValidateAll checks the field values on GetRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in GetRequestMultiError, or nil if none found.

type GetRequestMultiError

type GetRequestMultiError []error

GetRequestMultiError is an error wrapping multiple validation errors returned by GetRequest.ValidateAll() if the designated constraints aren't met.

func (GetRequestMultiError) AllErrors

func (m GetRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (GetRequestMultiError) Error

func (m GetRequestMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type GetRequestValidationError

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

GetRequestValidationError is the validation error returned by GetRequest.Validate if the designated constraints aren't met.

func (GetRequestValidationError) Cause

func (e GetRequestValidationError) Cause() error

Cause function returns cause value.

func (GetRequestValidationError) Error

Error satisfies the builtin error interface

func (GetRequestValidationError) ErrorName

func (e GetRequestValidationError) ErrorName() string

ErrorName returns error name.

func (GetRequestValidationError) Field

Field function returns field value.

func (GetRequestValidationError) Key

Key function returns key value.

func (GetRequestValidationError) Reason

func (e GetRequestValidationError) Reason() string

Reason function returns reason value.

type GetResponse

type GetResponse struct {
	Results []*anypb.Any `protobuf:"bytes,1,rep,name=results,proto3" json:"results,omitempty"`
	Paging  *PagingInfo  `protobuf:"bytes,2,opt,name=paging,proto3" json:"paging,omitempty"`
	// contains filtered or unexported fields
}

func (*GetResponse) CloneMessageVT

func (m *GetResponse) CloneMessageVT() proto.Message

func (*GetResponse) CloneVT

func (m *GetResponse) CloneVT() *GetResponse

func (*GetResponse) Default

func (x *GetResponse) Default()

func (*GetResponse) Descriptor deprecated

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

Deprecated: Use GetResponse.ProtoReflect.Descriptor instead.

func (*GetResponse) EqualMessageVT

func (this *GetResponse) EqualMessageVT(thatMsg proto.Message) bool

func (*GetResponse) EqualVT

func (this *GetResponse) EqualVT(that *GetResponse) bool

func (*GetResponse) GetPaging

func (x *GetResponse) GetPaging() *PagingInfo

func (*GetResponse) GetResults

func (x *GetResponse) GetResults() []*anypb.Any

func (*GetResponse) MarshalToSizedBufferVT

func (m *GetResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*GetResponse) MarshalToVT

func (m *GetResponse) MarshalToVT(dAtA []byte) (int, error)

func (*GetResponse) MarshalVT

func (m *GetResponse) MarshalVT() (dAtA []byte, err error)

func (*GetResponse) ProtoMessage

func (*GetResponse) ProtoMessage()

func (*GetResponse) ProtoReflect

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

func (*GetResponse) Reset

func (x *GetResponse) Reset()

func (*GetResponse) SizeVT

func (m *GetResponse) SizeVT() (n int)

func (*GetResponse) String

func (x *GetResponse) String() string

func (*GetResponse) UnmarshalVT

func (m *GetResponse) UnmarshalVT(dAtA []byte) error

func (*GetResponse) Validate

func (m *GetResponse) Validate() error

Validate checks the field values on GetResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*GetResponse) ValidateAll

func (m *GetResponse) ValidateAll() error

ValidateAll checks the field values on GetResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in GetResponseMultiError, or nil if none found.

type GetResponseMultiError

type GetResponseMultiError []error

GetResponseMultiError is an error wrapping multiple validation errors returned by GetResponse.ValidateAll() if the designated constraints aren't met.

func (GetResponseMultiError) AllErrors

func (m GetResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (GetResponseMultiError) Error

func (m GetResponseMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type GetResponseValidationError

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

GetResponseValidationError is the validation error returned by GetResponse.Validate if the designated constraints aren't met.

func (GetResponseValidationError) Cause

Cause function returns cause value.

func (GetResponseValidationError) Error

Error satisfies the builtin error interface

func (GetResponseValidationError) ErrorName

func (e GetResponseValidationError) ErrorName() string

ErrorName returns error name.

func (GetResponseValidationError) Field

Field function returns field value.

func (GetResponseValidationError) Key

Key function returns key value.

func (GetResponseValidationError) Reason

Reason function returns reason value.

type MessageDiff

type MessageDiff struct {
	Fields map[string]*FieldDiff `` /* 153-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*MessageDiff) CloneMessageVT

func (m *MessageDiff) CloneMessageVT() proto.Message

func (*MessageDiff) CloneVT

func (m *MessageDiff) CloneVT() *MessageDiff

func (*MessageDiff) Default

func (x *MessageDiff) Default()

func (*MessageDiff) Descriptor deprecated

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

Deprecated: Use MessageDiff.ProtoReflect.Descriptor instead.

func (*MessageDiff) EqualMessageVT

func (this *MessageDiff) EqualMessageVT(thatMsg proto.Message) bool

func (*MessageDiff) EqualVT

func (this *MessageDiff) EqualVT(that *MessageDiff) bool

func (*MessageDiff) GetFields

func (x *MessageDiff) GetFields() map[string]*FieldDiff

func (*MessageDiff) MarshalToSizedBufferVT

func (m *MessageDiff) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*MessageDiff) MarshalToVT

func (m *MessageDiff) MarshalToVT(dAtA []byte) (int, error)

func (*MessageDiff) MarshalVT

func (m *MessageDiff) MarshalVT() (dAtA []byte, err error)

func (*MessageDiff) ProtoMessage

func (*MessageDiff) ProtoMessage()

func (*MessageDiff) ProtoReflect

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

func (*MessageDiff) Reset

func (x *MessageDiff) Reset()

func (*MessageDiff) SizeVT

func (m *MessageDiff) SizeVT() (n int)

func (*MessageDiff) String

func (x *MessageDiff) String() string

func (*MessageDiff) UnmarshalVT

func (m *MessageDiff) UnmarshalVT(dAtA []byte) error

func (*MessageDiff) Validate

func (m *MessageDiff) Validate() error

Validate checks the field values on MessageDiff with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*MessageDiff) ValidateAll

func (m *MessageDiff) ValidateAll() error

ValidateAll checks the field values on MessageDiff with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in MessageDiffMultiError, or nil if none found.

type MessageDiffMultiError

type MessageDiffMultiError []error

MessageDiffMultiError is an error wrapping multiple validation errors returned by MessageDiff.ValidateAll() if the designated constraints aren't met.

func (MessageDiffMultiError) AllErrors

func (m MessageDiffMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (MessageDiffMultiError) Error

func (m MessageDiffMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type MessageDiffValidationError

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

MessageDiffValidationError is the validation error returned by MessageDiff.Validate if the designated constraints aren't met.

func (MessageDiffValidationError) Cause

Cause function returns cause value.

func (MessageDiffValidationError) Error

Error satisfies the builtin error interface

func (MessageDiffValidationError) ErrorName

func (e MessageDiffValidationError) ErrorName() string

ErrorName returns error name.

func (MessageDiffValidationError) Field

Field function returns field value.

func (MessageDiffValidationError) Key

Key function returns key value.

func (MessageDiffValidationError) Reason

Reason function returns reason value.

type Paging

type Paging struct {
	Limit  uint64 `protobuf:"varint,1,opt,name=limit,proto3" json:"limit,omitempty"`
	Offset uint64 `protobuf:"varint,2,opt,name=offset,proto3" json:"offset,omitempty"`
	// token is an optional continuation token, used internally speedup queries
	Token string `protobuf:"bytes,3,opt,name=token,proto3" json:"token,omitempty"`
	// contains filtered or unexported fields
}

func (*Paging) CloneMessageVT

func (m *Paging) CloneMessageVT() proto.Message

func (*Paging) CloneVT

func (m *Paging) CloneVT() *Paging

func (*Paging) Default

func (x *Paging) Default()

func (*Paging) Descriptor deprecated

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

Deprecated: Use Paging.ProtoReflect.Descriptor instead.

func (*Paging) EqualMessageVT

func (this *Paging) EqualMessageVT(thatMsg proto.Message) bool

func (*Paging) EqualVT

func (this *Paging) EqualVT(that *Paging) bool

func (*Paging) GetLimit

func (x *Paging) GetLimit() uint64

func (*Paging) GetOffset

func (x *Paging) GetOffset() uint64

func (*Paging) GetToken

func (x *Paging) GetToken() string

func (*Paging) MarshalToSizedBufferVT

func (m *Paging) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*Paging) MarshalToVT

func (m *Paging) MarshalToVT(dAtA []byte) (int, error)

func (*Paging) MarshalVT

func (m *Paging) MarshalVT() (dAtA []byte, err error)

func (*Paging) ProtoMessage

func (*Paging) ProtoMessage()

func (*Paging) ProtoReflect

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

func (*Paging) Reset

func (x *Paging) Reset()

func (*Paging) SizeVT

func (m *Paging) SizeVT() (n int)

func (*Paging) String

func (x *Paging) String() string

func (*Paging) UnmarshalVT

func (m *Paging) UnmarshalVT(dAtA []byte) error

func (*Paging) Validate

func (m *Paging) Validate() error

Validate checks the field values on Paging with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*Paging) ValidateAll

func (m *Paging) ValidateAll() error

ValidateAll checks the field values on Paging with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in PagingMultiError, or nil if none found.

type PagingInfo

type PagingInfo struct {
	HasNext bool   `protobuf:"varint,1,opt,name=has_next,json=hasNext,proto3" json:"has_next,omitempty"`
	Token   string `protobuf:"bytes,2,opt,name=token,proto3" json:"token,omitempty"`
	// contains filtered or unexported fields
}

func (*PagingInfo) CloneMessageVT

func (m *PagingInfo) CloneMessageVT() proto.Message

func (*PagingInfo) CloneVT

func (m *PagingInfo) CloneVT() *PagingInfo

func (*PagingInfo) Default

func (x *PagingInfo) Default()

func (*PagingInfo) Descriptor deprecated

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

Deprecated: Use PagingInfo.ProtoReflect.Descriptor instead.

func (*PagingInfo) EqualMessageVT

func (this *PagingInfo) EqualMessageVT(thatMsg proto.Message) bool

func (*PagingInfo) EqualVT

func (this *PagingInfo) EqualVT(that *PagingInfo) bool

func (*PagingInfo) GetHasNext

func (x *PagingInfo) GetHasNext() bool

func (*PagingInfo) GetToken

func (x *PagingInfo) GetToken() string

func (*PagingInfo) MarshalToSizedBufferVT

func (m *PagingInfo) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*PagingInfo) MarshalToVT

func (m *PagingInfo) MarshalToVT(dAtA []byte) (int, error)

func (*PagingInfo) MarshalVT

func (m *PagingInfo) MarshalVT() (dAtA []byte, err error)

func (*PagingInfo) ProtoMessage

func (*PagingInfo) ProtoMessage()

func (*PagingInfo) ProtoReflect

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

func (*PagingInfo) Reset

func (x *PagingInfo) Reset()

func (*PagingInfo) SizeVT

func (m *PagingInfo) SizeVT() (n int)

func (*PagingInfo) String

func (x *PagingInfo) String() string

func (*PagingInfo) UnmarshalVT

func (m *PagingInfo) UnmarshalVT(dAtA []byte) error

func (*PagingInfo) Validate

func (m *PagingInfo) Validate() error

Validate checks the field values on PagingInfo with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*PagingInfo) ValidateAll

func (m *PagingInfo) ValidateAll() error

ValidateAll checks the field values on PagingInfo with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in PagingInfoMultiError, or nil if none found.

type PagingInfoMultiError

type PagingInfoMultiError []error

PagingInfoMultiError is an error wrapping multiple validation errors returned by PagingInfo.ValidateAll() if the designated constraints aren't met.

func (PagingInfoMultiError) AllErrors

func (m PagingInfoMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (PagingInfoMultiError) Error

func (m PagingInfoMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type PagingInfoValidationError

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

PagingInfoValidationError is the validation error returned by PagingInfo.Validate if the designated constraints aren't met.

func (PagingInfoValidationError) Cause

func (e PagingInfoValidationError) Cause() error

Cause function returns cause value.

func (PagingInfoValidationError) Error

Error satisfies the builtin error interface

func (PagingInfoValidationError) ErrorName

func (e PagingInfoValidationError) ErrorName() string

ErrorName returns error name.

func (PagingInfoValidationError) Field

Field function returns field value.

func (PagingInfoValidationError) Key

Key function returns key value.

func (PagingInfoValidationError) Reason

func (e PagingInfoValidationError) Reason() string

Reason function returns reason value.

type PagingMultiError

type PagingMultiError []error

PagingMultiError is an error wrapping multiple validation errors returned by Paging.ValidateAll() if the designated constraints aren't met.

func (PagingMultiError) AllErrors

func (m PagingMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (PagingMultiError) Error

func (m PagingMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type PagingValidationError

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

PagingValidationError is the validation error returned by Paging.Validate if the designated constraints aren't met.

func (PagingValidationError) Cause

func (e PagingValidationError) Cause() error

Cause function returns cause value.

func (PagingValidationError) Error

func (e PagingValidationError) Error() string

Error satisfies the builtin error interface

func (PagingValidationError) ErrorName

func (e PagingValidationError) ErrorName() string

ErrorName returns error name.

func (PagingValidationError) Field

func (e PagingValidationError) Field() string

Field function returns field value.

func (PagingValidationError) Key

func (e PagingValidationError) Key() bool

Key function returns key value.

func (PagingValidationError) Reason

func (e PagingValidationError) Reason() string

Reason function returns reason value.

type ProtoDBClient

type ProtoDBClient interface {
	// Get returns a list of results for the given search.
	Get(ctx context.Context, in *GetRequest, opts ...grpc.CallOption) (*GetResponse, error)
	// Set store the given Message in the Database applying the given field mask.
	// It returns the stored message.
	Set(ctx context.Context, in *SetRequest, opts ...grpc.CallOption) (*SetResponse, error)
	// Delete deletes the given Message.
	Delete(ctx context.Context, in *DeleteRequest, opts ...grpc.CallOption) (*DeleteResponse, error)
	// Tx creates a transaction.
	Tx(ctx context.Context, opts ...grpc.CallOption) (ProtoDB_TxClient, error)
	// Watch returns a stream of events for the given search.
	// A first empty event is sent to indicate that the watch is ready.
	// This is needed by clients that cannot create a stream before receiving
	// a first message from the server, e.g. rust's tonic.
	Watch(ctx context.Context, in *WatchRequest, opts ...grpc.CallOption) (ProtoDB_WatchClient, error)
	// Register registers the given file descriptor.
	Register(ctx context.Context, in *RegisterRequest, opts ...grpc.CallOption) (*RegisterResponse, error)
	// Descriptors returns the current schema Descriptors.
	Descriptors(ctx context.Context, in *DescriptorsRequest, opts ...grpc.CallOption) (*DescriptorsResponse, error)
	// FileDescriptors returns the current schema FileDescriptors.
	FileDescriptors(ctx context.Context, in *FileDescriptorsRequest, opts ...grpc.CallOption) (*FileDescriptorsResponse, error)
}

ProtoDBClient is the client API for ProtoDB service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

func NewProtoDBClient

func NewProtoDBClient(cc grpc.ClientConnInterface) ProtoDBClient

type ProtoDBServer

type ProtoDBServer interface {
	// Get returns a list of results for the given search.
	Get(context.Context, *GetRequest) (*GetResponse, error)
	// Set store the given Message in the Database applying the given field mask.
	// It returns the stored message.
	Set(context.Context, *SetRequest) (*SetResponse, error)
	// Delete deletes the given Message.
	Delete(context.Context, *DeleteRequest) (*DeleteResponse, error)
	// Tx creates a transaction.
	Tx(ProtoDB_TxServer) error
	// Watch returns a stream of events for the given search.
	// A first empty event is sent to indicate that the watch is ready.
	// This is needed by clients that cannot create a stream before receiving
	// a first message from the server, e.g. rust's tonic.
	Watch(*WatchRequest, ProtoDB_WatchServer) error
	// Register registers the given file descriptor.
	Register(context.Context, *RegisterRequest) (*RegisterResponse, error)
	// Descriptors returns the current schema Descriptors.
	Descriptors(context.Context, *DescriptorsRequest) (*DescriptorsResponse, error)
	// FileDescriptors returns the current schema FileDescriptors.
	FileDescriptors(context.Context, *FileDescriptorsRequest) (*FileDescriptorsResponse, error)
	// contains filtered or unexported methods
}

ProtoDBServer is the server API for ProtoDB service. All implementations must embed UnimplementedProtoDBServer for forward compatibility

func NewProtoDBProxy

func NewProtoDBProxy(c ProtoDBClient, opts ...grpc.CallOption) ProtoDBServer

type ProtoDB_TxClient

type ProtoDB_TxClient interface {
	Send(*TxRequest) error
	Recv() (*TxResponse, error)
	grpc.ClientStream
}

type ProtoDB_TxServer

type ProtoDB_TxServer interface {
	Send(*TxResponse) error
	Recv() (*TxRequest, error)
	grpc.ServerStream
}

type ProtoDB_WatchClient

type ProtoDB_WatchClient interface {
	Recv() (*WatchEvent, error)
	grpc.ClientStream
}

type ProtoDB_WatchServer

type ProtoDB_WatchServer interface {
	Send(*WatchEvent) error
	grpc.ServerStream
}

type RegisterRequest

type RegisterRequest struct {
	File *descriptorpb.FileDescriptorProto `protobuf:"bytes,1,opt,name=file,proto3" json:"file,omitempty"`
	// contains filtered or unexported fields
}

func (*RegisterRequest) CloneMessageVT

func (m *RegisterRequest) CloneMessageVT() proto.Message

func (*RegisterRequest) CloneVT

func (m *RegisterRequest) CloneVT() *RegisterRequest

func (*RegisterRequest) Default

func (x *RegisterRequest) Default()

func (*RegisterRequest) Descriptor deprecated

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

Deprecated: Use RegisterRequest.ProtoReflect.Descriptor instead.

func (*RegisterRequest) EqualMessageVT

func (this *RegisterRequest) EqualMessageVT(thatMsg proto.Message) bool

func (*RegisterRequest) EqualVT

func (this *RegisterRequest) EqualVT(that *RegisterRequest) bool

func (*RegisterRequest) GetFile

func (*RegisterRequest) MarshalToSizedBufferVT

func (m *RegisterRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*RegisterRequest) MarshalToVT

func (m *RegisterRequest) MarshalToVT(dAtA []byte) (int, error)

func (*RegisterRequest) MarshalVT

func (m *RegisterRequest) MarshalVT() (dAtA []byte, err error)

func (*RegisterRequest) ProtoMessage

func (*RegisterRequest) ProtoMessage()

func (*RegisterRequest) ProtoReflect

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

func (*RegisterRequest) Reset

func (x *RegisterRequest) Reset()

func (*RegisterRequest) SizeVT

func (m *RegisterRequest) SizeVT() (n int)

func (*RegisterRequest) String

func (x *RegisterRequest) String() string

func (*RegisterRequest) UnmarshalVT

func (m *RegisterRequest) UnmarshalVT(dAtA []byte) error

func (*RegisterRequest) Validate

func (m *RegisterRequest) Validate() error

Validate checks the field values on RegisterRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*RegisterRequest) ValidateAll

func (m *RegisterRequest) ValidateAll() error

ValidateAll checks the field values on RegisterRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in RegisterRequestMultiError, or nil if none found.

type RegisterRequestMultiError

type RegisterRequestMultiError []error

RegisterRequestMultiError is an error wrapping multiple validation errors returned by RegisterRequest.ValidateAll() if the designated constraints aren't met.

func (RegisterRequestMultiError) AllErrors

func (m RegisterRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (RegisterRequestMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type RegisterRequestValidationError

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

RegisterRequestValidationError is the validation error returned by RegisterRequest.Validate if the designated constraints aren't met.

func (RegisterRequestValidationError) Cause

Cause function returns cause value.

func (RegisterRequestValidationError) Error

Error satisfies the builtin error interface

func (RegisterRequestValidationError) ErrorName

func (e RegisterRequestValidationError) ErrorName() string

ErrorName returns error name.

func (RegisterRequestValidationError) Field

Field function returns field value.

func (RegisterRequestValidationError) Key

Key function returns key value.

func (RegisterRequestValidationError) Reason

Reason function returns reason value.

type RegisterResponse

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

func (*RegisterResponse) CloneMessageVT

func (m *RegisterResponse) CloneMessageVT() proto.Message

func (*RegisterResponse) CloneVT

func (m *RegisterResponse) CloneVT() *RegisterResponse

func (*RegisterResponse) Default

func (x *RegisterResponse) Default()

func (*RegisterResponse) Descriptor deprecated

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

Deprecated: Use RegisterResponse.ProtoReflect.Descriptor instead.

func (*RegisterResponse) EqualMessageVT

func (this *RegisterResponse) EqualMessageVT(thatMsg proto.Message) bool

func (*RegisterResponse) EqualVT

func (this *RegisterResponse) EqualVT(that *RegisterResponse) bool

func (*RegisterResponse) MarshalToSizedBufferVT

func (m *RegisterResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*RegisterResponse) MarshalToVT

func (m *RegisterResponse) MarshalToVT(dAtA []byte) (int, error)

func (*RegisterResponse) MarshalVT

func (m *RegisterResponse) MarshalVT() (dAtA []byte, err error)

func (*RegisterResponse) ProtoMessage

func (*RegisterResponse) ProtoMessage()

func (*RegisterResponse) ProtoReflect

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

func (*RegisterResponse) Reset

func (x *RegisterResponse) Reset()

func (*RegisterResponse) SizeVT

func (m *RegisterResponse) SizeVT() (n int)

func (*RegisterResponse) String

func (x *RegisterResponse) String() string

func (*RegisterResponse) UnmarshalVT

func (m *RegisterResponse) UnmarshalVT(dAtA []byte) error

func (*RegisterResponse) Validate

func (m *RegisterResponse) Validate() error

Validate checks the field values on RegisterResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*RegisterResponse) ValidateAll

func (m *RegisterResponse) ValidateAll() error

ValidateAll checks the field values on RegisterResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in RegisterResponseMultiError, or nil if none found.

type RegisterResponseMultiError

type RegisterResponseMultiError []error

RegisterResponseMultiError is an error wrapping multiple validation errors returned by RegisterResponse.ValidateAll() if the designated constraints aren't met.

func (RegisterResponseMultiError) AllErrors

func (m RegisterResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (RegisterResponseMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type RegisterResponseValidationError

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

RegisterResponseValidationError is the validation error returned by RegisterResponse.Validate if the designated constraints aren't met.

func (RegisterResponseValidationError) Cause

Cause function returns cause value.

func (RegisterResponseValidationError) Error

Error satisfies the builtin error interface

func (RegisterResponseValidationError) ErrorName

ErrorName returns error name.

func (RegisterResponseValidationError) Field

Field function returns field value.

func (RegisterResponseValidationError) Key

Key function returns key value.

func (RegisterResponseValidationError) Reason

Reason function returns reason value.

type SetRequest

type SetRequest struct {
	Payload   *anypb.Any             `protobuf:"bytes,1,opt,name=payload,proto3" json:"payload,omitempty"`
	TTL       *durationpb.Duration   `protobuf:"bytes,2,opt,name=ttl,proto3" json:"ttl,omitempty"`
	FieldMask *fieldmaskpb.FieldMask `protobuf:"bytes,3,opt,name=field_mask,json=fieldMask,proto3" json:"field_mask,omitempty"`
	// contains filtered or unexported fields
}

func (*SetRequest) CloneMessageVT

func (m *SetRequest) CloneMessageVT() proto.Message

func (*SetRequest) CloneVT

func (m *SetRequest) CloneVT() *SetRequest

func (*SetRequest) Default

func (x *SetRequest) Default()

func (*SetRequest) Descriptor deprecated

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

Deprecated: Use SetRequest.ProtoReflect.Descriptor instead.

func (*SetRequest) EqualMessageVT

func (this *SetRequest) EqualMessageVT(thatMsg proto.Message) bool

func (*SetRequest) EqualVT

func (this *SetRequest) EqualVT(that *SetRequest) bool

func (*SetRequest) GetFieldMask

func (x *SetRequest) GetFieldMask() *fieldmaskpb.FieldMask

func (*SetRequest) GetPayload

func (x *SetRequest) GetPayload() *anypb.Any

func (*SetRequest) GetTTL

func (x *SetRequest) GetTTL() *durationpb.Duration

func (*SetRequest) MarshalToSizedBufferVT

func (m *SetRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*SetRequest) MarshalToVT

func (m *SetRequest) MarshalToVT(dAtA []byte) (int, error)

func (*SetRequest) MarshalVT

func (m *SetRequest) MarshalVT() (dAtA []byte, err error)

func (*SetRequest) ProtoMessage

func (*SetRequest) ProtoMessage()

func (*SetRequest) ProtoReflect

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

func (*SetRequest) Reset

func (x *SetRequest) Reset()

func (*SetRequest) SizeVT

func (m *SetRequest) SizeVT() (n int)

func (*SetRequest) String

func (x *SetRequest) String() string

func (*SetRequest) UnmarshalVT

func (m *SetRequest) UnmarshalVT(dAtA []byte) error

func (*SetRequest) Validate

func (m *SetRequest) Validate() error

Validate checks the field values on SetRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*SetRequest) ValidateAll

func (m *SetRequest) ValidateAll() error

ValidateAll checks the field values on SetRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in SetRequestMultiError, or nil if none found.

type SetRequestMultiError

type SetRequestMultiError []error

SetRequestMultiError is an error wrapping multiple validation errors returned by SetRequest.ValidateAll() if the designated constraints aren't met.

func (SetRequestMultiError) AllErrors

func (m SetRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (SetRequestMultiError) Error

func (m SetRequestMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type SetRequestValidationError

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

SetRequestValidationError is the validation error returned by SetRequest.Validate if the designated constraints aren't met.

func (SetRequestValidationError) Cause

func (e SetRequestValidationError) Cause() error

Cause function returns cause value.

func (SetRequestValidationError) Error

Error satisfies the builtin error interface

func (SetRequestValidationError) ErrorName

func (e SetRequestValidationError) ErrorName() string

ErrorName returns error name.

func (SetRequestValidationError) Field

Field function returns field value.

func (SetRequestValidationError) Key

Key function returns key value.

func (SetRequestValidationError) Reason

func (e SetRequestValidationError) Reason() string

Reason function returns reason value.

type SetResponse

type SetResponse struct {
	Result *anypb.Any `protobuf:"bytes,1,opt,name=result,proto3" json:"result,omitempty"`
	// contains filtered or unexported fields
}

func (*SetResponse) CloneMessageVT

func (m *SetResponse) CloneMessageVT() proto.Message

func (*SetResponse) CloneVT

func (m *SetResponse) CloneVT() *SetResponse

func (*SetResponse) Default

func (x *SetResponse) Default()

func (*SetResponse) Descriptor deprecated

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

Deprecated: Use SetResponse.ProtoReflect.Descriptor instead.

func (*SetResponse) EqualMessageVT

func (this *SetResponse) EqualMessageVT(thatMsg proto.Message) bool

func (*SetResponse) EqualVT

func (this *SetResponse) EqualVT(that *SetResponse) bool

func (*SetResponse) GetResult

func (x *SetResponse) GetResult() *anypb.Any

func (*SetResponse) MarshalToSizedBufferVT

func (m *SetResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*SetResponse) MarshalToVT

func (m *SetResponse) MarshalToVT(dAtA []byte) (int, error)

func (*SetResponse) MarshalVT

func (m *SetResponse) MarshalVT() (dAtA []byte, err error)

func (*SetResponse) ProtoMessage

func (*SetResponse) ProtoMessage()

func (*SetResponse) ProtoReflect

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

func (*SetResponse) Reset

func (x *SetResponse) Reset()

func (*SetResponse) SizeVT

func (m *SetResponse) SizeVT() (n int)

func (*SetResponse) String

func (x *SetResponse) String() string

func (*SetResponse) UnmarshalVT

func (m *SetResponse) UnmarshalVT(dAtA []byte) error

func (*SetResponse) Validate

func (m *SetResponse) Validate() error

Validate checks the field values on SetResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*SetResponse) ValidateAll

func (m *SetResponse) ValidateAll() error

ValidateAll checks the field values on SetResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in SetResponseMultiError, or nil if none found.

type SetResponseMultiError

type SetResponseMultiError []error

SetResponseMultiError is an error wrapping multiple validation errors returned by SetResponse.ValidateAll() if the designated constraints aren't met.

func (SetResponseMultiError) AllErrors

func (m SetResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (SetResponseMultiError) Error

func (m SetResponseMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type SetResponseValidationError

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

SetResponseValidationError is the validation error returned by SetResponse.Validate if the designated constraints aren't met.

func (SetResponseValidationError) Cause

Cause function returns cause value.

func (SetResponseValidationError) Error

Error satisfies the builtin error interface

func (SetResponseValidationError) ErrorName

func (e SetResponseValidationError) ErrorName() string

ErrorName returns error name.

func (SetResponseValidationError) Field

Field function returns field value.

func (SetResponseValidationError) Key

Key function returns key value.

func (SetResponseValidationError) Reason

Reason function returns reason value.

type TxRequest

type TxRequest struct {

	// Types that are assignable to Request:
	//
	//	*TxRequest_Get
	//	*TxRequest_Set
	//	*TxRequest_Delete
	//	*TxRequest_Commit
	Request isTxRequest_Request `protobuf_oneof:"request"`
	// contains filtered or unexported fields
}

func (*TxRequest) CloneMessageVT

func (m *TxRequest) CloneMessageVT() proto.Message

func (*TxRequest) CloneVT

func (m *TxRequest) CloneVT() *TxRequest

func (*TxRequest) Default

func (x *TxRequest) Default()

func (*TxRequest) Descriptor deprecated

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

Deprecated: Use TxRequest.ProtoReflect.Descriptor instead.

func (*TxRequest) EqualMessageVT

func (this *TxRequest) EqualMessageVT(thatMsg proto.Message) bool

func (*TxRequest) EqualVT

func (this *TxRequest) EqualVT(that *TxRequest) bool

func (*TxRequest) GetCommit

func (x *TxRequest) GetCommit() *wrapperspb.BoolValue

func (*TxRequest) GetDelete

func (x *TxRequest) GetDelete() *DeleteRequest

func (*TxRequest) GetGet

func (x *TxRequest) GetGet() *GetRequest

func (*TxRequest) GetRequest

func (m *TxRequest) GetRequest() isTxRequest_Request

func (*TxRequest) GetSet

func (x *TxRequest) GetSet() *SetRequest

func (*TxRequest) MarshalToSizedBufferVT

func (m *TxRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*TxRequest) MarshalToVT

func (m *TxRequest) MarshalToVT(dAtA []byte) (int, error)

func (*TxRequest) MarshalVT

func (m *TxRequest) MarshalVT() (dAtA []byte, err error)

func (*TxRequest) ProtoMessage

func (*TxRequest) ProtoMessage()

func (*TxRequest) ProtoReflect

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

func (*TxRequest) Reset

func (x *TxRequest) Reset()

func (*TxRequest) SizeVT

func (m *TxRequest) SizeVT() (n int)

func (*TxRequest) String

func (x *TxRequest) String() string

func (*TxRequest) UnmarshalVT

func (m *TxRequest) UnmarshalVT(dAtA []byte) error

func (*TxRequest) Validate

func (m *TxRequest) Validate() error

Validate checks the field values on TxRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*TxRequest) ValidateAll

func (m *TxRequest) ValidateAll() error

ValidateAll checks the field values on TxRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in TxRequestMultiError, or nil if none found.

type TxRequestMultiError

type TxRequestMultiError []error

TxRequestMultiError is an error wrapping multiple validation errors returned by TxRequest.ValidateAll() if the designated constraints aren't met.

func (TxRequestMultiError) AllErrors

func (m TxRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (TxRequestMultiError) Error

func (m TxRequestMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type TxRequestValidationError

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

TxRequestValidationError is the validation error returned by TxRequest.Validate if the designated constraints aren't met.

func (TxRequestValidationError) Cause

func (e TxRequestValidationError) Cause() error

Cause function returns cause value.

func (TxRequestValidationError) Error

func (e TxRequestValidationError) Error() string

Error satisfies the builtin error interface

func (TxRequestValidationError) ErrorName

func (e TxRequestValidationError) ErrorName() string

ErrorName returns error name.

func (TxRequestValidationError) Field

func (e TxRequestValidationError) Field() string

Field function returns field value.

func (TxRequestValidationError) Key

Key function returns key value.

func (TxRequestValidationError) Reason

func (e TxRequestValidationError) Reason() string

Reason function returns reason value.

type TxRequest_Commit

type TxRequest_Commit struct {
	Commit *wrapperspb.BoolValue `protobuf:"bytes,4,opt,name=commit,proto3,oneof"`
}

func (*TxRequest_Commit) CloneVT

func (m *TxRequest_Commit) CloneVT() isTxRequest_Request

func (*TxRequest_Commit) EqualVT

func (this *TxRequest_Commit) EqualVT(thatIface isTxRequest_Request) bool

func (*TxRequest_Commit) MarshalToSizedBufferVT

func (m *TxRequest_Commit) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*TxRequest_Commit) MarshalToVT

func (m *TxRequest_Commit) MarshalToVT(dAtA []byte) (int, error)

func (*TxRequest_Commit) SizeVT

func (m *TxRequest_Commit) SizeVT() (n int)

type TxRequest_Delete

type TxRequest_Delete struct {
	Delete *DeleteRequest `protobuf:"bytes,3,opt,name=delete,proto3,oneof"`
}

func (*TxRequest_Delete) CloneVT

func (m *TxRequest_Delete) CloneVT() isTxRequest_Request

func (*TxRequest_Delete) EqualVT

func (this *TxRequest_Delete) EqualVT(thatIface isTxRequest_Request) bool

func (*TxRequest_Delete) MarshalToSizedBufferVT

func (m *TxRequest_Delete) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*TxRequest_Delete) MarshalToVT

func (m *TxRequest_Delete) MarshalToVT(dAtA []byte) (int, error)

func (*TxRequest_Delete) SizeVT

func (m *TxRequest_Delete) SizeVT() (n int)

type TxRequest_Get

type TxRequest_Get struct {
	Get *GetRequest `protobuf:"bytes,1,opt,name=get,proto3,oneof"`
}

func (*TxRequest_Get) CloneVT

func (m *TxRequest_Get) CloneVT() isTxRequest_Request

func (*TxRequest_Get) EqualVT

func (this *TxRequest_Get) EqualVT(thatIface isTxRequest_Request) bool

func (*TxRequest_Get) MarshalToSizedBufferVT

func (m *TxRequest_Get) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*TxRequest_Get) MarshalToVT

func (m *TxRequest_Get) MarshalToVT(dAtA []byte) (int, error)

func (*TxRequest_Get) SizeVT

func (m *TxRequest_Get) SizeVT() (n int)

type TxRequest_Set

type TxRequest_Set struct {
	Set *SetRequest `protobuf:"bytes,2,opt,name=set,proto3,oneof"`
}

func (*TxRequest_Set) CloneVT

func (m *TxRequest_Set) CloneVT() isTxRequest_Request

func (*TxRequest_Set) EqualVT

func (this *TxRequest_Set) EqualVT(thatIface isTxRequest_Request) bool

func (*TxRequest_Set) MarshalToSizedBufferVT

func (m *TxRequest_Set) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*TxRequest_Set) MarshalToVT

func (m *TxRequest_Set) MarshalToVT(dAtA []byte) (int, error)

func (*TxRequest_Set) SizeVT

func (m *TxRequest_Set) SizeVT() (n int)

type TxResponse

type TxResponse struct {

	// Types that are assignable to Response:
	//
	//	*TxResponse_Get
	//	*TxResponse_Set
	//	*TxResponse_Delete
	//	*TxResponse_Commit
	Response isTxResponse_Response `protobuf_oneof:"response"`
	// contains filtered or unexported fields
}

func (*TxResponse) CloneMessageVT

func (m *TxResponse) CloneMessageVT() proto.Message

func (*TxResponse) CloneVT

func (m *TxResponse) CloneVT() *TxResponse

func (*TxResponse) Default

func (x *TxResponse) Default()

func (*TxResponse) Descriptor deprecated

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

Deprecated: Use TxResponse.ProtoReflect.Descriptor instead.

func (*TxResponse) EqualMessageVT

func (this *TxResponse) EqualMessageVT(thatMsg proto.Message) bool

func (*TxResponse) EqualVT

func (this *TxResponse) EqualVT(that *TxResponse) bool

func (*TxResponse) GetCommit

func (x *TxResponse) GetCommit() *CommitResponse

func (*TxResponse) GetDelete

func (x *TxResponse) GetDelete() *DeleteResponse

func (*TxResponse) GetGet

func (x *TxResponse) GetGet() *GetResponse

func (*TxResponse) GetResponse

func (m *TxResponse) GetResponse() isTxResponse_Response

func (*TxResponse) GetSet

func (x *TxResponse) GetSet() *SetResponse

func (*TxResponse) MarshalToSizedBufferVT

func (m *TxResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*TxResponse) MarshalToVT

func (m *TxResponse) MarshalToVT(dAtA []byte) (int, error)

func (*TxResponse) MarshalVT

func (m *TxResponse) MarshalVT() (dAtA []byte, err error)

func (*TxResponse) ProtoMessage

func (*TxResponse) ProtoMessage()

func (*TxResponse) ProtoReflect

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

func (*TxResponse) Reset

func (x *TxResponse) Reset()

func (*TxResponse) SizeVT

func (m *TxResponse) SizeVT() (n int)

func (*TxResponse) String

func (x *TxResponse) String() string

func (*TxResponse) UnmarshalVT

func (m *TxResponse) UnmarshalVT(dAtA []byte) error

func (*TxResponse) Validate

func (m *TxResponse) Validate() error

Validate checks the field values on TxResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*TxResponse) ValidateAll

func (m *TxResponse) ValidateAll() error

ValidateAll checks the field values on TxResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in TxResponseMultiError, or nil if none found.

type TxResponseMultiError

type TxResponseMultiError []error

TxResponseMultiError is an error wrapping multiple validation errors returned by TxResponse.ValidateAll() if the designated constraints aren't met.

func (TxResponseMultiError) AllErrors

func (m TxResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (TxResponseMultiError) Error

func (m TxResponseMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type TxResponseValidationError

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

TxResponseValidationError is the validation error returned by TxResponse.Validate if the designated constraints aren't met.

func (TxResponseValidationError) Cause

func (e TxResponseValidationError) Cause() error

Cause function returns cause value.

func (TxResponseValidationError) Error

Error satisfies the builtin error interface

func (TxResponseValidationError) ErrorName

func (e TxResponseValidationError) ErrorName() string

ErrorName returns error name.

func (TxResponseValidationError) Field

Field function returns field value.

func (TxResponseValidationError) Key

Key function returns key value.

func (TxResponseValidationError) Reason

func (e TxResponseValidationError) Reason() string

Reason function returns reason value.

type TxResponse_Commit

type TxResponse_Commit struct {
	Commit *CommitResponse `protobuf:"bytes,4,opt,name=commit,proto3,oneof"`
}

func (*TxResponse_Commit) CloneVT

func (m *TxResponse_Commit) CloneVT() isTxResponse_Response

func (*TxResponse_Commit) EqualVT

func (this *TxResponse_Commit) EqualVT(thatIface isTxResponse_Response) bool

func (*TxResponse_Commit) MarshalToSizedBufferVT

func (m *TxResponse_Commit) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*TxResponse_Commit) MarshalToVT

func (m *TxResponse_Commit) MarshalToVT(dAtA []byte) (int, error)

func (*TxResponse_Commit) SizeVT

func (m *TxResponse_Commit) SizeVT() (n int)

type TxResponse_Delete

type TxResponse_Delete struct {
	Delete *DeleteResponse `protobuf:"bytes,3,opt,name=delete,proto3,oneof"`
}

func (*TxResponse_Delete) CloneVT

func (m *TxResponse_Delete) CloneVT() isTxResponse_Response

func (*TxResponse_Delete) EqualVT

func (this *TxResponse_Delete) EqualVT(thatIface isTxResponse_Response) bool

func (*TxResponse_Delete) MarshalToSizedBufferVT

func (m *TxResponse_Delete) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*TxResponse_Delete) MarshalToVT

func (m *TxResponse_Delete) MarshalToVT(dAtA []byte) (int, error)

func (*TxResponse_Delete) SizeVT

func (m *TxResponse_Delete) SizeVT() (n int)

type TxResponse_Get

type TxResponse_Get struct {
	Get *GetResponse `protobuf:"bytes,1,opt,name=get,proto3,oneof"`
}

func (*TxResponse_Get) CloneVT

func (m *TxResponse_Get) CloneVT() isTxResponse_Response

func (*TxResponse_Get) EqualVT

func (this *TxResponse_Get) EqualVT(thatIface isTxResponse_Response) bool

func (*TxResponse_Get) MarshalToSizedBufferVT

func (m *TxResponse_Get) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*TxResponse_Get) MarshalToVT

func (m *TxResponse_Get) MarshalToVT(dAtA []byte) (int, error)

func (*TxResponse_Get) SizeVT

func (m *TxResponse_Get) SizeVT() (n int)

type TxResponse_Set

type TxResponse_Set struct {
	Set *SetResponse `protobuf:"bytes,2,opt,name=set,proto3,oneof"`
}

func (*TxResponse_Set) CloneVT

func (m *TxResponse_Set) CloneVT() isTxResponse_Response

func (*TxResponse_Set) EqualVT

func (this *TxResponse_Set) EqualVT(thatIface isTxResponse_Response) bool

func (*TxResponse_Set) MarshalToSizedBufferVT

func (m *TxResponse_Set) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*TxResponse_Set) MarshalToVT

func (m *TxResponse_Set) MarshalToVT(dAtA []byte) (int, error)

func (*TxResponse_Set) SizeVT

func (m *TxResponse_Set) SizeVT() (n int)

type UnimplementedProtoDBServer

type UnimplementedProtoDBServer struct {
}

UnimplementedProtoDBServer must be embedded to have forward compatible implementations.

func (UnimplementedProtoDBServer) Delete

func (UnimplementedProtoDBServer) Descriptors

func (UnimplementedProtoDBServer) FileDescriptors

func (UnimplementedProtoDBServer) Get

func (UnimplementedProtoDBServer) Register

func (UnimplementedProtoDBServer) Set

func (UnimplementedProtoDBServer) Tx

func (UnimplementedProtoDBServer) Watch

type UnsafeProtoDBServer

type UnsafeProtoDBServer interface {
	// contains filtered or unexported methods
}

UnsafeProtoDBServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to ProtoDBServer will result in compilation errors.

type WatchEvent

type WatchEvent struct {
	Type WatchEventType `protobuf:"varint,1,opt,name=type,proto3,enum=linka.cloud.protodb.WatchEvent_Type" json:"type,omitempty"`
	Old  *anypb.Any     `protobuf:"bytes,2,opt,name=old,proto3" json:"old,omitempty"`
	New  *anypb.Any     `protobuf:"bytes,3,opt,name=new,proto3" json:"new,omitempty"`
	// contains filtered or unexported fields
}

func (*WatchEvent) CloneMessageVT

func (m *WatchEvent) CloneMessageVT() proto.Message

func (*WatchEvent) CloneVT

func (m *WatchEvent) CloneVT() *WatchEvent

func (*WatchEvent) Default

func (x *WatchEvent) Default()

func (*WatchEvent) Descriptor deprecated

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

Deprecated: Use WatchEvent.ProtoReflect.Descriptor instead.

func (*WatchEvent) EqualMessageVT

func (this *WatchEvent) EqualMessageVT(thatMsg proto.Message) bool

func (*WatchEvent) EqualVT

func (this *WatchEvent) EqualVT(that *WatchEvent) bool

func (*WatchEvent) GetNew

func (x *WatchEvent) GetNew() *anypb.Any

func (*WatchEvent) GetOld

func (x *WatchEvent) GetOld() *anypb.Any

func (*WatchEvent) GetType

func (x *WatchEvent) GetType() WatchEventType

func (*WatchEvent) MarshalToSizedBufferVT

func (m *WatchEvent) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*WatchEvent) MarshalToVT

func (m *WatchEvent) MarshalToVT(dAtA []byte) (int, error)

func (*WatchEvent) MarshalVT

func (m *WatchEvent) MarshalVT() (dAtA []byte, err error)

func (*WatchEvent) ProtoMessage

func (*WatchEvent) ProtoMessage()

func (*WatchEvent) ProtoReflect

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

func (*WatchEvent) Reset

func (x *WatchEvent) Reset()

func (*WatchEvent) SizeVT

func (m *WatchEvent) SizeVT() (n int)

func (*WatchEvent) String

func (x *WatchEvent) String() string

func (*WatchEvent) UnmarshalVT

func (m *WatchEvent) UnmarshalVT(dAtA []byte) error

func (*WatchEvent) Validate

func (m *WatchEvent) Validate() error

Validate checks the field values on WatchEvent with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*WatchEvent) ValidateAll

func (m *WatchEvent) ValidateAll() error

ValidateAll checks the field values on WatchEvent with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in WatchEventMultiError, or nil if none found.

type WatchEventMultiError

type WatchEventMultiError []error

WatchEventMultiError is an error wrapping multiple validation errors returned by WatchEvent.ValidateAll() if the designated constraints aren't met.

func (WatchEventMultiError) AllErrors

func (m WatchEventMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (WatchEventMultiError) Error

func (m WatchEventMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type WatchEventType

type WatchEventType int32
const (
	WatchEventUnknown WatchEventType = 0
	WatchEventEnter   WatchEventType = 1
	WatchEventLeave   WatchEventType = 2
	WatchEventUpdate  WatchEventType = 3
)

func (WatchEventType) Descriptor

func (WatchEventType) Enum

func (x WatchEventType) Enum() *WatchEventType

func (WatchEventType) EnumDescriptor deprecated

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

Deprecated: Use WatchEvent_Type.Descriptor instead.

func (WatchEventType) Number

func (WatchEventType) String

func (x WatchEventType) String() string

func (WatchEventType) Type

type WatchEventValidationError

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

WatchEventValidationError is the validation error returned by WatchEvent.Validate if the designated constraints aren't met.

func (WatchEventValidationError) Cause

func (e WatchEventValidationError) Cause() error

Cause function returns cause value.

func (WatchEventValidationError) Error

Error satisfies the builtin error interface

func (WatchEventValidationError) ErrorName

func (e WatchEventValidationError) ErrorName() string

ErrorName returns error name.

func (WatchEventValidationError) Field

Field function returns field value.

func (WatchEventValidationError) Key

Key function returns key value.

func (WatchEventValidationError) Reason

func (e WatchEventValidationError) Reason() string

Reason function returns reason value.

type WatchRequest

type WatchRequest struct {
	Search *anypb.Any          `protobuf:"bytes,1,opt,name=search,proto3" json:"search,omitempty"`
	Filter *filters.Expression `protobuf:"bytes,2,opt,name=filter,proto3" json:"filter,omitempty"`
	// contains filtered or unexported fields
}

func (*WatchRequest) CloneMessageVT

func (m *WatchRequest) CloneMessageVT() proto.Message

func (*WatchRequest) CloneVT

func (m *WatchRequest) CloneVT() *WatchRequest

func (*WatchRequest) Default

func (x *WatchRequest) Default()

func (*WatchRequest) Descriptor deprecated

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

Deprecated: Use WatchRequest.ProtoReflect.Descriptor instead.

func (*WatchRequest) EqualMessageVT

func (this *WatchRequest) EqualMessageVT(thatMsg proto.Message) bool

func (*WatchRequest) EqualVT

func (this *WatchRequest) EqualVT(that *WatchRequest) bool

func (*WatchRequest) GetFilter

func (x *WatchRequest) GetFilter() *filters.Expression

func (*WatchRequest) GetSearch

func (x *WatchRequest) GetSearch() *anypb.Any

func (*WatchRequest) MarshalToSizedBufferVT

func (m *WatchRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*WatchRequest) MarshalToVT

func (m *WatchRequest) MarshalToVT(dAtA []byte) (int, error)

func (*WatchRequest) MarshalVT

func (m *WatchRequest) MarshalVT() (dAtA []byte, err error)

func (*WatchRequest) ProtoMessage

func (*WatchRequest) ProtoMessage()

func (*WatchRequest) ProtoReflect

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

func (*WatchRequest) Reset

func (x *WatchRequest) Reset()

func (*WatchRequest) SizeVT

func (m *WatchRequest) SizeVT() (n int)

func (*WatchRequest) String

func (x *WatchRequest) String() string

func (*WatchRequest) UnmarshalVT

func (m *WatchRequest) UnmarshalVT(dAtA []byte) error

func (*WatchRequest) Validate

func (m *WatchRequest) Validate() error

Validate checks the field values on WatchRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*WatchRequest) ValidateAll

func (m *WatchRequest) ValidateAll() error

ValidateAll checks the field values on WatchRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in WatchRequestMultiError, or nil if none found.

type WatchRequestMultiError

type WatchRequestMultiError []error

WatchRequestMultiError is an error wrapping multiple validation errors returned by WatchRequest.ValidateAll() if the designated constraints aren't met.

func (WatchRequestMultiError) AllErrors

func (m WatchRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (WatchRequestMultiError) Error

func (m WatchRequestMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type WatchRequestValidationError

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

WatchRequestValidationError is the validation error returned by WatchRequest.Validate if the designated constraints aren't met.

func (WatchRequestValidationError) Cause

Cause function returns cause value.

func (WatchRequestValidationError) Error

Error satisfies the builtin error interface

func (WatchRequestValidationError) ErrorName

func (e WatchRequestValidationError) ErrorName() string

ErrorName returns error name.

func (WatchRequestValidationError) Field

Field function returns field value.

func (WatchRequestValidationError) Key

Key function returns key value.

func (WatchRequestValidationError) Reason

Reason function returns reason value.

Jump to

Keyboard shortcuts

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