Class DebugInformation.Builder

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

public static final class DebugInformation.Builder extends com.google.protobuf.GeneratedMessage.Builder<DebugInformation.Builder> implements DebugInformationOrBuilder
 DebugInformation defines debug information returned by an API call in a footer when
 requested with a specific debugging header.

 The specific debug information returned will depend on the type of the API call made.

 See the github.com/authzed/authzed-go project for the specific header and footer names.
 
Protobuf type authzed.api.v1.DebugInformation
  • 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<DebugInformation.Builder>
    • clear

      public DebugInformation.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<DebugInformation.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<DebugInformation.Builder>
    • getDefaultInstanceForType

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

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

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

      public DebugInformation.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<DebugInformation.Builder>
    • mergeFrom

      public DebugInformation.Builder mergeFrom(DebugInformation other)
    • isInitialized

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

      public DebugInformation.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<DebugInformation.Builder>
      Throws:
      IOException
    • hasCheck

      public boolean hasCheck()
       check holds debug information about a check request.
       
      .authzed.api.v1.CheckDebugTrace check = 1;
      Specified by:
      hasCheck in interface DebugInformationOrBuilder
      Returns:
      Whether the check field is set.
    • getCheck

      public CheckDebugTrace getCheck()
       check holds debug information about a check request.
       
      .authzed.api.v1.CheckDebugTrace check = 1;
      Specified by:
      getCheck in interface DebugInformationOrBuilder
      Returns:
      The check.
    • setCheck

      public DebugInformation.Builder setCheck(CheckDebugTrace value)
       check holds debug information about a check request.
       
      .authzed.api.v1.CheckDebugTrace check = 1;
    • setCheck

      public DebugInformation.Builder setCheck(CheckDebugTrace.Builder builderForValue)
       check holds debug information about a check request.
       
      .authzed.api.v1.CheckDebugTrace check = 1;
    • mergeCheck

      public DebugInformation.Builder mergeCheck(CheckDebugTrace value)
       check holds debug information about a check request.
       
      .authzed.api.v1.CheckDebugTrace check = 1;
    • clearCheck

      public DebugInformation.Builder clearCheck()
       check holds debug information about a check request.
       
      .authzed.api.v1.CheckDebugTrace check = 1;
    • getCheckBuilder

      public CheckDebugTrace.Builder getCheckBuilder()
       check holds debug information about a check request.
       
      .authzed.api.v1.CheckDebugTrace check = 1;
    • getCheckOrBuilder

      public CheckDebugTraceOrBuilder getCheckOrBuilder()
       check holds debug information about a check request.
       
      .authzed.api.v1.CheckDebugTrace check = 1;
      Specified by:
      getCheckOrBuilder in interface DebugInformationOrBuilder
    • getSchemaUsed

      public String getSchemaUsed()
       schema_used holds the schema used for the request.
       
      string schema_used = 2;
      Specified by:
      getSchemaUsed in interface DebugInformationOrBuilder
      Returns:
      The schemaUsed.
    • getSchemaUsedBytes

      public com.google.protobuf.ByteString getSchemaUsedBytes()
       schema_used holds the schema used for the request.
       
      string schema_used = 2;
      Specified by:
      getSchemaUsedBytes in interface DebugInformationOrBuilder
      Returns:
      The bytes for schemaUsed.
    • setSchemaUsed

      public DebugInformation.Builder setSchemaUsed(String value)
       schema_used holds the schema used for the request.
       
      string schema_used = 2;
      Parameters:
      value - The schemaUsed to set.
      Returns:
      This builder for chaining.
    • clearSchemaUsed

      public DebugInformation.Builder clearSchemaUsed()
       schema_used holds the schema used for the request.
       
      string schema_used = 2;
      Returns:
      This builder for chaining.
    • setSchemaUsedBytes

      public DebugInformation.Builder setSchemaUsedBytes(com.google.protobuf.ByteString value)
       schema_used holds the schema used for the request.
       
      string schema_used = 2;
      Parameters:
      value - The bytes for schemaUsed to set.
      Returns:
      This builder for chaining.