Interface VersionVariants.VariantOrBuilder (0.42.0)

public static interface VersionVariants.VariantOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getIsControlGroup()

public abstract boolean getIsControlGroup()

Whether the variant is for the control group.

bool is_control_group = 3;

Returns
Type Description
boolean

The isControlGroup.

getTrafficAllocation()

public abstract float getTrafficAllocation()

Percentage of the traffic which should be routed to this version of flow. Traffic allocation for a single flow must sum up to 1.0.

float traffic_allocation = 2;

Returns
Type Description
float

The trafficAllocation.

getVersion()

public abstract String getVersion()

The name of the flow version. Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/flows/<Flow ID>/versions/<Version ID>.

string version = 1;

Returns
Type Description
String

The version.

getVersionBytes()

public abstract ByteString getVersionBytes()

The name of the flow version. Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/flows/<Flow ID>/versions/<Version ID>.

string version = 1;

Returns
Type Description
ByteString

The bytes for version.