Class GrpcDomainMappingsStub (2.40.0)

public class GrpcDomainMappingsStub extends DomainMappingsStub

gRPC stub implementation for the DomainMappings service API.

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

Inheritance

java.lang.Object > DomainMappingsStub > GrpcDomainMappingsStub

Static Methods

create(ClientContext clientContext)

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

create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)

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

create(DomainMappingsStubSettings settings)

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

Constructors

GrpcDomainMappingsStub(DomainMappingsStubSettings settings, ClientContext clientContext)

protected GrpcDomainMappingsStub(DomainMappingsStubSettings settings, ClientContext clientContext)

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

GrpcDomainMappingsStub(DomainMappingsStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory)

protected GrpcDomainMappingsStub(DomainMappingsStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory)

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

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

getOperationsStub()

public GrpcOperationsStub getOperationsStub()
Returns
TypeDescription
GrpcOperationsStub
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