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 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
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Constructor and Description |
---|
Method() |
Modifier and Type | Method and Description |
---|---|
Method |
clone() |
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 |
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, toString
entrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, isEmpty, keySet, size, values
finalize, getClass, notify, notifyAll, wait, wait, wait
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
public 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.GenericJson
public Method clone()
clone
in class com.google.api.client.json.GenericJson
Copyright © 2011–2024 Google. All rights reserved.