github.com/microsoft/moc@v0.17.1/rpc/nodeagent/network/moc_nodeagent_virtualnetworkinterface.pb.go (about)

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