Class ApiClientHeaderProvider.Builder (2.33.0)
Stay organized with collections
Save and categorize content based on your preferences.
public static class ApiClientHeaderProvider.Builder
Constructors
Methods
public ApiClientHeaderProvider build()
public String getApiClientHeaderKey()
public String getClientLibToken()
public String getGeneratedLibToken()
public String getGeneratedRuntimeToken()
public String getJvmToken()
public String getQuotaProjectIdToken()
Returns |
---|
Type | Description |
String | the quotaProjectIdToken used for quota and billing purposes.
|
public String getResourceHeaderKey()
public String getResourceToken()
public String getTransportToken()
public ApiClientHeaderProvider.Builder setApiClientHeaderKey(String apiClientHeaderKey)
Parameter |
---|
Name | Description |
apiClientHeaderKey | String
|
public ApiClientHeaderProvider.Builder setClientLibToken(String name, String version)
public ApiClientHeaderProvider.Builder setClientRuntimeToken(String version)
Parameter |
---|
Name | Description |
version | String
|
public ApiClientHeaderProvider.Builder setGeneratedLibToken(String name, String version)
public ApiClientHeaderProvider.Builder setJvmToken(String version)
Parameter |
---|
Name | Description |
version | String
|
public ApiClientHeaderProvider.Builder setQuotaProjectIdToken(String quotaProjectIdToken)
Sets the project ID used for quota and billing purposes.
Parameter |
---|
Name | Description |
quotaProjectIdToken | String
|
public ApiClientHeaderProvider.Builder setResourceHeaderKey(String resourceHeaderKey)
Parameter |
---|
Name | Description |
resourceHeaderKey | String
|
public ApiClientHeaderProvider.Builder setResourceToken(String resourceToken)
Parameter |
---|
Name | Description |
resourceToken | String
|
public ApiClientHeaderProvider.Builder setTransportToken(String name, String version)
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-08-09 UTC.
[{
"type": "thumb-down",
"id": "hardToUnderstand",
"label":"Hard to understand"
},{
"type": "thumb-down",
"id": "incorrectInformationOrSampleCode",
"label":"Incorrect information or sample code"
},{
"type": "thumb-down",
"id": "missingTheInformationSamplesINeed",
"label":"Missing the information/samples I need"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"Other"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"Easy to understand"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"Solved my problem"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"Other"
}]
{
"last_modified": "Last updated 2024-08-09 UTC.",
"state": ""
}