public final class Method
extends com.google.api.client.json.GenericJson
This is the Java data model class that specifies how to parse/serialize into the JSON that is transmitted over HTTP when working with the Service Networking API. For a detailed explanation see: https://developers.google.com/api-client-library/java/google-http-java-client/json
com.google.api.client.util.GenericData.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
Method() |
| Modifier and Type | Method and Description |
|---|---|
Method |
clone() |
String |
getEdition()
The source edition string, only valid when syntax is SYNTAX_EDITIONS.
|
String |
getName()
The simple name of this method.
|
List<Option> |
getOptions()
Any metadata attached to the method.
|
Boolean |
getRequestStreaming()
If true, the request is streamed.
|
String |
getRequestTypeUrl()
A URL of the input message type.
|
Boolean |
getResponseStreaming()
If true, the response is streamed.
|
String |
getResponseTypeUrl()
The URL of the output message type.
|
String |
getSyntax()
The source syntax of this method.
|
Method |
set(String fieldName,
Object value) |
Method |
setEdition(String edition)
The source edition string, only valid when syntax is SYNTAX_EDITIONS.
|
Method |
setName(String name)
The simple name of this method.
|
Method |
setOptions(List<Option> options)
Any metadata attached to the method.
|
Method |
setRequestStreaming(Boolean requestStreaming)
If true, the request is streamed.
|
Method |
setRequestTypeUrl(String requestTypeUrl)
A URL of the input message type.
|
Method |
setResponseStreaming(Boolean responseStreaming)
If true, the response is streamed.
|
Method |
setResponseTypeUrl(String responseTypeUrl)
The URL of the output message type.
|
Method |
setSyntax(String syntax)
The source syntax of this method.
|
getFactory, setFactory, toPrettyString, toStringentrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeysclear, containsKey, containsValue, isEmpty, keySet, size, valuesfinalize, getClass, notify, notifyAll, wait, wait, waitcompute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAllpublic String getEdition()
null for nonepublic Method setEdition(String edition)
edition - edition or null for nonepublic String getName()
null for nonepublic Method setName(String name)
name - name or null for nonepublic List<Option> getOptions()
null for nonepublic Method setOptions(List<Option> options)
options - options or null for nonepublic Boolean getRequestStreaming()
null for nonepublic Method setRequestStreaming(Boolean requestStreaming)
requestStreaming - requestStreaming or null for nonepublic String getRequestTypeUrl()
null for nonepublic Method setRequestTypeUrl(String requestTypeUrl)
requestTypeUrl - requestTypeUrl or null for nonepublic Boolean getResponseStreaming()
null for nonepublic Method setResponseStreaming(Boolean responseStreaming)
responseStreaming - responseStreaming or null for nonepublic String getResponseTypeUrl()
null for nonepublic Method setResponseTypeUrl(String responseTypeUrl)
responseTypeUrl - responseTypeUrl or null for nonepublic String getSyntax()
null for nonepublic Method setSyntax(String syntax)
syntax - syntax or null for nonepublic Method set(String fieldName, Object value)
set in class com.google.api.client.json.GenericJsonpublic Method clone()
clone in class com.google.api.client.json.GenericJsonCopyright © 2011–2025 Google. All rights reserved.