Class AppPlatformGrpc.AppPlatformStub (0.8.0)

public static final class AppPlatformGrpc.AppPlatformStub extends AbstractAsyncStub<AppPlatformGrpc.AppPlatformStub>

A stub to allow clients to do asynchronous rpc calls to service AppPlatform.

Service describing handlers for resources

Inheritance

java.lang.Object > io.grpc.stub.AbstractStub > io.grpc.stub.AbstractAsyncStub > AppPlatformGrpc.AppPlatformStub

Methods

addApplicationStreamInput(AddApplicationStreamInputRequest request, StreamObserver<Operation> responseObserver)

public void addApplicationStreamInput(AddApplicationStreamInputRequest request, StreamObserver<Operation> responseObserver)

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.

Parameters
Name Description
request AddApplicationStreamInputRequest
responseObserver io.grpc.stub.StreamObserver<Operation>

build(Channel channel, CallOptions callOptions)

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

createApplication(CreateApplicationRequest request, StreamObserver<Operation> responseObserver)

public void createApplication(CreateApplicationRequest request, StreamObserver<Operation> responseObserver)

Creates a new Application in a given project and location.

Parameters
Name Description
request CreateApplicationRequest
responseObserver io.grpc.stub.StreamObserver<Operation>

createApplicationInstances(CreateApplicationInstancesRequest request, StreamObserver<Operation> responseObserver)

public void createApplicationInstances(CreateApplicationInstancesRequest request, StreamObserver<Operation> responseObserver)

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.

Parameters
Name Description
request CreateApplicationInstancesRequest
responseObserver io.grpc.stub.StreamObserver<Operation>

createDraft(CreateDraftRequest request, StreamObserver<Operation> responseObserver)

public void createDraft(CreateDraftRequest request, StreamObserver<Operation> responseObserver)

Creates a new Draft in a given project and location.

Parameters
Name Description
request CreateDraftRequest
responseObserver io.grpc.stub.StreamObserver<Operation>

createProcessor(CreateProcessorRequest request, StreamObserver<Operation> responseObserver)

public void createProcessor(CreateProcessorRequest request, StreamObserver<Operation> responseObserver)

Creates a new Processor in a given project and location.

Parameters
Name Description
request CreateProcessorRequest
responseObserver io.grpc.stub.StreamObserver<Operation>

deleteApplication(DeleteApplicationRequest request, StreamObserver<Operation> responseObserver)

public void deleteApplication(DeleteApplicationRequest request, StreamObserver<Operation> responseObserver)

Deletes a single Application.

Parameters
Name Description
request DeleteApplicationRequest
responseObserver io.grpc.stub.StreamObserver<Operation>

deleteApplicationInstances(DeleteApplicationInstancesRequest request, StreamObserver<Operation> responseObserver)

public void deleteApplicationInstances(DeleteApplicationInstancesRequest request, StreamObserver<Operation> responseObserver)

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.

Parameters
Name Description
request DeleteApplicationInstancesRequest
responseObserver io.grpc.stub.StreamObserver<Operation>

deleteDraft(DeleteDraftRequest request, StreamObserver<Operation> responseObserver)

public void deleteDraft(DeleteDraftRequest request, StreamObserver<Operation> responseObserver)

Deletes a single Draft.

Parameters
Name Description
request DeleteDraftRequest
responseObserver io.grpc.stub.StreamObserver<Operation>

deleteProcessor(DeleteProcessorRequest request, StreamObserver<Operation> responseObserver)

public void deleteProcessor(DeleteProcessorRequest request, StreamObserver<Operation> responseObserver)

Deletes a single Processor.

Parameters
Name Description
request DeleteProcessorRequest
responseObserver io.grpc.stub.StreamObserver<Operation>

deployApplication(DeployApplicationRequest request, StreamObserver<Operation> responseObserver)

public void deployApplication(DeployApplicationRequest request, StreamObserver<Operation> responseObserver)

Deploys a single Application.

Parameters
Name Description
request DeployApplicationRequest
responseObserver io.grpc.stub.StreamObserver<Operation>

getApplication(GetApplicationRequest request, StreamObserver<Application> responseObserver)

public void getApplication(GetApplicationRequest request, StreamObserver<Application> responseObserver)

Gets details of a single Application.

Parameters
Name Description
request GetApplicationRequest
responseObserver io.grpc.stub.StreamObserver<Application>

getDraft(GetDraftRequest request, StreamObserver<Draft> responseObserver)

public void getDraft(GetDraftRequest request, StreamObserver<Draft> responseObserver)

Gets details of a single Draft.

Parameters
Name Description
request GetDraftRequest
responseObserver io.grpc.stub.StreamObserver<Draft>

getInstance(GetInstanceRequest request, StreamObserver<Instance> responseObserver)

public void getInstance(GetInstanceRequest request, StreamObserver<Instance> responseObserver)

Gets details of a single Instance.

Parameters
Name Description
request GetInstanceRequest
responseObserver io.grpc.stub.StreamObserver<Instance>

getProcessor(GetProcessorRequest request, StreamObserver<Processor> responseObserver)

public void getProcessor(GetProcessorRequest request, StreamObserver<Processor> responseObserver)

Gets details of a single Processor.

Parameters
Name Description
request GetProcessorRequest
responseObserver io.grpc.stub.StreamObserver<Processor>

listApplications(ListApplicationsRequest request, StreamObserver<ListApplicationsResponse> responseObserver)

public void listApplications(ListApplicationsRequest request, StreamObserver<ListApplicationsResponse> responseObserver)

Lists Applications in a given project and location.

Parameters
Name Description
request ListApplicationsRequest
responseObserver io.grpc.stub.StreamObserver<ListApplicationsResponse>

listDrafts(ListDraftsRequest request, StreamObserver<ListDraftsResponse> responseObserver)

public void listDrafts(ListDraftsRequest request, StreamObserver<ListDraftsResponse> responseObserver)

Lists Drafts in a given project and location.

Parameters
Name Description
request ListDraftsRequest
responseObserver io.grpc.stub.StreamObserver<ListDraftsResponse>

listInstances(ListInstancesRequest request, StreamObserver<ListInstancesResponse> responseObserver)

public void listInstances(ListInstancesRequest request, StreamObserver<ListInstancesResponse> responseObserver)

Lists Instances in a given project and location.

Parameters
Name Description
request ListInstancesRequest
responseObserver io.grpc.stub.StreamObserver<ListInstancesResponse>

listPrebuiltProcessors(ListPrebuiltProcessorsRequest request, StreamObserver<ListPrebuiltProcessorsResponse> responseObserver)

public void listPrebuiltProcessors(ListPrebuiltProcessorsRequest request, StreamObserver<ListPrebuiltProcessorsResponse> responseObserver)

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

Parameters
Name Description
request ListPrebuiltProcessorsRequest
responseObserver io.grpc.stub.StreamObserver<ListPrebuiltProcessorsResponse>

listProcessors(ListProcessorsRequest request, StreamObserver<ListProcessorsResponse> responseObserver)

public void listProcessors(ListProcessorsRequest request, StreamObserver<ListProcessorsResponse> responseObserver)

Lists Processors in a given project and location.

Parameters
Name Description
request ListProcessorsRequest
responseObserver io.grpc.stub.StreamObserver<ListProcessorsResponse>

removeApplicationStreamInput(RemoveApplicationStreamInputRequest request, StreamObserver<Operation> responseObserver)

public void removeApplicationStreamInput(RemoveApplicationStreamInputRequest request, StreamObserver<Operation> responseObserver)

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.

Parameters
Name Description
request RemoveApplicationStreamInputRequest
responseObserver io.grpc.stub.StreamObserver<Operation>

undeployApplication(UndeployApplicationRequest request, StreamObserver<Operation> responseObserver)

public void undeployApplication(UndeployApplicationRequest request, StreamObserver<Operation> responseObserver)

Undeploys a single Application.

Parameters
Name Description
request UndeployApplicationRequest
responseObserver io.grpc.stub.StreamObserver<Operation>

updateApplication(UpdateApplicationRequest request, StreamObserver<Operation> responseObserver)

public void updateApplication(UpdateApplicationRequest request, StreamObserver<Operation> responseObserver)

Updates the parameters of a single Application.

Parameters
Name Description
request UpdateApplicationRequest
responseObserver io.grpc.stub.StreamObserver<Operation>

updateApplicationInstances(UpdateApplicationInstancesRequest request, StreamObserver<Operation> responseObserver)

public void updateApplicationInstances(UpdateApplicationInstancesRequest request, StreamObserver<Operation> responseObserver)

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.

Parameters
Name Description
request UpdateApplicationInstancesRequest
responseObserver io.grpc.stub.StreamObserver<Operation>

updateApplicationStreamInput(UpdateApplicationStreamInputRequest request, StreamObserver<Operation> responseObserver)

public void updateApplicationStreamInput(UpdateApplicationStreamInputRequest request, StreamObserver<Operation> responseObserver)

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.

Parameters
Name Description
request UpdateApplicationStreamInputRequest
responseObserver io.grpc.stub.StreamObserver<Operation>

updateDraft(UpdateDraftRequest request, StreamObserver<Operation> responseObserver)

public void updateDraft(UpdateDraftRequest request, StreamObserver<Operation> responseObserver)

Updates the parameters of a single Draft.

Parameters
Name Description
request UpdateDraftRequest
responseObserver io.grpc.stub.StreamObserver<Operation>

updateProcessor(UpdateProcessorRequest request, StreamObserver<Operation> responseObserver)

public void updateProcessor(UpdateProcessorRequest request, StreamObserver<Operation> responseObserver)

Updates the parameters of a single Processor.

Parameters
Name Description
request UpdateProcessorRequest
responseObserver io.grpc.stub.StreamObserver<Operation>