Class DebugInfo.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<DebugInfo.Builder>
com.google.rpc.DebugInfo.Builder
All Implemented Interfaces:
com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, DebugInfoOrBuilder, Cloneable
Enclosing class:
DebugInfo

public static final class DebugInfo.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<DebugInfo.Builder> implements DebugInfoOrBuilder
 Describes additional debugging info.
 
Protobuf type google.rpc.DebugInfo
  • 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.
     
    static final com.google.protobuf.Descriptors.Descriptor
     
    com.google.protobuf.Descriptors.Descriptor
     
    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.
    com.google.protobuf.ProtocolStringList
    The stack trace entries indicating where the error occurred.
    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
     
    final boolean
     
    mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    mergeFrom(com.google.protobuf.Message other)
     
     
    mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
     
    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.
    setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
     

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

    addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFieldSetBuilder, setUnknownFieldsProto3

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

    findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString

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

    addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException

    Methods inherited from class java.lang.Object

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

    Methods inherited from interface com.google.protobuf.Message.Builder

    mergeDelimitedFrom, mergeDelimitedFrom

    Methods inherited from interface com.google.protobuf.MessageLite.Builder

    mergeFrom

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • Method Details

    • getDescriptor

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

      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<DebugInfo.Builder>
    • clear

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

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

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

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

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

      public DebugInfo.Builder mergeFrom(DebugInfo other)
    • isInitialized

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

      public DebugInfo.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<DebugInfo.Builder>
      Throws:
      IOException
    • getStackEntriesList

      public com.google.protobuf.ProtocolStringList getStackEntriesList()
       The stack trace entries indicating where the error occurred.
       
      repeated string stack_entries = 1;
      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;
      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;
      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;
      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;
      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;
      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;
      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;
      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;
      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;
      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;
      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;
      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;
      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;
      Parameters:
      value - The bytes for detail to set.
      Returns:
      This builder for chaining.
    • setUnknownFields

      public final DebugInfo.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
      Specified by:
      setUnknownFields in interface com.google.protobuf.Message.Builder
      Overrides:
      setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<DebugInfo.Builder>
    • mergeUnknownFields

      public final DebugInfo.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
      Specified by:
      mergeUnknownFields in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<DebugInfo.Builder>