github.com/litesolutions/justifay-api@v1.0.0-2.0.20220707114139-46f28a909481/proto/user/address.validator.pb.go (about)

     1  // Code generated by protoc-gen-gogo. DO NOT EDIT.
     2  // source: user/address.proto
     3  
     4  package user
     5  
     6  import (
     7  	fmt "fmt"
     8  	math "math"
     9  	proto "github.com/golang/protobuf/proto"
    10  	_ "google.golang.org/protobuf/types/known/structpb"
    11  	_ "google.golang.org/genproto/googleapis/api/annotations"
    12  	_ "github.com/grpc-ecosystem/grpc-gateway/v2/protoc-gen-openapiv2/options"
    13  	github_com_mwitkow_go_proto_validators "github.com/mwitkow/go-proto-validators"
    14  )
    15  
    16  // Reference imports to suppress errors if they are not otherwise used.
    17  var _ = proto.Marshal
    18  var _ = fmt.Errorf
    19  var _ = math.Inf
    20  
    21  func (this *AddressQuery) Validate() error {
    22  	return nil
    23  }
    24  func (this *AddressResults) Validate() error {
    25  	for _, item := range this.Hits {
    26  		if item != nil {
    27  			if err := github_com_mwitkow_go_proto_validators.CallValidatorIfExists(item); err != nil {
    28  				return github_com_mwitkow_go_proto_validators.FieldError("Hits", err)
    29  			}
    30  		}
    31  	}
    32  	return nil
    33  }
    34  func (this *AddressResult) Validate() error {
    35  	// Validation of proto3 map<> fields is unsupported.
    36  	// Validation of proto3 map<> fields is unsupported.
    37  	// Validation of proto3 map<> fields is unsupported.
    38  	// Validation of proto3 map<> fields is unsupported.
    39  	return nil
    40  }