Class DeleteDocumentRequest

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

public final class DeleteDocumentRequest extends com.google.protobuf.GeneratedMessageV3 implements DeleteDocumentRequestOrBuilder
Protobuf type DeleteDocumentRequest
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
    • getId

      public String getId()
      string id = 1 [json_name = "id"];
      Specified by:
      getId in interface DeleteDocumentRequestOrBuilder
      Returns:
      The id.
    • getIdBytes

      public com.google.protobuf.ByteString getIdBytes()
      string id = 1 [json_name = "id"];
      Specified by:
      getIdBytes in interface DeleteDocumentRequestOrBuilder
      Returns:
      The bytes for id.
    • getIndex

      public String getIndex()
      string index = 2 [json_name = "index"];
      Specified by:
      getIndex in interface DeleteDocumentRequestOrBuilder
      Returns:
      The index.
    • getIndexBytes

      public com.google.protobuf.ByteString getIndexBytes()
      string index = 2 [json_name = "index"];
      Specified by:
      getIndexBytes in interface DeleteDocumentRequestOrBuilder
      Returns:
      The bytes for index.
    • hasIfPrimaryTerm

      public boolean hasIfPrimaryTerm()
      optional int64 if_primary_term = 3 [json_name = "ifPrimaryTerm"];
      Specified by:
      hasIfPrimaryTerm in interface DeleteDocumentRequestOrBuilder
      Returns:
      Whether the ifPrimaryTerm field is set.
    • getIfPrimaryTerm

      public long getIfPrimaryTerm()
      optional int64 if_primary_term = 3 [json_name = "ifPrimaryTerm"];
      Specified by:
      getIfPrimaryTerm in interface DeleteDocumentRequestOrBuilder
      Returns:
      The ifPrimaryTerm.
    • hasIfSeqNo

      public boolean hasIfSeqNo()
      optional int64 if_seq_no = 4 [json_name = "ifSeqNo"];
      Specified by:
      hasIfSeqNo in interface DeleteDocumentRequestOrBuilder
      Returns:
      Whether the ifSeqNo field is set.
    • getIfSeqNo

      public long getIfSeqNo()
      optional int64 if_seq_no = 4 [json_name = "ifSeqNo"];
      Specified by:
      getIfSeqNo in interface DeleteDocumentRequestOrBuilder
      Returns:
      The ifSeqNo.
    • hasRefresh

      public boolean hasRefresh()
      optional .Refresh refresh = 5 [json_name = "refresh"];
      Specified by:
      hasRefresh in interface DeleteDocumentRequestOrBuilder
      Returns:
      Whether the refresh field is set.
    • getRefreshValue

      public int getRefreshValue()
      optional .Refresh refresh = 5 [json_name = "refresh"];
      Specified by:
      getRefreshValue in interface DeleteDocumentRequestOrBuilder
      Returns:
      The enum numeric value on the wire for refresh.
    • getRefresh

      public Refresh getRefresh()
      optional .Refresh refresh = 5 [json_name = "refresh"];
      Specified by:
      getRefresh in interface DeleteDocumentRequestOrBuilder
      Returns:
      The refresh.
    • hasRouting

      public boolean hasRouting()
      optional string routing = 6 [json_name = "routing"];
      Specified by:
      hasRouting in interface DeleteDocumentRequestOrBuilder
      Returns:
      Whether the routing field is set.
    • getRouting

      public String getRouting()
      optional string routing = 6 [json_name = "routing"];
      Specified by:
      getRouting in interface DeleteDocumentRequestOrBuilder
      Returns:
      The routing.
    • getRoutingBytes

      public com.google.protobuf.ByteString getRoutingBytes()
      optional string routing = 6 [json_name = "routing"];
      Specified by:
      getRoutingBytes in interface DeleteDocumentRequestOrBuilder
      Returns:
      The bytes for routing.
    • hasTimeout

      public boolean hasTimeout()
      optional string timeout = 7 [json_name = "timeout"];
      Specified by:
      hasTimeout in interface DeleteDocumentRequestOrBuilder
      Returns:
      Whether the timeout field is set.
    • getTimeout

      public String getTimeout()
      optional string timeout = 7 [json_name = "timeout"];
      Specified by:
      getTimeout in interface DeleteDocumentRequestOrBuilder
      Returns:
      The timeout.
    • getTimeoutBytes

      public com.google.protobuf.ByteString getTimeoutBytes()
      optional string timeout = 7 [json_name = "timeout"];
      Specified by:
      getTimeoutBytes in interface DeleteDocumentRequestOrBuilder
      Returns:
      The bytes for timeout.
    • hasVersion

      public boolean hasVersion()
      optional int64 version = 8 [json_name = "version"];
      Specified by:
      hasVersion in interface DeleteDocumentRequestOrBuilder
      Returns:
      Whether the version field is set.
    • getVersion

      public long getVersion()
      optional int64 version = 8 [json_name = "version"];
      Specified by:
      getVersion in interface DeleteDocumentRequestOrBuilder
      Returns:
      The version.
    • hasVersionType

      public boolean hasVersionType()
      optional .VersionType version_type = 9 [json_name = "versionType"];
      Specified by:
      hasVersionType in interface DeleteDocumentRequestOrBuilder
      Returns:
      Whether the versionType field is set.
    • getVersionTypeValue

      public int getVersionTypeValue()
      optional .VersionType version_type = 9 [json_name = "versionType"];
      Specified by:
      getVersionTypeValue in interface DeleteDocumentRequestOrBuilder
      Returns:
      The enum numeric value on the wire for versionType.
    • getVersionType

      public VersionType getVersionType()
      optional .VersionType version_type = 9 [json_name = "versionType"];
      Specified by:
      getVersionType in interface DeleteDocumentRequestOrBuilder
      Returns:
      The versionType.
    • hasWaitForActiveShards

      public boolean hasWaitForActiveShards()
      optional .WaitForActiveShards wait_for_active_shards = 10 [json_name = "waitForActiveShards"];
      Specified by:
      hasWaitForActiveShards in interface DeleteDocumentRequestOrBuilder
      Returns:
      Whether the waitForActiveShards field is set.
    • getWaitForActiveShards

      public WaitForActiveShards getWaitForActiveShards()
      optional .WaitForActiveShards wait_for_active_shards = 10 [json_name = "waitForActiveShards"];
      Specified by:
      getWaitForActiveShards in interface DeleteDocumentRequestOrBuilder
      Returns:
      The waitForActiveShards.
    • getWaitForActiveShardsOrBuilder

      public WaitForActiveShardsOrBuilder getWaitForActiveShardsOrBuilder()
      optional .WaitForActiveShards wait_for_active_shards = 10 [json_name = "waitForActiveShards"];
      Specified by:
      getWaitForActiveShardsOrBuilder in interface DeleteDocumentRequestOrBuilder
    • 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 DeleteDocumentRequest parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

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

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

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

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

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

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

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

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

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

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

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

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

      public static DeleteDocumentRequest.Builder newBuilder()
    • newBuilder

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

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

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

      public static DeleteDocumentRequest getDefaultInstance()
    • parser

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

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