Debian Codegraph @

googleapis/cloud/bigquery/v2/model_reference.pb.go

raw
1 // Copyright 2021 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.26.0
18 // protoc v3.12.2
19 // source: google/cloud/bigquery/v2/model_reference.proto
20
21 package bigquery
22
23 import (
24 reflect "reflect"
25 sync "sync"
26
27 _ "google.golang.org/genproto/googleapis/api/annotations"
28 protoreflect "google.golang.org/protobuf/reflect/protoreflect"
29 protoimpl "google.golang.org/protobuf/runtime/protoimpl"
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 // Id path of a model.
40 type ModelReference struct {
41 state protoimpl.MessageState
42 sizeCache protoimpl.SizeCache
43 unknownFields protoimpl.UnknownFields
44
45 // Required. The ID of the project containing this model.
46 ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"`
47 // Required. The ID of the dataset containing this model.
48 DatasetId string `protobuf:"bytes,2,opt,name=dataset_id,json=datasetId,proto3" json:"dataset_id,omitempty"`
49 // Required. The ID of the model. The ID must contain only
50 // letters (a-z, A-Z), numbers (0-9), or underscores (_). The maximum
51 // length is 1,024 characters.
52 ModelId string `protobuf:"bytes,3,opt,name=model_id,json=modelId,proto3" json:"model_id,omitempty"`
53 }
54
55 func (x *ModelReference) Reset() {
56 *x = ModelReference{}
57 if protoimpl.UnsafeEnabled {
58 mi := &file_google_cloud_bigquery_v2_model_reference_proto_msgTypes[0]
59 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
60 ms.StoreMessageInfo(mi)
61 }
62 }
63
64 func (x *ModelReference) String() string {
65 return protoimpl.X.MessageStringOf(x)
66 }
67
68 func (*ModelReference) ProtoMessage() {}
69
70 func (x *ModelReference) ProtoReflect() protoreflect.Message {
71 mi := &file_google_cloud_bigquery_v2_model_reference_proto_msgTypes[0]
72 if protoimpl.UnsafeEnabled && x != nil {
73 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
74 if ms.LoadMessageInfo() == nil {
75 ms.StoreMessageInfo(mi)
76 }
77 return ms
78 }
79 return mi.MessageOf(x)
80 }
81
82 // Deprecated: Use ModelReference.ProtoReflect.Descriptor instead.
83 func (*ModelReference) Descriptor() ([]byte, []int) {
84 return file_google_cloud_bigquery_v2_model_reference_proto_rawDescGZIP(), []int{0}
85 }
86
87 func (x *ModelReference) GetProjectId() string {
88 if x != nil {
89 return x.ProjectId
90 }
91 return ""
92 }
93
94 func (x *ModelReference) GetDatasetId() string {
95 if x != nil {
96 return x.DatasetId
97 }
98 return ""
99 }
100
101 func (x *ModelReference) GetModelId() string {
102 if x != nil {
103 return x.ModelId
104 }
105 return ""
106 }
107
108 var File_google_cloud_bigquery_v2_model_reference_proto protoreflect.FileDescriptor
109
110 var file_google_cloud_bigquery_v2_model_reference_proto_rawDesc = []byte{
111 0x0a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x62,
112 0x69, 0x67, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2f, 0x76, 0x32, 0x2f, 0x6d, 0x6f, 0x64, 0x65, 0x6c,
113 0x5f, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
114 0x12, 0x18, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x62,
115 0x69, 0x67, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x76, 0x32, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67,
116 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x62, 0x65, 0x68,
117 0x61, 0x76, 0x69, 0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x78, 0x0a, 0x0e, 0x4d,
118 0x6f, 0x64, 0x65, 0x6c, 0x52, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x12, 0x22, 0x0a,
119 0x0a, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28,
120 0x09, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x09, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x49,
121 0x64, 0x12, 0x22, 0x0a, 0x0a, 0x64, 0x61, 0x74, 0x61, 0x73, 0x65, 0x74, 0x5f, 0x69, 0x64, 0x18,
122 0x02, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x09, 0x64, 0x61, 0x74, 0x61,
123 0x73, 0x65, 0x74, 0x49, 0x64, 0x12, 0x1e, 0x0a, 0x08, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x5f, 0x69,
124 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x07, 0x6d, 0x6f,
125 0x64, 0x65, 0x6c, 0x49, 0x64, 0x42, 0x75, 0x0a, 0x1c, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f,
126 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x62, 0x69, 0x67, 0x71, 0x75, 0x65,
127 0x72, 0x79, 0x2e, 0x76, 0x32, 0x42, 0x13, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x52, 0x65, 0x66, 0x65,
128 0x72, 0x65, 0x6e, 0x63, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x5a, 0x40, 0x67, 0x6f, 0x6f, 0x67,
129 0x6c, 0x65, 0x2e, 0x67, 0x6f, 0x6c, 0x61, 0x6e, 0x67, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x67, 0x65,
130 0x6e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69,
131 0x73, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x62, 0x69, 0x67, 0x71, 0x75, 0x65, 0x72, 0x79,
132 0x2f, 0x76, 0x32, 0x3b, 0x62, 0x69, 0x67, 0x71, 0x75, 0x65, 0x72, 0x79, 0x62, 0x06, 0x70, 0x72,
133 0x6f, 0x74, 0x6f, 0x33,
134 }
135
136 var (
137 file_google_cloud_bigquery_v2_model_reference_proto_rawDescOnce sync.Once
138 file_google_cloud_bigquery_v2_model_reference_proto_rawDescData = file_google_cloud_bigquery_v2_model_reference_proto_rawDesc
139 )
140
141 func file_google_cloud_bigquery_v2_model_reference_proto_rawDescGZIP() []byte {
142 file_google_cloud_bigquery_v2_model_reference_proto_rawDescOnce.Do(func() {
143 file_google_cloud_bigquery_v2_model_reference_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_cloud_bigquery_v2_model_reference_proto_rawDescData)
144 })
145 return file_google_cloud_bigquery_v2_model_reference_proto_rawDescData
146 }
147
148 var file_google_cloud_bigquery_v2_model_reference_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
149 var file_google_cloud_bigquery_v2_model_reference_proto_goTypes = []interface{}{
150 (*ModelReference)(nil), // 0: google.cloud.bigquery.v2.ModelReference
151 }
152 var file_google_cloud_bigquery_v2_model_reference_proto_depIdxs = []int32{
153 0, // [0:0] is the sub-list for method output_type
154 0, // [0:0] is the sub-list for method input_type
155 0, // [0:0] is the sub-list for extension type_name
156 0, // [0:0] is the sub-list for extension extendee
157 0, // [0:0] is the sub-list for field type_name
158 }
159
160 func init() { file_google_cloud_bigquery_v2_model_reference_proto_init() }
161 func file_google_cloud_bigquery_v2_model_reference_proto_init() {
162 if File_google_cloud_bigquery_v2_model_reference_proto != nil {
163 return
164 }
165 if !protoimpl.UnsafeEnabled {
166 file_google_cloud_bigquery_v2_model_reference_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
167 switch v := v.(*ModelReference); i {
168 case 0:
169 return &v.state
170 case 1:
171 return &v.sizeCache
172 case 2:
173 return &v.unknownFields
174 default:
175 return nil
176 }
177 }
178 }
179 type x struct{}
180 out := protoimpl.TypeBuilder{
181 File: protoimpl.DescBuilder{
182 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
183 RawDescriptor: file_google_cloud_bigquery_v2_model_reference_proto_rawDesc,
184 NumEnums: 0,
185 NumMessages: 1,
186 NumExtensions: 0,
187 NumServices: 0,
188 },
189 GoTypes: file_google_cloud_bigquery_v2_model_reference_proto_goTypes,
190 DependencyIndexes: file_google_cloud_bigquery_v2_model_reference_proto_depIdxs,
191 MessageInfos: file_google_cloud_bigquery_v2_model_reference_proto_msgTypes,
192 }.Build()
193 File_google_cloud_bigquery_v2_model_reference_proto = out.File
194 file_google_cloud_bigquery_v2_model_reference_proto_rawDesc = nil
195 file_google_cloud_bigquery_v2_model_reference_proto_goTypes = nil
196 file_google_cloud_bigquery_v2_model_reference_proto_depIdxs = nil
197 }