Class HttpJsonDomainMappingsStub (2.15.0)

public class HttpJsonDomainMappingsStub extends DomainMappingsStub

REST stub implementation for the DomainMappings service API.

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

Inheritance

java.lang.Object > DomainMappingsStub > HttpJsonDomainMappingsStub

Static Methods

create(ClientContext clientContext)

public static final HttpJsonDomainMappingsStub create(ClientContext clientContext)
Parameter
NameDescription
clientContextClientContext
Returns
TypeDescription
HttpJsonDomainMappingsStub
Exceptions
TypeDescription
IOException

create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)

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

create(DomainMappingsStubSettings settings)

public static final HttpJsonDomainMappingsStub create(DomainMappingsStubSettings settings)
Parameter
NameDescription
settingsDomainMappingsStubSettings
Returns
TypeDescription
HttpJsonDomainMappingsStub
Exceptions
TypeDescription
IOException

getMethodDescriptors()

public static List<ApiMethodDescriptor> getMethodDescriptors()
Returns
TypeDescription
List<ApiMethodDescriptor>

Constructors

HttpJsonDomainMappingsStub(DomainMappingsStubSettings settings, ClientContext clientContext)

protected HttpJsonDomainMappingsStub(DomainMappingsStubSettings settings, ClientContext clientContext)

Constructs an instance of HttpJsonDomainMappingsStub, 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
settingsDomainMappingsStubSettings
clientContextClientContext

HttpJsonDomainMappingsStub(DomainMappingsStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)

protected HttpJsonDomainMappingsStub(DomainMappingsStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)

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

createDomainMappingCallable()

public UnaryCallable<CreateDomainMappingRequest,Operation> createDomainMappingCallable()
Returns
TypeDescription
UnaryCallable<CreateDomainMappingRequest,Operation>
Overrides

createDomainMappingOperationCallable()

public OperationCallable<CreateDomainMappingRequest,DomainMapping,OperationMetadataV1> createDomainMappingOperationCallable()
Returns
TypeDescription
OperationCallable<CreateDomainMappingRequest,DomainMapping,OperationMetadataV1>
Overrides

deleteDomainMappingCallable()

public UnaryCallable<DeleteDomainMappingRequest,Operation> deleteDomainMappingCallable()
Returns
TypeDescription
UnaryCallable<DeleteDomainMappingRequest,Operation>
Overrides

deleteDomainMappingOperationCallable()

public OperationCallable<DeleteDomainMappingRequest,Empty,OperationMetadataV1> deleteDomainMappingOperationCallable()
Returns
TypeDescription
OperationCallable<DeleteDomainMappingRequest,Empty,OperationMetadataV1>
Overrides

getDomainMappingCallable()

public UnaryCallable<GetDomainMappingRequest,DomainMapping> getDomainMappingCallable()
Returns
TypeDescription
UnaryCallable<GetDomainMappingRequest,DomainMapping>
Overrides

getHttpJsonOperationsStub()

public HttpJsonOperationsStub getHttpJsonOperationsStub()
Returns
TypeDescription
HttpJsonOperationsStub
Overrides

isShutdown()

public boolean isShutdown()
Returns
TypeDescription
boolean

isTerminated()

public boolean isTerminated()
Returns
TypeDescription
boolean

listDomainMappingsCallable()

public UnaryCallable<ListDomainMappingsRequest,ListDomainMappingsResponse> listDomainMappingsCallable()
Returns
TypeDescription
UnaryCallable<ListDomainMappingsRequest,ListDomainMappingsResponse>
Overrides

listDomainMappingsPagedCallable()

public UnaryCallable<ListDomainMappingsRequest,DomainMappingsClient.ListDomainMappingsPagedResponse> listDomainMappingsPagedCallable()
Returns
TypeDescription
UnaryCallable<ListDomainMappingsRequest,ListDomainMappingsPagedResponse>
Overrides

shutdown()

public void shutdown()

shutdownNow()

public void shutdownNow()

updateDomainMappingCallable()

public UnaryCallable<UpdateDomainMappingRequest,Operation> updateDomainMappingCallable()
Returns
TypeDescription
UnaryCallable<UpdateDomainMappingRequest,Operation>
Overrides

updateDomainMappingOperationCallable()

public OperationCallable<UpdateDomainMappingRequest,DomainMapping,OperationMetadataV1> updateDomainMappingOperationCallable()
Returns
TypeDescription
OperationCallable<UpdateDomainMappingRequest,DomainMapping,OperationMetadataV1>
Overrides