Package com.google.api
Enum Class FlowControlLimitExceededBehaviorProto
java.lang.Object
java.lang.Enum<FlowControlLimitExceededBehaviorProto>
com.google.api.FlowControlLimitExceededBehaviorProto
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,Serializable,Comparable<FlowControlLimitExceededBehaviorProto>,Constable
@Generated
public enum FlowControlLimitExceededBehaviorProto
extends Enum<FlowControlLimitExceededBehaviorProto>
implements com.google.protobuf.Internal.EnumLite
The behavior to take when the flow control limit is exceeded.Protobuf enum
google.api.FlowControlLimitExceededBehaviorProto-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionPause operation until limit clears.Continue operation, disregard limit.Stop operation, raise error.Default behavior, system-defined. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intPause operation until limit clears.static final intContinue operation, disregard limit.static final intStop operation, raise error.static final intDefault behavior, system-defined. -
Method Summary
Modifier and TypeMethodDescriptionforNumber(int value) final intstatic com.google.protobuf.Internal.EnumLiteMap<FlowControlLimitExceededBehaviorProto> static com.google.protobuf.Internal.EnumVerifiervalueOf(int value) Deprecated.Returns the enum constant of this class with the specified name.values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
UNSET_BEHAVIOR
Default behavior, system-defined.
UNSET_BEHAVIOR = 0; -
THROW_EXCEPTION
Stop operation, raise error.
THROW_EXCEPTION = 1; -
BLOCK
Pause operation until limit clears.
BLOCK = 2; -
IGNORE
Continue operation, disregard limit.
IGNORE = 3; -
UNRECOGNIZED
-
-
Field Details
-
UNSET_BEHAVIOR_VALUE
public static final int UNSET_BEHAVIOR_VALUEDefault behavior, system-defined.
UNSET_BEHAVIOR = 0;- See Also:
-
THROW_EXCEPTION_VALUE
public static final int THROW_EXCEPTION_VALUEStop operation, raise error.
THROW_EXCEPTION = 1;- See Also:
-
BLOCK_VALUE
public static final int BLOCK_VALUEPause operation until limit clears.
BLOCK = 2;- See Also:
-
IGNORE_VALUE
public static final int IGNORE_VALUEContinue operation, disregard limit.
IGNORE = 3;- See Also:
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-
getNumber
public final int getNumber()- Specified by:
getNumberin interfacecom.google.protobuf.Internal.EnumLite
-
valueOf
Deprecated.Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
value- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-
forNumber
-
internalGetValueMap
public static com.google.protobuf.Internal.EnumLiteMap<FlowControlLimitExceededBehaviorProto> internalGetValueMap() -
internalGetVerifier
public static com.google.protobuf.Internal.EnumVerifier internalGetVerifier()
-