| 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 aliasgen. DO NOT EDIT. |
| 16 |
|
| 17 |
// Package essentialcontacts aliases all exported identifiers in package |
| 18 |
// "cloud.google.com/go/essentialcontacts/apiv1/essentialcontactspb". |
| 19 |
// |
| 20 |
// Deprecated: Please use types in: cloud.google.com/go/essentialcontacts/apiv1/essentialcontactspb. |
| 21 |
// Please read https://github.com/googleapis/google-cloud-go/blob/main/migration.md |
| 22 |
// for more details. |
| 23 |
package essentialcontacts |
| 24 |
|
| 25 |
import ( |
| 26 |
src "cloud.google.com/go/essentialcontacts/apiv1/essentialcontactspb" |
| 27 |
grpc "google.golang.org/grpc" |
| 28 |
) |
| 29 |
|
| 30 |
// Deprecated: Please use consts in: cloud.google.com/go/essentialcontacts/apiv1/essentialcontactspb |
| 31 |
const ( |
| 32 |
NotificationCategory_ALL = src.NotificationCategory_ALL |
| 33 |
NotificationCategory_BILLING = src.NotificationCategory_BILLING |
| 34 |
NotificationCategory_LEGAL = src.NotificationCategory_LEGAL |
| 35 |
NotificationCategory_NOTIFICATION_CATEGORY_UNSPECIFIED = src.NotificationCategory_NOTIFICATION_CATEGORY_UNSPECIFIED |
| 36 |
NotificationCategory_PRODUCT_UPDATES = src.NotificationCategory_PRODUCT_UPDATES |
| 37 |
NotificationCategory_SECURITY = src.NotificationCategory_SECURITY |
| 38 |
NotificationCategory_SUSPENSION = src.NotificationCategory_SUSPENSION |
| 39 |
NotificationCategory_TECHNICAL = src.NotificationCategory_TECHNICAL |
| 40 |
NotificationCategory_TECHNICAL_INCIDENTS = src.NotificationCategory_TECHNICAL_INCIDENTS |
| 41 |
ValidationState_INVALID = src.ValidationState_INVALID |
| 42 |
ValidationState_VALID = src.ValidationState_VALID |
| 43 |
ValidationState_VALIDATION_STATE_UNSPECIFIED = src.ValidationState_VALIDATION_STATE_UNSPECIFIED |
| 44 |
) |
| 45 |
|
| 46 |
// Deprecated: Please use vars in: cloud.google.com/go/essentialcontacts/apiv1/essentialcontactspb |
| 47 |
var ( |
| 48 |
File_google_cloud_essentialcontacts_v1_enums_proto = src.File_google_cloud_essentialcontacts_v1_enums_proto |
| 49 |
File_google_cloud_essentialcontacts_v1_service_proto = src.File_google_cloud_essentialcontacts_v1_service_proto |
| 50 |
NotificationCategory_name = src.NotificationCategory_name |
| 51 |
NotificationCategory_value = src.NotificationCategory_value |
| 52 |
ValidationState_name = src.ValidationState_name |
| 53 |
ValidationState_value = src.ValidationState_value |
| 54 |
) |
| 55 |
|
| 56 |
// Request message for the ComputeContacts method. |
| 57 |
// |
| 58 |
// Deprecated: Please use types in: cloud.google.com/go/essentialcontacts/apiv1/essentialcontactspb |
| 59 |
type ComputeContactsRequest = src.ComputeContactsRequest |
| 60 |
|
| 61 |
// Response message for the ComputeContacts method. |
| 62 |
// |
| 63 |
// Deprecated: Please use types in: cloud.google.com/go/essentialcontacts/apiv1/essentialcontactspb |
| 64 |
type ComputeContactsResponse = src.ComputeContactsResponse |
| 65 |
|
| 66 |
// A contact that will receive notifications from Google Cloud. |
| 67 |
// |
| 68 |
// Deprecated: Please use types in: cloud.google.com/go/essentialcontacts/apiv1/essentialcontactspb |
| 69 |
type Contact = src.Contact |
| 70 |
|
| 71 |
// Request message for the CreateContact method. |
| 72 |
// |
| 73 |
// Deprecated: Please use types in: cloud.google.com/go/essentialcontacts/apiv1/essentialcontactspb |
| 74 |
type CreateContactRequest = src.CreateContactRequest |
| 75 |
|
| 76 |
// Request message for the DeleteContact method. |
| 77 |
// |
| 78 |
// Deprecated: Please use types in: cloud.google.com/go/essentialcontacts/apiv1/essentialcontactspb |
| 79 |
type DeleteContactRequest = src.DeleteContactRequest |
| 80 |
|
| 81 |
// EssentialContactsServiceClient is the client API for |
| 82 |
// EssentialContactsService service. For semantics around ctx use and |
| 83 |
// closing/ending streaming RPCs, please refer to |
| 84 |
// https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. |
| 85 |
// |
| 86 |
// Deprecated: Please use types in: cloud.google.com/go/essentialcontacts/apiv1/essentialcontactspb |
| 87 |
type EssentialContactsServiceClient = src.EssentialContactsServiceClient |
| 88 |
|
| 89 |
// EssentialContactsServiceServer is the server API for |
| 90 |
// EssentialContactsService service. |
| 91 |
// |
| 92 |
// Deprecated: Please use types in: cloud.google.com/go/essentialcontacts/apiv1/essentialcontactspb |
| 93 |
type EssentialContactsServiceServer = src.EssentialContactsServiceServer |
| 94 |
|
| 95 |
// Request message for the GetContact method. |
| 96 |
// |
| 97 |
// Deprecated: Please use types in: cloud.google.com/go/essentialcontacts/apiv1/essentialcontactspb |
| 98 |
type GetContactRequest = src.GetContactRequest |
| 99 |
|
| 100 |
// Request message for the ListContacts method. |
| 101 |
// |
| 102 |
// Deprecated: Please use types in: cloud.google.com/go/essentialcontacts/apiv1/essentialcontactspb |
| 103 |
type ListContactsRequest = src.ListContactsRequest |
| 104 |
|
| 105 |
// Response message for the ListContacts method. |
| 106 |
// |
| 107 |
// Deprecated: Please use types in: cloud.google.com/go/essentialcontacts/apiv1/essentialcontactspb |
| 108 |
type ListContactsResponse = src.ListContactsResponse |
| 109 |
|
| 110 |
// The notification categories that an essential contact can be subscribed to. |
| 111 |
// Each notification will be categorized by the sender into one of the |
| 112 |
// following categories. All contacts that are subscribed to that category will |
| 113 |
// receive the notification. |
| 114 |
// |
| 115 |
// Deprecated: Please use types in: cloud.google.com/go/essentialcontacts/apiv1/essentialcontactspb |
| 116 |
type NotificationCategory = src.NotificationCategory |
| 117 |
|
| 118 |
// Request message for the SendTestMessage method. |
| 119 |
// |
| 120 |
// Deprecated: Please use types in: cloud.google.com/go/essentialcontacts/apiv1/essentialcontactspb |
| 121 |
type SendTestMessageRequest = src.SendTestMessageRequest |
| 122 |
|
| 123 |
// UnimplementedEssentialContactsServiceServer can be embedded to have forward |
| 124 |
// compatible implementations. |
| 125 |
// |
| 126 |
// Deprecated: Please use types in: cloud.google.com/go/essentialcontacts/apiv1/essentialcontactspb |
| 127 |
type UnimplementedEssentialContactsServiceServer = src.UnimplementedEssentialContactsServiceServer |
| 128 |
|
| 129 |
// Request message for the UpdateContact method. |
| 130 |
// |
| 131 |
// Deprecated: Please use types in: cloud.google.com/go/essentialcontacts/apiv1/essentialcontactspb |
| 132 |
type UpdateContactRequest = src.UpdateContactRequest |
| 133 |
|
| 134 |
// A contact's validation state indicates whether or not it is the correct |
| 135 |
// contact to be receiving notifications for a particular resource. |
| 136 |
// |
| 137 |
// Deprecated: Please use types in: cloud.google.com/go/essentialcontacts/apiv1/essentialcontactspb |
| 138 |
type ValidationState = src.ValidationState |
| 139 |
|
| 140 |
// Deprecated: Please use funcs in: cloud.google.com/go/essentialcontacts/apiv1/essentialcontactspb |
| 141 |
func NewEssentialContactsServiceClient(cc grpc.ClientConnInterface) EssentialContactsServiceClient { |
| 142 |
return src.NewEssentialContactsServiceClient(cc) |
| 143 |
} |
| 144 |
|
| 145 |
// Deprecated: Please use funcs in: cloud.google.com/go/essentialcontacts/apiv1/essentialcontactspb |
| 146 |
func RegisterEssentialContactsServiceServer(s *grpc.Server, srv EssentialContactsServiceServer) { |
| 147 |
src.RegisterEssentialContactsServiceServer(s, srv) |
| 148 |
} |