Class ErrorCause

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
org.opensearch.protobufs.ErrorCause
All Implemented Interfaces:
com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable, ErrorCauseOrBuilder

public final class ErrorCause extends com.google.protobuf.GeneratedMessageV3 implements ErrorCauseOrBuilder
Protobuf type org.opensearch.protobufs.ErrorCause
See Also:
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static final class 
    Protobuf type org.opensearch.protobufs.ErrorCause

    Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3

    com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter

    Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite

    com.google.protobuf.AbstractMessageLite.InternalOneOfEnum
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     

    Fields inherited from class com.google.protobuf.GeneratedMessageV3

    alwaysUseFieldBuilders, unknownFields

    Fields inherited from class com.google.protobuf.AbstractMessage

    memoizedSize

    Fields inherited from class com.google.protobuf.AbstractMessageLite

    memoizedHashCode
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    map<string, .org.opensearch.protobufs.StringArray> header = 8 [json_name = "header"];
    boolean
     
    optional .org.opensearch.protobufs.ErrorCause caused_by = 4 [json_name = "causedBy"];
    optional .org.opensearch.protobufs.ErrorCause caused_by = 4 [json_name = "causedBy"];
    static ErrorCause
     
     
    static final com.google.protobuf.Descriptors.Descriptor
     
    Deprecated.
    int
    map<string, .org.opensearch.protobufs.StringArray> header = 8 [json_name = "header"];
    map<string, .org.opensearch.protobufs.StringArray> header = 8 [json_name = "header"];
    map<string, .org.opensearch.protobufs.StringArray> header = 8 [json_name = "header"];
    map<string, .org.opensearch.protobufs.StringArray> header = 8 [json_name = "header"];
    optional .org.opensearch.protobufs.ObjectMap metadata = 7 [json_name = "metadata"];
    optional .org.opensearch.protobufs.ObjectMap metadata = 7 [json_name = "metadata"];
    com.google.protobuf.Parser<ErrorCause>
     
    optional string reason = 2 [json_name = "reason"];
    com.google.protobuf.ByteString
    optional string reason = 2 [json_name = "reason"];
    getRootCause(int index)
    repeated .org.opensearch.protobufs.ErrorCause root_cause = 5 [json_name = "rootCause"];
    int
    repeated .org.opensearch.protobufs.ErrorCause root_cause = 5 [json_name = "rootCause"];
    repeated .org.opensearch.protobufs.ErrorCause root_cause = 5 [json_name = "rootCause"];
    repeated .org.opensearch.protobufs.ErrorCause root_cause = 5 [json_name = "rootCause"];
    repeated .org.opensearch.protobufs.ErrorCause root_cause = 5 [json_name = "rootCause"];
    int
     
    optional string stack_trace = 3 [json_name = "stackTrace"];
    com.google.protobuf.ByteString
    optional string stack_trace = 3 [json_name = "stackTrace"];
    getSuppressed(int index)
    repeated .org.opensearch.protobufs.ErrorCause suppressed = 6 [json_name = "suppressed"];
    int
    repeated .org.opensearch.protobufs.ErrorCause suppressed = 6 [json_name = "suppressed"];
    repeated .org.opensearch.protobufs.ErrorCause suppressed = 6 [json_name = "suppressed"];
    repeated .org.opensearch.protobufs.ErrorCause suppressed = 6 [json_name = "suppressed"];
    repeated .org.opensearch.protobufs.ErrorCause suppressed = 6 [json_name = "suppressed"];
    string type = 1 [json_name = "type"];
    com.google.protobuf.ByteString
    string type = 1 [json_name = "type"];
    boolean
    optional .org.opensearch.protobufs.ErrorCause caused_by = 4 [json_name = "causedBy"];
    int
     
    boolean
    optional .org.opensearch.protobufs.ObjectMap metadata = 7 [json_name = "metadata"];
    boolean
    optional string reason = 2 [json_name = "reason"];
    boolean
    optional string stack_trace = 3 [json_name = "stackTrace"];
    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
     
    protected com.google.protobuf.MapFieldReflectionAccessor
     
    final boolean
     
     
     
     
    newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
     
    protected Object
    newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
     
    static ErrorCause
     
    static ErrorCause
    parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    static ErrorCause
    parseFrom(byte[] data)
     
    static ErrorCause
    parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    static ErrorCause
    parseFrom(com.google.protobuf.ByteString data)
     
    static ErrorCause
    parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    static ErrorCause
    parseFrom(com.google.protobuf.CodedInputStream input)
     
    static ErrorCause
    parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    static ErrorCause
     
    static ErrorCause
    parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    static ErrorCause
     
    static ErrorCause
    parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    static com.google.protobuf.Parser<ErrorCause>
     
     
    void
    writeTo(com.google.protobuf.CodedOutputStream output)
     

    Methods inherited from class com.google.protobuf.GeneratedMessageV3

    canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag

    Methods inherited from class com.google.protobuf.AbstractMessage

    findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString

    Methods inherited from class com.google.protobuf.AbstractMessageLite

    addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait

    Methods inherited from interface com.google.protobuf.MessageLite

    toByteArray, toByteString, writeDelimitedTo, writeTo

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

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

  • Method Details

    • newInstance

      protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
      Overrides:
      newInstance in class com.google.protobuf.GeneratedMessageV3
    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetMapFieldReflection

      protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
      Overrides:
      internalGetMapFieldReflection in class com.google.protobuf.GeneratedMessageV3
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3
    • getType

      public String getType()
      string type = 1 [json_name = "type"];
      Specified by:
      getType in interface ErrorCauseOrBuilder
      Returns:
      The type.
    • getTypeBytes

      public com.google.protobuf.ByteString getTypeBytes()
      string type = 1 [json_name = "type"];
      Specified by:
      getTypeBytes in interface ErrorCauseOrBuilder
      Returns:
      The bytes for type.
    • hasReason

      public boolean hasReason()
      optional string reason = 2 [json_name = "reason"];
      Specified by:
      hasReason in interface ErrorCauseOrBuilder
      Returns:
      Whether the reason field is set.
    • getReason

      public String getReason()
      optional string reason = 2 [json_name = "reason"];
      Specified by:
      getReason in interface ErrorCauseOrBuilder
      Returns:
      The reason.
    • getReasonBytes

      public com.google.protobuf.ByteString getReasonBytes()
      optional string reason = 2 [json_name = "reason"];
      Specified by:
      getReasonBytes in interface ErrorCauseOrBuilder
      Returns:
      The bytes for reason.
    • hasStackTrace

      public boolean hasStackTrace()
      optional string stack_trace = 3 [json_name = "stackTrace"];
      Specified by:
      hasStackTrace in interface ErrorCauseOrBuilder
      Returns:
      Whether the stackTrace field is set.
    • getStackTrace

      public String getStackTrace()
      optional string stack_trace = 3 [json_name = "stackTrace"];
      Specified by:
      getStackTrace in interface ErrorCauseOrBuilder
      Returns:
      The stackTrace.
    • getStackTraceBytes

      public com.google.protobuf.ByteString getStackTraceBytes()
      optional string stack_trace = 3 [json_name = "stackTrace"];
      Specified by:
      getStackTraceBytes in interface ErrorCauseOrBuilder
      Returns:
      The bytes for stackTrace.
    • hasCausedBy

      public boolean hasCausedBy()
      optional .org.opensearch.protobufs.ErrorCause caused_by = 4 [json_name = "causedBy"];
      Specified by:
      hasCausedBy in interface ErrorCauseOrBuilder
      Returns:
      Whether the causedBy field is set.
    • getCausedBy

      public ErrorCause getCausedBy()
      optional .org.opensearch.protobufs.ErrorCause caused_by = 4 [json_name = "causedBy"];
      Specified by:
      getCausedBy in interface ErrorCauseOrBuilder
      Returns:
      The causedBy.
    • getCausedByOrBuilder

      public ErrorCauseOrBuilder getCausedByOrBuilder()
      optional .org.opensearch.protobufs.ErrorCause caused_by = 4 [json_name = "causedBy"];
      Specified by:
      getCausedByOrBuilder in interface ErrorCauseOrBuilder
    • getRootCauseList

      public List<ErrorCause> getRootCauseList()
      repeated .org.opensearch.protobufs.ErrorCause root_cause = 5 [json_name = "rootCause"];
      Specified by:
      getRootCauseList in interface ErrorCauseOrBuilder
    • getRootCauseOrBuilderList

      public List<? extends ErrorCauseOrBuilder> getRootCauseOrBuilderList()
      repeated .org.opensearch.protobufs.ErrorCause root_cause = 5 [json_name = "rootCause"];
      Specified by:
      getRootCauseOrBuilderList in interface ErrorCauseOrBuilder
    • getRootCauseCount

      public int getRootCauseCount()
      repeated .org.opensearch.protobufs.ErrorCause root_cause = 5 [json_name = "rootCause"];
      Specified by:
      getRootCauseCount in interface ErrorCauseOrBuilder
    • getRootCause

      public ErrorCause getRootCause(int index)
      repeated .org.opensearch.protobufs.ErrorCause root_cause = 5 [json_name = "rootCause"];
      Specified by:
      getRootCause in interface ErrorCauseOrBuilder
    • getRootCauseOrBuilder

      public ErrorCauseOrBuilder getRootCauseOrBuilder(int index)
      repeated .org.opensearch.protobufs.ErrorCause root_cause = 5 [json_name = "rootCause"];
      Specified by:
      getRootCauseOrBuilder in interface ErrorCauseOrBuilder
    • getSuppressedList

      public List<ErrorCause> getSuppressedList()
      repeated .org.opensearch.protobufs.ErrorCause suppressed = 6 [json_name = "suppressed"];
      Specified by:
      getSuppressedList in interface ErrorCauseOrBuilder
    • getSuppressedOrBuilderList

      public List<? extends ErrorCauseOrBuilder> getSuppressedOrBuilderList()
      repeated .org.opensearch.protobufs.ErrorCause suppressed = 6 [json_name = "suppressed"];
      Specified by:
      getSuppressedOrBuilderList in interface ErrorCauseOrBuilder
    • getSuppressedCount

      public int getSuppressedCount()
      repeated .org.opensearch.protobufs.ErrorCause suppressed = 6 [json_name = "suppressed"];
      Specified by:
      getSuppressedCount in interface ErrorCauseOrBuilder
    • getSuppressed

      public ErrorCause getSuppressed(int index)
      repeated .org.opensearch.protobufs.ErrorCause suppressed = 6 [json_name = "suppressed"];
      Specified by:
      getSuppressed in interface ErrorCauseOrBuilder
    • getSuppressedOrBuilder

      public ErrorCauseOrBuilder getSuppressedOrBuilder(int index)
      repeated .org.opensearch.protobufs.ErrorCause suppressed = 6 [json_name = "suppressed"];
      Specified by:
      getSuppressedOrBuilder in interface ErrorCauseOrBuilder
    • hasMetadata

      public boolean hasMetadata()
      optional .org.opensearch.protobufs.ObjectMap metadata = 7 [json_name = "metadata"];
      Specified by:
      hasMetadata in interface ErrorCauseOrBuilder
      Returns:
      Whether the metadata field is set.
    • getMetadata

      public ObjectMap getMetadata()
      optional .org.opensearch.protobufs.ObjectMap metadata = 7 [json_name = "metadata"];
      Specified by:
      getMetadata in interface ErrorCauseOrBuilder
      Returns:
      The metadata.
    • getMetadataOrBuilder

      public ObjectMapOrBuilder getMetadataOrBuilder()
      optional .org.opensearch.protobufs.ObjectMap metadata = 7 [json_name = "metadata"];
      Specified by:
      getMetadataOrBuilder in interface ErrorCauseOrBuilder
    • getHeaderCount

      public int getHeaderCount()
      Description copied from interface: ErrorCauseOrBuilder
      map<string, .org.opensearch.protobufs.StringArray> header = 8 [json_name = "header"];
      Specified by:
      getHeaderCount in interface ErrorCauseOrBuilder
    • containsHeader

      public boolean containsHeader(String key)
      map<string, .org.opensearch.protobufs.StringArray> header = 8 [json_name = "header"];
      Specified by:
      containsHeader in interface ErrorCauseOrBuilder
    • getHeader

      @Deprecated public Map<String,StringArray> getHeader()
      Deprecated.
      Use getHeaderMap() instead.
      Specified by:
      getHeader in interface ErrorCauseOrBuilder
    • getHeaderMap

      public Map<String,StringArray> getHeaderMap()
      map<string, .org.opensearch.protobufs.StringArray> header = 8 [json_name = "header"];
      Specified by:
      getHeaderMap in interface ErrorCauseOrBuilder
    • getHeaderOrDefault

      public StringArray getHeaderOrDefault(String key, StringArray defaultValue)
      map<string, .org.opensearch.protobufs.StringArray> header = 8 [json_name = "header"];
      Specified by:
      getHeaderOrDefault in interface ErrorCauseOrBuilder
    • getHeaderOrThrow

      public StringArray getHeaderOrThrow(String key)
      map<string, .org.opensearch.protobufs.StringArray> header = 8 [json_name = "header"];
      Specified by:
      getHeaderOrThrow in interface ErrorCauseOrBuilder
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessageV3
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessageV3
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessageV3
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.google.protobuf.AbstractMessage
    • parseFrom

      public static ErrorCause parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static ErrorCause parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static ErrorCause parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static ErrorCause parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static ErrorCause parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static ErrorCause parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static ErrorCause parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static ErrorCause parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static ErrorCause parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static ErrorCause parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static ErrorCause parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static ErrorCause parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

      public ErrorCause.Builder newBuilderForType()
      Specified by:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

      public static ErrorCause.Builder newBuilder()
    • newBuilder

      public static ErrorCause.Builder newBuilder(ErrorCause prototype)
    • toBuilder

      public ErrorCause.Builder toBuilder()
      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected ErrorCause.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
      Specified by:
      newBuilderForType in class com.google.protobuf.GeneratedMessageV3
    • getDefaultInstance

      public static ErrorCause getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<ErrorCause> parser()
    • getParserForType

      public com.google.protobuf.Parser<ErrorCause> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessageV3
    • getDefaultInstanceForType

      public ErrorCause getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder