Class GrpcDomainsStub (1.26.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
NameDescription
clientContextClientContext
Returns
TypeDescription
GrpcDomainsStub
Exceptions
TypeDescription
IOException

create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)

public static final GrpcDomainsStub create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)
Parameters
NameDescription
clientContextClientContext
callableFactoryGrpcStubCallableFactory
Returns
TypeDescription
GrpcDomainsStub
Exceptions
TypeDescription
IOException

create(DomainsStubSettings settings)

public static final GrpcDomainsStub create(DomainsStubSettings settings)
Parameter
NameDescription
settingsDomainsStubSettings
Returns
TypeDescription
GrpcDomainsStub
Exceptions
TypeDescription
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
NameDescription
settingsDomainsStubSettings
clientContextClientContext

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
NameDescription
settingsDomainsStubSettings
clientContextClientContext
callableFactoryGrpcStubCallableFactory

Methods

awaitTermination(long duration, TimeUnit unit)

public boolean awaitTermination(long duration, TimeUnit unit)
Parameters
NameDescription
durationlong
unitTimeUnit
Returns
TypeDescription
boolean
Exceptions
TypeDescription
InterruptedException

close()

public final void close()
Overrides

configureContactSettingsCallable()

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

configureContactSettingsOperationCallable()

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

configureDnsSettingsCallable()

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

configureDnsSettingsOperationCallable()

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

configureManagementSettingsCallable()

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

configureManagementSettingsOperationCallable()

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

deleteRegistrationCallable()

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

deleteRegistrationOperationCallable()

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

exportRegistrationCallable()

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

exportRegistrationOperationCallable()

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

getOperationsStub()

public GrpcOperationsStub getOperationsStub()
Returns
TypeDescription
GrpcOperationsStub
Overrides

getRegistrationCallable()

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

isShutdown()

public boolean isShutdown()
Returns
TypeDescription
boolean

isTerminated()

public boolean isTerminated()
Returns
TypeDescription
boolean

listRegistrationsCallable()

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

listRegistrationsPagedCallable()

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

registerDomainCallable()

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

registerDomainOperationCallable()

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

resetAuthorizationCodeCallable()

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

retrieveAuthorizationCodeCallable()

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

retrieveRegisterParametersCallable()

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

retrieveTransferParametersCallable()

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

searchDomainsCallable()

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

shutdown()

public void shutdown()

shutdownNow()

public void shutdownNow()

transferDomainCallable()

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

transferDomainOperationCallable()

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

updateRegistrationCallable()

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

updateRegistrationOperationCallable()

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