# Interface HttpRoute.RequestMirrorPolicyOrBuilder (0.16.0)

<button class="button button-with-icon cloud-select-dropdown__button " aria-haspopup="true">Version latest</button>

- [0.16.0 (latest)](https://docs.cloud.google.com/java/docs/reference/google-cloudevent-types/latest/com.google.events.cloud.networkservices.v1.HttpRoute.RequestMirrorPolicyOrBuilder)
- [0.15.0](https://docs.cloud.google.com/java/docs/reference/google-cloudevent-types/0.15.0/com.google.events.cloud.networkservices.v1.HttpRoute.RequestMirrorPolicyOrBuilder)
- [0.14.1](https://docs.cloud.google.com/java/docs/reference/google-cloudevent-types/0.14.1/com.google.events.cloud.networkservices.v1.HttpRoute.RequestMirrorPolicyOrBuilder)

    public static interface HttpRoute.RequestMirrorPolicyOrBuilder extends MessageOrBuilder

## Implements

[MessageOrBuilder](https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.MessageOrBuilder.html)

## Methods

### getDestination()

    public abstract HttpRoute.Destination getDestination()

The destination the requests will be mirrored to. The weight of the
destination will be ignored.

`.google.events.cloud.networkservices.v1.HttpRoute.Destination destination = 1;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloudevent-types/latest/com.google.events.cloud.networkservices.v1.HttpRoute.Destination` | The destination. |

### getDestinationOrBuilder()

    public abstract HttpRoute.DestinationOrBuilder getDestinationOrBuilder()

The destination the requests will be mirrored to. The weight of the
destination will be ignored.

`.google.events.cloud.networkservices.v1.HttpRoute.Destination destination = 1;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloudevent-types/latest/com.google.events.cloud.networkservices.v1.HttpRoute.DestinationOrBuilder` |   |

### hasDestination()

    public abstract boolean hasDestination()

The destination the requests will be mirrored to. The weight of the
destination will be ignored.

`.google.events.cloud.networkservices.v1.HttpRoute.Destination destination = 1;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | Whether the destination field is set. |