Package org.opensearch.protobufs
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 ClassesModifier and TypeClassDescriptionstatic final classProtobuf typeorg.opensearch.protobufs.ErrorCauseNested 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
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessageV3
alwaysUseFieldBuilders, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleancontainsHeader(String key) map<string, .org.opensearch.protobufs.StringArray> header = 8 [json_name = "header"];booleanoptional .org.opensearch.protobufs.ErrorCause caused_by = 4 [json_name = "causedBy"];optional .org.opensearch.protobufs.ErrorCause caused_by = 4 [json_name = "causedBy"];static ErrorCausestatic final com.google.protobuf.Descriptors.DescriptorDeprecated.intmap<string, .org.opensearch.protobufs.StringArray> header = 8 [json_name = "header"];map<string, .org.opensearch.protobufs.StringArray> header = 8 [json_name = "header"];getHeaderOrDefault(String key, StringArray defaultValue) map<string, .org.opensearch.protobufs.StringArray> header = 8 [json_name = "header"];getHeaderOrThrow(String key) 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.ByteStringoptional string reason = 2 [json_name = "reason"];getRootCause(int index) repeated .org.opensearch.protobufs.ErrorCause root_cause = 5 [json_name = "rootCause"];intrepeated .org.opensearch.protobufs.ErrorCause root_cause = 5 [json_name = "rootCause"];repeated .org.opensearch.protobufs.ErrorCause root_cause = 5 [json_name = "rootCause"];getRootCauseOrBuilder(int index) repeated .org.opensearch.protobufs.ErrorCause root_cause = 5 [json_name = "rootCause"];List<? extends ErrorCauseOrBuilder> repeated .org.opensearch.protobufs.ErrorCause root_cause = 5 [json_name = "rootCause"];intoptional string stack_trace = 3 [json_name = "stackTrace"];com.google.protobuf.ByteStringoptional string stack_trace = 3 [json_name = "stackTrace"];getSuppressed(int index) repeated .org.opensearch.protobufs.ErrorCause suppressed = 6 [json_name = "suppressed"];intrepeated .org.opensearch.protobufs.ErrorCause suppressed = 6 [json_name = "suppressed"];repeated .org.opensearch.protobufs.ErrorCause suppressed = 6 [json_name = "suppressed"];getSuppressedOrBuilder(int index) repeated .org.opensearch.protobufs.ErrorCause suppressed = 6 [json_name = "suppressed"];List<? extends ErrorCauseOrBuilder> repeated .org.opensearch.protobufs.ErrorCause suppressed = 6 [json_name = "suppressed"];getType()string type = 1 [json_name = "type"];com.google.protobuf.ByteStringstring type = 1 [json_name = "type"];booleanoptional .org.opensearch.protobufs.ErrorCause caused_by = 4 [json_name = "causedBy"];inthashCode()booleanoptional .org.opensearch.protobufs.ObjectMap metadata = 7 [json_name = "metadata"];booleanoptional string reason = 2 [json_name = "reason"];booleanoptional string stack_trace = 3 [json_name = "stackTrace"];protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableprotected com.google.protobuf.MapFieldReflectionAccessorinternalGetMapFieldReflection(int number) final booleanstatic ErrorCause.Builderstatic ErrorCause.BuildernewBuilder(ErrorCause prototype) protected ErrorCause.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) static ErrorCauseparseDelimitedFrom(InputStream input) static ErrorCauseparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ErrorCauseparseFrom(byte[] data) static ErrorCauseparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ErrorCauseparseFrom(com.google.protobuf.ByteString data) static ErrorCauseparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ErrorCauseparseFrom(com.google.protobuf.CodedInputStream input) static ErrorCauseparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ErrorCauseparseFrom(InputStream input) static ErrorCauseparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ErrorCauseparseFrom(ByteBuffer data) static ErrorCauseparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<ErrorCause> parser()voidwriteTo(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, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
TYPE_FIELD_NUMBER
public static final int TYPE_FIELD_NUMBER- See Also:
-
REASON_FIELD_NUMBER
public static final int REASON_FIELD_NUMBER- See Also:
-
STACK_TRACE_FIELD_NUMBER
public static final int STACK_TRACE_FIELD_NUMBER- See Also:
-
CAUSED_BY_FIELD_NUMBER
public static final int CAUSED_BY_FIELD_NUMBER- See Also:
-
ROOT_CAUSE_FIELD_NUMBER
public static final int ROOT_CAUSE_FIELD_NUMBER- See Also:
-
SUPPRESSED_FIELD_NUMBER
public static final int SUPPRESSED_FIELD_NUMBER- See Also:
-
METADATA_FIELD_NUMBER
public static final int METADATA_FIELD_NUMBER- See Also:
-
HEADER_FIELD_NUMBER
public static final int HEADER_FIELD_NUMBER- See Also:
-
-
Method Details
-
newInstance
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number) - Overrides:
internalGetMapFieldReflectionin classcom.google.protobuf.GeneratedMessageV3
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3
-
getType
string type = 1 [json_name = "type"];- Specified by:
getTypein interfaceErrorCauseOrBuilder- Returns:
- The type.
-
getTypeBytes
public com.google.protobuf.ByteString getTypeBytes()string type = 1 [json_name = "type"];- Specified by:
getTypeBytesin interfaceErrorCauseOrBuilder- Returns:
- The bytes for type.
-
hasReason
public boolean hasReason()optional string reason = 2 [json_name = "reason"];- Specified by:
hasReasonin interfaceErrorCauseOrBuilder- Returns:
- Whether the reason field is set.
-
getReason
optional string reason = 2 [json_name = "reason"];- Specified by:
getReasonin interfaceErrorCauseOrBuilder- Returns:
- The reason.
-
getReasonBytes
public com.google.protobuf.ByteString getReasonBytes()optional string reason = 2 [json_name = "reason"];- Specified by:
getReasonBytesin interfaceErrorCauseOrBuilder- Returns:
- The bytes for reason.
-
hasStackTrace
public boolean hasStackTrace()optional string stack_trace = 3 [json_name = "stackTrace"];- Specified by:
hasStackTracein interfaceErrorCauseOrBuilder- Returns:
- Whether the stackTrace field is set.
-
getStackTrace
optional string stack_trace = 3 [json_name = "stackTrace"];- Specified by:
getStackTracein interfaceErrorCauseOrBuilder- Returns:
- The stackTrace.
-
getStackTraceBytes
public com.google.protobuf.ByteString getStackTraceBytes()optional string stack_trace = 3 [json_name = "stackTrace"];- Specified by:
getStackTraceBytesin interfaceErrorCauseOrBuilder- Returns:
- The bytes for stackTrace.
-
hasCausedBy
public boolean hasCausedBy()optional .org.opensearch.protobufs.ErrorCause caused_by = 4 [json_name = "causedBy"];- Specified by:
hasCausedByin interfaceErrorCauseOrBuilder- Returns:
- Whether the causedBy field is set.
-
getCausedBy
optional .org.opensearch.protobufs.ErrorCause caused_by = 4 [json_name = "causedBy"];- Specified by:
getCausedByin interfaceErrorCauseOrBuilder- Returns:
- The causedBy.
-
getCausedByOrBuilder
optional .org.opensearch.protobufs.ErrorCause caused_by = 4 [json_name = "causedBy"];- Specified by:
getCausedByOrBuilderin interfaceErrorCauseOrBuilder
-
getRootCauseList
repeated .org.opensearch.protobufs.ErrorCause root_cause = 5 [json_name = "rootCause"];- Specified by:
getRootCauseListin interfaceErrorCauseOrBuilder
-
getRootCauseOrBuilderList
repeated .org.opensearch.protobufs.ErrorCause root_cause = 5 [json_name = "rootCause"];- Specified by:
getRootCauseOrBuilderListin interfaceErrorCauseOrBuilder
-
getRootCauseCount
public int getRootCauseCount()repeated .org.opensearch.protobufs.ErrorCause root_cause = 5 [json_name = "rootCause"];- Specified by:
getRootCauseCountin interfaceErrorCauseOrBuilder
-
getRootCause
repeated .org.opensearch.protobufs.ErrorCause root_cause = 5 [json_name = "rootCause"];- Specified by:
getRootCausein interfaceErrorCauseOrBuilder
-
getRootCauseOrBuilder
repeated .org.opensearch.protobufs.ErrorCause root_cause = 5 [json_name = "rootCause"];- Specified by:
getRootCauseOrBuilderin interfaceErrorCauseOrBuilder
-
getSuppressedList
repeated .org.opensearch.protobufs.ErrorCause suppressed = 6 [json_name = "suppressed"];- Specified by:
getSuppressedListin interfaceErrorCauseOrBuilder
-
getSuppressedOrBuilderList
repeated .org.opensearch.protobufs.ErrorCause suppressed = 6 [json_name = "suppressed"];- Specified by:
getSuppressedOrBuilderListin interfaceErrorCauseOrBuilder
-
getSuppressedCount
public int getSuppressedCount()repeated .org.opensearch.protobufs.ErrorCause suppressed = 6 [json_name = "suppressed"];- Specified by:
getSuppressedCountin interfaceErrorCauseOrBuilder
-
getSuppressed
repeated .org.opensearch.protobufs.ErrorCause suppressed = 6 [json_name = "suppressed"];- Specified by:
getSuppressedin interfaceErrorCauseOrBuilder
-
getSuppressedOrBuilder
repeated .org.opensearch.protobufs.ErrorCause suppressed = 6 [json_name = "suppressed"];- Specified by:
getSuppressedOrBuilderin interfaceErrorCauseOrBuilder
-
hasMetadata
public boolean hasMetadata()optional .org.opensearch.protobufs.ObjectMap metadata = 7 [json_name = "metadata"];- Specified by:
hasMetadatain interfaceErrorCauseOrBuilder- Returns:
- Whether the metadata field is set.
-
getMetadata
optional .org.opensearch.protobufs.ObjectMap metadata = 7 [json_name = "metadata"];- Specified by:
getMetadatain interfaceErrorCauseOrBuilder- Returns:
- The metadata.
-
getMetadataOrBuilder
optional .org.opensearch.protobufs.ObjectMap metadata = 7 [json_name = "metadata"];- Specified by:
getMetadataOrBuilderin interfaceErrorCauseOrBuilder
-
getHeaderCount
public int getHeaderCount()Description copied from interface:ErrorCauseOrBuildermap<string, .org.opensearch.protobufs.StringArray> header = 8 [json_name = "header"];- Specified by:
getHeaderCountin interfaceErrorCauseOrBuilder
-
containsHeader
map<string, .org.opensearch.protobufs.StringArray> header = 8 [json_name = "header"];- Specified by:
containsHeaderin interfaceErrorCauseOrBuilder
-
getHeader
Deprecated.UsegetHeaderMap()instead.- Specified by:
getHeaderin interfaceErrorCauseOrBuilder
-
getHeaderMap
map<string, .org.opensearch.protobufs.StringArray> header = 8 [json_name = "header"];- Specified by:
getHeaderMapin interfaceErrorCauseOrBuilder
-
getHeaderOrDefault
map<string, .org.opensearch.protobufs.StringArray> header = 8 [json_name = "header"];- Specified by:
getHeaderOrDefaultin interfaceErrorCauseOrBuilder
-
getHeaderOrThrow
map<string, .org.opensearch.protobufs.StringArray> header = 8 [json_name = "header"];- Specified by:
getHeaderOrThrowin interfaceErrorCauseOrBuilder
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.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
- Throws:
IOException
-
parseFrom
public static ErrorCause parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static ErrorCause parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static ErrorCause parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected ErrorCause.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) - Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-