Class HttpJsonCallOptions.Builder (2.46.1)

public abstract static class HttpJsonCallOptions.Builder

Inheritance

java.lang.Object > HttpJsonCallOptions.Builder

Constructors

Builder()

public Builder()

Methods

build()

public abstract HttpJsonCallOptions build()
Returns
TypeDescription
HttpJsonCallOptions

setCredentials(Credentials value)

public abstract HttpJsonCallOptions.Builder setCredentials(Credentials value)
Parameter
NameDescription
valuecom.google.auth.Credentials
Returns
TypeDescription
HttpJsonCallOptions.Builder

setDeadline(Instant value)

public abstract HttpJsonCallOptions.Builder setDeadline(Instant value)
Parameter
NameDescription
valueorg.threeten.bp.Instant
Returns
TypeDescription
HttpJsonCallOptions.Builder

setTimeout(Duration value)

public abstract HttpJsonCallOptions.Builder setTimeout(Duration value)
Parameter
NameDescription
valueDuration
Returns
TypeDescription
HttpJsonCallOptions.Builder

setTypeRegistry(TypeRegistry value)

public abstract HttpJsonCallOptions.Builder setTypeRegistry(TypeRegistry value)
Parameter
NameDescription
valueTypeRegistry
Returns
TypeDescription
HttpJsonCallOptions.Builder