Class HttpJsonCallOptions (2.83.0)
Stay organized with collections
Save and categorize content based on your preferences.
public abstract class HttpJsonCallOptions
Options for an http-json call, including deadline and credentials.
Static Fields
DEFAULT
public static final HttpJsonCallOptions DEFAULT
Static Methods
newBuilder()
public static HttpJsonCallOptions.Builder newBuilder()
Constructors
HttpJsonCallOptions()
public HttpJsonCallOptions()
Methods
getCredentials()
public abstract @Nullable Credentials getCredentials()
| Returns |
| Type |
Description |
@org.jspecify.annotations.Nullable com.google.auth.Credentials |
|
getDeadline()
public final @Nullable Instant getDeadline()
This method is obsolete. Use #getDeadlineInstant() instead.
| Returns |
| Type |
Description |
@org.jspecify.annotations.Nullable org.threeten.bp.Instant |
|
getDeadlineInstant()
public abstract @Nullable Instant getDeadlineInstant()
| Returns |
| Type |
Description |
@org.jspecify.annotations.Nullable java.time.Instant |
|
getTimeout()
public final @Nullable Duration getTimeout()
This method is obsolete. Use #getTimeoutDuration() instead.
| Returns |
| Type |
Description |
@org.jspecify.annotations.Nullable org.threeten.bp.Duration |
|
getTimeoutDuration()
public abstract @Nullable Duration getTimeoutDuration()
| Returns |
| Type |
Description |
@org.jspecify.annotations.Nullable java.time.Duration |
|
getTracer()
public abstract @Nullable ApiTracer getTracer()
| Returns |
| Type |
Description |
@org.jspecify.annotations.Nullable com.google.api.gax.tracing.ApiTracer |
|
getTypeRegistry()
public abstract @Nullable TypeRegistry getTypeRegistry()
| Returns |
| Type |
Description |
@org.jspecify.annotations.Nullable com.google.protobuf.TypeRegistry |
|
merge(HttpJsonCallOptions inputOptions)
public HttpJsonCallOptions merge(HttpJsonCallOptions inputOptions)
toBuilder()
public abstract HttpJsonCallOptions.Builder toBuilder()
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2026-08-04 UTC.
[null,null,["Last updated 2026-08-04 UTC."],[],[]]