public interface TrafficTargetOrBuilder
extends com.google.protobuf.MessageOrBuilder
| Modifier and Type | Method and Description |
|---|---|
int |
getPercent()
Specifies percent of the traffic to this Revision.
|
String |
getRevision()
Revision to which to send this portion of traffic, if traffic allocation is
by revision.
|
com.google.protobuf.ByteString |
getRevisionBytes()
Revision to which to send this portion of traffic, if traffic allocation is
by revision.
|
String |
getTag()
Indicates a string to be part of the URI to exclusively reference this
target.
|
com.google.protobuf.ByteString |
getTagBytes()
Indicates a string to be part of the URI to exclusively reference this
target.
|
TrafficTargetAllocationType |
getType()
The allocation type for this traffic target.
|
int |
getTypeValue()
The allocation type for this traffic target.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofint getTypeValue()
The allocation type for this traffic target.
.google.cloud.run.v2.TrafficTargetAllocationType type = 1;TrafficTargetAllocationType getType()
The allocation type for this traffic target.
.google.cloud.run.v2.TrafficTargetAllocationType type = 1;String getRevision()
Revision to which to send this portion of traffic, if traffic allocation is by revision.
string revision = 2 [(.google.api.resource_reference) = { ... }com.google.protobuf.ByteString getRevisionBytes()
Revision to which to send this portion of traffic, if traffic allocation is by revision.
string revision = 2 [(.google.api.resource_reference) = { ... }int getPercent()
Specifies percent of the traffic to this Revision. This defaults to zero if unspecified.
int32 percent = 3;String getTag()
Indicates a string to be part of the URI to exclusively reference this target.
string tag = 4;com.google.protobuf.ByteString getTagBytes()
Indicates a string to be part of the URI to exclusively reference this target.
string tag = 4;Copyright © 2025 Google LLC. All rights reserved.