public interface RequestMirrorPolicyOrBuilder extends MessageOrBuilder
Implements
MessageOrBuilderMethods
getBackendService()
public abstract String getBackendService()
The full or partial URL to the BackendService resource being mirrored to. The backend service configured for a mirroring policy must reference backends that are of the same type as the original backend service matched in the URL map. Serverless NEG backends are not currently supported as a mirrored backend service.
optional string backend_service = 306946058;
Returns | |
---|---|
Type | Description |
String |
The backendService. |
getBackendServiceBytes()
public abstract ByteString getBackendServiceBytes()
The full or partial URL to the BackendService resource being mirrored to. The backend service configured for a mirroring policy must reference backends that are of the same type as the original backend service matched in the URL map. Serverless NEG backends are not currently supported as a mirrored backend service.
optional string backend_service = 306946058;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for backendService. |
getMirrorPercent()
public abstract double getMirrorPercent()
The percentage of requests to be mirrored to backend_service
.
optional double mirror_percent = 277432261;
Returns | |
---|---|
Type | Description |
double |
The mirrorPercent. |
hasBackendService()
public abstract boolean hasBackendService()
The full or partial URL to the BackendService resource being mirrored to. The backend service configured for a mirroring policy must reference backends that are of the same type as the original backend service matched in the URL map. Serverless NEG backends are not currently supported as a mirrored backend service.
optional string backend_service = 306946058;
Returns | |
---|---|
Type | Description |
boolean |
Whether the backendService field is set. |
hasMirrorPercent()
public abstract boolean hasMirrorPercent()
The percentage of requests to be mirrored to backend_service
.
optional double mirror_percent = 277432261;
Returns | |
---|---|
Type | Description |
boolean |
Whether the mirrorPercent field is set. |