public final class ShardingOption
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 Cloud Testing 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
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(java.lang.String fieldName,
java.lang.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, toString
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, values
public 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(java.lang.String fieldName, java.lang.Object value)
set
in class com.google.api.client.json.GenericJson
public ShardingOption clone()
clone
in class com.google.api.client.json.GenericJson