...

Source file src/google.golang.org/genproto/googleapis/cloud/healthcare/logging/deid.pb.go

Documentation: google.golang.org/genproto/googleapis/cloud/healthcare/logging

     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/deid.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 de-identification long-running operation.
    40  type DeidentifyLogEntry struct {
    41  	state         protoimpl.MessageState
    42  	sizeCache     protoimpl.SizeCache
    43  	unknownFields protoimpl.UnknownFields
    44  
    45  	// The resource being de-identified.
    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 *DeidentifyLogEntry) Reset() {
    52  	*x = DeidentifyLogEntry{}
    53  	if protoimpl.UnsafeEnabled {
    54  		mi := &file_google_cloud_healthcare_logging_deid_proto_msgTypes[0]
    55  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
    56  		ms.StoreMessageInfo(mi)
    57  	}
    58  }
    59  
    60  func (x *DeidentifyLogEntry) String() string {
    61  	return protoimpl.X.MessageStringOf(x)
    62  }
    63  
    64  func (*DeidentifyLogEntry) ProtoMessage() {}
    65  
    66  func (x *DeidentifyLogEntry) ProtoReflect() protoreflect.Message {
    67  	mi := &file_google_cloud_healthcare_logging_deid_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 DeidentifyLogEntry.ProtoReflect.Descriptor instead.
    79  func (*DeidentifyLogEntry) Descriptor() ([]byte, []int) {
    80  	return file_google_cloud_healthcare_logging_deid_proto_rawDescGZIP(), []int{0}
    81  }
    82  
    83  func (x *DeidentifyLogEntry) GetResourceName() string {
    84  	if x != nil {
    85  		return x.ResourceName
    86  	}
    87  	return ""
    88  }
    89  
    90  func (x *DeidentifyLogEntry) GetError() *status.Status {
    91  	if x != nil {
    92  		return x.Error
    93  	}
    94  	return nil
    95  }
    96  
    97  var File_google_cloud_healthcare_logging_deid_proto protoreflect.FileDescriptor
    98  
    99  var file_google_cloud_healthcare_logging_deid_proto_rawDesc = []byte{
   100  	0x0a, 0x2a, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x68,
   101  	0x65, 0x61, 0x6c, 0x74, 0x68, 0x63, 0x61, 0x72, 0x65, 0x2f, 0x6c, 0x6f, 0x67, 0x67, 0x69, 0x6e,
   102  	0x67, 0x2f, 0x64, 0x65, 0x69, 0x64, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x1f, 0x67, 0x6f,
   103  	0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x68, 0x65, 0x61, 0x6c, 0x74,
   104  	0x68, 0x63, 0x61, 0x72, 0x65, 0x2e, 0x6c, 0x6f, 0x67, 0x67, 0x69, 0x6e, 0x67, 0x1a, 0x17, 0x67,
   105  	0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x72, 0x70, 0x63, 0x2f, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73,
   106  	0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x63, 0x0a, 0x12, 0x44, 0x65, 0x69, 0x64, 0x65, 0x6e,
   107  	0x74, 0x69, 0x66, 0x79, 0x4c, 0x6f, 0x67, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x23, 0x0a, 0x0d,
   108  	0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20,
   109  	0x01, 0x28, 0x09, 0x52, 0x0c, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x4e, 0x61, 0x6d,
   110  	0x65, 0x12, 0x28, 0x0a, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b,
   111  	0x32, 0x12, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x53, 0x74,
   112  	0x61, 0x74, 0x75, 0x73, 0x52, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x42, 0x6d, 0x0a, 0x23, 0x63,
   113  	0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e,
   114  	0x68, 0x65, 0x61, 0x6c, 0x74, 0x68, 0x63, 0x61, 0x72, 0x65, 0x2e, 0x6c, 0x6f, 0x67, 0x67, 0x69,
   115  	0x6e, 0x67, 0x5a, 0x46, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x67, 0x6f, 0x6c, 0x61, 0x6e,
   116  	0x67, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x67, 0x65, 0x6e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67,
   117  	0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f,
   118  	0x68, 0x65, 0x61, 0x6c, 0x74, 0x68, 0x63, 0x61, 0x72, 0x65, 0x2f, 0x6c, 0x6f, 0x67, 0x67, 0x69,
   119  	0x6e, 0x67, 0x3b, 0x6c, 0x6f, 0x67, 0x67, 0x69, 0x6e, 0x67, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74,
   120  	0x6f, 0x33,
   121  }
   122  
   123  var (
   124  	file_google_cloud_healthcare_logging_deid_proto_rawDescOnce sync.Once
   125  	file_google_cloud_healthcare_logging_deid_proto_rawDescData = file_google_cloud_healthcare_logging_deid_proto_rawDesc
   126  )
   127  
   128  func file_google_cloud_healthcare_logging_deid_proto_rawDescGZIP() []byte {
   129  	file_google_cloud_healthcare_logging_deid_proto_rawDescOnce.Do(func() {
   130  		file_google_cloud_healthcare_logging_deid_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_cloud_healthcare_logging_deid_proto_rawDescData)
   131  	})
   132  	return file_google_cloud_healthcare_logging_deid_proto_rawDescData
   133  }
   134  
   135  var file_google_cloud_healthcare_logging_deid_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
   136  var file_google_cloud_healthcare_logging_deid_proto_goTypes = []interface{}{
   137  	(*DeidentifyLogEntry)(nil), // 0: google.cloud.healthcare.logging.DeidentifyLogEntry
   138  	(*status.Status)(nil),      // 1: google.rpc.Status
   139  }
   140  var file_google_cloud_healthcare_logging_deid_proto_depIdxs = []int32{
   141  	1, // 0: google.cloud.healthcare.logging.DeidentifyLogEntry.error:type_name -> google.rpc.Status
   142  	1, // [1:1] is the sub-list for method output_type
   143  	1, // [1:1] is the sub-list for method input_type
   144  	1, // [1:1] is the sub-list for extension type_name
   145  	1, // [1:1] is the sub-list for extension extendee
   146  	0, // [0:1] is the sub-list for field type_name
   147  }
   148  
   149  func init() { file_google_cloud_healthcare_logging_deid_proto_init() }
   150  func file_google_cloud_healthcare_logging_deid_proto_init() {
   151  	if File_google_cloud_healthcare_logging_deid_proto != nil {
   152  		return
   153  	}
   154  	if !protoimpl.UnsafeEnabled {
   155  		file_google_cloud_healthcare_logging_deid_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
   156  			switch v := v.(*DeidentifyLogEntry); i {
   157  			case 0:
   158  				return &v.state
   159  			case 1:
   160  				return &v.sizeCache
   161  			case 2:
   162  				return &v.unknownFields
   163  			default:
   164  				return nil
   165  			}
   166  		}
   167  	}
   168  	type x struct{}
   169  	out := protoimpl.TypeBuilder{
   170  		File: protoimpl.DescBuilder{
   171  			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
   172  			RawDescriptor: file_google_cloud_healthcare_logging_deid_proto_rawDesc,
   173  			NumEnums:      0,
   174  			NumMessages:   1,
   175  			NumExtensions: 0,
   176  			NumServices:   0,
   177  		},
   178  		GoTypes:           file_google_cloud_healthcare_logging_deid_proto_goTypes,
   179  		DependencyIndexes: file_google_cloud_healthcare_logging_deid_proto_depIdxs,
   180  		MessageInfos:      file_google_cloud_healthcare_logging_deid_proto_msgTypes,
   181  	}.Build()
   182  	File_google_cloud_healthcare_logging_deid_proto = out.File
   183  	file_google_cloud_healthcare_logging_deid_proto_rawDesc = nil
   184  	file_google_cloud_healthcare_logging_deid_proto_goTypes = nil
   185  	file_google_cloud_healthcare_logging_deid_proto_depIdxs = nil
   186  }
   187  

View as plain text