basev1

package
v1.7.5 Latest Latest
Warning

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

Go to latest
Published: Oct 9, 2026 License: AGPL-3.0 Imports: 31 Imported by: 0

Documentation

Overview

Package basev1 is a reverse proxy.

It translates gRPC into RESTful JSON APIs.

Index

Constants

View Source
const (
	Permission_Check_FullMethodName              = "/base.v1.Permission/Check"
	Permission_BulkCheck_FullMethodName          = "/base.v1.Permission/BulkCheck"
	Permission_Expand_FullMethodName             = "/base.v1.Permission/Expand"
	Permission_LookupEntity_FullMethodName       = "/base.v1.Permission/LookupEntity"
	Permission_LookupEntityStream_FullMethodName = "/base.v1.Permission/LookupEntityStream"
	Permission_LookupSubject_FullMethodName      = "/base.v1.Permission/LookupSubject"
	Permission_SubjectPermission_FullMethodName  = "/base.v1.Permission/SubjectPermission"
)
View Source
const (
	Schema_Write_FullMethodName        = "/base.v1.Schema/Write"
	Schema_PartialWrite_FullMethodName = "/base.v1.Schema/PartialWrite"
	Schema_Read_FullMethodName         = "/base.v1.Schema/Read"
	Schema_List_FullMethodName         = "/base.v1.Schema/List"
)
View Source
const (
	Data_Write_FullMethodName               = "/base.v1.Data/Write"
	Data_WriteRelationships_FullMethodName  = "/base.v1.Data/WriteRelationships"
	Data_ReadRelationships_FullMethodName   = "/base.v1.Data/ReadRelationships"
	Data_ReadAttributes_FullMethodName      = "/base.v1.Data/ReadAttributes"
	Data_Delete_FullMethodName              = "/base.v1.Data/Delete"
	Data_DeleteRelationships_FullMethodName = "/base.v1.Data/DeleteRelationships"
	Data_RunBundle_FullMethodName           = "/base.v1.Data/RunBundle"
)
View Source
const (
	Bundle_Write_FullMethodName  = "/base.v1.Bundle/Write"
	Bundle_Read_FullMethodName   = "/base.v1.Bundle/Read"
	Bundle_Delete_FullMethodName = "/base.v1.Bundle/Delete"
)
View Source
const (
	Tenancy_Create_FullMethodName = "/base.v1.Tenancy/Create"
	Tenancy_Delete_FullMethodName = "/base.v1.Tenancy/Delete"
	Tenancy_List_FullMethodName   = "/base.v1.Tenancy/List"
)
View Source
const (
	Watch_Watch_FullMethodName = "/base.v1.Watch/Watch"
)

Variables

View Source
var (
	CheckResult_name = map[int32]string{
		0: "CHECK_RESULT_UNSPECIFIED",
		1: "CHECK_RESULT_ALLOWED",
		2: "CHECK_RESULT_DENIED",
	}
	CheckResult_value = map[string]int32{
		"CHECK_RESULT_UNSPECIFIED": 0,
		"CHECK_RESULT_ALLOWED":     1,
		"CHECK_RESULT_DENIED":      2,
	}
)

Enum value maps for CheckResult.

View Source
var (
	AttributeType_name = map[int32]string{
		0: "ATTRIBUTE_TYPE_UNSPECIFIED",
		1: "ATTRIBUTE_TYPE_BOOLEAN",
		2: "ATTRIBUTE_TYPE_BOOLEAN_ARRAY",
		3: "ATTRIBUTE_TYPE_STRING",
		4: "ATTRIBUTE_TYPE_STRING_ARRAY",
		5: "ATTRIBUTE_TYPE_INTEGER",
		6: "ATTRIBUTE_TYPE_INTEGER_ARRAY",
		7: "ATTRIBUTE_TYPE_DOUBLE",
		8: "ATTRIBUTE_TYPE_DOUBLE_ARRAY",
	}
	AttributeType_value = map[string]int32{
		"ATTRIBUTE_TYPE_UNSPECIFIED":   0,
		"ATTRIBUTE_TYPE_BOOLEAN":       1,
		"ATTRIBUTE_TYPE_BOOLEAN_ARRAY": 2,
		"ATTRIBUTE_TYPE_STRING":        3,
		"ATTRIBUTE_TYPE_STRING_ARRAY":  4,
		"ATTRIBUTE_TYPE_INTEGER":       5,
		"ATTRIBUTE_TYPE_INTEGER_ARRAY": 6,
		"ATTRIBUTE_TYPE_DOUBLE":        7,
		"ATTRIBUTE_TYPE_DOUBLE_ARRAY":  8,
	}
)

Enum value maps for AttributeType.

View Source
var (
	Rewrite_Operation_name = map[int32]string{
		0: "OPERATION_UNSPECIFIED",
		1: "OPERATION_UNION",
		2: "OPERATION_INTERSECTION",
		3: "OPERATION_EXCLUSION",
	}
	Rewrite_Operation_value = map[string]int32{
		"OPERATION_UNSPECIFIED":  0,
		"OPERATION_UNION":        1,
		"OPERATION_INTERSECTION": 2,
		"OPERATION_EXCLUSION":    3,
	}
)

Enum value maps for Rewrite_Operation.

View Source
var (
	SchemaDefinition_Reference_name = map[int32]string{
		0: "REFERENCE_UNSPECIFIED",
		1: "REFERENCE_ENTITY",
		2: "REFERENCE_RULE",
	}
	SchemaDefinition_Reference_value = map[string]int32{
		"REFERENCE_UNSPECIFIED": 0,
		"REFERENCE_ENTITY":      1,
		"REFERENCE_RULE":        2,
	}
)

Enum value maps for SchemaDefinition_Reference.

View Source
var (
	EntityDefinition_Reference_name = map[int32]string{
		0: "REFERENCE_UNSPECIFIED",
		1: "REFERENCE_RELATION",
		2: "REFERENCE_PERMISSION",
		3: "REFERENCE_ATTRIBUTE",
	}
	EntityDefinition_Reference_value = map[string]int32{
		"REFERENCE_UNSPECIFIED": 0,
		"REFERENCE_RELATION":    1,
		"REFERENCE_PERMISSION":  2,
		"REFERENCE_ATTRIBUTE":   3,
	}
)

Enum value maps for EntityDefinition_Reference.

View Source
var (
	ExpandTreeNode_Operation_name = map[int32]string{
		0: "OPERATION_UNSPECIFIED",
		1: "OPERATION_UNION",
		2: "OPERATION_INTERSECTION",
		3: "OPERATION_EXCLUSION",
	}
	ExpandTreeNode_Operation_value = map[string]int32{
		"OPERATION_UNSPECIFIED":  0,
		"OPERATION_UNION":        1,
		"OPERATION_INTERSECTION": 2,
		"OPERATION_EXCLUSION":    3,
	}
)

Enum value maps for ExpandTreeNode_Operation.

View Source
var (
	DataChange_Operation_name = map[int32]string{
		0: "OPERATION_UNSPECIFIED",
		1: "OPERATION_CREATE",
		2: "OPERATION_DELETE",
	}
	DataChange_Operation_value = map[string]int32{
		"OPERATION_UNSPECIFIED": 0,
		"OPERATION_CREATE":      1,
		"OPERATION_DELETE":      2,
	}
)

Enum value maps for DataChange_Operation.

View Source
var (
	ErrorCode_name = map[int32]string{
		0:    "ERROR_CODE_UNSPECIFIED",
		1001: "ERROR_CODE_MISSING_BEARER_TOKEN",
		1002: "ERROR_CODE_UNAUTHENTICATED",
		1003: "ERROR_CODE_MISSING_TENANT_ID",
		1004: "ERROR_CODE_INVALID_AUDIENCE",
		1005: "ERROR_CODE_INVALID_CLAIMS",
		1006: "ERROR_CODE_INVALID_ISSUER",
		1007: "ERROR_CODE_INVALID_BEARER_TOKEN",
		2000: "ERROR_CODE_VALIDATION",
		2002: "ERROR_CODE_UNDEFINED_CHILD_TYPE",
		2003: "ERROR_CODE_UNDEFINED_CHILD_KIND",
		2006: "ERROR_CODE_UNDEFINED_RELATION_REFERENCE",
		2007: "ERROR_CODE_NOT_SUPPORTED_RELATION_WALK",
		2008: "ERROR_CODE_ENTITY_AND_SUBJECT_CANNOT_BE_EQUAL",
		2009: "ERROR_CODE_DEPTH_NOT_ENOUGH",
		2010: "ERROR_CODE_RELATION_REFERENCE_NOT_FOUND_IN_ENTITY_REFERENCES",
		2011: "ERROR_CODE_RELATION_REFERENCE_MUST_HAVE_ONE_ENTITY_REFERENCE",
		2012: "ERROR_CODE_DUPLICATED_ENTITY_REFERENCE",
		2013: "ERROR_CODE_DUPLICATED_RELATION_REFERENCE",
		2014: "ERROR_CODE_DUPLICATED_PERMISSION_REFERENCE",
		2015: "ERROR_CODE_SCHEMA_PARSE",
		2016: "ERROR_CODE_SCHEMA_COMPILE",
		2017: "ERROR_CODE_SUBJECT_RELATION_MUST_BE_EMPTY",
		2018: "ERROR_CODE_SUBJECT_RELATION_CANNOT_BE_EMPTY",
		2019: "ERROR_CODE_SCHEMA_MUST_HAVE_USER_ENTITY_DEFINITION",
		2020: "ERROR_CODE_UNIQUE_CONSTRAINT",
		2021: "ERROR_CODE_INVALID_CONTINUOUS_TOKEN",
		2022: "ERROR_CODE_INVALID_KEY",
		2023: "ERROR_CODE_ENTITY_TYPE_REQUIRED",
		2024: "ERROR_CODE_NO_ENTITY_REFERENCES_FOUND_IN_SCHEMA",
		2025: "ERROR_CODE_INVALID_ARGUMENT",
		2026: "ERROR_CODE_INVALID_RULE_REFERENCE",
		2027: "ERROR_CODE_NOT_SUPPORTED_WALK",
		2028: "ERROR_CODE_MISSING_ARGUMENT",
		2029: "ERROR_CODE_ALREADY_EXIST",
		2030: "ERROR_CODE_MAX_DATA_PER_WRITE_EXCEEDED",
		4000: "ERROR_CODE_NOT_FOUND",
		4001: "ERROR_CODE_ENTITY_TYPE_NOT_FOUND",
		4002: "ERROR_CODE_PERMISSION_NOT_FOUND",
		4003: "ERROR_CODE_SCHEMA_NOT_FOUND",
		4004: "ERROR_CODE_SUBJECT_TYPE_NOT_FOUND",
		4005: "ERROR_CODE_ENTITY_DEFINITION_NOT_FOUND",
		4006: "ERROR_CODE_PERMISSION_DEFINITION_NOT_FOUND",
		4007: "ERROR_CODE_RELATION_DEFINITION_NOT_FOUND",
		4008: "ERROR_CODE_RECORD_NOT_FOUND",
		4009: "ERROR_CODE_TENANT_NOT_FOUND",
		4010: "ERROR_CODE_ATTRIBUTE_DEFINITION_NOT_FOUND",
		4011: "ERROR_CODE_ATTRIBUTE_TYPE_MISMATCH",
		4012: "ERROR_CODE_BUNDLE_NOT_FOUND",
		4013: "ERROR_CODE_RULE_DEFINITION_NOT_FOUND",
		4014: "ERROR_CODE_ENTITY_STATEMENT_NOT_FOUND",
		4015: "ERROR_CODE_REFERENCE_NOT_FOUND",
		5000: "ERROR_CODE_INTERNAL",
		5001: "ERROR_CODE_CANCELLED",
		5002: "ERROR_CODE_SQL_BUILDER",
		5003: "ERROR_CODE_CIRCUIT_BREAKER",
		5005: "ERROR_CODE_EXECUTION",
		5006: "ERROR_CODE_SCAN",
		5007: "ERROR_CODE_MIGRATION",
		5008: "ERROR_CODE_TYPE_CONVERSATION",
		5009: "ERROR_CODE_ERROR_MAX_RETRIES",
		5010: "ERROR_CODE_ROLLBACK",
		5011: "ERROR_CODE_EXCLUSION_REQUIRES_MORE_THAN_ONE_FUNCTION",
		5012: "ERROR_CODE_NOT_IMPLEMENTED",
		5013: "ERROR_CODE_DATASTORE",
		5014: "ERROR_CODE_UNKNOWN_STATEMENT_TYPE",
		5015: "ERROR_CODE_UNKNOWN_REFERENCE_TYPE",
		5016: "ERROR_CODE_CANNOT_CONVERT_TO_ENTITY_STATEMENT",
		5017: "ERROR_CODE_CANNOT_CONVERT_TO_RELATION_STATEMENT",
		5018: "ERROR_CODE_CANNOT_CONVERT_TO_ATTRIBUTE_STATEMENT",
		5019: "ERROR_CODE_SERIALIZATION",
	}
	ErrorCode_value = map[string]int32{
		"ERROR_CODE_UNSPECIFIED":                                       0,
		"ERROR_CODE_MISSING_BEARER_TOKEN":                              1001,
		"ERROR_CODE_UNAUTHENTICATED":                                   1002,
		"ERROR_CODE_MISSING_TENANT_ID":                                 1003,
		"ERROR_CODE_INVALID_AUDIENCE":                                  1004,
		"ERROR_CODE_INVALID_CLAIMS":                                    1005,
		"ERROR_CODE_INVALID_ISSUER":                                    1006,
		"ERROR_CODE_INVALID_BEARER_TOKEN":                              1007,
		"ERROR_CODE_VALIDATION":                                        2000,
		"ERROR_CODE_UNDEFINED_CHILD_TYPE":                              2002,
		"ERROR_CODE_UNDEFINED_CHILD_KIND":                              2003,
		"ERROR_CODE_UNDEFINED_RELATION_REFERENCE":                      2006,
		"ERROR_CODE_NOT_SUPPORTED_RELATION_WALK":                       2007,
		"ERROR_CODE_ENTITY_AND_SUBJECT_CANNOT_BE_EQUAL":                2008,
		"ERROR_CODE_DEPTH_NOT_ENOUGH":                                  2009,
		"ERROR_CODE_RELATION_REFERENCE_NOT_FOUND_IN_ENTITY_REFERENCES": 2010,
		"ERROR_CODE_RELATION_REFERENCE_MUST_HAVE_ONE_ENTITY_REFERENCE": 2011,
		"ERROR_CODE_DUPLICATED_ENTITY_REFERENCE":                       2012,
		"ERROR_CODE_DUPLICATED_RELATION_REFERENCE":                     2013,
		"ERROR_CODE_DUPLICATED_PERMISSION_REFERENCE":                   2014,
		"ERROR_CODE_SCHEMA_PARSE":                                      2015,
		"ERROR_CODE_SCHEMA_COMPILE":                                    2016,
		"ERROR_CODE_SUBJECT_RELATION_MUST_BE_EMPTY":                    2017,
		"ERROR_CODE_SUBJECT_RELATION_CANNOT_BE_EMPTY":                  2018,
		"ERROR_CODE_SCHEMA_MUST_HAVE_USER_ENTITY_DEFINITION":           2019,
		"ERROR_CODE_UNIQUE_CONSTRAINT":                                 2020,
		"ERROR_CODE_INVALID_CONTINUOUS_TOKEN":                          2021,
		"ERROR_CODE_INVALID_KEY":                                       2022,
		"ERROR_CODE_ENTITY_TYPE_REQUIRED":                              2023,
		"ERROR_CODE_NO_ENTITY_REFERENCES_FOUND_IN_SCHEMA":              2024,
		"ERROR_CODE_INVALID_ARGUMENT":                                  2025,
		"ERROR_CODE_INVALID_RULE_REFERENCE":                            2026,
		"ERROR_CODE_NOT_SUPPORTED_WALK":                                2027,
		"ERROR_CODE_MISSING_ARGUMENT":                                  2028,
		"ERROR_CODE_ALREADY_EXIST":                                     2029,
		"ERROR_CODE_MAX_DATA_PER_WRITE_EXCEEDED":                       2030,
		"ERROR_CODE_NOT_FOUND":                                         4000,
		"ERROR_CODE_ENTITY_TYPE_NOT_FOUND":                             4001,
		"ERROR_CODE_PERMISSION_NOT_FOUND":                              4002,
		"ERROR_CODE_SCHEMA_NOT_FOUND":                                  4003,
		"ERROR_CODE_SUBJECT_TYPE_NOT_FOUND":                            4004,
		"ERROR_CODE_ENTITY_DEFINITION_NOT_FOUND":                       4005,
		"ERROR_CODE_PERMISSION_DEFINITION_NOT_FOUND":                   4006,
		"ERROR_CODE_RELATION_DEFINITION_NOT_FOUND":                     4007,
		"ERROR_CODE_RECORD_NOT_FOUND":                                  4008,
		"ERROR_CODE_TENANT_NOT_FOUND":                                  4009,
		"ERROR_CODE_ATTRIBUTE_DEFINITION_NOT_FOUND":                    4010,
		"ERROR_CODE_ATTRIBUTE_TYPE_MISMATCH":                           4011,
		"ERROR_CODE_BUNDLE_NOT_FOUND":                                  4012,
		"ERROR_CODE_RULE_DEFINITION_NOT_FOUND":                         4013,
		"ERROR_CODE_ENTITY_STATEMENT_NOT_FOUND":                        4014,
		"ERROR_CODE_REFERENCE_NOT_FOUND":                               4015,
		"ERROR_CODE_INTERNAL":                                          5000,
		"ERROR_CODE_CANCELLED":                                         5001,
		"ERROR_CODE_SQL_BUILDER":                                       5002,
		"ERROR_CODE_CIRCUIT_BREAKER":                                   5003,
		"ERROR_CODE_EXECUTION":                                         5005,
		"ERROR_CODE_SCAN":                                              5006,
		"ERROR_CODE_MIGRATION":                                         5007,
		"ERROR_CODE_TYPE_CONVERSATION":                                 5008,
		"ERROR_CODE_ERROR_MAX_RETRIES":                                 5009,
		"ERROR_CODE_ROLLBACK":                                          5010,
		"ERROR_CODE_EXCLUSION_REQUIRES_MORE_THAN_ONE_FUNCTION":         5011,
		"ERROR_CODE_NOT_IMPLEMENTED":                                   5012,
		"ERROR_CODE_DATASTORE":                                         5013,
		"ERROR_CODE_UNKNOWN_STATEMENT_TYPE":                            5014,
		"ERROR_CODE_UNKNOWN_REFERENCE_TYPE":                            5015,
		"ERROR_CODE_CANNOT_CONVERT_TO_ENTITY_STATEMENT":                5016,
		"ERROR_CODE_CANNOT_CONVERT_TO_RELATION_STATEMENT":              5017,
		"ERROR_CODE_CANNOT_CONVERT_TO_ATTRIBUTE_STATEMENT":             5018,
		"ERROR_CODE_SERIALIZATION":                                     5019,
	}
)

Enum value maps for ErrorCode.

View Source
var Bundle_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "base.v1.Bundle",
	HandlerType: (*BundleServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "Write",
			Handler:    _Bundle_Write_Handler,
		},
		{
			MethodName: "Read",
			Handler:    _Bundle_Read_Handler,
		},
		{
			MethodName: "Delete",
			Handler:    _Bundle_Delete_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "base/v1/service.proto",
}

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

View Source
var Data_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "base.v1.Data",
	HandlerType: (*DataServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "Write",
			Handler:    _Data_Write_Handler,
		},
		{
			MethodName: "WriteRelationships",
			Handler:    _Data_WriteRelationships_Handler,
		},
		{
			MethodName: "ReadRelationships",
			Handler:    _Data_ReadRelationships_Handler,
		},
		{
			MethodName: "ReadAttributes",
			Handler:    _Data_ReadAttributes_Handler,
		},
		{
			MethodName: "Delete",
			Handler:    _Data_Delete_Handler,
		},
		{
			MethodName: "DeleteRelationships",
			Handler:    _Data_DeleteRelationships_Handler,
		},
		{
			MethodName: "RunBundle",
			Handler:    _Data_RunBundle_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "base/v1/service.proto",
}

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

View Source
var File_base_v1_base_proto protoreflect.FileDescriptor
View Source
var File_base_v1_errors_proto protoreflect.FileDescriptor
View Source
var File_base_v1_openapi_proto protoreflect.FileDescriptor
View Source
var File_base_v1_service_proto protoreflect.FileDescriptor
View Source
var Permission_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "base.v1.Permission",
	HandlerType: (*PermissionServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "Check",
			Handler:    _Permission_Check_Handler,
		},
		{
			MethodName: "BulkCheck",
			Handler:    _Permission_BulkCheck_Handler,
		},
		{
			MethodName: "Expand",
			Handler:    _Permission_Expand_Handler,
		},
		{
			MethodName: "LookupEntity",
			Handler:    _Permission_LookupEntity_Handler,
		},
		{
			MethodName: "LookupSubject",
			Handler:    _Permission_LookupSubject_Handler,
		},
		{
			MethodName: "SubjectPermission",
			Handler:    _Permission_SubjectPermission_Handler,
		},
	},
	Streams: []grpc.StreamDesc{
		{
			StreamName:    "LookupEntityStream",
			Handler:       _Permission_LookupEntityStream_Handler,
			ServerStreams: true,
		},
	},
	Metadata: "base/v1/service.proto",
}

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

View Source
var Schema_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "base.v1.Schema",
	HandlerType: (*SchemaServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "Write",
			Handler:    _Schema_Write_Handler,
		},
		{
			MethodName: "PartialWrite",
			Handler:    _Schema_PartialWrite_Handler,
		},
		{
			MethodName: "Read",
			Handler:    _Schema_Read_Handler,
		},
		{
			MethodName: "List",
			Handler:    _Schema_List_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "base/v1/service.proto",
}

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

View Source
var Tenancy_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "base.v1.Tenancy",
	HandlerType: (*TenancyServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "Create",
			Handler:    _Tenancy_Create_Handler,
		},
		{
			MethodName: "Delete",
			Handler:    _Tenancy_Delete_Handler,
		},
		{
			MethodName: "List",
			Handler:    _Tenancy_List_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "base/v1/service.proto",
}

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

View Source
var Watch_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "base.v1.Watch",
	HandlerType: (*WatchServer)(nil),
	Methods:     []grpc.MethodDesc{},
	Streams: []grpc.StreamDesc{
		{
			StreamName:    "Watch",
			Handler:       _Watch_Watch_Handler,
			ServerStreams: true,
		},
	},
	Metadata: "base/v1/service.proto",
}

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

Functions

func RegisterBundleHandler added in v0.6.0

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

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

func RegisterBundleHandlerClient added in v0.6.0

func RegisterBundleHandlerClient(ctx context.Context, mux *runtime.ServeMux, client BundleClient) error

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

func RegisterBundleHandlerFromEndpoint added in v0.6.0

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

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

func RegisterBundleHandlerServer added in v0.6.0

func RegisterBundleHandlerServer(ctx context.Context, mux *runtime.ServeMux, server BundleServer) error

RegisterBundleHandlerServer registers the http handlers for service Bundle to "mux". UnaryRPC :call BundleServer 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 RegisterBundleHandlerFromEndpoint instead. GRPC interceptors will not work for this type of registration. To use interceptors, you must use the "runtime.WithMiddlewares" option in the "runtime.NewServeMux" call.

func RegisterBundleServer added in v0.6.0

func RegisterBundleServer(s grpc.ServiceRegistrar, srv BundleServer)

func RegisterDataHandler added in v0.5.0

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

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

func RegisterDataHandlerClient added in v0.5.0

func RegisterDataHandlerClient(ctx context.Context, mux *runtime.ServeMux, client DataClient) error

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

func RegisterDataHandlerFromEndpoint added in v0.5.0

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

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

func RegisterDataHandlerServer added in v0.5.0

func RegisterDataHandlerServer(ctx context.Context, mux *runtime.ServeMux, server DataServer) error

RegisterDataHandlerServer registers the http handlers for service Data to "mux". UnaryRPC :call DataServer 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 RegisterDataHandlerFromEndpoint instead. GRPC interceptors will not work for this type of registration. To use interceptors, you must use the "runtime.WithMiddlewares" option in the "runtime.NewServeMux" call.

func RegisterDataServer added in v0.5.0

func RegisterDataServer(s grpc.ServiceRegistrar, srv DataServer)

func RegisterPermissionHandler

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

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

func RegisterPermissionHandlerClient

func RegisterPermissionHandlerClient(ctx context.Context, mux *runtime.ServeMux, client PermissionClient) error

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

func RegisterPermissionHandlerFromEndpoint

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

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

func RegisterPermissionHandlerServer

func RegisterPermissionHandlerServer(ctx context.Context, mux *runtime.ServeMux, server PermissionServer) error

RegisterPermissionHandlerServer registers the http handlers for service Permission to "mux". UnaryRPC :call PermissionServer 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 RegisterPermissionHandlerFromEndpoint instead. GRPC interceptors will not work for this type of registration. To use interceptors, you must use the "runtime.WithMiddlewares" option in the "runtime.NewServeMux" call.

func RegisterPermissionServer

func RegisterPermissionServer(s grpc.ServiceRegistrar, srv PermissionServer)

func RegisterSchemaHandler

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

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

func RegisterSchemaHandlerClient

func RegisterSchemaHandlerClient(ctx context.Context, mux *runtime.ServeMux, client SchemaClient) error

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

func RegisterSchemaHandlerFromEndpoint

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

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

func RegisterSchemaHandlerServer

func RegisterSchemaHandlerServer(ctx context.Context, mux *runtime.ServeMux, server SchemaServer) error

RegisterSchemaHandlerServer registers the http handlers for service Schema to "mux". UnaryRPC :call SchemaServer 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 RegisterSchemaHandlerFromEndpoint instead. GRPC interceptors will not work for this type of registration. To use interceptors, you must use the "runtime.WithMiddlewares" option in the "runtime.NewServeMux" call.

func RegisterSchemaServer

func RegisterSchemaServer(s grpc.ServiceRegistrar, srv SchemaServer)

func RegisterTenancyHandler added in v0.3.0

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

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

func RegisterTenancyHandlerClient added in v0.3.0

func RegisterTenancyHandlerClient(ctx context.Context, mux *runtime.ServeMux, client TenancyClient) error

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

func RegisterTenancyHandlerFromEndpoint added in v0.3.0

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

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

func RegisterTenancyHandlerServer added in v0.3.0

func RegisterTenancyHandlerServer(ctx context.Context, mux *runtime.ServeMux, server TenancyServer) error

RegisterTenancyHandlerServer registers the http handlers for service Tenancy to "mux". UnaryRPC :call TenancyServer 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 RegisterTenancyHandlerFromEndpoint instead. GRPC interceptors will not work for this type of registration. To use interceptors, you must use the "runtime.WithMiddlewares" option in the "runtime.NewServeMux" call.

func RegisterTenancyServer added in v0.3.0

func RegisterTenancyServer(s grpc.ServiceRegistrar, srv TenancyServer)

func RegisterWatchHandler added in v0.4.4

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

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

func RegisterWatchHandlerClient added in v0.4.4

func RegisterWatchHandlerClient(ctx context.Context, mux *runtime.ServeMux, client WatchClient) error

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

func RegisterWatchHandlerFromEndpoint added in v0.4.4

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

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

func RegisterWatchHandlerServer added in v0.4.4

func RegisterWatchHandlerServer(ctx context.Context, mux *runtime.ServeMux, server WatchServer) error

RegisterWatchHandlerServer registers the http handlers for service Watch to "mux". UnaryRPC :call WatchServer 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 RegisterWatchHandlerFromEndpoint instead. GRPC interceptors will not work for this type of registration. To use interceptors, you must use the "runtime.WithMiddlewares" option in the "runtime.NewServeMux" call.

func RegisterWatchServer added in v0.4.4

func RegisterWatchServer(s grpc.ServiceRegistrar, srv WatchServer)

Types

type Argument added in v0.5.0

type Argument struct {

	// Types that are valid to be assigned to Type:
	//
	//	*Argument_ComputedAttribute
	Type isArgument_Type `protobuf_oneof:"type"`
	// contains filtered or unexported fields
}

Argument defines the type of argument in a Call. It can be either a ComputedAttribute or a ContextAttribute.

func (*Argument) CloneMessageVT added in v1.4.5

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

func (*Argument) CloneVT added in v1.4.5

func (m *Argument) CloneVT() *Argument

func (*Argument) Descriptor deprecated added in v0.5.0

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

Deprecated: Use Argument.ProtoReflect.Descriptor instead.

func (*Argument) EqualMessageVT added in v1.4.5

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

func (*Argument) EqualVT added in v1.4.5

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

func (*Argument) GetComputedAttribute added in v0.5.0

func (x *Argument) GetComputedAttribute() *ComputedAttribute

func (*Argument) GetType added in v0.5.0

func (x *Argument) GetType() isArgument_Type

func (*Argument) MarshalToSizedBufferVT added in v1.4.5

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

func (*Argument) MarshalToVT added in v1.4.5

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

func (*Argument) MarshalVT added in v1.4.5

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

func (*Argument) ProtoMessage added in v0.5.0

func (*Argument) ProtoMessage()

func (*Argument) ProtoReflect added in v0.5.0

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

func (*Argument) Reset added in v0.5.0

func (x *Argument) Reset()

func (*Argument) SizeVT added in v1.4.5

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

func (*Argument) String added in v0.5.0

func (x *Argument) String() string

func (*Argument) UnmarshalVT added in v1.4.5

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

type Argument_ComputedAttribute added in v0.5.0

type Argument_ComputedAttribute struct {
	ComputedAttribute *ComputedAttribute `protobuf:"bytes,1,opt,name=computed_attribute,json=computedAttribute,proto3,oneof"`
}

func (*Argument_ComputedAttribute) CloneVT added in v1.4.5

func (m *Argument_ComputedAttribute) CloneVT() isArgument_Type

func (*Argument_ComputedAttribute) EqualVT added in v1.4.5

func (this *Argument_ComputedAttribute) EqualVT(thatIface isArgument_Type) bool

func (*Argument_ComputedAttribute) MarshalToSizedBufferVT added in v1.4.5

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

func (*Argument_ComputedAttribute) MarshalToVT added in v1.4.5

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

func (*Argument_ComputedAttribute) SizeVT added in v1.4.5

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

type Attribute added in v0.5.0

type Attribute struct {
	Entity    *Entity    `protobuf:"bytes,1,opt,name=entity,proto3" json:"entity,omitempty"`
	Attribute string     `protobuf:"bytes,2,opt,name=attribute,proto3" json:"attribute,omitempty"` // Name of the attribute
	Value     *anypb.Any `protobuf:"bytes,3,opt,name=value,proto3" json:"value,omitempty"`
	// contains filtered or unexported fields
}

Attribute represents an attribute of an entity with a specific type and value.

func (*Attribute) CloneMessageVT added in v1.4.5

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

func (*Attribute) CloneVT added in v1.4.5

func (m *Attribute) CloneVT() *Attribute

func (*Attribute) Descriptor deprecated added in v0.5.0

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

Deprecated: Use Attribute.ProtoReflect.Descriptor instead.

func (*Attribute) EqualMessageVT added in v1.4.5

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

func (*Attribute) EqualVT added in v1.4.5

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

func (*Attribute) GetAttribute added in v0.5.0

func (x *Attribute) GetAttribute() string

func (*Attribute) GetEntity added in v0.5.0

func (x *Attribute) GetEntity() *Entity

func (*Attribute) GetValue added in v0.5.0

func (x *Attribute) GetValue() *anypb.Any

func (*Attribute) MarshalToSizedBufferVT added in v1.4.5

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

func (*Attribute) MarshalToVT added in v1.4.5

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

func (*Attribute) MarshalVT added in v1.4.5

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

func (*Attribute) ProtoMessage added in v0.5.0

func (*Attribute) ProtoMessage()

func (*Attribute) ProtoReflect added in v0.5.0

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

func (*Attribute) Reset added in v0.5.0

func (x *Attribute) Reset()

func (*Attribute) SizeVT added in v1.4.5

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

func (*Attribute) String added in v0.5.0

func (x *Attribute) String() string

func (*Attribute) UnmarshalVT added in v1.4.5

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

type AttributeDefinition added in v0.5.0

type AttributeDefinition struct {

	// The name of the attribute, which follows a specific string pattern and has a maximum byte size.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// The type of the attribute.
	Type AttributeType `protobuf:"varint,2,opt,name=type,proto3,enum=base.v1.AttributeType" json:"type,omitempty"`
	// contains filtered or unexported fields
}

The AttributeDefinition message provides detailed information about a specific attribute.

func (*AttributeDefinition) CloneMessageVT added in v1.4.5

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

func (*AttributeDefinition) CloneVT added in v1.4.5

func (*AttributeDefinition) Descriptor deprecated added in v0.5.0

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

Deprecated: Use AttributeDefinition.ProtoReflect.Descriptor instead.

func (*AttributeDefinition) EqualMessageVT added in v1.4.5

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

func (*AttributeDefinition) EqualVT added in v1.4.5

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

func (*AttributeDefinition) GetName added in v0.5.0

func (x *AttributeDefinition) GetName() string

func (*AttributeDefinition) GetType added in v0.5.0

func (x *AttributeDefinition) GetType() AttributeType

func (*AttributeDefinition) MarshalToSizedBufferVT added in v1.4.5

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

func (*AttributeDefinition) MarshalToVT added in v1.4.5

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

func (*AttributeDefinition) MarshalVT added in v1.4.5

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

func (*AttributeDefinition) ProtoMessage added in v0.5.0

func (*AttributeDefinition) ProtoMessage()

func (*AttributeDefinition) ProtoReflect added in v0.5.0

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

func (*AttributeDefinition) Reset added in v0.5.0

func (x *AttributeDefinition) Reset()

func (*AttributeDefinition) SizeVT added in v1.4.5

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

func (*AttributeDefinition) String added in v0.5.0

func (x *AttributeDefinition) String() string

func (*AttributeDefinition) UnmarshalVT added in v1.4.5

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

type AttributeFilter added in v0.5.0

type AttributeFilter struct {
	Entity     *EntityFilter `protobuf:"bytes,1,opt,name=entity,proto3" json:"entity,omitempty"`
	Attributes []string      `protobuf:"bytes,2,rep,name=attributes,proto3" json:"attributes,omitempty"` // Names of the attributes to be filtered
	// contains filtered or unexported fields
}

AttributeFilter is used to filter attributes based on the entity and attribute names.

func (*AttributeFilter) CloneMessageVT added in v1.4.5

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

func (*AttributeFilter) CloneVT added in v1.4.5

func (m *AttributeFilter) CloneVT() *AttributeFilter

func (*AttributeFilter) Descriptor deprecated added in v0.5.0

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

Deprecated: Use AttributeFilter.ProtoReflect.Descriptor instead.

func (*AttributeFilter) EqualMessageVT added in v1.4.5

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

func (*AttributeFilter) EqualVT added in v1.4.5

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

func (*AttributeFilter) GetAttributes added in v0.5.0

func (x *AttributeFilter) GetAttributes() []string

func (*AttributeFilter) GetEntity added in v0.5.0

func (x *AttributeFilter) GetEntity() *EntityFilter

func (*AttributeFilter) MarshalToSizedBufferVT added in v1.4.5

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

func (*AttributeFilter) MarshalToVT added in v1.4.5

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

func (*AttributeFilter) MarshalVT added in v1.4.5

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

func (*AttributeFilter) ProtoMessage added in v0.5.0

func (*AttributeFilter) ProtoMessage()

func (*AttributeFilter) ProtoReflect added in v0.5.0

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

func (*AttributeFilter) Reset added in v0.5.0

func (x *AttributeFilter) Reset()

func (*AttributeFilter) SizeVT added in v1.4.5

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

func (*AttributeFilter) String added in v0.5.0

func (x *AttributeFilter) String() string

func (*AttributeFilter) UnmarshalVT added in v1.4.5

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

type AttributeReadRequest added in v0.5.0

type AttributeReadRequest struct {

	// tenant_id represents the unique identifier of the tenant from which the attributes are being read.
	TenantId string `protobuf:"bytes,1,opt,name=tenant_id,proto3" json:"tenant_id,omitempty"`
	// metadata holds additional information related to the request.
	Metadata *AttributeReadRequestMetadata `protobuf:"bytes,2,opt,name=metadata,proto3" json:"metadata,omitempty"`
	// filter specifies the criteria used to select the attributes that should be returned.
	Filter *AttributeFilter `protobuf:"bytes,3,opt,name=filter,proto3" json:"filter,omitempty"`
	// page_size specifies the number of results to return in a single page.
	// If more results are available, a continuous_token is included in the response.
	PageSize uint32 `protobuf:"varint,4,opt,name=page_size,proto3" json:"page_size,omitempty"`
	// continuous_token is used in case of paginated reads to get the next page of results.
	ContinuousToken string `protobuf:"bytes,5,opt,name=continuous_token,proto3" json:"continuous_token,omitempty"`
	// contains filtered or unexported fields
}

AttributeReadRequest defines the structure of a request for reading attributes. It includes the tenant_id, metadata, attribute filter, page size for pagination, and a continuous token for multi-page results.

func (*AttributeReadRequest) CloneMessageVT added in v1.4.5

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

func (*AttributeReadRequest) CloneVT added in v1.4.5

func (*AttributeReadRequest) Descriptor deprecated added in v0.5.0

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

Deprecated: Use AttributeReadRequest.ProtoReflect.Descriptor instead.

func (*AttributeReadRequest) EqualMessageVT added in v1.4.5

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

func (*AttributeReadRequest) EqualVT added in v1.4.5

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

func (*AttributeReadRequest) GetContinuousToken added in v0.5.0

func (x *AttributeReadRequest) GetContinuousToken() string

func (*AttributeReadRequest) GetFilter added in v0.5.0

func (x *AttributeReadRequest) GetFilter() *AttributeFilter

func (*AttributeReadRequest) GetMetadata added in v0.5.0

func (*AttributeReadRequest) GetPageSize added in v0.5.0

func (x *AttributeReadRequest) GetPageSize() uint32

func (*AttributeReadRequest) GetTenantId added in v0.5.0

func (x *AttributeReadRequest) GetTenantId() string

func (*AttributeReadRequest) MarshalToSizedBufferVT added in v1.4.5

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

func (*AttributeReadRequest) MarshalToVT added in v1.4.5

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

func (*AttributeReadRequest) MarshalVT added in v1.4.5

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

func (*AttributeReadRequest) ProtoMessage added in v0.5.0

func (*AttributeReadRequest) ProtoMessage()

func (*AttributeReadRequest) ProtoReflect added in v0.5.0

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

func (*AttributeReadRequest) Reset added in v0.5.0

func (x *AttributeReadRequest) Reset()

func (*AttributeReadRequest) SizeVT added in v1.4.5

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

func (*AttributeReadRequest) String added in v0.5.0

func (x *AttributeReadRequest) String() string

func (*AttributeReadRequest) UnmarshalVT added in v1.4.5

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

type AttributeReadRequestMetadata added in v0.5.0

type AttributeReadRequestMetadata struct {

	// snap_token represents a specific state or "snapshot" of the database.
	SnapToken string `protobuf:"bytes,1,opt,name=snap_token,proto3" json:"snap_token,omitempty"`
	// contains filtered or unexported fields
}

AttributeReadRequestMetadata defines the structure for the metadata of an attribute read request. It includes the snap_token associated with a particular state of the database.

func (*AttributeReadRequestMetadata) CloneMessageVT added in v1.4.5

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

func (*AttributeReadRequestMetadata) CloneVT added in v1.4.5

func (*AttributeReadRequestMetadata) Descriptor deprecated added in v0.5.0

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

Deprecated: Use AttributeReadRequestMetadata.ProtoReflect.Descriptor instead.

func (*AttributeReadRequestMetadata) EqualMessageVT added in v1.4.5

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

func (*AttributeReadRequestMetadata) EqualVT added in v1.4.5

func (*AttributeReadRequestMetadata) GetSnapToken added in v0.5.0

func (x *AttributeReadRequestMetadata) GetSnapToken() string

func (*AttributeReadRequestMetadata) MarshalToSizedBufferVT added in v1.4.5

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

func (*AttributeReadRequestMetadata) MarshalToVT added in v1.4.5

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

func (*AttributeReadRequestMetadata) MarshalVT added in v1.4.5

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

func (*AttributeReadRequestMetadata) ProtoMessage added in v0.5.0

func (*AttributeReadRequestMetadata) ProtoMessage()

func (*AttributeReadRequestMetadata) ProtoReflect added in v0.5.0

func (*AttributeReadRequestMetadata) Reset added in v0.5.0

func (x *AttributeReadRequestMetadata) Reset()

func (*AttributeReadRequestMetadata) SizeVT added in v1.4.5

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

func (*AttributeReadRequestMetadata) String added in v0.5.0

func (*AttributeReadRequestMetadata) UnmarshalVT added in v1.4.5

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

type AttributeReadResponse added in v0.5.0

type AttributeReadResponse struct {

	// attributes is a list of the attributes retrieved in the read operation.
	Attributes []*Attribute `protobuf:"bytes,1,rep,name=attributes,proto3" json:"attributes,omitempty"`
	// continuous_token is used in the case of paginated reads to retrieve the next page of results.
	ContinuousToken string `protobuf:"bytes,2,opt,name=continuous_token,proto3" json:"continuous_token,omitempty"`
	// contains filtered or unexported fields
}

AttributeReadResponse defines the structure of the response to an attribute read request. It includes the attributes retrieved and a continuous token for handling result pagination.

func (*AttributeReadResponse) CloneMessageVT added in v1.4.5

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

func (*AttributeReadResponse) CloneVT added in v1.4.5

func (*AttributeReadResponse) Descriptor deprecated added in v0.5.0

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

Deprecated: Use AttributeReadResponse.ProtoReflect.Descriptor instead.

func (*AttributeReadResponse) EqualMessageVT added in v1.4.5

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

func (*AttributeReadResponse) EqualVT added in v1.4.5

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

func (*AttributeReadResponse) GetAttributes added in v0.5.0

func (x *AttributeReadResponse) GetAttributes() []*Attribute

func (*AttributeReadResponse) GetContinuousToken added in v0.5.0

func (x *AttributeReadResponse) GetContinuousToken() string

func (*AttributeReadResponse) MarshalToSizedBufferVT added in v1.4.5

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

func (*AttributeReadResponse) MarshalToVT added in v1.4.5

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

func (*AttributeReadResponse) MarshalVT added in v1.4.5

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

func (*AttributeReadResponse) ProtoMessage added in v0.5.0

func (*AttributeReadResponse) ProtoMessage()

func (*AttributeReadResponse) ProtoReflect added in v0.5.0

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

func (*AttributeReadResponse) Reset added in v0.5.0

func (x *AttributeReadResponse) Reset()

func (*AttributeReadResponse) SizeVT added in v1.4.5

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

func (*AttributeReadResponse) String added in v0.5.0

func (x *AttributeReadResponse) String() string

func (*AttributeReadResponse) UnmarshalVT added in v1.4.5

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

type AttributeType added in v0.5.0

type AttributeType int32

Enumerates the types of attribute.

const (
	// Not specified attribute type. This is the default value.
	AttributeType_ATTRIBUTE_TYPE_UNSPECIFIED AttributeType = 0
	// A boolean attribute type.
	AttributeType_ATTRIBUTE_TYPE_BOOLEAN AttributeType = 1
	// A boolean array attribute type.
	AttributeType_ATTRIBUTE_TYPE_BOOLEAN_ARRAY AttributeType = 2
	// A string attribute type.
	AttributeType_ATTRIBUTE_TYPE_STRING AttributeType = 3
	// A string array attribute type.
	AttributeType_ATTRIBUTE_TYPE_STRING_ARRAY AttributeType = 4
	// An integer attribute type.
	AttributeType_ATTRIBUTE_TYPE_INTEGER AttributeType = 5
	// An integer array attribute type.
	AttributeType_ATTRIBUTE_TYPE_INTEGER_ARRAY AttributeType = 6
	// A double attribute type.
	AttributeType_ATTRIBUTE_TYPE_DOUBLE AttributeType = 7
	// A double array attribute type.
	AttributeType_ATTRIBUTE_TYPE_DOUBLE_ARRAY AttributeType = 8
)

func (AttributeType) Descriptor added in v0.5.0

func (AttributeType) Enum added in v0.5.0

func (x AttributeType) Enum() *AttributeType

func (AttributeType) EnumDescriptor deprecated added in v0.5.0

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

Deprecated: Use AttributeType.Descriptor instead.

func (AttributeType) Number added in v0.5.0

func (AttributeType) String added in v0.5.0

func (x AttributeType) String() string

func (AttributeType) Type added in v0.5.0

type Attributes added in v0.5.0

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

Attributes is a collection of attributes.

func (*Attributes) CloneMessageVT added in v1.4.5

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

func (*Attributes) CloneVT added in v1.4.5

func (m *Attributes) CloneVT() *Attributes

func (*Attributes) Descriptor deprecated added in v0.5.0

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

Deprecated: Use Attributes.ProtoReflect.Descriptor instead.

func (*Attributes) EqualMessageVT added in v1.4.5

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

func (*Attributes) EqualVT added in v1.4.5

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

func (*Attributes) GetAttributes added in v0.5.0

func (x *Attributes) GetAttributes() []*Attribute

func (*Attributes) MarshalToSizedBufferVT added in v1.4.5

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

func (*Attributes) MarshalToVT added in v1.4.5

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

func (*Attributes) MarshalVT added in v1.4.5

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

func (*Attributes) ProtoMessage added in v0.5.0

func (*Attributes) ProtoMessage()

func (*Attributes) ProtoReflect added in v0.5.0

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

func (*Attributes) Reset added in v0.5.0

func (x *Attributes) Reset()

func (*Attributes) SizeVT added in v1.4.5

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

func (*Attributes) String added in v0.5.0

func (x *Attributes) String() string

func (*Attributes) UnmarshalVT added in v1.4.5

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

type BooleanArrayValue added in v0.5.1

type BooleanArrayValue struct {
	Data []bool `protobuf:"varint,1,rep,packed,name=data,proto3" json:"data,omitempty"` // The array of booleans.
	// contains filtered or unexported fields
}

Wrapper for an array of booleans.

func (*BooleanArrayValue) CloneMessageVT added in v1.4.5

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

func (*BooleanArrayValue) CloneVT added in v1.4.5

func (m *BooleanArrayValue) CloneVT() *BooleanArrayValue

func (*BooleanArrayValue) Descriptor deprecated added in v0.5.1

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

Deprecated: Use BooleanArrayValue.ProtoReflect.Descriptor instead.

func (*BooleanArrayValue) EqualMessageVT added in v1.4.5

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

func (*BooleanArrayValue) EqualVT added in v1.4.5

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

func (*BooleanArrayValue) GetData added in v0.5.1

func (x *BooleanArrayValue) GetData() []bool

func (*BooleanArrayValue) MarshalToSizedBufferVT added in v1.4.5

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

func (*BooleanArrayValue) MarshalToVT added in v1.4.5

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

func (*BooleanArrayValue) MarshalVT added in v1.4.5

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

func (*BooleanArrayValue) ProtoMessage added in v0.5.1

func (*BooleanArrayValue) ProtoMessage()

func (*BooleanArrayValue) ProtoReflect added in v0.5.1

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

func (*BooleanArrayValue) Reset added in v0.5.1

func (x *BooleanArrayValue) Reset()

func (*BooleanArrayValue) SizeVT added in v1.4.5

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

func (*BooleanArrayValue) String added in v0.5.1

func (x *BooleanArrayValue) String() string

func (*BooleanArrayValue) UnmarshalVT added in v1.4.5

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

type BooleanValue added in v0.5.1

type BooleanValue struct {
	Data bool `protobuf:"varint,1,opt,name=data,proto3" json:"data,omitempty"` // The boolean value.
	// contains filtered or unexported fields
}

Wrapper for a single boolean value.

func (*BooleanValue) CloneMessageVT added in v1.4.5

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

func (*BooleanValue) CloneVT added in v1.4.5

func (m *BooleanValue) CloneVT() *BooleanValue

func (*BooleanValue) Descriptor deprecated added in v0.5.1

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

Deprecated: Use BooleanValue.ProtoReflect.Descriptor instead.

func (*BooleanValue) EqualMessageVT added in v1.4.5

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

func (*BooleanValue) EqualVT added in v1.4.5

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

func (*BooleanValue) GetData added in v0.5.1

func (x *BooleanValue) GetData() bool

func (*BooleanValue) MarshalToSizedBufferVT added in v1.4.5

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

func (*BooleanValue) MarshalToVT added in v1.4.5

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

func (*BooleanValue) MarshalVT added in v1.4.5

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

func (*BooleanValue) ProtoMessage added in v0.5.1

func (*BooleanValue) ProtoMessage()

func (*BooleanValue) ProtoReflect added in v0.5.1

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

func (*BooleanValue) Reset added in v0.5.1

func (x *BooleanValue) Reset()

func (*BooleanValue) SizeVT added in v1.4.5

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

func (*BooleanValue) String added in v0.5.1

func (x *BooleanValue) String() string

func (*BooleanValue) UnmarshalVT added in v1.4.5

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

type BundleClient added in v0.6.0

type BundleClient interface {
	// Writes a bundle of data for a specific operation. This is a general purpose method to handle writing data bundles.
	Write(ctx context.Context, in *BundleWriteRequest, opts ...grpc.CallOption) (*BundleWriteResponse, error)
	// Reads a data bundle based on a specified request. This method is tailored for retrieving data bundles.
	Read(ctx context.Context, in *BundleReadRequest, opts ...grpc.CallOption) (*BundleReadResponse, error)
	// Deletes a specific data bundle. This method is used to remove existing bundles from the system.
	Delete(ctx context.Context, in *BundleDeleteRequest, opts ...grpc.CallOption) (*BundleDeleteResponse, error)
}

BundleClient is the client API for Bundle 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 NewBundleClient added in v0.6.0

func NewBundleClient(cc grpc.ClientConnInterface) BundleClient

type BundleDeleteRequest added in v0.6.0

type BundleDeleteRequest struct {
	TenantId string `protobuf:"bytes,1,opt,name=tenant_id,proto3" json:"tenant_id,omitempty"`
	Name     string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // Name of the bundle to be deleted.
	// contains filtered or unexported fields
}

BundleDeleteRequest is used to request the deletion of a bundle. It contains the tenant_id to specify the tenant and the name of the bundle to be deleted.

func (*BundleDeleteRequest) CloneMessageVT added in v1.4.5

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

func (*BundleDeleteRequest) CloneVT added in v1.4.5

func (*BundleDeleteRequest) Descriptor deprecated added in v0.6.0

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

Deprecated: Use BundleDeleteRequest.ProtoReflect.Descriptor instead.

func (*BundleDeleteRequest) EqualMessageVT added in v1.4.5

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

func (*BundleDeleteRequest) EqualVT added in v1.4.5

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

func (*BundleDeleteRequest) GetName added in v0.6.0

func (x *BundleDeleteRequest) GetName() string

func (*BundleDeleteRequest) GetTenantId added in v0.6.0

func (x *BundleDeleteRequest) GetTenantId() string

func (*BundleDeleteRequest) MarshalToSizedBufferVT added in v1.4.5

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

func (*BundleDeleteRequest) MarshalToVT added in v1.4.5

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

func (*BundleDeleteRequest) MarshalVT added in v1.4.5

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

func (*BundleDeleteRequest) ProtoMessage added in v0.6.0

func (*BundleDeleteRequest) ProtoMessage()

func (*BundleDeleteRequest) ProtoReflect added in v0.6.0

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

func (*BundleDeleteRequest) Reset added in v0.6.0

func (x *BundleDeleteRequest) Reset()

func (*BundleDeleteRequest) SizeVT added in v1.4.5

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

func (*BundleDeleteRequest) String added in v0.6.0

func (x *BundleDeleteRequest) String() string

func (*BundleDeleteRequest) UnmarshalVT added in v1.4.5

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

type BundleDeleteResponse added in v0.6.0

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

func (*BundleDeleteResponse) CloneMessageVT added in v1.4.5

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

func (*BundleDeleteResponse) CloneVT added in v1.4.5

func (*BundleDeleteResponse) Descriptor deprecated added in v0.6.0

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

Deprecated: Use BundleDeleteResponse.ProtoReflect.Descriptor instead.

func (*BundleDeleteResponse) EqualMessageVT added in v1.4.5

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

func (*BundleDeleteResponse) EqualVT added in v1.4.5

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

func (*BundleDeleteResponse) GetName added in v0.6.0

func (x *BundleDeleteResponse) GetName() string

func (*BundleDeleteResponse) MarshalToSizedBufferVT added in v1.4.5

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

func (*BundleDeleteResponse) MarshalToVT added in v1.4.5

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

func (*BundleDeleteResponse) MarshalVT added in v1.4.5

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

func (*BundleDeleteResponse) ProtoMessage added in v0.6.0

func (*BundleDeleteResponse) ProtoMessage()

func (*BundleDeleteResponse) ProtoReflect added in v0.6.0

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

func (*BundleDeleteResponse) Reset added in v0.6.0

func (x *BundleDeleteResponse) Reset()

func (*BundleDeleteResponse) SizeVT added in v1.4.5

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

func (*BundleDeleteResponse) String added in v0.6.0

func (x *BundleDeleteResponse) String() string

func (*BundleDeleteResponse) UnmarshalVT added in v1.4.5

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

type BundleReadRequest added in v0.6.0

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

func (*BundleReadRequest) CloneMessageVT added in v1.4.5

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

func (*BundleReadRequest) CloneVT added in v1.4.5

func (m *BundleReadRequest) CloneVT() *BundleReadRequest

func (*BundleReadRequest) Descriptor deprecated added in v0.6.0

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

Deprecated: Use BundleReadRequest.ProtoReflect.Descriptor instead.

func (*BundleReadRequest) EqualMessageVT added in v1.4.5

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

func (*BundleReadRequest) EqualVT added in v1.4.5

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

func (*BundleReadRequest) GetName added in v0.6.0

func (x *BundleReadRequest) GetName() string

func (*BundleReadRequest) GetTenantId added in v0.6.0

func (x *BundleReadRequest) GetTenantId() string

func (*BundleReadRequest) MarshalToSizedBufferVT added in v1.4.5

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

func (*BundleReadRequest) MarshalToVT added in v1.4.5

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

func (*BundleReadRequest) MarshalVT added in v1.4.5

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

func (*BundleReadRequest) ProtoMessage added in v0.6.0

func (*BundleReadRequest) ProtoMessage()

func (*BundleReadRequest) ProtoReflect added in v0.6.0

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

func (*BundleReadRequest) Reset added in v0.6.0

func (x *BundleReadRequest) Reset()

func (*BundleReadRequest) SizeVT added in v1.4.5

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

func (*BundleReadRequest) String added in v0.6.0

func (x *BundleReadRequest) String() string

func (*BundleReadRequest) UnmarshalVT added in v1.4.5

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

type BundleReadResponse added in v0.6.0

type BundleReadResponse struct {
	Bundle *DataBundle `protobuf:"bytes,1,opt,name=bundle,proto3" json:"bundle,omitempty"`
	// contains filtered or unexported fields
}

func (*BundleReadResponse) CloneMessageVT added in v1.4.5

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

func (*BundleReadResponse) CloneVT added in v1.4.5

func (m *BundleReadResponse) CloneVT() *BundleReadResponse

func (*BundleReadResponse) Descriptor deprecated added in v0.6.0

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

Deprecated: Use BundleReadResponse.ProtoReflect.Descriptor instead.

func (*BundleReadResponse) EqualMessageVT added in v1.4.5

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

func (*BundleReadResponse) EqualVT added in v1.4.5

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

func (*BundleReadResponse) GetBundle added in v0.6.0

func (x *BundleReadResponse) GetBundle() *DataBundle

func (*BundleReadResponse) MarshalToSizedBufferVT added in v1.4.5

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

func (*BundleReadResponse) MarshalToVT added in v1.4.5

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

func (*BundleReadResponse) MarshalVT added in v1.4.5

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

func (*BundleReadResponse) ProtoMessage added in v0.6.0

func (*BundleReadResponse) ProtoMessage()

func (*BundleReadResponse) ProtoReflect added in v0.6.0

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

func (*BundleReadResponse) Reset added in v0.6.0

func (x *BundleReadResponse) Reset()

func (*BundleReadResponse) SizeVT added in v1.4.5

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

func (*BundleReadResponse) String added in v0.6.0

func (x *BundleReadResponse) String() string

func (*BundleReadResponse) UnmarshalVT added in v1.4.5

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

type BundleRunRequest added in v0.6.0

type BundleRunRequest struct {
	TenantId string `protobuf:"bytes,1,opt,name=tenant_id,proto3" json:"tenant_id,omitempty"`
	// Name of the bundle to be executed.
	Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	// Additional key-value pairs for execution arguments.
	Arguments map[string]string `` /* 145-byte string literal not displayed */
	// contains filtered or unexported fields
}

BundleRunRequest is used to request the execution of a bundle. It includes tenant_id, the name of the bundle, and additional arguments for execution.

func (*BundleRunRequest) CloneMessageVT added in v1.4.5

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

func (*BundleRunRequest) CloneVT added in v1.4.5

func (m *BundleRunRequest) CloneVT() *BundleRunRequest

func (*BundleRunRequest) Descriptor deprecated added in v0.6.0

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

Deprecated: Use BundleRunRequest.ProtoReflect.Descriptor instead.

func (*BundleRunRequest) EqualMessageVT added in v1.4.5

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

func (*BundleRunRequest) EqualVT added in v1.4.5

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

func (*BundleRunRequest) GetArguments added in v0.6.0

func (x *BundleRunRequest) GetArguments() map[string]string

func (*BundleRunRequest) GetName added in v0.6.0

func (x *BundleRunRequest) GetName() string

func (*BundleRunRequest) GetTenantId added in v0.6.0

func (x *BundleRunRequest) GetTenantId() string

func (*BundleRunRequest) MarshalToSizedBufferVT added in v1.4.5

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

func (*BundleRunRequest) MarshalToVT added in v1.4.5

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

func (*BundleRunRequest) MarshalVT added in v1.4.5

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

func (*BundleRunRequest) ProtoMessage added in v0.6.0

func (*BundleRunRequest) ProtoMessage()

func (*BundleRunRequest) ProtoReflect added in v0.6.0

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

func (*BundleRunRequest) Reset added in v0.6.0

func (x *BundleRunRequest) Reset()

func (*BundleRunRequest) SizeVT added in v1.4.5

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

func (*BundleRunRequest) String added in v0.6.0

func (x *BundleRunRequest) String() string

func (*BundleRunRequest) UnmarshalVT added in v1.4.5

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

type BundleRunResponse added in v0.6.0

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

BundleRunResponse is the response for a BundleRunRequest. It includes a snap_token, which may be used for tracking the execution or its results.

func (*BundleRunResponse) CloneMessageVT added in v1.4.5

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

func (*BundleRunResponse) CloneVT added in v1.4.5

func (m *BundleRunResponse) CloneVT() *BundleRunResponse

func (*BundleRunResponse) Descriptor deprecated added in v0.6.0

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

Deprecated: Use BundleRunResponse.ProtoReflect.Descriptor instead.

func (*BundleRunResponse) EqualMessageVT added in v1.4.5

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

func (*BundleRunResponse) EqualVT added in v1.4.5

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

func (*BundleRunResponse) GetSnapToken added in v0.6.0

func (x *BundleRunResponse) GetSnapToken() string

func (*BundleRunResponse) MarshalToSizedBufferVT added in v1.4.5

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

func (*BundleRunResponse) MarshalToVT added in v1.4.5

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

func (*BundleRunResponse) MarshalVT added in v1.4.5

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

func (*BundleRunResponse) ProtoMessage added in v0.6.0

func (*BundleRunResponse) ProtoMessage()

func (*BundleRunResponse) ProtoReflect added in v0.6.0

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

func (*BundleRunResponse) Reset added in v0.6.0

func (x *BundleRunResponse) Reset()

func (*BundleRunResponse) SizeVT added in v1.4.5

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

func (*BundleRunResponse) String added in v0.6.0

func (x *BundleRunResponse) String() string

func (*BundleRunResponse) UnmarshalVT added in v1.4.5

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

type BundleServer added in v0.6.0

type BundleServer interface {
	// Writes a bundle of data for a specific operation. This is a general purpose method to handle writing data bundles.
	Write(context.Context, *BundleWriteRequest) (*BundleWriteResponse, error)
	// Reads a data bundle based on a specified request. This method is tailored for retrieving data bundles.
	Read(context.Context, *BundleReadRequest) (*BundleReadResponse, error)
	// Deletes a specific data bundle. This method is used to remove existing bundles from the system.
	Delete(context.Context, *BundleDeleteRequest) (*BundleDeleteResponse, error)
	// contains filtered or unexported methods
}

BundleServer is the server API for Bundle service. All implementations must embed UnimplementedBundleServer for forward compatibility.

type BundleWriteRequest added in v0.6.0

type BundleWriteRequest struct {
	TenantId string        `protobuf:"bytes,1,opt,name=tenant_id,proto3" json:"tenant_id,omitempty"`
	Bundles  []*DataBundle `protobuf:"bytes,2,rep,name=bundles,proto3" json:"bundles,omitempty"` // Contains the bundle data to be written.
	// contains filtered or unexported fields
}

BundleWriteRequest is used to request the writing of a bundle. It contains the tenant_id to identify the tenant and the Bundles object.

func (*BundleWriteRequest) CloneMessageVT added in v1.4.5

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

func (*BundleWriteRequest) CloneVT added in v1.4.5

func (m *BundleWriteRequest) CloneVT() *BundleWriteRequest

func (*BundleWriteRequest) Descriptor deprecated added in v0.6.0

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

Deprecated: Use BundleWriteRequest.ProtoReflect.Descriptor instead.

func (*BundleWriteRequest) EqualMessageVT added in v1.4.5

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

func (*BundleWriteRequest) EqualVT added in v1.4.5

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

func (*BundleWriteRequest) GetBundles added in v0.6.0

func (x *BundleWriteRequest) GetBundles() []*DataBundle

func (*BundleWriteRequest) GetTenantId added in v0.6.0

func (x *BundleWriteRequest) GetTenantId() string

func (*BundleWriteRequest) MarshalToSizedBufferVT added in v1.4.5

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

func (*BundleWriteRequest) MarshalToVT added in v1.4.5

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

func (*BundleWriteRequest) MarshalVT added in v1.4.5

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

func (*BundleWriteRequest) ProtoMessage added in v0.6.0

func (*BundleWriteRequest) ProtoMessage()

func (*BundleWriteRequest) ProtoReflect added in v0.6.0

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

func (*BundleWriteRequest) Reset added in v0.6.0

func (x *BundleWriteRequest) Reset()

func (*BundleWriteRequest) SizeVT added in v1.4.5

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

func (*BundleWriteRequest) String added in v0.6.0

func (x *BundleWriteRequest) String() string

func (*BundleWriteRequest) UnmarshalVT added in v1.4.5

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

type BundleWriteResponse added in v0.6.0

type BundleWriteResponse struct {
	Names []string `protobuf:"bytes,1,rep,name=names,proto3" json:"names,omitempty"` // Identifier or acknowledgment of the written bundle.
	// contains filtered or unexported fields
}

BundleWriteResponse is the response for a BundleWriteRequest. It includes a name which could be used as an identifier or acknowledgment.

func (*BundleWriteResponse) CloneMessageVT added in v1.4.5

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

func (*BundleWriteResponse) CloneVT added in v1.4.5

func (*BundleWriteResponse) Descriptor deprecated added in v0.6.0

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

Deprecated: Use BundleWriteResponse.ProtoReflect.Descriptor instead.

func (*BundleWriteResponse) EqualMessageVT added in v1.4.5

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

func (*BundleWriteResponse) EqualVT added in v1.4.5

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

func (*BundleWriteResponse) GetNames added in v0.6.0

func (x *BundleWriteResponse) GetNames() []string

func (*BundleWriteResponse) MarshalToSizedBufferVT added in v1.4.5

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

func (*BundleWriteResponse) MarshalToVT added in v1.4.5

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

func (*BundleWriteResponse) MarshalVT added in v1.4.5

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

func (*BundleWriteResponse) ProtoMessage added in v0.6.0

func (*BundleWriteResponse) ProtoMessage()

func (*BundleWriteResponse) ProtoReflect added in v0.6.0

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

func (*BundleWriteResponse) Reset added in v0.6.0

func (x *BundleWriteResponse) Reset()

func (*BundleWriteResponse) SizeVT added in v1.4.5

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

func (*BundleWriteResponse) String added in v0.6.0

func (x *BundleWriteResponse) String() string

func (*BundleWriteResponse) UnmarshalVT added in v1.4.5

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

type Call added in v0.5.0

type Call struct {
	RuleName  string      `protobuf:"bytes,1,opt,name=rule_name,json=ruleName,proto3" json:"rule_name,omitempty"` // Name of the rule
	Arguments []*Argument `protobuf:"bytes,2,rep,name=arguments,proto3" json:"arguments,omitempty"`               // Arguments passed to the rule
	// contains filtered or unexported fields
}

Call represents a call to a rule. It includes the name of the rule and the arguments passed to it.

func (*Call) CloneMessageVT added in v1.4.5

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

func (*Call) CloneVT added in v1.4.5

func (m *Call) CloneVT() *Call

func (*Call) Descriptor deprecated added in v0.5.0

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

Deprecated: Use Call.ProtoReflect.Descriptor instead.

func (*Call) EqualMessageVT added in v1.4.5

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

func (*Call) EqualVT added in v1.4.5

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

func (*Call) GetArguments added in v0.5.0

func (x *Call) GetArguments() []*Argument

func (*Call) GetRuleName added in v0.5.0

func (x *Call) GetRuleName() string

func (*Call) MarshalToSizedBufferVT added in v1.4.5

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

func (*Call) MarshalToVT added in v1.4.5

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

func (*Call) MarshalVT added in v1.4.5

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

func (*Call) ProtoMessage added in v0.5.0

func (*Call) ProtoMessage()

func (*Call) ProtoReflect added in v0.5.0

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

func (*Call) Reset added in v0.5.0

func (x *Call) Reset()

func (*Call) SizeVT added in v1.4.5

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

func (*Call) String added in v0.5.0

func (x *Call) String() string

func (*Call) UnmarshalVT added in v1.4.5

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

type CheckResult added in v0.4.7

type CheckResult int32

Enumerates results of a check operation.

const (
	// Not specified check result. This is the default value.
	CheckResult_CHECK_RESULT_UNSPECIFIED CheckResult = 0
	// Represents a successful check (the check allowed the operation).
	CheckResult_CHECK_RESULT_ALLOWED CheckResult = 1
	// Represents a failed check (the check denied the operation).
	CheckResult_CHECK_RESULT_DENIED CheckResult = 2
)

func (CheckResult) Descriptor added in v0.4.7

func (CheckResult) Enum added in v0.4.7

func (x CheckResult) Enum() *CheckResult

func (CheckResult) EnumDescriptor deprecated added in v0.4.7

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

Deprecated: Use CheckResult.Descriptor instead.

func (CheckResult) Number added in v0.4.7

func (x CheckResult) Number() protoreflect.EnumNumber

func (CheckResult) String added in v0.4.7

func (x CheckResult) String() string

func (CheckResult) Type added in v0.4.7

type Child

type Child struct {

	// Child node can be either a leaf or a rewrite operation.
	//
	// Types that are valid to be assigned to Type:
	//
	//	*Child_Leaf
	//	*Child_Rewrite
	Type isChild_Type `protobuf_oneof:"type"`
	// contains filtered or unexported fields
}

Child represents a node in the permission tree.

func (*Child) CloneMessageVT added in v1.4.5

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

func (*Child) CloneVT added in v1.4.5

func (m *Child) CloneVT() *Child

func (*Child) Descriptor deprecated

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

Deprecated: Use Child.ProtoReflect.Descriptor instead.

func (*Child) EqualMessageVT added in v1.4.5

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

func (*Child) EqualVT added in v1.4.5

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

func (*Child) GetLeaf

func (x *Child) GetLeaf() *Leaf

func (*Child) GetRewrite

func (x *Child) GetRewrite() *Rewrite

func (*Child) GetType

func (x *Child) GetType() isChild_Type

func (*Child) MarshalToSizedBufferVT added in v1.4.5

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

func (*Child) MarshalToVT added in v1.4.5

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

func (*Child) MarshalVT added in v1.4.5

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

func (*Child) ProtoMessage

func (*Child) ProtoMessage()

func (*Child) ProtoReflect

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

func (*Child) Reset

func (x *Child) Reset()

func (*Child) SizeVT added in v1.4.5

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

func (*Child) String

func (x *Child) String() string

func (*Child) UnmarshalVT added in v1.4.5

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

type Child_Leaf

type Child_Leaf struct {
	// Leaf node in the permission tree.
	Leaf *Leaf `protobuf:"bytes,1,opt,name=leaf,proto3,oneof"`
}

func (*Child_Leaf) CloneVT added in v1.4.5

func (m *Child_Leaf) CloneVT() isChild_Type

func (*Child_Leaf) EqualVT added in v1.4.5

func (this *Child_Leaf) EqualVT(thatIface isChild_Type) bool

func (*Child_Leaf) MarshalToSizedBufferVT added in v1.4.5

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

func (*Child_Leaf) MarshalToVT added in v1.4.5

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

func (*Child_Leaf) SizeVT added in v1.4.5

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

type Child_Rewrite

type Child_Rewrite struct {
	// Rewrite operation in the permission tree.
	Rewrite *Rewrite `protobuf:"bytes,2,opt,name=rewrite,proto3,oneof"`
}

func (*Child_Rewrite) CloneVT added in v1.4.5

func (m *Child_Rewrite) CloneVT() isChild_Type

func (*Child_Rewrite) EqualVT added in v1.4.5

func (this *Child_Rewrite) EqualVT(thatIface isChild_Type) bool

func (*Child_Rewrite) MarshalToSizedBufferVT added in v1.4.5

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

func (*Child_Rewrite) MarshalToVT added in v1.4.5

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

func (*Child_Rewrite) SizeVT added in v1.4.5

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

type ComputedAttribute added in v0.5.0

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

ComputedAttribute defines a computed attribute which includes its name.

func (*ComputedAttribute) CloneMessageVT added in v1.4.5

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

func (*ComputedAttribute) CloneVT added in v1.4.5

func (m *ComputedAttribute) CloneVT() *ComputedAttribute

func (*ComputedAttribute) Descriptor deprecated added in v0.5.0

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

Deprecated: Use ComputedAttribute.ProtoReflect.Descriptor instead.

func (*ComputedAttribute) EqualMessageVT added in v1.4.5

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

func (*ComputedAttribute) EqualVT added in v1.4.5

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

func (*ComputedAttribute) GetName added in v0.5.0

func (x *ComputedAttribute) GetName() string

func (*ComputedAttribute) MarshalToSizedBufferVT added in v1.4.5

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

func (*ComputedAttribute) MarshalToVT added in v1.4.5

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

func (*ComputedAttribute) MarshalVT added in v1.4.5

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

func (*ComputedAttribute) ProtoMessage added in v0.5.0

func (*ComputedAttribute) ProtoMessage()

func (*ComputedAttribute) ProtoReflect added in v0.5.0

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

func (*ComputedAttribute) Reset added in v0.5.0

func (x *ComputedAttribute) Reset()

func (*ComputedAttribute) SizeVT added in v1.4.5

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

func (*ComputedAttribute) String added in v0.5.0

func (x *ComputedAttribute) String() string

func (*ComputedAttribute) UnmarshalVT added in v1.4.5

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

type ComputedUserSet

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

ComputedUserSet defines a set of computed users which includes the relation name.

func (*ComputedUserSet) CloneMessageVT added in v1.4.5

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

func (*ComputedUserSet) CloneVT added in v1.4.5

func (m *ComputedUserSet) CloneVT() *ComputedUserSet

func (*ComputedUserSet) Descriptor deprecated

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

Deprecated: Use ComputedUserSet.ProtoReflect.Descriptor instead.

func (*ComputedUserSet) EqualMessageVT added in v1.4.5

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

func (*ComputedUserSet) EqualVT added in v1.4.5

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

func (*ComputedUserSet) GetRelation

func (x *ComputedUserSet) GetRelation() string

func (*ComputedUserSet) MarshalToSizedBufferVT added in v1.4.5

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

func (*ComputedUserSet) MarshalToVT added in v1.4.5

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

func (*ComputedUserSet) MarshalVT added in v1.4.5

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

func (*ComputedUserSet) ProtoMessage

func (*ComputedUserSet) ProtoMessage()

func (*ComputedUserSet) ProtoReflect

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

func (*ComputedUserSet) Reset

func (x *ComputedUserSet) Reset()

func (*ComputedUserSet) SizeVT added in v1.4.5

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

func (*ComputedUserSet) String

func (x *ComputedUserSet) String() string

func (*ComputedUserSet) UnmarshalVT added in v1.4.5

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

type Context added in v0.5.0

type Context struct {

	// A repeated field of tuples involved in the operation.
	Tuples []*Tuple `protobuf:"bytes,1,rep,name=tuples,proto3" json:"tuples,omitempty"`
	// A repeated field of attributes associated with the operation.
	Attributes []*Attribute `protobuf:"bytes,2,rep,name=attributes,proto3" json:"attributes,omitempty"`
	// Additional data associated with the context.
	Data *structpb.Struct `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"`
	// contains filtered or unexported fields
}

Context encapsulates the information related to a single operation, including the tuples involved and the associated attributes.

func (*Context) CloneMessageVT added in v1.4.5

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

func (*Context) CloneVT added in v1.4.5

func (m *Context) CloneVT() *Context

func (*Context) Descriptor deprecated added in v0.5.0

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

Deprecated: Use Context.ProtoReflect.Descriptor instead.

func (*Context) EqualMessageVT added in v1.4.5

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

func (*Context) EqualVT added in v1.4.5

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

func (*Context) GetAttributes added in v0.5.0

func (x *Context) GetAttributes() []*Attribute

func (*Context) GetData added in v0.5.0

func (x *Context) GetData() *structpb.Struct

func (*Context) GetTuples added in v0.5.0

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

func (*Context) MarshalToSizedBufferVT added in v1.4.5

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

func (*Context) MarshalToVT added in v1.4.5

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

func (*Context) MarshalVT added in v1.4.5

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

func (*Context) ProtoMessage added in v0.5.0

func (*Context) ProtoMessage()

func (*Context) ProtoReflect added in v0.5.0

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

func (*Context) Reset added in v0.5.0

func (x *Context) Reset()

func (*Context) SizeVT added in v1.4.5

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

func (*Context) String added in v0.5.0

func (x *Context) String() string

func (*Context) UnmarshalVT added in v1.4.5

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

type DataBundle added in v0.6.0

type DataBundle struct {

	// 'name' is a simple string field representing the name of the DataBundle.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// 'arguments' is a repeated field, which means it can contain multiple strings.
	// These are used to store a list of arguments related to the DataBundle.
	Arguments []string `protobuf:"bytes,2,rep,name=arguments,proto3" json:"arguments,omitempty"`
	// 'operations' is a repeated field containing multiple Operation messages.
	// Each Operation represents a specific action or set of actions to be performed.
	Operations []*Operation `protobuf:"bytes,3,rep,name=operations,proto3" json:"operations,omitempty"`
	// contains filtered or unexported fields
}

DataBundle is a message representing a bundle of data, which includes a name, a list of arguments, and a series of operations.

func (*DataBundle) CloneMessageVT added in v1.4.5

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

func (*DataBundle) CloneVT added in v1.4.5

func (m *DataBundle) CloneVT() *DataBundle

func (*DataBundle) Descriptor deprecated added in v0.6.0

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

Deprecated: Use DataBundle.ProtoReflect.Descriptor instead.

func (*DataBundle) EqualMessageVT added in v1.4.5

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

func (*DataBundle) EqualVT added in v1.4.5

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

func (*DataBundle) GetArguments added in v0.6.0

func (x *DataBundle) GetArguments() []string

func (*DataBundle) GetName added in v0.6.0

func (x *DataBundle) GetName() string

func (*DataBundle) GetOperations added in v0.6.0

func (x *DataBundle) GetOperations() []*Operation

func (*DataBundle) MarshalToSizedBufferVT added in v1.4.5

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

func (*DataBundle) MarshalToVT added in v1.4.5

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

func (*DataBundle) MarshalVT added in v1.4.5

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

func (*DataBundle) ProtoMessage added in v0.6.0

func (*DataBundle) ProtoMessage()

func (*DataBundle) ProtoReflect added in v0.6.0

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

func (*DataBundle) Reset added in v0.6.0

func (x *DataBundle) Reset()

func (*DataBundle) SizeVT added in v1.4.5

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

func (*DataBundle) String added in v0.6.0

func (x *DataBundle) String() string

func (*DataBundle) UnmarshalVT added in v1.4.5

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

type DataChange added in v0.5.0

type DataChange struct {
	Operation DataChange_Operation `protobuf:"varint,1,opt,name=operation,proto3,enum=base.v1.DataChange_Operation" json:"operation,omitempty"` // The operation type.
	// Types that are valid to be assigned to Type:
	//
	//	*DataChange_Tuple
	//	*DataChange_Attribute
	Type isDataChange_Type `protobuf_oneof:"type"`
	// contains filtered or unexported fields
}

DataChange represents a single change in data, with an operation type and the actual change which could be a tuple or an attribute.

func (*DataChange) CloneMessageVT added in v1.4.5

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

func (*DataChange) CloneVT added in v1.4.5

func (m *DataChange) CloneVT() *DataChange

func (*DataChange) Descriptor deprecated added in v0.5.0

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

Deprecated: Use DataChange.ProtoReflect.Descriptor instead.

func (*DataChange) EqualMessageVT added in v1.4.5

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

func (*DataChange) EqualVT added in v1.4.5

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

func (*DataChange) GetAttribute added in v0.5.0

func (x *DataChange) GetAttribute() *Attribute

func (*DataChange) GetOperation added in v0.5.0

func (x *DataChange) GetOperation() DataChange_Operation

func (*DataChange) GetTuple added in v0.5.0

func (x *DataChange) GetTuple() *Tuple

func (*DataChange) GetType added in v0.5.0

func (x *DataChange) GetType() isDataChange_Type

func (*DataChange) MarshalToSizedBufferVT added in v1.4.5

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

func (*DataChange) MarshalToVT added in v1.4.5

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

func (*DataChange) MarshalVT added in v1.4.5

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

func (*DataChange) ProtoMessage added in v0.5.0

func (*DataChange) ProtoMessage()

func (*DataChange) ProtoReflect added in v0.5.0

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

func (*DataChange) Reset added in v0.5.0

func (x *DataChange) Reset()

func (*DataChange) SizeVT added in v1.4.5

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

func (*DataChange) String added in v0.5.0

func (x *DataChange) String() string

func (*DataChange) UnmarshalVT added in v1.4.5

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

type DataChange_Attribute added in v0.5.0

type DataChange_Attribute struct {
	Attribute *Attribute `protobuf:"bytes,3,opt,name=attribute,proto3,oneof"` // If the change is an attribute.
}

func (*DataChange_Attribute) CloneVT added in v1.4.5

func (m *DataChange_Attribute) CloneVT() isDataChange_Type

func (*DataChange_Attribute) EqualVT added in v1.4.5

func (this *DataChange_Attribute) EqualVT(thatIface isDataChange_Type) bool

func (*DataChange_Attribute) MarshalToSizedBufferVT added in v1.4.5

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

func (*DataChange_Attribute) MarshalToVT added in v1.4.5

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

func (*DataChange_Attribute) SizeVT added in v1.4.5

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

type DataChange_Operation added in v0.5.0

type DataChange_Operation int32
const (
	DataChange_OPERATION_UNSPECIFIED DataChange_Operation = 0 // Default operation, not specified.
	DataChange_OPERATION_CREATE      DataChange_Operation = 1 // Creation operation.
	DataChange_OPERATION_DELETE      DataChange_Operation = 2 // Deletion operation.
)

func (DataChange_Operation) Descriptor added in v0.5.0

func (DataChange_Operation) Enum added in v0.5.0

func (DataChange_Operation) EnumDescriptor deprecated added in v0.5.0

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

Deprecated: Use DataChange_Operation.Descriptor instead.

func (DataChange_Operation) Number added in v0.5.0

func (DataChange_Operation) String added in v0.5.0

func (x DataChange_Operation) String() string

func (DataChange_Operation) Type added in v0.5.0

type DataChange_Tuple added in v0.5.0

type DataChange_Tuple struct {
	Tuple *Tuple `protobuf:"bytes,2,opt,name=tuple,proto3,oneof"` // If the change is a tuple.
}

func (*DataChange_Tuple) CloneVT added in v1.4.5

func (m *DataChange_Tuple) CloneVT() isDataChange_Type

func (*DataChange_Tuple) EqualVT added in v1.4.5

func (this *DataChange_Tuple) EqualVT(thatIface isDataChange_Type) bool

func (*DataChange_Tuple) MarshalToSizedBufferVT added in v1.4.5

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

func (*DataChange_Tuple) MarshalToVT added in v1.4.5

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

func (*DataChange_Tuple) SizeVT added in v1.4.5

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

type DataChanges added in v0.5.0

type DataChanges struct {
	SnapToken   string        `protobuf:"bytes,1,opt,name=snap_token,proto3" json:"snap_token,omitempty"`     // The snapshot token.
	DataChanges []*DataChange `protobuf:"bytes,2,rep,name=data_changes,proto3" json:"data_changes,omitempty"` // The list of data changes.
	// contains filtered or unexported fields
}

DataChanges represent changes in data with a snap token and a list of data change objects.

func (*DataChanges) CloneMessageVT added in v1.4.5

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

func (*DataChanges) CloneVT added in v1.4.5

func (m *DataChanges) CloneVT() *DataChanges

func (*DataChanges) Descriptor deprecated added in v0.5.0

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

Deprecated: Use DataChanges.ProtoReflect.Descriptor instead.

func (*DataChanges) EqualMessageVT added in v1.4.5

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

func (*DataChanges) EqualVT added in v1.4.5

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

func (*DataChanges) GetDataChanges added in v0.5.0

func (x *DataChanges) GetDataChanges() []*DataChange

func (*DataChanges) GetSnapToken added in v0.5.0

func (x *DataChanges) GetSnapToken() string

func (*DataChanges) MarshalToSizedBufferVT added in v1.4.5

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

func (*DataChanges) MarshalToVT added in v1.4.5

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

func (*DataChanges) MarshalVT added in v1.4.5

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

func (*DataChanges) ProtoMessage added in v0.5.0

func (*DataChanges) ProtoMessage()

func (*DataChanges) ProtoReflect added in v0.5.0

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

func (*DataChanges) Reset added in v0.5.0

func (x *DataChanges) Reset()

func (*DataChanges) SizeVT added in v1.4.5

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

func (*DataChanges) String added in v0.5.0

func (x *DataChanges) String() string

func (*DataChanges) UnmarshalVT added in v1.4.5

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

type DataClient added in v0.5.0

type DataClient interface {
	// The Write RPC method creates a new relation tuple.
	Write(ctx context.Context, in *DataWriteRequest, opts ...grpc.CallOption) (*DataWriteResponse, error)
	// RPC method to write relationships for a tenant. This can be accessed via a POST request to the given HTTP path. It's tagged under "Data" in OpenAPI documentation.
	// buf:lint:ignore RPC_REQUEST_STANDARD_NAME
	// buf:lint:ignore RPC_RESPONSE_STANDARD_NAME
	WriteRelationships(ctx context.Context, in *RelationshipWriteRequest, opts ...grpc.CallOption) (*RelationshipWriteResponse, error)
	// The ReadRelationships RPC method reads relation tuple(s).
	// buf:lint:ignore RPC_REQUEST_STANDARD_NAME
	// buf:lint:ignore RPC_RESPONSE_STANDARD_NAME
	ReadRelationships(ctx context.Context, in *RelationshipReadRequest, opts ...grpc.CallOption) (*RelationshipReadResponse, error)
	// The ReadAttributes RPC method reads attribute(s) of a relation.
	// buf:lint:ignore RPC_REQUEST_STANDARD_NAME
	// buf:lint:ignore RPC_RESPONSE_STANDARD_NAME
	ReadAttributes(ctx context.Context, in *AttributeReadRequest, opts ...grpc.CallOption) (*AttributeReadResponse, error)
	// The Delete RPC method deletes a relation tuple.
	Delete(ctx context.Context, in *DataDeleteRequest, opts ...grpc.CallOption) (*DataDeleteResponse, error)
	// RPC method to delete relationships for a tenant, accessed via a POST request to the specified path, tagged as "Data" in OpenAPI documentation.
	// buf:lint:ignore RPC_REQUEST_STANDARD_NAME
	// buf:lint:ignore RPC_RESPONSE_STANDARD_NAME
	DeleteRelationships(ctx context.Context, in *RelationshipDeleteRequest, opts ...grpc.CallOption) (*RelationshipDeleteResponse, error)
	// Executes or runs a specific bundle. This method is useful for processing or triggering actions based on the bundle's data.
	// buf:lint:ignore RPC_REQUEST_STANDARD_NAME
	// buf:lint:ignore RPC_RESPONSE_STANDARD_NAME
	RunBundle(ctx context.Context, in *BundleRunRequest, opts ...grpc.CallOption) (*BundleRunResponse, error)
}

DataClient is the client API for Data 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.

The Data service provides RPC methods for managing data in the context of relationships and attributes.

func NewDataClient added in v0.5.0

func NewDataClient(cc grpc.ClientConnInterface) DataClient

type DataDeleteRequest added in v0.5.0

type DataDeleteRequest struct {

	// tenant_id represents the unique identifier of the tenant from which the data will be deleted.
	TenantId string `protobuf:"bytes,1,opt,name=tenant_id,proto3" json:"tenant_id,omitempty"`
	// tuple_filter specifies the criteria used to select the tuples that should be deleted.
	TupleFilter *TupleFilter `protobuf:"bytes,2,opt,name=tuple_filter,proto3" json:"tuple_filter,omitempty"`
	// attribute_filter specifies the criteria used to select the attributes that should be deleted.
	AttributeFilter *AttributeFilter `protobuf:"bytes,3,opt,name=attribute_filter,proto3" json:"attribute_filter,omitempty"`
	// contains filtered or unexported fields
}

DataDeleteRequest defines the structure of a request to delete data. It includes the tenant_id and filters for selecting tuples and attributes to be deleted.

func (*DataDeleteRequest) CloneMessageVT added in v1.4.5

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

func (*DataDeleteRequest) CloneVT added in v1.4.5

func (m *DataDeleteRequest) CloneVT() *DataDeleteRequest

func (*DataDeleteRequest) Descriptor deprecated added in v0.5.0

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

Deprecated: Use DataDeleteRequest.ProtoReflect.Descriptor instead.

func (*DataDeleteRequest) EqualMessageVT added in v1.4.5

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

func (*DataDeleteRequest) EqualVT added in v1.4.5

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

func (*DataDeleteRequest) GetAttributeFilter added in v0.5.0

func (x *DataDeleteRequest) GetAttributeFilter() *AttributeFilter

func (*DataDeleteRequest) GetTenantId added in v0.5.0

func (x *DataDeleteRequest) GetTenantId() string

func (*DataDeleteRequest) GetTupleFilter added in v0.5.0

func (x *DataDeleteRequest) GetTupleFilter() *TupleFilter

func (*DataDeleteRequest) MarshalToSizedBufferVT added in v1.4.5

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

func (*DataDeleteRequest) MarshalToVT added in v1.4.5

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

func (*DataDeleteRequest) MarshalVT added in v1.4.5

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

func (*DataDeleteRequest) ProtoMessage added in v0.5.0

func (*DataDeleteRequest) ProtoMessage()

func (*DataDeleteRequest) ProtoReflect added in v0.5.0

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

func (*DataDeleteRequest) Reset added in v0.5.0

func (x *DataDeleteRequest) Reset()

func (*DataDeleteRequest) SizeVT added in v1.4.5

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

func (*DataDeleteRequest) String added in v0.5.0

func (x *DataDeleteRequest) String() string

func (*DataDeleteRequest) UnmarshalVT added in v1.4.5

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

type DataDeleteResponse added in v0.5.0

type DataDeleteResponse struct {

	// snap_token represents the state of the database after the requested deletions.
	SnapToken string `protobuf:"bytes,1,opt,name=snap_token,proto3" json:"snap_token,omitempty"`
	// contains filtered or unexported fields
}

DataDeleteResponse defines the structure of the response to a data delete request. It includes a snap_token representing the state of the database after the deletion.

func (*DataDeleteResponse) CloneMessageVT added in v1.4.5

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

func (*DataDeleteResponse) CloneVT added in v1.4.5

func (m *DataDeleteResponse) CloneVT() *DataDeleteResponse

func (*DataDeleteResponse) Descriptor deprecated added in v0.5.0

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

Deprecated: Use DataDeleteResponse.ProtoReflect.Descriptor instead.

func (*DataDeleteResponse) EqualMessageVT added in v1.4.5

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

func (*DataDeleteResponse) EqualVT added in v1.4.5

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

func (*DataDeleteResponse) GetSnapToken added in v0.5.0

func (x *DataDeleteResponse) GetSnapToken() string

func (*DataDeleteResponse) MarshalToSizedBufferVT added in v1.4.5

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

func (*DataDeleteResponse) MarshalToVT added in v1.4.5

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

func (*DataDeleteResponse) MarshalVT added in v1.4.5

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

func (*DataDeleteResponse) ProtoMessage added in v0.5.0

func (*DataDeleteResponse) ProtoMessage()

func (*DataDeleteResponse) ProtoReflect added in v0.5.0

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

func (*DataDeleteResponse) Reset added in v0.5.0

func (x *DataDeleteResponse) Reset()

func (*DataDeleteResponse) SizeVT added in v1.4.5

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

func (*DataDeleteResponse) String added in v0.5.0

func (x *DataDeleteResponse) String() string

func (*DataDeleteResponse) UnmarshalVT added in v1.4.5

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

type DataServer added in v0.5.0

type DataServer interface {
	// The Write RPC method creates a new relation tuple.
	Write(context.Context, *DataWriteRequest) (*DataWriteResponse, error)
	// RPC method to write relationships for a tenant. This can be accessed via a POST request to the given HTTP path. It's tagged under "Data" in OpenAPI documentation.
	// buf:lint:ignore RPC_REQUEST_STANDARD_NAME
	// buf:lint:ignore RPC_RESPONSE_STANDARD_NAME
	WriteRelationships(context.Context, *RelationshipWriteRequest) (*RelationshipWriteResponse, error)
	// The ReadRelationships RPC method reads relation tuple(s).
	// buf:lint:ignore RPC_REQUEST_STANDARD_NAME
	// buf:lint:ignore RPC_RESPONSE_STANDARD_NAME
	ReadRelationships(context.Context, *RelationshipReadRequest) (*RelationshipReadResponse, error)
	// The ReadAttributes RPC method reads attribute(s) of a relation.
	// buf:lint:ignore RPC_REQUEST_STANDARD_NAME
	// buf:lint:ignore RPC_RESPONSE_STANDARD_NAME
	ReadAttributes(context.Context, *AttributeReadRequest) (*AttributeReadResponse, error)
	// The Delete RPC method deletes a relation tuple.
	Delete(context.Context, *DataDeleteRequest) (*DataDeleteResponse, error)
	// RPC method to delete relationships for a tenant, accessed via a POST request to the specified path, tagged as "Data" in OpenAPI documentation.
	// buf:lint:ignore RPC_REQUEST_STANDARD_NAME
	// buf:lint:ignore RPC_RESPONSE_STANDARD_NAME
	DeleteRelationships(context.Context, *RelationshipDeleteRequest) (*RelationshipDeleteResponse, error)
	// Executes or runs a specific bundle. This method is useful for processing or triggering actions based on the bundle's data.
	// buf:lint:ignore RPC_REQUEST_STANDARD_NAME
	// buf:lint:ignore RPC_RESPONSE_STANDARD_NAME
	RunBundle(context.Context, *BundleRunRequest) (*BundleRunResponse, error)
	// contains filtered or unexported methods
}

DataServer is the server API for Data service. All implementations must embed UnimplementedDataServer for forward compatibility.

The Data service provides RPC methods for managing data in the context of relationships and attributes.

type DataWriteRequest added in v0.5.0

type DataWriteRequest struct {

	// tenant_id represents the unique identifier of the tenant for which data is written.
	TenantId string `protobuf:"bytes,1,opt,name=tenant_id,proto3" json:"tenant_id,omitempty"`
	// metadata holds additional data related to the request.
	Metadata *DataWriteRequestMetadata `protobuf:"bytes,2,opt,name=metadata,proto3" json:"metadata,omitempty"`
	// tuples contains the list of tuples (entity-relation-entity triples) that need to be written.
	Tuples []*Tuple `protobuf:"bytes,3,rep,name=tuples,proto3" json:"tuples,omitempty"`
	// attributes contains the list of attributes (entity-attribute-value triples) that need to be written.
	Attributes []*Attribute `protobuf:"bytes,4,rep,name=attributes,proto3" json:"attributes,omitempty"`
	// contains filtered or unexported fields
}

DataWriteRequest defines the structure of a request for writing data. It contains the necessary information such as tenant_id, metadata, tuples and attributes for the write operation.

func (*DataWriteRequest) CloneMessageVT added in v1.4.5

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

func (*DataWriteRequest) CloneVT added in v1.4.5

func (m *DataWriteRequest) CloneVT() *DataWriteRequest

func (*DataWriteRequest) Descriptor deprecated added in v0.5.0

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

Deprecated: Use DataWriteRequest.ProtoReflect.Descriptor instead.

func (*DataWriteRequest) EqualMessageVT added in v1.4.5

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

func (*DataWriteRequest) EqualVT added in v1.4.5

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

func (*DataWriteRequest) GetAttributes added in v0.5.0

func (x *DataWriteRequest) GetAttributes() []*Attribute

func (*DataWriteRequest) GetMetadata added in v0.5.0

func (x *DataWriteRequest) GetMetadata() *DataWriteRequestMetadata

func (*DataWriteRequest) GetTenantId added in v0.5.0

func (x *DataWriteRequest) GetTenantId() string

func (*DataWriteRequest) GetTuples added in v0.5.0

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

func (*DataWriteRequest) MarshalToSizedBufferVT added in v1.4.5

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

func (*DataWriteRequest) MarshalToVT added in v1.4.5

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

func (*DataWriteRequest) MarshalVT added in v1.4.5

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

func (*DataWriteRequest) ProtoMessage added in v0.5.0

func (*DataWriteRequest) ProtoMessage()

func (*DataWriteRequest) ProtoReflect added in v0.5.0

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

func (*DataWriteRequest) Reset added in v0.5.0

func (x *DataWriteRequest) Reset()

func (*DataWriteRequest) SizeVT added in v1.4.5

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

func (*DataWriteRequest) String added in v0.5.0

func (x *DataWriteRequest) String() string

func (*DataWriteRequest) UnmarshalVT added in v1.4.5

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

type DataWriteRequestMetadata added in v0.5.0

type DataWriteRequestMetadata struct {

	// schema_version represents the version of the schema for the data being written.
	SchemaVersion string `protobuf:"bytes,1,opt,name=schema_version,proto3" json:"schema_version,omitempty"`
	// contains filtered or unexported fields
}

DataWriteRequestMetadata defines the structure of metadata for a write request. It includes the schema version of the data to be written.

func (*DataWriteRequestMetadata) CloneMessageVT added in v1.4.5

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

func (*DataWriteRequestMetadata) CloneVT added in v1.4.5

func (*DataWriteRequestMetadata) Descriptor deprecated added in v0.5.0

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

Deprecated: Use DataWriteRequestMetadata.ProtoReflect.Descriptor instead.

func (*DataWriteRequestMetadata) EqualMessageVT added in v1.4.5

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

func (*DataWriteRequestMetadata) EqualVT added in v1.4.5

func (*DataWriteRequestMetadata) GetSchemaVersion added in v0.5.0

func (x *DataWriteRequestMetadata) GetSchemaVersion() string

func (*DataWriteRequestMetadata) MarshalToSizedBufferVT added in v1.4.5

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

func (*DataWriteRequestMetadata) MarshalToVT added in v1.4.5

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

func (*DataWriteRequestMetadata) MarshalVT added in v1.4.5

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

func (*DataWriteRequestMetadata) ProtoMessage added in v0.5.0

func (*DataWriteRequestMetadata) ProtoMessage()

func (*DataWriteRequestMetadata) ProtoReflect added in v0.5.0

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

func (*DataWriteRequestMetadata) Reset added in v0.5.0

func (x *DataWriteRequestMetadata) Reset()

func (*DataWriteRequestMetadata) SizeVT added in v1.4.5

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

func (*DataWriteRequestMetadata) String added in v0.5.0

func (x *DataWriteRequestMetadata) String() string

func (*DataWriteRequestMetadata) UnmarshalVT added in v1.4.5

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

type DataWriteResponse added in v0.5.0

type DataWriteResponse struct {

	// snap_token is the token generated after the data write operation, representing a snapshot of the data.
	SnapToken string `protobuf:"bytes,1,opt,name=snap_token,proto3" json:"snap_token,omitempty"`
	// contains filtered or unexported fields
}

DataWriteResponse defines the structure of the response after writing data. It contains the snap_token generated after the write operation.

func (*DataWriteResponse) CloneMessageVT added in v1.4.5

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

func (*DataWriteResponse) CloneVT added in v1.4.5

func (m *DataWriteResponse) CloneVT() *DataWriteResponse

func (*DataWriteResponse) Descriptor deprecated added in v0.5.0

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

Deprecated: Use DataWriteResponse.ProtoReflect.Descriptor instead.

func (*DataWriteResponse) EqualMessageVT added in v1.4.5

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

func (*DataWriteResponse) EqualVT added in v1.4.5

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

func (*DataWriteResponse) GetSnapToken added in v0.5.0

func (x *DataWriteResponse) GetSnapToken() string

func (*DataWriteResponse) MarshalToSizedBufferVT added in v1.4.5

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

func (*DataWriteResponse) MarshalToVT added in v1.4.5

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

func (*DataWriteResponse) MarshalVT added in v1.4.5

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

func (*DataWriteResponse) ProtoMessage added in v0.5.0

func (*DataWriteResponse) ProtoMessage()

func (*DataWriteResponse) ProtoReflect added in v0.5.0

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

func (*DataWriteResponse) Reset added in v0.5.0

func (x *DataWriteResponse) Reset()

func (*DataWriteResponse) SizeVT added in v1.4.5

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

func (*DataWriteResponse) String added in v0.5.0

func (x *DataWriteResponse) String() string

func (*DataWriteResponse) UnmarshalVT added in v1.4.5

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

type DoubleArrayValue added in v0.5.1

type DoubleArrayValue struct {
	Data []float64 `protobuf:"fixed64,1,rep,packed,name=data,proto3" json:"data,omitempty"` // The array of doubles.
	// contains filtered or unexported fields
}

Wrapper for an array of double precision floating point values.

func (*DoubleArrayValue) CloneMessageVT added in v1.4.5

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

func (*DoubleArrayValue) CloneVT added in v1.4.5

func (m *DoubleArrayValue) CloneVT() *DoubleArrayValue

func (*DoubleArrayValue) Descriptor deprecated added in v0.5.1

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

Deprecated: Use DoubleArrayValue.ProtoReflect.Descriptor instead.

func (*DoubleArrayValue) EqualMessageVT added in v1.4.5

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

func (*DoubleArrayValue) EqualVT added in v1.4.5

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

func (*DoubleArrayValue) GetData added in v0.5.1

func (x *DoubleArrayValue) GetData() []float64

func (*DoubleArrayValue) MarshalToSizedBufferVT added in v1.4.5

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

func (*DoubleArrayValue) MarshalToVT added in v1.4.5

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

func (*DoubleArrayValue) MarshalVT added in v1.4.5

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

func (*DoubleArrayValue) ProtoMessage added in v0.5.1

func (*DoubleArrayValue) ProtoMessage()

func (*DoubleArrayValue) ProtoReflect added in v0.5.1

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

func (*DoubleArrayValue) Reset added in v0.5.1

func (x *DoubleArrayValue) Reset()

func (*DoubleArrayValue) SizeVT added in v1.4.5

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

func (*DoubleArrayValue) String added in v0.5.1

func (x *DoubleArrayValue) String() string

func (*DoubleArrayValue) UnmarshalVT added in v1.4.5

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

type DoubleValue added in v0.5.1

type DoubleValue struct {
	Data float64 `protobuf:"fixed64,1,opt,name=data,proto3" json:"data,omitempty"` // The double value.
	// contains filtered or unexported fields
}

Wrapper for a single double precision floating point value.

func (*DoubleValue) CloneMessageVT added in v1.4.5

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

func (*DoubleValue) CloneVT added in v1.4.5

func (m *DoubleValue) CloneVT() *DoubleValue

func (*DoubleValue) Descriptor deprecated added in v0.5.1

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

Deprecated: Use DoubleValue.ProtoReflect.Descriptor instead.

func (*DoubleValue) EqualMessageVT added in v1.4.5

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

func (*DoubleValue) EqualVT added in v1.4.5

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

func (*DoubleValue) GetData added in v0.5.1

func (x *DoubleValue) GetData() float64

func (*DoubleValue) MarshalToSizedBufferVT added in v1.4.5

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

func (*DoubleValue) MarshalToVT added in v1.4.5

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

func (*DoubleValue) MarshalVT added in v1.4.5

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

func (*DoubleValue) ProtoMessage added in v0.5.1

func (*DoubleValue) ProtoMessage()

func (*DoubleValue) ProtoReflect added in v0.5.1

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

func (*DoubleValue) Reset added in v0.5.1

func (x *DoubleValue) Reset()

func (*DoubleValue) SizeVT added in v1.4.5

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

func (*DoubleValue) String added in v0.5.1

func (x *DoubleValue) String() string

func (*DoubleValue) UnmarshalVT added in v1.4.5

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

type Entity

type Entity 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
}

Entity represents an entity with a type and an identifier.

func (*Entity) CloneMessageVT added in v1.4.5

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

func (*Entity) CloneVT added in v1.4.5

func (m *Entity) CloneVT() *Entity

func (*Entity) Descriptor deprecated

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

Deprecated: Use Entity.ProtoReflect.Descriptor instead.

func (*Entity) EqualMessageVT added in v1.4.5

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

func (*Entity) EqualVT added in v1.4.5

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

func (*Entity) GetId

func (x *Entity) GetId() string

func (*Entity) GetType

func (x *Entity) GetType() string

func (*Entity) MarshalToSizedBufferVT added in v1.4.5

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

func (*Entity) MarshalToVT added in v1.4.5

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

func (*Entity) MarshalVT added in v1.4.5

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

func (*Entity) ProtoMessage

func (*Entity) ProtoMessage()

func (*Entity) ProtoReflect

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

func (*Entity) Reset

func (x *Entity) Reset()

func (*Entity) SizeVT added in v1.4.5

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

func (*Entity) String

func (x *Entity) String() string

func (*Entity) UnmarshalVT added in v1.4.5

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

type EntityAndRelation

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

EntityAndRelation represents an entity along with a relation.

func (*EntityAndRelation) CloneMessageVT added in v1.4.5

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

func (*EntityAndRelation) CloneVT added in v1.4.5

func (m *EntityAndRelation) CloneVT() *EntityAndRelation

func (*EntityAndRelation) Descriptor deprecated

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

Deprecated: Use EntityAndRelation.ProtoReflect.Descriptor instead.

func (*EntityAndRelation) EqualMessageVT added in v1.4.5

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

func (*EntityAndRelation) EqualVT added in v1.4.5

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

func (*EntityAndRelation) GetEntity

func (x *EntityAndRelation) GetEntity() *Entity

func (*EntityAndRelation) GetRelation

func (x *EntityAndRelation) GetRelation() string

func (*EntityAndRelation) MarshalToSizedBufferVT added in v1.4.5

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

func (*EntityAndRelation) MarshalToVT added in v1.4.5

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

func (*EntityAndRelation) MarshalVT added in v1.4.5

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

func (*EntityAndRelation) ProtoMessage

func (*EntityAndRelation) ProtoMessage()

func (*EntityAndRelation) ProtoReflect

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

func (*EntityAndRelation) Reset

func (x *EntityAndRelation) Reset()

func (*EntityAndRelation) SizeVT added in v1.4.5

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

func (*EntityAndRelation) String

func (x *EntityAndRelation) String() string

func (*EntityAndRelation) UnmarshalVT added in v1.4.5

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

type EntityDefinition

type EntityDefinition struct {

	// The name of the entity, which follows a specific string pattern and has a maximum byte size.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Map of relation definitions within this entity. The key is the relation name, and the value is the RelationDefinition.
	Relations map[string]*RelationDefinition `` /* 145-byte string literal not displayed */
	// Map of permission definitions within this entity. The key is the permission name, and the value is the PermissionDefinition.
	Permissions map[string]*PermissionDefinition `` /* 149-byte string literal not displayed */
	// Map of attribute definitions within this entity. The key is the attribute name, and the value is the AttributeDefinition.
	Attributes map[string]*AttributeDefinition `` /* 147-byte string literal not displayed */
	// Map of references indicating whether a string pertains to a relation, permission, or attribute.
	References map[string]EntityDefinition_Reference `` /* 188-byte string literal not displayed */
	// contains filtered or unexported fields
}

The EntityDefinition message provides detailed information about a specific entity.

func (*EntityDefinition) CloneMessageVT added in v1.4.5

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

func (*EntityDefinition) CloneVT added in v1.4.5

func (m *EntityDefinition) CloneVT() *EntityDefinition

func (*EntityDefinition) Descriptor deprecated

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

Deprecated: Use EntityDefinition.ProtoReflect.Descriptor instead.

func (*EntityDefinition) EqualMessageVT added in v1.4.5

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

func (*EntityDefinition) EqualVT added in v1.4.5

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

func (*EntityDefinition) GetAttributes added in v0.5.0

func (x *EntityDefinition) GetAttributes() map[string]*AttributeDefinition

func (*EntityDefinition) GetName

func (x *EntityDefinition) GetName() string

func (*EntityDefinition) GetPermissions added in v0.3.9

func (x *EntityDefinition) GetPermissions() map[string]*PermissionDefinition

func (*EntityDefinition) GetReferences

func (x *EntityDefinition) GetReferences() map[string]EntityDefinition_Reference

func (*EntityDefinition) GetRelations

func (x *EntityDefinition) GetRelations() map[string]*RelationDefinition

func (*EntityDefinition) MarshalToSizedBufferVT added in v1.4.5

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

func (*EntityDefinition) MarshalToVT added in v1.4.5

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

func (*EntityDefinition) MarshalVT added in v1.4.5

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

func (*EntityDefinition) ProtoMessage

func (*EntityDefinition) ProtoMessage()

func (*EntityDefinition) ProtoReflect

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

func (*EntityDefinition) Reset

func (x *EntityDefinition) Reset()

func (*EntityDefinition) SizeVT added in v1.4.5

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

func (*EntityDefinition) String

func (x *EntityDefinition) String() string

func (*EntityDefinition) UnmarshalVT added in v1.4.5

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

type EntityDefinition_Reference added in v0.5.0

type EntityDefinition_Reference int32

The Reference enum specifies whether a name pertains to a relation, permission, or attribute.

const (
	EntityDefinition_REFERENCE_UNSPECIFIED EntityDefinition_Reference = 0 // Default, unspecified reference.
	EntityDefinition_REFERENCE_RELATION    EntityDefinition_Reference = 1 // Indicates that the name refers to a relation.
	EntityDefinition_REFERENCE_PERMISSION  EntityDefinition_Reference = 2 // Indicates that the name refers to a permission.
	EntityDefinition_REFERENCE_ATTRIBUTE   EntityDefinition_Reference = 3 // Indicates that the name refers to an attribute.
)

func (EntityDefinition_Reference) Descriptor added in v0.5.0

func (EntityDefinition_Reference) Enum added in v0.5.0

func (EntityDefinition_Reference) EnumDescriptor deprecated added in v0.5.0

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

Deprecated: Use EntityDefinition_Reference.Descriptor instead.

func (EntityDefinition_Reference) Number added in v0.5.0

func (EntityDefinition_Reference) String added in v0.5.0

func (EntityDefinition_Reference) Type added in v0.5.0

type EntityFilter

type EntityFilter struct {
	Type string   `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"` // Type of the entity
	Ids  []string `protobuf:"bytes,2,rep,name=ids,proto3" json:"ids,omitempty"`   // List of entity IDs
	// contains filtered or unexported fields
}

EntityFilter is used to filter entities based on the type and ids.

func (*EntityFilter) CloneMessageVT added in v1.4.5

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

func (*EntityFilter) CloneVT added in v1.4.5

func (m *EntityFilter) CloneVT() *EntityFilter

func (*EntityFilter) Descriptor deprecated

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

Deprecated: Use EntityFilter.ProtoReflect.Descriptor instead.

func (*EntityFilter) EqualMessageVT added in v1.4.5

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

func (*EntityFilter) EqualVT added in v1.4.5

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

func (*EntityFilter) GetIds

func (x *EntityFilter) GetIds() []string

func (*EntityFilter) GetType

func (x *EntityFilter) GetType() string

func (*EntityFilter) MarshalToSizedBufferVT added in v1.4.5

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

func (*EntityFilter) MarshalToVT added in v1.4.5

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

func (*EntityFilter) MarshalVT added in v1.4.5

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

func (*EntityFilter) ProtoMessage

func (*EntityFilter) ProtoMessage()

func (*EntityFilter) ProtoReflect

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

func (*EntityFilter) Reset

func (x *EntityFilter) Reset()

func (*EntityFilter) SizeVT added in v1.4.5

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

func (*EntityFilter) String

func (x *EntityFilter) String() string

func (*EntityFilter) UnmarshalVT added in v1.4.5

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

type Entrance added in v1.1.0

type Entrance struct {

	// The type of the entrance entity, which follows a specific string pattern and has a maximum byte size.
	Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"`
	// The value associated with the entrance, which follows a specific string pattern and has a maximum byte size.
	Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
	// contains filtered or unexported fields
}

func (*Entrance) CloneMessageVT added in v1.4.5

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

func (*Entrance) CloneVT added in v1.4.5

func (m *Entrance) CloneVT() *Entrance

func (*Entrance) Descriptor deprecated added in v1.1.0

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

Deprecated: Use Entrance.ProtoReflect.Descriptor instead.

func (*Entrance) EqualMessageVT added in v1.4.5

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

func (*Entrance) EqualVT added in v1.4.5

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

func (*Entrance) GetType added in v1.1.0

func (x *Entrance) GetType() string

func (*Entrance) GetValue added in v1.1.0

func (x *Entrance) GetValue() string

func (*Entrance) MarshalToSizedBufferVT added in v1.4.5

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

func (*Entrance) MarshalToVT added in v1.4.5

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

func (*Entrance) MarshalVT added in v1.4.5

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

func (*Entrance) ProtoMessage added in v1.1.0

func (*Entrance) ProtoMessage()

func (*Entrance) ProtoReflect added in v1.1.0

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

func (*Entrance) Reset added in v1.1.0

func (x *Entrance) Reset()

func (*Entrance) SizeVT added in v1.4.5

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

func (*Entrance) String added in v1.1.0

func (x *Entrance) String() string

func (*Entrance) UnmarshalVT added in v1.4.5

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

type ErrorCode

type ErrorCode int32
const (
	ErrorCode_ERROR_CODE_UNSPECIFIED ErrorCode = 0
	// authn
	ErrorCode_ERROR_CODE_MISSING_BEARER_TOKEN ErrorCode = 1001
	ErrorCode_ERROR_CODE_UNAUTHENTICATED      ErrorCode = 1002
	ErrorCode_ERROR_CODE_MISSING_TENANT_ID    ErrorCode = 1003
	ErrorCode_ERROR_CODE_INVALID_AUDIENCE     ErrorCode = 1004
	ErrorCode_ERROR_CODE_INVALID_CLAIMS       ErrorCode = 1005
	ErrorCode_ERROR_CODE_INVALID_ISSUER       ErrorCode = 1006
	ErrorCode_ERROR_CODE_INVALID_BEARER_TOKEN ErrorCode = 1007
	// validation
	ErrorCode_ERROR_CODE_VALIDATION                                        ErrorCode = 2000
	ErrorCode_ERROR_CODE_UNDEFINED_CHILD_TYPE                              ErrorCode = 2002
	ErrorCode_ERROR_CODE_UNDEFINED_CHILD_KIND                              ErrorCode = 2003
	ErrorCode_ERROR_CODE_UNDEFINED_RELATION_REFERENCE                      ErrorCode = 2006
	ErrorCode_ERROR_CODE_NOT_SUPPORTED_RELATION_WALK                       ErrorCode = 2007
	ErrorCode_ERROR_CODE_ENTITY_AND_SUBJECT_CANNOT_BE_EQUAL                ErrorCode = 2008
	ErrorCode_ERROR_CODE_DEPTH_NOT_ENOUGH                                  ErrorCode = 2009
	ErrorCode_ERROR_CODE_RELATION_REFERENCE_NOT_FOUND_IN_ENTITY_REFERENCES ErrorCode = 2010
	ErrorCode_ERROR_CODE_RELATION_REFERENCE_MUST_HAVE_ONE_ENTITY_REFERENCE ErrorCode = 2011
	ErrorCode_ERROR_CODE_DUPLICATED_ENTITY_REFERENCE                       ErrorCode = 2012
	ErrorCode_ERROR_CODE_DUPLICATED_RELATION_REFERENCE                     ErrorCode = 2013
	ErrorCode_ERROR_CODE_DUPLICATED_PERMISSION_REFERENCE                   ErrorCode = 2014
	ErrorCode_ERROR_CODE_SCHEMA_PARSE                                      ErrorCode = 2015
	ErrorCode_ERROR_CODE_SCHEMA_COMPILE                                    ErrorCode = 2016
	ErrorCode_ERROR_CODE_SUBJECT_RELATION_MUST_BE_EMPTY                    ErrorCode = 2017
	ErrorCode_ERROR_CODE_SUBJECT_RELATION_CANNOT_BE_EMPTY                  ErrorCode = 2018
	ErrorCode_ERROR_CODE_SCHEMA_MUST_HAVE_USER_ENTITY_DEFINITION           ErrorCode = 2019
	ErrorCode_ERROR_CODE_UNIQUE_CONSTRAINT                                 ErrorCode = 2020
	ErrorCode_ERROR_CODE_INVALID_CONTINUOUS_TOKEN                          ErrorCode = 2021
	ErrorCode_ERROR_CODE_INVALID_KEY                                       ErrorCode = 2022
	ErrorCode_ERROR_CODE_ENTITY_TYPE_REQUIRED                              ErrorCode = 2023
	ErrorCode_ERROR_CODE_NO_ENTITY_REFERENCES_FOUND_IN_SCHEMA              ErrorCode = 2024
	ErrorCode_ERROR_CODE_INVALID_ARGUMENT                                  ErrorCode = 2025
	ErrorCode_ERROR_CODE_INVALID_RULE_REFERENCE                            ErrorCode = 2026
	ErrorCode_ERROR_CODE_NOT_SUPPORTED_WALK                                ErrorCode = 2027
	ErrorCode_ERROR_CODE_MISSING_ARGUMENT                                  ErrorCode = 2028
	ErrorCode_ERROR_CODE_ALREADY_EXIST                                     ErrorCode = 2029
	ErrorCode_ERROR_CODE_MAX_DATA_PER_WRITE_EXCEEDED                       ErrorCode = 2030
	// not found
	ErrorCode_ERROR_CODE_NOT_FOUND                       ErrorCode = 4000
	ErrorCode_ERROR_CODE_ENTITY_TYPE_NOT_FOUND           ErrorCode = 4001
	ErrorCode_ERROR_CODE_PERMISSION_NOT_FOUND            ErrorCode = 4002
	ErrorCode_ERROR_CODE_SCHEMA_NOT_FOUND                ErrorCode = 4003
	ErrorCode_ERROR_CODE_SUBJECT_TYPE_NOT_FOUND          ErrorCode = 4004
	ErrorCode_ERROR_CODE_ENTITY_DEFINITION_NOT_FOUND     ErrorCode = 4005
	ErrorCode_ERROR_CODE_PERMISSION_DEFINITION_NOT_FOUND ErrorCode = 4006
	ErrorCode_ERROR_CODE_RELATION_DEFINITION_NOT_FOUND   ErrorCode = 4007
	ErrorCode_ERROR_CODE_RECORD_NOT_FOUND                ErrorCode = 4008
	ErrorCode_ERROR_CODE_TENANT_NOT_FOUND                ErrorCode = 4009
	ErrorCode_ERROR_CODE_ATTRIBUTE_DEFINITION_NOT_FOUND  ErrorCode = 4010
	ErrorCode_ERROR_CODE_ATTRIBUTE_TYPE_MISMATCH         ErrorCode = 4011
	ErrorCode_ERROR_CODE_BUNDLE_NOT_FOUND                ErrorCode = 4012
	ErrorCode_ERROR_CODE_RULE_DEFINITION_NOT_FOUND       ErrorCode = 4013
	ErrorCode_ERROR_CODE_ENTITY_STATEMENT_NOT_FOUND      ErrorCode = 4014
	ErrorCode_ERROR_CODE_REFERENCE_NOT_FOUND             ErrorCode = 4015
	// internal
	ErrorCode_ERROR_CODE_INTERNAL                                  ErrorCode = 5000
	ErrorCode_ERROR_CODE_CANCELLED                                 ErrorCode = 5001
	ErrorCode_ERROR_CODE_SQL_BUILDER                               ErrorCode = 5002
	ErrorCode_ERROR_CODE_CIRCUIT_BREAKER                           ErrorCode = 5003
	ErrorCode_ERROR_CODE_EXECUTION                                 ErrorCode = 5005
	ErrorCode_ERROR_CODE_SCAN                                      ErrorCode = 5006
	ErrorCode_ERROR_CODE_MIGRATION                                 ErrorCode = 5007
	ErrorCode_ERROR_CODE_TYPE_CONVERSATION                         ErrorCode = 5008
	ErrorCode_ERROR_CODE_ERROR_MAX_RETRIES                         ErrorCode = 5009
	ErrorCode_ERROR_CODE_ROLLBACK                                  ErrorCode = 5010
	ErrorCode_ERROR_CODE_EXCLUSION_REQUIRES_MORE_THAN_ONE_FUNCTION ErrorCode = 5011
	ErrorCode_ERROR_CODE_NOT_IMPLEMENTED                           ErrorCode = 5012
	ErrorCode_ERROR_CODE_DATASTORE                                 ErrorCode = 5013
	ErrorCode_ERROR_CODE_UNKNOWN_STATEMENT_TYPE                    ErrorCode = 5014
	ErrorCode_ERROR_CODE_UNKNOWN_REFERENCE_TYPE                    ErrorCode = 5015
	ErrorCode_ERROR_CODE_CANNOT_CONVERT_TO_ENTITY_STATEMENT        ErrorCode = 5016
	ErrorCode_ERROR_CODE_CANNOT_CONVERT_TO_RELATION_STATEMENT      ErrorCode = 5017
	ErrorCode_ERROR_CODE_CANNOT_CONVERT_TO_ATTRIBUTE_STATEMENT     ErrorCode = 5018
	ErrorCode_ERROR_CODE_SERIALIZATION                             ErrorCode = 5019
)

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 ErrorResponse

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

ErrorResponse

func (*ErrorResponse) CloneMessageVT added in v1.4.5

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

func (*ErrorResponse) CloneVT added in v1.4.5

func (m *ErrorResponse) CloneVT() *ErrorResponse

func (*ErrorResponse) Descriptor deprecated

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

Deprecated: Use ErrorResponse.ProtoReflect.Descriptor instead.

func (*ErrorResponse) EqualMessageVT added in v1.4.5

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

func (*ErrorResponse) EqualVT added in v1.4.5

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

func (*ErrorResponse) GetCode

func (x *ErrorResponse) GetCode() ErrorCode

func (*ErrorResponse) GetMessage

func (x *ErrorResponse) GetMessage() string

func (*ErrorResponse) MarshalToSizedBufferVT added in v1.4.5

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

func (*ErrorResponse) MarshalToVT added in v1.4.5

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

func (*ErrorResponse) MarshalVT added in v1.4.5

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

func (*ErrorResponse) ProtoMessage

func (*ErrorResponse) ProtoMessage()

func (*ErrorResponse) ProtoReflect

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

func (*ErrorResponse) Reset

func (x *ErrorResponse) Reset()

func (*ErrorResponse) SizeVT added in v1.4.5

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

func (*ErrorResponse) String

func (x *ErrorResponse) String() string

func (*ErrorResponse) UnmarshalVT added in v1.4.5

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

type Expand

type Expand struct {

	// entity is the entity for which the hierarchical structure is defined.
	Entity *Entity `protobuf:"bytes,1,opt,name=entity,proto3" json:"entity,omitempty"`
	// permission is the permission applied to the entity.
	Permission string `protobuf:"bytes,2,opt,name=permission,proto3" json:"permission,omitempty"`
	// arguments are the additional information or context used to evaluate permissions.
	Arguments []*Argument `protobuf:"bytes,3,rep,name=arguments,proto3" json:"arguments,omitempty"`
	// The node can either be an ExpandTreeNode or a set of Subjects.
	//
	// Types that are valid to be assigned to Node:
	//
	//	*Expand_Expand
	//	*Expand_Leaf
	Node isExpand_Node `protobuf_oneof:"node"`
	// contains filtered or unexported fields
}

Expand is used to define a hierarchical structure for permissions. It has an entity, permission, and arguments. The node can be either another hierarchical structure or a set of subjects.

func (*Expand) CloneMessageVT added in v1.4.5

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

func (*Expand) CloneVT added in v1.4.5

func (m *Expand) CloneVT() *Expand

func (*Expand) Descriptor deprecated

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

Deprecated: Use Expand.ProtoReflect.Descriptor instead.

func (*Expand) EqualMessageVT added in v1.4.5

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

func (*Expand) EqualVT added in v1.4.5

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

func (*Expand) GetArguments added in v0.5.0

func (x *Expand) GetArguments() []*Argument

func (*Expand) GetEntity added in v0.5.0

func (x *Expand) GetEntity() *Entity

func (*Expand) GetExpand

func (x *Expand) GetExpand() *ExpandTreeNode

func (*Expand) GetLeaf

func (x *Expand) GetLeaf() *ExpandLeaf

func (*Expand) GetNode

func (x *Expand) GetNode() isExpand_Node

func (*Expand) GetPermission added in v0.5.0

func (x *Expand) GetPermission() string

func (*Expand) MarshalToSizedBufferVT added in v1.4.5

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

func (*Expand) MarshalToVT added in v1.4.5

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

func (*Expand) MarshalVT added in v1.4.5

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

func (*Expand) ProtoMessage

func (*Expand) ProtoMessage()

func (*Expand) ProtoReflect

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

func (*Expand) Reset

func (x *Expand) Reset()

func (*Expand) SizeVT added in v1.4.5

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

func (*Expand) String

func (x *Expand) String() string

func (*Expand) UnmarshalVT added in v1.4.5

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

type ExpandLeaf added in v0.5.0

type ExpandLeaf struct {

	// Types that are valid to be assigned to Type:
	//
	//	*ExpandLeaf_Subjects
	//	*ExpandLeaf_Values
	//	*ExpandLeaf_Value
	Type isExpandLeaf_Type `protobuf_oneof:"type"`
	// contains filtered or unexported fields
}

ExpandLeaf is the leaf node of an Expand tree and can be either a set of Subjects or a set of Values.

func (*ExpandLeaf) CloneMessageVT added in v1.4.5

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

func (*ExpandLeaf) CloneVT added in v1.4.5

func (m *ExpandLeaf) CloneVT() *ExpandLeaf

func (*ExpandLeaf) Descriptor deprecated added in v0.5.0

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

Deprecated: Use ExpandLeaf.ProtoReflect.Descriptor instead.

func (*ExpandLeaf) EqualMessageVT added in v1.4.5

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

func (*ExpandLeaf) EqualVT added in v1.4.5

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

func (*ExpandLeaf) GetSubjects added in v0.5.0

func (x *ExpandLeaf) GetSubjects() *Subjects

func (*ExpandLeaf) GetType added in v0.5.0

func (x *ExpandLeaf) GetType() isExpandLeaf_Type

func (*ExpandLeaf) GetValue added in v0.5.0

func (x *ExpandLeaf) GetValue() *anypb.Any

func (*ExpandLeaf) GetValues added in v0.5.0

func (x *ExpandLeaf) GetValues() *Values

func (*ExpandLeaf) MarshalToSizedBufferVT added in v1.4.5

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

func (*ExpandLeaf) MarshalToVT added in v1.4.5

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

func (*ExpandLeaf) MarshalVT added in v1.4.5

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

func (*ExpandLeaf) ProtoMessage added in v0.5.0

func (*ExpandLeaf) ProtoMessage()

func (*ExpandLeaf) ProtoReflect added in v0.5.0

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

func (*ExpandLeaf) Reset added in v0.5.0

func (x *ExpandLeaf) Reset()

func (*ExpandLeaf) SizeVT added in v1.4.5

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

func (*ExpandLeaf) String added in v0.5.0

func (x *ExpandLeaf) String() string

func (*ExpandLeaf) UnmarshalVT added in v1.4.5

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

type ExpandLeaf_Subjects added in v0.5.0

type ExpandLeaf_Subjects struct {
	// subjects are used when the leaf is a set of subjects.
	Subjects *Subjects `protobuf:"bytes,1,opt,name=subjects,proto3,oneof"`
}

func (*ExpandLeaf_Subjects) CloneVT added in v1.4.5

func (m *ExpandLeaf_Subjects) CloneVT() isExpandLeaf_Type

func (*ExpandLeaf_Subjects) EqualVT added in v1.4.5

func (this *ExpandLeaf_Subjects) EqualVT(thatIface isExpandLeaf_Type) bool

func (*ExpandLeaf_Subjects) MarshalToSizedBufferVT added in v1.4.5

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

func (*ExpandLeaf_Subjects) MarshalToVT added in v1.4.5

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

func (*ExpandLeaf_Subjects) SizeVT added in v1.4.5

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

type ExpandLeaf_Value added in v0.5.0

type ExpandLeaf_Value struct {
	// value is used when the leaf node is a single value.
	Value *anypb.Any `protobuf:"bytes,3,opt,name=value,proto3,oneof"`
}

func (*ExpandLeaf_Value) CloneVT added in v1.4.5

func (m *ExpandLeaf_Value) CloneVT() isExpandLeaf_Type

func (*ExpandLeaf_Value) EqualVT added in v1.4.5

func (this *ExpandLeaf_Value) EqualVT(thatIface isExpandLeaf_Type) bool

func (*ExpandLeaf_Value) MarshalToSizedBufferVT added in v1.4.5

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

func (*ExpandLeaf_Value) MarshalToVT added in v1.4.5

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

func (*ExpandLeaf_Value) SizeVT added in v1.4.5

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

type ExpandLeaf_Values added in v0.5.0

type ExpandLeaf_Values struct {
	// values are used when the leaf node is a set of values.
	Values *Values `protobuf:"bytes,2,opt,name=values,proto3,oneof"`
}

func (*ExpandLeaf_Values) CloneVT added in v1.4.5

func (m *ExpandLeaf_Values) CloneVT() isExpandLeaf_Type

func (*ExpandLeaf_Values) EqualVT added in v1.4.5

func (this *ExpandLeaf_Values) EqualVT(thatIface isExpandLeaf_Type) bool

func (*ExpandLeaf_Values) MarshalToSizedBufferVT added in v1.4.5

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

func (*ExpandLeaf_Values) MarshalToVT added in v1.4.5

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

func (*ExpandLeaf_Values) SizeVT added in v1.4.5

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

type ExpandTreeNode

type ExpandTreeNode struct {
	Operation ExpandTreeNode_Operation `protobuf:"varint,1,opt,name=operation,proto3,enum=base.v1.ExpandTreeNode_Operation" json:"operation,omitempty"` // Operation to be applied on this tree node
	Children  []*Expand                `protobuf:"bytes,2,rep,name=children,proto3" json:"children,omitempty"`                                          // The children of this tree node
	// contains filtered or unexported fields
}

ExpandTreeNode represents a node in an expansion tree with a specific operation and its children.

func (*ExpandTreeNode) CloneMessageVT added in v1.4.5

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

func (*ExpandTreeNode) CloneVT added in v1.4.5

func (m *ExpandTreeNode) CloneVT() *ExpandTreeNode

func (*ExpandTreeNode) Descriptor deprecated

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

Deprecated: Use ExpandTreeNode.ProtoReflect.Descriptor instead.

func (*ExpandTreeNode) EqualMessageVT added in v1.4.5

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

func (*ExpandTreeNode) EqualVT added in v1.4.5

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

func (*ExpandTreeNode) GetChildren

func (x *ExpandTreeNode) GetChildren() []*Expand

func (*ExpandTreeNode) GetOperation

func (x *ExpandTreeNode) GetOperation() ExpandTreeNode_Operation

func (*ExpandTreeNode) MarshalToSizedBufferVT added in v1.4.5

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

func (*ExpandTreeNode) MarshalToVT added in v1.4.5

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

func (*ExpandTreeNode) MarshalVT added in v1.4.5

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

func (*ExpandTreeNode) ProtoMessage

func (*ExpandTreeNode) ProtoMessage()

func (*ExpandTreeNode) ProtoReflect

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

func (*ExpandTreeNode) Reset

func (x *ExpandTreeNode) Reset()

func (*ExpandTreeNode) SizeVT added in v1.4.5

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

func (*ExpandTreeNode) String

func (x *ExpandTreeNode) String() string

func (*ExpandTreeNode) UnmarshalVT added in v1.4.5

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

type ExpandTreeNode_Operation

type ExpandTreeNode_Operation int32

Operation is an enum representing the type of operation to be applied on the tree node.

const (
	ExpandTreeNode_OPERATION_UNSPECIFIED  ExpandTreeNode_Operation = 0
	ExpandTreeNode_OPERATION_UNION        ExpandTreeNode_Operation = 1
	ExpandTreeNode_OPERATION_INTERSECTION ExpandTreeNode_Operation = 2
	ExpandTreeNode_OPERATION_EXCLUSION    ExpandTreeNode_Operation = 3
)

func (ExpandTreeNode_Operation) Descriptor

func (ExpandTreeNode_Operation) Enum

func (ExpandTreeNode_Operation) EnumDescriptor deprecated

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

Deprecated: Use ExpandTreeNode_Operation.Descriptor instead.

func (ExpandTreeNode_Operation) Number

func (ExpandTreeNode_Operation) String

func (x ExpandTreeNode_Operation) String() string

func (ExpandTreeNode_Operation) Type

type Expand_Expand

type Expand_Expand struct {
	// expand contains another hierarchical structure.
	Expand *ExpandTreeNode `protobuf:"bytes,4,opt,name=expand,proto3,oneof"`
}

func (*Expand_Expand) CloneVT added in v1.4.5

func (m *Expand_Expand) CloneVT() isExpand_Node

func (*Expand_Expand) EqualVT added in v1.4.5

func (this *Expand_Expand) EqualVT(thatIface isExpand_Node) bool

func (*Expand_Expand) MarshalToSizedBufferVT added in v1.4.5

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

func (*Expand_Expand) MarshalToVT added in v1.4.5

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

func (*Expand_Expand) SizeVT added in v1.4.5

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

type Expand_Leaf

type Expand_Leaf struct {
	// leaf contains a set of subjects.
	Leaf *ExpandLeaf `protobuf:"bytes,5,opt,name=leaf,proto3,oneof"`
}

func (*Expand_Leaf) CloneVT added in v1.4.5

func (m *Expand_Leaf) CloneVT() isExpand_Node

func (*Expand_Leaf) EqualVT added in v1.4.5

func (this *Expand_Leaf) EqualVT(thatIface isExpand_Node) bool

func (*Expand_Leaf) MarshalToSizedBufferVT added in v1.4.5

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

func (*Expand_Leaf) MarshalToVT added in v1.4.5

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

func (*Expand_Leaf) SizeVT added in v1.4.5

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

type IntegerArrayValue added in v0.5.1

type IntegerArrayValue struct {
	Data []int32 `protobuf:"varint,1,rep,packed,name=data,proto3" json:"data,omitempty"` // The array of integers.
	// contains filtered or unexported fields
}

Wrapper for an array of integers.

func (*IntegerArrayValue) CloneMessageVT added in v1.4.5

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

func (*IntegerArrayValue) CloneVT added in v1.4.5

func (m *IntegerArrayValue) CloneVT() *IntegerArrayValue

func (*IntegerArrayValue) Descriptor deprecated added in v0.5.1

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

Deprecated: Use IntegerArrayValue.ProtoReflect.Descriptor instead.

func (*IntegerArrayValue) EqualMessageVT added in v1.4.5

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

func (*IntegerArrayValue) EqualVT added in v1.4.5

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

func (*IntegerArrayValue) GetData added in v0.5.1

func (x *IntegerArrayValue) GetData() []int32

func (*IntegerArrayValue) MarshalToSizedBufferVT added in v1.4.5

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

func (*IntegerArrayValue) MarshalToVT added in v1.4.5

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

func (*IntegerArrayValue) MarshalVT added in v1.4.5

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

func (*IntegerArrayValue) ProtoMessage added in v0.5.1

func (*IntegerArrayValue) ProtoMessage()

func (*IntegerArrayValue) ProtoReflect added in v0.5.1

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

func (*IntegerArrayValue) Reset added in v0.5.1

func (x *IntegerArrayValue) Reset()

func (*IntegerArrayValue) SizeVT added in v1.4.5

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

func (*IntegerArrayValue) String added in v0.5.1

func (x *IntegerArrayValue) String() string

func (*IntegerArrayValue) UnmarshalVT added in v1.4.5

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

type IntegerValue added in v0.5.1

type IntegerValue struct {
	Data int32 `protobuf:"varint,1,opt,name=data,proto3" json:"data,omitempty"` // The integer value.
	// contains filtered or unexported fields
}

Wrapper for a single integer value.

func (*IntegerValue) CloneMessageVT added in v1.4.5

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

func (*IntegerValue) CloneVT added in v1.4.5

func (m *IntegerValue) CloneVT() *IntegerValue

func (*IntegerValue) Descriptor deprecated added in v0.5.1

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

Deprecated: Use IntegerValue.ProtoReflect.Descriptor instead.

func (*IntegerValue) EqualMessageVT added in v1.4.5

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

func (*IntegerValue) EqualVT added in v1.4.5

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

func (*IntegerValue) GetData added in v0.5.1

func (x *IntegerValue) GetData() int32

func (*IntegerValue) MarshalToSizedBufferVT added in v1.4.5

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

func (*IntegerValue) MarshalToVT added in v1.4.5

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

func (*IntegerValue) MarshalVT added in v1.4.5

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

func (*IntegerValue) ProtoMessage added in v0.5.1

func (*IntegerValue) ProtoMessage()

func (*IntegerValue) ProtoReflect added in v0.5.1

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

func (*IntegerValue) Reset added in v0.5.1

func (x *IntegerValue) Reset()

func (*IntegerValue) SizeVT added in v1.4.5

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

func (*IntegerValue) String added in v0.5.1

func (x *IntegerValue) String() string

func (*IntegerValue) UnmarshalVT added in v1.4.5

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

type Leaf

type Leaf struct {

	// Leaf node can be one of several types.
	//
	// Types that are valid to be assigned to Type:
	//
	//	*Leaf_ComputedUserSet
	//	*Leaf_TupleToUserSet
	//	*Leaf_ComputedAttribute
	//	*Leaf_Call
	Type isLeaf_Type `protobuf_oneof:"type"`
	// contains filtered or unexported fields
}

Leaf represents a leaf node in the permission tree.

func (*Leaf) CloneMessageVT added in v1.4.5

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

func (*Leaf) CloneVT added in v1.4.5

func (m *Leaf) CloneVT() *Leaf

func (*Leaf) Descriptor deprecated

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

Deprecated: Use Leaf.ProtoReflect.Descriptor instead.

func (*Leaf) EqualMessageVT added in v1.4.5

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

func (*Leaf) EqualVT added in v1.4.5

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

func (*Leaf) GetCall added in v0.5.0

func (x *Leaf) GetCall() *Call

func (*Leaf) GetComputedAttribute added in v0.5.0

func (x *Leaf) GetComputedAttribute() *ComputedAttribute

func (*Leaf) GetComputedUserSet

func (x *Leaf) GetComputedUserSet() *ComputedUserSet

func (*Leaf) GetTupleToUserSet

func (x *Leaf) GetTupleToUserSet() *TupleToUserSet

func (*Leaf) GetType

func (x *Leaf) GetType() isLeaf_Type

func (*Leaf) MarshalToSizedBufferVT added in v1.4.5

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

func (*Leaf) MarshalToVT added in v1.4.5

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

func (*Leaf) MarshalVT added in v1.4.5

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

func (*Leaf) ProtoMessage

func (*Leaf) ProtoMessage()

func (*Leaf) ProtoReflect

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

func (*Leaf) Reset

func (x *Leaf) Reset()

func (*Leaf) SizeVT added in v1.4.5

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

func (*Leaf) String

func (x *Leaf) String() string

func (*Leaf) UnmarshalVT added in v1.4.5

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

type Leaf_Call added in v0.5.0

type Leaf_Call struct {
	// A call to a function or method.
	Call *Call `protobuf:"bytes,4,opt,name=call,proto3,oneof"`
}

func (*Leaf_Call) CloneVT added in v1.4.5

func (m *Leaf_Call) CloneVT() isLeaf_Type

func (*Leaf_Call) EqualVT added in v1.4.5

func (this *Leaf_Call) EqualVT(thatIface isLeaf_Type) bool

func (*Leaf_Call) MarshalToSizedBufferVT added in v1.4.5

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

func (*Leaf_Call) MarshalToVT added in v1.4.5

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

func (*Leaf_Call) SizeVT added in v1.4.5

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

type Leaf_ComputedAttribute added in v0.5.0

type Leaf_ComputedAttribute struct {
	// A computed attribute.
	ComputedAttribute *ComputedAttribute `protobuf:"bytes,3,opt,name=computed_attribute,json=computedAttribute,proto3,oneof"`
}

func (*Leaf_ComputedAttribute) CloneVT added in v1.4.5

func (m *Leaf_ComputedAttribute) CloneVT() isLeaf_Type

func (*Leaf_ComputedAttribute) EqualVT added in v1.4.5

func (this *Leaf_ComputedAttribute) EqualVT(thatIface isLeaf_Type) bool

func (*Leaf_ComputedAttribute) MarshalToSizedBufferVT added in v1.4.5

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

func (*Leaf_ComputedAttribute) MarshalToVT added in v1.4.5

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

func (*Leaf_ComputedAttribute) SizeVT added in v1.4.5

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

type Leaf_ComputedUserSet

type Leaf_ComputedUserSet struct {
	// A computed set of users.
	ComputedUserSet *ComputedUserSet `protobuf:"bytes,1,opt,name=computed_user_set,json=computedUserSet,proto3,oneof"`
}

func (*Leaf_ComputedUserSet) CloneVT added in v1.4.5

func (m *Leaf_ComputedUserSet) CloneVT() isLeaf_Type

func (*Leaf_ComputedUserSet) EqualVT added in v1.4.5

func (this *Leaf_ComputedUserSet) EqualVT(thatIface isLeaf_Type) bool

func (*Leaf_ComputedUserSet) MarshalToSizedBufferVT added in v1.4.5

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

func (*Leaf_ComputedUserSet) MarshalToVT added in v1.4.5

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

func (*Leaf_ComputedUserSet) SizeVT added in v1.4.5

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

type Leaf_TupleToUserSet

type Leaf_TupleToUserSet struct {
	// A tuple to user set conversion.
	TupleToUserSet *TupleToUserSet `protobuf:"bytes,2,opt,name=tuple_to_user_set,json=tupleToUserSet,proto3,oneof"`
}

func (*Leaf_TupleToUserSet) CloneVT added in v1.4.5

func (m *Leaf_TupleToUserSet) CloneVT() isLeaf_Type

func (*Leaf_TupleToUserSet) EqualVT added in v1.4.5

func (this *Leaf_TupleToUserSet) EqualVT(thatIface isLeaf_Type) bool

func (*Leaf_TupleToUserSet) MarshalToSizedBufferVT added in v1.4.5

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

func (*Leaf_TupleToUserSet) MarshalToVT added in v1.4.5

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

func (*Leaf_TupleToUserSet) SizeVT added in v1.4.5

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

type Operation added in v0.6.0

type Operation struct {

	// 'relationships_write' is a repeated string field for storing relationship keys
	// that are to be written or created.
	RelationshipsWrite []string `protobuf:"bytes,1,rep,name=relationships_write,proto3" json:"relationships_write,omitempty"`
	// 'relationships_delete' is a repeated string field for storing relationship keys
	// that are to be deleted or removed.
	RelationshipsDelete []string `protobuf:"bytes,2,rep,name=relationships_delete,proto3" json:"relationships_delete,omitempty"`
	// 'attributes_write' is a repeated string field for storing attribute keys
	// that are to be written or created.
	AttributesWrite []string `protobuf:"bytes,3,rep,name=attributes_write,proto3" json:"attributes_write,omitempty"`
	// 'attributes_delete' is a repeated string field for storing attribute keys
	// that are to be deleted or removed.
	AttributesDelete []string `protobuf:"bytes,4,rep,name=attributes_delete,proto3" json:"attributes_delete,omitempty"`
	// contains filtered or unexported fields
}

Operation is a message representing a series of operations that can be performed. It includes fields for writing and deleting relationships and attributes.

func (*Operation) CloneMessageVT added in v1.4.5

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

func (*Operation) CloneVT added in v1.4.5

func (m *Operation) CloneVT() *Operation

func (*Operation) Descriptor deprecated added in v0.6.0

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

Deprecated: Use Operation.ProtoReflect.Descriptor instead.

func (*Operation) EqualMessageVT added in v1.4.5

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

func (*Operation) EqualVT added in v1.4.5

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

func (*Operation) GetAttributesDelete added in v0.6.0

func (x *Operation) GetAttributesDelete() []string

func (*Operation) GetAttributesWrite added in v0.6.0

func (x *Operation) GetAttributesWrite() []string

func (*Operation) GetRelationshipsDelete added in v0.6.0

func (x *Operation) GetRelationshipsDelete() []string

func (*Operation) GetRelationshipsWrite added in v0.6.0

func (x *Operation) GetRelationshipsWrite() []string

func (*Operation) MarshalToSizedBufferVT added in v1.4.5

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

func (*Operation) MarshalToVT added in v1.4.5

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

func (*Operation) MarshalVT added in v1.4.5

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

func (*Operation) ProtoMessage added in v0.6.0

func (*Operation) ProtoMessage()

func (*Operation) ProtoReflect added in v0.6.0

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

func (*Operation) Reset added in v0.6.0

func (x *Operation) Reset()

func (*Operation) SizeVT added in v1.4.5

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

func (*Operation) String added in v0.6.0

func (x *Operation) String() string

func (*Operation) UnmarshalVT added in v1.4.5

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

type Partials added in v0.7.9

type Partials struct {
	Write  []string `protobuf:"bytes,1,rep,name=write,proto3" json:"write,omitempty"`
	Delete []string `protobuf:"bytes,2,rep,name=delete,proto3" json:"delete,omitempty"`
	Update []string `protobuf:"bytes,3,rep,name=update,proto3" json:"update,omitempty"`
	// contains filtered or unexported fields
}

Partials contains the write, update and delete definitions

func (*Partials) CloneMessageVT added in v1.4.5

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

func (*Partials) CloneVT added in v1.4.5

func (m *Partials) CloneVT() *Partials

func (*Partials) Descriptor deprecated added in v0.7.9

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

Deprecated: Use Partials.ProtoReflect.Descriptor instead.

func (*Partials) EqualMessageVT added in v1.4.5

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

func (*Partials) EqualVT added in v1.4.5

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

func (*Partials) GetDelete added in v0.7.9

func (x *Partials) GetDelete() []string

func (*Partials) GetUpdate added in v0.7.9

func (x *Partials) GetUpdate() []string

func (*Partials) GetWrite added in v0.7.9

func (x *Partials) GetWrite() []string

func (*Partials) MarshalToSizedBufferVT added in v1.4.5

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

func (*Partials) MarshalToVT added in v1.4.5

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

func (*Partials) MarshalVT added in v1.4.5

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

func (*Partials) ProtoMessage added in v0.7.9

func (*Partials) ProtoMessage()

func (*Partials) ProtoReflect added in v0.7.9

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

func (*Partials) Reset added in v0.7.9

func (x *Partials) Reset()

func (*Partials) SizeVT added in v1.4.5

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

func (*Partials) String added in v0.7.9

func (x *Partials) String() string

func (*Partials) UnmarshalVT added in v1.4.5

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

type PermissionBulkCheckRequest added in v1.5.4

type PermissionBulkCheckRequest struct {

	// Identifier of the tenant, required, and must match the pattern "[a-zA-Z0-9-,]+", max 64 bytes.
	TenantId string `protobuf:"bytes,1,opt,name=tenant_id,proto3" json:"tenant_id,omitempty"`
	// Metadata associated with this request, required.
	Metadata *PermissionCheckRequestMetadata `protobuf:"bytes,2,opt,name=metadata,proto3" json:"metadata,omitempty"`
	// List of permission check requests, maximum 100 items.
	Items []*PermissionBulkCheckRequestItem `protobuf:"bytes,3,rep,name=items,proto3" json:"items,omitempty"`
	// Context associated with this request.
	Context *Context `protobuf:"bytes,4,opt,name=context,proto3" json:"context,omitempty"`
	// Additional arguments associated with this request.
	Arguments []*Argument `protobuf:"bytes,5,rep,name=arguments,proto3" json:"arguments,omitempty"`
	// contains filtered or unexported fields
}

PermissionBulkCheckRequest is the request message for the BulkCheck method in the Permission service.

func (*PermissionBulkCheckRequest) CloneMessageVT added in v1.5.4

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

func (*PermissionBulkCheckRequest) CloneVT added in v1.5.4

func (*PermissionBulkCheckRequest) Descriptor deprecated added in v1.5.4

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

Deprecated: Use PermissionBulkCheckRequest.ProtoReflect.Descriptor instead.

func (*PermissionBulkCheckRequest) EqualMessageVT added in v1.5.4

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

func (*PermissionBulkCheckRequest) EqualVT added in v1.5.4

func (*PermissionBulkCheckRequest) GetArguments added in v1.5.4

func (x *PermissionBulkCheckRequest) GetArguments() []*Argument

func (*PermissionBulkCheckRequest) GetContext added in v1.5.4

func (x *PermissionBulkCheckRequest) GetContext() *Context

func (*PermissionBulkCheckRequest) GetItems added in v1.5.4

func (*PermissionBulkCheckRequest) GetMetadata added in v1.5.4

func (*PermissionBulkCheckRequest) GetTenantId added in v1.5.4

func (x *PermissionBulkCheckRequest) GetTenantId() string

func (*PermissionBulkCheckRequest) MarshalToSizedBufferVT added in v1.5.4

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

func (*PermissionBulkCheckRequest) MarshalToVT added in v1.5.4

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

func (*PermissionBulkCheckRequest) MarshalVT added in v1.5.4

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

func (*PermissionBulkCheckRequest) ProtoMessage added in v1.5.4

func (*PermissionBulkCheckRequest) ProtoMessage()

func (*PermissionBulkCheckRequest) ProtoReflect added in v1.5.4

func (*PermissionBulkCheckRequest) Reset added in v1.5.4

func (x *PermissionBulkCheckRequest) Reset()

func (*PermissionBulkCheckRequest) SizeVT added in v1.5.4

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

func (*PermissionBulkCheckRequest) String added in v1.5.4

func (x *PermissionBulkCheckRequest) String() string

func (*PermissionBulkCheckRequest) UnmarshalVT added in v1.5.4

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

type PermissionBulkCheckRequestItem added in v1.5.4

type PermissionBulkCheckRequestItem struct {

	// Entity on which the permission needs to be checked, required.
	Entity *Entity `protobuf:"bytes,1,opt,name=entity,proto3" json:"entity,omitempty"`
	// Name of the permission or relation, required, must start with a letter and can include alphanumeric and underscore, max 64 bytes.
	Permission string `protobuf:"bytes,2,opt,name=permission,proto3" json:"permission,omitempty"`
	// Subject for which the permission needs to be checked, required.
	Subject *Subject `protobuf:"bytes,3,opt,name=subject,proto3" json:"subject,omitempty"`
	// contains filtered or unexported fields
}

BULK CHECK

func (*PermissionBulkCheckRequestItem) CloneMessageVT added in v1.5.4

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

func (*PermissionBulkCheckRequestItem) CloneVT added in v1.5.4

func (*PermissionBulkCheckRequestItem) Descriptor deprecated added in v1.5.4

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

Deprecated: Use PermissionBulkCheckRequestItem.ProtoReflect.Descriptor instead.

func (*PermissionBulkCheckRequestItem) EqualMessageVT added in v1.5.4

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

func (*PermissionBulkCheckRequestItem) EqualVT added in v1.5.4

func (*PermissionBulkCheckRequestItem) GetEntity added in v1.5.4

func (x *PermissionBulkCheckRequestItem) GetEntity() *Entity

func (*PermissionBulkCheckRequestItem) GetPermission added in v1.5.4

func (x *PermissionBulkCheckRequestItem) GetPermission() string

func (*PermissionBulkCheckRequestItem) GetSubject added in v1.5.4

func (x *PermissionBulkCheckRequestItem) GetSubject() *Subject

func (*PermissionBulkCheckRequestItem) MarshalToSizedBufferVT added in v1.5.4

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

func (*PermissionBulkCheckRequestItem) MarshalToVT added in v1.5.4

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

func (*PermissionBulkCheckRequestItem) MarshalVT added in v1.5.4

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

func (*PermissionBulkCheckRequestItem) ProtoMessage added in v1.5.4

func (*PermissionBulkCheckRequestItem) ProtoMessage()

func (*PermissionBulkCheckRequestItem) ProtoReflect added in v1.5.4

func (*PermissionBulkCheckRequestItem) Reset added in v1.5.4

func (x *PermissionBulkCheckRequestItem) Reset()

func (*PermissionBulkCheckRequestItem) SizeVT added in v1.5.4

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

func (*PermissionBulkCheckRequestItem) String added in v1.5.4

func (*PermissionBulkCheckRequestItem) UnmarshalVT added in v1.5.4

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

type PermissionBulkCheckResponse added in v1.5.4

type PermissionBulkCheckResponse struct {

	// List of permission check responses corresponding to each request.
	Results []*PermissionCheckResponse `protobuf:"bytes,1,rep,name=results,proto3" json:"results,omitempty"`
	// contains filtered or unexported fields
}

PermissionBulkCheckResponse is the response message for the BulkCheck method in the Permission service.

func (*PermissionBulkCheckResponse) CloneMessageVT added in v1.5.4

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

func (*PermissionBulkCheckResponse) CloneVT added in v1.5.4

func (*PermissionBulkCheckResponse) Descriptor deprecated added in v1.5.4

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

Deprecated: Use PermissionBulkCheckResponse.ProtoReflect.Descriptor instead.

func (*PermissionBulkCheckResponse) EqualMessageVT added in v1.5.4

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

func (*PermissionBulkCheckResponse) EqualVT added in v1.5.4

func (*PermissionBulkCheckResponse) GetResults added in v1.5.4

func (*PermissionBulkCheckResponse) MarshalToSizedBufferVT added in v1.5.4

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

func (*PermissionBulkCheckResponse) MarshalToVT added in v1.5.4

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

func (*PermissionBulkCheckResponse) MarshalVT added in v1.5.4

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

func (*PermissionBulkCheckResponse) ProtoMessage added in v1.5.4

func (*PermissionBulkCheckResponse) ProtoMessage()

func (*PermissionBulkCheckResponse) ProtoReflect added in v1.5.4

func (*PermissionBulkCheckResponse) Reset added in v1.5.4

func (x *PermissionBulkCheckResponse) Reset()

func (*PermissionBulkCheckResponse) SizeVT added in v1.5.4

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

func (*PermissionBulkCheckResponse) String added in v1.5.4

func (x *PermissionBulkCheckResponse) String() string

func (*PermissionBulkCheckResponse) UnmarshalVT added in v1.5.4

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

type PermissionCheckRequest

type PermissionCheckRequest struct {

	// Identifier of the tenant, required, and must match the pattern "[a-zA-Z0-9-,]+", max 64 bytes.
	TenantId string `protobuf:"bytes,1,opt,name=tenant_id,proto3" json:"tenant_id,omitempty"`
	// Metadata associated with this request, required.
	Metadata *PermissionCheckRequestMetadata `protobuf:"bytes,2,opt,name=metadata,proto3" json:"metadata,omitempty"`
	// Entity on which the permission needs to be checked, required.
	Entity *Entity `protobuf:"bytes,3,opt,name=entity,proto3" json:"entity,omitempty"`
	// Name of the permission or relation, required, must start with a letter and can include alphanumeric and underscore, max 64 bytes.
	Permission string `protobuf:"bytes,4,opt,name=permission,proto3" json:"permission,omitempty"`
	// Subject for which the permission needs to be checked, required.
	Subject *Subject `protobuf:"bytes,5,opt,name=subject,proto3" json:"subject,omitempty"`
	// Context associated with this request.
	Context *Context `protobuf:"bytes,6,opt,name=context,proto3" json:"context,omitempty"`
	// Additional arguments associated with this request.
	Arguments []*Argument `protobuf:"bytes,7,rep,name=arguments,proto3" json:"arguments,omitempty"`
	// contains filtered or unexported fields
}

PermissionCheckRequest is the request message for the Check method in the Permission service.

func (*PermissionCheckRequest) CloneMessageVT added in v1.4.5

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

func (*PermissionCheckRequest) CloneVT added in v1.4.5

func (*PermissionCheckRequest) Descriptor deprecated

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

Deprecated: Use PermissionCheckRequest.ProtoReflect.Descriptor instead.

func (*PermissionCheckRequest) EqualMessageVT added in v1.4.5

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

func (*PermissionCheckRequest) EqualVT added in v1.4.5

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

func (*PermissionCheckRequest) GetArguments added in v0.5.0

func (x *PermissionCheckRequest) GetArguments() []*Argument

func (*PermissionCheckRequest) GetContext added in v0.5.0

func (x *PermissionCheckRequest) GetContext() *Context

func (*PermissionCheckRequest) GetEntity

func (x *PermissionCheckRequest) GetEntity() *Entity

func (*PermissionCheckRequest) GetMetadata

func (*PermissionCheckRequest) GetPermission

func (x *PermissionCheckRequest) GetPermission() string

func (*PermissionCheckRequest) GetSubject

func (x *PermissionCheckRequest) GetSubject() *Subject

func (*PermissionCheckRequest) GetTenantId added in v0.3.0

func (x *PermissionCheckRequest) GetTenantId() string

func (*PermissionCheckRequest) MarshalToSizedBufferVT added in v1.4.5

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

func (*PermissionCheckRequest) MarshalToVT added in v1.4.5

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

func (*PermissionCheckRequest) MarshalVT added in v1.4.5

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

func (*PermissionCheckRequest) ProtoMessage

func (*PermissionCheckRequest) ProtoMessage()

func (*PermissionCheckRequest) ProtoReflect

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

func (*PermissionCheckRequest) Reset

func (x *PermissionCheckRequest) Reset()

func (*PermissionCheckRequest) SizeVT added in v1.4.5

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

func (*PermissionCheckRequest) String

func (x *PermissionCheckRequest) String() string

func (*PermissionCheckRequest) UnmarshalVT added in v1.4.5

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

type PermissionCheckRequestMetadata added in v0.2.0

type PermissionCheckRequestMetadata struct {

	// Version of the schema.
	SchemaVersion string `protobuf:"bytes,1,opt,name=schema_version,proto3" json:"schema_version,omitempty"`
	// Token associated with the snap.
	SnapToken string `protobuf:"bytes,2,opt,name=snap_token,proto3" json:"snap_token,omitempty"`
	// Depth of the check, must be greater than or equal to 3.
	Depth int32 `protobuf:"varint,3,opt,name=depth,proto3" json:"depth,omitempty"`
	// contains filtered or unexported fields
}

PermissionCheckRequestMetadata metadata for the PermissionCheckRequest.

func (*PermissionCheckRequestMetadata) CloneMessageVT added in v1.4.5

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

func (*PermissionCheckRequestMetadata) CloneVT added in v1.4.5

func (*PermissionCheckRequestMetadata) Descriptor deprecated added in v0.2.0

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

Deprecated: Use PermissionCheckRequestMetadata.ProtoReflect.Descriptor instead.

func (*PermissionCheckRequestMetadata) EqualMessageVT added in v1.4.5

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

func (*PermissionCheckRequestMetadata) EqualVT added in v1.4.5

func (*PermissionCheckRequestMetadata) GetDepth added in v0.2.0

func (x *PermissionCheckRequestMetadata) GetDepth() int32

func (*PermissionCheckRequestMetadata) GetSchemaVersion added in v0.2.0

func (x *PermissionCheckRequestMetadata) GetSchemaVersion() string

func (*PermissionCheckRequestMetadata) GetSnapToken added in v0.2.0

func (x *PermissionCheckRequestMetadata) GetSnapToken() string

func (*PermissionCheckRequestMetadata) MarshalToSizedBufferVT added in v1.4.5

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

func (*PermissionCheckRequestMetadata) MarshalToVT added in v1.4.5

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

func (*PermissionCheckRequestMetadata) MarshalVT added in v1.4.5

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

func (*PermissionCheckRequestMetadata) ProtoMessage added in v0.2.0

func (*PermissionCheckRequestMetadata) ProtoMessage()

func (*PermissionCheckRequestMetadata) ProtoReflect added in v0.2.0

func (*PermissionCheckRequestMetadata) Reset added in v0.2.0

func (x *PermissionCheckRequestMetadata) Reset()

func (*PermissionCheckRequestMetadata) SizeVT added in v1.4.5

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

func (*PermissionCheckRequestMetadata) String added in v0.2.0

func (*PermissionCheckRequestMetadata) UnmarshalVT added in v1.4.5

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

type PermissionCheckResponse

type PermissionCheckResponse struct {

	// Result of the permission check.
	Can CheckResult `protobuf:"varint,1,opt,name=can,proto3,enum=base.v1.CheckResult" json:"can,omitempty"`
	// Metadata associated with this response.
	Metadata *PermissionCheckResponseMetadata `protobuf:"bytes,2,opt,name=metadata,proto3" json:"metadata,omitempty"`
	// contains filtered or unexported fields
}

PermissionCheckResponse is the response message for the Check method in the Permission service.

func (*PermissionCheckResponse) CloneMessageVT added in v1.4.5

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

func (*PermissionCheckResponse) CloneVT added in v1.4.5

func (*PermissionCheckResponse) Descriptor deprecated

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

Deprecated: Use PermissionCheckResponse.ProtoReflect.Descriptor instead.

func (*PermissionCheckResponse) EqualMessageVT added in v1.4.5

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

func (*PermissionCheckResponse) EqualVT added in v1.4.5

func (*PermissionCheckResponse) GetCan

func (*PermissionCheckResponse) GetMetadata

func (*PermissionCheckResponse) MarshalToSizedBufferVT added in v1.4.5

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

func (*PermissionCheckResponse) MarshalToVT added in v1.4.5

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

func (*PermissionCheckResponse) MarshalVT added in v1.4.5

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

func (*PermissionCheckResponse) ProtoMessage

func (*PermissionCheckResponse) ProtoMessage()

func (*PermissionCheckResponse) ProtoReflect

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

func (*PermissionCheckResponse) Reset

func (x *PermissionCheckResponse) Reset()

func (*PermissionCheckResponse) SizeVT added in v1.4.5

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

func (*PermissionCheckResponse) String

func (x *PermissionCheckResponse) String() string

func (*PermissionCheckResponse) UnmarshalVT added in v1.4.5

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

type PermissionCheckResponseMetadata added in v0.2.0

type PermissionCheckResponseMetadata struct {

	// The count of the checks performed.
	CheckCount int32 `protobuf:"varint,1,opt,name=check_count,proto3" json:"check_count,omitempty"`
	// contains filtered or unexported fields
}

PermissionCheckResponseMetadata metadata for the PermissionCheckResponse.

func (*PermissionCheckResponseMetadata) CloneMessageVT added in v1.4.5

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

func (*PermissionCheckResponseMetadata) CloneVT added in v1.4.5

func (*PermissionCheckResponseMetadata) Descriptor deprecated added in v0.2.0

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

Deprecated: Use PermissionCheckResponseMetadata.ProtoReflect.Descriptor instead.

func (*PermissionCheckResponseMetadata) EqualMessageVT added in v1.4.5

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

func (*PermissionCheckResponseMetadata) EqualVT added in v1.4.5

func (*PermissionCheckResponseMetadata) GetCheckCount added in v0.2.0

func (x *PermissionCheckResponseMetadata) GetCheckCount() int32

func (*PermissionCheckResponseMetadata) MarshalToSizedBufferVT added in v1.4.5

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

func (*PermissionCheckResponseMetadata) MarshalToVT added in v1.4.5

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

func (*PermissionCheckResponseMetadata) MarshalVT added in v1.4.5

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

func (*PermissionCheckResponseMetadata) ProtoMessage added in v0.2.0

func (*PermissionCheckResponseMetadata) ProtoMessage()

func (*PermissionCheckResponseMetadata) ProtoReflect added in v0.2.0

func (*PermissionCheckResponseMetadata) Reset added in v0.2.0

func (*PermissionCheckResponseMetadata) SizeVT added in v1.4.5

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

func (*PermissionCheckResponseMetadata) String added in v0.2.0

func (*PermissionCheckResponseMetadata) UnmarshalVT added in v1.4.5

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

type PermissionClient

type PermissionClient interface {
	// Check method receives a PermissionCheckRequest and returns a PermissionCheckResponse.
	// It is used to determine whether a specific user has permission to perform an action on a resource.
	// For example, "Can the user 1 push to repository 1?"
	Check(ctx context.Context, in *PermissionCheckRequest, opts ...grpc.CallOption) (*PermissionCheckResponse, error)
	// BulkCheck method receives a PermissionBulkCheckRequest containing multiple check requests
	// and returns a PermissionBulkCheckResponse with results for each request.
	// Maximum 100 requests can be processed in a single bulk operation.
	BulkCheck(ctx context.Context, in *PermissionBulkCheckRequest, opts ...grpc.CallOption) (*PermissionBulkCheckResponse, error)
	// Expand method receives a PermissionExpandRequest and returns a PermissionExpandResponse.
	// It expands relationships according to the schema provided.
	Expand(ctx context.Context, in *PermissionExpandRequest, opts ...grpc.CallOption) (*PermissionExpandResponse, error)
	// LookupEntity method receives a PermissionLookupEntityRequest and returns a PermissionLookupEntityResponse.
	// It is used to retrieve an entity by its identifier.
	// buf:lint:ignore RPC_REQUEST_RESPONSE_UNIQUE
	LookupEntity(ctx context.Context, in *PermissionLookupEntityRequest, opts ...grpc.CallOption) (*PermissionLookupEntityResponse, error)
	// LookupEntityStream method receives a PermissionLookupEntityRequest and streams a series of PermissionLookupEntityStreamResponse messages.
	// It is used to retrieve entities by their identifiers in a streaming fashion.
	// buf:lint:ignore RPC_REQUEST_RESPONSE_UNIQUE
	// buf:lint:ignore RPC_REQUEST_STANDARD_NAME
	LookupEntityStream(ctx context.Context, in *PermissionLookupEntityRequest, opts ...grpc.CallOption) (grpc.ServerStreamingClient[PermissionLookupEntityStreamResponse], error)
	// LookupSubject method receives a PermissionLookupSubjectRequest and returns a PermissionLookupSubjectResponse.
	// It is used to retrieve a subject by its identifier.
	LookupSubject(ctx context.Context, in *PermissionLookupSubjectRequest, opts ...grpc.CallOption) (*PermissionLookupSubjectResponse, error)
	// SubjectPermission method receives a PermissionSubjectPermissionRequest and returns a PermissionSubjectPermissionResponse.
	// It is used to retrieve permissions related to a specific subject.
	SubjectPermission(ctx context.Context, in *PermissionSubjectPermissionRequest, opts ...grpc.CallOption) (*PermissionSubjectPermissionResponse, error)
}

PermissionClient is the client API for Permission 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.

** PERMISSION SERVICE ** Permission service contains methods to interact with permissions.

func NewPermissionClient

func NewPermissionClient(cc grpc.ClientConnInterface) PermissionClient

type PermissionDefinition added in v0.3.9

type PermissionDefinition struct {

	// The name of the permission, which follows a specific string pattern and has a maximum byte size.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// The child related to this permission.
	Child *Child `protobuf:"bytes,2,opt,name=child,proto3" json:"child,omitempty"`
	// contains filtered or unexported fields
}

The PermissionDefinition message provides detailed information about a specific permission.

func (*PermissionDefinition) CloneMessageVT added in v1.4.5

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

func (*PermissionDefinition) CloneVT added in v1.4.5

func (*PermissionDefinition) Descriptor deprecated added in v0.3.9

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

Deprecated: Use PermissionDefinition.ProtoReflect.Descriptor instead.

func (*PermissionDefinition) EqualMessageVT added in v1.4.5

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

func (*PermissionDefinition) EqualVT added in v1.4.5

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

func (*PermissionDefinition) GetChild added in v0.3.9

func (x *PermissionDefinition) GetChild() *Child

func (*PermissionDefinition) GetName added in v0.3.9

func (x *PermissionDefinition) GetName() string

func (*PermissionDefinition) MarshalToSizedBufferVT added in v1.4.5

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

func (*PermissionDefinition) MarshalToVT added in v1.4.5

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

func (*PermissionDefinition) MarshalVT added in v1.4.5

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

func (*PermissionDefinition) ProtoMessage added in v0.3.9

func (*PermissionDefinition) ProtoMessage()

func (*PermissionDefinition) ProtoReflect added in v0.3.9

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

func (*PermissionDefinition) Reset added in v0.3.9

func (x *PermissionDefinition) Reset()

func (*PermissionDefinition) SizeVT added in v1.4.5

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

func (*PermissionDefinition) String added in v0.3.9

func (x *PermissionDefinition) String() string

func (*PermissionDefinition) UnmarshalVT added in v1.4.5

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

type PermissionEntityFilterRequest added in v0.4.1

type PermissionEntityFilterRequest struct {

	// Identifier of the tenant, required, and must match the pattern "[a-zA-Z0-9-,]+", max 64 bytes.
	TenantId string `protobuf:"bytes,1,opt,name=tenant_id,proto3" json:"tenant_id,omitempty"`
	// Metadata associated with this request, required.
	Metadata *PermissionEntityFilterRequestMetadata `protobuf:"bytes,2,opt,name=metadata,proto3" json:"metadata,omitempty"`
	// Reference to the entity to filter.
	Entrance *Entrance `protobuf:"bytes,3,opt,name=entrance,proto3" json:"entrance,omitempty"`
	// Subject for which to check the permission.
	Subject *Subject `protobuf:"bytes,4,opt,name=subject,proto3" json:"subject,omitempty"`
	// Context associated with this request.
	Context *Context `protobuf:"bytes,5,opt,name=context,proto3" json:"context,omitempty"`
	// Scope: A map that associates entity types with lists of identifiers. Each entry
	// helps filter requests by specifying which entities are relevant to the operation.
	Scope map[string]*StringArrayValue `` /* 137-byte string literal not displayed */
	// cursor is an optional parameter used for pagination.
	// It should be the value received in the previous response.
	Cursor string `protobuf:"bytes,7,opt,name=cursor,proto3" json:"cursor,omitempty"`
	// contains filtered or unexported fields
}

PermissionEntityFilterRequest is the request message for the LookupEntityStream method in the Permission service.

func (*PermissionEntityFilterRequest) CloneMessageVT added in v1.4.5

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

func (*PermissionEntityFilterRequest) CloneVT added in v1.4.5

func (*PermissionEntityFilterRequest) Descriptor deprecated added in v0.4.1

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

Deprecated: Use PermissionEntityFilterRequest.ProtoReflect.Descriptor instead.

func (*PermissionEntityFilterRequest) EqualMessageVT added in v1.4.5

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

func (*PermissionEntityFilterRequest) EqualVT added in v1.4.5

func (*PermissionEntityFilterRequest) GetContext added in v0.5.0

func (x *PermissionEntityFilterRequest) GetContext() *Context

func (*PermissionEntityFilterRequest) GetCursor added in v1.0.2

func (x *PermissionEntityFilterRequest) GetCursor() string

func (*PermissionEntityFilterRequest) GetEntrance added in v1.1.0

func (x *PermissionEntityFilterRequest) GetEntrance() *Entrance

func (*PermissionEntityFilterRequest) GetMetadata added in v0.4.1

func (*PermissionEntityFilterRequest) GetScope added in v1.1.0

func (*PermissionEntityFilterRequest) GetSubject added in v0.4.1

func (x *PermissionEntityFilterRequest) GetSubject() *Subject

func (*PermissionEntityFilterRequest) GetTenantId added in v0.4.1

func (x *PermissionEntityFilterRequest) GetTenantId() string

func (*PermissionEntityFilterRequest) MarshalToSizedBufferVT added in v1.4.5

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

func (*PermissionEntityFilterRequest) MarshalToVT added in v1.4.5

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

func (*PermissionEntityFilterRequest) MarshalVT added in v1.4.5

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

func (*PermissionEntityFilterRequest) ProtoMessage added in v0.4.1

func (*PermissionEntityFilterRequest) ProtoMessage()

func (*PermissionEntityFilterRequest) ProtoReflect added in v0.4.1

func (*PermissionEntityFilterRequest) Reset added in v0.4.1

func (x *PermissionEntityFilterRequest) Reset()

func (*PermissionEntityFilterRequest) SizeVT added in v1.4.5

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

func (*PermissionEntityFilterRequest) String added in v0.4.1

func (*PermissionEntityFilterRequest) UnmarshalVT added in v1.4.5

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

type PermissionEntityFilterRequestMetadata added in v0.4.1

type PermissionEntityFilterRequestMetadata struct {

	// Version of the schema.
	SchemaVersion string `protobuf:"bytes,1,opt,name=schema_version,proto3" json:"schema_version,omitempty"`
	// Token associated with the snap.
	SnapToken string `protobuf:"bytes,2,opt,name=snap_token,proto3" json:"snap_token,omitempty"`
	// Depth of lookup, required, must be greater or equal to 3.
	Depth int32 `protobuf:"varint,3,opt,name=depth,proto3" json:"depth,omitempty"`
	// contains filtered or unexported fields
}

PermissionEntityFilterRequestMetadata metadata for the PermissionEntityFilterRequest.

func (*PermissionEntityFilterRequestMetadata) CloneMessageVT added in v1.4.5

func (*PermissionEntityFilterRequestMetadata) CloneVT added in v1.4.5

func (*PermissionEntityFilterRequestMetadata) Descriptor deprecated added in v0.4.1

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

Deprecated: Use PermissionEntityFilterRequestMetadata.ProtoReflect.Descriptor instead.

func (*PermissionEntityFilterRequestMetadata) EqualMessageVT added in v1.4.5

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

func (*PermissionEntityFilterRequestMetadata) EqualVT added in v1.4.5

func (*PermissionEntityFilterRequestMetadata) GetDepth added in v0.4.1

func (*PermissionEntityFilterRequestMetadata) GetSchemaVersion added in v0.4.1

func (x *PermissionEntityFilterRequestMetadata) GetSchemaVersion() string

func (*PermissionEntityFilterRequestMetadata) GetSnapToken added in v0.4.1

func (*PermissionEntityFilterRequestMetadata) MarshalToSizedBufferVT added in v1.4.5

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

func (*PermissionEntityFilterRequestMetadata) MarshalToVT added in v1.4.5

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

func (*PermissionEntityFilterRequestMetadata) MarshalVT added in v1.4.5

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

func (*PermissionEntityFilterRequestMetadata) ProtoMessage added in v0.4.1

func (*PermissionEntityFilterRequestMetadata) ProtoMessage()

func (*PermissionEntityFilterRequestMetadata) ProtoReflect added in v0.4.1

func (*PermissionEntityFilterRequestMetadata) Reset added in v0.4.1

func (*PermissionEntityFilterRequestMetadata) SizeVT added in v1.4.5

func (*PermissionEntityFilterRequestMetadata) String added in v0.4.1

func (*PermissionEntityFilterRequestMetadata) UnmarshalVT added in v1.4.5

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

type PermissionExpandRequest

type PermissionExpandRequest struct {

	// Identifier of the tenant, required, and must match the pattern "[a-zA-Z0-9-,]+", max 64 bytes.
	TenantId string `protobuf:"bytes,1,opt,name=tenant_id,proto3" json:"tenant_id,omitempty"`
	// Metadata associated with this request, required.
	Metadata *PermissionExpandRequestMetadata `protobuf:"bytes,2,opt,name=metadata,proto3" json:"metadata,omitempty"`
	// Entity on which the permission needs to be expanded, required.
	Entity *Entity `protobuf:"bytes,3,opt,name=entity,proto3" json:"entity,omitempty"`
	// Name of the permission to be expanded, not required, must start with a letter and can include alphanumeric and underscore, max 64 bytes.
	Permission string `protobuf:"bytes,4,opt,name=permission,proto3" json:"permission,omitempty"`
	// Context associated with this request.
	Context *Context `protobuf:"bytes,5,opt,name=context,proto3" json:"context,omitempty"`
	// Additional arguments associated with this request.
	Arguments []*Argument `protobuf:"bytes,6,rep,name=arguments,proto3" json:"arguments,omitempty"`
	// contains filtered or unexported fields
}

PermissionExpandRequest is the request message for the Expand method in the Permission service.

func (*PermissionExpandRequest) CloneMessageVT added in v1.4.5

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

func (*PermissionExpandRequest) CloneVT added in v1.4.5

func (*PermissionExpandRequest) Descriptor deprecated

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

Deprecated: Use PermissionExpandRequest.ProtoReflect.Descriptor instead.

func (*PermissionExpandRequest) EqualMessageVT added in v1.4.5

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

func (*PermissionExpandRequest) EqualVT added in v1.4.5

func (*PermissionExpandRequest) GetArguments added in v0.5.0

func (x *PermissionExpandRequest) GetArguments() []*Argument

func (*PermissionExpandRequest) GetContext added in v0.5.0

func (x *PermissionExpandRequest) GetContext() *Context

func (*PermissionExpandRequest) GetEntity

func (x *PermissionExpandRequest) GetEntity() *Entity

func (*PermissionExpandRequest) GetMetadata

func (*PermissionExpandRequest) GetPermission

func (x *PermissionExpandRequest) GetPermission() string

func (*PermissionExpandRequest) GetTenantId added in v0.3.0

func (x *PermissionExpandRequest) GetTenantId() string

func (*PermissionExpandRequest) MarshalToSizedBufferVT added in v1.4.5

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

func (*PermissionExpandRequest) MarshalToVT added in v1.4.5

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

func (*PermissionExpandRequest) MarshalVT added in v1.4.5

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

func (*PermissionExpandRequest) ProtoMessage

func (*PermissionExpandRequest) ProtoMessage()

func (*PermissionExpandRequest) ProtoReflect

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

func (*PermissionExpandRequest) Reset

func (x *PermissionExpandRequest) Reset()

func (*PermissionExpandRequest) SizeVT added in v1.4.5

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

func (*PermissionExpandRequest) String

func (x *PermissionExpandRequest) String() string

func (*PermissionExpandRequest) UnmarshalVT added in v1.4.5

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

type PermissionExpandRequestMetadata added in v0.2.0

type PermissionExpandRequestMetadata struct {

	// Version of the schema.
	SchemaVersion string `protobuf:"bytes,1,opt,name=schema_version,proto3" json:"schema_version,omitempty"`
	// Token associated with the snap.
	SnapToken string `protobuf:"bytes,2,opt,name=snap_token,proto3" json:"snap_token,omitempty"`
	// contains filtered or unexported fields
}

PermissionExpandRequestMetadata metadata for the PermissionExpandRequest.

func (*PermissionExpandRequestMetadata) CloneMessageVT added in v1.4.5

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

func (*PermissionExpandRequestMetadata) CloneVT added in v1.4.5

func (*PermissionExpandRequestMetadata) Descriptor deprecated added in v0.2.0

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

Deprecated: Use PermissionExpandRequestMetadata.ProtoReflect.Descriptor instead.

func (*PermissionExpandRequestMetadata) EqualMessageVT added in v1.4.5

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

func (*PermissionExpandRequestMetadata) EqualVT added in v1.4.5

func (*PermissionExpandRequestMetadata) GetSchemaVersion added in v0.2.0

func (x *PermissionExpandRequestMetadata) GetSchemaVersion() string

func (*PermissionExpandRequestMetadata) GetSnapToken added in v0.2.0

func (x *PermissionExpandRequestMetadata) GetSnapToken() string

func (*PermissionExpandRequestMetadata) MarshalToSizedBufferVT added in v1.4.5

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

func (*PermissionExpandRequestMetadata) MarshalToVT added in v1.4.5

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

func (*PermissionExpandRequestMetadata) MarshalVT added in v1.4.5

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

func (*PermissionExpandRequestMetadata) ProtoMessage added in v0.2.0

func (*PermissionExpandRequestMetadata) ProtoMessage()

func (*PermissionExpandRequestMetadata) ProtoReflect added in v0.2.0

func (*PermissionExpandRequestMetadata) Reset added in v0.2.0

func (*PermissionExpandRequestMetadata) SizeVT added in v1.4.5

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

func (*PermissionExpandRequestMetadata) String added in v0.2.0

func (*PermissionExpandRequestMetadata) UnmarshalVT added in v1.4.5

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

type PermissionExpandResponse

type PermissionExpandResponse struct {

	// Expansion tree.
	Tree *Expand `protobuf:"bytes,1,opt,name=tree,proto3" json:"tree,omitempty"`
	// contains filtered or unexported fields
}

PermissionExpandResponse is the response message for the Expand method in the Permission service.

func (*PermissionExpandResponse) CloneMessageVT added in v1.4.5

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

func (*PermissionExpandResponse) CloneVT added in v1.4.5

func (*PermissionExpandResponse) Descriptor deprecated

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

Deprecated: Use PermissionExpandResponse.ProtoReflect.Descriptor instead.

func (*PermissionExpandResponse) EqualMessageVT added in v1.4.5

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

func (*PermissionExpandResponse) EqualVT added in v1.4.5

func (*PermissionExpandResponse) GetTree

func (x *PermissionExpandResponse) GetTree() *Expand

func (*PermissionExpandResponse) MarshalToSizedBufferVT added in v1.4.5

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

func (*PermissionExpandResponse) MarshalToVT added in v1.4.5

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

func (*PermissionExpandResponse) MarshalVT added in v1.4.5

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

func (*PermissionExpandResponse) ProtoMessage

func (*PermissionExpandResponse) ProtoMessage()

func (*PermissionExpandResponse) ProtoReflect

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

func (*PermissionExpandResponse) Reset

func (x *PermissionExpandResponse) Reset()

func (*PermissionExpandResponse) SizeVT added in v1.4.5

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

func (*PermissionExpandResponse) String

func (x *PermissionExpandResponse) String() string

func (*PermissionExpandResponse) UnmarshalVT added in v1.4.5

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

type PermissionLookupEntityRequest

type PermissionLookupEntityRequest struct {

	// Identifier of the tenant, required, and must match the pattern "[a-zA-Z0-9-,]+", max 64 bytes.
	TenantId string `protobuf:"bytes,1,opt,name=tenant_id,proto3" json:"tenant_id,omitempty"`
	// Metadata associated with this request, required.
	Metadata *PermissionLookupEntityRequestMetadata `protobuf:"bytes,2,opt,name=metadata,proto3" json:"metadata,omitempty"`
	// Type of the entity to lookup, required, must start with a letter and can include alphanumeric and underscore, max 64 bytes.
	EntityType string `protobuf:"bytes,3,opt,name=entity_type,proto3" json:"entity_type,omitempty"`
	// Name of the permission to check, required, must start with a letter and can include alphanumeric and underscore, max 64 bytes.
	Permission string `protobuf:"bytes,4,opt,name=permission,proto3" json:"permission,omitempty"`
	// Subject for which to check the permission, required.
	Subject *Subject `protobuf:"bytes,5,opt,name=subject,proto3" json:"subject,omitempty"`
	// Context associated with this request.
	Context *Context `protobuf:"bytes,6,opt,name=context,proto3" json:"context,omitempty"`
	// Scope: A map that associates entity types with lists of identifiers. Each entry
	// helps filter requests by specifying which entities are relevant to the operation.
	Scope map[string]*StringArrayValue `` /* 137-byte string literal not displayed */
	// page_size is the number of entities to be returned in the response.
	// The value should be between 1 and 100.
	PageSize uint32 `protobuf:"varint,8,opt,name=page_size,proto3" json:"page_size,omitempty"`
	// continuous_token is an optional parameter used for pagination.
	// It should be the value received in the previous response.
	ContinuousToken string `protobuf:"bytes,9,opt,name=continuous_token,proto3" json:"continuous_token,omitempty"`
	// contains filtered or unexported fields
}

PermissionLookupEntityRequest is the request message for the LookupEntity method in the Permission service.

func (*PermissionLookupEntityRequest) CloneMessageVT added in v1.4.5

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

func (*PermissionLookupEntityRequest) CloneVT added in v1.4.5

func (*PermissionLookupEntityRequest) Descriptor deprecated

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

Deprecated: Use PermissionLookupEntityRequest.ProtoReflect.Descriptor instead.

func (*PermissionLookupEntityRequest) EqualMessageVT added in v1.4.5

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

func (*PermissionLookupEntityRequest) EqualVT added in v1.4.5

func (*PermissionLookupEntityRequest) GetContext added in v0.5.0

func (x *PermissionLookupEntityRequest) GetContext() *Context

func (*PermissionLookupEntityRequest) GetContinuousToken added in v1.0.2

func (x *PermissionLookupEntityRequest) GetContinuousToken() string

func (*PermissionLookupEntityRequest) GetEntityType

func (x *PermissionLookupEntityRequest) GetEntityType() string

func (*PermissionLookupEntityRequest) GetMetadata

func (*PermissionLookupEntityRequest) GetPageSize added in v1.0.2

func (x *PermissionLookupEntityRequest) GetPageSize() uint32

func (*PermissionLookupEntityRequest) GetPermission

func (x *PermissionLookupEntityRequest) GetPermission() string

func (*PermissionLookupEntityRequest) GetScope added in v1.1.0

func (*PermissionLookupEntityRequest) GetSubject

func (x *PermissionLookupEntityRequest) GetSubject() *Subject

func (*PermissionLookupEntityRequest) GetTenantId added in v0.3.0

func (x *PermissionLookupEntityRequest) GetTenantId() string

func (*PermissionLookupEntityRequest) MarshalToSizedBufferVT added in v1.4.5

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

func (*PermissionLookupEntityRequest) MarshalToVT added in v1.4.5

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

func (*PermissionLookupEntityRequest) MarshalVT added in v1.4.5

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

func (*PermissionLookupEntityRequest) ProtoMessage

func (*PermissionLookupEntityRequest) ProtoMessage()

func (*PermissionLookupEntityRequest) ProtoReflect

func (*PermissionLookupEntityRequest) Reset

func (x *PermissionLookupEntityRequest) Reset()

func (*PermissionLookupEntityRequest) SizeVT added in v1.4.5

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

func (*PermissionLookupEntityRequest) String

func (*PermissionLookupEntityRequest) UnmarshalVT added in v1.4.5

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

type PermissionLookupEntityRequestMetadata added in v0.2.0

type PermissionLookupEntityRequestMetadata struct {

	// Version of the schema.
	SchemaVersion string `protobuf:"bytes,1,opt,name=schema_version,proto3" json:"schema_version,omitempty"`
	// Token associated with the snap.
	SnapToken string `protobuf:"bytes,2,opt,name=snap_token,proto3" json:"snap_token,omitempty"`
	// Depth of lookup, required, must be greater or equal to 3.
	Depth int32 `protobuf:"varint,3,opt,name=depth,proto3" json:"depth,omitempty"`
	// contains filtered or unexported fields
}

PermissionLookupEntityRequestMetadata metadata for the PermissionLookupEntityRequest.

func (*PermissionLookupEntityRequestMetadata) CloneMessageVT added in v1.4.5

func (*PermissionLookupEntityRequestMetadata) CloneVT added in v1.4.5

func (*PermissionLookupEntityRequestMetadata) Descriptor deprecated added in v0.2.0

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

Deprecated: Use PermissionLookupEntityRequestMetadata.ProtoReflect.Descriptor instead.

func (*PermissionLookupEntityRequestMetadata) EqualMessageVT added in v1.4.5

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

func (*PermissionLookupEntityRequestMetadata) EqualVT added in v1.4.5

func (*PermissionLookupEntityRequestMetadata) GetDepth added in v0.2.0

func (*PermissionLookupEntityRequestMetadata) GetSchemaVersion added in v0.2.0

func (x *PermissionLookupEntityRequestMetadata) GetSchemaVersion() string

func (*PermissionLookupEntityRequestMetadata) GetSnapToken added in v0.2.0

func (*PermissionLookupEntityRequestMetadata) MarshalToSizedBufferVT added in v1.4.5

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

func (*PermissionLookupEntityRequestMetadata) MarshalToVT added in v1.4.5

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

func (*PermissionLookupEntityRequestMetadata) MarshalVT added in v1.4.5

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

func (*PermissionLookupEntityRequestMetadata) ProtoMessage added in v0.2.0

func (*PermissionLookupEntityRequestMetadata) ProtoMessage()

func (*PermissionLookupEntityRequestMetadata) ProtoReflect added in v0.2.0

func (*PermissionLookupEntityRequestMetadata) Reset added in v0.2.0

func (*PermissionLookupEntityRequestMetadata) SizeVT added in v1.4.5

func (*PermissionLookupEntityRequestMetadata) String added in v0.2.0

func (*PermissionLookupEntityRequestMetadata) UnmarshalVT added in v1.4.5

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

type PermissionLookupEntityResponse

type PermissionLookupEntityResponse struct {

	// List of identifiers for entities that match the lookup.
	EntityIds []string `protobuf:"bytes,1,rep,name=entity_ids,proto3" json:"entity_ids,omitempty"`
	// continuous_token is a string that can be used to paginate and retrieve the next set of results.
	ContinuousToken string `protobuf:"bytes,2,opt,name=continuous_token,proto3" json:"continuous_token,omitempty"`
	// contains filtered or unexported fields
}

PermissionLookupEntityResponse is the response message for the LookupEntity method in the Permission service.

func (*PermissionLookupEntityResponse) CloneMessageVT added in v1.4.5

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

func (*PermissionLookupEntityResponse) CloneVT added in v1.4.5

func (*PermissionLookupEntityResponse) Descriptor deprecated

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

Deprecated: Use PermissionLookupEntityResponse.ProtoReflect.Descriptor instead.

func (*PermissionLookupEntityResponse) EqualMessageVT added in v1.4.5

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

func (*PermissionLookupEntityResponse) EqualVT added in v1.4.5

func (*PermissionLookupEntityResponse) GetContinuousToken added in v1.0.2

func (x *PermissionLookupEntityResponse) GetContinuousToken() string

func (*PermissionLookupEntityResponse) GetEntityIds

func (x *PermissionLookupEntityResponse) GetEntityIds() []string

func (*PermissionLookupEntityResponse) MarshalToSizedBufferVT added in v1.4.5

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

func (*PermissionLookupEntityResponse) MarshalToVT added in v1.4.5

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

func (*PermissionLookupEntityResponse) MarshalVT added in v1.4.5

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

func (*PermissionLookupEntityResponse) ProtoMessage

func (*PermissionLookupEntityResponse) ProtoMessage()

func (*PermissionLookupEntityResponse) ProtoReflect

func (*PermissionLookupEntityResponse) Reset

func (x *PermissionLookupEntityResponse) Reset()

func (*PermissionLookupEntityResponse) SizeVT added in v1.4.5

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

func (*PermissionLookupEntityResponse) String

func (*PermissionLookupEntityResponse) UnmarshalVT added in v1.4.5

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

type PermissionLookupEntityStreamResponse

type PermissionLookupEntityStreamResponse struct {

	// Identifier for an entity that matches the lookup.
	EntityId string `protobuf:"bytes,1,opt,name=entity_id,proto3" json:"entity_id,omitempty"`
	// continuous_token is a string that can be used to paginate and retrieve the next set of results.
	ContinuousToken string `protobuf:"bytes,2,opt,name=continuous_token,proto3" json:"continuous_token,omitempty"`
	// contains filtered or unexported fields
}

PermissionLookupEntityStreamResponse is the response message for the LookupEntityStream method in the Permission service.

func (*PermissionLookupEntityStreamResponse) CloneMessageVT added in v1.4.5

func (*PermissionLookupEntityStreamResponse) CloneVT added in v1.4.5

func (*PermissionLookupEntityStreamResponse) Descriptor deprecated

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

Deprecated: Use PermissionLookupEntityStreamResponse.ProtoReflect.Descriptor instead.

func (*PermissionLookupEntityStreamResponse) EqualMessageVT added in v1.4.5

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

func (*PermissionLookupEntityStreamResponse) EqualVT added in v1.4.5

func (*PermissionLookupEntityStreamResponse) GetContinuousToken added in v1.0.2

func (x *PermissionLookupEntityStreamResponse) GetContinuousToken() string

func (*PermissionLookupEntityStreamResponse) GetEntityId

func (*PermissionLookupEntityStreamResponse) MarshalToSizedBufferVT added in v1.4.5

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

func (*PermissionLookupEntityStreamResponse) MarshalToVT added in v1.4.5

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

func (*PermissionLookupEntityStreamResponse) MarshalVT added in v1.4.5

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

func (*PermissionLookupEntityStreamResponse) ProtoMessage

func (*PermissionLookupEntityStreamResponse) ProtoMessage()

func (*PermissionLookupEntityStreamResponse) ProtoReflect

func (*PermissionLookupEntityStreamResponse) Reset

func (*PermissionLookupEntityStreamResponse) SizeVT added in v1.4.5

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

func (*PermissionLookupEntityStreamResponse) String

func (*PermissionLookupEntityStreamResponse) UnmarshalVT added in v1.4.5

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

type PermissionLookupSubjectRequest added in v0.4.1

type PermissionLookupSubjectRequest struct {

	// Identifier of the tenant, required, and must match the pattern "[a-zA-Z0-9-,]+", max 64 bytes.
	TenantId string `protobuf:"bytes,1,opt,name=tenant_id,proto3" json:"tenant_id,omitempty"`
	// Metadata associated with this request, required.
	Metadata *PermissionLookupSubjectRequestMetadata `protobuf:"bytes,2,opt,name=metadata,proto3" json:"metadata,omitempty"`
	// Entity for which to check the permission, required.
	Entity *Entity `protobuf:"bytes,3,opt,name=entity,proto3" json:"entity,omitempty"`
	// Permission to be checked, can be a permission or relation. Required, and must match the pattern "^([a-zA-Z][a-zA-Z0-9_]{1,62}[a-zA-Z0-9])$", max 64 bytes.
	Permission string `protobuf:"bytes,4,opt,name=permission,proto3" json:"permission,omitempty"`
	// Reference to the subject to lookup.
	SubjectReference *RelationReference `protobuf:"bytes,5,opt,name=subject_reference,proto3" json:"subject_reference,omitempty"`
	// Context associated with this request.
	Context *Context `protobuf:"bytes,6,opt,name=context,proto3" json:"context,omitempty"`
	// Additional arguments associated with this request.
	Arguments []*Argument `protobuf:"bytes,7,rep,name=arguments,proto3" json:"arguments,omitempty"`
	// page_size is the number of subjects to be returned in the response.
	// The value should be between 1 and 100.
	PageSize uint32 `protobuf:"varint,8,opt,name=page_size,proto3" json:"page_size,omitempty"`
	// continuous_token is an optional parameter used for pagination.
	// It should be the value received in the previous response.
	ContinuousToken string `protobuf:"bytes,9,opt,name=continuous_token,proto3" json:"continuous_token,omitempty"`
	// contains filtered or unexported fields
}

PermissionLookupSubjectRequest is the request message for the LookupSubject method in the Permission service.

func (*PermissionLookupSubjectRequest) CloneMessageVT added in v1.4.5

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

func (*PermissionLookupSubjectRequest) CloneVT added in v1.4.5

func (*PermissionLookupSubjectRequest) Descriptor deprecated added in v0.4.1

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

Deprecated: Use PermissionLookupSubjectRequest.ProtoReflect.Descriptor instead.

func (*PermissionLookupSubjectRequest) EqualMessageVT added in v1.4.5

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

func (*PermissionLookupSubjectRequest) EqualVT added in v1.4.5

func (*PermissionLookupSubjectRequest) GetArguments added in v1.1.4

func (x *PermissionLookupSubjectRequest) GetArguments() []*Argument

func (*PermissionLookupSubjectRequest) GetContext added in v0.5.0

func (x *PermissionLookupSubjectRequest) GetContext() *Context

func (*PermissionLookupSubjectRequest) GetContinuousToken added in v1.0.2

func (x *PermissionLookupSubjectRequest) GetContinuousToken() string

func (*PermissionLookupSubjectRequest) GetEntity added in v0.4.1

func (x *PermissionLookupSubjectRequest) GetEntity() *Entity

func (*PermissionLookupSubjectRequest) GetMetadata added in v0.4.1

func (*PermissionLookupSubjectRequest) GetPageSize added in v1.0.2

func (x *PermissionLookupSubjectRequest) GetPageSize() uint32

func (*PermissionLookupSubjectRequest) GetPermission added in v0.4.1

func (x *PermissionLookupSubjectRequest) GetPermission() string

func (*PermissionLookupSubjectRequest) GetSubjectReference added in v0.4.1

func (x *PermissionLookupSubjectRequest) GetSubjectReference() *RelationReference

func (*PermissionLookupSubjectRequest) GetTenantId added in v0.4.1

func (x *PermissionLookupSubjectRequest) GetTenantId() string

func (*PermissionLookupSubjectRequest) MarshalToSizedBufferVT added in v1.4.5

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

func (*PermissionLookupSubjectRequest) MarshalToVT added in v1.4.5

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

func (*PermissionLookupSubjectRequest) MarshalVT added in v1.4.5

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

func (*PermissionLookupSubjectRequest) ProtoMessage added in v0.4.1

func (*PermissionLookupSubjectRequest) ProtoMessage()

func (*PermissionLookupSubjectRequest) ProtoReflect added in v0.4.1

func (*PermissionLookupSubjectRequest) Reset added in v0.4.1

func (x *PermissionLookupSubjectRequest) Reset()

func (*PermissionLookupSubjectRequest) SizeVT added in v1.4.5

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

func (*PermissionLookupSubjectRequest) String added in v0.4.1

func (*PermissionLookupSubjectRequest) UnmarshalVT added in v1.4.5

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

type PermissionLookupSubjectRequestMetadata added in v0.4.1

type PermissionLookupSubjectRequestMetadata struct {

	// Version of the schema.
	SchemaVersion string `protobuf:"bytes,1,opt,name=schema_version,proto3" json:"schema_version,omitempty"`
	// Token associated with the snap.
	SnapToken string `protobuf:"bytes,2,opt,name=snap_token,proto3" json:"snap_token,omitempty"`
	// Depth of the check, must be greater than or equal to 3.
	Depth int32 `protobuf:"varint,3,opt,name=depth,proto3" json:"depth,omitempty"`
	// contains filtered or unexported fields
}

PermissionLookupSubjectRequestMetadata metadata for the PermissionLookupSubjectRequest.

func (*PermissionLookupSubjectRequestMetadata) CloneMessageVT added in v1.4.5

func (*PermissionLookupSubjectRequestMetadata) CloneVT added in v1.4.5

func (*PermissionLookupSubjectRequestMetadata) Descriptor deprecated added in v0.4.1

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

Deprecated: Use PermissionLookupSubjectRequestMetadata.ProtoReflect.Descriptor instead.

func (*PermissionLookupSubjectRequestMetadata) EqualMessageVT added in v1.4.5

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

func (*PermissionLookupSubjectRequestMetadata) EqualVT added in v1.4.5

func (*PermissionLookupSubjectRequestMetadata) GetDepth added in v0.5.0

func (*PermissionLookupSubjectRequestMetadata) GetSchemaVersion added in v0.4.1

func (x *PermissionLookupSubjectRequestMetadata) GetSchemaVersion() string

func (*PermissionLookupSubjectRequestMetadata) GetSnapToken added in v0.4.1

func (*PermissionLookupSubjectRequestMetadata) MarshalToSizedBufferVT added in v1.4.5

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

func (*PermissionLookupSubjectRequestMetadata) MarshalToVT added in v1.4.5

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

func (*PermissionLookupSubjectRequestMetadata) MarshalVT added in v1.4.5

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

func (*PermissionLookupSubjectRequestMetadata) ProtoMessage added in v0.4.1

func (*PermissionLookupSubjectRequestMetadata) ProtoReflect added in v0.4.1

func (*PermissionLookupSubjectRequestMetadata) Reset added in v0.4.1

func (*PermissionLookupSubjectRequestMetadata) SizeVT added in v1.4.5

func (*PermissionLookupSubjectRequestMetadata) String added in v0.4.1

func (*PermissionLookupSubjectRequestMetadata) UnmarshalVT added in v1.4.5

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

type PermissionLookupSubjectResponse added in v0.4.1

type PermissionLookupSubjectResponse struct {

	// List of identifiers for subjects that match the lookup.
	SubjectIds []string `protobuf:"bytes,1,rep,name=subject_ids,proto3" json:"subject_ids,omitempty"`
	// continuous_token is a string that can be used to paginate and retrieve the next set of results.
	ContinuousToken string `protobuf:"bytes,2,opt,name=continuous_token,proto3" json:"continuous_token,omitempty"`
	// contains filtered or unexported fields
}

PermissionLookupSubjectResponse is the response message for the LookupSubject method in the Permission service.

func (*PermissionLookupSubjectResponse) CloneMessageVT added in v1.4.5

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

func (*PermissionLookupSubjectResponse) CloneVT added in v1.4.5

func (*PermissionLookupSubjectResponse) Descriptor deprecated added in v0.4.1

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

Deprecated: Use PermissionLookupSubjectResponse.ProtoReflect.Descriptor instead.

func (*PermissionLookupSubjectResponse) EqualMessageVT added in v1.4.5

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

func (*PermissionLookupSubjectResponse) EqualVT added in v1.4.5

func (*PermissionLookupSubjectResponse) GetContinuousToken added in v1.0.2

func (x *PermissionLookupSubjectResponse) GetContinuousToken() string

func (*PermissionLookupSubjectResponse) GetSubjectIds added in v0.4.1

func (x *PermissionLookupSubjectResponse) GetSubjectIds() []string

func (*PermissionLookupSubjectResponse) MarshalToSizedBufferVT added in v1.4.5

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

func (*PermissionLookupSubjectResponse) MarshalToVT added in v1.4.5

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

func (*PermissionLookupSubjectResponse) MarshalVT added in v1.4.5

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

func (*PermissionLookupSubjectResponse) ProtoMessage added in v0.4.1

func (*PermissionLookupSubjectResponse) ProtoMessage()

func (*PermissionLookupSubjectResponse) ProtoReflect added in v0.4.1

func (*PermissionLookupSubjectResponse) Reset added in v0.4.1

func (*PermissionLookupSubjectResponse) SizeVT added in v1.4.5

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

func (*PermissionLookupSubjectResponse) String added in v0.4.1

func (*PermissionLookupSubjectResponse) UnmarshalVT added in v1.4.5

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

type PermissionServer

type PermissionServer interface {
	// Check method receives a PermissionCheckRequest and returns a PermissionCheckResponse.
	// It is used to determine whether a specific user has permission to perform an action on a resource.
	// For example, "Can the user 1 push to repository 1?"
	Check(context.Context, *PermissionCheckRequest) (*PermissionCheckResponse, error)
	// BulkCheck method receives a PermissionBulkCheckRequest containing multiple check requests
	// and returns a PermissionBulkCheckResponse with results for each request.
	// Maximum 100 requests can be processed in a single bulk operation.
	BulkCheck(context.Context, *PermissionBulkCheckRequest) (*PermissionBulkCheckResponse, error)
	// Expand method receives a PermissionExpandRequest and returns a PermissionExpandResponse.
	// It expands relationships according to the schema provided.
	Expand(context.Context, *PermissionExpandRequest) (*PermissionExpandResponse, error)
	// LookupEntity method receives a PermissionLookupEntityRequest and returns a PermissionLookupEntityResponse.
	// It is used to retrieve an entity by its identifier.
	// buf:lint:ignore RPC_REQUEST_RESPONSE_UNIQUE
	LookupEntity(context.Context, *PermissionLookupEntityRequest) (*PermissionLookupEntityResponse, error)
	// LookupEntityStream method receives a PermissionLookupEntityRequest and streams a series of PermissionLookupEntityStreamResponse messages.
	// It is used to retrieve entities by their identifiers in a streaming fashion.
	// buf:lint:ignore RPC_REQUEST_RESPONSE_UNIQUE
	// buf:lint:ignore RPC_REQUEST_STANDARD_NAME
	LookupEntityStream(*PermissionLookupEntityRequest, grpc.ServerStreamingServer[PermissionLookupEntityStreamResponse]) error
	// LookupSubject method receives a PermissionLookupSubjectRequest and returns a PermissionLookupSubjectResponse.
	// It is used to retrieve a subject by its identifier.
	LookupSubject(context.Context, *PermissionLookupSubjectRequest) (*PermissionLookupSubjectResponse, error)
	// SubjectPermission method receives a PermissionSubjectPermissionRequest and returns a PermissionSubjectPermissionResponse.
	// It is used to retrieve permissions related to a specific subject.
	SubjectPermission(context.Context, *PermissionSubjectPermissionRequest) (*PermissionSubjectPermissionResponse, error)
	// contains filtered or unexported methods
}

PermissionServer is the server API for Permission service. All implementations must embed UnimplementedPermissionServer for forward compatibility.

** PERMISSION SERVICE ** Permission service contains methods to interact with permissions.

type PermissionSubjectPermissionRequest added in v0.4.7

type PermissionSubjectPermissionRequest struct {

	// Identifier of the tenant, required, and must match the pattern "[a-zA-Z0-9-,]+", max 64 bytes.
	TenantId string `protobuf:"bytes,1,opt,name=tenant_id,proto3" json:"tenant_id,omitempty"`
	// Metadata associated with this request, required.
	Metadata *PermissionSubjectPermissionRequestMetadata `protobuf:"bytes,2,opt,name=metadata,proto3" json:"metadata,omitempty"`
	// Entity for which to check the permission, required.
	Entity *Entity `protobuf:"bytes,3,opt,name=entity,proto3" json:"entity,omitempty"`
	// Subject for which to check the permission, required.
	Subject *Subject `protobuf:"bytes,4,opt,name=subject,proto3" json:"subject,omitempty"`
	// Context associated with this request.
	Context *Context `protobuf:"bytes,5,opt,name=context,proto3" json:"context,omitempty"`
	// contains filtered or unexported fields
}

PermissionSubjectPermissionRequest is the request message for the SubjectPermission method in the Permission service.

func (*PermissionSubjectPermissionRequest) CloneMessageVT added in v1.4.5

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

func (*PermissionSubjectPermissionRequest) CloneVT added in v1.4.5

func (*PermissionSubjectPermissionRequest) Descriptor deprecated added in v0.4.7

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

Deprecated: Use PermissionSubjectPermissionRequest.ProtoReflect.Descriptor instead.

func (*PermissionSubjectPermissionRequest) EqualMessageVT added in v1.4.5

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

func (*PermissionSubjectPermissionRequest) EqualVT added in v1.4.5

func (*PermissionSubjectPermissionRequest) GetContext added in v0.5.0

func (*PermissionSubjectPermissionRequest) GetEntity added in v0.4.7

func (*PermissionSubjectPermissionRequest) GetMetadata added in v0.4.7

func (*PermissionSubjectPermissionRequest) GetSubject added in v0.4.7

func (*PermissionSubjectPermissionRequest) GetTenantId added in v0.4.7

func (x *PermissionSubjectPermissionRequest) GetTenantId() string

func (*PermissionSubjectPermissionRequest) MarshalToSizedBufferVT added in v1.4.5

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

func (*PermissionSubjectPermissionRequest) MarshalToVT added in v1.4.5

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

func (*PermissionSubjectPermissionRequest) MarshalVT added in v1.4.5

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

func (*PermissionSubjectPermissionRequest) ProtoMessage added in v0.4.7

func (*PermissionSubjectPermissionRequest) ProtoMessage()

func (*PermissionSubjectPermissionRequest) ProtoReflect added in v0.4.7

func (*PermissionSubjectPermissionRequest) Reset added in v0.4.7

func (*PermissionSubjectPermissionRequest) SizeVT added in v1.4.5

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

func (*PermissionSubjectPermissionRequest) String added in v0.4.7

func (*PermissionSubjectPermissionRequest) UnmarshalVT added in v1.4.5

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

type PermissionSubjectPermissionRequestMetadata added in v0.4.7

type PermissionSubjectPermissionRequestMetadata struct {

	// Version of the schema.
	SchemaVersion string `protobuf:"bytes,1,opt,name=schema_version,proto3" json:"schema_version,omitempty"`
	// Token associated with the snap.
	SnapToken string `protobuf:"bytes,2,opt,name=snap_token,proto3" json:"snap_token,omitempty"`
	// Whether to only check permissions.
	OnlyPermission bool `protobuf:"varint,3,opt,name=only_permission,proto3" json:"only_permission,omitempty"`
	// Depth of the check, must be greater than or equal to 3.
	Depth int32 `protobuf:"varint,4,opt,name=depth,proto3" json:"depth,omitempty"`
	// contains filtered or unexported fields
}

PermissionSubjectPermissionRequestMetadata metadata for the PermissionSubjectPermissionRequest.

func (*PermissionSubjectPermissionRequestMetadata) CloneMessageVT added in v1.4.5

func (*PermissionSubjectPermissionRequestMetadata) CloneVT added in v1.4.5

func (*PermissionSubjectPermissionRequestMetadata) Descriptor deprecated added in v0.4.7

Deprecated: Use PermissionSubjectPermissionRequestMetadata.ProtoReflect.Descriptor instead.

func (*PermissionSubjectPermissionRequestMetadata) EqualMessageVT added in v1.4.5

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

func (*PermissionSubjectPermissionRequestMetadata) EqualVT added in v1.4.5

func (*PermissionSubjectPermissionRequestMetadata) GetDepth added in v0.4.7

func (*PermissionSubjectPermissionRequestMetadata) GetOnlyPermission added in v0.4.7

func (x *PermissionSubjectPermissionRequestMetadata) GetOnlyPermission() bool

func (*PermissionSubjectPermissionRequestMetadata) GetSchemaVersion added in v0.4.7

func (x *PermissionSubjectPermissionRequestMetadata) GetSchemaVersion() string

func (*PermissionSubjectPermissionRequestMetadata) GetSnapToken added in v0.4.7

func (*PermissionSubjectPermissionRequestMetadata) MarshalToSizedBufferVT added in v1.4.5

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

func (*PermissionSubjectPermissionRequestMetadata) MarshalToVT added in v1.4.5

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

func (*PermissionSubjectPermissionRequestMetadata) MarshalVT added in v1.4.5

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

func (*PermissionSubjectPermissionRequestMetadata) ProtoMessage added in v0.4.7

func (*PermissionSubjectPermissionRequestMetadata) ProtoReflect added in v0.4.7

func (*PermissionSubjectPermissionRequestMetadata) Reset added in v0.4.7

func (*PermissionSubjectPermissionRequestMetadata) SizeVT added in v1.4.5

func (*PermissionSubjectPermissionRequestMetadata) String added in v0.4.7

func (*PermissionSubjectPermissionRequestMetadata) UnmarshalVT added in v1.4.5

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

type PermissionSubjectPermissionResponse added in v0.4.7

type PermissionSubjectPermissionResponse struct {

	// Map of results for each permission check.
	Results map[string]CheckResult `` /* 167-byte string literal not displayed */
	// contains filtered or unexported fields
}

PermissionSubjectPermissionResponse is the response message for the SubjectPermission method in the Permission service.

func (*PermissionSubjectPermissionResponse) CloneMessageVT added in v1.4.5

func (*PermissionSubjectPermissionResponse) CloneVT added in v1.4.5

func (*PermissionSubjectPermissionResponse) Descriptor deprecated added in v0.4.7

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

Deprecated: Use PermissionSubjectPermissionResponse.ProtoReflect.Descriptor instead.

func (*PermissionSubjectPermissionResponse) EqualMessageVT added in v1.4.5

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

func (*PermissionSubjectPermissionResponse) EqualVT added in v1.4.5

func (*PermissionSubjectPermissionResponse) GetResults added in v0.4.7

func (*PermissionSubjectPermissionResponse) MarshalToSizedBufferVT added in v1.4.5

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

func (*PermissionSubjectPermissionResponse) MarshalToVT added in v1.4.5

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

func (*PermissionSubjectPermissionResponse) MarshalVT added in v1.4.5

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

func (*PermissionSubjectPermissionResponse) ProtoMessage added in v0.4.7

func (*PermissionSubjectPermissionResponse) ProtoMessage()

func (*PermissionSubjectPermissionResponse) ProtoReflect added in v0.4.7

func (*PermissionSubjectPermissionResponse) Reset added in v0.4.7

func (*PermissionSubjectPermissionResponse) SizeVT added in v1.4.5

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

func (*PermissionSubjectPermissionResponse) String added in v0.4.7

func (*PermissionSubjectPermissionResponse) UnmarshalVT added in v1.4.5

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

type Permission_LookupEntityStreamClient

type Permission_LookupEntityStreamClient = grpc.ServerStreamingClient[PermissionLookupEntityStreamResponse]

This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.

type Permission_LookupEntityStreamServer

type Permission_LookupEntityStreamServer = grpc.ServerStreamingServer[PermissionLookupEntityStreamResponse]

This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.

type RelationDefinition

type RelationDefinition struct {

	// The name of the relation, which follows a specific string pattern and has a maximum byte size.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// A list of references to other relations.
	RelationReferences []*RelationReference `protobuf:"bytes,2,rep,name=relation_references,json=relationReferences,proto3" json:"relation_references,omitempty"`
	// contains filtered or unexported fields
}

The RelationDefinition message provides detailed information about a specific relation.

func (*RelationDefinition) CloneMessageVT added in v1.4.5

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

func (*RelationDefinition) CloneVT added in v1.4.5

func (m *RelationDefinition) CloneVT() *RelationDefinition

func (*RelationDefinition) Descriptor deprecated

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

Deprecated: Use RelationDefinition.ProtoReflect.Descriptor instead.

func (*RelationDefinition) EqualMessageVT added in v1.4.5

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

func (*RelationDefinition) EqualVT added in v1.4.5

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

func (*RelationDefinition) GetName

func (x *RelationDefinition) GetName() string

func (*RelationDefinition) GetRelationReferences

func (x *RelationDefinition) GetRelationReferences() []*RelationReference

func (*RelationDefinition) MarshalToSizedBufferVT added in v1.4.5

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

func (*RelationDefinition) MarshalToVT added in v1.4.5

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

func (*RelationDefinition) MarshalVT added in v1.4.5

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

func (*RelationDefinition) ProtoMessage

func (*RelationDefinition) ProtoMessage()

func (*RelationDefinition) ProtoReflect

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

func (*RelationDefinition) Reset

func (x *RelationDefinition) Reset()

func (*RelationDefinition) SizeVT added in v1.4.5

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

func (*RelationDefinition) String

func (x *RelationDefinition) String() string

func (*RelationDefinition) UnmarshalVT added in v1.4.5

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

type RelationReference

type RelationReference struct {

	// The type of the referenced entity, which follows a specific string pattern and has a maximum byte size.
	Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"`
	// The name of the referenced relation, which follows a specific string pattern and has a maximum byte size.
	Relation string `protobuf:"bytes,2,opt,name=relation,proto3" json:"relation,omitempty"`
	// contains filtered or unexported fields
}

The RelationReference message provides a reference to a specific relation.

func (*RelationReference) CloneMessageVT added in v1.4.5

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

func (*RelationReference) CloneVT added in v1.4.5

func (m *RelationReference) CloneVT() *RelationReference

func (*RelationReference) Descriptor deprecated

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

Deprecated: Use RelationReference.ProtoReflect.Descriptor instead.

func (*RelationReference) EqualMessageVT added in v1.4.5

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

func (*RelationReference) EqualVT added in v1.4.5

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

func (*RelationReference) GetRelation added in v0.3.1

func (x *RelationReference) GetRelation() string

func (*RelationReference) GetType added in v0.3.1

func (x *RelationReference) GetType() string

func (*RelationReference) MarshalToSizedBufferVT added in v1.4.5

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

func (*RelationReference) MarshalToVT added in v1.4.5

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

func (*RelationReference) MarshalVT added in v1.4.5

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

func (*RelationReference) ProtoMessage

func (*RelationReference) ProtoMessage()

func (*RelationReference) ProtoReflect

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

func (*RelationReference) Reset

func (x *RelationReference) Reset()

func (*RelationReference) SizeVT added in v1.4.5

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

func (*RelationReference) String

func (x *RelationReference) String() string

func (*RelationReference) UnmarshalVT added in v1.4.5

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

type RelationshipDeleteRequest

type RelationshipDeleteRequest struct {
	TenantId string       `protobuf:"bytes,1,opt,name=tenant_id,proto3" json:"tenant_id,omitempty"`
	Filter   *TupleFilter `protobuf:"bytes,2,opt,name=filter,proto3" json:"filter,omitempty"`
	// contains filtered or unexported fields
}

RelationshipDeleteRequest

func (*RelationshipDeleteRequest) CloneMessageVT added in v1.4.5

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

func (*RelationshipDeleteRequest) CloneVT added in v1.4.5

func (*RelationshipDeleteRequest) Descriptor deprecated

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

Deprecated: Use RelationshipDeleteRequest.ProtoReflect.Descriptor instead.

func (*RelationshipDeleteRequest) EqualMessageVT added in v1.4.5

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

func (*RelationshipDeleteRequest) EqualVT added in v1.4.5

func (*RelationshipDeleteRequest) GetFilter

func (x *RelationshipDeleteRequest) GetFilter() *TupleFilter

func (*RelationshipDeleteRequest) GetTenantId added in v0.3.0

func (x *RelationshipDeleteRequest) GetTenantId() string

func (*RelationshipDeleteRequest) MarshalToSizedBufferVT added in v1.4.5

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

func (*RelationshipDeleteRequest) MarshalToVT added in v1.4.5

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

func (*RelationshipDeleteRequest) MarshalVT added in v1.4.5

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

func (*RelationshipDeleteRequest) ProtoMessage

func (*RelationshipDeleteRequest) ProtoMessage()

func (*RelationshipDeleteRequest) ProtoReflect

func (*RelationshipDeleteRequest) Reset

func (x *RelationshipDeleteRequest) Reset()

func (*RelationshipDeleteRequest) SizeVT added in v1.4.5

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

func (*RelationshipDeleteRequest) String

func (x *RelationshipDeleteRequest) String() string

func (*RelationshipDeleteRequest) UnmarshalVT added in v1.4.5

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

type RelationshipDeleteResponse

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

RelationshipDeleteResponse

func (*RelationshipDeleteResponse) CloneMessageVT added in v1.4.5

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

func (*RelationshipDeleteResponse) CloneVT added in v1.4.5

func (*RelationshipDeleteResponse) Descriptor deprecated

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

Deprecated: Use RelationshipDeleteResponse.ProtoReflect.Descriptor instead.

func (*RelationshipDeleteResponse) EqualMessageVT added in v1.4.5

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

func (*RelationshipDeleteResponse) EqualVT added in v1.4.5

func (*RelationshipDeleteResponse) GetSnapToken

func (x *RelationshipDeleteResponse) GetSnapToken() string

func (*RelationshipDeleteResponse) MarshalToSizedBufferVT added in v1.4.5

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

func (*RelationshipDeleteResponse) MarshalToVT added in v1.4.5

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

func (*RelationshipDeleteResponse) MarshalVT added in v1.4.5

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

func (*RelationshipDeleteResponse) ProtoMessage

func (*RelationshipDeleteResponse) ProtoMessage()

func (*RelationshipDeleteResponse) ProtoReflect

func (*RelationshipDeleteResponse) Reset

func (x *RelationshipDeleteResponse) Reset()

func (*RelationshipDeleteResponse) SizeVT added in v1.4.5

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

func (*RelationshipDeleteResponse) String

func (x *RelationshipDeleteResponse) String() string

func (*RelationshipDeleteResponse) UnmarshalVT added in v1.4.5

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

type RelationshipReadRequest

type RelationshipReadRequest struct {

	// tenant_id represents the unique identifier of the tenant for which relationships are read.
	TenantId string `protobuf:"bytes,1,opt,name=tenant_id,proto3" json:"tenant_id,omitempty"`
	// metadata holds additional data related to the request.
	Metadata *RelationshipReadRequestMetadata `protobuf:"bytes,2,opt,name=metadata,proto3" json:"metadata,omitempty"`
	// filter is used to specify criteria for the data that needs to be read.
	Filter *TupleFilter `protobuf:"bytes,3,opt,name=filter,proto3" json:"filter,omitempty"`
	// page_size specifies the number of results to return in a single page.
	// If more results are available, a continuous_token is included in the response.
	PageSize uint32 `protobuf:"varint,4,opt,name=page_size,proto3" json:"page_size,omitempty"`
	// continuous_token is used in case of paginated reads to get the next page of results.
	ContinuousToken string `protobuf:"bytes,5,opt,name=continuous_token,proto3" json:"continuous_token,omitempty"`
	// contains filtered or unexported fields
}

RelationshipReadRequest defines the structure of a request for reading relationships. It contains the necessary information such as tenant_id, metadata, and filter for the read operation.

func (*RelationshipReadRequest) CloneMessageVT added in v1.4.5

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

func (*RelationshipReadRequest) CloneVT added in v1.4.5

func (*RelationshipReadRequest) Descriptor deprecated

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

Deprecated: Use RelationshipReadRequest.ProtoReflect.Descriptor instead.

func (*RelationshipReadRequest) EqualMessageVT added in v1.4.5

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

func (*RelationshipReadRequest) EqualVT added in v1.4.5

func (*RelationshipReadRequest) GetContinuousToken added in v0.3.0

func (x *RelationshipReadRequest) GetContinuousToken() string

func (*RelationshipReadRequest) GetFilter

func (x *RelationshipReadRequest) GetFilter() *TupleFilter

func (*RelationshipReadRequest) GetMetadata added in v0.2.0

func (*RelationshipReadRequest) GetPageSize added in v0.3.0

func (x *RelationshipReadRequest) GetPageSize() uint32

func (*RelationshipReadRequest) GetTenantId added in v0.3.0

func (x *RelationshipReadRequest) GetTenantId() string

func (*RelationshipReadRequest) MarshalToSizedBufferVT added in v1.4.5

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

func (*RelationshipReadRequest) MarshalToVT added in v1.4.5

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

func (*RelationshipReadRequest) MarshalVT added in v1.4.5

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

func (*RelationshipReadRequest) ProtoMessage

func (*RelationshipReadRequest) ProtoMessage()

func (*RelationshipReadRequest) ProtoReflect

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

func (*RelationshipReadRequest) Reset

func (x *RelationshipReadRequest) Reset()

func (*RelationshipReadRequest) SizeVT added in v1.4.5

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

func (*RelationshipReadRequest) String

func (x *RelationshipReadRequest) String() string

func (*RelationshipReadRequest) UnmarshalVT added in v1.4.5

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

type RelationshipReadRequestMetadata added in v0.2.0

type RelationshipReadRequestMetadata struct {

	// snap_token represents a specific state or "snapshot" of the database.
	SnapToken string `protobuf:"bytes,1,opt,name=snap_token,proto3" json:"snap_token,omitempty"`
	// contains filtered or unexported fields
}

RelationshipReadRequestMetadata defines the structure of the metadata for a read request focused on relationships. It includes the snap_token associated with a particular state of the database.

func (*RelationshipReadRequestMetadata) CloneMessageVT added in v1.4.5

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

func (*RelationshipReadRequestMetadata) CloneVT added in v1.4.5

func (*RelationshipReadRequestMetadata) Descriptor deprecated added in v0.2.0

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

Deprecated: Use RelationshipReadRequestMetadata.ProtoReflect.Descriptor instead.

func (*RelationshipReadRequestMetadata) EqualMessageVT added in v1.4.5

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

func (*RelationshipReadRequestMetadata) EqualVT added in v1.4.5

func (*RelationshipReadRequestMetadata) GetSnapToken added in v0.2.0

func (x *RelationshipReadRequestMetadata) GetSnapToken() string

func (*RelationshipReadRequestMetadata) MarshalToSizedBufferVT added in v1.4.5

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

func (*RelationshipReadRequestMetadata) MarshalToVT added in v1.4.5

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

func (*RelationshipReadRequestMetadata) MarshalVT added in v1.4.5

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

func (*RelationshipReadRequestMetadata) ProtoMessage added in v0.2.0

func (*RelationshipReadRequestMetadata) ProtoMessage()

func (*RelationshipReadRequestMetadata) ProtoReflect added in v0.2.0

func (*RelationshipReadRequestMetadata) Reset added in v0.2.0

func (*RelationshipReadRequestMetadata) SizeVT added in v1.4.5

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

func (*RelationshipReadRequestMetadata) String added in v0.2.0

func (*RelationshipReadRequestMetadata) UnmarshalVT added in v1.4.5

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

type RelationshipReadResponse

type RelationshipReadResponse struct {

	// tuples is a list of the relationships retrieved in the read operation, represented as entity-relation-entity triples.
	Tuples []*Tuple `protobuf:"bytes,1,rep,name=tuples,proto3" json:"tuples,omitempty"`
	// continuous_token is used in the case of paginated reads to retrieve the next page of results.
	ContinuousToken string `protobuf:"bytes,2,opt,name=continuous_token,proto3" json:"continuous_token,omitempty"`
	// contains filtered or unexported fields
}

RelationshipReadResponse defines the structure of the response after reading relationships. It includes the tuples representing the relationships and a continuous token for handling result pagination.

func (*RelationshipReadResponse) CloneMessageVT added in v1.4.5

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

func (*RelationshipReadResponse) CloneVT added in v1.4.5

func (*RelationshipReadResponse) Descriptor deprecated

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

Deprecated: Use RelationshipReadResponse.ProtoReflect.Descriptor instead.

func (*RelationshipReadResponse) EqualMessageVT added in v1.4.5

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

func (*RelationshipReadResponse) EqualVT added in v1.4.5

func (*RelationshipReadResponse) GetContinuousToken added in v0.3.0

func (x *RelationshipReadResponse) GetContinuousToken() string

func (*RelationshipReadResponse) GetTuples

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

func (*RelationshipReadResponse) MarshalToSizedBufferVT added in v1.4.5

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

func (*RelationshipReadResponse) MarshalToVT added in v1.4.5

func (m *RelationshipReadResponse) MarshalToVT(dAtA []byte) (int, error)

func (*RelationshipReadResponse) MarshalVT added in v1.4.5

func (m *RelationshipReadResponse) MarshalVT() (dAtA []byte, err error)

func (*RelationshipReadResponse) ProtoMessage

func (*RelationshipReadResponse) ProtoMessage()

func (*RelationshipReadResponse) ProtoReflect

func (x *RelationshipReadResponse) ProtoReflect() protoreflect.Message

func (*RelationshipReadResponse) Reset

func (x *RelationshipReadResponse) Reset()

func (*RelationshipReadResponse) SizeVT added in v1.4.5

func (m *RelationshipReadResponse) SizeVT() (n int)

func (*RelationshipReadResponse) String

func (x *RelationshipReadResponse) String() string

func (*RelationshipReadResponse) UnmarshalVT added in v1.4.5

func (m *RelationshipReadResponse) UnmarshalVT(dAtA []byte) error

type RelationshipWriteRequest

type RelationshipWriteRequest struct {

	// Unique identifier for the tenant with specific constraints.
	TenantId string `protobuf:"bytes,1,opt,name=tenant_id,proto3" json:"tenant_id,omitempty"`
	// Metadata for the request. It's required.
	Metadata *RelationshipWriteRequestMetadata `protobuf:"bytes,2,opt,name=metadata,proto3" json:"metadata,omitempty"`
	// List of tuples for the request. Must have between 1 and 100 items.
	Tuples []*Tuple `protobuf:"bytes,3,rep,name=tuples,proto3" json:"tuples,omitempty"`
	// contains filtered or unexported fields
}

Represents a request to write relationship data.

func (*RelationshipWriteRequest) CloneMessageVT added in v1.4.5

func (m *RelationshipWriteRequest) CloneMessageVT() proto.Message

func (*RelationshipWriteRequest) CloneVT added in v1.4.5

func (*RelationshipWriteRequest) Descriptor deprecated

func (*RelationshipWriteRequest) Descriptor() ([]byte, []int)

Deprecated: Use RelationshipWriteRequest.ProtoReflect.Descriptor instead.

func (*RelationshipWriteRequest) EqualMessageVT added in v1.4.5

func (this *RelationshipWriteRequest) EqualMessageVT(thatMsg proto.Message) bool

func (*RelationshipWriteRequest) EqualVT added in v1.4.5

func (*RelationshipWriteRequest) GetMetadata added in v0.2.0

func (*RelationshipWriteRequest) GetTenantId added in v0.3.0

func (x *RelationshipWriteRequest) GetTenantId() string

func (*RelationshipWriteRequest) GetTuples

func (x *RelationshipWriteRequest) GetTuples() []*Tuple

func (*RelationshipWriteRequest) MarshalToSizedBufferVT added in v1.4.5

func (m *RelationshipWriteRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*RelationshipWriteRequest) MarshalToVT added in v1.4.5

func (m *RelationshipWriteRequest) MarshalToVT(dAtA []byte) (int, error)

func (*RelationshipWriteRequest) MarshalVT added in v1.4.5

func (m *RelationshipWriteRequest) MarshalVT() (dAtA []byte, err error)

func (*RelationshipWriteRequest) ProtoMessage

func (*RelationshipWriteRequest) ProtoMessage()

func (*RelationshipWriteRequest) ProtoReflect

func (x *RelationshipWriteRequest) ProtoReflect() protoreflect.Message

func (*RelationshipWriteRequest) Reset

func (x *RelationshipWriteRequest) Reset()

func (*RelationshipWriteRequest) SizeVT added in v1.4.5

func (m *RelationshipWriteRequest) SizeVT() (n int)

func (*RelationshipWriteRequest) String

func (x *RelationshipWriteRequest) String() string

func (*RelationshipWriteRequest) UnmarshalVT added in v1.4.5

func (m *RelationshipWriteRequest) UnmarshalVT(dAtA []byte) error

type RelationshipWriteRequestMetadata added in v0.2.0

type RelationshipWriteRequestMetadata struct {
	SchemaVersion string `protobuf:"bytes,1,opt,name=schema_version,proto3" json:"schema_version,omitempty"`
	// contains filtered or unexported fields
}

RelationshipWriteRequestMetadata

func (*RelationshipWriteRequestMetadata) CloneMessageVT added in v1.4.5

func (m *RelationshipWriteRequestMetadata) CloneMessageVT() proto.Message

func (*RelationshipWriteRequestMetadata) CloneVT added in v1.4.5

func (*RelationshipWriteRequestMetadata) Descriptor deprecated added in v0.2.0

func (*RelationshipWriteRequestMetadata) Descriptor() ([]byte, []int)

Deprecated: Use RelationshipWriteRequestMetadata.ProtoReflect.Descriptor instead.

func (*RelationshipWriteRequestMetadata) EqualMessageVT added in v1.4.5

func (this *RelationshipWriteRequestMetadata) EqualMessageVT(thatMsg proto.Message) bool

func (*RelationshipWriteRequestMetadata) EqualVT added in v1.4.5

func (*RelationshipWriteRequestMetadata) GetSchemaVersion added in v0.2.0

func (x *RelationshipWriteRequestMetadata) GetSchemaVersion() string

func (*RelationshipWriteRequestMetadata) MarshalToSizedBufferVT added in v1.4.5

func (m *RelationshipWriteRequestMetadata) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*RelationshipWriteRequestMetadata) MarshalToVT added in v1.4.5

func (m *RelationshipWriteRequestMetadata) MarshalToVT(dAtA []byte) (int, error)

func (*RelationshipWriteRequestMetadata) MarshalVT added in v1.4.5

func (m *RelationshipWriteRequestMetadata) MarshalVT() (dAtA []byte, err error)

func (*RelationshipWriteRequestMetadata) ProtoMessage added in v0.2.0

func (*RelationshipWriteRequestMetadata) ProtoMessage()

func (*RelationshipWriteRequestMetadata) ProtoReflect added in v0.2.0

func (*RelationshipWriteRequestMetadata) Reset added in v0.2.0

func (*RelationshipWriteRequestMetadata) SizeVT added in v1.4.5

func (m *RelationshipWriteRequestMetadata) SizeVT() (n int)

func (*RelationshipWriteRequestMetadata) String added in v0.2.0

func (*RelationshipWriteRequestMetadata) UnmarshalVT added in v1.4.5

func (m *RelationshipWriteRequestMetadata) UnmarshalVT(dAtA []byte) error

type RelationshipWriteResponse

type RelationshipWriteResponse struct {
	SnapToken string `protobuf:"bytes,1,opt,name=snap_token,proto3" json:"snap_token,omitempty"`
	// contains filtered or unexported fields
}

RelationshipWriteResponse

func (*RelationshipWriteResponse) CloneMessageVT added in v1.4.5

func (m *RelationshipWriteResponse) CloneMessageVT() proto.Message

func (*RelationshipWriteResponse) CloneVT added in v1.4.5

func (*RelationshipWriteResponse) Descriptor deprecated

func (*RelationshipWriteResponse) Descriptor() ([]byte, []int)

Deprecated: Use RelationshipWriteResponse.ProtoReflect.Descriptor instead.

func (*RelationshipWriteResponse) EqualMessageVT added in v1.4.5

func (this *RelationshipWriteResponse) EqualMessageVT(thatMsg proto.Message) bool

func (*RelationshipWriteResponse) EqualVT added in v1.4.5

func (*RelationshipWriteResponse) GetSnapToken

func (x *RelationshipWriteResponse) GetSnapToken() string

func (*RelationshipWriteResponse) MarshalToSizedBufferVT added in v1.4.5

func (m *RelationshipWriteResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*RelationshipWriteResponse) MarshalToVT added in v1.4.5

func (m *RelationshipWriteResponse) MarshalToVT(dAtA []byte) (int, error)

func (*RelationshipWriteResponse) MarshalVT added in v1.4.5

func (m *RelationshipWriteResponse) MarshalVT() (dAtA []byte, err error)

func (*RelationshipWriteResponse) ProtoMessage

func (*RelationshipWriteResponse) ProtoMessage()

func (*RelationshipWriteResponse) ProtoReflect

func (*RelationshipWriteResponse) Reset

func (x *RelationshipWriteResponse) Reset()

func (*RelationshipWriteResponse) SizeVT added in v1.4.5

func (m *RelationshipWriteResponse) SizeVT() (n int)

func (*RelationshipWriteResponse) String

func (x *RelationshipWriteResponse) String() string

func (*RelationshipWriteResponse) UnmarshalVT added in v1.4.5

func (m *RelationshipWriteResponse) UnmarshalVT(dAtA []byte) error

type Rewrite

type Rewrite struct {

	// The type of rewrite operation to be performed.
	RewriteOperation Rewrite_Operation `` /* 141-byte string literal not displayed */
	// A list of children that are operated upon by the rewrite operation.
	Children []*Child `protobuf:"bytes,2,rep,name=children,proto3" json:"children,omitempty"`
	// contains filtered or unexported fields
}

The Rewrite message represents a specific rewrite operation. This operation could be one of the following: union, intersection, or exclusion.

func (*Rewrite) CloneMessageVT added in v1.4.5

func (m *Rewrite) CloneMessageVT() proto.Message

func (*Rewrite) CloneVT added in v1.4.5

func (m *Rewrite) CloneVT() *Rewrite

func (*Rewrite) Descriptor deprecated

func (*Rewrite) Descriptor() ([]byte, []int)

Deprecated: Use Rewrite.ProtoReflect.Descriptor instead.

func (*Rewrite) EqualMessageVT added in v1.4.5

func (this *Rewrite) EqualMessageVT(thatMsg proto.Message) bool

func (*Rewrite) EqualVT added in v1.4.5

func (this *Rewrite) EqualVT(that *Rewrite) bool

func (*Rewrite) GetChildren

func (x *Rewrite) GetChildren() []*Child

func (*Rewrite) GetRewriteOperation

func (x *Rewrite) GetRewriteOperation() Rewrite_Operation

func (*Rewrite) MarshalToSizedBufferVT added in v1.4.5

func (m *Rewrite) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*Rewrite) MarshalToVT added in v1.4.5

func (m *Rewrite) MarshalToVT(dAtA []byte) (int, error)

func (*Rewrite) MarshalVT added in v1.4.5

func (m *Rewrite) MarshalVT() (dAtA []byte, err error)

func (*Rewrite) ProtoMessage

func (*Rewrite) ProtoMessage()

func (*Rewrite) ProtoReflect

func (x *Rewrite) ProtoReflect() protoreflect.Message

func (*Rewrite) Reset

func (x *Rewrite) Reset()

func (*Rewrite) SizeVT added in v1.4.5

func (m *Rewrite) SizeVT() (n int)

func (*Rewrite) String

func (x *Rewrite) String() string

func (*Rewrite) UnmarshalVT added in v1.4.5

func (m *Rewrite) UnmarshalVT(dAtA []byte) error

type Rewrite_Operation

type Rewrite_Operation int32

Operation enum includes potential rewrite operations. OPERATION_UNION: Represents a union operation. OPERATION_INTERSECTION: Represents an intersection operation. OPERATION_EXCLUSION: Represents an exclusion operation.

const (
	Rewrite_OPERATION_UNSPECIFIED  Rewrite_Operation = 0 // Default, unspecified operation.
	Rewrite_OPERATION_UNION        Rewrite_Operation = 1 // Represents a union operation.
	Rewrite_OPERATION_INTERSECTION Rewrite_Operation = 2 // Represents an intersection operation.
	Rewrite_OPERATION_EXCLUSION    Rewrite_Operation = 3 // Represents an exclusion operation.
)

func (Rewrite_Operation) Descriptor

func (Rewrite_Operation) Enum

func (Rewrite_Operation) EnumDescriptor deprecated

func (Rewrite_Operation) EnumDescriptor() ([]byte, []int)

Deprecated: Use Rewrite_Operation.Descriptor instead.

func (Rewrite_Operation) Number

func (Rewrite_Operation) String

func (x Rewrite_Operation) String() string

func (Rewrite_Operation) Type

type RuleDefinition added in v0.5.0

type RuleDefinition struct {

	// The name of the rule, which follows a specific string pattern and has a maximum byte size.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Map of arguments for this rule. The key is the attribute name, and the value is the AttributeType.
	Arguments map[string]AttributeType `` /* 173-byte string literal not displayed */
	// The expression for this rule in the form of a google.api.expr.v1alpha1.CheckedExpr.
	Expression *v1alpha1.CheckedExpr `protobuf:"bytes,3,opt,name=expression,proto3" json:"expression,omitempty"`
	// contains filtered or unexported fields
}

The RuleDefinition message provides detailed information about a specific rule.

func (*RuleDefinition) CloneMessageVT added in v1.4.5

func (m *RuleDefinition) CloneMessageVT() proto.Message

func (*RuleDefinition) CloneVT added in v1.4.5

func (m *RuleDefinition) CloneVT() *RuleDefinition

func (*RuleDefinition) Descriptor deprecated added in v0.5.0

func (*RuleDefinition) Descriptor() ([]byte, []int)

Deprecated: Use RuleDefinition.ProtoReflect.Descriptor instead.

func (*RuleDefinition) EqualMessageVT added in v1.4.5

func (this *RuleDefinition) EqualMessageVT(thatMsg proto.Message) bool

func (*RuleDefinition) EqualVT added in v1.4.5

func (this *RuleDefinition) EqualVT(that *RuleDefinition) bool

func (*RuleDefinition) GetArguments added in v0.5.0

func (x *RuleDefinition) GetArguments() map[string]AttributeType

func (*RuleDefinition) GetExpression added in v0.5.0

func (x *RuleDefinition) GetExpression() *v1alpha1.CheckedExpr

func (*RuleDefinition) GetName added in v0.5.0

func (x *RuleDefinition) GetName() string

func (*RuleDefinition) MarshalToSizedBufferVT added in v1.4.5

func (m *RuleDefinition) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*RuleDefinition) MarshalToVT added in v1.4.5

func (m *RuleDefinition) MarshalToVT(dAtA []byte) (int, error)

func (*RuleDefinition) MarshalVT added in v1.4.5

func (m *RuleDefinition) MarshalVT() (dAtA []byte, err error)

func (*RuleDefinition) ProtoMessage added in v0.5.0

func (*RuleDefinition) ProtoMessage()

func (*RuleDefinition) ProtoReflect added in v0.5.0

func (x *RuleDefinition) ProtoReflect() protoreflect.Message

func (*RuleDefinition) Reset added in v0.5.0

func (x *RuleDefinition) Reset()

func (*RuleDefinition) SizeVT added in v1.4.5

func (m *RuleDefinition) SizeVT() (n int)

func (*RuleDefinition) String added in v0.5.0

func (x *RuleDefinition) String() string

func (*RuleDefinition) UnmarshalVT added in v1.4.5

func (m *RuleDefinition) UnmarshalVT(dAtA []byte) error

type SchemaClient

type SchemaClient interface {
	// Write is an RPC that allows you to write your authorization model.
	Write(ctx context.Context, in *SchemaWriteRequest, opts ...grpc.CallOption) (*SchemaWriteResponse, error)
	// PartialWrite is an RPC that allows you to partially update an existing authorization model.
	PartialWrite(ctx context.Context, in *SchemaPartialWriteRequest, opts ...grpc.CallOption) (*SchemaPartialWriteResponse, error)
	// Read is an RPC that allows you to read your authorization model.
	Read(ctx context.Context, in *SchemaReadRequest, opts ...grpc.CallOption) (*SchemaReadResponse, error)
	// List is an RPC that allows you to list all authorization models.
	List(ctx context.Context, in *SchemaListRequest, opts ...grpc.CallOption) (*SchemaListResponse, error)
}

SchemaClient is the client API for Schema 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.

The Schema service definition.

func NewSchemaClient

func NewSchemaClient(cc grpc.ClientConnInterface) SchemaClient

type SchemaDefinition added in v0.3.1

type SchemaDefinition struct {

	// Map of entity definitions. The key is the entity name, and the value is the corresponding EntityDefinition.
	EntityDefinitions map[string]*EntityDefinition `` /* 186-byte string literal not displayed */
	// Map of rule definitions. The key is the rule name, and the value is the corresponding RuleDefinition.
	RuleDefinitions map[string]*RuleDefinition `` /* 180-byte string literal not displayed */
	// Map of references to signify whether a string refers to an entity or a rule.
	References map[string]SchemaDefinition_Reference `` /* 188-byte string literal not displayed */
	// contains filtered or unexported fields
}

The SchemaDefinition message provides definitions for entities and rules, and includes references to clarify whether a name refers to an entity or a rule.

func (*SchemaDefinition) CloneMessageVT added in v1.4.5

func (m *SchemaDefinition) CloneMessageVT() proto.Message

func (*SchemaDefinition) CloneVT added in v1.4.5

func (m *SchemaDefinition) CloneVT() *SchemaDefinition

func (*SchemaDefinition) Descriptor deprecated added in v0.3.1

func (*SchemaDefinition) Descriptor() ([]byte, []int)

Deprecated: Use SchemaDefinition.ProtoReflect.Descriptor instead.

func (*SchemaDefinition) EqualMessageVT added in v1.4.5

func (this *SchemaDefinition) EqualMessageVT(thatMsg proto.Message) bool

func (*SchemaDefinition) EqualVT added in v1.4.5

func (this *SchemaDefinition) EqualVT(that *SchemaDefinition) bool

func (*SchemaDefinition) GetEntityDefinitions added in v0.3.1

func (x *SchemaDefinition) GetEntityDefinitions() map[string]*EntityDefinition

func (*SchemaDefinition) GetReferences added in v0.5.0

func (x *SchemaDefinition) GetReferences() map[string]SchemaDefinition_Reference

func (*SchemaDefinition) GetRuleDefinitions added in v0.5.0

func (x *SchemaDefinition) GetRuleDefinitions() map[string]*RuleDefinition

func (*SchemaDefinition) MarshalToSizedBufferVT added in v1.4.5

func (m *SchemaDefinition) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*SchemaDefinition) MarshalToVT added in v1.4.5

func (m *SchemaDefinition) MarshalToVT(dAtA []byte) (int, error)

func (*SchemaDefinition) MarshalVT added in v1.4.5

func (m *SchemaDefinition) MarshalVT() (dAtA []byte, err error)

func (*SchemaDefinition) ProtoMessage added in v0.3.1

func (*SchemaDefinition) ProtoMessage()

func (*SchemaDefinition) ProtoReflect added in v0.3.1

func (x *SchemaDefinition) ProtoReflect() protoreflect.Message

func (*SchemaDefinition) Reset added in v0.3.1

func (x *SchemaDefinition) Reset()

func (*SchemaDefinition) SizeVT added in v1.4.5

func (m *SchemaDefinition) SizeVT() (n int)

func (*SchemaDefinition) String added in v0.3.1

func (x *SchemaDefinition) String() string

func (*SchemaDefinition) UnmarshalVT added in v1.4.5

func (m *SchemaDefinition) UnmarshalVT(dAtA []byte) error

type SchemaDefinition_Reference added in v0.5.0

type SchemaDefinition_Reference int32

The Reference enum helps distinguish whether a name corresponds to an entity or a rule.

const (
	SchemaDefinition_REFERENCE_UNSPECIFIED SchemaDefinition_Reference = 0 // Default, unspecified reference.
	SchemaDefinition_REFERENCE_ENTITY      SchemaDefinition_Reference = 1 // Indicates that the name refers to an entity.
	SchemaDefinition_REFERENCE_RULE        SchemaDefinition_Reference = 2 // Indicates that the name refers to a rule.
)

func (SchemaDefinition_Reference) Descriptor added in v0.5.0

func (SchemaDefinition_Reference) Enum added in v0.5.0

func (SchemaDefinition_Reference) EnumDescriptor deprecated added in v0.5.0

func (SchemaDefinition_Reference) EnumDescriptor() ([]byte, []int)

Deprecated: Use SchemaDefinition_Reference.Descriptor instead.

func (SchemaDefinition_Reference) Number added in v0.5.0

func (SchemaDefinition_Reference) String added in v0.5.0

func (SchemaDefinition_Reference) Type added in v0.5.0

type SchemaList added in v0.7.5

type SchemaList struct {
	Version   string `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"`
	CreatedAt string `protobuf:"bytes,2,opt,name=created_at,proto3" json:"created_at,omitempty"`
	// contains filtered or unexported fields
}

SchemaList provides a list of schema versions with their corresponding creation timestamps

func (*SchemaList) CloneMessageVT added in v1.4.5

func (m *SchemaList) CloneMessageVT() proto.Message

func (*SchemaList) CloneVT added in v1.4.5

func (m *SchemaList) CloneVT() *SchemaList

func (*SchemaList) Descriptor deprecated added in v0.7.5

func (*SchemaList) Descriptor() ([]byte, []int)

Deprecated: Use SchemaList.ProtoReflect.Descriptor instead.

func (*SchemaList) EqualMessageVT added in v1.4.5

func (this *SchemaList) EqualMessageVT(thatMsg proto.Message) bool

func (*SchemaList) EqualVT added in v1.4.5

func (this *SchemaList) EqualVT(that *SchemaList) bool

func (*SchemaList) GetCreatedAt added in v0.7.5

func (x *SchemaList) GetCreatedAt() string

func (*SchemaList) GetVersion added in v0.7.5

func (x *SchemaList) GetVersion() string

func (*SchemaList) MarshalToSizedBufferVT added in v1.4.5

func (m *SchemaList) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*SchemaList) MarshalToVT added in v1.4.5

func (m *SchemaList) MarshalToVT(dAtA []byte) (int, error)

func (*SchemaList) MarshalVT added in v1.4.5

func (m *SchemaList) MarshalVT() (dAtA []byte, err error)

func (*SchemaList) ProtoMessage added in v0.7.5

func (*SchemaList) ProtoMessage()

func (*SchemaList) ProtoReflect added in v0.7.5

func (x *SchemaList) ProtoReflect() protoreflect.Message

func (*SchemaList) Reset added in v0.7.5

func (x *SchemaList) Reset()

func (*SchemaList) SizeVT added in v1.4.5

func (m *SchemaList) SizeVT() (n int)

func (*SchemaList) String added in v0.7.5

func (x *SchemaList) String() string

func (*SchemaList) UnmarshalVT added in v1.4.5

func (m *SchemaList) UnmarshalVT(dAtA []byte) error

type SchemaListRequest added in v0.7.5

type SchemaListRequest struct {

	// tenant_id is a string that identifies the tenant. It must match the pattern "[a-zA-Z0-9-,]+",
	// be a maximum of 64 bytes, and must not be empty.
	TenantId string `protobuf:"bytes,1,opt,name=tenant_id,proto3" json:"tenant_id,omitempty"`
	// page_size is the number of schemas to be returned in the response.
	// The value should be between 1 and 100.
	PageSize uint32 `protobuf:"varint,2,opt,name=page_size,proto3" json:"page_size,omitempty"`
	// continuous_token is an optional parameter used for pagination.
	// It should be the value received in the previous response.
	ContinuousToken string `protobuf:"bytes,3,opt,name=continuous_token,proto3" json:"continuous_token,omitempty"`
	// contains filtered or unexported fields
}

SchemaListRequest is the request message for the List method in the Schema service. It contains tenant_id for which the schemas are to be listed.

func (*SchemaListRequest) CloneMessageVT added in v1.4.5

func (m *SchemaListRequest) CloneMessageVT() proto.Message

func (*SchemaListRequest) CloneVT added in v1.4.5

func (m *SchemaListRequest) CloneVT() *SchemaListRequest

func (*SchemaListRequest) Descriptor deprecated added in v0.7.5

func (*SchemaListRequest) Descriptor() ([]byte, []int)

Deprecated: Use SchemaListRequest.ProtoReflect.Descriptor instead.

func (*SchemaListRequest) EqualMessageVT added in v1.4.5

func (this *SchemaListRequest) EqualMessageVT(thatMsg proto.Message) bool

func (*SchemaListRequest) EqualVT added in v1.4.5

func (this *SchemaListRequest) EqualVT(that *SchemaListRequest) bool

func (*SchemaListRequest) GetContinuousToken added in v0.7.5

func (x *SchemaListRequest) GetContinuousToken() string

func (*SchemaListRequest) GetPageSize added in v0.7.5

func (x *SchemaListRequest) GetPageSize() uint32

func (*SchemaListRequest) GetTenantId added in v0.7.5

func (x *SchemaListRequest) GetTenantId() string

func (*SchemaListRequest) MarshalToSizedBufferVT added in v1.4.5

func (m *SchemaListRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*SchemaListRequest) MarshalToVT added in v1.4.5

func (m *SchemaListRequest) MarshalToVT(dAtA []byte) (int, error)

func (*SchemaListRequest) MarshalVT added in v1.4.5

func (m *SchemaListRequest) MarshalVT() (dAtA []byte, err error)

func (*SchemaListRequest) ProtoMessage added in v0.7.5

func (*SchemaListRequest) ProtoMessage()

func (*SchemaListRequest) ProtoReflect added in v0.7.5

func (x *SchemaListRequest) ProtoReflect() protoreflect.Message

func (*SchemaListRequest) Reset added in v0.7.5

func (x *SchemaListRequest) Reset()

func (*SchemaListRequest) SizeVT added in v1.4.5

func (m *SchemaListRequest) SizeVT() (n int)

func (*SchemaListRequest) String added in v0.7.5

func (x *SchemaListRequest) String() string

func (*SchemaListRequest) UnmarshalVT added in v1.4.5

func (m *SchemaListRequest) UnmarshalVT(dAtA []byte) error

type SchemaListResponse added in v0.7.5

type SchemaListResponse struct {

	// head of the schemas is the latest version available for the tenant
	Head string `protobuf:"bytes,1,opt,name=head,proto3" json:"head,omitempty"`
	// list of schema versions with creation timestamps
	Schemas []*SchemaList `protobuf:"bytes,2,rep,name=schemas,proto3" json:"schemas,omitempty"`
	// continuous_token is a string that can be used to paginate and retrieve the next set of results.
	ContinuousToken string `protobuf:"bytes,3,opt,name=continuous_token,proto3" json:"continuous_token,omitempty"`
	// contains filtered or unexported fields
}

SchemaListResponse is the response message for the List method in the Schema service. It returns a paginated list of schemas

func (*SchemaListResponse) CloneMessageVT added in v1.4.5

func (m *SchemaListResponse) CloneMessageVT() proto.Message

func (*SchemaListResponse) CloneVT added in v1.4.5

func (m *SchemaListResponse) CloneVT() *SchemaListResponse

func (*SchemaListResponse) Descriptor deprecated added in v0.7.5

func (*SchemaListResponse) Descriptor() ([]byte, []int)

Deprecated: Use SchemaListResponse.ProtoReflect.Descriptor instead.

func (*SchemaListResponse) EqualMessageVT added in v1.4.5

func (this *SchemaListResponse) EqualMessageVT(thatMsg proto.Message) bool

func (*SchemaListResponse) EqualVT added in v1.4.5

func (this *SchemaListResponse) EqualVT(that *SchemaListResponse) bool

func (*SchemaListResponse) GetContinuousToken added in v0.7.5

func (x *SchemaListResponse) GetContinuousToken() string

func (*SchemaListResponse) GetHead added in v0.7.5

func (x *SchemaListResponse) GetHead() string

func (*SchemaListResponse) GetSchemas added in v0.7.5

func (x *SchemaListResponse) GetSchemas() []*SchemaList

func (*SchemaListResponse) MarshalToSizedBufferVT added in v1.4.5

func (m *SchemaListResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*SchemaListResponse) MarshalToVT added in v1.4.5

func (m *SchemaListResponse) MarshalToVT(dAtA []byte) (int, error)

func (*SchemaListResponse) MarshalVT added in v1.4.5

func (m *SchemaListResponse) MarshalVT() (dAtA []byte, err error)

func (*SchemaListResponse) ProtoMessage added in v0.7.5

func (*SchemaListResponse) ProtoMessage()

func (*SchemaListResponse) ProtoReflect added in v0.7.5

func (x *SchemaListResponse) ProtoReflect() protoreflect.Message

func (*SchemaListResponse) Reset added in v0.7.5

func (x *SchemaListResponse) Reset()

func (*SchemaListResponse) SizeVT added in v1.4.5

func (m *SchemaListResponse) SizeVT() (n int)

func (*SchemaListResponse) String added in v0.7.5

func (x *SchemaListResponse) String() string

func (*SchemaListResponse) UnmarshalVT added in v1.4.5

func (m *SchemaListResponse) UnmarshalVT(dAtA []byte) error

type SchemaPartialWriteRequest added in v0.7.9

type SchemaPartialWriteRequest struct {

	// tenant_id is a string that identifies the tenant. It must match the pattern "[a-zA-Z0-9-,]+",
	// be a maximum of 64 bytes, and must not be empty.
	TenantId string `protobuf:"bytes,1,opt,name=tenant_id,proto3" json:"tenant_id,omitempty"`
	// metadata is the additional information needed for the Partial Write request.
	Metadata *SchemaPartialWriteRequestMetadata `protobuf:"bytes,2,opt,name=metadata,proto3" json:"metadata,omitempty"`
	// Map of entity name with the values needed to be updated
	Partials map[string]*Partials `` /* 143-byte string literal not displayed */
	// contains filtered or unexported fields
}

It contains the tenant_id to identify the tenant and metadata of the schema to be edited, with the corresponding edits to various entities

func (*SchemaPartialWriteRequest) CloneMessageVT added in v1.4.5

func (m *SchemaPartialWriteRequest) CloneMessageVT() proto.Message

func (*SchemaPartialWriteRequest) CloneVT added in v1.4.5

func (*SchemaPartialWriteRequest) Descriptor deprecated added in v0.7.9

func (*SchemaPartialWriteRequest) Descriptor() ([]byte, []int)

Deprecated: Use SchemaPartialWriteRequest.ProtoReflect.Descriptor instead.

func (*SchemaPartialWriteRequest) EqualMessageVT added in v1.4.5

func (this *SchemaPartialWriteRequest) EqualMessageVT(thatMsg proto.Message) bool

func (*SchemaPartialWriteRequest) EqualVT added in v1.4.5

func (*SchemaPartialWriteRequest) GetMetadata added in v0.7.9

func (*SchemaPartialWriteRequest) GetPartials added in v0.7.9

func (x *SchemaPartialWriteRequest) GetPartials() map[string]*Partials

func (*SchemaPartialWriteRequest) GetTenantId added in v0.7.9

func (x *SchemaPartialWriteRequest) GetTenantId() string

func (*SchemaPartialWriteRequest) MarshalToSizedBufferVT added in v1.4.5

func (m *SchemaPartialWriteRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*SchemaPartialWriteRequest) MarshalToVT added in v1.4.5

func (m *SchemaPartialWriteRequest) MarshalToVT(dAtA []byte) (int, error)

func (*SchemaPartialWriteRequest) MarshalVT added in v1.4.5

func (m *SchemaPartialWriteRequest) MarshalVT() (dAtA []byte, err error)

func (*SchemaPartialWriteRequest) ProtoMessage added in v0.7.9

func (*SchemaPartialWriteRequest) ProtoMessage()

func (*SchemaPartialWriteRequest) ProtoReflect added in v0.7.9

func (*SchemaPartialWriteRequest) Reset added in v0.7.9

func (x *SchemaPartialWriteRequest) Reset()

func (*SchemaPartialWriteRequest) SizeVT added in v1.4.5

func (m *SchemaPartialWriteRequest) SizeVT() (n int)

func (*SchemaPartialWriteRequest) String added in v0.7.9

func (x *SchemaPartialWriteRequest) String() string

func (*SchemaPartialWriteRequest) UnmarshalVT added in v1.4.5

func (m *SchemaPartialWriteRequest) UnmarshalVT(dAtA []byte) error

type SchemaPartialWriteRequestMetadata added in v0.7.9

type SchemaPartialWriteRequestMetadata struct {

	// schema_version is the string that identifies the version of the schema to be read.
	SchemaVersion string `protobuf:"bytes,1,opt,name=schema_version,proto3" json:"schema_version,omitempty"`
	// contains filtered or unexported fields
}

SchemaPartialWriteRequestMetadata provides additional information for the Schema Partial Write request. It contains schema_version to specify which version of the schema should be read.

func (*SchemaPartialWriteRequestMetadata) CloneMessageVT added in v1.4.5

func (m *SchemaPartialWriteRequestMetadata) CloneMessageVT() proto.Message

func (*SchemaPartialWriteRequestMetadata) CloneVT added in v1.4.5

func (*SchemaPartialWriteRequestMetadata) Descriptor deprecated added in v0.7.9

func (*SchemaPartialWriteRequestMetadata) Descriptor() ([]byte, []int)

Deprecated: Use SchemaPartialWriteRequestMetadata.ProtoReflect.Descriptor instead.

func (*SchemaPartialWriteRequestMetadata) EqualMessageVT added in v1.4.5

func (this *SchemaPartialWriteRequestMetadata) EqualMessageVT(thatMsg proto.Message) bool

func (*SchemaPartialWriteRequestMetadata) EqualVT added in v1.4.5

func (*SchemaPartialWriteRequestMetadata) GetSchemaVersion added in v0.7.9

func (x *SchemaPartialWriteRequestMetadata) GetSchemaVersion() string

func (*SchemaPartialWriteRequestMetadata) MarshalToSizedBufferVT added in v1.4.5

func (m *SchemaPartialWriteRequestMetadata) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*SchemaPartialWriteRequestMetadata) MarshalToVT added in v1.4.5

func (m *SchemaPartialWriteRequestMetadata) MarshalToVT(dAtA []byte) (int, error)

func (*SchemaPartialWriteRequestMetadata) MarshalVT added in v1.4.5

func (m *SchemaPartialWriteRequestMetadata) MarshalVT() (dAtA []byte, err error)

func (*SchemaPartialWriteRequestMetadata) ProtoMessage added in v0.7.9

func (*SchemaPartialWriteRequestMetadata) ProtoMessage()

func (*SchemaPartialWriteRequestMetadata) ProtoReflect added in v0.7.9

func (*SchemaPartialWriteRequestMetadata) Reset added in v0.7.9

func (*SchemaPartialWriteRequestMetadata) SizeVT added in v1.4.5

func (m *SchemaPartialWriteRequestMetadata) SizeVT() (n int)

func (*SchemaPartialWriteRequestMetadata) String added in v0.7.9

func (*SchemaPartialWriteRequestMetadata) UnmarshalVT added in v1.4.5

func (m *SchemaPartialWriteRequestMetadata) UnmarshalVT(dAtA []byte) error

type SchemaPartialWriteResponse added in v0.7.9

type SchemaPartialWriteResponse struct {

	// schema_version is the string that identifies the version of the written schema.
	SchemaVersion string `protobuf:"bytes,1,opt,name=schema_version,proto3" json:"schema_version,omitempty"`
	// contains filtered or unexported fields
}

SchemaPartialWriteResponse is the response message for the Parietal Write method in the Schema service. It returns the requested schema.

func (*SchemaPartialWriteResponse) CloneMessageVT added in v1.4.5

func (m *SchemaPartialWriteResponse) CloneMessageVT() proto.Message

func (*SchemaPartialWriteResponse) CloneVT added in v1.4.5

func (*SchemaPartialWriteResponse) Descriptor deprecated added in v0.7.9

func (*SchemaPartialWriteResponse) Descriptor() ([]byte, []int)

Deprecated: Use SchemaPartialWriteResponse.ProtoReflect.Descriptor instead.

func (*SchemaPartialWriteResponse) EqualMessageVT added in v1.4.5

func (this *SchemaPartialWriteResponse) EqualMessageVT(thatMsg proto.Message) bool

func (*SchemaPartialWriteResponse) EqualVT added in v1.4.5

func (*SchemaPartialWriteResponse) GetSchemaVersion added in v0.7.9

func (x *SchemaPartialWriteResponse) GetSchemaVersion() string

func (*SchemaPartialWriteResponse) MarshalToSizedBufferVT added in v1.4.5

func (m *SchemaPartialWriteResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*SchemaPartialWriteResponse) MarshalToVT added in v1.4.5

func (m *SchemaPartialWriteResponse) MarshalToVT(dAtA []byte) (int, error)

func (*SchemaPartialWriteResponse) MarshalVT added in v1.4.5

func (m *SchemaPartialWriteResponse) MarshalVT() (dAtA []byte, err error)

func (*SchemaPartialWriteResponse) ProtoMessage added in v0.7.9

func (*SchemaPartialWriteResponse) ProtoMessage()

func (*SchemaPartialWriteResponse) ProtoReflect added in v0.7.9

func (*SchemaPartialWriteResponse) Reset added in v0.7.9

func (x *SchemaPartialWriteResponse) Reset()

func (*SchemaPartialWriteResponse) SizeVT added in v1.4.5

func (m *SchemaPartialWriteResponse) SizeVT() (n int)

func (*SchemaPartialWriteResponse) String added in v0.7.9

func (x *SchemaPartialWriteResponse) String() string

func (*SchemaPartialWriteResponse) UnmarshalVT added in v1.4.5

func (m *SchemaPartialWriteResponse) UnmarshalVT(dAtA []byte) error

type SchemaReadRequest

type SchemaReadRequest struct {

	// tenant_id is a string that identifies the tenant. It must match the pattern "[a-zA-Z0-9-,]+",
	// be a maximum of 64 bytes, and must not be empty.
	TenantId string `protobuf:"bytes,1,opt,name=tenant_id,proto3" json:"tenant_id,omitempty"`
	// metadata is the additional information needed for the Read request.
	Metadata *SchemaReadRequestMetadata `protobuf:"bytes,2,opt,name=metadata,proto3" json:"metadata,omitempty"`
	// contains filtered or unexported fields
}

SchemaReadRequest is the request message for the Read method in the Schema service. It contains tenant_id and metadata about the schema to be read.

func (*SchemaReadRequest) CloneMessageVT added in v1.4.5

func (m *SchemaReadRequest) CloneMessageVT() proto.Message

func (*SchemaReadRequest) CloneVT added in v1.4.5

func (m *SchemaReadRequest) CloneVT() *SchemaReadRequest

func (*SchemaReadRequest) Descriptor deprecated

func (*SchemaReadRequest) Descriptor() ([]byte, []int)

Deprecated: Use SchemaReadRequest.ProtoReflect.Descriptor instead.

func (*SchemaReadRequest) EqualMessageVT added in v1.4.5

func (this *SchemaReadRequest) EqualMessageVT(thatMsg proto.Message) bool

func (*SchemaReadRequest) EqualVT added in v1.4.5

func (this *SchemaReadRequest) EqualVT(that *SchemaReadRequest) bool

func (*SchemaReadRequest) GetMetadata added in v0.2.0

func (x *SchemaReadRequest) GetMetadata() *SchemaReadRequestMetadata

func (*SchemaReadRequest) GetTenantId added in v0.3.0

func (x *SchemaReadRequest) GetTenantId() string

func (*SchemaReadRequest) MarshalToSizedBufferVT added in v1.4.5

func (m *SchemaReadRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*SchemaReadRequest) MarshalToVT added in v1.4.5

func (m *SchemaReadRequest) MarshalToVT(dAtA []byte) (int, error)

func (*SchemaReadRequest) MarshalVT added in v1.4.5

func (m *SchemaReadRequest) MarshalVT() (dAtA []byte, err error)

func (*SchemaReadRequest) ProtoMessage

func (*SchemaReadRequest) ProtoMessage()

func (*SchemaReadRequest) ProtoReflect

func (x *SchemaReadRequest) ProtoReflect() protoreflect.Message

func (*SchemaReadRequest) Reset

func (x *SchemaReadRequest) Reset()

func (*SchemaReadRequest) SizeVT added in v1.4.5

func (m *SchemaReadRequest) SizeVT() (n int)

func (*SchemaReadRequest) String

func (x *SchemaReadRequest) String() string

func (*SchemaReadRequest) UnmarshalVT added in v1.4.5

func (m *SchemaReadRequest) UnmarshalVT(dAtA []byte) error

type SchemaReadRequestMetadata added in v0.2.0

type SchemaReadRequestMetadata struct {

	// schema_version is the string that identifies the version of the schema to be read.
	SchemaVersion string `protobuf:"bytes,1,opt,name=schema_version,proto3" json:"schema_version,omitempty"`
	// contains filtered or unexported fields
}

SchemaReadRequestMetadata provides additional information for the Schema Read request. It contains schema_version to specify which version of the schema should be read.

func (*SchemaReadRequestMetadata) CloneMessageVT added in v1.4.5

func (m *SchemaReadRequestMetadata) CloneMessageVT() proto.Message

func (*SchemaReadRequestMetadata) CloneVT added in v1.4.5

func (*SchemaReadRequestMetadata) Descriptor deprecated added in v0.2.0

func (*SchemaReadRequestMetadata) Descriptor() ([]byte, []int)

Deprecated: Use SchemaReadRequestMetadata.ProtoReflect.Descriptor instead.

func (*SchemaReadRequestMetadata) EqualMessageVT added in v1.4.5

func (this *SchemaReadRequestMetadata) EqualMessageVT(thatMsg proto.Message) bool

func (*SchemaReadRequestMetadata) EqualVT added in v1.4.5

func (*SchemaReadRequestMetadata) GetSchemaVersion added in v0.2.0

func (x *SchemaReadRequestMetadata) GetSchemaVersion() string

func (*SchemaReadRequestMetadata) MarshalToSizedBufferVT added in v1.4.5

func (m *SchemaReadRequestMetadata) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*SchemaReadRequestMetadata) MarshalToVT added in v1.4.5

func (m *SchemaReadRequestMetadata) MarshalToVT(dAtA []byte) (int, error)

func (*SchemaReadRequestMetadata) MarshalVT added in v1.4.5

func (m *SchemaReadRequestMetadata) MarshalVT() (dAtA []byte, err error)

func (*SchemaReadRequestMetadata) ProtoMessage added in v0.2.0

func (*SchemaReadRequestMetadata) ProtoMessage()

func (*SchemaReadRequestMetadata) ProtoReflect added in v0.2.0

func (*SchemaReadRequestMetadata) Reset added in v0.2.0

func (x *SchemaReadRequestMetadata) Reset()

func (*SchemaReadRequestMetadata) SizeVT added in v1.4.5

func (m *SchemaReadRequestMetadata) SizeVT() (n int)

func (*SchemaReadRequestMetadata) String added in v0.2.0

func (x *SchemaReadRequestMetadata) String() string

func (*SchemaReadRequestMetadata) UnmarshalVT added in v1.4.5

func (m *SchemaReadRequestMetadata) UnmarshalVT(dAtA []byte) error

type SchemaReadResponse

type SchemaReadResponse struct {

	// schema is the SchemaDefinition that represents the read schema.
	Schema *SchemaDefinition `protobuf:"bytes,1,opt,name=schema,proto3" json:"schema,omitempty"`
	// contains filtered or unexported fields
}

SchemaReadResponse is the response message for the Read method in the Schema service. It returns the requested schema.

func (*SchemaReadResponse) CloneMessageVT added in v1.4.5

func (m *SchemaReadResponse) CloneMessageVT() proto.Message

func (*SchemaReadResponse) CloneVT added in v1.4.5

func (m *SchemaReadResponse) CloneVT() *SchemaReadResponse

func (*SchemaReadResponse) Descriptor deprecated

func (*SchemaReadResponse) Descriptor() ([]byte, []int)

Deprecated: Use SchemaReadResponse.ProtoReflect.Descriptor instead.

func (*SchemaReadResponse) EqualMessageVT added in v1.4.5

func (this *SchemaReadResponse) EqualMessageVT(thatMsg proto.Message) bool

func (*SchemaReadResponse) EqualVT added in v1.4.5

func (this *SchemaReadResponse) EqualVT(that *SchemaReadResponse) bool

func (*SchemaReadResponse) GetSchema

func (x *SchemaReadResponse) GetSchema() *SchemaDefinition

func (*SchemaReadResponse) MarshalToSizedBufferVT added in v1.4.5

func (m *SchemaReadResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*SchemaReadResponse) MarshalToVT added in v1.4.5

func (m *SchemaReadResponse) MarshalToVT(dAtA []byte) (int, error)

func (*SchemaReadResponse) MarshalVT added in v1.4.5

func (m *SchemaReadResponse) MarshalVT() (dAtA []byte, err error)

func (*SchemaReadResponse) ProtoMessage

func (*SchemaReadResponse) ProtoMessage()

func (*SchemaReadResponse) ProtoReflect

func (x *SchemaReadResponse) ProtoReflect() protoreflect.Message

func (*SchemaReadResponse) Reset

func (x *SchemaReadResponse) Reset()

func (*SchemaReadResponse) SizeVT added in v1.4.5

func (m *SchemaReadResponse) SizeVT() (n int)

func (*SchemaReadResponse) String

func (x *SchemaReadResponse) String() string

func (*SchemaReadResponse) UnmarshalVT added in v1.4.5

func (m *SchemaReadResponse) UnmarshalVT(dAtA []byte) error

type SchemaServer

type SchemaServer interface {
	// Write is an RPC that allows you to write your authorization model.
	Write(context.Context, *SchemaWriteRequest) (*SchemaWriteResponse, error)
	// PartialWrite is an RPC that allows you to partially update an existing authorization model.
	PartialWrite(context.Context, *SchemaPartialWriteRequest) (*SchemaPartialWriteResponse, error)
	// Read is an RPC that allows you to read your authorization model.
	Read(context.Context, *SchemaReadRequest) (*SchemaReadResponse, error)
	// List is an RPC that allows you to list all authorization models.
	List(context.Context, *SchemaListRequest) (*SchemaListResponse, error)
	// contains filtered or unexported methods
}

SchemaServer is the server API for Schema service. All implementations must embed UnimplementedSchemaServer for forward compatibility.

The Schema service definition.

type SchemaWriteRequest

type SchemaWriteRequest struct {

	// tenant_id is a string that identifies the tenant. It must match the pattern "[a-zA-Z0-9-,]+",
	// be a maximum of 64 bytes, and must not be empty.
	TenantId string `protobuf:"bytes,1,opt,name=tenant_id,proto3" json:"tenant_id,omitempty"`
	// schema is the string representation of the schema to be written.
	Schema string `protobuf:"bytes,2,opt,name=schema,proto3" json:"schema,omitempty"`
	// contains filtered or unexported fields
}

SchemaWriteRequest is the request message for the Write method in the Schema service. It contains tenant_id and the schema to be written.

func (*SchemaWriteRequest) CloneMessageVT added in v1.4.5

func (m *SchemaWriteRequest) CloneMessageVT() proto.Message

func (*SchemaWriteRequest) CloneVT added in v1.4.5

func (m *SchemaWriteRequest) CloneVT() *SchemaWriteRequest

func (*SchemaWriteRequest) Descriptor deprecated

func (*SchemaWriteRequest) Descriptor() ([]byte, []int)

Deprecated: Use SchemaWriteRequest.ProtoReflect.Descriptor instead.

func (*SchemaWriteRequest) EqualMessageVT added in v1.4.5

func (this *SchemaWriteRequest) EqualMessageVT(thatMsg proto.Message) bool

func (*SchemaWriteRequest) EqualVT added in v1.4.5

func (this *SchemaWriteRequest) EqualVT(that *SchemaWriteRequest) bool

func (*SchemaWriteRequest) GetSchema

func (x *SchemaWriteRequest) GetSchema() string

func (*SchemaWriteRequest) GetTenantId added in v0.3.0

func (x *SchemaWriteRequest) GetTenantId() string

func (*SchemaWriteRequest) MarshalToSizedBufferVT added in v1.4.5

func (m *SchemaWriteRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*SchemaWriteRequest) MarshalToVT added in v1.4.5

func (m *SchemaWriteRequest) MarshalToVT(dAtA []byte) (int, error)

func (*SchemaWriteRequest) MarshalVT added in v1.4.5

func (m *SchemaWriteRequest) MarshalVT() (dAtA []byte, err error)

func (*SchemaWriteRequest) ProtoMessage

func (*SchemaWriteRequest) ProtoMessage()

func (*SchemaWriteRequest) ProtoReflect

func (x *SchemaWriteRequest) ProtoReflect() protoreflect.Message

func (*SchemaWriteRequest) Reset

func (x *SchemaWriteRequest) Reset()

func (*SchemaWriteRequest) SizeVT added in v1.4.5

func (m *SchemaWriteRequest) SizeVT() (n int)

func (*SchemaWriteRequest) String

func (x *SchemaWriteRequest) String() string

func (*SchemaWriteRequest) UnmarshalVT added in v1.4.5

func (m *SchemaWriteRequest) UnmarshalVT(dAtA []byte) error

type SchemaWriteResponse

type SchemaWriteResponse struct {

	// schema_version is the string that identifies the version of the written schema.
	SchemaVersion string `protobuf:"bytes,1,opt,name=schema_version,proto3" json:"schema_version,omitempty"`
	// contains filtered or unexported fields
}

SchemaWriteResponse is the response message for the Write method in the Schema service. It returns the version of the written schema.

func (*SchemaWriteResponse) CloneMessageVT added in v1.4.5

func (m *SchemaWriteResponse) CloneMessageVT() proto.Message

func (*SchemaWriteResponse) CloneVT added in v1.4.5

func (*SchemaWriteResponse) Descriptor deprecated

func (*SchemaWriteResponse) Descriptor() ([]byte, []int)

Deprecated: Use SchemaWriteResponse.ProtoReflect.Descriptor instead.

func (*SchemaWriteResponse) EqualMessageVT added in v1.4.5

func (this *SchemaWriteResponse) EqualMessageVT(thatMsg proto.Message) bool

func (*SchemaWriteResponse) EqualVT added in v1.4.5

func (this *SchemaWriteResponse) EqualVT(that *SchemaWriteResponse) bool

func (*SchemaWriteResponse) GetSchemaVersion

func (x *SchemaWriteResponse) GetSchemaVersion() string

func (*SchemaWriteResponse) MarshalToSizedBufferVT added in v1.4.5

func (m *SchemaWriteResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*SchemaWriteResponse) MarshalToVT added in v1.4.5

func (m *SchemaWriteResponse) MarshalToVT(dAtA []byte) (int, error)

func (*SchemaWriteResponse) MarshalVT added in v1.4.5

func (m *SchemaWriteResponse) MarshalVT() (dAtA []byte, err error)

func (*SchemaWriteResponse) ProtoMessage

func (*SchemaWriteResponse) ProtoMessage()

func (*SchemaWriteResponse) ProtoReflect

func (x *SchemaWriteResponse) ProtoReflect() protoreflect.Message

func (*SchemaWriteResponse) Reset

func (x *SchemaWriteResponse) Reset()

func (*SchemaWriteResponse) SizeVT added in v1.4.5

func (m *SchemaWriteResponse) SizeVT() (n int)

func (*SchemaWriteResponse) String

func (x *SchemaWriteResponse) String() string

func (*SchemaWriteResponse) UnmarshalVT added in v1.4.5

func (m *SchemaWriteResponse) UnmarshalVT(dAtA []byte) error

type StringArrayValue added in v0.5.1

type StringArrayValue struct {
	Data []string `protobuf:"bytes,1,rep,name=data,proto3" json:"data,omitempty"` // The array of strings.
	// contains filtered or unexported fields
}

Wrapper for an array of strings.

func (*StringArrayValue) CloneMessageVT added in v1.4.5

func (m *StringArrayValue) CloneMessageVT() proto.Message

func (*StringArrayValue) CloneVT added in v1.4.5

func (m *StringArrayValue) CloneVT() *StringArrayValue

func (*StringArrayValue) Descriptor deprecated added in v0.5.1

func (*StringArrayValue) Descriptor() ([]byte, []int)

Deprecated: Use StringArrayValue.ProtoReflect.Descriptor instead.

func (*StringArrayValue) EqualMessageVT added in v1.4.5

func (this *StringArrayValue) EqualMessageVT(thatMsg proto.Message) bool

func (*StringArrayValue) EqualVT added in v1.4.5

func (this *StringArrayValue) EqualVT(that *StringArrayValue) bool

func (*StringArrayValue) GetData added in v0.5.1

func (x *StringArrayValue) GetData() []string

func (*StringArrayValue) MarshalToSizedBufferVT added in v1.4.5

func (m *StringArrayValue) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*StringArrayValue) MarshalToVT added in v1.4.5

func (m *StringArrayValue) MarshalToVT(dAtA []byte) (int, error)

func (*StringArrayValue) MarshalVT added in v1.4.5

func (m *StringArrayValue) MarshalVT() (dAtA []byte, err error)

func (*StringArrayValue) ProtoMessage added in v0.5.1

func (*StringArrayValue) ProtoMessage()

func (*StringArrayValue) ProtoReflect added in v0.5.1

func (x *StringArrayValue) ProtoReflect() protoreflect.Message

func (*StringArrayValue) Reset added in v0.5.1

func (x *StringArrayValue) Reset()

func (*StringArrayValue) SizeVT added in v1.4.5

func (m *StringArrayValue) SizeVT() (n int)

func (*StringArrayValue) String added in v0.5.1

func (x *StringArrayValue) String() string

func (*StringArrayValue) UnmarshalVT added in v1.4.5

func (m *StringArrayValue) UnmarshalVT(dAtA []byte) error

type StringValue added in v0.5.1

type StringValue struct {
	Data string `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"` // The string value.
	// contains filtered or unexported fields
}

Wrapper for a single string value.

func (*StringValue) CloneMessageVT added in v1.4.5

func (m *StringValue) CloneMessageVT() proto.Message

func (*StringValue) CloneVT added in v1.4.5

func (m *StringValue) CloneVT() *StringValue

func (*StringValue) Descriptor deprecated added in v0.5.1

func (*StringValue) Descriptor() ([]byte, []int)

Deprecated: Use StringValue.ProtoReflect.Descriptor instead.

func (*StringValue) EqualMessageVT added in v1.4.5

func (this *StringValue) EqualMessageVT(thatMsg proto.Message) bool

func (*StringValue) EqualVT added in v1.4.5

func (this *StringValue) EqualVT(that *StringValue) bool

func (*StringValue) GetData added in v0.5.1

func (x *StringValue) GetData() string

func (*StringValue) MarshalToSizedBufferVT added in v1.4.5

func (m *StringValue) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*StringValue) MarshalToVT added in v1.4.5

func (m *StringValue) MarshalToVT(dAtA []byte) (int, error)

func (*StringValue) MarshalVT added in v1.4.5

func (m *StringValue) MarshalVT() (dAtA []byte, err error)

func (*StringValue) ProtoMessage added in v0.5.1

func (*StringValue) ProtoMessage()

func (*StringValue) ProtoReflect added in v0.5.1

func (x *StringValue) ProtoReflect() protoreflect.Message

func (*StringValue) Reset added in v0.5.1

func (x *StringValue) Reset()

func (*StringValue) SizeVT added in v1.4.5

func (m *StringValue) SizeVT() (n int)

func (*StringValue) String added in v0.5.1

func (x *StringValue) String() string

func (*StringValue) UnmarshalVT added in v1.4.5

func (m *StringValue) UnmarshalVT(dAtA []byte) error

type Subject

type Subject 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"`
	Relation string `protobuf:"bytes,3,opt,name=relation,proto3" json:"relation,omitempty"`
	// contains filtered or unexported fields
}

Subject represents an entity subject with a type, an identifier, and a relation.

func (*Subject) CloneMessageVT added in v1.4.5

func (m *Subject) CloneMessageVT() proto.Message

func (*Subject) CloneVT added in v1.4.5

func (m *Subject) CloneVT() *Subject

func (*Subject) Descriptor deprecated

func (*Subject) Descriptor() ([]byte, []int)

Deprecated: Use Subject.ProtoReflect.Descriptor instead.

func (*Subject) EqualMessageVT added in v1.4.5

func (this *Subject) EqualMessageVT(thatMsg proto.Message) bool

func (*Subject) EqualVT added in v1.4.5

func (this *Subject) EqualVT(that *Subject) bool

func (*Subject) GetId

func (x *Subject) GetId() string

func (*Subject) GetRelation

func (x *Subject) GetRelation() string

func (*Subject) GetType

func (x *Subject) GetType() string

func (*Subject) MarshalToSizedBufferVT added in v1.4.5

func (m *Subject) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*Subject) MarshalToVT added in v1.4.5

func (m *Subject) MarshalToVT(dAtA []byte) (int, error)

func (*Subject) MarshalVT added in v1.4.5

func (m *Subject) MarshalVT() (dAtA []byte, err error)

func (*Subject) ProtoMessage

func (*Subject) ProtoMessage()

func (*Subject) ProtoReflect

func (x *Subject) ProtoReflect() protoreflect.Message

func (*Subject) Reset

func (x *Subject) Reset()

func (*Subject) SizeVT added in v1.4.5

func (m *Subject) SizeVT() (n int)

func (*Subject) String

func (x *Subject) String() string

func (*Subject) UnmarshalVT added in v1.4.5

func (m *Subject) UnmarshalVT(dAtA []byte) error

type SubjectFilter

type SubjectFilter struct {
	Type     string   `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"` // Type of the subject
	Ids      []string `protobuf:"bytes,2,rep,name=ids,proto3" json:"ids,omitempty"`   // List of subject IDs
	Relation string   `protobuf:"bytes,3,opt,name=relation,proto3" json:"relation,omitempty"`
	// contains filtered or unexported fields
}

SubjectFilter is used to filter subjects based on the type, ids and relation.

func (*SubjectFilter) CloneMessageVT added in v1.4.5

func (m *SubjectFilter) CloneMessageVT() proto.Message

func (*SubjectFilter) CloneVT added in v1.4.5

func (m *SubjectFilter) CloneVT() *SubjectFilter

func (*SubjectFilter) Descriptor deprecated

func (*SubjectFilter) Descriptor() ([]byte, []int)

Deprecated: Use SubjectFilter.ProtoReflect.Descriptor instead.

func (*SubjectFilter) EqualMessageVT added in v1.4.5

func (this *SubjectFilter) EqualMessageVT(thatMsg proto.Message) bool

func (*SubjectFilter) EqualVT added in v1.4.5

func (this *SubjectFilter) EqualVT(that *SubjectFilter) bool

func (*SubjectFilter) GetIds

func (x *SubjectFilter) GetIds() []string

func (*SubjectFilter) GetRelation

func (x *SubjectFilter) GetRelation() string

func (*SubjectFilter) GetType

func (x *SubjectFilter) GetType() string

func (*SubjectFilter) MarshalToSizedBufferVT added in v1.4.5

func (m *SubjectFilter) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*SubjectFilter) MarshalToVT added in v1.4.5

func (m *SubjectFilter) MarshalToVT(dAtA []byte) (int, error)

func (*SubjectFilter) MarshalVT added in v1.4.5

func (m *SubjectFilter) MarshalVT() (dAtA []byte, err error)

func (*SubjectFilter) ProtoMessage

func (*SubjectFilter) ProtoMessage()

func (*SubjectFilter) ProtoReflect

func (x *SubjectFilter) ProtoReflect() protoreflect.Message

func (*SubjectFilter) Reset

func (x *SubjectFilter) Reset()

func (*SubjectFilter) SizeVT added in v1.4.5

func (m *SubjectFilter) SizeVT() (n int)

func (*SubjectFilter) String

func (x *SubjectFilter) String() string

func (*SubjectFilter) UnmarshalVT added in v1.4.5

func (m *SubjectFilter) UnmarshalVT(dAtA []byte) error

type Subjects added in v0.4.1

type Subjects struct {
	Subjects []*Subject `protobuf:"bytes,1,rep,name=subjects,proto3" json:"subjects,omitempty"` // A list of subjects.
	// contains filtered or unexported fields
}

Subjects holds a repeated field of Subject type.

func (*Subjects) CloneMessageVT added in v1.4.5

func (m *Subjects) CloneMessageVT() proto.Message

func (*Subjects) CloneVT added in v1.4.5

func (m *Subjects) CloneVT() *Subjects

func (*Subjects) Descriptor deprecated added in v0.4.1

func (*Subjects) Descriptor() ([]byte, []int)

Deprecated: Use Subjects.ProtoReflect.Descriptor instead.

func (*Subjects) EqualMessageVT added in v1.4.5

func (this *Subjects) EqualMessageVT(thatMsg proto.Message) bool

func (*Subjects) EqualVT added in v1.4.5

func (this *Subjects) EqualVT(that *Subjects) bool

func (*Subjects) GetSubjects added in v0.4.1

func (x *Subjects) GetSubjects() []*Subject

func (*Subjects) MarshalToSizedBufferVT added in v1.4.5

func (m *Subjects) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*Subjects) MarshalToVT added in v1.4.5

func (m *Subjects) MarshalToVT(dAtA []byte) (int, error)

func (*Subjects) MarshalVT added in v1.4.5

func (m *Subjects) MarshalVT() (dAtA []byte, err error)

func (*Subjects) ProtoMessage added in v0.4.1

func (*Subjects) ProtoMessage()

func (*Subjects) ProtoReflect added in v0.4.1

func (x *Subjects) ProtoReflect() protoreflect.Message

func (*Subjects) Reset added in v0.4.1

func (x *Subjects) Reset()

func (*Subjects) SizeVT added in v1.4.5

func (m *Subjects) SizeVT() (n int)

func (*Subjects) String added in v0.4.1

func (x *Subjects) String() string

func (*Subjects) UnmarshalVT added in v1.4.5

func (m *Subjects) UnmarshalVT(dAtA []byte) error

type TenancyClient added in v0.3.0

type TenancyClient interface {
	// Create is a unary RPC to create a new tenant.
	// It requires a TenantCreateRequest and returns a TenantCreateResponse.
	// buf:lint:ignore RPC_REQUEST_STANDARD_NAME
	// buf:lint:ignore RPC_RESPONSE_STANDARD_NAME
	Create(ctx context.Context, in *TenantCreateRequest, opts ...grpc.CallOption) (*TenantCreateResponse, error)
	// Delete is a unary RPC to delete an existing tenant.
	// It requires a TenantDeleteRequest and returns a TenantDeleteResponse.
	// buf:lint:ignore RPC_REQUEST_STANDARD_NAME
	// buf:lint:ignore RPC_RESPONSE_STANDARD_NAME
	Delete(ctx context.Context, in *TenantDeleteRequest, opts ...grpc.CallOption) (*TenantDeleteResponse, error)
	// List is a unary RPC to get a list of all tenants.
	// It requires a TenantListRequest and returns a TenantListResponse.
	// buf:lint:ignore RPC_REQUEST_STANDARD_NAME
	// buf:lint:ignore RPC_RESPONSE_STANDARD_NAME
	List(ctx context.Context, in *TenantListRequest, opts ...grpc.CallOption) (*TenantListResponse, error)
}

TenancyClient is the client API for Tenancy 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 NewTenancyClient added in v0.3.0

func NewTenancyClient(cc grpc.ClientConnInterface) TenancyClient

type TenancyServer added in v0.3.0

type TenancyServer interface {
	// Create is a unary RPC to create a new tenant.
	// It requires a TenantCreateRequest and returns a TenantCreateResponse.
	// buf:lint:ignore RPC_REQUEST_STANDARD_NAME
	// buf:lint:ignore RPC_RESPONSE_STANDARD_NAME
	Create(context.Context, *TenantCreateRequest) (*TenantCreateResponse, error)
	// Delete is a unary RPC to delete an existing tenant.
	// It requires a TenantDeleteRequest and returns a TenantDeleteResponse.
	// buf:lint:ignore RPC_REQUEST_STANDARD_NAME
	// buf:lint:ignore RPC_RESPONSE_STANDARD_NAME
	Delete(context.Context, *TenantDeleteRequest) (*TenantDeleteResponse, error)
	// List is a unary RPC to get a list of all tenants.
	// It requires a TenantListRequest and returns a TenantListResponse.
	// buf:lint:ignore RPC_REQUEST_STANDARD_NAME
	// buf:lint:ignore RPC_RESPONSE_STANDARD_NAME
	List(context.Context, *TenantListRequest) (*TenantListResponse, error)
	// contains filtered or unexported methods
}

TenancyServer is the server API for Tenancy service. All implementations must embed UnimplementedTenancyServer for forward compatibility.

type Tenant added in v0.3.0

type Tenant struct {
	Id        string                 `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`                 // The ID of the tenant.
	Name      string                 `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`             // The name of the tenant.
	CreatedAt *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=created_at,proto3" json:"created_at,omitempty"` // The time at which the tenant was created.
	// contains filtered or unexported fields
}

Tenant represents a tenant with an id, a name, and a timestamp indicating when it was created.

func (*Tenant) CloneMessageVT added in v1.4.5

func (m *Tenant) CloneMessageVT() proto.Message

func (*Tenant) CloneVT added in v1.4.5

func (m *Tenant) CloneVT() *Tenant

func (*Tenant) Descriptor deprecated added in v0.3.0

func (*Tenant) Descriptor() ([]byte, []int)

Deprecated: Use Tenant.ProtoReflect.Descriptor instead.

func (*Tenant) EqualMessageVT added in v1.4.5

func (this *Tenant) EqualMessageVT(thatMsg proto.Message) bool

func (*Tenant) EqualVT added in v1.4.5

func (this *Tenant) EqualVT(that *Tenant) bool

func (*Tenant) GetCreatedAt added in v0.3.0

func (x *Tenant) GetCreatedAt() *timestamppb.Timestamp

func (*Tenant) GetId added in v0.3.0

func (x *Tenant) GetId() string

func (*Tenant) GetName added in v0.3.0

func (x *Tenant) GetName() string

func (*Tenant) MarshalToSizedBufferVT added in v1.4.5

func (m *Tenant) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*Tenant) MarshalToVT added in v1.4.5

func (m *Tenant) MarshalToVT(dAtA []byte) (int, error)

func (*Tenant) MarshalVT added in v1.4.5

func (m *Tenant) MarshalVT() (dAtA []byte, err error)

func (*Tenant) ProtoMessage added in v0.3.0

func (*Tenant) ProtoMessage()

func (*Tenant) ProtoReflect added in v0.3.0

func (x *Tenant) ProtoReflect() protoreflect.Message

func (*Tenant) Reset added in v0.3.0

func (x *Tenant) Reset()

func (*Tenant) SizeVT added in v1.4.5

func (m *Tenant) SizeVT() (n int)

func (*Tenant) String added in v0.3.0

func (x *Tenant) String() string

func (*Tenant) UnmarshalVT added in v1.4.5

func (m *Tenant) UnmarshalVT(dAtA []byte) error

type TenantCreateRequest added in v0.3.0

type TenantCreateRequest struct {

	// id is a unique identifier for the tenant.
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// name is the name of the tenant.
	Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

TenantCreateRequest is the message used for the request to create a tenant.

func (*TenantCreateRequest) CloneMessageVT added in v1.4.5

func (m *TenantCreateRequest) CloneMessageVT() proto.Message

func (*TenantCreateRequest) CloneVT added in v1.4.5

func (*TenantCreateRequest) Descriptor deprecated added in v0.3.0

func (*TenantCreateRequest) Descriptor() ([]byte, []int)

Deprecated: Use TenantCreateRequest.ProtoReflect.Descriptor instead.

func (*TenantCreateRequest) EqualMessageVT added in v1.4.5

func (this *TenantCreateRequest) EqualMessageVT(thatMsg proto.Message) bool

func (*TenantCreateRequest) EqualVT added in v1.4.5

func (this *TenantCreateRequest) EqualVT(that *TenantCreateRequest) bool

func (*TenantCreateRequest) GetId added in v0.3.0

func (x *TenantCreateRequest) GetId() string

func (*TenantCreateRequest) GetName added in v0.3.0

func (x *TenantCreateRequest) GetName() string

func (*TenantCreateRequest) MarshalToSizedBufferVT added in v1.4.5

func (m *TenantCreateRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*TenantCreateRequest) MarshalToVT added in v1.4.5

func (m *TenantCreateRequest) MarshalToVT(dAtA []byte) (int, error)

func (*TenantCreateRequest) MarshalVT added in v1.4.5

func (m *TenantCreateRequest) MarshalVT() (dAtA []byte, err error)

func (*TenantCreateRequest) ProtoMessage added in v0.3.0

func (*TenantCreateRequest) ProtoMessage()

func (*TenantCreateRequest) ProtoReflect added in v0.3.0

func (x *TenantCreateRequest) ProtoReflect() protoreflect.Message

func (*TenantCreateRequest) Reset added in v0.3.0

func (x *TenantCreateRequest) Reset()

func (*TenantCreateRequest) SizeVT added in v1.4.5

func (m *TenantCreateRequest) SizeVT() (n int)

func (*TenantCreateRequest) String added in v0.3.0

func (x *TenantCreateRequest) String() string

func (*TenantCreateRequest) UnmarshalVT added in v1.4.5

func (m *TenantCreateRequest) UnmarshalVT(dAtA []byte) error

type TenantCreateResponse added in v0.3.0

type TenantCreateResponse struct {

	// tenant is the created tenant information.
	Tenant *Tenant `protobuf:"bytes,1,opt,name=tenant,proto3" json:"tenant,omitempty"`
	// contains filtered or unexported fields
}

TenantCreateResponse is the message returned from the request to create a tenant.

func (*TenantCreateResponse) CloneMessageVT added in v1.4.5

func (m *TenantCreateResponse) CloneMessageVT() proto.Message

func (*TenantCreateResponse) CloneVT added in v1.4.5

func (*TenantCreateResponse) Descriptor deprecated added in v0.3.0

func (*TenantCreateResponse) Descriptor() ([]byte, []int)

Deprecated: Use TenantCreateResponse.ProtoReflect.Descriptor instead.

func (*TenantCreateResponse) EqualMessageVT added in v1.4.5

func (this *TenantCreateResponse) EqualMessageVT(thatMsg proto.Message) bool

func (*TenantCreateResponse) EqualVT added in v1.4.5

func (this *TenantCreateResponse) EqualVT(that *TenantCreateResponse) bool

func (*TenantCreateResponse) GetTenant added in v0.3.0

func (x *TenantCreateResponse) GetTenant() *Tenant

func (*TenantCreateResponse) MarshalToSizedBufferVT added in v1.4.5

func (m *TenantCreateResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*TenantCreateResponse) MarshalToVT added in v1.4.5

func (m *TenantCreateResponse) MarshalToVT(dAtA []byte) (int, error)

func (*TenantCreateResponse) MarshalVT added in v1.4.5

func (m *TenantCreateResponse) MarshalVT() (dAtA []byte, err error)

func (*TenantCreateResponse) ProtoMessage added in v0.3.0

func (*TenantCreateResponse) ProtoMessage()

func (*TenantCreateResponse) ProtoReflect added in v0.3.0

func (x *TenantCreateResponse) ProtoReflect() protoreflect.Message

func (*TenantCreateResponse) Reset added in v0.3.0

func (x *TenantCreateResponse) Reset()

func (*TenantCreateResponse) SizeVT added in v1.4.5

func (m *TenantCreateResponse) SizeVT() (n int)

func (*TenantCreateResponse) String added in v0.3.0

func (x *TenantCreateResponse) String() string

func (*TenantCreateResponse) UnmarshalVT added in v1.4.5

func (m *TenantCreateResponse) UnmarshalVT(dAtA []byte) error

type TenantDeleteRequest added in v0.3.0

type TenantDeleteRequest struct {

	// id is the unique identifier of the tenant to be deleted.
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

TenantDeleteRequest is the message used for the request to delete a tenant.

func (*TenantDeleteRequest) CloneMessageVT added in v1.4.5

func (m *TenantDeleteRequest) CloneMessageVT() proto.Message

func (*TenantDeleteRequest) CloneVT added in v1.4.5

func (*TenantDeleteRequest) Descriptor deprecated added in v0.3.0

func (*TenantDeleteRequest) Descriptor() ([]byte, []int)

Deprecated: Use TenantDeleteRequest.ProtoReflect.Descriptor instead.

func (*TenantDeleteRequest) EqualMessageVT added in v1.4.5

func (this *TenantDeleteRequest) EqualMessageVT(thatMsg proto.Message) bool

func (*TenantDeleteRequest) EqualVT added in v1.4.5

func (this *TenantDeleteRequest) EqualVT(that *TenantDeleteRequest) bool

func (*TenantDeleteRequest) GetId added in v0.3.0

func (x *TenantDeleteRequest) GetId() string

func (*TenantDeleteRequest) MarshalToSizedBufferVT added in v1.4.5

func (m *TenantDeleteRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*TenantDeleteRequest) MarshalToVT added in v1.4.5

func (m *TenantDeleteRequest) MarshalToVT(dAtA []byte) (int, error)

func (*TenantDeleteRequest) MarshalVT added in v1.4.5

func (m *TenantDeleteRequest) MarshalVT() (dAtA []byte, err error)

func (*TenantDeleteRequest) ProtoMessage added in v0.3.0

func (*TenantDeleteRequest) ProtoMessage()

func (*TenantDeleteRequest) ProtoReflect added in v0.3.0

func (x *TenantDeleteRequest) ProtoReflect() protoreflect.Message

func (*TenantDeleteRequest) Reset added in v0.3.0

func (x *TenantDeleteRequest) Reset()

func (*TenantDeleteRequest) SizeVT added in v1.4.5

func (m *TenantDeleteRequest) SizeVT() (n int)

func (*TenantDeleteRequest) String added in v0.3.0

func (x *TenantDeleteRequest) String() string

func (*TenantDeleteRequest) UnmarshalVT added in v1.4.5

func (m *TenantDeleteRequest) UnmarshalVT(dAtA []byte) error

type TenantDeleteResponse added in v0.3.0

type TenantDeleteResponse struct {

	// tenant_id is the tenant id that was deleted.
	TenantId string `protobuf:"bytes,1,opt,name=tenant_id,proto3" json:"tenant_id,omitempty"`
	// contains filtered or unexported fields
}

TenantDeleteResponse is the message returned from the request to delete a tenant.

func (*TenantDeleteResponse) CloneMessageVT added in v1.4.5

func (m *TenantDeleteResponse) CloneMessageVT() proto.Message

func (*TenantDeleteResponse) CloneVT added in v1.4.5

func (*TenantDeleteResponse) Descriptor deprecated added in v0.3.0

func (*TenantDeleteResponse) Descriptor() ([]byte, []int)

Deprecated: Use TenantDeleteResponse.ProtoReflect.Descriptor instead.

func (*TenantDeleteResponse) EqualMessageVT added in v1.4.5

func (this *TenantDeleteResponse) EqualMessageVT(thatMsg proto.Message) bool

func (*TenantDeleteResponse) EqualVT added in v1.4.5

func (this *TenantDeleteResponse) EqualVT(that *TenantDeleteResponse) bool

func (*TenantDeleteResponse) GetTenantId added in v1.4.4

func (x *TenantDeleteResponse) GetTenantId() string

func (*TenantDeleteResponse) MarshalToSizedBufferVT added in v1.4.5

func (m *TenantDeleteResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*TenantDeleteResponse) MarshalToVT added in v1.4.5

func (m *TenantDeleteResponse) MarshalToVT(dAtA []byte) (int, error)

func (*TenantDeleteResponse) MarshalVT added in v1.4.5

func (m *TenantDeleteResponse) MarshalVT() (dAtA []byte, err error)

func (*TenantDeleteResponse) ProtoMessage added in v0.3.0

func (*TenantDeleteResponse) ProtoMessage()

func (*TenantDeleteResponse) ProtoReflect added in v0.3.0

func (x *TenantDeleteResponse) ProtoReflect() protoreflect.Message

func (*TenantDeleteResponse) Reset added in v0.3.0

func (x *TenantDeleteResponse) Reset()

func (*TenantDeleteResponse) SizeVT added in v1.4.5

func (m *TenantDeleteResponse) SizeVT() (n int)

func (*TenantDeleteResponse) String added in v0.3.0

func (x *TenantDeleteResponse) String() string

func (*TenantDeleteResponse) UnmarshalVT added in v1.4.5

func (m *TenantDeleteResponse) UnmarshalVT(dAtA []byte) error

type TenantListRequest added in v0.3.0

type TenantListRequest struct {

	// page_size is the number of tenants to be returned in the response.
	// The value should be between 1 and 100.
	PageSize uint32 `protobuf:"varint,1,opt,name=page_size,proto3" json:"page_size,omitempty"`
	// continuous_token is an optional parameter used for pagination.
	// It should be the value received in the previous response.
	ContinuousToken string `protobuf:"bytes,2,opt,name=continuous_token,proto3" json:"continuous_token,omitempty"`
	// contains filtered or unexported fields
}

TenantListRequest is the message used for the request to list all tenants.

func (*TenantListRequest) CloneMessageVT added in v1.4.5

func (m *TenantListRequest) CloneMessageVT() proto.Message

func (*TenantListRequest) CloneVT added in v1.4.5

func (m *TenantListRequest) CloneVT() *TenantListRequest

func (*TenantListRequest) Descriptor deprecated added in v0.3.0

func (*TenantListRequest) Descriptor() ([]byte, []int)

Deprecated: Use TenantListRequest.ProtoReflect.Descriptor instead.

func (*TenantListRequest) EqualMessageVT added in v1.4.5

func (this *TenantListRequest) EqualMessageVT(thatMsg proto.Message) bool

func (*TenantListRequest) EqualVT added in v1.4.5

func (this *TenantListRequest) EqualVT(that *TenantListRequest) bool

func (*TenantListRequest) GetContinuousToken added in v0.3.0

func (x *TenantListRequest) GetContinuousToken() string

func (*TenantListRequest) GetPageSize added in v0.3.0

func (x *TenantListRequest) GetPageSize() uint32

func (*TenantListRequest) MarshalToSizedBufferVT added in v1.4.5

func (m *TenantListRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*TenantListRequest) MarshalToVT added in v1.4.5

func (m *TenantListRequest) MarshalToVT(dAtA []byte) (int, error)

func (*TenantListRequest) MarshalVT added in v1.4.5

func (m *TenantListRequest) MarshalVT() (dAtA []byte, err error)

func (*TenantListRequest) ProtoMessage added in v0.3.0

func (*TenantListRequest) ProtoMessage()

func (*TenantListRequest) ProtoReflect added in v0.3.0

func (x *TenantListRequest) ProtoReflect() protoreflect.Message

func (*TenantListRequest) Reset added in v0.3.0

func (x *TenantListRequest) Reset()

func (*TenantListRequest) SizeVT added in v1.4.5

func (m *TenantListRequest) SizeVT() (n int)

func (*TenantListRequest) String added in v0.3.0

func (x *TenantListRequest) String() string

func (*TenantListRequest) UnmarshalVT added in v1.4.5

func (m *TenantListRequest) UnmarshalVT(dAtA []byte) error

type TenantListResponse added in v0.3.0

type TenantListResponse struct {

	// tenants is a list of tenants.
	Tenants []*Tenant `protobuf:"bytes,1,rep,name=tenants,proto3" json:"tenants,omitempty"`
	// continuous_token is a string that can be used to paginate and retrieve the next set of results.
	ContinuousToken string `protobuf:"bytes,2,opt,name=continuous_token,proto3" json:"continuous_token,omitempty"`
	// contains filtered or unexported fields
}

TenantListResponse is the message returned from the request to list all tenants.

func (*TenantListResponse) CloneMessageVT added in v1.4.5

func (m *TenantListResponse) CloneMessageVT() proto.Message

func (*TenantListResponse) CloneVT added in v1.4.5

func (m *TenantListResponse) CloneVT() *TenantListResponse

func (*TenantListResponse) Descriptor deprecated added in v0.3.0

func (*TenantListResponse) Descriptor() ([]byte, []int)

Deprecated: Use TenantListResponse.ProtoReflect.Descriptor instead.

func (*TenantListResponse) EqualMessageVT added in v1.4.5

func (this *TenantListResponse) EqualMessageVT(thatMsg proto.Message) bool

func (*TenantListResponse) EqualVT added in v1.4.5

func (this *TenantListResponse) EqualVT(that *TenantListResponse) bool

func (*TenantListResponse) GetContinuousToken added in v0.3.0

func (x *TenantListResponse) GetContinuousToken() string

func (*TenantListResponse) GetTenants added in v0.3.0

func (x *TenantListResponse) GetTenants() []*Tenant

func (*TenantListResponse) MarshalToSizedBufferVT added in v1.4.5

func (m *TenantListResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*TenantListResponse) MarshalToVT added in v1.4.5

func (m *TenantListResponse) MarshalToVT(dAtA []byte) (int, error)

func (*TenantListResponse) MarshalVT added in v1.4.5

func (m *TenantListResponse) MarshalVT() (dAtA []byte, err error)

func (*TenantListResponse) ProtoMessage added in v0.3.0

func (*TenantListResponse) ProtoMessage()

func (*TenantListResponse) ProtoReflect added in v0.3.0

func (x *TenantListResponse) ProtoReflect() protoreflect.Message

func (*TenantListResponse) Reset added in v0.3.0

func (x *TenantListResponse) Reset()

func (*TenantListResponse) SizeVT added in v1.4.5

func (m *TenantListResponse) SizeVT() (n int)

func (*TenantListResponse) String added in v0.3.0

func (x *TenantListResponse) String() string

func (*TenantListResponse) UnmarshalVT added in v1.4.5

func (m *TenantListResponse) UnmarshalVT(dAtA []byte) error

type Tuple

type Tuple struct {
	Entity   *Entity  `protobuf:"bytes,1,opt,name=entity,proto3" json:"entity,omitempty"`
	Relation string   `protobuf:"bytes,2,opt,name=relation,proto3" json:"relation,omitempty"`
	Subject  *Subject `protobuf:"bytes,3,opt,name=subject,proto3" json:"subject,omitempty"`
	// contains filtered or unexported fields
}

Tuple is a structure that includes an entity, a relation, and a subject.

func (*Tuple) CloneMessageVT added in v1.4.5

func (m *Tuple) CloneMessageVT() proto.Message

func (*Tuple) CloneVT added in v1.4.5

func (m *Tuple) CloneVT() *Tuple

func (*Tuple) Descriptor deprecated

func (*Tuple) Descriptor() ([]byte, []int)

Deprecated: Use Tuple.ProtoReflect.Descriptor instead.

func (*Tuple) EqualMessageVT added in v1.4.5

func (this *Tuple) EqualMessageVT(thatMsg proto.Message) bool

func (*Tuple) EqualVT added in v1.4.5

func (this *Tuple) EqualVT(that *Tuple) bool

func (*Tuple) GetEntity

func (x *Tuple) GetEntity() *Entity

func (*Tuple) GetRelation

func (x *Tuple) GetRelation() string

func (*Tuple) GetSubject

func (x *Tuple) GetSubject() *Subject

func (*Tuple) MarshalToSizedBufferVT added in v1.4.5

func (m *Tuple) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*Tuple) MarshalToVT added in v1.4.5

func (m *Tuple) MarshalToVT(dAtA []byte) (int, error)

func (*Tuple) MarshalVT added in v1.4.5

func (m *Tuple) MarshalVT() (dAtA []byte, err error)

func (*Tuple) ProtoMessage

func (*Tuple) ProtoMessage()

func (*Tuple) ProtoReflect

func (x *Tuple) ProtoReflect() protoreflect.Message

func (*Tuple) Reset

func (x *Tuple) Reset()

func (*Tuple) SizeVT added in v1.4.5

func (m *Tuple) SizeVT() (n int)

func (*Tuple) String

func (x *Tuple) String() string

func (*Tuple) UnmarshalVT added in v1.4.5

func (m *Tuple) UnmarshalVT(dAtA []byte) error

type TupleFilter

type TupleFilter struct {
	Entity   *EntityFilter  `protobuf:"bytes,1,opt,name=entity,proto3" json:"entity,omitempty"`
	Relation string         `protobuf:"bytes,2,opt,name=relation,proto3" json:"relation,omitempty"`
	Subject  *SubjectFilter `protobuf:"bytes,3,opt,name=subject,proto3" json:"subject,omitempty"` // The subject filter
	// contains filtered or unexported fields
}

TupleFilter is used to filter tuples based on the entity, relation and the subject.

func (*TupleFilter) CloneMessageVT added in v1.4.5

func (m *TupleFilter) CloneMessageVT() proto.Message

func (*TupleFilter) CloneVT added in v1.4.5

func (m *TupleFilter) CloneVT() *TupleFilter

func (*TupleFilter) Descriptor deprecated

func (*TupleFilter) Descriptor() ([]byte, []int)

Deprecated: Use TupleFilter.ProtoReflect.Descriptor instead.

func (*TupleFilter) EqualMessageVT added in v1.4.5

func (this *TupleFilter) EqualMessageVT(thatMsg proto.Message) bool

func (*TupleFilter) EqualVT added in v1.4.5

func (this *TupleFilter) EqualVT(that *TupleFilter) bool

func (*TupleFilter) GetEntity

func (x *TupleFilter) GetEntity() *EntityFilter

func (*TupleFilter) GetRelation

func (x *TupleFilter) GetRelation() string

func (*TupleFilter) GetSubject

func (x *TupleFilter) GetSubject() *SubjectFilter

func (*TupleFilter) MarshalToSizedBufferVT added in v1.4.5

func (m *TupleFilter) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*TupleFilter) MarshalToVT added in v1.4.5

func (m *TupleFilter) MarshalToVT(dAtA []byte) (int, error)

func (*TupleFilter) MarshalVT added in v1.4.5

func (m *TupleFilter) MarshalVT() (dAtA []byte, err error)

func (*TupleFilter) ProtoMessage

func (*TupleFilter) ProtoMessage()

func (*TupleFilter) ProtoReflect

func (x *TupleFilter) ProtoReflect() protoreflect.Message

func (*TupleFilter) Reset

func (x *TupleFilter) Reset()

func (*TupleFilter) SizeVT added in v1.4.5

func (m *TupleFilter) SizeVT() (n int)

func (*TupleFilter) String

func (x *TupleFilter) String() string

func (*TupleFilter) UnmarshalVT added in v1.4.5

func (m *TupleFilter) UnmarshalVT(dAtA []byte) error

type TupleSet

type TupleSet struct {
	Relation string `protobuf:"bytes,1,opt,name=relation,proto3" json:"relation,omitempty"`
	// contains filtered or unexported fields
}

TupleSet represents a set of tuples associated with a specific relation.

func (*TupleSet) CloneMessageVT added in v1.4.5

func (m *TupleSet) CloneMessageVT() proto.Message

func (*TupleSet) CloneVT added in v1.4.5

func (m *TupleSet) CloneVT() *TupleSet

func (*TupleSet) Descriptor deprecated

func (*TupleSet) Descriptor() ([]byte, []int)

Deprecated: Use TupleSet.ProtoReflect.Descriptor instead.

func (*TupleSet) EqualMessageVT added in v1.4.5

func (this *TupleSet) EqualMessageVT(thatMsg proto.Message) bool

func (*TupleSet) EqualVT added in v1.4.5

func (this *TupleSet) EqualVT(that *TupleSet) bool

func (*TupleSet) GetRelation

func (x *TupleSet) GetRelation() string

func (*TupleSet) MarshalToSizedBufferVT added in v1.4.5

func (m *TupleSet) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*TupleSet) MarshalToVT added in v1.4.5

func (m *TupleSet) MarshalToVT(dAtA []byte) (int, error)

func (*TupleSet) MarshalVT added in v1.4.5

func (m *TupleSet) MarshalVT() (dAtA []byte, err error)

func (*TupleSet) ProtoMessage

func (*TupleSet) ProtoMessage()

func (*TupleSet) ProtoReflect

func (x *TupleSet) ProtoReflect() protoreflect.Message

func (*TupleSet) Reset

func (x *TupleSet) Reset()

func (*TupleSet) SizeVT added in v1.4.5

func (m *TupleSet) SizeVT() (n int)

func (*TupleSet) String

func (x *TupleSet) String() string

func (*TupleSet) UnmarshalVT added in v1.4.5

func (m *TupleSet) UnmarshalVT(dAtA []byte) error

type TupleToUserSet

type TupleToUserSet struct {
	TupleSet *TupleSet        `protobuf:"bytes,1,opt,name=tupleSet,proto3" json:"tupleSet,omitempty"` // The tuple set
	Computed *ComputedUserSet `protobuf:"bytes,2,opt,name=computed,proto3" json:"computed,omitempty"` // The computed user set
	// contains filtered or unexported fields
}

TupleToUserSet defines a mapping from tuple sets to computed user sets.

func (*TupleToUserSet) CloneMessageVT added in v1.4.5

func (m *TupleToUserSet) CloneMessageVT() proto.Message

func (*TupleToUserSet) CloneVT added in v1.4.5

func (m *TupleToUserSet) CloneVT() *TupleToUserSet

func (*TupleToUserSet) Descriptor deprecated

func (*TupleToUserSet) Descriptor() ([]byte, []int)

Deprecated: Use TupleToUserSet.ProtoReflect.Descriptor instead.

func (*TupleToUserSet) EqualMessageVT added in v1.4.5

func (this *TupleToUserSet) EqualMessageVT(thatMsg proto.Message) bool

func (*TupleToUserSet) EqualVT added in v1.4.5

func (this *TupleToUserSet) EqualVT(that *TupleToUserSet) bool

func (*TupleToUserSet) GetComputed

func (x *TupleToUserSet) GetComputed() *ComputedUserSet

func (*TupleToUserSet) GetTupleSet

func (x *TupleToUserSet) GetTupleSet() *TupleSet

func (*TupleToUserSet) MarshalToSizedBufferVT added in v1.4.5

func (m *TupleToUserSet) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*TupleToUserSet) MarshalToVT added in v1.4.5

func (m *TupleToUserSet) MarshalToVT(dAtA []byte) (int, error)

func (*TupleToUserSet) MarshalVT added in v1.4.5

func (m *TupleToUserSet) MarshalVT() (dAtA []byte, err error)

func (*TupleToUserSet) ProtoMessage

func (*TupleToUserSet) ProtoMessage()

func (*TupleToUserSet) ProtoReflect

func (x *TupleToUserSet) ProtoReflect() protoreflect.Message

func (*TupleToUserSet) Reset

func (x *TupleToUserSet) Reset()

func (*TupleToUserSet) SizeVT added in v1.4.5

func (m *TupleToUserSet) SizeVT() (n int)

func (*TupleToUserSet) String

func (x *TupleToUserSet) String() string

func (*TupleToUserSet) UnmarshalVT added in v1.4.5

func (m *TupleToUserSet) UnmarshalVT(dAtA []byte) error

type Tuples

type Tuples struct {
	Tuples []*Tuple `protobuf:"bytes,1,rep,name=tuples,proto3" json:"tuples,omitempty"`
	// contains filtered or unexported fields
}

Tuples is a collection of tuples.

func (*Tuples) CloneMessageVT added in v1.4.5

func (m *Tuples) CloneMessageVT() proto.Message

func (*Tuples) CloneVT added in v1.4.5

func (m *Tuples) CloneVT() *Tuples

func (*Tuples) Descriptor deprecated

func (*Tuples) Descriptor() ([]byte, []int)

Deprecated: Use Tuples.ProtoReflect.Descriptor instead.

func (*Tuples) EqualMessageVT added in v1.4.5

func (this *Tuples) EqualMessageVT(thatMsg proto.Message) bool

func (*Tuples) EqualVT added in v1.4.5

func (this *Tuples) EqualVT(that *Tuples) bool

func (*Tuples) GetTuples

func (x *Tuples) GetTuples() []*Tuple

func (*Tuples) MarshalToSizedBufferVT added in v1.4.5

func (m *Tuples) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*Tuples) MarshalToVT added in v1.4.5

func (m *Tuples) MarshalToVT(dAtA []byte) (int, error)

func (*Tuples) MarshalVT added in v1.4.5

func (m *Tuples) MarshalVT() (dAtA []byte, err error)

func (*Tuples) ProtoMessage

func (*Tuples) ProtoMessage()

func (*Tuples) ProtoReflect

func (x *Tuples) ProtoReflect() protoreflect.Message

func (*Tuples) Reset

func (x *Tuples) Reset()

func (*Tuples) SizeVT added in v1.4.5

func (m *Tuples) SizeVT() (n int)

func (*Tuples) String

func (x *Tuples) String() string

func (*Tuples) UnmarshalVT added in v1.4.5

func (m *Tuples) UnmarshalVT(dAtA []byte) error

type UnimplementedBundleServer added in v0.6.0

type UnimplementedBundleServer struct{}

UnimplementedBundleServer must be embedded to have forward compatible implementations.

NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.

func (UnimplementedBundleServer) Delete added in v0.6.0

func (UnimplementedBundleServer) Read added in v0.6.0

func (UnimplementedBundleServer) Write added in v0.6.0

type UnimplementedDataServer added in v0.5.0

type UnimplementedDataServer struct{}

UnimplementedDataServer must be embedded to have forward compatible implementations.

NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.

func (UnimplementedDataServer) Delete added in v0.5.0

func (UnimplementedDataServer) DeleteRelationships added in v0.5.0

func (UnimplementedDataServer) ReadAttributes added in v0.5.0

func (UnimplementedDataServer) ReadRelationships added in v0.5.0

func (UnimplementedDataServer) RunBundle added in v0.6.0

func (UnimplementedDataServer) Write added in v0.5.0

func (UnimplementedDataServer) WriteRelationships added in v0.5.0

type UnimplementedPermissionServer

type UnimplementedPermissionServer struct{}

UnimplementedPermissionServer must be embedded to have forward compatible implementations.

NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.

func (UnimplementedPermissionServer) BulkCheck added in v1.5.4

func (UnimplementedPermissionServer) LookupSubject added in v0.4.1

func (UnimplementedPermissionServer) SubjectPermission added in v0.4.7

type UnimplementedSchemaServer

type UnimplementedSchemaServer struct{}

UnimplementedSchemaServer must be embedded to have forward compatible implementations.

NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.

func (UnimplementedSchemaServer) List added in v0.7.5

func (UnimplementedSchemaServer) PartialWrite added in v0.7.9

func (UnimplementedSchemaServer) Read

func (UnimplementedSchemaServer) Write

type UnimplementedTenancyServer added in v0.3.0

type UnimplementedTenancyServer struct{}

UnimplementedTenancyServer must be embedded to have forward compatible implementations.

NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.

func (UnimplementedTenancyServer) Create added in v0.3.0

func (UnimplementedTenancyServer) Delete added in v0.3.0

func (UnimplementedTenancyServer) List added in v0.3.0

type UnimplementedWatchServer added in v0.4.4

type UnimplementedWatchServer struct{}

UnimplementedWatchServer must be embedded to have forward compatible implementations.

NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.

func (UnimplementedWatchServer) Watch added in v0.4.4

type UnsafeBundleServer added in v0.6.0

type UnsafeBundleServer interface {
	// contains filtered or unexported methods
}

UnsafeBundleServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to BundleServer will result in compilation errors.

type UnsafeDataServer added in v0.5.0

type UnsafeDataServer interface {
	// contains filtered or unexported methods
}

UnsafeDataServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to DataServer will result in compilation errors.

type UnsafePermissionServer

type UnsafePermissionServer interface {
	// contains filtered or unexported methods
}

UnsafePermissionServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to PermissionServer will result in compilation errors.

type UnsafeSchemaServer

type UnsafeSchemaServer interface {
	// contains filtered or unexported methods
}

UnsafeSchemaServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to SchemaServer will result in compilation errors.

type UnsafeTenancyServer added in v0.3.0

type UnsafeTenancyServer interface {
	// contains filtered or unexported methods
}

UnsafeTenancyServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to TenancyServer will result in compilation errors.

type UnsafeWatchServer added in v0.4.4

type UnsafeWatchServer interface {
	// contains filtered or unexported methods
}

UnsafeWatchServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to WatchServer will result in compilation errors.

type Values added in v0.5.0

type Values struct {
	Values map[string]*anypb.Any `` /* 139-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*Values) CloneMessageVT added in v1.4.5

func (m *Values) CloneMessageVT() proto.Message

func (*Values) CloneVT added in v1.4.5

func (m *Values) CloneVT() *Values

func (*Values) Descriptor deprecated added in v0.5.0

func (*Values) Descriptor() ([]byte, []int)

Deprecated: Use Values.ProtoReflect.Descriptor instead.

func (*Values) EqualMessageVT added in v1.4.5

func (this *Values) EqualMessageVT(thatMsg proto.Message) bool

func (*Values) EqualVT added in v1.4.5

func (this *Values) EqualVT(that *Values) bool

func (*Values) GetValues added in v0.5.0

func (x *Values) GetValues() map[string]*anypb.Any

func (*Values) MarshalToSizedBufferVT added in v1.4.5

func (m *Values) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*Values) MarshalToVT added in v1.4.5

func (m *Values) MarshalToVT(dAtA []byte) (int, error)

func (*Values) MarshalVT added in v1.4.5

func (m *Values) MarshalVT() (dAtA []byte, err error)

func (*Values) ProtoMessage added in v0.5.0

func (*Values) ProtoMessage()

func (*Values) ProtoReflect added in v0.5.0

func (x *Values) ProtoReflect() protoreflect.Message

func (*Values) Reset added in v0.5.0

func (x *Values) Reset()

func (*Values) SizeVT added in v1.4.5

func (m *Values) SizeVT() (n int)

func (*Values) String added in v0.5.0

func (x *Values) String() string

func (*Values) UnmarshalVT added in v1.4.5

func (m *Values) UnmarshalVT(dAtA []byte) error

type WatchClient added in v0.4.4

type WatchClient interface {
	Watch(ctx context.Context, in *WatchRequest, opts ...grpc.CallOption) (grpc.ServerStreamingClient[WatchResponse], error)
}

WatchClient is the client API for Watch 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.

Watch is the main RPC in the Watch service. It establishes a stream between the client and the server. The server pushes data changes into this stream and the client can read those in real time.

func NewWatchClient added in v0.4.4

func NewWatchClient(cc grpc.ClientConnInterface) WatchClient

type WatchRequest added in v0.4.4

type WatchRequest struct {

	// Identifier of the tenant, required, and must match the pattern "[a-zA-Z0-9-,]+", max 64 bytes.
	TenantId string `protobuf:"bytes,1,opt,name=tenant_id,proto3" json:"tenant_id,omitempty"`
	// Snap token to be used for watching.
	SnapToken string `protobuf:"bytes,2,opt,name=snap_token,proto3" json:"snap_token,omitempty"`
	// contains filtered or unexported fields
}

WatchRequest is the request message for the Watch RPC. It contains the details needed to establish a watch stream.

func (*WatchRequest) CloneMessageVT added in v1.4.5

func (m *WatchRequest) CloneMessageVT() proto.Message

func (*WatchRequest) CloneVT added in v1.4.5

func (m *WatchRequest) CloneVT() *WatchRequest

func (*WatchRequest) Descriptor deprecated added in v0.4.4

func (*WatchRequest) Descriptor() ([]byte, []int)

Deprecated: Use WatchRequest.ProtoReflect.Descriptor instead.

func (*WatchRequest) EqualMessageVT added in v1.4.5

func (this *WatchRequest) EqualMessageVT(thatMsg proto.Message) bool

func (*WatchRequest) EqualVT added in v1.4.5

func (this *WatchRequest) EqualVT(that *WatchRequest) bool

func (*WatchRequest) GetSnapToken added in v0.4.4

func (x *WatchRequest) GetSnapToken() string

func (*WatchRequest) GetTenantId added in v0.4.4

func (x *WatchRequest) GetTenantId() string

func (*WatchRequest) MarshalToSizedBufferVT added in v1.4.5

func (m *WatchRequest) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*WatchRequest) MarshalToVT added in v1.4.5

func (m *WatchRequest) MarshalToVT(dAtA []byte) (int, error)

func (*WatchRequest) MarshalVT added in v1.4.5

func (m *WatchRequest) MarshalVT() (dAtA []byte, err error)

func (*WatchRequest) ProtoMessage added in v0.4.4

func (*WatchRequest) ProtoMessage()

func (*WatchRequest) ProtoReflect added in v0.4.4

func (x *WatchRequest) ProtoReflect() protoreflect.Message

func (*WatchRequest) Reset added in v0.4.4

func (x *WatchRequest) Reset()

func (*WatchRequest) SizeVT added in v1.4.5

func (m *WatchRequest) SizeVT() (n int)

func (*WatchRequest) String added in v0.4.4

func (x *WatchRequest) String() string

func (*WatchRequest) UnmarshalVT added in v1.4.5

func (m *WatchRequest) UnmarshalVT(dAtA []byte) error

type WatchResponse added in v0.4.4

type WatchResponse struct {

	// Changes in the data.
	Changes *DataChanges `protobuf:"bytes,1,opt,name=changes,proto3" json:"changes,omitempty"`
	// contains filtered or unexported fields
}

WatchResponse is the response message for the Watch RPC. It contains the changes in the data that are being watched.

func (*WatchResponse) CloneMessageVT added in v1.4.5

func (m *WatchResponse) CloneMessageVT() proto.Message

func (*WatchResponse) CloneVT added in v1.4.5

func (m *WatchResponse) CloneVT() *WatchResponse

func (*WatchResponse) Descriptor deprecated added in v0.4.4

func (*WatchResponse) Descriptor() ([]byte, []int)

Deprecated: Use WatchResponse.ProtoReflect.Descriptor instead.

func (*WatchResponse) EqualMessageVT added in v1.4.5

func (this *WatchResponse) EqualMessageVT(thatMsg proto.Message) bool

func (*WatchResponse) EqualVT added in v1.4.5

func (this *WatchResponse) EqualVT(that *WatchResponse) bool

func (*WatchResponse) GetChanges added in v0.4.4

func (x *WatchResponse) GetChanges() *DataChanges

func (*WatchResponse) MarshalToSizedBufferVT added in v1.4.5

func (m *WatchResponse) MarshalToSizedBufferVT(dAtA []byte) (int, error)

func (*WatchResponse) MarshalToVT added in v1.4.5

func (m *WatchResponse) MarshalToVT(dAtA []byte) (int, error)

func (*WatchResponse) MarshalVT added in v1.4.5

func (m *WatchResponse) MarshalVT() (dAtA []byte, err error)

func (*WatchResponse) ProtoMessage added in v0.4.4

func (*WatchResponse) ProtoMessage()

func (*WatchResponse) ProtoReflect added in v0.4.4

func (x *WatchResponse) ProtoReflect() protoreflect.Message

func (*WatchResponse) Reset added in v0.4.4

func (x *WatchResponse) Reset()

func (*WatchResponse) SizeVT added in v1.4.5

func (m *WatchResponse) SizeVT() (n int)

func (*WatchResponse) String added in v0.4.4

func (x *WatchResponse) String() string

func (*WatchResponse) UnmarshalVT added in v1.4.5

func (m *WatchResponse) UnmarshalVT(dAtA []byte) error

type WatchServer added in v0.4.4

type WatchServer interface {
	Watch(*WatchRequest, grpc.ServerStreamingServer[WatchResponse]) error
	// contains filtered or unexported methods
}

WatchServer is the server API for Watch service. All implementations must embed UnimplementedWatchServer for forward compatibility.

Watch is the main RPC in the Watch service. It establishes a stream between the client and the server. The server pushes data changes into this stream and the client can read those in real time.

type Watch_WatchClient added in v0.4.4

type Watch_WatchClient = grpc.ServerStreamingClient[WatchResponse]

This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.

type Watch_WatchServer added in v0.4.4

type Watch_WatchServer = grpc.ServerStreamingServer[WatchResponse]

This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL