github.com/microsoft/moc@v0.17.1/rpc/cloudagent/network/moc_cloudagent_networksecuritygroup.pb.go (about) 1 // Code generated by protoc-gen-go. DO NOT EDIT. 2 // source: moc_cloudagent_networksecuritygroup.proto 3 4 package network 5 6 import ( 7 context "context" 8 fmt "fmt" 9 proto "github.com/golang/protobuf/proto" 10 wrappers "github.com/golang/protobuf/ptypes/wrappers" 11 common "github.com/microsoft/moc/rpc/common" 12 grpc "google.golang.org/grpc" 13 codes "google.golang.org/grpc/codes" 14 status "google.golang.org/grpc/status" 15 math "math" 16 ) 17 18 // Reference imports to suppress errors if they are not otherwise used. 19 var _ = proto.Marshal 20 var _ = fmt.Errorf 21 var _ = math.Inf 22 23 // This is a compile-time assertion to ensure that this generated file 24 // is compatible with the proto package it is being compiled against. 25 // A compilation error at this line likely means your copy of the 26 // proto package needs to be updated. 27 const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package 28 29 type Action int32 30 31 const ( 32 Action_Allow Action = 0 33 Action_Deny Action = 1 34 ) 35 36 var Action_name = map[int32]string{ 37 0: "Allow", 38 1: "Deny", 39 } 40 41 var Action_value = map[string]int32{ 42 "Allow": 0, 43 "Deny": 1, 44 } 45 46 func (x Action) String() string { 47 return proto.EnumName(Action_name, int32(x)) 48 } 49 50 func (Action) EnumDescriptor() ([]byte, []int) { 51 return fileDescriptor_f7a6eb5efc25ffee, []int{0} 52 } 53 54 type Direction int32 55 56 const ( 57 Direction_Inbound Direction = 0 58 Direction_Outbound Direction = 1 59 ) 60 61 var Direction_name = map[int32]string{ 62 0: "Inbound", 63 1: "Outbound", 64 } 65 66 var Direction_value = map[string]int32{ 67 "Inbound": 0, 68 "Outbound": 1, 69 } 70 71 func (x Direction) String() string { 72 return proto.EnumName(Direction_name, int32(x)) 73 } 74 75 func (Direction) EnumDescriptor() ([]byte, []int) { 76 return fileDescriptor_f7a6eb5efc25ffee, []int{1} 77 } 78 79 type NetworkSecurityGroupRequest struct { 80 NetworkSecurityGroups []*NetworkSecurityGroup `protobuf:"bytes,1,rep,name=NetworkSecurityGroups,proto3" json:"NetworkSecurityGroups,omitempty"` 81 OperationType common.Operation `protobuf:"varint,2,opt,name=OperationType,proto3,enum=moc.Operation" json:"OperationType,omitempty"` 82 XXX_NoUnkeyedLiteral struct{} `json:"-"` 83 XXX_unrecognized []byte `json:"-"` 84 XXX_sizecache int32 `json:"-"` 85 } 86 87 func (m *NetworkSecurityGroupRequest) Reset() { *m = NetworkSecurityGroupRequest{} } 88 func (m *NetworkSecurityGroupRequest) String() string { return proto.CompactTextString(m) } 89 func (*NetworkSecurityGroupRequest) ProtoMessage() {} 90 func (*NetworkSecurityGroupRequest) Descriptor() ([]byte, []int) { 91 return fileDescriptor_f7a6eb5efc25ffee, []int{0} 92 } 93 94 func (m *NetworkSecurityGroupRequest) XXX_Unmarshal(b []byte) error { 95 return xxx_messageInfo_NetworkSecurityGroupRequest.Unmarshal(m, b) 96 } 97 func (m *NetworkSecurityGroupRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 98 return xxx_messageInfo_NetworkSecurityGroupRequest.Marshal(b, m, deterministic) 99 } 100 func (m *NetworkSecurityGroupRequest) XXX_Merge(src proto.Message) { 101 xxx_messageInfo_NetworkSecurityGroupRequest.Merge(m, src) 102 } 103 func (m *NetworkSecurityGroupRequest) XXX_Size() int { 104 return xxx_messageInfo_NetworkSecurityGroupRequest.Size(m) 105 } 106 func (m *NetworkSecurityGroupRequest) XXX_DiscardUnknown() { 107 xxx_messageInfo_NetworkSecurityGroupRequest.DiscardUnknown(m) 108 } 109 110 var xxx_messageInfo_NetworkSecurityGroupRequest proto.InternalMessageInfo 111 112 func (m *NetworkSecurityGroupRequest) GetNetworkSecurityGroups() []*NetworkSecurityGroup { 113 if m != nil { 114 return m.NetworkSecurityGroups 115 } 116 return nil 117 } 118 119 func (m *NetworkSecurityGroupRequest) GetOperationType() common.Operation { 120 if m != nil { 121 return m.OperationType 122 } 123 return common.Operation_GET 124 } 125 126 type NetworkSecurityGroupResponse struct { 127 NetworkSecurityGroups []*NetworkSecurityGroup `protobuf:"bytes,1,rep,name=NetworkSecurityGroups,proto3" json:"NetworkSecurityGroups,omitempty"` 128 Result *wrappers.BoolValue `protobuf:"bytes,2,opt,name=Result,proto3" json:"Result,omitempty"` 129 Error string `protobuf:"bytes,3,opt,name=Error,proto3" json:"Error,omitempty"` 130 XXX_NoUnkeyedLiteral struct{} `json:"-"` 131 XXX_unrecognized []byte `json:"-"` 132 XXX_sizecache int32 `json:"-"` 133 } 134 135 func (m *NetworkSecurityGroupResponse) Reset() { *m = NetworkSecurityGroupResponse{} } 136 func (m *NetworkSecurityGroupResponse) String() string { return proto.CompactTextString(m) } 137 func (*NetworkSecurityGroupResponse) ProtoMessage() {} 138 func (*NetworkSecurityGroupResponse) Descriptor() ([]byte, []int) { 139 return fileDescriptor_f7a6eb5efc25ffee, []int{1} 140 } 141 142 func (m *NetworkSecurityGroupResponse) XXX_Unmarshal(b []byte) error { 143 return xxx_messageInfo_NetworkSecurityGroupResponse.Unmarshal(m, b) 144 } 145 func (m *NetworkSecurityGroupResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 146 return xxx_messageInfo_NetworkSecurityGroupResponse.Marshal(b, m, deterministic) 147 } 148 func (m *NetworkSecurityGroupResponse) XXX_Merge(src proto.Message) { 149 xxx_messageInfo_NetworkSecurityGroupResponse.Merge(m, src) 150 } 151 func (m *NetworkSecurityGroupResponse) XXX_Size() int { 152 return xxx_messageInfo_NetworkSecurityGroupResponse.Size(m) 153 } 154 func (m *NetworkSecurityGroupResponse) XXX_DiscardUnknown() { 155 xxx_messageInfo_NetworkSecurityGroupResponse.DiscardUnknown(m) 156 } 157 158 var xxx_messageInfo_NetworkSecurityGroupResponse proto.InternalMessageInfo 159 160 func (m *NetworkSecurityGroupResponse) GetNetworkSecurityGroups() []*NetworkSecurityGroup { 161 if m != nil { 162 return m.NetworkSecurityGroups 163 } 164 return nil 165 } 166 167 func (m *NetworkSecurityGroupResponse) GetResult() *wrappers.BoolValue { 168 if m != nil { 169 return m.Result 170 } 171 return nil 172 } 173 174 func (m *NetworkSecurityGroupResponse) GetError() string { 175 if m != nil { 176 return m.Error 177 } 178 return "" 179 } 180 181 type NetworkSecurityGroupRule struct { 182 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` 183 Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"` 184 Action Action `protobuf:"varint,3,opt,name=action,proto3,enum=moc.cloudagent.network.Action" json:"action,omitempty"` 185 Direction Direction `protobuf:"varint,4,opt,name=direction,proto3,enum=moc.cloudagent.network.Direction" json:"direction,omitempty"` 186 SourceAddressPrefix string `protobuf:"bytes,5,opt,name=sourceAddressPrefix,proto3" json:"sourceAddressPrefix,omitempty"` 187 DestinationAddressPrefix string `protobuf:"bytes,6,opt,name=destinationAddressPrefix,proto3" json:"destinationAddressPrefix,omitempty"` 188 SourcePortRange string `protobuf:"bytes,7,opt,name=sourcePortRange,proto3" json:"sourcePortRange,omitempty"` 189 DestinationPortRange string `protobuf:"bytes,8,opt,name=destinationPortRange,proto3" json:"destinationPortRange,omitempty"` 190 Protocol common.Protocol `protobuf:"varint,9,opt,name=protocol,proto3,enum=moc.Protocol" json:"protocol,omitempty"` 191 Priority uint32 `protobuf:"varint,10,opt,name=priority,proto3" json:"priority,omitempty"` 192 Logging bool `protobuf:"varint,11,opt,name=logging,proto3" json:"logging,omitempty"` 193 IsDefaultRule bool `protobuf:"varint,12,opt,name=isDefaultRule,proto3" json:"isDefaultRule,omitempty"` 194 XXX_NoUnkeyedLiteral struct{} `json:"-"` 195 XXX_unrecognized []byte `json:"-"` 196 XXX_sizecache int32 `json:"-"` 197 } 198 199 func (m *NetworkSecurityGroupRule) Reset() { *m = NetworkSecurityGroupRule{} } 200 func (m *NetworkSecurityGroupRule) String() string { return proto.CompactTextString(m) } 201 func (*NetworkSecurityGroupRule) ProtoMessage() {} 202 func (*NetworkSecurityGroupRule) Descriptor() ([]byte, []int) { 203 return fileDescriptor_f7a6eb5efc25ffee, []int{2} 204 } 205 206 func (m *NetworkSecurityGroupRule) XXX_Unmarshal(b []byte) error { 207 return xxx_messageInfo_NetworkSecurityGroupRule.Unmarshal(m, b) 208 } 209 func (m *NetworkSecurityGroupRule) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 210 return xxx_messageInfo_NetworkSecurityGroupRule.Marshal(b, m, deterministic) 211 } 212 func (m *NetworkSecurityGroupRule) XXX_Merge(src proto.Message) { 213 xxx_messageInfo_NetworkSecurityGroupRule.Merge(m, src) 214 } 215 func (m *NetworkSecurityGroupRule) XXX_Size() int { 216 return xxx_messageInfo_NetworkSecurityGroupRule.Size(m) 217 } 218 func (m *NetworkSecurityGroupRule) XXX_DiscardUnknown() { 219 xxx_messageInfo_NetworkSecurityGroupRule.DiscardUnknown(m) 220 } 221 222 var xxx_messageInfo_NetworkSecurityGroupRule proto.InternalMessageInfo 223 224 func (m *NetworkSecurityGroupRule) GetName() string { 225 if m != nil { 226 return m.Name 227 } 228 return "" 229 } 230 231 func (m *NetworkSecurityGroupRule) GetDescription() string { 232 if m != nil { 233 return m.Description 234 } 235 return "" 236 } 237 238 func (m *NetworkSecurityGroupRule) GetAction() Action { 239 if m != nil { 240 return m.Action 241 } 242 return Action_Allow 243 } 244 245 func (m *NetworkSecurityGroupRule) GetDirection() Direction { 246 if m != nil { 247 return m.Direction 248 } 249 return Direction_Inbound 250 } 251 252 func (m *NetworkSecurityGroupRule) GetSourceAddressPrefix() string { 253 if m != nil { 254 return m.SourceAddressPrefix 255 } 256 return "" 257 } 258 259 func (m *NetworkSecurityGroupRule) GetDestinationAddressPrefix() string { 260 if m != nil { 261 return m.DestinationAddressPrefix 262 } 263 return "" 264 } 265 266 func (m *NetworkSecurityGroupRule) GetSourcePortRange() string { 267 if m != nil { 268 return m.SourcePortRange 269 } 270 return "" 271 } 272 273 func (m *NetworkSecurityGroupRule) GetDestinationPortRange() string { 274 if m != nil { 275 return m.DestinationPortRange 276 } 277 return "" 278 } 279 280 func (m *NetworkSecurityGroupRule) GetProtocol() common.Protocol { 281 if m != nil { 282 return m.Protocol 283 } 284 return common.Protocol_All 285 } 286 287 func (m *NetworkSecurityGroupRule) GetPriority() uint32 { 288 if m != nil { 289 return m.Priority 290 } 291 return 0 292 } 293 294 func (m *NetworkSecurityGroupRule) GetLogging() bool { 295 if m != nil { 296 return m.Logging 297 } 298 return false 299 } 300 301 func (m *NetworkSecurityGroupRule) GetIsDefaultRule() bool { 302 if m != nil { 303 return m.IsDefaultRule 304 } 305 return false 306 } 307 308 type NetworkSecurityGroup struct { 309 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` 310 Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"` 311 Networksecuritygrouprules []*NetworkSecurityGroupRule `protobuf:"bytes,3,rep,name=networksecuritygrouprules,proto3" json:"networksecuritygrouprules,omitempty"` 312 LocationName string `protobuf:"bytes,6,opt,name=locationName,proto3" json:"locationName,omitempty"` 313 Status *common.Status `protobuf:"bytes,7,opt,name=status,proto3" json:"status,omitempty"` 314 Tags *common.Tags `protobuf:"bytes,8,opt,name=tags,proto3" json:"tags,omitempty"` 315 XXX_NoUnkeyedLiteral struct{} `json:"-"` 316 XXX_unrecognized []byte `json:"-"` 317 XXX_sizecache int32 `json:"-"` 318 } 319 320 func (m *NetworkSecurityGroup) Reset() { *m = NetworkSecurityGroup{} } 321 func (m *NetworkSecurityGroup) String() string { return proto.CompactTextString(m) } 322 func (*NetworkSecurityGroup) ProtoMessage() {} 323 func (*NetworkSecurityGroup) Descriptor() ([]byte, []int) { 324 return fileDescriptor_f7a6eb5efc25ffee, []int{3} 325 } 326 327 func (m *NetworkSecurityGroup) XXX_Unmarshal(b []byte) error { 328 return xxx_messageInfo_NetworkSecurityGroup.Unmarshal(m, b) 329 } 330 func (m *NetworkSecurityGroup) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 331 return xxx_messageInfo_NetworkSecurityGroup.Marshal(b, m, deterministic) 332 } 333 func (m *NetworkSecurityGroup) XXX_Merge(src proto.Message) { 334 xxx_messageInfo_NetworkSecurityGroup.Merge(m, src) 335 } 336 func (m *NetworkSecurityGroup) XXX_Size() int { 337 return xxx_messageInfo_NetworkSecurityGroup.Size(m) 338 } 339 func (m *NetworkSecurityGroup) XXX_DiscardUnknown() { 340 xxx_messageInfo_NetworkSecurityGroup.DiscardUnknown(m) 341 } 342 343 var xxx_messageInfo_NetworkSecurityGroup proto.InternalMessageInfo 344 345 func (m *NetworkSecurityGroup) GetName() string { 346 if m != nil { 347 return m.Name 348 } 349 return "" 350 } 351 352 func (m *NetworkSecurityGroup) GetId() string { 353 if m != nil { 354 return m.Id 355 } 356 return "" 357 } 358 359 func (m *NetworkSecurityGroup) GetNetworksecuritygrouprules() []*NetworkSecurityGroupRule { 360 if m != nil { 361 return m.Networksecuritygrouprules 362 } 363 return nil 364 } 365 366 func (m *NetworkSecurityGroup) GetLocationName() string { 367 if m != nil { 368 return m.LocationName 369 } 370 return "" 371 } 372 373 func (m *NetworkSecurityGroup) GetStatus() *common.Status { 374 if m != nil { 375 return m.Status 376 } 377 return nil 378 } 379 380 func (m *NetworkSecurityGroup) GetTags() *common.Tags { 381 if m != nil { 382 return m.Tags 383 } 384 return nil 385 } 386 387 func init() { 388 proto.RegisterEnum("moc.cloudagent.network.Action", Action_name, Action_value) 389 proto.RegisterEnum("moc.cloudagent.network.Direction", Direction_name, Direction_value) 390 proto.RegisterType((*NetworkSecurityGroupRequest)(nil), "moc.cloudagent.network.NetworkSecurityGroupRequest") 391 proto.RegisterType((*NetworkSecurityGroupResponse)(nil), "moc.cloudagent.network.NetworkSecurityGroupResponse") 392 proto.RegisterType((*NetworkSecurityGroupRule)(nil), "moc.cloudagent.network.NetworkSecurityGroupRule") 393 proto.RegisterType((*NetworkSecurityGroup)(nil), "moc.cloudagent.network.NetworkSecurityGroup") 394 } 395 396 func init() { 397 proto.RegisterFile("moc_cloudagent_networksecuritygroup.proto", fileDescriptor_f7a6eb5efc25ffee) 398 } 399 400 var fileDescriptor_f7a6eb5efc25ffee = []byte{ 401 // 695 bytes of a gzipped FileDescriptorProto 402 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xbc, 0x54, 0x4d, 0x6f, 0xd3, 0x4a, 403 0x14, 0xad, 0xf3, 0xe1, 0x26, 0xd7, 0x4d, 0x5f, 0x34, 0xaf, 0xef, 0x3d, 0x37, 0x8f, 0x56, 0x21, 404 0x20, 0x94, 0x56, 0xc8, 0x2e, 0x6e, 0xc5, 0x82, 0x0d, 0x4a, 0x55, 0x84, 0xca, 0xa2, 0xad, 0xa6, 405 0x15, 0x0b, 0x36, 0x95, 0x63, 0x4f, 0x8c, 0x55, 0xdb, 0x63, 0xe6, 0x83, 0xd2, 0xbf, 0xc1, 0x8a, 406 0x05, 0xff, 0x83, 0x3f, 0xc1, 0x8f, 0x42, 0xb9, 0x76, 0xf3, 0x81, 0x9c, 0x45, 0x37, 0xac, 0x92, 407 0xb9, 0xe7, 0x9c, 0xeb, 0xe3, 0x7b, 0xae, 0x07, 0xf6, 0x52, 0x1e, 0x5c, 0x07, 0x09, 0xd7, 0xa1, 408 0x1f, 0xb1, 0x4c, 0x5d, 0x67, 0x4c, 0xdd, 0x72, 0x71, 0x23, 0x59, 0xa0, 0x45, 0xac, 0xee, 0x22, 409 0xc1, 0x75, 0xee, 0xe4, 0x82, 0x2b, 0x4e, 0xfe, 0x4d, 0x79, 0xe0, 0xcc, 0xa9, 0x4e, 0x49, 0xed, 410 0xed, 0x46, 0x9c, 0x47, 0x09, 0x73, 0x91, 0x35, 0xd6, 0x13, 0xf7, 0x56, 0xf8, 0x79, 0xce, 0x84, 411 0x2c, 0x74, 0xbd, 0xff, 0xf0, 0x11, 0x3c, 0x4d, 0x79, 0x56, 0xfe, 0x94, 0xc0, 0xee, 0x02, 0x50, 412 0x36, 0x5b, 0xc4, 0x07, 0x3f, 0x0c, 0xf8, 0xff, 0xac, 0xa8, 0x5f, 0x96, 0x7e, 0xde, 0x4e, 0xfd, 413 0x50, 0xf6, 0x49, 0x33, 0xa9, 0xc8, 0x18, 0xfe, 0xa9, 0x82, 0xa5, 0x6d, 0xf4, 0xeb, 0x43, 0xcb, 414 0x7b, 0xee, 0x54, 0x1b, 0x76, 0x2a, 0x7b, 0x56, 0xb7, 0x22, 0x47, 0xd0, 0x39, 0xcf, 0x99, 0xf0, 415 0x55, 0xcc, 0xb3, 0xab, 0xbb, 0x9c, 0xd9, 0xb5, 0xbe, 0x31, 0xdc, 0xf4, 0x36, 0xb1, 0xf7, 0x0c, 416 0xa1, 0xcb, 0xa4, 0xc1, 0x4f, 0x03, 0x1e, 0x55, 0x3b, 0x97, 0x39, 0xcf, 0x24, 0xfb, 0x23, 0xd6, 417 0x3d, 0x30, 0x29, 0x93, 0x3a, 0x51, 0xe8, 0xd9, 0xf2, 0x7a, 0x4e, 0x11, 0x94, 0x73, 0x1f, 0x94, 418 0x73, 0xcc, 0x79, 0xf2, 0xde, 0x4f, 0x34, 0xa3, 0x25, 0x93, 0x6c, 0x41, 0xf3, 0x8d, 0x10, 0x5c, 419 0xd8, 0xf5, 0xbe, 0x31, 0x6c, 0xd3, 0xe2, 0x30, 0xf8, 0xde, 0x00, 0xbb, 0xf2, 0xc9, 0x3a, 0x61, 420 0x84, 0x40, 0x23, 0xf3, 0x53, 0x66, 0x1b, 0xa8, 0xc0, 0xff, 0xa4, 0x0f, 0x56, 0xc8, 0x64, 0x20, 421 0xe2, 0x7c, 0x3a, 0x12, 0x7c, 0x7e, 0x9b, 0x2e, 0x96, 0xc8, 0x4b, 0x30, 0xfd, 0x00, 0xc1, 0x3a, 422 0x0e, 0x74, 0x77, 0xd5, 0x1b, 0x8f, 0x90, 0x45, 0x4b, 0x36, 0x79, 0x0d, 0xed, 0x30, 0x16, 0xac, 423 0x90, 0x36, 0x50, 0xfa, 0x78, 0x95, 0xf4, 0xe4, 0x9e, 0x48, 0xe7, 0x1a, 0x72, 0x00, 0x7f, 0x4b, 424 0xae, 0x45, 0xc0, 0x46, 0x61, 0x28, 0x98, 0x94, 0x17, 0x82, 0x4d, 0xe2, 0x2f, 0x76, 0x13, 0x2d, 425 0x56, 0x41, 0xe4, 0x15, 0xd8, 0x21, 0x93, 0x2a, 0xce, 0x30, 0xdf, 0x65, 0x99, 0x89, 0xb2, 0x95, 426 0x38, 0x19, 0xc2, 0x5f, 0x45, 0xcb, 0x0b, 0x2e, 0x14, 0xf5, 0xb3, 0x88, 0xd9, 0xeb, 0x28, 0xf9, 427 0xbd, 0x4c, 0x3c, 0xd8, 0x5a, 0xe8, 0x32, 0xa7, 0xb7, 0x90, 0x5e, 0x89, 0x91, 0x3d, 0x68, 0x61, 428 0x96, 0x01, 0x4f, 0xec, 0x36, 0xce, 0xa2, 0x83, 0xb3, 0xb8, 0x28, 0x8b, 0x74, 0x06, 0x93, 0xde, 429 0x94, 0x1a, 0xf3, 0x69, 0x74, 0x36, 0xf4, 0x8d, 0x61, 0x87, 0xce, 0xce, 0xc4, 0x86, 0xf5, 0x84, 430 0x47, 0x51, 0x9c, 0x45, 0xb6, 0xd5, 0x37, 0x86, 0x2d, 0x7a, 0x7f, 0x24, 0x4f, 0xa1, 0x13, 0xcb, 431 0x13, 0x36, 0xf1, 0x75, 0xa2, 0xa6, 0x61, 0xdb, 0x1b, 0x88, 0x2f, 0x17, 0x07, 0xdf, 0x6a, 0xb0, 432 0x55, 0xb5, 0x1e, 0x95, 0xab, 0xb1, 0x09, 0xb5, 0x38, 0x2c, 0x37, 0xa2, 0x16, 0x87, 0x24, 0x83, 433 0xed, 0xaa, 0x3b, 0x47, 0xe8, 0x84, 0x49, 0xbb, 0x8e, 0x5f, 0xc3, 0xc1, 0x83, 0xbe, 0x06, 0x9d, 434 0x30, 0xba, 0xba, 0x25, 0x19, 0xc0, 0x46, 0xc2, 0x03, 0x1c, 0xe4, 0xd9, 0xd4, 0x5b, 0x91, 0xe0, 435 0x52, 0x8d, 0x3c, 0x01, 0x53, 0x2a, 0x5f, 0x69, 0x89, 0x61, 0x59, 0x9e, 0x85, 0x06, 0x2e, 0xb1, 436 0x44, 0x4b, 0x88, 0xec, 0x40, 0x43, 0xf9, 0x91, 0xc4, 0x80, 0x2c, 0xaf, 0x8d, 0x94, 0x2b, 0x3f, 437 0x92, 0x14, 0xcb, 0xef, 0x1a, 0xad, 0x66, 0xd7, 0xdc, 0xdf, 0x01, 0xb3, 0x58, 0x60, 0xd2, 0x86, 438 0xe6, 0x28, 0x49, 0xf8, 0x6d, 0x77, 0x8d, 0xb4, 0xa0, 0x71, 0xc2, 0xb2, 0xbb, 0xae, 0xb1, 0xff, 439 0x0c, 0xda, 0xb3, 0x25, 0x25, 0x16, 0xac, 0x9f, 0x66, 0x63, 0xae, 0xb3, 0xb0, 0xbb, 0x46, 0x36, 440 0xa0, 0x75, 0xae, 0x55, 0x71, 0x32, 0xbc, 0xaf, 0x06, 0x6c, 0x57, 0xbd, 0xec, 0x68, 0x3a, 0x0e, 441 0xa2, 0xc1, 0x3c, 0xcd, 0x3e, 0xf3, 0x1b, 0x46, 0x0e, 0x1f, 0x34, 0xa9, 0xe2, 0x1a, 0xed, 0x1d, 442 0x3d, 0x4c, 0x54, 0xdc, 0x60, 0x83, 0xb5, 0xe3, 0x17, 0x1f, 0xdc, 0x28, 0x56, 0x1f, 0xf5, 0xd8, 443 0x09, 0x78, 0xea, 0xa6, 0x71, 0x20, 0xb8, 0xe4, 0x13, 0xe5, 0xa6, 0x3c, 0x70, 0x45, 0x1e, 0xb8, 444 0xf3, 0x8e, 0x6e, 0xd9, 0x71, 0x6c, 0xe2, 0x3e, 0x1e, 0xfe, 0x0a, 0x00, 0x00, 0xff, 0xff, 0xbc, 445 0xe4, 0xe6, 0x68, 0x76, 0x06, 0x00, 0x00, 446 } 447 448 // Reference imports to suppress errors if they are not otherwise used. 449 var _ context.Context 450 var _ grpc.ClientConn 451 452 // This is a compile-time assertion to ensure that this generated file 453 // is compatible with the grpc package it is being compiled against. 454 const _ = grpc.SupportPackageIsVersion4 455 456 // NetworkSecurityGroupAgentClient is the client API for NetworkSecurityGroupAgent service. 457 // 458 // For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. 459 type NetworkSecurityGroupAgentClient interface { 460 Invoke(ctx context.Context, in *NetworkSecurityGroupRequest, opts ...grpc.CallOption) (*NetworkSecurityGroupResponse, error) 461 } 462 463 type networkSecurityGroupAgentClient struct { 464 cc *grpc.ClientConn 465 } 466 467 func NewNetworkSecurityGroupAgentClient(cc *grpc.ClientConn) NetworkSecurityGroupAgentClient { 468 return &networkSecurityGroupAgentClient{cc} 469 } 470 471 func (c *networkSecurityGroupAgentClient) Invoke(ctx context.Context, in *NetworkSecurityGroupRequest, opts ...grpc.CallOption) (*NetworkSecurityGroupResponse, error) { 472 out := new(NetworkSecurityGroupResponse) 473 err := c.cc.Invoke(ctx, "/moc.cloudagent.network.NetworkSecurityGroupAgent/Invoke", in, out, opts...) 474 if err != nil { 475 return nil, err 476 } 477 return out, nil 478 } 479 480 // NetworkSecurityGroupAgentServer is the server API for NetworkSecurityGroupAgent service. 481 type NetworkSecurityGroupAgentServer interface { 482 Invoke(context.Context, *NetworkSecurityGroupRequest) (*NetworkSecurityGroupResponse, error) 483 } 484 485 // UnimplementedNetworkSecurityGroupAgentServer can be embedded to have forward compatible implementations. 486 type UnimplementedNetworkSecurityGroupAgentServer struct { 487 } 488 489 func (*UnimplementedNetworkSecurityGroupAgentServer) Invoke(ctx context.Context, req *NetworkSecurityGroupRequest) (*NetworkSecurityGroupResponse, error) { 490 return nil, status.Errorf(codes.Unimplemented, "method Invoke not implemented") 491 } 492 493 func RegisterNetworkSecurityGroupAgentServer(s *grpc.Server, srv NetworkSecurityGroupAgentServer) { 494 s.RegisterService(&_NetworkSecurityGroupAgent_serviceDesc, srv) 495 } 496 497 func _NetworkSecurityGroupAgent_Invoke_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 498 in := new(NetworkSecurityGroupRequest) 499 if err := dec(in); err != nil { 500 return nil, err 501 } 502 if interceptor == nil { 503 return srv.(NetworkSecurityGroupAgentServer).Invoke(ctx, in) 504 } 505 info := &grpc.UnaryServerInfo{ 506 Server: srv, 507 FullMethod: "/moc.cloudagent.network.NetworkSecurityGroupAgent/Invoke", 508 } 509 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 510 return srv.(NetworkSecurityGroupAgentServer).Invoke(ctx, req.(*NetworkSecurityGroupRequest)) 511 } 512 return interceptor(ctx, in, info, handler) 513 } 514 515 var _NetworkSecurityGroupAgent_serviceDesc = grpc.ServiceDesc{ 516 ServiceName: "moc.cloudagent.network.NetworkSecurityGroupAgent", 517 HandlerType: (*NetworkSecurityGroupAgentServer)(nil), 518 Methods: []grpc.MethodDesc{ 519 { 520 MethodName: "Invoke", 521 Handler: _NetworkSecurityGroupAgent_Invoke_Handler, 522 }, 523 }, 524 Streams: []grpc.StreamDesc{}, 525 Metadata: "moc_cloudagent_networksecuritygroup.proto", 526 }