Debian Codegraph @

bigquery/v2/apiv2/bigquerypb/job_reference.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/job_reference.proto
20
21 package bigquerypb
22
23 import (
24 _ "google.golang.org/genproto/googleapis/api/annotations"
25 protoreflect "google.golang.org/protobuf/reflect/protoreflect"
26 protoimpl "google.golang.org/protobuf/runtime/protoimpl"
27 wrapperspb "google.golang.org/protobuf/types/known/wrapperspb"
28 reflect "reflect"
29 sync "sync"
30 )
31
32 const (
33 // Verify that this generated code is sufficiently up-to-date.
34 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
35 // Verify that runtime/protoimpl is sufficiently up-to-date.
36 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
37 )
38
39 // A job reference is a fully qualified identifier for referring to a job.
40 type JobReference struct {
41 state protoimpl.MessageState
42 sizeCache protoimpl.SizeCache
43 unknownFields protoimpl.UnknownFields
44
45 // Required. The ID of the project containing this job.
46 ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"`
47 // Required. The ID of the job. The ID must contain only letters (a-z, A-Z),
48 // numbers (0-9), underscores (_), or dashes (-). The maximum length is 1,024
49 // characters.
50 JobId string `protobuf:"bytes,2,opt,name=job_id,json=jobId,proto3" json:"job_id,omitempty"`
51 // Optional. The geographic location of the job. The default value is US.
52 //
53 // For more information about BigQuery locations, see:
54 // https://cloud.google.com/bigquery/docs/locations
55 Location *wrapperspb.StringValue `protobuf:"bytes,3,opt,name=location,proto3" json:"location,omitempty"`
56 }
57
58 func (x *JobReference) Reset() {
59 *x = JobReference{}
60 mi := &file_google_cloud_bigquery_v2_job_reference_proto_msgTypes[0]
61 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
62 ms.StoreMessageInfo(mi)
63 }
64
65 func (x *JobReference) String() string {
66 return protoimpl.X.MessageStringOf(x)
67 }
68
69 func (*JobReference) ProtoMessage() {}
70
71 func (x *JobReference) ProtoReflect() protoreflect.Message {
72 mi := &file_google_cloud_bigquery_v2_job_reference_proto_msgTypes[0]
73 if x != nil {
74 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
75 if ms.LoadMessageInfo() == nil {
76 ms.StoreMessageInfo(mi)
77 }
78 return ms
79 }
80 return mi.MessageOf(x)
81 }
82
83 // Deprecated: Use JobReference.ProtoReflect.Descriptor instead.
84 func (*JobReference) Descriptor() ([]byte, []int) {
85 return file_google_cloud_bigquery_v2_job_reference_proto_rawDescGZIP(), []int{0}
86 }
87
88 func (x *JobReference) GetProjectId() string {
89 if x != nil {
90 return x.ProjectId
91 }
92 return ""
93 }
94
95 func (x *JobReference) GetJobId() string {
96 if x != nil {
97 return x.JobId
98 }
99 return ""
100 }
101
102 func (x *JobReference) GetLocation() *wrapperspb.StringValue {
103 if x != nil {
104 return x.Location
105 }
106 return nil
107 }
108
109 var File_google_cloud_bigquery_v2_job_reference_proto protoreflect.FileDescriptor
110
111 var file_google_cloud_bigquery_v2_job_reference_proto_rawDesc = []byte{
112 0x0a, 0x2c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x62,
113 0x69, 0x67, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2f, 0x76, 0x32, 0x2f, 0x6a, 0x6f, 0x62, 0x5f, 0x72,
114 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x18,
115 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x62, 0x69, 0x67,
116 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x76, 0x32, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
117 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x62, 0x65, 0x68, 0x61, 0x76,
118 0x69, 0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1e, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
119 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x77, 0x72, 0x61, 0x70, 0x70,
120 0x65, 0x72, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x8d, 0x01, 0x0a, 0x0c, 0x4a, 0x6f,
121 0x62, 0x52, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x12, 0x22, 0x0a, 0x0a, 0x70, 0x72,
122 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03,
123 0xe0, 0x41, 0x02, 0x52, 0x09, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x49, 0x64, 0x12, 0x1a,
124 0x0a, 0x06, 0x6a, 0x6f, 0x62, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03,
125 0xe0, 0x41, 0x02, 0x52, 0x05, 0x6a, 0x6f, 0x62, 0x49, 0x64, 0x12, 0x3d, 0x0a, 0x08, 0x6c, 0x6f,
126 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x67,
127 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53,
128 0x74, 0x72, 0x69, 0x6e, 0x67, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52,
129 0x08, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x6e, 0x0a, 0x1c, 0x63, 0x6f, 0x6d,
130 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x62, 0x69,
131 0x67, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x76, 0x32, 0x42, 0x11, 0x4a, 0x6f, 0x62, 0x52, 0x65,
132 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x5a, 0x3b, 0x63, 0x6c,
133 0x6f, 0x75, 0x64, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x67,
134 0x6f, 0x2f, 0x62, 0x69, 0x67, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2f, 0x76, 0x32, 0x2f, 0x61, 0x70,
135 0x69, 0x76, 0x32, 0x2f, 0x62, 0x69, 0x67, 0x71, 0x75, 0x65, 0x72, 0x79, 0x70, 0x62, 0x3b, 0x62,
136 0x69, 0x67, 0x71, 0x75, 0x65, 0x72, 0x79, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f,
137 0x33,
138 }
139
140 var (
141 file_google_cloud_bigquery_v2_job_reference_proto_rawDescOnce sync.Once
142 file_google_cloud_bigquery_v2_job_reference_proto_rawDescData = file_google_cloud_bigquery_v2_job_reference_proto_rawDesc
143 )
144
145 func file_google_cloud_bigquery_v2_job_reference_proto_rawDescGZIP() []byte {
146 file_google_cloud_bigquery_v2_job_reference_proto_rawDescOnce.Do(func() {
147 file_google_cloud_bigquery_v2_job_reference_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_cloud_bigquery_v2_job_reference_proto_rawDescData)
148 })
149 return file_google_cloud_bigquery_v2_job_reference_proto_rawDescData
150 }
151
152 var file_google_cloud_bigquery_v2_job_reference_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
153 var file_google_cloud_bigquery_v2_job_reference_proto_goTypes = []any{
154 (*JobReference)(nil), // 0: google.cloud.bigquery.v2.JobReference
155 (*wrapperspb.StringValue)(nil), // 1: google.protobuf.StringValue
156 }
157 var file_google_cloud_bigquery_v2_job_reference_proto_depIdxs = []int32{
158 1, // 0: google.cloud.bigquery.v2.JobReference.location:type_name -> google.protobuf.StringValue
159 1, // [1:1] is the sub-list for method output_type
160 1, // [1:1] is the sub-list for method input_type
161 1, // [1:1] is the sub-list for extension type_name
162 1, // [1:1] is the sub-list for extension extendee
163 0, // [0:1] is the sub-list for field type_name
164 }
165
166 func init() { file_google_cloud_bigquery_v2_job_reference_proto_init() }
167 func file_google_cloud_bigquery_v2_job_reference_proto_init() {
168 if File_google_cloud_bigquery_v2_job_reference_proto != nil {
169 return
170 }
171 type x struct{}
172 out := protoimpl.TypeBuilder{
173 File: protoimpl.DescBuilder{
174 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
175 RawDescriptor: file_google_cloud_bigquery_v2_job_reference_proto_rawDesc,
176 NumEnums: 0,
177 NumMessages: 1,
178 NumExtensions: 0,
179 NumServices: 0,
180 },
181 GoTypes: file_google_cloud_bigquery_v2_job_reference_proto_goTypes,
182 DependencyIndexes: file_google_cloud_bigquery_v2_job_reference_proto_depIdxs,
183 MessageInfos: file_google_cloud_bigquery_v2_job_reference_proto_msgTypes,
184 }.Build()
185 File_google_cloud_bigquery_v2_job_reference_proto = out.File
186 file_google_cloud_bigquery_v2_job_reference_proto_rawDesc = nil
187 file_google_cloud_bigquery_v2_job_reference_proto_goTypes = nil
188 file_google_cloud_bigquery_v2_job_reference_proto_depIdxs = nil
189 }