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

create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)

public static final HttpJsonDomainsStub create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
Parameters
NameDescription
clientContextClientContext
callableFactoryHttpJsonStubCallableFactory
Returns
TypeDescription
HttpJsonDomainsStub
Exceptions
TypeDescription
IOException

create(DomainsStubSettings settings)

public static final HttpJsonDomainsStub create(DomainsStubSettings settings)
Parameter
NameDescription
settingsDomainsStubSettings
Returns
TypeDescription
HttpJsonDomainsStub
Exceptions
TypeDescription
IOException

getMethodDescriptors()

public static List<ApiMethodDescriptor> getMethodDescriptors()
Returns
TypeDescription
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
NameDescription
settingsDomainsStubSettings
clientContextClientContext

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

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

getHttpJsonOperationsStub()

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