go.ligato.io/vpp-agent/v3@v3.5.0/examples/tutorials/05_kv-scheduler/model/model.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/model.proto
     6  
     7  package model
     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 Interface 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"`
    29  }
    30  
    31  func (x *Interface) Reset() {
    32  	*x = Interface{}
    33  	if protoimpl.UnsafeEnabled {
    34  		mi := &file_model_model_proto_msgTypes[0]
    35  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
    36  		ms.StoreMessageInfo(mi)
    37  	}
    38  }
    39  
    40  func (x *Interface) String() string {
    41  	return protoimpl.X.MessageStringOf(x)
    42  }
    43  
    44  func (*Interface) ProtoMessage() {}
    45  
    46  func (x *Interface) ProtoReflect() protoreflect.Message {
    47  	mi := &file_model_model_proto_msgTypes[0]
    48  	if protoimpl.UnsafeEnabled && x != nil {
    49  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
    50  		if ms.LoadMessageInfo() == nil {
    51  			ms.StoreMessageInfo(mi)
    52  		}
    53  		return ms
    54  	}
    55  	return mi.MessageOf(x)
    56  }
    57  
    58  // Deprecated: Use Interface.ProtoReflect.Descriptor instead.
    59  func (*Interface) Descriptor() ([]byte, []int) {
    60  	return file_model_model_proto_rawDescGZIP(), []int{0}
    61  }
    62  
    63  func (x *Interface) GetName() string {
    64  	if x != nil {
    65  		return x.Name
    66  	}
    67  	return ""
    68  }
    69  
    70  type Route struct {
    71  	state         protoimpl.MessageState
    72  	sizeCache     protoimpl.SizeCache
    73  	unknownFields protoimpl.UnknownFields
    74  
    75  	Name          string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
    76  	InterfaceName string `protobuf:"bytes,2,opt,name=interface_name,json=interfaceName,proto3" json:"interface_name,omitempty"`
    77  }
    78  
    79  func (x *Route) Reset() {
    80  	*x = Route{}
    81  	if protoimpl.UnsafeEnabled {
    82  		mi := &file_model_model_proto_msgTypes[1]
    83  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
    84  		ms.StoreMessageInfo(mi)
    85  	}
    86  }
    87  
    88  func (x *Route) String() string {
    89  	return protoimpl.X.MessageStringOf(x)
    90  }
    91  
    92  func (*Route) ProtoMessage() {}
    93  
    94  func (x *Route) ProtoReflect() protoreflect.Message {
    95  	mi := &file_model_model_proto_msgTypes[1]
    96  	if protoimpl.UnsafeEnabled && x != nil {
    97  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
    98  		if ms.LoadMessageInfo() == nil {
    99  			ms.StoreMessageInfo(mi)
   100  		}
   101  		return ms
   102  	}
   103  	return mi.MessageOf(x)
   104  }
   105  
   106  // Deprecated: Use Route.ProtoReflect.Descriptor instead.
   107  func (*Route) Descriptor() ([]byte, []int) {
   108  	return file_model_model_proto_rawDescGZIP(), []int{1}
   109  }
   110  
   111  func (x *Route) GetName() string {
   112  	if x != nil {
   113  		return x.Name
   114  	}
   115  	return ""
   116  }
   117  
   118  func (x *Route) GetInterfaceName() string {
   119  	if x != nil {
   120  		return x.InterfaceName
   121  	}
   122  	return ""
   123  }
   124  
   125  var File_model_model_proto protoreflect.FileDescriptor
   126  
   127  var file_model_model_proto_rawDesc = []byte{
   128  	0x0a, 0x11, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x2f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x2e, 0x70, 0x72,
   129  	0x6f, 0x74, 0x6f, 0x12, 0x05, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x22, 0x1f, 0x0a, 0x09, 0x49, 0x6e,
   130  	0x74, 0x65, 0x72, 0x66, 0x61, 0x63, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18,
   131  	0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x42, 0x0a, 0x05, 0x52,
   132  	0x6f, 0x75, 0x74, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01,
   133  	0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x25, 0x0a, 0x0e, 0x69, 0x6e, 0x74, 0x65,
   134  	0x72, 0x66, 0x61, 0x63, 0x65, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09,
   135  	0x52, 0x0d, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x66, 0x61, 0x63, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x42,
   136  	0x4a, 0x5a, 0x48, 0x67, 0x6f, 0x2e, 0x6c, 0x69, 0x67, 0x61, 0x74, 0x6f, 0x2e, 0x69, 0x6f, 0x2f,
   137  	0x76, 0x70, 0x70, 0x2d, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x2f, 0x76, 0x33, 0x2f, 0x65, 0x78, 0x61,
   138  	0x6d, 0x70, 0x6c, 0x65, 0x73, 0x2f, 0x74, 0x75, 0x74, 0x6f, 0x72, 0x69, 0x61, 0x6c, 0x73, 0x2f,
   139  	0x30, 0x35, 0x5f, 0x6b, 0x76, 0x2d, 0x73, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x72, 0x2f,
   140  	0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x3b, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x62, 0x06, 0x70, 0x72, 0x6f,
   141  	0x74, 0x6f, 0x33,
   142  }
   143  
   144  var (
   145  	file_model_model_proto_rawDescOnce sync.Once
   146  	file_model_model_proto_rawDescData = file_model_model_proto_rawDesc
   147  )
   148  
   149  func file_model_model_proto_rawDescGZIP() []byte {
   150  	file_model_model_proto_rawDescOnce.Do(func() {
   151  		file_model_model_proto_rawDescData = protoimpl.X.CompressGZIP(file_model_model_proto_rawDescData)
   152  	})
   153  	return file_model_model_proto_rawDescData
   154  }
   155  
   156  var file_model_model_proto_msgTypes = make([]protoimpl.MessageInfo, 2)
   157  var file_model_model_proto_goTypes = []interface{}{
   158  	(*Interface)(nil), // 0: model.Interface
   159  	(*Route)(nil),     // 1: model.Route
   160  }
   161  var file_model_model_proto_depIdxs = []int32{
   162  	0, // [0:0] is the sub-list for method output_type
   163  	0, // [0:0] is the sub-list for method input_type
   164  	0, // [0:0] is the sub-list for extension type_name
   165  	0, // [0:0] is the sub-list for extension extendee
   166  	0, // [0:0] is the sub-list for field type_name
   167  }
   168  
   169  func init() { file_model_model_proto_init() }
   170  func file_model_model_proto_init() {
   171  	if File_model_model_proto != nil {
   172  		return
   173  	}
   174  	if !protoimpl.UnsafeEnabled {
   175  		file_model_model_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
   176  			switch v := v.(*Interface); i {
   177  			case 0:
   178  				return &v.state
   179  			case 1:
   180  				return &v.sizeCache
   181  			case 2:
   182  				return &v.unknownFields
   183  			default:
   184  				return nil
   185  			}
   186  		}
   187  		file_model_model_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
   188  			switch v := v.(*Route); i {
   189  			case 0:
   190  				return &v.state
   191  			case 1:
   192  				return &v.sizeCache
   193  			case 2:
   194  				return &v.unknownFields
   195  			default:
   196  				return nil
   197  			}
   198  		}
   199  	}
   200  	type x struct{}
   201  	out := protoimpl.TypeBuilder{
   202  		File: protoimpl.DescBuilder{
   203  			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
   204  			RawDescriptor: file_model_model_proto_rawDesc,
   205  			NumEnums:      0,
   206  			NumMessages:   2,
   207  			NumExtensions: 0,
   208  			NumServices:   0,
   209  		},
   210  		GoTypes:           file_model_model_proto_goTypes,
   211  		DependencyIndexes: file_model_model_proto_depIdxs,
   212  		MessageInfos:      file_model_model_proto_msgTypes,
   213  	}.Build()
   214  	File_model_model_proto = out.File
   215  	file_model_model_proto_rawDesc = nil
   216  	file_model_model_proto_goTypes = nil
   217  	file_model_model_proto_depIdxs = nil
   218  }