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.Flags
AbstractMap.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, 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 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.GenericJson
public CapacityConstraintConstraintTerm clone()
clone
in class com.google.api.client.json.GenericJson
Copyright © 2011–2023 Google. All rights reserved.