Package org.opensearch.protobufs
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 TypeMethodDescriptiongetId()optional string id = 1 [json_name = "id"];com.google.protobuf.ByteStringoptional string id = 1 [json_name = "id"];longoptional int64 if_primary_term = 6 [json_name = "ifPrimaryTerm"];longoptional int64 if_seq_no = 7 [json_name = "ifSeqNo"];getIndex()optional string index = 2 [json_name = "index"];com.google.protobuf.ByteStringoptional string index = 2 [json_name = "index"];getLang()optional string lang = 8 [json_name = "lang"];com.google.protobuf.ByteStringoptional string lang = 8 [json_name = "lang"];optional .Refresh refresh = 9 [json_name = "refresh"];intoptional .Refresh refresh = 9 [json_name = "refresh"];.UpdateDocumentRequestBody request_body = 15 [json_name = "requestBody"];.UpdateDocumentRequestBody request_body = 15 [json_name = "requestBody"];booleanoptional bool require_alias = 10 [json_name = "requireAlias"];intoptional int32 retry_on_conflict = 11 [json_name = "retryOnConflict"];optional string routing = 12 [json_name = "routing"];com.google.protobuf.ByteStringoptional string routing = 12 [json_name = "routing"];optional .SourceType source_type = 16 [json_name = "sourceType"];intoptional .SourceType source_type = 16 [json_name = "sourceType"];optional string timeout = 13 [json_name = "timeout"];com.google.protobuf.ByteStringoptional 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.ByteStringgetXSourceExcludesBytes(int index) repeated string x_source_excludes = 4 [json_name = "xSourceExcludes"];intrepeated 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.ByteStringgetXSourceIncludesBytes(int index) repeated string x_source_includes = 5 [json_name = "xSourceIncludes"];intrepeated 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"];booleanhasId()optional string id = 1 [json_name = "id"];booleanoptional int64 if_primary_term = 6 [json_name = "ifPrimaryTerm"];booleanoptional int64 if_seq_no = 7 [json_name = "ifSeqNo"];booleanhasIndex()optional string index = 2 [json_name = "index"];booleanhasLang()optional string lang = 8 [json_name = "lang"];booleanoptional .Refresh refresh = 9 [json_name = "refresh"];boolean.UpdateDocumentRequestBody request_body = 15 [json_name = "requestBody"];booleanoptional bool require_alias = 10 [json_name = "requireAlias"];booleanoptional int32 retry_on_conflict = 11 [json_name = "retryOnConflict"];booleanoptional string routing = 12 [json_name = "routing"];booleanoptional .SourceType source_type = 16 [json_name = "sourceType"];booleanoptional string timeout = 13 [json_name = "timeout"];booleanoptional .WaitForActiveShards wait_for_active_shards = 14 [json_name = "waitForActiveShards"];booleanoptional .SourceConfigParam x_source = 3 [json_name = "xSource"];Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods 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
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
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
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
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.
-