Interface ContextOrBuilder (2.25.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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
List<? extends com.google.api.ContextRuleOrBuilder>