Class GrpcAppPlatformStub (0.3.0)

public class GrpcAppPlatformStub extends AppPlatformStub

gRPC stub implementation for the AppPlatform service API.

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

Inheritance

java.lang.Object > AppPlatformStub > GrpcAppPlatformStub

Static Methods

create(ClientContext clientContext)

public static final GrpcAppPlatformStub create(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext
Returns
Type Description
GrpcAppPlatformStub
Exceptions
Type Description
IOException

create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)

public static final GrpcAppPlatformStub create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)
Parameters
Name Description
clientContext ClientContext
callableFactory GrpcStubCallableFactory
Returns
Type Description
GrpcAppPlatformStub
Exceptions
Type Description
IOException

create(AppPlatformStubSettings settings)

public static final GrpcAppPlatformStub create(AppPlatformStubSettings settings)
Parameter
Name Description
settings AppPlatformStubSettings
Returns
Type Description
GrpcAppPlatformStub
Exceptions
Type Description
IOException

Constructors

GrpcAppPlatformStub(AppPlatformStubSettings settings, ClientContext clientContext)

protected GrpcAppPlatformStub(AppPlatformStubSettings settings, ClientContext clientContext)

Constructs an instance of GrpcAppPlatformStub, 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
Name Description
settings AppPlatformStubSettings
clientContext ClientContext

GrpcAppPlatformStub(AppPlatformStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory)

protected GrpcAppPlatformStub(AppPlatformStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory)

Constructs an instance of GrpcAppPlatformStub, 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
Name Description
settings AppPlatformStubSettings
clientContext ClientContext
callableFactory GrpcStubCallableFactory

Methods

addApplicationStreamInputCallable()

public UnaryCallable<AddApplicationStreamInputRequest,Operation> addApplicationStreamInputCallable()
Returns
Type Description
UnaryCallable<AddApplicationStreamInputRequest,Operation>
Overrides

addApplicationStreamInputOperationCallable()

public OperationCallable<AddApplicationStreamInputRequest,AddApplicationStreamInputResponse,OperationMetadata> addApplicationStreamInputOperationCallable()
Returns
Type Description
OperationCallable<AddApplicationStreamInputRequest,AddApplicationStreamInputResponse,OperationMetadata>
Overrides

awaitTermination(long duration, TimeUnit unit)

public boolean awaitTermination(long duration, TimeUnit unit)
Parameters
Name Description
duration long
unit TimeUnit
Returns
Type Description
boolean
Exceptions
Type Description
InterruptedException

close()

public final void close()
Overrides

createApplicationCallable()

public UnaryCallable<CreateApplicationRequest,Operation> createApplicationCallable()
Returns
Type Description
UnaryCallable<CreateApplicationRequest,Operation>
Overrides

createApplicationInstancesCallable()

public UnaryCallable<CreateApplicationInstancesRequest,Operation> createApplicationInstancesCallable()
Returns
Type Description
UnaryCallable<CreateApplicationInstancesRequest,Operation>
Overrides

createApplicationInstancesOperationCallable()

public OperationCallable<CreateApplicationInstancesRequest,CreateApplicationInstancesResponse,OperationMetadata> createApplicationInstancesOperationCallable()
Returns
Type Description
OperationCallable<CreateApplicationInstancesRequest,CreateApplicationInstancesResponse,OperationMetadata>
Overrides

createApplicationOperationCallable()

public OperationCallable<CreateApplicationRequest,Application,OperationMetadata> createApplicationOperationCallable()
Returns
Type Description
OperationCallable<CreateApplicationRequest,Application,OperationMetadata>
Overrides

createDraftCallable()

public UnaryCallable<CreateDraftRequest,Operation> createDraftCallable()
Returns
Type Description
UnaryCallable<CreateDraftRequest,Operation>
Overrides

createDraftOperationCallable()

public OperationCallable<CreateDraftRequest,Draft,OperationMetadata> createDraftOperationCallable()
Returns
Type Description
OperationCallable<CreateDraftRequest,Draft,OperationMetadata>
Overrides

createProcessorCallable()

public UnaryCallable<CreateProcessorRequest,Operation> createProcessorCallable()
Returns
Type Description
UnaryCallable<CreateProcessorRequest,Operation>
Overrides

createProcessorOperationCallable()

public OperationCallable<CreateProcessorRequest,Processor,OperationMetadata> createProcessorOperationCallable()
Returns
Type Description
OperationCallable<CreateProcessorRequest,Processor,OperationMetadata>
Overrides

deleteApplicationCallable()

public UnaryCallable<DeleteApplicationRequest,Operation> deleteApplicationCallable()
Returns
Type Description
UnaryCallable<DeleteApplicationRequest,Operation>
Overrides

deleteApplicationInstancesCallable()

public UnaryCallable<DeleteApplicationInstancesRequest,Operation> deleteApplicationInstancesCallable()
Returns
Type Description
UnaryCallable<DeleteApplicationInstancesRequest,Operation>
Overrides

deleteApplicationInstancesOperationCallable()

public OperationCallable<DeleteApplicationInstancesRequest,Instance,OperationMetadata> deleteApplicationInstancesOperationCallable()
Returns
Type Description
OperationCallable<DeleteApplicationInstancesRequest,Instance,OperationMetadata>
Overrides

deleteApplicationOperationCallable()

public OperationCallable<DeleteApplicationRequest,Empty,OperationMetadata> deleteApplicationOperationCallable()
Returns
Type Description
OperationCallable<DeleteApplicationRequest,Empty,OperationMetadata>
Overrides

deleteDraftCallable()

public UnaryCallable<DeleteDraftRequest,Operation> deleteDraftCallable()
Returns
Type Description
UnaryCallable<DeleteDraftRequest,Operation>
Overrides

deleteDraftOperationCallable()

public OperationCallable<DeleteDraftRequest,Empty,OperationMetadata> deleteDraftOperationCallable()
Returns
Type Description
OperationCallable<DeleteDraftRequest,Empty,OperationMetadata>
Overrides

deleteProcessorCallable()

public UnaryCallable<DeleteProcessorRequest,Operation> deleteProcessorCallable()
Returns
Type Description
UnaryCallable<DeleteProcessorRequest,Operation>
Overrides

deleteProcessorOperationCallable()

public OperationCallable<DeleteProcessorRequest,Empty,OperationMetadata> deleteProcessorOperationCallable()
Returns
Type Description
OperationCallable<DeleteProcessorRequest,Empty,OperationMetadata>
Overrides

deployApplicationCallable()

public UnaryCallable<DeployApplicationRequest,Operation> deployApplicationCallable()
Returns
Type Description
UnaryCallable<DeployApplicationRequest,Operation>
Overrides

deployApplicationOperationCallable()

public OperationCallable<DeployApplicationRequest,DeployApplicationResponse,OperationMetadata> deployApplicationOperationCallable()
Returns
Type Description
OperationCallable<DeployApplicationRequest,DeployApplicationResponse,OperationMetadata>
Overrides

getApplicationCallable()

public UnaryCallable<GetApplicationRequest,Application> getApplicationCallable()
Returns
Type Description
UnaryCallable<GetApplicationRequest,Application>
Overrides

getDraftCallable()

public UnaryCallable<GetDraftRequest,Draft> getDraftCallable()
Returns
Type Description
UnaryCallable<GetDraftRequest,Draft>
Overrides

getInstanceCallable()

public UnaryCallable<GetInstanceRequest,Instance> getInstanceCallable()
Returns
Type Description
UnaryCallable<GetInstanceRequest,Instance>
Overrides

getOperationsStub()

public GrpcOperationsStub getOperationsStub()
Returns
Type Description
GrpcOperationsStub
Overrides

getProcessorCallable()

public UnaryCallable<GetProcessorRequest,Processor> getProcessorCallable()
Returns
Type Description
UnaryCallable<GetProcessorRequest,Processor>
Overrides

isShutdown()

public boolean isShutdown()
Returns
Type Description
boolean

isTerminated()

public boolean isTerminated()
Returns
Type Description
boolean

listApplicationsCallable()

public UnaryCallable<ListApplicationsRequest,ListApplicationsResponse> listApplicationsCallable()
Returns
Type Description
UnaryCallable<ListApplicationsRequest,ListApplicationsResponse>
Overrides

listApplicationsPagedCallable()

public UnaryCallable<ListApplicationsRequest,AppPlatformClient.ListApplicationsPagedResponse> listApplicationsPagedCallable()
Returns
Type Description
UnaryCallable<ListApplicationsRequest,ListApplicationsPagedResponse>
Overrides

listDraftsCallable()

public UnaryCallable<ListDraftsRequest,ListDraftsResponse> listDraftsCallable()
Returns
Type Description
UnaryCallable<ListDraftsRequest,ListDraftsResponse>
Overrides

listDraftsPagedCallable()

public UnaryCallable<ListDraftsRequest,AppPlatformClient.ListDraftsPagedResponse> listDraftsPagedCallable()
Returns
Type Description
UnaryCallable<ListDraftsRequest,ListDraftsPagedResponse>
Overrides

listInstancesCallable()

public UnaryCallable<ListInstancesRequest,ListInstancesResponse> listInstancesCallable()
Returns
Type Description
UnaryCallable<ListInstancesRequest,ListInstancesResponse>
Overrides

listInstancesPagedCallable()

public UnaryCallable<ListInstancesRequest,AppPlatformClient.ListInstancesPagedResponse> listInstancesPagedCallable()
Returns
Type Description
UnaryCallable<ListInstancesRequest,ListInstancesPagedResponse>
Overrides

listPrebuiltProcessorsCallable()

public UnaryCallable<ListPrebuiltProcessorsRequest,ListPrebuiltProcessorsResponse> listPrebuiltProcessorsCallable()
Returns
Type Description
UnaryCallable<ListPrebuiltProcessorsRequest,ListPrebuiltProcessorsResponse>
Overrides

listProcessorsCallable()

public UnaryCallable<ListProcessorsRequest,ListProcessorsResponse> listProcessorsCallable()
Returns
Type Description
UnaryCallable<ListProcessorsRequest,ListProcessorsResponse>
Overrides

listProcessorsPagedCallable()

public UnaryCallable<ListProcessorsRequest,AppPlatformClient.ListProcessorsPagedResponse> listProcessorsPagedCallable()
Returns
Type Description
UnaryCallable<ListProcessorsRequest,ListProcessorsPagedResponse>
Overrides

removeApplicationStreamInputCallable()

public UnaryCallable<RemoveApplicationStreamInputRequest,Operation> removeApplicationStreamInputCallable()
Returns
Type Description
UnaryCallable<RemoveApplicationStreamInputRequest,Operation>
Overrides

removeApplicationStreamInputOperationCallable()

public OperationCallable<RemoveApplicationStreamInputRequest,RemoveApplicationStreamInputResponse,OperationMetadata> removeApplicationStreamInputOperationCallable()
Returns
Type Description
OperationCallable<RemoveApplicationStreamInputRequest,RemoveApplicationStreamInputResponse,OperationMetadata>
Overrides

shutdown()

public void shutdown()

shutdownNow()

public void shutdownNow()

undeployApplicationCallable()

public UnaryCallable<UndeployApplicationRequest,Operation> undeployApplicationCallable()
Returns
Type Description
UnaryCallable<UndeployApplicationRequest,Operation>
Overrides

undeployApplicationOperationCallable()

public OperationCallable<UndeployApplicationRequest,UndeployApplicationResponse,OperationMetadata> undeployApplicationOperationCallable()
Returns
Type Description
OperationCallable<UndeployApplicationRequest,UndeployApplicationResponse,OperationMetadata>
Overrides

updateApplicationCallable()

public UnaryCallable<UpdateApplicationRequest,Operation> updateApplicationCallable()
Returns
Type Description
UnaryCallable<UpdateApplicationRequest,Operation>
Overrides

updateApplicationInstancesCallable()

public UnaryCallable<UpdateApplicationInstancesRequest,Operation> updateApplicationInstancesCallable()
Returns
Type Description
UnaryCallable<UpdateApplicationInstancesRequest,Operation>
Overrides

updateApplicationInstancesOperationCallable()

public OperationCallable<UpdateApplicationInstancesRequest,UpdateApplicationInstancesResponse,OperationMetadata> updateApplicationInstancesOperationCallable()
Returns
Type Description
OperationCallable<UpdateApplicationInstancesRequest,UpdateApplicationInstancesResponse,OperationMetadata>
Overrides

updateApplicationOperationCallable()

public OperationCallable<UpdateApplicationRequest,Application,OperationMetadata> updateApplicationOperationCallable()
Returns
Type Description
OperationCallable<UpdateApplicationRequest,Application,OperationMetadata>
Overrides

updateApplicationStreamInputCallable()

public UnaryCallable<UpdateApplicationStreamInputRequest,Operation> updateApplicationStreamInputCallable()
Returns
Type Description
UnaryCallable<UpdateApplicationStreamInputRequest,Operation>
Overrides

updateApplicationStreamInputOperationCallable()

public OperationCallable<UpdateApplicationStreamInputRequest,UpdateApplicationStreamInputResponse,OperationMetadata> updateApplicationStreamInputOperationCallable()
Returns
Type Description
OperationCallable<UpdateApplicationStreamInputRequest,UpdateApplicationStreamInputResponse,OperationMetadata>
Overrides

updateDraftCallable()

public UnaryCallable<UpdateDraftRequest,Operation> updateDraftCallable()
Returns
Type Description
UnaryCallable<UpdateDraftRequest,Operation>
Overrides

updateDraftOperationCallable()

public OperationCallable<UpdateDraftRequest,Draft,OperationMetadata> updateDraftOperationCallable()
Returns
Type Description
OperationCallable<UpdateDraftRequest,Draft,OperationMetadata>
Overrides

updateProcessorCallable()

public UnaryCallable<UpdateProcessorRequest,Operation> updateProcessorCallable()
Returns
Type Description
UnaryCallable<UpdateProcessorRequest,Operation>
Overrides

updateProcessorOperationCallable()

public OperationCallable<UpdateProcessorRequest,Processor,OperationMetadata> updateProcessorOperationCallable()
Returns
Type Description
OperationCallable<UpdateProcessorRequest,Processor,OperationMetadata>
Overrides