Class DebugInfo.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder<MessageType,BuilderType>
com.google.protobuf.GeneratedMessageLite.Builder<DebugInfo,DebugInfo.Builder>
com.google.rpc.DebugInfo.Builder
All Implemented Interfaces:
com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, DebugInfoOrBuilder, Cloneable
Enclosing class:
DebugInfo

public static final class DebugInfo.Builder extends com.google.protobuf.GeneratedMessageLite.Builder<DebugInfo,DebugInfo.Builder> implements DebugInfoOrBuilder
 Describes additional debugging info.
 
Protobuf type google.rpc.DebugInfo
  • Field Summary

    Fields inherited from class com.google.protobuf.GeneratedMessageLite.Builder

    instance
  • Method Summary

    Modifier and Type
    Method
    Description
    The stack trace entries indicating where the error occurred.
    The stack trace entries indicating where the error occurred.
    addStackEntriesBytes(com.google.protobuf.ByteString value)
    The stack trace entries indicating where the error occurred.
    Additional debugging information provided by the server.
    The stack trace entries indicating where the error occurred.
    Additional debugging information provided by the server.
    com.google.protobuf.ByteString
    Additional debugging information provided by the server.
    getStackEntries(int index)
    The stack trace entries indicating where the error occurred.
    com.google.protobuf.ByteString
    The stack trace entries indicating where the error occurred.
    int
    The stack trace entries indicating where the error occurred.
    The stack trace entries indicating where the error occurred.
    Additional debugging information provided by the server.
    setDetailBytes(com.google.protobuf.ByteString value)
    Additional debugging information provided by the server.
    setStackEntries(int index, String value)
    The stack trace entries indicating where the error occurred.

    Methods inherited from class com.google.protobuf.GeneratedMessageLite.Builder

    build, buildPartial, clear, clone, copyOnWrite, copyOnWriteInternal, getDefaultInstanceForType, internalMergeFrom, isInitialized, mergeFrom, mergeFrom, mergeFrom, mergeFrom

    Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder

    addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException

    Methods inherited from class java.lang.Object

    equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    getDefaultInstanceForType, isInitialized
  • Method Details

    • getStackEntriesList

      public List<String> getStackEntriesList()
       The stack trace entries indicating where the error occurred.
       
      repeated string stack_entries = 1 [json_name = "stackEntries"];
      Specified by:
      getStackEntriesList in interface DebugInfoOrBuilder
      Returns:
      A list containing the stackEntries.
    • getStackEntriesCount

      public int getStackEntriesCount()
       The stack trace entries indicating where the error occurred.
       
      repeated string stack_entries = 1 [json_name = "stackEntries"];
      Specified by:
      getStackEntriesCount in interface DebugInfoOrBuilder
      Returns:
      The count of stackEntries.
    • getStackEntries

      public String getStackEntries(int index)
       The stack trace entries indicating where the error occurred.
       
      repeated string stack_entries = 1 [json_name = "stackEntries"];
      Specified by:
      getStackEntries in interface DebugInfoOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The stackEntries at the given index.
    • getStackEntriesBytes

      public com.google.protobuf.ByteString getStackEntriesBytes(int index)
       The stack trace entries indicating where the error occurred.
       
      repeated string stack_entries = 1 [json_name = "stackEntries"];
      Specified by:
      getStackEntriesBytes in interface DebugInfoOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the stackEntries at the given index.
    • setStackEntries

      public DebugInfo.Builder setStackEntries(int index, String value)
       The stack trace entries indicating where the error occurred.
       
      repeated string stack_entries = 1 [json_name = "stackEntries"];
      Parameters:
      index - The index to set the value at.
      value - The stackEntries to set.
      Returns:
      This builder for chaining.
    • addStackEntries

      public DebugInfo.Builder addStackEntries(String value)
       The stack trace entries indicating where the error occurred.
       
      repeated string stack_entries = 1 [json_name = "stackEntries"];
      Parameters:
      value - The stackEntries to add.
      Returns:
      This builder for chaining.
    • addAllStackEntries

      public DebugInfo.Builder addAllStackEntries(Iterable<String> values)
       The stack trace entries indicating where the error occurred.
       
      repeated string stack_entries = 1 [json_name = "stackEntries"];
      Parameters:
      values - The stackEntries to add.
      Returns:
      This builder for chaining.
    • clearStackEntries

      public DebugInfo.Builder clearStackEntries()
       The stack trace entries indicating where the error occurred.
       
      repeated string stack_entries = 1 [json_name = "stackEntries"];
      Returns:
      This builder for chaining.
    • addStackEntriesBytes

      public DebugInfo.Builder addStackEntriesBytes(com.google.protobuf.ByteString value)
       The stack trace entries indicating where the error occurred.
       
      repeated string stack_entries = 1 [json_name = "stackEntries"];
      Parameters:
      value - The bytes of the stackEntries to add.
      Returns:
      This builder for chaining.
    • getDetail

      public String getDetail()
       Additional debugging information provided by the server.
       
      string detail = 2 [json_name = "detail"];
      Specified by:
      getDetail in interface DebugInfoOrBuilder
      Returns:
      The detail.
    • getDetailBytes

      public com.google.protobuf.ByteString getDetailBytes()
       Additional debugging information provided by the server.
       
      string detail = 2 [json_name = "detail"];
      Specified by:
      getDetailBytes in interface DebugInfoOrBuilder
      Returns:
      The bytes for detail.
    • setDetail

      public DebugInfo.Builder setDetail(String value)
       Additional debugging information provided by the server.
       
      string detail = 2 [json_name = "detail"];
      Parameters:
      value - The detail to set.
      Returns:
      This builder for chaining.
    • clearDetail

      public DebugInfo.Builder clearDetail()
       Additional debugging information provided by the server.
       
      string detail = 2 [json_name = "detail"];
      Returns:
      This builder for chaining.
    • setDetailBytes

      public DebugInfo.Builder setDetailBytes(com.google.protobuf.ByteString value)
       Additional debugging information provided by the server.
       
      string detail = 2 [json_name = "detail"];
      Parameters:
      value - The bytes for detail to set.
      Returns:
      This builder for chaining.