Package gauge.messages
Interface Spec.ErrorOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Spec.Error,Spec.Error.Builder
- Enclosing class:
- Spec
public static interface Spec.ErrorOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescription/ Holds the filename.com.google.protobuf.ByteString/ Holds the filename.int/ Holds the line number of the error in file./ Holds the error message.com.google.protobuf.ByteString/ Holds the error message.getType()/ Holds the type of errorint/ Holds the type of errorMethods 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
-
getTypeValue
int getTypeValue()/ Holds the type of error
.gauge.messages.Error.ErrorType type = 1;- Returns:
- The enum numeric value on the wire for type.
-
getType
Spec.Error.ErrorType getType()/ Holds the type of error
.gauge.messages.Error.ErrorType type = 1;- Returns:
- The type.
-
getFilename
String getFilename()/ Holds the filename.
string filename = 2;- Returns:
- The filename.
-
getFilenameBytes
com.google.protobuf.ByteString getFilenameBytes()/ Holds the filename.
string filename = 2;- Returns:
- The bytes for filename.
-
getLineNumber
int getLineNumber()/ Holds the line number of the error in file.
int32 lineNumber = 3;- Returns:
- The lineNumber.
-
getMessage
String getMessage()/ Holds the error message.
string message = 4;- Returns:
- The message.
-
getMessageBytes
com.google.protobuf.ByteString getMessageBytes()/ Holds the error message.
string message = 4;- Returns:
- The bytes for message.
-