Debian Codegraph @

bigquery/v2/apiv2/bigquerypb/location_metadata.pb.go

raw
1 // Copyright 2025 Google LLC
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 // Code generated by protoc-gen-go. DO NOT EDIT.
16 // versions:
17 // protoc-gen-go v1.35.2
18 // protoc v4.25.7
19 // source: google/cloud/bigquery/v2/location_metadata.proto
20
21 package bigquerypb
22
23 import (
24 protoreflect "google.golang.org/protobuf/reflect/protoreflect"
25 protoimpl "google.golang.org/protobuf/runtime/protoimpl"
26 reflect "reflect"
27 sync "sync"
28 )
29
30 const (
31 // Verify that this generated code is sufficiently up-to-date.
32 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
33 // Verify that runtime/protoimpl is sufficiently up-to-date.
34 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
35 )
36
37 // BigQuery-specific metadata about a location. This will be set on
38 // google.cloud.location.Location.metadata in Cloud Location API
39 // responses.
40 type LocationMetadata struct {
41 state protoimpl.MessageState
42 sizeCache protoimpl.SizeCache
43 unknownFields protoimpl.UnknownFields
44
45 // The legacy BigQuery location ID, e.g. “EU” for the “europe” location.
46 // This is for any API consumers that need the legacy “US” and “EU” locations.
47 LegacyLocationId string `protobuf:"bytes,1,opt,name=legacy_location_id,json=legacyLocationId,proto3" json:"legacy_location_id,omitempty"`
48 }
49
50 func (x *LocationMetadata) Reset() {
51 *x = LocationMetadata{}
52 mi := &file_google_cloud_bigquery_v2_location_metadata_proto_msgTypes[0]
53 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
54 ms.StoreMessageInfo(mi)
55 }
56
57 func (x *LocationMetadata) String() string {
58 return protoimpl.X.MessageStringOf(x)
59 }
60
61 func (*LocationMetadata) ProtoMessage() {}
62
63 func (x *LocationMetadata) ProtoReflect() protoreflect.Message {
64 mi := &file_google_cloud_bigquery_v2_location_metadata_proto_msgTypes[0]
65 if x != nil {
66 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
67 if ms.LoadMessageInfo() == nil {
68 ms.StoreMessageInfo(mi)
69 }
70 return ms
71 }
72 return mi.MessageOf(x)
73 }
74
75 // Deprecated: Use LocationMetadata.ProtoReflect.Descriptor instead.
76 func (*LocationMetadata) Descriptor() ([]byte, []int) {
77 return file_google_cloud_bigquery_v2_location_metadata_proto_rawDescGZIP(), []int{0}
78 }
79
80 func (x *LocationMetadata) GetLegacyLocationId() string {
81 if x != nil {
82 return x.LegacyLocationId
83 }
84 return ""
85 }
86
87 var File_google_cloud_bigquery_v2_location_metadata_proto protoreflect.FileDescriptor
88
89 var file_google_cloud_bigquery_v2_location_metadata_proto_rawDesc = []byte{
90 0x0a, 0x30, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x62,
91 0x69, 0x67, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2f, 0x76, 0x32, 0x2f, 0x6c, 0x6f, 0x63, 0x61, 0x74,
92 0x69, 0x6f, 0x6e, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x70, 0x72, 0x6f,
93 0x74, 0x6f, 0x12, 0x18, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64,
94 0x2e, 0x62, 0x69, 0x67, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x76, 0x32, 0x22, 0x40, 0x0a, 0x10,
95 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61,
96 0x12, 0x2c, 0x0a, 0x12, 0x6c, 0x65, 0x67, 0x61, 0x63, 0x79, 0x5f, 0x6c, 0x6f, 0x63, 0x61, 0x74,
97 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x10, 0x6c, 0x65,
98 0x67, 0x61, 0x63, 0x79, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x42, 0x72,
99 0x0a, 0x1c, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f,
100 0x75, 0x64, 0x2e, 0x62, 0x69, 0x67, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x76, 0x32, 0x42, 0x15,
101 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61,
102 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x5a, 0x3b, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x67, 0x6f, 0x6f,
103 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x67, 0x6f, 0x2f, 0x62, 0x69, 0x67, 0x71, 0x75,
104 0x65, 0x72, 0x79, 0x2f, 0x76, 0x32, 0x2f, 0x61, 0x70, 0x69, 0x76, 0x32, 0x2f, 0x62, 0x69, 0x67,
105 0x71, 0x75, 0x65, 0x72, 0x79, 0x70, 0x62, 0x3b, 0x62, 0x69, 0x67, 0x71, 0x75, 0x65, 0x72, 0x79,
106 0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
107 }
108
109 var (
110 file_google_cloud_bigquery_v2_location_metadata_proto_rawDescOnce sync.Once
111 file_google_cloud_bigquery_v2_location_metadata_proto_rawDescData = file_google_cloud_bigquery_v2_location_metadata_proto_rawDesc
112 )
113
114 func file_google_cloud_bigquery_v2_location_metadata_proto_rawDescGZIP() []byte {
115 file_google_cloud_bigquery_v2_location_metadata_proto_rawDescOnce.Do(func() {
116 file_google_cloud_bigquery_v2_location_metadata_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_cloud_bigquery_v2_location_metadata_proto_rawDescData)
117 })
118 return file_google_cloud_bigquery_v2_location_metadata_proto_rawDescData
119 }
120
121 var file_google_cloud_bigquery_v2_location_metadata_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
122 var file_google_cloud_bigquery_v2_location_metadata_proto_goTypes = []any{
123 (*LocationMetadata)(nil), // 0: google.cloud.bigquery.v2.LocationMetadata
124 }
125 var file_google_cloud_bigquery_v2_location_metadata_proto_depIdxs = []int32{
126 0, // [0:0] is the sub-list for method output_type
127 0, // [0:0] is the sub-list for method input_type
128 0, // [0:0] is the sub-list for extension type_name
129 0, // [0:0] is the sub-list for extension extendee
130 0, // [0:0] is the sub-list for field type_name
131 }
132
133 func init() { file_google_cloud_bigquery_v2_location_metadata_proto_init() }
134 func file_google_cloud_bigquery_v2_location_metadata_proto_init() {
135 if File_google_cloud_bigquery_v2_location_metadata_proto != nil {
136 return
137 }
138 type x struct{}
139 out := protoimpl.TypeBuilder{
140 File: protoimpl.DescBuilder{
141 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
142 RawDescriptor: file_google_cloud_bigquery_v2_location_metadata_proto_rawDesc,
143 NumEnums: 0,
144 NumMessages: 1,
145 NumExtensions: 0,
146 NumServices: 0,
147 },
148 GoTypes: file_google_cloud_bigquery_v2_location_metadata_proto_goTypes,
149 DependencyIndexes: file_google_cloud_bigquery_v2_location_metadata_proto_depIdxs,
150 MessageInfos: file_google_cloud_bigquery_v2_location_metadata_proto_msgTypes,
151 }.Build()
152 File_google_cloud_bigquery_v2_location_metadata_proto = out.File
153 file_google_cloud_bigquery_v2_location_metadata_proto_rawDesc = nil
154 file_google_cloud_bigquery_v2_location_metadata_proto_goTypes = nil
155 file_google_cloud_bigquery_v2_location_metadata_proto_depIdxs = nil
156 }