public static interface PolicyBasedRoute.FilterOrBuilder extends MessageOrBuilder
Implements
MessageOrBuilderMethods
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 | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
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. IPV6 is supported in preview.
.google.cloud.networkconnectivity.v1.PolicyBasedRoute.Filter.ProtocolVersion protocol_version = 6 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
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. IPV6 is supported in preview.
.google.cloud.networkconnectivity.v1.PolicyBasedRoute.Filter.ProtocolVersion protocol_version = 6 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
ByteString |
The bytes for srcRange. |