Debian Codegraph @

googleapis/cloud/healthcare/logging/consent.pb.go

raw symbols SCIP
1 // Copyright 2022 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/healthcare/logging/consent.proto
20
21 package logging
22
23 import (
24 reflect "reflect"
25 sync "sync"
26
27 status "google.golang.org/genproto/googleapis/rpc/status"
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 // A log entry for a Consent store QueryAccessibleData long-running operation.
40 type QueryAccessibleDataLogEntry struct {
41 state protoimpl.MessageState
42 sizeCache protoimpl.SizeCache
43 unknownFields protoimpl.UnknownFields
44
45 // The resource being processed.
46 ResourceName string `protobuf:"bytes,1,opt,name=resource_name,json=resourceName,proto3" json:"resource_name,omitempty"`
47 // The error code and message.
48 Error *status.Status `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"`
49 }
50
51 func (x *QueryAccessibleDataLogEntry) Reset() {
52 *x = QueryAccessibleDataLogEntry{}
53 if protoimpl.UnsafeEnabled {
54 mi := &file_google_cloud_healthcare_logging_consent_proto_msgTypes[0]
55 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
56 ms.StoreMessageInfo(mi)
57 }
58 }
59
60 func (x *QueryAccessibleDataLogEntry) String() string {
61 return protoimpl.X.MessageStringOf(x)
62 }
63
64 func (*QueryAccessibleDataLogEntry) ProtoMessage() {}
65
66 func (x *QueryAccessibleDataLogEntry) ProtoReflect() protoreflect.Message {
67 mi := &file_google_cloud_healthcare_logging_consent_proto_msgTypes[0]
68 if protoimpl.UnsafeEnabled && x != nil {
69 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
70 if ms.LoadMessageInfo() == nil {
71 ms.StoreMessageInfo(mi)
72 }
73 return ms
74 }
75 return mi.MessageOf(x)
76 }
77
78 // Deprecated: Use QueryAccessibleDataLogEntry.ProtoReflect.Descriptor instead.
79 func (*QueryAccessibleDataLogEntry) Descriptor() ([]byte, []int) {
80 return file_google_cloud_healthcare_logging_consent_proto_rawDescGZIP(), []int{0}
81 }
82
83 func (x *QueryAccessibleDataLogEntry) GetResourceName() string {
84 if x != nil {
85 return x.ResourceName
86 }
87 return ""
88 }
89
90 func (x *QueryAccessibleDataLogEntry) GetError() *status.Status {
91 if x != nil {
92 return x.Error
93 }
94 return nil
95 }
96
97 // A log entry for a User Data Mapping indexing notification.
98 type ConsentUserDataMappingLogEntry struct {
99 state protoimpl.MessageState
100 sizeCache protoimpl.SizeCache
101 unknownFields protoimpl.UnknownFields
102
103 // The User Data Mapping being indexed (for example,
104 // `projects/{projectId}/locations/{locationId}/datasets/{datasetId}/consentStores/{storeId}/userDataMappings/{messageId}`).
105 ResourceName string `protobuf:"bytes,1,opt,name=resource_name,json=resourceName,proto3" json:"resource_name,omitempty"`
106 // The error code and message.
107 Error *status.Status `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"`
108 }
109
110 func (x *ConsentUserDataMappingLogEntry) Reset() {
111 *x = ConsentUserDataMappingLogEntry{}
112 if protoimpl.UnsafeEnabled {
113 mi := &file_google_cloud_healthcare_logging_consent_proto_msgTypes[1]
114 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
115 ms.StoreMessageInfo(mi)
116 }
117 }
118
119 func (x *ConsentUserDataMappingLogEntry) String() string {
120 return protoimpl.X.MessageStringOf(x)
121 }
122
123 func (*ConsentUserDataMappingLogEntry) ProtoMessage() {}
124
125 func (x *ConsentUserDataMappingLogEntry) ProtoReflect() protoreflect.Message {
126 mi := &file_google_cloud_healthcare_logging_consent_proto_msgTypes[1]
127 if protoimpl.UnsafeEnabled && x != nil {
128 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
129 if ms.LoadMessageInfo() == nil {
130 ms.StoreMessageInfo(mi)
131 }
132 return ms
133 }
134 return mi.MessageOf(x)
135 }
136
137 // Deprecated: Use ConsentUserDataMappingLogEntry.ProtoReflect.Descriptor instead.
138 func (*ConsentUserDataMappingLogEntry) Descriptor() ([]byte, []int) {
139 return file_google_cloud_healthcare_logging_consent_proto_rawDescGZIP(), []int{1}
140 }
141
142 func (x *ConsentUserDataMappingLogEntry) GetResourceName() string {
143 if x != nil {
144 return x.ResourceName
145 }
146 return ""
147 }
148
149 func (x *ConsentUserDataMappingLogEntry) GetError() *status.Status {
150 if x != nil {
151 return x.Error
152 }
153 return nil
154 }
155
156 var File_google_cloud_healthcare_logging_consent_proto protoreflect.FileDescriptor
157
158 var file_google_cloud_healthcare_logging_consent_proto_rawDesc = []byte{
159 0x0a, 0x2d, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x68,
160 0x65, 0x61, 0x6c, 0x74, 0x68, 0x63, 0x61, 0x72, 0x65, 0x2f, 0x6c, 0x6f, 0x67, 0x67, 0x69, 0x6e,
161 0x67, 0x2f, 0x63, 0x6f, 0x6e, 0x73, 0x65, 0x6e, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12,
162 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x68, 0x65,
163 0x61, 0x6c, 0x74, 0x68, 0x63, 0x61, 0x72, 0x65, 0x2e, 0x6c, 0x6f, 0x67, 0x67, 0x69, 0x6e, 0x67,
164 0x1a, 0x17, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x72, 0x70, 0x63, 0x2f, 0x73, 0x74, 0x61,
165 0x74, 0x75, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x6c, 0x0a, 0x1b, 0x51, 0x75, 0x65,
166 0x72, 0x79, 0x41, 0x63, 0x63, 0x65, 0x73, 0x73, 0x69, 0x62, 0x6c, 0x65, 0x44, 0x61, 0x74, 0x61,
167 0x4c, 0x6f, 0x67, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x23, 0x0a, 0x0d, 0x72, 0x65, 0x73, 0x6f,
168 0x75, 0x72, 0x63, 0x65, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52,
169 0x0c, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x28, 0x0a,
170 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x67,
171 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73,
172 0x52, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x22, 0x6f, 0x0a, 0x1e, 0x43, 0x6f, 0x6e, 0x73, 0x65,
173 0x6e, 0x74, 0x55, 0x73, 0x65, 0x72, 0x44, 0x61, 0x74, 0x61, 0x4d, 0x61, 0x70, 0x70, 0x69, 0x6e,
174 0x67, 0x4c, 0x6f, 0x67, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x23, 0x0a, 0x0d, 0x72, 0x65, 0x73,
175 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09,
176 0x52, 0x0c, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x28,
177 0x0a, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e,
178 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x75,
179 0x73, 0x52, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x42, 0x7d, 0x0a, 0x23, 0x63, 0x6f, 0x6d, 0x2e,
180 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x68, 0x65, 0x61,
181 0x6c, 0x74, 0x68, 0x63, 0x61, 0x72, 0x65, 0x2e, 0x6c, 0x6f, 0x67, 0x67, 0x69, 0x6e, 0x67, 0x42,
182 0x0c, 0x43, 0x6f, 0x6e, 0x73, 0x65, 0x6e, 0x74, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a,
183 0x46, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x67, 0x6f, 0x6c, 0x61, 0x6e, 0x67, 0x2e, 0x6f,
184 0x72, 0x67, 0x2f, 0x67, 0x65, 0x6e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x6f, 0x67,
185 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x68, 0x65, 0x61,
186 0x6c, 0x74, 0x68, 0x63, 0x61, 0x72, 0x65, 0x2f, 0x6c, 0x6f, 0x67, 0x67, 0x69, 0x6e, 0x67, 0x3b,
187 0x6c, 0x6f, 0x67, 0x67, 0x69, 0x6e, 0x67, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
188 }
189
190 var (
191 file_google_cloud_healthcare_logging_consent_proto_rawDescOnce sync.Once
192 file_google_cloud_healthcare_logging_consent_proto_rawDescData = file_google_cloud_healthcare_logging_consent_proto_rawDesc
193 )
194
195 func file_google_cloud_healthcare_logging_consent_proto_rawDescGZIP() []byte {
196 file_google_cloud_healthcare_logging_consent_proto_rawDescOnce.Do(func() {
197 file_google_cloud_healthcare_logging_consent_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_cloud_healthcare_logging_consent_proto_rawDescData)
198 })
199 return file_google_cloud_healthcare_logging_consent_proto_rawDescData
200 }
201
202 var file_google_cloud_healthcare_logging_consent_proto_msgTypes = make([]protoimpl.MessageInfo, 2)
203 var file_google_cloud_healthcare_logging_consent_proto_goTypes = []interface{}{
204 (*QueryAccessibleDataLogEntry)(nil), // 0: google.cloud.healthcare.logging.QueryAccessibleDataLogEntry
205 (*ConsentUserDataMappingLogEntry)(nil), // 1: google.cloud.healthcare.logging.ConsentUserDataMappingLogEntry
206 (*status.Status)(nil), // 2: google.rpc.Status
207 }
208 var file_google_cloud_healthcare_logging_consent_proto_depIdxs = []int32{
209 2, // 0: google.cloud.healthcare.logging.QueryAccessibleDataLogEntry.error:type_name -> google.rpc.Status
210 2, // 1: google.cloud.healthcare.logging.ConsentUserDataMappingLogEntry.error:type_name -> google.rpc.Status
211 2, // [2:2] is the sub-list for method output_type
212 2, // [2:2] is the sub-list for method input_type
213 2, // [2:2] is the sub-list for extension type_name
214 2, // [2:2] is the sub-list for extension extendee
215 0, // [0:2] is the sub-list for field type_name
216 }
217
218 func init() { file_google_cloud_healthcare_logging_consent_proto_init() }
219 func file_google_cloud_healthcare_logging_consent_proto_init() {
220 if File_google_cloud_healthcare_logging_consent_proto != nil {
221 return
222 }
223 if !protoimpl.UnsafeEnabled {
224 file_google_cloud_healthcare_logging_consent_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
225 switch v := v.(*QueryAccessibleDataLogEntry); i {
226 case 0:
227 return &v.state
228 case 1:
229 return &v.sizeCache
230 case 2:
231 return &v.unknownFields
232 default:
233 return nil
234 }
235 }
236 file_google_cloud_healthcare_logging_consent_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
237 switch v := v.(*ConsentUserDataMappingLogEntry); i {
238 case 0:
239 return &v.state
240 case 1:
241 return &v.sizeCache
242 case 2:
243 return &v.unknownFields
244 default:
245 return nil
246 }
247 }
248 }
249 type x struct{}
250 out := protoimpl.TypeBuilder{
251 File: protoimpl.DescBuilder{
252 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
253 RawDescriptor: file_google_cloud_healthcare_logging_consent_proto_rawDesc,
254 NumEnums: 0,
255 NumMessages: 2,
256 NumExtensions: 0,
257 NumServices: 0,
258 },
259 GoTypes: file_google_cloud_healthcare_logging_consent_proto_goTypes,
260 DependencyIndexes: file_google_cloud_healthcare_logging_consent_proto_depIdxs,
261 MessageInfos: file_google_cloud_healthcare_logging_consent_proto_msgTypes,
262 }.Build()
263 File_google_cloud_healthcare_logging_consent_proto = out.File
264 file_google_cloud_healthcare_logging_consent_proto_rawDesc = nil
265 file_google_cloud_healthcare_logging_consent_proto_goTypes = nil
266 file_google_cloud_healthcare_logging_consent_proto_depIdxs = nil
267 }