Please wait. This can take some minutes ...
Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance.
Project price only 1 $
You can buy this project and download/modify it how often you want.
com.github.xds.core.v3.CidrRange Maven / Gradle / Ivy
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: xds/core/v3/cidr.proto
package com.github.xds.core.v3;
/**
*
* CidrRange specifies an IP Address and a prefix length to construct
* the subnet mask for a `CIDR <https://tools.ietf.org/html/rfc4632>`_ range.
*
*
* Protobuf type {@code xds.core.v3.CidrRange}
*/
public final class CidrRange extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:xds.core.v3.CidrRange)
CidrRangeOrBuilder {
private static final long serialVersionUID = 0L;
// Use CidrRange.newBuilder() to construct.
private CidrRange(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private CidrRange() {
addressPrefix_ = "";
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new CidrRange();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private CidrRange(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
java.lang.String s = input.readStringRequireUtf8();
addressPrefix_ = s;
break;
}
case 18: {
com.google.protobuf.UInt32Value.Builder subBuilder = null;
if (prefixLen_ != null) {
subBuilder = prefixLen_.toBuilder();
}
prefixLen_ = input.readMessage(com.google.protobuf.UInt32Value.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(prefixLen_);
prefixLen_ = subBuilder.buildPartial();
}
break;
}
default: {
if (!parseUnknownField(
input, unknownFields, extensionRegistry, tag)) {
done = true;
}
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e).setUnfinishedMessage(this);
} finally {
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.github.xds.core.v3.CidrRangeProto.internal_static_xds_core_v3_CidrRange_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.github.xds.core.v3.CidrRangeProto.internal_static_xds_core_v3_CidrRange_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.github.xds.core.v3.CidrRange.class, com.github.xds.core.v3.CidrRange.Builder.class);
}
public static final int ADDRESS_PREFIX_FIELD_NUMBER = 1;
private volatile java.lang.Object addressPrefix_;
/**
*
* IPv4 or IPv6 address, e.g. ``192.0.0.0`` or ``2001:db8::``.
*
*
* string address_prefix = 1 [(.validate.rules) = { ... }
* @return The addressPrefix.
*/
@java.lang.Override
public java.lang.String getAddressPrefix() {
java.lang.Object ref = addressPrefix_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
addressPrefix_ = s;
return s;
}
}
/**
*
* IPv4 or IPv6 address, e.g. ``192.0.0.0`` or ``2001:db8::``.
*
*
* string address_prefix = 1 [(.validate.rules) = { ... }
* @return The bytes for addressPrefix.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getAddressPrefixBytes() {
java.lang.Object ref = addressPrefix_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
addressPrefix_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int PREFIX_LEN_FIELD_NUMBER = 2;
private com.google.protobuf.UInt32Value prefixLen_;
/**
*
* 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.
*/
@java.lang.Override
public boolean hasPrefixLen() {
return prefixLen_ != null;
}
/**
*
* Length of prefix, e.g. 0, 32. Defaults to 0 when unset.
*
*
* .google.protobuf.UInt32Value prefix_len = 2 [(.validate.rules) = { ... }
* @return The prefixLen.
*/
@java.lang.Override
public com.google.protobuf.UInt32Value getPrefixLen() {
return prefixLen_ == null ? com.google.protobuf.UInt32Value.getDefaultInstance() : prefixLen_;
}
/**
*
* Length of prefix, e.g. 0, 32. Defaults to 0 when unset.
*
*
* .google.protobuf.UInt32Value prefix_len = 2 [(.validate.rules) = { ... }
*/
@java.lang.Override
public com.google.protobuf.UInt32ValueOrBuilder getPrefixLenOrBuilder() {
return getPrefixLen();
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(addressPrefix_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, addressPrefix_);
}
if (prefixLen_ != null) {
output.writeMessage(2, getPrefixLen());
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(addressPrefix_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, addressPrefix_);
}
if (prefixLen_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(2, getPrefixLen());
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof com.github.xds.core.v3.CidrRange)) {
return super.equals(obj);
}
com.github.xds.core.v3.CidrRange other = (com.github.xds.core.v3.CidrRange) obj;
if (!getAddressPrefix()
.equals(other.getAddressPrefix())) return false;
if (hasPrefixLen() != other.hasPrefixLen()) return false;
if (hasPrefixLen()) {
if (!getPrefixLen()
.equals(other.getPrefixLen())) return false;
}
if (!unknownFields.equals(other.unknownFields)) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
hash = (37 * hash) + ADDRESS_PREFIX_FIELD_NUMBER;
hash = (53 * hash) + getAddressPrefix().hashCode();
if (hasPrefixLen()) {
hash = (37 * hash) + PREFIX_LEN_FIELD_NUMBER;
hash = (53 * hash) + getPrefixLen().hashCode();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.github.xds.core.v3.CidrRange parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.github.xds.core.v3.CidrRange parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.github.xds.core.v3.CidrRange parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.github.xds.core.v3.CidrRange parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.github.xds.core.v3.CidrRange parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.github.xds.core.v3.CidrRange parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.github.xds.core.v3.CidrRange parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.github.xds.core.v3.CidrRange parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static com.github.xds.core.v3.CidrRange parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static com.github.xds.core.v3.CidrRange parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static com.github.xds.core.v3.CidrRange parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.github.xds.core.v3.CidrRange parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(com.github.xds.core.v3.CidrRange prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
*
* CidrRange specifies an IP Address and a prefix length to construct
* the subnet mask for a `CIDR <https://tools.ietf.org/html/rfc4632>`_ range.
*
*
* Protobuf type {@code xds.core.v3.CidrRange}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:xds.core.v3.CidrRange)
com.github.xds.core.v3.CidrRangeOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.github.xds.core.v3.CidrRangeProto.internal_static_xds_core_v3_CidrRange_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.github.xds.core.v3.CidrRangeProto.internal_static_xds_core_v3_CidrRange_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.github.xds.core.v3.CidrRange.class, com.github.xds.core.v3.CidrRange.Builder.class);
}
// Construct using com.github.xds.core.v3.CidrRange.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
}
}
@java.lang.Override
public Builder clear() {
super.clear();
addressPrefix_ = "";
if (prefixLenBuilder_ == null) {
prefixLen_ = null;
} else {
prefixLen_ = null;
prefixLenBuilder_ = null;
}
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.github.xds.core.v3.CidrRangeProto.internal_static_xds_core_v3_CidrRange_descriptor;
}
@java.lang.Override
public com.github.xds.core.v3.CidrRange getDefaultInstanceForType() {
return com.github.xds.core.v3.CidrRange.getDefaultInstance();
}
@java.lang.Override
public com.github.xds.core.v3.CidrRange build() {
com.github.xds.core.v3.CidrRange result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public com.github.xds.core.v3.CidrRange buildPartial() {
com.github.xds.core.v3.CidrRange result = new com.github.xds.core.v3.CidrRange(this);
result.addressPrefix_ = addressPrefix_;
if (prefixLenBuilder_ == null) {
result.prefixLen_ = prefixLen_;
} else {
result.prefixLen_ = prefixLenBuilder_.build();
}
onBuilt();
return result;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof com.github.xds.core.v3.CidrRange) {
return mergeFrom((com.github.xds.core.v3.CidrRange)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.github.xds.core.v3.CidrRange other) {
if (other == com.github.xds.core.v3.CidrRange.getDefaultInstance()) return this;
if (!other.getAddressPrefix().isEmpty()) {
addressPrefix_ = other.addressPrefix_;
onChanged();
}
if (other.hasPrefixLen()) {
mergePrefixLen(other.getPrefixLen());
}
this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
com.github.xds.core.v3.CidrRange parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (com.github.xds.core.v3.CidrRange) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private java.lang.Object addressPrefix_ = "";
/**
*
* IPv4 or IPv6 address, e.g. ``192.0.0.0`` or ``2001:db8::``.
*
*
* string address_prefix = 1 [(.validate.rules) = { ... }
* @return The addressPrefix.
*/
public java.lang.String getAddressPrefix() {
java.lang.Object ref = addressPrefix_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
addressPrefix_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* IPv4 or IPv6 address, e.g. ``192.0.0.0`` or ``2001:db8::``.
*
*
* string address_prefix = 1 [(.validate.rules) = { ... }
* @return The bytes for addressPrefix.
*/
public com.google.protobuf.ByteString
getAddressPrefixBytes() {
java.lang.Object ref = addressPrefix_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
addressPrefix_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
* IPv4 or IPv6 address, e.g. ``192.0.0.0`` or ``2001:db8::``.
*
*
* string address_prefix = 1 [(.validate.rules) = { ... }
* @param value The addressPrefix to set.
* @return This builder for chaining.
*/
public Builder setAddressPrefix(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
addressPrefix_ = value;
onChanged();
return this;
}
/**
*
* IPv4 or IPv6 address, e.g. ``192.0.0.0`` or ``2001:db8::``.
*
*
* string address_prefix = 1 [(.validate.rules) = { ... }
* @return This builder for chaining.
*/
public Builder clearAddressPrefix() {
addressPrefix_ = getDefaultInstance().getAddressPrefix();
onChanged();
return this;
}
/**
*
* IPv4 or IPv6 address, e.g. ``192.0.0.0`` or ``2001:db8::``.
*
*
* string address_prefix = 1 [(.validate.rules) = { ... }
* @param value The bytes for addressPrefix to set.
* @return This builder for chaining.
*/
public Builder setAddressPrefixBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
addressPrefix_ = value;
onChanged();
return this;
}
private com.google.protobuf.UInt32Value prefixLen_;
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.UInt32Value, com.google.protobuf.UInt32Value.Builder, com.google.protobuf.UInt32ValueOrBuilder> prefixLenBuilder_;
/**
*
* 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.
*/
public boolean hasPrefixLen() {
return prefixLenBuilder_ != null || prefixLen_ != null;
}
/**
*
* Length of prefix, e.g. 0, 32. Defaults to 0 when unset.
*
*
* .google.protobuf.UInt32Value prefix_len = 2 [(.validate.rules) = { ... }
* @return The prefixLen.
*/
public com.google.protobuf.UInt32Value getPrefixLen() {
if (prefixLenBuilder_ == null) {
return prefixLen_ == null ? com.google.protobuf.UInt32Value.getDefaultInstance() : prefixLen_;
} else {
return prefixLenBuilder_.getMessage();
}
}
/**
*
* Length of prefix, e.g. 0, 32. Defaults to 0 when unset.
*
*
* .google.protobuf.UInt32Value prefix_len = 2 [(.validate.rules) = { ... }
*/
public Builder setPrefixLen(com.google.protobuf.UInt32Value value) {
if (prefixLenBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
prefixLen_ = value;
onChanged();
} else {
prefixLenBuilder_.setMessage(value);
}
return this;
}
/**
*
* Length of prefix, e.g. 0, 32. Defaults to 0 when unset.
*
*
* .google.protobuf.UInt32Value prefix_len = 2 [(.validate.rules) = { ... }
*/
public Builder setPrefixLen(
com.google.protobuf.UInt32Value.Builder builderForValue) {
if (prefixLenBuilder_ == null) {
prefixLen_ = builderForValue.build();
onChanged();
} else {
prefixLenBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
*
* Length of prefix, e.g. 0, 32. Defaults to 0 when unset.
*
*
* .google.protobuf.UInt32Value prefix_len = 2 [(.validate.rules) = { ... }
*/
public Builder mergePrefixLen(com.google.protobuf.UInt32Value value) {
if (prefixLenBuilder_ == null) {
if (prefixLen_ != null) {
prefixLen_ =
com.google.protobuf.UInt32Value.newBuilder(prefixLen_).mergeFrom(value).buildPartial();
} else {
prefixLen_ = value;
}
onChanged();
} else {
prefixLenBuilder_.mergeFrom(value);
}
return this;
}
/**
*
* Length of prefix, e.g. 0, 32. Defaults to 0 when unset.
*
*
* .google.protobuf.UInt32Value prefix_len = 2 [(.validate.rules) = { ... }
*/
public Builder clearPrefixLen() {
if (prefixLenBuilder_ == null) {
prefixLen_ = null;
onChanged();
} else {
prefixLen_ = null;
prefixLenBuilder_ = null;
}
return this;
}
/**
*
* Length of prefix, e.g. 0, 32. Defaults to 0 when unset.
*
*
* .google.protobuf.UInt32Value prefix_len = 2 [(.validate.rules) = { ... }
*/
public com.google.protobuf.UInt32Value.Builder getPrefixLenBuilder() {
onChanged();
return getPrefixLenFieldBuilder().getBuilder();
}
/**
*
* Length of prefix, e.g. 0, 32. Defaults to 0 when unset.
*
*
* .google.protobuf.UInt32Value prefix_len = 2 [(.validate.rules) = { ... }
*/
public com.google.protobuf.UInt32ValueOrBuilder getPrefixLenOrBuilder() {
if (prefixLenBuilder_ != null) {
return prefixLenBuilder_.getMessageOrBuilder();
} else {
return prefixLen_ == null ?
com.google.protobuf.UInt32Value.getDefaultInstance() : prefixLen_;
}
}
/**
*
* Length of prefix, e.g. 0, 32. Defaults to 0 when unset.
*
*
* .google.protobuf.UInt32Value prefix_len = 2 [(.validate.rules) = { ... }
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.UInt32Value, com.google.protobuf.UInt32Value.Builder, com.google.protobuf.UInt32ValueOrBuilder>
getPrefixLenFieldBuilder() {
if (prefixLenBuilder_ == null) {
prefixLenBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.UInt32Value, com.google.protobuf.UInt32Value.Builder, com.google.protobuf.UInt32ValueOrBuilder>(
getPrefixLen(),
getParentForChildren(),
isClean());
prefixLen_ = null;
}
return prefixLenBuilder_;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:xds.core.v3.CidrRange)
}
// @@protoc_insertion_point(class_scope:xds.core.v3.CidrRange)
private static final com.github.xds.core.v3.CidrRange DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.github.xds.core.v3.CidrRange();
}
public static com.github.xds.core.v3.CidrRange getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public CidrRange parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new CidrRange(input, extensionRegistry);
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@java.lang.Override
public com.github.xds.core.v3.CidrRange getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}