public final class AttributeContext
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 Control 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 |
---|
AttributeContext() |
Modifier and Type | Method and Description |
---|---|
AttributeContext |
clone() |
Api |
getApi()
Represents an API operation that is involved to a network activity.
|
Peer |
getDestination()
The destination of a network activity, such as accepting a TCP connection.
|
List<Map<String,Object>> |
getExtensions()
Supports extensions for advanced use cases, such as logs and metrics.
|
Peer |
getOrigin()
The origin of a network activity.
|
Request |
getRequest()
Represents a network request, such as an HTTP request.
|
Resource |
getResource()
Represents a target resource that is involved with a network activity.
|
Response |
getResponse()
Represents a network response, such as an HTTP response.
|
Peer |
getSource()
The source of a network activity, such as starting a TCP connection.
|
AttributeContext |
set(String fieldName,
Object value) |
AttributeContext |
setApi(Api api)
Represents an API operation that is involved to a network activity.
|
AttributeContext |
setDestination(Peer destination)
The destination of a network activity, such as accepting a TCP connection.
|
AttributeContext |
setExtensions(List<Map<String,Object>> extensions)
Supports extensions for advanced use cases, such as logs and metrics.
|
AttributeContext |
setOrigin(Peer origin)
The origin of a network activity.
|
AttributeContext |
setRequest(Request request)
Represents a network request, such as an HTTP request.
|
AttributeContext |
setResource(Resource resource)
Represents a target resource that is involved with a network activity.
|
AttributeContext |
setResponse(Response response)
Represents a network response, such as an HTTP response.
|
AttributeContext |
setSource(Peer source)
The source of a network activity, such as starting a TCP connection.
|
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 Api getApi()
null
for nonepublic AttributeContext setApi(Api api)
api
- api or null
for nonepublic Peer getDestination()
null
for nonepublic AttributeContext setDestination(Peer destination)
destination
- destination or null
for nonepublic List<Map<String,Object>> getExtensions()
null
for nonepublic AttributeContext setExtensions(List<Map<String,Object>> extensions)
extensions
- extensions or null
for nonepublic Peer getOrigin()
null
for nonepublic AttributeContext setOrigin(Peer origin)
origin
- origin or null
for nonepublic Request getRequest()
null
for nonepublic AttributeContext setRequest(Request request)
request
- request or null
for nonepublic Resource getResource()
null
for nonepublic AttributeContext setResource(Resource resource)
resource
- resource or null
for nonepublic Response getResponse()
null
for nonepublic AttributeContext setResponse(Response response)
response
- response or null
for nonepublic Peer getSource()
null
for nonepublic AttributeContext setSource(Peer source)
source
- source or null
for nonepublic AttributeContext set(String fieldName, Object value)
set
in class com.google.api.client.json.GenericJson
public AttributeContext clone()
clone
in class com.google.api.client.json.GenericJson
Copyright © 2011–2024 Google. All rights reserved.