public static class GetRouteHttpRequest.Builder extends Object
Modifier and Type | Method and Description |
---|---|
GetRouteHttpRequest |
build() |
GetRouteHttpRequest.Builder |
clone() |
String |
getAccessToken()
OAuth 2.0 token for the current user.
|
String |
getCallback()
Name of the JavaScript callback function that handles the response.
|
String |
getFields()
Selector specifying a subset of fields to include in the response.
|
String |
getKey()
API key.
|
String |
getPrettyPrint()
Returns response with indentations and line breaks.
|
String |
getQuotaUser()
Alternative to userIp.
|
String |
getRoute()
Name of the Route resource to return.
|
String |
getUserIp()
IP address of the end user for whom the API call is being made.
|
GetRouteHttpRequest.Builder |
mergeFrom(GetRouteHttpRequest other) |
GetRouteHttpRequest.Builder |
setAccessToken(String access_token)
OAuth 2.0 token for the current user.
|
GetRouteHttpRequest.Builder |
setCallback(String callback)
Name of the JavaScript callback function that handles the response.
|
GetRouteHttpRequest.Builder |
setFields(String fields)
Selector specifying a subset of fields to include in the response.
|
GetRouteHttpRequest.Builder |
setKey(String key)
API key.
|
GetRouteHttpRequest.Builder |
setPrettyPrint(String prettyPrint)
Returns response with indentations and line breaks.
|
GetRouteHttpRequest.Builder |
setQuotaUser(String quotaUser)
Alternative to userIp.
|
GetRouteHttpRequest.Builder |
setRoute(String route)
Name of the Route resource to return.
|
GetRouteHttpRequest.Builder |
setUserIp(String userIp)
IP address of the end user for whom the API call is being made.
|
public GetRouteHttpRequest.Builder mergeFrom(GetRouteHttpRequest other)
public String getAccessToken()
public GetRouteHttpRequest.Builder setAccessToken(String access_token)
public String getCallback()
public GetRouteHttpRequest.Builder setCallback(String callback)
public String getFields()
public GetRouteHttpRequest.Builder setFields(String fields)
public String getKey()
public GetRouteHttpRequest.Builder setKey(String key)
public String getPrettyPrint()
public GetRouteHttpRequest.Builder setPrettyPrint(String prettyPrint)
public String getQuotaUser()
public GetRouteHttpRequest.Builder setQuotaUser(String quotaUser)
public String getRoute()
public GetRouteHttpRequest.Builder setRoute(String route)
public String getUserIp()
public GetRouteHttpRequest.Builder setUserIp(String userIp)
public GetRouteHttpRequest build()
public GetRouteHttpRequest.Builder clone()
Copyright © 2019 Google LLC. All rights reserved.