Class SingleMetricAggregateBase

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
org.opensearch.protobufs.SingleMetricAggregateBase
All Implemented Interfaces:
com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable, SingleMetricAggregateBaseOrBuilder

public final class SingleMetricAggregateBase extends com.google.protobuf.GeneratedMessageV3 implements SingleMetricAggregateBaseOrBuilder
Protobuf type org.opensearch.protobufs.SingleMetricAggregateBase
See Also:
  • Field Details

  • Method Details

    • newInstance

      protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
      Overrides:
      newInstance in class com.google.protobuf.GeneratedMessageV3
    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3
    • hasMeta

      public boolean hasMeta()
      optional .org.opensearch.protobufs.ObjectMap meta = 1 [json_name = "meta"];
      Specified by:
      hasMeta in interface SingleMetricAggregateBaseOrBuilder
      Returns:
      Whether the meta field is set.
    • getMeta

      public ObjectMap getMeta()
      optional .org.opensearch.protobufs.ObjectMap meta = 1 [json_name = "meta"];
      Specified by:
      getMeta in interface SingleMetricAggregateBaseOrBuilder
      Returns:
      The meta.
    • getMetaOrBuilder

      public ObjectMapOrBuilder getMetaOrBuilder()
      optional .org.opensearch.protobufs.ObjectMap meta = 1 [json_name = "meta"];
      Specified by:
      getMetaOrBuilder in interface SingleMetricAggregateBaseOrBuilder
    • hasValue

      public boolean hasValue()
      .org.opensearch.protobufs.SingleMetricAggregateBaseAllOfValue value = 2 [json_name = "value"];
      Specified by:
      hasValue in interface SingleMetricAggregateBaseOrBuilder
      Returns:
      Whether the value field is set.
    • getValue

      .org.opensearch.protobufs.SingleMetricAggregateBaseAllOfValue value = 2 [json_name = "value"];
      Specified by:
      getValue in interface SingleMetricAggregateBaseOrBuilder
      Returns:
      The value.
    • getValueOrBuilder

      .org.opensearch.protobufs.SingleMetricAggregateBaseAllOfValue value = 2 [json_name = "value"];
      Specified by:
      getValueOrBuilder in interface SingleMetricAggregateBaseOrBuilder
    • hasValueAsString

      public boolean hasValueAsString()
      optional string value_as_string = 3 [json_name = "valueAsString"];
      Specified by:
      hasValueAsString in interface SingleMetricAggregateBaseOrBuilder
      Returns:
      Whether the valueAsString field is set.
    • getValueAsString

      public String getValueAsString()
      optional string value_as_string = 3 [json_name = "valueAsString"];
      Specified by:
      getValueAsString in interface SingleMetricAggregateBaseOrBuilder
      Returns:
      The valueAsString.
    • getValueAsStringBytes

      public com.google.protobuf.ByteString getValueAsStringBytes()
      optional string value_as_string = 3 [json_name = "valueAsString"];
      Specified by:
      getValueAsStringBytes in interface SingleMetricAggregateBaseOrBuilder
      Returns:
      The bytes for valueAsString.
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessageV3
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessageV3
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessageV3
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.google.protobuf.AbstractMessage
    • parseFrom

      public static SingleMetricAggregateBase parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static SingleMetricAggregateBase parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static SingleMetricAggregateBase parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static SingleMetricAggregateBase parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static SingleMetricAggregateBase parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static SingleMetricAggregateBase parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static SingleMetricAggregateBase parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static SingleMetricAggregateBase parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static SingleMetricAggregateBase parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static SingleMetricAggregateBase parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static SingleMetricAggregateBase parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static SingleMetricAggregateBase parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

      public SingleMetricAggregateBase.Builder newBuilderForType()
      Specified by:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

      public static SingleMetricAggregateBase.Builder newBuilder()
    • newBuilder

      public static SingleMetricAggregateBase.Builder newBuilder(SingleMetricAggregateBase prototype)
    • toBuilder

      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected SingleMetricAggregateBase.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
      Specified by:
      newBuilderForType in class com.google.protobuf.GeneratedMessageV3
    • getDefaultInstance

      public static SingleMetricAggregateBase getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<SingleMetricAggregateBase> parser()
    • getParserForType

      public com.google.protobuf.Parser<SingleMetricAggregateBase> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessageV3
    • getDefaultInstanceForType

      public SingleMetricAggregateBase getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder