Interface KeyValueOrBuilder

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

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

    Modifier and Type
    Method
    Description
    The key name of the pair.
    com.google.protobuf.ByteString
    The key name of the pair.
    int
    Reference to the string key in ProfilesDictionary.string_table.
    The value of the pair.
    The value of the pair.
    boolean
    The value of the pair.

    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

    • getKey

      String getKey()
       The key name of the pair.
       key_ref MUST NOT be set if key is used.
       
      string key = 1;
      Returns:
      The key.
    • getKeyBytes

      com.google.protobuf.ByteString getKeyBytes()
       The key name of the pair.
       key_ref MUST NOT be set if key is used.
       
      string key = 1;
      Returns:
      The bytes for key.
    • hasValue

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

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

      AnyValueOrBuilder getValueOrBuilder()
       The value of the pair.
       
      .opentelemetry.proto.common.v1.AnyValue value = 2;
    • getKeyStrindex

      int getKeyStrindex()
       Reference to the string key in ProfilesDictionary.string_table.
       key MUST NOT be set if key_strindex is used.
      
       Note: This is currently used exclusively in the Profiling signal.
       Implementers of OTLP receivers for signals other than Profiling should
       treat the presence of this key as a non-fatal issue.
       Log an error or warning indicating an unexpected field intended for the
       Profiling signal and process the data as if this value were absent or
       empty, ignoring its semantic content for the non-Profiling signal.
      
       Status: [Development]
       
      int32 key_strindex = 3;
      Returns:
      The keyStrindex.