@Generated(value="by gapic-generator-java") @BetaApi public class HttpJsonEnvironmentsStub extends EnvironmentsStub
This class is for advanced usage and reflects the underlying API directly.
Modifier | Constructor and Description |
---|---|
protected |
HttpJsonEnvironmentsStub(EnvironmentsStubSettings settings,
ClientContext clientContext)
Constructs an instance of HttpJsonEnvironmentsStub, using the given settings.
|
protected |
HttpJsonEnvironmentsStub(EnvironmentsStubSettings settings,
ClientContext clientContext,
HttpJsonStubCallableFactory callableFactory)
Constructs an instance of HttpJsonEnvironmentsStub, using the given settings.
|
protected HttpJsonEnvironmentsStub(EnvironmentsStubSettings settings, ClientContext clientContext) throws IOException
IOException
protected HttpJsonEnvironmentsStub(EnvironmentsStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory) throws IOException
IOException
public static final HttpJsonEnvironmentsStub create(EnvironmentsStubSettings settings) throws IOException
IOException
public static final HttpJsonEnvironmentsStub create(ClientContext clientContext) throws IOException
IOException
public static final HttpJsonEnvironmentsStub create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory) throws IOException
IOException
@InternalApi public static List<ApiMethodDescriptor> getMethodDescriptors()
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.