openfgav1

package
v1.29.1-20230701003832... Latest Latest
Warning

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

Go to latest
Published: unknown License: Apache-2.0 Imports: 10 Imported by: 4

Documentation

Index

Constants

This section is empty.

Variables

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

Enum value maps for AuthErrorCode.

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

Enum value maps for ErrorCode.

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

Enum value maps for InternalErrorCode.

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

Enum value maps for NotFoundErrorCode.

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

Enum value maps for TupleOperation.

View Source
var File_openfga_v1_authzmodel_proto protoreflect.FileDescriptor
View Source
var File_openfga_v1_errors_ignore_proto protoreflect.FileDescriptor
View Source
var File_openfga_v1_openapi_proto protoreflect.FileDescriptor
View Source
var File_openfga_v1_openfga_proto protoreflect.FileDescriptor
View Source
var File_openfga_v1_openfga_service_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type Assertion

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

func (*Assertion) Descriptor deprecated

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

Deprecated: Use Assertion.ProtoReflect.Descriptor instead.

func (*Assertion) GetExpectation

func (x *Assertion) GetExpectation() bool

func (*Assertion) GetTupleKey

func (x *Assertion) GetTupleKey() *TupleKey

func (*Assertion) ProtoMessage

func (*Assertion) ProtoMessage()

func (*Assertion) ProtoReflect

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

func (*Assertion) Reset

func (x *Assertion) Reset()

func (*Assertion) String

func (x *Assertion) String() string

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

type AuthErrorCode

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

func (AuthErrorCode) Descriptor

func (AuthErrorCode) Enum

func (x AuthErrorCode) Enum() *AuthErrorCode

func (AuthErrorCode) EnumDescriptor deprecated

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

Deprecated: Use AuthErrorCode.Descriptor instead.

func (AuthErrorCode) Number

func (AuthErrorCode) String

func (x AuthErrorCode) String() string

func (AuthErrorCode) Type

type AuthorizationModel

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

func (*AuthorizationModel) Descriptor deprecated

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

Deprecated: Use AuthorizationModel.ProtoReflect.Descriptor instead.

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

type CheckRequest

type CheckRequest struct {
	StoreId              string               `protobuf:"bytes,1,opt,name=store_id,proto3" json:"store_id,omitempty"`
	TupleKey             *TupleKey            `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"`
	Trace                bool                 `protobuf:"varint,5,opt,name=trace,proto3" json:"trace,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) 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() *TupleKey

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

type CheckResponse

type CheckResponse struct {
	Allowed    bool   `protobuf:"varint,1,opt,name=allowed,proto3" json:"allowed,omitempty"`
	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

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

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

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

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

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

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

type DirectUserset

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

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

type ErrorCode

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

func (ErrorCode) Descriptor

func (ErrorCode) Descriptor() protoreflect.EnumDescriptor

func (ErrorCode) Enum

func (x ErrorCode) Enum() *ErrorCode

func (ErrorCode) EnumDescriptor deprecated

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

Deprecated: Use ErrorCode.Descriptor instead.

func (ErrorCode) Number

func (x ErrorCode) Number() protoreflect.EnumNumber

func (ErrorCode) String

func (x ErrorCode) String() string

func (ErrorCode) Type

type ErrorMessageRequest

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

func (*ErrorMessageRequest) Descriptor deprecated

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

Deprecated: Use ErrorMessageRequest.ProtoReflect.Descriptor instead.

func (*ErrorMessageRequest) ProtoMessage

func (*ErrorMessageRequest) ProtoMessage()

func (*ErrorMessageRequest) ProtoReflect

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

func (*ErrorMessageRequest) Reset

func (x *ErrorMessageRequest) Reset()

func (*ErrorMessageRequest) String

func (x *ErrorMessageRequest) String() string

type ExpandRequest

type ExpandRequest struct {
	StoreId              string    `protobuf:"bytes,1,opt,name=store_id,proto3" json:"store_id,omitempty"`
	TupleKey             *TupleKey `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() *TupleKey

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

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

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

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"`
	// 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) 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

type InternalErrorCode

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

func (InternalErrorCode) Descriptor

func (InternalErrorCode) Enum

func (InternalErrorCode) EnumDescriptor deprecated

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

Deprecated: Use InternalErrorCode.Descriptor instead.

func (InternalErrorCode) Number

func (InternalErrorCode) String

func (x InternalErrorCode) String() string

func (InternalErrorCode) Type

type InternalErrorMessageResponse

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

func (*InternalErrorMessageResponse) Descriptor deprecated

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

Deprecated: Use InternalErrorMessageResponse.ProtoReflect.Descriptor instead.

func (*InternalErrorMessageResponse) GetCode

func (*InternalErrorMessageResponse) GetMessage

func (x *InternalErrorMessageResponse) GetMessage() string

func (*InternalErrorMessageResponse) ProtoMessage

func (*InternalErrorMessageResponse) ProtoMessage()

func (*InternalErrorMessageResponse) ProtoReflect

func (*InternalErrorMessageResponse) Reset

func (x *InternalErrorMessageResponse) Reset()

func (*InternalErrorMessageResponse) String

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"`
	// 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) 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

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

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"`
	// 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) 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

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

type Metadata

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

func (*Metadata) Descriptor deprecated

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

Deprecated: Use Metadata.ProtoReflect.Descriptor instead.

func (*Metadata) GetRelations

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

func (*Metadata) ProtoMessage

func (*Metadata) ProtoMessage()

func (*Metadata) ProtoReflect

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

func (*Metadata) Reset

func (x *Metadata) Reset()

func (*Metadata) String

func (x *Metadata) String() string

type NotFoundErrorCode

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

func (NotFoundErrorCode) Descriptor

func (NotFoundErrorCode) Enum

func (NotFoundErrorCode) EnumDescriptor deprecated

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

Deprecated: Use NotFoundErrorCode.Descriptor instead.

func (NotFoundErrorCode) Number

func (NotFoundErrorCode) String

func (x NotFoundErrorCode) String() string

func (NotFoundErrorCode) Type

type Object

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

func (*Object) Descriptor deprecated

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

Deprecated: Use Object.ProtoReflect.Descriptor instead.

func (*Object) GetId

func (x *Object) GetId() string

func (*Object) GetType

func (x *Object) GetType() string

func (*Object) ProtoMessage

func (*Object) ProtoMessage()

func (*Object) ProtoReflect

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

func (*Object) Reset

func (x *Object) Reset()

func (*Object) String

func (x *Object) String() string

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

type PathUnknownErrorMessageResponse

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

func (*PathUnknownErrorMessageResponse) Descriptor deprecated

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

Deprecated: Use PathUnknownErrorMessageResponse.ProtoReflect.Descriptor instead.

func (*PathUnknownErrorMessageResponse) GetCode

func (*PathUnknownErrorMessageResponse) GetMessage

func (x *PathUnknownErrorMessageResponse) GetMessage() string

func (*PathUnknownErrorMessageResponse) ProtoMessage

func (*PathUnknownErrorMessageResponse) ProtoMessage()

func (*PathUnknownErrorMessageResponse) ProtoReflect

func (*PathUnknownErrorMessageResponse) Reset

func (*PathUnknownErrorMessageResponse) String

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

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

type ReadAuthorizationModelRequest

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

func (*ReadAuthorizationModelRequest) Descriptor deprecated

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

Deprecated: Use ReadAuthorizationModelRequest.ProtoReflect.Descriptor instead.

func (*ReadAuthorizationModelRequest) GetId

func (*ReadAuthorizationModelRequest) GetStoreId

func (x *ReadAuthorizationModelRequest) GetStoreId() string

func (*ReadAuthorizationModelRequest) ProtoMessage

func (*ReadAuthorizationModelRequest) ProtoMessage()

func (*ReadAuthorizationModelRequest) ProtoReflect

func (*ReadAuthorizationModelRequest) Reset

func (x *ReadAuthorizationModelRequest) Reset()

func (*ReadAuthorizationModelRequest) String

type ReadAuthorizationModelResponse

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

func (*ReadAuthorizationModelResponse) Descriptor deprecated

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

Deprecated: Use ReadAuthorizationModelResponse.ProtoReflect.Descriptor instead.

func (*ReadAuthorizationModelResponse) GetAuthorizationModel

func (x *ReadAuthorizationModelResponse) GetAuthorizationModel() *AuthorizationModel

func (*ReadAuthorizationModelResponse) ProtoMessage

func (*ReadAuthorizationModelResponse) ProtoMessage()

func (*ReadAuthorizationModelResponse) ProtoReflect

func (*ReadAuthorizationModelResponse) Reset

func (x *ReadAuthorizationModelResponse) Reset()

func (*ReadAuthorizationModelResponse) String

type ReadAuthorizationModelsRequest

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

func (*ReadAuthorizationModelsRequest) Descriptor deprecated

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

Deprecated: Use ReadAuthorizationModelsRequest.ProtoReflect.Descriptor instead.

func (*ReadAuthorizationModelsRequest) GetContinuationToken

func (x *ReadAuthorizationModelsRequest) GetContinuationToken() string

func (*ReadAuthorizationModelsRequest) GetPageSize

func (*ReadAuthorizationModelsRequest) GetStoreId

func (x *ReadAuthorizationModelsRequest) GetStoreId() string

func (*ReadAuthorizationModelsRequest) ProtoMessage

func (*ReadAuthorizationModelsRequest) ProtoMessage()

func (*ReadAuthorizationModelsRequest) ProtoReflect

func (*ReadAuthorizationModelsRequest) Reset

func (x *ReadAuthorizationModelsRequest) Reset()

func (*ReadAuthorizationModelsRequest) String

type ReadAuthorizationModelsResponse

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

func (*ReadAuthorizationModelsResponse) Descriptor deprecated

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

Deprecated: Use ReadAuthorizationModelsResponse.ProtoReflect.Descriptor instead.

func (*ReadAuthorizationModelsResponse) GetAuthorizationModels

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

func (*ReadAuthorizationModelsResponse) GetContinuationToken

func (x *ReadAuthorizationModelsResponse) GetContinuationToken() string

func (*ReadAuthorizationModelsResponse) ProtoMessage

func (*ReadAuthorizationModelsResponse) ProtoMessage()

func (*ReadAuthorizationModelsResponse) ProtoReflect

func (*ReadAuthorizationModelsResponse) Reset

func (*ReadAuthorizationModelsResponse) String

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

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

type ReadRequest

type ReadRequest struct {
	StoreId           string                 `protobuf:"bytes,1,opt,name=store_id,proto3" json:"store_id,omitempty"`
	TupleKey          *TupleKey              `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() *TupleKey

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

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

type Relation

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

func (*Relation) Descriptor deprecated

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

Deprecated: Use Relation.ProtoReflect.Descriptor instead.

func (*Relation) GetName

func (x *Relation) GetName() string

func (*Relation) GetRewrite

func (x *Relation) GetRewrite() *Userset

func (*Relation) GetTypeInfo

func (x *Relation) GetTypeInfo() *RelationTypeInfo

func (*Relation) ProtoMessage

func (*Relation) ProtoMessage()

func (*Relation) ProtoReflect

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

func (*Relation) Reset

func (x *Relation) Reset()

func (*Relation) String

func (x *Relation) String() string

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

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

func (*RelationReference) Descriptor deprecated

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

Deprecated: Use RelationReference.ProtoReflect.Descriptor instead.

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

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

type Store

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

func (*Store) Descriptor deprecated

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

Deprecated: Use Store.ProtoReflect.Descriptor instead.

func (*Store) GetCreatedAt

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

func (*Store) GetDeletedAt

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

func (*Store) GetId

func (x *Store) GetId() string

func (*Store) GetName

func (x *Store) GetName() string

func (*Store) GetUpdatedAt

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

func (*Store) ProtoMessage

func (*Store) ProtoMessage()

func (*Store) ProtoReflect

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

func (*Store) Reset

func (x *Store) Reset()

func (*Store) String

func (x *Store) String() string

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"`
	// 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) GetContextualTuples

func (x *StreamedListObjectsRequest) GetContextualTuples() *ContextualTupleKeys

func (*StreamedListObjectsRequest) GetRelation

func (x *StreamedListObjectsRequest) GetRelation() string

func (*StreamedListObjectsRequest) GetStoreId

func (x *StreamedListObjectsRequest) GetStoreId() string

func (*StreamedListObjectsRequest) GetType

func (x *StreamedListObjectsRequest) GetType() string

func (*StreamedListObjectsRequest) GetUser

func (x *StreamedListObjectsRequest) GetUser() string

func (*StreamedListObjectsRequest) ProtoMessage

func (*StreamedListObjectsRequest) ProtoMessage()

func (*StreamedListObjectsRequest) ProtoReflect

func (*StreamedListObjectsRequest) Reset

func (x *StreamedListObjectsRequest) Reset()

func (*StreamedListObjectsRequest) String

func (x *StreamedListObjectsRequest) String() string

type StreamedListObjectsResponse

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

func (*StreamedListObjectsResponse) Descriptor deprecated

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

Deprecated: Use StreamedListObjectsResponse.ProtoReflect.Descriptor instead.

func (*StreamedListObjectsResponse) GetObject

func (x *StreamedListObjectsResponse) GetObject() string

func (*StreamedListObjectsResponse) ProtoMessage

func (*StreamedListObjectsResponse) ProtoMessage()

func (*StreamedListObjectsResponse) ProtoReflect

func (*StreamedListObjectsResponse) Reset

func (x *StreamedListObjectsResponse) Reset()

func (*StreamedListObjectsResponse) String

func (x *StreamedListObjectsResponse) String() string

type Tuple

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

func (*Tuple) Descriptor deprecated

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

Deprecated: Use Tuple.ProtoReflect.Descriptor instead.

func (*Tuple) GetKey

func (x *Tuple) GetKey() *TupleKey

func (*Tuple) GetTimestamp

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

func (*Tuple) ProtoMessage

func (*Tuple) ProtoMessage()

func (*Tuple) ProtoReflect

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

func (*Tuple) Reset

func (x *Tuple) Reset()

func (*Tuple) String

func (x *Tuple) String() string

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

type TupleKey

type TupleKey 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 (*TupleKey) Descriptor deprecated

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

Deprecated: Use TupleKey.ProtoReflect.Descriptor instead.

func (*TupleKey) GetObject

func (x *TupleKey) GetObject() string

func (*TupleKey) GetRelation

func (x *TupleKey) GetRelation() string

func (*TupleKey) GetUser

func (x *TupleKey) GetUser() string

func (*TupleKey) ProtoMessage

func (*TupleKey) ProtoMessage()

func (*TupleKey) ProtoReflect

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

func (*TupleKey) Reset

func (x *TupleKey) Reset()

func (*TupleKey) String

func (x *TupleKey) String() string

type TupleKeys

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

func (*TupleKeys) Descriptor deprecated

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

Deprecated: Use TupleKeys.ProtoReflect.Descriptor instead.

func (*TupleKeys) GetTupleKeys

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

func (*TupleKeys) ProtoMessage

func (*TupleKeys) ProtoMessage()

func (*TupleKeys) ProtoReflect

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

func (*TupleKeys) Reset

func (x *TupleKeys) Reset()

func (*TupleKeys) String

func (x *TupleKeys) String() string

type TupleOperation

type TupleOperation int32
const (
	TupleOperation_TUPLE_OPERATION_WRITE  TupleOperation = 0
	TupleOperation_TUPLE_OPERATION_DELETE TupleOperation = 1
)

func (TupleOperation) Descriptor

func (TupleOperation) Enum

func (x TupleOperation) Enum() *TupleOperation

func (TupleOperation) EnumDescriptor deprecated

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

Deprecated: Use TupleOperation.Descriptor instead.

func (TupleOperation) Number

func (TupleOperation) String

func (x TupleOperation) String() string

func (TupleOperation) Type

type TupleToUserset

type TupleToUserset struct {
	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

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 */
	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

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

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

type Userset

type Userset struct {

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

func (*Userset) Descriptor deprecated

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

Deprecated: Use Userset.ProtoReflect.Descriptor instead.

func (*Userset) GetComputedUserset

func (x *Userset) GetComputedUserset() *ObjectRelation

func (*Userset) GetDifference

func (x *Userset) GetDifference() *Difference

func (*Userset) GetIntersection

func (x *Userset) GetIntersection() *Usersets

func (*Userset) GetThis

func (x *Userset) GetThis() *DirectUserset

func (*Userset) GetTupleToUserset

func (x *Userset) GetTupleToUserset() *TupleToUserset

func (*Userset) GetUnion

func (x *Userset) GetUnion() *Usersets

func (*Userset) GetUserset

func (m *Userset) GetUserset() isUserset_Userset

func (*Userset) ProtoMessage

func (*Userset) ProtoMessage()

func (*Userset) ProtoReflect

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

func (*Userset) Reset

func (x *Userset) Reset()

func (*Userset) String

func (x *Userset) String() string

type UsersetTree

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

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

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

type UsersetTree_Difference

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

func (*UsersetTree_Difference) Descriptor deprecated

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

Deprecated: Use UsersetTree_Difference.ProtoReflect.Descriptor instead.

func (*UsersetTree_Difference) GetBase

func (*UsersetTree_Difference) GetSubtract

func (x *UsersetTree_Difference) GetSubtract() *UsersetTree_Node

func (*UsersetTree_Difference) ProtoMessage

func (*UsersetTree_Difference) ProtoMessage()

func (*UsersetTree_Difference) ProtoReflect

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

func (*UsersetTree_Difference) Reset

func (x *UsersetTree_Difference) Reset()

func (*UsersetTree_Difference) String

func (x *UsersetTree_Difference) String() string

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
}

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

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

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

type UsersetTree_TupleToUserset

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

func (*UsersetTree_TupleToUserset) Descriptor deprecated

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

Deprecated: Use UsersetTree_TupleToUserset.ProtoReflect.Descriptor instead.

func (*UsersetTree_TupleToUserset) GetComputed

func (*UsersetTree_TupleToUserset) GetTupleset

func (x *UsersetTree_TupleToUserset) GetTupleset() string

func (*UsersetTree_TupleToUserset) ProtoMessage

func (*UsersetTree_TupleToUserset) ProtoMessage()

func (*UsersetTree_TupleToUserset) ProtoReflect

func (*UsersetTree_TupleToUserset) Reset

func (x *UsersetTree_TupleToUserset) Reset()

func (*UsersetTree_TupleToUserset) String

func (x *UsersetTree_TupleToUserset) String() string

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

type Userset_ComputedUserset

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

type Userset_Difference

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

type Userset_Intersection

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

type Userset_This

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

type Userset_TupleToUserset

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

type Userset_Union

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

type Usersets

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

func (*Usersets) Descriptor deprecated

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

Deprecated: Use Usersets.ProtoReflect.Descriptor instead.

func (*Usersets) GetChild

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

func (*Usersets) ProtoMessage

func (*Usersets) ProtoMessage()

func (*Usersets) ProtoReflect

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

func (*Usersets) Reset

func (x *Usersets) Reset()

func (*Usersets) String

func (x *Usersets) String() string

type ValidationErrorMessageResponse

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

func (*ValidationErrorMessageResponse) Descriptor deprecated

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

Deprecated: Use ValidationErrorMessageResponse.ProtoReflect.Descriptor instead.

func (*ValidationErrorMessageResponse) GetCode

func (*ValidationErrorMessageResponse) GetMessage

func (x *ValidationErrorMessageResponse) GetMessage() string

func (*ValidationErrorMessageResponse) ProtoMessage

func (*ValidationErrorMessageResponse) ProtoMessage()

func (*ValidationErrorMessageResponse) ProtoReflect

func (*ValidationErrorMessageResponse) Reset

func (x *ValidationErrorMessageResponse) Reset()

func (*ValidationErrorMessageResponse) String

type Wildcard

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

func (*Wildcard) Descriptor deprecated

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

Deprecated: Use Wildcard.ProtoReflect.Descriptor instead.

func (*Wildcard) ProtoMessage

func (*Wildcard) ProtoMessage()

func (*Wildcard) ProtoReflect

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

func (*Wildcard) Reset

func (x *Wildcard) Reset()

func (*Wildcard) String

func (x *Wildcard) String() string

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

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

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

func (*WriteAuthorizationModelRequest) Descriptor deprecated

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

Deprecated: Use WriteAuthorizationModelRequest.ProtoReflect.Descriptor instead.

func (*WriteAuthorizationModelRequest) GetSchemaVersion

func (x *WriteAuthorizationModelRequest) GetSchemaVersion() string

func (*WriteAuthorizationModelRequest) GetStoreId

func (x *WriteAuthorizationModelRequest) GetStoreId() string

func (*WriteAuthorizationModelRequest) GetTypeDefinitions

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

func (*WriteAuthorizationModelRequest) ProtoMessage

func (*WriteAuthorizationModelRequest) ProtoMessage()

func (*WriteAuthorizationModelRequest) ProtoReflect

func (*WriteAuthorizationModelRequest) Reset

func (x *WriteAuthorizationModelRequest) Reset()

func (*WriteAuthorizationModelRequest) String

type WriteAuthorizationModelResponse

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

func (*WriteAuthorizationModelResponse) Descriptor deprecated

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

Deprecated: Use WriteAuthorizationModelResponse.ProtoReflect.Descriptor instead.

func (*WriteAuthorizationModelResponse) GetAuthorizationModelId

func (x *WriteAuthorizationModelResponse) GetAuthorizationModelId() string

func (*WriteAuthorizationModelResponse) ProtoMessage

func (*WriteAuthorizationModelResponse) ProtoMessage()

func (*WriteAuthorizationModelResponse) ProtoReflect

func (*WriteAuthorizationModelResponse) Reset

func (*WriteAuthorizationModelResponse) String

type WriteRequest

type WriteRequest struct {
	StoreId              string     `protobuf:"bytes,1,opt,name=store_id,proto3" json:"store_id,omitempty"`
	Writes               *TupleKeys `protobuf:"bytes,2,opt,name=writes,proto3" json:"writes,omitempty"`
	Deletes              *TupleKeys `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() *TupleKeys

func (*WriteRequest) GetStoreId

func (x *WriteRequest) GetStoreId() string

func (*WriteRequest) GetWrites

func (x *WriteRequest) GetWrites() *TupleKeys

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

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

Jump to

Keyboard shortcuts

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