Interface TrafficTargetStatusOrBuilder (0.52.0)

public interface TrafficTargetStatusOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getPercent()

public abstract int getPercent()

Specifies percent of the traffic to this Revision.

int32 percent = 3;

Returns
Type Description
int

The percent.

getRevision()

public abstract String getRevision()

Revision to which this traffic is sent.

string revision = 2 [(.google.api.resource_reference) = { ... }

Returns
Type Description
String

The revision.

getRevisionBytes()

public abstract ByteString getRevisionBytes()

Revision to which this traffic is sent.

string revision = 2 [(.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for revision.

getTag()

public abstract String getTag()

Indicates the string used in the URI to exclusively reference this target.

string tag = 4;

Returns
Type Description
String

The tag.

getTagBytes()

public abstract ByteString getTagBytes()

Indicates the string used in the URI to exclusively reference this target.

string tag = 4;

Returns
Type Description
ByteString

The bytes for tag.

getType()

public abstract TrafficTargetAllocationType getType()

The allocation type for this traffic target.

.google.cloud.run.v2.TrafficTargetAllocationType type = 1;

Returns
Type Description
TrafficTargetAllocationType

The type.

getTypeValue()

public abstract int getTypeValue()

The allocation type for this traffic target.

.google.cloud.run.v2.TrafficTargetAllocationType type = 1;

Returns
Type Description
int

The enum numeric value on the wire for type.

getUri()

public abstract String getUri()

Displays the target URI.

string uri = 5;

Returns
Type Description
String

The uri.

getUriBytes()

public abstract ByteString getUriBytes()

Displays the target URI.

string uri = 5;

Returns
Type Description
ByteString

The bytes for uri.