@Generated(value="by gapic-generator") @BetaApi(value="A restructuring of stub classes is planned, so this may break in the future") public class HttpJsonFirewallStub extends FirewallStub
This class is for advanced usage and reflects the underlying API directly.
Modifier | Constructor and Description |
---|---|
protected |
HttpJsonFirewallStub(FirewallStubSettings settings,
ClientContext clientContext)
Constructs an instance of HttpJsonFirewallStub, using the given settings.
|
protected |
HttpJsonFirewallStub(FirewallStubSettings settings,
ClientContext clientContext,
HttpJsonStubCallableFactory callableFactory)
Constructs an instance of HttpJsonFirewallStub, using the given settings.
|
@InternalApi public static final ApiMethodDescriptor<DeleteFirewallHttpRequest,Operation> deleteFirewallMethodDescriptor
@InternalApi public static final ApiMethodDescriptor<GetFirewallHttpRequest,Firewall> getFirewallMethodDescriptor
@InternalApi public static final ApiMethodDescriptor<InsertFirewallHttpRequest,Operation> insertFirewallMethodDescriptor
@InternalApi public static final ApiMethodDescriptor<ListFirewallsHttpRequest,FirewallList> listFirewallsMethodDescriptor
@InternalApi public static final ApiMethodDescriptor<PatchFirewallHttpRequest,Operation> patchFirewallMethodDescriptor
@InternalApi public static final ApiMethodDescriptor<UpdateFirewallHttpRequest,Operation> updateFirewallMethodDescriptor
protected HttpJsonFirewallStub(FirewallStubSettings settings, ClientContext clientContext) throws IOException
IOException
protected HttpJsonFirewallStub(FirewallStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory) throws IOException
IOException
public static final HttpJsonFirewallStub create(FirewallStubSettings settings) throws IOException
IOException
public static final HttpJsonFirewallStub create(ClientContext clientContext) throws IOException
IOException
public static final HttpJsonFirewallStub create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory) throws IOException
IOException
@BetaApi public UnaryCallable<DeleteFirewallHttpRequest,Operation> deleteFirewallCallable()
deleteFirewallCallable
in class FirewallStub
@BetaApi public UnaryCallable<GetFirewallHttpRequest,Firewall> getFirewallCallable()
getFirewallCallable
in class FirewallStub
@BetaApi public UnaryCallable<InsertFirewallHttpRequest,Operation> insertFirewallCallable()
insertFirewallCallable
in class FirewallStub
@BetaApi public UnaryCallable<ListFirewallsHttpRequest,FirewallClient.ListFirewallsPagedResponse> listFirewallsPagedCallable()
listFirewallsPagedCallable
in class FirewallStub
@BetaApi public UnaryCallable<ListFirewallsHttpRequest,FirewallList> listFirewallsCallable()
listFirewallsCallable
in class FirewallStub
@BetaApi public UnaryCallable<PatchFirewallHttpRequest,Operation> patchFirewallCallable()
patchFirewallCallable
in class FirewallStub
@BetaApi public UnaryCallable<UpdateFirewallHttpRequest,Operation> updateFirewallCallable()
updateFirewallCallable
in class FirewallStub
public final void close()
close
in interface AutoCloseable
close
in class FirewallStub
public void shutdown()
public boolean isShutdown()
public boolean isTerminated()
public void shutdownNow()
public boolean awaitTermination(long duration, TimeUnit unit) throws InterruptedException
InterruptedException
Copyright © 2019 Google LLC. All rights reserved.