public static final class ServiceLevelObjective.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<ServiceLevelObjective.Builder> implements ServiceLevelObjectiveOrBuilder
A Service-Level Objective (SLO) describes a level of desired good service. It consists of a service-level indicator (SLI), a performance goal, and a period over which the objective is to be evaluated against that goal. The SLO can use SLIs defined in a number of different manners. Typical SLOs might include "99% of requests in each rolling week have latency below 200 milliseconds" or "99.5% of requests in each calendar month return successfully."Protobuf type
google.monitoring.v3.ServiceLevelObjective| Modifier and Type | Method and Description |
|---|---|
ServiceLevelObjective.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
ServiceLevelObjective |
build() |
ServiceLevelObjective |
buildPartial() |
ServiceLevelObjective.Builder |
clear() |
ServiceLevelObjective.Builder |
clearCalendarPeriod()
A calendar period, semantically "since the start of the current
`<calendar_period>`".
|
ServiceLevelObjective.Builder |
clearDisplayName()
Name used for UI elements listing this SLO.
|
ServiceLevelObjective.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
ServiceLevelObjective.Builder |
clearGoal()
The fraction of service that must be good in order for this objective to be
met. `0 < goal <= 0.999`.
|
ServiceLevelObjective.Builder |
clearName()
Identifier.
|
ServiceLevelObjective.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
ServiceLevelObjective.Builder |
clearPeriod() |
ServiceLevelObjective.Builder |
clearRollingPeriod()
A rolling time period, semantically "in the past `<rolling_period>`".
|
ServiceLevelObjective.Builder |
clearServiceLevelIndicator()
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.
|
ServiceLevelObjective.Builder |
clearUserLabels() |
ServiceLevelObjective.Builder |
clone() |
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>`".
|
ServiceLevelObjective |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
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. `0 < goal <= 0.999`.
|
Map<String,String> |
getMutableUserLabels()
Deprecated.
|
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.Duration.Builder |
getRollingPeriodBuilder()
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.
|
ServiceLevelIndicator.Builder |
getServiceLevelIndicatorBuilder()
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.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
protected com.google.protobuf.MapFieldReflectionAccessor |
internalGetMapFieldReflection(int number) |
protected com.google.protobuf.MapFieldReflectionAccessor |
internalGetMutableMapFieldReflection(int number) |
boolean |
isInitialized() |
ServiceLevelObjective.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
ServiceLevelObjective.Builder |
mergeFrom(com.google.protobuf.Message other) |
ServiceLevelObjective.Builder |
mergeFrom(ServiceLevelObjective other) |
ServiceLevelObjective.Builder |
mergeRollingPeriod(com.google.protobuf.Duration value)
A rolling time period, semantically "in the past `<rolling_period>`".
|
ServiceLevelObjective.Builder |
mergeServiceLevelIndicator(ServiceLevelIndicator value)
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.
|
ServiceLevelObjective.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
ServiceLevelObjective.Builder |
putAllUserLabels(Map<String,String> values)
Labels which have been used to annotate the service-level objective.
|
ServiceLevelObjective.Builder |
putUserLabels(String key,
String value)
Labels which have been used to annotate the service-level objective.
|
ServiceLevelObjective.Builder |
removeUserLabels(String key)
Labels which have been used to annotate the service-level objective.
|
ServiceLevelObjective.Builder |
setCalendarPeriod(com.google.type.CalendarPeriod value)
A calendar period, semantically "since the start of the current
`<calendar_period>`".
|
ServiceLevelObjective.Builder |
setCalendarPeriodValue(int value)
A calendar period, semantically "since the start of the current
`<calendar_period>`".
|
ServiceLevelObjective.Builder |
setDisplayName(String value)
Name used for UI elements listing this SLO.
|
ServiceLevelObjective.Builder |
setDisplayNameBytes(com.google.protobuf.ByteString value)
Name used for UI elements listing this SLO.
|
ServiceLevelObjective.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
ServiceLevelObjective.Builder |
setGoal(double value)
The fraction of service that must be good in order for this objective to be
met. `0 < goal <= 0.999`.
|
ServiceLevelObjective.Builder |
setName(String value)
Identifier.
|
ServiceLevelObjective.Builder |
setNameBytes(com.google.protobuf.ByteString value)
Identifier.
|
ServiceLevelObjective.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
ServiceLevelObjective.Builder |
setRollingPeriod(com.google.protobuf.Duration.Builder builderForValue)
A rolling time period, semantically "in the past `<rolling_period>`".
|
ServiceLevelObjective.Builder |
setRollingPeriod(com.google.protobuf.Duration value)
A rolling time period, semantically "in the past `<rolling_period>`".
|
ServiceLevelObjective.Builder |
setServiceLevelIndicator(ServiceLevelIndicator.Builder builderForValue)
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.
|
ServiceLevelObjective.Builder |
setServiceLevelIndicator(ServiceLevelIndicator value)
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.
|
ServiceLevelObjective.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
internalGetMapFieldReflection in class com.google.protobuf.GeneratedMessageV3.Builder<ServiceLevelObjective.Builder>protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number)
internalGetMutableMapFieldReflection in class com.google.protobuf.GeneratedMessageV3.Builder<ServiceLevelObjective.Builder>protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<ServiceLevelObjective.Builder>public ServiceLevelObjective.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<ServiceLevelObjective.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<ServiceLevelObjective.Builder>public ServiceLevelObjective getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic ServiceLevelObjective build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic ServiceLevelObjective buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic ServiceLevelObjective.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<ServiceLevelObjective.Builder>public ServiceLevelObjective.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<ServiceLevelObjective.Builder>public ServiceLevelObjective.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<ServiceLevelObjective.Builder>public ServiceLevelObjective.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<ServiceLevelObjective.Builder>public ServiceLevelObjective.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<ServiceLevelObjective.Builder>public ServiceLevelObjective.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<ServiceLevelObjective.Builder>public ServiceLevelObjective.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<ServiceLevelObjective.Builder>public ServiceLevelObjective.Builder mergeFrom(ServiceLevelObjective other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<ServiceLevelObjective.Builder>public ServiceLevelObjective.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<ServiceLevelObjective.Builder>IOExceptionpublic ServiceLevelObjective.PeriodCase getPeriodCase()
getPeriodCase in interface ServiceLevelObjectiveOrBuilderpublic ServiceLevelObjective.Builder clearPeriod()
public String 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];getName in interface ServiceLevelObjectiveOrBuilderpublic 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];getNameBytes in interface ServiceLevelObjectiveOrBuilderpublic ServiceLevelObjective.Builder setName(String value)
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];value - The name to set.public ServiceLevelObjective.Builder clearName()
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];public ServiceLevelObjective.Builder setNameBytes(com.google.protobuf.ByteString value)
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];value - The bytes for name to set.public String getDisplayName()
Name used for UI elements listing this SLO.
string display_name = 11;getDisplayName in interface ServiceLevelObjectiveOrBuilderpublic com.google.protobuf.ByteString getDisplayNameBytes()
Name used for UI elements listing this SLO.
string display_name = 11;getDisplayNameBytes in interface ServiceLevelObjectiveOrBuilderpublic ServiceLevelObjective.Builder setDisplayName(String value)
Name used for UI elements listing this SLO.
string display_name = 11;value - The displayName to set.public ServiceLevelObjective.Builder clearDisplayName()
Name used for UI elements listing this SLO.
string display_name = 11;public ServiceLevelObjective.Builder setDisplayNameBytes(com.google.protobuf.ByteString value)
Name used for UI elements listing this SLO.
string display_name = 11;value - The bytes for displayName to set.public 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;hasServiceLevelIndicator in interface ServiceLevelObjectiveOrBuilderpublic 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;getServiceLevelIndicator in interface ServiceLevelObjectiveOrBuilderpublic ServiceLevelObjective.Builder setServiceLevelIndicator(ServiceLevelIndicator value)
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;public ServiceLevelObjective.Builder setServiceLevelIndicator(ServiceLevelIndicator.Builder builderForValue)
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;public ServiceLevelObjective.Builder mergeServiceLevelIndicator(ServiceLevelIndicator value)
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;public ServiceLevelObjective.Builder clearServiceLevelIndicator()
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;public ServiceLevelIndicator.Builder getServiceLevelIndicatorBuilder()
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;public 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;getServiceLevelIndicatorOrBuilder in interface ServiceLevelObjectiveOrBuilderpublic 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;getGoal in interface ServiceLevelObjectiveOrBuilderpublic ServiceLevelObjective.Builder setGoal(double value)
The fraction of service that must be good in order for this objective to be met. `0 < goal <= 0.999`.
double goal = 4;value - The goal to set.public ServiceLevelObjective.Builder clearGoal()
The fraction of service that must be good in order for this objective to be met. `0 < goal <= 0.999`.
double goal = 4;public 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;hasRollingPeriod in interface ServiceLevelObjectiveOrBuilderpublic 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;getRollingPeriod in interface ServiceLevelObjectiveOrBuilderpublic ServiceLevelObjective.Builder setRollingPeriod(com.google.protobuf.Duration value)
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;public ServiceLevelObjective.Builder setRollingPeriod(com.google.protobuf.Duration.Builder builderForValue)
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;public ServiceLevelObjective.Builder mergeRollingPeriod(com.google.protobuf.Duration value)
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;public ServiceLevelObjective.Builder clearRollingPeriod()
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;public com.google.protobuf.Duration.Builder getRollingPeriodBuilder()
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;public 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;getRollingPeriodOrBuilder in interface ServiceLevelObjectiveOrBuilderpublic 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;hasCalendarPeriod in interface ServiceLevelObjectiveOrBuilderpublic 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;getCalendarPeriodValue in interface ServiceLevelObjectiveOrBuilderpublic ServiceLevelObjective.Builder setCalendarPeriodValue(int value)
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;value - The enum numeric value on the wire for calendarPeriod to set.public 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;getCalendarPeriod in interface ServiceLevelObjectiveOrBuilderpublic ServiceLevelObjective.Builder setCalendarPeriod(com.google.type.CalendarPeriod value)
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;value - The calendarPeriod to set.public ServiceLevelObjective.Builder clearCalendarPeriod()
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;public int getUserLabelsCount()
ServiceLevelObjectiveOrBuilderLabels 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;getUserLabelsCount in interface ServiceLevelObjectiveOrBuilderpublic 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;containsUserLabels in interface ServiceLevelObjectiveOrBuilder@Deprecated public Map<String,String> getUserLabels()
getUserLabelsMap() instead.getUserLabels in interface ServiceLevelObjectiveOrBuilderpublic 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;getUserLabelsMap in interface ServiceLevelObjectiveOrBuilderpublic 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;getUserLabelsOrDefault in interface ServiceLevelObjectiveOrBuilderpublic 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;getUserLabelsOrThrow in interface ServiceLevelObjectiveOrBuilderpublic ServiceLevelObjective.Builder clearUserLabels()
public ServiceLevelObjective.Builder removeUserLabels(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 public Map<String,String> getMutableUserLabels()
public ServiceLevelObjective.Builder putUserLabels(String key, String value)
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;public ServiceLevelObjective.Builder putAllUserLabels(Map<String,String> values)
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;public final ServiceLevelObjective.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ServiceLevelObjective.Builder>public final ServiceLevelObjective.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ServiceLevelObjective.Builder>Copyright © 2024 Google LLC. All rights reserved.