Package com.authzed.api.v0
Class Developer.DeveloperError
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.authzed.api.v0.Developer.DeveloperError
- All Implemented Interfaces:
Developer.DeveloperErrorOrBuilder
,com.google.protobuf.Message
,com.google.protobuf.MessageLite
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Serializable
- Enclosing class:
- Developer
public static final class Developer.DeveloperError
extends com.google.protobuf.GeneratedMessage
implements Developer.DeveloperErrorOrBuilder
Protobuf type
authzed.api.v0.DeveloperError
- See Also:
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic final class
Protobuf typeauthzed.api.v0.DeveloperError
static enum
Protobuf enumauthzed.api.v0.DeveloperError.ErrorKind
static enum
Protobuf enumauthzed.api.v0.DeveloperError.Source
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage
com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>,
BuilderT extends com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT extends com.google.protobuf.Message, T extends Object>, com.google.protobuf.GeneratedMessage.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessage
com.google.protobuf.AbstractMessage.BuilderParent
Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum
-
Field Summary
Modifier and TypeFieldDescriptionstatic 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.GeneratedMessage
alwaysUseFieldBuilders, unknownFields
Fields inherited from class com.google.protobuf.AbstractMessage
memoizedSize
Fields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode
-
Method Summary
Modifier and TypeMethodDescriptionboolean
int
uint32 column = 3;
context holds the context for the error.com.google.protobuf.ByteString
context holds the context for the error.static Developer.DeveloperError
static final com.google.protobuf.Descriptors.Descriptor
getKind()
.authzed.api.v0.DeveloperError.ErrorKind kind = 5;
int
.authzed.api.v0.DeveloperError.ErrorKind kind = 5;
int
getLine()
uint32 line = 2;
string message = 1;
com.google.protobuf.ByteString
string message = 1;
com.google.protobuf.Parser<Developer.DeveloperError>
getPath
(int index) repeated string path = 6;
com.google.protobuf.ByteString
getPathBytes
(int index) repeated string path = 6;
int
repeated string path = 6;
com.google.protobuf.ProtocolStringList
repeated string path = 6;
int
.authzed.api.v0.DeveloperError.Source source = 4;
int
.authzed.api.v0.DeveloperError.Source source = 4;
int
hashCode()
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
final boolean
newBuilder
(Developer.DeveloperError prototype) protected Developer.DeveloperError.Builder
newBuilderForType
(com.google.protobuf.AbstractMessage.BuilderParent parent) static Developer.DeveloperError
parseDelimitedFrom
(InputStream input) static Developer.DeveloperError
parseDelimitedFrom
(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Developer.DeveloperError
parseFrom
(byte[] data) static Developer.DeveloperError
parseFrom
(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Developer.DeveloperError
parseFrom
(com.google.protobuf.ByteString data) static Developer.DeveloperError
parseFrom
(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Developer.DeveloperError
parseFrom
(com.google.protobuf.CodedInputStream input) static Developer.DeveloperError
parseFrom
(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Developer.DeveloperError
parseFrom
(InputStream input) static Developer.DeveloperError
parseFrom
(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Developer.DeveloperError
parseFrom
(ByteBuffer data) static Developer.DeveloperError
parseFrom
(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<Developer.DeveloperError>
parser()
void
writeTo
(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessage
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, 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, hashFields, toString
Methods inherited from class com.google.protobuf.AbstractMessageLite
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
-
MESSAGE_FIELD_NUMBER
public static final int MESSAGE_FIELD_NUMBER- See Also:
-
LINE_FIELD_NUMBER
public static final int LINE_FIELD_NUMBER- See Also:
-
COLUMN_FIELD_NUMBER
public static final int COLUMN_FIELD_NUMBER- See Also:
-
SOURCE_FIELD_NUMBER
public static final int SOURCE_FIELD_NUMBER- See Also:
-
KIND_FIELD_NUMBER
public static final int KIND_FIELD_NUMBER- See Also:
-
PATH_FIELD_NUMBER
public static final int PATH_FIELD_NUMBER- See Also:
-
CONTEXT_FIELD_NUMBER
public static final int CONTEXT_FIELD_NUMBER- See Also:
-
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessage
-
getMessage
string message = 1;
- Specified by:
getMessage
in interfaceDeveloper.DeveloperErrorOrBuilder
- Returns:
- The message.
-
getMessageBytes
public com.google.protobuf.ByteString getMessageBytes()string message = 1;
- Specified by:
getMessageBytes
in interfaceDeveloper.DeveloperErrorOrBuilder
- Returns:
- The bytes for message.
-
getLine
public int getLine()uint32 line = 2;
- Specified by:
getLine
in interfaceDeveloper.DeveloperErrorOrBuilder
- Returns:
- The line.
-
getColumn
public int getColumn()uint32 column = 3;
- Specified by:
getColumn
in interfaceDeveloper.DeveloperErrorOrBuilder
- Returns:
- The column.
-
getSourceValue
public int getSourceValue().authzed.api.v0.DeveloperError.Source source = 4;
- Specified by:
getSourceValue
in interfaceDeveloper.DeveloperErrorOrBuilder
- Returns:
- The enum numeric value on the wire for source.
-
getSource
.authzed.api.v0.DeveloperError.Source source = 4;
- Specified by:
getSource
in interfaceDeveloper.DeveloperErrorOrBuilder
- Returns:
- The source.
-
getKindValue
public int getKindValue().authzed.api.v0.DeveloperError.ErrorKind kind = 5;
- Specified by:
getKindValue
in interfaceDeveloper.DeveloperErrorOrBuilder
- Returns:
- The enum numeric value on the wire for kind.
-
getKind
.authzed.api.v0.DeveloperError.ErrorKind kind = 5;
- Specified by:
getKind
in interfaceDeveloper.DeveloperErrorOrBuilder
- Returns:
- The kind.
-
getPathList
public com.google.protobuf.ProtocolStringList getPathList()repeated string path = 6;
- Specified by:
getPathList
in interfaceDeveloper.DeveloperErrorOrBuilder
- Returns:
- A list containing the path.
-
getPathCount
public int getPathCount()repeated string path = 6;
- Specified by:
getPathCount
in interfaceDeveloper.DeveloperErrorOrBuilder
- Returns:
- The count of path.
-
getPath
repeated string path = 6;
- Specified by:
getPath
in interfaceDeveloper.DeveloperErrorOrBuilder
- Parameters:
index
- The index of the element to return.- Returns:
- The path at the given index.
-
getPathBytes
public com.google.protobuf.ByteString getPathBytes(int index) repeated string path = 6;
- Specified by:
getPathBytes
in interfaceDeveloper.DeveloperErrorOrBuilder
- Parameters:
index
- The index of the value to return.- Returns:
- The bytes of the path at the given index.
-
getContext
context holds the context for the error. For schema issues, this will be the name of the object type. For relationship issues, the full relationship string.
string context = 7;
- Specified by:
getContext
in interfaceDeveloper.DeveloperErrorOrBuilder
- Returns:
- The context.
-
getContextBytes
public com.google.protobuf.ByteString getContextBytes()context holds the context for the error. For schema issues, this will be the name of the object type. For relationship issues, the full relationship string.
string context = 7;
- Specified by:
getContextBytes
in interfaceDeveloper.DeveloperErrorOrBuilder
- Returns:
- The bytes for context.
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessage
-
writeTo
- Specified by:
writeTo
in interfacecom.google.protobuf.MessageLite
- Overrides:
writeTo
in classcom.google.protobuf.GeneratedMessage
- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSize
in interfacecom.google.protobuf.MessageLite
- Overrides:
getSerializedSize
in classcom.google.protobuf.GeneratedMessage
-
equals
- Specified by:
equals
in interfacecom.google.protobuf.Message
- Overrides:
equals
in classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCode
in interfacecom.google.protobuf.Message
- Overrides:
hashCode
in classcom.google.protobuf.AbstractMessage
-
parseFrom
public static Developer.DeveloperError parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Developer.DeveloperError parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Developer.DeveloperError parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Developer.DeveloperError parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Developer.DeveloperError parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Developer.DeveloperError parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static Developer.DeveloperError parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static Developer.DeveloperError parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static Developer.DeveloperError parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static Developer.DeveloperError parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForType
in interfacecom.google.protobuf.Message
- Specified by:
newBuilderForType
in interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilder
in interfacecom.google.protobuf.Message
- Specified by:
toBuilder
in interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected Developer.DeveloperError.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) - Overrides:
newBuilderForType
in classcom.google.protobuf.AbstractMessage
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForType
in interfacecom.google.protobuf.Message
- Specified by:
getParserForType
in interfacecom.google.protobuf.MessageLite
- Overrides:
getParserForType
in classcom.google.protobuf.GeneratedMessage
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-