Package com.google.monitoring.v3
Class ServiceLevelObjective.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<ServiceLevelObjective.Builder>
com.google.monitoring.v3.ServiceLevelObjective.Builder
- All Implemented Interfaces:
ServiceLevelObjectiveOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- ServiceLevelObjective
public static final class ServiceLevelObjective.Builder
extends com.google.protobuf.GeneratedMessage.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-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()A calendar period, semantically "since the start of the current `<calendar_period>`".Name used for UI elements listing this SLO.The fraction of service that must be good in order for this objective to be met. `0 < goal <= 0.9999`.Identifier.A rolling time period, semantically "in the past `<rolling_period>`".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.booleancontainsUserLabels(String key) Labels which have been used to annotate the service-level objective.A calendar period, semantically "since the start of the current `<calendar_period>`".intA calendar period, semantically "since the start of the current `<calendar_period>`".static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorName used for UI elements listing this SLO.com.google.protobuf.ByteStringName used for UI elements listing this SLO.doublegetGoal()The fraction of service that must be good in order for this objective to be met. `0 < goal <= 0.9999`.Deprecated.getName()Identifier.com.google.protobuf.ByteStringIdentifier.com.google.protobuf.DurationA rolling time period, semantically "in the past `<rolling_period>`".com.google.protobuf.Duration.BuilderA rolling time period, semantically "in the past `<rolling_period>`".com.google.protobuf.DurationOrBuilderA rolling time period, semantically "in the past `<rolling_period>`".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.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.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.Deprecated.intLabels which have been used to annotate the service-level objective.Labels which have been used to annotate the service-level objective.getUserLabelsOrDefault(String key, String defaultValue) Labels which have been used to annotate the service-level objective.Labels which have been used to annotate the service-level objective.booleanA calendar period, semantically "since the start of the current `<calendar_period>`".booleanA rolling time period, semantically "in the past `<rolling_period>`".booleanThe 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.GeneratedMessage.FieldAccessorTableprotected com.google.protobuf.MapFieldReflectionAccessorinternalGetMapFieldReflection(int number) protected com.google.protobuf.MapFieldReflectionAccessorinternalGetMutableMapFieldReflection(int number) final booleanmergeFrom(ServiceLevelObjective other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeRollingPeriod(com.google.protobuf.Duration value) A rolling time period, semantically "in the past `<rolling_period>`".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.putAllUserLabels(Map<String, String> values) Labels which have been used to annotate the service-level objective.putUserLabels(String key, String value) Labels which have been used to annotate the service-level objective.removeUserLabels(String key) Labels which have been used to annotate the service-level objective.setCalendarPeriod(CalendarPeriod value) A calendar period, semantically "since the start of the current `<calendar_period>`".setCalendarPeriodValue(int value) A calendar period, semantically "since the start of the current `<calendar_period>`".setDisplayName(String value) Name used for UI elements listing this SLO.setDisplayNameBytes(com.google.protobuf.ByteString value) Name used for UI elements listing this SLO.setGoal(double value) The fraction of service that must be good in order for this objective to be met. `0 < goal <= 0.9999`.Identifier.setNameBytes(com.google.protobuf.ByteString value) Identifier.setRollingPeriod(com.google.protobuf.Duration value) A rolling time period, semantically "in the past `<rolling_period>`".setRollingPeriod(com.google.protobuf.Duration.Builder builderForValue) A rolling time period, semantically "in the past `<rolling_period>`".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.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.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number) - Overrides:
internalGetMapFieldReflectionin classcom.google.protobuf.GeneratedMessage.Builder<ServiceLevelObjective.Builder>
-
internalGetMutableMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number) - Overrides:
internalGetMutableMapFieldReflectionin classcom.google.protobuf.GeneratedMessage.Builder<ServiceLevelObjective.Builder>
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<ServiceLevelObjective.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<ServiceLevelObjective.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<ServiceLevelObjective.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ServiceLevelObjective.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<ServiceLevelObjective.Builder>
-
mergeFrom
public ServiceLevelObjective.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ServiceLevelObjective.Builder>- Throws:
IOException
-
getPeriodCase
- Specified by:
getPeriodCasein interfaceServiceLevelObjectiveOrBuilder
-
clearPeriod
-
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];- Specified by:
getNamein interfaceServiceLevelObjectiveOrBuilder- Returns:
- The name.
-
getNameBytes
public 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];- Specified by:
getNameBytesin interfaceServiceLevelObjectiveOrBuilder- Returns:
- The bytes for name.
-
setName
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];- Parameters:
value- The name to set.- Returns:
- This builder for chaining.
-
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];- Returns:
- This builder for chaining.
-
setNameBytes
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];- Parameters:
value- The bytes for name to set.- Returns:
- This builder for chaining.
-
getDisplayName
Name used for UI elements listing this SLO.
string display_name = 11;- Specified by:
getDisplayNamein interfaceServiceLevelObjectiveOrBuilder- Returns:
- The displayName.
-
getDisplayNameBytes
public com.google.protobuf.ByteString getDisplayNameBytes()Name used for UI elements listing this SLO.
string display_name = 11;- Specified by:
getDisplayNameBytesin interfaceServiceLevelObjectiveOrBuilder- Returns:
- The bytes for displayName.
-
setDisplayName
Name used for UI elements listing this SLO.
string display_name = 11;- Parameters:
value- The displayName to set.- Returns:
- This builder for chaining.
-
clearDisplayName
Name used for UI elements listing this SLO.
string display_name = 11;- Returns:
- This builder for chaining.
-
setDisplayNameBytes
Name used for UI elements listing this SLO.
string display_name = 11;- Parameters:
value- The bytes for displayName to set.- Returns:
- This builder for chaining.
-
hasServiceLevelIndicator
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;- Specified by:
hasServiceLevelIndicatorin interfaceServiceLevelObjectiveOrBuilder- Returns:
- Whether the serviceLevelIndicator field is set.
-
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;- Specified by:
getServiceLevelIndicatorin interfaceServiceLevelObjectiveOrBuilder- Returns:
- The serviceLevelIndicator.
-
setServiceLevelIndicator
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; -
setServiceLevelIndicator
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; -
mergeServiceLevelIndicator
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; -
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; -
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; -
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;- Specified by:
getServiceLevelIndicatorOrBuilderin interfaceServiceLevelObjectiveOrBuilder
-
getGoal
public double getGoal()The fraction of service that must be good in order for this objective to be met. `0 < goal <= 0.9999`.
double goal = 4;- Specified by:
getGoalin interfaceServiceLevelObjectiveOrBuilder- Returns:
- The goal.
-
setGoal
The fraction of service that must be good in order for this objective to be met. `0 < goal <= 0.9999`.
double goal = 4;- Parameters:
value- The goal to set.- Returns:
- This builder for chaining.
-
clearGoal
The fraction of service that must be good in order for this objective to be met. `0 < goal <= 0.9999`.
double goal = 4;- Returns:
- This builder for chaining.
-
hasRollingPeriod
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;- Specified by:
hasRollingPeriodin interfaceServiceLevelObjectiveOrBuilder- Returns:
- Whether the rollingPeriod field is set.
-
getRollingPeriod
public 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;- Specified by:
getRollingPeriodin interfaceServiceLevelObjectiveOrBuilder- Returns:
- The rollingPeriod.
-
setRollingPeriod
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; -
setRollingPeriod
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; -
mergeRollingPeriod
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; -
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; -
getRollingPeriodBuilder
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; -
getRollingPeriodOrBuilder
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;- Specified by:
getRollingPeriodOrBuilderin interfaceServiceLevelObjectiveOrBuilder
-
hasCalendarPeriod
public 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;- Specified by:
hasCalendarPeriodin interfaceServiceLevelObjectiveOrBuilder- Returns:
- Whether the calendarPeriod field is set.
-
getCalendarPeriodValue
public 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;- Specified by:
getCalendarPeriodValuein interfaceServiceLevelObjectiveOrBuilder- Returns:
- The enum numeric value on the wire for calendarPeriod.
-
setCalendarPeriodValue
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;- Parameters:
value- The enum numeric value on the wire for calendarPeriod to set.- Returns:
- This builder for chaining.
-
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;- Specified by:
getCalendarPeriodin interfaceServiceLevelObjectiveOrBuilder- Returns:
- The calendarPeriod.
-
setCalendarPeriod
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;- Parameters:
value- The calendarPeriod to set.- Returns:
- This builder for chaining.
-
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;- Returns:
- This builder for chaining.
-
getUserLabelsCount
public int getUserLabelsCount()Description copied from interface: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;- Specified by:
getUserLabelsCountin interfaceServiceLevelObjectiveOrBuilder
-
containsUserLabels
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;- Specified by:
containsUserLabelsin interfaceServiceLevelObjectiveOrBuilder
-
getUserLabels
Deprecated.UsegetUserLabelsMap()instead.- Specified by:
getUserLabelsin interfaceServiceLevelObjectiveOrBuilder
-
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;- Specified by:
getUserLabelsMapin interfaceServiceLevelObjectiveOrBuilder
-
getUserLabelsOrDefault
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;- Specified by:
getUserLabelsOrDefaultin interfaceServiceLevelObjectiveOrBuilder
-
getUserLabelsOrThrow
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;- Specified by:
getUserLabelsOrThrowin interfaceServiceLevelObjectiveOrBuilder
-
clearUserLabels
-
removeUserLabels
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; -
getMutableUserLabels
Deprecated.Use alternate mutation accessors instead. -
putUserLabels
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; -
putAllUserLabels
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;
-