Class Developer.DeveloperError.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<Developer.DeveloperError.Builder>
com.authzed.api.v0.Developer.DeveloperError.Builder
All Implemented Interfaces:
Developer.DeveloperErrorOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
Developer.DeveloperError

public static final class Developer.DeveloperError.Builder extends com.google.protobuf.GeneratedMessage.Builder<Developer.DeveloperError.Builder> implements Developer.DeveloperErrorOrBuilder
Protobuf type authzed.api.v0.DeveloperError
  • 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.Builder<Developer.DeveloperError.Builder>
    • clear

      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessage.Builder<Developer.DeveloperError.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<Developer.DeveloperError.Builder>
    • getDefaultInstanceForType

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

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

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

      public Developer.DeveloperError.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<Developer.DeveloperError.Builder>
    • mergeFrom

    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage.Builder<Developer.DeveloperError.Builder>
    • mergeFrom

      public Developer.DeveloperError.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<Developer.DeveloperError.Builder>
      Throws:
      IOException
    • 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.
    • setMessage

      public Developer.DeveloperError.Builder setMessage(String value)
      string message = 1;
      Parameters:
      value - The message to set.
      Returns:
      This builder for chaining.
    • clearMessage

      public Developer.DeveloperError.Builder clearMessage()
      string message = 1;
      Returns:
      This builder for chaining.
    • setMessageBytes

      public Developer.DeveloperError.Builder setMessageBytes(com.google.protobuf.ByteString value)
      string message = 1;
      Parameters:
      value - The bytes for message to set.
      Returns:
      This builder for chaining.
    • getLine

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

      public Developer.DeveloperError.Builder setLine(int value)
      uint32 line = 2;
      Parameters:
      value - The line to set.
      Returns:
      This builder for chaining.
    • clearLine

      uint32 line = 2;
      Returns:
      This builder for chaining.
    • getColumn

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

      public Developer.DeveloperError.Builder setColumn(int value)
      uint32 column = 3;
      Parameters:
      value - The column to set.
      Returns:
      This builder for chaining.
    • clearColumn

      public Developer.DeveloperError.Builder clearColumn()
      uint32 column = 3;
      Returns:
      This builder for chaining.
    • 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.
    • setSourceValue

      public Developer.DeveloperError.Builder setSourceValue(int value)
      .authzed.api.v0.DeveloperError.Source source = 4;
      Parameters:
      value - The enum numeric value on the wire for source to set.
      Returns:
      This builder for chaining.
    • getSource

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

      .authzed.api.v0.DeveloperError.Source source = 4;
      Parameters:
      value - The source to set.
      Returns:
      This builder for chaining.
    • clearSource

      public Developer.DeveloperError.Builder clearSource()
      .authzed.api.v0.DeveloperError.Source source = 4;
      Returns:
      This builder for chaining.
    • 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.
    • setKindValue

      public Developer.DeveloperError.Builder setKindValue(int value)
      .authzed.api.v0.DeveloperError.ErrorKind kind = 5;
      Parameters:
      value - The enum numeric value on the wire for kind to set.
      Returns:
      This builder for chaining.
    • getKind

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

      .authzed.api.v0.DeveloperError.ErrorKind kind = 5;
      Parameters:
      value - The kind to set.
      Returns:
      This builder for chaining.
    • clearKind

      .authzed.api.v0.DeveloperError.ErrorKind kind = 5;
      Returns:
      This builder for chaining.
    • 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.
    • setPath

      public Developer.DeveloperError.Builder setPath(int index, String value)
      repeated string path = 6;
      Parameters:
      index - The index to set the value at.
      value - The path to set.
      Returns:
      This builder for chaining.
    • addPath

      public Developer.DeveloperError.Builder addPath(String value)
      repeated string path = 6;
      Parameters:
      value - The path to add.
      Returns:
      This builder for chaining.
    • addAllPath

      public Developer.DeveloperError.Builder addAllPath(Iterable<String> values)
      repeated string path = 6;
      Parameters:
      values - The path to add.
      Returns:
      This builder for chaining.
    • clearPath

      repeated string path = 6;
      Returns:
      This builder for chaining.
    • addPathBytes

      public Developer.DeveloperError.Builder addPathBytes(com.google.protobuf.ByteString value)
      repeated string path = 6;
      Parameters:
      value - The bytes of the path to add.
      Returns:
      This builder for chaining.
    • 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.
    • setContext

      public Developer.DeveloperError.Builder setContext(String value)
       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;
      Parameters:
      value - The context to set.
      Returns:
      This builder for chaining.
    • clearContext

      public Developer.DeveloperError.Builder clearContext()
       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:
      This builder for chaining.
    • setContextBytes

      public Developer.DeveloperError.Builder setContextBytes(com.google.protobuf.ByteString value)
       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;
      Parameters:
      value - The bytes for context to set.
      Returns:
      This builder for chaining.