Interface ControlOrBuilder (2.38.0)

public interface ControlOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getEnvironment()

public abstract String getEnvironment()

The service controller environment to use. If empty, no control plane feature (like quota and billing) will be enabled. The recommended value for most services is servicecontrol.googleapis.com

string environment = 1;

Returns
TypeDescription
String

The environment.

getEnvironmentBytes()

public abstract ByteString getEnvironmentBytes()

The service controller environment to use. If empty, no control plane feature (like quota and billing) will be enabled. The recommended value for most services is servicecontrol.googleapis.com

string environment = 1;

Returns
TypeDescription
ByteString

The bytes for environment.

getMethodPolicies(int index)

public abstract MethodPolicy getMethodPolicies(int index)

Defines policies applying to the API methods of the service.

repeated .google.api.MethodPolicy method_policies = 4;

Parameter
NameDescription
indexint
Returns
TypeDescription
MethodPolicy

getMethodPoliciesCount()

public abstract int getMethodPoliciesCount()

Defines policies applying to the API methods of the service.

repeated .google.api.MethodPolicy method_policies = 4;

Returns
TypeDescription
int

getMethodPoliciesList()

public abstract List<MethodPolicy> getMethodPoliciesList()

Defines policies applying to the API methods of the service.

repeated .google.api.MethodPolicy method_policies = 4;

Returns
TypeDescription
List<MethodPolicy>

getMethodPoliciesOrBuilder(int index)

public abstract MethodPolicyOrBuilder getMethodPoliciesOrBuilder(int index)

Defines policies applying to the API methods of the service.

repeated .google.api.MethodPolicy method_policies = 4;

Parameter
NameDescription
indexint
Returns
TypeDescription
MethodPolicyOrBuilder

getMethodPoliciesOrBuilderList()

public abstract List<? extends MethodPolicyOrBuilder> getMethodPoliciesOrBuilderList()

Defines policies applying to the API methods of the service.

repeated .google.api.MethodPolicy method_policies = 4;

Returns
TypeDescription
List<? extends com.google.api.MethodPolicyOrBuilder>