Class TrafficSplit (2.6.0)

Stay organized with collections Save and categorize content based on your preferences.
public final class TrafficSplit extends GeneratedMessageV3 implements TrafficSplitOrBuilder

Traffic 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

Static Fields

ALLOCATIONS_FIELD_NUMBER

public static final int ALLOCATIONS_FIELD_NUMBER
Field Value
TypeDescription
int

SHARD_BY_FIELD_NUMBER

public static final int SHARD_BY_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static TrafficSplit getDefaultInstance()
Returns
TypeDescription
TrafficSplit

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static TrafficSplit.Builder newBuilder()
Returns
TypeDescription
TrafficSplit.Builder

newBuilder(TrafficSplit prototype)

public static TrafficSplit.Builder newBuilder(TrafficSplit prototype)
Parameter
NameDescription
prototypeTrafficSplit
Returns
TypeDescription
TrafficSplit.Builder

parseDelimitedFrom(InputStream input)

public static TrafficSplit parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
TrafficSplit
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static TrafficSplit parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
TrafficSplit
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static TrafficSplit parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
TrafficSplit
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static TrafficSplit parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
TrafficSplit
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static TrafficSplit parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
TrafficSplit
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static TrafficSplit parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription