Class WaitForActiveShards.Builder

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

public static final class WaitForActiveShards.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<WaitForActiveShards.Builder> implements WaitForActiveShardsOrBuilder
Protobuf type org.opensearch.protobufs.WaitForActiveShards
  • 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<WaitForActiveShards.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<WaitForActiveShards.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<WaitForActiveShards.Builder>
    • getDefaultInstanceForType

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

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

      public WaitForActiveShards buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.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<WaitForActiveShards.Builder>
    • setField

      public WaitForActiveShards.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<WaitForActiveShards.Builder>
    • clearField

      public WaitForActiveShards.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<WaitForActiveShards.Builder>
    • clearOneof

      public WaitForActiveShards.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<WaitForActiveShards.Builder>
    • setRepeatedField

      public WaitForActiveShards.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<WaitForActiveShards.Builder>
    • addRepeatedField

      public WaitForActiveShards.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<WaitForActiveShards.Builder>
    • mergeFrom

      public WaitForActiveShards.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<WaitForActiveShards.Builder>
    • mergeFrom

    • isInitialized

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

      public WaitForActiveShards.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<WaitForActiveShards.Builder>
      Throws:
      IOException
    • getWaitForActiveShardsCase

      public WaitForActiveShards.WaitForActiveShardsCase getWaitForActiveShardsCase()
      Specified by:
      getWaitForActiveShardsCase in interface WaitForActiveShardsOrBuilder
    • clearWaitForActiveShards

      public WaitForActiveShards.Builder clearWaitForActiveShards()
    • hasCount

      public boolean hasCount()
      int32 count = 1 [json_name = "count"];
      Specified by:
      hasCount in interface WaitForActiveShardsOrBuilder
      Returns:
      Whether the count field is set.
    • getCount

      public int getCount()
      int32 count = 1 [json_name = "count"];
      Specified by:
      getCount in interface WaitForActiveShardsOrBuilder
      Returns:
      The count.
    • setCount

      public WaitForActiveShards.Builder setCount(int value)
      int32 count = 1 [json_name = "count"];
      Parameters:
      value - The count to set.
      Returns:
      This builder for chaining.
    • clearCount

      public WaitForActiveShards.Builder clearCount()
      int32 count = 1 [json_name = "count"];
      Returns:
      This builder for chaining.
    • hasOption

      public boolean hasOption()
      .org.opensearch.protobufs.WaitForActiveShardOptions option = 2 [json_name = "option"];
      Specified by:
      hasOption in interface WaitForActiveShardsOrBuilder
      Returns:
      Whether the option field is set.
    • getOptionValue

      public int getOptionValue()
      .org.opensearch.protobufs.WaitForActiveShardOptions option = 2 [json_name = "option"];
      Specified by:
      getOptionValue in interface WaitForActiveShardsOrBuilder
      Returns:
      The enum numeric value on the wire for option.
    • setOptionValue

      public WaitForActiveShards.Builder setOptionValue(int value)
      .org.opensearch.protobufs.WaitForActiveShardOptions option = 2 [json_name = "option"];
      Parameters:
      value - The enum numeric value on the wire for option to set.
      Returns:
      This builder for chaining.
    • getOption

      public WaitForActiveShardOptions getOption()
      .org.opensearch.protobufs.WaitForActiveShardOptions option = 2 [json_name = "option"];
      Specified by:
      getOption in interface WaitForActiveShardsOrBuilder
      Returns:
      The option.
    • setOption

      .org.opensearch.protobufs.WaitForActiveShardOptions option = 2 [json_name = "option"];
      Parameters:
      value - The option to set.
      Returns:
      This builder for chaining.
    • clearOption

      public WaitForActiveShards.Builder clearOption()
      .org.opensearch.protobufs.WaitForActiveShardOptions option = 2 [json_name = "option"];
      Returns:
      This builder for chaining.
    • setUnknownFields

      public final WaitForActiveShards.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<WaitForActiveShards.Builder>
    • mergeUnknownFields

      public final WaitForActiveShards.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<WaitForActiveShards.Builder>