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 int
getPercent()
Specifies percent of the traffic to this Revision.String
getRevision()
Revision to which this traffic is sent.com.google.protobuf.ByteString
getRevisionBytes()
Revision to which this traffic is sent.String
getTag()
Indicates the string used in the URI to exclusively reference this target.com.google.protobuf.ByteString
getTagBytes()
Indicates the string used in 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.String
getUri()
Displays the target URI.com.google.protobuf.ByteString
getUriBytes()
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.
-
-