Package gauge.messages
Class Spec.Error
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- gauge.messages.Spec.Error
-
- All Implemented Interfaces:
com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Spec.ErrorOrBuilder,Serializable
- Enclosing class:
- Spec
public static final class Spec.Error extends com.google.protobuf.GeneratedMessageV3 implements Spec.ErrorOrBuilder
/ A proto object representing an error in spec/Scenario.
Protobuf typegauge.messages.Error- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classSpec.Error.Builder/ A proto object representing an error in spec/Scenario.static classSpec.Error.ErrorTypeProtobuf enumgauge.messages.Error.ErrorType-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
-
-
Field Summary
Fields Modifier and Type Field Description static intFILENAME_FIELD_NUMBERstatic intLINENUMBER_FIELD_NUMBERstatic intMESSAGE_FIELD_NUMBERstatic intTYPE_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)static Spec.ErrorgetDefaultInstance()Spec.ErrorgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()StringgetFilename()/ Holds the filename.com.google.protobuf.ByteStringgetFilenameBytes()/ Holds the filename.intgetLineNumber()/ Holds the line number of the error in file.StringgetMessage()/ Holds the error message.com.google.protobuf.ByteStringgetMessageBytes()/ Holds the error message.com.google.protobuf.Parser<Spec.Error>getParserForType()intgetSerializedSize()Spec.Error.ErrorTypegetType()/ Holds the type of errorintgetTypeValue()/ Holds the type of errorcom.google.protobuf.UnknownFieldSetgetUnknownFields()inthashCode()protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static Spec.Error.BuildernewBuilder()static Spec.Error.BuildernewBuilder(Spec.Error prototype)Spec.Error.BuildernewBuilderForType()protected Spec.Error.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)static Spec.ErrorparseDelimitedFrom(InputStream input)static Spec.ErrorparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Spec.ErrorparseFrom(byte[] data)static Spec.ErrorparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Spec.ErrorparseFrom(com.google.protobuf.ByteString data)static Spec.ErrorparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Spec.ErrorparseFrom(com.google.protobuf.CodedInputStream input)static Spec.ErrorparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Spec.ErrorparseFrom(InputStream input)static Spec.ErrorparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Spec.ErrorparseFrom(ByteBuffer data)static Spec.ErrorparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<Spec.Error>parser()Spec.Error.BuildertoBuilder()voidwriteTo(com.google.protobuf.CodedOutputStream output)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, makeExtensionsImmutable, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newInstance, 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
-
-
-
-
Field Detail
-
TYPE_FIELD_NUMBER
public static final int TYPE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
FILENAME_FIELD_NUMBER
public static final int FILENAME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
LINENUMBER_FIELD_NUMBER
public static final int LINENUMBER_FIELD_NUMBER
- See Also:
- Constant Field Values
-
MESSAGE_FIELD_NUMBER
public static final int MESSAGE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
getUnknownFields
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
- Specified by:
getUnknownFieldsin interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3
-
getTypeValue
public int getTypeValue()
/ Holds the type of error
.gauge.messages.Error.ErrorType type = 1;- Specified by:
getTypeValuein interfaceSpec.ErrorOrBuilder
-
getType
public Spec.Error.ErrorType getType()
/ Holds the type of error
.gauge.messages.Error.ErrorType type = 1;- Specified by:
getTypein interfaceSpec.ErrorOrBuilder
-
getFilename
public String getFilename()
/ Holds the filename.
string filename = 2;- Specified by:
getFilenamein interfaceSpec.ErrorOrBuilder
-
getFilenameBytes
public com.google.protobuf.ByteString getFilenameBytes()
/ Holds the filename.
string filename = 2;- Specified by:
getFilenameBytesin interfaceSpec.ErrorOrBuilder
-
getLineNumber
public int getLineNumber()
/ Holds the line number of the error in file.
int32 lineNumber = 3;- Specified by:
getLineNumberin interfaceSpec.ErrorOrBuilder
-
getMessage
public String getMessage()
/ Holds the error message.
string message = 4;- Specified by:
getMessagein interfaceSpec.ErrorOrBuilder
-
getMessageBytes
public com.google.protobuf.ByteString getMessageBytes()
/ Holds the error message.
string message = 4;- Specified by:
getMessageBytesin interfaceSpec.ErrorOrBuilder
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException- 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
public boolean equals(Object obj)
- 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 Spec.Error parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Spec.Error parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Spec.Error parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Spec.Error parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Spec.Error parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Spec.Error parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Spec.Error parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static Spec.Error parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static Spec.Error parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static Spec.Error parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static Spec.Error parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static Spec.Error parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public Spec.Error.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static Spec.Error.Builder newBuilder()
-
newBuilder
public static Spec.Error.Builder newBuilder(Spec.Error prototype)
-
toBuilder
public Spec.Error.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected Spec.Error.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static Spec.Error getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<Spec.Error> parser()
-
getParserForType
public com.google.protobuf.Parser<Spec.Error> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public Spec.Error getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-