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)
create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
public static final HttpJsonForwardingRulesStub create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
create(ForwardingRulesStubSettings settings)
public static final HttpJsonForwardingRulesStub create(ForwardingRulesStubSettings settings)
getMethodDescriptors()
public static List<ApiMethodDescriptor> getMethodDescriptors()
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.
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.
Methods
aggregatedListCallable()
public UnaryCallable<AggregatedListForwardingRulesRequest,ForwardingRuleAggregatedList> aggregatedListCallable()
Overrides
aggregatedListPagedCallable()
public UnaryCallable<AggregatedListForwardingRulesRequest,ForwardingRulesClient.AggregatedListPagedResponse> aggregatedListPagedCallable()
Overrides
awaitTermination(long duration, TimeUnit unit)
public boolean awaitTermination(long duration, TimeUnit unit)
close()
public final void close()
Overrides
deleteCallable()
public UnaryCallable<DeleteForwardingRuleRequest,Operation> deleteCallable()
Overrides
deleteOperationCallable()
public OperationCallable<DeleteForwardingRuleRequest,Operation,Operation> deleteOperationCallable()
Overrides
getCallable()
public UnaryCallable<GetForwardingRuleRequest,ForwardingRule> getCallable()
Overrides
insertCallable()
public UnaryCallable<InsertForwardingRuleRequest,Operation> insertCallable()
Overrides
insertOperationCallable()
public OperationCallable<InsertForwardingRuleRequest,Operation,Operation> insertOperationCallable()
Overrides
isShutdown()
public boolean isShutdown()
isTerminated()
public boolean isTerminated()
listCallable()
public UnaryCallable<ListForwardingRulesRequest,ForwardingRuleList> listCallable()
Overrides
listPagedCallable()
public UnaryCallable<ListForwardingRulesRequest,ForwardingRulesClient.ListPagedResponse> listPagedCallable()
Overrides
patchCallable()
public UnaryCallable<PatchForwardingRuleRequest,Operation> patchCallable()
Overrides
patchOperationCallable()
public OperationCallable<PatchForwardingRuleRequest,Operation,Operation> patchOperationCallable()
Overrides
setLabelsCallable()
public UnaryCallable<SetLabelsForwardingRuleRequest,Operation> setLabelsCallable()
Overrides
setLabelsOperationCallable()
public OperationCallable<SetLabelsForwardingRuleRequest,Operation,Operation> setLabelsOperationCallable()
Overrides
setTargetCallable()
public UnaryCallable<SetTargetForwardingRuleRequest,Operation> setTargetCallable()
Overrides
setTargetOperationCallable()
public OperationCallable<SetTargetForwardingRuleRequest,Operation,Operation> setTargetOperationCallable()
Overrides
shutdown()
shutdownNow()
public void shutdownNow()