public final class CapacityConstraint
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 |
|---|
CapacityConstraint() |
| Modifier and Type | Method and Description |
|---|---|
CapacityConstraint |
clone() |
String |
getConstraintMetadata() |
Double |
getMaxSumGbps()
Weighted sum of BandwidthTerms (each term is coefficient * term) must be less than or equal to
max_sum.
|
List<CapacityConstraintConstraintTerm> |
getTerms() |
CapacityConstraint |
set(String fieldName,
Object value) |
CapacityConstraint |
setConstraintMetadata(String constraintMetadata) |
CapacityConstraint |
setMaxSumGbps(Double maxSumGbps)
Weighted sum of BandwidthTerms (each term is coefficient * term) must be less than or equal to
max_sum.
|
CapacityConstraint |
setTerms(List<CapacityConstraintConstraintTerm> terms) |
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 String getConstraintMetadata()
null for nonepublic CapacityConstraint setConstraintMetadata(String constraintMetadata)
constraintMetadata - constraintMetadata or null for nonepublic Double getMaxSumGbps()
null for nonepublic CapacityConstraint setMaxSumGbps(Double maxSumGbps)
maxSumGbps - maxSumGbps or null for nonepublic List<CapacityConstraintConstraintTerm> getTerms()
null for nonepublic CapacityConstraint setTerms(List<CapacityConstraintConstraintTerm> terms)
terms - terms or null for nonepublic CapacityConstraint set(String fieldName, Object value)
set in class com.google.api.client.json.GenericJsonpublic CapacityConstraint clone()
clone in class com.google.api.client.json.GenericJsonCopyright © 2011–2023 Google. All rights reserved.