mirror of https://github.com/grpc/grpc-go.git
126 lines
4.8 KiB
Go
126 lines
4.8 KiB
Go
// Code generated by protoc-gen-go. DO NOT EDIT.
|
|
// source: stats/grpc_testing/test.proto
|
|
|
|
package grpc_testing
|
|
|
|
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 SimpleRequest struct {
|
|
Id int32 `protobuf:"varint,2,opt,name=id,proto3" json:"id,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *SimpleRequest) Reset() { *m = SimpleRequest{} }
|
|
func (m *SimpleRequest) String() string { return proto.CompactTextString(m) }
|
|
func (*SimpleRequest) ProtoMessage() {}
|
|
func (*SimpleRequest) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_d7a50f7a8e9e8e09, []int{0}
|
|
}
|
|
|
|
func (m *SimpleRequest) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_SimpleRequest.Unmarshal(m, b)
|
|
}
|
|
func (m *SimpleRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_SimpleRequest.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *SimpleRequest) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_SimpleRequest.Merge(m, src)
|
|
}
|
|
func (m *SimpleRequest) XXX_Size() int {
|
|
return xxx_messageInfo_SimpleRequest.Size(m)
|
|
}
|
|
func (m *SimpleRequest) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_SimpleRequest.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_SimpleRequest proto.InternalMessageInfo
|
|
|
|
func (m *SimpleRequest) GetId() int32 {
|
|
if m != nil {
|
|
return m.Id
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type SimpleResponse struct {
|
|
Id int32 `protobuf:"varint,3,opt,name=id,proto3" json:"id,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *SimpleResponse) Reset() { *m = SimpleResponse{} }
|
|
func (m *SimpleResponse) String() string { return proto.CompactTextString(m) }
|
|
func (*SimpleResponse) ProtoMessage() {}
|
|
func (*SimpleResponse) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_d7a50f7a8e9e8e09, []int{1}
|
|
}
|
|
|
|
func (m *SimpleResponse) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_SimpleResponse.Unmarshal(m, b)
|
|
}
|
|
func (m *SimpleResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_SimpleResponse.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *SimpleResponse) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_SimpleResponse.Merge(m, src)
|
|
}
|
|
func (m *SimpleResponse) XXX_Size() int {
|
|
return xxx_messageInfo_SimpleResponse.Size(m)
|
|
}
|
|
func (m *SimpleResponse) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_SimpleResponse.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_SimpleResponse proto.InternalMessageInfo
|
|
|
|
func (m *SimpleResponse) GetId() int32 {
|
|
if m != nil {
|
|
return m.Id
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func init() {
|
|
proto.RegisterType((*SimpleRequest)(nil), "grpc.testing.SimpleRequest")
|
|
proto.RegisterType((*SimpleResponse)(nil), "grpc.testing.SimpleResponse")
|
|
}
|
|
|
|
func init() { proto.RegisterFile("stats/grpc_testing/test.proto", fileDescriptor_d7a50f7a8e9e8e09) }
|
|
|
|
var fileDescriptor_d7a50f7a8e9e8e09 = []byte{
|
|
// 233 bytes of a gzipped FileDescriptorProto
|
|
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x91, 0xcf, 0x4a, 0x03, 0x31,
|
|
0x10, 0xc6, 0x49, 0x44, 0xc1, 0x51, 0x17, 0xc9, 0x49, 0xfc, 0x83, 0xa5, 0xa7, 0x8a, 0x90, 0x2d,
|
|
0xfa, 0x06, 0x56, 0x7a, 0x2d, 0x74, 0xf5, 0xe2, 0x45, 0x62, 0x3b, 0x84, 0xc0, 0x34, 0x89, 0xc9,
|
|
0xac, 0xe8, 0x1b, 0xfa, 0x58, 0x92, 0xb2, 0x0b, 0x8a, 0xde, 0xd6, 0xd3, 0x1c, 0xbe, 0x8f, 0xdf,
|
|
0xc7, 0xf0, 0x83, 0x8b, 0xcc, 0x86, 0x73, 0x6d, 0x53, 0x5c, 0x3d, 0x33, 0x66, 0x76, 0xde, 0xd6,
|
|
0xe5, 0xea, 0x98, 0x02, 0x07, 0x75, 0x58, 0x02, 0xdd, 0x05, 0xe3, 0x4b, 0x38, 0x6a, 0xdc, 0x26,
|
|
0x12, 0x2e, 0xf1, 0xb5, 0xc5, 0xcc, 0xaa, 0x02, 0xe9, 0xd6, 0x27, 0x72, 0x24, 0x26, 0xbb, 0x4b,
|
|
0xe9, 0xd6, 0xe3, 0x11, 0x54, 0x7d, 0x21, 0xc7, 0xe0, 0x33, 0x76, 0x8d, 0x9d, 0xbe, 0x71, 0xf3,
|
|
0x29, 0xe1, 0xe0, 0x01, 0x33, 0x37, 0x98, 0xde, 0xdc, 0x0a, 0xd5, 0x1c, 0xf6, 0x1f, 0xbd, 0x49,
|
|
0x1f, 0x33, 0x43,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