程序包 com.google.rpc

# 类 DebugInfo.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderType>
com.google.protobuf.GeneratedMessageV3.Builder<DebugInfo.Builder>
com.google.rpc.DebugInfo.Builder

所有已实现的接口:
  `com.google.protobuf.Message.Builder`, `com.google.protobuf.MessageLite.Builder`, `com.google.protobuf.MessageLiteOrBuilder`, `com.google.protobuf.MessageOrBuilder`, `DebugInfoOrBuilder`, `Cloneable`

封闭类:
  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`

- ## 方法概要

  修饰符和类型
  方法
  说明
  `DebugInfo.Builder`
  `addAllStackEntries​(Iterable<String> values)`
  The stack trace entries indicating where the error occurred.
  `DebugInfo.Builder`
  `addRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)`
  `DebugInfo.Builder`
  `addStackEntries​(String value)`
  The stack trace entries indicating where the error occurred.
  `DebugInfo.Builder`
  `addStackEntriesBytes​(com.google.protobuf.ByteString value)`
  The stack trace entries indicating where the error occurred.
  `DebugInfo`
  `build()`
  `DebugInfo`
  `buildPartial()`
  `DebugInfo.Builder`
  `clear()`
  `DebugInfo.Builder`
  `clearDetail()`
  Additional debugging information provided by the server.
  `DebugInfo.Builder`
  `clearField​(com.google.protobuf.Descriptors.FieldDescriptor field)`
  `DebugInfo.Builder`
  `clearOneof​(com.google.protobuf.Descriptors.OneofDescriptor oneof)`
  `DebugInfo.Builder`
  `clearStackEntries()`
  The stack trace entries indicating where the error occurred.
  `DebugInfo.Builder`
  `clone()`
  `DebugInfo`
  `getDefaultInstanceForType()`
  `static com.google.protobuf.Descriptors.Descriptor`
  `getDescriptor()`
  `com.google.protobuf.Descriptors.Descriptor`
  `getDescriptorForType()`
  `String`
  `getDetail()`
  Additional debugging information provided by the server.
  `com.google.protobuf.ByteString`
  `getDetailBytes()`
  Additional debugging information provided by the server.
  `String`
  `getStackEntries​(int index)`
  The stack trace entries indicating where the error occurred.
  `com.google.protobuf.ByteString`
  `getStackEntriesBytes​(int index)`
  The stack trace entries indicating where the error occurred.
  `int`
  `getStackEntriesCount()`
  The stack trace entries indicating where the error occurred.
  `com.google.protobuf.ProtocolStringList`
  `getStackEntriesList()`
  The stack trace entries indicating where the error occurred.
  `protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable`
  `internalGetFieldAccessorTable()`
  `boolean`
  `isInitialized()`
  `DebugInfo.Builder`
  `mergeFrom​(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)`
  `DebugInfo.Builder`
  `mergeFrom​(com.google.protobuf.Message other)`
  `DebugInfo.Builder`
  `mergeFrom​(DebugInfo other)`
  `DebugInfo.Builder`
  `mergeUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)`
  `DebugInfo.Builder`
  `setDetail​(String value)`
  Additional debugging information provided by the server.
  `DebugInfo.Builder`
  `setDetailBytes​(com.google.protobuf.ByteString value)`
  Additional debugging information provided by the server.
  `DebugInfo.Builder`
  `setField​(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)`
  `DebugInfo.Builder`
  `setRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)`
  `DebugInfo.Builder`
  `setStackEntries​(int index, String value)`
  The stack trace entries indicating where the error occurred.
  `DebugInfo.Builder`
  `setUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)`

  ### 从类继承的方法 com.google.protobuf.GeneratedMessageV3.Builder

  `getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3`

  ### 从类继承的方法 com.google.protobuf.AbstractMessage.Builder

  `findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString`

  ### 从类继承的方法 com.google.protobuf.AbstractMessageLite.Builder

  `addAll, addAll, mergeFrom, newUninitializedMessageException`

  ### 从类继承的方法 java.lang.Object

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

  ### 从接口继承的方法 com.google.protobuf.MessageLite.Builder

  `mergeFrom`

  ### 从接口继承的方法 com.google.protobuf.MessageOrBuilder

  `findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof`

- ## 方法详细资料

  - ### getDescriptor

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

  - ### internalGetFieldAccessorTable

    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
    指定者:
      `internalGetFieldAccessorTable` 在类中 `com.google.protobuf.GeneratedMessageV3.Builder<DebugInfo.Builder>`

  - ### clear

    public DebugInfo.Builder clear()
    指定者:
      `clear` 在接口中 `com.google.protobuf.Message.Builder`
    指定者:
      `clear` 在接口中 `com.google.protobuf.MessageLite.Builder`
    覆盖:
      `clear` 在类中 `com.google.protobuf.GeneratedMessageV3.Builder<DebugInfo.Builder>`

  - ### getDescriptorForType

    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
    指定者:
      `getDescriptorForType` 在接口中 `com.google.protobuf.Message.Builder`
    指定者:
      `getDescriptorForType` 在接口中 `com.google.protobuf.MessageOrBuilder`
    覆盖:
      `getDescriptorForType` 在类中 `com.google.protobuf.GeneratedMessageV3.Builder<DebugInfo.Builder>`

  - ### getDefaultInstanceForType

    public DebugInfo getDefaultInstanceForType()
    指定者:
      `getDefaultInstanceForType` 在接口中 `com.google.protobuf.MessageLiteOrBuilder`
    指定者:
      `getDefaultInstanceForType` 在接口中 `com.google.protobuf.MessageOrBuilder`

  - ### build

    public DebugInfo build()
    指定者:
      `build` 在接口中 `com.google.protobuf.Message.Builder`
    指定者:
      `build` 在接口中 `com.google.protobuf.MessageLite.Builder`

  - ### buildPartial

    public DebugInfo buildPartial()
    指定者:
      `buildPartial` 在接口中 `com.google.protobuf.Message.Builder`
    指定者:
      `buildPartial` 在接口中 `com.google.protobuf.MessageLite.Builder`

  - ### clone

    public DebugInfo.Builder clone()
    指定者:
      `clone` 在接口中 `com.google.protobuf.Message.Builder`
    指定者:
      `clone` 在接口中 `com.google.protobuf.MessageLite.Builder`
    覆盖:
      `clone` 在类中 `com.google.protobuf.GeneratedMessageV3.Builder<DebugInfo.Builder>`

  - ### setField

    public DebugInfo.Builder setField​(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
    指定者:
      `setField` 在接口中 `com.google.protobuf.Message.Builder`
    覆盖:
      `setField` 在类中 `com.google.protobuf.GeneratedMessageV3.Builder<DebugInfo.Builder>`

  - ### clearField

    public DebugInfo.Builder clearField​(com.google.protobuf.Descriptors.FieldDescriptor field)
    指定者:
      `clearField` 在接口中 `com.google.protobuf.Message.Builder`
    覆盖:
      `clearField` 在类中 `com.google.protobuf.GeneratedMessageV3.Builder<DebugInfo.Builder>`

  - ### clearOneof

    public DebugInfo.Builder clearOneof​(com.google.protobuf.Descriptors.OneofDescriptor oneof)
    指定者:
      `clearOneof` 在接口中 `com.google.protobuf.Message.Builder`
    覆盖:
      `clearOneof` 在类中 `com.google.protobuf.GeneratedMessageV3.Builder<DebugInfo.Builder>`

  - ### setRepeatedField

    public DebugInfo.Builder setRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
    指定者:
      `setRepeatedField` 在接口中 `com.google.protobuf.Message.Builder`
    覆盖:
      `setRepeatedField` 在类中 `com.google.protobuf.GeneratedMessageV3.Builder<DebugInfo.Builder>`

  - ### addRepeatedField

    public DebugInfo.Builder addRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
    指定者:
      `addRepeatedField` 在接口中 `com.google.protobuf.Message.Builder`
    覆盖:
      `addRepeatedField` 在类中 `com.google.protobuf.GeneratedMessageV3.Builder<DebugInfo.Builder>`

  - ### mergeFrom

    public DebugInfo.Builder mergeFrom​(com.google.protobuf.Message other)
    指定者:
      `mergeFrom` 在接口中 `com.google.protobuf.Message.Builder`
    覆盖:
      `mergeFrom` 在类中 `com.google.protobuf.AbstractMessage.Builder<DebugInfo.Builder>`

  - ### mergeFrom

    public DebugInfo.Builder mergeFrom​(DebugInfo other)

  - ### isInitialized

    public final boolean isInitialized()
    指定者:
      `isInitialized` 在接口中 `com.google.protobuf.MessageLiteOrBuilder`
    覆盖:
      `isInitialized` 在类中 `com.google.protobuf.GeneratedMessageV3.Builder<DebugInfo.Builder>`

  - ### mergeFrom

    public DebugInfo.Builder mergeFrom​(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
    指定者:
      `mergeFrom` 在接口中 `com.google.protobuf.Message.Builder`
    指定者:
      `mergeFrom` 在接口中 `com.google.protobuf.MessageLite.Builder`
    覆盖:
      `mergeFrom` 在类中 `com.google.protobuf.AbstractMessage.Builder<DebugInfo.Builder>`
    抛出:
      `IOException`

  - ### getStackEntriesList

    public com.google.protobuf.ProtocolStringList getStackEntriesList()

         The stack trace entries indicating where the error occurred.

    `repeated string stack_entries = 1;`
    指定者:
      `getStackEntriesList` 在接口中 `DebugInfoOrBuilder`
    返回:
      A list containing the stackEntries.

  - ### getStackEntriesCount

    public int getStackEntriesCount()

         The stack trace entries indicating where the error occurred.

    `repeated string stack_entries = 1;`
    指定者:
      `getStackEntriesCount` 在接口中 `DebugInfoOrBuilder`
    返回:
      The count of stackEntries.

  - ### getStackEntries

    public String getStackEntries​(int index)

         The stack trace entries indicating where the error occurred.

    `repeated string stack_entries = 1;`
    指定者:
      `getStackEntries` 在接口中 `DebugInfoOrBuilder`
    参数:
      `index` - The index of the element to return.
    返回:
      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;`
    指定者:
      `getStackEntriesBytes` 在接口中 `DebugInfoOrBuilder`
    参数:
      `index` - The index of the value to return.
    返回:
      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;`
    参数:
      `index` - The index to set the value at.
      `value` - The stackEntries to set.
    返回:
      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;`
    参数:
      `value` - The stackEntries to add.
    返回:
      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;`
    参数:
      `values` - The stackEntries to add.
    返回:
      This builder for chaining.

  - ### clearStackEntries

    public DebugInfo.Builder clearStackEntries()

         The stack trace entries indicating where the error occurred.

    `repeated string stack_entries = 1;`
    返回:
      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;`
    参数:
      `value` - The bytes of the stackEntries to add.
    返回:
      This builder for chaining.

  - ### getDetail

    public String getDetail()

         Additional debugging information provided by the server.

    `string detail = 2;`
    指定者:
      `getDetail` 在接口中 `DebugInfoOrBuilder`
    返回:
      The detail.

  - ### getDetailBytes

    public com.google.protobuf.ByteString getDetailBytes()

         Additional debugging information provided by the server.

    `string detail = 2;`
    指定者:
      `getDetailBytes` 在接口中 `DebugInfoOrBuilder`
    返回:
      The bytes for detail.

  - ### setDetail

    public DebugInfo.Builder setDetail​(String value)

         Additional debugging information provided by the server.

    `string detail = 2;`
    参数:
      `value` - The detail to set.
    返回:
      This builder for chaining.

  - ### clearDetail

    public DebugInfo.Builder clearDetail()

         Additional debugging information provided by the server.

    `string detail = 2;`
    返回:
      This builder for chaining.

  - ### setDetailBytes

    public DebugInfo.Builder setDetailBytes​(com.google.protobuf.ByteString value)

         Additional debugging information provided by the server.

    `string detail = 2;`
    参数:
      `value` - The bytes for detail to set.
    返回:
      This builder for chaining.

  - ### setUnknownFields

    public final DebugInfo.Builder setUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
    指定者:
      `setUnknownFields` 在接口中 `com.google.protobuf.Message.Builder`
    覆盖:
      `setUnknownFields` 在类中 `com.google.protobuf.GeneratedMessageV3.Builder<DebugInfo.Builder>`

  - ### mergeUnknownFields

    public final DebugInfo.Builder mergeUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
    指定者:
      `mergeUnknownFields` 在接口中 `com.google.protobuf.Message.Builder`
    覆盖:
      `mergeUnknownFields` 在类中 `com.google.protobuf.GeneratedMessageV3.Builder<DebugInfo.Builder>`