gitee.com/zhaochuninhefei/gmgo@v0.0.31-0.20240209061119-069254a02979/go-control-plane/envoy/type/semantic_version.pb.go (about)

     1  // Code generated by protoc-gen-go. DO NOT EDIT.
     2  // versions:
     3  // 	protoc-gen-go v1.25.0
     4  // 	protoc        v3.16.0
     5  // source: envoy/type/semantic_version.proto
     6  
     7  package envoy_type
     8  
     9  import (
    10  	_ "github.com/cncf/xds/go/udpa/annotations"
    11  	proto "github.com/golang/protobuf/proto"
    12  	protoreflect "google.golang.org/protobuf/reflect/protoreflect"
    13  	protoimpl "google.golang.org/protobuf/runtime/protoimpl"
    14  	reflect "reflect"
    15  	sync "sync"
    16  )
    17  
    18  const (
    19  	// Verify that this generated code is sufficiently up-to-date.
    20  	_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
    21  	// Verify that runtime/protoimpl is sufficiently up-to-date.
    22  	_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
    23  )
    24  
    25  // This is a compile-time assertion that a sufficiently up-to-date version
    26  // of the legacy proto package is being used.
    27  const _ = proto.ProtoPackageIsVersion4
    28  
    29  // Envoy uses SemVer (https://semver.org/). Major/minor versions indicate
    30  // expected behaviors and APIs, the patch version field is used only
    31  // for security fixes and can be generally ignored.
    32  type SemanticVersion struct {
    33  	state         protoimpl.MessageState
    34  	sizeCache     protoimpl.SizeCache
    35  	unknownFields protoimpl.UnknownFields
    36  
    37  	MajorNumber uint32 `protobuf:"varint,1,opt,name=major_number,json=majorNumber,proto3" json:"major_number,omitempty"`
    38  	MinorNumber uint32 `protobuf:"varint,2,opt,name=minor_number,json=minorNumber,proto3" json:"minor_number,omitempty"`
    39  	Patch       uint32 `protobuf:"varint,3,opt,name=patch,proto3" json:"patch,omitempty"`
    40  }
    41  
    42  func (x *SemanticVersion) Reset() {
    43  	*x = SemanticVersion{}
    44  	if protoimpl.UnsafeEnabled {
    45  		mi := &file_envoy_type_semantic_version_proto_msgTypes[0]
    46  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
    47  		ms.StoreMessageInfo(mi)
    48  	}
    49  }
    50  
    51  func (x *SemanticVersion) String() string {
    52  	return protoimpl.X.MessageStringOf(x)
    53  }
    54  
    55  func (*SemanticVersion) ProtoMessage() {}
    56  
    57  func (x *SemanticVersion) ProtoReflect() protoreflect.Message {
    58  	mi := &file_envoy_type_semantic_version_proto_msgTypes[0]
    59  	if protoimpl.UnsafeEnabled && x != nil {
    60  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
    61  		if ms.LoadMessageInfo() == nil {
    62  			ms.StoreMessageInfo(mi)
    63  		}
    64  		return ms
    65  	}
    66  	return mi.MessageOf(x)
    67  }
    68  
    69  // Deprecated: Use SemanticVersion.ProtoReflect.Descriptor instead.
    70  func (*SemanticVersion) Descriptor() ([]byte, []int) {
    71  	return file_envoy_type_semantic_version_proto_rawDescGZIP(), []int{0}
    72  }
    73  
    74  func (x *SemanticVersion) GetMajorNumber() uint32 {
    75  	if x != nil {
    76  		return x.MajorNumber
    77  	}
    78  	return 0
    79  }
    80  
    81  func (x *SemanticVersion) GetMinorNumber() uint32 {
    82  	if x != nil {
    83  		return x.MinorNumber
    84  	}
    85  	return 0
    86  }
    87  
    88  func (x *SemanticVersion) GetPatch() uint32 {
    89  	if x != nil {
    90  		return x.Patch
    91  	}
    92  	return 0
    93  }
    94  
    95  var File_envoy_type_semantic_version_proto protoreflect.FileDescriptor
    96  
    97  var file_envoy_type_semantic_version_proto_rawDesc = []byte{
    98  	0x0a, 0x21, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2f, 0x74, 0x79, 0x70, 0x65, 0x2f, 0x73, 0x65, 0x6d,
    99  	0x61, 0x6e, 0x74, 0x69, 0x63, 0x5f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72,
   100  	0x6f, 0x74, 0x6f, 0x12, 0x0a, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x1a,
   101  	0x1d, 0x75, 0x64, 0x70, 0x61, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e,
   102  	0x73, 0x2f, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x6d,
   103  	0x0a, 0x0f, 0x53, 0x65, 0x6d, 0x61, 0x6e, 0x74, 0x69, 0x63, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f,
   104  	0x6e, 0x12, 0x21, 0x0a, 0x0c, 0x6d, 0x61, 0x6a, 0x6f, 0x72, 0x5f, 0x6e, 0x75, 0x6d, 0x62, 0x65,
   105  	0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0b, 0x6d, 0x61, 0x6a, 0x6f, 0x72, 0x4e, 0x75,
   106  	0x6d, 0x62, 0x65, 0x72, 0x12, 0x21, 0x0a, 0x0c, 0x6d, 0x69, 0x6e, 0x6f, 0x72, 0x5f, 0x6e, 0x75,
   107  	0x6d, 0x62, 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0b, 0x6d, 0x69, 0x6e, 0x6f,
   108  	0x72, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x12, 0x14, 0x0a, 0x05, 0x70, 0x61, 0x74, 0x63, 0x68,
   109  	0x18, 0x03, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05, 0x70, 0x61, 0x74, 0x63, 0x68, 0x42, 0x3a, 0x0a,
   110  	0x18, 0x69, 0x6f, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2e, 0x65,
   111  	0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x42, 0x14, 0x53, 0x65, 0x6d, 0x61, 0x6e,
   112  	0x74, 0x69, 0x63, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50,
   113  	0x01, 0xba, 0x80, 0xc8, 0xd1, 0x06, 0x02, 0x10, 0x01, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f,
   114  	0x33,
   115  }
   116  
   117  var (
   118  	file_envoy_type_semantic_version_proto_rawDescOnce sync.Once
   119  	file_envoy_type_semantic_version_proto_rawDescData = file_envoy_type_semantic_version_proto_rawDesc
   120  )
   121  
   122  func file_envoy_type_semantic_version_proto_rawDescGZIP() []byte {
   123  	file_envoy_type_semantic_version_proto_rawDescOnce.Do(func() {
   124  		file_envoy_type_semantic_version_proto_rawDescData = protoimpl.X.CompressGZIP(file_envoy_type_semantic_version_proto_rawDescData)
   125  	})
   126  	return file_envoy_type_semantic_version_proto_rawDescData
   127  }
   128  
   129  var file_envoy_type_semantic_version_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
   130  var file_envoy_type_semantic_version_proto_goTypes = []interface{}{
   131  	(*SemanticVersion)(nil), // 0: envoy.type.SemanticVersion
   132  }
   133  var file_envoy_type_semantic_version_proto_depIdxs = []int32{
   134  	0, // [0:0] is the sub-list for method output_type
   135  	0, // [0:0] is the sub-list for method input_type
   136  	0, // [0:0] is the sub-list for extension type_name
   137  	0, // [0:0] is the sub-list for extension extendee
   138  	0, // [0:0] is the sub-list for field type_name
   139  }
   140  
   141  func init() { file_envoy_type_semantic_version_proto_init() }
   142  func file_envoy_type_semantic_version_proto_init() {
   143  	if File_envoy_type_semantic_version_proto != nil {
   144  		return
   145  	}
   146  	if !protoimpl.UnsafeEnabled {
   147  		file_envoy_type_semantic_version_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
   148  			switch v := v.(*SemanticVersion); i {
   149  			case 0:
   150  				return &v.state
   151  			case 1:
   152  				return &v.sizeCache
   153  			case 2:
   154  				return &v.unknownFields
   155  			default:
   156  				return nil
   157  			}
   158  		}
   159  	}
   160  	type x struct{}
   161  	out := protoimpl.TypeBuilder{
   162  		File: protoimpl.DescBuilder{
   163  			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
   164  			RawDescriptor: file_envoy_type_semantic_version_proto_rawDesc,
   165  			NumEnums:      0,
   166  			NumMessages:   1,
   167  			NumExtensions: 0,
   168  			NumServices:   0,
   169  		},
   170  		GoTypes:           file_envoy_type_semantic_version_proto_goTypes,
   171  		DependencyIndexes: file_envoy_type_semantic_version_proto_depIdxs,
   172  		MessageInfos:      file_envoy_type_semantic_version_proto_msgTypes,
   173  	}.Build()
   174  	File_envoy_type_semantic_version_proto = out.File
   175  	file_envoy_type_semantic_version_proto_rawDesc = nil
   176  	file_envoy_type_semantic_version_proto_goTypes = nil
   177  	file_envoy_type_semantic_version_proto_depIdxs = nil
   178  }