Uses of Class
com.google.api.MetricDescriptor.Builder
Packages that use MetricDescriptor.Builder
-
Uses of MetricDescriptor.Builder in com.google.api
Methods in com.google.api that return MetricDescriptor.BuilderModifier and TypeMethodDescriptionMetricDescriptor.Builder.addAllLabels
(Iterable<? extends LabelDescriptor> values) The set of labels that can be used to describe a specific instance of this metric type.MetricDescriptor.Builder.addAllMonitoredResourceTypes
(Iterable<String> values) Read-only.MetricDescriptor.Builder.addLabels
(int index, LabelDescriptor value) The set of labels that can be used to describe a specific instance of this metric type.MetricDescriptor.Builder.addLabels
(int index, LabelDescriptor.Builder builderForValue) The set of labels that can be used to describe a specific instance of this metric type.MetricDescriptor.Builder.addLabels
(LabelDescriptor value) The set of labels that can be used to describe a specific instance of this metric type.MetricDescriptor.Builder.addLabels
(LabelDescriptor.Builder builderForValue) The set of labels that can be used to describe a specific instance of this metric type.Service.Builder.addMetricsBuilder()
Defines the metrics used by this service.Service.Builder.addMetricsBuilder
(int index) Defines the metrics used by this service.MetricDescriptor.Builder.addMonitoredResourceTypes
(String value) Read-only.MetricDescriptor.Builder.addMonitoredResourceTypesBytes
(com.google.protobuf.ByteString value) Read-only.MetricDescriptor.Builder.addRepeatedField
(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) MetricDescriptor.Builder.clear()
MetricDescriptor.Builder.clearDescription()
A detailed description of the metric, which can be used in documentation.MetricDescriptor.Builder.clearDisplayName()
A concise name for the metric, which can be displayed in user interfaces.MetricDescriptor.Builder.clearField
(com.google.protobuf.Descriptors.FieldDescriptor field) MetricDescriptor.Builder.clearLabels()
The set of labels that can be used to describe a specific instance of this metric type.MetricDescriptor.Builder.clearLaunchStage()
Optional.MetricDescriptor.Builder.clearMetadata()
Optional.MetricDescriptor.Builder.clearMetricKind()
Whether the metric records instantaneous values, changes to a value, etc.MetricDescriptor.Builder.clearMonitoredResourceTypes()
Read-only.MetricDescriptor.Builder.clearName()
The resource name of the metric descriptor.MetricDescriptor.Builder.clearOneof
(com.google.protobuf.Descriptors.OneofDescriptor oneof) MetricDescriptor.Builder.clearType()
The metric type, including its DNS name prefix.MetricDescriptor.Builder.clearUnit()
The units in which the metric value is reported.MetricDescriptor.Builder.clearValueType()
Whether the measurement is an integer, a floating-point number, etc.MetricDescriptor.Builder.clone()
Service.Builder.getMetricsBuilder
(int index) Defines the metrics used by this service.MetricDescriptor.Builder.mergeFrom
(MetricDescriptor other) MetricDescriptor.Builder.mergeFrom
(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) MetricDescriptor.Builder.mergeFrom
(com.google.protobuf.Message other) MetricDescriptor.Builder.mergeMetadata
(MetricDescriptor.MetricDescriptorMetadata value) Optional.final MetricDescriptor.Builder
MetricDescriptor.Builder.mergeUnknownFields
(com.google.protobuf.UnknownFieldSet unknownFields) static MetricDescriptor.Builder
MetricDescriptor.newBuilder()
static MetricDescriptor.Builder
MetricDescriptor.newBuilder
(MetricDescriptor prototype) MetricDescriptor.newBuilderForType()
protected MetricDescriptor.Builder
MetricDescriptor.newBuilderForType
(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) MetricDescriptor.Builder.removeLabels
(int index) The set of labels that can be used to describe a specific instance of this metric type.MetricDescriptor.Builder.setDescription
(String value) A detailed description of the metric, which can be used in documentation.MetricDescriptor.Builder.setDescriptionBytes
(com.google.protobuf.ByteString value) A detailed description of the metric, which can be used in documentation.MetricDescriptor.Builder.setDisplayName
(String value) A concise name for the metric, which can be displayed in user interfaces.MetricDescriptor.Builder.setDisplayNameBytes
(com.google.protobuf.ByteString value) A concise name for the metric, which can be displayed in user interfaces.MetricDescriptor.Builder.setField
(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) MetricDescriptor.Builder.setLabels
(int index, LabelDescriptor value) The set of labels that can be used to describe a specific instance of this metric type.MetricDescriptor.Builder.setLabels
(int index, LabelDescriptor.Builder builderForValue) The set of labels that can be used to describe a specific instance of this metric type.MetricDescriptor.Builder.setLaunchStage
(LaunchStage value) Optional.MetricDescriptor.Builder.setLaunchStageValue
(int value) Optional.MetricDescriptor.Builder.setMetadata
(MetricDescriptor.MetricDescriptorMetadata value) Optional.MetricDescriptor.Builder.setMetadata
(MetricDescriptor.MetricDescriptorMetadata.Builder builderForValue) Optional.MetricDescriptor.Builder.setMetricKind
(MetricDescriptor.MetricKind value) Whether the metric records instantaneous values, changes to a value, etc.MetricDescriptor.Builder.setMetricKindValue
(int value) Whether the metric records instantaneous values, changes to a value, etc.MetricDescriptor.Builder.setMonitoredResourceTypes
(int index, String value) Read-only.The resource name of the metric descriptor.MetricDescriptor.Builder.setNameBytes
(com.google.protobuf.ByteString value) The resource name of the metric descriptor.MetricDescriptor.Builder.setRepeatedField
(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) The metric type, including its DNS name prefix.MetricDescriptor.Builder.setTypeBytes
(com.google.protobuf.ByteString value) The metric type, including its DNS name prefix.The units in which the metric value is reported.MetricDescriptor.Builder.setUnitBytes
(com.google.protobuf.ByteString value) The units in which the metric value is reported.final MetricDescriptor.Builder
MetricDescriptor.Builder.setUnknownFields
(com.google.protobuf.UnknownFieldSet unknownFields) MetricDescriptor.Builder.setValueType
(MetricDescriptor.ValueType value) Whether the measurement is an integer, a floating-point number, etc.MetricDescriptor.Builder.setValueTypeValue
(int value) Whether the measurement is an integer, a floating-point number, etc.MetricDescriptor.toBuilder()
Methods in com.google.api that return types with arguments of type MetricDescriptor.BuilderModifier and TypeMethodDescriptionService.Builder.getMetricsBuilderList()
Defines the metrics used by this service.Methods in com.google.api with parameters of type MetricDescriptor.BuilderModifier and TypeMethodDescriptionService.Builder.addMetrics
(int index, MetricDescriptor.Builder builderForValue) Defines the metrics used by this service.Service.Builder.addMetrics
(MetricDescriptor.Builder builderForValue) Defines the metrics used by this service.Service.Builder.setMetrics
(int index, MetricDescriptor.Builder builderForValue) Defines the metrics used by this service.