Class ApiClientHeaderProvider.Builder (2.19.0)

public static class ApiClientHeaderProvider.Builder

Inheritance

java.lang.Object > ApiClientHeaderProvider.Builder

Constructors

Builder()

protected Builder()

Methods

build()

public ApiClientHeaderProvider build()
Returns
TypeDescription
ApiClientHeaderProvider

getApiClientHeaderKey()

public String getApiClientHeaderKey()
Returns
TypeDescription
String

getClientLibToken()

public String getClientLibToken()
Returns
TypeDescription
String

getGeneratedLibToken()

public String getGeneratedLibToken()
Returns
TypeDescription
String

getGeneratedRuntimeToken()

public String getGeneratedRuntimeToken()
Returns
TypeDescription
String

getJvmToken()

public String getJvmToken()
Returns
TypeDescription
String

getQuotaProjectIdToken()

public String getQuotaProjectIdToken()
Returns
TypeDescription
String

the quotaProjectIdToken used for quota and billing purposes.

getResourceHeaderKey()

public String getResourceHeaderKey()
Returns
TypeDescription
String

getResourceToken()

public String getResourceToken()
Returns
TypeDescription
String

getTransportToken()

public String getTransportToken()
Returns
TypeDescription
String

setApiClientHeaderKey(String apiClientHeaderKey)

public ApiClientHeaderProvider.Builder setApiClientHeaderKey(String apiClientHeaderKey)
Parameter
NameDescription
apiClientHeaderKeyString
Returns
TypeDescription
ApiClientHeaderProvider.Builder

setClientLibToken(String name, String version)

public ApiClientHeaderProvider.Builder setClientLibToken(String name, String version)
Parameters
NameDescription
nameString
versionString
Returns
TypeDescription
ApiClientHeaderProvider.Builder

setClientRuntimeToken(String version)

public ApiClientHeaderProvider.Builder setClientRuntimeToken(String version)
Parameter
NameDescription
versionString
Returns
TypeDescription
ApiClientHeaderProvider.Builder

setGeneratedLibToken(String name, String version)

public ApiClientHeaderProvider.Builder setGeneratedLibToken(String name, String version)
Parameters
NameDescription
nameString
versionString
Returns
TypeDescription
ApiClientHeaderProvider.Builder

setJvmToken(String version)

public ApiClientHeaderProvider.Builder setJvmToken(String version)
Parameter
NameDescription
versionString
Returns
TypeDescription
ApiClientHeaderProvider.Builder

setQuotaProjectIdToken(String quotaProjectIdToken)

public ApiClientHeaderProvider.Builder setQuotaProjectIdToken(String quotaProjectIdToken)

Sets the project ID used for quota and billing purposes.

Parameter
NameDescription
quotaProjectIdTokenString
Returns
TypeDescription
ApiClientHeaderProvider.Builder

setResourceHeaderKey(String resourceHeaderKey)

public ApiClientHeaderProvider.Builder setResourceHeaderKey(String resourceHeaderKey)
Parameter
NameDescription
resourceHeaderKeyString
Returns
TypeDescription
ApiClientHeaderProvider.Builder

setResourceToken(String resourceToken)

public ApiClientHeaderProvider.Builder setResourceToken(String resourceToken)
Parameter
NameDescription
resourceTokenString
Returns
TypeDescription
ApiClientHeaderProvider.Builder

setTransportToken(String name, String version)

public ApiClientHeaderProvider.Builder setTransportToken(String name, String version)
Parameters
NameDescription
nameString
versionString
Returns
TypeDescription
ApiClientHeaderProvider.Builder