Package com.google.api
Interface ControlOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Control
,Control.Builder
public interface ControlOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.String
getEnvironment()
The service controller environment to use.com.google.protobuf.ByteString
getEnvironmentBytes()
The service controller environment to use.MethodPolicy
getMethodPolicies(int index)
Defines policies applying to the API methods of the service.int
getMethodPoliciesCount()
Defines policies applying to the API methods of the service.java.util.List<MethodPolicy>
getMethodPoliciesList()
Defines policies applying to the API methods of the service.MethodPolicyOrBuilder
getMethodPoliciesOrBuilder(int index)
Defines policies applying to the API methods of the service.java.util.List<? extends MethodPolicyOrBuilder>
getMethodPoliciesOrBuilderList()
Defines policies applying to the API methods of the service.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getEnvironment
java.lang.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:
- The environment.
-
getEnvironmentBytes
com.google.protobuf.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:
- The bytes for environment.
-
getMethodPoliciesList
java.util.List<MethodPolicy> getMethodPoliciesList()
Defines policies applying to the API methods of the service.
repeated .google.api.MethodPolicy method_policies = 4;
-
getMethodPolicies
MethodPolicy getMethodPolicies(int index)
Defines policies applying to the API methods of the service.
repeated .google.api.MethodPolicy method_policies = 4;
-
getMethodPoliciesCount
int getMethodPoliciesCount()
Defines policies applying to the API methods of the service.
repeated .google.api.MethodPolicy method_policies = 4;
-
getMethodPoliciesOrBuilderList
java.util.List<? extends MethodPolicyOrBuilder> getMethodPoliciesOrBuilderList()
Defines policies applying to the API methods of the service.
repeated .google.api.MethodPolicy method_policies = 4;
-
getMethodPoliciesOrBuilder
MethodPolicyOrBuilder getMethodPoliciesOrBuilder(int index)
Defines policies applying to the API methods of the service.
repeated .google.api.MethodPolicy method_policies = 4;
-
-