public interface ServiceLevelObjectiveOrBuilder
extends com.google.protobuf.MessageOrBuilder
| Modifier and Type | Method and Description |
|---|---|
boolean |
containsUserLabels(String key)
Labels which have been used to annotate the service-level objective.
|
com.google.type.CalendarPeriod |
getCalendarPeriod()
A calendar period, semantically "since the start of the current
`<calendar_period>`".
|
int |
getCalendarPeriodValue()
A calendar period, semantically "since the start of the current
`<calendar_period>`".
|
String |
getDisplayName()
Name used for UI elements listing this SLO.
|
com.google.protobuf.ByteString |
getDisplayNameBytes()
Name used for UI elements listing this SLO.
|
double |
getGoal()
The fraction of service that must be good in order for this objective to be
met.
|
String |
getName()
Identifier.
|
com.google.protobuf.ByteString |
getNameBytes()
Identifier.
|
ServiceLevelObjective.PeriodCase |
getPeriodCase() |
com.google.protobuf.Duration |
getRollingPeriod()
A rolling time period, semantically "in the past `<rolling_period>`".
|
com.google.protobuf.DurationOrBuilder |
getRollingPeriodOrBuilder()
A rolling time period, semantically "in the past `<rolling_period>`".
|
ServiceLevelIndicator |
getServiceLevelIndicator()
The definition of good service, used to measure and calculate the quality
of the `Service`'s performance with respect to a single aspect of service
quality.
|
ServiceLevelIndicatorOrBuilder |
getServiceLevelIndicatorOrBuilder()
The definition of good service, used to measure and calculate the quality
of the `Service`'s performance with respect to a single aspect of service
quality.
|
Map<String,String> |
getUserLabels()
Deprecated.
|
int |
getUserLabelsCount()
Labels which have been used to annotate the service-level objective.
|
Map<String,String> |
getUserLabelsMap()
Labels which have been used to annotate the service-level objective.
|
String |
getUserLabelsOrDefault(String key,
String defaultValue)
Labels which have been used to annotate the service-level objective.
|
String |
getUserLabelsOrThrow(String key)
Labels which have been used to annotate the service-level objective.
|
boolean |
hasCalendarPeriod()
A calendar period, semantically "since the start of the current
`<calendar_period>`".
|
boolean |
hasRollingPeriod()
A rolling time period, semantically "in the past `<rolling_period>`".
|
boolean |
hasServiceLevelIndicator()
The definition of good service, used to measure and calculate the quality
of the `Service`'s performance with respect to a single aspect of service
quality.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofString getName()
Identifier. Resource name for this `ServiceLevelObjective`. The format is:
projects/[PROJECT_ID_OR_NUMBER]/services/[SERVICE_ID]/serviceLevelObjectives/[SLO_NAME]
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];com.google.protobuf.ByteString getNameBytes()
Identifier. Resource name for this `ServiceLevelObjective`. The format is:
projects/[PROJECT_ID_OR_NUMBER]/services/[SERVICE_ID]/serviceLevelObjectives/[SLO_NAME]
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];String getDisplayName()
Name used for UI elements listing this SLO.
string display_name = 11;com.google.protobuf.ByteString getDisplayNameBytes()
Name used for UI elements listing this SLO.
string display_name = 11;boolean hasServiceLevelIndicator()
The definition of good service, used to measure and calculate the quality of the `Service`'s performance with respect to a single aspect of service quality.
.google.monitoring.v3.ServiceLevelIndicator service_level_indicator = 3;ServiceLevelIndicator getServiceLevelIndicator()
The definition of good service, used to measure and calculate the quality of the `Service`'s performance with respect to a single aspect of service quality.
.google.monitoring.v3.ServiceLevelIndicator service_level_indicator = 3;ServiceLevelIndicatorOrBuilder getServiceLevelIndicatorOrBuilder()
The definition of good service, used to measure and calculate the quality of the `Service`'s performance with respect to a single aspect of service quality.
.google.monitoring.v3.ServiceLevelIndicator service_level_indicator = 3;double getGoal()
The fraction of service that must be good in order for this objective to be met. `0 < goal <= 0.999`.
double goal = 4;boolean hasRollingPeriod()
A rolling time period, semantically "in the past `<rolling_period>`". Must be an integer multiple of 1 day no larger than 30 days.
.google.protobuf.Duration rolling_period = 5;com.google.protobuf.Duration getRollingPeriod()
A rolling time period, semantically "in the past `<rolling_period>`". Must be an integer multiple of 1 day no larger than 30 days.
.google.protobuf.Duration rolling_period = 5;com.google.protobuf.DurationOrBuilder getRollingPeriodOrBuilder()
A rolling time period, semantically "in the past `<rolling_period>`". Must be an integer multiple of 1 day no larger than 30 days.
.google.protobuf.Duration rolling_period = 5;boolean hasCalendarPeriod()
A calendar period, semantically "since the start of the current `<calendar_period>`". At this time, only `DAY`, `WEEK`, `FORTNIGHT`, and `MONTH` are supported.
.google.type.CalendarPeriod calendar_period = 6;int getCalendarPeriodValue()
A calendar period, semantically "since the start of the current `<calendar_period>`". At this time, only `DAY`, `WEEK`, `FORTNIGHT`, and `MONTH` are supported.
.google.type.CalendarPeriod calendar_period = 6;com.google.type.CalendarPeriod getCalendarPeriod()
A calendar period, semantically "since the start of the current `<calendar_period>`". At this time, only `DAY`, `WEEK`, `FORTNIGHT`, and `MONTH` are supported.
.google.type.CalendarPeriod calendar_period = 6;int getUserLabelsCount()
Labels which have been used to annotate the service-level objective. Label keys must start with a letter. Label keys and values may contain lowercase letters, numbers, underscores, and dashes. Label keys and values have a maximum length of 63 characters, and must be less than 128 bytes in size. Up to 64 label entries may be stored. For labels which do not have a semantic value, the empty string may be supplied for the label value.
map<string, string> user_labels = 12;boolean containsUserLabels(String key)
Labels which have been used to annotate the service-level objective. Label keys must start with a letter. Label keys and values may contain lowercase letters, numbers, underscores, and dashes. Label keys and values have a maximum length of 63 characters, and must be less than 128 bytes in size. Up to 64 label entries may be stored. For labels which do not have a semantic value, the empty string may be supplied for the label value.
map<string, string> user_labels = 12;@Deprecated Map<String,String> getUserLabels()
getUserLabelsMap() instead.Map<String,String> getUserLabelsMap()
Labels which have been used to annotate the service-level objective. Label keys must start with a letter. Label keys and values may contain lowercase letters, numbers, underscores, and dashes. Label keys and values have a maximum length of 63 characters, and must be less than 128 bytes in size. Up to 64 label entries may be stored. For labels which do not have a semantic value, the empty string may be supplied for the label value.
map<string, string> user_labels = 12;String getUserLabelsOrDefault(String key, String defaultValue)
Labels which have been used to annotate the service-level objective. Label keys must start with a letter. Label keys and values may contain lowercase letters, numbers, underscores, and dashes. Label keys and values have a maximum length of 63 characters, and must be less than 128 bytes in size. Up to 64 label entries may be stored. For labels which do not have a semantic value, the empty string may be supplied for the label value.
map<string, string> user_labels = 12;String getUserLabelsOrThrow(String key)
Labels which have been used to annotate the service-level objective. Label keys must start with a letter. Label keys and values may contain lowercase letters, numbers, underscores, and dashes. Label keys and values have a maximum length of 63 characters, and must be less than 128 bytes in size. Up to 64 label entries may be stored. For labels which do not have a semantic value, the empty string may be supplied for the label value.
map<string, string> user_labels = 12;ServiceLevelObjective.PeriodCase getPeriodCase()
Copyright © 2024 Google LLC. All rights reserved.