Interface PolicyBasedRoute.FilterOrBuilder (1.26.0)

public static interface PolicyBasedRoute.FilterOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getDestRange()

public abstract String getDestRange()

Optional. The destination IP range of outgoing packets that this policy based route applies to. Default is "0.0.0.0/0" if protocol version is IPv4.

string dest_range = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
String

The destRange.

getDestRangeBytes()

public abstract ByteString getDestRangeBytes()

Optional. The destination IP range of outgoing packets that this policy based route applies to. Default is "0.0.0.0/0" if protocol version is IPv4.

string dest_range = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
ByteString

The bytes for destRange.

getIpProtocol()

public abstract String getIpProtocol()

Optional. The IP protocol that this policy based route applies to. Valid values are 'TCP', 'UDP', and 'ALL'. Default is 'ALL'.

string ip_protocol = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
String

The ipProtocol.

getIpProtocolBytes()

public abstract ByteString getIpProtocolBytes()

Optional. The IP protocol that this policy based route applies to. Valid values are 'TCP', 'UDP', and 'ALL'. Default is 'ALL'.

string ip_protocol = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
ByteString

The bytes for ipProtocol.

getProtocolVersion()

public abstract PolicyBasedRoute.Filter.ProtocolVersion getProtocolVersion()

Required. Internet protocol versions this policy based route applies to. For this version, only IPV4 is supported.

.google.cloud.networkconnectivity.v1.PolicyBasedRoute.Filter.ProtocolVersion protocol_version = 6 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
PolicyBasedRoute.Filter.ProtocolVersion

The protocolVersion.

getProtocolVersionValue()

public abstract int getProtocolVersionValue()

Required. Internet protocol versions this policy based route applies to. For this version, only IPV4 is supported.

.google.cloud.networkconnectivity.v1.PolicyBasedRoute.Filter.ProtocolVersion protocol_version = 6 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
int

The enum numeric value on the wire for protocolVersion.

getSrcRange()

public abstract String getSrcRange()

Optional. The source IP range of outgoing packets that this policy based route applies to. Default is "0.0.0.0/0" if protocol version is IPv4.

string src_range = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
String

The srcRange.

getSrcRangeBytes()

public abstract ByteString getSrcRangeBytes()

Optional. The source IP range of outgoing packets that this policy based route applies to. Default is "0.0.0.0/0" if protocol version is IPv4.

string src_range = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
ByteString

The bytes for srcRange.