Documentation
¶
Overview ¶
Package openfgav1 is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Index ¶
- Constants
- Variables
- func RegisterOpenFGAServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
- func RegisterOpenFGAServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client OpenFGAServiceClient) error
- func RegisterOpenFGAServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterOpenFGAServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server OpenFGAServiceServer) error
- func RegisterOpenFGAServiceServer(s grpc.ServiceRegistrar, srv OpenFGAServiceServer)
- type AbortedMessageResponse
- func (*AbortedMessageResponse) Descriptor() ([]byte, []int)deprecated
- func (x *AbortedMessageResponse) GetCode() string
- func (x *AbortedMessageResponse) GetMessage() string
- func (*AbortedMessageResponse) ProtoMessage()
- func (x *AbortedMessageResponse) ProtoReflect() protoreflect.Message
- func (x *AbortedMessageResponse) Reset()
- func (x *AbortedMessageResponse) String() string
- func (m *AbortedMessageResponse) Validate() error
- func (m *AbortedMessageResponse) ValidateAll() error
- type AbortedMessageResponseMultiError
- type AbortedMessageResponseValidationError
- func (e AbortedMessageResponseValidationError) Cause() error
- func (e AbortedMessageResponseValidationError) Error() string
- func (e AbortedMessageResponseValidationError) ErrorName() string
- func (e AbortedMessageResponseValidationError) Field() string
- func (e AbortedMessageResponseValidationError) Key() bool
- func (e AbortedMessageResponseValidationError) Reason() string
- type Assertion
- func (*Assertion) Descriptor() ([]byte, []int)deprecated
- func (x *Assertion) GetExpectation() bool
- func (x *Assertion) GetTupleKey() *AssertionTupleKey
- func (*Assertion) ProtoMessage()
- func (x *Assertion) ProtoReflect() protoreflect.Message
- func (x *Assertion) Reset()
- func (x *Assertion) String() string
- func (m *Assertion) Validate() error
- func (m *Assertion) ValidateAll() error
- type AssertionMultiError
- type AssertionTupleKey
- func (*AssertionTupleKey) Descriptor() ([]byte, []int)deprecated
- func (x *AssertionTupleKey) GetObject() string
- func (x *AssertionTupleKey) GetRelation() string
- func (x *AssertionTupleKey) GetUser() string
- func (*AssertionTupleKey) ProtoMessage()
- func (x *AssertionTupleKey) ProtoReflect() protoreflect.Message
- func (x *AssertionTupleKey) Reset()
- func (x *AssertionTupleKey) String() string
- func (m *AssertionTupleKey) Validate() error
- func (m *AssertionTupleKey) ValidateAll() error
- type AssertionTupleKeyMultiError
- type AssertionTupleKeyValidationError
- func (e AssertionTupleKeyValidationError) Cause() error
- func (e AssertionTupleKeyValidationError) Error() string
- func (e AssertionTupleKeyValidationError) ErrorName() string
- func (e AssertionTupleKeyValidationError) Field() string
- func (e AssertionTupleKeyValidationError) Key() bool
- func (e AssertionTupleKeyValidationError) Reason() string
- type AssertionValidationError
- type Assertions
- func (*Assertions) Descriptor() ([]byte, []int)deprecated
- func (x *Assertions) GetAssertions() []*Assertion
- func (*Assertions) ProtoMessage()
- func (x *Assertions) ProtoReflect() protoreflect.Message
- func (x *Assertions) Reset()
- func (x *Assertions) String() string
- func (m *Assertions) Validate() error
- func (m *Assertions) ValidateAll() error
- type AssertionsMultiError
- type AssertionsValidationError
- type AuthErrorCode
- func (AuthErrorCode) Descriptor() protoreflect.EnumDescriptor
- func (x AuthErrorCode) Enum() *AuthErrorCode
- func (AuthErrorCode) EnumDescriptor() ([]byte, []int)deprecated
- func (x AuthErrorCode) Number() protoreflect.EnumNumber
- func (x AuthErrorCode) String() string
- func (AuthErrorCode) Type() protoreflect.EnumType
- type AuthorizationModel
- func (*AuthorizationModel) Descriptor() ([]byte, []int)deprecated
- func (x *AuthorizationModel) GetConditions() map[string]*Condition
- func (x *AuthorizationModel) GetId() string
- func (x *AuthorizationModel) GetSchemaVersion() string
- func (x *AuthorizationModel) GetTypeDefinitions() []*TypeDefinition
- func (*AuthorizationModel) ProtoMessage()
- func (x *AuthorizationModel) ProtoReflect() protoreflect.Message
- func (x *AuthorizationModel) Reset()
- func (x *AuthorizationModel) String() string
- func (m *AuthorizationModel) Validate() error
- func (m *AuthorizationModel) ValidateAll() error
- type AuthorizationModelMultiError
- type AuthorizationModelValidationError
- func (e AuthorizationModelValidationError) Cause() error
- func (e AuthorizationModelValidationError) Error() string
- func (e AuthorizationModelValidationError) ErrorName() string
- func (e AuthorizationModelValidationError) Field() string
- func (e AuthorizationModelValidationError) Key() bool
- func (e AuthorizationModelValidationError) Reason() string
- type CheckRequest
- func (*CheckRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CheckRequest) GetAuthorizationModelId() string
- func (x *CheckRequest) GetContext() *structpb.Struct
- func (x *CheckRequest) GetContextualTuples() *ContextualTupleKeys
- func (x *CheckRequest) GetStoreId() string
- func (x *CheckRequest) GetTrace() bool
- func (x *CheckRequest) GetTupleKey() *CheckRequestTupleKey
- func (*CheckRequest) ProtoMessage()
- func (x *CheckRequest) ProtoReflect() protoreflect.Message
- func (x *CheckRequest) Reset()
- func (x *CheckRequest) String() string
- func (m *CheckRequest) Validate() error
- func (m *CheckRequest) ValidateAll() error
- type CheckRequestMultiError
- type CheckRequestTupleKey
- func (*CheckRequestTupleKey) Descriptor() ([]byte, []int)deprecated
- func (x *CheckRequestTupleKey) GetObject() string
- func (x *CheckRequestTupleKey) GetRelation() string
- func (x *CheckRequestTupleKey) GetUser() string
- func (*CheckRequestTupleKey) ProtoMessage()
- func (x *CheckRequestTupleKey) ProtoReflect() protoreflect.Message
- func (x *CheckRequestTupleKey) Reset()
- func (x *CheckRequestTupleKey) String() string
- func (m *CheckRequestTupleKey) Validate() error
- func (m *CheckRequestTupleKey) ValidateAll() error
- type CheckRequestTupleKeyMultiError
- type CheckRequestTupleKeyValidationError
- func (e CheckRequestTupleKeyValidationError) Cause() error
- func (e CheckRequestTupleKeyValidationError) Error() string
- func (e CheckRequestTupleKeyValidationError) ErrorName() string
- func (e CheckRequestTupleKeyValidationError) Field() string
- func (e CheckRequestTupleKeyValidationError) Key() bool
- func (e CheckRequestTupleKeyValidationError) Reason() string
- type CheckRequestValidationError
- func (e CheckRequestValidationError) Cause() error
- func (e CheckRequestValidationError) Error() string
- func (e CheckRequestValidationError) ErrorName() string
- func (e CheckRequestValidationError) Field() string
- func (e CheckRequestValidationError) Key() bool
- func (e CheckRequestValidationError) Reason() string
- type CheckResponse
- func (*CheckResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CheckResponse) GetAllowed() bool
- func (x *CheckResponse) GetResolution() string
- func (*CheckResponse) ProtoMessage()
- func (x *CheckResponse) ProtoReflect() protoreflect.Message
- func (x *CheckResponse) Reset()
- func (x *CheckResponse) String() string
- func (m *CheckResponse) Validate() error
- func (m *CheckResponse) ValidateAll() error
- type CheckResponseMultiError
- type CheckResponseValidationError
- func (e CheckResponseValidationError) Cause() error
- func (e CheckResponseValidationError) Error() string
- func (e CheckResponseValidationError) ErrorName() string
- func (e CheckResponseValidationError) Field() string
- func (e CheckResponseValidationError) Key() bool
- func (e CheckResponseValidationError) Reason() string
- type ComputedUserset
- func (*ComputedUserset) Descriptor() ([]byte, []int)deprecated
- func (x *ComputedUserset) GetRelation() string
- func (*ComputedUserset) ProtoMessage()
- func (x *ComputedUserset) ProtoReflect() protoreflect.Message
- func (x *ComputedUserset) Reset()
- func (x *ComputedUserset) String() string
- func (m *ComputedUserset) Validate() error
- func (m *ComputedUserset) ValidateAll() error
- type ComputedUsersetMultiError
- type ComputedUsersetValidationError
- func (e ComputedUsersetValidationError) Cause() error
- func (e ComputedUsersetValidationError) Error() string
- func (e ComputedUsersetValidationError) ErrorName() string
- func (e ComputedUsersetValidationError) Field() string
- func (e ComputedUsersetValidationError) Key() bool
- func (e ComputedUsersetValidationError) Reason() string
- type Condition
- func (*Condition) Descriptor() ([]byte, []int)deprecated
- func (x *Condition) GetExpression() string
- func (x *Condition) GetName() string
- func (x *Condition) GetParameters() map[string]*ConditionParamTypeRef
- func (*Condition) ProtoMessage()
- func (x *Condition) ProtoReflect() protoreflect.Message
- func (x *Condition) Reset()
- func (x *Condition) String() string
- func (m *Condition) Validate() error
- func (m *Condition) ValidateAll() error
- type ConditionMultiError
- type ConditionParamTypeRef
- func (*ConditionParamTypeRef) Descriptor() ([]byte, []int)deprecated
- func (x *ConditionParamTypeRef) GetGenericTypes() []*ConditionParamTypeRef
- func (x *ConditionParamTypeRef) GetTypeName() ConditionParamTypeRef_TypeName
- func (*ConditionParamTypeRef) ProtoMessage()
- func (x *ConditionParamTypeRef) ProtoReflect() protoreflect.Message
- func (x *ConditionParamTypeRef) Reset()
- func (x *ConditionParamTypeRef) String() string
- func (m *ConditionParamTypeRef) Validate() error
- func (m *ConditionParamTypeRef) ValidateAll() error
- type ConditionParamTypeRefMultiError
- type ConditionParamTypeRefValidationError
- func (e ConditionParamTypeRefValidationError) Cause() error
- func (e ConditionParamTypeRefValidationError) Error() string
- func (e ConditionParamTypeRefValidationError) ErrorName() string
- func (e ConditionParamTypeRefValidationError) Field() string
- func (e ConditionParamTypeRefValidationError) Key() bool
- func (e ConditionParamTypeRefValidationError) Reason() string
- type ConditionParamTypeRef_TypeName
- func (ConditionParamTypeRef_TypeName) Descriptor() protoreflect.EnumDescriptor
- func (x ConditionParamTypeRef_TypeName) Enum() *ConditionParamTypeRef_TypeName
- func (ConditionParamTypeRef_TypeName) EnumDescriptor() ([]byte, []int)deprecated
- func (x ConditionParamTypeRef_TypeName) Number() protoreflect.EnumNumber
- func (x ConditionParamTypeRef_TypeName) String() string
- func (ConditionParamTypeRef_TypeName) Type() protoreflect.EnumType
- type ConditionValidationError
- type ContextualTupleKeys
- func (*ContextualTupleKeys) Descriptor() ([]byte, []int)deprecated
- func (x *ContextualTupleKeys) GetTupleKeys() []*TupleKey
- func (*ContextualTupleKeys) ProtoMessage()
- func (x *ContextualTupleKeys) ProtoReflect() protoreflect.Message
- func (x *ContextualTupleKeys) Reset()
- func (x *ContextualTupleKeys) String() string
- func (m *ContextualTupleKeys) Validate() error
- func (m *ContextualTupleKeys) ValidateAll() error
- type ContextualTupleKeysMultiError
- type ContextualTupleKeysValidationError
- func (e ContextualTupleKeysValidationError) Cause() error
- func (e ContextualTupleKeysValidationError) Error() string
- func (e ContextualTupleKeysValidationError) ErrorName() string
- func (e ContextualTupleKeysValidationError) Field() string
- func (e ContextualTupleKeysValidationError) Key() bool
- func (e ContextualTupleKeysValidationError) Reason() string
- type CreateStoreRequest
- func (*CreateStoreRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateStoreRequest) GetName() string
- func (*CreateStoreRequest) ProtoMessage()
- func (x *CreateStoreRequest) ProtoReflect() protoreflect.Message
- func (x *CreateStoreRequest) Reset()
- func (x *CreateStoreRequest) String() string
- func (m *CreateStoreRequest) Validate() error
- func (m *CreateStoreRequest) ValidateAll() error
- type CreateStoreRequestMultiError
- type CreateStoreRequestValidationError
- func (e CreateStoreRequestValidationError) Cause() error
- func (e CreateStoreRequestValidationError) Error() string
- func (e CreateStoreRequestValidationError) ErrorName() string
- func (e CreateStoreRequestValidationError) Field() string
- func (e CreateStoreRequestValidationError) Key() bool
- func (e CreateStoreRequestValidationError) Reason() string
- type CreateStoreResponse
- func (*CreateStoreResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CreateStoreResponse) GetCreatedAt() *timestamppb.Timestamp
- func (x *CreateStoreResponse) GetId() string
- func (x *CreateStoreResponse) GetName() string
- func (x *CreateStoreResponse) GetUpdatedAt() *timestamppb.Timestamp
- func (*CreateStoreResponse) ProtoMessage()
- func (x *CreateStoreResponse) ProtoReflect() protoreflect.Message
- func (x *CreateStoreResponse) Reset()
- func (x *CreateStoreResponse) String() string
- func (m *CreateStoreResponse) Validate() error
- func (m *CreateStoreResponse) ValidateAll() error
- type CreateStoreResponseMultiError
- type CreateStoreResponseValidationError
- func (e CreateStoreResponseValidationError) Cause() error
- func (e CreateStoreResponseValidationError) Error() string
- func (e CreateStoreResponseValidationError) ErrorName() string
- func (e CreateStoreResponseValidationError) Field() string
- func (e CreateStoreResponseValidationError) Key() bool
- func (e CreateStoreResponseValidationError) Reason() string
- type DeleteStoreRequest
- func (*DeleteStoreRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteStoreRequest) GetStoreId() string
- func (*DeleteStoreRequest) ProtoMessage()
- func (x *DeleteStoreRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteStoreRequest) Reset()
- func (x *DeleteStoreRequest) String() string
- func (m *DeleteStoreRequest) Validate() error
- func (m *DeleteStoreRequest) ValidateAll() error
- type DeleteStoreRequestMultiError
- type DeleteStoreRequestValidationError
- func (e DeleteStoreRequestValidationError) Cause() error
- func (e DeleteStoreRequestValidationError) Error() string
- func (e DeleteStoreRequestValidationError) ErrorName() string
- func (e DeleteStoreRequestValidationError) Field() string
- func (e DeleteStoreRequestValidationError) Key() bool
- func (e DeleteStoreRequestValidationError) Reason() string
- type DeleteStoreResponse
- func (*DeleteStoreResponse) Descriptor() ([]byte, []int)deprecated
- func (*DeleteStoreResponse) ProtoMessage()
- func (x *DeleteStoreResponse) ProtoReflect() protoreflect.Message
- func (x *DeleteStoreResponse) Reset()
- func (x *DeleteStoreResponse) String() string
- func (m *DeleteStoreResponse) Validate() error
- func (m *DeleteStoreResponse) ValidateAll() error
- type DeleteStoreResponseMultiError
- type DeleteStoreResponseValidationError
- func (e DeleteStoreResponseValidationError) Cause() error
- func (e DeleteStoreResponseValidationError) Error() string
- func (e DeleteStoreResponseValidationError) ErrorName() string
- func (e DeleteStoreResponseValidationError) Field() string
- func (e DeleteStoreResponseValidationError) Key() bool
- func (e DeleteStoreResponseValidationError) Reason() string
- type Difference
- func (*Difference) Descriptor() ([]byte, []int)deprecated
- func (x *Difference) GetBase() *Userset
- func (x *Difference) GetSubtract() *Userset
- func (*Difference) ProtoMessage()
- func (x *Difference) ProtoReflect() protoreflect.Message
- func (x *Difference) Reset()
- func (x *Difference) String() string
- func (m *Difference) Validate() error
- func (m *Difference) ValidateAll() error
- type DifferenceMultiError
- type DifferenceValidationError
- type DirectUserset
- func (*DirectUserset) Descriptor() ([]byte, []int)deprecated
- func (*DirectUserset) ProtoMessage()
- func (x *DirectUserset) ProtoReflect() protoreflect.Message
- func (x *DirectUserset) Reset()
- func (x *DirectUserset) String() string
- func (m *DirectUserset) Validate() error
- func (m *DirectUserset) ValidateAll() error
- type DirectUsersetMultiError
- type DirectUsersetValidationError
- func (e DirectUsersetValidationError) Cause() error
- func (e DirectUsersetValidationError) Error() string
- func (e DirectUsersetValidationError) ErrorName() string
- func (e DirectUsersetValidationError) Field() string
- func (e DirectUsersetValidationError) Key() bool
- func (e DirectUsersetValidationError) Reason() string
- type ErrorCode
- type ErrorMessageRequest
- func (*ErrorMessageRequest) Descriptor() ([]byte, []int)deprecated
- func (*ErrorMessageRequest) ProtoMessage()
- func (x *ErrorMessageRequest) ProtoReflect() protoreflect.Message
- func (x *ErrorMessageRequest) Reset()
- func (x *ErrorMessageRequest) String() string
- func (m *ErrorMessageRequest) Validate() error
- func (m *ErrorMessageRequest) ValidateAll() error
- type ErrorMessageRequestMultiError
- type ErrorMessageRequestValidationError
- func (e ErrorMessageRequestValidationError) Cause() error
- func (e ErrorMessageRequestValidationError) Error() string
- func (e ErrorMessageRequestValidationError) ErrorName() string
- func (e ErrorMessageRequestValidationError) Field() string
- func (e ErrorMessageRequestValidationError) Key() bool
- func (e ErrorMessageRequestValidationError) Reason() string
- type ExpandRequest
- func (*ExpandRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ExpandRequest) GetAuthorizationModelId() string
- func (x *ExpandRequest) GetStoreId() string
- func (x *ExpandRequest) GetTupleKey() *ExpandRequestTupleKey
- func (*ExpandRequest) ProtoMessage()
- func (x *ExpandRequest) ProtoReflect() protoreflect.Message
- func (x *ExpandRequest) Reset()
- func (x *ExpandRequest) String() string
- func (m *ExpandRequest) Validate() error
- func (m *ExpandRequest) ValidateAll() error
- type ExpandRequestMultiError
- type ExpandRequestTupleKey
- func (*ExpandRequestTupleKey) Descriptor() ([]byte, []int)deprecated
- func (x *ExpandRequestTupleKey) GetObject() string
- func (x *ExpandRequestTupleKey) GetRelation() string
- func (*ExpandRequestTupleKey) ProtoMessage()
- func (x *ExpandRequestTupleKey) ProtoReflect() protoreflect.Message
- func (x *ExpandRequestTupleKey) Reset()
- func (x *ExpandRequestTupleKey) String() string
- func (m *ExpandRequestTupleKey) Validate() error
- func (m *ExpandRequestTupleKey) ValidateAll() error
- type ExpandRequestTupleKeyMultiError
- type ExpandRequestTupleKeyValidationError
- func (e ExpandRequestTupleKeyValidationError) Cause() error
- func (e ExpandRequestTupleKeyValidationError) Error() string
- func (e ExpandRequestTupleKeyValidationError) ErrorName() string
- func (e ExpandRequestTupleKeyValidationError) Field() string
- func (e ExpandRequestTupleKeyValidationError) Key() bool
- func (e ExpandRequestTupleKeyValidationError) Reason() string
- type ExpandRequestValidationError
- func (e ExpandRequestValidationError) Cause() error
- func (e ExpandRequestValidationError) Error() string
- func (e ExpandRequestValidationError) ErrorName() string
- func (e ExpandRequestValidationError) Field() string
- func (e ExpandRequestValidationError) Key() bool
- func (e ExpandRequestValidationError) Reason() string
- type ExpandResponse
- func (*ExpandResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ExpandResponse) GetTree() *UsersetTree
- func (*ExpandResponse) ProtoMessage()
- func (x *ExpandResponse) ProtoReflect() protoreflect.Message
- func (x *ExpandResponse) Reset()
- func (x *ExpandResponse) String() string
- func (m *ExpandResponse) Validate() error
- func (m *ExpandResponse) ValidateAll() error
- type ExpandResponseMultiError
- type ExpandResponseValidationError
- func (e ExpandResponseValidationError) Cause() error
- func (e ExpandResponseValidationError) Error() string
- func (e ExpandResponseValidationError) ErrorName() string
- func (e ExpandResponseValidationError) Field() string
- func (e ExpandResponseValidationError) Key() bool
- func (e ExpandResponseValidationError) Reason() string
- type GetStoreRequest
- func (*GetStoreRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetStoreRequest) GetStoreId() string
- func (*GetStoreRequest) ProtoMessage()
- func (x *GetStoreRequest) ProtoReflect() protoreflect.Message
- func (x *GetStoreRequest) Reset()
- func (x *GetStoreRequest) String() string
- func (m *GetStoreRequest) Validate() error
- func (m *GetStoreRequest) ValidateAll() error
- type GetStoreRequestMultiError
- type GetStoreRequestValidationError
- func (e GetStoreRequestValidationError) Cause() error
- func (e GetStoreRequestValidationError) Error() string
- func (e GetStoreRequestValidationError) ErrorName() string
- func (e GetStoreRequestValidationError) Field() string
- func (e GetStoreRequestValidationError) Key() bool
- func (e GetStoreRequestValidationError) Reason() string
- type GetStoreResponse
- func (*GetStoreResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetStoreResponse) GetCreatedAt() *timestamppb.Timestamp
- func (x *GetStoreResponse) GetDeletedAt() *timestamppb.Timestamp
- func (x *GetStoreResponse) GetId() string
- func (x *GetStoreResponse) GetName() string
- func (x *GetStoreResponse) GetUpdatedAt() *timestamppb.Timestamp
- func (*GetStoreResponse) ProtoMessage()
- func (x *GetStoreResponse) ProtoReflect() protoreflect.Message
- func (x *GetStoreResponse) Reset()
- func (x *GetStoreResponse) String() string
- func (m *GetStoreResponse) Validate() error
- func (m *GetStoreResponse) ValidateAll() error
- type GetStoreResponseMultiError
- type GetStoreResponseValidationError
- func (e GetStoreResponseValidationError) Cause() error
- func (e GetStoreResponseValidationError) Error() string
- func (e GetStoreResponseValidationError) ErrorName() string
- func (e GetStoreResponseValidationError) Field() string
- func (e GetStoreResponseValidationError) Key() bool
- func (e GetStoreResponseValidationError) Reason() string
- type InternalErrorCode
- func (InternalErrorCode) Descriptor() protoreflect.EnumDescriptor
- func (x InternalErrorCode) Enum() *InternalErrorCode
- func (InternalErrorCode) EnumDescriptor() ([]byte, []int)deprecated
- func (x InternalErrorCode) Number() protoreflect.EnumNumber
- func (x InternalErrorCode) String() string
- func (InternalErrorCode) Type() protoreflect.EnumType
- type InternalErrorMessageResponse
- func (*InternalErrorMessageResponse) Descriptor() ([]byte, []int)deprecated
- func (x *InternalErrorMessageResponse) GetCode() InternalErrorCode
- func (x *InternalErrorMessageResponse) GetMessage() string
- func (*InternalErrorMessageResponse) ProtoMessage()
- func (x *InternalErrorMessageResponse) ProtoReflect() protoreflect.Message
- func (x *InternalErrorMessageResponse) Reset()
- func (x *InternalErrorMessageResponse) String() string
- func (m *InternalErrorMessageResponse) Validate() error
- func (m *InternalErrorMessageResponse) ValidateAll() error
- type InternalErrorMessageResponseMultiError
- type InternalErrorMessageResponseValidationError
- func (e InternalErrorMessageResponseValidationError) Cause() error
- func (e InternalErrorMessageResponseValidationError) Error() string
- func (e InternalErrorMessageResponseValidationError) ErrorName() string
- func (e InternalErrorMessageResponseValidationError) Field() string
- func (e InternalErrorMessageResponseValidationError) Key() bool
- func (e InternalErrorMessageResponseValidationError) Reason() string
- type ListObjectsRequest
- func (*ListObjectsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListObjectsRequest) GetAuthorizationModelId() string
- func (x *ListObjectsRequest) GetContext() *structpb.Struct
- func (x *ListObjectsRequest) GetContextualTuples() *ContextualTupleKeys
- func (x *ListObjectsRequest) GetRelation() string
- func (x *ListObjectsRequest) GetStoreId() string
- func (x *ListObjectsRequest) GetType() string
- func (x *ListObjectsRequest) GetUser() string
- func (*ListObjectsRequest) ProtoMessage()
- func (x *ListObjectsRequest) ProtoReflect() protoreflect.Message
- func (x *ListObjectsRequest) Reset()
- func (x *ListObjectsRequest) String() string
- func (m *ListObjectsRequest) Validate() error
- func (m *ListObjectsRequest) ValidateAll() error
- type ListObjectsRequestMultiError
- type ListObjectsRequestValidationError
- func (e ListObjectsRequestValidationError) Cause() error
- func (e ListObjectsRequestValidationError) Error() string
- func (e ListObjectsRequestValidationError) ErrorName() string
- func (e ListObjectsRequestValidationError) Field() string
- func (e ListObjectsRequestValidationError) Key() bool
- func (e ListObjectsRequestValidationError) Reason() string
- type ListObjectsResponse
- func (*ListObjectsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListObjectsResponse) GetObjects() []string
- func (*ListObjectsResponse) ProtoMessage()
- func (x *ListObjectsResponse) ProtoReflect() protoreflect.Message
- func (x *ListObjectsResponse) Reset()
- func (x *ListObjectsResponse) String() string
- func (m *ListObjectsResponse) Validate() error
- func (m *ListObjectsResponse) ValidateAll() error
- type ListObjectsResponseMultiError
- type ListObjectsResponseValidationError
- func (e ListObjectsResponseValidationError) Cause() error
- func (e ListObjectsResponseValidationError) Error() string
- func (e ListObjectsResponseValidationError) ErrorName() string
- func (e ListObjectsResponseValidationError) Field() string
- func (e ListObjectsResponseValidationError) Key() bool
- func (e ListObjectsResponseValidationError) Reason() string
- type ListStoresRequest
- func (*ListStoresRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListStoresRequest) GetContinuationToken() string
- func (x *ListStoresRequest) GetCurrentEnvironment() string
- func (x *ListStoresRequest) GetCurrentTenant() string
- func (x *ListStoresRequest) GetCurrentUser() string
- func (x *ListStoresRequest) GetPageSize() *wrapperspb.Int32Value
- func (*ListStoresRequest) ProtoMessage()
- func (x *ListStoresRequest) ProtoReflect() protoreflect.Message
- func (x *ListStoresRequest) Reset()
- func (x *ListStoresRequest) String() string
- func (m *ListStoresRequest) Validate() error
- func (m *ListStoresRequest) ValidateAll() error
- type ListStoresRequestMultiError
- type ListStoresRequestValidationError
- func (e ListStoresRequestValidationError) Cause() error
- func (e ListStoresRequestValidationError) Error() string
- func (e ListStoresRequestValidationError) ErrorName() string
- func (e ListStoresRequestValidationError) Field() string
- func (e ListStoresRequestValidationError) Key() bool
- func (e ListStoresRequestValidationError) Reason() string
- type ListStoresResponse
- func (*ListStoresResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListStoresResponse) GetContinuationToken() string
- func (x *ListStoresResponse) GetStores() []*Store
- func (*ListStoresResponse) ProtoMessage()
- func (x *ListStoresResponse) ProtoReflect() protoreflect.Message
- func (x *ListStoresResponse) Reset()
- func (x *ListStoresResponse) String() string
- func (m *ListStoresResponse) Validate() error
- func (m *ListStoresResponse) ValidateAll() error
- type ListStoresResponseMultiError
- type ListStoresResponseValidationError
- func (e ListStoresResponseValidationError) Cause() error
- func (e ListStoresResponseValidationError) Error() string
- func (e ListStoresResponseValidationError) ErrorName() string
- func (e ListStoresResponseValidationError) Field() string
- func (e ListStoresResponseValidationError) Key() bool
- func (e ListStoresResponseValidationError) Reason() string
- type Metadata
- func (*Metadata) Descriptor() ([]byte, []int)deprecated
- func (x *Metadata) GetRelations() map[string]*RelationMetadata
- func (*Metadata) ProtoMessage()
- func (x *Metadata) ProtoReflect() protoreflect.Message
- func (x *Metadata) Reset()
- func (x *Metadata) String() string
- func (m *Metadata) Validate() error
- func (m *Metadata) ValidateAll() error
- type MetadataMultiError
- type MetadataValidationError
- type NotFoundErrorCode
- func (NotFoundErrorCode) Descriptor() protoreflect.EnumDescriptor
- func (x NotFoundErrorCode) Enum() *NotFoundErrorCode
- func (NotFoundErrorCode) EnumDescriptor() ([]byte, []int)deprecated
- func (x NotFoundErrorCode) Number() protoreflect.EnumNumber
- func (x NotFoundErrorCode) String() string
- func (NotFoundErrorCode) Type() protoreflect.EnumType
- type Object
- func (*Object) Descriptor() ([]byte, []int)deprecated
- func (x *Object) GetId() string
- func (x *Object) GetType() string
- func (*Object) ProtoMessage()
- func (x *Object) ProtoReflect() protoreflect.Message
- func (x *Object) Reset()
- func (x *Object) String() string
- func (m *Object) Validate() error
- func (m *Object) ValidateAll() error
- type ObjectMultiError
- type ObjectRelation
- func (*ObjectRelation) Descriptor() ([]byte, []int)deprecated
- func (x *ObjectRelation) GetObject() string
- func (x *ObjectRelation) GetRelation() string
- func (*ObjectRelation) ProtoMessage()
- func (x *ObjectRelation) ProtoReflect() protoreflect.Message
- func (x *ObjectRelation) Reset()
- func (x *ObjectRelation) String() string
- func (m *ObjectRelation) Validate() error
- func (m *ObjectRelation) ValidateAll() error
- type ObjectRelationMultiError
- type ObjectRelationValidationError
- func (e ObjectRelationValidationError) Cause() error
- func (e ObjectRelationValidationError) Error() string
- func (e ObjectRelationValidationError) ErrorName() string
- func (e ObjectRelationValidationError) Field() string
- func (e ObjectRelationValidationError) Key() bool
- func (e ObjectRelationValidationError) Reason() string
- type ObjectValidationError
- type OpenFGAServiceClient
- type OpenFGAServiceServer
- type OpenFGAService_StreamedListObjectsClient
- type OpenFGAService_StreamedListObjectsServer
- type PathUnknownErrorMessageResponse
- func (*PathUnknownErrorMessageResponse) Descriptor() ([]byte, []int)deprecated
- func (x *PathUnknownErrorMessageResponse) GetCode() NotFoundErrorCode
- func (x *PathUnknownErrorMessageResponse) GetMessage() string
- func (*PathUnknownErrorMessageResponse) ProtoMessage()
- func (x *PathUnknownErrorMessageResponse) ProtoReflect() protoreflect.Message
- func (x *PathUnknownErrorMessageResponse) Reset()
- func (x *PathUnknownErrorMessageResponse) String() string
- func (m *PathUnknownErrorMessageResponse) Validate() error
- func (m *PathUnknownErrorMessageResponse) ValidateAll() error
- type PathUnknownErrorMessageResponseMultiError
- type PathUnknownErrorMessageResponseValidationError
- func (e PathUnknownErrorMessageResponseValidationError) Cause() error
- func (e PathUnknownErrorMessageResponseValidationError) Error() string
- func (e PathUnknownErrorMessageResponseValidationError) ErrorName() string
- func (e PathUnknownErrorMessageResponseValidationError) Field() string
- func (e PathUnknownErrorMessageResponseValidationError) Key() bool
- func (e PathUnknownErrorMessageResponseValidationError) Reason() string
- type ReadAssertionsRequest
- func (*ReadAssertionsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ReadAssertionsRequest) GetAuthorizationModelId() string
- func (x *ReadAssertionsRequest) GetStoreId() string
- func (*ReadAssertionsRequest) ProtoMessage()
- func (x *ReadAssertionsRequest) ProtoReflect() protoreflect.Message
- func (x *ReadAssertionsRequest) Reset()
- func (x *ReadAssertionsRequest) String() string
- func (m *ReadAssertionsRequest) Validate() error
- func (m *ReadAssertionsRequest) ValidateAll() error
- type ReadAssertionsRequestMultiError
- type ReadAssertionsRequestValidationError
- func (e ReadAssertionsRequestValidationError) Cause() error
- func (e ReadAssertionsRequestValidationError) Error() string
- func (e ReadAssertionsRequestValidationError) ErrorName() string
- func (e ReadAssertionsRequestValidationError) Field() string
- func (e ReadAssertionsRequestValidationError) Key() bool
- func (e ReadAssertionsRequestValidationError) Reason() string
- type ReadAssertionsResponse
- func (*ReadAssertionsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ReadAssertionsResponse) GetAssertions() []*Assertion
- func (x *ReadAssertionsResponse) GetAuthorizationModelId() string
- func (*ReadAssertionsResponse) ProtoMessage()
- func (x *ReadAssertionsResponse) ProtoReflect() protoreflect.Message
- func (x *ReadAssertionsResponse) Reset()
- func (x *ReadAssertionsResponse) String() string
- func (m *ReadAssertionsResponse) Validate() error
- func (m *ReadAssertionsResponse) ValidateAll() error
- type ReadAssertionsResponseMultiError
- type ReadAssertionsResponseValidationError
- func (e ReadAssertionsResponseValidationError) Cause() error
- func (e ReadAssertionsResponseValidationError) Error() string
- func (e ReadAssertionsResponseValidationError) ErrorName() string
- func (e ReadAssertionsResponseValidationError) Field() string
- func (e ReadAssertionsResponseValidationError) Key() bool
- func (e ReadAssertionsResponseValidationError) Reason() string
- type ReadAuthorizationModelRequest
- func (*ReadAuthorizationModelRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ReadAuthorizationModelRequest) GetId() string
- func (x *ReadAuthorizationModelRequest) GetStoreId() string
- func (*ReadAuthorizationModelRequest) ProtoMessage()
- func (x *ReadAuthorizationModelRequest) ProtoReflect() protoreflect.Message
- func (x *ReadAuthorizationModelRequest) Reset()
- func (x *ReadAuthorizationModelRequest) String() string
- func (m *ReadAuthorizationModelRequest) Validate() error
- func (m *ReadAuthorizationModelRequest) ValidateAll() error
- type ReadAuthorizationModelRequestMultiError
- type ReadAuthorizationModelRequestValidationError
- func (e ReadAuthorizationModelRequestValidationError) Cause() error
- func (e ReadAuthorizationModelRequestValidationError) Error() string
- func (e ReadAuthorizationModelRequestValidationError) ErrorName() string
- func (e ReadAuthorizationModelRequestValidationError) Field() string
- func (e ReadAuthorizationModelRequestValidationError) Key() bool
- func (e ReadAuthorizationModelRequestValidationError) Reason() string
- type ReadAuthorizationModelResponse
- func (*ReadAuthorizationModelResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ReadAuthorizationModelResponse) GetAuthorizationModel() *AuthorizationModel
- func (*ReadAuthorizationModelResponse) ProtoMessage()
- func (x *ReadAuthorizationModelResponse) ProtoReflect() protoreflect.Message
- func (x *ReadAuthorizationModelResponse) Reset()
- func (x *ReadAuthorizationModelResponse) String() string
- func (m *ReadAuthorizationModelResponse) Validate() error
- func (m *ReadAuthorizationModelResponse) ValidateAll() error
- type ReadAuthorizationModelResponseMultiError
- type ReadAuthorizationModelResponseValidationError
- func (e ReadAuthorizationModelResponseValidationError) Cause() error
- func (e ReadAuthorizationModelResponseValidationError) Error() string
- func (e ReadAuthorizationModelResponseValidationError) ErrorName() string
- func (e ReadAuthorizationModelResponseValidationError) Field() string
- func (e ReadAuthorizationModelResponseValidationError) Key() bool
- func (e ReadAuthorizationModelResponseValidationError) Reason() string
- type ReadAuthorizationModelsRequest
- func (*ReadAuthorizationModelsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ReadAuthorizationModelsRequest) GetContinuationToken() string
- func (x *ReadAuthorizationModelsRequest) GetPageSize() *wrapperspb.Int32Value
- func (x *ReadAuthorizationModelsRequest) GetStoreId() string
- func (*ReadAuthorizationModelsRequest) ProtoMessage()
- func (x *ReadAuthorizationModelsRequest) ProtoReflect() protoreflect.Message
- func (x *ReadAuthorizationModelsRequest) Reset()
- func (x *ReadAuthorizationModelsRequest) String() string
- func (m *ReadAuthorizationModelsRequest) Validate() error
- func (m *ReadAuthorizationModelsRequest) ValidateAll() error
- type ReadAuthorizationModelsRequestMultiError
- type ReadAuthorizationModelsRequestValidationError
- func (e ReadAuthorizationModelsRequestValidationError) Cause() error
- func (e ReadAuthorizationModelsRequestValidationError) Error() string
- func (e ReadAuthorizationModelsRequestValidationError) ErrorName() string
- func (e ReadAuthorizationModelsRequestValidationError) Field() string
- func (e ReadAuthorizationModelsRequestValidationError) Key() bool
- func (e ReadAuthorizationModelsRequestValidationError) Reason() string
- type ReadAuthorizationModelsResponse
- func (*ReadAuthorizationModelsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ReadAuthorizationModelsResponse) GetAuthorizationModels() []*AuthorizationModel
- func (x *ReadAuthorizationModelsResponse) GetContinuationToken() string
- func (*ReadAuthorizationModelsResponse) ProtoMessage()
- func (x *ReadAuthorizationModelsResponse) ProtoReflect() protoreflect.Message
- func (x *ReadAuthorizationModelsResponse) Reset()
- func (x *ReadAuthorizationModelsResponse) String() string
- func (m *ReadAuthorizationModelsResponse) Validate() error
- func (m *ReadAuthorizationModelsResponse) ValidateAll() error
- type ReadAuthorizationModelsResponseMultiError
- type ReadAuthorizationModelsResponseValidationError
- func (e ReadAuthorizationModelsResponseValidationError) Cause() error
- func (e ReadAuthorizationModelsResponseValidationError) Error() string
- func (e ReadAuthorizationModelsResponseValidationError) ErrorName() string
- func (e ReadAuthorizationModelsResponseValidationError) Field() string
- func (e ReadAuthorizationModelsResponseValidationError) Key() bool
- func (e ReadAuthorizationModelsResponseValidationError) Reason() string
- type ReadChangesRequest
- func (*ReadChangesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ReadChangesRequest) GetContinuationToken() string
- func (x *ReadChangesRequest) GetPageSize() *wrapperspb.Int32Value
- func (x *ReadChangesRequest) GetStoreId() string
- func (x *ReadChangesRequest) GetType() string
- func (*ReadChangesRequest) ProtoMessage()
- func (x *ReadChangesRequest) ProtoReflect() protoreflect.Message
- func (x *ReadChangesRequest) Reset()
- func (x *ReadChangesRequest) String() string
- func (m *ReadChangesRequest) Validate() error
- func (m *ReadChangesRequest) ValidateAll() error
- type ReadChangesRequestMultiError
- type ReadChangesRequestValidationError
- func (e ReadChangesRequestValidationError) Cause() error
- func (e ReadChangesRequestValidationError) Error() string
- func (e ReadChangesRequestValidationError) ErrorName() string
- func (e ReadChangesRequestValidationError) Field() string
- func (e ReadChangesRequestValidationError) Key() bool
- func (e ReadChangesRequestValidationError) Reason() string
- type ReadChangesResponse
- func (*ReadChangesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ReadChangesResponse) GetChanges() []*TupleChange
- func (x *ReadChangesResponse) GetContinuationToken() string
- func (*ReadChangesResponse) ProtoMessage()
- func (x *ReadChangesResponse) ProtoReflect() protoreflect.Message
- func (x *ReadChangesResponse) Reset()
- func (x *ReadChangesResponse) String() string
- func (m *ReadChangesResponse) Validate() error
- func (m *ReadChangesResponse) ValidateAll() error
- type ReadChangesResponseMultiError
- type ReadChangesResponseValidationError
- func (e ReadChangesResponseValidationError) Cause() error
- func (e ReadChangesResponseValidationError) Error() string
- func (e ReadChangesResponseValidationError) ErrorName() string
- func (e ReadChangesResponseValidationError) Field() string
- func (e ReadChangesResponseValidationError) Key() bool
- func (e ReadChangesResponseValidationError) Reason() string
- type ReadRequest
- func (*ReadRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ReadRequest) GetContinuationToken() string
- func (x *ReadRequest) GetPageSize() *wrapperspb.Int32Value
- func (x *ReadRequest) GetStoreId() string
- func (x *ReadRequest) GetTupleKey() *ReadRequestTupleKey
- func (*ReadRequest) ProtoMessage()
- func (x *ReadRequest) ProtoReflect() protoreflect.Message
- func (x *ReadRequest) Reset()
- func (x *ReadRequest) String() string
- func (m *ReadRequest) Validate() error
- func (m *ReadRequest) ValidateAll() error
- type ReadRequestMultiError
- type ReadRequestTupleKey
- func (*ReadRequestTupleKey) Descriptor() ([]byte, []int)deprecated
- func (x *ReadRequestTupleKey) GetObject() string
- func (x *ReadRequestTupleKey) GetRelation() string
- func (x *ReadRequestTupleKey) GetUser() string
- func (*ReadRequestTupleKey) ProtoMessage()
- func (x *ReadRequestTupleKey) ProtoReflect() protoreflect.Message
- func (x *ReadRequestTupleKey) Reset()
- func (x *ReadRequestTupleKey) String() string
- func (m *ReadRequestTupleKey) Validate() error
- func (m *ReadRequestTupleKey) ValidateAll() error
- type ReadRequestTupleKeyMultiError
- type ReadRequestTupleKeyValidationError
- func (e ReadRequestTupleKeyValidationError) Cause() error
- func (e ReadRequestTupleKeyValidationError) Error() string
- func (e ReadRequestTupleKeyValidationError) ErrorName() string
- func (e ReadRequestTupleKeyValidationError) Field() string
- func (e ReadRequestTupleKeyValidationError) Key() bool
- func (e ReadRequestTupleKeyValidationError) Reason() string
- type ReadRequestValidationError
- func (e ReadRequestValidationError) Cause() error
- func (e ReadRequestValidationError) Error() string
- func (e ReadRequestValidationError) ErrorName() string
- func (e ReadRequestValidationError) Field() string
- func (e ReadRequestValidationError) Key() bool
- func (e ReadRequestValidationError) Reason() string
- type ReadResponse
- func (*ReadResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ReadResponse) GetContinuationToken() string
- func (x *ReadResponse) GetTuples() []*Tuple
- func (*ReadResponse) ProtoMessage()
- func (x *ReadResponse) ProtoReflect() protoreflect.Message
- func (x *ReadResponse) Reset()
- func (x *ReadResponse) String() string
- func (m *ReadResponse) Validate() error
- func (m *ReadResponse) ValidateAll() error
- type ReadResponseMultiError
- type ReadResponseValidationError
- func (e ReadResponseValidationError) Cause() error
- func (e ReadResponseValidationError) Error() string
- func (e ReadResponseValidationError) ErrorName() string
- func (e ReadResponseValidationError) Field() string
- func (e ReadResponseValidationError) Key() bool
- func (e ReadResponseValidationError) Reason() string
- type Relation
- func (*Relation) Descriptor() ([]byte, []int)deprecated
- func (x *Relation) GetName() string
- func (x *Relation) GetRewrite() *Userset
- func (x *Relation) GetTypeInfo() *RelationTypeInfo
- func (*Relation) ProtoMessage()
- func (x *Relation) ProtoReflect() protoreflect.Message
- func (x *Relation) Reset()
- func (x *Relation) String() string
- func (m *Relation) Validate() error
- func (m *Relation) ValidateAll() error
- type RelationMetadata
- func (*RelationMetadata) Descriptor() ([]byte, []int)deprecated
- func (x *RelationMetadata) GetDirectlyRelatedUserTypes() []*RelationReference
- func (*RelationMetadata) ProtoMessage()
- func (x *RelationMetadata) ProtoReflect() protoreflect.Message
- func (x *RelationMetadata) Reset()
- func (x *RelationMetadata) String() string
- func (m *RelationMetadata) Validate() error
- func (m *RelationMetadata) ValidateAll() error
- type RelationMetadataMultiError
- type RelationMetadataValidationError
- func (e RelationMetadataValidationError) Cause() error
- func (e RelationMetadataValidationError) Error() string
- func (e RelationMetadataValidationError) ErrorName() string
- func (e RelationMetadataValidationError) Field() string
- func (e RelationMetadataValidationError) Key() bool
- func (e RelationMetadataValidationError) Reason() string
- type RelationMultiError
- type RelationReference
- func (*RelationReference) Descriptor() ([]byte, []int)deprecated
- func (x *RelationReference) GetCondition() string
- func (x *RelationReference) GetRelation() string
- func (m *RelationReference) GetRelationOrWildcard() isRelationReference_RelationOrWildcard
- func (x *RelationReference) GetType() string
- func (x *RelationReference) GetWildcard() *Wildcard
- func (*RelationReference) ProtoMessage()
- func (x *RelationReference) ProtoReflect() protoreflect.Message
- func (x *RelationReference) Reset()
- func (x *RelationReference) String() string
- func (m *RelationReference) Validate() error
- func (m *RelationReference) ValidateAll() error
- type RelationReferenceMultiError
- type RelationReferenceValidationError
- func (e RelationReferenceValidationError) Cause() error
- func (e RelationReferenceValidationError) Error() string
- func (e RelationReferenceValidationError) ErrorName() string
- func (e RelationReferenceValidationError) Field() string
- func (e RelationReferenceValidationError) Key() bool
- func (e RelationReferenceValidationError) Reason() string
- type RelationReference_Relation
- type RelationReference_Wildcard
- type RelationTypeInfo
- func (*RelationTypeInfo) Descriptor() ([]byte, []int)deprecated
- func (x *RelationTypeInfo) GetDirectlyRelatedUserTypes() []*RelationReference
- func (*RelationTypeInfo) ProtoMessage()
- func (x *RelationTypeInfo) ProtoReflect() protoreflect.Message
- func (x *RelationTypeInfo) Reset()
- func (x *RelationTypeInfo) String() string
- func (m *RelationTypeInfo) Validate() error
- func (m *RelationTypeInfo) ValidateAll() error
- type RelationTypeInfoMultiError
- type RelationTypeInfoValidationError
- func (e RelationTypeInfoValidationError) Cause() error
- func (e RelationTypeInfoValidationError) Error() string
- func (e RelationTypeInfoValidationError) ErrorName() string
- func (e RelationTypeInfoValidationError) Field() string
- func (e RelationTypeInfoValidationError) Key() bool
- func (e RelationTypeInfoValidationError) Reason() string
- type RelationValidationError
- type RelationshipCondition
- func (*RelationshipCondition) Descriptor() ([]byte, []int)deprecated
- func (x *RelationshipCondition) GetContext() *structpb.Struct
- func (x *RelationshipCondition) GetName() string
- func (*RelationshipCondition) ProtoMessage()
- func (x *RelationshipCondition) ProtoReflect() protoreflect.Message
- func (x *RelationshipCondition) Reset()
- func (x *RelationshipCondition) String() string
- func (m *RelationshipCondition) Validate() error
- func (m *RelationshipCondition) ValidateAll() error
- type RelationshipConditionMultiError
- type RelationshipConditionValidationError
- func (e RelationshipConditionValidationError) Cause() error
- func (e RelationshipConditionValidationError) Error() string
- func (e RelationshipConditionValidationError) ErrorName() string
- func (e RelationshipConditionValidationError) Field() string
- func (e RelationshipConditionValidationError) Key() bool
- func (e RelationshipConditionValidationError) Reason() string
- type Store
- func (*Store) Descriptor() ([]byte, []int)deprecated
- func (x *Store) GetCreatedAt() *timestamppb.Timestamp
- func (x *Store) GetDeletedAt() *timestamppb.Timestamp
- func (x *Store) GetId() string
- func (x *Store) GetName() string
- func (x *Store) GetUpdatedAt() *timestamppb.Timestamp
- func (*Store) ProtoMessage()
- func (x *Store) ProtoReflect() protoreflect.Message
- func (x *Store) Reset()
- func (x *Store) String() string
- func (m *Store) Validate() error
- func (m *Store) ValidateAll() error
- type StoreMultiError
- type StoreValidationError
- type StreamedListObjectsRequest
- func (*StreamedListObjectsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *StreamedListObjectsRequest) GetAuthorizationModelId() string
- func (x *StreamedListObjectsRequest) GetContext() *structpb.Struct
- func (x *StreamedListObjectsRequest) GetContextualTuples() *ContextualTupleKeys
- func (x *StreamedListObjectsRequest) GetRelation() string
- func (x *StreamedListObjectsRequest) GetStoreId() string
- func (x *StreamedListObjectsRequest) GetType() string
- func (x *StreamedListObjectsRequest) GetUser() string
- func (*StreamedListObjectsRequest) ProtoMessage()
- func (x *StreamedListObjectsRequest) ProtoReflect() protoreflect.Message
- func (x *StreamedListObjectsRequest) Reset()
- func (x *StreamedListObjectsRequest) String() string
- func (m *StreamedListObjectsRequest) Validate() error
- func (m *StreamedListObjectsRequest) ValidateAll() error
- type StreamedListObjectsRequestMultiError
- type StreamedListObjectsRequestValidationError
- func (e StreamedListObjectsRequestValidationError) Cause() error
- func (e StreamedListObjectsRequestValidationError) Error() string
- func (e StreamedListObjectsRequestValidationError) ErrorName() string
- func (e StreamedListObjectsRequestValidationError) Field() string
- func (e StreamedListObjectsRequestValidationError) Key() bool
- func (e StreamedListObjectsRequestValidationError) Reason() string
- type StreamedListObjectsResponse
- func (*StreamedListObjectsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *StreamedListObjectsResponse) GetObject() string
- func (*StreamedListObjectsResponse) ProtoMessage()
- func (x *StreamedListObjectsResponse) ProtoReflect() protoreflect.Message
- func (x *StreamedListObjectsResponse) Reset()
- func (x *StreamedListObjectsResponse) String() string
- func (m *StreamedListObjectsResponse) Validate() error
- func (m *StreamedListObjectsResponse) ValidateAll() error
- type StreamedListObjectsResponseMultiError
- type StreamedListObjectsResponseValidationError
- func (e StreamedListObjectsResponseValidationError) Cause() error
- func (e StreamedListObjectsResponseValidationError) Error() string
- func (e StreamedListObjectsResponseValidationError) ErrorName() string
- func (e StreamedListObjectsResponseValidationError) Field() string
- func (e StreamedListObjectsResponseValidationError) Key() bool
- func (e StreamedListObjectsResponseValidationError) Reason() string
- type Tuple
- func (*Tuple) Descriptor() ([]byte, []int)deprecated
- func (x *Tuple) GetKey() *TupleKey
- func (x *Tuple) GetTimestamp() *timestamppb.Timestamp
- func (*Tuple) ProtoMessage()
- func (x *Tuple) ProtoReflect() protoreflect.Message
- func (x *Tuple) Reset()
- func (x *Tuple) String() string
- func (m *Tuple) Validate() error
- func (m *Tuple) ValidateAll() error
- type TupleChange
- func (*TupleChange) Descriptor() ([]byte, []int)deprecated
- func (x *TupleChange) GetOperation() TupleOperation
- func (x *TupleChange) GetTimestamp() *timestamppb.Timestamp
- func (x *TupleChange) GetTupleKey() *TupleKey
- func (*TupleChange) ProtoMessage()
- func (x *TupleChange) ProtoReflect() protoreflect.Message
- func (x *TupleChange) Reset()
- func (x *TupleChange) String() string
- func (m *TupleChange) Validate() error
- func (m *TupleChange) ValidateAll() error
- type TupleChangeMultiError
- type TupleChangeValidationError
- func (e TupleChangeValidationError) Cause() error
- func (e TupleChangeValidationError) Error() string
- func (e TupleChangeValidationError) ErrorName() string
- func (e TupleChangeValidationError) Field() string
- func (e TupleChangeValidationError) Key() bool
- func (e TupleChangeValidationError) Reason() string
- type TupleKey
- func (*TupleKey) Descriptor() ([]byte, []int)deprecated
- func (x *TupleKey) GetCondition() *RelationshipCondition
- func (x *TupleKey) GetObject() string
- func (x *TupleKey) GetRelation() string
- func (x *TupleKey) GetUser() string
- func (*TupleKey) ProtoMessage()
- func (x *TupleKey) ProtoReflect() protoreflect.Message
- func (x *TupleKey) Reset()
- func (x *TupleKey) String() string
- func (m *TupleKey) Validate() error
- func (m *TupleKey) ValidateAll() error
- type TupleKeyMultiError
- type TupleKeyValidationError
- type TupleKeyWithoutCondition
- func (*TupleKeyWithoutCondition) Descriptor() ([]byte, []int)deprecated
- func (x *TupleKeyWithoutCondition) GetObject() string
- func (x *TupleKeyWithoutCondition) GetRelation() string
- func (x *TupleKeyWithoutCondition) GetUser() string
- func (*TupleKeyWithoutCondition) ProtoMessage()
- func (x *TupleKeyWithoutCondition) ProtoReflect() protoreflect.Message
- func (x *TupleKeyWithoutCondition) Reset()
- func (x *TupleKeyWithoutCondition) String() string
- func (m *TupleKeyWithoutCondition) Validate() error
- func (m *TupleKeyWithoutCondition) ValidateAll() error
- type TupleKeyWithoutConditionMultiError
- type TupleKeyWithoutConditionValidationError
- func (e TupleKeyWithoutConditionValidationError) Cause() error
- func (e TupleKeyWithoutConditionValidationError) Error() string
- func (e TupleKeyWithoutConditionValidationError) ErrorName() string
- func (e TupleKeyWithoutConditionValidationError) Field() string
- func (e TupleKeyWithoutConditionValidationError) Key() bool
- func (e TupleKeyWithoutConditionValidationError) Reason() string
- type TupleKeys
- func (*TupleKeys) Descriptor() ([]byte, []int)deprecated
- func (x *TupleKeys) GetTupleKeys() []*TupleKey
- func (*TupleKeys) ProtoMessage()
- func (x *TupleKeys) ProtoReflect() protoreflect.Message
- func (x *TupleKeys) Reset()
- func (x *TupleKeys) String() string
- func (m *TupleKeys) Validate() error
- func (m *TupleKeys) ValidateAll() error
- type TupleKeysMultiError
- type TupleKeysValidationError
- type TupleMultiError
- type TupleOperation
- func (TupleOperation) Descriptor() protoreflect.EnumDescriptor
- func (x TupleOperation) Enum() *TupleOperation
- func (TupleOperation) EnumDescriptor() ([]byte, []int)deprecated
- func (x TupleOperation) Number() protoreflect.EnumNumber
- func (x TupleOperation) String() string
- func (TupleOperation) Type() protoreflect.EnumType
- type TupleToUserset
- func (*TupleToUserset) Descriptor() ([]byte, []int)deprecated
- func (x *TupleToUserset) GetComputedUserset() *ObjectRelation
- func (x *TupleToUserset) GetTupleset() *ObjectRelation
- func (*TupleToUserset) ProtoMessage()
- func (x *TupleToUserset) ProtoReflect() protoreflect.Message
- func (x *TupleToUserset) Reset()
- func (x *TupleToUserset) String() string
- func (m *TupleToUserset) Validate() error
- func (m *TupleToUserset) ValidateAll() error
- type TupleToUsersetMultiError
- type TupleToUsersetValidationError
- func (e TupleToUsersetValidationError) Cause() error
- func (e TupleToUsersetValidationError) Error() string
- func (e TupleToUsersetValidationError) ErrorName() string
- func (e TupleToUsersetValidationError) Field() string
- func (e TupleToUsersetValidationError) Key() bool
- func (e TupleToUsersetValidationError) Reason() string
- type TupleValidationError
- type TypeDefinition
- func (*TypeDefinition) Descriptor() ([]byte, []int)deprecated
- func (x *TypeDefinition) GetMetadata() *Metadata
- func (x *TypeDefinition) GetRelations() map[string]*Userset
- func (x *TypeDefinition) GetType() string
- func (*TypeDefinition) ProtoMessage()
- func (x *TypeDefinition) ProtoReflect() protoreflect.Message
- func (x *TypeDefinition) Reset()
- func (x *TypeDefinition) String() string
- func (m *TypeDefinition) Validate() error
- func (m *TypeDefinition) ValidateAll() error
- type TypeDefinitionMultiError
- type TypeDefinitionValidationError
- func (e TypeDefinitionValidationError) Cause() error
- func (e TypeDefinitionValidationError) Error() string
- func (e TypeDefinitionValidationError) ErrorName() string
- func (e TypeDefinitionValidationError) Field() string
- func (e TypeDefinitionValidationError) Key() bool
- func (e TypeDefinitionValidationError) Reason() string
- type UnimplementedOpenFGAServiceServer
- func (UnimplementedOpenFGAServiceServer) Check(context.Context, *CheckRequest) (*CheckResponse, error)
- func (UnimplementedOpenFGAServiceServer) CreateStore(context.Context, *CreateStoreRequest) (*CreateStoreResponse, error)
- func (UnimplementedOpenFGAServiceServer) DeleteStore(context.Context, *DeleteStoreRequest) (*DeleteStoreResponse, error)
- func (UnimplementedOpenFGAServiceServer) Expand(context.Context, *ExpandRequest) (*ExpandResponse, error)
- func (UnimplementedOpenFGAServiceServer) GetStore(context.Context, *GetStoreRequest) (*GetStoreResponse, error)
- func (UnimplementedOpenFGAServiceServer) ListObjects(context.Context, *ListObjectsRequest) (*ListObjectsResponse, error)
- func (UnimplementedOpenFGAServiceServer) ListStores(context.Context, *ListStoresRequest) (*ListStoresResponse, error)
- func (UnimplementedOpenFGAServiceServer) Read(context.Context, *ReadRequest) (*ReadResponse, error)
- func (UnimplementedOpenFGAServiceServer) ReadAssertions(context.Context, *ReadAssertionsRequest) (*ReadAssertionsResponse, error)
- func (UnimplementedOpenFGAServiceServer) ReadAuthorizationModel(context.Context, *ReadAuthorizationModelRequest) (*ReadAuthorizationModelResponse, error)
- func (UnimplementedOpenFGAServiceServer) ReadAuthorizationModels(context.Context, *ReadAuthorizationModelsRequest) (*ReadAuthorizationModelsResponse, error)
- func (UnimplementedOpenFGAServiceServer) ReadChanges(context.Context, *ReadChangesRequest) (*ReadChangesResponse, error)
- func (UnimplementedOpenFGAServiceServer) StreamedListObjects(*StreamedListObjectsRequest, OpenFGAService_StreamedListObjectsServer) error
- func (UnimplementedOpenFGAServiceServer) UpdateStore(context.Context, *UpdateStoreRequest) (*UpdateStoreResponse, error)
- func (UnimplementedOpenFGAServiceServer) Write(context.Context, *WriteRequest) (*WriteResponse, error)
- func (UnimplementedOpenFGAServiceServer) WriteAssertions(context.Context, *WriteAssertionsRequest) (*WriteAssertionsResponse, error)
- func (UnimplementedOpenFGAServiceServer) WriteAuthorizationModel(context.Context, *WriteAuthorizationModelRequest) (*WriteAuthorizationModelResponse, error)
- type UnsafeOpenFGAServiceServer
- type UpdateStoreRequest
- func (*UpdateStoreRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateStoreRequest) GetName() string
- func (x *UpdateStoreRequest) GetStoreId() string
- func (*UpdateStoreRequest) ProtoMessage()
- func (x *UpdateStoreRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateStoreRequest) Reset()
- func (x *UpdateStoreRequest) String() string
- func (m *UpdateStoreRequest) Validate() error
- func (m *UpdateStoreRequest) ValidateAll() error
- type UpdateStoreRequestMultiError
- type UpdateStoreRequestValidationError
- func (e UpdateStoreRequestValidationError) Cause() error
- func (e UpdateStoreRequestValidationError) Error() string
- func (e UpdateStoreRequestValidationError) ErrorName() string
- func (e UpdateStoreRequestValidationError) Field() string
- func (e UpdateStoreRequestValidationError) Key() bool
- func (e UpdateStoreRequestValidationError) Reason() string
- type UpdateStoreResponse
- func (*UpdateStoreResponse) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateStoreResponse) GetCreatedAt() *timestamppb.Timestamp
- func (x *UpdateStoreResponse) GetId() string
- func (x *UpdateStoreResponse) GetName() string
- func (x *UpdateStoreResponse) GetUpdatedAt() *timestamppb.Timestamp
- func (*UpdateStoreResponse) ProtoMessage()
- func (x *UpdateStoreResponse) ProtoReflect() protoreflect.Message
- func (x *UpdateStoreResponse) Reset()
- func (x *UpdateStoreResponse) String() string
- func (m *UpdateStoreResponse) Validate() error
- func (m *UpdateStoreResponse) ValidateAll() error
- type UpdateStoreResponseMultiError
- type UpdateStoreResponseValidationError
- func (e UpdateStoreResponseValidationError) Cause() error
- func (e UpdateStoreResponseValidationError) Error() string
- func (e UpdateStoreResponseValidationError) ErrorName() string
- func (e UpdateStoreResponseValidationError) Field() string
- func (e UpdateStoreResponseValidationError) Key() bool
- func (e UpdateStoreResponseValidationError) Reason() string
- type Userset
- func (*Userset) Descriptor() ([]byte, []int)deprecated
- func (x *Userset) GetComputedUserset() *ObjectRelation
- func (x *Userset) GetDifference() *Difference
- func (x *Userset) GetIntersection() *Usersets
- func (x *Userset) GetThis() *DirectUserset
- func (x *Userset) GetTupleToUserset() *TupleToUserset
- func (x *Userset) GetUnion() *Usersets
- func (m *Userset) GetUserset() isUserset_Userset
- func (*Userset) ProtoMessage()
- func (x *Userset) ProtoReflect() protoreflect.Message
- func (x *Userset) Reset()
- func (x *Userset) String() string
- func (m *Userset) Validate() error
- func (m *Userset) ValidateAll() error
- type UsersetMultiError
- type UsersetTree
- func (*UsersetTree) Descriptor() ([]byte, []int)deprecated
- func (x *UsersetTree) GetRoot() *UsersetTree_Node
- func (*UsersetTree) ProtoMessage()
- func (x *UsersetTree) ProtoReflect() protoreflect.Message
- func (x *UsersetTree) Reset()
- func (x *UsersetTree) String() string
- func (m *UsersetTree) Validate() error
- func (m *UsersetTree) ValidateAll() error
- type UsersetTreeMultiError
- type UsersetTreeValidationError
- func (e UsersetTreeValidationError) Cause() error
- func (e UsersetTreeValidationError) Error() string
- func (e UsersetTreeValidationError) ErrorName() string
- func (e UsersetTreeValidationError) Field() string
- func (e UsersetTreeValidationError) Key() bool
- func (e UsersetTreeValidationError) Reason() string
- type UsersetTree_Computed
- func (*UsersetTree_Computed) Descriptor() ([]byte, []int)deprecated
- func (x *UsersetTree_Computed) GetUserset() string
- func (*UsersetTree_Computed) ProtoMessage()
- func (x *UsersetTree_Computed) ProtoReflect() protoreflect.Message
- func (x *UsersetTree_Computed) Reset()
- func (x *UsersetTree_Computed) String() string
- func (m *UsersetTree_Computed) Validate() error
- func (m *UsersetTree_Computed) ValidateAll() error
- type UsersetTree_ComputedMultiError
- type UsersetTree_ComputedValidationError
- func (e UsersetTree_ComputedValidationError) Cause() error
- func (e UsersetTree_ComputedValidationError) Error() string
- func (e UsersetTree_ComputedValidationError) ErrorName() string
- func (e UsersetTree_ComputedValidationError) Field() string
- func (e UsersetTree_ComputedValidationError) Key() bool
- func (e UsersetTree_ComputedValidationError) Reason() string
- type UsersetTree_Difference
- func (*UsersetTree_Difference) Descriptor() ([]byte, []int)deprecated
- func (x *UsersetTree_Difference) GetBase() *UsersetTree_Node
- func (x *UsersetTree_Difference) GetSubtract() *UsersetTree_Node
- func (*UsersetTree_Difference) ProtoMessage()
- func (x *UsersetTree_Difference) ProtoReflect() protoreflect.Message
- func (x *UsersetTree_Difference) Reset()
- func (x *UsersetTree_Difference) String() string
- func (m *UsersetTree_Difference) Validate() error
- func (m *UsersetTree_Difference) ValidateAll() error
- type UsersetTree_DifferenceMultiError
- type UsersetTree_DifferenceValidationError
- func (e UsersetTree_DifferenceValidationError) Cause() error
- func (e UsersetTree_DifferenceValidationError) Error() string
- func (e UsersetTree_DifferenceValidationError) ErrorName() string
- func (e UsersetTree_DifferenceValidationError) Field() string
- func (e UsersetTree_DifferenceValidationError) Key() bool
- func (e UsersetTree_DifferenceValidationError) Reason() string
- type UsersetTree_Leaf
- func (*UsersetTree_Leaf) Descriptor() ([]byte, []int)deprecated
- func (x *UsersetTree_Leaf) GetComputed() *UsersetTree_Computed
- func (x *UsersetTree_Leaf) GetTupleToUserset() *UsersetTree_TupleToUserset
- func (x *UsersetTree_Leaf) GetUsers() *UsersetTree_Users
- func (m *UsersetTree_Leaf) GetValue() isUsersetTree_Leaf_Value
- func (*UsersetTree_Leaf) ProtoMessage()
- func (x *UsersetTree_Leaf) ProtoReflect() protoreflect.Message
- func (x *UsersetTree_Leaf) Reset()
- func (x *UsersetTree_Leaf) String() string
- func (m *UsersetTree_Leaf) Validate() error
- func (m *UsersetTree_Leaf) ValidateAll() error
- type UsersetTree_LeafMultiError
- type UsersetTree_LeafValidationError
- func (e UsersetTree_LeafValidationError) Cause() error
- func (e UsersetTree_LeafValidationError) Error() string
- func (e UsersetTree_LeafValidationError) ErrorName() string
- func (e UsersetTree_LeafValidationError) Field() string
- func (e UsersetTree_LeafValidationError) Key() bool
- func (e UsersetTree_LeafValidationError) Reason() string
- type UsersetTree_Leaf_Computed
- type UsersetTree_Leaf_TupleToUserset
- type UsersetTree_Leaf_Users
- type UsersetTree_Node
- func (*UsersetTree_Node) Descriptor() ([]byte, []int)deprecated
- func (x *UsersetTree_Node) GetDifference() *UsersetTree_Difference
- func (x *UsersetTree_Node) GetIntersection() *UsersetTree_Nodes
- func (x *UsersetTree_Node) GetLeaf() *UsersetTree_Leaf
- func (x *UsersetTree_Node) GetName() string
- func (x *UsersetTree_Node) GetUnion() *UsersetTree_Nodes
- func (m *UsersetTree_Node) GetValue() isUsersetTree_Node_Value
- func (*UsersetTree_Node) ProtoMessage()
- func (x *UsersetTree_Node) ProtoReflect() protoreflect.Message
- func (x *UsersetTree_Node) Reset()
- func (x *UsersetTree_Node) String() string
- func (m *UsersetTree_Node) Validate() error
- func (m *UsersetTree_Node) ValidateAll() error
- type UsersetTree_NodeMultiError
- type UsersetTree_NodeValidationError
- func (e UsersetTree_NodeValidationError) Cause() error
- func (e UsersetTree_NodeValidationError) Error() string
- func (e UsersetTree_NodeValidationError) ErrorName() string
- func (e UsersetTree_NodeValidationError) Field() string
- func (e UsersetTree_NodeValidationError) Key() bool
- func (e UsersetTree_NodeValidationError) Reason() string
- type UsersetTree_Node_Difference
- type UsersetTree_Node_Intersection
- type UsersetTree_Node_Leaf
- type UsersetTree_Node_Union
- type UsersetTree_Nodes
- func (*UsersetTree_Nodes) Descriptor() ([]byte, []int)deprecated
- func (x *UsersetTree_Nodes) GetNodes() []*UsersetTree_Node
- func (*UsersetTree_Nodes) ProtoMessage()
- func (x *UsersetTree_Nodes) ProtoReflect() protoreflect.Message
- func (x *UsersetTree_Nodes) Reset()
- func (x *UsersetTree_Nodes) String() string
- func (m *UsersetTree_Nodes) Validate() error
- func (m *UsersetTree_Nodes) ValidateAll() error
- type UsersetTree_NodesMultiError
- type UsersetTree_NodesValidationError
- func (e UsersetTree_NodesValidationError) Cause() error
- func (e UsersetTree_NodesValidationError) Error() string
- func (e UsersetTree_NodesValidationError) ErrorName() string
- func (e UsersetTree_NodesValidationError) Field() string
- func (e UsersetTree_NodesValidationError) Key() bool
- func (e UsersetTree_NodesValidationError) Reason() string
- type UsersetTree_TupleToUserset
- func (*UsersetTree_TupleToUserset) Descriptor() ([]byte, []int)deprecated
- func (x *UsersetTree_TupleToUserset) GetComputed() []*UsersetTree_Computed
- func (x *UsersetTree_TupleToUserset) GetTupleset() string
- func (*UsersetTree_TupleToUserset) ProtoMessage()
- func (x *UsersetTree_TupleToUserset) ProtoReflect() protoreflect.Message
- func (x *UsersetTree_TupleToUserset) Reset()
- func (x *UsersetTree_TupleToUserset) String() string
- func (m *UsersetTree_TupleToUserset) Validate() error
- func (m *UsersetTree_TupleToUserset) ValidateAll() error
- type UsersetTree_TupleToUsersetMultiError
- type UsersetTree_TupleToUsersetValidationError
- func (e UsersetTree_TupleToUsersetValidationError) Cause() error
- func (e UsersetTree_TupleToUsersetValidationError) Error() string
- func (e UsersetTree_TupleToUsersetValidationError) ErrorName() string
- func (e UsersetTree_TupleToUsersetValidationError) Field() string
- func (e UsersetTree_TupleToUsersetValidationError) Key() bool
- func (e UsersetTree_TupleToUsersetValidationError) Reason() string
- type UsersetTree_Users
- func (*UsersetTree_Users) Descriptor() ([]byte, []int)deprecated
- func (x *UsersetTree_Users) GetUsers() []string
- func (*UsersetTree_Users) ProtoMessage()
- func (x *UsersetTree_Users) ProtoReflect() protoreflect.Message
- func (x *UsersetTree_Users) Reset()
- func (x *UsersetTree_Users) String() string
- func (m *UsersetTree_Users) Validate() error
- func (m *UsersetTree_Users) ValidateAll() error
- type UsersetTree_UsersMultiError
- type UsersetTree_UsersValidationError
- func (e UsersetTree_UsersValidationError) Cause() error
- func (e UsersetTree_UsersValidationError) Error() string
- func (e UsersetTree_UsersValidationError) ErrorName() string
- func (e UsersetTree_UsersValidationError) Field() string
- func (e UsersetTree_UsersValidationError) Key() bool
- func (e UsersetTree_UsersValidationError) Reason() string
- type UsersetValidationError
- type Userset_ComputedUserset
- type Userset_Difference
- type Userset_Intersection
- type Userset_This
- type Userset_TupleToUserset
- type Userset_Union
- type Usersets
- func (*Usersets) Descriptor() ([]byte, []int)deprecated
- func (x *Usersets) GetChild() []*Userset
- func (*Usersets) ProtoMessage()
- func (x *Usersets) ProtoReflect() protoreflect.Message
- func (x *Usersets) Reset()
- func (x *Usersets) String() string
- func (m *Usersets) Validate() error
- func (m *Usersets) ValidateAll() error
- type UsersetsMultiError
- type UsersetsValidationError
- type ValidationErrorMessageResponse
- func (*ValidationErrorMessageResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ValidationErrorMessageResponse) GetCode() ErrorCode
- func (x *ValidationErrorMessageResponse) GetMessage() string
- func (*ValidationErrorMessageResponse) ProtoMessage()
- func (x *ValidationErrorMessageResponse) ProtoReflect() protoreflect.Message
- func (x *ValidationErrorMessageResponse) Reset()
- func (x *ValidationErrorMessageResponse) String() string
- func (m *ValidationErrorMessageResponse) Validate() error
- func (m *ValidationErrorMessageResponse) ValidateAll() error
- type ValidationErrorMessageResponseMultiError
- type ValidationErrorMessageResponseValidationError
- func (e ValidationErrorMessageResponseValidationError) Cause() error
- func (e ValidationErrorMessageResponseValidationError) Error() string
- func (e ValidationErrorMessageResponseValidationError) ErrorName() string
- func (e ValidationErrorMessageResponseValidationError) Field() string
- func (e ValidationErrorMessageResponseValidationError) Key() bool
- func (e ValidationErrorMessageResponseValidationError) Reason() string
- type Wildcard
- type WildcardMultiError
- type WildcardValidationError
- type WriteAssertionsRequest
- func (*WriteAssertionsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *WriteAssertionsRequest) GetAssertions() []*Assertion
- func (x *WriteAssertionsRequest) GetAuthorizationModelId() string
- func (x *WriteAssertionsRequest) GetStoreId() string
- func (*WriteAssertionsRequest) ProtoMessage()
- func (x *WriteAssertionsRequest) ProtoReflect() protoreflect.Message
- func (x *WriteAssertionsRequest) Reset()
- func (x *WriteAssertionsRequest) String() string
- func (m *WriteAssertionsRequest) Validate() error
- func (m *WriteAssertionsRequest) ValidateAll() error
- type WriteAssertionsRequestMultiError
- type WriteAssertionsRequestValidationError
- func (e WriteAssertionsRequestValidationError) Cause() error
- func (e WriteAssertionsRequestValidationError) Error() string
- func (e WriteAssertionsRequestValidationError) ErrorName() string
- func (e WriteAssertionsRequestValidationError) Field() string
- func (e WriteAssertionsRequestValidationError) Key() bool
- func (e WriteAssertionsRequestValidationError) Reason() string
- type WriteAssertionsResponse
- func (*WriteAssertionsResponse) Descriptor() ([]byte, []int)deprecated
- func (*WriteAssertionsResponse) ProtoMessage()
- func (x *WriteAssertionsResponse) ProtoReflect() protoreflect.Message
- func (x *WriteAssertionsResponse) Reset()
- func (x *WriteAssertionsResponse) String() string
- func (m *WriteAssertionsResponse) Validate() error
- func (m *WriteAssertionsResponse) ValidateAll() error
- type WriteAssertionsResponseMultiError
- type WriteAssertionsResponseValidationError
- func (e WriteAssertionsResponseValidationError) Cause() error
- func (e WriteAssertionsResponseValidationError) Error() string
- func (e WriteAssertionsResponseValidationError) ErrorName() string
- func (e WriteAssertionsResponseValidationError) Field() string
- func (e WriteAssertionsResponseValidationError) Key() bool
- func (e WriteAssertionsResponseValidationError) Reason() string
- type WriteAuthorizationModelRequest
- func (*WriteAuthorizationModelRequest) Descriptor() ([]byte, []int)deprecated
- func (x *WriteAuthorizationModelRequest) GetConditions() map[string]*Condition
- func (x *WriteAuthorizationModelRequest) GetSchemaVersion() string
- func (x *WriteAuthorizationModelRequest) GetStoreId() string
- func (x *WriteAuthorizationModelRequest) GetTypeDefinitions() []*TypeDefinition
- func (*WriteAuthorizationModelRequest) ProtoMessage()
- func (x *WriteAuthorizationModelRequest) ProtoReflect() protoreflect.Message
- func (x *WriteAuthorizationModelRequest) Reset()
- func (x *WriteAuthorizationModelRequest) String() string
- func (m *WriteAuthorizationModelRequest) Validate() error
- func (m *WriteAuthorizationModelRequest) ValidateAll() error
- type WriteAuthorizationModelRequestMultiError
- type WriteAuthorizationModelRequestValidationError
- func (e WriteAuthorizationModelRequestValidationError) Cause() error
- func (e WriteAuthorizationModelRequestValidationError) Error() string
- func (e WriteAuthorizationModelRequestValidationError) ErrorName() string
- func (e WriteAuthorizationModelRequestValidationError) Field() string
- func (e WriteAuthorizationModelRequestValidationError) Key() bool
- func (e WriteAuthorizationModelRequestValidationError) Reason() string
- type WriteAuthorizationModelResponse
- func (*WriteAuthorizationModelResponse) Descriptor() ([]byte, []int)deprecated
- func (x *WriteAuthorizationModelResponse) GetAuthorizationModelId() string
- func (*WriteAuthorizationModelResponse) ProtoMessage()
- func (x *WriteAuthorizationModelResponse) ProtoReflect() protoreflect.Message
- func (x *WriteAuthorizationModelResponse) Reset()
- func (x *WriteAuthorizationModelResponse) String() string
- func (m *WriteAuthorizationModelResponse) Validate() error
- func (m *WriteAuthorizationModelResponse) ValidateAll() error
- type WriteAuthorizationModelResponseMultiError
- type WriteAuthorizationModelResponseValidationError
- func (e WriteAuthorizationModelResponseValidationError) Cause() error
- func (e WriteAuthorizationModelResponseValidationError) Error() string
- func (e WriteAuthorizationModelResponseValidationError) ErrorName() string
- func (e WriteAuthorizationModelResponseValidationError) Field() string
- func (e WriteAuthorizationModelResponseValidationError) Key() bool
- func (e WriteAuthorizationModelResponseValidationError) Reason() string
- type WriteRequest
- func (*WriteRequest) Descriptor() ([]byte, []int)deprecated
- func (x *WriteRequest) GetAuthorizationModelId() string
- func (x *WriteRequest) GetDeletes() *WriteRequestDeletes
- func (x *WriteRequest) GetStoreId() string
- func (x *WriteRequest) GetWrites() *WriteRequestWrites
- func (*WriteRequest) ProtoMessage()
- func (x *WriteRequest) ProtoReflect() protoreflect.Message
- func (x *WriteRequest) Reset()
- func (x *WriteRequest) String() string
- func (m *WriteRequest) Validate() error
- func (m *WriteRequest) ValidateAll() error
- type WriteRequestDeletes
- func (*WriteRequestDeletes) Descriptor() ([]byte, []int)deprecated
- func (x *WriteRequestDeletes) GetTupleKeys() []*TupleKeyWithoutCondition
- func (*WriteRequestDeletes) ProtoMessage()
- func (x *WriteRequestDeletes) ProtoReflect() protoreflect.Message
- func (x *WriteRequestDeletes) Reset()
- func (x *WriteRequestDeletes) String() string
- func (m *WriteRequestDeletes) Validate() error
- func (m *WriteRequestDeletes) ValidateAll() error
- type WriteRequestDeletesMultiError
- type WriteRequestDeletesValidationError
- func (e WriteRequestDeletesValidationError) Cause() error
- func (e WriteRequestDeletesValidationError) Error() string
- func (e WriteRequestDeletesValidationError) ErrorName() string
- func (e WriteRequestDeletesValidationError) Field() string
- func (e WriteRequestDeletesValidationError) Key() bool
- func (e WriteRequestDeletesValidationError) Reason() string
- type WriteRequestMultiError
- type WriteRequestValidationError
- func (e WriteRequestValidationError) Cause() error
- func (e WriteRequestValidationError) Error() string
- func (e WriteRequestValidationError) ErrorName() string
- func (e WriteRequestValidationError) Field() string
- func (e WriteRequestValidationError) Key() bool
- func (e WriteRequestValidationError) Reason() string
- type WriteRequestWrites
- func (*WriteRequestWrites) Descriptor() ([]byte, []int)deprecated
- func (x *WriteRequestWrites) GetTupleKeys() []*TupleKey
- func (*WriteRequestWrites) ProtoMessage()
- func (x *WriteRequestWrites) ProtoReflect() protoreflect.Message
- func (x *WriteRequestWrites) Reset()
- func (x *WriteRequestWrites) String() string
- func (m *WriteRequestWrites) Validate() error
- func (m *WriteRequestWrites) ValidateAll() error
- type WriteRequestWritesMultiError
- type WriteRequestWritesValidationError
- func (e WriteRequestWritesValidationError) Cause() error
- func (e WriteRequestWritesValidationError) Error() string
- func (e WriteRequestWritesValidationError) ErrorName() string
- func (e WriteRequestWritesValidationError) Field() string
- func (e WriteRequestWritesValidationError) Key() bool
- func (e WriteRequestWritesValidationError) Reason() string
- type WriteResponse
- func (*WriteResponse) Descriptor() ([]byte, []int)deprecated
- func (*WriteResponse) ProtoMessage()
- func (x *WriteResponse) ProtoReflect() protoreflect.Message
- func (x *WriteResponse) Reset()
- func (x *WriteResponse) String() string
- func (m *WriteResponse) Validate() error
- func (m *WriteResponse) ValidateAll() error
- type WriteResponseMultiError
- type WriteResponseValidationError
- func (e WriteResponseValidationError) Cause() error
- func (e WriteResponseValidationError) Error() string
- func (e WriteResponseValidationError) ErrorName() string
- func (e WriteResponseValidationError) Field() string
- func (e WriteResponseValidationError) Key() bool
- func (e WriteResponseValidationError) Reason() string
Constants ¶
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 ¶
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.
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.
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.
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.
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.
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.
var File_openfga_v1_authzmodel_proto protoreflect.FileDescriptor
var File_openfga_v1_errors_ignore_proto protoreflect.FileDescriptor
var File_openfga_v1_openapi_proto protoreflect.FileDescriptor
var File_openfga_v1_openfga_proto protoreflect.FileDescriptor
var File_openfga_v1_openfga_service_proto protoreflect.FileDescriptor
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 ¶
func (m AbortedMessageResponseMultiError) Error() string
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 ¶
func (e AbortedMessageResponseValidationError) Cause() error
Cause function returns cause value.
func (AbortedMessageResponseValidationError) Error ¶
func (e AbortedMessageResponseValidationError) Error() string
Error satisfies the builtin error interface
func (AbortedMessageResponseValidationError) ErrorName ¶
func (e AbortedMessageResponseValidationError) ErrorName() string
ErrorName returns error name.
func (AbortedMessageResponseValidationError) Field ¶
func (e AbortedMessageResponseValidationError) Field() string
Field function returns field value.
func (AbortedMessageResponseValidationError) Key ¶
func (e AbortedMessageResponseValidationError) Key() bool
Key function returns key value.
func (AbortedMessageResponseValidationError) Reason ¶
func (e AbortedMessageResponseValidationError) Reason() string
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) GetExpectation ¶
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) Validate ¶
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 ¶
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 ¶
func (m AssertionTupleKeyMultiError) Error() string
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 ¶
func (e AssertionTupleKeyValidationError) Cause() error
Cause function returns cause value.
func (AssertionTupleKeyValidationError) Error ¶
func (e AssertionTupleKeyValidationError) Error() string
Error satisfies the builtin error interface
func (AssertionTupleKeyValidationError) ErrorName ¶
func (e AssertionTupleKeyValidationError) ErrorName() string
ErrorName returns error name.
func (AssertionTupleKeyValidationError) Field ¶
func (e AssertionTupleKeyValidationError) Field() string
Field function returns field value.
func (AssertionTupleKeyValidationError) Key ¶
func (e AssertionTupleKeyValidationError) Key() bool
Key function returns key value.
func (AssertionTupleKeyValidationError) Reason ¶
func (e AssertionTupleKeyValidationError) Reason() string
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 ¶
func (e AssertionValidationError) Key() bool
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 ¶
func (e AssertionsValidationError) Error() string
Error satisfies the builtin error interface
func (AssertionsValidationError) ErrorName ¶
func (e AssertionsValidationError) ErrorName() string
ErrorName returns error name.
func (AssertionsValidationError) Field ¶
func (e AssertionsValidationError) Field() string
Field function returns field value.
func (AssertionsValidationError) Key ¶
func (e AssertionsValidationError) Key() bool
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) Descriptor() protoreflect.EnumDescriptor
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 (x AuthErrorCode) Number() protoreflect.EnumNumber
func (AuthErrorCode) String ¶
func (x AuthErrorCode) String() string
func (AuthErrorCode) Type ¶
func (AuthErrorCode) Type() protoreflect.EnumType
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 ¶
func (m AuthorizationModelMultiError) Error() string
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 ¶
func (e AuthorizationModelValidationError) Cause() error
Cause function returns cause value.
func (AuthorizationModelValidationError) Error ¶
func (e AuthorizationModelValidationError) Error() string
Error satisfies the builtin error interface
func (AuthorizationModelValidationError) ErrorName ¶
func (e AuthorizationModelValidationError) ErrorName() string
ErrorName returns error name.
func (AuthorizationModelValidationError) Field ¶
func (e AuthorizationModelValidationError) Field() string
Field function returns field value.
func (AuthorizationModelValidationError) Key ¶
func (e AuthorizationModelValidationError) Key() bool
Key function returns key value.
func (AuthorizationModelValidationError) Reason ¶
func (e AuthorizationModelValidationError) Reason() string
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 ¶
func (m CheckRequestTupleKeyMultiError) Error() string
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 ¶
func (e CheckRequestTupleKeyValidationError) Cause() error
Cause function returns cause value.
func (CheckRequestTupleKeyValidationError) Error ¶
func (e CheckRequestTupleKeyValidationError) Error() string
Error satisfies the builtin error interface
func (CheckRequestTupleKeyValidationError) ErrorName ¶
func (e CheckRequestTupleKeyValidationError) ErrorName() string
ErrorName returns error name.
func (CheckRequestTupleKeyValidationError) Field ¶
func (e CheckRequestTupleKeyValidationError) Field() string
Field function returns field value.
func (CheckRequestTupleKeyValidationError) Key ¶
func (e CheckRequestTupleKeyValidationError) Key() bool
Key function returns key value.
func (CheckRequestTupleKeyValidationError) Reason ¶
func (e CheckRequestTupleKeyValidationError) Reason() string
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 ¶
func (e CheckRequestValidationError) Cause() error
Cause function returns cause value.
func (CheckRequestValidationError) Error ¶
func (e CheckRequestValidationError) Error() string
Error satisfies the builtin error interface
func (CheckRequestValidationError) ErrorName ¶
func (e CheckRequestValidationError) ErrorName() string
ErrorName returns error name.
func (CheckRequestValidationError) Field ¶
func (e CheckRequestValidationError) Field() string
Field function returns field value.
func (CheckRequestValidationError) Key ¶
func (e CheckRequestValidationError) Key() bool
Key function returns key value.
func (CheckRequestValidationError) Reason ¶
func (e CheckRequestValidationError) Reason() string
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 ¶
func (e CheckResponseValidationError) Cause() error
Cause function returns cause value.
func (CheckResponseValidationError) Error ¶
func (e CheckResponseValidationError) Error() string
Error satisfies the builtin error interface
func (CheckResponseValidationError) ErrorName ¶
func (e CheckResponseValidationError) ErrorName() string
ErrorName returns error name.
func (CheckResponseValidationError) Field ¶
func (e CheckResponseValidationError) Field() string
Field function returns field value.
func (CheckResponseValidationError) Key ¶
func (e CheckResponseValidationError) Key() bool
Key function returns key value.
func (CheckResponseValidationError) Reason ¶
func (e CheckResponseValidationError) Reason() string
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 ¶
func (m ComputedUsersetMultiError) Error() string
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 ¶
func (e ComputedUsersetValidationError) Cause() error
Cause function returns cause value.
func (ComputedUsersetValidationError) Error ¶
func (e ComputedUsersetValidationError) Error() string
Error satisfies the builtin error interface
func (ComputedUsersetValidationError) ErrorName ¶
func (e ComputedUsersetValidationError) ErrorName() string
ErrorName returns error name.
func (ComputedUsersetValidationError) Field ¶
func (e ComputedUsersetValidationError) Field() string
Field function returns field value.
func (ComputedUsersetValidationError) Key ¶
func (e ComputedUsersetValidationError) Key() bool
Key function returns key value.
func (ComputedUsersetValidationError) Reason ¶
func (e ComputedUsersetValidationError) Reason() string
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) GetExpression ¶
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) Validate ¶
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 ¶
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 (x *ConditionParamTypeRef) GetTypeName() ConditionParamTypeRef_TypeName
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 ¶
func (m ConditionParamTypeRefMultiError) Error() string
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 ¶
func (e ConditionParamTypeRefValidationError) Cause() error
Cause function returns cause value.
func (ConditionParamTypeRefValidationError) Error ¶
func (e ConditionParamTypeRefValidationError) Error() string
Error satisfies the builtin error interface
func (ConditionParamTypeRefValidationError) ErrorName ¶
func (e ConditionParamTypeRefValidationError) ErrorName() string
ErrorName returns error name.
func (ConditionParamTypeRefValidationError) Field ¶
func (e ConditionParamTypeRefValidationError) Field() string
Field function returns field value.
func (ConditionParamTypeRefValidationError) Key ¶
func (e ConditionParamTypeRefValidationError) Key() bool
Key function returns key value.
func (ConditionParamTypeRefValidationError) Reason ¶
func (e ConditionParamTypeRefValidationError) Reason() string
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) Descriptor() protoreflect.EnumDescriptor
func (ConditionParamTypeRef_TypeName) Enum ¶
func (x ConditionParamTypeRef_TypeName) Enum() *ConditionParamTypeRef_TypeName
func (ConditionParamTypeRef_TypeName) EnumDescriptor
deprecated
func (ConditionParamTypeRef_TypeName) EnumDescriptor() ([]byte, []int)
Deprecated: Use ConditionParamTypeRef_TypeName.Descriptor instead.
func (ConditionParamTypeRef_TypeName) Number ¶
func (x ConditionParamTypeRef_TypeName) Number() protoreflect.EnumNumber
func (ConditionParamTypeRef_TypeName) String ¶
func (x ConditionParamTypeRef_TypeName) String() string
func (ConditionParamTypeRef_TypeName) Type ¶
func (ConditionParamTypeRef_TypeName) Type() protoreflect.EnumType
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 ¶
func (e ConditionValidationError) Key() bool
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 ¶
func (m ContextualTupleKeysMultiError) Error() string
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 ¶
func (e ContextualTupleKeysValidationError) Cause() error
Cause function returns cause value.
func (ContextualTupleKeysValidationError) Error ¶
func (e ContextualTupleKeysValidationError) Error() string
Error satisfies the builtin error interface
func (ContextualTupleKeysValidationError) ErrorName ¶
func (e ContextualTupleKeysValidationError) ErrorName() string
ErrorName returns error name.
func (ContextualTupleKeysValidationError) Field ¶
func (e ContextualTupleKeysValidationError) Field() string
Field function returns field value.
func (ContextualTupleKeysValidationError) Key ¶
func (e ContextualTupleKeysValidationError) Key() bool
Key function returns key value.
func (ContextualTupleKeysValidationError) Reason ¶
func (e ContextualTupleKeysValidationError) Reason() string
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 ¶
func (m CreateStoreRequestMultiError) Error() string
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 ¶
func (e CreateStoreRequestValidationError) Cause() error
Cause function returns cause value.
func (CreateStoreRequestValidationError) Error ¶
func (e CreateStoreRequestValidationError) Error() string
Error satisfies the builtin error interface
func (CreateStoreRequestValidationError) ErrorName ¶
func (e CreateStoreRequestValidationError) ErrorName() string
ErrorName returns error name.
func (CreateStoreRequestValidationError) Field ¶
func (e CreateStoreRequestValidationError) Field() string
Field function returns field value.
func (CreateStoreRequestValidationError) Key ¶
func (e CreateStoreRequestValidationError) Key() bool
Key function returns key value.
func (CreateStoreRequestValidationError) Reason ¶
func (e CreateStoreRequestValidationError) Reason() string
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 ¶
func (m CreateStoreResponseMultiError) Error() string
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 ¶
func (e CreateStoreResponseValidationError) Cause() error
Cause function returns cause value.
func (CreateStoreResponseValidationError) Error ¶
func (e CreateStoreResponseValidationError) Error() string
Error satisfies the builtin error interface
func (CreateStoreResponseValidationError) ErrorName ¶
func (e CreateStoreResponseValidationError) ErrorName() string
ErrorName returns error name.
func (CreateStoreResponseValidationError) Field ¶
func (e CreateStoreResponseValidationError) Field() string
Field function returns field value.
func (CreateStoreResponseValidationError) Key ¶
func (e CreateStoreResponseValidationError) Key() bool
Key function returns key value.
func (CreateStoreResponseValidationError) Reason ¶
func (e CreateStoreResponseValidationError) Reason() string
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 ¶
func (m DeleteStoreRequestMultiError) Error() string
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 ¶
func (e DeleteStoreRequestValidationError) Cause() error
Cause function returns cause value.
func (DeleteStoreRequestValidationError) Error ¶
func (e DeleteStoreRequestValidationError) Error() string
Error satisfies the builtin error interface
func (DeleteStoreRequestValidationError) ErrorName ¶
func (e DeleteStoreRequestValidationError) ErrorName() string
ErrorName returns error name.
func (DeleteStoreRequestValidationError) Field ¶
func (e DeleteStoreRequestValidationError) Field() string
Field function returns field value.
func (DeleteStoreRequestValidationError) Key ¶
func (e DeleteStoreRequestValidationError) Key() bool
Key function returns key value.
func (DeleteStoreRequestValidationError) Reason ¶
func (e DeleteStoreRequestValidationError) Reason() string
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 ¶
func (m DeleteStoreResponseMultiError) Error() string
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 ¶
func (e DeleteStoreResponseValidationError) Cause() error
Cause function returns cause value.
func (DeleteStoreResponseValidationError) Error ¶
func (e DeleteStoreResponseValidationError) Error() string
Error satisfies the builtin error interface
func (DeleteStoreResponseValidationError) ErrorName ¶
func (e DeleteStoreResponseValidationError) ErrorName() string
ErrorName returns error name.
func (DeleteStoreResponseValidationError) Field ¶
func (e DeleteStoreResponseValidationError) Field() string
Field function returns field value.
func (DeleteStoreResponseValidationError) Key ¶
func (e DeleteStoreResponseValidationError) Key() bool
Key function returns key value.
func (DeleteStoreResponseValidationError) Reason ¶
func (e DeleteStoreResponseValidationError) Reason() string
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 ¶
func (e DifferenceValidationError) Error() string
Error satisfies the builtin error interface
func (DifferenceValidationError) ErrorName ¶
func (e DifferenceValidationError) ErrorName() string
ErrorName returns error name.
func (DifferenceValidationError) Field ¶
func (e DifferenceValidationError) Field() string
Field function returns field value.
func (DifferenceValidationError) Key ¶
func (e DifferenceValidationError) Key() bool
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 ¶
func (e DirectUsersetValidationError) Cause() error
Cause function returns cause value.
func (DirectUsersetValidationError) Error ¶
func (e DirectUsersetValidationError) Error() string
Error satisfies the builtin error interface
func (DirectUsersetValidationError) ErrorName ¶
func (e DirectUsersetValidationError) ErrorName() string
ErrorName returns error name.
func (DirectUsersetValidationError) Field ¶
func (e DirectUsersetValidationError) Field() string
Field function returns field value.
func (DirectUsersetValidationError) Key ¶
func (e DirectUsersetValidationError) Key() bool
Key function returns key value.
func (DirectUsersetValidationError) Reason ¶
func (e DirectUsersetValidationError) Reason() string
Reason function returns reason value.
type ErrorCode ¶
type ErrorCode int32
const ( ErrorCode_no_error ErrorCode = 0 ErrorCode_validation_error ErrorCode = 2000 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_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_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_unsupported_schema_version ErrorCode = 2057 )
func (ErrorCode) Descriptor ¶
func (ErrorCode) Descriptor() protoreflect.EnumDescriptor
func (ErrorCode) EnumDescriptor
deprecated
func (ErrorCode) Number ¶
func (x ErrorCode) Number() protoreflect.EnumNumber
func (ErrorCode) Type ¶
func (ErrorCode) Type() protoreflect.EnumType
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 ¶
func (m ErrorMessageRequestMultiError) Error() string
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 ¶
func (e ErrorMessageRequestValidationError) Cause() error
Cause function returns cause value.
func (ErrorMessageRequestValidationError) Error ¶
func (e ErrorMessageRequestValidationError) Error() string
Error satisfies the builtin error interface
func (ErrorMessageRequestValidationError) ErrorName ¶
func (e ErrorMessageRequestValidationError) ErrorName() string
ErrorName returns error name.
func (ErrorMessageRequestValidationError) Field ¶
func (e ErrorMessageRequestValidationError) Field() string
Field function returns field value.
func (ErrorMessageRequestValidationError) Key ¶
func (e ErrorMessageRequestValidationError) Key() bool
Key function returns key value.
func (ErrorMessageRequestValidationError) Reason ¶
func (e ErrorMessageRequestValidationError) Reason() string
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 ¶
func (m ExpandRequestTupleKeyMultiError) Error() string
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 ¶
func (e ExpandRequestTupleKeyValidationError) Cause() error
Cause function returns cause value.
func (ExpandRequestTupleKeyValidationError) Error ¶
func (e ExpandRequestTupleKeyValidationError) Error() string
Error satisfies the builtin error interface
func (ExpandRequestTupleKeyValidationError) ErrorName ¶
func (e ExpandRequestTupleKeyValidationError) ErrorName() string
ErrorName returns error name.
func (ExpandRequestTupleKeyValidationError) Field ¶
func (e ExpandRequestTupleKeyValidationError) Field() string
Field function returns field value.
func (ExpandRequestTupleKeyValidationError) Key ¶
func (e ExpandRequestTupleKeyValidationError) Key() bool
Key function returns key value.
func (ExpandRequestTupleKeyValidationError) Reason ¶
func (e ExpandRequestTupleKeyValidationError) Reason() string
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 ¶
func (e ExpandRequestValidationError) Cause() error
Cause function returns cause value.
func (ExpandRequestValidationError) Error ¶
func (e ExpandRequestValidationError) Error() string
Error satisfies the builtin error interface
func (ExpandRequestValidationError) ErrorName ¶
func (e ExpandRequestValidationError) ErrorName() string
ErrorName returns error name.
func (ExpandRequestValidationError) Field ¶
func (e ExpandRequestValidationError) Field() string
Field function returns field value.
func (ExpandRequestValidationError) Key ¶
func (e ExpandRequestValidationError) Key() bool
Key function returns key value.
func (ExpandRequestValidationError) Reason ¶
func (e ExpandRequestValidationError) Reason() string
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 ¶
func (e ExpandResponseValidationError) Cause() error
Cause function returns cause value.
func (ExpandResponseValidationError) Error ¶
func (e ExpandResponseValidationError) Error() string
Error satisfies the builtin error interface
func (ExpandResponseValidationError) ErrorName ¶
func (e ExpandResponseValidationError) ErrorName() string
ErrorName returns error name.
func (ExpandResponseValidationError) Field ¶
func (e ExpandResponseValidationError) Field() string
Field function returns field value.
func (ExpandResponseValidationError) Key ¶
func (e ExpandResponseValidationError) Key() bool
Key function returns key value.
func (ExpandResponseValidationError) Reason ¶
func (e ExpandResponseValidationError) Reason() string
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 ¶
func (m GetStoreRequestMultiError) Error() string
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 ¶
func (e GetStoreRequestValidationError) Cause() error
Cause function returns cause value.
func (GetStoreRequestValidationError) Error ¶
func (e GetStoreRequestValidationError) Error() string
Error satisfies the builtin error interface
func (GetStoreRequestValidationError) ErrorName ¶
func (e GetStoreRequestValidationError) ErrorName() string
ErrorName returns error name.
func (GetStoreRequestValidationError) Field ¶
func (e GetStoreRequestValidationError) Field() string
Field function returns field value.
func (GetStoreRequestValidationError) Key ¶
func (e GetStoreRequestValidationError) Key() bool
Key function returns key value.
func (GetStoreRequestValidationError) Reason ¶
func (e GetStoreRequestValidationError) Reason() string
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 ¶
func (m GetStoreResponseMultiError) Error() string
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 ¶
func (e GetStoreResponseValidationError) Cause() error
Cause function returns cause value.
func (GetStoreResponseValidationError) Error ¶
func (e GetStoreResponseValidationError) Error() string
Error satisfies the builtin error interface
func (GetStoreResponseValidationError) ErrorName ¶
func (e GetStoreResponseValidationError) ErrorName() string
ErrorName returns error name.
func (GetStoreResponseValidationError) Field ¶
func (e GetStoreResponseValidationError) Field() string
Field function returns field value.
func (GetStoreResponseValidationError) Key ¶
func (e GetStoreResponseValidationError) Key() bool
Key function returns key value.
func (GetStoreResponseValidationError) Reason ¶
func (e GetStoreResponseValidationError) Reason() string
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_data_loss InternalErrorCode = 4011 )
func (InternalErrorCode) Descriptor ¶
func (InternalErrorCode) Descriptor() protoreflect.EnumDescriptor
func (InternalErrorCode) Enum ¶
func (x InternalErrorCode) Enum() *InternalErrorCode
func (InternalErrorCode) EnumDescriptor
deprecated
func (InternalErrorCode) EnumDescriptor() ([]byte, []int)
Deprecated: Use InternalErrorCode.Descriptor instead.
func (InternalErrorCode) Number ¶
func (x InternalErrorCode) Number() protoreflect.EnumNumber
func (InternalErrorCode) String ¶
func (x InternalErrorCode) String() string
func (InternalErrorCode) Type ¶
func (InternalErrorCode) Type() protoreflect.EnumType
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 (x *InternalErrorMessageResponse) GetCode() InternalErrorCode
func (*InternalErrorMessageResponse) GetMessage ¶
func (x *InternalErrorMessageResponse) GetMessage() string
func (*InternalErrorMessageResponse) ProtoMessage ¶
func (*InternalErrorMessageResponse) ProtoMessage()
func (*InternalErrorMessageResponse) ProtoReflect ¶
func (x *InternalErrorMessageResponse) ProtoReflect() protoreflect.Message
func (*InternalErrorMessageResponse) Reset ¶
func (x *InternalErrorMessageResponse) Reset()
func (*InternalErrorMessageResponse) String ¶
func (x *InternalErrorMessageResponse) String() 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 ¶
func (m InternalErrorMessageResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (InternalErrorMessageResponseMultiError) Error ¶
func (m InternalErrorMessageResponseMultiError) Error() string
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 ¶
func (e InternalErrorMessageResponseValidationError) Cause() error
Cause function returns cause value.
func (InternalErrorMessageResponseValidationError) Error ¶
func (e InternalErrorMessageResponseValidationError) Error() string
Error satisfies the builtin error interface
func (InternalErrorMessageResponseValidationError) ErrorName ¶
func (e InternalErrorMessageResponseValidationError) ErrorName() string
ErrorName returns error name.
func (InternalErrorMessageResponseValidationError) Field ¶
func (e InternalErrorMessageResponseValidationError) Field() string
Field function returns field value.
func (InternalErrorMessageResponseValidationError) Key ¶
func (e InternalErrorMessageResponseValidationError) Key() bool
Key function returns key value.
func (InternalErrorMessageResponseValidationError) Reason ¶
func (e InternalErrorMessageResponseValidationError) Reason() string
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 ¶
func (m ListObjectsRequestMultiError) Error() string
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 ¶
func (e ListObjectsRequestValidationError) Cause() error
Cause function returns cause value.
func (ListObjectsRequestValidationError) Error ¶
func (e ListObjectsRequestValidationError) Error() string
Error satisfies the builtin error interface
func (ListObjectsRequestValidationError) ErrorName ¶
func (e ListObjectsRequestValidationError) ErrorName() string
ErrorName returns error name.
func (ListObjectsRequestValidationError) Field ¶
func (e ListObjectsRequestValidationError) Field() string
Field function returns field value.
func (ListObjectsRequestValidationError) Key ¶
func (e ListObjectsRequestValidationError) Key() bool
Key function returns key value.
func (ListObjectsRequestValidationError) Reason ¶
func (e ListObjectsRequestValidationError) Reason() string
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 ¶
func (m ListObjectsResponseMultiError) Error() string
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 ¶
func (e ListObjectsResponseValidationError) Cause() error
Cause function returns cause value.
func (ListObjectsResponseValidationError) Error ¶
func (e ListObjectsResponseValidationError) Error() string
Error satisfies the builtin error interface
func (ListObjectsResponseValidationError) ErrorName ¶
func (e ListObjectsResponseValidationError) ErrorName() string
ErrorName returns error name.
func (ListObjectsResponseValidationError) Field ¶
func (e ListObjectsResponseValidationError) Field() string
Field function returns field value.
func (ListObjectsResponseValidationError) Key ¶
func (e ListObjectsResponseValidationError) Key() bool
Key function returns key value.
func (ListObjectsResponseValidationError) Reason ¶
func (e ListObjectsResponseValidationError) Reason() string
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 ¶
func (m ListStoresRequestMultiError) Error() string
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 ¶
func (e ListStoresRequestValidationError) Cause() error
Cause function returns cause value.
func (ListStoresRequestValidationError) Error ¶
func (e ListStoresRequestValidationError) Error() string
Error satisfies the builtin error interface
func (ListStoresRequestValidationError) ErrorName ¶
func (e ListStoresRequestValidationError) ErrorName() string
ErrorName returns error name.
func (ListStoresRequestValidationError) Field ¶
func (e ListStoresRequestValidationError) Field() string
Field function returns field value.
func (ListStoresRequestValidationError) Key ¶
func (e ListStoresRequestValidationError) Key() bool
Key function returns key value.
func (ListStoresRequestValidationError) Reason ¶
func (e ListStoresRequestValidationError) Reason() string
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 ¶
func (m ListStoresResponseMultiError) Error() string
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 ¶
func (e ListStoresResponseValidationError) Cause() error
Cause function returns cause value.
func (ListStoresResponseValidationError) Error ¶
func (e ListStoresResponseValidationError) Error() string
Error satisfies the builtin error interface
func (ListStoresResponseValidationError) ErrorName ¶
func (e ListStoresResponseValidationError) ErrorName() string
ErrorName returns error name.
func (ListStoresResponseValidationError) Field ¶
func (e ListStoresResponseValidationError) Field() string
Field function returns field value.
func (ListStoresResponseValidationError) Key ¶
func (e ListStoresResponseValidationError) Key() bool
Key function returns key value.
func (ListStoresResponseValidationError) Reason ¶
func (e ListStoresResponseValidationError) Reason() string
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) 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) Validate ¶
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 ¶
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) Descriptor() protoreflect.EnumDescriptor
func (NotFoundErrorCode) Enum ¶
func (x NotFoundErrorCode) Enum() *NotFoundErrorCode
func (NotFoundErrorCode) EnumDescriptor
deprecated
func (NotFoundErrorCode) EnumDescriptor() ([]byte, []int)
Deprecated: Use NotFoundErrorCode.Descriptor instead.
func (NotFoundErrorCode) Number ¶
func (x NotFoundErrorCode) Number() protoreflect.EnumNumber
func (NotFoundErrorCode) String ¶
func (x NotFoundErrorCode) String() string
func (NotFoundErrorCode) Type ¶
func (NotFoundErrorCode) Type() protoreflect.EnumType
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) ProtoMessage ¶
func (*Object) ProtoMessage()
func (*Object) ProtoReflect ¶
func (x *Object) ProtoReflect() protoreflect.Message
func (*Object) Validate ¶
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 ¶
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 ¶
func (e ObjectRelationValidationError) Cause() error
Cause function returns cause value.
func (ObjectRelationValidationError) Error ¶
func (e ObjectRelationValidationError) Error() string
Error satisfies the builtin error interface
func (ObjectRelationValidationError) ErrorName ¶
func (e ObjectRelationValidationError) ErrorName() string
ErrorName returns error name.
func (ObjectRelationValidationError) Field ¶
func (e ObjectRelationValidationError) Field() string
Field function returns field value.
func (ObjectRelationValidationError) Key ¶
func (e ObjectRelationValidationError) Key() bool
Key function returns key value.
func (ObjectRelationValidationError) Reason ¶
func (e ObjectRelationValidationError) Reason() string
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.
func NewOpenFGAServiceClient ¶
func NewOpenFGAServiceClient(cc grpc.ClientConnInterface) OpenFGAServiceClient
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 (x *PathUnknownErrorMessageResponse) GetCode() NotFoundErrorCode
func (*PathUnknownErrorMessageResponse) GetMessage ¶
func (x *PathUnknownErrorMessageResponse) GetMessage() string
func (*PathUnknownErrorMessageResponse) ProtoMessage ¶
func (*PathUnknownErrorMessageResponse) ProtoMessage()
func (*PathUnknownErrorMessageResponse) ProtoReflect ¶
func (x *PathUnknownErrorMessageResponse) ProtoReflect() protoreflect.Message
func (*PathUnknownErrorMessageResponse) Reset ¶
func (x *PathUnknownErrorMessageResponse) Reset()
func (*PathUnknownErrorMessageResponse) String ¶
func (x *PathUnknownErrorMessageResponse) String() 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 ¶
func (m PathUnknownErrorMessageResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (PathUnknownErrorMessageResponseMultiError) Error ¶
func (m PathUnknownErrorMessageResponseMultiError) Error() string
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 ¶
func (e PathUnknownErrorMessageResponseValidationError) Cause() error
Cause function returns cause value.
func (PathUnknownErrorMessageResponseValidationError) Error ¶
func (e PathUnknownErrorMessageResponseValidationError) Error() string
Error satisfies the builtin error interface
func (PathUnknownErrorMessageResponseValidationError) ErrorName ¶
func (e PathUnknownErrorMessageResponseValidationError) ErrorName() string
ErrorName returns error name.
func (PathUnknownErrorMessageResponseValidationError) Field ¶
func (e PathUnknownErrorMessageResponseValidationError) Field() string
Field function returns field value.
func (PathUnknownErrorMessageResponseValidationError) Key ¶
func (e PathUnknownErrorMessageResponseValidationError) Key() bool
Key function returns key value.
func (PathUnknownErrorMessageResponseValidationError) Reason ¶
func (e PathUnknownErrorMessageResponseValidationError) Reason() string
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 ¶
func (m ReadAssertionsRequestMultiError) Error() string
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 ¶
func (e ReadAssertionsRequestValidationError) Cause() error
Cause function returns cause value.
func (ReadAssertionsRequestValidationError) Error ¶
func (e ReadAssertionsRequestValidationError) Error() string
Error satisfies the builtin error interface
func (ReadAssertionsRequestValidationError) ErrorName ¶
func (e ReadAssertionsRequestValidationError) ErrorName() string
ErrorName returns error name.
func (ReadAssertionsRequestValidationError) Field ¶
func (e ReadAssertionsRequestValidationError) Field() string
Field function returns field value.
func (ReadAssertionsRequestValidationError) Key ¶
func (e ReadAssertionsRequestValidationError) Key() bool
Key function returns key value.
func (ReadAssertionsRequestValidationError) Reason ¶
func (e ReadAssertionsRequestValidationError) Reason() string
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 ¶
func (m ReadAssertionsResponseMultiError) Error() string
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 ¶
func (e ReadAssertionsResponseValidationError) Cause() error
Cause function returns cause value.
func (ReadAssertionsResponseValidationError) Error ¶
func (e ReadAssertionsResponseValidationError) Error() string
Error satisfies the builtin error interface
func (ReadAssertionsResponseValidationError) ErrorName ¶
func (e ReadAssertionsResponseValidationError) ErrorName() string
ErrorName returns error name.
func (ReadAssertionsResponseValidationError) Field ¶
func (e ReadAssertionsResponseValidationError) Field() string
Field function returns field value.
func (ReadAssertionsResponseValidationError) Key ¶
func (e ReadAssertionsResponseValidationError) Key() bool
Key function returns key value.
func (ReadAssertionsResponseValidationError) Reason ¶
func (e ReadAssertionsResponseValidationError) Reason() string
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 (x *ReadAuthorizationModelRequest) GetId() string
func (*ReadAuthorizationModelRequest) GetStoreId ¶
func (x *ReadAuthorizationModelRequest) GetStoreId() string
func (*ReadAuthorizationModelRequest) ProtoMessage ¶
func (*ReadAuthorizationModelRequest) ProtoMessage()
func (*ReadAuthorizationModelRequest) ProtoReflect ¶
func (x *ReadAuthorizationModelRequest) ProtoReflect() protoreflect.Message
func (*ReadAuthorizationModelRequest) Reset ¶
func (x *ReadAuthorizationModelRequest) Reset()
func (*ReadAuthorizationModelRequest) String ¶
func (x *ReadAuthorizationModelRequest) String() 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 ¶
func (m ReadAuthorizationModelRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ReadAuthorizationModelRequestMultiError) Error ¶
func (m ReadAuthorizationModelRequestMultiError) Error() string
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 ¶
func (e ReadAuthorizationModelRequestValidationError) Cause() error
Cause function returns cause value.
func (ReadAuthorizationModelRequestValidationError) Error ¶
func (e ReadAuthorizationModelRequestValidationError) Error() string
Error satisfies the builtin error interface
func (ReadAuthorizationModelRequestValidationError) ErrorName ¶
func (e ReadAuthorizationModelRequestValidationError) ErrorName() string
ErrorName returns error name.
func (ReadAuthorizationModelRequestValidationError) Field ¶
func (e ReadAuthorizationModelRequestValidationError) Field() string
Field function returns field value.
func (ReadAuthorizationModelRequestValidationError) Key ¶
func (e ReadAuthorizationModelRequestValidationError) Key() bool
Key function returns key value.
func (ReadAuthorizationModelRequestValidationError) Reason ¶
func (e ReadAuthorizationModelRequestValidationError) Reason() string
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 (x *ReadAuthorizationModelResponse) ProtoReflect() protoreflect.Message
func (*ReadAuthorizationModelResponse) Reset ¶
func (x *ReadAuthorizationModelResponse) Reset()
func (*ReadAuthorizationModelResponse) String ¶
func (x *ReadAuthorizationModelResponse) String() 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 ¶
func (m ReadAuthorizationModelResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ReadAuthorizationModelResponseMultiError) Error ¶
func (m ReadAuthorizationModelResponseMultiError) Error() string
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 ¶
func (e ReadAuthorizationModelResponseValidationError) Cause() error
Cause function returns cause value.
func (ReadAuthorizationModelResponseValidationError) Error ¶
func (e ReadAuthorizationModelResponseValidationError) Error() string
Error satisfies the builtin error interface
func (ReadAuthorizationModelResponseValidationError) ErrorName ¶
func (e ReadAuthorizationModelResponseValidationError) ErrorName() string
ErrorName returns error name.
func (ReadAuthorizationModelResponseValidationError) Field ¶
func (e ReadAuthorizationModelResponseValidationError) Field() string
Field function returns field value.
func (ReadAuthorizationModelResponseValidationError) Key ¶
func (e ReadAuthorizationModelResponseValidationError) Key() bool
Key function returns key value.
func (ReadAuthorizationModelResponseValidationError) Reason ¶
func (e ReadAuthorizationModelResponseValidationError) Reason() string
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 (x *ReadAuthorizationModelsRequest) GetPageSize() *wrapperspb.Int32Value
func (*ReadAuthorizationModelsRequest) GetStoreId ¶
func (x *ReadAuthorizationModelsRequest) GetStoreId() string
func (*ReadAuthorizationModelsRequest) ProtoMessage ¶
func (*ReadAuthorizationModelsRequest) ProtoMessage()
func (*ReadAuthorizationModelsRequest) ProtoReflect ¶
func (x *ReadAuthorizationModelsRequest) ProtoReflect() protoreflect.Message
func (*ReadAuthorizationModelsRequest) Reset ¶
func (x *ReadAuthorizationModelsRequest) Reset()
func (*ReadAuthorizationModelsRequest) String ¶
func (x *ReadAuthorizationModelsRequest) String() 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 ¶
func (m ReadAuthorizationModelsRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ReadAuthorizationModelsRequestMultiError) Error ¶
func (m ReadAuthorizationModelsRequestMultiError) Error() string
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 ¶
func (e ReadAuthorizationModelsRequestValidationError) Cause() error
Cause function returns cause value.
func (ReadAuthorizationModelsRequestValidationError) Error ¶
func (e ReadAuthorizationModelsRequestValidationError) Error() string
Error satisfies the builtin error interface
func (ReadAuthorizationModelsRequestValidationError) ErrorName ¶
func (e ReadAuthorizationModelsRequestValidationError) ErrorName() string
ErrorName returns error name.
func (ReadAuthorizationModelsRequestValidationError) Field ¶
func (e ReadAuthorizationModelsRequestValidationError) Field() string
Field function returns field value.
func (ReadAuthorizationModelsRequestValidationError) Key ¶
func (e ReadAuthorizationModelsRequestValidationError) Key() bool
Key function returns key value.
func (ReadAuthorizationModelsRequestValidationError) Reason ¶
func (e ReadAuthorizationModelsRequestValidationError) Reason() string
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 (x *ReadAuthorizationModelsResponse) ProtoReflect() protoreflect.Message
func (*ReadAuthorizationModelsResponse) Reset ¶
func (x *ReadAuthorizationModelsResponse) Reset()
func (*ReadAuthorizationModelsResponse) String ¶
func (x *ReadAuthorizationModelsResponse) String() 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 ¶
func (m ReadAuthorizationModelsResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ReadAuthorizationModelsResponseMultiError) Error ¶
func (m ReadAuthorizationModelsResponseMultiError) Error() string
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 ¶
func (e ReadAuthorizationModelsResponseValidationError) Cause() error
Cause function returns cause value.
func (ReadAuthorizationModelsResponseValidationError) Error ¶
func (e ReadAuthorizationModelsResponseValidationError) Error() string
Error satisfies the builtin error interface
func (ReadAuthorizationModelsResponseValidationError) ErrorName ¶
func (e ReadAuthorizationModelsResponseValidationError) ErrorName() string
ErrorName returns error name.
func (ReadAuthorizationModelsResponseValidationError) Field ¶
func (e ReadAuthorizationModelsResponseValidationError) Field() string
Field function returns field value.
func (ReadAuthorizationModelsResponseValidationError) Key ¶
func (e ReadAuthorizationModelsResponseValidationError) Key() bool
Key function returns key value.
func (ReadAuthorizationModelsResponseValidationError) Reason ¶
func (e ReadAuthorizationModelsResponseValidationError) Reason() string
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 ¶
func (m ReadChangesRequestMultiError) Error() string
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 ¶
func (e ReadChangesRequestValidationError) Cause() error
Cause function returns cause value.
func (ReadChangesRequestValidationError) Error ¶
func (e ReadChangesRequestValidationError) Error() string
Error satisfies the builtin error interface
func (ReadChangesRequestValidationError) ErrorName ¶
func (e ReadChangesRequestValidationError) ErrorName() string
ErrorName returns error name.
func (ReadChangesRequestValidationError) Field ¶
func (e ReadChangesRequestValidationError) Field() string
Field function returns field value.
func (ReadChangesRequestValidationError) Key ¶
func (e ReadChangesRequestValidationError) Key() bool
Key function returns key value.
func (ReadChangesRequestValidationError) Reason ¶
func (e ReadChangesRequestValidationError) Reason() string
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 ¶
func (m ReadChangesResponseMultiError) Error() string
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 ¶
func (e ReadChangesResponseValidationError) Cause() error
Cause function returns cause value.
func (ReadChangesResponseValidationError) Error ¶
func (e ReadChangesResponseValidationError) Error() string
Error satisfies the builtin error interface
func (ReadChangesResponseValidationError) ErrorName ¶
func (e ReadChangesResponseValidationError) ErrorName() string
ErrorName returns error name.
func (ReadChangesResponseValidationError) Field ¶
func (e ReadChangesResponseValidationError) Field() string
Field function returns field value.
func (ReadChangesResponseValidationError) Key ¶
func (e ReadChangesResponseValidationError) Key() bool
Key function returns key value.
func (ReadChangesResponseValidationError) Reason ¶
func (e ReadChangesResponseValidationError) Reason() string
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 ¶
func (m ReadRequestTupleKeyMultiError) Error() string
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 ¶
func (e ReadRequestTupleKeyValidationError) Cause() error
Cause function returns cause value.
func (ReadRequestTupleKeyValidationError) Error ¶
func (e ReadRequestTupleKeyValidationError) Error() string
Error satisfies the builtin error interface
func (ReadRequestTupleKeyValidationError) ErrorName ¶
func (e ReadRequestTupleKeyValidationError) ErrorName() string
ErrorName returns error name.
func (ReadRequestTupleKeyValidationError) Field ¶
func (e ReadRequestTupleKeyValidationError) Field() string
Field function returns field value.
func (ReadRequestTupleKeyValidationError) Key ¶
func (e ReadRequestTupleKeyValidationError) Key() bool
Key function returns key value.
func (ReadRequestTupleKeyValidationError) Reason ¶
func (e ReadRequestTupleKeyValidationError) Reason() string
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 ¶
func (e ReadRequestValidationError) Cause() error
Cause function returns cause value.
func (ReadRequestValidationError) Error ¶
func (e ReadRequestValidationError) Error() string
Error satisfies the builtin error interface
func (ReadRequestValidationError) ErrorName ¶
func (e ReadRequestValidationError) ErrorName() string
ErrorName returns error name.
func (ReadRequestValidationError) Field ¶
func (e ReadRequestValidationError) Field() string
Field function returns field value.
func (ReadRequestValidationError) Key ¶
func (e ReadRequestValidationError) Key() bool
Key function returns key value.
func (ReadRequestValidationError) Reason ¶
func (e ReadRequestValidationError) Reason() string
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 ¶
func (e ReadResponseValidationError) Cause() error
Cause function returns cause value.
func (ReadResponseValidationError) Error ¶
func (e ReadResponseValidationError) Error() string
Error satisfies the builtin error interface
func (ReadResponseValidationError) ErrorName ¶
func (e ReadResponseValidationError) ErrorName() string
ErrorName returns error name.
func (ReadResponseValidationError) Field ¶
func (e ReadResponseValidationError) Field() string
Field function returns field value.
func (ReadResponseValidationError) Key ¶
func (e ReadResponseValidationError) Key() bool
Key function returns key value.
func (ReadResponseValidationError) Reason ¶
func (e ReadResponseValidationError) Reason() string
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) GetRewrite ¶
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) Validate ¶
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 ¶
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 ¶
func (m RelationMetadataMultiError) Error() string
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 ¶
func (e RelationMetadataValidationError) Cause() error
Cause function returns cause value.
func (RelationMetadataValidationError) Error ¶
func (e RelationMetadataValidationError) Error() string
Error satisfies the builtin error interface
func (RelationMetadataValidationError) ErrorName ¶
func (e RelationMetadataValidationError) ErrorName() string
ErrorName returns error name.
func (RelationMetadataValidationError) Field ¶
func (e RelationMetadataValidationError) Field() string
Field function returns field value.
func (RelationMetadataValidationError) Key ¶
func (e RelationMetadataValidationError) Key() bool
Key function returns key value.
func (RelationMetadataValidationError) Reason ¶
func (e RelationMetadataValidationError) Reason() string
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 ¶
func (m RelationReferenceMultiError) Error() string
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 ¶
func (e RelationReferenceValidationError) Cause() error
Cause function returns cause value.
func (RelationReferenceValidationError) Error ¶
func (e RelationReferenceValidationError) Error() string
Error satisfies the builtin error interface
func (RelationReferenceValidationError) ErrorName ¶
func (e RelationReferenceValidationError) ErrorName() string
ErrorName returns error name.
func (RelationReferenceValidationError) Field ¶
func (e RelationReferenceValidationError) Field() string
Field function returns field value.
func (RelationReferenceValidationError) Key ¶
func (e RelationReferenceValidationError) Key() bool
Key function returns key value.
func (RelationReferenceValidationError) Reason ¶
func (e RelationReferenceValidationError) Reason() string
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 ¶
func (m RelationTypeInfoMultiError) Error() string
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 ¶
func (e RelationTypeInfoValidationError) Cause() error
Cause function returns cause value.
func (RelationTypeInfoValidationError) Error ¶
func (e RelationTypeInfoValidationError) Error() string
Error satisfies the builtin error interface
func (RelationTypeInfoValidationError) ErrorName ¶
func (e RelationTypeInfoValidationError) ErrorName() string
ErrorName returns error name.
func (RelationTypeInfoValidationError) Field ¶
func (e RelationTypeInfoValidationError) Field() string
Field function returns field value.
func (RelationTypeInfoValidationError) Key ¶
func (e RelationTypeInfoValidationError) Key() bool
Key function returns key value.
func (RelationTypeInfoValidationError) Reason ¶
func (e RelationTypeInfoValidationError) Reason() string
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 ¶
func (m RelationshipConditionMultiError) Error() string
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 ¶
func (e RelationshipConditionValidationError) Cause() error
Cause function returns cause value.
func (RelationshipConditionValidationError) Error ¶
func (e RelationshipConditionValidationError) Error() string
Error satisfies the builtin error interface
func (RelationshipConditionValidationError) ErrorName ¶
func (e RelationshipConditionValidationError) ErrorName() string
ErrorName returns error name.
func (RelationshipConditionValidationError) Field ¶
func (e RelationshipConditionValidationError) Field() string
Field function returns field value.
func (RelationshipConditionValidationError) Key ¶
func (e RelationshipConditionValidationError) Key() bool
Key function returns key value.
func (RelationshipConditionValidationError) Reason ¶
func (e RelationshipConditionValidationError) Reason() string
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) GetCreatedAt ¶
func (x *Store) GetCreatedAt() *timestamppb.Timestamp
func (*Store) GetDeletedAt ¶
func (x *Store) GetDeletedAt() *timestamppb.Timestamp
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) Validate ¶
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 ¶
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 (x *StreamedListObjectsRequest) ProtoReflect() protoreflect.Message
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 ¶
func (m StreamedListObjectsRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (StreamedListObjectsRequestMultiError) Error ¶
func (m StreamedListObjectsRequestMultiError) Error() string
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 ¶
func (e StreamedListObjectsRequestValidationError) Cause() error
Cause function returns cause value.
func (StreamedListObjectsRequestValidationError) Error ¶
func (e StreamedListObjectsRequestValidationError) Error() string
Error satisfies the builtin error interface
func (StreamedListObjectsRequestValidationError) ErrorName ¶
func (e StreamedListObjectsRequestValidationError) ErrorName() string
ErrorName returns error name.
func (StreamedListObjectsRequestValidationError) Field ¶
func (e StreamedListObjectsRequestValidationError) Field() string
Field function returns field value.
func (StreamedListObjectsRequestValidationError) Key ¶
func (e StreamedListObjectsRequestValidationError) Key() bool
Key function returns key value.
func (StreamedListObjectsRequestValidationError) Reason ¶
func (e StreamedListObjectsRequestValidationError) Reason() string
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 (x *StreamedListObjectsResponse) ProtoReflect() protoreflect.Message
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 ¶
func (m StreamedListObjectsResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (StreamedListObjectsResponseMultiError) Error ¶
func (m StreamedListObjectsResponseMultiError) Error() string
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 ¶
func (e StreamedListObjectsResponseValidationError) Cause() error
Cause function returns cause value.
func (StreamedListObjectsResponseValidationError) Error ¶
func (e StreamedListObjectsResponseValidationError) Error() string
Error satisfies the builtin error interface
func (StreamedListObjectsResponseValidationError) ErrorName ¶
func (e StreamedListObjectsResponseValidationError) ErrorName() string
ErrorName returns error name.
func (StreamedListObjectsResponseValidationError) Field ¶
func (e StreamedListObjectsResponseValidationError) Field() string
Field function returns field value.
func (StreamedListObjectsResponseValidationError) Key ¶
func (e StreamedListObjectsResponseValidationError) Key() bool
Key function returns key value.
func (StreamedListObjectsResponseValidationError) Reason ¶
func (e StreamedListObjectsResponseValidationError) Reason() string
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) GetTimestamp ¶
func (x *Tuple) GetTimestamp() *timestamppb.Timestamp
func (*Tuple) ProtoMessage ¶
func (*Tuple) ProtoMessage()
func (*Tuple) ProtoReflect ¶
func (x *Tuple) ProtoReflect() protoreflect.Message
func (*Tuple) Validate ¶
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 ¶
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 ¶
func (e TupleChangeValidationError) Cause() error
Cause function returns cause value.
func (TupleChangeValidationError) Error ¶
func (e TupleChangeValidationError) Error() string
Error satisfies the builtin error interface
func (TupleChangeValidationError) ErrorName ¶
func (e TupleChangeValidationError) ErrorName() string
ErrorName returns error name.
func (TupleChangeValidationError) Field ¶
func (e TupleChangeValidationError) Field() string
Field function returns field value.
func (TupleChangeValidationError) Key ¶
func (e TupleChangeValidationError) Key() bool
Key function returns key value.
func (TupleChangeValidationError) Reason ¶
func (e TupleChangeValidationError) Reason() string
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) GetCondition ¶
func (x *TupleKey) GetCondition() *RelationshipCondition
func (*TupleKey) GetRelation ¶
func (*TupleKey) ProtoMessage ¶
func (*TupleKey) ProtoMessage()
func (*TupleKey) ProtoReflect ¶
func (x *TupleKey) ProtoReflect() protoreflect.Message
func (*TupleKey) Validate ¶
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 ¶
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 ¶
func (m TupleKeyWithoutConditionMultiError) Error() string
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 ¶
func (e TupleKeyWithoutConditionValidationError) Cause() error
Cause function returns cause value.
func (TupleKeyWithoutConditionValidationError) Error ¶
func (e TupleKeyWithoutConditionValidationError) Error() string
Error satisfies the builtin error interface
func (TupleKeyWithoutConditionValidationError) ErrorName ¶
func (e TupleKeyWithoutConditionValidationError) ErrorName() string
ErrorName returns error name.
func (TupleKeyWithoutConditionValidationError) Field ¶
func (e TupleKeyWithoutConditionValidationError) Field() string
Field function returns field value.
func (TupleKeyWithoutConditionValidationError) Key ¶
func (e TupleKeyWithoutConditionValidationError) Key() bool
Key function returns key value.
func (TupleKeyWithoutConditionValidationError) Reason ¶
func (e TupleKeyWithoutConditionValidationError) Reason() string
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) GetTupleKeys ¶
func (*TupleKeys) ProtoMessage ¶
func (*TupleKeys) ProtoMessage()
func (*TupleKeys) ProtoReflect ¶
func (x *TupleKeys) ProtoReflect() protoreflect.Message
func (*TupleKeys) Validate ¶
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 ¶
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 ¶
func (e TupleKeysValidationError) Key() bool
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) Descriptor() protoreflect.EnumDescriptor
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 (x TupleOperation) Number() protoreflect.EnumNumber
func (TupleOperation) String ¶
func (x TupleOperation) String() string
func (TupleOperation) Type ¶
func (TupleOperation) Type() protoreflect.EnumType
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 ¶
func (e TupleToUsersetValidationError) Cause() error
Cause function returns cause value.
func (TupleToUsersetValidationError) Error ¶
func (e TupleToUsersetValidationError) Error() string
Error satisfies the builtin error interface
func (TupleToUsersetValidationError) ErrorName ¶
func (e TupleToUsersetValidationError) ErrorName() string
ErrorName returns error name.
func (TupleToUsersetValidationError) Field ¶
func (e TupleToUsersetValidationError) Field() string
Field function returns field value.
func (TupleToUsersetValidationError) Key ¶
func (e TupleToUsersetValidationError) Key() bool
Key function returns key value.
func (TupleToUsersetValidationError) Reason ¶
func (e TupleToUsersetValidationError) Reason() string
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 ¶
func (e TypeDefinitionValidationError) Cause() error
Cause function returns cause value.
func (TypeDefinitionValidationError) Error ¶
func (e TypeDefinitionValidationError) Error() string
Error satisfies the builtin error interface
func (TypeDefinitionValidationError) ErrorName ¶
func (e TypeDefinitionValidationError) ErrorName() string
ErrorName returns error name.
func (TypeDefinitionValidationError) Field ¶
func (e TypeDefinitionValidationError) Field() string
Field function returns field value.
func (TypeDefinitionValidationError) Key ¶
func (e TypeDefinitionValidationError) Key() bool
Key function returns key value.
func (TypeDefinitionValidationError) Reason ¶
func (e TypeDefinitionValidationError) Reason() string
Reason function returns reason value.
type UnimplementedOpenFGAServiceServer ¶
type UnimplementedOpenFGAServiceServer struct { }
UnimplementedOpenFGAServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedOpenFGAServiceServer) Check ¶
func (UnimplementedOpenFGAServiceServer) Check(context.Context, *CheckRequest) (*CheckResponse, error)
func (UnimplementedOpenFGAServiceServer) CreateStore ¶
func (UnimplementedOpenFGAServiceServer) CreateStore(context.Context, *CreateStoreRequest) (*CreateStoreResponse, error)
func (UnimplementedOpenFGAServiceServer) DeleteStore ¶
func (UnimplementedOpenFGAServiceServer) DeleteStore(context.Context, *DeleteStoreRequest) (*DeleteStoreResponse, error)
func (UnimplementedOpenFGAServiceServer) Expand ¶
func (UnimplementedOpenFGAServiceServer) Expand(context.Context, *ExpandRequest) (*ExpandResponse, error)
func (UnimplementedOpenFGAServiceServer) GetStore ¶
func (UnimplementedOpenFGAServiceServer) GetStore(context.Context, *GetStoreRequest) (*GetStoreResponse, error)
func (UnimplementedOpenFGAServiceServer) ListObjects ¶
func (UnimplementedOpenFGAServiceServer) ListObjects(context.Context, *ListObjectsRequest) (*ListObjectsResponse, error)
func (UnimplementedOpenFGAServiceServer) ListStores ¶
func (UnimplementedOpenFGAServiceServer) ListStores(context.Context, *ListStoresRequest) (*ListStoresResponse, error)
func (UnimplementedOpenFGAServiceServer) Read ¶
func (UnimplementedOpenFGAServiceServer) Read(context.Context, *ReadRequest) (*ReadResponse, error)
func (UnimplementedOpenFGAServiceServer) ReadAssertions ¶
func (UnimplementedOpenFGAServiceServer) ReadAssertions(context.Context, *ReadAssertionsRequest) (*ReadAssertionsResponse, error)
func (UnimplementedOpenFGAServiceServer) ReadAuthorizationModel ¶
func (UnimplementedOpenFGAServiceServer) ReadAuthorizationModel(context.Context, *ReadAuthorizationModelRequest) (*ReadAuthorizationModelResponse, error)
func (UnimplementedOpenFGAServiceServer) ReadAuthorizationModels ¶
func (UnimplementedOpenFGAServiceServer) ReadAuthorizationModels(context.Context, *ReadAuthorizationModelsRequest) (*ReadAuthorizationModelsResponse, error)
func (UnimplementedOpenFGAServiceServer) ReadChanges ¶
func (UnimplementedOpenFGAServiceServer) ReadChanges(context.Context, *ReadChangesRequest) (*ReadChangesResponse, error)
func (UnimplementedOpenFGAServiceServer) StreamedListObjects ¶
func (UnimplementedOpenFGAServiceServer) StreamedListObjects(*StreamedListObjectsRequest, OpenFGAService_StreamedListObjectsServer) error
func (UnimplementedOpenFGAServiceServer) UpdateStore ¶
func (UnimplementedOpenFGAServiceServer) UpdateStore(context.Context, *UpdateStoreRequest) (*UpdateStoreResponse, error)
func (UnimplementedOpenFGAServiceServer) Write ¶
func (UnimplementedOpenFGAServiceServer) Write(context.Context, *WriteRequest) (*WriteResponse, error)
func (UnimplementedOpenFGAServiceServer) WriteAssertions ¶
func (UnimplementedOpenFGAServiceServer) WriteAssertions(context.Context, *WriteAssertionsRequest) (*WriteAssertionsResponse, error)
func (UnimplementedOpenFGAServiceServer) WriteAuthorizationModel ¶
func (UnimplementedOpenFGAServiceServer) WriteAuthorizationModel(context.Context, *WriteAuthorizationModelRequest) (*WriteAuthorizationModelResponse, error)
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 ¶
func (m UpdateStoreRequestMultiError) Error() string
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 ¶
func (e UpdateStoreRequestValidationError) Cause() error
Cause function returns cause value.
func (UpdateStoreRequestValidationError) Error ¶
func (e UpdateStoreRequestValidationError) Error() string
Error satisfies the builtin error interface
func (UpdateStoreRequestValidationError) ErrorName ¶
func (e UpdateStoreRequestValidationError) ErrorName() string
ErrorName returns error name.
func (UpdateStoreRequestValidationError) Field ¶
func (e UpdateStoreRequestValidationError) Field() string
Field function returns field value.
func (UpdateStoreRequestValidationError) Key ¶
func (e UpdateStoreRequestValidationError) Key() bool
Key function returns key value.
func (UpdateStoreRequestValidationError) Reason ¶
func (e UpdateStoreRequestValidationError) Reason() string
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 ¶
func (m UpdateStoreResponseMultiError) Error() string
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 ¶
func (e UpdateStoreResponseValidationError) Cause() error
Cause function returns cause value.
func (UpdateStoreResponseValidationError) Error ¶
func (e UpdateStoreResponseValidationError) Error() string
Error satisfies the builtin error interface
func (UpdateStoreResponseValidationError) ErrorName ¶
func (e UpdateStoreResponseValidationError) ErrorName() string
ErrorName returns error name.
func (UpdateStoreResponseValidationError) Field ¶
func (e UpdateStoreResponseValidationError) Field() string
Field function returns field value.
func (UpdateStoreResponseValidationError) Key ¶
func (e UpdateStoreResponseValidationError) Key() bool
Key function returns key value.
func (UpdateStoreResponseValidationError) Reason ¶
func (e UpdateStoreResponseValidationError) Reason() string
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) GetComputedUserset ¶
func (x *Userset) GetComputedUserset() *ObjectRelation
func (*Userset) GetDifference ¶
func (x *Userset) GetDifference() *Difference
func (*Userset) GetIntersection ¶
func (*Userset) GetThis ¶
func (x *Userset) GetThis() *DirectUserset
func (*Userset) GetTupleToUserset ¶
func (x *Userset) GetTupleToUserset() *TupleToUserset
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) Validate ¶
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 ¶
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 ¶
func (e UsersetTreeValidationError) Cause() error
Cause function returns cause value.
func (UsersetTreeValidationError) Error ¶
func (e UsersetTreeValidationError) Error() string
Error satisfies the builtin error interface
func (UsersetTreeValidationError) ErrorName ¶
func (e UsersetTreeValidationError) ErrorName() string
ErrorName returns error name.
func (UsersetTreeValidationError) Field ¶
func (e UsersetTreeValidationError) Field() string
Field function returns field value.
func (UsersetTreeValidationError) Key ¶
func (e UsersetTreeValidationError) Key() bool
Key function returns key value.
func (UsersetTreeValidationError) Reason ¶
func (e UsersetTreeValidationError) Reason() string
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 ¶
func (m UsersetTree_ComputedMultiError) Error() string
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 ¶
func (e UsersetTree_ComputedValidationError) Cause() error
Cause function returns cause value.
func (UsersetTree_ComputedValidationError) Error ¶
func (e UsersetTree_ComputedValidationError) Error() string
Error satisfies the builtin error interface
func (UsersetTree_ComputedValidationError) ErrorName ¶
func (e UsersetTree_ComputedValidationError) ErrorName() string
ErrorName returns error name.
func (UsersetTree_ComputedValidationError) Field ¶
func (e UsersetTree_ComputedValidationError) Field() string
Field function returns field value.
func (UsersetTree_ComputedValidationError) Key ¶
func (e UsersetTree_ComputedValidationError) Key() bool
Key function returns key value.
func (UsersetTree_ComputedValidationError) Reason ¶
func (e UsersetTree_ComputedValidationError) Reason() string
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 (x *UsersetTree_Difference) GetBase() *UsersetTree_Node
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 ¶
func (m UsersetTree_DifferenceMultiError) Error() string
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 ¶
func (e UsersetTree_DifferenceValidationError) Cause() error
Cause function returns cause value.
func (UsersetTree_DifferenceValidationError) Error ¶
func (e UsersetTree_DifferenceValidationError) Error() string
Error satisfies the builtin error interface
func (UsersetTree_DifferenceValidationError) ErrorName ¶
func (e UsersetTree_DifferenceValidationError) ErrorName() string
ErrorName returns error name.
func (UsersetTree_DifferenceValidationError) Field ¶
func (e UsersetTree_DifferenceValidationError) Field() string
Field function returns field value.
func (UsersetTree_DifferenceValidationError) Key ¶
func (e UsersetTree_DifferenceValidationError) Key() bool
Key function returns key value.
func (UsersetTree_DifferenceValidationError) Reason ¶
func (e UsersetTree_DifferenceValidationError) Reason() string
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 ¶
func (m UsersetTree_LeafMultiError) Error() string
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 ¶
func (e UsersetTree_LeafValidationError) Cause() error
Cause function returns cause value.
func (UsersetTree_LeafValidationError) Error ¶
func (e UsersetTree_LeafValidationError) Error() string
Error satisfies the builtin error interface
func (UsersetTree_LeafValidationError) ErrorName ¶
func (e UsersetTree_LeafValidationError) ErrorName() string
ErrorName returns error name.
func (UsersetTree_LeafValidationError) Field ¶
func (e UsersetTree_LeafValidationError) Field() string
Field function returns field value.
func (UsersetTree_LeafValidationError) Key ¶
func (e UsersetTree_LeafValidationError) Key() bool
Key function returns key value.
func (UsersetTree_LeafValidationError) Reason ¶
func (e UsersetTree_LeafValidationError) Reason() string
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 ¶
func (m UsersetTree_NodeMultiError) Error() string
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 ¶
func (e UsersetTree_NodeValidationError) Cause() error
Cause function returns cause value.
func (UsersetTree_NodeValidationError) Error ¶
func (e UsersetTree_NodeValidationError) Error() string
Error satisfies the builtin error interface
func (UsersetTree_NodeValidationError) ErrorName ¶
func (e UsersetTree_NodeValidationError) ErrorName() string
ErrorName returns error name.
func (UsersetTree_NodeValidationError) Field ¶
func (e UsersetTree_NodeValidationError) Field() string
Field function returns field value.
func (UsersetTree_NodeValidationError) Key ¶
func (e UsersetTree_NodeValidationError) Key() bool
Key function returns key value.
func (UsersetTree_NodeValidationError) Reason ¶
func (e UsersetTree_NodeValidationError) Reason() string
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 ¶
func (m UsersetTree_NodesMultiError) Error() string
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 ¶
func (e UsersetTree_NodesValidationError) Cause() error
Cause function returns cause value.
func (UsersetTree_NodesValidationError) Error ¶
func (e UsersetTree_NodesValidationError) Error() string
Error satisfies the builtin error interface
func (UsersetTree_NodesValidationError) ErrorName ¶
func (e UsersetTree_NodesValidationError) ErrorName() string
ErrorName returns error name.
func (UsersetTree_NodesValidationError) Field ¶
func (e UsersetTree_NodesValidationError) Field() string
Field function returns field value.
func (UsersetTree_NodesValidationError) Key ¶
func (e UsersetTree_NodesValidationError) Key() bool
Key function returns key value.
func (UsersetTree_NodesValidationError) Reason ¶
func (e UsersetTree_NodesValidationError) Reason() string
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 (x *UsersetTree_TupleToUserset) GetComputed() []*UsersetTree_Computed
func (*UsersetTree_TupleToUserset) GetTupleset ¶
func (x *UsersetTree_TupleToUserset) GetTupleset() string
func (*UsersetTree_TupleToUserset) ProtoMessage ¶
func (*UsersetTree_TupleToUserset) ProtoMessage()
func (*UsersetTree_TupleToUserset) ProtoReflect ¶
func (x *UsersetTree_TupleToUserset) ProtoReflect() protoreflect.Message
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 ¶
func (m UsersetTree_TupleToUsersetMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (UsersetTree_TupleToUsersetMultiError) Error ¶
func (m UsersetTree_TupleToUsersetMultiError) Error() string
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 ¶
func (e UsersetTree_TupleToUsersetValidationError) Cause() error
Cause function returns cause value.
func (UsersetTree_TupleToUsersetValidationError) Error ¶
func (e UsersetTree_TupleToUsersetValidationError) Error() string
Error satisfies the builtin error interface
func (UsersetTree_TupleToUsersetValidationError) ErrorName ¶
func (e UsersetTree_TupleToUsersetValidationError) ErrorName() string
ErrorName returns error name.
func (UsersetTree_TupleToUsersetValidationError) Field ¶
func (e UsersetTree_TupleToUsersetValidationError) Field() string
Field function returns field value.
func (UsersetTree_TupleToUsersetValidationError) Key ¶
func (e UsersetTree_TupleToUsersetValidationError) Key() bool
Key function returns key value.
func (UsersetTree_TupleToUsersetValidationError) Reason ¶
func (e UsersetTree_TupleToUsersetValidationError) Reason() string
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 ¶
func (m UsersetTree_UsersMultiError) Error() string
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 ¶
func (e UsersetTree_UsersValidationError) Cause() error
Cause function returns cause value.
func (UsersetTree_UsersValidationError) Error ¶
func (e UsersetTree_UsersValidationError) Error() string
Error satisfies the builtin error interface
func (UsersetTree_UsersValidationError) ErrorName ¶
func (e UsersetTree_UsersValidationError) ErrorName() string
ErrorName returns error name.
func (UsersetTree_UsersValidationError) Field ¶
func (e UsersetTree_UsersValidationError) Field() string
Field function returns field value.
func (UsersetTree_UsersValidationError) Key ¶
func (e UsersetTree_UsersValidationError) Key() bool
Key function returns key value.
func (UsersetTree_UsersValidationError) Reason ¶
func (e UsersetTree_UsersValidationError) Reason() string
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) ProtoMessage ¶
func (*Usersets) ProtoMessage()
func (*Usersets) ProtoReflect ¶
func (x *Usersets) ProtoReflect() protoreflect.Message
func (*Usersets) Validate ¶
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 ¶
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 (x *ValidationErrorMessageResponse) GetCode() ErrorCode
func (*ValidationErrorMessageResponse) GetMessage ¶
func (x *ValidationErrorMessageResponse) GetMessage() string
func (*ValidationErrorMessageResponse) ProtoMessage ¶
func (*ValidationErrorMessageResponse) ProtoMessage()
func (*ValidationErrorMessageResponse) ProtoReflect ¶
func (x *ValidationErrorMessageResponse) ProtoReflect() protoreflect.Message
func (*ValidationErrorMessageResponse) Reset ¶
func (x *ValidationErrorMessageResponse) Reset()
func (*ValidationErrorMessageResponse) String ¶
func (x *ValidationErrorMessageResponse) String() 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 ¶
func (m ValidationErrorMessageResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ValidationErrorMessageResponseMultiError) Error ¶
func (m ValidationErrorMessageResponseMultiError) Error() string
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 ¶
func (e ValidationErrorMessageResponseValidationError) Cause() error
Cause function returns cause value.
func (ValidationErrorMessageResponseValidationError) Error ¶
func (e ValidationErrorMessageResponseValidationError) Error() string
Error satisfies the builtin error interface
func (ValidationErrorMessageResponseValidationError) ErrorName ¶
func (e ValidationErrorMessageResponseValidationError) ErrorName() string
ErrorName returns error name.
func (ValidationErrorMessageResponseValidationError) Field ¶
func (e ValidationErrorMessageResponseValidationError) Field() string
Field function returns field value.
func (ValidationErrorMessageResponseValidationError) Key ¶
func (e ValidationErrorMessageResponseValidationError) Key() bool
Key function returns key value.
func (ValidationErrorMessageResponseValidationError) Reason ¶
func (e ValidationErrorMessageResponseValidationError) Reason() string
Reason function returns reason value.
type Wildcard ¶
type Wildcard struct {
// contains filtered or unexported fields
}
func (*Wildcard) Descriptor
deprecated
func (*Wildcard) ProtoMessage ¶
func (*Wildcard) ProtoMessage()
func (*Wildcard) ProtoReflect ¶
func (x *Wildcard) ProtoReflect() protoreflect.Message
func (*Wildcard) Validate ¶
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 ¶
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 ¶
func (m WriteAssertionsRequestMultiError) Error() string
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 ¶
func (e WriteAssertionsRequestValidationError) Cause() error
Cause function returns cause value.
func (WriteAssertionsRequestValidationError) Error ¶
func (e WriteAssertionsRequestValidationError) Error() string
Error satisfies the builtin error interface
func (WriteAssertionsRequestValidationError) ErrorName ¶
func (e WriteAssertionsRequestValidationError) ErrorName() string
ErrorName returns error name.
func (WriteAssertionsRequestValidationError) Field ¶
func (e WriteAssertionsRequestValidationError) Field() string
Field function returns field value.
func (WriteAssertionsRequestValidationError) Key ¶
func (e WriteAssertionsRequestValidationError) Key() bool
Key function returns key value.
func (WriteAssertionsRequestValidationError) Reason ¶
func (e WriteAssertionsRequestValidationError) Reason() string
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 ¶
func (m WriteAssertionsResponseMultiError) Error() string
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 ¶
func (e WriteAssertionsResponseValidationError) Cause() error
Cause function returns cause value.
func (WriteAssertionsResponseValidationError) Error ¶
func (e WriteAssertionsResponseValidationError) Error() string
Error satisfies the builtin error interface
func (WriteAssertionsResponseValidationError) ErrorName ¶
func (e WriteAssertionsResponseValidationError) ErrorName() string
ErrorName returns error name.
func (WriteAssertionsResponseValidationError) Field ¶
func (e WriteAssertionsResponseValidationError) Field() string
Field function returns field value.
func (WriteAssertionsResponseValidationError) Key ¶
func (e WriteAssertionsResponseValidationError) Key() bool
Key function returns key value.
func (WriteAssertionsResponseValidationError) Reason ¶
func (e WriteAssertionsResponseValidationError) Reason() string
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 (x *WriteAuthorizationModelRequest) ProtoReflect() protoreflect.Message
func (*WriteAuthorizationModelRequest) Reset ¶
func (x *WriteAuthorizationModelRequest) Reset()
func (*WriteAuthorizationModelRequest) String ¶
func (x *WriteAuthorizationModelRequest) String() 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 ¶
func (m WriteAuthorizationModelRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (WriteAuthorizationModelRequestMultiError) Error ¶
func (m WriteAuthorizationModelRequestMultiError) Error() string
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 ¶
func (e WriteAuthorizationModelRequestValidationError) Cause() error
Cause function returns cause value.
func (WriteAuthorizationModelRequestValidationError) Error ¶
func (e WriteAuthorizationModelRequestValidationError) Error() string
Error satisfies the builtin error interface
func (WriteAuthorizationModelRequestValidationError) ErrorName ¶
func (e WriteAuthorizationModelRequestValidationError) ErrorName() string
ErrorName returns error name.
func (WriteAuthorizationModelRequestValidationError) Field ¶
func (e WriteAuthorizationModelRequestValidationError) Field() string
Field function returns field value.
func (WriteAuthorizationModelRequestValidationError) Key ¶
func (e WriteAuthorizationModelRequestValidationError) Key() bool
Key function returns key value.
func (WriteAuthorizationModelRequestValidationError) Reason ¶
func (e WriteAuthorizationModelRequestValidationError) Reason() string
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 (x *WriteAuthorizationModelResponse) ProtoReflect() protoreflect.Message
func (*WriteAuthorizationModelResponse) Reset ¶
func (x *WriteAuthorizationModelResponse) Reset()
func (*WriteAuthorizationModelResponse) String ¶
func (x *WriteAuthorizationModelResponse) String() 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 ¶
func (m WriteAuthorizationModelResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (WriteAuthorizationModelResponseMultiError) Error ¶
func (m WriteAuthorizationModelResponseMultiError) Error() string
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 ¶
func (e WriteAuthorizationModelResponseValidationError) Cause() error
Cause function returns cause value.
func (WriteAuthorizationModelResponseValidationError) Error ¶
func (e WriteAuthorizationModelResponseValidationError) Error() string
Error satisfies the builtin error interface
func (WriteAuthorizationModelResponseValidationError) ErrorName ¶
func (e WriteAuthorizationModelResponseValidationError) ErrorName() string
ErrorName returns error name.
func (WriteAuthorizationModelResponseValidationError) Field ¶
func (e WriteAuthorizationModelResponseValidationError) Field() string
Field function returns field value.
func (WriteAuthorizationModelResponseValidationError) Key ¶
func (e WriteAuthorizationModelResponseValidationError) Key() bool
Key function returns key value.
func (WriteAuthorizationModelResponseValidationError) Reason ¶
func (e WriteAuthorizationModelResponseValidationError) Reason() string
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 ¶
func (m WriteRequestDeletesMultiError) Error() string
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 ¶
func (e WriteRequestDeletesValidationError) Cause() error
Cause function returns cause value.
func (WriteRequestDeletesValidationError) Error ¶
func (e WriteRequestDeletesValidationError) Error() string
Error satisfies the builtin error interface
func (WriteRequestDeletesValidationError) ErrorName ¶
func (e WriteRequestDeletesValidationError) ErrorName() string
ErrorName returns error name.
func (WriteRequestDeletesValidationError) Field ¶
func (e WriteRequestDeletesValidationError) Field() string
Field function returns field value.
func (WriteRequestDeletesValidationError) Key ¶
func (e WriteRequestDeletesValidationError) Key() bool
Key function returns key value.
func (WriteRequestDeletesValidationError) Reason ¶
func (e WriteRequestDeletesValidationError) Reason() string
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 ¶
func (e WriteRequestValidationError) Cause() error
Cause function returns cause value.
func (WriteRequestValidationError) Error ¶
func (e WriteRequestValidationError) Error() string
Error satisfies the builtin error interface
func (WriteRequestValidationError) ErrorName ¶
func (e WriteRequestValidationError) ErrorName() string
ErrorName returns error name.
func (WriteRequestValidationError) Field ¶
func (e WriteRequestValidationError) Field() string
Field function returns field value.
func (WriteRequestValidationError) Key ¶
func (e WriteRequestValidationError) Key() bool
Key function returns key value.
func (WriteRequestValidationError) Reason ¶
func (e WriteRequestValidationError) Reason() string
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 ¶
func (m WriteRequestWritesMultiError) Error() string
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 ¶
func (e WriteRequestWritesValidationError) Cause() error
Cause function returns cause value.
func (WriteRequestWritesValidationError) Error ¶
func (e WriteRequestWritesValidationError) Error() string
Error satisfies the builtin error interface
func (WriteRequestWritesValidationError) ErrorName ¶
func (e WriteRequestWritesValidationError) ErrorName() string
ErrorName returns error name.
func (WriteRequestWritesValidationError) Field ¶
func (e WriteRequestWritesValidationError) Field() string
Field function returns field value.
func (WriteRequestWritesValidationError) Key ¶
func (e WriteRequestWritesValidationError) Key() bool
Key function returns key value.
func (WriteRequestWritesValidationError) Reason ¶
func (e WriteRequestWritesValidationError) Reason() string
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 ¶
func (e WriteResponseValidationError) Cause() error
Cause function returns cause value.
func (WriteResponseValidationError) Error ¶
func (e WriteResponseValidationError) Error() string
Error satisfies the builtin error interface
func (WriteResponseValidationError) ErrorName ¶
func (e WriteResponseValidationError) ErrorName() string
ErrorName returns error name.
func (WriteResponseValidationError) Field ¶
func (e WriteResponseValidationError) Field() string
Field function returns field value.
func (WriteResponseValidationError) Key ¶
func (e WriteResponseValidationError) Key() bool
Key function returns key value.
func (WriteResponseValidationError) Reason ¶
func (e WriteResponseValidationError) Reason() string
Reason function returns reason value.