v0

package
v0.11.1 Latest Latest
Warning

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

Go to latest
Published: Mar 19, 2024 License: Apache-2.0 Imports: 24 Imported by: 7

Documentation

Index

Constants

View Source
const (
	DeveloperService_EditCheck_FullMethodName     = "/authzed.api.v0.DeveloperService/EditCheck"
	DeveloperService_Validate_FullMethodName      = "/authzed.api.v0.DeveloperService/Validate"
	DeveloperService_Share_FullMethodName         = "/authzed.api.v0.DeveloperService/Share"
	DeveloperService_LookupShared_FullMethodName  = "/authzed.api.v0.DeveloperService/LookupShared"
	DeveloperService_UpgradeSchema_FullMethodName = "/authzed.api.v0.DeveloperService/UpgradeSchema"
	DeveloperService_FormatSchema_FullMethodName  = "/authzed.api.v0.DeveloperService/FormatSchema"
)
View Source
const (
	BufRepository = "buf.build/authzed/api"
	BufTag        = "9ba37ce98f37c5eeab64983a52fcc4a4910bc92f"
)

Variables

View Source
var (
	ErrInvalidLength        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflow          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroup = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	LookupShareResponse_LookupStatus_name = map[int32]string{
		0: "UNKNOWN_REFERENCE",
		1: "FAILED_TO_LOOKUP",
		2: "VALID_REFERENCE",
		3: "UPGRADED_REFERENCE",
	}
	LookupShareResponse_LookupStatus_value = map[string]int32{
		"UNKNOWN_REFERENCE":  0,
		"FAILED_TO_LOOKUP":   1,
		"VALID_REFERENCE":    2,
		"UPGRADED_REFERENCE": 3,
	}
)

Enum value maps for LookupShareResponse_LookupStatus.

View Source
var (
	DeveloperError_Source_name = map[int32]string{
		0: "UNKNOWN_SOURCE",
		1: "SCHEMA",
		2: "RELATIONSHIP",
		3: "VALIDATION_YAML",
		4: "CHECK_WATCH",
		5: "ASSERTION",
	}
	DeveloperError_Source_value = map[string]int32{
		"UNKNOWN_SOURCE":  0,
		"SCHEMA":          1,
		"RELATIONSHIP":    2,
		"VALIDATION_YAML": 3,
		"CHECK_WATCH":     4,
		"ASSERTION":       5,
	}
)

Enum value maps for DeveloperError_Source.

View Source
var (
	DeveloperError_ErrorKind_name = map[int32]string{
		0: "UNKNOWN_KIND",
		1: "PARSE_ERROR",
		2: "SCHEMA_ISSUE",
		3: "DUPLICATE_RELATIONSHIP",
		4: "MISSING_EXPECTED_RELATIONSHIP",
		5: "EXTRA_RELATIONSHIP_FOUND",
		6: "UNKNOWN_OBJECT_TYPE",
		7: "UNKNOWN_RELATION",
		8: "MAXIMUM_RECURSION",
		9: "ASSERTION_FAILED",
	}
	DeveloperError_ErrorKind_value = map[string]int32{
		"UNKNOWN_KIND":                  0,
		"PARSE_ERROR":                   1,
		"SCHEMA_ISSUE":                  2,
		"DUPLICATE_RELATIONSHIP":        3,
		"MISSING_EXPECTED_RELATIONSHIP": 4,
		"EXTRA_RELATIONSHIP_FOUND":      5,
		"UNKNOWN_OBJECT_TYPE":           6,
		"UNKNOWN_RELATION":              7,
		"MAXIMUM_RECURSION":             8,
		"ASSERTION_FAILED":              9,
	}
)

Enum value maps for DeveloperError_ErrorKind.

View Source
var DeveloperService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "authzed.api.v0.DeveloperService",
	HandlerType: (*DeveloperServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "EditCheck",
			Handler:    _DeveloperService_EditCheck_Handler,
		},
		{
			MethodName: "Validate",
			Handler:    _DeveloperService_Validate_Handler,
		},
		{
			MethodName: "Share",
			Handler:    _DeveloperService_Share_Handler,
		},
		{
			MethodName: "LookupShared",
			Handler:    _DeveloperService_LookupShared_Handler,
		},
		{
			MethodName: "UpgradeSchema",
			Handler:    _DeveloperService_UpgradeSchema_Handler,
		},
		{
			MethodName: "FormatSchema",
			Handler:    _DeveloperService_FormatSchema_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "authzed/api/v0/developer.proto",
}

DeveloperService_ServiceDesc is the grpc.ServiceDesc for DeveloperService 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_authzed_api_v0_core_proto protoreflect.FileDescriptor
View Source
var File_authzed_api_v0_developer_proto protoreflect.FileDescriptor

Functions

func RegisterDeveloperServiceServer

func RegisterDeveloperServiceServer(s grpc.ServiceRegistrar, srv DeveloperServiceServer)

Types

type DeveloperError

type DeveloperError struct {
	Message string                   `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"`
	Line    uint32                   `protobuf:"varint,2,opt,name=line,proto3" json:"line,omitempty"`
	Column  uint32                   `protobuf:"varint,3,opt,name=column,proto3" json:"column,omitempty"`
	Source  DeveloperError_Source    `protobuf:"varint,4,opt,name=source,proto3,enum=authzed.api.v0.DeveloperError_Source" json:"source,omitempty"`
	Kind    DeveloperError_ErrorKind `protobuf:"varint,5,opt,name=kind,proto3,enum=authzed.api.v0.DeveloperError_ErrorKind" json:"kind,omitempty"`
	Path    []string                 `protobuf:"bytes,6,rep,name=path,proto3" json:"path,omitempty"`
	// context holds the context for the error. For schema issues, this will be the
	// name of the object type. For relationship issues, the full relationship string.
	Context string `protobuf:"bytes,7,opt,name=context,proto3" json:"context,omitempty"`
	// contains filtered or unexported fields
}

func (*DeveloperError) CloneMessageVT added in v0.9.0

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

func (*DeveloperError) CloneVT added in v0.8.0

func (m *DeveloperError) CloneVT() *DeveloperError

func (*DeveloperError) Descriptor deprecated

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

Deprecated: Use DeveloperError.ProtoReflect.Descriptor instead.

func (*DeveloperError) EqualMessageVT added in v0.11.0

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

func (*DeveloperError) EqualVT added in v0.11.0

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

func (*DeveloperError) GetColumn

func (x *DeveloperError) GetColumn() uint32

func (*DeveloperError) GetContext

func (x *DeveloperError) GetContext() string

func (*DeveloperError) GetKind

func (*DeveloperError) GetLine

func (x *DeveloperError) GetLine() uint32

func (*DeveloperError) GetMessage

func (x *DeveloperError) GetMessage() string

func (*DeveloperError) GetPath

func (x *DeveloperError) GetPath() []string

func (*DeveloperError) GetSource

func (x *DeveloperError) GetSource() DeveloperError_Source

func (*DeveloperError) MarshalToSizedBufferVT added in v0.8.0

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

func (*DeveloperError) MarshalToVT added in v0.8.0

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

func (*DeveloperError) MarshalVT added in v0.8.0

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

func (*DeveloperError) ProtoMessage

func (*DeveloperError) ProtoMessage()

func (*DeveloperError) ProtoReflect

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

func (*DeveloperError) Reset

func (x *DeveloperError) Reset()

func (*DeveloperError) SizeVT added in v0.8.0

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

func (*DeveloperError) String

func (x *DeveloperError) String() string

func (*DeveloperError) UnmarshalVT added in v0.8.0

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

func (*DeveloperError) Validate

func (m *DeveloperError) Validate() error

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

func (m *DeveloperError) ValidateAll() error

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

type DeveloperErrorMultiError added in v0.6.0

type DeveloperErrorMultiError []error

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

func (DeveloperErrorMultiError) AllErrors added in v0.6.0

func (m DeveloperErrorMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (DeveloperErrorMultiError) Error added in v0.6.0

func (m DeveloperErrorMultiError) Error() string

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

type DeveloperErrorValidationError

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

DeveloperErrorValidationError is the validation error returned by DeveloperError.Validate if the designated constraints aren't met.

func (DeveloperErrorValidationError) Cause

Cause function returns cause value.

func (DeveloperErrorValidationError) Error

Error satisfies the builtin error interface

func (DeveloperErrorValidationError) ErrorName

func (e DeveloperErrorValidationError) ErrorName() string

ErrorName returns error name.

func (DeveloperErrorValidationError) Field

Field function returns field value.

func (DeveloperErrorValidationError) Key

Key function returns key value.

func (DeveloperErrorValidationError) Reason

Reason function returns reason value.

type DeveloperError_ErrorKind

type DeveloperError_ErrorKind int32
const (
	DeveloperError_UNKNOWN_KIND                  DeveloperError_ErrorKind = 0
	DeveloperError_PARSE_ERROR                   DeveloperError_ErrorKind = 1
	DeveloperError_SCHEMA_ISSUE                  DeveloperError_ErrorKind = 2
	DeveloperError_DUPLICATE_RELATIONSHIP        DeveloperError_ErrorKind = 3
	DeveloperError_MISSING_EXPECTED_RELATIONSHIP DeveloperError_ErrorKind = 4
	DeveloperError_EXTRA_RELATIONSHIP_FOUND      DeveloperError_ErrorKind = 5
	DeveloperError_UNKNOWN_OBJECT_TYPE           DeveloperError_ErrorKind = 6
	DeveloperError_UNKNOWN_RELATION              DeveloperError_ErrorKind = 7
	DeveloperError_MAXIMUM_RECURSION             DeveloperError_ErrorKind = 8
	DeveloperError_ASSERTION_FAILED              DeveloperError_ErrorKind = 9
)

func (DeveloperError_ErrorKind) Descriptor

func (DeveloperError_ErrorKind) Enum

func (DeveloperError_ErrorKind) EnumDescriptor deprecated

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

Deprecated: Use DeveloperError_ErrorKind.Descriptor instead.

func (DeveloperError_ErrorKind) Number

func (DeveloperError_ErrorKind) String

func (x DeveloperError_ErrorKind) String() string

func (DeveloperError_ErrorKind) Type

type DeveloperError_Source

type DeveloperError_Source int32
const (
	DeveloperError_UNKNOWN_SOURCE  DeveloperError_Source = 0
	DeveloperError_SCHEMA          DeveloperError_Source = 1
	DeveloperError_RELATIONSHIP    DeveloperError_Source = 2
	DeveloperError_VALIDATION_YAML DeveloperError_Source = 3
	DeveloperError_CHECK_WATCH     DeveloperError_Source = 4
	DeveloperError_ASSERTION       DeveloperError_Source = 5
)

func (DeveloperError_Source) Descriptor

func (DeveloperError_Source) Enum

func (DeveloperError_Source) EnumDescriptor deprecated

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

Deprecated: Use DeveloperError_Source.Descriptor instead.

func (DeveloperError_Source) Number

func (DeveloperError_Source) String

func (x DeveloperError_Source) String() string

func (DeveloperError_Source) Type

type DeveloperServiceClient

type DeveloperServiceClient interface {
	EditCheck(ctx context.Context, in *EditCheckRequest, opts ...grpc.CallOption) (*EditCheckResponse, error)
	Validate(ctx context.Context, in *ValidateRequest, opts ...grpc.CallOption) (*ValidateResponse, error)
	Share(ctx context.Context, in *ShareRequest, opts ...grpc.CallOption) (*ShareResponse, error)
	LookupShared(ctx context.Context, in *LookupShareRequest, opts ...grpc.CallOption) (*LookupShareResponse, error)
	UpgradeSchema(ctx context.Context, in *UpgradeSchemaRequest, opts ...grpc.CallOption) (*UpgradeSchemaResponse, error)
	FormatSchema(ctx context.Context, in *FormatSchemaRequest, opts ...grpc.CallOption) (*FormatSchemaResponse, error)
}

DeveloperServiceClient is the client API for DeveloperService 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 DeveloperServiceServer

type DeveloperServiceServer interface {
	EditCheck(context.Context, *EditCheckRequest) (*EditCheckResponse, error)
	Validate(context.Context, *ValidateRequest) (*ValidateResponse, error)
	Share(context.Context, *ShareRequest) (*ShareResponse, error)
	LookupShared(context.Context, *LookupShareRequest) (*LookupShareResponse, error)
	UpgradeSchema(context.Context, *UpgradeSchemaRequest) (*UpgradeSchemaResponse, error)
	FormatSchema(context.Context, *FormatSchemaRequest) (*FormatSchemaResponse, error)
	// contains filtered or unexported methods
}

DeveloperServiceServer is the server API for DeveloperService service. All implementations must embed UnimplementedDeveloperServiceServer for forward compatibility

type EditCheckRequest

type EditCheckRequest struct {
	Context            *RequestContext  `protobuf:"bytes,1,opt,name=context,proto3" json:"context,omitempty"`
	CheckRelationships []*RelationTuple `protobuf:"bytes,2,rep,name=check_relationships,json=checkRelationships,proto3" json:"check_relationships,omitempty"`
	// contains filtered or unexported fields
}

func (*EditCheckRequest) CloneMessageVT added in v0.9.0

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

func (*EditCheckRequest) CloneVT added in v0.8.0

func (m *EditCheckRequest) CloneVT() *EditCheckRequest

func (*EditCheckRequest) Descriptor deprecated

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

Deprecated: Use EditCheckRequest.ProtoReflect.Descriptor instead.

func (*EditCheckRequest) EqualMessageVT added in v0.11.0

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

func (*EditCheckRequest) EqualVT added in v0.11.0

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

func (*EditCheckRequest) GetCheckRelationships

func (x *EditCheckRequest) GetCheckRelationships() []*RelationTuple

func (*EditCheckRequest) GetContext

func (x *EditCheckRequest) GetContext() *RequestContext

func (*EditCheckRequest) MarshalToSizedBufferVT added in v0.8.0

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

func (*EditCheckRequest) MarshalToVT added in v0.8.0

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

func (*EditCheckRequest) MarshalVT added in v0.8.0

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

func (*EditCheckRequest) ProtoMessage

func (*EditCheckRequest) ProtoMessage()

func (*EditCheckRequest) ProtoReflect

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

func (*EditCheckRequest) Reset

func (x *EditCheckRequest) Reset()

func (*EditCheckRequest) SizeVT added in v0.8.0

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

func (*EditCheckRequest) String

func (x *EditCheckRequest) String() string

func (*EditCheckRequest) UnmarshalVT added in v0.8.0

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

func (*EditCheckRequest) Validate

func (m *EditCheckRequest) Validate() error

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

func (m *EditCheckRequest) ValidateAll() error

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

type EditCheckRequestMultiError added in v0.6.0

type EditCheckRequestMultiError []error

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

func (EditCheckRequestMultiError) AllErrors added in v0.6.0

func (m EditCheckRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (EditCheckRequestMultiError) Error added in v0.6.0

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

type EditCheckRequestValidationError

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

EditCheckRequestValidationError is the validation error returned by EditCheckRequest.Validate if the designated constraints aren't met.

func (EditCheckRequestValidationError) Cause

Cause function returns cause value.

func (EditCheckRequestValidationError) Error

Error satisfies the builtin error interface

func (EditCheckRequestValidationError) ErrorName

ErrorName returns error name.

func (EditCheckRequestValidationError) Field

Field function returns field value.

func (EditCheckRequestValidationError) Key

Key function returns key value.

func (EditCheckRequestValidationError) Reason

Reason function returns reason value.

type EditCheckResponse

type EditCheckResponse struct {
	RequestErrors []*DeveloperError  `protobuf:"bytes,1,rep,name=request_errors,json=requestErrors,proto3" json:"request_errors,omitempty"`
	CheckResults  []*EditCheckResult `protobuf:"bytes,2,rep,name=check_results,json=checkResults,proto3" json:"check_results,omitempty"`
	// contains filtered or unexported fields
}

func (*EditCheckResponse) CloneMessageVT added in v0.9.0

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

func (*EditCheckResponse) CloneVT added in v0.8.0

func (m *EditCheckResponse) CloneVT() *EditCheckResponse

func (*EditCheckResponse) Descriptor deprecated

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

Deprecated: Use EditCheckResponse.ProtoReflect.Descriptor instead.

func (*EditCheckResponse) EqualMessageVT added in v0.11.0

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

func (*EditCheckResponse) EqualVT added in v0.11.0

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

func (*EditCheckResponse) GetCheckResults

func (x *EditCheckResponse) GetCheckResults() []*EditCheckResult

func (*EditCheckResponse) GetRequestErrors

func (x *EditCheckResponse) GetRequestErrors() []*DeveloperError

func (*EditCheckResponse) MarshalToSizedBufferVT added in v0.8.0

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

func (*EditCheckResponse) MarshalToVT added in v0.8.0

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

func (*EditCheckResponse) MarshalVT added in v0.8.0

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

func (*EditCheckResponse) ProtoMessage

func (*EditCheckResponse) ProtoMessage()

func (*EditCheckResponse) ProtoReflect

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

func (*EditCheckResponse) Reset

func (x *EditCheckResponse) Reset()

func (*EditCheckResponse) SizeVT added in v0.8.0

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

func (*EditCheckResponse) String

func (x *EditCheckResponse) String() string

func (*EditCheckResponse) UnmarshalVT added in v0.8.0

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

func (*EditCheckResponse) Validate

func (m *EditCheckResponse) Validate() error

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

func (m *EditCheckResponse) ValidateAll() error

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

type EditCheckResponseMultiError added in v0.6.0

type EditCheckResponseMultiError []error

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

func (EditCheckResponseMultiError) AllErrors added in v0.6.0

func (m EditCheckResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (EditCheckResponseMultiError) Error added in v0.6.0

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

type EditCheckResponseValidationError

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

EditCheckResponseValidationError is the validation error returned by EditCheckResponse.Validate if the designated constraints aren't met.

func (EditCheckResponseValidationError) Cause

Cause function returns cause value.

func (EditCheckResponseValidationError) Error

Error satisfies the builtin error interface

func (EditCheckResponseValidationError) ErrorName

ErrorName returns error name.

func (EditCheckResponseValidationError) Field

Field function returns field value.

func (EditCheckResponseValidationError) Key

Key function returns key value.

func (EditCheckResponseValidationError) Reason

Reason function returns reason value.

type EditCheckResult

type EditCheckResult struct {
	Relationship *RelationTuple  `protobuf:"bytes,1,opt,name=relationship,proto3" json:"relationship,omitempty"`
	IsMember     bool            `protobuf:"varint,2,opt,name=is_member,json=isMember,proto3" json:"is_member,omitempty"`
	Error        *DeveloperError `protobuf:"bytes,3,opt,name=error,proto3" json:"error,omitempty"`
	// contains filtered or unexported fields
}

func (*EditCheckResult) CloneMessageVT added in v0.9.0

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

func (*EditCheckResult) CloneVT added in v0.8.0

func (m *EditCheckResult) CloneVT() *EditCheckResult

func (*EditCheckResult) Descriptor deprecated

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

Deprecated: Use EditCheckResult.ProtoReflect.Descriptor instead.

func (*EditCheckResult) EqualMessageVT added in v0.11.0

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

func (*EditCheckResult) EqualVT added in v0.11.0

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

func (*EditCheckResult) GetError

func (x *EditCheckResult) GetError() *DeveloperError

func (*EditCheckResult) GetIsMember

func (x *EditCheckResult) GetIsMember() bool

func (*EditCheckResult) GetRelationship

func (x *EditCheckResult) GetRelationship() *RelationTuple

func (*EditCheckResult) MarshalToSizedBufferVT added in v0.8.0

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

func (*EditCheckResult) MarshalToVT added in v0.8.0

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

func (*EditCheckResult) MarshalVT added in v0.8.0

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

func (*EditCheckResult) ProtoMessage

func (*EditCheckResult) ProtoMessage()

func (*EditCheckResult) ProtoReflect

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

func (*EditCheckResult) Reset

func (x *EditCheckResult) Reset()

func (*EditCheckResult) SizeVT added in v0.8.0

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

func (*EditCheckResult) String

func (x *EditCheckResult) String() string

func (*EditCheckResult) UnmarshalVT added in v0.8.0

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

func (*EditCheckResult) Validate

func (m *EditCheckResult) Validate() error

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

func (m *EditCheckResult) ValidateAll() error

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

type EditCheckResultMultiError added in v0.6.0

type EditCheckResultMultiError []error

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

func (EditCheckResultMultiError) AllErrors added in v0.6.0

func (m EditCheckResultMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (EditCheckResultMultiError) Error added in v0.6.0

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

type EditCheckResultValidationError

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

EditCheckResultValidationError is the validation error returned by EditCheckResult.Validate if the designated constraints aren't met.

func (EditCheckResultValidationError) Cause

Cause function returns cause value.

func (EditCheckResultValidationError) Error

Error satisfies the builtin error interface

func (EditCheckResultValidationError) ErrorName

func (e EditCheckResultValidationError) ErrorName() string

ErrorName returns error name.

func (EditCheckResultValidationError) Field

Field function returns field value.

func (EditCheckResultValidationError) Key

Key function returns key value.

func (EditCheckResultValidationError) Reason

Reason function returns reason value.

type FormatSchemaRequest added in v0.1.0

type FormatSchemaRequest struct {
	Schema string `protobuf:"bytes,1,opt,name=schema,proto3" json:"schema,omitempty"`
	// contains filtered or unexported fields
}

func (*FormatSchemaRequest) CloneMessageVT added in v0.9.0

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

func (*FormatSchemaRequest) CloneVT added in v0.8.0

func (*FormatSchemaRequest) Descriptor deprecated added in v0.1.0

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

Deprecated: Use FormatSchemaRequest.ProtoReflect.Descriptor instead.

func (*FormatSchemaRequest) EqualMessageVT added in v0.11.0

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

func (*FormatSchemaRequest) EqualVT added in v0.11.0

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

func (*FormatSchemaRequest) GetSchema added in v0.1.0

func (x *FormatSchemaRequest) GetSchema() string

func (*FormatSchemaRequest) MarshalToSizedBufferVT added in v0.8.0

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

func (*FormatSchemaRequest) MarshalToVT added in v0.8.0

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

func (*FormatSchemaRequest) MarshalVT added in v0.8.0

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

func (*FormatSchemaRequest) ProtoMessage added in v0.1.0

func (*FormatSchemaRequest) ProtoMessage()

func (*FormatSchemaRequest) ProtoReflect added in v0.1.0

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

func (*FormatSchemaRequest) Reset added in v0.1.0

func (x *FormatSchemaRequest) Reset()

func (*FormatSchemaRequest) SizeVT added in v0.8.0

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

func (*FormatSchemaRequest) String added in v0.1.0

func (x *FormatSchemaRequest) String() string

func (*FormatSchemaRequest) UnmarshalVT added in v0.8.0

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

func (*FormatSchemaRequest) Validate added in v0.1.0

func (m *FormatSchemaRequest) Validate() error

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

func (m *FormatSchemaRequest) ValidateAll() error

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

type FormatSchemaRequestMultiError added in v0.6.0

type FormatSchemaRequestMultiError []error

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

func (FormatSchemaRequestMultiError) AllErrors added in v0.6.0

func (m FormatSchemaRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (FormatSchemaRequestMultiError) Error added in v0.6.0

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

type FormatSchemaRequestValidationError added in v0.1.0

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

FormatSchemaRequestValidationError is the validation error returned by FormatSchemaRequest.Validate if the designated constraints aren't met.

func (FormatSchemaRequestValidationError) Cause added in v0.1.0

Cause function returns cause value.

func (FormatSchemaRequestValidationError) Error added in v0.1.0

Error satisfies the builtin error interface

func (FormatSchemaRequestValidationError) ErrorName added in v0.1.0

ErrorName returns error name.

func (FormatSchemaRequestValidationError) Field added in v0.1.0

Field function returns field value.

func (FormatSchemaRequestValidationError) Key added in v0.1.0

Key function returns key value.

func (FormatSchemaRequestValidationError) Reason added in v0.1.0

Reason function returns reason value.

type FormatSchemaResponse added in v0.1.0

type FormatSchemaResponse struct {
	Error           *DeveloperError `protobuf:"bytes,1,opt,name=error,proto3" json:"error,omitempty"`
	FormattedSchema string          `protobuf:"bytes,2,opt,name=formatted_schema,json=formattedSchema,proto3" json:"formatted_schema,omitempty"`
	// contains filtered or unexported fields
}

func (*FormatSchemaResponse) CloneMessageVT added in v0.9.0

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

func (*FormatSchemaResponse) CloneVT added in v0.8.0

func (*FormatSchemaResponse) Descriptor deprecated added in v0.1.0

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

Deprecated: Use FormatSchemaResponse.ProtoReflect.Descriptor instead.

func (*FormatSchemaResponse) EqualMessageVT added in v0.11.0

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

func (*FormatSchemaResponse) EqualVT added in v0.11.0

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

func (*FormatSchemaResponse) GetError added in v0.1.0

func (x *FormatSchemaResponse) GetError() *DeveloperError

func (*FormatSchemaResponse) GetFormattedSchema added in v0.1.0

func (x *FormatSchemaResponse) GetFormattedSchema() string

func (*FormatSchemaResponse) MarshalToSizedBufferVT added in v0.8.0

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

func (*FormatSchemaResponse) MarshalToVT added in v0.8.0

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

func (*FormatSchemaResponse) MarshalVT added in v0.8.0

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

func (*FormatSchemaResponse) ProtoMessage added in v0.1.0

func (*FormatSchemaResponse) ProtoMessage()

func (*FormatSchemaResponse) ProtoReflect added in v0.1.0

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

func (*FormatSchemaResponse) Reset added in v0.1.0

func (x *FormatSchemaResponse) Reset()

func (*FormatSchemaResponse) SizeVT added in v0.8.0

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

func (*FormatSchemaResponse) String added in v0.1.0

func (x *FormatSchemaResponse) String() string

func (*FormatSchemaResponse) UnmarshalVT added in v0.8.0

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

func (*FormatSchemaResponse) Validate added in v0.1.0

func (m *FormatSchemaResponse) Validate() error

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

func (m *FormatSchemaResponse) ValidateAll() error

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

type FormatSchemaResponseMultiError added in v0.6.0

type FormatSchemaResponseMultiError []error

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

func (FormatSchemaResponseMultiError) AllErrors added in v0.6.0

func (m FormatSchemaResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (FormatSchemaResponseMultiError) Error added in v0.6.0

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

type FormatSchemaResponseValidationError added in v0.1.0

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

FormatSchemaResponseValidationError is the validation error returned by FormatSchemaResponse.Validate if the designated constraints aren't met.

func (FormatSchemaResponseValidationError) Cause added in v0.1.0

Cause function returns cause value.

func (FormatSchemaResponseValidationError) Error added in v0.1.0

Error satisfies the builtin error interface

func (FormatSchemaResponseValidationError) ErrorName added in v0.1.0

ErrorName returns error name.

func (FormatSchemaResponseValidationError) Field added in v0.1.0

Field function returns field value.

func (FormatSchemaResponseValidationError) Key added in v0.1.0

Key function returns key value.

func (FormatSchemaResponseValidationError) Reason added in v0.1.0

Reason function returns reason value.

type LookupShareRequest

type LookupShareRequest struct {
	ShareReference string `protobuf:"bytes,1,opt,name=share_reference,json=shareReference,proto3" json:"share_reference,omitempty"`
	// contains filtered or unexported fields
}

func (*LookupShareRequest) CloneMessageVT added in v0.9.0

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

func (*LookupShareRequest) CloneVT added in v0.8.0

func (m *LookupShareRequest) CloneVT() *LookupShareRequest

func (*LookupShareRequest) Descriptor deprecated

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

Deprecated: Use LookupShareRequest.ProtoReflect.Descriptor instead.

func (*LookupShareRequest) EqualMessageVT added in v0.11.0

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

func (*LookupShareRequest) EqualVT added in v0.11.0

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

func (*LookupShareRequest) GetShareReference

func (x *LookupShareRequest) GetShareReference() string

func (*LookupShareRequest) MarshalToSizedBufferVT added in v0.8.0

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

func (*LookupShareRequest) MarshalToVT added in v0.8.0

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

func (*LookupShareRequest) MarshalVT added in v0.8.0

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

func (*LookupShareRequest) ProtoMessage

func (*LookupShareRequest) ProtoMessage()

func (*LookupShareRequest) ProtoReflect

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

func (*LookupShareRequest) Reset

func (x *LookupShareRequest) Reset()

func (*LookupShareRequest) SizeVT added in v0.8.0

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

func (*LookupShareRequest) String

func (x *LookupShareRequest) String() string

func (*LookupShareRequest) UnmarshalVT added in v0.8.0

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

func (*LookupShareRequest) Validate

func (m *LookupShareRequest) Validate() error

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

func (m *LookupShareRequest) ValidateAll() error

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

type LookupShareRequestMultiError added in v0.6.0

type LookupShareRequestMultiError []error

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

func (LookupShareRequestMultiError) AllErrors added in v0.6.0

func (m LookupShareRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (LookupShareRequestMultiError) Error added in v0.6.0

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

type LookupShareRequestValidationError

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

LookupShareRequestValidationError is the validation error returned by LookupShareRequest.Validate if the designated constraints aren't met.

func (LookupShareRequestValidationError) Cause

Cause function returns cause value.

func (LookupShareRequestValidationError) Error

Error satisfies the builtin error interface

func (LookupShareRequestValidationError) ErrorName

ErrorName returns error name.

func (LookupShareRequestValidationError) Field

Field function returns field value.

func (LookupShareRequestValidationError) Key

Key function returns key value.

func (LookupShareRequestValidationError) Reason

Reason function returns reason value.

type LookupShareResponse

type LookupShareResponse struct {
	Status            LookupShareResponse_LookupStatus `protobuf:"varint,1,opt,name=status,proto3,enum=authzed.api.v0.LookupShareResponse_LookupStatus" json:"status,omitempty"`
	Schema            string                           `protobuf:"bytes,2,opt,name=schema,proto3" json:"schema,omitempty"`
	RelationshipsYaml string                           `protobuf:"bytes,3,opt,name=relationships_yaml,json=relationshipsYaml,proto3" json:"relationships_yaml,omitempty"`
	ValidationYaml    string                           `protobuf:"bytes,4,opt,name=validation_yaml,json=validationYaml,proto3" json:"validation_yaml,omitempty"`
	AssertionsYaml    string                           `protobuf:"bytes,5,opt,name=assertions_yaml,json=assertionsYaml,proto3" json:"assertions_yaml,omitempty"`
	// contains filtered or unexported fields
}

func (*LookupShareResponse) CloneMessageVT added in v0.9.0

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

func (*LookupShareResponse) CloneVT added in v0.8.0

func (*LookupShareResponse) Descriptor deprecated

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

Deprecated: Use LookupShareResponse.ProtoReflect.Descriptor instead.

func (*LookupShareResponse) EqualMessageVT added in v0.11.0

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

func (*LookupShareResponse) EqualVT added in v0.11.0

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

func (*LookupShareResponse) GetAssertionsYaml

func (x *LookupShareResponse) GetAssertionsYaml() string

func (*LookupShareResponse) GetRelationshipsYaml

func (x *LookupShareResponse) GetRelationshipsYaml() string

func (*LookupShareResponse) GetSchema

func (x *LookupShareResponse) GetSchema() string

func (*LookupShareResponse) GetStatus

func (*LookupShareResponse) GetValidationYaml

func (x *LookupShareResponse) GetValidationYaml() string

func (*LookupShareResponse) MarshalToSizedBufferVT added in v0.8.0

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

func (*LookupShareResponse) MarshalToVT added in v0.8.0

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

func (*LookupShareResponse) MarshalVT added in v0.8.0

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

func (*LookupShareResponse) ProtoMessage

func (*LookupShareResponse) ProtoMessage()

func (*LookupShareResponse) ProtoReflect

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

func (*LookupShareResponse) Reset

func (x *LookupShareResponse) Reset()

func (*LookupShareResponse) SizeVT added in v0.8.0

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

func (*LookupShareResponse) String

func (x *LookupShareResponse) String() string

func (*LookupShareResponse) UnmarshalVT added in v0.8.0

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

func (*LookupShareResponse) Validate

func (m *LookupShareResponse) Validate() error

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

func (m *LookupShareResponse) ValidateAll() error

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

type LookupShareResponseMultiError added in v0.6.0

type LookupShareResponseMultiError []error

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

func (LookupShareResponseMultiError) AllErrors added in v0.6.0

func (m LookupShareResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (LookupShareResponseMultiError) Error added in v0.6.0

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

type LookupShareResponseValidationError

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

LookupShareResponseValidationError is the validation error returned by LookupShareResponse.Validate if the designated constraints aren't met.

func (LookupShareResponseValidationError) Cause

Cause function returns cause value.

func (LookupShareResponseValidationError) Error

Error satisfies the builtin error interface

func (LookupShareResponseValidationError) ErrorName

ErrorName returns error name.

func (LookupShareResponseValidationError) Field

Field function returns field value.

func (LookupShareResponseValidationError) Key

Key function returns key value.

func (LookupShareResponseValidationError) Reason

Reason function returns reason value.

type LookupShareResponse_LookupStatus

type LookupShareResponse_LookupStatus int32
const (
	LookupShareResponse_UNKNOWN_REFERENCE  LookupShareResponse_LookupStatus = 0
	LookupShareResponse_FAILED_TO_LOOKUP   LookupShareResponse_LookupStatus = 1
	LookupShareResponse_VALID_REFERENCE    LookupShareResponse_LookupStatus = 2
	LookupShareResponse_UPGRADED_REFERENCE LookupShareResponse_LookupStatus = 3
)

func (LookupShareResponse_LookupStatus) Descriptor

func (LookupShareResponse_LookupStatus) Enum

func (LookupShareResponse_LookupStatus) EnumDescriptor deprecated

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

Deprecated: Use LookupShareResponse_LookupStatus.Descriptor instead.

func (LookupShareResponse_LookupStatus) Number

func (LookupShareResponse_LookupStatus) String

func (LookupShareResponse_LookupStatus) Type

type ObjectAndRelation

type ObjectAndRelation struct {
	Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"`
	ObjectId  string `protobuf:"bytes,2,opt,name=object_id,json=objectId,proto3" json:"object_id,omitempty"`
	Relation  string `protobuf:"bytes,3,opt,name=relation,proto3" json:"relation,omitempty"`
	// contains filtered or unexported fields
}

func (*ObjectAndRelation) CloneMessageVT added in v0.9.0

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

func (*ObjectAndRelation) CloneVT added in v0.8.0

func (m *ObjectAndRelation) CloneVT() *ObjectAndRelation

func (*ObjectAndRelation) Descriptor deprecated

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

Deprecated: Use ObjectAndRelation.ProtoReflect.Descriptor instead.

func (*ObjectAndRelation) EqualMessageVT added in v0.11.0

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

func (*ObjectAndRelation) EqualVT added in v0.11.0

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

func (*ObjectAndRelation) GetNamespace

func (x *ObjectAndRelation) GetNamespace() string

func (*ObjectAndRelation) GetObjectId

func (x *ObjectAndRelation) GetObjectId() string

func (*ObjectAndRelation) GetRelation

func (x *ObjectAndRelation) GetRelation() string

func (*ObjectAndRelation) MarshalToSizedBufferVT added in v0.8.0

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

func (*ObjectAndRelation) MarshalToVT added in v0.8.0

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

func (*ObjectAndRelation) MarshalVT added in v0.8.0

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

func (*ObjectAndRelation) ProtoMessage

func (*ObjectAndRelation) ProtoMessage()

func (*ObjectAndRelation) ProtoReflect

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

func (*ObjectAndRelation) Reset

func (x *ObjectAndRelation) Reset()

func (*ObjectAndRelation) SizeVT added in v0.8.0

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

func (*ObjectAndRelation) String

func (x *ObjectAndRelation) String() string

func (*ObjectAndRelation) UnmarshalVT added in v0.8.0

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

func (*ObjectAndRelation) Validate

func (m *ObjectAndRelation) Validate() error

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

func (m *ObjectAndRelation) ValidateAll() error

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

type ObjectAndRelationMultiError added in v0.6.0

type ObjectAndRelationMultiError []error

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

func (ObjectAndRelationMultiError) AllErrors added in v0.6.0

func (m ObjectAndRelationMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ObjectAndRelationMultiError) Error added in v0.6.0

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

type ObjectAndRelationValidationError

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

ObjectAndRelationValidationError is the validation error returned by ObjectAndRelation.Validate if the designated constraints aren't met.

func (ObjectAndRelationValidationError) Cause

Cause function returns cause value.

func (ObjectAndRelationValidationError) Error

Error satisfies the builtin error interface

func (ObjectAndRelationValidationError) ErrorName

ErrorName returns error name.

func (ObjectAndRelationValidationError) Field

Field function returns field value.

func (ObjectAndRelationValidationError) Key

Key function returns key value.

func (ObjectAndRelationValidationError) Reason

Reason function returns reason value.

type RelationReference

type RelationReference struct {
	Namespace string `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"`
	Relation  string `protobuf:"bytes,3,opt,name=relation,proto3" json:"relation,omitempty"`
	// contains filtered or unexported fields
}

func (*RelationReference) CloneMessageVT added in v0.9.0

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

func (*RelationReference) CloneVT added in v0.8.0

func (m *RelationReference) CloneVT() *RelationReference

func (*RelationReference) Descriptor deprecated

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

Deprecated: Use RelationReference.ProtoReflect.Descriptor instead.

func (*RelationReference) EqualMessageVT added in v0.11.0

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

func (*RelationReference) EqualVT added in v0.11.0

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

func (*RelationReference) GetNamespace

func (x *RelationReference) GetNamespace() string

func (*RelationReference) GetRelation

func (x *RelationReference) GetRelation() string

func (*RelationReference) MarshalToSizedBufferVT added in v0.8.0

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

func (*RelationReference) MarshalToVT added in v0.8.0

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

func (*RelationReference) MarshalVT added in v0.8.0

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

func (*RelationReference) ProtoMessage

func (*RelationReference) ProtoMessage()

func (*RelationReference) ProtoReflect

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

func (*RelationReference) Reset

func (x *RelationReference) Reset()

func (*RelationReference) SizeVT added in v0.8.0

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

func (*RelationReference) String

func (x *RelationReference) String() string

func (*RelationReference) UnmarshalVT added in v0.8.0

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

func (*RelationReference) Validate

func (m *RelationReference) Validate() error

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

func (m *RelationReference) ValidateAll() error

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

type RelationReferenceMultiError added in v0.6.0

type RelationReferenceMultiError []error

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

func (RelationReferenceMultiError) AllErrors added in v0.6.0

func (m RelationReferenceMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (RelationReferenceMultiError) Error added in v0.6.0

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

type RelationReferenceValidationError

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

RelationReferenceValidationError is the validation error returned by RelationReference.Validate if the designated constraints aren't met.

func (RelationReferenceValidationError) Cause

Cause function returns cause value.

func (RelationReferenceValidationError) Error

Error satisfies the builtin error interface

func (RelationReferenceValidationError) ErrorName

ErrorName returns error name.

func (RelationReferenceValidationError) Field

Field function returns field value.

func (RelationReferenceValidationError) Key

Key function returns key value.

func (RelationReferenceValidationError) Reason

Reason function returns reason value.

type RelationTuple

type RelationTuple struct {

	// Each tupleset specifies keys of a set of relation tuples. The set can
	// include a single tuple key, or all tuples with a given object ID or
	// userset in a namespace, optionally constrained by a relation name.
	//
	// examples:
	// doc:readme#viewer@group:eng#member (fully specified)
	// doc:*#*#group:eng#member (all tuples that this userset relates to)
	// doc:12345#*#* (all tuples with a direct relationship to a document)
	// doc:12345#writer#* (all tuples with direct write relationship with the
	// document) doc:#writer#group:eng#member (all tuples that eng group has write
	// relationship)
	ObjectAndRelation *ObjectAndRelation `protobuf:"bytes,1,opt,name=object_and_relation,json=objectAndRelation,proto3" json:"object_and_relation,omitempty"`
	User              *User              `protobuf:"bytes,2,opt,name=user,proto3" json:"user,omitempty"`
	// contains filtered or unexported fields
}

func (*RelationTuple) CloneMessageVT added in v0.9.0

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

func (*RelationTuple) CloneVT added in v0.8.0

func (m *RelationTuple) CloneVT() *RelationTuple

func (*RelationTuple) Descriptor deprecated

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

Deprecated: Use RelationTuple.ProtoReflect.Descriptor instead.

func (*RelationTuple) EqualMessageVT added in v0.11.0

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

func (*RelationTuple) EqualVT added in v0.11.0

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

func (*RelationTuple) GetObjectAndRelation

func (x *RelationTuple) GetObjectAndRelation() *ObjectAndRelation

func (*RelationTuple) GetUser

func (x *RelationTuple) GetUser() *User

func (*RelationTuple) HandwrittenValidate added in v0.4.0

func (m *RelationTuple) HandwrittenValidate() error

func (*RelationTuple) MarshalToSizedBufferVT added in v0.8.0

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

func (*RelationTuple) MarshalToVT added in v0.8.0

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

func (*RelationTuple) MarshalVT added in v0.8.0

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

func (*RelationTuple) ProtoMessage

func (*RelationTuple) ProtoMessage()

func (*RelationTuple) ProtoReflect

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

func (*RelationTuple) Reset

func (x *RelationTuple) Reset()

func (*RelationTuple) SizeVT added in v0.8.0

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

func (*RelationTuple) String

func (x *RelationTuple) String() string

func (*RelationTuple) UnmarshalVT added in v0.8.0

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

func (*RelationTuple) Validate

func (m *RelationTuple) Validate() error

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

func (m *RelationTuple) ValidateAll() error

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

type RelationTupleMultiError added in v0.6.0

type RelationTupleMultiError []error

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

func (RelationTupleMultiError) AllErrors added in v0.6.0

func (m RelationTupleMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (RelationTupleMultiError) Error added in v0.6.0

func (m RelationTupleMultiError) Error() string

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

type RelationTupleValidationError

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

RelationTupleValidationError is the validation error returned by RelationTuple.Validate if the designated constraints aren't met.

func (RelationTupleValidationError) Cause

Cause function returns cause value.

func (RelationTupleValidationError) Error

Error satisfies the builtin error interface

func (RelationTupleValidationError) ErrorName

func (e RelationTupleValidationError) ErrorName() string

ErrorName returns error name.

func (RelationTupleValidationError) Field

Field function returns field value.

func (RelationTupleValidationError) Key

Key function returns key value.

func (RelationTupleValidationError) Reason

Reason function returns reason value.

type RequestContext

type RequestContext struct {
	Schema        string           `protobuf:"bytes,1,opt,name=schema,proto3" json:"schema,omitempty"`
	Relationships []*RelationTuple `protobuf:"bytes,2,rep,name=relationships,proto3" json:"relationships,omitempty"`
	// contains filtered or unexported fields
}

func (*RequestContext) CloneMessageVT added in v0.9.0

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

func (*RequestContext) CloneVT added in v0.8.0

func (m *RequestContext) CloneVT() *RequestContext

func (*RequestContext) Descriptor deprecated

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

Deprecated: Use RequestContext.ProtoReflect.Descriptor instead.

func (*RequestContext) EqualMessageVT added in v0.11.0

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

func (*RequestContext) EqualVT added in v0.11.0

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

func (*RequestContext) GetRelationships

func (x *RequestContext) GetRelationships() []*RelationTuple

func (*RequestContext) GetSchema

func (x *RequestContext) GetSchema() string

func (*RequestContext) MarshalToSizedBufferVT added in v0.8.0

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

func (*RequestContext) MarshalToVT added in v0.8.0

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

func (*RequestContext) MarshalVT added in v0.8.0

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

func (*RequestContext) ProtoMessage

func (*RequestContext) ProtoMessage()

func (*RequestContext) ProtoReflect

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

func (*RequestContext) Reset

func (x *RequestContext) Reset()

func (*RequestContext) SizeVT added in v0.8.0

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

func (*RequestContext) String

func (x *RequestContext) String() string

func (*RequestContext) UnmarshalVT added in v0.8.0

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

func (*RequestContext) Validate

func (m *RequestContext) Validate() error

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

func (m *RequestContext) ValidateAll() error

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

type RequestContextMultiError added in v0.6.0

type RequestContextMultiError []error

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

func (RequestContextMultiError) AllErrors added in v0.6.0

func (m RequestContextMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (RequestContextMultiError) Error added in v0.6.0

func (m RequestContextMultiError) Error() string

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

type RequestContextValidationError

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

RequestContextValidationError is the validation error returned by RequestContext.Validate if the designated constraints aren't met.

func (RequestContextValidationError) Cause

Cause function returns cause value.

func (RequestContextValidationError) Error

Error satisfies the builtin error interface

func (RequestContextValidationError) ErrorName

func (e RequestContextValidationError) ErrorName() string

ErrorName returns error name.

func (RequestContextValidationError) Field

Field function returns field value.

func (RequestContextValidationError) Key

Key function returns key value.

func (RequestContextValidationError) Reason

Reason function returns reason value.

type ShareRequest

type ShareRequest struct {
	Schema            string `protobuf:"bytes,1,opt,name=schema,proto3" json:"schema,omitempty"`
	RelationshipsYaml string `protobuf:"bytes,2,opt,name=relationships_yaml,json=relationshipsYaml,proto3" json:"relationships_yaml,omitempty"`
	ValidationYaml    string `protobuf:"bytes,3,opt,name=validation_yaml,json=validationYaml,proto3" json:"validation_yaml,omitempty"`
	AssertionsYaml    string `protobuf:"bytes,4,opt,name=assertions_yaml,json=assertionsYaml,proto3" json:"assertions_yaml,omitempty"`
	// contains filtered or unexported fields
}

func (*ShareRequest) CloneMessageVT added in v0.9.0

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

func (*ShareRequest) CloneVT added in v0.8.0

func (m *ShareRequest) CloneVT() *ShareRequest

func (*ShareRequest) Descriptor deprecated

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

Deprecated: Use ShareRequest.ProtoReflect.Descriptor instead.

func (*ShareRequest) EqualMessageVT added in v0.11.0

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

func (*ShareRequest) EqualVT added in v0.11.0

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

func (*ShareRequest) GetAssertionsYaml

func (x *ShareRequest) GetAssertionsYaml() string

func (*ShareRequest) GetRelationshipsYaml

func (x *ShareRequest) GetRelationshipsYaml() string

func (*ShareRequest) GetSchema

func (x *ShareRequest) GetSchema() string

func (*ShareRequest) GetValidationYaml

func (x *ShareRequest) GetValidationYaml() string

func (*ShareRequest) MarshalToSizedBufferVT added in v0.8.0

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

func (*ShareRequest) MarshalToVT added in v0.8.0

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

func (*ShareRequest) MarshalVT added in v0.8.0

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

func (*ShareRequest) ProtoMessage

func (*ShareRequest) ProtoMessage()

func (*ShareRequest) ProtoReflect

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

func (*ShareRequest) Reset

func (x *ShareRequest) Reset()

func (*ShareRequest) SizeVT added in v0.8.0

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

func (*ShareRequest) String

func (x *ShareRequest) String() string

func (*ShareRequest) UnmarshalVT added in v0.8.0

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

func (*ShareRequest) Validate

func (m *ShareRequest) Validate() error

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

func (m *ShareRequest) ValidateAll() error

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

type ShareRequestMultiError added in v0.6.0

type ShareRequestMultiError []error

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

func (ShareRequestMultiError) AllErrors added in v0.6.0

func (m ShareRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ShareRequestMultiError) Error added in v0.6.0

func (m ShareRequestMultiError) Error() string

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

type ShareRequestValidationError

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

ShareRequestValidationError is the validation error returned by ShareRequest.Validate if the designated constraints aren't met.

func (ShareRequestValidationError) Cause

Cause function returns cause value.

func (ShareRequestValidationError) Error

Error satisfies the builtin error interface

func (ShareRequestValidationError) ErrorName

func (e ShareRequestValidationError) ErrorName() string

ErrorName returns error name.

func (ShareRequestValidationError) Field

Field function returns field value.

func (ShareRequestValidationError) Key

Key function returns key value.

func (ShareRequestValidationError) Reason

Reason function returns reason value.

type ShareResponse

type ShareResponse struct {
	ShareReference string `protobuf:"bytes,1,opt,name=share_reference,json=shareReference,proto3" json:"share_reference,omitempty"`
	// contains filtered or unexported fields
}

func (*ShareResponse) CloneMessageVT added in v0.9.0

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

func (*ShareResponse) CloneVT added in v0.8.0

func (m *ShareResponse) CloneVT() *ShareResponse

func (*ShareResponse) Descriptor deprecated

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

Deprecated: Use ShareResponse.ProtoReflect.Descriptor instead.

func (*ShareResponse) EqualMessageVT added in v0.11.0

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

func (*ShareResponse) EqualVT added in v0.11.0

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

func (*ShareResponse) GetShareReference

func (x *ShareResponse) GetShareReference() string

func (*ShareResponse) MarshalToSizedBufferVT added in v0.8.0

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

func (*ShareResponse) MarshalToVT added in v0.8.0

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

func (*ShareResponse) MarshalVT added in v0.8.0

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

func (*ShareResponse) ProtoMessage

func (*ShareResponse) ProtoMessage()

func (*ShareResponse) ProtoReflect

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

func (*ShareResponse) Reset

func (x *ShareResponse) Reset()

func (*ShareResponse) SizeVT added in v0.8.0

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

func (*ShareResponse) String

func (x *ShareResponse) String() string

func (*ShareResponse) UnmarshalVT added in v0.8.0

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

func (*ShareResponse) Validate

func (m *ShareResponse) Validate() error

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

func (m *ShareResponse) ValidateAll() error

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

type ShareResponseMultiError added in v0.6.0

type ShareResponseMultiError []error

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

func (ShareResponseMultiError) AllErrors added in v0.6.0

func (m ShareResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ShareResponseMultiError) Error added in v0.6.0

func (m ShareResponseMultiError) Error() string

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

type ShareResponseValidationError

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

ShareResponseValidationError is the validation error returned by ShareResponse.Validate if the designated constraints aren't met.

func (ShareResponseValidationError) Cause

Cause function returns cause value.

func (ShareResponseValidationError) Error

Error satisfies the builtin error interface

func (ShareResponseValidationError) ErrorName

func (e ShareResponseValidationError) ErrorName() string

ErrorName returns error name.

func (ShareResponseValidationError) Field

Field function returns field value.

func (ShareResponseValidationError) Key

Key function returns key value.

func (ShareResponseValidationError) Reason

Reason function returns reason value.

type UnimplementedDeveloperServiceServer

type UnimplementedDeveloperServiceServer struct {
}

UnimplementedDeveloperServiceServer must be embedded to have forward compatible implementations.

func (UnimplementedDeveloperServiceServer) EditCheck

func (UnimplementedDeveloperServiceServer) FormatSchema added in v0.1.0

func (UnimplementedDeveloperServiceServer) LookupShared

func (UnimplementedDeveloperServiceServer) Share

func (UnimplementedDeveloperServiceServer) UpgradeSchema

func (UnimplementedDeveloperServiceServer) Validate

type UnsafeDeveloperServiceServer

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

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

type UpgradeSchemaRequest

type UpgradeSchemaRequest struct {
	NamespaceConfigs []string `protobuf:"bytes,1,rep,name=namespace_configs,json=namespaceConfigs,proto3" json:"namespace_configs,omitempty"`
	// contains filtered or unexported fields
}

func (*UpgradeSchemaRequest) CloneMessageVT added in v0.9.0

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

func (*UpgradeSchemaRequest) CloneVT added in v0.8.0

func (*UpgradeSchemaRequest) Descriptor deprecated

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

Deprecated: Use UpgradeSchemaRequest.ProtoReflect.Descriptor instead.

func (*UpgradeSchemaRequest) EqualMessageVT added in v0.11.0

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

func (*UpgradeSchemaRequest) EqualVT added in v0.11.0

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

func (*UpgradeSchemaRequest) GetNamespaceConfigs

func (x *UpgradeSchemaRequest) GetNamespaceConfigs() []string

func (*UpgradeSchemaRequest) MarshalToSizedBufferVT added in v0.8.0

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

func (*UpgradeSchemaRequest) MarshalToVT added in v0.8.0

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

func (*UpgradeSchemaRequest) MarshalVT added in v0.8.0

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

func (*UpgradeSchemaRequest) ProtoMessage

func (*UpgradeSchemaRequest) ProtoMessage()

func (*UpgradeSchemaRequest) ProtoReflect

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

func (*UpgradeSchemaRequest) Reset

func (x *UpgradeSchemaRequest) Reset()

func (*UpgradeSchemaRequest) SizeVT added in v0.8.0

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

func (*UpgradeSchemaRequest) String

func (x *UpgradeSchemaRequest) String() string

func (*UpgradeSchemaRequest) UnmarshalVT added in v0.8.0

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

func (*UpgradeSchemaRequest) Validate

func (m *UpgradeSchemaRequest) Validate() error

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

func (m *UpgradeSchemaRequest) ValidateAll() error

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

type UpgradeSchemaRequestMultiError added in v0.6.0

type UpgradeSchemaRequestMultiError []error

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

func (UpgradeSchemaRequestMultiError) AllErrors added in v0.6.0

func (m UpgradeSchemaRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (UpgradeSchemaRequestMultiError) Error added in v0.6.0

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

type UpgradeSchemaRequestValidationError

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

UpgradeSchemaRequestValidationError is the validation error returned by UpgradeSchemaRequest.Validate if the designated constraints aren't met.

func (UpgradeSchemaRequestValidationError) Cause

Cause function returns cause value.

func (UpgradeSchemaRequestValidationError) Error

Error satisfies the builtin error interface

func (UpgradeSchemaRequestValidationError) ErrorName

ErrorName returns error name.

func (UpgradeSchemaRequestValidationError) Field

Field function returns field value.

func (UpgradeSchemaRequestValidationError) Key

Key function returns key value.

func (UpgradeSchemaRequestValidationError) Reason

Reason function returns reason value.

type UpgradeSchemaResponse

type UpgradeSchemaResponse struct {
	Error          *DeveloperError `protobuf:"bytes,1,opt,name=error,proto3" json:"error,omitempty"`
	UpgradedSchema string          `protobuf:"bytes,2,opt,name=upgraded_schema,json=upgradedSchema,proto3" json:"upgraded_schema,omitempty"`
	// contains filtered or unexported fields
}

func (*UpgradeSchemaResponse) CloneMessageVT added in v0.9.0

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

func (*UpgradeSchemaResponse) CloneVT added in v0.8.0

func (*UpgradeSchemaResponse) Descriptor deprecated

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

Deprecated: Use UpgradeSchemaResponse.ProtoReflect.Descriptor instead.

func (*UpgradeSchemaResponse) EqualMessageVT added in v0.11.0

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

func (*UpgradeSchemaResponse) EqualVT added in v0.11.0

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

func (*UpgradeSchemaResponse) GetError

func (x *UpgradeSchemaResponse) GetError() *DeveloperError

func (*UpgradeSchemaResponse) GetUpgradedSchema

func (x *UpgradeSchemaResponse) GetUpgradedSchema() string

func (*UpgradeSchemaResponse) MarshalToSizedBufferVT added in v0.8.0

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

func (*UpgradeSchemaResponse) MarshalToVT added in v0.8.0

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

func (*UpgradeSchemaResponse) MarshalVT added in v0.8.0

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

func (*UpgradeSchemaResponse) ProtoMessage

func (*UpgradeSchemaResponse) ProtoMessage()

func (*UpgradeSchemaResponse) ProtoReflect

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

func (*UpgradeSchemaResponse) Reset

func (x *UpgradeSchemaResponse) Reset()

func (*UpgradeSchemaResponse) SizeVT added in v0.8.0

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

func (*UpgradeSchemaResponse) String

func (x *UpgradeSchemaResponse) String() string

func (*UpgradeSchemaResponse) UnmarshalVT added in v0.8.0

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

func (*UpgradeSchemaResponse) Validate

func (m *UpgradeSchemaResponse) Validate() error

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

func (m *UpgradeSchemaResponse) ValidateAll() error

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

type UpgradeSchemaResponseMultiError added in v0.6.0

type UpgradeSchemaResponseMultiError []error

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

func (UpgradeSchemaResponseMultiError) AllErrors added in v0.6.0

func (m UpgradeSchemaResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (UpgradeSchemaResponseMultiError) Error added in v0.6.0

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

type UpgradeSchemaResponseValidationError

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

UpgradeSchemaResponseValidationError is the validation error returned by UpgradeSchemaResponse.Validate if the designated constraints aren't met.

func (UpgradeSchemaResponseValidationError) Cause

Cause function returns cause value.

func (UpgradeSchemaResponseValidationError) Error

Error satisfies the builtin error interface

func (UpgradeSchemaResponseValidationError) ErrorName

ErrorName returns error name.

func (UpgradeSchemaResponseValidationError) Field

Field function returns field value.

func (UpgradeSchemaResponseValidationError) Key

Key function returns key value.

func (UpgradeSchemaResponseValidationError) Reason

Reason function returns reason value.

type User

type User struct {

	// Types that are assignable to UserOneof:
	//
	//	*User_Userset
	UserOneof isUser_UserOneof `protobuf_oneof:"user_oneof"`
	// contains filtered or unexported fields
}

func (*User) CloneMessageVT added in v0.9.0

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

func (*User) CloneVT added in v0.8.0

func (m *User) CloneVT() *User

func (*User) Descriptor deprecated

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

Deprecated: Use User.ProtoReflect.Descriptor instead.

func (*User) EqualMessageVT added in v0.11.0

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

func (*User) EqualVT added in v0.11.0

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

func (*User) GetUserOneof

func (m *User) GetUserOneof() isUser_UserOneof

func (*User) GetUserset

func (x *User) GetUserset() *ObjectAndRelation

func (*User) MarshalToSizedBufferVT added in v0.8.0

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

func (*User) MarshalToVT added in v0.8.0

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

func (*User) MarshalVT added in v0.8.0

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

func (*User) ProtoMessage

func (*User) ProtoMessage()

func (*User) ProtoReflect

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

func (*User) Reset

func (x *User) Reset()

func (*User) SizeVT added in v0.8.0

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

func (*User) String

func (x *User) String() string

func (*User) UnmarshalVT added in v0.8.0

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

func (*User) Validate

func (m *User) Validate() error

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

func (m *User) ValidateAll() error

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

type UserMultiError added in v0.6.0

type UserMultiError []error

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

func (UserMultiError) AllErrors added in v0.6.0

func (m UserMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (UserMultiError) Error added in v0.6.0

func (m UserMultiError) Error() string

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

type UserValidationError

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

UserValidationError is the validation error returned by User.Validate if the designated constraints aren't met.

func (UserValidationError) Cause

func (e UserValidationError) Cause() error

Cause function returns cause value.

func (UserValidationError) Error

func (e UserValidationError) Error() string

Error satisfies the builtin error interface

func (UserValidationError) ErrorName

func (e UserValidationError) ErrorName() string

ErrorName returns error name.

func (UserValidationError) Field

func (e UserValidationError) Field() string

Field function returns field value.

func (UserValidationError) Key

func (e UserValidationError) Key() bool

Key function returns key value.

func (UserValidationError) Reason

func (e UserValidationError) Reason() string

Reason function returns reason value.

type User_Userset

type User_Userset struct {
	Userset *ObjectAndRelation `protobuf:"bytes,2,opt,name=userset,proto3,oneof"`
}

func (*User_Userset) CloneVT added in v0.8.0

func (m *User_Userset) CloneVT() isUser_UserOneof

func (*User_Userset) EqualVT added in v0.11.0

func (this *User_Userset) EqualVT(thatIface isUser_UserOneof) bool

func (*User_Userset) MarshalToSizedBufferVT added in v0.8.0

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

func (*User_Userset) MarshalToVT added in v0.8.0

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

func (*User_Userset) SizeVT added in v0.8.0

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

type ValidateRequest

type ValidateRequest struct {
	Context              *RequestContext `protobuf:"bytes,1,opt,name=context,proto3" json:"context,omitempty"`
	ValidationYaml       string          `protobuf:"bytes,3,opt,name=validation_yaml,json=validationYaml,proto3" json:"validation_yaml,omitempty"`
	UpdateValidationYaml bool            `protobuf:"varint,4,opt,name=update_validation_yaml,json=updateValidationYaml,proto3" json:"update_validation_yaml,omitempty"`
	AssertionsYaml       string          `protobuf:"bytes,5,opt,name=assertions_yaml,json=assertionsYaml,proto3" json:"assertions_yaml,omitempty"`
	// contains filtered or unexported fields
}

func (*ValidateRequest) CloneMessageVT added in v0.9.0

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

func (*ValidateRequest) CloneVT added in v0.8.0

func (m *ValidateRequest) CloneVT() *ValidateRequest

func (*ValidateRequest) Descriptor deprecated

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

Deprecated: Use ValidateRequest.ProtoReflect.Descriptor instead.

func (*ValidateRequest) EqualMessageVT added in v0.11.0

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

func (*ValidateRequest) EqualVT added in v0.11.0

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

func (*ValidateRequest) GetAssertionsYaml

func (x *ValidateRequest) GetAssertionsYaml() string

func (*ValidateRequest) GetContext

func (x *ValidateRequest) GetContext() *RequestContext

func (*ValidateRequest) GetUpdateValidationYaml

func (x *ValidateRequest) GetUpdateValidationYaml() bool

func (*ValidateRequest) GetValidationYaml

func (x *ValidateRequest) GetValidationYaml() string

func (*ValidateRequest) MarshalToSizedBufferVT added in v0.8.0

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

func (*ValidateRequest) MarshalToVT added in v0.8.0

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

func (*ValidateRequest) MarshalVT added in v0.8.0

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

func (*ValidateRequest) ProtoMessage

func (*ValidateRequest) ProtoMessage()

func (*ValidateRequest) ProtoReflect

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

func (*ValidateRequest) Reset

func (x *ValidateRequest) Reset()

func (*ValidateRequest) SizeVT added in v0.8.0

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

func (*ValidateRequest) String

func (x *ValidateRequest) String() string

func (*ValidateRequest) UnmarshalVT added in v0.8.0

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

func (*ValidateRequest) Validate

func (m *ValidateRequest) Validate() error

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

func (m *ValidateRequest) ValidateAll() error

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

type ValidateRequestMultiError added in v0.6.0

type ValidateRequestMultiError []error

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

func (ValidateRequestMultiError) AllErrors added in v0.6.0

func (m ValidateRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ValidateRequestMultiError) Error added in v0.6.0

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

type ValidateRequestValidationError

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

ValidateRequestValidationError is the validation error returned by ValidateRequest.Validate if the designated constraints aren't met.

func (ValidateRequestValidationError) Cause

Cause function returns cause value.

func (ValidateRequestValidationError) Error

Error satisfies the builtin error interface

func (ValidateRequestValidationError) ErrorName

func (e ValidateRequestValidationError) ErrorName() string

ErrorName returns error name.

func (ValidateRequestValidationError) Field

Field function returns field value.

func (ValidateRequestValidationError) Key

Key function returns key value.

func (ValidateRequestValidationError) Reason

Reason function returns reason value.

type ValidateResponse

type ValidateResponse struct {
	RequestErrors         []*DeveloperError `protobuf:"bytes,1,rep,name=request_errors,json=requestErrors,proto3" json:"request_errors,omitempty"`
	ValidationErrors      []*DeveloperError `protobuf:"bytes,2,rep,name=validation_errors,json=validationErrors,proto3" json:"validation_errors,omitempty"`
	UpdatedValidationYaml string            `` /* 126-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*ValidateResponse) CloneMessageVT added in v0.9.0

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

func (*ValidateResponse) CloneVT added in v0.8.0

func (m *ValidateResponse) CloneVT() *ValidateResponse

func (*ValidateResponse) Descriptor deprecated

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

Deprecated: Use ValidateResponse.ProtoReflect.Descriptor instead.

func (*ValidateResponse) EqualMessageVT added in v0.11.0

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

func (*ValidateResponse) EqualVT added in v0.11.0

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

func (*ValidateResponse) GetRequestErrors

func (x *ValidateResponse) GetRequestErrors() []*DeveloperError

func (*ValidateResponse) GetUpdatedValidationYaml

func (x *ValidateResponse) GetUpdatedValidationYaml() string

func (*ValidateResponse) GetValidationErrors

func (x *ValidateResponse) GetValidationErrors() []*DeveloperError

func (*ValidateResponse) MarshalToSizedBufferVT added in v0.8.0

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

func (*ValidateResponse) MarshalToVT added in v0.8.0

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

func (*ValidateResponse) MarshalVT added in v0.8.0

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

func (*ValidateResponse) ProtoMessage

func (*ValidateResponse) ProtoMessage()

func (*ValidateResponse) ProtoReflect

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

func (*ValidateResponse) Reset

func (x *ValidateResponse) Reset()

func (*ValidateResponse) SizeVT added in v0.8.0

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

func (*ValidateResponse) String

func (x *ValidateResponse) String() string

func (*ValidateResponse) UnmarshalVT added in v0.8.0

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

func (*ValidateResponse) Validate

func (m *ValidateResponse) Validate() error

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

func (m *ValidateResponse) ValidateAll() error

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

type ValidateResponseMultiError added in v0.6.0

type ValidateResponseMultiError []error

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

func (ValidateResponseMultiError) AllErrors added in v0.6.0

func (m ValidateResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ValidateResponseMultiError) Error added in v0.6.0

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

type ValidateResponseValidationError

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

ValidateResponseValidationError is the validation error returned by ValidateResponse.Validate if the designated constraints aren't met.

func (ValidateResponseValidationError) Cause

Cause function returns cause value.

func (ValidateResponseValidationError) Error

Error satisfies the builtin error interface

func (ValidateResponseValidationError) ErrorName

ErrorName returns error name.

func (ValidateResponseValidationError) Field

Field function returns field value.

func (ValidateResponseValidationError) Key

Key function returns key value.

func (ValidateResponseValidationError) Reason

Reason function returns reason value.

Jump to

Keyboard shortcuts

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