Package flyteidl.core
Interface Errors.ContainerErrorOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Errors.ContainerError,Errors.ContainerError.Builder
- Enclosing class:
- Errors
public static interface Errors.ContainerErrorOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetCode()A simplified code for errors, so that we can provide a glossary of all possible errors.com.google.protobuf.ByteStringgetCodeBytes()A simplified code for errors, so that we can provide a glossary of all possible errors.Errors.ContainerError.KindgetKind()An abstract error kind for this error.intgetKindValue()An abstract error kind for this error.StringgetMessage()A detailed error message.com.google.protobuf.ByteStringgetMessageBytes()A detailed error message.Execution.ExecutionError.ErrorKindgetOrigin()Defines the origin of the error (system, user, unknown).intgetOriginValue()Defines the origin of the error (system, user, unknown).-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getCode
String getCode()
A simplified code for errors, so that we can provide a glossary of all possible errors.
string code = 1;- Returns:
- The code.
-
getCodeBytes
com.google.protobuf.ByteString getCodeBytes()
A simplified code for errors, so that we can provide a glossary of all possible errors.
string code = 1;- Returns:
- The bytes for code.
-
getMessage
String getMessage()
A detailed error message.
string message = 2;- Returns:
- The message.
-
getMessageBytes
com.google.protobuf.ByteString getMessageBytes()
A detailed error message.
string message = 2;- Returns:
- The bytes for message.
-
getKindValue
int getKindValue()
An abstract error kind for this error. Defaults to Non_Recoverable if not specified.
.flyteidl.core.ContainerError.Kind kind = 3;- Returns:
- The enum numeric value on the wire for kind.
-
getKind
Errors.ContainerError.Kind getKind()
An abstract error kind for this error. Defaults to Non_Recoverable if not specified.
.flyteidl.core.ContainerError.Kind kind = 3;- Returns:
- The kind.
-
getOriginValue
int getOriginValue()
Defines the origin of the error (system, user, unknown).
.flyteidl.core.ExecutionError.ErrorKind origin = 4;- Returns:
- The enum numeric value on the wire for origin.
-
getOrigin
Execution.ExecutionError.ErrorKind getOrigin()
Defines the origin of the error (system, user, unknown).
.flyteidl.core.ExecutionError.ErrorKind origin = 4;- Returns:
- The origin.
-
-