public final class OperationMetadata
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 Cloud Healthcare 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 |
---|
OperationMetadata() |
Modifier and Type | Method and Description |
---|---|
OperationMetadata |
clone() |
String |
getApiMethodName()
The name of the API method that initiated the operation.
|
Boolean |
getCancelRequested()
Specifies if cancellation was requested for the operation.
|
ProgressCounter |
getCounter() |
String |
getCreateTime()
The time at which the operation was created by the API.
|
String |
getEndTime()
The time at which execution workloads were completed.
|
String |
getLogsUrl()
A link to audit and error logs in the log viewer.
|
OperationMetadata |
set(String fieldName,
Object value) |
OperationMetadata |
setApiMethodName(String apiMethodName)
The name of the API method that initiated the operation.
|
OperationMetadata |
setCancelRequested(Boolean cancelRequested)
Specifies if cancellation was requested for the operation.
|
OperationMetadata |
setCounter(ProgressCounter counter) |
OperationMetadata |
setCreateTime(String createTime)
The time at which the operation was created by the API.
|
OperationMetadata |
setEndTime(String endTime)
The time at which execution workloads were completed.
|
OperationMetadata |
setLogsUrl(String logsUrl)
A link to audit and error logs in the log viewer.
|
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 getApiMethodName()
null
for nonepublic OperationMetadata setApiMethodName(String apiMethodName)
apiMethodName
- apiMethodName or null
for nonepublic Boolean getCancelRequested()
null
for nonepublic OperationMetadata setCancelRequested(Boolean cancelRequested)
cancelRequested
- cancelRequested or null
for nonepublic ProgressCounter getCounter()
null
for nonepublic OperationMetadata setCounter(ProgressCounter counter)
counter
- counter or null
for nonepublic String getCreateTime()
null
for nonepublic OperationMetadata setCreateTime(String createTime)
createTime
- createTime or null
for nonepublic String getEndTime()
null
for nonepublic OperationMetadata setEndTime(String endTime)
endTime
- endTime or null
for nonepublic String getLogsUrl()
null
for nonepublic OperationMetadata setLogsUrl(String logsUrl)
logsUrl
- logsUrl or null
for nonepublic OperationMetadata set(String fieldName, Object value)
set
in class com.google.api.client.json.GenericJson
public OperationMetadata clone()
clone
in class com.google.api.client.json.GenericJson
Copyright © 2011–2024 Google. All rights reserved.