Interface ProcessContextOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
ProcessContext, ProcessContext.Builder

@Generated public interface ProcessContextOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    getAttributes(int index)
    Additional attributes to share with external readers that are not part of the standard Resource.
    int
    Additional attributes to share with external readers that are not part of the standard Resource.
    Additional attributes to share with external readers that are not part of the standard Resource.
    Additional attributes to share with external readers that are not part of the standard Resource.
    Additional attributes to share with external readers that are not part of the standard Resource.
    The resource for this process.
    The resource for this process.
    boolean
    The resource for this process.

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    isInitialized

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • Method Details

    • hasResource

      boolean hasResource()
       The resource for this process.
       If this field is not set then no resource info is known.
       
      .opentelemetry.proto.resource.v1.Resource resource = 1;
      Returns:
      Whether the resource field is set.
    • getResource

      Resource getResource()
       The resource for this process.
       If this field is not set then no resource info is known.
       
      .opentelemetry.proto.resource.v1.Resource resource = 1;
      Returns:
      The resource.
    • getResourceOrBuilder

      ResourceOrBuilder getResourceOrBuilder()
       The resource for this process.
       If this field is not set then no resource info is known.
       
      .opentelemetry.proto.resource.v1.Resource resource = 1;
    • getAttributesList

      List<KeyValue> getAttributesList()
       Additional attributes to share with external readers that are not part of
       the standard Resource. [Optional]
      
       This field allows publishers to include supplementary key-value pairs that
       may be useful for external readers but are not part of the SDK's configured
       Resource.
      
       Consider adding any keys here to the profiles semantic conventions in
       https://opentelemetry.io/docs/specs/semconv/general/profiles/
       
      repeated .opentelemetry.proto.common.v1.KeyValue attributes = 2;
    • getAttributes

      KeyValue getAttributes(int index)
       Additional attributes to share with external readers that are not part of
       the standard Resource. [Optional]
      
       This field allows publishers to include supplementary key-value pairs that
       may be useful for external readers but are not part of the SDK's configured
       Resource.
      
       Consider adding any keys here to the profiles semantic conventions in
       https://opentelemetry.io/docs/specs/semconv/general/profiles/
       
      repeated .opentelemetry.proto.common.v1.KeyValue attributes = 2;
    • getAttributesCount

      int getAttributesCount()
       Additional attributes to share with external readers that are not part of
       the standard Resource. [Optional]
      
       This field allows publishers to include supplementary key-value pairs that
       may be useful for external readers but are not part of the SDK's configured
       Resource.
      
       Consider adding any keys here to the profiles semantic conventions in
       https://opentelemetry.io/docs/specs/semconv/general/profiles/
       
      repeated .opentelemetry.proto.common.v1.KeyValue attributes = 2;
    • getAttributesOrBuilderList

      List<? extends KeyValueOrBuilder> getAttributesOrBuilderList()
       Additional attributes to share with external readers that are not part of
       the standard Resource. [Optional]
      
       This field allows publishers to include supplementary key-value pairs that
       may be useful for external readers but are not part of the SDK's configured
       Resource.
      
       Consider adding any keys here to the profiles semantic conventions in
       https://opentelemetry.io/docs/specs/semconv/general/profiles/
       
      repeated .opentelemetry.proto.common.v1.KeyValue attributes = 2;
    • getAttributesOrBuilder

      KeyValueOrBuilder getAttributesOrBuilder(int index)
       Additional attributes to share with external readers that are not part of
       the standard Resource. [Optional]
      
       This field allows publishers to include supplementary key-value pairs that
       may be useful for external readers but are not part of the SDK's configured
       Resource.
      
       Consider adding any keys here to the profiles semantic conventions in
       https://opentelemetry.io/docs/specs/semconv/general/profiles/
       
      repeated .opentelemetry.proto.common.v1.KeyValue attributes = 2;