Interface ReasoningEngine.TrafficConfig.TrafficSplitManual.TargetOrBuilder (3.100.0)

public static interface ReasoningEngine.TrafficConfig.TrafficSplitManual.TargetOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getPercent()

public abstract int getPercent()

Required. Specifies percent of the traffic to this Runtime Revision.

int32 percent = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
int

The percent.

getRuntimeRevisionName()

public abstract String getRuntimeRevisionName()

Required. The Runtime Revision name to which to send this portion of traffic, if traffic allocation is by Runtime Revision.

string runtime_revision_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The runtimeRevisionName.

getRuntimeRevisionNameBytes()

public abstract ByteString getRuntimeRevisionNameBytes()

Required. The Runtime Revision name to which to send this portion of traffic, if traffic allocation is by Runtime Revision.

string runtime_revision_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for runtimeRevisionName.