Interface VersionVariants.VariantOrBuilder (0.52.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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for version.