Package com.google.cloud.compute.v1
Interface RouterBgpPeerCustomLearnedIpRangeOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
RouterBgpPeerCustomLearnedIpRange
,RouterBgpPeerCustomLearnedIpRange.Builder
public interface RouterBgpPeerCustomLearnedIpRangeOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
getRange()
The custom learned route IP address range.com.google.protobuf.ByteString
getRangeBytes()
The custom learned route IP address range.boolean
hasRange()
The custom learned route IP address range.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
hasRange
boolean hasRange()
The custom learned route IP address range. Must be a valid CIDR-formatted prefix. If an IP address is provided without a subnet mask, it is interpreted as, for IPv4, a `/32` singular IP address range, and, for IPv6, `/128`.
optional string range = 108280125;
- Returns:
- Whether the range field is set.
-
getRange
String getRange()
The custom learned route IP address range. Must be a valid CIDR-formatted prefix. If an IP address is provided without a subnet mask, it is interpreted as, for IPv4, a `/32` singular IP address range, and, for IPv6, `/128`.
optional string range = 108280125;
- Returns:
- The range.
-
getRangeBytes
com.google.protobuf.ByteString getRangeBytes()
The custom learned route IP address range. Must be a valid CIDR-formatted prefix. If an IP address is provided without a subnet mask, it is interpreted as, for IPv4, a `/32` singular IP address range, and, for IPv6, `/128`.
optional string range = 108280125;
- Returns:
- The bytes for range.
-
-