Package org.opensearch.protobufs
Interface UpdateActionOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
UpdateAction,UpdateAction.Builder
public interface UpdateActionOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionbooleanoptional bool detect_noop = 1 [json_name = "detectNoop"];com.google.protobuf.ByteStringgetDoc()optional bytes doc = 2 [json_name = "doc"];booleanoptional bool doc_as_upsert = 3 [json_name = "docAsUpsert"];optional .org.opensearch.protobufs.Script script = 4 [json_name = "script"];booleanoptional bool scripted_upsert = 5 [json_name = "scriptedUpsert"];optional .org.opensearch.protobufs.Script script = 4 [json_name = "script"];com.google.protobuf.ByteStringoptional bytes upsert = 6 [json_name = "upsert"];optional .org.opensearch.protobufs.SourceConfig x_source = 7 [json_name = "xSource"];optional .org.opensearch.protobufs.SourceConfig x_source = 7 [json_name = "xSource"];booleanoptional bool detect_noop = 1 [json_name = "detectNoop"];booleanhasDoc()optional bytes doc = 2 [json_name = "doc"];booleanoptional bool doc_as_upsert = 3 [json_name = "docAsUpsert"];booleanoptional .org.opensearch.protobufs.Script script = 4 [json_name = "script"];booleanoptional bool scripted_upsert = 5 [json_name = "scriptedUpsert"];booleanoptional bytes upsert = 6 [json_name = "upsert"];booleanoptional .org.opensearch.protobufs.SourceConfig x_source = 7 [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
-
hasDetectNoop
boolean hasDetectNoop()optional bool detect_noop = 1 [json_name = "detectNoop"];- Returns:
- Whether the detectNoop field is set.
-
getDetectNoop
boolean getDetectNoop()optional bool detect_noop = 1 [json_name = "detectNoop"];- Returns:
- The detectNoop.
-
hasDoc
boolean hasDoc()optional bytes doc = 2 [json_name = "doc"];- Returns:
- Whether the doc field is set.
-
getDoc
com.google.protobuf.ByteString getDoc()optional bytes doc = 2 [json_name = "doc"];- Returns:
- The doc.
-
hasDocAsUpsert
boolean hasDocAsUpsert()optional bool doc_as_upsert = 3 [json_name = "docAsUpsert"];- Returns:
- Whether the docAsUpsert field is set.
-
getDocAsUpsert
boolean getDocAsUpsert()optional bool doc_as_upsert = 3 [json_name = "docAsUpsert"];- Returns:
- The docAsUpsert.
-
hasScript
boolean hasScript()optional .org.opensearch.protobufs.Script script = 4 [json_name = "script"];- Returns:
- Whether the script field is set.
-
getScript
Script getScript()optional .org.opensearch.protobufs.Script script = 4 [json_name = "script"];- Returns:
- The script.
-
getScriptOrBuilder
ScriptOrBuilder getScriptOrBuilder()optional .org.opensearch.protobufs.Script script = 4 [json_name = "script"]; -
hasScriptedUpsert
boolean hasScriptedUpsert()optional bool scripted_upsert = 5 [json_name = "scriptedUpsert"];- Returns:
- Whether the scriptedUpsert field is set.
-
getScriptedUpsert
boolean getScriptedUpsert()optional bool scripted_upsert = 5 [json_name = "scriptedUpsert"];- Returns:
- The scriptedUpsert.
-
hasUpsert
boolean hasUpsert()optional bytes upsert = 6 [json_name = "upsert"];- Returns:
- Whether the upsert field is set.
-
getUpsert
com.google.protobuf.ByteString getUpsert()optional bytes upsert = 6 [json_name = "upsert"];- Returns:
- The upsert.
-
hasXSource
boolean hasXSource()optional .org.opensearch.protobufs.SourceConfig x_source = 7 [json_name = "xSource"];- Returns:
- Whether the xSource field is set.
-
getXSource
SourceConfig getXSource()optional .org.opensearch.protobufs.SourceConfig x_source = 7 [json_name = "xSource"];- Returns:
- The xSource.
-
getXSourceOrBuilder
SourceConfigOrBuilder getXSourceOrBuilder()optional .org.opensearch.protobufs.SourceConfig x_source = 7 [json_name = "xSource"];
-