Class HttpRetryPolicy.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<HttpRetryPolicy.Builder>
com.google.cloud.compute.v1.HttpRetryPolicy.Builder
All Implemented Interfaces:
HttpRetryPolicyOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
HttpRetryPolicy

public static final class HttpRetryPolicy.Builder extends com.google.protobuf.GeneratedMessage.Builder<HttpRetryPolicy.Builder> implements HttpRetryPolicyOrBuilder
 The retry policy associates with HttpRouteRule
 
Protobuf type google.cloud.compute.v1.HttpRetryPolicy
  • Method Details

    • getDescriptor

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

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

      public HttpRetryPolicy.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.GeneratedMessage.Builder<HttpRetryPolicy.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.GeneratedMessage.Builder<HttpRetryPolicy.Builder>
    • getDefaultInstanceForType

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

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

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

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

      public HttpRetryPolicy.Builder mergeFrom(HttpRetryPolicy other)
    • isInitialized

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

      public HttpRetryPolicy.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<HttpRetryPolicy.Builder>
      Throws:
      IOException
    • hasNumRetries

      public boolean hasNumRetries()
       Specifies the allowed number retries. This number must be > 0.
       If not specified, defaults to 1.
       
      optional uint32 num_retries = 251680141;
      Specified by:
      hasNumRetries in interface HttpRetryPolicyOrBuilder
      Returns:
      Whether the numRetries field is set.
    • getNumRetries

      public int getNumRetries()
       Specifies the allowed number retries. This number must be > 0.
       If not specified, defaults to 1.
       
      optional uint32 num_retries = 251680141;
      Specified by:
      getNumRetries in interface HttpRetryPolicyOrBuilder
      Returns:
      The numRetries.
    • setNumRetries

      public HttpRetryPolicy.Builder setNumRetries(int value)
       Specifies the allowed number retries. This number must be > 0.
       If not specified, defaults to 1.
       
      optional uint32 num_retries = 251680141;
      Parameters:
      value - The numRetries to set.
      Returns:
      This builder for chaining.
    • clearNumRetries

      public HttpRetryPolicy.Builder clearNumRetries()
       Specifies the allowed number retries. This number must be > 0.
       If not specified, defaults to 1.
       
      optional uint32 num_retries = 251680141;
      Returns:
      This builder for chaining.
    • hasPerTryTimeout

      public boolean hasPerTryTimeout()
       Specifies a non-zero timeout per retry attempt.
      
       If not specified, will use the timeout set in theHttpRouteAction field.
       If timeout in the HttpRouteAction field is not set, this field
       uses the largest timeout
       among all backend services associated with the route.
      
       Not supported when the URL map is bound to a target gRPC proxy that
       has the validateForProxyless field set to true.
       
      optional .google.cloud.compute.v1.Duration per_try_timeout = 280041147;
      Specified by:
      hasPerTryTimeout in interface HttpRetryPolicyOrBuilder
      Returns:
      Whether the perTryTimeout field is set.
    • getPerTryTimeout

      public Duration getPerTryTimeout()
       Specifies a non-zero timeout per retry attempt.
      
       If not specified, will use the timeout set in theHttpRouteAction field.
       If timeout in the HttpRouteAction field is not set, this field
       uses the largest timeout
       among all backend services associated with the route.
      
       Not supported when the URL map is bound to a target gRPC proxy that
       has the validateForProxyless field set to true.
       
      optional .google.cloud.compute.v1.Duration per_try_timeout = 280041147;
      Specified by:
      getPerTryTimeout in interface HttpRetryPolicyOrBuilder
      Returns:
      The perTryTimeout.
    • setPerTryTimeout

      public HttpRetryPolicy.Builder setPerTryTimeout(Duration value)
       Specifies a non-zero timeout per retry attempt.
      
       If not specified, will use the timeout set in theHttpRouteAction field.
       If timeout in the HttpRouteAction field is not set, this field
       uses the largest timeout
       among all backend services associated with the route.
      
       Not supported when the URL map is bound to a target gRPC proxy that
       has the validateForProxyless field set to true.
       
      optional .google.cloud.compute.v1.Duration per_try_timeout = 280041147;
    • setPerTryTimeout

      public HttpRetryPolicy.Builder setPerTryTimeout(Duration.Builder builderForValue)
       Specifies a non-zero timeout per retry attempt.
      
       If not specified, will use the timeout set in theHttpRouteAction field.
       If timeout in the HttpRouteAction field is not set, this field
       uses the largest timeout
       among all backend services associated with the route.
      
       Not supported when the URL map is bound to a target gRPC proxy that
       has the validateForProxyless field set to true.
       
      optional .google.cloud.compute.v1.Duration per_try_timeout = 280041147;
    • mergePerTryTimeout

      public HttpRetryPolicy.Builder mergePerTryTimeout(Duration value)
       Specifies a non-zero timeout per retry attempt.
      
       If not specified, will use the timeout set in theHttpRouteAction field.
       If timeout in the HttpRouteAction field is not set, this field
       uses the largest timeout
       among all backend services associated with the route.
      
       Not supported when the URL map is bound to a target gRPC proxy that
       has the validateForProxyless field set to true.
       
      optional .google.cloud.compute.v1.Duration per_try_timeout = 280041147;
    • clearPerTryTimeout

      public HttpRetryPolicy.Builder clearPerTryTimeout()
       Specifies a non-zero timeout per retry attempt.
      
       If not specified, will use the timeout set in theHttpRouteAction field.
       If timeout in the HttpRouteAction field is not set, this field
       uses the largest timeout
       among all backend services associated with the route.
      
       Not supported when the URL map is bound to a target gRPC proxy that
       has the validateForProxyless field set to true.
       
      optional .google.cloud.compute.v1.Duration per_try_timeout = 280041147;
    • getPerTryTimeoutBuilder

      public Duration.Builder getPerTryTimeoutBuilder()
       Specifies a non-zero timeout per retry attempt.
      
       If not specified, will use the timeout set in theHttpRouteAction field.
       If timeout in the HttpRouteAction field is not set, this field
       uses the largest timeout
       among all backend services associated with the route.
      
       Not supported when the URL map is bound to a target gRPC proxy that
       has the validateForProxyless field set to true.
       
      optional .google.cloud.compute.v1.Duration per_try_timeout = 280041147;
    • getPerTryTimeoutOrBuilder

      public DurationOrBuilder getPerTryTimeoutOrBuilder()
       Specifies a non-zero timeout per retry attempt.
      
       If not specified, will use the timeout set in theHttpRouteAction field.
       If timeout in the HttpRouteAction field is not set, this field
       uses the largest timeout
       among all backend services associated with the route.
      
       Not supported when the URL map is bound to a target gRPC proxy that
       has the validateForProxyless field set to true.
       
      optional .google.cloud.compute.v1.Duration per_try_timeout = 280041147;
      Specified by:
      getPerTryTimeoutOrBuilder in interface HttpRetryPolicyOrBuilder
    • getRetryConditionsList

      public com.google.protobuf.ProtocolStringList getRetryConditionsList()
       Specifies one or more conditions when this retry policy applies. Valid
       values are:
      
       - 5xx: retry is attempted if the instance or endpoint
       responds with any 5xx response code, or if the instance or
       endpoint does not respond at all. For example, disconnects, reset, read
       timeout, connection failure, and refused streams.
       - gateway-error: Similar to 5xx, but only
       applies to response codes 502, 503 or504.
       - connect-failure: a retry is attempted on failures
       connecting to the instance or endpoint. For example, connection
       timeouts.
       - retriable-4xx: a retry is attempted if the instance
       or endpoint responds with a 4xx response code.
       The only error that you can retry is error code 409.
       - refused-stream: a retry is attempted if the instance
       or endpoint resets the stream with a REFUSED_STREAM error
       code. This reset type indicates that it is safe to retry.
       - cancelled: a retry is attempted if the gRPC status
       code in the response header is set to cancelled.
       - deadline-exceeded: a retry is attempted if the gRPC
       status code in the response header is set todeadline-exceeded.
       - internal: a retry is attempted if the gRPC
       status code in the response header is set tointernal.
       - resource-exhausted: a retry is attempted if the gRPC
       status code in the response header is set toresource-exhausted.
       - unavailable: a retry is attempted if the gRPC
       status code in the response header is set tounavailable.
      
       Only the following codes are supported when the URL map is bound to
       target gRPC proxy that has validateForProxyless field set to true.
      
       - cancelled
       - deadline-exceeded
       - internal
       - resource-exhausted
       - unavailable
       
      repeated string retry_conditions = 28815535;
      Specified by:
      getRetryConditionsList in interface HttpRetryPolicyOrBuilder
      Returns:
      A list containing the retryConditions.
    • getRetryConditionsCount

      public int getRetryConditionsCount()
       Specifies one or more conditions when this retry policy applies. Valid
       values are:
      
       - 5xx: retry is attempted if the instance or endpoint
       responds with any 5xx response code, or if the instance or
       endpoint does not respond at all. For example, disconnects, reset, read
       timeout, connection failure, and refused streams.
       - gateway-error: Similar to 5xx, but only
       applies to response codes 502, 503 or504.
       - connect-failure: a retry is attempted on failures
       connecting to the instance or endpoint. For example, connection
       timeouts.
       - retriable-4xx: a retry is attempted if the instance
       or endpoint responds with a 4xx response code.
       The only error that you can retry is error code 409.
       - refused-stream: a retry is attempted if the instance
       or endpoint resets the stream with a REFUSED_STREAM error
       code. This reset type indicates that it is safe to retry.
       - cancelled: a retry is attempted if the gRPC status
       code in the response header is set to cancelled.
       - deadline-exceeded: a retry is attempted if the gRPC
       status code in the response header is set todeadline-exceeded.
       - internal: a retry is attempted if the gRPC
       status code in the response header is set tointernal.
       - resource-exhausted: a retry is attempted if the gRPC
       status code in the response header is set toresource-exhausted.
       - unavailable: a retry is attempted if the gRPC
       status code in the response header is set tounavailable.
      
       Only the following codes are supported when the URL map is bound to
       target gRPC proxy that has validateForProxyless field set to true.
      
       - cancelled
       - deadline-exceeded
       - internal
       - resource-exhausted
       - unavailable
       
      repeated string retry_conditions = 28815535;
      Specified by:
      getRetryConditionsCount in interface HttpRetryPolicyOrBuilder
      Returns:
      The count of retryConditions.
    • getRetryConditions

      public String getRetryConditions(int index)
       Specifies one or more conditions when this retry policy applies. Valid
       values are:
      
       - 5xx: retry is attempted if the instance or endpoint
       responds with any 5xx response code, or if the instance or
       endpoint does not respond at all. For example, disconnects, reset, read
       timeout, connection failure, and refused streams.
       - gateway-error: Similar to 5xx, but only
       applies to response codes 502, 503 or504.
       - connect-failure: a retry is attempted on failures
       connecting to the instance or endpoint. For example, connection
       timeouts.
       - retriable-4xx: a retry is attempted if the instance
       or endpoint responds with a 4xx response code.
       The only error that you can retry is error code 409.
       - refused-stream: a retry is attempted if the instance
       or endpoint resets the stream with a REFUSED_STREAM error
       code. This reset type indicates that it is safe to retry.
       - cancelled: a retry is attempted if the gRPC status
       code in the response header is set to cancelled.
       - deadline-exceeded: a retry is attempted if the gRPC
       status code in the response header is set todeadline-exceeded.
       - internal: a retry is attempted if the gRPC
       status code in the response header is set tointernal.
       - resource-exhausted: a retry is attempted if the gRPC
       status code in the response header is set toresource-exhausted.
       - unavailable: a retry is attempted if the gRPC
       status code in the response header is set tounavailable.
      
       Only the following codes are supported when the URL map is bound to
       target gRPC proxy that has validateForProxyless field set to true.
      
       - cancelled
       - deadline-exceeded
       - internal
       - resource-exhausted
       - unavailable
       
      repeated string retry_conditions = 28815535;
      Specified by:
      getRetryConditions in interface HttpRetryPolicyOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The retryConditions at the given index.
    • getRetryConditionsBytes

      public com.google.protobuf.ByteString getRetryConditionsBytes(int index)
       Specifies one or more conditions when this retry policy applies. Valid
       values are:
      
       - 5xx: retry is attempted if the instance or endpoint
       responds with any 5xx response code, or if the instance or
       endpoint does not respond at all. For example, disconnects, reset, read
       timeout, connection failure, and refused streams.
       - gateway-error: Similar to 5xx, but only
       applies to response codes 502, 503 or504.
       - connect-failure: a retry is attempted on failures
       connecting to the instance or endpoint. For example, connection
       timeouts.
       - retriable-4xx: a retry is attempted if the instance
       or endpoint responds with a 4xx response code.
       The only error that you can retry is error code 409.
       - refused-stream: a retry is attempted if the instance
       or endpoint resets the stream with a REFUSED_STREAM error
       code. This reset type indicates that it is safe to retry.
       - cancelled: a retry is attempted if the gRPC status
       code in the response header is set to cancelled.
       - deadline-exceeded: a retry is attempted if the gRPC
       status code in the response header is set todeadline-exceeded.
       - internal: a retry is attempted if the gRPC
       status code in the response header is set tointernal.
       - resource-exhausted: a retry is attempted if the gRPC
       status code in the response header is set toresource-exhausted.
       - unavailable: a retry is attempted if the gRPC
       status code in the response header is set tounavailable.
      
       Only the following codes are supported when the URL map is bound to
       target gRPC proxy that has validateForProxyless field set to true.
      
       - cancelled
       - deadline-exceeded
       - internal
       - resource-exhausted
       - unavailable
       
      repeated string retry_conditions = 28815535;
      Specified by:
      getRetryConditionsBytes in interface HttpRetryPolicyOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the retryConditions at the given index.
    • setRetryConditions

      public HttpRetryPolicy.Builder setRetryConditions(int index, String value)
       Specifies one or more conditions when this retry policy applies. Valid
       values are:
      
       - 5xx: retry is attempted if the instance or endpoint
       responds with any 5xx response code, or if the instance or
       endpoint does not respond at all. For example, disconnects, reset, read
       timeout, connection failure, and refused streams.
       - gateway-error: Similar to 5xx, but only
       applies to response codes 502, 503 or504.
       - connect-failure: a retry is attempted on failures
       connecting to the instance or endpoint. For example, connection
       timeouts.
       - retriable-4xx: a retry is attempted if the instance
       or endpoint responds with a 4xx response code.
       The only error that you can retry is error code 409.
       - refused-stream: a retry is attempted if the instance
       or endpoint resets the stream with a REFUSED_STREAM error
       code. This reset type indicates that it is safe to retry.
       - cancelled: a retry is attempted if the gRPC status
       code in the response header is set to cancelled.
       - deadline-exceeded: a retry is attempted if the gRPC
       status code in the response header is set todeadline-exceeded.
       - internal: a retry is attempted if the gRPC
       status code in the response header is set tointernal.
       - resource-exhausted: a retry is attempted if the gRPC
       status code in the response header is set toresource-exhausted.
       - unavailable: a retry is attempted if the gRPC
       status code in the response header is set tounavailable.
      
       Only the following codes are supported when the URL map is bound to
       target gRPC proxy that has validateForProxyless field set to true.
      
       - cancelled
       - deadline-exceeded
       - internal
       - resource-exhausted
       - unavailable
       
      repeated string retry_conditions = 28815535;
      Parameters:
      index - The index to set the value at.
      value - The retryConditions to set.
      Returns:
      This builder for chaining.
    • addRetryConditions

      public HttpRetryPolicy.Builder addRetryConditions(String value)
       Specifies one or more conditions when this retry policy applies. Valid
       values are:
      
       - 5xx: retry is attempted if the instance or endpoint
       responds with any 5xx response code, or if the instance or
       endpoint does not respond at all. For example, disconnects, reset, read
       timeout, connection failure, and refused streams.
       - gateway-error: Similar to 5xx, but only
       applies to response codes 502, 503 or504.
       - connect-failure: a retry is attempted on failures
       connecting to the instance or endpoint. For example, connection
       timeouts.
       - retriable-4xx: a retry is attempted if the instance
       or endpoint responds with a 4xx response code.
       The only error that you can retry is error code 409.
       - refused-stream: a retry is attempted if the instance
       or endpoint resets the stream with a REFUSED_STREAM error
       code. This reset type indicates that it is safe to retry.
       - cancelled: a retry is attempted if the gRPC status
       code in the response header is set to cancelled.
       - deadline-exceeded: a retry is attempted if the gRPC
       status code in the response header is set todeadline-exceeded.
       - internal: a retry is attempted if the gRPC
       status code in the response header is set tointernal.
       - resource-exhausted: a retry is attempted if the gRPC
       status code in the response header is set toresource-exhausted.
       - unavailable: a retry is attempted if the gRPC
       status code in the response header is set tounavailable.
      
       Only the following codes are supported when the URL map is bound to
       target gRPC proxy that has validateForProxyless field set to true.
      
       - cancelled
       - deadline-exceeded
       - internal
       - resource-exhausted
       - unavailable
       
      repeated string retry_conditions = 28815535;
      Parameters:
      value - The retryConditions to add.
      Returns:
      This builder for chaining.
    • addAllRetryConditions

      public HttpRetryPolicy.Builder addAllRetryConditions(Iterable<String> values)
       Specifies one or more conditions when this retry policy applies. Valid
       values are:
      
       - 5xx: retry is attempted if the instance or endpoint
       responds with any 5xx response code, or if the instance or
       endpoint does not respond at all. For example, disconnects, reset, read
       timeout, connection failure, and refused streams.
       - gateway-error: Similar to 5xx, but only
       applies to response codes 502, 503 or504.
       - connect-failure: a retry is attempted on failures
       connecting to the instance or endpoint. For example, connection
       timeouts.
       - retriable-4xx: a retry is attempted if the instance
       or endpoint responds with a 4xx response code.
       The only error that you can retry is error code 409.
       - refused-stream: a retry is attempted if the instance
       or endpoint resets the stream with a REFUSED_STREAM error
       code. This reset type indicates that it is safe to retry.
       - cancelled: a retry is attempted if the gRPC status
       code in the response header is set to cancelled.
       - deadline-exceeded: a retry is attempted if the gRPC
       status code in the response header is set todeadline-exceeded.
       - internal: a retry is attempted if the gRPC
       status code in the response header is set tointernal.
       - resource-exhausted: a retry is attempted if the gRPC
       status code in the response header is set toresource-exhausted.
       - unavailable: a retry is attempted if the gRPC
       status code in the response header is set tounavailable.
      
       Only the following codes are supported when the URL map is bound to
       target gRPC proxy that has validateForProxyless field set to true.
      
       - cancelled
       - deadline-exceeded
       - internal
       - resource-exhausted
       - unavailable
       
      repeated string retry_conditions = 28815535;
      Parameters:
      values - The retryConditions to add.
      Returns:
      This builder for chaining.
    • clearRetryConditions

      public HttpRetryPolicy.Builder clearRetryConditions()
       Specifies one or more conditions when this retry policy applies. Valid
       values are:
      
       - 5xx: retry is attempted if the instance or endpoint
       responds with any 5xx response code, or if the instance or
       endpoint does not respond at all. For example, disconnects, reset, read
       timeout, connection failure, and refused streams.
       - gateway-error: Similar to 5xx, but only
       applies to response codes 502, 503 or504.
       - connect-failure: a retry is attempted on failures
       connecting to the instance or endpoint. For example, connection
       timeouts.
       - retriable-4xx: a retry is attempted if the instance
       or endpoint responds with a 4xx response code.
       The only error that you can retry is error code 409.
       - refused-stream: a retry is attempted if the instance
       or endpoint resets the stream with a REFUSED_STREAM error
       code. This reset type indicates that it is safe to retry.
       - cancelled: a retry is attempted if the gRPC status
       code in the response header is set to cancelled.
       - deadline-exceeded: a retry is attempted if the gRPC
       status code in the response header is set todeadline-exceeded.
       - internal: a retry is attempted if the gRPC
       status code in the response header is set tointernal.
       - resource-exhausted: a retry is attempted if the gRPC
       status code in the response header is set toresource-exhausted.
       - unavailable: a retry is attempted if the gRPC
       status code in the response header is set tounavailable.
      
       Only the following codes are supported when the URL map is bound to
       target gRPC proxy that has validateForProxyless field set to true.
      
       - cancelled
       - deadline-exceeded
       - internal
       - resource-exhausted
       - unavailable
       
      repeated string retry_conditions = 28815535;
      Returns:
      This builder for chaining.
    • addRetryConditionsBytes

      public HttpRetryPolicy.Builder addRetryConditionsBytes(com.google.protobuf.ByteString value)
       Specifies one or more conditions when this retry policy applies. Valid
       values are:
      
       - 5xx: retry is attempted if the instance or endpoint
       responds with any 5xx response code, or if the instance or
       endpoint does not respond at all. For example, disconnects, reset, read
       timeout, connection failure, and refused streams.
       - gateway-error: Similar to 5xx, but only
       applies to response codes 502, 503 or504.
       - connect-failure: a retry is attempted on failures
       connecting to the instance or endpoint. For example, connection
       timeouts.
       - retriable-4xx: a retry is attempted if the instance
       or endpoint responds with a 4xx response code.
       The only error that you can retry is error code 409.
       - refused-stream: a retry is attempted if the instance
       or endpoint resets the stream with a REFUSED_STREAM error
       code. This reset type indicates that it is safe to retry.
       - cancelled: a retry is attempted if the gRPC status
       code in the response header is set to cancelled.
       - deadline-exceeded: a retry is attempted if the gRPC
       status code in the response header is set todeadline-exceeded.
       - internal: a retry is attempted if the gRPC
       status code in the response header is set tointernal.
       - resource-exhausted: a retry is attempted if the gRPC
       status code in the response header is set toresource-exhausted.
       - unavailable: a retry is attempted if the gRPC
       status code in the response header is set tounavailable.
      
       Only the following codes are supported when the URL map is bound to
       target gRPC proxy that has validateForProxyless field set to true.
      
       - cancelled
       - deadline-exceeded
       - internal
       - resource-exhausted
       - unavailable
       
      repeated string retry_conditions = 28815535;
      Parameters:
      value - The bytes of the retryConditions to add.
      Returns:
      This builder for chaining.