com.github.xds.core.v3.CidrRangeOrBuilder Maven / Gradle / Ivy
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: xds/core/v3/cidr.proto
package com.github.xds.core.v3;
public interface CidrRangeOrBuilder extends
// @@protoc_insertion_point(interface_extends:xds.core.v3.CidrRange)
com.google.protobuf.MessageOrBuilder {
/**
*
* IPv4 or IPv6 address, e.g. ``192.0.0.0`` or ``2001:db8::``.
*
*
* string address_prefix = 1 [(.validate.rules) = { ... }
* @return The addressPrefix.
*/
java.lang.String getAddressPrefix();
/**
*
* IPv4 or IPv6 address, e.g. ``192.0.0.0`` or ``2001:db8::``.
*
*
* string address_prefix = 1 [(.validate.rules) = { ... }
* @return The bytes for addressPrefix.
*/
com.google.protobuf.ByteString
getAddressPrefixBytes();
/**
*
* Length of prefix, e.g. 0, 32. Defaults to 0 when unset.
*
*
* .google.protobuf.UInt32Value prefix_len = 2 [(.validate.rules) = { ... }
* @return Whether the prefixLen field is set.
*/
boolean hasPrefixLen();
/**
*
* Length of prefix, e.g. 0, 32. Defaults to 0 when unset.
*
*
* .google.protobuf.UInt32Value prefix_len = 2 [(.validate.rules) = { ... }
* @return The prefixLen.
*/
com.google.protobuf.UInt32Value getPrefixLen();
/**
*
* Length of prefix, e.g. 0, 32. Defaults to 0 when unset.
*
*
* .google.protobuf.UInt32Value prefix_len = 2 [(.validate.rules) = { ... }
*/
com.google.protobuf.UInt32ValueOrBuilder getPrefixLenOrBuilder();
}