程序包 com.google.rpc

# 类 RetryInfo.Builder

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

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

封闭类:
  RetryInfo

public static final class RetryInfo.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<RetryInfo.Builder> implements RetryInfoOrBuilder

     Describes when the clients can retry a failed request. Clients could ignore
     the recommendation here or retry when this information is missing from error
     responses.
     It's always recommended that clients should use exponential backoff when
     retrying.
     Clients should wait until `retry_delay` amount of time has passed since
     receiving the error response before retrying.  If retrying requests also
     fail, clients should use an exponential backoff scheme to gradually increase
     the delay between retries based on `retry_delay`, until either a maximum
     number of retires have been reached or a maximum retry delay cap has been
     reached.

Protobuf type `google.rpc.RetryInfo`

- ## 方法概要

  修饰符和类型
  方法
  说明
  `RetryInfo.Builder`
  `addRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)`
  `RetryInfo`
  `build()`
  `RetryInfo`
  `buildPartial()`
  `RetryInfo.Builder`
  `clear()`
  `RetryInfo.Builder`
  `clearField​(com.google.protobuf.Descriptors.FieldDescriptor field)`
  `RetryInfo.Builder`
  `clearOneof​(com.google.protobuf.Descriptors.OneofDescriptor oneof)`
  `RetryInfo.Builder`
  `clearRetryDelay()`
  Clients should wait at least this long between retrying the same request.
  `RetryInfo.Builder`
  `clone()`
  `RetryInfo`
  `getDefaultInstanceForType()`
  `static com.google.protobuf.Descriptors.Descriptor`
  `getDescriptor()`
  `com.google.protobuf.Descriptors.Descriptor`
  `getDescriptorForType()`
  `com.google.protobuf.Duration`
  `getRetryDelay()`
  Clients should wait at least this long between retrying the same request.
  `com.google.protobuf.Duration.Builder`
  `getRetryDelayBuilder()`
  Clients should wait at least this long between retrying the same request.
  `com.google.protobuf.DurationOrBuilder`
  `getRetryDelayOrBuilder()`
  Clients should wait at least this long between retrying the same request.
  `boolean`
  `hasRetryDelay()`
  Clients should wait at least this long between retrying the same request.
  `protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable`
  `internalGetFieldAccessorTable()`
  `boolean`
  `isInitialized()`
  `RetryInfo.Builder`
  `mergeFrom​(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)`
  `RetryInfo.Builder`
  `mergeFrom​(com.google.protobuf.Message other)`
  `RetryInfo.Builder`
  `mergeFrom​(RetryInfo other)`
  `RetryInfo.Builder`
  `mergeRetryDelay​(com.google.protobuf.Duration value)`
  Clients should wait at least this long between retrying the same request.
  `RetryInfo.Builder`
  `mergeUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)`
  `RetryInfo.Builder`
  `setField​(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)`
  `RetryInfo.Builder`
  `setRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)`
  `RetryInfo.Builder`
  `setRetryDelay​(com.google.protobuf.Duration value)`
  Clients should wait at least this long between retrying the same request.
  `RetryInfo.Builder`
  `setRetryDelay​(com.google.protobuf.Duration.Builder builderForValue)`
  Clients should wait at least this long between retrying the same request.
  `RetryInfo.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<RetryInfo.Builder>`

  - ### clear

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

  - ### getDefaultInstanceForType

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

  - ### build

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

  - ### buildPartial

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

  - ### clone

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

  - ### setField

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

  - ### clearField

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

  - ### clearOneof

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

  - ### setRepeatedField

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

  - ### addRepeatedField

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

  - ### mergeFrom

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

  - ### mergeFrom

    public RetryInfo.Builder mergeFrom​(RetryInfo other)

  - ### isInitialized

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

  - ### mergeFrom

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

  - ### hasRetryDelay

    public boolean hasRetryDelay()

         Clients should wait at least this long between retrying the same request.

    `.google.protobuf.Duration retry_delay = 1;`
    指定者:
      `hasRetryDelay` 在接口中 `RetryInfoOrBuilder`
    返回:
      Whether the retryDelay field is set.

  - ### getRetryDelay

    public com.google.protobuf.Duration getRetryDelay()

         Clients should wait at least this long between retrying the same request.

    `.google.protobuf.Duration retry_delay = 1;`
    指定者:
      `getRetryDelay` 在接口中 `RetryInfoOrBuilder`
    返回:
      The retryDelay.

  - ### setRetryDelay

    public RetryInfo.Builder setRetryDelay​(com.google.protobuf.Duration value)

         Clients should wait at least this long between retrying the same request.

    `.google.protobuf.Duration retry_delay = 1;`

  - ### setRetryDelay

    public RetryInfo.Builder setRetryDelay​(com.google.protobuf.Duration.Builder builderForValue)

         Clients should wait at least this long between retrying the same request.

    `.google.protobuf.Duration retry_delay = 1;`

  - ### mergeRetryDelay

    public RetryInfo.Builder mergeRetryDelay​(com.google.protobuf.Duration value)

         Clients should wait at least this long between retrying the same request.

    `.google.protobuf.Duration retry_delay = 1;`

  - ### clearRetryDelay

    public RetryInfo.Builder clearRetryDelay()

         Clients should wait at least this long between retrying the same request.

    `.google.protobuf.Duration retry_delay = 1;`

  - ### getRetryDelayBuilder

    public com.google.protobuf.Duration.Builder getRetryDelayBuilder()

         Clients should wait at least this long between retrying the same request.

    `.google.protobuf.Duration retry_delay = 1;`

  - ### getRetryDelayOrBuilder

    public com.google.protobuf.DurationOrBuilder getRetryDelayOrBuilder()

         Clients should wait at least this long between retrying the same request.

    `.google.protobuf.Duration retry_delay = 1;`
    指定者:
      `getRetryDelayOrBuilder` 在接口中 `RetryInfoOrBuilder`

  - ### setUnknownFields

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

  - ### mergeUnknownFields

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