dispatchv1

package
Version: v1.7.1 Latest Latest
Warning

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

Go to latest
Published: May 2, 2022 License: Apache-2.0 Imports: 24 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	DispatchCheckResponse_Membership_name = map[int32]string{
		0: "UNKNOWN",
		1: "NOT_MEMBER",
		2: "MEMBER",
	}
	DispatchCheckResponse_Membership_value = map[string]int32{
		"UNKNOWN":    0,
		"NOT_MEMBER": 1,
		"MEMBER":     2,
	}
)

Enum value maps for DispatchCheckResponse_Membership.

View Source
var (
	DispatchExpandRequest_ExpansionMode_name = map[int32]string{
		0: "SHALLOW",
		1: "RECURSIVE",
	}
	DispatchExpandRequest_ExpansionMode_value = map[string]int32{
		"SHALLOW":   0,
		"RECURSIVE": 1,
	}
)

Enum value maps for DispatchExpandRequest_ExpansionMode.

View Source
var DispatchService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "dispatch.v1.DispatchService",
	HandlerType: (*DispatchServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "DispatchCheck",
			Handler:    _DispatchService_DispatchCheck_Handler,
		},
		{
			MethodName: "DispatchExpand",
			Handler:    _DispatchService_DispatchExpand_Handler,
		},
		{
			MethodName: "DispatchLookup",
			Handler:    _DispatchService_DispatchLookup_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "dispatch/v1/dispatch.proto",
}

DispatchService_ServiceDesc is the grpc.ServiceDesc for DispatchService 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 File_dispatch_v1_dispatch_proto protoreflect.FileDescriptor

Functions

func RegisterDispatchServiceServer

func RegisterDispatchServiceServer(s grpc.ServiceRegistrar, srv DispatchServiceServer)

Types

type DispatchCheckRequest

type DispatchCheckRequest struct {
	Metadata          *ResolverMeta         `protobuf:"bytes,1,opt,name=metadata,proto3" json:"metadata,omitempty"`
	ObjectAndRelation *v1.ObjectAndRelation `protobuf:"bytes,2,opt,name=object_and_relation,json=objectAndRelation,proto3" json:"object_and_relation,omitempty"`
	Subject           *v1.ObjectAndRelation `protobuf:"bytes,3,opt,name=subject,proto3" json:"subject,omitempty"`
	// contains filtered or unexported fields
}

func (*DispatchCheckRequest) Descriptor deprecated

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

Deprecated: Use DispatchCheckRequest.ProtoReflect.Descriptor instead.

func (*DispatchCheckRequest) GetMetadata

func (x *DispatchCheckRequest) GetMetadata() *ResolverMeta

func (*DispatchCheckRequest) GetObjectAndRelation

func (x *DispatchCheckRequest) GetObjectAndRelation() *v1.ObjectAndRelation

func (*DispatchCheckRequest) GetSubject

func (x *DispatchCheckRequest) GetSubject() *v1.ObjectAndRelation

func (*DispatchCheckRequest) MarshalZerologObject

func (cr *DispatchCheckRequest) MarshalZerologObject(e *zerolog.Event)

MarshalZerologObject implements zerolog object marshalling.

func (*DispatchCheckRequest) ProtoMessage

func (*DispatchCheckRequest) ProtoMessage()

func (*DispatchCheckRequest) ProtoReflect

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

func (*DispatchCheckRequest) Reset

func (x *DispatchCheckRequest) Reset()

func (*DispatchCheckRequest) String

func (x *DispatchCheckRequest) String() string

func (*DispatchCheckRequest) Validate

func (m *DispatchCheckRequest) Validate() error

Validate checks the field values on DispatchCheckRequest 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 (*DispatchCheckRequest) ValidateAll added in v1.6.0

func (m *DispatchCheckRequest) ValidateAll() error

ValidateAll checks the field values on DispatchCheckRequest 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 DispatchCheckRequestMultiError, or nil if none found.

type DispatchCheckRequestMultiError added in v1.6.0

type DispatchCheckRequestMultiError []error

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

func (DispatchCheckRequestMultiError) AllErrors added in v1.6.0

func (m DispatchCheckRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (DispatchCheckRequestMultiError) Error added in v1.6.0

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

type DispatchCheckRequestValidationError

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

DispatchCheckRequestValidationError is the validation error returned by DispatchCheckRequest.Validate if the designated constraints aren't met.

func (DispatchCheckRequestValidationError) Cause

Cause function returns cause value.

func (DispatchCheckRequestValidationError) Error

Error satisfies the builtin error interface

func (DispatchCheckRequestValidationError) ErrorName

ErrorName returns error name.

func (DispatchCheckRequestValidationError) Field

Field function returns field value.

func (DispatchCheckRequestValidationError) Key

Key function returns key value.

func (DispatchCheckRequestValidationError) Reason

Reason function returns reason value.

type DispatchCheckResponse

type DispatchCheckResponse struct {
	Metadata   *ResponseMeta                    `protobuf:"bytes,1,opt,name=metadata,proto3" json:"metadata,omitempty"`
	Membership DispatchCheckResponse_Membership `protobuf:"varint,2,opt,name=membership,proto3,enum=dispatch.v1.DispatchCheckResponse_Membership" json:"membership,omitempty"`
	// contains filtered or unexported fields
}

func (*DispatchCheckResponse) Descriptor deprecated

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

Deprecated: Use DispatchCheckResponse.ProtoReflect.Descriptor instead.

func (*DispatchCheckResponse) GetMembership

func (*DispatchCheckResponse) GetMetadata

func (x *DispatchCheckResponse) GetMetadata() *ResponseMeta

func (*DispatchCheckResponse) MarshalZerologObject

func (cr *DispatchCheckResponse) MarshalZerologObject(e *zerolog.Event)

MarshalZerologObject implements zerolog object marshalling.

func (*DispatchCheckResponse) ProtoMessage

func (*DispatchCheckResponse) ProtoMessage()

func (*DispatchCheckResponse) ProtoReflect

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

func (*DispatchCheckResponse) Reset

func (x *DispatchCheckResponse) Reset()

func (*DispatchCheckResponse) String

func (x *DispatchCheckResponse) String() string

func (*DispatchCheckResponse) Validate

func (m *DispatchCheckResponse) Validate() error

Validate checks the field values on DispatchCheckResponse 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 (*DispatchCheckResponse) ValidateAll added in v1.6.0

func (m *DispatchCheckResponse) ValidateAll() error

ValidateAll checks the field values on DispatchCheckResponse 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 DispatchCheckResponseMultiError, or nil if none found.

type DispatchCheckResponseMultiError added in v1.6.0

type DispatchCheckResponseMultiError []error

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

func (DispatchCheckResponseMultiError) AllErrors added in v1.6.0

func (m DispatchCheckResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (DispatchCheckResponseMultiError) Error added in v1.6.0

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

type DispatchCheckResponseValidationError

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

DispatchCheckResponseValidationError is the validation error returned by DispatchCheckResponse.Validate if the designated constraints aren't met.

func (DispatchCheckResponseValidationError) Cause

Cause function returns cause value.

func (DispatchCheckResponseValidationError) Error

Error satisfies the builtin error interface

func (DispatchCheckResponseValidationError) ErrorName

ErrorName returns error name.

func (DispatchCheckResponseValidationError) Field

Field function returns field value.

func (DispatchCheckResponseValidationError) Key

Key function returns key value.

func (DispatchCheckResponseValidationError) Reason

Reason function returns reason value.

type DispatchCheckResponse_Membership

type DispatchCheckResponse_Membership int32
const (
	DispatchCheckResponse_UNKNOWN    DispatchCheckResponse_Membership = 0
	DispatchCheckResponse_NOT_MEMBER DispatchCheckResponse_Membership = 1
	DispatchCheckResponse_MEMBER     DispatchCheckResponse_Membership = 2
)

func (DispatchCheckResponse_Membership) Descriptor

func (DispatchCheckResponse_Membership) Enum

func (DispatchCheckResponse_Membership) EnumDescriptor deprecated

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

Deprecated: Use DispatchCheckResponse_Membership.Descriptor instead.

func (DispatchCheckResponse_Membership) Number

func (DispatchCheckResponse_Membership) String

func (DispatchCheckResponse_Membership) Type

type DispatchExpandRequest

type DispatchExpandRequest struct {
	Metadata          *ResolverMeta                       `protobuf:"bytes,1,opt,name=metadata,proto3" json:"metadata,omitempty"`
	ObjectAndRelation *v1.ObjectAndRelation               `protobuf:"bytes,2,opt,name=object_and_relation,json=objectAndRelation,proto3" json:"object_and_relation,omitempty"`
	ExpansionMode     DispatchExpandRequest_ExpansionMode `` /* 154-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*DispatchExpandRequest) Descriptor deprecated

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

Deprecated: Use DispatchExpandRequest.ProtoReflect.Descriptor instead.

func (*DispatchExpandRequest) GetExpansionMode

func (*DispatchExpandRequest) GetMetadata

func (x *DispatchExpandRequest) GetMetadata() *ResolverMeta

func (*DispatchExpandRequest) GetObjectAndRelation

func (x *DispatchExpandRequest) GetObjectAndRelation() *v1.ObjectAndRelation

func (*DispatchExpandRequest) MarshalZerologObject

func (er *DispatchExpandRequest) MarshalZerologObject(e *zerolog.Event)

MarshalZerologObject implements zerolog object marshalling.

func (*DispatchExpandRequest) ProtoMessage

func (*DispatchExpandRequest) ProtoMessage()

func (*DispatchExpandRequest) ProtoReflect

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

func (*DispatchExpandRequest) Reset

func (x *DispatchExpandRequest) Reset()

func (*DispatchExpandRequest) String

func (x *DispatchExpandRequest) String() string

func (*DispatchExpandRequest) Validate

func (m *DispatchExpandRequest) Validate() error

Validate checks the field values on DispatchExpandRequest 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 (*DispatchExpandRequest) ValidateAll added in v1.6.0

func (m *DispatchExpandRequest) ValidateAll() error

ValidateAll checks the field values on DispatchExpandRequest 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 DispatchExpandRequestMultiError, or nil if none found.

type DispatchExpandRequestMultiError added in v1.6.0

type DispatchExpandRequestMultiError []error

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

func (DispatchExpandRequestMultiError) AllErrors added in v1.6.0

func (m DispatchExpandRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (DispatchExpandRequestMultiError) Error added in v1.6.0

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

type DispatchExpandRequestValidationError

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

DispatchExpandRequestValidationError is the validation error returned by DispatchExpandRequest.Validate if the designated constraints aren't met.

func (DispatchExpandRequestValidationError) Cause

Cause function returns cause value.

func (DispatchExpandRequestValidationError) Error

Error satisfies the builtin error interface

func (DispatchExpandRequestValidationError) ErrorName

ErrorName returns error name.

func (DispatchExpandRequestValidationError) Field

Field function returns field value.

func (DispatchExpandRequestValidationError) Key

Key function returns key value.

func (DispatchExpandRequestValidationError) Reason

Reason function returns reason value.

type DispatchExpandRequest_ExpansionMode

type DispatchExpandRequest_ExpansionMode int32
const (
	DispatchExpandRequest_SHALLOW   DispatchExpandRequest_ExpansionMode = 0
	DispatchExpandRequest_RECURSIVE DispatchExpandRequest_ExpansionMode = 1
)

func (DispatchExpandRequest_ExpansionMode) Descriptor

func (DispatchExpandRequest_ExpansionMode) Enum

func (DispatchExpandRequest_ExpansionMode) EnumDescriptor deprecated

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

Deprecated: Use DispatchExpandRequest_ExpansionMode.Descriptor instead.

func (DispatchExpandRequest_ExpansionMode) Number

func (DispatchExpandRequest_ExpansionMode) String

func (DispatchExpandRequest_ExpansionMode) Type

type DispatchExpandResponse

type DispatchExpandResponse struct {
	Metadata *ResponseMeta             `protobuf:"bytes,1,opt,name=metadata,proto3" json:"metadata,omitempty"`
	TreeNode *v1.RelationTupleTreeNode `protobuf:"bytes,2,opt,name=tree_node,json=treeNode,proto3" json:"tree_node,omitempty"`
	// contains filtered or unexported fields
}

func (*DispatchExpandResponse) Descriptor deprecated

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

Deprecated: Use DispatchExpandResponse.ProtoReflect.Descriptor instead.

func (*DispatchExpandResponse) GetMetadata

func (x *DispatchExpandResponse) GetMetadata() *ResponseMeta

func (*DispatchExpandResponse) GetTreeNode

func (*DispatchExpandResponse) MarshalZerologObject

func (cr *DispatchExpandResponse) MarshalZerologObject(e *zerolog.Event)

MarshalZerologObject implements zerolog object marshalling.

func (*DispatchExpandResponse) ProtoMessage

func (*DispatchExpandResponse) ProtoMessage()

func (*DispatchExpandResponse) ProtoReflect

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

func (*DispatchExpandResponse) Reset

func (x *DispatchExpandResponse) Reset()

func (*DispatchExpandResponse) String

func (x *DispatchExpandResponse) String() string

func (*DispatchExpandResponse) Validate

func (m *DispatchExpandResponse) Validate() error

Validate checks the field values on DispatchExpandResponse 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 (*DispatchExpandResponse) ValidateAll added in v1.6.0

func (m *DispatchExpandResponse) ValidateAll() error

ValidateAll checks the field values on DispatchExpandResponse 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 DispatchExpandResponseMultiError, or nil if none found.

type DispatchExpandResponseMultiError added in v1.6.0

type DispatchExpandResponseMultiError []error

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

func (DispatchExpandResponseMultiError) AllErrors added in v1.6.0

func (m DispatchExpandResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (DispatchExpandResponseMultiError) Error added in v1.6.0

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

type DispatchExpandResponseValidationError

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

DispatchExpandResponseValidationError is the validation error returned by DispatchExpandResponse.Validate if the designated constraints aren't met.

func (DispatchExpandResponseValidationError) Cause

Cause function returns cause value.

func (DispatchExpandResponseValidationError) Error

Error satisfies the builtin error interface

func (DispatchExpandResponseValidationError) ErrorName

ErrorName returns error name.

func (DispatchExpandResponseValidationError) Field

Field function returns field value.

func (DispatchExpandResponseValidationError) Key

Key function returns key value.

func (DispatchExpandResponseValidationError) Reason

Reason function returns reason value.

type DispatchLookupRequest

type DispatchLookupRequest struct {
	Metadata       *ResolverMeta           `protobuf:"bytes,1,opt,name=metadata,proto3" json:"metadata,omitempty"`
	ObjectRelation *v1.RelationReference   `protobuf:"bytes,2,opt,name=object_relation,json=objectRelation,proto3" json:"object_relation,omitempty"`
	Subject        *v1.ObjectAndRelation   `protobuf:"bytes,3,opt,name=subject,proto3" json:"subject,omitempty"`
	Limit          uint32                  `protobuf:"varint,4,opt,name=limit,proto3" json:"limit,omitempty"`
	DirectStack    []*v1.RelationReference `protobuf:"bytes,5,rep,name=direct_stack,json=directStack,proto3" json:"direct_stack,omitempty"`
	TtuStack       []*v1.RelationReference `protobuf:"bytes,6,rep,name=ttu_stack,json=ttuStack,proto3" json:"ttu_stack,omitempty"`
	// contains filtered or unexported fields
}

func (*DispatchLookupRequest) Descriptor deprecated

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

Deprecated: Use DispatchLookupRequest.ProtoReflect.Descriptor instead.

func (*DispatchLookupRequest) GetDirectStack

func (x *DispatchLookupRequest) GetDirectStack() []*v1.RelationReference

func (*DispatchLookupRequest) GetLimit

func (x *DispatchLookupRequest) GetLimit() uint32

func (*DispatchLookupRequest) GetMetadata

func (x *DispatchLookupRequest) GetMetadata() *ResolverMeta

func (*DispatchLookupRequest) GetObjectRelation

func (x *DispatchLookupRequest) GetObjectRelation() *v1.RelationReference

func (*DispatchLookupRequest) GetSubject

func (x *DispatchLookupRequest) GetSubject() *v1.ObjectAndRelation

func (*DispatchLookupRequest) GetTtuStack

func (x *DispatchLookupRequest) GetTtuStack() []*v1.RelationReference

func (*DispatchLookupRequest) MarshalZerologObject

func (lr *DispatchLookupRequest) MarshalZerologObject(e *zerolog.Event)

MarshalZerologObject implements zerolog object marshalling.

func (*DispatchLookupRequest) ProtoMessage

func (*DispatchLookupRequest) ProtoMessage()

func (*DispatchLookupRequest) ProtoReflect

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

func (*DispatchLookupRequest) Reset

func (x *DispatchLookupRequest) Reset()

func (*DispatchLookupRequest) String

func (x *DispatchLookupRequest) String() string

func (*DispatchLookupRequest) Validate

func (m *DispatchLookupRequest) Validate() error

Validate checks the field values on DispatchLookupRequest 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 (*DispatchLookupRequest) ValidateAll added in v1.6.0

func (m *DispatchLookupRequest) ValidateAll() error

ValidateAll checks the field values on DispatchLookupRequest 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 DispatchLookupRequestMultiError, or nil if none found.

type DispatchLookupRequestMultiError added in v1.6.0

type DispatchLookupRequestMultiError []error

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

func (DispatchLookupRequestMultiError) AllErrors added in v1.6.0

func (m DispatchLookupRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (DispatchLookupRequestMultiError) Error added in v1.6.0

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

type DispatchLookupRequestValidationError

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

DispatchLookupRequestValidationError is the validation error returned by DispatchLookupRequest.Validate if the designated constraints aren't met.

func (DispatchLookupRequestValidationError) Cause

Cause function returns cause value.

func (DispatchLookupRequestValidationError) Error

Error satisfies the builtin error interface

func (DispatchLookupRequestValidationError) ErrorName

ErrorName returns error name.

func (DispatchLookupRequestValidationError) Field

Field function returns field value.

func (DispatchLookupRequestValidationError) Key

Key function returns key value.

func (DispatchLookupRequestValidationError) Reason

Reason function returns reason value.

type DispatchLookupResponse

type DispatchLookupResponse struct {
	Metadata          *ResponseMeta           `protobuf:"bytes,1,opt,name=metadata,proto3" json:"metadata,omitempty"`
	ResolvedOnrs      []*v1.ObjectAndRelation `protobuf:"bytes,2,rep,name=resolved_onrs,json=resolvedOnrs,proto3" json:"resolved_onrs,omitempty"`
	NextPageReference string                  `protobuf:"bytes,3,opt,name=next_page_reference,json=nextPageReference,proto3" json:"next_page_reference,omitempty"`
	// contains filtered or unexported fields
}

func (*DispatchLookupResponse) Descriptor deprecated

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

Deprecated: Use DispatchLookupResponse.ProtoReflect.Descriptor instead.

func (*DispatchLookupResponse) GetMetadata

func (x *DispatchLookupResponse) GetMetadata() *ResponseMeta

func (*DispatchLookupResponse) GetNextPageReference

func (x *DispatchLookupResponse) GetNextPageReference() string

func (*DispatchLookupResponse) GetResolvedOnrs

func (x *DispatchLookupResponse) GetResolvedOnrs() []*v1.ObjectAndRelation

func (*DispatchLookupResponse) MarshalZerologObject

func (cr *DispatchLookupResponse) MarshalZerologObject(e *zerolog.Event)

MarshalZerologObject implements zerolog object marshalling.

func (*DispatchLookupResponse) ProtoMessage

func (*DispatchLookupResponse) ProtoMessage()

func (*DispatchLookupResponse) ProtoReflect

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

func (*DispatchLookupResponse) Reset

func (x *DispatchLookupResponse) Reset()

func (*DispatchLookupResponse) String

func (x *DispatchLookupResponse) String() string

func (*DispatchLookupResponse) Validate

func (m *DispatchLookupResponse) Validate() error

Validate checks the field values on DispatchLookupResponse 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 (*DispatchLookupResponse) ValidateAll added in v1.6.0

func (m *DispatchLookupResponse) ValidateAll() error

ValidateAll checks the field values on DispatchLookupResponse 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 DispatchLookupResponseMultiError, or nil if none found.

type DispatchLookupResponseMultiError added in v1.6.0

type DispatchLookupResponseMultiError []error

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

func (DispatchLookupResponseMultiError) AllErrors added in v1.6.0

func (m DispatchLookupResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (DispatchLookupResponseMultiError) Error added in v1.6.0

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

type DispatchLookupResponseValidationError

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

DispatchLookupResponseValidationError is the validation error returned by DispatchLookupResponse.Validate if the designated constraints aren't met.

func (DispatchLookupResponseValidationError) Cause

Cause function returns cause value.

func (DispatchLookupResponseValidationError) Error

Error satisfies the builtin error interface

func (DispatchLookupResponseValidationError) ErrorName

ErrorName returns error name.

func (DispatchLookupResponseValidationError) Field

Field function returns field value.

func (DispatchLookupResponseValidationError) Key

Key function returns key value.

func (DispatchLookupResponseValidationError) Reason

Reason function returns reason value.

type DispatchServiceClient

type DispatchServiceClient interface {
	DispatchCheck(ctx context.Context, in *DispatchCheckRequest, opts ...grpc.CallOption) (*DispatchCheckResponse, error)
	DispatchExpand(ctx context.Context, in *DispatchExpandRequest, opts ...grpc.CallOption) (*DispatchExpandResponse, error)
	DispatchLookup(ctx context.Context, in *DispatchLookupRequest, opts ...grpc.CallOption) (*DispatchLookupResponse, error)
}

DispatchServiceClient is the client API for DispatchService 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.

type DispatchServiceServer

type DispatchServiceServer interface {
	DispatchCheck(context.Context, *DispatchCheckRequest) (*DispatchCheckResponse, error)
	DispatchExpand(context.Context, *DispatchExpandRequest) (*DispatchExpandResponse, error)
	DispatchLookup(context.Context, *DispatchLookupRequest) (*DispatchLookupResponse, error)
	// contains filtered or unexported methods
}

DispatchServiceServer is the server API for DispatchService service. All implementations must embed UnimplementedDispatchServiceServer for forward compatibility

type ResolverMeta

type ResolverMeta struct {
	AtRevision     string `protobuf:"bytes,1,opt,name=at_revision,json=atRevision,proto3" json:"at_revision,omitempty"`
	DepthRemaining uint32 `protobuf:"varint,2,opt,name=depth_remaining,json=depthRemaining,proto3" json:"depth_remaining,omitempty"`
	// contains filtered or unexported fields
}

func (*ResolverMeta) Descriptor deprecated

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

Deprecated: Use ResolverMeta.ProtoReflect.Descriptor instead.

func (*ResolverMeta) GetAtRevision

func (x *ResolverMeta) GetAtRevision() string

func (*ResolverMeta) GetDepthRemaining

func (x *ResolverMeta) GetDepthRemaining() uint32

func (*ResolverMeta) MarshalZerologObject

func (cr *ResolverMeta) MarshalZerologObject(e *zerolog.Event)

MarshalZerologObject implements zerolog object marshalling.

func (*ResolverMeta) ProtoMessage

func (*ResolverMeta) ProtoMessage()

func (*ResolverMeta) ProtoReflect

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

func (*ResolverMeta) Reset

func (x *ResolverMeta) Reset()

func (*ResolverMeta) String

func (x *ResolverMeta) String() string

func (*ResolverMeta) Validate

func (m *ResolverMeta) Validate() error

Validate checks the field values on ResolverMeta 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 (*ResolverMeta) ValidateAll added in v1.6.0

func (m *ResolverMeta) ValidateAll() error

ValidateAll checks the field values on ResolverMeta 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 ResolverMetaMultiError, or nil if none found.

type ResolverMetaMultiError added in v1.6.0

type ResolverMetaMultiError []error

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

func (ResolverMetaMultiError) AllErrors added in v1.6.0

func (m ResolverMetaMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ResolverMetaMultiError) Error added in v1.6.0

func (m ResolverMetaMultiError) Error() string

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

type ResolverMetaValidationError

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

ResolverMetaValidationError is the validation error returned by ResolverMeta.Validate if the designated constraints aren't met.

func (ResolverMetaValidationError) Cause

Cause function returns cause value.

func (ResolverMetaValidationError) Error

Error satisfies the builtin error interface

func (ResolverMetaValidationError) ErrorName

func (e ResolverMetaValidationError) ErrorName() string

ErrorName returns error name.

func (ResolverMetaValidationError) Field

Field function returns field value.

func (ResolverMetaValidationError) Key

Key function returns key value.

func (ResolverMetaValidationError) Reason

Reason function returns reason value.

type ResponseMeta

type ResponseMeta struct {
	DispatchCount        uint32                  `protobuf:"varint,1,opt,name=dispatch_count,json=dispatchCount,proto3" json:"dispatch_count,omitempty"`
	DepthRequired        uint32                  `protobuf:"varint,2,opt,name=depth_required,json=depthRequired,proto3" json:"depth_required,omitempty"`
	CachedDispatchCount  uint32                  `protobuf:"varint,3,opt,name=cached_dispatch_count,json=cachedDispatchCount,proto3" json:"cached_dispatch_count,omitempty"`
	LookupExcludedDirect []*v1.RelationReference `protobuf:"bytes,4,rep,name=lookup_excluded_direct,json=lookupExcludedDirect,proto3" json:"lookup_excluded_direct,omitempty"`
	LookupExcludedTtu    []*v1.RelationReference `protobuf:"bytes,5,rep,name=lookup_excluded_ttu,json=lookupExcludedTtu,proto3" json:"lookup_excluded_ttu,omitempty"`
	// contains filtered or unexported fields
}

func (*ResponseMeta) Descriptor deprecated

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

Deprecated: Use ResponseMeta.ProtoReflect.Descriptor instead.

func (*ResponseMeta) GetCachedDispatchCount

func (x *ResponseMeta) GetCachedDispatchCount() uint32

func (*ResponseMeta) GetDepthRequired

func (x *ResponseMeta) GetDepthRequired() uint32

func (*ResponseMeta) GetDispatchCount

func (x *ResponseMeta) GetDispatchCount() uint32

func (*ResponseMeta) GetLookupExcludedDirect

func (x *ResponseMeta) GetLookupExcludedDirect() []*v1.RelationReference

func (*ResponseMeta) GetLookupExcludedTtu

func (x *ResponseMeta) GetLookupExcludedTtu() []*v1.RelationReference

func (*ResponseMeta) MarshalZerologObject

func (cr *ResponseMeta) MarshalZerologObject(e *zerolog.Event)

MarshalZerologObject implements zerolog object marshalling.

func (*ResponseMeta) ProtoMessage

func (*ResponseMeta) ProtoMessage()

func (*ResponseMeta) ProtoReflect

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

func (*ResponseMeta) Reset

func (x *ResponseMeta) Reset()

func (*ResponseMeta) String

func (x *ResponseMeta) String() string

func (*ResponseMeta) Validate

func (m *ResponseMeta) Validate() error

Validate checks the field values on ResponseMeta 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 (*ResponseMeta) ValidateAll added in v1.6.0

func (m *ResponseMeta) ValidateAll() error

ValidateAll checks the field values on ResponseMeta 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 ResponseMetaMultiError, or nil if none found.

type ResponseMetaMultiError added in v1.6.0

type ResponseMetaMultiError []error

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

func (ResponseMetaMultiError) AllErrors added in v1.6.0

func (m ResponseMetaMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ResponseMetaMultiError) Error added in v1.6.0

func (m ResponseMetaMultiError) Error() string

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

type ResponseMetaValidationError

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

ResponseMetaValidationError is the validation error returned by ResponseMeta.Validate if the designated constraints aren't met.

func (ResponseMetaValidationError) Cause

Cause function returns cause value.

func (ResponseMetaValidationError) Error

Error satisfies the builtin error interface

func (ResponseMetaValidationError) ErrorName

func (e ResponseMetaValidationError) ErrorName() string

ErrorName returns error name.

func (ResponseMetaValidationError) Field

Field function returns field value.

func (ResponseMetaValidationError) Key

Key function returns key value.

func (ResponseMetaValidationError) Reason

Reason function returns reason value.

type UnimplementedDispatchServiceServer

type UnimplementedDispatchServiceServer struct {
}

UnimplementedDispatchServiceServer must be embedded to have forward compatible implementations.

func (UnimplementedDispatchServiceServer) DispatchCheck

func (UnimplementedDispatchServiceServer) DispatchExpand

func (UnimplementedDispatchServiceServer) DispatchLookup

type UnsafeDispatchServiceServer

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

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

Jump to

Keyboard shortcuts

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