Package com.google.cloud.config.v1.stub
Class GrpcConfigStub
java.lang.Object
com.google.cloud.config.v1.stub.ConfigStub
com.google.cloud.config.v1.stub.GrpcConfigStub
- All Implemented Interfaces:
BackgroundResource,AutoCloseable
gRPC stub implementation for the Config service API.
This class is for advanced usage and reflects the underlying API directly.
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedGrpcConfigStub(ConfigStubSettings settings, ClientContext clientContext) Constructs an instance of GrpcConfigStub, using the given settings.protectedGrpcConfigStub(ConfigStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory) Constructs an instance of GrpcConfigStub, using the given settings. -
Method Summary
Modifier and TypeMethodDescriptionbooleanawaitTermination(long duration, TimeUnit unit) final voidclose()static final GrpcConfigStubcreate(ClientContext clientContext) static final GrpcConfigStubcreate(ClientContext clientContext, GrpcStubCallableFactory callableFactory) static final GrpcConfigStubcreate(ConfigStubSettings settings) UnaryCallable<DeleteStatefileRequest,com.google.protobuf.Empty> booleanbooleanUnaryCallable<ListDeploymentGroupRevisionsRequest,ConfigClient.ListDeploymentGroupRevisionsPagedResponse> voidshutdown()voidMethods inherited from class com.google.cloud.config.v1.stub.ConfigStub
getHttpJsonOperationsStub
-
Constructor Details
-
GrpcConfigStub
protected GrpcConfigStub(ConfigStubSettings settings, ClientContext clientContext) throws IOException Constructs an instance of GrpcConfigStub, 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.- Throws:
IOException
-
GrpcConfigStub
protected GrpcConfigStub(ConfigStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory) throws IOException Constructs an instance of GrpcConfigStub, 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.- Throws:
IOException
-
-
Method Details
-
create
- Throws:
IOException
-
create
- Throws:
IOException
-
create
public static final GrpcConfigStub create(ClientContext clientContext, GrpcStubCallableFactory callableFactory) throws IOException - Throws:
IOException
-
getOperationsStub
- Overrides:
getOperationsStubin classConfigStub
-
listDeploymentsCallable
- Overrides:
listDeploymentsCallablein classConfigStub
-
listDeploymentsPagedCallable
public UnaryCallable<ListDeploymentsRequest,ConfigClient.ListDeploymentsPagedResponse> listDeploymentsPagedCallable()- Overrides:
listDeploymentsPagedCallablein classConfigStub
-
getDeploymentCallable
- Overrides:
getDeploymentCallablein classConfigStub
-
createDeploymentCallable
- Overrides:
createDeploymentCallablein classConfigStub
-
createDeploymentOperationCallable
public OperationCallable<CreateDeploymentRequest,Deployment, createDeploymentOperationCallable()OperationMetadata> - Overrides:
createDeploymentOperationCallablein classConfigStub
-
updateDeploymentCallable
- Overrides:
updateDeploymentCallablein classConfigStub
-
updateDeploymentOperationCallable
public OperationCallable<UpdateDeploymentRequest,Deployment, updateDeploymentOperationCallable()OperationMetadata> - Overrides:
updateDeploymentOperationCallablein classConfigStub
-
deleteDeploymentCallable
- Overrides:
deleteDeploymentCallablein classConfigStub
-
deleteDeploymentOperationCallable
public OperationCallable<DeleteDeploymentRequest,Deployment, deleteDeploymentOperationCallable()OperationMetadata> - Overrides:
deleteDeploymentOperationCallablein classConfigStub
-
listRevisionsCallable
- Overrides:
listRevisionsCallablein classConfigStub
-
listRevisionsPagedCallable
public UnaryCallable<ListRevisionsRequest,ConfigClient.ListRevisionsPagedResponse> listRevisionsPagedCallable()- Overrides:
listRevisionsPagedCallablein classConfigStub
-
getRevisionCallable
- Overrides:
getRevisionCallablein classConfigStub
-
getResourceCallable
- Overrides:
getResourceCallablein classConfigStub
-
listResourcesCallable
- Overrides:
listResourcesCallablein classConfigStub
-
listResourcesPagedCallable
public UnaryCallable<ListResourcesRequest,ConfigClient.ListResourcesPagedResponse> listResourcesPagedCallable()- Overrides:
listResourcesPagedCallablein classConfigStub
-
exportDeploymentStatefileCallable
public UnaryCallable<ExportDeploymentStatefileRequest,Statefile> exportDeploymentStatefileCallable()- Overrides:
exportDeploymentStatefileCallablein classConfigStub
-
exportRevisionStatefileCallable
- Overrides:
exportRevisionStatefileCallablein classConfigStub
-
importStatefileCallable
- Overrides:
importStatefileCallablein classConfigStub
-
deleteStatefileCallable
- Overrides:
deleteStatefileCallablein classConfigStub
-
lockDeploymentCallable
- Overrides:
lockDeploymentCallablein classConfigStub
-
lockDeploymentOperationCallable
public OperationCallable<LockDeploymentRequest,Deployment, lockDeploymentOperationCallable()OperationMetadata> - Overrides:
lockDeploymentOperationCallablein classConfigStub
-
unlockDeploymentCallable
- Overrides:
unlockDeploymentCallablein classConfigStub
-
unlockDeploymentOperationCallable
public OperationCallable<UnlockDeploymentRequest,Deployment, unlockDeploymentOperationCallable()OperationMetadata> - Overrides:
unlockDeploymentOperationCallablein classConfigStub
-
exportLockInfoCallable
- Overrides:
exportLockInfoCallablein classConfigStub
-
createPreviewCallable
- Overrides:
createPreviewCallablein classConfigStub
-
createPreviewOperationCallable
public OperationCallable<CreatePreviewRequest,Preview, createPreviewOperationCallable()OperationMetadata> - Overrides:
createPreviewOperationCallablein classConfigStub
-
getPreviewCallable
- Overrides:
getPreviewCallablein classConfigStub
-
listPreviewsCallable
- Overrides:
listPreviewsCallablein classConfigStub
-
listPreviewsPagedCallable
public UnaryCallable<ListPreviewsRequest,ConfigClient.ListPreviewsPagedResponse> listPreviewsPagedCallable()- Overrides:
listPreviewsPagedCallablein classConfigStub
-
deletePreviewCallable
- Overrides:
deletePreviewCallablein classConfigStub
-
deletePreviewOperationCallable
public OperationCallable<DeletePreviewRequest,Preview, deletePreviewOperationCallable()OperationMetadata> - Overrides:
deletePreviewOperationCallablein classConfigStub
-
exportPreviewResultCallable
public UnaryCallable<ExportPreviewResultRequest,ExportPreviewResultResponse> exportPreviewResultCallable()- Overrides:
exportPreviewResultCallablein classConfigStub
-
listTerraformVersionsCallable
public UnaryCallable<ListTerraformVersionsRequest,ListTerraformVersionsResponse> listTerraformVersionsCallable()- Overrides:
listTerraformVersionsCallablein classConfigStub
-
listTerraformVersionsPagedCallable
public UnaryCallable<ListTerraformVersionsRequest,ConfigClient.ListTerraformVersionsPagedResponse> listTerraformVersionsPagedCallable()- Overrides:
listTerraformVersionsPagedCallablein classConfigStub
-
getTerraformVersionCallable
- Overrides:
getTerraformVersionCallablein classConfigStub
-
listResourceChangesCallable
public UnaryCallable<ListResourceChangesRequest,ListResourceChangesResponse> listResourceChangesCallable()- Overrides:
listResourceChangesCallablein classConfigStub
-
listResourceChangesPagedCallable
public UnaryCallable<ListResourceChangesRequest,ConfigClient.ListResourceChangesPagedResponse> listResourceChangesPagedCallable()- Overrides:
listResourceChangesPagedCallablein classConfigStub
-
getResourceChangeCallable
- Overrides:
getResourceChangeCallablein classConfigStub
-
listResourceDriftsCallable
public UnaryCallable<ListResourceDriftsRequest,ListResourceDriftsResponse> listResourceDriftsCallable()- Overrides:
listResourceDriftsCallablein classConfigStub
-
listResourceDriftsPagedCallable
public UnaryCallable<ListResourceDriftsRequest,ConfigClient.ListResourceDriftsPagedResponse> listResourceDriftsPagedCallable()- Overrides:
listResourceDriftsPagedCallablein classConfigStub
-
getResourceDriftCallable
- Overrides:
getResourceDriftCallablein classConfigStub
-
getAutoMigrationConfigCallable
public UnaryCallable<GetAutoMigrationConfigRequest,AutoMigrationConfig> getAutoMigrationConfigCallable()- Overrides:
getAutoMigrationConfigCallablein classConfigStub
-
updateAutoMigrationConfigCallable
public UnaryCallable<UpdateAutoMigrationConfigRequest,Operation> updateAutoMigrationConfigCallable()- Overrides:
updateAutoMigrationConfigCallablein classConfigStub
-
updateAutoMigrationConfigOperationCallable
public OperationCallable<UpdateAutoMigrationConfigRequest,AutoMigrationConfig, updateAutoMigrationConfigOperationCallable()OperationMetadata> - Overrides:
updateAutoMigrationConfigOperationCallablein classConfigStub
-
getDeploymentGroupCallable
- Overrides:
getDeploymentGroupCallablein classConfigStub
-
createDeploymentGroupCallable
- Overrides:
createDeploymentGroupCallablein classConfigStub
-
createDeploymentGroupOperationCallable
public OperationCallable<CreateDeploymentGroupRequest,DeploymentGroup, createDeploymentGroupOperationCallable()OperationMetadata> - Overrides:
createDeploymentGroupOperationCallablein classConfigStub
-
updateDeploymentGroupCallable
- Overrides:
updateDeploymentGroupCallablein classConfigStub
-
updateDeploymentGroupOperationCallable
public OperationCallable<UpdateDeploymentGroupRequest,DeploymentGroup, updateDeploymentGroupOperationCallable()OperationMetadata> - Overrides:
updateDeploymentGroupOperationCallablein classConfigStub
-
deleteDeploymentGroupCallable
- Overrides:
deleteDeploymentGroupCallablein classConfigStub
-
deleteDeploymentGroupOperationCallable
public OperationCallable<DeleteDeploymentGroupRequest,DeploymentGroup, deleteDeploymentGroupOperationCallable()OperationMetadata> - Overrides:
deleteDeploymentGroupOperationCallablein classConfigStub
-
listDeploymentGroupsCallable
public UnaryCallable<ListDeploymentGroupsRequest,ListDeploymentGroupsResponse> listDeploymentGroupsCallable()- Overrides:
listDeploymentGroupsCallablein classConfigStub
-
listDeploymentGroupsPagedCallable
public UnaryCallable<ListDeploymentGroupsRequest,ConfigClient.ListDeploymentGroupsPagedResponse> listDeploymentGroupsPagedCallable()- Overrides:
listDeploymentGroupsPagedCallablein classConfigStub
-
provisionDeploymentGroupCallable
- Overrides:
provisionDeploymentGroupCallablein classConfigStub
-
provisionDeploymentGroupOperationCallable
public OperationCallable<ProvisionDeploymentGroupRequest,DeploymentGroup, provisionDeploymentGroupOperationCallable()OperationMetadata> - Overrides:
provisionDeploymentGroupOperationCallablein classConfigStub
-
deprovisionDeploymentGroupCallable
public UnaryCallable<DeprovisionDeploymentGroupRequest,Operation> deprovisionDeploymentGroupCallable()- Overrides:
deprovisionDeploymentGroupCallablein classConfigStub
-
deprovisionDeploymentGroupOperationCallable
public OperationCallable<DeprovisionDeploymentGroupRequest,DeploymentGroup, deprovisionDeploymentGroupOperationCallable()OperationMetadata> - Overrides:
deprovisionDeploymentGroupOperationCallablein classConfigStub
-
getDeploymentGroupRevisionCallable
public UnaryCallable<GetDeploymentGroupRevisionRequest,DeploymentGroupRevision> getDeploymentGroupRevisionCallable()- Overrides:
getDeploymentGroupRevisionCallablein classConfigStub
-
listDeploymentGroupRevisionsCallable
public UnaryCallable<ListDeploymentGroupRevisionsRequest,ListDeploymentGroupRevisionsResponse> listDeploymentGroupRevisionsCallable()- Overrides:
listDeploymentGroupRevisionsCallablein classConfigStub
-
listDeploymentGroupRevisionsPagedCallable
public UnaryCallable<ListDeploymentGroupRevisionsRequest,ConfigClient.ListDeploymentGroupRevisionsPagedResponse> listDeploymentGroupRevisionsPagedCallable()- Overrides:
listDeploymentGroupRevisionsPagedCallablein classConfigStub
-
listLocationsCallable
- Overrides:
listLocationsCallablein classConfigStub
-
listLocationsPagedCallable
public UnaryCallable<ListLocationsRequest,ConfigClient.ListLocationsPagedResponse> listLocationsPagedCallable()- Overrides:
listLocationsPagedCallablein classConfigStub
-
getLocationCallable
- Overrides:
getLocationCallablein classConfigStub
-
setIamPolicyCallable
- Overrides:
setIamPolicyCallablein classConfigStub
-
getIamPolicyCallable
- Overrides:
getIamPolicyCallablein classConfigStub
-
testIamPermissionsCallable
public UnaryCallable<TestIamPermissionsRequest,TestIamPermissionsResponse> testIamPermissionsCallable()- Overrides:
testIamPermissionsCallablein classConfigStub
-
close
public final void close()- Specified by:
closein interfaceAutoCloseable- Specified by:
closein classConfigStub
-
shutdown
public void shutdown() -
isShutdown
public boolean isShutdown() -
isTerminated
public boolean isTerminated() -
shutdownNow
public void shutdownNow() -
awaitTermination
- Throws:
InterruptedException
-