Package com.google.cloud.deploy.v1
Enum Type
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<Type>
Type indicates the type of the log entry and can be used as a filter.Protobuf enum
google.cloud.deploy.v1.Type-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionDeploy Policy evaluation.A process aborted.A Pub/Sub notification failed to be sent.Deprecated.Resource deleted.Resource state changed.Restriction check failed.Rollout updated.Type is unspecified. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intDeploy Policy evaluation.static final intA process aborted.static final intA Pub/Sub notification failed to be sent.static final intDeprecated.static final intResource deleted.static final intResource state changed.static final intRestriction check failed.static final intRollout updated.static final intType is unspecified. -
Method Summary
Modifier and TypeMethodDescriptionstatic TypeforNumber(int value) static com.google.protobuf.Descriptors.EnumDescriptorfinal com.google.protobuf.Descriptors.EnumDescriptorfinal intfinal com.google.protobuf.Descriptors.EnumValueDescriptorstatic com.google.protobuf.Internal.EnumLiteMap<Type>static TypevalueOf(int value) Deprecated.static TypevalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this type with the specified name.static TypeReturns the enum constant of this type with the specified name.static Type[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
TYPE_UNSPECIFIED
Type is unspecified.
TYPE_UNSPECIFIED = 0; -
TYPE_PUBSUB_NOTIFICATION_FAILURE
A Pub/Sub notification failed to be sent.
TYPE_PUBSUB_NOTIFICATION_FAILURE = 1; -
TYPE_RESOURCE_STATE_CHANGE
Resource state changed.
TYPE_RESOURCE_STATE_CHANGE = 3; -
TYPE_PROCESS_ABORTED
A process aborted.
TYPE_PROCESS_ABORTED = 4; -
TYPE_RESTRICTION_VIOLATED
Restriction check failed.
TYPE_RESTRICTION_VIOLATED = 5; -
TYPE_RESOURCE_DELETED
Resource deleted.
TYPE_RESOURCE_DELETED = 6; -
TYPE_ROLLOUT_UPDATE
Rollout updated.
TYPE_ROLLOUT_UPDATE = 7; -
TYPE_DEPLOY_POLICY_EVALUATION
Deploy Policy evaluation.
TYPE_DEPLOY_POLICY_EVALUATION = 8; -
TYPE_RENDER_STATUES_CHANGE
Deprecated.Deprecated: This field is never used. Use release_render log type instead.
TYPE_RENDER_STATUES_CHANGE = 2 [deprecated = true]; -
UNRECOGNIZED
-
-
Field Details
-
TYPE_UNSPECIFIED_VALUE
public static final int TYPE_UNSPECIFIED_VALUEType is unspecified.
TYPE_UNSPECIFIED = 0;- See Also:
-
TYPE_PUBSUB_NOTIFICATION_FAILURE_VALUE
public static final int TYPE_PUBSUB_NOTIFICATION_FAILURE_VALUEA Pub/Sub notification failed to be sent.
TYPE_PUBSUB_NOTIFICATION_FAILURE = 1;- See Also:
-
TYPE_RESOURCE_STATE_CHANGE_VALUE
public static final int TYPE_RESOURCE_STATE_CHANGE_VALUEResource state changed.
TYPE_RESOURCE_STATE_CHANGE = 3;- See Also:
-
TYPE_PROCESS_ABORTED_VALUE
public static final int TYPE_PROCESS_ABORTED_VALUEA process aborted.
TYPE_PROCESS_ABORTED = 4;- See Also:
-
TYPE_RESTRICTION_VIOLATED_VALUE
public static final int TYPE_RESTRICTION_VIOLATED_VALUERestriction check failed.
TYPE_RESTRICTION_VIOLATED = 5;- See Also:
-
TYPE_RESOURCE_DELETED_VALUE
public static final int TYPE_RESOURCE_DELETED_VALUEResource deleted.
TYPE_RESOURCE_DELETED = 6;- See Also:
-
TYPE_ROLLOUT_UPDATE_VALUE
public static final int TYPE_ROLLOUT_UPDATE_VALUERollout updated.
TYPE_ROLLOUT_UPDATE = 7;- See Also:
-
TYPE_DEPLOY_POLICY_EVALUATION_VALUE
public static final int TYPE_DEPLOY_POLICY_EVALUATION_VALUEDeploy Policy evaluation.
TYPE_DEPLOY_POLICY_EVALUATION = 8;- See Also:
-
TYPE_RENDER_STATUES_CHANGE_VALUE
Deprecated.Deprecated: This field is never used. Use release_render log type instead.
TYPE_RENDER_STATUES_CHANGE = 2 [deprecated = true];- 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
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
-