Class HttpJsonCallOptions.Builder (2.55.0)

public abstract static class HttpJsonCallOptions.Builder

Inheritance

java.lang.Object > HttpJsonCallOptions.Builder

Constructors

Builder()

public Builder()

Methods

build()

public abstract HttpJsonCallOptions build()
Returns
Type Description
HttpJsonCallOptions

setCredentials(Credentials value)

public abstract HttpJsonCallOptions.Builder setCredentials(Credentials value)
Parameter
Name Description
value com.google.auth.Credentials
Returns
Type Description
HttpJsonCallOptions.Builder

setDeadline(Instant value)

public final HttpJsonCallOptions.Builder setDeadline(Instant value)

This method is obsolete. Use #setDeadlineInstant(java.time.Instant) instead.

Parameter
Name Description
value org.threeten.bp.Instant
Returns
Type Description
HttpJsonCallOptions.Builder

setDeadlineInstant(Instant value)

public abstract HttpJsonCallOptions.Builder setDeadlineInstant(Instant value)
Parameter
Name Description
value Instant
Returns
Type Description
HttpJsonCallOptions.Builder

setTimeout(Duration value)

public final HttpJsonCallOptions.Builder setTimeout(Duration value)

This method is obsolete. Use #setTimeoutDuration(java.time.Duration) instead.

Parameter
Name Description
value org.threeten.bp.Duration
Returns
Type Description
HttpJsonCallOptions.Builder

setTimeoutDuration(Duration value)

public abstract HttpJsonCallOptions.Builder setTimeoutDuration(Duration value)
Parameter
Name Description
value Duration
Returns
Type Description
HttpJsonCallOptions.Builder

setTypeRegistry(TypeRegistry value)

public abstract HttpJsonCallOptions.Builder setTypeRegistry(TypeRegistry value)
Parameter
Name Description
value TypeRegistry
Returns
Type Description
HttpJsonCallOptions.Builder