Skip to content
Snippets Groups Projects
Acl.java 163 KiB
Newer Older
// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: acl.proto
package acl;

public final class Acl {

    public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {
    public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) {
        registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry);
    public enum AclRuleTypeEnum implements com.google.protobuf.ProtocolMessageEnum {

        /**
         * <code>ACLRULETYPE_UNDEFINED = 0;</code>
         */
        ACLRULETYPE_UNDEFINED(0),
        /**
         * <code>ACLRULETYPE_IPV4 = 1;</code>
         */
        ACLRULETYPE_IPV4(1),
        /**
         * <code>ACLRULETYPE_IPV6 = 2;</code>
         */
        ACLRULETYPE_IPV6(2),
        /**
         * <code>ACLRULETYPE_L2 = 3;</code>
         */
        ACLRULETYPE_L2(3),
        /**
         * <code>ACLRULETYPE_MPLS = 4;</code>
         */
        ACLRULETYPE_MPLS(4),
        /**
         * <code>ACLRULETYPE_MIXED = 5;</code>
         */
        ACLRULETYPE_MIXED(5),
        UNRECOGNIZED(-1);

        /**
         * <code>ACLRULETYPE_UNDEFINED = 0;</code>
         */
        public static final int ACLRULETYPE_UNDEFINED_VALUE = 0;

        /**
         * <code>ACLRULETYPE_IPV4 = 1;</code>
         */
        public static final int ACLRULETYPE_IPV4_VALUE = 1;

        /**
         * <code>ACLRULETYPE_IPV6 = 2;</code>
         */
        public static final int ACLRULETYPE_IPV6_VALUE = 2;

        /**
         * <code>ACLRULETYPE_L2 = 3;</code>
         */
        public static final int ACLRULETYPE_L2_VALUE = 3;

        /**
         * <code>ACLRULETYPE_MPLS = 4;</code>
         */
        public static final int ACLRULETYPE_MPLS_VALUE = 4;

        /**
         * <code>ACLRULETYPE_MIXED = 5;</code>
         */
        public static final int ACLRULETYPE_MIXED_VALUE = 5;

        public final int getNumber() {
            if (this == UNRECOGNIZED) {
                throw new java.lang.IllegalArgumentException("Can't get the number of an unknown enum value.");
            }
            return value;
        }
        /**
         * @param value The numeric wire value of the corresponding enum entry.
         * @return The enum associated with the given numeric wire value.
         * @deprecated Use {@link #forNumber(int)} instead.
         */
        @java.lang.Deprecated
        public static AclRuleTypeEnum valueOf(int value) {
            return forNumber(value);
        }

        /**
         * @param value The numeric wire value of the corresponding enum entry.
         * @return The enum associated with the given numeric wire value.
         */
        public static AclRuleTypeEnum forNumber(int value) {
            switch(value) {
                case 0:
                    return ACLRULETYPE_UNDEFINED;
                case 1:
                    return ACLRULETYPE_IPV4;
                case 2:
                    return ACLRULETYPE_IPV6;
                case 3:
                    return ACLRULETYPE_L2;
                case 4:
                    return ACLRULETYPE_MPLS;
                case 5:
                    return ACLRULETYPE_MIXED;
                default:
                    return null;
        public static com.google.protobuf.Internal.EnumLiteMap<AclRuleTypeEnum> internalGetValueMap() {
            return internalValueMap;
        }
        private static final com.google.protobuf.Internal.EnumLiteMap<AclRuleTypeEnum> internalValueMap = new com.google.protobuf.Internal.EnumLiteMap<AclRuleTypeEnum>() {
            public AclRuleTypeEnum findValueByNumber(int number) {
                return AclRuleTypeEnum.forNumber(number);
            }
        };
        public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
            if (this == UNRECOGNIZED) {
                throw new java.lang.IllegalStateException("Can't get the descriptor of an unrecognized enum value.");
            }
            return getDescriptor().getValues().get(ordinal());
        }
        public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
            return getDescriptor();
        }
        public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
            return acl.Acl.getDescriptor().getEnumTypes().get(0);
        }
        private static final AclRuleTypeEnum[] VALUES = values();
        public static AclRuleTypeEnum valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
            if (desc.getType() != getDescriptor()) {
                throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type.");
            }
            if (desc.getIndex() == -1) {
                return UNRECOGNIZED;
            }
            return VALUES[desc.getIndex()];
        }
    public enum AclForwardActionEnum implements com.google.protobuf.ProtocolMessageEnum {

        /**
         * <code>ACLFORWARDINGACTION_UNDEFINED = 0;</code>
         */
        ACLFORWARDINGACTION_UNDEFINED(0),
        /**
         * <code>ACLFORWARDINGACTION_DROP = 1;</code>
         */
        ACLFORWARDINGACTION_DROP(1),
        /**
         * <code>ACLFORWARDINGACTION_ACCEPT = 2;</code>
         */
        ACLFORWARDINGACTION_ACCEPT(2),
        /**
         * <code>ACLFORWARDINGACTION_REJECT = 3;</code>
         */
        ACLFORWARDINGACTION_REJECT(3),
        UNRECOGNIZED(-1);

        /**
         * <code>ACLFORWARDINGACTION_UNDEFINED = 0;</code>
         */
        public static final int ACLFORWARDINGACTION_UNDEFINED_VALUE = 0;

        /**
         * <code>ACLFORWARDINGACTION_DROP = 1;</code>
         */
        public static final int ACLFORWARDINGACTION_DROP_VALUE = 1;

        /**
         * <code>ACLFORWARDINGACTION_ACCEPT = 2;</code>
         */
        public static final int ACLFORWARDINGACTION_ACCEPT_VALUE = 2;

        /**
         * <code>ACLFORWARDINGACTION_REJECT = 3;</code>
         */
        public static final int ACLFORWARDINGACTION_REJECT_VALUE = 3;

        public final int getNumber() {
            if (this == UNRECOGNIZED) {
                throw new java.lang.IllegalArgumentException("Can't get the number of an unknown enum value.");
            }
            return value;
        }
        /**
         * @param value The numeric wire value of the corresponding enum entry.
         * @return The enum associated with the given numeric wire value.
         * @deprecated Use {@link #forNumber(int)} instead.
         */
        @java.lang.Deprecated
        public static AclForwardActionEnum valueOf(int value) {
            return forNumber(value);
        }

        /**
         * @param value The numeric wire value of the corresponding enum entry.
         * @return The enum associated with the given numeric wire value.
         */
        public static AclForwardActionEnum forNumber(int value) {
            switch(value) {
                case 0:
                    return ACLFORWARDINGACTION_UNDEFINED;
                case 1:
                    return ACLFORWARDINGACTION_DROP;
                case 2:
                    return ACLFORWARDINGACTION_ACCEPT;
                case 3:
                    return ACLFORWARDINGACTION_REJECT;
                default:
                    return null;
        public static com.google.protobuf.Internal.EnumLiteMap<AclForwardActionEnum> internalGetValueMap() {
            return internalValueMap;
        }
        private static final com.google.protobuf.Internal.EnumLiteMap<AclForwardActionEnum> internalValueMap = new com.google.protobuf.Internal.EnumLiteMap<AclForwardActionEnum>() {
            public AclForwardActionEnum findValueByNumber(int number) {
                return AclForwardActionEnum.forNumber(number);
            }
        };
        public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
            if (this == UNRECOGNIZED) {
                throw new java.lang.IllegalStateException("Can't get the descriptor of an unrecognized enum value.");
            }
            return getDescriptor().getValues().get(ordinal());
        }
        public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
            return getDescriptor();
        }
        public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
            return acl.Acl.getDescriptor().getEnumTypes().get(1);
        }
        private static final AclForwardActionEnum[] VALUES = values();
        public static AclForwardActionEnum valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
            if (desc.getType() != getDescriptor()) {
                throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type.");
            }
            if (desc.getIndex() == -1) {
                return UNRECOGNIZED;
            }
            return VALUES[desc.getIndex()];
        }
        private AclForwardActionEnum(int value) {
            this.value = value;
        }
    public enum AclLogActionEnum implements com.google.protobuf.ProtocolMessageEnum {

        /**
         * <code>ACLLOGACTION_UNDEFINED = 0;</code>
         */
        ACLLOGACTION_UNDEFINED(0),
        /**
         * <code>ACLLOGACTION_NOLOG = 1;</code>
         */
        ACLLOGACTION_NOLOG(1),
        /**
         * <code>ACLLOGACTION_SYSLOG = 2;</code>
         */
        ACLLOGACTION_SYSLOG(2),
        UNRECOGNIZED(-1);

        /**
         * <code>ACLLOGACTION_UNDEFINED = 0;</code>
         */
        public static final int ACLLOGACTION_UNDEFINED_VALUE = 0;

        /**
         * <code>ACLLOGACTION_NOLOG = 1;</code>
         */
        public static final int ACLLOGACTION_NOLOG_VALUE = 1;

        /**
         * <code>ACLLOGACTION_SYSLOG = 2;</code>
         */
        public static final int ACLLOGACTION_SYSLOG_VALUE = 2;

        public final int getNumber() {
            if (this == UNRECOGNIZED) {
                throw new java.lang.IllegalArgumentException("Can't get the number of an unknown enum value.");
            }
            return value;
        }

        /**
         * @param value The numeric wire value of the corresponding enum entry.
         * @return The enum associated with the given numeric wire value.
         * @deprecated Use {@link #forNumber(int)} instead.
         */
        @java.lang.Deprecated
        public static AclLogActionEnum valueOf(int value) {
            return forNumber(value);
        }

        /**
         * @param value The numeric wire value of the corresponding enum entry.
         * @return The enum associated with the given numeric wire value.
         */
        public static AclLogActionEnum forNumber(int value) {
            switch(value) {
                case 0:
                    return ACLLOGACTION_UNDEFINED;
                case 1:
                    return ACLLOGACTION_NOLOG;
                case 2:
                    return ACLLOGACTION_SYSLOG;
                default:
                    return null;
            }
        }

        public static com.google.protobuf.Internal.EnumLiteMap<AclLogActionEnum> internalGetValueMap() {
            return internalValueMap;
        }

        private static final com.google.protobuf.Internal.EnumLiteMap<AclLogActionEnum> internalValueMap = new com.google.protobuf.Internal.EnumLiteMap<AclLogActionEnum>() {

            public AclLogActionEnum findValueByNumber(int number) {
        public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
            if (this == UNRECOGNIZED) {
                throw new java.lang.IllegalStateException("Can't get the descriptor of an unrecognized enum value.");
            }
            return getDescriptor().getValues().get(ordinal());
        }
        public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
            return getDescriptor();
        }
        public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
            return acl.Acl.getDescriptor().getEnumTypes().get(2);
        }
        private static final AclLogActionEnum[] VALUES = values();
        public static AclLogActionEnum valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
            if (desc.getType() != getDescriptor()) {
                throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type.");
            }
            if (desc.getIndex() == -1) {
                return UNRECOGNIZED;
            }
            return VALUES[desc.getIndex()];
        }
    public interface AclMatchOrBuilder extends // @@protoc_insertion_point(interface_extends:acl.AclMatch)
    com.google.protobuf.MessageOrBuilder {

        /**
         * <code>uint32 dscp = 1;</code>
         * @return The dscp.
         */
        int getDscp();

        /**
         * <code>uint32 protocol = 2;</code>
         * @return The protocol.
         */
        int getProtocol();

        /**
         * <code>string src_address = 3;</code>
         * @return The srcAddress.
         */
        java.lang.String getSrcAddress();

        /**
         * <code>string src_address = 3;</code>
         * @return The bytes for srcAddress.
         */
        com.google.protobuf.ByteString getSrcAddressBytes();

        /**
         * <code>string dst_address = 4;</code>
         * @return The dstAddress.
         */
        java.lang.String getDstAddress();

        /**
         * <code>string dst_address = 4;</code>
         * @return The bytes for dstAddress.
         */
        com.google.protobuf.ByteString getDstAddressBytes();

        /**
         * <code>uint32 src_port = 5;</code>
         * @return The srcPort.
         */
        int getSrcPort();

        /**
         * <code>uint32 dst_port = 6;</code>
         * @return The dstPort.
         */
        int getDstPort();

        /**
         * <code>uint32 start_mpls_label = 7;</code>
         * @return The startMplsLabel.
         */
        int getStartMplsLabel();

        /**
         * <code>uint32 end_mpls_label = 8;</code>
         * @return The endMplsLabel.
         */
        int getEndMplsLabel();
    }
    public static final class AclMatch extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:acl.AclMatch)
    AclMatchOrBuilder {
        // Use AclMatch.newBuilder() to construct.
        private AclMatch(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
            super(builder);
        }
        @java.lang.Override
        @SuppressWarnings({ "unused" })
        protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
            return new AclMatch();
        }
        public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
            return acl.Acl.internal_static_acl_AclMatch_descriptor;
        }
        @java.lang.Override
        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() {
            return acl.Acl.internal_static_acl_AclMatch_fieldAccessorTable.ensureFieldAccessorsInitialized(acl.Acl.AclMatch.class, acl.Acl.AclMatch.Builder.class);
        }
        /**
         * <code>uint32 dscp = 1;</code>
         * @return The dscp.
         */
        @java.lang.Override
        public int getDscp() {
            return dscp_;
        }
        /**
         * <code>uint32 protocol = 2;</code>
         * @return The protocol.
         */
        @java.lang.Override
        public int getProtocol() {
            return protocol_;
        }
        @SuppressWarnings("serial")
        private volatile java.lang.Object srcAddress_ = "";
        /**
         * <code>string src_address = 3;</code>
         * @return The srcAddress.
         */
        @java.lang.Override
        public java.lang.String getSrcAddress() {
            java.lang.Object ref = srcAddress_;
            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();
                srcAddress_ = s;
                return s;
            }
        }
        /**
         * <code>string src_address = 3;</code>
         * @return The bytes for srcAddress.
         */
        @java.lang.Override
        public com.google.protobuf.ByteString getSrcAddressBytes() {
            java.lang.Object ref = srcAddress_;
            if (ref instanceof java.lang.String) {
                com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
                srcAddress_ = b;
                return b;
            } else {
                return (com.google.protobuf.ByteString) ref;
            }
        }
        @SuppressWarnings("serial")
        private volatile java.lang.Object dstAddress_ = "";
        /**
         * <code>string dst_address = 4;</code>
         * @return The dstAddress.
         */
        @java.lang.Override
        public java.lang.String getDstAddress() {
            java.lang.Object ref = dstAddress_;
            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();
                dstAddress_ = s;
                return s;
            }
        }
        /**
         * <code>string dst_address = 4;</code>
         * @return The bytes for dstAddress.
         */
        @java.lang.Override
        public com.google.protobuf.ByteString getDstAddressBytes() {
            java.lang.Object ref = dstAddress_;
            if (ref instanceof java.lang.String) {
                com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
                dstAddress_ = b;
                return b;
            } else {
                return (com.google.protobuf.ByteString) ref;
            }
        }
        /**
         * <code>uint32 src_port = 5;</code>
         * @return The srcPort.
         */
        @java.lang.Override
        public int getSrcPort() {
            return srcPort_;
        }
        /**
         * <code>uint32 dst_port = 6;</code>
         * @return The dstPort.
         */
        @java.lang.Override
        public int getDstPort() {
            return dstPort_;
        }
        public static final int START_MPLS_LABEL_FIELD_NUMBER = 7;
        /**
         * <code>uint32 start_mpls_label = 7;</code>
         * @return The startMplsLabel.
         */
        @java.lang.Override
        public int getStartMplsLabel() {
            return startMplsLabel_;
        }
        public static final int END_MPLS_LABEL_FIELD_NUMBER = 8;
        /**
         * <code>uint32 end_mpls_label = 8;</code>
         * @return The endMplsLabel.
         */
        @java.lang.Override
        public int getEndMplsLabel() {
            return endMplsLabel_;
        }
        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 (dscp_ != 0) {
                output.writeUInt32(1, dscp_);
            }
            if (protocol_ != 0) {
                output.writeUInt32(2, protocol_);
            }
            if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(srcAddress_)) {
                com.google.protobuf.GeneratedMessageV3.writeString(output, 3, srcAddress_);
            }
            if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(dstAddress_)) {
                com.google.protobuf.GeneratedMessageV3.writeString(output, 4, dstAddress_);
            }
            if (srcPort_ != 0) {
                output.writeUInt32(5, srcPort_);
            }
            if (dstPort_ != 0) {
                output.writeUInt32(6, dstPort_);
            }
            if (startMplsLabel_ != 0) {
                output.writeUInt32(7, startMplsLabel_);
            }
            if (endMplsLabel_ != 0) {
                output.writeUInt32(8, endMplsLabel_);
            }
            getUnknownFields().writeTo(output);
        }

        @java.lang.Override
        public int getSerializedSize() {
            int size = memoizedSize;
            if (size != -1)
                return size;
            size = 0;
            if (dscp_ != 0) {
                size += com.google.protobuf.CodedOutputStream.computeUInt32Size(1, dscp_);
            }
            if (protocol_ != 0) {
                size += com.google.protobuf.CodedOutputStream.computeUInt32Size(2, protocol_);
            }
            if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(srcAddress_)) {
                size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, srcAddress_);
            }
            if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(dstAddress_)) {
                size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, dstAddress_);
            }
            if (srcPort_ != 0) {
                size += com.google.protobuf.CodedOutputStream.computeUInt32Size(5, srcPort_);
            }
            if (dstPort_ != 0) {
                size += com.google.protobuf.CodedOutputStream.computeUInt32Size(6, dstPort_);
            }
            if (startMplsLabel_ != 0) {
                size += com.google.protobuf.CodedOutputStream.computeUInt32Size(7, startMplsLabel_);
            }
            if (endMplsLabel_ != 0) {
                size += com.google.protobuf.CodedOutputStream.computeUInt32Size(8, endMplsLabel_);
            }
            size += getUnknownFields().getSerializedSize();
            memoizedSize = size;
            return size;
        }

        @java.lang.Override
        public boolean equals(final java.lang.Object obj) {
            if (obj == this) {
                return true;
            }
            if (!(obj instanceof acl.Acl.AclMatch)) {
                return super.equals(obj);
            }
            acl.Acl.AclMatch other = (acl.Acl.AclMatch) obj;
            if (getDscp() != other.getDscp())
                return false;
            if (getProtocol() != other.getProtocol())
                return false;
            if (!getSrcAddress().equals(other.getSrcAddress()))
                return false;
            if (!getDstAddress().equals(other.getDstAddress()))
                return false;
            if (getSrcPort() != other.getSrcPort())
                return false;
            if (getDstPort() != other.getDstPort())
                return false;
            if (getStartMplsLabel() != other.getStartMplsLabel())
                return false;
            if (getEndMplsLabel() != other.getEndMplsLabel())
                return false;
            if (!getUnknownFields().equals(other.getUnknownFields()))
                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) + DSCP_FIELD_NUMBER;
            hash = (53 * hash) + getDscp();
            hash = (37 * hash) + PROTOCOL_FIELD_NUMBER;
            hash = (53 * hash) + getProtocol();
            hash = (37 * hash) + SRC_ADDRESS_FIELD_NUMBER;
            hash = (53 * hash) + getSrcAddress().hashCode();
            hash = (37 * hash) + DST_ADDRESS_FIELD_NUMBER;
            hash = (53 * hash) + getDstAddress().hashCode();
            hash = (37 * hash) + SRC_PORT_FIELD_NUMBER;
            hash = (53 * hash) + getSrcPort();
            hash = (37 * hash) + DST_PORT_FIELD_NUMBER;
            hash = (53 * hash) + getDstPort();
            hash = (37 * hash) + START_MPLS_LABEL_FIELD_NUMBER;
            hash = (53 * hash) + getStartMplsLabel();
            hash = (37 * hash) + END_MPLS_LABEL_FIELD_NUMBER;
            hash = (53 * hash) + getEndMplsLabel();
            hash = (29 * hash) + getUnknownFields().hashCode();
            memoizedHashCode = hash;
            return hash;
        }

        public static acl.Acl.AclMatch parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
            return PARSER.parseFrom(data);
        }

        public static acl.Acl.AclMatch parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException {
            return PARSER.parseFrom(data, extensionRegistry);
        }

        public static acl.Acl.AclMatch parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException {
            return PARSER.parseFrom(data);
        }

        public static acl.Acl.AclMatch parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException {
            return PARSER.parseFrom(data, extensionRegistry);
        }

        public static acl.Acl.AclMatch parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException {
            return PARSER.parseFrom(data);
        }

        public static acl.Acl.AclMatch parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException {
            return PARSER.parseFrom(data, extensionRegistry);
        }

        public static acl.Acl.AclMatch parseFrom(java.io.InputStream input) throws java.io.IOException {
            return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
        }

        public static acl.Acl.AclMatch 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 acl.Acl.AclMatch parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException {
            return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
        }

        public static acl.Acl.AclMatch 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 acl.Acl.AclMatch parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException {
            return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
        }

        public static acl.Acl.AclMatch 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(acl.Acl.AclMatch 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;
        }

        /**
         * Protobuf type {@code acl.AclMatch}
         */
        public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements // @@protoc_insertion_point(builder_implements:acl.AclMatch)
        acl.Acl.AclMatchOrBuilder {

            public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
                return acl.Acl.internal_static_acl_AclMatch_descriptor;
            }

            @java.lang.Override
            protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() {
                return acl.Acl.internal_static_acl_AclMatch_fieldAccessorTable.ensureFieldAccessorsInitialized(acl.Acl.AclMatch.class, acl.Acl.AclMatch.Builder.class);
            }

            // Construct using acl.Acl.AclMatch.newBuilder()
            private Builder() {
            }

            private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
                super(parent);
            }

            @java.lang.Override
            public Builder clear() {
                super.clear();
                bitField0_ = 0;
                dscp_ = 0;
                protocol_ = 0;
                srcAddress_ = "";
                dstAddress_ = "";
                srcPort_ = 0;
                dstPort_ = 0;
                startMplsLabel_ = 0;
                endMplsLabel_ = 0;
                return this;
            }

            @java.lang.Override
            public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
                return acl.Acl.internal_static_acl_AclMatch_descriptor;
            }

            @java.lang.Override
            public acl.Acl.AclMatch getDefaultInstanceForType() {
                return acl.Acl.AclMatch.getDefaultInstance();
            }

            @java.lang.Override
            public acl.Acl.AclMatch build() {
                acl.Acl.AclMatch result = buildPartial();
                if (!result.isInitialized()) {
                    throw newUninitializedMessageException(result);
                }
                return result;
            }

            @java.lang.Override
            public acl.Acl.AclMatch buildPartial() {
                acl.Acl.AclMatch result = new acl.Acl.AclMatch(this);
                if (bitField0_ != 0) {
                    buildPartial0(result);
                }
                onBuilt();
                return result;
            }

            private void buildPartial0(acl.Acl.AclMatch result) {
                int from_bitField0_ = bitField0_;
                if (((from_bitField0_ & 0x00000001) != 0)) {
                    result.dscp_ = dscp_;
                }
                if (((from_bitField0_ & 0x00000002) != 0)) {
                    result.protocol_ = protocol_;
                }
                if (((from_bitField0_ & 0x00000004) != 0)) {
                    result.srcAddress_ = srcAddress_;
                }
                if (((from_bitField0_ & 0x00000008) != 0)) {
                    result.dstAddress_ = dstAddress_;
                }
                if (((from_bitField0_ & 0x00000010) != 0)) {
                    result.srcPort_ = srcPort_;
                }
                if (((from_bitField0_ & 0x00000020) != 0)) {
                    result.dstPort_ = dstPort_;
                }
                if (((from_bitField0_ & 0x00000040) != 0)) {
                    result.startMplsLabel_ = startMplsLabel_;
                }
                if (((from_bitField0_ & 0x00000080) != 0)) {
                    result.endMplsLabel_ = endMplsLabel_;
                }
            }

            @java.lang.Override
            public Builder mergeFrom(com.google.protobuf.Message other) {
                if (other instanceof acl.Acl.AclMatch) {
                    return mergeFrom((acl.Acl.AclMatch) other);
                } else {
                    super.mergeFrom(other);
                    return this;
                }
            }

            public Builder mergeFrom(acl.Acl.AclMatch other) {
                if (other == acl.Acl.AclMatch.getDefaultInstance())
                    return this;
                if (other.getDscp() != 0) {
                    setDscp(other.getDscp());
                }
                if (other.getProtocol() != 0) {
                    setProtocol(other.getProtocol());
                }
                if (!other.getSrcAddress().isEmpty()) {
                    srcAddress_ = other.srcAddress_;
                    bitField0_ |= 0x00000004;
                    onChanged();
                }
                if (!other.getDstAddress().isEmpty()) {
                    dstAddress_ = other.dstAddress_;
                    bitField0_ |= 0x00000008;
                    onChanged();
                }
                if (other.getSrcPort() != 0) {
                    setSrcPort(other.getSrcPort());
                }
                if (other.getDstPort() != 0) {
                    setDstPort(other.getDstPort());
                }
                if (other.getStartMplsLabel() != 0) {
                    setStartMplsLabel(other.getStartMplsLabel());
                }
                if (other.getEndMplsLabel() != 0) {
                    setEndMplsLabel(other.getEndMplsLabel());
                }
                this.mergeUnknownFields(other.getUnknownFields());
                onChanged();
                return this;
            }

            @java.lang.Override
            public final boolean isInitialized() {