Send feedback
Class ApiClientHeaderProvider.Builder (2.41.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 2.41.0 keyboard_arrow_down
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 )
Send feedback
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-11-26 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-11-26 UTC."],[],[]]