Package com.google.cloud.run.v2
Interface TrafficTargetStatusOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
TrafficTargetStatus,TrafficTargetStatus.Builder
public interface TrafficTargetStatusOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description intgetPercent()Specifies percent of the traffic to this Revision.StringgetRevision()Revision to which this traffic is sent.com.google.protobuf.ByteStringgetRevisionBytes()Revision to which this traffic is sent.StringgetTag()Indicates the string used in the URI to exclusively reference this target.com.google.protobuf.ByteStringgetTagBytes()Indicates the string used in the URI to exclusively reference this target.TrafficTargetAllocationTypegetType()The allocation type for this traffic target.intgetTypeValue()The allocation type for this traffic target.StringgetUri()Displays the target URI.com.google.protobuf.ByteStringgetUriBytes()Displays the target URI.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getTypeValue
int getTypeValue()
The allocation type for this traffic target.
.google.cloud.run.v2.TrafficTargetAllocationType type = 1;- Returns:
- The enum numeric value on the wire for type.
-
getType
TrafficTargetAllocationType getType()
The allocation type for this traffic target.
.google.cloud.run.v2.TrafficTargetAllocationType type = 1;- Returns:
- The type.
-
getRevision
String getRevision()
Revision to which this traffic is sent.
string revision = 2 [(.google.api.resource_reference) = { ... }- Returns:
- The revision.
-
getRevisionBytes
com.google.protobuf.ByteString getRevisionBytes()
Revision to which this traffic is sent.
string revision = 2 [(.google.api.resource_reference) = { ... }- Returns:
- The bytes for revision.
-
getPercent
int getPercent()
Specifies percent of the traffic to this Revision.
int32 percent = 3;- Returns:
- The percent.
-
getTag
String getTag()
Indicates the string used in the URI to exclusively reference this target.
string tag = 4;- Returns:
- The tag.
-
getTagBytes
com.google.protobuf.ByteString getTagBytes()
Indicates the string used in the URI to exclusively reference this target.
string tag = 4;- Returns:
- The bytes for tag.
-
getUri
String getUri()
Displays the target URI.
string uri = 5;- Returns:
- The uri.
-
getUriBytes
com.google.protobuf.ByteString getUriBytes()
Displays the target URI.
string uri = 5;- Returns:
- The bytes for uri.
-
-