Class AggregationContainer

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

public final class AggregationContainer extends com.google.protobuf.GeneratedMessageV3 implements AggregationContainerOrBuilder
Protobuf type org.opensearch.protobufs.AggregationContainer
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
    • getAggregationContainerCase

      public AggregationContainer.AggregationContainerCase getAggregationContainerCase()
      Specified by:
      getAggregationContainerCase in interface AggregationContainerOrBuilder
    • hasMeta

      public boolean hasMeta()
      optional .org.opensearch.protobufs.ObjectMap meta = 1 [json_name = "meta"];
      Specified by:
      hasMeta in interface AggregationContainerOrBuilder
      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 AggregationContainerOrBuilder
      Returns:
      The meta.
    • getMetaOrBuilder

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

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

      public MaxAggregation getMax()
      .org.opensearch.protobufs.MaxAggregation max = 2 [json_name = "max"];
      Specified by:
      getMax in interface AggregationContainerOrBuilder
      Returns:
      The max.
    • getMaxOrBuilder

      public MaxAggregationOrBuilder getMaxOrBuilder()
      .org.opensearch.protobufs.MaxAggregation max = 2 [json_name = "max"];
      Specified by:
      getMaxOrBuilder in interface AggregationContainerOrBuilder
    • hasMin

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

      public MinAggregation getMin()
      .org.opensearch.protobufs.MinAggregation min = 3 [json_name = "min"];
      Specified by:
      getMin in interface AggregationContainerOrBuilder
      Returns:
      The min.
    • getMinOrBuilder

      public MinAggregationOrBuilder getMinOrBuilder()
      .org.opensearch.protobufs.MinAggregation min = 3 [json_name = "min"];
      Specified by:
      getMinOrBuilder in interface AggregationContainerOrBuilder
    • hasTermsAggregation

      public boolean hasTermsAggregation()
      .org.opensearch.protobufs.TermsAggregation terms_aggregation = 4 [json_name = "termsAggregation"];
      Specified by:
      hasTermsAggregation in interface AggregationContainerOrBuilder
      Returns:
      Whether the termsAggregation field is set.
    • getTermsAggregation

      public TermsAggregation getTermsAggregation()
      .org.opensearch.protobufs.TermsAggregation terms_aggregation = 4 [json_name = "termsAggregation"];
      Specified by:
      getTermsAggregation in interface AggregationContainerOrBuilder
      Returns:
      The termsAggregation.
    • getTermsAggregationOrBuilder

      public TermsAggregationOrBuilder getTermsAggregationOrBuilder()
      .org.opensearch.protobufs.TermsAggregation terms_aggregation = 4 [json_name = "termsAggregation"];
      Specified by:
      getTermsAggregationOrBuilder in interface AggregationContainerOrBuilder
    • 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 AggregationContainer parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

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

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

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

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

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

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

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

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

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

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

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

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

      public static AggregationContainer.Builder newBuilder()
    • newBuilder

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

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

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

      public static AggregationContainer getDefaultInstance()
    • parser

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

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