Class HttpJsonDomainsStub (1.40.0)

public class HttpJsonDomainsStub extends DomainsStub

REST stub implementation for the Domains service API.

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

Inheritance

java.lang.Object > DomainsStub > HttpJsonDomainsStub

Static Methods

create(ClientContext clientContext)

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

create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)

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

create(DomainsStubSettings settings)

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

getMethodDescriptors()

public static List<ApiMethodDescriptor> getMethodDescriptors()
Returns
Type Description
List<ApiMethodDescriptor>

Constructors

HttpJsonDomainsStub(DomainsStubSettings settings, ClientContext clientContext)

protected HttpJsonDomainsStub(DomainsStubSettings settings, ClientContext clientContext)

Constructs an instance of HttpJsonDomainsStub, 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

HttpJsonDomainsStub(DomainsStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)

protected HttpJsonDomainsStub(DomainsStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)

Constructs an instance of HttpJsonDomainsStub, 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 HttpJsonStubCallableFactory

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

getHttpJsonOperationsStub()

public HttpJsonOperationsStub getHttpJsonOperationsStub()
Returns
Type Description
HttpJsonOperationsStub
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