Interface ResourceOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Resource,Resource.Builder
@Generated
public interface ResourceOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptiongetAttributes(int index) Set of attributes that describe the resource.intSet of attributes that describe the resource.Set of attributes that describe the resource.getAttributesOrBuilder(int index) Set of attributes that describe the resource.List<? extends KeyValueOrBuilder>Set of attributes that describe the resource.intdropped_attributes_count is the number of dropped attributes.getEntityRefs(int index) Set of entities that participate in this Resource.intSet of entities that participate in this Resource.Set of entities that participate in this Resource.getEntityRefsOrBuilder(int index) Set of entities that participate in this Resource.List<? extends EntityRefOrBuilder>Set of entities that participate in this Resource.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getAttributesList
Set of attributes that describe the resource. Attribute keys MUST be unique (it is not allowed to have more than one attribute with the same key). The attribute values SHOULD NOT contain empty values. The attribute values SHOULD NOT contain bytes values. The attribute values SHOULD NOT contain array values different than array of string values, bool values, int values, double values. The attribute values SHOULD NOT contain kvlist values. The behavior of software that receives attributes containing such values can be unpredictable. These restrictions can change in a minor release. The restrictions take origin from the OpenTelemetry specification: https://github.com/open-telemetry/opentelemetry-specification/blob/v1.47.0/specification/common/README.md#attribute.
repeated .opentelemetry.proto.common.v1.KeyValue attributes = 1; -
getAttributes
Set of attributes that describe the resource. Attribute keys MUST be unique (it is not allowed to have more than one attribute with the same key). The attribute values SHOULD NOT contain empty values. The attribute values SHOULD NOT contain bytes values. The attribute values SHOULD NOT contain array values different than array of string values, bool values, int values, double values. The attribute values SHOULD NOT contain kvlist values. The behavior of software that receives attributes containing such values can be unpredictable. These restrictions can change in a minor release. The restrictions take origin from the OpenTelemetry specification: https://github.com/open-telemetry/opentelemetry-specification/blob/v1.47.0/specification/common/README.md#attribute.
repeated .opentelemetry.proto.common.v1.KeyValue attributes = 1; -
getAttributesCount
int getAttributesCount()Set of attributes that describe the resource. Attribute keys MUST be unique (it is not allowed to have more than one attribute with the same key). The attribute values SHOULD NOT contain empty values. The attribute values SHOULD NOT contain bytes values. The attribute values SHOULD NOT contain array values different than array of string values, bool values, int values, double values. The attribute values SHOULD NOT contain kvlist values. The behavior of software that receives attributes containing such values can be unpredictable. These restrictions can change in a minor release. The restrictions take origin from the OpenTelemetry specification: https://github.com/open-telemetry/opentelemetry-specification/blob/v1.47.0/specification/common/README.md#attribute.
repeated .opentelemetry.proto.common.v1.KeyValue attributes = 1; -
getAttributesOrBuilderList
List<? extends KeyValueOrBuilder> getAttributesOrBuilderList()Set of attributes that describe the resource. Attribute keys MUST be unique (it is not allowed to have more than one attribute with the same key). The attribute values SHOULD NOT contain empty values. The attribute values SHOULD NOT contain bytes values. The attribute values SHOULD NOT contain array values different than array of string values, bool values, int values, double values. The attribute values SHOULD NOT contain kvlist values. The behavior of software that receives attributes containing such values can be unpredictable. These restrictions can change in a minor release. The restrictions take origin from the OpenTelemetry specification: https://github.com/open-telemetry/opentelemetry-specification/blob/v1.47.0/specification/common/README.md#attribute.
repeated .opentelemetry.proto.common.v1.KeyValue attributes = 1; -
getAttributesOrBuilder
Set of attributes that describe the resource. Attribute keys MUST be unique (it is not allowed to have more than one attribute with the same key). The attribute values SHOULD NOT contain empty values. The attribute values SHOULD NOT contain bytes values. The attribute values SHOULD NOT contain array values different than array of string values, bool values, int values, double values. The attribute values SHOULD NOT contain kvlist values. The behavior of software that receives attributes containing such values can be unpredictable. These restrictions can change in a minor release. The restrictions take origin from the OpenTelemetry specification: https://github.com/open-telemetry/opentelemetry-specification/blob/v1.47.0/specification/common/README.md#attribute.
repeated .opentelemetry.proto.common.v1.KeyValue attributes = 1; -
getDroppedAttributesCount
int getDroppedAttributesCount()dropped_attributes_count is the number of dropped attributes. If the value is 0, then no attributes were dropped.
uint32 dropped_attributes_count = 2;- Returns:
- The droppedAttributesCount.
-
getEntityRefsList
Set of entities that participate in this Resource. Note: keys in the references MUST exist in attributes of this message. Status: [Development]
repeated .opentelemetry.proto.common.v1.EntityRef entity_refs = 3; -
getEntityRefs
Set of entities that participate in this Resource. Note: keys in the references MUST exist in attributes of this message. Status: [Development]
repeated .opentelemetry.proto.common.v1.EntityRef entity_refs = 3; -
getEntityRefsCount
int getEntityRefsCount()Set of entities that participate in this Resource. Note: keys in the references MUST exist in attributes of this message. Status: [Development]
repeated .opentelemetry.proto.common.v1.EntityRef entity_refs = 3; -
getEntityRefsOrBuilderList
List<? extends EntityRefOrBuilder> getEntityRefsOrBuilderList()Set of entities that participate in this Resource. Note: keys in the references MUST exist in attributes of this message. Status: [Development]
repeated .opentelemetry.proto.common.v1.EntityRef entity_refs = 3; -
getEntityRefsOrBuilder
Set of entities that participate in this Resource. Note: keys in the references MUST exist in attributes of this message. Status: [Development]
repeated .opentelemetry.proto.common.v1.EntityRef entity_refs = 3;
-