Interface KeyValueAndUnitOrBuilder

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

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

    Modifier and Type
    Method
    Description
    int
    int32 key_strindex = 1;
    int
    zero indicates implicit (by semconv) or non-defined unit.
    .opentelemetry.proto.common.v1.AnyValue value = 2;
    .opentelemetry.proto.common.v1.AnyValue value = 2;
    boolean
    .opentelemetry.proto.common.v1.AnyValue value = 2;

    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

    • getKeyStrindex

      int getKeyStrindex()
      int32 key_strindex = 1;
      Returns:
      The keyStrindex.
    • hasValue

      boolean hasValue()
      .opentelemetry.proto.common.v1.AnyValue value = 2;
      Returns:
      Whether the value field is set.
    • getValue

      AnyValue getValue()
      .opentelemetry.proto.common.v1.AnyValue value = 2;
      Returns:
      The value.
    • getValueOrBuilder

      AnyValueOrBuilder getValueOrBuilder()
      .opentelemetry.proto.common.v1.AnyValue value = 2;
    • getUnitStrindex

      int getUnitStrindex()
       zero indicates implicit (by semconv) or non-defined unit.
       
      int32 unit_strindex = 3;
      Returns:
      The unitStrindex.