public static interface PrefixOuterClass.PrefixOrBuilder
extends com.google.protobuf.MessageOrBuilder
| Modifier and Type | Method and Description |
|---|---|
int |
getMask()
Mask is the network mask.
|
com.google.protobuf.ByteString |
getPrefix()
Prefix is the raw IP address prefix.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofcom.google.protobuf.ByteString getPrefix()
Prefix is the raw IP address prefix. Must be 4 bytes long for IPv4 and 16 bytes long for IPv6.
bytes prefix = 1;int getMask()
Mask is the network mask. E.g. to denote a /24 the mask is set to 24.
uint32 mask = 2;Copyright © 2024. All rights reserved.