-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathcoprocess_response_object.pb.go
111 lines (95 loc) · 4.43 KB
/
coprocess_response_object.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
// Code generated by protoc-gen-go. DO NOT EDIT.
// source: coprocess_response_object.proto
package coprocess
import (
fmt "fmt"
math "math"
proto "github.com/golang/protobuf/proto"
)
// 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 ResponseObject struct {
StatusCode int32 `protobuf:"varint,1,opt,name=status_code,json=statusCode,proto3" json:"status_code,omitempty"`
RawBody []byte `protobuf:"bytes,2,opt,name=raw_body,json=rawBody,proto3" json:"raw_body,omitempty"`
Body string `protobuf:"bytes,3,opt,name=body,proto3" json:"body,omitempty"`
Headers map[string]string `protobuf:"bytes,4,rep,name=headers,proto3" json:"headers,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *ResponseObject) Reset() { *m = ResponseObject{} }
func (m *ResponseObject) String() string { return proto.CompactTextString(m) }
func (*ResponseObject) ProtoMessage() {}
func (*ResponseObject) Descriptor() ([]byte, []int) {
return fileDescriptor_95aa75cec67c3939, []int{0}
}
func (m *ResponseObject) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_ResponseObject.Unmarshal(m, b)
}
func (m *ResponseObject) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_ResponseObject.Marshal(b, m, deterministic)
}
func (m *ResponseObject) XXX_Merge(src proto.Message) {
xxx_messageInfo_ResponseObject.Merge(m, src)
}
func (m *ResponseObject) XXX_Size() int {
return xxx_messageInfo_ResponseObject.Size(m)
}
func (m *ResponseObject) XXX_DiscardUnknown() {
xxx_messageInfo_ResponseObject.DiscardUnknown(m)
}
var xxx_messageInfo_ResponseObject proto.InternalMessageInfo
func (m *ResponseObject) GetStatusCode() int32 {
if m != nil {
return m.StatusCode
}
return 0
}
func (m *ResponseObject) GetRawBody() []byte {
if m != nil {
return m.RawBody
}
return nil
}
func (m *ResponseObject) GetBody() string {
if m != nil {
return m.Body
}
return ""
}
func (m *ResponseObject) GetHeaders() map[string]string {
if m != nil {
return m.Headers
}
return nil
}
func init() {
proto.RegisterType((*ResponseObject)(nil), "coprocess.ResponseObject")
proto.RegisterMapType((map[string]string)(nil), "coprocess.ResponseObject.HeadersEntry")
}
func init() { proto.RegisterFile("coprocess_response_object.proto", fileDescriptor_95aa75cec67c3939) }
var fileDescriptor_95aa75cec67c3939 = []byte{
// 237 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x54, 0x8f, 0x4f, 0x4b, 0xc3, 0x40,
0x10, 0xc5, 0xd9, 0xa6, 0xb5, 0x66, 0x5a, 0x44, 0x16, 0x0f, 0xb1, 0x97, 0x2e, 0x1e, 0x24, 0xa7,
0x1c, 0xf4, 0x22, 0x3d, 0x89, 0x22, 0x78, 0x13, 0xf6, 0x0b, 0x2c, 0x9b, 0xec, 0x80, 0xff, 0xc8,
0x84, 0x99, 0x4d, 0x4b, 0xbe, 0xac, 0x9f, 0x45, 0xdc, 0x68, 0x89, 0xb7, 0xb7, 0x6f, 0x7f,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