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 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()
    • hasInt32

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

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

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

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

      public boolean hasWaitForActiveShardOptions()
      .WaitForActiveShardOptions wait_for_active_shard_options = 2 [json_name = "waitForActiveShardOptions"];
      Specified by:
      hasWaitForActiveShardOptions in interface WaitForActiveShardsOrBuilder
      Returns:
      Whether the waitForActiveShardOptions field is set.
    • getWaitForActiveShardOptionsValue

      public int getWaitForActiveShardOptionsValue()
      .WaitForActiveShardOptions wait_for_active_shard_options = 2 [json_name = "waitForActiveShardOptions"];
      Specified by:
      getWaitForActiveShardOptionsValue in interface WaitForActiveShardsOrBuilder
      Returns:
      The enum numeric value on the wire for waitForActiveShardOptions.
    • setWaitForActiveShardOptionsValue

      public WaitForActiveShards.Builder setWaitForActiveShardOptionsValue(int value)
      .WaitForActiveShardOptions wait_for_active_shard_options = 2 [json_name = "waitForActiveShardOptions"];
      Parameters:
      value - The enum numeric value on the wire for waitForActiveShardOptions to set.
      Returns:
      This builder for chaining.
    • getWaitForActiveShardOptions

      public WaitForActiveShardOptions getWaitForActiveShardOptions()
      .WaitForActiveShardOptions wait_for_active_shard_options = 2 [json_name = "waitForActiveShardOptions"];
      Specified by:
      getWaitForActiveShardOptions in interface WaitForActiveShardsOrBuilder
      Returns:
      The waitForActiveShardOptions.
    • setWaitForActiveShardOptions

      public WaitForActiveShards.Builder setWaitForActiveShardOptions(WaitForActiveShardOptions value)
      .WaitForActiveShardOptions wait_for_active_shard_options = 2 [json_name = "waitForActiveShardOptions"];
      Parameters:
      value - The waitForActiveShardOptions to set.
      Returns:
      This builder for chaining.
    • clearWaitForActiveShardOptions

      public WaitForActiveShards.Builder clearWaitForActiveShardOptions()
      .WaitForActiveShardOptions wait_for_active_shard_options = 2 [json_name = "waitForActiveShardOptions"];
      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>