Class GrpcEntityTypesStub (4.7.0)

public class GrpcEntityTypesStub extends EntityTypesStub

gRPC stub implementation for the EntityTypes service API.

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

Inheritance

java.lang.Object > EntityTypesStub > GrpcEntityTypesStub

Static Methods

create(ClientContext clientContext)

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

create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)

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

create(EntityTypesStubSettings settings)

public static final GrpcEntityTypesStub create(EntityTypesStubSettings settings)
Parameter
NameDescription
settingsEntityTypesStubSettings
Returns
TypeDescription
GrpcEntityTypesStub
Exceptions
TypeDescription
IOException

Constructors

GrpcEntityTypesStub(EntityTypesStubSettings settings, ClientContext clientContext)

protected GrpcEntityTypesStub(EntityTypesStubSettings settings, ClientContext clientContext)

Constructs an instance of GrpcEntityTypesStub, 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
settingsEntityTypesStubSettings
clientContextClientContext

GrpcEntityTypesStub(EntityTypesStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory)

protected GrpcEntityTypesStub(EntityTypesStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory)

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

batchCreateEntitiesCallable()

public UnaryCallable<BatchCreateEntitiesRequest,Operation> batchCreateEntitiesCallable()
Returns
TypeDescription
UnaryCallable<BatchCreateEntitiesRequest,Operation>
Overrides

batchCreateEntitiesOperationCallable()

public OperationCallable<BatchCreateEntitiesRequest,Empty,Struct> batchCreateEntitiesOperationCallable()
Returns
TypeDescription
OperationCallable<BatchCreateEntitiesRequest,Empty,Struct>
Overrides

batchDeleteEntitiesCallable()

public UnaryCallable<BatchDeleteEntitiesRequest,Operation> batchDeleteEntitiesCallable()
Returns
TypeDescription
UnaryCallable<BatchDeleteEntitiesRequest,Operation>
Overrides

batchDeleteEntitiesOperationCallable()

public OperationCallable<BatchDeleteEntitiesRequest,Empty,Struct> batchDeleteEntitiesOperationCallable()
Returns
TypeDescription
OperationCallable<BatchDeleteEntitiesRequest,Empty,Struct>
Overrides

batchDeleteEntityTypesCallable()

public UnaryCallable<BatchDeleteEntityTypesRequest,Operation> batchDeleteEntityTypesCallable()
Returns
TypeDescription
UnaryCallable<BatchDeleteEntityTypesRequest,Operation>
Overrides

batchDeleteEntityTypesOperationCallable()

public OperationCallable<BatchDeleteEntityTypesRequest,Empty,Struct> batchDeleteEntityTypesOperationCallable()
Returns
TypeDescription
OperationCallable<BatchDeleteEntityTypesRequest,Empty,Struct>
Overrides

batchUpdateEntitiesCallable()

public UnaryCallable<BatchUpdateEntitiesRequest,Operation> batchUpdateEntitiesCallable()
Returns
TypeDescription
UnaryCallable<BatchUpdateEntitiesRequest,Operation>
Overrides

batchUpdateEntitiesOperationCallable()

public OperationCallable<BatchUpdateEntitiesRequest,Empty,Struct> batchUpdateEntitiesOperationCallable()
Returns
TypeDescription
OperationCallable<BatchUpdateEntitiesRequest,Empty,Struct>
Overrides

batchUpdateEntityTypesCallable()

public UnaryCallable<BatchUpdateEntityTypesRequest,Operation> batchUpdateEntityTypesCallable()
Returns
TypeDescription
UnaryCallable<BatchUpdateEntityTypesRequest,Operation>
Overrides

batchUpdateEntityTypesOperationCallable()

public OperationCallable<BatchUpdateEntityTypesRequest,BatchUpdateEntityTypesResponse,Struct> batchUpdateEntityTypesOperationCallable()
Returns
TypeDescription
OperationCallable<BatchUpdateEntityTypesRequest,BatchUpdateEntityTypesResponse,Struct>
Overrides

close()

public final void close()
Overrides

createEntityTypeCallable()

public UnaryCallable<CreateEntityTypeRequest,EntityType> createEntityTypeCallable()
Returns
TypeDescription
UnaryCallable<CreateEntityTypeRequest,EntityType>
Overrides

deleteEntityTypeCallable()

public UnaryCallable<DeleteEntityTypeRequest,Empty> deleteEntityTypeCallable()
Returns
TypeDescription
UnaryCallable<DeleteEntityTypeRequest,Empty>
Overrides

getEntityTypeCallable()

public UnaryCallable<GetEntityTypeRequest,EntityType> getEntityTypeCallable()
Returns
TypeDescription
UnaryCallable<GetEntityTypeRequest,EntityType>
Overrides

getOperationsStub()

public GrpcOperationsStub getOperationsStub()
Returns
TypeDescription
GrpcOperationsStub
Overrides

isShutdown()

public boolean isShutdown()
Returns
TypeDescription
boolean

isTerminated()

public boolean isTerminated()
Returns
TypeDescription
boolean

listEntityTypesCallable()

public UnaryCallable<ListEntityTypesRequest,ListEntityTypesResponse> listEntityTypesCallable()
Returns
TypeDescription
UnaryCallable<ListEntityTypesRequest,ListEntityTypesResponse>
Overrides

listEntityTypesPagedCallable()

public UnaryCallable<ListEntityTypesRequest,EntityTypesClient.ListEntityTypesPagedResponse> listEntityTypesPagedCallable()
Returns
TypeDescription
UnaryCallable<ListEntityTypesRequest,ListEntityTypesPagedResponse>
Overrides

shutdown()

public void shutdown()

shutdownNow()

public void shutdownNow()

updateEntityTypeCallable()

public UnaryCallable<UpdateEntityTypeRequest,EntityType> updateEntityTypeCallable()
Returns
TypeDescription
UnaryCallable<UpdateEntityTypeRequest,EntityType>
Overrides