Package com.google.monitoring.v3
Enum Service.IdentifierCase
- java.lang.Object
-
- java.lang.Enum<Service.IdentifierCase>
-
- com.google.monitoring.v3.Service.IdentifierCase
-
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite
,Serializable
,Comparable<Service.IdentifierCase>
- Enclosing class:
- Service
public static enum Service.IdentifierCase extends Enum<Service.IdentifierCase> implements com.google.protobuf.Internal.EnumLite
-
-
Enum Constant Summary
Enum Constants Enum Constant Description APP_ENGINE
CLOUD_ENDPOINTS
CLUSTER_ISTIO
CUSTOM
IDENTIFIER_NOT_SET
ISTIO_CANONICAL_SERVICE
MESH_ISTIO
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static Service.IdentifierCase
forNumber(int value)
int
getNumber()
static Service.IdentifierCase
valueOf(int value)
Deprecated.static Service.IdentifierCase
valueOf(String name)
Returns the enum constant of this type with the specified name.static Service.IdentifierCase[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
CUSTOM
public static final Service.IdentifierCase CUSTOM
-
APP_ENGINE
public static final Service.IdentifierCase APP_ENGINE
-
CLOUD_ENDPOINTS
public static final Service.IdentifierCase CLOUD_ENDPOINTS
-
CLUSTER_ISTIO
public static final Service.IdentifierCase CLUSTER_ISTIO
-
MESH_ISTIO
public static final Service.IdentifierCase MESH_ISTIO
-
ISTIO_CANONICAL_SERVICE
public static final Service.IdentifierCase ISTIO_CANONICAL_SERVICE
-
IDENTIFIER_NOT_SET
public static final Service.IdentifierCase IDENTIFIER_NOT_SET
-
-
Method Detail
-
values
public static Service.IdentifierCase[] 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 (Service.IdentifierCase c : Service.IdentifierCase.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Service.IdentifierCase 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
-
valueOf
@Deprecated public static Service.IdentifierCase 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 Service.IdentifierCase forNumber(int value)
-
getNumber
public int getNumber()
- Specified by:
getNumber
in interfacecom.google.protobuf.Internal.EnumLite
-
-