Class GrpcEnvironmentsStub
java.lang.Object
com.google.cloud.orchestration.airflow.service.v1beta1.stub.EnvironmentsStub
com.google.cloud.orchestration.airflow.service.v1beta1.stub.GrpcEnvironmentsStub
- All Implemented Interfaces:
BackgroundResource,AutoCloseable
@BetaApi
@Generated("by gapic-generator-java")
public class GrpcEnvironmentsStub
extends EnvironmentsStub
gRPC stub implementation for the Environments service API.
This class is for advanced usage and reflects the underlying API directly.
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedGrpcEnvironmentsStub(EnvironmentsStubSettings settings, ClientContext clientContext) Constructs an instance of GrpcEnvironmentsStub, using the given settings.protectedGrpcEnvironmentsStub(EnvironmentsStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory) Constructs an instance of GrpcEnvironmentsStub, using the given settings. -
Method Summary
Modifier and TypeMethodDescriptionbooleanawaitTermination(long duration, TimeUnit unit) final voidclose()static final GrpcEnvironmentsStubcreate(ClientContext clientContext) static final GrpcEnvironmentsStubcreate(ClientContext clientContext, GrpcStubCallableFactory callableFactory) static final GrpcEnvironmentsStubcreate(EnvironmentsStubSettings settings) OperationCallable<DeleteEnvironmentRequest,com.google.protobuf.Empty, OperationMetadata> UnaryCallable<DeleteUserWorkloadsConfigMapRequest,com.google.protobuf.Empty> UnaryCallable<DeleteUserWorkloadsSecretRequest,com.google.protobuf.Empty> booleanbooleanUnaryCallable<ListUserWorkloadsConfigMapsRequest,EnvironmentsClient.ListUserWorkloadsConfigMapsPagedResponse> UnaryCallable<ListUserWorkloadsSecretsRequest,EnvironmentsClient.ListUserWorkloadsSecretsPagedResponse> voidshutdown()voidMethods inherited from class com.google.cloud.orchestration.airflow.service.v1beta1.stub.EnvironmentsStub
getHttpJsonOperationsStub
-
Constructor Details
-
GrpcEnvironmentsStub
protected GrpcEnvironmentsStub(EnvironmentsStubSettings settings, ClientContext clientContext) throws IOException Constructs an instance of GrpcEnvironmentsStub, 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
-
GrpcEnvironmentsStub
protected GrpcEnvironmentsStub(EnvironmentsStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory) throws IOException Constructs an instance of GrpcEnvironmentsStub, 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
public static final GrpcEnvironmentsStub create(EnvironmentsStubSettings settings) throws IOException - Throws:
IOException
-
create
- Throws:
IOException
-
create
public static final GrpcEnvironmentsStub create(ClientContext clientContext, GrpcStubCallableFactory callableFactory) throws IOException - Throws:
IOException
-
getOperationsStub
- Overrides:
getOperationsStubin classEnvironmentsStub
-
createEnvironmentCallable
- Overrides:
createEnvironmentCallablein classEnvironmentsStub
-
createEnvironmentOperationCallable
public OperationCallable<CreateEnvironmentRequest,Environment, createEnvironmentOperationCallable()OperationMetadata> - Overrides:
createEnvironmentOperationCallablein classEnvironmentsStub
-
getEnvironmentCallable
- Overrides:
getEnvironmentCallablein classEnvironmentsStub
-
listEnvironmentsCallable
- Overrides:
listEnvironmentsCallablein classEnvironmentsStub
-
listEnvironmentsPagedCallable
public UnaryCallable<ListEnvironmentsRequest,EnvironmentsClient.ListEnvironmentsPagedResponse> listEnvironmentsPagedCallable()- Overrides:
listEnvironmentsPagedCallablein classEnvironmentsStub
-
updateEnvironmentCallable
- Overrides:
updateEnvironmentCallablein classEnvironmentsStub
-
updateEnvironmentOperationCallable
public OperationCallable<UpdateEnvironmentRequest,Environment, updateEnvironmentOperationCallable()OperationMetadata> - Overrides:
updateEnvironmentOperationCallablein classEnvironmentsStub
-
deleteEnvironmentCallable
- Overrides:
deleteEnvironmentCallablein classEnvironmentsStub
-
deleteEnvironmentOperationCallable
public OperationCallable<DeleteEnvironmentRequest,com.google.protobuf.Empty, deleteEnvironmentOperationCallable()OperationMetadata> - Overrides:
deleteEnvironmentOperationCallablein classEnvironmentsStub
-
restartWebServerCallable
- Overrides:
restartWebServerCallablein classEnvironmentsStub
-
restartWebServerOperationCallable
public OperationCallable<RestartWebServerRequest,Environment, restartWebServerOperationCallable()OperationMetadata> - Overrides:
restartWebServerOperationCallablein classEnvironmentsStub
-
checkUpgradeCallable
- Overrides:
checkUpgradeCallablein classEnvironmentsStub
-
checkUpgradeOperationCallable
public OperationCallable<CheckUpgradeRequest,CheckUpgradeResponse, checkUpgradeOperationCallable()OperationMetadata> - Overrides:
checkUpgradeOperationCallablein classEnvironmentsStub
-
executeAirflowCommandCallable
public UnaryCallable<ExecuteAirflowCommandRequest,ExecuteAirflowCommandResponse> executeAirflowCommandCallable()- Overrides:
executeAirflowCommandCallablein classEnvironmentsStub
-
stopAirflowCommandCallable
public UnaryCallable<StopAirflowCommandRequest,StopAirflowCommandResponse> stopAirflowCommandCallable()- Overrides:
stopAirflowCommandCallablein classEnvironmentsStub
-
pollAirflowCommandCallable
public UnaryCallable<PollAirflowCommandRequest,PollAirflowCommandResponse> pollAirflowCommandCallable()- Overrides:
pollAirflowCommandCallablein classEnvironmentsStub
-
listWorkloadsCallable
- Overrides:
listWorkloadsCallablein classEnvironmentsStub
-
listWorkloadsPagedCallable
public UnaryCallable<ListWorkloadsRequest,EnvironmentsClient.ListWorkloadsPagedResponse> listWorkloadsPagedCallable()- Overrides:
listWorkloadsPagedCallablein classEnvironmentsStub
-
createUserWorkloadsSecretCallable
public UnaryCallable<CreateUserWorkloadsSecretRequest,UserWorkloadsSecret> createUserWorkloadsSecretCallable()- Overrides:
createUserWorkloadsSecretCallablein classEnvironmentsStub
-
getUserWorkloadsSecretCallable
public UnaryCallable<GetUserWorkloadsSecretRequest,UserWorkloadsSecret> getUserWorkloadsSecretCallable()- Overrides:
getUserWorkloadsSecretCallablein classEnvironmentsStub
-
listUserWorkloadsSecretsCallable
public UnaryCallable<ListUserWorkloadsSecretsRequest,ListUserWorkloadsSecretsResponse> listUserWorkloadsSecretsCallable()- Overrides:
listUserWorkloadsSecretsCallablein classEnvironmentsStub
-
listUserWorkloadsSecretsPagedCallable
public UnaryCallable<ListUserWorkloadsSecretsRequest,EnvironmentsClient.ListUserWorkloadsSecretsPagedResponse> listUserWorkloadsSecretsPagedCallable()- Overrides:
listUserWorkloadsSecretsPagedCallablein classEnvironmentsStub
-
updateUserWorkloadsSecretCallable
public UnaryCallable<UpdateUserWorkloadsSecretRequest,UserWorkloadsSecret> updateUserWorkloadsSecretCallable()- Overrides:
updateUserWorkloadsSecretCallablein classEnvironmentsStub
-
deleteUserWorkloadsSecretCallable
public UnaryCallable<DeleteUserWorkloadsSecretRequest,com.google.protobuf.Empty> deleteUserWorkloadsSecretCallable()- Overrides:
deleteUserWorkloadsSecretCallablein classEnvironmentsStub
-
createUserWorkloadsConfigMapCallable
public UnaryCallable<CreateUserWorkloadsConfigMapRequest,UserWorkloadsConfigMap> createUserWorkloadsConfigMapCallable()- Overrides:
createUserWorkloadsConfigMapCallablein classEnvironmentsStub
-
getUserWorkloadsConfigMapCallable
public UnaryCallable<GetUserWorkloadsConfigMapRequest,UserWorkloadsConfigMap> getUserWorkloadsConfigMapCallable()- Overrides:
getUserWorkloadsConfigMapCallablein classEnvironmentsStub
-
listUserWorkloadsConfigMapsCallable
public UnaryCallable<ListUserWorkloadsConfigMapsRequest,ListUserWorkloadsConfigMapsResponse> listUserWorkloadsConfigMapsCallable()- Overrides:
listUserWorkloadsConfigMapsCallablein classEnvironmentsStub
-
listUserWorkloadsConfigMapsPagedCallable
public UnaryCallable<ListUserWorkloadsConfigMapsRequest,EnvironmentsClient.ListUserWorkloadsConfigMapsPagedResponse> listUserWorkloadsConfigMapsPagedCallable()- Overrides:
listUserWorkloadsConfigMapsPagedCallablein classEnvironmentsStub
-
updateUserWorkloadsConfigMapCallable
public UnaryCallable<UpdateUserWorkloadsConfigMapRequest,UserWorkloadsConfigMap> updateUserWorkloadsConfigMapCallable()- Overrides:
updateUserWorkloadsConfigMapCallablein classEnvironmentsStub
-
deleteUserWorkloadsConfigMapCallable
public UnaryCallable<DeleteUserWorkloadsConfigMapRequest,com.google.protobuf.Empty> deleteUserWorkloadsConfigMapCallable()- Overrides:
deleteUserWorkloadsConfigMapCallablein classEnvironmentsStub
-
saveSnapshotCallable
- Overrides:
saveSnapshotCallablein classEnvironmentsStub
-
saveSnapshotOperationCallable
public OperationCallable<SaveSnapshotRequest,SaveSnapshotResponse, saveSnapshotOperationCallable()OperationMetadata> - Overrides:
saveSnapshotOperationCallablein classEnvironmentsStub
-
loadSnapshotCallable
- Overrides:
loadSnapshotCallablein classEnvironmentsStub
-
loadSnapshotOperationCallable
public OperationCallable<LoadSnapshotRequest,LoadSnapshotResponse, loadSnapshotOperationCallable()OperationMetadata> - Overrides:
loadSnapshotOperationCallablein classEnvironmentsStub
-
databaseFailoverCallable
- Overrides:
databaseFailoverCallablein classEnvironmentsStub
-
databaseFailoverOperationCallable
public OperationCallable<DatabaseFailoverRequest,DatabaseFailoverResponse, databaseFailoverOperationCallable()OperationMetadata> - Overrides:
databaseFailoverOperationCallablein classEnvironmentsStub
-
fetchDatabasePropertiesCallable
public UnaryCallable<FetchDatabasePropertiesRequest,FetchDatabasePropertiesResponse> fetchDatabasePropertiesCallable()- Overrides:
fetchDatabasePropertiesCallablein classEnvironmentsStub
-
close
public final void close()- Specified by:
closein interfaceAutoCloseable- Specified by:
closein classEnvironmentsStub
-
shutdown
public void shutdown() -
isShutdown
public boolean isShutdown() -
isTerminated
public boolean isTerminated() -
shutdownNow
public void shutdownNow() -
awaitTermination
- Throws:
InterruptedException
-