Class HttpJsonEntityTypesStub (4.7.2)

public class HttpJsonEntityTypesStub extends EntityTypesStub

REST stub implementation for the EntityTypes service API.

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

Inheritance

java.lang.Object > EntityTypesStub > HttpJsonEntityTypesStub

Static Methods

create(ClientContext clientContext)

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

create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)

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

create(EntityTypesStubSettings settings)

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

getMethodDescriptors()

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

Constructors

HttpJsonEntityTypesStub(EntityTypesStubSettings settings, ClientContext clientContext)

protected HttpJsonEntityTypesStub(EntityTypesStubSettings settings, ClientContext clientContext)

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

HttpJsonEntityTypesStub(EntityTypesStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)

protected HttpJsonEntityTypesStub(EntityTypesStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)

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

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

getHttpJsonOperationsStub()

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