public static interface TlsRoute.RouteDestinationOrBuilder extends MessageOrBuilder
Implements
MessageOrBuilderMethods
getServiceName()
public abstract String getServiceName()
Required. The URL of a BackendService to route traffic to.
string service_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
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 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
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 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
int |
The weight. |