Class TelcoAutomationGrpc.TelcoAutomationBlockingV2Stub
java.lang.Object
io.grpc.stub.AbstractStub<S>
io.grpc.stub.AbstractBlockingStub<TelcoAutomationGrpc.TelcoAutomationBlockingV2Stub>
com.google.cloud.telcoautomation.v1.TelcoAutomationGrpc.TelcoAutomationBlockingV2Stub
- Enclosing class:
- TelcoAutomationGrpc
public static final class TelcoAutomationGrpc.TelcoAutomationBlockingV2Stub
extends io.grpc.stub.AbstractBlockingStub<TelcoAutomationGrpc.TelcoAutomationBlockingV2Stub>
A stub to allow clients to do synchronous rpc calls to service TelcoAutomation.
TelcoAutomation Service manages the control plane cluster a.k.a. Orchestration Cluster (GKE cluster with config controller) of TNA. It also exposes blueprint APIs which manages the lifecycle of blueprints that control the infrastructure setup (e.g GDCE clusters) and deployment of network functions.
-
Nested Class Summary
Nested classes/interfaces inherited from class io.grpc.stub.AbstractStub
io.grpc.stub.AbstractStub.StubFactory<T extends io.grpc.stub.AbstractStub<T>> -
Method Summary
Modifier and TypeMethodDescriptionapplyDeployment(ApplyDeploymentRequest request) Applies the deployment's YAML files to the parent orchestration cluster.Applies a hydrated deployment to a workload cluster.approveBlueprint(ApproveBlueprintRequest request) Approves a blueprint and commits a new revision.build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) Returns the requested deployment status.createBlueprint(CreateBlueprintRequest request) Creates a blueprint.createDeployment(CreateDeploymentRequest request) Creates a deployment.createEdgeSlm(CreateEdgeSlmRequest request) Creates a new EdgeSlm in a given project and location.Creates a new OrchestrationCluster in a given project and location.com.google.protobuf.EmptydeleteBlueprint(DeleteBlueprintRequest request) Deletes a blueprint and all its revisions.deleteEdgeSlm(DeleteEdgeSlmRequest request) Deletes a single EdgeSlm.Deletes a single OrchestrationCluster.Discards the changes in a blueprint and reverts the blueprint to the last approved blueprint revision.Discards the changes in a deployment and reverts the deployment to the last approved deployment revision.getBlueprint(GetBlueprintRequest request) Returns the requested blueprint.getDeployment(GetDeploymentRequest request) Returns the requested deployment.getEdgeSlm(GetEdgeSlmRequest request) Gets details of a single EdgeSlm.Returns the requested hydrated deployment.Gets details of a single OrchestrationCluster.Returns the requested public blueprint.List blueprint revisions of a given blueprint.listBlueprints(ListBlueprintsRequest request) List all blueprints.List deployment revisions of a given deployment.listDeployments(ListDeploymentsRequest request) List all deployments.listEdgeSlms(ListEdgeSlmsRequest request) Lists EdgeSlms in a given project and location.List all hydrated deployments present under a deployment.Lists OrchestrationClusters in a given project and location.Lists the blueprints in TNA's public catalog.proposeBlueprint(ProposeBlueprintRequest request) Proposes a blueprint for approval of changes.rejectBlueprint(RejectBlueprintRequest request) Rejects a blueprint revision proposal and flips it back to Draft state.com.google.protobuf.EmptyremoveDeployment(RemoveDeploymentRequest request) Removes the deployment by marking it as DELETING.Rollback the active deployment to the given past approved deployment revision.Searches across blueprint revisions.Searches across deployment revisions.updateBlueprint(UpdateBlueprintRequest request) Updates a blueprint.updateDeployment(UpdateDeploymentRequest request) Updates a deployment.Updates a hydrated deployment.Methods inherited from class io.grpc.stub.AbstractBlockingStub
newStub, newStubMethods inherited from class io.grpc.stub.AbstractStub
getCallOptions, getChannel, withCallCredentials, withChannel, withCompression, withDeadline, withDeadlineAfter, withDeadlineAfter, withExecutor, withInterceptors, withMaxInboundMessageSize, withMaxOutboundMessageSize, withOnReadyThreshold, withOption, withWaitForReady
-
Method Details
-
build
protected TelcoAutomationGrpc.TelcoAutomationBlockingV2Stub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) - Specified by:
buildin classio.grpc.stub.AbstractStub<TelcoAutomationGrpc.TelcoAutomationBlockingV2Stub>
-
listOrchestrationClusters
public ListOrchestrationClustersResponse listOrchestrationClusters(ListOrchestrationClustersRequest request) throws io.grpc.StatusException Lists OrchestrationClusters in a given project and location.
- Throws:
io.grpc.StatusException
-
getOrchestrationCluster
public OrchestrationCluster getOrchestrationCluster(GetOrchestrationClusterRequest request) throws io.grpc.StatusException Gets details of a single OrchestrationCluster.
- Throws:
io.grpc.StatusException
-
createOrchestrationCluster
public Operation createOrchestrationCluster(CreateOrchestrationClusterRequest request) throws io.grpc.StatusException Creates a new OrchestrationCluster in a given project and location.
- Throws:
io.grpc.StatusException
-
deleteOrchestrationCluster
public Operation deleteOrchestrationCluster(DeleteOrchestrationClusterRequest request) throws io.grpc.StatusException Deletes a single OrchestrationCluster.
- Throws:
io.grpc.StatusException
-
listEdgeSlms
public ListEdgeSlmsResponse listEdgeSlms(ListEdgeSlmsRequest request) throws io.grpc.StatusException Lists EdgeSlms in a given project and location.
- Throws:
io.grpc.StatusException
-
getEdgeSlm
Gets details of a single EdgeSlm.
- Throws:
io.grpc.StatusException
-
createEdgeSlm
Creates a new EdgeSlm in a given project and location.
- Throws:
io.grpc.StatusException
-
deleteEdgeSlm
Deletes a single EdgeSlm.
- Throws:
io.grpc.StatusException
-
createBlueprint
Creates a blueprint.
- Throws:
io.grpc.StatusException
-
updateBlueprint
Updates a blueprint.
- Throws:
io.grpc.StatusException
-
getBlueprint
Returns the requested blueprint.
- Throws:
io.grpc.StatusException
-
deleteBlueprint
public com.google.protobuf.Empty deleteBlueprint(DeleteBlueprintRequest request) throws io.grpc.StatusException Deletes a blueprint and all its revisions.
- Throws:
io.grpc.StatusException
-
listBlueprints
public ListBlueprintsResponse listBlueprints(ListBlueprintsRequest request) throws io.grpc.StatusException List all blueprints.
- Throws:
io.grpc.StatusException
-
approveBlueprint
Approves a blueprint and commits a new revision.
- Throws:
io.grpc.StatusException
-
proposeBlueprint
Proposes a blueprint for approval of changes.
- Throws:
io.grpc.StatusException
-
rejectBlueprint
Rejects a blueprint revision proposal and flips it back to Draft state.
- Throws:
io.grpc.StatusException
-
listBlueprintRevisions
public ListBlueprintRevisionsResponse listBlueprintRevisions(ListBlueprintRevisionsRequest request) throws io.grpc.StatusException List blueprint revisions of a given blueprint.
- Throws:
io.grpc.StatusException
-
searchBlueprintRevisions
public SearchBlueprintRevisionsResponse searchBlueprintRevisions(SearchBlueprintRevisionsRequest request) throws io.grpc.StatusException Searches across blueprint revisions.
- Throws:
io.grpc.StatusException
-
searchDeploymentRevisions
public SearchDeploymentRevisionsResponse searchDeploymentRevisions(SearchDeploymentRevisionsRequest request) throws io.grpc.StatusException Searches across deployment revisions.
- Throws:
io.grpc.StatusException
-
discardBlueprintChanges
public DiscardBlueprintChangesResponse discardBlueprintChanges(DiscardBlueprintChangesRequest request) throws io.grpc.StatusException Discards the changes in a blueprint and reverts the blueprint to the last approved blueprint revision. No changes take place if a blueprint does not have revisions.
- Throws:
io.grpc.StatusException
-
listPublicBlueprints
public ListPublicBlueprintsResponse listPublicBlueprints(ListPublicBlueprintsRequest request) throws io.grpc.StatusException Lists the blueprints in TNA's public catalog. Default page size = 20, Max Page Size = 100.
- Throws:
io.grpc.StatusException
-
getPublicBlueprint
public PublicBlueprint getPublicBlueprint(GetPublicBlueprintRequest request) throws io.grpc.StatusException Returns the requested public blueprint.
- Throws:
io.grpc.StatusException
-
createDeployment
Creates a deployment.
- Throws:
io.grpc.StatusException
-
updateDeployment
Updates a deployment.
- Throws:
io.grpc.StatusException
-
getDeployment
Returns the requested deployment.
- Throws:
io.grpc.StatusException
-
removeDeployment
public com.google.protobuf.Empty removeDeployment(RemoveDeploymentRequest request) throws io.grpc.StatusException Removes the deployment by marking it as DELETING. Post which deployment and it's revisions gets deleted.
- Throws:
io.grpc.StatusException
-
listDeployments
public ListDeploymentsResponse listDeployments(ListDeploymentsRequest request) throws io.grpc.StatusException List all deployments.
- Throws:
io.grpc.StatusException
-
listDeploymentRevisions
public ListDeploymentRevisionsResponse listDeploymentRevisions(ListDeploymentRevisionsRequest request) throws io.grpc.StatusException List deployment revisions of a given deployment.
- Throws:
io.grpc.StatusException
-
discardDeploymentChanges
public DiscardDeploymentChangesResponse discardDeploymentChanges(DiscardDeploymentChangesRequest request) throws io.grpc.StatusException Discards the changes in a deployment and reverts the deployment to the last approved deployment revision. No changes take place if a deployment does not have revisions.
- Throws:
io.grpc.StatusException
-
applyDeployment
Applies the deployment's YAML files to the parent orchestration cluster.
- Throws:
io.grpc.StatusException
-
computeDeploymentStatus
public ComputeDeploymentStatusResponse computeDeploymentStatus(ComputeDeploymentStatusRequest request) throws io.grpc.StatusException Returns the requested deployment status.
- Throws:
io.grpc.StatusException
-
rollbackDeployment
public Deployment rollbackDeployment(RollbackDeploymentRequest request) throws io.grpc.StatusException Rollback the active deployment to the given past approved deployment revision.
- Throws:
io.grpc.StatusException
-
getHydratedDeployment
public HydratedDeployment getHydratedDeployment(GetHydratedDeploymentRequest request) throws io.grpc.StatusException Returns the requested hydrated deployment.
- Throws:
io.grpc.StatusException
-
listHydratedDeployments
public ListHydratedDeploymentsResponse listHydratedDeployments(ListHydratedDeploymentsRequest request) throws io.grpc.StatusException List all hydrated deployments present under a deployment.
- Throws:
io.grpc.StatusException
-
updateHydratedDeployment
public HydratedDeployment updateHydratedDeployment(UpdateHydratedDeploymentRequest request) throws io.grpc.StatusException Updates a hydrated deployment.
- Throws:
io.grpc.StatusException
-
applyHydratedDeployment
public HydratedDeployment applyHydratedDeployment(ApplyHydratedDeploymentRequest request) throws io.grpc.StatusException Applies a hydrated deployment to a workload cluster.
- Throws:
io.grpc.StatusException
-