Package com.google.cloud.deploy.v1
Enum Type
- java.lang.Object
-
- java.lang.Enum<Type>
-
- com.google.cloud.deploy.v1.Type
-
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<Type>
public enum Type extends Enum<Type> implements com.google.protobuf.ProtocolMessageEnum
Type indicates the type of the log entry and can be used as a filter.
Protobuf enumgoogle.cloud.deploy.v1.Type
-
-
Enum Constant Summary
Enum Constants Enum Constant Description TYPE_PROCESS_ABORTEDA process aborted.TYPE_PUBSUB_NOTIFICATION_FAILUREA Pub/Sub notification failed to be sent.TYPE_RENDER_STATUES_CHANGEDeprecated.TYPE_RESOURCE_DELETEDResource deleted.TYPE_RESOURCE_STATE_CHANGEResource state changed.TYPE_RESTRICTION_VIOLATEDRestriction check failed.TYPE_UNSPECIFIEDType is unspecified.UNRECOGNIZED
-
Field Summary
Fields Modifier and Type Field Description static intTYPE_PROCESS_ABORTED_VALUEA process aborted.static intTYPE_PUBSUB_NOTIFICATION_FAILURE_VALUEA Pub/Sub notification failed to be sent.static intTYPE_RENDER_STATUES_CHANGE_VALUEDeprecated.static intTYPE_RESOURCE_DELETED_VALUEResource deleted.static intTYPE_RESOURCE_STATE_CHANGE_VALUEResource state changed.static intTYPE_RESTRICTION_VIOLATED_VALUERestriction check failed.static intTYPE_UNSPECIFIED_VALUEType is unspecified.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static TypeforNumber(int value)static com.google.protobuf.Descriptors.EnumDescriptorgetDescriptor()com.google.protobuf.Descriptors.EnumDescriptorgetDescriptorForType()intgetNumber()com.google.protobuf.Descriptors.EnumValueDescriptorgetValueDescriptor()static com.google.protobuf.Internal.EnumLiteMap<Type>internalGetValueMap()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 TypevalueOf(String name)Returns 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 Detail
-
TYPE_UNSPECIFIED
public static final Type TYPE_UNSPECIFIED
Type is unspecified.
TYPE_UNSPECIFIED = 0;
-
TYPE_PUBSUB_NOTIFICATION_FAILURE
public static final Type TYPE_PUBSUB_NOTIFICATION_FAILURE
A Pub/Sub notification failed to be sent.
TYPE_PUBSUB_NOTIFICATION_FAILURE = 1;
-
TYPE_RESOURCE_STATE_CHANGE
public static final Type TYPE_RESOURCE_STATE_CHANGE
Resource state changed.
TYPE_RESOURCE_STATE_CHANGE = 3;
-
TYPE_PROCESS_ABORTED
public static final Type TYPE_PROCESS_ABORTED
A process aborted.
TYPE_PROCESS_ABORTED = 4;
-
TYPE_RESTRICTION_VIOLATED
public static final Type TYPE_RESTRICTION_VIOLATED
Restriction check failed.
TYPE_RESTRICTION_VIOLATED = 5;
-
TYPE_RESOURCE_DELETED
public static final Type TYPE_RESOURCE_DELETED
Resource deleted.
TYPE_RESOURCE_DELETED = 6;
-
TYPE_RENDER_STATUES_CHANGE
@Deprecated public static final Type 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
public static final Type UNRECOGNIZED
-
-
Field Detail
-
TYPE_UNSPECIFIED_VALUE
public static final int TYPE_UNSPECIFIED_VALUE
Type is unspecified.
TYPE_UNSPECIFIED = 0;- See Also:
- Constant Field Values
-
TYPE_PUBSUB_NOTIFICATION_FAILURE_VALUE
public static final int TYPE_PUBSUB_NOTIFICATION_FAILURE_VALUE
A Pub/Sub notification failed to be sent.
TYPE_PUBSUB_NOTIFICATION_FAILURE = 1;- See Also:
- Constant Field Values
-
TYPE_RESOURCE_STATE_CHANGE_VALUE
public static final int TYPE_RESOURCE_STATE_CHANGE_VALUE
Resource state changed.
TYPE_RESOURCE_STATE_CHANGE = 3;- See Also:
- Constant Field Values
-
TYPE_PROCESS_ABORTED_VALUE
public static final int TYPE_PROCESS_ABORTED_VALUE
A process aborted.
TYPE_PROCESS_ABORTED = 4;- See Also:
- Constant Field Values
-
TYPE_RESTRICTION_VIOLATED_VALUE
public static final int TYPE_RESTRICTION_VIOLATED_VALUE
Restriction check failed.
TYPE_RESTRICTION_VIOLATED = 5;- See Also:
- Constant Field Values
-
TYPE_RESOURCE_DELETED_VALUE
public static final int TYPE_RESOURCE_DELETED_VALUE
Resource deleted.
TYPE_RESOURCE_DELETED = 6;- See Also:
- Constant Field Values
-
TYPE_RENDER_STATUES_CHANGE_VALUE
@Deprecated public static final int 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:
- Constant Field Values
-
-
Method Detail
-
values
public static Type[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (Type c : Type.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Type valueOf(String name)
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 public static Type valueOf(int value)
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
public static Type forNumber(int value)
- Parameters:
value- The numeric wire value of the corresponding enum entry.- Returns:
- The enum associated with the given numeric wire value.
-
internalGetValueMap
public static com.google.protobuf.Internal.EnumLiteMap<Type> 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 final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
-
valueOf
public static Type 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
-
-