target.apidocs.com.google.api.services.servicemanagement.model.Method.html Maven / Gradle / Ivy
Method (Service Management API v1-rev20241202-2.0.0)
com.google.api.services.servicemanagement.model
Class Method
- java.lang.Object
-
- java.util.AbstractMap<String,Object>
-
- com.google.api.client.util.GenericData
-
- com.google.api.client.json.GenericJson
-
- com.google.api.services.servicemanagement.model.Method
-
public final class Method
extends com.google.api.client.json.GenericJson
Method represents a method of an API interface.
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
- Author:
- Google, Inc.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.google.api.client.util.GenericData
com.google.api.client.util.GenericData.Flags
-
Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
-
Constructor Summary
Constructors
Constructor and Description
Method()
-
Method Summary
All Methods Instance Methods Concrete Methods
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.
-
Methods inherited from class com.google.api.client.json.GenericJson
getFactory, setFactory, toPrettyString, toString
-
Methods inherited from class com.google.api.client.util.GenericData
entrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeys
-
Methods inherited from class java.util.AbstractMap
clear, containsKey, containsValue, isEmpty, keySet, size, values
-
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.util.Map
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
-
-
Method Detail
-
getName
public String getName()
The simple name of this method.
- Returns:
- value or
null
for none
-
setName
public Method setName(String name)
The simple name of this method.
- Parameters:
name
- name or null
for none
-
getOptions
public List<Option> getOptions()
Any metadata attached to the method.
- Returns:
- value or
null
for none
-
setOptions
public Method setOptions(List<Option> options)
Any metadata attached to the method.
- Parameters:
options
- options or null
for none
-
getRequestStreaming
public Boolean getRequestStreaming()
If true, the request is streamed.
- Returns:
- value or
null
for none
-
setRequestStreaming
public Method setRequestStreaming(Boolean requestStreaming)
If true, the request is streamed.
- Parameters:
requestStreaming
- requestStreaming or null
for none
-
getRequestTypeUrl
public String getRequestTypeUrl()
A URL of the input message type.
- Returns:
- value or
null
for none
-
setRequestTypeUrl
public Method setRequestTypeUrl(String requestTypeUrl)
A URL of the input message type.
- Parameters:
requestTypeUrl
- requestTypeUrl or null
for none
-
getResponseStreaming
public Boolean getResponseStreaming()
If true, the response is streamed.
- Returns:
- value or
null
for none
-
setResponseStreaming
public Method setResponseStreaming(Boolean responseStreaming)
If true, the response is streamed.
- Parameters:
responseStreaming
- responseStreaming or null
for none
-
getResponseTypeUrl
public String getResponseTypeUrl()
The URL of the output message type.
- Returns:
- value or
null
for none
-
setResponseTypeUrl
public Method setResponseTypeUrl(String responseTypeUrl)
The URL of the output message type.
- Parameters:
responseTypeUrl
- responseTypeUrl or null
for none
-
getSyntax
public String getSyntax()
The source syntax of this method.
- Returns:
- value or
null
for none
-
setSyntax
public Method setSyntax(String syntax)
The source syntax of this method.
- Parameters:
syntax
- syntax or null
for none
-
set
public Method set(String fieldName,
Object value)
- Overrides:
set
in class com.google.api.client.json.GenericJson
-
clone
public Method clone()
- Overrides:
clone
in class com.google.api.client.json.GenericJson
Copyright © 2011–2024 Google. All rights reserved.
© 2015 - 2024 Weber Informatics LLC | Privacy Policy