Interface PeeringRouteOrBuilder (0.46.0)

public interface PeeringRouteOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getDestRange()

public abstract String getDestRange()

Output only. Destination range of the peering route in CIDR notation.

string dest_range = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The destRange.

getDestRangeBytes()

public abstract ByteString getDestRangeBytes()

Output only. Destination range of the peering route in CIDR notation.

string dest_range = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for destRange.

getDirection()

public abstract PeeringRoute.Direction getDirection()

Output only. Direction of the routes exchanged with the peer network, from the VMware Engine network perspective:

  • Routes of direction INCOMING are imported from the peer network.
  • Routes of direction OUTGOING are exported from the intranet VPC network of the VMware Engine network.

.google.cloud.vmwareengine.v1.PeeringRoute.Direction direction = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
PeeringRoute.Direction

The direction.

getDirectionValue()

public abstract int getDirectionValue()

Output only. Direction of the routes exchanged with the peer network, from the VMware Engine network perspective:

  • Routes of direction INCOMING are imported from the peer network.
  • Routes of direction OUTGOING are exported from the intranet VPC network of the VMware Engine network.

.google.cloud.vmwareengine.v1.PeeringRoute.Direction direction = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

The enum numeric value on the wire for direction.

getImported()

public abstract boolean getImported()

Output only. True if the peering route has been imported from a peered VPC network; false otherwise. The import happens if the field NetworkPeering.importCustomRoutes is true for this network, NetworkPeering.exportCustomRoutes is true for the peer VPC network, and the import does not result in a route conflict.

bool imported = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

The imported.

getNextHopRegion()

public abstract String getNextHopRegion()

Output only. Region containing the next hop of the peering route. This field only applies to dynamic routes in the peer VPC network.

string next_hop_region = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The nextHopRegion.

getNextHopRegionBytes()

public abstract ByteString getNextHopRegionBytes()

Output only. Region containing the next hop of the peering route. This field only applies to dynamic routes in the peer VPC network.

string next_hop_region = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for nextHopRegion.

getPriority()

public abstract long getPriority()

Output only. The priority of the peering route.

int64 priority = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
long

The priority.

getType()

public abstract PeeringRoute.Type getType()

Output only. Type of the route in the peer VPC network.

.google.cloud.vmwareengine.v1.PeeringRoute.Type type = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
PeeringRoute.Type

The type.

getTypeValue()

public abstract int getTypeValue()

Output only. Type of the route in the peer VPC network.

.google.cloud.vmwareengine.v1.PeeringRoute.Type type = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

The enum numeric value on the wire for type.