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:
  • Field Details

  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage
    • getMessage

      public String getMessage()
      string message = 1;
      Specified by:
      getMessage in interface Developer.DeveloperErrorOrBuilder
      Returns:
      The message.
    • getMessageBytes

      public com.google.protobuf.ByteString getMessageBytes()
      string message = 1;
      Specified by:
      getMessageBytes in interface Developer.DeveloperErrorOrBuilder
      Returns:
      The bytes for message.
    • getLine

      public int getLine()
      uint32 line = 2;
      Specified by:
      getLine in interface Developer.DeveloperErrorOrBuilder
      Returns:
      The line.
    • getColumn

      public int getColumn()
      uint32 column = 3;
      Specified by:
      getColumn in interface Developer.DeveloperErrorOrBuilder
      Returns:
      The column.
    • getSourceValue

      public int getSourceValue()
      .authzed.api.v0.DeveloperError.Source source = 4;
      Specified by:
      getSourceValue in interface Developer.DeveloperErrorOrBuilder
      Returns:
      The enum numeric value on the wire for source.
    • getSource

      public Developer.DeveloperError.Source getSource()
      .authzed.api.v0.DeveloperError.Source source = 4;
      Specified by:
      getSource in interface Developer.DeveloperErrorOrBuilder
      Returns:
      The source.
    • getKindValue

      public int getKindValue()
      .authzed.api.v0.DeveloperError.ErrorKind kind = 5;
      Specified by:
      getKindValue in interface Developer.DeveloperErrorOrBuilder
      Returns:
      The enum numeric value on the wire for kind.
    • getKind

      .authzed.api.v0.DeveloperError.ErrorKind kind = 5;
      Specified by:
      getKind in interface Developer.DeveloperErrorOrBuilder
      Returns:
      The kind.
    • getPathList

      public com.google.protobuf.ProtocolStringList getPathList()
      repeated string path = 6;
      Specified by:
      getPathList in interface Developer.DeveloperErrorOrBuilder
      Returns:
      A list containing the path.
    • getPathCount

      public int getPathCount()
      repeated string path = 6;
      Specified by:
      getPathCount in interface Developer.DeveloperErrorOrBuilder
      Returns:
      The count of path.
    • getPath

      public String getPath(int index)
      repeated string path = 6;
      Specified by:
      getPath in interface Developer.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 interface Developer.DeveloperErrorOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the path at the given index.
    • getContext

      public 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;
      Specified by:
      getContext in interface Developer.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 interface Developer.DeveloperErrorOrBuilder
      Returns:
      The bytes for context.
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessage
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessage
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.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

      public static Developer.DeveloperError parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static Developer.DeveloperError parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static Developer.DeveloperError parseDelimitedFrom(InputStream input) throws IOException
      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

      public Developer.DeveloperError.Builder newBuilderForType()
      Specified by:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

      public static Developer.DeveloperError.Builder newBuilder()
    • newBuilder

      public static Developer.DeveloperError.Builder newBuilder(Developer.DeveloperError prototype)
    • toBuilder

      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected Developer.DeveloperError.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
      Overrides:
      newBuilderForType in class com.google.protobuf.AbstractMessage
    • getDefaultInstance

      public static Developer.DeveloperError getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<Developer.DeveloperError> parser()
    • getParserForType

      public com.google.protobuf.Parser<Developer.DeveloperError> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessage
    • getDefaultInstanceForType

      public Developer.DeveloperError getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder