Class EnvironmentsGrpc (1.29.0)

public final class EnvironmentsGrpc

Managed Apache Airflow Environments.

Inheritance

java.lang.Object > EnvironmentsGrpc

Static Fields

SERVICE_NAME

public static final String SERVICE_NAME
Field Value
Type Description
String

Static Methods

bindService(EnvironmentsGrpc.AsyncService service)

public static final ServerServiceDefinition bindService(EnvironmentsGrpc.AsyncService service)
Parameter
Name Description
service EnvironmentsGrpc.AsyncService
Returns
Type Description
io.grpc.ServerServiceDefinition

getCreateEnvironmentMethod()

public static MethodDescriptor<CreateEnvironmentRequest,Operation> getCreateEnvironmentMethod()
Returns
Type Description
io.grpc.MethodDescriptor<CreateEnvironmentRequest,Operation>

getDatabaseFailoverMethod()

public static MethodDescriptor<DatabaseFailoverRequest,Operation> getDatabaseFailoverMethod()
Returns
Type Description
io.grpc.MethodDescriptor<DatabaseFailoverRequest,Operation>

getDeleteEnvironmentMethod()

public static MethodDescriptor<DeleteEnvironmentRequest,Operation> getDeleteEnvironmentMethod()
Returns
Type Description
io.grpc.MethodDescriptor<DeleteEnvironmentRequest,Operation>

getExecuteAirflowCommandMethod()

public static MethodDescriptor<ExecuteAirflowCommandRequest,ExecuteAirflowCommandResponse> getExecuteAirflowCommandMethod()
Returns
Type Description
io.grpc.MethodDescriptor<ExecuteAirflowCommandRequest,ExecuteAirflowCommandResponse>

getFetchDatabasePropertiesMethod()

public static MethodDescriptor<FetchDatabasePropertiesRequest,FetchDatabasePropertiesResponse> getFetchDatabasePropertiesMethod()
Returns
Type Description
io.grpc.MethodDescriptor<FetchDatabasePropertiesRequest,FetchDatabasePropertiesResponse>

getGetEnvironmentMethod()

public static MethodDescriptor<GetEnvironmentRequest,Environment> getGetEnvironmentMethod()
Returns
Type Description
io.grpc.MethodDescriptor<GetEnvironmentRequest,Environment>

getListEnvironmentsMethod()

public static MethodDescriptor<ListEnvironmentsRequest,ListEnvironmentsResponse> getListEnvironmentsMethod()
Returns
Type Description
io.grpc.MethodDescriptor<ListEnvironmentsRequest,ListEnvironmentsResponse>

getLoadSnapshotMethod()

public static MethodDescriptor<LoadSnapshotRequest,Operation> getLoadSnapshotMethod()
Returns
Type Description
io.grpc.MethodDescriptor<LoadSnapshotRequest,Operation>

getPollAirflowCommandMethod()

public static MethodDescriptor<PollAirflowCommandRequest,PollAirflowCommandResponse> getPollAirflowCommandMethod()
Returns
Type Description
io.grpc.MethodDescriptor<PollAirflowCommandRequest,PollAirflowCommandResponse>

getSaveSnapshotMethod()

public static MethodDescriptor<SaveSnapshotRequest,Operation> getSaveSnapshotMethod()
Returns
Type Description
io.grpc.MethodDescriptor<SaveSnapshotRequest,Operation>

getServiceDescriptor()

public static ServiceDescriptor getServiceDescriptor()
Returns
Type Description
io.grpc.ServiceDescriptor

getStopAirflowCommandMethod()

public static MethodDescriptor<StopAirflowCommandRequest,StopAirflowCommandResponse> getStopAirflowCommandMethod()
Returns
Type Description
io.grpc.MethodDescriptor<StopAirflowCommandRequest,StopAirflowCommandResponse>

getUpdateEnvironmentMethod()

public static MethodDescriptor<UpdateEnvironmentRequest,Operation> getUpdateEnvironmentMethod()
Returns
Type Description
io.grpc.MethodDescriptor<UpdateEnvironmentRequest,Operation>

newBlockingStub(Channel channel)

public static EnvironmentsGrpc.EnvironmentsBlockingStub newBlockingStub(Channel channel)

Creates a new blocking-style stub that supports unary and streaming output calls on the service

Parameter
Name Description
channel io.grpc.Channel
Returns
Type Description
EnvironmentsGrpc.EnvironmentsBlockingStub

newFutureStub(Channel channel)

public static EnvironmentsGrpc.EnvironmentsFutureStub newFutureStub(Channel channel)

Creates a new ListenableFuture-style stub that supports unary calls on the service

Parameter
Name Description
channel io.grpc.Channel
Returns
Type Description
EnvironmentsGrpc.EnvironmentsFutureStub

newStub(Channel channel)

public static EnvironmentsGrpc.EnvironmentsStub newStub(Channel channel)

Creates a new async stub that supports all call types for the service

Parameter
Name Description
channel io.grpc.Channel
Returns
Type Description
EnvironmentsGrpc.EnvironmentsStub