Interface ContextOrBuilder (2.39.1)

public interface ContextOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getRules(int index)

public abstract ContextRule getRules(int index)

A list of RPC context rules that apply to individual API methods.

NOTE: All service configuration rules follow "last one wins" order.

repeated .google.api.ContextRule rules = 1;

Parameter
Name Description
index int
Returns
Type Description
ContextRule

getRulesCount()

public abstract int getRulesCount()

A list of RPC context rules that apply to individual API methods.

NOTE: All service configuration rules follow "last one wins" order.

repeated .google.api.ContextRule rules = 1;

Returns
Type Description
int

getRulesList()

public abstract List<ContextRule> getRulesList()

A list of RPC context rules that apply to individual API methods.

NOTE: All service configuration rules follow "last one wins" order.

repeated .google.api.ContextRule rules = 1;

Returns
Type Description
List<ContextRule>

getRulesOrBuilder(int index)

public abstract ContextRuleOrBuilder getRulesOrBuilder(int index)

A list of RPC context rules that apply to individual API methods.

NOTE: All service configuration rules follow "last one wins" order.

repeated .google.api.ContextRule rules = 1;

Parameter
Name Description
index int
Returns
Type Description
ContextRuleOrBuilder

getRulesOrBuilderList()

public abstract List<? extends ContextRuleOrBuilder> getRulesOrBuilderList()

A list of RPC context rules that apply to individual API methods.

NOTE: All service configuration rules follow "last one wins" order.

repeated .google.api.ContextRule rules = 1;

Returns
Type Description
List<? extends com.google.api.ContextRuleOrBuilder>