public final class ShardingOption 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 Cloud Testing 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 |
|---|
ShardingOption() |
| Modifier and Type | Method and Description |
|---|---|
ShardingOption |
clone() |
ManualSharding |
getManualSharding()
Shards test cases into the specified groups of packages, classes, and/or methods.
|
UniformSharding |
getUniformSharding()
Uniformly shards test cases given a total number of shards.
|
ShardingOption |
set(String fieldName,
Object value) |
ShardingOption |
setManualSharding(ManualSharding manualSharding)
Shards test cases into the specified groups of packages, classes, and/or methods.
|
ShardingOption |
setUniformSharding(UniformSharding uniformSharding)
Uniformly shards test cases given a total number of shards.
|
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 ManualSharding getManualSharding()
null for nonepublic ShardingOption setManualSharding(ManualSharding manualSharding)
manualSharding - manualSharding or null for nonepublic UniformSharding getUniformSharding()
null for nonepublic ShardingOption setUniformSharding(UniformSharding uniformSharding)
uniformSharding - uniformSharding or null for nonepublic ShardingOption set(String fieldName, Object value)
set in class GenericJsonpublic ShardingOption clone()
clone in class GenericJsonCopyright © 2011–2020 Google. All rights reserved.