Class AppPlatformGrpc.AppPlatformFutureStub (0.11.0)

public static final class AppPlatformGrpc.AppPlatformFutureStub extends AbstractFutureStub<AppPlatformGrpc.AppPlatformFutureStub>

A stub to allow clients to do ListenableFuture-style rpc calls to service AppPlatform.

Service describing handlers for resources

Inheritance

java.lang.Object > io.grpc.stub.AbstractStub > io.grpc.stub.AbstractFutureStub > AppPlatformGrpc.AppPlatformFutureStub

Methods

addApplicationStreamInput(AddApplicationStreamInputRequest request)

public ListenableFuture<Operation> addApplicationStreamInput(AddApplicationStreamInputRequest request)

Adds target stream input to the Application. If the Application is deployed, the corresponding new Application instance will be created. If the stream has already been in the Application, the RPC will fail.

Parameter
Name Description
request AddApplicationStreamInputRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Operation>

build(Channel channel, CallOptions callOptions)

protected AppPlatformGrpc.AppPlatformFutureStub build(Channel channel, CallOptions callOptions)
Parameters
Name Description
channel io.grpc.Channel
callOptions io.grpc.CallOptions
Returns
Type Description
AppPlatformGrpc.AppPlatformFutureStub
Overrides
io.grpc.stub.AbstractStub.build(io.grpc.Channel,io.grpc.CallOptions)

createApplication(CreateApplicationRequest request)

public ListenableFuture<Operation> createApplication(CreateApplicationRequest request)

Creates a new Application in a given project and location.

Parameter
Name Description
request CreateApplicationRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Operation>

createApplicationInstances(CreateApplicationInstancesRequest request)

public ListenableFuture<Operation> createApplicationInstances(CreateApplicationInstancesRequest request)

Adds target stream input to the Application. If the Application is deployed, the corresponding new Application instance will be created. If the stream has already been in the Application, the RPC will fail.

Parameter
Name Description
request CreateApplicationInstancesRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Operation>

createDraft(CreateDraftRequest request)

public ListenableFuture<Operation> createDraft(CreateDraftRequest request)

Creates a new Draft in a given project and location.

Parameter
Name Description
request CreateDraftRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Operation>

createProcessor(CreateProcessorRequest request)

public ListenableFuture<Operation> createProcessor(CreateProcessorRequest request)

Creates a new Processor in a given project and location.

Parameter
Name Description
request CreateProcessorRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Operation>

deleteApplication(DeleteApplicationRequest request)

public ListenableFuture<Operation> deleteApplication(DeleteApplicationRequest request)

Deletes a single Application.

Parameter
Name Description
request DeleteApplicationRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Operation>

deleteApplicationInstances(DeleteApplicationInstancesRequest request)

public ListenableFuture<Operation> deleteApplicationInstances(DeleteApplicationInstancesRequest request)

Remove target stream input to the Application, if the Application is deployed, the corresponding instance based will be deleted. If the stream is not in the Application, the RPC will fail.

Parameter
Name Description
request DeleteApplicationInstancesRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Operation>

deleteDraft(DeleteDraftRequest request)

public ListenableFuture<Operation> deleteDraft(DeleteDraftRequest request)

Deletes a single Draft.

Parameter
Name Description
request DeleteDraftRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Operation>

deleteProcessor(DeleteProcessorRequest request)

public ListenableFuture<Operation> deleteProcessor(DeleteProcessorRequest request)

Deletes a single Processor.

Parameter
Name Description
request DeleteProcessorRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Operation>

deployApplication(DeployApplicationRequest request)

public ListenableFuture<Operation> deployApplication(DeployApplicationRequest request)

Deploys a single Application.

Parameter
Name Description
request DeployApplicationRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Operation>

getApplication(GetApplicationRequest request)

public ListenableFuture<Application> getApplication(GetApplicationRequest request)

Gets details of a single Application.

Parameter
Name Description
request GetApplicationRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Application>

getDraft(GetDraftRequest request)

public ListenableFuture<Draft> getDraft(GetDraftRequest request)

Gets details of a single Draft.

Parameter
Name Description
request GetDraftRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Draft>

getInstance(GetInstanceRequest request)

public ListenableFuture<Instance> getInstance(GetInstanceRequest request)

Gets details of a single Instance.

Parameter
Name Description
request GetInstanceRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Instance>

getProcessor(GetProcessorRequest request)

public ListenableFuture<Processor> getProcessor(GetProcessorRequest request)

Gets details of a single Processor.

Parameter
Name Description
request GetProcessorRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Processor>

listApplications(ListApplicationsRequest request)

public ListenableFuture<ListApplicationsResponse> listApplications(ListApplicationsRequest request)

Lists Applications in a given project and location.

Parameter
Name Description
request ListApplicationsRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<ListApplicationsResponse>

listDrafts(ListDraftsRequest request)

public ListenableFuture<ListDraftsResponse> listDrafts(ListDraftsRequest request)

Lists Drafts in a given project and location.

Parameter
Name Description
request ListDraftsRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<ListDraftsResponse>

listInstances(ListInstancesRequest request)

public ListenableFuture<ListInstancesResponse> listInstances(ListInstancesRequest request)

Lists Instances in a given project and location.

Parameter
Name Description
request ListInstancesRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<ListInstancesResponse>

listPrebuiltProcessors(ListPrebuiltProcessorsRequest request)

public ListenableFuture<ListPrebuiltProcessorsResponse> listPrebuiltProcessors(ListPrebuiltProcessorsRequest request)

ListPrebuiltProcessors is a custom pass-through verb that Lists Prebuilt Processors.

Parameter
Name Description
request ListPrebuiltProcessorsRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<ListPrebuiltProcessorsResponse>

listProcessors(ListProcessorsRequest request)

public ListenableFuture<ListProcessorsResponse> listProcessors(ListProcessorsRequest request)

Lists Processors in a given project and location.

Parameter
Name Description
request ListProcessorsRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<ListProcessorsResponse>

removeApplicationStreamInput(RemoveApplicationStreamInputRequest request)

public ListenableFuture<Operation> removeApplicationStreamInput(RemoveApplicationStreamInputRequest request)

Remove target stream input to the Application, if the Application is deployed, the corresponding instance based will be deleted. If the stream is not in the Application, the RPC will fail.

Parameter
Name Description
request RemoveApplicationStreamInputRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Operation>

undeployApplication(UndeployApplicationRequest request)

public ListenableFuture<Operation> undeployApplication(UndeployApplicationRequest request)

Undeploys a single Application.

Parameter
Name Description
request UndeployApplicationRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Operation>

updateApplication(UpdateApplicationRequest request)

public ListenableFuture<Operation> updateApplication(UpdateApplicationRequest request)

Updates the parameters of a single Application.

Parameter
Name Description
request UpdateApplicationRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Operation>

updateApplicationInstances(UpdateApplicationInstancesRequest request)

public ListenableFuture<Operation> updateApplicationInstances(UpdateApplicationInstancesRequest request)

Adds target stream input to the Application. If the Application is deployed, the corresponding new Application instance will be created. If the stream has already been in the Application, the RPC will fail.

Parameter
Name Description
request UpdateApplicationInstancesRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Operation>

updateApplicationStreamInput(UpdateApplicationStreamInputRequest request)

public ListenableFuture<Operation> updateApplicationStreamInput(UpdateApplicationStreamInputRequest request)

Update target stream input to the Application, if the Application is deployed, the corresponding instance based will be deployed. For CreateOrUpdate behavior, set allow_missing to true.

Parameter
Name Description
request UpdateApplicationStreamInputRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Operation>

updateDraft(UpdateDraftRequest request)

public ListenableFuture<Operation> updateDraft(UpdateDraftRequest request)

Updates the parameters of a single Draft.

Parameter
Name Description
request UpdateDraftRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Operation>

updateProcessor(UpdateProcessorRequest request)

public ListenableFuture<Operation> updateProcessor(UpdateProcessorRequest request)

Updates the parameters of a single Processor.

Parameter
Name Description
request UpdateProcessorRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Operation>