Package com.google.cloud.logging
Enum MonitoredResourceUtil.Label
- java.lang.Object
-
- java.lang.Enum<MonitoredResourceUtil.Label>
-
- com.google.cloud.logging.MonitoredResourceUtil.Label
-
- All Implemented Interfaces:
Serializable
,Comparable<MonitoredResourceUtil.Label>
- Enclosing class:
- MonitoredResourceUtil
protected static enum MonitoredResourceUtil.Label extends Enum<MonitoredResourceUtil.Label>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CloudRunLocation
ClusterName
ConfigurationName
ContainerName
Env
FunctionName
GKELocation
InstanceId
InstanceName
ModuleId
NamespaceName
PodName
ProjectId
Region
RevisionName
ServiceName
VersionId
Zone
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static MonitoredResourceUtil.Label
valueOf(String name)
Returns the enum constant of this type with the specified name.static MonitoredResourceUtil.Label[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ClusterName
public static final MonitoredResourceUtil.Label ClusterName
-
ConfigurationName
public static final MonitoredResourceUtil.Label ConfigurationName
-
ContainerName
public static final MonitoredResourceUtil.Label ContainerName
-
Env
public static final MonitoredResourceUtil.Label Env
-
FunctionName
public static final MonitoredResourceUtil.Label FunctionName
-
InstanceId
public static final MonitoredResourceUtil.Label InstanceId
-
InstanceName
public static final MonitoredResourceUtil.Label InstanceName
-
CloudRunLocation
public static final MonitoredResourceUtil.Label CloudRunLocation
-
GKELocation
public static final MonitoredResourceUtil.Label GKELocation
-
ModuleId
public static final MonitoredResourceUtil.Label ModuleId
-
NamespaceName
public static final MonitoredResourceUtil.Label NamespaceName
-
PodName
public static final MonitoredResourceUtil.Label PodName
-
ProjectId
public static final MonitoredResourceUtil.Label ProjectId
-
Region
public static final MonitoredResourceUtil.Label Region
-
RevisionName
public static final MonitoredResourceUtil.Label RevisionName
-
ServiceName
public static final MonitoredResourceUtil.Label ServiceName
-
VersionId
public static final MonitoredResourceUtil.Label VersionId
-
Zone
public static final MonitoredResourceUtil.Label Zone
-
-
Method Detail
-
values
public static MonitoredResourceUtil.Label[] 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 (MonitoredResourceUtil.Label c : MonitoredResourceUtil.Label.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static MonitoredResourceUtil.Label 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
-
-