Package com.google.cloud.deploy.v1
Enum DeployPolicy.Invoker
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<DeployPolicy.Invoker>
- Enclosing class:
- DeployPolicy
public static enum DeployPolicy.Invoker
extends Enum<DeployPolicy.Invoker>
implements com.google.protobuf.ProtocolMessageEnum
What invoked the action. Filters enforcing the policy depending on what invoked the action.Protobuf enum
google.cloud.deploy.v1.DeployPolicy.Invoker-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionAutomated action by Cloud Deploy.Unspecified.The action is user-driven. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intAutomated action by Cloud Deploy.static final intUnspecified.static final intThe action is user-driven. -
Method Summary
Modifier and TypeMethodDescriptionstatic DeployPolicy.InvokerforNumber(int value) static com.google.protobuf.Descriptors.EnumDescriptorfinal com.google.protobuf.Descriptors.EnumDescriptorfinal intfinal com.google.protobuf.Descriptors.EnumValueDescriptorstatic com.google.protobuf.Internal.EnumLiteMap<DeployPolicy.Invoker>static DeployPolicy.InvokervalueOf(int value) Deprecated.static DeployPolicy.InvokervalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this type with the specified name.static DeployPolicy.InvokerReturns the enum constant of this type with the specified name.static DeployPolicy.Invoker[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
INVOKER_UNSPECIFIED
Unspecified.
INVOKER_UNSPECIFIED = 0; -
USER
The action is user-driven. For example, creating a rollout manually via a gcloud create command.
USER = 1; -
DEPLOY_AUTOMATION
Automated action by Cloud Deploy.
DEPLOY_AUTOMATION = 2; -
UNRECOGNIZED
-
-
Field Details
-
INVOKER_UNSPECIFIED_VALUE
public static final int INVOKER_UNSPECIFIED_VALUEUnspecified.
INVOKER_UNSPECIFIED = 0;- See Also:
-
USER_VALUE
public static final int USER_VALUEThe action is user-driven. For example, creating a rollout manually via a gcloud create command.
USER = 1;- See Also:
-
DEPLOY_AUTOMATION_VALUE
public static final int DEPLOY_AUTOMATION_VALUEAutomated action by Cloud Deploy.
DEPLOY_AUTOMATION = 2;- See Also:
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type 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- Specified by:
getNumberin interfacecom.google.protobuf.ProtocolMessageEnum
-
valueOf
Deprecated.Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified nameNullPointerException- if the argument is null
-
forNumber
- Parameters:
value- The numeric wire value of the corresponding enum entry.- Returns:
- The enum associated with the given numeric wire value.
-
internalGetValueMap
-
getValueDescriptor
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()- Specified by:
getValueDescriptorin interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptorForType
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptor
public static com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() -
valueOf
public static DeployPolicy.Invoker valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
desc- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-