Interface ScriptOrBuilder

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

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

    Modifier and Type
    Method
    Description
    .org.opensearch.protobufs.InlineScript inline = 1 [json_name = "inline"];
    .org.opensearch.protobufs.InlineScript inline = 1 [json_name = "inline"];
     
    .org.opensearch.protobufs.StoredScriptId stored = 2 [json_name = "stored"];
    .org.opensearch.protobufs.StoredScriptId stored = 2 [json_name = "stored"];
    boolean
    .org.opensearch.protobufs.InlineScript inline = 1 [json_name = "inline"];
    boolean
    .org.opensearch.protobufs.StoredScriptId stored = 2 [json_name = "stored"];

    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

    • hasInline

      boolean hasInline()
      .org.opensearch.protobufs.InlineScript inline = 1 [json_name = "inline"];
      Returns:
      Whether the inline field is set.
    • getInline

      InlineScript getInline()
      .org.opensearch.protobufs.InlineScript inline = 1 [json_name = "inline"];
      Returns:
      The inline.
    • getInlineOrBuilder

      InlineScriptOrBuilder getInlineOrBuilder()
      .org.opensearch.protobufs.InlineScript inline = 1 [json_name = "inline"];
    • hasStored

      boolean hasStored()
      .org.opensearch.protobufs.StoredScriptId stored = 2 [json_name = "stored"];
      Returns:
      Whether the stored field is set.
    • getStored

      StoredScriptId getStored()
      .org.opensearch.protobufs.StoredScriptId stored = 2 [json_name = "stored"];
      Returns:
      The stored.
    • getStoredOrBuilder

      StoredScriptIdOrBuilder getStoredOrBuilder()
      .org.opensearch.protobufs.StoredScriptId stored = 2 [json_name = "stored"];
    • getScriptCase

      Script.ScriptCase getScriptCase()