public final class CapacityConstraintConstraintTerm
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 Compute Engine 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.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
CapacityConstraintConstraintTerm() |
| Modifier and Type | Method and Description |
|---|---|
CapacityConstraintConstraintTerm |
clone() |
Double |
getCoefficient()
Coefficient of this term in the linear expression.
|
PlacementLocation |
getDestinationNode() |
PlacementLocation |
getSourceNode()
Source and destination nodes.
|
CapacityConstraintConstraintTerm |
set(String fieldName,
Object value) |
CapacityConstraintConstraintTerm |
setCoefficient(Double coefficient)
Coefficient of this term in the linear expression.
|
CapacityConstraintConstraintTerm |
setDestinationNode(PlacementLocation destinationNode) |
CapacityConstraintConstraintTerm |
setSourceNode(PlacementLocation sourceNode)
Source and destination nodes.
|
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 Double getCoefficient()
null for nonepublic CapacityConstraintConstraintTerm setCoefficient(Double coefficient)
coefficient - coefficient or null for nonepublic PlacementLocation getDestinationNode()
null for nonepublic CapacityConstraintConstraintTerm setDestinationNode(PlacementLocation destinationNode)
destinationNode - destinationNode or null for nonepublic PlacementLocation getSourceNode()
null for nonepublic CapacityConstraintConstraintTerm setSourceNode(PlacementLocation sourceNode)
sourceNode - sourceNode or null for nonepublic CapacityConstraintConstraintTerm set(String fieldName, Object value)
set in class com.google.api.client.json.GenericJsonpublic CapacityConstraintConstraintTerm clone()
clone in class com.google.api.client.json.GenericJsonCopyright © 2011–2023 Google. All rights reserved.