Class TrafficSplit (2.2.0)
Stay organized with collections
Save and categorize content based on your preferences.
- 2.78.0 (latest)
- 2.76.0
- 2.75.0
- 2.74.0
- 2.73.0
- 2.72.0
- 2.70.0
- 2.68.0
- 2.67.0
- 2.64.0
- 2.63.0
- 2.62.0
- 2.60.0
- 2.59.0
- 2.58.0
- 2.57.0
- 2.56.0
- 2.55.0
- 2.54.0
- 2.53.0
- 2.52.0
- 2.49.0
- 2.48.0
- 2.47.0
- 2.46.0
- 2.45.0
- 2.44.0
- 2.43.0
- 2.42.0
- 2.41.0
- 2.40.0
- 2.39.0
- 2.37.0
- 2.36.0
- 2.35.0
- 2.34.0
- 2.33.0
- 2.32.0
- 2.31.0
- 2.30.0
- 2.29.0
- 2.28.0
- 2.27.0
- 2.24.0
- 2.23.0
- 2.22.0
- 2.21.0
- 2.20.0
- 2.19.0
- 2.18.0
- 2.17.0
- 2.16.0
- 2.15.0
- 2.14.0
- 2.13.0
- 2.12.0
- 2.11.0
- 2.10.0
- 2.9.0
- 2.8.0
- 2.7.0
- 2.6.0
- 2.5.0
- 2.4.0
- 2.3.4
- 2.2.0
- 2.1.10
- 0.2.0
publicfinalclass TrafficSplitextendsGeneratedMessageV3implementsTrafficSplitOrBuilderTraffic routing configuration for versions within a single service. Traffic splits define how traffic directed to the service is assigned to versions.
Protobuf type google.appengine.v1.TrafficSplit
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > TrafficSplitImplements
TrafficSplitOrBuilderInherited Members
Static Fields
ALLOCATIONS_FIELD_NUMBER
publicstaticfinalintALLOCATIONS_FIELD_NUMBERSHARD_BY_FIELD_NUMBER
publicstaticfinalintSHARD_BY_FIELD_NUMBERStatic Methods
getDefaultInstance()
publicstaticTrafficSplitgetDefaultInstance()getDescriptor()
publicstaticfinalDescriptors.DescriptorgetDescriptor()newBuilder()
publicstaticTrafficSplit.BuildernewBuilder()newBuilder(TrafficSplit prototype)
publicstaticTrafficSplit.BuildernewBuilder(TrafficSplitprototype)parseDelimitedFrom(InputStream input)
publicstaticTrafficSplitparseDelimitedFrom(InputStreaminput)parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
publicstaticTrafficSplitparseDelimitedFrom(InputStreaminput,ExtensionRegistryLiteextensionRegistry)parseFrom(byte[] data)
publicstaticTrafficSplitparseFrom(byte[]data)byte[]parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
publicstaticTrafficSplitparseFrom(byte[]data,ExtensionRegistryLiteextensionRegistry)byte[]parseFrom(ByteString data)
publicstaticTrafficSplitparseFrom(ByteStringdata)parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
publicstaticTrafficSplitparseFrom(ByteStringdata,ExtensionRegistryLiteextensionRegistry)parseFrom(CodedInputStream input)
publicstaticTrafficSplitparseFrom(CodedInputStreaminput)parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
publicstaticTrafficSplitparseFrom(CodedInputStreaminput,ExtensionRegistryLiteextensionRegistry)parseFrom(InputStream input)
publicstaticTrafficSplitparseFrom(InputStreaminput)parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
publicstaticTrafficSplitparseFrom(InputStreaminput,ExtensionRegistryLiteextensionRegistry)parseFrom(ByteBuffer data)
publicstaticTrafficSplitparseFrom(ByteBufferdata)parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
publicstaticTrafficSplitparseFrom(ByteBufferdata,ExtensionRegistryLiteextensionRegistry)parser()
publicstaticParser<TrafficSplit>parser()Methods
containsAllocations(String key)
publicbooleancontainsAllocations(Stringkey)Mapping from version IDs within the service to fractional (0.000, 1] allocations of traffic for that version. Each version can be specified only once, but some versions in the service may not have any traffic allocation. Services that have traffic allocated cannot be deleted until either the service is deleted or their traffic allocation is removed. Allocations must sum to 1. Up to two decimal place precision is supported for IP-based splits and up to three decimal places is supported for cookie-based splits.
map<string, double> allocations = 2;
equals(Object obj)
publicbooleanequals(Objectobj)getAllocations()
publicMap<String,Double>getAllocations()Use #getAllocationsMap() instead.
getAllocationsCount()
publicintgetAllocationsCount()Mapping from version IDs within the service to fractional (0.000, 1] allocations of traffic for that version. Each version can be specified only once, but some versions in the service may not have any traffic allocation. Services that have traffic allocated cannot be deleted until either the service is deleted or their traffic allocation is removed. Allocations must sum to 1. Up to two decimal place precision is supported for IP-based splits and up to three decimal places is supported for cookie-based splits.
map<string, double> allocations = 2;
getAllocationsMap()
publicMap<String,Double>getAllocationsMap()Mapping from version IDs within the service to fractional (0.000, 1] allocations of traffic for that version. Each version can be specified only once, but some versions in the service may not have any traffic allocation. Services that have traffic allocated cannot be deleted until either the service is deleted or their traffic allocation is removed. Allocations must sum to 1. Up to two decimal place precision is supported for IP-based splits and up to three decimal places is supported for cookie-based splits.
map<string, double> allocations = 2;
getAllocationsOrDefault(String key, double defaultValue)
publicdoublegetAllocationsOrDefault(Stringkey,doubledefaultValue)Mapping from version IDs within the service to fractional (0.000, 1] allocations of traffic for that version. Each version can be specified only once, but some versions in the service may not have any traffic allocation. Services that have traffic allocated cannot be deleted until either the service is deleted or their traffic allocation is removed. Allocations must sum to 1. Up to two decimal place precision is supported for IP-based splits and up to three decimal places is supported for cookie-based splits.
map<string, double> allocations = 2;
getAllocationsOrThrow(String key)
publicdoublegetAllocationsOrThrow(Stringkey)Mapping from version IDs within the service to fractional (0.000, 1] allocations of traffic for that version. Each version can be specified only once, but some versions in the service may not have any traffic allocation. Services that have traffic allocated cannot be deleted until either the service is deleted or their traffic allocation is removed. Allocations must sum to 1. Up to two decimal place precision is supported for IP-based splits and up to three decimal places is supported for cookie-based splits.
map<string, double> allocations = 2;
getDefaultInstanceForType()
publicTrafficSplitgetDefaultInstanceForType()getParserForType()
publicParser<TrafficSplit>getParserForType()getSerializedSize()
publicintgetSerializedSize()getShardBy()
publicTrafficSplit.ShardBygetShardBy()Mechanism used to determine which version a request is sent to. The traffic selection algorithm will be stable for either type until allocations are changed.
.google.appengine.v1.TrafficSplit.ShardBy shard_by = 1;
The shardBy.
getShardByValue()
publicintgetShardByValue()Mechanism used to determine which version a request is sent to. The traffic selection algorithm will be stable for either type until allocations are changed.
.google.appengine.v1.TrafficSplit.ShardBy shard_by = 1;
The enum numeric value on the wire for shardBy.
getUnknownFields()
publicfinalUnknownFieldSetgetUnknownFields()hashCode()
publicinthashCode()internalGetFieldAccessorTable()
protectedGeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()internalGetMapField(int number)
protectedMapFieldinternalGetMapField(intnumber)isInitialized()
publicfinalbooleanisInitialized()newBuilderForType()
publicTrafficSplit.BuildernewBuilderForType()newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protectedTrafficSplit.BuildernewBuilderForType(GeneratedMessageV3.BuilderParentparent)newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protectedObjectnewInstance(GeneratedMessageV3.UnusedPrivateParameterunused)toBuilder()
publicTrafficSplit.BuildertoBuilder()writeTo(CodedOutputStream output)
publicvoidwriteTo(CodedOutputStreamoutput)