khenaidoo | 4c6543e | 2021-10-19 17:25:58 -0400 | [diff] [blame] | 1 | // Code generated by protoc-gen-go. DO NOT EDIT. |
| 2 | // source: voltha_protos/omci_test.proto |
| 3 | |
| 4 | package omci |
| 5 | |
| 6 | import ( |
| 7 | fmt "fmt" |
| 8 | proto "github.com/golang/protobuf/proto" |
| 9 | math "math" |
| 10 | ) |
| 11 | |
| 12 | // Reference imports to suppress errors if they are not otherwise used. |
| 13 | var _ = proto.Marshal |
| 14 | var _ = fmt.Errorf |
| 15 | var _ = math.Inf |
| 16 | |
| 17 | // This is a compile-time assertion to ensure that this generated file |
| 18 | // is compatible with the proto package it is being compiled against. |
| 19 | // A compilation error at this line likely means your copy of the |
| 20 | // proto package needs to be updated. |
| 21 | const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package |
| 22 | |
| 23 | type TestResponse_TestResponseResult int32 |
| 24 | |
| 25 | const ( |
| 26 | TestResponse_SUCCESS TestResponse_TestResponseResult = 0 |
| 27 | TestResponse_FAILURE TestResponse_TestResponseResult = 1 |
| 28 | ) |
| 29 | |
| 30 | var TestResponse_TestResponseResult_name = map[int32]string{ |
| 31 | 0: "SUCCESS", |
| 32 | 1: "FAILURE", |
| 33 | } |
| 34 | |
| 35 | var TestResponse_TestResponseResult_value = map[string]int32{ |
| 36 | "SUCCESS": 0, |
| 37 | "FAILURE": 1, |
| 38 | } |
| 39 | |
| 40 | func (x TestResponse_TestResponseResult) String() string { |
| 41 | return proto.EnumName(TestResponse_TestResponseResult_name, int32(x)) |
| 42 | } |
| 43 | |
| 44 | func (TestResponse_TestResponseResult) EnumDescriptor() ([]byte, []int) { |
| 45 | return fileDescriptor_146dc5f97baf9397, []int{1, 0} |
| 46 | } |
| 47 | |
| 48 | type OmciTestRequest struct { |
| 49 | Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` |
| 50 | Uuid string `protobuf:"bytes,2,opt,name=uuid,proto3" json:"uuid,omitempty"` |
| 51 | XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| 52 | XXX_unrecognized []byte `json:"-"` |
| 53 | XXX_sizecache int32 `json:"-"` |
| 54 | } |
| 55 | |
| 56 | func (m *OmciTestRequest) Reset() { *m = OmciTestRequest{} } |
| 57 | func (m *OmciTestRequest) String() string { return proto.CompactTextString(m) } |
| 58 | func (*OmciTestRequest) ProtoMessage() {} |
| 59 | func (*OmciTestRequest) Descriptor() ([]byte, []int) { |
| 60 | return fileDescriptor_146dc5f97baf9397, []int{0} |
| 61 | } |
| 62 | |
| 63 | func (m *OmciTestRequest) XXX_Unmarshal(b []byte) error { |
| 64 | return xxx_messageInfo_OmciTestRequest.Unmarshal(m, b) |
| 65 | } |
| 66 | func (m *OmciTestRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| 67 | return xxx_messageInfo_OmciTestRequest.Marshal(b, m, deterministic) |
| 68 | } |
| 69 | func (m *OmciTestRequest) XXX_Merge(src proto.Message) { |
| 70 | xxx_messageInfo_OmciTestRequest.Merge(m, src) |
| 71 | } |
| 72 | func (m *OmciTestRequest) XXX_Size() int { |
| 73 | return xxx_messageInfo_OmciTestRequest.Size(m) |
| 74 | } |
| 75 | func (m *OmciTestRequest) XXX_DiscardUnknown() { |
| 76 | xxx_messageInfo_OmciTestRequest.DiscardUnknown(m) |
| 77 | } |
| 78 | |
| 79 | var xxx_messageInfo_OmciTestRequest proto.InternalMessageInfo |
| 80 | |
| 81 | func (m *OmciTestRequest) GetId() string { |
| 82 | if m != nil { |
| 83 | return m.Id |
| 84 | } |
| 85 | return "" |
| 86 | } |
| 87 | |
| 88 | func (m *OmciTestRequest) GetUuid() string { |
| 89 | if m != nil { |
| 90 | return m.Uuid |
| 91 | } |
| 92 | return "" |
| 93 | } |
| 94 | |
| 95 | type TestResponse struct { |
| 96 | Result TestResponse_TestResponseResult `protobuf:"varint,1,opt,name=result,proto3,enum=omci.TestResponse_TestResponseResult" json:"result,omitempty"` |
| 97 | XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| 98 | XXX_unrecognized []byte `json:"-"` |
| 99 | XXX_sizecache int32 `json:"-"` |
| 100 | } |
| 101 | |
| 102 | func (m *TestResponse) Reset() { *m = TestResponse{} } |
| 103 | func (m *TestResponse) String() string { return proto.CompactTextString(m) } |
| 104 | func (*TestResponse) ProtoMessage() {} |
| 105 | func (*TestResponse) Descriptor() ([]byte, []int) { |
| 106 | return fileDescriptor_146dc5f97baf9397, []int{1} |
| 107 | } |
| 108 | |
| 109 | func (m *TestResponse) XXX_Unmarshal(b []byte) error { |
| 110 | return xxx_messageInfo_TestResponse.Unmarshal(m, b) |
| 111 | } |
| 112 | func (m *TestResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| 113 | return xxx_messageInfo_TestResponse.Marshal(b, m, deterministic) |
| 114 | } |
| 115 | func (m *TestResponse) XXX_Merge(src proto.Message) { |
| 116 | xxx_messageInfo_TestResponse.Merge(m, src) |
| 117 | } |
| 118 | func (m *TestResponse) XXX_Size() int { |
| 119 | return xxx_messageInfo_TestResponse.Size(m) |
| 120 | } |
| 121 | func (m *TestResponse) XXX_DiscardUnknown() { |
| 122 | xxx_messageInfo_TestResponse.DiscardUnknown(m) |
| 123 | } |
| 124 | |
| 125 | var xxx_messageInfo_TestResponse proto.InternalMessageInfo |
| 126 | |
| 127 | func (m *TestResponse) GetResult() TestResponse_TestResponseResult { |
| 128 | if m != nil { |
| 129 | return m.Result |
| 130 | } |
| 131 | return TestResponse_SUCCESS |
| 132 | } |
| 133 | |
| 134 | func init() { |
| 135 | proto.RegisterEnum("omci.TestResponse_TestResponseResult", TestResponse_TestResponseResult_name, TestResponse_TestResponseResult_value) |
| 136 | proto.RegisterType((*OmciTestRequest)(nil), "omci.OmciTestRequest") |
| 137 | proto.RegisterType((*TestResponse)(nil), "omci.TestResponse") |
| 138 | } |
| 139 | |
| 140 | func init() { proto.RegisterFile("voltha_protos/omci_test.proto", fileDescriptor_146dc5f97baf9397) } |
| 141 | |
| 142 | var fileDescriptor_146dc5f97baf9397 = []byte{ |
| 143 | // 230 bytes of a gzipped FileDescriptorProto |
| 144 | 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x92, 0x2d, 0xcb, 0xcf, 0x29, |
| 145 | 0xc9, 0x48, 0x8c, 0x2f, 0x28, 0xca, 0x2f, 0xc9, 0x2f, 0xd6, 0xcf, 0xcf, 0x4d, 0xce, 0x8c, 0x2f, |
| 146 | 0x49, 0x2d, 0x2e, 0xd1, 0x03, 0x0b, 0x08, 0xb1, 0x80, 0x04, 0x94, 0x4c, 0xb9, 0xf8, 0xfd, 0x73, |
| 147 | 0x93, 0x33, 0x43, 0x52, 0x8b, 0x4b, 0x82, 0x52, 0x0b, 0x4b, 0x53, 0x8b, 0x4b, 0x84, 0xf8, 0xb8, |
| 148 | 0x98, 0x32, 0x53, 0x24, 0x18, 0x15, 0x18, 0x35, 0x38, 0x83, 0x98, 0x32, 0x53, 0x84, 0x84, 0xb8, |
| 149 | 0x58, 0x4a, 0x4b, 0x33, 0x53, 0x24, 0x98, 0xc0, 0x22, 0x60, 0xb6, 0x52, 0x2d, 0x17, 0x0f, 0x44, |
| 150 | 0x4b, 0x71, 0x41, 0x7e, 0x5e, 0x71, 0xaa, 0x90, 0x2d, 0x17, 0x5b, 0x51, 0x6a, 0x71, 0x69, 0x4e, |
| 151 | 0x09, 0x58, 0x1f, 0x9f, 0x91, 0xaa, 0x1e, 0xc8, 0x74, 0x3d, 0x64, 0x35, 0x28, 0x9c, 0x20, 0xb0, |
| 152 | 0xe2, 0x20, 0xa8, 0x26, 0x25, 0x3d, 0x2e, 0x21, 0x4c, 0x59, 0x21, 0x6e, 0x2e, 0xf6, 0xe0, 0x50, |
| 153 | 0x67, 0x67, 0xd7, 0xe0, 0x60, 0x01, 0x06, 0x10, 0xc7, 0xcd, 0xd1, 0xd3, 0x27, 0x34, 0xc8, 0x55, |
| 154 | 0x80, 0xd1, 0xc9, 0x83, 0x4b, 0x22, 0xbf, 0x28, 0x5d, 0x2f, 0xbf, 0x20, 0x35, 0x2f, 0x39, 0xbf, |
| 155 | 0x28, 0x45, 0x0f, 0xe2, 0x53, 0xb0, 0x9d, 0x51, 0x3a, 0xe9, 0x99, 0x25, 0x19, 0xa5, 0x49, 0x7a, |
| 156 | 0xc9, 0xf9, 0xb9, 0xfa, 0x30, 0x05, 0xfa, 0x10, 0x05, 0xba, 0xd0, 0xa0, 0x28, 0x33, 0xd5, 0x4f, |
| 157 | 0xcf, 0x07, 0x07, 0x48, 0x12, 0x1b, 0x58, 0xc8, 0x18, 0x10, 0x00, 0x00, 0xff, 0xff, 0x85, 0xc9, |
| 158 | 0x07, 0x50, 0x2d, 0x01, 0x00, 0x00, |
| 159 | } |