Interface ResourceOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Resource,Resource.Builder
public interface ResourceOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description KeyValuegetAttributes(int index)Set of labels that describe the resource.intgetAttributesCount()Set of labels that describe the resource.List<KeyValue>getAttributesList()Set of labels that describe the resource.KeyValueOrBuildergetAttributesOrBuilder(int index)Set of labels that describe the resource.List<? extends KeyValueOrBuilder>getAttributesOrBuilderList()Set of labels that describe the resource.intgetDroppedAttributesCount()dropped_attributes_count is the number of dropped attributes.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getAttributesList
List<KeyValue> getAttributesList()
Set of labels that describe the resource.
repeated .opentelemetry.proto.common.v1.KeyValue attributes = 1;
-
getAttributes
KeyValue getAttributes(int index)
Set of labels that describe the resource.
repeated .opentelemetry.proto.common.v1.KeyValue attributes = 1;
-
getAttributesCount
int getAttributesCount()
Set of labels that describe the resource.
repeated .opentelemetry.proto.common.v1.KeyValue attributes = 1;
-
getAttributesOrBuilderList
List<? extends KeyValueOrBuilder> getAttributesOrBuilderList()
Set of labels that describe the resource.
repeated .opentelemetry.proto.common.v1.KeyValue attributes = 1;
-
getAttributesOrBuilder
KeyValueOrBuilder getAttributesOrBuilder(int index)
Set of labels that describe the resource.
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;
-
-