public enum ChangeType extends java.lang.Enum<ChangeType> implements ProtocolMessageEnum
Classifies set of possible modifications to an object in the service configuration.Protobuf enum
google.api.ChangeType
Enum Constant and Description |
---|
ADDED
The changed object exists in the 'new' service configuration, but not
in the 'old' service configuration.
|
CHANGE_TYPE_UNSPECIFIED
No value was provided.
|
MODIFIED
The changed object exists in both service configurations, but its value
is different.
|
REMOVED
The changed object exists in the 'old' service configuration, but not
in the 'new' service configuration.
|
UNRECOGNIZED |
Modifier and Type | Field and Description |
---|---|
static int |
ADDED_VALUE
The changed object exists in the 'new' service configuration, but not
in the 'old' service configuration.
|
static int |
CHANGE_TYPE_UNSPECIFIED_VALUE
No value was provided.
|
static int |
MODIFIED_VALUE
The changed object exists in both service configurations, but its value
is different.
|
static int |
REMOVED_VALUE
The changed object exists in the 'old' service configuration, but not
in the 'new' service configuration.
|
Modifier and Type | Method and Description |
---|---|
static ChangeType |
forNumber(int value) |
static Descriptors.EnumDescriptor |
getDescriptor() |
Descriptors.EnumDescriptor |
getDescriptorForType() |
int |
getNumber() |
Descriptors.EnumValueDescriptor |
getValueDescriptor() |
static Internal.EnumLiteMap<ChangeType> |
internalGetValueMap() |
static ChangeType |
valueOf(Descriptors.EnumValueDescriptor desc) |
static ChangeType |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static ChangeType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ChangeType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ChangeType CHANGE_TYPE_UNSPECIFIED
No value was provided.
CHANGE_TYPE_UNSPECIFIED = 0;
public static final ChangeType ADDED
The changed object exists in the 'new' service configuration, but not in the 'old' service configuration.
ADDED = 1;
public static final ChangeType REMOVED
The changed object exists in the 'old' service configuration, but not in the 'new' service configuration.
REMOVED = 2;
public static final ChangeType MODIFIED
The changed object exists in both service configurations, but its value is different.
MODIFIED = 3;
public static final ChangeType UNRECOGNIZED
public static final int CHANGE_TYPE_UNSPECIFIED_VALUE
No value was provided.
CHANGE_TYPE_UNSPECIFIED = 0;
public static final int ADDED_VALUE
The changed object exists in the 'new' service configuration, but not in the 'old' service configuration.
ADDED = 1;
public static final int REMOVED_VALUE
The changed object exists in the 'old' service configuration, but not in the 'new' service configuration.
REMOVED = 2;
public static final int MODIFIED_VALUE
The changed object exists in both service configurations, but its value is different.
MODIFIED = 3;
public static ChangeType[] values()
for (ChangeType c : ChangeType.values()) System.out.println(c);
public static ChangeType valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic final int getNumber()
getNumber
in interface Internal.EnumLite
getNumber
in interface ProtocolMessageEnum
@Deprecated public static ChangeType valueOf(int value)
forNumber(int)
instead.public static ChangeType forNumber(int value)
public static Internal.EnumLiteMap<ChangeType> internalGetValueMap()
public final Descriptors.EnumValueDescriptor getValueDescriptor()
getValueDescriptor
in interface ProtocolMessageEnum
public final Descriptors.EnumDescriptor getDescriptorForType()
getDescriptorForType
in interface ProtocolMessageEnum
public static final Descriptors.EnumDescriptor getDescriptor()
public static ChangeType valueOf(Descriptors.EnumValueDescriptor desc)