Package org.opensearch.protobufs
Interface IndexDocumentRequestOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
IndexDocumentRequest,IndexDocumentRequest.Builder
public interface IndexDocumentRequestOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptioncom.google.protobuf.ByteStringbytes bytes_request_body = 15 [json_name = "bytesRequestBody"];getId()optional string id = 1 [json_name = "id"];com.google.protobuf.ByteStringoptional string id = 1 [json_name = "id"];longoptional int64 if_primary_term = 3 [json_name = "ifPrimaryTerm"];longoptional int64 if_seq_no = 4 [json_name = "ifSeqNo"];getIndex()optional string index = 2 [json_name = "index"];com.google.protobuf.ByteStringoptional string index = 2 [json_name = "index"];optional .OpType op_type = 5 [json_name = "opType"];intoptional .OpType op_type = 5 [json_name = "opType"];optional string pipeline = 6 [json_name = "pipeline"];com.google.protobuf.ByteStringoptional string pipeline = 6 [json_name = "pipeline"];optional .Refresh refresh = 7 [json_name = "refresh"];intoptional .Refresh refresh = 7 [json_name = "refresh"];.ObjectMap request_body = 14 [json_name = "requestBody"];.ObjectMap request_body = 14 [json_name = "requestBody"];booleanoptional bool require_alias = 8 [json_name = "requireAlias"];optional string routing = 9 [json_name = "routing"];com.google.protobuf.ByteStringoptional string routing = 9 [json_name = "routing"];optional .SourceType source_type = 16 [json_name = "sourceType"];intoptional .SourceType source_type = 16 [json_name = "sourceType"];optional string timeout = 10 [json_name = "timeout"];com.google.protobuf.ByteStringoptional string timeout = 10 [json_name = "timeout"];longoptional int64 version = 11 [json_name = "version"];optional .VersionType version_type = 12 [json_name = "versionType"];intoptional .VersionType version_type = 12 [json_name = "versionType"];optional .WaitForActiveShards wait_for_active_shards = 13 [json_name = "waitForActiveShards"];optional .WaitForActiveShards wait_for_active_shards = 13 [json_name = "waitForActiveShards"];booleanbytes bytes_request_body = 15 [json_name = "bytesRequestBody"];booleanhasId()optional string id = 1 [json_name = "id"];booleanoptional int64 if_primary_term = 3 [json_name = "ifPrimaryTerm"];booleanoptional int64 if_seq_no = 4 [json_name = "ifSeqNo"];booleanhasIndex()optional string index = 2 [json_name = "index"];booleanoptional .OpType op_type = 5 [json_name = "opType"];booleanoptional string pipeline = 6 [json_name = "pipeline"];booleanoptional .Refresh refresh = 7 [json_name = "refresh"];boolean.ObjectMap request_body = 14 [json_name = "requestBody"];booleanoptional bool require_alias = 8 [json_name = "requireAlias"];booleanoptional string routing = 9 [json_name = "routing"];booleanoptional .SourceType source_type = 16 [json_name = "sourceType"];booleanoptional string timeout = 10 [json_name = "timeout"];booleanoptional int64 version = 11 [json_name = "version"];booleanoptional .VersionType version_type = 12 [json_name = "versionType"];booleanoptional .WaitForActiveShards wait_for_active_shards = 13 [json_name = "waitForActiveShards"];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.
-
hasIfPrimaryTerm
boolean hasIfPrimaryTerm()optional int64 if_primary_term = 3 [json_name = "ifPrimaryTerm"];- Returns:
- Whether the ifPrimaryTerm field is set.
-
getIfPrimaryTerm
long getIfPrimaryTerm()optional int64 if_primary_term = 3 [json_name = "ifPrimaryTerm"];- Returns:
- The ifPrimaryTerm.
-
hasIfSeqNo
boolean hasIfSeqNo()optional int64 if_seq_no = 4 [json_name = "ifSeqNo"];- Returns:
- Whether the ifSeqNo field is set.
-
getIfSeqNo
long getIfSeqNo()optional int64 if_seq_no = 4 [json_name = "ifSeqNo"];- Returns:
- The ifSeqNo.
-
hasOpType
boolean hasOpType()optional .OpType op_type = 5 [json_name = "opType"];- Returns:
- Whether the opType field is set.
-
getOpTypeValue
int getOpTypeValue()optional .OpType op_type = 5 [json_name = "opType"];- Returns:
- The enum numeric value on the wire for opType.
-
getOpType
OpType getOpType()optional .OpType op_type = 5 [json_name = "opType"];- Returns:
- The opType.
-
hasPipeline
boolean hasPipeline()optional string pipeline = 6 [json_name = "pipeline"];- Returns:
- Whether the pipeline field is set.
-
getPipeline
String getPipeline()optional string pipeline = 6 [json_name = "pipeline"];- Returns:
- The pipeline.
-
getPipelineBytes
com.google.protobuf.ByteString getPipelineBytes()optional string pipeline = 6 [json_name = "pipeline"];- Returns:
- The bytes for pipeline.
-
hasRefresh
boolean hasRefresh()optional .Refresh refresh = 7 [json_name = "refresh"];- Returns:
- Whether the refresh field is set.
-
getRefreshValue
int getRefreshValue()optional .Refresh refresh = 7 [json_name = "refresh"];- Returns:
- The enum numeric value on the wire for refresh.
-
getRefresh
Refresh getRefresh()optional .Refresh refresh = 7 [json_name = "refresh"];- Returns:
- The refresh.
-
hasRequireAlias
boolean hasRequireAlias()optional bool require_alias = 8 [json_name = "requireAlias"];- Returns:
- Whether the requireAlias field is set.
-
getRequireAlias
boolean getRequireAlias()optional bool require_alias = 8 [json_name = "requireAlias"];- Returns:
- The requireAlias.
-
hasRouting
boolean hasRouting()optional string routing = 9 [json_name = "routing"];- Returns:
- Whether the routing field is set.
-
getRouting
String getRouting()optional string routing = 9 [json_name = "routing"];- Returns:
- The routing.
-
getRoutingBytes
com.google.protobuf.ByteString getRoutingBytes()optional string routing = 9 [json_name = "routing"];- Returns:
- The bytes for routing.
-
hasTimeout
boolean hasTimeout()optional string timeout = 10 [json_name = "timeout"];- Returns:
- Whether the timeout field is set.
-
getTimeout
String getTimeout()optional string timeout = 10 [json_name = "timeout"];- Returns:
- The timeout.
-
getTimeoutBytes
com.google.protobuf.ByteString getTimeoutBytes()optional string timeout = 10 [json_name = "timeout"];- Returns:
- The bytes for timeout.
-
hasVersion
boolean hasVersion()optional int64 version = 11 [json_name = "version"];- Returns:
- Whether the version field is set.
-
getVersion
long getVersion()optional int64 version = 11 [json_name = "version"];- Returns:
- The version.
-
hasVersionType
boolean hasVersionType()optional .VersionType version_type = 12 [json_name = "versionType"];- Returns:
- Whether the versionType field is set.
-
getVersionTypeValue
int getVersionTypeValue()optional .VersionType version_type = 12 [json_name = "versionType"];- Returns:
- The enum numeric value on the wire for versionType.
-
getVersionType
VersionType getVersionType()optional .VersionType version_type = 12 [json_name = "versionType"];- Returns:
- The versionType.
-
hasWaitForActiveShards
boolean hasWaitForActiveShards()optional .WaitForActiveShards wait_for_active_shards = 13 [json_name = "waitForActiveShards"];- Returns:
- Whether the waitForActiveShards field is set.
-
getWaitForActiveShards
WaitForActiveShards getWaitForActiveShards()optional .WaitForActiveShards wait_for_active_shards = 13 [json_name = "waitForActiveShards"];- Returns:
- The waitForActiveShards.
-
getWaitForActiveShardsOrBuilder
WaitForActiveShardsOrBuilder getWaitForActiveShardsOrBuilder()optional .WaitForActiveShards wait_for_active_shards = 13 [json_name = "waitForActiveShards"]; -
hasRequestBody
boolean hasRequestBody().ObjectMap request_body = 14 [json_name = "requestBody"];- Returns:
- Whether the requestBody field is set.
-
getRequestBody
ObjectMap getRequestBody().ObjectMap request_body = 14 [json_name = "requestBody"];- Returns:
- The requestBody.
-
getRequestBodyOrBuilder
ObjectMapOrBuilder getRequestBodyOrBuilder().ObjectMap request_body = 14 [json_name = "requestBody"]; -
hasBytesRequestBody
boolean hasBytesRequestBody()bytes bytes_request_body = 15 [json_name = "bytesRequestBody"];- Returns:
- Whether the bytesRequestBody field is set.
-
getBytesRequestBody
com.google.protobuf.ByteString getBytesRequestBody()bytes bytes_request_body = 15 [json_name = "bytesRequestBody"];- Returns:
- The bytesRequestBody.
-
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.
-
getIndexDocumentRequestRequestBodyCase
IndexDocumentRequest.IndexDocumentRequestRequestBodyCase getIndexDocumentRequestRequestBodyCase()
-