go.ligato.io/vpp-agent/v3@v3.5.0/plugins/kvscheduler/internal/test/model/values.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/values.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 ArrayValue struct {
    24  	state         protoimpl.MessageState
    25  	sizeCache     protoimpl.SizeCache
    26  	unknownFields protoimpl.UnknownFields
    27  
    28  	Items      []string `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"`
    29  	ItemSuffix string   `protobuf:"bytes,2,opt,name=item_suffix,json=itemSuffix,proto3" json:"item_suffix,omitempty"`
    30  }
    31  
    32  func (x *ArrayValue) Reset() {
    33  	*x = ArrayValue{}
    34  	if protoimpl.UnsafeEnabled {
    35  		mi := &file_model_values_proto_msgTypes[0]
    36  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
    37  		ms.StoreMessageInfo(mi)
    38  	}
    39  }
    40  
    41  func (x *ArrayValue) String() string {
    42  	return protoimpl.X.MessageStringOf(x)
    43  }
    44  
    45  func (*ArrayValue) ProtoMessage() {}
    46  
    47  func (x *ArrayValue) ProtoReflect() protoreflect.Message {
    48  	mi := &file_model_values_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 ArrayValue.ProtoReflect.Descriptor instead.
    60  func (*ArrayValue) Descriptor() ([]byte, []int) {
    61  	return file_model_values_proto_rawDescGZIP(), []int{0}
    62  }
    63  
    64  func (x *ArrayValue) GetItems() []string {
    65  	if x != nil {
    66  		return x.Items
    67  	}
    68  	return nil
    69  }
    70  
    71  func (x *ArrayValue) GetItemSuffix() string {
    72  	if x != nil {
    73  		return x.ItemSuffix
    74  	}
    75  	return ""
    76  }
    77  
    78  type StringValue struct {
    79  	state         protoimpl.MessageState
    80  	sizeCache     protoimpl.SizeCache
    81  	unknownFields protoimpl.UnknownFields
    82  
    83  	Value string `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"`
    84  }
    85  
    86  func (x *StringValue) Reset() {
    87  	*x = StringValue{}
    88  	if protoimpl.UnsafeEnabled {
    89  		mi := &file_model_values_proto_msgTypes[1]
    90  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
    91  		ms.StoreMessageInfo(mi)
    92  	}
    93  }
    94  
    95  func (x *StringValue) String() string {
    96  	return protoimpl.X.MessageStringOf(x)
    97  }
    98  
    99  func (*StringValue) ProtoMessage() {}
   100  
   101  func (x *StringValue) ProtoReflect() protoreflect.Message {
   102  	mi := &file_model_values_proto_msgTypes[1]
   103  	if protoimpl.UnsafeEnabled && x != nil {
   104  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   105  		if ms.LoadMessageInfo() == nil {
   106  			ms.StoreMessageInfo(mi)
   107  		}
   108  		return ms
   109  	}
   110  	return mi.MessageOf(x)
   111  }
   112  
   113  // Deprecated: Use StringValue.ProtoReflect.Descriptor instead.
   114  func (*StringValue) Descriptor() ([]byte, []int) {
   115  	return file_model_values_proto_rawDescGZIP(), []int{1}
   116  }
   117  
   118  func (x *StringValue) GetValue() string {
   119  	if x != nil {
   120  		return x.Value
   121  	}
   122  	return ""
   123  }
   124  
   125  var File_model_values_proto protoreflect.FileDescriptor
   126  
   127  var file_model_values_proto_rawDesc = []byte{
   128  	0x0a, 0x12, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x2f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x2e, 0x70,
   129  	0x72, 0x6f, 0x74, 0x6f, 0x12, 0x05, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x22, 0x43, 0x0a, 0x0a, 0x41,
   130  	0x72, 0x72, 0x61, 0x79, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x69, 0x74, 0x65,
   131  	0x6d, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 0x05, 0x69, 0x74, 0x65, 0x6d, 0x73, 0x12,
   132  	0x1f, 0x0a, 0x0b, 0x69, 0x74, 0x65, 0x6d, 0x5f, 0x73, 0x75, 0x66, 0x66, 0x69, 0x78, 0x18, 0x02,
   133  	0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x69, 0x74, 0x65, 0x6d, 0x53, 0x75, 0x66, 0x66, 0x69, 0x78,
   134  	0x22, 0x23, 0x0a, 0x0b, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12,
   135  	0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05,
   136  	0x76, 0x61, 0x6c, 0x75, 0x65, 0x42, 0x43, 0x5a, 0x41, 0x67, 0x6f, 0x2e, 0x6c, 0x69, 0x67, 0x61,
   137  	0x74, 0x6f, 0x2e, 0x69, 0x6f, 0x2f, 0x76, 0x70, 0x70, 0x2d, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x2f,
   138  	0x76, 0x33, 0x2f, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x73, 0x2f, 0x6b, 0x76, 0x73, 0x63, 0x68,
   139  	0x65, 0x64, 0x75, 0x6c, 0x65, 0x72, 0x2f, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x2f,
   140  	0x74, 0x65, 0x73, 0x74, 0x2f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74,
   141  	0x6f, 0x33,
   142  }
   143  
   144  var (
   145  	file_model_values_proto_rawDescOnce sync.Once
   146  	file_model_values_proto_rawDescData = file_model_values_proto_rawDesc
   147  )
   148  
   149  func file_model_values_proto_rawDescGZIP() []byte {
   150  	file_model_values_proto_rawDescOnce.Do(func() {
   151  		file_model_values_proto_rawDescData = protoimpl.X.CompressGZIP(file_model_values_proto_rawDescData)
   152  	})
   153  	return file_model_values_proto_rawDescData
   154  }
   155  
   156  var file_model_values_proto_msgTypes = make([]protoimpl.MessageInfo, 2)
   157  var file_model_values_proto_goTypes = []interface{}{
   158  	(*ArrayValue)(nil),  // 0: model.ArrayValue
   159  	(*StringValue)(nil), // 1: model.StringValue
   160  }
   161  var file_model_values_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_values_proto_init() }
   170  func file_model_values_proto_init() {
   171  	if File_model_values_proto != nil {
   172  		return
   173  	}
   174  	if !protoimpl.UnsafeEnabled {
   175  		file_model_values_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
   176  			switch v := v.(*ArrayValue); 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_values_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
   188  			switch v := v.(*StringValue); 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_values_proto_rawDesc,
   205  			NumEnums:      0,
   206  			NumMessages:   2,
   207  			NumExtensions: 0,
   208  			NumServices:   0,
   209  		},
   210  		GoTypes:           file_model_values_proto_goTypes,
   211  		DependencyIndexes: file_model_values_proto_depIdxs,
   212  		MessageInfos:      file_model_values_proto_msgTypes,
   213  	}.Build()
   214  	File_model_values_proto = out.File
   215  	file_model_values_proto_rawDesc = nil
   216  	file_model_values_proto_goTypes = nil
   217  	file_model_values_proto_depIdxs = nil
   218  }