@BetaApi @Generated(value="by gapic-generator-java") public class GrpcEnvironmentsStub extends EnvironmentsStub
This class is for advanced usage and reflects the underlying API directly.
Modifier | Constructor and Description |
---|---|
protected |
GrpcEnvironmentsStub(EnvironmentsStubSettings settings,
ClientContext clientContext)
Constructs an instance of GrpcEnvironmentsStub, using the given settings.
|
protected |
GrpcEnvironmentsStub(EnvironmentsStubSettings settings,
ClientContext clientContext,
GrpcStubCallableFactory callableFactory)
Constructs an instance of GrpcEnvironmentsStub, using the given settings.
|
protected GrpcEnvironmentsStub(EnvironmentsStubSettings settings, ClientContext clientContext) throws IOException
IOException
protected GrpcEnvironmentsStub(EnvironmentsStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory) throws IOException
IOException
public static final GrpcEnvironmentsStub create(EnvironmentsStubSettings settings) throws IOException
IOException
public static final GrpcEnvironmentsStub create(ClientContext clientContext) throws IOException
IOException
public static final GrpcEnvironmentsStub create(ClientContext clientContext, GrpcStubCallableFactory callableFactory) throws IOException
IOException
public GrpcOperationsStub getOperationsStub()
public UnaryCallable<ListEnvironmentsRequest,ListEnvironmentsResponse> listEnvironmentsCallable()
listEnvironmentsCallable
in class EnvironmentsStub
public UnaryCallable<ListEnvironmentsRequest,EnvironmentsClient.ListEnvironmentsPagedResponse> listEnvironmentsPagedCallable()
listEnvironmentsPagedCallable
in class EnvironmentsStub
public UnaryCallable<GetEnvironmentRequest,Environment> getEnvironmentCallable()
getEnvironmentCallable
in class EnvironmentsStub
public UnaryCallable<CreateEnvironmentRequest,Environment> createEnvironmentCallable()
createEnvironmentCallable
in class EnvironmentsStub
public UnaryCallable<UpdateEnvironmentRequest,Environment> updateEnvironmentCallable()
updateEnvironmentCallable
in class EnvironmentsStub
public UnaryCallable<DeleteEnvironmentRequest,Empty> deleteEnvironmentCallable()
deleteEnvironmentCallable
in class EnvironmentsStub
public UnaryCallable<GetEnvironmentHistoryRequest,EnvironmentHistory> getEnvironmentHistoryCallable()
getEnvironmentHistoryCallable
in class EnvironmentsStub
public UnaryCallable<GetEnvironmentHistoryRequest,EnvironmentsClient.GetEnvironmentHistoryPagedResponse> getEnvironmentHistoryPagedCallable()
getEnvironmentHistoryPagedCallable
in class EnvironmentsStub
public UnaryCallable<com.google.cloud.location.ListLocationsRequest,com.google.cloud.location.ListLocationsResponse> listLocationsCallable()
listLocationsCallable
in class EnvironmentsStub
public UnaryCallable<com.google.cloud.location.ListLocationsRequest,EnvironmentsClient.ListLocationsPagedResponse> listLocationsPagedCallable()
listLocationsPagedCallable
in class EnvironmentsStub
public UnaryCallable<com.google.cloud.location.GetLocationRequest,com.google.cloud.location.Location> getLocationCallable()
getLocationCallable
in class EnvironmentsStub
public final void close()
close
in interface AutoCloseable
close
in class EnvironmentsStub
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.