// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// 	protoc-gen-go v1.36.8
// 	protoc        (unknown)
// source: authzed/api/v1/error_reason.proto

package v1

import (
	protoreflect "google.golang.org/protobuf/reflect/protoreflect"
	protoimpl "google.golang.org/protobuf/runtime/protoimpl"
	reflect "reflect"
	sync "sync"
	unsafe "unsafe"
)

const (
	// Verify that this generated code is sufficiently up-to-date.
	_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
	// Verify that runtime/protoimpl is sufficiently up-to-date.
	_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
)

// Defines the supported values for `google.rpc.ErrorInfo.reason` for the
// `authzed.com` error domain.
type ErrorReason int32

const (
	// Do not use this default value.
	ErrorReason_ERROR_REASON_UNSPECIFIED ErrorReason = 0
	// The request gave a schema that could not be parsed.
	//
	// Example of an ErrorInfo:
	//
	//	{
	//	  "reason": "ERROR_REASON_SCHEMA_PARSE_ERROR",
	//	  "domain": "authzed.com",
	//	  "metadata": {
	//	    "start_line_number": "1",
	//	    "start_column_position": "19",
	//	    "end_line_number": "1",
	//	    "end_column_position": "19",
	//	    "source_code": "somedefinition",
	//	  }
	//	}
	//
	// The line numbers and column positions are 0-indexed and may not be present.
	ErrorReason_ERROR_REASON_SCHEMA_PARSE_ERROR ErrorReason = 1
	// The request contains a schema with a type error.
	//
	// Example of an ErrorInfo:
	//
	//	{
	//	  "reason": "ERROR_REASON_SCHEMA_TYPE_ERROR",
	//	  "domain": "authzed.com",
	//	  "metadata": {
	//	    "definition_name": "somedefinition",
	//	    ... additional keys based on the kind of type error ...
	//	  }
	//	}
	ErrorReason_ERROR_REASON_SCHEMA_TYPE_ERROR ErrorReason = 2
	// The request referenced an unknown object definition in the schema.
	//
	// Example of an ErrorInfo:
	//
	//	{
	//	  "reason": "ERROR_REASON_UNKNOWN_DEFINITION",
	//	  "domain": "authzed.com",
	//	  "metadata": {
	//	    "definition_name": "somedefinition"
	//	  }
	//	}
	ErrorReason_ERROR_REASON_UNKNOWN_DEFINITION ErrorReason = 3
	// The request referenced an unknown relation or permission under a definition in the schema.
	//
	// Example of an ErrorInfo:
	//
	//	{
	//	  "reason": "ERROR_REASON_UNKNOWN_RELATION_OR_PERMISSION",
	//	  "domain": "authzed.com",
	//	  "metadata": {
	//	    "definition_name": "somedefinition",
	//	    "relation_or_permission_name": "somepermission"
	//	  }
	//	}
	ErrorReason_ERROR_REASON_UNKNOWN_RELATION_OR_PERMISSION ErrorReason = 4
	// The WriteRelationships request contained more updates than the maximum configured.
	//
	// Example of an ErrorInfo:
	//
	//	{ "reason": "ERROR_REASON_TOO_MANY_UPDATES_IN_REQUEST",
	//	  "domain": "authzed.com",
	//	  "metadata": {
	//	    "update_count": "525",
	//	    "maximum_updates_allowed": "500",
	//	  }
	//	}
	ErrorReason_ERROR_REASON_TOO_MANY_UPDATES_IN_REQUEST ErrorReason = 5
	// The request contained more preconditions than the maximum configured.
	//
	// Example of an ErrorInfo:
	//
	//	{
	//	  "reason": "ERROR_REASON_TOO_MANY_PRECONDITIONS_IN_REQUEST",
	//	  "domain": "authzed.com",
	//	  "metadata": {
	//	    "precondition_count": "525",
	//	    "maximum_preconditions_allowed": "500",
	//	  }
	//	}
	ErrorReason_ERROR_REASON_TOO_MANY_PRECONDITIONS_IN_REQUEST ErrorReason = 6
	// The request contained a precondition that failed.
	//
	// Example of an ErrorInfo:
	//
	//	{
	//	  "reason": "ERROR_REASON_WRITE_OR_DELETE_PRECONDITION_FAILURE",
	//	  "domain": "authzed.com",
	//	  "metadata": {
	//	    "precondition_resource_type": "document",
	//	    ... other fields for the filter ...
	//	    "precondition_operation": "MUST_EXIST",
	//	  }
	//	}
	ErrorReason_ERROR_REASON_WRITE_OR_DELETE_PRECONDITION_FAILURE ErrorReason = 7
	// A write or delete request was made to an instance that is deployed in read-only mode.
	//
	// Example of an ErrorInfo:
	//
	//	{
	//	  "reason": "ERROR_REASON_SERVICE_READ_ONLY",
	//	  "domain": "authzed.com"
	//	}
	ErrorReason_ERROR_REASON_SERVICE_READ_ONLY ErrorReason = 8
	// The request referenced an unknown caveat in the schema.
	//
	// Example of an ErrorInfo:
	//
	//	{
	//	  "reason": "ERROR_REASON_UNKNOWN_CAVEAT",
	//	  "domain": "authzed.com",
	//	  "metadata": {
	//	    "caveat_name": "somecaveat"
	//	  }
	//	}
	ErrorReason_ERROR_REASON_UNKNOWN_CAVEAT ErrorReason = 9
	// The request tries to use a subject type that was not valid for a relation.
	//
	// Example of an ErrorInfo:
	//
	//	{
	//	  "reason": "ERROR_REASON_INVALID_SUBJECT_TYPE",
	//	  "domain": "authzed.com",
	//	  "metadata": {
	//	    "definition_name": "somedefinition",
	//	    "relation_name": "somerelation",
	//	    "subject_type": "user:*"
	//	  }
	//	}
	ErrorReason_ERROR_REASON_INVALID_SUBJECT_TYPE ErrorReason = 10
	// The request tries to specify a caveat parameter value with the wrong type.
	//
	// Example of an ErrorInfo:
	//
	//	{
	//	  "reason": "ERROR_REASON_CAVEAT_PARAMETER_TYPE_ERROR",
	//	  "domain": "authzed.com",
	//	  "metadata": {
	//	    "definition_name": "somedefinition",
	//	    "relation_name": "somerelation",
	//	    "caveat_name": "somecaveat",
	//	    "parameter_name": "someparameter",
	//	    "expected_type": "int",
	//	  }
	//	}
	ErrorReason_ERROR_REASON_CAVEAT_PARAMETER_TYPE_ERROR ErrorReason = 11
	// The request tries to perform two or more updates on the same relationship in the same WriteRelationships call.
	//
	// Example of an ErrorInfo:
	//
	//	{
	//	  "reason": "ERROR_REASON_UPDATES_ON_SAME_RELATIONSHIP",
	//	  "domain": "authzed.com",
	//	  "metadata": {
	//	    "definition_name": "somedefinition",
	//	    "relationship": "somerelationship",
	//	  }
	//	}
	ErrorReason_ERROR_REASON_UPDATES_ON_SAME_RELATIONSHIP ErrorReason = 12
	// The request tries to write a relationship on a permission instead of a relation.
	//
	// Example of an ErrorInfo:
	//
	//	{
	//	  "reason": "ERROR_REASON_CANNOT_UPDATE_PERMISSION",
	//	  "domain": "authzed.com",
	//	  "metadata": {
	//	    "definition_name": "somedefinition",
	//	    "permission_name": "somerelation",
	//	  }
	//	}
	ErrorReason_ERROR_REASON_CANNOT_UPDATE_PERMISSION ErrorReason = 13
	// The request failed to evaluate a caveat expression due to an error.
	//
	// Example of an ErrorInfo:
	//
	//	{
	//	  "reason": "ERROR_REASON_CAVEAT_EVALUATION_ERROR",
	//	  "domain": "authzed.com",
	//	  "metadata": {
	//	    "caveat_name": "somecaveat",
	//	  }
	//	}
	ErrorReason_ERROR_REASON_CAVEAT_EVALUATION_ERROR ErrorReason = 14
	// The request failed because the provided cursor was invalid in some way.
	//
	// Example of an ErrorInfo:
	//
	//	{
	//	  "reason": "ERROR_REASON_INVALID_CURSOR",
	//	  "domain": "authzed.com",
	//	  "metadata": {
	//	     ... additional keys based on the kind of cursor error ...
	//	  }
	//	}
	ErrorReason_ERROR_REASON_INVALID_CURSOR ErrorReason = 15
	// The request failed because there are too many matching relationships to be
	// deleted within a single transactional deletion call. To avoid, set
	// `optional_allow_partial_deletions` to true on the DeleteRelationships call.
	//
	// Example of an ErrorInfo:
	//
	//	{
	//	  "reason": "ERROR_REASON_TOO_MANY_RELATIONSHIPS_FOR_TRANSACTIONAL_DELETE",
	//	  "domain": "authzed.com",
	//	  "metadata": {
	//	     ... fields for the filter ...
	//	  }
	//	}
	ErrorReason_ERROR_REASON_TOO_MANY_RELATIONSHIPS_FOR_TRANSACTIONAL_DELETE ErrorReason = 16
	// The request failed because the client attempted to write a relationship
	// with a context that exceeded the configured server limit.
	//
	// Example of an ErrorInfo:
	//
	//	{
	//	  "reason": "ERROR_REASON_MAX_RELATIONSHIP_CONTEXT_SIZE",
	//	  "domain": "authzed.com",
	//	  "metadata": {
	//	    "relationship":     "relationship_exceeding_the_limit",
	//	    "max_allowed_size": "server_max_allowed_context_size",
	//	    "context_size":     "actual_relationship_context_size" ,
	//	  }
	//	}
	ErrorReason_ERROR_REASON_MAX_RELATIONSHIP_CONTEXT_SIZE ErrorReason = 17
	// The request failed because a relationship marked to be CREATEd
	// was already present within the datastore.
	//
	// Example of an ErrorInfo:
	//
	//	{
	//	  "reason": "ERROR_REASON_ATTEMPT_TO_RECREATE_RELATIONSHIP",
	//	  "domain": "authzed.com",
	//	  "metadata": {
	//	    "relationship":          "relationship_that_already_existed",
	//	    "resource_type":         "resource type",
	//	    "resource_object_id":    "resource object id",
	//	    ... additional decomposed relationship fields ...
	//	  }
	//	}
	ErrorReason_ERROR_REASON_ATTEMPT_TO_RECREATE_RELATIONSHIP ErrorReason = 18
	// The request failed because it caused the maximum depth allowed to be
	// exceeded. This typically indicates that there is a circular data traversal
	// somewhere in the schema, but can also be raised if the data traversal is simply
	// too deep.
	//
	// Example of an ErrorInfo:
	//
	//	{
	//	  "reason": "ERROR_REASON_MAXIMUM_DEPTH_EXCEEDED",
	//	  "domain": "authzed.com",
	//	  "metadata": {
	//	    "maximum_depth_allowed": "50",
	//	    ... additional fields based on request type ...
	//	  }
	//	}
	ErrorReason_ERROR_REASON_MAXIMUM_DEPTH_EXCEEDED ErrorReason = 19
	// The request failed due to a serialization error in the backend database.
	// This typically indicates that various in flight transactions conflicted with each other
	// and the database had to abort one or more of them. SpiceDB will retry a few times before returning
	// the error to the client.
	//
	// Example of an ErrorInfo:
	//
	//	{
	//	  "reason": "ERROR_REASON_SERIALIZATION_FAILURE",
	//	  "domain": "authzed.com",
	//	  "metadata": {}
	//	}
	ErrorReason_ERROR_REASON_SERIALIZATION_FAILURE ErrorReason = 20
	// The request contained more check items than the maximum configured.
	//
	// Example of an ErrorInfo:
	//
	//	{
	//	  "reason": "ERROR_REASON_TOO_MANY_CHECKS_IN_REQUEST",
	//	  "domain": "authzed.com",
	//	  "metadata": {
	//	    "check_count": "525",
	//	    "maximum_checks_allowed": "500",
	//	  }
	//	}
	ErrorReason_ERROR_REASON_TOO_MANY_CHECKS_IN_REQUEST ErrorReason = 21
	// The request's specified limit is too large.
	//
	// Example of an ErrorInfo:
	//
	//	{
	//	  "reason": "ERROR_REASON_EXCEEDS_MAXIMUM_ALLOWABLE_LIMIT",
	//	  "domain": "authzed.com",
	//	  "metadata": {
	//	    "limit_provided": "525",
	//	    "maximum_limit_allowed": "500",
	//	  }
	//	}
	ErrorReason_ERROR_REASON_EXCEEDS_MAXIMUM_ALLOWABLE_LIMIT ErrorReason = 22
	// The request failed because the provided filter was invalid in some way.
	//
	// Example of an ErrorInfo:
	//
	//	{
	//	  "reason": "ERROR_REASON_INVALID_FILTER",
	//	  "domain": "authzed.com",
	//	  "metadata": {
	//	    "filter": "...",
	//	  }
	//	}
	ErrorReason_ERROR_REASON_INVALID_FILTER ErrorReason = 23
	// The request failed because too many concurrent updates were attempted
	// against the in-memory datastore.
	//
	// Example of an ErrorInfo:
	//
	//	{
	//	  "reason": "ERROR_REASON_INMEMORY_TOO_MANY_CONCURRENT_UPDATES",
	//	  "domain": "authzed.com",
	//	  "metadata": {}
	//	}
	ErrorReason_ERROR_REASON_INMEMORY_TOO_MANY_CONCURRENT_UPDATES ErrorReason = 24
	// The request failed because the precondition specified is empty.
	//
	// Example of an ErrorInfo:
	//
	//	{
	//	  "reason": "ERROR_REASON_EMPTY_PRECONDITION",
	//	  "domain": "authzed.com",
	//	  "metadata": {}
	//	}
	ErrorReason_ERROR_REASON_EMPTY_PRECONDITION ErrorReason = 25
	// The request failed because the counter was already registered.
	//
	// Example of an ErrorInfo:
	//
	//	{
	//	  "reason": "ERROR_REASON_COUNTER_ALREADY_REGISTERED",
	//	  "domain": "authzed.com",
	//	  "metadata": { "counter_name": "name" }
	//	}
	ErrorReason_ERROR_REASON_COUNTER_ALREADY_REGISTERED ErrorReason = 26
	// The request failed because the counter was not registered.
	//
	// Example of an ErrorInfo:
	//
	//	{
	//	  "reason": "ERROR_REASON_COUNTER_NOT_REGISTERED",
	//	  "domain": "authzed.com",
	//	  "metadata": { "counter_name": "name"  }
	//	}
	ErrorReason_ERROR_REASON_COUNTER_NOT_REGISTERED ErrorReason = 27
	// The request failed because a wildcard was not allowed. For CheckPermission,
	// this means that the subject or resource ID was a wildcard. For LookupResources,
	// this means that the subject ID was a wildcard.
	//
	// Example of an ErrorInfo:
	//
	//	{
	//	  "reason": "ERROR_REASON_WILDCARD_NOT_ALLOWED",
	//	  "domain": "authzed.com",
	//	  "metadata": { "disallowed_field": "subject_id" }
	//	}
	ErrorReason_ERROR_REASON_WILDCARD_NOT_ALLOWED ErrorReason = 28
	// The request failed because the transaction metadata was too large.
	//
	// Example of an ErrorInfo:
	//
	//	{
	//	  "reason": "ERROR_REASON_TRANSACTION_METADATA_TOO_LARGE",
	//	  "domain": "authzed.com",
	//	  "metadata": {
	//	    "metadata_byte_size": "1024",
	//	    "maximum_allowed_metadata_byte_size": "512",
	//	  }
	//	}
	ErrorReason_ERROR_REASON_TRANSACTION_METADATA_TOO_LARGE ErrorReason = 29
)

// Enum value maps for ErrorReason.
var (
	ErrorReason_name = map[int32]string{
		0:  "ERROR_REASON_UNSPECIFIED",
		1:  "ERROR_REASON_SCHEMA_PARSE_ERROR",
		2:  "ERROR_REASON_SCHEMA_TYPE_ERROR",
		3:  "ERROR_REASON_UNKNOWN_DEFINITION",
		4:  "ERROR_REASON_UNKNOWN_RELATION_OR_PERMISSION",
		5:  "ERROR_REASON_TOO_MANY_UPDATES_IN_REQUEST",
		6:  "ERROR_REASON_TOO_MANY_PRECONDITIONS_IN_REQUEST",
		7:  "ERROR_REASON_WRITE_OR_DELETE_PRECONDITION_FAILURE",
		8:  "ERROR_REASON_SERVICE_READ_ONLY",
		9:  "ERROR_REASON_UNKNOWN_CAVEAT",
		10: "ERROR_REASON_INVALID_SUBJECT_TYPE",
		11: "ERROR_REASON_CAVEAT_PARAMETER_TYPE_ERROR",
		12: "ERROR_REASON_UPDATES_ON_SAME_RELATIONSHIP",
		13: "ERROR_REASON_CANNOT_UPDATE_PERMISSION",
		14: "ERROR_REASON_CAVEAT_EVALUATION_ERROR",
		15: "ERROR_REASON_INVALID_CURSOR",
		16: "ERROR_REASON_TOO_MANY_RELATIONSHIPS_FOR_TRANSACTIONAL_DELETE",
		17: "ERROR_REASON_MAX_RELATIONSHIP_CONTEXT_SIZE",
		18: "ERROR_REASON_ATTEMPT_TO_RECREATE_RELATIONSHIP",
		19: "ERROR_REASON_MAXIMUM_DEPTH_EXCEEDED",
		20: "ERROR_REASON_SERIALIZATION_FAILURE",
		21: "ERROR_REASON_TOO_MANY_CHECKS_IN_REQUEST",
		22: "ERROR_REASON_EXCEEDS_MAXIMUM_ALLOWABLE_LIMIT",
		23: "ERROR_REASON_INVALID_FILTER",
		24: "ERROR_REASON_INMEMORY_TOO_MANY_CONCURRENT_UPDATES",
		25: "ERROR_REASON_EMPTY_PRECONDITION",
		26: "ERROR_REASON_COUNTER_ALREADY_REGISTERED",
		27: "ERROR_REASON_COUNTER_NOT_REGISTERED",
		28: "ERROR_REASON_WILDCARD_NOT_ALLOWED",
		29: "ERROR_REASON_TRANSACTION_METADATA_TOO_LARGE",
	}
	ErrorReason_value = map[string]int32{
		"ERROR_REASON_UNSPECIFIED":                                     0,
		"ERROR_REASON_SCHEMA_PARSE_ERROR":                              1,
		"ERROR_REASON_SCHEMA_TYPE_ERROR":                               2,
		"ERROR_REASON_UNKNOWN_DEFINITION":                              3,
		"ERROR_REASON_UNKNOWN_RELATION_OR_PERMISSION":                  4,
		"ERROR_REASON_TOO_MANY_UPDATES_IN_REQUEST":                     5,
		"ERROR_REASON_TOO_MANY_PRECONDITIONS_IN_REQUEST":               6,
		"ERROR_REASON_WRITE_OR_DELETE_PRECONDITION_FAILURE":            7,
		"ERROR_REASON_SERVICE_READ_ONLY":                               8,
		"ERROR_REASON_UNKNOWN_CAVEAT":                                  9,
		"ERROR_REASON_INVALID_SUBJECT_TYPE":                            10,
		"ERROR_REASON_CAVEAT_PARAMETER_TYPE_ERROR":                     11,
		"ERROR_REASON_UPDATES_ON_SAME_RELATIONSHIP":                    12,
		"ERROR_REASON_CANNOT_UPDATE_PERMISSION":                        13,
		"ERROR_REASON_CAVEAT_EVALUATION_ERROR":                         14,
		"ERROR_REASON_INVALID_CURSOR":                                  15,
		"ERROR_REASON_TOO_MANY_RELATIONSHIPS_FOR_TRANSACTIONAL_DELETE": 16,
		"ERROR_REASON_MAX_RELATIONSHIP_CONTEXT_SIZE":                   17,
		"ERROR_REASON_ATTEMPT_TO_RECREATE_RELATIONSHIP":                18,
		"ERROR_REASON_MAXIMUM_DEPTH_EXCEEDED":                          19,
		"ERROR_REASON_SERIALIZATION_FAILURE":                           20,
		"ERROR_REASON_TOO_MANY_CHECKS_IN_REQUEST":                      21,
		"ERROR_REASON_EXCEEDS_MAXIMUM_ALLOWABLE_LIMIT":                 22,
		"ERROR_REASON_INVALID_FILTER":                                  23,
		"ERROR_REASON_INMEMORY_TOO_MANY_CONCURRENT_UPDATES":            24,
		"ERROR_REASON_EMPTY_PRECONDITION":                              25,
		"ERROR_REASON_COUNTER_ALREADY_REGISTERED":                      26,
		"ERROR_REASON_COUNTER_NOT_REGISTERED":                          27,
		"ERROR_REASON_WILDCARD_NOT_ALLOWED":                            28,
		"ERROR_REASON_TRANSACTION_METADATA_TOO_LARGE":                  29,
	}
)

func (x ErrorReason) Enum() *ErrorReason {
	p := new(ErrorReason)
	*p = x
	return p
}

func (x ErrorReason) String() string {
	return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}

func (ErrorReason) Descriptor() protoreflect.EnumDescriptor {
	return file_authzed_api_v1_error_reason_proto_enumTypes[0].Descriptor()
}

func (ErrorReason) Type() protoreflect.EnumType {
	return &file_authzed_api_v1_error_reason_proto_enumTypes[0]
}

func (x ErrorReason) Number() protoreflect.EnumNumber {
	return protoreflect.EnumNumber(x)
}

// Deprecated: Use ErrorReason.Descriptor instead.
func (ErrorReason) EnumDescriptor() ([]byte, []int) {
	return file_authzed_api_v1_error_reason_proto_rawDescGZIP(), []int{0}
}

var File_authzed_api_v1_error_reason_proto protoreflect.FileDescriptor

const file_authzed_api_v1_error_reason_proto_rawDesc = "" +
	"\n" +
	"!authzed/api/v1/error_reason.proto\x12\x0eauthzed.api.v1*\xa2\n" +
	"\n" +
	"\vErrorReason\x12\x1c\n" +
	"\x18ERROR_REASON_UNSPECIFIED\x10\x00\x12#\n" +
	"\x1fERROR_REASON_SCHEMA_PARSE_ERROR\x10\x01\x12\"\n" +
	"\x1eERROR_REASON_SCHEMA_TYPE_ERROR\x10\x02\x12#\n" +
	"\x1fERROR_REASON_UNKNOWN_DEFINITION\x10\x03\x12/\n" +
	"+ERROR_REASON_UNKNOWN_RELATION_OR_PERMISSION\x10\x04\x12,\n" +
	"(ERROR_REASON_TOO_MANY_UPDATES_IN_REQUEST\x10\x05\x122\n" +
	".ERROR_REASON_TOO_MANY_PRECONDITIONS_IN_REQUEST\x10\x06\x125\n" +
	"1ERROR_REASON_WRITE_OR_DELETE_PRECONDITION_FAILURE\x10\a\x12\"\n" +
	"\x1eERROR_REASON_SERVICE_READ_ONLY\x10\b\x12\x1f\n" +
	"\x1bERROR_REASON_UNKNOWN_CAVEAT\x10\t\x12%\n" +
	"!ERROR_REASON_INVALID_SUBJECT_TYPE\x10\n" +
	"\x12,\n" +
	"(ERROR_REASON_CAVEAT_PARAMETER_TYPE_ERROR\x10\v\x12-\n" +
	")ERROR_REASON_UPDATES_ON_SAME_RELATIONSHIP\x10\f\x12)\n" +
	"%ERROR_REASON_CANNOT_UPDATE_PERMISSION\x10\r\x12(\n" +
	"$ERROR_REASON_CAVEAT_EVALUATION_ERROR\x10\x0e\x12\x1f\n" +
	"\x1bERROR_REASON_INVALID_CURSOR\x10\x0f\x12@\n" +
	"<ERROR_REASON_TOO_MANY_RELATIONSHIPS_FOR_TRANSACTIONAL_DELETE\x10\x10\x12.\n" +
	"*ERROR_REASON_MAX_RELATIONSHIP_CONTEXT_SIZE\x10\x11\x121\n" +
	"-ERROR_REASON_ATTEMPT_TO_RECREATE_RELATIONSHIP\x10\x12\x12'\n" +
	"#ERROR_REASON_MAXIMUM_DEPTH_EXCEEDED\x10\x13\x12&\n" +
	"\"ERROR_REASON_SERIALIZATION_FAILURE\x10\x14\x12+\n" +
	"'ERROR_REASON_TOO_MANY_CHECKS_IN_REQUEST\x10\x15\x120\n" +
	",ERROR_REASON_EXCEEDS_MAXIMUM_ALLOWABLE_LIMIT\x10\x16\x12\x1f\n" +
	"\x1bERROR_REASON_INVALID_FILTER\x10\x17\x125\n" +
	"1ERROR_REASON_INMEMORY_TOO_MANY_CONCURRENT_UPDATES\x10\x18\x12#\n" +
	"\x1fERROR_REASON_EMPTY_PRECONDITION\x10\x19\x12+\n" +
	"'ERROR_REASON_COUNTER_ALREADY_REGISTERED\x10\x1a\x12'\n" +
	"#ERROR_REASON_COUNTER_NOT_REGISTERED\x10\x1b\x12%\n" +
	"!ERROR_REASON_WILDCARD_NOT_ALLOWED\x10\x1c\x12/\n" +
	"+ERROR_REASON_TRANSACTION_METADATA_TOO_LARGE\x10\x1dBJ\n" +
	"\x12com.authzed.api.v1P\x01Z2github.com/authzed/authzed-go/proto/authzed/api/v1b\x06proto3"

var (
	file_authzed_api_v1_error_reason_proto_rawDescOnce sync.Once
	file_authzed_api_v1_error_reason_proto_rawDescData []byte
)

func file_authzed_api_v1_error_reason_proto_rawDescGZIP() []byte {
	file_authzed_api_v1_error_reason_proto_rawDescOnce.Do(func() {
		file_authzed_api_v1_error_reason_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_authzed_api_v1_error_reason_proto_rawDesc), len(file_authzed_api_v1_error_reason_proto_rawDesc)))
	})
	return file_authzed_api_v1_error_reason_proto_rawDescData
}

var file_authzed_api_v1_error_reason_proto_enumTypes = make([]protoimpl.EnumInfo, 1)
var file_authzed_api_v1_error_reason_proto_goTypes = []any{
	(ErrorReason)(0), // 0: authzed.api.v1.ErrorReason
}
var file_authzed_api_v1_error_reason_proto_depIdxs = []int32{
	0, // [0:0] is the sub-list for method output_type
	0, // [0:0] is the sub-list for method input_type
	0, // [0:0] is the sub-list for extension type_name
	0, // [0:0] is the sub-list for extension extendee
	0, // [0:0] is the sub-list for field type_name
}

func init() { file_authzed_api_v1_error_reason_proto_init() }
func file_authzed_api_v1_error_reason_proto_init() {
	if File_authzed_api_v1_error_reason_proto != nil {
		return
	}
	type x struct{}
	out := protoimpl.TypeBuilder{
		File: protoimpl.DescBuilder{
			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
			RawDescriptor: unsafe.Slice(unsafe.StringData(file_authzed_api_v1_error_reason_proto_rawDesc), len(file_authzed_api_v1_error_reason_proto_rawDesc)),
			NumEnums:      1,
			NumMessages:   0,
			NumExtensions: 0,
			NumServices:   0,
		},
		GoTypes:           file_authzed_api_v1_error_reason_proto_goTypes,
		DependencyIndexes: file_authzed_api_v1_error_reason_proto_depIdxs,
		EnumInfos:         file_authzed_api_v1_error_reason_proto_enumTypes,
	}.Build()
	File_authzed_api_v1_error_reason_proto = out.File
	file_authzed_api_v1_error_reason_proto_goTypes = nil
	file_authzed_api_v1_error_reason_proto_depIdxs = nil
}
