public enum TrafficSplit.ShardBy extends Enum<TrafficSplit.ShardBy> implements ProtocolMessageEnumAvailable sharding mechanisms.
Protobuf enum google.appengine.v1.TrafficSplit.ShardBy
Implements
ProtocolMessageEnumStatic Fields
| Name | Description |
| COOKIE | Diversion based on a specially named cookie, "GOOGAPPUID." The cookie must be set by the application itself or no diversion will occur. |
| COOKIE_VALUE | Diversion based on a specially named cookie, "GOOGAPPUID." The cookie must be set by the application itself or no diversion will occur. |
| IP | Diversion based on applying the modulus operation to a fingerprint of the IP address. |
| IP_VALUE | Diversion based on applying the modulus operation to a fingerprint of the IP address. |
| RANDOM | Diversion based on weighted random assignment. An incoming request is randomly routed to a version in the traffic split, with probability proportional to the version's traffic share. |
| RANDOM_VALUE | Diversion based on weighted random assignment. An incoming request is randomly routed to a version in the traffic split, with probability proportional to the version's traffic share. |
| UNRECOGNIZED | |
| UNSPECIFIED | Diversion method unspecified. |
| UNSPECIFIED_VALUE | Diversion method unspecified. |
Static Methods
| Name | Description |
| forNumber(int value) | |
| getDescriptor() | |
| internalGetValueMap() | |
| valueOf(Descriptors.EnumValueDescriptor desc) | |
| valueOf(int value) | Deprecated. Use #forNumber(int) instead. |
| valueOf(String name) | |
| values() |
Methods
| Name | Description |
| getDescriptorForType() | |
| getNumber() | |
| getValueDescriptor() |