forked from twitchtv/twirp
/
snake_case_names.pb.go
175 lines (151 loc) · 6.73 KB
/
snake_case_names.pb.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
// Code generated by protoc-gen-go. DO NOT EDIT.
// source: snake_case_names.proto
// Test that protoc-gen-twirp follows the same behavior as protoc-gen-go
// for converting RPCs and message names from snake case to camel case.
package snake_case_names
import (
fmt "fmt"
proto "github.com/golang/protobuf/proto"
math "math"
)
// Reference imports to suppress errors if they are not otherwise used.
var _ = proto.Marshal
var _ = fmt.Errorf
var _ = math.Inf
// This is a compile-time assertion to ensure that this generated file
// is compatible with the proto package it is being compiled against.
// A compilation error at this line likely means your copy of the
// proto package needs to be updated.
const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package
type MakeHatArgsV1 struct {
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *MakeHatArgsV1) Reset() { *m = MakeHatArgsV1{} }
func (m *MakeHatArgsV1) String() string { return proto.CompactTextString(m) }
func (*MakeHatArgsV1) ProtoMessage() {}
func (*MakeHatArgsV1) Descriptor() ([]byte, []int) {
return fileDescriptor_c768f27eb22a6056, []int{0}
}
func (m *MakeHatArgsV1) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_MakeHatArgsV1.Unmarshal(m, b)
}
func (m *MakeHatArgsV1) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_MakeHatArgsV1.Marshal(b, m, deterministic)
}
func (m *MakeHatArgsV1) XXX_Merge(src proto.Message) {
xxx_messageInfo_MakeHatArgsV1.Merge(m, src)
}
func (m *MakeHatArgsV1) XXX_Size() int {
return xxx_messageInfo_MakeHatArgsV1.Size(m)
}
func (m *MakeHatArgsV1) XXX_DiscardUnknown() {
xxx_messageInfo_MakeHatArgsV1.DiscardUnknown(m)
}
var xxx_messageInfo_MakeHatArgsV1 proto.InternalMessageInfo
type MakeHatArgsV1_HatV1 struct {
Size int32 `protobuf:"varint,1,opt,name=size,proto3" json:"size,omitempty"`
Color string `protobuf:"bytes,2,opt,name=color,proto3" json:"color,omitempty"`
Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *MakeHatArgsV1_HatV1) Reset() { *m = MakeHatArgsV1_HatV1{} }
func (m *MakeHatArgsV1_HatV1) String() string { return proto.CompactTextString(m) }
func (*MakeHatArgsV1_HatV1) ProtoMessage() {}
func (*MakeHatArgsV1_HatV1) Descriptor() ([]byte, []int) {
return fileDescriptor_c768f27eb22a6056, []int{0, 0}
}
func (m *MakeHatArgsV1_HatV1) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_MakeHatArgsV1_HatV1.Unmarshal(m, b)
}
func (m *MakeHatArgsV1_HatV1) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_MakeHatArgsV1_HatV1.Marshal(b, m, deterministic)
}
func (m *MakeHatArgsV1_HatV1) XXX_Merge(src proto.Message) {
xxx_messageInfo_MakeHatArgsV1_HatV1.Merge(m, src)
}
func (m *MakeHatArgsV1_HatV1) XXX_Size() int {
return xxx_messageInfo_MakeHatArgsV1_HatV1.Size(m)
}
func (m *MakeHatArgsV1_HatV1) XXX_DiscardUnknown() {
xxx_messageInfo_MakeHatArgsV1_HatV1.DiscardUnknown(m)
}
var xxx_messageInfo_MakeHatArgsV1_HatV1 proto.InternalMessageInfo
func (m *MakeHatArgsV1_HatV1) GetSize() int32 {
if m != nil {
return m.Size
}
return 0
}
func (m *MakeHatArgsV1_HatV1) GetColor() string {
if m != nil {
return m.Color
}
return ""
}
func (m *MakeHatArgsV1_HatV1) GetName() string {
if m != nil {
return m.Name
}
return ""
}
type MakeHatArgsV1_SizeV1 struct {
Inches int32 `protobuf:"varint,1,opt,name=inches,proto3" json:"inches,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *MakeHatArgsV1_SizeV1) Reset() { *m = MakeHatArgsV1_SizeV1{} }
func (m *MakeHatArgsV1_SizeV1) String() string { return proto.CompactTextString(m) }
func (*MakeHatArgsV1_SizeV1) ProtoMessage() {}
func (*MakeHatArgsV1_SizeV1) Descriptor() ([]byte, []int) {
return fileDescriptor_c768f27eb22a6056, []int{0, 1}
}
func (m *MakeHatArgsV1_SizeV1) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_MakeHatArgsV1_SizeV1.Unmarshal(m, b)
}
func (m *MakeHatArgsV1_SizeV1) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_MakeHatArgsV1_SizeV1.Marshal(b, m, deterministic)
}
func (m *MakeHatArgsV1_SizeV1) XXX_Merge(src proto.Message) {
xxx_messageInfo_MakeHatArgsV1_SizeV1.Merge(m, src)
}
func (m *MakeHatArgsV1_SizeV1) XXX_Size() int {
return xxx_messageInfo_MakeHatArgsV1_SizeV1.Size(m)
}
func (m *MakeHatArgsV1_SizeV1) XXX_DiscardUnknown() {
xxx_messageInfo_MakeHatArgsV1_SizeV1.DiscardUnknown(m)
}
var xxx_messageInfo_MakeHatArgsV1_SizeV1 proto.InternalMessageInfo
func (m *MakeHatArgsV1_SizeV1) GetInches() int32 {
if m != nil {
return m.Inches
}
return 0
}
func init() {
proto.RegisterType((*MakeHatArgsV1)(nil), "twirp.internal.twirptest.snake_case_names.MakeHatArgs_v1")
proto.RegisterType((*MakeHatArgsV1_HatV1)(nil), "twirp.internal.twirptest.snake_case_names.MakeHatArgs_v1.Hat_v1")
proto.RegisterType((*MakeHatArgsV1_SizeV1)(nil), "twirp.internal.twirptest.snake_case_names.MakeHatArgs_v1.Size_v1")
}
func init() { proto.RegisterFile("snake_case_names.proto", fileDescriptor_c768f27eb22a6056) }
var fileDescriptor_c768f27eb22a6056 = []byte{
// 224 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x12, 0x2b, 0xce, 0x4b, 0xcc,
0x4e, 0x8d, 0x4f, 0x4e, 0x2c, 0x4e, 0x8d, 0xcf, 0x4b, 0xcc, 0x4d, 0x2d, 0xd6, 0x2b, 0x28, 0xca,
0x2f, 0xc9, 0x17, 0xd2, 0x2c, 0x29, 0xcf, 0x2c, 0x2a, 0xd0, 0xcb, 0xcc, 0x2b, 0x49, 0x2d, 0xca,
0x4b, 0xcc, 0xd1, 0x03, 0x73, 0x4b, 0x52, 0x8b, 0x4b, 0xf4, 0xd0, 0x35, 0x28, 0x55, 0x73, 0xf1,
0xf9, 0x26, 0x66, 0xa7, 0x7a, 0x24, 0x96, 0x38, 0x16, 0xa5, 0x17, 0xc7, 0x97, 0x19, 0x4a, 0xb9,
0x71, 0xb1, 0x79, 0x24, 0x96, 0xc4, 0x97, 0x19, 0x0a, 0x09, 0x71, 0xb1, 0x14, 0x67, 0x56, 0xa5,
0x4a, 0x30, 0x2a, 0x30, 0x6a, 0xb0, 0x06, 0x81, 0xd9, 0x42, 0x22, 0x5c, 0xac, 0xc9, 0xf9, 0x39,
0xf9, 0x45, 0x12, 0x4c, 0x0a, 0x8c, 0x1a, 0x9c, 0x41, 0x10, 0x0e, 0x48, 0x25, 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