Interface RouteOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Route,Route.Builder
public interface RouteOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionIndicates the upstream cluster to which the request should be routed.com.google.protobuf.ByteStringIndicates the upstream cluster to which the request should be routed.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getCluster
String getCluster()Indicates the upstream cluster to which the request should be routed.
string cluster = 1 [(.validate.rules) = { ... }- Returns:
- The cluster.
-
getClusterBytes
com.google.protobuf.ByteString getClusterBytes()Indicates the upstream cluster to which the request should be routed.
string cluster = 1 [(.validate.rules) = { ... }- Returns:
- The bytes for cluster.
-