public static interface TlsRoute.RouteDestinationOrBuilder extends MessageOrBuilderImplements
MessageOrBuilderMethods
getServiceName()
public abstract String getServiceName()Required. The URL of a BackendService to route traffic to.
string service_name = 1;
| Returns | |
|---|---|
| Type | Description |
String |
The serviceName. |
getServiceNameBytes()
public abstract ByteString getServiceNameBytes()Required. The URL of a BackendService to route traffic to.
string service_name = 1;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for serviceName. |
getWeight()
public abstract int getWeight()Optional. Specifies the proportion of requests forwareded to the backend referenced by the service_name field. This is computed as: weight/Sum(weights in destinations) Weights in all destinations does not need to sum up to 100.
int32 weight = 2;
| Returns | |
|---|---|
| Type | Description |
int |
The weight. |