public final class OperationProgress extends 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 Kubernetes Engine API. For a detailed explanation see: https://developers.google.com/api-client-library/java/google-http-java-client/json
GenericData.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
OperationProgress() |
| Modifier and Type | Method and Description |
|---|---|
OperationProgress |
clone() |
List<Metric> |
getMetrics()
Progress metric bundle, for example: metrics: [{name: "nodes done", int_value: 15},
{name: "nodes total", int_value: 32}] or metrics: [{name: "progress", double_value:
0.56}, {name: "progress scale", double_value: 1.0}]
|
String |
getName()
A non-parameterized string describing an operation stage.
|
List<OperationProgress> |
getStages()
Substages of an operation or a stage.
|
String |
getStatus()
Status of an operation stage.
|
OperationProgress |
set(String fieldName,
Object value) |
OperationProgress |
setMetrics(List<Metric> metrics)
Progress metric bundle, for example: metrics: [{name: "nodes done", int_value: 15},
{name: "nodes total", int_value: 32}] or metrics: [{name: "progress", double_value:
0.56}, {name: "progress scale", double_value: 1.0}]
|
OperationProgress |
setName(String name)
A non-parameterized string describing an operation stage.
|
OperationProgress |
setStages(List<OperationProgress> stages)
Substages of an operation or a stage.
|
OperationProgress |
setStatus(String status)
Status of an operation stage.
|
getFactory, setFactory, toPrettyString, toStringentrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeysclear, containsKey, containsValue, isEmpty, keySet, size, valuesfinalize, getClass, notify, notifyAll, wait, wait, waitcompute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAllpublic List<Metric> getMetrics()
null for nonepublic OperationProgress setMetrics(List<Metric> metrics)
metrics - metrics or null for nonepublic String getName()
null for nonepublic OperationProgress setName(String name)
name - name or null for nonepublic List<OperationProgress> getStages()
null for nonepublic OperationProgress setStages(List<OperationProgress> stages)
stages - stages or null for nonepublic String getStatus()
null for nonepublic OperationProgress setStatus(String status)
status - status or null for nonepublic OperationProgress set(String fieldName, Object value)
set in class GenericJsonpublic OperationProgress clone()
clone in class GenericJsonCopyright © 2011–2020 Google. All rights reserved.