Debian Codegraph @

bigquery/v2/apiv2/bigquerypb/row_access_policy_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/row_access_policy_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 reflect "reflect"
28 sync "sync"
29 )
30
31 const (
32 // Verify that this generated code is sufficiently up-to-date.
33 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
34 // Verify that runtime/protoimpl is sufficiently up-to-date.
35 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
36 )
37
38 // Id path of a row access policy.
39 type RowAccessPolicyReference struct {
40 state protoimpl.MessageState
41 sizeCache protoimpl.SizeCache
42 unknownFields protoimpl.UnknownFields
43
44 // Required. The ID of the project containing this row access policy.
45 ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"`
46 // Required. The ID of the dataset containing this row access policy.
47 DatasetId string `protobuf:"bytes,2,opt,name=dataset_id,json=datasetId,proto3" json:"dataset_id,omitempty"`
48 // Required. The ID of the table containing this row access policy.
49 TableId string `protobuf:"bytes,3,opt,name=table_id,json=tableId,proto3" json:"table_id,omitempty"`
50 // Required. The ID of the row access policy. The ID must contain only
51 // letters (a-z, A-Z), numbers (0-9), or underscores (_). The maximum
52 // length is 256 characters.
53 PolicyId string `protobuf:"bytes,4,opt,name=policy_id,json=policyId,proto3" json:"policy_id,omitempty"`
54 }
55
56 func (x *RowAccessPolicyReference) Reset() {
57 *x = RowAccessPolicyReference{}
58 mi := &file_google_cloud_bigquery_v2_row_access_policy_reference_proto_msgTypes[0]
59 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
60 ms.StoreMessageInfo(mi)
61 }
62
63 func (x *RowAccessPolicyReference) String() string {
64 return protoimpl.X.MessageStringOf(x)
65 }
66
67 func (*RowAccessPolicyReference) ProtoMessage() {}
68
69 func (x *RowAccessPolicyReference) ProtoReflect() protoreflect.Message {
70 mi := &file_google_cloud_bigquery_v2_row_access_policy_reference_proto_msgTypes[0]
71 if x != nil {
72 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
73 if ms.LoadMessageInfo() == nil {
74 ms.StoreMessageInfo(mi)
75 }
76 return ms
77 }
78 return mi.MessageOf(x)
79 }
80
81 // Deprecated: Use RowAccessPolicyReference.ProtoReflect.Descriptor instead.
82 func (*RowAccessPolicyReference) Descriptor() ([]byte, []int) {
83 return file_google_cloud_bigquery_v2_row_access_policy_reference_proto_rawDescGZIP(), []int{0}
84 }
85
86 func (x *RowAccessPolicyReference) GetProjectId() string {
87 if x != nil {
88 return x.ProjectId
89 }
90 return ""
91 }
92
93 func (x *RowAccessPolicyReference) GetDatasetId() string {
94 if x != nil {
95 return x.DatasetId
96 }
97 return ""
98 }
99
100 func (x *RowAccessPolicyReference) GetTableId() string {
101 if x != nil {
102 return x.TableId
103 }
104 return ""
105 }
106
107 func (x *RowAccessPolicyReference) GetPolicyId() string {
108 if x != nil {
109 return x.PolicyId
110 }
111 return ""
112 }
113
114 var File_google_cloud_bigquery_v2_row_access_policy_reference_proto protoreflect.FileDescriptor
115
116 var file_google_cloud_bigquery_v2_row_access_policy_reference_proto_rawDesc = []byte{
117 0x0a, 0x3a, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x62,
118 0x69, 0x67, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2f, 0x76, 0x32, 0x2f, 0x72, 0x6f, 0x77, 0x5f, 0x61,
119 0x63, 0x63, 0x65, 0x73, 0x73, 0x5f, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x5f, 0x72, 0x65, 0x66,
120 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x18, 0x67, 0x6f,
121 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x62, 0x69, 0x67, 0x71, 0x75,
122 0x65, 0x72, 0x79, 0x2e, 0x76, 0x32, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61,
123 0x70, 0x69, 0x2f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x62, 0x65, 0x68, 0x61, 0x76, 0x69, 0x6f,
124 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xa4, 0x01, 0x0a, 0x18, 0x52, 0x6f, 0x77, 0x41,
125 0x63, 0x63, 0x65, 0x73, 0x73, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x52, 0x65, 0x66, 0x65, 0x72,
126 0x65, 0x6e, 0x63, 0x65, 0x12, 0x22, 0x0a, 0x0a, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x5f,
127 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x09, 0x70,
128 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x49, 0x64, 0x12, 0x22, 0x0a, 0x0a, 0x64, 0x61, 0x74, 0x61,
129 0x73, 0x65, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41,
130 0x02, 0x52, 0x09, 0x64, 0x61, 0x74, 0x61, 0x73, 0x65, 0x74, 0x49, 0x64, 0x12, 0x1e, 0x0a, 0x08,
131 0x74, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03,
132 0xe0, 0x41, 0x02, 0x52, 0x07, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x49, 0x64, 0x12, 0x20, 0x0a, 0x09,
133 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x5f, 0x69, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x42,
134 0x03, 0xe0, 0x41, 0x02, 0x52, 0x08, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x49, 0x64, 0x42, 0x7c,
135 0x0a, 0x1c, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f,
136 0x75, 0x64, 0x2e, 0x62, 0x69, 0x67, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x76, 0x32, 0x42, 0x1d,
137 0x52, 0x6f, 0x77, 0x41, 0x63, 0x63, 0x65, 0x73, 0x73, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x52,
138 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a,
139 0x3b, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6f,
140 0x6d, 0x2f, 0x67, 0x6f, 0x2f, 0x62, 0x69, 0x67, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2f, 0x76, 0x32,
141 0x2f, 0x61, 0x70, 0x69, 0x76, 0x32, 0x2f, 0x62, 0x69, 0x67, 0x71, 0x75, 0x65, 0x72, 0x79, 0x70,
142 0x62, 0x3b, 0x62, 0x69, 0x67, 0x71, 0x75, 0x65, 0x72, 0x79, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72,
143 0x6f, 0x74, 0x6f, 0x33,
144 }
145
146 var (
147 file_google_cloud_bigquery_v2_row_access_policy_reference_proto_rawDescOnce sync.Once
148 file_google_cloud_bigquery_v2_row_access_policy_reference_proto_rawDescData = file_google_cloud_bigquery_v2_row_access_policy_reference_proto_rawDesc
149 )
150
151 func file_google_cloud_bigquery_v2_row_access_policy_reference_proto_rawDescGZIP() []byte {
152 file_google_cloud_bigquery_v2_row_access_policy_reference_proto_rawDescOnce.Do(func() {
153 file_google_cloud_bigquery_v2_row_access_policy_reference_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_cloud_bigquery_v2_row_access_policy_reference_proto_rawDescData)
154 })
155 return file_google_cloud_bigquery_v2_row_access_policy_reference_proto_rawDescData
156 }
157
158 var file_google_cloud_bigquery_v2_row_access_policy_reference_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
159 var file_google_cloud_bigquery_v2_row_access_policy_reference_proto_goTypes = []any{
160 (*RowAccessPolicyReference)(nil), // 0: google.cloud.bigquery.v2.RowAccessPolicyReference
161 }
162 var file_google_cloud_bigquery_v2_row_access_policy_reference_proto_depIdxs = []int32{
163 0, // [0:0] is the sub-list for method output_type
164 0, // [0:0] is the sub-list for method input_type
165 0, // [0:0] is the sub-list for extension type_name
166 0, // [0:0] is the sub-list for extension extendee
167 0, // [0:0] is the sub-list for field type_name
168 }
169
170 func init() { file_google_cloud_bigquery_v2_row_access_policy_reference_proto_init() }
171 func file_google_cloud_bigquery_v2_row_access_policy_reference_proto_init() {
172 if File_google_cloud_bigquery_v2_row_access_policy_reference_proto != nil {
173 return
174 }
175 type x struct{}
176 out := protoimpl.TypeBuilder{
177 File: protoimpl.DescBuilder{
178 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
179 RawDescriptor: file_google_cloud_bigquery_v2_row_access_policy_reference_proto_rawDesc,
180 NumEnums: 0,
181 NumMessages: 1,
182 NumExtensions: 0,
183 NumServices: 0,
184 },
185 GoTypes: file_google_cloud_bigquery_v2_row_access_policy_reference_proto_goTypes,
186 DependencyIndexes: file_google_cloud_bigquery_v2_row_access_policy_reference_proto_depIdxs,
187 MessageInfos: file_google_cloud_bigquery_v2_row_access_policy_reference_proto_msgTypes,
188 }.Build()
189 File_google_cloud_bigquery_v2_row_access_policy_reference_proto = out.File
190 file_google_cloud_bigquery_v2_row_access_policy_reference_proto_rawDesc = nil
191 file_google_cloud_bigquery_v2_row_access_policy_reference_proto_goTypes = nil
192 file_google_cloud_bigquery_v2_row_access_policy_reference_proto_depIdxs = nil
193 }