Interface ResourceLogsOrBuilder

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

public interface ResourceLogsOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    The resource for the logs in this message.
    The resource for the logs in this message.
    The Schema URL, if known.
    com.google.protobuf.ByteString
    The Schema URL, if known.
    getScopeLogs(int index)
    A list of ScopeLogs that originate from a resource.
    int
    A list of ScopeLogs that originate from a resource.
    A list of ScopeLogs that originate from a resource.
    A list of ScopeLogs that originate from a resource.
    A list of ScopeLogs that originate from a resource.
    boolean
    The resource for the logs in this message.

    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 the logs in this message.
       If this field is not set then resource info is unknown.
       
      .opentelemetry.proto.resource.v1.Resource resource = 1;
      Returns:
      Whether the resource field is set.
    • getResource

      Resource getResource()
       The resource for the logs in this message.
       If this field is not set then resource info is unknown.
       
      .opentelemetry.proto.resource.v1.Resource resource = 1;
      Returns:
      The resource.
    • getResourceOrBuilder

      ResourceOrBuilder getResourceOrBuilder()
       The resource for the logs in this message.
       If this field is not set then resource info is unknown.
       
      .opentelemetry.proto.resource.v1.Resource resource = 1;
    • getScopeLogsList

      List<ScopeLogs> getScopeLogsList()
       A list of ScopeLogs that originate from a resource.
       
      repeated .opentelemetry.proto.logs.v1.ScopeLogs scope_logs = 2;
    • getScopeLogs

      ScopeLogs getScopeLogs(int index)
       A list of ScopeLogs that originate from a resource.
       
      repeated .opentelemetry.proto.logs.v1.ScopeLogs scope_logs = 2;
    • getScopeLogsCount

      int getScopeLogsCount()
       A list of ScopeLogs that originate from a resource.
       
      repeated .opentelemetry.proto.logs.v1.ScopeLogs scope_logs = 2;
    • getScopeLogsOrBuilderList

      List<? extends ScopeLogsOrBuilder> getScopeLogsOrBuilderList()
       A list of ScopeLogs that originate from a resource.
       
      repeated .opentelemetry.proto.logs.v1.ScopeLogs scope_logs = 2;
    • getScopeLogsOrBuilder

      ScopeLogsOrBuilder getScopeLogsOrBuilder(int index)
       A list of ScopeLogs that originate from a resource.
       
      repeated .opentelemetry.proto.logs.v1.ScopeLogs scope_logs = 2;
    • getSchemaUrl

      String getSchemaUrl()
       The Schema URL, if known. This is the identifier of the Schema that the resource data
       is recorded in. To learn more about Schema URL see
       https://opentelemetry.io/docs/specs/otel/schemas/#schema-url
       This schema_url applies to the data in the "resource" field. It does not apply
       to the data in the "scope_logs" field which have their own schema_url field.
       
      string schema_url = 3;
      Returns:
      The schemaUrl.
    • getSchemaUrlBytes

      com.google.protobuf.ByteString getSchemaUrlBytes()
       The Schema URL, if known. This is the identifier of the Schema that the resource data
       is recorded in. To learn more about Schema URL see
       https://opentelemetry.io/docs/specs/otel/schemas/#schema-url
       This schema_url applies to the data in the "resource" field. It does not apply
       to the data in the "scope_logs" field which have their own schema_url field.
       
      string schema_url = 3;
      Returns:
      The bytes for schemaUrl.