Class HttpJsonCallOptions (2.53.0)

public abstract class HttpJsonCallOptions

Options for an http-json call, including deadline and credentials.

Inheritance

java.lang.Object > HttpJsonCallOptions

Static Fields

DEFAULT

public static final HttpJsonCallOptions DEFAULT
Field Value
Type Description
HttpJsonCallOptions

Static Methods

newBuilder()

public static HttpJsonCallOptions.Builder newBuilder()
Returns
Type Description
HttpJsonCallOptions.Builder

Constructors

HttpJsonCallOptions()

public HttpJsonCallOptions()

Methods

getCredentials()

public abstract Credentials getCredentials()
Returns
Type Description
com.google.auth.Credentials

getDeadline()

public final Instant getDeadline()

This method is obsolete. Use #getDeadlineInstant() instead.

Returns
Type Description
org.threeten.bp.Instant

getDeadlineInstant()

public abstract Instant getDeadlineInstant()
Returns
Type Description
Instant

getTimeout()

public final Duration getTimeout()

This method is obsolete. Use #getTimeoutDuration() instead.

Returns
Type Description
org.threeten.bp.Duration

getTimeoutDuration()

public abstract Duration getTimeoutDuration()
Returns
Type Description
Duration

getTypeRegistry()

public abstract TypeRegistry getTypeRegistry()
Returns
Type Description
TypeRegistry

merge(HttpJsonCallOptions inputOptions)

public HttpJsonCallOptions merge(HttpJsonCallOptions inputOptions)
Parameter
Name Description
inputOptions HttpJsonCallOptions
Returns
Type Description
HttpJsonCallOptions

toBuilder()

public abstract HttpJsonCallOptions.Builder toBuilder()
Returns
Type Description
HttpJsonCallOptions.Builder