openfgav1

package
v0.0.0-...-836eb3c Latest Latest
Warning

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

Go to latest
Published: Jan 9, 2024 License: Apache-2.0 Imports: 34 Imported by: 4

Documentation

Overview

Package openfgav1 is a reverse proxy.

It translates gRPC into RESTful JSON APIs.

Index

Constants

View Source
const (
	OpenFGAService_Read_FullMethodName                    = "/openfga.v1.OpenFGAService/Read"
	OpenFGAService_Write_FullMethodName                   = "/openfga.v1.OpenFGAService/Write"
	OpenFGAService_Check_FullMethodName                   = "/openfga.v1.OpenFGAService/Check"
	OpenFGAService_Expand_FullMethodName                  = "/openfga.v1.OpenFGAService/Expand"
	OpenFGAService_ReadAuthorizationModels_FullMethodName = "/openfga.v1.OpenFGAService/ReadAuthorizationModels"
	OpenFGAService_ReadAuthorizationModel_FullMethodName  = "/openfga.v1.OpenFGAService/ReadAuthorizationModel"
	OpenFGAService_WriteAuthorizationModel_FullMethodName = "/openfga.v1.OpenFGAService/WriteAuthorizationModel"
	OpenFGAService_WriteAssertions_FullMethodName         = "/openfga.v1.OpenFGAService/WriteAssertions"
	OpenFGAService_ReadAssertions_FullMethodName          = "/openfga.v1.OpenFGAService/ReadAssertions"
	OpenFGAService_ReadChanges_FullMethodName             = "/openfga.v1.OpenFGAService/ReadChanges"
	OpenFGAService_CreateStore_FullMethodName             = "/openfga.v1.OpenFGAService/CreateStore"
	OpenFGAService_UpdateStore_FullMethodName             = "/openfga.v1.OpenFGAService/UpdateStore"
	OpenFGAService_DeleteStore_FullMethodName             = "/openfga.v1.OpenFGAService/DeleteStore"
	OpenFGAService_GetStore_FullMethodName                = "/openfga.v1.OpenFGAService/GetStore"
	OpenFGAService_ListStores_FullMethodName              = "/openfga.v1.OpenFGAService/ListStores"
	OpenFGAService_StreamedListObjects_FullMethodName     = "/openfga.v1.OpenFGAService/StreamedListObjects"
	OpenFGAService_ListObjects_FullMethodName             = "/openfga.v1.OpenFGAService/ListObjects"
)

Variables

View Source
var (
	ConditionParamTypeRef_TypeName_name = map[int32]string{
		0:  "TYPE_NAME_UNSPECIFIED",
		1:  "TYPE_NAME_ANY",
		2:  "TYPE_NAME_BOOL",
		3:  "TYPE_NAME_STRING",
		4:  "TYPE_NAME_INT",
		5:  "TYPE_NAME_UINT",
		6:  "TYPE_NAME_DOUBLE",
		7:  "TYPE_NAME_DURATION",
		8:  "TYPE_NAME_TIMESTAMP",
		9:  "TYPE_NAME_MAP",
		10: "TYPE_NAME_LIST",
		11: "TYPE_NAME_IPADDRESS",
	}
	ConditionParamTypeRef_TypeName_value = map[string]int32{
		"TYPE_NAME_UNSPECIFIED": 0,
		"TYPE_NAME_ANY":         1,
		"TYPE_NAME_BOOL":        2,
		"TYPE_NAME_STRING":      3,
		"TYPE_NAME_INT":         4,
		"TYPE_NAME_UINT":        5,
		"TYPE_NAME_DOUBLE":      6,
		"TYPE_NAME_DURATION":    7,
		"TYPE_NAME_TIMESTAMP":   8,
		"TYPE_NAME_MAP":         9,
		"TYPE_NAME_LIST":        10,
		"TYPE_NAME_IPADDRESS":   11,
	}
)

Enum value maps for ConditionParamTypeRef_TypeName.

View Source
var (
	AuthErrorCode_name = map[int32]string{
		0:    "no_auth_error",
		1001: "auth_failed_invalid_subject",
		1002: "auth_failed_invalid_audience",
		1003: "auth_failed_invalid_issuer",
		1004: "invalid_claims",
		1005: "auth_failed_invalid_bearer_token",
		1010: "bearer_token_missing",
		1500: "unauthenticated",
	}
	AuthErrorCode_value = map[string]int32{
		"no_auth_error":                    0,
		"auth_failed_invalid_subject":      1001,
		"auth_failed_invalid_audience":     1002,
		"auth_failed_invalid_issuer":       1003,
		"invalid_claims":                   1004,
		"auth_failed_invalid_bearer_token": 1005,
		"bearer_token_missing":             1010,
		"unauthenticated":                  1500,
	}
)

Enum value maps for AuthErrorCode.

View Source
var (
	ErrorCode_name = map[int32]string{
		0:    "no_error",
		2000: "validation_error",
		2001: "authorization_model_not_found",
		2002: "authorization_model_resolution_too_complex",
		2003: "invalid_write_input",
		2004: "cannot_allow_duplicate_tuples_in_one_request",
		2005: "cannot_allow_duplicate_types_in_one_request",
		2006: "cannot_allow_multiple_references_to_one_relation",
		2007: "invalid_continuation_token",
		2008: "invalid_tuple_set",
		2009: "invalid_check_input",
		2010: "invalid_expand_input",
		2011: "unsupported_user_set",
		2012: "invalid_object_format",
		2017: "write_failed_due_to_invalid_input",
		2018: "authorization_model_assertions_not_found",
		2020: "latest_authorization_model_not_found",
		2021: "type_not_found",
		2022: "relation_not_found",
		2023: "empty_relation_definition",
		2025: "invalid_user",
		2027: "invalid_tuple",
		2028: "unknown_relation",
		2030: "store_id_invalid_length",
		2033: "assertions_too_many_items",
		2034: "id_too_long",
		2036: "authorization_model_id_too_long",
		2037: "tuple_key_value_not_specified",
		2038: "tuple_keys_too_many_or_too_few_items",
		2039: "page_size_invalid",
		2040: "param_missing_value",
		2041: "difference_base_missing_value",
		2042: "subtract_base_missing_value",
		2043: "object_too_long",
		2044: "relation_too_long",
		2045: "type_definitions_too_few_items",
		2046: "type_invalid_length",
		2047: "type_invalid_pattern",
		2048: "relations_too_few_items",
		2049: "relations_too_long",
		2050: "relations_invalid_pattern",
		2051: "object_invalid_pattern",
		2052: "query_string_type_continuation_token_mismatch",
		2053: "exceeded_entity_limit",
		2054: "invalid_contextual_tuple",
		2055: "duplicate_contextual_tuple",
		2056: "invalid_authorization_model",
		2057: "unsupported_schema_version",
	}
	ErrorCode_value = map[string]int32{
		"no_error":                                         0,
		"validation_error":                                 2000,
		"authorization_model_not_found":                    2001,
		"authorization_model_resolution_too_complex":       2002,
		"invalid_write_input":                              2003,
		"cannot_allow_duplicate_tuples_in_one_request":     2004,
		"cannot_allow_duplicate_types_in_one_request":      2005,
		"cannot_allow_multiple_references_to_one_relation": 2006,
		"invalid_continuation_token":                       2007,
		"invalid_tuple_set":                                2008,
		"invalid_check_input":                              2009,
		"invalid_expand_input":                             2010,
		"unsupported_user_set":                             2011,
		"invalid_object_format":                            2012,
		"write_failed_due_to_invalid_input":                2017,
		"authorization_model_assertions_not_found":         2018,
		"latest_authorization_model_not_found":             2020,
		"type_not_found":                                   2021,
		"relation_not_found":                               2022,
		"empty_relation_definition":                        2023,
		"invalid_user":                                     2025,
		"invalid_tuple":                                    2027,
		"unknown_relation":                                 2028,
		"store_id_invalid_length":                          2030,
		"assertions_too_many_items":                        2033,
		"id_too_long":                                      2034,
		"authorization_model_id_too_long":                  2036,
		"tuple_key_value_not_specified":                    2037,
		"tuple_keys_too_many_or_too_few_items":             2038,
		"page_size_invalid":                                2039,
		"param_missing_value":                              2040,
		"difference_base_missing_value":                    2041,
		"subtract_base_missing_value":                      2042,
		"object_too_long":                                  2043,
		"relation_too_long":                                2044,
		"type_definitions_too_few_items":                   2045,
		"type_invalid_length":                              2046,
		"type_invalid_pattern":                             2047,
		"relations_too_few_items":                          2048,
		"relations_too_long":                               2049,
		"relations_invalid_pattern":                        2050,
		"object_invalid_pattern":                           2051,
		"query_string_type_continuation_token_mismatch":    2052,
		"exceeded_entity_limit":                            2053,
		"invalid_contextual_tuple":                         2054,
		"duplicate_contextual_tuple":                       2055,
		"invalid_authorization_model":                      2056,
		"unsupported_schema_version":                       2057,
	}
)

Enum value maps for ErrorCode.

View Source
var (
	InternalErrorCode_name = map[int32]string{
		0:    "no_internal_error",
		4000: "internal_error",
		4003: "cancelled",
		4004: "deadline_exceeded",
		4005: "already_exists",
		4006: "resource_exhausted",
		4007: "failed_precondition",
		4008: "aborted",
		4009: "out_of_range",
		4010: "unavailable",
		4011: "data_loss",
	}
	InternalErrorCode_value = map[string]int32{
		"no_internal_error":   0,
		"internal_error":      4000,
		"cancelled":           4003,
		"deadline_exceeded":   4004,
		"already_exists":      4005,
		"resource_exhausted":  4006,
		"failed_precondition": 4007,
		"aborted":             4008,
		"out_of_range":        4009,
		"unavailable":         4010,
		"data_loss":           4011,
	}
)

Enum value maps for InternalErrorCode.

View Source
var (
	NotFoundErrorCode_name = map[int32]string{
		0:    "no_not_found_error",
		5000: "undefined_endpoint",
		5002: "store_id_not_found",
		5004: "unimplemented",
	}
	NotFoundErrorCode_value = map[string]int32{
		"no_not_found_error": 0,
		"undefined_endpoint": 5000,
		"store_id_not_found": 5002,
		"unimplemented":      5004,
	}
)

Enum value maps for NotFoundErrorCode.

View Source
var (
	TupleOperation_name = map[int32]string{
		0: "TUPLE_OPERATION_WRITE",
		1: "TUPLE_OPERATION_DELETE",
	}
	TupleOperation_value = map[string]int32{
		"TUPLE_OPERATION_WRITE":  0,
		"TUPLE_OPERATION_DELETE": 1,
	}
)

Enum value maps for TupleOperation.

View Source
var File_openfga_v1_authzmodel_proto protoreflect.FileDescriptor
View Source
var File_openfga_v1_errors_ignore_proto protoreflect.FileDescriptor
View Source
var File_openfga_v1_openapi_proto protoreflect.FileDescriptor
View Source
var File_openfga_v1_openfga_proto protoreflect.FileDescriptor
View Source
var File_openfga_v1_openfga_service_proto protoreflect.FileDescriptor
View Source
var OpenFGAService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "openfga.v1.OpenFGAService",
	HandlerType: (*OpenFGAServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "Read",
			Handler:    _OpenFGAService_Read_Handler,
		},
		{
			MethodName: "Write",
			Handler:    _OpenFGAService_Write_Handler,
		},
		{
			MethodName: "Check",
			Handler:    _OpenFGAService_Check_Handler,
		},
		{
			MethodName: "Expand",
			Handler:    _OpenFGAService_Expand_Handler,
		},
		{
			MethodName: "ReadAuthorizationModels",
			Handler:    _OpenFGAService_ReadAuthorizationModels_Handler,
		},
		{
			MethodName: "ReadAuthorizationModel",
			Handler:    _OpenFGAService_ReadAuthorizationModel_Handler,
		},
		{
			MethodName: "WriteAuthorizationModel",
			Handler:    _OpenFGAService_WriteAuthorizationModel_Handler,
		},
		{
			MethodName: "WriteAssertions",
			Handler:    _OpenFGAService_WriteAssertions_Handler,
		},
		{
			MethodName: "ReadAssertions",
			Handler:    _OpenFGAService_ReadAssertions_Handler,
		},
		{
			MethodName: "ReadChanges",
			Handler:    _OpenFGAService_ReadChanges_Handler,
		},
		{
			MethodName: "CreateStore",
			Handler:    _OpenFGAService_CreateStore_Handler,
		},
		{
			MethodName: "UpdateStore",
			Handler:    _OpenFGAService_UpdateStore_Handler,
		},
		{
			MethodName: "DeleteStore",
			Handler:    _OpenFGAService_DeleteStore_Handler,
		},
		{
			MethodName: "GetStore",
			Handler:    _OpenFGAService_GetStore_Handler,
		},
		{
			MethodName: "ListStores",
			Handler:    _OpenFGAService_ListStores_Handler,
		},
		{
			MethodName: "ListObjects",
			Handler:    _OpenFGAService_ListObjects_Handler,
		},
	},
	Streams: []grpc.StreamDesc{
		{
			StreamName:    "StreamedListObjects",
			Handler:       _OpenFGAService_StreamedListObjects_Handler,
			ServerStreams: true,
		},
	},
	Metadata: "openfga/v1/openfga_service.proto",
}

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

Functions

func RegisterOpenFGAServiceHandler

func RegisterOpenFGAServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error

RegisterOpenFGAServiceHandler registers the http handlers for service OpenFGAService to "mux". The handlers forward requests to the grpc endpoint over "conn".

func RegisterOpenFGAServiceHandlerClient

func RegisterOpenFGAServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client OpenFGAServiceClient) error

RegisterOpenFGAServiceHandlerClient registers the http handlers for service OpenFGAService to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "OpenFGAServiceClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "OpenFGAServiceClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "OpenFGAServiceClient" to call the correct interceptors.

func RegisterOpenFGAServiceHandlerFromEndpoint

func RegisterOpenFGAServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)

RegisterOpenFGAServiceHandlerFromEndpoint is same as RegisterOpenFGAServiceHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.

func RegisterOpenFGAServiceHandlerServer

func RegisterOpenFGAServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server OpenFGAServiceServer) error

RegisterOpenFGAServiceHandlerServer registers the http handlers for service OpenFGAService to "mux". UnaryRPC :call OpenFGAServiceServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterOpenFGAServiceHandlerFromEndpoint instead.

func RegisterOpenFGAServiceServer

func RegisterOpenFGAServiceServer(s grpc.ServiceRegistrar, srv OpenFGAServiceServer)

Types

type AbortedMessageResponse

type AbortedMessageResponse struct {
	Code    string `protobuf:"bytes,1,opt,name=code,proto3" json:"code,omitempty"`
	Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
	// contains filtered or unexported fields
}

func (*AbortedMessageResponse) Descriptor deprecated

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

Deprecated: Use AbortedMessageResponse.ProtoReflect.Descriptor instead.

func (*AbortedMessageResponse) GetCode

func (x *AbortedMessageResponse) GetCode() string

func (*AbortedMessageResponse) GetMessage

func (x *AbortedMessageResponse) GetMessage() string

func (*AbortedMessageResponse) ProtoMessage

func (*AbortedMessageResponse) ProtoMessage()

func (*AbortedMessageResponse) ProtoReflect

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

func (*AbortedMessageResponse) Reset

func (x *AbortedMessageResponse) Reset()

func (*AbortedMessageResponse) String

func (x *AbortedMessageResponse) String() string

func (*AbortedMessageResponse) Validate

func (m *AbortedMessageResponse) Validate() error

Validate checks the field values on AbortedMessageResponse 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 (*AbortedMessageResponse) ValidateAll

func (m *AbortedMessageResponse) ValidateAll() error

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

type AbortedMessageResponseMultiError

type AbortedMessageResponseMultiError []error

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

func (AbortedMessageResponseMultiError) AllErrors

func (m AbortedMessageResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (AbortedMessageResponseMultiError) Error

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

type AbortedMessageResponseValidationError

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

AbortedMessageResponseValidationError is the validation error returned by AbortedMessageResponse.Validate if the designated constraints aren't met.

func (AbortedMessageResponseValidationError) Cause

Cause function returns cause value.

func (AbortedMessageResponseValidationError) Error

Error satisfies the builtin error interface

func (AbortedMessageResponseValidationError) ErrorName

ErrorName returns error name.

func (AbortedMessageResponseValidationError) Field

Field function returns field value.

func (AbortedMessageResponseValidationError) Key

Key function returns key value.

func (AbortedMessageResponseValidationError) Reason

Reason function returns reason value.

type Assertion

type Assertion struct {
	TupleKey    *AssertionTupleKey `protobuf:"bytes,1,opt,name=tuple_key,proto3" json:"tuple_key,omitempty"`
	Expectation bool               `protobuf:"varint,2,opt,name=expectation,proto3" json:"expectation,omitempty"`
	// contains filtered or unexported fields
}

func (*Assertion) Descriptor deprecated

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

Deprecated: Use Assertion.ProtoReflect.Descriptor instead.

func (*Assertion) GetExpectation

func (x *Assertion) GetExpectation() bool

func (*Assertion) GetTupleKey

func (x *Assertion) GetTupleKey() *AssertionTupleKey

func (*Assertion) ProtoMessage

func (*Assertion) ProtoMessage()

func (*Assertion) ProtoReflect

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

func (*Assertion) Reset

func (x *Assertion) Reset()

func (*Assertion) String

func (x *Assertion) String() string

func (*Assertion) Validate

func (m *Assertion) Validate() error

Validate checks the field values on Assertion 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 (*Assertion) ValidateAll

func (m *Assertion) ValidateAll() error

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

type AssertionMultiError

type AssertionMultiError []error

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

func (AssertionMultiError) AllErrors

func (m AssertionMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (AssertionMultiError) Error

func (m AssertionMultiError) Error() string

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

type AssertionTupleKey

type AssertionTupleKey struct {
	Object   string `protobuf:"bytes,1,opt,name=object,proto3" json:"object,omitempty"`
	Relation string `protobuf:"bytes,2,opt,name=relation,proto3" json:"relation,omitempty"`
	User     string `protobuf:"bytes,3,opt,name=user,proto3" json:"user,omitempty"`
	// contains filtered or unexported fields
}

func (*AssertionTupleKey) Descriptor deprecated

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

Deprecated: Use AssertionTupleKey.ProtoReflect.Descriptor instead.

func (*AssertionTupleKey) GetObject

func (x *AssertionTupleKey) GetObject() string

func (*AssertionTupleKey) GetRelation

func (x *AssertionTupleKey) GetRelation() string

func (*AssertionTupleKey) GetUser

func (x *AssertionTupleKey) GetUser() string

func (*AssertionTupleKey) ProtoMessage

func (*AssertionTupleKey) ProtoMessage()

func (*AssertionTupleKey) ProtoReflect

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

func (*AssertionTupleKey) Reset

func (x *AssertionTupleKey) Reset()

func (*AssertionTupleKey) String

func (x *AssertionTupleKey) String() string

func (*AssertionTupleKey) Validate

func (m *AssertionTupleKey) Validate() error

Validate checks the field values on AssertionTupleKey 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 (*AssertionTupleKey) ValidateAll

func (m *AssertionTupleKey) ValidateAll() error

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

type AssertionTupleKeyMultiError

type AssertionTupleKeyMultiError []error

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

func (AssertionTupleKeyMultiError) AllErrors

func (m AssertionTupleKeyMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (AssertionTupleKeyMultiError) Error

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

type AssertionTupleKeyValidationError

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

AssertionTupleKeyValidationError is the validation error returned by AssertionTupleKey.Validate if the designated constraints aren't met.

func (AssertionTupleKeyValidationError) Cause

Cause function returns cause value.

func (AssertionTupleKeyValidationError) Error

Error satisfies the builtin error interface

func (AssertionTupleKeyValidationError) ErrorName

ErrorName returns error name.

func (AssertionTupleKeyValidationError) Field

Field function returns field value.

func (AssertionTupleKeyValidationError) Key

Key function returns key value.

func (AssertionTupleKeyValidationError) Reason

Reason function returns reason value.

type AssertionValidationError

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

AssertionValidationError is the validation error returned by Assertion.Validate if the designated constraints aren't met.

func (AssertionValidationError) Cause

func (e AssertionValidationError) Cause() error

Cause function returns cause value.

func (AssertionValidationError) Error

func (e AssertionValidationError) Error() string

Error satisfies the builtin error interface

func (AssertionValidationError) ErrorName

func (e AssertionValidationError) ErrorName() string

ErrorName returns error name.

func (AssertionValidationError) Field

func (e AssertionValidationError) Field() string

Field function returns field value.

func (AssertionValidationError) Key

Key function returns key value.

func (AssertionValidationError) Reason

func (e AssertionValidationError) Reason() string

Reason function returns reason value.

type Assertions

type Assertions struct {
	Assertions []*Assertion `protobuf:"bytes,1,rep,name=assertions,proto3" json:"assertions,omitempty"`
	// contains filtered or unexported fields
}

func (*Assertions) Descriptor deprecated

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

Deprecated: Use Assertions.ProtoReflect.Descriptor instead.

func (*Assertions) GetAssertions

func (x *Assertions) GetAssertions() []*Assertion

func (*Assertions) ProtoMessage

func (*Assertions) ProtoMessage()

func (*Assertions) ProtoReflect

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

func (*Assertions) Reset

func (x *Assertions) Reset()

func (*Assertions) String

func (x *Assertions) String() string

func (*Assertions) Validate

func (m *Assertions) Validate() error

Validate checks the field values on Assertions 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 (*Assertions) ValidateAll

func (m *Assertions) ValidateAll() error

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

type AssertionsMultiError

type AssertionsMultiError []error

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

func (AssertionsMultiError) AllErrors

func (m AssertionsMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (AssertionsMultiError) Error

func (m AssertionsMultiError) Error() string

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

type AssertionsValidationError

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

AssertionsValidationError is the validation error returned by Assertions.Validate if the designated constraints aren't met.

func (AssertionsValidationError) Cause

func (e AssertionsValidationError) Cause() error

Cause function returns cause value.

func (AssertionsValidationError) Error

Error satisfies the builtin error interface

func (AssertionsValidationError) ErrorName

func (e AssertionsValidationError) ErrorName() string

ErrorName returns error name.

func (AssertionsValidationError) Field

Field function returns field value.

func (AssertionsValidationError) Key

Key function returns key value.

func (AssertionsValidationError) Reason

func (e AssertionsValidationError) Reason() string

Reason function returns reason value.

type AuthErrorCode

type AuthErrorCode int32
const (
	AuthErrorCode_no_auth_error                    AuthErrorCode = 0
	AuthErrorCode_auth_failed_invalid_subject      AuthErrorCode = 1001
	AuthErrorCode_auth_failed_invalid_audience     AuthErrorCode = 1002
	AuthErrorCode_auth_failed_invalid_issuer       AuthErrorCode = 1003
	AuthErrorCode_invalid_claims                   AuthErrorCode = 1004
	AuthErrorCode_auth_failed_invalid_bearer_token AuthErrorCode = 1005
	AuthErrorCode_bearer_token_missing             AuthErrorCode = 1010
	AuthErrorCode_unauthenticated                  AuthErrorCode = 1500
)

func (AuthErrorCode) Descriptor

func (AuthErrorCode) Enum

func (x AuthErrorCode) Enum() *AuthErrorCode

func (AuthErrorCode) EnumDescriptor deprecated

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

Deprecated: Use AuthErrorCode.Descriptor instead.

func (AuthErrorCode) Number

func (AuthErrorCode) String

func (x AuthErrorCode) String() string

func (AuthErrorCode) Type

type AuthorizationModel

type AuthorizationModel struct {
	Id              string                `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	SchemaVersion   string                `protobuf:"bytes,2,opt,name=schema_version,proto3" json:"schema_version,omitempty"`
	TypeDefinitions []*TypeDefinition     `protobuf:"bytes,3,rep,name=type_definitions,proto3" json:"type_definitions,omitempty"`
	Conditions      map[string]*Condition `` /* 161-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*AuthorizationModel) Descriptor deprecated

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

Deprecated: Use AuthorizationModel.ProtoReflect.Descriptor instead.

func (*AuthorizationModel) GetConditions

func (x *AuthorizationModel) GetConditions() map[string]*Condition

func (*AuthorizationModel) GetId

func (x *AuthorizationModel) GetId() string

func (*AuthorizationModel) GetSchemaVersion

func (x *AuthorizationModel) GetSchemaVersion() string

func (*AuthorizationModel) GetTypeDefinitions

func (x *AuthorizationModel) GetTypeDefinitions() []*TypeDefinition

func (*AuthorizationModel) ProtoMessage

func (*AuthorizationModel) ProtoMessage()

func (*AuthorizationModel) ProtoReflect

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

func (*AuthorizationModel) Reset

func (x *AuthorizationModel) Reset()

func (*AuthorizationModel) String

func (x *AuthorizationModel) String() string

func (*AuthorizationModel) Validate

func (m *AuthorizationModel) Validate() error

Validate checks the field values on AuthorizationModel 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 (*AuthorizationModel) ValidateAll

func (m *AuthorizationModel) ValidateAll() error

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

type AuthorizationModelMultiError

type AuthorizationModelMultiError []error

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

func (AuthorizationModelMultiError) AllErrors

func (m AuthorizationModelMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (AuthorizationModelMultiError) Error

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

type AuthorizationModelValidationError

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

AuthorizationModelValidationError is the validation error returned by AuthorizationModel.Validate if the designated constraints aren't met.

func (AuthorizationModelValidationError) Cause

Cause function returns cause value.

func (AuthorizationModelValidationError) Error

Error satisfies the builtin error interface

func (AuthorizationModelValidationError) ErrorName

ErrorName returns error name.

func (AuthorizationModelValidationError) Field

Field function returns field value.

func (AuthorizationModelValidationError) Key

Key function returns key value.

func (AuthorizationModelValidationError) Reason

Reason function returns reason value.

type CheckRequest

type CheckRequest struct {
	StoreId              string                `protobuf:"bytes,1,opt,name=store_id,proto3" json:"store_id,omitempty"`
	TupleKey             *CheckRequestTupleKey `protobuf:"bytes,2,opt,name=tuple_key,proto3" json:"tuple_key,omitempty"`
	ContextualTuples     *ContextualTupleKeys  `protobuf:"bytes,3,opt,name=contextual_tuples,proto3" json:"contextual_tuples,omitempty"`
	AuthorizationModelId string                `protobuf:"bytes,4,opt,name=authorization_model_id,proto3" json:"authorization_model_id,omitempty"`
	// Defaults to false. Making it true has performance implications.
	Trace bool `protobuf:"varint,5,opt,name=trace,proto3" json:"trace,omitempty"`
	// Additional request context that will be used to evaluate any ABAC conditions encountered
	// in the query evaluation.
	Context *structpb.Struct `protobuf:"bytes,6,opt,name=context,proto3" json:"context,omitempty"`
	// contains filtered or unexported fields
}

func (*CheckRequest) Descriptor deprecated

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

Deprecated: Use CheckRequest.ProtoReflect.Descriptor instead.

func (*CheckRequest) GetAuthorizationModelId

func (x *CheckRequest) GetAuthorizationModelId() string

func (*CheckRequest) GetContext

func (x *CheckRequest) GetContext() *structpb.Struct

func (*CheckRequest) GetContextualTuples

func (x *CheckRequest) GetContextualTuples() *ContextualTupleKeys

func (*CheckRequest) GetStoreId

func (x *CheckRequest) GetStoreId() string

func (*CheckRequest) GetTrace

func (x *CheckRequest) GetTrace() bool

func (*CheckRequest) GetTupleKey

func (x *CheckRequest) GetTupleKey() *CheckRequestTupleKey

func (*CheckRequest) ProtoMessage

func (*CheckRequest) ProtoMessage()

func (*CheckRequest) ProtoReflect

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

func (*CheckRequest) Reset

func (x *CheckRequest) Reset()

func (*CheckRequest) String

func (x *CheckRequest) String() string

func (*CheckRequest) Validate

func (m *CheckRequest) Validate() error

Validate checks the field values on CheckRequest 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 (*CheckRequest) ValidateAll

func (m *CheckRequest) ValidateAll() error

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

type CheckRequestMultiError

type CheckRequestMultiError []error

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

func (CheckRequestMultiError) AllErrors

func (m CheckRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (CheckRequestMultiError) Error

func (m CheckRequestMultiError) Error() string

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

type CheckRequestTupleKey

type CheckRequestTupleKey struct {
	User     string `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"`
	Relation string `protobuf:"bytes,2,opt,name=relation,proto3" json:"relation,omitempty"`
	Object   string `protobuf:"bytes,3,opt,name=object,proto3" json:"object,omitempty"`
	// contains filtered or unexported fields
}

func (*CheckRequestTupleKey) Descriptor deprecated

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

Deprecated: Use CheckRequestTupleKey.ProtoReflect.Descriptor instead.

func (*CheckRequestTupleKey) GetObject

func (x *CheckRequestTupleKey) GetObject() string

func (*CheckRequestTupleKey) GetRelation

func (x *CheckRequestTupleKey) GetRelation() string

func (*CheckRequestTupleKey) GetUser

func (x *CheckRequestTupleKey) GetUser() string

func (*CheckRequestTupleKey) ProtoMessage

func (*CheckRequestTupleKey) ProtoMessage()

func (*CheckRequestTupleKey) ProtoReflect

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

func (*CheckRequestTupleKey) Reset

func (x *CheckRequestTupleKey) Reset()

func (*CheckRequestTupleKey) String

func (x *CheckRequestTupleKey) String() string

func (*CheckRequestTupleKey) Validate

func (m *CheckRequestTupleKey) Validate() error

Validate checks the field values on CheckRequestTupleKey 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 (*CheckRequestTupleKey) ValidateAll

func (m *CheckRequestTupleKey) ValidateAll() error

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

type CheckRequestTupleKeyMultiError

type CheckRequestTupleKeyMultiError []error

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

func (CheckRequestTupleKeyMultiError) AllErrors

func (m CheckRequestTupleKeyMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (CheckRequestTupleKeyMultiError) Error

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

type CheckRequestTupleKeyValidationError

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

CheckRequestTupleKeyValidationError is the validation error returned by CheckRequestTupleKey.Validate if the designated constraints aren't met.

func (CheckRequestTupleKeyValidationError) Cause

Cause function returns cause value.

func (CheckRequestTupleKeyValidationError) Error

Error satisfies the builtin error interface

func (CheckRequestTupleKeyValidationError) ErrorName

ErrorName returns error name.

func (CheckRequestTupleKeyValidationError) Field

Field function returns field value.

func (CheckRequestTupleKeyValidationError) Key

Key function returns key value.

func (CheckRequestTupleKeyValidationError) Reason

Reason function returns reason value.

type CheckRequestValidationError

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

CheckRequestValidationError is the validation error returned by CheckRequest.Validate if the designated constraints aren't met.

func (CheckRequestValidationError) Cause

Cause function returns cause value.

func (CheckRequestValidationError) Error

Error satisfies the builtin error interface

func (CheckRequestValidationError) ErrorName

func (e CheckRequestValidationError) ErrorName() string

ErrorName returns error name.

func (CheckRequestValidationError) Field

Field function returns field value.

func (CheckRequestValidationError) Key

Key function returns key value.

func (CheckRequestValidationError) Reason

Reason function returns reason value.

type CheckResponse

type CheckResponse struct {
	Allowed bool `protobuf:"varint,1,opt,name=allowed,proto3" json:"allowed,omitempty"`
	// For internal use only.
	Resolution string `protobuf:"bytes,2,opt,name=resolution,proto3" json:"resolution,omitempty"`
	// contains filtered or unexported fields
}

func (*CheckResponse) Descriptor deprecated

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

Deprecated: Use CheckResponse.ProtoReflect.Descriptor instead.

func (*CheckResponse) GetAllowed

func (x *CheckResponse) GetAllowed() bool

func (*CheckResponse) GetResolution

func (x *CheckResponse) GetResolution() string

func (*CheckResponse) ProtoMessage

func (*CheckResponse) ProtoMessage()

func (*CheckResponse) ProtoReflect

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

func (*CheckResponse) Reset

func (x *CheckResponse) Reset()

func (*CheckResponse) String

func (x *CheckResponse) String() string

func (*CheckResponse) Validate

func (m *CheckResponse) Validate() error

Validate checks the field values on CheckResponse 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 (*CheckResponse) ValidateAll

func (m *CheckResponse) ValidateAll() error

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

type CheckResponseMultiError

type CheckResponseMultiError []error

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

func (CheckResponseMultiError) AllErrors

func (m CheckResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (CheckResponseMultiError) Error

func (m CheckResponseMultiError) Error() string

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

type CheckResponseValidationError

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

CheckResponseValidationError is the validation error returned by CheckResponse.Validate if the designated constraints aren't met.

func (CheckResponseValidationError) Cause

Cause function returns cause value.

func (CheckResponseValidationError) Error

Error satisfies the builtin error interface

func (CheckResponseValidationError) ErrorName

func (e CheckResponseValidationError) ErrorName() string

ErrorName returns error name.

func (CheckResponseValidationError) Field

Field function returns field value.

func (CheckResponseValidationError) Key

Key function returns key value.

func (CheckResponseValidationError) Reason

Reason function returns reason value.

type ComputedUserset

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

func (*ComputedUserset) Descriptor deprecated

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

Deprecated: Use ComputedUserset.ProtoReflect.Descriptor instead.

func (*ComputedUserset) GetRelation

func (x *ComputedUserset) GetRelation() string

func (*ComputedUserset) ProtoMessage

func (*ComputedUserset) ProtoMessage()

func (*ComputedUserset) ProtoReflect

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

func (*ComputedUserset) Reset

func (x *ComputedUserset) Reset()

func (*ComputedUserset) String

func (x *ComputedUserset) String() string

func (*ComputedUserset) Validate

func (m *ComputedUserset) Validate() error

Validate checks the field values on ComputedUserset 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 (*ComputedUserset) ValidateAll

func (m *ComputedUserset) ValidateAll() error

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

type ComputedUsersetMultiError

type ComputedUsersetMultiError []error

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

func (ComputedUsersetMultiError) AllErrors

func (m ComputedUsersetMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ComputedUsersetMultiError) Error

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

type ComputedUsersetValidationError

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

ComputedUsersetValidationError is the validation error returned by ComputedUserset.Validate if the designated constraints aren't met.

func (ComputedUsersetValidationError) Cause

Cause function returns cause value.

func (ComputedUsersetValidationError) Error

Error satisfies the builtin error interface

func (ComputedUsersetValidationError) ErrorName

func (e ComputedUsersetValidationError) ErrorName() string

ErrorName returns error name.

func (ComputedUsersetValidationError) Field

Field function returns field value.

func (ComputedUsersetValidationError) Key

Key function returns key value.

func (ComputedUsersetValidationError) Reason

Reason function returns reason value.

type Condition

type Condition struct {

	// A unique name for the condition
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// A Google CEL expression, expressed as a string.
	Expression string `protobuf:"bytes,2,opt,name=expression,proto3" json:"expression,omitempty"`
	// A map of parameter names to the parameter's defined type reference.
	Parameters map[string]*ConditionParamTypeRef `` /* 161-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*Condition) Descriptor deprecated

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

Deprecated: Use Condition.ProtoReflect.Descriptor instead.

func (*Condition) GetExpression

func (x *Condition) GetExpression() string

func (*Condition) GetName

func (x *Condition) GetName() string

func (*Condition) GetParameters

func (x *Condition) GetParameters() map[string]*ConditionParamTypeRef

func (*Condition) ProtoMessage

func (*Condition) ProtoMessage()

func (*Condition) ProtoReflect

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

func (*Condition) Reset

func (x *Condition) Reset()

func (*Condition) String

func (x *Condition) String() string

func (*Condition) Validate

func (m *Condition) Validate() error

Validate checks the field values on Condition 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 (*Condition) ValidateAll

func (m *Condition) ValidateAll() error

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

type ConditionMultiError

type ConditionMultiError []error

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

func (ConditionMultiError) AllErrors

func (m ConditionMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ConditionMultiError) Error

func (m ConditionMultiError) Error() string

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

type ConditionParamTypeRef

type ConditionParamTypeRef struct {
	TypeName     ConditionParamTypeRef_TypeName `protobuf:"varint,1,opt,name=type_name,proto3,enum=openfga.v1.ConditionParamTypeRef_TypeName" json:"type_name,omitempty"`
	GenericTypes []*ConditionParamTypeRef       `protobuf:"bytes,2,rep,name=generic_types,proto3" json:"generic_types,omitempty"`
	// contains filtered or unexported fields
}

func (*ConditionParamTypeRef) Descriptor deprecated

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

Deprecated: Use ConditionParamTypeRef.ProtoReflect.Descriptor instead.

func (*ConditionParamTypeRef) GetGenericTypes

func (x *ConditionParamTypeRef) GetGenericTypes() []*ConditionParamTypeRef

func (*ConditionParamTypeRef) GetTypeName

func (*ConditionParamTypeRef) ProtoMessage

func (*ConditionParamTypeRef) ProtoMessage()

func (*ConditionParamTypeRef) ProtoReflect

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

func (*ConditionParamTypeRef) Reset

func (x *ConditionParamTypeRef) Reset()

func (*ConditionParamTypeRef) String

func (x *ConditionParamTypeRef) String() string

func (*ConditionParamTypeRef) Validate

func (m *ConditionParamTypeRef) Validate() error

Validate checks the field values on ConditionParamTypeRef 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 (*ConditionParamTypeRef) ValidateAll

func (m *ConditionParamTypeRef) ValidateAll() error

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

type ConditionParamTypeRefMultiError

type ConditionParamTypeRefMultiError []error

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

func (ConditionParamTypeRefMultiError) AllErrors

func (m ConditionParamTypeRefMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ConditionParamTypeRefMultiError) Error

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

type ConditionParamTypeRefValidationError

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

ConditionParamTypeRefValidationError is the validation error returned by ConditionParamTypeRef.Validate if the designated constraints aren't met.

func (ConditionParamTypeRefValidationError) Cause

Cause function returns cause value.

func (ConditionParamTypeRefValidationError) Error

Error satisfies the builtin error interface

func (ConditionParamTypeRefValidationError) ErrorName

ErrorName returns error name.

func (ConditionParamTypeRefValidationError) Field

Field function returns field value.

func (ConditionParamTypeRefValidationError) Key

Key function returns key value.

func (ConditionParamTypeRefValidationError) Reason

Reason function returns reason value.

type ConditionParamTypeRef_TypeName

type ConditionParamTypeRef_TypeName int32
const (
	ConditionParamTypeRef_TYPE_NAME_UNSPECIFIED ConditionParamTypeRef_TypeName = 0
	ConditionParamTypeRef_TYPE_NAME_ANY         ConditionParamTypeRef_TypeName = 1
	ConditionParamTypeRef_TYPE_NAME_BOOL        ConditionParamTypeRef_TypeName = 2
	ConditionParamTypeRef_TYPE_NAME_STRING      ConditionParamTypeRef_TypeName = 3
	ConditionParamTypeRef_TYPE_NAME_INT         ConditionParamTypeRef_TypeName = 4
	ConditionParamTypeRef_TYPE_NAME_UINT        ConditionParamTypeRef_TypeName = 5
	ConditionParamTypeRef_TYPE_NAME_DOUBLE      ConditionParamTypeRef_TypeName = 6
	ConditionParamTypeRef_TYPE_NAME_DURATION    ConditionParamTypeRef_TypeName = 7
	ConditionParamTypeRef_TYPE_NAME_TIMESTAMP   ConditionParamTypeRef_TypeName = 8
	ConditionParamTypeRef_TYPE_NAME_MAP         ConditionParamTypeRef_TypeName = 9
	ConditionParamTypeRef_TYPE_NAME_LIST        ConditionParamTypeRef_TypeName = 10
	ConditionParamTypeRef_TYPE_NAME_IPADDRESS   ConditionParamTypeRef_TypeName = 11
)

func (ConditionParamTypeRef_TypeName) Descriptor

func (ConditionParamTypeRef_TypeName) Enum

func (ConditionParamTypeRef_TypeName) EnumDescriptor deprecated

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

Deprecated: Use ConditionParamTypeRef_TypeName.Descriptor instead.

func (ConditionParamTypeRef_TypeName) Number

func (ConditionParamTypeRef_TypeName) String

func (ConditionParamTypeRef_TypeName) Type

type ConditionValidationError

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

ConditionValidationError is the validation error returned by Condition.Validate if the designated constraints aren't met.

func (ConditionValidationError) Cause

func (e ConditionValidationError) Cause() error

Cause function returns cause value.

func (ConditionValidationError) Error

func (e ConditionValidationError) Error() string

Error satisfies the builtin error interface

func (ConditionValidationError) ErrorName

func (e ConditionValidationError) ErrorName() string

ErrorName returns error name.

func (ConditionValidationError) Field

func (e ConditionValidationError) Field() string

Field function returns field value.

func (ConditionValidationError) Key

Key function returns key value.

func (ConditionValidationError) Reason

func (e ConditionValidationError) Reason() string

Reason function returns reason value.

type ContextualTupleKeys

type ContextualTupleKeys struct {
	TupleKeys []*TupleKey `protobuf:"bytes,1,rep,name=tuple_keys,proto3" json:"tuple_keys,omitempty"`
	// contains filtered or unexported fields
}

func (*ContextualTupleKeys) Descriptor deprecated

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

Deprecated: Use ContextualTupleKeys.ProtoReflect.Descriptor instead.

func (*ContextualTupleKeys) GetTupleKeys

func (x *ContextualTupleKeys) GetTupleKeys() []*TupleKey

func (*ContextualTupleKeys) ProtoMessage

func (*ContextualTupleKeys) ProtoMessage()

func (*ContextualTupleKeys) ProtoReflect

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

func (*ContextualTupleKeys) Reset

func (x *ContextualTupleKeys) Reset()

func (*ContextualTupleKeys) String

func (x *ContextualTupleKeys) String() string

func (*ContextualTupleKeys) Validate

func (m *ContextualTupleKeys) Validate() error

Validate checks the field values on ContextualTupleKeys 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 (*ContextualTupleKeys) ValidateAll

func (m *ContextualTupleKeys) ValidateAll() error

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

type ContextualTupleKeysMultiError

type ContextualTupleKeysMultiError []error

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

func (ContextualTupleKeysMultiError) AllErrors

func (m ContextualTupleKeysMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ContextualTupleKeysMultiError) Error

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

type ContextualTupleKeysValidationError

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

ContextualTupleKeysValidationError is the validation error returned by ContextualTupleKeys.Validate if the designated constraints aren't met.

func (ContextualTupleKeysValidationError) Cause

Cause function returns cause value.

func (ContextualTupleKeysValidationError) Error

Error satisfies the builtin error interface

func (ContextualTupleKeysValidationError) ErrorName

ErrorName returns error name.

func (ContextualTupleKeysValidationError) Field

Field function returns field value.

func (ContextualTupleKeysValidationError) Key

Key function returns key value.

func (ContextualTupleKeysValidationError) Reason

Reason function returns reason value.

type CreateStoreRequest

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

func (*CreateStoreRequest) Descriptor deprecated

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

Deprecated: Use CreateStoreRequest.ProtoReflect.Descriptor instead.

func (*CreateStoreRequest) GetName

func (x *CreateStoreRequest) GetName() string

func (*CreateStoreRequest) ProtoMessage

func (*CreateStoreRequest) ProtoMessage()

func (*CreateStoreRequest) ProtoReflect

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

func (*CreateStoreRequest) Reset

func (x *CreateStoreRequest) Reset()

func (*CreateStoreRequest) String

func (x *CreateStoreRequest) String() string

func (*CreateStoreRequest) Validate

func (m *CreateStoreRequest) Validate() error

Validate checks the field values on CreateStoreRequest 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 (*CreateStoreRequest) ValidateAll

func (m *CreateStoreRequest) ValidateAll() error

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

type CreateStoreRequestMultiError

type CreateStoreRequestMultiError []error

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

func (CreateStoreRequestMultiError) AllErrors

func (m CreateStoreRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (CreateStoreRequestMultiError) Error

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

type CreateStoreRequestValidationError

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

CreateStoreRequestValidationError is the validation error returned by CreateStoreRequest.Validate if the designated constraints aren't met.

func (CreateStoreRequestValidationError) Cause

Cause function returns cause value.

func (CreateStoreRequestValidationError) Error

Error satisfies the builtin error interface

func (CreateStoreRequestValidationError) ErrorName

ErrorName returns error name.

func (CreateStoreRequestValidationError) Field

Field function returns field value.

func (CreateStoreRequestValidationError) Key

Key function returns key value.

func (CreateStoreRequestValidationError) Reason

Reason function returns reason value.

type CreateStoreResponse

type CreateStoreResponse struct {
	Id        string                 `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Name      string                 `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	CreatedAt *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=created_at,proto3" json:"created_at,omitempty"`
	UpdatedAt *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=updated_at,proto3" json:"updated_at,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateStoreResponse) Descriptor deprecated

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

Deprecated: Use CreateStoreResponse.ProtoReflect.Descriptor instead.

func (*CreateStoreResponse) GetCreatedAt

func (x *CreateStoreResponse) GetCreatedAt() *timestamppb.Timestamp

func (*CreateStoreResponse) GetId

func (x *CreateStoreResponse) GetId() string

func (*CreateStoreResponse) GetName

func (x *CreateStoreResponse) GetName() string

func (*CreateStoreResponse) GetUpdatedAt

func (x *CreateStoreResponse) GetUpdatedAt() *timestamppb.Timestamp

func (*CreateStoreResponse) ProtoMessage

func (*CreateStoreResponse) ProtoMessage()

func (*CreateStoreResponse) ProtoReflect

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

func (*CreateStoreResponse) Reset

func (x *CreateStoreResponse) Reset()

func (*CreateStoreResponse) String

func (x *CreateStoreResponse) String() string

func (*CreateStoreResponse) Validate

func (m *CreateStoreResponse) Validate() error

Validate checks the field values on CreateStoreResponse 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 (*CreateStoreResponse) ValidateAll

func (m *CreateStoreResponse) ValidateAll() error

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

type CreateStoreResponseMultiError

type CreateStoreResponseMultiError []error

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

func (CreateStoreResponseMultiError) AllErrors

func (m CreateStoreResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (CreateStoreResponseMultiError) Error

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

type CreateStoreResponseValidationError

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

CreateStoreResponseValidationError is the validation error returned by CreateStoreResponse.Validate if the designated constraints aren't met.

func (CreateStoreResponseValidationError) Cause

Cause function returns cause value.

func (CreateStoreResponseValidationError) Error

Error satisfies the builtin error interface

func (CreateStoreResponseValidationError) ErrorName

ErrorName returns error name.

func (CreateStoreResponseValidationError) Field

Field function returns field value.

func (CreateStoreResponseValidationError) Key

Key function returns key value.

func (CreateStoreResponseValidationError) Reason

Reason function returns reason value.

type DeleteStoreRequest

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

func (*DeleteStoreRequest) Descriptor deprecated

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

Deprecated: Use DeleteStoreRequest.ProtoReflect.Descriptor instead.

func (*DeleteStoreRequest) GetStoreId

func (x *DeleteStoreRequest) GetStoreId() string

func (*DeleteStoreRequest) ProtoMessage

func (*DeleteStoreRequest) ProtoMessage()

func (*DeleteStoreRequest) ProtoReflect

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

func (*DeleteStoreRequest) Reset

func (x *DeleteStoreRequest) Reset()

func (*DeleteStoreRequest) String

func (x *DeleteStoreRequest) String() string

func (*DeleteStoreRequest) Validate

func (m *DeleteStoreRequest) Validate() error

Validate checks the field values on DeleteStoreRequest 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 (*DeleteStoreRequest) ValidateAll

func (m *DeleteStoreRequest) ValidateAll() error

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

type DeleteStoreRequestMultiError

type DeleteStoreRequestMultiError []error

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

func (DeleteStoreRequestMultiError) AllErrors

func (m DeleteStoreRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (DeleteStoreRequestMultiError) Error

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

type DeleteStoreRequestValidationError

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

DeleteStoreRequestValidationError is the validation error returned by DeleteStoreRequest.Validate if the designated constraints aren't met.

func (DeleteStoreRequestValidationError) Cause

Cause function returns cause value.

func (DeleteStoreRequestValidationError) Error

Error satisfies the builtin error interface

func (DeleteStoreRequestValidationError) ErrorName

ErrorName returns error name.

func (DeleteStoreRequestValidationError) Field

Field function returns field value.

func (DeleteStoreRequestValidationError) Key

Key function returns key value.

func (DeleteStoreRequestValidationError) Reason

Reason function returns reason value.

type DeleteStoreResponse

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

func (*DeleteStoreResponse) Descriptor deprecated

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

Deprecated: Use DeleteStoreResponse.ProtoReflect.Descriptor instead.

func (*DeleteStoreResponse) ProtoMessage

func (*DeleteStoreResponse) ProtoMessage()

func (*DeleteStoreResponse) ProtoReflect

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

func (*DeleteStoreResponse) Reset

func (x *DeleteStoreResponse) Reset()

func (*DeleteStoreResponse) String

func (x *DeleteStoreResponse) String() string

func (*DeleteStoreResponse) Validate

func (m *DeleteStoreResponse) Validate() error

Validate checks the field values on DeleteStoreResponse 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 (*DeleteStoreResponse) ValidateAll

func (m *DeleteStoreResponse) ValidateAll() error

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

type DeleteStoreResponseMultiError

type DeleteStoreResponseMultiError []error

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

func (DeleteStoreResponseMultiError) AllErrors

func (m DeleteStoreResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (DeleteStoreResponseMultiError) Error

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

type DeleteStoreResponseValidationError

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

DeleteStoreResponseValidationError is the validation error returned by DeleteStoreResponse.Validate if the designated constraints aren't met.

func (DeleteStoreResponseValidationError) Cause

Cause function returns cause value.

func (DeleteStoreResponseValidationError) Error

Error satisfies the builtin error interface

func (DeleteStoreResponseValidationError) ErrorName

ErrorName returns error name.

func (DeleteStoreResponseValidationError) Field

Field function returns field value.

func (DeleteStoreResponseValidationError) Key

Key function returns key value.

func (DeleteStoreResponseValidationError) Reason

Reason function returns reason value.

type Difference

type Difference struct {
	Base     *Userset `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"`
	Subtract *Userset `protobuf:"bytes,2,opt,name=subtract,proto3" json:"subtract,omitempty"`
	// contains filtered or unexported fields
}

func (*Difference) Descriptor deprecated

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

Deprecated: Use Difference.ProtoReflect.Descriptor instead.

func (*Difference) GetBase

func (x *Difference) GetBase() *Userset

func (*Difference) GetSubtract

func (x *Difference) GetSubtract() *Userset

func (*Difference) ProtoMessage

func (*Difference) ProtoMessage()

func (*Difference) ProtoReflect

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

func (*Difference) Reset

func (x *Difference) Reset()

func (*Difference) String

func (x *Difference) String() string

func (*Difference) Validate

func (m *Difference) Validate() error

Validate checks the field values on Difference 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 (*Difference) ValidateAll

func (m *Difference) ValidateAll() error

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

type DifferenceMultiError

type DifferenceMultiError []error

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

func (DifferenceMultiError) AllErrors

func (m DifferenceMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (DifferenceMultiError) Error

func (m DifferenceMultiError) Error() string

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

type DifferenceValidationError

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

DifferenceValidationError is the validation error returned by Difference.Validate if the designated constraints aren't met.

func (DifferenceValidationError) Cause

func (e DifferenceValidationError) Cause() error

Cause function returns cause value.

func (DifferenceValidationError) Error

Error satisfies the builtin error interface

func (DifferenceValidationError) ErrorName

func (e DifferenceValidationError) ErrorName() string

ErrorName returns error name.

func (DifferenceValidationError) Field

Field function returns field value.

func (DifferenceValidationError) Key

Key function returns key value.

func (DifferenceValidationError) Reason

func (e DifferenceValidationError) Reason() string

Reason function returns reason value.

type DirectUserset

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

A DirectUserset is a sentinel message for referencing the direct members specified by an object/relation mapping.

func (*DirectUserset) Descriptor deprecated

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

Deprecated: Use DirectUserset.ProtoReflect.Descriptor instead.

func (*DirectUserset) ProtoMessage

func (*DirectUserset) ProtoMessage()

func (*DirectUserset) ProtoReflect

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

func (*DirectUserset) Reset

func (x *DirectUserset) Reset()

func (*DirectUserset) String

func (x *DirectUserset) String() string

func (*DirectUserset) Validate

func (m *DirectUserset) Validate() error

Validate checks the field values on DirectUserset 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 (*DirectUserset) ValidateAll

func (m *DirectUserset) ValidateAll() error

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

type DirectUsersetMultiError

type DirectUsersetMultiError []error

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

func (DirectUsersetMultiError) AllErrors

func (m DirectUsersetMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (DirectUsersetMultiError) Error

func (m DirectUsersetMultiError) Error() string

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

type DirectUsersetValidationError

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

DirectUsersetValidationError is the validation error returned by DirectUserset.Validate if the designated constraints aren't met.

func (DirectUsersetValidationError) Cause

Cause function returns cause value.

func (DirectUsersetValidationError) Error

Error satisfies the builtin error interface

func (DirectUsersetValidationError) ErrorName

func (e DirectUsersetValidationError) ErrorName() string

ErrorName returns error name.

func (DirectUsersetValidationError) Field

Field function returns field value.

func (DirectUsersetValidationError) Key

Key function returns key value.

func (DirectUsersetValidationError) Reason

Reason function returns reason value.

type ErrorCode

type ErrorCode int32
const (
	ErrorCode_no_error                                         ErrorCode = 0
	ErrorCode_validation_error                                 ErrorCode = 2000
	ErrorCode_authorization_model_not_found                    ErrorCode = 2001
	ErrorCode_authorization_model_resolution_too_complex       ErrorCode = 2002
	ErrorCode_invalid_write_input                              ErrorCode = 2003
	ErrorCode_cannot_allow_duplicate_tuples_in_one_request     ErrorCode = 2004
	ErrorCode_cannot_allow_duplicate_types_in_one_request      ErrorCode = 2005
	ErrorCode_cannot_allow_multiple_references_to_one_relation ErrorCode = 2006
	ErrorCode_invalid_continuation_token                       ErrorCode = 2007
	ErrorCode_invalid_tuple_set                                ErrorCode = 2008
	ErrorCode_invalid_check_input                              ErrorCode = 2009
	ErrorCode_invalid_expand_input                             ErrorCode = 2010
	ErrorCode_unsupported_user_set                             ErrorCode = 2011
	ErrorCode_invalid_object_format                            ErrorCode = 2012
	ErrorCode_write_failed_due_to_invalid_input                ErrorCode = 2017
	ErrorCode_authorization_model_assertions_not_found         ErrorCode = 2018
	ErrorCode_latest_authorization_model_not_found             ErrorCode = 2020
	ErrorCode_type_not_found                                   ErrorCode = 2021
	ErrorCode_relation_not_found                               ErrorCode = 2022
	ErrorCode_empty_relation_definition                        ErrorCode = 2023
	ErrorCode_invalid_user                                     ErrorCode = 2025
	ErrorCode_invalid_tuple                                    ErrorCode = 2027
	ErrorCode_unknown_relation                                 ErrorCode = 2028
	ErrorCode_store_id_invalid_length                          ErrorCode = 2030
	ErrorCode_assertions_too_many_items                        ErrorCode = 2033
	ErrorCode_id_too_long                                      ErrorCode = 2034
	ErrorCode_authorization_model_id_too_long                  ErrorCode = 2036
	ErrorCode_tuple_key_value_not_specified                    ErrorCode = 2037
	ErrorCode_tuple_keys_too_many_or_too_few_items             ErrorCode = 2038
	ErrorCode_page_size_invalid                                ErrorCode = 2039
	ErrorCode_param_missing_value                              ErrorCode = 2040
	ErrorCode_difference_base_missing_value                    ErrorCode = 2041
	ErrorCode_subtract_base_missing_value                      ErrorCode = 2042
	ErrorCode_object_too_long                                  ErrorCode = 2043
	ErrorCode_relation_too_long                                ErrorCode = 2044
	ErrorCode_type_definitions_too_few_items                   ErrorCode = 2045
	ErrorCode_type_invalid_length                              ErrorCode = 2046
	ErrorCode_type_invalid_pattern                             ErrorCode = 2047
	ErrorCode_relations_too_few_items                          ErrorCode = 2048
	ErrorCode_relations_too_long                               ErrorCode = 2049
	ErrorCode_relations_invalid_pattern                        ErrorCode = 2050
	ErrorCode_object_invalid_pattern                           ErrorCode = 2051
	ErrorCode_query_string_type_continuation_token_mismatch    ErrorCode = 2052
	ErrorCode_exceeded_entity_limit                            ErrorCode = 2053
	ErrorCode_invalid_contextual_tuple                         ErrorCode = 2054
	ErrorCode_duplicate_contextual_tuple                       ErrorCode = 2055
	ErrorCode_invalid_authorization_model                      ErrorCode = 2056
	ErrorCode_unsupported_schema_version                       ErrorCode = 2057
)

func (ErrorCode) Descriptor

func (ErrorCode) Descriptor() protoreflect.EnumDescriptor

func (ErrorCode) Enum

func (x ErrorCode) Enum() *ErrorCode

func (ErrorCode) EnumDescriptor deprecated

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

Deprecated: Use ErrorCode.Descriptor instead.

func (ErrorCode) Number

func (x ErrorCode) Number() protoreflect.EnumNumber

func (ErrorCode) String

func (x ErrorCode) String() string

func (ErrorCode) Type

type ErrorMessageRequest

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

func (*ErrorMessageRequest) Descriptor deprecated

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

Deprecated: Use ErrorMessageRequest.ProtoReflect.Descriptor instead.

func (*ErrorMessageRequest) ProtoMessage

func (*ErrorMessageRequest) ProtoMessage()

func (*ErrorMessageRequest) ProtoReflect

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

func (*ErrorMessageRequest) Reset

func (x *ErrorMessageRequest) Reset()

func (*ErrorMessageRequest) String

func (x *ErrorMessageRequest) String() string

func (*ErrorMessageRequest) Validate

func (m *ErrorMessageRequest) Validate() error

Validate checks the field values on ErrorMessageRequest 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 (*ErrorMessageRequest) ValidateAll

func (m *ErrorMessageRequest) ValidateAll() error

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

type ErrorMessageRequestMultiError

type ErrorMessageRequestMultiError []error

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

func (ErrorMessageRequestMultiError) AllErrors

func (m ErrorMessageRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ErrorMessageRequestMultiError) Error

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

type ErrorMessageRequestValidationError

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

ErrorMessageRequestValidationError is the validation error returned by ErrorMessageRequest.Validate if the designated constraints aren't met.

func (ErrorMessageRequestValidationError) Cause

Cause function returns cause value.

func (ErrorMessageRequestValidationError) Error

Error satisfies the builtin error interface

func (ErrorMessageRequestValidationError) ErrorName

ErrorName returns error name.

func (ErrorMessageRequestValidationError) Field

Field function returns field value.

func (ErrorMessageRequestValidationError) Key

Key function returns key value.

func (ErrorMessageRequestValidationError) Reason

Reason function returns reason value.

type ExpandRequest

type ExpandRequest struct {
	StoreId              string                 `protobuf:"bytes,1,opt,name=store_id,proto3" json:"store_id,omitempty"`
	TupleKey             *ExpandRequestTupleKey `protobuf:"bytes,2,opt,name=tuple_key,proto3" json:"tuple_key,omitempty"`
	AuthorizationModelId string                 `protobuf:"bytes,3,opt,name=authorization_model_id,proto3" json:"authorization_model_id,omitempty"`
	// contains filtered or unexported fields
}

func (*ExpandRequest) Descriptor deprecated

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

Deprecated: Use ExpandRequest.ProtoReflect.Descriptor instead.

func (*ExpandRequest) GetAuthorizationModelId

func (x *ExpandRequest) GetAuthorizationModelId() string

func (*ExpandRequest) GetStoreId

func (x *ExpandRequest) GetStoreId() string

func (*ExpandRequest) GetTupleKey

func (x *ExpandRequest) GetTupleKey() *ExpandRequestTupleKey

func (*ExpandRequest) ProtoMessage

func (*ExpandRequest) ProtoMessage()

func (*ExpandRequest) ProtoReflect

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

func (*ExpandRequest) Reset

func (x *ExpandRequest) Reset()

func (*ExpandRequest) String

func (x *ExpandRequest) String() string

func (*ExpandRequest) Validate

func (m *ExpandRequest) Validate() error

Validate checks the field values on ExpandRequest 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 (*ExpandRequest) ValidateAll

func (m *ExpandRequest) ValidateAll() error

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

type ExpandRequestMultiError

type ExpandRequestMultiError []error

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

func (ExpandRequestMultiError) AllErrors

func (m ExpandRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ExpandRequestMultiError) Error

func (m ExpandRequestMultiError) Error() string

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

type ExpandRequestTupleKey

type ExpandRequestTupleKey struct {
	Relation string `protobuf:"bytes,1,opt,name=relation,proto3" json:"relation,omitempty"`
	Object   string `protobuf:"bytes,2,opt,name=object,proto3" json:"object,omitempty"`
	// contains filtered or unexported fields
}

func (*ExpandRequestTupleKey) Descriptor deprecated

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

Deprecated: Use ExpandRequestTupleKey.ProtoReflect.Descriptor instead.

func (*ExpandRequestTupleKey) GetObject

func (x *ExpandRequestTupleKey) GetObject() string

func (*ExpandRequestTupleKey) GetRelation

func (x *ExpandRequestTupleKey) GetRelation() string

func (*ExpandRequestTupleKey) ProtoMessage

func (*ExpandRequestTupleKey) ProtoMessage()

func (*ExpandRequestTupleKey) ProtoReflect

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

func (*ExpandRequestTupleKey) Reset

func (x *ExpandRequestTupleKey) Reset()

func (*ExpandRequestTupleKey) String

func (x *ExpandRequestTupleKey) String() string

func (*ExpandRequestTupleKey) Validate

func (m *ExpandRequestTupleKey) Validate() error

Validate checks the field values on ExpandRequestTupleKey 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 (*ExpandRequestTupleKey) ValidateAll

func (m *ExpandRequestTupleKey) ValidateAll() error

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

type ExpandRequestTupleKeyMultiError

type ExpandRequestTupleKeyMultiError []error

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

func (ExpandRequestTupleKeyMultiError) AllErrors

func (m ExpandRequestTupleKeyMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ExpandRequestTupleKeyMultiError) Error

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

type ExpandRequestTupleKeyValidationError

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

ExpandRequestTupleKeyValidationError is the validation error returned by ExpandRequestTupleKey.Validate if the designated constraints aren't met.

func (ExpandRequestTupleKeyValidationError) Cause

Cause function returns cause value.

func (ExpandRequestTupleKeyValidationError) Error

Error satisfies the builtin error interface

func (ExpandRequestTupleKeyValidationError) ErrorName

ErrorName returns error name.

func (ExpandRequestTupleKeyValidationError) Field

Field function returns field value.

func (ExpandRequestTupleKeyValidationError) Key

Key function returns key value.

func (ExpandRequestTupleKeyValidationError) Reason

Reason function returns reason value.

type ExpandRequestValidationError

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

ExpandRequestValidationError is the validation error returned by ExpandRequest.Validate if the designated constraints aren't met.

func (ExpandRequestValidationError) Cause

Cause function returns cause value.

func (ExpandRequestValidationError) Error

Error satisfies the builtin error interface

func (ExpandRequestValidationError) ErrorName

func (e ExpandRequestValidationError) ErrorName() string

ErrorName returns error name.

func (ExpandRequestValidationError) Field

Field function returns field value.

func (ExpandRequestValidationError) Key

Key function returns key value.

func (ExpandRequestValidationError) Reason

Reason function returns reason value.

type ExpandResponse

type ExpandResponse struct {
	Tree *UsersetTree `protobuf:"bytes,1,opt,name=tree,proto3" json:"tree,omitempty"`
	// contains filtered or unexported fields
}

func (*ExpandResponse) Descriptor deprecated

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

Deprecated: Use ExpandResponse.ProtoReflect.Descriptor instead.

func (*ExpandResponse) GetTree

func (x *ExpandResponse) GetTree() *UsersetTree

func (*ExpandResponse) ProtoMessage

func (*ExpandResponse) ProtoMessage()

func (*ExpandResponse) ProtoReflect

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

func (*ExpandResponse) Reset

func (x *ExpandResponse) Reset()

func (*ExpandResponse) String

func (x *ExpandResponse) String() string

func (*ExpandResponse) Validate

func (m *ExpandResponse) Validate() error

Validate checks the field values on ExpandResponse 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 (*ExpandResponse) ValidateAll

func (m *ExpandResponse) ValidateAll() error

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

type ExpandResponseMultiError

type ExpandResponseMultiError []error

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

func (ExpandResponseMultiError) AllErrors

func (m ExpandResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ExpandResponseMultiError) Error

func (m ExpandResponseMultiError) Error() string

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

type ExpandResponseValidationError

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

ExpandResponseValidationError is the validation error returned by ExpandResponse.Validate if the designated constraints aren't met.

func (ExpandResponseValidationError) Cause

Cause function returns cause value.

func (ExpandResponseValidationError) Error

Error satisfies the builtin error interface

func (ExpandResponseValidationError) ErrorName

func (e ExpandResponseValidationError) ErrorName() string

ErrorName returns error name.

func (ExpandResponseValidationError) Field

Field function returns field value.

func (ExpandResponseValidationError) Key

Key function returns key value.

func (ExpandResponseValidationError) Reason

Reason function returns reason value.

type GetStoreRequest

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

func (*GetStoreRequest) Descriptor deprecated

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

Deprecated: Use GetStoreRequest.ProtoReflect.Descriptor instead.

func (*GetStoreRequest) GetStoreId

func (x *GetStoreRequest) GetStoreId() string

func (*GetStoreRequest) ProtoMessage

func (*GetStoreRequest) ProtoMessage()

func (*GetStoreRequest) ProtoReflect

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

func (*GetStoreRequest) Reset

func (x *GetStoreRequest) Reset()

func (*GetStoreRequest) String

func (x *GetStoreRequest) String() string

func (*GetStoreRequest) Validate

func (m *GetStoreRequest) Validate() error

Validate checks the field values on GetStoreRequest 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 (*GetStoreRequest) ValidateAll

func (m *GetStoreRequest) ValidateAll() error

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

type GetStoreRequestMultiError

type GetStoreRequestMultiError []error

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

func (GetStoreRequestMultiError) AllErrors

func (m GetStoreRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (GetStoreRequestMultiError) Error

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

type GetStoreRequestValidationError

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

GetStoreRequestValidationError is the validation error returned by GetStoreRequest.Validate if the designated constraints aren't met.

func (GetStoreRequestValidationError) Cause

Cause function returns cause value.

func (GetStoreRequestValidationError) Error

Error satisfies the builtin error interface

func (GetStoreRequestValidationError) ErrorName

func (e GetStoreRequestValidationError) ErrorName() string

ErrorName returns error name.

func (GetStoreRequestValidationError) Field

Field function returns field value.

func (GetStoreRequestValidationError) Key

Key function returns key value.

func (GetStoreRequestValidationError) Reason

Reason function returns reason value.

type GetStoreResponse

type GetStoreResponse struct {
	Id        string                 `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Name      string                 `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	CreatedAt *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=created_at,proto3" json:"created_at,omitempty"`
	UpdatedAt *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=updated_at,proto3" json:"updated_at,omitempty"`
	DeletedAt *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=deleted_at,proto3" json:"deleted_at,omitempty"`
	// contains filtered or unexported fields
}

func (*GetStoreResponse) Descriptor deprecated

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

Deprecated: Use GetStoreResponse.ProtoReflect.Descriptor instead.

func (*GetStoreResponse) GetCreatedAt

func (x *GetStoreResponse) GetCreatedAt() *timestamppb.Timestamp

func (*GetStoreResponse) GetDeletedAt

func (x *GetStoreResponse) GetDeletedAt() *timestamppb.Timestamp

func (*GetStoreResponse) GetId

func (x *GetStoreResponse) GetId() string

func (*GetStoreResponse) GetName

func (x *GetStoreResponse) GetName() string

func (*GetStoreResponse) GetUpdatedAt

func (x *GetStoreResponse) GetUpdatedAt() *timestamppb.Timestamp

func (*GetStoreResponse) ProtoMessage

func (*GetStoreResponse) ProtoMessage()

func (*GetStoreResponse) ProtoReflect

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

func (*GetStoreResponse) Reset

func (x *GetStoreResponse) Reset()

func (*GetStoreResponse) String

func (x *GetStoreResponse) String() string

func (*GetStoreResponse) Validate

func (m *GetStoreResponse) Validate() error

Validate checks the field values on GetStoreResponse 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 (*GetStoreResponse) ValidateAll

func (m *GetStoreResponse) ValidateAll() error

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

type GetStoreResponseMultiError

type GetStoreResponseMultiError []error

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

func (GetStoreResponseMultiError) AllErrors

func (m GetStoreResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (GetStoreResponseMultiError) Error

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

type GetStoreResponseValidationError

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

GetStoreResponseValidationError is the validation error returned by GetStoreResponse.Validate if the designated constraints aren't met.

func (GetStoreResponseValidationError) Cause

Cause function returns cause value.

func (GetStoreResponseValidationError) Error

Error satisfies the builtin error interface

func (GetStoreResponseValidationError) ErrorName

ErrorName returns error name.

func (GetStoreResponseValidationError) Field

Field function returns field value.

func (GetStoreResponseValidationError) Key

Key function returns key value.

func (GetStoreResponseValidationError) Reason

Reason function returns reason value.

type InternalErrorCode

type InternalErrorCode int32
const (
	InternalErrorCode_no_internal_error   InternalErrorCode = 0
	InternalErrorCode_internal_error      InternalErrorCode = 4000
	InternalErrorCode_cancelled           InternalErrorCode = 4003
	InternalErrorCode_deadline_exceeded   InternalErrorCode = 4004
	InternalErrorCode_already_exists      InternalErrorCode = 4005
	InternalErrorCode_resource_exhausted  InternalErrorCode = 4006
	InternalErrorCode_failed_precondition InternalErrorCode = 4007
	InternalErrorCode_aborted             InternalErrorCode = 4008
	InternalErrorCode_out_of_range        InternalErrorCode = 4009
	InternalErrorCode_unavailable         InternalErrorCode = 4010
	InternalErrorCode_data_loss           InternalErrorCode = 4011
)

func (InternalErrorCode) Descriptor

func (InternalErrorCode) Enum

func (InternalErrorCode) EnumDescriptor deprecated

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

Deprecated: Use InternalErrorCode.Descriptor instead.

func (InternalErrorCode) Number

func (InternalErrorCode) String

func (x InternalErrorCode) String() string

func (InternalErrorCode) Type

type InternalErrorMessageResponse

type InternalErrorMessageResponse struct {
	Code    InternalErrorCode `protobuf:"varint,1,opt,name=code,proto3,enum=openfga.v1.InternalErrorCode" json:"code,omitempty"`
	Message string            `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
	// contains filtered or unexported fields
}

func (*InternalErrorMessageResponse) Descriptor deprecated

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

Deprecated: Use InternalErrorMessageResponse.ProtoReflect.Descriptor instead.

func (*InternalErrorMessageResponse) GetCode

func (*InternalErrorMessageResponse) GetMessage

func (x *InternalErrorMessageResponse) GetMessage() string

func (*InternalErrorMessageResponse) ProtoMessage

func (*InternalErrorMessageResponse) ProtoMessage()

func (*InternalErrorMessageResponse) ProtoReflect

func (*InternalErrorMessageResponse) Reset

func (x *InternalErrorMessageResponse) Reset()

func (*InternalErrorMessageResponse) String

func (*InternalErrorMessageResponse) Validate

func (m *InternalErrorMessageResponse) Validate() error

Validate checks the field values on InternalErrorMessageResponse 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 (*InternalErrorMessageResponse) ValidateAll

func (m *InternalErrorMessageResponse) ValidateAll() error

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

type InternalErrorMessageResponseMultiError

type InternalErrorMessageResponseMultiError []error

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

func (InternalErrorMessageResponseMultiError) AllErrors

AllErrors returns a list of validation violation errors.

func (InternalErrorMessageResponseMultiError) Error

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

type InternalErrorMessageResponseValidationError

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

InternalErrorMessageResponseValidationError is the validation error returned by InternalErrorMessageResponse.Validate if the designated constraints aren't met.

func (InternalErrorMessageResponseValidationError) Cause

Cause function returns cause value.

func (InternalErrorMessageResponseValidationError) Error

Error satisfies the builtin error interface

func (InternalErrorMessageResponseValidationError) ErrorName

ErrorName returns error name.

func (InternalErrorMessageResponseValidationError) Field

Field function returns field value.

func (InternalErrorMessageResponseValidationError) Key

Key function returns key value.

func (InternalErrorMessageResponseValidationError) Reason

Reason function returns reason value.

type ListObjectsRequest

type ListObjectsRequest struct {
	StoreId              string               `protobuf:"bytes,1,opt,name=store_id,proto3" json:"store_id,omitempty"`
	AuthorizationModelId string               `protobuf:"bytes,2,opt,name=authorization_model_id,proto3" json:"authorization_model_id,omitempty"`
	Type                 string               `protobuf:"bytes,3,opt,name=type,proto3" json:"type,omitempty"`
	Relation             string               `protobuf:"bytes,4,opt,name=relation,proto3" json:"relation,omitempty"`
	User                 string               `protobuf:"bytes,5,opt,name=user,proto3" json:"user,omitempty"`
	ContextualTuples     *ContextualTupleKeys `protobuf:"bytes,6,opt,name=contextual_tuples,proto3" json:"contextual_tuples,omitempty"`
	// Additional request context that will be used to evaluate any ABAC conditions encountered
	// in the query evaluation.
	Context *structpb.Struct `protobuf:"bytes,7,opt,name=context,proto3" json:"context,omitempty"`
	// contains filtered or unexported fields
}

func (*ListObjectsRequest) Descriptor deprecated

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

Deprecated: Use ListObjectsRequest.ProtoReflect.Descriptor instead.

func (*ListObjectsRequest) GetAuthorizationModelId

func (x *ListObjectsRequest) GetAuthorizationModelId() string

func (*ListObjectsRequest) GetContext

func (x *ListObjectsRequest) GetContext() *structpb.Struct

func (*ListObjectsRequest) GetContextualTuples

func (x *ListObjectsRequest) GetContextualTuples() *ContextualTupleKeys

func (*ListObjectsRequest) GetRelation

func (x *ListObjectsRequest) GetRelation() string

func (*ListObjectsRequest) GetStoreId

func (x *ListObjectsRequest) GetStoreId() string

func (*ListObjectsRequest) GetType

func (x *ListObjectsRequest) GetType() string

func (*ListObjectsRequest) GetUser

func (x *ListObjectsRequest) GetUser() string

func (*ListObjectsRequest) ProtoMessage

func (*ListObjectsRequest) ProtoMessage()

func (*ListObjectsRequest) ProtoReflect

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

func (*ListObjectsRequest) Reset

func (x *ListObjectsRequest) Reset()

func (*ListObjectsRequest) String

func (x *ListObjectsRequest) String() string

func (*ListObjectsRequest) Validate

func (m *ListObjectsRequest) Validate() error

Validate checks the field values on ListObjectsRequest 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 (*ListObjectsRequest) ValidateAll

func (m *ListObjectsRequest) ValidateAll() error

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

type ListObjectsRequestMultiError

type ListObjectsRequestMultiError []error

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

func (ListObjectsRequestMultiError) AllErrors

func (m ListObjectsRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ListObjectsRequestMultiError) Error

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

type ListObjectsRequestValidationError

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

ListObjectsRequestValidationError is the validation error returned by ListObjectsRequest.Validate if the designated constraints aren't met.

func (ListObjectsRequestValidationError) Cause

Cause function returns cause value.

func (ListObjectsRequestValidationError) Error

Error satisfies the builtin error interface

func (ListObjectsRequestValidationError) ErrorName

ErrorName returns error name.

func (ListObjectsRequestValidationError) Field

Field function returns field value.

func (ListObjectsRequestValidationError) Key

Key function returns key value.

func (ListObjectsRequestValidationError) Reason

Reason function returns reason value.

type ListObjectsResponse

type ListObjectsResponse struct {
	Objects []string `protobuf:"bytes,1,rep,name=objects,proto3" json:"objects,omitempty"`
	// contains filtered or unexported fields
}

func (*ListObjectsResponse) Descriptor deprecated

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

Deprecated: Use ListObjectsResponse.ProtoReflect.Descriptor instead.

func (*ListObjectsResponse) GetObjects

func (x *ListObjectsResponse) GetObjects() []string

func (*ListObjectsResponse) ProtoMessage

func (*ListObjectsResponse) ProtoMessage()

func (*ListObjectsResponse) ProtoReflect

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

func (*ListObjectsResponse) Reset

func (x *ListObjectsResponse) Reset()

func (*ListObjectsResponse) String

func (x *ListObjectsResponse) String() string

func (*ListObjectsResponse) Validate

func (m *ListObjectsResponse) Validate() error

Validate checks the field values on ListObjectsResponse 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 (*ListObjectsResponse) ValidateAll

func (m *ListObjectsResponse) ValidateAll() error

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

type ListObjectsResponseMultiError

type ListObjectsResponseMultiError []error

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

func (ListObjectsResponseMultiError) AllErrors

func (m ListObjectsResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ListObjectsResponseMultiError) Error

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

type ListObjectsResponseValidationError

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

ListObjectsResponseValidationError is the validation error returned by ListObjectsResponse.Validate if the designated constraints aren't met.

func (ListObjectsResponseValidationError) Cause

Cause function returns cause value.

func (ListObjectsResponseValidationError) Error

Error satisfies the builtin error interface

func (ListObjectsResponseValidationError) ErrorName

ErrorName returns error name.

func (ListObjectsResponseValidationError) Field

Field function returns field value.

func (ListObjectsResponseValidationError) Key

Key function returns key value.

func (ListObjectsResponseValidationError) Reason

Reason function returns reason value.

type ListStoresRequest

type ListStoresRequest struct {
	PageSize           *wrapperspb.Int32Value `protobuf:"bytes,1,opt,name=page_size,proto3" json:"page_size,omitempty"`
	ContinuationToken  string                 `protobuf:"bytes,2,opt,name=continuation_token,proto3" json:"continuation_token,omitempty"`
	CurrentTenant      string                 `protobuf:"bytes,3,opt,name=current_tenant,json=X-Tenant,proto3" json:"current_tenant,omitempty"`
	CurrentEnvironment string                 `protobuf:"bytes,4,opt,name=current_environment,json=X-Environment,proto3" json:"current_environment,omitempty"`
	CurrentUser        string                 `protobuf:"bytes,5,opt,name=current_user,json=X-User,proto3" json:"current_user,omitempty"`
	// contains filtered or unexported fields
}

func (*ListStoresRequest) Descriptor deprecated

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

Deprecated: Use ListStoresRequest.ProtoReflect.Descriptor instead.

func (*ListStoresRequest) GetContinuationToken

func (x *ListStoresRequest) GetContinuationToken() string

func (*ListStoresRequest) GetCurrentEnvironment

func (x *ListStoresRequest) GetCurrentEnvironment() string

func (*ListStoresRequest) GetCurrentTenant

func (x *ListStoresRequest) GetCurrentTenant() string

func (*ListStoresRequest) GetCurrentUser

func (x *ListStoresRequest) GetCurrentUser() string

func (*ListStoresRequest) GetPageSize

func (x *ListStoresRequest) GetPageSize() *wrapperspb.Int32Value

func (*ListStoresRequest) ProtoMessage

func (*ListStoresRequest) ProtoMessage()

func (*ListStoresRequest) ProtoReflect

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

func (*ListStoresRequest) Reset

func (x *ListStoresRequest) Reset()

func (*ListStoresRequest) String

func (x *ListStoresRequest) String() string

func (*ListStoresRequest) Validate

func (m *ListStoresRequest) Validate() error

Validate checks the field values on ListStoresRequest 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 (*ListStoresRequest) ValidateAll

func (m *ListStoresRequest) ValidateAll() error

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

type ListStoresRequestMultiError

type ListStoresRequestMultiError []error

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

func (ListStoresRequestMultiError) AllErrors

func (m ListStoresRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ListStoresRequestMultiError) Error

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

type ListStoresRequestValidationError

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

ListStoresRequestValidationError is the validation error returned by ListStoresRequest.Validate if the designated constraints aren't met.

func (ListStoresRequestValidationError) Cause

Cause function returns cause value.

func (ListStoresRequestValidationError) Error

Error satisfies the builtin error interface

func (ListStoresRequestValidationError) ErrorName

ErrorName returns error name.

func (ListStoresRequestValidationError) Field

Field function returns field value.

func (ListStoresRequestValidationError) Key

Key function returns key value.

func (ListStoresRequestValidationError) Reason

Reason function returns reason value.

type ListStoresResponse

type ListStoresResponse struct {
	Stores            []*Store `protobuf:"bytes,1,rep,name=stores,proto3" json:"stores,omitempty"`
	ContinuationToken string   `protobuf:"bytes,2,opt,name=continuation_token,proto3" json:"continuation_token,omitempty"`
	// contains filtered or unexported fields
}

func (*ListStoresResponse) Descriptor deprecated

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

Deprecated: Use ListStoresResponse.ProtoReflect.Descriptor instead.

func (*ListStoresResponse) GetContinuationToken

func (x *ListStoresResponse) GetContinuationToken() string

func (*ListStoresResponse) GetStores

func (x *ListStoresResponse) GetStores() []*Store

func (*ListStoresResponse) ProtoMessage

func (*ListStoresResponse) ProtoMessage()

func (*ListStoresResponse) ProtoReflect

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

func (*ListStoresResponse) Reset

func (x *ListStoresResponse) Reset()

func (*ListStoresResponse) String

func (x *ListStoresResponse) String() string

func (*ListStoresResponse) Validate

func (m *ListStoresResponse) Validate() error

Validate checks the field values on ListStoresResponse 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 (*ListStoresResponse) ValidateAll

func (m *ListStoresResponse) ValidateAll() error

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

type ListStoresResponseMultiError

type ListStoresResponseMultiError []error

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

func (ListStoresResponseMultiError) AllErrors

func (m ListStoresResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ListStoresResponseMultiError) Error

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

type ListStoresResponseValidationError

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

ListStoresResponseValidationError is the validation error returned by ListStoresResponse.Validate if the designated constraints aren't met.

func (ListStoresResponseValidationError) Cause

Cause function returns cause value.

func (ListStoresResponseValidationError) Error

Error satisfies the builtin error interface

func (ListStoresResponseValidationError) ErrorName

ErrorName returns error name.

func (ListStoresResponseValidationError) Field

Field function returns field value.

func (ListStoresResponseValidationError) Key

Key function returns key value.

func (ListStoresResponseValidationError) Reason

Reason function returns reason value.

type Metadata

type Metadata struct {
	Relations map[string]*RelationMetadata `` /* 159-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*Metadata) Descriptor deprecated

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

Deprecated: Use Metadata.ProtoReflect.Descriptor instead.

func (*Metadata) GetRelations

func (x *Metadata) GetRelations() map[string]*RelationMetadata

func (*Metadata) ProtoMessage

func (*Metadata) ProtoMessage()

func (*Metadata) ProtoReflect

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

func (*Metadata) Reset

func (x *Metadata) Reset()

func (*Metadata) String

func (x *Metadata) String() string

func (*Metadata) Validate

func (m *Metadata) Validate() error

Validate checks the field values on Metadata 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 (*Metadata) ValidateAll

func (m *Metadata) ValidateAll() error

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

type MetadataMultiError

type MetadataMultiError []error

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

func (MetadataMultiError) AllErrors

func (m MetadataMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (MetadataMultiError) Error

func (m MetadataMultiError) Error() string

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

type MetadataValidationError

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

MetadataValidationError is the validation error returned by Metadata.Validate if the designated constraints aren't met.

func (MetadataValidationError) Cause

func (e MetadataValidationError) Cause() error

Cause function returns cause value.

func (MetadataValidationError) Error

func (e MetadataValidationError) Error() string

Error satisfies the builtin error interface

func (MetadataValidationError) ErrorName

func (e MetadataValidationError) ErrorName() string

ErrorName returns error name.

func (MetadataValidationError) Field

func (e MetadataValidationError) Field() string

Field function returns field value.

func (MetadataValidationError) Key

func (e MetadataValidationError) Key() bool

Key function returns key value.

func (MetadataValidationError) Reason

func (e MetadataValidationError) Reason() string

Reason function returns reason value.

type NotFoundErrorCode

type NotFoundErrorCode int32
const (
	NotFoundErrorCode_no_not_found_error NotFoundErrorCode = 0
	NotFoundErrorCode_undefined_endpoint NotFoundErrorCode = 5000
	NotFoundErrorCode_store_id_not_found NotFoundErrorCode = 5002
	NotFoundErrorCode_unimplemented      NotFoundErrorCode = 5004
)

func (NotFoundErrorCode) Descriptor

func (NotFoundErrorCode) Enum

func (NotFoundErrorCode) EnumDescriptor deprecated

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

Deprecated: Use NotFoundErrorCode.Descriptor instead.

func (NotFoundErrorCode) Number

func (NotFoundErrorCode) String

func (x NotFoundErrorCode) String() string

func (NotFoundErrorCode) Type

type Object

type Object struct {
	Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"`
	Id   string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

Object represents an OpenFGA Object.

An Object is composed of a type and identifier (e.g. 'document:1')

See https://openfga.dev/docs/concepts#what-is-an-object

func (*Object) Descriptor deprecated

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

Deprecated: Use Object.ProtoReflect.Descriptor instead.

func (*Object) GetId

func (x *Object) GetId() string

func (*Object) GetType

func (x *Object) GetType() string

func (*Object) ProtoMessage

func (*Object) ProtoMessage()

func (*Object) ProtoReflect

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

func (*Object) Reset

func (x *Object) Reset()

func (*Object) String

func (x *Object) String() string

func (*Object) Validate

func (m *Object) Validate() error

Validate checks the field values on Object 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 (*Object) ValidateAll

func (m *Object) ValidateAll() error

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

type ObjectMultiError

type ObjectMultiError []error

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

func (ObjectMultiError) AllErrors

func (m ObjectMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ObjectMultiError) Error

func (m ObjectMultiError) Error() string

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

type ObjectRelation

type ObjectRelation struct {
	Object   string `protobuf:"bytes,1,opt,name=object,proto3" json:"object,omitempty"`
	Relation string `protobuf:"bytes,2,opt,name=relation,proto3" json:"relation,omitempty"`
	// contains filtered or unexported fields
}

func (*ObjectRelation) Descriptor deprecated

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

Deprecated: Use ObjectRelation.ProtoReflect.Descriptor instead.

func (*ObjectRelation) GetObject

func (x *ObjectRelation) GetObject() string

func (*ObjectRelation) GetRelation

func (x *ObjectRelation) GetRelation() string

func (*ObjectRelation) ProtoMessage

func (*ObjectRelation) ProtoMessage()

func (*ObjectRelation) ProtoReflect

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

func (*ObjectRelation) Reset

func (x *ObjectRelation) Reset()

func (*ObjectRelation) String

func (x *ObjectRelation) String() string

func (*ObjectRelation) Validate

func (m *ObjectRelation) Validate() error

Validate checks the field values on ObjectRelation 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 (*ObjectRelation) ValidateAll

func (m *ObjectRelation) ValidateAll() error

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

type ObjectRelationMultiError

type ObjectRelationMultiError []error

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

func (ObjectRelationMultiError) AllErrors

func (m ObjectRelationMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ObjectRelationMultiError) Error

func (m ObjectRelationMultiError) Error() string

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

type ObjectRelationValidationError

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

ObjectRelationValidationError is the validation error returned by ObjectRelation.Validate if the designated constraints aren't met.

func (ObjectRelationValidationError) Cause

Cause function returns cause value.

func (ObjectRelationValidationError) Error

Error satisfies the builtin error interface

func (ObjectRelationValidationError) ErrorName

func (e ObjectRelationValidationError) ErrorName() string

ErrorName returns error name.

func (ObjectRelationValidationError) Field

Field function returns field value.

func (ObjectRelationValidationError) Key

Key function returns key value.

func (ObjectRelationValidationError) Reason

Reason function returns reason value.

type ObjectValidationError

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

ObjectValidationError is the validation error returned by Object.Validate if the designated constraints aren't met.

func (ObjectValidationError) Cause

func (e ObjectValidationError) Cause() error

Cause function returns cause value.

func (ObjectValidationError) Error

func (e ObjectValidationError) Error() string

Error satisfies the builtin error interface

func (ObjectValidationError) ErrorName

func (e ObjectValidationError) ErrorName() string

ErrorName returns error name.

func (ObjectValidationError) Field

func (e ObjectValidationError) Field() string

Field function returns field value.

func (ObjectValidationError) Key

func (e ObjectValidationError) Key() bool

Key function returns key value.

func (ObjectValidationError) Reason

func (e ObjectValidationError) Reason() string

Reason function returns reason value.

type OpenFGAServiceClient

type OpenFGAServiceClient interface {
	Read(ctx context.Context, in *ReadRequest, opts ...grpc.CallOption) (*ReadResponse, error)
	Write(ctx context.Context, in *WriteRequest, opts ...grpc.CallOption) (*WriteResponse, error)
	Check(ctx context.Context, in *CheckRequest, opts ...grpc.CallOption) (*CheckResponse, error)
	Expand(ctx context.Context, in *ExpandRequest, opts ...grpc.CallOption) (*ExpandResponse, error)
	ReadAuthorizationModels(ctx context.Context, in *ReadAuthorizationModelsRequest, opts ...grpc.CallOption) (*ReadAuthorizationModelsResponse, error)
	ReadAuthorizationModel(ctx context.Context, in *ReadAuthorizationModelRequest, opts ...grpc.CallOption) (*ReadAuthorizationModelResponse, error)
	WriteAuthorizationModel(ctx context.Context, in *WriteAuthorizationModelRequest, opts ...grpc.CallOption) (*WriteAuthorizationModelResponse, error)
	WriteAssertions(ctx context.Context, in *WriteAssertionsRequest, opts ...grpc.CallOption) (*WriteAssertionsResponse, error)
	ReadAssertions(ctx context.Context, in *ReadAssertionsRequest, opts ...grpc.CallOption) (*ReadAssertionsResponse, error)
	ReadChanges(ctx context.Context, in *ReadChangesRequest, opts ...grpc.CallOption) (*ReadChangesResponse, error)
	CreateStore(ctx context.Context, in *CreateStoreRequest, opts ...grpc.CallOption) (*CreateStoreResponse, error)
	UpdateStore(ctx context.Context, in *UpdateStoreRequest, opts ...grpc.CallOption) (*UpdateStoreResponse, error)
	DeleteStore(ctx context.Context, in *DeleteStoreRequest, opts ...grpc.CallOption) (*DeleteStoreResponse, error)
	GetStore(ctx context.Context, in *GetStoreRequest, opts ...grpc.CallOption) (*GetStoreResponse, error)
	ListStores(ctx context.Context, in *ListStoresRequest, opts ...grpc.CallOption) (*ListStoresResponse, error)
	StreamedListObjects(ctx context.Context, in *StreamedListObjectsRequest, opts ...grpc.CallOption) (OpenFGAService_StreamedListObjectsClient, error)
	ListObjects(ctx context.Context, in *ListObjectsRequest, opts ...grpc.CallOption) (*ListObjectsResponse, error)
}

OpenFGAServiceClient is the client API for OpenFGAService 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 OpenFGAServiceServer

type OpenFGAServiceServer interface {
	Read(context.Context, *ReadRequest) (*ReadResponse, error)
	Write(context.Context, *WriteRequest) (*WriteResponse, error)
	Check(context.Context, *CheckRequest) (*CheckResponse, error)
	Expand(context.Context, *ExpandRequest) (*ExpandResponse, error)
	ReadAuthorizationModels(context.Context, *ReadAuthorizationModelsRequest) (*ReadAuthorizationModelsResponse, error)
	ReadAuthorizationModel(context.Context, *ReadAuthorizationModelRequest) (*ReadAuthorizationModelResponse, error)
	WriteAuthorizationModel(context.Context, *WriteAuthorizationModelRequest) (*WriteAuthorizationModelResponse, error)
	WriteAssertions(context.Context, *WriteAssertionsRequest) (*WriteAssertionsResponse, error)
	ReadAssertions(context.Context, *ReadAssertionsRequest) (*ReadAssertionsResponse, error)
	ReadChanges(context.Context, *ReadChangesRequest) (*ReadChangesResponse, error)
	CreateStore(context.Context, *CreateStoreRequest) (*CreateStoreResponse, error)
	UpdateStore(context.Context, *UpdateStoreRequest) (*UpdateStoreResponse, error)
	DeleteStore(context.Context, *DeleteStoreRequest) (*DeleteStoreResponse, error)
	GetStore(context.Context, *GetStoreRequest) (*GetStoreResponse, error)
	ListStores(context.Context, *ListStoresRequest) (*ListStoresResponse, error)
	StreamedListObjects(*StreamedListObjectsRequest, OpenFGAService_StreamedListObjectsServer) error
	ListObjects(context.Context, *ListObjectsRequest) (*ListObjectsResponse, error)
	// contains filtered or unexported methods
}

OpenFGAServiceServer is the server API for OpenFGAService service. All implementations must embed UnimplementedOpenFGAServiceServer for forward compatibility

type OpenFGAService_StreamedListObjectsClient

type OpenFGAService_StreamedListObjectsClient interface {
	Recv() (*StreamedListObjectsResponse, error)
	grpc.ClientStream
}

type OpenFGAService_StreamedListObjectsServer

type OpenFGAService_StreamedListObjectsServer interface {
	Send(*StreamedListObjectsResponse) error
	grpc.ServerStream
}

type PathUnknownErrorMessageResponse

type PathUnknownErrorMessageResponse struct {
	Code    NotFoundErrorCode `protobuf:"varint,1,opt,name=code,proto3,enum=openfga.v1.NotFoundErrorCode" json:"code,omitempty"`
	Message string            `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
	// contains filtered or unexported fields
}

func (*PathUnknownErrorMessageResponse) Descriptor deprecated

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

Deprecated: Use PathUnknownErrorMessageResponse.ProtoReflect.Descriptor instead.

func (*PathUnknownErrorMessageResponse) GetCode

func (*PathUnknownErrorMessageResponse) GetMessage

func (x *PathUnknownErrorMessageResponse) GetMessage() string

func (*PathUnknownErrorMessageResponse) ProtoMessage

func (*PathUnknownErrorMessageResponse) ProtoMessage()

func (*PathUnknownErrorMessageResponse) ProtoReflect

func (*PathUnknownErrorMessageResponse) Reset

func (*PathUnknownErrorMessageResponse) String

func (*PathUnknownErrorMessageResponse) Validate

func (m *PathUnknownErrorMessageResponse) Validate() error

Validate checks the field values on PathUnknownErrorMessageResponse 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 (*PathUnknownErrorMessageResponse) ValidateAll

func (m *PathUnknownErrorMessageResponse) ValidateAll() error

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

type PathUnknownErrorMessageResponseMultiError

type PathUnknownErrorMessageResponseMultiError []error

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

func (PathUnknownErrorMessageResponseMultiError) AllErrors

AllErrors returns a list of validation violation errors.

func (PathUnknownErrorMessageResponseMultiError) Error

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

type PathUnknownErrorMessageResponseValidationError

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

PathUnknownErrorMessageResponseValidationError is the validation error returned by PathUnknownErrorMessageResponse.Validate if the designated constraints aren't met.

func (PathUnknownErrorMessageResponseValidationError) Cause

Cause function returns cause value.

func (PathUnknownErrorMessageResponseValidationError) Error

Error satisfies the builtin error interface

func (PathUnknownErrorMessageResponseValidationError) ErrorName

ErrorName returns error name.

func (PathUnknownErrorMessageResponseValidationError) Field

Field function returns field value.

func (PathUnknownErrorMessageResponseValidationError) Key

Key function returns key value.

func (PathUnknownErrorMessageResponseValidationError) Reason

Reason function returns reason value.

type ReadAssertionsRequest

type ReadAssertionsRequest struct {
	StoreId              string `protobuf:"bytes,1,opt,name=store_id,proto3" json:"store_id,omitempty"`
	AuthorizationModelId string `protobuf:"bytes,2,opt,name=authorization_model_id,proto3" json:"authorization_model_id,omitempty"`
	// contains filtered or unexported fields
}

func (*ReadAssertionsRequest) Descriptor deprecated

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

Deprecated: Use ReadAssertionsRequest.ProtoReflect.Descriptor instead.

func (*ReadAssertionsRequest) GetAuthorizationModelId

func (x *ReadAssertionsRequest) GetAuthorizationModelId() string

func (*ReadAssertionsRequest) GetStoreId

func (x *ReadAssertionsRequest) GetStoreId() string

func (*ReadAssertionsRequest) ProtoMessage

func (*ReadAssertionsRequest) ProtoMessage()

func (*ReadAssertionsRequest) ProtoReflect

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

func (*ReadAssertionsRequest) Reset

func (x *ReadAssertionsRequest) Reset()

func (*ReadAssertionsRequest) String

func (x *ReadAssertionsRequest) String() string

func (*ReadAssertionsRequest) Validate

func (m *ReadAssertionsRequest) Validate() error

Validate checks the field values on ReadAssertionsRequest 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 (*ReadAssertionsRequest) ValidateAll

func (m *ReadAssertionsRequest) ValidateAll() error

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

type ReadAssertionsRequestMultiError

type ReadAssertionsRequestMultiError []error

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

func (ReadAssertionsRequestMultiError) AllErrors

func (m ReadAssertionsRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ReadAssertionsRequestMultiError) Error

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

type ReadAssertionsRequestValidationError

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

ReadAssertionsRequestValidationError is the validation error returned by ReadAssertionsRequest.Validate if the designated constraints aren't met.

func (ReadAssertionsRequestValidationError) Cause

Cause function returns cause value.

func (ReadAssertionsRequestValidationError) Error

Error satisfies the builtin error interface

func (ReadAssertionsRequestValidationError) ErrorName

ErrorName returns error name.

func (ReadAssertionsRequestValidationError) Field

Field function returns field value.

func (ReadAssertionsRequestValidationError) Key

Key function returns key value.

func (ReadAssertionsRequestValidationError) Reason

Reason function returns reason value.

type ReadAssertionsResponse

type ReadAssertionsResponse struct {
	AuthorizationModelId string       `protobuf:"bytes,1,opt,name=authorization_model_id,proto3" json:"authorization_model_id,omitempty"`
	Assertions           []*Assertion `protobuf:"bytes,2,rep,name=assertions,proto3" json:"assertions,omitempty"`
	// contains filtered or unexported fields
}

func (*ReadAssertionsResponse) Descriptor deprecated

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

Deprecated: Use ReadAssertionsResponse.ProtoReflect.Descriptor instead.

func (*ReadAssertionsResponse) GetAssertions

func (x *ReadAssertionsResponse) GetAssertions() []*Assertion

func (*ReadAssertionsResponse) GetAuthorizationModelId

func (x *ReadAssertionsResponse) GetAuthorizationModelId() string

func (*ReadAssertionsResponse) ProtoMessage

func (*ReadAssertionsResponse) ProtoMessage()

func (*ReadAssertionsResponse) ProtoReflect

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

func (*ReadAssertionsResponse) Reset

func (x *ReadAssertionsResponse) Reset()

func (*ReadAssertionsResponse) String

func (x *ReadAssertionsResponse) String() string

func (*ReadAssertionsResponse) Validate

func (m *ReadAssertionsResponse) Validate() error

Validate checks the field values on ReadAssertionsResponse 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 (*ReadAssertionsResponse) ValidateAll

func (m *ReadAssertionsResponse) ValidateAll() error

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

type ReadAssertionsResponseMultiError

type ReadAssertionsResponseMultiError []error

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

func (ReadAssertionsResponseMultiError) AllErrors

func (m ReadAssertionsResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ReadAssertionsResponseMultiError) Error

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

type ReadAssertionsResponseValidationError

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

ReadAssertionsResponseValidationError is the validation error returned by ReadAssertionsResponse.Validate if the designated constraints aren't met.

func (ReadAssertionsResponseValidationError) Cause

Cause function returns cause value.

func (ReadAssertionsResponseValidationError) Error

Error satisfies the builtin error interface

func (ReadAssertionsResponseValidationError) ErrorName

ErrorName returns error name.

func (ReadAssertionsResponseValidationError) Field

Field function returns field value.

func (ReadAssertionsResponseValidationError) Key

Key function returns key value.

func (ReadAssertionsResponseValidationError) Reason

Reason function returns reason value.

type ReadAuthorizationModelRequest

type ReadAuthorizationModelRequest struct {
	StoreId string `protobuf:"bytes,1,opt,name=store_id,proto3" json:"store_id,omitempty"`
	Id      string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

func (*ReadAuthorizationModelRequest) Descriptor deprecated

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

Deprecated: Use ReadAuthorizationModelRequest.ProtoReflect.Descriptor instead.

func (*ReadAuthorizationModelRequest) GetId

func (*ReadAuthorizationModelRequest) GetStoreId

func (x *ReadAuthorizationModelRequest) GetStoreId() string

func (*ReadAuthorizationModelRequest) ProtoMessage

func (*ReadAuthorizationModelRequest) ProtoMessage()

func (*ReadAuthorizationModelRequest) ProtoReflect

func (*ReadAuthorizationModelRequest) Reset

func (x *ReadAuthorizationModelRequest) Reset()

func (*ReadAuthorizationModelRequest) String

func (*ReadAuthorizationModelRequest) Validate

func (m *ReadAuthorizationModelRequest) Validate() error

Validate checks the field values on ReadAuthorizationModelRequest 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 (*ReadAuthorizationModelRequest) ValidateAll

func (m *ReadAuthorizationModelRequest) ValidateAll() error

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

type ReadAuthorizationModelRequestMultiError

type ReadAuthorizationModelRequestMultiError []error

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

func (ReadAuthorizationModelRequestMultiError) AllErrors

AllErrors returns a list of validation violation errors.

func (ReadAuthorizationModelRequestMultiError) Error

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

type ReadAuthorizationModelRequestValidationError

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

ReadAuthorizationModelRequestValidationError is the validation error returned by ReadAuthorizationModelRequest.Validate if the designated constraints aren't met.

func (ReadAuthorizationModelRequestValidationError) Cause

Cause function returns cause value.

func (ReadAuthorizationModelRequestValidationError) Error

Error satisfies the builtin error interface

func (ReadAuthorizationModelRequestValidationError) ErrorName

ErrorName returns error name.

func (ReadAuthorizationModelRequestValidationError) Field

Field function returns field value.

func (ReadAuthorizationModelRequestValidationError) Key

Key function returns key value.

func (ReadAuthorizationModelRequestValidationError) Reason

Reason function returns reason value.

type ReadAuthorizationModelResponse

type ReadAuthorizationModelResponse struct {
	AuthorizationModel *AuthorizationModel `protobuf:"bytes,1,opt,name=authorization_model,proto3" json:"authorization_model,omitempty"`
	// contains filtered or unexported fields
}

func (*ReadAuthorizationModelResponse) Descriptor deprecated

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

Deprecated: Use ReadAuthorizationModelResponse.ProtoReflect.Descriptor instead.

func (*ReadAuthorizationModelResponse) GetAuthorizationModel

func (x *ReadAuthorizationModelResponse) GetAuthorizationModel() *AuthorizationModel

func (*ReadAuthorizationModelResponse) ProtoMessage

func (*ReadAuthorizationModelResponse) ProtoMessage()

func (*ReadAuthorizationModelResponse) ProtoReflect

func (*ReadAuthorizationModelResponse) Reset

func (x *ReadAuthorizationModelResponse) Reset()

func (*ReadAuthorizationModelResponse) String

func (*ReadAuthorizationModelResponse) Validate

func (m *ReadAuthorizationModelResponse) Validate() error

Validate checks the field values on ReadAuthorizationModelResponse 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 (*ReadAuthorizationModelResponse) ValidateAll

func (m *ReadAuthorizationModelResponse) ValidateAll() error

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

type ReadAuthorizationModelResponseMultiError

type ReadAuthorizationModelResponseMultiError []error

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

func (ReadAuthorizationModelResponseMultiError) AllErrors

AllErrors returns a list of validation violation errors.

func (ReadAuthorizationModelResponseMultiError) Error

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

type ReadAuthorizationModelResponseValidationError

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

ReadAuthorizationModelResponseValidationError is the validation error returned by ReadAuthorizationModelResponse.Validate if the designated constraints aren't met.

func (ReadAuthorizationModelResponseValidationError) Cause

Cause function returns cause value.

func (ReadAuthorizationModelResponseValidationError) Error

Error satisfies the builtin error interface

func (ReadAuthorizationModelResponseValidationError) ErrorName

ErrorName returns error name.

func (ReadAuthorizationModelResponseValidationError) Field

Field function returns field value.

func (ReadAuthorizationModelResponseValidationError) Key

Key function returns key value.

func (ReadAuthorizationModelResponseValidationError) Reason

Reason function returns reason value.

type ReadAuthorizationModelsRequest

type ReadAuthorizationModelsRequest struct {
	StoreId           string                 `protobuf:"bytes,1,opt,name=store_id,proto3" json:"store_id,omitempty"`
	PageSize          *wrapperspb.Int32Value `protobuf:"bytes,2,opt,name=page_size,proto3" json:"page_size,omitempty"`
	ContinuationToken string                 `protobuf:"bytes,3,opt,name=continuation_token,proto3" json:"continuation_token,omitempty"`
	// contains filtered or unexported fields
}

func (*ReadAuthorizationModelsRequest) Descriptor deprecated

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

Deprecated: Use ReadAuthorizationModelsRequest.ProtoReflect.Descriptor instead.

func (*ReadAuthorizationModelsRequest) GetContinuationToken

func (x *ReadAuthorizationModelsRequest) GetContinuationToken() string

func (*ReadAuthorizationModelsRequest) GetPageSize

func (*ReadAuthorizationModelsRequest) GetStoreId

func (x *ReadAuthorizationModelsRequest) GetStoreId() string

func (*ReadAuthorizationModelsRequest) ProtoMessage

func (*ReadAuthorizationModelsRequest) ProtoMessage()

func (*ReadAuthorizationModelsRequest) ProtoReflect

func (*ReadAuthorizationModelsRequest) Reset

func (x *ReadAuthorizationModelsRequest) Reset()

func (*ReadAuthorizationModelsRequest) String

func (*ReadAuthorizationModelsRequest) Validate

func (m *ReadAuthorizationModelsRequest) Validate() error

Validate checks the field values on ReadAuthorizationModelsRequest 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 (*ReadAuthorizationModelsRequest) ValidateAll

func (m *ReadAuthorizationModelsRequest) ValidateAll() error

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

type ReadAuthorizationModelsRequestMultiError

type ReadAuthorizationModelsRequestMultiError []error

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

func (ReadAuthorizationModelsRequestMultiError) AllErrors

AllErrors returns a list of validation violation errors.

func (ReadAuthorizationModelsRequestMultiError) Error

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

type ReadAuthorizationModelsRequestValidationError

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

ReadAuthorizationModelsRequestValidationError is the validation error returned by ReadAuthorizationModelsRequest.Validate if the designated constraints aren't met.

func (ReadAuthorizationModelsRequestValidationError) Cause

Cause function returns cause value.

func (ReadAuthorizationModelsRequestValidationError) Error

Error satisfies the builtin error interface

func (ReadAuthorizationModelsRequestValidationError) ErrorName

ErrorName returns error name.

func (ReadAuthorizationModelsRequestValidationError) Field

Field function returns field value.

func (ReadAuthorizationModelsRequestValidationError) Key

Key function returns key value.

func (ReadAuthorizationModelsRequestValidationError) Reason

Reason function returns reason value.

type ReadAuthorizationModelsResponse

type ReadAuthorizationModelsResponse struct {
	AuthorizationModels []*AuthorizationModel `protobuf:"bytes,1,rep,name=authorization_models,proto3" json:"authorization_models,omitempty"`
	ContinuationToken   string                `protobuf:"bytes,2,opt,name=continuation_token,proto3" json:"continuation_token,omitempty"`
	// contains filtered or unexported fields
}

func (*ReadAuthorizationModelsResponse) Descriptor deprecated

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

Deprecated: Use ReadAuthorizationModelsResponse.ProtoReflect.Descriptor instead.

func (*ReadAuthorizationModelsResponse) GetAuthorizationModels

func (x *ReadAuthorizationModelsResponse) GetAuthorizationModels() []*AuthorizationModel

func (*ReadAuthorizationModelsResponse) GetContinuationToken

func (x *ReadAuthorizationModelsResponse) GetContinuationToken() string

func (*ReadAuthorizationModelsResponse) ProtoMessage

func (*ReadAuthorizationModelsResponse) ProtoMessage()

func (*ReadAuthorizationModelsResponse) ProtoReflect

func (*ReadAuthorizationModelsResponse) Reset

func (*ReadAuthorizationModelsResponse) String

func (*ReadAuthorizationModelsResponse) Validate

func (m *ReadAuthorizationModelsResponse) Validate() error

Validate checks the field values on ReadAuthorizationModelsResponse 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 (*ReadAuthorizationModelsResponse) ValidateAll

func (m *ReadAuthorizationModelsResponse) ValidateAll() error

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

type ReadAuthorizationModelsResponseMultiError

type ReadAuthorizationModelsResponseMultiError []error

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

func (ReadAuthorizationModelsResponseMultiError) AllErrors

AllErrors returns a list of validation violation errors.

func (ReadAuthorizationModelsResponseMultiError) Error

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

type ReadAuthorizationModelsResponseValidationError

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

ReadAuthorizationModelsResponseValidationError is the validation error returned by ReadAuthorizationModelsResponse.Validate if the designated constraints aren't met.

func (ReadAuthorizationModelsResponseValidationError) Cause

Cause function returns cause value.

func (ReadAuthorizationModelsResponseValidationError) Error

Error satisfies the builtin error interface

func (ReadAuthorizationModelsResponseValidationError) ErrorName

ErrorName returns error name.

func (ReadAuthorizationModelsResponseValidationError) Field

Field function returns field value.

func (ReadAuthorizationModelsResponseValidationError) Key

Key function returns key value.

func (ReadAuthorizationModelsResponseValidationError) Reason

Reason function returns reason value.

type ReadChangesRequest

type ReadChangesRequest struct {
	StoreId           string                 `protobuf:"bytes,1,opt,name=store_id,proto3" json:"store_id,omitempty"`
	Type              string                 `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"`
	PageSize          *wrapperspb.Int32Value `protobuf:"bytes,3,opt,name=page_size,proto3" json:"page_size,omitempty"`
	ContinuationToken string                 `protobuf:"bytes,4,opt,name=continuation_token,proto3" json:"continuation_token,omitempty"`
	// contains filtered or unexported fields
}

func (*ReadChangesRequest) Descriptor deprecated

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

Deprecated: Use ReadChangesRequest.ProtoReflect.Descriptor instead.

func (*ReadChangesRequest) GetContinuationToken

func (x *ReadChangesRequest) GetContinuationToken() string

func (*ReadChangesRequest) GetPageSize

func (x *ReadChangesRequest) GetPageSize() *wrapperspb.Int32Value

func (*ReadChangesRequest) GetStoreId

func (x *ReadChangesRequest) GetStoreId() string

func (*ReadChangesRequest) GetType

func (x *ReadChangesRequest) GetType() string

func (*ReadChangesRequest) ProtoMessage

func (*ReadChangesRequest) ProtoMessage()

func (*ReadChangesRequest) ProtoReflect

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

func (*ReadChangesRequest) Reset

func (x *ReadChangesRequest) Reset()

func (*ReadChangesRequest) String

func (x *ReadChangesRequest) String() string

func (*ReadChangesRequest) Validate

func (m *ReadChangesRequest) Validate() error

Validate checks the field values on ReadChangesRequest 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 (*ReadChangesRequest) ValidateAll

func (m *ReadChangesRequest) ValidateAll() error

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

type ReadChangesRequestMultiError

type ReadChangesRequestMultiError []error

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

func (ReadChangesRequestMultiError) AllErrors

func (m ReadChangesRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ReadChangesRequestMultiError) Error

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

type ReadChangesRequestValidationError

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

ReadChangesRequestValidationError is the validation error returned by ReadChangesRequest.Validate if the designated constraints aren't met.

func (ReadChangesRequestValidationError) Cause

Cause function returns cause value.

func (ReadChangesRequestValidationError) Error

Error satisfies the builtin error interface

func (ReadChangesRequestValidationError) ErrorName

ErrorName returns error name.

func (ReadChangesRequestValidationError) Field

Field function returns field value.

func (ReadChangesRequestValidationError) Key

Key function returns key value.

func (ReadChangesRequestValidationError) Reason

Reason function returns reason value.

type ReadChangesResponse

type ReadChangesResponse struct {
	Changes           []*TupleChange `protobuf:"bytes,1,rep,name=changes,proto3" json:"changes,omitempty"`
	ContinuationToken string         `protobuf:"bytes,2,opt,name=continuation_token,proto3" json:"continuation_token,omitempty"`
	// contains filtered or unexported fields
}

func (*ReadChangesResponse) Descriptor deprecated

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

Deprecated: Use ReadChangesResponse.ProtoReflect.Descriptor instead.

func (*ReadChangesResponse) GetChanges

func (x *ReadChangesResponse) GetChanges() []*TupleChange

func (*ReadChangesResponse) GetContinuationToken

func (x *ReadChangesResponse) GetContinuationToken() string

func (*ReadChangesResponse) ProtoMessage

func (*ReadChangesResponse) ProtoMessage()

func (*ReadChangesResponse) ProtoReflect

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

func (*ReadChangesResponse) Reset

func (x *ReadChangesResponse) Reset()

func (*ReadChangesResponse) String

func (x *ReadChangesResponse) String() string

func (*ReadChangesResponse) Validate

func (m *ReadChangesResponse) Validate() error

Validate checks the field values on ReadChangesResponse 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 (*ReadChangesResponse) ValidateAll

func (m *ReadChangesResponse) ValidateAll() error

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

type ReadChangesResponseMultiError

type ReadChangesResponseMultiError []error

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

func (ReadChangesResponseMultiError) AllErrors

func (m ReadChangesResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ReadChangesResponseMultiError) Error

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

type ReadChangesResponseValidationError

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

ReadChangesResponseValidationError is the validation error returned by ReadChangesResponse.Validate if the designated constraints aren't met.

func (ReadChangesResponseValidationError) Cause

Cause function returns cause value.

func (ReadChangesResponseValidationError) Error

Error satisfies the builtin error interface

func (ReadChangesResponseValidationError) ErrorName

ErrorName returns error name.

func (ReadChangesResponseValidationError) Field

Field function returns field value.

func (ReadChangesResponseValidationError) Key

Key function returns key value.

func (ReadChangesResponseValidationError) Reason

Reason function returns reason value.

type ReadRequest

type ReadRequest struct {
	StoreId           string                 `protobuf:"bytes,1,opt,name=store_id,proto3" json:"store_id,omitempty"`
	TupleKey          *ReadRequestTupleKey   `protobuf:"bytes,2,opt,name=tuple_key,proto3" json:"tuple_key,omitempty"`
	PageSize          *wrapperspb.Int32Value `protobuf:"bytes,3,opt,name=page_size,proto3" json:"page_size,omitempty"`
	ContinuationToken string                 `protobuf:"bytes,4,opt,name=continuation_token,proto3" json:"continuation_token,omitempty"`
	// contains filtered or unexported fields
}

func (*ReadRequest) Descriptor deprecated

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

Deprecated: Use ReadRequest.ProtoReflect.Descriptor instead.

func (*ReadRequest) GetContinuationToken

func (x *ReadRequest) GetContinuationToken() string

func (*ReadRequest) GetPageSize

func (x *ReadRequest) GetPageSize() *wrapperspb.Int32Value

func (*ReadRequest) GetStoreId

func (x *ReadRequest) GetStoreId() string

func (*ReadRequest) GetTupleKey

func (x *ReadRequest) GetTupleKey() *ReadRequestTupleKey

func (*ReadRequest) ProtoMessage

func (*ReadRequest) ProtoMessage()

func (*ReadRequest) ProtoReflect

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

func (*ReadRequest) Reset

func (x *ReadRequest) Reset()

func (*ReadRequest) String

func (x *ReadRequest) String() string

func (*ReadRequest) Validate

func (m *ReadRequest) Validate() error

Validate checks the field values on ReadRequest 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 (*ReadRequest) ValidateAll

func (m *ReadRequest) ValidateAll() error

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

type ReadRequestMultiError

type ReadRequestMultiError []error

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

func (ReadRequestMultiError) AllErrors

func (m ReadRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ReadRequestMultiError) Error

func (m ReadRequestMultiError) Error() string

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

type ReadRequestTupleKey

type ReadRequestTupleKey struct {
	User     string `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"`
	Relation string `protobuf:"bytes,2,opt,name=relation,proto3" json:"relation,omitempty"`
	Object   string `protobuf:"bytes,3,opt,name=object,proto3" json:"object,omitempty"`
	// contains filtered or unexported fields
}

func (*ReadRequestTupleKey) Descriptor deprecated

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

Deprecated: Use ReadRequestTupleKey.ProtoReflect.Descriptor instead.

func (*ReadRequestTupleKey) GetObject

func (x *ReadRequestTupleKey) GetObject() string

func (*ReadRequestTupleKey) GetRelation

func (x *ReadRequestTupleKey) GetRelation() string

func (*ReadRequestTupleKey) GetUser

func (x *ReadRequestTupleKey) GetUser() string

func (*ReadRequestTupleKey) ProtoMessage

func (*ReadRequestTupleKey) ProtoMessage()

func (*ReadRequestTupleKey) ProtoReflect

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

func (*ReadRequestTupleKey) Reset

func (x *ReadRequestTupleKey) Reset()

func (*ReadRequestTupleKey) String

func (x *ReadRequestTupleKey) String() string

func (*ReadRequestTupleKey) Validate

func (m *ReadRequestTupleKey) Validate() error

Validate checks the field values on ReadRequestTupleKey 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 (*ReadRequestTupleKey) ValidateAll

func (m *ReadRequestTupleKey) ValidateAll() error

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

type ReadRequestTupleKeyMultiError

type ReadRequestTupleKeyMultiError []error

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

func (ReadRequestTupleKeyMultiError) AllErrors

func (m ReadRequestTupleKeyMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ReadRequestTupleKeyMultiError) Error

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

type ReadRequestTupleKeyValidationError

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

ReadRequestTupleKeyValidationError is the validation error returned by ReadRequestTupleKey.Validate if the designated constraints aren't met.

func (ReadRequestTupleKeyValidationError) Cause

Cause function returns cause value.

func (ReadRequestTupleKeyValidationError) Error

Error satisfies the builtin error interface

func (ReadRequestTupleKeyValidationError) ErrorName

ErrorName returns error name.

func (ReadRequestTupleKeyValidationError) Field

Field function returns field value.

func (ReadRequestTupleKeyValidationError) Key

Key function returns key value.

func (ReadRequestTupleKeyValidationError) Reason

Reason function returns reason value.

type ReadRequestValidationError

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

ReadRequestValidationError is the validation error returned by ReadRequest.Validate if the designated constraints aren't met.

func (ReadRequestValidationError) Cause

Cause function returns cause value.

func (ReadRequestValidationError) Error

Error satisfies the builtin error interface

func (ReadRequestValidationError) ErrorName

func (e ReadRequestValidationError) ErrorName() string

ErrorName returns error name.

func (ReadRequestValidationError) Field

Field function returns field value.

func (ReadRequestValidationError) Key

Key function returns key value.

func (ReadRequestValidationError) Reason

Reason function returns reason value.

type ReadResponse

type ReadResponse struct {
	Tuples            []*Tuple `protobuf:"bytes,1,rep,name=tuples,proto3" json:"tuples,omitempty"`
	ContinuationToken string   `protobuf:"bytes,2,opt,name=continuation_token,proto3" json:"continuation_token,omitempty"`
	// contains filtered or unexported fields
}

func (*ReadResponse) Descriptor deprecated

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

Deprecated: Use ReadResponse.ProtoReflect.Descriptor instead.

func (*ReadResponse) GetContinuationToken

func (x *ReadResponse) GetContinuationToken() string

func (*ReadResponse) GetTuples

func (x *ReadResponse) GetTuples() []*Tuple

func (*ReadResponse) ProtoMessage

func (*ReadResponse) ProtoMessage()

func (*ReadResponse) ProtoReflect

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

func (*ReadResponse) Reset

func (x *ReadResponse) Reset()

func (*ReadResponse) String

func (x *ReadResponse) String() string

func (*ReadResponse) Validate

func (m *ReadResponse) Validate() error

Validate checks the field values on ReadResponse 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 (*ReadResponse) ValidateAll

func (m *ReadResponse) ValidateAll() error

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

type ReadResponseMultiError

type ReadResponseMultiError []error

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

func (ReadResponseMultiError) AllErrors

func (m ReadResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ReadResponseMultiError) Error

func (m ReadResponseMultiError) Error() string

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

type ReadResponseValidationError

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

ReadResponseValidationError is the validation error returned by ReadResponse.Validate if the designated constraints aren't met.

func (ReadResponseValidationError) Cause

Cause function returns cause value.

func (ReadResponseValidationError) Error

Error satisfies the builtin error interface

func (ReadResponseValidationError) ErrorName

func (e ReadResponseValidationError) ErrorName() string

ErrorName returns error name.

func (ReadResponseValidationError) Field

Field function returns field value.

func (ReadResponseValidationError) Key

Key function returns key value.

func (ReadResponseValidationError) Reason

Reason function returns reason value.

type Relation

type Relation struct {
	Name     string            `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Rewrite  *Userset          `protobuf:"bytes,2,opt,name=rewrite,proto3" json:"rewrite,omitempty"`
	TypeInfo *RelationTypeInfo `protobuf:"bytes,3,opt,name=type_info,json=typeInfo,proto3" json:"type_info,omitempty"`
	// contains filtered or unexported fields
}

func (*Relation) Descriptor deprecated

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

Deprecated: Use Relation.ProtoReflect.Descriptor instead.

func (*Relation) GetName

func (x *Relation) GetName() string

func (*Relation) GetRewrite

func (x *Relation) GetRewrite() *Userset

func (*Relation) GetTypeInfo

func (x *Relation) GetTypeInfo() *RelationTypeInfo

func (*Relation) ProtoMessage

func (*Relation) ProtoMessage()

func (*Relation) ProtoReflect

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

func (*Relation) Reset

func (x *Relation) Reset()

func (*Relation) String

func (x *Relation) String() string

func (*Relation) Validate

func (m *Relation) Validate() error

Validate checks the field values on Relation 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 (*Relation) ValidateAll

func (m *Relation) ValidateAll() error

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

type RelationMetadata

type RelationMetadata struct {
	DirectlyRelatedUserTypes []*RelationReference `protobuf:"bytes,1,rep,name=directly_related_user_types,proto3" json:"directly_related_user_types,omitempty"`
	// contains filtered or unexported fields
}

func (*RelationMetadata) Descriptor deprecated

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

Deprecated: Use RelationMetadata.ProtoReflect.Descriptor instead.

func (*RelationMetadata) GetDirectlyRelatedUserTypes

func (x *RelationMetadata) GetDirectlyRelatedUserTypes() []*RelationReference

func (*RelationMetadata) ProtoMessage

func (*RelationMetadata) ProtoMessage()

func (*RelationMetadata) ProtoReflect

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

func (*RelationMetadata) Reset

func (x *RelationMetadata) Reset()

func (*RelationMetadata) String

func (x *RelationMetadata) String() string

func (*RelationMetadata) Validate

func (m *RelationMetadata) Validate() error

Validate checks the field values on RelationMetadata 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 (*RelationMetadata) ValidateAll

func (m *RelationMetadata) ValidateAll() error

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

type RelationMetadataMultiError

type RelationMetadataMultiError []error

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

func (RelationMetadataMultiError) AllErrors

func (m RelationMetadataMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (RelationMetadataMultiError) Error

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

type RelationMetadataValidationError

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

RelationMetadataValidationError is the validation error returned by RelationMetadata.Validate if the designated constraints aren't met.

func (RelationMetadataValidationError) Cause

Cause function returns cause value.

func (RelationMetadataValidationError) Error

Error satisfies the builtin error interface

func (RelationMetadataValidationError) ErrorName

ErrorName returns error name.

func (RelationMetadataValidationError) Field

Field function returns field value.

func (RelationMetadataValidationError) Key

Key function returns key value.

func (RelationMetadataValidationError) Reason

Reason function returns reason value.

type RelationMultiError

type RelationMultiError []error

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

func (RelationMultiError) AllErrors

func (m RelationMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (RelationMultiError) Error

func (m RelationMultiError) Error() string

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

type RelationReference

type RelationReference struct {
	Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"`
	// Types that are assignable to RelationOrWildcard:
	//
	//	*RelationReference_Relation
	//	*RelationReference_Wildcard
	RelationOrWildcard isRelationReference_RelationOrWildcard `protobuf_oneof:"relation_or_wildcard"`
	// The name of a condition that is enforced over the allowed relation.
	Condition string `protobuf:"bytes,4,opt,name=condition,proto3" json:"condition,omitempty"`
	// contains filtered or unexported fields
}

RelationReference represents a relation of a particular object type (e.g. 'document#viewer').

func (*RelationReference) Descriptor deprecated

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

Deprecated: Use RelationReference.ProtoReflect.Descriptor instead.

func (*RelationReference) GetCondition

func (x *RelationReference) GetCondition() string

func (*RelationReference) GetRelation

func (x *RelationReference) GetRelation() string

func (*RelationReference) GetRelationOrWildcard

func (m *RelationReference) GetRelationOrWildcard() isRelationReference_RelationOrWildcard

func (*RelationReference) GetType

func (x *RelationReference) GetType() string

func (*RelationReference) GetWildcard

func (x *RelationReference) GetWildcard() *Wildcard

func (*RelationReference) ProtoMessage

func (*RelationReference) ProtoMessage()

func (*RelationReference) ProtoReflect

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

func (*RelationReference) Reset

func (x *RelationReference) Reset()

func (*RelationReference) String

func (x *RelationReference) String() string

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

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

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

func (m RelationReferenceMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (RelationReferenceMultiError) Error

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 RelationReference_Relation

type RelationReference_Relation struct {
	Relation string `protobuf:"bytes,2,opt,name=relation,proto3,oneof"`
}

type RelationReference_Wildcard

type RelationReference_Wildcard struct {
	Wildcard *Wildcard `protobuf:"bytes,3,opt,name=wildcard,proto3,oneof"`
}

type RelationTypeInfo

type RelationTypeInfo struct {
	DirectlyRelatedUserTypes []*RelationReference `protobuf:"bytes,1,rep,name=directly_related_user_types,proto3" json:"directly_related_user_types,omitempty"`
	// contains filtered or unexported fields
}

func (*RelationTypeInfo) Descriptor deprecated

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

Deprecated: Use RelationTypeInfo.ProtoReflect.Descriptor instead.

func (*RelationTypeInfo) GetDirectlyRelatedUserTypes

func (x *RelationTypeInfo) GetDirectlyRelatedUserTypes() []*RelationReference

func (*RelationTypeInfo) ProtoMessage

func (*RelationTypeInfo) ProtoMessage()

func (*RelationTypeInfo) ProtoReflect

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

func (*RelationTypeInfo) Reset

func (x *RelationTypeInfo) Reset()

func (*RelationTypeInfo) String

func (x *RelationTypeInfo) String() string

func (*RelationTypeInfo) Validate

func (m *RelationTypeInfo) Validate() error

Validate checks the field values on RelationTypeInfo 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 (*RelationTypeInfo) ValidateAll

func (m *RelationTypeInfo) ValidateAll() error

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

type RelationTypeInfoMultiError

type RelationTypeInfoMultiError []error

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

func (RelationTypeInfoMultiError) AllErrors

func (m RelationTypeInfoMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (RelationTypeInfoMultiError) Error

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

type RelationTypeInfoValidationError

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

RelationTypeInfoValidationError is the validation error returned by RelationTypeInfo.Validate if the designated constraints aren't met.

func (RelationTypeInfoValidationError) Cause

Cause function returns cause value.

func (RelationTypeInfoValidationError) Error

Error satisfies the builtin error interface

func (RelationTypeInfoValidationError) ErrorName

ErrorName returns error name.

func (RelationTypeInfoValidationError) Field

Field function returns field value.

func (RelationTypeInfoValidationError) Key

Key function returns key value.

func (RelationTypeInfoValidationError) Reason

Reason function returns reason value.

type RelationValidationError

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

RelationValidationError is the validation error returned by Relation.Validate if the designated constraints aren't met.

func (RelationValidationError) Cause

func (e RelationValidationError) Cause() error

Cause function returns cause value.

func (RelationValidationError) Error

func (e RelationValidationError) Error() string

Error satisfies the builtin error interface

func (RelationValidationError) ErrorName

func (e RelationValidationError) ErrorName() string

ErrorName returns error name.

func (RelationValidationError) Field

func (e RelationValidationError) Field() string

Field function returns field value.

func (RelationValidationError) Key

func (e RelationValidationError) Key() bool

Key function returns key value.

func (RelationValidationError) Reason

func (e RelationValidationError) Reason() string

Reason function returns reason value.

type RelationshipCondition

type RelationshipCondition struct {

	// A reference (by name) of the relationship condition defined in the authorization model.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Additional context/data to persist along with the condition.
	// The keys must match the parameters defined by the condition, and the value types must
	// match the parameter type definitions.
	Context *structpb.Struct `protobuf:"bytes,2,opt,name=context,proto3" json:"context,omitempty"`
	// contains filtered or unexported fields
}

func (*RelationshipCondition) Descriptor deprecated

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

Deprecated: Use RelationshipCondition.ProtoReflect.Descriptor instead.

func (*RelationshipCondition) GetContext

func (x *RelationshipCondition) GetContext() *structpb.Struct

func (*RelationshipCondition) GetName

func (x *RelationshipCondition) GetName() string

func (*RelationshipCondition) ProtoMessage

func (*RelationshipCondition) ProtoMessage()

func (*RelationshipCondition) ProtoReflect

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

func (*RelationshipCondition) Reset

func (x *RelationshipCondition) Reset()

func (*RelationshipCondition) String

func (x *RelationshipCondition) String() string

func (*RelationshipCondition) Validate

func (m *RelationshipCondition) Validate() error

Validate checks the field values on RelationshipCondition 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 (*RelationshipCondition) ValidateAll

func (m *RelationshipCondition) ValidateAll() error

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

type RelationshipConditionMultiError

type RelationshipConditionMultiError []error

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

func (RelationshipConditionMultiError) AllErrors

func (m RelationshipConditionMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (RelationshipConditionMultiError) Error

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

type RelationshipConditionValidationError

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

RelationshipConditionValidationError is the validation error returned by RelationshipCondition.Validate if the designated constraints aren't met.

func (RelationshipConditionValidationError) Cause

Cause function returns cause value.

func (RelationshipConditionValidationError) Error

Error satisfies the builtin error interface

func (RelationshipConditionValidationError) ErrorName

ErrorName returns error name.

func (RelationshipConditionValidationError) Field

Field function returns field value.

func (RelationshipConditionValidationError) Key

Key function returns key value.

func (RelationshipConditionValidationError) Reason

Reason function returns reason value.

type Store

type Store struct {
	Id        string                 `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Name      string                 `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	CreatedAt *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=created_at,proto3" json:"created_at,omitempty"`
	UpdatedAt *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=updated_at,proto3" json:"updated_at,omitempty"`
	DeletedAt *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=deleted_at,proto3" json:"deleted_at,omitempty"`
	// contains filtered or unexported fields
}

func (*Store) Descriptor deprecated

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

Deprecated: Use Store.ProtoReflect.Descriptor instead.

func (*Store) GetCreatedAt

func (x *Store) GetCreatedAt() *timestamppb.Timestamp

func (*Store) GetDeletedAt

func (x *Store) GetDeletedAt() *timestamppb.Timestamp

func (*Store) GetId

func (x *Store) GetId() string

func (*Store) GetName

func (x *Store) GetName() string

func (*Store) GetUpdatedAt

func (x *Store) GetUpdatedAt() *timestamppb.Timestamp

func (*Store) ProtoMessage

func (*Store) ProtoMessage()

func (*Store) ProtoReflect

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

func (*Store) Reset

func (x *Store) Reset()

func (*Store) String

func (x *Store) String() string

func (*Store) Validate

func (m *Store) Validate() error

Validate checks the field values on Store 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 (*Store) ValidateAll

func (m *Store) ValidateAll() error

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

type StoreMultiError

type StoreMultiError []error

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

func (StoreMultiError) AllErrors

func (m StoreMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (StoreMultiError) Error

func (m StoreMultiError) Error() string

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

type StoreValidationError

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

StoreValidationError is the validation error returned by Store.Validate if the designated constraints aren't met.

func (StoreValidationError) Cause

func (e StoreValidationError) Cause() error

Cause function returns cause value.

func (StoreValidationError) Error

func (e StoreValidationError) Error() string

Error satisfies the builtin error interface

func (StoreValidationError) ErrorName

func (e StoreValidationError) ErrorName() string

ErrorName returns error name.

func (StoreValidationError) Field

func (e StoreValidationError) Field() string

Field function returns field value.

func (StoreValidationError) Key

func (e StoreValidationError) Key() bool

Key function returns key value.

func (StoreValidationError) Reason

func (e StoreValidationError) Reason() string

Reason function returns reason value.

type StreamedListObjectsRequest

type StreamedListObjectsRequest struct {
	StoreId              string               `protobuf:"bytes,1,opt,name=store_id,proto3" json:"store_id,omitempty"`
	AuthorizationModelId string               `protobuf:"bytes,2,opt,name=authorization_model_id,proto3" json:"authorization_model_id,omitempty"`
	Type                 string               `protobuf:"bytes,3,opt,name=type,proto3" json:"type,omitempty"`
	Relation             string               `protobuf:"bytes,4,opt,name=relation,proto3" json:"relation,omitempty"`
	User                 string               `protobuf:"bytes,5,opt,name=user,proto3" json:"user,omitempty"`
	ContextualTuples     *ContextualTupleKeys `protobuf:"bytes,6,opt,name=contextual_tuples,proto3" json:"contextual_tuples,omitempty"`
	// Additional request context that will be used to evaluate any ABAC conditions encountered
	// in the query evaluation.
	Context *structpb.Struct `protobuf:"bytes,7,opt,name=context,proto3" json:"context,omitempty"`
	// contains filtered or unexported fields
}

func (*StreamedListObjectsRequest) Descriptor deprecated

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

Deprecated: Use StreamedListObjectsRequest.ProtoReflect.Descriptor instead.

func (*StreamedListObjectsRequest) GetAuthorizationModelId

func (x *StreamedListObjectsRequest) GetAuthorizationModelId() string

func (*StreamedListObjectsRequest) GetContext

func (x *StreamedListObjectsRequest) GetContext() *structpb.Struct

func (*StreamedListObjectsRequest) GetContextualTuples

func (x *StreamedListObjectsRequest) GetContextualTuples() *ContextualTupleKeys

func (*StreamedListObjectsRequest) GetRelation

func (x *StreamedListObjectsRequest) GetRelation() string

func (*StreamedListObjectsRequest) GetStoreId

func (x *StreamedListObjectsRequest) GetStoreId() string

func (*StreamedListObjectsRequest) GetType

func (x *StreamedListObjectsRequest) GetType() string

func (*StreamedListObjectsRequest) GetUser

func (x *StreamedListObjectsRequest) GetUser() string

func (*StreamedListObjectsRequest) ProtoMessage

func (*StreamedListObjectsRequest) ProtoMessage()

func (*StreamedListObjectsRequest) ProtoReflect

func (*StreamedListObjectsRequest) Reset

func (x *StreamedListObjectsRequest) Reset()

func (*StreamedListObjectsRequest) String

func (x *StreamedListObjectsRequest) String() string

func (*StreamedListObjectsRequest) Validate

func (m *StreamedListObjectsRequest) Validate() error

Validate checks the field values on StreamedListObjectsRequest 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 (*StreamedListObjectsRequest) ValidateAll

func (m *StreamedListObjectsRequest) ValidateAll() error

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

type StreamedListObjectsRequestMultiError

type StreamedListObjectsRequestMultiError []error

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

func (StreamedListObjectsRequestMultiError) AllErrors

AllErrors returns a list of validation violation errors.

func (StreamedListObjectsRequestMultiError) Error

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

type StreamedListObjectsRequestValidationError

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

StreamedListObjectsRequestValidationError is the validation error returned by StreamedListObjectsRequest.Validate if the designated constraints aren't met.

func (StreamedListObjectsRequestValidationError) Cause

Cause function returns cause value.

func (StreamedListObjectsRequestValidationError) Error

Error satisfies the builtin error interface

func (StreamedListObjectsRequestValidationError) ErrorName

ErrorName returns error name.

func (StreamedListObjectsRequestValidationError) Field

Field function returns field value.

func (StreamedListObjectsRequestValidationError) Key

Key function returns key value.

func (StreamedListObjectsRequestValidationError) Reason

Reason function returns reason value.

type StreamedListObjectsResponse

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

The response for a StreamedListObjects RPC.

func (*StreamedListObjectsResponse) Descriptor deprecated

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

Deprecated: Use StreamedListObjectsResponse.ProtoReflect.Descriptor instead.

func (*StreamedListObjectsResponse) GetObject

func (x *StreamedListObjectsResponse) GetObject() string

func (*StreamedListObjectsResponse) ProtoMessage

func (*StreamedListObjectsResponse) ProtoMessage()

func (*StreamedListObjectsResponse) ProtoReflect

func (*StreamedListObjectsResponse) Reset

func (x *StreamedListObjectsResponse) Reset()

func (*StreamedListObjectsResponse) String

func (x *StreamedListObjectsResponse) String() string

func (*StreamedListObjectsResponse) Validate

func (m *StreamedListObjectsResponse) Validate() error

Validate checks the field values on StreamedListObjectsResponse 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 (*StreamedListObjectsResponse) ValidateAll

func (m *StreamedListObjectsResponse) ValidateAll() error

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

type StreamedListObjectsResponseMultiError

type StreamedListObjectsResponseMultiError []error

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

func (StreamedListObjectsResponseMultiError) AllErrors

AllErrors returns a list of validation violation errors.

func (StreamedListObjectsResponseMultiError) Error

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

type StreamedListObjectsResponseValidationError

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

StreamedListObjectsResponseValidationError is the validation error returned by StreamedListObjectsResponse.Validate if the designated constraints aren't met.

func (StreamedListObjectsResponseValidationError) Cause

Cause function returns cause value.

func (StreamedListObjectsResponseValidationError) Error

Error satisfies the builtin error interface

func (StreamedListObjectsResponseValidationError) ErrorName

ErrorName returns error name.

func (StreamedListObjectsResponseValidationError) Field

Field function returns field value.

func (StreamedListObjectsResponseValidationError) Key

Key function returns key value.

func (StreamedListObjectsResponseValidationError) Reason

Reason function returns reason value.

type Tuple

type Tuple struct {
	Key       *TupleKey              `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
	Timestamp *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
	// contains filtered or unexported fields
}

func (*Tuple) Descriptor deprecated

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

Deprecated: Use Tuple.ProtoReflect.Descriptor instead.

func (*Tuple) GetKey

func (x *Tuple) GetKey() *TupleKey

func (*Tuple) GetTimestamp

func (x *Tuple) GetTimestamp() *timestamppb.Timestamp

func (*Tuple) ProtoMessage

func (*Tuple) ProtoMessage()

func (*Tuple) ProtoReflect

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

func (*Tuple) Reset

func (x *Tuple) Reset()

func (*Tuple) String

func (x *Tuple) String() string

func (*Tuple) Validate

func (m *Tuple) Validate() error

Validate checks the field values on Tuple 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 (*Tuple) ValidateAll

func (m *Tuple) ValidateAll() error

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

type TupleChange

type TupleChange struct {
	TupleKey  *TupleKey              `protobuf:"bytes,1,opt,name=tuple_key,proto3" json:"tuple_key,omitempty"`
	Operation TupleOperation         `protobuf:"varint,2,opt,name=operation,proto3,enum=openfga.v1.TupleOperation" json:"operation,omitempty"`
	Timestamp *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
	// contains filtered or unexported fields
}

func (*TupleChange) Descriptor deprecated

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

Deprecated: Use TupleChange.ProtoReflect.Descriptor instead.

func (*TupleChange) GetOperation

func (x *TupleChange) GetOperation() TupleOperation

func (*TupleChange) GetTimestamp

func (x *TupleChange) GetTimestamp() *timestamppb.Timestamp

func (*TupleChange) GetTupleKey

func (x *TupleChange) GetTupleKey() *TupleKey

func (*TupleChange) ProtoMessage

func (*TupleChange) ProtoMessage()

func (*TupleChange) ProtoReflect

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

func (*TupleChange) Reset

func (x *TupleChange) Reset()

func (*TupleChange) String

func (x *TupleChange) String() string

func (*TupleChange) Validate

func (m *TupleChange) Validate() error

Validate checks the field values on TupleChange 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 (*TupleChange) ValidateAll

func (m *TupleChange) ValidateAll() error

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

type TupleChangeMultiError

type TupleChangeMultiError []error

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

func (TupleChangeMultiError) AllErrors

func (m TupleChangeMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (TupleChangeMultiError) Error

func (m TupleChangeMultiError) Error() string

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

type TupleChangeValidationError

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

TupleChangeValidationError is the validation error returned by TupleChange.Validate if the designated constraints aren't met.

func (TupleChangeValidationError) Cause

Cause function returns cause value.

func (TupleChangeValidationError) Error

Error satisfies the builtin error interface

func (TupleChangeValidationError) ErrorName

func (e TupleChangeValidationError) ErrorName() string

ErrorName returns error name.

func (TupleChangeValidationError) Field

Field function returns field value.

func (TupleChangeValidationError) Key

Key function returns key value.

func (TupleChangeValidationError) Reason

Reason function returns reason value.

type TupleKey

type TupleKey struct {
	User      string                 `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"`
	Relation  string                 `protobuf:"bytes,2,opt,name=relation,proto3" json:"relation,omitempty"`
	Object    string                 `protobuf:"bytes,3,opt,name=object,proto3" json:"object,omitempty"`
	Condition *RelationshipCondition `protobuf:"bytes,4,opt,name=condition,proto3" json:"condition,omitempty"`
	// contains filtered or unexported fields
}

func (*TupleKey) Descriptor deprecated

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

Deprecated: Use TupleKey.ProtoReflect.Descriptor instead.

func (*TupleKey) GetCondition

func (x *TupleKey) GetCondition() *RelationshipCondition

func (*TupleKey) GetObject

func (x *TupleKey) GetObject() string

func (*TupleKey) GetRelation

func (x *TupleKey) GetRelation() string

func (*TupleKey) GetUser

func (x *TupleKey) GetUser() string

func (*TupleKey) ProtoMessage

func (*TupleKey) ProtoMessage()

func (*TupleKey) ProtoReflect

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

func (*TupleKey) Reset

func (x *TupleKey) Reset()

func (*TupleKey) String

func (x *TupleKey) String() string

func (*TupleKey) Validate

func (m *TupleKey) Validate() error

Validate checks the field values on TupleKey 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 (*TupleKey) ValidateAll

func (m *TupleKey) ValidateAll() error

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

type TupleKeyMultiError

type TupleKeyMultiError []error

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

func (TupleKeyMultiError) AllErrors

func (m TupleKeyMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (TupleKeyMultiError) Error

func (m TupleKeyMultiError) Error() string

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

type TupleKeyValidationError

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

TupleKeyValidationError is the validation error returned by TupleKey.Validate if the designated constraints aren't met.

func (TupleKeyValidationError) Cause

func (e TupleKeyValidationError) Cause() error

Cause function returns cause value.

func (TupleKeyValidationError) Error

func (e TupleKeyValidationError) Error() string

Error satisfies the builtin error interface

func (TupleKeyValidationError) ErrorName

func (e TupleKeyValidationError) ErrorName() string

ErrorName returns error name.

func (TupleKeyValidationError) Field

func (e TupleKeyValidationError) Field() string

Field function returns field value.

func (TupleKeyValidationError) Key

func (e TupleKeyValidationError) Key() bool

Key function returns key value.

func (TupleKeyValidationError) Reason

func (e TupleKeyValidationError) Reason() string

Reason function returns reason value.

type TupleKeyWithoutCondition

type TupleKeyWithoutCondition struct {
	User     string `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"`
	Relation string `protobuf:"bytes,2,opt,name=relation,proto3" json:"relation,omitempty"`
	Object   string `protobuf:"bytes,3,opt,name=object,proto3" json:"object,omitempty"`
	// contains filtered or unexported fields
}

func (*TupleKeyWithoutCondition) Descriptor deprecated

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

Deprecated: Use TupleKeyWithoutCondition.ProtoReflect.Descriptor instead.

func (*TupleKeyWithoutCondition) GetObject

func (x *TupleKeyWithoutCondition) GetObject() string

func (*TupleKeyWithoutCondition) GetRelation

func (x *TupleKeyWithoutCondition) GetRelation() string

func (*TupleKeyWithoutCondition) GetUser

func (x *TupleKeyWithoutCondition) GetUser() string

func (*TupleKeyWithoutCondition) ProtoMessage

func (*TupleKeyWithoutCondition) ProtoMessage()

func (*TupleKeyWithoutCondition) ProtoReflect

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

func (*TupleKeyWithoutCondition) Reset

func (x *TupleKeyWithoutCondition) Reset()

func (*TupleKeyWithoutCondition) String

func (x *TupleKeyWithoutCondition) String() string

func (*TupleKeyWithoutCondition) Validate

func (m *TupleKeyWithoutCondition) Validate() error

Validate checks the field values on TupleKeyWithoutCondition 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 (*TupleKeyWithoutCondition) ValidateAll

func (m *TupleKeyWithoutCondition) ValidateAll() error

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

type TupleKeyWithoutConditionMultiError

type TupleKeyWithoutConditionMultiError []error

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

func (TupleKeyWithoutConditionMultiError) AllErrors

func (m TupleKeyWithoutConditionMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (TupleKeyWithoutConditionMultiError) Error

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

type TupleKeyWithoutConditionValidationError

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

TupleKeyWithoutConditionValidationError is the validation error returned by TupleKeyWithoutCondition.Validate if the designated constraints aren't met.

func (TupleKeyWithoutConditionValidationError) Cause

Cause function returns cause value.

func (TupleKeyWithoutConditionValidationError) Error

Error satisfies the builtin error interface

func (TupleKeyWithoutConditionValidationError) ErrorName

ErrorName returns error name.

func (TupleKeyWithoutConditionValidationError) Field

Field function returns field value.

func (TupleKeyWithoutConditionValidationError) Key

Key function returns key value.

func (TupleKeyWithoutConditionValidationError) Reason

Reason function returns reason value.

type TupleKeys

type TupleKeys struct {
	TupleKeys []*TupleKey `protobuf:"bytes,1,rep,name=tuple_keys,proto3" json:"tuple_keys,omitempty"`
	// contains filtered or unexported fields
}

func (*TupleKeys) Descriptor deprecated

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

Deprecated: Use TupleKeys.ProtoReflect.Descriptor instead.

func (*TupleKeys) GetTupleKeys

func (x *TupleKeys) GetTupleKeys() []*TupleKey

func (*TupleKeys) ProtoMessage

func (*TupleKeys) ProtoMessage()

func (*TupleKeys) ProtoReflect

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

func (*TupleKeys) Reset

func (x *TupleKeys) Reset()

func (*TupleKeys) String

func (x *TupleKeys) String() string

func (*TupleKeys) Validate

func (m *TupleKeys) Validate() error

Validate checks the field values on TupleKeys 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 (*TupleKeys) ValidateAll

func (m *TupleKeys) ValidateAll() error

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

type TupleKeysMultiError

type TupleKeysMultiError []error

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

func (TupleKeysMultiError) AllErrors

func (m TupleKeysMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (TupleKeysMultiError) Error

func (m TupleKeysMultiError) Error() string

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

type TupleKeysValidationError

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

TupleKeysValidationError is the validation error returned by TupleKeys.Validate if the designated constraints aren't met.

func (TupleKeysValidationError) Cause

func (e TupleKeysValidationError) Cause() error

Cause function returns cause value.

func (TupleKeysValidationError) Error

func (e TupleKeysValidationError) Error() string

Error satisfies the builtin error interface

func (TupleKeysValidationError) ErrorName

func (e TupleKeysValidationError) ErrorName() string

ErrorName returns error name.

func (TupleKeysValidationError) Field

func (e TupleKeysValidationError) Field() string

Field function returns field value.

func (TupleKeysValidationError) Key

Key function returns key value.

func (TupleKeysValidationError) Reason

func (e TupleKeysValidationError) Reason() string

Reason function returns reason value.

type TupleMultiError

type TupleMultiError []error

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

func (TupleMultiError) AllErrors

func (m TupleMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (TupleMultiError) Error

func (m TupleMultiError) Error() string

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

type TupleOperation

type TupleOperation int32

buf:lint:ignore ENUM_ZERO_VALUE_SUFFIX

const (
	TupleOperation_TUPLE_OPERATION_WRITE  TupleOperation = 0
	TupleOperation_TUPLE_OPERATION_DELETE TupleOperation = 1
)

func (TupleOperation) Descriptor

func (TupleOperation) Enum

func (x TupleOperation) Enum() *TupleOperation

func (TupleOperation) EnumDescriptor deprecated

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

Deprecated: Use TupleOperation.Descriptor instead.

func (TupleOperation) Number

func (TupleOperation) String

func (x TupleOperation) String() string

func (TupleOperation) Type

type TupleToUserset

type TupleToUserset struct {

	// The target object/relation
	Tupleset        *ObjectRelation `protobuf:"bytes,1,opt,name=tupleset,proto3" json:"tupleset,omitempty"`
	ComputedUserset *ObjectRelation `protobuf:"bytes,2,opt,name=computed_userset,json=computedUserset,proto3" json:"computed_userset,omitempty"`
	// contains filtered or unexported fields
}

func (*TupleToUserset) Descriptor deprecated

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

Deprecated: Use TupleToUserset.ProtoReflect.Descriptor instead.

func (*TupleToUserset) GetComputedUserset

func (x *TupleToUserset) GetComputedUserset() *ObjectRelation

func (*TupleToUserset) GetTupleset

func (x *TupleToUserset) GetTupleset() *ObjectRelation

func (*TupleToUserset) ProtoMessage

func (*TupleToUserset) ProtoMessage()

func (*TupleToUserset) ProtoReflect

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

func (*TupleToUserset) Reset

func (x *TupleToUserset) Reset()

func (*TupleToUserset) String

func (x *TupleToUserset) String() string

func (*TupleToUserset) Validate

func (m *TupleToUserset) Validate() error

Validate checks the field values on TupleToUserset 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 (*TupleToUserset) ValidateAll

func (m *TupleToUserset) ValidateAll() error

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

type TupleToUsersetMultiError

type TupleToUsersetMultiError []error

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

func (TupleToUsersetMultiError) AllErrors

func (m TupleToUsersetMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (TupleToUsersetMultiError) Error

func (m TupleToUsersetMultiError) Error() string

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

type TupleToUsersetValidationError

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

TupleToUsersetValidationError is the validation error returned by TupleToUserset.Validate if the designated constraints aren't met.

func (TupleToUsersetValidationError) Cause

Cause function returns cause value.

func (TupleToUsersetValidationError) Error

Error satisfies the builtin error interface

func (TupleToUsersetValidationError) ErrorName

func (e TupleToUsersetValidationError) ErrorName() string

ErrorName returns error name.

func (TupleToUsersetValidationError) Field

Field function returns field value.

func (TupleToUsersetValidationError) Key

Key function returns key value.

func (TupleToUsersetValidationError) Reason

Reason function returns reason value.

type TupleValidationError

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

TupleValidationError is the validation error returned by Tuple.Validate if the designated constraints aren't met.

func (TupleValidationError) Cause

func (e TupleValidationError) Cause() error

Cause function returns cause value.

func (TupleValidationError) Error

func (e TupleValidationError) Error() string

Error satisfies the builtin error interface

func (TupleValidationError) ErrorName

func (e TupleValidationError) ErrorName() string

ErrorName returns error name.

func (TupleValidationError) Field

func (e TupleValidationError) Field() string

Field function returns field value.

func (TupleValidationError) Key

func (e TupleValidationError) Key() bool

Key function returns key value.

func (TupleValidationError) Reason

func (e TupleValidationError) Reason() string

Reason function returns reason value.

type TypeDefinition

type TypeDefinition struct {
	Type      string              `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"`
	Relations map[string]*Userset `` /* 159-byte string literal not displayed */
	// A map whose keys are the name of the relation and whose value is the Metadata for that relation.
	Metadata *Metadata `protobuf:"bytes,3,opt,name=metadata,proto3" json:"metadata,omitempty"`
	// contains filtered or unexported fields
}

func (*TypeDefinition) Descriptor deprecated

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

Deprecated: Use TypeDefinition.ProtoReflect.Descriptor instead.

func (*TypeDefinition) GetMetadata

func (x *TypeDefinition) GetMetadata() *Metadata

func (*TypeDefinition) GetRelations

func (x *TypeDefinition) GetRelations() map[string]*Userset

func (*TypeDefinition) GetType

func (x *TypeDefinition) GetType() string

func (*TypeDefinition) ProtoMessage

func (*TypeDefinition) ProtoMessage()

func (*TypeDefinition) ProtoReflect

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

func (*TypeDefinition) Reset

func (x *TypeDefinition) Reset()

func (*TypeDefinition) String

func (x *TypeDefinition) String() string

func (*TypeDefinition) Validate

func (m *TypeDefinition) Validate() error

Validate checks the field values on TypeDefinition 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 (*TypeDefinition) ValidateAll

func (m *TypeDefinition) ValidateAll() error

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

type TypeDefinitionMultiError

type TypeDefinitionMultiError []error

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

func (TypeDefinitionMultiError) AllErrors

func (m TypeDefinitionMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (TypeDefinitionMultiError) Error

func (m TypeDefinitionMultiError) Error() string

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

type TypeDefinitionValidationError

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

TypeDefinitionValidationError is the validation error returned by TypeDefinition.Validate if the designated constraints aren't met.

func (TypeDefinitionValidationError) Cause

Cause function returns cause value.

func (TypeDefinitionValidationError) Error

Error satisfies the builtin error interface

func (TypeDefinitionValidationError) ErrorName

func (e TypeDefinitionValidationError) ErrorName() string

ErrorName returns error name.

func (TypeDefinitionValidationError) Field

Field function returns field value.

func (TypeDefinitionValidationError) Key

Key function returns key value.

func (TypeDefinitionValidationError) Reason

Reason function returns reason value.

type UnimplementedOpenFGAServiceServer

type UnimplementedOpenFGAServiceServer struct {
}

UnimplementedOpenFGAServiceServer must be embedded to have forward compatible implementations.

func (UnimplementedOpenFGAServiceServer) Check

func (UnimplementedOpenFGAServiceServer) CreateStore

func (UnimplementedOpenFGAServiceServer) DeleteStore

func (UnimplementedOpenFGAServiceServer) Expand

func (UnimplementedOpenFGAServiceServer) GetStore

func (UnimplementedOpenFGAServiceServer) ListObjects

func (UnimplementedOpenFGAServiceServer) ListStores

func (UnimplementedOpenFGAServiceServer) Read

func (UnimplementedOpenFGAServiceServer) ReadAssertions

func (UnimplementedOpenFGAServiceServer) ReadChanges

func (UnimplementedOpenFGAServiceServer) UpdateStore

func (UnimplementedOpenFGAServiceServer) Write

func (UnimplementedOpenFGAServiceServer) WriteAssertions

type UnsafeOpenFGAServiceServer

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

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

type UpdateStoreRequest

type UpdateStoreRequest struct {
	StoreId string `protobuf:"bytes,1,opt,name=store_id,proto3" json:"store_id,omitempty"`
	Name    string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateStoreRequest) Descriptor deprecated

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

Deprecated: Use UpdateStoreRequest.ProtoReflect.Descriptor instead.

func (*UpdateStoreRequest) GetName

func (x *UpdateStoreRequest) GetName() string

func (*UpdateStoreRequest) GetStoreId

func (x *UpdateStoreRequest) GetStoreId() string

func (*UpdateStoreRequest) ProtoMessage

func (*UpdateStoreRequest) ProtoMessage()

func (*UpdateStoreRequest) ProtoReflect

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

func (*UpdateStoreRequest) Reset

func (x *UpdateStoreRequest) Reset()

func (*UpdateStoreRequest) String

func (x *UpdateStoreRequest) String() string

func (*UpdateStoreRequest) Validate

func (m *UpdateStoreRequest) Validate() error

Validate checks the field values on UpdateStoreRequest 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 (*UpdateStoreRequest) ValidateAll

func (m *UpdateStoreRequest) ValidateAll() error

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

type UpdateStoreRequestMultiError

type UpdateStoreRequestMultiError []error

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

func (UpdateStoreRequestMultiError) AllErrors

func (m UpdateStoreRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (UpdateStoreRequestMultiError) Error

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

type UpdateStoreRequestValidationError

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

UpdateStoreRequestValidationError is the validation error returned by UpdateStoreRequest.Validate if the designated constraints aren't met.

func (UpdateStoreRequestValidationError) Cause

Cause function returns cause value.

func (UpdateStoreRequestValidationError) Error

Error satisfies the builtin error interface

func (UpdateStoreRequestValidationError) ErrorName

ErrorName returns error name.

func (UpdateStoreRequestValidationError) Field

Field function returns field value.

func (UpdateStoreRequestValidationError) Key

Key function returns key value.

func (UpdateStoreRequestValidationError) Reason

Reason function returns reason value.

type UpdateStoreResponse

type UpdateStoreResponse struct {
	Id        string                 `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Name      string                 `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	CreatedAt *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=created_at,proto3" json:"created_at,omitempty"`
	UpdatedAt *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=updated_at,proto3" json:"updated_at,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateStoreResponse) Descriptor deprecated

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

Deprecated: Use UpdateStoreResponse.ProtoReflect.Descriptor instead.

func (*UpdateStoreResponse) GetCreatedAt

func (x *UpdateStoreResponse) GetCreatedAt() *timestamppb.Timestamp

func (*UpdateStoreResponse) GetId

func (x *UpdateStoreResponse) GetId() string

func (*UpdateStoreResponse) GetName

func (x *UpdateStoreResponse) GetName() string

func (*UpdateStoreResponse) GetUpdatedAt

func (x *UpdateStoreResponse) GetUpdatedAt() *timestamppb.Timestamp

func (*UpdateStoreResponse) ProtoMessage

func (*UpdateStoreResponse) ProtoMessage()

func (*UpdateStoreResponse) ProtoReflect

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

func (*UpdateStoreResponse) Reset

func (x *UpdateStoreResponse) Reset()

func (*UpdateStoreResponse) String

func (x *UpdateStoreResponse) String() string

func (*UpdateStoreResponse) Validate

func (m *UpdateStoreResponse) Validate() error

Validate checks the field values on UpdateStoreResponse 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 (*UpdateStoreResponse) ValidateAll

func (m *UpdateStoreResponse) ValidateAll() error

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

type UpdateStoreResponseMultiError

type UpdateStoreResponseMultiError []error

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

func (UpdateStoreResponseMultiError) AllErrors

func (m UpdateStoreResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (UpdateStoreResponseMultiError) Error

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

type UpdateStoreResponseValidationError

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

UpdateStoreResponseValidationError is the validation error returned by UpdateStoreResponse.Validate if the designated constraints aren't met.

func (UpdateStoreResponseValidationError) Cause

Cause function returns cause value.

func (UpdateStoreResponseValidationError) Error

Error satisfies the builtin error interface

func (UpdateStoreResponseValidationError) ErrorName

ErrorName returns error name.

func (UpdateStoreResponseValidationError) Field

Field function returns field value.

func (UpdateStoreResponseValidationError) Key

Key function returns key value.

func (UpdateStoreResponseValidationError) Reason

Reason function returns reason value.

type Userset

type Userset struct {

	// Types that are assignable to Userset:
	//
	//	*Userset_This
	//	*Userset_ComputedUserset
	//	*Userset_TupleToUserset
	//	*Userset_Union
	//	*Userset_Intersection
	//	*Userset_Difference
	Userset isUserset_Userset `protobuf_oneof:"userset"`
	// contains filtered or unexported fields
}

func (*Userset) Descriptor deprecated

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

Deprecated: Use Userset.ProtoReflect.Descriptor instead.

func (*Userset) GetComputedUserset

func (x *Userset) GetComputedUserset() *ObjectRelation

func (*Userset) GetDifference

func (x *Userset) GetDifference() *Difference

func (*Userset) GetIntersection

func (x *Userset) GetIntersection() *Usersets

func (*Userset) GetThis

func (x *Userset) GetThis() *DirectUserset

func (*Userset) GetTupleToUserset

func (x *Userset) GetTupleToUserset() *TupleToUserset

func (*Userset) GetUnion

func (x *Userset) GetUnion() *Usersets

func (*Userset) GetUserset

func (m *Userset) GetUserset() isUserset_Userset

func (*Userset) ProtoMessage

func (*Userset) ProtoMessage()

func (*Userset) ProtoReflect

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

func (*Userset) Reset

func (x *Userset) Reset()

func (*Userset) String

func (x *Userset) String() string

func (*Userset) Validate

func (m *Userset) Validate() error

Validate checks the field values on Userset 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 (*Userset) ValidateAll

func (m *Userset) ValidateAll() error

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

type UsersetMultiError

type UsersetMultiError []error

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

func (UsersetMultiError) AllErrors

func (m UsersetMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (UsersetMultiError) Error

func (m UsersetMultiError) Error() string

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

type UsersetTree

type UsersetTree struct {
	Root *UsersetTree_Node `protobuf:"bytes,1,opt,name=root,proto3" json:"root,omitempty"`
	// contains filtered or unexported fields
}

A UsersetTree contains the result of an Expansion.

func (*UsersetTree) Descriptor deprecated

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

Deprecated: Use UsersetTree.ProtoReflect.Descriptor instead.

func (*UsersetTree) GetRoot

func (x *UsersetTree) GetRoot() *UsersetTree_Node

func (*UsersetTree) ProtoMessage

func (*UsersetTree) ProtoMessage()

func (*UsersetTree) ProtoReflect

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

func (*UsersetTree) Reset

func (x *UsersetTree) Reset()

func (*UsersetTree) String

func (x *UsersetTree) String() string

func (*UsersetTree) Validate

func (m *UsersetTree) Validate() error

Validate checks the field values on UsersetTree 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 (*UsersetTree) ValidateAll

func (m *UsersetTree) ValidateAll() error

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

type UsersetTreeMultiError

type UsersetTreeMultiError []error

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

func (UsersetTreeMultiError) AllErrors

func (m UsersetTreeMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (UsersetTreeMultiError) Error

func (m UsersetTreeMultiError) Error() string

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

type UsersetTreeValidationError

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

UsersetTreeValidationError is the validation error returned by UsersetTree.Validate if the designated constraints aren't met.

func (UsersetTreeValidationError) Cause

Cause function returns cause value.

func (UsersetTreeValidationError) Error

Error satisfies the builtin error interface

func (UsersetTreeValidationError) ErrorName

func (e UsersetTreeValidationError) ErrorName() string

ErrorName returns error name.

func (UsersetTreeValidationError) Field

Field function returns field value.

func (UsersetTreeValidationError) Key

Key function returns key value.

func (UsersetTreeValidationError) Reason

Reason function returns reason value.

type UsersetTree_Computed

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

func (*UsersetTree_Computed) Descriptor deprecated

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

Deprecated: Use UsersetTree_Computed.ProtoReflect.Descriptor instead.

func (*UsersetTree_Computed) GetUserset

func (x *UsersetTree_Computed) GetUserset() string

func (*UsersetTree_Computed) ProtoMessage

func (*UsersetTree_Computed) ProtoMessage()

func (*UsersetTree_Computed) ProtoReflect

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

func (*UsersetTree_Computed) Reset

func (x *UsersetTree_Computed) Reset()

func (*UsersetTree_Computed) String

func (x *UsersetTree_Computed) String() string

func (*UsersetTree_Computed) Validate

func (m *UsersetTree_Computed) Validate() error

Validate checks the field values on UsersetTree_Computed 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 (*UsersetTree_Computed) ValidateAll

func (m *UsersetTree_Computed) ValidateAll() error

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

type UsersetTree_ComputedMultiError

type UsersetTree_ComputedMultiError []error

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

func (UsersetTree_ComputedMultiError) AllErrors

func (m UsersetTree_ComputedMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (UsersetTree_ComputedMultiError) Error

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

type UsersetTree_ComputedValidationError

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

UsersetTree_ComputedValidationError is the validation error returned by UsersetTree_Computed.Validate if the designated constraints aren't met.

func (UsersetTree_ComputedValidationError) Cause

Cause function returns cause value.

func (UsersetTree_ComputedValidationError) Error

Error satisfies the builtin error interface

func (UsersetTree_ComputedValidationError) ErrorName

ErrorName returns error name.

func (UsersetTree_ComputedValidationError) Field

Field function returns field value.

func (UsersetTree_ComputedValidationError) Key

Key function returns key value.

func (UsersetTree_ComputedValidationError) Reason

Reason function returns reason value.

type UsersetTree_Difference

type UsersetTree_Difference struct {
	Base     *UsersetTree_Node `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"`
	Subtract *UsersetTree_Node `protobuf:"bytes,2,opt,name=subtract,proto3" json:"subtract,omitempty"`
	// contains filtered or unexported fields
}

func (*UsersetTree_Difference) Descriptor deprecated

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

Deprecated: Use UsersetTree_Difference.ProtoReflect.Descriptor instead.

func (*UsersetTree_Difference) GetBase

func (*UsersetTree_Difference) GetSubtract

func (x *UsersetTree_Difference) GetSubtract() *UsersetTree_Node

func (*UsersetTree_Difference) ProtoMessage

func (*UsersetTree_Difference) ProtoMessage()

func (*UsersetTree_Difference) ProtoReflect

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

func (*UsersetTree_Difference) Reset

func (x *UsersetTree_Difference) Reset()

func (*UsersetTree_Difference) String

func (x *UsersetTree_Difference) String() string

func (*UsersetTree_Difference) Validate

func (m *UsersetTree_Difference) Validate() error

Validate checks the field values on UsersetTree_Difference 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 (*UsersetTree_Difference) ValidateAll

func (m *UsersetTree_Difference) ValidateAll() error

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

type UsersetTree_DifferenceMultiError

type UsersetTree_DifferenceMultiError []error

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

func (UsersetTree_DifferenceMultiError) AllErrors

func (m UsersetTree_DifferenceMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (UsersetTree_DifferenceMultiError) Error

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

type UsersetTree_DifferenceValidationError

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

UsersetTree_DifferenceValidationError is the validation error returned by UsersetTree_Difference.Validate if the designated constraints aren't met.

func (UsersetTree_DifferenceValidationError) Cause

Cause function returns cause value.

func (UsersetTree_DifferenceValidationError) Error

Error satisfies the builtin error interface

func (UsersetTree_DifferenceValidationError) ErrorName

ErrorName returns error name.

func (UsersetTree_DifferenceValidationError) Field

Field function returns field value.

func (UsersetTree_DifferenceValidationError) Key

Key function returns key value.

func (UsersetTree_DifferenceValidationError) Reason

Reason function returns reason value.

type UsersetTree_Leaf

type UsersetTree_Leaf struct {

	// Types that are assignable to Value:
	//
	//	*UsersetTree_Leaf_Users
	//	*UsersetTree_Leaf_Computed
	//	*UsersetTree_Leaf_TupleToUserset
	Value isUsersetTree_Leaf_Value `protobuf_oneof:"value"`
	// contains filtered or unexported fields
}

A leaf node contains either

  • a set of users (which may be individual users, or usersets referencing other relations)
  • a computed node, which is the result of a computed userset value in the authorization model
  • a tupleToUserset nodes, containing the result of expanding a tupleToUserset value in a authorization model.

func (*UsersetTree_Leaf) Descriptor deprecated

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

Deprecated: Use UsersetTree_Leaf.ProtoReflect.Descriptor instead.

func (*UsersetTree_Leaf) GetComputed

func (x *UsersetTree_Leaf) GetComputed() *UsersetTree_Computed

func (*UsersetTree_Leaf) GetTupleToUserset

func (x *UsersetTree_Leaf) GetTupleToUserset() *UsersetTree_TupleToUserset

func (*UsersetTree_Leaf) GetUsers

func (x *UsersetTree_Leaf) GetUsers() *UsersetTree_Users

func (*UsersetTree_Leaf) GetValue

func (m *UsersetTree_Leaf) GetValue() isUsersetTree_Leaf_Value

func (*UsersetTree_Leaf) ProtoMessage

func (*UsersetTree_Leaf) ProtoMessage()

func (*UsersetTree_Leaf) ProtoReflect

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

func (*UsersetTree_Leaf) Reset

func (x *UsersetTree_Leaf) Reset()

func (*UsersetTree_Leaf) String

func (x *UsersetTree_Leaf) String() string

func (*UsersetTree_Leaf) Validate

func (m *UsersetTree_Leaf) Validate() error

Validate checks the field values on UsersetTree_Leaf 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 (*UsersetTree_Leaf) ValidateAll

func (m *UsersetTree_Leaf) ValidateAll() error

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

type UsersetTree_LeafMultiError

type UsersetTree_LeafMultiError []error

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

func (UsersetTree_LeafMultiError) AllErrors

func (m UsersetTree_LeafMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (UsersetTree_LeafMultiError) Error

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

type UsersetTree_LeafValidationError

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

UsersetTree_LeafValidationError is the validation error returned by UsersetTree_Leaf.Validate if the designated constraints aren't met.

func (UsersetTree_LeafValidationError) Cause

Cause function returns cause value.

func (UsersetTree_LeafValidationError) Error

Error satisfies the builtin error interface

func (UsersetTree_LeafValidationError) ErrorName

ErrorName returns error name.

func (UsersetTree_LeafValidationError) Field

Field function returns field value.

func (UsersetTree_LeafValidationError) Key

Key function returns key value.

func (UsersetTree_LeafValidationError) Reason

Reason function returns reason value.

type UsersetTree_Leaf_Computed

type UsersetTree_Leaf_Computed struct {
	Computed *UsersetTree_Computed `protobuf:"bytes,2,opt,name=computed,proto3,oneof"`
}

type UsersetTree_Leaf_TupleToUserset

type UsersetTree_Leaf_TupleToUserset struct {
	TupleToUserset *UsersetTree_TupleToUserset `protobuf:"bytes,3,opt,name=tuple_to_userset,json=tupleToUserset,proto3,oneof"`
}

type UsersetTree_Leaf_Users

type UsersetTree_Leaf_Users struct {
	Users *UsersetTree_Users `protobuf:"bytes,1,opt,name=users,proto3,oneof"`
}

type UsersetTree_Node

type UsersetTree_Node struct {
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Types that are assignable to Value:
	//
	//	*UsersetTree_Node_Leaf
	//	*UsersetTree_Node_Difference
	//	*UsersetTree_Node_Union
	//	*UsersetTree_Node_Intersection
	Value isUsersetTree_Node_Value `protobuf_oneof:"value"`
	// contains filtered or unexported fields
}

func (*UsersetTree_Node) Descriptor deprecated

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

Deprecated: Use UsersetTree_Node.ProtoReflect.Descriptor instead.

func (*UsersetTree_Node) GetDifference

func (x *UsersetTree_Node) GetDifference() *UsersetTree_Difference

func (*UsersetTree_Node) GetIntersection

func (x *UsersetTree_Node) GetIntersection() *UsersetTree_Nodes

func (*UsersetTree_Node) GetLeaf

func (x *UsersetTree_Node) GetLeaf() *UsersetTree_Leaf

func (*UsersetTree_Node) GetName

func (x *UsersetTree_Node) GetName() string

func (*UsersetTree_Node) GetUnion

func (x *UsersetTree_Node) GetUnion() *UsersetTree_Nodes

func (*UsersetTree_Node) GetValue

func (m *UsersetTree_Node) GetValue() isUsersetTree_Node_Value

func (*UsersetTree_Node) ProtoMessage

func (*UsersetTree_Node) ProtoMessage()

func (*UsersetTree_Node) ProtoReflect

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

func (*UsersetTree_Node) Reset

func (x *UsersetTree_Node) Reset()

func (*UsersetTree_Node) String

func (x *UsersetTree_Node) String() string

func (*UsersetTree_Node) Validate

func (m *UsersetTree_Node) Validate() error

Validate checks the field values on UsersetTree_Node 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 (*UsersetTree_Node) ValidateAll

func (m *UsersetTree_Node) ValidateAll() error

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

type UsersetTree_NodeMultiError

type UsersetTree_NodeMultiError []error

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

func (UsersetTree_NodeMultiError) AllErrors

func (m UsersetTree_NodeMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (UsersetTree_NodeMultiError) Error

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

type UsersetTree_NodeValidationError

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

UsersetTree_NodeValidationError is the validation error returned by UsersetTree_Node.Validate if the designated constraints aren't met.

func (UsersetTree_NodeValidationError) Cause

Cause function returns cause value.

func (UsersetTree_NodeValidationError) Error

Error satisfies the builtin error interface

func (UsersetTree_NodeValidationError) ErrorName

ErrorName returns error name.

func (UsersetTree_NodeValidationError) Field

Field function returns field value.

func (UsersetTree_NodeValidationError) Key

Key function returns key value.

func (UsersetTree_NodeValidationError) Reason

Reason function returns reason value.

type UsersetTree_Node_Difference

type UsersetTree_Node_Difference struct {
	Difference *UsersetTree_Difference `protobuf:"bytes,5,opt,name=difference,proto3,oneof"`
}

type UsersetTree_Node_Intersection

type UsersetTree_Node_Intersection struct {
	Intersection *UsersetTree_Nodes `protobuf:"bytes,7,opt,name=intersection,proto3,oneof"`
}

type UsersetTree_Node_Leaf

type UsersetTree_Node_Leaf struct {
	Leaf *UsersetTree_Leaf `protobuf:"bytes,2,opt,name=leaf,proto3,oneof"`
}

type UsersetTree_Node_Union

type UsersetTree_Node_Union struct {
	Union *UsersetTree_Nodes `protobuf:"bytes,6,opt,name=union,proto3,oneof"`
}

type UsersetTree_Nodes

type UsersetTree_Nodes struct {
	Nodes []*UsersetTree_Node `protobuf:"bytes,1,rep,name=nodes,proto3" json:"nodes,omitempty"`
	// contains filtered or unexported fields
}

func (*UsersetTree_Nodes) Descriptor deprecated

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

Deprecated: Use UsersetTree_Nodes.ProtoReflect.Descriptor instead.

func (*UsersetTree_Nodes) GetNodes

func (x *UsersetTree_Nodes) GetNodes() []*UsersetTree_Node

func (*UsersetTree_Nodes) ProtoMessage

func (*UsersetTree_Nodes) ProtoMessage()

func (*UsersetTree_Nodes) ProtoReflect

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

func (*UsersetTree_Nodes) Reset

func (x *UsersetTree_Nodes) Reset()

func (*UsersetTree_Nodes) String

func (x *UsersetTree_Nodes) String() string

func (*UsersetTree_Nodes) Validate

func (m *UsersetTree_Nodes) Validate() error

Validate checks the field values on UsersetTree_Nodes 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 (*UsersetTree_Nodes) ValidateAll

func (m *UsersetTree_Nodes) ValidateAll() error

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

type UsersetTree_NodesMultiError

type UsersetTree_NodesMultiError []error

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

func (UsersetTree_NodesMultiError) AllErrors

func (m UsersetTree_NodesMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (UsersetTree_NodesMultiError) Error

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

type UsersetTree_NodesValidationError

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

UsersetTree_NodesValidationError is the validation error returned by UsersetTree_Nodes.Validate if the designated constraints aren't met.

func (UsersetTree_NodesValidationError) Cause

Cause function returns cause value.

func (UsersetTree_NodesValidationError) Error

Error satisfies the builtin error interface

func (UsersetTree_NodesValidationError) ErrorName

ErrorName returns error name.

func (UsersetTree_NodesValidationError) Field

Field function returns field value.

func (UsersetTree_NodesValidationError) Key

Key function returns key value.

func (UsersetTree_NodesValidationError) Reason

Reason function returns reason value.

type UsersetTree_TupleToUserset

type UsersetTree_TupleToUserset struct {
	Tupleset string                  `protobuf:"bytes,1,opt,name=tupleset,proto3" json:"tupleset,omitempty"`
	Computed []*UsersetTree_Computed `protobuf:"bytes,2,rep,name=computed,proto3" json:"computed,omitempty"`
	// contains filtered or unexported fields
}

func (*UsersetTree_TupleToUserset) Descriptor deprecated

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

Deprecated: Use UsersetTree_TupleToUserset.ProtoReflect.Descriptor instead.

func (*UsersetTree_TupleToUserset) GetComputed

func (*UsersetTree_TupleToUserset) GetTupleset

func (x *UsersetTree_TupleToUserset) GetTupleset() string

func (*UsersetTree_TupleToUserset) ProtoMessage

func (*UsersetTree_TupleToUserset) ProtoMessage()

func (*UsersetTree_TupleToUserset) ProtoReflect

func (*UsersetTree_TupleToUserset) Reset

func (x *UsersetTree_TupleToUserset) Reset()

func (*UsersetTree_TupleToUserset) String

func (x *UsersetTree_TupleToUserset) String() string

func (*UsersetTree_TupleToUserset) Validate

func (m *UsersetTree_TupleToUserset) Validate() error

Validate checks the field values on UsersetTree_TupleToUserset 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 (*UsersetTree_TupleToUserset) ValidateAll

func (m *UsersetTree_TupleToUserset) ValidateAll() error

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

type UsersetTree_TupleToUsersetMultiError

type UsersetTree_TupleToUsersetMultiError []error

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

func (UsersetTree_TupleToUsersetMultiError) AllErrors

AllErrors returns a list of validation violation errors.

func (UsersetTree_TupleToUsersetMultiError) Error

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

type UsersetTree_TupleToUsersetValidationError

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

UsersetTree_TupleToUsersetValidationError is the validation error returned by UsersetTree_TupleToUserset.Validate if the designated constraints aren't met.

func (UsersetTree_TupleToUsersetValidationError) Cause

Cause function returns cause value.

func (UsersetTree_TupleToUsersetValidationError) Error

Error satisfies the builtin error interface

func (UsersetTree_TupleToUsersetValidationError) ErrorName

ErrorName returns error name.

func (UsersetTree_TupleToUsersetValidationError) Field

Field function returns field value.

func (UsersetTree_TupleToUsersetValidationError) Key

Key function returns key value.

func (UsersetTree_TupleToUsersetValidationError) Reason

Reason function returns reason value.

type UsersetTree_Users

type UsersetTree_Users struct {
	Users []string `protobuf:"bytes,1,rep,name=users,proto3" json:"users,omitempty"`
	// contains filtered or unexported fields
}

func (*UsersetTree_Users) Descriptor deprecated

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

Deprecated: Use UsersetTree_Users.ProtoReflect.Descriptor instead.

func (*UsersetTree_Users) GetUsers

func (x *UsersetTree_Users) GetUsers() []string

func (*UsersetTree_Users) ProtoMessage

func (*UsersetTree_Users) ProtoMessage()

func (*UsersetTree_Users) ProtoReflect

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

func (*UsersetTree_Users) Reset

func (x *UsersetTree_Users) Reset()

func (*UsersetTree_Users) String

func (x *UsersetTree_Users) String() string

func (*UsersetTree_Users) Validate

func (m *UsersetTree_Users) Validate() error

Validate checks the field values on UsersetTree_Users 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 (*UsersetTree_Users) ValidateAll

func (m *UsersetTree_Users) ValidateAll() error

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

type UsersetTree_UsersMultiError

type UsersetTree_UsersMultiError []error

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

func (UsersetTree_UsersMultiError) AllErrors

func (m UsersetTree_UsersMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (UsersetTree_UsersMultiError) Error

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

type UsersetTree_UsersValidationError

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

UsersetTree_UsersValidationError is the validation error returned by UsersetTree_Users.Validate if the designated constraints aren't met.

func (UsersetTree_UsersValidationError) Cause

Cause function returns cause value.

func (UsersetTree_UsersValidationError) Error

Error satisfies the builtin error interface

func (UsersetTree_UsersValidationError) ErrorName

ErrorName returns error name.

func (UsersetTree_UsersValidationError) Field

Field function returns field value.

func (UsersetTree_UsersValidationError) Key

Key function returns key value.

func (UsersetTree_UsersValidationError) Reason

Reason function returns reason value.

type UsersetValidationError

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

UsersetValidationError is the validation error returned by Userset.Validate if the designated constraints aren't met.

func (UsersetValidationError) Cause

func (e UsersetValidationError) Cause() error

Cause function returns cause value.

func (UsersetValidationError) Error

func (e UsersetValidationError) Error() string

Error satisfies the builtin error interface

func (UsersetValidationError) ErrorName

func (e UsersetValidationError) ErrorName() string

ErrorName returns error name.

func (UsersetValidationError) Field

func (e UsersetValidationError) Field() string

Field function returns field value.

func (UsersetValidationError) Key

func (e UsersetValidationError) Key() bool

Key function returns key value.

func (UsersetValidationError) Reason

func (e UsersetValidationError) Reason() string

Reason function returns reason value.

type Userset_ComputedUserset

type Userset_ComputedUserset struct {
	ComputedUserset *ObjectRelation `protobuf:"bytes,2,opt,name=computed_userset,json=computedUserset,proto3,oneof"`
}

type Userset_Difference

type Userset_Difference struct {
	Difference *Difference `protobuf:"bytes,6,opt,name=difference,proto3,oneof"`
}

type Userset_Intersection

type Userset_Intersection struct {
	Intersection *Usersets `protobuf:"bytes,5,opt,name=intersection,proto3,oneof"`
}

type Userset_This

type Userset_This struct {
	This *DirectUserset `protobuf:"bytes,1,opt,name=this,proto3,oneof"`
}

type Userset_TupleToUserset

type Userset_TupleToUserset struct {
	TupleToUserset *TupleToUserset `protobuf:"bytes,3,opt,name=tuple_to_userset,json=tupleToUserset,proto3,oneof"`
}

type Userset_Union

type Userset_Union struct {
	Union *Usersets `protobuf:"bytes,4,opt,name=union,proto3,oneof"`
}

type Usersets

type Usersets struct {
	Child []*Userset `protobuf:"bytes,1,rep,name=child,proto3" json:"child,omitempty"`
	// contains filtered or unexported fields
}

func (*Usersets) Descriptor deprecated

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

Deprecated: Use Usersets.ProtoReflect.Descriptor instead.

func (*Usersets) GetChild

func (x *Usersets) GetChild() []*Userset

func (*Usersets) ProtoMessage

func (*Usersets) ProtoMessage()

func (*Usersets) ProtoReflect

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

func (*Usersets) Reset

func (x *Usersets) Reset()

func (*Usersets) String

func (x *Usersets) String() string

func (*Usersets) Validate

func (m *Usersets) Validate() error

Validate checks the field values on Usersets 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 (*Usersets) ValidateAll

func (m *Usersets) ValidateAll() error

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

type UsersetsMultiError

type UsersetsMultiError []error

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

func (UsersetsMultiError) AllErrors

func (m UsersetsMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (UsersetsMultiError) Error

func (m UsersetsMultiError) Error() string

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

type UsersetsValidationError

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

UsersetsValidationError is the validation error returned by Usersets.Validate if the designated constraints aren't met.

func (UsersetsValidationError) Cause

func (e UsersetsValidationError) Cause() error

Cause function returns cause value.

func (UsersetsValidationError) Error

func (e UsersetsValidationError) Error() string

Error satisfies the builtin error interface

func (UsersetsValidationError) ErrorName

func (e UsersetsValidationError) ErrorName() string

ErrorName returns error name.

func (UsersetsValidationError) Field

func (e UsersetsValidationError) Field() string

Field function returns field value.

func (UsersetsValidationError) Key

func (e UsersetsValidationError) Key() bool

Key function returns key value.

func (UsersetsValidationError) Reason

func (e UsersetsValidationError) Reason() string

Reason function returns reason value.

type ValidationErrorMessageResponse

type ValidationErrorMessageResponse struct {
	Code    ErrorCode `protobuf:"varint,1,opt,name=code,proto3,enum=openfga.v1.ErrorCode" json:"code,omitempty"`
	Message string    `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
	// contains filtered or unexported fields
}

func (*ValidationErrorMessageResponse) Descriptor deprecated

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

Deprecated: Use ValidationErrorMessageResponse.ProtoReflect.Descriptor instead.

func (*ValidationErrorMessageResponse) GetCode

func (*ValidationErrorMessageResponse) GetMessage

func (x *ValidationErrorMessageResponse) GetMessage() string

func (*ValidationErrorMessageResponse) ProtoMessage

func (*ValidationErrorMessageResponse) ProtoMessage()

func (*ValidationErrorMessageResponse) ProtoReflect

func (*ValidationErrorMessageResponse) Reset

func (x *ValidationErrorMessageResponse) Reset()

func (*ValidationErrorMessageResponse) String

func (*ValidationErrorMessageResponse) Validate

func (m *ValidationErrorMessageResponse) Validate() error

Validate checks the field values on ValidationErrorMessageResponse 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 (*ValidationErrorMessageResponse) ValidateAll

func (m *ValidationErrorMessageResponse) ValidateAll() error

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

type ValidationErrorMessageResponseMultiError

type ValidationErrorMessageResponseMultiError []error

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

func (ValidationErrorMessageResponseMultiError) AllErrors

AllErrors returns a list of validation violation errors.

func (ValidationErrorMessageResponseMultiError) Error

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

type ValidationErrorMessageResponseValidationError

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

ValidationErrorMessageResponseValidationError is the validation error returned by ValidationErrorMessageResponse.Validate if the designated constraints aren't met.

func (ValidationErrorMessageResponseValidationError) Cause

Cause function returns cause value.

func (ValidationErrorMessageResponseValidationError) Error

Error satisfies the builtin error interface

func (ValidationErrorMessageResponseValidationError) ErrorName

ErrorName returns error name.

func (ValidationErrorMessageResponseValidationError) Field

Field function returns field value.

func (ValidationErrorMessageResponseValidationError) Key

Key function returns key value.

func (ValidationErrorMessageResponseValidationError) Reason

Reason function returns reason value.

type Wildcard

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

func (*Wildcard) Descriptor deprecated

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

Deprecated: Use Wildcard.ProtoReflect.Descriptor instead.

func (*Wildcard) ProtoMessage

func (*Wildcard) ProtoMessage()

func (*Wildcard) ProtoReflect

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

func (*Wildcard) Reset

func (x *Wildcard) Reset()

func (*Wildcard) String

func (x *Wildcard) String() string

func (*Wildcard) Validate

func (m *Wildcard) Validate() error

Validate checks the field values on Wildcard 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 (*Wildcard) ValidateAll

func (m *Wildcard) ValidateAll() error

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

type WildcardMultiError

type WildcardMultiError []error

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

func (WildcardMultiError) AllErrors

func (m WildcardMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (WildcardMultiError) Error

func (m WildcardMultiError) Error() string

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

type WildcardValidationError

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

WildcardValidationError is the validation error returned by Wildcard.Validate if the designated constraints aren't met.

func (WildcardValidationError) Cause

func (e WildcardValidationError) Cause() error

Cause function returns cause value.

func (WildcardValidationError) Error

func (e WildcardValidationError) Error() string

Error satisfies the builtin error interface

func (WildcardValidationError) ErrorName

func (e WildcardValidationError) ErrorName() string

ErrorName returns error name.

func (WildcardValidationError) Field

func (e WildcardValidationError) Field() string

Field function returns field value.

func (WildcardValidationError) Key

func (e WildcardValidationError) Key() bool

Key function returns key value.

func (WildcardValidationError) Reason

func (e WildcardValidationError) Reason() string

Reason function returns reason value.

type WriteAssertionsRequest

type WriteAssertionsRequest struct {
	StoreId              string       `protobuf:"bytes,1,opt,name=store_id,proto3" json:"store_id,omitempty"`
	AuthorizationModelId string       `protobuf:"bytes,2,opt,name=authorization_model_id,proto3" json:"authorization_model_id,omitempty"`
	Assertions           []*Assertion `protobuf:"bytes,3,rep,name=assertions,proto3" json:"assertions,omitempty"`
	// contains filtered or unexported fields
}

func (*WriteAssertionsRequest) Descriptor deprecated

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

Deprecated: Use WriteAssertionsRequest.ProtoReflect.Descriptor instead.

func (*WriteAssertionsRequest) GetAssertions

func (x *WriteAssertionsRequest) GetAssertions() []*Assertion

func (*WriteAssertionsRequest) GetAuthorizationModelId

func (x *WriteAssertionsRequest) GetAuthorizationModelId() string

func (*WriteAssertionsRequest) GetStoreId

func (x *WriteAssertionsRequest) GetStoreId() string

func (*WriteAssertionsRequest) ProtoMessage

func (*WriteAssertionsRequest) ProtoMessage()

func (*WriteAssertionsRequest) ProtoReflect

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

func (*WriteAssertionsRequest) Reset

func (x *WriteAssertionsRequest) Reset()

func (*WriteAssertionsRequest) String

func (x *WriteAssertionsRequest) String() string

func (*WriteAssertionsRequest) Validate

func (m *WriteAssertionsRequest) Validate() error

Validate checks the field values on WriteAssertionsRequest 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 (*WriteAssertionsRequest) ValidateAll

func (m *WriteAssertionsRequest) ValidateAll() error

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

type WriteAssertionsRequestMultiError

type WriteAssertionsRequestMultiError []error

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

func (WriteAssertionsRequestMultiError) AllErrors

func (m WriteAssertionsRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (WriteAssertionsRequestMultiError) Error

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

type WriteAssertionsRequestValidationError

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

WriteAssertionsRequestValidationError is the validation error returned by WriteAssertionsRequest.Validate if the designated constraints aren't met.

func (WriteAssertionsRequestValidationError) Cause

Cause function returns cause value.

func (WriteAssertionsRequestValidationError) Error

Error satisfies the builtin error interface

func (WriteAssertionsRequestValidationError) ErrorName

ErrorName returns error name.

func (WriteAssertionsRequestValidationError) Field

Field function returns field value.

func (WriteAssertionsRequestValidationError) Key

Key function returns key value.

func (WriteAssertionsRequestValidationError) Reason

Reason function returns reason value.

type WriteAssertionsResponse

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

func (*WriteAssertionsResponse) Descriptor deprecated

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

Deprecated: Use WriteAssertionsResponse.ProtoReflect.Descriptor instead.

func (*WriteAssertionsResponse) ProtoMessage

func (*WriteAssertionsResponse) ProtoMessage()

func (*WriteAssertionsResponse) ProtoReflect

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

func (*WriteAssertionsResponse) Reset

func (x *WriteAssertionsResponse) Reset()

func (*WriteAssertionsResponse) String

func (x *WriteAssertionsResponse) String() string

func (*WriteAssertionsResponse) Validate

func (m *WriteAssertionsResponse) Validate() error

Validate checks the field values on WriteAssertionsResponse 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 (*WriteAssertionsResponse) ValidateAll

func (m *WriteAssertionsResponse) ValidateAll() error

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

type WriteAssertionsResponseMultiError

type WriteAssertionsResponseMultiError []error

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

func (WriteAssertionsResponseMultiError) AllErrors

func (m WriteAssertionsResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (WriteAssertionsResponseMultiError) Error

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

type WriteAssertionsResponseValidationError

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

WriteAssertionsResponseValidationError is the validation error returned by WriteAssertionsResponse.Validate if the designated constraints aren't met.

func (WriteAssertionsResponseValidationError) Cause

Cause function returns cause value.

func (WriteAssertionsResponseValidationError) Error

Error satisfies the builtin error interface

func (WriteAssertionsResponseValidationError) ErrorName

ErrorName returns error name.

func (WriteAssertionsResponseValidationError) Field

Field function returns field value.

func (WriteAssertionsResponseValidationError) Key

Key function returns key value.

func (WriteAssertionsResponseValidationError) Reason

Reason function returns reason value.

type WriteAuthorizationModelRequest

type WriteAuthorizationModelRequest struct {
	StoreId         string                `protobuf:"bytes,1,opt,name=store_id,proto3" json:"store_id,omitempty"`
	TypeDefinitions []*TypeDefinition     `protobuf:"bytes,2,rep,name=type_definitions,proto3" json:"type_definitions,omitempty"`
	SchemaVersion   string                `protobuf:"bytes,3,opt,name=schema_version,proto3" json:"schema_version,omitempty"`
	Conditions      map[string]*Condition `` /* 161-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*WriteAuthorizationModelRequest) Descriptor deprecated

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

Deprecated: Use WriteAuthorizationModelRequest.ProtoReflect.Descriptor instead.

func (*WriteAuthorizationModelRequest) GetConditions

func (x *WriteAuthorizationModelRequest) GetConditions() map[string]*Condition

func (*WriteAuthorizationModelRequest) GetSchemaVersion

func (x *WriteAuthorizationModelRequest) GetSchemaVersion() string

func (*WriteAuthorizationModelRequest) GetStoreId

func (x *WriteAuthorizationModelRequest) GetStoreId() string

func (*WriteAuthorizationModelRequest) GetTypeDefinitions

func (x *WriteAuthorizationModelRequest) GetTypeDefinitions() []*TypeDefinition

func (*WriteAuthorizationModelRequest) ProtoMessage

func (*WriteAuthorizationModelRequest) ProtoMessage()

func (*WriteAuthorizationModelRequest) ProtoReflect

func (*WriteAuthorizationModelRequest) Reset

func (x *WriteAuthorizationModelRequest) Reset()

func (*WriteAuthorizationModelRequest) String

func (*WriteAuthorizationModelRequest) Validate

func (m *WriteAuthorizationModelRequest) Validate() error

Validate checks the field values on WriteAuthorizationModelRequest 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 (*WriteAuthorizationModelRequest) ValidateAll

func (m *WriteAuthorizationModelRequest) ValidateAll() error

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

type WriteAuthorizationModelRequestMultiError

type WriteAuthorizationModelRequestMultiError []error

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

func (WriteAuthorizationModelRequestMultiError) AllErrors

AllErrors returns a list of validation violation errors.

func (WriteAuthorizationModelRequestMultiError) Error

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

type WriteAuthorizationModelRequestValidationError

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

WriteAuthorizationModelRequestValidationError is the validation error returned by WriteAuthorizationModelRequest.Validate if the designated constraints aren't met.

func (WriteAuthorizationModelRequestValidationError) Cause

Cause function returns cause value.

func (WriteAuthorizationModelRequestValidationError) Error

Error satisfies the builtin error interface

func (WriteAuthorizationModelRequestValidationError) ErrorName

ErrorName returns error name.

func (WriteAuthorizationModelRequestValidationError) Field

Field function returns field value.

func (WriteAuthorizationModelRequestValidationError) Key

Key function returns key value.

func (WriteAuthorizationModelRequestValidationError) Reason

Reason function returns reason value.

type WriteAuthorizationModelResponse

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

func (*WriteAuthorizationModelResponse) Descriptor deprecated

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

Deprecated: Use WriteAuthorizationModelResponse.ProtoReflect.Descriptor instead.

func (*WriteAuthorizationModelResponse) GetAuthorizationModelId

func (x *WriteAuthorizationModelResponse) GetAuthorizationModelId() string

func (*WriteAuthorizationModelResponse) ProtoMessage

func (*WriteAuthorizationModelResponse) ProtoMessage()

func (*WriteAuthorizationModelResponse) ProtoReflect

func (*WriteAuthorizationModelResponse) Reset

func (*WriteAuthorizationModelResponse) String

func (*WriteAuthorizationModelResponse) Validate

func (m *WriteAuthorizationModelResponse) Validate() error

Validate checks the field values on WriteAuthorizationModelResponse 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 (*WriteAuthorizationModelResponse) ValidateAll

func (m *WriteAuthorizationModelResponse) ValidateAll() error

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

type WriteAuthorizationModelResponseMultiError

type WriteAuthorizationModelResponseMultiError []error

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

func (WriteAuthorizationModelResponseMultiError) AllErrors

AllErrors returns a list of validation violation errors.

func (WriteAuthorizationModelResponseMultiError) Error

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

type WriteAuthorizationModelResponseValidationError

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

WriteAuthorizationModelResponseValidationError is the validation error returned by WriteAuthorizationModelResponse.Validate if the designated constraints aren't met.

func (WriteAuthorizationModelResponseValidationError) Cause

Cause function returns cause value.

func (WriteAuthorizationModelResponseValidationError) Error

Error satisfies the builtin error interface

func (WriteAuthorizationModelResponseValidationError) ErrorName

ErrorName returns error name.

func (WriteAuthorizationModelResponseValidationError) Field

Field function returns field value.

func (WriteAuthorizationModelResponseValidationError) Key

Key function returns key value.

func (WriteAuthorizationModelResponseValidationError) Reason

Reason function returns reason value.

type WriteRequest

type WriteRequest struct {
	StoreId              string               `protobuf:"bytes,1,opt,name=store_id,proto3" json:"store_id,omitempty"`
	Writes               *WriteRequestWrites  `protobuf:"bytes,2,opt,name=writes,proto3" json:"writes,omitempty"`
	Deletes              *WriteRequestDeletes `protobuf:"bytes,3,opt,name=deletes,proto3" json:"deletes,omitempty"`
	AuthorizationModelId string               `protobuf:"bytes,4,opt,name=authorization_model_id,proto3" json:"authorization_model_id,omitempty"`
	// contains filtered or unexported fields
}

func (*WriteRequest) Descriptor deprecated

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

Deprecated: Use WriteRequest.ProtoReflect.Descriptor instead.

func (*WriteRequest) GetAuthorizationModelId

func (x *WriteRequest) GetAuthorizationModelId() string

func (*WriteRequest) GetDeletes

func (x *WriteRequest) GetDeletes() *WriteRequestDeletes

func (*WriteRequest) GetStoreId

func (x *WriteRequest) GetStoreId() string

func (*WriteRequest) GetWrites

func (x *WriteRequest) GetWrites() *WriteRequestWrites

func (*WriteRequest) ProtoMessage

func (*WriteRequest) ProtoMessage()

func (*WriteRequest) ProtoReflect

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

func (*WriteRequest) Reset

func (x *WriteRequest) Reset()

func (*WriteRequest) String

func (x *WriteRequest) String() string

func (*WriteRequest) Validate

func (m *WriteRequest) Validate() error

Validate checks the field values on WriteRequest 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 (*WriteRequest) ValidateAll

func (m *WriteRequest) ValidateAll() error

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

type WriteRequestDeletes

type WriteRequestDeletes struct {
	TupleKeys []*TupleKeyWithoutCondition `protobuf:"bytes,1,rep,name=tuple_keys,proto3" json:"tuple_keys,omitempty"`
	// contains filtered or unexported fields
}

func (*WriteRequestDeletes) Descriptor deprecated

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

Deprecated: Use WriteRequestDeletes.ProtoReflect.Descriptor instead.

func (*WriteRequestDeletes) GetTupleKeys

func (x *WriteRequestDeletes) GetTupleKeys() []*TupleKeyWithoutCondition

func (*WriteRequestDeletes) ProtoMessage

func (*WriteRequestDeletes) ProtoMessage()

func (*WriteRequestDeletes) ProtoReflect

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

func (*WriteRequestDeletes) Reset

func (x *WriteRequestDeletes) Reset()

func (*WriteRequestDeletes) String

func (x *WriteRequestDeletes) String() string

func (*WriteRequestDeletes) Validate

func (m *WriteRequestDeletes) Validate() error

Validate checks the field values on WriteRequestDeletes 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 (*WriteRequestDeletes) ValidateAll

func (m *WriteRequestDeletes) ValidateAll() error

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

type WriteRequestDeletesMultiError

type WriteRequestDeletesMultiError []error

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

func (WriteRequestDeletesMultiError) AllErrors

func (m WriteRequestDeletesMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (WriteRequestDeletesMultiError) Error

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

type WriteRequestDeletesValidationError

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

WriteRequestDeletesValidationError is the validation error returned by WriteRequestDeletes.Validate if the designated constraints aren't met.

func (WriteRequestDeletesValidationError) Cause

Cause function returns cause value.

func (WriteRequestDeletesValidationError) Error

Error satisfies the builtin error interface

func (WriteRequestDeletesValidationError) ErrorName

ErrorName returns error name.

func (WriteRequestDeletesValidationError) Field

Field function returns field value.

func (WriteRequestDeletesValidationError) Key

Key function returns key value.

func (WriteRequestDeletesValidationError) Reason

Reason function returns reason value.

type WriteRequestMultiError

type WriteRequestMultiError []error

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

func (WriteRequestMultiError) AllErrors

func (m WriteRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (WriteRequestMultiError) Error

func (m WriteRequestMultiError) Error() string

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

type WriteRequestValidationError

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

WriteRequestValidationError is the validation error returned by WriteRequest.Validate if the designated constraints aren't met.

func (WriteRequestValidationError) Cause

Cause function returns cause value.

func (WriteRequestValidationError) Error

Error satisfies the builtin error interface

func (WriteRequestValidationError) ErrorName

func (e WriteRequestValidationError) ErrorName() string

ErrorName returns error name.

func (WriteRequestValidationError) Field

Field function returns field value.

func (WriteRequestValidationError) Key

Key function returns key value.

func (WriteRequestValidationError) Reason

Reason function returns reason value.

type WriteRequestWrites

type WriteRequestWrites struct {
	TupleKeys []*TupleKey `protobuf:"bytes,1,rep,name=tuple_keys,proto3" json:"tuple_keys,omitempty"`
	// contains filtered or unexported fields
}

func (*WriteRequestWrites) Descriptor deprecated

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

Deprecated: Use WriteRequestWrites.ProtoReflect.Descriptor instead.

func (*WriteRequestWrites) GetTupleKeys

func (x *WriteRequestWrites) GetTupleKeys() []*TupleKey

func (*WriteRequestWrites) ProtoMessage

func (*WriteRequestWrites) ProtoMessage()

func (*WriteRequestWrites) ProtoReflect

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

func (*WriteRequestWrites) Reset

func (x *WriteRequestWrites) Reset()

func (*WriteRequestWrites) String

func (x *WriteRequestWrites) String() string

func (*WriteRequestWrites) Validate

func (m *WriteRequestWrites) Validate() error

Validate checks the field values on WriteRequestWrites 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 (*WriteRequestWrites) ValidateAll

func (m *WriteRequestWrites) ValidateAll() error

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

type WriteRequestWritesMultiError

type WriteRequestWritesMultiError []error

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

func (WriteRequestWritesMultiError) AllErrors

func (m WriteRequestWritesMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (WriteRequestWritesMultiError) Error

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

type WriteRequestWritesValidationError

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

WriteRequestWritesValidationError is the validation error returned by WriteRequestWrites.Validate if the designated constraints aren't met.

func (WriteRequestWritesValidationError) Cause

Cause function returns cause value.

func (WriteRequestWritesValidationError) Error

Error satisfies the builtin error interface

func (WriteRequestWritesValidationError) ErrorName

ErrorName returns error name.

func (WriteRequestWritesValidationError) Field

Field function returns field value.

func (WriteRequestWritesValidationError) Key

Key function returns key value.

func (WriteRequestWritesValidationError) Reason

Reason function returns reason value.

type WriteResponse

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

func (*WriteResponse) Descriptor deprecated

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

Deprecated: Use WriteResponse.ProtoReflect.Descriptor instead.

func (*WriteResponse) ProtoMessage

func (*WriteResponse) ProtoMessage()

func (*WriteResponse) ProtoReflect

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

func (*WriteResponse) Reset

func (x *WriteResponse) Reset()

func (*WriteResponse) String

func (x *WriteResponse) String() string

func (*WriteResponse) Validate

func (m *WriteResponse) Validate() error

Validate checks the field values on WriteResponse 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 (*WriteResponse) ValidateAll

func (m *WriteResponse) ValidateAll() error

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

type WriteResponseMultiError

type WriteResponseMultiError []error

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

func (WriteResponseMultiError) AllErrors

func (m WriteResponseMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (WriteResponseMultiError) Error

func (m WriteResponseMultiError) Error() string

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

type WriteResponseValidationError

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

WriteResponseValidationError is the validation error returned by WriteResponse.Validate if the designated constraints aren't met.

func (WriteResponseValidationError) Cause

Cause function returns cause value.

func (WriteResponseValidationError) Error

Error satisfies the builtin error interface

func (WriteResponseValidationError) ErrorName

func (e WriteResponseValidationError) ErrorName() string

ErrorName returns error name.

func (WriteResponseValidationError) Field

Field function returns field value.

func (WriteResponseValidationError) Key

Key function returns key value.

func (WriteResponseValidationError) Reason

Reason function returns reason value.

Jump to

Keyboard shortcuts

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