Class ApiClientHeaderProvider.Builder (2.48.0)

public static class ApiClientHeaderProvider.Builder

Inheritance

java.lang.Object > ApiClientHeaderProvider.Builder

Constructors

Builder()

protected Builder()

Methods

build()

public ApiClientHeaderProvider build()
Returns
Type Description
ApiClientHeaderProvider

getApiClientHeaderKey()

public String getApiClientHeaderKey()
Returns
Type Description
String

getApiVersionToken()

public String getApiVersionToken()
Returns
Type Description
String

getClientLibToken()

public String getClientLibToken()
Returns
Type Description
String

getGeneratedLibToken()

public String getGeneratedLibToken()
Returns
Type Description
String

getGeneratedRuntimeToken()

public String getGeneratedRuntimeToken()
Returns
Type Description
String

getJvmToken()

public String getJvmToken()
Returns
Type Description
String

getQuotaProjectIdToken()

public String getQuotaProjectIdToken()
Returns
Type Description
String

the quotaProjectIdToken used for quota and billing purposes.

getResourceHeaderKey()

public String getResourceHeaderKey()
Returns
Type Description
String

getResourceToken()

public String getResourceToken()
Returns
Type Description
String

getTransportToken()

public String getTransportToken()
Returns
Type Description
String

setApiClientHeaderKey(String apiClientHeaderKey)

public ApiClientHeaderProvider.Builder setApiClientHeaderKey(String apiClientHeaderKey)
Parameter
Name Description
apiClientHeaderKey String
Returns
Type Description
ApiClientHeaderProvider.Builder

setApiVersionToken(String apiVersionToken)

public ApiClientHeaderProvider.Builder setApiVersionToken(String apiVersionToken)
Parameter
Name Description
apiVersionToken String
Returns
Type Description
ApiClientHeaderProvider.Builder

setClientLibToken(String name, String version)

public ApiClientHeaderProvider.Builder setClientLibToken(String name, String version)
Parameters
Name Description
name String
version String
Returns
Type Description
ApiClientHeaderProvider.Builder

setClientRuntimeToken(String version)

public ApiClientHeaderProvider.Builder setClientRuntimeToken(String version)
Parameter
Name Description
version String
Returns
Type Description
ApiClientHeaderProvider.Builder

setGeneratedLibToken(String name, String version)

public ApiClientHeaderProvider.Builder setGeneratedLibToken(String name, String version)
Parameters
Name Description
name String
version String
Returns
Type Description
ApiClientHeaderProvider.Builder

setJvmToken(String version)

public ApiClientHeaderProvider.Builder setJvmToken(String version)
Parameter
Name Description
version String
Returns
Type Description
ApiClientHeaderProvider.Builder

setQuotaProjectIdToken(String quotaProjectIdToken)

public ApiClientHeaderProvider.Builder setQuotaProjectIdToken(String quotaProjectIdToken)

Sets the project ID used for quota and billing purposes.

Parameter
Name Description
quotaProjectIdToken String
Returns
Type Description
ApiClientHeaderProvider.Builder

setResourceHeaderKey(String resourceHeaderKey)

public ApiClientHeaderProvider.Builder setResourceHeaderKey(String resourceHeaderKey)
Parameter
Name Description
resourceHeaderKey String
Returns
Type Description
ApiClientHeaderProvider.Builder

setResourceToken(String resourceToken)

public ApiClientHeaderProvider.Builder setResourceToken(String resourceToken)
Parameter
Name Description
resourceToken String
Returns
Type Description
ApiClientHeaderProvider.Builder

setTransportToken(String name, String version)

public ApiClientHeaderProvider.Builder setTransportToken(String name, String version)
Parameters
Name Description
name String
version String
Returns
Type Description
ApiClientHeaderProvider.Builder