github.com/dbernstein1/tyk@v2.9.0-beta9-dl-apic+incompatible/coprocess/coprocess_common.pb.go (about)

     1  // Code generated by protoc-gen-go. DO NOT EDIT.
     2  // source: coprocess_common.proto
     3  
     4  package coprocess
     5  
     6  import (
     7  	fmt "fmt"
     8  	math "math"
     9  
    10  	proto "github.com/golang/protobuf/proto"
    11  )
    12  
    13  // Reference imports to suppress errors if they are not otherwise used.
    14  var _ = proto.Marshal
    15  var _ = fmt.Errorf
    16  var _ = math.Inf
    17  
    18  // This is a compile-time assertion to ensure that this generated file
    19  // is compatible with the proto package it is being compiled against.
    20  // A compilation error at this line likely means your copy of the
    21  // proto package needs to be updated.
    22  const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package
    23  
    24  type HookType int32
    25  
    26  const (
    27  	HookType_Unknown        HookType = 0
    28  	HookType_Pre            HookType = 1
    29  	HookType_Post           HookType = 2
    30  	HookType_PostKeyAuth    HookType = 3
    31  	HookType_CustomKeyCheck HookType = 4
    32  )
    33  
    34  var HookType_name = map[int32]string{
    35  	0: "Unknown",
    36  	1: "Pre",
    37  	2: "Post",
    38  	3: "PostKeyAuth",
    39  	4: "CustomKeyCheck",
    40  }
    41  
    42  var HookType_value = map[string]int32{
    43  	"Unknown":        0,
    44  	"Pre":            1,
    45  	"Post":           2,
    46  	"PostKeyAuth":    3,
    47  	"CustomKeyCheck": 4,
    48  }
    49  
    50  func (x HookType) String() string {
    51  	return proto.EnumName(HookType_name, int32(x))
    52  }
    53  
    54  func (HookType) EnumDescriptor() ([]byte, []int) {
    55  	return fileDescriptor_ad9b17a8ddc1be7d, []int{0}
    56  }
    57  
    58  type StringSlice struct {
    59  	Items                []string `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"`
    60  	XXX_NoUnkeyedLiteral struct{} `json:"-"`
    61  	XXX_unrecognized     []byte   `json:"-"`
    62  	XXX_sizecache        int32    `json:"-"`
    63  }
    64  
    65  func (m *StringSlice) Reset()         { *m = StringSlice{} }
    66  func (m *StringSlice) String() string { return proto.CompactTextString(m) }
    67  func (*StringSlice) ProtoMessage()    {}
    68  func (*StringSlice) Descriptor() ([]byte, []int) {
    69  	return fileDescriptor_ad9b17a8ddc1be7d, []int{0}
    70  }
    71  
    72  func (m *StringSlice) XXX_Unmarshal(b []byte) error {
    73  	return xxx_messageInfo_StringSlice.Unmarshal(m, b)
    74  }
    75  func (m *StringSlice) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
    76  	return xxx_messageInfo_StringSlice.Marshal(b, m, deterministic)
    77  }
    78  func (m *StringSlice) XXX_Merge(src proto.Message) {
    79  	xxx_messageInfo_StringSlice.Merge(m, src)
    80  }
    81  func (m *StringSlice) XXX_Size() int {
    82  	return xxx_messageInfo_StringSlice.Size(m)
    83  }
    84  func (m *StringSlice) XXX_DiscardUnknown() {
    85  	xxx_messageInfo_StringSlice.DiscardUnknown(m)
    86  }
    87  
    88  var xxx_messageInfo_StringSlice proto.InternalMessageInfo
    89  
    90  func (m *StringSlice) GetItems() []string {
    91  	if m != nil {
    92  		return m.Items
    93  	}
    94  	return nil
    95  }
    96  
    97  func init() {
    98  	proto.RegisterEnum("coprocess.HookType", HookType_name, HookType_value)
    99  	proto.RegisterType((*StringSlice)(nil), "coprocess.StringSlice")
   100  }
   101  
   102  func init() { proto.RegisterFile("coprocess_common.proto", fileDescriptor_ad9b17a8ddc1be7d) }
   103  
   104  var fileDescriptor_ad9b17a8ddc1be7d = []byte{
   105  	// 167 bytes of a gzipped FileDescriptorProto
   106  	0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x3c, 0x8e, 0xb1, 0x0a, 0xc2, 0x30,
   107  	0x10, 0x40, 0xad, 0xad, 0xb6, 0xbd, 0x82, 0x86, 0x43, 0xc4, 0x51, 0x74, 0x11, 0x07, 0x17, 0xbf,
   108  	0x40, 0xba, 0x08, 0x1d, 0x2c, 0x56, 0x67, 0xc1, 0x70, 0xd8, 0x52, 0x93, 0x2b, 0x49, 0x8a, 0xe4,
   109  	0xef, 0x45, 0x05, 0xb7, 0xf7, 0xde, 0xf4, 0x60, 0x2e, 0xb9, 0x33, 0x2c, 0xc9, 0xda, 0x9b, 0x64,
   110  	0xa5, 0x58, 0xef, 0x3a, 0xc3, 0x8e, 0x31, 0xfd, 0xf7, 0xd5, 0x1a, 0xb2, 0xca, 0x99, 0x46, 0x3f,
   111  	0xaa, 0x67, 0x23, 0x09, 0x67, 0x30, 0x6a, 0x1c, 0x29, 0xbb, 0x08, 0x96, 0xe1, 0x26, 0x3d, 0xff,
   112  	0x64, 0x7b, 0x82, 0xe4, 0xc8, 0xdc, 0x5e, 0x7c, 0x47, 0x98, 0x41, 0x7c, 0xd5, 0xad, 0xe6, 0x97,
   113  	0x16, 0x03, 0x8c, 0x21, 0x2c, 0x0d, 0x89, 0x00, 0x13, 0x88, 0x4a, 0xb6, 0x4e, 0x0c, 0x71, 0x0a,
   114  	0xd9, 0x87, 0x0a, 0xf2, 0x87, 0xde, 0xd5, 0x22, 0x44, 0x84, 0x49, 0xde, 0x5b, 0xc7, 0xaa, 0x20,
   115  	0x9f, 0xd7, 0x24, 0x5b, 0x11, 0xdd, 0xc7, 0xdf, 0x8f, 0xfd, 0x3b, 0x00, 0x00, 0xff, 0xff, 0xbf,
   116  	0x7b, 0x4f, 0xde, 0xa1, 0x00, 0x00, 0x00,
   117  }