Package com.google.appengine.v1.stub
Class GrpcServicesStub
- java.lang.Object
-
- com.google.appengine.v1.stub.ServicesStub
-
- com.google.appengine.v1.stub.GrpcServicesStub
-
- All Implemented Interfaces:
com.google.api.gax.core.BackgroundResource,AutoCloseable
@Generated("by gapic-generator-java") public class GrpcServicesStub extends ServicesStub
gRPC stub implementation for the Services service API.This class is for advanced usage and reflects the underlying API directly.
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedGrpcServicesStub(ServicesStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext)Constructs an instance of GrpcServicesStub, using the given settings.protectedGrpcServicesStub(ServicesStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.grpc.GrpcStubCallableFactory callableFactory)Constructs an instance of GrpcServicesStub, using the given settings.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanawaitTermination(long duration, TimeUnit unit)voidclose()static GrpcServicesStubcreate(com.google.api.gax.rpc.ClientContext clientContext)static GrpcServicesStubcreate(com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.grpc.GrpcStubCallableFactory callableFactory)static GrpcServicesStubcreate(ServicesStubSettings settings)com.google.api.gax.rpc.UnaryCallable<DeleteServiceRequest,com.google.longrunning.Operation>deleteServiceCallable()com.google.api.gax.rpc.OperationCallable<DeleteServiceRequest,com.google.protobuf.Empty,OperationMetadataV1>deleteServiceOperationCallable()com.google.longrunning.stub.GrpcOperationsStubgetOperationsStub()com.google.api.gax.rpc.UnaryCallable<GetServiceRequest,Service>getServiceCallable()booleanisShutdown()booleanisTerminated()com.google.api.gax.rpc.UnaryCallable<ListServicesRequest,ListServicesResponse>listServicesCallable()com.google.api.gax.rpc.UnaryCallable<ListServicesRequest,ServicesClient.ListServicesPagedResponse>listServicesPagedCallable()voidshutdown()voidshutdownNow()com.google.api.gax.rpc.UnaryCallable<UpdateServiceRequest,com.google.longrunning.Operation>updateServiceCallable()com.google.api.gax.rpc.OperationCallable<UpdateServiceRequest,Service,OperationMetadataV1>updateServiceOperationCallable()-
Methods inherited from class com.google.appengine.v1.stub.ServicesStub
getHttpJsonOperationsStub
-
-
-
-
Constructor Detail
-
GrpcServicesStub
protected GrpcServicesStub(ServicesStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext) throws IOException
Constructs an instance of GrpcServicesStub, 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
-
GrpcServicesStub
protected GrpcServicesStub(ServicesStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.grpc.GrpcStubCallableFactory callableFactory) throws IOException
Constructs an instance of GrpcServicesStub, 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 Detail
-
create
public static final GrpcServicesStub create(ServicesStubSettings settings) throws IOException
- Throws:
IOException
-
create
public static final GrpcServicesStub create(com.google.api.gax.rpc.ClientContext clientContext) throws IOException
- Throws:
IOException
-
create
public static final GrpcServicesStub create(com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.grpc.GrpcStubCallableFactory callableFactory) throws IOException
- Throws:
IOException
-
getOperationsStub
public com.google.longrunning.stub.GrpcOperationsStub getOperationsStub()
- Overrides:
getOperationsStubin classServicesStub
-
listServicesCallable
public com.google.api.gax.rpc.UnaryCallable<ListServicesRequest,ListServicesResponse> listServicesCallable()
- Overrides:
listServicesCallablein classServicesStub
-
listServicesPagedCallable
public com.google.api.gax.rpc.UnaryCallable<ListServicesRequest,ServicesClient.ListServicesPagedResponse> listServicesPagedCallable()
- Overrides:
listServicesPagedCallablein classServicesStub
-
getServiceCallable
public com.google.api.gax.rpc.UnaryCallable<GetServiceRequest,Service> getServiceCallable()
- Overrides:
getServiceCallablein classServicesStub
-
updateServiceCallable
public com.google.api.gax.rpc.UnaryCallable<UpdateServiceRequest,com.google.longrunning.Operation> updateServiceCallable()
- Overrides:
updateServiceCallablein classServicesStub
-
updateServiceOperationCallable
public com.google.api.gax.rpc.OperationCallable<UpdateServiceRequest,Service,OperationMetadataV1> updateServiceOperationCallable()
- Overrides:
updateServiceOperationCallablein classServicesStub
-
deleteServiceCallable
public com.google.api.gax.rpc.UnaryCallable<DeleteServiceRequest,com.google.longrunning.Operation> deleteServiceCallable()
- Overrides:
deleteServiceCallablein classServicesStub
-
deleteServiceOperationCallable
public com.google.api.gax.rpc.OperationCallable<DeleteServiceRequest,com.google.protobuf.Empty,OperationMetadataV1> deleteServiceOperationCallable()
- Overrides:
deleteServiceOperationCallablein classServicesStub
-
close
public final void close()
- Specified by:
closein interfaceAutoCloseable- Specified by:
closein classServicesStub
-
shutdown
public void shutdown()
-
isShutdown
public boolean isShutdown()
-
isTerminated
public boolean isTerminated()
-
shutdownNow
public void shutdownNow()
-
awaitTermination
public boolean awaitTermination(long duration, TimeUnit unit) throws InterruptedException- Throws:
InterruptedException
-
-