...

Source file src/google.golang.org/protobuf/types/gofeaturespb/go_features.pb.go

Documentation: google.golang.org/protobuf/types/gofeaturespb

     1  // Protocol Buffers - Google's data interchange format
     2  // Copyright 2023 Google Inc.  All rights reserved.
     3  //
     4  // Use of this source code is governed by a BSD-style
     5  // license that can be found in the LICENSE file or at
     6  // https://developers.google.com/open-source/licenses/bsd
     7  
     8  // Code generated by protoc-gen-go. DO NOT EDIT.
     9  // source: google/protobuf/go_features.proto
    10  
    11  package gofeaturespb
    12  
    13  import (
    14  	protoreflect "google.golang.org/protobuf/reflect/protoreflect"
    15  	protoimpl "google.golang.org/protobuf/runtime/protoimpl"
    16  	descriptorpb "google.golang.org/protobuf/types/descriptorpb"
    17  	reflect "reflect"
    18  	sync "sync"
    19  )
    20  
    21  type GoFeatures struct {
    22  	state         protoimpl.MessageState
    23  	sizeCache     protoimpl.SizeCache
    24  	unknownFields protoimpl.UnknownFields
    25  
    26  	// Whether or not to generate the deprecated UnmarshalJSON method for enums.
    27  	LegacyUnmarshalJsonEnum *bool `protobuf:"varint,1,opt,name=legacy_unmarshal_json_enum,json=legacyUnmarshalJsonEnum" json:"legacy_unmarshal_json_enum,omitempty"`
    28  }
    29  
    30  func (x *GoFeatures) Reset() {
    31  	*x = GoFeatures{}
    32  	if protoimpl.UnsafeEnabled {
    33  		mi := &file_google_protobuf_go_features_proto_msgTypes[0]
    34  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
    35  		ms.StoreMessageInfo(mi)
    36  	}
    37  }
    38  
    39  func (x *GoFeatures) String() string {
    40  	return protoimpl.X.MessageStringOf(x)
    41  }
    42  
    43  func (*GoFeatures) ProtoMessage() {}
    44  
    45  func (x *GoFeatures) ProtoReflect() protoreflect.Message {
    46  	mi := &file_google_protobuf_go_features_proto_msgTypes[0]
    47  	if protoimpl.UnsafeEnabled && x != nil {
    48  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
    49  		if ms.LoadMessageInfo() == nil {
    50  			ms.StoreMessageInfo(mi)
    51  		}
    52  		return ms
    53  	}
    54  	return mi.MessageOf(x)
    55  }
    56  
    57  // Deprecated: Use GoFeatures.ProtoReflect.Descriptor instead.
    58  func (*GoFeatures) Descriptor() ([]byte, []int) {
    59  	return file_google_protobuf_go_features_proto_rawDescGZIP(), []int{0}
    60  }
    61  
    62  func (x *GoFeatures) GetLegacyUnmarshalJsonEnum() bool {
    63  	if x != nil && x.LegacyUnmarshalJsonEnum != nil {
    64  		return *x.LegacyUnmarshalJsonEnum
    65  	}
    66  	return false
    67  }
    68  
    69  var file_google_protobuf_go_features_proto_extTypes = []protoimpl.ExtensionInfo{
    70  	{
    71  		ExtendedType:  (*descriptorpb.FeatureSet)(nil),
    72  		ExtensionType: (*GoFeatures)(nil),
    73  		Field:         1002,
    74  		Name:          "pb.go",
    75  		Tag:           "bytes,1002,opt,name=go",
    76  		Filename:      "google/protobuf/go_features.proto",
    77  	},
    78  }
    79  
    80  // Extension fields to descriptorpb.FeatureSet.
    81  var (
    82  	// optional pb.GoFeatures go = 1002;
    83  	E_Go = &file_google_protobuf_go_features_proto_extTypes[0]
    84  )
    85  
    86  var File_google_protobuf_go_features_proto protoreflect.FileDescriptor
    87  
    88  var file_google_protobuf_go_features_proto_rawDesc = []byte{
    89  	0x0a, 0x21, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75,
    90  	0x66, 0x2f, 0x67, 0x6f, 0x5f, 0x66, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x73, 0x2e, 0x70, 0x72,
    91  	0x6f, 0x74, 0x6f, 0x12, 0x02, 0x70, 0x62, 0x1a, 0x20, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f,
    92  	0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70,
    93  	0x74, 0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xc9, 0x01, 0x0a, 0x0a, 0x47, 0x6f,
    94  	0x46, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x73, 0x12, 0xba, 0x01, 0x0a, 0x1a, 0x6c, 0x65, 0x67,
    95  	0x61, 0x63, 0x79, 0x5f, 0x75, 0x6e, 0x6d, 0x61, 0x72, 0x73, 0x68, 0x61, 0x6c, 0x5f, 0x6a, 0x73,
    96  	0x6f, 0x6e, 0x5f, 0x65, 0x6e, 0x75, 0x6d, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x42, 0x7d, 0x88,
    97  	0x01, 0x01, 0x98, 0x01, 0x06, 0xa2, 0x01, 0x09, 0x12, 0x04, 0x74, 0x72, 0x75, 0x65, 0x18, 0x84,
    98  	0x07, 0xa2, 0x01, 0x0a, 0x12, 0x05, 0x66, 0x61, 0x6c, 0x73, 0x65, 0x18, 0xe7, 0x07, 0xb2, 0x01,
    99  	0x5b, 0x08, 0xe8, 0x07, 0x10, 0xe8, 0x07, 0x1a, 0x53, 0x54, 0x68, 0x65, 0x20, 0x6c, 0x65, 0x67,
   100  	0x61, 0x63, 0x79, 0x20, 0x55, 0x6e, 0x6d, 0x61, 0x72, 0x73, 0x68, 0x61, 0x6c, 0x4a, 0x53, 0x4f,
   101  	0x4e, 0x20, 0x41, 0x50, 0x49, 0x20, 0x69, 0x73, 0x20, 0x64, 0x65, 0x70, 0x72, 0x65, 0x63, 0x61,
   102  	0x74, 0x65, 0x64, 0x20, 0x61, 0x6e, 0x64, 0x20, 0x77, 0x69, 0x6c, 0x6c, 0x20, 0x62, 0x65, 0x20,
   103  	0x72, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x64, 0x20, 0x69, 0x6e, 0x20, 0x61, 0x20, 0x66, 0x75, 0x74,
   104  	0x75, 0x72, 0x65, 0x20, 0x65, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x52, 0x17, 0x6c, 0x65,
   105  	0x67, 0x61, 0x63, 0x79, 0x55, 0x6e, 0x6d, 0x61, 0x72, 0x73, 0x68, 0x61, 0x6c, 0x4a, 0x73, 0x6f,
   106  	0x6e, 0x45, 0x6e, 0x75, 0x6d, 0x3a, 0x3c, 0x0a, 0x02, 0x67, 0x6f, 0x12, 0x1b, 0x2e, 0x67, 0x6f,
   107  	0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x46, 0x65,
   108  	0x61, 0x74, 0x75, 0x72, 0x65, 0x53, 0x65, 0x74, 0x18, 0xea, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32,
   109  	0x0e, 0x2e, 0x70, 0x62, 0x2e, 0x47, 0x6f, 0x46, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x73, 0x52,
   110  	0x02, 0x67, 0x6f, 0x42, 0x2f, 0x5a, 0x2d, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x67, 0x6f,
   111  	0x6c, 0x61, 0x6e, 0x67, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75,
   112  	0x66, 0x2f, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2f, 0x67, 0x6f, 0x66, 0x65, 0x61, 0x74, 0x75, 0x72,
   113  	0x65, 0x73, 0x70, 0x62,
   114  }
   115  
   116  var (
   117  	file_google_protobuf_go_features_proto_rawDescOnce sync.Once
   118  	file_google_protobuf_go_features_proto_rawDescData = file_google_protobuf_go_features_proto_rawDesc
   119  )
   120  
   121  func file_google_protobuf_go_features_proto_rawDescGZIP() []byte {
   122  	file_google_protobuf_go_features_proto_rawDescOnce.Do(func() {
   123  		file_google_protobuf_go_features_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_protobuf_go_features_proto_rawDescData)
   124  	})
   125  	return file_google_protobuf_go_features_proto_rawDescData
   126  }
   127  
   128  var file_google_protobuf_go_features_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
   129  var file_google_protobuf_go_features_proto_goTypes = []interface{}{
   130  	(*GoFeatures)(nil),              // 0: pb.GoFeatures
   131  	(*descriptorpb.FeatureSet)(nil), // 1: google.protobuf.FeatureSet
   132  }
   133  var file_google_protobuf_go_features_proto_depIdxs = []int32{
   134  	1, // 0: pb.go:extendee -> google.protobuf.FeatureSet
   135  	0, // 1: pb.go:type_name -> pb.GoFeatures
   136  	2, // [2:2] is the sub-list for method output_type
   137  	2, // [2:2] is the sub-list for method input_type
   138  	1, // [1:2] is the sub-list for extension type_name
   139  	0, // [0:1] is the sub-list for extension extendee
   140  	0, // [0:0] is the sub-list for field type_name
   141  }
   142  
   143  func init() { file_google_protobuf_go_features_proto_init() }
   144  func file_google_protobuf_go_features_proto_init() {
   145  	if File_google_protobuf_go_features_proto != nil {
   146  		return
   147  	}
   148  	if !protoimpl.UnsafeEnabled {
   149  		file_google_protobuf_go_features_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
   150  			switch v := v.(*GoFeatures); i {
   151  			case 0:
   152  				return &v.state
   153  			case 1:
   154  				return &v.sizeCache
   155  			case 2:
   156  				return &v.unknownFields
   157  			default:
   158  				return nil
   159  			}
   160  		}
   161  	}
   162  	type x struct{}
   163  	out := protoimpl.TypeBuilder{
   164  		File: protoimpl.DescBuilder{
   165  			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
   166  			RawDescriptor: file_google_protobuf_go_features_proto_rawDesc,
   167  			NumEnums:      0,
   168  			NumMessages:   1,
   169  			NumExtensions: 1,
   170  			NumServices:   0,
   171  		},
   172  		GoTypes:           file_google_protobuf_go_features_proto_goTypes,
   173  		DependencyIndexes: file_google_protobuf_go_features_proto_depIdxs,
   174  		MessageInfos:      file_google_protobuf_go_features_proto_msgTypes,
   175  		ExtensionInfos:    file_google_protobuf_go_features_proto_extTypes,
   176  	}.Build()
   177  	File_google_protobuf_go_features_proto = out.File
   178  	file_google_protobuf_go_features_proto_rawDesc = nil
   179  	file_google_protobuf_go_features_proto_goTypes = nil
   180  	file_google_protobuf_go_features_proto_depIdxs = nil
   181  }
   182  

View as plain text