Interface TrafficTargetStatusOrBuilder (0.76.0)

publicinterface TrafficTargetStatusOrBuilderextendsMessageOrBuilder

Implements

MessageOrBuilder

Methods

getPercent()

publicabstractintgetPercent()

Specifies percent of the traffic to this Revision.

int32 percent = 3;

Returns
Type Description
int

The percent.

getRevision()

publicabstractStringgetRevision()

Revision to which this traffic is sent.

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

Returns
Type Description
String

The revision.

getRevisionBytes()

publicabstractByteStringgetRevisionBytes()

Revision to which this traffic is sent.

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

Returns
Type Description
ByteString

The bytes for revision.

getTag()

publicabstractStringgetTag()

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

string tag = 4;

Returns
Type Description
String

The tag.

getTagBytes()

publicabstractByteStringgetTagBytes()

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

string tag = 4;

Returns
Type Description
ByteString

The bytes for tag.

getType()

publicabstractTrafficTargetAllocationTypegetType()

The allocation type for this traffic target.

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

Returns
Type Description
TrafficTargetAllocationType

The type.

getTypeValue()

publicabstractintgetTypeValue()

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()

publicabstractStringgetUri()

Displays the target URI.

string uri = 5;

Returns
Type Description
String

The uri.

getUriBytes()

publicabstractByteStringgetUriBytes()

Displays the target URI.

string uri = 5;

Returns
Type Description
ByteString

The bytes for uri.

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年10月30日 UTC.