go.chromium.org/luci@v0.0.0-20240309015107-7cdc2e660f33/common/bq/pb/options.pb.go (about) 1 // Copyright 2021 The LUCI Authors. 2 // 3 // Licensed under the Apache License, Version 2.0 (the "License"); 4 // you may not use this file except in compliance with the License. 5 // You may obtain a copy of the License at 6 // 7 // http://www.apache.org/licenses/LICENSE-2.0 8 // 9 // Unless required by applicable law or agreed to in writing, software 10 // distributed under the License is distributed on an "AS IS" BASIS, 11 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 // See the License for the specific language governing permissions and 13 // limitations under the License. 14 15 // Defining extensions is supported in proto2 syntax only. 16 17 // Code generated by protoc-gen-go. DO NOT EDIT. 18 // versions: 19 // protoc-gen-go v1.31.0 20 // protoc v3.21.7 21 // source: go.chromium.org/luci/common/bq/pb/options.proto 22 23 package pb 24 25 import ( 26 protoreflect "google.golang.org/protobuf/reflect/protoreflect" 27 protoimpl "google.golang.org/protobuf/runtime/protoimpl" 28 descriptorpb "google.golang.org/protobuf/types/descriptorpb" 29 reflect "reflect" 30 sync "sync" 31 ) 32 33 const ( 34 // Verify that this generated code is sufficiently up-to-date. 35 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) 36 // Verify that runtime/protoimpl is sufficiently up-to-date. 37 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) 38 ) 39 40 type FieldOptions struct { 41 state protoimpl.MessageState 42 sizeCache protoimpl.SizeCache 43 unknownFields protoimpl.UnknownFields 44 45 // BigQuery field type to use for this field instead of the "guessed" one. 46 BqType *string `protobuf:"bytes,1,opt,name=bq_type,json=bqType" json:"bq_type,omitempty"` 47 } 48 49 func (x *FieldOptions) Reset() { 50 *x = FieldOptions{} 51 if protoimpl.UnsafeEnabled { 52 mi := &file_go_chromium_org_luci_common_bq_pb_options_proto_msgTypes[0] 53 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 54 ms.StoreMessageInfo(mi) 55 } 56 } 57 58 func (x *FieldOptions) String() string { 59 return protoimpl.X.MessageStringOf(x) 60 } 61 62 func (*FieldOptions) ProtoMessage() {} 63 64 func (x *FieldOptions) ProtoReflect() protoreflect.Message { 65 mi := &file_go_chromium_org_luci_common_bq_pb_options_proto_msgTypes[0] 66 if protoimpl.UnsafeEnabled && x != nil { 67 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 68 if ms.LoadMessageInfo() == nil { 69 ms.StoreMessageInfo(mi) 70 } 71 return ms 72 } 73 return mi.MessageOf(x) 74 } 75 76 // Deprecated: Use FieldOptions.ProtoReflect.Descriptor instead. 77 func (*FieldOptions) Descriptor() ([]byte, []int) { 78 return file_go_chromium_org_luci_common_bq_pb_options_proto_rawDescGZIP(), []int{0} 79 } 80 81 func (x *FieldOptions) GetBqType() string { 82 if x != nil && x.BqType != nil { 83 return *x.BqType 84 } 85 return "" 86 } 87 88 var file_go_chromium_org_luci_common_bq_pb_options_proto_extTypes = []protoimpl.ExtensionInfo{ 89 { 90 ExtendedType: (*descriptorpb.FieldOptions)(nil), 91 ExtensionType: (*FieldOptions)(nil), 92 Field: 74700, 93 Name: "bqschema.options", 94 Tag: "bytes,74700,opt,name=options", 95 Filename: "go.chromium.org/luci/common/bq/pb/options.proto", 96 }, 97 } 98 99 // Extension fields to descriptorpb.FieldOptions. 100 var ( 101 // optional bqschema.FieldOptions options = 74700; 102 E_Options = &file_go_chromium_org_luci_common_bq_pb_options_proto_extTypes[0] 103 ) 104 105 var File_go_chromium_org_luci_common_bq_pb_options_proto protoreflect.FileDescriptor 106 107 var file_go_chromium_org_luci_common_bq_pb_options_proto_rawDesc = []byte{ 108 0x0a, 0x2f, 0x67, 0x6f, 0x2e, 0x63, 0x68, 0x72, 0x6f, 0x6d, 0x69, 0x75, 0x6d, 0x2e, 0x6f, 0x72, 109 0x67, 0x2f, 0x6c, 0x75, 0x63, 0x69, 0x2f, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2f, 0x62, 0x71, 110 0x2f, 0x70, 0x62, 0x2f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 111 0x6f, 0x12, 0x08, 0x62, 0x71, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x1a, 0x20, 0x67, 0x6f, 0x6f, 112 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x64, 0x65, 0x73, 113 0x63, 0x72, 0x69, 0x70, 0x74, 0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x27, 0x0a, 114 0x0c, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x17, 0x0a, 115 0x07, 0x62, 0x71, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 116 0x62, 0x71, 0x54, 0x79, 0x70, 0x65, 0x3a, 0x51, 0x0a, 0x07, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 117 0x73, 0x12, 0x1d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 118 0x62, 0x75, 0x66, 0x2e, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 119 0x18, 0xcc, 0xc7, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x62, 0x71, 0x73, 0x63, 0x68, 120 0x65, 0x6d, 0x61, 0x2e, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 121 0x52, 0x07, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x42, 0x23, 0x5a, 0x21, 0x67, 0x6f, 0x2e, 122 0x63, 0x68, 0x72, 0x6f, 0x6d, 0x69, 0x75, 0x6d, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x6c, 0x75, 0x63, 123 0x69, 0x2f, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2f, 0x62, 0x71, 0x2f, 0x70, 0x62, 124 } 125 126 var ( 127 file_go_chromium_org_luci_common_bq_pb_options_proto_rawDescOnce sync.Once 128 file_go_chromium_org_luci_common_bq_pb_options_proto_rawDescData = file_go_chromium_org_luci_common_bq_pb_options_proto_rawDesc 129 ) 130 131 func file_go_chromium_org_luci_common_bq_pb_options_proto_rawDescGZIP() []byte { 132 file_go_chromium_org_luci_common_bq_pb_options_proto_rawDescOnce.Do(func() { 133 file_go_chromium_org_luci_common_bq_pb_options_proto_rawDescData = protoimpl.X.CompressGZIP(file_go_chromium_org_luci_common_bq_pb_options_proto_rawDescData) 134 }) 135 return file_go_chromium_org_luci_common_bq_pb_options_proto_rawDescData 136 } 137 138 var file_go_chromium_org_luci_common_bq_pb_options_proto_msgTypes = make([]protoimpl.MessageInfo, 1) 139 var file_go_chromium_org_luci_common_bq_pb_options_proto_goTypes = []interface{}{ 140 (*FieldOptions)(nil), // 0: bqschema.FieldOptions 141 (*descriptorpb.FieldOptions)(nil), // 1: google.protobuf.FieldOptions 142 } 143 var file_go_chromium_org_luci_common_bq_pb_options_proto_depIdxs = []int32{ 144 1, // 0: bqschema.options:extendee -> google.protobuf.FieldOptions 145 0, // 1: bqschema.options:type_name -> bqschema.FieldOptions 146 2, // [2:2] is the sub-list for method output_type 147 2, // [2:2] is the sub-list for method input_type 148 1, // [1:2] is the sub-list for extension type_name 149 0, // [0:1] is the sub-list for extension extendee 150 0, // [0:0] is the sub-list for field type_name 151 } 152 153 func init() { file_go_chromium_org_luci_common_bq_pb_options_proto_init() } 154 func file_go_chromium_org_luci_common_bq_pb_options_proto_init() { 155 if File_go_chromium_org_luci_common_bq_pb_options_proto != nil { 156 return 157 } 158 if !protoimpl.UnsafeEnabled { 159 file_go_chromium_org_luci_common_bq_pb_options_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { 160 switch v := v.(*FieldOptions); i { 161 case 0: 162 return &v.state 163 case 1: 164 return &v.sizeCache 165 case 2: 166 return &v.unknownFields 167 default: 168 return nil 169 } 170 } 171 } 172 type x struct{} 173 out := protoimpl.TypeBuilder{ 174 File: protoimpl.DescBuilder{ 175 GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 176 RawDescriptor: file_go_chromium_org_luci_common_bq_pb_options_proto_rawDesc, 177 NumEnums: 0, 178 NumMessages: 1, 179 NumExtensions: 1, 180 NumServices: 0, 181 }, 182 GoTypes: file_go_chromium_org_luci_common_bq_pb_options_proto_goTypes, 183 DependencyIndexes: file_go_chromium_org_luci_common_bq_pb_options_proto_depIdxs, 184 MessageInfos: file_go_chromium_org_luci_common_bq_pb_options_proto_msgTypes, 185 ExtensionInfos: file_go_chromium_org_luci_common_bq_pb_options_proto_extTypes, 186 }.Build() 187 File_go_chromium_org_luci_common_bq_pb_options_proto = out.File 188 file_go_chromium_org_luci_common_bq_pb_options_proto_rawDesc = nil 189 file_go_chromium_org_luci_common_bq_pb_options_proto_goTypes = nil 190 file_go_chromium_org_luci_common_bq_pb_options_proto_depIdxs = nil 191 }