Class HttpJsonForwardingRulesStub (1.18.0)

public class HttpJsonForwardingRulesStub extends ForwardingRulesStub

REST stub implementation for the ForwardingRules service API.

This class is for advanced usage and reflects the underlying API directly.

Inheritance

java.lang.Object > ForwardingRulesStub > HttpJsonForwardingRulesStub

Static Methods

create(ClientContext clientContext)

public static final HttpJsonForwardingRulesStub create(ClientContext clientContext)
Parameter
NameDescription
clientContextClientContext
Returns Exceptions
TypeDescription
IOException

create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)

public static final HttpJsonForwardingRulesStub create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
Parameters
NameDescription
clientContextClientContext
callableFactoryHttpJsonStubCallableFactory
Returns Exceptions
TypeDescription
IOException

create(ForwardingRulesStubSettings settings)

public static final HttpJsonForwardingRulesStub create(ForwardingRulesStubSettings settings)
Parameter
NameDescription
settingsForwardingRulesStubSettings
Returns Exceptions
TypeDescription
IOException

getMethodDescriptors()

public static List<ApiMethodDescriptor> getMethodDescriptors()
Returns
TypeDescription
List<ApiMethodDescriptor>

Constructors

HttpJsonForwardingRulesStub(ForwardingRulesStubSettings settings, ClientContext clientContext)

protected HttpJsonForwardingRulesStub(ForwardingRulesStubSettings settings, ClientContext clientContext)

Constructs an instance of HttpJsonForwardingRulesStub, 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.

Parameters
NameDescription
settingsForwardingRulesStubSettings
clientContextClientContext

HttpJsonForwardingRulesStub(ForwardingRulesStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)

protected HttpJsonForwardingRulesStub(ForwardingRulesStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)

Constructs an instance of HttpJsonForwardingRulesStub, 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.

Parameters
NameDescription
settingsForwardingRulesStubSettings
clientContextClientContext
callableFactoryHttpJsonStubCallableFactory

Methods

aggregatedListCallable()

public UnaryCallable<AggregatedListForwardingRulesRequest,ForwardingRuleAggregatedList> aggregatedListCallable()
Returns Overrides

aggregatedListPagedCallable()

public UnaryCallable<AggregatedListForwardingRulesRequest,ForwardingRulesClient.AggregatedListPagedResponse> aggregatedListPagedCallable()
Returns Overrides

awaitTermination(long duration, TimeUnit unit)

public boolean awaitTermination(long duration, TimeUnit unit)
Parameters
NameDescription
durationlong
unitTimeUnit
Returns
TypeDescription
boolean
Exceptions
TypeDescription
InterruptedException

close()

public final void close()
Overrides

deleteCallable()

public UnaryCallable<DeleteForwardingRuleRequest,Operation> deleteCallable()
Returns Overrides

deleteOperationCallable()

public OperationCallable<DeleteForwardingRuleRequest,Operation,Operation> deleteOperationCallable()
Returns Overrides

getCallable()

public UnaryCallable<GetForwardingRuleRequest,ForwardingRule> getCallable()
Returns Overrides

insertCallable()

public UnaryCallable<InsertForwardingRuleRequest,Operation> insertCallable()
Returns Overrides

insertOperationCallable()

public OperationCallable<InsertForwardingRuleRequest,Operation,Operation> insertOperationCallable()
Returns Overrides

isShutdown()

public boolean isShutdown()
Returns
TypeDescription
boolean

isTerminated()

public boolean isTerminated()
Returns
TypeDescription
boolean

listCallable()

public UnaryCallable<ListForwardingRulesRequest,ForwardingRuleList> listCallable()
Returns Overrides

listPagedCallable()

public UnaryCallable<ListForwardingRulesRequest,ForwardingRulesClient.ListPagedResponse> listPagedCallable()
Returns Overrides

patchCallable()

public UnaryCallable<PatchForwardingRuleRequest,Operation> patchCallable()
Returns Overrides

patchOperationCallable()

public OperationCallable<PatchForwardingRuleRequest,Operation,Operation> patchOperationCallable()
Returns Overrides

setLabelsCallable()

public UnaryCallable<SetLabelsForwardingRuleRequest,Operation> setLabelsCallable()
Returns Overrides

setLabelsOperationCallable()

public OperationCallable<SetLabelsForwardingRuleRequest,Operation,Operation> setLabelsOperationCallable()
Returns Overrides

setTargetCallable()

public UnaryCallable<SetTargetForwardingRuleRequest,Operation> setTargetCallable()
Returns Overrides

setTargetOperationCallable()

public OperationCallable<SetTargetForwardingRuleRequest,Operation,Operation> setTargetOperationCallable()
Returns Overrides

shutdown()

public void shutdown()

shutdownNow()

public void shutdownNow()