Class HttpJsonGlobalForwardingRulesStub (1.58.0)

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.

Inheritance

java.lang.Object > GlobalForwardingRulesStub > HttpJsonGlobalForwardingRulesStub

Static Methods

create(ClientContext clientContext)

public static final HttpJsonGlobalForwardingRulesStub create(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext
Returns
Type Description
HttpJsonGlobalForwardingRulesStub
Exceptions
Type Description
IOException

create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)

public static final HttpJsonGlobalForwardingRulesStub create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
Parameters
Name Description
clientContext ClientContext
callableFactory HttpJsonStubCallableFactory
Returns
Type Description
HttpJsonGlobalForwardingRulesStub
Exceptions
Type Description
IOException

create(GlobalForwardingRulesStubSettings settings)

public static final HttpJsonGlobalForwardingRulesStub create(GlobalForwardingRulesStubSettings settings)
Parameter
Name Description
settings GlobalForwardingRulesStubSettings
Returns
Type Description
HttpJsonGlobalForwardingRulesStub
Exceptions
Type Description
IOException

getMethodDescriptors()

public static List<ApiMethodDescriptor> getMethodDescriptors()
Returns
Type Description
List<ApiMethodDescriptor>

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.

Parameters
Name Description
settings GlobalForwardingRulesStubSettings
clientContext ClientContext

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.

Parameters
Name Description
settings GlobalForwardingRulesStubSettings
clientContext ClientContext
callableFactory HttpJsonStubCallableFactory

Methods

awaitTermination(long duration, TimeUnit unit)

public boolean awaitTermination(long duration, TimeUnit unit)
Parameters
Name Description
duration long
unit TimeUnit
Returns
Type Description
boolean
Exceptions
Type Description
InterruptedException

close()

public final void close()
Overrides

deleteCallable()

public UnaryCallable<DeleteGlobalForwardingRuleRequest,Operation> deleteCallable()
Returns
Type Description
UnaryCallable<DeleteGlobalForwardingRuleRequest,Operation>
Overrides

deleteOperationCallable()

public OperationCallable<DeleteGlobalForwardingRuleRequest,Operation,Operation> deleteOperationCallable()
Returns
Type Description
OperationCallable<DeleteGlobalForwardingRuleRequest,Operation,Operation>
Overrides

getCallable()

public UnaryCallable<GetGlobalForwardingRuleRequest,ForwardingRule> getCallable()
Returns
Type Description
UnaryCallable<GetGlobalForwardingRuleRequest,ForwardingRule>
Overrides

insertCallable()

public UnaryCallable<InsertGlobalForwardingRuleRequest,Operation> insertCallable()
Returns
Type Description
UnaryCallable<InsertGlobalForwardingRuleRequest,Operation>
Overrides

insertOperationCallable()

public OperationCallable<InsertGlobalForwardingRuleRequest,Operation,Operation> insertOperationCallable()
Returns
Type Description
OperationCallable<InsertGlobalForwardingRuleRequest,Operation,Operation>
Overrides

isShutdown()

public boolean isShutdown()
Returns
Type Description
boolean

isTerminated()

public boolean isTerminated()
Returns
Type Description
boolean

listCallable()

public UnaryCallable<ListGlobalForwardingRulesRequest,ForwardingRuleList> listCallable()
Returns
Type Description
UnaryCallable<ListGlobalForwardingRulesRequest,ForwardingRuleList>
Overrides

listPagedCallable()

public UnaryCallable<ListGlobalForwardingRulesRequest,GlobalForwardingRulesClient.ListPagedResponse> listPagedCallable()
Returns
Type Description
UnaryCallable<ListGlobalForwardingRulesRequest,ListPagedResponse>
Overrides

patchCallable()

public UnaryCallable<PatchGlobalForwardingRuleRequest,Operation> patchCallable()
Returns
Type Description
UnaryCallable<PatchGlobalForwardingRuleRequest,Operation>
Overrides

patchOperationCallable()

public OperationCallable<PatchGlobalForwardingRuleRequest,Operation,Operation> patchOperationCallable()
Returns
Type Description
OperationCallable<PatchGlobalForwardingRuleRequest,Operation,Operation>
Overrides

setLabelsCallable()

public UnaryCallable<SetLabelsGlobalForwardingRuleRequest,Operation> setLabelsCallable()
Returns
Type Description
UnaryCallable<SetLabelsGlobalForwardingRuleRequest,Operation>
Overrides

setLabelsOperationCallable()

public OperationCallable<SetLabelsGlobalForwardingRuleRequest,Operation,Operation> setLabelsOperationCallable()
Returns
Type Description
OperationCallable<SetLabelsGlobalForwardingRuleRequest,Operation,Operation>
Overrides

setTargetCallable()

public UnaryCallable<SetTargetGlobalForwardingRuleRequest,Operation> setTargetCallable()
Returns
Type Description
UnaryCallable<SetTargetGlobalForwardingRuleRequest,Operation>
Overrides

setTargetOperationCallable()

public OperationCallable<SetTargetGlobalForwardingRuleRequest,Operation,Operation> setTargetOperationCallable()
Returns
Type Description
OperationCallable<SetTargetGlobalForwardingRuleRequest,Operation,Operation>
Overrides

shutdown()

public void shutdown()

shutdownNow()

public void shutdownNow()