程序包 com.google.rpc

# 类 RequestInfo.Builder

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

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

封闭类:
  RequestInfo

public static final class RequestInfo.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<RequestInfo.Builder> implements RequestInfoOrBuilder

     Contains metadata about the request that clients can attach when filing a bug
     or providing other forms of feedback.

Protobuf type `google.rpc.RequestInfo`

- ## 方法概要

  修饰符和类型
  方法
  说明
  `RequestInfo.Builder`
  `addRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)`
  `RequestInfo`
  `build()`
  `RequestInfo`
  `buildPartial()`
  `RequestInfo.Builder`
  `clear()`
  `RequestInfo.Builder`
  `clearField​(com.google.protobuf.Descriptors.FieldDescriptor field)`
  `RequestInfo.Builder`
  `clearOneof​(com.google.protobuf.Descriptors.OneofDescriptor oneof)`
  `RequestInfo.Builder`
  `clearRequestId()`
  An opaque string that should only be interpreted by the service generating it.
  `RequestInfo.Builder`
  `clearServingData()`
  Any data that was used to serve this request.
  `RequestInfo.Builder`
  `clone()`
  `RequestInfo`
  `getDefaultInstanceForType()`
  `static com.google.protobuf.Descriptors.Descriptor`
  `getDescriptor()`
  `com.google.protobuf.Descriptors.Descriptor`
  `getDescriptorForType()`
  `String`
  `getRequestId()`
  An opaque string that should only be interpreted by the service generating it.
  `com.google.protobuf.ByteString`
  `getRequestIdBytes()`
  An opaque string that should only be interpreted by the service generating it.
  `String`
  `getServingData()`
  Any data that was used to serve this request.
  `com.google.protobuf.ByteString`
  `getServingDataBytes()`
  Any data that was used to serve this request.
  `protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable`
  `internalGetFieldAccessorTable()`
  `boolean`
  `isInitialized()`
  `RequestInfo.Builder`
  `mergeFrom​(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)`
  `RequestInfo.Builder`
  `mergeFrom​(com.google.protobuf.Message other)`
  `RequestInfo.Builder`
  `mergeFrom​(RequestInfo other)`
  `RequestInfo.Builder`
  `mergeUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)`
  `RequestInfo.Builder`
  `setField​(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)`
  `RequestInfo.Builder`
  `setRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)`
  `RequestInfo.Builder`
  `setRequestId​(String value)`
  An opaque string that should only be interpreted by the service generating it.
  `RequestInfo.Builder`
  `setRequestIdBytes​(com.google.protobuf.ByteString value)`
  An opaque string that should only be interpreted by the service generating it.
  `RequestInfo.Builder`
  `setServingData​(String value)`
  Any data that was used to serve this request.
  `RequestInfo.Builder`
  `setServingDataBytes​(com.google.protobuf.ByteString value)`
  Any data that was used to serve this request.
  `RequestInfo.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<RequestInfo.Builder>`

  - ### clear

    public RequestInfo.Builder clear()
    指定者:
      `clear` 在接口中 `com.google.protobuf.Message.Builder`
    指定者:
      `clear` 在接口中 `com.google.protobuf.MessageLite.Builder`
    覆盖:
      `clear` 在类中 `com.google.protobuf.GeneratedMessageV3.Builder<RequestInfo.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<RequestInfo.Builder>`

  - ### getDefaultInstanceForType

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

  - ### build

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

  - ### buildPartial

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

  - ### clone

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

  - ### setField

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

  - ### clearField

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

  - ### clearOneof

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

  - ### setRepeatedField

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

  - ### addRepeatedField

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

  - ### mergeFrom

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

  - ### mergeFrom

    public RequestInfo.Builder mergeFrom​(RequestInfo other)

  - ### isInitialized

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

  - ### mergeFrom

    public RequestInfo.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<RequestInfo.Builder>`
    抛出:
      `IOException`

  - ### getRequestId

    public String getRequestId()

         An opaque string that should only be interpreted by the service generating
         it. For example, it can be used to identify requests in the service's logs.

    `string request_id = 1;`
    指定者:
      `getRequestId` 在接口中 `RequestInfoOrBuilder`
    返回:
      The requestId.

  - ### getRequestIdBytes

    public com.google.protobuf.ByteString getRequestIdBytes()

         An opaque string that should only be interpreted by the service generating
         it. For example, it can be used to identify requests in the service's logs.

    `string request_id = 1;`
    指定者:
      `getRequestIdBytes` 在接口中 `RequestInfoOrBuilder`
    返回:
      The bytes for requestId.

  - ### setRequestId

    public RequestInfo.Builder setRequestId​(String value)

         An opaque string that should only be interpreted by the service generating
         it. For example, it can be used to identify requests in the service's logs.

    `string request_id = 1;`
    参数:
      `value` - The requestId to set.
    返回:
      This builder for chaining.

  - ### clearRequestId

    public RequestInfo.Builder clearRequestId()

         An opaque string that should only be interpreted by the service generating
         it. For example, it can be used to identify requests in the service's logs.

    `string request_id = 1;`
    返回:
      This builder for chaining.

  - ### setRequestIdBytes

    public RequestInfo.Builder setRequestIdBytes​(com.google.protobuf.ByteString value)

         An opaque string that should only be interpreted by the service generating
         it. For example, it can be used to identify requests in the service's logs.

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

  - ### getServingData

    public String getServingData()

         Any data that was used to serve this request. For example, an encrypted
         stack trace that can be sent back to the service provider for debugging.

    `string serving_data = 2;`
    指定者:
      `getServingData` 在接口中 `RequestInfoOrBuilder`
    返回:
      The servingData.

  - ### getServingDataBytes

    public com.google.protobuf.ByteString getServingDataBytes()

         Any data that was used to serve this request. For example, an encrypted
         stack trace that can be sent back to the service provider for debugging.

    `string serving_data = 2;`
    指定者:
      `getServingDataBytes` 在接口中 `RequestInfoOrBuilder`
    返回:
      The bytes for servingData.

  - ### setServingData

    public RequestInfo.Builder setServingData​(String value)

         Any data that was used to serve this request. For example, an encrypted
         stack trace that can be sent back to the service provider for debugging.

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

  - ### clearServingData

    public RequestInfo.Builder clearServingData()

         Any data that was used to serve this request. For example, an encrypted
         stack trace that can be sent back to the service provider for debugging.

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

  - ### setServingDataBytes

    public RequestInfo.Builder setServingDataBytes​(com.google.protobuf.ByteString value)

         Any data that was used to serve this request. For example, an encrypted
         stack trace that can be sent back to the service provider for debugging.

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

  - ### setUnknownFields

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

  - ### mergeUnknownFields

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