dispatchv1

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Sep 23, 2021 License: Apache-2.0 Imports: 23 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 *v0.ObjectAndRelation `protobuf:"bytes,2,opt,name=object_and_relation,json=objectAndRelation,proto3" json:"object_and_relation,omitempty"`
	Subject           *v0.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() *v0.ObjectAndRelation

func (*DispatchCheckRequest) GetSubject

func (x *DispatchCheckRequest) GetSubject() *v0.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, an error is returned.

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, an error is returned.

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 *v0.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() *v0.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, an error is returned.

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 *v0.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, an error is returned.

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 *v0.RelationReference   `protobuf:"bytes,2,opt,name=object_relation,json=objectRelation,proto3" json:"object_relation,omitempty"`
	Subject        *v0.ObjectAndRelation   `protobuf:"bytes,3,opt,name=subject,proto3" json:"subject,omitempty"`
	Limit          uint32                  `protobuf:"varint,4,opt,name=limit,proto3" json:"limit,omitempty"`
	DirectStack    []*v0.RelationReference `protobuf:"bytes,5,rep,name=direct_stack,json=directStack,proto3" json:"direct_stack,omitempty"`
	TtuStack       []*v0.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() []*v0.RelationReference

func (*DispatchLookupRequest) GetLimit

func (x *DispatchLookupRequest) GetLimit() uint32

func (*DispatchLookupRequest) GetMetadata

func (x *DispatchLookupRequest) GetMetadata() *ResolverMeta

func (*DispatchLookupRequest) GetObjectRelation

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

func (*DispatchLookupRequest) GetSubject

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

func (*DispatchLookupRequest) GetTtuStack

func (x *DispatchLookupRequest) GetTtuStack() []*v0.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, an error is returned.

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      []*v0.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() []*v0.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, an error is returned.

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, an error is returned.

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"`
	// contains filtered or unexported fields
}

func (*ResponseMeta) Descriptor deprecated

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

Deprecated: Use ResponseMeta.ProtoReflect.Descriptor instead.

func (*ResponseMeta) GetDispatchCount

func (x *ResponseMeta) GetDispatchCount() uint32

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, an error is returned.

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