Interface UpdateDocumentRequestOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
UpdateDocumentRequest, UpdateDocumentRequest.Builder

public interface UpdateDocumentRequestOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    optional string id = 1 [json_name = "id"];
    com.google.protobuf.ByteString
    optional string id = 1 [json_name = "id"];
    long
    optional int64 if_primary_term = 6 [json_name = "ifPrimaryTerm"];
    long
    optional int64 if_seq_no = 7 [json_name = "ifSeqNo"];
    optional string index = 2 [json_name = "index"];
    com.google.protobuf.ByteString
    optional string index = 2 [json_name = "index"];
    optional string lang = 8 [json_name = "lang"];
    com.google.protobuf.ByteString
    optional string lang = 8 [json_name = "lang"];
    optional .Refresh refresh = 9 [json_name = "refresh"];
    int
    optional .Refresh refresh = 9 [json_name = "refresh"];
    .UpdateDocumentRequestBody request_body = 15 [json_name = "requestBody"];
    .UpdateDocumentRequestBody request_body = 15 [json_name = "requestBody"];
    boolean
    optional bool require_alias = 10 [json_name = "requireAlias"];
    int
    optional int32 retry_on_conflict = 11 [json_name = "retryOnConflict"];
    optional string routing = 12 [json_name = "routing"];
    com.google.protobuf.ByteString
    optional string routing = 12 [json_name = "routing"];
    optional .SourceType source_type = 16 [json_name = "sourceType"];
    int
    optional .SourceType source_type = 16 [json_name = "sourceType"];
    optional string timeout = 13 [json_name = "timeout"];
    com.google.protobuf.ByteString
    optional string timeout = 13 [json_name = "timeout"];
    optional .WaitForActiveShards wait_for_active_shards = 14 [json_name = "waitForActiveShards"];
    optional .WaitForActiveShards wait_for_active_shards = 14 [json_name = "waitForActiveShards"];
    optional .SourceConfigParam x_source = 3 [json_name = "xSource"];
    getXSourceExcludes(int index)
    repeated string x_source_excludes = 4 [json_name = "xSourceExcludes"];
    com.google.protobuf.ByteString
    repeated string x_source_excludes = 4 [json_name = "xSourceExcludes"];
    int
    repeated string x_source_excludes = 4 [json_name = "xSourceExcludes"];
    repeated string x_source_excludes = 4 [json_name = "xSourceExcludes"];
    getXSourceIncludes(int index)
    repeated string x_source_includes = 5 [json_name = "xSourceIncludes"];
    com.google.protobuf.ByteString
    repeated string x_source_includes = 5 [json_name = "xSourceIncludes"];
    int
    repeated string x_source_includes = 5 [json_name = "xSourceIncludes"];
    repeated string x_source_includes = 5 [json_name = "xSourceIncludes"];
    optional .SourceConfigParam x_source = 3 [json_name = "xSource"];
    boolean
    optional string id = 1 [json_name = "id"];
    boolean
    optional int64 if_primary_term = 6 [json_name = "ifPrimaryTerm"];
    boolean
    optional int64 if_seq_no = 7 [json_name = "ifSeqNo"];
    boolean
    optional string index = 2 [json_name = "index"];
    boolean
    optional string lang = 8 [json_name = "lang"];
    boolean
    optional .Refresh refresh = 9 [json_name = "refresh"];
    boolean
    .UpdateDocumentRequestBody request_body = 15 [json_name = "requestBody"];
    boolean
    optional bool require_alias = 10 [json_name = "requireAlias"];
    boolean
    optional int32 retry_on_conflict = 11 [json_name = "retryOnConflict"];
    boolean
    optional string routing = 12 [json_name = "routing"];
    boolean
    optional .SourceType source_type = 16 [json_name = "sourceType"];
    boolean
    optional string timeout = 13 [json_name = "timeout"];
    boolean
    optional .WaitForActiveShards wait_for_active_shards = 14 [json_name = "waitForActiveShards"];
    boolean
    optional .SourceConfigParam x_source = 3 [json_name = "xSource"];

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    isInitialized

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • Method Details

    • hasId

      boolean hasId()
      optional string id = 1 [json_name = "id"];
      Returns:
      Whether the id field is set.
    • getId

      String getId()
      optional string id = 1 [json_name = "id"];
      Returns:
      The id.
    • getIdBytes

      com.google.protobuf.ByteString getIdBytes()
      optional string id = 1 [json_name = "id"];
      Returns:
      The bytes for id.
    • hasIndex

      boolean hasIndex()
      optional string index = 2 [json_name = "index"];
      Returns:
      Whether the index field is set.
    • getIndex

      String getIndex()
      optional string index = 2 [json_name = "index"];
      Returns:
      The index.
    • getIndexBytes

      com.google.protobuf.ByteString getIndexBytes()
      optional string index = 2 [json_name = "index"];
      Returns:
      The bytes for index.
    • hasXSource

      boolean hasXSource()
      optional .SourceConfigParam x_source = 3 [json_name = "xSource"];
      Returns:
      Whether the xSource field is set.
    • getXSource

      SourceConfigParam getXSource()
      optional .SourceConfigParam x_source = 3 [json_name = "xSource"];
      Returns:
      The xSource.
    • getXSourceOrBuilder

      SourceConfigParamOrBuilder getXSourceOrBuilder()
      optional .SourceConfigParam x_source = 3 [json_name = "xSource"];
    • getXSourceExcludesList

      List<String> getXSourceExcludesList()
      repeated string x_source_excludes = 4 [json_name = "xSourceExcludes"];
      Returns:
      A list containing the xSourceExcludes.
    • getXSourceExcludesCount

      int getXSourceExcludesCount()
      repeated string x_source_excludes = 4 [json_name = "xSourceExcludes"];
      Returns:
      The count of xSourceExcludes.
    • getXSourceExcludes

      String getXSourceExcludes(int index)
      repeated string x_source_excludes = 4 [json_name = "xSourceExcludes"];
      Parameters:
      index - The index of the element to return.
      Returns:
      The xSourceExcludes at the given index.
    • getXSourceExcludesBytes

      com.google.protobuf.ByteString getXSourceExcludesBytes(int index)
      repeated string x_source_excludes = 4 [json_name = "xSourceExcludes"];
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the xSourceExcludes at the given index.
    • getXSourceIncludesList

      List<String> getXSourceIncludesList()
      repeated string x_source_includes = 5 [json_name = "xSourceIncludes"];
      Returns:
      A list containing the xSourceIncludes.
    • getXSourceIncludesCount

      int getXSourceIncludesCount()
      repeated string x_source_includes = 5 [json_name = "xSourceIncludes"];
      Returns:
      The count of xSourceIncludes.
    • getXSourceIncludes

      String getXSourceIncludes(int index)
      repeated string x_source_includes = 5 [json_name = "xSourceIncludes"];
      Parameters:
      index - The index of the element to return.
      Returns:
      The xSourceIncludes at the given index.
    • getXSourceIncludesBytes

      com.google.protobuf.ByteString getXSourceIncludesBytes(int index)
      repeated string x_source_includes = 5 [json_name = "xSourceIncludes"];
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the xSourceIncludes at the given index.
    • hasIfPrimaryTerm

      boolean hasIfPrimaryTerm()
      optional int64 if_primary_term = 6 [json_name = "ifPrimaryTerm"];
      Returns:
      Whether the ifPrimaryTerm field is set.
    • getIfPrimaryTerm

      long getIfPrimaryTerm()
      optional int64 if_primary_term = 6 [json_name = "ifPrimaryTerm"];
      Returns:
      The ifPrimaryTerm.
    • hasIfSeqNo

      boolean hasIfSeqNo()
      optional int64 if_seq_no = 7 [json_name = "ifSeqNo"];
      Returns:
      Whether the ifSeqNo field is set.
    • getIfSeqNo

      long getIfSeqNo()
      optional int64 if_seq_no = 7 [json_name = "ifSeqNo"];
      Returns:
      The ifSeqNo.
    • hasLang

      boolean hasLang()
      optional string lang = 8 [json_name = "lang"];
      Returns:
      Whether the lang field is set.
    • getLang

      String getLang()
      optional string lang = 8 [json_name = "lang"];
      Returns:
      The lang.
    • getLangBytes

      com.google.protobuf.ByteString getLangBytes()
      optional string lang = 8 [json_name = "lang"];
      Returns:
      The bytes for lang.
    • hasRefresh

      boolean hasRefresh()
      optional .Refresh refresh = 9 [json_name = "refresh"];
      Returns:
      Whether the refresh field is set.
    • getRefreshValue

      int getRefreshValue()
      optional .Refresh refresh = 9 [json_name = "refresh"];
      Returns:
      The enum numeric value on the wire for refresh.
    • getRefresh

      Refresh getRefresh()
      optional .Refresh refresh = 9 [json_name = "refresh"];
      Returns:
      The refresh.
    • hasRequireAlias

      boolean hasRequireAlias()
      optional bool require_alias = 10 [json_name = "requireAlias"];
      Returns:
      Whether the requireAlias field is set.
    • getRequireAlias

      boolean getRequireAlias()
      optional bool require_alias = 10 [json_name = "requireAlias"];
      Returns:
      The requireAlias.
    • hasRetryOnConflict

      boolean hasRetryOnConflict()
      optional int32 retry_on_conflict = 11 [json_name = "retryOnConflict"];
      Returns:
      Whether the retryOnConflict field is set.
    • getRetryOnConflict

      int getRetryOnConflict()
      optional int32 retry_on_conflict = 11 [json_name = "retryOnConflict"];
      Returns:
      The retryOnConflict.
    • hasRouting

      boolean hasRouting()
      optional string routing = 12 [json_name = "routing"];
      Returns:
      Whether the routing field is set.
    • getRouting

      String getRouting()
      optional string routing = 12 [json_name = "routing"];
      Returns:
      The routing.
    • getRoutingBytes

      com.google.protobuf.ByteString getRoutingBytes()
      optional string routing = 12 [json_name = "routing"];
      Returns:
      The bytes for routing.
    • hasTimeout

      boolean hasTimeout()
      optional string timeout = 13 [json_name = "timeout"];
      Returns:
      Whether the timeout field is set.
    • getTimeout

      String getTimeout()
      optional string timeout = 13 [json_name = "timeout"];
      Returns:
      The timeout.
    • getTimeoutBytes

      com.google.protobuf.ByteString getTimeoutBytes()
      optional string timeout = 13 [json_name = "timeout"];
      Returns:
      The bytes for timeout.
    • hasWaitForActiveShards

      boolean hasWaitForActiveShards()
      optional .WaitForActiveShards wait_for_active_shards = 14 [json_name = "waitForActiveShards"];
      Returns:
      Whether the waitForActiveShards field is set.
    • getWaitForActiveShards

      WaitForActiveShards getWaitForActiveShards()
      optional .WaitForActiveShards wait_for_active_shards = 14 [json_name = "waitForActiveShards"];
      Returns:
      The waitForActiveShards.
    • getWaitForActiveShardsOrBuilder

      WaitForActiveShardsOrBuilder getWaitForActiveShardsOrBuilder()
      optional .WaitForActiveShards wait_for_active_shards = 14 [json_name = "waitForActiveShards"];
    • hasRequestBody

      boolean hasRequestBody()
      .UpdateDocumentRequestBody request_body = 15 [json_name = "requestBody"];
      Returns:
      Whether the requestBody field is set.
    • getRequestBody

      UpdateDocumentRequestBody getRequestBody()
      .UpdateDocumentRequestBody request_body = 15 [json_name = "requestBody"];
      Returns:
      The requestBody.
    • getRequestBodyOrBuilder

      UpdateDocumentRequestBodyOrBuilder getRequestBodyOrBuilder()
      .UpdateDocumentRequestBody request_body = 15 [json_name = "requestBody"];
    • hasSourceType

      boolean hasSourceType()
      optional .SourceType source_type = 16 [json_name = "sourceType"];
      Returns:
      Whether the sourceType field is set.
    • getSourceTypeValue

      int getSourceTypeValue()
      optional .SourceType source_type = 16 [json_name = "sourceType"];
      Returns:
      The enum numeric value on the wire for sourceType.
    • getSourceType

      SourceType getSourceType()
      optional .SourceType source_type = 16 [json_name = "sourceType"];
      Returns:
      The sourceType.