go.ligato.io/vpp-agent/v3@v3.5.0/examples/kvscheduler/mock_plugins/l2plugin/model/bridge-domain.pb.go (about)

     1  // Code generated by protoc-gen-go. DO NOT EDIT.
     2  // versions:
     3  // 	protoc-gen-go v1.27.1
     4  // 	protoc        v3.17.3
     5  // source: model/bridge-domain.proto
     6  
     7  package mock_l2
     8  
     9  import (
    10  	protoreflect "google.golang.org/protobuf/reflect/protoreflect"
    11  	protoimpl "google.golang.org/protobuf/runtime/protoimpl"
    12  	reflect "reflect"
    13  	sync "sync"
    14  )
    15  
    16  const (
    17  	// Verify that this generated code is sufficiently up-to-date.
    18  	_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
    19  	// Verify that runtime/protoimpl is sufficiently up-to-date.
    20  	_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
    21  )
    22  
    23  type BridgeDomain struct {
    24  	state         protoimpl.MessageState
    25  	sizeCache     protoimpl.SizeCache
    26  	unknownFields protoimpl.UnknownFields
    27  
    28  	Name       string                    `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`              // bridge domain name
    29  	Interfaces []*BridgeDomain_Interface `protobuf:"bytes,10,rep,name=interfaces,proto3" json:"interfaces,omitempty"` // list of interfaces
    30  }
    31  
    32  func (x *BridgeDomain) Reset() {
    33  	*x = BridgeDomain{}
    34  	if protoimpl.UnsafeEnabled {
    35  		mi := &file_model_bridge_domain_proto_msgTypes[0]
    36  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
    37  		ms.StoreMessageInfo(mi)
    38  	}
    39  }
    40  
    41  func (x *BridgeDomain) String() string {
    42  	return protoimpl.X.MessageStringOf(x)
    43  }
    44  
    45  func (*BridgeDomain) ProtoMessage() {}
    46  
    47  func (x *BridgeDomain) ProtoReflect() protoreflect.Message {
    48  	mi := &file_model_bridge_domain_proto_msgTypes[0]
    49  	if protoimpl.UnsafeEnabled && x != nil {
    50  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
    51  		if ms.LoadMessageInfo() == nil {
    52  			ms.StoreMessageInfo(mi)
    53  		}
    54  		return ms
    55  	}
    56  	return mi.MessageOf(x)
    57  }
    58  
    59  // Deprecated: Use BridgeDomain.ProtoReflect.Descriptor instead.
    60  func (*BridgeDomain) Descriptor() ([]byte, []int) {
    61  	return file_model_bridge_domain_proto_rawDescGZIP(), []int{0}
    62  }
    63  
    64  func (x *BridgeDomain) GetName() string {
    65  	if x != nil {
    66  		return x.Name
    67  	}
    68  	return ""
    69  }
    70  
    71  func (x *BridgeDomain) GetInterfaces() []*BridgeDomain_Interface {
    72  	if x != nil {
    73  		return x.Interfaces
    74  	}
    75  	return nil
    76  }
    77  
    78  type BridgeDomain_Interface struct {
    79  	state         protoimpl.MessageState
    80  	sizeCache     protoimpl.SizeCache
    81  	unknownFields protoimpl.UnknownFields
    82  
    83  	Name                    string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`                                                                         // interface name belonging to this bridge domain
    84  	BridgedVirtualInterface bool   `protobuf:"varint,2,opt,name=bridged_virtual_interface,json=bridgedVirtualInterface,proto3" json:"bridged_virtual_interface,omitempty"` // true if this is a BVI interface
    85  }
    86  
    87  func (x *BridgeDomain_Interface) Reset() {
    88  	*x = BridgeDomain_Interface{}
    89  	if protoimpl.UnsafeEnabled {
    90  		mi := &file_model_bridge_domain_proto_msgTypes[1]
    91  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
    92  		ms.StoreMessageInfo(mi)
    93  	}
    94  }
    95  
    96  func (x *BridgeDomain_Interface) String() string {
    97  	return protoimpl.X.MessageStringOf(x)
    98  }
    99  
   100  func (*BridgeDomain_Interface) ProtoMessage() {}
   101  
   102  func (x *BridgeDomain_Interface) ProtoReflect() protoreflect.Message {
   103  	mi := &file_model_bridge_domain_proto_msgTypes[1]
   104  	if protoimpl.UnsafeEnabled && x != nil {
   105  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   106  		if ms.LoadMessageInfo() == nil {
   107  			ms.StoreMessageInfo(mi)
   108  		}
   109  		return ms
   110  	}
   111  	return mi.MessageOf(x)
   112  }
   113  
   114  // Deprecated: Use BridgeDomain_Interface.ProtoReflect.Descriptor instead.
   115  func (*BridgeDomain_Interface) Descriptor() ([]byte, []int) {
   116  	return file_model_bridge_domain_proto_rawDescGZIP(), []int{0, 0}
   117  }
   118  
   119  func (x *BridgeDomain_Interface) GetName() string {
   120  	if x != nil {
   121  		return x.Name
   122  	}
   123  	return ""
   124  }
   125  
   126  func (x *BridgeDomain_Interface) GetBridgedVirtualInterface() bool {
   127  	if x != nil {
   128  		return x.BridgedVirtualInterface
   129  	}
   130  	return false
   131  }
   132  
   133  var File_model_bridge_domain_proto protoreflect.FileDescriptor
   134  
   135  var file_model_bridge_domain_proto_rawDesc = []byte{
   136  	0x0a, 0x19, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x2f, 0x62, 0x72, 0x69, 0x64, 0x67, 0x65, 0x2d, 0x64,
   137  	0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x07, 0x6d, 0x6f, 0x63,
   138  	0x6b, 0x2e, 0x6c, 0x32, 0x22, 0xc0, 0x01, 0x0a, 0x0c, 0x42, 0x72, 0x69, 0x64, 0x67, 0x65, 0x44,
   139  	0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20,
   140  	0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x3f, 0x0a, 0x0a, 0x69, 0x6e, 0x74,
   141  	0x65, 0x72, 0x66, 0x61, 0x63, 0x65, 0x73, 0x18, 0x0a, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1f, 0x2e,
   142  	0x6d, 0x6f, 0x63, 0x6b, 0x2e, 0x6c, 0x32, 0x2e, 0x42, 0x72, 0x69, 0x64, 0x67, 0x65, 0x44, 0x6f,
   143  	0x6d, 0x61, 0x69, 0x6e, 0x2e, 0x49, 0x6e, 0x74, 0x65, 0x72, 0x66, 0x61, 0x63, 0x65, 0x52, 0x0a,
   144  	0x69, 0x6e, 0x74, 0x65, 0x72, 0x66, 0x61, 0x63, 0x65, 0x73, 0x1a, 0x5b, 0x0a, 0x09, 0x49, 0x6e,
   145  	0x74, 0x65, 0x72, 0x66, 0x61, 0x63, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18,
   146  	0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x3a, 0x0a, 0x19, 0x62,
   147  	0x72, 0x69, 0x64, 0x67, 0x65, 0x64, 0x5f, 0x76, 0x69, 0x72, 0x74, 0x75, 0x61, 0x6c, 0x5f, 0x69,
   148  	0x6e, 0x74, 0x65, 0x72, 0x66, 0x61, 0x63, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x17,
   149  	0x62, 0x72, 0x69, 0x64, 0x67, 0x65, 0x64, 0x56, 0x69, 0x72, 0x74, 0x75, 0x61, 0x6c, 0x49, 0x6e,
   150  	0x74, 0x65, 0x72, 0x66, 0x61, 0x63, 0x65, 0x42, 0x54, 0x5a, 0x52, 0x67, 0x6f, 0x2e, 0x6c, 0x69,
   151  	0x67, 0x61, 0x74, 0x6f, 0x2e, 0x69, 0x6f, 0x2f, 0x76, 0x70, 0x70, 0x2d, 0x61, 0x67, 0x65, 0x6e,
   152  	0x74, 0x2f, 0x76, 0x33, 0x2f, 0x65, 0x78, 0x61, 0x6d, 0x70, 0x6c, 0x65, 0x73, 0x2f, 0x6b, 0x76,
   153  	0x73, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x72, 0x2f, 0x6d, 0x6f, 0x63, 0x6b, 0x5f, 0x70,
   154  	0x6c, 0x75, 0x67, 0x69, 0x6e, 0x73, 0x2f, 0x6c, 0x32, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x2f,
   155  	0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x3b, 0x6d, 0x6f, 0x63, 0x6b, 0x5f, 0x6c, 0x32, 0x62, 0x06, 0x70,
   156  	0x72, 0x6f, 0x74, 0x6f, 0x33,
   157  }
   158  
   159  var (
   160  	file_model_bridge_domain_proto_rawDescOnce sync.Once
   161  	file_model_bridge_domain_proto_rawDescData = file_model_bridge_domain_proto_rawDesc
   162  )
   163  
   164  func file_model_bridge_domain_proto_rawDescGZIP() []byte {
   165  	file_model_bridge_domain_proto_rawDescOnce.Do(func() {
   166  		file_model_bridge_domain_proto_rawDescData = protoimpl.X.CompressGZIP(file_model_bridge_domain_proto_rawDescData)
   167  	})
   168  	return file_model_bridge_domain_proto_rawDescData
   169  }
   170  
   171  var file_model_bridge_domain_proto_msgTypes = make([]protoimpl.MessageInfo, 2)
   172  var file_model_bridge_domain_proto_goTypes = []interface{}{
   173  	(*BridgeDomain)(nil),           // 0: mock.l2.BridgeDomain
   174  	(*BridgeDomain_Interface)(nil), // 1: mock.l2.BridgeDomain.Interface
   175  }
   176  var file_model_bridge_domain_proto_depIdxs = []int32{
   177  	1, // 0: mock.l2.BridgeDomain.interfaces:type_name -> mock.l2.BridgeDomain.Interface
   178  	1, // [1:1] is the sub-list for method output_type
   179  	1, // [1:1] is the sub-list for method input_type
   180  	1, // [1:1] is the sub-list for extension type_name
   181  	1, // [1:1] is the sub-list for extension extendee
   182  	0, // [0:1] is the sub-list for field type_name
   183  }
   184  
   185  func init() { file_model_bridge_domain_proto_init() }
   186  func file_model_bridge_domain_proto_init() {
   187  	if File_model_bridge_domain_proto != nil {
   188  		return
   189  	}
   190  	if !protoimpl.UnsafeEnabled {
   191  		file_model_bridge_domain_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
   192  			switch v := v.(*BridgeDomain); i {
   193  			case 0:
   194  				return &v.state
   195  			case 1:
   196  				return &v.sizeCache
   197  			case 2:
   198  				return &v.unknownFields
   199  			default:
   200  				return nil
   201  			}
   202  		}
   203  		file_model_bridge_domain_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
   204  			switch v := v.(*BridgeDomain_Interface); i {
   205  			case 0:
   206  				return &v.state
   207  			case 1:
   208  				return &v.sizeCache
   209  			case 2:
   210  				return &v.unknownFields
   211  			default:
   212  				return nil
   213  			}
   214  		}
   215  	}
   216  	type x struct{}
   217  	out := protoimpl.TypeBuilder{
   218  		File: protoimpl.DescBuilder{
   219  			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
   220  			RawDescriptor: file_model_bridge_domain_proto_rawDesc,
   221  			NumEnums:      0,
   222  			NumMessages:   2,
   223  			NumExtensions: 0,
   224  			NumServices:   0,
   225  		},
   226  		GoTypes:           file_model_bridge_domain_proto_goTypes,
   227  		DependencyIndexes: file_model_bridge_domain_proto_depIdxs,
   228  		MessageInfos:      file_model_bridge_domain_proto_msgTypes,
   229  	}.Build()
   230  	File_model_bridge_domain_proto = out.File
   231  	file_model_bridge_domain_proto_rawDesc = nil
   232  	file_model_bridge_domain_proto_goTypes = nil
   233  	file_model_bridge_domain_proto_depIdxs = nil
   234  }