Class GrpcDomainsStub (1.51.0)

public class GrpcDomainsStub extends DomainsStub

gRPC stub implementation for the Domains service API.

This class is for advanced usage and reflects the underlying API directly.

Inheritance

java.lang.Object > DomainsStub > GrpcDomainsStub

Static Methods

create(ClientContext clientContext)

public static final GrpcDomainsStub create(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext
Returns
Type Description
GrpcDomainsStub
Exceptions
Type Description
IOException

create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)

public static final GrpcDomainsStub create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)
Parameters
Name Description
clientContext ClientContext
callableFactory GrpcStubCallableFactory
Returns
Type Description
GrpcDomainsStub
Exceptions
Type Description
IOException

create(DomainsStubSettings settings)

public static final GrpcDomainsStub create(DomainsStubSettings settings)
Parameter
Name Description
settings DomainsStubSettings
Returns
Type Description
GrpcDomainsStub
Exceptions
Type Description
IOException

Constructors

GrpcDomainsStub(DomainsStubSettings settings, ClientContext clientContext)

protected GrpcDomainsStub(DomainsStubSettings settings, ClientContext clientContext)

Constructs an instance of GrpcDomainsStub, using the given settings. This is protected so that it is easy to make a subclass, but otherwise, the static factory methods should be preferred.

Parameters
Name Description
settings DomainsStubSettings
clientContext ClientContext

GrpcDomainsStub(DomainsStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory)

protected GrpcDomainsStub(DomainsStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory)

Constructs an instance of GrpcDomainsStub, using the given settings. This is protected so that it is easy to make a subclass, but otherwise, the static factory methods should be preferred.

Parameters
Name Description
settings DomainsStubSettings
clientContext ClientContext
callableFactory GrpcStubCallableFactory

Methods

awaitTermination(long duration, TimeUnit unit)

public boolean awaitTermination(long duration, TimeUnit unit)
Parameters
Name Description
duration long
unit TimeUnit
Returns
Type Description
boolean
Exceptions
Type Description
InterruptedException

close()

public final void close()
Overrides

configureContactSettingsCallable()

public UnaryCallable<ConfigureContactSettingsRequest,Operation> configureContactSettingsCallable()
Returns
Type Description
UnaryCallable<ConfigureContactSettingsRequest,Operation>
Overrides

configureContactSettingsOperationCallable()

public OperationCallable<ConfigureContactSettingsRequest,Registration,OperationMetadata> configureContactSettingsOperationCallable()
Returns
Type Description
OperationCallable<ConfigureContactSettingsRequest,Registration,OperationMetadata>
Overrides

configureDnsSettingsCallable()

public UnaryCallable<ConfigureDnsSettingsRequest,Operation> configureDnsSettingsCallable()
Returns
Type Description
UnaryCallable<ConfigureDnsSettingsRequest,Operation>
Overrides

configureDnsSettingsOperationCallable()

public OperationCallable<ConfigureDnsSettingsRequest,Registration,OperationMetadata> configureDnsSettingsOperationCallable()
Returns
Type Description
OperationCallable<ConfigureDnsSettingsRequest,Registration,OperationMetadata>
Overrides

configureManagementSettingsCallable()

public UnaryCallable<ConfigureManagementSettingsRequest,Operation> configureManagementSettingsCallable()
Returns
Type Description
UnaryCallable<ConfigureManagementSettingsRequest,Operation>
Overrides

configureManagementSettingsOperationCallable()

public OperationCallable<ConfigureManagementSettingsRequest,Registration,OperationMetadata> configureManagementSettingsOperationCallable()
Returns
Type Description
OperationCallable<ConfigureManagementSettingsRequest,Registration,OperationMetadata>
Overrides

deleteRegistrationCallable()

public UnaryCallable<DeleteRegistrationRequest,Operation> deleteRegistrationCallable()
Returns
Type Description
UnaryCallable<DeleteRegistrationRequest,Operation>
Overrides

deleteRegistrationOperationCallable()

public OperationCallable<DeleteRegistrationRequest,Empty,OperationMetadata> deleteRegistrationOperationCallable()
Returns
Type Description
OperationCallable<DeleteRegistrationRequest,Empty,OperationMetadata>
Overrides

exportRegistrationCallable()

public UnaryCallable<ExportRegistrationRequest,Operation> exportRegistrationCallable()
Returns
Type Description
UnaryCallable<ExportRegistrationRequest,Operation>
Overrides

exportRegistrationOperationCallable()

public OperationCallable<ExportRegistrationRequest,Registration,OperationMetadata> exportRegistrationOperationCallable()
Returns
Type Description
OperationCallable<ExportRegistrationRequest,Registration,OperationMetadata>
Overrides

getOperationsStub()

public GrpcOperationsStub getOperationsStub()
Returns
Type Description
GrpcOperationsStub
Overrides

getRegistrationCallable()

public UnaryCallable<GetRegistrationRequest,Registration> getRegistrationCallable()
Returns
Type Description
UnaryCallable<GetRegistrationRequest,Registration>
Overrides

isShutdown()

public boolean isShutdown()
Returns
Type Description
boolean

isTerminated()

public boolean isTerminated()
Returns
Type Description
boolean

listRegistrationsCallable()

public UnaryCallable<ListRegistrationsRequest,ListRegistrationsResponse> listRegistrationsCallable()
Returns
Type Description
UnaryCallable<ListRegistrationsRequest,ListRegistrationsResponse>
Overrides

listRegistrationsPagedCallable()

public UnaryCallable<ListRegistrationsRequest,DomainsClient.ListRegistrationsPagedResponse> listRegistrationsPagedCallable()
Returns
Type Description
UnaryCallable<ListRegistrationsRequest,ListRegistrationsPagedResponse>
Overrides

registerDomainCallable()

public UnaryCallable<RegisterDomainRequest,Operation> registerDomainCallable()
Returns
Type Description
UnaryCallable<RegisterDomainRequest,Operation>
Overrides

registerDomainOperationCallable()

public OperationCallable<RegisterDomainRequest,Registration,OperationMetadata> registerDomainOperationCallable()
Returns
Type Description
OperationCallable<RegisterDomainRequest,Registration,OperationMetadata>
Overrides

resetAuthorizationCodeCallable()

public UnaryCallable<ResetAuthorizationCodeRequest,AuthorizationCode> resetAuthorizationCodeCallable()
Returns
Type Description
UnaryCallable<ResetAuthorizationCodeRequest,AuthorizationCode>
Overrides

retrieveAuthorizationCodeCallable()

public UnaryCallable<RetrieveAuthorizationCodeRequest,AuthorizationCode> retrieveAuthorizationCodeCallable()
Returns
Type Description
UnaryCallable<RetrieveAuthorizationCodeRequest,AuthorizationCode>
Overrides

retrieveRegisterParametersCallable()

public UnaryCallable<RetrieveRegisterParametersRequest,RetrieveRegisterParametersResponse> retrieveRegisterParametersCallable()
Returns
Type Description
UnaryCallable<RetrieveRegisterParametersRequest,RetrieveRegisterParametersResponse>
Overrides

retrieveTransferParametersCallable()

public UnaryCallable<RetrieveTransferParametersRequest,RetrieveTransferParametersResponse> retrieveTransferParametersCallable()
Returns
Type Description
UnaryCallable<RetrieveTransferParametersRequest,RetrieveTransferParametersResponse>
Overrides

searchDomainsCallable()

public UnaryCallable<SearchDomainsRequest,SearchDomainsResponse> searchDomainsCallable()
Returns
Type Description
UnaryCallable<SearchDomainsRequest,SearchDomainsResponse>
Overrides

shutdown()

public void shutdown()

shutdownNow()

public void shutdownNow()

transferDomainCallable()

public UnaryCallable<TransferDomainRequest,Operation> transferDomainCallable()
Returns
Type Description
UnaryCallable<TransferDomainRequest,Operation>
Overrides

transferDomainOperationCallable()

public OperationCallable<TransferDomainRequest,Registration,OperationMetadata> transferDomainOperationCallable()
Returns
Type Description
OperationCallable<TransferDomainRequest,Registration,OperationMetadata>
Overrides

updateRegistrationCallable()

public UnaryCallable<UpdateRegistrationRequest,Operation> updateRegistrationCallable()
Returns
Type Description
UnaryCallable<UpdateRegistrationRequest,Operation>
Overrides

updateRegistrationOperationCallable()

public OperationCallable<UpdateRegistrationRequest,Registration,OperationMetadata> updateRegistrationOperationCallable()
Returns
Type Description
OperationCallable<UpdateRegistrationRequest,Registration,OperationMetadata>
Overrides