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 Consumer Management 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.Flags
Constructor and Description |
---|
Method() |
Modifier and Type | Method and Description |
---|---|
Method |
clone() |
java.lang.String |
getName()
The simple name of this method.
|
java.util.List<Option> |
getOptions()
Any metadata attached to the method.
|
java.lang.Boolean |
getRequestStreaming()
If true, the request is streamed.
|
java.lang.String |
getRequestTypeUrl()
A URL of the input message type.
|
java.lang.Boolean |
getResponseStreaming()
If true, the response is streamed.
|
java.lang.String |
getResponseTypeUrl()
The URL of the output message type.
|
java.lang.String |
getSyntax()
The source syntax of this method.
|
Method |
set(java.lang.String fieldName,
java.lang.Object value) |
Method |
setName(java.lang.String name)
The simple name of this method.
|
Method |
setOptions(java.util.List<Option> options)
Any metadata attached to the method.
|
Method |
setRequestStreaming(java.lang.Boolean requestStreaming)
If true, the request is streamed.
|
Method |
setRequestTypeUrl(java.lang.String requestTypeUrl)
A URL of the input message type.
|
Method |
setResponseStreaming(java.lang.Boolean responseStreaming)
If true, the response is streamed.
|
Method |
setResponseTypeUrl(java.lang.String responseTypeUrl)
The URL of the output message type.
|
Method |
setSyntax(java.lang.String syntax)
The source syntax of this method.
|
getFactory, setFactory, toPrettyString, toString
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, values
public java.lang.String getName()
null
for nonepublic Method setName(java.lang.String name)
name
- name or null
for nonepublic java.util.List<Option> getOptions()
null
for nonepublic Method setOptions(java.util.List<Option> options)
options
- options or null
for nonepublic java.lang.Boolean getRequestStreaming()
null
for nonepublic Method setRequestStreaming(java.lang.Boolean requestStreaming)
requestStreaming
- requestStreaming or null
for nonepublic java.lang.String getRequestTypeUrl()
null
for nonepublic Method setRequestTypeUrl(java.lang.String requestTypeUrl)
requestTypeUrl
- requestTypeUrl or null
for nonepublic java.lang.Boolean getResponseStreaming()
null
for nonepublic Method setResponseStreaming(java.lang.Boolean responseStreaming)
responseStreaming
- responseStreaming or null
for nonepublic java.lang.String getResponseTypeUrl()
null
for nonepublic Method setResponseTypeUrl(java.lang.String responseTypeUrl)
responseTypeUrl
- responseTypeUrl or null
for nonepublic java.lang.String getSyntax()
null
for nonepublic Method setSyntax(java.lang.String syntax)
syntax
- syntax or null
for nonepublic Method set(java.lang.String fieldName, java.lang.Object value)
set
in class com.google.api.client.json.GenericJson
public Method clone()
clone
in class com.google.api.client.json.GenericJson