Class ResourceMetrics.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- com.google.protobuf.GeneratedMessageV3.Builder<ResourceMetrics.Builder>
-
- io.opentelemetry.proto.metrics.v1.ResourceMetrics.Builder
-
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,ResourceMetricsOrBuilder,Cloneable
- Enclosing class:
- ResourceMetrics
public static final class ResourceMetrics.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<ResourceMetrics.Builder> implements ResourceMetricsOrBuilder
A collection of ScopeMetrics from a Resource.
Protobuf typeopentelemetry.proto.metrics.v1.ResourceMetrics
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description ResourceMetrics.BuilderaddAllInstrumentationLibraryMetrics(Iterable<? extends InstrumentationLibraryMetrics> values)Deprecated.ResourceMetrics.BuilderaddAllScopeMetrics(Iterable<? extends ScopeMetrics> values)A list of metrics that originate from a resource.ResourceMetrics.BuilderaddInstrumentationLibraryMetrics(int index, InstrumentationLibraryMetrics value)Deprecated.ResourceMetrics.BuilderaddInstrumentationLibraryMetrics(int index, InstrumentationLibraryMetrics.Builder builderForValue)Deprecated.ResourceMetrics.BuilderaddInstrumentationLibraryMetrics(InstrumentationLibraryMetrics value)Deprecated.ResourceMetrics.BuilderaddInstrumentationLibraryMetrics(InstrumentationLibraryMetrics.Builder builderForValue)Deprecated.InstrumentationLibraryMetrics.BuilderaddInstrumentationLibraryMetricsBuilder()Deprecated.InstrumentationLibraryMetrics.BuilderaddInstrumentationLibraryMetricsBuilder(int index)Deprecated.ResourceMetrics.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)ResourceMetrics.BuilderaddScopeMetrics(int index, ScopeMetrics value)A list of metrics that originate from a resource.ResourceMetrics.BuilderaddScopeMetrics(int index, ScopeMetrics.Builder builderForValue)A list of metrics that originate from a resource.ResourceMetrics.BuilderaddScopeMetrics(ScopeMetrics value)A list of metrics that originate from a resource.ResourceMetrics.BuilderaddScopeMetrics(ScopeMetrics.Builder builderForValue)A list of metrics that originate from a resource.ScopeMetrics.BuilderaddScopeMetricsBuilder()A list of metrics that originate from a resource.ScopeMetrics.BuilderaddScopeMetricsBuilder(int index)A list of metrics that originate from a resource.ResourceMetricsbuild()ResourceMetricsbuildPartial()ResourceMetrics.Builderclear()ResourceMetrics.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)ResourceMetrics.BuilderclearInstrumentationLibraryMetrics()Deprecated.ResourceMetrics.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)ResourceMetrics.BuilderclearResource()The resource for the metrics in this message.ResourceMetrics.BuilderclearSchemaUrl()This schema_url applies to the data in the "resource" field.ResourceMetrics.BuilderclearScopeMetrics()A list of metrics that originate from a resource.ResourceMetrics.Builderclone()ResourceMetricsgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()InstrumentationLibraryMetricsgetInstrumentationLibraryMetrics(int index)Deprecated.InstrumentationLibraryMetrics.BuildergetInstrumentationLibraryMetricsBuilder(int index)Deprecated.List<InstrumentationLibraryMetrics.Builder>getInstrumentationLibraryMetricsBuilderList()Deprecated.intgetInstrumentationLibraryMetricsCount()Deprecated.List<InstrumentationLibraryMetrics>getInstrumentationLibraryMetricsList()Deprecated.InstrumentationLibraryMetricsOrBuildergetInstrumentationLibraryMetricsOrBuilder(int index)Deprecated.List<? extends InstrumentationLibraryMetricsOrBuilder>getInstrumentationLibraryMetricsOrBuilderList()Deprecated.ResourcegetResource()The resource for the metrics in this message.Resource.BuildergetResourceBuilder()The resource for the metrics in this message.ResourceOrBuildergetResourceOrBuilder()The resource for the metrics in this message.StringgetSchemaUrl()This schema_url applies to the data in the "resource" field.com.google.protobuf.ByteStringgetSchemaUrlBytes()This schema_url applies to the data in the "resource" field.ScopeMetricsgetScopeMetrics(int index)A list of metrics that originate from a resource.ScopeMetrics.BuildergetScopeMetricsBuilder(int index)A list of metrics that originate from a resource.List<ScopeMetrics.Builder>getScopeMetricsBuilderList()A list of metrics that originate from a resource.intgetScopeMetricsCount()A list of metrics that originate from a resource.List<ScopeMetrics>getScopeMetricsList()A list of metrics that originate from a resource.ScopeMetricsOrBuildergetScopeMetricsOrBuilder(int index)A list of metrics that originate from a resource.List<? extends ScopeMetricsOrBuilder>getScopeMetricsOrBuilderList()A list of metrics that originate from a resource.booleanhasResource()The resource for the metrics in this message.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()ResourceMetrics.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)ResourceMetrics.BuildermergeFrom(com.google.protobuf.Message other)ResourceMetrics.BuildermergeFrom(ResourceMetrics other)ResourceMetrics.BuildermergeResource(Resource value)The resource for the metrics in this message.ResourceMetrics.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)ResourceMetrics.BuilderremoveInstrumentationLibraryMetrics(int index)Deprecated.ResourceMetrics.BuilderremoveScopeMetrics(int index)A list of metrics that originate from a resource.ResourceMetrics.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)ResourceMetrics.BuildersetInstrumentationLibraryMetrics(int index, InstrumentationLibraryMetrics value)Deprecated.ResourceMetrics.BuildersetInstrumentationLibraryMetrics(int index, InstrumentationLibraryMetrics.Builder builderForValue)Deprecated.ResourceMetrics.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)ResourceMetrics.BuildersetResource(Resource value)The resource for the metrics in this message.ResourceMetrics.BuildersetResource(Resource.Builder builderForValue)The resource for the metrics in this message.ResourceMetrics.BuildersetSchemaUrl(String value)This schema_url applies to the data in the "resource" field.ResourceMetrics.BuildersetSchemaUrlBytes(com.google.protobuf.ByteString value)This schema_url applies to the data in the "resource" field.ResourceMetrics.BuildersetScopeMetrics(int index, ScopeMetrics value)A list of metrics that originate from a resource.ResourceMetrics.BuildersetScopeMetrics(int index, ScopeMetrics.Builder builderForValue)A list of metrics that originate from a resource.ResourceMetrics.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<ResourceMetrics.Builder>
-
clear
public ResourceMetrics.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<ResourceMetrics.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.GeneratedMessageV3.Builder<ResourceMetrics.Builder>
-
getDefaultInstanceForType
public ResourceMetrics getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public ResourceMetrics build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public ResourceMetrics buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public ResourceMetrics.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<ResourceMetrics.Builder>
-
setField
public ResourceMetrics.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ResourceMetrics.Builder>
-
clearField
public ResourceMetrics.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ResourceMetrics.Builder>
-
clearOneof
public ResourceMetrics.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<ResourceMetrics.Builder>
-
setRepeatedField
public ResourceMetrics.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ResourceMetrics.Builder>
-
addRepeatedField
public ResourceMetrics.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ResourceMetrics.Builder>
-
mergeFrom
public ResourceMetrics.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ResourceMetrics.Builder>
-
mergeFrom
public ResourceMetrics.Builder mergeFrom(ResourceMetrics other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<ResourceMetrics.Builder>
-
mergeFrom
public ResourceMetrics.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<ResourceMetrics.Builder>- Throws:
IOException
-
hasResource
public boolean hasResource()
The resource for the metrics in this message. If this field is not set then no resource info is known.
.opentelemetry.proto.resource.v1.Resource resource = 1;- Specified by:
hasResourcein interfaceResourceMetricsOrBuilder- Returns:
- Whether the resource field is set.
-
getResource
public Resource getResource()
The resource for the metrics in this message. If this field is not set then no resource info is known.
.opentelemetry.proto.resource.v1.Resource resource = 1;- Specified by:
getResourcein interfaceResourceMetricsOrBuilder- Returns:
- The resource.
-
setResource
public ResourceMetrics.Builder setResource(Resource value)
The resource for the metrics in this message. If this field is not set then no resource info is known.
.opentelemetry.proto.resource.v1.Resource resource = 1;
-
setResource
public ResourceMetrics.Builder setResource(Resource.Builder builderForValue)
The resource for the metrics in this message. If this field is not set then no resource info is known.
.opentelemetry.proto.resource.v1.Resource resource = 1;
-
mergeResource
public ResourceMetrics.Builder mergeResource(Resource value)
The resource for the metrics in this message. If this field is not set then no resource info is known.
.opentelemetry.proto.resource.v1.Resource resource = 1;
-
clearResource
public ResourceMetrics.Builder clearResource()
The resource for the metrics in this message. If this field is not set then no resource info is known.
.opentelemetry.proto.resource.v1.Resource resource = 1;
-
getResourceBuilder
public Resource.Builder getResourceBuilder()
The resource for the metrics in this message. If this field is not set then no resource info is known.
.opentelemetry.proto.resource.v1.Resource resource = 1;
-
getResourceOrBuilder
public ResourceOrBuilder getResourceOrBuilder()
The resource for the metrics in this message. If this field is not set then no resource info is known.
.opentelemetry.proto.resource.v1.Resource resource = 1;- Specified by:
getResourceOrBuilderin interfaceResourceMetricsOrBuilder
-
getScopeMetricsList
public List<ScopeMetrics> getScopeMetricsList()
A list of metrics that originate from a resource.
repeated .opentelemetry.proto.metrics.v1.ScopeMetrics scope_metrics = 2;- Specified by:
getScopeMetricsListin interfaceResourceMetricsOrBuilder
-
getScopeMetricsCount
public int getScopeMetricsCount()
A list of metrics that originate from a resource.
repeated .opentelemetry.proto.metrics.v1.ScopeMetrics scope_metrics = 2;- Specified by:
getScopeMetricsCountin interfaceResourceMetricsOrBuilder
-
getScopeMetrics
public ScopeMetrics getScopeMetrics(int index)
A list of metrics that originate from a resource.
repeated .opentelemetry.proto.metrics.v1.ScopeMetrics scope_metrics = 2;- Specified by:
getScopeMetricsin interfaceResourceMetricsOrBuilder
-
setScopeMetrics
public ResourceMetrics.Builder setScopeMetrics(int index, ScopeMetrics value)
A list of metrics that originate from a resource.
repeated .opentelemetry.proto.metrics.v1.ScopeMetrics scope_metrics = 2;
-
setScopeMetrics
public ResourceMetrics.Builder setScopeMetrics(int index, ScopeMetrics.Builder builderForValue)
A list of metrics that originate from a resource.
repeated .opentelemetry.proto.metrics.v1.ScopeMetrics scope_metrics = 2;
-
addScopeMetrics
public ResourceMetrics.Builder addScopeMetrics(ScopeMetrics value)
A list of metrics that originate from a resource.
repeated .opentelemetry.proto.metrics.v1.ScopeMetrics scope_metrics = 2;
-
addScopeMetrics
public ResourceMetrics.Builder addScopeMetrics(int index, ScopeMetrics value)
A list of metrics that originate from a resource.
repeated .opentelemetry.proto.metrics.v1.ScopeMetrics scope_metrics = 2;
-
addScopeMetrics
public ResourceMetrics.Builder addScopeMetrics(ScopeMetrics.Builder builderForValue)
A list of metrics that originate from a resource.
repeated .opentelemetry.proto.metrics.v1.ScopeMetrics scope_metrics = 2;
-
addScopeMetrics
public ResourceMetrics.Builder addScopeMetrics(int index, ScopeMetrics.Builder builderForValue)
A list of metrics that originate from a resource.
repeated .opentelemetry.proto.metrics.v1.ScopeMetrics scope_metrics = 2;
-
addAllScopeMetrics
public ResourceMetrics.Builder addAllScopeMetrics(Iterable<? extends ScopeMetrics> values)
A list of metrics that originate from a resource.
repeated .opentelemetry.proto.metrics.v1.ScopeMetrics scope_metrics = 2;
-
clearScopeMetrics
public ResourceMetrics.Builder clearScopeMetrics()
A list of metrics that originate from a resource.
repeated .opentelemetry.proto.metrics.v1.ScopeMetrics scope_metrics = 2;
-
removeScopeMetrics
public ResourceMetrics.Builder removeScopeMetrics(int index)
A list of metrics that originate from a resource.
repeated .opentelemetry.proto.metrics.v1.ScopeMetrics scope_metrics = 2;
-
getScopeMetricsBuilder
public ScopeMetrics.Builder getScopeMetricsBuilder(int index)
A list of metrics that originate from a resource.
repeated .opentelemetry.proto.metrics.v1.ScopeMetrics scope_metrics = 2;
-
getScopeMetricsOrBuilder
public ScopeMetricsOrBuilder getScopeMetricsOrBuilder(int index)
A list of metrics that originate from a resource.
repeated .opentelemetry.proto.metrics.v1.ScopeMetrics scope_metrics = 2;- Specified by:
getScopeMetricsOrBuilderin interfaceResourceMetricsOrBuilder
-
getScopeMetricsOrBuilderList
public List<? extends ScopeMetricsOrBuilder> getScopeMetricsOrBuilderList()
A list of metrics that originate from a resource.
repeated .opentelemetry.proto.metrics.v1.ScopeMetrics scope_metrics = 2;- Specified by:
getScopeMetricsOrBuilderListin interfaceResourceMetricsOrBuilder
-
addScopeMetricsBuilder
public ScopeMetrics.Builder addScopeMetricsBuilder()
A list of metrics that originate from a resource.
repeated .opentelemetry.proto.metrics.v1.ScopeMetrics scope_metrics = 2;
-
addScopeMetricsBuilder
public ScopeMetrics.Builder addScopeMetricsBuilder(int index)
A list of metrics that originate from a resource.
repeated .opentelemetry.proto.metrics.v1.ScopeMetrics scope_metrics = 2;
-
getScopeMetricsBuilderList
public List<ScopeMetrics.Builder> getScopeMetricsBuilderList()
A list of metrics that originate from a resource.
repeated .opentelemetry.proto.metrics.v1.ScopeMetrics scope_metrics = 2;
-
getInstrumentationLibraryMetricsList
@Deprecated public List<InstrumentationLibraryMetrics> getInstrumentationLibraryMetricsList()
Deprecated.A list of InstrumentationLibraryMetrics that originate from a resource. This field is deprecated and will be removed after grace period expires on June 15, 2022. During the grace period the following rules SHOULD be followed: For Binary Protobufs ==================== Binary Protobuf senders SHOULD NOT set instrumentation_library_metrics. Instead scope_metrics SHOULD be set. Binary Protobuf receivers SHOULD check if instrumentation_library_metrics is set and scope_metrics is not set then the value in instrumentation_library_metrics SHOULD be used instead by converting InstrumentationLibraryMetrics into ScopeMetrics. If scope_metrics is set then instrumentation_library_metrics SHOULD be ignored. For JSON ======== JSON senders that set instrumentation_library_metrics field MAY also set scope_metrics to carry the same metrics, essentially double-publishing the same data. Such double-publishing MAY be controlled by a user-settable option. If double-publishing is not used then the senders SHOULD set scope_metrics and SHOULD NOT set instrumentation_library_metrics. JSON receivers SHOULD check if instrumentation_library_metrics is set and scope_metrics is not set then the value in instrumentation_library_metrics SHOULD be used instead by converting InstrumentationLibraryMetrics into ScopeMetrics. If scope_metrics is set then instrumentation_library_metrics field SHOULD be ignored.
repeated .opentelemetry.proto.metrics.v1.InstrumentationLibraryMetrics instrumentation_library_metrics = 1000 [deprecated = true];- Specified by:
getInstrumentationLibraryMetricsListin interfaceResourceMetricsOrBuilder
-
getInstrumentationLibraryMetricsCount
@Deprecated public int getInstrumentationLibraryMetricsCount()
Deprecated.A list of InstrumentationLibraryMetrics that originate from a resource. This field is deprecated and will be removed after grace period expires on June 15, 2022. During the grace period the following rules SHOULD be followed: For Binary Protobufs ==================== Binary Protobuf senders SHOULD NOT set instrumentation_library_metrics. Instead scope_metrics SHOULD be set. Binary Protobuf receivers SHOULD check if instrumentation_library_metrics is set and scope_metrics is not set then the value in instrumentation_library_metrics SHOULD be used instead by converting InstrumentationLibraryMetrics into ScopeMetrics. If scope_metrics is set then instrumentation_library_metrics SHOULD be ignored. For JSON ======== JSON senders that set instrumentation_library_metrics field MAY also set scope_metrics to carry the same metrics, essentially double-publishing the same data. Such double-publishing MAY be controlled by a user-settable option. If double-publishing is not used then the senders SHOULD set scope_metrics and SHOULD NOT set instrumentation_library_metrics. JSON receivers SHOULD check if instrumentation_library_metrics is set and scope_metrics is not set then the value in instrumentation_library_metrics SHOULD be used instead by converting InstrumentationLibraryMetrics into ScopeMetrics. If scope_metrics is set then instrumentation_library_metrics field SHOULD be ignored.
repeated .opentelemetry.proto.metrics.v1.InstrumentationLibraryMetrics instrumentation_library_metrics = 1000 [deprecated = true];- Specified by:
getInstrumentationLibraryMetricsCountin interfaceResourceMetricsOrBuilder
-
getInstrumentationLibraryMetrics
@Deprecated public InstrumentationLibraryMetrics getInstrumentationLibraryMetrics(int index)
Deprecated.A list of InstrumentationLibraryMetrics that originate from a resource. This field is deprecated and will be removed after grace period expires on June 15, 2022. During the grace period the following rules SHOULD be followed: For Binary Protobufs ==================== Binary Protobuf senders SHOULD NOT set instrumentation_library_metrics. Instead scope_metrics SHOULD be set. Binary Protobuf receivers SHOULD check if instrumentation_library_metrics is set and scope_metrics is not set then the value in instrumentation_library_metrics SHOULD be used instead by converting InstrumentationLibraryMetrics into ScopeMetrics. If scope_metrics is set then instrumentation_library_metrics SHOULD be ignored. For JSON ======== JSON senders that set instrumentation_library_metrics field MAY also set scope_metrics to carry the same metrics, essentially double-publishing the same data. Such double-publishing MAY be controlled by a user-settable option. If double-publishing is not used then the senders SHOULD set scope_metrics and SHOULD NOT set instrumentation_library_metrics. JSON receivers SHOULD check if instrumentation_library_metrics is set and scope_metrics is not set then the value in instrumentation_library_metrics SHOULD be used instead by converting InstrumentationLibraryMetrics into ScopeMetrics. If scope_metrics is set then instrumentation_library_metrics field SHOULD be ignored.
repeated .opentelemetry.proto.metrics.v1.InstrumentationLibraryMetrics instrumentation_library_metrics = 1000 [deprecated = true];- Specified by:
getInstrumentationLibraryMetricsin interfaceResourceMetricsOrBuilder
-
setInstrumentationLibraryMetrics
@Deprecated public ResourceMetrics.Builder setInstrumentationLibraryMetrics(int index, InstrumentationLibraryMetrics value)
Deprecated.A list of InstrumentationLibraryMetrics that originate from a resource. This field is deprecated and will be removed after grace period expires on June 15, 2022. During the grace period the following rules SHOULD be followed: For Binary Protobufs ==================== Binary Protobuf senders SHOULD NOT set instrumentation_library_metrics. Instead scope_metrics SHOULD be set. Binary Protobuf receivers SHOULD check if instrumentation_library_metrics is set and scope_metrics is not set then the value in instrumentation_library_metrics SHOULD be used instead by converting InstrumentationLibraryMetrics into ScopeMetrics. If scope_metrics is set then instrumentation_library_metrics SHOULD be ignored. For JSON ======== JSON senders that set instrumentation_library_metrics field MAY also set scope_metrics to carry the same metrics, essentially double-publishing the same data. Such double-publishing MAY be controlled by a user-settable option. If double-publishing is not used then the senders SHOULD set scope_metrics and SHOULD NOT set instrumentation_library_metrics. JSON receivers SHOULD check if instrumentation_library_metrics is set and scope_metrics is not set then the value in instrumentation_library_metrics SHOULD be used instead by converting InstrumentationLibraryMetrics into ScopeMetrics. If scope_metrics is set then instrumentation_library_metrics field SHOULD be ignored.
repeated .opentelemetry.proto.metrics.v1.InstrumentationLibraryMetrics instrumentation_library_metrics = 1000 [deprecated = true];
-
setInstrumentationLibraryMetrics
@Deprecated public ResourceMetrics.Builder setInstrumentationLibraryMetrics(int index, InstrumentationLibraryMetrics.Builder builderForValue)
Deprecated.A list of InstrumentationLibraryMetrics that originate from a resource. This field is deprecated and will be removed after grace period expires on June 15, 2022. During the grace period the following rules SHOULD be followed: For Binary Protobufs ==================== Binary Protobuf senders SHOULD NOT set instrumentation_library_metrics. Instead scope_metrics SHOULD be set. Binary Protobuf receivers SHOULD check if instrumentation_library_metrics is set and scope_metrics is not set then the value in instrumentation_library_metrics SHOULD be used instead by converting InstrumentationLibraryMetrics into ScopeMetrics. If scope_metrics is set then instrumentation_library_metrics SHOULD be ignored. For JSON ======== JSON senders that set instrumentation_library_metrics field MAY also set scope_metrics to carry the same metrics, essentially double-publishing the same data. Such double-publishing MAY be controlled by a user-settable option. If double-publishing is not used then the senders SHOULD set scope_metrics and SHOULD NOT set instrumentation_library_metrics. JSON receivers SHOULD check if instrumentation_library_metrics is set and scope_metrics is not set then the value in instrumentation_library_metrics SHOULD be used instead by converting InstrumentationLibraryMetrics into ScopeMetrics. If scope_metrics is set then instrumentation_library_metrics field SHOULD be ignored.
repeated .opentelemetry.proto.metrics.v1.InstrumentationLibraryMetrics instrumentation_library_metrics = 1000 [deprecated = true];
-
addInstrumentationLibraryMetrics
@Deprecated public ResourceMetrics.Builder addInstrumentationLibraryMetrics(InstrumentationLibraryMetrics value)
Deprecated.A list of InstrumentationLibraryMetrics that originate from a resource. This field is deprecated and will be removed after grace period expires on June 15, 2022. During the grace period the following rules SHOULD be followed: For Binary Protobufs ==================== Binary Protobuf senders SHOULD NOT set instrumentation_library_metrics. Instead scope_metrics SHOULD be set. Binary Protobuf receivers SHOULD check if instrumentation_library_metrics is set and scope_metrics is not set then the value in instrumentation_library_metrics SHOULD be used instead by converting InstrumentationLibraryMetrics into ScopeMetrics. If scope_metrics is set then instrumentation_library_metrics SHOULD be ignored. For JSON ======== JSON senders that set instrumentation_library_metrics field MAY also set scope_metrics to carry the same metrics, essentially double-publishing the same data. Such double-publishing MAY be controlled by a user-settable option. If double-publishing is not used then the senders SHOULD set scope_metrics and SHOULD NOT set instrumentation_library_metrics. JSON receivers SHOULD check if instrumentation_library_metrics is set and scope_metrics is not set then the value in instrumentation_library_metrics SHOULD be used instead by converting InstrumentationLibraryMetrics into ScopeMetrics. If scope_metrics is set then instrumentation_library_metrics field SHOULD be ignored.
repeated .opentelemetry.proto.metrics.v1.InstrumentationLibraryMetrics instrumentation_library_metrics = 1000 [deprecated = true];
-
addInstrumentationLibraryMetrics
@Deprecated public ResourceMetrics.Builder addInstrumentationLibraryMetrics(int index, InstrumentationLibraryMetrics value)
Deprecated.A list of InstrumentationLibraryMetrics that originate from a resource. This field is deprecated and will be removed after grace period expires on June 15, 2022. During the grace period the following rules SHOULD be followed: For Binary Protobufs ==================== Binary Protobuf senders SHOULD NOT set instrumentation_library_metrics. Instead scope_metrics SHOULD be set. Binary Protobuf receivers SHOULD check if instrumentation_library_metrics is set and scope_metrics is not set then the value in instrumentation_library_metrics SHOULD be used instead by converting InstrumentationLibraryMetrics into ScopeMetrics. If scope_metrics is set then instrumentation_library_metrics SHOULD be ignored. For JSON ======== JSON senders that set instrumentation_library_metrics field MAY also set scope_metrics to carry the same metrics, essentially double-publishing the same data. Such double-publishing MAY be controlled by a user-settable option. If double-publishing is not used then the senders SHOULD set scope_metrics and SHOULD NOT set instrumentation_library_metrics. JSON receivers SHOULD check if instrumentation_library_metrics is set and scope_metrics is not set then the value in instrumentation_library_metrics SHOULD be used instead by converting InstrumentationLibraryMetrics into ScopeMetrics. If scope_metrics is set then instrumentation_library_metrics field SHOULD be ignored.
repeated .opentelemetry.proto.metrics.v1.InstrumentationLibraryMetrics instrumentation_library_metrics = 1000 [deprecated = true];
-
addInstrumentationLibraryMetrics
@Deprecated public ResourceMetrics.Builder addInstrumentationLibraryMetrics(InstrumentationLibraryMetrics.Builder builderForValue)
Deprecated.A list of InstrumentationLibraryMetrics that originate from a resource. This field is deprecated and will be removed after grace period expires on June 15, 2022. During the grace period the following rules SHOULD be followed: For Binary Protobufs ==================== Binary Protobuf senders SHOULD NOT set instrumentation_library_metrics. Instead scope_metrics SHOULD be set. Binary Protobuf receivers SHOULD check if instrumentation_library_metrics is set and scope_metrics is not set then the value in instrumentation_library_metrics SHOULD be used instead by converting InstrumentationLibraryMetrics into ScopeMetrics. If scope_metrics is set then instrumentation_library_metrics SHOULD be ignored. For JSON ======== JSON senders that set instrumentation_library_metrics field MAY also set scope_metrics to carry the same metrics, essentially double-publishing the same data. Such double-publishing MAY be controlled by a user-settable option. If double-publishing is not used then the senders SHOULD set scope_metrics and SHOULD NOT set instrumentation_library_metrics. JSON receivers SHOULD check if instrumentation_library_metrics is set and scope_metrics is not set then the value in instrumentation_library_metrics SHOULD be used instead by converting InstrumentationLibraryMetrics into ScopeMetrics. If scope_metrics is set then instrumentation_library_metrics field SHOULD be ignored.
repeated .opentelemetry.proto.metrics.v1.InstrumentationLibraryMetrics instrumentation_library_metrics = 1000 [deprecated = true];
-
addInstrumentationLibraryMetrics
@Deprecated public ResourceMetrics.Builder addInstrumentationLibraryMetrics(int index, InstrumentationLibraryMetrics.Builder builderForValue)
Deprecated.A list of InstrumentationLibraryMetrics that originate from a resource. This field is deprecated and will be removed after grace period expires on June 15, 2022. During the grace period the following rules SHOULD be followed: For Binary Protobufs ==================== Binary Protobuf senders SHOULD NOT set instrumentation_library_metrics. Instead scope_metrics SHOULD be set. Binary Protobuf receivers SHOULD check if instrumentation_library_metrics is set and scope_metrics is not set then the value in instrumentation_library_metrics SHOULD be used instead by converting InstrumentationLibraryMetrics into ScopeMetrics. If scope_metrics is set then instrumentation_library_metrics SHOULD be ignored. For JSON ======== JSON senders that set instrumentation_library_metrics field MAY also set scope_metrics to carry the same metrics, essentially double-publishing the same data. Such double-publishing MAY be controlled by a user-settable option. If double-publishing is not used then the senders SHOULD set scope_metrics and SHOULD NOT set instrumentation_library_metrics. JSON receivers SHOULD check if instrumentation_library_metrics is set and scope_metrics is not set then the value in instrumentation_library_metrics SHOULD be used instead by converting InstrumentationLibraryMetrics into ScopeMetrics. If scope_metrics is set then instrumentation_library_metrics field SHOULD be ignored.
repeated .opentelemetry.proto.metrics.v1.InstrumentationLibraryMetrics instrumentation_library_metrics = 1000 [deprecated = true];
-
addAllInstrumentationLibraryMetrics
@Deprecated public ResourceMetrics.Builder addAllInstrumentationLibraryMetrics(Iterable<? extends InstrumentationLibraryMetrics> values)
Deprecated.A list of InstrumentationLibraryMetrics that originate from a resource. This field is deprecated and will be removed after grace period expires on June 15, 2022. During the grace period the following rules SHOULD be followed: For Binary Protobufs ==================== Binary Protobuf senders SHOULD NOT set instrumentation_library_metrics. Instead scope_metrics SHOULD be set. Binary Protobuf receivers SHOULD check if instrumentation_library_metrics is set and scope_metrics is not set then the value in instrumentation_library_metrics SHOULD be used instead by converting InstrumentationLibraryMetrics into ScopeMetrics. If scope_metrics is set then instrumentation_library_metrics SHOULD be ignored. For JSON ======== JSON senders that set instrumentation_library_metrics field MAY also set scope_metrics to carry the same metrics, essentially double-publishing the same data. Such double-publishing MAY be controlled by a user-settable option. If double-publishing is not used then the senders SHOULD set scope_metrics and SHOULD NOT set instrumentation_library_metrics. JSON receivers SHOULD check if instrumentation_library_metrics is set and scope_metrics is not set then the value in instrumentation_library_metrics SHOULD be used instead by converting InstrumentationLibraryMetrics into ScopeMetrics. If scope_metrics is set then instrumentation_library_metrics field SHOULD be ignored.
repeated .opentelemetry.proto.metrics.v1.InstrumentationLibraryMetrics instrumentation_library_metrics = 1000 [deprecated = true];
-
clearInstrumentationLibraryMetrics
@Deprecated public ResourceMetrics.Builder clearInstrumentationLibraryMetrics()
Deprecated.A list of InstrumentationLibraryMetrics that originate from a resource. This field is deprecated and will be removed after grace period expires on June 15, 2022. During the grace period the following rules SHOULD be followed: For Binary Protobufs ==================== Binary Protobuf senders SHOULD NOT set instrumentation_library_metrics. Instead scope_metrics SHOULD be set. Binary Protobuf receivers SHOULD check if instrumentation_library_metrics is set and scope_metrics is not set then the value in instrumentation_library_metrics SHOULD be used instead by converting InstrumentationLibraryMetrics into ScopeMetrics. If scope_metrics is set then instrumentation_library_metrics SHOULD be ignored. For JSON ======== JSON senders that set instrumentation_library_metrics field MAY also set scope_metrics to carry the same metrics, essentially double-publishing the same data. Such double-publishing MAY be controlled by a user-settable option. If double-publishing is not used then the senders SHOULD set scope_metrics and SHOULD NOT set instrumentation_library_metrics. JSON receivers SHOULD check if instrumentation_library_metrics is set and scope_metrics is not set then the value in instrumentation_library_metrics SHOULD be used instead by converting InstrumentationLibraryMetrics into ScopeMetrics. If scope_metrics is set then instrumentation_library_metrics field SHOULD be ignored.
repeated .opentelemetry.proto.metrics.v1.InstrumentationLibraryMetrics instrumentation_library_metrics = 1000 [deprecated = true];
-
removeInstrumentationLibraryMetrics
@Deprecated public ResourceMetrics.Builder removeInstrumentationLibraryMetrics(int index)
Deprecated.A list of InstrumentationLibraryMetrics that originate from a resource. This field is deprecated and will be removed after grace period expires on June 15, 2022. During the grace period the following rules SHOULD be followed: For Binary Protobufs ==================== Binary Protobuf senders SHOULD NOT set instrumentation_library_metrics. Instead scope_metrics SHOULD be set. Binary Protobuf receivers SHOULD check if instrumentation_library_metrics is set and scope_metrics is not set then the value in instrumentation_library_metrics SHOULD be used instead by converting InstrumentationLibraryMetrics into ScopeMetrics. If scope_metrics is set then instrumentation_library_metrics SHOULD be ignored. For JSON ======== JSON senders that set instrumentation_library_metrics field MAY also set scope_metrics to carry the same metrics, essentially double-publishing the same data. Such double-publishing MAY be controlled by a user-settable option. If double-publishing is not used then the senders SHOULD set scope_metrics and SHOULD NOT set instrumentation_library_metrics. JSON receivers SHOULD check if instrumentation_library_metrics is set and scope_metrics is not set then the value in instrumentation_library_metrics SHOULD be used instead by converting InstrumentationLibraryMetrics into ScopeMetrics. If scope_metrics is set then instrumentation_library_metrics field SHOULD be ignored.
repeated .opentelemetry.proto.metrics.v1.InstrumentationLibraryMetrics instrumentation_library_metrics = 1000 [deprecated = true];
-
getInstrumentationLibraryMetricsBuilder
@Deprecated public InstrumentationLibraryMetrics.Builder getInstrumentationLibraryMetricsBuilder(int index)
Deprecated.A list of InstrumentationLibraryMetrics that originate from a resource. This field is deprecated and will be removed after grace period expires on June 15, 2022. During the grace period the following rules SHOULD be followed: For Binary Protobufs ==================== Binary Protobuf senders SHOULD NOT set instrumentation_library_metrics. Instead scope_metrics SHOULD be set. Binary Protobuf receivers SHOULD check if instrumentation_library_metrics is set and scope_metrics is not set then the value in instrumentation_library_metrics SHOULD be used instead by converting InstrumentationLibraryMetrics into ScopeMetrics. If scope_metrics is set then instrumentation_library_metrics SHOULD be ignored. For JSON ======== JSON senders that set instrumentation_library_metrics field MAY also set scope_metrics to carry the same metrics, essentially double-publishing the same data. Such double-publishing MAY be controlled by a user-settable option. If double-publishing is not used then the senders SHOULD set scope_metrics and SHOULD NOT set instrumentation_library_metrics. JSON receivers SHOULD check if instrumentation_library_metrics is set and scope_metrics is not set then the value in instrumentation_library_metrics SHOULD be used instead by converting InstrumentationLibraryMetrics into ScopeMetrics. If scope_metrics is set then instrumentation_library_metrics field SHOULD be ignored.
repeated .opentelemetry.proto.metrics.v1.InstrumentationLibraryMetrics instrumentation_library_metrics = 1000 [deprecated = true];
-
getInstrumentationLibraryMetricsOrBuilder
@Deprecated public InstrumentationLibraryMetricsOrBuilder getInstrumentationLibraryMetricsOrBuilder(int index)
Deprecated.A list of InstrumentationLibraryMetrics that originate from a resource. This field is deprecated and will be removed after grace period expires on June 15, 2022. During the grace period the following rules SHOULD be followed: For Binary Protobufs ==================== Binary Protobuf senders SHOULD NOT set instrumentation_library_metrics. Instead scope_metrics SHOULD be set. Binary Protobuf receivers SHOULD check if instrumentation_library_metrics is set and scope_metrics is not set then the value in instrumentation_library_metrics SHOULD be used instead by converting InstrumentationLibraryMetrics into ScopeMetrics. If scope_metrics is set then instrumentation_library_metrics SHOULD be ignored. For JSON ======== JSON senders that set instrumentation_library_metrics field MAY also set scope_metrics to carry the same metrics, essentially double-publishing the same data. Such double-publishing MAY be controlled by a user-settable option. If double-publishing is not used then the senders SHOULD set scope_metrics and SHOULD NOT set instrumentation_library_metrics. JSON receivers SHOULD check if instrumentation_library_metrics is set and scope_metrics is not set then the value in instrumentation_library_metrics SHOULD be used instead by converting InstrumentationLibraryMetrics into ScopeMetrics. If scope_metrics is set then instrumentation_library_metrics field SHOULD be ignored.
repeated .opentelemetry.proto.metrics.v1.InstrumentationLibraryMetrics instrumentation_library_metrics = 1000 [deprecated = true];- Specified by:
getInstrumentationLibraryMetricsOrBuilderin interfaceResourceMetricsOrBuilder
-
getInstrumentationLibraryMetricsOrBuilderList
@Deprecated public List<? extends InstrumentationLibraryMetricsOrBuilder> getInstrumentationLibraryMetricsOrBuilderList()
Deprecated.A list of InstrumentationLibraryMetrics that originate from a resource. This field is deprecated and will be removed after grace period expires on June 15, 2022. During the grace period the following rules SHOULD be followed: For Binary Protobufs ==================== Binary Protobuf senders SHOULD NOT set instrumentation_library_metrics. Instead scope_metrics SHOULD be set. Binary Protobuf receivers SHOULD check if instrumentation_library_metrics is set and scope_metrics is not set then the value in instrumentation_library_metrics SHOULD be used instead by converting InstrumentationLibraryMetrics into ScopeMetrics. If scope_metrics is set then instrumentation_library_metrics SHOULD be ignored. For JSON ======== JSON senders that set instrumentation_library_metrics field MAY also set scope_metrics to carry the same metrics, essentially double-publishing the same data. Such double-publishing MAY be controlled by a user-settable option. If double-publishing is not used then the senders SHOULD set scope_metrics and SHOULD NOT set instrumentation_library_metrics. JSON receivers SHOULD check if instrumentation_library_metrics is set and scope_metrics is not set then the value in instrumentation_library_metrics SHOULD be used instead by converting InstrumentationLibraryMetrics into ScopeMetrics. If scope_metrics is set then instrumentation_library_metrics field SHOULD be ignored.
repeated .opentelemetry.proto.metrics.v1.InstrumentationLibraryMetrics instrumentation_library_metrics = 1000 [deprecated = true];- Specified by:
getInstrumentationLibraryMetricsOrBuilderListin interfaceResourceMetricsOrBuilder
-
addInstrumentationLibraryMetricsBuilder
@Deprecated public InstrumentationLibraryMetrics.Builder addInstrumentationLibraryMetricsBuilder()
Deprecated.A list of InstrumentationLibraryMetrics that originate from a resource. This field is deprecated and will be removed after grace period expires on June 15, 2022. During the grace period the following rules SHOULD be followed: For Binary Protobufs ==================== Binary Protobuf senders SHOULD NOT set instrumentation_library_metrics. Instead scope_metrics SHOULD be set. Binary Protobuf receivers SHOULD check if instrumentation_library_metrics is set and scope_metrics is not set then the value in instrumentation_library_metrics SHOULD be used instead by converting InstrumentationLibraryMetrics into ScopeMetrics. If scope_metrics is set then instrumentation_library_metrics SHOULD be ignored. For JSON ======== JSON senders that set instrumentation_library_metrics field MAY also set scope_metrics to carry the same metrics, essentially double-publishing the same data. Such double-publishing MAY be controlled by a user-settable option. If double-publishing is not used then the senders SHOULD set scope_metrics and SHOULD NOT set instrumentation_library_metrics. JSON receivers SHOULD check if instrumentation_library_metrics is set and scope_metrics is not set then the value in instrumentation_library_metrics SHOULD be used instead by converting InstrumentationLibraryMetrics into ScopeMetrics. If scope_metrics is set then instrumentation_library_metrics field SHOULD be ignored.
repeated .opentelemetry.proto.metrics.v1.InstrumentationLibraryMetrics instrumentation_library_metrics = 1000 [deprecated = true];
-
addInstrumentationLibraryMetricsBuilder
@Deprecated public InstrumentationLibraryMetrics.Builder addInstrumentationLibraryMetricsBuilder(int index)
Deprecated.A list of InstrumentationLibraryMetrics that originate from a resource. This field is deprecated and will be removed after grace period expires on June 15, 2022. During the grace period the following rules SHOULD be followed: For Binary Protobufs ==================== Binary Protobuf senders SHOULD NOT set instrumentation_library_metrics. Instead scope_metrics SHOULD be set. Binary Protobuf receivers SHOULD check if instrumentation_library_metrics is set and scope_metrics is not set then the value in instrumentation_library_metrics SHOULD be used instead by converting InstrumentationLibraryMetrics into ScopeMetrics. If scope_metrics is set then instrumentation_library_metrics SHOULD be ignored. For JSON ======== JSON senders that set instrumentation_library_metrics field MAY also set scope_metrics to carry the same metrics, essentially double-publishing the same data. Such double-publishing MAY be controlled by a user-settable option. If double-publishing is not used then the senders SHOULD set scope_metrics and SHOULD NOT set instrumentation_library_metrics. JSON receivers SHOULD check if instrumentation_library_metrics is set and scope_metrics is not set then the value in instrumentation_library_metrics SHOULD be used instead by converting InstrumentationLibraryMetrics into ScopeMetrics. If scope_metrics is set then instrumentation_library_metrics field SHOULD be ignored.
repeated .opentelemetry.proto.metrics.v1.InstrumentationLibraryMetrics instrumentation_library_metrics = 1000 [deprecated = true];
-
getInstrumentationLibraryMetricsBuilderList
@Deprecated public List<InstrumentationLibraryMetrics.Builder> getInstrumentationLibraryMetricsBuilderList()
Deprecated.A list of InstrumentationLibraryMetrics that originate from a resource. This field is deprecated and will be removed after grace period expires on June 15, 2022. During the grace period the following rules SHOULD be followed: For Binary Protobufs ==================== Binary Protobuf senders SHOULD NOT set instrumentation_library_metrics. Instead scope_metrics SHOULD be set. Binary Protobuf receivers SHOULD check if instrumentation_library_metrics is set and scope_metrics is not set then the value in instrumentation_library_metrics SHOULD be used instead by converting InstrumentationLibraryMetrics into ScopeMetrics. If scope_metrics is set then instrumentation_library_metrics SHOULD be ignored. For JSON ======== JSON senders that set instrumentation_library_metrics field MAY also set scope_metrics to carry the same metrics, essentially double-publishing the same data. Such double-publishing MAY be controlled by a user-settable option. If double-publishing is not used then the senders SHOULD set scope_metrics and SHOULD NOT set instrumentation_library_metrics. JSON receivers SHOULD check if instrumentation_library_metrics is set and scope_metrics is not set then the value in instrumentation_library_metrics SHOULD be used instead by converting InstrumentationLibraryMetrics into ScopeMetrics. If scope_metrics is set then instrumentation_library_metrics field SHOULD be ignored.
repeated .opentelemetry.proto.metrics.v1.InstrumentationLibraryMetrics instrumentation_library_metrics = 1000 [deprecated = true];
-
getSchemaUrl
public String getSchemaUrl()
This schema_url applies to the data in the "resource" field. It does not apply to the data in the "scope_metrics" field which have their own schema_url field.
string schema_url = 3;- Specified by:
getSchemaUrlin interfaceResourceMetricsOrBuilder- Returns:
- The schemaUrl.
-
getSchemaUrlBytes
public com.google.protobuf.ByteString getSchemaUrlBytes()
This schema_url applies to the data in the "resource" field. It does not apply to the data in the "scope_metrics" field which have their own schema_url field.
string schema_url = 3;- Specified by:
getSchemaUrlBytesin interfaceResourceMetricsOrBuilder- Returns:
- The bytes for schemaUrl.
-
setSchemaUrl
public ResourceMetrics.Builder setSchemaUrl(String value)
This schema_url applies to the data in the "resource" field. It does not apply to the data in the "scope_metrics" field which have their own schema_url field.
string schema_url = 3;- Parameters:
value- The schemaUrl to set.- Returns:
- This builder for chaining.
-
clearSchemaUrl
public ResourceMetrics.Builder clearSchemaUrl()
This schema_url applies to the data in the "resource" field. It does not apply to the data in the "scope_metrics" field which have their own schema_url field.
string schema_url = 3;- Returns:
- This builder for chaining.
-
setSchemaUrlBytes
public ResourceMetrics.Builder setSchemaUrlBytes(com.google.protobuf.ByteString value)
This schema_url applies to the data in the "resource" field. It does not apply to the data in the "scope_metrics" field which have their own schema_url field.
string schema_url = 3;- Parameters:
value- The bytes for schemaUrl to set.- Returns:
- This builder for chaining.
-
setUnknownFields
public final ResourceMetrics.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<ResourceMetrics.Builder>
-
mergeUnknownFields
public final ResourceMetrics.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<ResourceMetrics.Builder>
-
-