Interface ExperimentConfig.VersionRelease.TrafficAllocationOrBuilder (0.9.0)

public static interface ExperimentConfig.VersionRelease.TrafficAllocationOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getAppVersion()

public abstract String getAppVersion()

Optional. App version of the traffic allocation. Format: projects/{project}/locations/{location}/apps/{app}/versions/{version}

string app_version = 3 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The appVersion.

getAppVersionBytes()

public abstract ByteString getAppVersionBytes()

Optional. App version of the traffic allocation. Format: projects/{project}/locations/{location}/apps/{app}/versions/{version}

string app_version = 3 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for appVersion.

getId()

public abstract String getId()

Optional. Id of the traffic allocation. Free format string, up to 128 characters.

string id = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The id.

getIdBytes()

public abstract ByteString getIdBytes()

Optional. Id of the traffic allocation. Free format string, up to 128 characters.

string id = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for id.

getTrafficPercentage()

public abstract int getTrafficPercentage()

Optional. Traffic percentage of the traffic allocation. Must be between 0 and 100.

int32 traffic_percentage = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The trafficPercentage.