@Generated(value="by gapic-generator-java") public class GrpcVersionsStub extends VersionsStub
This class is for advanced usage and reflects the underlying API directly.
Modifier | Constructor and Description |
---|---|
protected |
GrpcVersionsStub(VersionsStubSettings settings,
ClientContext clientContext)
Constructs an instance of GrpcVersionsStub, using the given settings.
|
protected |
GrpcVersionsStub(VersionsStubSettings settings,
ClientContext clientContext,
GrpcStubCallableFactory callableFactory)
Constructs an instance of GrpcVersionsStub, using the given settings.
|
protected GrpcVersionsStub(VersionsStubSettings settings, ClientContext clientContext) throws IOException
IOException
protected GrpcVersionsStub(VersionsStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory) throws IOException
IOException
public static final GrpcVersionsStub create(VersionsStubSettings settings) throws IOException
IOException
public static final GrpcVersionsStub create(ClientContext clientContext) throws IOException
IOException
public static final GrpcVersionsStub create(ClientContext clientContext, GrpcStubCallableFactory callableFactory) throws IOException
IOException
public GrpcOperationsStub getOperationsStub()
public UnaryCallable<ListVersionsRequest,ListVersionsResponse> listVersionsCallable()
listVersionsCallable
in class VersionsStub
public UnaryCallable<ListVersionsRequest,VersionsClient.ListVersionsPagedResponse> listVersionsPagedCallable()
listVersionsPagedCallable
in class VersionsStub
public UnaryCallable<GetVersionRequest,Version> getVersionCallable()
getVersionCallable
in class VersionsStub
public UnaryCallable<CreateVersionRequest,Version> createVersionCallable()
createVersionCallable
in class VersionsStub
public UnaryCallable<UpdateVersionRequest,Version> updateVersionCallable()
updateVersionCallable
in class VersionsStub
public UnaryCallable<DeleteVersionRequest,Empty> deleteVersionCallable()
deleteVersionCallable
in class VersionsStub
public UnaryCallable<com.google.cloud.location.ListLocationsRequest,com.google.cloud.location.ListLocationsResponse> listLocationsCallable()
listLocationsCallable
in class VersionsStub
public UnaryCallable<com.google.cloud.location.ListLocationsRequest,VersionsClient.ListLocationsPagedResponse> listLocationsPagedCallable()
listLocationsPagedCallable
in class VersionsStub
public UnaryCallable<com.google.cloud.location.GetLocationRequest,com.google.cloud.location.Location> getLocationCallable()
getLocationCallable
in class VersionsStub
public final void close()
close
in interface AutoCloseable
close
in class VersionsStub
public void shutdown()
public boolean isShutdown()
public boolean isTerminated()
public void shutdownNow()
public boolean awaitTermination(long duration, TimeUnit unit) throws InterruptedException
InterruptedException
Copyright © 2022 Google LLC. All rights reserved.