...

Source file src/google.golang.org/genproto/googleapis/cloud/healthcare/logging/hl7v2.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/hl7v2.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 HL7v2 import long-running operation.
    40  type ImportHl7V2LogEntry struct {
    41  	state         protoimpl.MessageState
    42  	sizeCache     protoimpl.SizeCache
    43  	unknownFields protoimpl.UnknownFields
    44  
    45  	// The source in Cloud Storage (for example,
    46  	// `gs://{bucket_id}/{path/to/file}`).
    47  	Source string `protobuf:"bytes,1,opt,name=source,proto3" json:"source,omitempty"`
    48  	// The error code and message.
    49  	Error *status.Status `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"`
    50  }
    51  
    52  func (x *ImportHl7V2LogEntry) Reset() {
    53  	*x = ImportHl7V2LogEntry{}
    54  	if protoimpl.UnsafeEnabled {
    55  		mi := &file_google_cloud_healthcare_logging_hl7v2_proto_msgTypes[0]
    56  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
    57  		ms.StoreMessageInfo(mi)
    58  	}
    59  }
    60  
    61  func (x *ImportHl7V2LogEntry) String() string {
    62  	return protoimpl.X.MessageStringOf(x)
    63  }
    64  
    65  func (*ImportHl7V2LogEntry) ProtoMessage() {}
    66  
    67  func (x *ImportHl7V2LogEntry) ProtoReflect() protoreflect.Message {
    68  	mi := &file_google_cloud_healthcare_logging_hl7v2_proto_msgTypes[0]
    69  	if protoimpl.UnsafeEnabled && x != nil {
    70  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
    71  		if ms.LoadMessageInfo() == nil {
    72  			ms.StoreMessageInfo(mi)
    73  		}
    74  		return ms
    75  	}
    76  	return mi.MessageOf(x)
    77  }
    78  
    79  // Deprecated: Use ImportHl7V2LogEntry.ProtoReflect.Descriptor instead.
    80  func (*ImportHl7V2LogEntry) Descriptor() ([]byte, []int) {
    81  	return file_google_cloud_healthcare_logging_hl7v2_proto_rawDescGZIP(), []int{0}
    82  }
    83  
    84  func (x *ImportHl7V2LogEntry) GetSource() string {
    85  	if x != nil {
    86  		return x.Source
    87  	}
    88  	return ""
    89  }
    90  
    91  func (x *ImportHl7V2LogEntry) GetError() *status.Status {
    92  	if x != nil {
    93  		return x.Error
    94  	}
    95  	return nil
    96  }
    97  
    98  // A log entry for a HL7v2 store Pub/Sub notification.
    99  type Hl7V2NotificationLogEntry struct {
   100  	state         protoimpl.MessageState
   101  	sizeCache     protoimpl.SizeCache
   102  	unknownFields protoimpl.UnknownFields
   103  
   104  	// The HL7v2 message being created (for example,
   105  	// `projects/{projectId}/locations/{locationId}/datasets/{datasetId}/hl7V2Stores/{hl7v2StoreId}/messages/{hl7v2MessageId}`).
   106  	ResourceName string `protobuf:"bytes,1,opt,name=resource_name,json=resourceName,proto3" json:"resource_name,omitempty"`
   107  	// The Pub/Sub topic that the notification is published on.
   108  	PubsubTopic string `protobuf:"bytes,2,opt,name=pubsub_topic,json=pubsubTopic,proto3" json:"pubsub_topic,omitempty"`
   109  	// The error code and message.
   110  	Error *status.Status `protobuf:"bytes,3,opt,name=error,proto3" json:"error,omitempty"`
   111  }
   112  
   113  func (x *Hl7V2NotificationLogEntry) Reset() {
   114  	*x = Hl7V2NotificationLogEntry{}
   115  	if protoimpl.UnsafeEnabled {
   116  		mi := &file_google_cloud_healthcare_logging_hl7v2_proto_msgTypes[1]
   117  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   118  		ms.StoreMessageInfo(mi)
   119  	}
   120  }
   121  
   122  func (x *Hl7V2NotificationLogEntry) String() string {
   123  	return protoimpl.X.MessageStringOf(x)
   124  }
   125  
   126  func (*Hl7V2NotificationLogEntry) ProtoMessage() {}
   127  
   128  func (x *Hl7V2NotificationLogEntry) ProtoReflect() protoreflect.Message {
   129  	mi := &file_google_cloud_healthcare_logging_hl7v2_proto_msgTypes[1]
   130  	if protoimpl.UnsafeEnabled && x != nil {
   131  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   132  		if ms.LoadMessageInfo() == nil {
   133  			ms.StoreMessageInfo(mi)
   134  		}
   135  		return ms
   136  	}
   137  	return mi.MessageOf(x)
   138  }
   139  
   140  // Deprecated: Use Hl7V2NotificationLogEntry.ProtoReflect.Descriptor instead.
   141  func (*Hl7V2NotificationLogEntry) Descriptor() ([]byte, []int) {
   142  	return file_google_cloud_healthcare_logging_hl7v2_proto_rawDescGZIP(), []int{1}
   143  }
   144  
   145  func (x *Hl7V2NotificationLogEntry) GetResourceName() string {
   146  	if x != nil {
   147  		return x.ResourceName
   148  	}
   149  	return ""
   150  }
   151  
   152  func (x *Hl7V2NotificationLogEntry) GetPubsubTopic() string {
   153  	if x != nil {
   154  		return x.PubsubTopic
   155  	}
   156  	return ""
   157  }
   158  
   159  func (x *Hl7V2NotificationLogEntry) GetError() *status.Status {
   160  	if x != nil {
   161  		return x.Error
   162  	}
   163  	return nil
   164  }
   165  
   166  var File_google_cloud_healthcare_logging_hl7v2_proto protoreflect.FileDescriptor
   167  
   168  var file_google_cloud_healthcare_logging_hl7v2_proto_rawDesc = []byte{
   169  	0x0a, 0x2b, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x68,
   170  	0x65, 0x61, 0x6c, 0x74, 0x68, 0x63, 0x61, 0x72, 0x65, 0x2f, 0x6c, 0x6f, 0x67, 0x67, 0x69, 0x6e,
   171  	0x67, 0x2f, 0x68, 0x6c, 0x37, 0x76, 0x32, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x1f, 0x67,
   172  	0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x68, 0x65, 0x61, 0x6c,
   173  	0x74, 0x68, 0x63, 0x61, 0x72, 0x65, 0x2e, 0x6c, 0x6f, 0x67, 0x67, 0x69, 0x6e, 0x67, 0x1a, 0x17,
   174  	0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x72, 0x70, 0x63, 0x2f, 0x73, 0x74, 0x61, 0x74, 0x75,
   175  	0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x57, 0x0a, 0x13, 0x49, 0x6d, 0x70, 0x6f, 0x72,
   176  	0x74, 0x48, 0x6c, 0x37, 0x56, 0x32, 0x4c, 0x6f, 0x67, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x16,
   177  	0x0a, 0x06, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06,
   178  	0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x12, 0x28, 0x0a, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x18,
   179  	0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x72,
   180  	0x70, 0x63, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72,
   181  	0x22, 0x8d, 0x01, 0x0a, 0x19, 0x48, 0x6c, 0x37, 0x56, 0x32, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x69,
   182  	0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4c, 0x6f, 0x67, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x23,
   183  	0x0a, 0x0d, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18,
   184  	0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x4e,
   185  	0x61, 0x6d, 0x65, 0x12, 0x21, 0x0a, 0x0c, 0x70, 0x75, 0x62, 0x73, 0x75, 0x62, 0x5f, 0x74, 0x6f,
   186  	0x70, 0x69, 0x63, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x70, 0x75, 0x62, 0x73, 0x75,
   187  	0x62, 0x54, 0x6f, 0x70, 0x69, 0x63, 0x12, 0x28, 0x0a, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x18,
   188  	0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x72,
   189  	0x70, 0x63, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72,
   190  	0x42, 0x6d, 0x0a, 0x23, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63,
   191  	0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x68, 0x65, 0x61, 0x6c, 0x74, 0x68, 0x63, 0x61, 0x72, 0x65, 0x2e,
   192  	0x6c, 0x6f, 0x67, 0x67, 0x69, 0x6e, 0x67, 0x5a, 0x46, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e,
   193  	0x67, 0x6f, 0x6c, 0x61, 0x6e, 0x67, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x67, 0x65, 0x6e, 0x70, 0x72,
   194  	0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x63,
   195  	0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x68, 0x65, 0x61, 0x6c, 0x74, 0x68, 0x63, 0x61, 0x72, 0x65, 0x2f,
   196  	0x6c, 0x6f, 0x67, 0x67, 0x69, 0x6e, 0x67, 0x3b, 0x6c, 0x6f, 0x67, 0x67, 0x69, 0x6e, 0x67, 0x62,
   197  	0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
   198  }
   199  
   200  var (
   201  	file_google_cloud_healthcare_logging_hl7v2_proto_rawDescOnce sync.Once
   202  	file_google_cloud_healthcare_logging_hl7v2_proto_rawDescData = file_google_cloud_healthcare_logging_hl7v2_proto_rawDesc
   203  )
   204  
   205  func file_google_cloud_healthcare_logging_hl7v2_proto_rawDescGZIP() []byte {
   206  	file_google_cloud_healthcare_logging_hl7v2_proto_rawDescOnce.Do(func() {
   207  		file_google_cloud_healthcare_logging_hl7v2_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_cloud_healthcare_logging_hl7v2_proto_rawDescData)
   208  	})
   209  	return file_google_cloud_healthcare_logging_hl7v2_proto_rawDescData
   210  }
   211  
   212  var file_google_cloud_healthcare_logging_hl7v2_proto_msgTypes = make([]protoimpl.MessageInfo, 2)
   213  var file_google_cloud_healthcare_logging_hl7v2_proto_goTypes = []interface{}{
   214  	(*ImportHl7V2LogEntry)(nil),       // 0: google.cloud.healthcare.logging.ImportHl7V2LogEntry
   215  	(*Hl7V2NotificationLogEntry)(nil), // 1: google.cloud.healthcare.logging.Hl7V2NotificationLogEntry
   216  	(*status.Status)(nil),             // 2: google.rpc.Status
   217  }
   218  var file_google_cloud_healthcare_logging_hl7v2_proto_depIdxs = []int32{
   219  	2, // 0: google.cloud.healthcare.logging.ImportHl7V2LogEntry.error:type_name -> google.rpc.Status
   220  	2, // 1: google.cloud.healthcare.logging.Hl7V2NotificationLogEntry.error:type_name -> google.rpc.Status
   221  	2, // [2:2] is the sub-list for method output_type
   222  	2, // [2:2] is the sub-list for method input_type
   223  	2, // [2:2] is the sub-list for extension type_name
   224  	2, // [2:2] is the sub-list for extension extendee
   225  	0, // [0:2] is the sub-list for field type_name
   226  }
   227  
   228  func init() { file_google_cloud_healthcare_logging_hl7v2_proto_init() }
   229  func file_google_cloud_healthcare_logging_hl7v2_proto_init() {
   230  	if File_google_cloud_healthcare_logging_hl7v2_proto != nil {
   231  		return
   232  	}
   233  	if !protoimpl.UnsafeEnabled {
   234  		file_google_cloud_healthcare_logging_hl7v2_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
   235  			switch v := v.(*ImportHl7V2LogEntry); i {
   236  			case 0:
   237  				return &v.state
   238  			case 1:
   239  				return &v.sizeCache
   240  			case 2:
   241  				return &v.unknownFields
   242  			default:
   243  				return nil
   244  			}
   245  		}
   246  		file_google_cloud_healthcare_logging_hl7v2_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
   247  			switch v := v.(*Hl7V2NotificationLogEntry); i {
   248  			case 0:
   249  				return &v.state
   250  			case 1:
   251  				return &v.sizeCache
   252  			case 2:
   253  				return &v.unknownFields
   254  			default:
   255  				return nil
   256  			}
   257  		}
   258  	}
   259  	type x struct{}
   260  	out := protoimpl.TypeBuilder{
   261  		File: protoimpl.DescBuilder{
   262  			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
   263  			RawDescriptor: file_google_cloud_healthcare_logging_hl7v2_proto_rawDesc,
   264  			NumEnums:      0,
   265  			NumMessages:   2,
   266  			NumExtensions: 0,
   267  			NumServices:   0,
   268  		},
   269  		GoTypes:           file_google_cloud_healthcare_logging_hl7v2_proto_goTypes,
   270  		DependencyIndexes: file_google_cloud_healthcare_logging_hl7v2_proto_depIdxs,
   271  		MessageInfos:      file_google_cloud_healthcare_logging_hl7v2_proto_msgTypes,
   272  	}.Build()
   273  	File_google_cloud_healthcare_logging_hl7v2_proto = out.File
   274  	file_google_cloud_healthcare_logging_hl7v2_proto_rawDesc = nil
   275  	file_google_cloud_healthcare_logging_hl7v2_proto_goTypes = nil
   276  	file_google_cloud_healthcare_logging_hl7v2_proto_depIdxs = nil
   277  }
   278  

View as plain text