Class GrpcAppGatewaysServiceStub (0.31.0)

public class GrpcAppGatewaysServiceStub extends AppGatewaysServiceStub

gRPC stub implementation for the AppGatewaysService service API.

This class is for advanced usage and reflects the underlying API directly.

Inheritance

java.lang.Object > AppGatewaysServiceStub > GrpcAppGatewaysServiceStub

Static Methods

create(ClientContext clientContext)

public static final GrpcAppGatewaysServiceStub create(ClientContext clientContext)
Parameter
NameDescription
clientContextClientContext
Returns
TypeDescription
GrpcAppGatewaysServiceStub
Exceptions
TypeDescription
IOException

create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)

public static final GrpcAppGatewaysServiceStub create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)
Parameters
NameDescription
clientContextClientContext
callableFactoryGrpcStubCallableFactory
Returns
TypeDescription
GrpcAppGatewaysServiceStub
Exceptions
TypeDescription
IOException

create(AppGatewaysServiceStubSettings settings)

public static final GrpcAppGatewaysServiceStub create(AppGatewaysServiceStubSettings settings)
Parameter
NameDescription
settingsAppGatewaysServiceStubSettings
Returns
TypeDescription
GrpcAppGatewaysServiceStub
Exceptions
TypeDescription
IOException

Constructors

GrpcAppGatewaysServiceStub(AppGatewaysServiceStubSettings settings, ClientContext clientContext)

protected GrpcAppGatewaysServiceStub(AppGatewaysServiceStubSettings settings, ClientContext clientContext)

Constructs an instance of GrpcAppGatewaysServiceStub, 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.

Parameters
NameDescription
settingsAppGatewaysServiceStubSettings
clientContextClientContext

GrpcAppGatewaysServiceStub(AppGatewaysServiceStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory)

protected GrpcAppGatewaysServiceStub(AppGatewaysServiceStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory)

Constructs an instance of GrpcAppGatewaysServiceStub, 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.

Parameters
NameDescription
settingsAppGatewaysServiceStubSettings
clientContextClientContext
callableFactoryGrpcStubCallableFactory

Methods

awaitTermination(long duration, TimeUnit unit)

public boolean awaitTermination(long duration, TimeUnit unit)
Parameters
NameDescription
durationlong
unitTimeUnit
Returns
TypeDescription
boolean
Exceptions
TypeDescription
InterruptedException

close()

public final void close()
Overrides

createAppGatewayCallable()

public UnaryCallable<CreateAppGatewayRequest,Operation> createAppGatewayCallable()
Returns
TypeDescription
UnaryCallable<CreateAppGatewayRequest,Operation>
Overrides

createAppGatewayOperationCallable()

public OperationCallable<CreateAppGatewayRequest,AppGateway,AppGatewayOperationMetadata> createAppGatewayOperationCallable()
Returns
TypeDescription
OperationCallable<CreateAppGatewayRequest,AppGateway,AppGatewayOperationMetadata>
Overrides

deleteAppGatewayCallable()

public UnaryCallable<DeleteAppGatewayRequest,Operation> deleteAppGatewayCallable()
Returns
TypeDescription
UnaryCallable<DeleteAppGatewayRequest,Operation>
Overrides

deleteAppGatewayOperationCallable()

public OperationCallable<DeleteAppGatewayRequest,Empty,AppGatewayOperationMetadata> deleteAppGatewayOperationCallable()
Returns
TypeDescription
OperationCallable<DeleteAppGatewayRequest,Empty,AppGatewayOperationMetadata>
Overrides

getAppGatewayCallable()

public UnaryCallable<GetAppGatewayRequest,AppGateway> getAppGatewayCallable()
Returns
TypeDescription
UnaryCallable<GetAppGatewayRequest,AppGateway>
Overrides

getIamPolicyCallable()

public UnaryCallable<GetIamPolicyRequest,Policy> getIamPolicyCallable()
Returns
TypeDescription
UnaryCallable<com.google.iam.v1.GetIamPolicyRequest,com.google.iam.v1.Policy>
Overrides

getLocationCallable()

public UnaryCallable<GetLocationRequest,Location> getLocationCallable()
Returns
TypeDescription
UnaryCallable<com.google.cloud.location.GetLocationRequest,com.google.cloud.location.Location>
Overrides

getOperationsStub()

public GrpcOperationsStub getOperationsStub()
Returns
TypeDescription
GrpcOperationsStub
Overrides

isShutdown()

public boolean isShutdown()
Returns
TypeDescription
boolean

isTerminated()

public boolean isTerminated()
Returns
TypeDescription
boolean

listAppGatewaysCallable()

public UnaryCallable<ListAppGatewaysRequest,ListAppGatewaysResponse> listAppGatewaysCallable()
Returns
TypeDescription
UnaryCallable<ListAppGatewaysRequest,ListAppGatewaysResponse>
Overrides

listAppGatewaysPagedCallable()

public UnaryCallable<ListAppGatewaysRequest,AppGatewaysServiceClient.ListAppGatewaysPagedResponse> listAppGatewaysPagedCallable()
Returns
TypeDescription
UnaryCallable<ListAppGatewaysRequest,ListAppGatewaysPagedResponse>
Overrides

listLocationsCallable()

public UnaryCallable<ListLocationsRequest,ListLocationsResponse> listLocationsCallable()
Returns
TypeDescription
UnaryCallable<com.google.cloud.location.ListLocationsRequest,com.google.cloud.location.ListLocationsResponse>
Overrides

listLocationsPagedCallable()

public UnaryCallable<ListLocationsRequest,AppGatewaysServiceClient.ListLocationsPagedResponse> listLocationsPagedCallable()
Returns
TypeDescription
UnaryCallable<com.google.cloud.location.ListLocationsRequest,ListLocationsPagedResponse>
Overrides

setIamPolicyCallable()

public UnaryCallable<SetIamPolicyRequest,Policy> setIamPolicyCallable()
Returns
TypeDescription
UnaryCallable<com.google.iam.v1.SetIamPolicyRequest,com.google.iam.v1.Policy>
Overrides

shutdown()

public void shutdown()

shutdownNow()

public void shutdownNow()

testIamPermissionsCallable()

public UnaryCallable<TestIamPermissionsRequest,TestIamPermissionsResponse> testIamPermissionsCallable()
Returns
TypeDescription
UnaryCallable<com.google.iam.v1.TestIamPermissionsRequest,com.google.iam.v1.TestIamPermissionsResponse>
Overrides