public class HttpJsonGlobalForwardingRulesStub extends GlobalForwardingRulesStub
REST stub implementation for the GlobalForwardingRules service API.
This class is for advanced usage and reflects the underlying API directly.
Static Methods
create(ClientContext clientContext)
public static final HttpJsonGlobalForwardingRulesStub create(ClientContext clientContext)
create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
public static final HttpJsonGlobalForwardingRulesStub create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
create(GlobalForwardingRulesStubSettings settings)
public static final HttpJsonGlobalForwardingRulesStub create(GlobalForwardingRulesStubSettings settings)
getMethodDescriptors()
public static List<ApiMethodDescriptor> getMethodDescriptors()
Constructors
HttpJsonGlobalForwardingRulesStub(GlobalForwardingRulesStubSettings settings, ClientContext clientContext)
protected HttpJsonGlobalForwardingRulesStub(GlobalForwardingRulesStubSettings settings, ClientContext clientContext)
Constructs an instance of HttpJsonGlobalForwardingRulesStub, 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.
HttpJsonGlobalForwardingRulesStub(GlobalForwardingRulesStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
protected HttpJsonGlobalForwardingRulesStub(GlobalForwardingRulesStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
Constructs an instance of HttpJsonGlobalForwardingRulesStub, 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
awaitTermination(long duration, TimeUnit unit)
public boolean awaitTermination(long duration, TimeUnit unit)
close()
public final void close()
Overrides
deleteCallable()
public UnaryCallable<DeleteGlobalForwardingRuleRequest,Operation> deleteCallable()
Overrides
deleteOperationCallable()
public OperationCallable<DeleteGlobalForwardingRuleRequest,Operation,Operation> deleteOperationCallable()
Overrides
getCallable()
public UnaryCallable<GetGlobalForwardingRuleRequest,ForwardingRule> getCallable()
Overrides
insertCallable()
public UnaryCallable<InsertGlobalForwardingRuleRequest,Operation> insertCallable()
Overrides
insertOperationCallable()
public OperationCallable<InsertGlobalForwardingRuleRequest,Operation,Operation> insertOperationCallable()
Overrides
isShutdown()
public boolean isShutdown()
isTerminated()
public boolean isTerminated()
listCallable()
public UnaryCallable<ListGlobalForwardingRulesRequest,ForwardingRuleList> listCallable()
Overrides
listPagedCallable()
public UnaryCallable<ListGlobalForwardingRulesRequest,GlobalForwardingRulesClient.ListPagedResponse> listPagedCallable()
Overrides
patchCallable()
public UnaryCallable<PatchGlobalForwardingRuleRequest,Operation> patchCallable()
Overrides
patchOperationCallable()
public OperationCallable<PatchGlobalForwardingRuleRequest,Operation,Operation> patchOperationCallable()
Overrides
setLabelsCallable()
public UnaryCallable<SetLabelsGlobalForwardingRuleRequest,Operation> setLabelsCallable()
Overrides
setLabelsOperationCallable()
public OperationCallable<SetLabelsGlobalForwardingRuleRequest,Operation,Operation> setLabelsOperationCallable()
Overrides
setTargetCallable()
public UnaryCallable<SetTargetGlobalForwardingRuleRequest,Operation> setTargetCallable()
Overrides
setTargetOperationCallable()
public OperationCallable<SetTargetGlobalForwardingRuleRequest,Operation,Operation> setTargetOperationCallable()
Overrides
shutdown()
shutdownNow()
public void shutdownNow()