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.
Static Methods
create(ClientContext clientContext)
public static final HttpJsonForwardingRulesStub create(ClientContext clientContext)
Parameter
Returns
Exceptions
create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
public static final HttpJsonForwardingRulesStub create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
Parameters
Returns
Exceptions
create(ForwardingRulesStubSettings settings)
public static final HttpJsonForwardingRulesStub create(ForwardingRulesStubSettings settings)
Parameter
Returns
Exceptions
getMethodDescriptors()
public static List<ApiMethodDescriptor> getMethodDescriptors()
Returns
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
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
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
Returns
Exceptions
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
isTerminated()
public boolean isTerminated()
Returns
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()
shutdownNow()
public void shutdownNow()