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_ABORTED
A process aborted.TYPE_PUBSUB_NOTIFICATION_FAILURE
A Pub/Sub notification failed to be sent.TYPE_RENDER_STATUES_CHANGE
Deprecated.TYPE_RESOURCE_DELETED
Resource deleted.TYPE_RESOURCE_STATE_CHANGE
Resource state changed.TYPE_RESTRICTION_VIOLATED
Restriction check failed.TYPE_UNSPECIFIED
Type is unspecified.UNRECOGNIZED
-
Field Summary
Fields Modifier and Type Field Description static int
TYPE_PROCESS_ABORTED_VALUE
A process aborted.static int
TYPE_PUBSUB_NOTIFICATION_FAILURE_VALUE
A Pub/Sub notification failed to be sent.static int
TYPE_RENDER_STATUES_CHANGE_VALUE
Deprecated.static int
TYPE_RESOURCE_DELETED_VALUE
Resource deleted.static int
TYPE_RESOURCE_STATE_CHANGE_VALUE
Resource state changed.static int
TYPE_RESTRICTION_VIOLATED_VALUE
Restriction check failed.static int
TYPE_UNSPECIFIED_VALUE
Type is unspecified.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static Type
forNumber(int value)
static com.google.protobuf.Descriptors.EnumDescriptor
getDescriptor()
com.google.protobuf.Descriptors.EnumDescriptor
getDescriptorForType()
int
getNumber()
com.google.protobuf.Descriptors.EnumValueDescriptor
getValueDescriptor()
static com.google.protobuf.Internal.EnumLiteMap<Type>
internalGetValueMap()
static Type
valueOf(int value)
Deprecated.static Type
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Returns the enum constant of this type with the specified name.static Type
valueOf(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:
getNumber
in interfacecom.google.protobuf.Internal.EnumLite
- Specified by:
getNumber
in 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:
getValueDescriptor
in interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptorForType
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in 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
-
-