github.com/resonatecoop/user-api@v1.0.0-13.0.20220915120639-05dc9c04014a/proto/validator.pb.go (about)

     1  // Copyright 2016 Michal Witkowski. All Rights Reserved.
     2  // See LICENSE for licensing terms.
     3  
     4  // Protocol Buffers extensions for defining auto-generateable validators for messages.
     5  
     6  // TODO(mwitkow): Add example.
     7  
     8  // Code generated by protoc-gen-go. DO NOT EDIT.
     9  // versions:
    10  // 	protoc-gen-go v1.25.0-devel
    11  // 	protoc        v3.13.0
    12  // source: validator.proto
    13  
    14  package validator
    15  
    16  import (
    17  	descriptor "github.com/golang/protobuf/protoc-gen-go/descriptor"
    18  	protoreflect "google.golang.org/protobuf/reflect/protoreflect"
    19  	protoimpl "google.golang.org/protobuf/runtime/protoimpl"
    20  	reflect "reflect"
    21  	sync "sync"
    22  )
    23  
    24  const (
    25  	// Verify that this generated code is sufficiently up-to-date.
    26  	_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
    27  	// Verify that runtime/protoimpl is sufficiently up-to-date.
    28  	_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
    29  )
    30  
    31  type FieldValidator struct {
    32  	state         protoimpl.MessageState
    33  	sizeCache     protoimpl.SizeCache
    34  	unknownFields protoimpl.UnknownFields
    35  
    36  	// Uses a Golang RE2-syntax regex to match the field contents.
    37  	Regex *string `protobuf:"bytes,1,opt,name=regex" json:"regex,omitempty"`
    38  	// Field value of integer strictly greater than this value.
    39  	IntGt *int64 `protobuf:"varint,2,opt,name=int_gt,json=intGt" json:"int_gt,omitempty"`
    40  	// Field value of integer strictly smaller than this value.
    41  	IntLt *int64 `protobuf:"varint,3,opt,name=int_lt,json=intLt" json:"int_lt,omitempty"`
    42  	// Used for nested message types, requires that the message type exists.
    43  	MsgExists *bool `protobuf:"varint,4,opt,name=msg_exists,json=msgExists" json:"msg_exists,omitempty"`
    44  	// Human error specifies a user-customizable error that is visible to the user.
    45  	HumanError *string `protobuf:"bytes,5,opt,name=human_error,json=humanError" json:"human_error,omitempty"`
    46  	// Field value of double strictly greater than this value.
    47  	// Note that this value can only take on a valid floating point
    48  	// value. Use together with float_epsilon if you need something more specific.
    49  	FloatGt *float64 `protobuf:"fixed64,6,opt,name=float_gt,json=floatGt" json:"float_gt,omitempty"`
    50  	// Field value of double strictly smaller than this value.
    51  	// Note that this value can only take on a valid floating point
    52  	// value. Use together with float_epsilon if you need something more specific.
    53  	FloatLt *float64 `protobuf:"fixed64,7,opt,name=float_lt,json=floatLt" json:"float_lt,omitempty"`
    54  	// Field value of double describing the epsilon within which
    55  	// any comparison should be considered to be true. For example,
    56  	// when using float_gt = 0.35, using a float_epsilon of 0.05
    57  	// would mean that any value above 0.30 is acceptable. It can be
    58  	// thought of as a {float_value_condition} +- {float_epsilon}.
    59  	// If unset, no correction for floating point inaccuracies in
    60  	// comparisons will be attempted.
    61  	FloatEpsilon *float64 `protobuf:"fixed64,8,opt,name=float_epsilon,json=floatEpsilon" json:"float_epsilon,omitempty"`
    62  	// Floating-point value compared to which the field content should be greater or equal.
    63  	FloatGte *float64 `protobuf:"fixed64,9,opt,name=float_gte,json=floatGte" json:"float_gte,omitempty"`
    64  	// Floating-point value compared to which the field content should be smaller or equal.
    65  	FloatLte *float64 `protobuf:"fixed64,10,opt,name=float_lte,json=floatLte" json:"float_lte,omitempty"`
    66  	// Used for string fields, requires the string to be not empty (i.e different from "").
    67  	StringNotEmpty *bool `protobuf:"varint,11,opt,name=string_not_empty,json=stringNotEmpty" json:"string_not_empty,omitempty"`
    68  	// Repeated field with at least this number of elements.
    69  	RepeatedCountMin *int64 `protobuf:"varint,12,opt,name=repeated_count_min,json=repeatedCountMin" json:"repeated_count_min,omitempty"`
    70  	// Repeated field with at most this number of elements.
    71  	RepeatedCountMax *int64 `protobuf:"varint,13,opt,name=repeated_count_max,json=repeatedCountMax" json:"repeated_count_max,omitempty"`
    72  	// Field value of length greater than this value.
    73  	LengthGt *int64 `protobuf:"varint,14,opt,name=length_gt,json=lengthGt" json:"length_gt,omitempty"`
    74  	// Field value of length smaller than this value.
    75  	LengthLt *int64 `protobuf:"varint,15,opt,name=length_lt,json=lengthLt" json:"length_lt,omitempty"`
    76  	// Field value of length strictly equal to this value.
    77  	LengthEq *int64 `protobuf:"varint,16,opt,name=length_eq,json=lengthEq" json:"length_eq,omitempty"`
    78  	// Requires that the value is in the enum.
    79  	IsInEnum *bool `protobuf:"varint,17,opt,name=is_in_enum,json=isInEnum" json:"is_in_enum,omitempty"`
    80  	// Ensures that a string value is in UUID format.
    81  	// uuid_ver specifies the valid UUID versions. Valid values are: 0-5.
    82  	// If uuid_ver is 0 all UUID versions are accepted.
    83  	UuidVer *int32 `protobuf:"varint,18,opt,name=uuid_ver,json=uuidVer" json:"uuid_ver,omitempty"`
    84  }
    85  
    86  func (x *FieldValidator) Reset() {
    87  	*x = FieldValidator{}
    88  	if protoimpl.UnsafeEnabled {
    89  		mi := &file_validator_proto_msgTypes[0]
    90  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
    91  		ms.StoreMessageInfo(mi)
    92  	}
    93  }
    94  
    95  func (x *FieldValidator) String() string {
    96  	return protoimpl.X.MessageStringOf(x)
    97  }
    98  
    99  func (*FieldValidator) ProtoMessage() {}
   100  
   101  func (x *FieldValidator) ProtoReflect() protoreflect.Message {
   102  	mi := &file_validator_proto_msgTypes[0]
   103  	if protoimpl.UnsafeEnabled && x != nil {
   104  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   105  		if ms.LoadMessageInfo() == nil {
   106  			ms.StoreMessageInfo(mi)
   107  		}
   108  		return ms
   109  	}
   110  	return mi.MessageOf(x)
   111  }
   112  
   113  // Deprecated: Use FieldValidator.ProtoReflect.Descriptor instead.
   114  func (*FieldValidator) Descriptor() ([]byte, []int) {
   115  	return file_validator_proto_rawDescGZIP(), []int{0}
   116  }
   117  
   118  func (x *FieldValidator) GetRegex() string {
   119  	if x != nil && x.Regex != nil {
   120  		return *x.Regex
   121  	}
   122  	return ""
   123  }
   124  
   125  func (x *FieldValidator) GetIntGt() int64 {
   126  	if x != nil && x.IntGt != nil {
   127  		return *x.IntGt
   128  	}
   129  	return 0
   130  }
   131  
   132  func (x *FieldValidator) GetIntLt() int64 {
   133  	if x != nil && x.IntLt != nil {
   134  		return *x.IntLt
   135  	}
   136  	return 0
   137  }
   138  
   139  func (x *FieldValidator) GetMsgExists() bool {
   140  	if x != nil && x.MsgExists != nil {
   141  		return *x.MsgExists
   142  	}
   143  	return false
   144  }
   145  
   146  func (x *FieldValidator) GetHumanError() string {
   147  	if x != nil && x.HumanError != nil {
   148  		return *x.HumanError
   149  	}
   150  	return ""
   151  }
   152  
   153  func (x *FieldValidator) GetFloatGt() float64 {
   154  	if x != nil && x.FloatGt != nil {
   155  		return *x.FloatGt
   156  	}
   157  	return 0
   158  }
   159  
   160  func (x *FieldValidator) GetFloatLt() float64 {
   161  	if x != nil && x.FloatLt != nil {
   162  		return *x.FloatLt
   163  	}
   164  	return 0
   165  }
   166  
   167  func (x *FieldValidator) GetFloatEpsilon() float64 {
   168  	if x != nil && x.FloatEpsilon != nil {
   169  		return *x.FloatEpsilon
   170  	}
   171  	return 0
   172  }
   173  
   174  func (x *FieldValidator) GetFloatGte() float64 {
   175  	if x != nil && x.FloatGte != nil {
   176  		return *x.FloatGte
   177  	}
   178  	return 0
   179  }
   180  
   181  func (x *FieldValidator) GetFloatLte() float64 {
   182  	if x != nil && x.FloatLte != nil {
   183  		return *x.FloatLte
   184  	}
   185  	return 0
   186  }
   187  
   188  func (x *FieldValidator) GetStringNotEmpty() bool {
   189  	if x != nil && x.StringNotEmpty != nil {
   190  		return *x.StringNotEmpty
   191  	}
   192  	return false
   193  }
   194  
   195  func (x *FieldValidator) GetRepeatedCountMin() int64 {
   196  	if x != nil && x.RepeatedCountMin != nil {
   197  		return *x.RepeatedCountMin
   198  	}
   199  	return 0
   200  }
   201  
   202  func (x *FieldValidator) GetRepeatedCountMax() int64 {
   203  	if x != nil && x.RepeatedCountMax != nil {
   204  		return *x.RepeatedCountMax
   205  	}
   206  	return 0
   207  }
   208  
   209  func (x *FieldValidator) GetLengthGt() int64 {
   210  	if x != nil && x.LengthGt != nil {
   211  		return *x.LengthGt
   212  	}
   213  	return 0
   214  }
   215  
   216  func (x *FieldValidator) GetLengthLt() int64 {
   217  	if x != nil && x.LengthLt != nil {
   218  		return *x.LengthLt
   219  	}
   220  	return 0
   221  }
   222  
   223  func (x *FieldValidator) GetLengthEq() int64 {
   224  	if x != nil && x.LengthEq != nil {
   225  		return *x.LengthEq
   226  	}
   227  	return 0
   228  }
   229  
   230  func (x *FieldValidator) GetIsInEnum() bool {
   231  	if x != nil && x.IsInEnum != nil {
   232  		return *x.IsInEnum
   233  	}
   234  	return false
   235  }
   236  
   237  func (x *FieldValidator) GetUuidVer() int32 {
   238  	if x != nil && x.UuidVer != nil {
   239  		return *x.UuidVer
   240  	}
   241  	return 0
   242  }
   243  
   244  type OneofValidator struct {
   245  	state         protoimpl.MessageState
   246  	sizeCache     protoimpl.SizeCache
   247  	unknownFields protoimpl.UnknownFields
   248  
   249  	// Require that one of the oneof fields is set.
   250  	Required *bool `protobuf:"varint,1,opt,name=required" json:"required,omitempty"`
   251  }
   252  
   253  func (x *OneofValidator) Reset() {
   254  	*x = OneofValidator{}
   255  	if protoimpl.UnsafeEnabled {
   256  		mi := &file_validator_proto_msgTypes[1]
   257  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   258  		ms.StoreMessageInfo(mi)
   259  	}
   260  }
   261  
   262  func (x *OneofValidator) String() string {
   263  	return protoimpl.X.MessageStringOf(x)
   264  }
   265  
   266  func (*OneofValidator) ProtoMessage() {}
   267  
   268  func (x *OneofValidator) ProtoReflect() protoreflect.Message {
   269  	mi := &file_validator_proto_msgTypes[1]
   270  	if protoimpl.UnsafeEnabled && x != nil {
   271  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   272  		if ms.LoadMessageInfo() == nil {
   273  			ms.StoreMessageInfo(mi)
   274  		}
   275  		return ms
   276  	}
   277  	return mi.MessageOf(x)
   278  }
   279  
   280  // Deprecated: Use OneofValidator.ProtoReflect.Descriptor instead.
   281  func (*OneofValidator) Descriptor() ([]byte, []int) {
   282  	return file_validator_proto_rawDescGZIP(), []int{1}
   283  }
   284  
   285  func (x *OneofValidator) GetRequired() bool {
   286  	if x != nil && x.Required != nil {
   287  		return *x.Required
   288  	}
   289  	return false
   290  }
   291  
   292  var file_validator_proto_extTypes = []protoimpl.ExtensionInfo{
   293  	{
   294  		ExtendedType:  (*descriptor.FieldOptions)(nil),
   295  		ExtensionType: (*FieldValidator)(nil),
   296  		Field:         65020,
   297  		Name:          "validator.field",
   298  		Tag:           "bytes,65020,opt,name=field",
   299  		Filename:      "validator.proto",
   300  	},
   301  	{
   302  		ExtendedType:  (*descriptor.OneofOptions)(nil),
   303  		ExtensionType: (*OneofValidator)(nil),
   304  		Field:         65021,
   305  		Name:          "validator.oneof",
   306  		Tag:           "bytes,65021,opt,name=oneof",
   307  		Filename:      "validator.proto",
   308  	},
   309  }
   310  
   311  // Extension fields to descriptor.FieldOptions.
   312  var (
   313  	// optional validator.FieldValidator field = 65020;
   314  	E_Field = &file_validator_proto_extTypes[0]
   315  )
   316  
   317  // Extension fields to descriptor.OneofOptions.
   318  var (
   319  	// optional validator.OneofValidator oneof = 65021;
   320  	E_Oneof = &file_validator_proto_extTypes[1]
   321  )
   322  
   323  var File_validator_proto protoreflect.FileDescriptor
   324  
   325  var file_validator_proto_rawDesc = []byte{
   326  	0x0a, 0x0f, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74,
   327  	0x6f, 0x12, 0x09, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x6f, 0x72, 0x1a, 0x20, 0x67, 0x6f,
   328  	0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x64, 0x65,
   329  	0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xbf,
   330  	0x04, 0x0a, 0x0e, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x6f,
   331  	0x72, 0x12, 0x14, 0x0a, 0x05, 0x72, 0x65, 0x67, 0x65, 0x78, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09,
   332  	0x52, 0x05, 0x72, 0x65, 0x67, 0x65, 0x78, 0x12, 0x15, 0x0a, 0x06, 0x69, 0x6e, 0x74, 0x5f, 0x67,
   333  	0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x69, 0x6e, 0x74, 0x47, 0x74, 0x12, 0x15,
   334  	0x0a, 0x06, 0x69, 0x6e, 0x74, 0x5f, 0x6c, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05,
   335  	0x69, 0x6e, 0x74, 0x4c, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x6d, 0x73, 0x67, 0x5f, 0x65, 0x78, 0x69,
   336  	0x73, 0x74, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x09, 0x6d, 0x73, 0x67, 0x45, 0x78,
   337  	0x69, 0x73, 0x74, 0x73, 0x12, 0x1f, 0x0a, 0x0b, 0x68, 0x75, 0x6d, 0x61, 0x6e, 0x5f, 0x65, 0x72,
   338  	0x72, 0x6f, 0x72, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x68, 0x75, 0x6d, 0x61, 0x6e,
   339  	0x45, 0x72, 0x72, 0x6f, 0x72, 0x12, 0x19, 0x0a, 0x08, 0x66, 0x6c, 0x6f, 0x61, 0x74, 0x5f, 0x67,
   340  	0x74, 0x18, 0x06, 0x20, 0x01, 0x28, 0x01, 0x52, 0x07, 0x66, 0x6c, 0x6f, 0x61, 0x74, 0x47, 0x74,
   341  	0x12, 0x19, 0x0a, 0x08, 0x66, 0x6c, 0x6f, 0x61, 0x74, 0x5f, 0x6c, 0x74, 0x18, 0x07, 0x20, 0x01,
   342  	0x28, 0x01, 0x52, 0x07, 0x66, 0x6c, 0x6f, 0x61, 0x74, 0x4c, 0x74, 0x12, 0x23, 0x0a, 0x0d, 0x66,
   343  	0x6c, 0x6f, 0x61, 0x74, 0x5f, 0x65, 0x70, 0x73, 0x69, 0x6c, 0x6f, 0x6e, 0x18, 0x08, 0x20, 0x01,
   344  	0x28, 0x01, 0x52, 0x0c, 0x66, 0x6c, 0x6f, 0x61, 0x74, 0x45, 0x70, 0x73, 0x69, 0x6c, 0x6f, 0x6e,
   345  	0x12, 0x1b, 0x0a, 0x09, 0x66, 0x6c, 0x6f, 0x61, 0x74, 0x5f, 0x67, 0x74, 0x65, 0x18, 0x09, 0x20,
   346  	0x01, 0x28, 0x01, 0x52, 0x08, 0x66, 0x6c, 0x6f, 0x61, 0x74, 0x47, 0x74, 0x65, 0x12, 0x1b, 0x0a,
   347  	0x09, 0x66, 0x6c, 0x6f, 0x61, 0x74, 0x5f, 0x6c, 0x74, 0x65, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x01,
   348  	0x52, 0x08, 0x66, 0x6c, 0x6f, 0x61, 0x74, 0x4c, 0x74, 0x65, 0x12, 0x28, 0x0a, 0x10, 0x73, 0x74,
   349  	0x72, 0x69, 0x6e, 0x67, 0x5f, 0x6e, 0x6f, 0x74, 0x5f, 0x65, 0x6d, 0x70, 0x74, 0x79, 0x18, 0x0b,
   350  	0x20, 0x01, 0x28, 0x08, 0x52, 0x0e, 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x4e, 0x6f, 0x74, 0x45,
   351  	0x6d, 0x70, 0x74, 0x79, 0x12, 0x2c, 0x0a, 0x12, 0x72, 0x65, 0x70, 0x65, 0x61, 0x74, 0x65, 0x64,
   352  	0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x5f, 0x6d, 0x69, 0x6e, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x03,
   353  	0x52, 0x10, 0x72, 0x65, 0x70, 0x65, 0x61, 0x74, 0x65, 0x64, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x4d,
   354  	0x69, 0x6e, 0x12, 0x2c, 0x0a, 0x12, 0x72, 0x65, 0x70, 0x65, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x63,
   355  	0x6f, 0x75, 0x6e, 0x74, 0x5f, 0x6d, 0x61, 0x78, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x03, 0x52, 0x10,
   356  	0x72, 0x65, 0x70, 0x65, 0x61, 0x74, 0x65, 0x64, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x4d, 0x61, 0x78,
   357  	0x12, 0x1b, 0x0a, 0x09, 0x6c, 0x65, 0x6e, 0x67, 0x74, 0x68, 0x5f, 0x67, 0x74, 0x18, 0x0e, 0x20,
   358  	0x01, 0x28, 0x03, 0x52, 0x08, 0x6c, 0x65, 0x6e, 0x67, 0x74, 0x68, 0x47, 0x74, 0x12, 0x1b, 0x0a,
   359  	0x09, 0x6c, 0x65, 0x6e, 0x67, 0x74, 0x68, 0x5f, 0x6c, 0x74, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x03,
   360  	0x52, 0x08, 0x6c, 0x65, 0x6e, 0x67, 0x74, 0x68, 0x4c, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x6c, 0x65,
   361  	0x6e, 0x67, 0x74, 0x68, 0x5f, 0x65, 0x71, 0x18, 0x10, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x6c,
   362  	0x65, 0x6e, 0x67, 0x74, 0x68, 0x45, 0x71, 0x12, 0x1c, 0x0a, 0x0a, 0x69, 0x73, 0x5f, 0x69, 0x6e,
   363  	0x5f, 0x65, 0x6e, 0x75, 0x6d, 0x18, 0x11, 0x20, 0x01, 0x28, 0x08, 0x52, 0x08, 0x69, 0x73, 0x49,
   364  	0x6e, 0x45, 0x6e, 0x75, 0x6d, 0x12, 0x19, 0x0a, 0x08, 0x75, 0x75, 0x69, 0x64, 0x5f, 0x76, 0x65,
   365  	0x72, 0x18, 0x12, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x75, 0x75, 0x69, 0x64, 0x56, 0x65, 0x72,
   366  	0x22, 0x2c, 0x0a, 0x0e, 0x4f, 0x6e, 0x65, 0x6f, 0x66, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74,
   367  	0x6f, 0x72, 0x12, 0x1a, 0x0a, 0x08, 0x72, 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 0x64, 0x18, 0x01,
   368  	0x20, 0x01, 0x28, 0x08, 0x52, 0x08, 0x72, 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 0x64, 0x3a, 0x50,
   369  	0x0a, 0x05, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x12, 0x1d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
   370  	0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x4f,
   371  	0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0xfc, 0xfb, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19,
   372  	0x2e, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x6f, 0x72, 0x2e, 0x46, 0x69, 0x65, 0x6c, 0x64,
   373  	0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x6f, 0x72, 0x52, 0x05, 0x66, 0x69, 0x65, 0x6c, 0x64,
   374  	0x3a, 0x50, 0x0a, 0x05, 0x6f, 0x6e, 0x65, 0x6f, 0x66, 0x12, 0x1d, 0x2e, 0x67, 0x6f, 0x6f, 0x67,
   375  	0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x4f, 0x6e, 0x65, 0x6f,
   376  	0x66, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0xfd, 0xfb, 0x03, 0x20, 0x01, 0x28, 0x0b,
   377  	0x32, 0x19, 0x2e, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x6f, 0x72, 0x2e, 0x4f, 0x6e, 0x65,
   378  	0x6f, 0x66, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x6f, 0x72, 0x52, 0x05, 0x6f, 0x6e, 0x65,
   379  	0x6f, 0x66, 0x42, 0x32, 0x5a, 0x30, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d,
   380  	0x2f, 0x6d, 0x77, 0x69, 0x74, 0x6b, 0x6f, 0x77, 0x2f, 0x67, 0x6f, 0x2d, 0x70, 0x72, 0x6f, 0x74,
   381  	0x6f, 0x2d, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x6f, 0x72, 0x73, 0x3b, 0x76, 0x61, 0x6c,
   382  	0x69, 0x64, 0x61, 0x74, 0x6f, 0x72,
   383  }
   384  
   385  var (
   386  	file_validator_proto_rawDescOnce sync.Once
   387  	file_validator_proto_rawDescData = file_validator_proto_rawDesc
   388  )
   389  
   390  func file_validator_proto_rawDescGZIP() []byte {
   391  	file_validator_proto_rawDescOnce.Do(func() {
   392  		file_validator_proto_rawDescData = protoimpl.X.CompressGZIP(file_validator_proto_rawDescData)
   393  	})
   394  	return file_validator_proto_rawDescData
   395  }
   396  
   397  var file_validator_proto_msgTypes = make([]protoimpl.MessageInfo, 2)
   398  var file_validator_proto_goTypes = []interface{}{
   399  	(*FieldValidator)(nil),          // 0: validator.FieldValidator
   400  	(*OneofValidator)(nil),          // 1: validator.OneofValidator
   401  	(*descriptor.FieldOptions)(nil), // 2: google.protobuf.FieldOptions
   402  	(*descriptor.OneofOptions)(nil), // 3: google.protobuf.OneofOptions
   403  }
   404  var file_validator_proto_depIdxs = []int32{
   405  	2, // 0: validator.field:extendee -> google.protobuf.FieldOptions
   406  	3, // 1: validator.oneof:extendee -> google.protobuf.OneofOptions
   407  	0, // 2: validator.field:type_name -> validator.FieldValidator
   408  	1, // 3: validator.oneof:type_name -> validator.OneofValidator
   409  	4, // [4:4] is the sub-list for method output_type
   410  	4, // [4:4] is the sub-list for method input_type
   411  	2, // [2:4] is the sub-list for extension type_name
   412  	0, // [0:2] is the sub-list for extension extendee
   413  	0, // [0:0] is the sub-list for field type_name
   414  }
   415  
   416  func init() { file_validator_proto_init() }
   417  func file_validator_proto_init() {
   418  	if File_validator_proto != nil {
   419  		return
   420  	}
   421  	if !protoimpl.UnsafeEnabled {
   422  		file_validator_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
   423  			switch v := v.(*FieldValidator); i {
   424  			case 0:
   425  				return &v.state
   426  			case 1:
   427  				return &v.sizeCache
   428  			case 2:
   429  				return &v.unknownFields
   430  			default:
   431  				return nil
   432  			}
   433  		}
   434  		file_validator_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
   435  			switch v := v.(*OneofValidator); i {
   436  			case 0:
   437  				return &v.state
   438  			case 1:
   439  				return &v.sizeCache
   440  			case 2:
   441  				return &v.unknownFields
   442  			default:
   443  				return nil
   444  			}
   445  		}
   446  	}
   447  	type x struct{}
   448  	out := protoimpl.TypeBuilder{
   449  		File: protoimpl.DescBuilder{
   450  			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
   451  			RawDescriptor: file_validator_proto_rawDesc,
   452  			NumEnums:      0,
   453  			NumMessages:   2,
   454  			NumExtensions: 2,
   455  			NumServices:   0,
   456  		},
   457  		GoTypes:           file_validator_proto_goTypes,
   458  		DependencyIndexes: file_validator_proto_depIdxs,
   459  		MessageInfos:      file_validator_proto_msgTypes,
   460  		ExtensionInfos:    file_validator_proto_extTypes,
   461  	}.Build()
   462  	File_validator_proto = out.File
   463  	file_validator_proto_rawDesc = nil
   464  	file_validator_proto_goTypes = nil
   465  	file_validator_proto_depIdxs = nil
   466  }