public static enum ServiceLevelObjective.View extends Enum<ServiceLevelObjective.View> implements com.google.protobuf.ProtocolMessageEnum
`ServiceLevelObjective.View` determines what form of `ServiceLevelObjective` is returned from `GetServiceLevelObjective`, `ListServiceLevelObjectives`, and `ListServiceLevelObjectiveVersions` RPCs.Protobuf enum
google.monitoring.v3.ServiceLevelObjective.View| Enum Constant and Description |
|---|
EXPLICIT
For `ServiceLevelIndicator`s using `BasicSli` articulation, instead
return the `ServiceLevelIndicator` with its mode of computation fully
spelled out as a `RequestBasedSli`.
|
FULL
Return the embedded `ServiceLevelIndicator` in the form in which it was
defined.
|
UNRECOGNIZED |
VIEW_UNSPECIFIED
Same as FULL.
|
| Modifier and Type | Field and Description |
|---|---|
static int |
EXPLICIT_VALUE
For `ServiceLevelIndicator`s using `BasicSli` articulation, instead
return the `ServiceLevelIndicator` with its mode of computation fully
spelled out as a `RequestBasedSli`.
|
static int |
FULL_VALUE
Return the embedded `ServiceLevelIndicator` in the form in which it was
defined.
|
static int |
VIEW_UNSPECIFIED_VALUE
Same as FULL.
|
| Modifier and Type | Method and Description |
|---|---|
static ServiceLevelObjective.View |
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<ServiceLevelObjective.View> |
internalGetValueMap() |
static ServiceLevelObjective.View |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static ServiceLevelObjective.View |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static ServiceLevelObjective.View |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ServiceLevelObjective.View[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ServiceLevelObjective.View VIEW_UNSPECIFIED
Same as FULL.
VIEW_UNSPECIFIED = 0;public static final ServiceLevelObjective.View FULL
Return the embedded `ServiceLevelIndicator` in the form in which it was defined. If it was defined using a `BasicSli`, return that `BasicSli`.
FULL = 2;public static final ServiceLevelObjective.View EXPLICIT
For `ServiceLevelIndicator`s using `BasicSli` articulation, instead return the `ServiceLevelIndicator` with its mode of computation fully spelled out as a `RequestBasedSli`. For `ServiceLevelIndicator`s using `RequestBasedSli` or `WindowsBasedSli`, return the `ServiceLevelIndicator` as it was provided.
EXPLICIT = 1;public static final ServiceLevelObjective.View UNRECOGNIZED
public static final int VIEW_UNSPECIFIED_VALUE
Same as FULL.
VIEW_UNSPECIFIED = 0;public static final int FULL_VALUE
Return the embedded `ServiceLevelIndicator` in the form in which it was defined. If it was defined using a `BasicSli`, return that `BasicSli`.
FULL = 2;public static final int EXPLICIT_VALUE
For `ServiceLevelIndicator`s using `BasicSli` articulation, instead return the `ServiceLevelIndicator` with its mode of computation fully spelled out as a `RequestBasedSli`. For `ServiceLevelIndicator`s using `RequestBasedSli` or `WindowsBasedSli`, return the `ServiceLevelIndicator` as it was provided.
EXPLICIT = 1;public static ServiceLevelObjective.View[] values()
for (ServiceLevelObjective.View c : ServiceLevelObjective.View.values()) System.out.println(c);
public static ServiceLevelObjective.View valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic final int getNumber()
getNumber in interface com.google.protobuf.Internal.EnumLitegetNumber in interface com.google.protobuf.ProtocolMessageEnum@Deprecated public static ServiceLevelObjective.View valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static ServiceLevelObjective.View forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<ServiceLevelObjective.View> internalGetValueMap()
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
getValueDescriptor in interface com.google.protobuf.ProtocolMessageEnumpublic final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.ProtocolMessageEnumpublic static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
public static ServiceLevelObjective.View valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2025 Google LLC. All rights reserved.