Class HttpJsonForwardingRulesStub (1.24.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
TypeDescription
HttpJsonForwardingRulesStub
Exceptions
TypeDescription
IOException

create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)

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

create(ForwardingRulesStubSettings settings)

public static final HttpJsonForwardingRulesStub create(ForwardingRulesStubSettings settings)
Parameter
NameDescription
settingsForwardingRulesStubSettings
Returns
TypeDescription
HttpJsonForwardingRulesStub
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
TypeDescription
UnaryCallable<AggregatedListForwardingRulesRequest,ForwardingRuleAggregatedList>
Overrides

aggregatedListPagedCallable()

public UnaryCallable<AggregatedListForwardingRulesRequest,ForwardingRulesClient.AggregatedListPagedResponse> aggregatedListPagedCallable()
Returns
TypeDescription
UnaryCallable<AggregatedListForwardingRulesRequest,AggregatedListPagedResponse>
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
TypeDescription
UnaryCallable<DeleteForwardingRuleRequest,Operation>
Overrides

deleteOperationCallable()

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

getCallable()

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

insertCallable()

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

insertOperationCallable()

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

isShutdown()

public boolean isShutdown()
Returns
TypeDescription
boolean

isTerminated()

public boolean isTerminated()
Returns
TypeDescription
boolean

listCallable()

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

listPagedCallable()

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

patchCallable()

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

patchOperationCallable()

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

setLabelsCallable()

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

setLabelsOperationCallable()

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

setTargetCallable()

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

setTargetOperationCallable()

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

shutdown()

public void shutdown()

shutdownNow()

public void shutdownNow()