| 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-grpc. DO NOT EDIT. |
| 16 |
// versions: |
| 17 |
// - protoc-gen-go-grpc v1.3.0 |
| 18 |
// - protoc v4.25.7 |
| 19 |
// source: google/cloud/domains/v1beta1/domains.proto |
| 20 |
|
| 21 |
package domainspb |
| 22 |
|
| 23 |
import ( |
| 24 |
longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb" |
| 25 |
context "context" |
| 26 |
grpc "google.golang.org/grpc" |
| 27 |
codes "google.golang.org/grpc/codes" |
| 28 |
status "google.golang.org/grpc/status" |
| 29 |
) |
| 30 |
|
| 31 |
// This is a compile-time assertion to ensure that this generated file |
| 32 |
// is compatible with the grpc package it is being compiled against. |
| 33 |
// Requires gRPC-Go v1.32.0 or later. |
| 34 |
const _ = grpc.SupportPackageIsVersion7 |
| 35 |
|
| 36 |
const ( |
| 37 |
Domains_SearchDomains_FullMethodName = "/google.cloud.domains.v1beta1.Domains/SearchDomains" |
| 38 |
Domains_RetrieveRegisterParameters_FullMethodName = "/google.cloud.domains.v1beta1.Domains/RetrieveRegisterParameters" |
| 39 |
Domains_RegisterDomain_FullMethodName = "/google.cloud.domains.v1beta1.Domains/RegisterDomain" |
| 40 |
Domains_RetrieveTransferParameters_FullMethodName = "/google.cloud.domains.v1beta1.Domains/RetrieveTransferParameters" |
| 41 |
Domains_TransferDomain_FullMethodName = "/google.cloud.domains.v1beta1.Domains/TransferDomain" |
| 42 |
Domains_ListRegistrations_FullMethodName = "/google.cloud.domains.v1beta1.Domains/ListRegistrations" |
| 43 |
Domains_GetRegistration_FullMethodName = "/google.cloud.domains.v1beta1.Domains/GetRegistration" |
| 44 |
Domains_UpdateRegistration_FullMethodName = "/google.cloud.domains.v1beta1.Domains/UpdateRegistration" |
| 45 |
Domains_ConfigureManagementSettings_FullMethodName = "/google.cloud.domains.v1beta1.Domains/ConfigureManagementSettings" |
| 46 |
Domains_ConfigureDnsSettings_FullMethodName = "/google.cloud.domains.v1beta1.Domains/ConfigureDnsSettings" |
| 47 |
Domains_ConfigureContactSettings_FullMethodName = "/google.cloud.domains.v1beta1.Domains/ConfigureContactSettings" |
| 48 |
Domains_ExportRegistration_FullMethodName = "/google.cloud.domains.v1beta1.Domains/ExportRegistration" |
| 49 |
Domains_DeleteRegistration_FullMethodName = "/google.cloud.domains.v1beta1.Domains/DeleteRegistration" |
| 50 |
Domains_RetrieveAuthorizationCode_FullMethodName = "/google.cloud.domains.v1beta1.Domains/RetrieveAuthorizationCode" |
| 51 |
Domains_ResetAuthorizationCode_FullMethodName = "/google.cloud.domains.v1beta1.Domains/ResetAuthorizationCode" |
| 52 |
) |
| 53 |
|
| 54 |
// DomainsClient is the client API for Domains service. |
| 55 |
// |
| 56 |
// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream. |
| 57 |
type DomainsClient interface { |
| 58 |
// Searches for available domain names similar to the provided query. |
| 59 |
// |
| 60 |
// Availability results from this method are approximate; call |
| 61 |
// `RetrieveRegisterParameters` on a domain before registering to confirm |
| 62 |
// availability. |
| 63 |
SearchDomains(ctx context.Context, in *SearchDomainsRequest, opts ...grpc.CallOption) (*SearchDomainsResponse, error) |
| 64 |
// Gets parameters needed to register a new domain name, including price and |
| 65 |
// up-to-date availability. Use the returned values to call `RegisterDomain`. |
| 66 |
RetrieveRegisterParameters(ctx context.Context, in *RetrieveRegisterParametersRequest, opts ...grpc.CallOption) (*RetrieveRegisterParametersResponse, error) |
| 67 |
// Registers a new domain name and creates a corresponding `Registration` |
| 68 |
// resource. |
| 69 |
// |
| 70 |
// Call `RetrieveRegisterParameters` first to check availability of the domain |
| 71 |
// name and determine parameters like price that are needed to build a call to |
| 72 |
// this method. |
| 73 |
// |
| 74 |
// A successful call creates a `Registration` resource in state |
| 75 |
// `REGISTRATION_PENDING`, which resolves to `ACTIVE` within 1-2 |
| 76 |
// minutes, indicating that the domain was successfully registered. If the |
| 77 |
// resource ends up in state `REGISTRATION_FAILED`, it indicates that the |
| 78 |
// domain was not registered successfully, and you can safely delete the |
| 79 |
// resource and retry registration. |
| 80 |
RegisterDomain(ctx context.Context, in *RegisterDomainRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error) |
| 81 |
// Gets parameters needed to transfer a domain name from another registrar to |
| 82 |
// Cloud Domains. For domains managed by Google Domains, transferring to Cloud |
| 83 |
// Domains is not supported. |
| 84 |
// |
| 85 |
// Use the returned values to call `TransferDomain`. |
| 86 |
RetrieveTransferParameters(ctx context.Context, in *RetrieveTransferParametersRequest, opts ...grpc.CallOption) (*RetrieveTransferParametersResponse, error) |
| 87 |
// Transfers a domain name from another registrar to Cloud Domains. For |
| 88 |
// domains managed by Google Domains, transferring to Cloud Domains is not |
| 89 |
// supported. |
| 90 |
// |
| 91 |
// Before calling this method, go to the domain's current registrar to unlock |
| 92 |
// the domain for transfer and retrieve the domain's transfer authorization |
| 93 |
// code. Then call `RetrieveTransferParameters` to confirm that the domain is |
| 94 |
// unlocked and to get values needed to build a call to this method. |
| 95 |
// |
| 96 |
// A successful call creates a `Registration` resource in state |
| 97 |
// `TRANSFER_PENDING`. It can take several days to complete the transfer |
| 98 |
// process. The registrant can often speed up this process by approving the |
| 99 |
// transfer through the current registrar, either by clicking a link in an |
| 100 |
// email from the registrar or by visiting the registrar's website. |
| 101 |
// |
| 102 |
// A few minutes after transfer approval, the resource transitions to state |
| 103 |
// `ACTIVE`, indicating that the transfer was successful. If the transfer is |
| 104 |
// rejected or the request expires without being approved, the resource can |
| 105 |
// end up in state `TRANSFER_FAILED`. If transfer fails, you can safely delete |
| 106 |
// the resource and retry the transfer. |
| 107 |
TransferDomain(ctx context.Context, in *TransferDomainRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error) |
| 108 |
// Lists the `Registration` resources in a project. |
| 109 |
ListRegistrations(ctx context.Context, in *ListRegistrationsRequest, opts ...grpc.CallOption) (*ListRegistrationsResponse, error) |
| 110 |
// Gets the details of a `Registration` resource. |
| 111 |
GetRegistration(ctx context.Context, in *GetRegistrationRequest, opts ...grpc.CallOption) (*Registration, error) |
| 112 |
// Updates select fields of a `Registration` resource, notably `labels`. To |
| 113 |
// update other fields, use the appropriate custom update method: |
| 114 |
// |
| 115 |
// * To update management settings, see `ConfigureManagementSettings` |
| 116 |
// * To update DNS configuration, see `ConfigureDnsSettings` |
| 117 |
// * To update contact information, see `ConfigureContactSettings` |
| 118 |
UpdateRegistration(ctx context.Context, in *UpdateRegistrationRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error) |
| 119 |
// Updates a `Registration`'s management settings. |
| 120 |
ConfigureManagementSettings(ctx context.Context, in *ConfigureManagementSettingsRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error) |
| 121 |
// Updates a `Registration`'s DNS settings. |
| 122 |
ConfigureDnsSettings(ctx context.Context, in *ConfigureDnsSettingsRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error) |
| 123 |
// Updates a `Registration`'s contact settings. Some changes require |
| 124 |
// confirmation by the domain's registrant contact . |
| 125 |
ConfigureContactSettings(ctx context.Context, in *ConfigureContactSettingsRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error) |
| 126 |
// Exports a `Registration` resource, such that it is no longer managed by |
| 127 |
// Cloud Domains. |
| 128 |
// |
| 129 |
// When an active domain is successfully exported, you can continue to use the |
| 130 |
// domain in [Google Domains](https://domains.google/) until it expires. The |
| 131 |
// calling user becomes the domain's sole owner in Google Domains, and |
| 132 |
// permissions for the domain are subsequently managed there. The domain does |
| 133 |
// not renew automatically unless the new owner sets up billing in Google |
| 134 |
// Domains. |
| 135 |
ExportRegistration(ctx context.Context, in *ExportRegistrationRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error) |
| 136 |
// Deletes a `Registration` resource. |
| 137 |
// |
| 138 |
// This method works on any `Registration` resource using [Subscription or |
| 139 |
// Commitment billing](/domains/pricing#billing-models), provided that the |
| 140 |
// resource was created at least 1 day in the past. |
| 141 |
// |
| 142 |
// For `Registration` resources using |
| 143 |
// [Monthly billing](/domains/pricing#billing-models), this method works if: |
| 144 |
// |
| 145 |
// * `state` is `EXPORTED` with `expire_time` in the past |
| 146 |
// * `state` is `REGISTRATION_FAILED` |
| 147 |
// * `state` is `TRANSFER_FAILED` |
| 148 |
// |
| 149 |
// When an active registration is successfully deleted, you can continue to |
| 150 |
// use the domain in [Google Domains](https://domains.google/) until it |
| 151 |
// expires. The calling user becomes the domain's sole owner in Google |
| 152 |
// Domains, and permissions for the domain are subsequently managed there. The |
| 153 |
// domain does not renew automatically unless the new owner sets up billing in |
| 154 |
// Google Domains. |
| 155 |
DeleteRegistration(ctx context.Context, in *DeleteRegistrationRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error) |
| 156 |
// Gets the authorization code of the `Registration` for the purpose of |
| 157 |
// transferring the domain to another registrar. |
| 158 |
// |
| 159 |
// You can call this method only after 60 days have elapsed since the initial |
| 160 |
// domain registration. |
| 161 |
RetrieveAuthorizationCode(ctx context.Context, in *RetrieveAuthorizationCodeRequest, opts ...grpc.CallOption) (*AuthorizationCode, error) |
| 162 |
// Resets the authorization code of the `Registration` to a new random string. |
| 163 |
// |
| 164 |
// You can call this method only after 60 days have elapsed since the initial |
| 165 |
// domain registration. |
| 166 |
ResetAuthorizationCode(ctx context.Context, in *ResetAuthorizationCodeRequest, opts ...grpc.CallOption) (*AuthorizationCode, error) |
| 167 |
} |
| 168 |
|
| 169 |
type domainsClient struct { |
| 170 |
cc grpc.ClientConnInterface |
| 171 |
} |
| 172 |
|
| 173 |
func NewDomainsClient(cc grpc.ClientConnInterface) DomainsClient { |
| 174 |
return &domainsClient{cc} |
| 175 |
} |
| 176 |
|
| 177 |
func (c *domainsClient) SearchDomains(ctx context.Context, in *SearchDomainsRequest, opts ...grpc.CallOption) (*SearchDomainsResponse, error) { |
| 178 |
out := new(SearchDomainsResponse) |
| 179 |
err := c.cc.Invoke(ctx, Domains_SearchDomains_FullMethodName, in, out, opts...) |
| 180 |
if err != nil { |
| 181 |
return nil, err |
| 182 |
} |
| 183 |
return out, nil |
| 184 |
} |
| 185 |
|
| 186 |
func (c *domainsClient) RetrieveRegisterParameters(ctx context.Context, in *RetrieveRegisterParametersRequest, opts ...grpc.CallOption) (*RetrieveRegisterParametersResponse, error) { |
| 187 |
out := new(RetrieveRegisterParametersResponse) |
| 188 |
err := c.cc.Invoke(ctx, Domains_RetrieveRegisterParameters_FullMethodName, in, out, opts...) |
| 189 |
if err != nil { |
| 190 |
return nil, err |
| 191 |
} |
| 192 |
return out, nil |
| 193 |
} |
| 194 |
|
| 195 |
func (c *domainsClient) RegisterDomain(ctx context.Context, in *RegisterDomainRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error) { |
| 196 |
out := new(longrunningpb.Operation) |
| 197 |
err := c.cc.Invoke(ctx, Domains_RegisterDomain_FullMethodName, in, out, opts...) |
| 198 |
if err != nil { |
| 199 |
return nil, err |
| 200 |
} |
| 201 |
return out, nil |
| 202 |
} |
| 203 |
|
| 204 |
func (c *domainsClient) RetrieveTransferParameters(ctx context.Context, in *RetrieveTransferParametersRequest, opts ...grpc.CallOption) (*RetrieveTransferParametersResponse, error) { |
| 205 |
out := new(RetrieveTransferParametersResponse) |
| 206 |
err := c.cc.Invoke(ctx, Domains_RetrieveTransferParameters_FullMethodName, in, out, opts...) |
| 207 |
if err != nil { |
| 208 |
return nil, err |
| 209 |
} |
| 210 |
return out, nil |
| 211 |
} |
| 212 |
|
| 213 |
func (c *domainsClient) TransferDomain(ctx context.Context, in *TransferDomainRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error) { |
| 214 |
out := new(longrunningpb.Operation) |
| 215 |
err := c.cc.Invoke(ctx, Domains_TransferDomain_FullMethodName, in, out, opts...) |
| 216 |
if err != nil { |
| 217 |
return nil, err |
| 218 |
} |
| 219 |
return out, nil |
| 220 |
} |
| 221 |
|
| 222 |
func (c *domainsClient) ListRegistrations(ctx context.Context, in *ListRegistrationsRequest, opts ...grpc.CallOption) (*ListRegistrationsResponse, error) { |
| 223 |
out := new(ListRegistrationsResponse) |
| 224 |
err := c.cc.Invoke(ctx, Domains_ListRegistrations_FullMethodName, in, out, opts...) |
| 225 |
if err != nil { |
| 226 |
return nil, err |
| 227 |
} |
| 228 |
return out, nil |
| 229 |
} |
| 230 |
|
| 231 |
func (c *domainsClient) GetRegistration(ctx context.Context, in *GetRegistrationRequest, opts ...grpc.CallOption) (*Registration, error) { |
| 232 |
out := new(Registration) |
| 233 |
err := c.cc.Invoke(ctx, Domains_GetRegistration_FullMethodName, in, out, opts...) |
| 234 |
if err != nil { |
| 235 |
return nil, err |
| 236 |
} |
| 237 |
return out, nil |
| 238 |
} |
| 239 |
|
| 240 |
func (c *domainsClient) UpdateRegistration(ctx context.Context, in *UpdateRegistrationRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error) { |
| 241 |
out := new(longrunningpb.Operation) |
| 242 |
err := c.cc.Invoke(ctx, Domains_UpdateRegistration_FullMethodName, in, out, opts...) |
| 243 |
if err != nil { |
| 244 |
return nil, err |
| 245 |
} |
| 246 |
return out, nil |
| 247 |
} |
| 248 |
|
| 249 |
func (c *domainsClient) ConfigureManagementSettings(ctx context.Context, in *ConfigureManagementSettingsRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error) { |
| 250 |
out := new(longrunningpb.Operation) |
| 251 |
err := c.cc.Invoke(ctx, Domains_ConfigureManagementSettings_FullMethodName, in, out, opts...) |
| 252 |
if err != nil { |
| 253 |
return nil, err |
| 254 |
} |
| 255 |
return out, nil |
| 256 |
} |
| 257 |
|
| 258 |
func (c *domainsClient) ConfigureDnsSettings(ctx context.Context, in *ConfigureDnsSettingsRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error) { |
| 259 |
out := new(longrunningpb.Operation) |
| 260 |
err := c.cc.Invoke(ctx, Domains_ConfigureDnsSettings_FullMethodName, in, out, opts...) |
| 261 |
if err != nil { |
| 262 |
return nil, err |
| 263 |
} |
| 264 |
return out, nil |
| 265 |
} |
| 266 |
|
| 267 |
func (c *domainsClient) ConfigureContactSettings(ctx context.Context, in *ConfigureContactSettingsRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error) { |
| 268 |
out := new(longrunningpb.Operation) |
| 269 |
err := c.cc.Invoke(ctx, Domains_ConfigureContactSettings_FullMethodName, in, out, opts...) |
| 270 |
if err != nil { |
| 271 |
return nil, err |
| 272 |
} |
| 273 |
return out, nil |
| 274 |
} |
| 275 |
|
| 276 |
func (c *domainsClient) ExportRegistration(ctx context.Context, in *ExportRegistrationRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error) { |
| 277 |
out := new(longrunningpb.Operation) |
| 278 |
err := c.cc.Invoke(ctx, Domains_ExportRegistration_FullMethodName, in, out, opts...) |
| 279 |
if err != nil { |
| 280 |
return nil, err |
| 281 |
} |
| 282 |
return out, nil |
| 283 |
} |
| 284 |
|
| 285 |
func (c *domainsClient) DeleteRegistration(ctx context.Context, in *DeleteRegistrationRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error) { |
| 286 |
out := new(longrunningpb.Operation) |
| 287 |
err := c.cc.Invoke(ctx, Domains_DeleteRegistration_FullMethodName, in, out, opts...) |
| 288 |
if err != nil { |
| 289 |
return nil, err |
| 290 |
} |
| 291 |
return out, nil |
| 292 |
} |
| 293 |
|
| 294 |
func (c *domainsClient) RetrieveAuthorizationCode(ctx context.Context, in *RetrieveAuthorizationCodeRequest, opts ...grpc.CallOption) (*AuthorizationCode, error) { |
| 295 |
out := new(AuthorizationCode) |
| 296 |
err := c.cc.Invoke(ctx, Domains_RetrieveAuthorizationCode_FullMethodName, in, out, opts...) |
| 297 |
if err != nil { |
| 298 |
return nil, err |
| 299 |
} |
| 300 |
return out, nil |
| 301 |
} |
| 302 |
|
| 303 |
func (c *domainsClient) ResetAuthorizationCode(ctx context.Context, in *ResetAuthorizationCodeRequest, opts ...grpc.CallOption) (*AuthorizationCode, error) { |
| 304 |
out := new(AuthorizationCode) |
| 305 |
err := c.cc.Invoke(ctx, Domains_ResetAuthorizationCode_FullMethodName, in, out, opts...) |
| 306 |
if err != nil { |
| 307 |
return nil, err |
| 308 |
} |
| 309 |
return out, nil |
| 310 |
} |
| 311 |
|
| 312 |
// DomainsServer is the server API for Domains service. |
| 313 |
// All implementations should embed UnimplementedDomainsServer |
| 314 |
// for forward compatibility |
| 315 |
type DomainsServer interface { |
| 316 |
// Searches for available domain names similar to the provided query. |
| 317 |
// |
| 318 |
// Availability results from this method are approximate; call |
| 319 |
// `RetrieveRegisterParameters` on a domain before registering to confirm |
| 320 |
// availability. |
| 321 |
SearchDomains(context.Context, *SearchDomainsRequest) (*SearchDomainsResponse, error) |
| 322 |
// Gets parameters needed to register a new domain name, including price and |
| 323 |
// up-to-date availability. Use the returned values to call `RegisterDomain`. |
| 324 |
RetrieveRegisterParameters(context.Context, *RetrieveRegisterParametersRequest) (*RetrieveRegisterParametersResponse, error) |
| 325 |
// Registers a new domain name and creates a corresponding `Registration` |
| 326 |
// resource. |
| 327 |
// |
| 328 |
// Call `RetrieveRegisterParameters` first to check availability of the domain |
| 329 |
// name and determine parameters like price that are needed to build a call to |
| 330 |
// this method. |
| 331 |
// |
| 332 |
// A successful call creates a `Registration` resource in state |
| 333 |
// `REGISTRATION_PENDING`, which resolves to `ACTIVE` within 1-2 |
| 334 |
// minutes, indicating that the domain was successfully registered. If the |
| 335 |
// resource ends up in state `REGISTRATION_FAILED`, it indicates that the |
| 336 |
// domain was not registered successfully, and you can safely delete the |
| 337 |
// resource and retry registration. |
| 338 |
RegisterDomain(context.Context, *RegisterDomainRequest) (*longrunningpb.Operation, error) |
| 339 |
// Gets parameters needed to transfer a domain name from another registrar to |
| 340 |
// Cloud Domains. For domains managed by Google Domains, transferring to Cloud |
| 341 |
// Domains is not supported. |
| 342 |
// |
| 343 |
// Use the returned values to call `TransferDomain`. |
| 344 |
RetrieveTransferParameters(context.Context, *RetrieveTransferParametersRequest) (*RetrieveTransferParametersResponse, error) |
| 345 |
// Transfers a domain name from another registrar to Cloud Domains. For |
| 346 |
// domains managed by Google Domains, transferring to Cloud Domains is not |
| 347 |
// supported. |
| 348 |
// |
| 349 |
// Before calling this method, go to the domain's current registrar to unlock |
| 350 |
// the domain for transfer and retrieve the domain's transfer authorization |
| 351 |
// code. Then call `RetrieveTransferParameters` to confirm that the domain is |
| 352 |
// unlocked and to get values needed to build a call to this method. |
| 353 |
// |
| 354 |
// A successful call creates a `Registration` resource in state |
| 355 |
// `TRANSFER_PENDING`. It can take several days to complete the transfer |
| 356 |
// process. The registrant can often speed up this process by approving the |
| 357 |
// transfer through the current registrar, either by clicking a link in an |
| 358 |
// email from the registrar or by visiting the registrar's website. |
| 359 |
// |
| 360 |
// A few minutes after transfer approval, the resource transitions to state |
| 361 |
// `ACTIVE`, indicating that the transfer was successful. If the transfer is |
| 362 |
// rejected or the request expires without being approved, the resource can |
| 363 |
// end up in state `TRANSFER_FAILED`. If transfer fails, you can safely delete |
| 364 |
// the resource and retry the transfer. |
| 365 |
TransferDomain(context.Context, *TransferDomainRequest) (*longrunningpb.Operation, error) |
| 366 |
// Lists the `Registration` resources in a project. |
| 367 |
ListRegistrations(context.Context, *ListRegistrationsRequest) (*ListRegistrationsResponse, error) |
| 368 |
// Gets the details of a `Registration` resource. |
| 369 |
GetRegistration(context.Context, *GetRegistrationRequest) (*Registration, error) |
| 370 |
// Updates select fields of a `Registration` resource, notably `labels`. To |
| 371 |
// update other fields, use the appropriate custom update method: |
| 372 |
// |
| 373 |
// * To update management settings, see `ConfigureManagementSettings` |
| 374 |
// * To update DNS configuration, see `ConfigureDnsSettings` |
| 375 |
// * To update contact information, see `ConfigureContactSettings` |
| 376 |
UpdateRegistration(context.Context, *UpdateRegistrationRequest) (*longrunningpb.Operation, error) |
| 377 |
// Updates a `Registration`'s management settings. |
| 378 |
ConfigureManagementSettings(context.Context, *ConfigureManagementSettingsRequest) (*longrunningpb.Operation, error) |
| 379 |
// Updates a `Registration`'s DNS settings. |
| 380 |
ConfigureDnsSettings(context.Context, *ConfigureDnsSettingsRequest) (*longrunningpb.Operation, error) |
| 381 |
// Updates a `Registration`'s contact settings. Some changes require |
| 382 |
// confirmation by the domain's registrant contact . |
| 383 |
ConfigureContactSettings(context.Context, *ConfigureContactSettingsRequest) (*longrunningpb.Operation, error) |
| 384 |
// Exports a `Registration` resource, such that it is no longer managed by |
| 385 |
// Cloud Domains. |
| 386 |
// |
| 387 |
// When an active domain is successfully exported, you can continue to use the |
| 388 |
// domain in [Google Domains](https://domains.google/) until it expires. The |
| 389 |
// calling user becomes the domain's sole owner in Google Domains, and |
| 390 |
// permissions for the domain are subsequently managed there. The domain does |
| 391 |
// not renew automatically unless the new owner sets up billing in Google |
| 392 |
// Domains. |
| 393 |
ExportRegistration(context.Context, *ExportRegistrationRequest) (*longrunningpb.Operation, error) |
| 394 |
// Deletes a `Registration` resource. |
| 395 |
// |
| 396 |
// This method works on any `Registration` resource using [Subscription or |
| 397 |
// Commitment billing](/domains/pricing#billing-models), provided that the |
| 398 |
// resource was created at least 1 day in the past. |
| 399 |
// |
| 400 |
// For `Registration` resources using |
| 401 |
// [Monthly billing](/domains/pricing#billing-models), this method works if: |
| 402 |
// |
| 403 |
// * `state` is `EXPORTED` with `expire_time` in the past |
| 404 |
// * `state` is `REGISTRATION_FAILED` |
| 405 |
// * `state` is `TRANSFER_FAILED` |
| 406 |
// |
| 407 |
// When an active registration is successfully deleted, you can continue to |
| 408 |
// use the domain in [Google Domains](https://domains.google/) until it |
| 409 |
// expires. The calling user becomes the domain's sole owner in Google |
| 410 |
// Domains, and permissions for the domain are subsequently managed there. The |
| 411 |
// domain does not renew automatically unless the new owner sets up billing in |
| 412 |
// Google Domains. |
| 413 |
DeleteRegistration(context.Context, *DeleteRegistrationRequest) (*longrunningpb.Operation, error) |
| 414 |
// Gets the authorization code of the `Registration` for the purpose of |
| 415 |
// transferring the domain to another registrar. |
| 416 |
// |
| 417 |
// You can call this method only after 60 days have elapsed since the initial |
| 418 |
// domain registration. |
| 419 |
RetrieveAuthorizationCode(context.Context, *RetrieveAuthorizationCodeRequest) (*AuthorizationCode, error) |
| 420 |
// Resets the authorization code of the `Registration` to a new random string. |
| 421 |
// |
| 422 |
// You can call this method only after 60 days have elapsed since the initial |
| 423 |
// domain registration. |
| 424 |
ResetAuthorizationCode(context.Context, *ResetAuthorizationCodeRequest) (*AuthorizationCode, error) |
| 425 |
} |
| 426 |
|
| 427 |
// UnimplementedDomainsServer should be embedded to have forward compatible implementations. |
| 428 |
type UnimplementedDomainsServer struct { |
| 429 |
} |
| 430 |
|
| 431 |
func (UnimplementedDomainsServer) SearchDomains(context.Context, *SearchDomainsRequest) (*SearchDomainsResponse, error) { |
| 432 |
return nil, status.Errorf(codes.Unimplemented, "method SearchDomains not implemented") |
| 433 |
} |
| 434 |
func (UnimplementedDomainsServer) RetrieveRegisterParameters(context.Context, *RetrieveRegisterParametersRequest) (*RetrieveRegisterParametersResponse, error) { |
| 435 |
return nil, status.Errorf(codes.Unimplemented, "method RetrieveRegisterParameters not implemented") |
| 436 |
} |
| 437 |
func (UnimplementedDomainsServer) RegisterDomain(context.Context, *RegisterDomainRequest) (*longrunningpb.Operation, error) { |
| 438 |
return nil, status.Errorf(codes.Unimplemented, "method RegisterDomain not implemented") |
| 439 |
} |
| 440 |
func (UnimplementedDomainsServer) RetrieveTransferParameters(context.Context, *RetrieveTransferParametersRequest) (*RetrieveTransferParametersResponse, error) { |
| 441 |
return nil, status.Errorf(codes.Unimplemented, "method RetrieveTransferParameters not implemented") |
| 442 |
} |
| 443 |
func (UnimplementedDomainsServer) TransferDomain(context.Context, *TransferDomainRequest) (*longrunningpb.Operation, error) { |
| 444 |
return nil, status.Errorf(codes.Unimplemented, "method TransferDomain not implemented") |
| 445 |
} |
| 446 |
func (UnimplementedDomainsServer) ListRegistrations(context.Context, *ListRegistrationsRequest) (*ListRegistrationsResponse, error) { |
| 447 |
return nil, status.Errorf(codes.Unimplemented, "method ListRegistrations not implemented") |
| 448 |
} |
| 449 |
func (UnimplementedDomainsServer) GetRegistration(context.Context, *GetRegistrationRequest) (*Registration, error) { |
| 450 |
return nil, status.Errorf(codes.Unimplemented, "method GetRegistration not implemented") |
| 451 |
} |
| 452 |
func (UnimplementedDomainsServer) UpdateRegistration(context.Context, *UpdateRegistrationRequest) (*longrunningpb.Operation, error) { |
| 453 |
return nil, status.Errorf(codes.Unimplemented, "method UpdateRegistration not implemented") |
| 454 |
} |
| 455 |
func (UnimplementedDomainsServer) ConfigureManagementSettings(context.Context, *ConfigureManagementSettingsRequest) (*longrunningpb.Operation, error) { |
| 456 |
return nil, status.Errorf(codes.Unimplemented, "method ConfigureManagementSettings not implemented") |
| 457 |
} |
| 458 |
func (UnimplementedDomainsServer) ConfigureDnsSettings(context.Context, *ConfigureDnsSettingsRequest) (*longrunningpb.Operation, error) { |
| 459 |
return nil, status.Errorf(codes.Unimplemented, "method ConfigureDnsSettings not implemented") |
| 460 |
} |
| 461 |
func (UnimplementedDomainsServer) ConfigureContactSettings(context.Context, *ConfigureContactSettingsRequest) (*longrunningpb.Operation, error) { |
| 462 |
return nil, status.Errorf(codes.Unimplemented, "method ConfigureContactSettings not implemented") |
| 463 |
} |
| 464 |
func (UnimplementedDomainsServer) ExportRegistration(context.Context, *ExportRegistrationRequest) (*longrunningpb.Operation, error) { |
| 465 |
return nil, status.Errorf(codes.Unimplemented, "method ExportRegistration not implemented") |
| 466 |
} |
| 467 |
func (UnimplementedDomainsServer) DeleteRegistration(context.Context, *DeleteRegistrationRequest) (*longrunningpb.Operation, error) { |
| 468 |
return nil, status.Errorf(codes.Unimplemented, "method DeleteRegistration not implemented") |
| 469 |
} |
| 470 |
func (UnimplementedDomainsServer) RetrieveAuthorizationCode(context.Context, *RetrieveAuthorizationCodeRequest) (*AuthorizationCode, error) { |
| 471 |
return nil, status.Errorf(codes.Unimplemented, "method RetrieveAuthorizationCode not implemented") |
| 472 |
} |
| 473 |
func (UnimplementedDomainsServer) ResetAuthorizationCode(context.Context, *ResetAuthorizationCodeRequest) (*AuthorizationCode, error) { |
| 474 |
return nil, status.Errorf(codes.Unimplemented, "method ResetAuthorizationCode not implemented") |
| 475 |
} |
| 476 |
|
| 477 |
// UnsafeDomainsServer may be embedded to opt out of forward compatibility for this service. |
| 478 |
// Use of this interface is not recommended, as added methods to DomainsServer will |
| 479 |
// result in compilation errors. |
| 480 |
type UnsafeDomainsServer interface { |
| 481 |
mustEmbedUnimplementedDomainsServer() |
| 482 |
} |
| 483 |
|
| 484 |
func RegisterDomainsServer(s grpc.ServiceRegistrar, srv DomainsServer) { |
| 485 |
s.RegisterService(&Domains_ServiceDesc, srv) |
| 486 |
} |
| 487 |
|
| 488 |
func _Domains_SearchDomains_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 489 |
in := new(SearchDomainsRequest) |
| 490 |
if err := dec(in); err != nil { |
| 491 |
return nil, err |
| 492 |
} |
| 493 |
if interceptor == nil { |
| 494 |
return srv.(DomainsServer).SearchDomains(ctx, in) |
| 495 |
} |
| 496 |
info := &grpc.UnaryServerInfo{ |
| 497 |
Server: srv, |
| 498 |
FullMethod: Domains_SearchDomains_FullMethodName, |
| 499 |
} |
| 500 |
handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 501 |
return srv.(DomainsServer).SearchDomains(ctx, req.(*SearchDomainsRequest)) |
| 502 |
} |
| 503 |
return interceptor(ctx, in, info, handler) |
| 504 |
} |
| 505 |
|
| 506 |
func _Domains_RetrieveRegisterParameters_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 507 |
in := new(RetrieveRegisterParametersRequest) |
| 508 |
if err := dec(in); err != nil { |
| 509 |
return nil, err |
| 510 |
} |
| 511 |
if interceptor == nil { |
| 512 |
return srv.(DomainsServer).RetrieveRegisterParameters(ctx, in) |
| 513 |
} |
| 514 |
info := &grpc.UnaryServerInfo{ |
| 515 |
Server: srv, |
| 516 |
FullMethod: Domains_RetrieveRegisterParameters_FullMethodName, |
| 517 |
} |
| 518 |
handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 519 |
return srv.(DomainsServer).RetrieveRegisterParameters(ctx, req.(*RetrieveRegisterParametersRequest)) |
| 520 |
} |
| 521 |
return interceptor(ctx, in, info, handler) |
| 522 |
} |
| 523 |
|
| 524 |
func _Domains_RegisterDomain_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 525 |
in := new(RegisterDomainRequest) |
| 526 |
if err := dec(in); err != nil { |
| 527 |
return nil, err |
| 528 |
} |
| 529 |
if interceptor == nil { |
| 530 |
return srv.(DomainsServer).RegisterDomain(ctx, in) |
| 531 |
} |
| 532 |
info := &grpc.UnaryServerInfo{ |
| 533 |
Server: srv, |
| 534 |
FullMethod: Domains_RegisterDomain_FullMethodName, |
| 535 |
} |
| 536 |
handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 537 |
return srv.(DomainsServer).RegisterDomain(ctx, req.(*RegisterDomainRequest)) |
| 538 |
} |
| 539 |
return interceptor(ctx, in, info, handler) |
| 540 |
} |
| 541 |
|
| 542 |
func _Domains_RetrieveTransferParameters_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 543 |
in := new(RetrieveTransferParametersRequest) |
| 544 |
if err := dec(in); err != nil { |
| 545 |
return nil, err |
| 546 |
} |
| 547 |
if interceptor == nil { |
| 548 |
return srv.(DomainsServer).RetrieveTransferParameters(ctx, in) |
| 549 |
} |
| 550 |
info := &grpc.UnaryServerInfo{ |
| 551 |
Server: srv, |
| 552 |
FullMethod: Domains_RetrieveTransferParameters_FullMethodName, |
| 553 |
} |
| 554 |
handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 555 |
return srv.(DomainsServer).RetrieveTransferParameters(ctx, req.(*RetrieveTransferParametersRequest)) |
| 556 |
} |
| 557 |
return interceptor(ctx, in, info, handler) |
| 558 |
} |
| 559 |
|
| 560 |
func _Domains_TransferDomain_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 561 |
in := new(TransferDomainRequest) |
| 562 |
if err := dec(in); err != nil { |
| 563 |
return nil, err |
| 564 |
} |
| 565 |
if interceptor == nil { |
| 566 |
return srv.(DomainsServer).TransferDomain(ctx, in) |
| 567 |
} |
| 568 |
info := &grpc.UnaryServerInfo{ |
| 569 |
Server: srv, |
| 570 |
FullMethod: Domains_TransferDomain_FullMethodName, |
| 571 |
} |
| 572 |
handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 573 |
return srv.(DomainsServer).TransferDomain(ctx, req.(*TransferDomainRequest)) |
| 574 |
} |
| 575 |
return interceptor(ctx, in, info, handler) |
| 576 |
} |
| 577 |
|
| 578 |
func _Domains_ListRegistrations_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 579 |
in := new(ListRegistrationsRequest) |
| 580 |
if err := dec(in); err != nil { |
| 581 |
return nil, err |
| 582 |
} |
| 583 |
if interceptor == nil { |
| 584 |
return srv.(DomainsServer).ListRegistrations(ctx, in) |
| 585 |
} |
| 586 |
info := &grpc.UnaryServerInfo{ |
| 587 |
Server: srv, |
| 588 |
FullMethod: Domains_ListRegistrations_FullMethodName, |
| 589 |
} |
| 590 |
handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 591 |
return srv.(DomainsServer).ListRegistrations(ctx, req.(*ListRegistrationsRequest)) |
| 592 |
} |
| 593 |
return interceptor(ctx, in, info, handler) |
| 594 |
} |
| 595 |
|
| 596 |
func _Domains_GetRegistration_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 597 |
in := new(GetRegistrationRequest) |
| 598 |
if err := dec(in); err != nil { |
| 599 |
return nil, err |
| 600 |
} |
| 601 |
if interceptor == nil { |
| 602 |
return srv.(DomainsServer).GetRegistration(ctx, in) |
| 603 |
} |
| 604 |
info := &grpc.UnaryServerInfo{ |
| 605 |
Server: srv, |
| 606 |
FullMethod: Domains_GetRegistration_FullMethodName, |
| 607 |
} |
| 608 |
handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 609 |
return srv.(DomainsServer).GetRegistration(ctx, req.(*GetRegistrationRequest)) |
| 610 |
} |
| 611 |
return interceptor(ctx, in, info, handler) |
| 612 |
} |
| 613 |
|
| 614 |
func _Domains_UpdateRegistration_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 615 |
in := new(UpdateRegistrationRequest) |
| 616 |
if err := dec(in); err != nil { |
| 617 |
return nil, err |
| 618 |
} |
| 619 |
if interceptor == nil { |
| 620 |
return srv.(DomainsServer).UpdateRegistration(ctx, in) |
| 621 |
} |
| 622 |
info := &grpc.UnaryServerInfo{ |
| 623 |
Server: srv, |
| 624 |
FullMethod: Domains_UpdateRegistration_FullMethodName, |
| 625 |
} |
| 626 |
handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 627 |
return srv.(DomainsServer).UpdateRegistration(ctx, req.(*UpdateRegistrationRequest)) |
| 628 |
} |
| 629 |
return interceptor(ctx, in, info, handler) |
| 630 |
} |
| 631 |
|
| 632 |
func _Domains_ConfigureManagementSettings_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 633 |
in := new(ConfigureManagementSettingsRequest) |
| 634 |
if err := dec(in); err != nil { |
| 635 |
return nil, err |
| 636 |
} |
| 637 |
if interceptor == nil { |
| 638 |
return srv.(DomainsServer).ConfigureManagementSettings(ctx, in) |
| 639 |
} |
| 640 |
info := &grpc.UnaryServerInfo{ |
| 641 |
Server: srv, |
| 642 |
FullMethod: Domains_ConfigureManagementSettings_FullMethodName, |
| 643 |
} |
| 644 |
handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 645 |
return srv.(DomainsServer).ConfigureManagementSettings(ctx, req.(*ConfigureManagementSettingsRequest)) |
| 646 |
} |
| 647 |
return interceptor(ctx, in, info, handler) |
| 648 |
} |
| 649 |
|
| 650 |
func _Domains_ConfigureDnsSettings_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 651 |
in := new(ConfigureDnsSettingsRequest) |
| 652 |
if err := dec(in); err != nil { |
| 653 |
return nil, err |
| 654 |
} |
| 655 |
if interceptor == nil { |
| 656 |
return srv.(DomainsServer).ConfigureDnsSettings(ctx, in) |
| 657 |
} |
| 658 |
info := &grpc.UnaryServerInfo{ |
| 659 |
Server: srv, |
| 660 |
FullMethod: Domains_ConfigureDnsSettings_FullMethodName, |
| 661 |
} |
| 662 |
handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 663 |
return srv.(DomainsServer).ConfigureDnsSettings(ctx, req.(*ConfigureDnsSettingsRequest)) |
| 664 |
} |
| 665 |
return interceptor(ctx, in, info, handler) |
| 666 |
} |
| 667 |
|
| 668 |
func _Domains_ConfigureContactSettings_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 669 |
in := new(ConfigureContactSettingsRequest) |
| 670 |
if err := dec(in); err != nil { |
| 671 |
return nil, err |
| 672 |
} |
| 673 |
if interceptor == nil { |
| 674 |
return srv.(DomainsServer).ConfigureContactSettings(ctx, in) |
| 675 |
} |
| 676 |
info := &grpc.UnaryServerInfo{ |
| 677 |
Server: srv, |
| 678 |
FullMethod: Domains_ConfigureContactSettings_FullMethodName, |
| 679 |
} |
| 680 |
handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 681 |
return srv.(DomainsServer).ConfigureContactSettings(ctx, req.(*ConfigureContactSettingsRequest)) |
| 682 |
} |
| 683 |
return interceptor(ctx, in, info, handler) |
| 684 |
} |
| 685 |
|
| 686 |
func _Domains_ExportRegistration_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 687 |
in := new(ExportRegistrationRequest) |
| 688 |
if err := dec(in); err != nil { |
| 689 |
return nil, err |
| 690 |
} |
| 691 |
if interceptor == nil { |
| 692 |
return srv.(DomainsServer).ExportRegistration(ctx, in) |
| 693 |
} |
| 694 |
info := &grpc.UnaryServerInfo{ |
| 695 |
Server: srv, |
| 696 |
FullMethod: Domains_ExportRegistration_FullMethodName, |
| 697 |
} |
| 698 |
handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 699 |
return srv.(DomainsServer).ExportRegistration(ctx, req.(*ExportRegistrationRequest)) |
| 700 |
} |
| 701 |
return interceptor(ctx, in, info, handler) |
| 702 |
} |
| 703 |
|
| 704 |
func _Domains_DeleteRegistration_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 705 |
in := new(DeleteRegistrationRequest) |
| 706 |
if err := dec(in); err != nil { |
| 707 |
return nil, err |
| 708 |
} |
| 709 |
if interceptor == nil { |
| 710 |
return srv.(DomainsServer).DeleteRegistration(ctx, in) |
| 711 |
} |
| 712 |
info := &grpc.UnaryServerInfo{ |
| 713 |
Server: srv, |
| 714 |
FullMethod: Domains_DeleteRegistration_FullMethodName, |
| 715 |
} |
| 716 |
handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 717 |
return srv.(DomainsServer).DeleteRegistration(ctx, req.(*DeleteRegistrationRequest)) |
| 718 |
} |
| 719 |
return interceptor(ctx, in, info, handler) |
| 720 |
} |
| 721 |
|
| 722 |
func _Domains_RetrieveAuthorizationCode_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 723 |
in := new(RetrieveAuthorizationCodeRequest) |
| 724 |
if err := dec(in); err != nil { |
| 725 |
return nil, err |
| 726 |
} |
| 727 |
if interceptor == nil { |
| 728 |
return srv.(DomainsServer).RetrieveAuthorizationCode(ctx, in) |
| 729 |
} |
| 730 |
info := &grpc.UnaryServerInfo{ |
| 731 |
Server: srv, |
| 732 |
FullMethod: Domains_RetrieveAuthorizationCode_FullMethodName, |
| 733 |
} |
| 734 |
handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 735 |
return srv.(DomainsServer).RetrieveAuthorizationCode(ctx, req.(*RetrieveAuthorizationCodeRequest)) |
| 736 |
} |
| 737 |
return interceptor(ctx, in, info, handler) |
| 738 |
} |
| 739 |
|
| 740 |
func _Domains_ResetAuthorizationCode_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { |
| 741 |
in := new(ResetAuthorizationCodeRequest) |
| 742 |
if err := dec(in); err != nil { |
| 743 |
return nil, err |
| 744 |
} |
| 745 |
if interceptor == nil { |
| 746 |
return srv.(DomainsServer).ResetAuthorizationCode(ctx, in) |
| 747 |
} |
| 748 |
info := &grpc.UnaryServerInfo{ |
| 749 |
Server: srv, |
| 750 |
FullMethod: Domains_ResetAuthorizationCode_FullMethodName, |
| 751 |
} |
| 752 |
handler := func(ctx context.Context, req interface{}) (interface{}, error) { |
| 753 |
return srv.(DomainsServer).ResetAuthorizationCode(ctx, req.(*ResetAuthorizationCodeRequest)) |
| 754 |
} |
| 755 |
return interceptor(ctx, in, info, handler) |
| 756 |
} |
| 757 |
|
| 758 |
// Domains_ServiceDesc is the grpc.ServiceDesc for Domains service. |
| 759 |
// It's only intended for direct use with grpc.RegisterService, |
| 760 |
// and not to be introspected or modified (even as a copy) |
| 761 |
var Domains_ServiceDesc = grpc.ServiceDesc{ |
| 762 |
ServiceName: "google.cloud.domains.v1beta1.Domains", |
| 763 |
HandlerType: (*DomainsServer)(nil), |
| 764 |
Methods: []grpc.MethodDesc{ |
| 765 |
{ |
| 766 |
MethodName: "SearchDomains", |
| 767 |
Handler: _Domains_SearchDomains_Handler, |
| 768 |
}, |
| 769 |
{ |
| 770 |
MethodName: "RetrieveRegisterParameters", |
| 771 |
Handler: _Domains_RetrieveRegisterParameters_Handler, |
| 772 |
}, |
| 773 |
{ |
| 774 |
MethodName: "RegisterDomain", |
| 775 |
Handler: _Domains_RegisterDomain_Handler, |
| 776 |
}, |
| 777 |
{ |
| 778 |
MethodName: "RetrieveTransferParameters", |
| 779 |
Handler: _Domains_RetrieveTransferParameters_Handler, |
| 780 |
}, |
| 781 |
{ |
| 782 |
MethodName: "TransferDomain", |
| 783 |
Handler: _Domains_TransferDomain_Handler, |
| 784 |
}, |
| 785 |
{ |
| 786 |
MethodName: "ListRegistrations", |
| 787 |
Handler: _Domains_ListRegistrations_Handler, |
| 788 |
}, |
| 789 |
{ |
| 790 |
MethodName: "GetRegistration", |
| 791 |
Handler: _Domains_GetRegistration_Handler, |
| 792 |
}, |
| 793 |
{ |
| 794 |
MethodName: "UpdateRegistration", |
| 795 |
Handler: _Domains_UpdateRegistration_Handler, |
| 796 |
}, |
| 797 |
{ |
| 798 |
MethodName: "ConfigureManagementSettings", |
| 799 |
Handler: _Domains_ConfigureManagementSettings_Handler, |
| 800 |
}, |
| 801 |
{ |
| 802 |
MethodName: "ConfigureDnsSettings", |
| 803 |
Handler: _Domains_ConfigureDnsSettings_Handler, |
| 804 |
}, |
| 805 |
{ |
| 806 |
MethodName: "ConfigureContactSettings", |
| 807 |
Handler: _Domains_ConfigureContactSettings_Handler, |
| 808 |
}, |
| 809 |
{ |
| 810 |
MethodName: "ExportRegistration", |
| 811 |
Handler: _Domains_ExportRegistration_Handler, |
| 812 |
}, |
| 813 |
{ |
| 814 |
MethodName: "DeleteRegistration", |
| 815 |
Handler: _Domains_DeleteRegistration_Handler, |
| 816 |
}, |
| 817 |
{ |
| 818 |
MethodName: "RetrieveAuthorizationCode", |
| 819 |
Handler: _Domains_RetrieveAuthorizationCode_Handler, |
| 820 |
}, |
| 821 |
{ |
| 822 |
MethodName: "ResetAuthorizationCode", |
| 823 |
Handler: _Domains_ResetAuthorizationCode_Handler, |
| 824 |
}, |
| 825 |
}, |
| 826 |
Streams: []grpc.StreamDesc{}, |
| 827 |
Metadata: "google/cloud/domains/v1beta1/domains.proto", |
| 828 |
} |