Class Aggregate

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

public final class Aggregate extends com.google.protobuf.GeneratedMessageV3 implements AggregateOrBuilder
Protobuf type org.opensearch.protobufs.Aggregate
See Also:
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static final class 
    Protobuf type org.opensearch.protobufs.Aggregate

    Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3

    com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter

    Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite

    com.google.protobuf.AbstractMessageLite.InternalOneOfEnum
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     

    Fields inherited from class com.google.protobuf.GeneratedMessageV3

    alwaysUseFieldBuilders, unknownFields

    Fields inherited from class com.google.protobuf.AbstractMessage

    memoizedSize

    Fields inherited from class com.google.protobuf.AbstractMessageLite

    memoizedHashCode
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
     
    static Aggregate
     
     
    static final com.google.protobuf.Descriptors.Descriptor
     
    optional .org.opensearch.protobufs.DoubleTermsAggregate dterms = 1 [json_name = "dterms"];
    optional .org.opensearch.protobufs.DoubleTermsAggregate dterms = 1 [json_name = "dterms"];
    optional .org.opensearch.protobufs.LongTermsAggregate lterms = 2 [json_name = "lterms"];
    optional .org.opensearch.protobufs.LongTermsAggregate lterms = 2 [json_name = "lterms"];
    optional .org.opensearch.protobufs.SingleMetricAggregateBase max = 3 [json_name = "max"];
    optional .org.opensearch.protobufs.SingleMetricAggregateBase max = 3 [json_name = "max"];
    optional .org.opensearch.protobufs.SingleMetricAggregateBase min = 4 [json_name = "min"];
    optional .org.opensearch.protobufs.SingleMetricAggregateBase min = 4 [json_name = "min"];
    com.google.protobuf.Parser<Aggregate>
     
    int
     
    optional .org.opensearch.protobufs.StringTermsAggregate sterms = 5 [json_name = "sterms"];
    optional .org.opensearch.protobufs.StringTermsAggregate sterms = 5 [json_name = "sterms"];
    optional .org.opensearch.protobufs.UnsignedLongTermsAggregate ulterms = 6 [json_name = "ulterms"];
    optional .org.opensearch.protobufs.UnsignedLongTermsAggregate ulterms = 6 [json_name = "ulterms"];
    optional .org.opensearch.protobufs.UnmappedTermsAggregate umterms = 7 [json_name = "umterms"];
    optional .org.opensearch.protobufs.UnmappedTermsAggregate umterms = 7 [json_name = "umterms"];
    boolean
    optional .org.opensearch.protobufs.DoubleTermsAggregate dterms = 1 [json_name = "dterms"];
    int
     
    boolean
    optional .org.opensearch.protobufs.LongTermsAggregate lterms = 2 [json_name = "lterms"];
    boolean
    optional .org.opensearch.protobufs.SingleMetricAggregateBase max = 3 [json_name = "max"];
    boolean
    optional .org.opensearch.protobufs.SingleMetricAggregateBase min = 4 [json_name = "min"];
    boolean
    optional .org.opensearch.protobufs.StringTermsAggregate sterms = 5 [json_name = "sterms"];
    boolean
    optional .org.opensearch.protobufs.UnsignedLongTermsAggregate ulterms = 6 [json_name = "ulterms"];
    boolean
    optional .org.opensearch.protobufs.UnmappedTermsAggregate umterms = 7 [json_name = "umterms"];
    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
     
    final boolean
     
     
    newBuilder(Aggregate prototype)
     
     
    newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
     
    protected Object
    newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
     
    static Aggregate
     
    static Aggregate
    parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    static Aggregate
    parseFrom(byte[] data)
     
    static Aggregate
    parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    static Aggregate
    parseFrom(com.google.protobuf.ByteString data)
     
    static Aggregate
    parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    static Aggregate
    parseFrom(com.google.protobuf.CodedInputStream input)
     
    static Aggregate
    parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    static Aggregate
     
    static Aggregate
    parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    static Aggregate
     
    static Aggregate
    parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    static com.google.protobuf.Parser<Aggregate>
     
     
    void
    writeTo(com.google.protobuf.CodedOutputStream output)
     

    Methods inherited from class com.google.protobuf.GeneratedMessageV3

    canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag

    Methods inherited from class com.google.protobuf.AbstractMessage

    findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString

    Methods inherited from class com.google.protobuf.AbstractMessageLite

    addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait

    Methods inherited from interface com.google.protobuf.MessageLite

    toByteArray, toByteString, writeDelimitedTo, writeTo

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • 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
    • hasDterms

      public boolean hasDterms()
      optional .org.opensearch.protobufs.DoubleTermsAggregate dterms = 1 [json_name = "dterms"];
      Specified by:
      hasDterms in interface AggregateOrBuilder
      Returns:
      Whether the dterms field is set.
    • getDterms

      public DoubleTermsAggregate getDterms()
      optional .org.opensearch.protobufs.DoubleTermsAggregate dterms = 1 [json_name = "dterms"];
      Specified by:
      getDterms in interface AggregateOrBuilder
      Returns:
      The dterms.
    • getDtermsOrBuilder

      public DoubleTermsAggregateOrBuilder getDtermsOrBuilder()
      optional .org.opensearch.protobufs.DoubleTermsAggregate dterms = 1 [json_name = "dterms"];
      Specified by:
      getDtermsOrBuilder in interface AggregateOrBuilder
    • hasLterms

      public boolean hasLterms()
      optional .org.opensearch.protobufs.LongTermsAggregate lterms = 2 [json_name = "lterms"];
      Specified by:
      hasLterms in interface AggregateOrBuilder
      Returns:
      Whether the lterms field is set.
    • getLterms

      public LongTermsAggregate getLterms()
      optional .org.opensearch.protobufs.LongTermsAggregate lterms = 2 [json_name = "lterms"];
      Specified by:
      getLterms in interface AggregateOrBuilder
      Returns:
      The lterms.
    • getLtermsOrBuilder

      public LongTermsAggregateOrBuilder getLtermsOrBuilder()
      optional .org.opensearch.protobufs.LongTermsAggregate lterms = 2 [json_name = "lterms"];
      Specified by:
      getLtermsOrBuilder in interface AggregateOrBuilder
    • hasMax

      public boolean hasMax()
      optional .org.opensearch.protobufs.SingleMetricAggregateBase max = 3 [json_name = "max"];
      Specified by:
      hasMax in interface AggregateOrBuilder
      Returns:
      Whether the max field is set.
    • getMax

      public SingleMetricAggregateBase getMax()
      optional .org.opensearch.protobufs.SingleMetricAggregateBase max = 3 [json_name = "max"];
      Specified by:
      getMax in interface AggregateOrBuilder
      Returns:
      The max.
    • getMaxOrBuilder

      public SingleMetricAggregateBaseOrBuilder getMaxOrBuilder()
      optional .org.opensearch.protobufs.SingleMetricAggregateBase max = 3 [json_name = "max"];
      Specified by:
      getMaxOrBuilder in interface AggregateOrBuilder
    • hasMin

      public boolean hasMin()
      optional .org.opensearch.protobufs.SingleMetricAggregateBase min = 4 [json_name = "min"];
      Specified by:
      hasMin in interface AggregateOrBuilder
      Returns:
      Whether the min field is set.
    • getMin

      public SingleMetricAggregateBase getMin()
      optional .org.opensearch.protobufs.SingleMetricAggregateBase min = 4 [json_name = "min"];
      Specified by:
      getMin in interface AggregateOrBuilder
      Returns:
      The min.
    • getMinOrBuilder

      public SingleMetricAggregateBaseOrBuilder getMinOrBuilder()
      optional .org.opensearch.protobufs.SingleMetricAggregateBase min = 4 [json_name = "min"];
      Specified by:
      getMinOrBuilder in interface AggregateOrBuilder
    • hasSterms

      public boolean hasSterms()
      optional .org.opensearch.protobufs.StringTermsAggregate sterms = 5 [json_name = "sterms"];
      Specified by:
      hasSterms in interface AggregateOrBuilder
      Returns:
      Whether the sterms field is set.
    • getSterms

      public StringTermsAggregate getSterms()
      optional .org.opensearch.protobufs.StringTermsAggregate sterms = 5 [json_name = "sterms"];
      Specified by:
      getSterms in interface AggregateOrBuilder
      Returns:
      The sterms.
    • getStermsOrBuilder

      public StringTermsAggregateOrBuilder getStermsOrBuilder()
      optional .org.opensearch.protobufs.StringTermsAggregate sterms = 5 [json_name = "sterms"];
      Specified by:
      getStermsOrBuilder in interface AggregateOrBuilder
    • hasUlterms

      public boolean hasUlterms()
      optional .org.opensearch.protobufs.UnsignedLongTermsAggregate ulterms = 6 [json_name = "ulterms"];
      Specified by:
      hasUlterms in interface AggregateOrBuilder
      Returns:
      Whether the ulterms field is set.
    • getUlterms

      public UnsignedLongTermsAggregate getUlterms()
      optional .org.opensearch.protobufs.UnsignedLongTermsAggregate ulterms = 6 [json_name = "ulterms"];
      Specified by:
      getUlterms in interface AggregateOrBuilder
      Returns:
      The ulterms.
    • getUltermsOrBuilder

      public UnsignedLongTermsAggregateOrBuilder getUltermsOrBuilder()
      optional .org.opensearch.protobufs.UnsignedLongTermsAggregate ulterms = 6 [json_name = "ulterms"];
      Specified by:
      getUltermsOrBuilder in interface AggregateOrBuilder
    • hasUmterms

      public boolean hasUmterms()
      optional .org.opensearch.protobufs.UnmappedTermsAggregate umterms = 7 [json_name = "umterms"];
      Specified by:
      hasUmterms in interface AggregateOrBuilder
      Returns:
      Whether the umterms field is set.
    • getUmterms

      public UnmappedTermsAggregate getUmterms()
      optional .org.opensearch.protobufs.UnmappedTermsAggregate umterms = 7 [json_name = "umterms"];
      Specified by:
      getUmterms in interface AggregateOrBuilder
      Returns:
      The umterms.
    • getUmtermsOrBuilder

      public UnmappedTermsAggregateOrBuilder getUmtermsOrBuilder()
      optional .org.opensearch.protobufs.UnmappedTermsAggregate umterms = 7 [json_name = "umterms"];
      Specified by:
      getUmtermsOrBuilder in interface AggregateOrBuilder
    • 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 Aggregate parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

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

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

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

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

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

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

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

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

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

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

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

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

      public static Aggregate.Builder newBuilder()
    • newBuilder

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

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

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

      public static Aggregate getDefaultInstance()
    • parser

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

      public com.google.protobuf.Parser<Aggregate> 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 Aggregate getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder