Class HttpJsonCallOptions

java.lang.Object
com.google.api.gax.httpjson.HttpJsonCallOptions

@NullMarked public abstract class HttpJsonCallOptions extends Object
Options for an http-json call, including deadline and credentials.
  • Field Details

  • Constructor Details

    • HttpJsonCallOptions

      public HttpJsonCallOptions()
  • Method Details

    • getTimeout

      @ObsoleteApi("Use getTimeoutDuration() instead") public final @Nullable org.threeten.bp.Duration getTimeout()
      This method is obsolete. Use getTimeoutDuration() instead.
    • getTimeoutDuration

      public abstract @Nullable Duration getTimeoutDuration()
    • getDeadline

      @ObsoleteApi("Use getDeadlineInstant() instead") public final @Nullable org.threeten.bp.Instant getDeadline()
      This method is obsolete. Use getDeadlineInstant() instead.
    • getDeadlineInstant

      public abstract @Nullable Instant getDeadlineInstant()
    • getCredentials

      public abstract @Nullable Credentials getCredentials()
    • getTypeRegistry

      public abstract @Nullable com.google.protobuf.TypeRegistry getTypeRegistry()
    • getTracer

      public abstract @Nullable ApiTracer getTracer()
    • toBuilder

      public abstract HttpJsonCallOptions.Builder toBuilder()
    • newBuilder

      public static HttpJsonCallOptions.Builder newBuilder()
    • merge

      public HttpJsonCallOptions merge(HttpJsonCallOptions inputOptions)