Class AutoValue_LogLimits

java.lang.Object
io.opentelemetry.sdk.logs.LogLimits
io.opentelemetry.sdk.logs.AutoValue_LogLimits

final class AutoValue_LogLimits extends LogLimits
  • Field Details

    • maxNumberOfAttributes

      private final int maxNumberOfAttributes
    • maxAttributeValueLength

      private final int maxAttributeValueLength
  • Constructor Details

    • AutoValue_LogLimits

      AutoValue_LogLimits(int maxNumberOfAttributes, int maxAttributeValueLength)
  • Method Details

    • getMaxNumberOfAttributes

      public int getMaxNumberOfAttributes()
      Description copied from class: LogLimits
      Returns the max number of attributes per LogRecordData.
      Specified by:
      getMaxNumberOfAttributes in class LogLimits
      Returns:
      the max number of attributes per LogRecordData.
    • getMaxAttributeValueLength

      public int getMaxAttributeValueLength()
      Description copied from class: LogLimits
      Returns the max number of characters for string attribute values. For string array attribute values, applies to each entry individually.
      Specified by:
      getMaxAttributeValueLength in class LogLimits
      Returns:
      the max number of characters for attribute strings.
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object