Package com.authzed.api.v0
Interface Developer.DeveloperErrorOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Developer.DeveloperError
,Developer.DeveloperError.Builder
- Enclosing class:
- Developer
public static interface Developer.DeveloperErrorOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionint
uint32 column = 3;
context holds the context for the error.com.google.protobuf.ByteString
context holds the context for the error.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;
getPath
(int index) repeated string path = 6;
com.google.protobuf.ByteString
getPathBytes
(int index) repeated string path = 6;
int
repeated string path = 6;
repeated string path = 6;
.authzed.api.v0.DeveloperError.Source source = 4;
int
.authzed.api.v0.DeveloperError.Source source = 4;
Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getMessage
String getMessage()string message = 1;
- Returns:
- The message.
-
getMessageBytes
com.google.protobuf.ByteString getMessageBytes()string message = 1;
- Returns:
- The bytes for message.
-
getLine
int getLine()uint32 line = 2;
- Returns:
- The line.
-
getColumn
int getColumn()uint32 column = 3;
- Returns:
- The column.
-
getSourceValue
int getSourceValue().authzed.api.v0.DeveloperError.Source source = 4;
- Returns:
- The enum numeric value on the wire for source.
-
getSource
Developer.DeveloperError.Source getSource().authzed.api.v0.DeveloperError.Source source = 4;
- Returns:
- The source.
-
getKindValue
int getKindValue().authzed.api.v0.DeveloperError.ErrorKind kind = 5;
- Returns:
- The enum numeric value on the wire for kind.
-
getKind
Developer.DeveloperError.ErrorKind getKind().authzed.api.v0.DeveloperError.ErrorKind kind = 5;
- Returns:
- The kind.
-
getPathList
repeated string path = 6;
- Returns:
- A list containing the path.
-
getPathCount
int getPathCount()repeated string path = 6;
- Returns:
- The count of path.
-
getPath
repeated string path = 6;
- Parameters:
index
- The index of the element to return.- Returns:
- The path at the given index.
-
getPathBytes
com.google.protobuf.ByteString getPathBytes(int index) repeated string path = 6;
- Parameters:
index
- The index of the value to return.- Returns:
- The bytes of the path at the given index.
-
getContext
String 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;
- Returns:
- The context.
-
getContextBytes
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;
- Returns:
- The bytes for context.
-