Class DecayPlacement.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<DecayPlacement.Builder>
com.google.protobuf.GeneratedMessageV3.Builder<DecayPlacement.Builder>
org.opensearch.protobufs.DecayPlacement.Builder
All Implemented Interfaces:
com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable, DecayPlacementOrBuilder
Enclosing class:
DecayPlacement

public static final class DecayPlacement.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<DecayPlacement.Builder> implements DecayPlacementOrBuilder
Protobuf type org.opensearch.protobufs.DecayPlacement
  • Method Details

    • 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.Builder<DecayPlacement.Builder>
    • clear

      public DecayPlacement.Builder clear()
      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessageV3.Builder<DecayPlacement.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<DecayPlacement.Builder>
    • getDefaultInstanceForType

      public DecayPlacement getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      public DecayPlacement build()
      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public DecayPlacement buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • clone

      public DecayPlacement.Builder clone()
      Specified by:
      clone in interface com.google.protobuf.Message.Builder
      Specified by:
      clone in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clone in class com.google.protobuf.GeneratedMessageV3.Builder<DecayPlacement.Builder>
    • setField

      public DecayPlacement.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      Specified by:
      setField in interface com.google.protobuf.Message.Builder
      Overrides:
      setField in class com.google.protobuf.GeneratedMessageV3.Builder<DecayPlacement.Builder>
    • clearField

      public DecayPlacement.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
      Specified by:
      clearField in interface com.google.protobuf.Message.Builder
      Overrides:
      clearField in class com.google.protobuf.GeneratedMessageV3.Builder<DecayPlacement.Builder>
    • clearOneof

      public DecayPlacement.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
      Specified by:
      clearOneof in interface com.google.protobuf.Message.Builder
      Overrides:
      clearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<DecayPlacement.Builder>
    • setRepeatedField

      public DecayPlacement.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
      Specified by:
      setRepeatedField in interface com.google.protobuf.Message.Builder
      Overrides:
      setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<DecayPlacement.Builder>
    • addRepeatedField

      public DecayPlacement.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      Specified by:
      addRepeatedField in interface com.google.protobuf.Message.Builder
      Overrides:
      addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<DecayPlacement.Builder>
    • mergeFrom

      public DecayPlacement.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<DecayPlacement.Builder>
    • mergeFrom

      public DecayPlacement.Builder mergeFrom(DecayPlacement other)
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<DecayPlacement.Builder>
    • mergeFrom

      public DecayPlacement.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<DecayPlacement.Builder>
      Throws:
      IOException
    • getDecayPlacementCase

      public DecayPlacement.DecayPlacementCase getDecayPlacementCase()
      Specified by:
      getDecayPlacementCase in interface DecayPlacementOrBuilder
    • clearDecayPlacement

      public DecayPlacement.Builder clearDecayPlacement()
    • hasDateDecayPlacement

      public boolean hasDateDecayPlacement()
      .org.opensearch.protobufs.DateDecayPlacement date_decay_placement = 1 [json_name = "dateDecayPlacement"];
      Specified by:
      hasDateDecayPlacement in interface DecayPlacementOrBuilder
      Returns:
      Whether the dateDecayPlacement field is set.
    • getDateDecayPlacement

      public DateDecayPlacement getDateDecayPlacement()
      .org.opensearch.protobufs.DateDecayPlacement date_decay_placement = 1 [json_name = "dateDecayPlacement"];
      Specified by:
      getDateDecayPlacement in interface DecayPlacementOrBuilder
      Returns:
      The dateDecayPlacement.
    • setDateDecayPlacement

      public DecayPlacement.Builder setDateDecayPlacement(DateDecayPlacement value)
      .org.opensearch.protobufs.DateDecayPlacement date_decay_placement = 1 [json_name = "dateDecayPlacement"];
    • setDateDecayPlacement

      public DecayPlacement.Builder setDateDecayPlacement(DateDecayPlacement.Builder builderForValue)
      .org.opensearch.protobufs.DateDecayPlacement date_decay_placement = 1 [json_name = "dateDecayPlacement"];
    • mergeDateDecayPlacement

      public DecayPlacement.Builder mergeDateDecayPlacement(DateDecayPlacement value)
      .org.opensearch.protobufs.DateDecayPlacement date_decay_placement = 1 [json_name = "dateDecayPlacement"];
    • clearDateDecayPlacement

      public DecayPlacement.Builder clearDateDecayPlacement()
      .org.opensearch.protobufs.DateDecayPlacement date_decay_placement = 1 [json_name = "dateDecayPlacement"];
    • getDateDecayPlacementBuilder

      public DateDecayPlacement.Builder getDateDecayPlacementBuilder()
      .org.opensearch.protobufs.DateDecayPlacement date_decay_placement = 1 [json_name = "dateDecayPlacement"];
    • getDateDecayPlacementOrBuilder

      public DateDecayPlacementOrBuilder getDateDecayPlacementOrBuilder()
      .org.opensearch.protobufs.DateDecayPlacement date_decay_placement = 1 [json_name = "dateDecayPlacement"];
      Specified by:
      getDateDecayPlacementOrBuilder in interface DecayPlacementOrBuilder
    • hasGeoDecayPlacement

      public boolean hasGeoDecayPlacement()
      .org.opensearch.protobufs.GeoDecayPlacement geo_decay_placement = 2 [json_name = "geoDecayPlacement"];
      Specified by:
      hasGeoDecayPlacement in interface DecayPlacementOrBuilder
      Returns:
      Whether the geoDecayPlacement field is set.
    • getGeoDecayPlacement

      public GeoDecayPlacement getGeoDecayPlacement()
      .org.opensearch.protobufs.GeoDecayPlacement geo_decay_placement = 2 [json_name = "geoDecayPlacement"];
      Specified by:
      getGeoDecayPlacement in interface DecayPlacementOrBuilder
      Returns:
      The geoDecayPlacement.
    • setGeoDecayPlacement

      public DecayPlacement.Builder setGeoDecayPlacement(GeoDecayPlacement value)
      .org.opensearch.protobufs.GeoDecayPlacement geo_decay_placement = 2 [json_name = "geoDecayPlacement"];
    • setGeoDecayPlacement

      public DecayPlacement.Builder setGeoDecayPlacement(GeoDecayPlacement.Builder builderForValue)
      .org.opensearch.protobufs.GeoDecayPlacement geo_decay_placement = 2 [json_name = "geoDecayPlacement"];
    • mergeGeoDecayPlacement

      public DecayPlacement.Builder mergeGeoDecayPlacement(GeoDecayPlacement value)
      .org.opensearch.protobufs.GeoDecayPlacement geo_decay_placement = 2 [json_name = "geoDecayPlacement"];
    • clearGeoDecayPlacement

      public DecayPlacement.Builder clearGeoDecayPlacement()
      .org.opensearch.protobufs.GeoDecayPlacement geo_decay_placement = 2 [json_name = "geoDecayPlacement"];
    • getGeoDecayPlacementBuilder

      public GeoDecayPlacement.Builder getGeoDecayPlacementBuilder()
      .org.opensearch.protobufs.GeoDecayPlacement geo_decay_placement = 2 [json_name = "geoDecayPlacement"];
    • getGeoDecayPlacementOrBuilder

      public GeoDecayPlacementOrBuilder getGeoDecayPlacementOrBuilder()
      .org.opensearch.protobufs.GeoDecayPlacement geo_decay_placement = 2 [json_name = "geoDecayPlacement"];
      Specified by:
      getGeoDecayPlacementOrBuilder in interface DecayPlacementOrBuilder
    • hasNumericDecayPlacement

      public boolean hasNumericDecayPlacement()
      .org.opensearch.protobufs.NumericDecayPlacement numeric_decay_placement = 3 [json_name = "numericDecayPlacement"];
      Specified by:
      hasNumericDecayPlacement in interface DecayPlacementOrBuilder
      Returns:
      Whether the numericDecayPlacement field is set.
    • getNumericDecayPlacement

      public NumericDecayPlacement getNumericDecayPlacement()
      .org.opensearch.protobufs.NumericDecayPlacement numeric_decay_placement = 3 [json_name = "numericDecayPlacement"];
      Specified by:
      getNumericDecayPlacement in interface DecayPlacementOrBuilder
      Returns:
      The numericDecayPlacement.
    • setNumericDecayPlacement

      public DecayPlacement.Builder setNumericDecayPlacement(NumericDecayPlacement value)
      .org.opensearch.protobufs.NumericDecayPlacement numeric_decay_placement = 3 [json_name = "numericDecayPlacement"];
    • setNumericDecayPlacement

      public DecayPlacement.Builder setNumericDecayPlacement(NumericDecayPlacement.Builder builderForValue)
      .org.opensearch.protobufs.NumericDecayPlacement numeric_decay_placement = 3 [json_name = "numericDecayPlacement"];
    • mergeNumericDecayPlacement

      public DecayPlacement.Builder mergeNumericDecayPlacement(NumericDecayPlacement value)
      .org.opensearch.protobufs.NumericDecayPlacement numeric_decay_placement = 3 [json_name = "numericDecayPlacement"];
    • clearNumericDecayPlacement

      public DecayPlacement.Builder clearNumericDecayPlacement()
      .org.opensearch.protobufs.NumericDecayPlacement numeric_decay_placement = 3 [json_name = "numericDecayPlacement"];
    • getNumericDecayPlacementBuilder

      public NumericDecayPlacement.Builder getNumericDecayPlacementBuilder()
      .org.opensearch.protobufs.NumericDecayPlacement numeric_decay_placement = 3 [json_name = "numericDecayPlacement"];
    • getNumericDecayPlacementOrBuilder

      public NumericDecayPlacementOrBuilder getNumericDecayPlacementOrBuilder()
      .org.opensearch.protobufs.NumericDecayPlacement numeric_decay_placement = 3 [json_name = "numericDecayPlacement"];
      Specified by:
      getNumericDecayPlacementOrBuilder in interface DecayPlacementOrBuilder
    • setUnknownFields

      public final DecayPlacement.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
      Specified by:
      setUnknownFields in interface com.google.protobuf.Message.Builder
      Overrides:
      setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<DecayPlacement.Builder>
    • mergeUnknownFields

      public final DecayPlacement.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
      Specified by:
      mergeUnknownFields in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<DecayPlacement.Builder>