| // Code generated by protoc-gen-go. DO NOT EDIT. |
| // source: recipes/example.proto |
| |
| package recipes |
| |
| 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.ProtoPackageIsVersion3 // please upgrade the proto package |
| |
| type Example struct { |
| FieldA *Example_FieldA `protobuf:"bytes,1,opt,name=field_a,json=fieldA,proto3" json:"field_a,omitempty"` |
| XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| XXX_unrecognized []byte `json:"-"` |
| XXX_sizecache int32 `json:"-"` |
| } |
| |
| func (m *Example) Reset() { *m = Example{} } |
| func (m *Example) String() string { return proto.CompactTextString(m) } |
| func (*Example) ProtoMessage() {} |
| func (*Example) Descriptor() ([]byte, []int) { |
| return fileDescriptor_a131720fbcb681f7, []int{0} |
| } |
| |
| func (m *Example) XXX_Unmarshal(b []byte) error { |
| return xxx_messageInfo_Example.Unmarshal(m, b) |
| } |
| func (m *Example) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| return xxx_messageInfo_Example.Marshal(b, m, deterministic) |
| } |
| func (m *Example) XXX_Merge(src proto.Message) { |
| xxx_messageInfo_Example.Merge(m, src) |
| } |
| func (m *Example) XXX_Size() int { |
| return xxx_messageInfo_Example.Size(m) |
| } |
| func (m *Example) XXX_DiscardUnknown() { |
| xxx_messageInfo_Example.DiscardUnknown(m) |
| } |
| |
| var xxx_messageInfo_Example proto.InternalMessageInfo |
| |
| func (m *Example) GetFieldA() *Example_FieldA { |
| if m != nil { |
| return m.FieldA |
| } |
| return nil |
| } |
| |
| type Example_FieldA struct { |
| Value int64 `protobuf:"varint,1,opt,name=value,proto3" json:"value,omitempty"` |
| XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| XXX_unrecognized []byte `json:"-"` |
| XXX_sizecache int32 `json:"-"` |
| } |
| |
| func (m *Example_FieldA) Reset() { *m = Example_FieldA{} } |
| func (m *Example_FieldA) String() string { return proto.CompactTextString(m) } |
| func (*Example_FieldA) ProtoMessage() {} |
| func (*Example_FieldA) Descriptor() ([]byte, []int) { |
| return fileDescriptor_a131720fbcb681f7, []int{0, 0} |
| } |
| |
| func (m *Example_FieldA) XXX_Unmarshal(b []byte) error { |
| return xxx_messageInfo_Example_FieldA.Unmarshal(m, b) |
| } |
| func (m *Example_FieldA) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| return xxx_messageInfo_Example_FieldA.Marshal(b, m, deterministic) |
| } |
| func (m *Example_FieldA) XXX_Merge(src proto.Message) { |
| xxx_messageInfo_Example_FieldA.Merge(m, src) |
| } |
| func (m *Example_FieldA) XXX_Size() int { |
| return xxx_messageInfo_Example_FieldA.Size(m) |
| } |
| func (m *Example_FieldA) XXX_DiscardUnknown() { |
| xxx_messageInfo_Example_FieldA.DiscardUnknown(m) |
| } |
| |
| var xxx_messageInfo_Example_FieldA proto.InternalMessageInfo |
| |
| func (m *Example_FieldA) GetValue() int64 { |
| if m != nil { |
| return m.Value |
| } |
| return 0 |
| } |
| |
| func init() { |
| proto.RegisterType((*Example)(nil), "infra.example.Example") |
| proto.RegisterType((*Example_FieldA)(nil), "infra.example.Example.FieldA") |
| } |
| |
| func init() { proto.RegisterFile("recipes/example.proto", fileDescriptor_a131720fbcb681f7) } |
| |
| var fileDescriptor_a131720fbcb681f7 = []byte{ |
| // 131 bytes of a gzipped FileDescriptorProto |
| 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x12, 0x2d, 0x4a, 0x4d, 0xce, |
| 0x2c, 0x48, 0x2d, 0xd6, 0x4f, 0xad, 0x48, 0xcc, 0x2d, 0xc8, 0x49, 0xd5, 0x2b, 0x28, 0xca, 0x2f, |
| 0xc9, 0x17, 0xe2, 0xcd, 0xcc, 0x4b, 0x2b, 0x4a, 0xd4, 0x83, 0x0a, 0x2a, 0x25, 0x72, 0xb1, 0xbb, |
| 0x42, 0x98, 0x42, 0x66, 0x5c, 0xec, 0x69, 0x99, 0xa9, 0x39, 0x29, 0xf1, 0x89, 0x12, 0x8c, 0x0a, |
| 0x8c, 0x1a, 0xdc, 0x46, 0xb2, 0x7a, 0x28, 0x6a, 0xf5, 0xa0, 0x0a, 0xf5, 0xdc, 0x40, 0xaa, 0x1c, |
| 0x83, 0xd8, 0xc0, 0xaa, 0x1d, 0xa5, 0xe4, 0xb8, 0xd8, 0x20, 0x22, 0x42, 0x22, 0x5c, 0xac, 0x65, |
| 0x89, 0x39, 0xa5, 0xa9, 0x60, 0xfd, 0xcc, 0x41, 0x10, 0x8e, 0x13, 0x67, 0x14, 0x3b, 0xd4, 0x29, |
| 0x49, 0x6c, 0x60, 0x37, 0x18, 0x03, 0x02, 0x00, 0x00, 0xff, 0xff, 0x37, 0xe2, 0xac, 0xd6, 0x9c, |
| 0x00, 0x00, 0x00, |
| } |